; (self.AMP=self.AMP||[]).push({m:1,v:"2302171719000",n:"amp-ad-exit",ev:"0.1",l:!0,f:function(t,n){(()=>{var n,{isArray:e}=Array,{hasOwnProperty:i,toString:r}=Object.prototype;function s(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:e,stack:i}=t,r=new Error(e);for(const n in t)r[n]=t[n];return r.stack=i,r}function o(t){let n=null,e="";for(const t of arguments)t instanceof Error&&!n?n=s(t):(e&&(e+=" "),e+=t);return n?e&&(n.message=e+": "+n.message):n=new Error(e),n}function c(t){var n,e;null===(n=(e=self).__AMP_REPORT_ERROR)||void 0===n||n.call(e,t)}function u(t){return JSON.parse(t)}var l=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function a(t,n=""){try{return decodeURIComponent(t)}catch(t){return n}}function f(t){const{location:n}=t||self;return function(t){const n=function(t){const n=Object.create(null);return n}();if(!t)return n;let e;for(;e=l.exec(t);){const t=a(e[1],e[1]),i=e[2]?a(e[2].replace(/\+/g," "),e[2]):"";n[t]=i}return n}(n.originalHash||n.hash)}var h="";function p(t){var n;return h||(h=(null===(n=t.AMP_CONFIG)||void 0===n?void 0:n.v)||"012302171719000"),h}function v(t,n){const e=n||f(t);return["1","actions","amp","amp4ads","amp4email"].includes(e.development)||!!t.AMP_DEV_MODE}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var d=self.__AMP_LOG;function m(t,n){throw new Error("failed to call initLogConstructor")}function b(t){return d.user||(d.user=g()),function(t,n){return n&&n.ownerDocument.defaultView!=t}(d.user.win,t)?d.userForEmbed||(d.userForEmbed=g()):d.user}function g(t){return m()}function y(){return d.dev||(d.dev=m())}function _(t,n,e,i,r,s,o,c,u,l,a){return t}function A(t,n,e,i,r,s,o,c,u,l,a){return b().assert(t,n,e,i,r,s,o,c,u,l,a)}function I(t,n,e,i){const r=j(t),s=S(r);!function(t,n,e,i,r,s){const o=P(t);let c=o[e];c||(c=o[e]={obj:null,promise:null,resolve:null,reject:null,context:null,ctor:null,sharedInstance:!1}),c.ctor||(c.ctor=i,c.context=n,c.sharedInstance=!1,c.resolve&&E(t,e))}(s,r,n,e),i&&E(s,n)}function R(t,n,e){!function(t,n,e){const i=P(t),r=i[n];r?r.reject&&r.reject(e):(i[n]=x(),i[n].reject(e))}(S(j(t)),n,e)}function T(t,n){return function(t,n){const e=function(t,n){const e=P(t)[n];return e?e.promise?e.promise:(E(t,n),e.promise=Promise.resolve(e.obj)):null}(t,n);if(e)return e;const i=P(t);return i[n]=x(),i[n].promise}(S(t),n)}function O(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}function j(t){return t.nodeType?(e=t,n=(e.ownerDocument||e).defaultView,function(t,n){return E(t=O(t),"ampdoc")}(n)).getAmpDoc(t):t;var n,e}function S(t){const n=j(t);return n.isSingleDoc()?n.win:n}function E(t,n){_(w(t,n));const e=P(t)[n];return e.obj||(_(e.ctor),_(e.context),e.obj=new e.ctor(e.context),_(e.obj),e.context=null,e.resolve&&e.resolve(e.obj)),e.obj}function P(t){let n=t.__AMP_SERVICES;return n||(n=t.__AMP_SERVICES={}),n}function w(t,n){const e=t.__AMP_SERVICES&&t.__AMP_SERVICES[n];return!(!e||!e.ctor)}function x(){const t=new class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}},{promise:n,reject:e,resolve:i}=t;return n.catch((()=>{})),{obj:null,promise:n,resolve:i,reject:e,context:null,ctor:null}}var C="host-visibility",D="host-fullscreen",F="host-exit",M=class{static isAvailable(t){return!!(n=t,j(n)).getHeadNode().querySelector("script[host-service]");var n}static visibilityForDoc(t){return T(t,C)}static installVisibilityServiceForDoc(t,n){I(t,C,n,!0)}static rejectVisibilityServiceForDoc(t,n){R(t,C,n)}static fullscreenForDoc(t){return T(t,D)}static installFullscreenServiceForDoc(t,n){I(t,D,n,!0)}static rejectFullscreenServiceForDoc(t,n){R(t,D,n)}static exitForDoc(t){return T(t,F)}static installExitServiceForDoc(t,n){I(t,F,n,!0)}static rejectExitServiceForDoc(t,n){R(t,F,n)}},L="clickDelay",N="clickLocation",U="inactiveElement",V=class{constructor(t,n){this.name=t,this.type=n}filter(t){}onLayoutMeasure(){}};function $(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function k(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function G(t){for(var n=1;n{A(e.filters[t],"filter '%s' not defined",t)})),n.vars){const t=/^_[a-zA-Z0-9_-]+$/;for(const e in n.vars)A(t.test(e),"'%s' must match the pattern '%s'",e,t)}}function z(t){return b().assertString(K[t],`Unknown or invalid vendor ${t}, note that vendor must use transport: iframe`)}var X=class extends V{constructor(t,n,e){super(t,n.type),A(n.type==L&&"number"==typeof n.delay&&n.delay>0,"Invalid ClickDelay spec"),this.spec=n,this.intervalStart=Date.now(),n.startTimingEvent&&e.performance&&e.performance.timing&&(null==e.performance.timing[n.startTimingEvent]||(this.intervalStart=e.performance.timing[n.startTimingEvent]))}filter(){return Date.now()-this.intervalStart>=this.spec.delay}};function Y(t,n){return{type:L,delay:t,startTimingEvent:n}}var H,Z=class extends V{constructor(t,n,e){super(t,n.type),A(function(t){return!(t.type!=N||void 0!==t.left&&"number"!=typeof t.left||void 0!==t.right&&"number"!=typeof t.right||void 0!==t.top&&"number"!=typeof t.top||void 0!==t.bottom&&"number"!=typeof t.bottom||void 0!==t.relativeTo&&"string"!=typeof t.relativeTo)}(n),"Invaid ClickLocation spec"),this.cI=n.left||0,this.uI=n.right||0,this.fI=n.top||0,this.pI=n.bottom||0,this.vI=n.relativeTo,this.dI=e,this.mI={top:0,right:0,bottom:0,left:0}}filter(t){return t.clientX>=this.mI.left&&t.clientX<=this.mI.right&&t.clientY>=this.mI.top&&t.clientY<=this.mI.bottom}onLayoutMeasure(){this.dI.getVsync().measure((()=>{const{win:t}=this.dI;if(this.vI){const n=t.document.querySelector(this.vI);A(n,`relativeTo element ${this.vI} not found.`);const e=n.getBoundingClientRect();this.mI.left=e.left,this.mI.top=e.top,this.mI.bottom=e.bottom,this.mI.right=e.right}else this.mI.left=0,this.mI.top=0,this.mI.bottom=t.innerHeight,this.mI.right=t.innerWidth;this.mI.left+=this.cI,this.mI.top+=this.fI,this.mI.right-=this.uI,this.mI.bottom-=this.pI}))}},q=class extends V{constructor(t,n){super(t,n.type),A(function(t){return t.type==U&&"string"==typeof t.selector}(n),"Invalid InactiveElementspec"),this.bI=n.selector}filter(t){return n=t.target,e=this.bI,!n.matches(e);var n,e}};function Q(t,n,e){switch(n.type){case L:return new X(t,n,e.win);case N:return new Z(t,n,e);case U:return new q(t,n);default:return}}function W(t,n,e,i){let r;try{r=t.open(n,e,i)}catch(t){y().error("DOM","Failed to open url on target: ",e,t)}var s,o;return!r&&"_top"!=e&&("number"!=typeof o&&(o=0),o+"noopener".length>(s=i||"").length||-1===s.indexOf("noopener",o))&&(r=t.open(n,"_top")),r}function tt(t,n){return H||(H=self.document.createElement("a")),function(t,n,e){return t.href="",new URL(n,t.href)}(H,t)}new Set(["c","v","a","ad"]);var nt="amp-ad-exit",et=class extends t.BaseElement{constructor(t){super(t),this.Ki={},this.gI={},this.yI=[],this._I={beacon:!0,image:!0},this.AI={},this.registerAction("exit",this.exit.bind(this)),this.registerAction("setVariable",this.setVariable.bind(this),1),this.II={},this.Gv=null,this.RI=null,this.TI={},this.OI=this.detectAttributionReportingSupport()}exit(t){const{args:n}=t;let e,{event:i}=t;A("variable"in n!="target"in n,"One and only one of 'target' and 'variable' must be specified"),"variable"in n?(e=this.gI[n.variable],e||(e=n.default),A(e,`Variable target not found, variable:'${n.variable}', default:'${n.default}'`),delete n.default):e=n.target;const r=this.Ki[e];if(A(r,`Exit target not found: '${e}'`),A(i,"Unexpected null event"),i=i,i.preventDefault(),!this.jI(this.yI,i)||!this.jI(r.filters,i))return;const s=this.SI(n,i,r);r.trackingUrls&&r.trackingUrls.map(s).forEach((t=>this.EI(t)));const o=s(r.finalUrl);if(M.isAvailable(this.getAmpDoc()))M.exitForDoc(this.getAmpDoc()).then((t=>t.openUrl(o))).catch((t=>{t.fallback&&W(this.win,o,"_blank")}));else{const t=r.behaviors&&r.behaviors.clickTarget&&"_top"==r.behaviors.clickTarget?"_top":"_blank",n=s(r.windowFeatures||"");W(this.win,o,t,n)}}setVariable(t){const{args:n}=t;A(this.Ki[n.target],`Exit target not found: '${n.target}'`),this.gI[n.name]=n.target}SI(t,n,e){const i={"ATTRIBUTION_REPORTING_STATUS":()=>function(t,n){var e,i,r;return null!=n&&null!==(e=n.behaviors)&&void 0!==e&&e.browserAdConversion&&t?6:null!=n&&null!==(i=n.behaviors)&&void 0!==i&&null!==(r=i.browserAdConversion)&&void 0!==r&&r.attributionsrc?5:4}(this.OI,e),"CLICK_X":()=>n.clientX,"CLICK_Y":()=>n.clientY},r=function(t,n){const e=S(j(t));return w(e,n)?E(e,n):null}(this.element,"url-replace"),s={"ATTRIBUTION_REPORTING_STATUS":!0,"CLICK_X":!0,"CLICK_Y":!0,"RANDOM":!0,"UACH":!0};if(e.vars)for(const n in e.vars){if("_"!=n[0])continue;const o=e.vars[n];o&&(i[n]=()=>{if(o.iframeTransportSignal){const t=r.expandStringSync(o.iframeTransportSignal,{"IFRAME_TRANSPORT_SIGNAL":(t,n)=>{if(!t||!n)return"";const e=this.II[t];return e&&n in e?e[n]:void 0}});if(o.iframeTransportSignal==`IFRAME_TRANSPORT_SIGNAL${t}`)y().error(nt,"Invalid IFRAME_TRANSPORT_SIGNAL format:"+t+" (perhaps there is a space after a comma?)");else if(""!=t)return t}return n in t?t[n]:o.defaultValue},s[n]=!0)}return t=>r.expandUrlSync(t,i,s)}EI(t){this._I.beacon&&this.win.navigator.sendBeacon&&this.win.navigator.sendBeacon(t,"")||this._I.image&&(this.win.document.createElement("img").src=t)}jI(t,n){return t.every((t=>t.filter(n)))}buildCallback(){this.element.setAttribute("aria-hidden","true"),this.yI.push(Q("minDelay",Y(1e3),this)),this.yI.push(Q("carouselBtns",{type:U,selector:".amp-carousel-button"},this));const{children:t}=this.element;A(1==t.length,"The tag should contain exactly one