(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var m=this||self;function aa(a,b,c){return a.call.apply(a.bind,arguments)}function ba(a,b,c){if(!a)throw Error();if(2e;e++){var f=c.concat(d[e].split(""));da[e]=f;for(var g=0;g>2];l=b[(l&3)<<4|k>>4];k=b[(k&15)<<2|h>>6];h=b[h&63];c[e++]=g+l+k+h}g=0;h=d;switch(a.length-f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=b[a>>2]+b[(a&3)<<4|g>>4]+h+d}a=c.join("")}}return Array.isArray(a)?v(a,ma):a};let z;function A(a){var b=z;z=null;a||(a=b);b=this.constructor.messageId;a||(a=b?[b]:[]);this.i=(b?0:-1)-(this.constructor.V||0);this.g=a;a:{b=this.g.length;a=b-1;if(b&&(b=this.g[a],ha(b))){this.l=a-this.i;this.j=b;break a}this.l=Number.MAX_VALUE}}Object.freeze(fa([]));function B(a,b){return-1===b?null:b>=a.l?a.j?a.j[b]:void 0:a.g[b+a.i]}function E(a,b,c){a=B(a,b);return null==a?c:a}function F(a,b){a=B(a,b);a=null==a?a:!!a;return null==a?!1:a}function na(a){a=B(a,13);a=null==a?a:+a;return null==a?0:a} A.prototype.toJSON=function(){return v(this.g,ma)};function oa(a){var b=pa;z=a=a?JSON.parse(a):null;b=new b(a);z=null;return b}A.prototype.toString=function(){return this.g.toString()};var pa=class extends A{};function G(a,b){if(!b(a))throw Error(String(a));return a};var qa=a=>"string"===typeof a,ra=a=>!!a&&("object"===typeof a||"function"===typeof a);function sa(a,b){var c=G(JSON.parse(a.name),ra);c=G(c._context,ra);const d=G(c.mode,ra);c={version:G(d.rtvVersion,qa),U:G(c.sentinel,qa)};const {version:e,U:f}=c;b.sentinel=f;a.parent.postMessage(`amp-${e}${JSON.stringify(b)}`,"*")};function ta(a=window){return a};var ua=document,H=window;/* SPDX-License-Identifier: Apache-2.0 */ function I(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function J(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)};var va=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function K(a){try{var b;if(b=!!a&&null!=a.location.href)a:{try{p(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c){return!1}}function wa(a,b){if(a)for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)}let L=[];const xa=()=>{const a=L;L=[];for(const b of a)try{b()}catch(c){}}; var ya=(a,b)=>{"complete"===a.readyState||"interactive"===a.readyState?(L.push(b),1==L.length&&(window.Promise?Promise.resolve().then(xa):window.setImmediate?setImmediate(xa):setTimeout(xa,0))):a.addEventListener("DOMContentLoaded",b)};function za(a){a=void 0===a?document:a;return a.createElement("img")};function N(a,b,c=null){Aa(a,b,c)}function Aa(a,b,c){a.google_image_requests||(a.google_image_requests=[]);const d=za(a.document);if(c){const e=f=>{c&&c(f);J(d,"load",e);J(d,"error",e)};I(d,"load",e);I(d,"error",e)}d.src=b;a.google_image_requests.push(d)} var Ca=()=>{let a="https://pagead2.googlesyndication.com/pagead/gen_204?id=badpubwin";wa({stack:Error().stack,aswift:window.google_async_iframe_id},(b,c)=>{b&&(a+=`&${c}=${encodeURIComponent(b)}`)});Ba(a)},Ba=a=>{var b=window;b.fetch?b.fetch(a,{keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"}):N(b,a)};let Da=0;function Ea(a){return(a=Fa(a,document.currentScript))&&a.getAttribute("data-jc-version")||"unknown"}function Fa(a,b=null){return b&&b.getAttribute("data-jc")===String(a)?b:document.querySelector(`[${"data-jc"}="${a}"]`)} function Ga(){if(!(.01e?encodeURIComponent(Qa(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}function Sa(a){let b=1;for(const c in a.i)b=c.length>b?c.length:b;return 3997-b-a.j.length-1} function Ta(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;let d=Sa(a)-c.length;if(0>d)return"";a.g.sort(function(f,g){return f-g});c=null;let e="";for(let f=0;f=k.length){d-=k.length;b+=k;e=a.j;break}c=null==c?g:c}}}a="";null!=c&&(a=e+"trn="+c);return b+a}class Ua{constructor(){this.j="&";this.i={};this.l=0;this.g=[]}};function Va(){var a=Q,b=R.google_srt;0<=b&&1>=b&&(a.g=b)}function Wa(a,b,c,d,e,f){if((d?a.g:Math.random())<(e||.01))try{let g;c instanceof Ua?g=c:(g=new Ua,wa(c,(l,k)=>{var q=g,t=q.l++;l=P(k,l);q.g.push(t);q.i[t]=l}));const h=Ta(g,a.i,"/pagead/gen_204?id="+b+"&");h&&("undefined"!==typeof f?N(m,h,f):N(m,h))}catch(g){}}class Xa{constructor(){var a=void 0===a?H:a;this.i="http:"===a.location.protocol?"http:":"https:";this.g=Math.random()}};let S=null;var Ya=()=>{const a=m.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()},Za=()=>{const a=m.performance;return a&&a.now?a.now():null};class $a{constructor(a,b){var c=Za()||Ya();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.slotId=void 0}};const T=m.performance,ab=!!(T&&T.mark&&T.measure&&T.clearMarks),U=function(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}}(()=>{var a;if(a=ab){var b;if(null===S){S="";try{a="";try{a=m.top.location.hash}catch(c){a=m.location.hash}a&&(S=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=S;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function bb(a){a&&T&&U()&&(T.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),T.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))} class cb{constructor(){var a=R;this.events=[];this.i=a||m;let b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.events=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.g=U()||(null!=b?b:1>Math.random())}start(a,b){if(!this.g)return null;a=new $a(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;T&&U()&&T.mark(b);return a}end(a){if(this.g&&"number"===typeof a.value){a.duration=(Za()||Ya())-a.value;var b=`goog_${a.label}_${a.uniqueId}_end`;T&&U()&&T.mark(b);!this.g|| 2048eb(c,a,()=>b.apply(void 0,d))} class gb{constructor(){var a=hb;this.j=Q;this.i=null;this.m=this.J;this.g=void 0===a?null:a;this.l=!1}pinger(){return this.j}J(a,b,c,d,e){e=e||"jserror";let f;try{const w=new Ua;var g=w;g.g.push(1);g.i[1]=P("context",a);b.error&&b.meta&&b.id||(b=new Ia(b,{message:db(b)}));if(b.msg){g=w;var h=b.msg.substring(0,512);g.g.push(2);g.i[2]=P("msg",h)}var l=b.meta||{};b=l;if(this.i)try{this.i(b)}catch(C){}if(d)try{d(b)}catch(C){}d=w;l=[l];d.g.push(3);d.i[3]=l;d=m;l=[];b=null;do{var k=d;if(K(k)){var q=k.location.href; b=k.document&&k.document.referrer||null}else q=b,b=null;l.push(new Pa(q||""));try{d=k.parent}catch(C){d=null}}while(d&&k!=d);for(let C=0,Ka=l.length-1;C<=Ka;++C)l[C].depth=Ka-C;k=m;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length==l.length-1)for(q=1;qMath.random()&&Ca();const R=O,hb=new cb;var jb=()=>{if(!R.google_measure_js_timing){var a=hb;a.g=!1;a.events!=a.i.google_js_reporting_queue&&(U()&&ca(a.events,bb),a.events.length=0)}}; (a=>{Q=null!=a?a:new Xa;"number"!==typeof R.google_srt&&(R.google_srt=Math.random());Va();W=new gb;W.i=b=>{const c=Da;0!==c&&(b.jc=String(c),b.shv=Ea(c))};W.l=!0;"complete"==R.document.readyState?jb():hb.g&&I(R,"load",()=>{jb()})})();var X=(a,b)=>fb(a,b),kb=(a,b,c)=>{var d=ib,e="R";d.R&&d.hasOwnProperty(e)||(e=new d,d.R=e);d=[];!b.eid&&d.length&&(b.eid=d.toString());Wa(Q,a,b,!0,c,void 0)};function Y(a,b,c={}){c.msg_type=b;c.googMsgType="sth";b=JSON.stringify(c);a.parent.postMessage(b,"*")}function lb(a){if(a.C||F(a.i,2))return!0;let b=!0;const c=mb(a);c&&(b=36E5<=c);if(b)try{a.g.localStorage.removeItem("LAST_INTERSTITIAL_TIME")}catch(d){}return b}function Z(a,b,c){E(a.i,3,"")&&(b.qid=E(a.i,3,""));E(a.i,10,"")&&(b.eid=E(a.i,10,""));b.rtype=E(a.i,12,0);b.req=H.location.href;kb(a.L(),b,c)} function mb(a){try{const b=+a.g.localStorage.getItem("LAST_INTERSTITIAL_TIME"),c=Date.now();if(b&&b{a.forEach(c=>{if(!(0>=c.intersectionRatio)){this.s();for(const d of this.j.document.getElementsByClassName("GoogleActiveViewElement"))d.removeAttribute("data-google-av-dm");b.disconnect()}})},{threshold:na(this.i)})).observe(this.g.document.documentElement):I(this.g,"message",X(262,a=>{a:{if(a&& (this.g.parent==a.source||this.g.parent.parent==a.source)){var b={};try{b=this.g.JSON.parse(a.data)}catch(c){a=void 0;break a}"i-view"==(b&&b.msg_type)&&this.o&&this.s()}a=void 0}return a}));this.C||(this.u=X(263,()=>{this.o=lb(this);if(!this.o){var a={i_tslv:mb(this)};Y(this.g,"i-no",a)}}),I(this.g,"storage",this.u));F(this.i,22)?sa(this.g,{type:"render-start",interstitialCloseBtn:!0,width:-1,height:-1}):Y(this.g,"i-adframe-load")}P(a){let b;try{const c=ta(this.j);c.vv?c.vv():b=!0}catch(c){W.J(533, c,void 0,void 0);return}a=a||1;b?(Z(this,{vf:a}),3<=a||this.g.setTimeout(n(nb.prototype.P,this,a+1),3E3)):1{this.g=a})}};var pb=class{constructor(){const a=new ob;this.promise=a.promise;this.resolve=a.g}};function qb(a){window.parent.postMessage(JSON.stringify({type:"rewarded",message:a}),"*")};var rb=a=>a.innerHeight>=a.innerWidth?1:2;var sb=a=>{a=a.document;let b={};a&&(b="CSS1Compat"==a.compatMode?a.documentElement:a.body);return b||{}};function tb(a,b,c){kb("jserror",{context:"iaf::itf",req:H.location.href,db:a?1:0,ls:b?1:0,eid:E(c,10,""),qid:E(c,3,""),rtype:E(c,12,0)})}function ub(a,b){vb(a,b)&&(a.l.style.background="rgba(192,192,192, .3)",m.setTimeout(()=>{a.l.style.background="transparent";a.dismiss(2)},750))}function wb(a,b){b.some(c=>{let d;return"intervention"===c.type&&"HeavyAdIntervention"===(null==(d=c.body)?void 0:d.id)})&&(Z(a,{hai:"1"},1),a.m?a.dismiss(8):Y(a.g,"i_iif"))} function xb(a){var b=a.l.getBoundingClientRect(),c=b.bottom,d=b.right;const e=sb(a.g).clientHeight,f=sb(a.g).clientWidth,g=Math.floor(c-e),h=Math.floor(d-f);if(0<=g||5=c?1:0,dhr:h>=d?1:0,h:e,w:f,bh:c,bw:d,opb:g,opr:h,pt:b.innerHeight>=b.innerWidth?1:0,req:a.g.location.href})}function zb(a){const b=X(259,n(function(){Y(this.g,"i-blur");J(this.g,"blur",b)},a));I(a.g,"blur",b)} function Ab(a,b){var c={};F(a.i,15)?(qb("canceled"),qb("closed")):F(a.i,22)?sa(a.g,{type:"interstitial-close-ad",interstitialCloseBtn:!0}):Y(a.g,b,c)}function Bb(a,b){const c=a.g.document.getElementById("creative");a.g.goog_vignette_survey&&(a.g.goog_vignette_survey.display(c,()=>{a.dismiss(3)},()=>{},1),b&&b.stopPropagation())} function Cb(a){!1===a.A&&a.enableDismissListeners();a.O&&I(a.O,"click",X(261,c=>Bb(a,c)));const b=a.g.document.getElementById("card");b&&b.addEventListener("click",X(909,c=>{null==c||c.stopPropagation()}))}function Db(a){I(a.g,"resize",()=>{const b=rb(a.g);a.D?(a.D=!1,a.I=2===b):(a.I?1===b:2===b)&&a.dismiss(4)})} function Eb(a){var b=X(617,c=>{var d=document.activeElement;2==E(a.i,5,0)&&(d=a.j.document.activeElement);(27===c.which||13===c.which&&d===a.l)&&a.dismiss(5);if(9===c.which){d=Fb(a).indexOf(d);const e=Gb.length,f=Fb(a);c.shiftKey&&0===d?(c.preventDefault(),f[e-1].focus()):c.shiftKey||d!==e-1||(c.preventDefault(),f[0].focus())}});I(a.g,"keydown",b);2===E(a.i,5,0)&&I(a.j,"keydown",b);b=Fb(a).filter((c,d)=>{c||Z(a,{missingFocusableChild:1,index:d});return!!c});ca(b,(c,d)=>{c.setAttribute("tabindex", d+1)});b.length&&b[0].focus()}function Hb(a){a.g.addEventListener("message",b=>{if(b.source===a.j)try{const c=JSON.parse(b.data);"rewarded"===c.type&&"closed"===c.message&&a.dismiss(11===E(a.i,12,0)?6:1)}catch(c){}})}function Ib(a){const b=a.g.navigator?!0===a.g.navigator.standalone:!1,c=window.matchMedia("(display-mode: standalone)").matches;Z(a,{wapp:b||c})}function Fb(a){return 2===E(a.i,5,0)?Jb.map(b=>a.j.document.querySelector(b)):Gb.map(b=>document.querySelector(b))} function vb(a,b){if(!b)return!0;if((b.preventDefault?b.defaultPrevented:!1===b.returnValue)||b.target&&b.target.ownerDocument==a.j.document)return!1;for(a=b.target;a;){if("creative"==a.id)return!1;a=a.parentElement}return!0} class Kb extends nb{constructor(a,b,c,d){super(a,d);this.l=b;this.O=c;this.K=0;this.N=X(260,e=>{this.dismiss(1);e&&e.stopPropagation()});this.M=e=>ub(this,e);this.H=[];this.B=[];this.D=this.I=this.A=!1;this.v=null}F(){super.F();(this.v=this.g.ReportingObserver?new this.g.ReportingObserver((a,b)=>{wb(this,a)&&b.disconnect()},{buffered:!0}):null)&&I(this.g,"unload",()=>{wb(this,this.v.takeRecords());this.v.disconnect()})}L(){return"ia_evt"}addViewListener(a){a=fb(483,a);this.m?a():this.H.push(a)}addDismissListener(a){this.B.push(fb(484, a))}disableDismissListeners(){this.A=!0;J(this.l,"click",this.N);J(this.g.document,"click",this.M)}enableDismissListeners(){this.A=!1;I(this.l,"click",this.N);I(this.g.document,"click",this.M)}dismiss(a){document.body.setAttribute("aria-hidden","true");Z(this,{ttd:Date.now()-this.m,req:H.location.href,pda:this.K,ds:a,idrw:F(this.i,15)?1:0});this.K++||zb(this);let b=0;for(let d=0;dAb(this,c),b)}G(){super.G();Cb(this)}s(){super.s();this.I=2===rb(this.g);this.D=0===this.g.innerWidth&&0===this.g.innerHeight;this.l.setAttribute("aria-label",E(this.i,7,""));Db(this);eb(W,772,()=>Eb(this));xb(this);document.getElementById("ad_iframe").contentWindow.postMessage(JSON.stringify({type:"rewarded",message:"visible"}),"*");for(let a=0;a{{var c=document.getElementById("ad_iframe").contentWindow;var d=H.document;const f=c.document,g=E(b,5,0);var e=0===g||2===g?f.getElementById(E(b,6,"")):d.getElementById(E(b,6,""));d=0===g?f.getElementById(E(b,8,"")):d.getElementById(E(b,8,""));let h;try{h=!!H.localStorage}catch(l){}e?(h||tb(e,h,b),c=new Kb(c,e,d,b),c.F()):(tb(e,h,b),Y(H,"i_iif"),c=null)}window.interstitialAdFrame=c;e=window;e.google_llp||(e.google_llp={});e=e.google_llp;e[9]||(e[9]=new pb); e[9].resolve(c);return c});if(0===E(b,5,0)||2===E(b,5,0)||F(b,16)){const c=document.getElementById("ad_iframe");null!=c.contentDocument?ya(c.contentDocument,a):document.getElementById("ad_iframe").addEventListener("load",a)}else a()})(Mb);}).call(this);