@google-psat/cli 0.14.1 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/48.js +1 -1
- package/dist/assets/amp/amp-animation-0.1.js +1 -1
- package/dist/assets/amp/amp-loader-0.1.js +1 -1
- package/dist/assets/amp/amp-story-1.0.js +1 -1
- package/dist/assets/amp/amp-story-player-v0.js +1 -1
- package/dist/assets/amp/amp-video-0.1.js +1 -1
- package/dist/assets/amp/amp-viewer-integration-0.1.js +1 -1
- package/dist/assets/amp/amp4ads-v0.js +1 -1
- package/dist/assets/amp/custom-scripts/amp-player-main.js +1 -1
- package/dist/assets/amp/custom-scripts/single-player-main.js +1 -1
- package/dist/assets/amp/v0.js +1 -1
- package/dist/assets/data/PSInfo.json +15 -3
- package/dist/assets/data/open-cookie-database.json +591 -34
- package/dist/assets/data/related_website_sets.json +24 -0
- package/dist/assets/images/fedcm/other-idp-logo.svg +26 -0
- package/dist/assets/images/fedcm/user-avatar.svg +5 -0
- package/dist/assets/images/fedcm/user-avatar2.svg +5 -0
- package/dist/assets/images/fedcm/your-id-logo.svg +18 -0
- package/dist/main.js +3 -3
- package/dist/main.js.LICENSE.txt +3 -39
- package/package.json +6 -7
- package/dist/407.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see amp4ads-v0.js.LICENSE.txt */
|
|
2
|
-
self.AMP_CONFIG={v:"012410292120000",type:"production","allow-doc-opt-in":["amp-next-page"],"allow-url-opt-in":[],canary:0,a4aProfilingRate:.01,doubleclickSraExp:.01,doubleclickSraReportExcludedBlock:.1,flexAdSlots:.05,"flexible-bitrate":.1,"ios-fixed-no-transfer":0,"story-ad-placements":.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,"interaction-to-next-paint":1},function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}var n,i=function(){function t(){this.Rt=new r}return t.prototype.abort=function(){if(!this.Rt.Tt&&(this.Rt.Tt=!0,this.Rt.Mt)){var t={type:"abort",bubbles:!1,cancelable:!1,target:this.Rt,currentTarget:this.Rt};this.Rt.Mt(t)}},e(t,[{key:"signal",get:function(){return this.Rt}}]),t}(),r=function(){function t(){this.Tt=!1,this.Mt=null}return e(t,[{key:"aborted",get:function(){return this.Tt}},{key:"onabort",get:function(){return this.Mt},set:function(t){this.Mt=t}}]),t}();function o(t,e){for(var n=e||0,i=this.length,r=n>=0?n:Math.max(i+n,0);r<i;r++){var o=this[r];if(o===t||t!=t&&o!=o)return!0}return!1}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(){return n||(n=Promise.resolve(void 0))}var c=function(){var t=this;this.promise=new Promise((function(e,n){t.resolve=e,t.reject=n}))};function h(t){return new Promise((function(e){e(t())}))}function l(t){var e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;var n=t.message,i=t.stack,r=new Error(n);for(var o in t)r[o]=t[o];return r.stack=i,r}function f(t){for(var e,n=null,i="",r=a(arguments,!0);!(e=r()).done;){var o=e.value;o instanceof Error&&!n?n=l(o):(i&&(i+=" "),i+=o)}return n?i&&(n.message=i+": "+n.message):n=new Error(i),n}function d(t){var e=f.apply(null,arguments);setTimeout((function(){throw function(t){var e,n;null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t)}(e),e}))}function p(t){var e=f.apply(null,arguments);return e.expected=!0,e}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var v=Object.prototype,g=v.hasOwnProperty,y=v.toString;function b(t){return"[object Object]"===y.call(t)}function w(t){var e=Object.create(null);return t&&Object.assign(e,t),e}function A(t,e){return g.call(t,e)}var E=/^[a-z][a-z0-9._]*-[a-z0-9._-]*$/,S=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],x={childList:!0,subtree:!0};function P(t,e){if(!E.test(e)||S.includes(e))throw new t('invalid custom element name "'.concat(e,'"'))}var R=function(){function t(t,e){this.t=t,this.Pt=e,this.Ut=w()}var e=t.prototype;return e.define=function(t,e,n){this.Pt.define(t,e,n);var i=this.Ut,r=i[t];r&&(r.resolve(),delete i[t])},e.get=function(t){var e=this.Pt.getByName(t);if(e)return e.ctor},e.whenDefined=function(t){var e=this.t;if(e.Promise,P(e.SyntaxError,t),this.Pt.getByName(t))return u();var n=this.Ut,i=n[t];return i||(i=new c,n[t]=i),i.promise},e.upgrade=function(t){this.Pt.upgrade(t)},t}(),T=function(){function t(t){this.t=t,this.Lt=w(),this.Nt="",this._t=null,this.Ht=null,this.Dt=[t.document]}var e=t.prototype;return e.current=function(){var t=this._t;return this._t=null,t},e.getByName=function(t){var e=this.Lt[t];if(e)return e},e.getByConstructor=function(t){var e=this.Lt;for(var n in e){var i=e[n];if(i.ctor===t)return i}},e.define=function(t,e,n){var i=this.t,r=i.Error,o=i.SyntaxError;if(n)throw new r("Extending native custom elements is not supported");if(P(o,t),this.getByName(t)||this.getByConstructor(e))throw new r('duplicate definition "'.concat(t,'"'));this.Lt[t]={name:t,ctor:e},this.Bt(t);for(var s,u=a(this.Dt,!0);!(s=u()).done;){var c=s.value;this.upgrade(c,t)}},e.upgrade=function(t,e){for(var n,i=!!e,r=e||this.Nt,o=a(this.Ft(t,r),!0);!(n=o()).done;){var s=n.value;i?this.Jt(s):this.upgradeSelf(s)}},e.upgradeSelf=function(t){var e=this.getByName(t.localName);e&&this.Gt(t,e)},e.Ft=function(t,e){return e&&t.querySelectorAll?t.querySelectorAll(e):[]},e.Gt=function(t,e){var n=e.ctor;if(!(t instanceof n)){this._t=t;try{if(new n!==t)throw new this.t.Error("Constructor illegally returned a different instance.")}catch(t){d(t)}}},e.Jt=function(t){var e=this.getByName(t.localName);if(e&&(this.Gt(t,e),t.connectedCallback))try{t.connectedCallback()}catch(t){d(t)}},e.Wt=function(t){if(t.disconnectedCallback)try{t.disconnectedCallback()}catch(t){d(t)}},e.Bt=function(t){var e=this;if(this.Nt)this.Nt+=",".concat(t);else{this.Nt=t;var n=new this.t.MutationObserver((function(t){t&&e.Zt(t)}));this.Ht=n;for(var i,r=a(this.Dt,!0);!(i=r()).done;){var o=i.value;n.observe(o,x)}!function(t,e){var n,i=t.Document,r=t.Element,o=t.Node,s=t.document,a=i.prototype,u=r.prototype,c=o.prototype,h=a.createElement,l=a.importNode,f=c.appendChild,d=c.cloneNode,p=c.insertBefore,m=c.removeChild,v=c.replaceChild;a.createElement=function(t){var n=e.getByName(t);return n?new n.ctor:h.apply(this,arguments)},a.importNode=function(){var t=l.apply(this,arguments);return t&&this===s&&(e.upgradeSelf(t),e.upgrade(t)),t},c.appendChild=function(){var t=f.apply(this,arguments);return e.sync(),t},c.insertBefore=function(){var t=p.apply(this,arguments);return e.sync(),t},c.removeChild=function(){var t=m.apply(this,arguments);return e.sync(),t},c.replaceChild=function(){var t=v.apply(this,arguments);return e.sync(),t},c.cloneNode=function(){var t=d.apply(this,arguments);return t.ownerDocument===s&&(e.upgradeSelf(t),e.upgrade(t)),t};var g=u,y=Object.getOwnPropertyDescriptor(g,"innerHTML");if(y||(g=Object.getPrototypeOf(t.HTMLElement.prototype),y=Object.getOwnPropertyDescriptor(g,"innerHTML")),null!==(n=y)&&void 0!==n&&n.configurable){var b=y.set;y.set=function(t){b.call(this,t),e.upgrade(this)},Object.defineProperty(g,"innerHTML",y)}}(this.t,this)}},e.observe=function(t){this.Dt.push(t),this.Ht&&this.Ht.observe(t,x)},e.sync=function(){this.Ht&&this.Zt(this.Ht.takeRecords())},e.Zt=function(t){for(var e,n=a(t,!0);!(e=n()).done;){var i=e.value;if(i){for(var r,o=i.addedNodes,s=i.removedNodes,u=a(o,!0);!(r=u()).done;){var c=r.value,h=this.Ft(c,this.Nt);this.Jt(c);for(var l,f=a(h,!0);!(l=f()).done;){var d=l.value;this.Jt(d)}}for(var p,m=a(s,!0);!(p=m()).done;){var v=p.value,g=this.Ft(v,this.Nt);this.Wt(v);for(var y,b=a(g,!0);!(y=b()).done;){var w=y.value;this.Wt(w)}}}}},t}();function O(t,e){e.prototype=Object.create(t.prototype,{constructor:{configurable:!0,writable:!0,value:e}}),_(e,t)}function _(t,e){Object.setPrototypeOf?Object.setPrototypeOf(t,e):{__proto__:{test:!0}}.test?t.__proto__=e:function(t,e){for(var n=e;null!==n&&!Object.isPrototypeOf.call(n,t);){for(var i,r=a(Object.getOwnPropertyNames(n),!0);!(i=r()).done;){var o=i.value;if(!Object.hasOwnProperty.call(t,o)){var s=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(t,o,s)}}n=Object.getPrototypeOf(n)}}(t,e)}function C(t){return t==this||this.documentElement.contains(t)}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?L(Object(n),!0).forEach((function(e){M(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function k(t,e){return(k=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k(t,e)}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function B(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=N(t);if(e){var r=N(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return function(t,e){if(e&&("object"===m(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function U(t){return t?Array.prototype.slice.call(t):[]}var j=Array.isArray;function V(t){return j(t)?t:[t]}function F(t,e){var n=t.indexOf(e);return-1!=n&&(t.splice(n,1),!0)}function q(t){return"string"==typeof t}function H(t){return 1==(null==t?void 0:t.nodeType)}function z(t){return"number"==typeof t&&isFinite(t)}var W="",G="";function K(t){return H(t)?t.tagName.toLowerCase()+(t.id?"#".concat(t.id):""):t}function Y(t){return t.indexOf(W)>=0}function J(t,e){var n,i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Assertion failed";if(e)return e;t&&-1==r.indexOf(t)&&(r+=t);for(var o=3,s=r.split("%s"),a=s.shift(),u=[a];s.length;){var c=arguments[o++],h=s.shift();a+=K(c)+h,u.push(c,h.trim())}var l=new Error(a);throw l.messageArray=function(t,e){for(var n=[],i=0,r=0;r<t.length;r++){var o=t[r];e(o)?n.push(o):(i<r&&(t[i]=o),i++)}return i<t.length&&(t.length=i),n}(u,(function(t){return""!==t})),null===(n=(i=self).__AMP_REPORT_ERROR)||void 0===n||n.call(i,l),l}function X(t,e,n,i,r){return j(r)?t(n,r.concat([e])):t(n,"".concat(r||i,": %s"),e),e}function Q(t,e,n,i,r,o,s,a,u,c,h){return t}function $(t,e){return t}function Z(t,e){return t}function tt(t,e){return t}function et(t,e,n,i,r,o,s,a,u,c,h){return J(W,t,e,n,i,r,o,s,a,u,c,h)}function nt(t){return JSON.parse(t)}function it(t,e){try{return nt(t)}catch(t){return null==e||e(t),null}}function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;if(!isFinite(n)||n<0)throw new Error("Invalid depth: "+n);if(t===e)return!0;for(var i=[{a:t,b:e,depth:n}];i.length>0;){var r=i.shift(),o=r.a,s=r.b,a=r.depth;if(a>0){if(m(o)!==m(s))return!1;if(j(o)&&j(s)){if(o.length!==s.length)return!1;for(var u=0;u<o.length;u++)i.push({a:o[u],b:s[u],depth:a-1});continue}if(o&&s&&"object"===m(o)&&"object"===m(s)){var c=Object.keys(o),h=Object.keys(s);if(c.length!==h.length)return!1;for(var l=0,f=c;l<f.length;l++){var d=f[l];i.push({a:o[d],b:s[d],depth:a-1})}continue}}if(o!==s)return!1}return!0}function ot(t){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(t):st(unescape(encodeURIComponent(t)))}function st(t){for(var e=new Uint8Array(t.length),n=0;n<t.length;n++){var i=t.charCodeAt(n);Q(i<=255),e[n]=i}return e}function at(t,e){var n=t.crypto;if(!(n=n||t.msCrypto)||!n.getRandomValues)return null;var i=new Uint8Array(e);return n.getRandomValues(i),i}function ut(t,e,n){var i=0,r=null;function o(o){r=null,i=t.setTimeout(s,n),e.apply(null,o)}function s(){i=0,r&&o(r)}return function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];i?r=e:o(e)}}function ct(t,e,n){var i=0,r=0,o=null;function s(){i=0;var a,u=n-(t.Date.now()-r);u>0?i=t.setTimeout(s,u):(a=o,o=null,e.apply(null,a))}return function(){r=t.Date.now();for(var e=arguments.length,a=new Array(e),u=0;u<e;u++)a[u]=arguments[u];o=a,i||(i=t.setTimeout(s,n))}}var ht=["javascript:","data:","vbscript:"],lt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function ft(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(t)}catch(t){return e}}function dt(t){var e,n=w();if(!t)return n;for(;e=lt.exec(t);){var i=ft(e[1],e[1]),r=e[2]?ft(e[2].replace(/\+/g," "),e[2]):"";n[i]=r}return n}function pt(t){var e=(t||self).location;return dt(e.originalHash||e.hash)}var mt=function(t){return self.AMP_CONFIG?self.AMP_CONFIG[t]:null},vt=("string"==typeof mt("cdnProxyRegex")?new RegExp(mt("cdnProxyRegex")):mt("cdnProxyRegex"))||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function gt(t){if(!self.document||!self.document.head)return null;if(self.location&&vt.test(self.location.origin))return null;var e=self.document.head.querySelector('meta[name="'.concat(t,'"]'));return e&&e.getAttribute("content")||null}var yt=mt("thirdPartyUrl")||"https://3p.ampproject.net",bt=mt("thirdPartyFrameHost")||"ampproject.net",wt=("string"==typeof mt("thirdPartyFrameRegex")?new RegExp(mt("thirdPartyFrameRegex")):mt("thirdPartyFrameRegex"))||/^d-\d+\.ampproject\.net$/,At=mt("cdnUrl")||gt("runtime-host")||"https://cdn.ampproject.org",Et=/^https?:\/\/localhost(:\d+)?$/,St=mt("errorReportingUrl")||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",xt=mt("betaErrorReportingUrl")||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",Pt=mt("localDev")||!1,Rt=[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],Tt=mt("geoApiUrl")||gt("amp-geo-api"),Ot="";function _t(t){var e=t||self;return e.__AMP_MODE?e.__AMP_MODE:e.__AMP_MODE=function(t){return{localDev:!1,development:Mt(t,pt(t)),esm:!1,test:!1,rtvVersion:Ct(t),ssrReady:!1}}(e)}function Ct(t){var e;return Ot||(Ot=(null===(e=t.AMP_CONFIG)||void 0===e?void 0:e.v)||"01".concat("2410292120000")),Ot}function Mt(t,e){var n=e||pt(t);return["1","actions","amp","amp4ads","amp4email"].includes(n.development)||!!t.AMP_DEV_MODE}var Lt=function(){},It=void 0;function kt(t){It=t}var Dt=function(){return"01".concat("2410292120000")},Nt=function(t,e){return e.reduce((function(t,e){return"".concat(t,"&s[]=").concat(Bt(e))}),"https://log.amp.dev/?v=".concat(Dt(),"&id=").concat(encodeURIComponent(t)))},Bt=function(t){return encodeURIComponent(String(K(t)))},Ut=function(t){return parseInt(pt(t).log,10)},jt=function(){function t(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.win=t,this.tt=e,this.nt=this.rt(),this.it=i,this.et=null,this.ft=function(t){var e=!1,n=null,i=t;return function(){if(!e){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];n=i.apply(self,r),e=!0,i=null}return n}}((function(){t.fetch("".concat(At,"/rtv/").concat(Dt(),"/log-messages.simple.json")).then((function(t){return t.json()}),Lt).then((function(t){t&&(n.et=t)}))})),this.ot=this.assert.bind(this)}var e=t.prototype;return e.rt=function(){var t,e=this.win;return null!==(t=e.console)&&void 0!==t&&t.log&&0!=Ut(e)?this.ut():0},e.ut=function(t){return this.tt(Ut(t),_t().development)},e.st=function(t,e,n){var i,r,o;if(e>(null!==(i=It)&&void 0!==i?i:this.nt))return!1;var s=this.win.console,a=null!==(r=(o={},M(o,1,s.error),M(o,3,s.info),M(o,2,s.warn),o)[e])&&void 0!==r?r:s.log,u=this.ct(n),c="[".concat(t,"]");return q(u[0])?u[0]=c+" "+u[0]:u.unshift(c),a.apply(s,u),!0},e.fine=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.st(t,4,n)},e.info=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.st(t,3,n)},e.warn=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.st(t,2,n)},e.error=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(!this.st(t,1,n)){var r,o,s=this.createError.apply(this,n);s.name=t||s.name,null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,s)}},e.expectedError=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r,o;this.st(t,1,n)||null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,this.createExpectedError.apply(this,n))},e.createError=function(t){return this.ht(f.apply(null,arguments))},e.createExpectedError=function(t){return this.ht(p.apply(null,arguments))},e.ht=function(t){return t=l(t),this.it?t.message?-1==t.message.indexOf(this.it)&&(t.message+=this.it):t.message=this.it:Y(t.message)&&(t.message=t.message.replace(W,"")),t},e.ct=function(t){return j(t[0])?this.lt(t[0]):t},e.lt=function(t){var e,n=t.shift();return _t(this.win).development&&this.ft(),null!==(e=this.et)&&void 0!==e&&e[n]?[this.et[n]].concat(t):["More info at ".concat(Nt(n,t))]},e.assert=function(t,e,n){return j(e)?this.assert.apply(this,[t].concat(this.lt(e))):J.apply(null,[this.it].concat(Array.prototype.slice.call(arguments)))},e.assertElement=function(t,e){return function(t,e,n){return X(t,e,H(e),"Element expected",n)}(this.ot,t,e)},e.assertString=function(t,e){return function(t,e,n){return X(t,e,q(e),"String expected",n)}(this.ot,t,e)},e.assertNumber=function(t,e){return function(t,e,n){return X(t,e,"number"==typeof e,"Number expected",n)}(this.ot,t,e)},e.assertArray=function(t,e){return function(t,e,n){return X(t,e,j(e),"Array expected",n)}(this.ot,t,e)},e.assertBoolean=function(t,e){return function(t,e,n){return X(t,e,!!e===e,"Boolean expected",n)}(this.ot,t,e)},t}();self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var Vt=self.__AMP_LOG,Ft=null;function qt(t,e){if(!Ft)throw new Error("failed to call initLogConstructor");return new Ft(self,t,e)}function Ht(t){return Vt.user||(Vt.user=zt(W)),function(t,e){return e&&e.ownerDocument.defaultView!=t}(Vt.user.win,t)?Vt.userForEmbed||(Vt.userForEmbed=zt(G)):Vt.user}function zt(t){return qt((function(t,e){return e||t>=1?4:2}),t)}function Wt(){return Vt.dev||(Vt.dev=qt((function(t){return t>=3?4:t>=2?3:0})))}function Gt(t,e,n,i,r,o,s,a,u,c,h){return t}function Kt(t,e,n,i,r,o,s,a,u,c,h){return Ht().assert(t,e,n,i,r,o,s,a,u,c,h)}var Yt=["GET","POST"],Jt=function(){function t(t){this.$t=t,this.status=this.$t.status,this.statusText=this.$t.statusText,this.ok=this.status>=200&&this.status<300,this.headers=new Xt(t),this.bodyUsed=!1,this.body=null,this.url=t.responseURL}var e=t.prototype;return e.clone=function(){return Q(!this.bodyUsed),new t(this.$t)},e.Xt=function(){return Q(!this.bodyUsed),this.bodyUsed=!0,Promise.resolve(this.$t.responseText)},e.text=function(){return this.Xt()},e.json=function(){return this.Xt().then(nt)},e.arrayBuffer=function(){return this.Xt().then(ot)},t}(),Xt=function(){function t(t){this.$t=t}var e=t.prototype;return e.get=function(t){return this.$t.getResponseHeader(t)},e.has=function(t){return null!=this.$t.getResponseHeader(t)},t}(),Qt=function(t){D(n,t);var e=B(n);function n(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=w(),r=I({status:200,statusText:"OK",responseText:t?String(t):"",getResponseHeader:function(t){var e=String(t).toLowerCase();return A(i,e)?i[e]:null}},n);if(r.status=void 0===n.status?200:parseInt(n.status,10),j(n.headers))n.headers.forEach((function(t){var e=t[0],n=t[1];i[String(e).toLowerCase()]=String(n)}));else if(b(n.headers))for(var o in n.headers)i[String(o).toLowerCase()]=String(n.headers[o]);return n.statusText&&(r.statusText=String(n.statusText)),e.call(this,r)}return n}(Jt);function $t(t){return(t.ownerDocument||t).defaultView}var Zt,te=/(\0)|^(-)$|([\x01-\x1f\x7f]|^-?[0-9])|([\x80-\uffff0-9a-zA-Z_-]+)|[^]/g;function ee(t,e,n,i,r){return r||(e?"�":i?t.slice(0,-1)+"\\"+t.slice(-1).charCodeAt(0).toString(16)+" ":"\\"+t)}function ne(t){return void 0!==Zt?Zt:Zt=function(t){try{var e=t.ownerDocument,n=e.createElement("div"),i=e.createElement("div");return n.appendChild(i),n.querySelector(":scope div")===i}catch(t){return!1}}(t)}function ie(t,e){return t.replace(/^|,/g,"$&".concat(e," "))}function re(t){return String(t).replace(te,ee)}function oe(t){Q(/^[\w-]+$/.test(t))}function se(t,e){var n=t.classList,i="i-amphtml-scoped";n.add(i);var r=ie(e,".".concat(i)),o=t.querySelectorAll(r);return n.remove(i),o}function ae(t,e){if(ne(t))return t.querySelector(ie(e,":scope"));var n=se(t,e)[0];return void 0===n?null:n}function ue(t,e){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!n&&n.call(t,e)}function ce(t,e){return t.closest?t.closest(e):function(t,e){var n;for(n=t;n&&void 0!==n;n=n.parentElement)if(e(n))return n;return null}(t,(function(t){return ue(t,e)}))}function he(t,e){for(var n=t.lastElementChild;n;n=n.previousElementSibling)if(e(n))return n;return null}function le(t,e){return oe(e),ae(t,"> [".concat(e,"]"))}function fe(t){return q(e=t)?n=e:H(e)&&(n=e.tagName),!(!n||!n.toLowerCase().startsWith("i-"))||t.nodeType===Node.ELEMENT_NODE&&($(t),t.hasAttribute("placeholder")||t.hasAttribute("fallback")||t.hasAttribute("overflow"));var e,n}var de,pe={bubbles:!0,cancelable:!0};function me(t,e,n){if(e(t))n();else{var i=$t(t);if(i.MutationObserver){var r=new i.MutationObserver((function(){e(t)&&(r.disconnect(),n())}));r.observe(t,{childList:!0})}else var o=i.setInterval((function(){e(t)&&(i.clearInterval(o),n())}),5)}}function ve(t){return new Promise((function(e){return function(t,e){me(t.documentElement,(function(){return!!t.body}),e)}(t,e)}))}function ge(t){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t)}function ye(t,e,n){return function(t,e){for(var n in e)t.setAttribute(n,e[n]);return t}(t.createElement(e),n)}function be(t){var e=t.isConnected;if(void 0!==e)return e;for(var n=t;(n=we(n)).host;)n=n.host;return n.nodeType===Node.DOCUMENT_NODE}function we(t){if(Node.prototype.getRootNode)return t.getRootNode();var e,n;for(e=t;e.parentNode&&(!(n=e)||"I-AMPHTML-SHADOW-ROOT"!=n.tagName&&(11!=n.nodeType||"[object ShadowRoot]"!==Object.prototype.toString.call(n)));e=e.parentNode);return e}function Ae(t,e){var n=t;do{if(n.nextSibling)return!0}while((n=n.parentNode)&&n!=e);return!1}function Ee(t){try{t.focus()}catch(t){}}function Se(t){return t.parent&&t.parent!=t}function xe(t,e,n,i){var r=n||{};Q(t.ownerDocument);var o=i||pe,s=o.bubbles,a=o.cancelable,u=new MessageEvent(e,{data:r,bubbles:s,cancelable:a});t.dispatchEvent(u)}function Pe(t,e){return e!==t&&t.contains(e)}function Re(t){return t.hasAttribute("i-amphtml-ssr")}function Te(t,e){var n=t.head.querySelector("script[nonce]");if(n){var i=n.nonce||n.getAttribute("nonce");e.setAttribute("nonce",null!=i?i:"")}}function Oe(t,e,n,i){return{left:t,top:e,width:n,height:i,bottom:e+i,right:t+n,x:t,y:e}}function _e(t){return Oe(Number(t.left),Number(t.top),Number(t.width),Number(t.height))}function Ce(t,e,n){return 0==e&&0==n||0==t.width&&0==t.height?t:Oe(t.left+e,t.top+n,t.width,t.height)}function Me(){return be(this)?de.call(this):Oe(0,0,0,0)}function Le(t){return!t.IntersectionObserver||!t.IntersectionObserverEntry||!!t.IntersectionObserver._stub||!function(t){try{return new t.IntersectionObserver((function(){}),{root:t.document}),!0}catch(t){return!1}}(t)||function(t){return/apple/i.test(t.navigator.vendor)}(t)}var Ie=function(){function t(e,n){this.Kt=e,this.Vt=I({root:null,rootMargin:"0px 0px 0px 0px"},n),this.Qt=[],this.Yt=null,t._upgraders.push(this.on.bind(this))}var n=t.prototype;return n.disconnect=function(){this.Yt?this.Yt.disconnect():this.Qt.length=0},n.takeRecords=function(){return this.Yt?this.Yt.takeRecords():[]},n.observe=function(t){this.Yt?this.Yt.observe(t):-1==this.Qt.indexOf(t)&&this.Qt.push(t)},n.unobserve=function(t){if(this.Yt)this.Yt.unobserve(t);else{var e=this.Qt.indexOf(t);-1!=e&&this.Qt.splice(e,1)}},n.on=function(t){var e=new t(this.Kt,this.Vt);this.Yt=e;for(var n,i=a(this.Qt,!0);!(n=i()).done;){var r=n.value;e.observe(r)}this.Qt.length=0},e(t,[{key:"root",get:function(){return this.Yt?this.Yt.root:this.Vt.root||null}},{key:"rootMargin",get:function(){return this.Yt?this.Yt.rootMargin:this.Vt.rootMargin}},{key:"thresholds",get:function(){return this.Yt?this.Yt.thresholds:[].concat(this.Vt.threshold||0)}}]),t}();function ke(t){return(t=Number(t))?t>0?1:-1:t}Ie._upgraders=[];var De=Object.prototype.hasOwnProperty;function Ne(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r)for(var o in r)De.call(r,o)&&(n[o]=r[o])}return n}function Be(t){return Object.keys(t).map((function(e){return t[e]}))}function Ue(t){return!t.ResizeObserver||!!t.ResizeObserver._stub}var je,Ve=function(){function t(e){this.Kt=e,this.Qt=[],this.Yt=null,t._upgraders.push(this.on.bind(this))}var e=t.prototype;return e.disconnect=function(){this.Yt?this.Yt.disconnect():this.Qt.length=0},e.observe=function(t){this.Yt?this.Yt.observe(t):-1==this.Qt.indexOf(t)&&this.Qt.push(t)},e.unobserve=function(t){if(this.Yt)this.Yt.unobserve(t);else{var e=this.Qt.indexOf(t);-1!=e&&this.Qt.splice(e,1)}},e.on=function(t){var e=new t(this.Kt);this.Yt=e;for(var n,i=a(this.Qt,!0);!(n=i()).done;){var r=n.value;e.observe(r)}this.Qt.length=0},t}();function Fe(t,e){var n=e>0?0|e:0;return this.substr(n,t.length)===t}Ve._upgraders=[],(je=self).fetch||(Object.defineProperty(je,"fetch",{value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,i){var r=function(t){return void 0===t?"GET":(t=t.toUpperCase(),Q(Yt.includes(t)),t)}(e.method||"GET"),o=function(t,e){var n=new XMLHttpRequest;if(!("withCredentials"in n))throw Wt().createExpectedError("CORS is not supported");return n.open(t,e,!0),n}(r,t);"include"==e.credentials&&(o.withCredentials=!0),"document"!==e.responseType&&"text"!==e.responseType||(o.responseType=e.responseType),e.headers&&Object.keys(e.headers).forEach((function(t){o.setRequestHeader(t,e.headers[t])})),o.onreadystatechange=function(){if(!(o.readyState<2))return o.status<100||o.status>599?(o.onreadystatechange=null,void i(Ht().createExpectedError("Unknown HTTP status ".concat(o.status)))):void(4==o.readyState&&n(new Jt(o)))},o.onerror=function(){i(Ht().createExpectedError("Network failure"))},o.onabort=function(){i(Ht().createExpectedError("Request aborted"))},"POST"==r?o.send(e.body):o.send()}))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(je,"Response",{value:Qt,writable:!0,enumerable:!1,configurable:!0})),function(t){t.Math.sign||t.Object.defineProperty(t.Math,"sign",{enumerable:!1,configurable:!0,writable:!0,value:ke})}(self),function(t){t.Object.assign||t.Object.defineProperty(t.Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:Ne})}(self),function(t){t.Object.values||t.Object.defineProperty(t.Object,"values",{configurable:!0,writable:!0,value:Be})}(self),function(t){t.Array.prototype.includes||t.Object.defineProperty(t.Array.prototype,"includes",{enumerable:!1,configurable:!0,writable:!0,value:o})}(self),function(t){var e=t.Map,n=new e;if(n.set(0,0)!==n){var i=n.set;t.Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(){return i.apply(this,arguments),this}})}}(self),function(t){var e=t.WeakMap,n=new e;if(n.set({},0)!==n){var i=n.set;t.Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(){return i.apply(this,arguments),this}})}}(self),function(t){var e=t.Set,n=new e([1]);if(n.size<1&&(t.Set=function(t){var n=new e;if(t)for(var i=U(t),r=0;r<i.length;r++)n.add(i[r]);return n}),n.add(0)!==n){var i=n.add;t.Object.defineProperty(e.prototype,"add",{enumerable:!1,configurable:!0,writable:!0,value:function(){return i.apply(this,arguments),this}})}}(self),function(t){t.String.prototype.startsWith||t.Object.defineProperty(t.String.prototype,"startsWith",{enumerable:!1,configurable:!0,writable:!0,value:Fe})}(self),self.document&&(function(t){var e=t.HTMLDocument||t.Document;e&&!e.prototype.contains&&t.Object.defineProperty(e.prototype,"contains",{enumerable:!1,configurable:!0,writable:!0,value:C})}(self),function(t){(function(t){if(!t.document)return!1;try{return 0!==t.document.createElement("div").getBoundingClientRect().top}catch(t){return!0}})(t)&&(de=Element.prototype.getBoundingClientRect,t.Object.defineProperty(t.Element.prototype,"getBoundingClientRect",{value:Me}))}(self),function(t,e){var n=t.document,i=function(t){var e=t.customElements;return!!(e&&e.define&&e.get&&e.whenDefined)}(t);if(!(!n||i&&function(t){return-1===t.HTMLElement.toString().indexOf("[native code]")}(t))){var r=!0,o=!1;if(e&&i)try{var s=t.Reflect,a=Object.create(e.prototype);Function.call.call(e,a),o=!(null==s||!s.construct)}catch(t){r=!1}o?function(t){var e=t.HTMLElement,n=t.Reflect;function i(){var t=this.constructor;return n.construct(e,[],t)}O(e,i),t.HTMLElementOrig=t.HTMLElement,t.HTMLElement=i}(t):r&&function(t){var e=t.Element,n=t.HTMLElement,i=t.document,r=i.createElement,o=new T(t),s=new R(t,o);Object.defineProperty(t,"customElements",{enumerable:!0,configurable:!0,value:s});var a=e.prototype,u=a.attachShadow,c=a.createShadowRoot;function h(){var t=this.constructor,e=o.current();if(!e){var n=o.getByConstructor(t);e=r.call(i,n.name)}return _(e,t.prototype),e}u&&(a.attachShadow=function(t){var e=u.apply(this,arguments);return o.observe(e),e},a.attachShadow.toString=function(){return u.toString()}),c&&(a.createShadowRoot=function(){var t=c.apply(this,arguments);return o.observe(t),t},a.createShadowRoot.toString=function(){return c.toString()}),O(n,h),t.HTMLElementOrig=t.HTMLElement,t.HTMLElement=h,h.call||(h.apply=t.Function.apply,h.bind=t.Function.bind,h.call=t.Function.call)}(t)}}(self,(function(){})),function(t){Le(t)&&function(t){if(!t.IntersectionObserver)return t.IntersectionObserver=Ie,void(t.IntersectionObserver._stub=Ie);var e=t.IntersectionObserver;t.IntersectionObserver=function(t,e){return function(n,i){var r;return 9===(null==i||null===(r=i.root)||void 0===r?void 0:r.nodeType)?new e(n,i):new t(n,i)}}(t.IntersectionObserver,Ie),t.IntersectionObserver._stub=Ie,t.IntersectionObserver._native=e}(t),function(t){t.IntersectionObserverEntry&&!("isIntersecting"in t.IntersectionObserverEntry.prototype)&&Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{enumerable:!0,configurable:!0,get:function(){return this.intersectionRatio>0}})}(t)}(self),function(t){Ue(t)&&function(t){t.ResizeObserver||(t.ResizeObserver=Ve,t.ResizeObserver._stub=Ve)}(t)}(self),function(t){t.AbortController||(Object.defineProperty(t,"AbortController",{configurable:!0,enumerable:!1,writable:!0,value:i}),Object.defineProperty(t,"AbortSignal",{configurable:!0,enumerable:!1,writable:!0,value:r}))}(self));var qe="cls",He="clstu",ze="cls-1",We="pc",Ge="inp",Ke=["amp-mustache"],Ye=/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org(\/.*)?$/;function Je(t){if(!t)return null;var e=t.match(/^(.*)\/(.*)-([0-9.]+|latest)(\.max)?\.(?:js|mjs)(?:\?ssr-css=[0|1])?$/i),n=e?e[2]:void 0,i=e?e[3]:void 0;return n&&i?{extensionId:n,extensionVersion:i}:null}function Xe(t,e,n){var i=t.document.createElement("script");i.async=!0,$e(e)?n="":i.setAttribute(Ke.indexOf(e)>=0?"custom-template":"custom-element",e),i.setAttribute("data-script",e),i.setAttribute("i-amphtml-inserted",""),Te(t.document,i),i.setAttribute("crossorigin","anonymous");var r=function(t,e,n){var i=At,r=_t().rtvVersion,o=n?"-"+n:"";return"".concat(i,"/rtv/").concat(r,"/v0/").concat(e).concat(o).concat(".js")}(t.location,e,n),o={createScriptURL:function(t){return Ye.test(t)||"fonts.googleapis.com"===new URL(t).host?t:""}};return self.trustedTypes&&self.trustedTypes.createPolicy&&(o=self.trustedTypes.createPolicy("extension-script#createExtensionScript",o)),i.src=o.createScriptURL(r),i}function Qe(t,e,n,i){for(var r=":not([i-amphtml-loaded-new-version])"+(arguments.length>4&&void 0!==arguments[4]&&!arguments[4]?":not([i-amphtml-inserted])":""),o=t.document.head.querySelectorAll('script[src*="/'.concat(e,'-"]').concat(r)),s=[],a=0;a<o.length;a++){var u=o[a],c=Je(u.src);if(c){var h=c.extensionId,l=c.extensionVersion;h==e&&($e(e)||l==n||"latest"==l&&i)&&s.push(u)}}return s}function $e(t){return t.startsWith("_")}function Ze(t,e,n,i){dn(t=un(t),t,e,n),i&&fn(t,e)}function tn(t,e,n,i){var r=hn(t),o=ln(r);dn(o,r,e,n),i&&fn(o,e)}function en(t,e){return fn(t=un(t),e)}function nn(t,e){return bn(t=un(t),e)?fn(t,e):null}function rn(t,e){return fn(ln(hn(t)),e)}function on(t,e){var n=ln(hn(t));return bn(n,e)?fn(n,e):null}function sn(t,e){return pn(ln(t),e)}function an(t,e){return mn(ln(t),e)}function un(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}function cn(t,e){var n=(t.ownerDocument||t).defaultView,i=e||un(n);if(n&&n!=i&&un(n)==i)try{return n.frameElement}catch(t){}return null}function hn(t){return t.nodeType?function(t){return en(t,"ampdoc")}($t(t)).getAmpDoc(t):t}function ln(t){var e=hn(t);return e.isSingleDoc()?e.win:e}function fn(t,e){Gt(bn(t,e));var n=vn(t)[e];return n.obj||(Gt(n.ctor),Gt(n.context),n.obj=new n.ctor(n.context),Gt(n.obj),n.context=null,n.resolve&&n.resolve(n.obj)),n.obj}function dn(t,e,n,i,r,o){var s=vn(t),a=s[n];a||(a=s[n]={obj:null,promise:null,resolve:null,reject:null,context:null,ctor:null,sharedInstance:o||!1}),!r&&a.ctor||(a.ctor=i,a.context=e,a.sharedInstance=o||!1,a.resolve&&fn(t,n))}function pn(t,e){var n=mn(t,e);if(n)return n;var i=vn(t);return i[e]=wn(),i[e].promise}function mn(t,e){var n=vn(t)[e];return n?n.promise?n.promise:(fn(t,e),n.promise=Promise.resolve(n.obj)):null}function vn(t){var e=t.__AMP_SERVICES;return e||(e=t.__AMP_SERVICES={}),e}function gn(t){return"function"==typeof t.dispose}function yn(t,e){if(gn(e))try{(function(t){return Gt(gn(t)),t})(e).dispose()}catch(e){Wt().error("SERVICE","failed to dispose service",t,e)}}function bn(t,e){var n=t.__AMP_SERVICES&&t.__AMP_SERVICES[e];return!(!n||!n.ctor)}function wn(){var t=new c,e=t.promise,n=t.reject,i=t.resolve;return e.catch((function(){})),{obj:null,promise:e,resolve:i,reject:n,context:null,ctor:null}}function An(t,e,n,i){return En(t,e,n,i).then((function(t){return function(t,e,n){return Kt(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,n,n,n)}(t,e,n)}))}function En(t,e,n,i){var r=an(t,e);if(r)return r;var o=hn(t);return o.whenExtensionsKnown().then((function(){var t=o.getExtensionVersion(n);return t?en(o.win,"extensions").waitForExtension(n,t):null})).then((function(n){return n?i?an(t,e):sn(t,e):null}))}var Sn,xn=function(t){return En(t,"access","amp-access")},Pn=function(t){return En(t,"subscriptions","amp-subscriptions")},Rn=function(t){return on(t,"action")},Tn=function(t){return An(t,"activity","amp-analytics")},On=function(t){return hn(t)},_n=function(t){return en(t,"ampdoc")},Cn=function(t){return function(t,e){var n=on(t,e);return n?Promise.resolve(n):En(t,e,"amp-bind")}(t,"bind")},Mn=function(t){return sn(t,"cid")},Ln=function(t){return rn(t,"documentInfo").get()},In=function(t){return en(t,"extensions")},kn=function(t){return rn(t,"history")},Dn=function(t){return on(t,"loadingIndicator")},Nn=function(t){return rn(t,"mutator")},Bn=function(t){return en(t,"performance")},Un=function(t){return en(t,"platform")},jn=function(t){return en(t,"preconnect")},Vn=function(t){return rn(t,"resources")},Fn=function(t){return function(t){return fn(t,"timer")}(t)},qn=function(t){return on(t,"url-replace")},Hn=function(t){return En(t,"geo","amp-geo",!0)},zn=function(t){return on(t,"url")},Wn=function(t){return rn(t,"viewer")},Gn=function(t){return en(t,"vsync")},Kn=function(t){return rn(t,"viewport")},Yn="prerender",Jn="preview",Xn="visible",Qn="hidden",$n="paused",Zn="inactive",ti=function(){function t(){this.vt=null}var e=t.prototype;return e.add=function(t){var e=this;return this.vt||(this.vt=[]),this.vt.push(t),function(){e.remove(t)}},e.remove=function(t){this.vt&&F(this.vt,t)},e.removeAll=function(){this.vt&&(this.vt.length=0)},e.fire=function(t){if(this.vt)for(var e,n=a(this.vt.slice(),!0);!(e=n()).done;)(0,e.value)(t)},e.getHandlerCount=function(){var t,e;return null!==(t=null===(e=this.vt)||void 0===e?void 0:e.length)&&void 0!==t?t:0},t}(),ei=function(){function t(){this.ae=w(),this.we=null}var e=t.prototype;return e.get=function(t){var e=this.ae[t];return null==e?null:e},e.whenSignal=function(t){var e,n=null===(e=this.we)||void 0===e?void 0:e[t];if(!n){var i=this.ae[t];n=null!=i?{promise:"number"==typeof i?Promise.resolve(i):Promise.reject(i)}:new c,this.we||(this.we=w()),this.we[t]=n}return n.promise},e.signal=function(t,e){var n;if(null==this.ae[t]){var i=null!=e?e:Date.now();this.ae[t]=i;var r=null===(n=this.we)||void 0===n?void 0:n[t];null!=r&&r.resolve&&(r.resolve(i),r.resolve=void 0,r.reject=void 0)}},e.rejectSignal=function(t,e){var n;if(null==this.ae[t]){this.ae[t]=e;var i=null===(n=this.we)||void 0===n?void 0:n[t];null!=i&&i.reject&&(i.reject(e),i.promise.catch((function(){})),i.resolve=void 0,i.reject=void 0)}},e.reset=function(t){var e;this.ae[t]&&delete this.ae[t];var n=null===(e=this.we)||void 0===e?void 0:e[t];n&&!n.resolve&&delete this.we[t]},t}(),ni="building",ii="mounting",ri="loading",oi="complete",si="error";function ai(t){return t.readyState!=ri&&"uninitialized"!=t.readyState}function ui(t){return t.readyState==oi}function ci(t,e){hi(t,ai,e)}function hi(t,e,n){var i=e(t);i?n(t):t.addEventListener("readystatechange",(function r(){e(t)&&(i||(i=!0,n(t)),t.removeEventListener("readystatechange",r))}))}function li(t){return new Promise((function(e){ci(t,e)}))}function fi(t){return new Promise((function(e){hi(t,ui,e)}))}var di=["Webkit","webkit","Moz","moz","ms","O","o"],pi={getPropertyPriority:function(){return""},getPropertyValue:function(){return""}};function mi(t){var e=t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}));return di.some((function(t){return e.startsWith(t+"-")}))?"-".concat(e):e}function vi(t,e,n){if(e.startsWith("--"))return e;Sn||(Sn=w());var i=Sn[e];if(!i||n){if(i=e,void 0===t[e]){var r=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),o=function(t,e){for(var n=0;n<di.length;n++){var i=di[n]+e;if(void 0!==t[i])return i}return""}(t,r);void 0!==t[o]&&(i=o)}n||(Sn[e]=i)}return i}function gi(t,e){var n=t.style;for(var i in e)n.setProperty(mi(vi(n,i)),String(e[i]),"important")}function yi(t,e,n,i,r){var o=vi(t.style,e,r);if(o){var s=i?n+i:n;t.style.setProperty(mi(o),s)}}function bi(t,e){for(var n in e)yi(t,n,e[n])}function wi(t,e){void 0===e&&(e=t.hasAttribute("hidden")),e?t.removeAttribute("hidden"):t.setAttribute("hidden","")}function Ai(t){return"".concat(t,"px")}function Ei(t,e){return"number"==typeof t?e(t):t}function Si(t,e){return t.getComputedStyle(e)||pi}function xi(t,e){for(var n=0;n<e.length;n++)yi(t,e[n],null)}function Pi(t){var e=t[vi(t,"visibilityState",!0)];if(e)return e;var n=vi(t,"hidden",!0);return n in t&&t[n]?Qn:Xn}function Ri(t,e){if(t.addEventListener){var n=Oi(t);n&&t.addEventListener(n,e)}}function Ti(t,e){if(t.removeEventListener){var n=Oi(t);n&&t.removeEventListener(n,e)}}function Oi(t){var e=vi(t,"hidden",!0),n=e.indexOf("Hidden");return-1!=n?e.substring(0,n)+"Visibilitychange":"visibilitychange"}var _i=function(){function t(){}return t.getTop=function(t){return t.top},t.getLocation=function(t){return t.location},t.getDocumentReferrer=function(t){return t.document.referrer},t.getHostname=function(t){return t.location.hostname},t.getUserAgent=function(t){return t.navigator.userAgent},t.getUserLanguage=function(t){return t.navigator.userLanguage||t.navigator.language},t.getDevicePixelRatio=function(){return self.devicePixelRatio||1},t.getSendBeacon=function(t){if(t.navigator.sendBeacon)return t.navigator.sendBeacon.bind(t.navigator)},t.getXMLHttpRequest=function(t){return t.XMLHttpRequest},t.getImage=function(t){return t.Image},t}(),Ci="-ampdoc-ext-known",Mi="-ampdoc-first-visible",Li="-ampdoc-next-visible",Ii="-ampdoc-first-previewed",ki=function(){function t(t,e,n){this.win=t,this.Ae=null,e&&(this.Ae=new Ni(t,{params:ji(t,n)}),t.document.__AMPDOC=this.Ae)}var e=t.prototype;return e.isSingleDoc=function(){return!!this.Ae},e.getSingleDoc=function(){return Gt(this.Ae)},e.xe=function(t){return t.everAttached&&"function"==typeof t.getAmpDoc?t.getAmpDoc():null},e.getAmpDocIfAvailable=function(t){for(var e=t;e;){var n=this.xe(t);if(n)return n;var i=we(e);if(!i)break;var r=i.__AMPDOC;if(r)return r;e=i.host?i.host:cn(i,this.win)}return null},e.getAmpDoc=function(t){var e=this.getAmpDocIfAvailable(t);if(!e)throw Wt().createError("No ampdoc found for",t);return e},e.installShadowDoc=function(t,e,n){Gt(!e.__AMPDOC);var i=new Bi(this.win,t,e,n);return e.__AMPDOC=i,i},e.installFieDoc=function(t,e,n){var i=e.document;Gt(!i.__AMPDOC);var r=Gt(e.frameElement),o=new Ui(e,t,this.getAmpDoc(r),n);return i.__AMPDOC=o,o},t}(),Di=function(){function t(t,e,n){var i=this;this.win=t,this.Ee=w(),this.Pe=e,this.Te=n&&n.signals||new ei,this.Oe=n&&n.params||w(),this.Ie=null,this.Re={};var r,o=this.Oe.visibilityState;Gt(!o||"prerender"===(r=o)||"preview"===r||"visible"===r||"hidden"===r||"paused"===r||"inactive"===r),this.Se=n&&n.visibilityState||o||null,this.J=null,this._e=new ti,this.Me=null,this.ke=[];var s=this.Yi.bind(this);this.Pe&&this.ke.push(this.Pe.onVisibilityChanged(s)),Ri(this.win.document,s),this.ke.push((function(){return Ti(i.win.document,s)})),this.Yi()}var e=t.prototype;return e.dispose=function(){(function(t){var e=vn(t),n=function(t){if(!Object.prototype.hasOwnProperty.call(e,t))return"continue";var n=e[t];if(n.sharedInstance)return"continue";n.obj?yn(t,n.obj):n.promise&&n.promise.then((function(e){return yn(t,e)}))};for(var i in e)n(i)})(this),this.ke.forEach((function(t){return t()}))},e.isSingleDoc=function(){return Gt(null)},e.getParent=function(){return this.Pe},e.signals=function(){return this.Te},e.getParam=function(t){var e=this.Oe[t];return null==e?null:e},e.getMeta=function(){var t=this;return this.Ie||(this.Ie=w(),this.win.document.head.querySelectorAll("meta[name]").forEach((function(e){var n=e.getAttribute("name"),i=e.getAttribute("content");n&&null!==i&&void 0===t.Ie[n]&&(t.Ie[n]=i)}))),w(this.Ie)},e.getMetaByName=function(t){if(!t)return null;var e=this.getMeta()[t];return void 0!==e?e:null},e.setMetaByName=function(t,e){Gt(null)},e.declaresExtension=function(t,e){var n=this.Re[t];return!(!n||e&&n!==e)},e.declareExtension=function(t,e){Gt(!this.Re[t]||this.Re[t]===e),this.Re[t]=e},e.getExtensionVersion=function(t){return this.Re[t]||null},e.setExtensionsKnown=function(){this.Te.signal(Ci)},e.whenExtensionsKnown=function(){return this.Te.whenSignal(Ci)},e.getRootNode=function(){return Gt(null)},e.getHeadNode=function(){},e.isBodyAvailable=function(){return Gt(!1)},e.getBody=function(){return Gt(null)},e.waitForBodyOpen=function(){return Gt(null)},e.isReady=function(){return Gt(null)},e.whenReady=function(){return Gt(null)},e.getUrl=function(){return Gt(null)},e.getElementById=function(t){return this.getRootNode().getElementById(t)},e.contains=function(t){return this.getRootNode().contains(t)},e.overrideVisibilityState=function(t){this.Se!=t&&(this.Se=t,this.Yi())},e.Yi=function(){for(var t,e=Pi(this.win.document),n=Xn,i=this.Pe;i;i=i.getParent())if(i.getVisibilityState()!=Xn){n=i.getVisibilityState();break}var r=this.Se||Xn;if(t=r==Xn&&n==Xn&&e==Xn?Xn:e==Qn&&r==$n?e:r==$n||r==Zn?r:n==$n||n==Zn?n:r==Jn||e==Jn||n==Jn?Jn:r==Yn||e==Yn||n==Yn?Yn:Qn,this.J!=t){if(t==Xn){var o,s=this.win.performance,a=Math.floor(null!==(o=s.timeOrigin)&&void 0!==o?o:s.timing.navigationStart);null!=this.J&&(a+=Math.floor(s.now())),this.Me=a,this.Te.signal(Mi,a),this.Te.signal(Li,a)}else this.Te.reset(Li);t==Jn&&this.Te.signal(Ii),this.J=t,this._e.fire()}},e.whenFirstPreviewedOrVisible=function(){return Promise.race([this.whenFirstPreviewed(),this.whenFirstVisible()])},e.whenFirstPreviewed=function(){return this.Te.whenSignal(Ii).then((function(){}))},e.whenFirstVisible=function(){return this.Te.whenSignal(Mi).then((function(){}))},e.whenNextVisible=function(){return this.Te.whenSignal(Li).then((function(){}))},e.getFirstVisibleTime=function(){return this.Te.get(Mi)},e.getLastVisibleTime=function(){return this.Me},e.getVisibilityState=function(){return Gt(this.J)},e.isPreview=function(){return this.J==Jn},e.isVisible=function(){return this.J==Xn},e.hasBeenVisible=function(){return null!=this.getLastVisibleTime()},e.onVisibilityChanged=function(t){return this._e.add(t)},e.registerSingleton=function(t){return!this.Ee[t]&&(this.Ee[t]=!0,!0)},t}(),Ni=function(t){D(n,t);var e=B(n);function n(t,n){var i;return(i=e.call(this,t,null,n)).Ce=i.win.document.body?Promise.resolve(i.win.document.body):ve(i.win.document).then((function(){return i.getBody()})),i.Ne=li(i.win.document),i}var i=n.prototype;return i.isSingleDoc=function(){return!0},i.getRootNode=function(){return this.win.document},i.getUrl=function(){return _i.getLocation(this.win).href},i.getHeadNode=function(){return this.win.document.head},i.isBodyAvailable=function(){return!!this.win.document.body},i.getBody=function(){return this.win.document.body},i.waitForBodyOpen=function(){return this.Ce},i.isReady=function(){return ai(this.win.document)},i.whenReady=function(){return this.Ne},n}(Di),Bi=function(t){D(n,t);var e=B(n);function n(t,n,i,r){var o;(o=e.call(this,t,null,r)).je=n,o.De=i,o.Le=null;var s=new c;o.Ce=s.promise,o.Ue=s.resolve,o.ze=!1;var a=new c;return o.Ne=a.promise,o.He=a.resolve,o}var i=n.prototype;return i.isSingleDoc=function(){return!1},i.getRootNode=function(){return this.De},i.getUrl=function(){return this.je},i.getHeadNode=function(){return this.De},i.isBodyAvailable=function(){return!!this.Le},i.getBody=function(){return this.Le},i.setBody=function(t){Gt(!this.Le),this.Le=t,this.Ue(t),this.Ue=void 0},i.waitForBodyOpen=function(){return this.Ce},i.isReady=function(){return this.ze},i.setReady=function(){Gt(!this.ze),this.ze=!0,this.He(),this.He=void 0},i.whenReady=function(){return this.Ne},i.getMeta=function(){return w(this.Ie)},i.setMetaByName=function(t,e){Gt(t),this.Ie||(this.Ie=w()),this.Ie[t]=e},n}(Di),Ui=function(t){D(n,t);var e=B(n);function n(t,n,i,r){var o;(o=e.call(this,t,i,r)).je=n,o.Ce=o.win.document.body?Promise.resolve(o.win.document.body):ve(o.win.document).then((function(){return o.getBody()})),o.ze=!1;var s=new c;return o.Ne=s.promise,o.He=s.resolve,o}var i=n.prototype;return i.isSingleDoc=function(){return!1},i.getRootNode=function(){return this.win.document},i.getUrl=function(){return this.je},i.getHeadNode=function(){return this.win.document.head},i.isBodyAvailable=function(){return!!this.win.document.body},i.getBody=function(){return this.win.document.body},i.waitForBodyOpen=function(){return this.Ce},i.isReady=function(){return this.ze},i.whenReady=function(){return this.Ne},i.setReady=function(){Gt(!this.ze),this.ze=!0,this.He(),this.He=void 0},n}(Di);function ji(t,e){var n=w();return e?Object.assign(n,e):(t.name&&0==t.name.indexOf("__AMP__")&&Object.assign(n,dt(t.name.substring(7))),t.location&&t.location.hash&&Object.assign(n,dt(t.location.hash))),n}function Vi(t){if(!t.hasAttribute("src")&&"srcset"in t==0){var e=t.getAttribute("srcset")||"",n=/\S+/.exec(e);if(null==n)return;var i=n[0];t.setAttribute("src",i)}}var Fi="nodisplay",qi="fixed",Hi="fixed-height",zi="responsive",Wi="container",Gi="fill",Ki="flex-item",Yi="fluid",Ji="intrinsic",Xi=/^amp\-(video|.+player)|AMP-BRIGHTCOVE|AMP-DAILYMOTION|AMP-YOUTUBE|AMP-VIMEO|AMP-IMA-VIDEO/i;function Qi(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 $i(t){return"i-amphtml-layout-"+t}function Zi(t){return t==qi||t==Hi||t==zi||t==Gi||t==Ki||t==Yi||t==Ji}function tr(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 er(t){!function(t){et(/^\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);var e=/[a-z]+/i.exec(null!=t?t:"");return et(e,"Failed to read units from %s",t),e[0]}function nr(t){var e=parseFloat(t);return z(e)?e:void 0}function ir(t,e){t.classList.add("i-amphtml-fill-content"),e&&t.classList.add("i-amphtml-replaced-content")}function rr(t,e,n,i){for(var r,o=a(V(t),!0);!(r=o()).done;){var s=r.value,u=e.getAttribute(s);null!==u?n.setAttribute(s,u):i&&n.removeAttribute(s)}}var or,sr="amp:attached",ar="amp:load-start",ur="amp:load-end",cr="ready-upgrade",hr="upgraded",lr="built",fr="mounted",dr="load-start",pr="render-start",mr="load-end",vr="unload",gr=function(){function t(t,e){this.t=t,this.Kt=e,this.Ge={},this.Ve=null}var e=t.prototype;return e.start=function(){this.Ve=this.Ge,this.Ge={}},e.resolveMatchQuery=function(t){return"1"===this.Fe(t,yr,"1")},e.resolveListQuery=function(t){return this.Fe(t,br,"")},e.complete=function(){for(var t in this.Ve)t in this.Ge||wr(this.Ve[t],this.Kt,!1);this.Ve=null},e.dispose=function(){for(var t in this.Ge)wr(this.Ge[t],this.Kt,!1);this.Ge={}},e.Fe=function(t,e,n){if(!t.trim())return n;var i=this.Ge[t];return i||(Q(this.Ve),i=this.Ve[t]),i||wr(i=e(this.t,t),this.Kt,!0),this.Ge[t]=i,function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n.query,r=n.value;if(!i||i.matches)return r}return""}(i)},t}();function yr(t,e){return[{query:t.matchMedia(e),value:"1"},{query:null,value:""}]}function br(t,e){return e.split(",").map((function(e){if(0!=(e=e.replace(/\s+/g," ").trim()).length){var n,i,r;if(")"==e.charAt(e.length-1)){var o=1;for(r=e.length-2;r>=0;r--){var s=e.charAt(r);if("("==s?o--:")"==s&&o++,0==o)break}var a=r-1;if(r>0)for(r--;r>=0;r--){var u=e.charAt(r);if(!("%"==u||"-"==u||"_"==u||u>="a"&&u<="z"||u>="A"&&u<="Z"||u>="0"&&u<="9"))break}if(r>=a)return null}else for(r=e.length-2;r>=0;r--){var c=e.charAt(r);if(!("%"==c||"."==c||c>="a"&&c<="z"||c>="A"&&c<="Z"||c>="0"&&c<="9"))break}return r>=0?(n=e.substring(0,r+1).trim(),i=e.substring(r+1).trim()):(i=e,n=void 0),i?{query:n?t.matchMedia(n):null,value:i}:null}})).filter(Boolean)}function wr(t,e,n){for(var i=0;i<t.length;i++){var r=t[i].query;r&&(void 0!==r.onchange?r.onchange=n?e:null:n?r.addListener(e):r.removeListener(e))}}function Ar(t){var e=t.ownerDocument||t;return or&&or.ownerDocument===e||(or=e.createElement("div")),Er}function Er(t){return function(t,e){if(Q(1===e.length),Q(Array.isArray(e)||A(e,"raw")),self.trustedTypes&&self.trustedTypes.createPolicy){var n=self.trustedTypes.createPolicy("static-template#createNode",{createHTML:function(t){return e[0]}});t.innerHTML=n.createHTML("ignored")}else t.innerHTML=e[0];var i=t.firstElementChild;return Q(i),Q(!i.nextElementSibling),t.removeChild(i),i}(or,t)}var Sr=['<i-amphtml-sizer class=i-amphtml-sizer slot=i-amphtml-svc><img alt="" role=presentation aria-hidden=true class=i-amphtml-intrinsic-sizer></i-amphtml-sizer>'],xr={"AMP-PIXEL":{width:"0px",height:"0px"},"AMP-ANALYTICS":{width:"1px",height:"1px"},"AMP-AUDIO":null,"AMP-SOCIAL-SHARE":{width:"60px",height:"44px"}};function Pr(t){var e=t.getAttribute("layout"),n=t.getAttribute("width"),i=t.getAttribute("height"),r=t.getAttribute("sizes"),o=t.getAttribute("heights"),s=e?Qi(e):null;et(void 0!==s,'Invalid "layout" value: %s, %s',e,t);var a=n&&"auto"!=n?tr(n):n;et(void 0!==a,'Invalid "width" value: %s, %s',n,t);var u,c,h,l,f=i&&"fluid"!=i?tr(i):i;if(et(void 0!==f,'Invalid "height" value: %s, %s',i,t),s&&s!=qi&&s!=Hi||a&&f||(l=(l=t.tagName).toUpperCase(),void 0===xr[l]))u=a,c=f;else{var d=function(t){var e=t.tagName.toUpperCase();if(Q(void 0!==xr[e]),!xr[e]){var n=t.ownerDocument,i=e.replace(/^AMP\-/,""),r=n.createElement(i);r.controls=!0,bi(r,{position:"absolute",visibility:"hidden"}),n.body.appendChild(r),xr[e]={width:(r.offsetWidth||1)+"px",height:(r.offsetHeight||1)+"px"},n.body.removeChild(r)}return xr[e]}(t);u=a||s==Hi?a:d.width,c=f||d.height}return(h=s||(u||c?"fluid"==c?Yi:!c||u&&"auto"!=u?c&&u&&(r||o)?zi:qi:Hi:Wi))!=qi&&h!=Hi&&h!=zi&&h!=Ji||et(c,'The "height" attribute is missing: %s',t),h==Hi&&et(!u||"auto"==u,'The "width" attribute must be missing or "auto": %s',t),h!=qi&&h!=zi&&h!=Ji||et(u&&"auto"!=u,'The "width" attribute must be present and not "auto": %s',t),h==zi||h==Ji?et(er(u)==er(c),'Length units should be the same for "width" and "height": %s, %s, %s',n,i,t):et(null===o,'"heights" attribute must be missing: %s',t),{layout:h,width:u,height:c}}var Rr,Tr="EXPERIMENTS",Or="amp-experiment-toggles",_r="__AMP__EXPERIMENT_TOGGLES";function Cr(t,e){return!!Lr(t)[e]}function Mr(t,e,n,i){var r=Cr(t,e),o=null!=n?n:!r;if(o!=r&&(Lr(t)[e]=o,!i)){var s=Ir(t);s[e]=o,function(t,e){var n=[];for(var i in e)n.push((!1===e[i]?"-":"")+i);try{var r;null===(r=t.localStorage)||void 0===r||r.setItem(Or,n.join(","))}catch(t){Ht().error(Tr,"Failed to save experiments to localStorage.")}}(t,s),Ht().warn(Tr,'"%s" experiment %s for the domain "%s". See: https://amp.dev/documentation/guides-and-tutorials/learn/experimental',e,o?"enabled":"disabled",t.location.hostname)}return o}function Lr(t){var e,n,i,r,o;if(t[_r])return t[_r];t[_r]=w();var s=t[_r];Q(s);var u=I(I({},null!==(e=t.AMP_CONFIG)&&void 0!==e?e:{}),null!==(n=t.AMP_EXP)&&void 0!==n?n:nt((null===(i=t.__AMP_EXP)||void 0===i?void 0:i.textContent)||"{}"));for(var c in u){var h=u[c];"number"==typeof h&&h>=0&&h<=1&&(s[c]=Math.random()<h)}var l=null===(r=t.AMP_CONFIG)||void 0===r?void 0:r["allow-doc-opt-in"];if(j(l)&&l.length){var f=t.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f)for(var d,p,m=a((null===(d=f.getAttribute("content"))||void 0===d?void 0:d.split(","))||[],!0);!(p=m()).done;){var v=p.value;l.includes(v)&&(s[v]=!0)}}Object.assign(s,Ir(t));var g=null===(o=t.AMP_CONFIG)||void 0===o?void 0:o["allow-url-opt-in"];if(j(g)&&g.length)for(var y,b=dt(t.location.originalHash||t.location.hash),A=a(g,!0);!(y=A()).done;){var E=y.value,S=b["e-".concat(E)];"1"==S&&(s[E]=!0),"0"==S&&(s[E]=!1)}return s}function Ir(t){var e,n="";try{var i;"localStorage"in t&&(n=null!==(i=t.localStorage.getItem(Or))&&void 0!==i?i:"")}catch(t){Wt().warn(Tr,"Failed to retrieve experiments from localStorage.")}for(var r,o=(null===(e=n)||void 0===e?void 0:e.split(/\s*,\s*/g))||[],s=w(),u=a(o,!0);!(r=u()).done;){var c=r.value;c&&("-"==c[0]?s[c.substr(1)]=!1:s[c]=!0)}return s}function kr(t,e,n,i){var r=t,o=n,s=function(t){try{return o(t)}catch(t){var e,n;throw null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t),t}},a=function(){if(void 0!==Rr)return Rr;Rr=!1;try{var t={get capture(){return Rr=!0,!1}};self.addEventListener("test-options",null,t),self.removeEventListener("test-options",null,t)}catch(t){}return Rr}(),u=!(null==i||!i.capture);return r.addEventListener(e,s,a?i:u),function(){null==r||r.removeEventListener(e,s,a?i:u),o=null,r=null,s=null}}var Dr="Failed to load:";function Nr(t,e,n,i){var r={detail:n};if(Object.assign(r,i),"function"==typeof t.CustomEvent)return new t.CustomEvent(e,r);var o=t.document.createEvent("CustomEvent");return o.initCustomEvent(e,!!r.bubbles,!!r.cancelable,n),o}function Br(t,e,n,i){return kr(t,e,n,i)}function Ur(t){return t.data}function jr(t,e,n,i){var r=n,o=kr(t,e,(function(t){try{r(t)}finally{r=null,o()}}),i);return o}function Vr(t){var e,n;if(function(t){return!!(t.complete||"complete"==t.readyState||Fr(t)&&t.readyState>0||t.document&&"complete"==t.document.readyState)}(t))return Promise.resolve(t);var i=Fr(t);return i&&t.__AMP_MEDIA_LOAD_FAILURE_SRC===t.currentSrc?Promise.reject(t):new Promise((function(r,o){if(e=i?jr(t,"loadedmetadata",r,{capture:!0}):jr(t,"load",r),t.tagName){var s=t;if(i&&!t.hasAttribute("src")&&!(s=he(t,(function(t){return"SOURCE"===t.tagName}))))return o(new Error("Media has no source."));n=jr(s,"error",o)}})).then((function(){return n&&n(),t}),(function(){e&&e(),function(t){Fr(t)&&(t.__AMP_MEDIA_LOAD_FAILURE_SRC=t.currentSrc||!0);var e=t;throw e&&e.src&&(e=e.src),Ht().createError(Dr,e)}(t)}))}function Fr(t){return"AUDIO"===t.tagName||"VIDEO"===t.tagName}var qr={"amp-dynamic-css-classes":"[custom-element=amp-dynamic-css-classes]",variant:"amp-experiment"};function Hr(t){var e=t.document;return Gt(e.body),Object.keys(qr).filter((function(t){return e.querySelector(qr[t])}))}function zr(t,e,n,i,r){var o=t.getHeadNode(),s=function(t,e,n,i){var r=t.__AMP_CSS_SM;r||(r=t.__AMP_CSS_SM=w());var o=!n&&i&&"amp-custom"!=i&&"amp-keyframes"!=i,s=n?"amp-runtime":o?"amp-extension=".concat(i):null;if(s){var a=Wr(t,r,s);if(a)return"STYLE"==a.tagName&&a.textContent!==e&&(a.textContent=e),a}var u=(t.ownerDocument||t).createElement("style");u.textContent=e;var c=null;return n?u.setAttribute("amp-runtime",""):o?(u.setAttribute("amp-extension",i||""),c=Wr(t,r,"amp-runtime")):(i&&u.setAttribute(i,""),c=t.lastChild),function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(n){var i=n.nextSibling;t.insertBefore(e,i)}else!function(t,e){t.insertBefore(e,t.firstChild)}(t,e)}(t,u,c),s&&(r[s]=u),u}(o,function(t,e){var n=t.__AMP_CSS_TR;return n?n(e):e}(o,e),i||!1,r||null);if(n){var a=t.getRootNode();if(Jr(a,s))return n(s),s;var u=setInterval((function(){Jr(a,s)&&(clearInterval(u),n(s))}),4)}return s}function Wr(t,e,n){if(e[n])return e[n];var i=t.querySelector("style[".concat(n,"], link[").concat(n,"]"));return i?(e[n]=i,i):null}var Gr=!1;function Kr(t){Gt(t.defaultView),Gr||(Gr=!0,Yr(t))}function Yr(t){bi(t.body,{opacity:1,visibility:"visible",animation:"none"})}function Jr(t,e){for(var n=t.styleSheets,i=0;i<n.length;i++)if(n[i].ownerNode==e)return!0;return!1}var Xr,Qr,$r=function(){function t(t){this.zt=t,this.It=0,this.Ct=0,this.Ot=w()}var e=t.prototype;return e.has=function(t){return!!this.Ot[t]},e.get=function(t){var e=this.Ot[t];if(e)return e.access=++this.Ct,e.payload},e.put=function(t,e){this.has(t)||this.It++,this.Ot[t]={payload:e,access:this.Ct},this.qt()},e.qt=function(){if(!(this.It<=this.zt)){var t,e=this.Ot,n=this.Ct+1;for(var i in e){var r=e[i].access;r<n&&(n=r,t=i)}void 0!==t&&(delete e[t],this.It--)}},t}(),Zr=new Set(["c","v","a","ad"]),to="__amp_source_origin",eo=function(t){return"string"==typeof t?no(t):t};function no(t,e){return Xr||(Xr=self.document.createElement("a"),Qr=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new $r(100))),io(Xr,t,e?null:Qr)}function io(t,e,n){if(n&&n.has(e))return n.get(e);t.href=e,t.protocol||(t.href=t.href);var i,r={href:t.href,protocol:t.protocol,host:t.host,hostname:t.hostname,port:"0"==t.port?"":t.port,pathname:t.pathname,search:t.search,hash:t.hash,origin:null};"/"!==r.pathname[0]&&(r.pathname="/"+r.pathname),("http:"==r.protocol&&80==r.port||"https:"==r.protocol&&443==r.port)&&(r.port="",r.host=r.hostname),i=t.origin&&"null"!=t.origin?t.origin:"data:"!=r.protocol&&r.host?r.protocol+"//"+r.host:r.href,r.origin=i;var o=r;return n&&n.put(e,o),o}function ro(t,e,n){if(!e)return t;var i=t.split("#",2),r=i[0].split("?",2);return r[0]+(r[1]?n?"?".concat(e,"&").concat(r[1]):"?".concat(r[1],"&").concat(e):"?".concat(e))+(i[1]?"#".concat(i[1]):"")}function oo(t,e){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e))}function so(t,e){return ro(t,ao(e))}function ao(t){var e=[];for(var n in t){var i=t[n];if(null!=i){i=V(i);for(var r=0;r<i.length;r++)e.push(oo(n,i[r]))}}return e.join("&")}function uo(t){return"https:"==(t=eo(t)).protocol||"localhost"==t.hostname||"127.0.0.1"==t.hostname||(n=(e=t.hostname).length-10)>=0&&e.indexOf(".localhost",n)==n;var e,n}function co(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"source";return Kt(null!=t,"%s %s must be available",e,n),Kt(uo(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,n,t),t}function ho(t){var e=t.indexOf("#");return-1==e?t:t.substring(0,e)}function lo(t){return vt.test(eo(t).origin)}function fo(t){return!(t&&ht.includes(eo(t).protocol))}function po(t){var e=no(t),n=e.hash;return e.origin+e.pathname+mo(e.search)+n}function mo(t){return function(t){if(!t||"?"==t)return"";var e=new RegExp("[?&]".concat("(amp_(js[^&=]*|gsa|r|kit)|usqp)","\\b[^&]*"),"g"),n=t.replace(e,"").replace(/^[?&]/,"");return n?"?"+n:""}(t)}function vo(t){if(!lo(t=eo(t)))return t.href;var e=t.pathname.split("/"),n=e[1];Kt(Zr.has(n),"Unknown path prefix in url %s",t.href);var i=e[2],r="s"==i?"https://"+decodeURIComponent(e[3]):"http://"+decodeURIComponent(i);return Kt(r.indexOf(".")>0,"Expected a . in origin %s",r),e.splice(1,"s"==i?3:2),r+e.join("/")+mo(t.search)+(t.hash||"")}function go(t){return no(vo(t)).origin}function yo(t,e){return e=eo(e),"function"==typeof URL?new URL(t,e.href).toString():function(t,e){e=eo(e);var n=no(t=t.replace(/\\/g,"/"));return t.toLowerCase().startsWith(n.protocol)?n.href:t.startsWith("//")?e.protocol+t:t.startsWith("/")?e.origin+t:e.origin+e.pathname.replace(/\/[^/]*$/,"/")+t}(t,e)}function bo(t,e){return wo(e),function(t,e,n){return ro(t,oo("__amp_source_origin",n),void 0)}(e,0,go(t.location.href))}function wo(t){var e=dt(no(t).search);Kt(!(to in e),"Source origin is not allowed in %s",t)}var Ao="CANCELLED",Eo="BLOCK_BY_CONSENT",So=self.__AMP_ERRORS||[];self.__AMP_ERRORS=So;var xo=function(t){return(e=0,n=function(){var t=Math.pow(1.5,e++);return 1e3*(t+function(t,e){var n=t*(e=e||.3)*Math.random();return Math.random()>.5&&(n*=-1),n}(t))},xo=function(t){return setTimeout(t,n())})(t);var e,n};function Po(t,e){try{if(t)if(void 0!==t.message)t=l(t);else{var n=t;(t=new Error(function(t){try{return JSON.stringify(t)}catch(e){return String(t)}}(n))).origError=n}else t=new Error("Unknown error");if(t.reported)return t;if(t.reported=!0,t.messageArray){var i=function(t){for(var e=0;e<t.length;e++)if(null==(n=t[e])?void 0:n.tagName)return e;var n;return-1}(t.messageArray);i>-1&&(t.associatedElement=t.messageArray[i])}var r=e||t.associatedElement;if(r&&r.classList&&(r.classList.add("i-amphtml-error"),_t().development&&(r.classList.add("i-amphtml-element-error"),r.setAttribute("error-message",t.message))),self.console&&(Y(t.message)||!t.expected)){var o=console.error||console.log;t.messageArray?o.apply(console,t.messageArray):r?o.call(console,t.message,r):o.call(console,t.message)}r&&r.dispatchCustomEventForTesting&&r.dispatchCustomEventForTesting("amp:error",t.message),Oo.call(self,void 0,void 0,void 0,void 0,t)}catch(t){setTimeout((function(){throw t}))}return t}function Ro(){return new Error(Ao)}function To(t){return!!t&&("string"==typeof t?t.startsWith(Eo):"string"==typeof t.message&&t.message.startsWith(Eo))}function Oo(t,e,n,i,r){var o=this;if(!this||!this.document||r&&r.expected||Kr(this.document),!_t().development){var s=!1;try{s=function(t){if(!t.document)return!1;for(var e=t.document.querySelectorAll("script[src]"),n=0;n<e.length;n++)if(!lo(e[n].src.toLowerCase()))return!0;return!1}(self)}catch(t){}if(!(s&&Math.random()<.99)){var a=function(t,e,n,i,r,o){t=function(t,e){return e&&(t=e.message?e.message:String(e)),t||(t="Unknown error"),t}(t,r);var s=!(!r||!r.expected);if(!/_reported_/.test(t)&&t!=Ao){var a=!(self&&self.window),u=Math.random();if(!((function(t){return-1!=t.indexOf(Dr)}(t)||"Script error."==t||a)&&(s=!0,u<.9999))){var c=Y(t);if(!(c&&u<.99)){var h=Object.create(null);h.v=_t().rtvVersion,h.noAmp=o?"1":"0",h.m=t.replace(W,""),h.a=c?"1":"0",h.ex=s?"1":"0",h.dw=a?"1":"0";var l,f,d="1p";if(self.context&&self.context.location?(d="3p",h["3p"]="1"):_t().runtime&&(d=_t().runtime),h.rt=d,h.cdn=At,"inabox"===d&&(h.adid=_t().a4aId),h.ca=null!==(f=self.AMP_CONFIG)&&void 0!==f&&f.canary?"1":"0",h.bt=(null===(l=self.AMP_CONFIG)||void 0===l?void 0:l.type)||"unknown",self.location.ancestorOrigins&&self.location.ancestorOrigins[0]&&(h.or=self.location.ancestorOrigins[0]),self.viewerState&&(h.vs=self.viewerState),self.parent&&self.parent!=self&&(h.iem="1"),self.AMP&&self.AMP.viewer){var p=self.AMP.viewer.getResolvedViewerUrl(),m=self.AMP.viewer.maybeGetMessagingOrigin();p&&(h.rvu=p),m&&(h.mso=m)}var v,g,y,b=[],w=self[_r]||null;for(var A in w){var E=w[A];b.push("".concat(A,"=").concat(E?"1":"0"))}return h.exps=b.join(","),r?(h.el=(null===(v=r.associatedElement)||void 0===v?void 0:v.tagName)||"u",r.args&&(h.args=JSON.stringify(r.args)),c||r.ignoreStack||!r.stack||(h.s=r.stack),r.message&&(r.message+=" _reported_")):(h.f=e||"",h.l=n||"",h.c=i||""),h.r=self.document?self.document.referrer:"",h.ae=So.join(","),h.fr=self.location.originalHash||self.location.hash,"production"===h.bt&&(h.pt="1"),y=t,(g=So).length>=25&&g.splice(0,g.length-25+1),g.push(y),h}}}}(t,e,n,i,r,s);a&&xo((function(){try{return function(t,e){return e.pt&&Math.random()<.9?u():function(t,e){var n=_n(t);if(!n.isSingleDoc())return Promise.resolve(!1);var i=n.getSingleDoc();if(!i.getRootNode().documentElement.hasAttribute("report-errors-to-viewer"))return Promise.resolve(!1);var r=Wn(i);return r.hasCapability("errorReporter")?r.isTrustedViewer().then((function(t){return!!t&&(r.sendMessage("error",{m:(n=e).m,a:n.a,s:n.s,el:n.el,ex:n.ex,v:n.v,pt:n.pt}),!0);var n})):Promise.resolve(!1)}(t,e).then((function(t){if(!t){var n=new XMLHttpRequest;n.open("POST",Math.random()<.1?xt:St,!0),n.send(JSON.stringify(e))}}))}(o,a).catch((function(){}))}catch(t){}}))}}}var _o="Resource",Co=function(){function t(t,e,n){e.__AMP__RESOURCE=this,this.Be=t,this.element=e,this.debugid=e.tagName.toLowerCase()+"#"+t,this.hostWin=e.ownerDocument.defaultView,this.qe=n,this.We=e.hasAttribute("placeholder"),this.$e=!1,this.Ye=void 0,this.Ke=e.isBuilt()?1:0,0==this.Ke&&e.isBuilding()&&this.build(),this.Xe=-1,this.Je=0,this.Qe=null,this.Ze=null,this.tu=!1,this.nu=Oe(-1e4,-1e4,0,0),this.iu=null,this.ru=!1,this.eu=null,this.uu=null,this.ou=void 0;var i=new c;this.su=i.promise,this.hu=i.resolve,this.au=!1}t.forElement=function(e){return Gt(t.forElementOptional(e))},t.forElementOptional=function(t){return t.__AMP__RESOURCE},t.setOwner=function(e,n){Gt(n.contains(e)),t.forElementOptional(e)&&t.forElementOptional(e).updateOwner(n),e.__AMP__OWNER=n;for(var i=e.getElementsByClassName("i-amphtml-element"),r=0;r<i.length;r++){var o=i[r];t.forElementOptional(o)&&t.forElementOptional(o).updateOwner(void 0)}};var e=t.prototype;return e.getId=function(){return this.Be},e.updateOwner=function(t){this.Ye=t},e.getOwner=function(){if(void 0===this.Ye){for(var t=this.element;t;t=t.parentElement)if(t.__AMP__OWNER){this.Ye=t.__AMP__OWNER;break}void 0===this.Ye&&(this.Ye=null)}return this.Ye},e.hasOwner=function(){return!!this.getOwner()},e.getLayoutPriority=function(){return-1!=this.Xe?this.Xe:this.element.getLayoutPriority()},e.updateLayoutPriority=function(t){this.Xe=t},e.getState=function(){return this.Ke},e.isBuilt=function(){return this.element.isBuilt()},e.isBuilding=function(){return this.$e},e.whenBuilt=function(){return this.element.signals().whenSignal("res-built")},e.build=function(){var t=this;return this.$e||!this.element.isUpgraded()?null:(this.$e=!0,this.element.buildInternal().then((function(){t.$e=!1,t.Ke=1,t.element.signals().signal("res-built")}),(function(e){throw t.maybeReportErrorOnBuildFailure(e),t.$e=!1,t.element.signals().rejectSignal("res-built",e),e})))},e.maybeReportErrorOnBuildFailure=function(t){To(t)||Wt().error(_o,"failed to build:",this.debugid,t)},e.changeSize=function(t,e,n){this.element.applySize(t,e,n),this.requestMeasure()},e.overflowCallback=function(t,e,n,i){t&&(this.ou={height:e,width:n,margins:i}),this.element.overflowCallback(t,e,n,i)},e.resetPendingChangeSize=function(){this.ou=void 0},e.getPendingChangeSize=function(){return this.ou},e.getUpgradeDelayMs=function(){return this.element.getUpgradeDelayMs()},e.measure=function(){if(!(this.We&&this.element.parentElement&&this.element.parentElement.tagName.startsWith("AMP-"))||"__AMP__RESOURCE"in this.element.parentElement)if(this.element.ownerDocument&&this.element.ownerDocument.defaultView){this.ru=!1;var t=this.nu;this.fu();var e,n,i=this.nu,r=(n=i,!((e=t).width==n.width&&e.height===n.height));(1==this.Ke||t.top!=i.top||r)&&this.element.isUpgraded()&&(1==this.Ke?this.Ke=2:4!=this.Ke&&5!=this.Ke||!this.element.isRelayoutNeeded()||(this.Ke=2)),this.hasBeenMeasured()||(this.iu=i),this.element.updateLayoutBox(i,r)}else this.Ke=1},e.ensureMeasured=function(){var t=this;return this.hasBeenMeasured()?u():Gn(this.hostWin).measure((function(){return t.measure()}))},e.fu=function(){var t=Kn(this.element);this.nu=t.getLayoutRect(this.element);var e=!1;if(t.supportsPositionFixed()&&this.isDisplayed())for(var n=this.qe.getAmpdoc().win,i=n.document.body,r=this.element;r&&r!=i;r=r.offsetParent){if(r.isAlwaysFixed&&r.isAlwaysFixed()){e=!0;break}if(t.isDeclaredFixed(r)&&"fixed"==Si(n,r).position){e=!0;break}}this.tu=e,e&&(this.nu=Ce(this.nu,-t.getScrollLeft(),-t.getScrollTop()))},e.completeCollapse=function(){wi(this.element,!1),this.nu=Oe(this.nu.left,this.nu.top,0,0),this.tu=!1,this.element.updateLayoutBox(this.getLayoutBox());var t=this.getOwner();t&&t.collapsedCallback(this.element)},e.completeExpand=function(){wi(this.element,!0),this.requestMeasure()},e.isMeasureRequested=function(){return this.ru},e.hasBeenMeasured=function(){return!!this.iu},e.requestMeasure=function(){this.ru=!0},e.getLayoutSize=function(){return e=(t=this.nu).height,{width:t.width,height:e};var t,e},e.getLayoutBox=function(){if(!this.tu)return this.nu;var t=Kn(this.element);return Ce(this.nu,t.getScrollLeft(),t.getScrollTop())},e.getInitialLayoutBox=function(){return this.iu||this.nu},e.isDisplayed=function(){if(!this.element.ownerDocument||!this.element.ownerDocument.defaultView)return!1;var t=this.element.getLayout()==Yi,e=this.getLayoutBox(),n=e.height>0&&e.width>0;return t||n},e.isFixed=function(){return this.tu},e.overlaps=function(t){return n=t,(e=this.getLayoutBox()).top<=n.bottom&&n.top<=e.bottom&&e.left<=n.right&&n.left<=e.right;var e,n},e.prerenderAllowed=function(){return this.element.prerenderAllowed()},e.previewAllowed=function(){return this.element.previewAllowed()},e.isBuildRenderBlocking=function(){return this.element.isBuildRenderBlocking()},e.whenWithinViewport=function(t){if(Gt(!1!==t),!this.isLayoutPending()||!0===t)return u();var e=t,n=String(e);return this.eu&&this.eu[n]?this.eu[n].promise:this.isWithinViewportRatio(e)?u():(this.eu=this.eu||{},this.eu[n]=new c,this.eu[n].promise)},e.cu=function(){if(this.eu){var t=this.getDistanceViewportRatio();for(var e in this.eu)this.isWithinViewportRatio(parseFloat(e),t)&&(this.eu[e].resolve(),delete this.eu[e])}},e.getDistanceViewportRatio=function(){var t=Kn(this.element).getRect(),e=this.getLayoutBox(),n=this.qe.getScrollDirection(),i=1,r=0;if(t.right<e.left||t.left>e.right)return{distance:!1};if(t.bottom<e.top)r=e.top-t.bottom,-1==n&&(i=2);else{if(!(t.top>e.bottom))return{distance:!0};r=t.top-e.bottom,1==n&&(i=2)}return{distance:r,scrollPenalty:i,viewportHeight:t.height}},e.isWithinViewportRatio=function(t,e){if("boolean"==typeof t)return t;var n=e||this.getDistanceViewportRatio(),i=n.distance,r=n.scrollPenalty,o=n.viewportHeight;return"boolean"==typeof i?i:i<o*t/r},e.renderOutsideViewport=function(){return this.cu(),this.hasOwner()||this.isWithinViewportRatio(this.element.renderOutsideViewport())},e.idleRenderOutsideViewport=function(){return this.isWithinViewportRatio(this.element.idleRenderOutsideViewport())},e.layoutScheduled=function(t){this.Ke=3,this.element.layoutScheduleTime=t},e.layoutCanceled=function(){this.Ke=this.hasBeenMeasured()?2:1},e.startLayout=function(){var t=this;if(this.uu)return this.uu;if(4==this.Ke)return u();if(5==this.Ke)return Promise.reject(this.Ze);if(Gt(0!=this.Ke),Gt(this.isDisplayed()),3!=this.Ke){var e=Wt().createExpectedError("startLayout called but not LAYOUT_SCHEDULED","currently: ",this.Ke);return Po(e,this.element),Promise.reject(e)}if(this.Je>0&&!this.element.isRelayoutNeeded())return Wt().fine(_o,"layout canceled since it wasn't requested:",this.debugid,this.Ke),this.Ke=4,u();Wt().fine(_o,"start layout:",this.debugid,"count:",this.Je),this.Je++,this.Ke=3,this.Qe=new AbortController;var n=this.Qe.signal,i=new Promise((function(e,i){Gn(t.hostWin).mutate((function(){var r;try{r=t.element.layoutCallback(n)}catch(t){i(t)}Promise.resolve(r).then(e,i)})),n.onabort=function(){return i(Ro())}})).then((function(){return t.lu(!0,n)}),(function(e){return t.lu(!1,n,e)}));return this.uu=i},e.lu=function(t,e,n){if(this.Qe=null,e.aborted){var i=Wt().createError("layoutComplete race");throw i.associatedElement=this.element,Wt().expectedError(_o,i),Ro()}if(this.hu&&(this.hu(),this.hu=null),this.uu=null,this.Ke=t?4:5,this.Ze=n,!t)return Wt().fine(_o,"loading failed:",this.debugid,n),Promise.reject(n);Wt().fine(_o,"layout complete:",this.debugid)},e.isLayoutPending=function(){return 4!=this.Ke&&5!=this.Ke},e.loadedOnce=function(){return this.element.R1()?this.element.whenLoaded():this.su},e.isInViewport=function(){return this.au&&this.cu(),this.au},e.setInViewport=function(t){this.au=t},e.unlayout=function(){0!=this.Ke&&1!=this.Ke&&2!=this.Ke&&(this.Qe&&(this.Qe.abort(),this.Qe=null),this.setInViewport(!1),this.element.unlayoutCallback()&&(this.element.togglePlaceholder(!0),this.Ke=1,this.Je=0,this.uu=null))},e.getTaskId=function(t){return this.debugid+"#"+t},e.pause=function(){this.element.pause()},e.pauseOnRemove=function(){this.element.pause()},e.resume=function(){this.element.resume()},e.unload=function(){this.element.unmount()},e.disconnect=function(){delete this.element.__AMP__RESOURCE,this.element.disconnect(!0)},t}(),Mo="ready-scan",Lo="scheduler",Io="250% 31.25%",ko=function(){function t(t){var e=this;this.vu=t;var n=t.win;this.du=new n.IntersectionObserver((function(t){return e.mu(t)}),{root:Se(n)?n.document:null,rootMargin:Io}),this.pu=new Map,this.gu=new Map,this.bu=[],this.yu=!1,t.whenReady().then((function(){return e.wu()})),this.Au=t.onVisibilityChanged((function(){return e.xu()}))}var e=t.prototype;return e.dispose=function(){this.du.disconnect(),this.gu.clear(),this.Au&&(this.Au(),this.Au=null)},e.scheduleAsap=function(t){this.gu.set(t,{asap:!0,isIntersecting:!1}),this.Eu(t)},e.schedule=function(t){this.gu.has(t)||(t.deferredMount()?(this.gu.set(t,{asap:!1,isIntersecting:!1}),this.du.observe(t),this.pu.size>0&&this.pu.forEach((function(e,n){Pe(n,t)&&e.observe(t)}))):this.gu.set(t,{asap:!1,isIntersecting:!0}),this.Eu(t))},e.unschedule=function(t){this.gu.has(t)&&(this.gu.delete(t),this.du.unobserve(t),this.pu.size>0&&this.pu.forEach((function(e){e.unobserve(t)})),this.bu&&(F(this.bu,t),this.wu()))},e.setContainer=function(t,e){var n=this;if(!this.pu.has(t)){var i=new this.vu.win.IntersectionObserver((function(t){return n.mu(t)}),{root:e||t,rootMargin:Io});this.pu.set(t,i),this.gu.forEach((function(e,n){!e.asap&&Pe(t,n)&&i.observe(n)}))}},e.removeContainer=function(t){var e=this.pu.get(t);e&&(e.disconnect(),this.pu.delete(t))},e.Pu=function(){var t=this;this.vu.isReady()&&!this.yu&&(this.yu=!0,this.vu.win.setTimeout((function(){t.vu.signals().signal(Mo)}),50))},e.xu=function(){var t=this,e=this.vu.getVisibilityState();e!=Xn&&e!=Qn&&e!=Yn&&e!=Jn||this.gu.forEach((function(e,n){return t.Tu(n)}))},e.Eu=function(t){var e=this.bu;e?(e.includes(t)||e.push(t),this.wu()):this.Tu(t)},e.wu=function(){var t=this.vu.isReady(),e=this.bu;if(e)for(var n=0;n<e.length;n++){var i=e[n];(t||Ae(i,this.vu.getRootNode()))&&(e.splice(n--,1),this.Tu(i))}t&&(this.bu=null,this.Pu())},e.mu=function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n.isIntersecting,r=n.target,o=this.gu.get(r);if(o){var s=i||o.isIntersecting;s!==o.isIntersecting&&this.gu.set(r,{asap:o.asap,isIntersecting:s}),s&&this.Tu(r)}}},e.Tu=function(t){var e=this.bu,n=!(e&&e.includes(t)),i=this.gu.get(t)||{asap:!1,isIntersecting:!1},r=i.asap,o=i.isIntersecting,s=this.vu.getVisibilityState();if(n&&(r||o)&&(s==Xn||s==Qn||s==Yn&&t.prerenderAllowed()||s==Jn&&t.previewAllowed())){this.unschedule(t);var a=this.vu.win;(r||t.getBuildPriority()<=0?a.setTimeout:a.requestIdleCallback||a.setTimeout)((function(){return t.mountInternal()}))}},t}();function Do(t){return tn(t,Lo,ko),rn(t,Lo)}var No=function(){function t(){this.Ou=[]}var n=t.prototype;return n.peek=function(){var t=this.length;return t?this.Ou[t-1].item:null},n.enqueue=function(t,e){if(isNaN(e))throw new Error("Priority must not be NaN.");var n=this.Iu(e);this.Ou.splice(n,0,{item:t,priority:e})},n.Iu=function(t){for(var e=-1,n=0,i=this.length;n<=i&&(e=Math.floor((n+i)/2))!==this.length;)if(this.Ou[e].priority<t)n=e+1;else{if(!(e>0&&this.Ou[e-1].priority>=t))break;i=e-1}return e},n.forEach=function(t){for(var e=this.length;e--;)t(this.Ou[e].item)},n.dequeue=function(){var t=this.Ou.pop();return t?t.item:null},e(t,[{key:"length",get:function(){return this.Ou.length}}]),t}(),Bo="CHUNK",Uo=/nochunking=1/.test(self.location.hash),jo=!1,Vo=u();function Fo(t,e,n){if(Uo)Vo.then(e);else{var i,r=(tn(i=t.documentElement||t,"chunk",Wo),rn(i,"chunk"));r.runForStartup(e),n&&r.runForStartup((function(){r.Ru=!0}))}}var qo="not_run",Ho=function(){function t(t){this.state=qo,this.Su=t}var e=t.prototype;return e._u=function(t){if("run"!=this.state){this.state="run";try{this.Su(t)}catch(t){throw this.Mu(t),t}}},e.ku=function(){return this.Su.displayName||this.Su.name},e.Mu=function(t){},e.Cu=function(){return!1},e.Nu=function(){return!1},t}(),zo=function(t){D(n,t);var e=B(n);function n(t,n,i){var r;return(r=e.call(this,t)).ju=i,r}var i=n.prototype;return i.Mu=function(t){Kr(self.document)},i.Cu=function(){return this.Du()},i.Nu=function(){return this.ju.Lu},i.Du=function(){return this.ju.ampdoc.isVisible()},n}(Ho),Wo=function(){function t(t){var e,n=this;this.ampdoc=t,this.t=t.win,this.Uu=new No,this.zu=this.Hu.bind(this),this.Gu=0,this.Vu=!(!this.t.navigator.scheduling||!this.t.navigator.scheduling.isInputPending),this.Fu=!1,this.Ru=this.t.document.documentElement.hasAttribute("i-amphtml-no-boilerplate"),this.t.addEventListener("message",(function(t){"amp-macro-task"==Ur(t)&&n.Hu(null)})),this.Lu=!1,(e=t,sn(e,"viewer")).then((function(){n.Lu=!0})),t.onVisibilityChanged((function(){t.isVisible()&&n.Bu()}))}var e=t.prototype;return e.run=function(t,e){var n=new Ho(t);this.qu(n,e)},e.runForStartup=function(t){var e=new zo(t,this.t,this);this.qu(e,Number.POSITIVE_INFINITY)},e.qu=function(t,e){this.Uu.enqueue(t,e),this.Bu()},e.Wu=function(t){for(var e=this.Uu.peek();e&&e.state!==qo;)this.Uu.dequeue(),e=this.Uu.peek();return e&&t&&this.Uu.dequeue(),e},e.Hu=function(t){var e,n=this,i=this.Wu(!0);if(!i)return this.Fu=!1,this.Gu=0,!1;try{e=Date.now(),i._u(t)}finally{Vo.then().then().then().then().then().then().then().then().then((function(){n.Fu=!1,n.Gu+=Date.now()-e,Wt().fine(Bo,i.ku(),"Chunk duration",Date.now()-e,n.Gu),n.Bu()}))}return!0},e.$u=function(t){var e=this;if(!jo&&this.Ru&&(this.Vu?this.t.navigator.scheduling.isInputPending():this.Gu>5))return this.Gu=0,void this.Yu();Vo.then((function(){e.zu(t)}))},e.Bu=function(){if(!this.Fu){var t=this.Wu();if(t)return t.Cu()?(this.Fu=!0,void this.$u(null)):void(t.Nu()&&this.t.requestIdleCallback?function(t,e,n,i){var r=Date.now();t.requestIdleCallback((function e(o){if(o.timeRemaining()<15){var s=n-(Date.now()-r);s<=0||o.didTimeout?(Wt().fine(Bo,"Timed out",n,o.didTimeout),i(o)):(Wt().fine(Bo,"Rescheduling with",s,o.timeRemaining()),t.requestIdleCallback(e,{timeout:s}))}else Wt().fine(Bo,"Running idle callback with ",15),i(o)}),{timeout:n})}(this.t,0,2e3,this.zu):this.Yu())}},e.Yu=function(){this.t.postMessage("amp-macro-task","*")},t}(),Go="activate",Ko=function(){function t(t){this.element=t,this.win=$t(t),this.actionMap_=null,this.defaultActionAlias_=null}t.R1=function(){return!1},t.deferredMount=function(t){return!0},t.prerenderAllowed=function(t){return!1},t.previewAllowed=function(t){return this.prerenderAllowed(t)},t.usesLoading=function(t){return!1},t.createLoaderLogoCallback=function(t){return{}},t.getBuildPriority=function(t){return 0},t.getPreconnects=function(t){return null},t.requiresShadowDom=function(){return!1};var e=t.prototype;return e.signals=function(){return this.element.signals()},e.getDefaultActionAlias=function(){return this.defaultActionAlias_},e.getLayoutPriority=function(){return 0},e.updateLayoutPriority=function(t){this.element.getResources().updateLayoutPriority(this.element,t)},e.getLayout=function(){return this.element.getLayout()},e.getLayoutBox=function(){return this.element.getLayoutBox()},e.getLayoutSize=function(){return this.element.getLayoutSize()},e.getAmpDoc=function(){return this.element.getAmpDoc()},e.getVsync=function(){return Gn(this.win)},e.getConsentPolicy=function(){var t=null;return this.element.hasAttribute("data-block-on-consent")&&(t=this.element.getAttribute("data-block-on-consent")||"default"),t},e.isLayoutSupported=function(t){return t==Fi},e.isAlwaysFixed=function(){return!1},e.upgradeCallback=function(){return null},e.buildCallback=function(){},e.preconnectCallback=function(t){},e.attachedCallback=function(){},e.detachedCallback=function(){},e.setAsContainer=function(t){this.element.setAsContainerInternal(t)},e.removeAsContainer=function(){this.element.removeAsContainerInternal()},e.isBuildRenderBlocking=function(){return!1},e.createPlaceholderCallback=function(){return null},e.renderOutsideViewport=function(){return"inabox"==_t(this.win).runtime||3},e.idleRenderOutsideViewport=function(){return!1},e.ensureLoaded=function(){},e.setReadyState=function(t,e){this.element.setReadyStateInternal(t,e)},e.mountCallback=function(t){},e.unmountCallback=function(){},e.isRelayoutNeeded=function(){return!1},e.layoutCallback=function(){return u()},e.firstLayoutCompleted=function(){this.togglePlaceholder(!1)},e.pauseCallback=function(){},e.resumeCallback=function(){},e.unlayoutCallback=function(){return!1},e.unlayoutOnPause=function(){return!1},e.reconstructWhenReparented=function(){return!0},e.loadPromise=function(t){return Vr(t)},e.registerAction=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;Yo(this),this.actionMap_[t]={handler:e,minTrust:n}},e.registerDefaultAction=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Go,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;Gt(!this.defaultActionAlias_),this.registerAction(e,t,n),this.defaultActionAlias_=e},e.executeAction=function(t,e){var n=t.method;n===Go&&(n=this.defaultActionAlias_||n),Yo(this);var i=this.actionMap_[n],r=this.element.tagName;Kt(i,"Method not found: ".concat(n," in ").concat(r));var o=i.handler,s=i.minTrust;if(t.satisfiesTrust(s))return o(t)},e.forwardEvents=function(t,e){var n=this,i=(j(t)?t:[t]).map((function(t){return Br(e,t,(function(e){xe(n.element,t,Ur(e)||{})}))}));return function(){return i.forEach((function(t){return t()}))}},e.getPlaceholder=function(){return this.element.getPlaceholder()},e.togglePlaceholder=function(t){this.element.togglePlaceholder(t)},e.getFallback=function(){return this.element.getFallback()},e.toggleFallback=function(t){this.element.toggleFallback(t)},e.toggleLoading=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.element.toggleLoading(t,e)},e.getOverflowElement=function(){return this.element.getOverflowElement()},e.renderStarted=function(){this.element.renderStarted()},e.getViewport=function(){return Kn(this.getAmpDoc())},e.getIntersectionElementLayoutBox=function(){return this.getLayoutBox()},e.collapse=function(){Nn(this.getAmpDoc()).collapseElement(this.element)},e.attemptCollapse=function(){return Nn(this.getAmpDoc()).attemptCollapse(this.element)},e.forceChangeHeight=function(t){Nn(this.getAmpDoc()).forceChangeSize(this.element,t,void 0)},e.attemptChangeHeight=function(t){return Nn(this.getAmpDoc()).requestChangeSize(this.element,t,void 0)},e.attemptChangeSize=function(t,e,n){return Nn(this.getAmpDoc()).requestChangeSize(this.element,t,e,void 0,n)},e.measureElement=function(t){return Nn(this.getAmpDoc()).measureElement(t)},e.mutateElement=function(t,e){return this.measureMutateElement(null,t,e)},e.measureMutateElement=function(t,e,n){return Nn(this.getAmpDoc()).measureMutateElement(n||this.element,t,e)},e.mutateElementSkipRemeasure=function(t){return Nn(this.getAmpDoc()).mutateElement(this.element,t,!0)},e.collapsedCallback=function(t){},e.expand=function(){Nn(this.getAmpDoc()).expandElement(this.element)},e.mutatedAttributesCallback=function(t){},e.onLayoutMeasure=function(){},e.user=function(){return Ht(this.element)},e.getApi=function(){return this},t}();function Yo(t){t.actionMap_||(t.actionMap_=t.win.Object.create(null))}var Jo=function(t){D(n,t);var e=B(n);function n(){return e.apply(this,arguments)}return n}(Ko),Xo="amp-",Qo="send-positions",$o="position";function Zo(t){try{return!!t.location.href&&(t.test||!0)}catch(t){return!1}}var ts,es=Date.now(),ns={bubbles:!1},is=function(){return!0},rs=[],os=new Set;function ss(t){return"placeholder"in t}function as(t){Gt(!t.Ku)}var us=new WeakMap;function cs(t){return t.__AMP_EXTENDED_ELEMENTS||(t.__AMP_EXTENDED_ELEMENTS={}),t.__AMP_EXTENDED_ELEMENTS}function hs(t,e,n){var i=cs(t);if(i[e]){if(i[e]!=n){Kt(i[e]==Jo,"%s is already registered. The script tag for %s is likely included twice in the page.",e,e),i[e]=n;for(var r=0;r<rs.length;r++){var o=rs[r];o.tagName.toLowerCase()==e&&o.ownerDocument.defaultView==t&&(ls(o,n),rs.splice(r--,1))}}}else ms(t,e,n)}function ls(t,e){try{t.upgrade(e)}catch(e){Po(e,t)}}function fs(t){(function(t){if(!t)return[];for(var e=t.querySelectorAll("script[custom-element],script[custom-template]"),n=[],i=0;i<e.length;i++){var r=e[i],o=r.getAttribute("custom-element")||r.getAttribute("custom-template"),s=Je(r.src);o&&s&&n.push({script:r,extensionId:o,extensionVersion:s.extensionVersion})}return n})(t.getHeadNode()).forEach((function(e){var n=e.extensionId,i=e.extensionVersion,r=e.script;t.declareExtension(n,i),r.addEventListener("error",(function(){return function(t){os.add(t||"*");for(var e,n=a(rs,!0);!(e=n()).done;){var i=e.value;null!=t&&i.tagName.toLowerCase()!==t||i.markUnresolved()}}(n)})),ds(t.win,n)})),t.isBodyAvailable()&&t.setExtensionsKnown()}function ds(t,e){cs(t)[e]||ms(t,e,Jo)}function ps(t,e,n){ms(e,n,cs(t)[n]||Jo)}function ms(t,n,i){cs(t)[n]=i;var r=function(t,n){var i=function(t,n){if(t.__AMP_BASE_CE_CLASS)return t.__AMP_BASE_CE_CLASS;var i=function(i){D(o,i);var r=B(o);function o(){var t;return(t=r.call(this)).createdCallback(),t}var s=o.prototype;return s.createdCallback=function(){this.Xu=!1,this.Ju=!1,this.Qu=null,this.Zu=!1,this.no=null,this.io=null,this.ro="upgrading",this.everAttached=!1,this.vu=null,this.qe=null,this.eo=Fi,this.Je=0,this.uo=!1,this.warnOnMissingOverflow=!0,this.sizerElement=void 0,this.oo=void 0,this.layoutScheduleTime=void 0;var e=this,n=t.__AMP_EXTENDED_ELEMENTS&&t.__AMP_EXTENDED_ELEMENTS[this.localName];this.so=n===Jo?null:n||null,this.so||rs.push(this),this.ho=null,this.ao=1,this.fo=0,this.co=void 0,this.Ku=void 0,this.Te=new ei,this.so&&this.Te.signal(cr);var i=nn(t,"performance");this.lo=i&&i.isPerformanceTrackingOn(),this.vo=null,e.__AMP_UPG_RES&&(e.__AMP_UPG_RES(e),delete e.__AMP_UPG_RES,delete e.__AMP_UPG_PRM)},s.signals=function(){return this.Te},s.getAmpDoc=function(){return Gt(this.vu),this.vu},s.getResources=function(){return Gt(this.qe),this.qe},s.isUpgraded=function(){return 2==this.ao},s.whenUpgraded=function(){return this.Te.whenSignal(hr)},s.upgrade=function(t){this.Ku||1==this.ao&&(this.so=t,this.Te.signal(cr),this.everAttached&&this.do())},s.markUnresolved=function(){this.so||this.classList.add("amp-unresolved","i-amphtml-unresolved")},s.getUpgradeDelayMs=function(){return this.fo},s.mo=function(e,n){this.ho=e,this.fo=t.Date.now()-n,this.ao=2,this.setReadyStateInternal(ni),this.classList.remove("amp-unresolved","i-amphtml-unresolved"),this.po(),this.dispatchCustomEventForTesting(sr),this.R1()||this.getResources().upgraded(this),this.Te.signal(hr)},s.po=function(){this.eo!=Fi&&this.ho&&!this.ho.isLayoutSupported(this.eo)&&(Kt(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."),Kt(!1,"Layout not supported: ".concat(this.eo)))},s.getBuildPriority=function(){return this.so?this.so.getBuildPriority(this):3},s.getLayoutPriority=function(){return this.ho?this.ho.getLayoutPriority():3},s.getDefaultActionAlias=function(){return Gt(this.isUpgraded()),this.ho.getDefaultActionAlias()},s.isBuilding=function(){return!!this.Qu},s.isBuilt=function(){return this.Xu},s.whenBuilt=function(){return this.Te.whenSignal(lr)},s.buildInternal=function(){var t=this;if(as(this),Gt(this.so),this.Qu)return this.Qu;this.setReadyStateInternal(ni);var e=this.bo();this.yo();var n=e.then((function(){var e,n=t.wo(),i=n?null:t.Ao();if(n||i)return(e=t,En(e,"consentPolicyManager","amp-consent")).then((function(t){return!t||(n?t.whenPolicyUnblock(n):t.whenPurposesUnblock(i))})).then((function(t){if(!t)throw new Error(Eo)}))})).then((function(){return Gt(t.ho).buildCallback()}));return this.Qu=n.then((function(){if(t.Xu=!0,t.classList.add("i-amphtml-built"),t.classList.remove("i-amphtml-notbuilt","amp-notbuilt"),t.Te.signal(lr),t.R1()?t.setReadyStateInternal(t.ro!=ni?t.ro:ii):(t.setReadyStateInternal(ri),t.preconnect(!1)),t.Ju&&t.an(),t.co&&Fn($t(t)).delay(t.xo.bind(t),1),!t.getPlaceholder()){var e=t.createPlaceholder();e&&t.appendChild(e)}}),(function(e){throw t.Te.rejectSignal(lr,e),t.R1()&&t.setReadyStateInternal(si,e),To(e)||Po(e,t),e}))},s.build=function(){var t=this;return this.Qu?this.Qu:this.Te.whenSignal(cr).then((function(){return t.R1()&&Do(t.getAmpDoc()).scheduleAsap(t),t.whenBuilt()}))},s.mountInternal=function(){var t=this;if(this.no)return this.no;this.io=this.io||new AbortController;var e=this.io.signal;return this.no=this.buildInternal().then((function(){if(Gt(t.R1()),!e.aborted){t.setReadyStateInternal(t.ro!=ii?t.ro:t.so.usesLoading(t)?ri:ii),t.Zu=!0;var n=t.ho.mountCallback(e);return!!n&&n.then(is)}})).then((function(n){if(t.io=null,e.aborted)throw Ro();t.Te.signal(fr),t.so.usesLoading(t)&&!n||t.setReadyStateInternal(oi)})).catch((function(e){var n;throw t.io=null,(n=e)&&("string"==typeof n?n.startsWith(Ao):"string"==typeof n.message&&n.message.startsWith(Ao))?t.no=null:(t.Te.rejectSignal(fr,e),t.setReadyStateInternal(si,e)),e}))},s.mount=function(){var t=this;if(this.no)return this.no;this.io=this.io||new AbortController;var e=this.io.signal;return this.Te.whenSignal(cr).then((function(){if(!t.R1())return t.whenBuilt();if(e.aborted)throw Ro();return Do(t.getAmpDoc()).scheduleAsap(t),t.whenMounted()}))},s.unmount=function(){this.Ju&&this.pause(),this.R1()?(this.io&&(this.io.abort(),this.io=null),Do(this.getAmpDoc()).unschedule(this),this.Zu&&this.ho.unmountCallback(),this.Zu=!1,this.no=null,this.Eo(),this.Ju&&this.do(!0)):this.Po()},s.whenMounted=function(){return this.Te.whenSignal(fr)},s.whenLoaded=function(){return this.Te.whenSignal(mr)},s.ensureLoaded=function(t){var e=this;return this.mount().then((function(){if(e.R1())return e.so.usesLoading(e)&&e.ho.ensureLoaded(),e.whenLoaded();var n=e.To();return n.whenBuilt().then((function(){if(4!=n.getState()&&((3!=n.getState()||n.isMeasureRequested())&&n.measure(),n.isDisplayed()))return e.getResources().scheduleLayoutOrPreload(n,!0,t,!0),e.whenLoaded()}))}))},s.setAsContainerInternal=function(t){Do(this.getAmpDoc()).setContainer(this,t)},s.removeAsContainerInternal=function(){Do(this.getAmpDoc()).removeContainer(this)},s.setReadyStateInternal=function(t,e){if(t!==this.ro&&(this.ro=t,this.R1()))switch(t){case ri:return this.Te.signal(dr),this.Te.reset(vr),this.Te.reset(mr),this.classList.add("i-amphtml-layout"),this.toggleLoading(!0),void this.dispatchCustomEventForTesting(ar);case oi:return this.Te.signal(dr),this.Te.signal(mr),this.Te.reset(vr),this.classList.add("i-amphtml-layout"),this.toggleLoading(!1),xe(this,"load",null,ns),void this.dispatchCustomEventForTesting(ur);case si:return this.Te.rejectSignal(mr,e),this.toggleLoading(!1),void xe(this,"error",e,ns)}},s.preconnect=function(t){var e=this;Gt(this.isUpgraded()),t?this.ho.preconnectCallback(t):Fo(this.getAmpDoc(),(function(){e.ownerDocument&&e.ownerDocument.defaultView&&e.ho.preconnectCallback(t)}))},s.R1=function(){return!!this.so&&this.so.R1()},s.deferredMount=function(){return!!this.so&&this.so.deferredMount(this)},s.isAlwaysFixed=function(){return!!this.ho&&this.ho.isAlwaysFixed()},s.updateLayoutBox=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.isBuilt()&&this.onMeasure(e)},s.onMeasure=function(){Gt(this.isBuilt());try{this.ho.onLayoutMeasure()}catch(t){Po(t,this)}},s.yo=function(){var t;return void 0!==this.sizerElement||this.eo!==zi&&this.eo!==Ji||(this.sizerElement=this.querySelector("i-amphtml-sizer"),null===(t=this.sizerElement)||void 0===t||t.setAttribute("slot","i-amphtml-svc")),this.sizerElement||null},s.Oo=function(t){if(this.eo!==zi)if(this.eo!==Ji);else{var e=t.querySelector(".i-amphtml-intrinsic-sizer");if(!e)return;e.setAttribute("src","")}else yi(t,"paddingTop","0")},s.Io=function(){var t=this,e=this.hasAttribute("media")||this.hasAttribute("sizes")&&!this.hasAttribute("disable-inline-width")||this.hasAttribute("heights"),n=!!this.vo,i=this.ownerDocument.defaultView;e!=n&&i&&(e?(this.vo=new gr(i,(function(){return t.Ro()})),this.Ro()):this.So())},s.So=function(){this.vo&&(this.vo.dispose(),this.vo=null)},s.Ro=function(){var t=this.vo;if(t){t.start();var e=this.getAttribute("media")||null,n=!e||t.resolveMatchQuery(e);this.classList.toggle("i-amphtml-hidden-by-media-query",!n);var i=this.hasAttribute("disable-inline-width")?null:this.getAttribute("sizes");i&&yi(this,"width",t.resolveListQuery(i));var r=this.eo===zi?this.getAttribute("heights"):null;if(r){var o=this.yo();o&&yi(o,"paddingTop",t.resolveListQuery(r))}t.complete(),this.To().requestMeasure()}},s.applySize=function(t,e,n){var i=this.yo();i&&(this.sizerElement=null,this.Oo(i),this._o((function(){i&&ge(i)}))),void 0!==t&&yi(this,"height",t,"px"),void 0!==e&&yi(this,"width",e,"px"),n&&(null!=n.top&&yi(this,"marginTop",n.top,"px"),null!=n.right&&yi(this,"marginRight",n.right,"px"),null!=n.bottom&&yi(this,"marginBottom",n.bottom,"px"),null!=n.left&&yi(this,"marginLeft",n.left,"px")),this.Mo()&&this.ko(),xe(this,"amp:size-changed")},s.connectedCallback=function(){if(function(){if(void 0===ts){var t=self.document.createElement("template");ts="content"in t}return ts}()||void 0!==this.Ku||(this.Ku=!!ce(this,"template")),!this.Ku&&!this.Ju&&be(this)){if(this.Ju=!0,this.everAttached||this.classList.add("i-amphtml-element","i-amphtml-notbuilt","amp-notbuilt"),!this.vu){var t=$t(this),e=_n(t).getAmpDoc(this);this.vu=e,n(e,this,this.so)}if(this.qe||(this.qe=Vn(this.vu)),this.getResources().add(this),this.everAttached){var i=this.reconstructWhenReparented();i&&this.Eo(),this.isUpgraded()&&(i&&!this.R1()&&this.getResources().upgraded(this),this.an(),this.dispatchCustomEventForTesting(sr)),this.so&&this.R1()&&this.do()}else{this.everAttached=!0;try{this.eo=function(t){var e=t.getAttribute("i-amphtml-layout");if(e){var n,i=Qi(e);return Q(i),i!=zi&&i!=Ji||!t.firstElementChild?i==Fi&&wi(t,!1):(t.sizerElement=t.querySelector("i-amphtml-sizer")||void 0,null===(n=t.sizerElement)||void 0===n||n.setAttribute("slot","i-amphtml-svc")),i}var r=Pr(t),o=r.height,s=r.layout,a=r.width;if(t.classList.add($i(s)),Zi(s)&&t.classList.add("i-amphtml-layout-size-defined"),s==Fi)wi(t,!1);else if(s==qi)bi(t,{width:Z(a),height:Z(o)});else if(s==Hi)yi(t,"height",Z(o));else if(s==zi){var u=t.ownerDocument.createElement("i-amphtml-sizer");u.setAttribute("slot","i-amphtml-svc");var c=nr(o),h=nr(a);tt(c),tt(h),bi(u,{paddingTop:c/h*100+"%"}),t.insertBefore(u,t.firstChild),t.sizerElement=u}else if(s==Ji){var l=Ar(t)(Sr),f=l.firstElementChild;$(f),f.setAttribute("src",'data:image/svg+xml;charset=utf-8,<svg height="'.concat(o,'" width="').concat(a,'" xmlns="http://www.w3.org/2000/svg" version="1.1"/>')),t.insertBefore(l,t.firstChild),t.sizerElement=l}else s==Gi||s==Wi||(s==Ki?(a&&yi(t,"width",a),o&&yi(t,"height",o)):s==Yi&&(t.classList.add("i-amphtml-layout-awaiting-size"),a&&yi(t,"width",a),yi(t,"height",0)));return t.setAttribute("i-amphtml-layout",s),s}(this),this.Io()}catch(t){Po(t,this)}this.so?this.do():(os.has("*")||os.has(this.tagName.toLowerCase()))&&this.markUnresolved(),this.isUpgraded()||this.dispatchCustomEventForTesting("amp:stubbed")}this.toggleLoading(!0)}},s.Mo=function(){return this.classList.contains("i-amphtml-layout-awaiting-size")},s.ko=function(){this.classList.remove("i-amphtml-layout-awaiting-size")},s.do=function(t){if(this.R1()){if(!this.no)if(Do(this.getAmpDoc()).schedule(this),this.classList.remove("amp-unresolved","i-amphtml-unresolved"),this.Qu)this.setReadyStateInternal(this.so&&this.so.usesLoading(this)?ri:ii);else if(this.setReadyStateInternal(ni),!t){var e=this.so.getPreconnects(this);if(e&&e.length>0){var n=this.getAmpDoc();Fo(n,(function(){var t=n.win;if(t){var i=jn(t);e.forEach((function(t){return i.url(n,t,!1)}))}}))}}}else this.Co()},s.Co=function(){var e=this;if(!this.Ku&&1==this.ao){var n=new(Gt(this.so))(this);this.ao=4;var i=t.Date.now(),r=n.upgradeCallback();if(r){if("function"==typeof r.then)return r.then((function(t){e.mo(t||n,i)})).catch((function(t){e.ao=3,d(t)}));this.mo(r,i)}else this.mo(n,i)}},s.disconnectedCallback=function(){this.disconnect(!1)},s.an=function(){this.Xu&&this.ho.attachedCallback()},s.disconnect=function(t){!this.Ku&&this.Ju&&(!t&&be(this)||(t&&this.classList.remove("i-amphtml-element"),this.Ju=!1,this.getResources().remove(this),this.ho&&this.ho.detachedCallback(),this.R1()&&this.unmount(),this.toggleLoading(!1),this.So()))},s.dispatchCustomEventForTesting=function(t,e){},s.prerenderAllowed=function(){return!this.hasAttribute("noprerender")&&!!this.so&&this.so.prerenderAllowed(this)},s.previewAllowed=function(){return!!this.so&&this.so.previewAllowed(this)},s.isBuildRenderBlocking=function(){return!!this.ho&&this.ho.isBuildRenderBlocking()},s.createPlaceholder=function(){return this.ho?this.ho.createPlaceholderCallback():null},s.createLoaderLogo=function(){return this.so?this.so.createLoaderLogoCallback(this):{}},s.renderOutsideViewport=function(){return!!this.ho&&this.ho.renderOutsideViewport()},s.idleRenderOutsideViewport=function(){return!!this.ho&&this.ho.idleRenderOutsideViewport()},s.getLayoutBox=function(){return this.To().getLayoutBox()},s.getLayoutSize=function(){return this.To().getLayoutSize()},s.getOwner=function(){return this.To().getOwner()},s.getIntersectionChangeEntry=function(){var t=this.ho?this.ho.getIntersectionElementLayoutBox():this.getLayoutBox(),e=this.getOwner(),n=Kn(this.getAmpDoc()).getRect();return function(t,e,n){var i,r,o,s,a=function(t){for(var e=-1/0,n=1/0,i=-1/0,r=1/0,o=0;o<arguments.length;o++){var s=arguments[o];if(s&&(e=Math.max(e,s.left),n=Math.min(n,s.left+s.width),i=Math.max(i,s.top),r=Math.min(r,s.top+s.height),n<e||r<i))return null}return n==1/0?null:Oe(e,i,n-e,r-i)}(t,e,n)||Oe(0,0,0,0);return function(t,e,n,i){var r=t,o=e;return e&&(n=Ce(n,-e.left,-e.top),r=Ce(r,-e.left,-e.top),o=Ce(o,-e.left,-e.top)),{time:"undefined"!=typeof performance&&performance.now?performance.now():Date.now()-es,rootBounds:o,boundingClientRect:r,intersectionRect:n,intersectionRatio:i}}(t,n,a,(r=t,o=(i=a).width*i.height,0==(s=r.width*r.height)?0:o/s))}(t,e&&e.getLayoutBox(),n)},s.To=function(){return this.getResources().getResourceForElement(this)},s.getResourceId=function(){return this.To().getId()},s.isRelayoutNeeded=function(){return!!this.ho&&this.ho.isRelayoutNeeded()},s.getImpl=function(){var t=this;return(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.bo():this.build()).then((function(){return t.ho}))},s.bo=function(){var t=this;return this.Te.whenSignal(cr).then((function(){return t.Co(),t.whenUpgraded()}))},s.getApi=function(){return this.getImpl().then((function(t){return t.getApi()}))},s.getLayout=function(){return this.eo},s.layoutCallback=function(t){var e=this;if(as(this),Gt(this.isBuilt()),t.aborted)return Promise.reject(Ro());this.dispatchCustomEventForTesting(ar);var n=0==this.Je;this.Te.reset(vr),n&&this.Te.signal(dr),this.toggleLoading(!0);var i=h((function(){return e.ho.layoutCallback()}));return this.preconnect(!0),this.classList.add("i-amphtml-layout"),i.then((function(){if(t.aborted)throw Ro();n&&e.Te.signal(mr),e.setReadyStateInternal(oi),e.Je++,e.toggleLoading(!1),e.uo||(e.ho.firstLayoutCompleted(),e.uo=!0,e.dispatchCustomEventForTesting(ur))}),(function(i){if(t.aborted)throw Ro();throw n&&e.Te.rejectSignal(mr,i),e.setReadyStateInternal(si,i),e.Je++,e.toggleLoading(!1),i}))},s.pause=function(){this.isBuilt()&&(this.ho.pauseCallback(),!this.R1()&&this.ho.unlayoutOnPause()&&this.Po())},s.resume=function(){this.isBuilt()&&this.ho.resumeCallback()},s.unlayoutCallback=function(){if(as(this),!this.isBuilt())return!1;this.Te.signal(vr);var t=this.ho.unlayoutCallback();return t&&this.Eo(),this.dispatchCustomEventForTesting("amp:unload"),t},s.Po=function(){this.To().unlayout(),this.Ju&&this.qe&&this.qe.schedulePass()},s.Eo=function(){this.Je=0,this.uo=!1,this.Te.reset(fr),this.Te.reset(pr),this.Te.reset(dr),this.Te.reset(mr),this.Te.reset("ini-load")},s.reconstructWhenReparented=function(){return!!this.ho&&this.ho.reconstructWhenReparented()},s.collapse=function(){this.ho&&this.ho.collapse()},s.collapsedCallback=function(t){this.ho&&this.ho.collapsedCallback(t)},s.expand=function(){this.ho&&this.ho.expand()},s.mutatedAttributesCallback=function(t){this.ho?this.ho.mutatedAttributesCallback(t):this.R1()&&Do(this).scheduleAsap(this)},s.enqueAction=function(t){as(this),this.isBuilt()?this.No(t,!1):(void 0===this.co&&(this.co=[]),Gt(this.co).push(t),this.build())},s.xo=function(){var t=this;if(this.co){var e=Gt(this.co);this.co=null,e.forEach((function(e){t.No(e,!0)}))}},s.No=function(t,e){try{this.ho.executeAction(t,e)}catch(e){d("Action execution failed:",e,t.node.tagName,t.method)}},s.wo=function(){var t,e,n=this.getAttribute("data-block-on-consent");if(null===n){if(!(e=(t=this).getAmpDoc().getMetaByName("amp-consent-blocking"))||!(e=e.toUpperCase().replace(/\s+/g,"")).split(",").includes(t.tagName))return null;n="default",this.setAttribute("data-block-on-consent",n)}return""==n||"default"==n?Gt(this.ho).getConsentPolicy():n},s.Ao=function(){var t,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(",")},s.getPlaceholder=function(){return he(this,(function(t){return t.hasAttribute("placeholder")&&!ss(t)}))},s.togglePlaceholder=function(t){if(as(this),t){var e=this.getPlaceholder();e&&e.classList.remove("amp-hidden")}else for(var n=(oe("placeholder"),r=this,o="> [".concat("placeholder","]"),ne(r)?r.querySelectorAll(ie(o,":scope")):se(r,o)),i=0;i<n.length;i++)ss(n[i])||n[i].classList.add("amp-hidden");var r,o},s.getFallback=function(){return le(this,"fallback")},s.toggleFallback=function(t){as(this);var e,n=this.To().getState();if((this.R1()||!t||0!=n&&1!=n&&2!=n)&&(this.classList.toggle("amp-notsupported",t),1==t)){var i=this.getFallback();i&&(e=this.getAmpDoc(),rn(e,"owners")).scheduleLayout(this,i)}},s.renderStarted=function(){this.Te.signal(pr),this.togglePlaceholder(!1),this.toggleLoading(!1)},s.jo=function(t){var e,n,i=this.Je>0||this.Te.get(pr);return!(this.eo==Fi||this.hasAttribute("noloading")||i&&!t||(n=this.tagName.toUpperCase(),"AMP-AD"!==(e=n)&&"AMP-ANIM"!==e&&"AMP-EMBED"!==e&&"AMP-FACEBOOK"!==e&&"AMP-FACEBOOK-COMMENTS"!==e&&"AMP-FACEBOOK-PAGE"!==e&&"AMP-GOOGLE-DOCUMENT-EMBED"!==e&&"AMP-IFRAME"!==e&&"AMP-IMG"!==e&&"AMP-INSTAGRAM"!==e&&"AMP-LIST"!==e&&"AMP-PINTEREST"!==e&&"AMP-PLAYBUZZ"!==e&&"AMP-RENDER"!==e&&"AMP-TIKTOK"!==e&&"AMP-TWITTER"!==e&&!function(t){return"AMP-VIDEO"!=t&&Xi.test(t)}(n))||fe(this))},s.toggleLoading=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument&&this.ownerDocument.defaultView){var n=Dn(this.getAmpDoc());n&&((t=t&&this.jo(e))?n.track(this):n.untrack(this))}},s.getOverflowElement=function(){return void 0===this.oo&&(this.oo=le(this,"overflow"),this.oo&&(this.oo.hasAttribute("tabindex")||this.oo.setAttribute("tabindex","0"),this.oo.hasAttribute("role")||this.oo.setAttribute("role","button"))),this.oo},s.overflowCallback=function(t,e,n){var i=this;this.getOverflowElement(),this.oo?(this.oo.classList.toggle("amp-visible",t),this.oo.onclick=t?function(){var t=Nn(i.getAmpDoc());t.forceChangeSize(i,e,n),t.mutateElement(i,(function(){i.overflowCallback(!1,e,n)}))}:null):t&&this.warnOnMissingOverflow&&Ht().warn("CustomElement","Cannot resize element and overflow is not available",this)},s._o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.vu?Nn(this.getAmpDoc()).mutateElement(e||this,t,n):t()},e(o,[{key:"readyState",get:function(){return this.ro}}]),o}(t.HTMLElement);return t.__AMP_BASE_CE_CLASS=i,t.__AMP_BASE_CE_CLASS}(t,n),r=function(t){D(n,t);var e=B(n);function n(){return e.apply(this,arguments)}return n.prototype.adoptedCallback=function(){Object.getPrototypeOf(this)!==o&&Object.setPrototypeOf(this,o)},n}(i),o=r.prototype;return r}(t,vs);t.customElements.define(n,r)}function vs(t,e,n){us.has(t)||(us.set(t,!0),fs(t));var i=e.localName;n||t.declaresExtension(i)||In(t.win).installExtensionForDoc(t,i,"0.1")}var gs="amp-img",ys=["alt","aria-describedby","aria-label","aria-labelledby","crossorigin","referrerpolicy","title","importance","sizes","srcset","src"],bs=function(t){D(n,t);var e=B(n);function n(t){var n;return(n=e.call(this,t)).Do=!0,n.Lo=null,n.Uo=null,n.zo=null,n.Ho=0,n}n.R1=function(){return!1},n.prerenderAllowed=function(){return!0},n.usesLoading=function(){return!0},n.getPreconnects=function(t){var e=t.getAttribute("src");if(e)return[e];var n=t.getAttribute("srcset");if(n){var i=/\S+/.exec(n);if(i)return[i[0]]}return null};var i=n.prototype;return i.mutatedAttributesCallback=function(t){if(this.Lo){var e=ys.filter((function(e){return void 0!==t[e]}));t.src&&!t.srcset&&this.element.hasAttribute("srcset")&&(this.element.removeAttribute("srcset"),e.push("srcset"),this.user().warn(gs,"Removed [srcset] since [src] was mutated. Recommend adding a [srcset] binding to support responsive images.",this.element)),rr(e,this.element,this.Lo,!0),this.propagateDataset(this.Lo),Vi(this.Lo),n.R1()&&!this.Lo.complete&&this.setReadyState(ri)}},i.preconnectCallback=function(t){var e=this.element.getAttribute("src");if(e)jn(this.win).url(this.getAmpDoc(),e,t);else{var n=this.element.getAttribute("srcset");if(!n)return;var i=/\S+/.exec(n);i&&jn(this.win).url(this.getAmpDoc(),i[0],t)}},i.isLayoutSupported=function(t){return Zi(t)},i.Go=function(){if(this.Lo)return this.Lo;this.Do=!this.element.hasAttribute("fallback");var t,e,n=Re(this.element);return n&&(this.Lo=ae(this.element,"> img:not([placeholder])")),this.Lo=this.Lo||new Image,this.Lo.setAttribute("decoding","async"),this.element.id&&this.Lo.setAttribute("amp-img-id",this.element.id),"img"==this.element.getAttribute("role")&&(this.element.removeAttribute("role"),this.user().error(gs,"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 <img> element.")),this.Vo(!0),rr(ys,this.element,this.Lo),this.propagateDataset(this.Lo),Vi(this.Lo),ir(this.Lo,!0),t=this.element,e=this.Lo,t.hasAttribute("object-fit")&&yi(e,"object-fit",t.getAttribute("object-fit")),t.hasAttribute("object-position")&&yi(e,"object-position",t.getAttribute("object-position")),n||this.element.appendChild(this.Lo),this.Lo},i.Vo=function(t){var e=this;if(this.Lo&&!this.element.hasAttribute("i-amphtml-ssr")&&!this.element.hasAttribute("sizes")&&!this.Lo.hasAttribute("sizes")){var n=this.element.getAttribute("srcset");if(n&&!/[0-9]+x(?:,|$)/.test(n)){var i=this.element.getLayoutSize().width;if(this.Fo(i)){var r=this.getViewport().getWidth(),o="(max-width: ".concat(r,"px) ").concat(i,"px, "),s=i+"px";if(this.getLayout()!==qi){var a=Math.round(100*i/r);s=Math.max(a,100)+"vw"}var u=o+s;t?this.Lo.setAttribute("sizes",u):this.mutateElement((function(){e.Lo.setAttribute("sizes",u)})),this.Ho=i}}}},i.Fo=function(t){return!this.Lo.hasAttribute("sizes")||t>this.Ho},i.reconstructWhenReparented=function(){return!1},i.mountCallback=function(){var t=this,e=!!this.Lo,n=this.Go();e||(Br(n,"load",(function(){t.setReadyState(oi),t.firstLayoutCompleted(),t.Bo()})),Br(n,"error",(function(e){t.setReadyState(si,e),t.qo()}))),n.complete?(this.setReadyState(oi),this.firstLayoutCompleted(),this.Bo()):this.setReadyState(ri)},i.unmountCallback=function(){var t=this.Lo;t&&!t.complete&&(t.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=",ge(t),this.Lo=null)},i.ensureLoaded=function(){this.Lo.loading="eager"},i.layoutCallback=function(){var t=this;this.Go();var e=this.Lo;return this.Uo=Br(e,"load",(function(){return t.Bo()})),this.zo=Br(e,"error",(function(){return t.qo()})),this.element.getLayoutSize().width<=0?u():this.loadPromise(e)},i.unlayoutCallback=function(){if(!n.R1()){this.zo&&(this.zo(),this.zo=null),this.Uo&&(this.Uo(),this.Uo=null);var t=this.Lo;return t&&!t.complete&&(t.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=",ge(t),this.Lo=null),!0}},i.firstLayoutCompleted=function(){var t=this.getPlaceholder();t&&t.classList.contains("i-amphtml-blurry-placeholder")?gi(t,{opacity:0}):this.togglePlaceholder(!1)},i.Bo=function(){!this.Do&&this.Lo.classList.contains("i-amphtml-ghost")&&(this.Lo.classList.remove("i-amphtml-ghost"),this.toggleFallback(!1))},i.qo=function(){this.Do&&(this.Lo.classList.add("i-amphtml-ghost"),this.toggleFallback(!0),this.togglePlaceholder(!1),this.Do=!1)},i.propagateDataset=function(t){for(var e in t.dataset)e in this.element.dataset||delete t.dataset[e];for(var n in this.element.dataset)n.startsWith("ampBind")&&"ampBind"!==n||t.dataset[n]!==this.element.dataset[n]&&(t.dataset[n]=this.element.dataset[n])},n}(Ko),ws=function(t){D(n,t);var e=B(n);function n(){return e.apply(this,arguments)}n.prerenderAllowed=function(){return!0};var i=n.prototype;return i.isLayoutSupported=function(t){return t==Wi||Zi(t)},i.buildCallback=function(){!function(t){if(!Re(t)){var e=function(t){var e;return Qi(null!==(e=t.getAttribute("layout"))&&void 0!==e?e:"")||Pr(t).layout}(t);if(e!=Wi){var n=t.ownerDocument.createElement("div");ir(n),function(t){return function(t){for(var e=[],n=t.firstChild;n;n=n.nextSibling)!fe(n)&&e.push(n);return e}(t)}(t).forEach((function(t){n.appendChild(t)})),t.appendChild(n)}}}(this.element)},n}(Ko);function As(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,o=new(_i.getImage(t));n&&(o.referrerPolicy="no-referrer");var s=0;return null!=i&&(!function(t){var e;return null===(e=t.featurePolicy)||void 0===e?void 0:e.allowedFeatures().includes("attribution-reporting")}(t.document)?s=5:(i=Es(t,s=6,r)(i),o.attributionSrc=i)),e=Es(t,s,r)(e),o.src=e,o}function Es(t,e,n){var i={ATTRIBUTION_REPORTING_STATUS:function(){return e}},r=qn(n||t.document),o={ATTRIBUTION_REPORTING_STATUS:!0};return function(t){return r.expandUrlSync(t,i,o)}}var Ss="amp-pixel",xs=function(t){D(n,t);var e=B(n);function n(t){var n;return(n=e.call(this,t)).Wo=null,n}var i=n.prototype;return i.isLayoutSupported=function(t){return!0},i.buildCallback=function(){this.element.setAttribute("aria-hidden","true"),this.$o=this.element.getAttribute("referrerpolicy"),this.$o&&Kt("no-referrer"==this.$o,"".concat(Ss,': invalid "referrerpolicy" value "').concat(this.$o,'".')+' Only "no-referrer" is supported'),this.element.hasAttribute("i-amphtml-ssr")&&this.element.querySelector("img")?Wt().info(Ss,"inabox img already present"):this.getAmpDoc().whenFirstVisible().then(this.Yo.bind(this))},i.Yo=function(){var t=this;if(this.Wo)return Wt().error(Ss,"duplicate pixel"),this.Wo;this.Wo=Fn(this.win).promise(1).then((function(){var e=t.element.getAttribute("src");if(e)return qn(t.element).expandUrlAsync(t.Ko(e)).then((function(e){if(t.win){var n=function(t,e,n,i,r){return n&&"no-referrer"!==n&&Ht().error("pixel","Unsupported referrerPolicy: %s",n),"no-referrer"===n?function(t,e,n,i){if("referrerPolicy"in Image.prototype)return As(t,e,!0,n,i);var r=ye(t.document,"iframe",{src:"about:blank",style:"display:none"});return r.onload=function(){As(r.contentWindow,e,void 0,void 0,i)},t.document.body.appendChild(r),r}(t,e,i,r):As(t,e,!1,i,r)}(t.win,e,t.$o,t.element.getAttribute("attributionsrc"),t.element);return Wt().info(Ss,"pixel triggered: ",e),n}}))}))},i.Ko=function(t){return Kt(/^(https\:\/\/|\/\/)/i.test(t),'The <amp-pixel> src attribute must start with "https://" or "//". Invalid value: '+t),t},n}(Ko),Ps=function(){function t(t,e,n){var i=this;this.Xo=Fn(t),this.Jo=e,this.Qo=n||0,this.Zo=-1,this.rs=0,this.es=!1,this.us=function(){i.os()}}var e=t.prototype;return e.isPending=function(){return-1!=this.Zo},e.schedule=function(t){var e=t||this.Qo;this.es&&e<10&&(e=10);var n=Date.now()+e;return(!this.isPending()||n-this.rs<-10)&&(this.cancel(),this.rs=n,this.Zo=this.Xo.delay(this.us,e),!0)},e.os=function(){this.Zo=-1,this.rs=0,this.es=!0,this.Jo(),this.es=!1},e.cancel=function(){this.isPending()&&(this.Xo.cancel(this.Zo),this.Zo=-1)},t}(),Rs="inabox-resources",Ts=function(){function t(t){var e=this;this.vu=t,this.win=t.win,this.qe=[],this.ss=0,this.os=new Ps(this.win,this.hs.bind(this),70),this.fs=new ti,this.cs=new c,this.ls=null,function(t){return en(t,"input")}(this.win).setupInputModeClasses(t),"inabox"!=_t(this.win).runtime&&t.onVisibilityChanged((function(){switch(t.getVisibilityState()){case $n:e.qe.forEach((function(t){return t.pause()}));break;case Xn:e.qe.forEach((function(t){return t.resume()})),e.schedulePass()}})),this.vs=[],this.ds=!1,this.vu.whenReady().then((function(){e.ds=!0,e.ps(),e.schedulePass(1)}))}var e=t.prototype;return e.dispose=function(){this.qe.forEach((function(t){return t.unload()})),this.qe.length=0,this.ls&&(this.ls.disconnect(),this.ls=null)},e.get=function(){return this.qe.slice(0)},e.getAmpdoc=function(){return this.vu},e.getResourceForElement=function(t){return Co.forElement(t)},e.getResourceForElementOptional=function(t){return Co.forElementOptional(t)},e.getScrollDirection=function(){return 1},e.add=function(t){var e=new Co(++this.ss,t,this);this.qe.push(e),Wt().fine(Rs,"resource added:",e.debugid)},e.upgraded=function(t){var e=Co.forElement(t);this.vs.push(e),this.ps()},e.remove=function(t){var e=Co.forElementOptional(t);if(e){this.ls&&this.ls.unobserve(t);var n=this.qe.indexOf(e);-1!==n&&this.qe.splice(n,1),Wt().fine(Rs,"element removed:",e.debugid)}},e.scheduleLayoutOrPreload=function(t){this.os.schedule()},e.schedulePass=function(t){return this.os.schedule(t)},e.updateOrEnqueueMutateTask=function(t,e){},e.schedulePassVsync=function(){},e.onNextPass=function(t){this.fs.add(t)},e.ampInitComplete=function(){},e.updateLayoutPriority=function(t,e){},e.setRelayoutTop=function(t){},e.maybeHeightChanged=function(){},e.whenFirstPass=function(){return this.cs.promise},e.hs=function(){var t=Date.now();Wt().fine(Rs,"doPass"),this.qe.forEach((function(t){t.isLayoutPending()&&!t.element.R1()&&t.measure()})),this.qe.forEach((function(e){!e.element.R1()&&2===e.getState()&&e.isDisplayed()&&(e.layoutScheduled(t),e.startLayout())})),this.vu.signals().signal(Mo),this.fs.fire(),this.cs.resolve()},e.ps=function(){for(var t=this,e=this.vs.length-1;e>=0;e--){var n=this.vs[e];(this.ds||Ae(n.element,this.vu.getRootNode()))&&(this.vs.splice(e,1),(n.build()||u()).then((function(){return t.schedulePass()})),Wt().fine(Rs,"resource upgraded:",n.debugid))}},t}();function Os(t){return function(t,e){var n=e.documentElement;return["⚡4email","amp4email"].some((function(t){return n.hasAttribute(t)}))}(0,t)}var _s="Action",Cs="__AMP_ACTION_MAP__"+Math.random(),Ms="__AMP_ACTION_QUEUE__",Ls="__AMP_ACTION_HANDLER__",Is={form:["submit","clear"]},ks=[{tagOrTarget:"AMP",method:"setState"},{tagOrTarget:"*",method:"focus"},{tagOrTarget:"*",method:"hide"},{tagOrTarget:"*",method:"show"},{tagOrTarget:"*",method:"toggleClass"},{tagOrTarget:"*",method:"toggleChecked"},{tagOrTarget:"*",method:"toggleVisibility"}],Ds={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},Ns=function(){function t(t,e,n,i,r,o,s){var a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"?",u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:Math.random();this.node=t,this.method=e,this.args=n,this.source=i,this.caller=r,this.event=o,this.trust=s,this.actionEventType=a,this.tagOrTarget=u||t.tagName,this.sequenceId=c}return t.prototype.satisfiesTrust=function(t){if(!z(this.trust))return Wt().error(_s,"Invalid trust for '".concat(this.method,"': ").concat(this.trust)),!1;if(this.trust<t){var e=function(t){switch(t){case 1:return"low";case 3:return"high";default:return Q(2===t),"default"}}(this.trust);return Ht().error(_s,'"'.concat(this.actionEventType,'" event with "').concat(e,'" trust is not allowed to ')+'invoke "'.concat(this.tagOrTarget.toLowerCase(),".").concat(this.method,'".')),!1}return!0},t}(),Bs=function(){function t(t,e){this.ampdoc=t,this.gs=e||t.getRootNode(),this.bs=this.ampdoc.isSingleDoc()&&Os(this.gs),this.ys=this.bs?ks:null,this.ws=w(),this.As=w(),this.addEvent("tap"),this.addEvent("submit"),this.addEvent("change"),this.addEvent("input-debounced"),this.addEvent("input-throttled"),this.addEvent("valid"),this.addEvent("invalid")}var e=t.prototype;return e.addEvent=function(t){var e=this;if("tap"==t)this.gs.addEventListener("click",(function(n){if(!n.defaultPrevented){var i=n.target;e.trigger(i,t,n,3)}})),this.gs.addEventListener("keydown",(function(n){var i=n.key,r=n.target;if("Enter"==i||" "==i){var o=r.getAttribute("role"),s=o&&A(Ds,o.toLowerCase());!n.defaultPrevented&&s&&e.trigger(r,t,n,3)&&n.preventDefault()}}));else if("submit"==t)this.gs.addEventListener(t,(function(n){var i=n.target;e.trigger(i,t,n,3)}));else if("change"==t)this.gs.addEventListener(t,(function(n){var i=n.target;e.xs(n),e.trigger(i,t,n,3)}));else if("input-debounced"==t){var n=ct(this.ampdoc.win,(function(n){var i=n.target;e.trigger(i,t,n,3)}),300);this.gs.addEventListener("input",(function(t){var i=new js(t);e.xs(i),n(i)}))}else if("input-throttled"==t){var i=ut(this.ampdoc.win,(function(n){var i=n.target;e.trigger(i,t,n,3)}),100);this.gs.addEventListener("input",(function(t){var n=new js(t);e.xs(n),i(n)}))}else"valid"!=t&&"invalid"!=t||this.gs.addEventListener(t,(function(n){var i=n.target;e.trigger(i,t,n,3)}))},e.addGlobalTarget=function(t,e){this.ws[t]=e},e.addGlobalMethodHandler=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;this.As[t]={handler:e,minTrust:n}},e.trigger=function(t,e,n,i,r){return this.Es(t,e,n,i,r)},e.execute=function(t,e,n,i,r,o,s){var a=new Ns(t,e,n,i,r,o,s);this.Ps(a)},e.installActionHandler=function(t,e){if(Gt(Us(t.getAttribute("id")||"")||t.tagName.toLowerCase()in Is),t[Ls])Wt().error(_s,"Action handler already installed for ".concat(t));else{t[Ls]=e;var n=t[Ms];j(n)&&Fn($t(t)).delay((function(){n.forEach((function(t){try{e(t)}catch(e){Wt().error(_s,"Action execution failed:",t,e)}})),t[Ms].length=0}),1)}},e.hasAction=function(t,e,n){return!!this.Ts(t,e,n)},e.hasResolvableAction=function(t,e,n){var i=this,r=this.Ts(t,e,n);return!!r&&r.actionInfos.some((function(t){var e=t.target;return!!i.Os(e)}))},e.hasResolvableActionForTarget=function(t,e,n,i){var r=this,o=this.Ts(t,e,i);return!!o&&o.actionInfos.some((function(t){var e=t.target;return r.Os(e)==n}))},e.Os=function(t){return this.ws[t]?this.gs:this.gs.getElementById(t)},e.setAllowlist=function(t){Gt(t.every((function(t){return t.tagOrTarget&&t.method}))),this.ys=t},e.addToAllowlist=function(t,e,n){var i=this;n&&n.includes("email")!==this.bs||(this.ys||(this.ys=[]),j(e)||(e=[e]),e.forEach((function(e){i.ys.some((function(n){return n.tagOrTarget==t&&n.method==e}))||i.ys.push({tagOrTarget:t,method:e})})))},e.Es=function(t,e,n,i,r){var o=this,s=this.Ts(t,e);if(!s)return!1;var u=Math.random(),c=null;return s.actionInfos.forEach((function(h){var l=h.args,f=h.method,d=h.str,p=h.target,v=function(t,e,n){if(!t)return t;var i=n||{};if(e){var r=function(t){return t.detail}(e);r&&(i.event=r)}var o=w();return Object.keys(t).forEach((function(e){var n=t[e];if("object"==m(n)&&n.expression){var r=n.expression,s=function(t,e){if("."==e)return t;for(var n,i=t,r=a(e.split("."),!0);!(n=r()).done;){var o=n.value;if(!(o&&i&&void 0!==i[o]&&"object"==m(i)&&A(i,o))){i=void 0;break}i=i[o]}return i}(i,r);n=void 0===s?null:s}i[n]?o[e]=i[n]:o[e]=n})),o}(l,n,r),g=function(){var r=o.Os(p);if(r){var a=new Ns(r,f,v,t,s.node,n,i,e,r.tagName||p,u);return o.Ps(a)}o.Is('Target "'.concat(p,'" not found for action [').concat(d,"]."))};c=c?c.then(g):g()})),s.actionInfos.length>=1},e.Is=function(t,e){if(e){var n=Ht().createError("[".concat(_s,"] ").concat(t));throw Po(n,e),n}Ht().error(_s,t)},e.Ps=function(t){var e=t.method,n=t.tagOrTarget;if(this.ys&&!function(t,e){var n=t.method,i=t.node,r=t.tagOrTarget;n===Go&&"function"==typeof i.getDefaultActionAlias&&(n=i.getDefaultActionAlias());var o=n.toLowerCase(),s=r.toLowerCase();return e.some((function(t){return(t.tagOrTarget.toLowerCase()===s||"*"===t.tagOrTarget)&&t.method.toLowerCase()===o}))}(t,this.ys))return this.Is('"'.concat(n,".").concat(e,'" is not allowlisted ').concat(JSON.stringify(this.ys),".")),null;var i=this.ws[n];if(i)return i(t);var r=t.node,o=this.As[e];if(o&&t.satisfiesTrust(o.minTrust))return o.handler(t);var s=r.tagName.toLowerCase();if(Us(s))return r.enqueAction?r.enqueAction(t):this.Is('Unrecognized AMP element "'.concat(s,'".'),r),null;var a=Is[s];if(Us(r.getAttribute("id")||"")||a&&a.indexOf(e)>-1){var u=r[Ls];return u?u(t):(r[Ms]=r[Ms]||[],r[Ms].push(t)),null}return this.Is("Target (".concat(n,") doesn't support \"").concat(e,'" action.'),t.caller),null},e.Ts=function(t,e,n){for(var i,r=t;r;){if(n&&r==n)return null;var o=this.Rs(r,e);if(o&&!(i=r).disabled&&!ue(i,":disabled"))return{node:r,actionInfos:Gt(o)};r=r.parentElement}return null},e.Rs=function(t,e){var n=this.Ss(t,e);return n&&n[e]||null},e.Ss=function(t,e){var n=t[Cs];if(void 0===n)if(n=null,t.hasAttribute("on"))n=Fs(t.getAttribute("on"),t),t[Cs]=n;else if(t.hasAttribute("execute")){var i=t.getAttribute("execute");n=Fs("".concat(e,":").concat(i),t),t[Cs]=n}return n},e.setActions=function(t,e){t.setAttribute("on",e),delete t[Cs]},e.xs=function(t){var e=w(),n=t.target;if(void 0!==n.value&&(e.value=n.value),"INPUT"==n.tagName&&(e.valueAsNumber=Number(n.value)),void 0!==n.checked&&(e.checked=n.checked),void 0===n.min&&void 0===n.max||(e.min=n.min,e.max=n.max),n.files&&(e.files=U(n.files).map((function(t){return{name:t.name,size:t.size,type:t.type}}))),Object.keys(e).length>0)try{t.detail=e}catch(t){}},t}();function Us(t){return"amp-"===t.substring(0,4)}var js=function(t){this.detail=null,function(t,e){var n=e||w();for(var i in t){var r=t[i];n[i]="function"==typeof r?Vs:t[i]}}(t,this)};function Vs(){Gt(null)}function Fs(t,e){var n,i,r=Hs.bind(null,t,e),o=zs.bind(null,t,e),s=null,a=new Ks(t);do{if((n=a.next()).type==Ws.EOF||n.type==Ws.SEPARATOR&&";"==n.value);else if(n.type==Ws.LITERAL||n.type==Ws.ID){var u=n.value;o(a.next(),[Ws.SEPARATOR],":");var c=[];do{var h=o(a.next(),[Ws.LITERAL,Ws.ID]).value,l=Go,f=null;(i=a.peek()).type==Ws.SEPARATOR&&"."==i.value&&(a.next(),l=o(a.next(),[Ws.LITERAL,Ws.ID]).value||l,(i=a.peek()).type==Ws.SEPARATOR&&"("==i.value&&(a.next(),f=qs(a,o,r))),c.push({event:u,target:h,method:l,args:f,str:t}),i=a.peek()}while(i.type==Ws.SEPARATOR&&","==i.value&&a.next());s||(s=w()),s[u]=c}else r(!1,"; unexpected token [".concat(n.value||"","]"))}while(n.type!=Ws.EOF);return s}function qs(t,e,n){var i,r,o=t.peek(),s=null;if(o.type==Ws.OBJECT){s=w();var a=t.next().value;s.__AMP_OBJECT_STRING__=a,e(t.next(),[Ws.SEPARATOR],")")}else do{var u=i=t.next(),c=u.type,h=u.value;if(c!=Ws.SEPARATOR||","!=h&&")"!=h)if(c==Ws.LITERAL||c==Ws.ID){e(t.next(),[Ws.SEPARATOR],"=");var l=[i=e(t.next(!0),[Ws.LITERAL,Ws.ID])];if(i.type==Ws.ID)for(o=t.peek();o.type==Ws.SEPARATOR&&"."==o.value;o=t.peek())t.next(),i=e(t.next(!1),[Ws.ID]),l.push(i);var f=0==(r=l).length?null:1==r.length?r[0].value:{expression:r.map((function(t){return t.value})).join(".")};s||(s=w()),s[h]=f,n((o=t.peek()).type==Ws.SEPARATOR&&(","==o.value||")"==o.value),"Expected either [,] or [)]")}else n(!1,"; unexpected token [".concat(i.value||"","]"))}while(i.type!=Ws.SEPARATOR||")"!=i.value);return s}function Hs(t,e,n,i){return Kt(n,"Invalid action definition in %s: [%s] %s",e,t,i||"")}function zs(t,e,n,i,r){return void 0!==r?Hs(t,e,i.includes(n.type)&&n.value==r,"; expected [".concat(r,"]")):Hs(t,e,i.includes(n.type)),n}var Ws={INVALID:0,EOF:1,SEPARATOR:2,LITERAL:3,ID:4,OBJECT:5},Gs=" \t\n\r\f\v \u2028\u2029",Ks=function(){function t(t){this._s=t,this.Ms=-1}var e=t.prototype;return e.next=function(t){var e=this.dr(t||!1);return this.Ms=e.index,e},e.peek=function(t){return this.dr(t||!1)},e.dr=function(t){var e=this.Ms+1;if(e>=this._s.length)return{type:Ws.EOF,index:this.Ms};var n=this._s.charAt(e);if(-1!=Gs.indexOf(n)){for(e++;e<this._s.length&&-1!=Gs.indexOf(this._s.charAt(e));e++);if(e>=this._s.length)return{type:Ws.EOF,index:e};n=this._s.charAt(e)}if(t&&(Ys(n)||"."==n&&e+1<this._s.length&&Ys(this._s[e+1]))){for(var i="."==n,r=e+1;r<this._s.length;r++){var o=this._s.charAt(r);if("."!=o){if(!Ys(o))break}else i=!0}var s=this._s.substring(e,r),a=i?parseFloat(s):parseInt(s,10);return e=r-1,{type:Ws.LITERAL,value:a,index:e}}if(-1!=";:.()=,|!".indexOf(n))return{type:Ws.SEPARATOR,value:n,index:e};if(-1!="\"'".indexOf(n)){for(var u=-1,c=e+1;c<this._s.length;c++)if(this._s.charAt(c)==n){u=c;break}if(-1==u)return{type:Ws.INVALID,index:e};var h=this._s.substring(e+1,u);return e=u,{type:Ws.LITERAL,value:h,index:e}}if("{"==n){for(var l=1,f=-1,d=e+1;d<this._s.length;d++){var p=this._s[d];if("{"==p?l++:"}"==p&&l--,l<=0){f=d;break}}if(-1==f)return{type:Ws.INVALID,index:e};var m=this._s.substring(e,f+1);return e=f,{type:Ws.OBJECT,value:m,index:e}}for(var v=e+1;v<this._s.length&&-1==" \t\n\r\f\v \u2028\u2029;:.()=,|!\"'{}".indexOf(this._s.charAt(v));v++);var g=this._s.substring(e,v);if(e=v-1,t&&("true"==g||"false"==g)){var y="true"==g;return{type:Ws.LITERAL,value:y,index:e}}return Ys(g.charAt(0))?{type:Ws.LITERAL,value:g,index:e}:{type:Ws.ID,value:g,index:e}},t}();function Ys(t){return t>="0"&&t<="9"}function Js(t){return!!t&&"function"==typeof t.getFormData}var Xs=["GET","POST"],Qs=[j,b];function $s(t,e){var n=I({},e);if(Js(e.body)){var i=e.body;n.headers["Content-Type"]="multipart/form-data;charset=utf-8",n.body=function(t){for(var e=[],n=t.next();!n.done;n=t.next())e.push(n.value);return e}(i.entries())}return{input:t,init:n}}function Zs(t,e){var n,i=t||{},r=i.credentials;return Q(void 0===r||"include"==r||"omit"==r),i.method=void 0===(n=i.method)?"GET":(n=n.toUpperCase(),Q(Xs.includes(n)),n),i.headers=i.headers||{},e&&(i.headers.Accept=e),Q(null!==i.body),i}function ta(t){return new Promise((function(e){if(t.ok)return e(t);var n=t.status,i=Ht().createError("HTTP error ".concat(n));throw i.retriable=function(t){return 415==t||t>=500&&t<600}(n),i.response=t,i}))}var ea=function(){function t(t){this.win=t;var e=_n(t);this.ks=e.isSingleDoc()?e.getSingleDoc():null}var e=t.prototype;return e.Cs=function(t,e){var n=arguments,i=this;return function(t,e,n,i){if(!e)return u();var r=i.prerenderSafe?u():e.whenFirstVisible(),o=Wn(e),s=lo(n),a=o.hasCapability("xhrInterceptor"),c=i.bypassInterceptorForDev&&!1;return s||!a||c?r:e.getRootNode().documentElement.hasAttribute("allow-xhr-interception")?r.then((function(){return o.isTrustedViewer()})).then((function(e){if(e||Cr(t,"untrusted-xhr-interception")){var r={originalRequest:$s(n,i)};return o.sendMessageAwaitResponse("xhr",r).then((function(t){return function(t,e){if(et(b(t),"Object expected: %s",t),"document"!=e)return new Response(t.body,t.init);var n=w(),i={status:200,statusText:"OK",getResponseHeader:function(t){return n[String(t).toLowerCase()]||null}};if(t.init){var r=t.init;j(r.headers)&&r.headers.forEach((function(t){var e=t[0],i=t[1];n[String(e).toLowerCase()]=String(i)})),r.status&&(i.status=parseInt(r.status,10)),r.statusText&&(i.statusText=String(r.statusText))}return new Response(t.body?String(t.body):"",i)}(t,i.responseType)}))}})):r}(this.win,this.ks,t,e).then((function(t){if(t)return t;if(Js(e.body)){var r=e.body;e.body=r.getFormData()}return i.win.fetch.apply(null,n)}))},e.Ns=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=function(t,e,n){return Q("string"==typeof e),!1!==n.ampCors&&(e=bo(t,e)),e}(this.win,t,e),e=function(t,e,n){n=n||{};var i=function(t){return t.origin||no(t.location.href).origin}(t);return i==no(e).origin&&(n.headers=n.headers||{},n.headers["AMP-Same-Origin"]="true"),n}(this.win,t,e),this.Cs(t,e).then((function(t){return t}),(function(e){var n=no(t).origin;throw Ht().createExpectedError("XHR","Failed fetching (".concat(n,"/...):"),e&&e.message)}))},e.fetchJson=function(t,e){return this.fetch(t,function(t){var e=Zs(t,"application/json");if("POST"==e.method&&!Js(e.body)){Q(Qs.some((function(t){return t(e.body)}))),e.headers["Content-Type"]=e.headers["Content-Type"]||"text/plain;charset=utf-8";var n=e.headers["Content-Type"];e.body="application/x-www-form-urlencoded"===n?ao(e.body):JSON.stringify(e.body)}return e}(e))},e.fetchText=function(t,e){return this.fetch(t,Zs(e,"text/plain"))},e.xssiJson=function(t,e){return e?t.text().then((function(t){return t.startsWith(e)?nt(t.slice(e.length)):(Ht().warn("XHR",'Failed to strip missing prefix "'.concat(e,'" in fetch response.')),nt(t))})):t.json()},e.fetch=function(t,e){var n=Zs(e);return this.Ns(t,n).then((function(t){return ta(t)}))},e.sendSignal=function(t,e){return this.Ns(t,e).then((function(t){return ta(t)}))},e.getCorsUrl=function(t,e){return bo(t,e)},t}(),na=function(t){D(n,t);var e=B(n);function n(t){var n;return(n=e.call(this,t)).js=w(),n}var i=n.prototype;return i.fetch=function(e,n){var i=this,r=n&&n.headers&&n.headers.Accept||"",o=!n||!n.method||"GET"===n.method,s=this.Ds(e,r),a=!!this.js[s];if(o&&a)return this.js[s].then((function(t){return t.clone()}));var u=t.prototype.fetch.call(this,e,n);return o&&(this.js[s]=u.then((function(t){return delete i.js[s],t.clone()}),(function(t){throw delete i.js[s],t}))),u},i.Ds=function(t,e){return ho(yo(t,go(this.win.location)))+e},n}(ea),ia={"+":"-","/":"_","=":"."};function ra(t){var e=function(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=String.fromCharCode(t[n]);return e.join("")}(t);return btoa(e).replace(/[+/=]/g,(function(t){return ia[t]}))}var oa="Crypto",sa=function(){function t(t){this.t=t;var e=null,n=!1;t.crypto&&(t.crypto.subtle?e=t.crypto.subtle:t.crypto.webkitSubtle&&(e=t.crypto.webkitSubtle,n=!0)),this.pkcsAlgo={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},this.subtle=e,this.Ls=n,this.Us=null}var e=t.prototype;return e.sha384=function(t){var e=this;if("string"==typeof t&&(t=st(t)),!this.subtle||this.Us)return(this.Us||this.zs()).then((function(e){return e(t)}));try{return this.subtle.digest({name:"SHA-384"},t).then((function(t){return new Uint8Array(t)}),(function(n){return n.message&&n.message.indexOf("secure origin")<0&&Ht().error(oa,"SubtleCrypto failed, fallback to closure lib.",n),e.zs().then((function(){return e.sha384(t)}))}))}catch(n){return Wt().error(oa,"SubtleCrypto failed, fallback to closure lib.",n),this.zs().then((function(){return e.sha384(t)}))}},e.sha384Base64=function(t){return this.sha384(t).then((function(t){return ra(t)}))},e.uniform=function(t){return this.sha384(t).then((function(t){for(var e=0,n=2;n>=0;n--)e=(e+t[n])/256;return e}))},e.zs=function(){var t=this;return this.Us?this.Us:this.Us=In(this.t).preloadExtension("amp-crypto-polyfill").then((function(){return en(t.t,"crypto-polyfill")}))},e.isPkcsAvailable=function(){return Boolean(this.subtle)&&!1!==this.t.isSecureContext},e.importPkcsKey=function(t){Gt(this.isPkcsAvailable());var e=this.Ls?ot(JSON.stringify(t)):t;return this.subtle.importKey("jwk",e,this.pkcsAlgo,!0,["verify"])},e.verifyPkcs=function(t,e,n){return Gt(this.isPkcsAvailable()),this.subtle.verify(this.pkcsAlgo,t,e,n)},t}(),aa=["prefetch","preload","preconnect","dns-prefetch"],ua=function(){function t(t){this.vu=t,this.Hs=null,this.Gs=null}return t.prototype.get=function(){if(this.Hs)return this.Hs;var t=this.vu,e=vo(t.getUrl()),n=t.getRootNode(),i=n&&n.AMP&&n.AMP.canonicalUrl;if(!i){var r=n.querySelector("link[rel=canonical]");i=r?no(r.href).href:e}var o,s=function(t){return String(Math.floor(1e4*t.Math.random()))}(t.win),a=function(t){var e=w();if(t.head)for(var n=t.head.querySelectorAll("link[rel]"),i=function(t){var i=n[t],r=i.href,o=i.getAttribute("rel");if(!o||!r)return"continue";o.split(/\s+/).forEach((function(t){if(-1==aa.indexOf(t)){var n=e[t];n?(j(n)||(n=e[t]=[n]),n.push(r)):e[t]=r}}))},r=0;r<n.length;r++)i(r);return e}(t.win.document),u=(o=t.win.document.head.querySelector('meta[name="viewport"]'))?o.getAttribute("content"):null,c=function(t){if(!t.isSingleDoc()||"a"!=(e=t.win.location.href,lo(e=eo(e))?e.pathname.split("/",2)[1]:null))return null;var e,n=dt(no(t.win.location.href).search).amp_r;return void 0===n?null:dt(n)}(t);return this.Hs={get sourceUrl(){return vo(t.getUrl())},canonicalUrl:i,pageViewId:s,get pageViewId64(){return this.Gs||(this.Gs=function(t){var e,n=function(t){return at(t,16)||String(t.location.href+Date.now()+t.Math.random()+t.screen.width+t.screen.height)}(t);if("string"==typeof n)return(e=t,en(e,"crypto")).sha384Base64(n);var i=n;return h((function(){return ra(i).replace(/\.+$/,"")}))}(t.win)),this.Gs},linkRels:a,viewport:u,replaceParams:c}},t}(),ca={attributes:!0,attributeFilter:["hidden"],subtree:!0},ha=function(){function t(t){this.gs=t.getRootNode();var e=this.gs.ownerDocument||this.gs;this.t=Gt(e.defaultView),this.Ht=null,this.Vs=null}var e=t.prototype;return e.add=function(t){var e=this;this.Fs();var n=this.Vs.add(t);return function(){n(),0===e.Vs.getHandlerCount()&&e.dispose()}},e.Fs=function(){var t=this;if(!this.Ht){this.Vs=new ti;var e=new this.t.MutationObserver((function(e){e&&t.Vs.fire(e)}));this.Ht=e,e.observe(this.gs,ca)}},e.dispose=function(){this.Ht&&(this.Ht.disconnect(),this.Vs.removeAll(),this.Ht=null,this.Vs=null)},t}();function la(t){try{return t.state}catch(t){return null}}var fa="History",da="AMP.History",pa=function(){function t(t,e){this.vu=t,this.Xo=Fn(t.win),this.Bs=e,this.qs=0,this.Ws=[],this.Ou=[],this.Bs.setOnStateUpdated(this.$s.bind(this))}var e=t.prototype;return e.cleanup=function(){this.Bs.cleanup()},e.push=function(t,e){var n=this;return this.Ys((function(){return n.Bs.push(e).then((function(e){return n.$s(e),t&&(n.Ws[e.stackIndex]=t),e.stackIndex}))}),"push")},e.pop=function(t){var e=this;return this.Ys((function(){return e.Bs.pop(t).then((function(t){e.$s(t)}))}),"pop")},e.replace=function(t){var e=this;return this.Ys((function(){return e.Bs.replace(t)}),"replace")},e.get=function(){var t=this;return this.Ys((function(){return t.Bs.get()}),"get")},e.goBack=function(t){var e=this;return this.Ys((function(){return e.qs<=0&&!t?u():e.Bs.pop(e.qs).then((function(t){e.$s(t)}))}),"goBack")},e.replaceStateForTarget=function(t){var e=this;Gt("#"==t[0]);var n=this.vu.win.location.hash;return this.push((function(){e.vu.win.location.replace(n||"#")})).then((function(){e.Bs.replaceStateForTarget(t)}))},e.getFragment=function(){return this.Bs.getFragment()},e.updateFragment=function(t){return"#"==t[0]&&(t=t.substr(1)),this.Bs.updateFragment(t)},e.$s=function(t){this.qs=t.stackIndex,this.Ks(t)},e.Ks=function(t){var e=this;if(!(this.qs>=this.Ws.length-1)){for(var n=[],i=this.Ws.length-1;i>this.qs;i--)this.Ws[i]&&(n.push(this.Ws[i]),this.Ws[i]=void 0);if(this.Ws.splice(this.qs+1),n.length>0)for(var r=function(i){e.Xo.delay((function(){return n[i](t)}),1)},o=0;o<n.length;o++)r(o)}},e.Ys=function(t,e){var n=new c,i=n.promise,r=n.reject,o=n.resolve,s=new Error("history trace for "+e+": ");return this.Ou.push({callback:t,resolve:o,reject:r,trace:s}),1==this.Ou.length&&this.Xs(),i},e.Xs=function(){var t=this;if(0!=this.Ou.length){var e,n=this.Ou[0];try{e=n.callback()}catch(t){e=Promise.reject(t)}e.then((function(t){n.resolve(t)}),(function(t){Wt().error(fa,"failed to execute a task:",t),n.trace&&(n.trace.message+=t,Wt().error(fa,n.trace)),n.reject(t)})).then((function(){t.Ou.splice(0,1),t.Xs()}))}},t}(),ma=function(){function t(t){var e=this;this.win=t,this.Xo=Fn(t);var n=this.win.history;this.Js=n.length-1;var i,r,o=la(n);o&&void 0!==o[da]&&(this.Js=Math.min(o[da],this.Js)),this.qs=this.Js,this.Qs,this.$s=null,this.Zs="state"in n,this.th=this.nh(this.qs),n.pushState&&n.replaceState?(this.ih=n.originalPushState||n.pushState.bind(n),this.rh=n.originalReplaceState||n.replaceState.bind(n),i=function(t,n,i){e.th=t;try{e.ih(t,n,i||null)}catch(t){Wt().error(fa,"pushState failed: "+t.message)}},r=function(t,n,i){e.th=t;try{void 0!==i?e.rh(t,n,i):e.rh(t,n)}catch(t){Wt().error(fa,"replaceState failed: "+t.message)}},n.originalPushState||(n.originalPushState=this.ih),n.originalReplaceState||(n.originalReplaceState=this.rh)):(i=function(t,n,i){e.th=t},r=function(t,n,i){e.th=t}),this.eh=i,this.uh=r;try{this.uh(this.nh(this.qs,!0))}catch(t){Wt().error(fa,"Initial replaceState failed: "+t.message)}n.pushState=this.oh.bind(this),n.replaceState=this.sh.bind(this),this.hh=function(t){var n=t.state;Wt().fine(fa,"popstate event: "+e.win.history.length+", "+JSON.stringify(n)),e.ah()},this.win.addEventListener("popstate",this.hh)}var e=t.prototype;return e.cleanup=function(){this.ih&&(this.win.history.pushState=this.ih),this.rh&&(this.win.history.replaceState=this.rh),this.win.removeEventListener("popstate",this.hh)},e.nh=function(t,e){var n=w(e?this.fh():void 0);return n[da]=t,n},e.setOnStateUpdated=function(t){this.$s=t},e.push=function(t){var e=this;return this.lh((function(){var n=e.dh(e.fh(),t||{});return e.oh(n,void 0,n.fragment?"#"+n.fragment:void 0),h((function(){return e.dh(n,{stackIndex:e.qs})}))}))},e.pop=function(t){var e=this;return t=Math.max(t,this.Js),this.lh((function(){return e.mh(e.qs-t+1)})).then((function(t){return e.dh(e.fh(),{stackIndex:t})}))},e.replace=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.lh((function(){var n=t.dh(t.fh(),e||{}),i=(n.url||"").replace(/#.*/,""),r=n.fragment?"#"+n.fragment:"";return t.sh(n,n.title,i||r?i+r:void 0),h((function(){return t.dh(n,{stackIndex:t.qs})}))}))},e.get=function(){var t=this;return h((function(){return t.dh(t.fh(),{stackIndex:t.qs})}))},e.backTo=function(t){var e=this;return t=Math.max(t,this.Js),this.lh((function(){return e.mh(e.qs-t)}))},e.ah=function(){var t=this.fh();Wt().fine(fa,"history event: "+this.win.history.length+", "+JSON.stringify(t));var e=t?t[da]:void 0,n=this.qs,i=this.Qs;this.Qs=void 0,n>this.win.history.length-2&&(n=this.win.history.length-2,this.ph(this.dh(t,{stackIndex:n}))),null==e?n+=1:n=e<this.win.history.length?e:this.win.history.length-1,t||(t={}),t[da]=n,this.uh(t,void 0,void 0),n!=this.qs&&this.ph(this.dh(t,{stackIndex:n})),n<this.Js&&(this.Js=n),i&&i.resolve()},e.fh=function(){return this.Zs?la(this.win.history):this.th},e.gh=function(){Gt(!this.Qs)},e.lh=function(t){return this.Qs?this.Qs.promise.then(t,t):t()},e.bh=function(){this.gh();var t=new c,e=t.reject,n=t.resolve,i=this.Xo.timeoutPromise(500,t.promise);return this.Qs={promise:i,resolve:n,reject:e},i},e.mh=function(t){var e=this;if(this.gh(),t<=0)return Promise.resolve(this.qs);this.th=this.nh(this.qs-t);var n=this.bh();return this.win.history.go(-t),n.then((function(){return Promise.resolve(e.qs)}))},e.oh=function(t,e,n){this.gh(),t||(t={});var i=this.qs+1;t[da]=i,this.eh(t,e,n),i!=this.win.history.length-1&&(i=this.win.history.length-1,t[da]=i,this.uh(t));var r=this.dh(t,{stackIndex:i});this.ph(r)},e.replaceStateForTarget=function(t){var e=this;Gt("#"==t[0]),this.lh((function(){e.win.removeEventListener("popstate",e.hh);try{e.win.location.replace(t)}finally{e.win.addEventListener("popstate",e.hh)}return e.sh(),u()}))},e.sh=function(t,e,n){this.gh(),t||(t={});var i=Math.min(this.qs,this.win.history.length-1);t[da]=i,this.uh(t,e,n);var r=this.dh(t,{stackIndex:i});this.ph(r)},e.ph=function(t){this.gh(),t.stackIndex=Math.min(t.stackIndex,this.win.history.length-1),this.qs!=t.stackIndex&&(Wt().fine(fa,"stack index changed: "+this.qs+" -> "+t.stackIndex),this.qs=t.stackIndex,this.$s&&this.$s(t))},e.getFragment=function(){var t=this.win.location.hash;return t=t.substr(1),Promise.resolve(t)},e.updateFragment=function(t){return this.replace({fragment:t})},e.dh=function(t,e){var n=I(I({},t&&t.data||{}),e.data||{});return I(I(I({},t||{}),e),{},{data:n})},t}(),va=function(){function t(t,e){var n=this;this.win=t,this.yh=e,this.qs=0,this.$s=null,this.wh=this.yh.onMessage("historyPopped",(function(t){return n.Ah(t)}))}var e=t.prototype;return e.replaceStateForTarget=function(t){Gt("#"==t[0]),this.win.location.replace(t)},e.cleanup=function(){this.wh()},e.setOnStateUpdated=function(t){this.$s=t},e.xh=function(t,e,n){return this.Eh(t)?t:(Wt().warn(fa,'Ignored unexpected "%s" data:',n,t),e)},e.Eh=function(t){return!!t&&void 0!==t.stackIndex},e.push=function(t){var e=this,n=I({stackIndex:this.qs+1},t||{}),i="pushHistory";return this.yh.sendMessageAwaitResponse(i,n).then((function(t){var r=n,o=e.xh(t,r,i);return e.ph(o),o}))},e.pop=function(t){var e=this;if(t>this.qs)return this.get();var n={stackIndex:this.qs},i="popHistory";return this.yh.sendMessageAwaitResponse(i,n).then((function(t){var n={stackIndex:e.qs-1},r=e.xh(t,n,i);return e.ph(r),r}))},e.replace=function(t){var e=this;if(t&&t.url){if(!this.yh.hasCapability("fullReplaceHistory")){var n={stackIndex:this.qs};return Promise.resolve(n)}var i=t.url.replace(/#.*/,"");t.url=i}var r=I({stackIndex:this.qs},t||{}),o="replaceHistory";return this.yh.sendMessageAwaitResponse(o,r,!0).then((function(t){var n=r,i=e.xh(t,n,o);return e.ph(i),i}))},e.get=function(){return Promise.resolve({data:void 0,fragment:"",stackIndex:this.qs,title:""})},e.Ah=function(t){void 0!==t.newStackIndex&&(t.stackIndex=t.newStackIndex),this.Eh(t)?this.ph(t):Wt().warn(fa,'Ignored unexpected "historyPopped" data:',t)},e.ph=function(t){var e=t.stackIndex;this.qs!=e&&(Wt().fine(fa,"stackIndex: ".concat(this.qs," -> ").concat(e)),this.qs=e,this.$s&&this.$s(t))},e.getFragment=function(){return this.yh.hasCapability("fragment")?this.yh.sendMessageAwaitResponse("getFragment",void 0,!0).then((function(t){if(!t)return"";var e=t;return"#"==e[0]&&(e=e.substr(1)),e})):Promise.resolve("")},e.updateFragment=function(t){return this.yh.hasCapability("fragment")?this.yh.sendMessageAwaitResponse("replaceHistory",{fragment:t},!0):u()},t}();function ga(t){var e,n=Wn(t);return n.isOvertakeHistory()||t.win.__AMP_TEST_IFRAME?e=new va(t.win,n):(Ze(t.win,"global-history-binding",ma),e=en(t.win,"global-history-binding")),new pa(t,e)}var ya=null,ba=["gclid","gclsrc"];function wa(){return Kt(ya,"E#19457 trackImpressionPromise")}function Aa(t,e,n,i){var r,o,s;try{r=t.open(e,n,i)}catch(t){Wt().error("DOM","Failed to open url on target: ",n,t)}return!r&&"_top"!=n&&("number"!=typeof s&&(s=0),s+8>(o=i||"").length||-1===o.indexOf("noopener",s))&&(r=t.open(e,"_top")),r}var Ea="navigation",Sa="click",xa="contextmenu",Pa=["_top","_blank"],Ra="data-a4a-orig-href",Ta=function(){function t(t){var e=this;this.ampdoc=t,this.Ph=t.getRootNode(),this.Th=Kn(this.ampdoc),this.yh=Wn(this.ampdoc),this.Oh=kn(this.ampdoc),this.Ih=Un(this.ampdoc.win),this.Rh=this.Ih.isIos()&&this.Ih.isSafari(),this.Sh=Se(this.ampdoc.win)&&this.yh.isOvertakeHistory(),this._h=this.Ph!=this.ampdoc.getRootNode()||!!this.ampdoc.getParent(),this.Mh="inabox"==_t(this.ampdoc.win).runtime,this.kh=this.Ph.nodeType==Node.DOCUMENT_NODE?this.Ph.documentElement:this.Ph,this.Ch=this.Nh.bind(this),this.Ph.addEventListener(Sa,this.Ch),this.Ph.addEventListener(xa,this.Ch),this.jh=!1,function(t){return t.whenReady().then((function(){return!!t.getBody().querySelector("amp-analytics[type=googleanalytics]")}))}(this.ampdoc).then((function(t){e.jh=t})),this.Dh=!1,this.Lh=!1,Promise.all([this.yh.isTrustedViewer(),this.yh.getViewerOrigin()]).then((function(t){var n;e.Dh=t[0],e.Lh=(n=t[1],Et.test(eo(n).origin))})),this.Uh=null,this.zh=new No,this.Hh=new No}t.installAnchorClickInterceptor=function(t,e){e.document.documentElement.addEventListener("click",Oa.bind(null,t),!0)};var e=t.prototype;return e.cleanup=function(){this.Ch&&(this.Ph.removeEventListener(Sa,this.Ch),this.Ph.removeEventListener(xa,this.Ch))},e.openWindow=function(t,e,n,i){var r="";!this.Ih.isIos()&&this.Ih.isChrome()||i||(r+="noopener");var o=Aa(t,e,n,r);o&&!i&&(o.opener=null)},e.navigateTo=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=i.opener,o=void 0!==r&&r,s=i.target,a=void 0===s?"_top":s;e=this.Gh(e);var u=zn(this.kh);if(u.isProtocolValid(e)){Kt(Pa.includes(a),"Target '".concat(a,"' not supported."));var c=u.getSourceUrl(t.location);e=u.resolveRelativeUrl(e,c),"_blank"!=a?n&&(this.Uh||(this.Uh=this.Vh()),this.Uh.includes(n)&&this.navigateToAmpUrl(e,n))||(t.top.location.href=e):this.openWindow(t,e,a,o)}else Ht().error(Ea,"Cannot navigate to invalid protocol: "+e)},e.navigateToAmpUrl=function(t,e){return!!this.yh.hasCapability("a2a")&&(this.yh.sendMessage("a2aNavigate",{url:t,requestedBy:e}),!0)},e.Vh=function(){var t=this.Ph.querySelector('meta[name="amp-to-amp-navigation"]');return t&&t.hasAttribute("content")?t.getAttribute("content").split(",").map((function(t){return t.trim()})):[]},e.Nh=function(t){if(!t.defaultPrevented){var e=ce(t.__AMP_CUSTOM_LINKER_TARGET__||t.target,"A");e&&e.href&&(t.type==Sa?this.Fh(e,t):t.type==xa&&this.Bh(e,t))}},e.Fh=function(t,e){this.qh(t);var n=this.Wh(t.href);if(!this.$h(e,t,n)&&!this.Yh(e,t,n)){var i=this.Kh();_a(n)!=_a(i)&&(this.Xh(t,e),n=this.Wh(t.href)),this.Jh(e,t,n,i)}},e.Bh=function(t,e){this.qh(t),this.Xh(t,e)},e.Xh=function(t,e){this.zh.forEach((function(n){n(t,e)}))},e.Gh=function(t){return this.Hh.forEach((function(e){t=e(t)})),t},e.qh=function(t){var e=null;this.jh&&!this._h&&(e=function(t,e){for(var n=dt(no(_i.getLocation(t).href).search),i=[],r=0;r<ba.length;r++){var o=ba[r];void 0!==n[o]&&i.push(o)}var s=e.getAttribute("data-amp-addparams"),a=e.href;s&&(a=so(a,dt(s)));for(var u=dt(no(a).search),c=i.length-1;c>=0;c--)void 0!==u[i[c]]&&i.splice(c,1);return function(t){for(var e="",n=0;n<t.length;n++){var i=t[n];e+=0==n?"".concat(i,"=QUERY_PARAM(").concat(i,")"):"&".concat(i,"=QUERY_PARAM(").concat(i,")")}return e}(i)}(this.ampdoc.win,t)),qn(t).maybeExpandLink(t,e)},e.Yh=function(t,e,n){if(!this.Sh)return!1;var i=$t(e),r=e.href,o=n.protocol;if("ftp:"==o)return Aa(i,r,"_blank"),t.preventDefault(),!0;var s=/^(https?|mailto):$/.test(o);return!(!this.Rh||s||(Aa(i,r,"_top"),t.preventDefault(),0))},e.$h=function(t,e,n){return!(!e.hasAttribute("rel")||!e.getAttribute("rel").split(" ").map((function(t){return t.trim()})).includes("amphtml")||!this.navigateToAmpUrl(n.href,"<a rel=amphtml>")||(t.preventDefault(),0))},e.Jh=function(t,e,n,i){var r=_a(n),o=_a(i);if(n.hash&&r==o)this.Qh(t,n,i);else{var s=(e.getAttribute("target")||"").toLowerCase();(this._h||this.Mh)&&"_top"!=s&&"_blank"!=s&&(s="_blank",e.setAttribute("target",s));var a=this.ampdoc.win,u=Un(a),c=Wn(e);i.search&&u.isSafari()&&u.getMajorVersion()>=13&&c.isProxyOrigin()&&c.isEmbedded()&&this.Zh(a,i,s),this.viewerInterceptsNavigation(r,"intercept_click")&&t.preventDefault()}},e.Zh=function(t,e,n){Wt().info(Ea,"Removing iframe query string before navigation:",e.search);var i=e.href,r="".concat(e.origin).concat(e.pathname).concat(e.hash);t.history.replaceState(null,"",r);var o=function(){var e=t.location.href;e==r?(Wt().info(Ea,"Restored iframe URL with query string:",i),t.history.replaceState(null,"",i)):Wt().error(Ea,"Unexpected iframe URL change:",e,r)};"_blank"===n?t.setTimeout(o,0):t.addEventListener("pageshow",(function e(n){n.persisted&&(o(),t.removeEventListener("pageshow",e))}))},e.Qh=function(t,e,n){var i=this;if(t.preventDefault(),!this._h){var r=e.hash.slice(1),o=null;if(r){var s=re(r);o=this.Ph.getElementById(r)||this.Ph.querySelector('a[name="'.concat(s,'"]'))}e.hash!=n.hash?this.Oh.replaceStateForTarget(e.hash).then((function(){i.ta(o,r)})):this.ta(o,r)}},e.registerAnchorMutator=function(t,e){this.zh.enqueue(t,e)},e.registerNavigateToMutator=function(t,e){this.Hh.enqueue(t,e)},e.ta=function(t,e){var n=this;t?(this.Th.scrollIntoView(t),Fn(this.ampdoc.win).delay((function(){return n.Th.scrollIntoView(t)}),1)):Wt().warn(Ea,"failed to find element with id=".concat(e," or a[name=").concat(e,"]"))},e.Wh=function(t){return zn(this.kh).parse(t)},e.Kh=function(){return this.Wh("")},e.viewerInterceptsNavigation=function(t,e){var n=this.yh.hasCapability("interceptNavigation"),i=this.ampdoc.isSingleDoc()&&this.ampdoc.getRootNode().documentElement.hasAttribute("allow-navigation-interception");return!(!n||!i||!this.Dh&&!this.Lh||(this.yh.sendMessage("navigateTo",{url:t,requestedBy:e}),0))},t}();function Oa(t,e){var n=ce(e.target,"A");if(n&&n.href){var i=n.getAttribute(Ra)||n.getAttribute("href");if(i){var r={CLICK_X:function(){return e.pageX},CLICK_Y:function(){return e.pageY}},o=qn(n).expandUrlSync(i,r,{CLICK_X:!0,CLICK_Y:!0});o!=i&&(n.getAttribute(Ra)||n.setAttribute(Ra,i),n.setAttribute("href",o))}}}function _a(t){return"".concat(t.origin).concat(t.pathname).concat(t.search)}function Ca(t){return j(t)?t:[t]}var Ma=function(){function t(t){this.qe=Vn(t)}var e=t.prototype;return e.setOwner=function(t,e){Co.setOwner(t,e)},e.schedulePreload=function(t,e){this.na(this.qe.getResourceForElement(t),!1,Ca(e))},e.scheduleLayout=function(t,e){this.na(this.qe.getResourceForElement(t),!0,Ca(e))},e.schedulePause=function(t,e){var n=this.qe.getResourceForElement(t);e=Ca(e),this.ia(n,e,(function(t){t.pause()}))},e.scheduleResume=function(t,e){var n=this.qe.getResourceForElement(t);e=Ca(e),this.ia(n,e,(function(t){t.resume()}))},e.scheduleUnlayout=function(t,e){var n=this.qe.getResourceForElement(t);e=Ca(e),this.ia(n,e,(function(t){t.unlayout()}))},e.requireLayout=function(t,e){var n=[];return this.ra(t,(function(t){n.push(t.element.ensureLoaded())})),Promise.all(n)},e.ia=function(t,e,n){for(var i,r=a(e,!0);!(i=r()).done;){var o=i.value;Gt(t.element.contains(o)),this.ra(o,n)}},e.ra=function(t,e){if(t.classList.contains("i-amphtml-element")){e(this.qe.getResourceForElement(t));var n=t.getPlaceholder();n&&this.ra(n,e)}else for(var i=t.getElementsByClassName("i-amphtml-element"),r=[],o=0;o<i.length;o++){for(var s=i[o],a=!1,u=0;u<r.length;u++)if(r[u].contains(s)){a=!0;break}a||(r.push(s),e(this.qe.getResourceForElement(s)))}},e.na=function(t,e,n){this.ia(t,n,(function(e){e.element.ensureLoaded(t.getLayoutPriority())}))},t}(),La=function(){function t(t){this.ea=t.navigator,this.t=t}var e=t.prototype;return e.isAndroid=function(){return/Android/i.test(this.ea.userAgent)},e.isIos=function(){return/iPhone|iPad|iPod/i.test(this.ea.userAgent)},e.isSafari=function(){return/Safari/i.test(this.ea.userAgent)&&!this.isChrome()&&!this.isEdge()&&!this.isFirefox()&&!this.isOpera()},e.isChrome=function(){return/Chrome|CriOS/i.test(this.ea.userAgent)&&!this.isEdge()&&!this.isOpera()},e.isFirefox=function(){return/Firefox|FxiOS/i.test(this.ea.userAgent)&&!this.isEdge()},e.isOpera=function(){return/OPR\/|Opera|OPiOS/i.test(this.ea.userAgent)},e.isEdge=function(){return/Edge/i.test(this.ea.userAgent)},e.isWebKit=function(){return/WebKit/i.test(this.ea.userAgent)&&!this.isEdge()},e.isWindows=function(){return/Windows/i.test(this.ea.userAgent)},e.isStandalone=function(){return this.isIos()&&this.ea.standalone||this.isChrome()&&this.t.matchMedia("(display-mode: standalone)").matches},e.isBot=function(){return/bot/i.test(this.ea.userAgent)},e.getMajorVersion=function(){return this.isSafari()?this.isIos()?this.getIosMajorVersion()||0:this.ua(/\sVersion\/(\d+)/,1):this.isChrome()?this.ua(/(Chrome|CriOS)\/(\d+)/,2):this.isFirefox()?this.ua(/(Firefox|FxiOS)\/(\d+)/,2):this.isOpera()?this.ua(/(OPR|Opera|OPiOS)\/(\d+)/,2):this.isEdge()?this.ua(/Edge\/(\d+)/,1):0},e.ua=function(t,e){if(!this.ea.userAgent)return 0;var n=this.ea.userAgent.match(t);return!n||e>=n.length?0:parseInt(n[e],10)},e.getIosVersionString=function(){var t,e,n;return this.isIos()&&(null===(t=this.ea.userAgent)||void 0===t||null===(e=t.match(/OS ([0-9]+[_.][0-9]+([_.][0-9]+)?)\b/))||void 0===e||null===(n=e[1])||void 0===n?void 0:n.replace(/_/g,"."))||""},e.getIosMajorVersion=function(){var t=this.getIosVersionString();return""==t?null:Number(t.split(".")[0])},t}();function Ia(t){Ze(t,"platform",La)}function ka(t){return t.queryCommandSupported("copy")}function Da(t){return t.hasAttribute("hidden")}var Na="STANDARD-ACTIONS",Ba=/^i-amphtml-/,Ua=function(){function t(t){this.ampdoc=t;var e=t.getHeadNode();this.oa=Nn(t),this.Th=Kn(t),this.sa(Rn(e)),this.ha()}var e=t.prototype;return e.sa=function(t){t.addGlobalTarget("AMP",this.aa.bind(this)),t.addGlobalMethodHandler("hide",this.fa.bind(this)),t.addGlobalMethodHandler("show",this.ca.bind(this)),t.addGlobalMethodHandler("toggleVisibility",this.la.bind(this)),t.addGlobalMethodHandler("scrollTo",this.va.bind(this)),t.addGlobalMethodHandler("focus",this.da.bind(this)),t.addGlobalMethodHandler("toggleClass",this.ma.bind(this)),t.addGlobalMethodHandler("copy",this.pa.bind(this)),t.addGlobalMethodHandler("toggleChecked",this.ga.bind(this))},e.ha=function(){this.ba()&&this.ampdoc.waitForBodyOpen().then((function(t){var e=t.getAttribute("data-prefers-dark-mode-class")||"amp-dark-mode";t.classList.add(e)}))},e.ba=function(){var t,e;try{var n=this.ampdoc.win.localStorage.getItem("amp-dark-mode");if(n)return"yes"===n}catch(t){}return null===(t=(e=this.ampdoc.win).matchMedia)||void 0===t?void 0:t.call(e,"(prefers-color-scheme: dark)").matches},e.aa=function(t){if(!t.satisfiesTrust(2))return null;var e=t.args,n=t.method,i=t.node,r=$t(i);switch(n){case"pushState":case"setState":var o=i.nodeType===Node.DOCUMENT_NODE?i.documentElement:i;return Cn(o).then((function(e){return Kt(e,"AMP-BIND is not installed."),e.invoke(t)}));case"navigateTo":return this.ya(t);case"closeOrNavigateTo":return this.wa(t);case"scrollTo":return Kt(e.id,"AMP.scrollTo must provide element ID"),t.node=hn(i).getElementById(e.id),this.va(t);case"goBack":return kn(this.ampdoc).goBack(!(!e||!0!==e.navigate)),null;case"print":return r.print(),null;case"copy":return this.pa(t);case"optoutOfCid":return Mn(this.ampdoc).then((function(t){return t.optOut()})).catch((function(t){Wt().error(Na,"Failed to opt out of CID",t)}));case"toggleTheme":return this.Aa(),null}throw Ht().createError("Unknown AMP action ",n)},e.pa=function(t){var e,n=t.args,i=$t(t.node),r="copy-error";if("AMP"===t.tagOrTarget)e=n.text.trim();else{var o,s=$(t.node);e=(null!==(o=s.value)&&void 0!==o?o:s.textContent).trim()}var a,u,c,h=function(t,e,n){var r={data:{type:e}},o=Nr(i,"".concat(t),r);Rn(n.caller).trigger(n.caller,t,o,3)};null!==(u=(a=i.document).defaultView)&&void 0!==u&&null!==(c=u.navigator)&&void 0!==c&&c.clipboard||ka(a)?function(t,e,n,i){var r;null!==(r=t.navigator)&&void 0!==r&&r.clipboard?t.navigator.clipboard.writeText(e).then(n,i):ka(t.document)&&function(t,e){var n,i=!1,r=t.document,o=r.createElement("textarea");bi(o,{position:"fixed",top:0,left:0,width:"50px",height:"50px",padding:0,border:"none",outline:"none",background:"transparent"}),o.value=e,o.readOnly=!0,o.contentEditable="true",r.body.appendChild(o),null===(n=t.getSelection())||void 0===n||n.removeAllRanges(),o.focus(),o.setSelectionRange(0,e.length);try{i=r.execCommand("copy")}catch(t){}return ge(o),i}(t,e)?n():i()}(i,e,(function(){h("copy-success","success",t)}),(function(){h(r,"error",t)})):h(r,"unsupported",t)},e.ya=function(t){var e=this,n=t.args,i=t.caller,r=t.method,o=$t(t.node),s=u();return i.tagName.startsWith("AMP-")&&(s=i.getImpl().then((function(t){"function"==typeof t.throwIfCannotNavigate&&t.throwIfCannotNavigate()}))),s.then((function(){var t;(t=e.ampdoc,rn(t,"navigation")).navigateTo(o,n.url,"AMP.".concat(r),{target:n.target,opener:n.opener})}),(function(t){Ht().error(Na,t)}))},e.Aa=function(){var t=this;this.ampdoc.waitForBodyOpen().then((function(e){try{var n=e.getAttribute("data-prefers-dark-mode-class")||"amp-dark-mode";t.ba()?(e.classList.remove(n),t.ampdoc.win.localStorage.setItem("amp-dark-mode","no")):(e.classList.add(n),t.ampdoc.win.localStorage.setItem("amp-dark-mode","yes"))}catch(t){}}))},e.wa=function(t){var e=$t(t.node),n=e.parent!=e,i=!1;return e.opener&&this.ampdoc.isSingleDoc()&&!n&&(e.close(),i=e.closed),i?u():this.ya(t)},e.va=function(t){var e=t.node,n=t.args,i=n&&n.position,r=n&&n.duration;return i&&!["top","bottom","center"].includes(i)&&(i=void 0),z(r)||(r=void 0),this.Th.animateScrollIntoView(e,i,r)},e.da=function(t){return Ee(t.node),null},e.fa=function(t){var e=t.node;if(e.classList.contains("i-amphtml-element")){var n=e;this.oa.mutateElement(n,(function(){return n.collapse()}),!0)}else this.oa.mutateElement(e,(function(){return wi(e,!1)}));return null},e.ca=function(t){var e=this,n=t.node,i=$t(n);if(n.classList.contains($i(Fi)))return Ht().warn(Na,"Elements with layout=nodisplay cannot be dynamically shown.",n),null;this.oa.measureElement((function(){"none"!=Si(i,n).display||Da(n)||Ht().warn(Na,'Elements can only be dynamically shown when they have the "hidden" attribute set or when they were dynamically hidden.',n)}));var r,o=(r=n).hasAttribute("autofocus")?r:r.querySelector("[autofocus]");return o&&Un(i).isIos()?(this.xa(n,o),this.oa.mutateElement(n,(function(){}))):this.oa.mutateElement(n,(function(){e.xa(n,o)})),null},e.xa=function(t,e){t.classList.contains("i-amphtml-element")?t.expand():wi(t,!0),e&&Ee(e)},e.la=function(t){return Da(t.node)?this.ca(t):this.fa(t)},e.ma=function(t){var e=t.node,n=t.args,i=Ht().assertString(n.class,"Argument 'class' must be a string.");return Ba.test(i)||this.oa.mutateElement(e,(function(){if(void 0!==n.force){var t=Ht().assertBoolean(n.force,"Optional argument 'force' must be a boolean.");e.classList.toggle(i,t)}else e.classList.toggle(i)})),null},e.ga=function(t){var e=t.node,n=t.args;return this.oa.mutateElement(e,(function(){if(void 0!==(null==n?void 0:n.force)){var t=Ht().assertBoolean(n.force,"Optional argument 'force' must be a boolean.");e.checked=t}else!0===e.checked?e.checked=!1:e.checked=!0})),null},t}(),ja="__AMP_IMPL_",Va=function(){},Fa=function(){function t(t){this.vu=t,this.Ea={},this.Pa={}}var e=t.prototype;return e.whenReady=function(t){return this.Ta(t).then(Va)},e.setHtmlForTemplate=function(t,e){var n=this;return this.Ta(t).then((function(t){return n.Oa(t,e)}))},e.renderTemplate=function(t,e){var n=this;return this.Ta(t).then((function(t){return n.Di(t,e)}))},e.renderTemplateAsString=function(t,e){return this.Ta(t).then((function(t){return t.renderAsString(e)}))},e.getTemplateRenderer=function(t){return this.Ta(t).then((function(t){return{renderAsString:function(e){return t.renderAsString(e)}}}))},e.renderTemplateArray=function(t,e){var n=this;return 0==e.length?Promise.resolve([]):this.Ta(t).then((function(t){return e.map((function(e){return n.Di(t,e)}))}))},e.findAndRenderTemplate=function(t,e,n){return this.renderTemplate(this.findTemplate(t,n),e)},e.findAndSetHtmlForTemplate=function(t,e,n){return this.setHtmlForTemplate(this.findTemplate(t,n),e)},e.findAndRenderTemplateArray=function(t,e,n){return this.renderTemplateArray(this.findTemplate(t,n),e)},e.hasTemplate=function(t,e){return!!this.maybeFindTemplate(t,e)},e.findTemplate=function(t,e){var n=this.maybeFindTemplate(t,e);Kt(n,"Template not found for %s",t);var i=n.tagName;return Kt("TEMPLATE"==i||"SCRIPT"==i&&"text/plain"===n.getAttribute("type"),'Template must be defined in a <template> or <script type="text/plain"> tag'),n},e.maybeFindTemplate=function(t,e){var n=t.getAttribute("template");return n?we(t).getElementById(n):e?ae(t,e):t.querySelector('template[type], script[type="text/plain"]')},e.Ta=function(t){var e=this,n=t[ja];if(n)return Promise.resolve(n);var i="",r=t.tagName;"TEMPLATE"==r?i=t.getAttribute("type"):"SCRIPT"==r&&(i=t.getAttribute("template")),Kt(i,"Type must be specified: %s",t);var o=t.__AMP_WAIT_;return o||(o=this.Ia(t,i).then((function(n){var i=n,r=t[ja]=new i(t,e.vu.win);return delete t.__AMP_WAIT_,r})),t.__AMP_WAIT_=o,o)},e.Ia=function(t,e){if(this.Ea[e])return this.Ea[e];var n=new c,i=n.promise,r=n.resolve;return this.Ea[e]=i,this.Pa[e]=r,i},e.Ra=function(t,e){if(this.Ea[t]){var n=this.Pa[t];Kt(n,"Duplicate template type: %s",t),delete this.Pa[t],n(e)}else this.Ea[t]=Promise.resolve(e)},e.Di=function(t,e){return t.render(e)},e.Oa=function(t,e){return t.setHtml(e)},t}(),qa=function(){function t(t){this.win=t,this.Sa=this.win.Promise.resolve(),this._a=0,this.Ma={},this.ka=Date.now()}var e=t.prototype;return e.timeSinceStart=function(){return Date.now()-this.ka},e.delay=function(t,e){var n=this;if(!e){var i="p"+this._a++;return this.Sa.then((function(){n.Ma[i]?delete n.Ma[i]:t()})).catch(Po),i}return this.win.setTimeout((function(){try{t()}catch(t){throw Po(t),t}}),e)},e.cancel=function(t){"string"!=typeof t?this.win.clearTimeout(t):this.Ma[t]=!0},e.promise=function(t){var e=this;return new this.win.Promise((function(n){if(-1==e.delay(n,t))throw new Error("Failed to schedule timer.")}))},e.timeoutPromise=function(t,e,n){var i,r=this,o=new this.win.Promise((function(e,o){if(-1==(i=r.delay((function(){o(Ht().createError(n||"timeout"))}),t)))throw new Error("Failed to schedule timer.")}));if(!e)return o;var s=function(){r.cancel(i)};return e.then(s,s),this.win.Promise.race([o,e])},e.poll=function(t,e){var n=this;return new this.win.Promise((function(i){var r=n.win.setInterval((function(){e()&&(n.win.clearInterval(r),i())}),t)}))},t}();function Ha(t){Ze(t,"timer",qa)}var za=function(){function t(t){var e=t.getRootNode(),n=e.ownerDocument||e;this.Ca=n.createElement("a"),this.Ot=new $r(100)}var e=t.prototype;return e.parse=function(t,e){return io(this.Ca,t,e?null:this.Ot)},e.Na=function(t){return"string"!=typeof t?t:this.parse(t)},e.isProtocolValid=function(t){return fo(t)},e.getSourceOrigin=function(t){return go(this.Na(t))},e.getSourceUrl=function(t){return vo(this.Na(t))},e.resolveRelativeUrl=function(t,e){return yo(t,this.Na(e))},e.assertHttpsUrl=function(t,e){return co(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"source")},e.assertAbsoluteHttpOrHttpsUrl=function(t){return function(t){return Kt(/^https?\:/i.test(t),'URL must start with "http://" or "https://". Invalid value: %s',t),no(t).href}(t)},e.isProxyOrigin=function(t){return lo(this.Na(t))},e.isSecure=function(t){return uo(this.Na(t))},e.getWinOrigin=function(t){return t.origin||this.Na(t.location.href).origin},e.getCdnUrlOnOrigin=function(t){if(lo(t))return t;var e=this.Na(t),n=e.hash,i=e.host,r=e.pathname,o=e.search,s=encodeURIComponent(i);return"".concat(At,"/c/").concat(s).concat(r).concat(o).concat(n)},t}(),Wa="Expander",Ga=function(){function t(t,e,n,i,r,o){this.ja=t,this.Da=e,this.La=n,this.Ua=i,this.ys=r,this.za=!o}var e=t.prototype;return e.expand=function(t){if(!t.length)return this.Ua?t:Promise.resolve(t);var e=this.ja.getExpr(this.Da,this.ys),n=this.Ha(t,e);return n.length?this.Ga(t,n):this.Ua?t:Promise.resolve(t)},e.getMacroNames=function(t){var e=this.ja.getExpr(this.Da,this.ys);return t.match(e)||[]},e.Ha=function(t,e){var n=[];return t.replace(e,(function(t,e,i){var r=t.length,o={start:i,stop:r+i-1,name:e,length:r};n.push(o)})),n},e.Ga=function(t,e){var n=this,i=[],r=0,o=0,s=e[o],a=0,u=!1;return function c(h){for(var l,f="",p=[],m=[];r<t.length&&o<=e.length;){var v,g=f.trim();if(s&&r===s.start)g&&p.push(a?(l=f).trimStart?l.trimStart():(l+"_").trim().slice(0,-1):f),v=n.Da&&A(n.Da,s.name)?{name:s.name,prioritized:n.Da[s.name],encode:h}:I(I({},n.ja.get(s.name)),{},{name:s.name,encode:h}),r=s.stop+1,s=e[++o],"("===t[r]?(r++,a++,i.push(v),p.push(c(!1))):p.push(n.Va(v)),f="";else if("`"===t[r])u?(u=!1,f.length&&p.push(f)):(u=!0,g&&p.push(g)),f="",r++;else if(a&&","===t[r]&&!u)g&&p.push(g),m.push(p),p=[],","===t[r+1]&&(m.push([""]),r++),f="",r++;else{if(a&&")"===t[r]&&!u){r++,a--;var y=i.pop();return g&&p.push(g),m.push(p),n.Va(y,m)}f+=t[r],r++}r===t.length&&f.length&&p.push(f)}return n.Ua?p.join(""):Promise.all(p).then((function(t){return t.join("")})).catch((function(t){return d(t),""}))}(this.za)},e.Va=function(t,e){var n,i=t.encode,r=t.name;if(null!=t.prioritized?n=t.prioritized:this.Ua&&null!=t.sync?n=t.sync:this.Ua?(Ht().error(Wa,"ignoring async replacement key: ",t.name),n=""):n=t.async||t.sync,this.Ua){var o=this.Fa(n,r,e);return i?encodeURIComponent(o):o}return this.Ba(n,r,e).then((function(t){return i?encodeURIComponent(t):t}))},e.Ba=function(t,e,n){var i,r=this;try{if("function"==typeof t){var o=t;i=n?this.qa(n).then((function(t){return o.apply(null,t)})):h(o)}else i=Promise.resolve(t);return i.then((function(t){return r.Wa(e,t,n),null==t?"":t})).catch((function(t){return d(t),r.Wa(e,"",n),Promise.resolve("")}))}catch(t){return d(t),this.Wa(e,"",n),Promise.resolve("")}},e.qa=function(t){return Promise.all(t.map((function(t){return Promise.all(t).then((function(t){return t.join("")}))})))},e.Fa=function(t,e,n){try{var i,r=t;return"function"==typeof t&&(r=t.apply(null,this.$a(n))),r&&"function"==typeof r.then?(Ht().error(Wa,"ignoring async macro resolution"),i=""):"string"==typeof r||"number"==typeof r||"boolean"==typeof r?(this.Wa(e,r,n),i=r.toString()):(this.Wa(e,"",n),i=""),i}catch(t){return d(t),this.Wa(e,"",n),""}},e.$a=function(t){return t?t.map((function(t){return t.join("")})):t},e.Wa=function(t,e,n){if(this.La){var i="";if(n){var r=n.filter((function(t){return""!==t})).join(",");i="(".concat(r,")")}this.La["".concat(t).concat(i)]=e||""}},t}(),Ka={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 Ya(t,e,n){var i,r=Ka[e]||3,o=n?Ka[n]||3:r,s=Math.max(r,o);if(1===s)i=u();else if(2===s)i=fi(t.document);else if(3===s)i=Vr(t);else if(4===s){var a=Fn(t);i=Vr(t).then((function(){return a.promise(1)}))}return Gt(i),i.then((function(){return Ja(t,e,n)}))}function Ja(t,e,n){var i=t.performance&&t.performance.timing;if(i&&0!=i.navigationStart){var r=void 0===n?i[e]:i[n]-i[e];return!z(r)||r<0?void 0:r}}function Xa(t,e){var n=t.performance&&t.performance.navigation;if(n&&void 0!==n[e])return n[e]}var Qa="UrlReplacements";function $a(t){return function(){return(new Date)[t]()}}function Za(t,e){return function(){return t[e]}}function tu(t,e){return e?(Kt("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"}var eu=function(t){D(n,t);var e=B(n);function n(t){var n;return(n=e.call(this,t)).Ya=null,n.Ka={},n}var i=n.prototype;return i.Xa=function(t,e,n){var i=this;return this.setBoth(t,(function(){return Ja(i.ampdoc.win,e,n)}),(function(){return Ya(i.ampdoc.win,e,n)}))},i.initialize=function(){var t=this,e=this.ampdoc.win,n=this.ampdoc.getHeadNode(),i=Kn(this.ampdoc);Hn(this.ampdoc).then((function(e){t.Ya=e})),this.set("RANDOM",(function(){return Math.random()}));var r=Object.create(null);this.set("COUNTER",(function(t){return r[t]=1+(0|r[t])})),this.set("CANONICAL_URL",(function(){return t.Ja().canonicalUrl})),this.set("CANONICAL_HOST",(function(){return no(t.Ja().canonicalUrl).host})),this.set("CANONICAL_HOSTNAME",(function(){return no(t.Ja().canonicalUrl).hostname})),this.set("CANONICAL_PATH",(function(){return no(t.Ja().canonicalUrl).pathname})),this.setAsync("DOCUMENT_REFERRER",(function(){return Wn(t.ampdoc).getReferrerUrl()})),this.setAsync("EXTERNAL_REFERRER",(function(){return Wn(t.ampdoc).getReferrerUrl().then((function(t){return t?no(vo(t)).hostname===_i.getHostname(e)?null:t:null}))})),this.set("TITLE",(function(){var t=e.document;return t.originalTitle||t.title})),this.set("AMPDOC_URL",(function(){return ho(t.Qa(e.location.href))})),this.set("AMPDOC_HOST",(function(){var t=no(e.location.href);return t&&t.host})),this.set("AMPDOC_HOSTNAME",(function(){var t=no(e.location.href);return t&&t.hostname}));var o=function(){var e=t.Ja();return ho(t.Qa(e.sourceUrl))};this.setBoth("SOURCE_URL",(function(){return o()}),(function(){return wa().then((function(){return o()}))})),this.set("SOURCE_HOST",(function(){return no(t.Ja().sourceUrl).host})),this.set("SOURCE_HOSTNAME",(function(){return no(t.Ja().sourceUrl).hostname})),this.set("SOURCE_PATH",(function(){return no(t.Ja().sourceUrl).pathname})),this.set("PAGE_VIEW_ID",(function(){return t.Ja().pageViewId})),this.setAsync("PAGE_VIEW_ID_64",(function(){return t.Ja().pageViewId64})),this.setBoth("QUERY_PARAM",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.Za(e,n)}),(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return wa().then((function(){return t.Za(e,n)}))})),this.set("FRAGMENT_PARAM",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.tf(e,n)}));var s=null;this.setBoth("CLIENT_ID",(function(t){return s?s[t]:null}),(function(e,i,r,o){Kt(e,"The first argument to CLIENT_ID, the fallback Cookie name, is required");var a=u();return i&&(a=function(t){return An(t,"userNotificationManager","amp-user-notification")}(n).then((function(t){return t.get(i)}))),Mn(t.ampdoc).then((function(t){return o="true"==o,t.get({scope:e,createCookieIfNotPresent:!0,cookieName:r||void 0,disableBackup:o},a)})).then((function(t){return s||(s=Object.create(null)),t&&"_ga"==(r||e)&&("string"==typeof t?t=t.replace(/^(GA1|1)\.[\d-]+\./,""):Wt().error(Qa,"non-string cid, what is it?",Object.keys(t))),s[e]=t,t}))})),this.setAsync("VARIANT",(function(e){return t.nf((function(t){var n=t[e];return Kt(void 0!==n,"The value passed to VARIANT() is not a valid experiment in <amp-experiment>:"+e),null===n?"none":n}),"VARIANT")})),this.setAsync("VARIANTS",(function(){return t.nf((function(t){var e=[];for(var n in t){var i=t[n];e.push(n+"."+(i||"none"))}return e.join("!")}),"VARIANTS")})),this.setBoth("AMP_GEO",(function(e){return tu(t.Ya,e)}),(function(e){return t.if((function(t){return tu(t,e)}),"AMP_GEO")})),this.set("TIMESTAMP",$a("getTime")),this.set("TIMESTAMP_ISO",$a("toISOString")),this.set("TIMEZONE",$a("getTimezoneOffset")),this.set("SCROLL_HEIGHT",(function(){return i.getScrollHeight()})),this.set("SCROLL_WIDTH",(function(){return i.getScrollWidth()})),this.set("VIEWPORT_HEIGHT",(function(){return i.getHeight()})),this.set("VIEWPORT_WIDTH",(function(){return i.getWidth()}));var a=e.screen;this.set("SCREEN_WIDTH",Za(a,"width")),this.set("SCREEN_HEIGHT",Za(a,"height")),this.set("AVAILABLE_SCREEN_HEIGHT",Za(a,"availHeight")),this.set("AVAILABLE_SCREEN_WIDTH",Za(a,"availWidth")),this.set("SCREEN_COLOR_DEPTH",Za(a,"colorDepth")),this.set("DOCUMENT_CHARSET",(function(){var t=e.document;return t.characterSet||t.charset})),this.set("BROWSER_LANGUAGE",(function(){var t=e.navigator;return(t.language||t.userLanguage||t.browserLanguage||"").toLowerCase()})),this.set("USER_AGENT",(function(){return e.navigator.userAgent})),this.setBoth("UACH",(function(e){var n;return null!==(n=t.Ka[e])&&void 0!==n?n:""}),(function(n){return t.rf(n,e)})),this.Xa("PAGE_LOAD_TIME","navigationStart","loadEventStart"),this.Xa("DOMAIN_LOOKUP_TIME","domainLookupStart","domainLookupEnd"),this.Xa("TCP_CONNECT_TIME","connectStart","connectEnd"),this.Xa("SERVER_RESPONSE_TIME","requestStart","responseStart"),this.Xa("PAGE_DOWNLOAD_TIME","responseStart","responseEnd"),this.Xa("REDIRECT_TIME","navigationStart","fetchStart"),this.Xa("DOM_INTERACTIVE_TIME","navigationStart","domInteractive"),this.Xa("CONTENT_LOAD_TIME","navigationStart","domContentLoadedEventStart"),this.setAsync("ACCESS_READER_ID",(function(){return t.ef((function(t){return t.getAccessReaderId()}),"ACCESS_READER_ID")})),this.setAsync("AUTHDATA",(function(e){return Kt(e,"The first argument to AUTHDATA, the field, is required"),t.ef((function(t){return t.getAuthdataField(e)}),"AUTHDATA")})),this.setAsync("VIEWER",(function(){return Wn(t.ampdoc).getViewerOrigin().then((function(t){return null==t?"":t}))})),this.setAsync("TOTAL_ENGAGED_TIME",(function(){return Tn(n).then((function(t){return t.getTotalEngagedTime()}))})),this.setAsync("INCREMENTAL_ENGAGED_TIME",(function(t,e){return Tn(n).then((function(n){return n.getIncrementalEngagedTime(t,"false"!==e)}))})),this.set("NAV_TIMING",(function(t,n){return Kt(t,"The first argument to NAV_TIMING, the start attribute name, is required"),Ja(e,t,n)})),this.setAsync("NAV_TIMING",(function(t,n){return Kt(t,"The first argument to NAV_TIMING, the start attribute name, is required"),Ya(e,t,n)})),this.set("NAV_TYPE",(function(){return Xa(e,"type")})),this.set("NAV_REDIRECT_COUNT",(function(){return Xa(e,"redirectCount")})),this.set("AMP_VERSION",(function(){return"2410292120000"})),this.set("BACKGROUND_STATE",(function(){return t.ampdoc.isVisible()?"0":"1"})),this.setAsync("VIDEO_STATE",(function(e,n){return(i=t.ampdoc,rn(i,"video-manager")).getVideoStateProperty(e,n);var i})),this.setAsync("AMP_STATE",(function(e){var n=t.ampdoc.getRootNode(),i=n.documentElement||n;return Cn(i).then((function(t){return t&&t.getStateValue(e)||""}))}))},i.Qa=function(t){var e=this.Ja().replaceParams;return e?function(t,e){for(var n=dt(no(t).search),i={},r=Object.keys(e),o=0;o<r.length;o++)A(n,r[o])||(i[r[o]]=e[r[o]]);return so(t,i)}(po(t),e):t},i.Ja=function(){return Ln(this.ampdoc)},i.ef=function(t,e){var n=this.ampdoc.getHeadNode();return Promise.all([xn(n),Pn(n)]).then((function(n){var i=n[0],r=n[1],o=i||r;return o?i&&r?t(r)||t(i):t(o):(Ht().error(Qa,"Access or subsciptions service is not installed to access: ",e),null)}))},i.Za=function(t,e){Kt(t,"The first argument to QUERY_PARAM, the query string param is required");var n=dt(no(po(this.ampdoc.win.location.href)).search),i=this.Ja().replaceParams;return void 0!==n[t]?n[t]:i&&void 0!==i[t]?i[t]:e},i.tf=function(t,e){Kt(t,"The first argument to FRAGMENT_PARAM, the fragment string param is required"),Kt("string"==typeof t,"param should be a string");var n=pt(this.ampdoc.win);return void 0===n[t]?e:n[t]},i.nf=function(t,e){return(n=this.ampdoc.getHeadNode(),En(n,"variant","amp-experiment",!0)).then((function(t){return Kt(t,"To use variable %s, amp-experiment should be configured",e),t.getVariants()})).then((function(e){return t(e)}));var n},i.if=function(t,e){var n=this;return null!==this.Ya?t(this.Ya):Hn(this.ampdoc.getHeadNode()).then((function(i){return Kt(i,"To use variable %s, amp-geo should be configured",e),n.Ya=i,t(i)}))},i.rf=function(t,e){var n,i,r,o=this;return t in this.Ka?Promise.resolve(this.Ka[t]):(null===(n=e.navigator)||void 0===n||null===(i=n.userAgentData)||void 0===i||null===(r=i.getHighEntropyValues([t]))||void 0===r?void 0:r.then((function(e){var n="object"!==m(e[t])?e[t]:JSON.stringify(e[t]);return o.Ka[t]=n,n})))||Promise.resolve("")},n}(function(){function t(t){this.ampdoc=t,this.uf=Object.create(null),this.sf=!1,this.hf()}var e=t.prototype;return e.Go=function(){this.initialize(),this.sf=!0},e.initialize=function(){},e.get=function(t){return this.sf||this.Go(),this.uf[t]},e.set=function(t,e){return Gt(-1==t.indexOf("RETURN")),this.uf[t]=this.uf[t]||{sync:void 0,async:void 0},this.uf[t].sync=e,this},e.setAsync=function(t,e){return Gt(-1==t.indexOf("RETURN")),this.uf[t]=this.uf[t]||{sync:void 0,async:void 0},this.uf[t].async=e,this},e.setBoth=function(t,e,n){return this.set(t,e).setAsync(t,n)},e.getExpr=function(t,e){this.sf||this.Go();var n=I(I({},this.uf),t);return this.af(Object.keys(n),e)},e.af=function(t,e){var n=this;if(this.hf()&&(t=t.filter((function(t){return n.hf().includes(t)}))),e&&(t=t.filter((function(t){return e[t]}))),0===t.length)return/_^/g;t.sort((function(t,e){return e.length-t.length}));var i=t.map((function(t){return"$"===t[0]?"\\"+t:t})).join("|");return new RegExp("\\$?("+i+")","g")},e.hf=function(){return this.ff?this.ff:this.ampdoc.isSingleDoc()&&Os(this.ampdoc.getRootNode())?(this.ff=[""],this.ff):void 0},t}()),nu=function(){function t(t,e){this.ampdoc=t,this.ja=e}var e=t.prototype;return e.expandStringSync=function(t,e,n){return new Ga(this.ja,e,void 0,!0,n,!0).expand(t)},e.expandStringAsync=function(t,e,n){return new Ga(this.ja,e,void 0,void 0,n,!0).expand(t)},e.expandUrlSync=function(t,e,n){return this.cf(t,new Ga(this.ja,e,void 0,!0,n).expand(t))},e.expandUrlAsync=function(t,e,n,i){var r=this;return new Ga(this.ja,e,void 0,void 0,n,i).expand(t).then((function(e){return r.cf(t,e)}))},e.expandInputValueAsync=function(t){return this.lf(t,!1)},e.expandInputValueSync=function(t){return this.lf(t,!0)},e.lf=function(t,e){Gt("INPUT"==t.tagName&&"hidden"==(t.getAttribute("type")||"").toLowerCase());var n=this.vf(t);if(!n)return e?t.value:Promise.resolve(t.value);void 0===t["amp-original-value"]&&(t["amp-original-value"]=t.value);var i=new Ga(this.ja,void 0,void 0,e,n).expand(t["amp-original-value"]||t.value);return e?t.value=i:i.then((function(e){return t.value=e,e}))},e.vf=function(t,e){var n=t.getAttribute("data-amp-replace");if(n){var i={};return n.trim().split(/\s+/).forEach((function(t){!e||A(e,t)?i[t]=!0:Ht().warn("URL","Ignoring unsupported replacement",t)})),i}},e.mn=function(t){var e=Ln(this.ampdoc);if(t.origin==no(e.canonicalUrl).origin||t.origin==no(e.sourceUrl).origin)return!0;var n=this.ampdoc.getMetaByName("amp-link-variable-allowed-origin");if(n)for(var i=n.trim().split(/\s+/),r=0;r<i.length;r++)if(t.origin==no(i[r]).origin)return!0;return!1},e.maybeExpandLink=function(t,e){Gt("A"==t.tagName);var n=t,i=n.getAttribute("data-amp-addparams")||"",r=this.vf(n,{CLIENT_ID:!0,QUERY_PARAM:!0,PAGE_VIEW_ID:!0,PAGE_VIEW_ID_64:!0,NAV_TIMING:!0});if(r||i||e){var o=n["amp-original-href"]||n.getAttribute("href"),s=no(o);null==n["amp-original-href"]&&(n["amp-original-href"]=o);var a=this.mn(s);return i&&(o=so(o,dt(i=a?this.df(i,r):i))),a?(e&&(r&&r.QUERY_PARAM||(e=this.expandUrlSync(e,void 0,{QUERY_PARAM:!0})),o=so(o,dt(e))),o=this.df(o,r),n.href=o):(r&&Ht().warn("URL","Ignoring link replacement %s because the link does not go to the document's source, canonical, or allowlisted origin.",o),n.href=o)}},e.df=function(t,e){return e?this.expandUrlSync(t,void 0,e):t},e.collectVars=function(t,e){var n=Object.create(null);return new Ga(this.ja,e,n).expand(t).then((function(){return n}))},e.collectDisallowedVarsSync=function(t){var e=t.getAttribute("src"),n=new Ga(this.ja).getMacroNames(e),i=this.vf(t);return i?n.filter((function(t){return!i[t]})):n},e.cf=function(t,e){return no(e,!0).protocol!=no(t,!0).protocol?(Ht().error(Qa,"Illegal replacement of the protocol: ",t),t):(Kt(fo(e),"The replacement url has invalid protocol: %s",e),e)},e.getVariableSource=function(){return this.ja},t}(),iu=function(){function t(t){this.win=t,this.mf=_n(this.win),this.pf=this.gf(),this.Uu=[],this.bf=[],this.yf=[],this.wf=[],this.Zo=!1,this.Af=null,this.xf=null,this.Ef=this.Pf.bind(this),this.Tf=new Ps(this.win,this.Ef,16),this.Of=new Ps(this.win,this.Ef,40),this.If=this.Rf.bind(this),this.mf.isSingleDoc()?this.mf.getSingleDoc().onVisibilityChanged(this.If):Ri(this.win.document,this.If)}var e=t.prototype;return e.dispose=function(){Ti(this.win.document,this.If)},e.Rf=function(){this.Zo&&this.Sf()},e.run=function(t,e){this.Uu.push(t),this.yf.push(e||void 0),this.Bu()},e.runPromise=function(t,e){if(this.run(t,e),this.Af)return this.Af;var n=new c;return this.xf=n.resolve,this.Af=n.promise},e.createTask=function(t){var e=this;return function(n){e.run(t,n)}},e.mutate=function(t){this.run({measure:void 0,mutate:t})},e.mutatePromise=function(t){return this.runPromise({measure:void 0,mutate:t})},e.measure=function(t){this.run({measure:t,mutate:void 0})},e.measurePromise=function(t){var e=this;return new Promise((function(n){e.measure((function(){n(t())}))}))},e.canAnimate=function(t){return this._f(Gt(t))},e._f=function(t){if(Pi(this.win.document)!=Xn)return!1;if(this.mf.isSingleDoc())return this.mf.getSingleDoc().isVisible();if(t){var e=this.mf.getAmpDocIfAvailable(t);return!e||e.isVisible()}return!0},e.runAnim=function(t,e,n){return this._f(t)?(this.run(e,n),!0):(Wt().warn("VSYNC","Did not schedule a vsync request, because document was invisible"),!1)},e.createAnimTask=function(t,e){var n=this;return function(i){return n.runAnim(t,e,i)}},e.runAnimMutateSeries=function(t,e,n){var i=this;return this._f(t)?new Promise((function(r,o){var s=Date.now(),a=0,u=i.createAnimTask(t,{mutate:function(t){var i=Date.now()-s;e(i,i-a,t)?n&&i>n?o(new Error("timeout")):(a=i,u(t)):r()}});u({})})):Promise.reject(Ro())},e.Bu=function(){this.Zo||(this.Zo=!0,this.Sf())},e.Sf=function(){this._f()?(this.pf(this.Ef),this.Of.schedule()):this.Tf.schedule()},e.Pf=function(){this.Of.cancel(),this.Zo=!1;var t=this.xf,e=this.yf,n=this.Uu;this.xf=null,this.Af=null,this.Uu=this.bf,this.yf=this.wf;for(var i=0;i<n.length;i++)n[i].measure&&(ru(n[i].measure,e[i])||(n[i].mutate=void 0));for(var r=0;r<n.length;r++)n[r].mutate&&ru(n[r].mutate,e[r]);this.bf=n,this.wf=e,this.bf.length=0,this.wf.length=0,t&&t()},e.gf=function(){var t=this,e=this.win.requestAnimationFrame||this.win.webkitRequestAnimationFrame;if(e)return e.bind(this.win);var n=0;return function(e){var i=Date.now(),r=Math.max(0,16-(i-n));n=i+r,t.win.setTimeout(e,r)}},t}();function ru(t,e){Gt(t);try{void 0!==t(e)&&Wt().error("VSYNC","callback returned a value but vsync cannot propogate it: %s",t.toString())}catch(t){return d(t),!1}return!0}function ou(t){if(!t.defaultPrevented){var e=t.target;if(e&&"FORM"==e.tagName){(e.classList.contains("i-amphtml-form")?!e.hasAttribute("amp-novalidate"):!e.hasAttribute("novalidate"))&&e.checkValidity&&!e.checkValidity()&&t.preventDefault();for(var n=e.elements,i=0;i<n.length;i++)Kt(!n[i].name||n[i].name!=to,"Illegal input name, %s found: %s",to,n[i]);var r=e.getAttribute("action"),o=e.getAttribute("action-xhr"),s=(e.getAttribute("method")||"GET").toUpperCase();o&&(co(o,e,"action-xhr"),Kt(!lo(o),"form action-xhr should not be on AMP CDN: %s",e),wo(o)),r&&(co(r,e,"action"),Kt(!lo(r),"form action should not be on AMP CDN: %s",e),wo(r)),"GET"==s?Kt(o||r,"form action-xhr or action attribute is required for method=GET: %s",e):"POST"==s&&(r&&Ht().error("form","action attribute is invalid for method=POST: %s",e),o||(t.preventDefault(),Kt(!1,"Only XHR based (via action-xhr attribute) submissions are support for POST requests. %s",e)));var a=e.getAttribute("target");a?Kt("_blank"==a||"_top"==a,"form target=%s is invalid can only be _blank or _top: %s",a,e):e.setAttribute("target","_top"),o&&(t.preventDefault(),t.stopImmediatePropagation(),Rn(e).execute(e,"submit",null,e,e,t,3))}}}var su="Input",au=function(){function t(t){this.win=t,this.Mf=this.kf.bind(this),this.Cf=this.Nf.bind(this),this.jf=null,this.Df=null,this.Lf=null,this.Uf="ontouchstart"in t||void 0!==t.navigator.maxTouchPoints&&t.navigator.maxTouchPoints>0||void 0!==t.DocumentTouch,Wt().fine(su,"touch detected:",this.Uf),this.zf=!1,this.win.document.addEventListener("keydown",this.Mf),this.win.document.addEventListener("mousedown",this.Cf),this.Hf=!0,this.Gf=0,this.Vf=new ti,this.Ff=new ti,this.Bf=new ti,this.Uf&&(this.Hf=!this.Uf,this.jf=this.qf.bind(this),jr(t.document,"mousemove",this.jf))}var e=t.prototype;return e.setupInputModeClasses=function(t){var e=this;this.onTouchDetected((function(n){e.Wf(t,"amp-mode-touch",n)}),!0),this.onMouseDetected((function(n){e.Wf(t,"amp-mode-mouse",n)}),!0),this.onKeyboardStateChanged((function(n){e.Wf(t,"amp-mode-keyboard-active",n)}),!0)},e.isTouchDetected=function(){return this.Uf},e.onTouchDetected=function(t,e){return e&&t(this.isTouchDetected()),this.Vf.add(t)},e.isMouseDetected=function(){return this.Hf},e.onMouseDetected=function(t,e){return e&&t(this.isMouseDetected()),this.Ff.add(t)},e.isKeyboardActive=function(){return this.zf},e.onKeyboardStateChanged=function(t,e){return e&&t(this.isKeyboardActive()),this.Bf.add(t)},e.Wf=function(t,e,n){var i=this;t.waitForBodyOpen().then((function(t){Gn(i.win).mutate((function(){t.classList.toggle(e,n)}))}))},e.kf=function(t){if(!this.zf&&!t.defaultPrevented){var e=t.target;e&&("INPUT"==e.tagName||"TEXTAREA"==e.tagName||"SELECT"==e.tagName||"OPTION"==e.tagName||e.hasAttribute("contenteditable"))||(this.zf=!0,this.Bf.fire(!0),Wt().fine(su,"keyboard activated"))}},e.Nf=function(){this.zf&&(this.zf=!1,this.Bf.fire(!1),Wt().fine(su,"keyboard deactivated"))},e.qf=function(t){var e=this;if(!t.sourceCapabilities||!t.sourceCapabilities.firesTouchEvents){var n;this.Lf||(this.Lf=this.$f.bind(this),this.Df=this.Yf.bind(this));var i=function(t,e,n,i){var r,o=new Promise((function(e){r=jr(t,"click",e,void 0)}));return o.then(r,r),i&&i(r),o}(this.win.document,0,0,(function(t){n=t}));return Fn(this.win).timeoutPromise(300,i).then(this.Df,(function(){n&&n(),e.Lf()}))}this.Yf()},e.$f=function(){this.Hf=!0,this.Ff.fire(!0),Wt().fine(su,"mouse detected")},e.Yf=function(){this.Gf++,this.Gf<=3?jr(this.win.document,"mousemove",this.jf):Wt().fine(su,"mouse detection failed")},t}(),uu=["<link rel=preload referrerpolicy=origin>"],cu=18e4,hu=null,lu=function(){function t(t){this.Kf=t.document,this.Xf=t.document.head,this.Jf={},this.Qf={},this.Ih=Un(t),this.Jf[no(t.location.href).origin]=!0,this.Zf=function(t){if(!hu){var e=t.document.createElement("link"),n=e.relList;if(e.as="invalid-value",!n||!n.supports)return{};hu={preconnect:n.supports("preconnect"),preload:n.supports("preload"),onlyValidAs:"invalid-value"!=e.as}}return hu}(t),this.Xo=Fn(t)}var e=t.prototype;return e.url=function(t,e,n){var i=this;t.whenFirstVisible().then((function(){i.je(t,e,n)}))},e.je=function(t,e,n){if(this.tc(e)){var i=no(e).origin,r=Date.now(),o=this.Jf[i];if(o&&r<o)n&&(this.Jf[i]=r+cu);else{var s,a=n?cu:1e4;this.Jf[i]=r+a,this.Zf.preconnect||((s=this.Kf.createElement("link")).setAttribute("rel","dns-prefetch"),s.setAttribute("href",i),this.Xf.appendChild(s));var u=this.Kf.createElement("link");u.setAttribute("rel","preconnect"),u.setAttribute("href",i),u.setAttribute("referrerpolicy","origin"),this.Xf.appendChild(u),this.Xo.delay((function(){s&&s.parentNode&&s.parentNode.removeChild(s),u.parentNode&&u.parentNode.removeChild(u)}),1e4),this.nc(t,i)}}},e.preload=function(t,e,n){var i=this;this.tc(e)&&(this.Qf[e]||(this.Qf[e]=!0,this.url(t,e,!0),this.Zf.preload&&("document"==n&&this.Ih.isSafari()||t.whenFirstVisible().then((function(){i.ic(e)})))))},e.ic=function(t){var e=Ar(this.Kf)(uu);e.setAttribute("href",t),this.Zf.onlyValidAs?e.as="fetch":e.as="",this.Xf.appendChild(e)},e.tc=function(t){return!(!t.startsWith("https:")&&!t.startsWith("http:"))},e.nc=function(t,e){if(!this.Zf.preconnect&&(this.Ih.isSafari()||this.Ih.isIos())){var n=Date.now();this.Jf[e]=n+cu;var i=e+"/robots.txt?_AMP_safari_preconnect_polyfill_cachebust="+(n-n%cu),r=new XMLHttpRequest;r.open("HEAD",i,!0),r.withCredentials=!0,r.send()}},t}();function fu(t){var e;!function(t){Ze(t,"crypto",sa)}(t),Ze(t,"batched-xhr",na),Ia(t),Ha(t),Ha(e=t),Ze(e,"vsync",iu),function(t){Ze(t,"xhr",ea)}(t),function(t){Ze(t,"input",au)}(t),function(t){Ze(t,"preconnect",lu)}(t)}var du=["AMP-AD","AMP-ANALYTICS","AMP-PIXEL","AMP-AD-EXIT"];function pu(t){if(null==t)return 0;var e=function(t){for(var e=t;null!=(t=t.parentNode);)t.nodeName.startsWith("AMP-")&&(e=t);return e}(t),n=e.nodeName;return"IMG"===n||"AMP-IMG"===n?1:"VIDEO"===n||"AMP-VIDEO"===n?2:"AMP-CAROUSEL"===n?8:"AMP-BASE-CAROUSEL"===n?16:"AMP-AD"===n?4:!n.startsWith("AMP-")&&e.textContent?32:0}var mu=function(){function t(t){var e=this;this.win=t,this.rc=ra(at(t,16)),this.ec=[],this.uc=t.performance.timeOrigin||t.performance.timing.navigationStart,this.vu=null,this.yh=null,this.qe=null,this.oc=null,this.sc=!1,this.hc=!1,this.ac=w(),this.fc=void 0,this.cc=new ei,this.lc=0,this.vc=[],this.dc=0;var n=this.win.PerformanceObserver&&this.win.PerformanceObserver.supportedEntryTypes||[];if(n.includes("paint")||this.cc.rejectSignal("fcp",Wt().createExpectedError("First Contentful Paint not supported")),this.mc=n.includes("layout-shift"),!this.mc){var i=Wt().createExpectedError("Cumulative Layout Shift not supported");this.cc.rejectSignal(qe,i),this.cc.rejectSignal(ze,i)}this.gc=n.includes("first-input"),this.gc||this.cc.rejectSignal("fid",Wt().createExpectedError("First Input Delay not supported")),this.bc=n.includes("largest-contentful-paint"),this.bc||this.cc.rejectSignal("lcp",Wt().createExpectedError("Largest Contentful Paint not supported")),this.yc=n.includes("navigation"),this.wc=n.includes("event")&&Cr(t,"interaction-to-next-paint"),this.wc||this.cc.rejectSignal(Ge,Wt().createExpectedError("Interaction to next paint not supported")),this.Ac=this.Ac.bind(this),this.addEnabledExperiment("rtv-"+_t(this.win).rtvVersion),li(t.document).then((function(){e.tick("dr"),e.flush()})),fi(t.document).then((function(){return e.xc()})),fi(t.document).then((function(){return e.Ec(40)})),this.Pc(),this.Tc=!1,this.Oc=ct(t,(function(){e.Ic()}),6e3)}var e=t.prototype;return e.coreServicesAvailable=function(){var t=this,e=this.win.document.documentElement;this.vu=On(e),this.yh=Wn(e),this.qe=Vn(e),this.oc=Ln(this.vu),this.hc=this.yh.isEmbedded()&&"1"===this.yh.getParam("csi"),this.vu.onVisibilityChanged(this.flush.bind(this)),this.Rc();var n=this.yh.whenMessagingReady();return this.vu.whenFirstVisible().then((function(){t.tick("ofv"),t.flush()})),(this.bc||this.mc)&&this.vu.onVisibilityChanged(this.Ac),n?n.then((function(){t.tickDelta("msr",t.win.performance.now()),t.tick("timeOrigin",void 0,t.uc);var e=t.vu.getMetaByName("amp-usqp");return e&&e.split(",").forEach((function(e){t.addEnabledExperiment("ssr-"+e)})),t.Sc()})).then((function(){t.sc=!0,t._c(),t.flush()})):u()},e.Sc=function(){var t,e=this;return(t=_n(this.win).getSingleDoc(),t.waitForBodyOpen().then((function(){var e,n,i=t.getBody(),r=(e=i,n=function(){return!!i.firstElementChild},new Promise((function(t){me(e,n,t)})));return Fn(t.win).timeoutPromise(2e3,r).then((function(){return"AMP-STORY"===i.firstElementChild.tagName}),(function(){return!1}))}))).then((function(t){t&&e.addEnabledExperiment("story")}))},e.xc=function(){this.tick("ol"),this.flush()},e.Pc=function(){var t=this;if("inabox"!==_t(this.win).runtime){var e=!1,n=!1,i=!1,r=!1,o=function(o){if("first-paint"!=o.name||e)if("first-contentful-paint"!=o.name||n)if("first-input"!==o.entryType||i)"layout-shift"===o.entryType?o.hadRecentInput||(t.Mc(o),t.dc+=o.value):"largest-contentful-paint"===o.entryType?t.kc(o):"navigation"!=o.entryType||r?"event"==o.entryType&&o.interactionId&&t.Ec(o.duration):(["domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","loadEventEnd","loadEventStart","requestStart","responseStart"].forEach((function(e){return t.tick(e,o[e])})),r=!0);else{var s=o.processingStart-o.startTime;t.tickDelta("fid",s),i=!0}else{var a=o.startTime+o.duration;t.tickDelta("fcp",a),t.tickSinceVisible("fcpv",a),n=!0}else t.tickDelta("fp",o.startTime+o.duration),e=!0},s=[];this.win.PerformancePaintTiming&&(this.win.performance.getEntriesByType("paint").forEach(o),s.push("paint")),this.gc&&this.Cc(o,{type:"first-input",buffered:!0}),this.mc&&this.Cc(o,{type:"layout-shift",buffered:!0}),this.bc&&this.Cc(o,{type:"largest-contentful-paint",buffered:!0}),this.yc&&this.Cc(o,{type:"navigation",buffered:!0}),this.wc&&this.Cc(o,{type:"event",durationThreshold:40,buffered:!0}),s.length>0&&this.Cc(o,{entryTypes:s})}},e.Cc=function(t,e){var n=this;try{new this.win.PerformanceObserver((function(e){e.getEntries().forEach(t),n.flush()})).observe(e)}catch(t){Wt().warn("Performance",t)}},e.Nc=function(){var t=this.vu.getVisibilityState();return t===Zn||t===Qn},e.Ac=function(){this.Nc()&&(this.jc(),this.Ic())},e.Dc=function(){if(!this.Tc){this.Tc=!0;var t=this.win,e=parseInt(Si(t,t.document.body).getPropertyValue("--google-font-exp"),10);e>=0&&this.addEnabledExperiment("google-font-exp=".concat(e))}},e.jc=function(){this.mc&&(this.Dc(),this.Lc())},e.Mc=function(t){if(this.vu&&!this.Nc()){var e=this.vc;if(e.length>0){var n=e[0],i=e[e.length-1];if(t.startTime-i.startTime<1e3&&t.startTime-n.startTime<5e3)return void e.push(t);this.Ic()}e.push(t),this.Oc()}},e.Ic=function(){for(var t,e=this.vc,n=this.cc.get(qe),i=0,r=0,o=a(e,!0);!(t=o()).done;){var s=t.value;if(s.sources)for(var u,c=a(s.sources,!0);!(u=c()).done;)i|=pu(u.value.node);r+=s.value}e.length=0,this.Dc(),(null==n||r>n)&&(this.cc.reset(qe),this.cc.reset(He),this.tickDelta(qe,r),this.tickDelta(He,i),this.flush())},e.Ec=function(t){if(this.vu){var e=this.cc.get(Ge);(null==e||t>e)&&(this.tickDelta(Ge,t-(null!=e?e:0)),this.flush())}},e.Lc=function(){0===this.lc?(this.tickDelta(ze,this.dc),this.flush(),this.lc=1):1===this.lc&&(this.tickDelta("cls-2",this.dc),this.flush(),this.lc=2)},e.kc=function(t){var e=t.element,n=t.startTime,i=pu(e);this.tickDelta("lcpt",i),this.tickDelta("lcp",n),this.tickSinceVisible("lcpv",n),this.flush()},e.Rc=function(){var t=this,e=!this.vu.hasBeenVisible(),n=-1;this.vu.whenFirstVisible().then((function(){n=t.win.performance.now(),t.mark("visible")})),this.Uc().then((function(){if(e){var i=n>-1?t.win.performance.now()-n:0;t.vu.whenFirstVisible().then((function(){t.tickDelta(We,i)})),t.zc(i),t.mark(We)}else t.tick(We),t.zc(t.win.performance.now()-n);t.flush()}))},e.Uc=function(){var t=this;return this.qe.whenFirstPass().then((function(){var e,n=t.win.document.documentElement,i=Kn(n).getSize();return Oe(0,0,i.width,i.height),e=n,t.win,function(t){var e=On(t);return e.signals().whenSignal(Mo).then((function(){var t=Vn(e).get().filter((function(t){return!(!t.prerenderAllowed()||du.includes(t.element.tagName))})).map((function(t){return t.element}));return 0===t.length?Promise.resolve([]):new Promise((function(n){for(var i=e.win,r=new i.IntersectionObserver((function(t){r.disconnect();for(var e=[],i=0;i<t.length;i++){var o=t[i],s=o.isIntersecting,a=o.target;s&&e.push(a)}n(e)}),{root:Se(i)?i.document:null,threshold:.01}),o=0;o<Math.min(t.length,100);o++)r.observe(t[o])})).then((function(t){return Promise.all(t.map((function(t){return t.whenLoaded()})))}))}))}(e)}))},e.tick=function(t,e,n){Gt(null==e||null==n);var i,r={label:t};null!=e?r.delta=i=Math.max(e,0):null!=n?r.value=n:(this.mark(t),i=this.win.performance.now(),r.value=this.uc+i),this.win.dispatchEvent(Nr(this.win,"perf",{label:t,delta:i})),this.sc&&this.hc?this.yh.sendMessage("tick",r):this.Hc(r),this.cc.signal(t,i)},e.mark=function(t){var e,n;null===(e=(n=this.win.performance).mark)||void 0===e||e.call(n,t)},e.tickDelta=function(t,e){this.tick(t,e)},e.tickSinceVisible=function(t,e){var n,i,r=null==e?this.win.performance.now():e,o=this.uc+r,s=null!==(n=this.yh)&&void 0!==n&&n.isEmbedded()?null===(i=this.vu)||void 0===i?void 0:i.getFirstVisibleTime():this.uc,a=s?Math.max(o-s,0):0;this.tickDelta(t,a)},e.flush=function(){this.sc&&this.hc&&(null==this.fc&&(this.fc=Object.keys(this.ac).join(",")),this.yh.sendMessage("sendCsi",{ampexp:this.fc,canonicalUrl:this.oc.canonicalUrl,eventid:this.rc},!0))},e.addEnabledExperiment=function(t){this.ac[t]=!0,this.fc=void 0},e.Hc=function(t){this.ec.length>=50&&this.ec.shift(),this.ec.push(t)},e._c=function(){var t=this;this.yh&&(this.hc?(this.ec.forEach((function(e){t.yh.sendMessage("tick",e)})),this.ec.length=0):this.ec.length=0)},e.zc=function(t){this.yh&&this.yh.sendMessage("prerenderComplete",{value:t},!0)},e.isPerformanceTrackingOn=function(){return this.hc},e.getMetric=function(t){return this.cc.whenSignal(t)},t}(),vu=function(){function t(){}var e=t.prototype;return e.get=function(){return Promise.resolve(null)},e.optOut=function(){},t}(),gu=function(){function t(t,e){this.t=t,this.dt=_t().rtvVersion||null,this.bt=e||null,this.gt=null,this.wt=1,this.yt=w(),this.xt()}var e=t.prototype;return e.getData=function(t,e,n){var i=t+"-result",r=this.wt++,o=this.registerCallback(i,(function(t){t.messageId===r&&(o(),n(t.content))})),s={};s.payload=e,s.messageId=r,this.sendMessage(t,s)},e.makeRequest=function(t,e,n){var i=this.registerCallback(e,n);return this.sendMessage(t),i},e.requestOnce=function(t,e,n){var i=this.registerCallback(e,(function(t){i(),n(t)}));return this.sendMessage(t),i},e.registerCallback=function(t,e){return this.jt(t).add(e)},e.sendMessage=function(t,e){var n=function(t,e){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.type=t,i.sentinel=e,Xo+(n||"")+JSON.stringify(i)}(t,this.gt,e,this.dt);if(this.bt)this.At(this.bt,n);else for(var i=0,r=this.t;i<10&&r!=this.t.top;i++)r=r.parent,this.At(r,n),i++},e.At=function(t,e){this.kt(t)?this.Et(t,e):t.postMessage(e,"*")},e.Et=function(t,e){t.postMessage(e,{targetOrigin:"*",includeUserActivation:!0})},e.xt=function(){var t=this;kr(this.t,"message",(function(e){if(!t.bt||e.source==t.bt){var n=function(t){if(!function(t){return"string"==typeof t&&t.startsWith(Xo)&&-1!=t.indexOf("{")}(t))return null;Z(t);var e=t.indexOf("{");return Q(-1!=e),it(t.substr(e),(function(e){d(new Error("MESSAGING: Failed to parse message: ".concat(t,"\n").concat(e.message)))}))}(Ur(e));n&&n.sentinel==t.gt&&(n.origin=e.origin,t.bt||(t.bt=e.source),t.St(n.type,n))}}),void 0)},e.setSentinel=function(t){this.gt=t},e.jt=function(t){return t in this.yt||(this.yt[t]=new ti),this.yt[t]},e.St=function(t,e){t in this.yt&&this.yt[t].fire(e)},e.kt=function(t){return 1==t.postMessage.length},t}();function yu(t){Zo(t.top)||Ze(t,"iframeMessagingClient",bu.bind(null,t),!0)}function bu(t){var e=new gu(t),n=it(t.name),i=null;return n&&n._context&&(i=n._context.sentinel),e.setSentinel(i||function(t){return String(t.Math.random()).substr(2)}(t)),e}var wu=function(){function t(t){this.qe=Vn(t),this.Gc=Gn(t.win)}var e=t.prototype;return e.forceChangeSize=function(t,e,n,i,r){this.requestChangeSize(t,e,n,r).then((function(){i&&i()}))},e.requestChangeSize=function(t,e,n,i){var r=this;return this.mutateElement(t,(function(){r.qe.getResourceForElement(t).changeSize(e,n,i)}))},e.expandElement=function(t){this.qe.getResourceForElement(t).completeExpand(),this.qe.schedulePass()},e.attemptCollapse=function(t){var e=this;return this.mutateElement(t,(function(){e.qe.getResourceForElement(t).completeCollapse()}))},e.collapseElement=function(t){this.qe.getResourceForElement(t).completeCollapse(),this.qe.schedulePass()},e.measureElement=function(t){return this.Gc.measurePromise(t)},e.mutateElement=function(t,e){return this.measureMutateElement(t,null,e)},e.measureMutateElement=function(t,e,n){var i=this;return this.Gc.runPromise({measure:function(){e&&e()},mutate:function(){n(),i.qe.schedulePass()}})},t}(),Au=function(){function t(t){this.vu=t}var e=t.prototype;return e.getAmpDoc=function(){return this.vu},e.getParam=function(t){return this.vu.getParam(t)},e.hasCapability=function(){return!1},e.isEmbedded=function(){return!1},e.isWebviewEmbedded=function(){return!1},e.isCctEmbedded=function(){return!1},e.isProxyOrigin=function(){return!1},e.maybeUpdateFragmentForCct=function(){},e.isRuntimeOn=function(){return!0},e.toggleRuntime=function(){},e.onRuntimeState=function(){return function(){}},e.isOvertakeHistory=function(){return!1},e.getResolvedViewerUrl=function(){return this.vu.win.location.href},e.maybeGetMessagingOrigin=function(){return null},e.getUnconfirmedReferrerUrl=function(){return this.vu.win.document.referrer},e.getReferrerUrl=function(){return Promise.resolve(this.getUnconfirmedReferrerUrl())},e.isTrustedViewer=function(){return Promise.resolve(!1)},e.getViewerOrigin=function(){return Promise.resolve("")},e.onMessage=function(){return function(){}},e.onMessageRespond=function(){return function(){}},e.receiveMessage=function(){},e.setMessageDeliverer=function(){},e.maybeGetMessageDeliverer=function(){return null},e.sendMessage=function(){},e.sendMessageAwaitResponse=function(){return u()},e.broadcast=function(){return Promise.resolve(!1)},e.onBroadcast=function(){return function(){}},e.whenMessagingReady=function(){return null},e.replaceUrl=function(){},t}();function Eu(t,e,n){t.requestAnimationFrame((function(){e.measure&&e.measure(n),e.mutate&&e.mutate(n)}))}var Su=function(){function t(t){this.t=t,this.ne=!1,this.te=!1,this.re=null,this.ie()}var e=t.prototype;return e.ie=function(){var t=this;this.t.addEventListener("resize",(function(){return t.onWindowResize()}))},e.onWindowResize=function(){this.ne&&(this.te=!0)},e.expandFrame=function(t,e){var n=this;!function(t,e,n){Eu(t,{measure:function(n){n.viewportSize={width:t.innerWidth,height:t.innerHeight},n.rect=_e(e.getBoundingClientRect())},mutate:function(i){var r,o=i.viewportSize,s=o.height,a=Oe(0,0,o.width,s);!function(t,e,n){var i,r,o=Ai(n.width/2-e.width/2-e.left),s=Ai(n.height/2-e.height/2-e.top);bi(t,{position:"fixed",top:Ai(e.top),right:Ai(n.width-(e.left+e.width)),left:Ai(e.left),bottom:Ai(n.height-(e.top+e.height)),height:Ai(e.height),width:Ai(e.width),transition:"transform ".concat(150,"ms ease"),transform:(i=o,r=s,null==r?"translate(".concat(Ei(i,Ai),")"):"translate(".concat(Ei(i,Ai),", ").concat(Ei(r,Ai),")")),margin:0})}(e,i.rect,i.viewportSize),gi(e,{"pointer-events":"none"}),r=function(){Eu(t,{mutate:function(){xi(e,["pointer-events"]),function(t){bi(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),n(i.rect,a)}})},setTimeout(r,200)}},{})}(this.t,t,(function(t,i){n.ne=!0,n.te=!1,n.re=t,e(i)}))},e.collapseFrame=function(t,e){var n=this;!function(t,i){Eu(t,{mutate:function(){!function(t){xi(t,["position","z-index","left","right","top","bottom","width","height","margin","border"])}(i),n.ne=!1,n.te||e(n.re),Eu(t,{measure:function(){var t;t=_e(i.getBoundingClientRect()),n.re=t,n.te&&e(n.re)}})}})}(this.t,t)},t}(),xu=function(){function t(t){this.t=t,this.ee=null,this.oe=function(t){var e,n=t.document;return n.scrollingElement?n.scrollingElement:n.body&&(e=t.navigator.userAgent,/WebKit/i.test(e)&&!/Edge/i.test(e))?n.body:n.documentElement}(this.t),this.ue=null}var e=t.prototype;return e.observe=function(t,e){var n=this;if(!this.ee){this.ee=new ti;var i=ut(this.t,(function(){n.fe(),n.ee.fire()}),100);this.fe(),this.t.addEventListener("scroll",i,!0),this.t.addEventListener("resize",i,!0)}return e(this.se(t)),this.ee.add((function(){e(n.se(t))}))},e.fe=function(){this.ue=this.getViewportRect()},e.se=function(t){return{viewportRect:this.ue,targetRect:this.getTargetRect(t)}},e.getViewportRect=function(){var t=this.oe,e=this.t,n=t.scrollLeft||e.pageXOffset,i=t.scrollTop||e.pageYOffset;return Oe(Math.round(n),Math.round(i),e.innerWidth,e.innerHeight)},e.getTargetRect=function(t){for(var e=_e(t.getBoundingClientRect()),n=0,i=t.ownerDocument.defaultView;n<10&&i&&i!=this.t&&i!=this.t.top;n++,i=i.parent){var r=_e(i.frameElement.getBoundingClientRect());e=Ce(e,r.left,r.top)}return e},t}(),Pu="inabox-viewport",Ru=function(){function t(t,e){var n=t.win;this.ampdoc=t,this.Bs=e,this.Vc=null,this.Fc=new ti,this.Bc=new ti,this.qc=new ti,this.Bs.onScroll(this.Wc.bind(this)),this.Bs.onResize(this.$c.bind(this)),this.Yc=!1,this.ampdoc.onVisibilityChanged(this.Kc.bind(this)),this.Kc(),this.Xc=this.dispose.bind(this),n.addEventListener("pagehide",this.Xc);var i=n.document.documentElement;i.classList.add("i-amphtml-singledoc"),i.classList.add("i-amphtml-standalone"),Se(n)&&i.classList.add("i-amphtml-iframed")}var e=t.prototype;return e.dispose=function(){this.Bs.disconnect(),this.ampdoc.win.removeEventListener("pagehide",this.Xc)},e.ensureReadyForElements=function(){},e.getPaddingTop=function(){return 0},e.getScrollTop=function(){return this.Bs.getScrollTop()},e.getScrollLeft=function(){return this.Bs.getScrollLeft()},e.setScrollTop=function(t){},e.updatePaddingBottom=function(t){},e.getSize=function(){return this.Bs.getSize()},e.getHeight=function(){return this.getSize().height},e.getWidth=function(){return this.getSize().width},e.getScrollWidth=function(){return this.Bs.getScrollWidth()},e.getScrollHeight=function(){return this.Bs.getScrollHeight()},e.getContentHeight=function(){return this.Bs.getContentHeight()},e.contentHeightChanged=function(){},e.getRect=function(){if(null==this.Vc){var t=this.getSize();this.Vc=Oe(this.getScrollLeft(),this.getScrollTop(),t.width,t.height)}return this.Vc},e.getLayoutRect=function(t){return this.Bs.getLayoutRect(t)},e.getClientRectAsync=function(t){var e=t.getBoundingClientRect();return this.Bs.getRootClientRectAsync().then((function(t){return t?Ce(e,t.left,t.top):_e(e)}))},e.supportsPositionFixed=function(){return!1},e.isDeclaredFixed=function(t){return!1},e.scrollIntoView=function(t){return u()},e.animateScrollIntoView=function(t,e,n,i){return u()},e.animateScrollWithinParent=function(t,e,n,i,r){return u()},e.getScrollingElement=function(){return this.Bs.getScrollingElement()},e.onChanged=function(t){return this.Fc.add(t)},e.onScroll=function(t){return this.Bc.add(t)},e.onResize=function(t){return this.qc.add(t)},e.enterLightboxMode=function(t,e){return this.enterOverlayMode(),this.Bs.updateLightboxMode(!0)},e.leaveLightboxMode=function(t){return this.leaveOverlayMode(),this.Bs.updateLightboxMode(!1)},e.enterOverlayMode=function(){this.disableTouchZoom(),this.disableScroll()},e.leaveOverlayMode=function(){this.resetScroll(),this.restoreOriginalTouchZoom()},e.disableScroll=function(){},e.resetScroll=function(){},e.resetTouchZoom=function(){},e.disableTouchZoom=function(){return!1},e.restoreOriginalTouchZoom=function(){return!1},e.updateFixedLayer=function(){return u()},e.addToFixedLayer=function(t,e){return u()},e.removeFromFixedLayer=function(t){},e.createFixedLayer=function(t){},e.Jc=function(){var t=this.getSize(),e=this.getScrollTop(),n=this.getScrollLeft();this.Fc.fire({relayoutAll:!1,top:e,left:n,width:t.width,height:t.height,velocity:0})},e.Wc=function(){this.Vc=null,this.Bs.getScrollTop()<0||(this.Jc(),this.Bc.fire())},e.$c=function(){this.Vc=null;var t=this.getSize();this.Jc(),this.qc.fire({relayoutAll:!1,width:t.width,height:t.height})},e.Kc=function(){var t=this.ampdoc.isVisible();t!=this.Yc&&(this.Yc=t,t?(this.Bs.connect(),this.$c()):this.Bs.disconnect())},t}(),Tu=function(){function t(t){var e=this;this.win=t,this.Bc=new ti,this.qc=new ti;var n=t.innerWidth,i=t.innerHeight;this.ue=Oe(0,0,n,i),this.Qc=Oe(0,i+1,n,i),this.Zc=function(t){return nn(t,"iframeMessagingClient")}(t),this.tl=null,this.nl=ut(this.win,(function(){e.Bc.fire()}),100),this.il=Zo(this.win.top),this.rl=this.il?function(t){return t.ampInaboxPositionObserver=t.ampInaboxPositionObserver||new xu(t),t.ampInaboxPositionObserver}(this.win.top):null,this.el=this.il?function(t){return t.ampInaboxFrameOverlayManager=t.ampInaboxFrameOverlayManager||new Su(t),t.ampInaboxFrameOverlayManager}(this.win.top):null,this.ul=null,Wt().fine(Pu,"initialized inabox viewport")}var e=t.prototype;return e.connect=function(){return this.il?this.ol():this.sl()},e.sl=function(){var t=this;return this.Zc.makeRequest(Qo,$o,(function(e){Wt().fine(Pu,"Position changed: ",e),t.hl(e.viewportRect,e.targetRect)})),u()},e.ol=function(){var t,e=this;return(t=this.win.document.documentElement,sn(t,"resources")).then((function(){e.ul=e.ul||e.rl.observe(e.win.frameElement||e.getScrollingElement(),(function(t){e.hl(t.viewportRect,t.targetRect)}))}))},e.hl=function(t,e){var n=this.ue;this.ue=t,this.al(e),_u(this.ue,n)&&this.qc.fire(),Ou(this.ue,n)&&this.nl()},e.getLayoutRect=function(t){var e=t.getBoundingClientRect(),n=e.left,i=e.top;return Oe(Math.round(n+this.Qc.left),Math.round(i+this.Qc.top),Math.round(e.width),Math.round(e.height))},e.onScroll=function(t){this.Bc.add(t)},e.onResize=function(t){this.qc.add(t)},e.getSize=function(){return{width:this.ue.width,height:this.ue.height}},e.getScrollTop=function(){return this.ue.top},e.getScrollLeft=function(){return this.ue.left},e.getScrollingElement=function(){return this.getBodyElement()},e.getScrollingElementScrollsLikeViewport=function(){return!0},e.supportsPositionFixed=function(){return!1},e.al=function(t){if(t){var e,n,i=Ce(t,this.ue.left,this.ue.top);(Ou(e=i,n=this.Qc)||_u(e,n))&&(Wt().fine(Pu,"Updating viewport box rect: ",i),this.Qc=i,this.fl())}},e.getChildResources=function(){return Vn(this.win.document.documentElement).get()},e.fl=function(){this.getChildResources().forEach((function(t){return t.measure()}))},e.updateLightboxMode=function(t){return t?this.cl():this.ll()},e.getRootClientRectAsync=function(){var t=this;return this.il?this.ol().then((function(){return t.rl.getTargetRect(t.win.frameElement||t.getScrollingElement())})):(this.tl||(this.tl=new Promise((function(e){t.Zc.requestOnce(Qo,$o,(function(n){t.tl=null,Q(n.targetRect),e(n.targetRect)}))}))),this.tl)},e.cl=function(){var t=this;return this.vl().then((function(){return t.dl()}))},e.ll=function(){var t=this;return this.ml().then((function(){return t.pl()}))},e.vl=function(){return function(t,e){return Gn(t).runPromise({measure:function(e){e.width=t.innerWidth,e.height=t.innerHeight},mutate:function(t){gi(e,{background:"transparent",left:"50%",top:"50%",right:"auto",bottom:"auto",position:"absolute",height:Ai(t.height),width:Ai(t.width),"margin-top":Ai(-t.height/2),"margin-left":Ai(-t.width/2)})}},{})}(this.win,this.getBodyElement())},e.pl=function(){return function(t,e){return Gn(t).mutatePromise((function(){xi(e,["position","left","top","right","bottom","width","height","margin-left","margin-top"])}))}(this.win,this.getBodyElement())},e.dl=function(){var t=this;return new Promise((function(e,n){if(t.il){var i=t.win.frameElement;i?t.el.expandFrame(i,(function(n){t.al(n),e()})):n("Request to open lightbox failed; frame does not exist.")}else t.Zc.requestOnce("full-overlay-frame","full-overlay-frame-response",(function(i){i.success?(t.al(i.boxRect),e()):n("Request to open lightbox rejected by host document")}))}))},e.ml=function(){var t=this;return new Promise((function(e,n){if(t.il){var i=t.win.frameElement;i?t.el.collapseFrame(i,(function(n){t.al(n),e()})):n("Request to open lightbox failed; frame does not exist.")}else t.Zc.requestOnce("cancel-full-overlay-frame","cancel-full-overlay-frame-response",(function(n){t.al(n.boxRect),e()}))}))},e.getBodyElement=function(){return $(this.win.document.body)},e.disconnect=function(){this.ul&&(this.ul(),this.ul=null)},e.getScrollWidth=function(){return this.getScrollingElement().offsetWidth},e.getScrollHeight=function(){return this.getScrollingElement().offsetHeight},e.getContentHeight=function(){return this.getScrollHeight()},e.updatePaddingTop=function(){},e.hideViewerHeader=function(){},e.showViewerHeader=function(){},e.disableScroll=function(){},e.resetScroll=function(){},e.ensureReadyForElements=function(){},e.setScrollTop=function(){},e.contentHeightChanged=function(){},e.getBorderTop=function(){return 0},e.requiresFixedLayerTransfer=function(){return!1},e.overrideGlobalScrollTo=function(){return!1},t}();function Ou(t,e){return t.left!=e.left||t.top!=e.top}function _u(t,e){return t.width!=e.width||t.height!=e.height}var Cu,Mu,Lu,Iu=function(){function t(t){var e=this;this.oa=Nn(t),this.si=t.win.document,this.gl=this.si.createElement("div"),this.oa.mutateElement(this.gl,(function(){e.si.body.appendChild(e.gl),bi(e.gl,{position:"absolute",top:0,left:0,zIndex:1,visibility:"hidden","font-weight":"bold","letter-spacing":"0.2px"})}))}var e=t.prototype;return e.fit=function(t,e,n){var i=this,r=!1;return this.oa.mutateElement(e,(function(){i.gl.textContent=n;var o=function(t,e,n){for(var i=14;i>=12;i--){yi(t,"fontSize",Ai(i));var r=t.offsetHeight,o=t.offsetWidth;if(r<32&&o<n)return i}return 11}(i.gl,0,i.bl(t));o>=12&&(i.yl(e,o),r=!0)})).then((function(){return r}))},e.bl=function(t){return t.offsetWidth-84},e.yl=function(t,e){yi(t,"fontSize",Ai(e))},t}(),ku=(M(Cu={},34,(function(t,e){return t.length!==e.length})),M(Cu,15,(function(t,e){return t.element!==e.element||t.state!==e.state})),M(Cu,39,(function(t,e){return t.length!==e.length})),M(Cu,41,(function(t,e){return t.length!==e.length})),M(Cu,42,(function(t,e){return null===t||null===e||t.width!==e.width||t.height!==e.height})),M(Cu,23,(function(t,e){return null===t||null===e||!rt(t,e,2)})),M(Cu,28,(function(t,e){return null===t||null===e||!rt(t,e,2)})),M(Cu,16,(function(t,e){return!rt(t,e,3)})),"none"),Du="v0";function Nu(t){return void 0===Mu&&(e=t||Element,Mu=e.prototype.attachShadow?"v1":e.prototype.createShadowRoot?Du:ku),Mu;var e}function Bu(t,e,n){var i="";return t&&Array.prototype.forEach.call(t,(function(t){if(t.selectorText&&t.style&&void 0!==t.style.cssText)i+=function(t,e,n){var i=[];return t.split(",").forEach((function(t){t=t.trim(),n&&(t=n(t)),function(t,e){var n=function(t){return t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")"+Vu,"m")}(e);return!t.match(n)}(t,e)&&(t=function(t,e){return function(t,e){return t.match(qu)?(t=t.replace(Fu,e)).replace(qu,e+" "):e+" "+t}(t,e)}(t,e)),i.push(t)})),i.join(", ")}(t.selectorText,e,n)+" {\n\t",i+=function(t){var e=t.style.cssText;t.style.content&&!t.style.content.match(/['"]+|attr/)&&(e=e.replace(/content:[^;]*;/g,"content: '"+t.style.content+"';"));var n=t.style;for(var i in n)"initial"===n[i]&&(e+=i+": initial; ");return e}(t)+"\n}\n\n";else if(t.type===CSSRule.MEDIA_RULE)i+="@media "+t.media.mediaText+" {\n",i+=Bu(t.cssRules,e),i+="\n}\n\n";else try{t.cssText&&(i+=t.cssText+"\n\n")}catch(t){}})),i}var Uu="-shadowcsshost",ju=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Vu=(new RegExp("("+Uu+ju,"gim"),new RegExp("(-shadowcsscontext"+ju,"gim"),"([>\\s~+[.,{:][\\s\\S]*)?$"),Fu=Uu+"-no-combinator",qu=new RegExp(Uu,"gim"),Hu=(new RegExp("-shadowcsscontext","gim"),/[^\.\-\_0-9a-zA-Z]/),zu=/[^\-\_0-9a-zA-Z]/;function Wu(t){var e,n=$t(t),i=t.shadowRoot||t.__AMP_SHADOW_ROOT;if(i){if(self.trustedTypes&&self.trustedTypes.createPolicy){var r=self.trustedTypes.createPolicy("shadow-embed#createShadowRoot",{createHTML:function(t){return""}});i.innerHTML=r.createHTML("")}else i.innerHTML="";return i}var o,s=Nu();if("v1"==s?(e=t.attachShadow({mode:"open"})).styleSheets||Object.defineProperty(e,"styleSheets",{get:function(){var t=[];return e.childNodes.forEach((function(e){"STYLE"===e.tagName&&t.push(e.sheet)})),t}}):e=s==Du?t.createShadowRoot():function(t){var e=t.ownerDocument;t.classList.add("i-amphtml-shadow-host-polyfill");var n=e.createElement("style");n.textContent=".i-amphtml-shadow-host-polyfill>:not(i-amphtml-shadow-root){display:none!important}",t.appendChild(n);var i=e.createElement("i-amphtml-shadow-root");return t.appendChild(i),t.__AMP_SHADOW_ROOT=i,Object.defineProperty(t,"shadowRoot",{enumerable:!0,configurable:!0,value:i}),i.host=t,i.getElementById=function(t){var e=re(t);return i.querySelector("#".concat(e))},Object.defineProperty(i,"styleSheets",{get:function(){return e.styleSheets?U(e.styleSheets).filter((function(t){return i.contains(t.ownerNode)})):[]}}),i}(t),!function(){if(void 0!==Lu)return Lu;if(Nu()==ku)Lu=!1;else{var t=Nu()===Du?self.document.createElement("div").createShadowRoot():self.document.createElement("div").attachShadow({mode:"open"});e=ShadowRoot,Lu=!!e&&-1!=e.toString().indexOf("[native code]")&&t instanceof ShadowRoot}var e;return Lu}()){var a="i-amphtml-sd-".concat(n.Math.floor(1e4*n.Math.random()));e.id=a,e.host.classList.add(a),o=function(t){return function(t,e){return function(t,e){var n=Gt(t.id),i=t.ownerDocument,r=null;try{r=Yu(i.implementation.createHTMLDocument(""),e)}catch(t){}if(!r)try{r=Yu(i,e)}catch(t){}return r?Bu(r,".".concat(n),Gu):e}(t,e)}(e,t)},e.__AMP_CSS_TR=o}return e}function Gu(t){return t.replace(/(html|body)/g,Ku)}function Ku(t,e,n,i){var r=i.charAt(n-1),o=i.charAt(n+t.length);return r&&!Hu.test(r)||o&&!zu.test(o)?t:"amp-"+t}function Yu(t,e){var n=t.createElement("style");n.textContent=e;try{return(t.head||t.documentElement).appendChild(n),n.sheet?n.sheet.cssRules:null}finally{n.parentNode&&n.parentNode.removeChild(n)}}function Ju(t,e,n){var i=self.document.createElement("style");i.textContent=n;var r=Wu(t);return r.appendChild(i),r.appendChild(e),t}"[".concat("data-text-background-color","]");var Xu="amp-story-auto-ads:ui",Qu="amp4ads-vars-",$u=["cta-accent-color","cta-accent-element","cta-image","theme"];function Zu(t){var e=t.document;if(e.fonts&&e.fonts.values)for(var n,i=e.fonts.values();n=i.next();){var r=n.value;if(!r)return;"loading"==r.status&&"display"in r&&"auto"==r.display&&(r.display="swap")}}var tc,ec=["amp-ad","amp-embed","amp-video"],nc="extensions",ic="0.1",rc="latest",oc="__AMP_EXT_LDR",sc=function(){function t(t){this.win=t,this.mf=_n(t),this.wl={},this.Al=null,this.xl=null,this.El=null}var e=t.prototype;return e.registerExtension=function(t,e,n,i,r){var o,s=n?this.wl[cc(t,rc)]:null,a=this.Pl(t,e,null===(o=null==s?void 0:s.auto)||void 0===o||o);if(a.latest=n,!a.loaded){n&&(this.wl[cc(t,rc)]=a);try{var u,c;this.Al=t,this.xl=e,this.El=n,i(r,r._),a.loaded=!0,null===(u=a.resolve)||void 0===u||u.call(a,a.extension),null==s||null===(c=s.resolve)||void 0===c||c.call(s,a.extension)}catch(t){var h,l;throw a.error=t,null===(h=a.reject)||void 0===h||h.call(a,t),null==s||null===(l=s.reject)||void 0===l||l.call(s,t),t}finally{this.Al=null,this.xl=null,this.El=null}}},e.waitForExtension=function(t,e){var n=this.Tl(this.Pl(t,e));return Fn(this.win).timeoutPromise(16e3,n).catch((function(e){if(!e.message.includes("timeout"))throw e;return Ht().error(nc,"Waited over 16s to load extension ".concat(t,".")),n}))},e.preloadExtension=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ic;"amp-embed"==t&&(t="amp-ad");var n=this.Pl(t,e);return this.Ol(t,e,n),this.Tl(n)},e.installExtensionForDoc=function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ic,r=t.getRootNode(),o=r[oc];return o||(o=r[oc]=w()),o[e]?o[e]:(t.declareExtension(e,i),ds(t.win,e),o[e]=this.preloadExtension(e,i).then((function(){return n.installExtensionInDoc(t,e,i)})))},e.reloadExtension=function(t,e,n){var i=Qe(this.win,t,e,n,!1),r=this.wl[cc(t,e)];return r&&(Gt(!r.loaded&&!r.error),r.scriptPresent=!1),i.forEach((function(e){return e.setAttribute("i-amphtml-loaded-new-version",t)})),this.preloadExtension(t,e)},e.importUnwrapped=function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ic,r=Qe(t,e,i,!(arguments.length>3&&void 0!==arguments[3])||arguments[3]),o=r.length>0?r[0]:null;return o?n=o.__AMP_SCR_LOADED:(n=(o=Xe(this.win,e,i)).__AMP_SCR_LOADED=new Promise((function(t,e){o.onload=t,o.onerror=e})),t.document.head.appendChild(o)),n},e.loadElementClass=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ic;return this.preloadExtension(t,e).then((function(e){return Gt(e.elements[t]).implementationClass}))},e.addElement=function(t,e,n){var i=this;this.Il(t).extension.elements[t]={implementationClass:e,css:n},this.addDocFactory((function(r){i.Rl(r,t,e,n)}))},e.addTemplate=function(t,e){this.addDocFactory((function(n){!function(t,e,n){rn(t,"templates").Ra(e,n)}(n,t,e)}))},e.Rl=function(t,e,n,i){var r=this;i?zr(t,i,(function(){r.Sl(t.win,e,n)}),!1,e):this.Sl(t.win,e,n)},e.Sl=function(t,e,n){(function(t,e,n){var i=function(t,e){if(e.requiresShadowDom()&&!t.Element.prototype.attachShadow)return In(t).importUnwrapped(t,"amp-shadow-dom-polyfill")}(t,n);i?i.then((function(){return hs(t,e,n)})):hs(t,e,n)})(t,e,n),Ze(t,e,uc)},e.addService=function(t,e){this.Il(t).extension.services.push({serviceName:t,serviceClass:e}),this.addDocFactory((function(n){tn(n,t,e,!0)}))},e.addDocFactory=function(t,e){var n=this.Il(e);if(n.docFactories.push(t),this.Al&&this.mf.isSingleDoc()){var i=this.mf.getAmpDoc(this.win.document),r=this.Al,o=this.xl,s=this.El||!1;(i.declaresExtension(r,o)||s&&i.declaresExtension(r,rc)||n.auto)&&t(i)}},e.preinstallEmbed=function(t,e){var n=this.win,i=t.win;!function(t,e){ps(t,e,"amp-img"),ps(t,e,"amp-pixel")}(n,i),ac(i),e.forEach((function(e){var n=e.extensionId,r=e.extensionVersion;t.declareExtension(n,r),ec.includes(n)||ds(i,n)}))},e.installExtensionsInDoc=function(t,e){var n=this;return Promise.all(e.map((function(e){var i=e.extensionId,r=e.extensionVersion;return n.installExtensionInDoc(t,i,r)})))},e.installExtensionInDoc=function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ic;return t.declareExtension(e,i),this.Tl(this.Pl(e,i)).then((function(){n.Pl(e,i).docFactories.forEach((function(n){try{n(t)}catch(t){d("Doc factory failed: ",t,e)}}))}))},e.Pl=function(t,e,n){var i=cc(t,e),r=this.wl[i];return r||(r={version:e,latest:e==rc,extension:{elements:{},services:[]},auto:n||!1,docFactories:[],promise:void 0,resolve:void 0,reject:void 0,loaded:void 0,error:void 0,scriptPresent:void 0},this.wl[i]=r),r},e.Il=function(t){return this.Al||Wt().error(nc,"unknown extension for ",t),this.Pl(this.Al||"_UNKNOWN_",this.xl||"")},e.Tl=function(t){if(!t.promise)if(t.loaded)t.promise=Promise.resolve(t.extension);else if(t.error)t.promise=Promise.reject(t.error);else{var e=new c;t.promise=e.promise,t.resolve=e.resolve,t.reject=e.reject}return t.promise},e.Ol=function(t,e,n){if(this._l(t,e,n)){var i=Xe(this.win,t,e);this.win.document.head.appendChild(i),n.scriptPresent=!0}},e._l=function(t,e,n){if(n.loaded||n.error)return!1;if(void 0===n.scriptPresent){var i=Qe(this.win,t,e,n.latest);n.scriptPresent=i.length>0}return!n.scriptPresent},t}();function ac(t){ec.forEach((function(e){ds(t,e)}))}function uc(){return{}}function cc(t,e){return"".concat(t,":").concat(e)}Ft=jt,Wt(),Ht(),tc=function(t,e,n){Po(e,n),e&&t&&Y(e.message)&&!(e.message.indexOf(G)>=0)&&function(t,e){if(_n(e).isSingleDoc()){var n={errorName:t.name,errorMessage:t.message};!function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];(function(t){return En(t,"amp-analytics-instrumentation","amp-analytics")})(t).then((function(r){r&&r.triggerEventForTarget(t,e,n,i)}))}(function(t){var e=_n(t).getSingleDoc().getRootNode();return e.documentElement||e.body||e}(e),"user-error",n,!1)}}(e,t)}.bind(null,self),self.__AMP_REPORT_ERROR=tc;var hc,lc,fc="runtime";function dc(t,e){if(t.__AMP_TAG)return u();t.__AMP_TAG=!0;var n=t.AMP||[];Ze(t,"extensions",sc);var i=In(t);fu(t),ac(t),t.AMP={win:t,_:t.AMP?t.AMP._:void 0},t.AMP.config={urls:{thirdParty:yt,thirdPartyFrameHost:bt,thirdPartyFrameRegex:wt,cdn:At,cdnProxyRegex:vt,localhostRegex:Et,errorReporting:St,betaErrorReporting:xt,localDev:Pt,trustedViewerHosts:Rt,geoApi:Tt}},t.AMP.addGlobalConsentListener=function(){},t.AMP.addGranularConsentListener=function(){},t.AMP.BaseElement=Ko,t.AMP.registerElement=i.addElement.bind(i),t.AMP.registerTemplate=i.addTemplate.bind(i),t.AMP.registerServiceForDoc=i.addService.bind(i),t.AMP.isExperimentOn=Cr.bind(null,t),t.AMP.toggleExperiment=Mr.bind(null,t),t.AMP.setLogLevel=kt.bind(null),t.AMP.setTickFunction=function(t,e){};var r=e(t,i);function o(e){!function(t,e,n){"function"==typeof e||"high"==e.p?u().then(n):(n.displayName=e.n,Fo(t.document,n))}(t,e,(function(){r.then((function(){"function"==typeof e?e(t.AMP,t.AMP.Ml):i.registerExtension(e.n,e.ev,e.l,e.f,t.AMP)}))}))}for(var s=0;s<n.length;s++){var a=n[s];if(pc(t,a))n.splice(s--,1);else if("function"==typeof a||"high"==a.p){try{o(a)}catch(t){Wt().error(fc,"Extension failed: ",t,a.n)}n.splice(s--,1)}}!function(t,e){t.document.body&&!function(t){return Hr(t).length>0}(t)?Fn(t).delay(e,1):e()}(t,(function(){t.AMP.push=function(e){pc(t,e)||o(e)};for(var e=0;e<n.length;e++){var i=n[e];if(!pc(t,i))try{o(i)}catch(t){Wt().error(fc,"Extension failed: ",t,i.n)}}n.length=0})),t.AMP.push||(t.AMP.push=n.push.bind(n)),Un(t).isIos()&&yi(t.document.documentElement,"cursor","pointer");var c=In(t);return Ue(t)&&c.preloadExtension("amp-resize-observer-polyfill"),Le(t)&&c.preloadExtension("amp-intersection-observer-polyfill"),r}function pc(t,e){return"function"!=typeof e&&(!!e.m||"2410292120000"!=e.v&&(In(t).reloadExtension(e.n,e.ev,e.l),!0))}_t(self).runtime="inabox",_t(self).a4aId=(lc=self.document.head.querySelector('meta[name="amp4ads-id"]'))?lc.getAttribute("content"):null;try{!function(t){t.onerror=Oo,t.addEventListener("unhandledrejection",(function(t){!t.reason||t.reason.message!==Ao&&t.reason.message!==Eo&&"AbortError"!==t.reason.message?Po(t.reason||new Error("rejected promise "+t)):t.preventDefault()}))}(self),function(t){Ze(t,"ampdoc",(function(){return new ki(t,!0,void 0)}))}(self),hc=_n(self)}catch(t){throw Kr(self.document),t}jo=!0,Fo(self.document,(function(){var t=hc.getAmpDoc(self.document);Ia(self),Ze(self,"performance",mu);var e=Bn(self);e.tick("is"),self.document.documentElement.classList.add("i-amphtml-inabox"),zr(t,"[hidden]{display:none!important}.i-amphtml-element{display:inline-block}.i-amphtml-blurry-placeholder{transition:opacity 0.3s cubic-bezier(0.0,0.0,0.2,1)!important;pointer-events:none}[layout=nodisplay]:not(.i-amphtml-element){display:none!important}.i-amphtml-layout-fixed,[layout=fixed][width][height]:not(.i-amphtml-layout-fixed){display:inline-block;position:relative}.i-amphtml-layout-responsive,[layout=responsive][width][height]:not(.i-amphtml-layout-responsive),[width][height][heights]:not([layout]):not(.i-amphtml-layout-responsive),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-layout-responsive){display:block;position:relative}.i-amphtml-layout-intrinsic,[layout=intrinsic][width][height]:not(.i-amphtml-layout-intrinsic){display:inline-block;position:relative;max-width:100%}.i-amphtml-layout-intrinsic .i-amphtml-sizer{max-width:100%}.i-amphtml-intrinsic-sizer{max-width:100%;display:block!important}.i-amphtml-layout-container,.i-amphtml-layout-fixed-height,[layout=container],[layout=fixed-height][height]:not(.i-amphtml-layout-fixed-height){display:block;position:relative}.i-amphtml-layout-fill,.i-amphtml-layout-fill.i-amphtml-notbuilt,[layout=fill]:not(.i-amphtml-layout-fill),body noscript>*{display:block;overflow:hidden!important;position:absolute;top:0;left:0;bottom:0;right:0}body noscript>*{position:absolute!important;width:100%;height:100%;z-index:2}body noscript{display:inline!important}.i-amphtml-layout-flex-item,[layout=flex-item]:not(.i-amphtml-layout-flex-item){display:block;position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.i-amphtml-layout-fluid{position:relative}.i-amphtml-layout-size-defined{overflow:hidden!important}.i-amphtml-layout-awaiting-size{position:absolute!important;top:auto!important;bottom:auto!important}i-amphtml-sizer{display:block!important}@supports (aspect-ratio:1/1){i-amphtml-sizer.i-amphtml-disable-ar{display:none!important}}.i-amphtml-blurry-placeholder,.i-amphtml-fill-content{display:block;height:0;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:0;margin:auto}.i-amphtml-layout-size-defined .i-amphtml-fill-content{position:absolute;top:0;left:0;bottom:0;right:0}.i-amphtml-replaced-content,.i-amphtml-screen-reader{padding:0!important;border:none!important}.i-amphtml-screen-reader{position:fixed!important;top:0px!important;left:0px!important;width:4px!important;height:4px!important;opacity:0!important;overflow:hidden!important;margin:0!important;display:block!important;visibility:visible!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:8px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:12px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:16px!important}.i-amphtml-unresolved{position:relative;overflow:hidden!important}.i-amphtml-select-disabled{-webkit-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.i-amphtml-notbuilt,[layout]:not(.i-amphtml-element),[width][height][heights]:not([layout]):not(.i-amphtml-element),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-element){position:relative;overflow:hidden!important;color:transparent!important}.i-amphtml-notbuilt:not(.i-amphtml-layout-container)>*,[layout]:not([layout=container]):not(.i-amphtml-element)>*,[width][height][heights]:not([layout]):not(.i-amphtml-element)>*,[width][height][sizes]:not([layout]):not(.i-amphtml-element)>*{display:none}amp-img:not(.i-amphtml-element)[i-amphtml-ssr]>img.i-amphtml-fill-content{display:block}.i-amphtml-notbuilt:not(.i-amphtml-layout-container),[layout]:not([layout=container]):not(.i-amphtml-element),[width][height][heights]:not([layout]):not(.i-amphtml-element),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-element){color:transparent!important;line-height:0!important}.i-amphtml-ghost{visibility:hidden!important}.i-amphtml-element>[placeholder],[layout]:not(.i-amphtml-element)>[placeholder],[width][height][heights]:not([layout]):not(.i-amphtml-element)>[placeholder],[width][height][sizes]:not([layout]):not(.i-amphtml-element)>[placeholder]{display:block;line-height:normal}.i-amphtml-element>[placeholder].amp-hidden,.i-amphtml-element>[placeholder].hidden{visibility:hidden}.i-amphtml-element:not(.amp-notsupported)>[fallback],.i-amphtml-layout-container>[placeholder].amp-hidden,.i-amphtml-layout-container>[placeholder].hidden{display:none}.i-amphtml-layout-size-defined>[fallback],.i-amphtml-layout-size-defined>[placeholder]{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1}amp-img[i-amphtml-ssr]:not(.i-amphtml-element)>[placeholder]{z-index:auto}.i-amphtml-notbuilt>[placeholder]{display:block!important}.i-amphtml-hidden-by-media-query{display:none!important}.i-amphtml-element-error{background:red!important;color:#fff!important;position:relative!important}.i-amphtml-element-error:before{content:attr(error-message)}i-amp-scroll-container,i-amphtml-scroll-container{position:absolute;top:0;left:0;right:0;bottom:0;display:block}i-amp-scroll-container.amp-active,i-amphtml-scroll-container.amp-active{overflow:auto;-webkit-overflow-scrolling:touch}.i-amphtml-loading-container{display:block!important;pointer-events:none;z-index:1}.i-amphtml-notbuilt>.i-amphtml-loading-container{display:block!important}.i-amphtml-loading-container.amp-hidden{visibility:hidden}.i-amphtml-element>[overflow]{cursor:pointer;position:relative;z-index:2;visibility:hidden;display:initial;line-height:normal}.i-amphtml-layout-size-defined>[overflow]{position:absolute}.i-amphtml-element>[overflow].amp-visible{visibility:visible}template{display:none!important}.amp-border-box,.amp-border-box *,.amp-border-box :after,.amp-border-box :before{box-sizing:border-box}amp-pixel{display:none!important}amp-analytics,amp-auto-ads,amp-story-auto-ads{position:fixed!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;visibility:hidden}amp-story{visibility:hidden!important}html.i-amphtml-fie>amp-analytics{position:initial!important}[visible-when-invalid]:not(.visible),form [submit-error],form [submit-success],form [submitting]{display:none}amp-accordion{display:block!important}@media (min-width:1px){:where(amp-accordion>section)>:first-child{margin:0;background-color:#efefef;padding-right:20px;border:1px solid #dfdfdf}:where(amp-accordion>section)>:last-child{margin:0}}amp-accordion>section{float:none!important}amp-accordion>section>*{float:none!important;display:block!important;overflow:hidden!important;position:relative!important}amp-accordion,amp-accordion>section{margin:0}amp-accordion:not(.i-amphtml-built)>section>:last-child{display:none!important}amp-accordion:not(.i-amphtml-built)>section[expanded]>:last-child{display:block!important}\n/*# sourceURL=/css/ampshared.css*/html.i-amphtml-inabox{width:100%!important;height:100%!important}",(function(){Fo(self.document,(function(){fu(self),function(t){ci(t.document,(function(){return function(t){var e=1500,n=t.performance;n&&n.timing&&n.timing.navigationStart&&(e=Date.now()-n.timing.navigationStart);var i=Math.max(1,2100-e);t.setTimeout((function(){Zu(t);var e=t.document.styleSheets;if(e){for(var n=t.document.querySelectorAll('link[rel~="stylesheet"]:not([href^="https://translate.googleapis.com/translate_static/css/"]):not([href^="'.concat(re(At),'"])')),r=[],o=0;o<n.length;o++){for(var s=n[o],a=!1,u=0;u<e.length;u++)if(e[u].ownerNode==s){a=!0;break}a||r.push(s)}for(var c=function(e){var n=r[e],o=n.media||"all";n.media="print",n.onload=function(){n.media=o,Zu(t)},n.setAttribute("i-amphtml-timeout",i),n.parentNode.insertBefore(n,n.nextSibling)},h=0;h<r.length;h++)c(h)}}),i)}(t)}))}(self),function(t){yu(t.win),function(t){tn(t,"url",za,!0)}(t),function(t){tn(t,"templates",Fa)}(t),tn(t,"documentInfo",ua),function(t){tn(t,"cid",vu)}(t),function(t){tn(t,"viewer",Au,!0)}(t),function(t){var e=new Tu(t.win);tn(t,"viewport",(function(){return new Ru(t,e)}),!0)}(t),function(t){tn(t,"hidden-observer",ha)}(t),function(t){tn(t,"history",ga)}(t),function(t){tn(t,"resources",Ts)}(t),function(t){tn(t,"owners",Ma)}(t),function(t){tn(t,"mutator",wu)}(t),function(t){tn(t,"url-replace",(function(t){return new nu(t,new eu(t))}))}(t),function(t){tn(t,"action",Bs,!0)}(t),function(t){tn(t,"standard-actions",Ua,!0)}(t),function(t){var e,n;e=t,n=new Error("Un-supported service: storage"),function(t,e,n){var i=vn(t),r=i[e];r?r.reject&&r.reject(n):(i[e]=wn(),i[e].reject(n))}(ln(hn(e)),"storage",n)}(t),function(t){tn(t,Ea,Ta,!0)}(t),function(t){t.whenExtensionsKnown().then((function(){t.declaresExtension("amp-form")&&t.getRootNode().addEventListener("submit",ou,!0)}))}(t)}(t),e.coreServicesAvailable(),ya=u(),function(t){var e,n,i,r=t.win,o=t.getRootNode();(e=t,n=r,i=Kn(t).getLayoutRect(o.documentElement||o.body||o),function(t,e){return t.signals().whenSignal(Mo).then((function(){var n=[];return Vn(t).get().forEach((function(t){t.hasBeenMeasured()||t.hostWin!=e||t.hasOwner()||n.push(t.ensureMeasured())})),Promise.all(n)})).then((function(){return Vn(t).get().filter((function(t){return t.hostWin==e&&!t.hasOwner()&&t.hasBeenMeasured()&&function(t){return!(!t.isDisplayed()||!t.overlaps(i)&&!t.isFixed())}(t)}))}))}(On(e),n).then((function(t){var e=[];return t.forEach((function(t){du.includes(t.element.tagName)||e.push(t.loadedOnce())})),Promise.all(e)}))).then((function(){r.dispatchEvent(Nr(r,"amp-ini-load",null,{bubbles:!0})),r.parent&&r.parent.postMessage("amp-ini-load","*")}))}(t)})),Fo(self.document,(function(){!function(t){!function(t){ms(t,gs,bs)}(t),function(t){ms(t,Ss,xs)}(t),function(t){ms(t,"amp-layout",ws)}(t)}(self)})),Fo(self.document,(function(){dc(self,(function(t){return function(t){var e=t.document.documentElement,n=_n(t).getSingleDoc();t.AMP.ampdoc=n;var i=Wn(e);t.AMP.viewer=i,_t().development&&(t.AMP.toggleRuntime=i.toggleRuntime.bind(i),t.AMP.resources=Vn(e));var r=Kn(e);t.AMP.viewport={},t.AMP.viewport.getScrollLeft=r.getScrollLeft.bind(r),t.AMP.viewport.getScrollWidth=r.getScrollWidth.bind(r),t.AMP.viewport.getWidth=r.getWidth.bind(r)}(t),ve(t.document).then((function(){fs(t.AMP.ampdoc)}))}))})),Fo(self.document,(function(){fs(t)})),Fo(self.document,(function(){Ta.installAnchorClickInterceptor(t,self),function(t){var e,n,i=t.win,r=i.document,o=(e=function(t){return t.querySelectorAll("meta[name]")}(r),n=w(),e.forEach((function(t){var e=t.content,i=t.name;if(i.startsWith("amp-cta-")){var r=i.split("amp-")[1];n[r]=e}else if(i.startsWith(Qu)){var o=i.split(Qu)[1];n[o]=e}})),n);if((s=o)["cta-type"]&&s["cta-url"]){var s;zr(t,".i-amphtml-story-ad-link-root{all:initial!important;color:initial!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column!important;flex-direction:column!important;-ms-flex-align:center!important;align-items:center!important}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-shared.css*/amp-story-cta-layer{display:block!important;position:absolute!important;top:80%!important;right:0!important;bottom:0!important;left:0!important;margin:0!important;z-index:2147483642!important}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-inabox.css*/",(function(){})),function(t,e,n){var i=t.document;try{var r=e["attribution-url"],o=e["attribution-icon"];if(!r||!o)return null;co(r,n,"amp-story-auto-ads attribution url"),co(o,n,"amp-story-auto-ads attribution icon");var s=ye(i,"div",{role:"button",class:"i-amphtml-attribution-host"}),a=ye(i,"img",{class:"i-amphtml-story-ad-attribution",src:o});a.addEventListener("click",(function(e){return function(t,e){Aa(t,e,"_blank")}(t,r)})),Ju(s,a,".i-amphtml-story-ad-attribution{position:absolute;bottom:0!important;left:0!important;max-height:15px!important;z-index:4!important}.i-amphtml-story-ad-fullbleed.i-amphtml-story-ad-attribution{bottom:12.5vh!important;left:50%!important;transform:translateX(-22.5vh)!important}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-attribution.css*/"),n.appendChild(s)}catch(t){return null}}(i,o,r.body);var u=new Iu(t),c=r.createElement("div");(function(t,e,n,i){var r=i["cta-url"],o=i["cta-type"],s=ye(t,"a",{class:"i-amphtml-story-ad-link",target:"_blank",href:r});return e.fit(n,s,o).then((function(e){if(!e)return Ht().warn(Xu,"CTA button text is too long. Ad was discarded."),null;if(s.href=r,s.textContent=o,"https:"!==s.protocol&&"http:"!==s.protocol)return Ht().warn(Xu,"CTA url is not valid. Ad was discarded"),null;var u=function(t){return t.__AMP_EXPERIMENT_BRANCHES?t.__AMP_EXPERIMENT_BRANCHES["story-ad-auto-advance"]:null}(t.defaultView);return"31067118"==u||"31067119"==u?function(t,e,n){var i=t.createElement("amp-story-page-outlink");i.setAttribute("layout","nodisplay");var r=ye(t,"a",{class:"i-amphtml-story-ad-link",target:"_top",href:e["cta-url"]});r.textContent=e["cta-type"],i.appendChild(r);for(var o,s=a($u,!0);!(o=s()).done;){var u=o.value;e[u]&&i.setAttribute(u,e[u])}return In($t(t)).installExtensionForDoc(hn(t),"amp-story-page-attachment","0.1"),i.className="i-amphtml-story-page-outlink-container",n.appendChild(i),r}(t,i,n):function(t,e,n){var i=e.createElement("amp-story-cta-layer");i.className="i-amphtml-cta-container";var r=ye(e,"div",{class:"i-amphtml-story-ad-link-root",role:"button"});return Ju(r,t,".i-amphtml-story-ad-link{background-color:#fff!important;border-radius:20px!important;box-sizing:border-box!important;bottom:32px!important;box-shadow:0px 2px 12px rgba(0,0,0,.16)!important;color:#4285f4!important;font-family:Roboto,sans-serif!important;font-weight:700!important;height:36px!important;letter-spacing:0.2px!important;line-height:36px!important;overflow:hidden!important;opacity:0;padding:0 10px!important;position:absolute!important;text-align:center!important;text-decoration:none!important;min-width:120px!important;max-width:calc(100vw - 64px)}[cta-active].i-amphtml-story-ad-link{animation-delay:100ms!important;animation-duration:300ms!important;animation-timing-function:cubic-bezier(0.4,0,0.2,1)!important;animation-fill-mode:forwards!important;animation-name:ad-cta!important}@keyframes ad-cta{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-cta-button.css*/"),i.appendChild(r),n.appendChild(i),t}(s,t,n)}))})(r,u,c,o).then((function(t){return t&&t.setAttribute("cta-active","")})),r.body.appendChild(c),i.parent&&i.parent.postMessage("amp-story-ad-load","*")}}(t),function(t){var e=t.location.href;if(!e.startsWith("about:")){var n=!1,i=pt(t);Mt(t,i)&&(n="0"!==i.validate),n&&function(t,e){var n=t.createElement("script");if(self.trustedTypes&&self.trustedTypes.createPolicy){var i=self.trustedTypes.createPolicy("validator-integration#loadScript",{createScriptURL:function(t){return"https://cdn.ampproject.org/v0/validator_wasm.js"===t?t:""}});n.src=i.createScriptURL(e)}else n.src=e;Te(t,n);var r=Vr(n).then((function(){t.head.removeChild(n)}),(function(){}));return t.head.appendChild(n),r}(t.document,"".concat(At,"/v0/validator_wasm.js")).then((function(){amp.validator.validateUrlAndLog(e,t.document)}))}}(self),function(t){Gt(t.defaultView);var e=t.defaultView;ve(t).then((function(){return function(t){var e=Hr(t).map((function(e){var n=function(t,e){return pn(t,e)}(t,e).then((function(t){return t&&function(t){return"function"==typeof t.whenReady}(t)?t.whenReady().then((function(){return t})):t}));return Fn(t).timeoutPromise(3e3,n,"Render timeout waiting for service ".concat(e," to be ready."))}));return Promise.all(e)}(e)})).catch((function(t){return d(t),[]})).then((function(n){Gr=!0,t.body.getBoundingClientRect(),Yr(t),hn(t).signals().signal(pr),n.length>0&&Vn(t.documentElement).schedulePass(1,!0);try{var i=Bn(e);i.tick("mbv"),i.flush()}catch(t){}}))}(self.document)}),!0),Fo(self.document,(function(){e.tick("e_is"),Vn(t).ampInitComplete(),e.flush()}))}),!0,"amp-runtime")})),self.console&&(console.info||console.log).call(console,"Powered by AMP ⚡ HTML – Version ".concat("2410292120000"),self.location.href),self.document.documentElement.setAttribute("amp-version","2410292120000")}();
|
|
2
|
+
self.AMP_CONFIG={v:"012410292120000",type:"production","allow-doc-opt-in":["amp-next-page"],"allow-url-opt-in":[],canary:0,a4aProfilingRate:.01,doubleclickSraExp:.01,doubleclickSraReportExcludedBlock:.1,flexAdSlots:.05,"flexible-bitrate":.1,"ios-fixed-no-transfer":0,"story-ad-placements":.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,"interaction-to-next-paint":1},function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}var n,i=function(){function t(){this.Rt=new r}return t.prototype.abort=function(){if(!this.Rt.Tt&&(this.Rt.Tt=!0,this.Rt.Mt)){var t={type:"abort",bubbles:!1,cancelable:!1,target:this.Rt,currentTarget:this.Rt};this.Rt.Mt(t)}},e(t,[{key:"signal",get:function(){return this.Rt}}]),t}(),r=function(){function t(){this.Tt=!1,this.Mt=null}return e(t,[{key:"aborted",get:function(){return this.Tt}},{key:"onabort",get:function(){return this.Mt},set:function(t){this.Mt=t}}]),t}();function o(t,e){for(var n=e||0,i=this.length,r=n>=0?n:Math.max(i+n,0);r<i;r++){var o=this[r];if(o===t||t!=t&&o!=o)return!0}return!1}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(){return n||(n=Promise.resolve(void 0))}var c=function(){var t=this;this.promise=new Promise(function(e,n){t.resolve=e,t.reject=n})};function h(t){return new Promise(function(e){e(t())})}function l(t){var e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;var n=t.message,i=t.stack,r=new Error(n);for(var o in t)r[o]=t[o];return r.stack=i,r}function f(t){for(var e,n=null,i="",r=a(arguments,!0);!(e=r()).done;){var o=e.value;o instanceof Error&&!n?n=l(o):(i&&(i+=" "),i+=o)}return n?i&&(n.message=i+": "+n.message):n=new Error(i),n}function d(t){var e=f.apply(null,arguments);setTimeout(function(){throw function(t){var e,n;null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t)}(e),e})}function p(t){var e=f.apply(null,arguments);return e.expected=!0,e}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var v=Object.prototype,g=v.hasOwnProperty,y=v.toString;function b(t){return"[object Object]"===y.call(t)}function w(t){var e=Object.create(null);return t&&Object.assign(e,t),e}function A(t,e){return g.call(t,e)}var E=/^[a-z][a-z0-9._]*-[a-z0-9._-]*$/,S=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],x={childList:!0,subtree:!0};function P(t,e){if(!E.test(e)||S.includes(e))throw new t('invalid custom element name "'.concat(e,'"'))}var R=function(){function t(t,e){this.t=t,this.Pt=e,this.Ut=w()}var e=t.prototype;return e.define=function(t,e,n){this.Pt.define(t,e,n);var i=this.Ut,r=i[t];r&&(r.resolve(),delete i[t])},e.get=function(t){var e=this.Pt.getByName(t);if(e)return e.ctor},e.whenDefined=function(t){var e=this.t;if(e.Promise,P(e.SyntaxError,t),this.Pt.getByName(t))return u();var n=this.Ut,i=n[t];return i||(i=new c,n[t]=i),i.promise},e.upgrade=function(t){this.Pt.upgrade(t)},t}(),T=function(){function t(t){this.t=t,this.Lt=w(),this.Nt="",this._t=null,this.Ht=null,this.Dt=[t.document]}var e=t.prototype;return e.current=function(){var t=this._t;return this._t=null,t},e.getByName=function(t){var e=this.Lt[t];if(e)return e},e.getByConstructor=function(t){var e=this.Lt;for(var n in e){var i=e[n];if(i.ctor===t)return i}},e.define=function(t,e,n){var i=this.t,r=i.Error,o=i.SyntaxError;if(n)throw new r("Extending native custom elements is not supported");if(P(o,t),this.getByName(t)||this.getByConstructor(e))throw new r('duplicate definition "'.concat(t,'"'));this.Lt[t]={name:t,ctor:e},this.Bt(t);for(var s,u=a(this.Dt,!0);!(s=u()).done;){var c=s.value;this.upgrade(c,t)}},e.upgrade=function(t,e){for(var n,i=!!e,r=e||this.Nt,o=a(this.Ft(t,r),!0);!(n=o()).done;){var s=n.value;i?this.Jt(s):this.upgradeSelf(s)}},e.upgradeSelf=function(t){var e=this.getByName(t.localName);e&&this.Gt(t,e)},e.Ft=function(t,e){return e&&t.querySelectorAll?t.querySelectorAll(e):[]},e.Gt=function(t,e){var n=e.ctor;if(!(t instanceof n)){this._t=t;try{if(new n!==t)throw new this.t.Error("Constructor illegally returned a different instance.")}catch(t){d(t)}}},e.Jt=function(t){var e=this.getByName(t.localName);if(e&&(this.Gt(t,e),t.connectedCallback))try{t.connectedCallback()}catch(t){d(t)}},e.Wt=function(t){if(t.disconnectedCallback)try{t.disconnectedCallback()}catch(t){d(t)}},e.Bt=function(t){var e=this;if(this.Nt)this.Nt+=",".concat(t);else{this.Nt=t;var n=new this.t.MutationObserver(function(t){t&&e.Zt(t)});this.Ht=n;for(var i,r=a(this.Dt,!0);!(i=r()).done;){var o=i.value;n.observe(o,x)}!function(t,e){var n,i=t.Document,r=t.Element,o=t.Node,s=t.document,a=i.prototype,u=r.prototype,c=o.prototype,h=a.createElement,l=a.importNode,f=c.appendChild,d=c.cloneNode,p=c.insertBefore,m=c.removeChild,v=c.replaceChild;a.createElement=function(t){var n=e.getByName(t);return n?new n.ctor:h.apply(this,arguments)},a.importNode=function(){var t=l.apply(this,arguments);return t&&this===s&&(e.upgradeSelf(t),e.upgrade(t)),t},c.appendChild=function(){var t=f.apply(this,arguments);return e.sync(),t},c.insertBefore=function(){var t=p.apply(this,arguments);return e.sync(),t},c.removeChild=function(){var t=m.apply(this,arguments);return e.sync(),t},c.replaceChild=function(){var t=v.apply(this,arguments);return e.sync(),t},c.cloneNode=function(){var t=d.apply(this,arguments);return t.ownerDocument===s&&(e.upgradeSelf(t),e.upgrade(t)),t};var g=u,y=Object.getOwnPropertyDescriptor(g,"innerHTML");if(y||(g=Object.getPrototypeOf(t.HTMLElement.prototype),y=Object.getOwnPropertyDescriptor(g,"innerHTML")),null!==(n=y)&&void 0!==n&&n.configurable){var b=y.set;y.set=function(t){b.call(this,t),e.upgrade(this)},Object.defineProperty(g,"innerHTML",y)}}(this.t,this)}},e.observe=function(t){this.Dt.push(t),this.Ht&&this.Ht.observe(t,x)},e.sync=function(){this.Ht&&this.Zt(this.Ht.takeRecords())},e.Zt=function(t){for(var e,n=a(t,!0);!(e=n()).done;){var i=e.value;if(i){for(var r,o=i.addedNodes,s=i.removedNodes,u=a(o,!0);!(r=u()).done;){var c=r.value,h=this.Ft(c,this.Nt);this.Jt(c);for(var l,f=a(h,!0);!(l=f()).done;){var d=l.value;this.Jt(d)}}for(var p,m=a(s,!0);!(p=m()).done;){var v=p.value,g=this.Ft(v,this.Nt);this.Wt(v);for(var y,b=a(g,!0);!(y=b()).done;){var w=y.value;this.Wt(w)}}}}},t}();function O(t,e){e.prototype=Object.create(t.prototype,{constructor:{configurable:!0,writable:!0,value:e}}),_(e,t)}function _(t,e){Object.setPrototypeOf?Object.setPrototypeOf(t,e):{__proto__:{test:!0}}.test?t.__proto__=e:function(t,e){for(var n=e;null!==n&&!Object.isPrototypeOf.call(n,t);){for(var i,r=a(Object.getOwnPropertyNames(n),!0);!(i=r()).done;){var o=i.value;if(!Object.hasOwnProperty.call(t,o)){var s=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(t,o,s)}}n=Object.getPrototypeOf(n)}}(t,e)}function C(t){return t==this||this.documentElement.contains(t)}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?L(Object(n),!0).forEach(function(e){M(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function k(t,e){return(k=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k(t,e)}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function B(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var n,i=N(t);if(e){var r=N(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return function(t,e){if(e&&("object"===m(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function U(t){return t?Array.prototype.slice.call(t):[]}var j=Array.isArray;function V(t){return j(t)?t:[t]}function F(t,e){var n=t.indexOf(e);return-1!=n&&(t.splice(n,1),!0)}function q(t){return"string"==typeof t}function H(t){return 1==(null==t?void 0:t.nodeType)}function z(t){return"number"==typeof t&&isFinite(t)}var W="",G="";function K(t){return H(t)?t.tagName.toLowerCase()+(t.id?"#".concat(t.id):""):t}function Y(t){return t.indexOf(W)>=0}function J(t,e){var n,i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Assertion failed";if(e)return e;t&&-1==r.indexOf(t)&&(r+=t);for(var o=3,s=r.split("%s"),a=s.shift(),u=[a];s.length;){var c=arguments[o++],h=s.shift();a+=K(c)+h,u.push(c,h.trim())}var l=new Error(a);throw l.messageArray=function(t,e){for(var n=[],i=0,r=0;r<t.length;r++){var o=t[r];e(o)?n.push(o):(i<r&&(t[i]=o),i++)}return i<t.length&&(t.length=i),n}(u,function(t){return""!==t}),null===(n=(i=self).__AMP_REPORT_ERROR)||void 0===n||n.call(i,l),l}function X(t,e,n,i,r){return j(r)?t(n,r.concat([e])):t(n,"".concat(r||i,": %s"),e),e}function Q(t,e,n,i,r,o,s,a,u,c,h){return t}function $(t,e){return t}function Z(t,e){return t}function tt(t,e){return t}function et(t,e,n,i,r,o,s,a,u,c,h){return J(W,t,e,n,i,r,o,s,a,u,c,h)}function nt(t){return JSON.parse(t)}function it(t,e){try{return nt(t)}catch(t){return null==e||e(t),null}}function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;if(!isFinite(n)||n<0)throw new Error("Invalid depth: "+n);if(t===e)return!0;for(var i=[{a:t,b:e,depth:n}];i.length>0;){var r=i.shift(),o=r.a,s=r.b,a=r.depth;if(a>0){if(m(o)!==m(s))return!1;if(j(o)&&j(s)){if(o.length!==s.length)return!1;for(var u=0;u<o.length;u++)i.push({a:o[u],b:s[u],depth:a-1});continue}if(o&&s&&"object"===m(o)&&"object"===m(s)){var c=Object.keys(o),h=Object.keys(s);if(c.length!==h.length)return!1;for(var l=0,f=c;l<f.length;l++){var d=f[l];i.push({a:o[d],b:s[d],depth:a-1})}continue}}if(o!==s)return!1}return!0}function ot(t){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(t):st(unescape(encodeURIComponent(t)))}function st(t){for(var e=new Uint8Array(t.length),n=0;n<t.length;n++){var i=t.charCodeAt(n);Q(i<=255),e[n]=i}return e}function at(t,e){var n=t.crypto;if(!(n=n||t.msCrypto)||!n.getRandomValues)return null;var i=new Uint8Array(e);return n.getRandomValues(i),i}function ut(t,e,n){var i=0,r=null;function o(o){r=null,i=t.setTimeout(s,n),e.apply(null,o)}function s(){i=0,r&&o(r)}return function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];i?r=e:o(e)}}function ct(t,e,n){var i=0,r=0,o=null;function s(){i=0;var a,u=n-(t.Date.now()-r);u>0?i=t.setTimeout(s,u):(a=o,o=null,e.apply(null,a))}return function(){r=t.Date.now();for(var e=arguments.length,a=new Array(e),u=0;u<e;u++)a[u]=arguments[u];o=a,i||(i=t.setTimeout(s,n))}}var ht=["javascript:","data:","vbscript:"],lt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function ft(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(t)}catch(t){return e}}function dt(t){var e,n=w();if(!t)return n;for(;e=lt.exec(t);){var i=ft(e[1],e[1]),r=e[2]?ft(e[2].replace(/\+/g," "),e[2]):"";n[i]=r}return n}function pt(t){var e=(t||self).location;return dt(e.originalHash||e.hash)}var mt=function(t){return self.AMP_CONFIG?self.AMP_CONFIG[t]:null},vt=("string"==typeof mt("cdnProxyRegex")?new RegExp(mt("cdnProxyRegex")):mt("cdnProxyRegex"))||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function gt(t){if(!self.document||!self.document.head)return null;if(self.location&&vt.test(self.location.origin))return null;var e=self.document.head.querySelector('meta[name="'.concat(t,'"]'));return e&&e.getAttribute("content")||null}var yt=mt("thirdPartyUrl")||"https://3p.ampproject.net",bt=mt("thirdPartyFrameHost")||"ampproject.net",wt=("string"==typeof mt("thirdPartyFrameRegex")?new RegExp(mt("thirdPartyFrameRegex")):mt("thirdPartyFrameRegex"))||/^d-\d+\.ampproject\.net$/,At=mt("cdnUrl")||gt("runtime-host")||"https://cdn.ampproject.org",Et=/^https?:\/\/localhost(:\d+)?$/,St=mt("errorReportingUrl")||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",xt=mt("betaErrorReportingUrl")||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",Pt=mt("localDev")||!1,Rt=[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],Tt=mt("geoApiUrl")||gt("amp-geo-api"),Ot="";function _t(t){var e=t||self;return e.__AMP_MODE?e.__AMP_MODE:e.__AMP_MODE=function(t){return{localDev:!1,development:Mt(t,pt(t)),esm:!1,test:!1,rtvVersion:Ct(t),ssrReady:!1}}(e)}function Ct(t){var e;return Ot||(Ot=(null===(e=t.AMP_CONFIG)||void 0===e?void 0:e.v)||"01".concat("2410292120000")),Ot}function Mt(t,e){var n=e||pt(t);return["1","actions","amp","amp4ads","amp4email"].includes(n.development)||!!t.AMP_DEV_MODE}var Lt=function(){},It=void 0;function kt(t){It=t}var Dt=function(){return"01".concat("2410292120000")},Nt=function(t,e){return e.reduce(function(t,e){return"".concat(t,"&s[]=").concat(Bt(e))},"https://log.amp.dev/?v=".concat(Dt(),"&id=").concat(encodeURIComponent(t)))},Bt=function(t){return encodeURIComponent(String(K(t)))},Ut=function(t){return parseInt(pt(t).log,10)},jt=function(){function t(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.win=t,this.tt=e,this.nt=this.rt(),this.it=i,this.et=null,this.ft=function(t){var e=!1,n=null,i=t;return function(){if(!e){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];n=i.apply(self,r),e=!0,i=null}return n}}(function(){t.fetch("".concat(At,"/rtv/").concat(Dt(),"/log-messages.simple.json")).then(function(t){return t.json()},Lt).then(function(t){t&&(n.et=t)})}),this.ot=this.assert.bind(this)}var e=t.prototype;return e.rt=function(){var t,e=this.win;return null!==(t=e.console)&&void 0!==t&&t.log&&0!=Ut(e)?this.ut():0},e.ut=function(t){return this.tt(Ut(t),_t().development)},e.st=function(t,e,n){var i,r,o;if(e>(null!==(i=It)&&void 0!==i?i:this.nt))return!1;var s=this.win.console,a=null!==(r=(o={},M(o,1,s.error),M(o,3,s.info),M(o,2,s.warn),o)[e])&&void 0!==r?r:s.log,u=this.ct(n),c="[".concat(t,"]");return q(u[0])?u[0]=c+" "+u[0]:u.unshift(c),a.apply(s,u),!0},e.fine=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.st(t,4,n)},e.info=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.st(t,3,n)},e.warn=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.st(t,2,n)},e.error=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(!this.st(t,1,n)){var r,o,s=this.createError.apply(this,n);s.name=t||s.name,null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,s)}},e.expectedError=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r,o;this.st(t,1,n)||null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,this.createExpectedError.apply(this,n))},e.createError=function(t){return this.ht(f.apply(null,arguments))},e.createExpectedError=function(t){return this.ht(p.apply(null,arguments))},e.ht=function(t){return t=l(t),this.it?t.message?-1==t.message.indexOf(this.it)&&(t.message+=this.it):t.message=this.it:Y(t.message)&&(t.message=t.message.replace(W,"")),t},e.ct=function(t){return j(t[0])?this.lt(t[0]):t},e.lt=function(t){var e,n=t.shift();return _t(this.win).development&&this.ft(),null!==(e=this.et)&&void 0!==e&&e[n]?[this.et[n]].concat(t):["More info at ".concat(Nt(n,t))]},e.assert=function(t,e,n){return j(e)?this.assert.apply(this,[t].concat(this.lt(e))):J.apply(null,[this.it].concat(Array.prototype.slice.call(arguments)))},e.assertElement=function(t,e){return function(t,e,n){return X(t,e,H(e),"Element expected",n)}(this.ot,t,e)},e.assertString=function(t,e){return function(t,e,n){return X(t,e,q(e),"String expected",n)}(this.ot,t,e)},e.assertNumber=function(t,e){return function(t,e,n){return X(t,e,"number"==typeof e,"Number expected",n)}(this.ot,t,e)},e.assertArray=function(t,e){return function(t,e,n){return X(t,e,j(e),"Array expected",n)}(this.ot,t,e)},e.assertBoolean=function(t,e){return function(t,e,n){return X(t,e,!!e===e,"Boolean expected",n)}(this.ot,t,e)},t}();self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var Vt=self.__AMP_LOG,Ft=null;function qt(t,e){if(!Ft)throw new Error("failed to call initLogConstructor");return new Ft(self,t,e)}function Ht(t){return Vt.user||(Vt.user=zt(W)),function(t,e){return e&&e.ownerDocument.defaultView!=t}(Vt.user.win,t)?Vt.userForEmbed||(Vt.userForEmbed=zt(G)):Vt.user}function zt(t){return qt(function(t,e){return e||t>=1?4:2},t)}function Wt(){return Vt.dev||(Vt.dev=qt(function(t){return t>=3?4:t>=2?3:0}))}function Gt(t,e,n,i,r,o,s,a,u,c,h){return t}function Kt(t,e,n,i,r,o,s,a,u,c,h){return Ht().assert(t,e,n,i,r,o,s,a,u,c,h)}var Yt=["GET","POST"],Jt=function(){function t(t){this.$t=t,this.status=this.$t.status,this.statusText=this.$t.statusText,this.ok=this.status>=200&&this.status<300,this.headers=new Xt(t),this.bodyUsed=!1,this.body=null,this.url=t.responseURL}var e=t.prototype;return e.clone=function(){return Q(!this.bodyUsed),new t(this.$t)},e.Xt=function(){return Q(!this.bodyUsed),this.bodyUsed=!0,Promise.resolve(this.$t.responseText)},e.text=function(){return this.Xt()},e.json=function(){return this.Xt().then(nt)},e.arrayBuffer=function(){return this.Xt().then(ot)},t}(),Xt=function(){function t(t){this.$t=t}var e=t.prototype;return e.get=function(t){return this.$t.getResponseHeader(t)},e.has=function(t){return null!=this.$t.getResponseHeader(t)},t}(),Qt=function(t){D(n,t);var e=B(n);function n(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=w(),r=I({status:200,statusText:"OK",responseText:t?String(t):"",getResponseHeader:function(t){var e=String(t).toLowerCase();return A(i,e)?i[e]:null}},n);if(r.status=void 0===n.status?200:parseInt(n.status,10),j(n.headers))n.headers.forEach(function(t){var e=t[0],n=t[1];i[String(e).toLowerCase()]=String(n)});else if(b(n.headers))for(var o in n.headers)i[String(o).toLowerCase()]=String(n.headers[o]);return n.statusText&&(r.statusText=String(n.statusText)),e.call(this,r)}return n}(Jt);function $t(t){return(t.ownerDocument||t).defaultView}var Zt,te=/(\0)|^(-)$|([\x01-\x1f\x7f]|^-?[0-9])|([\x80-\uffff0-9a-zA-Z_-]+)|[^]/g;function ee(t,e,n,i,r){return r||(e?"�":i?t.slice(0,-1)+"\\"+t.slice(-1).charCodeAt(0).toString(16)+" ":"\\"+t)}function ne(t){return void 0!==Zt?Zt:Zt=function(t){try{var e=t.ownerDocument,n=e.createElement("div"),i=e.createElement("div");return n.appendChild(i),n.querySelector(":scope div")===i}catch(t){return!1}}(t)}function ie(t,e){return t.replace(/^|,/g,"$&".concat(e," "))}function re(t){return String(t).replace(te,ee)}function oe(t){Q(/^[\w-]+$/.test(t))}function se(t,e){var n=t.classList,i="i-amphtml-scoped";n.add(i);var r=ie(e,".".concat(i)),o=t.querySelectorAll(r);return n.remove(i),o}function ae(t,e){if(ne(t))return t.querySelector(ie(e,":scope"));var n=se(t,e)[0];return void 0===n?null:n}function ue(t,e){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!n&&n.call(t,e)}function ce(t,e){return t.closest?t.closest(e):function(t,e){var n;for(n=t;n&&void 0!==n;n=n.parentElement)if(e(n))return n;return null}(t,function(t){return ue(t,e)})}function he(t,e){for(var n=t.lastElementChild;n;n=n.previousElementSibling)if(e(n))return n;return null}function le(t,e){return oe(e),ae(t,"> [".concat(e,"]"))}function fe(t){return q(e=t)?n=e:H(e)&&(n=e.tagName),!(!n||!n.toLowerCase().startsWith("i-"))||t.nodeType===Node.ELEMENT_NODE&&($(t),t.hasAttribute("placeholder")||t.hasAttribute("fallback")||t.hasAttribute("overflow"));var e,n}var de,pe={bubbles:!0,cancelable:!0};function me(t,e,n){if(e(t))n();else{var i=$t(t);if(i.MutationObserver){var r=new i.MutationObserver(function(){e(t)&&(r.disconnect(),n())});r.observe(t,{childList:!0})}else var o=i.setInterval(function(){e(t)&&(i.clearInterval(o),n())},5)}}function ve(t){return new Promise(function(e){return function(t,e){me(t.documentElement,function(){return!!t.body},e)}(t,e)})}function ge(t){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t)}function ye(t,e,n){return function(t,e){for(var n in e)t.setAttribute(n,e[n]);return t}(t.createElement(e),n)}function be(t){var e=t.isConnected;if(void 0!==e)return e;for(var n=t;(n=we(n)).host;)n=n.host;return n.nodeType===Node.DOCUMENT_NODE}function we(t){if(Node.prototype.getRootNode)return t.getRootNode();var e,n;for(e=t;e.parentNode&&(!(n=e)||"I-AMPHTML-SHADOW-ROOT"!=n.tagName&&(11!=n.nodeType||"[object ShadowRoot]"!==Object.prototype.toString.call(n)));e=e.parentNode);return e}function Ae(t,e){var n=t;do{if(n.nextSibling)return!0}while((n=n.parentNode)&&n!=e);return!1}function Ee(t){try{t.focus()}catch(t){}}function Se(t){return t.parent&&t.parent!=t}function xe(t,e,n,i){var r=n||{};Q(t.ownerDocument);var o=i||pe,s=o.bubbles,a=o.cancelable,u=new MessageEvent(e,{data:r,bubbles:s,cancelable:a});t.dispatchEvent(u)}function Pe(t,e){return e!==t&&t.contains(e)}function Re(t){return t.hasAttribute("i-amphtml-ssr")}function Te(t,e){var n=t.head.querySelector("script[nonce]");if(n){var i=n.nonce||n.getAttribute("nonce");e.setAttribute("nonce",null!=i?i:"")}}function Oe(t,e,n,i){return{left:t,top:e,width:n,height:i,bottom:e+i,right:t+n,x:t,y:e}}function _e(t){return Oe(Number(t.left),Number(t.top),Number(t.width),Number(t.height))}function Ce(t,e,n){return 0==e&&0==n||0==t.width&&0==t.height?t:Oe(t.left+e,t.top+n,t.width,t.height)}function Me(){return be(this)?de.call(this):Oe(0,0,0,0)}function Le(t){return!t.IntersectionObserver||!t.IntersectionObserverEntry||!!t.IntersectionObserver._stub||!function(t){try{return new t.IntersectionObserver(function(){},{root:t.document}),!0}catch(t){return!1}}(t)||function(t){return/apple/i.test(t.navigator.vendor)}(t)}var Ie=function(){function t(e,n){this.Kt=e,this.Vt=I({root:null,rootMargin:"0px 0px 0px 0px"},n),this.Qt=[],this.Yt=null,t._upgraders.push(this.on.bind(this))}var n=t.prototype;return n.disconnect=function(){this.Yt?this.Yt.disconnect():this.Qt.length=0},n.takeRecords=function(){return this.Yt?this.Yt.takeRecords():[]},n.observe=function(t){this.Yt?this.Yt.observe(t):-1==this.Qt.indexOf(t)&&this.Qt.push(t)},n.unobserve=function(t){if(this.Yt)this.Yt.unobserve(t);else{var e=this.Qt.indexOf(t);-1!=e&&this.Qt.splice(e,1)}},n.on=function(t){var e=new t(this.Kt,this.Vt);this.Yt=e;for(var n,i=a(this.Qt,!0);!(n=i()).done;){var r=n.value;e.observe(r)}this.Qt.length=0},e(t,[{key:"root",get:function(){return this.Yt?this.Yt.root:this.Vt.root||null}},{key:"rootMargin",get:function(){return this.Yt?this.Yt.rootMargin:this.Vt.rootMargin}},{key:"thresholds",get:function(){return this.Yt?this.Yt.thresholds:[].concat(this.Vt.threshold||0)}}]),t}();function ke(t){return(t=Number(t))?t>0?1:-1:t}Ie._upgraders=[];var De=Object.prototype.hasOwnProperty;function Ne(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r)for(var o in r)De.call(r,o)&&(n[o]=r[o])}return n}function Be(t){return Object.keys(t).map(function(e){return t[e]})}function Ue(t){return!t.ResizeObserver||!!t.ResizeObserver._stub}var je,Ve=function(){function t(e){this.Kt=e,this.Qt=[],this.Yt=null,t._upgraders.push(this.on.bind(this))}var e=t.prototype;return e.disconnect=function(){this.Yt?this.Yt.disconnect():this.Qt.length=0},e.observe=function(t){this.Yt?this.Yt.observe(t):-1==this.Qt.indexOf(t)&&this.Qt.push(t)},e.unobserve=function(t){if(this.Yt)this.Yt.unobserve(t);else{var e=this.Qt.indexOf(t);-1!=e&&this.Qt.splice(e,1)}},e.on=function(t){var e=new t(this.Kt);this.Yt=e;for(var n,i=a(this.Qt,!0);!(n=i()).done;){var r=n.value;e.observe(r)}this.Qt.length=0},t}();function Fe(t,e){var n=e>0?0|e:0;return this.substr(n,t.length)===t}Ve._upgraders=[],(je=self).fetch||(Object.defineProperty(je,"fetch",{value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,i){var r=function(t){return void 0===t?"GET":(t=t.toUpperCase(),Q(Yt.includes(t)),t)}(e.method||"GET"),o=function(t,e){var n=new XMLHttpRequest;if(!("withCredentials"in n))throw Wt().createExpectedError("CORS is not supported");return n.open(t,e,!0),n}(r,t);"include"==e.credentials&&(o.withCredentials=!0),"document"!==e.responseType&&"text"!==e.responseType||(o.responseType=e.responseType),e.headers&&Object.keys(e.headers).forEach(function(t){o.setRequestHeader(t,e.headers[t])}),o.onreadystatechange=function(){if(!(o.readyState<2))return o.status<100||o.status>599?(o.onreadystatechange=null,void i(Ht().createExpectedError("Unknown HTTP status ".concat(o.status)))):void(4==o.readyState&&n(new Jt(o)))},o.onerror=function(){i(Ht().createExpectedError("Network failure"))},o.onabort=function(){i(Ht().createExpectedError("Request aborted"))},"POST"==r?o.send(e.body):o.send()})},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(je,"Response",{value:Qt,writable:!0,enumerable:!1,configurable:!0})),function(t){t.Math.sign||t.Object.defineProperty(t.Math,"sign",{enumerable:!1,configurable:!0,writable:!0,value:ke})}(self),function(t){t.Object.assign||t.Object.defineProperty(t.Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:Ne})}(self),function(t){t.Object.values||t.Object.defineProperty(t.Object,"values",{configurable:!0,writable:!0,value:Be})}(self),function(t){t.Array.prototype.includes||t.Object.defineProperty(t.Array.prototype,"includes",{enumerable:!1,configurable:!0,writable:!0,value:o})}(self),function(t){var e=t.Map,n=new e;if(n.set(0,0)!==n){var i=n.set;t.Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(){return i.apply(this,arguments),this}})}}(self),function(t){var e=t.WeakMap,n=new e;if(n.set({},0)!==n){var i=n.set;t.Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(){return i.apply(this,arguments),this}})}}(self),function(t){var e=t.Set,n=new e([1]);if(n.size<1&&(t.Set=function(t){var n=new e;if(t)for(var i=U(t),r=0;r<i.length;r++)n.add(i[r]);return n}),n.add(0)!==n){var i=n.add;t.Object.defineProperty(e.prototype,"add",{enumerable:!1,configurable:!0,writable:!0,value:function(){return i.apply(this,arguments),this}})}}(self),function(t){t.String.prototype.startsWith||t.Object.defineProperty(t.String.prototype,"startsWith",{enumerable:!1,configurable:!0,writable:!0,value:Fe})}(self),self.document&&(function(t){var e=t.HTMLDocument||t.Document;e&&!e.prototype.contains&&t.Object.defineProperty(e.prototype,"contains",{enumerable:!1,configurable:!0,writable:!0,value:C})}(self),function(t){(function(t){if(!t.document)return!1;try{return 0!==t.document.createElement("div").getBoundingClientRect().top}catch(t){return!0}})(t)&&(de=Element.prototype.getBoundingClientRect,t.Object.defineProperty(t.Element.prototype,"getBoundingClientRect",{value:Me}))}(self),function(t,e){var n=t.document,i=function(t){var e=t.customElements;return!!(e&&e.define&&e.get&&e.whenDefined)}(t);if(!(!n||i&&function(t){return-1===t.HTMLElement.toString().indexOf("[native code]")}(t))){var r=!0,o=!1;if(e&&i)try{var s=t.Reflect,a=Object.create(e.prototype);Function.call.call(e,a),o=!(null==s||!s.construct)}catch(t){r=!1}o?function(t){var e=t.HTMLElement,n=t.Reflect;function i(){var t=this.constructor;return n.construct(e,[],t)}O(e,i),t.HTMLElementOrig=t.HTMLElement,t.HTMLElement=i}(t):r&&function(t){var e=t.Element,n=t.HTMLElement,i=t.document,r=i.createElement,o=new T(t),s=new R(t,o);Object.defineProperty(t,"customElements",{enumerable:!0,configurable:!0,value:s});var a=e.prototype,u=a.attachShadow,c=a.createShadowRoot;function h(){var t=this.constructor,e=o.current();if(!e){var n=o.getByConstructor(t);e=r.call(i,n.name)}return _(e,t.prototype),e}u&&(a.attachShadow=function(t){var e=u.apply(this,arguments);return o.observe(e),e},a.attachShadow.toString=function(){return u.toString()}),c&&(a.createShadowRoot=function(){var t=c.apply(this,arguments);return o.observe(t),t},a.createShadowRoot.toString=function(){return c.toString()}),O(n,h),t.HTMLElementOrig=t.HTMLElement,t.HTMLElement=h,h.call||(h.apply=t.Function.apply,h.bind=t.Function.bind,h.call=t.Function.call)}(t)}}(self,function(){}),function(t){Le(t)&&function(t){if(!t.IntersectionObserver)return t.IntersectionObserver=Ie,void(t.IntersectionObserver._stub=Ie);var e=t.IntersectionObserver;t.IntersectionObserver=function(t,e){return function(n,i){var r;return 9===(null==i||null===(r=i.root)||void 0===r?void 0:r.nodeType)?new e(n,i):new t(n,i)}}(t.IntersectionObserver,Ie),t.IntersectionObserver._stub=Ie,t.IntersectionObserver._native=e}(t),function(t){t.IntersectionObserverEntry&&!("isIntersecting"in t.IntersectionObserverEntry.prototype)&&Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{enumerable:!0,configurable:!0,get:function(){return this.intersectionRatio>0}})}(t)}(self),function(t){Ue(t)&&function(t){t.ResizeObserver||(t.ResizeObserver=Ve,t.ResizeObserver._stub=Ve)}(t)}(self),function(t){t.AbortController||(Object.defineProperty(t,"AbortController",{configurable:!0,enumerable:!1,writable:!0,value:i}),Object.defineProperty(t,"AbortSignal",{configurable:!0,enumerable:!1,writable:!0,value:r}))}(self));var qe="cls",He="clstu",ze="cls-1",We="pc",Ge="inp",Ke=["amp-mustache"],Ye=/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org(\/.*)?$/;function Je(t){if(!t)return null;var e=t.match(/^(.*)\/(.*)-([0-9.]+|latest)(\.max)?\.(?:js|mjs)(?:\?ssr-css=[0|1])?$/i),n=e?e[2]:void 0,i=e?e[3]:void 0;return n&&i?{extensionId:n,extensionVersion:i}:null}function Xe(t,e,n){var i=t.document.createElement("script");i.async=!0,$e(e)?n="":i.setAttribute(Ke.indexOf(e)>=0?"custom-template":"custom-element",e),i.setAttribute("data-script",e),i.setAttribute("i-amphtml-inserted",""),Te(t.document,i),i.setAttribute("crossorigin","anonymous");var r=function(t,e,n){var i=At,r=_t().rtvVersion,o=n?"-"+n:"";return"".concat(i,"/rtv/").concat(r,"/v0/").concat(e).concat(o).concat(".js")}(t.location,e,n),o={createScriptURL:function(t){return Ye.test(t)||"fonts.googleapis.com"===new URL(t).host?t:""}};return self.trustedTypes&&self.trustedTypes.createPolicy&&(o=self.trustedTypes.createPolicy("extension-script#createExtensionScript",o)),i.src=o.createScriptURL(r),i}function Qe(t,e,n,i){for(var r=":not([i-amphtml-loaded-new-version])"+(arguments.length>4&&void 0!==arguments[4]&&!arguments[4]?":not([i-amphtml-inserted])":""),o=t.document.head.querySelectorAll('script[src*="/'.concat(e,'-"]').concat(r)),s=[],a=0;a<o.length;a++){var u=o[a],c=Je(u.src);if(c){var h=c.extensionId,l=c.extensionVersion;h==e&&($e(e)||l==n||"latest"==l&&i)&&s.push(u)}}return s}function $e(t){return t.startsWith("_")}function Ze(t,e,n,i){dn(t=un(t),t,e,n),i&&fn(t,e)}function tn(t,e,n,i){var r=hn(t),o=ln(r);dn(o,r,e,n),i&&fn(o,e)}function en(t,e){return fn(t=un(t),e)}function nn(t,e){return bn(t=un(t),e)?fn(t,e):null}function rn(t,e){return fn(ln(hn(t)),e)}function on(t,e){var n=ln(hn(t));return bn(n,e)?fn(n,e):null}function sn(t,e){return pn(ln(t),e)}function an(t,e){return mn(ln(t),e)}function un(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}function cn(t,e){var n=(t.ownerDocument||t).defaultView,i=e||un(n);if(n&&n!=i&&un(n)==i)try{return n.frameElement}catch(t){}return null}function hn(t){return t.nodeType?function(t){return en(t,"ampdoc")}($t(t)).getAmpDoc(t):t}function ln(t){var e=hn(t);return e.isSingleDoc()?e.win:e}function fn(t,e){Gt(bn(t,e));var n=vn(t)[e];return n.obj||(Gt(n.ctor),Gt(n.context),n.obj=new n.ctor(n.context),Gt(n.obj),n.context=null,n.resolve&&n.resolve(n.obj)),n.obj}function dn(t,e,n,i,r,o){var s=vn(t),a=s[n];a||(a=s[n]={obj:null,promise:null,resolve:null,reject:null,context:null,ctor:null,sharedInstance:o||!1}),!r&&a.ctor||(a.ctor=i,a.context=e,a.sharedInstance=o||!1,a.resolve&&fn(t,n))}function pn(t,e){var n=mn(t,e);if(n)return n;var i=vn(t);return i[e]=wn(),i[e].promise}function mn(t,e){var n=vn(t)[e];return n?n.promise?n.promise:(fn(t,e),n.promise=Promise.resolve(n.obj)):null}function vn(t){var e=t.__AMP_SERVICES;return e||(e=t.__AMP_SERVICES={}),e}function gn(t){return"function"==typeof t.dispose}function yn(t,e){if(gn(e))try{(function(t){return Gt(gn(t)),t})(e).dispose()}catch(e){Wt().error("SERVICE","failed to dispose service",t,e)}}function bn(t,e){var n=t.__AMP_SERVICES&&t.__AMP_SERVICES[e];return!(!n||!n.ctor)}function wn(){var t=new c,e=t.promise,n=t.reject,i=t.resolve;return e.catch(function(){}),{obj:null,promise:e,resolve:i,reject:n,context:null,ctor:null}}function An(t,e,n,i){return En(t,e,n,i).then(function(t){return function(t,e,n){return Kt(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,n,n,n)}(t,e,n)})}function En(t,e,n,i){var r=an(t,e);if(r)return r;var o=hn(t);return o.whenExtensionsKnown().then(function(){var t=o.getExtensionVersion(n);return t?en(o.win,"extensions").waitForExtension(n,t):null}).then(function(n){return n?i?an(t,e):sn(t,e):null})}var Sn,xn=function(t){return En(t,"access","amp-access")},Pn=function(t){return En(t,"subscriptions","amp-subscriptions")},Rn=function(t){return on(t,"action")},Tn=function(t){return An(t,"activity","amp-analytics")},On=function(t){return hn(t)},_n=function(t){return en(t,"ampdoc")},Cn=function(t){return function(t,e){var n=on(t,e);return n?Promise.resolve(n):En(t,e,"amp-bind")}(t,"bind")},Mn=function(t){return sn(t,"cid")},Ln=function(t){return rn(t,"documentInfo").get()},In=function(t){return en(t,"extensions")},kn=function(t){return rn(t,"history")},Dn=function(t){return rn(t,"mutator")},Nn=function(t){return en(t,"performance")},Bn=function(t){return en(t,"platform")},Un=function(t){return en(t,"preconnect")},jn=function(t){return rn(t,"resources")},Vn=function(t){return function(t){return fn(t,"timer")}(t)},Fn=function(t){return on(t,"url-replace")},qn=function(t){return En(t,"geo","amp-geo",!0)},Hn=function(t){return on(t,"url")},zn=function(t){return rn(t,"viewer")},Wn=function(t){return en(t,"vsync")},Gn=function(t){return rn(t,"viewport")},Kn="prerender",Yn="preview",Jn="visible",Xn="hidden",Qn="paused",$n="inactive",Zn=function(){function t(){this.vt=null}var e=t.prototype;return e.add=function(t){var e=this;return this.vt||(this.vt=[]),this.vt.push(t),function(){e.remove(t)}},e.remove=function(t){this.vt&&F(this.vt,t)},e.removeAll=function(){this.vt&&(this.vt.length=0)},e.fire=function(t){if(this.vt)for(var e,n=a(this.vt.slice(),!0);!(e=n()).done;)(0,e.value)(t)},e.getHandlerCount=function(){var t,e;return null!==(t=null===(e=this.vt)||void 0===e?void 0:e.length)&&void 0!==t?t:0},t}(),ti=function(){function t(){this.ae=w(),this.we=null}var e=t.prototype;return e.get=function(t){var e=this.ae[t];return null==e?null:e},e.whenSignal=function(t){var e,n=null===(e=this.we)||void 0===e?void 0:e[t];if(!n){var i=this.ae[t];n=null!=i?{promise:"number"==typeof i?Promise.resolve(i):Promise.reject(i)}:new c,this.we||(this.we=w()),this.we[t]=n}return n.promise},e.signal=function(t,e){var n;if(null==this.ae[t]){var i=null!=e?e:Date.now();this.ae[t]=i;var r=null===(n=this.we)||void 0===n?void 0:n[t];null!=r&&r.resolve&&(r.resolve(i),r.resolve=void 0,r.reject=void 0)}},e.rejectSignal=function(t,e){var n;if(null==this.ae[t]){this.ae[t]=e;var i=null===(n=this.we)||void 0===n?void 0:n[t];null!=i&&i.reject&&(i.reject(e),i.promise.catch(function(){}),i.resolve=void 0,i.reject=void 0)}},e.reset=function(t){var e;this.ae[t]&&delete this.ae[t];var n=null===(e=this.we)||void 0===e?void 0:e[t];n&&!n.resolve&&delete this.we[t]},t}(),ei="building",ni="mounting",ii="loading",ri="complete",oi="error";function si(t){return t.readyState!=ii&&"uninitialized"!=t.readyState}function ai(t){return t.readyState==ri}function ui(t,e){ci(t,si,e)}function ci(t,e,n){var i=e(t);i?n(t):t.addEventListener("readystatechange",function r(){e(t)&&(i||(i=!0,n(t)),t.removeEventListener("readystatechange",r))})}function hi(t){return new Promise(function(e){ui(t,e)})}function li(t){return new Promise(function(e){ci(t,ai,e)})}var fi=["Webkit","webkit","Moz","moz","ms","O","o"],di={getPropertyPriority:function(){return""},getPropertyValue:function(){return""}};function pi(t){var e=t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});return fi.some(function(t){return e.startsWith(t+"-")})?"-".concat(e):e}function mi(t,e,n){if(e.startsWith("--"))return e;Sn||(Sn=w());var i=Sn[e];if(!i||n){if(i=e,void 0===t[e]){var r=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),o=function(t,e){for(var n=0;n<fi.length;n++){var i=fi[n]+e;if(void 0!==t[i])return i}return""}(t,r);void 0!==t[o]&&(i=o)}n||(Sn[e]=i)}return i}function vi(t,e){var n=t.style;for(var i in e)n.setProperty(pi(mi(n,i)),String(e[i]),"important")}function gi(t,e,n,i,r){var o=mi(t.style,e,r);if(o){var s=i?n+i:n;t.style.setProperty(pi(o),s)}}function yi(t,e){for(var n in e)gi(t,n,e[n])}function bi(t,e){void 0===e&&(e=t.hasAttribute("hidden")),e?t.removeAttribute("hidden"):t.setAttribute("hidden","")}function wi(t){return"".concat(t,"px")}function Ai(t,e){return"number"==typeof t?e(t):t}function Ei(t,e){return t.getComputedStyle(e)||di}function Si(t,e){for(var n=0;n<e.length;n++)gi(t,e[n],null)}function xi(t){var e=t[mi(t,"visibilityState",!0)];if(e)return e;var n=mi(t,"hidden",!0);return n in t&&t[n]?Xn:Jn}function Pi(t,e){if(t.addEventListener){var n=Ti(t);n&&t.addEventListener(n,e)}}function Ri(t,e){if(t.removeEventListener){var n=Ti(t);n&&t.removeEventListener(n,e)}}function Ti(t){var e=mi(t,"hidden",!0),n=e.indexOf("Hidden");return-1!=n?e.substring(0,n)+"Visibilitychange":"visibilitychange"}var Oi=function(){function t(){}return t.getTop=function(t){return t.top},t.getLocation=function(t){return t.location},t.getDocumentReferrer=function(t){return t.document.referrer},t.getHostname=function(t){return t.location.hostname},t.getUserAgent=function(t){return t.navigator.userAgent},t.getUserLanguage=function(t){return t.navigator.userLanguage||t.navigator.language},t.getDevicePixelRatio=function(){return self.devicePixelRatio||1},t.getSendBeacon=function(t){if(t.navigator.sendBeacon)return t.navigator.sendBeacon.bind(t.navigator)},t.getXMLHttpRequest=function(t){return t.XMLHttpRequest},t.getImage=function(t){return t.Image},t}(),_i="-ampdoc-ext-known",Ci="-ampdoc-first-visible",Mi="-ampdoc-next-visible",Li="-ampdoc-first-previewed",Ii=function(){function t(t,e,n){this.win=t,this.Ae=null,e&&(this.Ae=new Di(t,{params:Ui(t,n)}),t.document.__AMPDOC=this.Ae)}var e=t.prototype;return e.isSingleDoc=function(){return!!this.Ae},e.getSingleDoc=function(){return Gt(this.Ae)},e.xe=function(t){return t.everAttached&&"function"==typeof t.getAmpDoc?t.getAmpDoc():null},e.getAmpDocIfAvailable=function(t){for(var e=t;e;){var n=this.xe(t);if(n)return n;var i=we(e);if(!i)break;var r=i.__AMPDOC;if(r)return r;e=i.host?i.host:cn(i,this.win)}return null},e.getAmpDoc=function(t){var e=this.getAmpDocIfAvailable(t);if(!e)throw Wt().createError("No ampdoc found for",t);return e},e.installShadowDoc=function(t,e,n){Gt(!e.__AMPDOC);var i=new Ni(this.win,t,e,n);return e.__AMPDOC=i,i},e.installFieDoc=function(t,e,n){var i=e.document;Gt(!i.__AMPDOC);var r=Gt(e.frameElement),o=new Bi(e,t,this.getAmpDoc(r),n);return i.__AMPDOC=o,o},t}(),ki=function(){function t(t,e,n){var i=this;this.win=t,this.Ee=w(),this.Pe=e,this.Te=n&&n.signals||new ti,this.Oe=n&&n.params||w(),this.Ie=null,this.Re={};var r,o=this.Oe.visibilityState;Gt(!o||"prerender"===(r=o)||"preview"===r||"visible"===r||"hidden"===r||"paused"===r||"inactive"===r),this.Se=n&&n.visibilityState||o||null,this.J=null,this._e=new Zn,this.Me=null,this.ke=[];var s=this.Yi.bind(this);this.Pe&&this.ke.push(this.Pe.onVisibilityChanged(s)),Pi(this.win.document,s),this.ke.push(function(){return Ri(i.win.document,s)}),this.Yi()}var e=t.prototype;return e.dispose=function(){(function(t){var e=vn(t),n=function(t){if(!Object.prototype.hasOwnProperty.call(e,t))return"continue";var n=e[t];if(n.sharedInstance)return"continue";n.obj?yn(t,n.obj):n.promise&&n.promise.then(function(e){return yn(t,e)})};for(var i in e)n(i)})(this),this.ke.forEach(function(t){return t()})},e.isSingleDoc=function(){return Gt(null)},e.getParent=function(){return this.Pe},e.signals=function(){return this.Te},e.getParam=function(t){var e=this.Oe[t];return null==e?null:e},e.getMeta=function(){var t=this;return this.Ie||(this.Ie=w(),this.win.document.head.querySelectorAll("meta[name]").forEach(function(e){var n=e.getAttribute("name"),i=e.getAttribute("content");n&&null!==i&&void 0===t.Ie[n]&&(t.Ie[n]=i)})),w(this.Ie)},e.getMetaByName=function(t){if(!t)return null;var e=this.getMeta()[t];return void 0!==e?e:null},e.setMetaByName=function(t,e){Gt(null)},e.declaresExtension=function(t,e){var n=this.Re[t];return!(!n||e&&n!==e)},e.declareExtension=function(t,e){Gt(!this.Re[t]||this.Re[t]===e),this.Re[t]=e},e.getExtensionVersion=function(t){return this.Re[t]||null},e.setExtensionsKnown=function(){this.Te.signal(_i)},e.whenExtensionsKnown=function(){return this.Te.whenSignal(_i)},e.getRootNode=function(){return Gt(null)},e.getHeadNode=function(){},e.isBodyAvailable=function(){return Gt(!1)},e.getBody=function(){return Gt(null)},e.waitForBodyOpen=function(){return Gt(null)},e.isReady=function(){return Gt(null)},e.whenReady=function(){return Gt(null)},e.getUrl=function(){return Gt(null)},e.getElementById=function(t){return this.getRootNode().getElementById(t)},e.contains=function(t){return this.getRootNode().contains(t)},e.overrideVisibilityState=function(t){this.Se!=t&&(this.Se=t,this.Yi())},e.Yi=function(){for(var t,e=xi(this.win.document),n=Jn,i=this.Pe;i;i=i.getParent())if(i.getVisibilityState()!=Jn){n=i.getVisibilityState();break}var r=this.Se||Jn;if(t=r==Jn&&n==Jn&&e==Jn?Jn:e==Xn&&r==Qn?e:r==Qn||r==$n?r:n==Qn||n==$n?n:r==Yn||e==Yn||n==Yn?Yn:r==Kn||e==Kn||n==Kn?Kn:Xn,this.J!=t){if(t==Jn){var o,s=this.win.performance,a=Math.floor(null!==(o=s.timeOrigin)&&void 0!==o?o:s.timing.navigationStart);null!=this.J&&(a+=Math.floor(s.now())),this.Me=a,this.Te.signal(Ci,a),this.Te.signal(Mi,a)}else this.Te.reset(Mi);t==Yn&&this.Te.signal(Li),this.J=t,this._e.fire()}},e.whenFirstPreviewedOrVisible=function(){return Promise.race([this.whenFirstPreviewed(),this.whenFirstVisible()])},e.whenFirstPreviewed=function(){return this.Te.whenSignal(Li).then(function(){})},e.whenFirstVisible=function(){return this.Te.whenSignal(Ci).then(function(){})},e.whenNextVisible=function(){return this.Te.whenSignal(Mi).then(function(){})},e.getFirstVisibleTime=function(){return this.Te.get(Ci)},e.getLastVisibleTime=function(){return this.Me},e.getVisibilityState=function(){return Gt(this.J)},e.isPreview=function(){return this.J==Yn},e.isVisible=function(){return this.J==Jn},e.hasBeenVisible=function(){return null!=this.getLastVisibleTime()},e.onVisibilityChanged=function(t){return this._e.add(t)},e.registerSingleton=function(t){return!this.Ee[t]&&(this.Ee[t]=!0,!0)},t}(),Di=function(t){D(n,t);var e=B(n);function n(t,n){var i;return(i=e.call(this,t,null,n)).Ce=i.win.document.body?Promise.resolve(i.win.document.body):ve(i.win.document).then(function(){return i.getBody()}),i.Ne=hi(i.win.document),i}var i=n.prototype;return i.isSingleDoc=function(){return!0},i.getRootNode=function(){return this.win.document},i.getUrl=function(){return Oi.getLocation(this.win).href},i.getHeadNode=function(){return this.win.document.head},i.isBodyAvailable=function(){return!!this.win.document.body},i.getBody=function(){return this.win.document.body},i.waitForBodyOpen=function(){return this.Ce},i.isReady=function(){return si(this.win.document)},i.whenReady=function(){return this.Ne},n}(ki),Ni=function(t){D(n,t);var e=B(n);function n(t,n,i,r){var o;(o=e.call(this,t,null,r)).je=n,o.De=i,o.Le=null;var s=new c;o.Ce=s.promise,o.Ue=s.resolve,o.ze=!1;var a=new c;return o.Ne=a.promise,o.He=a.resolve,o}var i=n.prototype;return i.isSingleDoc=function(){return!1},i.getRootNode=function(){return this.De},i.getUrl=function(){return this.je},i.getHeadNode=function(){return this.De},i.isBodyAvailable=function(){return!!this.Le},i.getBody=function(){return this.Le},i.setBody=function(t){Gt(!this.Le),this.Le=t,this.Ue(t),this.Ue=void 0},i.waitForBodyOpen=function(){return this.Ce},i.isReady=function(){return this.ze},i.setReady=function(){Gt(!this.ze),this.ze=!0,this.He(),this.He=void 0},i.whenReady=function(){return this.Ne},i.getMeta=function(){return w(this.Ie)},i.setMetaByName=function(t,e){Gt(t),this.Ie||(this.Ie=w()),this.Ie[t]=e},n}(ki),Bi=function(t){D(n,t);var e=B(n);function n(t,n,i,r){var o;(o=e.call(this,t,i,r)).je=n,o.Ce=o.win.document.body?Promise.resolve(o.win.document.body):ve(o.win.document).then(function(){return o.getBody()}),o.ze=!1;var s=new c;return o.Ne=s.promise,o.He=s.resolve,o}var i=n.prototype;return i.isSingleDoc=function(){return!1},i.getRootNode=function(){return this.win.document},i.getUrl=function(){return this.je},i.getHeadNode=function(){return this.win.document.head},i.isBodyAvailable=function(){return!!this.win.document.body},i.getBody=function(){return this.win.document.body},i.waitForBodyOpen=function(){return this.Ce},i.isReady=function(){return this.ze},i.whenReady=function(){return this.Ne},i.setReady=function(){Gt(!this.ze),this.ze=!0,this.He(),this.He=void 0},n}(ki);function Ui(t,e){var n=w();return e?Object.assign(n,e):(t.name&&0==t.name.indexOf("__AMP__")&&Object.assign(n,dt(t.name.substring(7))),t.location&&t.location.hash&&Object.assign(n,dt(t.location.hash))),n}function ji(t){if(!t.hasAttribute("src")&&"srcset"in t==0){var e=t.getAttribute("srcset")||"",n=/\S+/.exec(e);if(null==n)return;var i=n[0];t.setAttribute("src",i)}}var Vi="nodisplay",Fi="fixed",qi="fixed-height",Hi="responsive",zi="container",Wi="fill",Gi="flex-item",Ki="fluid",Yi="intrinsic",Ji=/^amp\-(video|.+player)|AMP-BRIGHTCOVE|AMP-DAILYMOTION|AMP-YOUTUBE|AMP-VIMEO|AMP-IMA-VIDEO/i;function Xi(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 Qi(t){return"i-amphtml-layout-"+t}function $i(t){return t==Fi||t==qi||t==Hi||t==Wi||t==Gi||t==Ki||t==Yi}function Zi(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 tr(t){!function(t){et(/^\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);var e=/[a-z]+/i.exec(null!=t?t:"");return et(e,"Failed to read units from %s",t),e[0]}function er(t){var e=parseFloat(t);return z(e)?e:void 0}function nr(t,e){t.classList.add("i-amphtml-fill-content"),e&&t.classList.add("i-amphtml-replaced-content")}function ir(t,e,n,i){for(var r,o=a(V(t),!0);!(r=o()).done;){var s=r.value,u=e.getAttribute(s);null!==u?n.setAttribute(s,u):i&&n.removeAttribute(s)}}var rr,or="amp:attached",sr="amp:load-start",ar="amp:load-end",ur="ready-upgrade",cr="upgraded",hr="built",lr="mounted",fr="load-start",dr="render-start",pr="load-end",mr="unload",vr=function(){function t(t,e){this.t=t,this.Kt=e,this.Ge={},this.Ve=null}var e=t.prototype;return e.start=function(){this.Ve=this.Ge,this.Ge={}},e.resolveMatchQuery=function(t){return"1"===this.Fe(t,gr,"1")},e.resolveListQuery=function(t){return this.Fe(t,yr,"")},e.complete=function(){for(var t in this.Ve)t in this.Ge||br(this.Ve[t],this.Kt,!1);this.Ve=null},e.dispose=function(){for(var t in this.Ge)br(this.Ge[t],this.Kt,!1);this.Ge={}},e.Fe=function(t,e,n){if(!t.trim())return n;var i=this.Ge[t];return i||(Q(this.Ve),i=this.Ve[t]),i||br(i=e(this.t,t),this.Kt,!0),this.Ge[t]=i,function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n.query,r=n.value;if(!i||i.matches)return r}return""}(i)},t}();function gr(t,e){return[{query:t.matchMedia(e),value:"1"},{query:null,value:""}]}function yr(t,e){return e.split(",").map(function(e){if(0!=(e=e.replace(/\s+/g," ").trim()).length){var n,i,r;if(")"==e.charAt(e.length-1)){var o=1;for(r=e.length-2;r>=0;r--){var s=e.charAt(r);if("("==s?o--:")"==s&&o++,0==o)break}var a=r-1;if(r>0)for(r--;r>=0;r--){var u=e.charAt(r);if(!("%"==u||"-"==u||"_"==u||u>="a"&&u<="z"||u>="A"&&u<="Z"||u>="0"&&u<="9"))break}if(r>=a)return null}else for(r=e.length-2;r>=0;r--){var c=e.charAt(r);if(!("%"==c||"."==c||c>="a"&&c<="z"||c>="A"&&c<="Z"||c>="0"&&c<="9"))break}return r>=0?(n=e.substring(0,r+1).trim(),i=e.substring(r+1).trim()):(i=e,n=void 0),i?{query:n?t.matchMedia(n):null,value:i}:null}}).filter(Boolean)}function br(t,e,n){for(var i=0;i<t.length;i++){var r=t[i].query;r&&(void 0!==r.onchange?r.onchange=n?e:null:n?r.addListener(e):r.removeListener(e))}}function wr(t){var e=t.ownerDocument||t;return rr&&rr.ownerDocument===e||(rr=e.createElement("div")),Ar}function Ar(t){return function(t,e){if(Q(1===e.length),Q(Array.isArray(e)||A(e,"raw")),self.trustedTypes&&self.trustedTypes.createPolicy){var n=self.trustedTypes.createPolicy("static-template#createNode",{createHTML:function(t){return e[0]}});t.innerHTML=n.createHTML("ignored")}else t.innerHTML=e[0];var i=t.firstElementChild;return Q(i),Q(!i.nextElementSibling),t.removeChild(i),i}(rr,t)}var Er=['<i-amphtml-sizer class=i-amphtml-sizer slot=i-amphtml-svc><img alt="" role=presentation aria-hidden=true class=i-amphtml-intrinsic-sizer></i-amphtml-sizer>'],Sr={"AMP-PIXEL":{width:"0px",height:"0px"},"AMP-ANALYTICS":{width:"1px",height:"1px"},"AMP-AUDIO":null,"AMP-SOCIAL-SHARE":{width:"60px",height:"44px"}};function xr(t){var e=t.getAttribute("layout"),n=t.getAttribute("width"),i=t.getAttribute("height"),r=t.getAttribute("sizes"),o=t.getAttribute("heights"),s=e?Xi(e):null;et(void 0!==s,'Invalid "layout" value: %s, %s',e,t);var a=n&&"auto"!=n?Zi(n):n;et(void 0!==a,'Invalid "width" value: %s, %s',n,t);var u,c,h,l,f=i&&"fluid"!=i?Zi(i):i;if(et(void 0!==f,'Invalid "height" value: %s, %s',i,t),s&&s!=Fi&&s!=qi||a&&f||(l=(l=t.tagName).toUpperCase(),void 0===Sr[l]))u=a,c=f;else{var d=function(t){var e=t.tagName.toUpperCase();if(Q(void 0!==Sr[e]),!Sr[e]){var n=t.ownerDocument,i=e.replace(/^AMP\-/,""),r=n.createElement(i);r.controls=!0,yi(r,{position:"absolute",visibility:"hidden"}),n.body.appendChild(r),Sr[e]={width:(r.offsetWidth||1)+"px",height:(r.offsetHeight||1)+"px"},n.body.removeChild(r)}return Sr[e]}(t);u=a||s==qi?a:d.width,c=f||d.height}return(h=s||(u||c?"fluid"==c?Ki:!c||u&&"auto"!=u?c&&u&&(r||o)?Hi:Fi:qi:zi))!=Fi&&h!=qi&&h!=Hi&&h!=Yi||et(c,'The "height" attribute is missing: %s',t),h==qi&&et(!u||"auto"==u,'The "width" attribute must be missing or "auto": %s',t),h!=Fi&&h!=Hi&&h!=Yi||et(u&&"auto"!=u,'The "width" attribute must be present and not "auto": %s',t),h==Hi||h==Yi?et(tr(u)==tr(c),'Length units should be the same for "width" and "height": %s, %s, %s',n,i,t):et(null===o,'"heights" attribute must be missing: %s',t),{layout:h,width:u,height:c}}var Pr,Rr="EXPERIMENTS",Tr="amp-experiment-toggles",Or="__AMP__EXPERIMENT_TOGGLES";function _r(t,e){return!!Mr(t)[e]}function Cr(t,e,n,i){var r=_r(t,e),o=null!=n?n:!r;if(o!=r&&(Mr(t)[e]=o,!i)){var s=Lr(t);s[e]=o,function(t,e){var n=[];for(var i in e)n.push((!1===e[i]?"-":"")+i);try{var r;null===(r=t.localStorage)||void 0===r||r.setItem(Tr,n.join(","))}catch(t){Ht().error(Rr,"Failed to save experiments to localStorage.")}}(t,s),Ht().warn(Rr,'"%s" experiment %s for the domain "%s". See: https://amp.dev/documentation/guides-and-tutorials/learn/experimental',e,o?"enabled":"disabled",t.location.hostname)}return o}function Mr(t){var e,n,i,r,o;if(t[Or])return t[Or];t[Or]=w();var s=t[Or];Q(s);var u=I(I({},null!==(e=t.AMP_CONFIG)&&void 0!==e?e:{}),null!==(n=t.AMP_EXP)&&void 0!==n?n:nt((null===(i=t.__AMP_EXP)||void 0===i?void 0:i.textContent)||"{}"));for(var c in u){var h=u[c];"number"==typeof h&&h>=0&&h<=1&&(s[c]=Math.random()<h)}var l=null===(r=t.AMP_CONFIG)||void 0===r?void 0:r["allow-doc-opt-in"];if(j(l)&&l.length){var f=t.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f)for(var d,p,m=a((null===(d=f.getAttribute("content"))||void 0===d?void 0:d.split(","))||[],!0);!(p=m()).done;){var v=p.value;l.includes(v)&&(s[v]=!0)}}Object.assign(s,Lr(t));var g=null===(o=t.AMP_CONFIG)||void 0===o?void 0:o["allow-url-opt-in"];if(j(g)&&g.length)for(var y,b=dt(t.location.originalHash||t.location.hash),A=a(g,!0);!(y=A()).done;){var E=y.value,S=b["e-".concat(E)];"1"==S&&(s[E]=!0),"0"==S&&(s[E]=!1)}return s}function Lr(t){var e,n="";try{var i;"localStorage"in t&&(n=null!==(i=t.localStorage.getItem(Tr))&&void 0!==i?i:"")}catch(t){Wt().warn(Rr,"Failed to retrieve experiments from localStorage.")}for(var r,o=(null===(e=n)||void 0===e?void 0:e.split(/\s*,\s*/g))||[],s=w(),u=a(o,!0);!(r=u()).done;){var c=r.value;c&&("-"==c[0]?s[c.substr(1)]=!1:s[c]=!0)}return s}function Ir(t,e,n,i){var r=t,o=n,s=function(t){try{return o(t)}catch(t){var e,n;throw null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t),t}},a=function(){if(void 0!==Pr)return Pr;Pr=!1;try{var t={get capture(){return Pr=!0,!1}};self.addEventListener("test-options",null,t),self.removeEventListener("test-options",null,t)}catch(t){}return Pr}(),u=!(null==i||!i.capture);return r.addEventListener(e,s,a?i:u),function(){null==r||r.removeEventListener(e,s,a?i:u),o=null,r=null,s=null}}var kr="Failed to load:";function Dr(t,e,n,i){var r={detail:n};if(Object.assign(r,i),"function"==typeof t.CustomEvent)return new t.CustomEvent(e,r);var o=t.document.createEvent("CustomEvent");return o.initCustomEvent(e,!!r.bubbles,!!r.cancelable,n),o}function Nr(t,e,n,i){return Ir(t,e,n,i)}function Br(t){return t.data}function Ur(t,e,n,i){var r=n,o=Ir(t,e,function(t){try{r(t)}finally{r=null,o()}},i);return o}function jr(t){var e,n;if(function(t){return!!(t.complete||"complete"==t.readyState||Vr(t)&&t.readyState>0||t.document&&"complete"==t.document.readyState)}(t))return Promise.resolve(t);var i=Vr(t);return i&&t.__AMP_MEDIA_LOAD_FAILURE_SRC===t.currentSrc?Promise.reject(t):new Promise(function(r,o){if(e=i?Ur(t,"loadedmetadata",r,{capture:!0}):Ur(t,"load",r),t.tagName){var s=t;if(i&&!t.hasAttribute("src")&&!(s=he(t,function(t){return"SOURCE"===t.tagName})))return o(new Error("Media has no source."));n=Ur(s,"error",o)}}).then(function(){return n&&n(),t},function(){e&&e(),function(t){Vr(t)&&(t.__AMP_MEDIA_LOAD_FAILURE_SRC=t.currentSrc||!0);var e=t;throw e&&e.src&&(e=e.src),Ht().createError(kr,e)}(t)})}function Vr(t){return"AUDIO"===t.tagName||"VIDEO"===t.tagName}var Fr={"amp-dynamic-css-classes":"[custom-element=amp-dynamic-css-classes]",variant:"amp-experiment"};function qr(t){var e=t.document;return Gt(e.body),Object.keys(Fr).filter(function(t){return e.querySelector(Fr[t])})}function Hr(t,e,n,i,r){var o=t.getHeadNode(),s=function(t,e,n,i){var r=t.__AMP_CSS_SM;r||(r=t.__AMP_CSS_SM=w());var o=!n&&i&&"amp-custom"!=i&&"amp-keyframes"!=i,s=n?"amp-runtime":o?"amp-extension=".concat(i):null;if(s){var a=zr(t,r,s);if(a)return"STYLE"==a.tagName&&a.textContent!==e&&(a.textContent=e),a}var u=(t.ownerDocument||t).createElement("style");u.textContent=e;var c=null;return n?u.setAttribute("amp-runtime",""):o?(u.setAttribute("amp-extension",i||""),c=zr(t,r,"amp-runtime")):(i&&u.setAttribute(i,""),c=t.lastChild),function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(n){var i=n.nextSibling;t.insertBefore(e,i)}else!function(t,e){t.insertBefore(e,t.firstChild)}(t,e)}(t,u,c),s&&(r[s]=u),u}(o,function(t,e){var n=t.__AMP_CSS_TR;return n?n(e):e}(o,e),i||!1,r||null);if(n){var a=t.getRootNode();if(Yr(a,s))return n(s),s;var u=setInterval(function(){Yr(a,s)&&(clearInterval(u),n(s))},4)}return s}function zr(t,e,n){if(e[n])return e[n];var i=t.querySelector("style[".concat(n,"], link[").concat(n,"]"));return i?(e[n]=i,i):null}var Wr=!1;function Gr(t){Gt(t.defaultView),Wr||(Wr=!0,Kr(t))}function Kr(t){yi(t.body,{opacity:1,visibility:"visible",animation:"none"})}function Yr(t,e){for(var n=t.styleSheets,i=0;i<n.length;i++)if(n[i].ownerNode==e)return!0;return!1}var Jr,Xr,Qr=function(){function t(t){this.zt=t,this.It=0,this.Ct=0,this.Ot=w()}var e=t.prototype;return e.has=function(t){return!!this.Ot[t]},e.get=function(t){var e=this.Ot[t];if(e)return e.access=++this.Ct,e.payload},e.put=function(t,e){this.has(t)||this.It++,this.Ot[t]={payload:e,access:this.Ct},this.qt()},e.qt=function(){if(!(this.It<=this.zt)){var t,e=this.Ot,n=this.Ct+1;for(var i in e){var r=e[i].access;r<n&&(n=r,t=i)}void 0!==t&&(delete e[t],this.It--)}},t}(),$r=new Set(["c","v","a","ad"]),Zr="__amp_source_origin",to=function(t){return"string"==typeof t?eo(t):t};function eo(t,e){return Jr||(Jr=self.document.createElement("a"),Xr=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new Qr(100))),no(Jr,t,e?null:Xr)}function no(t,e,n){if(n&&n.has(e))return n.get(e);t.href=e,t.protocol||(t.href=t.href);var i,r={href:t.href,protocol:t.protocol,host:t.host,hostname:t.hostname,port:"0"==t.port?"":t.port,pathname:t.pathname,search:t.search,hash:t.hash,origin:null};"/"!==r.pathname[0]&&(r.pathname="/"+r.pathname),("http:"==r.protocol&&80==r.port||"https:"==r.protocol&&443==r.port)&&(r.port="",r.host=r.hostname),i=t.origin&&"null"!=t.origin?t.origin:"data:"!=r.protocol&&r.host?r.protocol+"//"+r.host:r.href,r.origin=i;var o=r;return n&&n.put(e,o),o}function io(t,e,n){if(!e)return t;var i=t.split("#",2),r=i[0].split("?",2);return r[0]+(r[1]?n?"?".concat(e,"&").concat(r[1]):"?".concat(r[1],"&").concat(e):"?".concat(e))+(i[1]?"#".concat(i[1]):"")}function ro(t,e){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e))}function oo(t,e){return io(t,so(e))}function so(t){var e=[];for(var n in t){var i=t[n];if(null!=i){i=V(i);for(var r=0;r<i.length;r++)e.push(ro(n,i[r]))}}return e.join("&")}function ao(t){return"https:"==(t=to(t)).protocol||"localhost"==t.hostname||"127.0.0.1"==t.hostname||(n=(e=t.hostname).length-10)>=0&&e.indexOf(".localhost",n)==n;var e,n}function uo(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"source";return Kt(null!=t,"%s %s must be available",e,n),Kt(ao(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,n,t),t}function co(t){var e=t.indexOf("#");return-1==e?t:t.substring(0,e)}function ho(t){return vt.test(to(t).origin)}function lo(t){return!(t&&ht.includes(to(t).protocol))}function fo(t){var e=eo(t),n=e.hash;return e.origin+e.pathname+po(e.search)+n}function po(t){return function(t){if(!t||"?"==t)return"";var e=new RegExp("[?&]".concat("(amp_(js[^&=]*|gsa|r|kit)|usqp)","\\b[^&]*"),"g"),n=t.replace(e,"").replace(/^[?&]/,"");return n?"?"+n:""}(t)}function mo(t){if(!ho(t=to(t)))return t.href;var e=t.pathname.split("/"),n=e[1];Kt($r.has(n),"Unknown path prefix in url %s",t.href);var i=e[2],r="s"==i?"https://"+decodeURIComponent(e[3]):"http://"+decodeURIComponent(i);return Kt(r.indexOf(".")>0,"Expected a . in origin %s",r),e.splice(1,"s"==i?3:2),r+e.join("/")+po(t.search)+(t.hash||"")}function vo(t){return eo(mo(t)).origin}function go(t,e){return e=to(e),"function"==typeof URL?new URL(t,e.href).toString():function(t,e){e=to(e);var n=eo(t=t.replace(/\\/g,"/"));return t.toLowerCase().startsWith(n.protocol)?n.href:t.startsWith("//")?e.protocol+t:t.startsWith("/")?e.origin+t:e.origin+e.pathname.replace(/\/[^/]*$/,"/")+t}(t,e)}function yo(t,e){return bo(e),function(t,e,n){return io(t,ro("__amp_source_origin",n),void 0)}(e,0,vo(t.location.href))}function bo(t){var e=dt(eo(t).search);Kt(!(Zr in e),"Source origin is not allowed in %s",t)}var wo="CANCELLED",Ao="BLOCK_BY_CONSENT",Eo=self.__AMP_ERRORS||[];self.__AMP_ERRORS=Eo;var So=function(t){return(e=0,n=function(){var t=Math.pow(1.5,e++);return 1e3*(t+function(t,e){var n=t*(e=e||.3)*Math.random();return Math.random()>.5&&(n*=-1),n}(t))},So=function(t){return setTimeout(t,n())})(t);var e,n};function xo(t,e){try{if(t)if(void 0!==t.message)t=l(t);else{var n=t;(t=new Error(function(t){try{return JSON.stringify(t)}catch(e){return String(t)}}(n))).origError=n}else t=new Error("Unknown error");if(t.reported)return t;if(t.reported=!0,t.messageArray){var i=function(t){for(var e=0;e<t.length;e++)if(null==(n=t[e])?void 0:n.tagName)return e;var n;return-1}(t.messageArray);i>-1&&(t.associatedElement=t.messageArray[i])}var r=e||t.associatedElement;if(r&&r.classList&&(r.classList.add("i-amphtml-error"),_t().development&&(r.classList.add("i-amphtml-element-error"),r.setAttribute("error-message",t.message))),self.console&&(Y(t.message)||!t.expected)){var o=console.error||console.log;t.messageArray?o.apply(console,t.messageArray):r?o.call(console,t.message,r):o.call(console,t.message)}r&&r.dispatchCustomEventForTesting&&r.dispatchCustomEventForTesting("amp:error",t.message),To.call(self,void 0,void 0,void 0,void 0,t)}catch(t){setTimeout(function(){throw t})}return t}function Po(){return new Error(wo)}function Ro(t){return!!t&&("string"==typeof t?t.startsWith(Ao):"string"==typeof t.message&&t.message.startsWith(Ao))}function To(t,e,n,i,r){var o=this;if(!this||!this.document||r&&r.expected||Gr(this.document),!_t().development){var s=!1;try{s=function(t){if(!t.document)return!1;for(var e=t.document.querySelectorAll("script[src]"),n=0;n<e.length;n++)if(!ho(e[n].src.toLowerCase()))return!0;return!1}(self)}catch(t){}if(!(s&&Math.random()<.99)){var a=function(t,e,n,i,r,o){t=function(t,e){return e&&(t=e.message?e.message:String(e)),t||(t="Unknown error"),t}(t,r);var s=!(!r||!r.expected);if(!/_reported_/.test(t)&&t!=wo){var a=!(self&&self.window),u=Math.random();if(!((function(t){return-1!=t.indexOf(kr)}(t)||"Script error."==t||a)&&(s=!0,u<.9999))){var c=Y(t);if(!(c&&u<.99)){var h=Object.create(null);h.v=_t().rtvVersion,h.noAmp=o?"1":"0",h.m=t.replace(W,""),h.a=c?"1":"0",h.ex=s?"1":"0",h.dw=a?"1":"0";var l,f,d="1p";if(self.context&&self.context.location?(d="3p",h["3p"]="1"):_t().runtime&&(d=_t().runtime),h.rt=d,h.cdn=At,"inabox"===d&&(h.adid=_t().a4aId),h.ca=null!==(f=self.AMP_CONFIG)&&void 0!==f&&f.canary?"1":"0",h.bt=(null===(l=self.AMP_CONFIG)||void 0===l?void 0:l.type)||"unknown",self.location.ancestorOrigins&&self.location.ancestorOrigins[0]&&(h.or=self.location.ancestorOrigins[0]),self.viewerState&&(h.vs=self.viewerState),self.parent&&self.parent!=self&&(h.iem="1"),self.AMP&&self.AMP.viewer){var p=self.AMP.viewer.getResolvedViewerUrl(),m=self.AMP.viewer.maybeGetMessagingOrigin();p&&(h.rvu=p),m&&(h.mso=m)}var v,g,y,b=[],w=self[Or]||null;for(var A in w){var E=w[A];b.push("".concat(A,"=").concat(E?"1":"0"))}return h.exps=b.join(","),r?(h.el=(null===(v=r.associatedElement)||void 0===v?void 0:v.tagName)||"u",r.args&&(h.args=JSON.stringify(r.args)),c||r.ignoreStack||!r.stack||(h.s=r.stack),r.message&&(r.message+=" _reported_")):(h.f=e||"",h.l=n||"",h.c=i||""),h.r=self.document?self.document.referrer:"",h.ae=Eo.join(","),h.fr=self.location.originalHash||self.location.hash,"production"===h.bt&&(h.pt="1"),y=t,(g=Eo).length>=25&&g.splice(0,g.length-25+1),g.push(y),h}}}}(t,e,n,i,r,s);a&&So(function(){try{return function(t,e){return e.pt&&Math.random()<.9?u():function(t,e){var n=_n(t);if(!n.isSingleDoc())return Promise.resolve(!1);var i=n.getSingleDoc();if(!i.getRootNode().documentElement.hasAttribute("report-errors-to-viewer"))return Promise.resolve(!1);var r=zn(i);return r.hasCapability("errorReporter")?r.isTrustedViewer().then(function(t){return!!t&&(r.sendMessage("error",{m:(n=e).m,a:n.a,s:n.s,el:n.el,ex:n.ex,v:n.v,pt:n.pt}),!0);var n}):Promise.resolve(!1)}(t,e).then(function(t){if(!t){var n=new XMLHttpRequest;n.open("POST",Math.random()<.1?xt:St,!0),n.send(JSON.stringify(e))}})}(o,a).catch(function(){})}catch(t){}})}}}var Oo="Resource",_o=function(){function t(t,e,n){e.__AMP__RESOURCE=this,this.Be=t,this.element=e,this.debugid=e.tagName.toLowerCase()+"#"+t,this.hostWin=e.ownerDocument.defaultView,this.qe=n,this.We=e.hasAttribute("placeholder"),this.$e=!1,this.Ye=void 0,this.Ke=e.isBuilt()?1:0,0==this.Ke&&e.isBuilding()&&this.build(),this.Xe=-1,this.Je=0,this.Qe=null,this.Ze=null,this.tu=!1,this.nu=Oe(-1e4,-1e4,0,0),this.iu=null,this.ru=!1,this.eu=null,this.uu=null,this.ou=void 0;var i=new c;this.su=i.promise,this.hu=i.resolve,this.au=!1}t.forElement=function(e){return Gt(t.forElementOptional(e))},t.forElementOptional=function(t){return t.__AMP__RESOURCE},t.setOwner=function(e,n){Gt(n.contains(e)),t.forElementOptional(e)&&t.forElementOptional(e).updateOwner(n),e.__AMP__OWNER=n;for(var i=e.getElementsByClassName("i-amphtml-element"),r=0;r<i.length;r++){var o=i[r];t.forElementOptional(o)&&t.forElementOptional(o).updateOwner(void 0)}};var e=t.prototype;return e.getId=function(){return this.Be},e.updateOwner=function(t){this.Ye=t},e.getOwner=function(){if(void 0===this.Ye){for(var t=this.element;t;t=t.parentElement)if(t.__AMP__OWNER){this.Ye=t.__AMP__OWNER;break}void 0===this.Ye&&(this.Ye=null)}return this.Ye},e.hasOwner=function(){return!!this.getOwner()},e.getLayoutPriority=function(){return-1!=this.Xe?this.Xe:this.element.getLayoutPriority()},e.updateLayoutPriority=function(t){this.Xe=t},e.getState=function(){return this.Ke},e.isBuilt=function(){return this.element.isBuilt()},e.isBuilding=function(){return this.$e},e.whenBuilt=function(){return this.element.signals().whenSignal("res-built")},e.build=function(){var t=this;return this.$e||!this.element.isUpgraded()?null:(this.$e=!0,this.element.buildInternal().then(function(){t.$e=!1,t.Ke=1,t.element.signals().signal("res-built")},function(e){throw t.maybeReportErrorOnBuildFailure(e),t.$e=!1,t.element.signals().rejectSignal("res-built",e),e}))},e.maybeReportErrorOnBuildFailure=function(t){Ro(t)||Wt().error(Oo,"failed to build:",this.debugid,t)},e.changeSize=function(t,e,n){this.element.applySize(t,e,n),this.requestMeasure()},e.overflowCallback=function(t,e,n,i){t&&(this.ou={height:e,width:n,margins:i}),this.element.overflowCallback(t,e,n,i)},e.resetPendingChangeSize=function(){this.ou=void 0},e.getPendingChangeSize=function(){return this.ou},e.getUpgradeDelayMs=function(){return this.element.getUpgradeDelayMs()},e.measure=function(){if(!(this.We&&this.element.parentElement&&this.element.parentElement.tagName.startsWith("AMP-"))||"__AMP__RESOURCE"in this.element.parentElement)if(this.element.ownerDocument&&this.element.ownerDocument.defaultView){this.ru=!1;var t=this.nu;this.fu();var e,n,i=this.nu,r=(n=i,!((e=t).width==n.width&&e.height===n.height));(1==this.Ke||t.top!=i.top||r)&&this.element.isUpgraded()&&(1==this.Ke?this.Ke=2:4!=this.Ke&&5!=this.Ke||!this.element.isRelayoutNeeded()||(this.Ke=2)),this.hasBeenMeasured()||(this.iu=i),this.element.updateLayoutBox(i,r)}else this.Ke=1},e.ensureMeasured=function(){var t=this;return this.hasBeenMeasured()?u():Wn(this.hostWin).measure(function(){return t.measure()})},e.fu=function(){var t=Gn(this.element);this.nu=t.getLayoutRect(this.element);var e=!1;if(t.supportsPositionFixed()&&this.isDisplayed())for(var n=this.qe.getAmpdoc().win,i=n.document.body,r=this.element;r&&r!=i;r=r.offsetParent){if(r.isAlwaysFixed&&r.isAlwaysFixed()){e=!0;break}if(t.isDeclaredFixed(r)&&"fixed"==Ei(n,r).position){e=!0;break}}this.tu=e,e&&(this.nu=Ce(this.nu,-t.getScrollLeft(),-t.getScrollTop()))},e.completeCollapse=function(){bi(this.element,!1),this.nu=Oe(this.nu.left,this.nu.top,0,0),this.tu=!1,this.element.updateLayoutBox(this.getLayoutBox());var t=this.getOwner();t&&t.collapsedCallback(this.element)},e.completeExpand=function(){bi(this.element,!0),this.requestMeasure()},e.isMeasureRequested=function(){return this.ru},e.hasBeenMeasured=function(){return!!this.iu},e.requestMeasure=function(){this.ru=!0},e.getLayoutSize=function(){return e=(t=this.nu).height,{width:t.width,height:e};var t,e},e.getLayoutBox=function(){if(!this.tu)return this.nu;var t=Gn(this.element);return Ce(this.nu,t.getScrollLeft(),t.getScrollTop())},e.getInitialLayoutBox=function(){return this.iu||this.nu},e.isDisplayed=function(){if(!this.element.ownerDocument||!this.element.ownerDocument.defaultView)return!1;var t=this.element.getLayout()==Ki,e=this.getLayoutBox(),n=e.height>0&&e.width>0;return t||n},e.isFixed=function(){return this.tu},e.overlaps=function(t){return n=t,(e=this.getLayoutBox()).top<=n.bottom&&n.top<=e.bottom&&e.left<=n.right&&n.left<=e.right;var e,n},e.prerenderAllowed=function(){return this.element.prerenderAllowed()},e.previewAllowed=function(){return this.element.previewAllowed()},e.isBuildRenderBlocking=function(){return this.element.isBuildRenderBlocking()},e.whenWithinViewport=function(t){if(Gt(!1!==t),!this.isLayoutPending()||!0===t)return u();var e=t,n=String(e);return this.eu&&this.eu[n]?this.eu[n].promise:this.isWithinViewportRatio(e)?u():(this.eu=this.eu||{},this.eu[n]=new c,this.eu[n].promise)},e.cu=function(){if(this.eu){var t=this.getDistanceViewportRatio();for(var e in this.eu)this.isWithinViewportRatio(parseFloat(e),t)&&(this.eu[e].resolve(),delete this.eu[e])}},e.getDistanceViewportRatio=function(){var t=Gn(this.element).getRect(),e=this.getLayoutBox(),n=this.qe.getScrollDirection(),i=1,r=0;if(t.right<e.left||t.left>e.right)return{distance:!1};if(t.bottom<e.top)r=e.top-t.bottom,-1==n&&(i=2);else{if(!(t.top>e.bottom))return{distance:!0};r=t.top-e.bottom,1==n&&(i=2)}return{distance:r,scrollPenalty:i,viewportHeight:t.height}},e.isWithinViewportRatio=function(t,e){if("boolean"==typeof t)return t;var n=e||this.getDistanceViewportRatio(),i=n.distance,r=n.scrollPenalty,o=n.viewportHeight;return"boolean"==typeof i?i:i<o*t/r},e.renderOutsideViewport=function(){return this.cu(),this.hasOwner()||this.isWithinViewportRatio(this.element.renderOutsideViewport())},e.idleRenderOutsideViewport=function(){return this.isWithinViewportRatio(this.element.idleRenderOutsideViewport())},e.layoutScheduled=function(t){this.Ke=3,this.element.layoutScheduleTime=t},e.layoutCanceled=function(){this.Ke=this.hasBeenMeasured()?2:1},e.startLayout=function(){var t=this;if(this.uu)return this.uu;if(4==this.Ke)return u();if(5==this.Ke)return Promise.reject(this.Ze);if(Gt(0!=this.Ke),Gt(this.isDisplayed()),3!=this.Ke){var e=Wt().createExpectedError("startLayout called but not LAYOUT_SCHEDULED","currently: ",this.Ke);return xo(e,this.element),Promise.reject(e)}if(this.Je>0&&!this.element.isRelayoutNeeded())return Wt().fine(Oo,"layout canceled since it wasn't requested:",this.debugid,this.Ke),this.Ke=4,u();Wt().fine(Oo,"start layout:",this.debugid,"count:",this.Je),this.Je++,this.Ke=3,this.Qe=new AbortController;var n=this.Qe.signal,i=new Promise(function(e,i){Wn(t.hostWin).mutate(function(){var r;try{r=t.element.layoutCallback(n)}catch(t){i(t)}Promise.resolve(r).then(e,i)}),n.onabort=function(){return i(Po())}}).then(function(){return t.lu(!0,n)},function(e){return t.lu(!1,n,e)});return this.uu=i},e.lu=function(t,e,n){if(this.Qe=null,e.aborted){var i=Wt().createError("layoutComplete race");throw i.associatedElement=this.element,Wt().expectedError(Oo,i),Po()}if(this.hu&&(this.hu(),this.hu=null),this.uu=null,this.Ke=t?4:5,this.Ze=n,!t)return Wt().fine(Oo,"loading failed:",this.debugid,n),Promise.reject(n);Wt().fine(Oo,"layout complete:",this.debugid)},e.isLayoutPending=function(){return 4!=this.Ke&&5!=this.Ke},e.loadedOnce=function(){return this.element.R1()?this.element.whenLoaded():this.su},e.isInViewport=function(){return this.au&&this.cu(),this.au},e.setInViewport=function(t){this.au=t},e.unlayout=function(){0!=this.Ke&&1!=this.Ke&&2!=this.Ke&&(this.Qe&&(this.Qe.abort(),this.Qe=null),this.setInViewport(!1),this.element.unlayoutCallback()&&(this.element.togglePlaceholder(!0),this.Ke=1,this.Je=0,this.uu=null))},e.getTaskId=function(t){return this.debugid+"#"+t},e.pause=function(){this.element.pause()},e.pauseOnRemove=function(){this.element.pause()},e.resume=function(){this.element.resume()},e.unload=function(){this.element.unmount()},e.disconnect=function(){delete this.element.__AMP__RESOURCE,this.element.disconnect(!0)},t}(),Co="ready-scan",Mo="scheduler",Lo="250% 31.25%",Io=function(){function t(t){var e=this;this.vu=t;var n=t.win;this.du=new n.IntersectionObserver(function(t){return e.mu(t)},{root:Se(n)?n.document:null,rootMargin:Lo}),this.pu=new Map,this.gu=new Map,this.bu=[],this.yu=!1,t.whenReady().then(function(){return e.wu()}),this.Au=t.onVisibilityChanged(function(){return e.xu()})}var e=t.prototype;return e.dispose=function(){this.du.disconnect(),this.gu.clear(),this.Au&&(this.Au(),this.Au=null)},e.scheduleAsap=function(t){this.gu.set(t,{asap:!0,isIntersecting:!1}),this.Eu(t)},e.schedule=function(t){this.gu.has(t)||(t.deferredMount()?(this.gu.set(t,{asap:!1,isIntersecting:!1}),this.du.observe(t),this.pu.size>0&&this.pu.forEach(function(e,n){Pe(n,t)&&e.observe(t)})):this.gu.set(t,{asap:!1,isIntersecting:!0}),this.Eu(t))},e.unschedule=function(t){this.gu.has(t)&&(this.gu.delete(t),this.du.unobserve(t),this.pu.size>0&&this.pu.forEach(function(e){e.unobserve(t)}),this.bu&&(F(this.bu,t),this.wu()))},e.setContainer=function(t,e){var n=this;if(!this.pu.has(t)){var i=new this.vu.win.IntersectionObserver(function(t){return n.mu(t)},{root:e||t,rootMargin:Lo});this.pu.set(t,i),this.gu.forEach(function(e,n){!e.asap&&Pe(t,n)&&i.observe(n)})}},e.removeContainer=function(t){var e=this.pu.get(t);e&&(e.disconnect(),this.pu.delete(t))},e.Pu=function(){var t=this;this.vu.isReady()&&!this.yu&&(this.yu=!0,this.vu.win.setTimeout(function(){t.vu.signals().signal(Co)},50))},e.xu=function(){var t=this,e=this.vu.getVisibilityState();e!=Jn&&e!=Xn&&e!=Kn&&e!=Yn||this.gu.forEach(function(e,n){return t.Tu(n)})},e.Eu=function(t){var e=this.bu;e?(e.includes(t)||e.push(t),this.wu()):this.Tu(t)},e.wu=function(){var t=this.vu.isReady(),e=this.bu;if(e)for(var n=0;n<e.length;n++){var i=e[n];(t||Ae(i,this.vu.getRootNode()))&&(e.splice(n--,1),this.Tu(i))}t&&(this.bu=null,this.Pu())},e.mu=function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n.isIntersecting,r=n.target,o=this.gu.get(r);if(o){var s=i||o.isIntersecting;s!==o.isIntersecting&&this.gu.set(r,{asap:o.asap,isIntersecting:s}),s&&this.Tu(r)}}},e.Tu=function(t){var e=this.bu,n=!(e&&e.includes(t)),i=this.gu.get(t)||{asap:!1,isIntersecting:!1},r=i.asap,o=i.isIntersecting,s=this.vu.getVisibilityState();if(n&&(r||o)&&(s==Jn||s==Xn||s==Kn&&t.prerenderAllowed()||s==Yn&&t.previewAllowed())){this.unschedule(t);var a=this.vu.win;(r||t.getBuildPriority()<=0?a.setTimeout:a.requestIdleCallback||a.setTimeout)(function(){return t.mountInternal()})}},t}();function ko(t){return tn(t,Mo,Io),rn(t,Mo)}var Do=function(){function t(){this.Ou=[]}var n=t.prototype;return n.peek=function(){var t=this.length;return t?this.Ou[t-1].item:null},n.enqueue=function(t,e){if(isNaN(e))throw new Error("Priority must not be NaN.");var n=this.Iu(e);this.Ou.splice(n,0,{item:t,priority:e})},n.Iu=function(t){for(var e=-1,n=0,i=this.length;n<=i&&(e=Math.floor((n+i)/2))!==this.length;)if(this.Ou[e].priority<t)n=e+1;else{if(!(e>0&&this.Ou[e-1].priority>=t))break;i=e-1}return e},n.forEach=function(t){for(var e=this.length;e--;)t(this.Ou[e].item)},n.dequeue=function(){var t=this.Ou.pop();return t?t.item:null},e(t,[{key:"length",get:function(){return this.Ou.length}}]),t}(),No="CHUNK",Bo=/nochunking=1/.test(self.location.hash),Uo=!1,jo=u();function Vo(t,e,n){if(Bo)jo.then(e);else{var i,r=(tn(i=t.documentElement||t,"chunk",zo),rn(i,"chunk"));r.runForStartup(e),n&&r.runForStartup(function(){r.Ru=!0})}}var Fo="not_run",qo=function(){function t(t){this.state=Fo,this.Su=t}var e=t.prototype;return e._u=function(t){if("run"!=this.state){this.state="run";try{this.Su(t)}catch(t){throw this.Mu(t),t}}},e.ku=function(){return this.Su.displayName||this.Su.name},e.Mu=function(t){},e.Cu=function(){return!1},e.Nu=function(){return!1},t}(),Ho=function(t){D(n,t);var e=B(n);function n(t,n,i){var r;return(r=e.call(this,t)).ju=i,r}var i=n.prototype;return i.Mu=function(t){Gr(self.document)},i.Cu=function(){return this.Du()},i.Nu=function(){return this.ju.Lu},i.Du=function(){return this.ju.ampdoc.isVisible()},n}(qo),zo=function(){function t(t){var e,n=this;this.ampdoc=t,this.t=t.win,this.Uu=new Do,this.zu=this.Hu.bind(this),this.Gu=0,this.Vu=!(!this.t.navigator.scheduling||!this.t.navigator.scheduling.isInputPending),this.Fu=!1,this.Ru=this.t.document.documentElement.hasAttribute("i-amphtml-no-boilerplate"),this.t.addEventListener("message",function(t){"amp-macro-task"==Br(t)&&n.Hu(null)}),this.Lu=!1,(e=t,sn(e,"viewer")).then(function(){n.Lu=!0}),t.onVisibilityChanged(function(){t.isVisible()&&n.Bu()})}var e=t.prototype;return e.run=function(t,e){var n=new qo(t);this.qu(n,e)},e.runForStartup=function(t){var e=new Ho(t,this.t,this);this.qu(e,Number.POSITIVE_INFINITY)},e.qu=function(t,e){this.Uu.enqueue(t,e),this.Bu()},e.Wu=function(t){for(var e=this.Uu.peek();e&&e.state!==Fo;)this.Uu.dequeue(),e=this.Uu.peek();return e&&t&&this.Uu.dequeue(),e},e.Hu=function(t){var e,n=this,i=this.Wu(!0);if(!i)return this.Fu=!1,this.Gu=0,!1;try{e=Date.now(),i._u(t)}finally{jo.then().then().then().then().then().then().then().then().then(function(){n.Fu=!1,n.Gu+=Date.now()-e,Wt().fine(No,i.ku(),"Chunk duration",Date.now()-e,n.Gu),n.Bu()})}return!0},e.$u=function(t){var e=this;if(!Uo&&this.Ru&&(this.Vu?this.t.navigator.scheduling.isInputPending():this.Gu>5))return this.Gu=0,void this.Yu();jo.then(function(){e.zu(t)})},e.Bu=function(){if(!this.Fu){var t=this.Wu();if(t)return t.Cu()?(this.Fu=!0,void this.$u(null)):void(t.Nu()&&this.t.requestIdleCallback?function(t,e,n,i){var r=Date.now();t.requestIdleCallback(function e(o){if(o.timeRemaining()<15){var s=n-(Date.now()-r);s<=0||o.didTimeout?(Wt().fine(No,"Timed out",n,o.didTimeout),i(o)):(Wt().fine(No,"Rescheduling with",s,o.timeRemaining()),t.requestIdleCallback(e,{timeout:s}))}else Wt().fine(No,"Running idle callback with ",15),i(o)},{timeout:n})}(this.t,0,2e3,this.zu):this.Yu())}},e.Yu=function(){this.t.postMessage("amp-macro-task","*")},t}(),Wo="activate",Go=function(){function t(t){this.element=t,this.win=$t(t),this.actionMap_=null,this.defaultActionAlias_=null}t.R1=function(){return!1},t.deferredMount=function(t){return!0},t.prerenderAllowed=function(t){return!1},t.previewAllowed=function(t){return this.prerenderAllowed(t)},t.usesLoading=function(t){return!1},t.createLoaderLogoCallback=function(t){return{}},t.getBuildPriority=function(t){return 0},t.getPreconnects=function(t){return null},t.requiresShadowDom=function(){return!1};var e=t.prototype;return e.signals=function(){return this.element.signals()},e.getDefaultActionAlias=function(){return this.defaultActionAlias_},e.getLayoutPriority=function(){return 0},e.updateLayoutPriority=function(t){this.element.getResources().updateLayoutPriority(this.element,t)},e.getLayout=function(){return this.element.getLayout()},e.getLayoutBox=function(){return this.element.getLayoutBox()},e.getLayoutSize=function(){return this.element.getLayoutSize()},e.getAmpDoc=function(){return this.element.getAmpDoc()},e.getVsync=function(){return Wn(this.win)},e.getConsentPolicy=function(){var t=null;return this.element.hasAttribute("data-block-on-consent")&&(t=this.element.getAttribute("data-block-on-consent")||"default"),t},e.isLayoutSupported=function(t){return t==Vi},e.isAlwaysFixed=function(){return!1},e.upgradeCallback=function(){return null},e.buildCallback=function(){},e.preconnectCallback=function(t){},e.attachedCallback=function(){},e.detachedCallback=function(){},e.setAsContainer=function(t){this.element.setAsContainerInternal(t)},e.removeAsContainer=function(){this.element.removeAsContainerInternal()},e.isBuildRenderBlocking=function(){return!1},e.createPlaceholderCallback=function(){return null},e.renderOutsideViewport=function(){return"inabox"==_t(this.win).runtime||3},e.idleRenderOutsideViewport=function(){return!1},e.ensureLoaded=function(){},e.setReadyState=function(t,e){this.element.setReadyStateInternal(t,e)},e.mountCallback=function(t){},e.unmountCallback=function(){},e.isRelayoutNeeded=function(){return!1},e.layoutCallback=function(){return u()},e.firstLayoutCompleted=function(){this.togglePlaceholder(!1)},e.pauseCallback=function(){},e.resumeCallback=function(){},e.unlayoutCallback=function(){return!1},e.unlayoutOnPause=function(){return!1},e.reconstructWhenReparented=function(){return!0},e.loadPromise=function(t){return jr(t)},e.registerAction=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;Ko(this),this.actionMap_[t]={handler:e,minTrust:n}},e.registerDefaultAction=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wo,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;Gt(!this.defaultActionAlias_),this.registerAction(e,t,n),this.defaultActionAlias_=e},e.executeAction=function(t,e){var n=t.method;n===Wo&&(n=this.defaultActionAlias_||n),Ko(this);var i=this.actionMap_[n],r=this.element.tagName;Kt(i,"Method not found: ".concat(n," in ").concat(r));var o=i.handler,s=i.minTrust;if(t.satisfiesTrust(s))return o(t)},e.forwardEvents=function(t,e){var n=this,i=(j(t)?t:[t]).map(function(t){return Nr(e,t,function(e){xe(n.element,t,Br(e)||{})})});return function(){return i.forEach(function(t){return t()})}},e.getPlaceholder=function(){return this.element.getPlaceholder()},e.togglePlaceholder=function(t){this.element.togglePlaceholder(t)},e.getFallback=function(){return this.element.getFallback()},e.toggleFallback=function(t){this.element.toggleFallback(t)},e.toggleLoading=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.element.toggleLoading(t,e)},e.getOverflowElement=function(){return this.element.getOverflowElement()},e.renderStarted=function(){this.element.renderStarted()},e.getViewport=function(){return Gn(this.getAmpDoc())},e.getIntersectionElementLayoutBox=function(){return this.getLayoutBox()},e.collapse=function(){Dn(this.getAmpDoc()).collapseElement(this.element)},e.attemptCollapse=function(){return Dn(this.getAmpDoc()).attemptCollapse(this.element)},e.forceChangeHeight=function(t){Dn(this.getAmpDoc()).forceChangeSize(this.element,t,void 0)},e.attemptChangeHeight=function(t){return Dn(this.getAmpDoc()).requestChangeSize(this.element,t,void 0)},e.attemptChangeSize=function(t,e,n){return Dn(this.getAmpDoc()).requestChangeSize(this.element,t,e,void 0,n)},e.measureElement=function(t){return Dn(this.getAmpDoc()).measureElement(t)},e.mutateElement=function(t,e){return this.measureMutateElement(null,t,e)},e.measureMutateElement=function(t,e,n){return Dn(this.getAmpDoc()).measureMutateElement(n||this.element,t,e)},e.mutateElementSkipRemeasure=function(t){return Dn(this.getAmpDoc()).mutateElement(this.element,t,!0)},e.collapsedCallback=function(t){},e.expand=function(){Dn(this.getAmpDoc()).expandElement(this.element)},e.mutatedAttributesCallback=function(t){},e.onLayoutMeasure=function(){},e.user=function(){return Ht(this.element)},e.getApi=function(){return this},t}();function Ko(t){t.actionMap_||(t.actionMap_=t.win.Object.create(null))}var Yo=function(t){D(n,t);var e=B(n);function n(){return e.apply(this,arguments)}return n}(Go),Jo="amp-",Xo="send-positions",Qo="position";function $o(t){try{return!!t.location.href&&(t.test||!0)}catch(t){return!1}}var Zo,ts=Date.now(),es={bubbles:!1},ns=function(){return!0},is=[],rs=new Set;function os(t){return"placeholder"in t}function ss(t){Gt(!t.Ku)}var as=new WeakMap;function us(t){return t.__AMP_EXTENDED_ELEMENTS||(t.__AMP_EXTENDED_ELEMENTS={}),t.__AMP_EXTENDED_ELEMENTS}function cs(t,e,n){var i=us(t);if(i[e]){if(i[e]!=n){Kt(i[e]==Yo,"%s is already registered. The script tag for %s is likely included twice in the page.",e,e),i[e]=n;for(var r=0;r<is.length;r++){var o=is[r];o.tagName.toLowerCase()==e&&o.ownerDocument.defaultView==t&&(hs(o,n),is.splice(r--,1))}}}else ps(t,e,n)}function hs(t,e){try{t.upgrade(e)}catch(e){xo(e,t)}}function ls(t){(function(t){if(!t)return[];for(var e=t.querySelectorAll("script[custom-element],script[custom-template]"),n=[],i=0;i<e.length;i++){var r=e[i],o=r.getAttribute("custom-element")||r.getAttribute("custom-template"),s=Je(r.src);o&&s&&n.push({script:r,extensionId:o,extensionVersion:s.extensionVersion})}return n})(t.getHeadNode()).forEach(function(e){var n=e.extensionId,i=e.extensionVersion,r=e.script;t.declareExtension(n,i),r.addEventListener("error",function(){return function(t){rs.add(t||"*");for(var e,n=a(is,!0);!(e=n()).done;){var i=e.value;null!=t&&i.tagName.toLowerCase()!==t||i.markUnresolved()}}(n)}),fs(t.win,n)}),t.isBodyAvailable()&&t.setExtensionsKnown()}function fs(t,e){us(t)[e]||ps(t,e,Yo)}function ds(t,e,n){ps(e,n,us(t)[n]||Yo)}function ps(t,n,i){us(t)[n]=i;var r=function(t,n){var i=function(t,n){if(t.__AMP_BASE_CE_CLASS)return t.__AMP_BASE_CE_CLASS;var i=function(i){D(o,i);var r=B(o);function o(){var t;return(t=r.call(this)).createdCallback(),t}var s=o.prototype;return s.createdCallback=function(){this.Xu=!1,this.Ju=!1,this.Qu=null,this.Zu=!1,this.no=null,this.io=null,this.ro="upgrading",this.everAttached=!1,this.vu=null,this.qe=null,this.eo=Vi,this.Je=0,this.uo=!1,this.warnOnMissingOverflow=!0,this.sizerElement=void 0,this.oo=void 0,this.layoutScheduleTime=void 0;var e=this,n=t.__AMP_EXTENDED_ELEMENTS&&t.__AMP_EXTENDED_ELEMENTS[this.localName];this.so=n===Yo?null:n||null,this.so||is.push(this),this.ho=null,this.ao=1,this.fo=0,this.co=void 0,this.Ku=void 0,this.Te=new ti,this.so&&this.Te.signal(ur);var i=nn(t,"performance");this.lo=i&&i.isPerformanceTrackingOn(),this.vo=null,e.__AMP_UPG_RES&&(e.__AMP_UPG_RES(e),delete e.__AMP_UPG_RES,delete e.__AMP_UPG_PRM)},s.signals=function(){return this.Te},s.getAmpDoc=function(){return Gt(this.vu),this.vu},s.getResources=function(){return Gt(this.qe),this.qe},s.isUpgraded=function(){return 2==this.ao},s.whenUpgraded=function(){return this.Te.whenSignal(cr)},s.upgrade=function(t){this.Ku||1==this.ao&&(this.so=t,this.Te.signal(ur),this.everAttached&&this.do())},s.markUnresolved=function(){this.so||this.classList.add("amp-unresolved","i-amphtml-unresolved")},s.getUpgradeDelayMs=function(){return this.fo},s.mo=function(e,n){this.ho=e,this.fo=t.Date.now()-n,this.ao=2,this.setReadyStateInternal(ei),this.classList.remove("amp-unresolved","i-amphtml-unresolved"),this.po(),this.dispatchCustomEventForTesting(or),this.R1()||this.getResources().upgraded(this),this.Te.signal(cr)},s.po=function(){this.eo!=Vi&&this.ho&&!this.ho.isLayoutSupported(this.eo)&&(Kt(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."),Kt(!1,"Layout not supported: ".concat(this.eo)))},s.getBuildPriority=function(){return this.so?this.so.getBuildPriority(this):3},s.getLayoutPriority=function(){return this.ho?this.ho.getLayoutPriority():3},s.getDefaultActionAlias=function(){return Gt(this.isUpgraded()),this.ho.getDefaultActionAlias()},s.isBuilding=function(){return!!this.Qu},s.isBuilt=function(){return this.Xu},s.whenBuilt=function(){return this.Te.whenSignal(hr)},s.buildInternal=function(){var t=this;if(ss(this),Gt(this.so),this.Qu)return this.Qu;this.setReadyStateInternal(ei);var e=this.bo();this.yo();var n=e.then(function(){var e,n=t.wo(),i=n?null:t.Ao();if(n||i)return(e=t,En(e,"consentPolicyManager","amp-consent")).then(function(t){return!t||(n?t.whenPolicyUnblock(n):t.whenPurposesUnblock(i))}).then(function(t){if(!t)throw new Error(Ao)})}).then(function(){return Gt(t.ho).buildCallback()});return this.Qu=n.then(function(){if(t.Xu=!0,t.classList.add("i-amphtml-built"),t.classList.remove("i-amphtml-notbuilt","amp-notbuilt"),t.Te.signal(hr),t.R1()?t.setReadyStateInternal(t.ro!=ei?t.ro:ni):(t.setReadyStateInternal(ii),t.preconnect(!1)),t.Ju&&t.an(),t.co&&Vn($t(t)).delay(t.xo.bind(t),1),!t.getPlaceholder()){var e=t.createPlaceholder();e&&t.appendChild(e)}},function(e){throw t.Te.rejectSignal(hr,e),t.R1()&&t.setReadyStateInternal(oi,e),Ro(e)||xo(e,t),e})},s.build=function(){var t=this;return this.Qu?this.Qu:this.Te.whenSignal(ur).then(function(){return t.R1()&&ko(t.getAmpDoc()).scheduleAsap(t),t.whenBuilt()})},s.mountInternal=function(){var t=this;if(this.no)return this.no;this.io=this.io||new AbortController;var e=this.io.signal;return this.no=this.buildInternal().then(function(){if(Gt(t.R1()),!e.aborted){t.setReadyStateInternal(t.ro!=ni?t.ro:t.so.usesLoading(t)?ii:ni),t.Zu=!0;var n=t.ho.mountCallback(e);return!!n&&n.then(ns)}}).then(function(n){if(t.io=null,e.aborted)throw Po();t.Te.signal(lr),t.so.usesLoading(t)&&!n||t.setReadyStateInternal(ri)}).catch(function(e){var n;throw t.io=null,(n=e)&&("string"==typeof n?n.startsWith(wo):"string"==typeof n.message&&n.message.startsWith(wo))?t.no=null:(t.Te.rejectSignal(lr,e),t.setReadyStateInternal(oi,e)),e})},s.mount=function(){var t=this;if(this.no)return this.no;this.io=this.io||new AbortController;var e=this.io.signal;return this.Te.whenSignal(ur).then(function(){if(!t.R1())return t.whenBuilt();if(e.aborted)throw Po();return ko(t.getAmpDoc()).scheduleAsap(t),t.whenMounted()})},s.unmount=function(){this.Ju&&this.pause(),this.R1()?(this.io&&(this.io.abort(),this.io=null),ko(this.getAmpDoc()).unschedule(this),this.Zu&&this.ho.unmountCallback(),this.Zu=!1,this.no=null,this.Eo(),this.Ju&&this.do(!0)):this.Po()},s.whenMounted=function(){return this.Te.whenSignal(lr)},s.whenLoaded=function(){return this.Te.whenSignal(pr)},s.ensureLoaded=function(t){var e=this;return this.mount().then(function(){if(e.R1())return e.so.usesLoading(e)&&e.ho.ensureLoaded(),e.whenLoaded();var n=e.To();return n.whenBuilt().then(function(){if(4!=n.getState()&&((3!=n.getState()||n.isMeasureRequested())&&n.measure(),n.isDisplayed()))return e.getResources().scheduleLayoutOrPreload(n,!0,t,!0),e.whenLoaded()})})},s.setAsContainerInternal=function(t){ko(this.getAmpDoc()).setContainer(this,t)},s.removeAsContainerInternal=function(){ko(this.getAmpDoc()).removeContainer(this)},s.setReadyStateInternal=function(t,e){if(t!==this.ro&&(this.ro=t,this.R1()))switch(t){case ii:return this.Te.signal(fr),this.Te.reset(mr),this.Te.reset(pr),this.classList.add("i-amphtml-layout"),this.toggleLoading(!0),void this.dispatchCustomEventForTesting(sr);case ri:return this.Te.signal(fr),this.Te.signal(pr),this.Te.reset(mr),this.classList.add("i-amphtml-layout"),this.toggleLoading(!1),xe(this,"load",null,es),void this.dispatchCustomEventForTesting(ar);case oi:return this.Te.rejectSignal(pr,e),this.toggleLoading(!1),void xe(this,"error",e,es)}},s.preconnect=function(t){var e=this;Gt(this.isUpgraded()),t?this.ho.preconnectCallback(t):Vo(this.getAmpDoc(),function(){e.ownerDocument&&e.ownerDocument.defaultView&&e.ho.preconnectCallback(t)})},s.R1=function(){return!!this.so&&this.so.R1()},s.deferredMount=function(){return!!this.so&&this.so.deferredMount(this)},s.isAlwaysFixed=function(){return!!this.ho&&this.ho.isAlwaysFixed()},s.updateLayoutBox=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.isBuilt()&&this.onMeasure(e)},s.onMeasure=function(){Gt(this.isBuilt());try{this.ho.onLayoutMeasure()}catch(t){xo(t,this)}},s.yo=function(){var t;return void 0!==this.sizerElement||this.eo!==Hi&&this.eo!==Yi||(this.sizerElement=this.querySelector("i-amphtml-sizer"),null===(t=this.sizerElement)||void 0===t||t.setAttribute("slot","i-amphtml-svc")),this.sizerElement||null},s.Oo=function(t){if(this.eo!==Hi)if(this.eo!==Yi);else{var e=t.querySelector(".i-amphtml-intrinsic-sizer");if(!e)return;e.setAttribute("src","")}else gi(t,"paddingTop","0")},s.Io=function(){var t=this,e=this.hasAttribute("media")||this.hasAttribute("sizes")&&!this.hasAttribute("disable-inline-width")||this.hasAttribute("heights"),n=!!this.vo,i=this.ownerDocument.defaultView;e!=n&&i&&(e?(this.vo=new vr(i,function(){return t.Ro()}),this.Ro()):this.So())},s.So=function(){this.vo&&(this.vo.dispose(),this.vo=null)},s.Ro=function(){var t=this.vo;if(t){t.start();var e=this.getAttribute("media")||null,n=!e||t.resolveMatchQuery(e);this.classList.toggle("i-amphtml-hidden-by-media-query",!n);var i=this.hasAttribute("disable-inline-width")?null:this.getAttribute("sizes");i&&gi(this,"width",t.resolveListQuery(i));var r=this.eo===Hi?this.getAttribute("heights"):null;if(r){var o=this.yo();o&&gi(o,"paddingTop",t.resolveListQuery(r))}t.complete(),this.To().requestMeasure()}},s.applySize=function(t,e,n){var i=this.yo();i&&(this.sizerElement=null,this.Oo(i),this._o(function(){i&&ge(i)})),void 0!==t&&gi(this,"height",t,"px"),void 0!==e&&gi(this,"width",e,"px"),n&&(null!=n.top&&gi(this,"marginTop",n.top,"px"),null!=n.right&&gi(this,"marginRight",n.right,"px"),null!=n.bottom&&gi(this,"marginBottom",n.bottom,"px"),null!=n.left&&gi(this,"marginLeft",n.left,"px")),this.Mo()&&this.ko(),xe(this,"amp:size-changed")},s.connectedCallback=function(){if(function(){if(void 0===Zo){var t=self.document.createElement("template");Zo="content"in t}return Zo}()||void 0!==this.Ku||(this.Ku=!!ce(this,"template")),!this.Ku&&!this.Ju&&be(this)){if(this.Ju=!0,this.everAttached||this.classList.add("i-amphtml-element","i-amphtml-notbuilt","amp-notbuilt"),!this.vu){var t=$t(this),e=_n(t).getAmpDoc(this);this.vu=e,n(e,this,this.so)}if(this.qe||(this.qe=jn(this.vu)),this.getResources().add(this),this.everAttached){var i=this.reconstructWhenReparented();i&&this.Eo(),this.isUpgraded()&&(i&&!this.R1()&&this.getResources().upgraded(this),this.an(),this.dispatchCustomEventForTesting(or)),this.so&&this.R1()&&this.do()}else{this.everAttached=!0;try{this.eo=function(t){var e=t.getAttribute("i-amphtml-layout");if(e){var n,i=Xi(e);return Q(i),i!=Hi&&i!=Yi||!t.firstElementChild?i==Vi&&bi(t,!1):(t.sizerElement=t.querySelector("i-amphtml-sizer")||void 0,null===(n=t.sizerElement)||void 0===n||n.setAttribute("slot","i-amphtml-svc")),i}var r=xr(t),o=r.height,s=r.layout,a=r.width;if(t.classList.add(Qi(s)),$i(s)&&t.classList.add("i-amphtml-layout-size-defined"),s==Vi)bi(t,!1);else if(s==Fi)yi(t,{width:Z(a),height:Z(o)});else if(s==qi)gi(t,"height",Z(o));else if(s==Hi){var u=t.ownerDocument.createElement("i-amphtml-sizer");u.setAttribute("slot","i-amphtml-svc");var c=er(o),h=er(a);tt(c),tt(h),yi(u,{paddingTop:c/h*100+"%"}),t.insertBefore(u,t.firstChild),t.sizerElement=u}else if(s==Yi){var l=wr(t)(Er),f=l.firstElementChild;$(f),f.setAttribute("src",'data:image/svg+xml;charset=utf-8,<svg height="'.concat(o,'" width="').concat(a,'" xmlns="http://www.w3.org/2000/svg" version="1.1"/>')),t.insertBefore(l,t.firstChild),t.sizerElement=l}else s==Wi||s==zi||(s==Gi?(a&&gi(t,"width",a),o&&gi(t,"height",o)):s==Ki&&(t.classList.add("i-amphtml-layout-awaiting-size"),a&&gi(t,"width",a),gi(t,"height",0)));return t.setAttribute("i-amphtml-layout",s),s}(this),this.Io()}catch(t){xo(t,this)}this.so?this.do():(rs.has("*")||rs.has(this.tagName.toLowerCase()))&&this.markUnresolved(),this.isUpgraded()||this.dispatchCustomEventForTesting("amp:stubbed")}this.toggleLoading(!0)}},s.Mo=function(){return this.classList.contains("i-amphtml-layout-awaiting-size")},s.ko=function(){this.classList.remove("i-amphtml-layout-awaiting-size")},s.do=function(t){if(this.R1()){if(!this.no)if(ko(this.getAmpDoc()).schedule(this),this.classList.remove("amp-unresolved","i-amphtml-unresolved"),this.Qu)this.setReadyStateInternal(this.so&&this.so.usesLoading(this)?ii:ni);else if(this.setReadyStateInternal(ei),!t){var e=this.so.getPreconnects(this);if(e&&e.length>0){var n=this.getAmpDoc();Vo(n,function(){var t=n.win;if(t){var i=Un(t);e.forEach(function(t){return i.url(n,t,!1)})}})}}}else this.Co()},s.Co=function(){var e=this;if(!this.Ku&&1==this.ao){var n=new(Gt(this.so))(this);this.ao=4;var i=t.Date.now(),r=n.upgradeCallback();if(r){if("function"==typeof r.then)return r.then(function(t){e.mo(t||n,i)}).catch(function(t){e.ao=3,d(t)});this.mo(r,i)}else this.mo(n,i)}},s.disconnectedCallback=function(){this.disconnect(!1)},s.an=function(){this.Xu&&this.ho.attachedCallback()},s.disconnect=function(t){!this.Ku&&this.Ju&&(!t&&be(this)||(t&&this.classList.remove("i-amphtml-element"),this.Ju=!1,this.getResources().remove(this),this.ho&&this.ho.detachedCallback(),this.R1()&&this.unmount(),this.toggleLoading(!1),this.So()))},s.dispatchCustomEventForTesting=function(t,e){},s.prerenderAllowed=function(){return!this.hasAttribute("noprerender")&&!!this.so&&this.so.prerenderAllowed(this)},s.previewAllowed=function(){return!!this.so&&this.so.previewAllowed(this)},s.isBuildRenderBlocking=function(){return!!this.ho&&this.ho.isBuildRenderBlocking()},s.createPlaceholder=function(){return this.ho?this.ho.createPlaceholderCallback():null},s.createLoaderLogo=function(){return this.so?this.so.createLoaderLogoCallback(this):{}},s.renderOutsideViewport=function(){return!!this.ho&&this.ho.renderOutsideViewport()},s.idleRenderOutsideViewport=function(){return!!this.ho&&this.ho.idleRenderOutsideViewport()},s.getLayoutBox=function(){return this.To().getLayoutBox()},s.getLayoutSize=function(){return this.To().getLayoutSize()},s.getOwner=function(){return this.To().getOwner()},s.getIntersectionChangeEntry=function(){var t=this.ho?this.ho.getIntersectionElementLayoutBox():this.getLayoutBox(),e=this.getOwner(),n=Gn(this.getAmpDoc()).getRect();return function(t,e,n){var i,r,o,s,a=function(t){for(var e=-1/0,n=1/0,i=-1/0,r=1/0,o=0;o<arguments.length;o++){var s=arguments[o];if(s&&(e=Math.max(e,s.left),n=Math.min(n,s.left+s.width),i=Math.max(i,s.top),r=Math.min(r,s.top+s.height),n<e||r<i))return null}return n==1/0?null:Oe(e,i,n-e,r-i)}(t,e,n)||Oe(0,0,0,0);return function(t,e,n,i){var r=t,o=e;return e&&(n=Ce(n,-e.left,-e.top),r=Ce(r,-e.left,-e.top),o=Ce(o,-e.left,-e.top)),{time:"undefined"!=typeof performance&&performance.now?performance.now():Date.now()-ts,rootBounds:o,boundingClientRect:r,intersectionRect:n,intersectionRatio:i}}(t,n,a,(r=t,o=(i=a).width*i.height,0==(s=r.width*r.height)?0:o/s))}(t,e&&e.getLayoutBox(),n)},s.To=function(){return this.getResources().getResourceForElement(this)},s.getResourceId=function(){return this.To().getId()},s.isRelayoutNeeded=function(){return!!this.ho&&this.ho.isRelayoutNeeded()},s.getImpl=function(){var t=this;return(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.bo():this.build()).then(function(){return t.ho})},s.bo=function(){var t=this;return this.Te.whenSignal(ur).then(function(){return t.Co(),t.whenUpgraded()})},s.getApi=function(){return this.getImpl().then(function(t){return t.getApi()})},s.getLayout=function(){return this.eo},s.layoutCallback=function(t){var e=this;if(ss(this),Gt(this.isBuilt()),t.aborted)return Promise.reject(Po());this.dispatchCustomEventForTesting(sr);var n=0==this.Je;this.Te.reset(mr),n&&this.Te.signal(fr),this.toggleLoading(!0);var i=h(function(){return e.ho.layoutCallback()});return this.preconnect(!0),this.classList.add("i-amphtml-layout"),i.then(function(){if(t.aborted)throw Po();n&&e.Te.signal(pr),e.setReadyStateInternal(ri),e.Je++,e.toggleLoading(!1),e.uo||(e.ho.firstLayoutCompleted(),e.uo=!0,e.dispatchCustomEventForTesting(ar))},function(i){if(t.aborted)throw Po();throw n&&e.Te.rejectSignal(pr,i),e.setReadyStateInternal(oi,i),e.Je++,e.toggleLoading(!1),i})},s.pause=function(){this.isBuilt()&&(this.ho.pauseCallback(),!this.R1()&&this.ho.unlayoutOnPause()&&this.Po())},s.resume=function(){this.isBuilt()&&this.ho.resumeCallback()},s.unlayoutCallback=function(){if(ss(this),!this.isBuilt())return!1;this.Te.signal(mr);var t=this.ho.unlayoutCallback();return t&&this.Eo(),this.dispatchCustomEventForTesting("amp:unload"),t},s.Po=function(){this.To().unlayout(),this.Ju&&this.qe&&this.qe.schedulePass()},s.Eo=function(){this.Je=0,this.uo=!1,this.Te.reset(lr),this.Te.reset(dr),this.Te.reset(fr),this.Te.reset(pr),this.Te.reset("ini-load")},s.reconstructWhenReparented=function(){return!!this.ho&&this.ho.reconstructWhenReparented()},s.collapse=function(){this.ho&&this.ho.collapse()},s.collapsedCallback=function(t){this.ho&&this.ho.collapsedCallback(t)},s.expand=function(){this.ho&&this.ho.expand()},s.mutatedAttributesCallback=function(t){this.ho?this.ho.mutatedAttributesCallback(t):this.R1()&&ko(this).scheduleAsap(this)},s.enqueAction=function(t){ss(this),this.isBuilt()?this.No(t,!1):(void 0===this.co&&(this.co=[]),Gt(this.co).push(t),this.build())},s.xo=function(){var t=this;if(this.co){var e=Gt(this.co);this.co=null,e.forEach(function(e){t.No(e,!0)})}},s.No=function(t,e){try{this.ho.executeAction(t,e)}catch(e){d("Action execution failed:",e,t.node.tagName,t.method)}},s.wo=function(){var t,e,n=this.getAttribute("data-block-on-consent");if(null===n){if(!(e=(t=this).getAmpDoc().getMetaByName("amp-consent-blocking"))||!(e=e.toUpperCase().replace(/\s+/g,"")).split(",").includes(t.tagName))return null;n="default",this.setAttribute("data-block-on-consent",n)}return""==n||"default"==n?Gt(this.ho).getConsentPolicy():n},s.Ao=function(){var t,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(",")},s.getPlaceholder=function(){return he(this,function(t){return t.hasAttribute("placeholder")&&!os(t)})},s.togglePlaceholder=function(t){if(ss(this),t){var e=this.getPlaceholder();e&&e.classList.remove("amp-hidden")}else for(var n=(oe("placeholder"),r=this,o="> [".concat("placeholder","]"),ne(r)?r.querySelectorAll(ie(o,":scope")):se(r,o)),i=0;i<n.length;i++)os(n[i])||n[i].classList.add("amp-hidden");var r,o},s.getFallback=function(){return le(this,"fallback")},s.toggleFallback=function(t){ss(this);var e,n=this.To().getState();if((this.R1()||!t||0!=n&&1!=n&&2!=n)&&(this.classList.toggle("amp-notsupported",t),1==t)){var i=this.getFallback();i&&(e=this.getAmpDoc(),rn(e,"owners")).scheduleLayout(this,i)}},s.renderStarted=function(){this.Te.signal(dr),this.togglePlaceholder(!1),this.toggleLoading(!1)},s.jo=function(t){var e,n,i=this.Je>0||this.Te.get(dr);return!(this.eo==Vi||this.hasAttribute("noloading")||i&&!t||(n=this.tagName.toUpperCase(),"AMP-AD"!==(e=n)&&"AMP-ANIM"!==e&&"AMP-EMBED"!==e&&"AMP-FACEBOOK"!==e&&"AMP-FACEBOOK-COMMENTS"!==e&&"AMP-FACEBOOK-PAGE"!==e&&"AMP-GOOGLE-DOCUMENT-EMBED"!==e&&"AMP-IFRAME"!==e&&"AMP-IMG"!==e&&"AMP-INSTAGRAM"!==e&&"AMP-LIST"!==e&&"AMP-PINTEREST"!==e&&"AMP-PLAYBUZZ"!==e&&"AMP-RENDER"!==e&&"AMP-TIKTOK"!==e&&"AMP-TWITTER"!==e&&!function(t){return"AMP-VIDEO"!=t&&Ji.test(t)}(n))||fe(this))},s.toggleLoading=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument&&this.ownerDocument.defaultView){var n=function(t){return on(t,"loadingIndicator")}(this.getAmpDoc());n&&((t=t&&this.jo(e))?n.track(this):n.untrack(this))}},s.getOverflowElement=function(){return void 0===this.oo&&(this.oo=le(this,"overflow"),this.oo&&(this.oo.hasAttribute("tabindex")||this.oo.setAttribute("tabindex","0"),this.oo.hasAttribute("role")||this.oo.setAttribute("role","button"))),this.oo},s.overflowCallback=function(t,e,n){var i=this;this.getOverflowElement(),this.oo?(this.oo.classList.toggle("amp-visible",t),this.oo.onclick=t?function(){var t=Dn(i.getAmpDoc());t.forceChangeSize(i,e,n),t.mutateElement(i,function(){i.overflowCallback(!1,e,n)})}:null):t&&this.warnOnMissingOverflow&&Ht().warn("CustomElement","Cannot resize element and overflow is not available",this)},s._o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.vu?Dn(this.getAmpDoc()).mutateElement(e||this,t,n):t()},e(o,[{key:"readyState",get:function(){return this.ro}}]),o}(t.HTMLElement);return t.__AMP_BASE_CE_CLASS=i,t.__AMP_BASE_CE_CLASS}(t,n),r=function(t){D(n,t);var e=B(n);function n(){return e.apply(this,arguments)}return n.prototype.adoptedCallback=function(){Object.getPrototypeOf(this)!==o&&Object.setPrototypeOf(this,o)},n}(i),o=r.prototype;return r}(t,ms);t.customElements.define(n,r)}function ms(t,e,n){as.has(t)||(as.set(t,!0),ls(t));var i=e.localName;n||t.declaresExtension(i)||In(t.win).installExtensionForDoc(t,i,"0.1")}var vs="amp-img",gs=["alt","aria-describedby","aria-label","aria-labelledby","crossorigin","referrerpolicy","title","importance","sizes","srcset","src"],ys=function(t){D(n,t);var e=B(n);function n(t){var n;return(n=e.call(this,t)).Do=!0,n.Lo=null,n.Uo=null,n.zo=null,n.Ho=0,n}n.R1=function(){return!1},n.prerenderAllowed=function(){return!0},n.usesLoading=function(){return!0},n.getPreconnects=function(t){var e=t.getAttribute("src");if(e)return[e];var n=t.getAttribute("srcset");if(n){var i=/\S+/.exec(n);if(i)return[i[0]]}return null};var i=n.prototype;return i.mutatedAttributesCallback=function(t){if(this.Lo){var e=gs.filter(function(e){return void 0!==t[e]});t.src&&!t.srcset&&this.element.hasAttribute("srcset")&&(this.element.removeAttribute("srcset"),e.push("srcset"),this.user().warn(vs,"Removed [srcset] since [src] was mutated. Recommend adding a [srcset] binding to support responsive images.",this.element)),ir(e,this.element,this.Lo,!0),this.propagateDataset(this.Lo),ji(this.Lo),n.R1()&&!this.Lo.complete&&this.setReadyState(ii)}},i.preconnectCallback=function(t){var e=this.element.getAttribute("src");if(e)Un(this.win).url(this.getAmpDoc(),e,t);else{var n=this.element.getAttribute("srcset");if(!n)return;var i=/\S+/.exec(n);i&&Un(this.win).url(this.getAmpDoc(),i[0],t)}},i.isLayoutSupported=function(t){return $i(t)},i.Go=function(){if(this.Lo)return this.Lo;this.Do=!this.element.hasAttribute("fallback");var t,e,n=Re(this.element);return n&&(this.Lo=ae(this.element,"> img:not([placeholder])")),this.Lo=this.Lo||new Image,this.Lo.setAttribute("decoding","async"),this.element.id&&this.Lo.setAttribute("amp-img-id",this.element.id),"img"==this.element.getAttribute("role")&&(this.element.removeAttribute("role"),this.user().error(vs,"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 <img> element.")),this.Vo(!0),ir(gs,this.element,this.Lo),this.propagateDataset(this.Lo),ji(this.Lo),nr(this.Lo,!0),t=this.element,e=this.Lo,t.hasAttribute("object-fit")&&gi(e,"object-fit",t.getAttribute("object-fit")),t.hasAttribute("object-position")&&gi(e,"object-position",t.getAttribute("object-position")),n||this.element.appendChild(this.Lo),this.Lo},i.Vo=function(t){var e=this;if(this.Lo&&!this.element.hasAttribute("i-amphtml-ssr")&&!this.element.hasAttribute("sizes")&&!this.Lo.hasAttribute("sizes")){var n=this.element.getAttribute("srcset");if(n&&!/[0-9]+x(?:,|$)/.test(n)){var i=this.element.getLayoutSize().width;if(this.Fo(i)){var r=this.getViewport().getWidth(),o="(max-width: ".concat(r,"px) ").concat(i,"px, "),s=i+"px";if(this.getLayout()!==Fi){var a=Math.round(100*i/r);s=Math.max(a,100)+"vw"}var u=o+s;t?this.Lo.setAttribute("sizes",u):this.mutateElement(function(){e.Lo.setAttribute("sizes",u)}),this.Ho=i}}}},i.Fo=function(t){return!this.Lo.hasAttribute("sizes")||t>this.Ho},i.reconstructWhenReparented=function(){return!1},i.mountCallback=function(){var t=this,e=!!this.Lo,n=this.Go();e||(Nr(n,"load",function(){t.setReadyState(ri),t.firstLayoutCompleted(),t.Bo()}),Nr(n,"error",function(e){t.setReadyState(oi,e),t.qo()})),n.complete?(this.setReadyState(ri),this.firstLayoutCompleted(),this.Bo()):this.setReadyState(ii)},i.unmountCallback=function(){var t=this.Lo;t&&!t.complete&&(t.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=",ge(t),this.Lo=null)},i.ensureLoaded=function(){this.Lo.loading="eager"},i.layoutCallback=function(){var t=this;this.Go();var e=this.Lo;return this.Uo=Nr(e,"load",function(){return t.Bo()}),this.zo=Nr(e,"error",function(){return t.qo()}),this.element.getLayoutSize().width<=0?u():this.loadPromise(e)},i.unlayoutCallback=function(){if(!n.R1()){this.zo&&(this.zo(),this.zo=null),this.Uo&&(this.Uo(),this.Uo=null);var t=this.Lo;return t&&!t.complete&&(t.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=",ge(t),this.Lo=null),!0}},i.firstLayoutCompleted=function(){var t=this.getPlaceholder();t&&t.classList.contains("i-amphtml-blurry-placeholder")?vi(t,{opacity:0}):this.togglePlaceholder(!1)},i.Bo=function(){!this.Do&&this.Lo.classList.contains("i-amphtml-ghost")&&(this.Lo.classList.remove("i-amphtml-ghost"),this.toggleFallback(!1))},i.qo=function(){this.Do&&(this.Lo.classList.add("i-amphtml-ghost"),this.toggleFallback(!0),this.togglePlaceholder(!1),this.Do=!1)},i.propagateDataset=function(t){for(var e in t.dataset)e in this.element.dataset||delete t.dataset[e];for(var n in this.element.dataset)n.startsWith("ampBind")&&"ampBind"!==n||t.dataset[n]!==this.element.dataset[n]&&(t.dataset[n]=this.element.dataset[n])},n}(Go),bs=function(t){D(n,t);var e=B(n);function n(){return e.apply(this,arguments)}n.prerenderAllowed=function(){return!0};var i=n.prototype;return i.isLayoutSupported=function(t){return t==zi||$i(t)},i.buildCallback=function(){!function(t){if(!Re(t)){var e=function(t){var e;return Xi(null!==(e=t.getAttribute("layout"))&&void 0!==e?e:"")||xr(t).layout}(t);if(e!=zi){var n=t.ownerDocument.createElement("div");nr(n),function(t){return function(t){for(var e=[],n=t.firstChild;n;n=n.nextSibling)!fe(n)&&e.push(n);return e}(t)}(t).forEach(function(t){n.appendChild(t)}),t.appendChild(n)}}}(this.element)},n}(Go);function ws(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,o=new(Oi.getImage(t));n&&(o.referrerPolicy="no-referrer");var s=0;return null!=i&&(!function(t){var e;return null===(e=t.featurePolicy)||void 0===e?void 0:e.allowedFeatures().includes("attribution-reporting")}(t.document)?s=5:(i=As(t,s=6,r)(i),o.attributionSrc=i)),e=As(t,s,r)(e),o.src=e,o}function As(t,e,n){var i={ATTRIBUTION_REPORTING_STATUS:function(){return e}},r=Fn(n||t.document),o={ATTRIBUTION_REPORTING_STATUS:!0};return function(t){return r.expandUrlSync(t,i,o)}}var Es="amp-pixel",Ss=function(t){D(n,t);var e=B(n);function n(t){var n;return(n=e.call(this,t)).Wo=null,n}var i=n.prototype;return i.isLayoutSupported=function(t){return!0},i.buildCallback=function(){this.element.setAttribute("aria-hidden","true"),this.$o=this.element.getAttribute("referrerpolicy"),this.$o&&Kt("no-referrer"==this.$o,"".concat(Es,': invalid "referrerpolicy" value "').concat(this.$o,'".')+' Only "no-referrer" is supported'),this.element.hasAttribute("i-amphtml-ssr")&&this.element.querySelector("img")?Wt().info(Es,"inabox img already present"):this.getAmpDoc().whenFirstVisible().then(this.Yo.bind(this))},i.Yo=function(){var t=this;if(this.Wo)return Wt().error(Es,"duplicate pixel"),this.Wo;this.Wo=Vn(this.win).promise(1).then(function(){var e=t.element.getAttribute("src");if(e)return Fn(t.element).expandUrlAsync(t.Ko(e)).then(function(e){if(t.win){var n=function(t,e,n,i,r){return n&&"no-referrer"!==n&&Ht().error("pixel","Unsupported referrerPolicy: %s",n),"no-referrer"===n?function(t,e,n,i){if("referrerPolicy"in Image.prototype)return ws(t,e,!0,n,i);var r=ye(t.document,"iframe",{src:"about:blank",style:"display:none"});return r.onload=function(){ws(r.contentWindow,e,void 0,void 0,i)},t.document.body.appendChild(r),r}(t,e,i,r):ws(t,e,!1,i,r)}(t.win,e,t.$o,t.element.getAttribute("attributionsrc"),t.element);return Wt().info(Es,"pixel triggered: ",e),n}})})},i.Ko=function(t){return Kt(/^(https\:\/\/|\/\/)/i.test(t),'The <amp-pixel> src attribute must start with "https://" or "//". Invalid value: '+t),t},n}(Go),xs=function(){function t(t,e,n){var i=this;this.Xo=Vn(t),this.Jo=e,this.Qo=n||0,this.Zo=-1,this.rs=0,this.es=!1,this.us=function(){i.os()}}var e=t.prototype;return e.isPending=function(){return-1!=this.Zo},e.schedule=function(t){var e=t||this.Qo;this.es&&e<10&&(e=10);var n=Date.now()+e;return(!this.isPending()||n-this.rs<-10)&&(this.cancel(),this.rs=n,this.Zo=this.Xo.delay(this.us,e),!0)},e.os=function(){this.Zo=-1,this.rs=0,this.es=!0,this.Jo(),this.es=!1},e.cancel=function(){this.isPending()&&(this.Xo.cancel(this.Zo),this.Zo=-1)},t}(),Ps="inabox-resources",Rs=function(){function t(t){var e=this;this.vu=t,this.win=t.win,this.qe=[],this.ss=0,this.os=new xs(this.win,this.hs.bind(this),70),this.fs=new Zn,this.cs=new c,this.ls=null,function(t){return en(t,"input")}(this.win).setupInputModeClasses(t),"inabox"!=_t(this.win).runtime&&t.onVisibilityChanged(function(){switch(t.getVisibilityState()){case Qn:e.qe.forEach(function(t){return t.pause()});break;case Jn:e.qe.forEach(function(t){return t.resume()}),e.schedulePass()}}),this.vs=[],this.ds=!1,this.vu.whenReady().then(function(){e.ds=!0,e.ps(),e.schedulePass(1)})}var e=t.prototype;return e.dispose=function(){this.qe.forEach(function(t){return t.unload()}),this.qe.length=0,this.ls&&(this.ls.disconnect(),this.ls=null)},e.get=function(){return this.qe.slice(0)},e.getAmpdoc=function(){return this.vu},e.getResourceForElement=function(t){return _o.forElement(t)},e.getResourceForElementOptional=function(t){return _o.forElementOptional(t)},e.getScrollDirection=function(){return 1},e.add=function(t){var e=new _o(++this.ss,t,this);this.qe.push(e),Wt().fine(Ps,"resource added:",e.debugid)},e.upgraded=function(t){var e=_o.forElement(t);this.vs.push(e),this.ps()},e.remove=function(t){var e=_o.forElementOptional(t);if(e){this.ls&&this.ls.unobserve(t);var n=this.qe.indexOf(e);-1!==n&&this.qe.splice(n,1),Wt().fine(Ps,"element removed:",e.debugid)}},e.scheduleLayoutOrPreload=function(t){this.os.schedule()},e.schedulePass=function(t){return this.os.schedule(t)},e.updateOrEnqueueMutateTask=function(t,e){},e.schedulePassVsync=function(){},e.onNextPass=function(t){this.fs.add(t)},e.ampInitComplete=function(){},e.updateLayoutPriority=function(t,e){},e.setRelayoutTop=function(t){},e.maybeHeightChanged=function(){},e.whenFirstPass=function(){return this.cs.promise},e.hs=function(){var t=Date.now();Wt().fine(Ps,"doPass"),this.qe.forEach(function(t){t.isLayoutPending()&&!t.element.R1()&&t.measure()}),this.qe.forEach(function(e){!e.element.R1()&&2===e.getState()&&e.isDisplayed()&&(e.layoutScheduled(t),e.startLayout())}),this.vu.signals().signal(Co),this.fs.fire(),this.cs.resolve()},e.ps=function(){for(var t=this,e=this.vs.length-1;e>=0;e--){var n=this.vs[e];(this.ds||Ae(n.element,this.vu.getRootNode()))&&(this.vs.splice(e,1),(n.build()||u()).then(function(){return t.schedulePass()}),Wt().fine(Ps,"resource upgraded:",n.debugid))}},t}();function Ts(t){return function(t,e){var n=e.documentElement;return["⚡4email","amp4email"].some(function(t){return n.hasAttribute(t)})}(0,t)}var Os="Action",_s="__AMP_ACTION_MAP__"+Math.random(),Cs="__AMP_ACTION_QUEUE__",Ms="__AMP_ACTION_HANDLER__",Ls={form:["submit","clear"]},Is=[{tagOrTarget:"AMP",method:"setState"},{tagOrTarget:"*",method:"focus"},{tagOrTarget:"*",method:"hide"},{tagOrTarget:"*",method:"show"},{tagOrTarget:"*",method:"toggleClass"},{tagOrTarget:"*",method:"toggleChecked"},{tagOrTarget:"*",method:"toggleVisibility"}],ks={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},Ds=function(){function t(t,e,n,i,r,o,s){var a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"?",u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:Math.random();this.node=t,this.method=e,this.args=n,this.source=i,this.caller=r,this.event=o,this.trust=s,this.actionEventType=a,this.tagOrTarget=u||t.tagName,this.sequenceId=c}return t.prototype.satisfiesTrust=function(t){if(!z(this.trust))return Wt().error(Os,"Invalid trust for '".concat(this.method,"': ").concat(this.trust)),!1;if(this.trust<t){var e=function(t){switch(t){case 1:return"low";case 3:return"high";default:return Q(2===t),"default"}}(this.trust);return Ht().error(Os,'"'.concat(this.actionEventType,'" event with "').concat(e,'" trust is not allowed to ')+'invoke "'.concat(this.tagOrTarget.toLowerCase(),".").concat(this.method,'".')),!1}return!0},t}(),Ns=function(){function t(t,e){this.ampdoc=t,this.gs=e||t.getRootNode(),this.bs=this.ampdoc.isSingleDoc()&&Ts(this.gs),this.ys=this.bs?Is:null,this.ws=w(),this.As=w(),this.addEvent("tap"),this.addEvent("submit"),this.addEvent("change"),this.addEvent("input-debounced"),this.addEvent("input-throttled"),this.addEvent("valid"),this.addEvent("invalid")}var e=t.prototype;return e.addEvent=function(t){var e=this;if("tap"==t)this.gs.addEventListener("click",function(n){if(!n.defaultPrevented){var i=n.target;e.trigger(i,t,n,3)}}),this.gs.addEventListener("keydown",function(n){var i=n.key,r=n.target;if("Enter"==i||" "==i){var o=r.getAttribute("role"),s=o&&A(ks,o.toLowerCase());!n.defaultPrevented&&s&&e.trigger(r,t,n,3)&&n.preventDefault()}});else if("submit"==t)this.gs.addEventListener(t,function(n){var i=n.target;e.trigger(i,t,n,3)});else if("change"==t)this.gs.addEventListener(t,function(n){var i=n.target;e.xs(n),e.trigger(i,t,n,3)});else if("input-debounced"==t){var n=ct(this.ampdoc.win,function(n){var i=n.target;e.trigger(i,t,n,3)},300);this.gs.addEventListener("input",function(t){var i=new Us(t);e.xs(i),n(i)})}else if("input-throttled"==t){var i=ut(this.ampdoc.win,function(n){var i=n.target;e.trigger(i,t,n,3)},100);this.gs.addEventListener("input",function(t){var n=new Us(t);e.xs(n),i(n)})}else"valid"!=t&&"invalid"!=t||this.gs.addEventListener(t,function(n){var i=n.target;e.trigger(i,t,n,3)})},e.addGlobalTarget=function(t,e){this.ws[t]=e},e.addGlobalMethodHandler=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;this.As[t]={handler:e,minTrust:n}},e.trigger=function(t,e,n,i,r){return this.Es(t,e,n,i,r)},e.execute=function(t,e,n,i,r,o,s){var a=new Ds(t,e,n,i,r,o,s);this.Ps(a)},e.installActionHandler=function(t,e){if(Gt(Bs(t.getAttribute("id")||"")||t.tagName.toLowerCase()in Ls),t[Ms])Wt().error(Os,"Action handler already installed for ".concat(t));else{t[Ms]=e;var n=t[Cs];j(n)&&Vn($t(t)).delay(function(){n.forEach(function(t){try{e(t)}catch(e){Wt().error(Os,"Action execution failed:",t,e)}}),t[Cs].length=0},1)}},e.hasAction=function(t,e,n){return!!this.Ts(t,e,n)},e.hasResolvableAction=function(t,e,n){var i=this,r=this.Ts(t,e,n);return!!r&&r.actionInfos.some(function(t){var e=t.target;return!!i.Os(e)})},e.hasResolvableActionForTarget=function(t,e,n,i){var r=this,o=this.Ts(t,e,i);return!!o&&o.actionInfos.some(function(t){var e=t.target;return r.Os(e)==n})},e.Os=function(t){return this.ws[t]?this.gs:this.gs.getElementById(t)},e.setAllowlist=function(t){Gt(t.every(function(t){return t.tagOrTarget&&t.method})),this.ys=t},e.addToAllowlist=function(t,e,n){var i=this;n&&n.includes("email")!==this.bs||(this.ys||(this.ys=[]),j(e)||(e=[e]),e.forEach(function(e){i.ys.some(function(n){return n.tagOrTarget==t&&n.method==e})||i.ys.push({tagOrTarget:t,method:e})}))},e.Es=function(t,e,n,i,r){var o=this,s=this.Ts(t,e);if(!s)return!1;var u=Math.random(),c=null;return s.actionInfos.forEach(function(h){var l=h.args,f=h.method,d=h.str,p=h.target,v=function(t,e,n){if(!t)return t;var i=n||{};if(e){var r=function(t){return t.detail}(e);r&&(i.event=r)}var o=w();return Object.keys(t).forEach(function(e){var n=t[e];if("object"==m(n)&&n.expression){var r=n.expression,s=function(t,e){if("."==e)return t;for(var n,i=t,r=a(e.split("."),!0);!(n=r()).done;){var o=n.value;if(!(o&&i&&void 0!==i[o]&&"object"==m(i)&&A(i,o))){i=void 0;break}i=i[o]}return i}(i,r);n=void 0===s?null:s}i[n]?o[e]=i[n]:o[e]=n}),o}(l,n,r),g=function(){var r=o.Os(p);if(r){var a=new Ds(r,f,v,t,s.node,n,i,e,r.tagName||p,u);return o.Ps(a)}o.Is('Target "'.concat(p,'" not found for action [').concat(d,"]."))};c=c?c.then(g):g()}),s.actionInfos.length>=1},e.Is=function(t,e){if(e){var n=Ht().createError("[".concat(Os,"] ").concat(t));throw xo(n,e),n}Ht().error(Os,t)},e.Ps=function(t){var e=t.method,n=t.tagOrTarget;if(this.ys&&!function(t,e){var n=t.method,i=t.node,r=t.tagOrTarget;n===Wo&&"function"==typeof i.getDefaultActionAlias&&(n=i.getDefaultActionAlias());var o=n.toLowerCase(),s=r.toLowerCase();return e.some(function(t){return(t.tagOrTarget.toLowerCase()===s||"*"===t.tagOrTarget)&&t.method.toLowerCase()===o})}(t,this.ys))return this.Is('"'.concat(n,".").concat(e,'" is not allowlisted ').concat(JSON.stringify(this.ys),".")),null;var i=this.ws[n];if(i)return i(t);var r=t.node,o=this.As[e];if(o&&t.satisfiesTrust(o.minTrust))return o.handler(t);var s=r.tagName.toLowerCase();if(Bs(s))return r.enqueAction?r.enqueAction(t):this.Is('Unrecognized AMP element "'.concat(s,'".'),r),null;var a=Ls[s];if(Bs(r.getAttribute("id")||"")||a&&a.indexOf(e)>-1){var u=r[Ms];return u?u(t):(r[Cs]=r[Cs]||[],r[Cs].push(t)),null}return this.Is("Target (".concat(n,") doesn't support \"").concat(e,'" action.'),t.caller),null},e.Ts=function(t,e,n){for(var i,r=t;r;){if(n&&r==n)return null;var o=this.Rs(r,e);if(o&&!(i=r).disabled&&!ue(i,":disabled"))return{node:r,actionInfos:Gt(o)};r=r.parentElement}return null},e.Rs=function(t,e){var n=this.Ss(t,e);return n&&n[e]||null},e.Ss=function(t,e){var n=t[_s];if(void 0===n)if(n=null,t.hasAttribute("on"))n=Vs(t.getAttribute("on"),t),t[_s]=n;else if(t.hasAttribute("execute")){var i=t.getAttribute("execute");n=Vs("".concat(e,":").concat(i),t),t[_s]=n}return n},e.setActions=function(t,e){t.setAttribute("on",e),delete t[_s]},e.xs=function(t){var e=w(),n=t.target;if(void 0!==n.value&&(e.value=n.value),"INPUT"==n.tagName&&(e.valueAsNumber=Number(n.value)),void 0!==n.checked&&(e.checked=n.checked),void 0===n.min&&void 0===n.max||(e.min=n.min,e.max=n.max),n.files&&(e.files=U(n.files).map(function(t){return{name:t.name,size:t.size,type:t.type}})),Object.keys(e).length>0)try{t.detail=e}catch(t){}},t}();function Bs(t){return"amp-"===t.substring(0,4)}var Us=function(t){this.detail=null,function(t,e){var n=e||w();for(var i in t){var r=t[i];n[i]="function"==typeof r?js:t[i]}}(t,this)};function js(){Gt(null)}function Vs(t,e){var n,i,r=qs.bind(null,t,e),o=Hs.bind(null,t,e),s=null,a=new Gs(t);do{if((n=a.next()).type==zs.EOF||n.type==zs.SEPARATOR&&";"==n.value);else if(n.type==zs.LITERAL||n.type==zs.ID){var u=n.value;o(a.next(),[zs.SEPARATOR],":");var c=[];do{var h=o(a.next(),[zs.LITERAL,zs.ID]).value,l=Wo,f=null;(i=a.peek()).type==zs.SEPARATOR&&"."==i.value&&(a.next(),l=o(a.next(),[zs.LITERAL,zs.ID]).value||l,(i=a.peek()).type==zs.SEPARATOR&&"("==i.value&&(a.next(),f=Fs(a,o,r))),c.push({event:u,target:h,method:l,args:f,str:t}),i=a.peek()}while(i.type==zs.SEPARATOR&&","==i.value&&a.next());s||(s=w()),s[u]=c}else r(!1,"; unexpected token [".concat(n.value||"","]"))}while(n.type!=zs.EOF);return s}function Fs(t,e,n){var i,r,o=t.peek(),s=null;if(o.type==zs.OBJECT){s=w();var a=t.next().value;s.__AMP_OBJECT_STRING__=a,e(t.next(),[zs.SEPARATOR],")")}else do{var u=i=t.next(),c=u.type,h=u.value;if(c!=zs.SEPARATOR||","!=h&&")"!=h)if(c==zs.LITERAL||c==zs.ID){e(t.next(),[zs.SEPARATOR],"=");var l=[i=e(t.next(!0),[zs.LITERAL,zs.ID])];if(i.type==zs.ID)for(o=t.peek();o.type==zs.SEPARATOR&&"."==o.value;o=t.peek())t.next(),i=e(t.next(!1),[zs.ID]),l.push(i);var f=0==(r=l).length?null:1==r.length?r[0].value:{expression:r.map(function(t){return t.value}).join(".")};s||(s=w()),s[h]=f,n((o=t.peek()).type==zs.SEPARATOR&&(","==o.value||")"==o.value),"Expected either [,] or [)]")}else n(!1,"; unexpected token [".concat(i.value||"","]"))}while(i.type!=zs.SEPARATOR||")"!=i.value);return s}function qs(t,e,n,i){return Kt(n,"Invalid action definition in %s: [%s] %s",e,t,i||"")}function Hs(t,e,n,i,r){return void 0!==r?qs(t,e,i.includes(n.type)&&n.value==r,"; expected [".concat(r,"]")):qs(t,e,i.includes(n.type)),n}var zs={INVALID:0,EOF:1,SEPARATOR:2,LITERAL:3,ID:4,OBJECT:5},Ws=" \t\n\r\f\v \u2028\u2029",Gs=function(){function t(t){this._s=t,this.Ms=-1}var e=t.prototype;return e.next=function(t){var e=this.dr(t||!1);return this.Ms=e.index,e},e.peek=function(t){return this.dr(t||!1)},e.dr=function(t){var e=this.Ms+1;if(e>=this._s.length)return{type:zs.EOF,index:this.Ms};var n=this._s.charAt(e);if(-1!=Ws.indexOf(n)){for(e++;e<this._s.length&&-1!=Ws.indexOf(this._s.charAt(e));e++);if(e>=this._s.length)return{type:zs.EOF,index:e};n=this._s.charAt(e)}if(t&&(Ks(n)||"."==n&&e+1<this._s.length&&Ks(this._s[e+1]))){for(var i="."==n,r=e+1;r<this._s.length;r++){var o=this._s.charAt(r);if("."!=o){if(!Ks(o))break}else i=!0}var s=this._s.substring(e,r),a=i?parseFloat(s):parseInt(s,10);return e=r-1,{type:zs.LITERAL,value:a,index:e}}if(-1!=";:.()=,|!".indexOf(n))return{type:zs.SEPARATOR,value:n,index:e};if(-1!="\"'".indexOf(n)){for(var u=-1,c=e+1;c<this._s.length;c++)if(this._s.charAt(c)==n){u=c;break}if(-1==u)return{type:zs.INVALID,index:e};var h=this._s.substring(e+1,u);return e=u,{type:zs.LITERAL,value:h,index:e}}if("{"==n){for(var l=1,f=-1,d=e+1;d<this._s.length;d++){var p=this._s[d];if("{"==p?l++:"}"==p&&l--,l<=0){f=d;break}}if(-1==f)return{type:zs.INVALID,index:e};var m=this._s.substring(e,f+1);return e=f,{type:zs.OBJECT,value:m,index:e}}for(var v=e+1;v<this._s.length&&-1==" \t\n\r\f\v \u2028\u2029;:.()=,|!\"'{}".indexOf(this._s.charAt(v));v++);var g=this._s.substring(e,v);if(e=v-1,t&&("true"==g||"false"==g)){var y="true"==g;return{type:zs.LITERAL,value:y,index:e}}return Ks(g.charAt(0))?{type:zs.LITERAL,value:g,index:e}:{type:zs.ID,value:g,index:e}},t}();function Ks(t){return t>="0"&&t<="9"}function Ys(t){return!!t&&"function"==typeof t.getFormData}var Js=["GET","POST"],Xs=[j,b];function Qs(t,e){var n=I({},e);if(Ys(e.body)){var i=e.body;n.headers["Content-Type"]="multipart/form-data;charset=utf-8",n.body=function(t){for(var e=[],n=t.next();!n.done;n=t.next())e.push(n.value);return e}(i.entries())}return{input:t,init:n}}function $s(t,e){var n,i=t||{},r=i.credentials;return Q(void 0===r||"include"==r||"omit"==r),i.method=void 0===(n=i.method)?"GET":(n=n.toUpperCase(),Q(Js.includes(n)),n),i.headers=i.headers||{},e&&(i.headers.Accept=e),Q(null!==i.body),i}function Zs(t){return new Promise(function(e){if(t.ok)return e(t);var n=t.status,i=Ht().createError("HTTP error ".concat(n));throw i.retriable=function(t){return 415==t||t>=500&&t<600}(n),i.response=t,i})}var ta=function(){function t(t){this.win=t;var e=_n(t);this.ks=e.isSingleDoc()?e.getSingleDoc():null}var e=t.prototype;return e.Cs=function(t,e){var n=arguments,i=this;return function(t,e,n,i){if(!e)return u();var r=i.prerenderSafe?u():e.whenFirstVisible(),o=zn(e),s=ho(n),a=o.hasCapability("xhrInterceptor"),c=i.bypassInterceptorForDev&&!1;return s||!a||c?r:e.getRootNode().documentElement.hasAttribute("allow-xhr-interception")?r.then(function(){return o.isTrustedViewer()}).then(function(e){if(e||_r(t,"untrusted-xhr-interception")){var r={originalRequest:Qs(n,i)};return o.sendMessageAwaitResponse("xhr",r).then(function(t){return function(t,e){if(et(b(t),"Object expected: %s",t),"document"!=e)return new Response(t.body,t.init);var n=w(),i={status:200,statusText:"OK",getResponseHeader:function(t){return n[String(t).toLowerCase()]||null}};if(t.init){var r=t.init;j(r.headers)&&r.headers.forEach(function(t){var e=t[0],i=t[1];n[String(e).toLowerCase()]=String(i)}),r.status&&(i.status=parseInt(r.status,10)),r.statusText&&(i.statusText=String(r.statusText))}return new Response(t.body?String(t.body):"",i)}(t,i.responseType)})}}):r}(this.win,this.ks,t,e).then(function(t){if(t)return t;if(Ys(e.body)){var r=e.body;e.body=r.getFormData()}return i.win.fetch.apply(null,n)})},e.Ns=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=function(t,e,n){return Q("string"==typeof e),!1!==n.ampCors&&(e=yo(t,e)),e}(this.win,t,e),e=function(t,e,n){n=n||{};var i=function(t){return t.origin||eo(t.location.href).origin}(t);return i==eo(e).origin&&(n.headers=n.headers||{},n.headers["AMP-Same-Origin"]="true"),n}(this.win,t,e),this.Cs(t,e).then(function(t){return t},function(e){var n=eo(t).origin;throw Ht().createExpectedError("XHR","Failed fetching (".concat(n,"/...):"),e&&e.message)})},e.fetchJson=function(t,e){return this.fetch(t,function(t){var e=$s(t,"application/json");if("POST"==e.method&&!Ys(e.body)){Q(Xs.some(function(t){return t(e.body)})),e.headers["Content-Type"]=e.headers["Content-Type"]||"text/plain;charset=utf-8";var n=e.headers["Content-Type"];e.body="application/x-www-form-urlencoded"===n?so(e.body):JSON.stringify(e.body)}return e}(e))},e.fetchText=function(t,e){return this.fetch(t,$s(e,"text/plain"))},e.xssiJson=function(t,e){return e?t.text().then(function(t){return t.startsWith(e)?nt(t.slice(e.length)):(Ht().warn("XHR",'Failed to strip missing prefix "'.concat(e,'" in fetch response.')),nt(t))}):t.json()},e.fetch=function(t,e){var n=$s(e);return this.Ns(t,n).then(function(t){return Zs(t)})},e.sendSignal=function(t,e){return this.Ns(t,e).then(function(t){return Zs(t)})},e.getCorsUrl=function(t,e){return yo(t,e)},t}(),ea=function(t){D(n,t);var e=B(n);function n(t){var n;return(n=e.call(this,t)).js=w(),n}var i=n.prototype;return i.fetch=function(e,n){var i=this,r=n&&n.headers&&n.headers.Accept||"",o=!n||!n.method||"GET"===n.method,s=this.Ds(e,r),a=!!this.js[s];if(o&&a)return this.js[s].then(function(t){return t.clone()});var u=t.prototype.fetch.call(this,e,n);return o&&(this.js[s]=u.then(function(t){return delete i.js[s],t.clone()},function(t){throw delete i.js[s],t})),u},i.Ds=function(t,e){return co(go(t,vo(this.win.location)))+e},n}(ta),na={"+":"-","/":"_","=":"."};function ia(t){var e=function(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=String.fromCharCode(t[n]);return e.join("")}(t);return btoa(e).replace(/[+/=]/g,function(t){return na[t]})}var ra="Crypto",oa=function(){function t(t){this.t=t;var e=null,n=!1;t.crypto&&(t.crypto.subtle?e=t.crypto.subtle:t.crypto.webkitSubtle&&(e=t.crypto.webkitSubtle,n=!0)),this.pkcsAlgo={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},this.subtle=e,this.Ls=n,this.Us=null}var e=t.prototype;return e.sha384=function(t){var e=this;if("string"==typeof t&&(t=st(t)),!this.subtle||this.Us)return(this.Us||this.zs()).then(function(e){return e(t)});try{return this.subtle.digest({name:"SHA-384"},t).then(function(t){return new Uint8Array(t)},function(n){return n.message&&n.message.indexOf("secure origin")<0&&Ht().error(ra,"SubtleCrypto failed, fallback to closure lib.",n),e.zs().then(function(){return e.sha384(t)})})}catch(n){return Wt().error(ra,"SubtleCrypto failed, fallback to closure lib.",n),this.zs().then(function(){return e.sha384(t)})}},e.sha384Base64=function(t){return this.sha384(t).then(function(t){return ia(t)})},e.uniform=function(t){return this.sha384(t).then(function(t){for(var e=0,n=2;n>=0;n--)e=(e+t[n])/256;return e})},e.zs=function(){var t=this;return this.Us?this.Us:this.Us=In(this.t).preloadExtension("amp-crypto-polyfill").then(function(){return en(t.t,"crypto-polyfill")})},e.isPkcsAvailable=function(){return Boolean(this.subtle)&&!1!==this.t.isSecureContext},e.importPkcsKey=function(t){Gt(this.isPkcsAvailable());var e=this.Ls?ot(JSON.stringify(t)):t;return this.subtle.importKey("jwk",e,this.pkcsAlgo,!0,["verify"])},e.verifyPkcs=function(t,e,n){return Gt(this.isPkcsAvailable()),this.subtle.verify(this.pkcsAlgo,t,e,n)},t}(),sa=["prefetch","preload","preconnect","dns-prefetch"],aa=function(){function t(t){this.vu=t,this.Hs=null,this.Gs=null}return t.prototype.get=function(){if(this.Hs)return this.Hs;var t=this.vu,e=mo(t.getUrl()),n=t.getRootNode(),i=n&&n.AMP&&n.AMP.canonicalUrl;if(!i){var r=n.querySelector("link[rel=canonical]");i=r?eo(r.href).href:e}var o,s=function(t){return String(Math.floor(1e4*t.Math.random()))}(t.win),a=function(t){var e=w();if(t.head)for(var n=t.head.querySelectorAll("link[rel]"),i=function(t){var i=n[t],r=i.href,o=i.getAttribute("rel");if(!o||!r)return"continue";o.split(/\s+/).forEach(function(t){if(-1==sa.indexOf(t)){var n=e[t];n?(j(n)||(n=e[t]=[n]),n.push(r)):e[t]=r}})},r=0;r<n.length;r++)i(r);return e}(t.win.document),u=(o=t.win.document.head.querySelector('meta[name="viewport"]'))?o.getAttribute("content"):null,c=function(t){if(!t.isSingleDoc()||"a"!=(e=t.win.location.href,ho(e=to(e))?e.pathname.split("/",2)[1]:null))return null;var e,n=dt(eo(t.win.location.href).search).amp_r;return void 0===n?null:dt(n)}(t);return this.Hs={get sourceUrl(){return mo(t.getUrl())},canonicalUrl:i,pageViewId:s,get pageViewId64(){return this.Gs||(this.Gs=function(t){var e,n=function(t){return at(t,16)||String(t.location.href+Date.now()+t.Math.random()+t.screen.width+t.screen.height)}(t);if("string"==typeof n)return(e=t,en(e,"crypto")).sha384Base64(n);var i=n;return h(function(){return ia(i).replace(/\.+$/,"")})}(t.win)),this.Gs},linkRels:a,viewport:u,replaceParams:c}},t}(),ua={attributes:!0,attributeFilter:["hidden"],subtree:!0},ca=function(){function t(t){this.gs=t.getRootNode();var e=this.gs.ownerDocument||this.gs;this.t=Gt(e.defaultView),this.Ht=null,this.Vs=null}var e=t.prototype;return e.add=function(t){var e=this;this.Fs();var n=this.Vs.add(t);return function(){n(),0===e.Vs.getHandlerCount()&&e.dispose()}},e.Fs=function(){var t=this;if(!this.Ht){this.Vs=new Zn;var e=new this.t.MutationObserver(function(e){e&&t.Vs.fire(e)});this.Ht=e,e.observe(this.gs,ua)}},e.dispose=function(){this.Ht&&(this.Ht.disconnect(),this.Vs.removeAll(),this.Ht=null,this.Vs=null)},t}();function ha(t){try{return t.state}catch(t){return null}}var la="History",fa="AMP.History",da=function(){function t(t,e){this.vu=t,this.Xo=Vn(t.win),this.Bs=e,this.qs=0,this.Ws=[],this.Ou=[],this.Bs.setOnStateUpdated(this.$s.bind(this))}var e=t.prototype;return e.cleanup=function(){this.Bs.cleanup()},e.push=function(t,e){var n=this;return this.Ys(function(){return n.Bs.push(e).then(function(e){return n.$s(e),t&&(n.Ws[e.stackIndex]=t),e.stackIndex})},"push")},e.pop=function(t){var e=this;return this.Ys(function(){return e.Bs.pop(t).then(function(t){e.$s(t)})},"pop")},e.replace=function(t){var e=this;return this.Ys(function(){return e.Bs.replace(t)},"replace")},e.get=function(){var t=this;return this.Ys(function(){return t.Bs.get()},"get")},e.goBack=function(t){var e=this;return this.Ys(function(){return e.qs<=0&&!t?u():e.Bs.pop(e.qs).then(function(t){e.$s(t)})},"goBack")},e.replaceStateForTarget=function(t){var e=this;Gt("#"==t[0]);var n=this.vu.win.location.hash;return this.push(function(){e.vu.win.location.replace(n||"#")}).then(function(){e.Bs.replaceStateForTarget(t)})},e.getFragment=function(){return this.Bs.getFragment()},e.updateFragment=function(t){return"#"==t[0]&&(t=t.substr(1)),this.Bs.updateFragment(t)},e.$s=function(t){this.qs=t.stackIndex,this.Ks(t)},e.Ks=function(t){var e=this;if(!(this.qs>=this.Ws.length-1)){for(var n=[],i=this.Ws.length-1;i>this.qs;i--)this.Ws[i]&&(n.push(this.Ws[i]),this.Ws[i]=void 0);if(this.Ws.splice(this.qs+1),n.length>0)for(var r=function(i){e.Xo.delay(function(){return n[i](t)},1)},o=0;o<n.length;o++)r(o)}},e.Ys=function(t,e){var n=new c,i=n.promise,r=n.reject,o=n.resolve,s=new Error("history trace for "+e+": ");return this.Ou.push({callback:t,resolve:o,reject:r,trace:s}),1==this.Ou.length&&this.Xs(),i},e.Xs=function(){var t=this;if(0!=this.Ou.length){var e,n=this.Ou[0];try{e=n.callback()}catch(t){e=Promise.reject(t)}e.then(function(t){n.resolve(t)},function(t){Wt().error(la,"failed to execute a task:",t),n.trace&&(n.trace.message+=t,Wt().error(la,n.trace)),n.reject(t)}).then(function(){t.Ou.splice(0,1),t.Xs()})}},t}(),pa=function(){function t(t){var e=this;this.win=t,this.Xo=Vn(t);var n=this.win.history;this.Js=n.length-1;var i,r,o=ha(n);o&&void 0!==o[fa]&&(this.Js=Math.min(o[fa],this.Js)),this.qs=this.Js,this.Qs,this.$s=null,this.Zs="state"in n,this.th=this.nh(this.qs),n.pushState&&n.replaceState?(this.ih=n.originalPushState||n.pushState.bind(n),this.rh=n.originalReplaceState||n.replaceState.bind(n),i=function(t,n,i){e.th=t;try{e.ih(t,n,i||null)}catch(t){Wt().error(la,"pushState failed: "+t.message)}},r=function(t,n,i){e.th=t;try{void 0!==i?e.rh(t,n,i):e.rh(t,n)}catch(t){Wt().error(la,"replaceState failed: "+t.message)}},n.originalPushState||(n.originalPushState=this.ih),n.originalReplaceState||(n.originalReplaceState=this.rh)):(i=function(t,n,i){e.th=t},r=function(t,n,i){e.th=t}),this.eh=i,this.uh=r;try{this.uh(this.nh(this.qs,!0))}catch(t){Wt().error(la,"Initial replaceState failed: "+t.message)}n.pushState=this.oh.bind(this),n.replaceState=this.sh.bind(this),this.hh=function(t){var n=t.state;Wt().fine(la,"popstate event: "+e.win.history.length+", "+JSON.stringify(n)),e.ah()},this.win.addEventListener("popstate",this.hh)}var e=t.prototype;return e.cleanup=function(){this.ih&&(this.win.history.pushState=this.ih),this.rh&&(this.win.history.replaceState=this.rh),this.win.removeEventListener("popstate",this.hh)},e.nh=function(t,e){var n=w(e?this.fh():void 0);return n[fa]=t,n},e.setOnStateUpdated=function(t){this.$s=t},e.push=function(t){var e=this;return this.lh(function(){var n=e.dh(e.fh(),t||{});return e.oh(n,void 0,n.fragment?"#"+n.fragment:void 0),h(function(){return e.dh(n,{stackIndex:e.qs})})})},e.pop=function(t){var e=this;return t=Math.max(t,this.Js),this.lh(function(){return e.mh(e.qs-t+1)}).then(function(t){return e.dh(e.fh(),{stackIndex:t})})},e.replace=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.lh(function(){var n=t.dh(t.fh(),e||{}),i=(n.url||"").replace(/#.*/,""),r=n.fragment?"#"+n.fragment:"";return t.sh(n,n.title,i||r?i+r:void 0),h(function(){return t.dh(n,{stackIndex:t.qs})})})},e.get=function(){var t=this;return h(function(){return t.dh(t.fh(),{stackIndex:t.qs})})},e.backTo=function(t){var e=this;return t=Math.max(t,this.Js),this.lh(function(){return e.mh(e.qs-t)})},e.ah=function(){var t=this.fh();Wt().fine(la,"history event: "+this.win.history.length+", "+JSON.stringify(t));var e=t?t[fa]:void 0,n=this.qs,i=this.Qs;this.Qs=void 0,n>this.win.history.length-2&&(n=this.win.history.length-2,this.ph(this.dh(t,{stackIndex:n}))),null==e?n+=1:n=e<this.win.history.length?e:this.win.history.length-1,t||(t={}),t[fa]=n,this.uh(t,void 0,void 0),n!=this.qs&&this.ph(this.dh(t,{stackIndex:n})),n<this.Js&&(this.Js=n),i&&i.resolve()},e.fh=function(){return this.Zs?ha(this.win.history):this.th},e.gh=function(){Gt(!this.Qs)},e.lh=function(t){return this.Qs?this.Qs.promise.then(t,t):t()},e.bh=function(){this.gh();var t=new c,e=t.reject,n=t.resolve,i=this.Xo.timeoutPromise(500,t.promise);return this.Qs={promise:i,resolve:n,reject:e},i},e.mh=function(t){var e=this;if(this.gh(),t<=0)return Promise.resolve(this.qs);this.th=this.nh(this.qs-t);var n=this.bh();return this.win.history.go(-t),n.then(function(){return Promise.resolve(e.qs)})},e.oh=function(t,e,n){this.gh(),t||(t={});var i=this.qs+1;t[fa]=i,this.eh(t,e,n),i!=this.win.history.length-1&&(i=this.win.history.length-1,t[fa]=i,this.uh(t));var r=this.dh(t,{stackIndex:i});this.ph(r)},e.replaceStateForTarget=function(t){var e=this;Gt("#"==t[0]),this.lh(function(){e.win.removeEventListener("popstate",e.hh);try{e.win.location.replace(t)}finally{e.win.addEventListener("popstate",e.hh)}return e.sh(),u()})},e.sh=function(t,e,n){this.gh(),t||(t={});var i=Math.min(this.qs,this.win.history.length-1);t[fa]=i,this.uh(t,e,n);var r=this.dh(t,{stackIndex:i});this.ph(r)},e.ph=function(t){this.gh(),t.stackIndex=Math.min(t.stackIndex,this.win.history.length-1),this.qs!=t.stackIndex&&(Wt().fine(la,"stack index changed: "+this.qs+" -> "+t.stackIndex),this.qs=t.stackIndex,this.$s&&this.$s(t))},e.getFragment=function(){var t=this.win.location.hash;return t=t.substr(1),Promise.resolve(t)},e.updateFragment=function(t){return this.replace({fragment:t})},e.dh=function(t,e){var n=I(I({},t&&t.data||{}),e.data||{});return I(I(I({},t||{}),e),{},{data:n})},t}(),ma=function(){function t(t,e){var n=this;this.win=t,this.yh=e,this.qs=0,this.$s=null,this.wh=this.yh.onMessage("historyPopped",function(t){return n.Ah(t)})}var e=t.prototype;return e.replaceStateForTarget=function(t){Gt("#"==t[0]),this.win.location.replace(t)},e.cleanup=function(){this.wh()},e.setOnStateUpdated=function(t){this.$s=t},e.xh=function(t,e,n){return this.Eh(t)?t:(Wt().warn(la,'Ignored unexpected "%s" data:',n,t),e)},e.Eh=function(t){return!!t&&void 0!==t.stackIndex},e.push=function(t){var e=this,n=I({stackIndex:this.qs+1},t||{}),i="pushHistory";return this.yh.sendMessageAwaitResponse(i,n).then(function(t){var r=n,o=e.xh(t,r,i);return e.ph(o),o})},e.pop=function(t){var e=this;if(t>this.qs)return this.get();var n={stackIndex:this.qs},i="popHistory";return this.yh.sendMessageAwaitResponse(i,n).then(function(t){var n={stackIndex:e.qs-1},r=e.xh(t,n,i);return e.ph(r),r})},e.replace=function(t){var e=this;if(t&&t.url){if(!this.yh.hasCapability("fullReplaceHistory")){var n={stackIndex:this.qs};return Promise.resolve(n)}var i=t.url.replace(/#.*/,"");t.url=i}var r=I({stackIndex:this.qs},t||{}),o="replaceHistory";return this.yh.sendMessageAwaitResponse(o,r,!0).then(function(t){var n=r,i=e.xh(t,n,o);return e.ph(i),i})},e.get=function(){return Promise.resolve({data:void 0,fragment:"",stackIndex:this.qs,title:""})},e.Ah=function(t){void 0!==t.newStackIndex&&(t.stackIndex=t.newStackIndex),this.Eh(t)?this.ph(t):Wt().warn(la,'Ignored unexpected "historyPopped" data:',t)},e.ph=function(t){var e=t.stackIndex;this.qs!=e&&(Wt().fine(la,"stackIndex: ".concat(this.qs," -> ").concat(e)),this.qs=e,this.$s&&this.$s(t))},e.getFragment=function(){return this.yh.hasCapability("fragment")?this.yh.sendMessageAwaitResponse("getFragment",void 0,!0).then(function(t){if(!t)return"";var e=t;return"#"==e[0]&&(e=e.substr(1)),e}):Promise.resolve("")},e.updateFragment=function(t){return this.yh.hasCapability("fragment")?this.yh.sendMessageAwaitResponse("replaceHistory",{fragment:t},!0):u()},t}();function va(t){var e,n=zn(t);return n.isOvertakeHistory()||t.win.__AMP_TEST_IFRAME?e=new ma(t.win,n):(Ze(t.win,"global-history-binding",pa),e=en(t.win,"global-history-binding")),new da(t,e)}var ga=null,ya=["gclid","gclsrc"];function ba(){return Kt(ga,"E#19457 trackImpressionPromise")}function wa(t,e,n,i){var r,o,s;try{r=t.open(e,n,i)}catch(t){Wt().error("DOM","Failed to open url on target: ",n,t)}return!r&&"_top"!=n&&("number"!=typeof s&&(s=0),s+8>(o=i||"").length||-1===o.indexOf("noopener",s))&&(r=t.open(e,"_top")),r}var Aa="navigation",Ea="click",Sa="contextmenu",xa=["_top","_blank"],Pa="data-a4a-orig-href",Ra=function(){function t(t){var e=this;this.ampdoc=t,this.Ph=t.getRootNode(),this.Th=Gn(this.ampdoc),this.yh=zn(this.ampdoc),this.Oh=kn(this.ampdoc),this.Ih=Bn(this.ampdoc.win),this.Rh=this.Ih.isIos()&&this.Ih.isSafari(),this.Sh=Se(this.ampdoc.win)&&this.yh.isOvertakeHistory(),this._h=this.Ph!=this.ampdoc.getRootNode()||!!this.ampdoc.getParent(),this.Mh="inabox"==_t(this.ampdoc.win).runtime,this.kh=this.Ph.nodeType==Node.DOCUMENT_NODE?this.Ph.documentElement:this.Ph,this.Ch=this.Nh.bind(this),this.Ph.addEventListener(Ea,this.Ch),this.Ph.addEventListener(Sa,this.Ch),this.jh=!1,function(t){return t.whenReady().then(function(){return!!t.getBody().querySelector("amp-analytics[type=googleanalytics]")})}(this.ampdoc).then(function(t){e.jh=t}),this.Dh=!1,this.Lh=!1,Promise.all([this.yh.isTrustedViewer(),this.yh.getViewerOrigin()]).then(function(t){var n;e.Dh=t[0],e.Lh=(n=t[1],Et.test(to(n).origin))}),this.Uh=null,this.zh=new Do,this.Hh=new Do}t.installAnchorClickInterceptor=function(t,e){e.document.documentElement.addEventListener("click",Ta.bind(null,t),!0)};var e=t.prototype;return e.cleanup=function(){this.Ch&&(this.Ph.removeEventListener(Ea,this.Ch),this.Ph.removeEventListener(Sa,this.Ch))},e.openWindow=function(t,e,n,i){var r="";!this.Ih.isIos()&&this.Ih.isChrome()||i||(r+="noopener");var o=wa(t,e,n,r);o&&!i&&(o.opener=null)},e.navigateTo=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=i.opener,o=void 0!==r&&r,s=i.target,a=void 0===s?"_top":s;e=this.Gh(e);var u=Hn(this.kh);if(u.isProtocolValid(e)){Kt(xa.includes(a),"Target '".concat(a,"' not supported."));var c=u.getSourceUrl(t.location);e=u.resolveRelativeUrl(e,c),"_blank"!=a?n&&(this.Uh||(this.Uh=this.Vh()),this.Uh.includes(n)&&this.navigateToAmpUrl(e,n))||(t.top.location.href=e):this.openWindow(t,e,a,o)}else Ht().error(Aa,"Cannot navigate to invalid protocol: "+e)},e.navigateToAmpUrl=function(t,e){return!!this.yh.hasCapability("a2a")&&(this.yh.sendMessage("a2aNavigate",{url:t,requestedBy:e}),!0)},e.Vh=function(){var t=this.Ph.querySelector('meta[name="amp-to-amp-navigation"]');return t&&t.hasAttribute("content")?t.getAttribute("content").split(",").map(function(t){return t.trim()}):[]},e.Nh=function(t){if(!t.defaultPrevented){var e=ce(t.__AMP_CUSTOM_LINKER_TARGET__||t.target,"A");e&&e.href&&(t.type==Ea?this.Fh(e,t):t.type==Sa&&this.Bh(e,t))}},e.Fh=function(t,e){this.qh(t);var n=this.Wh(t.href);if(!this.$h(e,t,n)&&!this.Yh(e,t,n)){var i=this.Kh();Oa(n)!=Oa(i)&&(this.Xh(t,e),n=this.Wh(t.href)),this.Jh(e,t,n,i)}},e.Bh=function(t,e){this.qh(t),this.Xh(t,e)},e.Xh=function(t,e){this.zh.forEach(function(n){n(t,e)})},e.Gh=function(t){return this.Hh.forEach(function(e){t=e(t)}),t},e.qh=function(t){var e=null;this.jh&&!this._h&&(e=function(t,e){for(var n=dt(eo(Oi.getLocation(t).href).search),i=[],r=0;r<ya.length;r++){var o=ya[r];void 0!==n[o]&&i.push(o)}var s=e.getAttribute("data-amp-addparams"),a=e.href;s&&(a=oo(a,dt(s)));for(var u=dt(eo(a).search),c=i.length-1;c>=0;c--)void 0!==u[i[c]]&&i.splice(c,1);return function(t){for(var e="",n=0;n<t.length;n++){var i=t[n];e+=0==n?"".concat(i,"=QUERY_PARAM(").concat(i,")"):"&".concat(i,"=QUERY_PARAM(").concat(i,")")}return e}(i)}(this.ampdoc.win,t)),Fn(t).maybeExpandLink(t,e)},e.Yh=function(t,e,n){if(!this.Sh)return!1;var i=$t(e),r=e.href,o=n.protocol;if("ftp:"==o)return wa(i,r,"_blank"),t.preventDefault(),!0;var s=/^(https?|mailto):$/.test(o);return!(!this.Rh||s||(wa(i,r,"_top"),t.preventDefault(),0))},e.$h=function(t,e,n){return!(!e.hasAttribute("rel")||!e.getAttribute("rel").split(" ").map(function(t){return t.trim()}).includes("amphtml")||!this.navigateToAmpUrl(n.href,"<a rel=amphtml>")||(t.preventDefault(),0))},e.Jh=function(t,e,n,i){var r=Oa(n),o=Oa(i);if(n.hash&&r==o)this.Qh(t,n,i);else{var s=(e.getAttribute("target")||"").toLowerCase();(this._h||this.Mh)&&"_top"!=s&&"_blank"!=s&&(s="_blank",e.setAttribute("target",s));var a=this.ampdoc.win,u=Bn(a),c=zn(e);i.search&&u.isSafari()&&u.getMajorVersion()>=13&&c.isProxyOrigin()&&c.isEmbedded()&&this.Zh(a,i,s),this.viewerInterceptsNavigation(r,"intercept_click")&&t.preventDefault()}},e.Zh=function(t,e,n){Wt().info(Aa,"Removing iframe query string before navigation:",e.search);var i=e.href,r="".concat(e.origin).concat(e.pathname).concat(e.hash);t.history.replaceState(null,"",r);var o=function(){var e=t.location.href;e==r?(Wt().info(Aa,"Restored iframe URL with query string:",i),t.history.replaceState(null,"",i)):Wt().error(Aa,"Unexpected iframe URL change:",e,r)};"_blank"===n?t.setTimeout(o,0):t.addEventListener("pageshow",function e(n){n.persisted&&(o(),t.removeEventListener("pageshow",e))})},e.Qh=function(t,e,n){var i=this;if(t.preventDefault(),!this._h){var r=e.hash.slice(1),o=null;if(r){var s=re(r);o=this.Ph.getElementById(r)||this.Ph.querySelector('a[name="'.concat(s,'"]'))}e.hash!=n.hash?this.Oh.replaceStateForTarget(e.hash).then(function(){i.ta(o,r)}):this.ta(o,r)}},e.registerAnchorMutator=function(t,e){this.zh.enqueue(t,e)},e.registerNavigateToMutator=function(t,e){this.Hh.enqueue(t,e)},e.ta=function(t,e){var n=this;t?(this.Th.scrollIntoView(t),Vn(this.ampdoc.win).delay(function(){return n.Th.scrollIntoView(t)},1)):Wt().warn(Aa,"failed to find element with id=".concat(e," or a[name=").concat(e,"]"))},e.Wh=function(t){return Hn(this.kh).parse(t)},e.Kh=function(){return this.Wh("")},e.viewerInterceptsNavigation=function(t,e){var n=this.yh.hasCapability("interceptNavigation"),i=this.ampdoc.isSingleDoc()&&this.ampdoc.getRootNode().documentElement.hasAttribute("allow-navigation-interception");return!(!n||!i||!this.Dh&&!this.Lh||(this.yh.sendMessage("navigateTo",{url:t,requestedBy:e}),0))},t}();function Ta(t,e){var n=ce(e.target,"A");if(n&&n.href){var i=n.getAttribute(Pa)||n.getAttribute("href");if(i){var r={CLICK_X:function(){return e.pageX},CLICK_Y:function(){return e.pageY}},o=Fn(n).expandUrlSync(i,r,{CLICK_X:!0,CLICK_Y:!0});o!=i&&(n.getAttribute(Pa)||n.setAttribute(Pa,i),n.setAttribute("href",o))}}}function Oa(t){return"".concat(t.origin).concat(t.pathname).concat(t.search)}function _a(t){return j(t)?t:[t]}var Ca=function(){function t(t){this.qe=jn(t)}var e=t.prototype;return e.setOwner=function(t,e){_o.setOwner(t,e)},e.schedulePreload=function(t,e){this.na(this.qe.getResourceForElement(t),!1,_a(e))},e.scheduleLayout=function(t,e){this.na(this.qe.getResourceForElement(t),!0,_a(e))},e.schedulePause=function(t,e){var n=this.qe.getResourceForElement(t);e=_a(e),this.ia(n,e,function(t){t.pause()})},e.scheduleResume=function(t,e){var n=this.qe.getResourceForElement(t);e=_a(e),this.ia(n,e,function(t){t.resume()})},e.scheduleUnlayout=function(t,e){var n=this.qe.getResourceForElement(t);e=_a(e),this.ia(n,e,function(t){t.unlayout()})},e.requireLayout=function(t,e){var n=[];return this.ra(t,function(t){n.push(t.element.ensureLoaded())}),Promise.all(n)},e.ia=function(t,e,n){for(var i,r=a(e,!0);!(i=r()).done;){var o=i.value;Gt(t.element.contains(o)),this.ra(o,n)}},e.ra=function(t,e){if(t.classList.contains("i-amphtml-element")){e(this.qe.getResourceForElement(t));var n=t.getPlaceholder();n&&this.ra(n,e)}else for(var i=t.getElementsByClassName("i-amphtml-element"),r=[],o=0;o<i.length;o++){for(var s=i[o],a=!1,u=0;u<r.length;u++)if(r[u].contains(s)){a=!0;break}a||(r.push(s),e(this.qe.getResourceForElement(s)))}},e.na=function(t,e,n){this.ia(t,n,function(e){e.element.ensureLoaded(t.getLayoutPriority())})},t}(),Ma=function(){function t(t){this.ea=t.navigator,this.t=t}var e=t.prototype;return e.isAndroid=function(){return/Android/i.test(this.ea.userAgent)},e.isIos=function(){return/iPhone|iPad|iPod/i.test(this.ea.userAgent)},e.isSafari=function(){return/Safari/i.test(this.ea.userAgent)&&!this.isChrome()&&!this.isEdge()&&!this.isFirefox()&&!this.isOpera()},e.isChrome=function(){return/Chrome|CriOS/i.test(this.ea.userAgent)&&!this.isEdge()&&!this.isOpera()},e.isFirefox=function(){return/Firefox|FxiOS/i.test(this.ea.userAgent)&&!this.isEdge()},e.isOpera=function(){return/OPR\/|Opera|OPiOS/i.test(this.ea.userAgent)},e.isEdge=function(){return/Edge/i.test(this.ea.userAgent)},e.isWebKit=function(){return/WebKit/i.test(this.ea.userAgent)&&!this.isEdge()},e.isWindows=function(){return/Windows/i.test(this.ea.userAgent)},e.isStandalone=function(){return this.isIos()&&this.ea.standalone||this.isChrome()&&this.t.matchMedia("(display-mode: standalone)").matches},e.isBot=function(){return/bot/i.test(this.ea.userAgent)},e.getMajorVersion=function(){return this.isSafari()?this.isIos()?this.getIosMajorVersion()||0:this.ua(/\sVersion\/(\d+)/,1):this.isChrome()?this.ua(/(Chrome|CriOS)\/(\d+)/,2):this.isFirefox()?this.ua(/(Firefox|FxiOS)\/(\d+)/,2):this.isOpera()?this.ua(/(OPR|Opera|OPiOS)\/(\d+)/,2):this.isEdge()?this.ua(/Edge\/(\d+)/,1):0},e.ua=function(t,e){if(!this.ea.userAgent)return 0;var n=this.ea.userAgent.match(t);return!n||e>=n.length?0:parseInt(n[e],10)},e.getIosVersionString=function(){var t,e,n;return this.isIos()&&(null===(t=this.ea.userAgent)||void 0===t||null===(e=t.match(/OS ([0-9]+[_.][0-9]+([_.][0-9]+)?)\b/))||void 0===e||null===(n=e[1])||void 0===n?void 0:n.replace(/_/g,"."))||""},e.getIosMajorVersion=function(){var t=this.getIosVersionString();return""==t?null:Number(t.split(".")[0])},t}();function La(t){Ze(t,"platform",Ma)}function Ia(t){return t.queryCommandSupported("copy")}function ka(t){return t.hasAttribute("hidden")}var Da="STANDARD-ACTIONS",Na=/^i-amphtml-/,Ba=function(){function t(t){this.ampdoc=t;var e=t.getHeadNode();this.oa=Dn(t),this.Th=Gn(t),this.sa(Rn(e)),this.ha()}var e=t.prototype;return e.sa=function(t){t.addGlobalTarget("AMP",this.aa.bind(this)),t.addGlobalMethodHandler("hide",this.fa.bind(this)),t.addGlobalMethodHandler("show",this.ca.bind(this)),t.addGlobalMethodHandler("toggleVisibility",this.la.bind(this)),t.addGlobalMethodHandler("scrollTo",this.va.bind(this)),t.addGlobalMethodHandler("focus",this.da.bind(this)),t.addGlobalMethodHandler("toggleClass",this.ma.bind(this)),t.addGlobalMethodHandler("copy",this.pa.bind(this)),t.addGlobalMethodHandler("toggleChecked",this.ga.bind(this))},e.ha=function(){this.ba()&&this.ampdoc.waitForBodyOpen().then(function(t){var e=t.getAttribute("data-prefers-dark-mode-class")||"amp-dark-mode";t.classList.add(e)})},e.ba=function(){var t,e;try{var n=this.ampdoc.win.localStorage.getItem("amp-dark-mode");if(n)return"yes"===n}catch(t){}return null===(t=(e=this.ampdoc.win).matchMedia)||void 0===t?void 0:t.call(e,"(prefers-color-scheme: dark)").matches},e.aa=function(t){if(!t.satisfiesTrust(2))return null;var e=t.args,n=t.method,i=t.node,r=$t(i);switch(n){case"pushState":case"setState":var o=i.nodeType===Node.DOCUMENT_NODE?i.documentElement:i;return Cn(o).then(function(e){return Kt(e,"AMP-BIND is not installed."),e.invoke(t)});case"navigateTo":return this.ya(t);case"closeOrNavigateTo":return this.wa(t);case"scrollTo":return Kt(e.id,"AMP.scrollTo must provide element ID"),t.node=hn(i).getElementById(e.id),this.va(t);case"goBack":return kn(this.ampdoc).goBack(!(!e||!0!==e.navigate)),null;case"print":return r.print(),null;case"copy":return this.pa(t);case"optoutOfCid":return Mn(this.ampdoc).then(function(t){return t.optOut()}).catch(function(t){Wt().error(Da,"Failed to opt out of CID",t)});case"toggleTheme":return this.Aa(),null}throw Ht().createError("Unknown AMP action ",n)},e.pa=function(t){var e,n=t.args,i=$t(t.node),r="copy-error";if("AMP"===t.tagOrTarget)e=n.text.trim();else{var o,s=$(t.node);e=(null!==(o=s.value)&&void 0!==o?o:s.textContent).trim()}var a,u,c,h=function(t,e,n){var r={data:{type:e}},o=Dr(i,"".concat(t),r);Rn(n.caller).trigger(n.caller,t,o,3)};null!==(u=(a=i.document).defaultView)&&void 0!==u&&null!==(c=u.navigator)&&void 0!==c&&c.clipboard||Ia(a)?function(t,e,n,i){var r;null!==(r=t.navigator)&&void 0!==r&&r.clipboard?t.navigator.clipboard.writeText(e).then(n,i):Ia(t.document)&&function(t,e){var n,i=!1,r=t.document,o=r.createElement("textarea");yi(o,{position:"fixed",top:0,left:0,width:"50px",height:"50px",padding:0,border:"none",outline:"none",background:"transparent"}),o.value=e,o.readOnly=!0,o.contentEditable="true",r.body.appendChild(o),null===(n=t.getSelection())||void 0===n||n.removeAllRanges(),o.focus(),o.setSelectionRange(0,e.length);try{i=r.execCommand("copy")}catch(t){}return ge(o),i}(t,e)?n():i()}(i,e,function(){h("copy-success","success",t)},function(){h(r,"error",t)}):h(r,"unsupported",t)},e.ya=function(t){var e=this,n=t.args,i=t.caller,r=t.method,o=$t(t.node),s=u();return i.tagName.startsWith("AMP-")&&(s=i.getImpl().then(function(t){"function"==typeof t.throwIfCannotNavigate&&t.throwIfCannotNavigate()})),s.then(function(){var t;(t=e.ampdoc,rn(t,"navigation")).navigateTo(o,n.url,"AMP.".concat(r),{target:n.target,opener:n.opener})},function(t){Ht().error(Da,t)})},e.Aa=function(){var t=this;this.ampdoc.waitForBodyOpen().then(function(e){try{var n=e.getAttribute("data-prefers-dark-mode-class")||"amp-dark-mode";t.ba()?(e.classList.remove(n),t.ampdoc.win.localStorage.setItem("amp-dark-mode","no")):(e.classList.add(n),t.ampdoc.win.localStorage.setItem("amp-dark-mode","yes"))}catch(t){}})},e.wa=function(t){var e=$t(t.node),n=e.parent!=e,i=!1;return e.opener&&this.ampdoc.isSingleDoc()&&!n&&(e.close(),i=e.closed),i?u():this.ya(t)},e.va=function(t){var e=t.node,n=t.args,i=n&&n.position,r=n&&n.duration;return i&&!["top","bottom","center"].includes(i)&&(i=void 0),z(r)||(r=void 0),this.Th.animateScrollIntoView(e,i,r)},e.da=function(t){return Ee(t.node),null},e.fa=function(t){var e=t.node;if(e.classList.contains("i-amphtml-element")){var n=e;this.oa.mutateElement(n,function(){return n.collapse()},!0)}else this.oa.mutateElement(e,function(){return bi(e,!1)});return null},e.ca=function(t){var e=this,n=t.node,i=$t(n);if(n.classList.contains(Qi(Vi)))return Ht().warn(Da,"Elements with layout=nodisplay cannot be dynamically shown.",n),null;this.oa.measureElement(function(){"none"!=Ei(i,n).display||ka(n)||Ht().warn(Da,'Elements can only be dynamically shown when they have the "hidden" attribute set or when they were dynamically hidden.',n)});var r,o=(r=n).hasAttribute("autofocus")?r:r.querySelector("[autofocus]");return o&&Bn(i).isIos()?(this.xa(n,o),this.oa.mutateElement(n,function(){})):this.oa.mutateElement(n,function(){e.xa(n,o)}),null},e.xa=function(t,e){t.classList.contains("i-amphtml-element")?t.expand():bi(t,!0),e&&Ee(e)},e.la=function(t){return ka(t.node)?this.ca(t):this.fa(t)},e.ma=function(t){var e=t.node,n=t.args,i=Ht().assertString(n.class,"Argument 'class' must be a string.");return Na.test(i)||this.oa.mutateElement(e,function(){if(void 0!==n.force){var t=Ht().assertBoolean(n.force,"Optional argument 'force' must be a boolean.");e.classList.toggle(i,t)}else e.classList.toggle(i)}),null},e.ga=function(t){var e=t.node,n=t.args;return this.oa.mutateElement(e,function(){if(void 0!==(null==n?void 0:n.force)){var t=Ht().assertBoolean(n.force,"Optional argument 'force' must be a boolean.");e.checked=t}else!0===e.checked?e.checked=!1:e.checked=!0}),null},t}(),Ua="__AMP_IMPL_",ja=function(){},Va=function(){function t(t){this.vu=t,this.Ea={},this.Pa={}}var e=t.prototype;return e.whenReady=function(t){return this.Ta(t).then(ja)},e.setHtmlForTemplate=function(t,e){var n=this;return this.Ta(t).then(function(t){return n.Oa(t,e)})},e.renderTemplate=function(t,e){var n=this;return this.Ta(t).then(function(t){return n.Di(t,e)})},e.renderTemplateAsString=function(t,e){return this.Ta(t).then(function(t){return t.renderAsString(e)})},e.getTemplateRenderer=function(t){return this.Ta(t).then(function(t){return{renderAsString:function(e){return t.renderAsString(e)}}})},e.renderTemplateArray=function(t,e){var n=this;return 0==e.length?Promise.resolve([]):this.Ta(t).then(function(t){return e.map(function(e){return n.Di(t,e)})})},e.findAndRenderTemplate=function(t,e,n){return this.renderTemplate(this.findTemplate(t,n),e)},e.findAndSetHtmlForTemplate=function(t,e,n){return this.setHtmlForTemplate(this.findTemplate(t,n),e)},e.findAndRenderTemplateArray=function(t,e,n){return this.renderTemplateArray(this.findTemplate(t,n),e)},e.hasTemplate=function(t,e){return!!this.maybeFindTemplate(t,e)},e.findTemplate=function(t,e){var n=this.maybeFindTemplate(t,e);Kt(n,"Template not found for %s",t);var i=n.tagName;return Kt("TEMPLATE"==i||"SCRIPT"==i&&"text/plain"===n.getAttribute("type"),'Template must be defined in a <template> or <script type="text/plain"> tag'),n},e.maybeFindTemplate=function(t,e){var n=t.getAttribute("template");return n?we(t).getElementById(n):e?ae(t,e):t.querySelector('template[type], script[type="text/plain"]')},e.Ta=function(t){var e=this,n=t[Ua];if(n)return Promise.resolve(n);var i="",r=t.tagName;"TEMPLATE"==r?i=t.getAttribute("type"):"SCRIPT"==r&&(i=t.getAttribute("template")),Kt(i,"Type must be specified: %s",t);var o=t.__AMP_WAIT_;return o||(o=this.Ia(t,i).then(function(n){var i=n,r=t[Ua]=new i(t,e.vu.win);return delete t.__AMP_WAIT_,r}),t.__AMP_WAIT_=o,o)},e.Ia=function(t,e){if(this.Ea[e])return this.Ea[e];var n=new c,i=n.promise,r=n.resolve;return this.Ea[e]=i,this.Pa[e]=r,i},e.Ra=function(t,e){if(this.Ea[t]){var n=this.Pa[t];Kt(n,"Duplicate template type: %s",t),delete this.Pa[t],n(e)}else this.Ea[t]=Promise.resolve(e)},e.Di=function(t,e){return t.render(e)},e.Oa=function(t,e){return t.setHtml(e)},t}(),Fa=function(){function t(t){this.win=t,this.Sa=this.win.Promise.resolve(),this._a=0,this.Ma={},this.ka=Date.now()}var e=t.prototype;return e.timeSinceStart=function(){return Date.now()-this.ka},e.delay=function(t,e){var n=this;if(!e){var i="p"+this._a++;return this.Sa.then(function(){n.Ma[i]?delete n.Ma[i]:t()}).catch(xo),i}return this.win.setTimeout(function(){try{t()}catch(t){throw xo(t),t}},e)},e.cancel=function(t){"string"!=typeof t?this.win.clearTimeout(t):this.Ma[t]=!0},e.promise=function(t){var e=this;return new this.win.Promise(function(n){if(-1==e.delay(n,t))throw new Error("Failed to schedule timer.")})},e.timeoutPromise=function(t,e,n){var i,r=this,o=new this.win.Promise(function(e,o){if(-1==(i=r.delay(function(){o(Ht().createError(n||"timeout"))},t)))throw new Error("Failed to schedule timer.")});if(!e)return o;var s=function(){r.cancel(i)};return e.then(s,s),this.win.Promise.race([o,e])},e.poll=function(t,e){var n=this;return new this.win.Promise(function(i){var r=n.win.setInterval(function(){e()&&(n.win.clearInterval(r),i())},t)})},t}();function qa(t){Ze(t,"timer",Fa)}var Ha=function(){function t(t){var e=t.getRootNode(),n=e.ownerDocument||e;this.Ca=n.createElement("a"),this.Ot=new Qr(100)}var e=t.prototype;return e.parse=function(t,e){return no(this.Ca,t,e?null:this.Ot)},e.Na=function(t){return"string"!=typeof t?t:this.parse(t)},e.isProtocolValid=function(t){return lo(t)},e.getSourceOrigin=function(t){return vo(this.Na(t))},e.getSourceUrl=function(t){return mo(this.Na(t))},e.resolveRelativeUrl=function(t,e){return go(t,this.Na(e))},e.assertHttpsUrl=function(t,e){return uo(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"source")},e.assertAbsoluteHttpOrHttpsUrl=function(t){return function(t){return Kt(/^https?\:/i.test(t),'URL must start with "http://" or "https://". Invalid value: %s',t),eo(t).href}(t)},e.isProxyOrigin=function(t){return ho(this.Na(t))},e.isSecure=function(t){return ao(this.Na(t))},e.getWinOrigin=function(t){return t.origin||this.Na(t.location.href).origin},e.getCdnUrlOnOrigin=function(t){if(ho(t))return t;var e=this.Na(t),n=e.hash,i=e.host,r=e.pathname,o=e.search,s=encodeURIComponent(i);return"".concat(At,"/c/").concat(s).concat(r).concat(o).concat(n)},t}(),za="Expander",Wa=function(){function t(t,e,n,i,r,o){this.ja=t,this.Da=e,this.La=n,this.Ua=i,this.ys=r,this.za=!o}var e=t.prototype;return e.expand=function(t){if(!t.length)return this.Ua?t:Promise.resolve(t);var e=this.ja.getExpr(this.Da,this.ys),n=this.Ha(t,e);return n.length?this.Ga(t,n):this.Ua?t:Promise.resolve(t)},e.getMacroNames=function(t){var e=this.ja.getExpr(this.Da,this.ys);return t.match(e)||[]},e.Ha=function(t,e){var n=[];return t.replace(e,function(t,e,i){var r=t.length,o={start:i,stop:r+i-1,name:e,length:r};n.push(o)}),n},e.Ga=function(t,e){var n=this,i=[],r=0,o=0,s=e[o],a=0,u=!1;return function c(h){for(var l,f="",p=[],m=[];r<t.length&&o<=e.length;){var v,g=f.trim();if(s&&r===s.start)g&&p.push(a?(l=f).trimStart?l.trimStart():(l+"_").trim().slice(0,-1):f),v=n.Da&&A(n.Da,s.name)?{name:s.name,prioritized:n.Da[s.name],encode:h}:I(I({},n.ja.get(s.name)),{},{name:s.name,encode:h}),r=s.stop+1,s=e[++o],"("===t[r]?(r++,a++,i.push(v),p.push(c(!1))):p.push(n.Va(v)),f="";else if("`"===t[r])u?(u=!1,f.length&&p.push(f)):(u=!0,g&&p.push(g)),f="",r++;else if(a&&","===t[r]&&!u)g&&p.push(g),m.push(p),p=[],","===t[r+1]&&(m.push([""]),r++),f="",r++;else{if(a&&")"===t[r]&&!u){r++,a--;var y=i.pop();return g&&p.push(g),m.push(p),n.Va(y,m)}f+=t[r],r++}r===t.length&&f.length&&p.push(f)}return n.Ua?p.join(""):Promise.all(p).then(function(t){return t.join("")}).catch(function(t){return d(t),""})}(this.za)},e.Va=function(t,e){var n,i=t.encode,r=t.name;if(null!=t.prioritized?n=t.prioritized:this.Ua&&null!=t.sync?n=t.sync:this.Ua?(Ht().error(za,"ignoring async replacement key: ",t.name),n=""):n=t.async||t.sync,this.Ua){var o=this.Fa(n,r,e);return i?encodeURIComponent(o):o}return this.Ba(n,r,e).then(function(t){return i?encodeURIComponent(t):t})},e.Ba=function(t,e,n){var i,r=this;try{if("function"==typeof t){var o=t;i=n?this.qa(n).then(function(t){return o.apply(null,t)}):h(o)}else i=Promise.resolve(t);return i.then(function(t){return r.Wa(e,t,n),null==t?"":t}).catch(function(t){return d(t),r.Wa(e,"",n),Promise.resolve("")})}catch(t){return d(t),this.Wa(e,"",n),Promise.resolve("")}},e.qa=function(t){return Promise.all(t.map(function(t){return Promise.all(t).then(function(t){return t.join("")})}))},e.Fa=function(t,e,n){try{var i,r=t;return"function"==typeof t&&(r=t.apply(null,this.$a(n))),r&&"function"==typeof r.then?(Ht().error(za,"ignoring async macro resolution"),i=""):"string"==typeof r||"number"==typeof r||"boolean"==typeof r?(this.Wa(e,r,n),i=r.toString()):(this.Wa(e,"",n),i=""),i}catch(t){return d(t),this.Wa(e,"",n),""}},e.$a=function(t){return t?t.map(function(t){return t.join("")}):t},e.Wa=function(t,e,n){if(this.La){var i="";if(n){var r=n.filter(function(t){return""!==t}).join(",");i="(".concat(r,")")}this.La["".concat(t).concat(i)]=e||""}},t}(),Ga={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 Ka(t,e,n){var i,r=Ga[e]||3,o=n?Ga[n]||3:r,s=Math.max(r,o);if(1===s)i=u();else if(2===s)i=li(t.document);else if(3===s)i=jr(t);else if(4===s){var a=Vn(t);i=jr(t).then(function(){return a.promise(1)})}return Gt(i),i.then(function(){return Ya(t,e,n)})}function Ya(t,e,n){var i=t.performance&&t.performance.timing;if(i&&0!=i.navigationStart){var r=void 0===n?i[e]:i[n]-i[e];return!z(r)||r<0?void 0:r}}function Ja(t,e){var n=t.performance&&t.performance.navigation;if(n&&void 0!==n[e])return n[e]}var Xa="UrlReplacements";function Qa(t){return function(){return(new Date)[t]()}}function $a(t,e){return function(){return t[e]}}function Za(t,e){return e?(Kt("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"}var tu=function(t){D(n,t);var e=B(n);function n(t){var n;return(n=e.call(this,t)).Ya=null,n.Ka={},n}var i=n.prototype;return i.Xa=function(t,e,n){var i=this;return this.setBoth(t,function(){return Ya(i.ampdoc.win,e,n)},function(){return Ka(i.ampdoc.win,e,n)})},i.initialize=function(){var t=this,e=this.ampdoc.win,n=this.ampdoc.getHeadNode(),i=Gn(this.ampdoc);qn(this.ampdoc).then(function(e){t.Ya=e}),this.set("RANDOM",function(){return Math.random()});var r=Object.create(null);this.set("COUNTER",function(t){return r[t]=1+(0|r[t])}),this.set("CANONICAL_URL",function(){return t.Ja().canonicalUrl}),this.set("CANONICAL_HOST",function(){return eo(t.Ja().canonicalUrl).host}),this.set("CANONICAL_HOSTNAME",function(){return eo(t.Ja().canonicalUrl).hostname}),this.set("CANONICAL_PATH",function(){return eo(t.Ja().canonicalUrl).pathname}),this.setAsync("DOCUMENT_REFERRER",function(){return zn(t.ampdoc).getReferrerUrl()}),this.setAsync("EXTERNAL_REFERRER",function(){return zn(t.ampdoc).getReferrerUrl().then(function(t){return t?eo(mo(t)).hostname===Oi.getHostname(e)?null:t:null})}),this.set("TITLE",function(){var t=e.document;return t.originalTitle||t.title}),this.set("AMPDOC_URL",function(){return co(t.Qa(e.location.href))}),this.set("AMPDOC_HOST",function(){var t=eo(e.location.href);return t&&t.host}),this.set("AMPDOC_HOSTNAME",function(){var t=eo(e.location.href);return t&&t.hostname});var o=function(){var e=t.Ja();return co(t.Qa(e.sourceUrl))};this.setBoth("SOURCE_URL",function(){return o()},function(){return ba().then(function(){return o()})}),this.set("SOURCE_HOST",function(){return eo(t.Ja().sourceUrl).host}),this.set("SOURCE_HOSTNAME",function(){return eo(t.Ja().sourceUrl).hostname}),this.set("SOURCE_PATH",function(){return eo(t.Ja().sourceUrl).pathname}),this.set("PAGE_VIEW_ID",function(){return t.Ja().pageViewId}),this.setAsync("PAGE_VIEW_ID_64",function(){return t.Ja().pageViewId64}),this.setBoth("QUERY_PARAM",function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.Za(e,n)},function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return ba().then(function(){return t.Za(e,n)})}),this.set("FRAGMENT_PARAM",function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.tf(e,n)});var s=null;this.setBoth("CLIENT_ID",function(t){return s?s[t]:null},function(e,i,r,o){Kt(e,"The first argument to CLIENT_ID, the fallback Cookie name, is required");var a=u();return i&&(a=function(t){return An(t,"userNotificationManager","amp-user-notification")}(n).then(function(t){return t.get(i)})),Mn(t.ampdoc).then(function(t){return o="true"==o,t.get({scope:e,createCookieIfNotPresent:!0,cookieName:r||void 0,disableBackup:o},a)}).then(function(t){return s||(s=Object.create(null)),t&&"_ga"==(r||e)&&("string"==typeof t?t=t.replace(/^(GA1|1)\.[\d-]+\./,""):Wt().error(Xa,"non-string cid, what is it?",Object.keys(t))),s[e]=t,t})}),this.setAsync("VARIANT",function(e){return t.nf(function(t){var n=t[e];return Kt(void 0!==n,"The value passed to VARIANT() is not a valid experiment in <amp-experiment>:"+e),null===n?"none":n},"VARIANT")}),this.setAsync("VARIANTS",function(){return t.nf(function(t){var e=[];for(var n in t){var i=t[n];e.push(n+"."+(i||"none"))}return e.join("!")},"VARIANTS")}),this.setBoth("AMP_GEO",function(e){return Za(t.Ya,e)},function(e){return t.if(function(t){return Za(t,e)},"AMP_GEO")}),this.set("TIMESTAMP",Qa("getTime")),this.set("TIMESTAMP_ISO",Qa("toISOString")),this.set("TIMEZONE",Qa("getTimezoneOffset")),this.set("SCROLL_HEIGHT",function(){return i.getScrollHeight()}),this.set("SCROLL_WIDTH",function(){return i.getScrollWidth()}),this.set("VIEWPORT_HEIGHT",function(){return i.getHeight()}),this.set("VIEWPORT_WIDTH",function(){return i.getWidth()});var a=e.screen;this.set("SCREEN_WIDTH",$a(a,"width")),this.set("SCREEN_HEIGHT",$a(a,"height")),this.set("AVAILABLE_SCREEN_HEIGHT",$a(a,"availHeight")),this.set("AVAILABLE_SCREEN_WIDTH",$a(a,"availWidth")),this.set("SCREEN_COLOR_DEPTH",$a(a,"colorDepth")),this.set("DOCUMENT_CHARSET",function(){var t=e.document;return t.characterSet||t.charset}),this.set("BROWSER_LANGUAGE",function(){var t=e.navigator;return(t.language||t.userLanguage||t.browserLanguage||"").toLowerCase()}),this.set("USER_AGENT",function(){return e.navigator.userAgent}),this.setBoth("UACH",function(e){var n;return null!==(n=t.Ka[e])&&void 0!==n?n:""},function(n){return t.rf(n,e)}),this.Xa("PAGE_LOAD_TIME","navigationStart","loadEventStart"),this.Xa("DOMAIN_LOOKUP_TIME","domainLookupStart","domainLookupEnd"),this.Xa("TCP_CONNECT_TIME","connectStart","connectEnd"),this.Xa("SERVER_RESPONSE_TIME","requestStart","responseStart"),this.Xa("PAGE_DOWNLOAD_TIME","responseStart","responseEnd"),this.Xa("REDIRECT_TIME","navigationStart","fetchStart"),this.Xa("DOM_INTERACTIVE_TIME","navigationStart","domInteractive"),this.Xa("CONTENT_LOAD_TIME","navigationStart","domContentLoadedEventStart"),this.setAsync("ACCESS_READER_ID",function(){return t.ef(function(t){return t.getAccessReaderId()},"ACCESS_READER_ID")}),this.setAsync("AUTHDATA",function(e){return Kt(e,"The first argument to AUTHDATA, the field, is required"),t.ef(function(t){return t.getAuthdataField(e)},"AUTHDATA")}),this.setAsync("VIEWER",function(){return zn(t.ampdoc).getViewerOrigin().then(function(t){return null==t?"":t})}),this.setAsync("TOTAL_ENGAGED_TIME",function(){return Tn(n).then(function(t){return t.getTotalEngagedTime()})}),this.setAsync("INCREMENTAL_ENGAGED_TIME",function(t,e){return Tn(n).then(function(n){return n.getIncrementalEngagedTime(t,"false"!==e)})}),this.set("NAV_TIMING",function(t,n){return Kt(t,"The first argument to NAV_TIMING, the start attribute name, is required"),Ya(e,t,n)}),this.setAsync("NAV_TIMING",function(t,n){return Kt(t,"The first argument to NAV_TIMING, the start attribute name, is required"),Ka(e,t,n)}),this.set("NAV_TYPE",function(){return Ja(e,"type")}),this.set("NAV_REDIRECT_COUNT",function(){return Ja(e,"redirectCount")}),this.set("AMP_VERSION",function(){return"2410292120000"}),this.set("BACKGROUND_STATE",function(){return t.ampdoc.isVisible()?"0":"1"}),this.setAsync("VIDEO_STATE",function(e,n){return(i=t.ampdoc,rn(i,"video-manager")).getVideoStateProperty(e,n);var i}),this.setAsync("AMP_STATE",function(e){var n=t.ampdoc.getRootNode(),i=n.documentElement||n;return Cn(i).then(function(t){return t&&t.getStateValue(e)||""})})},i.Qa=function(t){var e=this.Ja().replaceParams;return e?function(t,e){for(var n=dt(eo(t).search),i={},r=Object.keys(e),o=0;o<r.length;o++)A(n,r[o])||(i[r[o]]=e[r[o]]);return oo(t,i)}(fo(t),e):t},i.Ja=function(){return Ln(this.ampdoc)},i.ef=function(t,e){var n=this.ampdoc.getHeadNode();return Promise.all([xn(n),Pn(n)]).then(function(n){var i=n[0],r=n[1],o=i||r;return o?i&&r?t(r)||t(i):t(o):(Ht().error(Xa,"Access or subsciptions service is not installed to access: ",e),null)})},i.Za=function(t,e){Kt(t,"The first argument to QUERY_PARAM, the query string param is required");var n=dt(eo(fo(this.ampdoc.win.location.href)).search),i=this.Ja().replaceParams;return void 0!==n[t]?n[t]:i&&void 0!==i[t]?i[t]:e},i.tf=function(t,e){Kt(t,"The first argument to FRAGMENT_PARAM, the fragment string param is required"),Kt("string"==typeof t,"param should be a string");var n=pt(this.ampdoc.win);return void 0===n[t]?e:n[t]},i.nf=function(t,e){return(n=this.ampdoc.getHeadNode(),En(n,"variant","amp-experiment",!0)).then(function(t){return Kt(t,"To use variable %s, amp-experiment should be configured",e),t.getVariants()}).then(function(e){return t(e)});var n},i.if=function(t,e){var n=this;return null!==this.Ya?t(this.Ya):qn(this.ampdoc.getHeadNode()).then(function(i){return Kt(i,"To use variable %s, amp-geo should be configured",e),n.Ya=i,t(i)})},i.rf=function(t,e){var n,i,r,o=this;return t in this.Ka?Promise.resolve(this.Ka[t]):(null===(n=e.navigator)||void 0===n||null===(i=n.userAgentData)||void 0===i||null===(r=i.getHighEntropyValues([t]))||void 0===r?void 0:r.then(function(e){var n="object"!==m(e[t])?e[t]:JSON.stringify(e[t]);return o.Ka[t]=n,n}))||Promise.resolve("")},n}(function(){function t(t){this.ampdoc=t,this.uf=Object.create(null),this.sf=!1,this.hf()}var e=t.prototype;return e.Go=function(){this.initialize(),this.sf=!0},e.initialize=function(){},e.get=function(t){return this.sf||this.Go(),this.uf[t]},e.set=function(t,e){return Gt(-1==t.indexOf("RETURN")),this.uf[t]=this.uf[t]||{sync:void 0,async:void 0},this.uf[t].sync=e,this},e.setAsync=function(t,e){return Gt(-1==t.indexOf("RETURN")),this.uf[t]=this.uf[t]||{sync:void 0,async:void 0},this.uf[t].async=e,this},e.setBoth=function(t,e,n){return this.set(t,e).setAsync(t,n)},e.getExpr=function(t,e){this.sf||this.Go();var n=I(I({},this.uf),t);return this.af(Object.keys(n),e)},e.af=function(t,e){var n=this;if(this.hf()&&(t=t.filter(function(t){return n.hf().includes(t)})),e&&(t=t.filter(function(t){return e[t]})),0===t.length)return/_^/g;t.sort(function(t,e){return e.length-t.length});var i=t.map(function(t){return"$"===t[0]?"\\"+t:t}).join("|");return new RegExp("\\$?("+i+")","g")},e.hf=function(){return this.ff?this.ff:this.ampdoc.isSingleDoc()&&Ts(this.ampdoc.getRootNode())?(this.ff=[""],this.ff):void 0},t}()),eu=function(){function t(t,e){this.ampdoc=t,this.ja=e}var e=t.prototype;return e.expandStringSync=function(t,e,n){return new Wa(this.ja,e,void 0,!0,n,!0).expand(t)},e.expandStringAsync=function(t,e,n){return new Wa(this.ja,e,void 0,void 0,n,!0).expand(t)},e.expandUrlSync=function(t,e,n){return this.cf(t,new Wa(this.ja,e,void 0,!0,n).expand(t))},e.expandUrlAsync=function(t,e,n,i){var r=this;return new Wa(this.ja,e,void 0,void 0,n,i).expand(t).then(function(e){return r.cf(t,e)})},e.expandInputValueAsync=function(t){return this.lf(t,!1)},e.expandInputValueSync=function(t){return this.lf(t,!0)},e.lf=function(t,e){Gt("INPUT"==t.tagName&&"hidden"==(t.getAttribute("type")||"").toLowerCase());var n=this.vf(t);if(!n)return e?t.value:Promise.resolve(t.value);void 0===t["amp-original-value"]&&(t["amp-original-value"]=t.value);var i=new Wa(this.ja,void 0,void 0,e,n).expand(t["amp-original-value"]||t.value);return e?t.value=i:i.then(function(e){return t.value=e,e})},e.vf=function(t,e){var n=t.getAttribute("data-amp-replace");if(n){var i={};return n.trim().split(/\s+/).forEach(function(t){!e||A(e,t)?i[t]=!0:Ht().warn("URL","Ignoring unsupported replacement",t)}),i}},e.mn=function(t){var e=Ln(this.ampdoc);if(t.origin==eo(e.canonicalUrl).origin||t.origin==eo(e.sourceUrl).origin)return!0;var n=this.ampdoc.getMetaByName("amp-link-variable-allowed-origin");if(n)for(var i=n.trim().split(/\s+/),r=0;r<i.length;r++)if(t.origin==eo(i[r]).origin)return!0;return!1},e.maybeExpandLink=function(t,e){Gt("A"==t.tagName);var n=t,i=n.getAttribute("data-amp-addparams")||"",r=this.vf(n,{CLIENT_ID:!0,QUERY_PARAM:!0,PAGE_VIEW_ID:!0,PAGE_VIEW_ID_64:!0,NAV_TIMING:!0});if(r||i||e){var o=n["amp-original-href"]||n.getAttribute("href"),s=eo(o);null==n["amp-original-href"]&&(n["amp-original-href"]=o);var a=this.mn(s);return i&&(o=oo(o,dt(i=a?this.df(i,r):i))),a?(e&&(r&&r.QUERY_PARAM||(e=this.expandUrlSync(e,void 0,{QUERY_PARAM:!0})),o=oo(o,dt(e))),o=this.df(o,r),n.href=o):(r&&Ht().warn("URL","Ignoring link replacement %s because the link does not go to the document's source, canonical, or allowlisted origin.",o),n.href=o)}},e.df=function(t,e){return e?this.expandUrlSync(t,void 0,e):t},e.collectVars=function(t,e){var n=Object.create(null);return new Wa(this.ja,e,n).expand(t).then(function(){return n})},e.collectDisallowedVarsSync=function(t){var e=t.getAttribute("src"),n=new Wa(this.ja).getMacroNames(e),i=this.vf(t);return i?n.filter(function(t){return!i[t]}):n},e.cf=function(t,e){return eo(e,!0).protocol!=eo(t,!0).protocol?(Ht().error(Xa,"Illegal replacement of the protocol: ",t),t):(Kt(lo(e),"The replacement url has invalid protocol: %s",e),e)},e.getVariableSource=function(){return this.ja},t}(),nu=function(){function t(t){this.win=t,this.mf=_n(this.win),this.pf=this.gf(),this.Uu=[],this.bf=[],this.yf=[],this.wf=[],this.Zo=!1,this.Af=null,this.xf=null,this.Ef=this.Pf.bind(this),this.Tf=new xs(this.win,this.Ef,16),this.Of=new xs(this.win,this.Ef,40),this.If=this.Rf.bind(this),this.mf.isSingleDoc()?this.mf.getSingleDoc().onVisibilityChanged(this.If):Pi(this.win.document,this.If)}var e=t.prototype;return e.dispose=function(){Ri(this.win.document,this.If)},e.Rf=function(){this.Zo&&this.Sf()},e.run=function(t,e){this.Uu.push(t),this.yf.push(e||void 0),this.Bu()},e.runPromise=function(t,e){if(this.run(t,e),this.Af)return this.Af;var n=new c;return this.xf=n.resolve,this.Af=n.promise},e.createTask=function(t){var e=this;return function(n){e.run(t,n)}},e.mutate=function(t){this.run({measure:void 0,mutate:t})},e.mutatePromise=function(t){return this.runPromise({measure:void 0,mutate:t})},e.measure=function(t){this.run({measure:t,mutate:void 0})},e.measurePromise=function(t){var e=this;return new Promise(function(n){e.measure(function(){n(t())})})},e.canAnimate=function(t){return this._f(Gt(t))},e._f=function(t){if(xi(this.win.document)!=Jn)return!1;if(this.mf.isSingleDoc())return this.mf.getSingleDoc().isVisible();if(t){var e=this.mf.getAmpDocIfAvailable(t);return!e||e.isVisible()}return!0},e.runAnim=function(t,e,n){return this._f(t)?(this.run(e,n),!0):(Wt().warn("VSYNC","Did not schedule a vsync request, because document was invisible"),!1)},e.createAnimTask=function(t,e){var n=this;return function(i){return n.runAnim(t,e,i)}},e.runAnimMutateSeries=function(t,e,n){var i=this;return this._f(t)?new Promise(function(r,o){var s=Date.now(),a=0,u=i.createAnimTask(t,{mutate:function(t){var i=Date.now()-s;e(i,i-a,t)?n&&i>n?o(new Error("timeout")):(a=i,u(t)):r()}});u({})}):Promise.reject(Po())},e.Bu=function(){this.Zo||(this.Zo=!0,this.Sf())},e.Sf=function(){this._f()?(this.pf(this.Ef),this.Of.schedule()):this.Tf.schedule()},e.Pf=function(){this.Of.cancel(),this.Zo=!1;var t=this.xf,e=this.yf,n=this.Uu;this.xf=null,this.Af=null,this.Uu=this.bf,this.yf=this.wf;for(var i=0;i<n.length;i++)n[i].measure&&(iu(n[i].measure,e[i])||(n[i].mutate=void 0));for(var r=0;r<n.length;r++)n[r].mutate&&iu(n[r].mutate,e[r]);this.bf=n,this.wf=e,this.bf.length=0,this.wf.length=0,t&&t()},e.gf=function(){var t=this,e=this.win.requestAnimationFrame||this.win.webkitRequestAnimationFrame;if(e)return e.bind(this.win);var n=0;return function(e){var i=Date.now(),r=Math.max(0,16-(i-n));n=i+r,t.win.setTimeout(e,r)}},t}();function iu(t,e){Gt(t);try{void 0!==t(e)&&Wt().error("VSYNC","callback returned a value but vsync cannot propogate it: %s",t.toString())}catch(t){return d(t),!1}return!0}function ru(t){if(!t.defaultPrevented){var e=t.target;if(e&&"FORM"==e.tagName){(e.classList.contains("i-amphtml-form")?!e.hasAttribute("amp-novalidate"):!e.hasAttribute("novalidate"))&&e.checkValidity&&!e.checkValidity()&&t.preventDefault();for(var n=e.elements,i=0;i<n.length;i++)Kt(!n[i].name||n[i].name!=Zr,"Illegal input name, %s found: %s",Zr,n[i]);var r=e.getAttribute("action"),o=e.getAttribute("action-xhr"),s=(e.getAttribute("method")||"GET").toUpperCase();o&&(uo(o,e,"action-xhr"),Kt(!ho(o),"form action-xhr should not be on AMP CDN: %s",e),bo(o)),r&&(uo(r,e,"action"),Kt(!ho(r),"form action should not be on AMP CDN: %s",e),bo(r)),"GET"==s?Kt(o||r,"form action-xhr or action attribute is required for method=GET: %s",e):"POST"==s&&(r&&Ht().error("form","action attribute is invalid for method=POST: %s",e),o||(t.preventDefault(),Kt(!1,"Only XHR based (via action-xhr attribute) submissions are support for POST requests. %s",e)));var a=e.getAttribute("target");a?Kt("_blank"==a||"_top"==a,"form target=%s is invalid can only be _blank or _top: %s",a,e):e.setAttribute("target","_top"),o&&(t.preventDefault(),t.stopImmediatePropagation(),Rn(e).execute(e,"submit",null,e,e,t,3))}}}var ou="Input",su=function(){function t(t){this.win=t,this.Mf=this.kf.bind(this),this.Cf=this.Nf.bind(this),this.jf=null,this.Df=null,this.Lf=null,this.Uf="ontouchstart"in t||void 0!==t.navigator.maxTouchPoints&&t.navigator.maxTouchPoints>0||void 0!==t.DocumentTouch,Wt().fine(ou,"touch detected:",this.Uf),this.zf=!1,this.win.document.addEventListener("keydown",this.Mf),this.win.document.addEventListener("mousedown",this.Cf),this.Hf=!0,this.Gf=0,this.Vf=new Zn,this.Ff=new Zn,this.Bf=new Zn,this.Uf&&(this.Hf=!this.Uf,this.jf=this.qf.bind(this),Ur(t.document,"mousemove",this.jf))}var e=t.prototype;return e.setupInputModeClasses=function(t){var e=this;this.onTouchDetected(function(n){e.Wf(t,"amp-mode-touch",n)},!0),this.onMouseDetected(function(n){e.Wf(t,"amp-mode-mouse",n)},!0),this.onKeyboardStateChanged(function(n){e.Wf(t,"amp-mode-keyboard-active",n)},!0)},e.isTouchDetected=function(){return this.Uf},e.onTouchDetected=function(t,e){return e&&t(this.isTouchDetected()),this.Vf.add(t)},e.isMouseDetected=function(){return this.Hf},e.onMouseDetected=function(t,e){return e&&t(this.isMouseDetected()),this.Ff.add(t)},e.isKeyboardActive=function(){return this.zf},e.onKeyboardStateChanged=function(t,e){return e&&t(this.isKeyboardActive()),this.Bf.add(t)},e.Wf=function(t,e,n){var i=this;t.waitForBodyOpen().then(function(t){Wn(i.win).mutate(function(){t.classList.toggle(e,n)})})},e.kf=function(t){if(!this.zf&&!t.defaultPrevented){var e=t.target;e&&("INPUT"==e.tagName||"TEXTAREA"==e.tagName||"SELECT"==e.tagName||"OPTION"==e.tagName||e.hasAttribute("contenteditable"))||(this.zf=!0,this.Bf.fire(!0),Wt().fine(ou,"keyboard activated"))}},e.Nf=function(){this.zf&&(this.zf=!1,this.Bf.fire(!1),Wt().fine(ou,"keyboard deactivated"))},e.qf=function(t){var e=this;if(!t.sourceCapabilities||!t.sourceCapabilities.firesTouchEvents){var n;this.Lf||(this.Lf=this.$f.bind(this),this.Df=this.Yf.bind(this));var i=function(t,e,n,i){var r,o=new Promise(function(e){r=Ur(t,"click",e,void 0)});return o.then(r,r),i&&i(r),o}(this.win.document,0,0,function(t){n=t});return Vn(this.win).timeoutPromise(300,i).then(this.Df,function(){n&&n(),e.Lf()})}this.Yf()},e.$f=function(){this.Hf=!0,this.Ff.fire(!0),Wt().fine(ou,"mouse detected")},e.Yf=function(){this.Gf++,this.Gf<=3?Ur(this.win.document,"mousemove",this.jf):Wt().fine(ou,"mouse detection failed")},t}(),au=["<link rel=preload referrerpolicy=origin>"],uu=18e4,cu=null,hu=function(){function t(t){this.Kf=t.document,this.Xf=t.document.head,this.Jf={},this.Qf={},this.Ih=Bn(t),this.Jf[eo(t.location.href).origin]=!0,this.Zf=function(t){if(!cu){var e=t.document.createElement("link"),n=e.relList;if(e.as="invalid-value",!n||!n.supports)return{};cu={preconnect:n.supports("preconnect"),preload:n.supports("preload"),onlyValidAs:"invalid-value"!=e.as}}return cu}(t),this.Xo=Vn(t)}var e=t.prototype;return e.url=function(t,e,n){var i=this;t.whenFirstVisible().then(function(){i.je(t,e,n)})},e.je=function(t,e,n){if(this.tc(e)){var i=eo(e).origin,r=Date.now(),o=this.Jf[i];if(o&&r<o)n&&(this.Jf[i]=r+uu);else{var s,a=n?uu:1e4;this.Jf[i]=r+a,this.Zf.preconnect||((s=this.Kf.createElement("link")).setAttribute("rel","dns-prefetch"),s.setAttribute("href",i),this.Xf.appendChild(s));var u=this.Kf.createElement("link");u.setAttribute("rel","preconnect"),u.setAttribute("href",i),u.setAttribute("referrerpolicy","origin"),this.Xf.appendChild(u),this.Xo.delay(function(){s&&s.parentNode&&s.parentNode.removeChild(s),u.parentNode&&u.parentNode.removeChild(u)},1e4),this.nc(t,i)}}},e.preload=function(t,e,n){var i=this;this.tc(e)&&(this.Qf[e]||(this.Qf[e]=!0,this.url(t,e,!0),this.Zf.preload&&("document"==n&&this.Ih.isSafari()||t.whenFirstVisible().then(function(){i.ic(e)}))))},e.ic=function(t){var e=wr(this.Kf)(au);e.setAttribute("href",t),this.Zf.onlyValidAs?e.as="fetch":e.as="",this.Xf.appendChild(e)},e.tc=function(t){return!(!t.startsWith("https:")&&!t.startsWith("http:"))},e.nc=function(t,e){if(!this.Zf.preconnect&&(this.Ih.isSafari()||this.Ih.isIos())){var n=Date.now();this.Jf[e]=n+uu;var i=e+"/robots.txt?_AMP_safari_preconnect_polyfill_cachebust="+(n-n%uu),r=new XMLHttpRequest;r.open("HEAD",i,!0),r.withCredentials=!0,r.send()}},t}();function lu(t){var e;!function(t){Ze(t,"crypto",oa)}(t),Ze(t,"batched-xhr",ea),La(t),qa(t),qa(e=t),Ze(e,"vsync",nu),function(t){Ze(t,"xhr",ta)}(t),function(t){Ze(t,"input",su)}(t),function(t){Ze(t,"preconnect",hu)}(t)}var fu=["AMP-AD","AMP-ANALYTICS","AMP-PIXEL","AMP-AD-EXIT"];function du(t){if(null==t)return 0;var e=function(t){for(var e=t;null!=(t=t.parentNode);)t.nodeName.startsWith("AMP-")&&(e=t);return e}(t),n=e.nodeName;return"IMG"===n||"AMP-IMG"===n?1:"VIDEO"===n||"AMP-VIDEO"===n?2:"AMP-CAROUSEL"===n?8:"AMP-BASE-CAROUSEL"===n?16:"AMP-AD"===n?4:!n.startsWith("AMP-")&&e.textContent?32:0}var pu=function(){function t(t){var e=this;this.win=t,this.rc=ia(at(t,16)),this.ec=[],this.uc=t.performance.timeOrigin||t.performance.timing.navigationStart,this.vu=null,this.yh=null,this.qe=null,this.oc=null,this.sc=!1,this.hc=!1,this.ac=w(),this.fc=void 0,this.cc=new ti,this.lc=0,this.vc=[],this.dc=0;var n=this.win.PerformanceObserver&&this.win.PerformanceObserver.supportedEntryTypes||[];if(n.includes("paint")||this.cc.rejectSignal("fcp",Wt().createExpectedError("First Contentful Paint not supported")),this.mc=n.includes("layout-shift"),!this.mc){var i=Wt().createExpectedError("Cumulative Layout Shift not supported");this.cc.rejectSignal(qe,i),this.cc.rejectSignal(ze,i)}this.gc=n.includes("first-input"),this.gc||this.cc.rejectSignal("fid",Wt().createExpectedError("First Input Delay not supported")),this.bc=n.includes("largest-contentful-paint"),this.bc||this.cc.rejectSignal("lcp",Wt().createExpectedError("Largest Contentful Paint not supported")),this.yc=n.includes("navigation"),this.wc=n.includes("event")&&_r(t,"interaction-to-next-paint"),this.wc||this.cc.rejectSignal(Ge,Wt().createExpectedError("Interaction to next paint not supported")),this.Ac=this.Ac.bind(this),this.addEnabledExperiment("rtv-"+_t(this.win).rtvVersion),hi(t.document).then(function(){e.tick("dr"),e.flush()}),li(t.document).then(function(){return e.xc()}),li(t.document).then(function(){return e.Ec(40)}),this.Pc(),this.Tc=!1,this.Oc=ct(t,function(){e.Ic()},6e3)}var e=t.prototype;return e.coreServicesAvailable=function(){var t=this,e=this.win.document.documentElement;this.vu=On(e),this.yh=zn(e),this.qe=jn(e),this.oc=Ln(this.vu),this.hc=this.yh.isEmbedded()&&"1"===this.yh.getParam("csi"),this.vu.onVisibilityChanged(this.flush.bind(this)),this.Rc();var n=this.yh.whenMessagingReady();return this.vu.whenFirstVisible().then(function(){t.tick("ofv"),t.flush()}),(this.bc||this.mc)&&this.vu.onVisibilityChanged(this.Ac),n?n.then(function(){t.tickDelta("msr",t.win.performance.now()),t.tick("timeOrigin",void 0,t.uc);var e=t.vu.getMetaByName("amp-usqp");return e&&e.split(",").forEach(function(e){t.addEnabledExperiment("ssr-"+e)}),t.Sc()}).then(function(){t.sc=!0,t._c(),t.flush()}):u()},e.Sc=function(){var t,e=this;return(t=_n(this.win).getSingleDoc(),t.waitForBodyOpen().then(function(){var e,n,i=t.getBody(),r=(e=i,n=function(){return!!i.firstElementChild},new Promise(function(t){me(e,n,t)}));return Vn(t.win).timeoutPromise(2e3,r).then(function(){return"AMP-STORY"===i.firstElementChild.tagName},function(){return!1})})).then(function(t){t&&e.addEnabledExperiment("story")})},e.xc=function(){this.tick("ol"),this.flush()},e.Pc=function(){var t=this;if("inabox"!==_t(this.win).runtime){var e=!1,n=!1,i=!1,r=!1,o=function(o){if("first-paint"!=o.name||e)if("first-contentful-paint"!=o.name||n)if("first-input"!==o.entryType||i)"layout-shift"===o.entryType?o.hadRecentInput||(t.Mc(o),t.dc+=o.value):"largest-contentful-paint"===o.entryType?t.kc(o):"navigation"!=o.entryType||r?"event"==o.entryType&&o.interactionId&&t.Ec(o.duration):(["domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","loadEventEnd","loadEventStart","requestStart","responseStart"].forEach(function(e){return t.tick(e,o[e])}),r=!0);else{var s=o.processingStart-o.startTime;t.tickDelta("fid",s),i=!0}else{var a=o.startTime+o.duration;t.tickDelta("fcp",a),t.tickSinceVisible("fcpv",a),n=!0}else t.tickDelta("fp",o.startTime+o.duration),e=!0},s=[];this.win.PerformancePaintTiming&&(this.win.performance.getEntriesByType("paint").forEach(o),s.push("paint")),this.gc&&this.Cc(o,{type:"first-input",buffered:!0}),this.mc&&this.Cc(o,{type:"layout-shift",buffered:!0}),this.bc&&this.Cc(o,{type:"largest-contentful-paint",buffered:!0}),this.yc&&this.Cc(o,{type:"navigation",buffered:!0}),this.wc&&this.Cc(o,{type:"event",durationThreshold:40,buffered:!0}),s.length>0&&this.Cc(o,{entryTypes:s})}},e.Cc=function(t,e){var n=this;try{new this.win.PerformanceObserver(function(e){e.getEntries().forEach(t),n.flush()}).observe(e)}catch(t){Wt().warn("Performance",t)}},e.Nc=function(){var t=this.vu.getVisibilityState();return t===$n||t===Xn},e.Ac=function(){this.Nc()&&(this.jc(),this.Ic())},e.Dc=function(){if(!this.Tc){this.Tc=!0;var t=this.win,e=parseInt(Ei(t,t.document.body).getPropertyValue("--google-font-exp"),10);e>=0&&this.addEnabledExperiment("google-font-exp=".concat(e))}},e.jc=function(){this.mc&&(this.Dc(),this.Lc())},e.Mc=function(t){if(this.vu&&!this.Nc()){var e=this.vc;if(e.length>0){var n=e[0],i=e[e.length-1];if(t.startTime-i.startTime<1e3&&t.startTime-n.startTime<5e3)return void e.push(t);this.Ic()}e.push(t),this.Oc()}},e.Ic=function(){for(var t,e=this.vc,n=this.cc.get(qe),i=0,r=0,o=a(e,!0);!(t=o()).done;){var s=t.value;if(s.sources)for(var u,c=a(s.sources,!0);!(u=c()).done;)i|=du(u.value.node);r+=s.value}e.length=0,this.Dc(),(null==n||r>n)&&(this.cc.reset(qe),this.cc.reset(He),this.tickDelta(qe,r),this.tickDelta(He,i),this.flush())},e.Ec=function(t){if(this.vu){var e=this.cc.get(Ge);(null==e||t>e)&&(this.tickDelta(Ge,t-(null!=e?e:0)),this.flush())}},e.Lc=function(){0===this.lc?(this.tickDelta(ze,this.dc),this.flush(),this.lc=1):1===this.lc&&(this.tickDelta("cls-2",this.dc),this.flush(),this.lc=2)},e.kc=function(t){var e=t.element,n=t.startTime,i=du(e);this.tickDelta("lcpt",i),this.tickDelta("lcp",n),this.tickSinceVisible("lcpv",n),this.flush()},e.Rc=function(){var t=this,e=!this.vu.hasBeenVisible(),n=-1;this.vu.whenFirstVisible().then(function(){n=t.win.performance.now(),t.mark("visible")}),this.Uc().then(function(){if(e){var i=n>-1?t.win.performance.now()-n:0;t.vu.whenFirstVisible().then(function(){t.tickDelta(We,i)}),t.zc(i),t.mark(We)}else t.tick(We),t.zc(t.win.performance.now()-n);t.flush()})},e.Uc=function(){var t=this;return this.qe.whenFirstPass().then(function(){var e,n=t.win.document.documentElement,i=Gn(n).getSize();return Oe(0,0,i.width,i.height),e=n,t.win,function(t){var e=On(t);return e.signals().whenSignal(Co).then(function(){var t=jn(e).get().filter(function(t){return!(!t.prerenderAllowed()||fu.includes(t.element.tagName))}).map(function(t){return t.element});return 0===t.length?Promise.resolve([]):new Promise(function(n){for(var i=e.win,r=new i.IntersectionObserver(function(t){r.disconnect();for(var e=[],i=0;i<t.length;i++){var o=t[i],s=o.isIntersecting,a=o.target;s&&e.push(a)}n(e)},{root:Se(i)?i.document:null,threshold:.01}),o=0;o<Math.min(t.length,100);o++)r.observe(t[o])}).then(function(t){return Promise.all(t.map(function(t){return t.whenLoaded()}))})})}(e)})},e.tick=function(t,e,n){Gt(null==e||null==n);var i,r={label:t};null!=e?r.delta=i=Math.max(e,0):null!=n?r.value=n:(this.mark(t),i=this.win.performance.now(),r.value=this.uc+i),this.win.dispatchEvent(Dr(this.win,"perf",{label:t,delta:i})),this.sc&&this.hc?this.yh.sendMessage("tick",r):this.Hc(r),this.cc.signal(t,i)},e.mark=function(t){var e,n;null===(e=(n=this.win.performance).mark)||void 0===e||e.call(n,t)},e.tickDelta=function(t,e){this.tick(t,e)},e.tickSinceVisible=function(t,e){var n,i,r=null==e?this.win.performance.now():e,o=this.uc+r,s=null!==(n=this.yh)&&void 0!==n&&n.isEmbedded()?null===(i=this.vu)||void 0===i?void 0:i.getFirstVisibleTime():this.uc,a=s?Math.max(o-s,0):0;this.tickDelta(t,a)},e.flush=function(){this.sc&&this.hc&&(null==this.fc&&(this.fc=Object.keys(this.ac).join(",")),this.yh.sendMessage("sendCsi",{ampexp:this.fc,canonicalUrl:this.oc.canonicalUrl,eventid:this.rc},!0))},e.addEnabledExperiment=function(t){this.ac[t]=!0,this.fc=void 0},e.Hc=function(t){this.ec.length>=50&&this.ec.shift(),this.ec.push(t)},e._c=function(){var t=this;this.yh&&(this.hc?(this.ec.forEach(function(e){t.yh.sendMessage("tick",e)}),this.ec.length=0):this.ec.length=0)},e.zc=function(t){this.yh&&this.yh.sendMessage("prerenderComplete",{value:t},!0)},e.isPerformanceTrackingOn=function(){return this.hc},e.getMetric=function(t){return this.cc.whenSignal(t)},t}(),mu=function(){function t(){}var e=t.prototype;return e.get=function(){return Promise.resolve(null)},e.optOut=function(){},t}(),vu=function(){function t(t,e){this.t=t,this.dt=_t().rtvVersion||null,this.bt=e||null,this.gt=null,this.wt=1,this.yt=w(),this.xt()}var e=t.prototype;return e.getData=function(t,e,n){var i=t+"-result",r=this.wt++,o=this.registerCallback(i,function(t){t.messageId===r&&(o(),n(t.content))}),s={};s.payload=e,s.messageId=r,this.sendMessage(t,s)},e.makeRequest=function(t,e,n){var i=this.registerCallback(e,n);return this.sendMessage(t),i},e.requestOnce=function(t,e,n){var i=this.registerCallback(e,function(t){i(),n(t)});return this.sendMessage(t),i},e.registerCallback=function(t,e){return this.jt(t).add(e)},e.sendMessage=function(t,e){var n=function(t,e){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.type=t,i.sentinel=e,Jo+(n||"")+JSON.stringify(i)}(t,this.gt,e,this.dt);if(this.bt)this.At(this.bt,n);else for(var i=0,r=this.t;i<10&&r!=this.t.top;i++)r=r.parent,this.At(r,n),i++},e.At=function(t,e){this.kt(t)?this.Et(t,e):t.postMessage(e,"*")},e.Et=function(t,e){t.postMessage(e,{targetOrigin:"*",includeUserActivation:!0})},e.xt=function(){var t=this;Ir(this.t,"message",function(e){if(!t.bt||e.source==t.bt){var n=function(t){if(!function(t){return"string"==typeof t&&t.startsWith(Jo)&&-1!=t.indexOf("{")}(t))return null;Z(t);var e=t.indexOf("{");return Q(-1!=e),it(t.substr(e),function(e){d(new Error("MESSAGING: Failed to parse message: ".concat(t,"\n").concat(e.message)))})}(Br(e));n&&n.sentinel==t.gt&&(n.origin=e.origin,t.bt||(t.bt=e.source),t.St(n.type,n))}},void 0)},e.setSentinel=function(t){this.gt=t},e.jt=function(t){return t in this.yt||(this.yt[t]=new Zn),this.yt[t]},e.St=function(t,e){t in this.yt&&this.yt[t].fire(e)},e.kt=function(t){return 1==t.postMessage.length},t}();function gu(t){$o(t.top)||Ze(t,"iframeMessagingClient",yu.bind(null,t),!0)}function yu(t){var e=new vu(t),n=it(t.name),i=null;return n&&n._context&&(i=n._context.sentinel),e.setSentinel(i||function(t){return String(t.Math.random()).substr(2)}(t)),e}var bu=function(){function t(t){this.qe=jn(t),this.Gc=Wn(t.win)}var e=t.prototype;return e.forceChangeSize=function(t,e,n,i,r){this.requestChangeSize(t,e,n,r).then(function(){i&&i()})},e.requestChangeSize=function(t,e,n,i){var r=this;return this.mutateElement(t,function(){r.qe.getResourceForElement(t).changeSize(e,n,i)})},e.expandElement=function(t){this.qe.getResourceForElement(t).completeExpand(),this.qe.schedulePass()},e.attemptCollapse=function(t){var e=this;return this.mutateElement(t,function(){e.qe.getResourceForElement(t).completeCollapse()})},e.collapseElement=function(t){this.qe.getResourceForElement(t).completeCollapse(),this.qe.schedulePass()},e.measureElement=function(t){return this.Gc.measurePromise(t)},e.mutateElement=function(t,e){return this.measureMutateElement(t,null,e)},e.measureMutateElement=function(t,e,n){var i=this;return this.Gc.runPromise({measure:function(){e&&e()},mutate:function(){n(),i.qe.schedulePass()}})},t}(),wu=function(){function t(t){this.vu=t}var e=t.prototype;return e.getAmpDoc=function(){return this.vu},e.getParam=function(t){return this.vu.getParam(t)},e.hasCapability=function(){return!1},e.isEmbedded=function(){return!1},e.isWebviewEmbedded=function(){return!1},e.isCctEmbedded=function(){return!1},e.isProxyOrigin=function(){return!1},e.maybeUpdateFragmentForCct=function(){},e.isRuntimeOn=function(){return!0},e.toggleRuntime=function(){},e.onRuntimeState=function(){return function(){}},e.isOvertakeHistory=function(){return!1},e.getResolvedViewerUrl=function(){return this.vu.win.location.href},e.maybeGetMessagingOrigin=function(){return null},e.getUnconfirmedReferrerUrl=function(){return this.vu.win.document.referrer},e.getReferrerUrl=function(){return Promise.resolve(this.getUnconfirmedReferrerUrl())},e.isTrustedViewer=function(){return Promise.resolve(!1)},e.getViewerOrigin=function(){return Promise.resolve("")},e.onMessage=function(){return function(){}},e.onMessageRespond=function(){return function(){}},e.receiveMessage=function(){},e.setMessageDeliverer=function(){},e.maybeGetMessageDeliverer=function(){return null},e.sendMessage=function(){},e.sendMessageAwaitResponse=function(){return u()},e.broadcast=function(){return Promise.resolve(!1)},e.onBroadcast=function(){return function(){}},e.whenMessagingReady=function(){return null},e.replaceUrl=function(){},t}();function Au(t,e,n){t.requestAnimationFrame(function(){e.measure&&e.measure(n),e.mutate&&e.mutate(n)})}var Eu=function(){function t(t){this.t=t,this.ne=!1,this.te=!1,this.re=null,this.ie()}var e=t.prototype;return e.ie=function(){var t=this;this.t.addEventListener("resize",function(){return t.onWindowResize()})},e.onWindowResize=function(){this.ne&&(this.te=!0)},e.expandFrame=function(t,e){var n=this;!function(t,e,n){Au(t,{measure:function(n){n.viewportSize={width:t.innerWidth,height:t.innerHeight},n.rect=_e(e.getBoundingClientRect())},mutate:function(i){var r,o=i.viewportSize,s=o.height,a=Oe(0,0,o.width,s);!function(t,e,n){var i,r,o=wi(n.width/2-e.width/2-e.left),s=wi(n.height/2-e.height/2-e.top);yi(t,{position:"fixed",top:wi(e.top),right:wi(n.width-(e.left+e.width)),left:wi(e.left),bottom:wi(n.height-(e.top+e.height)),height:wi(e.height),width:wi(e.width),transition:"transform ".concat(150,"ms ease"),transform:(i=o,r=s,null==r?"translate(".concat(Ai(i,wi),")"):"translate(".concat(Ai(i,wi),", ").concat(Ai(r,wi),")")),margin:0})}(e,i.rect,i.viewportSize),vi(e,{"pointer-events":"none"}),r=function(){Au(t,{mutate:function(){Si(e,["pointer-events"]),function(t){yi(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),n(i.rect,a)}})},setTimeout(r,200)}},{})}(this.t,t,function(t,i){n.ne=!0,n.te=!1,n.re=t,e(i)})},e.collapseFrame=function(t,e){var n=this;!function(t,i){Au(t,{mutate:function(){!function(t){Si(t,["position","z-index","left","right","top","bottom","width","height","margin","border"])}(i),n.ne=!1,n.te||e(n.re),Au(t,{measure:function(){var t;t=_e(i.getBoundingClientRect()),n.re=t,n.te&&e(n.re)}})}})}(this.t,t)},t}(),Su=function(){function t(t){this.t=t,this.ee=null,this.oe=function(t){var e,n=t.document;return n.scrollingElement?n.scrollingElement:n.body&&(e=t.navigator.userAgent,/WebKit/i.test(e)&&!/Edge/i.test(e))?n.body:n.documentElement}(this.t),this.ue=null}var e=t.prototype;return e.observe=function(t,e){var n=this;if(!this.ee){this.ee=new Zn;var i=ut(this.t,function(){n.fe(),n.ee.fire()},100);this.fe(),this.t.addEventListener("scroll",i,!0),this.t.addEventListener("resize",i,!0)}return e(this.se(t)),this.ee.add(function(){e(n.se(t))})},e.fe=function(){this.ue=this.getViewportRect()},e.se=function(t){return{viewportRect:this.ue,targetRect:this.getTargetRect(t)}},e.getViewportRect=function(){var t=this.oe,e=this.t,n=t.scrollLeft||e.pageXOffset,i=t.scrollTop||e.pageYOffset;return Oe(Math.round(n),Math.round(i),e.innerWidth,e.innerHeight)},e.getTargetRect=function(t){for(var e=_e(t.getBoundingClientRect()),n=0,i=t.ownerDocument.defaultView;n<10&&i&&i!=this.t&&i!=this.t.top;n++,i=i.parent){var r=_e(i.frameElement.getBoundingClientRect());e=Ce(e,r.left,r.top)}return e},t}(),xu="inabox-viewport",Pu=function(){function t(t,e){var n=t.win;this.ampdoc=t,this.Bs=e,this.Vc=null,this.Fc=new Zn,this.Bc=new Zn,this.qc=new Zn,this.Bs.onScroll(this.Wc.bind(this)),this.Bs.onResize(this.$c.bind(this)),this.Yc=!1,this.ampdoc.onVisibilityChanged(this.Kc.bind(this)),this.Kc(),this.Xc=this.dispose.bind(this),n.addEventListener("pagehide",this.Xc);var i=n.document.documentElement;i.classList.add("i-amphtml-singledoc"),i.classList.add("i-amphtml-standalone"),Se(n)&&i.classList.add("i-amphtml-iframed")}var e=t.prototype;return e.dispose=function(){this.Bs.disconnect(),this.ampdoc.win.removeEventListener("pagehide",this.Xc)},e.ensureReadyForElements=function(){},e.getPaddingTop=function(){return 0},e.getScrollTop=function(){return this.Bs.getScrollTop()},e.getScrollLeft=function(){return this.Bs.getScrollLeft()},e.setScrollTop=function(t){},e.updatePaddingBottom=function(t){},e.getSize=function(){return this.Bs.getSize()},e.getHeight=function(){return this.getSize().height},e.getWidth=function(){return this.getSize().width},e.getScrollWidth=function(){return this.Bs.getScrollWidth()},e.getScrollHeight=function(){return this.Bs.getScrollHeight()},e.getContentHeight=function(){return this.Bs.getContentHeight()},e.contentHeightChanged=function(){},e.getRect=function(){if(null==this.Vc){var t=this.getSize();this.Vc=Oe(this.getScrollLeft(),this.getScrollTop(),t.width,t.height)}return this.Vc},e.getLayoutRect=function(t){return this.Bs.getLayoutRect(t)},e.getClientRectAsync=function(t){var e=t.getBoundingClientRect();return this.Bs.getRootClientRectAsync().then(function(t){return t?Ce(e,t.left,t.top):_e(e)})},e.supportsPositionFixed=function(){return!1},e.isDeclaredFixed=function(t){return!1},e.scrollIntoView=function(t){return u()},e.animateScrollIntoView=function(t,e,n,i){return u()},e.animateScrollWithinParent=function(t,e,n,i,r){return u()},e.getScrollingElement=function(){return this.Bs.getScrollingElement()},e.onChanged=function(t){return this.Fc.add(t)},e.onScroll=function(t){return this.Bc.add(t)},e.onResize=function(t){return this.qc.add(t)},e.enterLightboxMode=function(t,e){return this.enterOverlayMode(),this.Bs.updateLightboxMode(!0)},e.leaveLightboxMode=function(t){return this.leaveOverlayMode(),this.Bs.updateLightboxMode(!1)},e.enterOverlayMode=function(){this.disableTouchZoom(),this.disableScroll()},e.leaveOverlayMode=function(){this.resetScroll(),this.restoreOriginalTouchZoom()},e.disableScroll=function(){},e.resetScroll=function(){},e.resetTouchZoom=function(){},e.disableTouchZoom=function(){return!1},e.restoreOriginalTouchZoom=function(){return!1},e.updateFixedLayer=function(){return u()},e.addToFixedLayer=function(t,e){return u()},e.removeFromFixedLayer=function(t){},e.createFixedLayer=function(t){},e.Jc=function(){var t=this.getSize(),e=this.getScrollTop(),n=this.getScrollLeft();this.Fc.fire({relayoutAll:!1,top:e,left:n,width:t.width,height:t.height,velocity:0})},e.Wc=function(){this.Vc=null,this.Bs.getScrollTop()<0||(this.Jc(),this.Bc.fire())},e.$c=function(){this.Vc=null;var t=this.getSize();this.Jc(),this.qc.fire({relayoutAll:!1,width:t.width,height:t.height})},e.Kc=function(){var t=this.ampdoc.isVisible();t!=this.Yc&&(this.Yc=t,t?(this.Bs.connect(),this.$c()):this.Bs.disconnect())},t}(),Ru=function(){function t(t){var e=this;this.win=t,this.Bc=new Zn,this.qc=new Zn;var n=t.innerWidth,i=t.innerHeight;this.ue=Oe(0,0,n,i),this.Qc=Oe(0,i+1,n,i),this.Zc=function(t){return nn(t,"iframeMessagingClient")}(t),this.tl=null,this.nl=ut(this.win,function(){e.Bc.fire()},100),this.il=$o(this.win.top),this.rl=this.il?function(t){return t.ampInaboxPositionObserver=t.ampInaboxPositionObserver||new Su(t),t.ampInaboxPositionObserver}(this.win.top):null,this.el=this.il?function(t){return t.ampInaboxFrameOverlayManager=t.ampInaboxFrameOverlayManager||new Eu(t),t.ampInaboxFrameOverlayManager}(this.win.top):null,this.ul=null,Wt().fine(xu,"initialized inabox viewport")}var e=t.prototype;return e.connect=function(){return this.il?this.ol():this.sl()},e.sl=function(){var t=this;return this.Zc.makeRequest(Xo,Qo,function(e){Wt().fine(xu,"Position changed: ",e),t.hl(e.viewportRect,e.targetRect)}),u()},e.ol=function(){var t,e=this;return(t=this.win.document.documentElement,sn(t,"resources")).then(function(){e.ul=e.ul||e.rl.observe(e.win.frameElement||e.getScrollingElement(),function(t){e.hl(t.viewportRect,t.targetRect)})})},e.hl=function(t,e){var n=this.ue;this.ue=t,this.al(e),Ou(this.ue,n)&&this.qc.fire(),Tu(this.ue,n)&&this.nl()},e.getLayoutRect=function(t){var e=t.getBoundingClientRect(),n=e.left,i=e.top;return Oe(Math.round(n+this.Qc.left),Math.round(i+this.Qc.top),Math.round(e.width),Math.round(e.height))},e.onScroll=function(t){this.Bc.add(t)},e.onResize=function(t){this.qc.add(t)},e.getSize=function(){return{width:this.ue.width,height:this.ue.height}},e.getScrollTop=function(){return this.ue.top},e.getScrollLeft=function(){return this.ue.left},e.getScrollingElement=function(){return this.getBodyElement()},e.getScrollingElementScrollsLikeViewport=function(){return!0},e.supportsPositionFixed=function(){return!1},e.al=function(t){if(t){var e,n,i=Ce(t,this.ue.left,this.ue.top);(Tu(e=i,n=this.Qc)||Ou(e,n))&&(Wt().fine(xu,"Updating viewport box rect: ",i),this.Qc=i,this.fl())}},e.getChildResources=function(){return jn(this.win.document.documentElement).get()},e.fl=function(){this.getChildResources().forEach(function(t){return t.measure()})},e.updateLightboxMode=function(t){return t?this.cl():this.ll()},e.getRootClientRectAsync=function(){var t=this;return this.il?this.ol().then(function(){return t.rl.getTargetRect(t.win.frameElement||t.getScrollingElement())}):(this.tl||(this.tl=new Promise(function(e){t.Zc.requestOnce(Xo,Qo,function(n){t.tl=null,Q(n.targetRect),e(n.targetRect)})})),this.tl)},e.cl=function(){var t=this;return this.vl().then(function(){return t.dl()})},e.ll=function(){var t=this;return this.ml().then(function(){return t.pl()})},e.vl=function(){return function(t,e){return Wn(t).runPromise({measure:function(e){e.width=t.innerWidth,e.height=t.innerHeight},mutate:function(t){vi(e,{background:"transparent",left:"50%",top:"50%",right:"auto",bottom:"auto",position:"absolute",height:wi(t.height),width:wi(t.width),"margin-top":wi(-t.height/2),"margin-left":wi(-t.width/2)})}},{})}(this.win,this.getBodyElement())},e.pl=function(){return function(t,e){return Wn(t).mutatePromise(function(){Si(e,["position","left","top","right","bottom","width","height","margin-left","margin-top"])})}(this.win,this.getBodyElement())},e.dl=function(){var t=this;return new Promise(function(e,n){if(t.il){var i=t.win.frameElement;i?t.el.expandFrame(i,function(n){t.al(n),e()}):n("Request to open lightbox failed; frame does not exist.")}else t.Zc.requestOnce("full-overlay-frame","full-overlay-frame-response",function(i){i.success?(t.al(i.boxRect),e()):n("Request to open lightbox rejected by host document")})})},e.ml=function(){var t=this;return new Promise(function(e,n){if(t.il){var i=t.win.frameElement;i?t.el.collapseFrame(i,function(n){t.al(n),e()}):n("Request to open lightbox failed; frame does not exist.")}else t.Zc.requestOnce("cancel-full-overlay-frame","cancel-full-overlay-frame-response",function(n){t.al(n.boxRect),e()})})},e.getBodyElement=function(){return $(this.win.document.body)},e.disconnect=function(){this.ul&&(this.ul(),this.ul=null)},e.getScrollWidth=function(){return this.getScrollingElement().offsetWidth},e.getScrollHeight=function(){return this.getScrollingElement().offsetHeight},e.getContentHeight=function(){return this.getScrollHeight()},e.updatePaddingTop=function(){},e.hideViewerHeader=function(){},e.showViewerHeader=function(){},e.disableScroll=function(){},e.resetScroll=function(){},e.ensureReadyForElements=function(){},e.setScrollTop=function(){},e.contentHeightChanged=function(){},e.getBorderTop=function(){return 0},e.requiresFixedLayerTransfer=function(){return!1},e.overrideGlobalScrollTo=function(){return!1},t}();function Tu(t,e){return t.left!=e.left||t.top!=e.top}function Ou(t,e){return t.width!=e.width||t.height!=e.height}var _u,Cu,Mu,Lu=function(){function t(t){var e=this;this.oa=Dn(t),this.si=t.win.document,this.gl=this.si.createElement("div"),this.oa.mutateElement(this.gl,function(){e.si.body.appendChild(e.gl),yi(e.gl,{position:"absolute",top:0,left:0,zIndex:1,visibility:"hidden","font-weight":"bold","letter-spacing":"0.2px"})})}var e=t.prototype;return e.fit=function(t,e,n){var i=this,r=!1;return this.oa.mutateElement(e,function(){i.gl.textContent=n;var o=function(t,e,n){for(var i=14;i>=12;i--){gi(t,"fontSize",wi(i));var r=t.offsetHeight,o=t.offsetWidth;if(r<32&&o<n)return i}return 11}(i.gl,0,i.bl(t));o>=12&&(i.yl(e,o),r=!0)}).then(function(){return r})},e.bl=function(t){return t.offsetWidth-84},e.yl=function(t,e){gi(t,"fontSize",wi(e))},t}(),Iu=(M(_u={},34,function(t,e){return t.length!==e.length}),M(_u,15,function(t,e){return t.element!==e.element||t.state!==e.state}),M(_u,39,function(t,e){return t.length!==e.length}),M(_u,41,function(t,e){return t.length!==e.length}),M(_u,42,function(t,e){return null===t||null===e||t.width!==e.width||t.height!==e.height}),M(_u,23,function(t,e){return null===t||null===e||!rt(t,e,2)}),M(_u,28,function(t,e){return null===t||null===e||!rt(t,e,2)}),M(_u,16,function(t,e){return!rt(t,e,3)}),"none"),ku="v0";function Du(t){return void 0===Cu&&(e=t||Element,Cu=e.prototype.attachShadow?"v1":e.prototype.createShadowRoot?ku:Iu),Cu;var e}function Nu(t,e,n){var i="";return t&&Array.prototype.forEach.call(t,function(t){if(t.selectorText&&t.style&&void 0!==t.style.cssText)i+=function(t,e,n){var i=[];return t.split(",").forEach(function(t){t=t.trim(),n&&(t=n(t)),function(t,e){var n=function(t){return t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")"+ju,"m")}(e);return!t.match(n)}(t,e)&&(t=function(t,e){return function(t,e){return t.match(Fu)?(t=t.replace(Vu,e)).replace(Fu,e+" "):e+" "+t}(t,e)}(t,e)),i.push(t)}),i.join(", ")}(t.selectorText,e,n)+" {\n\t",i+=function(t){var e=t.style.cssText;t.style.content&&!t.style.content.match(/['"]+|attr/)&&(e=e.replace(/content:[^;]*;/g,"content: '"+t.style.content+"';"));var n=t.style;for(var i in n)"initial"===n[i]&&(e+=i+": initial; ");return e}(t)+"\n}\n\n";else if(t.type===CSSRule.MEDIA_RULE)i+="@media "+t.media.mediaText+" {\n",i+=Nu(t.cssRules,e),i+="\n}\n\n";else try{t.cssText&&(i+=t.cssText+"\n\n")}catch(t){}}),i}var Bu="-shadowcsshost",Uu=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ju=(new RegExp("("+Bu+Uu,"gim"),new RegExp("(-shadowcsscontext"+Uu,"gim"),"([>\\s~+[.,{:][\\s\\S]*)?$"),Vu=Bu+"-no-combinator",Fu=new RegExp(Bu,"gim"),qu=(new RegExp("-shadowcsscontext","gim"),/[^\.\-\_0-9a-zA-Z]/),Hu=/[^\-\_0-9a-zA-Z]/;function zu(t){var e,n=$t(t),i=t.shadowRoot||t.__AMP_SHADOW_ROOT;if(i){if(self.trustedTypes&&self.trustedTypes.createPolicy){var r=self.trustedTypes.createPolicy("shadow-embed#createShadowRoot",{createHTML:function(t){return""}});i.innerHTML=r.createHTML("")}else i.innerHTML="";return i}var o,s=Du();if("v1"==s?(e=t.attachShadow({mode:"open"})).styleSheets||Object.defineProperty(e,"styleSheets",{get:function(){var t=[];return e.childNodes.forEach(function(e){"STYLE"===e.tagName&&t.push(e.sheet)}),t}}):e=s==ku?t.createShadowRoot():function(t){var e=t.ownerDocument;t.classList.add("i-amphtml-shadow-host-polyfill");var n=e.createElement("style");n.textContent=".i-amphtml-shadow-host-polyfill>:not(i-amphtml-shadow-root){display:none!important}",t.appendChild(n);var i=e.createElement("i-amphtml-shadow-root");return t.appendChild(i),t.__AMP_SHADOW_ROOT=i,Object.defineProperty(t,"shadowRoot",{enumerable:!0,configurable:!0,value:i}),i.host=t,i.getElementById=function(t){var e=re(t);return i.querySelector("#".concat(e))},Object.defineProperty(i,"styleSheets",{get:function(){return e.styleSheets?U(e.styleSheets).filter(function(t){return i.contains(t.ownerNode)}):[]}}),i}(t),!function(){if(void 0!==Mu)return Mu;if(Du()==Iu)Mu=!1;else{var t=Du()===ku?self.document.createElement("div").createShadowRoot():self.document.createElement("div").attachShadow({mode:"open"});e=ShadowRoot,Mu=!!e&&-1!=e.toString().indexOf("[native code]")&&t instanceof ShadowRoot}var e;return Mu}()){var a="i-amphtml-sd-".concat(n.Math.floor(1e4*n.Math.random()));e.id=a,e.host.classList.add(a),o=function(t){return function(t,e){return function(t,e){var n=Gt(t.id),i=t.ownerDocument,r=null;try{r=Ku(i.implementation.createHTMLDocument(""),e)}catch(t){}if(!r)try{r=Ku(i,e)}catch(t){}return r?Nu(r,".".concat(n),Wu):e}(t,e)}(e,t)},e.__AMP_CSS_TR=o}return e}function Wu(t){return t.replace(/(html|body)/g,Gu)}function Gu(t,e,n,i){var r=i.charAt(n-1),o=i.charAt(n+t.length);return r&&!qu.test(r)||o&&!Hu.test(o)?t:"amp-"+t}function Ku(t,e){var n=t.createElement("style");n.textContent=e;try{return(t.head||t.documentElement).appendChild(n),n.sheet?n.sheet.cssRules:null}finally{n.parentNode&&n.parentNode.removeChild(n)}}function Yu(t,e,n){var i=self.document.createElement("style");i.textContent=n;var r=zu(t);return r.appendChild(i),r.appendChild(e),t}"[".concat("data-text-background-color","]");var Ju="amp-story-auto-ads:ui",Xu="amp4ads-vars-",Qu=["cta-accent-color","cta-accent-element","cta-image","theme"];function $u(t){var e=t.document;if(e.fonts&&e.fonts.values)for(var n,i=e.fonts.values();n=i.next();){var r=n.value;if(!r)return;"loading"==r.status&&"display"in r&&"auto"==r.display&&(r.display="swap")}}var Zu,tc=["amp-ad","amp-embed","amp-video"],ec="extensions",nc="0.1",ic="latest",rc="__AMP_EXT_LDR",oc=function(){function t(t){this.win=t,this.mf=_n(t),this.wl={},this.Al=null,this.xl=null,this.El=null}var e=t.prototype;return e.registerExtension=function(t,e,n,i,r){var o,s=n?this.wl[uc(t,ic)]:null,a=this.Pl(t,e,null===(o=null==s?void 0:s.auto)||void 0===o||o);if(a.latest=n,!a.loaded){n&&(this.wl[uc(t,ic)]=a);try{var u,c;this.Al=t,this.xl=e,this.El=n,i(r,r._),a.loaded=!0,null===(u=a.resolve)||void 0===u||u.call(a,a.extension),null==s||null===(c=s.resolve)||void 0===c||c.call(s,a.extension)}catch(t){var h,l;throw a.error=t,null===(h=a.reject)||void 0===h||h.call(a,t),null==s||null===(l=s.reject)||void 0===l||l.call(s,t),t}finally{this.Al=null,this.xl=null,this.El=null}}},e.waitForExtension=function(t,e){var n=this.Tl(this.Pl(t,e));return Vn(this.win).timeoutPromise(16e3,n).catch(function(e){if(!e.message.includes("timeout"))throw e;return Ht().error(ec,"Waited over 16s to load extension ".concat(t,".")),n})},e.preloadExtension=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc;"amp-embed"==t&&(t="amp-ad");var n=this.Pl(t,e);return this.Ol(t,e,n),this.Tl(n)},e.installExtensionForDoc=function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nc,r=t.getRootNode(),o=r[rc];return o||(o=r[rc]=w()),o[e]?o[e]:(t.declareExtension(e,i),fs(t.win,e),o[e]=this.preloadExtension(e,i).then(function(){return n.installExtensionInDoc(t,e,i)}))},e.reloadExtension=function(t,e,n){var i=Qe(this.win,t,e,n,!1),r=this.wl[uc(t,e)];return r&&(Gt(!r.loaded&&!r.error),r.scriptPresent=!1),i.forEach(function(e){return e.setAttribute("i-amphtml-loaded-new-version",t)}),this.preloadExtension(t,e)},e.importUnwrapped=function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nc,r=Qe(t,e,i,!(arguments.length>3&&void 0!==arguments[3])||arguments[3]),o=r.length>0?r[0]:null;return o?n=o.__AMP_SCR_LOADED:(n=(o=Xe(this.win,e,i)).__AMP_SCR_LOADED=new Promise(function(t,e){o.onload=t,o.onerror=e}),t.document.head.appendChild(o)),n},e.loadElementClass=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc;return this.preloadExtension(t,e).then(function(e){return Gt(e.elements[t]).implementationClass})},e.addElement=function(t,e,n){var i=this;this.Il(t).extension.elements[t]={implementationClass:e,css:n},this.addDocFactory(function(r){i.Rl(r,t,e,n)})},e.addTemplate=function(t,e){this.addDocFactory(function(n){!function(t,e,n){rn(t,"templates").Ra(e,n)}(n,t,e)})},e.Rl=function(t,e,n,i){var r=this;i?Hr(t,i,function(){r.Sl(t.win,e,n)},!1,e):this.Sl(t.win,e,n)},e.Sl=function(t,e,n){(function(t,e,n){var i=function(t,e){if(e.requiresShadowDom()&&!t.Element.prototype.attachShadow)return In(t).importUnwrapped(t,"amp-shadow-dom-polyfill")}(t,n);i?i.then(function(){return cs(t,e,n)}):cs(t,e,n)})(t,e,n),Ze(t,e,ac)},e.addService=function(t,e){this.Il(t).extension.services.push({serviceName:t,serviceClass:e}),this.addDocFactory(function(n){tn(n,t,e,!0)})},e.addDocFactory=function(t,e){var n=this.Il(e);if(n.docFactories.push(t),this.Al&&this.mf.isSingleDoc()){var i=this.mf.getAmpDoc(this.win.document),r=this.Al,o=this.xl,s=this.El||!1;(i.declaresExtension(r,o)||s&&i.declaresExtension(r,ic)||n.auto)&&t(i)}},e.preinstallEmbed=function(t,e){var n=this.win,i=t.win;!function(t,e){ds(t,e,"amp-img"),ds(t,e,"amp-pixel")}(n,i),sc(i),e.forEach(function(e){var n=e.extensionId,r=e.extensionVersion;t.declareExtension(n,r),tc.includes(n)||fs(i,n)})},e.installExtensionsInDoc=function(t,e){var n=this;return Promise.all(e.map(function(e){var i=e.extensionId,r=e.extensionVersion;return n.installExtensionInDoc(t,i,r)}))},e.installExtensionInDoc=function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nc;return t.declareExtension(e,i),this.Tl(this.Pl(e,i)).then(function(){n.Pl(e,i).docFactories.forEach(function(n){try{n(t)}catch(t){d("Doc factory failed: ",t,e)}})})},e.Pl=function(t,e,n){var i=uc(t,e),r=this.wl[i];return r||(r={version:e,latest:e==ic,extension:{elements:{},services:[]},auto:n||!1,docFactories:[],promise:void 0,resolve:void 0,reject:void 0,loaded:void 0,error:void 0,scriptPresent:void 0},this.wl[i]=r),r},e.Il=function(t){return this.Al||Wt().error(ec,"unknown extension for ",t),this.Pl(this.Al||"_UNKNOWN_",this.xl||"")},e.Tl=function(t){if(!t.promise)if(t.loaded)t.promise=Promise.resolve(t.extension);else if(t.error)t.promise=Promise.reject(t.error);else{var e=new c;t.promise=e.promise,t.resolve=e.resolve,t.reject=e.reject}return t.promise},e.Ol=function(t,e,n){if(this._l(t,e,n)){var i=Xe(this.win,t,e);this.win.document.head.appendChild(i),n.scriptPresent=!0}},e._l=function(t,e,n){if(n.loaded||n.error)return!1;if(void 0===n.scriptPresent){var i=Qe(this.win,t,e,n.latest);n.scriptPresent=i.length>0}return!n.scriptPresent},t}();function sc(t){tc.forEach(function(e){fs(t,e)})}function ac(){return{}}function uc(t,e){return"".concat(t,":").concat(e)}Ft=jt,Wt(),Ht(),Zu=function(t,e,n){xo(e,n),e&&t&&Y(e.message)&&!(e.message.indexOf(G)>=0)&&function(t,e){if(_n(e).isSingleDoc()){var n={errorName:t.name,errorMessage:t.message};!function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];(function(t){return En(t,"amp-analytics-instrumentation","amp-analytics")})(t).then(function(r){r&&r.triggerEventForTarget(t,e,n,i)})}(function(t){var e=_n(t).getSingleDoc().getRootNode();return e.documentElement||e.body||e}(e),"user-error",n,!1)}}(e,t)}.bind(null,self),self.__AMP_REPORT_ERROR=Zu;var cc,hc,lc="runtime";function fc(t,e){if(t.__AMP_TAG)return u();t.__AMP_TAG=!0;var n=t.AMP||[];Ze(t,"extensions",oc);var i=In(t);lu(t),sc(t),t.AMP={win:t,_:t.AMP?t.AMP._:void 0},t.AMP.config={urls:{thirdParty:yt,thirdPartyFrameHost:bt,thirdPartyFrameRegex:wt,cdn:At,cdnProxyRegex:vt,localhostRegex:Et,errorReporting:St,betaErrorReporting:xt,localDev:Pt,trustedViewerHosts:Rt,geoApi:Tt}},t.AMP.addGlobalConsentListener=function(){},t.AMP.addGranularConsentListener=function(){},t.AMP.BaseElement=Go,t.AMP.registerElement=i.addElement.bind(i),t.AMP.registerTemplate=i.addTemplate.bind(i),t.AMP.registerServiceForDoc=i.addService.bind(i),t.AMP.isExperimentOn=_r.bind(null,t),t.AMP.toggleExperiment=Cr.bind(null,t),t.AMP.setLogLevel=kt.bind(null),t.AMP.setTickFunction=function(t,e){};var r=e(t,i);function o(e){!function(t,e,n){"function"==typeof e||"high"==e.p?u().then(n):(n.displayName=e.n,Vo(t.document,n))}(t,e,function(){r.then(function(){"function"==typeof e?e(t.AMP,t.AMP.Ml):i.registerExtension(e.n,e.ev,e.l,e.f,t.AMP)})})}for(var s=0;s<n.length;s++){var a=n[s];if(dc(t,a))n.splice(s--,1);else if("function"==typeof a||"high"==a.p){try{o(a)}catch(t){Wt().error(lc,"Extension failed: ",t,a.n)}n.splice(s--,1)}}!function(t,e){t.document.body&&!function(t){return qr(t).length>0}(t)?Vn(t).delay(e,1):e()}(t,function(){t.AMP.push=function(e){dc(t,e)||o(e)};for(var e=0;e<n.length;e++){var i=n[e];if(!dc(t,i))try{o(i)}catch(t){Wt().error(lc,"Extension failed: ",t,i.n)}}n.length=0}),t.AMP.push||(t.AMP.push=n.push.bind(n)),Bn(t).isIos()&&gi(t.document.documentElement,"cursor","pointer");var c=In(t);return Ue(t)&&c.preloadExtension("amp-resize-observer-polyfill"),Le(t)&&c.preloadExtension("amp-intersection-observer-polyfill"),r}function dc(t,e){return"function"!=typeof e&&(!!e.m||"2410292120000"!=e.v&&(In(t).reloadExtension(e.n,e.ev,e.l),!0))}_t(self).runtime="inabox",_t(self).a4aId=(hc=self.document.head.querySelector('meta[name="amp4ads-id"]'))?hc.getAttribute("content"):null;try{!function(t){t.onerror=To,t.addEventListener("unhandledrejection",function(t){!t.reason||t.reason.message!==wo&&t.reason.message!==Ao&&"AbortError"!==t.reason.message?xo(t.reason||new Error("rejected promise "+t)):t.preventDefault()})}(self),function(t){Ze(t,"ampdoc",function(){return new Ii(t,!0,void 0)})}(self),cc=_n(self)}catch(t){throw Gr(self.document),t}Uo=!0,Vo(self.document,function(){var t=cc.getAmpDoc(self.document);La(self),Ze(self,"performance",pu);var e=Nn(self);e.tick("is"),self.document.documentElement.classList.add("i-amphtml-inabox"),Hr(t,"[hidden]{display:none!important}.i-amphtml-element{display:inline-block}.i-amphtml-blurry-placeholder{transition:opacity 0.3s cubic-bezier(0.0,0.0,0.2,1)!important;pointer-events:none}[layout=nodisplay]:not(.i-amphtml-element){display:none!important}.i-amphtml-layout-fixed,[layout=fixed][width][height]:not(.i-amphtml-layout-fixed){display:inline-block;position:relative}.i-amphtml-layout-responsive,[layout=responsive][width][height]:not(.i-amphtml-layout-responsive),[width][height][heights]:not([layout]):not(.i-amphtml-layout-responsive),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-layout-responsive){display:block;position:relative}.i-amphtml-layout-intrinsic,[layout=intrinsic][width][height]:not(.i-amphtml-layout-intrinsic){display:inline-block;position:relative;max-width:100%}.i-amphtml-layout-intrinsic .i-amphtml-sizer{max-width:100%}.i-amphtml-intrinsic-sizer{max-width:100%;display:block!important}.i-amphtml-layout-container,.i-amphtml-layout-fixed-height,[layout=container],[layout=fixed-height][height]:not(.i-amphtml-layout-fixed-height){display:block;position:relative}.i-amphtml-layout-fill,.i-amphtml-layout-fill.i-amphtml-notbuilt,[layout=fill]:not(.i-amphtml-layout-fill),body noscript>*{display:block;overflow:hidden!important;position:absolute;top:0;left:0;bottom:0;right:0}body noscript>*{position:absolute!important;width:100%;height:100%;z-index:2}body noscript{display:inline!important}.i-amphtml-layout-flex-item,[layout=flex-item]:not(.i-amphtml-layout-flex-item){display:block;position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.i-amphtml-layout-fluid{position:relative}.i-amphtml-layout-size-defined{overflow:hidden!important}.i-amphtml-layout-awaiting-size{position:absolute!important;top:auto!important;bottom:auto!important}i-amphtml-sizer{display:block!important}@supports (aspect-ratio:1/1){i-amphtml-sizer.i-amphtml-disable-ar{display:none!important}}.i-amphtml-blurry-placeholder,.i-amphtml-fill-content{display:block;height:0;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:0;margin:auto}.i-amphtml-layout-size-defined .i-amphtml-fill-content{position:absolute;top:0;left:0;bottom:0;right:0}.i-amphtml-replaced-content,.i-amphtml-screen-reader{padding:0!important;border:none!important}.i-amphtml-screen-reader{position:fixed!important;top:0px!important;left:0px!important;width:4px!important;height:4px!important;opacity:0!important;overflow:hidden!important;margin:0!important;display:block!important;visibility:visible!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:8px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:12px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:16px!important}.i-amphtml-unresolved{position:relative;overflow:hidden!important}.i-amphtml-select-disabled{-webkit-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.i-amphtml-notbuilt,[layout]:not(.i-amphtml-element),[width][height][heights]:not([layout]):not(.i-amphtml-element),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-element){position:relative;overflow:hidden!important;color:transparent!important}.i-amphtml-notbuilt:not(.i-amphtml-layout-container)>*,[layout]:not([layout=container]):not(.i-amphtml-element)>*,[width][height][heights]:not([layout]):not(.i-amphtml-element)>*,[width][height][sizes]:not([layout]):not(.i-amphtml-element)>*{display:none}amp-img:not(.i-amphtml-element)[i-amphtml-ssr]>img.i-amphtml-fill-content{display:block}.i-amphtml-notbuilt:not(.i-amphtml-layout-container),[layout]:not([layout=container]):not(.i-amphtml-element),[width][height][heights]:not([layout]):not(.i-amphtml-element),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-element){color:transparent!important;line-height:0!important}.i-amphtml-ghost{visibility:hidden!important}.i-amphtml-element>[placeholder],[layout]:not(.i-amphtml-element)>[placeholder],[width][height][heights]:not([layout]):not(.i-amphtml-element)>[placeholder],[width][height][sizes]:not([layout]):not(.i-amphtml-element)>[placeholder]{display:block;line-height:normal}.i-amphtml-element>[placeholder].amp-hidden,.i-amphtml-element>[placeholder].hidden{visibility:hidden}.i-amphtml-element:not(.amp-notsupported)>[fallback],.i-amphtml-layout-container>[placeholder].amp-hidden,.i-amphtml-layout-container>[placeholder].hidden{display:none}.i-amphtml-layout-size-defined>[fallback],.i-amphtml-layout-size-defined>[placeholder]{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1}amp-img[i-amphtml-ssr]:not(.i-amphtml-element)>[placeholder]{z-index:auto}.i-amphtml-notbuilt>[placeholder]{display:block!important}.i-amphtml-hidden-by-media-query{display:none!important}.i-amphtml-element-error{background:red!important;color:#fff!important;position:relative!important}.i-amphtml-element-error:before{content:attr(error-message)}i-amp-scroll-container,i-amphtml-scroll-container{position:absolute;top:0;left:0;right:0;bottom:0;display:block}i-amp-scroll-container.amp-active,i-amphtml-scroll-container.amp-active{overflow:auto;-webkit-overflow-scrolling:touch}.i-amphtml-loading-container{display:block!important;pointer-events:none;z-index:1}.i-amphtml-notbuilt>.i-amphtml-loading-container{display:block!important}.i-amphtml-loading-container.amp-hidden{visibility:hidden}.i-amphtml-element>[overflow]{cursor:pointer;position:relative;z-index:2;visibility:hidden;display:initial;line-height:normal}.i-amphtml-layout-size-defined>[overflow]{position:absolute}.i-amphtml-element>[overflow].amp-visible{visibility:visible}template{display:none!important}.amp-border-box,.amp-border-box *,.amp-border-box :after,.amp-border-box :before{box-sizing:border-box}amp-pixel{display:none!important}amp-analytics,amp-auto-ads,amp-story-auto-ads{position:fixed!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;visibility:hidden}amp-story{visibility:hidden!important}html.i-amphtml-fie>amp-analytics{position:initial!important}[visible-when-invalid]:not(.visible),form [submit-error],form [submit-success],form [submitting]{display:none}amp-accordion{display:block!important}@media (min-width:1px){:where(amp-accordion>section)>:first-child{margin:0;background-color:#efefef;padding-right:20px;border:1px solid #dfdfdf}:where(amp-accordion>section)>:last-child{margin:0}}amp-accordion>section{float:none!important}amp-accordion>section>*{float:none!important;display:block!important;overflow:hidden!important;position:relative!important}amp-accordion,amp-accordion>section{margin:0}amp-accordion:not(.i-amphtml-built)>section>:last-child{display:none!important}amp-accordion:not(.i-amphtml-built)>section[expanded]>:last-child{display:block!important}\n/*# sourceURL=/css/ampshared.css*/html.i-amphtml-inabox{width:100%!important;height:100%!important}",function(){Vo(self.document,function(){lu(self),function(t){ui(t.document,function(){return function(t){var e=1500,n=t.performance;n&&n.timing&&n.timing.navigationStart&&(e=Date.now()-n.timing.navigationStart);var i=Math.max(1,2100-e);t.setTimeout(function(){$u(t);var e=t.document.styleSheets;if(e){for(var n=t.document.querySelectorAll('link[rel~="stylesheet"]:not([href^="https://translate.googleapis.com/translate_static/css/"]):not([href^="'.concat(re(At),'"])')),r=[],o=0;o<n.length;o++){for(var s=n[o],a=!1,u=0;u<e.length;u++)if(e[u].ownerNode==s){a=!0;break}a||r.push(s)}for(var c=function(e){var n=r[e],o=n.media||"all";n.media="print",n.onload=function(){n.media=o,$u(t)},n.setAttribute("i-amphtml-timeout",i),n.parentNode.insertBefore(n,n.nextSibling)},h=0;h<r.length;h++)c(h)}},i)}(t)})}(self),function(t){gu(t.win),function(t){tn(t,"url",Ha,!0)}(t),function(t){tn(t,"templates",Va)}(t),tn(t,"documentInfo",aa),function(t){tn(t,"cid",mu)}(t),function(t){tn(t,"viewer",wu,!0)}(t),function(t){var e=new Ru(t.win);tn(t,"viewport",function(){return new Pu(t,e)},!0)}(t),function(t){tn(t,"hidden-observer",ca)}(t),function(t){tn(t,"history",va)}(t),function(t){tn(t,"resources",Rs)}(t),function(t){tn(t,"owners",Ca)}(t),function(t){tn(t,"mutator",bu)}(t),function(t){tn(t,"url-replace",function(t){return new eu(t,new tu(t))})}(t),function(t){tn(t,"action",Ns,!0)}(t),function(t){tn(t,"standard-actions",Ba,!0)}(t),function(t){var e,n;e=t,n=new Error("Un-supported service: storage"),function(t,e,n){var i=vn(t),r=i[e];r?r.reject&&r.reject(n):(i[e]=wn(),i[e].reject(n))}(ln(hn(e)),"storage",n)}(t),function(t){tn(t,Aa,Ra,!0)}(t),function(t){t.whenExtensionsKnown().then(function(){t.declaresExtension("amp-form")&&t.getRootNode().addEventListener("submit",ru,!0)})}(t)}(t),e.coreServicesAvailable(),ga=u(),function(t){var e,n,i,r=t.win,o=t.getRootNode();(e=t,n=r,i=Gn(t).getLayoutRect(o.documentElement||o.body||o),function(t,e){return t.signals().whenSignal(Co).then(function(){var n=[];return jn(t).get().forEach(function(t){t.hasBeenMeasured()||t.hostWin!=e||t.hasOwner()||n.push(t.ensureMeasured())}),Promise.all(n)}).then(function(){return jn(t).get().filter(function(t){return t.hostWin==e&&!t.hasOwner()&&t.hasBeenMeasured()&&function(t){return!(!t.isDisplayed()||!t.overlaps(i)&&!t.isFixed())}(t)})})}(On(e),n).then(function(t){var e=[];return t.forEach(function(t){fu.includes(t.element.tagName)||e.push(t.loadedOnce())}),Promise.all(e)})).then(function(){r.dispatchEvent(Dr(r,"amp-ini-load",null,{bubbles:!0})),r.parent&&r.parent.postMessage("amp-ini-load","*")})}(t)}),Vo(self.document,function(){!function(t){!function(t){ps(t,vs,ys)}(t),function(t){ps(t,Es,Ss)}(t),function(t){ps(t,"amp-layout",bs)}(t)}(self)}),Vo(self.document,function(){fc(self,function(t){return function(t){var e=t.document.documentElement,n=_n(t).getSingleDoc();t.AMP.ampdoc=n;var i=zn(e);t.AMP.viewer=i,_t().development&&(t.AMP.toggleRuntime=i.toggleRuntime.bind(i),t.AMP.resources=jn(e));var r=Gn(e);t.AMP.viewport={},t.AMP.viewport.getScrollLeft=r.getScrollLeft.bind(r),t.AMP.viewport.getScrollWidth=r.getScrollWidth.bind(r),t.AMP.viewport.getWidth=r.getWidth.bind(r)}(t),ve(t.document).then(function(){ls(t.AMP.ampdoc)})})}),Vo(self.document,function(){ls(t)}),Vo(self.document,function(){Ra.installAnchorClickInterceptor(t,self),function(t){var e,n,i=t.win,r=i.document,o=(e=function(t){return t.querySelectorAll("meta[name]")}(r),n=w(),e.forEach(function(t){var e=t.content,i=t.name;if(i.startsWith("amp-cta-")){var r=i.split("amp-")[1];n[r]=e}else if(i.startsWith(Xu)){var o=i.split(Xu)[1];n[o]=e}}),n);if((s=o)["cta-type"]&&s["cta-url"]){var s;Hr(t,".i-amphtml-story-ad-link-root{all:initial!important;color:initial!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column!important;flex-direction:column!important;-ms-flex-align:center!important;align-items:center!important}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-shared.css*/amp-story-cta-layer{display:block!important;position:absolute!important;top:80%!important;right:0!important;bottom:0!important;left:0!important;margin:0!important;z-index:2147483642!important}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-inabox.css*/",function(){}),function(t,e,n){var i=t.document;try{var r=e["attribution-url"],o=e["attribution-icon"];if(!r||!o)return null;uo(r,n,"amp-story-auto-ads attribution url"),uo(o,n,"amp-story-auto-ads attribution icon");var s=ye(i,"div",{role:"button",class:"i-amphtml-attribution-host"}),a=ye(i,"img",{class:"i-amphtml-story-ad-attribution",src:o});a.addEventListener("click",function(e){return function(t,e){wa(t,e,"_blank")}(t,r)}),Yu(s,a,".i-amphtml-story-ad-attribution{position:absolute;bottom:0!important;left:0!important;max-height:15px!important;z-index:4!important}.i-amphtml-story-ad-fullbleed.i-amphtml-story-ad-attribution{bottom:12.5vh!important;left:50%!important;transform:translateX(-22.5vh)!important}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-attribution.css*/"),n.appendChild(s)}catch(t){return null}}(i,o,r.body);var u=new Lu(t),c=r.createElement("div");(function(t,e,n,i){var r=i["cta-url"],o=i["cta-type"],s=ye(t,"a",{class:"i-amphtml-story-ad-link",target:"_blank",href:r});return e.fit(n,s,o).then(function(e){if(!e)return Ht().warn(Ju,"CTA button text is too long. Ad was discarded."),null;if(s.href=r,s.textContent=o,"https:"!==s.protocol&&"http:"!==s.protocol)return Ht().warn(Ju,"CTA url is not valid. Ad was discarded"),null;var u=function(t){return t.__AMP_EXPERIMENT_BRANCHES?t.__AMP_EXPERIMENT_BRANCHES["story-ad-auto-advance"]:null}(t.defaultView);return"31067118"==u||"31067119"==u?function(t,e,n){var i=t.createElement("amp-story-page-outlink");i.setAttribute("layout","nodisplay");var r=ye(t,"a",{class:"i-amphtml-story-ad-link",target:"_top",href:e["cta-url"]});r.textContent=e["cta-type"],i.appendChild(r);for(var o,s=a(Qu,!0);!(o=s()).done;){var u=o.value;e[u]&&i.setAttribute(u,e[u])}return In($t(t)).installExtensionForDoc(hn(t),"amp-story-page-attachment","0.1"),i.className="i-amphtml-story-page-outlink-container",n.appendChild(i),r}(t,i,n):function(t,e,n){var i=e.createElement("amp-story-cta-layer");i.className="i-amphtml-cta-container";var r=ye(e,"div",{class:"i-amphtml-story-ad-link-root",role:"button"});return Yu(r,t,".i-amphtml-story-ad-link{background-color:#fff!important;border-radius:20px!important;box-sizing:border-box!important;bottom:32px!important;box-shadow:0px 2px 12px rgba(0,0,0,.16)!important;color:#4285f4!important;font-family:Roboto,sans-serif!important;font-weight:700!important;height:36px!important;letter-spacing:0.2px!important;line-height:36px!important;overflow:hidden!important;opacity:0;padding:0 10px!important;position:absolute!important;text-align:center!important;text-decoration:none!important;min-width:120px!important;max-width:calc(100vw - 64px)}[cta-active].i-amphtml-story-ad-link{animation-delay:100ms!important;animation-duration:300ms!important;animation-timing-function:cubic-bezier(0.4,0,0.2,1)!important;animation-fill-mode:forwards!important;animation-name:ad-cta!important}@keyframes ad-cta{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-cta-button.css*/"),i.appendChild(r),n.appendChild(i),t}(s,t,n)})})(r,u,c,o).then(function(t){return t&&t.setAttribute("cta-active","")}),r.body.appendChild(c),i.parent&&i.parent.postMessage("amp-story-ad-load","*")}}(t),function(t){var e=t.location.href;if(!e.startsWith("about:")){var n=!1,i=pt(t);Mt(t,i)&&(n="0"!==i.validate),n&&function(t,e){var n=t.createElement("script");if(self.trustedTypes&&self.trustedTypes.createPolicy){var i=self.trustedTypes.createPolicy("validator-integration#loadScript",{createScriptURL:function(t){return"https://cdn.ampproject.org/v0/validator_wasm.js"===t?t:""}});n.src=i.createScriptURL(e)}else n.src=e;Te(t,n);var r=jr(n).then(function(){t.head.removeChild(n)},function(){});return t.head.appendChild(n),r}(t.document,"".concat(At,"/v0/validator_wasm.js")).then(function(){amp.validator.validateUrlAndLog(e,t.document)})}}(self),function(t){Gt(t.defaultView);var e=t.defaultView;ve(t).then(function(){return function(t){var e=qr(t).map(function(e){var n=function(t,e){return pn(t,e)}(t,e).then(function(t){return t&&function(t){return"function"==typeof t.whenReady}(t)?t.whenReady().then(function(){return t}):t});return Vn(t).timeoutPromise(3e3,n,"Render timeout waiting for service ".concat(e," to be ready."))});return Promise.all(e)}(e)}).catch(function(t){return d(t),[]}).then(function(n){Wr=!0,t.body.getBoundingClientRect(),Kr(t),hn(t).signals().signal(dr),n.length>0&&jn(t.documentElement).schedulePass(1,!0);try{var i=Nn(e);i.tick("mbv"),i.flush()}catch(t){}})}(self.document)},!0),Vo(self.document,function(){e.tick("e_is"),jn(t).ampInitComplete(),e.flush()})},!0,"amp-runtime")}),self.console&&(console.info||console.log).call(console,"Powered by AMP ⚡ HTML – Version ".concat("2410292120000"),self.location.href),self.document.documentElement.setAttribute("amp-version","2410292120000")}();
|