F
F
defineProperty;function ba(a)
{a=["object"==typeof globalThis&&globalThis,a,"object"==typeof
window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var
b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find
global object");}var ca=ba(this),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=ca;for(e=0;e<d.length-1;e++){var g=d[e];if(!(g in f))break
a;f=f[g]}d=d[d.length-1];c=da&&c==="es6"?f[d]:null;b=b(c);b!=null&&(a?aa(ea,d,
{configurable:!0,writable:!0,value:b}):b!==c&&(fa[d]===void
0&&(a=Math.random()*1E9>>>0,fa[d]=da?ca.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");/*
Math.uuid.js (v1.4)
http://www.broofa.com
mailto:[email protected]
Copyright (c) 2010 Robert Kieffer
Dual licensed under the MIT and GPL licenses.
*/
var
gf="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");class
hf{constructor(a){for(var b=Array(36),c=0,d,e=0;e<36;e++)e==8||e==13||e==18||e==23?
b[e]="-":e==14?b[e]="4":(c<=2&&(c=33554432+Math.random()*16777216|
0),d=c&15,c>>=4,b[e]=gf[e==19?d&3|8:d]);this.uuid=b.join("");this.callback=a}}
function jf(a){const b=n.imalib_globalCallbacks||new
Map,c=b.get("AFMA_updateActiveView")||[];if(c.length===0&&n.AFMA_updateActiveView)
{const d=new hf(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
hf(a);c.push(a);b.set("AFMA_updateActiveView",c);n.imalib_globalCallbacks=b;return
a.uuid}
function kf(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)}}}};ef([1,8,9,10,11
,12,2,3,4,5,15,16,19,20,21,23]);ef([1,6,7,9,10,11,12,2,3,4,5,13,14,18,19,20,21,23])
;ef([1,6,7,9,10,11,12,22,2,3,4,5,13,14,17,18,19,20,21,23]);new ff;var
lf=(n.navigator?n.navigator.userAgent:"").indexOf("Android")!=-1;function mf(a,b)
{this.type=a;this.g=this.target=b;this.defaultPrevented=!
1}mf.prototype.i=function(){this.defaultPrevented=!0};var Q=class{constructor(a,b)
{this.messageName=a;this.parameters=b||{}}},nf=class extends mf{constructor(a,b)
{super(a.messageName,b);this.params=a.parameters||{}}};function of(a,b)
{a.o.forEach(c=>c.postMessage(b,"*"))}
class pf{constructor(){this.o=[];this.j=window===window.top;this.l=!
1;this.g=0;this.i=null;typeof window.addEventListener!
=="undefined"&&window.addEventListener("message",a=>this.onMessage(a))}onMessage({d
ata:a,source:b}){if(b&&a){var
c=this.o,d=a.messageName;a=a.parameters;if(this.j)switch(d){case
"mraid_loaded":d=a.is_top_win;d===!1&&(this.l=!0,this.i=jf(e=>{this.j&&of(this,new
Q("update_activeview_action",e))}),c.indexOf(b)===-1&&(c.push(b),typeof
b.postMessage!=="undefined"&&b.postMessage(new Q("mraid_env_obj",
window.MRAID_ENV),"*")));break;case
"start_tracking_action":this.g==0&&window.AFMA_SendMessage("trackActiveViewUnit");t
his.g+=1;break;case "stop_tracking_action":--
this.g;this.g==0&&(window.AFMA_SendMessage("untrackActiveViewUnit",
{hashCode:a.hashCode}),this.i&&(kf(this.i),this.i=null));break;case
"register_iframe_window_action":d=a.is_top_win;d===!1&&c.indexOf(b)===-
1&&c.push(b);break;case
"receive_message_action":a.messageName=="disableMraidOpen"&&window.AFMA_ReceiveMess
age(a.messageName,a.parameters)}else switch(d){case
"mraid_env_obj":window.MRAID_ENV=
a;break;case
"update_activeview_action":window.AFMA_updateActiveView&&window.AFMA_updateActiveVi
ew(a);break;case
"receive_message_action":window.AFMA_ReceiveMessage(a.messageName,a.parameters)}}}}
;function qf(a){var b=Ac("gmsg://mobileads.google.com/"+a.messageName);a=new
Map(Object.entries(a.parameters));b=Bc(b).toString();const
c=b.split(/[?#]/),d=/[?]/.test(b)?"?"+c[1]:"";return Nc(c[0],d,/[#]/.test(b)?"#"+
(d?c[2]:c[1]):"",a)};function rf(a,b){mf.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.keyCode=0;this.metaKey=this.s
hiftKey=this.altKey=this.ctrlKey=!
1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.o=null
;a&&this.init(a,b)}qa(rf,mf);
rf.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.keyCode=a.keyCode||
0;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.sh
iftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||
0;this.pointerType=a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this
.o=a;a.defaultPrevented&&rf.W.i.call(this)};rf.prototype.i=function()
{rf.W.i.call(this);const a=this.o;a.preventDefault?
a.preventDefault():a.returnValue=!1};var sf="closure_listenable_"+
(Math.random()*1E6|0);var tf=0;function uf(a,b,c,d,e)
{this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!
d;this.ea=e;this.key=++tf;this.removed=this.ba=!1}function vf(a){a.removed=!
0;a.listener=null;a.proxy=null;a.src=null;a.ea=null};function wf(a)
{this.src=a;this.g={};this.i=0}wf.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=xf(a,b,d,e);g>-1?
(b=a[g],c||(b.ba=!1)):(b=new uf(b,this.src,f,!!d,e),b.ba=c,a.push(b));return
b};wf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!
1;const e=this.g[a];b=xf(e,b,c,d);return b>-1?
(vf(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete
this.g[a],this.i--),!0):!1};
function yf(a,b){const c=b.type;c in
a.g&&Ha(a.g[c],b)&&(vf(b),a.g[c].length==0&&(delete
a.g[c],a.i--))}wf.prototype.removeAll=function(a){a=a&&a.toString();let
b=0;for(const c in this.g)if(!a||c==a){const d=this.g[c];for(let e=0;e<d.length;e+
+)++b,vf(d[e]);delete this.g[c];this.i--}return
b};wf.prototype.hasListener=function(a,b){const c=a!==void 0,d=c?
a.toString():"",e=b!==void 0;return qc(this.g,function(f){for(let g=0;g<f.length;+
+g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};
function xf(a,b,c,d){for(let e=0;e<a.length;++e){const f=a[e];if(!
f.removed&&f.listener==b&&f.capture==!!c&&f.ea==d)return e}return-1};var
zf="closure_lm_"+(Math.random()*1E6|0),Af={},Bf=0;function Cf(a,b,c,d,e)
{if(d&&d.once)return Df(a,b,c,d,e);if(Array.isArray(b)){for(let f=0;f<b.length;f+
+)Cf(a,b[f],c,d,e);return null}c=Ef(c);return a&&a[sf]?a.listen(b,c,ja(d)?!!
d.capture:!!d,e):Ff(a,b,c,!1,d,e)}
function Ff(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");const g=ja(e)?!!
e.capture:!!e;let h=Gf(a);h||(a[zf]=h=new
wf(a));c=h.add(b,c,d,g,f);if(c.proxy)return
c;d=Hf();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)e===void 0&&(e=!
1),a.addEventListener(b.toString(),d,e);else
if(a.attachEvent)a.attachEvent(If(b.toString()),d);else
if(a.addListener&&a.removeListener)a.addListener(d);else throw
Error("addEventListener and attachEvent are unavailable.");Bf++;return c}
function Hf(){function a(c){return b.call(a.src,a.listener,c)}const b=Jf;return
a}function Df(a,b,c,d,e){if(Array.isArray(b)){for(let f=0;f<b.length;f+
+)Df(a,b[f],c,d,e);return null}c=Ef(c);return a&&a[sf]?a.g.add(String(b),c,!
0,ja(d)?!!d.capture:!!d,e):Ff(a,b,c,!0,d,e)}
function Kf(a,b,c,d,e){if(Array.isArray(b))for(let f=0;f<b.length;f+
+)Kf(a,b[f],c,d,e);else(d=ja(d)?!!d.capture:!!d,c=Ef(c),a&&a[sf])?
a.g.remove(String(b),c,d,e):a&&(a=Gf(a))&&(b=a.g[b.toString()],a=-
1,b&&(a=xf(b,c,d,e)),(c=a>-1?b[a]:null)&&Lf(c))}
function Lf(a){if(typeof a!=="number"&&a&&!a.removed){var
b=a.src;if(b&&b[sf])yf(b.g,a);else{var c=a.type,d=a.proxy;b.removeEventListener?
b.removeEventListener(c,d,a.capture):b.detachEvent?
b.detachEvent(If(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Bf--;
(c=Gf(b))?(yf(c,a),c.i==0&&(c.src=null,b[zf]=null)):vf(a)}}}function If(a){return a
in Af?Af[a]:Af[a]="on"+a}
function Jf(a,b){if(a.removed)a=!0;else{b=new rf(b,this);const
c=a.listener,d=a.ea||a.src;a.ba&&Lf(a);a=c.call(d,b)}return a}function Gf(a)
{a=a[zf];return a instanceof wf?a:null}var Mf="__closure_events_fn_"+
(Math.random()*1E9>>>0);function Ef(a){if(typeof a==="function")return a;a[Mf]||
(a[Mf]=function(b){return a.handleEvent(b)});return a[Mf]};function Nf(a)
{O.call(this);this.i=a;this.g={}}qa(Nf,O);var
Of=[];Nf.prototype.listen=function(a,b,c,d){Array.isArray(b)||
(b&&(Of[0]=b.toString()),b=Of);for(let e=0;e<b.length;e++){const f=Cf(a,b[e],c||
this.handleEvent,d||!1,this.i||this);if(!f)break;this.g[f.key]=f}return
this};Nf.prototype.removeAll=function(){pc(this.g,function(a,b)
{this.g.hasOwnProperty(b)&&Lf(a)},this);this.g={}};Nf.prototype.C=function()
{Nf.W.C.call(this);this.removeAll()};
Nf.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not
implemented");};function Pf(){O.call(this);this.g=new
wf(this);this.D=this;this.l=null}qa(Pf,O);Pf.prototype[sf]=!
0;l=Pf.prototype;l.addEventListener=function(a,b,c,d)
{Cf(this,a,b,c,d)};l.removeEventListener=function(a,b,c,d){Kf(this,a,b,c,d)};
l.dispatchEvent=function(a){var
b,c=this.l;if(c)for(b=[];c;c=c.l)b.push(c);c=this.D;const d=a.type||a;if(typeof
a==="string")a=new mf(a,c);else if(a instanceof mf)a.target=a.target||c;else{var
e=a;a=new mf(d,c);uc(a,e)}e=!0;let f,g;if(b)for(g=b.length-
1;g>=0;g--)f=a.g=b[g],e=Qf(f,d,!0,a)&&e;f=a.g=c;e=Qf(f,d,!0,a)&&e;e=Qf(f,d,!
1,a)&&e;if(b)for(g=0;g<b.length;g++)f=a.g=b[g],e=Qf(f,d,!1,a)&&e;return
e};l.C=function(){Pf.W.C.call(this);this.g&&this.g.removeAll(void 0);this.l=null};
l.listen=function(a,b,c,d){return this.g.add(String(a),b,!1,c,d)};function
Qf(a,b,c,d){b=a.g.g[String(b)];if(!b)return!0;b=b.concat();let e=!0;for(let
f=0;f<b.length;++f){const g=b[f];if(g&&!g.removed&&g.capture==c){const
h=g.listener,k=g.ea||g.src;g.ba&&yf(a.g,g);e=h.call(k,d)!==!1&&e}}return e&&!
d.defaultPrevented}l.hasListener=function(a,b){return this.g.hasListener(a!==void
0?String(a):void 0,b)};function Rf(a,b){Pf.call(this);this.j=a||1;this.i=b||
n;this.u=ma(this.Ua,this);this.A=Date.now()}qa(Rf,Pf);l=Rf.prototype;l.enabled=!
1;l.G=null;l.setInterval=function(a){this.j=a;this.G&&this.enabled?
(this.stop(),this.start()):this.G&&this.stop()};l.Ua=function(){if(this.enabled)
{const a=Date.now()-this.A;a>0&&a<this.j*.8?this.G=this.i.setTimeout(this.u,this.j-
a):
(this.G&&(this.i.clearTimeout(this.G),this.G=null),this.dispatchEvent("tick"),this.
enabled&&(this.stop(),this.start()))}};
l.start=function(){this.enabled=!0;this.G||
(this.G=this.i.setTimeout(this.u,this.j),this.A=Date.now())};l.stop=function()
{this.enabled=!1;this.G&&(this.i.clearTimeout(this.G),this.G=null)};l.C=function()
{Rf.W.C.call(this);this.stop();delete this.i};function Sf()
{if(window.googleJsEnvironment&&(window.googleJsEnvironment.environment=="rhino"||
window.googleJsEnvironment.environment=="jscore"))return new
Tf;if(lf&&window.googleAdsJsInterface&&"notify"in
window.googleAdsJsInterface)try{return
window.googleAdsJsInterface.notify("gmsg://mobileads.google.com/noop"),new
Tf}catch(a){}else
if(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.gadG
MSGHandler)return new Uf;return new Vf}function Wf(){Xf||(Xf=Sf());return Xf}
var Xf=null,Yf=class extends O{};function Zf(a){const
b=sc(a.parameters);b["google.afma.Notify_dt"]=(new Date).getTime();return qf(new
Q(a.messageName,b)).toString()}
var $f=class extends Yf{constructor(a){super();this.u=a;this.l=[];this.j=new
Rf(1);this.A=new Nf(this);this.A.listen(this.j,"tick",this.D)}sendMessage(a)
{this.l.push(a);this.j.enabled||(a=this.l.shift(),this.u(a),this.j.start())}D()
{const a=this.l.shift();a?this.u(a):this.j.stop()}},Vf=class extends
$f{constructor(){super(a=>{var b=this.g[this.i];b||
(b=jd(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=sc(a.parameters);
c["google.afma.Notify_dt"]=(new Date).getTime();var d=b;a=qf(new
Q(a.messageName,c));d.src=Bc(a).toString();b.parentNode||
document.body.appendChild(b)});this.g=[];this.i=0}C()
{this.g.forEach(kd);this.g=[];super.C()}},Tf=class extends Yf{sendMessage(a)
{a=Zf(a);window.googleAdsJsInterface&&window.googleAdsJsInterface.notify&&(window.g
oogleAdsJsInterface.notify(a),window.googleAdsJsInterface.DEBUG&&console.log(a))}},
Uf=class extends Yf{sendMessage(a)
{a=Zf(a);window.webkit&&window.webkit.messageHandlers&&
window.webkit.messageHandlers.gadGMSGHandler&&window.webkit.messageHandlers.gadGMSG
Handler.postMessage(a)}};var cg=class extends Pf{constructor()
{super();this.j=Wf();this.j=Wf();P(this,na(df,this.j));this.i={};this.u=new
pf}sendMessage(a,b){let c;typeof a==="string"?c=new Q(a,b):a instanceof
Q&&(c=a);document.readyState=="loading"?Df(n,"DOMContentLoaded",
()=>this.j.sendMessage(c),!1,this):this.j.sendMessage(c)}receiveMessage(a,b)
{if(this.shouldForwardMessageToIframe())this.forwardMessage(new
Q("receive_message_action",new Q(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=="load
ing"?Df(n,"DOMContentLoaded",()=>ag(a,b??void 0)):this.dispatchEvent(new nf(new
Q(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]&&(this.g.remove(String(a),this.i[a][b],void 0,void 0),delete this.i[a]
[b])}shouldForwardMessageToIframe(){return this.u.l}forwardMessage(a){of(this.u,
a)}};function R(a,b){n.AFMA_Communicator?
n.AFMA_Communicator.sendMessage(a,b):dg(a,b)}function dg(a,b)
{document.readyState=="loading"?(a=ma(dg,null,a,b),Df(n,"DOMContentLoaded",a,!1)):
(a=new Q(a,b),Wf().sendMessage(a))}function ag(a,b)
{n.AFMA_Communicator.receiveMessage(a,b)}function eg(a,b,c,d)
{n.AFMA_Communicator.removeEventListener(a,b,c,d)}function fg(a,b,c,d)
{n.AFMA_Communicator.addEventListener(a,b,c,d)}function gg(a,b,c)
{n.AFMA_Communicator.addObserver(a,b,c)}
function hg(a,b){n.AFMA_Communicator.removeObserver(a,b)}n.AFMA_Communicator||
(oa("AFMA_AddEventListener",fg),oa("AFMA_RemoveEventListener",eg),oa("AFMA_AddObser
ver",gg),oa("AFMA_RemoveObserver",hg),oa("AFMA_ReceiveMessage",ag),oa("AFMA_SendMes
sage",R),n.AFMA_Communicator=new cg);var ig=class{constructor(a)
{this.g=a;fg("h5adsEvent",b=>void this.g(b))}initialize(){R("h5ads",
{action:"initialize"})}oa(a,b){R("h5ads",
{obj_id:a,action:"create_interstitial_ad",ad_unit:b})}pa(a,b){R("h5ads",
{obj_id:a,ad_unit:b,action:"create_rewarded_ad"})}dispose(a){R("h5ads",
{obj_id:a,action:"dispose"})}};class U{constructor(){this.promise=new
Promise((a,b)=>{this.resolve=a;this.reject=b})}};function jg(a){a.extras===void
0&&(a.extras={});a.extras.highfive="1";return
encodeURIComponent(JSON.stringify(a))}class kg extends O{constructor(a,b)
{super();this.id=a;this.g=b}load(a,b){this.o||
(this.listener=b,b=this.id,a=jg(a),R("h5ads",
{obj_id:b,action:"load_interstitial_ad",ad_request:a}))}show(){if(!this.o)
{if(this.listener==null)throw Error("load must be called before show");R("h5ads",
{obj_id:this.id,action:"show_interstitial_ad"})}}C()
{this.g.j.dispose(this.id);super.C()}}
class lg extends O{constructor(a,b){super();this.id=a;this.g=b}load(a,b){this.o||
(this.listener=b,b=this.id,a=jg(a),R("h5ads",
{obj_id:b,action:"load_rewarded_ad",ad_request:a}))}show(){if(!this.o)
{if(this.listener==null)throw Error("load must be called before show");R("h5ads",
{obj_id:this.id,action:"show_rewarded_ad"})}}C()
{this.g.j.dispose(this.id);super.C()}}function mg(a){const b=a.l;a.l+=1;return b}
var ng=class{constructor(){this.l=0;this.ads=new Map;this.g=new Map;this.o=new
U;this.i=0;this.j=new ig(a=>{a=a.params;switch(a.eventCategory){case
"initialize":this.ads.clear();this.g.clear();this.i=3;this.o.resolve(this);break;ca
se "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.M.
resolve(a.ad);return;case
"nativeObjectNotCreated":if(a=this.g.get(b))this.g.delete(b),a.ad.dispose(),a.M.rej
ect(Error("Native object not created"));
return;default:return}case "interstitial":if((b=this.ads.get(a.objectId))&&b
instanceof kg&&b.listener)switch(a.event){case "onAdLoaded":b.listener.R?.
(b);break;case "onAdFailedToLoad":b.listener.P?.(b,a.errorCode);break;case
"onAdOpened":b.listener.Qa?.(b);break;case "onAdClicked":b.listener.pb?.
(b);break;case "onAdClosed":b.listener.I?.(b);break;case
"onNativeAdObjectNotAvailable":b.listener.T?.(b)}break;case
"rewarded":if((b=this.ads.get(a.objectId))&&b instanceof
lg&&b.listener)switch(a.event){case "onRewardedAdLoaded":b.listener.R?.(b);
break;case "onRewardedAdFailedToLoad":b.listener.P?.(b,a.errorCode);break;case
"onRewardedAdOpened":b.listener.Qa?.(b);break;case
"onRewardedAdFailedToShow":b.listener.Pa?.(b,a.errorCode);break;case
"onUserEarnedReward":b.listener.Ra?.(b);break;case
"onRewardedAdClosed":b.listener.I?.(b);break;case
"onNativeAdObjectNotAvailable":b.listener.T?.(b)}}})}connect(){switch(this.i){case
3:return Promise.resolve(this);case 1:return this.o.promise;default:return
this.i=1,this.o=new U,this.j.initialize(),setTimeout(()=>
{this.i!==3&&(this.i=2,this.o.reject(Error("GmaBridge could not connect to SDK
after 10000 ms.")))},1E4),this.o.promise}}oa(a){if(this.i!==3)return
Promise.reject(Error("GmaBridge is not connected"));const b=mg(this),c=new
U;this.g.set(b,{M:c,ad:new kg(b,this)});this.j.oa(b,a);return c.promise}pa(a)
{if(this.i!==3)return Promise.reject(Error("GmaBridge is not connected"));const
b=mg(this),c=new U;this.g.set(b,{M:c,ad:new lg(b,this)});this.j.pa(b,a);return
c.promise}};let og=null;var pg={},qg={};function rg(){throw Error("Do not
instantiate directly");}rg.prototype.Da=null;rg.prototype.getContent=function()
{return this.content};rg.prototype.toString=function(){return
this.content};rg.prototype.wa=function(){if(this.ca!==pg)throw Error("Sanitized
content was not of kind HTML.");return Dc(this.toString())};function sg()
{rg.call(this)}qa(sg,rg);sg.prototype.ca=pg;function tg(a){if(a!=null)switch(a.Da)
{case 1:return 1;case -1:return-1;case 0:return 0}return null}var V=function(a)
{function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new
b(String(c));d!==void 0&&(c.Da=d);return c}}(sg);function ug(a){return
vg(String(a),()=>"").replace(wg,"<")}const
xg=RegExp.prototype.hasOwnProperty("sticky"),yg=new RegExp((xg?"":"^")+"(?:!|/?([a-
zA-Z][a-zA-Z0-9:-]*))",xg?"gy":"g");
function vg(a,b){const c=[],d=a.length;let e=0,f=[],g,h,k=0;for(;k<d;){switch(e)
{case 0:var m=a.indexOf("<",k);if(m<0){if(c.length===0)return
a;c.push(a.substring(k));k=d}else c.push(a.substring(k,m)),h=m,k=m+1,xg?
(yg.lastIndex=k,m=yg.exec(a)):(yg.lastIndex=0,m=yg.exec(a.substring(k))),m?
(f=["<",m[0]],g=m[1],e=1,k+=m[0].length):c.push("<");break;case 1:m=a.charAt(k+
+);switch(m){case "'":case '"':let p=a.indexOf(m,k);p<0?k=d:
(f.push(m,a.substring(k,p+1)),k=p+1);break;case ">":f.push(m);c.push(b(f.join(""),
g));e=0;f=[];h=g=null;break;default:f.push(m)}break;default:throw
Error();}e===1&&k>=d&&(k=h+1,c.push("<"),e=0,f=[],h=g=null)}return
c.join("")}function zg(a,b){a=a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\
>");return b?a.replace(/{/g," \\{").replace(/}/g," \\}").replace(/\/\*/g,"/
*").replace(/\\$/,"\\ "):a}function W(a){return a!=null&&a.ca===pg?
String(ug(a.getContent())).replace(Ag,Bg):String(a).replace(Cg,Bg)}
function X(a){return a!=null&&a.ca===qg?zg(a.getContent(),!1):a==null?"":a
instanceof Fc?zg(Gc(a),!1):zg(String(a),!0)}const Dg={"\x00":"�","\t":"	","\
n":" ","\v":"","\f":"","\r":" ","
":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","
=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\
u2028":"
","\u2029":"
"};function Bg(a){return Dg[a]}
const Cg=/[\x00\x22\x26\x27\x3c\x3e]/g,Ag=/[\x00\x22\x27\x3c\x3e]/g,Eg=/^[a-zA-Z0-
9+\/_-]+={0,2}$/,wg=/</g;var Fg=class extends F{g(){return Mb(A(this,3))??""}i()
{return hc(this,4)!=null}};var Gg=class extends F{g(){var a=this.F;var b=a[v]|
0;const c=Zb(a,b,1,!1);if(c!=null&&typeof c==="object"&&c.ta===bb)var d=c;else
if(Array.isArray(c)){let e=d=c[v]|0;e===0&&(e|=b&32);e|=b&2;e!==d&&(c[v]=e);d=new
Fg(c)}else d=void 0;d!==c&&d!=null&&B(a,b,1,d);(a=d)||(a=Fg[Va])||(b=new
Fg,a=b.F,a[v]|=34,a=Fg[Va]=b);return a}},Hg=function(a){return b=>{if(b==null||
b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b[v]|
=32;b=new a(b)}return b}}(Gg);var Ig=class extends F{};let Jg=void 0;var
Lg=class{constructor(){this.wasPlaTagProcessed=!
1;this.wasReactiveAdConfigReceived={};this.adCount={};this.wasReactiveAdVisible={};
this.stateForType={};this.reactiveTypeEnabledInAsfe={};this.wasReactiveTagRequestSe
nt=!
1;this.reactiveTypeDisabledByPublisher={};this.tagSpecificState={};this.messageVali
dationEnabled=!1;this.floatingAdsStacking=new
Kg;this.sideRailProcessedFixedElements=new Set;this.sideRailAvailableSpace=new
Map;this.sideRailPlasParam=new
Map;this.sideRailMutationCallbacks=[];this.clickTriggeredInterstitialMayBeDisplayed
=
!1}},Kg=class{constructor()
{this.maxZIndexRestrictions={};this.nextRestrictionId=0;this.maxZIndexListeners=[]}
};function Mg(a){const
b=Ng(a);Fa(a.floatingAdsStacking.maxZIndexListeners,c=>c(b))}function Ng(a)
{a=Rc(a.floatingAdsStacking.maxZIndexRestrictions);return a.length?
Math.min.apply(null,a):null}
var Og=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_rea
ctive_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_r
eactive_ads_global_state=new
Lg;this.floatingAdsStacking=a.google_reactive_ads_global_state.floatingAdsStacking}
addListener(a)
{this.floatingAdsStacking.maxZIndexListeners.push(a);a(Ng(this))}removeListener(a)
{Ia(this.floatingAdsStacking.maxZIndexListeners,b=>b===a)}},Pg=class{constructor(a)
{this.controller=a;this.g=null}};function Qg(a){const
b={bottom:"auto",clear:"none",display:"inline","float":"none",height:"auto",left:"a
uto",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[Hc(c)];
(typeof d!=="undefined"?d:a.style[md(a,c)])||H(a,c,b[c])});Wc(a)};function Rg(a,b)
{const c=bd("STYLE",a);c.textContent=Gc(Kc`* { pointer-events:
none; }`);a?.head.appendChild(c);setTimeout(()=>{a?.head.removeChild(c)},b)}functio
n Sg(a,b,c){if(!a.body)return null;const d=new Tg;d.apply(a,b);return()=>{var e=c||
0;e>0&&Rg(b.document,e);H(a.body,
{filter:d.g,webkitFilter:d.g,overflow:d.o,position:d.j,top:d.l});b.scrollTo(0,d.i)}
}
class Tg{constructor(){this.g=this.l=this.j=this.o=null;this.i=0}apply(a,b)
{this.o=a.body.style.overflow;this.j=a.body.style.position;this.l=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
Ug(a,b){var c;if(!a.i)for(a.i=[],c=a.g.parentElement;c;)
{a.i.push(c);if(a.D(c))break;c=c.parentNode&&c.parentNode.nodeType===1?
c.parentNode:null}c=a.i.slice();let d,e;for(d=0;d<c.length;++d)
(e=c[d])&&b.call(a,e,d,c)}var Vg=class extends O{constructor(a,b,c)
{super();this.g=a;this.N=b;this.u=c;this.i=null;P(this,()=>this.i=null)}D(a){return
this.u===a}};function Wg(a,b){const c=a.u;if(c)if(b){b=a.A;if(b.g==null){var
d=b.controller;const e=d.floatingAdsStacking.nextRestrictionId+
+;d.floatingAdsStacking.maxZIndexRestrictions[e]=2147483646;Mg(d);b.g=e}Tc(c,
{display:"block"});a.l.body&&!
a.j&&(a.j=Sg(a.l,a.N,a.L));c.setAttribute("tabindex","0");c.setAttribute("aria-
hidden","false");a.l.body.setAttribute("aria-hidden","true")}else b=a.A,b.g!
=null&&(d=b.controller,delete
d.floatingAdsStacking.maxZIndexRestrictions[b.g],Mg(d),b.g=null),Tc(c,
{display:"none"}),
a.j&&(a.j(),a.j=null),a.l.body.setAttribute("aria-
hidden","false"),c.setAttribute("aria-hidden","true")}function Xg(a){Wg(a,!1);const
b=a.u;if(b){var
c=Yg(a.J);Ug(a,d=>{Tc(d,c);Qg(d)});a.g.setAttribute("width","");a.g.setAttribute("h
eight","");H(a.g,c);H(a.g,Zg);H(b,$g);H(b,{background:"transparent"});Tc(b,
{display:"none",position:"fixed"});Qg(b);Qg(a.g);cd(a.J)<=1||(H(b,
{overflow:"scroll","max-width":"100vw"}),Wc(b))}}
class ah extends Vg{constructor(a,b){var
c=window,d=M(Ee);super(a,c,b);this.j=null;this.l=c.document;this.L=d;a=new
Og(c);this.A=new Pg(a);this.J=c}hide(){Wg(this,!1)}}function Yg(a)
{a=cd(a);a=100*(a<1?1:a);return{width:`${a}vw`,height:`${a}vh`}}var
$g={backgroundColor:"white",opacity:"1",position:"fixed",left:"0px",top:"0px",margi
n:"0px",padding:"0px",display:"none",zIndex:"2147483647"},Zg={left:"0",position:"ab
solute",top:"0"};var bh=class extends ah{constructor(a,b){super(a,b);Xg(this)}D(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=Ea(a,"adsbygoogle")>=0);return a}};function ch(){const
a=window.google_ad_modifications=window.google_ad_modifications||
{};a.afg_slotcar_vars||(a.afg_slotcar_vars={});return a.afg_slotcar_vars};function
le(a,b){a.i.size>0||dh(a);const c=a.i.get(0);c?c.push(b):a.i.set(0,[b])}function
eh(a,b,c,d){G(b,c,d);P(a,()=>mc(b,c,d))}function fh(a,b){a.state!
==1&&(a.state=1,a.i.size>0&&gh(a,b))}
function dh(a){a.g.document.visibilityState?
eh(a,a.g.document,"visibilitychange",b=>{a.g.document.visibilityState==="hidden"&&f
h(a,b);a.g.document.visibilityState==="visible"&&(a.state=0)}):"onpagehide"in a.g?
(eh(a,a.g,"pagehide",b=>{fh(a,b)}),eh(a,a.g,"pageshow",
()=>{a.state=0})):eh(a,a.g,"beforeunload",b=>{fh(a,b)})}function gh(a,b){for(let
c=9;c>=0;c--)a.i.get(c)?.forEach(d=>{d(b)})}var hh=class extends O{constructor(a)
{super();this.g=a;this.state=0;this.i=new Map}};async function ih(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 jh(a){const b=a.state.pc;return b!==null&&b!==0?
b:a.state.pc=$c(a.g)}function kh(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 lh(a){await ih(a.g,()=>!(!jh(a)||!
kh(a)))}
async function mh(a,b){await lh(a);var c=a.o;var d=new Pd;var
e=jh(a);d=C(d,1,Hb(e),"0");e=kh(a);d=D(d,2,e);d=C(d,3,Hb(a.state.sd),"0");a=C(d,7,H
b(Math.round(a.g.performance.now())),"0");a=C(a,3,Hb(1),"0");b=gc(a,10,Qd,b);he(c,b
)}var nh=class{constructor(a,b){this.g=id()||window;this.i=b??new
hh(this.g);this.o=a??new ne(100,100,!0,this.i);this.state=$e(Xe(),33,()=>{const
c=M(we);return{sd:c,ssp:c>0&&Pc()<1/c,pc:null,wpc:null,cu:null,le:[],lgdp:
[],psi:null,tar:0,cc:null}})}};function oh(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 ph{};function qh(){var a=n.ggeac||
(n.ggeac={});oe(J(pe),a);rh(a);J(ph);J(Pe).g()}function rh(a){const
b=J(Pe);b.i=(c,d)=>K(5,a,()=>!1)(c,d,1);b.o=(c,d)=>K(6,a,()=>0)
(c,d,1);b.l=(c,d)=>K(7,a,()=>"")(c,d,1);b.u=(c,d)=>K(8,a,()=>[])
(c,d,1);b.j=(c,d)=>K(17,a,()=>[])(c,d,1);b.g=()=>{K(15,a,()=>{})(1)}};function
sh(a){const b=J(pe).g();a=oh(a);return b.concat(a).join(",")};function
th({La:a,Sa:b}){return a||(b==="dev"?"dev":"")};function uh(a){(Qe()?
Te:Se).va(b=>{b.shv=String(a);b.mjsv=th({La:Yd(),Sa:a});b.eid=sh(n)})}function
vh(a,b){const c=b?.g();b=c?.g()||(Mb(A(a,2))??"");a=c?.i()?hc(c,4)??!1:hc(a,6)??!
1;uh(b);lb(Jg,pb);Jg=a};function wh(){var a=window.adsbygoogle;try{const
b=a.pageState;lb(b,y);return Hg(b)}catch(b){return new Gg}};var xh=typeof
sttc==="undefined"?void 0:sttc;function yh(){var a=Qe()?
Te:Se;try{if(lb(xh,y),xh.length>0)return new Ig(JSON.parse(xh))}catch(b){a.O(838,b
instanceof Error?b:Error(String(b)))}return new Ig};var zh=class extends O{C()
{this.disposeAd();super.C()}},Ah=class extends O{constructor(a)
{super();this.callback=a}},Bh=class extends O{constructor(a)
{super();this.i=a;this.g=new Set}fetch(a,b){const c=new
Ah(a.callback);this.g.add(c);this.i.fetch({...a,callback:d=>{c.o?
d&&d.dispose():c.callback(d);this.g.delete(c)}},b)}C(){for(const a of
this.g.values())a.dispose();this.g.clear();super.C()}};var Ch=class{constructor(a)
{var b=Yd();this.l=a;this.u=b;this.o="unset"}fa(a){this.o=a}V(a)
{this.g=a.Ea;this.i=a.Ia}K(a){this.j=a}B(a,b={})
{b.event=a;b.client=this.o;b.bow_v=this.l;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=J(pe).g();!
b.eid&&a.length&&(b.eid=a.toString());Id(Re,"slotcar",b,!0,1)}};var Dh=class
extends zh{constructor(a,b,c,d)
{super();this.ad=a;this.j=b;this.l=c;this.i=d;this.g=null;this.u=this.A=!1;this.D=!
0}show(a){this.g=a;if(this.D&&this.u)this.ad.show();else if(this.u)this.I();else
throw Error("Tried to show AdMobAd before it finished loading.");}disposeAd()
{this.ad.dispose()}R(){this.u=!0;this.l(this)}P(){this.l(null);this.dispose()}T()
{this.i.B("admb_na");this.g?this.I():this.D=!1}};
function Eh(a){return{R:N(849,()=>{a.R()}),P:N(850,()=>{a.P()}),I:N(851,
()=>{a.I()}),T:N(854,()=>{a.T()})}}var Fh=class extends Dh{constructor(a,b,c,d)
{super(a,b,c,d);this.ad=a;this.j=b;this.l=c;this.i=d}request()
{this.ad.load(this.j,Eh(this))}I(){(0,this.g)(1)}};function Gh(a){return{R:N(849,
()=>{a.R()}),P:N(850,()=>{a.P()}),Pa:N(855,()=>{a.i.B("admb_rfs");(0,a.g)
(2)}),Ra:N(852,()=>{a.A=!0}),I:N(853,()=>{a.I()}),T:N(854,()=>{a.T()})}}
var Hh=class extends Dh{constructor(a,b,c,d)
{super(a,b,c,d);this.ad=a;this.j=b;this.l=c;this.i=d}request()
{this.ad.load(this.j,Gh(this))}I(){this.A?(0,this.g)(3):(0,this.g)(2)}};function
Ih(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 Jh(a,b,c){a.j.error(`Unable to fetch ad:
'${b}' is missing from tag.`);c(null)}function Kh(a){Ve(850,()=>{a(null)})}
var Lh=class{constructor(a,b,c)
{this.i=a;this.j=b;this.g=c;this.o=$c(window).toString()}fetch(a,b){const
c={isTestDevice:!1,httpTimeoutMillis:M(ye)*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_cons
ent;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.Ga||a.type===2?"0":"1";this.o&&
(c.extras.pvsid=this.o);c.extras.correlator=cf().toString();d=sh(b);d.length&&(c.ex
tras.slotcar_eids=d);b=Ih(a.type,b);a.type===1?typeof b!=="string"?Jh(this,"data-
admob-interstitial-slot",a.callback):this.i.oa(b).then(e=>{(new
Fh(e,c,a.callback,this.g)).request()}).catch(()=>{Kh(a.callback)}):typeof b!
=="string"?Jh(this,"data-admob-rewarded-
slot",a.callback):this.i.pa(b).then(e=>{(new
Hh(e,c,a.callback,this.g)).request()}).catch(()=>{Kh(a.callback)})}};const Mh=new
Set(["auto","on"]),Nh=new Set(["on","off"]),Oh=new Set("start pause next browse
reward preroll".split(" ")),Ph=new Map([["start","interstitial"],
["pause","interstitial"],["next","interstitial"],["browse","interstitial"],
["reward","reward"],["preroll","preroll"]]),Qh=new Map([["interstitial",["type"]],
["reward",["type","beforeReward","adDismissed","adViewed"]],["preroll",
["type","adBreakDone"]]]),Rh=new Map([["interstitial",
["beforeReward","adDismissed","adViewed"]],["reward",[]],["preroll",
["afterAd","beforeReward","adDismissed","adViewed"]]]),Sh="beforeAd afterAd
beforeReward adDismissed adViewed adBreakDone".split(" "),Th=new
Map([["beforeBreak","beforeAd"],["afterBreak","afterAd"],
["adComplete","adViewed"]]);var Uh=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 Vh=new
Set([...Uh,"google_admob_interstitial_slot","google_admob_rewarded_slot","google_ma
x_ad_content_rating"]);
function Wh(a,b){let c=!1;const d=f=>{c=!0;b.error(`Invalid ad config: $
{f}.`)};if(a.preloadAdBreaks!=null&&!Mh.has(a.preloadAdBreaks)){var
e=Array.from(Mh).map(f=>`'${f}'`).join(", ");d(`'preloadAdBreaks' must be one of [$
{e}]`)}a.sound==null||Nh.has(a.sound)||(e=Array.from(Nh).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,Vh.has(a)?typeof e!
=="string"&&d(`'h5AdsConfig.${a}' must be a string`):d(`'h5AdsConfig.${a}' is not a
valid property`);return!c}
function Xh(a,b,c){for(const [d,e]of Th){const f=d,g=e;if(f in a){c.B("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 Yh(a,b,c){let d=!1;const e=h=>{d=!0;b.error(`Invalid placement config: $
{h}.`)};a=Object.assign({},a);if(!Xh(a,b,c))return{ra:!1,xa:a};if(!Oh.has(a.type))
{var f=Array.from(Oh).map(h=>`'${h}'`).join(", ");e(`'type' must be one of [$
{f}]`);return{ra:!d,xa:a}}c=Ph.get(a.type);const g=Qh.get(c).filter(h=>!(h in
a));g.length>0&&e("missing required properties "+g.map(h=>`'${h}'`).join(",
"));c=Rh.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 Sh)f in a&&typeof a[f]!=="function"&&e(`'$
{f}' must be a function`);return{ra:!d,xa:a}};const Zh={[1]:10,[2]:11},
$h={closed:1,viewed:3,dismissed:2,error:4};var bi=class{constructor()
{this.g=window}fetch(a,b){const c={};for(const d in
b)Uh.has(d)&&(c[d]=b[d]);c.google_reactive_ad_format=Zh[a.type];c.google_wrap_fulls
creen_ad=!0;c.google_video_play_muted=a.type!==2&&!
a.Ga;c.google_acr=d=>{a.callback(d?new
ai(d):null)};c.google_tag_origin="gsc";this.g.adsbygoogle.push({params:c})}},ai=cla
ss extends zh{constructor(a){super();this.ad=a}show(a)
{this.ad.show(b=>{a($h[b.status])})}disposeAd(){this.ad.disposeAd()}};/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
const ci={};function di(){return V('<ins class="adsbygoogle" style="width:100% !
important;height:100% !important;" id="fake-interstitial-ins"><iframe
style="overflow:hidden;" width="100%" height="100%" frameborder="0" marginwidth="0"
marginheight="0" vspace="0" hspace="0" scrolling="no" src="about:blank" id="aswift-
fake"></iframe></ins>')}
function ei(){return V('<svg xmlns="http://www.w3.org/2000/svg" width="24"
height="24" viewBox="0 0 24 24"><path style="fill:#f5f5f5" d="M19 6.41L17.59 5 12
10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19
6.41z"/><path fill="none" d="M0 0h24v24H0V0z"/></svg>')}
function fi(a){const b=a.Na;a=a.Ta;return V('<div class="dialog-wrapper"
style="width: 100%; height: 100%; position: absolute; top: 0;"><div class="close-
confirmation-dialog" id="close-confirmation-dialog" style="width:
'+W(X(Math.floor(a*.78)))+'px"><div class="confirmation-title" style="font-size:
'+W(X(Math.floor(b*.031)))+"px; margin-top: "+W(X(Math.floor(b*.0375)))+"px;
margin-left: "+W(X(Math.floor(a*.066)))+"px; margin-right:
"+W(X(Math.floor(a*.066)))+'px;">Close Ad?</div><div class="confirmation-message"
style="font-size: '+
W(X(Math.floor(b*.025)))+"px; margin-bottom: "+W(X(Math.floor(b*.0375)))+"px;
margin-top: "+W(X(Math.floor(b*.0375)))+"px; margin-left:
"+W(X(Math.floor(a*.066)))+"px; margin-right: "+W(X(Math.floor(a*.066)))+'px;">You
will lose your reward</div><div class="confirmation-buttons" style="font-size:
'+W(X(Math.floor(b*.0218)))+"px; line-height: "+W(X(Math.floor(b*.05625)))+"px;
margin-right: "+W(X(Math.floor(b*.0125)))+"px; margin-bottom:
"+W(X(Math.floor(b*.0125)))+'px;"><div class="close-ad-button" id="close-ad-button"
style="padding-left: '+
W(X(Math.floor(a*.044)))+"px; padding-right: "+W(X(Math.floor(a*.044)))
+'px;">CLOSE</div><div class="resume-ad-button" id="resume-ad-button"
style="padding-left: '+W(X(Math.floor(a*.044)))+"px; padding-right:
"+W(X(Math.floor(a*.044)))+'px;">RESUME</div></div></div></div>')};var
gi=Mc`about:blank`;Bc(gi);var hi=Mc`javascript:undefined`;Bc(hi);function ii(a,b,c)
{a=a.g;c=b(c||ci,{});b=a||ra||(ra=new
ld);if(c&&c.g)b=c.g();else{b=jd(b.g,"DIV");b:if(ja(c)){if(c.wa&&(c=c.wa(),c
instanceof Cc))break b;c=Lc("zSoyz")}else
c=Lc(String(c));b.innerHTML=Ec(c)}b.childNodes.length==1&&(c=b.firstChild,c.nodeTyp
e==1&&(b=c));return b}class ji{constructor(){this.g=ra||(ra=new ld)}render(a,b)
{a=a(b||{},{});return String(a)}};function ki(a,b){if(a.contentDocument||
a.contentWindow)b(a);else{const c=()=>{b(a);mc(a,"load",c)};G(a,"load",c)}}
async function li(a){if(a.g==null)throw Error("Tried to show ad before
initialized.");const b=new U;var
c=a.g.g,d=Math.min(Number(c.clientWidth),Number(c.clientHeight));let
e=Math.max(Number(c.clientWidth),Number(c.clientHeight));mi(a)&&(d*=.5,e*=.5);c=c.c
ontentDocument;a=c.body.appendChild(ii(a.A,fi,
{Ta:d,Na: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 mi(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 ni=class extends zh{constructor(a,b){super();this.u=b;this.A=new
ji;this.i=10;this.l=!1;this.j=ii(this.A,di);this.j.dataset["slotcar"+
(b===1?"Interstitial":"Rewarded")]="true";document.documentElement.appendChild(this
.j);ki(this.j.firstChild,c=>{var d={};var e=this.u===2?"Rewarded ad
example":"Interstitial ad example";var f=this.u;(d=d&&d.nb)?
(d=String(d),d=Eg.test(d)?d:"zSoyz",d=' nonce="'+W(d)+'"'):d="";d="<!DOCTYPE
html><html><head>"+V("\n <style"+d+'>\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 </style>\n ')+
'</head><body><div class="header-panel">';f!==2&&(d+="Ad");d+='<div class="dismiss-
button" id="dismiss-button">'+(f===2?'<div class="count-down-container" id="count-
down-container"><div id="count-down"><div class="count-down-text" id="count-down-
text"></div></div><div class="x-button" id="close-button" style="padding-left:
5px;">'+ei()+"</div></div>":"")+'<div class="x-button" id="dismiss-button-
element">'+ei()+'</div></div></div><div class="container"><div
class="creative">'+V('<div
style="position:relative;float:right;top:1px;right:1px;width:15px;height:15px;"><sv
g style="fill:#00aecd;" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 15 15"><circle cx="6"
cy="6" r="0.67"></circle><path
d="M4.2,11.3Q3.3,11.8,3.3,10.75L3.3,4.1Q3.3,3.1,4.3,3.5L10.4,7.0Q12.0,7.5,10.4,8.0L
6.65,10.0L6.65,7.75a0.65,0.65,0,1,0,-
1.3,0L5.35,10.75a0.9,0.9,0,0,0,1.3,0.8L12.7,8.2Q13.7,7.5,12.7,6.7L3.3,1.6Q2.2,1.3,1
.8,2.5L1.8,12.5Q2.2,13.9,3.3,13.3L4.8,12.5A0.3,0.3,0,1,0,4.2,11.3Z"></path></
svg></div>')+
'<a target="_blank" href="https://developers.google.com/ad-placement"><div
class="adContainer"><div class="logo">'+V('<img width="40" height="40" alt=""
src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4K
PHN2ZyB3aWR0aD0iNTVweCIgaGVpZ2h0PSI1NnB4IiB2aWV3Qm94PSIwIDAgNTUgNTYiIHZlcnNpb249IjE
uMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy
53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUyLjMgKDY3Mjk3KSAtI
Gh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5sb2dvX2dvb2ds
ZWdfNDhkcDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxnIGl
kPSJNMl92MiIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT
0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAyYV9hdXRvX2FkcyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoL
TQxNy4wMDAwMDAsIC03MDUuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJtb2JpbGUiIHRyYW5zZm9y
bT0idHJhbnNsYXRlKDM3OC4wMDAwMDAsIDE2NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJ
Hcm91cC00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNi4wMDAwMDAsIDc0LjAwMDAwMCkiPgogICAgICAgIC
AgICAgICAgICAgIDxnIGlkPSJHUC1hZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuMDAwMDAwLCA0NDQuM
DAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxnIGlkPSJsb2dvX2dvb2dsZWdfNDhkcCIgdHJh
bnNmb3JtPSJ0cmFuc2xhdGUoMjQuMDAwMDAwLCAyMy4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA
gICAgICAgIDxwYXRoIGQ9Ik01NC44OCwyOC42MzYzNjM2IEM1NC44OCwyNi42NTA5MDkxIDU0LjcwMTgxOD
IsMjQuNzQxODE4MiA1NC4zNzA5MDkxLDIyLjkwOTA5MDkgTDI4LDIyLjkwOTA5MDkgTDI4LDMzLjc0IEw0M
y4wNjkwOTA5LDMzLjc0IEM0Mi40MiwzNy4yNCA0MC40NDcyNzI3LDQwLjIwNTQ1NDUgMzcuNDgxODE4Miw0
Mi4xOTA5MDkxIEwzNy40ODE4MTgyLDQ5LjIxNjM2MzYgTDQ2LjUzMDkwOTEsNDkuMjE2MzYzNiBDNTEuODI
1NDU0NSw0NC4zNDE4MTgyIDU0Ljg4LDM3LjE2MzYzNjQgNTQuODgsMjguNjM2MzYzNiBaIiBpZD0iU2hhcG
UiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICAgICAgI
CAgICAgICAgICAgPHBhdGggZD0iTTI4LDU2IEMzNS41Niw1NiA0MS44OTgxODE4LDUzLjQ5MjcyNzMgNDYu
NTMwOTA5MSw0OS4yMTYzNjM2IEwzNy40ODE4MTgyLDQyLjE5MDkwOTEgQzM0Ljk3NDU0NTUsNDMuODcwOTA
5MSAzMS43NjcyNzI3LDQ0Ljg2MzYzNjQgMjgsNDQuODYzNjM2NCBDMjAuNzA3MjcyNyw0NC44NjM2MzY0ID
E0LjUzNDU0NTUsMzkuOTM4MTgxOCAxMi4zMzI3MjczLDMzLjMyIEwyLjk3ODE4MTgyLDMzLjMyIEwyLjk3O
DE4MTgyLDQwLjU3NDU0NTUgQzcuNTg1NDU0NTUsNDkuNzI1NDU0NSAxNy4wNTQ1NDU1LDU2IDI4LDU2IFoi
IGlkPSJTaGFwZSIgZmlsbD0iIzM0QTg1MyIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICA
gICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTIuMzMyNzI3MywzMy4zMiBDMTEuNzcyNzI3MywzMS
42NCAxMS40NTQ1NDU1LDI5Ljg0NTQ1NDUgMTEuNDU0NTQ1NSwyOCBDMTEuNDU0NTQ1NSwyNi4xNTQ1NDU1I
DExLjc3MjcyNzMsMjQuMzYgMTIuMzMyNzI3MywyMi42OCBMMTIuMzMyNzI3MywxNS40MjU0NTQ1IEwyLjk3
ODE4MTgyLDE1LjQyNTQ1NDUgQzEuMDgxODE4MTgsMTkuMjA1NDU0NSAwLDIzLjQ4MTgxODIgMCwyOCBDMCw
zMi41MTgxODE4IDEuMDgxODE4MTgsMzYuNzk0NTQ1NSAyLjk3ODE4MTgyLDQwLjU3NDU0NTUgTDEyLjMzMj
cyNzMsMzMuMzIgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvc
GF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOCwxMS4xMzYzNjM2IEMzMi4x
MTA5MDkxLDExLjEzNjM2MzYgMzUuODAxODE4MiwxMi41NDkwOTA5IDM4LjcwMzYzNjQsMTUuMzIzNjM2NCB
MNDYuNzM0NTQ1NSw3LjI5MjcyNzI3IEM0MS44ODU0NTQ1LDIuNzc0NTQ1NDUgMzUuNTQ3MjcyNywwIDI4LD
AgQzE3LjA1NDU0NTUsMCA3LjU4NTQ1NDU1LDYuMjc0NTQ1NDUgMi45NzgxODE4MiwxNS40MjU0NTQ1IEwxM
i4zMzI3MjczLDIyLjY4IEMxNC41MzQ1NDU1LDE2LjA2MTgxODIgMjAuNzA3MjcyNywxMS4xMzYzNjM2IDI4
LDExLjEzNjM2MzYgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRUE0MzM1IiBmaWxsLXJ1bGU9Im5vbnplcm8iPjw
vcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwb2x5Z29uIGlkPSJTaGFwZSIgcG9pbnRzPS
IwIDAgNTYgMCA1NiA1NiAwIDU2Ij48L3BvbHlnb24+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KI
CAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4K
ICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="/>')+
'</div><div class="text"><div class="adText">'+(e!=null&&e.ca===pg?e:e instanceof
Cc?V(Ec(e).toString()):V(String(String(e)).replace(Cg,Bg),tg(e)))+"</div></div></
div></a></div></div></body></html>";e=V(d).wa();f=c.contentDocument||
c.contentWindow.document;f.open();f.write(Ec(e));f.close();this.g=new
bh(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");Wg(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.l=!0;await li(this)?
(this.g.hide(),G(c,"click",e),a(2)):this.l=!1};G(c,"click",e);this.i=M(Ae);const
f=this.i<0;this.l=!1;const g=b.getElementById("count-down-
container"),h=g.querySelector("#count-down-text");h.innerText=`Reward in ${this.i}
seconds`;f||(this.D=setInterval(()=>{this.l||(--this.i,h.innerText=`Reward in $
{this.i} seconds`);
if(this.i===0)
{g.style.display="none";d.style.display="";clearInterval(this.D);const
k=async()=>{if(this.g==null)throw Error("Failure on rewarded example: Could not
find ad
frame.");this.g.hide();mc(c,"click",k);a(3)};G(c,"click",k);mc(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.hide();a(1)})}disposeAd()
{this.g?.hide();kd(this.j)}},oi=class{fetch(a){new ni(a.callback,a.type)}};var
pi=class{constructor(){this.j=J(nh);this.l=(new
Map).set("inv_plcnf",1).set("inv_adcnf",2).set("adbr_cl",3).set("adbr_noad",4).set(
"adbr_nousitr",5).set("adbr_usrint",6).set("adbr_naf",7).set("adbr_pgad",8).set("ad
br_pgaatd",9).set("adbr_tepgai",10).set("adcf_cl",11).set("adcf_afni",29).set("adcf
_pgad",13).set("adcf_pgaatd",14).set("prf_suc",15).set("prf_fail",16).set("admb_na"
,17).set("admb_rfs",18).set("admb_fetfail",19).set("lgc_fld",20).set("pr_rr",21).se
t("pr_to",22).set("api_ld",23).set("admb_tm",
24).set("adbr_dn",25).set("dbl_init",26).set("sess_m",27).set("ad_cls",28).set("ad_
rdtr",30);this.u=(new Map).set("admob",1).set("adsense",2)}fa(){}V(a)
{this.g=a.Ea;this.i=a.Ia}K(a){this.o=this.u.get(a)??0}async B(a){var b=new
Od;a=this.l.get(a)??
0;b=C(b,1,Eb(a),0).K(this.o);this.g&&D(b,3,this.g);this.i&&D(b,4,this.i);await
mh(this.j,b)}},qi=class{constructor(a){this.na=new pi;this.da=a}fa(a)
{this.da.fa(a)}V(a){this.na.V(a);this.da.V(a)}K(a){this.na.K(a);this.da.K(a)}async
B(a,b={}){await this.na.B(a,
b);this.da.B(a,b)}};const ri="click mousedown mouseup touchstart touchend
pointerdown pointerup keydown keyup scroll".split(" ");var si=class extends
O{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});P(this,
()=>{for(const c of ri)a.document.documentElement.removeEventListener(c,b,
{capture:!0})})}};class ti extends O{constructor(a,b){super();this.M=new U;this.g=!
1;this.timeout=setTimeout(N(726,()=>{b()}),a*1E3)}get promise(){return
this.M.promise}resolve(a){this.o||(this.g=!0,this.M.resolve(a))}reject(a){this.o||
(this.g=!0,this.M.reject(a))}C(){clearTimeout(this.timeout)}}
function ui(a,b){if(a=a.google_adbreak_test)switch(a){case "on":return new oi;case
"adsense":break;default:throw b.error(`Unsupported data-adbreak-test value '${a}.
Supported values: '${"on"}'.`),Error("unsupported test mode");}return new
bi}function vi(a)
{return["google_admob_interstitial_slot","google_admob_rewarded_slot"].some(b=>type
of wi(b,a)==="string")}function wi(a,b){if(b[a]&&typeof b[a]==="string")return
String(b[a])}
function xi(a,b){og==null&&(og=new ng);return og.connect().then(c=>new
Lh(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=N(938,
()=>{if(b.first_slotcar_request_processing_time){var e=Date.now();a.g.B("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 Ai(a,b){const c=b.google_admob_ads_only;typeof c==="string"&&(c==="on"?
vi(b)?a.ka=!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 Bi(a){return
a.ya?"adbreaktest":a.J?"admob":"adsense"}function Ci(a,b){for(const c of[1,2])
{const d=a.i.get(c);if(d||Di(a,c))d?(d.dispose(),a.i.delete(c)):
(a.u.get(c).dispose(),a.u.delete(c)),Ei(a,c,0,b)}}
function Fi(a){if(!a.Z||a.Ca){if(!a.la&&a.l.preloadAdBreaks)for(var b of[1,2])if(!
a.i.has(b)&&!a.N.has(b))return;for(a.la=!
0;a.ma.length>0;)b=a.ma.pop(),Gi(a,"onReady",b)}}function Hi(a,b)
{b=b.google_ad_frequency_hint;const c=M(Be);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(M(Ce),Number(d[1]))}
function Ii(a,b){for(const c in b)if(b[c]!==a.D[c])return!0;return!1}function
Ji(a,b){!a.ka||a.J?b():a.g.B("adcf_afni")}function Ki(a,b,c,d=!0){const
e=a.i.get(b);e&&(e.dispose(),Ei(a,b,10,c),d&&a.i.delete(b))}function Di(a,b){return
a.u.has(b)&&!a.u.get(b).g}function Ei(a,b,c,d){if(Di(a,b))throw Error("already
scheduled");c=new ti(c,()=>{Li(a,b,d)});a.u.set(b,c);return c}function Gi(a,b,c)
{Zc(()=>{Mi(a,b,c)})}
function Z(a,b,c,d){const
e={breakType:b.type,breakFormat:c===2?"reward":b.type==="preroll"?"preroll":"inters
titial",breakStatus:d};b.name&&(e.breakName=b.name);a.g.B("adbr_dn",
{breakType:e.breakType,breakFormat:e.breakFormat,breakStatus:e.breakStatus,breakNam
e:e.breakName??""});const f=b.adBreakDone;f!=null&&Gi(a,"adBreakDone",()=>{f(e)})}
async function Ni(a,b,c){if(a.X)return a.g.B("pr_rr"),Z(a,b,c,"frequencyCapped"),!
1;a.X=!0;a.Z&&await a.ha;var d=Di(a,c)?a.u.get(c):Ei(a,c,0,2);d=await
Promise.race([d.promise,ad(M(ze)*1E3,2)]);return d===1?
(a.g.B("adbr_noad"),Z(a,b,c,"noAdPreloaded"),!1):d===2?(a.g.B("pr_to",
{source:"slotcar"}),Z(a,b,c,"timeout"),!1):!0}async function Oi(a,b){const c=new
U;a.za=c;Mi(a,"beforeReward",()=>{b.beforeReward(()=>{c.resolve(0)})});return await
c.promise===0}
function Mi(a,b,c){if(c)try{c()}catch(d){return a.j.error(`'${b}' callback threw an
error:`,d),!1}return!0}function Pi(a,b,c,d,e){const f=a.Ka.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.B(b?"prf_suc":"prf_fail",
{type:c,src:d,stats:f.join(","),timing:Date.now()-e})}
function Li(a,b,c){const
d=Date.now();a.A.fetch({type:b,Ga:a.l.sound==="on",callback:e=>{a.N.delete(b);const
f=a.u.get(b);e?(f.resolve(0),a.i.set(b,e),P(e,()=>{a.i.delete(b)})):
(f.resolve(1),a.N.add(b),Ei(a,b,M(De),5));Pi(a,e!=null,b,c,d);c!==1&&c!==7||
Fi(a)}},a.D)}
var Qi=class extends O{constructor(a,b)
{super();this.j=a;this.g=b;this.A=null;this.ga="";this.X=this.Z=this.la=this.ya=!
1;this.ia=0;this.Y=!
1;this.za=null;this.ma=[];this.L=window.innerWidth;this.aa=window.innerHeight;this.
ka=this.Ca=this.J=!
1;this.ja=0;this.ha=Promise.resolve();this.Aa=0;this.D={};this.l={sound:"on"};this.
i=new Map;this.u=new Map;this.Ba=new si;this.N=new Set;this.Ka=new Map([[1,[]],[2,
[]]]);P(this,na(df,this.Ba))}init(a){this.ga=String(a.google_ad_client);if(this.A!
=null)this.g.B("dbl_init",
{ad_client:this.ga});else{this.D={...a};var
b=ch();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.Z=b.includes("Android")&&c.test(b);a.google_adbreak_test==="on"&&(this.ya=
!0);Ai(this,a);this.g.fa(this.ga);this.A=new
Bh(ui(a,this.j));this.g.K(Bi(this));if(vi(a))
{this.g.V({Ea:wi("google_admob_interstitial_slot",
a),Ia:wi("google_admob_rewarded_slot",a)});const
e=Date.now();b=xi(this.j,this.g).then(f=>{this.A!=null&&this.A.dispose();this.A=new
Bh(f);this.J=!0;this.g.K(Bi(this));Ci(this,7)}).catch(f=>{this.g.B("admb_fetfail",
{error:f})}).finally(()=>{this.g.B("admb_tm",{timing:Date.now()-
e})});this.Z&&(this.ha=Promise.race([b,ad(M(xe)*1E3)]),this.ha.finally(()=>{this.Ca
=!
0;Fi(this)}))}this.ia=Hi(this,a);this.ja=yi(a.google_ad_start_delay_hint);this.L=wi
ndow.innerWidth;this.aa=window.innerHeight;var d=lc(N(791,
()=>{if(this.L!==window.innerWidth||this.aa!==window.innerHeight)if(!this.J||
this.L!==window.innerWidth){this.g.B("ad_rdtr",
{cvw:String(window.innerWidth),cvh:String(window.innerHeight),ovw:String(this.L),ov
h:String(this.aa)});for(const e of this.i.keys())Ki(this,e,4,!
1);this.i.clear();this.L=window.innerWidth;this.aa=window.innerHeight}}));window.ad
dEventListener("resize",d);P(this,
()=>{window.removeEventListener("resize",d)});this.Aa=Date.now()}}handleAdConfig(a)
{Wh(a,this.j)?(this.g.B("adcf_cl",
{preloadAdBreaks:a.preloadAdBreaks||"",sound:a.sound||"",onReady:a.onReady?"true":"
false",h5AdsConfig:a.h5AdsConfig?"true":"false"}),a.h5AdsConfig&&(Ii(this,a.h5AdsCo
nfig)&&(this.D={...this.D,...a.h5AdsConfig},Ji(this,()=>{Ci(this,6)}),this.la=!
1),this.X=!1),a.sound&&this.l.sound!==a.sound&&(this.l.sound=a.sound,Ji(this,
()=>{Ki(this,1,6)})),a.preloadAdBreaks&&!this.l.preloadAdBreaks?Ji(this,
()=>{this.l.preloadAdBreaks=a.preloadAdBreaks;if(this.l.preloadAdBreaks==="on")for(
const b of[1,2])this.i.has(b)||
Di(this,b)||
Ei(this,b,0,1)}):a.preloadAdBreaks&&this.l.preloadAdBreaks&&this.j.error("'adConfig
' was already called to set 'preloadAdBreaks' with value "+`'$
{this.l.preloadAdBreaks}'`),a.onReady&&(this.ma.push(a.onReady),Fi(this))):this.g.B
("inv_adcnf")}async handleAdBreak(a,b){if(!this.ka||
this.J)if(a=Yh(a,this.j,this.g),a.ra){var c=a.xa,d=c.type==="reward"?2:1;if(d!==1||
this.ja<=0||Date.now()-this.Aa>this.ja*1E3)
{a=ch();d===1&&a.number_of_interstitial_ad_breaks++;var
e=c.type==="preroll";this.g.B("adbr_cl",
{type:c.type,name:c.name||"",frequency_cap:d===2?0:this.ia,last_intr:Date.now()-
this.Ba.g});if(b&&!e)Z(this,c,d,"notReady");else
if(d===2&&this.za?.resolve(1),this.i.get(d)||!e||await Ni(this,c,d)){var
f=this.i.get(d);if(f)if(d!==2||await Oi(this,c))if(this.Y)this.j.error("Cannot show
ad while another ad is already visible."),Z(this,c,d,"frequencyCapped");else
if(Mi(this,"beforeAd",c.beforeAd)){this.Y=!
0;d===1&&a.number_of_interstitial_ads_shown++;this.X=!0;var
g=Date.now(),h=k=>{this.Y=!1;k===2||
d===2&&k===4?
Gi(this,"adDismissed",c.adDismissed):k===3&&Gi(this,"adViewed",c.adViewed);Gi(this,
"afterAd",c.afterAd);d===1?
Z(this,c,d,"viewed"):Z(this,c,d,k===4?"other":k===2?"dismissed":"viewed");k!
==4&&(f.dispose(),Ei(this,d,d===2?0:this.ia,3));this.g.B("ad_cls",
{result:k,adType:d,dur:Date.now()-g})};P(f,()=>{this.Y&&h(4)});f.show(h)}else
Gi(this,"afterAd",c.afterAd),Z(this,c,d,"error");else Z(this,c,d,"ignored");else
Di(this,d)?
(this.g.B("adbr_noad"),Z(this,c,d,this.N.has(d)?"other":"frequencyCapped")):
(Ei(this,d,0,2),Z(this,c,d,"noAdPreloaded"))}}else this.g.B("adbr_tepgai")}else
this.g.B("inv_plcnf");else this.g.B("adbr_naf")}handleAdBreakBeforeReady(a){return
this.handleAdBreak(a,!0)}C(){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.A&&this.A.dispose();super.C()}};fun
ction Ri(a){{n.google_llp||(n.google_llp={});var b=n.google_llp;let c=b[7];if(!c)
{const {promise:d,resolve:e}=new
U;c={promise:d,resolve:e};b[7]=c}b=c}b.resolve(a)};Ve(723,()=>{const a=new
ne;try{Pa(d=>{He(a,1196,d)})}catch(d){}var b=yh(),c=wh();vh(b,c);qh();b=c.g().g()||
(Mb(A(b,2))??"");b=new qi(new Ch(b));c={error(...d){console.error("[Ad Placement
API]",...d)},warn(...d){console.warn("[Ad Placement API]",...d)}};(u()?
0:t("Trident")||t("MSIE"))?c.warn("Internet Explorer is not supported."):Ri(new
Qi(c,b))});
}).call(this,"");