; (self.AMP=self.AMP||[]).push({m:1,v:"2409061044000",n:"amp-ad",ev:"0.1",l:!0,f:function(t,e){(()=>{var e;function n(){return e||(e=Promise.resolve(void 0))}var r,s=class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}},{hasOwnProperty:i,toString:a}=Object.prototype;function o(t){const e=Object.create(null);return t&&Object.assign(e,t),e}function c(t,e){return i.call(t,e)}var{isArray:p}=Array;function d(t){return JSON.parse(t)}function m(t,e){try{return d(t)}catch(t){return null==e||e(t),null}}var h=JSON.parse('{"_ping_":{"renderStartImplemented":true,"clientIdScope":"_PING_","consentHandlingOverride":true},"1wo":{},"24smi":{"prefetch":"https://jsn.24smi.net/smi.js","preconnect":"https://data.24smi.net"},"4wmarketplace":{"renderStartImplemented":true},"a8":{"prefetch":"https://statics.a8.net/amp/ad.js","renderStartImplemented":true},"a9":{"prefetch":"https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"},"accesstrade":{"prefetch":"https://h.accesstrade.net/js/amp/amp.js"},"adagio":{"prefetch":"https://js-ssl.neodatagroup.com/adagio_amp.js","preconnect":["https://ad-aws-it.neodatagroup.com","https://tracker.neodatagroup.com"],"renderStartImplemented":true},"adblade":{"prefetch":"https://web.adblade.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.adblade.com","https://static.adblade.com"],"renderStartImplemented":true},"adbutler":{"prefetch":"https://servedbyadbutler.com/app.js"},"adenza":{"renderStartImplemented":true},"adform":{},"adfox":{"prefetch":"https://yandex.ru/ads/system/context.js","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"adgeneration":{"prefetch":"https://i.socdm.com/sdk/js/adg-script-loader.js"},"adglare":{"renderStartImplemented":true},"adhese":{"renderStartImplemented":true},"adincube":{"renderStartImplemented":true},"adition":{},"adman":{},"admanmedia":{"renderStartImplemented":true},"admatic":{},"admixer":{"renderStartImplemented":true,"preconnect":["https://inv-nets.admixer.net","https://cdn.admixer.net"]},"adnuntius":{"prefetch":"https://cdn.adnuntius.com/adn.js","renderStartImplemented":true},"adocean":{"consentHandlingOverride":true},"adop":{},"adpicker":{"renderStartImplemented":true},"adplugg":{"prefetch":"https://www.adplugg.com/serve/js/ad.js","renderStartImplemented":true},"adpon":{"prefetch":"https://ad.adpon.jp/amp.js","clientIdScope":"AMP_ECID_ADPON"},"adpushup":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.adpushup.com"},"adreactor":{},"ads2bid":{"renderStartImplemented":true},"adsensor":{"prefetch":"https://wfpscripts.webspectator.com/amp/adsensor-amp.js","clientIdScope":"amp_ecid_adensor","renderStartImplemented":true},"adservsolutions":{},"adskeeper":{"renderStartImplemented":true,"preconnect":["https://jsc.adskeeper.com","https://servicer.adskeeper.com","https://s-img.adskeeper.com"]},"adsloom":{"clientIdScope":"AMP_ECID_ADSLOOM"},"adsnative":{"prefetch":"https://static.adsnative.com/static/js/render.v1.js","preconnect":"https://api.adsnative.com"},"adspeed":{"preconnect":"https://g.adspeed.net","renderStartImplemented":true},"adspirit":{},"adstir":{"prefetch":"https://js.ad-stir.com/js/adstir_async.js","preconnect":"https://ad.ad-stir.com"},"adstyle":{"prefetch":"https://widgets.ad.style/amp.js","preconnect":["https://w.ad.style"]},"adtech":{"prefetch":"https://s.aolcdn.com/os/ads/adsWrapper3.js","preconnect":["https://mads.at.atwola.com","https://aka-cdn.adtechus.com"]},"adtelligent":{"preconnect":["https://s.adtelligent.com"],"renderStartImplemented":true},"adthrive":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js"],"preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"adsviu":{"prefetch":"https://widget.adsviu.com/adsviuAMP.js","preconnect":["https://api.adsviu.com"]},"adunity":{"preconnect":["https://content.adunity.com"],"renderStartImplemented":true},"aduptech":{"prefetch":"https://s.d.adup-tech.com/jsapi","preconnect":["https://d.adup-tech.com","https://m.adup-tech.com","https://v.adup-tech.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"adventive":{"preconnect":["https://ads.adventive.com","https://amp.adventivedev.com"],"renderStartImplemented":true},"adverline":{"prefetch":"https://ads.adverline.com/richmedias/amp.js","preconnect":["https://adnext.fr"],"renderStartImplemented":true},"adverticum":{},"advertserve":{"renderStartImplemented":true},"adyoulike":{"consentHandlingOverride":true,"prefetch":"https://fo-static.omnitagjs.com/amp.js","renderStartImplemented":true},"adzerk":{},"affiliateb":{"prefetch":"https://track.affiliate-b.com/amp/a.js","renderStartImplemented":true},"affinity":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn4-hbs.affinitymatrix.com"},"aja":{"prefetch":["https://cdn.as.amanad.adtdp.com/sdk/asot-amp.js","https://cdn.as.amanad.adtdp.com/sdk/asot-v2.js"],"preconnect":["https://ad.as.amanad.adtdp.com"]},"appvador":{"prefetch":["https://cdn.apvdr.com/js/VastAdUnit.min.js","https://cdn.apvdr.com/js/VideoAd.min.js","https://cdn.apvdr.com/js/VideoAd3PAS.min.js","https://cdn.apvdr.com/js/VideoAdAutoPlay.min.js","https://cdn.apvdr.com/js/VideoAdNative.min.js"],"renderStartImplemented":true},"amoad":{"prefetch":["https://j.amoad.com/js/a.js","https://j.amoad.com/js/n.js"],"preconnect":["https://d.amoad.com","https://i.amoad.com","https://m.amoad.com","https://v.amoad.com"]},"amplified":{"preconnect":"https://srv.clickfuse.com","renderStartImplemented":true},"andbeyond":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.andbeyond.media"},"aniview":{"renderStartImplemented":true},"anyclip":{"prefetch":"https://player.anyclip.com/anyclip-widget/lre-widget/prod/v1/src/lre.js","preconnect":["https://trafficmanager.anyclip.com","https://lreprx-server.anyclip.com"],"renderStartImplemented":true},"appmonsta":{"preconnect":"https://ssp.appmonsta.ai"},"appnexus":{"prefetch":"https://acdn.adnxs.com/ast/ast.js","preconnect":"https://ib.adnxs.com","renderStartImplemented":true},"atomx":{"prefetch":"https://s.ato.mx/p.js"},"avantisvideo":{"renderStartImplemented":true},"beaverads":{"renderStartImplemented":true},"beopinion":{"prefetch":"https://widget.beop.io/sdk.js","preconnect":["https://t.beop.io","https://s.beop.io","https://data.beop.io"],"renderStartImplemented":true},"bidgear":{"prefetch":"https://platform.bidgear.com/bidgear-amp.js","renderStartImplemented":true},"bidtellect":{},"blade":{"prefetch":"https://sdk.streamrail.com/blade/sr.blade.js","renderStartImplemented":true},"brainy":{},"bringhub":{"renderStartImplemented":true,"preconnect":["https://static.bh-cdn.com","https://core-api.bringhub.io"]},"broadbandy":{"renderStartImplemented":true},"broadstreetads":{"prefetch":"https://cdn.broadstreetads.com/init-2.min.js","renderStartImplemented":true},"byplay":{},"caajainfeed":{"prefetch":["https://cdn.amanad.adtdp.com/sdk/ajaamp.js"],"preconnect":["https://ad.amanad.adtdp.com"]},"capirs":{"renderStartImplemented":true},"caprofitx":{"prefetch":["https://cdn.caprofitx.com/pfx.min.js","https://cdn.caprofitx.com/tags/amp/profitx_amp.js"],"preconnect":"https://ad.caprofitx.adtdp.com"},"cedato":{"renderStartImplemented":true},"chargeads":{},"cognativex":{},"colombia":{"prefetch":"https://static.clmbtech.com/ad/commons/js/colombia-amp.js"},"colombiafeed":{"prefetch":"https://static.clmbtech.com/c1e/static/themes/js/colombiafeed-amp.js"},"conative":{"renderStartImplemented":true},"connatix":{"renderStartImplemented":true},"contentad":{},"criteo":{"prefetch":"https://static.criteo.net/js/ld/publishertag.js","preconnect":"https://cas.criteo.com"},"csa":{"prefetch":"https://www.google.com/adsense/search/ads.js"},"clever":{"renderStartImplemented":true},"dable":{"preconnect":["https://static.dable.io","https://api.dable.io","https://images.dable.io"],"renderStartImplemented":true},"dex":{"renderStartImplemented":true},"digiteka":{"renderStartImplemented":true},"directadvert":{"renderStartImplemented":true},"distroscale":{"preconnect":["https://c.jsrdn.com","https://s.jsrdn.com","https://i.jsrdn.com"],"renderStartImplemented":true},"dotandads":{"prefetch":"https://amp.ad.dotandad.com/dotandadsAmp.js","preconnect":"https://bal.ad.dotandad.com"},"dynad":{"preconnect":["https://t.dynad.net","https://tm.jsuol.com.br"]},"eadv":{"renderStartImplemented":true,"clientIdScope":"AMP_ECID_EADV","prefetch":["https://www.eadv.it/track/esr.min.js","https://www.eadv.it/track/ead.min.js"]},"empower":{"prefetch":"https://cdn.empower.net/sdk/amp-ad.min.js","renderStartImplemented":true},"engageya":{},"epeex":{},"eplanning":{"prefetch":"https://us.img.e-planning.net/layers/epl-amp.js"},"exco":{"renderStartImplemented":true},"ezoic":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js","https://g.ezoic.net/ezoic/ampad.js"],"clientIdScope":"AMP_ECID_EZOIC","consentHandlingOverride":true,"renderStartImplemented":true},"f1e":{"prefetch":"https://img.ak.impact-ad.jp/util/f1e_amp.min.js"},"f1h":{"preconnect":"https://img.ak.impact-ad.jp","renderStartImplemented":true},"fairground":{},"fake":{},"fake-delayed":{"renderStartImplemented":true},"feedad":{"clientIdScope":"__fa_amp","prefetch":"https://web.feedad.com/sdk/feedad-async.js","renderStartImplemented":true,"fullWidthHeightRatio":1.7777777777777777,"consentHandlingOverride":true},"felmat":{"prefetch":"https://t.felmat.net/js/fmamp.js","renderStartImplemented":true},"finative":{},"firstimpression":{"prefetch":"https://ecdn.firstimpression.io/static/js/fiamp.js","preconnect":"https://cdn.firstimpression.io","renderStartImplemented":true,"consentHandlingOverride":true},"flite":{},"fluct":{"prefetch":["https://pdn.adingo.jp/p.js"],"preconnect":["https://cdn-fluct.sh.adingo.jp","https://sh.adingo.jp","https://i.adingo.jp"]},"forkmedia":{"renderStartImplemented":true},"freewheel":{"prefetch":"https://cdn.stickyadstv.com/prime-time/fw-amp.min.js","renderStartImplemented":true},"fusion":{"prefetch":"https://assets.adtomafusion.net/fusion/latest/fusion-amp.min.js"},"gecko":{},"genieessp":{"prefetch":"https://js.gsspcln.jp/l/amp.js"},"geozo":{"renderStartImplemented":true},"giraff":{"renderStartImplemented":true},"glomex":{"prefetch":"https://player.glomex.com/integration/1/amp-embed.js"},"gmossp":{"prefetch":"https://cdn.gmossp-sp.jp/ads/amp.js"},"gumgum":{"prefetch":"https://js.gumgum.com/slot.js","renderStartImplemented":true},"holder":{"prefetch":"https://i.holder.com.ua/js2/holder/ajax/ampv1.js","preconnect":"https://h.holder.com.ua","renderStartImplemented":true},"ibillboard":{},"idealmedia":{"renderStartImplemented":true,"preconnect":["https://jsc.idealmedia.io","https://servicer.idealmedia.io","https://s-img.idealmedia.io/"]},"imedia":{"prefetch":"https://i.imedia.cz/js/im3.js","renderStartImplemented":true},"imobile":{"prefetch":"https://spamp.i-mobile.co.jp/script/amp.js","preconnect":"https://spad.i-mobile.co.jp"},"imonomy":{"renderStartImplemented":true},"improvedigital":{},"incrementx":{"prefetch":"https://cdn.incrementxserv.com/ixamp.js","renderStartImplemented":true},"industrybrains":{"prefetch":"https://web.industrybrains.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.industrybrains.com","https://static.industrybrains.com"],"renderStartImplemented":true},"inmobi":{"prefetch":"https://cf.cdn.inmobi.com/ad/inmobi.secure.js","renderStartImplemented":true},"innity":{"prefetch":"https://cdn.innity.net/admanager.js","preconnect":"https://as.innity.com","renderStartImplemented":true},"insticator":{"preconnect":"https://d3lcz8vpax4lo2.cloudfront.net","renderStartImplemented":true},"insurads":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://tpc.googlesyndication.com","https://cdn.insurads.com","https://services.insurads.com","https://messaging.insurads.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"invibes":{"prefetch":"https://k.r66net.com/GetAmpLink","renderStartImplemented":true,"consentHandlingOverride":true},"iprom":{"prefetch":"https://cdn.ipromcloud.com/ipromNS.js"},"ix":{"prefetch":["https://js-sec.indexww.com/apl/amp.js"],"preconnect":"https://as-sec.casalemedia.com","renderStartImplemented":true},"jubna":{},"kargo":{},"ketshwa":{},"kiosked":{"renderStartImplemented":true},"jioads":{"renderStartImplemented":true},"jixie":{"prefetch":["https://scripts.jixie.media/jxamp.min.js"],"clientIdScope":"__jxamp","clientIdCookieName":"_jxx","renderStartImplemented":true},"kixer":{"prefetch":"https://cdn.kixer.com/ad/load.js","renderStartImplemented":true},"kuadio":{},"ligatus":{"prefetch":"https://ssl.ligatus.com/render/ligrend.js","renderStartImplemented":true},"lockerdome":{"prefetch":"https://cdn2.lockerdomecdn.com/_js/amp.js","renderStartImplemented":true},"logly":{"preconnect":["https://l.logly.co.jp","https://cdn.logly.co.jp"],"renderStartImplemented":true},"loka":{"prefetch":"https://loka-cdn.akamaized.net/scene/amp.js","preconnect":["https://scene-front.lokaplatform.com","https://loka-materials.akamaized.net"],"renderStartImplemented":true},"luckyads":{"renderStartImplemented":true},"macaw":{"renderStartImplemented":true},"mads":{"prefetch":"https://eu2.madsone.com/js/tags.js"},"mantis-display":{"prefetch":"https://assets.mantisadnetwork.com/mantodea.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://res.cloudinary.com","https://resize.mantisadnetwork.com"]},"marfeel":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://live.mrf.io","https://tpc.googlesyndication.com","https://fastlane.rubiconproject.com","https://htlb.casalemedia.com","https://prg.smartadserver.com","https://ib.adnxs.com","https://bidder.criteo.com","https://marfeel-d.openx.net","https://ice.360yield.com","https://mbid.marfeelrev.com"],"consentHandlingOverride":true},"mantis-recommend":{"prefetch":"https://assets.mantisadnetwork.com/recommend.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://resize.mantisadnetwork.com"]},"mediaad":{},"medianet":{"preconnect":"https://contextual.media.net","renderStartImplemented":true},"mediavine":{"prefetch":"https://amp.mediavine.com/wrapper.min.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"medyanet":{"renderStartImplemented":true},"meg":{"renderStartImplemented":true},"mgid":{"renderStartImplemented":true,"preconnect":["https://jsc.mgid.com","https://servicer.mgid.com","https://s-img.mgid.com"]},"microad":{"prefetch":"https://j.microad.net/js/camp.js","preconnect":["https://s-rtb.send.microad.jp","https://s-rtb.send.microadinc.com","https://cache.send.microad.jp","https://cache.send.microadinc.com","https://deb.send.microad.jp"]},"miximedia":{"renderStartImplemented":true},"mixpo":{"prefetch":"https://cdn.mixpo.com/js/loader.js","preconnect":["https://player1.mixpo.com","https://player2.mixpo.com"]},"momagic":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://amp.truereach.co.in/"]},"monetizer101":{"renderStartImplemented":true},"mox":{"prefetch":["https://ad.mox.tv/js/amp.min.js","https://ad.mox.tv/mox/mwayss_invocation.min.js"],"renderStartImplemented":true},"my6sense":{"renderStartImplemented":true},"myfinance":{"preconnect":["https://a.myfidevs.io","https://static.myfinance.com","https://www.myfinance.com"],"renderStartImplemented":true,"clientIdScope":"AMP_ECID_GOOGLE"},"myoffrz":{"renderStartImplemented":true},"mytarget":{"prefetch":"https://ad.mail.ru/static/ads-async.js","renderStartImplemented":true},"myua":{"renderStartImplemented":true},"mywidget":{"preconnect":"https://likemore-fe.go.mail.ru","prefetch":"https://likemore-go.imgsmail.ru/widget_amp.js","renderStartImplemented":true},"nativeroll":{"prefetch":"https://cdn01.nativeroll.tv/js/seedr-player.min.js"},"nativery":{"preconnect":"https://cdn.nativery.com"},"nativo":{"prefetch":"https://s.ntv.io/serve/load.js"},"navegg":{"renderStartImplemented":true},"nend":{"prefetch":"https://js1.nend.net/js/amp.js","preconnect":["https://output.nend.net","https://img1.nend.net"]},"netletix":{"preconnect":["https://call.netzathleten-media.de"],"renderStartImplemented":true},"noddus":{"prefetch":"https://noddus.com/amp_loader.js","renderStartImplemented":true},"nokta":{"prefetch":"https://static.virgul.com/theme/mockups/noktaamp/ampjs.js","renderStartImplemented":true},"nws":{},"oblivki":{"renderStartImplemented":true},"onead":{"prefetch":"https://ad-specs.guoshipartners.com/static/js/onead-amp.min.js","renderStartImplemented":true},"onnetwork":{"renderStartImplemented":true},"openadstream":{},"openx":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"opinary":{"renderStartImplemented":true},"outbrain":{"renderStartImplemented":true,"prefetch":"https://widgets.outbrain.com/widgetAMP/outbrainAMP.min.js","preconnect":["https://odb.outbrain.com"],"consentHandlingOverride":true},"piberica":{"preconnect":["https://trafico.prensaiberica.es"],"renderStartImplemented":true},"pixad":{},"pixels":{"prefetch":"https://cdn.adsfactor.net/amp/pixels-amp.min.js","clientIdCookieName":"__AF","renderStartImplemented":true},"playstream":{"prefetch":"https://app.playstream.media/js/amp.js","renderStartImplemented":true},"plista":{},"polymorphicads":{"prefetch":"https://www.polymorphicads.jp/js/amp.js","preconnect":["https://img.polymorphicads.jp","https://ad.polymorphicads.jp"],"renderStartImplemented":true},"popin":{"renderStartImplemented":true},"postquare":{},"ppstudio":{"renderStartImplemented":true},"pressboard":{"renderStartImplemented":true},"promoteiq":{},"pubexchange":{},"pubfuture":{"renderStartImplemented":true},"pubguru":{"renderStartImplemented":true},"pubmatic":{"prefetch":"https://ads.pubmatic.com/AdServer/js/amp.js"},"pubmine":{"prefetch":["https://s.pubmine.com/head.js"],"preconnect":"https://delivery.g.switchadhub.com","renderStartImplemented":true},"pubscale":{"renderStartImplemented":true},"puffnetwork":{"prefetch":"https://static.puffnetwork.com/amp_ad.js","renderStartImplemented":true},"pulse":{"prefetch":"https://static.pulse.mail.ru/pulse-widget-amp.js","renderStartImplemented":true},"pulsepoint":{"prefetch":"https://ads.contextweb.com/TagPublish/getjs.static.js","preconnect":"https://tag.contextweb.com"},"purch":{"prefetch":"https://ramp.purch.com/serve/creative_amp.js","renderStartImplemented":true},"quoraad":{"prefetch":"https://a.quora.com/amp_ad.js","preconnect":"https://ampad.quora.com","renderStartImplemented":true},"r9x":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.r9x.in"},"rakutenunifiedads":{"prefetch":"https://s-cdn.rmp.rakuten.co.jp/js/amp.js","renderStartImplemented":true},"rbinfox":{"renderStartImplemented":true},"rcmwidget":{"prefetch":"https://rcmjs.rambler.ru/static/rcmw/rcmw-amp.js","renderStartImplemented":true,"clientIdScope":"__rcmw_amp"},"readmo":{"renderStartImplemented":true},"realclick":{"renderStartImplemented":true},"recomad":{"renderStartImplemented":true},"recreativ":{"prefetch":"https://go.rcvlink.com/static/amp.js","renderStartImplemented":true},"relap":{"renderStartImplemented":true},"relappro":{"prefetch":"https://cdn.relappro.com/adservices/amp/relappro.amp.min.js","preconnect":"https://tags.relappro.com","renderStartImplemented":true},"remixd":{"preconnect":"https://tags.remixd.com","renderStartImplemented":true},"revcontent":{"prefetch":"https://labs-cdn.revcontent.com/build/amphtml/revcontent.amp.min.js","preconnect":["https://trends.revcontent.com","https://cdn.revcontent.com","https://img.revcontent.com"],"renderStartImplemented":true},"revjet":{"prefetch":"https://cdn.revjet.com/~cdn/JS/03/amp.js","renderStartImplemented":true},"rfp":{"prefetch":"https://js.rfp.fout.jp/rfp-amp.js","preconnect":"https://ad.rfp.fout.jp","renderStartImplemented":true},"rnetplus":{},"rubicon":{},"runative":{"prefetch":"https://cdn.run-syndicate.com/sdk/v1/n.js","renderStartImplemented":true},"sabavision":{"renderStartImplemented":true},"sas":{"renderStartImplemented":true},"seedingalliance":{},"seedtag":{"prefetch":"https://t.seedtag.com/c/loader.js","preconnect":["https://s.seedtag.com"],"consentHandlingOverride":true,"renderStartImplemented":true},"sekindo":{"renderStartImplemented":true},"sevio":{"preconnect":["https://request.adx.ws"],"prefetch":["https://cdn.adx.ws/scripts/amp.js"],"renderStartImplemented":true},"sharethrough":{"renderStartImplemented":true},"shemedia":{"prefetch":["https://securepubads.g.doubleclick.net/tag/js/gpt.js","https://ads.shemedia.com/static/amp.js"],"preconnect":["https://partner.googleadservices.com","https://tpc.googlesyndication.com","https://ads.blogherads.com"],"renderStartImplemented":true},"sklik":{"prefetch":"https://c.imedia.cz/js/amp.js"},"skoiy":{"preconnect":["https://svas.skoiy.xyz"]},"slimcutmedia":{"preconnect":["https://sb.freeskreen.com","https://static.freeskreen.com","https://video.freeskreen.com"],"renderStartImplemented":true},"smartads":{"prefetch":"https://smart-ads.biz/amp.js"},"smartadserver":{"prefetch":"https://ec-ns.sascdn.com/diff/js/amp.v0.js","preconnect":"https://static.sascdn.com","renderStartImplemented":true},"smartclip":{"prefetch":"https://cdn.smartclip.net/amp/amp.v0.js","preconnect":"https://des.smartclip.net","renderStartImplemented":true},"smi2":{"renderStartImplemented":true},"smilewanted":{"prefetch":"https://prebid.smilewanted.com/amp/amp.js","preconnect":"https://static.smilewanted.com","renderStartImplemented":true},"sogouad":{"prefetch":"https://theta.sogoucdn.com/wap/js/aw.js","renderStartImplemented":true},"sortable":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://tags-cdn.deployads.com","https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"sona":{"renderStartImplemented":true},"sovrn":{"prefetch":"https://ap.lijit.com/www/sovrn_amp/sovrn_ads.js"},"speakol":{"renderStartImplemented":true},"spotx":{"preconnect":"https://js.spotx.tv","renderStartImplemented":true},"springAds":{"preconnect":["https://ib.adnxs.com"],"renderStartImplemented":true},"ssp":{"prefetch":"https://ssp.imedia.cz/static/js/ssp.js","renderStartImplemented":true,"consentHandlingOverride":true},"strossle":{"preconnect":["https://amp.spklw.com","https://widgets.sprinklecontent.com","https://images.sprinklecontent.com"]},"sunmedia":{"preconnect":["https://static.sunmedia.tv","https://services.sunmedia.tv","https://creative.sunmedia.tv","https://vod.sunmedia.tv","https://mx-sunmedia.videoplaza.tv","https://es-sunicontent.videoplaza.tv","https://es-sunelespanol.videoplaza.tv","https://es-suncopperland.videoplaza.tv","https://search.spotxchange.com","https://tpc.googlesyndication.com"],"clientIdScope":"AMP_ECID_SUNMEDIA","fullWidthHeightRatio":1,"renderStartImplemented":true},"svknative":{"renderStartImplemented":true,"prefetch":"https://widget.svk-native.ru/js/embed.js"},"swoop":{"prefetch":"https://www.swoop-amp.com/amp.js","preconnect":["https://www.swpsvc.com","https://client.swpcld.com"],"renderStartImplemented":true},"taboola":{},"tagon":{"prefetch":"https://js.tagon.co/tagon-amp.min.js"},"tail":{"renderStartImplemented":true},"tcsemotion":{"prefetch":"https://ads.tcsemotion.com/www/delivery/amphb.js","renderStartImplemented":true},"teads":{"prefetch":"https://a.teads.tv/media/format/v3/teads-format.min.js","preconnect":["https://cdn2.teads.tv","https://t.teads.tv","https://r.teads.tv"],"consentHandlingOverride":true},"temedya":{"prefetch":["https://widget.cdn.vidyome.com/builds/loader-amp.js","https://vidyome-com.cdn.vidyome.com/vidyome/builds/widgets.js"],"renderStartImplemented":true},"torimochi":{"renderStartImplemented":true},"tracdelight":{"prefetch":"https://scripts.tracdelight.io/amp.js","renderStartImplemented":true},"trafficstars":{"prefetch":"https://cdn.tsyndicate.com/sdk/v1/master.spot.js","renderStartImplemented":true},"triplelift":{},"trugaze":{"clientIdScope":"__tg_amp","renderStartImplemented":true},"uas":{"prefetch":"https://ads.pubmatic.com/AdServer/js/phoenix.js"},"ucfunnel":{"renderStartImplemented":true},"uzou":{"preconnect":["https://speee-ad.akamaized.net"],"renderStartImplemented":true},"unruly":{"prefetch":"https://video.unrulymedia.com/native/native-loader.js","renderStartImplemented":true},"valuecommerce":{"prefetch":"https://amp.valuecommerce.com/amp_bridge.js","preconnect":["https://ad.jp.ap.valuecommerce.com"],"renderStartImplemented":true},"vdoai":{"prefetch":"https://a.vdo.ai/core/dependencies_amp/vdo.min.js","renderStartImplemented":true},"videointelligence":{"preconnect":"https://s.vi-serve.com","renderStartImplemented":true},"videonow":{"renderStartImplemented":true},"viralize":{"renderStartImplemented":true},"vlyby":{"prefetch":"https://cdn.vlyby.com/amp/qad/qad-outer2.js"},"vmfive":{"prefetch":"https://man.vm5apis.com/dist/adn-web-sdk.js","preconnect":["https://vawpro.vm5apis.com","https://vahfront.vm5apis.com"],"renderStartImplemented":true},"vox":{"renderStartImplemented":true},"webediads":{"prefetch":"https://eu1.wbdds.com/amp.min.js","preconnect":["https://goutee.top","https://mediaathay.org.uk"],"renderStartImplemented":true},"weborama-display":{"prefetch":["https://cstatic.weborama.fr/js/advertiserv2/adperf_launch_1.0.0_scrambled.js","https://cstatic.weborama.fr/js/advertiserv2/adperf_core_1.0.0_scrambled.js"]},"whopainfeed":{"prefetch":"https://widget.infeed.com.ar/widget/widget-amp.js"},"widespace":{},"wisteria":{"renderStartImplemented":true},"wpmedia":{"prefetch":"https://std.wpcdn.pl/wpjslib/wpjslib-amp.js","preconnect":["https://www.wp.pl","https://v.wpimg.pl"],"renderStartImplemented":true},"wunderkind":{"preconnect":["https://tag.wknd.ai","https://api.bounceexchange.com"],"renderStartImplemented":true,"fullWidthHeightRatio":1.3333333333333333},"xlift":{"prefetch":"https://cdn.x-lift.jp/resources/common/xlift_amp.js","renderStartImplemented":true},"yahoofedads":{"renderStartImplemented":true},"yahoojp":{"prefetch":["https://s.yimg.jp/images/listing/tool/yads/ydn/amp/amp.js","https://yads.c.yimg.jp/js/yads.js"],"preconnect":"https://yads.yahoo.co.jp"},"yahoonativeads":{"renderStartImplemented":true},"yandex":{"prefetch":"https://yandex.ru/ads/system/context.js","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"yektanet":{"preconnect":["https://cdn.yektanet.com","https://cg-sc.yektanet.com","https://native.yektanet.com","https://nfetch.yektanet.net","https://rfetch.yektanet.net","https://scrapper.yektanet.com","https://ua.yektanet.com","https://bfetch.yektanet.com","https://mostatil.cdn.yektanet.com"],"renderStartImplemented":true},"yengo":{"renderStartImplemented":true},"yieldbot":{"prefetch":["https://cdn.yldbt.com/js/yieldbot.intent.amp.js","https://msg.yldbt.com/js/ybmsg.html"],"preconnect":"https://i.yldbt.com"},"yieldmo":{"prefetch":"https://static.yieldmo.com/ym.1.js","preconnect":["https://s.yieldmo.com","https://ads.yieldmo.com"],"renderStartImplemented":true},"yieldone":{"prefetch":"https://img.ak.impact-ad.jp/ic/pone/commonjs/yone-amp.js"},"yieldpro":{"preconnect":"https://creatives.yieldpro.eu","renderStartImplemented":true},"zedo":{"prefetch":"https://ss3.zedo.com/gecko/tag/Gecko.amp.min.js","renderStartImplemented":true},"zen":{"prefetch":"https://zen.yandex.ru/widget-loader","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"zergnet":{},"zucks":{"preconnect":["https://j.zucks.net.zimg.jp","https://sh.zucks.net","https://k.zucks.net","https://static.zucks.net.zimg.jp"]},"baidu":{"prefetch":"https://dup.baidustatic.com/js/dm.js","renderStartImplemented":true},"sulvo":{}}');function l(t){return 1==(null==t?void 0:t.nodeType)}function u(t,e,n,r,s,i,a,o,c,p,d){return t}function f(t){return(t.ownerDocument||t).defaultView}function g(t){u(/^[\w-]+$/.test(t))}function b(t){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t)}var v=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function j(t,e=""){try{return decodeURIComponent(t)}catch(t){return e}}function y(t){const e=o();if(!t)return e;let n;for(;n=v.exec(t);){const t=j(n[1],n[1]),r=n[2]?j(n[2].replace(/\+/g," "),n[2]):"";e[t]=r}return e}function I(t){const{location:e}=t||self;return y(e.originalHash||e.hash)}var w="";function S(t){const e=t||self;return e.__AMP_MODE?e.__AMP_MODE:e.__AMP_MODE=function(t){return{localDev:!1,development:_(t,I(t)),esm:!0,test:!1,rtvVersion:k(t),ssrReady:!1}}(e)}function k(t){var e;return w||(w=(null===(e=t.AMP_CONFIG)||void 0===e?void 0:e.v)||"012409061044000"),w}function _(t,e){const n=e||I(t);return["1","actions","amp","amp4ads","amp4email"].includes(n.development)||!!t.AMP_DEV_MODE}function x(t){const e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;const{message:n,stack:r}=t,s=new Error(n);for(const e in t)s[e]=t[e];return s.stack=r,s}function A(t){let e=null,n="";for(const t of arguments)t instanceof Error&&!e?e=x(t):(n&&(n+=" "),n+=t);return e?n&&(e.message=n+": "+e.message):e=new Error(n),e}function P(t){var e,n;null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t)}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var M=self.__AMP_LOG;function E(t,e){throw new Error("failed to call initLogConstructor")}function T(t){return M.user||(M.user=O()),function(t,e){return e&&e.ownerDocument.defaultView!=t}(M.user.win,t)?M.userForEmbed||(M.userForEmbed=O()):M.user}function O(t){return E()}function R(){return M.dev||(M.dev=E())}function V(t,e,n,r,s,i,a,o,c,p,d){return t}function z(t,e,n,r,s,i,a,o,c,p,d){return T().assert(t,e,n,r,s,i,a,o,c,p,d)}function C(t,e){return F(t=function(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}(t),e)}function N(t,e){return F(L(D(t)),e)}function $(t,e){return function(t,e){const n=W(t,e);if(n)return n;const r=q(t);return r[e]=function(){const t=new s,{promise:e,reject:n,resolve:r}=t;return e.catch((()=>{})),{obj:null,promise:e,resolve:r,reject:n,context:null,ctor:null}}(),r[e].promise}(L(t),e)}function H(t,e){return W(L(t),e)}function D(t){return t.nodeType?(e=f(t),C(e,"ampdoc")).getAmpDoc(t):t;var e}function L(t){const e=D(t);return e.isSingleDoc()?e.win:e}function F(t,e){V(U(t,e));const n=q(t)[e];return n.obj||(V(n.ctor),V(n.context),n.obj=new n.ctor(n.context),V(n.obj),n.context=null,n.resolve&&n.resolve(n.obj)),n.obj}function W(t,e){const n=q(t)[e];return n?n.promise?n.promise:(F(t,e),n.promise=Promise.resolve(n.obj)):null}function q(t){let e=t.__AMP_SERVICES;return e||(e=t.__AMP_SERVICES={}),e}function U(t,e){const n=t.__AMP_SERVICES&&t.__AMP_SERVICES[e];return!(!n||!n.ctor)}function G(t,e,n,r){const s=H(t,e);if(s)return s;const i=D(t);return i.whenExtensionsKnown().then((()=>{const t=i.getExtensionVersion(n);return t?C(i.win,"extensions").waitForExtension(n,t):null})).then((n=>n?r?H(t,e):$(t,e):null))}var B=t=>C(t,"ampdoc"),Y=t=>N(t,"documentInfo").get(),J=t=>F(t,"timer"),X=t=>G(t,"consentPolicyManager","amp-consent"),K=t=>N(t,"viewport"),Z="image_stacked",Q="image_sidebyside",tt="mobile_banner_image_sidebyside",et="pub_control_image_stacked",nt="pub_control_image_sidebyside",rt="pub_control_image_card_stacked",st="pub_control_image_card_sidebyside",it="pub_control_text",at="pub_control_text_card",ot="data-matched-content-ui-type",ct="data-matched-content-columns-num",pt="data-matched-content-rows-num",dt={[Z]:1/1.91,[Q]:1/3.82,[tt]:1/3.82,[et]:1/1.91,[nt]:1/3.82,[rt]:1/1.91,[st]:1/3.74,[it]:0,[at]:0},mt={[Z]:80,[Q]:0,[tt]:0,[et]:80,[nt]:0,[rt]:85,[st]:0,[it]:80,[at]:80},ht={[et]:100,[nt]:200,[rt]:150,[st]:250,[it]:100,[at]:150},lt="pub_control_",ut='\n data-matched-content-rows-num="4,2"\ndata-matched-content-columns-num="1,6"\ndata-matched-content-ui-type="image_stacked,image_card_sidebyside"';function ft(t){return t>=1200?{width:1200,height:600}:t>=850?{width:t,height:Math.floor(.5*t)}:t>=550?{width:t,height:Math.floor(.6*t)}:t>=468?{width:t,height:Math.floor(.7*t)}:{width:t,height:Math.floor(3.44*t)}}function gt(t,e){return t*dt[e]+mt[e]}function bt(t,e){return(t-8*e-8)/e}function vt(t,e){return Math.floor(t*e+8*e+8)}function jt(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||"fluid"==t||"intrinsic"==t}function yt(t){const e=parseFloat(t);return"number"==typeof(n=e)&&isFinite(n)?e:void 0;var n}function It(t,e,n,r){return{left:t,top:e,width:n,height:r,bottom:e+r,right:t+n,x:t,y:e}}function wt(t,e,n){return 0==e&&0==n||0==t.width&&0==t.height?t:It(t.left+e,t.top+n,t.width,t.height)}function St(t,e,n={}){const{needsRootBounds:r,rootMargin:s,threshold:i}=n,a=function(t){return t.parent&&t.parent!=t}(e)&&(r||s)?e.document:void 0;return new e.IntersectionObserver(t,{threshold:i,root:a,rootMargin:s})}var kt,_t=new WeakMap,xt=new WeakMap;function At(t){const e=new Set;for(let n=t.length-1;n>=0;n--){const r=t[n],{target:s}=r;if(e.has(s))continue;e.add(s);const i=xt.get(s);if(i)for(let t=0;t"","getPropertyValue":()=>""};function Rt(t,e,n,r,s){const i=function(t,e,n){if(e.startsWith("--"))return e;kt||(kt=o());let r=kt[e];if(!r||n){if(r=e,void 0===t[e]){const n=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),s=function(t,e){for(let n=0;n"-"+t.toLowerCase()));return Tt.some((t=>e.startsWith(t+"-")))?`-${e}`:e}(i),a)}function Vt(t,e){for(const n in e)Rt(t,n,e[n])}function zt(t,e){return t.getComputedStyle(e)||Ot}function Ct(t){return t.data}var Nt="__AMP__AD_CONTAINER",$t={"AMP-FX-FLYING-CARPET":!0,"AMP-LIGHTBOX":!0,"AMP-STICKY-AD":!0,"AMP-LIGHTBOX-GALLERY":!0};function Ht(t,e){const{position:n}=zt(e,t);return"fixed"==n||"sticky"==n}function Dt(t){if(void 0===t[Nt]){let e=t.parentElement;for(;e&&"BODY"!=e.tagName;){if($t[e.tagName])return t[Nt]=e.tagName;e=e.parentElement}t[Nt]=null}return t[Nt]}var Lt="amp-ad-ui",Ft={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right",BOTTOM_RIGHT:"bottom-right"},Wt="sticky",qt=class{constructor(t){if(this.G$=t,this.ja=t.element,this.za=t.win.document,this.tgt=null,this.egt=null,this.ja.hasAttribute(Wt)&&(this.ja.getAttribute(Wt)||T().error(Lt,'amp-ad sticky is deprecating empty attribute value, please use {const e=t.getChildren();1===e.length&&e[0]===this.ja&&this.G$.collapse()}));var t,e;let n;var r;this.tgt?(n=(r=this.ja.getAmpDoc(),N(r,"mutator")).attemptCollapse(this.tgt),n.then((()=>{}))):n=this.G$.attemptCollapse(),n.catch((()=>{this.G$.mutateElement((()=>{this.G$.togglePlaceholder(!1),this.G$.toggleFallback(!0)}))}))}applyUnlayoutUI(){this.G$.mutateElement((()=>{this.G$.toggleFallback(!1)}))}sgt(t){if("AMP-EMBED"==this.ja.tagName)return null;const e=this.za.createElement("div");e.setAttribute(t,"");const n=this.za.createElement("div");return n.classList.add("i-amphtml-ad-default-holder"),n.setAttribute("data-ad-holder-text","Ad"),e.appendChild(n),e}validateStickyAd(){z(this.za.querySelectorAll("amp-sticky-ad.i-amphtml-built, amp-ad[sticky].i-amphtml-built").length<=1,"At most one sticky ad can be loaded per page")}isStickyAd(){return null!==this.egt}maybeInitStickyAd(){if(this.isStickyAd()){const t=this.ja.getAmpDoc();Rt(this.ja,"visibility","visible"),this.egt==Ft.TOP&&(this.rgt=K(t).onScroll((()=>{const e=t.win.scrollY;Rt(this.ja,"visibility",e>50?"visible":"hidden")})),this.R_.push(this.rgt)),K(t).addToFixedLayer(this.ja,!0),this.adjustPadding(),this.ngt||(this.Ydt(),this.ngt=!0)}}getScrollPromiseForStickyAd(){return this.isStickyAd()?new Promise((t=>{const e=K(this.ja.getAmpDoc()).onScroll((()=>{t(),e()}))})):Promise.resolve(null)}adjustPadding(){if(this.egt==Ft.BOTTOM||this.egt==Ft.BOTTOM_RIGHT){const t=this.ja.offsetHeight;K(this.ja.getAmpDoc()).updatePaddingBottom(t)}}igt(){var t;(t=this.G$.win,C(t,"vsync")).mutate((()=>{const t=K(this.ja.getAmpDoc());t.removeFromFixedLayer(this.element),b(this.ja),t.updatePaddingBottom(0)})),this.rgt&&this.rgt()}Ydt(){const t=(e=this.ja.ownerDocument,n={"aria-label":this.ja.getAttribute("data-close-button-aria-label")||"Close this ad"},function(t,e){for(const n in e)t.setAttribute(n,e[n]);return t}(e.createElement("button"),n));var e,n;this.R_.push(function(t,e,n,r){let s=t,i=n,a=t=>{try{return i(t)}catch(t){var e,n;throw null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t),t}};const o=function(){if(void 0!==Et)return Et;Et=!1;try{const t={get capture(){return Et=!0,!1}};self.addEventListener("test-options",null,t),self.removeEventListener("test-options",null,t)}catch(t){}return Et}();return s.addEventListener(e,a,!!o&&r),()=>{null==s||s.removeEventListener(e,a,!!o&&r),i=null,s=null,a=null}}(t,"click",this.igt.bind(this),void 0)),t.classList.add("amp-ad-close-button"),this.ja.appendChild(t)}updateSize(t,e,n,r,s){let i,a;t=parseInt(t,10),isNaN(t)||(i=Math.max(this.ja.offsetHeight+t-n,t)),e=parseInt(e,10),isNaN(e)||(a=Math.max(this.ja.offsetWidth+e-r,e));const o={success:!0,newWidth:a,newHeight:i};if(!i&&!a)return Promise.reject(new Error("undefined width and height"));if("AMP-STICKY-AD"==Dt(this.ja))return o.success=!1,Promise.resolve(o);if(this.isStickyAd()){const n=this.G$.getViewport();if(t*e>.2*n.getHeight()*n.getWidth()||i>.5*n.getHeight())return o.success=!1,Promise.resolve(o)}return this.G$.attemptChangeSize(i,a,s).then((()=>(this.vd(this.ja.querySelector("iframe"),t,e),o)),(()=>(o.success=!1,o)))}vd(t,e,n){Vt(t,{"height":`${e}px`,"width":`${n}px`})}cleanup(){this.R_.forEach((t=>t())),this.R_.length=0}};t.AmpAdUIHandler=qt;var Ut=class{static generate(t){return function(t){const{length:e}=t;let n=5381;for(let r=0;r>>0)}(function(t){const e=[];let n=0;for(;l(t)&&n<25;){let r="";t.id&&(r=`/${t.id}`);const s=t.nodeName.toLowerCase();e.push(`${s}${r}${Gt(t)}`),n++,t=t.parentElement}return e.join()}(t))}};function Gt(t){const{nodeName:e}=t;let n=0,r=0,s=t.previousElementSibling;for(;s&&r<25&&n<100;)s.nodeName==e&&r++,n++,s=s.previousElementSibling;return r<25&&n<100?`.${r}`:""}function Bt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Jt(t){for(var e=1;e=0&&e<=1&&(a[t]=Math.random(){if(t)return t.get({scope:e,createCookieIfNotPresent:!0,cookieName:n},Promise.resolve(void 0)).catch((t=>{R().error("AD-CID",t)}))}));var a;return J(t.win).timeoutPromise(s,i,"cid timeout").catch((t=>{}))}(t.getAmpDoc(),e.clientIdScope,e.clientIdCookieName):n()}var Qt=/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org((\/.*)|($))+/,te="position";function ee(t){return"string"==typeof t&&t.startsWith("amp-")&&-1!=t.indexOf("{")}var ne,re="ini-load",se=["script","style"],ie=["amp-accordion","amp-app-banner","amp-carousel","amp-fit-text","amp-form","amp-selector","amp-sidebar"],ae=["action","alt","class","disabled","height","href","id","name","placeholder","readonly","src","tabindex","title","type","value","width"];function oe(t){const e=t.tagName.toLowerCase();return e.startsWith("amp-")?!(!ie.includes(e)||!t.textContent):!(se.includes(e)||!t.textContent)}function ce(t,e,n){n.push(`<${t.tagName.toLowerCase()}`),e.forEach((e=>{t.hasAttribute(e)&&n.push(` ${e}="${t.getAttribute(e)}"`)})),n.push(">")}function pe(t,e){return ne||(ne=self.document.createElement("a")),function(t,e,n){return t.href="",new URL(e,t.href)}(ne,t)}var de="unlisten";function me(t,e,n){const r=function(t,e){let{listeningFors:n}=t;return!n&&e&&(n=t.listeningFors=Object.create(null)),n||null}(t,n);if(!r)return r;let s=r[e];return!s&&n&&(s=r[e]=[]),s||null}function he(t,e){for(let n=e;n&&n!=n.parent;n=n.parent)if(n==t)return!0;return!1}function le(t){const e={"sentinel":de};for(let n=t.length-1;n>=0;n--){const r=t[n];if(!r.frame.contentWindow){t.splice(n,1);const{events:s}=r;for(const t in s)s[t].splice(0,1/0).forEach((t=>{t(e)}))}}}function ue(t,e,n,r,s,i){V(t.src),V(!t.parentNode),V(n);const a=t.ownerDocument.defaultView;!function(t){t.listeningFors||t.addEventListener("message",(function(e){if(!Ct(e))return;const n=function(t){return"string"==typeof t&&(t="{"==t.charAt(0)?m(t,(t=>{}))||null:ee(t)?function(t){if(!ee(t))return null;const e=t.indexOf("{");return u(-1!=e),m(t.substr(e),(e=>{!function(t){const e=A.apply(null,arguments);setTimeout((()=>{throw P(e),e}))}(new Error(`MESSAGING: Failed to parse message: ${t}\n${e.message}`))}))}(t):null),t}(Ct(e));if(!n||!n.sentinel)return;const r=function(t,e,n,r){const s=me(t,e);if(!s)return s;let i;for(let t=0;t-1&&d.splice(t,1),h=null,d=null,n=null}}}function fe(t,e,n){const r=[];return"string"==typeof e&&(e=[e]),new Promise((s=>{for(let i=0;i{for(let t=0;t{this.$g.some((t=>t.win==e))||this.$g.push({win:e,origin:n}),r(t,e,n)}),this.Wg,this.Wg)}send(t,e){(function(t,e){const n=[];let r=0;for(let e=0;ethis.jgt())),this.ygt=null}fire(){this.lgt&&(this.lgt.unobserve(this.Gg.element),this.lgt.observe(this.Gg.element))}Igt(){this.ygt&&(this.ygt(),this.ygt=null)}jgt(){this.Dg||(this.Dg=new IntersectionObserver((t=>{const e=t[t.length-1];this.wgt(e)})),this.Dg.observe(this.Gg.element)),this.lgt||(this.lgt=new IntersectionObserver((t=>{const e=t[t.length-1];this.Sgt(e)}))),this.fire()}wgt(t){const e=0!=t.intersectionRatio;if(this.Cc!=e)if(this.Cc=e,this.Sgt(t),e){const t=this.fire.bind(this),e=this.Gg.getViewport().onScroll(t),n=this.Gg.getViewport().onChanged(t);this.ygt=()=>{e(),n()}}else this.Igt()}Sgt(t){const e=Pt(t);null===e.rootBounds&&(e.rootBounds=this.Gg.getViewport().getRect()),this.ugt.length>0&&this.ugt[this.ugt.length-1].time==e.time||(this.ugt.push(e),this.fgt||(this.bgt(),this.fgt=this.qs.delay(this.ggt,100)))}bgt(){this.fgt=0,this.ugt.length&&(this.vgt.send("intersection",{"changes":this.ugt}),this.ugt.length=0)}destroy(){this.Dg&&(this.Dg.disconnect(),this.Dg=null),this.lgt&&(this.lgt.disconnect(),this.lgt=null),this.qs.cancel(this.fgt),this.Igt(),this.vgt.destroy()}}(this.G$,this.iframe),this.pgt=new ve(this.iframe,"send-embed-state",!0,(()=>this.kgt(this.Cc))),(Kt(this.i)["inabox-position-api"]||/^adsense$/i.test(this.ja.getAttribute("type"))&&!(function(t){return t.crypto&&(t.crypto.subtle||t.crypto.webkitSubtle)}(i=this.i)&&function(t){return Qt.test(t.location.origin)}(i)))&&(this.dgt=new ve(this.iframe,"send-positions",!0,(()=>{this.gf(),this._gt()}))),fe(this.iframe,"entity-id",!0).then((t=>{this.ja.creativeId=t.data.id})),this.xgt("get-html",(t=>{const e=t.selector,n=t.attributes;let r="";return this.ja.hasAttribute("data-html-access-allowed")&&(r=function(t,e,n){const r=t.document.querySelector(e),s=[];return r&&function(t,e,n){const r=[t],s=e.filter((t=>ae.includes(t)));for(;r.length>0;){const t=r.pop();if("string"==typeof t)n.push(t);else if(t.nodeType===Node.TEXT_NODE){var i;n.push(null!==(i=t.textContent)&&void 0!==i?i:"")}else if(l(t)&&oe(t)){ce(t,s,n),r.push(``);for(let e=t.lastChild;e;e=e.previousSibling)r.push(e)}}}(r,n,s),s.join("").replace(/\s{2,}/g," ")}(this.G$.win,e,n)),Promise.resolve(r)})),this.xgt("get-consent-state",(()=>this.G$.getConsentState().then((t=>({consentState:t}))))),this.R_.push(ue(this.iframe,"embed-size",((t,e,n,r)=>{t.hasOverflow&&(this.ja.warnOnMissingOverflow=!1),Date.now()-this.ogt>=500?this.DD(t.id,t.height,t.width,e,n,r):this.Agt(!1,t.id,t.width,t.height,e,n)}),!0,!0)),this.R_.push(this.G$.getAmpDoc().onVisibilityChanged((()=>{this.kgt(this.Cc)}))),this.R_.push(ue(this.iframe,"user-error-in-iframe",(t=>{this.Pgt(t.message,1==t.expected)}),!0,!0));const a=this.G$.loadPromise(this.iframe).then((()=>(this.iframe&&(this.iframe.readyState="complete"),r.promise(10)))),{promise:o,resolve:c}=new s,{promise:p,resolve:d}=new s;return this.G$.config&&this.G$.config.renderStartImplemented?fe(this.iframe,["render-start","no-content"],!0).then((t=>{const{data:e}=t;"render-start"==e.type?(this.Mgt(t),c()):(this.Egt(),d())})):(fe(this.iframe,"bootstrap-loaded",!0).then((()=>{c()})),fe(this.iframe,"no-content",!0).then((()=>{this.Egt(),d()}))),fe(this.iframe,re,!0).then((()=>{this.G$.signals().signal(re)})),this.ja.appendChild(this.iframe),e&&!n?(this.G$.renderStarted(),c()):Rt(this.iframe,"visibility","hidden"),(e&&n?o:Promise.race([o,a,r.promise(1e4)])).then((()=>{this.G$.renderStarted(),this.iframe&&Rt(this.iframe,"visibility","")})),Promise.race([a,p])}xgt(t,e){this.R_.push(ue(this.iframe,t,((n,r,s)=>{if(!this.iframe)return;const i=n.messageId,a=n.payload;e(a).then((e=>{const n={};n.messageId=i,n.content=e,ge(this.iframe,[{win:r,origin:s}],t+"-result",n,!0)}))}),!0,!1))}Mgt(t){const e=Ct(t);this.DD(void 0,e.height,e.width,t.source,t.origin,t.event)}freeXOriginIframe(t){this.We(),t||this.iframe&&(b(this.iframe),this.iframe=null)}Egt(){this.iframe&&(this.freeXOriginIframe(this.iframe.name.indexOf("_master")>=0),this.agt.applyNoContentUI())}We(){this.R_.forEach((t=>t())),this.R_.length=0,this.pgt&&(this.pgt.destroy(),this.pgt=null),this.dgt&&(this.dgt.destroy(),this.dgt=null),this.cgt&&(this.cgt.destroy(),this.cgt=null)}DD(t,e,n,r,s,i){this.G$.getVsync().mutate((()=>{if(!this.iframe)return;const a=this.iframe.offsetHeight,o=this.iframe.offsetWidth;this.agt.updateSize(e,n,a,o,i).then((e=>{e.success?this.ogt=0:this.ogt=Date.now(),this.agt.adjustPadding(),this.Agt(e.success,t,e.newWidth,e.newHeight,r,s)}),(()=>{}))}))}Agt(t,e,n,r,s,i){this.iframe&&ge(this.iframe,[{win:s,origin:i}],t?"embed-size-changed":"embed-size-denied",{"id":e,"requestedWidth":n,"requestedHeight":r},!0)}kgt(t){this.pgt&&this.pgt.send("embed-state",{"inViewport":t,"pageHidden":!this.G$.getAmpDoc().isVisible()})}Tgt(){return this.vu.getClientRectAsync(this.iframe).then((t=>(V(t),{"targetRect":t,"viewportRect":this.vu.getRect()})))}gf(){this.hgt||(this.hgt=!0,this.Tgt().then((t=>{this.hgt=!1,this.dgt.send(te,t)})))}_gt(){this.mgt||(this.mgt=!0,this.R_.push(this.vu.onScroll(function(t,e,n){let r=0,s=null;function i(n){s=null,r=t.setTimeout(a,100),e.apply(null,n)}function a(){r=0,s&&i(s)}return function(...t){r?s=t:i(t)}}(this.i,(()=>{this.Tgt().then((t=>{this.dgt.send(te,t)}))})))),this.R_.push(this.vu.onResize((()=>{this.Tgt().then((t=>{this.dgt.send(te,t)}))}))))}viewportCallback(t){this.Cc=t,this.kgt(t)}onLayoutMeasure(){this.cgt&&this.cgt.fire()}Pgt(t,e){if("string"==typeof t)if(e)R().expectedError("amp-ad-xorigin-iframe",t);else{const e=new Error(t);e.name="3pError",function(t,e){if(B(e).isSingleDoc()){const n={"errorName":t.name,"errorMessage":t.message};!function(t,e,n={},r=!0){var s;(s=t,G(s,"amp-analytics-instrumentation","amp-analytics")).then((s=>{s&&s.triggerEventForTarget(t,e,n,r)}))}(function(t){const e=B(t).getSingleDoc().getRootNode();return e.documentElement||e.body||e}(e),"user-error",n,!1)}}(e,this.G$.win)}}};t.AmpAdXOriginIframeHandler=Ie;var we=null,Se=null,ke=(()=>self.AMP.config.urls)();function _e(t,e,n,r){const s=Date.now(),i=e.getAttribute("width"),a=e.getAttribute("height");(r=r||{}).width=yt(i),r.height=yt(a),e.getAttribute("title")&&(r.title=e.getAttribute("title"));let o=t.location.href;"about:srcdoc"==o&&(o=t.parent.location.href);const c=D(e),p=Y(e),d=(h=e,N(h,"viewer")).getUnconfirmedReferrerUrl(),m=function(t){const e=t.ownerDocument.body;let n=0,r=0;for(let s=t;s&&s!=e;s=s.offsetParent)n+=s.offsetLeft,r+=s.offsetTop;const{offsetHeight:s,offsetWidth:i}=t;return It(n,r,i,s)}(e);var h,l,u,f;r._context={"ampcontextVersion":"2409061044000","ampcontextFilepath":`${ke.thirdParty}/2409061044000/ampcontext-v0.js`,"sourceUrl":p.sourceUrl,"referrer":d,"canonicalUrl":p.canonicalUrl,"pageViewId":p.pageViewId,"location":{"href":o},"startTime":s,"tagName":e.tagName,"mode":{localDev:!1,development:!1,esm:S(f).esm,test:!1,rtvVersion:S(f).rtvVersion},"canary":(l=t,!(null===(u=l.AMP_CONFIG)||void 0===u||!u.canary)),"hidden":!c.isVisible(),"initialLayoutRect":m?{"left":m.left,"top":m.top,"width":m.width,"height":m.height}:null,"domFingerprint":Ut.generate(e),"experimentToggles":Kt(t),"sentinel":n};const g=e.getAttribute("src");return g&&(r.src=g),r}var xe=(()=>self.AMP.config.urls)(),Ae={};function Pe(t){return`${xe.thirdParty}/2409061044000/vendor/${t}.mjs`}function Me(t,e,n){return function(t,e,n){const r=e.getMetaByName("amp-3p-iframe-src");if(!r)return null;const s=function(t,e,n="source"){return z(null!=t,"%s %s must be available",e,n),z(function(t){return"https:"==(t=(t=>"string"==typeof t?pe(t):t)(t)).protocol||"localhost"==t.hostname||"127.0.0.1"==t.hostname||function(t,e){const n=t.length-e.length;return n>=0&&t.indexOf(e,n)==n}(t.hostname,".localhost")}(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}(r,'meta[name="amp-3p-iframe-src"]');z(-1==s.indexOf("?"),"3p iframe url must not include query string %s in element %s.",s,r);const i=pe(s);return z("localhost"==i.hostname&&!n||i.origin!=pe(t.location.href).origin,"3p iframe url must not be on the same origin as the current document %s (%s) in element %s. See https://github.com/ampproject/amphtml/blob/main/docs/spec/amp-iframe-origin-policy.md for details.",s,i.origin,r),`${s}?2409061044000`}(t,e,n)||function(t,e){return t.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=t.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||"d-"+Ee(t),"https://"+t.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${xe.thirdPartyFrameHost}/2409061044000/frame.html`}(t)}function Ee(t){let e;if(t.crypto&&t.crypto.getRandomValues){const n=new Uint32Array(2);t.crypto.getRandomValues(n),e=String(n[0])+n[1]}else e=String(t.Math.random()).substr(2)+"0";return e}var Te=/nochunking=1/.test(self.location.hash),Oe=n();var Re="not_run",Ve=class{constructor(t){this.state=Re,this.vi=t}Ei(t){if("run"!=this.state){this.state="run";try{this.vi(t)}catch(t){throw this.Ti(t),t}}}Ri(){return this.vi.displayName||this.vi.name}Ti(t){}Ii(){return!1}Mi(){return!1}},ze=class extends Ve{constructor(t,e,n){super(t),this.yi=n}Ti(t){var e;V((e=self.document).defaultView),je||(je=!0,function(t){Vt(t.body,{opacity:1,visibility:"visible","animation":"none"})}(e))}Ii(){return this.wi()}Mi(){return this.yi.bi}wi(){return this.yi.ampdoc.isVisible()}},Ce=class{constructor(t){var e;this.ampdoc=t,this.i=t.win,this.Vi=new class{constructor(){this.Ai=[]}peek(){const t=this.length;return t?this.Ai[t-1].item:null}enqueue(t,e){if(isNaN(e))throw new Error("Priority must not be NaN.");const n=this.gi(e);this.Ai.splice(n,0,{item:t,priority:e})}gi(t){let e=-1,n=0,r=this.length;for(;n<=r&&(e=Math.floor((n+r)/2),e!==this.length);)if(this.Ai[e].priority0&&this.Ai[e-1].priority>=t))break;r=e-1}return e}forEach(t){let e=this.length;for(;e--;)t(this.Ai[e].item)}dequeue(){const t=this.Ai.pop();return t?t.item:null}get length(){return this.Ai.length}},this.Si=this.xi.bind(this),this.Oi=0,this.Ci=!(!this.i.navigator.scheduling||!this.i.navigator.scheduling.isInputPending),this.ki=!1,this.Pi=this.i.document.documentElement.hasAttribute("i-amphtml-no-boilerplate"),this.i.addEventListener("message",(t=>{"amp-macro-task"==Ct(t)&&this.xi(null)})),this.bi=!1,(e=t,$(e,"viewer")).then((()=>{this.bi=!0})),t.onVisibilityChanged((()=>{t.isVisible()&&this.Ni()}))}run(t,e){const n=new Ve(t);this.Di(n,e)}runForStartup(t){const e=new ze(t,this.i,this);this.Di(e,Number.POSITIVE_INFINITY)}Di(t,e){this.Vi.enqueue(t,e),this.Ni()}Li(t){let e=this.Vi.peek();for(;e&&e.state!==Re;)this.Vi.dequeue(),e=this.Vi.peek();return e&&t&&this.Vi.dequeue(),e}xi(t){const e=this.Li(!0);if(!e)return this.ki=!1,this.Oi=0,!1;let n;try{n=Date.now(),e.Ei(t)}finally{Oe.then().then().then().then().then().then().then().then().then((()=>{this.ki=!1,this.Oi+=Date.now()-n,this.Ni()}))}return!0}Ui(t){if(this.Pi&&(this.Ci?this.i.navigator.scheduling.isInputPending():this.Oi>5))return this.Oi=0,void this.$i();Oe.then((()=>{this.Si(t)}))}Ni(){if(this.ki)return;const t=this.Li();return t?t.Ii()?(this.ki=!0,void this.Ui(null)):void(t.Mi()&&this.i.requestIdleCallback?function(t,e,n,r){const s=Date.now();t.requestIdleCallback((function e(n){if(n.timeRemaining()<15){const i=2e3-(Date.now()-s);i<=0||n.didTimeout?r(n):t.requestIdleCallback(e,{timeout:i})}else r(n)}),{timeout:2e3})}(this.i,0,0,this.Si):this.$i()):void 0}$i(){this.i.postMessage("amp-macro-task","*")}},Ne=class extends t.BaseElement{constructor(t){super(t),this.Pg=null,this.config=null,this.uiHandler=null,this.HN=null,this.gg=null,this.xq=null,this.Ogt=!1,this.Rgt=null,this.ygt=null,this.R_=[],this.Dg=null,this.Og=void 0,this.Jt=null,this.qO=void 0,this.Vgt=!1,this.zgt=!1,this.Rj=null}getLayoutPriority(){return this.element.getAmpDoc().isSingleDoc()?2:1}renderOutsideViewport(){if(this.win["3pla"])return!1;const t=function(t){const e=t.getAttribute("data-loading-strategy");if(null==e)return null;if("prefer-viewability-over-views"==e||""==e)return 1.25;const n="Value of data-loading-strategy should be a float number in range of [0, 3], but got "+e,r=T().assertNumber(parseFloat(e),n);return z(r>=0&&r<=3,n),r}(this.element);return null!==t?t:super.renderOutsideViewport()}isLayoutSupported(t){return jt(t)}getResource(){return this.element.getResources().getResourceForElement(this.element)}getConsentPolicy(){const t=this.element.getAttribute("type"),e=h[t];return e&&e.consentHandlingOverride?null:super.getConsentPolicy()}buildCallback(){if(this.qO=this.element.getAttribute("type"),Math.round(this.getResource().getUpgradeDelayMs()),this.gg=this.getPlaceholder(),this.xq=this.getFallback(),this.config=h[this.qO],z(this.config,`Type "${this.qO}" is not supported in amp-ad`),this.uiHandler=new qt(this),this.uiHandler.validateStickyAd(),this.uiHandler.getScrollPromiseForStickyAd().then((()=>this.uiHandler.maybeInitStickyAd())),this.uiHandler.isStickyAd()&&function(t,e,n){if(Te)return void Oe.then(e);const r=function(t){return function(t,e,n,r){const s=D(t);!function(t,e,n,r,s,i){const a=q(t);let o=a[n];o||(o=a[n]={obj:null,promise:null,resolve:null,reject:null,context:null,ctor:null,sharedInstance:!1}),o.ctor||(o.ctor=r,o.context=e,o.sharedInstance=!1,o.resolve&&F(t,n))}(L(s),s,e,n)}(t,"chunk",Ce),N(t,"chunk")}(t);r.run(e,n)}(this.element,(()=>this.layoutCallback()),10),this.zgt=this.Cgt(),this.zgt)return this.Ngt()}Cgt(){return!!this.element.hasAttribute("data-full-width")&&(z("100vw"==this.element.getAttribute("width"),'Ad units with data-full-width must have width="100vw".'),z(!!this.config.fullWidthHeightRatio,"Ad network does not support full width ads."),!0)}preconnectCallback(t){const e=C(this.win,"preconnect");!function(t,e,n,r){const s=Me(t,n);r.preload(n,s,"document"),r.preload(n,Pe(e),"script")}(this.win,this.qO,this.getAmpDoc(),e),"string"==typeof this.config.prefetch?e.preload(this.getAmpDoc(),this.config.prefetch,"script"):this.config.prefetch&&this.config.prefetch.forEach((t=>{e.preload(this.getAmpDoc(),t,"script")})),"string"==typeof this.config.preconnect?e.url(this.getAmpDoc(),this.config.preconnect,t):this.config.preconnect&&this.config.preconnect.forEach((n=>{e.url(this.getAmpDoc(),n,t)}));const n=this.element.getAttribute("src");n&&e.url(this.getAmpDoc(),n)}onLayoutMeasure(){if(this.Ogt=!function(t,e){let n=!1,r=0,s=t;do{$t[s.tagName]?(r++,n=!1):Ht(s,e)&&(n=!0),s=s.parentElement}while(s&&"BODY"!=s.tagName);return!n&&r<=1}(this.element,this.win),void 0===this.Og&&(this.Og=Dt(this.element)),this.$gt(),this.HN&&this.HN.onLayoutMeasure(),this.zgt&&!this.Vgt){this.Vgt=!0;const t=this.getLayoutBox();this.getVsync().run({measure:t=>{t.direction=zt(this.win,this.element).direction},mutate:e=>{"rtl"==e.direction?Rt(this.element,"marginRight",t.left,"px"):Rt(this.element,"marginLeft",-t.left,"px")}},{direction:""})}}$gt(){if(this.HN&&this.HN.iframe){const t=this.getViewport().getLayoutRect(this.HN.iframe),e=this.getLayoutBox();this.Rgt=wt(t,-e.left,-e.top)}}getIntersectionElementLayoutBox(){if(!this.HN||!this.HN.iframe)return super.getIntersectionElementLayoutBox();const t=this.getLayoutBox();return this.Rgt||this.$gt(),wt(V(this.Rgt),t.left,t.top)}layoutCallback(){if(this.Jt)return this.Jt;z(!this.Ogt||this.uiHandler.isStickyAd()," is not allowed to be placed in elements with position:fixed: %s unless it has sticky attribute",this.element);const t=this.getConsentState(),e=super.getConsentPolicy(),n=e?function(t,e="default"){return X(t).then((t=>t?t.getConsentStringInfo(e):null))}(this.element,e):Promise.resolve(null),r=e?function(t,e="default"){return X(t).then((t=>t?t.getConsentMetadataInfo(e):null))}(this.element,e):Promise.resolve(null),i=e?(a=this.element,o=e,X(a).then((t=>t?t.getMergedSharedData(o):null))):Promise.resolve(null);var a,o;const c=Y(this.element).pageViewId64;return this.Jt=Promise.all([Zt(this),t,i,n,r,c]).then((t=>{const e={"clientId":t[0]||null,"container":this.Og,"initialConsentState":t[1],"consentSharedData":t[2],"initialConsentValue":t[3],"initialConsentMetadata":t[4],"pageViewId64":t[5]},n=this.element.getIntersectionChangeEntry(),r=function(t,e,n,r,s={}){const{allowFullscreen:i=!1,initialIntersection:a}=s;V(void 0===e.isConnected||!0===e.isConnected);const o=function(t,e,n,r){const s=n||e.getAttribute("type");z(s,"Attribute type required for : %s",e);const i=function(t){let e=0;for(let n=t;n&&n!=n.parent;n=n.parent)e++;return String(e)+"-"+Ee(t)}(t);let a={};return function(t,e){const{dataset:n}=t;for(const t in n)t.startsWith("vars")||(e[t]=n[t]);const r=t.getAttribute("json");if(r){const n=m(r);if(void 0===n)throw T().createError("Error parsing JSON in json attribute in element %s",t);for(const t in n)e[t]=n[t]}}(e,a),a=_e(t,e,i,a),a.type=s,Object.assign(a._context,r),a}(t,e,n,r);a&&(o._context.initialIntersection=a);const c=t.document.createElement("iframe");Ae[o.type]||(Ae[o.type]=0),Ae[o.type]+=1;const p=Me(t,e.getAmpDoc()),d=pe(p).hostname,h=JSON.stringify({"host":d,"bootstrap":Pe(o.type),"type":o.type,"count":Ae[o.type],"attributes":o});return c.src=p,c.ampLocation=pe(p),c.name=h,o.width&&(c.width=o.width),o.height&&(c.height=o.height),o.title&&(c.title=o.title),i&&c.setAttribute("allowfullscreen","true"),c.setAttribute("scrolling","no"),Rt(c,"border","none"),c.onload=function(){this.readyState="complete"},c.setAttribute("allow","sync-xhr 'none';"),["facebook"].includes(n)||function(t){if(!t.sandbox||!t.sandbox.supports)return;const e=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"];for(let n=0;n{this.Rj=function(t,e,n){const r=f(t);let s=_t.get(r);s||_t.set(r,s=St(At,r));let i=xt.get(t);return i||(i=[],xt.set(t,i)),i.push(e),s.observe(t),()=>{!function(t,e){const n=xt.get(t);if(!n)return;if(!function(t,e){const n=t.indexOf(e);return-1!=n&&(t.splice(n,1),!0)}(n,e))return;if(n.length)return;const r=f(t),s=_t.get(r);null==s||s.unobserve(t),xt.delete(t)}(t,e)}}(this.element,(({isIntersecting:t})=>this.Sj(t)))})),function(t,e){if(void 0===t["3pla"]&&(t["3pla"]=0),t["3pla"]++,!we){const t=new s;we=t.promise,Se=t.resolve}J(t).timeoutPromise(1e3,e).catch((()=>{})).then((()=>{--t["3pla"]||(Se(),we=null,Se=null)}))}(this.win,this.Jt),this.Jt}Sj(t){this.HN&&this.HN.viewportCallback(t)}unlayoutOnPause(){return!0}unlayoutCallback(){var t;return this.R_.forEach((t=>t())),this.R_.length=0,null===(t=this.Rj)||void 0===t||t.call(this),this.Rj=null,this.Jt=null,this.uiHandler.applyUnlayoutUI(),this.HN&&(this.HN.freeXOriginIframe(),this.HN=null),this.uiHandler&&this.uiHandler.cleanup(),!0}getConsentState(){const t=super.getConsentPolicy();return t?function(t,e="default"){return X(t).then((t=>t?t.whenPolicyResolved(e):null))}(this.element,t):Promise.resolve(null)}Ngt(){const t=this.getViewport().getSize(),e=Math.min(500,t.height),{width:n}=t,r=this.Hgt(n,e);return this.attemptChangeSize(r,n).then((()=>{}),(()=>{}))}Hgt(t,e){return"mcrspv"===this.element.getAttribute("data-auto-format")?function(t,e){const n={numberOfRows:e.getAttribute(pt),numberOfColumns:e.getAttribute(ct),layoutType:e.getAttribute(ot)};let r;return r=n.numberOfRows||n.numberOfColumns||n.layoutType?function(t,e){const n=function(t){let e=0;if(t.layoutType&&e++,t.numberOfColumns&&e++,t.numberOfRows&&e++,e<3)return{validationError:"Tags data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num should be set together."};const n=t.layoutType.split(","),r=t.numberOfRows.split(","),s=t.numberOfColumns.split(",");if(n.length!==r.length||n.length!==s.length)return{validationError:`Lengths of parameters data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num must match. Example: ${ut}`};if(n.length>2)return{validationError:`The parameter length of attribute data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num is too long. At most 2 parameters for each attribute are needed: one for mobile and one for desktop, while you are providing ${n.length} parameters. Example: ${ut}.`};const i=[],a=[];for(let t=0;t=468?1:0;const s=function(t){return 0===t.indexOf(lt)?t:lt+t}(n.layoutTypes[r]),i=function(t,e,n){const r=ht[n];let s=e;for(;t/s1;)s--;return s}(t,n.numberOfColumns[r],s),a=n.numberOfRows[r],o=function(t,e,n,r){const s=vt(gt(bt(t,e),r),n);return t>1500?{width:0,height:0,sizeError:"Calculated slot width is too large: "+t}:s>1500?{width:0,height:0,sizeError:"Calculated slot height is too large: "+s}:{width:t,height:s}}(t,i,a,s);return o.sizeError?{slotWidth:0,slotHeight:0,numberOfColumns:0,numberOfRows:0,layoutType:s,validationError:o.sizeError}:{slotWidth:o.width,slotHeight:o.height,numberOfColumns:i,numberOfRows:a,layoutType:s}}(t,n):function(t,e){if(t<468){if(e){const e=tt,n=1,r=12,s=function(t,e,n,r){const s=bt(t,n);return{width:t,height:Math.floor(s/1.91+70)+vt(gt(s,e),r-1)}}(t,e,n,r);return{slotWidth:s.width,slotHeight:s.height,numberOfColumns:n,numberOfRows:r,layoutType:e}}{const e=ft(t);return{slotWidth:e.width,slotHeight:e.height,numberOfColumns:1,numberOfRows:13,layoutType:Q}}}{const e=ft(t);return{slotWidth:e.width,slotHeight:e.height,numberOfColumns:4,numberOfRows:2,layoutType:Z}}}(t,t<=468),r.validationError?(T().error("AMP-AD",r.validationError),0):(e.setAttribute(pt,r.numberOfRows),e.setAttribute(ct,r.numberOfColumns),e.setAttribute(ot,r.layoutType),r.slotHeight)}(t,this.element):(n=Math.round(t/this.config.fullWidthHeightRatio),u(100<=(r=e)),Math.min(Math.max(n,100),r));var n,r}},$e={},He=null,De=class extends t.BaseElement{constructor(t){super(t),this.Vt=null,this.Dgt=null,this.uiHandler=null}getLayoutPriority(){return 0}isLayoutSupported(t){return jt(t)}buildCallback(){this.Vt=this.element.getAttribute("data-url"),this.Dgt=this.element.getAttribute("data-slot"),z(null===this.Dgt||this.Dgt.match(/^[0-9a-z]+$/),"custom ad slot should be alphanumeric: "+this.Dgt);const t=function(t,e){const n=L(D(t));return U(n,"url")?F(n,"url"):null}(this.element);z(this.Vt&&t.isSecure(this.Vt),"custom ad url must be an HTTPS URL"),this.uiHandler=new qt(this)}layoutCallback(){const t=this.Lgt(),e=$e[t]||(n=this.win,C(n,"xhr")).fetchJson(t).then((t=>t.json()));var n;return null!==this.Dgt&&($e[t]=e),e.then((t=>{let e=t;if(null!==this.Dgt&&(e=c(t,this.Dgt)?t[this.Dgt]:null),e&&"object"==typeof e){e=this.Fgt(e),this.renderStarted();try{(n=this.element,N(n,"templates")).findAndRenderTemplate(this.element,e).then((t=>{!function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}(this.element),this.element.appendChild(t),this.signals().signal(re)}))}catch(t){this.uiHandler.applyNoContentUI()}}else this.uiHandler.applyNoContentUI();var n}))}Fgt(t){if(e=this.element,g("template"),"> template",e.querySelector(function(t,e){return t.replace(/^|,/g,"$&:scope ")}("> template")))return t;var e;if(z(t.templateId,"TemplateId not specified"),z(t.data&&"object"==typeof t.data,"Template data not specified"),this.element.setAttribute("template",t.templateId),t.vars&&"object"==typeof t.vars){const e=t.vars,n=Object.keys(e);for(let t=0;t!0,"adzerk":()=>!0,"dianomi":()=>!0,"doubleclick":()=>!0,"fake":()=>!0,"mgid":(t,e)=>!e.hasAttribute("data-container")&&!e.hasAttribute("data-website"),"nws":()=>!0,"smartadserver":()=>!0,"valueimpression":()=>!0})),r),e=this.element.getAttribute("data-consent-notification-id"),s=e?(a=this.element,function(t,e,n,r){return G(t,"userNotificationManager",n,void 0).then((t=>function(t,e,n){return z(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.","userNotificationManager",n,n,n)}(t,0,n)))}(a,0,"amp-user-notification")).then((t=>t.get(e))):n(),i=this.element.getAttribute("type");var a;return s.then((()=>{const e="custom"===i;if(z(e||c(h,i)||c(t,i),`Unknown ad type "${i}"`),e)return new De(this.element);this.win.ampAdSlotIdCounter=this.win.ampAdSlotIdCounter||0;const n=this.win.ampAdSlotIdCounter++;return new Promise((e=>{this.getVsync().mutate((()=>{this.element.setAttribute("data-amp-slot-index",n);const r=this.element.getAmpDoc().getMetaByName("amp-3p-iframe-src");if(!t[i]||!t[i](this.win,this.element,r))return e(new Ne(this.element));const s=function(t){return`amp-ad-network-${t}-impl`}(i);var a;this.element.setAttribute("data-a4a-upgrade-type",s),e((a=this.win,C(a,"extensions")).loadElementClass(s).then((t=>new t(this.element))).catch((t=>{const e=this.element.tagName;return this.user().error(e,"Unable to load ad implementation for type ",i,", falling back to 3p, error: ",t),new Ne(this.element)})))}))}))}))}};t.registerElement("amp-ad",Le,'amp-ad iframe,amp-embed iframe{border:0!important;margin:0!important;padding:0!important;position:relative}.i-amphtml-ad-default-holder{position:absolute;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:hsla(0,0%,78%,.05)}.i-amphtml-ad-default-holder:after{content:"Ad";content:attr(data-ad-holder-text);background-color:transparent;border-radius:2px;color:#696969;font-size:10px;line-height:1;font-family:Arial,sans-serif;padding:3px 4px 1px;border:1px solid #696969}amp-ad[sticky]{visibility:hidden;-ms-flex-align:center;align-items:center}amp-ad[type=adsense],amp-ad[type=doubleclick]{direction:ltr}amp-ad[data-a4a-upgrade-type=amp-ad-network-adsense-impl]>iframe,amp-ad[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl]>iframe{min-height:0;min-width:0}amp-ad[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl][height=fluid]>iframe{height:100%!important;width:100%!important;position:relative}amp-ad[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl][height=fluid]{width:100%!important}amp-ad .amp-ad-close-button{position:absolute;width:28px;height:28px;right:0;background-image:url(\'data:image/svg+xml;charset=utf-8,\');background-size:13px 13px;background-position:9px;background-color:#fff;background-repeat:no-repeat;box-shadow:0 -1px 1px 0 rgba(0,0,0,.2);border:none;border-radius:12px 0 0 0}amp-ad .amp-ad-close-button:before{position:absolute;content:"";top:-20px;right:0;left:-20px;bottom:0}amp-ad[sticky=bottom-right] .amp-ad-close-button,amp-ad[sticky=bottom] .amp-ad-close-button,amp-ad[sticky=left] .amp-ad-close-button,amp-ad[sticky=right] .amp-ad-close-button{top:-28px}amp-ad[sticky=top] .amp-ad-close-button{transform:rotate(270deg);bottom:-28px}amp-ad[sticky=left] .amp-ad-close-button{transform:rotate(90deg);left:0}[dir=rtl] amp-ad .amp-ad-close-button{right:auto;left:0;border-top-left-radius:0;border-top-right-radius:12px;background-position:6px}[dir=rtl] amp-ad .amp-ad-close-button:before{right:-20px;left:0}amp-ad[sticky]{z-index:2147483647;position:fixed;overflow:visible!important;box-shadow:0 0 5px 0 rgba(0,0,0,.2)!important;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}amp-ad[sticky=top]{padding-bottom:5px;top:0}amp-ad[sticky=bottom],amp-ad[sticky=top]{width:100%!important;max-height:20%!important;background:#fff}amp-ad[sticky=bottom]{max-width:100%;padding-bottom:env(safe-area-inset-bottom,0px);bottom:0;padding-top:4px}amp-ad[sticky=bottom-right]{bottom:0;right:0}amp-ad[sticky=left],amp-ad[sticky=right]{background:#fff}amp-ad[sticky=left] iframe,amp-ad[sticky=right] iframe{max-width:120px!important}amp-ad[sticky=left]{left:0}amp-ad[sticky=right]{right:0}@media (max-width:1024px){amp-ad[sticky=left],amp-ad[sticky=right]{display:none!important}}\n/*# sourceURL=/extensions/amp-ad/0.1/amp-ad.css*/'),t.registerElement("amp-embed",Le)})(); /*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */}}); //# sourceMappingURL=amp-ad-0.1.mjs.map