\n ';b+=h.map((function(e){return n.replace(/\{bulletPoint\}/g,e)})).join(""),b=(b=(b=(b=(b=(b=(b=(b+=a).replace(/\{productName\}/g,p)).replace(/\{cta1Text\}/g,d)).replace(/\{cta1Url\}/g,m)).replace(/\{cta2Text\}/g,g)).replace(/\{cta2Url\}/g,f)).replace(/\{gaEventLabel_Cta1\}/g,("[vwo_ce_rtg] product cat thumbnail - "+p+" - "+d).toLowerCase())).replace(/\{gaEventLabel_Cta2\}/g,("[vwo_ce_rtg] product cat thumbnail - "+p+" - "+g).toLowerCase()),document.querySelector(".featuredArticle .leo-container .leo-row .leo-col-8").classList.replace("leo-col-8","leo-col-6"),document.querySelector(".featuredArticle .leo-container .leo-row").insertAdjacentHTML("beforeend",b)}}}),1e3)}();}catch(e){} ;var _vwo_sel=vwo_$("");vwo_$('head').append(_vwo_sel);return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("HEAD")}}, ct_50797db9f8236bc7d9dca0f411851f4f:{ fn:function(executeTrigger, vwo_$, config) {
(function() {
if (!config || typeof config !== "object") {
return;
}
if (window.vwo_$(config.sel).length > 0) {
return executeTrigger();
}
window.VWO._.phoenixMT.once("vwo_mutObs." + config.triggerName, () => {
if (window.vwo_$(config.sel).length > 0) {
executeTrigger();
}
});
})()
}
}, ct_cbb73702f57faed15ee0829091863373:{ fn:function(executeTrigger, vwo_$, config) {
(function() {
if (!config || typeof config !== "object") {
return;
}
if (window.vwo_$(config.sel).length > 0) {
return executeTrigger();
}
window.VWO._.phoenixMT.once("vwo_mutObs." + config.triggerName, () => {
if (window.vwo_$(config.sel).length > 0) {
executeTrigger();
}
});
})()
}
}, C_722219_965_1_2_14:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1730706741976').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_a192231b2113d157699dea212968af5a")){var currentURL3=window.location.href.split("?").pop(),clickURL3="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200201/get-quotation.html?campCode=C8DISC&template=post";$("#gpabuynow3").on("click",(function(){window.location.href=clickURL3+"&"+currentURL3}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_965_1_2_13:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1730706741975').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_117ea7d82ad4208c01b4c082cbb1dcbe")){var currentURL2=window.location.href.split("?").pop(),clickURL2="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200202/get-quotation.html?campCode=C8DISC&template=post";$("#gjpbuynow2").on("click",(function(){window.location.href=clickURL2+"&"+currentURL2}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_965_1_2_12:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1730706741975').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_529d06731882814587edcdb7fcb47719")){var currentURL2=window.location.href.split("?").pop(),clickURL2="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200203/get-quotation.html?template=post&campCode=C8DISC";$("#ggpbuynow2").on("click",(function(){window.location.href=clickURL2+"&"+currentURL2}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_965_1_2_11:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1730706741974').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1")){var currentURL2=window.location.href.split("?").pop(),clickURL2="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200204/get-quotation.html?campCode=C8DISC&template=post";$("#eppbuynow2").on("click",(function(){window.location.href=clickURL2+"&"+currentURL2}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, R_722219_965_1_2_31:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","remove","html.vwo_p_s_b4e3c967173ff0c7334aa142c9f54d98 .cmp-announcement-widget-xf"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b4e3c967173ff0c7334aa142c9f54d98 .cmp-announcement-widget-xf")).vwoRevertCss();})("html.vwo_p_s_b4e3c967173ff0c7334aa142c9f54d98 .cmp-announcement-widget-xf")}}, C_722219_889_1_2_2:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove",".main > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(7)"); vwo_debug*/(el=ctx).vwoCss({display:"none !important"});})(".main > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(7)")}}, R_722219_889_1_2_2:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","remove",".main > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(7)"); vwo_debug*/(el=ctx).vwoRevertCss();})(".main > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(7)")}}, C_722219_657_1_2_5:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove","#filter-form > span:nth-of-type(1)"); vwo_debug*/(el=vwo_$("#filter-form > span:nth-of-type(1)")).vwoCss({display:"none !important"});})("#filter-form > span:nth-of-type(1)")}}, C_722219_657_1_2_6:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove",".announcement-blue-bg"); vwo_debug*/(el=vwo_$(".announcement-blue-bg")).vwoCss({display:"none !important"});})(".announcement-blue-bg")}}, C_722219_998_1_2_0:{ fn:function(){return (function(x) { try{
var _vwo_sel = vwo_$("");
!vwo_$("head").find("#1736837447668").length && vwo_$('head').append(_vwo_sel);
// Start variation JS
void (function loadVariation(timeInFuture) {
// Main Test object
const test = {
// Some test specific global letiables
id: "EXP-1-Home",
// Test init
init: function () {
// Add a test specific classname to the body element
document.body.classList.add(test.id);
// Below function calls order is important
test.mainJS();
},
// Main JS
mainJS: function () {
const cookieName = "quotationData";
const dataPopulationCookieName = "data-population-cookie";
// Function to get cookie
function getCookie(cname) {
const name = cname + "=";
const decodedCookie = decodeURIComponent(document.cookie);
const cookies = decodedCookie.split(';');
for (const cookie of cookies) {
const c = cookie.trim();
if (c.indexOf(name) === 0) {
return c.substring(name.length);
}
}
return "";
}
// Utility function to Function to set cookie
function setCookie(cname, cvalue, exmin) {
const d = new Date();
d.setTime(d.getTime() + (exmin * 60 * 1000));
const expires = `expires=${d.toUTCString()}`;
document.cookie = `${cname}=${cvalue}; ${expires}; path=/; domain=.greateasternlife.com`;
};
// function to trigger GA events
function gaEventTrigger(eventAction, eventLabel, eventSubCategory = '', eventJourneyCTA = '') {
dataLayer.push({
event: "vwoEvent",
eventDetails: {
category: "[vwo] floating banner - ab test - expose",
action: eventAction,
label: eventLabel
},
...(eventSubCategory ? { contentSubcategory: eventSubCategory } : {}),
...(eventJourneyCTA ? { journeyCta: eventJourneyCTA } : {})
});
};
const existingCookie = getCookie(cookieName);
const productData = existingCookie ? JSON.parse(existingCookie) : {};
const productLinks = {
'GREAT Protector Active': 'https://buy-uat-greateasternlife.adobecqms.net/sg/en/personal-accident-insurance/200201/get-quotation.html'
}
let productName = productData?.productJourney;
let productRedirect = productLinks[productData?.productJourney];
const crossIcon = `
Group 22 Copy 12 `;
const createBanner = (productName) => (`
${crossIcon}
Ready to complete your purchase for ${productName}?
Secure your coverage now
`);
// Retrieve banner view count from localStorage or default to 0
let bannerViewCount = parseInt(localStorage.getItem('bannerViewCount') || '0', 10);
// Check session storage for the 'viewInSession' flag, defaulting to 'show'
const viewInSession = sessionStorage.getItem('viewInSession') || 'show';
// Update session storage if not already set
if (viewInSession === 'show') {
sessionStorage.setItem('viewInSession', 'show');
// Increment and update banner view count in localStorage
bannerViewCount += 1;
localStorage.setItem('bannerViewCount', bannerViewCount);
}
if (
productData &&
productData.productJourney &&
location.pathname === '/sg/en/personal-insurance.html' &&
!document.querySelector('.product-purchase-banner-section') &&
bannerViewCount <= 2 &&
viewInSession !== 'dont show'
) {
// insert the banner
document.querySelector('main .cmp-container > .aem-Grid').insertAdjacentHTML('beforeend', createBanner(productName));
// trigger impression event
let eventLabel = (`[vwo_ce_rtg] resume orion journey floating banner - ${productName}`).toLowerCase();
let eventSubCategory = productName.toLowerCase();
gaEventTrigger('impression', eventLabel, eventSubCategory);
// set banner view count to session & local storage
sessionStorage.setItem('viewInSession', 'seen');
// function for click events
function clickHander(event) {
const { target } = event;
//console.log('target: ', target);
if (target.closest('.banner-icon-section svg')) {
document.querySelector('.product-purchase-banner-section').classList.add('hide-banner');
sessionStorage.setItem('viewInSession', 'dont show');
// trigger click event to Close CTA
let eventLabel = (`[vwo_ce_rtg] resume orion journey floating banner - ${productName}`).toLowerCase();
let eventSubCategory = productName.toLowerCase();
gaEventTrigger('close', eventLabel, eventSubCategory);
}
if (target.closest('.banner-button.new-button') && productRedirect) {
// trigger click event to CTA
let eventLabel = (`[vwo_ce_rtg] resume orion journey floating banner - ${productName} - Resume my purchase`).toLowerCase();
let eventSubCategory = productName.toLowerCase();
let eventJourneyCTA = ("vworf-" + productName).toLowerCase();
gaEventTrigger('click', eventLabel, eventSubCategory, eventJourneyCTA);
setCookie(dataPopulationCookieName, "true", 15);
window.location.href = productRedirect;
}
}
// Add event listener on click event.
document.body.addEventListener('click', clickHander);
}
},
};
// Return if the test ran already!
if (document.querySelector(`.${test.id}`)) return;
// Polling conditions
if (document.querySelector('main .cmp-container > .aem-Grid')) {
try {
// Activate test
test.init();
// Success log
console.log('Vertis Digital: Home: EXP-1: V: 1:11');
} catch (error) {
// Error log
console.log(`Initialization Error:`, error);
}
} else {
Date.now() < timeInFuture
? setTimeout(loadVariation.bind({}, timeInFuture), 25)
: console.log("loadVariation timed out!");
}
})(Date.now() + 60000);
// End variation JS
return vwo_$('head')[0] && vwo_$('head')[0].lastChild; } catch(e) {} })("HEAD")}}, R_722219_998_1_2_0:{ fn:function(){return (function(x) { try{
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1736837447632"]')).remove();
var ctx=vwo_$(x),el;
/*vwo_debug log("Revert","content",""); vwo_debug*/;
el=vwo_$('[vwo-element-id="1736837447668"]');
el.revertContentOp().remove();
return vwo_$('head')[0] && vwo_$('head')[0].lastChild; } catch(e) {} })("HEAD")}}, C_722219_998_1_3_0:{ fn:function(){return (function(x) { try{
// Start variation JS
void (function loadVariation(timeInFuture) {
// Main Test object
const test = {
// Some test specific global letiables
id: "EXP-1-control",
// Test init
init: function () {
// Add a test specific classname to the body element
document.body.classList.add(test.id);
// Below function calls order is important
test.mainJS();
},
// Main JS
mainJS: function () {
const cookieName = "quotationData";
// Function to get cookie
function getCookie(cname) {
const name = cname + "=";
const decodedCookie = decodeURIComponent(document.cookie);
const cookies = decodedCookie.split(';');
for (const cookie of cookies) {
const c = cookie.trim();
if (c.indexOf(name) === 0) {
return c.substring(name.length);
}
}
return "";
}
// function to trigger GA events
function gaEventTrigger(eventAction, eventLabel, eventSubCategory = '', eventJourneyCTA = '') {
dataLayer.push({
event: "vwoEvent",
eventDetails: {
category: "[vwo] floating banner - ab test - control",
action: eventAction,
label: eventLabel
},
...(eventSubCategory ? { contentSubcategory: eventSubCategory } : {}),
...(eventJourneyCTA ? { journeyCta: eventJourneyCTA } : {})
});
};
const existingCookie = getCookie(cookieName);
const productData = existingCookie ? JSON.parse(existingCookie) : {};
let productName = productData?.productJourney;
// Retrieve banner view count from localStorage or default to 0
let bannerViewCount = parseInt(localStorage.getItem('bannerViewCount') || '0', 10);
// Check session storage for the 'viewInSession' flag, defaulting to 'show'
const viewInSession = sessionStorage.getItem('viewInSession') || 'show';
// Update session storage if not already set
if (viewInSession === 'show') {
sessionStorage.setItem('viewInSession', 'show');
// Increment and update banner view count in localStorage
bannerViewCount += 1;
localStorage.setItem('bannerViewCount', bannerViewCount);
}
if (
productData &&
productData.productJourney &&
location.pathname === '/sg/en/personal-insurance.html' &&
bannerViewCount <= 2 &&
viewInSession !== 'dont show'
) {
// trigger impression event
let eventLabel = (`[vwo_ce_rtg] resume orion journey floating banner - ${productName}`).toLowerCase();
let eventSubCategory = productName.toLowerCase();
gaEventTrigger('impression', eventLabel, eventSubCategory);
// set banner view count to session & local storage
sessionStorage.setItem('viewInSession', 'seen');
}
},
};
// Return if the test ran already!
if (document.querySelector(`.${test.id}`)) return;
// Polling conditions
if (document.readyState === 'complete') {
try {
// Activate test
test.init();
// Success log
console.log('Vertis Digital: Control: EXP-1: V: 1:01');
} catch (error) {
// Error log
console.log(`Initialization Error:`, error);
}
} else {
Date.now() < timeInFuture
? setTimeout(loadVariation.bind({}, timeInFuture), 25)
: console.log("loadVariation timed out!");
}
})(Date.now() + 60000);
// End variation JS
return vwo_$('head')[0] && vwo_$('head')[0].lastChild; } catch(e) {} })("HEAD")}}, ct998_7968865b609e3fc27b943d00b3dd1b98:{ fn:function(executeTrigger, vwo_$) {
(function () {
if (location.pathname !== '/sg/en/personal-insurance.html') return false;
const cookieName = "quotationData";
const productsPurchasedCookieName = "personalization_products_purchased";
// Function to get cookie
function getCookie(cname) {
const name = cname + "=";
const decodedCookie = decodeURIComponent(document.cookie);
const cookies = decodedCookie.split(';');
for (const cookie of cookies) {
const c = cookie.trim();
if (c.indexOf(name) === 0) {
return c.substring(name.length);
}
}
return "";
}
const existingCookie = getCookie(cookieName);
const productsPurchasedStr = getCookie(productsPurchasedCookieName);
const productData = existingCookie ? JSON.parse(existingCookie) : {};
const productPurchaseData = productsPurchasedStr ? JSON.parse(productsPurchasedStr) : [];
const productsViewedCTAArr = [
{ "name": "GREAT Protector Active" }
];
// Check if any product from productsViewedCTAArr is in productPurchaseData
const hasMatchingProduct = productsViewedCTAArr.some(viewedProduct =>
productPurchaseData.some(purchasedProduct => purchasedProduct.name === viewedProduct.name)
);
let bannerCount = localStorage.getItem('bannerViewCount');
if (
!hasMatchingProduct &&
productData &&
productData.productJourney &&
(bannerCount === null || (bannerCount && parseInt(bannerCount, 10) < 3))
) {
//alert('activate');
executeTrigger();
}
})()
}}, C_722219_657_1_2_4:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove","#search-sb-key"); vwo_debug*/(el=vwo_$("#search-sb-key")).vwoCss({display:"none !important"});})("#search-sb-key")}}, C_722219_657_1_2_3:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove","#filter-search"); vwo_debug*/(el=vwo_$("#filter-search")).vwoCss({display:"none !important"});})("#filter-search")}}, C_722219_657_1_2_2:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("content",".modal-footer"); vwo_debug*/el=vwo_$(".modal-footer"),vwo_$(".modal-footer").each((function(){vwo_$(this).vwoAttr("class","modal-footer leo-text-right "),vwo_$(this).children().eq(1).vwoAttr("class","leo-button leo-button--secondary modal-save product-save-btn-active "),vwo_$(this).children().eq(1).nonEmptyContents().eq(0).replaceWith(document.createTextNode("Apply")),vwo_$(this).children().eq(1).children().eq(0).vwoAttr("class","rippleJS focus-visible "),vwo_$(this).children().eq(1).children().eq(0).vwoAttr("data-focus-visible-added","")})),el=vwo_$(".modal-footer");})(".modal-footer")}}, C_722219_657_1_2_1:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("content",".redactor-editor"); vwo_debug*/(el=vwo_$(".redactor-editor")).replaceWith('
'),el=vwo_$(".redactor-editor");})(".redactor-editor")}}, C_722219_997_1_2_0:{ fn:function(){return (function(x) { try{
// Start variation JS
void (function loadVariation(timeInFuture) {
// Main Test object
const test = {
// Some test specific global letiables
id: "EXP-1",
// Test init
init: function () {
// Add a test specific classname to the body element
document.body.classList.add(test.id);
// Below function calls order is important
test.mainJS();
},
// Main JS
mainJS: function () {
const cookieName = "quotationData"; // cookie name
const cookieExpiryDays = 90;
const dataPopulationCookieName = "data-population-cookie";
/// *** Utility functions *** ///
// Utility function to get selected index
const getSelectedIndex = (selector, selectedClass = '-selected') => {
return [...document.querySelectorAll(selector)].findIndex(item => item.classList.contains(selectedClass));
}
// Utility function to get payment index
const getPaymentIndex = (selector, selectedClass = '-selected') => {
return [...document.querySelectorAll(selector)].findIndex(item => item.parentElement.classList.contains(selectedClass));
}
// Utility function to select an option by text content
function selectOptionByText(selector, textContent) {
document.querySelectorAll(selector).forEach(item => {
if (item.textContent.trim() === textContent) {
item.click();
}
});
}
// Utility function to set input value and dispatch event
function setInputValue(selector, value) {
const inputElement = document.querySelector(selector);
if (inputElement) {
inputElement.value = value;
inputElement.dispatchEvent(new Event('input'));
}
}
// Utility function to click a radio button by index
function clickRadioButtonByIndex(selector, index) {
const buttons = document.querySelectorAll(selector);
if (buttons[index]) {
buttons[index].click();
}
}
// function clickRadioButtonForGCS(selector, index) {
// const buttons = document.querySelectorAll(selector);
// if (buttons[index]) {
// buttons[index].parentElement.click();
// }
// }
// Utility function to click an input element by ID
function clickInputById(id) {
const inputElement = document.querySelector(`#${id}`);
if (inputElement) {
inputElement.click();
}
}
// Utility function to Function to set cookie
function setCookie(cname, cvalue, exdays) {
const d = new Date();
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
const expires = `expires=${d.toUTCString()}`;
document.cookie = `${cname}=${cvalue}; ${expires}; path=/; domain=.adobecqms.net`;
};
// Utility function to Function to get cookie
function getCookie(cname) {
const name = cname + "=";
const decodedCookie = decodeURIComponent(document.cookie);
const ca = decodedCookie.split(';');
for (var i = 0; i < ca.length; i++) {
let c = ca[i].trim();
if (c.indexOf(name) === 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
// // Utility function to delete cookie
// function deleteCookie(name) {
// document.cookie = `${name}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=.greateasternlife.com`;
// }
/// *** Utility functions *** ///
// function to set or update quotation cookie
const setOrUpdateQuoteDataInCookie = (quotationData) => {
if (!quotationData || typeof quotationData !== 'object') return;
const saveCookie = (data) => {
setCookie(cookieName, JSON.stringify(data), cookieExpiryDays);
};
const existingCookie = getCookie(cookieName);
if (!existingCookie) {
saveCookie(quotationData);
//console.log("Quotation data saved as a new cookie.");
return;
}
let existingData;
try {
existingData = JSON.parse(existingCookie);
} catch (error) {
//console.error("Failed to parse existing cookie:", error);
saveCookie(quotationData);
return;
}
if (existingData.productJourney === quotationData.productJourney) {
// Same product journey, update values
const updatedData = { ...existingData, ...quotationData };
saveCookie(updatedData);
//console.log("Updated existing quotation data.");
} else {
saveCookie(quotationData);
//console.log("Replaced quotation data with a new product journey.");
}
};
// function to set Great Protector Active quote data
function getQuoteDataGPA() {
if (window.location.pathname !== '/sg/en/personal-accident-insurance/200201/get-quotation.html') return;
let productJourney = 'GREAT Protector Active';
let insuredFor = document.querySelector('label[for="insured"] +.multiselect .multiselect-single-label')?.textContent;
let idSelector = document.querySelectorAll('label[for="thirdPartyIdType"] +.multiselect .multiselect-single-label , label[for="idType"] +.multiselect .multiselect-single-label')[0];
let idType = idSelector?.textContent;
let birthDate = document.querySelector('input#birthdayInput')?.value;
let planOptionsIndex = getSelectedIndex('.plan-options .cmp-radio');
let addOnSelection = document.querySelectorAll('.checkbox-custom .cmp-checkbox-custom.-selected').length > 0;
let paymentCycle = getPaymentIndex('#paymentFrequency-Monthly , #paymentFrequency-Annual');
// Initializing an empty object
let quotationData = {};
// Adding properties only if the values are available
if (productJourney) quotationData.productJourney = productJourney;
if (insuredFor) quotationData.insuredFor = insuredFor;
if (idType) quotationData.idType = idType;
if (birthDate) quotationData.birthDate = birthDate;
if (planOptionsIndex !== -1) quotationData.planOptionsIndex = planOptionsIndex;
if (paymentCycle !== -1 && document.querySelectorAll('.checkbox-custom .cmp-checkbox-custom.-selected').length > -1) {
//alert('check 01')
quotationData.addOnSelection = addOnSelection
}
if (paymentCycle !== -1) quotationData.paymentCycle = paymentCycle;
// Store or update quotation data in cookie
if (insuredFor && idType && birthDate) setOrUpdateQuoteDataInCookie(quotationData);
}
// get value of data population cookie to populate data
let dataPopulationCookieValue = getCookie(dataPopulationCookieName);
// set session storage based on cookie value
// if (dataPopulationCookieValue) {
// sessionStorage.setItem("data-population", "true");
// deleteCookie("data-population-cookie");
// }
// Main function to handle form data population based on the pathname
function handleDataPopulation(productData, loadAgain = false) {
const pathname = window.location.pathname;
const { productJourney } = productData;
// Actions for Great Protector Active
if (pathname === '/sg/en/personal-accident-insurance/200201/get-quotation.html' && productJourney === 'GREAT Protector Active') {
if (productData.insuredFor && loadAgain) {
selectOptionByText('label[for="insured"] + .multiselect .multiselect-option', productData.insuredFor);
}
setTimeout(function () {
if (productData.idType && loadAgain) {
selectOptionByText('label[for="thirdPartyIdType"] + .multiselect .multiselect-option , label[for="idType"] + .multiselect .multiselect-option', productData.idType);
}
if (productData.birthDate && loadAgain) {
setInputValue("#birthdayInput", productData.birthDate);
}
}, 500)
setTimeout(function () {
if (productData.planOptionsIndex > -1) {
clickRadioButtonByIndex('.plan-options .cmp-radio input', productData.planOptionsIndex);
setTimeout(function () {
let targetContent = document.querySelectorAll('.plan-options .cmp-radio input + label .radio-select-label-selected')[0];
if (targetContent) {
targetContent.textContent = 'Pre-selected';
}
}, 1000)
}
if (productData.addOnSelection) {
setTimeout(function () {
clickInputById('selectedExtraPlan-undefined');
if (productData.paymentCycle > -1) {
setTimeout(function () {
if (document.querySelector('label[for="paymentFrequency-Annual"] .cmp-text.font-normal span').textContent.length > 3) {
clickRadioButtonByIndex('#paymentFrequency-Monthly , #paymentFrequency-Annual', productData.paymentCycle);
}
}, 1500);
}
}, 500)
} else {
if (productData.paymentCycle > -1) {
setTimeout(function () {
if (document.querySelector('label[for="paymentFrequency-Annual"] .cmp-text.font-normal span').textContent.length > 3) {
clickRadioButtonByIndex('#paymentFrequency-Monthly , #paymentFrequency-Annual', productData.paymentCycle);
}
}, 1500);
}
}
}, 2000)
}
}
function loadData() {
if (dataPopulationCookieValue !== 'true') return;
(function pollForFormload() {
if (
document.querySelector('input[name="agentMobileNumber"]') &&
document.querySelectorAll('#paymentFrequency-Annual , #packageItem-W05I1-annual').length > 0
) {
const existingCookie = getCookie(cookieName);
const productData = existingCookie ? JSON.parse(existingCookie) : {};
// Handle form filling based on the current page
handleDataPopulation(productData);
} else {
setTimeout(pollForFormload, 25);
}
})();
}
// function to handle click events
function eventHandler(event) {
const { target } = event;
//console.log('target:', target);
if (
window.location.pathname === '/sg/en/personal-accident-insurance/200201/get-quotation.html' &&
target.closest('.cmp-button a') &&
(
target.textContent.includes('View benefits') ||
target.closest('.cmp-button a[href*="https://buy-uat-greateasternlife.adobecqms.net/sg/en/personal-accident-insurance/200201/quick-check.html"]'))
) {
if (target.textContent.includes('View benefits')) loadData();
getQuoteDataGPA();
//alert('working GPA');
}
}
// Initialize product data from cookie
const existingCookie = getCookie(cookieName);
const productData = existingCookie ? JSON.parse(existingCookie) : {};
// Handle form data population based on the current page
if (dataPopulationCookieValue === 'true') {
handleDataPopulation(productData, true);
}
document.body.addEventListener('click', eventHandler);
},
};
// Return if the test ran already!
if (document.querySelector(`.${test.id}`)) return;
// Polling conditions
if (document.readyState === "complete") {
try {
// Activate test
test.init();
// Success log
//console.log('Vertis Digital: EXP-1: V: 1:12');
} catch (error) {
// Error log
console.log(`Initialization Error:`, error);
}
} else {
Date.now() < timeInFuture
? setTimeout(loadVariation.bind({}, timeInFuture), 25)
: console.log("loadVariation timed out!");
}
})(Date.now() + 60000);
// End variation JS
return vwo_$('head')[0] && vwo_$('head')[0].lastChild; } catch(e) {} })("HEAD")}}, ct997_11fd5df3bdf6d6f8b7b1bbf21173a0ed:{ fn:function(executeTrigger, vwo_$) {
(function () {
if (location.pathname !== '/sg/en/personal-accident-insurance/200201/get-quotation.html') return;
const productsPurchasedCookieName = "personalization_products_purchased";
const quotationDataCookieName = "quotationData";
const dataPopulationCookieName = "data-population-cookie";
// Function to get cookie
function getCookie(cname) {
const name = cname + "=";
const decodedCookie = decodeURIComponent(document.cookie);
const cookies = decodedCookie.split(';');
for (const cookie of cookies) {
const c = cookie.trim();
if (c.indexOf(name) === 0) {
return c.substring(name.length);
}
}
return "";
}
const productsPurchasedStr = getCookie(productsPurchasedCookieName);
const productPurchaseData = productsPurchasedStr ? JSON.parse(productsPurchasedStr) : [];
//const quotationDataCookieValue = getCookie(quotationDataCookieName);
//const dataPopulationCookieValue = getCookie(dataPopulationCookieName);
const productsViewedCTAArr = [
{ "name": "GREAT Protector Active" }
];
// Check if any product from productsViewedCTAArr is in productPurchaseData
const hasMatchingProduct = productsViewedCTAArr.some(viewedProduct =>
productPurchaseData.some(purchasedProduct => purchasedProduct.name === viewedProduct.name)
);
// console.log('hasMatchingProduct:', hasMatchingProduct);
// console.log('quotationDataCookieValue:', quotationDataCookieValue);
// console.log('dataPopulationCookieValue:', dataPopulationCookieValue);
// Activation conditions
// const shouldActivate = (
// (!hasMatchingProduct && quotationDataCookieValue === '') ||
// (!hasMatchingProduct && quotationDataCookieValue && dataPopulationCookieValue === 'true')
// )
if (!hasMatchingProduct) {
//alert('activate');
executeTrigger();
}
})()
}}, C_722219_657_1_2_0:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove visibility",".leo-py-xs"); vwo_debug*/(el=vwo_$(".leo-py-xs")).vwoCss({visibility:"hidden !important",display:"none !important"});})(".leo-py-xs")}}, C_722219_889_1_2_3:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove",".m-0 > div:nth-of-type(1) > div:nth-of-type(4)"); vwo_debug*/(el=ctx).vwoCss({display:"none !important"});})(".m-0 > div:nth-of-type(1) > div:nth-of-type(4)")}}, C_722219_763_1_2_0:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove",".cmp-marquee-promotion"); vwo_debug*/(el=vwo_$(".cmp-marquee-promotion")).vwoCss({display:"none !important"});})(".cmp-marquee-promotion")}}, C_722219_816_1_2_0:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove",".cmp-marquee-promotion"); vwo_debug*/(el=vwo_$(".cmp-marquee-promotion")).vwoCss({display:"none !important"});})(".cmp-marquee-promotion")}}, C_722219_816_1_2_1:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove",".header"); vwo_debug*/(el=vwo_$(".header")).vwoCss({display:"none !important"});})(".header")}}, C_722219_816_1_2_2:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove",".footer"); vwo_debug*/(el=vwo_$(".footer")).vwoCss({display:"none !important"});})(".footer")}}, C_722219_816_1_2_3:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove",".root > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(24) > div:nth-of-type(1)"); vwo_debug*/(el=vwo_$(".root > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(24) > div:nth-of-type(1)")).vwoCss({display:"none !important"});})(".root > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(24) > div:nth-of-type(1)")}}, C_722219_816_1_2_4:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("remove","#RCBFORM > div:nth-of-type(1) > div:nth-of-type(1)"); vwo_debug*/(el=vwo_$("#RCBFORM > div:nth-of-type(1) > div:nth-of-type(1)")).vwoCss({display:"none !important"});})("#RCBFORM > div:nth-of-type(1) > div:nth-of-type(1)")}}, C_722219_963_1_2_3:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909027').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_117ea7d82ad4208c01b4c082cbb1dcbe")){var currentURL=window.location.href.split("?").pop(),clickURL="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200202/get-quotation.html?template=post&campCode=C8DISC";$("#gjpbuynow").on("click",(function(){window.location.href=clickURL+"&"+currentURL}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_4:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909028').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_529d06731882814587edcdb7fcb47719")){var currentURL=window.location.href.split("?").pop(),clickURL="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200203/get-quotation.html?template=post&campCode=C8DISC";$("#ggpbuynow").on("click",(function(){window.location.href=clickURL+"&"+currentURL}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_5:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909029').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1")){var currentURL=window.location.href.split("?").pop(),clickURL="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200204/get-quotation.html?template=post&campCode=C8DISC";$("#eppbuynow").on("click",(function(){window.location.href=clickURL+"&"+currentURL}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_6:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909030').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_b4e3c967173ff0c7334aa142c9f54d98")){var currentURL1=window.location.href.split("?").pop(),clickURL1="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200201/get-quotation.html?template=post&campCode=C8DISC";$("#gpabuynow").on("click",(function(){window.location.href=clickURL1+"&"+currentURL1}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_7:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909030').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_b4e3c967173ff0c7334aa142c9f54d98")){var currentURL2=window.location.href.split("?").pop(),clickURL2="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200202/get-quotation.html?template=post&campCode=C8DISC";$("#gjpbuynow").on("click",(function(){window.location.href=clickURL2+"&"+currentURL2}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_8:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909031').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_b4e3c967173ff0c7334aa142c9f54d98")){var currentURL3=window.location.href.split("?").pop(),clickURL3="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200203/get-quotation.html?template=post&campCode=C8DISC";$("#ggpbuynow").on("click",(function(){window.location.href=clickURL3+"&"+currentURL3}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_9:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909032').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_b4e3c967173ff0c7334aa142c9f54d98")){var currentURL4=window.location.href.split("?").pop(),clickURL4="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200204/get-quotation.html?template=post&campCode=C8DISC";$("#eppbuynow").on("click",(function(){window.location.href=clickURL4+"&"+currentURL4}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_19:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909044').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_db54451655d6fbb590be3ae44920e36f")){var currentURL1=window.location.href.split("?").pop(),clickURL1="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200201/get-quotation.html?template=post&campCode=C8DISC";$("#gpabuynow").on("click",(function(){window.location.href=clickURL1+"&"+currentURL1}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_20:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909045').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_db54451655d6fbb590be3ae44920e36f")){var currentURL2=window.location.href.split("?").pop(),clickURL2="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200202/get-quotation.html?template=post&campCode=C8DISC";$("#gjpbuynow").on("click",(function(){window.location.href=clickURL2+"&"+currentURL2}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_21:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909046').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_db54451655d6fbb590be3ae44920e36f")){var currentURL3=window.location.href.split("?").pop(),clickURL3="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200203/get-quotation.html?template=post&campCode=C8DISC";$("#ggpbuynow").on("click",(function(){window.location.href=clickURL3+"&"+currentURL3}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_22:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1731642909048').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)}
try{}catch(e) {console.error(e)}
try{if(document.documentElement.classList.contains("vwo_p_s_db54451655d6fbb590be3ae44920e36f")){var currentURL4=window.location.href.split("?").pop(),clickURL4="https://buy.greateasternlife.com/sg/en/personal-accident-insurance/200204/get-quotation.html?template=post&campCode=C8DISC";$("#eppbuynow").on("click",(function(){window.location.href=clickURL4+"&"+currentURL4}))}}catch(e) {console.error(e)}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_722219_963_1_2_23:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("content","html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)"); vwo_debug*/(el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)")).replaceWith2('
Buy now '),el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)"),(el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)")).vwoAttr({href:"#",id:"eppbuynow"});})("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)")}}, R_722219_963_1_2_23:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","editElement","html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)"); vwo_debug*/(el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)")).vwoRevertAttr(),(el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)")).revertContentOp(),el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)");})("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .cta-bottom > a:nth-of-type(1)")}}, C_722219_963_1_2_24:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("content","html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)"); vwo_debug*/(el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)")).replaceWith2('
Buy now '),el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)"),(el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)")).vwoAttr({id:"eppbuynow2"});})("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)")}}, R_722219_963_1_2_24:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","editElement","html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)"); vwo_debug*/(el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)")).vwoRevertAttr(),(el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)")).revertContentOp(),el=vwo_$("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)");})("html.vwo_p_s_baf0439c6ee7eeb30695dbb63777c8a1 .sticky-nav-cta > a:nth-of-type(1)")}}, C_722219_963_1_2_25:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("content","html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)"); vwo_debug*/(el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)")).replaceWith2('
Buy now '),el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)"),(el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)")).vwoAttr({href:"#",id:"ggpbuynow",target:""});})("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)")}}, R_722219_963_1_2_25:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","editElement","html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)"); vwo_debug*/(el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)")).vwoRevertAttr(),(el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)")).revertContentOp(),el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)");})("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cta-bottom > a:nth-of-type(1)")}}, C_722219_963_1_2_26:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("content","html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)"); vwo_debug*/(el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)")).replaceWith2('
Buy now '),el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)"),(el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)")).vwoAttr({id:"ggpbuynow2"});})("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)")}}, R_722219_963_1_2_26:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","editElement","html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)"); vwo_debug*/(el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)")).vwoRevertAttr(),(el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)")).revertContentOp(),el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)");})("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .sticky-nav-cta > a:nth-of-type(1)")}}, C_722219_963_1_2_27:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("content","html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cmp-image__link"); vwo_debug*/(el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cmp-image__link")).replaceWith2('
'),el=vwo_$("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cmp-image__link");})("html.vwo_p_s_529d06731882814587edcdb7fcb47719 .cmp-image__link")}}},rules:[{"triggers":["10841803"],"tags":[{"data":{"campaigns":[{"g":1,"c":1005}],"type":"m"},"id":"metric","metricId":1202800}]},{"triggers":["11534302"],"tags":[{"data":{"campaigns":[{"g":2,"c":1005}],"type":"m"},"id":"metric","metricId":1263802}]},{"triggers":["11534305"],"tags":[{"data":{"campaigns":[{"g":3,"c":1005}],"type":"m"},"id":"metric","metricId":1263805}]},{"triggers":["9850753"],"tags":[{"data":"campaigns.759","id":"runCampaign","priority":4}]},{"triggers":["3487732"],"tags":[{"data":"campaigns.653","id":"runCampaign","priority":4}]},{"triggers":["5291080","11537446"],"tags":[{"data":"campaigns.1028","id":"runCampaign","priority":4}]},{"triggers":["3487735"],"tags":[{"data":{"campaigns":[{"g":3,"c":653}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["2695525"],"tags":[{"data":"campaigns.2","id":"runCampaign","priority":4}]},{"triggers":["3546154","3546157"],"tags":[{"data":"campaigns.657","id":"runCampaign","priority":4}]},{"triggers":["11561407"],"tags":[{"data":{"campaigns":[{"g":1,"c":1028}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["11561410"],"tags":[{"data":{"campaigns":[{"g":4,"c":1028}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["11561413"],"tags":[{"data":{"campaigns":[{"g":6,"c":1028}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["11561416"],"tags":[{"data":{"campaigns":[{"g":8,"c":1028}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["10304266","10304269","10304272"],"tags":[{"data":"campaigns.965","id":"runCampaign","priority":4}]},{"triggers":["8857305","8857308","8857311"],"tags":[{"data":"campaigns.816","id":"runCampaign","priority":4}]},{"triggers":["10320859"],"tags":[{"data":"campaigns.998","id":"runCampaign","priority":4}]},{"triggers":["11308072"],"tags":[{"data":"campaigns.1029","id":"runCampaign","priority":4}]},{"triggers":["10244176"],"tags":[{"data":"campaigns.985","id":"runCampaign","priority":4}]},{"triggers":["9268389","9268392","9268395"],"tags":[{"data":"campaigns.889","id":"runCampaign","priority":4}]},{"triggers":["8890476","8890479","8890482"],"tags":[{"data":"campaigns.763","id":"runCampaign","priority":4}]},{"triggers":["10770097","10770100"],"tags":[{"data":"campaigns.1021","id":"runCampaign","priority":4}]},{"triggers":["10577338"],"tags":[{"data":{"campaigns":[{"g":4,"c":998}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["4496838"],"tags":[{"data":{"campaigns":[{"g":1,"c":1029}],"type":"m"},"id":"metric","metricId":466124},{"data":{"campaigns":[{"g":1,"c":1021}],"type":"m"},"id":"metric","metricId":466124},{"data":{"campaigns":[{"g":1,"c":759}],"type":"m"},"id":"metric","metricId":466124},{"data":{"campaigns":[{"g":1,"c":736}],"type":"m"},"id":"metric","metricId":466124},{"data":{"campaigns":[{"g":12,"c":980}],"type":"m"},"id":"metric","metricId":466124},{"data":{"campaigns":[{"g":3,"c":998}],"type":"m"},"id":"metric","metricId":466124}]},{"triggers":["11561401"],"tags":[{"data":{"campaigns":[{"g":4,"c":1027}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["11537467"],"tags":[{"data":{"campaigns":[{"g":5,"c":1027}],"type":"m"},"id":"metric","metricId":1242532}]},{"triggers":["2695522"],"tags":[{"data":"campaigns.1","id":"runCampaign","priority":4}]},{"triggers":["3546160"],"tags":[{"data":{"campaigns":[{"g":1,"c":965}],"type":"m"},"id":"metric","metricId":423424},{"data":{"campaigns":[{"g":1,"c":889}],"type":"m"},"id":"metric","metricId":423424},{"data":{"campaigns":[{"g":1,"c":657}],"type":"m"},"id":"metric","metricId":423424},{"data":{"campaigns":[{"g":1,"c":819}],"type":"m"},"id":"metric","metricId":423424},{"data":{"campaigns":[{"g":1,"c":997}],"type":"m"},"id":"metric","metricId":423424},{"data":{"campaigns":[{"g":1,"c":763}],"type":"m"},"id":"metric","metricId":423424},{"data":{"campaigns":[{"g":1,"c":816}],"type":"m"},"id":"metric","metricId":423424},{"data":{"campaigns":[{"g":1,"c":963}],"type":"m"},"id":"metric","metricId":423424},{"data":{"campaigns":[{"g":4,"c":985}],"type":"m"},"id":"metric","metricId":423424}]},{"triggers":["9522690","9522693","9522696"],"tags":[{"data":"campaigns.963","id":"runCampaign","priority":4}]},{"triggers":["10583434"],"tags":[{"data":{"campaigns":[{"g":14,"c":980}],"type":"m"},"id":"metric","metricId":1184620}]},{"triggers":["10635910"],"tags":[{"data":{"campaigns":[{"g":15,"c":980}],"type":"m"},"id":"metric","metricId":1188703}]},{"triggers":["9125625"],"tags":[{"data":{"campaigns":[{"g":16,"c":980}],"type":"m"},"id":"metric","metricId":1032369}]},{"triggers":["9125532"],"tags":[{"data":{"campaigns":[{"g":17,"c":980}],"type":"m"},"id":"metric","metricId":1032258}]},{"triggers":["10641040"],"tags":[{"data":{"campaigns":[{"g":18,"c":980}],"type":"m"},"id":"metric","metricId":1189237}]},{"triggers":["5291080"],"tags":[{"data":"campaigns.1005","id":"runCampaign","priority":4},{"data":"campaigns.736","id":"runCampaign","priority":4},{"data":"campaigns.980","id":"runCampaign","priority":4},{"data":"campaigns.1027","id":"runCampaign","priority":4}]},{"triggers":["10577314"],"tags":[{"data":"campaigns.997","id":"runCampaign","priority":4}]},{"triggers":["6644374","6644377","6644380"],"tags":[{"data":"campaigns.819","id":"runCampaign","priority":4}]},{"triggers":["4496841"],"tags":[{"data":{"campaigns":[{"g":2,"c":1029}],"type":"m"},"id":"metric","metricId":466127},{"data":{"campaigns":[{"g":2,"c":1021}],"type":"m"},"id":"metric","metricId":466127},{"data":{"campaigns":[{"g":2,"c":759}],"type":"m"},"id":"metric","metricId":466127},{"data":{"campaigns":[{"g":2,"c":736}],"type":"m"},"id":"metric","metricId":466127},{"data":{"campaigns":[{"g":13,"c":980}],"type":"m"},"id":"metric","metricId":466127},{"data":{"campaigns":[{"g":2,"c":998}],"type":"m"},"id":"metric","metricId":466127}]},{"triggers":["11332921"],"tags":[{"data":{"campaigns":[{"g":3,"c":1029}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["11561398"],"tags":[{"data":{"campaigns":[{"g":1,"c":1027}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["11561404"],"tags":[{"data":{"campaigns":[{"g":6,"c":1027}],"type":"g"},"id":"metric","metricId":0}]},{"triggers":["8"],"tags":[{"id":"prePostMutation","priority":3},{"priority":2,"id":"groupCampaigns"}]},{"triggers":["9"],"tags":[{"id":"visibilityService","priority":2}]},{"triggers":["2"],"tags":[{"id":"runTestCampaign"}]},{"triggers":["75"],"tags":[{"id":"urlChange"}]},{"triggers":["5"],"tags":[{"id":"checkEnvironment"}]}],pages:{"ec":[{"560865":{"inc":["o",["url","urlReg","(?i).*"]]}},{"560865":{"inc":["o",["url","urlReg","(?i).*"]]}},{"560865":{"inc":["o",["url","urlReg","(?i).*"]]}},{"560865":{"inc":["o",["url","urlReg","(?i).*"]]}}]},pagesEval:{"ec":[560865,560865,560865,560865]}}})();
;;var commonWrapper=function(argument){if(!argument){argument={valuesGetter:function(){return{}},valuesSetter:function(){},verifyData:function(){return{}}}}const getVisitorUuid=function(){if(window._vwo_acc_id>=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var pollInterval=100;var timeout=6e4;return function(){var accountIntegrationSettings={};var _interval=null;function waitForAnalyticsVariables(){try{accountIntegrationSettings=argument.valuesGetter();accountIntegrationSettings.visitorUuid=getVisitorUuid()}catch(error){accountIntegrationSettings=undefined}if(accountIntegrationSettings&&argument.verifyData(accountIntegrationSettings)){argument.valuesSetter(accountIntegrationSettings);return 1}return 0}var currentTime=0;_interval=setInterval((function(){currentTime=currentTime||performance.now();var result=waitForAnalyticsVariables();if(result||performance.now()-currentTime>=timeout){clearInterval(_interval)}}),pollInterval)}};
commonWrapper({valuesGetter:function(){return {"ga4s":0}},valuesSetter:function(data){var singleCall=data["ga4s"]||0;if(singleCall){window.sessionStorage.setItem("vwo-ga4-singlecall",true)}var ga4_device_id="";if(typeof window.VWO._.cookies!=="undefined"){ga4_device_id=window.VWO._.cookies.get("_ga")||""}if(ga4_device_id){window.vwo_ga4_uuid=ga4_device_id.split(".").slice(-2).join(".")}},verifyData:function(data){if(typeof window.VWO._.cookies!=="undefined"){return window.VWO._.cookies.get("_ga")||""}else{return false}}})();
var pushBasedCommonWrapper=function(argument){var firedCamp={};if(!argument){argument={integrationName:"",getExperimentList:function(){},accountSettings:function(){},pushData:function(){}}}return function(){window.VWO=window.VWO||[];const getVisitorUuid=function(){if(window._vwo_acc_id>=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var sendDebugLogsOld=function(expId,variationId,errorType,user_type,data){try{var errorPayload={f:argument["integrationName"]||"",a:window._vwo_acc_id,url:window.location.href,exp:expId,v:variationId,vwo_uuid:getVisitorUuid(),user_type:user_type};if(errorType=="initIntegrationCallback"){errorPayload["log_type"]="initIntegrationCallback";errorPayload["data"]=JSON.stringify(data||"")}else if(errorType=="timeout"){errorPayload["timeout"]=true}if(window.VWO._.customError){window.VWO._.customError({msg:"integration debug",url:window.location.href,lineno:"",colno:"",source:JSON.stringify(errorPayload)})}}catch(e){window.VWO._.customError&&window.VWO._.customError({msg:"integration debug failed",url:"",lineno:"",colno:"",source:""})}};var sendDebugLogs=function(expId,variationId,errorType,user_type){var eventName="vwo_debugLogs";var eventPayload={};try{eventPayload={intName:argument["integrationName"]||"",varId:variationId,expId:expId,type:errorType,vwo_uuid:getVisitorUuid(),user_type:user_type};if(window.VWO._.event){window.VWO._.event(eventName,eventPayload,{enableLogs:1})}}catch(e){eventPayload={msg:"integration event log failed",url:window.location.href};window.VWO._.event&&window.VWO._.event(eventName,eventPayload)}};const callbackFn=function(data){if(!data)return;var expId=data[1],variationId=data[2],repeated=data[0],singleCall=0,debug=0;var experimentList=argument.getExperimentList();var integrationName=argument["integrationName"]||"vwo";if(typeof argument.accountSettings==="function"){var accountSettings=argument.accountSettings();if(accountSettings){singleCall=accountSettings["singleCall"];debug=accountSettings["debug"]}}if(debug){sendDebugLogs(expId,variationId,"intCallTriggered",repeated)}if(singleCall&&(repeated==="vS"||repeated==="vSS")||firedCamp[expId]){return}window.expList=window.expList||{};var expList=window.expList[integrationName]=window.expList[integrationName]||[];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(_vwo_exp[expId].type)>-1){if(experimentList.indexOf(+expId)!==-1){firedCamp[expId]=variationId;var visitorUuid=getVisitorUuid();var pollInterval=100;var currentTime=0;var timeout=6e4;var user_type=_vwo_exp[expId].exec?"vwo-retry":"vwo-new";var interval=setInterval((function(){if(expList.indexOf(expId)!==-1){clearInterval(interval);return}currentTime=currentTime||performance.now();var toClearInterval=argument.pushData(expId,variationId,visitorUuid);if(debug&&toClearInterval){sendDebugLogsOld(expId,variationId,"",user_type);sendDebugLogs(expId,variationId,"intDataPushed",user_type)}var isTimeout=performance.now()-currentTime>=timeout;if(isTimeout&&debug){sendDebugLogsOld(expId,variationId,"timeout",user_type);sendDebugLogs(expId,variationId,"intTimeout",user_type)}if(toClearInterval||isTimeout){clearInterval(interval)}if(toClearInterval){window.expList[integrationName].push(expId)}}),pollInterval||100)}}};window.VWO.push(["onVariationApplied",callbackFn]);window.VWO.push(["onVariationShownSent",callbackFn])}};
var surveyDataCommonWrapper=function(argument){if(!argument){argument={getCampaignList:function(){return[]},surveyStatusChange:function(){},answerSubmitted:function(){}}}return function(){window.VWO=window.VWO||[];function getValuesFromAnswers(answers){var values=[];for(var i=0;i
=timeout;if(toClearInterval||isTimeout){clearInterval(interval)}}),pollInterval)}}window.VWO.push(["onSurveyShown",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyShown")}]);window.VWO.push(["onSurveyCompleted",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyCompleted")}]);window.VWO.push(["onSurveyAnswerSubmitted",function(data){commonSurveyCallback(data,argument.answerSubmitted,"surveySubmitted")}])}};
(function(){var VWOOmniTemp={};window.VWOOmni=window.VWOOmni||{};for(var key in VWOOmniTemp)Object.prototype.hasOwnProperty.call(VWOOmniTemp,key)&&(window.VWOOmni[key]=VWOOmniTemp[key]);window._vwoIntegrationsLoaded=1;pushBasedCommonWrapper({integrationName:"GA4",getExperimentList:function(){return [736,759,980,985,1021,997,998,1005,1027,1028,1029]},accountSettings:function(){var accountIntegrationSettings={"manualSetup":false,"setupVia":"","dataVariable":""};if(accountIntegrationSettings["debugType"]=="ga4"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"manualSetup":false,"setupVia":"","dataVariable":""};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtag";if(typeof window.gtag!=="undefined"&&ga4Setup=="gtag"){window.gtag("event","VWO",{vwo_campaign_name:window._vwo_exp[expId].name+":"+expId,vwo_variation_name:window._vwo_exp[expId].comb_n[variationId]+":"+variationId});window.gtag("event","experience_impression",{exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})();pushBasedCommonWrapper({integrationName:"GA4-GTM",getExperimentList:function(){return [736,759,980,985,1021,997,998,1005,1027,1028,1029]},accountSettings:function(){var accountIntegrationSettings={"manualSetup":false,"setupVia":"","dataVariable":""};if(accountIntegrationSettings["debugType"]=="gtm"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"manualSetup":false,"setupVia":"","dataVariable":""};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtm";var dataVariable=accountIntegrationSettings["dataVariable"]||"dataLayer";if(typeof window[dataVariable]!=="undefined"&&ga4Setup=="gtm"){window[dataVariable].push({event:"vwo-data-push-ga4",vwo_exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})();
;})();(function(){window.VWO=window.VWO||[];var pollInterval=100;var _vis_data={};var intervalObj={};var analyticsTimerObj={};var experimentListObj={};window.VWO.push(["onVariationApplied",function(data){if(!data){return}var expId=data[1],variationId=data[2];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(window._vwo_exp[expId].type)>-1){}}])})();;
;var vD=VWO.data||{};VWO.data={content:{"fns":{"list":{"args":{"1":{"6678ed65bfb87":"1733983463","6625f8d396bba":"1719722863","6678ed3f31d18":"1733983463","66875a9973fa4":"1727406621"}},"vn":1}}},as:"r5.visualwebsiteoptimizer.com",dacdnUrl:"https://dev.visualwebsiteoptimizer.com",accountJSInfo:{"mrp":20,"pvn":0,"pc":{"a":100,"t":100},"gC":[{"id":1,"et":2,"c":[909],"wt":{"909":99.999998},"t":1},{"id":5,"et":2,"c":[901,899],"wt":{"899":50,"901":50},"t":1}],"noSS":false,"rp":90,"url":{},"ts":1740253456}};for(var k in vD){VWO.data[k]=vD[k]};;var gcpfb=function(a,loadFunc,status,err,success){function vwoErr() {_vwo_err({message:"Google_Cdn failing for " + a + ". Trying Fallback..",code:"cloudcdnerr",status:status});} if(a.indexOf("/cdn/")!==-1){loadFunc(a.replace("cdn/",""),err,success); vwoErr(); return true;} else if(a.indexOf("/dcdn/")!==-1&&a.indexOf("evad.js") !== -1){loadFunc(a.replace("dcdn/",""),err,success); vwoErr(); return true;}};window.VWO=window.VWO || [];window.VWO._= window.VWO._ || {};window.VWO._.gcpfb=gcpfb;;var d={cookie:document.cookie,URL:document.URL,referrer:document.referrer};var w={VWO:{_:{}},location:{href:window.location.href,search:window.location.search},_vwoCc:window._vwoCc};;window._vwo_cdn="https://dev.visualwebsiteoptimizer.com/cdn/";window._vwo_apm_debug_cdn="https://dev.visualwebsiteoptimizer.com/cdn/";window.VWO._.useCdn=true;window.vwo_eT="br";window._VWO=window._VWO||{};window._VWO.fSeg=["866"];window._VWO.dcdnUrl="/dcdn/settings.js";window.VWO.sTs=1740149319;window._VWO._vis_nc_lib=window._vwo_cdn+"edrv/nc-dca9e8e58ebbedbf4f612cbe1de5de17br.js";var loadWorker=function(url){_vwo_code.load(url,{dSC: true, onloadCb: function(xhr,a){window._vwo_wt_l=true;if(xhr.status===200 ||xhr.status===304){var code="var window="+JSON.stringify(w)+",document="+JSON.stringify(d)+";window.document=document;"+xhr.responseText;var blob=new Blob([code||"throw new Error('code not found!');"],{type:"application/javascript"}),url=URL.createObjectURL(blob);window.mainThread={webWorker:new Worker(url)};window.vwoChannelFW=new MessageChannel();window.vwoChannelToW=new MessageChannel();window.mainThread.webWorker.postMessage({vwoChannelToW:vwoChannelToW.port1,vwoChannelFW:vwoChannelFW.port2},[vwoChannelToW.port1, vwoChannelFW.port2]);if(!window._vwo_mt_f)return window._vwo_wt_f=true;_vwo_code.addScript({text:window._vwo_mt_f});delete window._vwo_mt_f}else{if(gcpfb(a,loadWorker,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a)}}, onerrorCb: function(a){if(gcpfb(a,loadWorker)){return;}window._vwo_wt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadWorker("https://dev.visualwebsiteoptimizer.com/cdn/edrv/worker-98e040cb58fefde2b754a8c3fcc6ba8cbr.js");;var _vis_opt_file;var _vis_opt_lib;if(window.VWO._.allSettings.dataStore.previewExtraSettings!=undefined&&window.VWO._.allSettings.dataStore.previewExtraSettings.isSurveyPreviewMode){var surveyHash=window.VWO._.allSettings.dataStore.plugins.LIBINFO.SURVEY_DEBUG_EVENTS.HASH;var param1="evad.js?va=";var param2="&d=debugger_new";var param3="&sp=1&a=722219&sh="+surveyHash;_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?param1+"vanj"+param2:param1+"va_gq"+param2:param1+"edrv/va_gq-ab1a91b572e7545bf54dabb34d20e2edbr.js"+param2;_vis_opt_file=_vis_opt_file+param3;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/dcdn/"+_vis_opt_file}else if(window.VWO._.allSettings.dataStore.mode!=undefined&&window.VWO._.allSettings.dataStore.mode=="PREVIEW"){ var path1 = 'edrv/pd_'; var path2 = window.VWO._.allSettings.dataStore.plugins.LIBINFO.EVAD.HASH + ".js"; ;_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?path1+"vanj"+path2:path1+"va_gq"+path2:path1+"edrv/va_gq-ab1a91b572e7545bf54dabb34d20e2edbr.js"+path2;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/cdn/"+_vis_opt_file}else{_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?"edrv/vanj-4654aedf44335d951c8f0eab22c8be6fbr.js":"edrv/va_gq-ab1a91b572e7545bf54dabb34d20e2edbr.js":"edrv/va_gq-ab1a91b572e7545bf54dabb34d20e2edbr.js"}window._vwo_library_timer=setTimeout((function(){vwoCode.removeLoaderAndOverlay&&vwoCode.removeLoaderAndOverlay();vwoCode.finish()}),vwoCode.library_tolerance&&typeof vwoCode.library_tolerance()!=="undefined"?vwoCode.library_tolerance():2500),_vis_opt_lib=typeof _vis_opt_lib=="undefined"?window._vwo_cdn+_vis_opt_file:_vis_opt_lib;var loadLib=function(url){_vwo_code.load(url, {dSC: true, onloadCb:function(xhr,a){window._vwo_mt_l=true;if(xhr.status===200 || xhr.status===304){if(!window._vwo_wt_f)return window._vwo_mt_f=xhr.responseText;_vwo_code.addScript({text:xhr.responseText});delete window._vwo_wt_f;}else{if(gcpfb(a,loadLib,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a);}}, onerrorCb: function(a){if(gcpfb(a,loadLib)){return;}window._vwo_mt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadLib(_vis_opt_lib);VWO.load_co=function(u,opts){return window._vwo_code.load(u,opts);};;;}}catch(e){_vwo_code.finish();_vwo_code.removeLoaderAndOverlay&&_vwo_code.removeLoaderAndOverlay();_vwo_err(e);window.VWO.caE=1}})();