(function(){function _vwo_err(e){function gE(e,a){return"https://dev.visualwebsiteoptimizer.com/ee.gif?a=772555&s=j.php&_cu="+encodeURIComponent(window.location.href)+"&e="+encodeURIComponent(e&&e.message&&e.message.substring(0,1e3)+"&vn=")+(e&&e.code?"&code="+e.code:"")+(e&&e.type?"&type="+e.type:"")+(e&&e.status?"&status="+e.status:"")+(a||"")}var vwo_e=gE(e);try{typeof navigator.sendBeacon==="function"?navigator.sendBeacon(vwo_e):(new Image).src=vwo_e}catch(err){}}try{var extE=0,prevMode=false;window._VWO_Jphp_StartTime = (window.performance && typeof window.performance.now === 'function' ? window.performance.now() : new Date().getTime());;;(function(){window._VWO=window._VWO||{};var aC=window._vwo_code;if(typeof aC==='undefined'){window._vwo_mt='dupCode';return;}if(window._VWO.sCL){window._vwo_mt='dupCode';window._VWO.sCDD=true;try{if(aC){clearTimeout(window._vwo_settings_timer);var h=document.querySelectorAll('#_vis_opt_path_hides');var x=h[h.length>1?1:0];x&&x.remove();}}catch(e){}return;}window._VWO.sCL=true;;window._vwo_mt="live";var localPreviewObject={};var previewKey="_vis_preview_"+772555;var wL=window.location;;try{localPreviewObject[previewKey]=window.localStorage.getItem(previewKey);JSON.parse(localPreviewObject[previewKey])}catch(e){localPreviewObject[previewKey]=""}try{window._vwo_tm="";var getMode=function(e){var n;if(window.name.indexOf(e)>-1){n=window.name}else{n=wL.search.match("_vwo_m=([^&]*)");n=n&&atob(decodeURIComponent(n[1]))}return n&&JSON.parse(n)};var ccMode=getMode("_vwo_cc");if(window.name.indexOf("_vis_heatmap")>-1||window.name.indexOf("_vis_editor")>-1||ccMode||window.name.indexOf("_vis_preview")>-1){try{if(ccMode){window._vwo_mt=decodeURIComponent(wL.search.match("_vwo_m=([^&]*)")[1])}else if(window.name&&JSON.parse(window.name)){window._vwo_mt=window.name}}catch(e){if(window._vwo_tm)window._vwo_mt=window._vwo_tm}}else if(window._vwo_tm.length){window._vwo_mt=window._vwo_tm}else if(location.href.indexOf("_vis_opt_preview_combination")!==-1&&location.href.indexOf("_vis_test_id")!==-1){window._vwo_mt="sharedPreview"}else if(localPreviewObject[previewKey]){window._vwo_mt=JSON.stringify(localPreviewObject)}if(window._vwo_mt!=="live"){if(typeof extE!=="undefined"){extE=1}if(!getMode("_vwo_cc")){_vwo_code.load('https://dev.visualwebsiteoptimizer.com/j.php?mode=' + encodeURIComponent(window._vwo_mt) + '&a=772555&f=1&u=' + encodeURIComponent(window._vis_opt_url||document.URL)+'&eventArch=true', { sL: window._vwo_code.sL }); if(window._vwo_code.sL) { prevMode = true; }}else{(function(){window._vwo_code&&window._vwo_code.finish();_vwo_ccc={u:"/j.php?a=772555&u=https%3A%2F%2Fwww.traditionalmedicinals.com%2Fpages%2Fwholesale-ordering-faqs&vn=2"};var s=document.createElement("script");s.src="https://app.vwo.com/visitor-behavior-analysis/dist/codechecker/cc.min.js?r="+Math.random();document.head.appendChild(s)})()}}}catch(e){var vwo_e=new Image;vwo_e.src="https://dev.visualwebsiteoptimizer.com/ee.gif?s=mode_det&e="+encodeURIComponent(e&&e.stack&&e.stack.substring(0,1e3)+"&vn=");aC&&window._vwo_code.finish()}})(); ;;window._vwo_cookieDomain="traditionalmedicinals.com";;;_vwo_surveyAssetsBaseUrl="https://cdn.visualwebsiteoptimizer.com/";;if(prevMode){return}if(window._vwo_mt === "live"){window.VWO=window.VWO||[];window._vwo_acc_id=772555;window.VWO._=window.VWO._||{};;;window.VWO.visUuid="D7A7D9EB238E075BDEDDB6EBF9094E41C|059d3e2bec06e48580bec0c49772ffc4"; ;_vwo_code.sT=_vwo_code.finished();(function(c,a,e,d,b,z,g){if(window.VWO._&&window.VWO._.isBot)return;const cookiePrefix=window._vwoCc&&window._vwoCc.cookiePrefix||"";function f(a,b,d){var cookieName=cookiePrefix+a;e.cookie=cookieName+"="+b+"; expires="+new Date(864e5*d+ +new Date).toGMTString()+"; domain="+g+"; path=/"}const escapedCookieName=(cookiePrefix+"_vwo_uuid_v2").replace(/([.*+?^${}()|[\]\\])/g,"\\$1");const regex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const match=e.cookie.match(regex);-1==e.cookie.indexOf("_vis_opt_out")&&-1==d.location.href.indexOf("vwo_opt_out=1")&&(a=match?decodeURIComponent(match[2]):a,a=a.split("|"),b=new Image,g=window._vis_opt_domain||c||d.location.hostname.replace(/^www\./,""),b.src="https://dev.visualwebsiteoptimizer.com/v.gif?cd="+(window._vis_opt_cookieDays||0)+"&a=772555&d="+encodeURIComponent(d.location.hostname.replace(/^www\./,"") || c)+"&u="+a[0]+"&h="+a[1]+"&t="+z,d.vwo_iehack_queue=[b],f("_vwo_uuid_v2",a.join("|"),366))})("traditionalmedicinals.com",window.VWO.visUuid,document,window,0,_vwo_code.sT); ;clearTimeout(window._vwo_settings_timer);window._vwo_settings_timer=null;VWO.load_co=function(a,opts={}){var b=document.createElement('script');b.src=a;b.crossOrigin='anonymous';b.type='text/javascript';b.fetchPriority='high';opts.defer&&(b.defer=!0);b.innerText;b.onerror=function(){if(gcpfb(a,VWO.load_co)){return;}_vwo_code.finish();(new Image()).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a=772555&s=j.php&e=loading_failure:'+a;};document.getElementsByTagName('head')[0].appendChild(b);}; ;;;;var vwoCode=window._vwo_code;if(vwoCode.filterConfig&&vwoCode.filterConfig.filterTime==="balanced"){vwoCode.removeLoaderAndOverlay()}var vwo_CIF=false;var UAP=false;;;var _vwo_style=document.getElementById('_vis_opt_path_hides'),_vwo_css=(vwoCode.hide_element_style?vwoCode.hide_element_style():'{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;}')+':root {--vwo-el-opacity:0 !important;--vwo-el-filter:alpha(opacity=0) !important;--vwo-el-bg:none !important;--vwo-el-ts:none !important;}',_vwo_text="" + _vwo_css;if (_vwo_style) { var e = _vwo_style.classList.contains("_vis_hide_layer") && _vwo_style; if (UAP && !UAP() && vwo_CIF && !vwo_CIF()) { e ? e.parentNode.removeChild(e) : _vwo_style.parentNode.removeChild(_vwo_style) } else { if (e) { var t = _vwo_style = document.createElement("style"), o = document.getElementsByTagName("head")[0], s = document.querySelector("#vwoCode"); t.setAttribute("id", "_vis_opt_path_hides"), s && t.setAttribute("nonce", s.nonce), t.setAttribute("type", "text/css"), o.appendChild(t) } if (_vwo_style.styleSheet) _vwo_style.styleSheet.cssText = _vwo_text; else { var l = document.createTextNode(_vwo_text); _vwo_style.appendChild(l) } e ? e.parentNode.removeChild(e) : _vwo_style.removeChild(_vwo_style.childNodes[0])}};window.VWO.ssMeta = { enabled: 0, noSS: 0 };;;VWO._=VWO._||{};window._vwo_clicks=false;VWO._.allSettings=(function(){return{dataStore:{campaigns:{151:{"version":4,"ep":1754923121000,"clickmap":0,"globalCode":[],"type":"VISUAL_AB","status":"RUNNING","pc_traffic":100,"name":"Quest_19-Mulit-Pack-Variants_ID#151","manual":false,"urlRegex":"||||","exclude_url":"","multiple_domains":0,"segment_code":"true","ss":null,"ibe":0,"muts":{"post":{"enabled":true,"refresh":true}},"sections":{"1":{"path":"","variations":{"1":[],"2":[{"cpath":"","tag":"C_772555_151_1_2_0","xpath":"HEAD"}]},"segment":{"1":1,"2":1},"globalWidgetSnippetIds":{"1":[],"2":[]},"variation_names":{"1":"Control","2":"Alternative-Variant-Selector"},"triggers":[]}},"varSegAllowed":false,"combs":{"1":0,"2":1},"comb_n":{"1":"Control","2":"Alternative-Variant-Selector"},"goals":{"1":{"type":"CUSTOM_GOAL","identifier":"purchaseSuccesfull","mca":false},"2":{"url":["AddToCart"],"type":"CUSTOM_GOAL","identifier":"vwo_dom_click","mca":false}},"pgre":true,"ps":false,"metrics":[{"id":1,"type":"m","metricId":358655},{"id":2,"type":"m","metricId":1544750}],"cEV":1,"id":151,"pg_config":["2770058"],"triggers":[13835013],"mt":{"1":"2885639","2":"15269186"}}, 158:{"version":4,"ep":1758552031000,"clickmap":0,"globalCode":[],"type":"VISUAL_AB","status":"RUNNING","pc_traffic":100,"name":"OWYN_01-Hide price in CTA-ID#158","manual":false,"urlRegex":"||","exclude_url":"","multiple_domains":0,"segment_code":"true","ss":null,"ibe":0,"muts":{"post":{"enabled":true,"refresh":true}},"sections":{"1":{"path":"","variations":{"1":[],"2":[{"cpath":".price_in_CTA","tag":"C_772555_158_1_2_0","xpath":"HEAD","rtag":"R_772555_158_1_2_0"}]},"segment":{"1":1,"2":1},"globalWidgetSnippetIds":{"1":[],"2":[]},"variation_names":{"1":"WP-Control-Price-in-CTA","2":"Hide-price-in-CTA"},"triggers":[]}},"varSegAllowed":false,"combs":{"1":0.5,"2":0.5},"comb_n":{"1":"WP-Control-Price-in-CTA","2":"Hide-price-in-CTA"},"goals":{"1":{"type":"CUSTOM_GOAL","identifier":"shopify.purchase","mca":false},"2":{"url":["AddToCart"],"type":"CUSTOM_GOAL","identifier":"vwo_dom_click","mca":false},"3":{"type":"CUSTOM_GOAL","identifier":"purchaseSuccesfull","mca":false}},"pgre":true,"ps":false,"metrics":[{"id":1,"type":"m","metricId":795340},{"id":2,"type":"m","metricId":1544750},{"id":3,"type":"m","metricId":358655}],"cEV":1,"id":158,"pg_config":["2793860"],"triggers":[13835013],"mt":{"1":"6984268","2":"15269186","3":"2885639"}}, 160:{"version":4,"ep":1760023617000,"clickmap":0,"globalCode":[],"type":"VISUAL_AB","status":"RUNNING","pc_traffic":100,"name":"think_08_Price in CTA-ID#160","manual":false,"urlRegex":"||","exclude_url":"","multiple_domains":0,"segment_code":"true","ss":null,"ibe":0,"muts":{"post":{"enabled":true,"refresh":true}},"sections":{"1":{"path":"","variations":{"1":[],"2":[{"cpath":".price_in_CTA","tag":"C_772555_160_1_2_0","xpath":"HEAD","rtag":"R_772555_160_1_2_0"}]},"segment":{"1":1,"2":1},"globalWidgetSnippetIds":{"1":[],"2":[]},"variation_names":{"1":"Control","2":"Price-on-page-+-CTA"},"triggers":[]}},"varSegAllowed":false,"combs":{"1":0.5,"2":0.5},"comb_n":{"1":"Control","2":"Price-on-page-+-CTA"},"goals":{"1":{"type":"CUSTOM_GOAL","identifier":"purchaseSuccesfull","mca":false},"2":{"url":["AddToCart"],"type":"CUSTOM_GOAL","identifier":"vwo_dom_click","mca":false}},"pgre":true,"ps":false,"metrics":[{"id":1,"type":"m","metricId":358655},{"id":2,"type":"m","metricId":1544750}],"cEV":1,"id":160,"pg_config":["2849279"],"triggers":[13835013],"mt":{"1":"2885639","2":"15269186"}}},changeSets:{},plugins:{"LIBINFO":{"TRACK":{"LIB_SUFFIX":"_safari","HASH":"safaria2e2555ead1e544e337c4a52cd0af5cfbr"},"SURVEY":{"HASH":"3c8571834029475393f2f55f3485a736br"},"WORKER":{"HASH":"70faafffa0475802f5ee03ca5ff74179br"},"SURVEY_HTML":{"HASH":"d9a8dfc49c209cefbba06c308aa7110fbr"},"SURVEY_DEBUG_EVENTS":{"HASH":"c22da97fa0e76b3a58410e5a2085dd61br"},"DEBUGGER_UI":{"HASH":"0c67dec46dc20ebfe2e11703dbd52212br"},"EVAD":{"LIB_SUFFIX":"_safari","HASH":""},"HEATMAP_HELPER":{"HASH":"6f85ea92da999cabb8660d1d230479babr"},"OPA":{"PATH":"\/4.0","HASH":"0879f10ed89d6f18138d1cb38375125cbr"}},"GEO":{"vn":"geoip2","rn":"North Holland","conC":"EU","cc":"NL","c":"Amsterdam","r":"NH","cEU":"1","cn":"The Netherlands"},"DACDNCONFIG":{"SPA":true,"BSECJ":false,"CJ":false,"RDBG":false,"CKLV":false,"jsConfig":{"earc":1,"m360":1},"SCC":"{\"cache\":0}","debugEvt":false,"DLRE":false,"eNC":false,"IAF":false,"PRTHD":false,"CSHS":false,"CINSTJS":false,"DONT_IOS":false,"SST":false,"UCP":false,"DNDOFST":1000,"DT":{"TC":"function(){ return _vwo_t.cm('eO','js',VWO._.dtc.ctId); };","SEGMENTCODE":"function(){ return _vwo_s().f_e(_vwo_s().dt(),'mobile') };","DELAYAFTERTRIGGER":1000,"DEVICE":"mobile"},"FB":false,"AST":false,"SPAR":false,"CRECJS":false,"SD":false},"IP":"62.133.61.131","UA":{"dt":"desktop","br":"Safari","de":"Other","os":"MacOS","ps":"desktop:false:Mac OS X:10.15.7:Safari:17.2.1:Mac"},"ACCTZ":"America\/Los_Angeles","PIICONFIG":false},vwoData:{"gC":null},crossDomain:{},integrations:{},events:{"vwo_timer":{"nS":["timeSpent"]},"vwo_fmeSdkInit":{},"shopify.checkoutStarted":{},"vwo_repeatedHovered":{},"vwo_repeatedScrolled":{},"vwo_tabOut":{},"vwo_performance":{},"vwo_mouseout":{},"vwo_zoom":{},"vwo_scroll":{},"vwo_survey_reachedThankyou":{},"vwo_survey_complete":{},"vwo_errorOnPage":{},"vwo_surveyAttempted":{},"vwo_surveyExtraData":{},"vwo_surveyCompleted":{},"vwo_orientationChanged":{},"vwo_appComesInForeground":{},"vwo_appGoesInBackground":{},"vwo_autoCapture":{},"vwo_longPress":{},"vwo_fling":{},"vwo_doubleTap":{},"vwo_singleTap":{},"vwo_appNotResponding":{},"vwo_appCrashed":{},"vwo_rC":{},"vwo_vA":{},"vwo_survey_surveyCompleted":{},"vwo_survey_questionAttempted":{},"vwo_survey_display":{},"vwo_debugLogs":{},"vwo_survey_close":{},"vwo_selection":{},"vwo_recommendation_block_shown":{},"vwo_surveyClosed":{},"vwo_pageUnload":{},"vwo_syncVisitorProp":{},"vwo_dom_submit":{},"vwo_analyzeHeatmap":{},"vwo_analyzeRecording":{},"vwo_analyzeForm":{},"vwo_sdkUsageStats":{},"vwo_copy":{},"vwo_quickBack":{},"vwo_tabIn":{},"vwo_appTerminated":{},"vwo_surveyQuestionDisplayed":{},"vwo_surveyQuestionAttempted":{},"vwo_surveyDisplayed":{},"vwo_appLaunched":{},"vwo_networkChanged":{},"vwo_variationShown":{},"vwo_conversion":{},"successfulConversion2":{},"fastShipBannerEngagement":{},"vwo_page_session_count":{},"revenuSuccessV2":{},"purchaseSuccess":{},"testEvent":{},"vwo_survey_submit":{},"purchaseSuccesfull":{},"vwo_survey_questionShown":{},"vwo_dom_click":{"nS":["target.innerText","target"]},"vwo_sessionSync":{},"vwo_leaveIntent":{},"vwo_screenViewed":{},"shopify.purchase":{},"vwo_log":{},"vwo_dom_scroll":{"nS":["pxBottom","bottom","top","pxTop"]},"vwo_sdkDebug":{},"vwo_customTrigger":{},"vwo_pageView":{},"vwo_newSessionCreated":{},"vwo_revenue":{},"vwo_customConversion":{},"vwo_trackGoalVisited":{},"vwo_survey_attempt":{},"vwo_goalVisit":{"nS":["expId"]},"vwo_surveyQuestionSubmitted":{},"navigationClick":{},"addToCart-SandersProduct":{},"vwo_cursorThrashed":{},"vwo_pageRefreshed":{}},visitorProps:{},uuid:"D7A7D9EB238E075BDEDDB6EBF9094E41C",syV:{},syE:{},cSE:{},CIF:false,syncEvent:"sessionCreated",syncAttr:"sessionCreated"},sCIds:{},oCids:{},triggers:{"8":{"cnds":[{"event":"vwo_pageView","id":102}]},"13835013":{"cnds":["a",{"event":"vwo_mutationObserved","id":2},{"event":"vwo_notRedirecting","id":4,"filters":[]},{"event":"vwo_visibilityTriggered","id":5,"filters":[]},{"id":1000,"event":"vwo_pageView","filters":[]},{"id":1002,"event":"vwo_pageView","filters":[]}],"dslv":2},"75":{"cnds":[{"event":"vwo_urlChange","id":99}]},"2":{"cnds":[{"event":"vwo_variationShown","id":100}]},"2885639":{"cnds":[{"id":1000,"event":"purchaseSuccesfull","filters":[["event.paymentSuccesfull","eq",true]]}],"dslv":2},"9":{"cnds":[{"event":"vwo_groupCampTriggered","id":105}]},"5":{"cnds":[{"event":"vwo_postInit","id":101}]},"6984268":{"cnds":[{"id":1000,"event":"shopify.purchase","filters":[]}],"dslv":2},"15269186":{"cnds":[{"id":1000,"event":"vwo_dom_click","filters":[["event.target","sel","#AddToCart"]]}],"dslv":2}},tags:{},rules:[{"triggers":["15269186"],"tags":[{"data":{"campaigns":[{"c":151,"g":2}],"type":"m"},"id":"metric","metricId":1544750},{"data":{"campaigns":[{"c":158,"g":2}],"type":"m"},"id":"metric","metricId":1544750},{"data":{"campaigns":[{"c":160,"g":2}],"type":"m"},"id":"metric","metricId":1544750}]},{"triggers":["13835013"],"tags":[{"priority":4,"data":"campaigns.151","id":"runCampaign"},{"priority":4,"data":"campaigns.158","id":"runCampaign"},{"priority":4,"data":"campaigns.160","id":"runCampaign"}]},{"triggers":["6984268"],"tags":[{"data":{"campaigns":[{"c":158,"g":1}],"type":"m"},"id":"metric","metricId":795340}]},{"triggers":["2885639"],"tags":[{"data":{"campaigns":[{"c":151,"g":1}],"type":"m"},"id":"metric","metricId":358655},{"data":{"campaigns":[{"c":158,"g":3}],"type":"m"},"id":"metric","metricId":358655},{"data":{"campaigns":[{"c":160,"g":1}],"type":"m"},"id":"metric","metricId":358655}]},{"triggers":["8"],"tags":[{"priority":3,"id":"prePostMutation"},{"priority":2,"id":"groupCampaigns"}]},{"triggers":["9"],"tags":[{"priority":2,"id":"visibilityService"}]},{"triggers":["2"],"tags":[{"id":"runTestCampaign"}]},{"triggers":["75"],"tags":[{"id":"urlChange"}]},{"triggers":["5"],"tags":[{"id":"checkEnvironment"}]}],pages:{"ec":[{"2142594":{"inc":["o",["url","urlReg","(?i).*"]]}}]},pagesEval:{"ec":[2142594]},stags:{},domPath:{}}})(); ;;var commonWrapper=function(argument){if(!argument){argument={valuesGetter:function(){return{}},valuesSetter:function(){},verifyData:function(){return{}}}}var 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"&&typeof window.VWO._.jar!=="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"&&typeof window.VWO._.jar!=="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||[];var 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)}};var 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);sendDebugLogsOld(expId,variationId,"initIntegrationCallback",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){window._vwoFiredSurveyEvents=window._vwoFiredSurveyEvents||{};if(!argument){argument={getCampaignList:function(){return[]},surveyStatusChange:function(){},answerSubmitted:function(){}}}return function(){window.VWO=window.VWO||[];function getValuesFromAnswers(answers){return answers.map((function(ans){return ans.value}))}function generateHash(str){var hash=0;for(var i=0;i=timeout;if(done||expired){window._vwoFiredSurveyEvents[eventKey]=true;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 [160,158,151]},accountSettings:function(){var accountIntegrationSettings={"dataVariable":"","setupVia":"gtag","manualSetup":true};if(accountIntegrationSettings["debugType"]=="ga4"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"dataVariable":"","setupVia":"gtag","manualSetup":true};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 [160,158,151]},accountSettings:function(){var accountIntegrationSettings={"dataVariable":"","setupVia":"gtag","manualSetup":true};if(accountIntegrationSettings["debugType"]=="gtm"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"dataVariable":"","setupVia":"gtag","manualSetup":true};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":{"vn":1,"args":{"1":{}}}}},as:"r3.visualwebsiteoptimizer.com",dacdnUrl:"https://dev.visualwebsiteoptimizer.com",accountJSInfo:{"pc":{"t":0,"a":0},"pvn":0,"ts":1762594002,"tpc":{},"noSS":false,"rp":30}};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;;window._vwoCc = window._vwoCc || {}; if (typeof window._vwoCc.dAM === 'undefined') { window._vwoCc.dAM = 1; };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={};window._VWO.dcdnUrl="/dcdn/settings.js";;window.VWO.sTs=1762527869;window._VWO._vis_nc_lib=window._vwo_cdn+"edrv/nc_safari-3adb2b6189d53da09353c214c2495859.br.js";var code = 'var window = ' + JSON.stringify(w) + ', document = ' + JSON.stringify(d) + ',workerUrl ="https://dev.visualwebsiteoptimizer.com/cdn/edrv/worker_safari-31ec188dd73da752dc3316dbd6f8909c.br.js";window.document=document;var gcpfb=function(a,loadFunc){if(a.indexOf("/cdn/")!==-1){loadFunc(a.replace("cdn/",""));var err="https://dev.visualwebsiteoptimizer.com/ee.gif?a=772555&s=j.php&e=Google_Cdn failing for "+a+ " Trying Fallback..&code=cloudcdnerr";fetch(err,{method:"GET"});return true;}};try{ importScripts(workerUrl);}catch(e){gcpfb(workerUrl,importScripts)}';var blob = new Blob([code],{ type: 'application/javascript'}), _vwo_worker_url_jphp = (URL.createObjectURL || window.webkitURL && window.webkitURL.createObjectURL)(blob);try { var CoreWorker = window.VWO.WorkerRef || window.Worker; window.mainThread = { webWorker: new CoreWorker(_vwo_worker_url_jphp)}; } catch (e) { if (e instanceof DOMException && e.code === 18) { e = new Error(e.message); e.code = 'DE_SE_018'; } throw e; };window.vwoChannelFW=new MessageChannel();window.vwoChannelToW=new MessageChannel();window.mainThread.webWorker.postMessage({vwoChannelToW:vwoChannelToW.port1,vwoChannelFW:vwoChannelFW.port2},[vwoChannelToW.port1, vwoChannelFW.port2]);;var _vis_opt_file;var _vis_opt_lib;var check_vn=function f(){try{var[r,n,t]=window.jQuery.fn.jquery.split(".").map(Number);return 2===r||1===r&&(4-1&&!check_vn()){_vis_opt_file=vaGqFile}}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;VWO.load_co(_vis_opt_lib);;;}}catch(e){_vwo_code.finish();_vwo_code.removeLoaderAndOverlay&&_vwo_code.removeLoaderAndOverlay();_vwo_err(e);window.VWO.caE=1}})();