Professional Documents
Culture Documents
SPDX-License-Identifier: Apache-2.0
*/
function O(a,b){this.g=b===P?a:""}O.prototype.toString=function(){return
this.g.toString()};O.prototype.m=!0;O.prototype.i=function(){return
this.g.toString()};function eb(a){return a instanceof O&&a.constructor===O?
a.g:"type_error:SafeUrl"}var
fb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,P={},gb=new
O("about:invalid#zClosurez",P);function hb(){}function ib(a){var b=!1,c;return
function(){b||(c=a(),b=!0);return c}};var jb={capture:!0},kb={passive:!
0},lb=ib(function(){var a=!1;try{var b=Object.defineProperty({},"passive",
{get:function(){a=!0}});w.addEventListener("test",null,b)}catch(c){}return
a});function mb(a){return a?a.passive&&lb()?a:a.capture||!1:!1}function Q(a,b,c,d)
{a.addEventListener&&a.addEventListener(b,c,mb(d))};function nb(a,b,c)
{if(Array.isArray(b))for(var d=0;d<b.length;d++)nb(a,String(b[d]),c);else null!
=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))};function ob(a,b)
{if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}var
pb=[];function qb(){var a=pb;pb=[];a=t(a);for(var b=a.next();!b.done;b=a.next())
{b=b.value;try{b()}catch(c){}}}function rb(a){var
b=R;"complete"===b.readyState||"interactive"===b.readyState?
(pb.push(a),1==pb.length&&(window.Promise?
Promise.resolve().then(qb):window.setImmediate?
setImmediate(qb):setTimeout(qb,0))):b.addEventListener("DOMContentLoaded",a)}
function sb(a){a=void 0===a?document:a;return a.createElement("img")};function
tb(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var
d=sb(a.document);if(c){var e=function(){if(c){var
g=a.google_image_requests,k=va(g,d);0<=k&&Array.prototype.splice.call(g,k,1)}d.remo
veEventListener&&d.removeEventListener("load",e,mb());d.removeEventListener&&d.remo
veEventListener("error",e,mb())};Q(d,"load",e);Q(d,"error",e)}d.src=b;a.google_imag
e_requests.push(d)};function ub(){var a=document.currentScript;return(a=void 0===a?
null:a)&&"23"===a.getAttribute("data-jc")?a:document.querySelector('[data-
jc="23"]')}
function vb(){var a=void 0===a?.01:a;if(!(Math.random()>a)){var
b=ub();b="https://"+(b&&"true"===b.getAttribute("data-jc-
rcd")?"pagead2.googlesyndication-cn.com":"pagead2.googlesyndication.com")+"/
pagead/gen_204?id=jca&jc=23&version=";var c=(c=ub())&&c.getAttribute("data-jc-
version")||"unknown";a=b+c+"&sample="+a;b=window;var d=void 0===d?!
1:d;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):tb(b,a,void 0===d?!1:
d)}};var R=document,S=window;function wb(a){a=void 0===a?
[]:a;w.google_logging_queue||
(w.google_logging_queue=[]);w.google_logging_queue.push([12,a])};function xb(a)
{this.W=a}function T(a){return new xb(function(b){return
b.substr(0,a.length+1).toLowerCase()===a+":"})}var yb=new
xb(function(a){return/^[^:]*([/?#]|
$)/.test(a)}),zb=T("http"),Ab=T("https"),Bb=T("ftp"),Cb=T("mailto"),Db=[T("data"),z
b,Ab,Cb,Bb,yb];function Eb(a){return eb(a)};var
Fb=[zb,Ab,Cb,Bb,yb,T("market"),T("itms"),T("intent"),T("itms-appss")];
function Gb(){var
a=(Hb()?"http:":"https:")+"//pagead2.googlesyndication.com/pagead/gen_204";return
function(b){b={id:"unsafeurl",ctx:625,url:b};var c=[];for(d in b)nb(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,"")}};function Hb(){var a=void
0===a?S:a;return"http:"===a.location.protocol}function Ib(){var a=R;try{return
a.querySelectorAll("*[data-ifc]")}catch(b){return[]}}function Jb(a,b)
{a&&ob(b,function(c,d){a.style[d]=c})}function Kb(a){for(var
b=R.body,c=document.createDocumentFragment(),d=a.length,e=0;e<d;+
+e)c.appendChild(a[e]);b.appendChild(c)};var Lb=null;function Mb(){var a=void
0===a?w:a;return(a=a.performance)&&a.now&&a.timing?Math.floor(a.now()
+a.timing.navigationStart):Date.now()}function Nb(){var a=void 0===a?
w:a;return(a=a.performance)&&a.now?a.now():null};function Ob(a,b){var c=Nb()||
Mb();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.rando
m();this.taskId=this.slotId=void 0};var U=w.performance,Pb=!!
(U&&U.mark&&U.measure&&U.clearMarks),V=ib(function(){var a;if(a=Pb){var
b;if(null===Lb){Lb="";try{a="";try{a=w.top.location.hash}catch(c)
{a=w.location.hash}a&&(Lb=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c)
{}}b=Lb;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
function Qb(){var a=window;this.g=[];this.m=a||w;var
b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||
[],this.g=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.i=V()||
(null!=b?b:1>Math.random())}function Rb(a)
{a&&U&&V()&&(U.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),U.clearMarks("go
og_"+a.label+"_"+a.uniqueId+"_end"))}Qb.prototype.start=function(a,b){if(!
this.i)return null;a=new
Ob(a,b);b="goog_"+a.label+"_"+a.uniqueId+"_start";U&&V()&&U.mark(b);return a};
Qb.prototype.end=function(a){if(this.i&&"number"===typeof a.value)
{a.duration=(Nb()||Mb())-a.value;var
b="goog_"+a.label+"_"+a.uniqueId+"_end";U&&V()&&U.mark(b);!this.i||
2048<this.g.length||this.g.push(a)}};var W=new Qb;function Sb()
{window.google_measure_js_timing||(W.i=!1,W.g!
=W.m.google_js_reporting_queue&&(V()&&wa(W.g,Rb),W.g.length=0))}"number"!==typeof
window.google_srt&&(window.google_srt=Math.random());"complete"==window.document.re
adyState?Sb():W.i&&Q(window,"load",function(){Sb()});function Tb(a){var b=void
0===b?null:b;Q(S,"message",function(c){try{var d=JSON.parse(c.data)}catch(e)
{return}!d||"ig"!==d.googMsgType||b&&/[:|%3A]javascript\(/i.test(c.data)&&!b(d,c)||
a(d,c)})};function Ub(){this.i=this.i;this.m=this.m}Ub.prototype.i=!1;function
Vb(a){a.i||(a.i=!0,a.A())}Ub.prototype.A=function()
{if(this.m)for(;this.m.length;)this.m.shift()()};function X(a,b,c)
{Ub.call(this);this.B=a;this.K=b||
0;this.D=c;this.H=x(this.I,this)}ua(X,Ub);X.prototype.g=0;X.prototype.A=function()
{X.S.A.call(this);this.isActive()&&w.clearTimeout(this.g);this.g=0;delete
this.B;delete this.D};
X.prototype.start=function(a){this.isActive()&&w.clearTimeout(this.g);this.g=0;var
b=this.H;a=void 0!==a?a:this.K;if("function"!==typeof b)if(b&&"function"==typeof
b.handleEvent)b=x(b.handleEvent,b);else throw Error("Invalid listener
argument");this.g=2147483647<Number(a)?-1:w.setTimeout(b,a||
0)};X.prototype.isActive=function(){return 0!=this.g};X.prototype.I=function()
{this.g=0;this.B&&this.B.call(this.D)};var Wb={display:"inline-
block",position:"absolute"},Xb={display:"none",width:"100%",height:"100%",top:"0",l
eft:"0"};function Y(a,b){a&&(a.style.display=b?"inline-block":"none")}function
Yb(a,b){if(a)return S.getComputedStyle(a).getPropertyValue(b)}function Zb()
{this.A=[];this.B=this.i=null;this.T=[];this.data=null;this.K=[];this.m=[];this.D=[
];this.I={};this.V=[];this.H=this.g=null}
Zb.prototype.init=function(a){var b=this;wb([a]);this.data=new
db(a);a=Wa(this.data);wa(Za(a),function(f){b.D.push({L:0,G:!1,N:0,o:f,J:-
1})});this.m=Ib();var c=!1;a=this.m.length;for(var d={F:0};d.F<a;d={F:d.F},++d.F)
{var e=new Xa(JSON.parse(this.m[d.F].getAttribute("data-
ifc")||"[]"));wa(Za(e),function(f){return function(h){b.D.push({L:0,G:!
1,N:0,o:h,J:f.F});1===H(h,4)&&(c=!0)}}(d))}d=a=!1;e=t(this.D);for(var g=e.next();!
g.done;g=e.next()){g=g.value;var k=g.o;0<L(k,2)&&0<H(k,5)?(!this.i&&J(k,9)&&
(this.i=$b(this,Xb)),ac(this,g)):I(k)&&J(k,9)&&bc(this,I(k));I(k)&&(a=!
0);0<L(k,11)&&(d=!0)}e=[];this.i&&e.push(this.i);!
c&&e.push.apply(e,ha(this.A));R.body&&Kb(e);J(this.data,13)&&rb(function(){for(var
f=R.body.querySelectorAll(".amp-fcp, .amp-bcp"),h=0;h<f.length;+
+h)"absolute"===Yb(f[h],"position")&&Y(f[h],!1)});Q(R,"click",function(f){if(!
1===f.isTrusted&&J(b.data,15))cc(f),f.stopImmediatePropagation(),vb();else{for(var
h,l=-1,m=[],u=t(b.D),q=u.next();!q.done;q=u.next()){q=q.value;var n=q.J,
p=-1!==n;if(!(L(q.o,3)<=l||q.G||p&&!1===m[n])){var A=!p||m[n]||
b.m[n].contains(f.target);p&&A&&(m[n]=!
0);if(n=A)if(n=f,p=q.o,0<L(p,2)&&0<H(p,5))n=b.I[H(p,5)],n=void 0!
==n&&Date.now()<n+L(p,2);else if(I(p)){p=(0<=q.J?
b.m[q.J]:R.body).getBoundingClientRect();A=Number(Yb(R.body,"zoom")||"1");var
y=t([n.clientX,n.clientY]),aa=y.next().value;y=y.next().value;y=t([aa/A-p.left,y/A-
p.top,p.width,p.height]);var
K=y.next().value,ka=y.next().value;aa=y.next().value;y=y.next().value;if(!
(0<aa&&0<y)||isNaN(K)||
isNaN(ka)||0>K||0>ka)n=!1;else{var N=dc(I(q.o));K=!(K>=N.left&&aa-
K>N.right&&ka>=N.top&&y-ka>N.bottom);b.g&&J(b.data,12)&&300>n.timeStamp-
b.g.timeStamp&&(n=b.g.changedTouches[0],p=t([n.clientX/A-p.left,n.clientY/A-
p.top]),n=p.next().value,p=p.next().value,!isNaN(n)&&!
isNaN(p)&&0<=n&&0<=p&&(K=(K=J(b.data,16)?K:!1)||!(n>=N.left&&aa-
n>N.right&&p>=N.top&&y-p>N.bottom)));n=K}}else n=0<L(p,11)?ec(b,n,q):!
0;n&&(h=q,l=L(q.o,3))}}if(h)switch(l=h.o,H(l,4)){case 2:case
3:cc(f);m=Date.now();500<m-h.N&&(h.N=m,
++h.L);m=h.o;if(L(m,8)&&h.L>=L(m,8))if(h.G=!0,b.i&&0<L(m,2))fc(b);else
if(0<b.A.length&&I(m))for(h=t(b.A),m=h.next();!m.done;m=h.next())Y(m.value,!
1);vb();h=l.toJSON();l=t(b.K);for(m=l.next();!
m.done;m=l.next())m=m.value,m(f,h)}}},jb);d&&Q(R,"touchstart",function(f)
{b.H=f},kb);(a&&J(this.data,12)||d)&&Q(R,"touchend",function(f)
{b.g=f},kb)};Zb.prototype.registerCallback=function(a){this.K.push(a)};
function bc(a,b){b=dc(b);var
c=L(a.data,9);a.A=[{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(function(d){return
$b(a,d,9019)})}function Z(a,b){b.G||
(a.I[H(b.o,5)]=Date.now(),J(b.o,9)&&(a.T.push(b),fc(a)))}
function ac(a,b){switch(H(b.o,5)){case 2:var c,d;null==(c=S.AFMA_Communicator)||
null==(d=c.addEventListener)||d.call(c,"onshow",function(){Z(a,b)});break;case
10:Q(S,"i-creative-view",function(){Z(a,b)});break;case
4:Q(R,"DOMContentLoaded",function(){Z(a,b)});break;case 8:Tb(function(k)
{k.rr&&Z(a,b)});break;case 9:"IntersectionObserver"in S&&(c=new
IntersectionObserver(function(k){k=t(k);for(var f=k.next();!
f.done;f=k.next())if(0<f.value.intersectionRatio)
{Z(a,b);break}}),c.observe(R.body),a.V.push(c));
break;case 11:var e,g;null==(e=S.AFMA_Communicator)||null==(g=e.addEventListener)||
g.call(e,"onAdVisibilityChanged",function(){Z(a,b)})}}function cc(a){var b=void
0===b?!1:b;a.preventDefault?a.preventDefault():a.returnValue=!
1;b&&a.stopPropagation()}
function ec(a,b,c){if(!a.g||!a.H||300<=b.timeStamp-a.g.timeStamp)return!1;var d=new
Map;wa(a.H.changedTouches,function(g){d.set(g.identifier,
{x:g.clientX,y:g.clientY})});b=L(c.o,11)||
10;a=t(a.g.changedTouches);for(c=a.next();!c.done;c=a.next()){c=c.value;var
e=d.get(c.identifier);if(!e||Math.abs(e.x-c.clientX)>b||Math.abs(e.y-
c.clientY)>b)return!0}return!1}
function fc(a){for(var b=0,c=t(a.T),d=c.next();!d.done;d=c.next()){d=d.value;var
e=d.o,g=a.I[H(e,5)];d.G||void 0===g||(b=Math.max(b,g+L(e,2)))}a.B&&Vb(a.B);b-
=Date.now();var k=a.i;0<b?(Y(k,!0),a.B=new X(function(){Y(k,!
1)},b),a.B.start()):Y(k,!1)}
function $b(a,b,c){var d=R.createElement("div");Jb(d,Object.assign({},Wb,{"z-
index":String(void 0===c?
2147483647:c)},b));J(a.data,10)&&Q(d,"click",hb);if(J(a.data,11))
{a=R.createElement("a");b=Gb();c=Fb;c=void 0===c?Db:c;a:{c=void 0===c?Db:c;for(var
e=0;e<c.length;++e){var g=c[e];if(g instanceof xb&&g.W("#")){c=new O("#",P);break
a}}c=void 0}c=c||gb;c===gb&&b("#");b=new O(Eb(c),P);b instanceof O||b instanceof
O||(b="object"==typeof b&&b.m?b.i():String(b),fb.test(b)||
(b="about:invalid#zClosurez"),
b=new O(b,P));a.href=eb(b);a.appendChild(d);return a}return d}function dc(a){a=void
0===a?"":a;var
b={top:0,right:0,bottom:0,left:0};a&&(a=a.split(","),4===a.length&&a.reduce(functio
n(c,d){return c&&!isNaN(+d)},!0)&&(a=t(a.map(function(c)
{return+c})),b.top=a.next().value,b.right=a.next().value,b.bottom=a.next().value,b.
left=a.next().value));return b};window.googqscp=new Zb;}).call(this);