(function(){'use strict';/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var n=this||self;function aa(a){a:{var b=["CLOSURE_FLAGS"];for(var c=n,d=0;db&&-1!=b.indexOf(a)):!1:!1}function u(a){var b;a:{if(b=n.navigator)if(b=b.userAgent)break a;b=""}return-1!=b.indexOf(a)};function v(){return da?!!t&&0a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);if(b){b=c;c=~a;b?b=~b+1:c+=1;const [d,e]=[b,c];a=e;c=d}w=c>>>0;y=a>>>0};var z=Symbol();function la(a){a=a>>14&1023;return 0===a?536870912:a};var ma={},ra={};function sa(a){return!(!a||"object"!==typeof a||a.g!==ra)}function ta(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}function A(a,b,c){if(!Array.isArray(a)||a.length)return!1;const d=a[z]|0;if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;a[z]=d|1;return!0}class ua{}class va{}Object.freeze(new ua);Object.freeze(new va);const wa=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function D(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return Number.isFinite(a)?a|0:void 0};let E;function xa(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(A(a,void 0,0))return}else if(null!=a&&a instanceof Uint8Array){let b="",c=0;const d=a.length-10240;for(;c=d){if(b&256)return a[a.length-1][c]}else return b=c+(+!!(b&512)-1),a=0>b||b>=a.length||b>=d?void 0:a[b],a} function Ca(a){var b=a.g;let c=b[z];var d=Ba(b,c,13);a=null==d||"number"===typeof d?d:"NaN"===d||"Infinity"===d||"-Infinity"===d?Number(d):void 0;if(null!=a&&a!==d)a:if(d=la(c),13>=d){let e,f=c;if(c&256)e=b[b.length-1];else{if(null==a)break a;e=b[d+(+!!(c&512)-1)]={};f|=256}e[13]=a;13>>0,c=~c>>>0,0==a&&(c=c+1>>>0);a=4294967296*c+(a>>>0);b=b?-a:a}}else c=Math.trunc(Number(a)),Number.isSafeInteger(c)?b=String(c):(c=a.indexOf("."),-1!==c&&(a=a.substring(0,c)),("-"===a[0]?20>a.length||20===a.length&&-922337a.length||19===a.length&& 922337>Number(a.substring(0,6)))?b=a:(16>a.length?ka(Number(a)):(a=BigInt(a),w=Number(a&BigInt(4294967295))>>>0,y=Number(a>>BigInt(32)&BigInt(4294967295))),a=w,c=y,c&2147483648?b=""+(BigInt(c|0)<>>0)):(c>>>=0,a>>>=0,2097151>=c?b=""+(4294967296*c+a):b=""+(BigInt(c)<{if(null==b||""==b)b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b[z]|=32;E=b;b=new a(b);E=void 0}return b}}(class extends Fa{});function Ha(a=window){return a};function K(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function L(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)};var Ia=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Ja(a,b){if(a)for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}let M=[];const Ka=()=>{const a=M;M=[];for(const b of a)try{b()}catch{}};var La=(a,b)=>{"complete"===a.readyState||"interactive"===a.readyState?(M.push(b),1==M.length&&(window.Promise?Promise.resolve().then(Ka):window.setImmediate?setImmediate(Ka):setTimeout(Ka,0))):a.addEventListener("DOMContentLoaded",b)};function Ma(a=document){return a.createElement("img")};function Na(a,b,c=null,d=!1){Oa(a,b,c,d)}function Oa(a,b,c,d){a.google_image_requests||(a.google_image_requests=[]);const e=Ma(a.document);if(c||d){const f=g=>{c&&c(g);if(d){g=a.google_image_requests;const h=Array.prototype.indexOf.call(g,e,void 0);0<=h&&Array.prototype.splice.call(g,h,1)}L(e,"load",f);L(e,"error",f)};K(e,"load",f);K(e,"error",f)}e.src=b;a.google_image_requests.push(e)} function Ta(a,b){var c;if(c=a.navigator)c=a.navigator.userAgent,c=/Chrome/.test(c)&&!/Edge/.test(c)?!0:!1;c&&a.navigator.sendBeacon?a.navigator.sendBeacon(b):Na(a,b,void 0,!1)};let Ua=0;function Va(a){return(a=Wa(a,document.currentScript))&&a.getAttribute("data-jc-version")||"unknown"}function Wa(a,b=null){return b&&b.getAttribute("data-jc")===String(a)?b:document.querySelector(`[${"data-jc"}="${a}"]`)};var Xa=window;class Ya{constructor(a,b){this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta={}}};const Za=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");var $a=class{constructor(a,b){this.g=a;this.i=b}},ab=class{constructor(a,b){this.url=a;this.Y=!!b;this.depth=null}};let N=null;function P(){const a=n.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()}function bb(){const a=n.performance;return a&&a.now?a.now():null};var cb=class{constructor(a,b){var c=bb()||P();this.label=a;this.type=b;this.value=c;this.duration=0;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()}};const Q=n.performance,db=!!(Q&&Q.mark&&Q.measure&&Q.clearMarks),R=function(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}}(()=>{var a;if(a=db){var b;if(null===N){N="";try{a="";try{a=n.top.location.hash}catch(c){a=n.location.hash}a&&(N=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=N;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function eb(a){a&&Q&&R()&&(Q.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),Q.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))} class fb{constructor(){var a=window;this.i=[];this.j=a||n;let b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.i=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.g=R()||(null!=b?b:1>Math.random())}start(a,b){if(!this.g)return null;a=new cb(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;Q&&R()&&Q.mark(b);return a}end(a){if(this.g&&"number"===typeof a.value){a.duration=(bb()||P())-a.value;var b=`goog_${a.label}_${a.uniqueId}_end`;Q&&R()&&Q.mark(b);!this.g||2048< this.i.length||this.i.push(a)}}};function S(a,b){const c={};c[a]=b;return[c]}function gb(a,b,c,d,e){const f=[];Ja(a,function(g,h){(g=hb(g,b,c,d,e))&&f.push(h+"="+g)});return f.join(b)} function hb(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,de?encodeURIComponent(gb(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}function ib(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 jb(a,b){let c="https://pagead2.googlesyndication.com"+b,d=ib(a)-b.length;if(0>d)return"";a.g.sort(function(f,g){return f-g});b=null;let e="";for(let f=0;f=k.length){d-=k.length;c+=k;e=a.j;break}b=null==b?g:b}}}a="";null!=b&&(a=e+"trn="+b);return c+a}class kb{constructor(){this.j="&";this.i={};this.l=0;this.g=[]}};function lb(a){let b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);let d;for(;a!=d;)d=a,a=a.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\n)*)\\2"),"$1");b=a.replace(RegExp("\n *","g"),"\n")}catch(d){b=c}}return b} function mb(a,b,c){let d,e;try{a.i&&a.i.g?(e=a.i.start(b.toString(),3),d=c(),a.i.end(e)):d=c()}catch(f){c=!0;try{eb(e),c=a.l(b,new Ya(f,{message:lb(f)}),void 0,void 0)}catch(g){a.C(217,g)}if(c)window.console?.error?.(f);else throw f;}return d}function nb(a,b){var c=T;return(...d)=>mb(c,a,()=>b.apply(void 0,d))}function ob(a){var b=T;a.catch(c=>{c=c?c:"unknown rejection";b.C(967,c instanceof Error?c:Error(c),void 0,b.g||void 0)})} var qb=class{constructor(a=null){this.pinger=U;this.i=a;this.g=null;this.j=!1;this.l=this.C}C(a,b,c,d,e){e=e||"jserror";let f;try{const B=new kb;var g=B;g.g.push(1);g.i[1]=S("context",a);b.error&&b.meta&&b.id||(b=new Ya(b,{message:lb(b)}));if(b.msg){g=B;var h=b.msg.substring(0,512);g.g.push(2);g.i[2]=S("msg",h)}var l=b.meta||{};b=l;if(this.g)try{this.g(b)}catch(C){}if(d)try{d(b)}catch(C){}d=B;l=[l];d.g.push(3);d.i[3]=l;b=n;l=[];let Z;h=null;do{var k=b;d=void 0;try{if(d=!!k&&null!=k.location.href)b:{try{ja(k.foo); d=!0;break b}catch(C){}d=!1}var m=d}catch{m=!1}m?(Z=k.location.href,h=k.document&&k.document.referrer||null):(Z=h,h=null);l.push(new ab(Z||""));try{b=k.parent}catch(C){b=null}}while(b&&k!=b);for(let C=0,Pa=l.length-1;C<=Pa;++C)l[C].depth=Pa-C;k=n;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length==l.length-1)for(m=1;m{var m=g;const q=m.l++;l=S(k,l);m.g.push(q);m.i[q]=l}));const h=jb(g,"/pagead/gen_204?id="+b+"&");h&&("undefined"!==typeof f?Na(n,h,f):a.i?Ta(n,h):Na(n,h))}catch(g){}}function sb(){var a=U,b=window.google_srt;0<=b&&1>=b&&(a.g=b)}class tb{constructor(a=!1){this.i=a;this.g=Math.random()}};let U,T;const V=new fb;var ub=()=>{window.google_measure_js_timing||(V.g=!1,V.i!=V.j.google_js_reporting_queue&&(R()&&Array.prototype.forEach.call(V.i,eb,void 0),V.i.length=0))};(a=>{U=a??new tb;"number"!==typeof window.google_srt&&(window.google_srt=Math.random());sb();T=new qb(V);T.g=b=>{const c=Ua;0!==c&&(b.jc=String(c),b.shv=Va(c))};T.j=!0;"complete"==window.document.readyState?ub():V.g&&K(window,"load",()=>{ub()})})(); var W=(a,b)=>nb(a,b),vb=(a,b,c)=>{var d=rb;var e="X";d.X&&d.hasOwnProperty(e)||(e=new d,d.X=e);d=[];!b.eid&&d.length&&(b.eid=d.toString());pb(U,a,b,!0,c,void 0)};class wb{constructor(){this.promise=new Promise(a=>{this.resolve=a})}};function xb(a,b){b.google_llp||(b.google_llp={});b=b.google_llp;let c=b[a];if(c)return c;const {promise:d,resolve:e}=new wb;c={promise:d,resolve:e};return b[a]=c};async function yb(){return xb(10,n).promise};function zb(){this.i=this.i;this.g=this.g}zb.prototype.i=!1;function Ab(a,b){a.i?b():(a.g||(a.g=[]),a.g.push(b))};var Bb=class extends zb{constructor(a){super();this.j=a;Ab(this,()=>{this.j.close()})}l(){this.j.postMessage([])}};function X(a,b,c={}){c.msg_type=b;c.googMsgType="sth";b=JSON.stringify(c);a.parent.postMessage(b,"*")}function Cb(a){if(a.F||I(a.config,2))return!0;let b=!0;const c=Db(a);c&&(b=36E5<=c);if(b)try{a.g.localStorage.removeItem("LAST_INTERSTITIAL_TIME")}catch(d){}return b} function Y(a,b,c){J(a.config,3)&&(b.qid=J(a.config,3));J(a.config,10)&&(b.eid=J(a.config,10));b.rtype=H(D(G(a.config,12)));b.req=a.g.location.href;if(I(a.config,28)){var d=pb;a.L||(a.L=new tb(!0));d(a.L,a.G(),b,!0,c??.01)}else vb(a.G(),b,c)}function Db(a){try{const b=+a.g.localStorage.getItem("LAST_INTERSTITIAL_TIME"),c=Date.now();if(b&&b{for(const d of a.l.document.getElementsByClassName("GoogleActiveViewElement"))d.removeAttribute("data-google-av-dm")};0c(),b):c();Y(a,{isfsapi:!!a.i,avp:P()-a.Z},.01)}} var Fb=class{constructor(a,b,c,d){this.g=a;this.l=b;this.v=!1;this.B=null;this.m=0;this.config=c;this.Z=P();this.L=null;I(c,29)?(a=a.parent,b=new MessageChannel,a.postMessage(JSON.stringify({googMsgType:"sth",msg_type:"i-hai-aux"}),"*",[b.port2]),a=new Bb(b.port1)):a=null;this.R=a;this.F=I(this.config,11)||10===H(D(G(this.config,12)))||11===H(D(G(this.config,12)));this.i=d;d?.enableCustomCloseButton()}G(){}J(){if(this.v=Cb(this)){if(this.K(),J(this.config,1)){var a=this.g,b=J(this.config,1);a.parent.postMessage(b, "*")}}else this.i?.notifyError("freq_cap")}A(){if(!this.m){this.B&&L(this.g,"storage",this.B);var a=this.m=Date.now();if(!I(this.config,2)&&!this.F)try{this.g.localStorage.setItem("LAST_INTERSTITIAL_TIME",""+a)}catch(b){}this.W();this.l&&(a=this.g.document.createEvent("Event"),a.initEvent("i-creative-view",!0,!1),this.l.dispatchEvent(a),a=this.g.document.createEvent("Event"),a.initEvent("onshow",!0,!1),this.g.dispatchEvent(a))}}H(){}K(){let a=!1;if(this.i){const b=this.i.waitForOnShow().then(()=> {this.A();Eb(this)});ob(b);this.i.listenToBackButton(()=>{this.H()})}else this.g.IntersectionObserver&&.01{b.forEach(d=>{0>=d.intersectionRatio||(this.A(),Eb(this),c.disconnect())})},{threshold:H(Ca(this.config))})).observe(this.g.document.documentElement));K(this.g,"message",W(262,b=>{a:{var c=a;if(b&&(this.g.parent==b.source||this.g.parent.parent==b.source)){var d={};try{d=this.g.JSON.parse(b.data)}catch(e){b=void 0;break a}switch(d?.msg_type){case "i-view":this.v&& !c&&this.A();Y(this,{type:"viewmsg",has_iobs:!!this.g.IntersectionObserver});break;case "r-back-button":null==this.i&&this.H()}}b=void 0}return b}));this.F||(this.B=W(263,()=>{this.v=Cb(this);if(!this.v){var b={i_tslv:Db(this)};X(this.g,"i-no",b)}}),K(this.g,"storage",this.B));this.i||X(this.g,"i-adframe-load")}W(a){let b;try{const c=Ha(this.l);c.vv?c.vv():b=!0}catch(c){T.C(533,c,void 0,void 0);return}a=a||1;b?(Y(this,{vf:a}),3<=a||this.g.setTimeout(r(Fb.prototype.W,this,a+1),3E3)):1{a.j.style.background="transparent";a.dismiss(2)},750))}function Mb(a,b){b.some(c=>"intervention"===c.type&&"HeavyAdIntervention"===c.body?.id)&&(Y(a,{hai:"1"},1),a.R?.l(),a.m?a.dismiss(8):a.i?a.i.notifyError("heavy_ads"):X(a.g,"i_iif"))} function Nb(a){const b=W(259,r(function(){X(this.g,"i-blur");L(this.g,"blur",b)},a));K(a.g,"blur",b)}function Ob(a){a.u||0===a.m||(a.j.setAttribute("aria-label",J(a.config,7)),a.j.setAttribute("role","button"),a.j.setAttribute("tabindex","0"),a.j.focus())}function Pb(a,b){I(a.config,15)?(Gb("canceled"),Gb("closed")):a.i?a.i.closeAd():X(a.g,b)} function Qb(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 Rb(a){!1===a.u&&a.enableDismissListeners();a.V&&K(a.V,"click",W(261,c=>Qb(a,c)));const b=a.g.document.getElementById("card");b&&b.addEventListener("click",W(909,c=>{c?.stopPropagation()}))} function Sb(a){K(a.g,"resize",()=>{var b=a.g;b=b.innerHeight>=b.innerWidth?1:2;a.I?(a.I=!1,a.N=2===b):(a.N?1===b:2===b)&&a.dismiss(4)})}function Tb(a){a.g.addEventListener("message",b=>{if(b.source===a.l)try{const c=JSON.parse(b.data);"rewarded"===c.type&&"closed"===c.message&&a.dismiss(11===H(D(G(a.config,12)))?6:1)}catch(c){}})} function Lb(a,b){if(!b)return!0;if((b.preventDefault?b.defaultPrevented:!1===b.returnValue)||b.target&&b.target.ownerDocument==a.l.document)return!1;for(a=b.target;a;){if("creative"==a.id)return!1;a=a.parentElement}return!0} var Ub=class extends Fb{constructor(a,b,c,d,e,f){super(a,b,e,f);this.j=c;this.V=d;this.O=0;this.U=W(260,g=>{this.dismiss(1);g&&g.stopPropagation()});this.T=g=>Kb(this,g);this.M=[];this.D=[];this.u=!1;this.P=()=>{};this.I=this.N=!1;this.o=null}J(){super.J();if(this.o=this.g.ReportingObserver?new this.g.ReportingObserver((a,b)=>{Mb(this,a)&&b.disconnect()},{buffered:!0}):null)this.R&&this.o.observe(),K(this.g,"pagehide",()=>{Mb(this,this.o.takeRecords());this.o.disconnect()})}G(){return"ia_evt"}H(){this.u? this.P():this.dismiss(9)}addViewListener(a){a=nb(483,a);this.m?a():this.M.push(a)}addDismissListener(a){this.D.push(nb(484,a))}disableDismissListeners(a){this.u=!0;this.P=a;L(this.j,"click",this.U);L(this.g.document,"click",this.T)}enableDismissListeners(){this.u=!1;K(this.j,"click",this.U);K(this.g.document,"click",this.T);Ob(this)}dismiss(a){document.body.setAttribute("aria-hidden","true");Y(this,{ttd:Date.now()-this.m,req:Xa.location.href,pda:this.O,ds:a,idrw:I(this.config,15)?1:0});this.O++|| Nb(this);let b=0;for(let d=0;dPb(this,c),b)}K(){super.K();Rb(this)}A(){super.A();var a=this.g;this.N=2===(a.innerHeight>=a.innerWidth?1:2);this.I=0===this.g.innerWidth&&0===this.g.innerHeight;Sb(this);Ob(this);var b=this.j.getBoundingClientRect(),c=b.bottom,d=b.right;a=Hb(this.g).clientHeight;var e=Hb(this.g).clientWidth?? void 0;const f=Math.floor(c-a),g=Math.floor(d-e);if(0<=f||5=c?1:0,dhr:g>=d?1:0,h:a,w:e,bh:c,bw:d,opb:f,opr:g,pt:b.innerHeight>=b.innerWidth?1:0,req:this.g.location.href});this.l.postMessage(JSON.stringify({type:"rewarded",message:"visible"}),"*");for(a=0;a{var e=null;I(c,25)&&(e=await yb());{var f=b.document.getElementById("ad_iframe").contentWindow;var g=b.document;const l=f.document;var h=G(c,5);const k=(null==h?h:Number.isFinite(h)?h|0:void 0)??0;h=0===k||2===k?l.getElementById(J(c,6)):g.getElementById(J(c,6));g=0===k?l.getElementById(J(c,8)):g.getElementById(J(c,8));let m;try{m=!!b.localStorage}catch(q){}h?(m||Jb(h,m,c),f=new Ub(b,f,h,g,c,e),f.J()):(Jb(h,m,c),e?e.notifyError("no_dismiss_button"): X(b,"i_iif"),f=null)}b.interstitialAdFrame=f;xb(9,b).resolve(f)});a=b.document.getElementById("ad_iframe");null!=a.contentDocument&&La(a.contentDocument,()=>void d())})(Wb);}).call(this);