0% found this document useful (0 votes)
3 views

f(1)

The document contains JavaScript code that defines various functions and classes for handling symbols, data types, and error management. It includes methods for manipulating objects, handling asynchronous operations, and managing performance metrics. Additionally, it features error handling and logging mechanisms, as well as utility functions for working with URLs and DOM elements.

Uploaded by

nikki.mel068
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)
3 views

f(1)

The document contains JavaScript code that defines various functions and classes for handling symbols, data types, and error management. It includes methods for manipulating objects, handling asynchronous operations, and managing performance metrics. Additionally, it features error handling and logging mechanisms, as well as utility functions for working with URLs and DOM elements.

Uploaded by

nikki.mel068
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(){'use strict';var aa=Object.

defineProperty,ba=globalThis;function
ca(a,b){if(b)a:{var c=ba;a=a.split(".");for(var d=0;d<a.length-1;d++){var
e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!
=null&&aa(c,a,{configurable:!0,writable:!
0,value:b})}}ca("Symbol.dispose",function(a){return a?
a:Symbol("Symbol.dispose")});/*

Copyright The Closure Library Authors.


SPDX-License-Identifier: Apache-2.0
*/
var p=this||self;function da(a,b,c){return a.call.apply(a.bind,arguments)}function
q(a,b,c){q=da;return q.apply(null,arguments)};function ea(a)
{p.setTimeout(()=>{throw a;},0)};a:for(var
fa=["CLOSURE_FLAGS"],ha=p,ia=0;ia<fa.length;ia++)if(ha=ha[fa[ia]],ha==null)break
a;function ja(a){ja[" "](a);return a}ja[" "]=function(){};let ka=void 0;function
la(a,b=!1){return b&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol()}var
ma=la(),na=la("m_m",!0);const r=la("jas",!0);var oa={};function pa(a){return a!
==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object};function
qa(a){a.X=!0;return a};var ra=qa(a=>typeof a==="number"),ua=qa(a=>typeof
a==="string");function t(a){if(ua(a)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(a))throw
Error(String(a));}else if(ra(a)&&!Number.isSafeInteger(a))throw
Error(String(a));return BigInt(a)}var u=qa(a=>a>=va&&a<=wa);const
va=BigInt(Number.MIN_SAFE_INTEGER),wa=BigInt(Number.MAX_SAFE_INTEGER);let
v=0,z=0;function xa(a){const b=a>>>0;v=b;z=(a-b)/4294967296>>>0}function ya(a)
{if(a<0){xa(-a);a=v;var b=z;b=~b;a?a=~a+1:b+=1;const
[c,d]=[a,b];v=c>>>0;z=d>>>0}else xa(a)}function za(a,b){b>>>=0;a>>>=0;var
c;b<=2097151?c=""+(4294967296*b+a):c=""+(BigInt(b)<<BigInt(32)|BigInt(a));return
c}function Aa(){var a=v,b=z,c;b&2147483648?c=""+(BigInt(b|0)<<BigInt(32)|
BigInt(a>>>0)):c=za(a,b);return c};const Ba=typeof BigInt==="function"?
BigInt.asIntN:void
0,C=Number.isSafeInteger,Ca=Number.isFinite,E=Math.trunc;function Da(a)
{if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-
Infinity")return Number(a)}const Ea=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function Fa(a)
{switch(typeof a){case "bigint":return!0;case "number":return Ca(a);case
"string":return Ea.test(a);default:return!1}}
function F(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!
=="number")return;return Ca(a)?a|0:void 0}function Ga(a){const b=a.length;return
a[0]==="-"?b<20?!0:b===20&&Number(a.substring(0,7))>-922337:b<19?!
0:b===19&&Number(a.substring(0,6))<922337}function Ha(a){a=E(a);if(!C(a)){ya(a);var
b=v,c=z;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);const
d=c*4294967296+(b>>>0);b=Number.isSafeInteger(d)?d:za(b,c);a=typeof b==="number"?
a?-b:b:a?"-"+b:b}return a}
function Ia(a){if(a==null)return a;if(typeof a==="bigint")return u(a)?a=Number(a):
(a=Ba(64,a),a=u(a)?Number(a):String(a)),a;if(Fa(a)){if(typeof a==="number")return
Ha(a);var b=E(Number(a));C(b)?a=String(b):(b=a.indexOf("."),b!==-
1&&(a=a.substring(0,b)),Ga(a)||(a.length<16?ya(Number(a)):
(a=BigInt(a),v=Number(a&BigInt(4294967295))>>>0,z=Number(a>>BigInt(32)&BigInt(42949
67295))),a=Aa()));return a}}
function Ja(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return
t(Ba(64,a));if(Fa(a))return b==="string"?(b=E(Number(a)),C(b)?a=t(b):
(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=t(Ba(64,BigInt(a))))):C(a)?
a=t(Ha(a)):(a=E(a),C(a)?a=String(a):(b=String(a),Ga(b)?a=b:
(ya(a),a=Aa())),a=t(a)),a};function Ka(a){return a};function La(a,b,c){var
d=Ma;c=c?!!(b&32):void 0;const e=[];var f=a.length;let g,h,l,m=!1;b&64?(b&256?
(f--,g=a[f],h=f):(h=4294967295,g=void 0),b&512||(m=!0,l=(Na??Ka)(g?h- -
1:b>>16&1023||536870912,-1,a,g),h=l+-1)):(h=4294967295,b&1||(g=f&&a[f-1],pa(g)?
(f--,h=f,l=0):g=void 0));b=void 0;for(let k=0;k<f;k++){let n=a[k];n!
=null&&(n=d(n,c))!=null&&(k>=h?(b??(b={}))[k- -1]=n:e[k]=n)}if(g)for(let k in
g)a=g[k],a!=null&&(a=d(a,c))!=null&&(f=+k,f<l?e[f+-1]=a:(b??(b={}))[k]=a);b&&(m?
e.push(b):e[h]=b);return e}
function Ma(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case
"bigint":return u(a)?Number(a):""+a;case "boolean":return a?1:0;case
"object":if(Array.isArray(a)){const b=a[r]|0;return a.length===0&&b&1?void
0:La(a,b,!1)}if(a[na]===oa)return Oa(a);return}return a}let Na;function Oa(a)
{a=a.g;return La(a,a[r]|0)};function Pa(){if(ma!=null){var a=ka??(ka={});var
b=a[ma]||0;b>=5||(a[ma]=b+1,a=Error(),a.__closure__error__context__984382||
(a.__closure__error__context__984382={}),a.__closure__error__context__984382.severi
ty="incident",ea(a))}};const Qa=t(0);function G(a,b,c){if(b===-1)return null;const
d=b+-1,e=a.length-1;let f,g;if(d>=e&&(a[r]|0)&256)f=a[e][b],g=!0;else
if(d<=e)f=a[d];else return;if(c&&f!=null){c=c(f);if(c==null)return c;if(c!
==f)return g?a[e][b]=c:a[d]=c,c}return f}function H(a,b)
{a=G(a.g,b);return(a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void
0)??!1}function I(a,b){a=G(a.g,b);return(a==null||typeof a==="string"?a:void
0)??""};var Ra=class{constructor(a){a:{if(a==null){var b=96;a=[]}else{if(!
Array.isArray(a))throw Error("narr");b=a[r]|0;8192&b||!(64&b)||2&b||
Pa();if(b&1024)throw Error("farr");if(b&64){b&16384||(a[r]=b|16384);var c=a;break
a}var d=a;b|=64;var e=d.length;if(e){var f=e-1;e=d[f];if(pa(e)){b|=256;const
g=b&512?0:-1;f-=g;if(f>=1024)throw Error("pvtlmt");for(c in e){const
h=+c;if(h<f)d[h+g]=e[c],delete e[c];else break}b=b&-67043329|(f&1023)<<16}}}a[r]=b|
16384;c=a}this.g=c}toJSON(){var a=Oa(this);return a}};
Ra.prototype[na]=oa;Ra.prototype.toString=function(){return this.g.toString()};var
Sa=function(a){return b=>{if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!
Array.isArray(b))throw Error("dnarr");b[r]|=32;b=new a(b)}return b}}(class extends
Ra{});function Ta(a=window){return a};function J(a,b,c)
{a.addEventListener&&a.addEventListener(b,c,!1)}function K(a,b,c)
{a.removeEventListener&&a.removeEventListener(b,c,!1)};var Ya=RegExp("^(?:([^:/?#.]
+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?
(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Za(a,b){if(a)for(const c in
a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}let L=[];const
$a=()=>{const a=L;L=[];for(const b of a)try{b()}catch{}};var
ab=(a,b)=>{a.readyState==="complete"||a.readyState==="interactive"?
(L.push(b),L.length==1&&(window.Promise?
Promise.resolve().then($a):window.setImmediate?
setImmediate($a):setTimeout($a,0))):a.addEventListener("DOMContentLoaded",b)};funct
ion bb(a=document){return a.createElement("img")};function cb(a,b,c=null,d=!1)
{db(a,b,c,d)}function db(a,b,c,d){a.google_image_requests||
(a.google_image_requests=[]);const e=bb(a.document);if(c||d){const
f=g=>{c&&c(g);if(d){g=a.google_image_requests;const
h=Array.prototype.indexOf.call(g,e,void
0);h>=0&&Array.prototype.splice.call(g,h,1)}K(e,"load",f);K(e,"error",f)};J(e,"load
",f);J(e,"error",f)}e.src=b;a.google_image_requests.push(e)}
function eb(a,b){var
c;if(c=a.navigator)c=a.navigator.userAgent,c=/Chrome/.test(c)&&!/Edge/.test(c)?!0:!
1;c&&typeof a.navigator.sendBeacon==="function"?
a.navigator.sendBeacon(b):cb(a,b,void 0,!1)};let fb=0;function gb(a)
{return(a=hb(a,document.currentScript))&&a.getAttribute("data-jc-
version")||"unknown"}function hb(a,b=null){return b&&b.getAttribute("data-
jc")===String(a)?b:document.querySelector(`[${"data-jc"}="${a}"]`)};var
ib=window;function jb(a){const b=a.nodeType==9?a:a.ownerDocument||a.document;return
b.defaultView&&b.defaultView.getComputedStyle&&(a=b.defaultView.getComputedStyle(a,
null))?a["float"]||a.getPropertyValue("float")||"":""};var
kb=class{constructor(a,b)
{this.error=a;this.meta={};this.context=b.context;this.msg=b.message||"";this.id=b.
id||"jserror"}};function lb(a){let b=a.toString();a.name&&b.indexOf(a.name)==-
1&&(b+=": "+a.name);a.message&&b.indexOf(a.message)==-1&&(b+=":
"+a.message);if(a.stack)a:{a=a.stack;var c=b;try{a.indexOf(c)==-1&&(a=c+"\n"+a);let
d;for(;a!=d;)d=a,a=a.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\n)*)\\
2"),"$1");b=a.replace(RegExp("\n *","g"),"\n");break a}catch(d){b=c;break a}b=void
0}return b};const mb=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)
(\\?|/|$)");var nb=class{constructor(a,b)
{this.g=a;this.i=b}},ob=class{constructor(a,b){this.url=a;this.g=!!
b;this.depth=null}};let M=null;function N(){const a=p.performance;return
a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()}function
pb(){const a=p.performance;return a&&a.now?a.now():null};var
qb=class{constructor(a,b){var c=pb()||
N();this.label=a;this.type=b;this.value=c;this.duration=0;this.taskId=this.slotId=v
oid 0;this.uniqueId=Math.random()}};const O=p.performance,rb=!!
(O&&O.mark&&O.measure&&O.clearMarks),Q=function(a){let b=!1,c;return function(){b||
(c=a(),b=!0);return c}}(()=>{var a;if(a=rb){var b;a=window;if(M===null)
{M="";try{let c="";try{c=a.top.location.hash}catch(d)
{c=a.location.hash}c&&(M=(b=c.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c)
{}}b=M;a=!!b.indexOf&&b.indexOf("1337")>=0}return a});function sb(a)
{a&&O&&Q()&&(O.clearMarks(`goog_${a.label}_$
{a.uniqueId}_start`),O.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))};function
R(a,b){const c={};c[a]=b;return[c]}function tb(a,b,c,d,e){const f=[];Za(a,
(g,h)=>{(g=ub(g,b,c,d,e))&&f.push(`${h}=${g}`)});return f.join(b)}
function ub(a,b,c,d,e){if(a==null)return"";b=b||"&";c=c||",$";typeof
c==="string"&&(c=c.split(""));if(a instanceof Array){if(d||(d=0),d<c.length){const
f=[];for(let g=0;g<a.length;g++)f.push(ub(a[g],b,c,d+1,e));return
f.join(c[d])}}else if(typeof a==="object")return e||(e=0),e<2?
encodeURIComponent(tb(a,b,c,d,e+1)):"...";return
encodeURIComponent(String(a))}function vb(a){let b=1;for(const c in
a.i)c.length>b&&(b=c.length);return 3997-b-a.j.length-1}
function wb(a,b){let c="https://pagead2.googlesyndication.com"+b,d=vb(a)-
b.length;if(d<0)return"";a.g.sort((f,g)=>f-g);b=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)
{b=b==null?g:b;break}let m=tb(h[l],a.j,",$");if(m){m=e+m;if(d>=m.length){d-
=m.length;c+=m;e=a.j;break}b=b==null?g:b}}}a="";b!=null&&(a=`${e}${"trn"}=$
{b}`);return c+a}var xb=class{constructor()
{this.j="&";this.i={};this.l=0;this.g=[]}};function yb(a,b,c){let
d,e;try{a.i&&a.i.g?(e=a.i.start(b.toString(),3),d=c(),a.i.end(e)):d=c()}catch(f)
{c=!0;try{sb(e),c=a.l(b,new kb(f,{message:lb(f)}),void 0,void 0)}catch(g)
{a.C(217,g)}if(c)window.console?.error?.(f);else throw f;}return d}function zb(a,b)
{var c=S;return(...d)=>yb(c,a,()=>b.apply(void 0,d))}function Ab(a){var
b=S;a.catch(c=>{c=c?c:"unknown rejection";b.C(967,c instanceof Error?
c:Error(c),void 0,b.g||void 0)})}
var Bb=class{constructor(a=null){this.pinger=T;this.i=a;this.g=null;this.j=!
1;this.l=this.C}C(a,b,c,d,e){e=e||"jserror";let f=void 0;try{const A=new xb;var
g=A;g.g.push(1);g.i[1]=R("context",a);b.error&&b.meta&&b.id||(b=new kb(b,
{message:lb(b)}));g=b;if(g.msg){b=A;var
h=g.msg.substring(0,512);b.g.push(2);b.i[2]=R("msg",h)}var l=g.meta||
{};h=l;if(this.g)try{this.g(h)}catch(x){}if(d)try{d(h)}catch(x)
{}d=A;l=[l];d.g.push(3);d.i[3]=l;var m;if(!(m=y)){h=p;l=[];let x;b=null;do{var
k=h;a:{d=void 0;try{if(d=
!!k&&k.location.href!=null)b:{try{ja(k.foo);d=!0;break b}catch(w){}d=!1}var
n=d;break a}catch{n=!1;break a}n=void 0}n?
(x=k.location.href,b=k.document&&k.document.referrer||null):(x=b,b=null);l.push(new
ob(x||""));try{h=k.parent}catch(w){h=null}}while(h&&k!==h);for(let w=0,Ua=l.length-
1;w<=Ua;++w)l[w].depth=Ua-
w;k=p;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length=
==l.length-1)for(n=1;n<l.length;++n){const w=l[n];w.url||
(w.url=k.location.ancestorOrigins[n-1]||"",w.g=!0)}m=
l}var y=m;let Y=new ob(p.location.href,!1);m=null;const sa=y.length-
1;for(k=sa;k>=0;--k){var B=y[k];!m&&mb.test(B.url)&&(m=B);if(B.url&&!B.g)
{Y=B;break}}B=null;const Ub=y.length&&y[sa].url;Y.depth!==0&&Ub&&(B=y[sa]);f=new
nb(Y,B);if(f.i){y=A;var D=f.i.url||"";y.g.push(4);y.i[4]=R("top",D)}var
ta={url:f.g.url||""};if(f.g.url){const x=f.g.url.match(Ya);var
P=x[1],Va=x[3],Wa=x[4];D="";P&&(D+=P+":");Va&&(D+="//",D+=Va,Wa&&(D+=":"+Wa));var
Xa=D}else Xa="";P=A;ta=[ta,{url:Xa}];P.g.push(5);P.i[5]=ta;U(this.pinger,
e,A,this.j,c)}catch(A){try{U(this.pinger,e,
{context:"ecmserr",rctx:a,msg:lb(A),url:f?.g.url??""},this.j,c)}catch(Y){}}return!
0}};class Cb{};function U(a,b,c,d=!1,e,f){if((d?a.g:Math.random())<(e||.01))try{let
g;c instanceof xb?g=c:(g=new xb,Za(c,(l,m)=>{var k=g;const n=k.l+
+;l=R(m,l);k.g.push(n);k.i[n]=l}));const h=wb(g,"/pagead/gen_204?
id="+b+"&");h&&(typeof f!=="undefined"?cb(p,h,f):a.i?eb(p,h):cb(p,h))}catch(g)
{}}function Db(){var a=T,b=window.google_srt;b>=0&&b<=1&&(a.g=b)}var
Eb=class{constructor(a=!1){this.i=a;this.g=Math.random()}};let T,S;
const V=new class{constructor(a,b){this.i=[];this.j=b||p;let
c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||
[],this.i=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.g=Q()||(c!
=null?c:Math.random()<a)}start(a,b){if(!this.g)return null;a=new qb(a,b);b=`goog_$
{a.label}_${a.uniqueId}_start`;O&&Q()&&O.mark(b);return a}end(a){if(this.g&&typeof
a.value==="number"){a.duration=(pb()||N())-a.value;var b=`goog_${a.label}_$
{a.uniqueId}_end`;O&&Q()&&O.mark(b);!this.g||this.i.length>
2048||this.i.push(a)}}}(1,window);function Fb(){window.google_measure_js_timing||
(V.g=!1,V.i!
==V.j.google_js_reporting_queue&&(Q()&&Array.prototype.forEach.call(V.i,sb,void
0),V.i.length=0))}(function(a){T=a??new Eb;typeof window.google_srt!
=="number"&&(window.google_srt=Math.random());Db();S=new Bb(V);S.g=b=>{const
c=fb;c!==0&&(b.jc=String(c),b.shv=gb(c))};S.j=!
0;window.document.readyState==="complete"?Fb():V.g&&J(window,"load",()=>{Fb()})})
();function W(a,b){return zb(a,b)}
function Gb(a,b,c){var d=Cb;var e="V";d.V&&d.hasOwnProperty(e)||(e=new
d,d.V=e);d=[];!b.eid&&d.length&&(b.eid=d.toString());U(T,a,b,!0,c,void 0)};class
Hb{constructor(){this.promise=new
Promise((a,b)=>{this.resolve=a;this.reject=b})}};function Ib(a,b){b.google_llp||
(b.google_llp={});b=b.google_llp;let c=b[a];if(c)return c;const
{promise:d,resolve:e}=new Hb;c={promise:d,resolve:e};return b[a]=c};async function
Jb(){return Ib(10,p).promise};function Kb(a){return u(a)?
Number(a):String(a)};function Lb(){this.i=this.i;this.g=this.g}Lb.prototype.i=!
1;Lb.prototype.dispose=function(){if(!this.i&&(this.i=!
0,this.g))for(;this.g.length;)this.g.shift()
()};Lb.prototype[Symbol.dispose]=function(){this.dispose()};function Mb(a,b){a.i?
b():(a.g||(a.g=[]),a.g.push(b))};var Nb=class extends Lb{constructor(a)
{super();this.j=a;Mb(this,()=>{this.j.close()})}l()
{this.j.postMessage([])}};function X(a,b,c={})
{c.msg_type=b;c.googMsgType="sth";b=JSON.stringify(c);a.parent.postMessage(b,"*")}f
unction Ob(a){if(a.F||H(a.config,2))return!0;let b=!0;const
c=Pb(a);c&&(b=c>=36E5);if(b)try{a.g.localStorage.removeItem("LAST_INTERSTITIAL_TIME
")}catch(d){}return b}
function Z(a,b,c)
{I(a.config,3)&&(b.qid=I(a.config,3));I(a.config,10)&&(b.eid=I(a.config,10));b.rtyp
e=F(G(a.config.g,12))??0;b.req=a.g.location.href;if(H(a.config,28)){var d=U;a.J||
(a.J=new Eb(!0));d(a.J,a.G(),b,!0,c??.01)}else Gb(a.G(),b,c)}function Pb(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}
function Qb(a){if(!H(a.config,27)){var b=Kb(Ja(G(a.config.g,26))??
Qa),c=()=>{for(const d of
a.j.document.getElementsByClassName("GoogleActiveViewElement"))d.removeAttribute("d
ata-google-av-dm")};b>0?setTimeout(()=>c(),b):c();Z(a,{isfsapi:!!a.i,avp:N()-
a.W},.01)}}
var Rb=class{constructor(a,b,c,d){this.g=a;this.j=b;this.v=!
1;this.B=null;this.m=0;this.config=c;this.W=N();this.J=null;H(c,29)?
(a=a.parent,b=new
MessageChannel,a.postMessage(JSON.stringify({googMsgType:"sth",msg_type:"i-hai-
aux"}),"*",[b.port2]),a=new Nb(b.port1)):a=null;this.P=a;this.F=H(this.config,11)||
(F(G(this.config.g,12))??0)===10||(F(G(this.config.g,12))??
0)===11;this.i=d;d?.enableCustomCloseButton()}G(){}init(){if(this.v=Ob(this))
{if(this.listen(),I(this.config,1)){var a=this.g,b=I(this.config,
1);a.parent.postMessage(b,"*")}}else this.i?.notifyError("freq_cap")}A(){if(!
this.m){this.B&&K(this.g,"storage",this.B);var a=this.m=Date.now();if(!
H(this.config,2)&&!
this.F)try{this.g.localStorage.setItem("LAST_INTERSTITIAL_TIME",""+a)}catch(b)
{}this.U();this.j&&(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))}}H(){}listen(){let a=!1;if(this.i){const
b=this.i.waitForOnShow().then(()=>
{this.A();Qb(this)});Ab(b);this.i.listenToBackButton(()=>{this.H()})}else
this.g.IntersectionObserver&&(G(this.config.g,13,Da)??0)>.01&&(a=!0,(new
this.g.IntersectionObserver((b,c)=>{b.forEach(d=>{d.intersectionRatio<=0||
(this.A(),Qb(this),c.disconnect())})},{threshold:G(this.config.g,13,Da)??
0})).observe(this.g.document.documentElement));J(this.g,"message",W(262,b=>{a:{var
c=a;if(b&&(this.g.parent==b.source||this.g.parent.parent==b.source)){var
d={};try{d=this.g.JSON.parse(b.data)}catch(e){b=void 0;
break a}switch(d?.msg_type){case "i-view":this.v&&!c&&this.A();Z(this,
{type:"viewmsg",has_iobs:!!this.g.IntersectionObserver});break;case "r-back-
button":this.i==null&&this.H()}}b=void 0}return b}));this.F||(this.B=W(263,
()=>{this.v=Ob(this);if(!this.v){var b={i_tslv:Pb(this)};X(this.g,"i-
no",b)}}),J(this.g,"storage",this.B));this.i||X(this.g,"i-adframe-load")}U(a){let
b;try{const c=Ta(this.j);c.vv?c.vv():b=!0}catch(c){S.C(533,c,void 0,void
0);return}a=a||1;b?(Z(this,{vf:a}),a>=3||this.g.setTimeout(q(Rb.prototype.U,
this,a+1),3E3)):a>1&&Z(this,{vs:a})}};function Sb(a)
{window.parent.postMessage(JSON.stringify({type:"rewarded",message:a}),"*")};functi
on Tb(a){return a.innerHeight>=a.innerWidth?1:2};function Vb(a){a=a.document;let
b={};a&&(b=a.compatMode=="CSS1Compat"?a.documentElement:a.body);return b||
{}};function Wb(a,b,c){a={context:"iaf::itf",req:ib.location.href,db:a?1:0,ls:b?
1:0,eid:I(c,10),qid:I(c,3),rtype:F(G(c.g,12))??0};Gb("jserror",a)}function Xb(a,b)
{Yb(a,b)&&(a.l.style.background="rgba(192,192,192, .3)",p.setTimeout(()=>{a.l.style
.background="transparent";a.dismiss(2)},750))}function Zb(a,b)
{b.some(c=>c.type==="intervention"&&c.body?.id==="HeavyAdIntervention")&&(Z(a,
{hai:"1"},1),a.P?.l(),a.m?a.dismiss(8):a.i?
a.i.notifyError("heavy_ads"):X(a.g,"i_iif"))}
function $b(a){const b=W(259,q(function(){X(this.g,"i-
blur");K(this.g,"blur",b)},a));J(a.g,"blur",b)}function ac(a){a.u||a.m===0||
(a.l.setAttribute("aria-
label",I(a.config,7)),a.l.setAttribute("role","button"),a.l.setAttribute("tabindex"
,"0"),a.l.focus())}function bc(a,b){H(a.config,15)?
(Sb("canceled"),Sb("closed")):a.i?a.i.closeAd():X(a.g,b)}
function cc(a,b){const
c=a.g.document.getElementById("creative");if(a.g.goog_vignette_survey){var
d=1;H(a.config,33)&&(d=H(a.config,34),d=jb(a.K)==="right"?d?1:2:d?
2:1);a.g.goog_vignette_survey.display(c,()=>{a.dismiss(3)},
()=>{},d);b&&b.stopPropagation()}}function dc(a){a.u===!
1&&a.enableDismissListeners();a.K&&J(a.K,"click",W(261,c=>cc(a,c)));const
b=a.g.document.getElementById("card");b&&b.addEventListener("click",W(909,c=>{c?.st
opPropagation()}))}
function ec(a){J(a.g,"resize",()=>{const b=Tb(a.g);a.I?(a.I=!1,a.M=b===2):(a.M?
b===1:b===2)&&a.dismiss(4)})}function fc(a)
{a.g.addEventListener("message",b=>{if(b.source===a.j)try{const
c=JSON.parse(b.data);c.type==="rewarded"&&c.message==="closed"&&a.dismiss((F(G(a.co
nfig.g,12))??0)===11?6:1)}catch(c){}})}
function Yb(a,b){if(!b)return!0;if((b.preventDefault?
b.defaultPrevented:b.returnValue===!1)||
b.target&&b.target.ownerDocument==a.j.document)return!1;for(a=b.target;a;)
{if(a.id=="creative"||a.id=="dismiss-button-protector"||a.id=="card-outer-
container")return!1;a=a.parentElement}return!0}
var gc=class extends Rb{constructor(a,b,c,d,e,f)
{super(a,b,e,f);this.l=c;this.K=d;this.N=0;this.T=W(260,g=>{this.dismiss(1);g&&g.st
opPropagation()});this.R=g=>Xb(this,g);this.L=[];this.D=[];this.u=!
1;this.O=()=>{};this.I=this.M=!
1;this.o=null;H(e,31)&&this.addDismissListener(g=>{g===1||g===6||g===7?
(this.j.postMessage(JSON.stringify({type:"rewarded",message:"closed"}),"*"),g=!
0):g=!1;return g?Ia(G(e.g,32))??0:0})}init()
{super.init();if(this.o=this.g.ReportingObserver?new this.g.ReportingObserver((a,
b)=>{Zb(this,a)&&b.disconnect()},{buffered:!
0}):null)this.P&&this.o.observe(),J(this.g,"pagehide",
()=>{Zb(this,this.o.takeRecords());this.o.disconnect()})}G(){return"ia_evt"}H()
{this.u?this.O():this.dismiss(9)}addViewListener(a){a=zb(483,a);this.m?
a():this.L.push(a)}addDismissListener(a)
{this.D.push(zb(484,a))}disableDismissListeners(a){this.u=!
0;this.O=a;K(this.l,"click",this.T);K(this.g.document,"click",this.R)}enableDismiss
Listeners(){this.u=!1;J(this.l,"click",this.T);H(this.config,30)||
J(this.g.document,
"click",this.R);ac(this)}dismiss(a){document.body.setAttribute("aria-
hidden","true");Z(this,{ttd:Date.now()-
this.m,req:ib.location.href,pda:this.N,ds:a,idrw:H(this.config,15)?1:0});this.N++||
$b(this);let b=0;for(let d=0;d<this.D.length;d++)b=Math.max(b,this.D[d]
(a));b=Math.min(b,1E3);let c="i-dismiss";a===6?c="r-dismiss-before-
reward":a===7&&(c="r-dismiss-after-reward");b===0?
bc(this,c):p.setTimeout(()=>{bc(this,c)},b)}listen(){super.listen();dc(this)}A()
{super.A();this.M=Tb(this.g)===2;this.I=this.g.innerWidth===
0&&this.g.innerHeight===0;ec(this);ac(this);var
a=this.l.getBoundingClientRect(),b=a.bottom,c=a.right;var
d=Vb(this.g).clientHeight;var e=Vb(this.g).clientWidth??void 0;const
f=Math.floor(b-d),g=Math.floor(c-e);if(f>=0||g>5)b-=a.top,c-
=a.left,a=this.g,Z(this,{dhb:f>=b?1:0,dhr:g>=c?
1:0,h:d,w:e,bh:b,bw:c,opb:f,opr:g,pt:a.innerHeight>=a.innerWidth?
1:0,req:this.g.location.href});this.j.postMessage(JSON.stringify({type:"rewarded",m
essage:"visible"}),"*");for(d=0;d<this.L.length;d++)this.L[d]();fc(this);
Math.random()>.01||(d=hb(24,document.currentScript),d=`https://$
{d&&d.getAttribute("data-jc-rcd")==="true"?"pagead2.googlesyndication-
cn.com":"pagead2.googlesyndication.com"}/pagead/gen_204?id=jca&jc=${24}&version=$
{gb(24)}&sample=${.01}`,eb(window,d));d=this.g.navigator?
this.g.navigator.standalone===!0:!1;e=window.matchMedia("(display-mode:
standalone)").matches;Z(this,{wapp:d||e})}notifyRewardGranted()
{this.j.postMessage(JSON.stringify({type:"rewarded",message:"granted"}),"*")}};fb=2
4;const hc=hb(24,document.currentScript);if(hc==null)throw Error("JSC not found
24");const ic={},jc=hc.attributes;for(let a=jc.length-1;a>=0;a--){const
b=jc[a].name;b.indexOf("data-jcp-")===0&&(ic[b.substring(9)]=jc[a].value)}
(async function(a){var b=window;const c=Sa(a.config),d=W(258,async()=>{var
e=null;H(c,25)&&(e=await Jb());{var
f=b.document.getElementById("ad_iframe").contentWindow;var g=b.document;const
l=f.document;var h=G(c.g,5);const m=(h==null?h:Ca(h)?h|0:void 0)??0;h=m===0||m===2?
l.getElementById(I(c,6)):g.getElementById(I(c,6));g=m===0?
l.getElementById(I(c,8)):g.getElementById(I(c,8));let k;try{k=!!
b.localStorage}catch(n){}h?(k||Wb(h,k,c),f=new gc(b,f,h,g,c,e),f.init()):
(Wb(h,k,c),e?e.notifyError("no_dismiss_button"):
X(b,"i_iif"),f=null)}b.interstitialAdFrame=f;Ib(9,b).resolve(f)});a=b.document.getE
lementById("ad_iframe");a.contentDocument!=null&&ab(a.contentDocument,()=>void
d())})(ic);}).call(this);

You might also like