window.googletag&&typeof googletag._gpt_js_load_2_=='function'&&googletag._gpt_js_load_2_(function(_,_m){var CV=function(a){var b=_.$e;if(!(0,_.TK)(a)){var c,d;b=(d=(c=typeof b==="function"?b():b)==null?void 0:c.concat("\n"))!=null?d:"";throw Error(b+String(a));}return a},EV=function(a){if(!DV.test(a))return null;a=Number(a);return isNaN(a)?null:a},FV=function(a,b){return a&&a.source?a.source===b||a.source.parent===b:!1},HV=function(a){var b={bottom:"auto",clear:"none",display:"inline","float":"none",height:"auto",left:"auto",margin:0,"margin-bottom":0,"margin-left":0,"margin-right":"0","margin-top":0,"max-height":"none","max-width":"none",opacity:1,overflow:"visible",padding:0,"padding-bottom":0,"padding-left":0,"padding-right":0,"padding-top":0,position:"static",right:"auto",top:"auto","vertical-align":"baseline",visibility:"visible",width:"auto","z-index":"auto"};_.Hy(_.x(Object,"keys").call(Object,b),function(c){var d=a.style[_.$y(c)];(typeof d!=="undefined"?d:a.style[_.eD(a,c)])||_.fD(a,c,b[c])});GV(a)},KV=function(a){var b=_.yi(new _.zi,a.jb);b=_.Ci(b,11,a.Ba);b=_.Di(b,8,a.pvsid);b=_.Di(b,7,a.qg);b=_.Ci(b,9,a.Ub);var c=_.Jq(b,IV,6,_.Bi);c=_.Ci(c,2,a.Zf);c=_.Ei(c,JV,1);_.hr(c,1,a.wo);c=_.Ei(b,_.Fi,5);_.ne(c,1,_.vc,a.ib);return b},LV=function(a){var b;a=((b=a===void 0?null:a)!=null?b:window).googletag;return(a==null?0:a.apiReady)?a:void 0},NV=function(a,b,c,d){return MV(a,"fullscreen",d.Ea(952,function(e,f){if(f.source===b){if(!("eventType"in e))throw Error("bad message "+JSON.stringify(e));delete e.googMsgType;c(e)}}))},PV=function(a,b,c,d,e){a=new OV(1,a,b,c,d,e);a.xa();return a},QV=function(a){var b;(b=a.g)==null||b.setAttribute("data-vignette-loaded","true")},RV=function(a){var b=a.ownerDocument,c=b.createElementNS("http://www.w3.org/2000/svg","line");c.setAttribute("x1","22");c.setAttribute("y1","18");c.setAttribute("x2","28");c.setAttribute("y2","12");a.appendChild(c);b=b.createElementNS("http://www.w3.org/2000/svg","line");b.setAttribute("x1","28");b.setAttribute("y1","12");b.setAttribute("x2","34");b.setAttribute("y2","18");a.appendChild(b)},SV=function(a){var b=a.ownerDocument,c=b.createElementNS("http://www.w3.org/2000/svg","line");c.setAttribute("x1","22");c.setAttribute("y1","12");c.setAttribute("x2","28");c.setAttribute("y2","18");a.appendChild(c);b=b.createElementNS("http://www.w3.org/2000/svg","line");b.setAttribute("x1","28");b.setAttribute("y1","18");b.setAttribute("x2","34");b.setAttribute("y2","12");a.appendChild(b)},TV=function(a,b,c){b!==null&&EV(a.getAttribute("width"))!==null&&a.setAttribute("width",String(b));c!==null&&EV(a.getAttribute("height"))!==null&&a.setAttribute("height",String(c));b!==null&&(a.style.width=_.pN(b));c!==null&&(a.style.height=_.pN(c))},UV=function(a){a=_.ii(a);a=100*(a<1?1:a);return{width:a+"vw",height:a+"vh"}},JV=function(a){this.C=_.D(a)};_.T(JV,_.E);var IV=function(a){this.C=_.D(a)};_.T(IV,_.E);var VV=function(a,b,c,d){if(!a.U){a.U=[];for(var e=a.j.parentElement;e;){a.U.push(e);if(a.g===e)break;e=e.parentNode&&e.parentNode.nodeType===1?e.parentNode:null}}e=a.U.slice();!c&&a.g===e[e.length-1]&&e.pop();var f;if(d)for(c=e.length-1;c>=0;--c)(f=e[c])&&b.call(a,f,c,e);else for(c=0;ca?b>e?b:e:b1&&iW(a[f],b,c,d,--e)},jW=function(a){var b=a.screen.height===812&&a.screen.width===375||a.screen.width===812&&a.screen.height===375||a.screen.width===414&&a.screen.height===896||a.screen.width===896&&a.screen.height===414;return(a.navigator&&a.navigator.userAgent&&a.navigator.userAgent.match(/iPhone OS 1[1-9]|[2-9]\d/))!=null&&b},nW=function(a,b){_.W.call(this);this.B=a;this.F=this.j=this.g=!1;if(_.Jf(a)&&b.length)for(a=_.z(b),b=a.next();!b.done;b=a.next())switch(b.value){case 0:kW(this);break;case 1:lW(this);break;case 2:mW(this)}else this.dispose()};_.T(nW,_.W);nW.prototype.xa=function(){this.L||this.l(_.Jf(this.B))};var kW=function(a){var b=function(d){d.isTrusted&&(a.j=!0,a.l(d.timeStamp))},c=function(d){d.isTrusted&&(a.j=!1,a.l(d.timeStamp))};_.sf(a.B,"focus",b);_.sf(a.B,"blur",c);_.Bp(a,function(){return void a.B.removeEventListener("focus",b)});_.Bp(a,function(){return void a.B.removeEventListener("blur",c)});a.j=a.B.document.hasFocus()},lW=function(a){var b=function(c){c.isTrusted&&(a.g=_.Bs(a.B.document)===1?!0:!1,a.l(c.timeStamp))};_.sf(a.B.document,"visibilitychange",b);_.Bp(a,function(){return void a.B.document.removeEventListener("visibilitychange",b)});a.g=_.Bs(a.B.document)===1},mW=function(a){var b=a.B.document.body.getBoundingClientRect().top+10,c=function(d){d.isTrusted&&(a.F=d.clientY=1&&(this.progress=1);a=this.j?this.j(this.progress):this.progress;this.l=[];for(var b=0;b=0||_.wg(_.EC(PW),function(e){return d.call(c,e)})},!1,20)},OW=function(a){var b=LV(a);return b?_.ti(_.Iy(b.pubads().getSlots(),function(c){return a.document.getElementById(c.getSlotElementId())}),function(c){return c!=null}):null},PW={Mo:"ins.adsbygoogle-ablated-ad-slot",Oo:"body ins.adsbygoogle",No:"iframe[id^=aswift_],iframe[id^=google_ads_frame]",ap:".google-auto-placed",bp:"ins.adsbygoogle[data-anchor-status]",cp:"iframe[id^=google_ads_iframe]",jp:"div[id^=div-gpt-ad]",Cp:"ins.adsbygoogle[data-ad-format=autorelaxed]",Dp:"div.trc_related_container,div.OUTBRAIN,div[id^=rcjsload],div[id^=ligatusframe],div[id^=crt-],iframe[id^=cto_iframe],div[id^=yandex_], div[id^=Ya_sync],iframe[src*=adnxs],div.advertisement--appnexus,div[id^=apn-ad],div[id^=amzn-native-ad],iframe[src*=amazon-adsystem],iframe[id^=ox_],iframe[src*=openx],img[src*=openx],div[class*=adtech],div[id^=adtech],iframe[src*=adtech],div[data-content-ad-placement=true],div.wpcnt div[id^=atatags-]",ip:"div.googlepublisherpluginad",Tp:"html > ins.adsbygoogle"};var RW=function(a){_.W.call(this);var b=new _.Jh,c=b.resolve;this.promise=b.promise;a.onmessage=function(){return c()};_.Bp(this,function(){a.close()})};_.T(RW,_.W);var SW=function(){var a=new _.Jh,b=a.resolve;return{lo:function(c,d){d!=null&&d.ports.length&&b(new RW(d.ports[0]))},ko:a.promise}};var TW=["mousemove","mousedown","scroll","keydown"],VW=function(a){_.W.call(this);var b=this;this.B=a;this.g=[];this.l=_.qA(function(){UW(b)})};_.T(VW,_.W);VW.prototype.listen=function(a){this.l();this.g.push(a)};var UW=function(a){for(var b=null,c=null,d=function(m){if(b&&m.timeStamp-b>3E4)for(var n={Fc:m.timeStamp,Nm:m.timeStamp-b,Eo:c},p=_.z(a.g),q=p.next();!q.done;q=p.next()){q=q.value;try{q(n)}catch(t){}}b=m.timeStamp},e=_.z(TW),f=e.next();!f.done;f=e.next())a.B.addEventListener(f.value,d);var h=null,k,l;((k=a.B.navigator)==null?0:k.userActivation)&&((l=a.B.performance)==null?0:l.now)&&(h=a.B.setInterval(function(){a.B.navigator.userActivation.isActive&&(c=a.B.performance.now())},1E3));_.Bp(a,function(){for(var m=_.z(TW),n=m.next();!n.done;n=m.next())a.B.removeEventListener(n.value,d);h&&a.B.clearInterval(h)})};var XW=function(a){_.W.call(this);var b=this;this.B=a;this.g=[];this.l=_.qA(function(){WW(b)})};_.T(XW,_.W);XW.prototype.listen=function(a){this.l();this.g.push(a)};var WW=function(a){var b=null,c=function(e){e.isTrusted&&(b=e.timeStamp)},d=function(e){var f=e.timeStamp;if(e.isTrusted){e=_.x(Object,"assign").call(Object,{},{Fc:f},b?{ro:f-b}:null);f=_.z(a.g);for(var h=f.next();!h.done;h=f.next()){h=h.value;try{h(e)}catch(k){}}}};a.B.addEventListener("focus",d);a.B.addEventListener("blur",c);_.Bp(a,function(){a.B.removeEventListener("focus",d);a.B.removeEventListener("blur",c)})};var YW=function(a,b,c,d,e,f){_.W.call(this);var h=this;this.Ja=c;this.l=d;this.ib=e;this.g=Math.floor(_.th()*2147483647);this.reportEvent=function(k,l,m){m=m===void 0?{}:m;k=_.x(Object,"assign").call(Object,{etc:h.g,e:k,t:Math.round(l),qqid:h.l,ptt:h.ib},m);_.si(h.Ja,"eit",k,!0,1)};this.reportEvent(1,b);b=_.z(f);d=b.next();for(c={};!d.done;c={gd:void 0,jg:void 0},d=b.next())switch(c.gd=d.value,c.gd){case 101:d=new pW(a);d.J.then(function(k){return function(l){return void h.reportEvent(k.gd,l)}}(c));_.R(this,d);break;case 102:c.jg=new sW(a);c.jg.J.then(function(k){return function(l){return void h.reportEvent(k.gd,l,{tbd:Math.round(k.jg.D||-1)})}}(c));_.R(this,c.jg);break;case 103:d=new XW(a);d.listen(function(k){return function(l){var m;h.reportEvent(k.gd,l.Fc,{tsb:(m=l.ro)!=null?m:-1})}}(c));_.R(this,d);break;case 104:d=new VW(a);d.listen(function(k){return function(l){var m;h.reportEvent(k.gd,l.Fc,{it:l.Nm,ualta:(m=l.Eo)!=null?m:-1})}}(c));_.R(this,d);break;case 105:d=new rW(a),d.listen(function(k){return function(l){h.reportEvent(k.gd,l.Fc)}}(c)),_.R(this,d)}};_.T(YW,_.W);var $W=function(a){this.g=null;this.l=a.match(_.BC)[3]||"";this.j=ZW(a);this.o=!1},aX=function(a,b){b?a.g=new RegExp("\\b("+b.join("|").toLowerCase()+")\\b","ig"):a.g=null},dX=function(a,b,c){if(_.wg(["data-google-vignette","data-google-interstitial"],function(f){return b.getAttribute(f)==="false"||b.closest&&!!b.closest("["+f+'="false"]')}))return!1;var d=b.href,e=d&&(d.match(_.BC)[3]||null);if(!bX(a,b,d,e,c))return!1;a.o=!!e&&cX(a,e);return a.o||!c&&!QW(b)&&/^https?:\/\//i.test(d)&&!/((facebook|whatsapp|youtube|google)\.com)|\/ads?\//i.test(d)},bX=function(a,b,c,d,e){if(!c)return!1;switch(b.target){case "_top":case "_parent":break;case "":case "_self":if(e)return!1;break;default:return!1}return!d||cX(a,d)&&ZW(c)==a.j?!1:!0},cX=function(a,b){return b.replace(eX,"")==a.l.replace(eX,"")},ZW=function(a){a=a.match(_.BC);var b=a[6];return(a[5]||"")+(b?"?"+b:"")||"/"},eX=/^(www\.|m\.|mobile\.)*/i;var hX=function(a,b,c,d,e){e=e===void 0?{}:e;_.W.call(this);var f=this;this.F=a;this.fa=b;this.la=c;this.Ja=d;this.Pa={};this.Yc=this.la.Ea(168,function(h,k){return void fX(f,h,k)});this.bd=this.la.Ea(169,function(h,k){_.si(f.Ja,"ras::xsf",{c:k.data.substring(0,500),u:f.F.location.href.substring(0,500)},!0,.1);return!0});this.ba=[];gX(this,this.Pa,e);this.ba.push(MV(this.F,"sth",this.Yc,this.bd))};_.T(hX,_.W);var fX=function(a,b,c){try{if(!a.Fa(c.origin)||!FV(c,a.fa.contentWindow))return}catch(f){return}var d=b.msg_type,e;typeof d==="string"&&(e=a.Pa[d])&&a.la.Tb(168,function(){e.call(a,b,c)})};hX.prototype.Fa=function(a){return _.PC[a]||bW.test(a)||cW.test(a)||dW.test(a)};hX.prototype.o=function(){for(var a=_.z(this.ba),b=a.next();!b.done;b=a.next())b=b.value,b();this.ba.length=0;_.W.prototype.o.call(this)};var lX=function(a,b,c,d,e,f,h,k,l,m,n,p){var q={};hX.call(this,a,b,c,e,(q.fullscreenApi=k.Wk,q.heavyAdInterventionResponse=k.Km,q));var t=this;this.A=d;this.requestedSize=f;this.J=k;this.R=m;this.g=n;this.mb=_.If();this.va=h["i-fvs"]==="true";this.Zf=h.qid;this.K=p!=null?p:new $W(a.location.href);this.Yb=h.iobs==="true"&&"IntersectionObserver"in this.F;var w,v;aX(this.K,(v=(w=h.stop_word)==null?void 0:w.split(";"))!=null?v:null);this.H=this.J.Wk?PV(a,b.contentWindow,c,e,this.J.ig):null;_.R(this,this.H);this.D={Ij:!1};this.j={};this.pa={tag:0};this.l={mq:!0,ol:!1,qf:!1,Vg:!0};iX(this);jX(this);l.size&&(b=new _.Jh,b.promise.then(function(H){t.l.Ae||t.L||kX(t,H)}),this.Va=new tW(a,l,b),_.R(this,this.Va));var y;if((y=k.kj)==null?0:y.length)if(l=_.Jf(a)){var A=new YW(a,l,e,this.Zf,17,k.kj);_.R(this,A);this.Vc=function(H){A.reportEvent(2,H-_.Lf(a))}}};_.T(lX,hX);var iX=function(a){a.H&&(KW(a.H).then(function(){QV(a.A);a.U()}),LW(a.H).then(function(){return void mX(a)}),MW(a.H).then(function(){return void a.ha()}))},gX=function(a,b,c){b["i-blur"]=function(){a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:27}));a.l.qf=!0;a.l.Th&&(a.l.Vg=!0)};b["i-no"]=function(h){a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:26}));a.pa={tag:1,rq:h.i_tslv?h.i_tslv:void 0}};if(c.heavyAdInterventionResponse){var d=CV(c.heavyAdInterventionResponse);if(d){var e=SW(),f=e.ko;b["i-hai-aux"]=e.lo;f.then(function(h){_.R(a,h);h.promise.then(function(){return d()})})}}c.fullscreenApi||(b["i-adframe-load"]=function(){QV(a.A);a.U()},b["i-dismiss"]=function(){mX(a)},b.i_iif=function(){a.ha()})};lX.prototype.U=function(){var a=a===void 0?!1:a;this.D.Zj||(this.D.Zj=_.If(),a&&QV(this.A))};var mX=function(a){a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:33}));a.l.qf?(nX(a)?(a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:34})),a.F.history.back()):(a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:35})),oX(a)),a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:36}))):(_.ea.setTimeout(function(){oX(a)},1E3),a.l.vh?(a.l.Th&&(a.l.Vg=!1),pX(a,a.l.vh)):a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:37})))};lX.prototype.ha=function(){this.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},this.g,{T:23}));this.D.Ij=!0};var qX=function(a){nX(a)||(a.F.location.hash="google_vignette");a.l.Th=a.la.Ea(526,function(){a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:62}));a.l.Vg?(nX(a)?(a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:64})),pX(a,a.j.ab.href)):oX(a),a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:65}))):a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:63}))});_.ea.setTimeout(_.my(_.sf,a.F,"hashchange",a.l.Th),0)},rX=function(a,b){a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:10}));var c=_.If(),d=_.Ri(a.F).wasReactiveAdVisible[9];if(b){var e=a.K;if(b&&e.g){var f=[];wW(b,f,!0,!0);b=f.join("");b=b.replace(xW," ").replace(yW,"");b=b.replace(zW,"");b=b.replace(AW," ");b!=" "&&(b=b.replace(BW,""));if(b){e=b.match(e.g);b=[];for(f=0;e&&f=0||b.push(h)}e=b}else e=[]}else e=[]}else e=[];(b=a.J.Mm)||(b=_.fi(a.F),b=Math.abs(b-1)<.05);f=a.requestedSize.width=864E5)return a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:11})),!1;a:switch(a.pa.tag){case 0:c=!0;break a;case 1:c=!1;break a;default:c=!1}if(!c)return a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:12})),!1;if(a.D.Ij)return a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:13})),!1;if(nX(a))return a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:14})),!1;if(!a.D.Zj)return a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:15})),!1;if(!a.va&&d)return a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:16})),!1;a.va&&a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:17}));d&&a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:18}));if(e.length)return a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:19})),!1;if(!b)return a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:20})),!1;if(!f)return a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:21})),!1;a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:22}));return!0},tX=function(a,b){a.l.Od=sX(a,b,"prerender");a.l.Nd=sX(a,b,"prefetch");a.F.document.body.appendChild(a.l.Od);a.F.document.body.appendChild(a.l.Nd)},sX=function(a,b,c){a=_.Mf("LINK",a.F.document);a.setAttribute("rel",c);a.setAttribute("href",b);return a},uX=function(a,b){for(b=b.target;b;){if("nodeName"in b&&b.nodeName==="A"){if(dX(a.K,b,b.ownerDocument!==a.F.document))return b;break}b="parentElement"in b?b.parentElement:null}return null};lX.prototype.o=function(){this.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},this.g,{T:24}));hX.prototype.o.call(this);nX(this)&&pX(this,this.j.ab.href);this.j.Vb&&(_.Nf(this.F.document,"click",this.j.Vb),this.j.Vb=void 0);this.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},this.g,{T:25}))};var oX=function(a){a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:38}));a.l.Ae?(a.l.ol=!0,a.j.Vb&&(_.Nf(a.F.document,"click",a.j.Vb),a.j.Vb=void 0),a.l.Od&&a.l.Od.parentNode&&(a.l.Od.parentNode.removeChild(a.l.Od),a.l.Od=void 0),a.l.Nd&&a.l.Nd.parentNode&&(a.l.Nd.parentNode.removeChild(a.l.Nd),a.l.Nd=void 0),vX(a.A,!1),a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:40}))):a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:39}))},jX=function(a){a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:41}));if(a.j.Vb)a.R.log(578856259,_.Hi,_.x(Object,"assign").call(Object,{},a.g,{T:42}));else{a.j.Vb=a.la.Ea(527,function(e){wX(a,e)});if(a.j.Vb!==null){var b=a.j.Vb;_.sf(a.F.document,"click",function(e){b(e)},WV)}for(var c=a.F.frames,d=0;d=this.l)delete this.g[a];else break;this.o=a;a>=this.g.length&&this.reset()};zX.prototype.reset=function(){this.g=[];this.o=0};var BX=function(a,b,c,d){_.W.call(this);var e=this;this.F=a;this.target=b;this.handle=c||b;this.Va=d||100;this.A=this.J=this.fa=!1;this.H=this.g=this.l=this.j=this.ha=this.I=this.U=this.K=null;this.Eb=new yX(this.handle,"mousedown",function(f){f.button==0&&AX(e,f)});_.R(this,this.Eb);this.Yb=new yX(this.handle,"touchstart",function(f){return AX(e,f)});_.R(this,this.Yb);this.mb=new yX(this.handle,"click",function(f){e.fa?(e.onClick(),e.fa=!1):f.stopPropagation()});_.R(this,this.mb)};_.T(BX,_.W);var CX=function(a){a=a.touches&&a.touches[0]||a;return new _.Dm(a.clientX,a.clientY)};BX.prototype.ia=function(){if(this.j&&this.l&&this.g){var a=this.j,b=XV(this.g,this.l);var c=new _.Dm(a.x+b.x,a.y+b.y);a=this.target;c instanceof _.Dm?(b=c.x,c=c.y):(b=c,c=void 0);a.style.left=_.mD(b,!1);a.style.top=_.mD(c,!1)}};BX.prototype.ka=function(){};BX.prototype.onClick=function(){};BX.prototype.ba=function(){var a=this.target,b=_.wC(a);var c=fW(a);b=fW(b);c=new _.Dm(c.x-b.x,c.y-b.y);a=hW(a,"margin");return XV(c,new _.Dm(a.left,a.top))};var AX=function(a,b){a.J&&DX(a);a.J=!0;a.j=a.ba();a.l=CX(b);a.g=a.l;a.H=new zX(a.Va);a.H.add(a.l);a.K=new yX(a.F,"mousemove",(0,_.ly)(a.Fa,a));_.R(a,a.K);a.U=new yX(a.F,"touchmove",(0,_.ly)(a.Fa,a));_.R(a,a.U);a.I=new yX(a.F,"mouseup",(0,_.ly)(a.Pa,a));_.R(a,a.I);a.ha=new yX(a.F,"touchend",(0,_.ly)(a.Pa,a));_.R(a,a.ha)};BX.prototype.Fa=function(a){if(this.J)if(a.preventDefault(),this.g=CX(a),this.H.add(this.g),this.A)this.ia();else{var b=this.l,c=this.g;a=b.x-c.x;b=b.y-c.y;Math.sqrt(a*a+b*b)>=10&&(this.ia(),this.A=!0)}};BX.prototype.Pa=function(a){this.A?(a.preventDefault(),this.g=CX(a),this.ka()):this.fa=!0;DX(this)};var DX=function(a){a.J=!1;a.A=!1;a.j=null;a.l=null;a.g=null;a.H=null;a.K&&a.K.remove();a.U&&a.U.remove();a.I&&a.I.remove();a.ha&&a.ha.remove()};var HX=function(a,b,c,d,e,f,h,k,l,m,n,p){_.W.call(this);var q=this;this.config=a;this.ra=b;this.D=c;this.J=d;this.Pa=f||function(){};this.pa=h||function(){};this.la=k;this.Ja=l;this.Fa=m;this.fa=n;this.j=(this.A=p)?2:1;_.Bp(this,function(){return EX(q,!0)});this.I=_.Mf("INS",b.document);_.Bp(this,function(){return q.I=null});this.H=null;HTMLElement.prototype.attachShadow&&!this.la.Tb(1013,function(){q.H=_.Mf("DIV",b.document);q.H.className="grippy-host";q.H.attachShadow({mode:"closed"}).appendChild(q.I);_.Bp(q,function(){return q.H=null});return!0})&&(this.H=null);this.K=this.F=!1;this.ha=0;this.g=e;this.ia=!1;this.l=this.U=null;this.sa=b.innerHeight;this.ka=this.config.scroll_detached==="true";this.ba=this.config.dismissable==="true";this.Eb=this.config.draggable==="true"||this.g!="top";this.xb=this.config.expId||"";this.Va=this.config.qemId||"";a=parseInt(this.config.z_index_override,10);this.va=isNaN(a)?null:a;this.mb=new _.EM(b);!this.ba&&_.ea.navigator.userAgent.match(/iPhone OS 7/)&&b.setInterval(function(){var t=q.ra.innerHeight;if(Math.abs(t-460)<2||Math.abs(t-529)<2)tthis.J.height,c=parseInt(this.l.style[this.g],10);if(c||b){var d=function(){a.j=3;if(b){var h=a.J.height;a.l.style[a.g]="0";a.l.style.height=h+"px";a.D.parentElement.style.height=h+"px";a.D.height=h;a.D.style["max-height"]="30vh";IX(a,h);var k;(k=a.U)!=null&&(k.D=h)}a.F=!1;a.K=!1;SX(a);a.l.setAttribute("data-anchor-status","displayed");a.l.setAttribute("data-anchor-shown",!0);MX(a,!1)};this.F=!0;if(c&&!b){var e=-c/.1;RX(this,e);MX(this,!1);c=new JW(this.l,c,0,e,this.g,this.la,d,IW);this.fa();GW(c)}else if(b){var f=this.A.maxHeight;e=this.J.height-f;f=(f+c>this.J.height?-1:1)*(e-c)/.1;RX(this,f);c===e?d():(c=new JW(this.l,c,e,f,this.g,this.la,d,IW),this.fa(),GW(c))}}else this.K=!1}};var OX=function(a){if(!a.F){PX(a);var b=parseInt(a.l.style[a.g],10),c=function(){a.F=!1;a.j=4;a.K=!1;SX(a);a.l.setAttribute("data-anchor-status","displayed");a.l.setAttribute("data-anchor-shown",!0);MX(a,!1)};if(b){a.F=!0;var d=-b/.1;RX(a,d);MX(a,!1);b=new JW(a.l,b,0,d,a.g,a.la,c,IW);a.fa();GW(b)}else c()}},EX=function(a,b){if(!a.F&&a.l){var c=parseInt(a.l.style[a.g],10),d=-(a.j===4?a.A.maxHeight:a.J.height)-(b?30:0),e=(c-d)/.1;a.g=="bottom"&&jW(a.ra)&&a.la.Tb(405,function(){return QX(a,"21px",e,"ease-in")});b||MX(a,!0);c===d?(b||(a.j=0),a.K=b):(a.F=!0,c=new JW(a.l,c,d,e,a.g,a.la,function(){a.F=!1;b||(a.j=0);(a.K=b)||MX(a,!0);b&&a.Pa();a.l.setAttribute("data-anchor-status","dismissed")},HW),a.Fa(),GW(c))}},VX=function(a,b){if(a.g!=="bottom"&&a.g!=="top")throw Error("unsupported reactive type");var c=function(l){return a.onClick(l)},d=a.I;_.sf(d,"click",c);_.Bp(a,function(){return _.Nf(d,"click",c)});a.H&&(_.sf(a.H,"click",c),_.Bp(a,function(){return a.H&&_.Nf(a.H,"click",c)}));_.fD(b,{opacity:1});var e=a.ra.document;if(e){a.l=b;var f,h,k=(h=(f=a.A)==null?void 0:f.maxHeight)!=null?h:a.J.height;a.Eb&&(a.U=new (a.g=="top"?TX:UX)(a,e,k,b,a.I),_.R(a,a.U));e={position:"fixed",left:_.pN(0)};e[a.g]=_.pN(-k-30);_.fD(b,e);_.Ip(b,{overflow:"visible",background:"#FAFAFA"});_.IM(a.mb,function(l){var m=a.va==null?2147483647:a.va;_.fD(b,{zIndex:l==null?m:Math.min(l,m)})});FX(a)}},QX=function(a,b,c,d){_.fD(a.D,{transition:c/1E3+"s","transition-timing-function":d,"margin-top":b})},SX=function(a){a.pa();a.pa=function(){}},WX=function(a,b,c,d,e){BX.call(this,b,d,e);this.xb=a;this.D=c};_.T(WX,BX);WX.prototype.ka=function(){var a=this.xb;if(!a.F){var b=parseInt(a.l.style[a.g],10),c=b+parseInt(a.l.style.height,10),d=a.J.height/2;c>=(a.A?a.A.maxHeight/2:_.x(Number,"MAX_SAFE_INTEGER"))?(OX(a),NX(a,"d",!1,b)):c>=d?(a.show(),NX(a,"d",!1,b)):(EX(a,a.ba),NX(a,"d",!0,b))}};WX.prototype.ia=function(){if(this.j!==null&&this.l!==null&&this.g!==null){var a=this.va(this.j.y,XV(this.g,this.l).y);a>0&&(a=0);a<-this.D&&(a=-this.D);var b={};b[this.pa()]=_.pN(a);_.fD(this.target,b)}};var TX=function(a,b,c,d,e){WX.call(this,a,b,c,d,e)};_.T(TX,WX);TX.prototype.ba=function(){return new _.Dm(0,parseInt(this.target.style.top,10))};TX.prototype.va=function(a,b){return b-a};TX.prototype.pa=function(){return"top"};var UX=function(a,b,c,d,e){WX.call(this,a,b,c,d,e)};_.T(UX,WX);UX.prototype.ba=function(){return new _.Dm(0,parseInt(this.target.style.bottom,10))};UX.prototype.va=function(a,b){return a-b};UX.prototype.pa=function(){return"bottom"};var cY=function(a,b,c,d,e,f,h,k){k=k===void 0?null:k;_.BV.call(this,a,b,f);var l=this;this.la=d;this.Ja=e;this.I=this.Uc=this.Pc=0;this.Eb=this.Zk=!1;this.H=null;this.ba=this.Fa=!1;this.K=null;this.va=hW(b.document.body,"padding");this.D=hW(b.document.body,"padding");this.ha=0;this.dk=this.ia=!1;this.pa=!0;this.F=c;this.J=XX(this);this.fa=null;this.bd=this.gh=this.Pa=this.mb=this.xb=this.ak=this.cl=this.el=!1;this.jl=_.qC(b||window).height/2;this.fl=_.qC(b||window).height;this.Xj=YV(b);this.Wj=this.ka=this.Vc=!1;this.Yk=h;this.A=k;YX(this);this.ek=this.la.Ea(266,function(){ZX(l)});this.ik=this.la.Ea(267,function(){ZX(l)});this.sk=this.la.Ea(268,function(){if(l.ia&&l.g&&l.H){var m=l.H;m.ha=_.ki(m.ra)}m=_.ki(l.l);var n=m-l.Pc;$X(l,n);l.Pa&&(n>0&&(l.I+=n),l.Vc=l.Xj-m<=l.fl,l.Pc=m);ZX(l)});this.tk=this.la.Ea(269,function(){aY(l)});this.Ak=this.la.Ea(270,function(m){bY(l,m)});this.Nk=this.la.Ea(271,function(m){if(m&&m.touches){l.K="touchmove";l.ha=m.touches.length;l.ba=!0;ZX(l);if(!l.Zk&&m.touches&&m.touches.length!=0&&m.touches[0]){m=m.touches[0].pageY;var n=m-l.Uc;l.Uc=m;m=n}else m=0;m>0&&(l.I+=m);$X(l,m)}});this.Tk=this.la.Ea(272,function(m){m&&m.touches&&m.touches[0]&&(l.K="touchstart",l.ha=m.touches.length,l.ba=!1,ZX(l),l.Uc=m.touches[0].pageY,m=(m=m.target)&&l.F=="top"&&l.Fa&&l.H&&LX(l.H)&&m.nodeType===1?_.xC(LX(l.H),m):!1,l.Zk=m)});this.Yc=this.la.Ea(273,function(){l.xb||(l.xb=!0,_.Nf(l.j,"load",l.Yc),l.mb&&!l.dk||ZX(l))});_.sf(a,"load",this.Yc);_.Bp(this,function(){return _.Nf(a,"load",l.Yc)})};_.T(cY,_.BV);var eY=function(a){var b=a.l;_.sf(b,"orientationchange",a.ek);_.sf(b,"resize",a.ik);_.sf(b,"scroll",a.sk);_.sf(b,"touchcancel",a.tk);_.sf(b,"touchend",a.Ak);_.sf(b,"touchmove",a.Nk);_.sf(b,"touchstart",a.Tk);_.Bp(a,function(){return dY(a)})},dY=function(a){var b=a.l;_.Nf(b,"orientationchange",a.ek);_.Nf(b,"resize",a.ik);_.Nf(b,"scroll",a.sk);_.Nf(b,"touchcancel",a.tk);_.Nf(b,"touchend",a.Ak);_.Nf(b,"touchmove",a.Nk);_.Nf(b,"touchstart",a.Tk)};cY.prototype.ll=function(a){var b=this.g;if(b&&!this.H){for(var c in fY)!fY.hasOwnProperty(c)||c in a||(a[c]=fY[c]);this.el=a.use_manual_view==="true"||this.F==="top"||!!_.Ri(this.l).wasReactiveAdConfigReceived[2];this.cl=a.use_important==="true";if(c=a.af_l)this.mb=c==="true";this.Wj=(this.Pa=a.wait_for_scroll==="true"||this.F=="top")&&(a.tsec==="true"||this.F=="top");gY(this,a);this.H=hY(this,a);this.fa=iY(this);this.Vc=this.fl>=this.Xj;a=this.g;c=this.H&&LX(this.H);a&&c&&(this.F=="top"?a.appendChild(c):a.insertBefore(c,a.firstChild));eY(this);this.Fa=!0;b.setAttribute("data-anchor-status","ready-to-display")}};var iY=function(a){var b=a.J.height+5;a.F=="bottom"&&jW(a.l)&&(b+=20);return new _.Hm(a.J.width,b)},gY=function(a,b){var c=parseInt(b.ht,10),d=c>0?c:null;b=parseInt(b.wd,10);var e=b>0?b:null;d!=null&&(a.J.height=d);e!=null&&(a.J.width=e);VV(a,function(f){TV(f,e,d)},!1,!0);TV(a.j,e,d)},hY=function(a,b){b=new HX(b,a.l,a.j,a.J,a.F,function(){if(!a.Eb){a.Eb=!0;dY(a);var c=a.g;_.vC(c);jY(a,a.va,!0,!0);c&&(c.style.display="none")}},function(){return void kY(a)},a.la,a.Ja,function(){a.ka||(a.ka=!0,$X(a,null));_.xO(a.M,a.slotId)},function(){a.ka&&(a.ka=!1,$X(a,null));a.il&&_.yO(a.M,a.slotId)},a.A);_.R(a,b);return b},YX=function(a){if(a.pa){var b=a.g;b&&(b.style.display="none");jY(a,a.va,!0,!0);a.pa=!1}};cY.prototype.Va=function(){this.dk=!0;if(!this.ia&&lY(this)&&(this.xb||!this.mb)){var a=this.g;a&&(mY(this),VV(this,function(b){HV(b)},!0),VX(this.H,a),nY(this),this.ia=!0,(a=this.j.contentWindow)&&iW(a,"ig",{rr:"vis-aa"},"*",2),oY(this),pY(this))}};var nY=function(a){var b=a.g;if(b){var c=a.H,d=c.ra,e=_.ki(d);if(!(Math.abs(e-c.ha)<10)){var f=e<10;d=e+10+_.ci(d)>_.ji(d);f=f||d;c.ka||c.ia||c.F||(c.j===0||f?c.j===0&&f&&FX(c):FX(c,!1));c.ha=e}a.pa||(qY(a),c=hW(a.l.document.body,"padding"),a.F=="bottom"&&(c.bottom+=a.fa.height+25),jY(a,c),b.style.display="block",a.pa=!0)}},mY=function(a){var b=a.g;if(b&&a.j.parentElement){gW(b,a.fa);var c=a.l.innerWidth;_.hi(a.l).scrollWidth>c?b.style.width=c:b.style.width="100%";rY(a);a.A&&_.Ip(a.j.parentElement,{height:a.A.maxHeight+"px"})}},rY=function(a){VV(a,function(c){gW(c,a.J);c.style.width="100%"},!1,!0);a.j.style.display="block";a.j.style.margin="0 auto";if(a.cl){var b=a.g;ZV(b,function(c){GV(c,function(d){return c===b&&/display|bottom/i.test(d)?!1:!0});if(c.nodeName==="svg")return!1})}},qY=function(a){if(a.F!=="bottom"&&a.F!=="top")throw Error("Unexpected position: "+a.F);},XX=function(a){qY(a);var b=a.l.innerWidth;a=_.Fm(_.nD,a.j).height||+a.j.height||0;return new _.Hm(b,a)},aY=function(a){a.K="touchcancel";_.ea.setTimeout(a.la.Ea(274,function(){a.K==="touchcancel"&&(a.ha=0,a.ba=!1,ZX(a))}),1E3)},bY=function(a,b){if(b&&b.touches){a.K="touchend";var c=b.touches.length;c<2?_.ea.setTimeout(a.la.Ea(256,function(){a.K==="touchend"&&(a.ha=c,a.ba=!1,ZX(a))}),1E3):(a.ha=c,ZX(a))}},$X=function(a,b){var c=a.pa?sY(a,a.ka):a.va.top;if(a.F==="top"&&a.l.document.body&&a.Fa&&a.H&&a.ia&&a.D.top!==c&&b!==0){var d=_.$C(a.D);b===null?(d.top=c,jY(a,d)):(b>0&&a.D.top>c&&(d.top=Math.max(c,a.D.top-b),jY(a,d,!1)),b<0&&a.D.top=2&&a.ba||!lY(a)?YX(a):(a.Va(),nY(a))};cY.prototype.Yb=function(){return _.ei(this.l)};cY.prototype.hl=function(){this.gh=!0;var a;(a=this.g)==null||a.removeAttribute("data-anchor-status")};cY.prototype.ml=function(){this.bd=!0;var a=this.g;this.gh&&this.bd&&(a==null||a.setAttribute("data-anchor-status","ready-to-display"))};var lY=function(a){if(!a.Yb()||a.gh&&!a.bd)return!1;if(!a.ia&&a.Pa)switch(a.Wj&&(a.I+=Math.max(_.ki(a.l)-a.Pc,0)),a.F){case "bottom":return a.I>=a.jl||a.Vc;case "top":return a.I>sY(a)}return!0},sY=function(a,b){return(b===void 0?0:b)?a.va.top+30:a.va.top+30+a.fa.height-5},kY=function(a){a.el&&!a.ak&&(a.ak=!0,a.la.Tb(257,function(){var b={msg_type:"manual-send-view"},c=a.j.contentWindow;c&&c.postMessage(a.l.JSON.stringify(b),"*")}))},oY=function(a){if(a.A){var b=_.xi(a.Yk,604800,"__lsa__");if(b){b.push(Date.now());var c;(c=a.Yk)==null||c.setItem("__lsa__",JSON.stringify(b))}}},pY=function(a){a.A&&(a.j.onload=function(){if(a.A){var b=a.j.parentElement,c=b.style.display;_.Ip(b,{height:a.A.maxHeight+1+"px",display:"inline-block"});setTimeout(function(){a.A&&_.Ip(b,{height:a.A.maxHeight+"px",display:c})},100)}})};cY.prototype.kl=function(a,b){this.j=a;if(b&&(this.J.height!==b.height||this.J.width!==b.width)){a=b.height-this.J.height;var c={};gY(this,(c.ht=b.height,c.wd=b.width,c));this.fa=iY(this);mY(this);$X(this,a);var d;(d=this.H)==null||IX(d,b.height)}rY(this)};var fY={ui:"gr",gvar:"ar",scroll_detached:"true",dismissable:"false"};var tY=function(){this.g=null},uY=function(a,b,c){a.g=_.xi(b,c,"__lsv__");if(b=!!a.g)a=a.g,b=(a==null?void 0:a.length)===0;return b};var vY=function(a,b,c,d){_.BV.call(this,a,b,c);this.F=null;this.H=b.document;this.D=d;this.J=_.GM(new _.EM(b),2147483646);this.A=b};_.T(vY,_.BV);var yY=function(a){vX(a,!1);var b=a.g;if(b){var c=UV(a.A);VV(a,function(d){_.Ip(d,c);HV(d)},!0);a.j.setAttribute("width","");a.j.setAttribute("height","");_.fD(a.j,c);_.fD(a.j,wY);_.fD(b,xY);_.fD(b,{background:"transparent"});_.Ip(b,{display:"none",position:"fixed"});HV(b);HV(a.j);_.ii(a.A)<=1||(_.fD(b,{overflow:"scroll","max-width":"100vw"}),GV(b))}},vX=function(a,b){var c=a.g;c&&(b?(_.KM(a.J),_.Ip(c,{display:"block"}),a.H.body&&!a.F&&(a.F=_.RM(a.H,a.l,a.D)),c.setAttribute("tabindex","0"),c.setAttribute("aria-hidden","false"),a.H.body.setAttribute("aria-hidden","true")):(_.LM(a.J),_.Ip(c,{display:"none"}),a.F&&(a.F(),a.F=null),a.H.body.setAttribute("aria-hidden","false"),c.setAttribute("aria-hidden","true")))},xY={backgroundColor:"white",opacity:"1",position:"fixed",left:"0px",top:"0px",margin:"0px",padding:"0px",display:"none",zIndex:"2147483647"},wY={left:"0",position:"absolute",top:"0"};var zY=function(a,b,c,d,e,f,h,k,l){cY.call(this,c,d,b===2?"top":"bottom",new _.fO(a),new _.ML,e,k,l?{maxHeight:_.Qz(l,1)}:null);this.M=f;this.slotId=h;this.il=!!_.Du(this.M,this.slotId);b===2&&_.xO(this.M,this.slotId)};_.T(zY,cY);zY.prototype.Yb=function(){return(0,_.gq)()===0||cY.prototype.Yb.call(this)};var AY=function(a,b,c){vY.call(this,b,a,c,_.xh(_.VI));yY(this)};_.T(AY,vY);var BY=function(a,b,c,d,e,f,h,k,l,m,n,p,q){var t=[];_.I(_.SI)&&(0,_.gq)()===0&&t.push(101);_.I(_.TI)&&t.push(102);k=_.I(_.UI)?CW(k):new _.B.Set(_.I(_.$I)?[2]:[]);lX.call(this,b,c,e,new AY(b,c,d),new _.ML,f,h,{Wk:!0,kj:t,im:!0,ig:{po:3,version:a.La},Mm:!0,Km:n,Kj:_.xh(_.XI)},k,a.R,{pvsid:a.pvsid,Ba:a.Ba,ib:17,Ub:a.La});this.ia=l;this.Uc=m;this.ka=p;this.I=q;_.R(this,this.A)};_.T(BY,lX);BY.prototype.xb=function(){var a=this.I;if(!(a=this.ia||_.I(_.Sq)&&!a))a:{var b=_.fh(tY),c=this.I;try{if(!c||!uY(b,c,this.ka)){a=!1;break a}b.g.push(Date.now());var d=JSON.stringify(b.g);c.setItem("__lsv__",d);a=c.getItem("__lsv__")==d;break a}catch(e){a=!1;break a}a=void 0}return a};BY.prototype.Fa=function(){return!0};BY.prototype.ha=function(){lX.prototype.ha.call(this);this.Uc()};BY.prototype.Eb=function(){var a=this.I;return this.ia||_.I(_.Sq)&&!a||uY(_.fh(tY),this.I,this.ka)};var CY={xm:zY,Qm:BY};_.eU(_m,_.xS).resolve(CY);})