self.AMP_CONFIG={"v":"032309151607000","type":"rc","allow-doc-opt-in":["amp-next-page"],"allow-url-opt-in":[],"canary":0,"a4aProfilingRate":0.01,"doubleclickSraExp":0.01,"doubleclickSraReportExcludedBlock":0.1,"flexAdSlots":0.05,"flexible-bitrate":0.1,"ios-fixed-no-transfer":0,"story-ad-placements":0.01,"story-disable-animations-first-page":1,"story-load-inactive-outside-viewport":1,"amp-sticky-ad-to-amp-ad-v4":0,"story-video-cache-apply-audio":0,"amp-story-subscriptions":1,"esm":1};/*AMP_CONFIG*/; (()=>{var t,e=class{constructor(){this.bt=new i}abort(){if(!this.bt.Ot&&(this.bt.Ot=!0,this.bt.jt)){const t={"type":"abort","bubbles":!1,"cancelable":!1,"target":this.bt,"currentTarget":this.bt};this.bt.jt(t)}}get signal(){return this.bt}},i=class{constructor(){this.Ot=!1,this.jt=null}get aborted(){return this.Ot}get onabort(){return this.jt}set onabort(t){this.jt=t}};function s(){return t||(t=Promise.resolve(void 0))}var n=class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}};function r(t){return new Promise((e=>{e(t())}))}function o(t){const e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;const{message:i,stack:s}=t,n=new Error(i);for(const e in t)n[e]=t[e];return n.stack=s,n}function h(t){let e=null,i="";for(const t of arguments)t instanceof Error&&!e?e=o(t):(i&&(i+=" "),i+=t);return e?i&&(e.message=i+": "+e.message):e=new Error(i),e}function a(t){var e,i;null===(e=(i=self).__AMP_REPORT_ERROR)||void 0===e||e.call(i,t)}function c(t){const e=h.apply(null,arguments);setTimeout((()=>{throw a(e),e}))}function l(t){const e=h.apply(null,arguments);return e.expected=!0,e}var{hasOwnProperty:u,toString:d}=Object.prototype;function p(t){return"[object Object]"===d.call(t)}function m(t){const e=Object.create(null);return t&&Object.assign(e,t),e}function f(t,e){return u.call(t,e)}function g(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function v(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function _(t){for(var e=1;e=0}function k(t,e,i="Assertion failed",s){var n,r;if(e)return e;t&&-1==i.indexOf(t)&&(i+=t);let o=3;const h=i.split("%s");let a=h.shift();const c=[a];for(;h.length;){const t=arguments[o++],e=h.shift();a+=M(t)+e,c.push(t,e.trim())}const l=new Error(a);throw l.messageArray=b(c,(t=>""!==t)),null===(n=(r=self).__AMP_REPORT_ERROR)||void 0===n||n.call(r,l),l}function j(t,e,i,s,n){return y(n)?t(i,n.concat([e])):t(i,`${n||s}: %s`,e),e}function V(t,e,i,s,n,r,o,h,a,c,l){return t}function O(t,e){return t}function C(t,e){return t}function N(t,e){return t}function L(t,e,i,s,n,r,o,h,a,c,l){return k(S,t,e,i,s,n,r,o,h,a,c,l)}function D(t){return JSON.parse(t)}function z(t,e){try{return D(t)}catch(t){return null==e||e(t),null}}function U(t){const e=new Uint8Array(t.length);for(let i=0;i0?s=t.setTimeout(o,h):(a=r,r=null,e.apply(null,a))}return function(...e){n=t.Date.now(),r=e,s||(s=t.setTimeout(o,i))}}var B=["javascript:","data:","vbscript:"],G=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function q(t,e=""){try{return decodeURIComponent(t)}catch(t){return e}}function W(t){const e=m();if(!t)return e;let i;for(;i=G.exec(t);){const t=q(i[1],i[1]),s=i[2]?q(i[2].replace(/\+/g," "),i[2]):"";e[t]=s}return e}function K(t){const{location:e}=t||self;return W(e.originalHash||e.hash)}var Q=t=>self.AMP_CONFIG?self.AMP_CONFIG[t]:null,Y=("string"==typeof Q("cdnProxyRegex")?new RegExp(Q("cdnProxyRegex")):Q("cdnProxyRegex"))||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function J(t){if(!self.document||!self.document.head)return null;if(self.location&&Y.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${t}"]`);return e&&e.getAttribute("content")||null}var X=Q("thirdPartyUrl")||"https://3p.ampproject.net",Z=Q("thirdPartyFrameHost")||"ampproject.net",tt=("string"==typeof Q("thirdPartyFrameRegex")?new RegExp(Q("thirdPartyFrameRegex")):Q("thirdPartyFrameRegex"))||/^d-\d+\.ampproject\.net$/,et=Q("cdnUrl")||J("runtime-host")||"https://cdn.ampproject.org",it=/^https?:\/\/localhost(:\d+)?$/,st=Q("errorReportingUrl")||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",nt=Q("betaErrorReportingUrl")||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",rt=Q("localDev")||!1,ot=[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],ht=Q("geoApiUrl")||J("amp-geo-api"),at="";function ct(t){const e=t||self;return e.__AMP_MODE?e.__AMP_MODE:e.__AMP_MODE=function(t){return{localDev:!1,development:ut(t,K(t)),esm:!0,test:!1,rtvVersion:lt(t),ssrReady:!1}}(e)}function lt(t){var e;return at||(at=(null===(e=t.AMP_CONFIG)||void 0===e?void 0:e.v)||"012309151607000"),at}function ut(t,e){const i=e||K(t);return["1","actions","amp","amp4ads","amp4email"].includes(i.development)||!!t.AMP_DEV_MODE}var dt=()=>{},pt=void 0;function mt(t){pt=t}var ft=(t,e)=>e.reduce(((t,e)=>`${t}&s[]=${gt(e)}`),`https://log.amp.dev/?v=012309151607000&id=${encodeURIComponent(t)}`),gt=t=>encodeURIComponent(String(M(t))),vt=t=>parseInt(K(t).log,10);self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var _t=self.__AMP_LOG,At=null;function yt(t,e){if(!At)throw new Error("failed to call initLogConstructor");return new At(self,t,e)}function Pt(t){return _t.user||(_t.user=bt(S)),function(t,e){return e&&e.ownerDocument.defaultView!=t}(_t.user.win,t)?_t.userForEmbed||(_t.userForEmbed=bt(R)):_t.user}function bt(t){return yt(((t,e)=>e||t>=1?4:2),t)}function It(){return _t.dev||(_t.dev=yt((t=>t>=3?4:t>=2?3:0)))}function wt(t,e,i,s,n,r,o,h,a,c,l){return t}function Et(t,e,i,s,n,r,o,h,a,c,l){return Pt().assert(t,e,i,s,n,r,o,h,a,c,l)}function Tt(t){return(t.ownerDocument||t).defaultView}function St(t,e){return t.replace(/^|,/g,`$&${e} `)}function Rt(t){return CSS.escape(t)}function Mt(t){V(/^[\w-]+$/.test(t))}function xt(t,e){return t.querySelector(St(e,":scope"))}function kt(t,e){return t.closest(e)}function jt(t,e){for(let i=t.lastElementChild;i;i=i.previousElementSibling)if(e(i))return i;return null}function Vt(t,e){return Mt(e),xt(t,`> [${e}]`)}function Ot(t){return!!function(t){let e;return w(t)?e=t:E(t)&&(e=t.tagName),!!e&&e.toLowerCase().startsWith("i-")}(t)||t.nodeType===Node.ELEMENT_NODE&&(O(t),t.hasAttribute("placeholder")||t.hasAttribute("fallback")||t.hasAttribute("overflow"))}var Ct={bubbles:!0,cancelable:!0};function Nt(t,e,i){if(e(t))i();else{const s=new(Tt(t).MutationObserver)((()=>{e(t)&&(s.disconnect(),i())}));s.observe(t,{childList:!0})}}function Lt(t){return new Promise((e=>function(t,e){Nt(t.documentElement,(()=>!!t.body),e)}(t,e)))}function Dt(t){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t)}function zt(t,e,i){return function(t,e){for(const i in e)t.setAttribute(i,e[i]);return t}(t.createElement(e),i)}function Ut(t){const e=t.isConnected;if(void 0!==e)return e;let i=t;for(;i=Ft(i),i.host;)i=i.host;return i.nodeType===Node.DOCUMENT_NODE}function Ft(t){if(Node.prototype.getRootNode)return t.getRootNode();let e;for(e=t;e.parentNode&&(!(i=e)||"I-AMPHTML-SHADOW-ROOT"!=i.tagName&&(11!=i.nodeType||"[object ShadowRoot]"!==Object.prototype.toString.call(i)));e=e.parentNode);var i;return e}function $t(t,e){let i=t;do{if(i.nextSibling)return!0}while((i=i.parentNode)&&i!=e);return!1}function Ht(t){try{t.focus()}catch(t){}}function Bt(t){return t.parent&&t.parent!=t}function Gt(t,e,i,s){const n=i||{};V(t.ownerDocument);const{bubbles:r,cancelable:o}=s||Ct,h=new MessageEvent(e,{data:n,bubbles:r,cancelable:o});t.dispatchEvent(h)}function qt(t,e){return e!==t&&t.contains(e)}function Wt(t){return t.hasAttribute("i-amphtml-ssr")}function Kt(t,e){const i=t.head.querySelector("script[nonce]");if(i){const t=i.nonce||i.getAttribute("nonce");e.setAttribute("nonce",null!=t?t:"")}}function Qt(t,e,i,s){return{left:t,top:e,width:i,height:s,bottom:e+s,right:t+i,x:t,y:e}}function Yt(t){return Qt(Number(t.left),Number(t.top),Number(t.width),Number(t.height))}function Jt(t,e,i){return 0==e&&0==i||0==t.width&&0==t.height?t:Qt(t.left+e,t.top+i,t.width,t.height)}function Xt(t){return!t.IntersectionObserver||!t.IntersectionObserverEntry||!!t.IntersectionObserver._stub||!function(t){try{return new t.IntersectionObserver((()=>{}),{root:t.document}),!0}catch(t){return!1}}(t)||function(t){return/apple/i.test(t.navigator.vendor)}(t)}var Zt=class t{constructor(e,i){this.It=e,this.xt=_({root:null,rootMargin:"0px 0px 0px 0px"},i),this.St=[],this.kt=null,t._upgraders.push(this.Vt.bind(this))}get root(){return this.kt?this.kt.root:this.xt.root||null}get rootMargin(){return this.kt?this.kt.rootMargin:this.xt.rootMargin}get thresholds(){return this.kt?this.kt.thresholds:[].concat(this.xt.threshold||0)}disconnect(){this.kt?this.kt.disconnect():this.St.length=0}takeRecords(){return this.kt?this.kt.takeRecords():[]}observe(t){this.kt?this.kt.observe(t):-1==this.St.indexOf(t)&&this.St.push(t)}unobserve(t){if(this.kt)this.kt.unobserve(t);else{const e=this.St.indexOf(t);-1!=e&&this.St.splice(e,1)}}Vt(t){const e=new t(this.It,this.xt);this.kt=e;for(const t of this.St)e.observe(t);this.St.length=0}};Zt._upgraders=[];var{hasOwnProperty:te}=Object.prototype;function ee(t){return!t.ResizeObserver||!!t.ResizeObserver._stub}var ie,se=class t{constructor(e){this.It=e,this.St=[],this.kt=null,t._upgraders.push(this.Vt.bind(this))}disconnect(){this.kt?this.kt.disconnect():this.St.length=0}observe(t){this.kt?this.kt.observe(t):-1==this.St.indexOf(t)&&this.St.push(t)}unobserve(t){if(this.kt)this.kt.unobserve(t);else{const e=this.St.indexOf(t);-1!=e&&this.St.splice(e,1)}}Vt(t){const e=new t(this.It);this.kt=e;for(const t of this.St)e.observe(t);this.St.length=0}};function ne(t,e,i,s){ve(t=de(t),t,e,i),s&&ge(t,e)}function re(t,e,i,s){const n=me(t),r=fe(n);ve(r,n,e,i),s&&ge(r,e)}function oe(t,e){return ge(t=de(t),e)}function he(t,e){return Ie(t=de(t),e)?ge(t,e):null}function ae(t,e){return ge(fe(me(t)),e)}function ce(t,e){const i=fe(me(t));return Ie(i,e)?ge(i,e):null}function le(t,e){return _e(fe(t),e)}function ue(t,e){return Ae(fe(t),e)}function de(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}function pe(t,e){const i=(t.ownerDocument||t).defaultView,s=e||de(i);if(i&&i!=s&&de(i)==s)try{return i.frameElement}catch(t){}return null}function me(t){return t.nodeType?function(t){return oe(t,"ampdoc")}(Tt(t)).getAmpDoc(t):t}function fe(t){const e=me(t);return e.isSingleDoc()?e.win:e}function ge(t,e){wt(Ie(t,e));const i=ye(t)[e];return i.obj||(wt(i.ctor),wt(i.context),i.obj=new i.ctor(i.context),wt(i.obj),i.context=null,i.resolve&&i.resolve(i.obj)),i.obj}function ve(t,e,i,s,n,r){const o=ye(t);let h=o[i];h||(h=o[i]={obj:null,promise:null,resolve:null,reject:null,context:null,ctor:null,sharedInstance:r||!1}),!n&&h.ctor||(h.ctor=s,h.context=e,h.sharedInstance=r||!1,h.resolve&&ge(t,i))}function _e(t,e){const i=Ae(t,e);if(i)return i;const s=ye(t);return s[e]=we(),s[e].promise}function Ae(t,e){const i=ye(t)[e];return i?i.promise?i.promise:(ge(t,e),i.promise=Promise.resolve(i.obj)):null}function ye(t){let e=t.__AMP_SERVICES;return e||(e=t.__AMP_SERVICES={}),e}function Pe(t){return"function"==typeof t.dispose}function be(t,e){if(Pe(e))try{(function(t){return wt(Pe(t)),t})(e).dispose()}catch(e){It().error("SERVICE","failed to dispose service",t,e)}}function Ie(t,e){const i=t.__AMP_SERVICES&&t.__AMP_SERVICES[e];return!(!i||!i.ctor)}function we(){const t=new n,{promise:e,reject:i,resolve:s}=t;return e.catch((()=>{})),{obj:null,promise:e,resolve:s,reject:i,context:null,ctor:null}}se._upgraders=[],self.document&&(Xt(ie=self)&&function(t){if(!t.IntersectionObserver)return t.IntersectionObserver=Zt,void(t.IntersectionObserver._stub=Zt);const e=t.IntersectionObserver;t.IntersectionObserver=function(t,e){return function(i,s){var n;return 9===(null==s||null===(n=s.root)||void 0===n?void 0:n.nodeType)?new e(i,s):new t(i,s)}}(t.IntersectionObserver,Zt),t.IntersectionObserver._stub=Zt,t.IntersectionObserver._native=e}(ie),function(t){t.IntersectionObserverEntry&&!("isIntersecting"in t.IntersectionObserverEntry.prototype)&&Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{enumerable:!0,configurable:!0,get(){return this.intersectionRatio>0}})}(ie),function(t){ee(t)&&function(t){t.ResizeObserver||(t.ResizeObserver=se,t.ResizeObserver._stub=se)}(t)}(self),function(t){t.AbortController||(Object.defineProperty(t,"AbortController",{configurable:!0,enumerable:!1,writable:!0,value:e}),Object.defineProperty(t,"AbortSignal",{configurable:!0,enumerable:!1,writable:!0,value:i}))}(self));var Ee="amp-experiment-toggles",Te="__AMP__EXPERIMENT_TOGGLES";function Se(t,e){return!!Me(t)[e]}function Re(t,e,i,s){const n=Se(t,e),r=null!=i?i:!n;if(r!=n&&(Me(t)[e]=r,!s)){const i=xe(t);i[e]=r,function(t,e){const i=[];for(const t in e)i.push((!1===e[t]?"-":"")+t);try{var s;null===(s=t.localStorage)||void 0===s||s.setItem(Ee,i.join(","))}catch(t){Pt().error("EXPERIMENTS","Failed to save experiments to localStorage.")}}(t,i)}return r}function Me(t){var e,i,s,n,r;if(t[Te])return t[Te];t[Te]=m();const o=t[Te];V(o);const h=_(_({},null!==(e=t.AMP_CONFIG)&&void 0!==e?e:{}),null!==(i=t.AMP_EXP)&&void 0!==i?i:D((null===(s=t.__AMP_EXP)||void 0===s?void 0:s.textContent)||"{}"));for(const t in h){const e=h[t];"number"==typeof e&&e>=0&&e<=1&&(o[t]=Math.random()=0?"custom-template":"custom-element",e),s.setAttribute("data-script",e),s.setAttribute("i-amphtml-inserted",""),s.setAttribute("type","module"),Kt(t.document,s),s.setAttribute("crossorigin","anonymous");const n=function(t,e,i,s){return`${et}/rtv/${ct().rtvVersion}/v0/${e}${i?"-"+i:""}.mjs`}(t.location,e,i);let r={createScriptURL:function(t){return je.test(t)||"fonts.googleapis.com"===new URL(t).host?t:""}};return self.trustedTypes&&self.trustedTypes.createPolicy&&(r=self.trustedTypes.createPolicy("extension-script#createExtensionScript",r)),s.src=r.createScriptURL(n),s}function Ce(t,e,i,s,n=!0){const r=":not([i-amphtml-loaded-new-version])"+(n?"":":not([i-amphtml-inserted])"),o=t.document.head.querySelectorAll(`script[src*="/${e}-"]${r}`),h=[];for(let t=0;tfunction(t,e,i){return Et(t,"Service %s was requested to be provided through %s, but %s is not loaded in the current page. To fix this problem load the JavaScript file for %s in this page.",e,i,i,i)}(t,e,i)))}function De(t,e,i,s){const n=ue(t,e);if(n)return n;const r=me(t);return r.whenExtensionsKnown().then((()=>{const t=r.getExtensionVersion(i);return t?oe(r.win,"extensions").waitForExtension(i,t):null})).then((i=>i?s?ue(t,e):le(t,e):null))}var ze=t=>De(t,"access","amp-access"),Ue=t=>De(t,"subscriptions","amp-subscriptions"),Fe=t=>ce(t,"action"),$e=t=>Le(t,"activity","amp-analytics"),He=t=>me(t),Be=t=>oe(t,"ampdoc"),Ge=t=>function(t,e,i){const s=ce(t,e);return s?Promise.resolve(s):De(t,e,"amp-bind")}(t,"bind"),qe=t=>le(t,"cid"),We=t=>ae(t,"documentInfo").get(),Ke=t=>oe(t,"extensions"),Qe=t=>ae(t,"history"),Ye=t=>ae(t,"mutator"),Je=t=>oe(t,"performance"),Xe=t=>oe(t,"platform"),Ze=t=>oe(t,"preconnect"),ti=t=>ae(t,"resources"),ei=t=>function(t,e){return ge(t,"timer")}(t),ii=t=>ce(t,"url-replace"),si=t=>De(t,"geo","amp-geo",!0),ni=t=>ce(t,"url"),ri=t=>ae(t,"viewer"),oi=t=>oe(t,"vsync"),hi=t=>ae(t,"viewport");function ai(t){return function(t,e){const i=e.documentElement;return["⚡4email","amp4email"].some((t=>i.hasAttribute(t)))}(0,t)}var ci,li="building",ui="mounting",di="loading",pi="complete",mi="error";function fi(t){return t.readyState!=di&&"uninitialized"!=t.readyState}function gi(t){return t.readyState==pi}function vi(t,e){_i(t,fi,e)}function _i(t,e,i){let s=e(t);if(s)i(t);else{const n=()=>{e(t)&&(s||(s=!0,i(t)),t.removeEventListener("readystatechange",n))};t.addEventListener("readystatechange",n)}}function Ai(t){return new Promise((e=>{vi(t,e)}))}function yi(t){return new Promise((e=>{_i(t,gi,e)}))}function Pi(t,e,i,s){let n=t,r=i,o=t=>{try{return r(t)}catch(t){var e,i;throw null===(e=(i=self).__AMP_REPORT_ERROR)||void 0===e||e.call(i,t),t}};const h=function(){if(void 0!==ci)return ci;ci=!1;try{const t={get capture(){return ci=!0,!1}};self.addEventListener("test-options",null,t),self.removeEventListener("test-options",null,t)}catch(t){}return ci}(),a=!(null==s||!s.capture);return n.addEventListener(e,o,h?s:a),()=>{null==n||n.removeEventListener(e,o,h?s:a),r=null,n=null,o=null}}var bi="Failed to load:";function Ii(t,e,i,s){const n={detail:i};return Object.assign(n,s),new t.CustomEvent(e,n)}function wi(t,e,i,s){return Pi(t,e,i,s)}function Ei(t){return t.data}function Ti(t,e,i,s){let n=i;const r=Pi(t,e,(t=>{try{n(t)}finally{n=null,r()}}),s);return r}function Si(t){let e,i;if(function(t){return!!(t.complete||"complete"==t.readyState||Ri(t)&&t.readyState>0||t.document&&"complete"==t.document.readyState)}(t))return Promise.resolve(t);const s=Ri(t);return s&&t.__AMP_MEDIA_LOAD_FAILURE_SRC===t.currentSrc?Promise.reject(t):new Promise(((n,r)=>{if(e=s?Ti(t,"loadedmetadata",n,{capture:!0}):Ti(t,"load",n),!t.tagName)return;let o=t;if(s&&!t.hasAttribute("src")&&(o=jt(t,(t=>"SOURCE"===t.tagName)),!o))return r(new Error("Media has no source."));i=Ti(o,"error",r)})).then((()=>(i&&i(),t)),(()=>{e&&e(),function(t){Ri(t)&&(t.__AMP_MEDIA_LOAD_FAILURE_SRC=t.currentSrc||!0);let e=t;throw e&&e.src&&(e=e.src),Pt().createError(bi,e)}(t)}))}function Ri(t){return"AUDIO"===t.tagName||"VIDEO"===t.tagName}var Mi={"navigationStart":1,"redirectStart":1,"redirectEnd":1,"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"secureConnectionStart":1,"connectEnd":1,"requestStart":1,"responseStart":1,"responseEnd":1,"domLoading":2,"domInteractive":2,"domContentLoaded":2,"domComplete":2,"loadEventStart":3,"loadEventEnd":4};function xi(t,e,i){const n=Mi[e]||3,r=i?Mi[i]||3:n,o=Math.max(n,r);let h;if(1===o)h=s();else if(2===o)h=yi(t.document);else if(3===o)h=Si(t);else if(4===o){const e=ei(t);h=Si(t).then((()=>e.promise(1)))}return wt(h),h.then((()=>ki(t,e,i)))}function ki(t,e,i){const s=t.performance&&t.performance.timing;if(!s||0==s.navigationStart)return;const n=void 0===i?s[e]:s[i]-s[e];return!T(n)||n<0?void 0:n}function ji(t,e){const i=t.performance&&t.performance.navigation;if(i&&void 0!==i[e])return i[e]}JSON.parse('{"_ping_":{"renderStartImplemented":true,"clientIdScope":"_PING_","consentHandlingOverride":true},"1wo":{},"24smi":{"prefetch":"https://jsn.24smi.net/smi.js","preconnect":"https://data.24smi.net"},"4wmarketplace":{"renderStartImplemented":true},"a8":{"prefetch":"https://statics.a8.net/amp/ad.js","renderStartImplemented":true},"a9":{"prefetch":"https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"},"accesstrade":{"prefetch":"https://h.accesstrade.net/js/amp/amp.js"},"adagio":{"prefetch":"https://js-ssl.neodatagroup.com/adagio_amp.js","preconnect":["https://ad-aws-it.neodatagroup.com","https://tracker.neodatagroup.com"],"renderStartImplemented":true},"adblade":{"prefetch":"https://web.adblade.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.adblade.com","https://static.adblade.com"],"renderStartImplemented":true},"adbutler":{"prefetch":"https://servedbyadbutler.com/app.js"},"adenza":{"renderStartImplemented":true},"adform":{},"adfox":{"prefetch":"https://yandex.ru/ads/system/context.js","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"adgeneration":{"prefetch":"https://i.socdm.com/sdk/js/adg-script-loader.js"},"adglare":{"renderStartImplemented":true},"adhese":{"renderStartImplemented":true},"adincube":{"renderStartImplemented":true},"adition":{},"adman":{},"admanmedia":{"renderStartImplemented":true},"admixer":{"renderStartImplemented":true,"preconnect":["https://inv-nets.admixer.net","https://cdn.admixer.net"]},"adnuntius":{"prefetch":"https://cdn.adnuntius.com/adn.js","renderStartImplemented":true},"adocean":{"consentHandlingOverride":true},"adop":{},"adpicker":{"renderStartImplemented":true},"adplugg":{"prefetch":"https://www.adplugg.com/serve/js/ad.js","renderStartImplemented":true},"adpon":{"prefetch":"https://ad.adpon.jp/amp.js","clientIdScope":"AMP_ECID_ADPON"},"adpushup":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.adpushup.com"},"adreactor":{},"ads2bid":{"renderStartImplemented":true},"adsensor":{"prefetch":"https://wfpscripts.webspectator.com/amp/adsensor-amp.js","clientIdScope":"amp_ecid_adensor","renderStartImplemented":true},"adservsolutions":{},"adskeeper":{"renderStartImplemented":true,"preconnect":["https://jsc.adskeeper.com","https://servicer.adskeeper.com","https://s-img.adskeeper.com"]},"adsloom":{"clientIdScope":"AMP_ECID_ADSLOOM"},"adsnative":{"prefetch":"https://static.adsnative.com/static/js/render.v1.js","preconnect":"https://api.adsnative.com"},"adspeed":{"preconnect":"https://g.adspeed.net","renderStartImplemented":true},"adspirit":{},"adstir":{"prefetch":"https://js.ad-stir.com/js/adstir_async.js","preconnect":"https://ad.ad-stir.com"},"adstyle":{"prefetch":"https://widgets.ad.style/amp.js","preconnect":["https://w.ad.style"]},"adtech":{"prefetch":"https://s.aolcdn.com/os/ads/adsWrapper3.js","preconnect":["https://mads.at.atwola.com","https://aka-cdn.adtechus.com"]},"adtelligent":{"preconnect":["https://s.adtelligent.com"],"renderStartImplemented":true},"adthrive":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js"],"preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"adsviu":{"prefetch":"https://widget.adsviu.com/adsviuAMP.js","preconnect":["https://api.adsviu.com"]},"adunity":{"preconnect":["https://content.adunity.com"],"renderStartImplemented":true},"aduptech":{"prefetch":"https://s.d.adup-tech.com/jsapi","preconnect":["https://d.adup-tech.com","https://m.adup-tech.com","https://v.adup-tech.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"adventive":{"preconnect":["https://ads.adventive.com","https://amp.adventivedev.com"],"renderStartImplemented":true},"adverline":{"prefetch":"https://ads.adverline.com/richmedias/amp.js","preconnect":["https://adnext.fr"],"renderStartImplemented":true},"adverticum":{},"advertserve":{"renderStartImplemented":true},"adyoulike":{"consentHandlingOverride":true,"prefetch":"https://fo-static.omnitagjs.com/amp.js","renderStartImplemented":true},"adzerk":{},"affiliateb":{"prefetch":"https://track.affiliate-b.com/amp/a.js","renderStartImplemented":true},"affinity":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn4-hbs.affinitymatrix.com"},"aja":{"prefetch":["https://cdn.as.amanad.adtdp.com/sdk/asot-amp.js","https://cdn.as.amanad.adtdp.com/sdk/asot-v2.js"],"preconnect":["https://ad.as.amanad.adtdp.com"]},"appvador":{"prefetch":["https://cdn.apvdr.com/js/VastAdUnit.min.js","https://cdn.apvdr.com/js/VideoAd.min.js","https://cdn.apvdr.com/js/VideoAd3PAS.min.js","https://cdn.apvdr.com/js/VideoAdAutoPlay.min.js","https://cdn.apvdr.com/js/VideoAdNative.min.js"],"renderStartImplemented":true},"amoad":{"prefetch":["https://j.amoad.com/js/a.js","https://j.amoad.com/js/n.js"],"preconnect":["https://d.amoad.com","https://i.amoad.com","https://m.amoad.com","https://v.amoad.com"]},"amplified":{"preconnect":"https://srv.clickfuse.com","renderStartImplemented":true},"andbeyond":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.andbeyond.media"},"aniview":{"renderStartImplemented":true},"anyclip":{"prefetch":"https://player.anyclip.com/anyclip-widget/lre-widget/prod/v1/src/lre.js","preconnect":["https://trafficmanager.anyclip.com","https://lreprx-server.anyclip.com"],"renderStartImplemented":true},"appnexus":{"prefetch":"https://acdn.adnxs.com/ast/ast.js","preconnect":"https://ib.adnxs.com","renderStartImplemented":true},"atomx":{"prefetch":"https://s.ato.mx/p.js"},"avantisvideo":{"renderStartImplemented":true},"beaverads":{"renderStartImplemented":true},"beopinion":{"prefetch":"https://widget.beop.io/sdk.js","preconnect":["https://t.beop.io","https://s.beop.io","https://data.beop.io"],"renderStartImplemented":true},"bidtellect":{},"blade":{"prefetch":"https://sdk.streamrail.com/blade/sr.blade.js","renderStartImplemented":true},"brainy":{},"bringhub":{"renderStartImplemented":true,"preconnect":["https://static.bh-cdn.com","https://core-api.bringhub.io"]},"broadbandy":{"renderStartImplemented":true},"broadstreetads":{"prefetch":"https://cdn.broadstreetads.com/init-2.min.js","renderStartImplemented":true},"byplay":{},"caajainfeed":{"prefetch":["https://cdn.amanad.adtdp.com/sdk/ajaamp.js"],"preconnect":["https://ad.amanad.adtdp.com"]},"capirs":{"renderStartImplemented":true},"caprofitx":{"prefetch":["https://cdn.caprofitx.com/pfx.min.js","https://cdn.caprofitx.com/tags/amp/profitx_amp.js"],"preconnect":"https://ad.caprofitx.adtdp.com"},"cedato":{"renderStartImplemented":true},"chargeads":{},"cognativex":{},"colombia":{"prefetch":"https://static.clmbtech.com/ad/commons/js/colombia-amp.js"},"colombiafeed":{"prefetch":"https://static.clmbtech.com/c1e/static/themes/js/colombiafeed-amp.js"},"conative":{"renderStartImplemented":true},"connatix":{"renderStartImplemented":true},"contentad":{},"criteo":{"prefetch":"https://static.criteo.net/js/ld/publishertag.js","preconnect":"https://cas.criteo.com"},"csa":{"prefetch":"https://www.google.com/adsense/search/ads.js"},"clever":{"renderStartImplemented":true},"dable":{"preconnect":["https://static.dable.io","https://api.dable.io","https://images.dable.io"],"renderStartImplemented":true},"dex":{"renderStartImplemented":true},"digiteka":{"renderStartImplemented":true},"directadvert":{"renderStartImplemented":true},"distroscale":{"preconnect":["https://c.jsrdn.com","https://s.jsrdn.com","https://i.jsrdn.com"],"renderStartImplemented":true},"dotandads":{"prefetch":"https://amp.ad.dotandad.com/dotandadsAmp.js","preconnect":"https://bal.ad.dotandad.com"},"dynad":{"preconnect":["https://t.dynad.net","https://tm.jsuol.com.br"]},"eadv":{"renderStartImplemented":true,"clientIdScope":"AMP_ECID_EADV","prefetch":["https://www.eadv.it/track/esr.min.js","https://www.eadv.it/track/ead.min.js"]},"empower":{"prefetch":"https://cdn.empower.net/sdk/amp-ad.min.js","renderStartImplemented":true},"engageya":{},"epeex":{},"eplanning":{"prefetch":"https://us.img.e-planning.net/layers/epl-amp.js"},"exco":{"renderStartImplemented":true},"ezoic":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js","https://g.ezoic.net/ezoic/ampad.js"],"clientIdScope":"AMP_ECID_EZOIC","consentHandlingOverride":true,"renderStartImplemented":true},"f1e":{"prefetch":"https://img.ak.impact-ad.jp/util/f1e_amp.min.js"},"f1h":{"preconnect":"https://img.ak.impact-ad.jp","renderStartImplemented":true},"fairground":{},"fake":{},"fake-delayed":{"renderStartImplemented":true},"feedad":{"clientIdScope":"__fa_amp","prefetch":"https://web.feedad.com/sdk/feedad-async.js","renderStartImplemented":true,"fullWidthHeightRatio":1.7777777777777777,"consentHandlingOverride":true},"felmat":{"prefetch":"https://t.felmat.net/js/fmamp.js","renderStartImplemented":true},"finative":{},"firstimpression":{"prefetch":"https://ecdn.firstimpression.io/static/js/fiamp.js","preconnect":"https://cdn.firstimpression.io","renderStartImplemented":true,"consentHandlingOverride":true},"flite":{},"fluct":{"prefetch":["https://pdn.adingo.jp/p.js"],"preconnect":["https://cdn-fluct.sh.adingo.jp","https://sh.adingo.jp","https://i.adingo.jp"]},"forkmedia":{"renderStartImplemented":true},"freewheel":{"prefetch":"https://cdn.stickyadstv.com/prime-time/fw-amp.min.js","renderStartImplemented":true},"fusion":{"prefetch":"https://assets.adtomafusion.net/fusion/latest/fusion-amp.min.js"},"gecko":{},"genieessp":{"prefetch":"https://js.gsspcln.jp/l/amp.js"},"geozo":{"renderStartImplemented":true},"giraff":{"renderStartImplemented":true},"glomex":{"prefetch":"https://player.glomex.com/integration/1/amp-embed.js"},"gmossp":{"prefetch":"https://cdn.gmossp-sp.jp/ads/amp.js"},"gumgum":{"prefetch":"https://js.gumgum.com/slot.js","renderStartImplemented":true},"holder":{"prefetch":"https://i.holder.com.ua/js2/holder/ajax/ampv1.js","preconnect":"https://h.holder.com.ua","renderStartImplemented":true},"ibillboard":{},"idealmedia":{"renderStartImplemented":true,"preconnect":["https://jsc.idealmedia.io","https://servicer.idealmedia.io","https://s-img.idealmedia.io/"]},"imedia":{"prefetch":"https://i.imedia.cz/js/im3.js","renderStartImplemented":true},"imobile":{"prefetch":"https://spamp.i-mobile.co.jp/script/amp.js","preconnect":"https://spad.i-mobile.co.jp"},"imonomy":{"renderStartImplemented":true},"improvedigital":{},"incrementx":{"prefetch":"https://cdn.incrementxserv.com/ixamp.js","renderStartImplemented":true},"industrybrains":{"prefetch":"https://web.industrybrains.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.industrybrains.com","https://static.industrybrains.com"],"renderStartImplemented":true},"inmobi":{"prefetch":"https://cf.cdn.inmobi.com/ad/inmobi.secure.js","renderStartImplemented":true},"innity":{"prefetch":"https://cdn.innity.net/admanager.js","preconnect":"https://as.innity.com","renderStartImplemented":true},"insticator":{"preconnect":"https://d3lcz8vpax4lo2.cloudfront.net","renderStartImplemented":true},"insurads":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://tpc.googlesyndication.com","https://cdn.insurads.com","https://services.insurads.com","https://messaging.insurads.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"invibes":{"prefetch":"https://k.r66net.com/GetAmpLink","renderStartImplemented":true,"consentHandlingOverride":true},"iprom":{"prefetch":"https://cdn.ipromcloud.com/ipromNS.js"},"ix":{"prefetch":["https://js-sec.indexww.com/apl/amp.js"],"preconnect":"https://as-sec.casalemedia.com","renderStartImplemented":true},"jubna":{},"kargo":{},"ketshwa":{},"kiosked":{"renderStartImplemented":true},"jioads":{"renderStartImplemented":true},"jixie":{"prefetch":["https://scripts.jixie.media/jxamp.min.js"],"clientIdScope":"__jxamp","clientIdCookieName":"_jxx","renderStartImplemented":true},"kixer":{"prefetch":"https://cdn.kixer.com/ad/load.js","renderStartImplemented":true},"kuadio":{},"lentainform":{"renderStartImplemented":true,"preconnect":["https://jsc.lentainform.com","https://servicer.lentainform.com","https://s-img.lentainform.com"]},"ligatus":{"prefetch":"https://ssl.ligatus.com/render/ligrend.js","renderStartImplemented":true},"lockerdome":{"prefetch":"https://cdn2.lockerdomecdn.com/_js/amp.js","renderStartImplemented":true},"logly":{"preconnect":["https://l.logly.co.jp","https://cdn.logly.co.jp"],"renderStartImplemented":true},"loka":{"prefetch":"https://loka-cdn.akamaized.net/scene/amp.js","preconnect":["https://scene-front.lokaplatform.com","https://loka-materials.akamaized.net"],"renderStartImplemented":true},"luckyads":{"renderStartImplemented":true},"macaw":{"renderStartImplemented":true},"mads":{"prefetch":"https://eu2.madsone.com/js/tags.js"},"mantis-display":{"prefetch":"https://assets.mantisadnetwork.com/mantodea.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://res.cloudinary.com","https://resize.mantisadnetwork.com"]},"marfeel":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://live.mrf.io","https://tpc.googlesyndication.com","https://fastlane.rubiconproject.com","https://htlb.casalemedia.com","https://prg.smartadserver.com","https://ib.adnxs.com","https://bidder.criteo.com","https://marfeel-d.openx.net","https://ice.360yield.com","https://mbid.marfeelrev.com"],"consentHandlingOverride":true},"mantis-recommend":{"prefetch":"https://assets.mantisadnetwork.com/recommend.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://resize.mantisadnetwork.com"]},"mediaad":{},"medianet":{"preconnect":"https://contextual.media.net","renderStartImplemented":true},"mediavine":{"prefetch":"https://amp.mediavine.com/wrapper.min.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"medyanet":{"renderStartImplemented":true},"meg":{"renderStartImplemented":true},"mgid":{"renderStartImplemented":true,"preconnect":["https://jsc.mgid.com","https://servicer.mgid.com","https://s-img.mgid.com"]},"microad":{"prefetch":"https://j.microad.net/js/camp.js","preconnect":["https://s-rtb.send.microad.jp","https://s-rtb.send.microadinc.com","https://cache.send.microad.jp","https://cache.send.microadinc.com","https://deb.send.microad.jp"]},"miximedia":{"renderStartImplemented":true},"mixpo":{"prefetch":"https://cdn.mixpo.com/js/loader.js","preconnect":["https://player1.mixpo.com","https://player2.mixpo.com"]},"monetizer101":{"renderStartImplemented":true},"mox":{"prefetch":["https://ad.mox.tv/js/amp.min.js","https://ad.mox.tv/mox/mwayss_invocation.min.js"],"renderStartImplemented":true},"my6sense":{"renderStartImplemented":true},"myfinance":{"preconnect":["https://a.myfidevs.io","https://static.myfinance.com","https://www.myfinance.com"],"renderStartImplemented":true,"clientIdScope":"AMP_ECID_GOOGLE"},"myoffrz":{"renderStartImplemented":true},"mytarget":{"prefetch":"https://ad.mail.ru/static/ads-async.js","renderStartImplemented":true},"myua":{"renderStartImplemented":true},"mywidget":{"preconnect":"https://likemore-fe.go.mail.ru","prefetch":"https://likemore-go.imgsmail.ru/widget_amp.js","renderStartImplemented":true},"nativeroll":{"prefetch":"https://cdn01.nativeroll.tv/js/seedr-player.min.js"},"nativery":{"preconnect":"https://cdn.nativery.com"},"nativo":{"prefetch":"https://s.ntv.io/serve/load.js"},"navegg":{"renderStartImplemented":true},"nend":{"prefetch":"https://js1.nend.net/js/amp.js","preconnect":["https://output.nend.net","https://img1.nend.net"]},"netletix":{"preconnect":["https://call.netzathleten-media.de"],"renderStartImplemented":true},"noddus":{"prefetch":"https://noddus.com/amp_loader.js","renderStartImplemented":true},"nokta":{"prefetch":"https://static.virgul.com/theme/mockups/noktaamp/ampjs.js","renderStartImplemented":true},"nws":{},"oblivki":{"renderStartImplemented":true},"onead":{"prefetch":"https://ad-specs.guoshipartners.com/static/js/onead-amp.min.js","renderStartImplemented":true},"onnetwork":{"renderStartImplemented":true},"openadstream":{},"openx":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"opinary":{"renderStartImplemented":true},"outbrain":{"renderStartImplemented":true,"prefetch":"https://widgets.outbrain.com/widgetAMP/outbrainAMP.min.js","preconnect":["https://odb.outbrain.com"],"consentHandlingOverride":true},"pixels":{"prefetch":"https://cdn.adsfactor.net/amp/pixels-amp.min.js","clientIdCookieName":"__AF","renderStartImplemented":true},"playstream":{"prefetch":"https://app.playstream.media/js/amp.js","renderStartImplemented":true},"plista":{},"polymorphicads":{"prefetch":"https://www.polymorphicads.jp/js/amp.js","preconnect":["https://img.polymorphicads.jp","https://ad.polymorphicads.jp"],"renderStartImplemented":true},"popin":{"renderStartImplemented":true},"postquare":{},"ppstudio":{"renderStartImplemented":true},"pressboard":{"renderStartImplemented":true},"promoteiq":{},"pubexchange":{},"pubfuture":{"renderStartImplemented":true},"pubguru":{"renderStartImplemented":true},"pubmatic":{"prefetch":"https://ads.pubmatic.com/AdServer/js/amp.js"},"pubmine":{"prefetch":["https://s.pubmine.com/head.js"],"preconnect":"https://delivery.g.switchadhub.com","renderStartImplemented":true},"pubscale":{"renderStartImplemented":true},"puffnetwork":{"prefetch":"https://static.puffnetwork.com/amp_ad.js","renderStartImplemented":true},"pulse":{"prefetch":"https://static.pulse.mail.ru/pulse-widget-amp.js","renderStartImplemented":true},"pulsepoint":{"prefetch":"https://ads.contextweb.com/TagPublish/getjs.static.js","preconnect":"https://tag.contextweb.com"},"purch":{"prefetch":"https://ramp.purch.com/serve/creative_amp.js","renderStartImplemented":true},"quoraad":{"prefetch":"https://a.quora.com/amp_ad.js","preconnect":"https://ampad.quora.com","renderStartImplemented":true},"r9x":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.r9x.in"},"rakutenunifiedads":{"prefetch":"https://s-cdn.rmp.rakuten.co.jp/js/amp.js","renderStartImplemented":true},"rbinfox":{"renderStartImplemented":true},"rcmwidget":{"prefetch":"https://rcmjs.rambler.ru/static/rcmw/rcmw-amp.js","renderStartImplemented":true,"clientIdScope":"__rcmw_amp"},"readmo":{"renderStartImplemented":true},"realclick":{"renderStartImplemented":true},"recomad":{"renderStartImplemented":true},"recreativ":{"prefetch":"https://go.rcvlink.com/static/amp.js","renderStartImplemented":true},"relap":{"renderStartImplemented":true},"relappro":{"prefetch":"https://cdn.relappro.com/adservices/amp/relappro.amp.min.js","preconnect":"https://tags.relappro.com","renderStartImplemented":true},"remixd":{"preconnect":"https://tags.remixd.com","renderStartImplemented":true},"revcontent":{"prefetch":"https://labs-cdn.revcontent.com/build/amphtml/revcontent.amp.min.js","preconnect":["https://trends.revcontent.com","https://cdn.revcontent.com","https://img.revcontent.com"],"renderStartImplemented":true},"revjet":{"prefetch":"https://cdn.revjet.com/~cdn/JS/03/amp.js","renderStartImplemented":true},"rfp":{"prefetch":"https://js.rfp.fout.jp/rfp-amp.js","preconnect":"https://ad.rfp.fout.jp","renderStartImplemented":true},"rnetplus":{},"rubicon":{},"runative":{"prefetch":"https://cdn.run-syndicate.com/sdk/v1/n.js","renderStartImplemented":true},"sabavision":{"renderStartImplemented":true},"sas":{"renderStartImplemented":true},"seedingalliance":{},"seedtag":{"prefetch":"https://t.seedtag.com/c/loader.js","preconnect":["https://s.seedtag.com"],"consentHandlingOverride":true,"renderStartImplemented":true},"sekindo":{"renderStartImplemented":true},"sharethrough":{"renderStartImplemented":true},"shemedia":{"prefetch":["https://securepubads.g.doubleclick.net/tag/js/gpt.js","https://ads.shemedia.com/static/amp.js"],"preconnect":["https://partner.googleadservices.com","https://tpc.googlesyndication.com","https://ads.blogherads.com"],"renderStartImplemented":true},"sklik":{"prefetch":"https://c.imedia.cz/js/amp.js"},"skoiy":{"preconnect":["https://svas.skoiy.xyz"]},"slimcutmedia":{"preconnect":["https://sb.freeskreen.com","https://static.freeskreen.com","https://video.freeskreen.com"],"renderStartImplemented":true},"smartads":{"prefetch":"https://smart-ads.biz/amp.js"},"smartadserver":{"prefetch":"https://ec-ns.sascdn.com/diff/js/amp.v0.js","preconnect":"https://static.sascdn.com","renderStartImplemented":true},"smartclip":{"prefetch":"https://cdn.smartclip.net/amp/amp.v0.js","preconnect":"https://des.smartclip.net","renderStartImplemented":true},"smi2":{"renderStartImplemented":true},"smilewanted":{"prefetch":"https://prebid.smilewanted.com/amp/amp.js","preconnect":"https://static.smilewanted.com","renderStartImplemented":true},"sogouad":{"prefetch":"https://theta.sogoucdn.com/wap/js/aw.js","renderStartImplemented":true},"sortable":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://tags-cdn.deployads.com","https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"sona":{"renderStartImplemented":true},"sovrn":{"prefetch":"https://ap.lijit.com/www/sovrn_amp/sovrn_ads.js"},"speakol":{"renderStartImplemented":true},"spotx":{"preconnect":"https://js.spotx.tv","renderStartImplemented":true},"springAds":{"preconnect":["https://ib.adnxs.com"],"renderStartImplemented":true},"ssp":{"prefetch":"https://ssp.imedia.cz/static/js/ssp.js","renderStartImplemented":true,"consentHandlingOverride":true},"strossle":{"preconnect":["https://amp.spklw.com","https://widgets.sprinklecontent.com","https://images.sprinklecontent.com"]},"sunmedia":{"preconnect":["https://static.sunmedia.tv","https://services.sunmedia.tv","https://creative.sunmedia.tv","https://vod.sunmedia.tv","https://mx-sunmedia.videoplaza.tv","https://es-sunicontent.videoplaza.tv","https://es-sunelespanol.videoplaza.tv","https://es-suncopperland.videoplaza.tv","https://search.spotxchange.com","https://tpc.googlesyndication.com"],"clientIdScope":"AMP_ECID_SUNMEDIA","fullWidthHeightRatio":1,"renderStartImplemented":true},"svknative":{"renderStartImplemented":true,"prefetch":"https://widget.svk-native.ru/js/embed.js"},"swoop":{"prefetch":"https://www.swoop-amp.com/amp.js","preconnect":["https://www.swpsvc.com","https://client.swpcld.com"],"renderStartImplemented":true},"taboola":{},"tagon":{"prefetch":"https://js.tagon.co/tagon-amp.min.js"},"tail":{"renderStartImplemented":true},"tcsemotion":{"prefetch":"https://ads.tcsemotion.com/www/delivery/amphb.js","renderStartImplemented":true},"teads":{"prefetch":"https://a.teads.tv/media/format/v3/teads-format.min.js","preconnect":["https://cdn2.teads.tv","https://t.teads.tv","https://r.teads.tv"],"consentHandlingOverride":true},"temedya":{"prefetch":["https://widget.cdn.vidyome.com/builds/loader-amp.js","https://vidyome-com.cdn.vidyome.com/vidyome/builds/widgets.js"],"renderStartImplemented":true},"torimochi":{"renderStartImplemented":true},"tracdelight":{"prefetch":"https://scripts.tracdelight.io/amp.js","renderStartImplemented":true},"trafficstars":{"prefetch":"https://cdn.tsyndicate.com/sdk/v1/master.spot.js","renderStartImplemented":true},"triplelift":{},"trugaze":{"clientIdScope":"__tg_amp","renderStartImplemented":true},"uas":{"prefetch":"https://ads.pubmatic.com/AdServer/js/phoenix.js"},"ucfunnel":{"renderStartImplemented":true},"uzou":{"preconnect":["https://speee-ad.akamaized.net"],"renderStartImplemented":true},"unruly":{"prefetch":"https://video.unrulymedia.com/native/native-loader.js","renderStartImplemented":true},"valuecommerce":{"prefetch":"https://amp.valuecommerce.com/amp_bridge.js","preconnect":["https://ad.jp.ap.valuecommerce.com"],"renderStartImplemented":true},"vdoai":{"prefetch":"https://a.vdo.ai/core/dependencies_amp/vdo.min.js","renderStartImplemented":true},"videointelligence":{"preconnect":"https://s.vi-serve.com","renderStartImplemented":true},"videonow":{"renderStartImplemented":true},"viralize":{"renderStartImplemented":true},"vlyby":{"prefetch":"https://cdn.vlyby.com/amp/qad/qad-outer2.js"},"vmfive":{"prefetch":"https://man.vm5apis.com/dist/adn-web-sdk.js","preconnect":["https://vawpro.vm5apis.com","https://vahfront.vm5apis.com"],"renderStartImplemented":true},"vox":{"renderStartImplemented":true},"webediads":{"prefetch":"https://eu1.wbdds.com/amp.min.js","preconnect":["https://goutee.top","https://mediaathay.org.uk"],"renderStartImplemented":true},"weborama-display":{"prefetch":["https://cstatic.weborama.fr/js/advertiserv2/adperf_launch_1.0.0_scrambled.js","https://cstatic.weborama.fr/js/advertiserv2/adperf_core_1.0.0_scrambled.js"]},"whopainfeed":{"prefetch":"https://widget.infeed.com.ar/widget/widget-amp.js"},"widespace":{},"wisteria":{"renderStartImplemented":true},"wpmedia":{"prefetch":"https://std.wpcdn.pl/wpjslib/wpjslib-amp.js","preconnect":["https://www.wp.pl","https://v.wpimg.pl"],"renderStartImplemented":true},"wunderkind":{"preconnect":["https://tag.wknd.ai","https://api.bounceexchange.com"],"renderStartImplemented":true,"fullWidthHeightRatio":1.3333333333333333},"xlift":{"prefetch":"https://cdn.x-lift.jp/resources/common/xlift_amp.js","renderStartImplemented":true},"yahoo":{"prefetch":"https://s.yimg.com/aaq/ampad/display.js","preconnect":"https://us.adserver.yahoo.com"},"yahoofedads":{"renderStartImplemented":true},"yahoojp":{"prefetch":["https://s.yimg.jp/images/listing/tool/yads/ydn/amp/amp.js","https://yads.c.yimg.jp/js/yads.js"],"preconnect":"https://yads.yahoo.co.jp"},"yahoonativeads":{"renderStartImplemented":true},"yandex":{"prefetch":"https://yandex.ru/ads/system/context.js","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"yektanet":{"preconnect":["https://cdn.yektanet.com","https://cg-sc.yektanet.com","https://native.yektanet.com","https://nfetch.yektanet.net","https://rfetch.yektanet.net","https://scrapper.yektanet.com","https://ua.yektanet.com","https://bfetch.yektanet.com","https://mostatil.cdn.yektanet.com"],"renderStartImplemented":true},"yengo":{"renderStartImplemented":true},"yieldbot":{"prefetch":["https://cdn.yldbt.com/js/yieldbot.intent.amp.js","https://msg.yldbt.com/js/ybmsg.html"],"preconnect":"https://i.yldbt.com"},"yieldmo":{"prefetch":"https://static.yieldmo.com/ym.1.js","preconnect":["https://s.yieldmo.com","https://ads.yieldmo.com"],"renderStartImplemented":true},"yieldone":{"prefetch":"https://img.ak.impact-ad.jp/ic/pone/commonjs/yone-amp.js"},"yieldpro":{"preconnect":"https://creatives.yieldpro.eu","renderStartImplemented":true},"zedo":{"prefetch":"https://ss3.zedo.com/gecko/tag/Gecko.amp.min.js","renderStartImplemented":true},"zen":{"prefetch":"https://zen.yandex.ru/widget-loader","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"zergnet":{},"zucks":{"preconnect":["https://j.zucks.net.zimg.jp","https://sh.zucks.net","https://k.zucks.net","https://static.zucks.net.zimg.jp"]},"baidu":{"prefetch":"https://dup.baidustatic.com/js/dm.js","renderStartImplemented":true},"sulvo":{}}');var Vi="ready-scan",Oi=["AMP-AD","AMP-ANALYTICS","AMP-PIXEL","AMP-AD-EXIT"];var Ci,Ni="A6WNTKQHktfckG5CFrBnDpo3z+BJBC5yt/DyQZMpawyLL5/vrGaDhna4gkc+aZ4bQ/zzE7lO357DTV7QtF96pgYAAACEeyJvcmlnaW4iOiJodHRwczovL2FtcHByb2plY3Qub3JnOjQ0MyIsImZlYXR1cmUiOiJQcml2YWN5U2FuZGJveEFkc0FQSXMiLCJleHBpcnkiOjE2OTUxNjc5OTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9",Li="cls",Di="clstu",zi="cls-1",Ui="pc",Fi="inp",$i="prerender",Hi="preview",Bi="visible",Gi="hidden",qi="paused",Wi="inactive",Ki=class{constructor(){this.un=null}add(t){return this.un||(this.un=[]),this.un.push(t),()=>{this.remove(t)}}remove(t){this.un&&I(this.un,t)}removeAll(){this.un&&(this.un.length=0)}fire(t){if(this.un)for(const e of this.un.slice())e(t)}getHandlerCount(){var t,e;return null!==(t=null===(e=this.un)||void 0===e?void 0:e.length)&&void 0!==t?t:0}},Qi=class{constructor(){this.hn=m(),this.ti=null}get(t){const e=this.hn[t];return null==e?null:e}whenSignal(t){var e;let i=null===(e=this.ti)||void 0===e?void 0:e[t];if(!i){const e=this.hn[t];i=null!=e?{promise:"number"==typeof e?Promise.resolve(e):Promise.reject(e)}:new n,this.ti||(this.ti=m()),this.ti[t]=i}return i.promise}signal(t,e){var i;if(null!=this.hn[t])return;const s=null!=e?e:Date.now();this.hn[t]=s;const n=null===(i=this.ti)||void 0===i?void 0:i[t];null!=n&&n.resolve&&(n.resolve(s),n.resolve=void 0,n.reject=void 0)}rejectSignal(t,e){var i;if(null!=this.hn[t])return;this.hn[t]=e;const s=null===(i=this.ti)||void 0===i?void 0:i[t];null!=s&&s.reject&&(s.reject(e),s.promise.catch((()=>{})),s.resolve=void 0,s.reject=void 0)}reset(t){var e;this.hn[t]&&delete this.hn[t];const i=null===(e=this.ti)||void 0===e?void 0:e[t];i&&!i.resolve&&delete this.ti[t]}},Yi=["Webkit","webkit","Moz","moz","ms","O","o"],Ji={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function Xi(t){const e=t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()));return Yi.some((t=>e.startsWith(t+"-")))?`-${e}`:e}function Zi(t,e,i){if(e.startsWith("--"))return e;Ci||(Ci=m());let s=Ci[e];if(!s||i){if(s=e,void 0===t[e]){const i=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),n=function(t,e){for(let i=0;ils(this.win.document,r))),this.ai()}dispose(){(function(t){const e=ye(t);for(const t in e){if(!Object.prototype.hasOwnProperty.call(e,t))continue;const i=e[t];i.sharedInstance||(i.obj?be(t,i.obj):i.promise&&i.promise.then((e=>be(t,e))))}})(this),this.ci.forEach((t=>t()))}isSingleDoc(){return wt(null)}getParent(){return this.si}signals(){return this.ei}getParam(t){const e=this.ni[t];return null==e?null:e}getMeta(){return this.ri||(this.ri=m(),this.win.document.head.querySelectorAll("meta[name]").forEach((t=>{const e=t.getAttribute("name"),i=t.getAttribute("content");e&&null!==i&&void 0===this.ri[e]&&(this.ri[e]=i)}))),m(this.ri)}getMetaByName(t){if(!t)return null;const e=this.getMeta()[t];return void 0!==e?e:null}setMetaByName(t,e){wt(null)}declaresExtension(t,e){const i=this.hi[t];return!(!i||e&&i!==e)}declareExtension(t,e){wt(!this.hi[t]||this.hi[t]===e),this.hi[t]=e}getExtensionVersion(t){return this.hi[t]||null}setExtensionsKnown(){this.ei.signal(ms)}whenExtensionsKnown(){return this.ei.whenSignal(ms)}getRootNode(){return wt(null)}getHeadNode(){}isBodyAvailable(){return wt(!1)}getBody(){return wt(null)}waitForBodyOpen(){return wt(null)}isReady(){return wt(null)}whenReady(){return wt(null)}getUrl(){return wt(null)}getElementById(t){return this.getRootNode().getElementById(t)}contains(t){return this.getRootNode().contains(t)}overrideVisibilityState(t){this.oi!=t&&(this.oi=t,this.ai())}ai(){const t=as(this.win.document);let e,i=Bi;for(let t=this.si;t;t=t.getParent())if(t.getVisibilityState()!=Bi){i=t.getVisibilityState();break}const s=this.oi||Bi;if(e=s==Bi&&i==Bi&&t==Bi?Bi:t==Gi&&s==qi?t:s==qi||s==Wi?s:i==qi||i==Wi?i:s==Hi||t==Hi||i==Hi?Hi:s==$i||t==$i||i==$i?$i:Gi,this.D!=e){if(e==Bi){var n;const{performance:t}=this.win;let e=Math.floor(null!==(n=t.timeOrigin)&&void 0!==n?n:t.timing.navigationStart);null!=this.D&&(e+=Math.floor(t.now())),this.li=e,this.ei.signal(fs,e),this.ei.signal(gs,e)}else this.ei.reset(gs);e==Hi&&this.ei.signal(vs),this.D=e,this.ui.fire()}}whenFirstPreviewedOrVisible(){return Promise.race([this.whenFirstPreviewed(),this.whenFirstVisible()])}whenFirstPreviewed(){return this.ei.whenSignal(vs).then((()=>{}))}whenFirstVisible(){return this.ei.whenSignal(fs).then((()=>{}))}whenNextVisible(){return this.ei.whenSignal(gs).then((()=>{}))}getFirstVisibleTime(){return this.ei.get(fs)}getLastVisibleTime(){return this.li}getVisibilityState(){return wt(this.D)}isPreview(){return this.D==Hi}isVisible(){return this.D==Bi}hasBeenVisible(){return null!=this.getLastVisibleTime()}onVisibilityChanged(t){return this.ui.add(t)}registerSingleton(t){return!this.ii[t]&&(this.ii[t]=!0,!0)}},As=class extends _s{constructor(t,e){super(t,null,e),this.di=this.win.document.body?Promise.resolve(this.win.document.body):Lt(this.win.document).then((()=>this.getBody())),this.fi=Ai(this.win.document)}isSingleDoc(){return!0}getRootNode(){return this.win.document}getUrl(){return ds.getLocation(this.win).href}getHeadNode(){return this.win.document.head}isBodyAvailable(){return!!this.win.document.body}getBody(){return this.win.document.body}waitForBodyOpen(){return this.di}isReady(){return fi(this.win.document)}whenReady(){return this.fi}},ys=class extends _s{constructor(t,e,i,s){super(t,null,s),this.pi=e,this.mi=i,this._i=null;const r=new n;this.di=r.promise,this.Ai=r.resolve,this.gi=!1;const o=new n;this.fi=o.promise,this.Pi=o.resolve}isSingleDoc(){return!1}getRootNode(){return this.mi}getUrl(){return this.pi}getHeadNode(){return this.mi}isBodyAvailable(){return!!this._i}getBody(){return this._i}setBody(t){wt(!this._i),this._i=t,this.Ai(t),this.Ai=void 0}waitForBodyOpen(){return this.di}isReady(){return this.gi}setReady(){wt(!this.gi),this.gi=!0,this.Pi(),this.Pi=void 0}whenReady(){return this.fi}getMeta(){return m(this.ri)}setMetaByName(t,e){wt(t),this.ri||(this.ri=m()),this.ri[t]=e}},Ps=class extends _s{constructor(t,e,i,s){super(t,i,s),this.pi=e,this.di=this.win.document.body?Promise.resolve(this.win.document.body):Lt(this.win.document).then((()=>this.getBody())),this.gi=!1;const r=new n;this.fi=r.promise,this.Pi=r.resolve}isSingleDoc(){return!1}getRootNode(){return this.win.document}getUrl(){return this.pi}getHeadNode(){return this.win.document.head}isBodyAvailable(){return!!this.win.document.body}getBody(){return this.win.document.body}waitForBodyOpen(){return this.di}isReady(){return this.gi}whenReady(){return this.fi}setReady(){wt(!this.gi),this.gi=!0,this.Pi(),this.Pi=void 0}};function bs(t,e){const i=m();return e?Object.assign(i,e):(t.name&&0==t.name.indexOf(ps)&&Object.assign(i,W(t.name.substring(ps.length))),t.location&&t.location.hash&&Object.assign(i,W(t.location.hash))),i}var Is="nodisplay",ws="fixed",Es="fixed-height",Ts="responsive",Ss="container",Rs="fill",Ms="flex-item",xs="fluid",ks="intrinsic",js=/^amp\-(video|.+player)|AMP-BRIGHTCOVE|AMP-DAILYMOTION|AMP-YOUTUBE|AMP-VIMEO|AMP-IMA-VIDEO/i;function Vs(t){if("nodisplay"===(e=t)||"fixed"===e||"fixed-height"===e||"responsive"===e||"container"===e||"fill"===e||"flex-item"===e||"fluid"===e||"intrinsic"===e)return t;var e}function Os(t){return"i-amphtml-layout-"+t}function Cs(t){return t==ws||t==Es||t==Ts||t==Rs||t==Ms||t==xs||t==ks}function Ns(t){return"number"==typeof t?t+"px":t&&/^\d+(\.\d+)?(px|em|rem|vh|vw|vmin|vmax|cm|mm|q|in|pc|pt)?$/.test(t)?/^\d+(\.\d+)?$/.test(t)?t+"px":t:void 0}function Ls(t){!function(t){L(/^\d+(\.\d+)?(px|em|rem|vh|vw|vmin|vmax|cm|mm|q|in|pc|pt)$/.test(null!=t?t:""),"Invalid length value: %s",t)}(t);const e=/[a-z]+/i.exec(null!=t?t:"");return L(e,"Failed to read units from %s",t),e[0]}function Ds(t){const e=parseFloat(t);return T(e)?e:void 0}function zs(t,e){t.classList.add("i-amphtml-fill-content"),e&&t.classList.add("i-amphtml-replaced-content")}function Us(t,e,i,s){const n=P(t);for(const t of n){const n=e.getAttribute(t);null!==n?i.setAttribute(t,n):s&&i.removeAttribute(t)}}var Fs,$s="amp:attached",Hs="amp:load-start",Bs="amp:load-end",Gs="ready-upgrade",qs="upgraded",Ws="built",Ks="mounted",Qs="load-start",Ys="render-start",Js="load-end",Xs="unload";function Zs(t,e){return[{query:t.matchMedia(e),value:"1"},{query:null,value:""}]}function tn(t,e){return e.split(",").map((e=>{if(0==(e=e.replace(/\s+/g," ").trim()).length)return;let i,s,n;if(")"==e.charAt(e.length-1)){let t=1;for(n=e.length-2;n>=0;n--){const i=e.charAt(n);if("("==i?t--:")"==i&&t++,0==t)break}const i=n-1;if(n>0)for(n--;n>=0;n--){const t=e.charAt(n);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(n>=i)return null}else for(n=e.length-2;n>=0;n--){const t=e.charAt(n);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return n>=0?(i=e.substring(0,n+1).trim(),s=e.substring(n+1).trim()):(s=e,i=void 0),s?{query:i?t.matchMedia(i):null,value:s}:null})).filter(Boolean)}function en(t,e,i){for(let s=0;s'],on={"AMP-PIXEL":{width:"0px",height:"0px"},"AMP-ANALYTICS":{width:"1px",height:"1px"},"AMP-AUDIO":null,"AMP-SOCIAL-SHARE":{width:"60px",height:"44px"}};function hn(t){const e=t.getAttribute("layout"),i=t.getAttribute("width"),s=t.getAttribute("height"),n=t.getAttribute("sizes"),r=t.getAttribute("heights"),o=e?Vs(e):null;L(void 0!==o,'Invalid "layout" value: %s, %s',e,t);const h=i&&"auto"!=i?Ns(i):i;L(void 0!==h,'Invalid "width" value: %s, %s',i,t);const a=s&&"fluid"!=s?Ns(s):s;let c,l,u;if(L(void 0!==a,'Invalid "height" value: %s, %s',s,t),o&&o!=ws&&o!=Es||h&&a||(d=(d=t.tagName).toUpperCase(),void 0===on[d]))c=h,l=a;else{const e=function(t){const e=t.tagName.toUpperCase();if(V(void 0!==on[e]),!on[e]){const i=t.ownerDocument,s=e.replace(/^AMP\-/,""),n=i.createElement(s);n.controls=!0,is(n,{position:"absolute",visibility:"hidden"}),i.body.appendChild(n),on[e]={width:(n.offsetWidth||1)+"px",height:(n.offsetHeight||1)+"px"},i.body.removeChild(n)}return on[e]}(t);c=h||o==Es?h:e.width,l=a||e.height}var d;return u=o||(c||l?"fluid"==l?xs:!l||c&&"auto"!=c?l&&c&&(n||r)?Ts:ws:Es:Ss),u!=ws&&u!=Es&&u!=Ts&&u!=ks||L(l,'The "height" attribute is missing: %s',t),u==Es&&L(!c||"auto"==c,'The "width" attribute must be missing or "auto": %s',t),u!=ws&&u!=Ts&&u!=ks||L(c&&"auto"!=c,'The "width" attribute must be present and not "auto": %s',t),u==Ts||u==ks?L(Ls(c)==Ls(l),'Length units should be the same for "width" and "height": %s, %s, %s',i,s,t):L(null===r,'"heights" attribute must be missing: %s',t),{layout:u,width:c,height:l}}var an={"amp-dynamic-css-classes":"[custom-element=amp-dynamic-css-classes]","variant":"amp-experiment"};function cn(t){const e=t.document;return wt(e.body),Object.keys(an).filter((t=>e.querySelector(an[t])))}function ln(t,e,i,s,n){const r=t.getHeadNode(),o=function(t,e,i,s){let n=t.__AMP_CSS_SM;n||(n=t.__AMP_CSS_SM=m());const r=!i&&s&&"amp-custom"!=s&&"amp-keyframes"!=s,o=i?"amp-runtime":r?`amp-extension=${s}`:null;if(o){const i=un(t,n,o);if(i)return"STYLE"==i.tagName&&i.textContent!==e&&(i.textContent=e),i}const h=(t.ownerDocument||t).createElement("style");h.textContent=e;let a=null;return i?h.setAttribute("amp-runtime",""):r?(h.setAttribute("amp-extension",s||""),a=un(t,n,"amp-runtime")):(s&&h.setAttribute(s,""),a=t.lastChild),function(t,e,i=null){if(!i)return void function(t,e){t.insertBefore(e,t.firstChild)}(t,e);const s=i.nextSibling;t.insertBefore(e,s)}(t,h,a),o&&(n[o]=h),h}(r,function(t,e){const i=t.__AMP_CSS_TR;return i?i(e):e}(r,e),s||!1,n||null);if(i){const e=t.getRootNode();if(fn(e,o))return i(o),o;const s=setInterval((()=>{fn(e,o)&&(clearInterval(s),i(o))}),4)}return o}function un(t,e,i){if(e[i])return e[i];const s=t.querySelector(`style[${i}], link[${i}]`);return s?(e[i]=s,s):null}var dn=!1;function pn(t){wt(t.defaultView),dn||(dn=!0,mn(t))}function mn(t){is(t.body,{opacity:1,visibility:"visible","animation":"none"})}function fn(t,e){const i=t.styleSheets;for(let t=0;t"string"==typeof t?yn(t):t;function yn(t,e){return gn||(gn=self.document.createElement("a")),Pn(gn,t)}function Pn(t,e,i){return t.href="",new URL(e,t.href)}function bn(t,e,i){if(!e)return t;const s=t.split("#",2),n=s[0].split("?",2);let r=n[0]+(n[1]?i?`?${e}&${n[1]}`:`?${n[1]}&${e}`:`?${e}`);return r+=s[1]?`#${s[1]}`:"",r}function In(t,e){return`${encodeURIComponent(t)}=${encodeURIComponent(e)}`}function wn(t,e){return bn(t,En(e))}function En(t){const e=[];for(const i in t){let s=t[i];if(null!=s){s=P(s);for(let t=0;t=0&&t.indexOf(e,i)==i}(t.hostname,".localhost")}function Sn(t,e,i="source"){return Et(null!=t,"%s %s must be available",e,i),Et(Tn(t)||/^\/\//.test(t),'%s %s must start with "https://" or "//" or be relative and served from either https or from localhost. Invalid value: %s',e,i,t),t}function Rn(t){const e=t.indexOf("#");return-1==e?t:t.substring(0,e)}function Mn(t){return Y.test(An(t).origin)}function xn(t){return!(t&&B.includes(An(t).protocol))}function kn(t){const{hash:e,origin:i,pathname:s,search:n}=yn(t);return i+s+jn(n)+e}function jn(t){return function(t,e){if(!t||"?"==t)return"";const i=new RegExp("[?&](amp_(js[^&=]*|gsa|r|kit)|usqp)\\b[^&]*","g"),s=t.replace(i,"").replace(/^[?&]/,"");return s?"?"+s:""}(t)}function Vn(t){if(!Mn(t=An(t)))return t.href;const e=t.pathname.split("/"),i=e[1];Et(vn.has(i),"Unknown path prefix in url %s",t.href);const s=e[2],n="s"==s?"https://"+decodeURIComponent(e[3]):"http://"+decodeURIComponent(s);return Et(n.indexOf(".")>0,"Expected a . in origin %s",n),e.splice(1,"s"==s?3:2),n+e.join("/")+jn(t.search)+(t.hash||"")}function On(t){return yn(Vn(t)).origin}function Cn(t,e){return e=An(e),new URL(t,e.href).toString()}function Nn(t,e){return Ln(e),function(t,e,i,s){return bn(t,In("__amp_source_origin",i),void 0)}(e,0,On(t.location.href))}function Ln(t){const e=W(yn(t).search);Et(!(_n in e),"Source origin is not allowed in %s",t)}var Dn="CANCELLED",zn="BLOCK_BY_CONSENT",Un=self.__AMP_ERRORS||[];self.__AMP_ERRORS=Un;var Fn=function(t){return(Fn=function(t){const e=function(t){let e=0;return()=>{let t=Math.pow(1.5,e++);return t+=function(t,e){let i=t*(e=e||.3)*Math.random();return Math.random()>.5&&(i*=-1),i}(t),1e3*t}}();return t=>setTimeout(t,e())}())(t)};function $n(t,e){try{let i;if(t)if(void 0!==t.message)t=o(t),i=!0;else{const e=t;(t=new Error(function(t){try{return JSON.stringify(t)}catch(e){return String(t)}}(e))).origError=e}else t=new Error("Unknown error");if(t.reported)return t;if(t.reported=!0,t.messageArray){const e=function(t,e){for(let e=0;e-1&&(t.associatedElement=t.messageArray[e])}const s=e||t.associatedElement;if(s&&s.classList&&s.classList.add("i-amphtml-error"),self.console&&(x(t.message)||!t.expected)){const e=console.error||console.log;t.messageArray?e.apply(console,t.messageArray):s?e.call(console,t.message,s):e.call(console,t.message)}s&&s.dispatchCustomEventForTesting&&s.dispatchCustomEventForTesting("amp:error",t.message),Gn.call(self,void 0,void 0,void 0,void 0,t)}catch(t){setTimeout((function(){throw t}))}return t}function Hn(){return new Error(Dn)}function Bn(t){return!!t&&("string"==typeof t?t.startsWith(zn):"string"==typeof t.message&&t.message.startsWith(zn))}function Gn(t,e,i,n,r){!this||!this.document||r&&r.expected||pn(this.document);let o=!1;try{o=function(t){if(!t.document)return!1;const e=t.document.querySelectorAll("script[src]");for(let t=0;t.01)return;const h=function(t,e,i,s,n,r){t=function(t,e){return e&&(t=e.message?e.message:String(e)),t||(t="Unknown error"),t}(t,n);let o=!(!n||!n.expected);if(/_reported_/.test(t))return;if(t==Dn)return;const h=!(self&&self.window),a=Math.random();if((function(t){return-1!=t.indexOf(bi)}(t)||"Script error."==t||h)&&(o=!0,a>.001))return;const c=x(t);if(c&&a>.1)return;const l=Object.create(null);l.v=ct().rtvVersion,l.noAmp=r?"1":"0",l.m=t.replace(S,""),l.a=c?"1":"0",l.ex=o?"1":"0",l.dw=h?"1":"0";let u="1p";var d,p;if(u="esm",l.esm="1",l.rt="esm",l.ca=null!==(p=self.AMP_CONFIG)&&void 0!==p&&p.canary?"1":"0",l.bt=(null===(d=self.AMP_CONFIG)||void 0===d?void 0:d.type)||"unknown",self.location.ancestorOrigins&&self.location.ancestorOrigins[0]&&(l.or=self.location.ancestorOrigins[0]),self.viewerState&&(l.vs=self.viewerState),self.parent&&self.parent!=self&&(l.iem="1"),self.AMP&&self.AMP.viewer){const t=self.AMP.viewer.getResolvedViewerUrl(),e=self.AMP.viewer.maybeGetMessagingOrigin();t&&(l.rvu=t),e&&(l.mso=e)}const m=[],f=self[Te]||null;for(const t in f){const e=f[t];m.push(`${t}=${e?"1":"0"}`)}var g,v,_;return l.exps=m.join(","),n?(l.el=(null===(g=n.associatedElement)||void 0===g?void 0:g.tagName)||"u",n.args&&(l.args=JSON.stringify(n.args)),c||n.ignoreStack||!n.stack||(l.s=n.stack),n.message&&(n.message+=" _reported_")):(l.f=e||"",l.l=i||"",l.c=s||""),l.r=self.document?self.document.referrer:"",l.ae=Un.join(","),l.fr=self.location.originalHash||self.location.hash,"production"===l.bt&&(l.pt="1"),_=t,(v=Un).length>=25&&v.splice(0,v.length-25+1),v.push(_),l}(t,e,i,n,r,o);h&&Fn((()=>{try{return function(t,e){return e.pt&&Math.random()<.9?s():function(t,e){const i=Be(t);if(!i.isSingleDoc())return Promise.resolve(!1);const s=i.getSingleDoc();if(!s.getRootNode().documentElement.hasAttribute("report-errors-to-viewer"))return Promise.resolve(!1);const n=ri(s);return n.hasCapability("errorReporter")?n.isTrustedViewer().then((t=>{return!!t&&(n.sendMessage("error",{"m":(i=e).m,"a":i.a,"s":i.s,"el":i.el,"ex":i.ex,"v":i.v,"pt":i.pt}),!0);var i})):Promise.resolve(!1)}(t,e).then((t=>{if(!t){const t=new XMLHttpRequest;t.open("POST",Math.random()<.1?nt:st,!0),t.send(JSON.stringify(e))}}))}(this,h).catch((()=>{}))}catch(t){}}))}var qn="Resource",Wn=class t{static forElement(e){return wt(t.forElementOptional(e))}static forElementOptional(t){return t.__AMP__RESOURCE}static setOwner(e,i){wt(i.contains(e)),t.forElementOptional(e)&&t.forElementOptional(e).updateOwner(i),e.__AMP__OWNER=i;const s=e.getElementsByClassName("i-amphtml-element");for(let e=0;e{this.Ri=!1,this.Mi=1,this.element.signals().signal("res-built")}),(t=>{throw this.maybeReportErrorOnBuildFailure(t),this.Ri=!1,this.element.signals().rejectSignal("res-built",t),t})))}maybeReportErrorOnBuildFailure(t){Bn(t)||It().error(qn,"failed to build:",this.debugid,t)}changeSize(t,e,i){this.element.applySize(t,e,i),this.requestMeasure()}overflowCallback(t,e,i,s){t&&(this.Di={height:e,width:i,margins:s}),this.element.overflowCallback(t,e,i,s)}resetPendingChangeSize(){this.Di=void 0}getPendingChangeSize(){return this.Di}getUpgradeDelayMs(){return this.element.getUpgradeDelayMs()}measure(){if(this.Ti&&this.element.parentElement&&this.element.parentElement.tagName.startsWith("AMP-")&&!("__AMP__RESOURCE"in this.element.parentElement))return;if(!this.element.ownerDocument||!this.element.ownerDocument.defaultView)return void(this.Mi=1);this.Ci=!1;const t=this.xi;this.Fi();const e=this.xi,i=(n=e,!((s=t).width==n.width&&s.height===n.height));var s,n;(1==this.Mi||t.top!=e.top||i)&&this.element.isUpgraded()&&(1==this.Mi?this.Mi=2:4!=this.Mi&&5!=this.Mi||!this.element.isRelayoutNeeded()||(this.Mi=2)),this.hasBeenMeasured()||(this.Oi=e),this.element.updateLayoutBox(e,i)}ensureMeasured(){return this.hasBeenMeasured()?s():oi(this.hostWin).measure((()=>this.measure()))}Fi(){const t=hi(this.element);this.xi=t.getLayoutRect(this.element);let e=!1;if(t.supportsPositionFixed()&&this.isDisplayed()){const{win:i}=this.Ei.getAmpdoc(),{body:s}=i.document;for(let n=this.element;n&&n!=s;n=n.offsetParent){if(n.isAlwaysFixed&&n.isAlwaysFixed()){e=!0;break}if(t.isDeclaredFixed(n)&&"fixed"==os(i,n).position){e=!0;break}}}this.Si=e,e&&(this.xi=Jt(this.xi,-t.getScrollLeft(),-t.getScrollTop()))}completeCollapse(){ss(this.element,!1),this.xi=Qt(this.xi.left,this.xi.top,0,0),this.Si=!1,this.element.updateLayoutBox(this.getLayoutBox());const t=this.getOwner();t&&t.collapsedCallback(this.element)}completeExpand(){ss(this.element,!0),this.requestMeasure()}isMeasureRequested(){return this.Ci}hasBeenMeasured(){return!!this.Oi}requestMeasure(){this.Ci=!0}getLayoutSize(){return function(t){const{height:e,width:i}=t;return{width:i,height:e}}(this.xi)}getLayoutBox(){if(!this.Si)return this.xi;const t=hi(this.element);return Jt(this.xi,t.getScrollLeft(),t.getScrollTop())}getInitialLayoutBox(){return this.Oi||this.xi}isDisplayed(){if(!this.element.ownerDocument||!this.element.ownerDocument.defaultView)return!1;const t=this.element.getLayout()==xs,e=this.getLayoutBox(),i=e.height>0&&e.width>0;return t||i}isFixed(){return this.Si}overlaps(t){return i=t,(e=this.getLayoutBox()).top<=i.bottom&&i.top<=e.bottom&&e.left<=i.right&&i.left<=e.right;var e,i}prerenderAllowed(){return this.element.prerenderAllowed()}previewAllowed(){return this.element.previewAllowed()}isBuildRenderBlocking(){return this.element.isBuildRenderBlocking()}whenWithinViewport(t){if(wt(!1!==t),!this.isLayoutPending()||!0===t)return s();const e=t,i=String(e);return this.ki&&this.ki[i]?this.ki[i].promise:this.isWithinViewportRatio(e)?s():(this.ki=this.ki||{},this.ki[i]=new n,this.ki[i].promise)}Bi(){if(!this.ki)return;const t=this.getDistanceViewportRatio();for(const e in this.ki)this.isWithinViewportRatio(parseFloat(e),t)&&(this.ki[e].resolve(),delete this.ki[e])}getDistanceViewportRatio(){const t=hi(this.element).getRect(),e=this.getLayoutBox(),i=this.Ei.getScrollDirection();let s=1,n=0;if(t.righte.right)return{distance:!1};if(t.bottome.bottom))return{distance:!0};n=t.top-e.bottom,1==i&&(s=2)}return{distance:n,scrollPenalty:s,viewportHeight:t.height}}isWithinViewportRatio(t,e){if("boolean"==typeof t)return t;const{distance:i,scrollPenalty:s,viewportHeight:n}=e||this.getDistanceViewportRatio();return"boolean"==typeof i?i:i0&&!this.element.isRelayoutNeeded())return this.Mi=4,s();this.wi++,this.Mi=3,this.bi=new AbortController;const{signal:t}=this.bi,e=new Promise(((e,i)=>{oi(this.hostWin).mutate((()=>{let s;try{s=this.element.layoutCallback(t)}catch(t){i(t)}Promise.resolve(s).then(e,i)})),t.onabort=()=>i(Hn())})).then((()=>this.Hi(!0,t)),(e=>this.Hi(!1,t,e)));return this.Ni=e}Hi(t,e,i){if(this.bi=null,e.aborted){const t=It().createError("layoutComplete race");throw t.associatedElement=this.element,It().expectedError(qn,t),Hn()}if(this.Ui&&(this.Ui(),this.Ui=null),this.Ni=null,this.Mi=t?4:5,this.Vi=i,!t)return Promise.reject(i)}isLayoutPending(){return 4!=this.Mi&&5!=this.Mi}loadedOnce(){return this.element.R1()?this.element.whenLoaded():this.Li}isInViewport(){return this.$i&&this.Bi(),this.$i}setInViewport(t){this.$i=t}unlayout(){0!=this.Mi&&1!=this.Mi&&2!=this.Mi&&(this.bi&&(this.bi.abort(),this.bi=null),this.setInViewport(!1),this.element.unlayoutCallback()&&(this.element.togglePlaceholder(!0),this.Mi=1,this.wi=0,this.Ni=null))}getTaskId(t){return this.debugid+"#"+t}pause(){this.element.pause()}pauseOnRemove(){this.element.pause()}resume(){this.element.resume()}unload(){this.element.unmount()}disconnect(){delete this.element.__AMP__RESOURCE,this.element.disconnect(!0)}},Kn="scheduler",Qn="250% 31.25%";function Yn(t){return re(t,Kn,class{constructor(t){this.ji=t;const{win:e}=t;this.zi=new e.IntersectionObserver((t=>this.Gi(t)),{root:Bt(e)?e.document:null,rootMargin:Qn}),this.qi=new Map,this.Wi=new Map,this.Ki=[],this.Yi=!1,t.whenReady().then((()=>this.Ji())),this.Qi=t.onVisibilityChanged((()=>this.Xi()))}dispose(){this.zi.disconnect(),this.Wi.clear(),this.Qi&&(this.Qi(),this.Qi=null)}scheduleAsap(t){this.Wi.set(t,{asap:!0,isIntersecting:!1}),this.Zi(t)}schedule(t){this.Wi.has(t)||(t.deferredMount()?(this.Wi.set(t,{asap:!1,isIntersecting:!1}),this.zi.observe(t),this.qi.size>0&&this.qi.forEach(((e,i)=>{qt(i,t)&&e.observe(t)}))):this.Wi.set(t,{asap:!1,isIntersecting:!0}),this.Zi(t))}unschedule(t){this.Wi.has(t)&&(this.Wi.delete(t),this.zi.unobserve(t),this.qi.size>0&&this.qi.forEach((e=>{e.unobserve(t)})),this.Ki&&(I(this.Ki,t),this.Ji()))}setContainer(t,e){if(this.qi.has(t))return;const{win:i}=this.ji,s=new i.IntersectionObserver((t=>this.Gi(t)),{root:e||t,rootMargin:Qn});this.qi.set(t,s),this.Wi.forEach((({asap:e},i)=>{!e&&qt(t,i)&&s.observe(i)}))}removeContainer(t){const e=this.qi.get(t);e&&(e.disconnect(),this.qi.delete(t))}ts(){if(this.ji.isReady()&&!this.Yi){this.Yi=!0;const{win:t}=this.ji;t.setTimeout((()=>{this.ji.signals().signal(Vi)}),50)}}Xi(){const t=this.ji.getVisibilityState();t!=Bi&&t!=Gi&&t!=$i&&t!=Hi||this.Wi.forEach(((t,e)=>this.ss(e)))}Zi(t){const e=this.Ki;e?(e.includes(t)||e.push(t),this.Ji()):this.ss(t)}Ji(){const t=this.ji.isReady(),e=this.Ki;if(e)for(let i=0;it.mountInternal()))}}),ae(t,Kn)}var Jn=class{constructor(){this.es=[]}peek(){const t=this.length;return t?this.es[t-1].item:null}enqueue(t,e){if(isNaN(e))throw new Error("Priority must not be NaN.");const i=this.ns(e);this.es.splice(i,0,{item:t,priority:e})}ns(t){let e=-1,i=0,s=this.length;for(;i<=s&&(e=Math.floor((i+s)/2),e!==this.length);)if(this.es[e].priority0&&this.es[e-1].priority>=t))break;s=e-1}return e}forEach(t){let e=this.length;for(;e--;)t(this.es[e].item)}dequeue(){const t=this.es.pop();return t?t.item:null}get length(){return this.es.length}},Xn=/nochunking=1/.test(self.location.hash),Zn=!1,tr=s();function er(t,e,i){if(Xn)return void tr.then(e);const s=(re(n=t.documentElement||t,"chunk",rr),ae(n,"chunk"));var n;s.runForStartup(e),i&&s.runForStartup((()=>{s.rs=!0}))}var ir="not_run",sr=class{constructor(t){this.state=ir,this.hs=t}os(t){if("run"!=this.state){this.state="run";try{this.hs(t)}catch(t){throw this.us(t),t}}}ls(){return this.hs.displayName||this.hs.name}us(t){}cs(){return!1}ds(){return!1}},nr=class extends sr{constructor(t,e,i){super(t),this.fs=i}us(t){pn(self.document)}cs(){return this.ps()}ds(){return this.fs._s}ps(){return this.fs.ampdoc.isVisible()}},rr=class{constructor(t){var e;this.ampdoc=t,this.i=t.win,this.As=new Jn,this.gs=this.Ps.bind(this),this.vs=0,this.Es=!(!this.i.navigator.scheduling||!this.i.navigator.scheduling.isInputPending),this.Ts=!1,this.rs=this.i.document.documentElement.hasAttribute("i-amphtml-no-boilerplate"),this.i.addEventListener("message",(t=>{"amp-macro-task"==Ei(t)&&this.Ps(null)})),this._s=!1,(e=t,le(e,"viewer")).then((()=>{this._s=!0})),t.onVisibilityChanged((()=>{t.isVisible()&&this.Rs()}))}run(t,e){const i=new sr(t);this.Is(i,e)}runForStartup(t){const e=new nr(t,this.i,this);this.Is(e,Number.POSITIVE_INFINITY)}Is(t,e){this.As.enqueue(t,e),this.Rs()}Ms(t){let e=this.As.peek();for(;e&&e.state!==ir;)this.As.dequeue(),e=this.As.peek();return e&&t&&this.As.dequeue(),e}Ps(t){const e=this.Ms(!0);if(!e)return this.Ts=!1,this.vs=0,!1;let i;try{i=Date.now(),e.os(t)}finally{tr.then().then().then().then().then().then().then().then().then((()=>{this.Ts=!1,this.vs+=Date.now()-i,this.Rs()}))}return!0}ys(t){if(!Zn&&this.rs&&(this.Es?this.i.navigator.scheduling.isInputPending():this.vs>5))return this.vs=0,void this.ws();tr.then((()=>{this.gs(t)}))}Rs(){if(this.Ts)return;const t=this.Ms();return t?t.cs()?(this.Ts=!0,void this.ys(null)):void(t.ds()&&this.i.requestIdleCallback?function(t,e,i,s){const n=Date.now();t.requestIdleCallback((function e(i){if(i.timeRemaining()<15){const r=2e3-(Date.now()-n);r<=0||i.didTimeout?s(i):t.requestIdleCallback(e,{timeout:r})}else s(i)}),{timeout:2e3})}(this.i,0,0,this.gs):this.ws()):void 0}ws(){this.i.postMessage("amp-macro-task","*")}},or="activate",hr=class{static R1(){return!1}static deferredMount(t){return!0}static prerenderAllowed(t){return!1}static previewAllowed(t){return this.prerenderAllowed(t)}static usesLoading(t){return!1}static createLoaderLogoCallback(t){return{}}static getBuildPriority(t){return 0}static getPreconnects(t){return null}static requiresShadowDom(){return!1}constructor(t){this.element=t,this.win=Tt(t),this.actionMap_=null,this.defaultActionAlias_=null}signals(){return this.element.signals()}getDefaultActionAlias(){return this.defaultActionAlias_}getLayoutPriority(){return 0}updateLayoutPriority(t){this.element.getResources().updateLayoutPriority(this.element,t)}getLayout(){return this.element.getLayout()}getLayoutBox(){return this.element.getLayoutBox()}getLayoutSize(){return this.element.getLayoutSize()}getAmpDoc(){return this.element.getAmpDoc()}getVsync(){return oi(this.win)}getConsentPolicy(){let t=null;return this.element.hasAttribute("data-block-on-consent")&&(t=this.element.getAttribute("data-block-on-consent")||"default"),t}isLayoutSupported(t){return t==Is}isAlwaysFixed(){return!1}upgradeCallback(){return null}buildCallback(){}preconnectCallback(t){}attachedCallback(){}detachedCallback(){}setAsContainer(t){this.element.setAsContainerInternal(t)}removeAsContainer(){this.element.removeAsContainerInternal()}isBuildRenderBlocking(){return!1}createPlaceholderCallback(){return null}renderOutsideViewport(){return"inabox"==ct(this.win).runtime||3}idleRenderOutsideViewport(){return!1}ensureLoaded(){}setReadyState(t,e){this.element.setReadyStateInternal(t,e)}mountCallback(t){}unmountCallback(){}isRelayoutNeeded(){return!1}layoutCallback(){return s()}firstLayoutCompleted(){this.togglePlaceholder(!1)}pauseCallback(){}resumeCallback(){}unlayoutCallback(){return!1}unlayoutOnPause(){return!1}reconstructWhenReparented(){return!0}loadPromise(t){return Si(t)}registerAction(t,e,i=2){ar(this),this.actionMap_[t]={handler:e,minTrust:i}}registerDefaultAction(t,e="activate",i=2){wt(!this.defaultActionAlias_),this.registerAction(e,t,i),this.defaultActionAlias_=e}executeAction(t,e){let{method:i}=t;i===or&&(i=this.defaultActionAlias_||i),ar(this);const s=this.actionMap_[i],{tagName:n}=this.element;Et(s,`Method not found: ${i} in ${n}`);const{handler:r,minTrust:o}=s;if(t.satisfiesTrust(o))return r(t)}forwardEvents(t,e){const i=(y(t)?t:[t]).map((t=>wi(e,t,(e=>{Gt(this.element,t,Ei(e)||{})}))));return()=>i.forEach((t=>t()))}getPlaceholder(){return this.element.getPlaceholder()}togglePlaceholder(t){this.element.togglePlaceholder(t)}getFallback(){return this.element.getFallback()}toggleFallback(t){this.element.toggleFallback(t)}toggleLoading(t,e=!1){this.element.toggleLoading(t,e)}getOverflowElement(){return this.element.getOverflowElement()}renderStarted(){this.element.renderStarted()}getViewport(){return hi(this.getAmpDoc())}getIntersectionElementLayoutBox(){return this.getLayoutBox()}collapse(){Ye(this.getAmpDoc()).collapseElement(this.element)}attemptCollapse(){return Ye(this.getAmpDoc()).attemptCollapse(this.element)}forceChangeHeight(t){Ye(this.getAmpDoc()).forceChangeSize(this.element,t,void 0)}attemptChangeHeight(t){return Ye(this.getAmpDoc()).requestChangeSize(this.element,t,void 0)}attemptChangeSize(t,e,i){return Ye(this.getAmpDoc()).requestChangeSize(this.element,t,e,void 0,i)}measureElement(t){return Ye(this.getAmpDoc()).measureElement(t)}mutateElement(t,e){return this.measureMutateElement(null,t,e)}measureMutateElement(t,e,i){return Ye(this.getAmpDoc()).measureMutateElement(i||this.element,t,e)}mutateElementSkipRemeasure(t){return Ye(this.getAmpDoc()).mutateElement(this.element,t,!0)}collapsedCallback(t){}expand(){Ye(this.getAmpDoc()).expandElement(this.element)}mutatedAttributesCallback(t){}onLayoutMeasure(){}user(){return Pt(this.element)}getApi(){return this}};function ar(t){t.actionMap_||(t.actionMap_=t.win.Object.create(null))}var cr=class extends hr{},lr="amp-",ur="send-positions",dr="position";function pr(t){try{return!!t.location.href&&(t.test||!0)}catch(t){return!1}}var mr,fr=Date.now(),gr={bubbles:!1},vr=()=>!0,_r=[],Ar=new Set;function yr(t){return"placeholder"in t}function Pr(t){wt(!t.js)}var br=new WeakMap;function Ir(t){return t.__AMP_EXTENDED_ELEMENTS||(t.__AMP_EXTENDED_ELEMENTS={}),t.__AMP_EXTENDED_ELEMENTS}function wr(t,e,i){const s=Ir(t);if(s[e]){if(s[e]!=i){Et(s[e]==cr,"%s is already registered. The script tag for %s is likely included twice in the page.",e,e),s[e]=i;for(let s=0;s<_r.length;s++){const n=_r[s];n.tagName.toLowerCase()==e&&n.ownerDocument.defaultView==t&&(Er(n,i),_r.splice(s--,1))}}}else Mr(t,e,i)}function Er(t,e){try{t.upgrade(e)}catch(e){$n(e,t)}}function Tr(t){(function(t){if(!t)return[];const e=t.querySelectorAll("script[custom-element],script[custom-template]"),i=[];for(let t=0;t{t.declareExtension(e,i),s.addEventListener("error",(()=>function(t){Ar.add(t||"*");for(const e of _r)null!=t&&e.tagName.toLowerCase()!==t||e.markUnresolved()}(e))),Sr(t.win,e)})),t.isBodyAvailable()&&t.setExtensionsKnown()}function Sr(t,e){Ir(t)[e]||Mr(t,e,cr)}function Rr(t,e,i){Mr(e,i,Ir(t)[i]||cr)}function Mr(t,e,i){Ir(t)[e]=i;const s=function(t,e){const i=function(t,e){if(t.__AMP_BASE_CE_CLASS)return t.__AMP_BASE_CE_CLASS;const i=t.HTMLElement;return t.__AMP_BASE_CE_CLASS=class extends i{constructor(){super(),this.createdCallback()}createdCallback(){this.bs=!1,this.Vs=!1,this.Ss=null,this.xs=!1,this.Os=null,this.Cs=null,this.ks="upgrading",this.everAttached=!1,this.ji=null,this.Ei=null,this.Ns=Is,this.wi=0,this.Ds=!1,this.warnOnMissingOverflow=!0,this.sizerElement=void 0,this.Ls=void 0,this.layoutScheduleTime=void 0;const e=this;let i=t.__AMP_EXTENDED_ELEMENTS&&t.__AMP_EXTENDED_ELEMENTS[this.localName];this.Us=i===cr?null:i||null,this.Us||_r.push(this),this.$s=null,this.Fs=1,this.Bs=0,this.Hs=void 0,this.js=void 0,this.ei=new Qi,this.Us&&this.ei.signal(Gs);const s=he(t,"performance");this.zs=s&&s.isPerformanceTrackingOn(),this.Gs=null,e.__AMP_UPG_RES&&(e.__AMP_UPG_RES(e),delete e.__AMP_UPG_RES,delete e.__AMP_UPG_PRM)}get readyState(){return this.ks}signals(){return this.ei}getAmpDoc(){return wt(this.ji),this.ji}getResources(){return wt(this.Ei),this.Ei}isUpgraded(){return 2==this.Fs}whenUpgraded(){return this.ei.whenSignal(qs)}upgrade(t){this.js||1==this.Fs&&(this.Us=t,this.ei.signal(Gs),this.everAttached&&this.qs())}markUnresolved(){this.Us||this.classList.add("amp-unresolved","i-amphtml-unresolved")}getUpgradeDelayMs(){return this.Bs}Ws(e,i){this.$s=e,this.Bs=t.Date.now()-i,this.Fs=2,this.setReadyStateInternal(li),this.classList.remove("amp-unresolved","i-amphtml-unresolved"),this.Ks(),this.dispatchCustomEventForTesting($s),this.R1()||this.getResources().upgraded(this),this.ei.signal(qs)}Ks(){this.Ns!=Is&&this.$s&&!this.$s.isLayoutSupported(this.Ns)&&(Et(this.getAttribute("layout"),"The element did not specify a layout attribute. Check https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/control_layout and the respective element documentation for details."),Et(!1,`Layout not supported: ${this.Ns}`))}getBuildPriority(){return this.Us?this.Us.getBuildPriority(this):3}getLayoutPriority(){return this.$s?this.$s.getLayoutPriority():3}getDefaultActionAlias(){return wt(this.isUpgraded()),this.$s.getDefaultActionAlias()}isBuilding(){return!!this.Ss}isBuilt(){return this.bs}whenBuilt(){return this.ei.whenSignal(Ws)}buildInternal(){if(Pr(this),wt(this.Us),this.Ss)return this.Ss;this.setReadyStateInternal(li);const t=this.Ys();this.Js();const e=t.then((()=>{const t=this.Qs(),e=t?null:this.Xs();if(t||e)return De(this,"consentPolicyManager","amp-consent").then((i=>!i||(t?i.whenPolicyUnblock(t):i.whenPurposesUnblock(e)))).then((t=>{if(!t)throw new Error(zn)}))})).then((()=>wt(this.$s).buildCallback()));return this.Ss=e.then((()=>{if(this.bs=!0,this.classList.add("i-amphtml-built"),this.classList.remove("i-amphtml-notbuilt","amp-notbuilt"),this.ei.signal(Ws),this.R1()?this.setReadyStateInternal(this.ks!=li?this.ks:ui):(this.setReadyStateInternal(di),this.preconnect(!1)),this.Vs&&this.L(),this.Hs&&ei(Tt(this)).delay(this.Zs.bind(this),1),!this.getPlaceholder()){const t=this.createPlaceholder();t&&this.appendChild(t)}}),(t=>{throw this.ei.rejectSignal(Ws,t),this.R1()&&this.setReadyStateInternal(mi,t),Bn(t)||$n(t,this),t}))}build(){return this.Ss?this.Ss:this.ei.whenSignal(Gs).then((()=>(this.R1()&&Yn(this.getAmpDoc()).scheduleAsap(this),this.whenBuilt())))}mountInternal(){if(this.Os)return this.Os;this.Cs=this.Cs||new AbortController;const{signal:t}=this.Cs;return this.Os=this.buildInternal().then((()=>{if(wt(this.R1()),t.aborted)return;this.setReadyStateInternal(this.ks!=ui?this.ks:this.Us.usesLoading(this)?di:ui),this.xs=!0;const e=this.$s.mountCallback(t);return!!e&&e.then(vr)})).then((e=>{if(this.Cs=null,t.aborted)throw Hn();this.ei.signal(Ks),this.Us.usesLoading(this)&&!e||this.setReadyStateInternal(pi)})).catch((t=>{var e;throw this.Cs=null,(e=t)&&("string"==typeof e?e.startsWith(Dn):"string"==typeof e.message&&e.message.startsWith(Dn))?this.Os=null:(this.ei.rejectSignal(Ks,t),this.setReadyStateInternal(mi,t)),t}))}mount(){if(this.Os)return this.Os;this.Cs=this.Cs||new AbortController;const{signal:t}=this.Cs;return this.ei.whenSignal(Gs).then((()=>{if(!this.R1())return this.whenBuilt();if(t.aborted)throw Hn();return Yn(this.getAmpDoc()).scheduleAsap(this),this.whenMounted()}))}unmount(){this.Vs&&this.pause(),this.R1()?(this.Cs&&(this.Cs.abort(),this.Cs=null),Yn(this.getAmpDoc()).unschedule(this),this.xs&&this.$s.unmountCallback(),this.xs=!1,this.Os=null,this.ie(),this.Vs&&this.qs(!0)):this.re()}whenMounted(){return this.ei.whenSignal(Ks)}whenLoaded(){return this.ei.whenSignal(Js)}ensureLoaded(t){return this.mount().then((()=>{if(this.R1())return this.Us.usesLoading(this)&&this.$s.ensureLoaded(),this.whenLoaded();const e=this.he();return e.whenBuilt().then((()=>{if(4!=e.getState()&&((3!=e.getState()||e.isMeasureRequested())&&e.measure(),e.isDisplayed()))return this.getResources().scheduleLayoutOrPreload(e,!0,t,!0),this.whenLoaded()}))}))}setAsContainerInternal(t){Yn(this.getAmpDoc()).setContainer(this,t)}removeAsContainerInternal(){Yn(this.getAmpDoc()).removeContainer(this)}setReadyStateInternal(t,e){if(t!==this.ks&&(this.ks=t,this.R1()))switch(t){case di:return this.ei.signal(Qs),this.ei.reset(Xs),this.ei.reset(Js),this.classList.add("i-amphtml-layout"),this.toggleLoading(!0),void this.dispatchCustomEventForTesting(Hs);case pi:return this.ei.signal(Qs),this.ei.signal(Js),this.ei.reset(Xs),this.classList.add("i-amphtml-layout"),this.toggleLoading(!1),Gt(this,"load",null,gr),void this.dispatchCustomEventForTesting(Bs);case mi:return this.ei.rejectSignal(Js,e),this.toggleLoading(!1),void Gt(this,"error",e,gr)}}preconnect(t){wt(this.isUpgraded()),t?this.$s.preconnectCallback(t):er(this.getAmpDoc(),(()=>{this.ownerDocument&&this.ownerDocument.defaultView&&this.$s.preconnectCallback(t)}))}R1(){return!!this.Us&&this.Us.R1()}deferredMount(){return!!this.Us&&this.Us.deferredMount(this)}isAlwaysFixed(){return!!this.$s&&this.$s.isAlwaysFixed()}updateLayoutBox(t,e=!1){this.isBuilt()&&this.onMeasure(e)}onMeasure(){wt(this.isBuilt());try{this.$s.onLayoutMeasure()}catch(t){$n(t,this)}}Js(){var t;return void 0!==this.sizerElement||this.Ns!==Ts&&this.Ns!==ks||(this.sizerElement=this.querySelector("i-amphtml-sizer"),null===(t=this.sizerElement)||void 0===t||t.setAttribute("slot","i-amphtml-svc")),this.sizerElement||null}oe(t){if(this.Ns!==Ts)if(this.Ns!==ks);else{const e=t.querySelector(".i-amphtml-intrinsic-sizer");if(!e)return;e.setAttribute("src","")}else es(t,"paddingTop","0")}ue(){const t=this.hasAttribute("media")||this.hasAttribute("sizes")&&!this.hasAttribute("disable-inline-width")||this.hasAttribute("heights"),e=!!this.Gs,i=this.ownerDocument.defaultView;t!=e&&i&&(t?(this.Gs=new class{constructor(t,e){this.i=t,this.It=e,this.le={},this.ce=null}start(){this.ce=this.le,this.le={}}resolveMatchQuery(t){return"1"===this.ae(t,Zs,"1")}resolveListQuery(t){return this.ae(t,tn,"")}complete(){for(const t in this.ce)t in this.le||en(this.ce[t],this.It,!1);this.ce=null}dispose(){for(const t in this.le)en(this.le[t],this.It,!1);this.le={}}ae(t,e,i){if(!t.trim())return i;let s=this.le[t];return s||(V(this.ce),s=this.ce[t]),s||(s=e(this.i,t),en(s,this.It,!0)),this.le[t]=s,function(t){for(let e=0;ethis.de())),this.de()):this.fe())}fe(){this.Gs&&(this.Gs.dispose(),this.Gs=null)}de(){const t=this.Gs;if(!t)return;t.start();const e=this.getAttribute("media")||null,i=!e||t.resolveMatchQuery(e);this.classList.toggle("i-amphtml-hidden-by-media-query",!i);const s=this.hasAttribute("disable-inline-width")?null:this.getAttribute("sizes");s&&es(this,"width",t.resolveListQuery(s));const n=this.Ns===Ts?this.getAttribute("heights"):null;if(n){const e=this.Js();e&&es(e,"paddingTop",t.resolveListQuery(n))}t.complete(),this.he().requestMeasure()}applySize(t,e,i){const s=this.Js();s&&(this.sizerElement=null,this.oe(s),this.pe((()=>{s&&Dt(s)}))),void 0!==t&&es(this,"height",t,"px"),void 0!==e&&es(this,"width",e,"px"),i&&(null!=i.top&&es(this,"marginTop",i.top,"px"),null!=i.right&&es(this,"marginRight",i.right,"px"),null!=i.bottom&&es(this,"marginBottom",i.bottom,"px"),null!=i.left&&es(this,"marginLeft",i.left,"px")),this.me()&&this._e(),Gt(this,"amp:size-changed")}connectedCallback(){if(function(){if(void 0===mr){const t=self.document.createElement("template");mr="content"in t}return mr}()||void 0!==this.js||(this.js=!!kt(this,"template")),!this.js&&!this.Vs&&Ut(this)){if(this.Vs=!0,this.everAttached||this.classList.add("i-amphtml-element","i-amphtml-notbuilt","amp-notbuilt"),!this.ji){const t=Tt(this),i=Be(t).getAmpDoc(this);this.ji=i,e(i,this,this.Us)}if(this.Ei||(this.Ei=ti(this.ji)),this.getResources().add(this),this.everAttached){const t=this.reconstructWhenReparented();t&&this.ie(),this.isUpgraded()&&(t&&!this.R1()&&this.getResources().upgraded(this),this.L(),this.dispatchCustomEventForTesting($s)),this.Us&&this.R1()&&this.qs()}else{this.everAttached=!0;try{this.Ns=function(t){const e=t.getAttribute("i-amphtml-layout");if(e){const s=Vs(e);var i;return V(s),s!=Ts&&s!=ks||!t.firstElementChild?s==Is&&ss(t,!1):(t.sizerElement=t.querySelector("i-amphtml-sizer")||void 0,null===(i=t.sizerElement)||void 0===i||i.setAttribute("slot","i-amphtml-svc")),s}const{height:s,layout:n,width:r}=hn(t);if(t.classList.add(Os(n)),Cs(n)&&t.classList.add("i-amphtml-layout-size-defined"),n==Is)ss(t,!1);else if(n==ws)is(t,{width:C(r),height:C(s)});else if(n==Es)es(t,"height",C(s));else if(n==Ts){const e=t.ownerDocument.createElement("i-amphtml-sizer");e.setAttribute("slot","i-amphtml-svc");const i=Ds(s),n=Ds(r);N(i),N(n),is(e,{paddingTop:i/n*100+"%"}),t.insertBefore(e,t.firstChild),t.sizerElement=e}else if(n==ks){const e=sn(t)(rn),i=e.firstElementChild;O(i),i.setAttribute("src",`data:image/svg+xml;charset=utf-8,`),t.insertBefore(e,t.firstChild),t.sizerElement=e}else n==Rs||n==Ss||(n==Ms?(r&&es(t,"width",r),s&&es(t,"height",s)):n==xs&&(t.classList.add("i-amphtml-layout-awaiting-size"),r&&es(t,"width",r),es(t,"height",0)));return t.setAttribute("i-amphtml-layout",n),n}(this),this.ue()}catch(t){$n(t,this)}this.Us?this.qs():(Ar.has("*")||Ar.has(this.tagName.toLowerCase()))&&this.markUnresolved(),this.isUpgraded()||this.dispatchCustomEventForTesting("amp:stubbed")}this.toggleLoading(!0)}}me(){return this.classList.contains("i-amphtml-layout-awaiting-size")}_e(){this.classList.remove("i-amphtml-layout-awaiting-size")}qs(t){if(this.R1()){if(!this.Os)if(Yn(this.getAmpDoc()).schedule(this),this.classList.remove("amp-unresolved","i-amphtml-unresolved"),this.Ss)this.setReadyStateInternal(this.Us&&this.Us.usesLoading(this)?di:ui);else if(this.setReadyStateInternal(li),!t){const t=this.Us.getPreconnects(this);if(t&&t.length>0){const e=this.getAmpDoc();er(e,(()=>{const{win:i}=e;if(!i)return;const s=Ze(i);t.forEach((t=>s.url(e,t,!1)))}))}}}else this.Ae()}Ae(){if(this.js)return;if(1!=this.Fs)return;const e=new(wt(this.Us))(this);this.Fs=4;const i=t.Date.now(),s=e.upgradeCallback();if(s){if("function"==typeof s.then)return s.then((t=>{this.Ws(t||e,i)})).catch((t=>{this.Fs=3,c(t)}));this.Ws(s,i)}else this.Ws(e,i)}disconnectedCallback(){this.disconnect(!1)}L(){this.bs&&this.$s.attachedCallback()}disconnect(t){!this.js&&this.Vs&&(!t&&Ut(this)||(t&&this.classList.remove("i-amphtml-element"),this.Vs=!1,this.getResources().remove(this),this.$s&&this.$s.detachedCallback(),this.R1()&&this.unmount(),this.toggleLoading(!1),this.fe()))}dispatchCustomEventForTesting(t,e){}prerenderAllowed(){return!this.hasAttribute("noprerender")&&!!this.Us&&this.Us.prerenderAllowed(this)}previewAllowed(){return!!this.Us&&this.Us.previewAllowed(this)}isBuildRenderBlocking(){return!!this.$s&&this.$s.isBuildRenderBlocking()}createPlaceholder(){return this.$s?this.$s.createPlaceholderCallback():null}createLoaderLogo(){return this.Us?this.Us.createLoaderLogoCallback(this):{}}renderOutsideViewport(){return!!this.$s&&this.$s.renderOutsideViewport()}idleRenderOutsideViewport(){return!!this.$s&&this.$s.idleRenderOutsideViewport()}getLayoutBox(){return this.he().getLayoutBox()}getLayoutSize(){return this.he().getLayoutSize()}getOwner(){return this.he().getOwner()}getIntersectionChangeEntry(){const t=this.$s?this.$s.getIntersectionElementLayoutBox():this.getLayoutBox(),e=this.getOwner(),i=hi(this.getAmpDoc()).getRect();return function(t,e,i){const s=function(t){let e=-1/0,i=1/0,s=-1/0,n=1/0;for(let t=0;tthis.$s))}Ys(){return this.ei.whenSignal(Gs).then((()=>(this.Ae(),this.whenUpgraded())))}getApi(){return this.getImpl().then((t=>t.getApi()))}getLayout(){return this.Ns}layoutCallback(t){if(Pr(this),wt(this.isBuilt()),t.aborted)return Promise.reject(Hn());this.dispatchCustomEventForTesting(Hs);const e=0==this.wi;this.ei.reset(Xs),e&&this.ei.signal(Qs),this.toggleLoading(!0);const i=r((()=>this.$s.layoutCallback()));return this.preconnect(!0),this.classList.add("i-amphtml-layout"),i.then((()=>{if(t.aborted)throw Hn();e&&this.ei.signal(Js),this.setReadyStateInternal(pi),this.wi++,this.toggleLoading(!1),this.Ds||(this.$s.firstLayoutCompleted(),this.Ds=!0,this.dispatchCustomEventForTesting(Bs))}),(i=>{if(t.aborted)throw Hn();throw e&&this.ei.rejectSignal(Js,i),this.setReadyStateInternal(mi,i),this.wi++,this.toggleLoading(!1),i}))}pause(){this.isBuilt()&&(this.$s.pauseCallback(),!this.R1()&&this.$s.unlayoutOnPause()&&this.re())}resume(){this.isBuilt()&&this.$s.resumeCallback()}unlayoutCallback(){if(Pr(this),!this.isBuilt())return!1;this.ei.signal(Xs);const t=this.$s.unlayoutCallback();return t&&this.ie(),this.dispatchCustomEventForTesting("amp:unload"),t}re(){this.he().unlayout(),this.Vs&&this.Ei&&this.Ei.schedulePass()}ie(){this.wi=0,this.Ds=!1,this.ei.reset(Ks),this.ei.reset(Ys),this.ei.reset(Qs),this.ei.reset(Js),this.ei.reset("ini-load")}reconstructWhenReparented(){return!!this.$s&&this.$s.reconstructWhenReparented()}collapse(){this.$s&&this.$s.collapse()}collapsedCallback(t){this.$s&&this.$s.collapsedCallback(t)}expand(){this.$s&&this.$s.expand()}mutatedAttributesCallback(t){this.$s?this.$s.mutatedAttributesCallback(t):this.R1()&&Yn(this).scheduleAsap(this)}enqueAction(t){Pr(this),this.isBuilt()?this.ge(t,!1):(void 0===this.Hs&&(this.Hs=[]),wt(this.Hs).push(t),this.build())}Zs(){if(!this.Hs)return;const t=wt(this.Hs);this.Hs=null,t.forEach((t=>{this.ge(t,!0)}))}ge(t,e){try{this.$s.executeAction(t,e)}catch(e){c("Action execution failed:",e,t.node.tagName,t.method)}}Qs(){let t=this.getAttribute("data-block-on-consent");if(null===t){if(!function(t){let e=t.getAmpDoc().getMetaByName("amp-consent-blocking");return!!e&&(e=e.toUpperCase().replace(/\s+/g,""),e.split(",").includes(t.tagName))}(this))return null;t="default",this.setAttribute("data-block-on-consent",t)}return""==t||"default"==t?wt(this.$s).getConsentPolicy():t}Xs(){var t;const e=this.getAttribute("data-block-on-consent-purposes")||null;return null==e||null===(t=e.replace(/\s+/g,""))||void 0===t?void 0:t.split(",")}getPlaceholder(){return jt(this,(t=>t.hasAttribute("placeholder")&&!yr(t)))}togglePlaceholder(t){if(Pr(this),t){const t=this.getPlaceholder();t&&t.classList.remove("amp-hidden")}else{const t=(Mt("placeholder"),this.querySelectorAll(St("> [placeholder]",":scope")));for(let e=0;e0||this.ei.get(Ys);return!(this.Ns==Is||this.hasAttribute("noloading")||e&&!t||!function(t){const e=t.tagName.toUpperCase();return"AMP-AD"===(i=e)||"AMP-ANIM"===i||"AMP-EMBED"===i||"AMP-FACEBOOK"===i||"AMP-FACEBOOK-COMMENTS"===i||"AMP-FACEBOOK-PAGE"===i||"AMP-GOOGLE-DOCUMENT-EMBED"===i||"AMP-IFRAME"===i||"AMP-IMG"===i||"AMP-INSTAGRAM"===i||"AMP-LIST"===i||"AMP-PINTEREST"===i||"AMP-PLAYBUZZ"===i||"AMP-RENDER"===i||"AMP-TIKTOK"===i||"AMP-TWITTER"===i||function(t){return"AMP-VIDEO"!=t&&js.test(t)}(e);var i}(this)||Ot(this))}toggleLoading(t,e=!1){if(!this.ownerDocument||!this.ownerDocument.defaultView)return;const i=ce(this.getAmpDoc(),"loadingIndicator");i&&((t=t&&this.Pe(e))?i.track(this):i.untrack(this))}getOverflowElement(){return void 0===this.Ls&&(this.Ls=Vt(this,"overflow"),this.Ls&&(this.Ls.hasAttribute("tabindex")||this.Ls.setAttribute("tabindex","0"),this.Ls.hasAttribute("role")||this.Ls.setAttribute("role","button"))),this.Ls}overflowCallback(t,e,i){this.getOverflowElement(),this.Ls?(this.Ls.classList.toggle("amp-visible",t),this.Ls.onclick=t?()=>{const t=Ye(this.getAmpDoc());t.forceChangeSize(this,e,i),t.mutateElement(this,(()=>{this.overflowCallback(!1,e,i)}))}:null):t&&this.warnOnMissingOverflow}pe(t,e,i=!1){this.ji?Ye(this.getAmpDoc()).mutateElement(e||this,t,i):t()}},t.__AMP_BASE_CE_CLASS}(t,e);class s extends i{adoptedCallback(){Object.getPrototypeOf(this)!==n&&Object.setPrototypeOf(this,n)}}const n=s.prototype;return s}(t,xr);t.customElements.define(e,s)}function xr(t,e,i){br.has(t)||(br.set(t,!0),Tr(t));const s=e.localName;i||t.declaresExtension(s)||Ke(t.win).installExtensionForDoc(t,s,"0.1")}var kr="amp-img",jr=["alt","aria-describedby","aria-label","aria-labelledby","crossorigin","referrerpolicy","title","importance","sizes","srcset","src"],Vr=class t extends hr{static R1(){return!1}static prerenderAllowed(){return!0}static usesLoading(){return!0}static getPreconnects(t){const e=t.getAttribute("src");if(e)return[e];const i=t.getAttribute("srcset");if(i){const t=/\S+/.exec(i);if(t)return[t[0]]}return null}constructor(t){super(t),this.ve=!0,this.Ee=null,this.Te=null,this.Re=null,this.Ie=0}mutatedAttributesCallback(e){if(this.Ee){const i=jr.filter((t=>void 0!==e[t]));e.src&&!e.srcset&&this.element.hasAttribute("srcset")&&(this.element.removeAttribute("srcset"),i.push("srcset"),this.user().warn(kr,"Removed [srcset] since [src] was mutated. Recommend adding a [srcset] binding to support responsive images.",this.element)),Us(i,this.element,this.Ee,!0),this.propagateDataset(this.Ee),t.R1()&&!this.Ee.complete&&this.setReadyState(di)}}preconnectCallback(t){const e=this.element.getAttribute("src");if(e)Ze(this.win).url(this.getAmpDoc(),e,t);else{const e=this.element.getAttribute("srcset");if(!e)return;const i=/\S+/.exec(e);i&&Ze(this.win).url(this.getAmpDoc(),i[0],t)}}isLayoutSupported(t){return Cs(t)}Me(){if(this.Ee)return this.Ee;this.ve=!this.element.hasAttribute("fallback");const t=Wt(this.element);var e,i;return t&&(this.Ee=xt(this.element,"> img:not([placeholder])")),this.Ee=this.Ee||new Image,this.Ee.setAttribute("decoding","async"),this.element.id&&this.Ee.setAttribute("amp-img-id",this.element.id),"img"==this.element.getAttribute("role")&&(this.element.removeAttribute("role"),this.user().error(kr,"Setting role=img on amp-img elements breaks screen readers please just set alt or ARIA attributes, they will be correctly propagated for the underlying element.")),this.ye(!0),Us(jr,this.element,this.Ee),this.propagateDataset(this.Ee),zs(this.Ee,!0),e=this.element,i=this.Ee,e.hasAttribute("object-fit")&&es(i,"object-fit",e.getAttribute("object-fit")),e.hasAttribute("object-position")&&es(i,"object-position",e.getAttribute("object-position")),t||this.element.appendChild(this.Ee),this.Ee}ye(t){if(!this.Ee)return;if(this.element.hasAttribute("i-amphtml-ssr"))return;if(this.element.hasAttribute("sizes")||this.Ee.hasAttribute("sizes"))return;const e=this.element.getAttribute("srcset");if(!e||/[0-9]+x(?:,|$)/.test(e))return;const{width:i}=this.element.getLayoutSize();if(!this.we(i))return;const s=this.getViewport().getWidth(),n=`(max-width: ${s}px) ${i}px, `;let r=i+"px";if(this.getLayout()!==ws){const t=Math.round(100*i/s);r=Math.max(t,100)+"vw"}const o=n+r;t?this.Ee.setAttribute("sizes",o):this.mutateElement((()=>{this.Ee.setAttribute("sizes",o)})),this.Ie=i}we(t){return!this.Ee.hasAttribute("sizes")||t>this.Ie}reconstructWhenReparented(){return!1}mountCallback(){const t=!!this.Ee,e=this.Me();t||(wi(e,"load",(()=>{this.setReadyState(pi),this.firstLayoutCompleted(),this.be()})),wi(e,"error",(t=>{this.setReadyState(mi,t),this.Ve()}))),e.complete?(this.setReadyState(pi),this.firstLayoutCompleted(),this.be()):this.setReadyState(di)}unmountCallback(){const t=this.Ee;t&&!t.complete&&(t.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=",Dt(t),this.Ee=null)}ensureLoaded(){this.Ee.loading="eager"}layoutCallback(){this.Me();const t=this.Ee;this.Te=wi(t,"load",(()=>this.be())),this.Re=wi(t,"error",(()=>this.Ve()));const{width:e}=this.element.getLayoutSize();return e<=0?s():this.loadPromise(t)}unlayoutCallback(){if(t.R1())return;this.Re&&(this.Re(),this.Re=null),this.Te&&(this.Te(),this.Te=null);const e=this.Ee;return e&&!e.complete&&(e.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=",Dt(e),this.Ee=null),!0}firstLayoutCompleted(){const t=this.getPlaceholder();t&&t.classList.contains("i-amphtml-blurry-placeholder")?ts(t,{"opacity":0}):this.togglePlaceholder(!1)}be(){!this.ve&&this.Ee.classList.contains("i-amphtml-ghost")&&(this.Ee.classList.remove("i-amphtml-ghost"),this.toggleFallback(!1))}Ve(){this.ve&&(this.Ee.classList.add("i-amphtml-ghost"),this.toggleFallback(!0),this.togglePlaceholder(!1),this.ve=!1)}propagateDataset(t){for(const e in t.dataset)e in this.element.dataset||delete t.dataset[e];for(const e in this.element.dataset)e.startsWith("ampBind")&&"ampBind"!==e||t.dataset[e]!==this.element.dataset[e]&&(t.dataset[e]=this.element.dataset[e])}},Or=class extends hr{static prerenderAllowed(){return!0}isLayoutSupported(t){return t==Ss||Cs(t)}buildCallback(){!function(t){if(Wt(t))return;const e=function(t){var e;return Vs(null!==(e=t.getAttribute("layout"))&&void 0!==e?e:"")||hn(t).layout}(t);if(e==Ss)return;const i=t.ownerDocument.createElement("div");zs(i),function(t){return function(t,e){const i=[];for(let e=t.firstChild;e;e=e.nextSibling)!Ot(e)&&i.push(e);return i}(t)}(t).forEach((t=>{i.appendChild(t)})),t.appendChild(i)}(this.element)}};function Cr(t,e,i=!1,s){const n=new(ds.getImage(t));i&&(n.referrerPolicy="no-referrer");let r=0;var o;return null!=s&&((null===(o=t.document.featurePolicy)||void 0===o?void 0:o.allowedFeatures().includes("attribution-reporting"))?(r=6,s=Nr(t,r)(s),n.attributionSrc=s):r=5),e=Nr(t,r)(e),n.src=e,n}function Nr(t,e){const i={"ATTRIBUTION_REPORTING_STATUS":()=>e},s=ii(t.document),n={"ATTRIBUTION_REPORTING_STATUS":!0};return t=>s.expandUrlSync(t,i,n)}var Lr="amp-pixel",Dr=class extends hr{constructor(t){super(t),this.Se=null}isLayoutSupported(t){return!0}buildCallback(){this.element.setAttribute("aria-hidden","true"),this.xe=this.element.getAttribute("referrerpolicy"),this.xe&&Et("no-referrer"==this.xe,`${Lr}: invalid "referrerpolicy" value "${this.xe}". Only "no-referrer" is supported`),this.element.hasAttribute("i-amphtml-ssr")&&this.element.querySelector("img")||this.getAmpDoc().whenFirstVisible().then(this.Oe.bind(this))}Oe(){if(this.Se)return It().error(Lr,"duplicate pixel"),this.Se;this.Se=ei(this.win).promise(1).then((()=>{const t=this.element.getAttribute("src");if(t)return ii(this.element).expandUrlAsync(this.Ce(t)).then((t=>{if(this.win)return function(t,e,i,s){return i&&"no-referrer"!==i&&Pt().error("pixel","Unsupported referrerPolicy: %s",i),"no-referrer"===i?function(t,e,i){if("referrerPolicy"in Image.prototype)return Cr(t,e,!0,i);{const i=zt(t.document,"iframe",{"src":"about:blank","style":"display:none"});return i.onload=()=>{Cr(i.contentWindow,e)},t.document.body.appendChild(i),i}}(t,e,s):Cr(t,e,!1,s)}(this.win,t,this.xe,this.element.getAttribute("attributionsrc"))}))}))}Ce(t){return Et(/^(https\:\/\/|\/\/)/i.test(t),'The src attribute must start with "https://" or "//". Invalid value: '+t),t}},zr=class{constructor(t,e,i){this.ke=ei(t),this.Ne=e,this.De=i||0,this.Le=-1,this.Ue=0,this.$e=!1,this.Fe=()=>{this.Be()}}isPending(){return-1!=this.Le}schedule(t){let e=t||this.De;this.$e&&e<10&&(e=10);const i=Date.now()+e;return(!this.isPending()||i-this.Ue<-10)&&(this.cancel(),this.Ue=i,this.Le=this.ke.delay(this.Fe,e),!0)}Be(){this.Le=-1,this.Ue=0,this.$e=!0,this.Ne(),this.$e=!1}cancel(){this.isPending()&&(this.ke.cancel(this.Le),this.Le=-1)}};var Ur="Action",Fr="__AMP_ACTION_MAP__"+Math.random(),$r="__AMP_ACTION_QUEUE__",Hr="__AMP_ACTION_HANDLER__",Br={"form":["submit","clear"]},Gr=[{tagOrTarget:"AMP",method:"setState"},{tagOrTarget:"*",method:"focus"},{tagOrTarget:"*",method:"hide"},{tagOrTarget:"*",method:"show"},{tagOrTarget:"*",method:"toggleClass"},{tagOrTarget:"*",method:"toggleChecked"},{tagOrTarget:"*",method:"toggleVisibility"}],qr={"button":!0,"checkbox":!0,"link":!0,"listbox":!0,"menuitem":!0,"menuitemcheckbox":!0,"menuitemradio":!0,"option":!0,"radio":!0,"scrollbar":!0,"slider":!0,"spinbutton":!0,"switch":!0,"tab":!0,"treeitem":!0},Wr=class{constructor(t,e,i,s,n,r,o,h="?",a=null,c=Math.random()){this.node=t,this.method=e,this.args=i,this.source=s,this.caller=n,this.event=r,this.trust=o,this.actionEventType=h,this.tagOrTarget=a||t.tagName,this.sequenceId=c}satisfiesTrust(t){if(!T(this.trust))return It().error(Ur,`Invalid trust for '${this.method}': ${this.trust}`),!1;if(this.trustt.value)).join(".")};r||(r=m()),r[a]=c,n=t.peek(),i(n.type==eo.SEPARATOR&&(","==n.value||")"==n.value),"Expected either [,] or [)]")}else i(!1,`; unexpected token [${s.value||""}]`)}while(s.type!=eo.SEPARATOR||")"!=s.value);var o;return r}function Zr(t,e,i,s){return Et(i,"Invalid action definition in %s: [%s] %s",e,t,s||"")}function to(t,e,i,s,n){return void 0!==n?Zr(t,e,s.includes(i.type)&&i.value==n,`; expected [${n}]`):Zr(t,e,s.includes(i.type)),i}var eo={INVALID:0,EOF:1,SEPARATOR:2,LITERAL:3,ID:4,OBJECT:5},io=" \t\n\r\f\v \u2028\u2029",so=class{constructor(t){this.He=t,this.je=-1}next(t){const e=this.ze(t||!1);return this.je=e.index,e}peek(t){return this.ze(t||!1)}ze(t){let e=this.je+1;if(e>=this.He.length)return{type:eo.EOF,index:this.je};let i=this.He.charAt(e);if(-1!=io.indexOf(i)){for(e++;e=this.He.length)return{type:eo.EOF,index:e};i=this.He.charAt(e)}if(t&&(no(i)||"."==i&&e+1="0"&&t<="9"}function ro(t){return!!t&&"function"==typeof t.getFormData}var oo=["GET","POST"],ho=[y,p];function ao(t,e){const i=_({},e);if(ro(e.body)){const t=e.body;i.headers["Content-Type"]="multipart/form-data;charset=utf-8",i.body=function(t){const e=[];for(let i=t.next();!i.done;i=t.next())e.push(i.value);return e}(t.entries())}return{input:t,init:i}}function co(t,e){const i=t||{},s=i.credentials;return V(void 0===s||"include"==s||"omit"==s),i.method=void 0===(n=i.method)?"GET":(n=n.toUpperCase(),V(oo.includes(n)),n),i.headers=i.headers||{},e&&(i.headers.Accept=e),V(null!==i.body),i;var n}function lo(t){return new Promise((e=>{if(t.ok)return e(t);const{status:i}=t,s=Pt().createError(`HTTP error ${i}`);throw s.retriable=function(t){return 415==t||t>=500&&t<600}(i),s.response=t,s}))}var uo=class{constructor(t){this.win=t;const e=Be(t);this.Ge=e.isSingleDoc()?e.getSingleDoc():null}qe(t,e){return function(t,e,i,n){if(!e)return s();const r=n.prerenderSafe?s():e.whenFirstVisible(),o=ri(e),h=Mn(i),a=o.hasCapability("xhrInterceptor"),c=n.bypassInterceptorForDev&&!1;return h||!a||c?r:e.getRootNode().documentElement.hasAttribute("allow-xhr-interception")?r.then((()=>o.isTrustedViewer())).then((e=>{if(!e&&!Se(t,"untrusted-xhr-interception"))return;const s={"originalRequest":ao(i,n)};return o.sendMessageAwaitResponse("xhr",s).then((t=>function(t,e){if(L(p(t),"Object expected: %s",t),"document"!=e)return new Response(t.body,t.init);const i=m(),s={status:200,statusText:"OK",getResponseHeader:t=>i[String(t).toLowerCase()]||null};if(t.init){const e=t.init;y(e.headers)&&e.headers.forEach((t=>{const e=t[0],s=t[1];i[String(e).toLowerCase()]=String(s)})),e.status&&(s.status=parseInt(e.status,10)),e.statusText&&(s.statusText=String(e.statusText))}return new Response(t.body?String(t.body):"",s)}(t,n.responseType)))})):r}(this.win,this.Ge,t,e).then((t=>{if(t)return t;if(ro(e.body)){const t=e.body;e.body=t.getFormData()}return this.win.fetch.apply(null,arguments)}))}We(t,e={}){return t=function(t,e,i){return V("string"==typeof e),!1!==i.ampCors&&(e=Nn(t,e)),e}(this.win,t,e),e=function(t,e,i){i=i||{};const s=function(t){return t.origin||yn(t.location.href).origin}(t);return s==yn(e).origin&&(i.headers=i.headers||{},i.headers["AMP-Same-Origin"]="true"),i}(this.win,t,e),this.qe(t,e).then((t=>t),(e=>{const i=yn(t).origin;throw Pt().createExpectedError("XHR",`Failed fetching (${i}/...):`,e&&e.message)}))}fetchJson(t,e){return this.fetch(t,function(t){const e=co(t,"application/json");if("POST"==e.method&&!ro(e.body)){V(ho.some((t=>t(e.body)))),e.headers["Content-Type"]=e.headers["Content-Type"]||"text/plain;charset=utf-8";const t=e.headers["Content-Type"];e.body="application/x-www-form-urlencoded"===t?En(e.body):JSON.stringify(e.body)}return e}(e))}fetchText(t,e){return this.fetch(t,co(e,"text/plain"))}xssiJson(t,e){return e?t.text().then((t=>t.startsWith(e)?D(t.slice(e.length)):D(t))):t.json()}fetch(t,e){const i=co(e);return this.We(t,i).then((t=>lo(t)))}sendSignal(t,e){return this.We(t,e).then((t=>lo(t)))}getCorsUrl(t,e){return Nn(t,e)}},po=class extends uo{constructor(t){super(t),this.Ke=m()}fetch(t,e){const i=e&&e.headers&&e.headers.Accept||"",s=!e||!e.method||"GET"===e.method,n=this.Ye(t,i),r=!!this.Ke[n];if(s&&r)return this.Ke[n].then((t=>t.clone()));const o=super.fetch(t,e);return s&&(this.Ke[n]=o.then((t=>(delete this.Ke[n],t.clone())),(t=>{throw delete this.Ke[n],t}))),o}Ye(t,e){return Rn(Cn(t,On(this.win.location)))+e}},mo={"+":"-","/":"_","=":"."};function fo(t){const e=function(t){const e=new Array(t.length);for(let i=0;imo[t]))}var go="Crypto";var vo=["prefetch","preload","preconnect","dns-prefetch"],_o={attributes:!0,attributeFilter:["hidden"],subtree:!0};function Ao(t){try{return t.state}catch(t){return null}}var yo="History",Po="AMP.History";function bo(t){const e=ri(t);let i;return e.isOvertakeHistory()||t.win.__AMP_TEST_IFRAME?i=new class{constructor(t,e){this.win=t,this.Qe=e,this.Xe=0,this.Ze=null,this.En=this.Qe.onMessage("historyPopped",(t=>this.Tn(t)))}replaceStateForTarget(t){wt("#"==t[0]),this.win.location.replace(t)}cleanup(){this.En()}setOnStateUpdated(t){this.Ze=t}Rn(t,e,i){return this.In(t)?t:e}In(t){return!!t&&void 0!==t.stackIndex}push(t){const e=_({"stackIndex":this.Xe+1},t||{}),i="pushHistory";return this.Qe.sendMessageAwaitResponse(i,e).then((t=>{const s=e,n=this.Rn(t,s,i);return this.Mn(n),n}))}pop(t){if(t>this.Xe)return this.get();const e={"stackIndex":this.Xe},i="popHistory";return this.Qe.sendMessageAwaitResponse(i,e).then((t=>{const e={"stackIndex":this.Xe-1},s=this.Rn(t,e,i);return this.Mn(s),s}))}replace(t){if(t&&t.url){if(!this.Qe.hasCapability("fullReplaceHistory")){const t={"stackIndex":this.Xe};return Promise.resolve(t)}const e=t.url.replace(/#.*/,"");t.url=e}const e=_({"stackIndex":this.Xe},t||{}),i="replaceHistory";return this.Qe.sendMessageAwaitResponse(i,e,!0).then((t=>{const s=e,n=this.Rn(t,s,i);return this.Mn(n),n}))}get(){return Promise.resolve({data:void 0,fragment:"",stackIndex:this.Xe,title:""})}Tn(t){void 0!==t.newStackIndex&&(t.stackIndex=t.newStackIndex),this.In(t)&&this.Mn(t)}Mn(t){const{stackIndex:e}=t;this.Xe!=e&&(this.Xe=e,this.Ze&&this.Ze(t))}getFragment(){return this.Qe.hasCapability("fragment")?this.Qe.sendMessageAwaitResponse("getFragment",void 0,!0).then((t=>{if(!t)return"";let e=t;return"#"==e[0]&&(e=e.substr(1)),e})):Promise.resolve("")}updateFragment(t){return this.Qe.hasCapability("fragment")?this.Qe.sendMessageAwaitResponse("replaceHistory",{"fragment":t},!0):s()}}(t.win,e):(ne(t.win,"global-history-binding",class{constructor(t){this.win=t,this.ke=ei(t);const{history:e}=this.win;this.yn=e.length-1;const i=Ao(e);let s,n;i&&void 0!==i[Po]&&(this.yn=Math.min(i[Po],this.yn)),this.Xe=this.yn,this.bn,this.Ze=null,this.Vn="state"in e,this.Sn=this.xn(this.Xe),e.pushState&&e.replaceState?(this.On=e.originalPushState||e.pushState.bind(e),this.Cn=e.originalReplaceState||e.replaceState.bind(e),s=(t,e,i)=>{this.Sn=t;try{this.On(t,e,i||null)}catch(t){It().error(yo,"pushState failed: "+t.message)}},n=(t,e,i)=>{this.Sn=t;try{void 0!==i?this.Cn(t,e,i):this.Cn(t,e)}catch(t){It().error(yo,"replaceState failed: "+t.message)}},e.originalPushState||(e.originalPushState=this.On),e.originalReplaceState||(e.originalReplaceState=this.Cn)):(s=(t,e,i)=>{this.Sn=t},n=(t,e,i)=>{this.Sn=t}),this.kn=s,this.Nn=n;try{this.Nn(this.xn(this.Xe,!0))}catch(t){It().error(yo,"Initial replaceState failed: "+t.message)}e.pushState=this.Dn.bind(this),e.replaceState=this.Ln.bind(this),this.Un=t=>{t.state,this.$n()},this.win.addEventListener("popstate",this.Un)}cleanup(){this.On&&(this.win.history.pushState=this.On),this.Cn&&(this.win.history.replaceState=this.Cn),this.win.removeEventListener("popstate",this.Un)}xn(t,e){const i=m(e?this.Fn():void 0);return i[Po]=t,i}setOnStateUpdated(t){this.Ze=t}push(t){return this.Bn((()=>{const e=this.Hn(this.Fn(),t||{});return this.Dn(e,void 0,e.fragment?"#"+e.fragment:void 0),r((()=>this.Hn(e,{stackIndex:this.Xe})))}))}pop(t){return t=Math.max(t,this.yn),this.Bn((()=>this.jn(this.Xe-t+1))).then((t=>this.Hn(this.Fn(),{stackIndex:t})))}replace(t={}){return this.Bn((()=>{const e=this.Hn(this.Fn(),t||{}),i=(e.url||"").replace(/#.*/,""),s=e.fragment?"#"+e.fragment:"";return this.Ln(e,e.title,i||s?i+s:void 0),r((()=>this.Hn(e,{stackIndex:this.Xe})))}))}get(){return r((()=>this.Hn(this.Fn(),{stackIndex:this.Xe})))}backTo(t){return t=Math.max(t,this.yn),this.Bn((()=>this.jn(this.Xe-t)))}$n(){let t=this.Fn();const e=t?t[Po]:void 0;let i=this.Xe;const s=this.bn;this.bn=void 0,i>this.win.history.length-2&&(i=this.win.history.length-2,this.Mn(this.Hn(t,{stackIndex:i}))),null==e?i+=1:i=ePromise.resolve(this.Xe)))}Dn(t,e,i){this.zn(),t||(t={});let s=this.Xe+1;t[Po]=s,this.kn(t,e,i),s!=this.win.history.length-1&&(s=this.win.history.length-1,t[Po]=s,this.Nn(t));const n=this.Hn(t,{stackIndex:s});this.Mn(n)}replaceStateForTarget(t){wt("#"==t[0]),this.Bn((()=>{this.win.removeEventListener("popstate",this.Un);try{this.win.location.replace(t)}finally{this.win.addEventListener("popstate",this.Un)}return this.Ln(),s()}))}Ln(t,e,i){this.zn(),t||(t={});const s=Math.min(this.Xe,this.win.history.length-1);t[Po]=s,this.Nn(t,e,i);const n=this.Hn(t,{stackIndex:s});this.Mn(n)}Mn(t){this.zn(),t.stackIndex=Math.min(t.stackIndex,this.win.history.length-1),this.Xe!=t.stackIndex&&(this.Xe=t.stackIndex,this.Ze&&this.Ze(t))}getFragment(){let{hash:t}=this.win.location;return t=t.substr(1),Promise.resolve(t)}updateFragment(t){return this.replace({fragment:t})}Hn(t,e){const i=_(_({},t&&t.data||{}),e.data||{});return _(_(_({},t||{}),e),{},{data:i})}}),i=oe(t.win,"global-history-binding")),new class{constructor(t,e){this.ji=t,this.ke=ei(t.win),this.qn=e,this.Xe=0,this.Wn=[],this.es=[],this.qn.setOnStateUpdated(this.Ze.bind(this))}cleanup(){this.qn.cleanup()}push(t,e){return this.Kn((()=>this.qn.push(e).then((e=>(this.Ze(e),t&&(this.Wn[e.stackIndex]=t),e.stackIndex)))),"push")}pop(t){return this.Kn((()=>this.qn.pop(t).then((t=>{this.Ze(t)}))),"pop")}replace(t){return this.Kn((()=>this.qn.replace(t)),"replace")}get(){return this.Kn((()=>this.qn.get()),"get")}goBack(t){return this.Kn((()=>this.Xe<=0&&!t?s():this.qn.pop(this.Xe).then((t=>{this.Ze(t)}))),"goBack")}replaceStateForTarget(t){wt("#"==t[0]);const e=this.ji.win.location.hash;return this.push((()=>{this.ji.win.location.replace(e||"#")})).then((()=>{this.qn.replaceStateForTarget(t)}))}getFragment(){return this.qn.getFragment()}updateFragment(t){return"#"==t[0]&&(t=t.substr(1)),this.qn.updateFragment(t)}Ze(t){this.Xe=t.stackIndex,this.Yn(t)}Yn(t){if(this.Xe>=this.Wn.length-1)return;const e=[];for(let t=this.Wn.length-1;t>this.Xe;t--)this.Wn[t]&&(e.push(this.Wn[t]),this.Wn[t]=void 0);if(this.Wn.splice(this.Xe+1),e.length>0)for(let i=0;ie[i](t)),1)}Kn(t,e){const i=new n,{promise:s,reject:r,resolve:o}=i,h=new Error("history trace for "+e+": ");return this.es.push({callback:t,resolve:o,reject:r,trace:h}),1==this.es.length&&this.Jn(),s}Jn(){if(0==this.es.length)return;const t=this.es[0];let e;try{e=t.callback()}catch(t){e=Promise.reject(t)}e.then((e=>{t.resolve(e)}),(e=>{It().error(yo,"failed to execute a task:",e),t.trace&&(t.trace.message+=e,It().error(yo,t.trace)),t.reject(e)})).then((()=>{this.es.splice(0,1),this.Jn()}))}}(t,i)}var Io=null,wo=["gclid","gclsrc"];function Eo(){return Et(Io,"E#19457 trackImpressionPromise")}function To(t,e,i,s){let n;try{n=t.open(e,i,s)}catch(t){It().error("DOM","Failed to open url on target: ",i,t)}var r,o;return!n&&"_top"!=i&&("number"!=typeof o&&(o=0),o+"noopener".length>(r=s||"").length||-1===r.indexOf("noopener",o))&&(n=t.open(e,"_top")),n}var So="navigation",Ro="click",Mo="contextmenu",xo=["_top","_blank"],ko="data-a4a-orig-href",jo=class{constructor(t){this.ampdoc=t,this.sa=t.getRootNode(),this.Al=hi(this.ampdoc),this.Qe=ri(this.ampdoc),this.Xn=Qe(this.ampdoc),this.ah=Xe(this.ampdoc.win),this.ea=this.ah.isIos()&&this.ah.isSafari(),this.Au=Bt(this.ampdoc.win)&&this.Qe.isOvertakeHistory(),this.na=this.sa!=this.ampdoc.getRootNode()||!!this.ampdoc.getParent(),this.ra="inabox"==ct(this.ampdoc.win).runtime,this.ha=this.sa.nodeType==Node.DOCUMENT_NODE?this.sa.documentElement:this.sa,this.oa=this.ua.bind(this),this.sa.addEventListener(Ro,this.oa),this.sa.addEventListener(Mo,this.oa),this.la=!1,function(t){return t.whenReady().then((()=>!!t.getBody().querySelector("amp-analytics[type=googleanalytics]")))}(this.ampdoc).then((t=>{this.la=t})),this.ku=!1,this.ca=!1,Promise.all([this.Qe.isTrustedViewer(),this.Qe.getViewerOrigin()]).then((t=>{var e;this.ku=t[0],this.ca=(e=t[1],it.test(An(e).origin))})),this.aa=null,this.da=new Jn,this.fa=new Jn}static installAnchorClickInterceptor(t,e){e.document.documentElement.addEventListener("click",Vo.bind(null,t),!0)}cleanup(){this.oa&&(this.sa.removeEventListener(Ro,this.oa),this.sa.removeEventListener(Mo,this.oa))}openWindow(t,e,i,s){let n="";!this.ah.isIos()&&this.ah.isChrome()||s||(n+="noopener");const r=To(t,e,i,n);r&&!s&&(r.opener=null)}navigateTo(t,e,i,s={}){const{opener:n=!1,target:r="_top"}=s;e=this.pa(e);const o=ni(this.ha);if(!o.isProtocolValid(e))return void Pt().error(So,"Cannot navigate to invalid protocol: "+e);Et(xo.includes(r),`Target '${r}' not supported.`);const h=o.getSourceUrl(t.location);e=o.resolveRelativeUrl(e,h),"_blank"!=r?i&&(this.aa||(this.aa=this.ma()),this.aa.includes(i)&&this.navigateToAmpUrl(e,i))||(t.top.location.href=e):this.openWindow(t,e,r,n)}navigateToAmpUrl(t,e){return!!this.Qe.hasCapability("a2a")&&(this.Qe.sendMessage("a2aNavigate",{"url":t,"requestedBy":e}),!0)}ma(){const t=this.sa.querySelector('meta[name="amp-to-amp-navigation"]');return t&&t.hasAttribute("content")?t.getAttribute("content").split(",").map((t=>t.trim())):[]}ua(t){if(t.defaultPrevented)return;const e=kt(t.__AMP_CUSTOM_LINKER_TARGET__||t.target,"A");e&&e.href&&(t.type==Ro?this._a(e,t):t.type==Mo&&this.Aa(e,t))}_a(t,e){this.ga(t);let i=this.Pa(t.href);if(this.va(e,t,i))return;if(this.Ea(e,t,i))return;const s=this.Ta();Oo(i)!=Oo(s)&&(this.Ra(t,e),i=this.Pa(t.href)),this.Ia(e,t,i,s)}Aa(t,e){this.ga(t),this.Ra(t,e)}Ra(t,e){this.da.forEach((i=>{i(t,e)}))}pa(t){return this.fa.forEach((e=>{t=e(t)})),t}ga(t){let e=null;this.la&&!this.na&&(e=function(t,e){const i=W(yn(ds.getLocation(t).href).search),s=[];for(let t=0;t=0;t--)void 0!==o[s[t]]&&s.splice(t,1);return function(t){let e="";for(let i=0;it.trim())).includes("amphtml")||!this.navigateToAmpUrl(i.href,"")||(t.preventDefault(),0))}Ia(t,e,i,s){const n=Oo(i),r=Oo(s);if(i.hash&&n==r)this.Ma(t,i,s);else{let i=(e.getAttribute("target")||"").toLowerCase();(this.na||this.ra)&&"_top"!=i&&"_blank"!=i&&(i="_blank",e.setAttribute("target",i));const{win:r}=this.ampdoc,o=Xe(r),h=ri(e);s.search&&o.isSafari()&&o.getMajorVersion()>=13&&h.isProxyOrigin()&&h.isEmbedded()&&this.ya(r,s,i),this.viewerInterceptsNavigation(n,"intercept_click")&&t.preventDefault()}}ya(t,e,i){const s=e.href,n=`${e.origin}${e.pathname}${e.hash}`;t.history.replaceState(null,"",n);const r=()=>{const e=t.location.href;e==n?t.history.replaceState(null,"",s):It().error(So,"Unexpected iframe URL change:",e,n)};"_blank"===i?t.setTimeout(r,0):t.addEventListener("pageshow",(function e(i){i.persisted&&(r(),t.removeEventListener("pageshow",e))}))}Ma(t,e,i){if(t.preventDefault(),this.na)return;const s=e.hash.slice(1);let n=null;if(s){const t=Rt(s);n=this.sa.getElementById(s)||this.sa.querySelector(`a[name="${t}"]`)}e.hash!=i.hash?this.Xn.replaceStateForTarget(e.hash).then((()=>{this.wa(n,s)})):this.wa(n,s)}registerAnchorMutator(t,e){this.da.enqueue(t,e)}registerNavigateToMutator(t,e){this.fa.enqueue(t,e)}wa(t,e){t&&(this.Al.scrollIntoView(t),ei(this.ampdoc.win).delay((()=>this.Al.scrollIntoView(t)),1))}Pa(t){return ni(this.ha).parse(t)}Ta(){return this.Pa("")}viewerInterceptsNavigation(t,e){const i=this.Qe.hasCapability("interceptNavigation"),s=this.ampdoc.isSingleDoc()&&this.ampdoc.getRootNode().documentElement.hasAttribute("allow-navigation-interception");return!(!i||!s||!this.ku&&!this.ca||(this.Qe.sendMessage("navigateTo",{"url":t,"requestedBy":e}),0))}};function Vo(t,e){const i=kt(e.target,"A");if(!i||!i.href)return;const s=i.getAttribute(ko)||i.getAttribute("href");if(!s)return;const n={"CLICK_X":()=>e.pageX,"CLICK_Y":()=>e.pageY},r=ii(i).expandUrlSync(s,n,{"CLICK_X":!0,"CLICK_Y":!0});r!=s&&(i.getAttribute(ko)||i.setAttribute(ko,s),i.setAttribute("href",r))}function Oo(t){return`${t.origin}${t.pathname}${t.search}`}function Co(t){return y(t)?t:[t]}function No(t){ne(t,"platform",class{constructor(t){this.Yh=t.navigator,this.i=t}isAndroid(){return/Android/i.test(this.Yh.userAgent)}isIos(){return/iPhone|iPad|iPod/i.test(this.Yh.userAgent)}isSafari(){return/Safari/i.test(this.Yh.userAgent)&&!this.isChrome()&&!this.isEdge()&&!this.isFirefox()&&!this.isOpera()}isChrome(){return/Chrome|CriOS/i.test(this.Yh.userAgent)&&!this.isEdge()&&!this.isOpera()}isFirefox(){return/Firefox|FxiOS/i.test(this.Yh.userAgent)&&!this.isEdge()}isOpera(){return/OPR\/|Opera|OPiOS/i.test(this.Yh.userAgent)}isEdge(){return/Edge/i.test(this.Yh.userAgent)}isWebKit(){return/WebKit/i.test(this.Yh.userAgent)&&!this.isEdge()}isWindows(){return/Windows/i.test(this.Yh.userAgent)}isStandalone(){return this.isIos()&&this.Yh.standalone||this.isChrome()&&this.i.matchMedia("(display-mode: standalone)").matches}isBot(){return/bot/i.test(this.Yh.userAgent)}getMajorVersion(){return this.isSafari()?this.isIos()?this.getIosMajorVersion()||0:this.Jh(/\sVersion\/(\d+)/,1):this.isChrome()?this.Jh(/(Chrome|CriOS)\/(\d+)/,2):this.isFirefox()?this.Jh(/(Firefox|FxiOS)\/(\d+)/,2):this.isOpera()?this.Jh(/(OPR|Opera|OPiOS)\/(\d+)/,2):this.isEdge()?this.Jh(/Edge\/(\d+)/,1):0}Jh(t,e){if(!this.Yh.userAgent)return 0;const i=this.Yh.userAgent.match(t);return!i||e>=i.length?0:parseInt(i[e],10)}getIosVersionString(){var t,e,i;return this.isIos()&&(null===(t=this.Yh.userAgent)||void 0===t||null===(e=t.match(/OS ([0-9]+[_.][0-9]+([_.][0-9]+)?)\b/))||void 0===e||null===(i=e[1])||void 0===i?void 0:i.replace(/_/g,"."))||""}getIosMajorVersion(){const t=this.getIosVersionString();return""==t?null:Number(t.split(".")[0])}})}function Lo(t){return t.queryCommandSupported("copy")}function Do(t){return t.hasAttribute("hidden")}var zo="STANDARD-ACTIONS",Uo=/^i-amphtml-/;var Fo="__AMP_IMPL_",$o=()=>{};function Ho(t){ne(t,"timer",class{constructor(t){this.win=t,this.Er=this.win.Promise.resolve(),this.Tr=0,this.Rr={},this.Ir=Date.now()}timeSinceStart(){return Date.now()-this.Ir}delay(t,e){if(!e){const e="p"+this.Tr++;return this.Er.then((()=>{this.Rr[e]?delete this.Rr[e]:t()})).catch($n),e}return this.win.setTimeout((()=>{try{t()}catch(t){throw $n(t),t}}),e)}cancel(t){"string"!=typeof t?this.win.clearTimeout(t):this.Rr[t]=!0}promise(t){return new this.win.Promise((e=>{if(-1==this.delay(e,t))throw new Error("Failed to schedule timer.")}))}timeoutPromise(t,e,i){let s;const n=new this.win.Promise(((e,n)=>{if(s=this.delay((()=>{n(Pt().createError(i||"timeout"))}),t),-1==s)throw new Error("Failed to schedule timer.")}));if(!e)return n;const r=()=>{this.cancel(s)};return e.then(r,r),this.win.Promise.race([n,e])}poll(t,e){return new this.win.Promise((i=>{const s=this.win.setInterval((()=>{e()&&(this.win.clearInterval(s),i())}),t)}))}})}var Bo="Expander",Go=class{constructor(t,e,i,s,n,r){this.Mr=t,this.yr=e,this.wr=i,this.br=s,this.Vr=n,this.Sr=!r}expand(t){if(!t.length)return this.br?t:Promise.resolve(t);const e=this.Mr.getExpr(this.yr,this.Vr),i=this.Or(t,e);return i.length?this.Cr(t,i):this.br?t:Promise.resolve(t)}getMacroNames(t){const e=this.Mr.getExpr(this.yr,this.Vr);return t.match(e)||[]}Or(t,e){const i=[];return t.replace(e,((t,e,s)=>{const{length:n}=t,r={start:s,stop:n+s-1,name:e,length:n};i.push(r)})),i}Cr(t,e){const i=[];let s=0,n=0,r=e[n],o=0,h=!1;const a=l=>{let u="",d=[];const p=[];for(;st.join(""))).catch((t=>(c(t),"")))};return a(this.Sr)}kr(t,e){const{encode:i,name:s}=t;let n;if(null!=t.prioritized?n=t.prioritized:this.br&&null!=t.sync?n=t.sync:this.br?(Pt().error(Bo,"ignoring async replacement key: ",t.name),n=""):n=t.async||t.sync,this.br){const t=this.Nr(n,s,e);return i?encodeURIComponent(t):t}return this.Dr(n,s,e).then((t=>i?encodeURIComponent(t):t))}Dr(t,e,i){let s;try{if("function"==typeof t){const e=t;s=i?this.Lr(i).then((t=>e.apply(null,t))):r(e)}else s=Promise.resolve(t);return s.then((t=>{let s;return this.Ur(e,t,i),s=null==t?"":t,s})).catch((t=>(c(t),this.Ur(e,"",i),Promise.resolve(""))))}catch(t){return c(t),this.Ur(e,"",i),Promise.resolve("")}}Lr(t){return Promise.all(t.map((t=>Promise.all(t).then((t=>t.join(""))))))}Nr(t,e,i){try{let s,n=t;return"function"==typeof t&&(n=t.apply(null,this.$r(i))),n&&"function"==typeof n.then?(Pt().error(Bo,"ignoring async macro resolution"),s=""):"string"==typeof n||"number"==typeof n||"boolean"==typeof n?(this.Ur(e,n,i),s=n.toString()):(this.Ur(e,"",i),s=""),s}catch(t){return c(t),this.Ur(e,"",i),""}}$r(t){return t?t.map((t=>t.join(""))):t}Ur(t,e,i){if(!this.wr)return;let s="";i&&(s=`(${i.filter((t=>""!==t)).join(",")})`),this.wr[`${t}${s}`]=e||""}},qo="UrlReplacements";function Wo(t){return()=>(new Date)[t]()}function Ko(t,e){return()=>t[e]}function Qo(t,e){return e?(Et("ISOCountry"===e,"The value passed to AMP_GEO() is not valid name:"+e),t&&t[e]||"unknown"):(null==t?void 0:t.matchedISOCountryGroups.join(","))||"unknown"}function Yo(t,e){wt(t);try{void 0!==t(e)&&It().error("VSYNC","callback returned a value but vsync cannot propogate it: %s",t.toString())}catch(t){return c(t),!1}return!0}function Jo(t){if(t.defaultPrevented)return;const e=t.target;if(!e||"FORM"!=e.tagName)return;let i;i=e.classList.contains("i-amphtml-form")?!e.hasAttribute("amp-novalidate"):!e.hasAttribute("novalidate"),i&&e.checkValidity&&!e.checkValidity()&&t.preventDefault();const s=e.elements;for(let t=0;t"],Zo=18e4,th=null;function eh(t){var e;(function(t){ne(t,"crypto",class{constructor(t){this.i=t;let e=null,i=!1;t.crypto&&(t.crypto.subtle?e=t.crypto.subtle:t.crypto.webkitSubtle&&(e=t.crypto.webkitSubtle,i=!0)),this.pkcsAlgo={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},this.subtle=e,this.qh=i,this.Wh=null}sha384(t){if("string"==typeof t&&(t=U(t)),!this.subtle||this.Wh)return(this.Wh||this.Kh()).then((e=>e(t)));try{return this.subtle.digest({name:"SHA-384"},t).then((t=>new Uint8Array(t)),(e=>(e.message&&e.message.indexOf("secure origin")<0&&Pt().error(go,"SubtleCrypto failed, fallback to closure lib.",e),this.Kh().then((()=>this.sha384(t))))))}catch(e){return It().error(go,"SubtleCrypto failed, fallback to closure lib.",e),this.Kh().then((()=>this.sha384(t)))}}sha384Base64(t){return this.sha384(t).then((t=>fo(t)))}uniform(t){return this.sha384(t).then((t=>{let e=0;for(let i=2;i>=0;i--)e=(e+t[i])/256;return e}))}Kh(){return this.Wh?this.Wh:this.Wh=Ke(this.i).preloadExtension("amp-crypto-polyfill").then((()=>oe(this.i,"crypto-polyfill")))}isPkcsAvailable(){return Boolean(this.subtle)&&!1!==this.i.isSecureContext}importPkcsKey(t){wt(this.isPkcsAvailable());const e=this.qh?(i=JSON.stringify(t),"undefined"!=typeof TextEncoder?(new TextEncoder).encode(i):U(unescape(encodeURIComponent(i)))):t;var i;return this.subtle.importKey("jwk",e,this.pkcsAlgo,!0,["verify"])}verifyPkcs(t,e,i){return wt(this.isPkcsAvailable()),this.subtle.verify(this.pkcsAlgo,t,e,i)}})})(t),ne(t,"batched-xhr",po),No(t),Ho(t),Ho(e=t),ne(e,"vsync",class{constructor(t){this.win=t,this.Qh=Be(this.win),this.Xh=this.Zh(),this.As=[],this.io=[],this.so=[],this.eo=[],this.Le=!1,this.no=null,this.ro=null,this.ho=this.oo.bind(this),this.uo=new zr(this.win,this.ho,16),this.lo=new zr(this.win,this.ho,40),this.co=this.ao.bind(this),this.Qh.isSingleDoc()?this.Qh.getSingleDoc().onVisibilityChanged(this.co):cs(this.win.document,this.co)}dispose(){ls(this.win.document,this.co)}ao(){this.Le&&this.do()}run(t,e){this.As.push(t),this.so.push(e||void 0),this.Rs()}runPromise(t,e){if(this.run(t,e),this.no)return this.no;const i=new n;return this.ro=i.resolve,this.no=i.promise}createTask(t){return e=>{this.run(t,e)}}mutate(t){this.run({measure:void 0,mutate:t})}mutatePromise(t){return this.runPromise({measure:void 0,mutate:t})}measure(t){this.run({measure:t,mutate:void 0})}measurePromise(t){return new Promise((e=>{this.measure((()=>{e(t())}))}))}canAnimate(t){return this.fo(wt(t))}fo(t){if(as(this.win.document)!=Bi)return!1;if(this.Qh.isSingleDoc())return this.Qh.getSingleDoc().isVisible();if(t){const e=this.Qh.getAmpDocIfAvailable(t);return!e||e.isVisible()}return!0}runAnim(t,e,i){return!!this.fo(t)&&(this.run(e,i),!0)}createAnimTask(t,e){return i=>this.runAnim(t,e,i)}runAnimMutateSeries(t,e,i){return this.fo(t)?new Promise(((s,n)=>{const r=Date.now();let o=0;const h=this.createAnimTask(t,{mutate:t=>{const a=Date.now()-r;e(a,a-o,t)?i&&a>i?n(new Error("timeout")):(o=a,h(t)):s()}});h({})})):Promise.reject(Hn())}Rs(){this.Le||(this.Le=!0,this.do())}do(){this.fo()?(this.Xh(this.ho),this.lo.schedule()):this.uo.schedule()}oo(){this.lo.cancel(),this.Le=!1;const{ro:t,so:e,As:i}=this;this.ro=null,this.no=null,this.As=this.io,this.so=this.eo;for(let t=0;t{const i=Date.now(),s=Math.max(0,16-(i-e));e=i+s,this.win.setTimeout(t,s)}}}),function(t){ne(t,"xhr",uo)}(t),function(t){ne(t,"input",class{constructor(t){this.win=t,this.po=this.mo.bind(this),this._o=this.Ao.bind(this),this.Po=null,this.vo=null,this.Eo=null,this.To="ontouchstart"in t||void 0!==t.navigator.maxTouchPoints&&t.navigator.maxTouchPoints>0||void 0!==t.DocumentTouch,this.Ro=!1,this.win.document.addEventListener("keydown",this.po),this.win.document.addEventListener("mousedown",this._o),this.Io=!0,this.Mo=0,this.yo=new Ki,this.wo=new Ki,this.bo=new Ki,this.To&&(this.Io=!this.To,this.Po=this.Vo.bind(this),Ti(t.document,"mousemove",this.Po))}setupInputModeClasses(t){this.onTouchDetected((e=>{this.So(t,"amp-mode-touch",e)}),!0),this.onMouseDetected((e=>{this.So(t,"amp-mode-mouse",e)}),!0),this.onKeyboardStateChanged((e=>{this.So(t,"amp-mode-keyboard-active",e)}),!0)}isTouchDetected(){return this.To}onTouchDetected(t,e){return e&&t(this.isTouchDetected()),this.yo.add(t)}isMouseDetected(){return this.Io}onMouseDetected(t,e){return e&&t(this.isMouseDetected()),this.wo.add(t)}isKeyboardActive(){return this.Ro}onKeyboardStateChanged(t,e){return e&&t(this.isKeyboardActive()),this.bo.add(t)}So(t,e,i){t.waitForBodyOpen().then((t=>{oi(this.win).mutate((()=>{t.classList.toggle(e,i)}))}))}mo(t){if(this.Ro)return;if(t.defaultPrevented)return;const{target:e}=t;e&&("INPUT"==e.tagName||"TEXTAREA"==e.tagName||"SELECT"==e.tagName||"OPTION"==e.tagName||e.hasAttribute("contenteditable"))||(this.Ro=!0,this.bo.fire(!0))}Ao(){this.Ro&&(this.Ro=!1,this.bo.fire(!1))}Vo(t){if(t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents)return void this.xo();let e;this.Eo||(this.Eo=this.Oo.bind(this),this.vo=this.xo.bind(this));const i=function(t,e,i,s){let n;const r=new Promise((e=>{n=Ti(t,"click",e,void 0)}));return r.then(n,n),s&&s(n),r}(this.win.document,0,0,(t=>{e=t}));return ei(this.win).timeoutPromise(300,i).then(this.vo,(()=>{e&&e(),this.Eo()}))}Oo(){this.Io=!0,this.wo.fire(!0)}xo(){this.Mo++,this.Mo<=3&&Ti(this.win.document,"mousemove",this.Po)}})}(t),function(t){ne(t,"preconnect",class{constructor(t){this.Co=t.document,this.ko=t.document.head,this.No={},this.Do={},this.ah=Xe(t),this.No[yn(t.location.href).origin]=!0,this.Lo=function(t){if(!th){const e=t.document.createElement("link"),i=e.relList;if(e.as="invalid-value",!i||!i.supports)return{};th={preconnect:i.supports("preconnect"),preload:i.supports("preload"),onlyValidAs:"invalid-value"!=e.as}}return th}(t),this.ke=ei(t)}url(t,e,i){t.whenFirstVisible().then((()=>{this.pi(t,e,i)}))}pi(t,e,i){if(!this.Uo(e))return;const{origin:s}=yn(e),n=Date.now(),r=this.No[s];if(r&&n{h&&h.parentNode&&h.parentNode.removeChild(h),a.parentNode&&a.parentNode.removeChild(a)}),1e4),this.$o(t,s)}preload(t,e,i){this.Uo(e)&&(this.Do[e]||(this.Do[e]=!0,this.url(t,e,!0),this.Lo.preload&&("document"==i&&this.ah.isSafari()||t.whenFirstVisible().then((()=>{this.Fo(e)})))))}Fo(t){const e=sn(this.Co)(Xo);e.setAttribute("href",t),this.Lo.onlyValidAs?e.as="fetch":e.as="",this.ko.appendChild(e)}Uo(t){return!(!t.startsWith("https:")&&!t.startsWith("http:"))}$o(t,e){if(this.Lo.preconnect||!this.ah.isSafari()&&!this.ah.isIos())return;const i=Date.now();this.No[e]=i+Zo;const s=e+"/robots.txt?_AMP_safari_preconnect_polyfill_cachebust="+(i-i%Zo),n=new XMLHttpRequest;n.open("HEAD",s,!0),n.withCredentials=!0,n.send()}})}(t)}function ih(t){if(null==t)return 0;const e=function(t){let e=t;for(;null!=(t=t.parentNode);)t.nodeName.startsWith("AMP-")&&(e=t);return e}(t),{nodeName:i}=e;return"IMG"===i||"AMP-IMG"===i?1:"VIDEO"===i||"AMP-VIDEO"===i?2:"AMP-CAROUSEL"===i?8:"AMP-BASE-CAROUSEL"===i?16:"AMP-AD"===i?4:!i.startsWith("AMP-")&&e.textContent?32:0}function sh(t){pr(t.top)||ne(t,"iframeMessagingClient",nh.bind(null,t),!0)}function nh(t){const e=new class{constructor(t,e){this.i=t,this.tf=ct().rtvVersion||null,this.nf=e||null,this.rf=null,this.ef=1,this.sf=m(),this.if()}getData(t,e,i){const s=t+"-result",n=this.ef++,r=this.registerCallback(s,(t=>{t.messageId===n&&(r(),i(t.content))})),o={};o.payload=e,o.messageId=n,this.sendMessage(t,o)}makeRequest(t,e,i){const s=this.registerCallback(e,i);return this.sendMessage(t),s}requestOnce(t,e,i){const s=this.registerCallback(e,(t=>{s(),i(t)}));return this.sendMessage(t),s}registerCallback(t,e){return this.ff(t).add(e)}sendMessage(t,e){const i=function(t,e,i={},s=null){const n=i;return n.type=t,n.sentinel=e,lr+(s||"")+JSON.stringify(n)}(t,this.rf,e,this.tf);if(this.nf)this.Gu(this.nf,i);else for(let t=0,e=this.i;t<10&&e!=this.i.top;t++)e=e.parent,this.Gu(e,i),t++}Gu(t,e){this.uf(t)?this.cf(t,e):t.postMessage(e,"*")}cf(t,e){t.postMessage(e,{"targetOrigin":"*","includeUserActivation":!0})}if(){Pi(this.i,"message",(t=>{if(this.nf&&t.source!=this.nf)return;const e=function(t){if(!function(t){return"string"==typeof t&&t.startsWith(lr)&&-1!=t.indexOf("{")}(t))return null;C(t);const e=t.indexOf("{");return V(-1!=e),z(t.substr(e),(e=>{c(new Error(`MESSAGING: Failed to parse message: ${t}\n${e.message}`))}))}(Ei(t));e&&e.sentinel==this.rf&&(e.origin=t.origin,this.nf||(this.nf=t.source),this.af(e.type,e))}),void 0)}setSentinel(t){this.rf=t}ff(t){return t in this.sf||(this.sf[t]=new Ki),this.sf[t]}af(t,e){t in this.sf&&this.sf[t].fire(e)}uf(t){return 1==t.postMessage.length}}(t),i=z(t.name);let s=null;return i&&i._context&&(s=i._context.sentinel),e.setSentinel(s||function(t){return String(t.Math.random()).substr(2)}(t)),e}function rh(t,e,i){t.requestAnimationFrame((()=>{e.measure&&e.measure(i),e.mutate&&e.mutate(i)}))}function oh(t){const e=new class{constructor(t){this.win=t,this.sh=new Ki,this.eh=new Ki;const e=t.innerWidth,i=t.innerHeight;this.on=Qt(0,0,e,i),this.tp=Qt(0,i+1,e,i),this.ep=function(t){return he(t,"iframeMessagingClient")}(t),this.ip=null,this.sp=$(this.win,(()=>{this.sh.fire()}),100),this.np=pr(this.win.top),this.rp=this.np?function(t){return t.ampInaboxPositionObserver=t.ampInaboxPositionObserver||new class{constructor(t){this.i=t,this.en=null,this.sn=function(t){const e=t.document;return e.scrollingElement?e.scrollingElement:e.body&&(i=t.navigator.userAgent,/WebKit/i.test(i)&&!/Edge/i.test(i))?e.body:e.documentElement;var i}(this.i),this.on=null}observe(t,e){if(!this.en){this.en=new Ki;const t=$(this.i,(()=>{this.ln(),this.en.fire()}),100);this.ln(),this.i.addEventListener("scroll",t,!0),this.i.addEventListener("resize",t,!0)}return e(this.cn(t)),this.en.add((()=>{e(this.cn(t))}))}ln(){this.on=this.getViewportRect()}cn(t){return{"viewportRect":this.on,"targetRect":this.getTargetRect(t)}}getViewportRect(){const{sn:t,i:e}=this,i=t.scrollLeft||e.pageXOffset,s=t.scrollTop||e.pageYOffset;return Qt(Math.round(i),Math.round(s),e.innerWidth,e.innerHeight)}getTargetRect(t){let e=Yt(t.getBoundingClientRect());for(let i=0,s=t.ownerDocument.defaultView;i<10&&s&&s!=this.i&&s!=this.i.top;i++,s=s.parent){const t=Yt(s.frameElement.getBoundingClientRect());e=Jt(e,t.left,t.top)}return e}}(t),t.ampInaboxPositionObserver}(this.win.top):null,this.op=this.np?function(t){return t.ampInaboxFrameOverlayManager=t.ampInaboxFrameOverlayManager||new class{constructor(t){this.i=t,this.dn=!1,this.mn=!1,this.vn=null,this.pn()}pn(){this.i.addEventListener("resize",(()=>this.onWindowResize()))}onWindowResize(){this.dn&&(this.mn=!0)}expandFrame(t,e){!function(t,e,i){rh(t,{measure(i){i.viewportSize={width:t.innerWidth,height:t.innerHeight},i.rect=Yt(e.getBoundingClientRect())},mutate(s){const{height:n,width:r}=s.viewportSize,o=Qt(0,0,r,n);var h;!function(t,e,i,s){const n=ns(i.width/2-e.width/2-e.left),r=ns(i.height/2-e.height/2-e.top);var o,h;is(t,{"position":"fixed","top":ns(e.top),"right":ns(i.width-(e.left+e.width)),"left":ns(e.left),"bottom":ns(i.height-(e.top+e.height)),"height":ns(e.height),"width":ns(e.width),"transition":"transform 150ms ease","transform":(o=n,h=r,null==h?`translate(${rs(o,ns)})`:`translate(${rs(o,ns)}, ${rs(h,ns)})`),"margin":0})}(e,s.rect,s.viewportSize),ts(e,{"pointer-events":"none"}),h=()=>{rh(t,{mutate(){hs(e,["pointer-events"]),function(t){is(t,{"position":"fixed","z-index":1e3,"left":0,"right":0,"top":0,"bottom":0,"width":"100vw","height":"100vh","transition":null,"transform":null,"margin":0,"border":0})}(e),i(s.rect,o)}})},setTimeout(h,200)}},{})}(this.i,t,((t,i)=>{this.dn=!0,this.mn=!1,this.vn=t,e(i)}))}collapseFrame(t,e){!function(t,e,i,s){rh(t,{mutate(){!function(t){hs(t,["position","z-index","left","right","top","bottom","width","height","margin","border"])}(e),i(),rh(t,{measure(){s(Yt(e.getBoundingClientRect()))}})}})}(this.i,t,(()=>{this.dn=!1,this.mn||e(this.vn)}),(t=>{this.vn=t,this.mn&&e(this.vn)}))}}(t),t.ampInaboxFrameOverlayManager}(this.win.top):null,this.hp=null}connect(){return this.np?this.ap():this.cp()}cp(){return this.ep.makeRequest(ur,dr,(t=>{this.lp(t.viewportRect,t.targetRect)})),s()}ap(){return(t=this.win.document.documentElement,le(t,"resources")).then((()=>{this.hp=this.hp||this.rp.observe(this.win.frameElement||this.getScrollingElement(),(t=>{this.lp(t.viewportRect,t.targetRect)}))}));var t}lp(t,e){const i=this.on;this.on=t,this.up(e),ah(this.on,i)&&this.eh.fire(),hh(this.on,i)&&this.sp()}getLayoutRect(t){const e=t.getBoundingClientRect(),{left:i,top:s}=e;return Qt(Math.round(i+this.tp.left),Math.round(s+this.tp.top),Math.round(e.width),Math.round(e.height))}onScroll(t){this.sh.add(t)}onResize(t){this.eh.add(t)}getSize(){return{width:this.on.width,height:this.on.height}}getScrollTop(){return this.on.top}getScrollLeft(){return this.on.left}getScrollingElement(){return this.getBodyElement()}getScrollingElementScrollsLikeViewport(){return!0}supportsPositionFixed(){return!1}up(t){if(!t)return;const e=Jt(t,this.on.left,this.on.top);var i,s;(hh(i=e,s=this.tp)||ah(i,s))&&(this.tp=e,this.dp())}getChildResources(){return ti(this.win.document.documentElement).get()}dp(){this.getChildResources().forEach((t=>t.measure()))}updateLightboxMode(t){return t?this.pp():this.mp()}getRootClientRectAsync(){return this.np?this.ap().then((()=>this.rp.getTargetRect(this.win.frameElement||this.getScrollingElement()))):(this.ip||(this.ip=new Promise((t=>{this.ep.requestOnce(ur,dr,(e=>{this.ip=null,V(e.targetRect),t(e.targetRect)}))}))),this.ip)}pp(){return this.fp().then((()=>this.gp()))}mp(){return this.vp().then((()=>this._p()))}fp(){return function(t,e){return oi(t).runPromise({measure:e=>{e.width=t.innerWidth,e.height=t.innerHeight},mutate:t=>{ts(e,{"background":"transparent","left":"50%","top":"50%","right":"auto","bottom":"auto","position":"absolute","height":ns(t.height),"width":ns(t.width),"margin-top":ns(-t.height/2),"margin-left":ns(-t.width/2)})}},{})}(this.win,this.getBodyElement())}_p(){return function(t,e){return oi(t).mutatePromise((()=>{hs(e,["position","left","top","right","bottom","width","height","margin-left","margin-top"])}))}(this.win,this.getBodyElement())}gp(){return new Promise(((t,e)=>{if(this.np){const i=this.win.frameElement;i?this.op.expandFrame(i,(e=>{this.up(e),t()})):e("Request to open lightbox failed; frame does not exist.")}else this.ep.requestOnce("full-overlay-frame","full-overlay-frame-response",(i=>{i.success?(this.up(i.boxRect),t()):e("Request to open lightbox rejected by host document")}))}))}vp(){return new Promise(((t,e)=>{if(this.np){const i=this.win.frameElement;i?this.op.collapseFrame(i,(e=>{this.up(e),t()})):e("Request to open lightbox failed; frame does not exist.")}else this.ep.requestOnce("cancel-full-overlay-frame","cancel-full-overlay-frame-response",(e=>{this.up(e.boxRect),t()}))}))}getBodyElement(){return O(this.win.document.body)}disconnect(){this.hp&&(this.hp(),this.hp=null)}getScrollWidth(){return this.getScrollingElement().offsetWidth}getScrollHeight(){return this.getScrollingElement().offsetHeight}getContentHeight(){return this.getScrollHeight()}updatePaddingTop(){}hideViewerHeader(){}showViewerHeader(){}disableScroll(){}resetScroll(){}ensureReadyForElements(){}setScrollTop(){}contentHeightChanged(){}getBorderTop(){return 0}requiresFixedLayerTransfer(){return!1}overrideGlobalScrollTo(){return!1}}(t.win);re(t,"viewport",(function(){return new class{constructor(t,e){const{win:i}=t;this.ampdoc=t,this.qn=e,this.ph=null,this.Rh=new Ki,this.sh=new Ki,this.eh=new Ki,this.qn.onScroll(this.Sh.bind(this)),this.qn.onResize(this.xh.bind(this)),this.Ch=!1,this.ampdoc.onVisibilityChanged(this.kh.bind(this)),this.kh(),this.Ap=this.dispose.bind(this),i.addEventListener("pagehide",this.Ap);const s=i.document.documentElement;s.classList.add("i-amphtml-singledoc"),s.classList.add("i-amphtml-standalone"),Bt(i)&&s.classList.add("i-amphtml-iframed")}dispose(){this.qn.disconnect(),this.ampdoc.win.removeEventListener("pagehide",this.Ap)}ensureReadyForElements(){}getPaddingTop(){return 0}getScrollTop(){return this.qn.getScrollTop()}getScrollLeft(){return this.qn.getScrollLeft()}setScrollTop(t){}updatePaddingBottom(t){}getSize(){return this.qn.getSize()}getHeight(){return this.getSize().height}getWidth(){return this.getSize().width}getScrollWidth(){return this.qn.getScrollWidth()}getScrollHeight(){return this.qn.getScrollHeight()}getContentHeight(){return this.qn.getContentHeight()}contentHeightChanged(){}getRect(){if(null==this.ph){const t=this.getSize();this.ph=Qt(this.getScrollLeft(),this.getScrollTop(),t.width,t.height)}return this.ph}getLayoutRect(t){return this.qn.getLayoutRect(t)}getClientRectAsync(t){const e=t.getBoundingClientRect();return this.qn.getRootClientRectAsync().then((t=>t?Jt(e,t.left,t.top):Yt(e)))}supportsPositionFixed(){return!1}isDeclaredFixed(t){return!1}scrollIntoView(t){return s()}animateScrollIntoView(t,e,i,n){return s()}animateScrollWithinParent(t,e,i,n,r){return s()}getScrollingElement(){return this.qn.getScrollingElement()}onChanged(t){return this.Rh.add(t)}onScroll(t){return this.sh.add(t)}onResize(t){return this.eh.add(t)}enterLightboxMode(t,e){return this.enterOverlayMode(),this.qn.updateLightboxMode(!0)}leaveLightboxMode(t){return this.leaveOverlayMode(),this.qn.updateLightboxMode(!1)}enterOverlayMode(){this.disableTouchZoom(),this.disableScroll()}leaveOverlayMode(){this.resetScroll(),this.restoreOriginalTouchZoom()}disableScroll(){}resetScroll(){}resetTouchZoom(){}disableTouchZoom(){return!1}restoreOriginalTouchZoom(){return!1}updateFixedLayer(){return s()}addToFixedLayer(t,e){return s()}removeFromFixedLayer(t){}createFixedLayer(t){}zh(){const t=this.getSize(),e=this.getScrollTop(),i=this.getScrollLeft();this.Rh.fire({relayoutAll:!1,top:e,left:i,width:t.width,height:t.height,velocity:0})}Sh(){this.ph=null,this.qn.getScrollTop()<0||(this.zh(),this.sh.fire())}xh(){this.ph=null;const t=this.getSize();this.zh(),this.eh.fire({relayoutAll:!1,width:t.width,height:t.height})}kh(){const t=this.ampdoc.isVisible();t!=this.Ch&&(this.Ch=t,t?(this.qn.connect(),this.xh()):this.qn.disconnect())}}(t,e)}),!0)}function hh(t,e){return t.left!=e.left||t.top!=e.top}function ah(t,e){return t.width!=e.width||t.height!=e.height}function ch(t){sh(t.win),function(t){re(t,"url",class{constructor(t){const e=t.getRootNode(),i=e.ownerDocument||e;this.Bo=i.createElement("a"),this.Ho=null}parse(t,e){return Pn(this.Bo,t)}jo(t){return"string"!=typeof t?t:this.parse(t)}isProtocolValid(t){return xn(t)}getSourceOrigin(t){return On(this.jo(t))}getSourceUrl(t){return Vn(this.jo(t))}resolveRelativeUrl(t,e){return Cn(t,this.jo(e))}assertHttpsUrl(t,e,i="source"){return Sn(t,e,i)}assertAbsoluteHttpOrHttpsUrl(t){return function(t){return Et(/^https?\:/i.test(t),'URL must start with "http://" or "https://". Invalid value: %s',t),yn(t).href}(t)}isProxyOrigin(t){return Mn(this.jo(t))}isSecure(t){return Tn(this.jo(t))}getWinOrigin(t){return t.origin||this.jo(t.location.href).origin}getCdnUrlOnOrigin(t){if(Mn(t))return t;const{hash:e,host:i,pathname:s,search:n}=this.jo(t),r=encodeURIComponent(i);return`${et}/c/${r}${s}${n}${e}`}},!0)}(t),function(t){re(t,"templates",class{constructor(t){this.ji=t,this.zo={},this.Go={}}whenReady(t){return this.qo(t).then($o)}setHtmlForTemplate(t,e){return this.qo(t).then((t=>this.Wo(t,e)))}renderTemplate(t,e){return this.qo(t).then((t=>this.Ko(t,e)))}renderTemplateAsString(t,e){return this.qo(t).then((t=>t.renderAsString(e)))}getTemplateRenderer(t){return this.qo(t).then((t=>({renderAsString:e=>t.renderAsString(e)})))}renderTemplateArray(t,e){return 0==e.length?Promise.resolve([]):this.qo(t).then((t=>e.map((e=>this.Ko(t,e)))))}findAndRenderTemplate(t,e,i){return this.renderTemplate(this.findTemplate(t,i),e)}findAndSetHtmlForTemplate(t,e,i){return this.setHtmlForTemplate(this.findTemplate(t,i),e)}findAndRenderTemplateArray(t,e,i){return this.renderTemplateArray(this.findTemplate(t,i),e)}hasTemplate(t,e){return!!this.maybeFindTemplate(t,e)}findTemplate(t,e){const i=this.maybeFindTemplate(t,e);Et(i,"Template not found for %s",t);const s=i.tagName;return Et("TEMPLATE"==s||"SCRIPT"==s&&"text/plain"===i.getAttribute("type"),'Template must be defined in a