(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var k=this||self;function ba(a,b,c){return a.call.apply(a.bind,arguments)}function ca(a,b,c){if(!a)throw Error();if(2e;e++){var f=c.concat(d[e].split(""));fa[e]=f;for(var h=0;h>2];l=b[(l&3)<<4|m>>4];m=b[(m&15)<<2|g>>6];g=b[g&63];c[e++]=h+l+m+g}h=0;g=d;switch(a.length-f){case 2:h= a[f+1],g=b[(h&15)<<2]||d;case 1:a=a[f],c[e]=b[a>>2]+b[(a&3)<<4|h>>4]+g+d}return c.join("")};var r="undefined"!==typeof Uint8Array,ia={};let ja;var ka=class{constructor(a){if(ia!==ia)throw Error("illegal external caller");this.M=a;if(null!=a&&0===a.length)throw Error("ByteString should be constructed with non-empty values");}};const t=Symbol(void 0);function oa(a,b){Object.isFrozen(a)||(t?a[t]|=b:void 0!==a.u?a.u|=b:Object.defineProperties(a,{u:{value:b,configurable:!0,writable:!0,enumerable:!1}}))}function u(a){let b;t?b=a[t]:b=a.u;return null==b?0:b}function v(a){oa(a,1);return a}function w(a){return Array.isArray(a)?!!(u(a)&2):!1}function x(a){if(!Array.isArray(a))throw Error("cannot mark non-array as immutable");oa(a,2)} function pa(a,b){if(!Array.isArray(a))throw Error("cannot mark non-array as mutable");b?oa(a,8):Object.isFrozen(a)||(t?a[t]&=-9:void 0!==a.u&&(a.u&=-9))};function qa(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}var y=Object.freeze(v([]));function ra(a){if(w(a.i))throw Error("Cannot mutate an immutable Message");}function sa(a){return{value:a,configurable:!1,writable:!1,enumerable:!1}};function ta(a,b){if(Array.isArray(a))return new b(a)};function ua(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "object":if(a&&!Array.isArray(a)){if(r&&null!=a&&a instanceof Uint8Array)return ha(a);if(a instanceof ka){var b=a.M;b=null==b||"string"===typeof b?b:r&&b instanceof Uint8Array?ha(b):null;return null==b?"":a.M=b}}}return a};function va(a,b=wa){return xa(a,b)}function ya(a,b){if(null!=a){if(Array.isArray(a))a=xa(a,b);else if(qa(a)){const c={};for(let d in a)c[d]=ya(a[d],b);a=c}else a=b(a);return a}}function xa(a,b){const c=a.slice();for(let d=0;d=a.j?a.h?a.h[b]:void 0:c&&a.h&&(c=a.h[b],null!=c)?c:a.i[b+a.s]}function D(a,b,c,d=!1){ra(a);b{throw Error("Cannot perform instanceof checks for MutableMessage");})});function Ka(a,b,c,d,e,f){if(a=a.g&&a.g[c])if(Array.isArray(a)){e=f.A?v(a.slice()):a;ra(b);if(null!=e){f=v([]);d=!1;for(a=0;a{const a=L;L=[];for(const b of a)try{b()}catch{}};var Ya=a=>{var b=M;"complete"===b.readyState||"interactive"===b.readyState?(L.push(a),1==L.length&&(window.Promise?Promise.resolve().then(Xa):window.setImmediate?setImmediate(Xa):setTimeout(Xa,0))):b.addEventListener("DOMContentLoaded",a)};function Za(a=document){return a.createElement("img")};function $a(a=null){return a&&"23"===a.getAttribute("data-jc")?a:document.querySelector('[data-jc="23"]')} function ab(){if(!(.01{k.google_logging_queue||(k.google_logging_queue=[]);k.google_logging_queue.push([12,a])};class cb{constructor(a){this.O=a}}function O(a){return new cb(b=>b.substr(0,a.length+1).toLowerCase()===a+":")}const db=new cb(a=>/^[^:]*([/?#]|$)/.test(a));var eb=O("http"),fb=O("https"),gb=O("ftp"),hb=O("mailto");const ib=[O("data"),eb,fb,hb,gb,db];function jb(a=ib){for(let b=0;b{var a=`${"http:"===N.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)Va(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 ob=()=>{var a=M;try{return a.querySelectorAll("*[data-ifc]")}catch(b){return[]}},pb=(a,b)=>{a&&Wa(b,(c,d)=>{a.style[d]=c})},qb=a=>{var b=M.body;const c=document.createDocumentFragment(),d=a.length;for(let e=0;e{const a=k.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()},sb=()=>{const a=k.performance;return a&&a.now?a.now():null};class tb{constructor(a,b){var c=sb()||rb();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.taskId=this.slotId=void 0}};const Q=k.performance,ub=!!(Q&&Q.mark&&Q.measure&&Q.clearMarks),R=Ra(()=>{var a;if(a=ub){var b;if(null===P){P="";try{a="";try{a=k.top.location.hash}catch(c){a=k.location.hash}a&&(P=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=P;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function vb(a){a&&Q&&R()&&(Q.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),Q.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))} class wb{constructor(){var a=window;this.g=[];this.j=a||k;let 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.h=R()||(null!=b?b:1>Math.random())}start(a,b){if(!this.h)return null;a=new tb(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;Q&&R()&&Q.mark(b);return a}end(a){if(this.h&&"number"===typeof a.value){a.duration=(sb()||rb())-a.value;var b=`goog_${a.label}_${a.uniqueId}_end`;Q&&R()&&Q.mark(b);!this.h||2048< this.g.length||this.g.push(a)}}};const S=new wb;var xb=()=>{window.google_measure_js_timing||(S.h=!1,S.g!=S.j.google_js_reporting_queue&&(R()&&p(S.g,vb),S.g.length=0))};"number"!==typeof window.google_srt&&(window.google_srt=Math.random());"complete"==window.document.readyState?xb():S.h&&K(window,"load",()=>{xb()});var yb=a=>{K(N,"message",b=>{let c;try{c=JSON.parse(b.data)}catch(d){return}!c||"ig"!==c.googMsgType||a(c,b)})};function T(){this.h=this.h;this.j=this.j}T.prototype.h=!1;function zb(a){a.h||(a.h=!0,a.m())}T.prototype.m=function(){if(this.j)for(;this.j.length;)this.j.shift()()};function U(a,b,c){T.call(this);this.o=a;this.G=b||0;this.v=c;this.C=n(this.D,this)}da(U,T);U.prototype.g=0;U.prototype.m=function(){U.P.m.call(this);0!=this.g&&k.clearTimeout(this.g);this.g=0;delete this.o;delete this.v}; U.prototype.start=function(a){0!=this.g&&k.clearTimeout(this.g);this.g=0;var b=this.C;a=void 0!==a?a:this.G;if("function"!==typeof b)if(b&&"function"==typeof b.handleEvent)b=n(b.handleEvent,b);else throw Error("Invalid listener argument");this.g=2147483647{a&&(a.style.display=b?"inline-block":"none")};function Cb(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 Db(a,b,c=2147483647){const d=M.createElement("div");pb(d,{...Ab,"z-index":String(c),...b});F(a.data,10)&&K(d,"click",Qa);if(F(a.data,11)){a=b=M.createElement("a");c=nb();const e=kb(mb);e===Pa&&c("#");c=new J(lb(e),I);c instanceof J||c instanceof J||(c="object"==typeof c&&c.j?c.h():String(c),Oa.test(c)||(c="about:invalid#zClosurez"),c=new J(c,I));a.href=Na(c);b.appendChild(d);return b}return d} function Eb(a,b){switch(E(b.l,5,1)){case 2:N.AFMA_Communicator?.addEventListener?.("onshow",()=>{W(a,b)});break;case 10:K(N,"i-creative-view",()=>{W(a,b)});break;case 4:K(M,"DOMContentLoaded",()=>{W(a,b)});break;case 8:yb(c=>{c.rr&&W(a,b)});break;case 9:if("IntersectionObserver"in N){const c=new IntersectionObserver(d=>{for(const e of d)if(0{W(a,b)})}} function Fb(a,b){b=Cb(b);const c=E(a.data,9,0);a.m=[{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=>Db(a,d,9019))} function Gb(a){var b=0;for(const d of a.L){const e=d.l,f=a.D[E(e,5,1)];d.B||void 0===f||(b=Math.max(b,f+E(e,2,0)))}a.o&&zb(a.o);b-=Date.now();const c=a.h;0{V(c,!1)},b),a.o.start()):V(c,!1)}function W(a,b){b.B||(a.D[E(b.l,5,1)]=Date.now(),F(b.l,9)&&(a.L.push(b),Gb(a)))} function Hb(a,b,c){if(!a.g||!a.C||300<=b.timeStamp-a.g.timeStamp)return!1;const d=new Map;p(a.C.changedTouches,e=>{d.set(e.identifier,{x:e.clientX,y:e.clientY})});b=E(c.l,11,0)||10;for(const e of a.g.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.m=[];this.o=this.h=null;this.L=[];this.data=null;this.G=[];this.j=[];this.v=[];this.D={};this.N=[];this.C=this.g=null}init(a){bb([a]);this.data=new Ma(a);a=Ca(this.data);p(Ga(a),e=>{this.v.push({H:0,B:!1,I:0,l:e,F:-1})});this.j=ob();let b=!1;a=this.j.length;for(let e=0;e{this.v.push({H:0,B:!1,I:0,l:f,F:e});1===E(f,4,1)&&(b=!0)})}c=a=!1;for(var d of this.v){const e=d.l; 0{const e=M.body.querySelectorAll(".amp-fcp, .amp-bcp");for(let h=0;h{if(!1===e.isTrusted&&F(this.data,15))e.preventDefault?e.preventDefault(): e.returnValue=!1,e.stopImmediatePropagation(),ab();else{var f=-1,h=[];for(const z of this.v){var g=z.F,l=-1!==g;if(!(E(z.l,3,0)<=f||z.B||l&&!1===h[g])){var m=!l||h[g]||this.j[g].contains(e.target);l&&m&&(h[g]=!0);if(g=m)if(g=e,m=z,l=m.l,0X||0>Y)g=!1;else{m=Cb(E(m.l,1,""));A=!(X>=m.left&&la-X>m.right&&Y>=m.top&&ma-Y>m.bottom);if(this.g&&F(this.data,12)&&300>g.timeStamp-this.g.timeStamp){g=this.g.changedTouches[0];const [Z,aa]=[g.clientX/G-l.left,g.clientY/G-l.top];!isNaN(Z)&&!isNaN(aa)&&0<=Z&&0<=aa&&(A=(A=F(this.data,16)?A:!1)||!(Z>=m.left&&la-Z>m.right&&aa>=m.top&&ma-aa>m.bottom))}g=A}}}else g=0=E(h,8,0))if(B.B=!0,this.h&&0{this.C=e},Ta);(a&&F(this.data,12)||c)&&K(M,"touchend",e=>{this.g=e},Ta)}registerCallback(a){this.G.push(a)}};}).call(this);