var gtm4wp_datalayer_name = "dataLayer";
var dataLayer = dataLayer || [];
const gtm4wp_use_sku_instead = 0;
const gtm4wp_currency = 'SAR';
const gtm4wp_product_per_impression = 10;
const gtm4wp_clear_ecommerce = false;
const gtm4wp_datalayer_max_timeout = 2000;
https://stagingapp10963.cloudwayssites.com/wp-includes/js/jquery/jquery.min.js
https://stagingapp10963.cloudwayssites.com/wp-includes/js/jquery/jquery-migrate.min.js
jQuery(document).ready(function($) {
console.log('Custom script loaded'); // Log to verify script is loaded
// Listen for WooCommerce 'added_to_cart' event
$(document.body).on('added_to_cart', function() {
console.log('added_to_cart event triggered'); // Log to confirm event fires
var cartButton = $('.jet-blocks-cart__heading-link');
if (cartButton.length) {
console.log('Cart button found, triggering click'); // Confirm button exists
cartButton.trigger('click');
$('.CustomAddToCart').removeClass('LoadingButton').addClass('IdleButton');
} else {
console.log('Cart button not found'); // Log if button is missing
}
});
});
//# sourceURL=jquery-js-after
var wooMultiCurrencyParams = {"enableCacheCompatible":"1","ajaxUrl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","switchByJS":"1","extra_params":[]};
//# sourceURL=woocommerce-multi-currency-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce-multi-currency/js/woocommerce-multi-currency.js
var breeze_prefetch = {"local_url":"https://stagingapp10963.cloudwayssites.com","ignore_remote_prefetch":"1","ignore_list":["/?wc-api=wc_facebook_get_feed_data&secret=a3ec37b7837342a4ca08c602420d4894","/cart/","/ar/cart-ar/","/checkout/","/ar/checkout-ar/","/my-account/","/ar/my-account-ar/","wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
var wc_add_to_cart_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_view_cart":"View Bag","cart_url":"https://stagingapp10963.cloudwayssites.com/cart/","is_cart":"","cart_redirect_after_add":"no"};
//# sourceURL=wc-add-to-cart-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
var woocommerce_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_password_show":"Show password","i18n_password_hide":"Hide password"};
//# sourceURL=woocommerce-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
var wc_cart_fragments_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","cart_hash_key":"wc_cart_hash_7b460de40f5bb8e8a7888242fea85891","fragment_name":"wc_fragments_7b460de40f5bb8e8a7888242fea85891","request_timeout":"5000"};
//# sourceURL=wc-cart-fragments-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/elementor/assets/lib/font-awesome/js/v4-shims.min.js
var _woocommerce_multi_currency_params = {"use_session":"1","do_not_reload_page":"","ajax_url":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","posts_submit":"0","switch_by_js":"1"};
//# sourceURL=woocommerce-multi-currency-switcher-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce-multi-currency/js/woocommerce-multi-currency-switcher.js
var dataLayer_content = {"visitorLoginState":"logged-out","visitorType":"visitor-logged-out","visitorEmail":"","visitorEmailHash":"","visitorRegistrationDate":"","visitorUsername":"","visitorIP":"216.73.216.122","pagePostType":"page","pagePostType2":"single-page","pagePostAuthor":"RyzeAdmin","browserName":"","browserVersion":"","browserEngineName":"","browserEngineVersion":"","osName":"","osVersion":"","deviceType":"bot","deviceManufacturer":"","deviceModel":"","customerTotalOrders":0,"customerTotalOrderValue":0,"customerFirstName":"","customerLastName":"","customerBillingFirstName":"","customerBillingLastName":"","customerBillingCompany":"","customerBillingAddress1":"","customerBillingAddress2":"","customerBillingCity":"","customerBillingState":"","customerBillingPostcode":"","customerBillingCountry":"","customerBillingEmail":"","customerBillingEmailHash":"","customerBillingPhone":"","customerShippingFirstName":"","customerShippingLastName":"","customerShippingCompany":"","customerShippingAddress1":"","customerShippingAddress2":"","customerShippingCity":"","customerShippingState":"","customerShippingPostcode":"","customerShippingCountry":""};
dataLayer.push( dataLayer_content );
(function(e,t,n){if(e.snaptr)return;var a=e.snaptr=function()
{a.handleRequest?a.handleRequest.apply(a,arguments):a.queue.push(arguments)};
a.queue=[];var s='script';r=t.createElement(s);r.async=!0;
r.src=n;var u=t.getElementsByTagName(s)[0];
u.parentNode.insertBefore(r,u);})(window,document,
'https://sc-static.net/scevent.min.js');
snaptr('init', '8bc33db8-aa05-46e1-a979-7770067a6dfe');
snaptr('track', 'PAGE_VIEW');
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://stagingapp10963.cloudwayssites.com/wp-content/uploads/breeze/facebook/fbevents.js');
window.FacebookSignals = window.FacebookSignals || {
_held: false,
_queue: [],
_config: {},
_attribution: {},
_seenEventIds: {},
_fbclid: (function() {
try {
var m = window.location.search.match(/[?&]fbclid=([^&]*)/);
return m ? decodeURIComponent(m[1]) : null;
} catch(e) { return null; }
})(),
init: function(config) {
config = config || {};
this._config = config;
this._attribution = config.attribution || {};
this._held = !!config.held;
this._fbclid = this._fbclid || null;
try {
var raw = window.sessionStorage.getItem('wc_facebook_signals_seen_event_ids');
this._seenEventIds = raw ? JSON.parse(raw) : {};
} catch (e) {
this._seenEventIds = this._seenEventIds || {};
}
},
queueEvent: function(eventData) {
if (!eventData || !eventData.event_name) return;
if (eventData.event_id && this._seenEventIds[eventData.event_id]) return;
eventData.event_time = eventData.event_time || Math.floor(Date.now() / 1000);
this._queue.push(eventData);
if (eventData.event_id) {
this._seenEventIds[eventData.event_id] = 1;
try {
window.sessionStorage.setItem(
'wc_facebook_signals_seen_event_ids',
JSON.stringify(this._seenEventIds)
);
} catch (e) {}
}
},
trackEvent: function(name, params, userData) {
if (this._held) {
this.queueEvent({
event_name: name,
custom_data: params || {},
user_data: userData || {},
event_id: (params && params.eventID) || null,
event_time: Math.floor(Date.now() / 1000)
});
} else {
if (params && params.eventID) {
fbq('track', name, params, { eventID: params.eventID });
} else {
fbq('track', name, params);
}
}
},
release: function() {
var self = this;
if (!self._held || !self._config.ajaxUrl) {
return Promise.resolve({ success: true, data: { sent_count: 0 } });
}
var payload = JSON.stringify({
security: self._config.nonce,
events: self._queue,
attribution: {
fbp: self._attribution.fbp || null,
fbc: self._attribution.fbc || null
}
});
// Pass action as a query parameter so WordPress can route the request.
var url = self._config.ajaxUrl +
(self._config.ajaxUrl.indexOf('?') === -1 ? '?' : '&') +
'action=' + encodeURIComponent(self._config.action);
return new Promise(function(resolve, reject) {
var xhr = new XMLHttpRequest();
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.onload = function() {
if (xhr.status >= 200 && xhr.status < 300) {
try {
var resp = JSON.parse(xhr.responseText);
self._handleReleaseResponse(resp.data || {});
resolve(resp);
} catch(e) { reject(e); }
} else {
reject(new Error('Signal release AJAX failed: ' + xhr.status));
}
};
xhr.onerror = function() { reject(new Error('Network error')); };
xhr.send(payload);
});
},
_handleReleaseResponse: function(data) {
this._syncAttributionCookies(data || {});
// Re-enable the browser signal path so fbevents.js starts firing.
fbq('consent', 'grant');
// Replay queued events via the pixel.
var queue = this._queue;
for (var i = 0; i < queue.length; i++) {
var ev = queue[i];
if (ev.event_id) {
fbq('track', ev.event_name, ev.custom_data || {}, { eventID: ev.event_id });
} else {
fbq('track', ev.event_name, ev.custom_data || {});
}
}
// Clear the queue and mark signals as active again.
this._queue = [];
this._held = false;
},
_syncAttributionCookies: function(data) {
var clientParams = {};
if (typeof clientParamBuilder !== 'undefined') {
try {
// Let the client-side ParamBuilder generate/set missing attribution
// cookies using its normal domain-scoping logic.
clientParams = clientParamBuilder.processAndCollectParams(this._getAttributionUrl()) || {};
} catch (e) {}
}
var fbp = data.fbp || clientParams._fbp || (typeof clientParamBuilder !== 'undefined' ? clientParamBuilder.getFbp() : null);
var fbc = data.fbc || clientParams._fbc || (typeof clientParamBuilder !== 'undefined' ? clientParamBuilder.getFbc() : null);
// If the backend supplied exact values used for CAPI, write them so Pixel
// replay and CAPI use matching attribution.
if (data.fbp) {
this._setAttributionCookie('_fbp', fbp, data.fbp_domain || data.cookie_domain || this._attribution.fbpDomain);
}
if (data.fbc) {
this._setAttributionCookie('_fbc', fbc, data.fbc_domain || data.cookie_domain || this._attribution.fbcDomain || this._attribution.fbpDomain);
}
},
_setAttributionCookie: function(name, value, domain) {
if (!value) return;
var domainAttr = domain ? ';domain=' + domain : '';
document.cookie = name + '=' + encodeURIComponent(value) + ';path=/;max-age=7776000' + domainAttr + ';SameSite=Lax';
},
_getAttributionUrl: function() {
if (!this._fbclid) {
return window.location.href;
}
try {
var url = new URL(window.location.href);
if (!url.searchParams.get('fbclid')) {
url.searchParams.set('fbclid', this._fbclid);
}
return url.toString();
} catch (e) {
return window.location.href;
}
}
};
fbq('init', '1474574476754358', {}, {
"agent": "woocommerce_6-10.8.1-3.7.0"
});
FacebookSignals.init({ held: false });
document.addEventListener( 'DOMContentLoaded', function() {
// Insert placeholder for events injected when a product is added to the cart through AJAX.
document.body.insertAdjacentHTML( 'beforeend', '<div class=\"wc-facebook-pixel-event-placeholder\"></div>' );
}, false );
You can`t add more product in compare
// Function to add query string without reloading the page
jQuery(document).ready(function($) {
var currencyToCountry = {
"SAR": "Saudi Arabia",
"BHD": "Bahrain",
"KWD": "Kuwait",
"QAR": "Qatar",
"AED": "UAE",
"OMR":"Oman"
};
function updateActiveCurrencyButton() {
// Find the active currency
var activeCurrency = $('.wmc-currency.wmc-active').data('currency');
// Find the corresponding country name from the mapping
var countryName = currencyToCountry[activeCurrency];
$(".CountryNameSpan").text(countryName);
}
updateActiveCurrencyButton();
var countryToCurrency = {
"Saudi Arabia": "SAR",
"Bahrain": "BHD",
"Kuwait": "KWD",
"Qatar": "QAR",
"UAE": "AED",
"Oman":"OMR"
};
// Add click event listener to country buttons
$('.SwitchCountryButton').click(function() {
// Get the country name from the button's text
var countryName = $(this).text().trim();
console.log(countryName);
// Use the mapping to find the corresponding currency code
var currencyCode = countryToCurrency[countryName];
// Find the corresponding currency link and trigger a click
$('.wmc-currency-redirect').each(function() {
if ($(this).data('currency') === currencyCode) {
$(this).click(); // Programmatically trigger the click event
$(".CountryNameSpan").text(countryName);
return false; // Exit the loop
}
});
});
});
jQuery(document).ready(function($) {
$(document).ready(function() {
var cityToBoutiqueMap = {
"Khobar": [
"Al Rashid Mall",
"Dahran Mall" // Updated spelling
],
"Manama": [
"Seef Mall",
"Moda Mall", // Updated spelling
"Marasi Mall"
],
"Riyadh": [
"Al Faisaliya", // Updated spelling
"Panorama Mall",
"Nakheel Mall"
],
"Jeddah": [
"Assila Hotel",
"Al-Khayat Center"// This was already correctly spelled
]
};
$('#select_your_city').change(function() {
var selectedCity = $(this).find("option:selected").text();
var boutiquesToShow = cityToBoutiqueMap[selectedCity] || [];
// Reset and show the "Select Boutique" option as selected
var boutiqueSelect = $(".appointment-provider.jet-form-builder__field");
boutiqueSelect.val('');
boutiqueSelect.find("option").each(function() {
var optionText = $(this).text();
// Condition to always show the "Select Boutique" option
if (optionText === "Select Boutique" || boutiquesToShow.includes(optionText)) {
$(this).show();
} else {
$(this).hide();
}
});
});
});
// Listen for a change event on radio buttons within the specified container
$('.jet-form-builder__field-wrap input[type="radio"]').change(function() {
// Remove the custom color from all .jet-form-builder__field-wrap divs
$('.jet-form-builder__field-wrap.checkradio-wrap').css('background-color', '#fafafa').css('border', '0px solid #1c2a4a');// Default color
// Check if the radio button is checked
if ($(this).is(':checked')) {
// Change the background color of the parent .jet-form-builder__field-wrap
$(this).closest('.jet-form-builder__field-wrap.checkradio-wrap').css('background-color', '#fafafa').css('border-bottom', '2px solid #1c2a4a'); // Selected color
}
});
jQuery(document).ready(function() {
jQuery('.jet-form-builder__field').focus(function() {
jQuery(this).closest('.jet-form-builder-row.field-type-text-field').addClass('focused');
});
jQuery('.jet-form-builder__field').blur(function() {
var inputValue = jQuery(this).val();
if (inputValue == "") {
jQuery(this).removeClass('filled');
jQuery(this).closest('.jet-form-builder-row.field-type-text-field').removeClass('focused');
} else {
jQuery(this).addClass('filled');
}
});
});
});
jQuery(document).ready(function() {
// Target all <img> and <a> elements on the site
jQuery('img, a').removeAttr('title');
});
// Function to add query string without reloading the page
jQuery(document).ready(function($) {
var currencyToCountry = {
"SAR": "Saudi Arabia",
"BHD": "Bahrain",
"KWD": "Kuwait",
"QAR": "Qatar",
"AED": "UAE",
"OMR": "Oman"
};
function updateActiveCurrencyButton() {
// Remove bold class from all buttons first
$('.SwitchCountryButton').removeClass('ActiveBtn');
// Find the active currency
var activeCurrency = $('.wmc-currency.wmc-active').data('currency');
// Find the corresponding country name from the mapping
var countryName = currencyToCountry[activeCurrency];
$('.CountryText').find('h2').each(function() {
// Get the current text of the h2 element
var currentText = $(this).text();
// Set the new text back to the h2 element
$(".CountryNameSpan").text(countryName);
});
// Loop through the buttons and add bold class to the matching button
$('.SwitchCountryButton').each(function() {
if ($(this).text().trim() === countryName) {
$(this).addClass('ActiveBtn');
}
});
}
updateActiveCurrencyButton();
var countryToCurrency = {
"Saudi Arabia": "SAR",
"Bahrain": "BHD",
"Kuwait": "KWD",
"Qatar": "QAR",
"UAE": "AED",
"Oman": "OMR"
};
$('.SwitchCountryButton').click(function() {
// Get the country name from the button's text
var countryName = $(this).text().trim();
// Use the mapping to find the corresponding currency code
var currencyCode = countryToCurrency[countryName];
// Find the corresponding currency link and trigger a click
$('.wmc-currency-redirect').each(function() {
if ($(this).data('currency') === currencyCode) {
$(this).click(); // Programmatically trigger the click event
$(".CountryMessage").text("We are Transfering you to");
$(".CountryNameSpan").text(countryName);
return false; // Exit the loop
}
});
});
});
jQuery("document").ready(function(){
jQuery('.elementor-field-textual').focus(function(){
jQuery(this).parents('.elementor-field-group').addClass('focused');
});
jQuery('.elementor-field-textual').blur(function(){
var inputValue = jQuery(this).val();
if ( inputValue == "" ) {
jQuery(this).removeClass('filled');
jQuery(this).parents('.elementor-field-group').removeClass('focused');
} else {
jQuery(this).addClass('filled');
}
}) ;
jQuery("#ShowCustomization").click(function(){
jQuery(".SolitarPopup").hide();
jQuery("#CustomizeOrder").show();
});
jQuery("#HideCustomization").click(function(){
jQuery(".SolitarPopup").show();
jQuery("#CustomizeOrder").hide();
});
});
const lazyloadRunObserver = () => {
const lazyloadBackgrounds = document.querySelectorAll( `.e-con.e-parent:not(.e-lazyloaded)` );
const lazyloadBackgroundObserver = new IntersectionObserver( ( entries ) => {
entries.forEach( ( entry ) => {
if ( entry.isIntersecting ) {
let lazyloadBackground = entry.target;
if( lazyloadBackground ) {
lazyloadBackground.classList.add( 'e-lazyloaded' );
}
lazyloadBackgroundObserver.unobserve( entry.target );
}
});
}, { rootMargin: '200px 0px 200px 0px' } );
lazyloadBackgrounds.forEach( ( lazyloadBackground ) => {
lazyloadBackgroundObserver.observe( lazyloadBackground );
} );
};
const events = [
'DOMContentLoaded',
'elementor/lazyload/observe',
];
events.forEach( ( event ) => {
document.addEventListener( event, lazyloadRunObserver );
} );
jQuery(function ($) {
console.log('Checkout OTP Initialized');
/**
* Initialize
*/
init();
function init() {
initOTPButton();
disablePlaceOrder();
bindEvents();
}
/**
* Add OTP Button
*/
function initOTPButton() {
const wrapper = $('#billing_phone_field .woocommerce-input-wrapper');
if (!wrapper.length) {
return;
}
if ($('#send-otp-btn').length) {
return;
}
wrapper.append(
'<button type="button" id="send-otp-btn" class="otp-btn">Send OTP</button>'
);
console.log('OTP Button Added');
}
/**
* Bind Events
*/
function bindEvents() {
bindOTPButton();
bindVerifyButton();
bindPhoneWatcher();
$(document.body).on('updated_checkout', function () {
console.log('Checkout Updated');
initOTPButton();
bindOTPButton();
bindVerifyButton();
bindPhoneWatcher();
});
}
/**
* Watch Phone Changes
*/
function bindPhoneWatcher() {
$('#billing_phone')
.off('input.checkoutOTP')
.on('input.checkoutOTP', function () {
resetVerification();
});
}
/**
* Send OTP Button
*/
function bindOTPButton() {
$('#send-otp-btn')
.off('click.checkoutOTP')
.on('click.checkoutOTP', function (e) {
e.preventDefault();
sendOTP();
});
}
/**
* Verify Button
*/
function bindVerifyButton() {
$(document)
.off('click.checkoutVerify', '#verify-otp-btn')
.on('click.checkoutVerify', '#verify-otp-btn', function (e) {
e.preventDefault();
const otp = $('#checkout_otp').val().trim();
verifyOTP(otp);
});
}
/**
* Send OTP
*/
function sendOTP() {
const phone = $('#billing_phone').val().trim();
if (!phone) {
showError('Please enter phone number.');
return;
}
setButtonLoading(true);
$.ajax({
url: window.checkoutOTP.ajax_url,
type: 'POST',
dataType: 'json',
data: {
action: 'send_checkout_otp',
nonce: window.checkoutOTP.nonce,
phone: phone
},
success: function (response) {
setButtonLoading(false);
if (response.success) {
showSuccess(response.data);
} else {
showError(response.data.message);
}
},
error: function (xhr) {
setButtonLoading(false);
console.error(xhr);
showError('AJAX Error');
}
});
}
/**
* Verify OTP
*/
function verifyOTP(otp) {
if (!otp) {
showError('Please enter verification code.');
return;
}
$.ajax({
url: window.checkoutOTP.ajax_url,
type: 'POST',
dataType: 'json',
data: {
action: 'verify_checkout_otp',
nonce: window.checkoutOTP.nonce,
otp: otp
},
success: function (response) {
if (response.success) {
showVerified(response.data.message);
} else {
showError(response.data.message);
}
},
error: function () {
showError('Verification failed.');
}
});
}
/**
* Disable Place Order
*/
function disablePlaceOrder() {
const button = $('#place_order');
if (!button.length) {
return;
}
button.prop('disabled', true);
button.addClass('otp-disabled');
if (!$('#otp-place-order-note').length) {
button.after(
'<p id="otp-place-order-note" class="otp-note">Please verify your phone number before placing your order.</p>'
);
}
}
/**
* Enable Place Order
*/
function enablePlaceOrder() {
const button = $('#place_order');
if (!button.length) {
return;
}
button.prop('disabled', false);
button.removeClass('otp-disabled');
$('#otp-place-order-note').remove();
}
/**
* Reset Verification
*/
function resetVerification() {
// لو لسه المستخدم معملش Verify
if ($('#send-otp-btn').text() !== 'Verified ✓') {
return;
}
disablePlaceOrder();
$('#send-otp-btn')
.text('Send OTP')
.prop('disabled', false);
$('#verify-otp-btn')
.prop('disabled', false);
$('#checkout_otp')
.prop('disabled', false)
.val('');
$('#otp-dev-code').html('');
}
/**
* Loading State
*/
function setButtonLoading(status) {
const button = $('#send-otp-btn');
button.prop('disabled', status);
button.text(
status
? 'Sending...'
: 'Send OTP'
);
}
/**
* Render OTP UI
*/
function renderOTPUI() {
if ($('#checkout-otp-wrapper').length) {
return;
}
const html = `
<div id="checkout-otp-wrapper" class="checkout-otp-wrapper">
<label class="otp-label">
Verification Code
</label>
<div class="otp-row">
<input
type="text"
id="checkout_otp"
class="input-text"
placeholder="Enter verification code"
autocomplete="one-time-code"
>
<button
type="button"
id="verify-otp-btn"
class="otp-btn"
>
Verify
</button>
</div>
<small
id="otp-dev-code"
class="otp-dev-code"
></small>
</div>
`;
$('#billing_phone_field').after(html);
}
/**
* Show DEV OTP
*/
function showOTPCode(otp) {
$('#otp-dev-code').html(
'<strong>DEV OTP:</strong> ' + otp
);
}
/**
* Success
*/
function showSuccess(data) {
console.log(data);
renderOTPUI();
showOTPCode(data.otp);
$('#checkout_otp').focus();
}
/**
* Phone Verified
*/
function showVerified(message) {
$('#send-otp-btn')
.text('Verified ✓')
.prop('disabled', true)
.addClass('otp-verified');
$('#verify-otp-btn')
.text('Verified')
.prop('disabled', true);
$('#checkout_otp')
.prop('disabled', true);
$('#otp-dev-code').html(
'<span class="otp-success">' + message + '</span>'
);
enablePlaceOrder();
}
/**
* Error
*/
function showError(message) {
$('#otp-dev-code').html(
'<span class="otp-error">' + message + '</span>'
);
}
});
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/pro-pack-for-wp-job-openings/assets/js/public/job-block.js
var awsmJobsPublic = {"ajaxurl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","is_tax_archive":"","is_search":"","job_id":"0","wp_max_upload_size":"209715200","deep_linking":{"search":true,"spec":true,"pagination":true},"i18n":{"loading_text":"Loading...","form_error_msg":{"general":"Error in submitting your application. Please refresh the page and retry.","file_validation":"The file you have selected is too large.","captcha_failed":"reCAPTCHA failed to load. Please check your configuration."}},"vendors":{"selectric":true,"jquery_validation":true},"is_homepage":"","block_nonce":"11ca4707b3","view_count_nonce":"1312ba4d67"};
//# sourceURL=awsm-job-scripts-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/wp-job-openings/assets/js/script.min.js
(function() {
var expirationDate = new Date();
expirationDate.setTime( expirationDate.getTime() + 31536000 * 1000 );
document.cookie = "pll_language=en; expires=" + expirationDate.toUTCString() + "; path=/; secure; SameSite=Lax";
}());
//# sourceURL=pll_cookie_script-js-after
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/duracelltomi-google-tag-manager/dist/js/gtm4wp-contact-form-7-tracker.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/duracelltomi-google-tag-manager/dist/js/gtm4wp-ecommerce-generic.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/duracelltomi-google-tag-manager/dist/js/gtm4wp-woocommerce.js
var wc_facebook_signals_params = {"ajax_url":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","nonce":"3518f46b50","action":"wc_facebook_update_signals_state"};
//# sourceURL=wc-facebook-signals-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/facebook-for-woocommerce/assets/js/facebook-for-woocommerce-signals.js
var metorik_params = {"source_tracking":{"enabled":true,"cookie_lifetime":6,"session_length":30,"sbjs_domain":false,"cookie_name":"mtk_src_trk"},"cart_tracking":{"enabled":true,"cart_items_count":0,"item_was_added_to_cart":false,"wc_ajax_capture_customer_data_url":"/?wc-ajax=metorik_capture_customer_data","wc_ajax_email_opt_out_url":"/?wc-ajax=metorik_email_opt_out","wc_ajax_email_opt_in_url":"/?wc-ajax=metorik_email_opt_in","wc_ajax_seen_add_to_cart_form_url":"/?wc-ajax=metorik_seen_add_to_cart_form","add_cart_popup_should_scroll_to":true,"add_cart_popup_placement":"bottom","add_to_cart_should_mark_as_seen":true,"add_to_cart_form_selectors":[".ajax_add_to_cart",".single_add_to_cart_button"]},"nonce":"2be96bff82"};
//# sourceURL=metorik-js-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/metorik-helper/assets/js/metorik.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/themes/kava/inc/modules/woo/assets/js/woo-module-script.js
var kavaConfig = {"toTop":"1"};
//# sourceURL=kava-theme-script-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/themes/kava/assets/js/theme-script.js
https://stagingapp10963.cloudwayssites.com/wp-includes/js/dist/hooks.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-menu/assets/public/lib/vue/vue.min.js
var jetMenuPublicSettings = {"version":"2.4.12","ajaxUrl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","isMobile":"false","getElementorTemplateApiUrl":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-menu-api/v2/get-elementor-template-content","getBlocksTemplateApiUrl":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-menu-api/v2/get-blocks-template-content","menuItemsApiUrl":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-menu-api/v2/get-menu-items","restNonce":"4872614c25","devMode":"false","wpmlLanguageCode":"en","menuSettings":{"jetMenuRollUp":"true","jetMenuMouseleaveDelay":"100","jetMenuMegaWidthType":"selector","jetMenuMegaWidthSelector":".TopMenuContainer","jetMenuMegaOpenSubType":"hover","jetMenuMegaAjax":"false"}};
var CxCollectedCSS = {"type":"text/css","title":"cx-collected-dynamic-style","css":".jet-menu .jet-menu-item-13144 \u003E a {padding-top:0px !important; padding-right:0px !important; padding-bottom:0px !important; padding-left:0px !important; }.jet-menu .jet-menu-item-13144 \u003E .jet-mobile-menu__item-inner \u003E a {padding-top:0px !important; padding-right:0px !important; padding-bottom:0px !important; padding-left:0px !important; }"};
var CxCollectedCSS = {"type":"text/css","title":"cx-collected-dynamic-style","css":".jet-menu .jet-menu-item-13144 \u003E a {padding-top:0px !important; padding-right:0px !important; padding-bottom:0px !important; padding-left:0px !important; }.jet-menu .jet-menu-item-13144 \u003E .jet-mobile-menu__item-inner \u003E a {padding-top:0px !important; padding-right:0px !important; padding-bottom:0px !important; padding-left:0px !important; }"};
//# sourceURL=jet-menu-public-scripts-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-menu/assets/public/js/legacy/jet-menu-public-scripts.js
function CxCSSCollector(){"use strict";var t,e=window.CxCollectedCSS;void 0!==e&&((t=document.createElement("style")).setAttribute("title",e.title),t.setAttribute("type",e.type),t.textContent=e.css,document.head.appendChild(t))}CxCSSCollector();
function CxCSSCollector(){"use strict";var t,e=window.CxCollectedCSS;void 0!==e&&((t=document.createElement("style")).setAttribute("title",e.title),t.setAttribute("type",e.type),t.textContent=e.css,document.head.appendChild(t))}CxCSSCollector();
//# sourceURL=jet-menu-public-scripts-js-after
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-search/assets/lib/jet-plugins/jet-plugins.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-elements/assets/js/lib/anime-js/anime.min.js
var jetPopupData = {"version":"2.0.11","ajax_url":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","isElementor":"true"};
//# sourceURL=jet-popup-frontend-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-popup/assets/js/jet-popup-frontend.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
document.addEventListener("DOMContentLoaded", function () {
if ( "function" !== typeof window.LazyLoad && "function" !== typeof LazyLoad ) {
return;
}
var breezeLazyLoad = window.LazyLoad || LazyLoad;
window.lazyLoadInstance = new breezeLazyLoad({
elements_selector: ".br-lazy",
data_src: "breeze",
data_srcset: "brsrcset",
data_sizes: "brsizes",
class_loaded: "br-loaded",
threshold: 300,
});
});
//# sourceURL=breeze-lazy-js-after
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/elementor/assets/js/webpack.runtime.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/elementor/assets/js/frontend-modules.min.js
https://stagingapp10963.cloudwayssites.com/wp-includes/js/jquery/ui/core.min.js
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","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":"4.1.1","is_static":false,"experimentalFeatures":{"e_font_icon_svg":true,"container":true,"nested-elements":true,"global_classes_should_enforce_capabilities":true,"e_variables":true,"e_opt_in_v4_page":true,"e_components":true,"e_interactions":true,"e_widget_creation":true,"import-export-customization":true},"urls":{"assets":"https:\/\/stagingapp10963.cloudwayssites.com\/wp-content\/plugins\/elementor\/assets\/","ajaxurl":"https:\/\/stagingapp10963.cloudwayssites.com\/wp-admin\/admin-ajax.php","uploadUrl":"https:\/\/stagingapp10963.cloudwayssites.com\/wp-content\/uploads"},"nonces":{"floatingButtonsClickTracking":"8a1ecbd57c","atomicFormsSendForm":"25b9c75840"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_title_src":"title","lightbox_description_src":"description","woocommerce_notices_elements":[]},"post":{"id":20043,"title":"Book%20Appointment%20Form%20-%20Kooheji%20Jewellery","excerpt":"","featuredImage":false}};
//# sourceURL=elementor-frontend-js-before
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/elementor/assets/js/frontend.min.js
https://stagingapp10963.cloudwayssites.com/wp-includes/js/imagesloaded.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-elements/assets/js/lib/slider-pro/jquery.sliderPro.min.js
https://stagingapp10963.cloudwayssites.com/wp-includes/js/hoverIntent.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/sourcebuster/sourcebuster.min.js
var wc_order_attribution = {"params":{"lifetime":1.0e-5,"session":30,"base64":false,"ajaxurl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","utm_source_platform":"current.plt","utm_creative_format":"current.fmt","utm_marketing_tactic":"current.tct","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};
//# sourceURL=wc-order-attribution-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/frontend/order-attribution.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/facebook-for-woocommerce/assets/js/frontend/pixel-events.js
if (typeof clientParamBuilder !== "undefined") {
clientParamBuilder.processAndCollectAllParams(window.location.href);
}
//# sourceURL=facebook-capi-param-builder-js-after
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-woo-product-gallery/assets/lib/swiper/swiper.min.js
const JetSwiper = window.Swiper; window.Swiper = undefined;
//# sourceURL=jet-swiper-js-after
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/pro-pack-for-wp-job-openings/assets/js/flatpickr.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/pro-pack-for-wp-job-openings/assets/js/intlTelInput.min.js
var awsmProJobsPublic = {"datepicker":"default","iti":{"show_country_code":false,"utils_url":"https://stagingapp10963.cloudwayssites.com/wp-content/plugins/pro-pack-for-wp-job-openings/assets/js/intlTelInput-utils.min.js"},"i18n":{"repeater":{"add_more":"Add More","edit":"Edit","update":"Update","remove":"Delete"},"file_upload":{"uploading":"Uploading....","cancel_upload":"Cancel","upload_canceled":"Upload canceled.","cancel_upload_confirmation":"Are you sure you want to cancel this upload?","remove_file":"Remove","max_files":"You are not allowed to upload more than the file limit: {{maxFiles}}.","invalid_file_type":"You can't upload files of this type.","file_size":"File upload failed. Maximum allowed file size is {{maxFilesize}}MB"}}};
//# sourceURL=awsm-job-pro-scripts-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/pro-pack-for-wp-job-openings/assets/js/script.min.js
/* WooCommerce Facebook Integration Event Tracking */
fbq('set', 'agent', 'woocommerce_6-10.8.1-3.7.0', '1474574476754358');
fbq('track', 'PageView', {
"source": "woocommerce_6",
"version": "10.8.1",
"pluginVersion": "3.7.0",
"user_data": {}
}, {
"eventID": "ce7b011e-3c2d-4115-9ef5-f61cbbd02a0d"
});
//# sourceURL=facebook-for-woocommerce-inline-js-after
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/modules/deprecated/assets/build/frontend.js
https://stagingapp10963.cloudwayssites.com/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
//# sourceURL=wp-i18n-js-after
var JetFormBuilderSettings = {"ajaxurl":"https://stagingapp10963.cloudwayssites.com/book-appointment-form/?eXtA6b=pAl7lFrFWM&method=ajax","adminajaxurl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","devmode":"","replaceAttrs":["href","src","alt","title"],"enable_dev_mode":"1","clear_on_uninstall":"","disable_next_button":"","scroll_on_next":"1","auto_focus":"1","gfb_request_args_key":"eXtA6b","gfb_request_args_value":"pAl7lFrFWM","builtInStates":["DEFAULT.STATE"]};
//# sourceURL=jet-form-builder-frontend-forms-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/assets/build/frontend/main.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/assets/build/frontend/conditional.block.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/assets/build/frontend/dynamic.value.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/modules/option-field/assets/build/radio.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/assets/build/frontend/multi.step.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/modules/option-field/assets/build/select.js
https://stagingapp10963.cloudwayssites.com/wp-includes/js/dist/vendor/moment.min.js
moment.updateLocale( 'en_US', {"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"week":{"dow":1},"longDateFormat":{"LT":"g:i a","LTS":null,"L":null,"LL":"F j, Y","LLL":"F j, Y g:i a","LLLL":null}} );
//# sourceURL=moment-js-after
https://stagingapp10963.cloudwayssites.com/wp-includes/js/dist/url.min.js
https://stagingapp10963.cloudwayssites.com/wp-includes/js/dist/api-fetch.min.js
wp.apiFetch.use( wp.apiFetch.createRootURLMiddleware( "https://stagingapp10963.cloudwayssites.com/wp-json/" ) );
wp.apiFetch.nonceMiddleware = wp.apiFetch.createNonceMiddleware( "4872614c25" );
wp.apiFetch.use( wp.apiFetch.nonceMiddleware );
wp.apiFetch.use( wp.apiFetch.mediaUploadMiddleware );
wp.apiFetch.nonceEndpoint = "https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php?action=rest-nonce";
//# sourceURL=wp-api-fetch-js-after
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-appointments-booking/assets/js/public/vanilla-calendar.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-appointments-booking/assets/lib/flatpickr/flatpickr.js
var JetAPBData = {"api":{"date_slots":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/appointment-date-slots/","refresh_dates":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/appointment-refresh-date/","service_providers":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/appointment-service-providers/","provider_services":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/appointment-provider-services/","appointments_list":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/appointments-list/","delete_appointment":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/delete-appointment/","update_appointment":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/update-appointment/","add_appointment":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/appointment-add-appointment/","update_workflows":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/update-appointment-workflows/","appointment_meta":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/appointment-meta/","get_appointment":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-engine/v2/get-appointment/"},"week_days":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],"start_of_week":"1","available_week_days":["monday","tuesday","wednesday","thursday","friday","sunday","saturday"],"time_format":"HH:mm","layout":"sidebar_slots","scroll_to_details":"","utc_offset":"10800","providers":{"52274":"Al-Khayat Center","49406":"Marasi Mall","24342":"Al Rashid Mall","20077":"Dahran Mall","20076":"Moda Mall","20075":"Seef Mall","20074":"Nakheel Mall","20073":"Al Faisaliya","20072":"Panorama Mall","10798":"Assila Hotel"},"services":{"20113":"Bridal & Engagement","20112":"Jewellery & Watches","20111":"Product Care & Personalization","20110":"Other Inquiries"},"multi_booking":{"state":true,"min":1,"max":3,"selected":0},"months":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"shortWeekday":["Su","Mo","Tu","We","Th","Fr","Sa"]};
//# sourceURL=jet-ab-front-init-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-appointments-booking/assets/js/public/appointments-init.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/compatibility/jet-engine/assets/build/frontend/listing.options.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/compatibility/jet-appointment/assets/build/frontend.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/modules/blocks-v2/text-field/assets/build/frontend/field.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/modules/blocks-v2/text-field/assets/lib/jquery.inputmask.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/modules/blocks-v2/text-field/assets/build/frontend/field.mask.js
window.JetFormBuilderCaptchaConfig = window.JetFormBuilderCaptchaConfig || {};
window.JetFormBuilderCaptchaConfig[ 21685 ] = {"key":"6LfStNwpAAAAAHRiVDrPzJZOXOpVKDbmNO01U0X4"};
//# sourceURL=jet-fb-captcha-google-js-before
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jetformbuilder/modules/captcha/assets/build/re-captcha-v3/frontend.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/elementor-pro/assets/js/webpack-pro.runtime.min.js
var ElementorProFrontendConfig = {"ajaxurl":"https:\/\/stagingapp10963.cloudwayssites.com\/wp-admin\/admin-ajax.php","nonce":"58705c9cdf","urls":{"assets":"https:\/\/stagingapp10963.cloudwayssites.com\/wp-content\/plugins\/elementor-pro\/assets\/","rest":"https:\/\/stagingapp10963.cloudwayssites.com\/wp-json\/"},"settings":{"lazy_load_background_images":true},"popup":{"hasPopUps":true},"shareButtonsNetworks":{"facebook":{"title":"Facebook","has_counter":true},"twitter":{"title":"Twitter"},"linkedin":{"title":"LinkedIn","has_counter":true},"pinterest":{"title":"Pinterest","has_counter":true},"reddit":{"title":"Reddit","has_counter":true},"vk":{"title":"VK","has_counter":true},"odnoklassniki":{"title":"OK","has_counter":true},"tumblr":{"title":"Tumblr"},"digg":{"title":"Digg"},"skype":{"title":"Skype"},"stumbleupon":{"title":"StumbleUpon","has_counter":true},"mix":{"title":"Mix"},"telegram":{"title":"Telegram"},"pocket":{"title":"Pocket","has_counter":true},"xing":{"title":"XING","has_counter":true},"whatsapp":{"title":"WhatsApp"},"email":{"title":"Email"},"print":{"title":"Print"},"x-twitter":{"title":"X"},"threads":{"title":"Threads"}},"woocommerce":{"menu_cart":{"cart_page_url":"https:\/\/stagingapp10963.cloudwayssites.com\/cart\/","checkout_page_url":"https:\/\/stagingapp10963.cloudwayssites.com\/checkout\/","fragments_nonce":"0612fa7eba"}},"facebook_sdk":{"lang":"en_US","app_id":""},"lottie":{"defaultAnimationUrl":"https:\/\/stagingapp10963.cloudwayssites.com\/wp-content\/plugins\/elementor-pro\/modules\/lottie\/assets\/animations\/default.json"}};
//# sourceURL=elementor-pro-frontend-js-before
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/elementor-pro/assets/js/frontend.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/elementor-pro/assets/js/elements-handlers.min.js
var jetBlocksData = {"recaptchaConfig":{"enable":"false","site_key":"","secret_key":""}};
var JetHamburgerPanelSettings = {"ajaxurl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","isMobile":"false","templateApiUrl":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-blocks-api/v1/elementor-template","devMode":"false","restNonce":"4872614c25"};
//# sourceURL=jet-blocks-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-blocks/assets/js/jet-blocks.min.js
var JetCWSettings = {"ajaxurl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","widgets":{"wishlist":{"a.jet-wishlist-count-button__link%5Bdata-widget-id%3D%22c0637c5%22%5D":{"settings":{"button_icon_position":"left","use_button_icon":"yes","button_icon":"<svg xmlns="http://www.w3.org/2000/svg" width="20" height="18" viewBox="0 0 20 18" fill="none"><path d="M10 16.9141L2.11433 9.77127C-2.17139 5.48556 4.12861 -2.74302 10 3.91413C15.8715 -2.74302 22.1429 5.51413 17.8858 9.77127L10 16.9141Z" stroke="#2C2C2C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>","button_label":"","show_count":"yes","hide_empty_count":"","count_format":"%s","count_position":"top-right","_widget_id":"c0637c5"},"type":"jet-wishlist-count-button"},"a.jet-wishlist-count-button__link%5Bdata-widget-id%3D%227268faa%22%5D":{"settings":{"button_icon_position":"left","use_button_icon":"yes","button_icon":"<svg xmlns="http://www.w3.org/2000/svg" width="20" height="18" viewBox="0 0 20 18" fill="none"><path d="M10 16.9141L2.11433 9.77127C-2.17139 5.48556 4.12861 -2.74302 10 3.91413C15.8715 -2.74302 22.1429 5.51413 17.8858 9.77127L10 16.9141Z" stroke="#2C2C2C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>","button_label":"","show_count":"yes","hide_empty_count":"","count_format":"%s","count_position":"top-right","_widget_id":"7268faa"},"type":"jet-wishlist-count-button"}}},"compareMaxItems":"3","compareItemsCount":"0","wishlistItemsCount":"0"};
var JetCWSettings = {"ajaxurl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","widgets":{"wishlist":{"a.jet-wishlist-count-button__link%5Bdata-widget-id%3D%22c0637c5%22%5D":{"settings":{"button_icon_position":"left","use_button_icon":"yes","button_icon":"<svg xmlns="http://www.w3.org/2000/svg" width="20" height="18" viewBox="0 0 20 18" fill="none"><path d="M10 16.9141L2.11433 9.77127C-2.17139 5.48556 4.12861 -2.74302 10 3.91413C15.8715 -2.74302 22.1429 5.51413 17.8858 9.77127L10 16.9141Z" stroke="#2C2C2C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>","button_label":"","show_count":"yes","hide_empty_count":"","count_format":"%s","count_position":"top-right","_widget_id":"c0637c5"},"type":"jet-wishlist-count-button"},"a.jet-wishlist-count-button__link%5Bdata-widget-id%3D%227268faa%22%5D":{"settings":{"button_icon_position":"left","use_button_icon":"yes","button_icon":"<svg xmlns="http://www.w3.org/2000/svg" width="20" height="18" viewBox="0 0 20 18" fill="none"><path d="M10 16.9141L2.11433 9.77127C-2.17139 5.48556 4.12861 -2.74302 10 3.91413C15.8715 -2.74302 22.1429 5.51413 17.8858 9.77127L10 16.9141Z" stroke="#2C2C2C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>","button_label":"","show_count":"yes","hide_empty_count":"","count_format":"%s","count_position":"top-right","_widget_id":"7268faa"},"type":"jet-wishlist-count-button"}}},"compareMaxItems":"3","compareItemsCount":"0","wishlistItemsCount":"0"};
//# sourceURL=jet-cw-frontend-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-compare-wishlist/assets/js/dist/frontend.js
var jetElements = {"ajaxUrl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","isMobile":"false","templateApiUrl":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-elements-api/v1/elementor-template","devMode":"false","messages":{"invalidMail":"Please specify a valid e-mail"}};
//# sourceURL=jet-elements-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-elements/assets/js/jet-elements.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-menu/includes/elementor/assets/public/js/legacy/widgets-scripts.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-popup/includes/elementor/assets/js/jet-popup-elementor-frontend.js
var JetTabsSettings = {"ajaxurl":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","isMobile":"false","templateApiUrl":"https://stagingapp10963.cloudwayssites.com/wp-json/jet-tabs-api/v1/elementor-template","devMode":"false","isSelfRequest":""};
//# sourceURL=jet-tabs-frontend-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-tabs/assets/js/jet-tabs-frontend.min.js
var wc_single_product_params = {"i18n_required_rating_text":"Please select a rating","i18n_rating_options":["1 of 5 stars","2 of 5 stars","3 of 5 stars","4 of 5 stars","5 of 5 stars"],"i18n_product_gallery_trigger_text":"View full-screen image gallery","review_rating_required":"yes","flexslider":{"rtl":false,"animation":"slide","smoothHeight":true,"directionNav":false,"controlNav":"thumbnails","slideshow":false,"animationSpeed":500,"animationLoop":false,"allowOneSlide":false},"zoom_enabled":"1","zoom_options":[],"photoswipe_enabled":"1","photoswipe_options":{"shareEl":false,"closeOnScroll":false,"history":false,"hideAnimationDuration":0,"showAnimationDuration":0},"flexslider_enabled":"1"};
//# sourceURL=wc-single-product-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/frontend/single-product.min.js
https://stagingapp10963.cloudwayssites.com/wp-includes/js/underscore.min.js
var _wpUtilSettings = {"ajax":{"url":"/wp-admin/admin-ajax.php"}};
//# sourceURL=wp-util-js-extra
https://stagingapp10963.cloudwayssites.com/wp-includes/js/wp-util.min.js
var wc_add_to_cart_variation_params = {"wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_no_matching_variations_text":"Sorry, no products matched your selection. Please choose a different combination.","i18n_make_a_selection_text":"Please select some product options before adding this product to your Bag.","i18n_unavailable_text":"Sorry, this product is unavailable. Please choose a different combination.","i18n_reset_alert_text":"Your selection has been reset. Please select some product options before adding this product to your Bag."};
//# sourceURL=wc-add-to-cart-variation-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/flexslider/jquery.flexslider.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/photoswipe/photoswipe.min.js
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/woocommerce/assets/js/photoswipe/photoswipe-ui-default.min.js
var jetWooBuilderData = {"ajax_url":"https://stagingapp10963.cloudwayssites.com/wp-admin/admin-ajax.php","products":"{\"page\":0,\"pagename\":\"book-appointment-form\",\"error\":\"\",\"m\":\"\",\"p\":0,\"post_parent\":\"\",\"subpost\":\"\",\"subpost_id\":\"\",\"attachment\":\"\",\"attachment_id\":0,\"name\":\"book-appointment-form\",\"page_id\":0,\"second\":\"\",\"minute\":\"\",\"hour\":\"\",\"day\":0,\"monthnum\":0,\"year\":0,\"w\":0,\"category_name\":\"\",\"tag\":\"\",\"cat\":\"\",\"tag_id\":\"\",\"author\":\"\",\"author_name\":\"\",\"feed\":\"\",\"tb\":\"\",\"paged\":0,\"meta_key\":\"\",\"meta_value\":\"\",\"preview\":\"\",\"s\":\"\",\"sentence\":\"\",\"title\":\"\",\"fields\":\"all\",\"menu_order\":\"\",\"embed\":\"\",\"category__in\":[],\"category__not_in\":[],\"category__and\":[],\"post__in\":[],\"post__not_in\":[],\"post_name__in\":[],\"tag__in\":[],\"tag__not_in\":[],\"tag__and\":[],\"tag_slug__in\":[],\"tag_slug__and\":[],\"post_parent__in\":[],\"post_parent__not_in\":[],\"author__in\":[],\"author__not_in\":[],\"search_columns\":[],\"tax_query\":[{\"taxonomy\":\"language\",\"field\":\"term_taxonomy_id\",\"terms\":[158],\"operator\":\"IN\"}],\"ignore_sticky_posts\":false,\"suppress_filters\":false,\"cache_results\":true,\"update_post_term_cache\":true,\"update_menu_item_cache\":false,\"lazy_load_term_meta\":true,\"update_post_meta_cache\":true,\"post_type\":\"\",\"posts_per_page\":10,\"nopaging\":false,\"comments_per_page\":\"50\",\"no_found_rows\":false,\"order\":\"DESC\"}","single_ajax_add_to_cart":"1"};
//# sourceURL=jet-woo-builder-js-extra
https://stagingapp10963.cloudwayssites.com/wp-content/plugins/jet-woo-builder/assets/js/frontend.min.js
(function () {
'use strict';
function loadServices( namespace, providerWrapper, data ) {
let $input = this;
let service = $input.val();
let $loader = providerWrapper.find( '.appointment-provider__loader' );
let isAjax = window.JetAPBisAjax || false;
if ( ! service ) {
return;
}
if ( $loader.length ) {
$loader.removeClass( 'appointment-provider__loader-hidden' );
}
jQuery.ajax( {
url: data.api.service_providers,
type: 'GET',
dataType: 'json',
data: {
service: service,
custom_template: data.custom_template,
args_str: data.args_str,
is_ajax: isAjax,
namespace,
},
} ).done( function( response ) {
if ( $loader.length ) {
$loader.addClass( 'appointment-provider__loader-hidden' );
}
providerWrapper.val( '' ).trigger( 'refresh', [ providerWrapper ] );
if ( ! data.custom_template ) {
if ( response.data.length ) {
providerWrapper.html( '<option value="">' + data.placeholder + '</option>' );
for ( var i = 0; i < response.data.length; i++ ) {
let item = response.data[ i ];
providerWrapper.append( '<option value="' + item.ID + '">' + item.post_title + '</option>' );
}
} else if ( response.data && 0 == response.data.length ) {
providerWrapper.html( '<option value="">' + data.placeholder + '</option>' );
}
} else {
if ( response.data ) {
providerWrapper.find( '.appointment-provider__content' ).html( response.data );
}
}
} );
}
function handleServicesBy( namespace, providerWrapper, data ) {
jQuery( document ).on( 'change',
`.${ namespace } [name="` + data.service.field + `"]`,
e => loadServices.call( jQuery( e.target ), namespace, providerWrapper, data ),
);
jQuery(
`.${ namespace } select[name="` + data.service.field + `"]`,
).each( function() {
loadServices.call( jQuery( this ), namespace, providerWrapper, data )
} );
jQuery(
`.${ namespace } input[name="` + data.service.field + `"]:checked`,
).each( function() {
loadServices.call( jQuery( this ), namespace, providerWrapper, data )
} );
jQuery(
`.${ namespace } input[name="` + data.service.field + `"][type="hidden"]`,
).each( function() {
loadServices.call( jQuery( this ), namespace, providerWrapper, data )
} );
}
function initProviderControl( event ) {
let namespace = event.data.namespace;
jQuery( ' .' + namespace + ' .appointment-provider' ).each( function() {
var $this = jQuery( this ),
data = $this.data( 'args' );
if ( data.service.field ) {
if ( $this.is( 'select' ) ) {
$this.html( '<option value="">' + data.placeholder + '</option>' );
}
handleServicesBy( namespace, $this, data );
}
} );
}
jQuery( document ).on( 'jet-engine/booking-form/init', { namespace: "jet-form" }, initProviderControl );
jQuery( document ).on( 'jet-form-builder/init', { namespace: "jet-form-builder" }, initProviderControl );
}());