///id=te:7.0:async%gquery // This file uses references and method signatures that can be found in jquery.js and cash.js. // Copyright JS Foundation and other contributors, https://js.foundation/ // Copyright (c) 2014-present Ken Wheeler // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the // * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to // * permit persons to whom the Software is furnished to do so, subject to the following conditions: // * // * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the // * Software. // * // * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR // * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. !function(){"use strict";var e=[],i=["dev.visualwebsiteoptimizer.com","d5phz18u4wuww.cloudfront.net","cdn-cn.vwo-analytics.com"];function t(n){if(function(n){for(var o=!1,e=0;e/.test(t)){r=!0;try{n=t,(R=R||l.implementation.createHTMLDocument(null)).body.innerHTML=n,t=R.body.childNodes}catch(t){throw t}}if(!t)return this;if(t&&t.nodeType||V(t))return this[0]=t,this.length=1,this;if(N(t)){e=e||l;for(var i=this.constructor(),o=e instanceof w?e.toArray?e.toArray():[]:[e],u=0;ut+e[2]*W}return function(i,s,c,d,r,o,a){var u,l,_,v;void 0===c&&(c="cookie"),void 0===d&&(d=!0),o?v=function(){var e=VWO.data.tpc?VWO.data.tpc._vwo:void 0,t={};if(!e)return t;e=e.split(")");for(var n=0;n").attr({height:"1px",width:"1px",border:"0",class:"vwo_iframe",name:"vwo_"+Math.random(),style:"position: absolute; left: -2000px; display: none"}).appendTo("head").load(function(){-1!==e.indexOf("split")&&this.parentNode.removeChild(this),--L||P()}),L++,l=(u=window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com")+"/ping_tpc.php?account="+R+"&name="+encodeURIComponent(e)+"&value="+encodeURIComponent(t)+"&days="+n+"&random="+Math.random(),/MSIE (\d+\.\d+);/.test(navigator.userAgent)?s.attr("src",l):((c=d("
").attr({action:u+"/ping_tpc.php","accept-charset":"UTF-8",target:s.attr("name"),enctype:"application/x-www-form-urlencoded",method:"post",id:"vwo_form",style:"display:none"}).appendTo("head")).attr("action",l).submit(),c.remove()),VWO._.broadcastTpc&&VWO._.broadcastTpc(e,t),g(f.SET_COOKIE,e,t,n,i,!0)):g(f.SET_THIRD_PARTY_COOKIE_ERROR,e,t,n,o)},waitForThirdPartySync:function(e){b.push({c:e})},init:function(e){VWO._.jar=null},getAll:function(){for(var e=document.cookie.split(/; ?/),t={},n=0;nparseInt(t,10)},f_gte:function(e,t){return We(e)&&We(t)&&parseInt(e,10)>=parseInt(t,10)},f_lt:function(e,t){return We(e)&&We(t)&&parseInt(e,10)parseFloat(t)},lt:function(e,t,n){return cn(e)?ln(e,t,n,"lt"):dn(e,t,n)&&parseFloat(n[e])=hn.timers[t].expectedTime?(hn.timers.splice(t,1),t--,n=!0):hn.timers[t].s++;break;case gn:hn.timers[t].s=hn.timers[t].sb,n=!0}n&&e()}hn.deleteGlobalInterval()},_n),hn.initialized=!0)},_set:function(e,t,n){hn.init();var o=vn(n);return hn.timers.push({c:t,s:o,sb:o,type:e,id:++wn,startTime:(new Date).getTime(),expectedTime:n||0}),wn},_clear:function(t){hn.timers=hn.timers.filter(function(e){return e.id!==t}),hn.deleteGlobalInterval()},deleteGlobalInterval:function(){hn.timers.length||(clearInterval(pn),hn.initialized=!1)},setTimeout:function(e,t){return hn._set(fn,e,t)},setInterval:function(e,t){return hn._set(gn,e,t)},clearTimeout:function(e){return hn._clear(e)},clearInterval:function(e){return hn._clear(e)}};function On(e,t){if(e){var n,o="."+e,i=window.vwo_$;if(!(t=t||{})[e]){try{n=i(o)}catch(e){n=""}if(1===n.length)return 1;t[e]=!0}}}function mn(e){if(e){var t,n=window.vwo_$;try{t=n("#"+e)}catch(e){t=""}return t.length}}function En(e,t){var n=t[e](),o=t.get(0);if(!n){if(window.getComputedStyle&&void 0!==(n=getComputedStyle(o)[e])&&(n=parseInt(n,10),!isNaN(n)&&n))return n;n=o["client"+e.toUpperCase()[0]+e.substring(1,e.length)]}return n}function Cn(e){if(!e)return null;if(e.previousElementSibling)return e.previousElementSibling;for(;e=e.previousSibling;)if(1===e.nodeType)return e}function In(e,t){if(!e)return null;if(e===document)return"#document";t=t||{};var n,o,i,r,a,s=e,c=[],d=e.tagName,u=window.vwo_$;if("string"==typeof d&&("body"===d.toLowerCase()||"head"===d.toLowerCase()))return d;for(;e;)if(VWO._.ac&&VWO._.ac.hFCVJ&&e.__vue__&&e.__isFragment)e=Cn(e);else{n=(d="undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot?"shadow-root":e.tagName)&&d.match(/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/),d&&n&&(n&&n[0])===d||(d="*");var l=-1<["INPUT","SELECT"].indexOf(e.tagName);try{o=u(e).attr("id")}catch(s){o=e.id}l&&e.name?d=d+'[name="'+e.name+'"]':o&&"string"==typeof o&&mn(o)&&(d=d+"#"+o),i=(i=e.getAttribute&&e.getAttribute("class"))?i.split(/\s+/):[];for(var _=0;_ "+c.join(" + "):"")}function Tn(e){return e instanceof SVGElement&&e.tagName&&"svg"!==e.tagName.toLowerCase()?Tn(e.parentNode):e}function An(e){return En("width",e)}function Sn(e){return En("height",e)}function yn(e,t){var n=[],o=window.vwo_$,i=o(t);return e[0]?t?(e.parents().each(function(){0<=o.inArray(this,i)&&n.push(this)}),n):e.parents():n}var Nn={TRACK_EVENT:1,TRACK_EVENT_NO_PERSISTENCE:2,STORE_META_INFO:3},Vn=function(){},Rn=[],bn=[],Ln=window._vwo_evq=window._vwo_evq||[];window.VWO=window.VWO||[],window.VWO._=window.VWO._||{};var Wn=function(e,t){t.e===e[0]&&t.c.apply(this,[e])},Pn=function(e,t){t.e&&t.e!==e[1]||t.v&&t.v!==e[2]||t.c.apply(this,[e])},xn=function(e){for(var t=0;tt.threshold&&$n(o)&&(n.callbackTimer=hn.setTimeout(function(){oo.triggerEvent(e,!1)},1e3*(n.delay||0)))}function Kn(e){var t=oo.getData(e);clearTimeout(t.callbackTimer)}var qn=an.ls,Jn=an.ss,Yn={},Xn={mousedown:!1,click:!1},zn=[],Zn=function(){},Qn=":",eo=";",to="!vwo-quirk!",no={dom:{listenerAdder:function(e){switch(e.shortName){case"load":var t=!1;Gn(document).ready(function(){t=!0,Bn(e)}),-1!==[308160].indexOf(window._vwo_acc_id)&&Un.onEventReceive("uC",function(){t&&Bn(e)});break;case"click":case"mousedown":(zn=zn||[]).push(e),Xn[e.shortName]||(Xn[e.shortName]=!0,document.addEventListener(e.shortName,function(i){window._vwoCc&&window._vwoCc.tTERFM&&(i.target===Gn(".vwo-tooltip__close").get(0)||yn(Gn(i.target),Gn(".vwo-tooltip__close")).length)||zn.forEach(function(e){for(var t=Gn(e.target),n=t.length,o=0;o=i&&oo.triggerEvent(r,!1)})}},poll:{observer:function(e){var t=e&&e.id,n=e.target&&e.target.split(":")&&e.target.split(":")[0],o=t&&_vwo_exp[t]&&_vwo_exp[t].ss&&_vwo_exp[t].ss[n];try{return o&&"function"==typeof o?o():eval(e.target)}catch(e){return!1}},listenerAdder:function(e){function t(){e.observer(e)?(e.instantReturn=e.instantReturn&&e.stopped||!1,oo.triggerEvent(e,!1),hn.clearInterval(n)):e.stopped&&(e.instantReturn&&oo.triggerEvent(e,!1),hn.clearInterval(n))}var n;t(),n=hn.setInterval(t,e.config.pf),e.event=n}},js:{listenerAdder:function(e){oo.getCustomTrigger(e.target,e.config.cspJs||e.config.js)(function(){oo.triggerEvent(e,!1)},Gn)}}},oo={setPastTriggers:function(){var e;for(var t in this.crossStore?e=this.crossStore.getLocal({key:"tE"})||{}:(e=qn.get("tE")||{},Gn.extend(e,Jn.get("tE"))),this.eventsReadFromPersistence=e)if(e.hasOwnProperty(t)){var n=e[t];if(!n)return;if(n instanceof Array)for(a=0;a":return e>t[1];case"<":return e").append(e.cloneNode(!0)).html():e.outerHTML}function Wo(e){var t=e;for(e+=(new Date).getTime();(new Date).getTime().'+h+"{width:"+o.width+"px;height:"+o.height+"px;animation-timing-function: linear;animation-duration: "+o.loaderConfig.as+";animation-iteration-count: infinite;animation-name: placeHolderShimmer;background: #ccc;background: linear-gradient(to right, "+o.loaderConfig.pc+" 8%, "+o.loaderConfig.sc+" 38%, "+o.loaderConfig.pc+" 54%);display: inline-block;}@keyframes placeHolderShimmer{0%{background-position: -468px 0}100%{background-position: 468px 0}}"),(w=new Image).onload=w.onerror=function(){window._vwo_handleMutations&&window._vwo_handleMutations(e.get(0),function(){e.attr("src",f),g&&e.attr("srcset",g),vwo_$("#"+h).remove(),e.removeClass(h)})},w.src=f,g&&(w.srcset=g),this.addClass(h));var O=["src","srcSet","loader","loaderConfig"];for(var u in O)delete o[O[u]]}else VWO&&VWO._&&VWO._.ac&&VWO._.ac.hIF&&o.src&&"IMG"===this.get(0).tagName&&(_=o.src,v=o.srcSet,o.src=p,o.srcSet&&(o.srcSet=p),setTimeout(function(){window._vwo_handleMutations&&window._vwo_handleMutations(e.get(0),function(){e.attr("src",_),v&&e.attr("srcset",v)})},0));return window.VWOspvEventListenerAdded||document.addEventListener("securitypolicyviolation",function(e){-1!==e.blockedURI.indexOf(".vwo.io")&&(window.VwoIoImageLoadFailed=!0)}),window.VWOspvEventListenerAdded=!0,"IMG"===d.tagName&&n.src&&n.src.includes(".vwo.io")&&(d.onerror=function(){window.VwoIoImageLoadFailed&&window._vwo_handleMutations&&window._vwo_handleMutations(d,function(){e.attr("src",n.src.replace("vwo.io","visualwebsiteoptimizer.com")),n.srcset&&e.attr("srcset",n.srcset.replace("vwo.io","visualwebsiteoptimizer.com")),delete window.VwoIoImageLoadFailed})}),this.attr(o)}this.get(0).setAttribute(arguments[0],arguments[1])}return this},vwo_$.fn.vwoVal=function(){return this.length&&(this.each(function(){this.hasOwnProperty("__vwoControlVal")||(this.__vwoControlVal=this.value||"")}),vwo_$.fn.val.apply(this,arguments)),this},vwo_$.fn.vwoElement=function(n){var o=this;n.html&&(n.html=n.html.replace(/vwocspn="@tkn"/g,window.VWO.nonce?"nonce="+window.VWO.nonce:""));var e,t,i="vwo_w_"+n.id;function r(e){d&&(e?s[d]=e:delete s[d])}function a(){r("sw-attached"),No.on(n.sw.t_s,function(e){var t;e&&(r("sw-executed"),t=!1,n.sw.executed&&n.sw.skipExecuteOnce&&!vwo_$(c).length&&!v()&&(t=!0,n.sw.executed=!1),n.sw.executed||u(t),n.sw.executed=!0)},n.sw.ss||{})}(t=e=e||{})[t.WIDGET_JS=4]="WIDGET_JS";var s=window._vwo_editorOperationTracker,c=n.id&&"#vwo-widget-"+n.id||"",d=n.opId,u=function(e){var t;o[n.position](n.html),r(),n.js&&(No.resetByEventName("js:"+n.id+4),No.on(n.js.t_s,function(){},n.js.ss||{})),c&&(t=vwo_$(c)).length&&t.get(0).addEventListener("close_button_clicked",function(){r("disconnected")}),n.rec&&!e&&l(),n.hw&&No.on(n.hw.t_s,function(e){var t;e&&((t=w.get(i))&&((t=ko(t)).d=1,w.set(i,xo(t))),vwo_$(c).remove())},n.hw.ss||{})},l=function(){var e=w.get(i);if(e){for(var t in e=ko(e))switch(t){case"v":e[t]=parseInt(e[t])+1;break;case"l_ts":e[t]=Date.now()}w.set(i,xo(e))}else _(e)},_=function(e){(e=e||w.get(i))||w.set(i,xo(n.sks))},v=function(){n.sks&&_();var e=w.get(i);return!!e&&1==(e=ko(e)).d};return n&&this.length&&n.position&&!v()&&(n.rec?(r("rec-attached"),No.on(n.rec.t_s,function(e){e&&(r("rec-executed"),(n.sw?a:u)())},n.rec.ss||{})):n.sw?a():(window.addedVWOElementIds=window.addedVWOElementIds||{},window.addedVWOElementIds[n.id]||(u(),n.addOncePerPageRefresh&&n.id&&(window.addedVWOElementIds[n.id]=1)))),this},vwo_$.fn.execCode=function(e){try{e.call(this)}catch(e){var t="[JSLIB] Error while running custom Code through execCode";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"utils.js",source:encodeURIComponent(t)})}return this},vwo_$(window).bind("beforeunload",function(){try{for(var e=[],t=VWO.length;t--;){var n=VWO[t],o=n&&n.length&&n[0];o&&o.startsWith("track")&&e.push(n)}e.length&&w.set("_vwo_track_data_"+window._vwo_acc_id,xo(e))}catch(e){var i="[JSLIB] Error unload event.";window.VWO._.customError&&window.VWO._.customError({msg:i,url:"utils.ts",source:encodeURIComponent(i)})}});var Ho={};function Ko(e){if(Array.isArray(Ho[e]))return Ho[e];var t=e.split("");return 1===t.length?Ho[e]=[{sel:e,isTxtSel:!0}]:Ho[e]=t.map(function(e){return{sel:e.trim(),isTxtSel:-1=zo.AB_MIGRATED_CAMPAIGN_VERSION},isSessionBasedCampaign:function(e){return Ci[e].type===D.GOAL_CAMPAIGN||Ci[e].type===D.FUNNEL_CAMPAIGN||Ci[e].type===D.ANALYZE_RECORDING_CAMPAIGN||Ci[e].type===D.ANALYZE_HEATMAP_CAMPAIGN||Ci[e].type===D.ANALYZE_FORM_CAMPAIGN},preProcessExp:function(e){var t,n,o=Ci[e];o.muts=o.muts||{},o.muts.pre=o.muts.pre||{},o.muts.post=o.muts.post||{};var i=Ci[e].third_party;if(Ri!==typeof i&&!gi.cookieLessModeEnabled)for(n=q(i).length;n;){var r=i[n];"_vwo_uuid_"===r.name.substring(0,10)?Wi.createCookie(r.name,r.value,Vi):Wi.createCookie(r.name,r.value,100),n--}if(o.goals||(o.goals={}),Xo.get()||!Wi.isSessionBasedCampaign(e)&&!Wi.isAbMigrationEnabled(e)||Xo.set(!0),o.type!==D.ANALYSIS_CAMPAIGN&&!this.isAnalyzeCampaign(o.type)||(o.goals={}),o.sections&&o.sections[1]&&(D.AB_CAMPAIGN===o.type||D.SPLIT_CAMPAIGN===o.type)){if(J(o.sections[1].segment,o.sections[1].segment_v2),o.version>=zo.AB_MIGRATED_CAMPAIGN_VERSION)for(var a in o.sections[1].segment)o.sections[1].segment.hasOwnProperty(a)&&(o.sections[1].segment[a]="string"==typeof o.sections[1].segment[a]&&o.sections[1].segment[a].replace(/_vwo_s\(\)\.T\(\)/,"_vwo_s().vt()"));delete o.sections[1].segment_v2}for(var s in"DEPLOY"===o.type&&(o.type="VISUAL_AB"),o.segment_code=o.segment_code_v2||o.segment_code,delete o.segment_code_v2,o.segment_code=o.segment_code.replace(/_vwo_u/g,"_vwo_t"),o.version>=zo.AB_MIGRATED_CAMPAIGN_VERSION&&(o.segment_code=o.segment_code.replace(/_vwo_s\(\)\.T\(\)/,"_vwo_s().vt()")),o.ss&&(o.ss.pu&&(o.ss.pu=o.ss.pu.replace(/_vwo_u/g,"_vwo_t")),o.ss.se&&(o.ss.se=o.ss.se.replace(/_vwo_u/g,"_vwo_t"))),Wi.isDomIndependentCampaign(o.type)&&(o.clickmap=0),o.pc_traffic=void 0===o.pc_traffic?100:o.pc_traffic,o.type===D.FUNNEL_CAMPAIGN?(o.g=o.g||o.goals,o.goals={},o.segment_code=void 0===o.segment_code?"true":o.segment_code,o.manual=!0,o.v=o.v||1):o.manual=!!o.manual,o.goals)o.goals.hasOwnProperty(s)&&(t=o.goals[s],Wi.isPageBasedGoal(t.type)?(t.pUrl=t.pUrl||t.urlRegex,t.pExcludeUrl=t.pExcludeUrl||t.excludeUrl):t.pUrl=t.pUrl||".*");o.globalCode||(o.globalCode={pre:"",post:""}),o.ss&&o.ss.csa&&void 0===window._vis_opt_check_segment[e]&&(window._vis_opt_check_segment[e]=!0)},isPageBasedGoal:function(e){return e===Yo.SEPARATE_PAGE||e===Yo.CUSTOM_GOAL||e===Yo.REVENUE_TRACKING},createUUIDCookie:function(e){var t=Wi.getUUID(e),n=e&&Ci[e].multiple_domains?"_"+e:"";return x.get("_vwo_uuid"+n)||Wi.createCookie("_vwo_uuid"+n,t,Vi,e),VWO.data=VWO.data||{},VWO.data.vin=VWO.data.vin||{},VWO.data.vin.uuid=t},sendCall:function(e,t,n,o){var i,r,a,s;Oi.deferOnConsent("sendCall",this,t,null,e,null,e,null,n,{cu:document.URL,ru:document.referrer})||e.indexOf("e.gif")<0&&!di(fi)||(i=Ai,VWO.data.collUrl&&-1x',t.firstChild.href},isHashPresent:function(e){return-1!==e.indexOf("#")},isQueryParamPresent:function(e,t){var n=e.indexOf("#"),o=e.indexOf("?"),i=t?-1:e.indexOf("=");return-1===n?-1!==o||-1!==i:-1!==o&&othis.lastSent:"Hash"===this.type&&0Mr.getFirstSessionId()},Br.prototype.isSessionInfoSynced=function(){return this.getSNCookieValueByIndex(mr.SESSION_SYNCED_STATE_INDEX)},Br.prototype.updateAndSyncPageId=function(){VWO._.pageId||(VWO._.pageId=Mr.updatePageId())},Br.prototype.updatePageId=function(){var e=this.getPageId();return this.shouldUpdatePageCount()&&(e+=1),this.markPageId(e),e},Br.prototype.shouldUpdatePageCount=function(){var e=Gr(),t=parseInt(e&&e[1],10);return!t||ne(!0)-Mr.getFirstSessionId()>t},Br.prototype.getPageId=function(){var e=Gr();return(e=e&&e[0])?parseInt(e,10):0},Br.prototype.markPageId=function(e){this.setSNCookieValueByIndex(mr.PAGE_ID_INFORMATION_INDEX,e)},Br.prototype.getSessionStore=function(){return x.get(mr.TRACK_SESSION_COOKIE_NAME)},Br.prototype.getSNCookieValueByIndex=function(e){var t=this.getSessionStore();return t?t.split(":")[e]:null},Br.prototype.getFirstSessionId=function(){var e=Sr.getDataStore();return e||(this.createGlobalCookie(),e=Sr.getDataStore()),e&&+e.split(":")[mr.FIRST_SESSION_ID_INDEX]},Br.prototype.getDSCookieValueByIndex=function(e){var t=this.getGlobalCookie();return t?t.split("$")[e]:null},Br.prototype.shouldSendSessionInfoInCall=function(e){return window._vwo_exp[e].version>=zo.AB_MIGRATED_CAMPAIGN_VERSION&&window._vwo_exp[e].ps},Br.prototype.getRelativeSessionId=function(){var e,t=this.getSessionStore();return t||(e=ne(!0)-Mr.getFirstSessionId(),this.setSessionStore(e),t=this.getSessionStore()),t&&+t.split(":")[mr.RELATIVE_SESSION_ID_INDEX]},Br.prototype.getSessionId=function(){return this.getFirstSessionId()+this.getRelativeSessionId()},Br.prototype.getPcTraffic=function(){return void 0!==this.pcTraffic&&null!==this.pcTraffic||(this.pcTraffic=this.getPcTrafficFromCookie(),this.pcTraffic=this.pcTraffic||parseFloat((100*xr.random()).toFixed(8))),this.pcTraffic},Br.prototype.getPcTrafficFromCookie=function(){var e=Sr.getDataStore();return e?parseFloat(e.split(":")[mr.PC_TRAFFIC_INDEX]):null},Br.prototype.setSessionStore=function(e){Wi.createCookie(mr.TRACK_SESSION_COOKIE_NAME,e,mr.TRACK_SESSION_COOKIE_EXPIRY)},Br.prototype.getGlobalCookie=function(){return x.get(mr.TRACK_GLOBAL_COOKIE_NAME)},Br.prototype.createGlobalCookie=function(){var e=mr.COOKIE_VERSION+"$"+te(!0)+":"+this.getPcTraffic()+"::";Wi.createCookie(mr.TRACK_GLOBAL_COOKIE_NAME,e,mr.TRACK_GLOBAL_COOKIE_EXPIRY)},Br.prototype.setSNCookieValueByIndex=function(e,t){var n=this.getSessionStore(),o=n&&n.split(":")||[];o[e]=t,this.setSessionStore(o.join(":"))},Br.prototype.expireSessionOnDateChange=function(){var e,t;!this.getSessionStore()||(e=this.getSessionId())&&(t=new Date(1e3*e).getDate(),new Date(ne()).getDate()!==t&&this.expireSession())},Br.prototype.updateSession=function(){var e=this.getSessionStore();e&&this.expireSessionOnDateChange(),e=this.getSessionStore(),this.sessionTimer||e?(e&&this.setSessionStore(e),this.updateSessionTimer()):this.retrackVisitor()},Br.prototype.updateSessionTimer=function(){var e=this;this.sessionTimer&&window.clearTimeout(this.sessionTimer),this.sessionTimer=window.setTimeout(function(){return e.expireSession()},mr.SESSION_TIMER_EXPIRE)},Br.prototype.expireSession=function(){this.sessionTimer=null,x.erase(mr.TRACK_SESSION_COOKIE_NAME)},Br.prototype.retrackVisitor=function(){var e=ne(!0)-Mr.getFirstSessionId();this.setSessionStore(e),g(kr.RETRACK_VISITOR)},Br.prototype.getInfo=function(){return this.vwoSn},Br.prototype.removeInfo=function(){wr.remove(Br.LOCAL_STORAGE_NAME),this.vwoSn={cu:"",r:"",lt:0,v:"0.1.0"}},Br.prototype.getLocalStorageSession=function(e){var t=wr.get(Br.LOCAL_STORAGE_NAME);try{t=t?ko(t):null}catch(t){Dr(),this.createLocalStorageSession(!0),e||this.getLocalStorageSession(!0)}return t?(t.v?(t.cu=decodeURIComponent(t.cu),t.r=decodeURIComponent(t.r)):t.v="0.1.0",t):null},Br.prototype.setLocalStorageSession=function(){this.vwoSn.v&&(this.vwoSn.cu=encodeURIComponent(this.vwoSn.cu),this.vwoSn.r=encodeURIComponent(this.vwoSn.r)),wr.set(Br.LOCAL_STORAGE_NAME,xo(this.vwoSn))},Br.prototype.updateLocalStorageSession=function(){var e=this.getLocalStorageSession();!e||(ne(!0)-e.lt)/60>Br.LOCAL_STORAGE_SESSION_EXPIRY?this.createLocalStorageSession():this.updateTimestampInfo(e)},Br.prototype.createLocalStorageSession=function(e){e?(this.vwoSn.cu=document.URL+"#vwo_fix",this.vwoSn.r=document.referrer+"#vwo_fix"):(this.vwoSn.cu=document.URL,this.vwoSn.r=document.referrer),this.vwoSn.lt=ne(!0),this.setLocalStorageSession()},Br.prototype.updateTimestampInfo=function(e){this.vwoSn=e,this.vwoSn.lt=ne(!0),this.setLocalStorageSession()},Br.LOCAL_STORAGE_SESSION_EXPIRY=30,Br.LOCAL_STORAGE_NAME=window._vis_debug?"debug_vwoSn":"vwoSn",Br.ACCOUNT_ID=window._vwo_acc_id,Br);function Br(){var e=this;this.vwoSn={cu:"",r:"",lt:0,v:"0.1.0"},this.firstSessionCreated=!1,(Mr=this).visitorInformation=window.VWO.data.vi=window.VWO.data.vi||{},this.expireSessionOnDateChange();var t=this.getLocalStorageSession();t?this.vwoSn=t||{}:this.createLocalStorageSession(),Un.onEventReceive(kr.NEW_SESSION,function(){x.erase(mr.TRACK_SESSION_COOKIE_NAME)}),this.getSessionStore()&&this.initialize(),Ir.track(function(){e.updateLocalStorageSession()}),Un.onEventReceive(kr.REDIRECT_DECISION,function(e){var t=e[2];(Wi.isSessionBasedCampaign(t)||Wi.isAbMigrationEnabled(t))&&Ur()})}for(var jr={getHashedFileName:function(e){var t=window._vwo_lib_cb||+new Date;return(e=e.split("."))[0]=e[0]+"-"+t,e.join(".")},getMajorVersion:function(e){return/^v?(\d+)(?:\.\d+)+.*$/.exec(e)[1]+".0"},getSyncLibraryVersion:function(e,t){var n,o=this.getMajorVersion(t);return e!==o&&parseInt(o,10)<=parseInt(e,10)&&(n=e),"3.0"===n&&(n="track"),n}},$r={},Hr=window._vwo_exp,Kr=VWO.data.gC||[],qr=[],Jr,Yr=0;YrparseInt(d.vn)&&!u&&this.syncFromBackend(e,t,o),{dataPresent:!0,val:d.val}}return this.syncFromBackend(e,t,o),{dataPresent:!1}},ta.prototype.fixResponse=function(e){var t={fns:{}};for(var n in e.fns=e.fns||{},e.fns)for(var o in e.fns[n]){var i=e.fns[n][o],r=JSON.stringify(JSON.parse(o));t.fns[n]=t.fns[n]||{},t.fns[n][r]=i}return t},ta.prototype.updateStorage=function(){if(h(e=JSON.parse(this.response)).length){var e,t=VWO._.contentSyncService,n=t.storageObj.getVal(t.storageLookUpKey),o={};n&&(o=n);var i=(e=t.fixResponse(e)).fns;for(var r in i){var a=i[r];for(var s in a){o.fns=o.fns||{},o.fns[r]=o.fns[r]||{};var c=o.fns[r][s];if(c)if(parseInt(c.vn)==parseInt(a[s].vn)){var d=o.fns[r][s].argVn,u=!0;for(var l in d){if(!a[s].argVn[l]||!u){u=!1;break}for(var _ in d[l]){var v=a[s].argVn[l][_],p=d[l][_];if(!v||parseInt(p)<=parseInt(v)){u=!1;break}}}u||(o.fns[r][s]=a[s])}else parseInt(c.vn)t&&(t=s.timer),s.timeout&&s.timeout>n&&(n=s.timeout),a.muts.pre.enabled&&(a.manual=!0),Kc.hideElements(r))}return{enabled:e,timer:t,timeout:n}}var Kc={evalTags:function(){var e=VWO._.dtc;if(e){var t,n=VWO._.dtc.tag;try{t=e.sC()}catch(e){return void Kc.loadTags(n)}t?No.on(e.tC,function(){},{js:e.js,id:e.ctId,validForThisPage:!0}):Kc.loadTags(n)}},init:function(e){var t,n,o;e=e||function(){},VWO._&&VWO._.dtc&&VWO._.dtc.tag&&Kc.evalTags(),Gc(),VWO.data&&yc(VWO.data.deps),3===VWO.data.tcVersion&&((t=w.get("_vwo_dyn"))&&(t=vwo_$.parseJSON(t),window._vwo_geo=t.geo,window._vwo_ip=t.ip,window.VWO.data.vi=t.vi),VWO.data.tpcr&&!window.VWO.consentMode?(n=ns+"tpc?a="+Ba+"&r="+Ia.random(),o=window.VWO.nonce?" nonce="+window.VWO.nonce:"",document.write(window.unescape("%3Csc")+"ript"+o+' onerror="window.vwoSyncTpcFailed=true" src="'+n+'">'+window.unescape("%3C/s")+"cript>"),window.vwoSyncTpcFailed&&(window._vwo_text="body"+za,Kc.hideElements(),pc(n,function(){Wi.delCSS("body")}))):Ic()),VWO.push(["onEventReceive",en.TRACK_SESSION_CREATED,function(){$c()}]);var i=vwo_$(document)[0];function r(){window._vwo_settings_timed_out=!1,_vwo_code.libExecuted=1,e()}i&&!i.vwoFEvent&&Kc.monitorSubmissions(),i&&!i.vwoCEvent&&Kc.monitorClicks();var a=!0;dc()?!window._vwo_settings_timed_out&&window._vwo_code.finished()&&Kc.triggerEvent(en.TOP_INITIALIZE_ERROR,null,void 0,void 0,void 0,!0):(window.clearTimeout(Pa),se(function(){Kc.topInitialize(),se(function(){vwo_$(document).ready(Kc.bottomInitialize),r()})}),a=!1),a&&r()},bottomInitialize:function(e,t,n){var o;t=t||Da,e&&e.fn&&e.fn.jquery&&(e=ds?Ss.CANCEL_AFTER_TIMEOUT:Ss.CANCEL_ALWAYS),Fa=!0,Kc.triggerEvent(en.BOTTOM_INITIALIZE_BEGIN),1!==ba?(Kc.applyExperiments(e,t,n),VWO._.bIE=1,window._VWO=window._VWO||[],window._VWO.uhdCp=1,Kc.timeout(),(o=window._vwo_code).removeLoaderAndOverlay&&o.removeLoaderAndOverlay(),327114===Ba||ba||Ji.finish(),Da.length=0,Kc.triggerEvent(en.BOTTOM_INITIALIZE_END)):Kc.triggerEvent(en.BOTTOM_INITIALIZE_END,!0)},collectAndSendDataForGA:function(e,t){var n,o,i,r,a;Wi.isSessionBasedCampaign(e)||(n=0,Ua[e]={},Ua[e].c=t,Ua[e].n=ya[e].comb_n[Ua[e].c]||"",(o=ya[e].GA?"GA":ya[e].UA?"UA":"")&&!ya[e][o].tracked&&(Kc.gaTrack(e,ya[e][o].s,ya[e][o].p,o),ya[e][o].tracked=!0),ya[e].GTM&&(Ts||window.google_tag_manager||(this.pollTillGTMLoad(),Ts=!0),i=ce(),(r={})["Campaign-"+e]=Ua[e].n,window[i]=window[i]||[],a=window[i].push(r),Ts&&As&&As.push(a-1),"dataLayer"!==i&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(r)),n=1),n&&Rc(i))},pollTillGTMLoad:function(){var e=setInterval(function(){var t;window.google_tag_manager&&(t=ce(),window.dataLayer&&window.dataLayer.length&&"dataLayer"!==t&&window.dataLayer.filter(function(e,t){return-1!==As.indexOf(t)}).forEach(function(e){window[t]=window[t]||[],window[t].push(e)}),As=void 0,clearInterval(e),clearTimeout(n))},50),n=setTimeout(function(){clearInterval(e)},5e3)},applyExperiments:function(e,t,n){for(var o,i,r,a,s,c,d=t.length,u=!1;d--;)if(i="",o=t[d],n=!!n,ya[o].manual===n){if(ya[o].ready){if(c=ya[o].type,u=!1,D.SPLIT_CAMPAIGN!==c&&!Wi.isDomIndependentCampaign(c)){if(!((i=Ta||Mi.getCombi(o))||(u=!0,i=Kc.chooseCombination(o))))return;for(var l in Kc.triggerEvent(en.ELEMENT_LOAD_TIMER_STOP,o,i),Kc.bottomRenderCombination(i,o,e),ya[o].applied=!0,e===Ss.CANCEL_AFTER_TIMEOUT&&ya[o].ready?Tc(o):ac(e,o)&&Kc.clearTimeouts(o),Mi.record(i,o,u),i&&Kc.executeCampaignJS(ya[o],o,i,"post"),ja)ja.hasOwnProperty(l)&&Kc.triggerEvent(en.ELEMENT_NOT_LOADED,o,ja[l][0],ja[l][1],l)}}else if(VWO&&VWO._&&VWO._.ac&&VWO._.ac.spaR&&ya[o].applied){delete ya[o].applied;var _=Mi.getCombi(o);try{if(ya[o].globalCode.post&&vwo_$(".vwo_loaded_post_"+o).remove(),_)for(var v=ya[o].sections[1].variations[_],p=v.length-1;0<=p;p--){var f=v[p];f.rjs&&(new Function("var x=arguments[0],vwo_$=arguments[1];"+f.rjs).call(this,f.xpath,vwo_$,function(){}),vwo_$(""+f.xpath).removeClass("vwo_loaded_"+o))}}catch(e){var g="[JSLIB_CORE] Error during reverting changes on expId:"+o+" and combination: "+_;window.VWO._.customError&&window.VWO._.customError({msg:g,url:"core.js",source:encodeURIComponent(g)})}}if(os!==typeof window._vis_opt_revenue)for(Kc.triggerEvent(en.CONVERT_REVENUE_GOALS_FOR_EXPERIMENT,o,window._vis_opt_revenue),a=(r=q(ya[o].goals)).length;a--;)s=r[a],Yo.REVENUE_TRACKING===ya[o].goals[s].type&&Kc.isGoalEligible(ya[o].goals[s])&&Kc.registerConversion(s,o,window._vis_opt_revenue)}ba||Ji.finish(),Ma=!1},timeout:function(){window._vwo_code.finish(),Wi.delAllCSS(),Kc.finished=1},monitorSubmissions:function(){var e=vwo_$(document)[0];Ta||(tn.addJqEventListener(vwo_$(e),"bind","submit",Ac),e&&(e.vwoFEvent=1))},monitorClicks:function(){var e=vwo_$(document)[0],t=vwo_$(e);Ta||(Vs&&Vs.ptrEv?tn.addJqEventListener(t,"bind","pointerdown",tc).addJqEventListener(t,"bind","pointermove",function(e){return"touch"===e.pointerType&&(Ja=!0)}).addJqEventListener(t,"bind","pointerup",nc):tn.addJqEventListener(t,"bind","touchmove",qs).addJqEventListener(t,"bind","mousedown",ec).addJqEventListener(t,"bind","touchend",Qs)),e&&(e.vwoCEvent=1)},monitorPageForChanges:function(){var e;void 0!==oa&&(Lc||(Kc.resetCampaignsToObserve(),Lc=new oa(function(){var e=window.VWO._.txtCfg&&window.VWO._.txtCfg.o;for(var t in e&&window.VWO._.txtCfg.o.d(),Bc)Bc.hasOwnProperty(t)&&Kc.bottomRenderCombination(Bc[t],t);Kc.triggerEvent(en.EDITOR_APPLY_CHANGES_COMPLETE),e&&window.VWO._.txtCfg.o.c(document.body?"body":"html")}),(e=document.body||document.documentElement)&&Lc.observe(e,{subtree:!0,attributes:!0,childList:!0,attributeFilter:["class"]})))},isSSApp:function(e){if(!e)return!1;if(VWO._.ssdm)return VWO.data.sst&&VWO._.ssdm;try{var t=document.domain.match(e);if(t&&0')).vwoCss("display","none"),d.appendTo("body").html("

")),Kc.setCampaignToObserve(n,ya[n].combination_chosen);for(var f,g,w,h,O,m,E=void 0,C=0;C<\/script>"),f=[],2<=ya[n].version?(-1!==o.indexOf("_vwo_api_section_callback")&&(c=[],g.each(function(){c.push(vwo_$(this).clone())})),window._vis_debug&&(o="var log=arguments[2];"+o.replace(/\/\*vwo_debug/g,"").replace(/vwo_debug\*\//g,"")),E?E():new Function("var x=arguments[0],vwo_$=arguments[1];"+o).call(this,i,vwo_$,function(e,t){f.push({path:t,changes:String(e).split(" ")})}),void 0!==c&&vwo_$(c).each(function(){Va[l]&&"function"==typeof Va[l]&&Va[l](vwo_$(i),this)})):VWO.data.dVWOT||g.each(function(){"function"==typeof Va[parseInt(l,es)]&&(Kc.triggerEvent(en.API_SECTION_CALLBACK,n,l,Va[l]),Va[l](vwo_$("#vwo_temp").children(),vwo_$(""+Lo(this)+"")))}).replaceWith(vwo_$("#vwo_temp").html()),Wi.delCSS(i,n),Kc.markChangeAppliedOnElForCampaign(i,n),ya[n].version<2&&Kc.markChangeAppliedOnElForCampaign(vwo_$(i).find("*"),n),D.MVT_CAMPAIGN===_?Kc.triggerEvent(en.ELEMENT_CHANGES_APPLIED,n,l,u[C],i,o,f):Kc.triggerEvent(en.ELEMENT_CHANGES_APPLIED,n,"1",e,i,o,f),ya[n][hs]=1):Wi.delCSS(i,n)),Kc.finished&&ds&&ac(t,n)&&Kc.clearTimeouts(n)):(v[l].loaded=v[l].loaded||{},!0!==v[l].loaded[C]&&(v[l].loaded[C]=!0,Kc.triggerEvent(en.ELEMENT_LOADED,n,l,D.MVT_CAMPAIGN===_?u[C]:e,i),h=vwo_$(".vwo_loaded.vwo_loaded_"+n+"._vwo_variation_"+l),O=window.VWO.nonce?"nonce="+window.VWO.nonce:"",m=vwo_$(o.replace(/vwocspn="@tkn"/g,O).replace(/vwoCm.id/g,n)),vwo_$(i).append(Kc.markChangeAppliedOnElForCampaign(m,n).addClass("_vwo_variation_"+l)),h.remove(),Kc.triggerEvent(en.ELEMENT_CHANGES_APPLIED,n,l,D.MVT_CAMPAIGN===_?u[C]:e,i,o)))}}catch(t){Kc.triggerEvent(en.ELEMENT_LOAD_ERROR,n,e,t)}return window.vwo_$=p,!0}},elementLoaded:function(e,t){var n;Wi.isDomIndependentCampaign(ya[e].type)||(n=ya[e].combination_chosen,(236928===window._vwo_acc_id||486866')).vwoCss("display","none"),i.appendTo("head")),D.AB_CAMPAIGN===ya[e].type&&1==a&&Kc.unhideVariationIfNotSplit(e),Kc.triggerEvent(en.ELEMENT_LOAD_TIMER_START,e),se(function(){Kc.elementLoaded(e,d)})):D.AB_CAMPAIGN===ya[e].type&&1==a?Kc.unhideVariationIfNotSplit(e):(o||VWO.data.dVWOT||((i=vwo_$('')).vwoCss("display","none"),i.appendTo("head")),Kc.triggerEvent(en.ELEMENT_LOAD_TIMER_START,e,a),Kc.elementLoaded(e,d))}}else ya[e].ready=!1,Kc.unhideVariationIfNotSplit(e),ds&&Kc.triggerEvent(en.TEST_NOT_RUNNING,e);else n||(ya[e].ready=!1),Kc.unhideVariationIfNotSplit(e),ds&&Kc.triggerEvent(en.TEST_NOT_RUNNING,e)}(t,e,n),Fa?Kc.applyExperiments(d,[t],c):c?Kc.applyManualExperiments(d,t):Da.push(t))}),Kc.convertGoalVisitForDomDependent({id:t,verifyForGoal:!0},n),e&&e.se&&(336745!=window._vwo_acc_id||n)&&No.on(e.cspSeJs||e.se,function(e){e&&(Kc.triggerEvent(en.ELEMENTS_SHOWN_WITHOUT_CHANGES,t),Kc.unhideVariation(t))},{js:e.js,id:t,validForThisPage:!0})}(_))):ya[_].manual&&(ya[_].muts.pre.enabled||Kc.triggerEvent(en.WAITING_FOR_MANUAL_ACTIVATION,_))}},waitForDOMRenderingAndExecuteCampaign:function(e){var t,n=document.body||document.documentElement;Wc||(t=!1,n&&(Wc=new oa(function(){t=!0,(bc=bc||Uo(function(){Fc=!0,Wc.disconnect(),jc()},e.timer))()})).observe(n,{subtree:!0,childList:!0}),setTimeout(function(){t||(Fc=!0,jc(),Wc&&Wc.disconnect())},e.timeout))},isMonitorPageChangesRequired:function(){for(var e=0,t=Sa;e