Professional Documents
Culture Documents
F
F
SPDX-License-Identifier: Apache-2.0
*/
function P(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function Q(a,b,c)
{a.removeEventListener&&a.removeEventListener(b,c,!1)};var Ya=RegExp("^(?:([^:/?#.]
+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?
(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Za(a,b){if(a)for(var c in
a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}var R=[];function $a(){var
a=R;R=[];a=w(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;try{b()}catch(c)
{}}}function eb(a,b){"complete"===a.readyState||"interactive"===a.readyState?
(R.push(b),1==R.length&&(window.Promise?
Promise.resolve().then($a):window.setImmediate?
setImmediate($a):setTimeout($a,0))):a.addEventListener("DOMContentLoaded",b)}
function fb(a){a=void 0===a?document:a;return a.createElement("img")};function
gb(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var
d=fb(a.document);if(c){var g=function(){if(c){var
h=a.google_image_requests,e=za(h,d);0<=e&&Array.prototype.splice.call(h,e,1)}Q(d,"l
oad",g);Q(d,"error",g)};P(d,"load",g);P(d,"error",g)}d.src=b;a.google_image_request
s.push(d)};var hb=0;function ib(a){return(a=jb(a))&&a.getAttribute("data-jc-
version")||"unknown"}function jb(a){var b=document.currentScript;return(b=void
0===b?null:b)&&b.getAttribute("data-jc")===String(a)?
b:document.querySelector('[data-jc="'+a+'"]')};function kb(a,b){var c=void 0===c?
{}:c;this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jser
ror";this.meta=c};var lb=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)
(\\?|/|$)");function mb(a,b){this.g=a;this.i=b}function nb(a,b)
{this.url=a;this.Y=!!b;this.depth=null};function ob()
{this.j="&";this.i={};this.l=0;this.g=[]}function S(a,b){var
c={};c[a]=b;return[c]}function pb(a,b,c,d,g){var h=[];Za(a,function(e,f)
{(e=qb(e,b,c,d,g))&&h.push(f+"="+e)});return h.join(b)}
function qb(a,b,c,d,g){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){for(var
h=[],e=0;e<a.length;e++)h.push(qb(a[e],b,c,d+1,g));return h.join(c[d])}}else
if("object"==typeof a)return g=g||0,2>g?
encodeURIComponent(pb(a,b,c,d,g+1)):"...";return encodeURIComponent(String(a))}
function rb(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;var d=sb(a)-
c.length;if(0>d)return"";a.g.sort(function(m,t){return m-t});c=null;for(var
g="",h=0;h<a.g.length;h++)for(var e=a.g[h],f=a.i[e],k=0;k<f.length;k++){if(!d)
{c=null==c?e:c;break}var l=pb(f[k],a.j,",$");if(l){l=g+l;if(d>=l.length){d-
=l.length;b+=l;g=a.j;break}c=null==c?e:c}}a="";null!=c&&(a=g+"trn="+c);return
b+a}function sb(a){var b=1,c;for(c in a.i)b=c.length>b?c.length:b;return 3997-b-
a.j.length-1};function tb(){var a=void 0===a?
O:a;this.i="http:"===a.location.protocol?"http:":"https:";this.g=Math.random()}func
tion ub(){var a=vb,b=window.google_srt;0<=b&&1>=b&&(a.g=b)}function wb(a,b,c,d,g)
{if(((void 0===d?0:d)?a.g:Math.random())<(g||.01))try{if(c instanceof ob)var
h=c;else h=new ob,Za(c,function(f,k){var l=h,m=l.l+
+;f=S(k,f);l.g.push(m);l.i[m]=f});var e=rb(h,a.i,"/pagead/gen_204?
id="+b+"&");e&&gb(y,e,!1)}catch(f){}};var xb=null;function yb(){var a=void 0===a?
y:a;return(a=a.performance)&&a.now&&a.timing?Math.floor(a.now()
+a.timing.navigationStart):Date.now()}function zb(){var a=void 0===a?
y:a;return(a=a.performance)&&a.now?a.now():null};function Ab(a,b){var c=zb()||
yb();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.rando
m();this.taskId=this.slotId=void 0};var T=y.performance,Bb=!!
(T&&T.mark&&T.measure&&T.clearMarks),U=function(a){var b=!1,c;return function(){b||
(c=a(),b=!0);return c}}(function(){var a;if(a=Bb){var b;if(null===xb)
{xb="";try{a="";try{a=y.top.location.hash}catch(c)
{a=y.location.hash}a&&(xb=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c)
{}}b=xb;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
function Cb(){var a=window;this.i=[];this.j=a||y;var
b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||
[],this.i=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.g=U()||
(null!=b?b:1>Math.random())}function Db(a)
{a&&T&&U()&&(T.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),T.clearMarks("go
og_"+a.label+"_"+a.uniqueId+"_end"))}Cb.prototype.start=function(a,b){if(!
this.g)return null;a=new
Ab(a,b);b="goog_"+a.label+"_"+a.uniqueId+"_start";T&&U()&&T.mark(b);return a};
Cb.prototype.end=function(a){if(this.g&&"number"===typeof a.value)
{a.duration=(zb()||yb())-a.value;var
b="goog_"+a.label+"_"+a.uniqueId+"_end";T&&U()&&T.mark(b);!this.g||
2048<this.i.length||this.i.push(a)}};function Eb(){var
a=Fb;this.i=vb;this.J=null;this.l=this.L;this.g=void 0===a?null:a;this.j=!
1}Eb.prototype.pinger=function(){return this.i};function Gb(a,b){var
c=V;try{if(c.g&&c.g.g){var d=c.g.start(a.toString(),3);var g=b();c.g.end(d)}else
g=b()}catch(f){b=!0;try{Db(d),b=c.l(a,new kb(f,{message:Hb(f)}),void 0,void
0)}catch(k){c.L(217,k)}if(b){var h,e;null==(h=window.console)||null==(e=h.error)||
e.call(h,f)}else throw f;}return g}
function Ib(a,b){return function(){var c=va.apply(0,arguments);return
Gb(a,function(){return b.apply(void 0,c)})}}
Eb.prototype.L=function(a,b,c,d,g){g=g||"jserror";try{var h=new
ob;h.g.push(1);h.i[1]=S("context",a);b.error&&b.meta&&b.id||(b=new kb(b,
{message:Hb(b)}));if(b.msg){var
e=b.msg.substring(0,512);h.g.push(2);h.i[2]=S("msg",e)}var f=b.meta||
{};if(this.J)try{this.J(f)}catch(L){}if(d)try{d(f)}catch(L)
{}b=[f];h.g.push(3);h.i[3]=b;d=y;b=[];e=null;do{var k=d;try{var l;if(l=!!k&&null!
=k.location.href)b:{try{Ea(k.foo);l=!0;break b}catch(L){}l=!1}var m=l}catch(L){m=!
1}if(m){var t=k.location.href;e=k.document&&
k.document.referrer||null}else t=e,e=null;b.push(new
nb(t||""));try{d=k.parent}catch(L){d=null}}while(d&&k!=d);t=0;for(var n=b.length-
1;t<=n;++t)b[t].depth=n-
t;k=y;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length=
=b.length-1)for(n=1;n<b.length;++n){var p=b[n];p.url||
(p.url=k.location.ancestorOrigins[n-1]||"",p.Y=!0)}var r=new nb(y.location.href,!
1);k=null;var z=b.length-1;for(p=z;0<=p;--p){var B=b[p];!
k&&lb.test(B.url)&&(k=B);if(B.url&&!B.Y){r=B;break}}B=null;var bc=b.length&&
b[z].url;0!=r.depth&&bc&&(B=b[z]);var F=new mb(r,B);if(F.i){var
cc=F.i.url||"";h.g.push(4);h.i[4]=S("top",cc)}var Aa={url:F.g.url||""};if(F.g.url)
{var
Ba=F.g.url.match(Ya),ab=Ba[1],bb=Ba[3],cb=Ba[4];r="";ab&&(r+=ab+":");bb&&(r+="//",r
+=bb,cb&&(r+=":"+cb));var db=r}else db="";Aa=[Aa,
{url:db}];h.g.push(5);h.i[5]=Aa;wb(this.i,g,h,this.j,c)}catch(L){try{wb(this.i,g,
{context:"ecmserr",rctx:a,msg:Hb(L),url:F&&F.g.url},this.j,c)}catch(oc){}}return!
0};
function Jb(a){a.catch(function(b){b=b?b:"unknown rejection";V.L(967,b instanceof
Error?b:Error(b),void 0,V.J||void 0)})}function Hb(a){var 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;var c=b;try{-1==a.indexOf(c)&&(a=c+"\
n"+a);for(var d;a!=d;)d=a,a=a.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\
n)*)\\2"),"$1");b=a.replace(RegExp("\n *","g"),"\n")}catch(g){b=c}}return
b};function Kb(){};var vb,V,Fb=new Cb;function Lb(){if(!
window.google_measure_js_timing){var a=Fb;a.g=!1;a.i!
=a.j.google_js_reporting_queue&&(U()&&Ca(a.i,Db),a.i.length=0)}}(function(a)
{vb=null!=a?a:new tb;"number"!==typeof
window.google_srt&&(window.google_srt=Math.random());ub();V=new Eb;V.J=function(b)
{var c=hb;0!==c&&(b.jc=String(c),b.shv=ib(c))};V.j=!
0;"complete"==window.document.readyState?Lb():Fb.g&&P(window,"load",function()
{Lb()})})();function W(a,b){return Ib(a,b)}
function Mb(a,b,c){var d="X";Kb.X&&Kb.hasOwnProperty(d)||(d=new Kb,Kb.X=d);d=[];!
b.eid&&d.length&&(b.eid=d.toString());wb(vb,a,b,!0,c)};function Nb(){var
a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};function
Ob(){var a=new Nb;return{promise:a.promise,resolve:a.resolve}};function Pb(a,b){var
c=void 0===c?function(){}:c;b.google_llp||(b.google_llp={});b=b.google_llp;var
d=b[a];if(d)return d;d=Ob();b[a]=d;c();return d};function Qb(){var a=void 0===a?
y:a;return ua(function(b){return b.return(Pb(10,a).promise)})};function X(a,b,c,d)
{this.g=a;this.m=b;this.u=!1;this.B=null;this.o=0;this.i=c;this.D=J(this.i,11)||
10===K(this.i)||11===K(this.i);this.j=d;null==d||
d.enableCustomCloseButton()}q=X.prototype;q.W=function(){};q.N=function()
{if(this.u=Rb(this))this.O(),I(this.i,1)&&this.g.parent.postMessage(I(this.i,1),"*"
);else{var a;null==(a=this.j)||a.notifyError("freq_cap")}};
q.I=function(){if(!this.o)
{this.B&&Q(this.g,"storage",this.B);this.o=Date.now();if(!J(this.i,2)&&!
this.D)try{this.g.localStorage.setItem("LAST_INTERSTITIAL_TIME",""+this.o)}catch(b)
{}this.Z();if(this.m){var a=this.g.document.createEvent("Event");a.initEvent("i-
creative-view",!0,!
1);this.m.dispatchEvent(a);a=this.g.document.createEvent("Event");a.initEvent("onsh
ow",!0,!1);this.g.dispatchEvent(a)}}};
function Y(a,b,c)
{I(a.i,3)&&(b.qid=I(a.i,3));I(a.i,10)&&(b.eid=I(a.i,10));b.rtype=K(a.i);b.req=O.loc
ation.href;Mb(a.W(),b,c)}function Rb(a){if(a.D||J(a.i,2))return!0;var b=!
0,c=Sb(a);c&&(b=36E5<=c);if(b)try{a.g.localStorage.removeItem("LAST_INTERSTITIAL_TI
ME")}catch(d){}return b}function Sb(a){try{var
b=+a.g.localStorage.getItem("LAST_INTERSTITIAL_TIME"),c=Date.now();if(b&&b<c)return
c-b}catch(d){}return null}q.M=function(){};
q.O=function(){var a=this,b=!1;if(this.j){var
c=this.j.waitForOnShow().then(function(){a.I();for(var
d=w(a.m.document.getElementsByClassName("GoogleActiveViewElement")),g=d.next();!
g.done;g=d.next())g.value.removeAttribute("data-google-av-
dm")});Jb(c);this.j.listenToBackButton(function(){a.M()})}else
this.g.IntersectionObserver&&.01<H(Ua(this.i),0)&&(b=!0,(new
this.g.IntersectionObserver(function(d,g){d.forEach(function(h){if(!
(0>=h.intersectionRatio))
{a.I();h=w(a.m.document.getElementsByClassName("GoogleActiveViewElement"));
for(var e=h.next();!e.done;e=h.next())e.value.removeAttribute("data-google-av-
dm");g.disconnect()}})},
{threshold:H(Ua(this.i),0)})).observe(this.g.document.documentElement));P(this.g,"m
essage",W(262,function(d){a:{var g=b;if(d&&(a.g.parent==d.source||
a.g.parent.parent==d.source)){var h={};try{h=a.g.JSON.parse(d.data)}catch(f){d=void
0;break a}var e;switch(null==(e=h)?void 0:e.msg_type){case "i-view":a.u&&!
g&&a.I();Y(a,{type:"viewmsg",has_iobs:!!a.g.IntersectionObserver});break;case "r-
back-button":null==
a.j&&a.M()}}d=void 0}return d}));this.D||(this.B=W(263,function(){a.u=Rb(a);if(!
a.u){var d={};d=(d.i_tslv=Sb(a),d);Z(a.g,"i-
no",d)}}),P(this.g,"storage",this.B));this.j||Z(this.g,"i-adframe-
load")};q.Z=function(a){var b;try{var c=this.m;var d=c=void 0===c?window:c;d.vv?
d.vv():b=!0}catch(g){V.L(533,g,void 0,void 0);return}a=a||1;b?(Y(this,
{vf:a}),3<=a||this.g.setTimeout(A(X.prototype.Z,this,a+1),3E3)):1<a&&Y(this,
{vs:a})};
function Z(a,b,c){c=void 0===c?
{}:c;c.msg_type=b;c.googMsgType="sth";b=JSON.stringify(c);a.parent.postMessage(b,"*
")};function Tb(a){var b=void 0===b?
null:b;a={type:"rewarded",message:a};b&&(a.payload=b);window.parent.postMessage(JSO
N.stringify(a),"*")};function Ub(a){return a.innerHeight>=a.innerWidth?
1:2};function Vb(a){a=a.document;var b={};a&&(b="CSS1Compat"==a.compatMode?
a.documentElement:a.body);return b||{}};function Wb(a,b,c,d,g,h)
{X.call(this,a,b,g,h);var
e=this;this.l=c;this.V=d;this.P=0;this.U=W(260,function(f)
{e.dismiss(1);f&&f.stopPropagation()});this.T=function(f){return
Xb(e,f)};this.G=[];this.C=[];this.s=!1;this.R=function(){};this.F=this.H=!
1;this.A=null}la(Wb,X);function Yb(a,b,c){Mb("jserror",
{context:"iaf::itf",req:O.location.href,db:a?1:0,ls:b?
1:0,eid:I(c,10),qid:I(c,3),rtype:K(c)})}q=Wb.prototype;
q.N=function(){var a=this;X.prototype.N.call(this);
(this.A=this.g.ReportingObserver?new this.g.ReportingObserver(function(b,c)
{Zb(a,b)&&c.disconnect()},{buffered:!0}):null)&&P(this.g,"pagehide",function()
{Zb(a,a.A.takeRecords());a.A.disconnect()})};q.W=function()
{return"ia_evt"};q.M=function(){this.s?this.R():this.dismiss(9)};
function Zb(a,b){b.some(function(c){var
d;return"intervention"===c.type&&"HeavyAdIntervention"===(null==(d=c.body)?void
0:d.id)})&&(Y(a,{hai:"1"},1),a.o?a.dismiss(8):a.j?
a.j.notifyError("heavy_ads"):Z(a.g,"i_iif"))}function $b(a){var
b=W(259,A(function(){Z(this.g,"i-
blur");Q(this.g,"blur",b)},a));P(a.g,"blur",b)}q.addViewListener=function(a)
{a=Ib(483,a);this.o?a():this.G.push(a)};q.addDismissListener=function(a)
{this.C.push(Ib(484,a))};
q.disableDismissListeners=function(a){this.s=!
0;this.R=a;Q(this.l,"click",this.U);Q(this.g.document,"click",this.T)};q.enableDism
issListeners=function(){this.s=!
1;P(this.l,"click",this.U);P(this.g.document,"click",this.T);ac(this)};function
dc(a,b){J(a.i,15)?(Tb("canceled"),Tb("closed")):a.j?a.j.closeAd():Z(a.g,b)}
q.dismiss=function(a){var b=this;document.body.setAttribute("aria-
hidden","true");Y(this,{ttd:Date.now()-
this.o,req:O.location.href,pda:this.P,ds:a,idrw:J(this.i,15)?1:0});this.P++||
$b(this);for(var c=0,d=0;d<this.C.length;d++)c=Math.max(c,this.C[d]
());c=Math.min(c,1E3);var g="i-dismiss";6===a?g="r-dismiss-before-
reward":7===a&&(g="r-dismiss-after-reward");0===c?
dc(this,g):y.setTimeout(function(){return dc(b,g)},c)};
function ec(a,b){var
c=a.g.document.getElementById("creative");a.g.goog_vignette_survey&&(a.g.goog_vigne
tte_survey.display(c,function(){a.dismiss(3)},function()
{},1),b&&b.stopPropagation())}q.O=function(){X.prototype.O.call(this);fc(this)};
q.I=function()
{X.prototype.I.call(this);this.H=2===Ub(this.g);this.F=0===this.g.innerWidth&&0===t
his.g.innerHeight;gc(this);ac(this);var
a=this.l.getBoundingClientRect(),b=a.bottom,c=a.right,d=Vb(this.g).clientHeight,g=V
b(this.g).clientWidth,h=Math.floor(b-d),e=Math.floor(c-g);if(0<=h||5<e)b-
=a.top,a=c-a.left,c=this.g,Y(this,{dhb:h>=b?1:0,dhr:e>=a?
1:0,h:d,w:g,bh:b,bw:a,opb:h,opr:e,pt:c.innerHeight>=c.innerWidth?
1:0,req:this.g.location.href});document.getElementById("ad_iframe").contentWindow.p
ostMessage(JSON.stringify({type:"rewarded",
message:"visible"}),"*");for(d=0;d<this.G.length;d++)this.G[d]();hc(this);var
f=void 0===f?.01:f;if(!(Math.random()>f)){d=jb(24);f="https://"+
(d&&"true"===d.getAttribute("data-jc-rcd")?"pagead2.googlesyndication-
cn.com":"pagead2.googlesyndication.com")+"/pagead/gen_204?
id=jca&jc=24&version="+ib(24)+"&sample="+f;d=window;var k=void 0===k?!
1:k;if(g=d.navigator)g=d.navigator.userAgent,g=/Chrome/.test(g)&&!/Edge/.test(g)?!
0:!1;g&&d.navigator.sendBeacon?d.navigator.sendBeacon(f):gb(d,f,void 0===k?!1:k)}k=
this.g.navigator?!0===this.g.navigator.standalone:!1;f=window.matchMedia("(display-
mode: standalone)").matches;Y(this,{wapp:k||f})};function hc(a)
{a.g.addEventListener("message",function(b){if(b.source===a.m)try{var
c=JSON.parse(b.data);"rewarded"===c.type&&"closed"===c.message&&a.dismiss(11===K(a.
i)?6:1)}catch(d){}})}function gc(a){P(a.g,"resize",function(){var b=Ub(a.g);a.F?
(a.F=!1,a.H=2===b):(a.H?1===b:2===b)&&a.dismiss(4)})}
function ac(a){a.s||0===a.o||(a.l.setAttribute("aria-
label",I(a.i,7)),a.l.setAttribute("role","button"),a.l.setAttribute("tabindex","0")
,a.l.focus())}function fc(a){!
1===a.s&&a.enableDismissListeners();a.V&&P(a.V,"click",W(261,function(c){return
ec(a,c)}));var
b=a.g.document.getElementById("card");b&&b.addEventListener("click",W(909,function(
c){null==c||c.stopPropagation()}))}
function Xb(a,b)
{ic(a,b)&&(a.l.style.background="rgba(192,192,192, .3)",y.setTimeout(function()
{a.l.style.background="transparent";a.dismiss(2)},750))}function ic(a,b){if(!
b)return!0;if((b.preventDefault?b.defaultPrevented:!1===b.returnValue)||
b.target&&b.target.ownerDocument==a.m.document)return!1;for(a=b.target;a;)
{if("creative"==a.id)return!1;a=a.parentElement}return!0};hb=24;var
jc=jb(24);if(null==jc)throw Error("JSC not found 24");for(var
kc={},lc=jc.attributes,mc=lc.length-1;0<=mc;mc--){var
nc=lc[mc].name;0===nc.indexOf("data-jcp-")&&(kc[nc.substring(9)]=lc[mc].value)}
(function(a){var b,c,d;ua(function(g){b=Wa(a.config);c=W(258,function(){var
h,e;return ua(function(f){if(1==f.g){h=null;if(J(b,25)){var
k=Qb();f.g=3;f={value:k}}else f.g=2,f=void 0;return f}2!
=f.g&&(h=f.o);k=document.getElementById("ad_iframe").contentWindow;var
l=h,m=O.document,t=k.document,n=Va(b),p=0===n||2===n?
t.getElementById(I(b,6)):m.getElementById(I(b,6));m=0===n?
t.getElementById(I(b,8)):m.getElementById(I(b,8));try{var r=!!
O.localStorage}catch(z){}p?(r||Yb(p,r,b),k=new Wb(O,k,p,m,b,l),k.N()):
(Yb(p,r,b),l?
l.notifyError("no_dismiss_button"):Z(O,"i_iif"),k=null);e=k;window.interstitialAdFr
ame=e;Pb(9,window).resolve(e);f.g=0})});0===Va(b)||2===Va(b)||J(b,16)?
(d=document.getElementById("ad_iframe"),null!=d.contentDocument?
eb(d.contentDocument,function(){return void
c()}):document.getElementById("ad_iframe").addEventListener("load",c)):c();g.g=0})}
)(kc);}).call(this);