var IZ = {"with_woocommerce":"0","exchange_thumbnails":"1","woo_categories":"0","enable_mobile":"","options":{"lensShape":"square","lensSize":200,"lensBorderSize":1,"lensBorderColour":"#ffffff","borderRadius":0,"cursor":"zoom-in","zoomWindowWidth":400,"zoomWindowHeight":360,"zoomWindowOffsetx":10,"borderSize":1,"borderColour":"#888888","zoomWindowShadow":4,"lensFadeIn":0.5,"lensFadeOut":0.5,"zoomWindowFadeIn":0.5,"zoomWindowFadeOut":0.5,"easingAmount":12,"tint":"true","tintColour":"#ffffff","tintOpacity":0.1},"woo_slider":"0"};
Ask More about Calacatta Vagli Extra 1002 Marble Slabs
document.addEventListener("DOMContentLoaded", function() {// Function to check if localStorage is available
function localStorageAvailable() {
try {
var test = "__localStorage_test__";
localStorage.setItem(test, test);
localStorage.removeItem(test);
return true;
} catch (e) {
return false;
}
}var exactTimeGlobal = null;
if (localStorageAvailable()) {
// Check if exactTimeGlobal is already stored in localStorage
exactTimeGlobal = localStorage.getItem('exactTimeGlobal');
}// Common attributes and styles for hidden fields
var commonAttributes = {
'aria-hidden': "true", // Accessibility
tabindex: "-1", // Accessibility
autocomplete: "off", // Prevent browser autofill
class: "maspik-field"
};var hiddenFieldStyles = {
position: "absolute",
left: "-99999px"
};// Function to create a hidden field
function createHiddenField(attributes, styles) {
var field = document.createElement("input");
for (var attr in attributes) {
field.setAttribute(attr, attributes[attr]);
}
for (var style in styles) {
field.style[style] = styles[style];
}
return field;
}// Function to add hidden fields to the form if they do not already exist
function addHiddenFields(formSelector, fieldClass) {
document.querySelectorAll(formSelector).forEach(function(form) {
if (!form.querySelector('.maspik-field')) {
if ("1") {
var honeypot = createHiddenField({
type: "text",
name: "full-name-maspik-hp",
id: "full-name-maspik-hp",
class: fieldClass + " maspik-field",
placeholder: "Leave this field empty"
}, hiddenFieldStyles);
form.appendChild(honeypot);
}if (null) {
var currentYearField = createHiddenField({
type: "text",
name: "Maspik-currentYear",
id: "Maspik-currentYear",
class: fieldClass + " maspik-field"
}, hiddenFieldStyles);
form.appendChild(currentYearField);
}if (null) {
var exactTimeField = createHiddenField({
type: "text",
name: "Maspik-exactTime",
id: "Maspik-exactTime",
class: fieldClass + " maspik-field"
}, hiddenFieldStyles);
form.appendChild(exactTimeField);
}
}
});
}// Add hidden fields to various form types
//Not suported ninja form
addHiddenFields('form.brxe-brf-pro-forms', 'brxe-brf-pro-forms-field-text');
//formidable
addHiddenFields('form.frm-show-form', 'frm_form_field');
addHiddenFields('form.elementor-form', 'elementor-field-textual');// Function to set the current year and exact time in the appropriate fields
function setDateFields() {
var currentYear = new Date().getFullYear();if (!exactTimeGlobal) {
exactTimeGlobal = Math.floor(Date.now() / 1000);
if (localStorageAvailable()) {
localStorage.setItem('exactTimeGlobal', exactTimeGlobal);
}
}document.querySelectorAll('input[name="Maspik-currentYear"]').forEach(function(input) {
input.value = currentYear;
});document.querySelectorAll('input[name="Maspik-exactTime"]').forEach(function(input) {
input.value = exactTimeGlobal;
});
}// Initial call to set date fields
setDateFields();// Use MutationObserver to detect AJAX form reloads and reset hidden fields
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && mutation.addedNodes.length) {
setTimeout(function() {
setDateFields();
}, 500);
}
});
});observer.observe(document.body, { childList: true, subtree: true });
});
var sbiajaxurl = "https://baasarstone.com.au/wp-admin/admin-ajax.php";
var astra = {"break_point":"921","isRtl":"","is_scroll_to_id":"","is_scroll_to_top":"","is_header_footer_builder_active":"1","responsive_cart_click":"flyout"};
var sticky_anything_engage = {"element":"#header","topspace":"0","minscreenwidth":"0","maxscreenwidth":"999999","zindex":"1","legacymode":"","dynamicmode":"","debugmode":"","pushup":"","adminbar":"1"};
var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Share on Facebook","shareOnTwitter":"Share on Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Download image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Play Video","previous":"Previous","next":"Next","close":"Close","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}},"hasCustomBreakpoints":false},"version":"3.24.6","is_static":false,"experimentalFeatures":{"additional_custom_breakpoints":true,"container_grid":true,"e_swiper_latest":true,"e_nested_atomic_repeaters":true,"e_onboarding":true,"home_screen":true,"ai-layout":true,"landing-pages":true,"link-in-bio":true,"floating-buttons":true},"urls":{"assets":"https:\/\/baasarstone.com.au\/wp-content\/plugins\/elementor\/assets\/","ajaxurl":"https:\/\/baasarstone.com.au\/wp-admin\/admin-ajax.php","uploadUrl":"https:\/\/baasarstone.com.au\/wp-content\/uploads"},"nonces":{"floatingButtonsClickTracking":"936e678e18"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"global_image_lightbox":"yes","lightbox_enable_counter":"yes","lightbox_enable_fullscreen":"yes","lightbox_enable_zoom":"yes","lightbox_enable_share":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":1154,"title":"Calacatta%20Vagli%20Extra%20Marble%201002","excerpt":"","featuredImage":false}};
var wpforms_settings = {"val_required":"This field is required.","val_email":"Please enter a valid email address.","val_email_suggestion":"Did you mean {suggestion}?","val_email_suggestion_title":"Click to accept this suggestion.","val_email_restricted":"This email address is not allowed.","val_number":"Please enter a valid number.","val_number_positive":"Please enter a valid positive number.","val_minimum_price":"Amount entered is less than the required minimum.","val_confirm":"Field values do not match.","val_checklimit":"You have exceeded the number of allowed selections: {#}.","val_limit_characters":"{count} of {limit} max characters.","val_limit_words":"{count} of {limit} max words.","val_recaptcha_fail_msg":"Google reCAPTCHA verification failed, please try again later.","val_turnstile_fail_msg":"Cloudflare Turnstile verification failed, please try again later.","val_inputmask_incomplete":"Please fill out the field in required format.","uuid_cookie":"","locale":"en","country":"","country_list_label":"Country list","wpforms_plugin_url":"https:\/\/baasarstone.com.au\/wp-content\/plugins\/wpforms-lite\/","gdpr":"","ajaxurl":"https:\/\/baasarstone.com.au\/wp-admin\/admin-ajax.php","mailcheck_enabled":"1","mailcheck_domains":[],"mailcheck_toplevel_domains":["dev"],"is_ssl":"1","currency_code":"USD","currency_thousands":",","currency_decimals":"2","currency_decimal":".","currency_symbol":"$","currency_symbol_pos":"left","val_requiredpayment":"Payment is required.","val_creditcard":"Please enter a valid credit card number.","error_updating_token":"Error updating token. Please try again or contact support if the issue persists.","network_error":"Network error or server is unreachable. Check your connection or try again later.","token_cache_lifetime":"86400","hn_data":[]}