Professional Documents
Culture Documents
F
F
SPDX-License-Identifier: Apache-2.0
*/
class Xa{constructor(a){this.P=a}}function R(a){return new
Xa(b=>b.substr(0,a.length+1).toLowerCase()===a+":")}const Ya=new Xa(a=>/^[^:]*([/?
#]|$)/.test(a));var Za=R("http"),$a=R("https"),ab=R("ftp"),bb=R("mailto");const
cb=[R("data"),Za,$a,bb,ab,Ya];function db(a=cb){for(let b=0;b<a.length;++b){const
c=a[b];if(c instanceof Xa&&c.P("#"))return new Q("#",P)}}function eb(a=cb){return
db(a)||Va};function fb(a,b){if(a)for(const c in
a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}let gb=[];const
hb=()=>{const a=gb;gb=[];for(const b of a)try{b()}catch{}};var ib=a=>{var
b=S;"complete"===b.readyState||"interactive"===b.readyState?
(gb.push(a),1==gb.length&&(window.Promise?
Promise.resolve().then(hb):window.setImmediate?
setImmediate(hb):setTimeout(hb,0))):b.addEventListener("DOMContentLoaded",a)};funct
ion jb(a=document){return a.createElement("img")};function kb(a=null){return
a&&"23"===a.getAttribute("data-jc")?a:document.querySelector('[data-jc="23"]')}
function lb(){if(!(.01<Math.random())){var
a=kb(document.currentScript);a=a&&"true"===a.getAttribute("data-jc-
rcd")?"pagead2.googlesyndication-cn.com":"pagead2.googlesyndication.com";var
b=(b=kb(document.currentScript))&&b.getAttribute("data-jc-
version")||"unknown";a=`https://${a}/pagead/gen_204?id=jca&jc=${23}&version=$
{b}&sample=${.01}`;b=window;var
c;if(c=b.navigator)c=b.navigator.userAgent,c=/Chrome/.test(c)&&!/Edge/.test(c)?!0:!
1;c&&b.navigator.sendBeacon?b.navigator.sendBeacon(a):(b.google_image_requests||
(b.google_image_requests=[]),c=jb(b.document),c.src=a,b.google_image_requests.push(
c))}};var S=document,T=window;var mb=(a=[])=>{m.google_logging_queue||
(m.google_logging_queue=[]);m.google_logging_queue.push([12,a])};const nb=[Za,
$a,bb,ab,Ya,R("market"),R("itms"),R("intent"),R("itms-appss")];
var ob=()=>{var a=`${"http:"===T.location.protocol?"http:":"https:"}//$
{"pagead2.googlesyndication.com"}/pagead/gen_204`;return
b=>{b={id:"unsafeurl",ctx:625,url:b};var c=[];for(d in b)Wa(d,b[d],c);var
d=c.join("&");if(d){b=a.indexOf("#");0>b&&(b=a.length);c=a.indexOf("?");if(0>c||
c>b){c=b;var e=""}else
e=a.substring(c+1,b);b=[a.slice(0,c),e,a.slice(b)];c=b[1];b[1]=d?c?
c+"&"+d:d:c;d=b[0]+(b[1]?"?"+b[1]:"")+b[2]}else
d=a;navigator.sendBeacon&&navigator.sendBeacon(d,"")}};var pb=()=>{var
a=S;try{return a.querySelectorAll("*[data-ifc]")}catch(b)
{return[]}},qb=(a,b)=>{a&&fb(b,(c,d)=>{a.style[d]=c})},rb=a=>{var b=S.body;const
c=document.createDocumentFragment(),d=a.length;for(let e=0;e<d;+
+e)c.appendChild(a[e]);b.appendChild(c)};let sb=null;function tb(){const
a=m.performance;return a&&a.now&&a.timing?Math.floor(a.now()
+a.timing.navigationStart):Date.now()}function ub(){const a=m.performance;return
a&&a.now?a.now():null};class vb{constructor(a,b){var c=ub()||
tb();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.rando
m();this.taskId=this.slotId=void 0}};const U=m.performance,wb=!!
(U&&U.mark&&U.measure&&U.clearMarks),V=Ra(()=>{var a;if(a=wb){var b;if(null===sb)
{sb="";try{a="";try{a=m.top.location.hash}catch(c)
{a=m.location.hash}a&&(sb=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c)
{}}b=sb;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function xb(a)
{a&&U&&V()&&(U.clearMarks(`goog_${a.label}_$
{a.uniqueId}_start`),U.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))}
class yb{constructor(){var a=window;this.h=[];this.l=a||m;let
b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||
[],this.h=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.i=V()||
(null!=b?b:1>Math.random())}start(a,b){if(!this.i)return null;a=new
vb(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;U&&V()&&U.mark(b);return a}end(a)
{if(this.i&&"number"===typeof a.value){a.duration=(ub()||tb())-a.value;var
b=`goog_${a.label}_${a.uniqueId}_end`;U&&V()&&U.mark(b);!this.i||2048<
this.h.length||this.h.push(a)}}};function zb()
{this.i=this.i;this.l=this.l}zb.prototype.i=!1;function Ab(a){a.i||(a.i=!
0,a.s())}zb.prototype.s=function(){if(this.l)for(;this.l.length;)this.l.shift()
()};const W=new yb;var Bb=()=>{window.google_measure_js_timing||(W.i=!1,W.h!
=W.l.google_js_reporting_queue&&(V()&&q(W.h,xb),W.h.length=0))};"number"!==typeof
window.google_srt&&(window.google_srt=Math.random());"complete"==window.document.re
adyState?Bb():W.i&&O(window,"load",()=>{Bb()});var Cb=a=>{O(T,"message",b=>{let
c;try{c=JSON.parse(b.data)}catch(d){return}!c||"ig"!==c.googMsgType||
a(c,b)})};function X(a,b,c){zb.call(this);this.u=a;this.H=b||
0;this.B=c;this.D=n(this.F,this)}ca(X,zb);X.prototype.h=0;X.prototype.s=function()
{X.R.s.call(this);this.isActive()&&m.clearTimeout(this.h);this.h=0;delete
this.u;delete this.B};
X.prototype.start=function(a){this.isActive()&&m.clearTimeout(this.h);this.h=0;var
b=this.D;a=void 0!==a?a:this.H;if("function"!==typeof b)if(b&&"function"==typeof
b.handleEvent)b=n(b.handleEvent,b);else throw Error("Invalid listener
argument");this.h=2147483647<Number(a)?-1:m.setTimeout(b,a||
0)};X.prototype.isActive=function(){return 0!=this.h};X.prototype.F=function()
{this.h=0;this.u&&this.u.call(this.B)};const Db={display:"inline-
block",position:"absolute"},Eb={display:"none",width:"100%",height:"100%",top:"0",l
eft:"0"},Y=(a,b)=>{a&&(a.style.display=b?"inline-block":"none")};function Fb(a="")
{const
b={top:0,right:0,bottom:0,left:0};a&&(a=a.split(","),4===a.length&&a.reduce((c,d)=>
c&&!isNaN(+d),!0)&&([b.top,b.right,b.bottom,b.left]=a.map(c=>+c)));return b}
function Gb(a,b,c=2147483647){const d=S.createElement("div");qb(d,{...Db,"z-
index":String(c),...b});K(a.data,10)&&O(d,"click",Qa);if(K(a.data,11))
{a=b=S.createElement("a");c=ob();const f=eb(nb);f===Va&&c("#");c=f;if(c instanceof
Q)var e=c;else if(c instanceof Q)e=c;else{c="object"==typeof c&&c.l?
c.i():String(c);b:{try{e=new URL(c)}catch(h){e="https:";break
b}e=e.protocol}"javascript:"===e&&(c="about:invalid#zClosurez");e=new
Q(c,P)}a.href=e instanceof Q&&e.constructor===Q?e.h:"type_error:SafeUrl";
b.appendChild(d);return b}return d}
function Hb(a,b){switch(L(b.m,5)){case 2:T.AFMA_Communicator?.addEventListener?.
("onshow",()=>{Z(a,b)});break;case 10:O(T,"i-creative-view",
()=>{Z(a,b)});break;case 4:O(S,"DOMContentLoaded",()=>{Z(a,b)});break;case
8:Cb(c=>{c.rr&&Z(a,b)});break;case 9:if("IntersectionObserver"in T){const c=new
IntersectionObserver(d=>{for(const e of d)if(0<e.intersectionRatio)
{Z(a,b);break}});c.observe(S.body);a.O.push(c)}break;case
11:T.AFMA_Communicator?.addEventListener?.("onAdVisibilityChanged",()=>{Z(a,b)})}}
function Ib(a,b){b=Fb(b);const
c=I(a.data,9);a.s=[{width:"100%",height:b.top+c+"px",top:-c+"px",left:"0"},
{width:b.right+c+"px",height:"100%",top:"0",right:-c+"px"},
{width:"100%",height:b.bottom+c+"px",bottom:-c+"px",left:"0"},
{width:b.left+c+"px",height:"100%",top:"0",left:-c+"px"}].map(d=>Gb(a,d,9019))}
function Jb(a){var b=0;for(const d of a.L){const e=d.m,f=a.F[L(e,5)];d.C||void
0===f||(b=Math.max(b,f+I(e,2)))}a.u&&Ab(a.u);b-=Date.now();const c=a.i;0<b?(Y(c,!
0),a.u=new X(()=>{Y(c,!1)},b),a.u.start()):Y(c,!1)}function Z(a,b){b.C||
(a.F[L(b.m,5)]=Date.now(),K(b.m,9)&&(a.L.push(b),Jb(a)))}
function Kb(a,b,c){if(!a.h||!a.D||300<=b.timeStamp-a.h.timeStamp)return!1;const
d=new Map;q(a.D.changedTouches,e=>{d.set(e.identifier,
{x:e.clientX,y:e.clientY})});b=I(c.m,11)||10;for(const e of
a.h.changedTouches)if(a=d.get(e.identifier),!a||Math.abs(a.x-e.clientX)>b||
Math.abs(a.y-e.clientY)>b)return!0;return!1};window.googqscp=new
class{constructor()
{this.s=[];this.u=this.i=null;this.L=[];this.data=null;this.H=[];this.l=[];this.B=[
];this.F={};this.O=[];this.D=this.h=null}init(a){mb([a]);this.data=new
Pa(a);a=za(this.data);q(Ca(a),e=>{this.B.push({I:0,C:!1,J:0,m:e,G:-
1})});this.l=pb();let b=!1;a=this.l.length;for(let e=0;e<a;++e){var c=new
Aa(JSON.parse(this.l[e].getAttribute("data-
ifc")||"[]"));q(Ca(c),f=>{this.B.push({I:0,C:!1,J:0,m:f,G:e});1===L(f,4)&&(b=!
0)})}c=a=!1;for(var d of this.B){const e=d.m;0<
I(e,2)&&0<L(e,5)?(!
this.i&&K(e,9)&&(this.i=Gb(this,Eb)),Hb(this,d)):J(e)&&K(e,9)&&Ib(this,J(e));J(e)&&
(a=!0);0<I(e,11)&&(c=!0)}d=[];this.i&&d.push(this.i);!
b&&d.push(...this.s);S.body&&rb(d);K(this.data,13)&&ib(()=>{const
e=S.body.querySelectorAll(".amp-fcp, .amp-bcp");for(let h=0;h<e.length;++h){var
f=(f=e[h])?T.getComputedStyle(f).getPropertyValue("position"):void
0;"absolute"===f&&Y(e[h],!1)}});O(S,"click",e=>{if(!
1===e.isTrusted&&K(this.data,15))e.preventDefault?e.preventDefault():e.returnValue=
!1,e.stopImmediatePropagation(),lb();else{var f=-1,h=[];for(const H of this.B){var
g=H.G,k=-1!==g;if(!(I(H.m,3)<=f||H.C||k&&!1===h[g])){var l=!k||h[g]||
this.l[g].contains(e.target);k&&l&&(h[g]=!
0);if(g=l)if(g=e,l=H,k=l.m,0<I(k,2)&&0<L(k,5))g=this.F[L(k,5)],g=void 0!
==g&&Date.now()<g+I(k,2);else if(J(k)){{k=(0<=l.G?
this.l[l.G]:S.body).getBoundingClientRect();var p=Number;var r=(r=S.body)?
T.getComputedStyle(r).getPropertyValue("zoom"):void 0;p=p(r||"1");const
[Lb,Mb]=[g.clientX,g.clientY],[da,ea,na,
oa]=[Lb/p-k.left,Mb/p-k.top,k.width,k.height];if(!(0<na&&0<oa)||isNaN(da)||
isNaN(ea)||0>da||0>ea)g=!1;else{l=Fb(J(l.m));r=!(da>=l.left&&na-
da>l.right&&ea>=l.top&&oa-ea>l.bottom);if(this.h&&K(this.data,12)&&300>g.timeStamp-
this.h.timeStamp){g=this.h.changedTouches[0];const [fa,ha]=[g.clientX/p-
k.left,g.clientY/p-k.top];!isNaN(fa)&&!
isNaN(ha)&&0<=fa&&0<=ha&&(r=(r=K(this.data,16)?r:!1)||!(fa>=l.left&&na-
fa>l.right&&ha>=l.top&&oa-ha>l.bottom))}g=r}}}else g=0<I(k,11)?Kb(this,g,l):!
0;if(g){var u=H;f=I(H.m,
3)}}}if(u)switch(f=u.m,L(f,4)){case 2:case 3:e.preventDefault?
e.preventDefault():e.returnValue=!1;h=Date.now();500<h-u.J&&(u.J=h,+
+u.I);h=u.m;if(I(h,8)&&u.I>=I(h,8))if(u.C=!0,this.i&&0<I(h,2))Jb(this);else
if(0<this.s.length&&J(h))for(var y of this.s)Y(y,!1);lb();y=f.toJSON();for(const H
of this.H)H(e,y)}}},Sa);c&&O(S,"touchstart",e=>{this.D=e},Ta);(a&&K(this.data,12)||
c)&&O(S,"touchend",e=>{this.h=e},Ta)}registerCallback(a)
{this.H.push(a)}};}).call(this);