0% found this document useful (0 votes)
43 views6 pages

F

This document defines functions and classes for handling errors and logging events. It includes functions for starting and ending timer events, constructing error objects, and sending logged events to a server.

Uploaded by

Benjamin Garcia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views6 pages

F

This document defines functions and classes for handling errors and logging events. It includes functions for starting and ending timer events, constructing error objects, and sending logged events to a server.

Uploaded by

Benjamin Garcia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

(function(){/*

Copyright The Closure Library Authors.


SPDX-License-Identifier: Apache-2.0
*/
'use strict';var m=this||self;function aa(a,b,c){return
a.call.apply(a.bind,arguments)}function ba(a,b,c){if(!a)throw
Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return
function(){var
e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return
a.apply(b,e)}}return function(){return a.apply(b,arguments)}}
function n(a,b,c){Function.prototype.bind&&-1!
=Function.prototype.bind.toString().indexOf("native code")?n=aa:n=ba;return
n.apply(null,arguments)};function ca(a,b){Array.prototype.forEach.call(a,b,void
0)};function p(a){p[" "](a);return a}p[" "]=function(){};var da={},r=null;var
ea="function"===typeof Uint8Array;const u=Symbol(void 0);function ja(a){if(!
Array.isArray(a))return a;Object.isFrozen(a)||(u?a[u]|=1:void 0!==a.g?a.g|
=1:Object.defineProperties(a,{g:{value:1,configurable:!0,writable:!0,enumerable:!
1}}));return a};function ka(a){return null!==a&&"object"===typeof
a&&a.constructor===Object}
function la(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case
"object":if(ea&&null!=a&&a instanceof Uint8Array){var b;void 0===b&&(b=0);if(!r)
{r={};for(var
c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/
=","+/","-_=","-_.","-_"],e=0;5>e;e++){var
f=c.concat(d[e].split(""));da[e]=f;for(var g=0;g<f.length;g++){var h=f[g];void
0===r[h]&&(r[h]=g)}}}b=da[b];c=Array(Math.floor(a.length/3));d=b[64]||"";for(e=f=0;
f<a.length-2;f+=3){var l=a[f],k=a[f+1];
h=a[f+2];g=b[l>>2];l=b[(l&3)<<4|k>>4];k=b[(k&15)<<2|h>>6];h=b[h&63];c[e+
+]=g+l+k+h}g=0;h=d;switch(a.length-f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case
1:a=a[f],c[e]=b[a>>2]+b[(a&3)<<4|g>>4]+h+d}a=c.join("")}return a;default:return
a}};function ma(a,b){if(null!=a)return Array.isArray(a)||ka(a)?
na(a,b):b(a)}function na(a,b){if(Array.isArray(a)){var c=Array(a.length);for(let
e=0;e<a.length;e++)c[e]=ma(a[e],b);if(a){var d;u?d=a[u]:d=a.g;a=null==d?0:d}else
a=0;a&1&&ja(c);return c}d={};for(c in a)d[c]=ma(a[c],b);return d};let y;function
z(a){var b=y;y=null;a||(a=b);b=this.constructor.messageId;a||(a=b?[b]:
[]);this.i=(b?0:-1)-(this.constructor.U||0);this.g=a;a:{b=this.g.length;a=b-
1;if(b&&(b=this.g[a],ka(b))){this.l=a-this.i;this.j=b;break
a}this.l=Number.MAX_VALUE}}Object.freeze(ja([]));function C(a,b){return-1===b?
null:b>=a.l?a.j?a.j[b]:void 0:a.g[b+a.i]}function D(a,b,c){a=C(a,b);return null==a?
c:a}function E(a,b){a=C(a,b);a=null==a?a:!!a;return null==a?!1:a}function oa(a)
{a=C(a,13);a=null==a?a:+a;return null==a?0:a}
z.prototype.toJSON=function(){return na(this.g,la)};function pa(a){var b=qa;y=a=a?
JSON.parse(a):null;b=new b(a);y=null;return b}z.prototype.toString=function()
{return this.g.toString()};var qa=class extends z{};function ra(a=window){return
a};var sa=document,F=window;/*

SPDX-License-Identifier: Apache-2.0
*/
function G(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function H(a,b,c)
{a.removeEventListener&&a.removeEventListener(b,c,!1)};var ta=RegExp("^(?:([^:/?#.]
+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?
(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function I(a){try{var b;if(b=!!a&&null!
=a.location.href)a:{try{p(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c)
{return!1}}function J(a,b){if(a)for(const c in
a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)}let K=[];const
M=()=>{const a=K;K=[];for(const b of a)try{b()}catch(c){}};
var ua=(a,b)=>{"complete"===a.readyState||"interactive"===a.readyState?
(K.push(b),1==K.length&&(window.Promise?
Promise.resolve().then(M):window.setImmediate?
setImmediate(M):setTimeout(M,0))):a.addEventListener("DOMContentLoaded",b)};functio
n va(a){a=void 0===a?document:a;var b="IMG";let
c;"application/xhtml+xml"===(null==(c=a)?void
0:c.contentType)&&(b=b.toLowerCase());return a.createElement(b)};function
N(a,b,c=null){wa(a,b,c)}function wa(a,b,c){a.google_image_requests||
(a.google_image_requests=[]);const d=va(a.document);if(c){const
e=f=>{c&&c(f);H(d,"load",e);H(d,"error",e)};G(d,"load",e);G(d,"error",e)}d.src=b;a.
google_image_requests.push(d)}
var ya=()=>{let a="https://pagead2.googlesyndication.com/pagead/gen_204?
id=badpubwin";J({stack:Error().stack},(b,c)=>{b&&(a+=`&${c}=$
{encodeURIComponent(b)}`)});xa(a)},xa=a=>{var b=window;b.fetch?b.fetch(a,
{keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-
cors"}):N(b,a)};let za=0;function Aa(a)
{return(a=Ba(a,document.currentScript))&&a.getAttribute("data-jc-
version")||"unknown"}function Ba(a,b=null){return b&&b.getAttribute("data-
jc")===String(a)?b:document.querySelector(`[${"data-jc"}="${a}"]`)}
function Ca(){if(!(.01<Math.random())){var a=`https://$
{"pagead2.googlesyndication.com"}/pagead/gen_204?id=jca&jc=${24}&version=$
{Aa(24)}&sample=$
{.01}`,b=window,c;if(c=b.navigator)c=b.navigator.userAgent,c=/Chrome/.test(c)&&!/Ed
ge/.test(c)?!0:!1;c&&b.navigator.sendBeacon?b.navigator.sendBeacon(a):N(b,a)}};var
Da=a=>a.innerHeight>=a.innerWidth?0:90,Ea=!!window.google_async_iframe_id;let
O=Ea&&window.parent||window;class Fa{constructor(a,b)
{this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror"
;this.meta={}}};const Ka=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)
(\\?|/|$)");var La=class{constructor(a,b)
{this.g=a;this.i=b}},Ma=class{constructor(a,b){this.url=a;this.T=!!
b;this.depth=null}};function P(a,b){const c={};c[a]=b;return[c]}function
Na(a,b,c,d,e){const f=[];J(a,function(g,h)
{(g=Oa(g,b,c,d,e))&&f.push(h+"="+g)});return f.join(b)}
function Oa(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof
c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){const f=[];for(let
g=0;g<a.length;g++)f.push(Oa(a[g],b,c,d+1,e));return f.join(c[d])}}else
if("object"==typeof a)return e=e||0,2>e?
encodeURIComponent(Na(a,b,c,d,e+1)):"...";return
encodeURIComponent(String(a))}function Pa(a){let b=1;for(const c in
a.i)b=c.length>b?c.length:b;return 3997-b-a.j.length-1}
function Qa(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;let d=Pa(a)-
c.length;if(0>d)return"";a.g.sort(function(f,g){return f-g});c=null;let
e="";for(let f=0;f<a.g.length;f++){const g=a.g[f],h=a.i[g];for(let
l=0;l<h.length;l++){if(!d){c=null==c?g:c;break}let k=Na(h[l],a.j,",$");if(k)
{k=e+k;if(d>=k.length){d-=k.length;b+=k;e=a.j;break}c=null==c?g:c}}}a="";null!
=c&&(a=e+"trn="+c);return b+a}class Ra{constructor()
{this.j="&";this.i={};this.l=0;this.g=[]}};function Sa(){var
a=Q,b=R.google_srt;0<=b&&1>=b&&(a.g=b)}function Ta(a,b,c,d,e,f){if((d?
a.g:Math.random())<(e||.01))try{let g;c instanceof Ra?g=c:(g=new Ra,J(c,(l,k)=>{var
q=g,t=q.l++;l=P(k,l);q.g.push(t);q.i[t]=l}));const h=Qa(g,a.i,"/pagead/gen_204?
id="+b+"&");h&&("undefined"!==typeof f?N(m,h,f):N(m,h))}catch(g){}}class
Ua{constructor(){var a=void 0===a?
F:a;this.i="http:"===a.location.protocol?"http:":"https:";this.g=Math.random()}};le
t S=null;var Va=()=>{const a=m.performance;return a&&a.now&&a.timing?
Math.floor(a.now()+a.timing.navigationStart):Date.now()},Wa=()=>{const
a=m.performance;return a&&a.now?a.now():null};class Xa{constructor(a,b){var
c=Wa()||
Va();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.rando
m();this.slotId=void 0}};const T=m.performance,Ya=!!
(T&&T.mark&&T.measure&&T.clearMarks),V=function(a){let b=!1,c;return function(){b||
(c=a(),b=!0);return c}}(()=>{var a;if(a=Ya){var b;if(null===S)
{S="";try{a="";try{a=m.top.location.hash}catch(c)
{a=m.location.hash}a&&(S=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c)
{}}b=S;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function Za(a)
{a&&T&&V()&&(T.clearMarks(`goog_${a.label}_$
{a.uniqueId}_start`),T.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))}
class $a{constructor(){var a=R;this.events=[];this.i=a||m;let
b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||
[],this.events=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.g=V()
||(null!=b?b:1>Math.random())}start(a,b){if(!this.g)return null;a=new
Xa(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;T&&V()&&T.mark(b);return a}end(a)
{if(this.g&&"number"===typeof a.value){a.duration=(Wa()||Va())-a.value;var
b=`goog_${a.label}_${a.uniqueId}_end`;T&&V()&&T.mark(b);!this.g||
2048<this.events.length||this.events.push(a)}}};function ab(a){let
b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-
1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;try{-
1==a.indexOf(b)&&(a=b+"\n"+a);let c;for(;a!=c;)c=a,a=a.replace(/((https?:\/..*\/)
[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(c){}}return b}
function bb(a,b,c){let d,e;try{a.g&&a.g.g?
(e=a.g.start(b.toString(),3),d=c(),a.g.end(e)):d=c()}catch(f){c=!
0;try{Za(e),c=a.m(b,new Fa(f,{message:ab(f)}),void 0,void 0)}catch(g)
{a.J(217,g)}if(c){let g,h;null==(g=window.console)||null==(h=g.error)||
h.call(g,f)}else throw f;}return d}function cb(a,b){var c=W;return(...d)=>bb(c,a,
()=>b.apply(void 0,d))}
class db{constructor(){var a=eb;this.j=Q;this.i=null;this.m=this.J;this.g=void
0===a?null:a;this.l=!1}pinger(){return this.j}J(a,b,c,d,e){e=e||"jserror";let
f;try{const v=new Ra;var
g=v;g.g.push(1);g.i[1]=P("context",a);b.error&&b.meta&&b.id||(b=new Fa(b,
{message:ab(b)}));if(b.msg){g=v;var
h=b.msg.substring(0,512);g.g.push(2);g.i[2]=P("msg",h)}var l=b.meta||
{};b=l;if(this.i)try{this.i(b)}catch(A){}if(d)try{d(b)}catch(A)
{}d=v;l=[l];d.g.push(3);d.i[3]=l;d=m;l=[];b=null;do{var k=d;if(I(k)){var
q=k.location.href;
b=k.document&&k.document.referrer||null}else q=b,b=null;l.push(new
Ma(q||""));try{d=k.parent}catch(A){d=null}}while(d&&k!=d);for(let A=0,Ga=l.length-
1;A<=Ga;++A)l[A].depth=Ga-
A;k=m;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length=
=l.length-1)for(q=1;q<l.length;++q){var t=l[q];t.url||
(t.url=k.location.ancestorOrigins[q-1]||"",t.T=!0)}var w=l;let U=new
Ma(m.location.href,!1);k=null;const fa=w.length-1;for(t=fa;0<=t;--t){var x=w[t];!
k&&Ka.test(x.url)&&(k=x);if(x.url&&!x.T){U=
x;break}}x=null;const ub=w.length&&w[fa].url;0!=U.depth&&ub&&(x=w[fa]);f=new
La(U,x);if(f.i){w=v;var B=f.i.url||"";w.g.push(4);w.i[4]=P("top",B)}var
ha={url:f.g.url||""};if(f.g.url){var
ia=f.g.url.match(ta),L=ia[1],Ha=ia[3],Ia=ia[4];B="";L&&(B+=L+":");Ha&&(B+="//",B+=H
a,Ia&&(B+=":"+Ia));var Ja=B}else Ja="";L=v;ha=[ha,
{url:Ja}];L.g.push(5);L.i[5]=ha;Ta(this.j,e,v,this.l,c)}catch(v){try{Ta(this.j,e,
{context:"ecmserr",rctx:a,msg:ab(v),url:f&&f.g.url},this.l,c)}catch(U){}}return!
0}};class fb{};let Q,W;if(Ea&&!I(O)){.01>Math.random()&&ya();let
a="."+sa.domain;try{for(;2<a.split(".").length&&!
I(O);)sa.domain=a=a.substr(a.indexOf(".")+1),O=window.parent}catch(b){}I(O)||
(O=window)}const R=O,eb=new $a;var gb=()=>{if(!R.google_measure_js_timing){var
a=eb;a.g=!1;a.events!
=a.i.google_js_reporting_queue&&(V()&&ca(a.events,Za),a.events.length=0)}};
(a=>{Q=null!=a?a:new Ua;"number"!==typeof
R.google_srt&&(R.google_srt=Math.random());Sa();W=new db;W.i=b=>{const c=za;0!
==c&&(b.jc=String(c),b.shv=Aa(c))};W.l=!0;"complete"==R.document.readyState?
gb():eb.g&&G(R,"load",()=>{gb()})})();var X=(a,b)=>cb(a,b),hb=(a,b,c)=>{var
d=fb,e="R";d.R&&d.hasOwnProperty(e)||(e=new d,d.R=e);d=[];!
b.eid&&d.length&&(b.eid=d.toString());Ta(Q,a,b,!0,c,void 0)};function Y(a,b,c={})
{c.msg_type=b;c.googMsgType="sth";b=JSON.stringify(c);a.parent.postMessage(b,"*")}f
unction ib(a){if(a.C||E(a.i,2))return!0;let b=!0;const
c=jb(a);c&&(b=36E5<=c);if(b)try{a.g.localStorage.removeItem("LAST_INTERSTITIAL_TIME
")}catch(d){}return b}function Z(a,b,c)
{D(a.i,3,"")&&(b.qid=D(a.i,3,""));D(a.i,10,"")&&(b.eid=D(a.i,10,""));b.rtype=D(a.i,
12,0);b.req=F.location.href;hb(a.L(),b,c)}
function jb(a){try{const
b=+a.g.localStorage.getItem("LAST_INTERSTITIAL_TIME"),c=Date.now();if(b&&b<c)return
c-b}catch(b){}return null}
class kb{constructor(a,b){this.g=F;this.j=a;this.o=!
1;this.u=null;this.m=0;this.i=b;this.C=E(this.i,11)||10===D(this.i,12,0)||
11===D(this.i,12,0)}L(){}F()
{if(this.o=ib(this))this.G(),D(this.i,1,"")&&this.g.parent.postMessage(D(this.i,1,"
"),"*")}s(){if(!this.m){this.u&&H(this.g,"storage",this.u);this.m=Date.now();if(!
E(this.i,2)&&!
this.C)try{this.g.localStorage.setItem("LAST_INTERSTITIAL_TIME",""+this.m)}catch(b)
{}this.P();if(this.j){var a=this.g.document.createEvent("Event");a.initEvent("i-
creative-view",
!0,!
1);this.j.dispatchEvent(a);a=this.g.document.createEvent("Event");a.initEvent("onsh
ow",!0,!1);this.g.dispatchEvent(a)}}}G()
{this.g.IntersectionObserver&&.01<oa(this.i)?(new
this.g.IntersectionObserver((a,b)=>{a.forEach(c=>{if(!(0>=c.intersectionRatio))
{this.s();for(const d of
this.j.document.getElementsByClassName("GoogleActiveViewElement"))d.removeAttribute
("data-google-av-dm");b.disconnect()}})},
{threshold:oa(this.i)})).observe(this.g.document.documentElement):G(this.g,"message
",X(262,a=>{a:{if(a&&
(this.g.parent==a.source||this.g.parent.parent==a.source)){var
b={};try{b=this.g.JSON.parse(a.data)}catch(c){a=void 0;break a}"i-
view"==(b&&b.msg_type)&&this.o&&this.s()}a=void 0}return a}));this.C||
(this.u=X(263,()=>{this.o=ib(this);if(!this.o){var
a={["i_tslv"]:jb(this)};Y(this.g,"i-
no",a)}}),G(this.g,"storage",this.u));Y(this.g,"i-adframe-load")}P(a){let
b;try{const c=ra(this.j);c.vv?c.vv():b=!0}catch(c){W.J(533,c,void 0,void
0);return}a=a||1;b?(Z(this,{vf:a}),3<=a||this.g.setTimeout(n(kb.prototype.P,
this,a+1),3E3)):1<a&&Z(this,{vs:a})}};class lb{constructor(){this.promise=new
Promise(a=>{this.g=a})}};var mb=class{constructor(){const a=new
lb;this.promise=a.promise;this.resolve=a.g}};function nb(a)
{window.parent.postMessage(JSON.stringify({type:"rewarded",message:a}),"*")};var
ob=a=>{a=a.document;let b={};a&&(b="CSS1Compat"==a.compatMode?
a.documentElement:a.body);return b||{}};function pb(a,b,c){hb("jserror",
{context:"iaf::itf",req:F.location.href,db:a?1:0,ls:b?
1:0,eid:D(c,10,""),qid:D(c,3,""),rtype:D(c,12,0)})}function qb(a,b)
{rb(a,b)&&(a.l.style.background="rgba(192,192,192, .
3)",m.setTimeout(()=>{a.l.style.background="transparent";a.dismiss(2)},750))}functi
on sb(a,b){let
c;b.some(d=>"intervention"===d.type&&"HeavyAdIntervention"===(null==(c=d.body)?void
0:c.id))&&(Z(a,{hai:"1"},1),a.m?a.dismiss(8):Y(a.g,"i_iif"))}
function tb(a){var b=a.l.getBoundingClientRect(),c=b.bottom,d=b.right;const
e=ob(a.g).clientHeight,f=ob(a.g).clientWidth,g=Math.floor(c-e),h=Math.floor(d-
f);if(0<=g||5<h)c-=b.top,d-=b.left,b=a.g,Z(a,{dhb:g>=c?1:0,dhr:h>=d?
1:0,h:e,w:f,bh:c,bw:d,opb:g,opr:h,pt:b.innerHeight>=b.innerWidth?
1:0,req:a.g.location.href})}function vb(a){const b=X(259,n(function(){Y(this.g,"i-
blur");H(this.g,"blur",b)},a));G(a.g,"blur",b)}function wb(a,b){var c={};E(a.i,15)?
(nb("canceled"),nb("closed")):Y(a.g,b,c)}
function xb(a,b){const
c=a.g.document.getElementById("creative");a.g.goog_vignette_survey&&(a.g.goog_vigne
tte_survey.display(c,()=>{a.dismiss(3)},()=>{},1),b&&b.stopPropagation())}function
yb(a){!
1===a.A&&a.enableDismissListeners();a.O&&G(a.O,"click",X(261,c=>xb(a,c)));const
b=a.g.document.getElementById("card");b&&b.addEventListener("click",X(909,c=>{null=
=c||c.stopPropagation()}))}function zb(a){G(a.g,"resize",()=>{const b=Da(a.g);a.D?
(a.D=!1,a.I=90===b):(a.I?0===b:90===b)&&a.dismiss(4)})}
function Ab(a){var b=X(617,c=>{var
d=document.activeElement;2==D(a.i,5,0)&&(d=a.j.document.activeElement);
(27===c.which||13===c.which&&d===a.l)&&a.dismiss(5);if(9===c.which){var
e=Bb(a);d=Array.prototype.indexOf.call(e,d,void 0);e=Cb.length;const
f=Bb(a);c.shiftKey&&0===d?(c.preventDefault(),f[e-1].focus()):c.shiftKey||d!==e-1||
(c.preventDefault(),f[0].focus())}});G(a.g,"keydown",b);2===D(a.i,5,0)&&G(a.j,"keyd
own",b);b=Bb(a).filter((c,d)=>{c||Z(a,{missingFocusableChild:1,index:d});return!!
c});ca(b,
(c,d)=>{c.setAttribute("tabindex",d+1)});b.length&&b[0].focus()}function Db(a)
{a.g.addEventListener("message",b=>{if(b.source===a.j)try{const
c=JSON.parse(b.data);"rewarded"===c.type&&"closed"===c.message&&a.dismiss(11===D(a.
i,12,0)?6:1)}catch(c){}})}function Eb(a){const b=a.g.navigator?!
0===a.g.navigator.standalone:!1,c=window.matchMedia("(display-mode:
standalone)").matches;Z(a,{wapp:b||c})}
function Bb(a){return 2===D(a.i,5,0)?
Fb.map(b=>a.j.document.getElementById(b)):Cb.map(b=>document.getElementById(b))}fun
ction rb(a,b){if(!b)return!0;if((b.preventDefault?b.defaultPrevented:!
1===b.returnValue)||b.target&&b.target.ownerDocument==a.j.document)return!
1;for(a=b.target;a;){if("creative"==a.id)return!1;a=a.parentElement}return!0}
class Gb extends kb{constructor(a,b,c,d)
{super(a,d);this.l=b;this.O=c;this.K=0;this.N=X(260,e=>{this.dismiss(1);e&&e.stopPr
opagation()});this.M=e=>qb(this,e);this.H=[];this.B=[];this.D=this.I=this.A=!
1;this.v=null}F(){super.F();(this.v=this.g.ReportingObserver?new
this.g.ReportingObserver((a,b)=>{sb(this,a)&&b.disconnect()},{buffered:!
0}):null)&&G(this.g,"unload",
()=>{sb(this,this.v.takeRecords());this.v.disconnect()})}L()
{return"ia_evt"}addViewListener(a){a=cb(483,a);this.m?
a():this.H.push(a)}addDismissListener(a){this.B.push(cb(484,
a))}disableDismissListeners(){this.A=!
0;H(this.l,"click",this.N);H(this.g.document,"click",this.M)}enableDismissListeners
(){this.A=!1;G(this.l,"click",this.N);G(this.g.document,"click",this.M)}dismiss(a)
{document.body.setAttribute("aria-hidden","true");Z(this,{ttd:Date.now()-
this.m,req:F.location.href,pda:this.K,ds:a,idrw:E(this.i,15)?1:0});this.K++||
vb(this);let b=0;for(let d=0;d<this.B.length;d++)b=Math.max(b,this.B[d]
());b=Math.min(b,1E3);let c="i-dismiss";6===a?c="r-dismiss-before-reward":7===
a&&(c="r-dismiss-after-reward");0===b?wb(this,c):m.setTimeout(()=>wb(this,c),b)}G()
{super.G();yb(this)}s()
{super.s();this.I=90===Da(this.g);this.D=0===this.g.innerWidth&&0===this.g.innerHei
ght;this.l.setAttribute("aria-label",D(this.i,7,""));zb(this);bb(W,772,
()=>Ab(this));tb(this);document.getElementById("ad_iframe").contentWindow.postMessa
ge(JSON.stringify({type:"rewarded",message:"visible"}),"*");for(let
a=0;a<this.H.length;a++)this.H[a]();Db(this);Ca();Eb(this)}}
var Cb=["dismiss-button","creative"],Fb=["dismiss-button","creative-
content"];za=24;const Hb=Ba(24,document.currentScript);if(null==Hb)throw Error("JSC
not found 24");const Ib={},Jb=Hb.attributes;for(let a=Jb.length-1;0<=a;a--){const
b=Jb[a].name;0===b.indexOf("data-jcp-")&&(Ib[b.substring(9)]=Jb[a].value)}
(function(a){const b=pa(a.config);a=X(258,()=>{{var
c=document.getElementById("ad_iframe").contentWindow;var d=F.document;const
f=c.document,g=D(b,5,0);var e=0===g||2===g?
f.getElementById(D(b,6,"")):d.getElementById(D(b,6,""));d=0===g?
f.getElementById(D(b,8,"")):d.getElementById(D(b,8,""));let h;try{h=!!
F.localStorage}catch(l){}e?(h||pb(e,h,b),c=new Gb(c,e,d,b),c.F()):
(pb(e,h,b),Y(F,"i_iif"),c=null)}window.interstitialAdFrame=c;e=window;e.google_llp|
|(e.google_llp={});e=e.google_llp;e[9]||(e[9]=new mb);
e[9].resolve(c);return c});if(0===D(b,5,0)||2===D(b,5,0)||E(b,16)){const
c=document.getElementById("ad_iframe");null!=c.contentDocument?
ua(c.contentDocument,a):document.getElementById("ad_iframe").addEventListener("load
",a)}else a()})(Ib);}).call(this);

You might also like