(function(){function _vwo_err(e){function gE(e,a){return"https://dev.visualwebsiteoptimizer.com/ee.gif?a=632106&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_"+632106;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")){(function(){var cParam='';try{if(window.VWO&&window.VWO.appliedCampaigns){var campaigns=window.VWO.appliedCampaigns;for(var cId in campaigns){if(campaigns.hasOwnProperty(cId)){var v=campaigns[cId].v;if(cId&&v){cParam='&c='+cId+'-'+v+'-1';break;}}}}}catch(e){}var prevMode=false;_vwo_code.load('https://dev.visualwebsiteoptimizer.com/j.php?mode='+encodeURIComponent(window._vwo_mt)+'&a=632106&f=1&u='+encodeURIComponent(window._vis_opt_url||document.URL)+'&eventArch=true'+cParam,{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=632106&u=https%3A%2F%2Fglobalnews.ca%2Fnews%2F9063337%2Fquebec-cardinal-marc-ouellet-sexual-assault-class-action%2F&f=1&r=0.8631100660796824&vn=1.1"};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="globalnews.ca";;;;if(prevMode){return}if(window._vwo_mt === "live"){window.VWO=window.VWO||[];window._vwo_acc_id=632106;window.VWO._=window.VWO._||{};;;window.VWO.visUuid="D0FA517C088D5E49401864C95E306A28C|a8a20331f2fe96a09cb4f65d65a6d81a";
;_vwo_code.sT=_vwo_code.finished();(function(c,a,e,d,b,z,g,sT){if(window.VWO._&&window.VWO._.isBot)return;const cookiePrefix=window._vwoCc&&window._vwoCc.cookiePrefix||"";const useLocalStorage=sT==="ls";const cookieName=cookiePrefix+"_vwo_uuid_v2";const escapedCookieName=cookieName.replace(/([.*+?^${}()|[\]\\])/g,"\\$1");const cookieDomain=g;function getValue(){if(useLocalStorage){return localStorage.getItem(cookieName)}else{const regex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const match=e.cookie.match(regex);return match?decodeURIComponent(match[2]):null}}function setValue(value,days){if(useLocalStorage){localStorage.setItem(cookieName,value)}else{e.cookie=cookieName+"="+value+"; expires="+new Date(864e5*days+ +new Date).toGMTString()+"; domain="+cookieDomain+"; path=/"}}let existingValue=null;if(sT){const cookieRegex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const cookieMatch=e.cookie.match(cookieRegex);const cookieValue=cookieMatch?decodeURIComponent(cookieMatch[2]):null;const lsValue=localStorage.getItem(cookieName);if(useLocalStorage){if(lsValue){existingValue=lsValue;if(cookieValue){e.cookie=cookieName+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain="+cookieDomain+"; path=/"}}else if(cookieValue){localStorage.setItem(cookieName,cookieValue);e.cookie=cookieName+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain="+cookieDomain+"; path=/";existingValue=cookieValue}}else{if(cookieValue){existingValue=cookieValue;if(lsValue){localStorage.removeItem(cookieName)}}else if(lsValue){e.cookie=cookieName+"="+lsValue+"; expires="+new Date(864e5*366+ +new Date).toGMTString()+"; domain="+cookieDomain+"; path=/";localStorage.removeItem(cookieName);existingValue=lsValue}}a=existingValue||a}else{const regex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const match=e.cookie.match(regex);a=match?decodeURIComponent(match[2]):a}-1==e.cookie.indexOf("_vis_opt_out")&&-1==d.location.href.indexOf("vwo_opt_out=1")&&(window.VWO.visUuid=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=632106&d="+encodeURIComponent(d.location.hostname.replace(/^www\./,"") || c)+"&u="+a[0]+"&h="+a[1]+"&t="+z,d.vwo_iehack_queue=[b],setValue(a.join("|"),366)})("globalnews.ca",window.VWO.visUuid,document,window,0,_vwo_code.sT,"globalnews.ca","false"||null);
;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=632106&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:{65:{"comb_n":{"1":"CB\/VIP-Top-Stories-(Control)","2":"New-Video-Tracking-(Test)"},"pgre":true,"status":"RUNNING","ps":true,"type":"VISUAL_AB","segment_code":"true","id":65,"sections":{"1":{"variations":{"1":[],"2":[{"tag":"C_632106_65_1_2_0","xpath":"HEAD","cpath":""}]},"globalWidgetSnippetIds":{"1":[],"2":[]},"editorXPaths":{"1":[],"2":[]},"segment":{"1":1,"2":1},"path":"","variation_names":{"1":"CB\/VIP-Top-Stories-(Control)","2":"New-Video-Tracking-(Test)"},"triggers":[]}},"ep":1766155289000,"exclude_url":"","globalCode":{"pre":"GL_632106_65_pre","post":"GL_632106_65_post"},"multiple_domains":0,"ibe":1,"name":"GT-5421: Video tracking ChartBeat replacement for Trending Videos","mt":{"1":"21799315","2":"15187538","3":"15187547","4":"15187550"},"metrics":[{"id":1,"type":"m","metricId":2090440},{"id":2,"type":"m","metricId":1486300},{"id":3,"type":"m","metricId":1508815},{"id":4,"type":"m","metricId":1508818}],"urlRegex":"","ss":null,"cEV":1,"triggers":["21836731"],"version":4,"clickmap":0,"manual":false,"pg_config":["3126229"],"combs":{"1":0.5,"2":0.5},"goals":{"1":{"identifier":"vwo_dom_click","mca":true,"type":"REVENUE_TRACKING","url":"[data-gnca-ab-test=\"chartbeat-trending-replacement\"] a","revenueProp":"revenue"},"2":{"identifier":"vwo_engagement","type":"CUSTOM_GOAL","mca":false},"3":{"identifier":"vwo_conversion","type":"CUSTOM_GOAL","mca":false},"4":{"identifier":"vwo_conversion","type":"CUSTOM_GOAL","mca":false}},"varSegAllowed":false,"stag":0,"muts":{"post":{"enabled":true,"refresh":true}},"pc_traffic":50}},changeSets:{},plugins:{"IP":"18.97.14.85","UA":{"os":"Other","dt":"spider","br":"Other","de":"Other","ps":"other:false:Other::CCBot:2:Spider"},"GEO":{"c":"Ashburn","cEU":"","r":"VA","vn":"geoip2","rn":"Virginia","cn":"United States","cc":"US","conC":"NA"},"ACCTZ":"GMT","PIICONFIG":false,"DACDNCONFIG":{"DONT_IOS":false,"CJ":false,"SD":false,"SST":false,"jsConfig":{"ele":1,"m360":1,"ge":1,"se":1,"earc":1},"SPA":true,"debugEvt":false,"DLRE":1744966313,"PRTHD":false,"BSECJ":false,"FB":false,"CKLV":false,"CINSTJS":false,"UCP":false,"DT":{"DELAYAFTERTRIGGER":1000,"DEVICE":"mobile","TC":"function(){ return _vwo_t.cm('eO','js',VWO._.dtc.ctId); };","SEGMENTCODE":"function(){ return _vwo_s().f_e(_vwo_s().dt(),'mobile') };"},"eNC":false,"IAF":false,"CSHS":false,"aSM":false,"DNDOFST":1000,"AST":false,"RDBG":false,"CRECJS":false,"SPAR":false,"SCC":"{\"cache\":0}"},"LIBINFO":{"SURVEY_HTML":{"HASH":"b436fedfa1cc963271ea0920f91fd465br"},"SURVEY_DEBUG_EVENTS":{"HASH":"5422a9247274a192ad707ccb4975fd52br"},"DEBUGGER_UI":{"HASH":"ac2f1194867fde41993ef74a1081ed6bbr"},"SURVEY":{"HASH":"229f874a3300b33838ca01f83ae40e30br"},"HEATMAP_HELPER":{"HASH":"c5d6deded200bc44b99989eeb81688a4br"},"TRACK":{"LIB_SUFFIX":"","HASH":"13868f8d526ad3d74df131c9d3ab264bbr"},"OPA":{"HASH":"3625c20b37b5ba0c1608386673a4bd8fbr","PATH":"\/4.0"},"EVAD":{"LIB_SUFFIX":"","HASH":""},"WORKER":{"HASH":"70faafffa0475802f5ee03ca5ff74179br"}}},vwoData:{"gC":null,"pR":[]},crossDomain:{},integrations:{},events:{"vwo_log":{},"vwo_zoom":{},"vwo_sdkDebug":{},"vwo_scroll":{},"vwo_doubleTap":{},"vwo_surveyQuestionSubmitted":{},"vwo_appCrashed":{},"vwo_surveyCompleted":{},"vwo_vA":{},"vwo_survey_submit":{},"vwo_survey_questionAttempted":{},"vwo_survey_display":{},"vwo_survey_attempt":{},"trendingVideoClicks":{},"spend3MinutesOnPage":{},"vwo_pageView":{},"vwo_recommendation_block_shown":{},"vwo_quickBack":{},"vwo_singleTap":{},"vwo_dom_click":{"nS":["target.innerText","target"]},"vwo_appGoesInBackground":{},"vwo_dom_scroll":{"nS":["pxBottom","bottom","top","pxTop"]},"vwo_customTrigger":{},"vwo_dom_submit":{},"vwo_newSessionCreated":{},"vwo_revenue":{},"vwo_rC":{},"vwo_trackGoalVisited":{},"vwo_fmeSdkInit":{},"vwo_tabIn":{},"vwo_surveyExtraData":{},"vwo_surveyDisplayed":{},"vwo_appTerminated":{},"vwo_appComesInForeground":{},"vwo_fling":{},"vwo_survey_surveyCompleted":{},"vwo_survey_reachedThankyou":{},"vwo_survey_close":{},"vwo_customConversion":{},"vwo_leaveIntent":{},"vwo_conversion":{},"vwo_pageUnload":{},"vwo_repeatedHovered":{},"vwo_autoCapture":{},"vwo_mouseout":{},"vwo_selection":{},"vwo_surveyQuestionDisplayed":{},"vwo_timer":{"nS":["timeSpent"]},"vwo_variationShown":{},"vwo_surveyClosed":{},"vwo_debugLogs":{},"vwo_orientationChanged":{},"vwo_dom_hover":{},"vwo_sdkUsageStats":{},"vwo_goalVisit":{"nS":["expId"]},"vwo_appLaunched":{},"vwo_syncVisitorProp":{},"vwo_repeatedScrolled":{},"vwo_tabOut":{},"vwo_pageRefreshed":{},"vwo_analyzeHeatmap":{},"vwo_analyzeRecording":{},"vwo_copy":{},"vwo_analyzeForm":{},"vwo_appNotResponding":{},"vwo_cursorThrashed":{},"vwo_page_session_count":{},"vwo_errorOnPage":{},"vwo_surveyAttempted":{},"vwo_longPress":{},"vwo_surveyQuestionAttempted":{},"vwo_performance":{},"vwo_survey_questionShown":{},"vwo_sessionSync":{},"vwo_screenViewed":{},"vwo_survey_complete":{},"vwo_networkChanged":{}},visitorProps:{"Searchterm":{},"vwo_email":{},"vwo_domain":{}},uuid:"D0FA517C088D5E49401864C95E306A28C",syV:{},syE:{},cSE:{},CIF:false,syncEvent:"sessionCreated",syncAttr:"sessionCreated"},sCIds:{},oCids:["65"],triggers:{"2":{"cnds":[{"event":"vwo_variationShown","id":100}]},"21799315":{"cnds":[{"id":1000,"event":"vwo_dom_click","filters":[["event.target","sel","[data-gnca-ab-test=\"chartbeat-trending-replacement\"] a"]]}],"dslv":2},"15187538":{"cnds":["o",{"id":1000,"event":"vwo_dom_click","filters":[["event.userEngagement","eq",true]]},{"id":1001,"event":"vwo_dom_submit","filters":[["event.userEngagement","eq",true]]}],"dslv":2},"15187547":{"cnds":[{"id":1000,"event":"vwo_conversion","filters":[["event.gId","eq",221]]}],"dslv":2},"15187550":{"cnds":[{"id":1000,"event":"vwo_conversion","filters":[["event.gId","eq",223]]}],"dslv":2},"8":{"cnds":[{"event":"vwo_pageView","id":102}]},"9":{"cnds":[{"event":"vwo_groupCampTriggered","id":105}]},"5":{"cnds":[{"event":"vwo_postInit","id":101}]},"75":{"cnds":[{"event":"vwo_urlChange","id":99}]},"21836731":{"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}},preTriggers:{},tags:{GL_632106_65_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION){}}, GL_632106_65_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION){try{setTimeout(()=>{window._vis_opt_queue=window._vis_opt_queue||[],window._vis_opt_queue.push((function(){_vis_opt_goal_conversion(221)}))},3e4),setTimeout(()=>{window._vis_opt_queue=window._vis_opt_queue||[],window._vis_opt_queue.push((function(){_vis_opt_goal_conversion(223)}))},6e4);
}catch(e){};var _vwo_sel=vwo_$("<style></style>");vwo_$('head').append(_vwo_sel);return vwo_$('head')[0] && vwo_$('head')[0].lastChild;}}},rules:[{"tags":[{"data":{"type":"m","campaigns":[{"c":65,"g":2}]},"metricId":1486300,"id":"metric"}],"triggers":["15187538"]},{"tags":[{"data":{"type":"m","campaigns":[{"c":65,"g":3}]},"metricId":1508815,"id":"metric"}],"triggers":["15187547"]},{"tags":[{"data":{"type":"m","campaigns":[{"c":65,"g":4}]},"metricId":1508818,"id":"metric"}],"triggers":["15187550"]},{"tags":[{"data":{"type":"m","campaigns":[{"c":65,"g":1}]},"metricId":2090440,"id":"metric"}],"triggers":["21799315"]},{"tags":[{"id":"runCampaign","data":"campaigns.65","priority":4}],"triggers":["21836731"]},{"tags":[{"id":"checkEnvironment"}],"triggers":["5"]},{"tags":[{"id":"prePostMutation","priority":3},{"id":"groupCampaigns","priority":2}],"triggers":["8"]},{"tags":[{"id":"visibilityService","priority":2}],"triggers":["9"]},{"tags":[{"id":"runTestCampaign"}],"triggers":["2"]},{"tags":[{"id":"urlChange"}],"triggers":["75"]}],pages:{"ec":[{"3126226":{"inc":["o",["url","urlReg","(?i).*"]]}}]},pagesEval:{"ec":[3126226]},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)}};
        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<str.length;i++){hash=(hash<<5)-hash+str.charCodeAt(i);hash|=0}return hash}function getEventKey(data,status){if(status==="surveySubmitted"){var values=getValuesFromAnswers(data.answers).join("|");return generateHash(data.surveyId+"_"+data.questionText+"_"+values)}else{return data.surveyId+"_"+status}}function commonSurveyCallback(data,callback,surveyStatus){if(!data)return;var surveyId=data.surveyId;var campaignList=argument.getCampaignList();if(surveyId&&campaignList.indexOf(+surveyId)!==-1){var eventKey=getEventKey(data,surveyStatus);if(window._vwoFiredSurveyEvents[eventKey])return;window._vwoFiredSurveyEvents[eventKey]=true;var surveyData={accountId:data.accountId,surveyId:data.surveyId,uuid:data.uuid};if(surveyStatus==="surveySubmitted"){Object.assign(surveyData,{questionType:data.questionType,questionText:data.questionText,answers:data.answers,answersValue:getValuesFromAnswers(data.answers),skipped:data.skipped})}var pollInterval=100;var currentTime=0;var timeout=6e4;var interval=setInterval((function(){currentTime=currentTime||performance.now();var done=callback(surveyId,surveyStatus,surveyData);var expired=performance.now()-currentTime>=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]);;})();(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":{}},"vn":1}}},as:"r2.visualwebsiteoptimizer.com",dacdnUrl:"https://dev.visualwebsiteoptimizer.com",accountJSInfo:{"noSS":false,"rp":30,"tpc":{},"pvn":0,"ts":1768424872,"pc":{"t":0,"a":0}}};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=1768412232;window._VWO._vis_nc_lib=window._vwo_cdn+"edrv/beta/nc-9eec5329f827818c83520a015ae04c78.br.js";var code = 'var window = ' + JSON.stringify(w) + ', document = ' + JSON.stringify(d) + ',workerUrl ="https://dev.visualwebsiteoptimizer.com/cdn/edrv/beta/worker-527eb2d10328ddb259b056def024d53d.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=632106&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<n||4===n&&2<=t)}catch(r){return!1}};var uxj=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined";var lJy=uxj&&vwoCode.use_existing_jquery()&&check_vn();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=632106&sh="+surveyHash;_vis_opt_file=uxj?lJy?param1+"vanj"+param2:param1+"va_gq"+param2:param1+"edrv/beta/va_gq-ae1d3c639e9826cbbbaf14a0500aac1a.br.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/beta/pd_'; var path2 = window.VWO._.allSettings.dataStore.plugins.LIBINFO.EVAD.HASH + ".js"; ;_vis_opt_file=uxj?lJy?path1+"vanj.js":path1+"va_gq"+path2:path1+"edrv/beta/va_gq-ae1d3c639e9826cbbbaf14a0500aac1a.br.js"+path2;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/cdn/"+_vis_opt_file}else{var vaGqFile="edrv/beta/va_gq-ae1d3c639e9826cbbbaf14a0500aac1a.br.js";_vis_opt_file=uxj?lJy?"edrv/beta/vanj-6b3be6de57b98dc81f541171e2a1924f.br.js":vaGqFile:"edrv/beta/va_gq-ae1d3c639e9826cbbbaf14a0500aac1a.br.js";if(_vis_opt_file.indexOf("vanj")>-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}})();
