F
F
defineProperty,ba=globalThis,ca=typeof
Symbol==="function"&&typeof Symbol("x")==="symbol",da={},ea={};function fa(a,b,c)
{if(!c||a!=null){c=ea[b];if(c==null)return a[b];c=a[c];return c!==void 0?c:a[b]}}
function ha(a,b,c){if(b)a:{var d=a.split(".");a=d.length===1;var e=d[0],f;!a&&e in
da?f=da:f=ba;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=ca&&c==="es6"?f[d]:null;b=b(c);b!=null&&(a?aa(da,d,
{configurable:!0,writable:!0,value:b}):b!==c&&(ea[d]===void
0&&(a=Math.random()*1E9>>>0,ea[d]=ca?ba.Symbol(d):"$jscp$"+a+"$"+d),aa(f,ea[d],
{configurable:!0,writable:!0,value:b})))}}ha("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
Hf="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");class
If{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]=Hf[e==19?d&3|8:d]);this.uuid=b.join("");this.callback=a}}
function Jf(a){const b=p.imalib_globalCallbacks||new
Map,c=b.get("AFMA_updateActiveView")||[];if(c.length===0&&p.AFMA_updateActiveView)
{const d=new If(p.AFMA_updateActiveView);c.push(d);p.AFMA_updateActiveView=void
0}p.AFMA_updateActiveView||(p.AFMA_updateActiveView=function(){const
d=b.get("AFMA_updateActiveView");for(const e of
d)e.callback.apply(null,arguments)});a=new
If(a);c.push(a);b.set("AFMA_updateActiveView",c);p.imalib_globalCallbacks=b;return
a.uuid}
function Kf(a){if(p.AFMA_updateActiveView){var b=p.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&&(p.AFMA_updateActiveView=void
0),b.set("AFMA_updateActiveView",c),p.imalib_globalCallbacks=b)}}}};gf([1,8,9,10,11
,12,2,3,4,5,15,16,19,20,21,23]);gf([1,6,7,9,10,11,12,2,3,4,5,13,14,18,19,20,21,23])
;gf([1,6,7,9,10,11,12,22,2,3,4,5,13,14,17,18,19,20,21,23]);new hf;var
Lf=(p.navigator?p.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 R=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,
{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=Jf(f=>{a.j&&Pf(a,new
R("update_activeview_action",f))}),d.indexOf(c)===-1&&(d.push(c),typeof
c.postMessage!=="undefined"&&c.postMessage(new
R("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&&(Kf(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_ReceiveMess
age(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_updateActiveVi
ew(b);break;case "receive_message_action":window.AFMA_ReceiveMessage(b.messageName,
b.parameters)}}}function Pf(a,b){a.l.forEach(c=>c.postMessage(b,"*"))}class
Qf{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=>Of(this,a))}};function Rf(a)
{var b=sc("gmsg://mobileads.google.com/"+a.messageName);a=new
Map(Object.entries(a.parameters));b=tc(b).toString();const
c=b.split(/[?#]/),d=/[?]/.test(b)?"?"+c[1]:"";return Fc(c[0],d,/[#]/.test(b)?"#"+
(d?c[2]:c[1]):"",a)};function Sf(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.metaKey=this.shiftKey=this.al
tKey=this.ctrlKey=!
1;this.state=null;this.pointerId=0;this.pointerType="";this.l=null;a&&this.init(a,b
)}oa(Sf,Mf);
Sf.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.alt
Key;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&&Sf
.Y.i.call(this)};Sf.prototype.i=function(){Sf.Y.i.call(this);const
a=this.l;a.preventDefault?a.preventDefault():a.returnValue=!1};var
Tf="closure_listenable_"+(Math.random()*1E6|0);var Uf=0;function Vf(a,b,c,d,e)
{this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!
d;this.ga=e;this.key=++Uf;this.W=this.ea=!1}function Wf(a){a.W=!
0;a.listener=null;a.proxy=null;a.src=null;a.ga=null};function Xf(a)
{this.src=a;this.g={};this.i=0}Xf.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=Yf(a,b,d,e);g>-1?
(b=a[g],c||(b.ea=!1)):(b=new Vf(b,this.src,f,!!d,e),b.ea=c,a.push(b));return
b};function Zf(a,b,c,d,e){b=b.toString();if(b in a.g){var
f=a.g[b];c=Yf(f,c,d,e);c>-
1&&(Wf(f[c]),Array.prototype.splice.call(f,c,1),f.length==0&&(delete
a.g[b],a.i--))}}
function $f(a,b){const c=b.type;c in
a.g&&Fa(a.g[c],b)&&(Wf(b),a.g[c].length==0&&(delete a.g[c],a.i--))}function
Yf(a,b,c,d){for(let e=0;e<a.length;++e){const f=a[e];if(!
f.W&&f.listener==b&&f.capture==!!c&&f.ga==d)return e}return-1};var
ag="closure_lm_"+(Math.random()*1E6|0),bg={},cg=0;function dg(a,b,c,d,e)
{if(d&&d.once)return eg(a,b,c,d,e);if(Array.isArray(b)){for(let f=0;f<b.length;f+
+)dg(a,b[f],c,d,e);return null}c=fg(c);return a&&a[Tf]?a.listen(b,c,ia(d)?!!
d.capture:!!d,e):hg(a,b,c,!1,d,e)}
function hg(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");const g=ia(e)?!!
e.capture:!!e;let h=ig(a);h||(a[ag]=h=new
Xf(a));c=h.add(b,c,d,g,f);if(c.proxy)return
c;d=jg();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(kg(b.toString()),d);else
if(a.addListener&&a.removeListener)a.addListener(d);else throw
Error("addEventListener and attachEvent are unavailable.");cg++;return c}
function jg(){function a(c){return b.call(a.src,a.listener,c)}const b=lg;return
a}function eg(a,b,c,d,e){if(Array.isArray(b)){for(let f=0;f<b.length;f+
+)eg(a,b[f],c,d,e);return null}c=fg(c);return a&&a[Tf]?a.g.add(String(b),c,!
0,ia(d)?!!d.capture:!!d,e):hg(a,b,c,!0,d,e)}
function mg(a,b,c,d,e){if(Array.isArray(b))for(let f=0;f<b.length;f+
+)mg(a,b[f],c,d,e);else(d=ia(d)?!!d.capture:!!d,c=fg(c),a&&a[Tf])?
Zf(a.g,String(b),c,d,e):a&&(a=ig(a))&&(b=a.g[b.toString()],a=-1,b&&(a=Yf(b,c,d,e)),
(c=a>-1?b[a]:null)&&ng(c))}
function ng(a){if(typeof a!=="number"&&a&&!a.W){var b=a.src;if(b&&b[Tf])
$f(b.g,a);else{var c=a.type,d=a.proxy;b.removeEventListener?
b.removeEventListener(c,d,a.capture):b.detachEvent?
b.detachEvent(kg(c),d):b.addListener&&b.removeListener&&b.removeListener(d);cg--;
(c=ig(b))?($f(c,a),c.i==0&&(c.src=null,b[ag]=null)):Wf(a)}}}function kg(a){return a
in bg?bg[a]:bg[a]="on"+a}function lg(a,b){if(a.W)a=!0;else{b=new Sf(b,this);const
c=a.listener,d=a.ga||a.src;a.ea&&ng(a);a=c.call(d,b)}return a}
function ig(a){a=a[ag];return a instanceof Xf?a:null}var og="__closure_events_fn_"+
(Math.random()*1E9>>>0);function fg(a){if(typeof a==="function")return a;a[og]||
(a[og]=function(b){return a.handleEvent(b)});return a[og]};function pg(a)
{L.call(this);this.i=a;this.g={}}oa(pg,L);var
qg=[];pg.prototype.listen=function(a,b,c,d){Array.isArray(b)||
(b&&(qg[0]=b.toString()),b=qg);for(let e=0;e<b.length;e++){const f=dg(a,b[e],c||
this.handleEvent,d||!1,this.i||this);if(!f)break;this.g[f.key]=f}return
this};function rg(a){ic(a.g,function(b,c)
{this.g.hasOwnProperty(c)&&ng(b)},a);a.g={}}pg.prototype.D=function()
{pg.Y.D.call(this);rg(this)};
pg.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not
implemented");};function sg(){L.call(this);this.g=new
Xf(this);this.C=this;this.o=null}oa(sg,L);sg.prototype[Tf]=!
0;l=sg.prototype;l.addEventListener=function(a,b,c,d)
{dg(this,a,b,c,d)};l.removeEventListener=function(a,b,c,d){mg(this,a,b,c,d)};
l.dispatchEvent=function(a){var
b,c=this.o;if(c)for(b=[];c;c=c.o)b.push(c);c=this.C;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);mc(a,e)}e=!0;let f,g;if(b)for(g=b.length-
1;g>=0;g--)f=a.g=b[g],e=tg(f,d,!0,a)&&e;f=a.g=c;e=tg(f,d,!0,a)&&e;e=tg(f,d,!
1,a)&&e;if(b)for(g=0;g<b.length;g++)f=a.g=b[g],e=tg(f,d,!1,a)&&e;return e};
l.D=function(){sg.Y.D.call(this);if(this.g){var a=this.g;let b=0;for(const c in
a.g){const d=a.g[c];for(let e=0;e<d.length;e++)++b,Wf(d[e]);delete
a.g[c];a.i--}}this.o=null};l.listen=function(a,b,c,d){return
this.g.add(String(a),b,!1,c,d)};function tg(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.W&&g.capture==c){const h=g.listener,k=g.ga||g.src;g.ea&&$f(a.g,g);e=h.call(k,d)!
==!1&&e}}return e&&!d.defaultPrevented};function ug(a,b){sg.call(this);this.j=a||
1;this.i=b||
p;this.u=la(this.Va,this);this.B=Date.now()}oa(ug,sg);l=ug.prototype;l.enabled=!
1;l.H=null;l.setInterval=function(a){this.j=a;this.H&&this.enabled?
(this.stop(),this.start()):this.H&&this.stop()};l.Va=function(){if(this.enabled)
{const a=Date.now()-this.B;a>0&&a<this.j*.8?this.H=this.i.setTimeout(this.u,this.j-
a):
(this.H&&(this.i.clearTimeout(this.H),this.H=null),this.dispatchEvent("tick"),this.
enabled&&(this.stop(),this.start()))}};
l.start=function(){this.enabled=!0;this.H||
(this.H=this.i.setTimeout(this.u,this.j),this.B=Date.now())};l.stop=function()
{this.enabled=!1;this.H&&(this.i.clearTimeout(this.H),this.H=null)};l.D=function()
{ug.Y.D.call(this);this.stop();delete this.i};function vg()
{if(window.googleJsEnvironment&&(window.googleJsEnvironment.environment=="rhino"||
window.googleJsEnvironment.environment=="jscore"))return new
wg;if(Lf&&window.googleAdsJsInterface&&"notify"in
window.googleAdsJsInterface)try{return
window.googleAdsJsInterface.notify("gmsg://mobileads.google.com/noop"),new
wg}catch(a){}else
if(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.gadG
MSGHandler)return new xg;return new yg}function zg(){Ag||(Ag=vg());return Ag}
var Ag=null,Bg=class extends L{};function Cg(a){const
b=kc(a.parameters);b["google.afma.Notify_dt"]=(new Date).getTime();return Rf(new
R(a.messageName,b)).toString()}
var Dg=class extends Bg{constructor(a){super();this.u=a;this.o=[];this.j=new
ug(1);this.B=new pg(this);this.B.listen(this.j,"tick",this.C)}sendMessage(a)
{this.o.push(a);this.j.enabled||(a=this.o.shift(),this.u(a),this.j.start())}C()
{const a=this.o.shift();a?this.u(a):this.j.stop()}},yg=class extends
Dg{constructor(){super(a=>{var b=this.g[this.i];b||
(b=cd(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=kc(a.parameters);
c["google.afma.Notify_dt"]=(new Date).getTime();var d=b;a=Rf(new
R(a.messageName,c));d.src=tc(a).toString();b.parentNode||
document.body.appendChild(b)});this.g=[];this.i=0}D()
{this.g.forEach(dd);this.g=[];super.D()}},wg=class extends Bg{sendMessage(a)
{a=Cg(a);window.googleAdsJsInterface&&window.googleAdsJsInterface.notify&&(window.g
oogleAdsJsInterface.notify(a),window.googleAdsJsInterface.DEBUG&&console.log(a))}},
xg=class extends Bg{sendMessage(a)
{a=Cg(a);window.webkit&&window.webkit.messageHandlers&&
window.webkit.messageHandlers.gadGMSGHandler&&window.webkit.messageHandlers.gadGMSG
Handler.postMessage(a)}};var Fg=class extends sg{constructor()
{super();this.j=zg();this.j=zg();M(this,ma(Oe,this.j));this.i={};this.u=new
Qf}sendMessage(a,b){let c;typeof a==="string"?c=new R(a,b):a instanceof
R&&(c=a);document.readyState=="loading"?eg(p,"DOMContentLoaded",
()=>this.j.sendMessage(c),!1,this):this.j.sendMessage(c)}receiveMessage(a,b)
{if(this.shouldForwardMessageToIframe())this.forwardMessage(new
R("receive_message_action",new R(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"?eg(p,"DOMContentLoaded",()=>Eg(a,b??void 0)):this.dispatchEvent(new Nf(new
R(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]&&(Zf(this.g,String(a),this.i[a]
[b]),delete this.i[a][b])}shouldForwardMessageToIframe(){return
this.u.o}forwardMessage(a){Pf(this.u,
a)}};function S(a,b){p.AFMA_Communicator?
p.AFMA_Communicator.sendMessage(a,b):Gg(a,b)}function Gg(a,b)
{document.readyState=="loading"?(a=la(Gg,null,a,b),eg(p,"DOMContentLoaded",a,!1)):
(a=new R(a,b),zg().sendMessage(a))}function Eg(a,b)
{p.AFMA_Communicator.receiveMessage(a,b)}function Hg(a,b,c,d)
{p.AFMA_Communicator.removeEventListener(a,b,c,d)}function Ig(a,b,c,d)
{p.AFMA_Communicator.addEventListener(a,b,c,d)}function Jg(a,b,c)
{p.AFMA_Communicator.addObserver(a,b,c)}
function Kg(a,b){p.AFMA_Communicator.removeObserver(a,b)}p.AFMA_Communicator||
(na("AFMA_AddEventListener",Ig),na("AFMA_RemoveEventListener",Hg),na("AFMA_AddObser
ver",Jg),na("AFMA_RemoveObserver",Kg),na("AFMA_ReceiveMessage",Eg),na("AFMA_SendMes
sage",S),p.AFMA_Communicator=new Fg);var Lg=class{constructor(a)
{this.g=a;Ig("h5adsEvent",b=>void this.g(b))}ra(a,b){S("h5ads",
{obj_id:a,action:"create_interstitial_ad",ad_unit:b})}sa(a,b){S("h5ads",
{obj_id:a,ad_unit:b,action:"create_rewarded_ad"})}dispose(a){S("h5ads",
{obj_id:a,action:"dispose"})}};class U{constructor(){this.promise=new
Promise((a,b)=>{this.resolve=a;this.reject=b})}};function Mg(a){a.extras===void
0&&(a.extras={});a.extras.highfive="1";return
encodeURIComponent(JSON.stringify(a))}class Ng extends L{constructor(a,b)
{super();this.id=a;this.g=b}load(a,b){this.l||
(this.listener=b,b=this.id,a=Mg(a),S("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");S("h5ads",
{obj_id:this.id,action:"show_interstitial_ad"})}}D()
{this.g.j.dispose(this.id);super.D()}}
class Og extends L{constructor(a,b){super();this.id=a;this.g=b}load(a,b){this.l||
(this.listener=b,b=this.id,a=Mg(a),S("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");S("h5ads",
{obj_id:this.id,action:"show_rewarded_ad"})}}D()
{this.g.j.dispose(this.id);super.D()}}function Pg(a){const b=a.o;a.o+=1;return b}
var Qg=class{constructor(){this.o=0;this.ads=new Map;this.g=new Map;this.l=new
U;this.i=0;this.j=new Lg(a=>{a=a.params;switch(a.eventCategory){case
"initialize":this.ads.clear();this.g.clear();this.i=3;this.l.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.O.
resolve(a.ad);return;case
"nativeObjectNotCreated":if(a=this.g.get(b))this.g.delete(b),a.ad.dispose(),a.O.rej
ect(Error("Native object not created"));
return;default:return}case "interstitial":if((b=this.ads.get(a.objectId))&&b
instanceof Ng&&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.Qa?.(b);break;case "onAdClicked":b.listener.zb?.
(b);break;case "onAdClosed":b.listener.K?.(b);break;case
"onNativeAdObjectNotAvailable":b.listener.U?.(b)}break;case
"rewarded":if((b=this.ads.get(a.objectId))&&b instanceof
Og&&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.Qa?.(b);break;case
"onRewardedAdFailedToShow":b.listener.Pa?.(b,a.errorCode);break;case
"onUserEarnedReward":b.listener.Ra?.(b);break;case
"onRewardedAdClosed":b.listener.K?.(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 U,S("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}}ra(a){if(this.i!==3)return
Promise.reject(Error("GmaBridge is not connected"));const b=Pg(this),c=new
U;this.g.set(b,{O:c,ad:new Ng(b,this)});this.j.ra(b,a);return c.promise}sa(a)
{if(this.i!==3)return Promise.reject(Error("GmaBridge is not connected"));const
b=Pg(this),c=new U;this.g.set(b,{O:c,ad:new Og(b,this)});this.j.sa(b,a);return
c.promise}};let Rg=null;var Sg=class extends E{g(){return Hb(z(this,3))??""}i()
{return vb(z(this,4))!=null}};var Tg=class extends E{g(){var a=this.F;var b=a[v]|
0;const c=Sb(a,b,1);if(c!=null&&typeof c==="object"&&c.wa===Va)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
Sg(c)}else d=void 0;d!==c&&d!=null&&B(a,b,1,d);(a=d)||(a=Sg[Sa])||(b=new
Sg,a=b.F,a[v]|=34,a=Sg[Sa]=b);return a}},Ug=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}}(Tg);var Vg=class extends E{};let Wg=void 0;var
Xg=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 V(a){return
I(Xg).i(a.g,a.defaultValue)}function W(a){return I(Xg).l(a.g,a.defaultValue)};var
Zg=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
Yg;this.sideRailProcessedFixedElements=new Set;this.sideRailAvailableSpace=new
Map;this.sideRailPlasParam=new
Map;this.sideRailMutationCallbacks=[];this.clickTriggeredInterstitialMayBeDisplayed
=
!1}},Yg=class{constructor()
{this.maxZIndexRestrictions={};this.nextRestrictionId=0;this.maxZIndexListeners=[]}
};function $g(a){const
b=ah(a);Da(a.floatingAdsStacking.maxZIndexListeners,c=>c(b))}function ah(a)
{a=Jc(a.floatingAdsStacking.maxZIndexRestrictions);return a.length?
Math.min.apply(null,a):null}
var bh=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
Zg;this.floatingAdsStacking=a.google_reactive_ads_global_state.floatingAdsStacking}
addListener(a)
{this.floatingAdsStacking.maxZIndexListeners.push(a);a(ah(this))}removeListener(a)
{Ha(this.floatingAdsStacking.maxZIndexListeners,b=>b===a)}},ch=class{constructor(a)
{this.controller=a;this.g=null}};function dh(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"};Da(Object.keys(b),c=>{const d=a.style[zc(c)];
(typeof d!=="undefined"?d:a.style[fd(a,c)])||G(a,c,b[c])});Oc(a)};function eh(a,b)
{const c=Uc("STYLE",a);c.textContent=yc(Cc`* { pointer-events:
none; }`);a?.head.appendChild(c);setTimeout(()=>{a?.head.removeChild(c)},b)}functio
n fh(a,b,c){if(!a.body)return null;const d=new gh;d.apply(a,b);return()=>{var e=c||
0;e>0&&eh(b.document,e);G(a.body,
{filter:d.g,webkitFilter:d.g,overflow:d.l,position:d.j,top:d.o});b.scrollTo(0,d.i)}
}
class gh{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;G(a.body,"top",`${-this.i}px`)}};function
hh(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;d<c.length;++d)
(e=c[d])&&b.call(a,e,d,c)}var ih=class extends L{constructor(a,b,c)
{super();this.g=a;this.N=b;this.B=c;this.i=null;M(this,()=>this.i=null)}I(a){return
this.B===a}};function jh(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;$g(d);b.g=e}Lc(c,
{display:"block"});a.u.body&&!
a.j&&(a.j=fh(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],
$g(d),b.g=null),Lc(c,{display:"none"}),
a.j&&(a.j(),a.j=null),a.u.body.setAttribute("aria-
hidden","false"),c.setAttribute("aria-hidden","true")}function kh(a){jh(a,!1);const
b=a.B;if(b){var
c=lh(a.J);hh(a,d=>{Lc(d,c);dh(d)});a.g.setAttribute("width","");a.g.setAttribute("h
eight","");G(a.g,c);G(a.g,mh);G(b,nh);G(b,{background:"transparent"});Lc(b,
{display:"none",position:"fixed"});dh(b);dh(a.g);(Ba()&&gc()?Vc(a.J):1)<=1||(G(b,
{overflow:"scroll","max-width":"100vw"}),Oc(b))}}
class oh extends ih{constructor(a,b){var
c=window,d=W(ff);super(a,c,b);this.j=null;this.u=c.document;this.M=d;a=new
bh(c);this.C=new ch(a);this.J=c}o(){jh(this,!1)}}function lh(a){a=Ba()&&gc()?
Vc(a):1;a=100*(a<1?1:a);return{width:`${a}vw`,height:`${a}vh`}}var
nh={backgroundColor:"white",opacity:"1",position:"fixed",left:"0px",top:"0px",margi
n:"0px",padding:"0px",display:"none",zIndex:"2147483647"},mh={left:"0",position:"ab
solute",top:"0"};var ph=class extends oh{constructor(a,b){super(a,b);kh(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=Ca(a,"adsbygoogle")>=0);return a}};function qh(){const
a=window.google_ad_modifications=window.google_ad_modifications||
{};a.afg_slotcar_vars||(a.afg_slotcar_vars={});return a.afg_slotcar_vars};function
ge(a,b){a.i.size>0||rh(a);const c=a.i.get(0);c?c.push(b):a.i.set(0,[b])}function
sh(a,b,c,d){F(b,c,d);M(a,()=>fc(b,c,d))}function th(a,b){a.state!
==1&&(a.state=1,a.i.size>0&&uh(a,b))}
function rh(a){a.g.document.visibilityState?
sh(a,a.g.document,"visibilitychange",b=>{a.g.document.visibilityState==="hidden"&&t
h(a,b);a.g.document.visibilityState==="visible"&&(a.state=0)}):"onpagehide"in a.g?
(sh(a,a.g,"pagehide",b=>{th(a,b)}),sh(a,a.g,"pageshow",
()=>{a.state=0})):sh(a,a.g,"beforeunload",b=>{th(a,b)})}function uh(a,b){for(let
c=9;c>=0;c--)a.i.get(c)?.forEach(d=>{d(b)})}var vh=class extends L{constructor(a)
{super();this.g=a;this.state=0;this.i=new Map}};async function wh(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 xh(a){const b=a.state.pc;return b!==null&&b!==0?
b:a.state.pc=Sc(a.g)}function yh(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 zh(a){await wh(a.g,()=>!(!xh(a)||!
yh(a)))}
async function Ah(a,b){await zh(a);var c=a.l;var d=new Kd;var
e=xh(a);d=C(d,1,Cb(e),"0");e=yh(a);d=D(d,2,e);d=C(d,3,Cb(a.state.sd),"0");a=C(d,7,C
b(Math.round(a.g.performance.now())),"0");a=C(a,3,Cb(1),"0");b=$b(a,10,Ld,b);ce(c,b
)}var Bh=class{constructor(a,b){this.g=bd()||window;this.i=b??new
vh(this.g);this.l=a??new ie(100,100,!0,this.i);this.state=Ke(He(),33,()=>{const
c=W(Qe);return{sd:c,ssp:c>0&&Hc()<1/c,pc:null,wpc:null,cu:null,le:[],lgdp:
[],psi:null,tar:0,cc:null}})}};function Ch(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 Dh{};function Eh(){var a=p.ggeac||
(p.ggeac={});je(I(ke),a);Fh(a);I(Dh);I(Xg).g()}function Fh(a){const
b=I(Xg);b.i=(c,d)=>J(5,a,()=>!1)(c,d,1);b.l=(c,d)=>J(6,a,()=>0)
(c,d,1);b.o=(c,d)=>J(7,a,()=>"")(c,d,1);b.u=(c,d)=>J(8,a,()=>[])
(c,d,1);b.j=(c,d)=>J(17,a,()=>[])(c,d,1);b.g=()=>{J(15,a,()=>{})(1)}};function
Gh(a){const b=I(ke).g();a=Ch(a);return b.concat(a).join(",")};function
Hh({Ka:a,Ta:b}){return a||(b==="dev"?"dev":"")};function Ih(a)
{Ce.j(b=>{b.shv=String(a);b.mjsv=Hh({Ka:Pd(),Ta:a});b.eid=Gh(p)})}function Jh(a,b)
{const c=b?.g();b=c?.g()||(Hb(z(a,2))??"");a=c?.i()?vb(z(c,4))??!1:vb(z(a,6))??!
1;Ih(b);$a(Wg,db);Wg=a};function Kh(){var a=window.adsbygoogle;try{const
b=a.pageState;$a(b,w);return Ug(b)}catch(b){return new Tg}};var Lh=typeof
sttc==="undefined"?void 0:sttc;function Mh(){var
a=Ce;try{if($a(Lh,w),Lh.length>0)return new Vg(JSON.parse(Lh))}catch(b){a.P(838,b
instanceof Error?b:Error(String(b)))}return new Vg};var Nh=class extends L{D()
{this.disposeAd();super.D()}},Oh=class extends L{constructor(a)
{super();this.callback=a}},Ph=class extends L{constructor(a)
{super();this.i=a;this.g=new Set}fetch(a,b){const c=new
Oh(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 Qh=class{constructor(a)
{var b=Pd();this.o=a;this.u=b;this.l="unset"}ha(a){this.l=a}X(a)
{this.g=a.Ea;this.i=a.Ha}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=I(ke).g();!
b.eid&&a.length&&(b.eid=a.toString());Dd(Ae,"slotcar",b,!0,1)}};var Rh=class
extends Nh{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.K();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.K():this.C=!1}};
function Sh(a){return{T:K(849,()=>{a.T()}),R:K(850,()=>{a.R()}),K:K(851,
()=>{a.K()}),U:K(854,()=>{a.U()})}}var Th=class extends Rh{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,Sh(this))}K(){(0,this.g)(1)}};function Uh(a){return{T:K(849,
()=>{a.T()}),R:K(850,()=>{a.R()}),Pa:K(855,()=>{a.i.A("admb_rfs");(0,a.g)
(2)}),Ra:K(852,()=>{a.B=!0}),K:K(853,()=>{a.K()}),U:K(854,()=>{a.U()})}}
var Vh=class extends Rh{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,Uh(this))}K(){this.B?(0,this.g)(3):(0,this.g)(2)}};function
Wh(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 Xh(a,b,c){a.j.error(`Unable to fetch ad:
'${b}' is missing from tag.`);c(null)}function Yh(a){Fe(850,()=>{a(null)})}
var Zh=class{constructor(a,b,c)
{this.i=a;this.j=b;this.g=c;this.l=Sc(window).toString()}fetch(a,b){const
c={isTestDevice:!1,httpTimeoutMillis:W(Ve)*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.Fa||a.type===2?"0":"1";this.l&&
(c.extras.pvsid=this.l);c.extras.correlator=Ne().toString();d=Gh(b);d.length&&(c.ex
tras.slotcar_eids=d);b=Wh(a.type,b);a.type===1?typeof b!=="string"?Xh(this,"data-
admob-interstitial-slot",a.callback):this.i.ra(b).then(e=>{(new
Th(e,c,a.callback,this.g)).request()}).catch(()=>{Yh(a.callback)}):typeof b!
=="string"?Xh(this,"data-admob-rewarded-
slot",a.callback):this.i.sa(b).then(e=>{(new
Vh(e,c,a.callback,this.g)).request()}).catch(()=>{Yh(a.callback)})}};const $h=new
Set(["auto","on"]),ai=new Set(["on","off"]),bi=new Set("start pause next browse
reward preroll".split(" ")),ci=new Map([["start","interstitial"],
["pause","interstitial"],["next","interstitial"],["browse","interstitial"],
["reward","reward"],["preroll","preroll"]]),di=new Map([["interstitial",["type"]],
["reward",["type","beforeReward","adDismissed","adViewed"]],["preroll",
["type","adBreakDone"]]]),ei=new Map([["interstitial",
["beforeReward","adDismissed","adViewed"]],["reward",[]],["preroll",
["afterAd","beforeReward","adDismissed","adViewed"]]]),fi="beforeAd afterAd
beforeReward adDismissed adViewed adBreakDone".split(" "),gi=new
Map([["beforeBreak","beforeAd"],["afterBreak","afterAd"],
["adComplete","adViewed"]]);var hi=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 ii=new
Set([...hi,"google_admob_interstitial_slot","google_admob_rewarded_slot","google_ma
x_ad_content_rating"]);
function ji(a,b){let c=!1;const d=f=>{c=!0;b.error(`Invalid ad config: $
{f}.`)};if(a.preloadAdBreaks!=null&&!$h.has(a.preloadAdBreaks)){var
e=Array.from($h).map(f=>`'${f}'`).join(", ");d(`'preloadAdBreaks' must be one of [$
{e}]`)}a.sound==null||ai.has(a.sound)||(e=Array.from(ai).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,ii.has(a)?typeof e!
=="string"&&d(`'h5AdsConfig.${a}' must be a string`):d(`'h5AdsConfig.${a}' is not a
valid property`);return!c}
function ki(a,b,c){for(const [d,e]of gi){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 li(a,b,c){let d=!1;const e=h=>{d=!0;b.error(`Invalid placement config: $
{h}.`)};a=Object.assign({},a);if(!ki(a,b,c))return{ua:!1,ya:a};if(!bi.has(a.type))
{var f=Array.from(bi).map(h=>`'${h}'`).join(", ");e(`'type' must be one of [$
{f}]`);return{ua:!d,ya:a}}c=ci.get(a.type);const g=di.get(c).filter(h=>!(h in
a));g.length>0&&e("missing required properties "+g.map(h=>`'${h}'`).join(",
"));c=ei.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 fi)f in a&&typeof a[f]!=="function"&&e(`'$
{f}' must be a function`);return{ua:!d,ya:a}};const mi={[1]:10,
[2]:11},ni={closed:1,viewed:3,dismissed:2,error:4};var pi=class{constructor()
{this.g=window}fetch(a,b){const c={};for(const d in
b)hi.has(d)&&(c[d]=b[d]);c.google_reactive_ad_format=mi[a.type];c.google_wrap_fulls
creen_ad=!0;c.google_video_play_muted=a.type!==2&&!
a.Fa;c.google_acr=d=>{a.callback(d?new
oi(d):null)};c.google_tag_origin="gsc";this.g.adsbygoogle.push({params:c})}},oi=cla
ss extends Nh{constructor(a){super();this.ad=a}show(a)
{this.ad.show(b=>{a(ni[b.status])})}disposeAd(){this.ad.disposeAd()}};function qi()
{return O('<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 ri(){return O('<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 si(a){const b=a.Na;a=a.Ua;return O('<div class="dialog-wrapper"
style="width: 100%; height: 100%; position: absolute; top: 0;"><div class="close-
confirmation-dialog" id="close-confirmation-dialog" style="width:
'+P(Q(Math.floor(a*.78)))+'px"><div class="confirmation-title" style="font-size:
'+P(Q(Math.floor(b*.031)))+"px; margin-top: "+P(Q(Math.floor(b*.0375)))+"px;
margin-left: "+P(Q(Math.floor(a*.066)))+"px; margin-right:
"+P(Q(Math.floor(a*.066)))+'px;">Close Ad?</div><div class="confirmation-message"
style="font-size: '+
P(Q(Math.floor(b*.025)))+"px; margin-bottom: "+P(Q(Math.floor(b*.0375)))+"px;
margin-top: "+P(Q(Math.floor(b*.0375)))+"px; margin-left:
"+P(Q(Math.floor(a*.066)))+"px; margin-right: "+P(Q(Math.floor(a*.066)))+'px;">You
will lose your reward</div><div class="confirmation-buttons" style="font-size:
'+P(Q(Math.floor(b*.0218)))+"px; line-height: "+P(Q(Math.floor(b*.05625)))+"px;
margin-right: "+P(Q(Math.floor(b*.0125)))+"px; margin-bottom:
"+P(Q(Math.floor(b*.0125)))+'px;"><div class="close-ad-button" id="close-ad-button"
style="padding-left: '+
P(Q(Math.floor(a*.044)))+"px; padding-right: "+P(Q(Math.floor(a*.044)))
+'px;">CLOSE</div><div class="resume-ad-button" id="resume-ad-button"
style="padding-left: '+P(Q(Math.floor(a*.044)))+"px; padding-right:
"+P(Q(Math.floor(a*.044)))+'px;">RESUME</div></div></div></div>')};var
ti=Ec`about:blank`;tc(ti);var ui=Ec`javascript:undefined`;tc(ui);function vi(a,b,c)
{a=a.g;c=b(c||Gf,{});b=a||pa||(pa=new
ed);if(c&&c.g)b=c.g();else{b=cd(b.g,"DIV");b:if(ia(c)){if(c.xa&&(c=c.xa(),c
instanceof uc))break b;c=Dc("zSoyz")}else
c=Dc(String(c));b.innerHTML=wc(c)}b.childNodes.length==1&&(c=b.firstChild,c.nodeTyp
e==1&&(b=c));return b}class wi{constructor(){this.g=pa||(pa=new ed)}render(a,b)
{a=a(b||{},{});return String(a)}};function xi(a,b){if(a.contentDocument||
a.contentWindow)b(a);else{const c=()=>{b(a);fc(a,"load",c)};F(a,"load",c)}}
async function yi(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));zi(a)&&(d*=.5,e*=.5);c=c.c
ontentDocument;a=c.body.appendChild(vi(a.B,si,
{Ua:d,Na:e}));d=a.querySelector(".resume-ad-button");F(a.querySelector(".close-ad-
button"),"click",()=>{b.resolve(0)});F(d,"click",()=>{b.resolve(1)});d=await
b.promise;c.body.removeChild(a);return d===
0}function zi(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 Ai=class extends Nh{constructor(a,b){super();this.u=b;this.B=new
wi;this.i=10;this.o=!1;this.j=vi(this.B,qi);this.j.dataset["slotcar"+
(b===1?"Interstitial":"Rewarded")]="true";document.documentElement.appendChild(this
.j);xi(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.rb;const
k=g.tb,m=g.nb,n=g.ub,q=g.qb,r=g.sb,y=g.ob;!g.pb&&(h instanceof mf?h.content:h)?
(g=g&&g.wb,h=O((h instanceof mf?h.content:h)?"<script"+(g?' nonce="'+
P(Ff(g))+'"':"")+">window['ppConfig'] = {productName: "+yf(zf(k??"unknown"))+",
deleteIsEnforced: "+yf(zf(!!m))+", sealIsEnforced: "+yf(zf(!!n))+", heartbeatRate:
"+yf(zf(q??.5))+", periodicReportingRateMillis: "+yf(zf(r??6E4))+",
disableAllReporting:
"+yf(zf(y??!1))+"};"+yf(zf(h??""))+"\x3c/script>":"")):h="";h="<!DOCTYPE
html><html><head>"+O(h);d=(d=d??{})&&d.xb;d=O("\n <style"+(d?' nonce="'+P(Ff(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 ');
d=h+d+'</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;">'+ri()+"</div></div>":"")+'<div class="x-button"
id="dismiss-button-element">'+ri()+'</div></div></div><div class="container"><div
class="creative">'+O('<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">'+O('<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.V===jf?e:e instanceof
uc?O(wc(e).toString()):O(String(String(e)).replace(xf,wf),of(e)))+"</div></div></
div></a></div></div></body></html>";e=O(d).xa();f=c.contentDocument||
c.contentWindow.document;f.open();f.write(wc(e));f.close();this.g=new
ph(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");jh(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 yi(this)?(this.g.o(),F(c,"click",e),a(2)):this.o=!
1};F(c,"click",e);this.i=W(Ze);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();fc(c,"click",k);a(3)};F(c,"click",k);fc(c,"click",e)}},1E3))}el
se F(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();dd(this.j)}},Bi=class{fetch(a){new Ai(a.callback,a.type)}};var
Ci=class{constructor()
{this.j=I(Bh);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_a
fni: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,ad
br_dn:25,dbl_init:26,sess_m:27,ad_cls:28,ad_rdtr:30};this.u={admob:1,adsense:2,adbr
eaktest:0}}ha(){}X(a){this.g=a.Ea;this.i=a.Ha}L(a){this.l=this.u[a]}async A(a){var
b=
new
Jd;a=C(b,1,zb(this.o[a]),0).L(this.l);this.g&&D(a,3,this.g);this.i&&D(a,4,this.i);a
wait Ah(this.j,a)}},Di=class{constructor(a){this.qa=new Ci;this.fa=a}ha(a)
{this.fa.ha(a)}X(a){this.qa.X(a);this.fa.X(a)}L(a){this.qa.L(a);this.fa.L(a)}async
A(a,b={}){await this.qa.A(a,b);this.fa.A(a,b)}};function Ei(a){let b=a.l;a.g!
==null&&(b+=(Date.now()-a.g)/1E3);return Math.min(b,a.j)}function Fi(a){const
b=Ei(a);if(b<a.i)throw Error("Current tokens in seconds cannot be less than
frequency cap in seconds when ad is shown.");a.l=b-a.i}function Gi(a){return a.g!
==null&&Date.now()-a.g<a.o*1E3?!1:Ei(a)>=a.i}
var Hi=class{constructor(a,b){var
c=W(df);this.i=a;this.o=b;this.g=null;if(a<=0)throw Error("Frequency cap cannot be
less than or equal to 0.");if(c<1)throw Error("Bucket capacity cannot be less than
1.");if(1.5>c)throw Error("Initial tokens cannot be greater than the bucket
capacity.");this.l=1.5*a;this.j=c*a}};const Ii="click mousedown mouseup touchstart
touchend pointerdown pointerup keydown keyup scroll".split(" ");var Ji=class
extends L{constructor(){var a=window;super();this.g=0;const
b=()=>{this.g=Date.now()};for(const c of
Ii)a.document.documentElement.addEventListener(c,b,{capture:!0});M(this,
()=>{for(const c of Ii)a.document.documentElement.removeEventListener(c,b,
{capture:!0})})}};class Ki extends L{constructor(a,b){super();this.O=new U;this.g=!
1;this.timeout=setTimeout(K(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 Li(a,b){if(a=a.google_adbreak_test)switch(a){case "on":return new Bi;case
"adsense":break;default:throw b.error(`Unsupported data-adbreak-test value '${a}.
Supported values: '${"on"}'.`),Error("unsupported test mode");}return new
pi}function Mi(a)
{return["google_admob_interstitial_slot","google_admob_rewarded_slot"].some(b=>type
of Ni(b,a)==="string")}function Ni(a,b){if(b[a]&&typeof b[a]==="string")return
String(b[a])}
function Oi(a,b){Rg==null&&(Rg=new Qg);return Rg.connect().then(c=>new
Zh(c,a,b))}function Pi(a){if(typeof a!=="string")return-1;a=/^(\
d+)s$/.exec(a);return a==null?-1:Number(a[1])}
function Qi(a,b){window.addEventListener("onpagehide"in
self?"pagehide":"unload",K(938,()=>{if(b.first_slotcar_request_processing_time){var
c=Date.now();a.g.A("sess_m",{igsl:c-
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:c-b.adsbygoogle_execution_start_time})}}))}
function Ri(a,b){const c=b.google_admob_ads_only;typeof c==="string"&&(c==="on"?
Mi(b)?a.ca=!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 Si(a){return
a.za?"adbreaktest":a.I?"admob":"adsense"}function Ti(a,b){for(const c of[1,2])
{const d=a.i.get(c);if(d||Ui(a,c))d?(d.dispose(),a.i.delete(c)):
(a.u.get(c).dispose(),a.u.delete(c)),X(a,c,0,b)}}
function Vi(a){if(!a.da||a.Ca){if(!a.na&&a.o.preloadAdBreaks){var b=V(af)?[1]:
[1,2];for(const c of b)if(!a.i.has(c)&&!a.Z.has(c))return}for(a.na=!
0;a.oa.length>0;)b=a.oa.pop(),Wi(a,"onReady",b)}}function Xi(a,b)
{b=b.google_ad_frequency_hint;const c=W($e);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(W(bf),Number(d[1]))}
function Yi(a,b){for(const c in b)if(b[c]!==a.N[c])return!0;return!1}function
Zi(a,b){!a.ca||a.I?b():a.g.A("adcf_afni")}function $i(a,b,c,d=!0){const
e=a.i.get(b);e&&(e.dispose(),X(a,b,10,c),d&&a.i.delete(b))}function Ui(a,b){return
a.u.has(b)&&!a.u.get(b).g}function X(a,b,c,d){if(Ui(a,b))throw Error("already
scheduled");c=new Ki(c,()=>{aj(a,b,d)});a.u.set(b,c);return c}function Wi(a,b,c)
{Rc(()=>{bj(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.A("adbr_dn",
{breakType:e.breakType,breakFormat:e.breakFormat,breakStatus:e.breakStatus,breakNam
e:e.breakName??""});const f=b.adBreakDone;f!=null&&Wi(a,"adBreakDone",()=>{f(e)})}
async function cj(a,b){if(a.aa)return a.g.A("pr_rr"),Z(a,b,1,"frequencyCapped"),!
1;a.aa=!0;const c=await dj(a,1,W(We),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 ej(a,b){const c=await
dj(a,2,W(Xe),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 fj(a,b){const c=new U;a.Aa=c;bj(a,"beforeReward",
()=>{b.beforeReward(()=>{c.resolve(0)})});return await c.promise===0}function
bj(a,b,c){if(c)try{c()}catch(d){return a.j.error(`'${b}' callback threw an
error:`,d),!1}return!0}function gj(a,b){return V(Se)&&b===1&&a.M!==null}function
hj(a,b){var c=Number(b);b=Number((b*a.C*1E3/(Date.now()-a.pa-a.ka)).toFixed(2));var
d=Number(W(df)),e=Number;var f=V(ef)?W(Te):a.C/2;a.g.A("ad_sr",
{type:1,nias:c,asr:b,bc:d,md:e(f)})}
async function dj(a,b,c,d){a.da&&await a.ja;a=Ui(a,b)?a.u.get(b):X(a,b,0,2);return
await Promise.race([a.promise,Tc(c*1E3,d)])}function ij(a,b,c,d,e){const
f=a.Ja.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 aj(a,b,c){const
d=Date.now();a.B.fetch({type:b,Fa:a.o.sound==="on",callback:e=>{a.Z.delete(b);const
f=a.u.get(b);e?(f.resolve(0),a.i.set(b,e),M(e,()=>{a.i.delete(b)})):
(f.resolve(1),a.Z.add(b),X(a,b,W(cf),5));ij(a,e!=null,b,c,d);c!==1&&c!==7||
Vi(a)}},a.N)}
var jj=class extends L{constructor(a,b)
{super();this.j=a;this.g=b;this.B=null;this.ia="";this.la=this.aa=this.da=this.na=t
his.za=!1;this.C=0;this.ba=!1;this.Aa=null;this.oa=[];this.J=new
$c;this.ca=this.Ca=this.I=!
1;this.ma=0;this.ja=Promise.resolve();this.pa=0;this.N={};this.M=null;this.ka=0;thi
s.o={sound:"on"};this.i=new Map;this.u=new Map;this.Ba=new Ji;this.Z=new
Set;this.Ja=new Map([[1,[]],[2,[]]]);M(this,ma(Oe,this.Ba))}init(a)
{this.ia=String(a.google_ad_client);if(this.B!=null)this.g.A("dbl_init",
{ad_client:this.ia});else{this.N={...a};var
b=qh();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):"";Qi(this,b);b=navigator.userAgent;var
c=RegExp("\\bwv\\
b");this.da=b.includes("Android")&&c.test(b);a.google_adbreak_test==="on"&&(this.za
=!0);Ri(this,a);this.g.ha(this.ia);this.B=new
Ph(Li(a,this.j));this.g.L(Si(this));if(Mi(a))
{this.g.X({Ea:Ni("google_admob_interstitial_slot",
a),Ha:Ni("google_admob_rewarded_slot",a)});const
e=Date.now();b=Oi(this.j,this.g).then(f=>{this.B!=null&&this.B.dispose();this.B=new
Ph(f);this.I=!0;this.g.L(Si(this));Ti(this,7)}).catch(f=>{this.g.A("admb_fetfail",
{error:f})}).finally(()=>{this.g.A("admb_tm",{timing:Date.now()-
e})});this.da&&(this.ja=Promise.race([b,Tc(W(Ue)*1E3)]),this.ja.finally(()=>{this.C
a=!0;Vi(this)}))}this.C=Xi(this,a);V(Se)&&(this.M=new Hi(this.C,V(ef)?
W(Te):this.C/2));this.ma=Pi(a.google_ad_start_delay_hint);this.J=new $c;
var d=ec(K(791,()=>{if(this.J.width!==window.innerWidth||this.J.height!
==window.innerHeight)if(!this.I||this.J.width!==window.innerWidth){var e=new
$c,f=this.J;if(V(Re)?e.width<f.width||e.height<f.height:1){this.g.A("ad_rdtr",
{cvw:Number(e.width),cvh:Number(e.height),ovw:Number(f.width),ovh:Number(f.height)}
);for(const g of this.i.keys())$i(this,g,4,!1);this.i.clear()}this.J=new
$c}}));window.addEventListener("resize",d);M(this,
()=>{window.removeEventListener("resize",d)});this.pa=Date.now()}}handleAdConfig(a)
{ji(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&&(Yi(this,a.h5AdsCo
nfig)&&(this.N={...this.N,...a.h5AdsConfig},Zi(this,()=>{Ti(this,6)}),this.na=!
1),this.la=this.aa=!1),a.sound&&this.o.sound!
==a.sound&&(this.o.sound=a.sound,Zi(this,()=>{$i(this,1,6)})),a.preloadAdBreaks&&!
this.o.preloadAdBreaks?Zi(this,
()=>{this.o.preloadAdBreaks=a.preloadAdBreaks;if(this.o.preloadAdBreaks===
"on"){const b=V(af)?[1]:[1,2];for(const c of b)this.i.has(c)||Ui(this,c)||
X(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.oa.push(a.onReady),Vi(this))):this.g.A
("inv_adcnf")}async handleAdBreak(a,b){if(V(Ye)||!this.ca||
this.I)if(a=li(a,this.j,this.g),a.ua){var c=a.ya,d=c.type==="reward"?
2:1;if(V(Ye)&&this.ca&&!this.I)this.g.A("adbr_naf"),Z(this,c,d,"other");
else if(d!==1||this.ma<=0||Date.now()-
this.pa>this.ma*1E3)if(a=qh(),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.C,last_intr:Date.now()-this.Ba.g}),b&&c.type!
=="preroll")Z(this,c,d,"notReady");else{if(d===2&&this.Aa?.resolve(1),this.i.get(d)
||c.type!=="preroll"||await cj(this,c)){if(V(af)&&c.type==="reward"&&!
this.i.get(d)&&!this.la&&(this.la=!0,!await ej(this,c)))return;var
e=this.i.get(d);if(e)if(d!==2||await fj(this,c))if(this.ba)this.j.error("Cannot
show ad while another ad is already visible."),
Z(this,c,d,"frequencyCapped");else
if(bj(this,"beforeAd",c.beforeAd))if(gj(this,d)&&!
Gi(this.M))this.g.A("adbr_noad"),Z(this,c,d,"frequencyCapped");else{this.ba=!
0;d===1&&a.number_of_interstitial_ads_shown++;this.aa=!0;var
f=Date.now(),g=h=>{this.ba=!1;gj(this,d)&&(this.M.g=Date.now());h===2||
d===2&&h===4?
Wi(this,"adDismissed",c.adDismissed):h===3&&Wi(this,"adViewed",c.adViewed);Wi(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(),
gj(this,d)?X(this,d,0,3):X(this,d,d===2?
0:this.C,3));gj(this,d)&&(this.ka+=Date.now()-f);this.g.A("ad_cls",
{result:h,adType:d,dur:Date.now()-f})};M(e,
()=>{this.ba&&g(4)});gj(this,d)&&(Fi(this.M),hj(this,a.number_of_interstitial_ads_s
hown));e.show(g)}else Wi(this,"afterAd",c.afterAd),Z(this,c,d,"error");else
Z(this,c,d,"ignored");else Ui(this,d)?
(this.g.A("adbr_noad"),Z(this,c,d,this.Z.has(d)?"other":"frequencyCapped")):
(X(this,d,0,2),Z(this,c,d,"noAdPreloaded"))}}else this.g.A("adbr_tepgai"),V(Ye)&&
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()}};fun
ction kj(a){{p.google_llp||(p.google_llp={});var b=p.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)};Fe(723,()=>{const a=new
ie;try{Oa(d=>{re(a,1196,d)})}catch(d){}var b=Mh(),c=Kh();Jh(b,c);Eh();b=c.g().g()||
(Hb(z(b,2))??"");b=new Di(new Qh(b));c={error(...d){console.error("[Ad Placement
API]",...d)},warn(...d){console.warn("[Ad Placement API]",...d)}};(Aa()?
0:u("Trident")||u("MSIE"))?c.warn("Internet Explorer is not supported."):kj(new
jj(c,b))});
}).call(this,"");