/** 1712785483540 **/ !function e(t,n,i){function r(o,a){if(!n[o]){if(!t[o]){var h="function"==typeof require&&require;if(!a&&h)return h(o,!0);if(s)return s(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[o]={exports:{}};t[o][0].call(d.exports,(function(e){return r(t[o][1][e]||e)}),d,d.exports,e,t,n,i)}return n[o].exports}for(var s="function"==typeof require&&require,o=0;othis.originalSize&&this._onResize(),this.isDetecting||(window.ResizeObserver?(this.resizeObserver=new ResizeObserver(this._onResize),this.resizeObserver.observe(this.span)):this.iframe.contentWindow.addEventListener("resize",this._onResize),this.isDetecting=!0)},r._resize=function(){this.currentSize=parseFloat(window.getComputedStyle(this.span)["font-size"]),this.originalSize=0;n--)void 0!==t?this._events[e][n](t):this._events[e][n]()},r.has=function(e){return e in this._events!=!1&&0!==this._events[e].length},r.destroy=function(){for(var e in this._events)this._events[e]=null;this._events=null},t.exports=i},{}],4:[function(e,t,n){"use strict";const i=e(2).EventEmitterMicro,r=[{name:"S",mediaQuery:"only screen and (max-width: 734px)"},{name:"M",mediaQuery:"only screen and (min-width: 735px) and (max-width: 1068px)"},{name:"L",mediaQuery:"only screen and (min-width: 1069px) and (max-width: 1440px)"},{name:"X",mediaQuery:"only screen and (min-width: 1441px)"}],s="only screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 1.5dppx), screen and (min-resolution: 144dpi)",o="only screen and (orientation: portrait)";class a extends i{constructor(e={}){super(),this.BREAKPOINTS=e.breakpoints||r,this._setupProperties(),this._onRetinaChange=this._onRetinaChange.bind(this),this._onOrientationChange=this._onOrientationChange.bind(this),this.listenersAdded={orientation:!1,retina:!1,viewport:!1}}static get CHANGE_EVENTS(){return{ORIENTATION:"change:orientation",RETINA:"change:retina",VIEWPORT:"change:viewport"}}on(){this._setupListeners(arguments[0]),super.on.apply(this,arguments)}_onRetinaChange(){this.trigger(a.CHANGE_EVENTS.RETINA,this)}_onOrientationChange(){this.trigger(a.CHANGE_EVENTS.ORIENTATION,this)}_setupProperties(){Object.defineProperty(this,"retina",{get:()=>window.matchMedia(s).matches}),Object.defineProperty(this,"orientation",{get:()=>window.matchMedia(o).matches?"portrait":"landscape"}),this.viewport=this.getBreakpoint()}_setupListeners(e){if(e!==a.CHANGE_EVENTS.RETINA||this.listenersAdded.retina||(window.matchMedia(s).addListener(this._onRetinaChange),this.listenersAdded.retina=!0),e!==a.CHANGE_EVENTS.ORIENTATION||this.listenersAdded.orientation||(window.matchMedia(o).addListener(this._onOrientationChange),this.listenersAdded.orientation=!0),e===a.CHANGE_EVENTS.VIEWPORT&&!this.listenersAdded.viewport){for(let e=0;e{e.matches&&(this.oldViewport=this.viewport,this.viewport=t.name,this.trigger(a.CHANGE_EVENTS.VIEWPORT,this))})}this.listenersAdded.viewport=!0}}getBreakpoint(){for(let e=0;e0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),o?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,i=Object.keys(t);n0},e}(),y="undefined"!=typeof WeakMap?new WeakMap:new t,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=a.getInstance(),i=new b(t,n,this);y.set(this,i)};return["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=y.get(this))[e].apply(t,arguments)}})),void 0!==i.ResizeObserver?i.ResizeObserver:E},"object"==typeof n&&void 0!==t?t.exports=i():"function"==typeof define&&define.amd?define(i):(void 0).ResizeObserver=i()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],6:[function(e,t,n){"use strict";const i=e(4),r=e(7),s=e(1);!function(){const e=document.documentElement.classList.contains("touch"),t=document.documentElement.classList.contains("safari");s.detect(),r.apply();const n=new i({breakpoints:[{name:"S",mediaQuery:"only screen and (max-width: 734px)"},{name:"M",mediaQuery:"only screen and (min-width: 735px) and (max-width: 1068px)"},{name:"L",mediaQuery:"only screen and (min-width: 1069px) and (max-width: 1440px)"},{name:"X",mediaQuery:"only screen and (min-width: 1441px)"}]});window.atvp={isTouch:e,isSafari:t,viewportEmitter:n},e&&window.addEventListener("orientationchange",()=>{!function(e,t=30){let n=window.innerHeight,i=0;window.requestAnimationFrame((function r(){let s=window.innerHeight;if(n!==s)i=0;else if(i++,i>=t)return void e();n=s,window.requestAnimationFrame(r)}))}(window.scrollBy.bind(null,0,1),30)});"apple-tv-plus-press.apple.com"===window.location.hostname&&window.s&&(window.s.trackingServerSecure="securemetrics.apple.com")}()},{1:1,4:4,7:7}],7:[function(e,t,n){"use strict";const i={ResizeObserver:e(5)};t.exports={apply(){Object.keys(i).forEach(e=>{"undefined"==typeof window||window[e]||(window[e]=i[e])})}}},{5:5}]},{},[6]);