(function(sttc){'use strict';var m,aa=Object.defineProperty,ba=globalThis,da=typeof Symbol==="function"&&typeof Symbol("x")==="symbol",ea={},fa={};function ha(a,b,c){if(!c||a!=null){c=fa[b];if(c==null)return a[b];c=a[c];return c!==void 0?c:a[b]}} function ia(a,b,c){if(b)a:{var d=a.split(".");a=d.length===1;var e=d[0],f;!a&&e in ea?f=ea:f=ba;for(e=0;e>>0,fa[d]=da?ba.Symbol(d):"$jscp$"+a+"$"+d),aa(f,fa[d],{configurable:!0,writable:!0,value:b})))}}ia("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")},"es_next");/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var n=this||self;function ja(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}function ka(a,b,c){return a.call.apply(a.bind,arguments)}function la(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}} function ma(a,b,c){ma=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?ka:la;return ma.apply(null,arguments)}function na(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function oa(a,b){a=a.split(".");for(var c=n||n,d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b}function pa(a){return a} function qa(a,b){function c(){}c.prototype=b.prototype;a.Z=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.zb=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h{throw a;},0)};var ta,ua;a:{for(var va=["CLOSURE_FLAGS"],wa=n,xa=0;xab&&b.indexOf(a)!=-1):!1:!1}function t(a){return za().indexOf(a)!=-1};function v(){return ta?!!r&&r.brands.length>0:!1}function Ca(){return v()?Ba("Chromium"):(t("Chrome")||t("CriOS"))&&!(v()?0:t("Edge"))||t("Silk")};function Da(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(let c=0;c=0;--c)c in d&&b.call(void 0,d[c],c,a)}function Ha(a,b){b=Da(a,b);let c;(c=b>=0)&&Array.prototype.splice.call(a,b,1);return c} function Ia(a,b){let c=0;Ga(a,function(d,e){b.call(void 0,d,e,a)&&Array.prototype.splice.call(a,e,1).length==1&&c++})};function Ja(a){Ja[" "](a);return a}Ja[" "]=function(){};var Ka=t("Gecko")&&!(za().toLowerCase().indexOf("webkit")!=-1&&!t("Edge"))&&!(t("Trident")||t("MSIE"))&&!t("Edge"),La=za().toLowerCase().indexOf("webkit")!=-1&&!t("Edge");!t("Android")||Ca();Ca();t("Safari")&&(Ca()||(v()?0:t("Coast"))||(v()?0:t("Opera"))||(v()?0:t("Edge"))||(v()?Ba("Microsoft Edge"):t("Edg/"))||v()&&Ba("Opera"));function Ma(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};let Na=void 0,Oa;function Pa(a){if(Oa)throw Error("");Oa=b=>{n.setTimeout(()=>{a(b)},0)}}function Qa(a){if(Oa)try{Oa(a)}catch(b){throw b.cause=a,b;}}function Ra(a){a=Error(a);Ma(a,"warning");Qa(a);return a}function Sa(a){if(a!=null){var b=Na??(Na={});var c=b[a]||0;c>=5||(b[a]=c+1,a=Error(),Ma(a,"incident"),Oa?Qa(a):sa(a))}};function Ta(a,b=!1){return b&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol()}var Ua=Ta(),Va=Ta(),Wa=Ta(),Xa=Ta(),Ya=Ta();const w=Ta("jas",!0);function Za(a,b){b[w]=(a|0)&-15615}function $a(a,b){b[w]=(a|34)&-15581};function x(a){return Array.prototype.slice.call(a)};var ab={};function bb(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}var cb;const db=[];db[w]=55;cb=Object.freeze(db);function eb(a){if(a&2)throw Error();}function fb(a,b){const c=pa(Wa);(b=c?b[c]:void 0)&&(a[Wa]=x(b))};function gb(a,b){const c=hb;if(!b(a))throw b=(typeof c==="function"?c():c)?.concat("\n")??"",Error(b+String(a));}function ib(a){a.Cb=!0;return a}let hb=void 0;var jb=ib(a=>typeof a==="number"),y=ib(a=>typeof a==="string"),kb=ib(a=>a===void 0),lb=ib(a=>Array.isArray(a));function mb(){return ib(a=>lb(a)?a.every(b=>jb(b)):!1)};function nb(a){if(y(a)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(a))throw Error(String(a));}else if(jb(a)&&!Number.isSafeInteger(a))throw Error(String(a));return BigInt(a)}var rb=ib(a=>a>=ob&&a<=pb);const ob=BigInt(Number.MIN_SAFE_INTEGER),pb=BigInt(Number.MAX_SAFE_INTEGER);let sb=0,tb=0;function ub(a){const b=a>>>0;sb=b;tb=(a-b)/4294967296>>>0}function vb(a){if(a<0){ub(-a);a=sb;var b=tb;b=~b;a?a=~a+1:b+=1;const [c,d]=[a,b];sb=c>>>0;tb=d>>>0}else ub(a)}function wb(a,b){b>>>=0;a>>>=0;var c;b<=2097151?c=""+(4294967296*b+a):c=""+(BigInt(b)<>>0)):c=wb(a,b);return c};const yb=typeof BigInt==="function"?BigInt.asIntN:void 0,zb=Number.isSafeInteger,Ab=Number.isFinite,Bb=Math.trunc;function Cb(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a}const Db=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function Eb(a){switch(typeof a){case "bigint":return!0;case "number":return Ab(a);case "string":return Db.test(a);default:return!1}}function Fb(a){if(!Ab(a))throw Ra("enum");return a|0}function Gb(a){return a==null?a:Fb(a)} function Hb(a){return a==null?a:Ab(a)?a|0:void 0}function Ib(a){if(typeof a!=="number")throw Ra("int32");if(!Ab(a))throw Ra("int32");return a|0} function Jb(a){if(a!=null)a:{if(!Eb(a))throw Ra("int64");switch(typeof a){case "string":var b=Bb(Number(a));zb(b)?a=String(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),Kb(a)||(a.length<16?vb(Number(a)):(a=BigInt(a),sb=Number(a&BigInt(4294967295))>>>0,tb=Number(a>>BigInt(32)&BigInt(4294967295))),a=xb()));break a;case "bigint":a=nb(yb(64,a));break a;default:a=Lb(a)}}return a} function Kb(a){const b=a.length;return a[0]==="-"?b<20?!0:b===20&&Number(a.substring(0,7))>-922337:b<19?!0:b===19&&Number(a.substring(0,6))<922337}function Lb(a){a=Bb(a);if(!zb(a)){vb(a);var b=sb,c=tb;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);const d=c*4294967296+(b>>>0);b=Number.isSafeInteger(d)?d:wb(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function Mb(a){if(typeof a!=="string")throw Error();return a} function Nb(a){if(a!=null&&typeof a!=="string")throw Error();return a}function Ob(a){return a==null||typeof a==="string"?a:void 0};function Pb(a){return a};function Qb(a,b,c){const d=x(a);var e=d.length;const f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;b0;f=b-1)if(h=a[f],h==null)b--,e=!0;else if(f-=c,f>=g)(d??(d={}))[f]=h,b--,e=!0;else break;e&&(a.length=b); d&&a.push(d)}return a};function Xb(){Sa(Xa)};function Yb(a,b,c=$a){if(a!=null){if(a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=a[w]|0;if(d&2)return a;b&&(b=d===0||!!(d&32)&&!(d&64||!(d&16)));return b?(a[w]=d|34,d&4&&Object.freeze(a),a):Sb(a,Yb,d&4?$a:c,!0,!0)}a.xa===ab&&(c=a.F,d=c[w]|0,a=d&2?a:new a.constructor(Zb(c,d,!0)));return a}}function Zb(a,b,c){const d=c||b&2?$a:Za,e=!!(b&32);a=Qb(a,b,f=>Yb(f,e,d));a[w]|=32|(c?2:0);return a} function $b(a){const b=a.F,c=b[w]|0;return c&2?new a.constructor(Zb(b,c,!1)):a}function ac(a){const b=a.F,c=b[w]|0;return c&2?a:new a.constructor(Zb(b,c,!0))};const bc=nb(0);function A(a,b){a=a.F;return cc(a,a[w]|0,b)}function cc(a,b,c){if(c===-1)return null;const d=c+(b&512?0:-1),e=a.length-1;if(d>=e&&b&256)return a[e][c];if(d<=e)return a[d]}function dc(a,b,c){const d=a.F;let e=d[w]|0;eb(e);B(d,e,b,c);return a}function B(a,b,c,d){const e=b&512?0:-1,f=c+e;var g=a.length-1;if(f>=g&&b&256)return a[g][c]=d,b;if(f<=g)return a[f]=d,b;d!==void 0&&(g=b>>14&1023||536870912,c>=g?d!=null&&(a[g+e]={[c]:d},b|=256,a[w]=b):a[f]=d);return b} function ec(a){return!!(2&a)&&!!(4&a)||!!(1024&a)}function fc(a,b,c,d){const e=a.F;let f=e[w]|0;eb(f);if(c==null)return B(e,f,b),a;let g=c[w]|0,h=g;var k=ec(g);let l=k||Object.isFrozen(c);k||(g=0);l||(c=x(c),h=0,g=gc(g,f),g=ic(g,f),l=!1);g|=21;k=(4&g?2048&g?2048:4096&g?4096:0:void 0)??0;for(let p=0;p=1024)throw Error("pvtlmt");for(c in e){if(!Object.prototype.hasOwnProperty.call(e,c))continue;const h=+c;if(h{var b;if(!(b=a[Ua])){const c=new a;b=c.F;b[w]|=34;b=a[Ua]=c}return b}};function nc(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}}function oc(a){let b=0;return function(c){n.clearTimeout(b);const d=arguments;b=n.setTimeout(function(){a.apply(void 0,d)},100)}};function G(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function pc(a,b,c){return a.removeEventListener?(a.removeEventListener(b,c,!1),!0):!1};function qc(){return ta&&r?r.mobile:!rc()&&(t("iPod")||t("iPhone")||t("Android")||t("IEMobile"))}function rc(){return ta&&r?!r.mobile&&(t("iPad")||t("Android")||t("Silk")):t("iPad")||t("Android")&&!t("Mobile")||t("Silk")};function sc(a,b,c){for(const d in a)b.call(c,a[d],d,a)}function tc(a){let b=0;for(const c in a)b++}function uc(a){const b={};for(const c in a)b[c]=a[c];return b}const vc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function wc(a,b){let c,d;for(let e=1;ec;a=xc.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(b){}return a}function Ac(){yc===void 0&&(yc=zc());return yc};var Bc=class{constructor(a){this.g=a}toString(){return this.g+""}};function Cc(a){const b=Ac();return new Bc(b?b.createScriptURL(a):a)}function Dc(a){if(a instanceof Bc)return a.g;throw Error("");};var Ec=class{constructor(a){this.g=a}toString(){return this.g+""}};function Fc(a){const b=Ac();return new Ec(b?b.createHTML(a):a)}function Gc(a){if(a instanceof Ec)return a.g;throw Error("");};var Hc=class{constructor(a){this.g=a}toString(){return this.g}};function Ic(a){if(a instanceof Hc)return a.g;throw Error("");};function Jc(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function Kc(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};var Lc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Mc(a){return new Hc(a[0])};function Nc(a){return a instanceof Ec?a:Fc(String(a).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"))};function Oc(a,...b){if(b.length===0)return Cc(a[0]);let c=a[0];for(let d=0;de(k,h)):(b+=f+encodeURIComponent(h)+"="+encodeURIComponent(g),f="&"))}let f=b.length?"&":"?";d.constructor===Object&&(d=Object.entries(d));Array.isArray(d)?d.forEach(g=>e(g[1],g[0])):d.forEach(e);return Cc(a+b+c)};function Qc(a){try{var b;if(b=!!a&&a.location.href!=null)a:{try{Ja(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch{return!1}}function Rc(){if(!globalThis.crypto)return Math.random();try{const a=new Uint32Array(1);globalThis.crypto.getRandomValues(a);return a[0]/65536/65536}catch{return Math.random()}}function Sc(a,b){if(a)for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}function Tc(a){const b=[];Sc(a,function(c){b.push(c)});return b} var Uc=nc(()=>qc()?2:rc()?1:0),Vc=(a,b)=>{Sc(b,(c,d)=>{a.style.setProperty(d,c,"important")})},Xc=(a,b)=>{if("length"in a.style){a=a.style;const c=a.length;for(let d=0;d{const b={};if(a){const c=/\s*:\s*/;Fa((a||"").split(/\s*;\s*/),d=>{if(d){var e=d.split(c);d=e[0];e=e[1];d&&e&&(b[d.toLowerCase()]=e)}})}return b},Yc=a=>{const b=/!\s*important/i;Xc(a,(c,d)=>{b.test(c)?b.test(c):a.style.setProperty(d,c,"important")})}; let Zc=[];const $c=()=>{const a=Zc;Zc=[];for(const b of a)try{b()}catch{}};var ad=a=>{Zc.push(a);Zc.length==1&&(window.Promise?Promise.resolve().then($c):window.setImmediate?setImmediate($c):setTimeout($c,0))},bd=a=>{if(typeof a.goog_pvsid!=="number")try{var b=Object,c=b.defineProperty,d=Math.random;var e=Math.floor(d()*2**52);c.call(b,a,"goog_pvsid",{value:e,configurable:!1})}catch(f){}return Number(a.goog_pvsid)||-1},cd=(a,b)=>new Promise(c=>{setTimeout(()=>void c(b),a)}); function dd(a,b=document){return b.createElement(String(a).toLowerCase())}var ed=a=>{if(Ca()&&qc()){var b=Qc(a.top)?a.top:null;if(b){a=Uc()===0;var c=!!b.document.querySelector('meta[name=viewport][content*="width=device-width"]'),d=b.innerWidth;b=b.outerWidth;if(d===0)a=1;else{var e=Math.round((b/d+Number.EPSILON)*100)/100;a=e===1?1:a||c?e:Math.round((b/d/.4+Number.EPSILON)*100)/100}}else a=1}else a=1;return a};function fd(a,b,c=null,d=!1,e=!1){gd(a,b,c,d,e)}function gd(a,b,c,d,e=!1){a.google_image_requests||(a.google_image_requests=[]);const f=dd("IMG",a.document);if(c||d){const g=h=>{c&&c(h);d&&Ha(a.google_image_requests,f);pc(f,"load",g);pc(f,"error",g)};G(f,"load",g);G(f,"error",g)}e&&(f.attributionSrc="");f.src=b;a.google_image_requests.push(f)} var id=a=>{let b="https://pagead2.googlesyndication.com/pagead/gen_204?id=rcs_internal";Sc(a,(c,d)=>{if(c||c===0)b+=`&${d}=${encodeURIComponent(""+c)}`});hd(b)},hd=a=>{var b=window;b.fetch?b.fetch(a,{keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"}):fd(b,a,void 0,!1,!1)};function jd(){var a=window.innerHeight;this.width=window.innerWidth;this.height=a}m=jd.prototype;m.aspectRatio=function(){return this.width/this.height};m.isEmpty=function(){return!(this.width*this.height)};m.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};m.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};m.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; m.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};function kd(a=n){let b=a.context||a.AMP_CONTEXT_DATA;if(!b)try{b=a.parent.context||a.parent.AMP_CONTEXT_DATA}catch{}return b?.pageViewId&&b?.canonicalUrl?b:null}function ld(){var a=kd();return a?Qc(a.master)?a.master:null:null};function md(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}function nd(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function od(){this.g=n.document||document}od.prototype.i=function(a){var b=this.g;return typeof a==="string"?b.getElementById(a):a};od.prototype.l=od.prototype.i;function H(a,b,c){if(typeof b==="string")(b=pd(a,b))&&(a.style[b]=c);else for(const e in b){c=a;var d=b[e];const f=pd(c,e);f&&(c.style[f]=d)}}var qd={};function pd(a,b){let c=qd[b];if(!c){var d=Jc(b);c=d;a.style[d]===void 0&&(d=(La?"Webkit":Ka?"Moz":null)+Kc(d),a.style[d]!==void 0&&(c=d));qd[b]=c}return c};var rd=class{constructor(a,b){this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta={}}};function sd(a){return new rd(a,{message:td(a)})}function td(a){let b=a.toString();a.name&&b.indexOf(a.name)==-1&&(b+=": "+a.name);a.message&&b.indexOf(a.message)==-1&&(b+=": "+a.message);if(a.stack)a:{a=a.stack;var c=b;try{a.indexOf(c)==-1&&(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");break a}catch(d){b=c;break a}b=void 0}return b};const ud=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");var vd=class{constructor(a,b){this.g=a;this.i=b}},wd=class{constructor(a,b){this.url=a;this.Ia=!!b;this.depth=null}};let xd=null;function yd(){const a=n.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()}function zd(){const a=n.performance;return a&&a.now?a.now():null};var Ad=class{constructor(a,b){var c=zd()||yd();this.label=a;this.type=b;this.value=c;this.duration=0;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()}};const J=n.performance,Bd=!!(J&&J.mark&&J.measure&&J.clearMarks),Cd=nc(()=>{var a;if(a=Bd){var b;a=window;if(xd===null){xd="";try{let c="";try{c=a.top.location.hash}catch(d){c=a.location.hash}c&&(xd=(b=c.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=xd;a=!!b.indexOf&&b.indexOf("1337")>=0}return a});function Dd(a){a&&J&&Cd()&&(J.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),J.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))} function Ed(a){a.g=!1;a.i!==a.l.google_js_reporting_queue&&(Cd()&&Fa(a.i,Dd),a.i.length=0)} var Fd=class{constructor(a){this.i=[];this.l=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=Cd()||(b!=null?b:Math.random()<1)}start(a,b){if(!this.g)return null;a=new Ad(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;J&&Cd()&&J.mark(b);return a}end(a){if(this.g&&typeof a.value==="number"){a.duration=(zd()||yd())-a.value;var b=`goog_${a.label}_${a.uniqueId}_end`;J&&Cd()&&J.mark(b);!this.g||this.i.length> 2048||this.i.push(a)}}};function Gd(a,b){const c={};c[a]=b;return[c]}function Hd(a,b,c,d,e){const f=[];Sc(a,(g,h)=>{(g=Id(g,b,c,d,e))&&f.push(`${h}=${g}`)});return f.join(b)} function Id(a,b,c,d,e){if(a==null)return"";b=b||"&";c=c||",$";typeof c==="string"&&(c=c.split(""));if(a instanceof Array){if(d||(d=0),db&&(b=c.length);return 3997-b-a.l.length-1} function Kd(a,b){let c="https://pagead2.googlesyndication.com"+b,d=Jd(a)-b.length;if(d<0)return"";a.g.sort((f,g)=>f-g);b=null;let e="";for(let f=0;f=l.length){d-=l.length;c+=l;e=a.l;break}b=b==null?g:b}}}a="";b!=null&&(a=`${e}${"trn"}=${b}`);return c+a}var Ld=class{constructor(){this.l="&";this.i={};this.j=0;this.g=[]}};var Nd=class{constructor(a,b,c=null){this.o=a;this.u=b;this.g=c;this.i=null;this.j=!1;this.B=this.P}za(a){this.i=a}l(a){this.j=a}W(a,b){let c,d;try{this.g&&this.g.g?(d=this.g.start(a.toString(),3),c=b(),this.g.end(d)):c=b()}catch(e){b=this.u;try{Dd(d),b=this.B(a,sd(e),void 0,void 0)}catch(f){this.P(217,f)}if(b)window.console?.error?.(e);else throw e;}return c}ya(a,b){return(...c)=>this.W(a,()=>b.apply(void 0,c))}P(a,b,c,d,e){e=e||"jserror";let f=void 0;try{const X=new Ld;var g=X;g.g.push(1);g.i[1]= Gd("context",a);b.error&&b.meta&&b.id||(b=sd(b));g=b;if(g.msg){b=X;var h=g.msg.substring(0,512);b.g.push(2);b.i[2]=Gd("msg",h)}var k=g.meta||{};h=k;if(this.i)try{this.i(h)}catch(I){}if(d)try{d(h)}catch(I){}d=X;k=[k];d.g.push(3);d.i[3]=k;d=n;k=[];h=null;do{var l=d;if(Qc(l)){var p=l.location.href;h=l.document&&l.document.referrer||null}else p=h,h=null;k.push(new wd(p||""));try{d=l.parent}catch(I){d=null}}while(d&&l!=d);for(let I=0,ee=k.length-1;I<=ee;++I)k[I].depth=ee-I;l=n;if(l.location&&l.location.ancestorOrigins&& l.location.ancestorOrigins.length==k.length-1)for(p=1;p=0;--q){var D=u[q];!l&&ud.test(D.url)&&(l=D);if(D.url&&!D.Ia){qb=D;break}}D=null;const rg=u.length&&u[hc].url;qb.depth!=0&&rg&&(D=u[hc]);f=new vd(qb,D);if(f.i){u=X;var z=f.i.url||"";u.g.push(4);u.i[4]=Gd("top",z)}var ca={url:f.g.url||""};if(f.g.url){const I=f.g.url.match(Lc);var R= I[1],Ea=I[3],fe=I[4];z="";R&&(z+=R+":");Ea&&(z+="//",z+=Ea,fe&&(z+=":"+fe));var ge=z}else ge="";R=X;ca=[ca,{url:ge}];R.g.push(5);R.i[5]=ca;Md(this.o,e,X,this.j,c)}catch(X){try{Md(this.o,e,{context:"ecmserr",rctx:a,msg:td(X),url:f?.g.url??""},this.j,c)}catch(qb){}}return this.u}};var Od=class extends F{};function Pd(a,b){try{const c=d=>[{[d.Ma]:d.Ka}];return JSON.stringify([a.filter(d=>d.wa).map(c),Wb(b),a.filter(d=>!d.wa).map(c)])}catch(c){return Qd(c,b),""}}function Qd(a,b){try{id({m:td(a instanceof Error?a:Error(String(a))),b:(Hb(A(b,1))??0)||null,v:(Ob(A(b,2))??"")||null})}catch(c){}}var Rd=class{constructor(a,b){var c=new Od;a=C(c,1,Gb(a),0);b=E(a,2,b);this.l=ac(b)}};var Sd=class extends F{L(a){return C(this,2,Gb(a),0)}};var Td=class extends F{},Ud=[4,5,6,8,9,10,11,12,13,14,15,16,17];var Vd=class extends F{};function Wd(){var a=$b(Xd());return E(a,1,Yd())}var Zd=class extends F{};var $d=class extends F{};var ae=class extends F{getTagSessionCorrelator(){var a=A(this,1),b=typeof a;a!=null&&(b==="bigint"?a=nb(yb(64,a)):Eb(a)?b==="string"?(b=Bb(Number(a)),zb(b)?a=nb(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=nb(yb(64,BigInt(a))))):zb(a)?a=nb(Lb(a)):(a=Bb(a),zb(a)?a=String(a):(b=String(a),Kb(b)?a=b:(vb(a),a=xb())),a=nb(a)):a=void 0);return a??bc}};var be=class extends F{},ce=[1,7],de=[4,6,8];class he extends Rd{constructor(){super(...arguments)}}function ie(a,...b){je(a,...b.map(c=>({wa:!0,Ma:3,Ka:Wb(c)})))}function ke(a,...b){je(a,...b.map(c=>({wa:!0,Ma:7,Ka:Wb(c)})))}var le=class extends he{};var me=(a,b)=>{globalThis.fetch(a,{method:"POST",body:b,keepalive:b.length<65536,credentials:"omit",mode:"no-cors",redirect:"follow"}).catch(()=>{})};function je(a,...b){try{a.B&&Pd(a.g.concat(b),a.l).length>=65536&&ne(a),a.j&&!a.o&&(a.o=!0,oe(a.j,()=>{ne(a)})),a.g.push(...b),a.g.length>=a.u&&ne(a),a.g.length&&a.i===null&&(a.i=setTimeout(()=>{ne(a)},a.C))}catch(c){Qd(c,a.l)}}function ne(a){a.i!==null&&(clearTimeout(a.i),a.i=null);if(a.g.length){var b=Pd(a.g,a.l);a.H("https://pagead2.googlesyndication.com/pagead/ping?e=1",b);a.g=[]}} var pe=class extends le{constructor(a,b,c,d){super(2,Yd());this.H=me;this.C=a;this.u=b;this.B=c;this.j=d;this.g=[];this.i=null;this.o=!1}},qe=class extends pe{constructor(a=1E3,b=100,c=!1,d){super(a,b,c&&!0,d)}};var K=a=>{var b="ua";if(a.ua&&a.hasOwnProperty(b))return a.ua;b=new a;return a.ua=b};function re(a,b,c){return b[a]||c};function se(a,b){a.g=()=>re(3,b,()=>[])(1)}class te{g(){return[]}};function Md(a,b,c,d=!1,e){if((d?a.g:Math.random())<(e||.01))try{let f;c instanceof Ld?f=c:(f=new Ld,Sc(c,(h,k)=>{var l=f;const p=l.j++;h=Gd(k,h);l.g.push(p);l.i[p]=h}));const g=Kd(f,"/pagead/gen_204?id="+b+"&");g&&fd(n,g)}catch(f){}}function ue(a,b){b>=0&&b<=1&&(a.g=b)}class ve{constructor(){this.g=Math.random()}};let we,xe;const ye=new Fd(window);(a=>{we=a??new ve;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());ue(we,window.google_srt);xe=new Nd(we,!0,ye);xe.za(()=>{});xe.l(!0);window.document.readyState=="complete"?window.google_measure_js_timing||Ed(ye):ye.g&&G(window,"load",()=>{window.google_measure_js_timing||Ed(ye)})})();function Yd(){return"m202502250101"};var ze=class{constructor(a,b=!1){this.g=a;this.defaultValue=b}},L=class{constructor(a,b=0){this.g=a;this.defaultValue=b}};var Ae=new ze(1381,!0),Be=new L(1130,100),Ce=new ze(10020),De=new ze(10018),Ee=new L(1085,5),Fe=new L(63,30),Ge=new L(1080,5),He=new L(10019,5),Ie=new ze(10016,!0),Je=new L(1027,10),Ke=new L(57,120),Le=new ze(10017),Me=new L(1050,30),Ne=new L(58,120),Oe=new L(550718588,250);var Pe=mc(Vd);var Xd=mc(Zd);function Qe(a,b){return b(a)?a:void 0} function Re(a,b,c,d,e){c=c instanceof rd?c.error:c;var f=new be;const g=new ae;try{var h=bd(window);C(g,1,Jb(h),"0")}catch(u){}try{var k=K(te).g();fc(g,2,k,Ib)}catch(u){}try{E(g,3,window.document.URL)}catch(u){}h=kc(f,2,g);k=new $d;b=C(k,1,Gb(b),0);try{var l=y(c?.name)?c.name:"Unknown error";E(b,2,l)}catch(u){}try{var p=y(c?.message)?c.message:`Caught ${c}`;E(b,3,p)}catch(u){}try{var q=y(c?.stack)?c.stack:Error().stack;q&&fc(b,4,q.split(/\n\s*/),Mb)}catch(u){}l=lc(h,1,ce,b);if(e){p=0;switch(e.errSrc){case "LCC":p= 1;break;case "PVC":p=2}q=Wd();b=Qe(e.shv,y);q=E(q,2,b);p=C(q,6,Gb(p),0);q=Pe();q=$b(q);b=Qe(e.es,mb());q=fc(q,1,b,Ib);q=ac(q);p=kc(p,4,q);q=Qe(e.client,y);p=dc(p,3,Nb(q));q=Qe(e.slotname,y);p=E(p,7,q);e=Qe(e.tag_origin,y);e=E(p,8,e);e=ac(e)}else e=ac(Wd());e=lc(l,6,de,e);d=C(e,5,Jb(d??1),"0");ie(a,d)};let Se,Te=64;function Ue(){try{return Se??(Se=new Uint32Array(64)),Te>=64&&(crypto.getRandomValues(Se),Te=0),Se[Te++]}catch(a){return Math.floor(Math.random()*2**32)}};var We=class{constructor(){this.g=Ve}};function Ve(){return{Sa:Ue()+(Ue()&2**21-1)*2**32,Pa:Number.MAX_SAFE_INTEGER}};var Ze=class{constructor(a=!1){var b=Xe;this.o=Ye;this.i=a;this.u=b;this.g=null;this.j=this.P}za(a){this.g=a}l(){}W(a,b){let c;try{c=b()}catch(d){b=this.i;try{b=this.j(a,sd(d),void 0,void 0)}catch(e){this.P(217,e)}if(b)window.console?.error?.(d);else throw d;}return c}ya(a,b){return(...c)=>this.W(a,()=>b.apply(void 0,c))}P(a,b,c,d){try{const g=c===void 0?1/this.u:c===0?0:1/c;var e=(new We).g();if(g>0&&e.Sa*g<=e.Pa){var f=this.o;c={};if(this.g)try{this.g(c)}catch(h){}if(d)try{d(c)}catch(h){}Re(f,a, b,g,c)}}catch(g){}return this.i}};var $e=class{constructor(){const a={};this.i=(b,c)=>a[b]!=null?a[b]:c;this.l=(b,c)=>a[b]!=null?a[b]:c;this.o=(b,c)=>a[b]!=null?a[b]:c;this.u=(b,c)=>a[b]!=null?a[b]:c;this.j=(b,c)=>a[b]!=null?c.concat(a[b]):c;this.g=()=>{}}};function M(a){return K($e).i(a.g,a.defaultValue)}function N(a){return K($e).l(a.g,a.defaultValue)};let Ye,af,bf,cf,df,Xe;const ef=new Fd(n);(function(a,b,c=!0){({Wa:Xe,Qa:cf}=ff());af=a||new ve;ue(af,cf);bf=new Nd(af,c,ef);bf.l(!0);Ye=b||new qe(1E3);df=new Ze(c);n.document.readyState==="complete"?n.google_measure_js_timing||Ed(ef):ef.g&&G(n,"load",()=>{n.google_measure_js_timing||Ed(ef)})})();function gf(a,b){M(Ae)?df.W(a,b):bf.W(a,b)}function O(a,b){return M(Ae)?df.ya(a,b):bf.ya(a,b)} function ff(){let a,b;typeof n.google_srt==="number"?(b=n.google_srt,a=n.google_srt===0?1:.01):(b=Math.random(),a=.01);return{Wa:a,Qa:b}};function hf(){var a=kd(window);if(a){if(a){var b=a.pageViewId;a=a.clientId;typeof a==="string"&&(b+=a.replace(/\D/g,"").substr(0,6))}else b=null;return+b}for(a=b=window;b&&b!=b.parent;)b=b.parent,Qc(b)&&(a=b);b=a;a=b.google_global_correlator;a||(b.google_global_correlator=a=1+Math.floor(Math.random()*8796093022208));return a} function jf(){if(kf)return kf;const a=ld()||window,b=a.google_persistent_state_async;return b!=null&&typeof b=="object"&&b.S!=null&&typeof b.S=="object"?kf=b:a.google_persistent_state_async=kf=new lf}function mf(a,b,c){b=nf[b]||`google_ps_${b}`;a=a.S;const d=a[b];return d===void 0?(a[b]=c(),a[b]):d}function of(a){var b=hf();return mf(a,7,()=>b)}function pf(){var a=jf();return of(a)}var lf=class{constructor(){this.S={}}},kf=null;const nf={[8]:"google_prev_ad_formats_by_region",[9]:"google_prev_ad_slotnames_by_region"};function qf(a){a&&typeof a.dispose=="function"&&a.dispose()};function P(){this.l=this.l;this.H=this.H}P.prototype.l=!1;P.prototype.dispose=function(){this.l||(this.l=!0,this.D())};P.prototype[ha(Symbol,"dispose")]=function(){this.dispose()};function Q(a,b){a.l?b():(a.H||(a.H=[]),a.H.push(b))}P.prototype.D=function(){if(this.H)for(;this.H.length;)this.H.shift()()};[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce((a,b)=>a+b);[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce((a,b)=>a+b);[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce((a,b)=>a+b);[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce((a,b)=>a+b);[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce((a,b)=>a+b);[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce((a,b)=>a+b);tc({mb:0,lb:1,ib:2,bb:3,jb:4,eb:5,kb:6,gb:7,hb:8,ab:9,fb:10,nb:11});tc({pb:0,qb:1,ob:2});function rf(a){var b=new sf;eb(b.F[w]|0);var c=b.F;b=c[w]|0;const d=2&b?1:2;var e=cc(c,b,1);e=Array.isArray(e)?e:cb;var f=e[w]|0;var g=4&f?!1:!0;if(g){4&f&&(e=x(e),f=gc(f,b),b=B(c,b,1,e));let k=g=0;for(;g"").replace(Bf,"<")}const Cf=RegExp.prototype.hasOwnProperty("sticky"),Df=new RegExp((Cf?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",Cf?"gy":"g"); function Af(a,b){const c=[],d=a.length;let e=0,f=[],g,h,k=0;for(;k":f.push(l);c.push(b(f.join(""), g));e=0;f=[];h=g=null;break;default:f.push(l)}break;default:throw Error();}e===1&&k>=d&&(k=h+1,c.push("<"),e=0,f=[],h=g=null)}return c.join("")}function Ef(a,b){a=a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>");return b?a.replace(/{/g," \\{").replace(/}/g," \\}").replace(/\/\*/g,"/ *").replace(/\\$/,"\\ "):a}function T(a){return a!=null&&a.V===tf?String(zf(a.content)).replace(Ff,Gf):String(a).replace(Hf,Gf)} function If(a){a=String(a);const b=(d,e,f)=>{const g=Math.min(e.length-f,d.length);for(let k=0;k":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function Gf(a){return Mf[a]} const Nf={"\x00":"\\x00","\b":"\\x08","\t":"\\t","\n":"\\n","\v":"\\x0b","\f":"\\f","\r":"\\r",'"':"\\x22",$:"\\x24","&":"\\x26","'":"\\x27","(":"\\x28",")":"\\x29","*":"\\x2a","+":"\\x2b",",":"\\x2c","-":"\\x2d",".":"\\x2e","/":"\\/",":":"\\x3a","<":"\\x3c","=":"\\x3d",">":"\\x3e","?":"\\x3f","[":"\\x5b","\\":"\\\\","]":"\\x5d","^":"\\x5e","{":"\\x7b","|":"\\x7c","}":"\\x7d","\u0085":"\\x85","\u2028":"\\u2028","\u2029":"\\u2029"};function Lf(a){return Nf[a]} const Hf=/[\x00\x22\x26\x27\x3c\x3e]/g,Ff=/[\x00\x22\x27\x3c\x3e]/g,Kf=/[\x00\x08-\x0d\x22\x26\x27\/\x3c-\x3e\x5b-\x5d\x7b\x7d\x85\u2028\u2029]/g,Of=/^[a-zA-Z0-9+\/_-]+={0,2}$/;function Pf(a){a=String(a);return Of.test(a)?a:"zSoyz"}const Bf=/>=4,b[e]=Rf[e==19?d&3|8:d]);this.uuid=b.join("");this.callback=a}} function Tf(a){const b=n.imalib_globalCallbacks||new Map,c=b.get("AFMA_updateActiveView")||[];if(c.length===0&&n.AFMA_updateActiveView){const d=new Sf(n.AFMA_updateActiveView);c.push(d);n.AFMA_updateActiveView=void 0}n.AFMA_updateActiveView||(n.AFMA_updateActiveView=function(){const d=b.get("AFMA_updateActiveView");for(const e of d)e.callback.apply(null,arguments)});a=new Sf(a);c.push(a);b.set("AFMA_updateActiveView",c);n.imalib_globalCallbacks=b;return a.uuid} function Uf(a){if(n.AFMA_updateActiveView){var b=n.imalib_globalCallbacks;if(b){var c=b.get("AFMA_updateActiveView");if(c){var d=c.findIndex(e=>e.uuid===a);d!==-1&&(c.splice(d,1),c.length===0&&(n.AFMA_updateActiveView=void 0),b.set("AFMA_updateActiveView",c),n.imalib_globalCallbacks=b)}}}};rf([1,8,9,10,11,12,2,3,4,5,15,16,19,20,21,23]);rf([1,6,7,9,10,11,12,2,3,4,5,13,14,18,19,20,21,23]);rf([1,6,7,9,10,11,12,22,2,3,4,5,13,14,17,18,19,20,21,23]);new sf;var Vf=(n.navigator?n.navigator.userAgent:"").indexOf("Android")!=-1;function Wf(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=!1}Wf.prototype.i=function(){this.defaultPrevented=!0};var V=class{constructor(a,b){this.messageName=a;this.parameters=b||{}}},Xf=class extends Wf{constructor(a,b){super(a.messageName,b);this.params=a.parameters||{}}};function Yf(a,{data:b,source:c}){if(c&&b){var d=a.l,e=b.messageName;b=b.parameters;if(a.j)switch(e){case "mraid_loaded":e=b.is_top_win;e===!1&&(a.o=!0,a.i=Tf(f=>{a.j&&Zf(a,new V("update_activeview_action",f))}),d.indexOf(c)===-1&&(d.push(c),typeof c.postMessage!=="undefined"&&c.postMessage(new V("mraid_env_obj",window.MRAID_ENV),"*")));break;case "start_tracking_action":a.g==0&&window.AFMA_SendMessage("trackActiveViewUnit");a.g+=1;break;case "stop_tracking_action":--a.g;a.g==0&&(window.AFMA_SendMessage("untrackActiveViewUnit", {hashCode:b.hashCode}),a.i&&(Uf(a.i),a.i=null));break;case "register_iframe_window_action":e=b.is_top_win;e===!1&&d.indexOf(c)===-1&&d.push(c);break;case "receive_message_action":b.messageName=="disableMraidOpen"&&window.AFMA_ReceiveMessage(b.messageName,b.parameters)}else switch(e){case "mraid_env_obj":window.MRAID_ENV=b;break;case "update_activeview_action":window.AFMA_updateActiveView&&window.AFMA_updateActiveView(b);break;case "receive_message_action":window.AFMA_ReceiveMessage(b.messageName, b.parameters)}}}function Zf(a,b){a.l.forEach(c=>c.postMessage(b,"*"))}class $f{constructor(){this.l=[];this.j=window===window.top;this.o=!1;this.g=0;this.i=null;typeof window.addEventListener!=="undefined"&&window.addEventListener("message",a=>Yf(this,a))}};function ag(a){var b=Cc("gmsg://mobileads.google.com/"+a.messageName);a=new Map(Object.entries(a.parameters));b=Dc(b).toString();const c=b.split(/[?#]/),d=/[?]/.test(b)?"?"+c[1]:"";return Pc(c[0],d,/[#]/.test(b)?"#"+(d?c[2]:c[1]):"",a)};function bg(a,b){Wf.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.l=null;a&&this.init(a,b)}qa(bg,Wf); bg.prototype.init=function(a,b){const c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!== void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.l=a;a.defaultPrevented&&bg.Z.i.call(this)};bg.prototype.i=function(){bg.Z.i.call(this);const a=this.l;a.preventDefault?a.preventDefault():a.returnValue=!1};var cg="closure_listenable_"+(Math.random()*1E6|0);var dg=0;function eg(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ha=e;this.key=++dg;this.X=this.fa=!1}function fg(a){a.X=!0;a.listener=null;a.proxy=null;a.src=null;a.ha=null};function gg(a){this.src=a;this.g={};this.i=0}gg.prototype.add=function(a,b,c,d,e){const f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.i++);const g=hg(a,b,d,e);g>-1?(b=a[g],c||(b.fa=!1)):(b=new eg(b,this.src,f,!!d,e),b.fa=c,a.push(b));return b};function ig(a,b,c,d,e){b=b.toString();if(b in a.g){var f=a.g[b];c=hg(f,c,d,e);c>-1&&(fg(f[c]),Array.prototype.splice.call(f,c,1),f.length==0&&(delete a.g[b],a.i--))}} function jg(a,b){const c=b.type;c in a.g&&Ha(a.g[c],b)&&(fg(b),a.g[c].length==0&&(delete a.g[c],a.i--))}function hg(a,b,c,d){for(let e=0;e-1?b[a]:null)&&xg(c))} function xg(a){if(typeof a!=="number"&&a&&!a.X){var b=a.src;if(b&&b[cg])jg(b.g,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ug(c),d):b.addListener&&b.removeListener&&b.removeListener(d);mg--;(c=sg(b))?(jg(c,a),c.i==0&&(c.src=null,b[kg]=null)):fg(a)}}}function ug(a){return a in lg?lg[a]:lg[a]="on"+a}function vg(a,b){if(a.X)a=!0;else{b=new bg(b,this);const c=a.listener,d=a.ha||a.src;a.fa&&xg(a);a=c.call(d,b)}return a} function sg(a){a=a[kg];return a instanceof gg?a:null}var yg="__closure_events_fn_"+(Math.random()*1E9>>>0);function pg(a){if(typeof a==="function")return a;a[yg]||(a[yg]=function(b){return a.handleEvent(b)});return a[yg]};function zg(a){P.call(this);this.i=a;this.g={}}qa(zg,P);var Ag=[];zg.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(Ag[0]=b.toString()),b=Ag);for(let e=0;e=0;g--)f=a.g=b[g],e=Dg(f,d,!0,a)&&e;f=a.g=c;e=Dg(f,d,!0,a)&&e;e=Dg(f,d,!1,a)&&e;if(b)for(g=0;g0&&a{var b=this.g[this.i];b||(b=md(document,"IFRAME"),b.id="afma-notify-"+(new Date).getTime(),b.style.display="none",this.g[this.i]=b);this.i=(this.i+1)%25;const c=uc(a.parameters); c["google.afma.Notify_dt"]=(new Date).getTime();var d=b;a=ag(new V(a.messageName,c));d.src=Dc(a).toString();b.parentNode||document.body.appendChild(b)});this.g=[];this.i=0}D(){this.g.forEach(nd);this.g=[];super.D()}},Gg=class extends Lg{sendMessage(a){a=Mg(a);window.googleAdsJsInterface&&window.googleAdsJsInterface.notify&&(window.googleAdsJsInterface.notify(a),window.googleAdsJsInterface.DEBUG&&console.log(a))}},Hg=class extends Lg{sendMessage(a){a=Mg(a);window.webkit&&window.webkit.messageHandlers&& window.webkit.messageHandlers.gadGMSGHandler&&window.webkit.messageHandlers.gadGMSGHandler.postMessage(a)}};var Pg=class extends Cg{constructor(){super();this.j=Jg();this.j=Jg();Q(this,na(qf,this.j));this.i={};this.u=new $f}sendMessage(a,b){let c;typeof a==="string"?c=new V(a,b):a instanceof V&&(c=a);document.readyState=="loading"?og(n,"DOMContentLoaded",()=>this.j.sendMessage(c),!1,this):this.j.sendMessage(c)}receiveMessage(a,b){if(this.shouldForwardMessageToIframe())this.forwardMessage(new V("receive_message_action",new V(a,b)));else{const c=document.getElementById("ad_iframe");c!=void 0&&c.contentWindow!= void 0&&c.contentWindow.AFMA_ReceiveMessage!=void 0&&c.contentWindow.AFMA_ReceiveMessage(a,b)}a=="onshow"&&document.readyState=="loading"?og(n,"DOMContentLoaded",()=>Og(a,b??void 0)):this.dispatchEvent(new Xf(new V(a,b),this))}addObserver(a,b,c){const d=e=>void c.call(b,e.type,e.params);this.listen(a,d);this.i[a]||(this.i[a]={});this.i[a][b]=d}removeObserver(a,b){this.i[a]&&this.i[a][b]&&(ig(this.g,String(a),this.i[a][b]),delete this.i[a][b])}shouldForwardMessageToIframe(){return this.u.o}forwardMessage(a){Zf(this.u, a)}};function W(a,b){n.AFMA_Communicator?n.AFMA_Communicator.sendMessage(a,b):Qg(a,b)}function Qg(a,b){document.readyState=="loading"?(a=ma(Qg,null,a,b),og(n,"DOMContentLoaded",a,!1)):(a=new V(a,b),Jg().sendMessage(a))}function Og(a,b){n.AFMA_Communicator.receiveMessage(a,b)}function Rg(a,b,c,d){n.AFMA_Communicator.removeEventListener(a,b,c,d)}function Sg(a,b,c,d){n.AFMA_Communicator.addEventListener(a,b,c,d)}function Tg(a,b,c){n.AFMA_Communicator.addObserver(a,b,c)} function Ug(a,b){n.AFMA_Communicator.removeObserver(a,b)}n.AFMA_Communicator||(oa("AFMA_AddEventListener",Sg),oa("AFMA_RemoveEventListener",Rg),oa("AFMA_AddObserver",Tg),oa("AFMA_RemoveObserver",Ug),oa("AFMA_ReceiveMessage",Og),oa("AFMA_SendMessage",W),n.AFMA_Communicator=new Pg);var Vg=class{constructor(a){this.g=a;Sg("h5adsEvent",b=>void this.g(b))}sa(a,b){W("h5ads",{obj_id:a,action:"create_interstitial_ad",ad_unit:b})}ta(a,b){W("h5ads",{obj_id:a,ad_unit:b,action:"create_rewarded_ad"})}dispose(a){W("h5ads",{obj_id:a,action:"dispose"})}};class Y{constructor(){this.promise=new Promise((a,b)=>{this.resolve=a;this.reject=b})}};function Wg(a){a.extras===void 0&&(a.extras={});a.extras.highfive="1";return encodeURIComponent(JSON.stringify(a))}class Xg extends P{constructor(a,b){super();this.id=a;this.g=b}load(a,b){this.l||(this.listener=b,b=this.id,a=Wg(a),W("h5ads",{obj_id:b,action:"load_interstitial_ad",ad_request:a}))}show(){if(!this.l){if(this.listener==null)throw Error("load must be called before show");W("h5ads",{obj_id:this.id,action:"show_interstitial_ad"})}}D(){this.g.j.dispose(this.id);super.D()}} class Yg extends P{constructor(a,b){super();this.id=a;this.g=b}load(a,b){this.l||(this.listener=b,b=this.id,a=Wg(a),W("h5ads",{obj_id:b,action:"load_rewarded_ad",ad_request:a}))}show(){if(!this.l){if(this.listener==null)throw Error("load must be called before show");W("h5ads",{obj_id:this.id,action:"show_rewarded_ad"})}}D(){this.g.j.dispose(this.id);super.D()}}function Zg(a){const b=a.o;a.o+=1;return b} var $g=class{constructor(){this.o=0;this.ads=new Map;this.g=new Map;this.l=new Y;this.i=0;this.j=new Vg(a=>{a=a.params;switch(a.eventCategory){case "initialize":this.ads.clear();this.g.clear();this.i=3;this.l.resolve(this);break;case "creation":var b=a.objectId;switch(a.event){case "nativeObjectCreated":if(a=this.g.get(b))this.g.delete(b),this.ads.set(b,a.ad),a.O.resolve(a.ad);return;case "nativeObjectNotCreated":if(a=this.g.get(b))this.g.delete(b),a.ad.dispose(),a.O.reject(Error("Native object not created")); return;default:return}case "interstitial":if((b=this.ads.get(a.objectId))&&b instanceof Xg&&b.listener)switch(a.event){case "onAdLoaded":b.listener.T?.(b);break;case "onAdFailedToLoad":b.listener.R?.(b,a.errorCode);break;case "onAdOpened":b.listener.Ua?.(b);break;case "onAdClicked":b.listener.Db?.(b);break;case "onAdClosed":b.listener.J?.(b);break;case "onNativeAdObjectNotAvailable":b.listener.U?.(b)}break;case "rewarded":if((b=this.ads.get(a.objectId))&&b instanceof Yg&&b.listener)switch(a.event){case "onRewardedAdLoaded":b.listener.T?.(b); break;case "onRewardedAdFailedToLoad":b.listener.R?.(b,a.errorCode);break;case "onRewardedAdOpened":b.listener.Ua?.(b);break;case "onRewardedAdFailedToShow":b.listener.Ta?.(b,a.errorCode);break;case "onUserEarnedReward":b.listener.Va?.(b);break;case "onRewardedAdClosed":b.listener.J?.(b);break;case "onNativeAdObjectNotAvailable":b.listener.U?.(b)}}})}connect(){switch(this.i){case 3:return Promise.resolve(this);case 1:return this.l.promise;default:return this.i=1,this.l=new Y,W("h5ads",{action:"initialize"}), setTimeout(()=>{this.i!==3&&(this.i=2,this.l.reject(Error("GmaBridge could not connect to SDK after 10000 ms.")))},1E4),this.l.promise}}sa(a){if(this.i!==3)return Promise.reject(Error("GmaBridge is not connected"));const b=Zg(this),c=new Y;this.g.set(b,{O:c,ad:new Xg(b,this)});this.j.sa(b,a);return c.promise}ta(a){if(this.i!==3)return Promise.reject(Error("GmaBridge is not connected"));const b=Zg(this),c=new Y;this.g.set(b,{O:c,ad:new Yg(b,this)});this.j.ta(b,a);return c.promise}};let ah=null;var bh=class extends F{g(){return Ob(A(this,3))??""}i(){return Cb(A(this,4))!=null}};var ch=class extends F{g(){var a=this.F;var b=a[w]|0;const c=cc(a,b,1);if(c!=null&&typeof c==="object"&&c.xa===ab)var d=c;else if(Array.isArray(c)){let e=d=c[w]|0;e===0&&(e|=b&32);e|=b&2;e!==d&&(c[w]=e);d=new bh(c)}else d=void 0;d!==c&&d!=null&&B(a,b,1,d);(a=d)||(a=bh[Ua])||(b=new bh,a=b.F,a[w]|=34,a=bh[Ua]=b);return a}},dh=function(a){return b=>{if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b[w]|=32;b=new a(b)}return b}}(ch);var eh=class extends F{};let fh=void 0;var hh=class{constructor(){this.wasPlaTagProcessed=!1;this.wasReactiveAdConfigReceived={};this.adCount={};this.wasReactiveAdVisible={};this.stateForType={};this.reactiveTypeEnabledInAsfe={};this.wasReactiveTagRequestSent=!1;this.reactiveTypeDisabledByPublisher={};this.tagSpecificState={};this.messageValidationEnabled=!1;this.floatingAdsStacking=new gh;this.sideRailProcessedFixedElements=new Set;this.sideRailAvailableSpace=new Map;this.sideRailPlasParam=new Map;this.sideRailMutationCallbacks=[];this.clickTriggeredInterstitialMayBeDisplayed= !1}},gh=class{constructor(){this.maxZIndexRestrictions={};this.nextRestrictionId=0;this.maxZIndexListeners=[]}};function ih(a){const b=jh(a);Fa(a.floatingAdsStacking.maxZIndexListeners,c=>c(b))}function jh(a){a=Tc(a.floatingAdsStacking.maxZIndexRestrictions);return a.length?Math.min.apply(null,a):null} var kh=class{constructor(a){a.google_reactive_ads_global_state?(a.google_reactive_ads_global_state.sideRailProcessedFixedElements==null&&(a.google_reactive_ads_global_state.sideRailProcessedFixedElements=new Set),a.google_reactive_ads_global_state.sideRailAvailableSpace==null&&(a.google_reactive_ads_global_state.sideRailAvailableSpace=new Map),a.google_reactive_ads_global_state.sideRailPlasParam==null&&(a.google_reactive_ads_global_state.sideRailPlasParam=new Map),a.google_reactive_ads_global_state.sideRailMutationCallbacks== null&&(a.google_reactive_ads_global_state.sideRailMutationCallbacks=[])):a.google_reactive_ads_global_state=new hh;this.floatingAdsStacking=a.google_reactive_ads_global_state.floatingAdsStacking}addListener(a){this.floatingAdsStacking.maxZIndexListeners.push(a);a(jh(this))}removeListener(a){Ia(this.floatingAdsStacking.maxZIndexListeners,b=>b===a)}},lh=class{constructor(a){this.controller=a;this.g=null}};function mh(a){const 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"};Fa(Object.keys(b),c=>{const d=a.style[Jc(c)]; (typeof d!=="undefined"?d:a.style[pd(a,c)])||H(a,c,b[c])});Yc(a)};function nh(a,b){const c=dd("STYLE",a);c.textContent=Ic(Mc`* { pointer-events: none; }`);a?.head.appendChild(c);setTimeout(()=>{a?.head.removeChild(c)},b)}function oh(a,b,c){if(!a.body)return null;const d=new ph;d.apply(a,b);return()=>{var e=c||0;e>0&&nh(b.document,e);H(a.body,{filter:d.g,webkitFilter:d.g,overflow:d.l,position:d.j,top:d.o});b.scrollTo(0,d.i)}} class ph{constructor(){this.g=this.o=this.j=this.l=null;this.i=0}apply(a,b){this.l=a.body.style.overflow;this.j=a.body.style.position;this.o=a.body.style.top;this.g=a.body.style.filter?a.body.style.filter:a.body.style.webkitFilter;this.i=b.pageYOffset===void 0?(b.document.documentElement||b.document.body.parentNode||b.document.body).scrollTop:b.pageYOffset;H(a.body,"top",`${-this.i}px`)}};function qh(a,b){var c;if(!a.i)for(a.i=[],c=a.g.parentElement;c;){a.i.push(c);if(a.I(c))break;c=c.parentNode&&c.parentNode.nodeType===1?c.parentNode:null}c=a.i.slice();let d,e;for(d=0;dthis.i=null)}I(a){return this.B===a}};function sh(a,b){const c=a.B;if(c)if(b){b=a.C;if(b.g==null){var d=b.controller;const e=d.floatingAdsStacking.nextRestrictionId++;d.floatingAdsStacking.maxZIndexRestrictions[e]=2147483646;ih(d);b.g=e}Vc(c,{display:"block"});a.u.body&&!a.j&&(a.j=oh(a.u,a.N,a.M));c.setAttribute("tabindex","0");c.setAttribute("aria-hidden","false");a.u.body.setAttribute("aria-hidden","true")}else b=a.C,b.g!=null&&(d=b.controller,delete d.floatingAdsStacking.maxZIndexRestrictions[b.g],ih(d),b.g=null),Vc(c,{display:"none"}), a.j&&(a.j(),a.j=null),a.u.body.setAttribute("aria-hidden","false"),c.setAttribute("aria-hidden","true")}function th(a){sh(a,!1);const b=a.B;if(b){var c=uh(a.K);qh(a,d=>{Vc(d,c);mh(d)});a.g.setAttribute("width","");a.g.setAttribute("height","");H(a.g,c);H(a.g,vh);H(b,wh);H(b,{background:"transparent"});Vc(b,{display:"none",position:"fixed"});mh(b);mh(a.g);ed(a.K)<=1||(H(b,{overflow:"scroll","max-width":"100vw"}),Yc(b))}} class xh extends rh{constructor(a,b){var c=window,d=N(Oe);super(a,c,b);this.j=null;this.u=c.document;this.M=d;a=new kh(c);this.C=new lh(a);this.K=c}o(){sh(this,!1)}}function uh(a){a=ed(a);a=100*(a<1?1:a);return{width:`${a}vw`,height:`${a}vh`}}var wh={backgroundColor:"white",opacity:"1",position:"fixed",left:"0px",top:"0px",margin:"0px",padding:"0px",display:"none",zIndex:"2147483647"},vh={left:"0",position:"absolute",top:"0"};var yh=class extends xh{constructor(a,b){super(a,b);th(this)}I(a){a.classList?a=a.classList.contains("adsbygoogle"):(a=a.classList?a.classList:(typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||"").match(/\S+/g)||[],a=Da(a,"adsbygoogle")>=0);return a}};function zh(){const a=window.google_ad_modifications=window.google_ad_modifications||{};a.afg_slotcar_vars||(a.afg_slotcar_vars={});return a.afg_slotcar_vars};function oe(a,b){a.i.size>0||Ah(a);const c=a.i.get(0);c?c.push(b):a.i.set(0,[b])}function Bh(a,b,c,d){G(b,c,d);Q(a,()=>pc(b,c,d))}function Ch(a,b){a.state!==1&&(a.state=1,a.i.size>0&&Dh(a,b))} function Ah(a){a.g.document.visibilityState?Bh(a,a.g.document,"visibilitychange",b=>{a.g.document.visibilityState==="hidden"&&Ch(a,b);a.g.document.visibilityState==="visible"&&(a.state=0)}):"onpagehide"in a.g?(Bh(a,a.g,"pagehide",b=>{Ch(a,b)}),Bh(a,a.g,"pageshow",()=>{a.state=0})):Bh(a,a.g,"beforeunload",b=>{Ch(a,b)})}function Dh(a,b){for(let c=9;c>=0;c--)a.i.get(c)?.forEach(d=>{d(b)})}var Eh=class extends P{constructor(a){super();this.g=a;this.state=0;this.i=new Map}};async function Fh(a,b){var c=10;return c<=0?Promise.reject(Error(`wfc bad input ${c} ${200}`)):b()?Promise.resolve():new Promise((d,e)=>{const f=a.setInterval(()=>{--c?b()&&(a.clearInterval(f),d()):(a.clearInterval(f),e(Error(`wfc timed out ${c}`)))},200)})};function Gh(a){const b=a.state.pc;return b!==null&&b!==0?b:a.state.pc=bd(a.g)}function Hh(a){var b=a.state.wpc;if(b===null||b==="")b=a.state,a=a.g,a=a.google_ad_client?String(a.google_ad_client):(a.google_ad_modifications=a.google_ad_modifications||{}).head_tag_slot_vars?.google_ad_client??a.document.querySelector(".adsbygoogle[data-ad-client]")?.getAttribute("data-ad-client")??"",b=b.wpc=a;return b}async function Ih(a){await Fh(a.g,()=>!(!Gh(a)||!Hh(a)))} async function Jh(a,b){await Ih(a);var c=a.l;var d=new Td;var e=Gh(a);d=C(d,1,Jb(e),"0");e=Hh(a);d=E(d,2,e);d=C(d,3,Jb(a.state.sd),"0");a=C(d,7,Jb(Math.round(a.g.performance.now())),"0");a=C(a,3,Jb(1),"0");b=lc(a,10,Ud,b);ke(c,b)}var Kh=class{constructor(a,b){this.g=ld()||window;this.i=b??new Eh(this.g);this.l=a??new qe(100,100,!0,this.i);this.state=mf(jf(),33,()=>{const c=N(Be);return{sd:c,ssp:c>0&&Rc()<1/c,pc:null,wpc:null,cu:null,le:[],lgdp:[],psi:null,tar:0,cc:null}})}};function Lh(a){var b=window;return a.google_adtest==="on"||a.google_adbreak_test==="on"||b.location.host.endsWith("h5games.usercontent.goog")||b.location.host==="gamesnacks.com"?b.document.querySelector('meta[name="h5-games-eids"]')?.getAttribute("content")?.split(",").map(c=>Math.floor(Number(c))).filter(c=>!isNaN(c)&&c>0)||[]:[]};class Mh{};function Nh(){var a=n.ggeac||(n.ggeac={});se(K(te),a);Oh(a);K(Mh);K($e).g()}function Oh(a){const b=K($e);b.i=(c,d)=>re(5,a,()=>!1)(c,d,1);b.l=(c,d)=>re(6,a,()=>0)(c,d,1);b.o=(c,d)=>re(7,a,()=>"")(c,d,1);b.u=(c,d)=>re(8,a,()=>[])(c,d,1);b.j=(c,d)=>re(17,a,()=>[])(c,d,1);b.g=()=>{re(15,a,()=>{})(1)}};function Ph(a){const b=K(te).g();a=Lh(a);return b.concat(a).join(",")};function Qh({Oa:a,Xa:b}){return a||(b==="dev"?"dev":"")};function Rh(a){(M(Ae)?df:bf).za(b=>{b.shv=String(a);b.mjsv=Qh({Oa:Yd(),Xa:a});b.eid=Ph(n)})}function Sh(a,b){b=b?.g();const c=b?.i()?Cb(A(b,4))??!1:Cb(A(a,6))??!1;Rh(b?.g()||(Ob(A(a,2))??""));gb(fh,kb);fh=c};function Th(){var a=window.adsbygoogle;try{const b=a.pageState;gb(b,y);return dh(b)}catch(b){return new ch}};var Uh=typeof sttc==="undefined"?void 0:sttc;function Vh(){var a=M(Ae)?df:bf;try{if(gb(Uh,y),Uh.length>0)return new eh(JSON.parse(Uh))}catch(b){a.P(838,b instanceof Error?b:Error(String(b)))}return new eh};var Wh=class extends P{D(){this.disposeAd();super.D()}},Xh=class extends P{constructor(a){super();this.callback=a}},Yh=class extends P{constructor(a){super();this.i=a;this.g=new Set}fetch(a,b){const c=new Xh(a.callback);this.g.add(c);this.i.fetch({...a,callback:d=>{c.l?d&&d.dispose():c.callback(d);this.g.delete(c)}},b)}D(){for(const a of this.g.values())a.dispose();this.g.clear();super.D()}};var Zh=class{constructor(a){var b=Yd();this.o=a;this.u=b;this.l="unset"}ia(a){this.l=a}Y(a){this.g=a.Ha;this.i=a.La}L(a){this.j=a}A(a,b={}){b.event=a;b.client=this.l;b.bow_v=this.o;b.js_v=this.u;b.fetcher=this.j?.toString()??"unset";this.g&&(b.admb_iid=this.g);this.i&&(b.admb_rid=this.i);a=K(te).g();!b.eid&&a.length&&(b.eid=a.toString());Md(af,"slotcar",b,!0,1)}};var $h=class extends Wh{constructor(a,b,c,d){super();this.ad=a;this.j=b;this.o=c;this.i=d;this.g=null;this.u=this.B=!1;this.C=!0}show(a){this.g=a;if(this.C&&this.u)this.ad.show();else if(this.u)this.J();else throw Error("Tried to show AdMobAd before it finished loading.");}disposeAd(){this.ad.dispose()}T(){this.u=!0;this.o(this)}R(){this.o(null);this.dispose()}U(){this.i.A("admb_na");this.g?this.J():this.C=!1}}; function ai(a){return{T:O(849,()=>{a.T()}),R:O(850,()=>{a.R()}),J:O(851,()=>{a.J()}),U:O(854,()=>{a.U()})}}var bi=class extends $h{constructor(a,b,c,d){super(a,b,c,d);this.ad=a;this.j=b;this.o=c;this.i=d}request(){this.ad.load(this.j,ai(this))}J(){(0,this.g)(1)}};function ci(a){return{T:O(849,()=>{a.T()}),R:O(850,()=>{a.R()}),Ta:O(855,()=>{a.i.A("admb_rfs");(0,a.g)(2)}),Va:O(852,()=>{a.B=!0}),J:O(853,()=>{a.J()}),U:O(854,()=>{a.U()})}} var di=class extends $h{constructor(a,b,c,d){super(a,b,c,d);this.ad=a;this.j=b;this.o=c;this.i=d}request(){this.ad.load(this.j,ci(this))}J(){this.B?(0,this.g)(3):(0,this.g)(2)}};function ei(a,b){const c=b.google_adbreak_test==="on";switch(a){case 1:return c?"ca-app-pub-3940256099942544/1033173712":b.google_admob_interstitial_slot;case 2:return c?"ca-app-pub-3940256099942544/5224354917":b.google_admob_rewarded_slot;default:throw Error(`Unknown ad type ${a}`);}}function fi(a,b,c){a.j.error(`Unable to fetch ad: '${b}' is missing from tag.`);c(null)}function gi(a){gf(850,()=>{a(null)})} var hi=class{constructor(a,b,c){this.i=a;this.j=b;this.g=c;this.l=bd(window).toString()}fetch(a,b){const c={isTestDevice:!1,httpTimeoutMillis:N(Fe)*1E3};var d=b.google_tag_for_child_directed_treatment;if(d==="0"||d==="1")c.tagForChildDirectedTreatment=d==="1";d=b.google_tag_for_under_age_of_consent;if(d==="0"||d==="1")c.tagForUnderAgeOfConsent=d==="1";d=b.google_max_ad_content_rating;typeof d==="string"&&(c.maxAdContentRating=d);c.extras??(c.extras={});c.extras.muted=a.Ja||a.type===2?"0":"1";this.l&& (c.extras.pvsid=this.l);c.extras.correlator=pf().toString();d=Ph(b);d.length&&(c.extras.slotcar_eids=d);b=ei(a.type,b);a.type===1?typeof b!=="string"?fi(this,"data-admob-interstitial-slot",a.callback):this.i.sa(b).then(e=>{(new bi(e,c,a.callback,this.g)).request()}).catch(()=>{gi(a.callback)}):typeof b!=="string"?fi(this,"data-admob-rewarded-slot",a.callback):this.i.ta(b).then(e=>{(new di(e,c,a.callback,this.g)).request()}).catch(()=>{gi(a.callback)})}};const ii=new Set(["auto","on"]),ji=new Set(["on","off"]),ki=new Set("start pause next browse reward preroll".split(" ")),li=new Map([["start","interstitial"],["pause","interstitial"],["next","interstitial"],["browse","interstitial"],["reward","reward"],["preroll","preroll"]]),mi=new Map([["interstitial",["type"]],["reward",["type","beforeReward","adDismissed","adViewed"]],["preroll",["type","adBreakDone"]]]),ni=new Map([["interstitial",["beforeReward","adDismissed","adViewed"]],["reward",[]],["preroll", ["afterAd","beforeReward","adDismissed","adViewed"]]]),oi="beforeAd afterAd beforeReward adDismissed adViewed adBreakDone".split(" "),pi=new Map([["beforeBreak","beforeAd"],["afterBreak","afterAd"],["adComplete","adViewed"]]);var qi=new Set("google_ad_client google_ad_host google_ad_channel google_ad_host_channel google_tag_for_under_age_of_consent google_tag_for_child_directed_treatment google_page_url".split(" ")); const ri=new Set([...qi,"google_admob_interstitial_slot","google_admob_rewarded_slot","google_max_ad_content_rating"]); function si(a,b){let c=!1;const d=f=>{c=!0;b.error(`Invalid ad config: ${f}.`)};if(a.preloadAdBreaks!=null&&!ii.has(a.preloadAdBreaks)){var e=Array.from(ii).map(f=>`'${f}'`).join(", ");d(`'preloadAdBreaks' must be one of [${e}]`)}a.sound==null||ji.has(a.sound)||(e=Array.from(ji).map(f=>`'${f}'`).join(", "),d(`'sound' must be one of [${e}]`));a.onReady!=null&&typeof a.onReady!=="function"&&d("'onReady' must be a function");if(a.h5AdsConfig!=null)if(typeof a.h5AdsConfig!=="object")d("'h5AdsConfig' must be an object"); else for(const [f,g]of Object.entries(a.h5AdsConfig))a=f,e=g,ri.has(a)?typeof e!=="string"&&d(`'h5AdsConfig.${a}' must be a string`):d(`'h5AdsConfig.${a}' is not a valid property`);return!c} function ti(a,b,c){for(const [d,e]of pi){const f=d,g=e;if(f in a){c.A("lgc_fld",{field:f});if(g in a)return b.error(`Invalid placement config: '${f}' has been renamed to ${g}. Cannot pass both fields. Please use ${g} only.`),!1;b.warn(`Placement config: '${f}' has been renamed to '${g}'. Please update your code.`);a[g]=a[f];delete a[f]}}return!0} function ui(a,b,c){let d=!1;const e=h=>{d=!0;b.error(`Invalid placement config: ${h}.`)};a=Object.assign({},a);if(!ti(a,b,c))return{va:!1,Ba:a};if(!ki.has(a.type)){var f=Array.from(ki).map(h=>`'${h}'`).join(", ");e(`'type' must be one of [${f}]`);return{va:!d,Ba:a}}c=li.get(a.type);const g=mi.get(c).filter(h=>!(h in a));g.length>0&&e("missing required properties "+g.map(h=>`'${h}'`).join(", "));c=ni.get(c).filter(h=>h in a);c.length>0&&e("the following properties are not used for the given ad type: "+ c.map(h=>`'${h}'`).join(", "));for(f of oi)f in a&&typeof a[f]!=="function"&&e(`'${f}' must be a function`);return{va:!d,Ba:a}};const vi={[1]:10,[2]:11},wi={closed:1,viewed:3,dismissed:2,error:4};var yi=class{constructor(){this.g=window}fetch(a,b){const c={};for(const d in b)qi.has(d)&&(c[d]=b[d]);c.google_reactive_ad_format=vi[a.type];c.google_wrap_fullscreen_ad=!0;c.google_video_play_muted=a.type!==2&&!a.Ja;c.google_acr=d=>{a.callback(d?new xi(d):null)};c.google_tag_origin="gsc";this.g.adsbygoogle.push({params:c})}},xi=class extends Wh{constructor(a){super();this.ad=a}show(a){this.ad.show(b=>{a(wi[b.status])})}disposeAd(){this.ad.disposeAd()}};function zi(){return S('')} function Ai(){return S('')} function Bi(a){const b=a.Ra;a=a.Ya;return S('
Close Ad?
You will lose your reward
CLOSE
RESUME
')};var Ci=Oc`about:blank`;Dc(Ci);var Di=Oc`javascript:undefined`;Dc(Di);function Ei(a,b,c){a=a.g;c=b(c||Qf,{});b=a||ra||(ra=new od);if(c&&c.g)b=c.g();else{b=md(b.g,"DIV");b:if(ja(c)){if(c.Aa&&(c=c.Aa(),c instanceof Ec))break b;c=Nc("zSoyz")}else c=Nc(String(c));b.innerHTML=Gc(c)}b.childNodes.length==1&&(c=b.firstChild,c.nodeType==1&&(b=c));return b}class Fi{constructor(){this.g=ra||(ra=new od)}render(a,b){a=a(b||{},{});return String(a)}};function Gi(a,b){if(a.contentDocument||a.contentWindow)b(a);else{const c=()=>{b(a);pc(a,"load",c)};G(a,"load",c)}} async function Hi(a){if(a.g==null)throw Error("Tried to show ad before initialized.");const b=new Y;var c=a.g.g,d=Math.min(Number(c.clientWidth),Number(c.clientHeight));let e=Math.max(Number(c.clientWidth),Number(c.clientHeight));Ii(a)&&(d*=.5,e*=.5);c=c.contentDocument;a=c.body.appendChild(Ei(a.B,Bi,{Ya:d,Ra:e}));d=a.querySelector(".resume-ad-button");G(a.querySelector(".close-ad-button"),"click",()=>{b.resolve(0)});G(d,"click",()=>{b.resolve(1)});d=await b.promise;c.body.removeChild(a);return d=== 0}function Ii(a){if(a.g==null)throw Error("Tried to show ad before initialized.");a=a.g.g;return Number(a.clientWidth)>1E3||Number(a.clientHeight)>1E3} var Ji=class extends Wh{constructor(a,b){super();this.u=b;this.B=new Fi;this.i=10;this.o=!1;this.j=Ei(this.B,zi);this.j.dataset["slotcar"+(b===1?"Interstitial":"Rewarded")]="true";document.documentElement.appendChild(this.j);Gi(this.j.firstChild,c=>{var d={};var e=this.u===2?"Rewarded ad example":"Interstitial ad example";var f=this.u,g=d??{},h=g.vb;const k=g.xb,l=g.rb,p=g.yb,q=g.ub,u=g.wb,D=g.sb;!g.tb&&(h instanceof wf?h.content:h)?(g=g&&g.Ab,h=S((h instanceof wf?h.content:h)?"window['ppConfig'] = {productName: "+If(Jf(k??"unknown"))+", deleteIsEnforced: "+If(Jf(!!l))+", sealIsEnforced: "+If(Jf(!!p))+", heartbeatRate: "+If(Jf(q??.5))+", periodicReportingRateMillis: "+If(Jf(u??6E4))+", disableAllReporting: "+If(Jf(D??!1))+"};"+If(Jf(h??""))+"\x3c/script>":"")):h="";h=""+S(h);d=(d=d??{})&&d.Bb;d=S("\n \n body {\n padding: 0;\n margin: 0;\n background-color: #262626;\n }\n .container {\n width: 100vw;\n height: 92vh;\n display: flex;\n flex-direction: column;\n }\n .container .creative {\n background-color: white;\n border-style: solid;\n border-width: thin;\n border-color:#bdc1c6;\n height: 250px;\n margin: 20vh auto auto auto;\n overflow: hidden;\n padding: 0;\n width: 300px;\n }\n .header-panel {\n display: flex;\n justify-content: center;\n margin-bottom: 20px;\n background-color: #424242;\n border: 1px solid transparent;\n border-radius: 4px;\n height: 8vh;\n color: #f5f5f5;\n font-family: "Google Sans",Roboto,Arial,sans-serif;\n font-size: 20px;\n line-height: 8vh;\n }\n .dismiss-button {\n display: flex;\n flex-direction: row;\n height: inherit;\n align-items: center;\n padding-right: 4%;\n cursor: pointer;\n position: absolute;\n right: 0;\n }\n .count-down-container {\n display: inline-flex;\n flex: auto;\n }\n .adContainer {\n display: flex;\n flex-direction: row;\n width: 100%;\n height: 100%;\n text-align: left;\n margin: 0;\n }\n .adContainer .logo {\n align-self: center;\n width: 40px;\n margin: 0 24px;\n height: 40px;\n }\n .adContainer .logo IMG {\n height: 40px;\n width: 40px;\n }\n .adContainer .text {\n margin: auto auto auto 0;\n }\n .adContainer .button {\n align-self: center;\n height: 100%;\n max-height: 48px;\n /* This gives a perceived margin of 32px, due to the margins within the button SVGs. */\n margin-right: 30px;\n }\n .adContainer .button-inner {\n max-height: 48px;\n height: 100%;\n }\n .adContainer .button-inner SVG {\n height: 100%;\n width: auto;\n }\n .adText {\n font-family: "Google Sans",Roboto,Arial,sans-serif;\n font-size: 18px;\n font-weight: normal;\n line-height: 18px;\n color: #202124;\n margin-bottom: 4px;\n }\n .nativeIframeMessage .text {\n padding: 0 10px;\n }\n .creative a {\n text-decoration: none;\n }\n\n @media (max-height: 44px),\n (max-height: 150px) and (max-width: 210px) {\n .adContainer .logo {\n display: none;\n }\n .adContainer .text {\n margin-left: 5px;\n }\n }\n @media (max-height: 110px) and (max-width: 330px) {\n .adText {\n font-size: 13px;\n line-height: 13px;\n margin-bottom: 2px;\n }\n }\n @media (max-height: 38px) {\n .adText {\n font-size: 17px;\n line-height: 17px;\n margin-bottom: 0;\n }\n }\n @media (max-height: 20px) {\n .adText {\n font-size: 12px;\n line-height: 12px;\n margin-bottom: 0;\n }\n }\n\n /* Vertically stacked assets in cases where creative is not a distictly\n horizontal rectangle shape */\n @media (min-height: 240px),\n (max-width: 65px) and (min-height: 50px),\n (max-width: 130px) and (min-height: 100px),\n (max-width: 195px) and (min-height: 150px),\n (max-width: 260px) and (min-height: 200px) {\n .adContainer .logo {\n display: initial;\n }\n .adContainer .text {\n margin-left: 0;\n }\n .adContainer {\n text-align: center;\n display: flex;\n flex-direction: column;\n }\n .adContainer .logo {\n margin: 40px auto 24px auto;\n }\n .adContainer .text {\n margin: 0 auto auto auto;\n }\n .adContainer .text .adText{\n margin-bottom: 8px;\n }\n .adContainer .button {\n margin: auto auto 32px auto;\n }\n @media (max-height: 200px) {\n .adContainer .logo {\n display: none;\n }\n .adContainer .text {\n margin: 10px auto auto auto;\n }\n }\n }\n\n .x-button {\n display: flex;\n align-items: center;\n }\n\n .dialog-wrapper {\n background: rgba(0, 0, 0, .4);\n height: 100%;\n left: 0;\n opacity: 1;\n pointer-events: auto;\n position: fixed;\n top: 0;\n transition: opacity .15s ease-out;\n -webkit-transition: opacity .15s ease-out;\n width: 100%;\n will-change: opacity;\n z-index: 2147483647;\n }\n\n .close-confirmation-dialog {\n background: #fff;\n box-shadow: 0 16px 24px 2px rgba(0, 0, 0, .14),\n 0 6px 30px 5px rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .2);\n font-family: Roboto, sans-serif;\n left: 50%;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n -webkit-transform: translate(-50%, -50%);\n }\n\n .confirmation-title {\n color: #000;\n }\n\n .confirmation-message {\n color: #757575;\n }\n\n .confirmation-buttons {\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n\n -webkit-box-pack: flex-end;\n -webkit-justify-content: flex-end;\n justify-content: flex-end;\n }\n\n .close-ad-button,\n .resume-ad-button {\n color: #fff;\n cursor: pointer;\n font-weight: 500;\n text-align: center;\n\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n }\n\n .close-ad-button {\n color: #3e82f7;\n }\n\n .resume-ad-button {\n background: #3e82f7;\n border-radius: 2px;\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .24);\n }\n \n '); d=h+d+'
';f!==2&&(d+="Ad");d+='
'+(f===2?'
'+Ai()+"
":"")+'
'+Ai()+'
";e=S(d).Aa();f=c.contentDocument||c.contentWindow.document;f.open();f.write(Gc(e));f.close();this.g=new yh(c,this.j);a(this)})}show(a){if(this.g==null)throw Error("Tried to show ad before initialized.");const b=this.g.g.contentDocument,c=b.getElementById("dismiss-button");sh(this.g,!0);if(this.u===2){const d= c.querySelector("#dismiss-button-element");d.style.display="none";const e=async()=>{if(this.g==null)throw Error("Failure on rewarded example: Could not find ad frame.");this.o=!0;await Hi(this)?(this.g.o(),G(c,"click",e),a(2)):this.o=!1};G(c,"click",e);this.i=N(Je);const f=this.i<0;this.o=!1;const g=b.getElementById("count-down-container"),h=g.querySelector("#count-down-text");h.innerText=`Reward in ${this.i} seconds`;f||(this.C=setInterval(()=>{this.o||(--this.i,h.innerText=`Reward in ${this.i} seconds`); if(this.i===0){g.style.display="none";d.style.display="";clearInterval(this.C);const k=async()=>{if(this.g==null)throw Error("Failure on rewarded example: Could not find ad frame.");this.g.o();pc(c,"click",k);a(3)};G(c,"click",k);pc(c,"click",e)}},1E3))}else G(c,"click",()=>{if(this.g==null)throw Error("Failure on rewarded example: Could not find ad frame.");this.g.o();a(1)})}disposeAd(){this.g?.o();nd(this.j)}},Ki=class{fetch(a){new Ji(a.callback,a.type)}};var Li=class{constructor(){this.j=K(Kh);this.o={inv_plcnf:1,inv_adcnf:2,adbr_cl:3,adbr_noad:4,adbr_nousitr:5,adbr_usrint:6,adbr_naf:7,adbr_pgad:8,adbr_pgaatd:9,adbr_tepgai:10,adcf_cl:11,adcf_afni:29,adcf_pgad:13,adcf_pgaatd:14,prf_suc:15,prf_fail:16,ad_sr:32,admb_na:17,admb_rfs:18,admb_fetfail:19,lgc_fld:20,pr_rr:21,pr_to:22,r_to:31,api_ld:23,admb_tm:24,adbr_dn:25,dbl_init:26,sess_m:27,ad_cls:28,ad_rdtr:30};this.u={admob:1,adsense:2,adbreaktest:0}}ia(){}Y(a){this.g=a.Ha;this.i=a.La}L(a){this.l=this.u[a]}async A(a){var b= new Sd;a=C(b,1,Gb(this.o[a]),0).L(this.l);this.g&&E(a,3,this.g);this.i&&E(a,4,this.i);await Jh(this.j,a)}},Mi=class{constructor(a){this.ra=new Li;this.ga=a}ia(a){this.ga.ia(a)}Y(a){this.ra.Y(a);this.ga.Y(a)}L(a){this.ra.L(a);this.ga.L(a)}async A(a,b={}){await this.ra.A(a,b);this.ga.A(a,b)}};function Ni(a){let b=a.l;a.g!==null&&(b+=(Date.now()-a.g)/1E3);return Math.min(b,a.j)}function Oi(a){const b=Ni(a);if(b=a.i}var Qi=class{constructor(a){this.i=a;this.g=null;if(a<=0)throw Error("Frequency cap cannot be less than or equal to 0.");this.l=1.5*a;this.j=2*a}};const Ri="click mousedown mouseup touchstart touchend pointerdown pointerup keydown keyup scroll".split(" ");var Si=class extends P{constructor(){var a=window;super();this.g=0;const b=()=>{this.g=Date.now()};for(const c of Ri)a.document.documentElement.addEventListener(c,b,{capture:!0});Q(this,()=>{for(const c of Ri)a.document.documentElement.removeEventListener(c,b,{capture:!0})})}};class Ti extends P{constructor(a,b){super();this.O=new Y;this.g=!1;this.timeout=setTimeout(O(726,()=>{b()}),a*1E3)}get promise(){return this.O.promise}resolve(a){this.l||(this.g=!0,this.O.resolve(a))}reject(a){this.l||(this.g=!0,this.O.reject(a))}D(){clearTimeout(this.timeout)}} function Ui(a,b){if(a=a.google_adbreak_test)switch(a){case "on":return new Ki;case "adsense":break;default:throw b.error(`Unsupported data-adbreak-test value '${a}. Supported values: '${"on"}'.`),Error("unsupported test mode");}return new yi}function Vi(a){return["google_admob_interstitial_slot","google_admob_rewarded_slot"].some(b=>typeof Wi(b,a)==="string")}function Wi(a,b){if(b[a]&&typeof b[a]==="string")return String(b[a])} function Xi(a,b){ah==null&&(ah=new $g);return ah.connect().then(c=>new hi(c,a,b))}function Yi(a){if(typeof a!=="string")return-1;a=/^(\d+)s$/.exec(a);return a==null?-1:Number(a[1])} function Zi(a,b){const c="onpagehide"in self?"pagehide":"unload",d=O(938,()=>{if(b.first_slotcar_request_processing_time){var e=Date.now();a.g.A("sess_m",{igsl:e-b.first_slotcar_request_processing_time,afh:String(b.ad_frequency_hint),niab:Number(b.number_of_interstitial_ad_breaks),nias:Number(b.number_of_interstitial_ads_shown),opsl:e-b.adsbygoogle_execution_start_time})}});window.addEventListener(c,d)} function $i(a,b){const c=b.google_admob_ads_only;typeof c==="string"&&(c==="on"?Vi(b)?a.da=!0:a.j.error("Cannot set data-admob-ads-only without providing at least one AdMob ad slot id."):a.j.error(`Unsupported data-admob-ads-only value '${c}'. Supported value: 'on'.`))}function aj(a){return a.Ca?"adbreaktest":a.C?"admob":"adsense"}function bj(a,b){for(const c of[1,2]){const d=a.i.get(c);if(d||cj(a,c))d?(d.dispose(),a.i.delete(c)):(a.u.get(c).dispose(),a.u.delete(c)),dj(a,c,0,b)}} function ej(a){if(!a.ea||a.Fa){if(!a.oa&&a.o.preloadAdBreaks){var b=M(Le)?[1]:[1,2];for(const c of b)if(!a.i.has(c)&&!a.aa.has(c))return}for(a.oa=!0;a.pa.length>0;)b=a.pa.pop(),fj(a,"onReady",b)}}function gj(a,b){b=b.google_ad_frequency_hint;const c=N(Ke);if(typeof b!=="string")return c;const d=/^(\d+)s$/.exec(b);return d==null?(a.j.error(`Invalid data-ad-frequency-hint value: '${b}'. It must be in format 'Xs' where X is a number.`),c):Math.max(N(Me),Number(d[1]))} function hj(a,b){for(const c in b)if(b[c]!==a.N[c])return!0;return!1}function ij(a,b){!a.da||a.C?b():a.g.A("adcf_afni")}function jj(a,b,c,d=!0){const e=a.i.get(b);e&&(e.dispose(),dj(a,b,10,c),d&&a.i.delete(b))}function cj(a,b){return a.u.has(b)&&!a.u.get(b).g}function dj(a,b,c,d){if(cj(a,b))throw Error("already scheduled");c=new Ti(c,()=>{kj(a,b,d)});a.u.set(b,c);return c}function fj(a,b,c){ad(()=>{lj(a,b,c)})} function Z(a,b,c,d){const e={breakType:b.type,breakFormat:c===2?"reward":b.type==="preroll"?"preroll":"interstitial",breakStatus:d};b.name&&(e.breakName=b.name);a.g.A("adbr_dn",{breakType:e.breakType,breakFormat:e.breakFormat,breakStatus:e.breakStatus,breakName:e.breakName??""});const f=b.adBreakDone;f!=null&&fj(a,"adBreakDone",()=>{f(e)})} async function mj(a,b){if(a.ba)return a.g.A("pr_rr"),Z(a,b,1,"frequencyCapped"),!1;a.ba=!0;const c=await nj(a,1,N(Ge),2);return c===1?(a.g.A("adbr_noad"),Z(a,b,1,"noAdPreloaded"),!1):c===2?(a.g.A("pr_to",{source:"slotcar"}),Z(a,b,1,"timeout"),!1):!0}async function oj(a,b){const c=await nj(a,2,N(He),3);return c===1?(a.g.A("adbr_noad"),Z(a,b,2,"noAdPreloaded"),!1):c===3?(a.g.A("r_to",{}),Z(a,b,2,"timeout"),!1):!0} async function pj(a,b){const c=new Y;a.Da=c;lj(a,"beforeReward",()=>{b.beforeReward(()=>{c.resolve(0)})});return await c.promise===0}function lj(a,b,c){if(c)try{c()}catch(d){return a.j.error(`'${b}' callback threw an error:`,d),!1}return!0}function qj(a,b){return M(De)&&b===1&&a.M!==null}function rj(a,b){a.g.A("ad_sr",{type:1,nias:Number(b),asr:Number((b*a.K*1E3/(Date.now()-a.qa-a.la)).toFixed(2))})} async function nj(a,b,c,d){a.ea&&await a.ka;a=cj(a,b)?a.u.get(b):dj(a,b,0,2);return await Promise.race([a.promise,cd(c*1E3,d)])}function sj(a,b,c,d,e){const f=a.Na.get(c),g=b?1:-1,h=f.length>0?f[f.length-1]:0;Math.sign(h)===g?f[f.length-1]=h+g:f.push(g);a.g.A(b?"prf_suc":"prf_fail",{type:c,src:d,stats:f.join(","),timing:Date.now()-e})} function kj(a,b,c){const d=Date.now();a.B.fetch({type:b,Ja:a.o.sound==="on",callback:e=>{a.aa.delete(b);const f=a.u.get(b);e?(f.resolve(0),a.i.set(b,e),Q(e,()=>{a.i.delete(b)})):(f.resolve(1),a.aa.add(b),dj(a,b,N(Ne),5));sj(a,e!=null,b,c,d);c!==1&&c!==7||ej(a)}},a.N)} var tj=class extends P{constructor(a,b){super();this.j=a;this.g=b;this.B=null;this.ja="";this.ma=this.ba=this.ea=this.oa=this.Ca=!1;this.K=0;this.ca=!1;this.Da=null;this.pa=[];this.I=new jd;this.da=this.Fa=this.C=!1;this.na=0;this.ka=Promise.resolve();this.qa=0;this.N={};this.M=null;this.la=0;this.o={sound:"on"};this.i=new Map;this.u=new Map;this.Ea=new Si;this.aa=new Set;this.Na=new Map([[1,[]],[2,[]]]);Q(this,na(qf,this.Ea))}init(a){this.ja=String(a.google_ad_client);if(this.B!=null)this.g.A("dbl_init", {ad_client:this.ja});else{this.N={...a};var b=zh();b.in_game_session_length=0;b.number_of_interstitial_ad_breaks=0;b.number_of_interstitial_ads_shown=0;b.ad_frequency_hint=a.google_ad_frequency_hint?String(a.google_ad_frequency_hint):"";Zi(this,b);b=navigator.userAgent;var c=RegExp("\\bwv\\b");this.ea=b.includes("Android")&&c.test(b);a.google_adbreak_test==="on"&&(this.Ca=!0);$i(this,a);this.g.ia(this.ja);this.B=new Yh(Ui(a,this.j));this.g.L(aj(this));if(Vi(a)){this.g.Y({Ha:Wi("google_admob_interstitial_slot", a),La:Wi("google_admob_rewarded_slot",a)});const e=Date.now();b=Xi(this.j,this.g).then(f=>{this.B!=null&&this.B.dispose();this.B=new Yh(f);this.C=!0;this.g.L(aj(this));bj(this,7)}).catch(f=>{this.g.A("admb_fetfail",{error:f})}).finally(()=>{this.g.A("admb_tm",{timing:Date.now()-e})});this.ea&&(this.ka=Promise.race([b,cd(N(Ee)*1E3)]),this.ka.finally(()=>{this.Fa=!0;ej(this)}))}this.K=gj(this,a);M(De)&&(this.M=new Qi(this.K));this.na=Yi(a.google_ad_start_delay_hint);this.I=new jd;var d=oc(O(791,()=> {if(this.I.width!==window.innerWidth||this.I.height!==window.innerHeight)if(!this.C||this.I.width!==window.innerWidth){var e=new jd,f=this.I;if(M(Ce)?e.width{window.removeEventListener("resize",d)});this.qa=Date.now()}}handleAdConfig(a){si(a, this.j)?(this.g.A("adcf_cl",{preloadAdBreaks:a.preloadAdBreaks||"",sound:a.sound||"",onReady:a.onReady?"true":"false",h5AdsConfig:a.h5AdsConfig?"true":"false"}),a.h5AdsConfig&&(hj(this,a.h5AdsConfig)&&(this.N={...this.N,...a.h5AdsConfig},ij(this,()=>{bj(this,6)}),this.oa=!1),this.ma=this.ba=!1),a.sound&&this.o.sound!==a.sound&&(this.o.sound=a.sound,ij(this,()=>{jj(this,1,6)})),a.preloadAdBreaks&&!this.o.preloadAdBreaks?ij(this,()=>{this.o.preloadAdBreaks=a.preloadAdBreaks;if(this.o.preloadAdBreaks=== "on"){const b=M(Le)?[1]:[1,2];for(const c of b)this.i.has(c)||cj(this,c)||dj(this,c,0,1)}}):a.preloadAdBreaks&&this.o.preloadAdBreaks&&this.j.error("'adConfig' was already called to set 'preloadAdBreaks' with value "+`'${this.o.preloadAdBreaks}'`),a.onReady&&(this.pa.push(a.onReady),ej(this))):this.g.A("inv_adcnf")}async handleAdBreak(a,b){if(M(Ie)||!this.da||this.C)if(a=ui(a,this.j,this.g),a.va){var c=a.Ba,d=c.type==="reward"?2:1;if(M(Ie)&&this.da&&!this.C)this.g.A("adbr_naf"),Z(this,c,d,"other"); else if(d!==1||this.na<=0||Date.now()-this.qa>this.na*1E3)if(a=zh(),d===1&&a.number_of_interstitial_ad_breaks++,this.g.A("adbr_cl",{type:c.type,name:c.name||"",frequency_cap:d===2?0:this.K,last_intr:Date.now()-this.Ea.g}),b&&c.type!=="preroll")Z(this,c,d,"notReady");else{if(d===2&&this.Da?.resolve(1),this.i.get(d)||c.type!=="preroll"||await mj(this,c)){if(M(Le)&&c.type==="reward"&&!this.i.get(d)&&!this.ma&&(this.ma=!0,!await oj(this,c)))return;var e=this.i.get(d);if(e)if(d!==2||await pj(this,c))if(this.ca)this.j.error("Cannot show ad while another ad is already visible."), Z(this,c,d,"frequencyCapped");else if(lj(this,"beforeAd",c.beforeAd))if(qj(this,d)&&!Pi(this.M))this.g.A("adbr_noad"),Z(this,c,d,"frequencyCapped");else{this.ca=!0;d===1&&a.number_of_interstitial_ads_shown++;this.ba=!0;var f=Date.now(),g=h=>{this.ca=!1;qj(this,d)&&(this.M.g=Date.now());h===2||d===2&&h===4?fj(this,"adDismissed",c.adDismissed):h===3&&fj(this,"adViewed",c.adViewed);fj(this,"afterAd",c.afterAd);d===1?Z(this,c,d,"viewed"):Z(this,c,d,h===4?"other":h===2?"dismissed":"viewed");h!==4&&(e.dispose(), qj(this,d)?dj(this,d,0,3):dj(this,d,d===2?0:this.K,3));qj(this,d)&&(this.la+=Date.now()-f);this.g.A("ad_cls",{result:h,adType:d,dur:Date.now()-f})};Q(e,()=>{this.ca&&g(4)});qj(this,d)&&(Oi(this.M),rj(this,a.number_of_interstitial_ads_shown));e.show(g)}else fj(this,"afterAd",c.afterAd),Z(this,c,d,"error");else Z(this,c,d,"ignored");else cj(this,d)?(this.g.A("adbr_noad"),Z(this,c,d,this.aa.has(d)?"other":"frequencyCapped")):(dj(this,d,0,2),Z(this,c,d,"noAdPreloaded"))}}else this.g.A("adbr_tepgai"), M(Ie)&&Z(this,c,d,"other")}else this.g.A("inv_plcnf");else this.g.A("adbr_naf")}handleAdBreakBeforeReady(a){return this.handleAdBreak(a,!0)}D(){for(const a of this.u.values())a.dispose();this.u.clear();for(const a of this.i.values())a.dispose();this.i.clear();this.B&&this.B.dispose();super.D()}};function uj(a){{n.google_llp||(n.google_llp={});var b=n.google_llp;let c=b[7];if(!c){const {promise:d,resolve:e}=new Y;c={promise:d,resolve:e};b[7]=c}b=c}b.resolve(a)};gf(723,()=>{const a=new qe;try{Pa(d=>{Re(a,1196,d)})}catch(d){}var b=Vh(),c=Th();Sh(b,c);Nh();b=c.g().g()||(Ob(A(b,2))??"");b=new Mi(new Zh(b));c={error(...d){console.error("[Ad Placement API]",...d)},warn(...d){console.warn("[Ad Placement API]",...d)}};(v()?0:t("Trident")||t("MSIE"))?c.warn("Internet Explorer is not supported."):uj(new tj(c,b))}); }).call(this,"");