/** 1712785483540 **/ !function t(e,n,i){function s(a,o){if(!n[a]){if(!e[a]){var c="function"==typeof require&&require;if(!o&&c)return c(a,!0);if(r)return r(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};e[a][0].call(u.exports,(function(t){return s(e[a][1][t]||t)}),u,u.exports,t,e,n,i)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a=0},r._isDisplayed=function(t){var e=t.getBoundingClientRect();return(0!==e.top||0!==e.left||0!==e.width||0!==e.height)&&"hidden"!==window.getComputedStyle(t).visibility},r.getTabbableElements=function(t,e){for(var n=t.querySelectorAll(this.focusableSelectors),i=n.length,s=[],r=0;r{e.forEach(e=>{t.removeAttribute(e)})})}},{}],6:[function(t,e,n){"use strict";var i=t(5),s=t(8),r="data-original-",a=function(t,e){var n=t.getAttribute(r+e);null!==n&&(""===n?i(t,e):t.setAttribute(e,n),i(t,r+e))};e.exports=function(t){a(t,"tabindex"),a(t,s.HIDDEN);for(var e=t.querySelectorAll("[".concat(r+"tabindex","]")),n=e.length;n--;)a(e[n],"tabindex")}},{5:5,8:8}],7:[function(t,e,n){"use strict";var i=t(6);e.exports=function t(e,n){n=n||document.body;for(var s=e,r=e;s=s.previousElementSibling;)i(s);for(;r=r.nextElementSibling;)i(r);e.parentElement&&e.parentElement!==n&&t(e.parentElement,n)}},{6:6}],8:[function(t,e,n){"use strict";e.exports={AUTOCOMPLETE:"aria-autocomplete",CHECKED:"aria-checked",DISABLED:"aria-disabled",EXPANDED:"aria-expanded",HASPOPUP:"aria-haspopup",HIDDEN:"aria-hidden",INVALID:"aria-invalid",LABEL:"aria-label",LEVEL:"aria-level",MULTILINE:"aria-multiline",MULTISELECTABLE:"aria-multiselectable",ORIENTATION:"aria-orientation",PRESSED:"aria-pressed",READONLY:"aria-readonly",REQUIRED:"aria-required",SELECTED:"aria-selected",SORT:"aria-sort",VALUEMAX:"aria-valuemax",VALUEMIN:"aria-valuemin",VALUENOW:"aria-valuenow",VALUETEXT:"aria-valuetext",ATOMIC:"aria-atomic",BUSY:"aria-busy",LIVE:"aria-live",RELEVANT:"aria-relevant",DROPEFFECT:"aria-dropeffect",GRABBED:"aria-grabbed",ACTIVEDESCENDANT:"aria-activedescendant",CONTROLS:"aria-controls",DESCRIBEDBY:"aria-describedby",FLOWTO:"aria-flowto",LABELLEDBY:"aria-labelledby",OWNS:"aria-owns",POSINSET:"aria-posinset",SETSIZE:"aria-setsize"}},{}],9:[function(t,e,n){"use strict";e.exports={selectors:["input","select","textarea","button","optgroup","option","menuitem","fieldset","object","a[href]","[tabindex]","[contenteditable]"].join(","),nodeName:{INPUT:"input",SELECT:"select",TEXTAREA:"textarea",BUTTON:"button",OPTGROUP:"optgroup",OPTION:"option",MENUITEM:"menuitem",FIELDSET:"fieldset",OBJECT:"object",A:"a"}}},{}],10:[function(t,e,n){"use strict";e.exports={assert:t(11),count:t(12),countReset:t(13),dir:t(14),dirxml:t(15),enabled:t(16),error:t(17),group:t(18),groupCollapsed:t(19),groupEnd:t(20),info:t(21),log:t(23),profile:t(24),profileEnd:t(25),table:t(26),time:t(27),timeEnd:t(28),trace:t(29),warn:t(30)}},{11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30}],11:[function(t,e,n){"use strict";e.exports=t(22)("assert")},{22:22}],12:[function(t,e,n){"use strict";e.exports=t(22)("count")},{22:22}],13:[function(t,e,n){"use strict";e.exports=t(22)("countReset")},{22:22}],14:[function(t,e,n){"use strict";e.exports=t(22)("dir")},{22:22}],15:[function(t,e,n){"use strict";e.exports=t(22)("dirxml")},{22:22}],16:[function(t,e,n){"use strict";var i=!1,s=window||self;try{i=!!s.localStorage.getItem("f7c9180f-5c45-47b4-8de4-428015f096c0")}catch(t){}e.exports=i},{}],17:[function(t,e,n){"use strict";e.exports=t(22)("error")},{22:22}],18:[function(t,e,n){"use strict";e.exports=t(22)("group")},{22:22}],19:[function(t,e,n){"use strict";e.exports=t(22)("groupCollapsed")},{22:22}],20:[function(t,e,n){"use strict";e.exports=t(22)("groupEnd")},{22:22}],21:[function(t,e,n){"use strict";e.exports=t(22)("info")},{22:22}],22:[function(t,e,n){"use strict";var i=t(16);e.exports=function(t){return function(){if(i&&"object"==typeof window.console&&"function"==typeof console[t])return console[t].apply(console,Array.prototype.slice.call(arguments,0))}}},{16:16}],23:[function(t,e,n){"use strict";e.exports=t(22)("log")},{22:22}],24:[function(t,e,n){"use strict";e.exports=t(22)("profile")},{22:22}],25:[function(t,e,n){"use strict";e.exports=t(22)("profileEnd")},{22:22}],26:[function(t,e,n){"use strict";e.exports=t(22)("table")},{22:22}],27:[function(t,e,n){"use strict";e.exports=t(22)("time")},{22:22}],28:[function(t,e,n){"use strict";e.exports=t(22)("timeEnd")},{22:22}],29:[function(t,e,n){"use strict";e.exports=t(22)("trace")},{22:22}],30:[function(t,e,n){"use strict";e.exports=t(22)("warn")},{22:22}],31:[function(t,e,n){"use strict";e.exports={EventEmitterMicro:t(32)}},{32:32}],32:[function(t,e,n){"use strict";function i(){this._events={}}var s=i.prototype;s.on=function(t,e){this._events[t]=this._events[t]||[],this._events[t].unshift(e)},s.once=function(t,e){var n=this;this.on(t,(function i(s){n.off(t,i),void 0!==s?e(s):e()}))},s.off=function(t,e){if(this.has(t)){if(1===arguments.length)return this._events[t]=null,void delete this._events[t];var n=this._events[t].indexOf(e);-1!==n&&this._events[t].splice(n,1)}},s.trigger=function(t,e){if(this.has(t))for(var n=this._events[t].length-1;n>=0;n--)void 0!==e?this._events[t][n](e):this._events[t][n]()},s.has=function(t){return t in this._events!=!1&&0!==this._events[t].length},s.destroy=function(){for(var t in this._events)this._events[t]=null;this._events=null},e.exports=i},{}],33:[function(t,e,n){"use strict";e.exports=function(t,e){var n;function i(){var i=arguments,s=function(){n=null,t.apply(this,i)}.bind(this);clearTimeout(n),n=setTimeout(s,e)}return i.cancel=function(){clearTimeout(n)},i}},{}],34:[function(t,e,n){e.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},{}],35:[function(t,e,n){e.exports=function(t){return t&&t.__esModule?t:{default:t}}},{}],36:[function(t,e,n){"use strict";e.exports=Object.freeze({ELEMENT:1,TEXT:3,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11})},{}],37:[function(t,e,n){"use strict";var i=t(38);e.exports=function(t,e){return i.insertNode(t,"insertBefore"),i.childNode(e,"insertBefore"),i.hasParentNode(e,"insertBefore"),e.parentNode.insertBefore(t,e)}},{38:38}],38:[function(t,e,n){"use strict";var i=t(40),s=t(36),r=s.COMMENT,a=s.DOCUMENT_FRAGMENT,o=s.ELEMENT,c=s.TEXT,l=[o,c,r,a],u=[o,c,r],h=[o,a];e.exports={parentNode:function(t,e,n){if(n=n||"target",t&&!i(t,h))throw new TypeError(e+": "+n+" must be an Element, or Document Fragment")},childNode:function(t,e,n){if(n=n||"target",t&&!i(t,u))throw new TypeError(e+": "+n+" must be an Element, TextNode, or Comment")},insertNode:function(t,e,n){if(n=n||"node",t&&!i(t,l))throw new TypeError(e+": "+n+" must be an Element, TextNode, Comment, or Document Fragment")},hasParentNode:function(t,e,n){if(n=n||"target",!t.parentNode)throw new TypeError(e+": "+n+" must have a parentNode")}}},{36:36,40:40}],39:[function(t,e,n){"use strict";e.exports=function(t){return!(!t||!t.nodeType)}},{}],40:[function(t,e,n){"use strict";var i=t(39);e.exports=function(t,e){return!!i(t)&&("number"==typeof e?t.nodeType===e:!!Array.isArray(e)&&-1!==e.indexOf(t.nodeType))}},{39:39}],41:[function(t,e,n){"use strict";var i=t(40),s=t(57),r=t(60),a=t(77),o=t(1),c=t(42),l=t(44),u=t(43),h=t(36).ELEMENT,d={className:"localnav"},f=function(t,e){var n;e=Object.assign({},d,e),this.el=t,n=e.selector||"."+e.className,this._selectors={traySelector:e.traySelector||"."+e.className+"-menu-tray",viewportEmitterID:e.viewportEmitterID||e.className+"-viewport-emitter",curtainID:e.curtainID||e.className+"-curtain",menuStateID:e.menuStateID||e.className+"-menustate",menuOpeningClassName:e.menuOpeningClassName||e.className+"-opening"},this._selectors.clickAwaySelector=n+", #"+this._selectors.curtainID+", #"+this._selectors.menuStateID,this.tray=this.el.querySelector(this._selectors.traySelector),this.stickyEnabled=this._getStickyEnabled(),this._transitionsAvailable=r("transition"),this._viewports=new a(this._selectors.viewportEmitterID),this.stickyEnabled&&(this._sticky=new l(this.el,e)),this.circTab=new o(this.el),this._initializeMenu()};f.create=function(t,e){return new f(t,e)};var p=f.prototype;p._getStickyEnabled=function(){return this.el.hasAttribute("data-sticky")},p._initializeMenu=function(){var t=document.getElementById(this._selectors.menuStateID),e=document.getElementById(this._selectors.menuStateID+"-open"),n=document.getElementById(this._selectors.menuStateID+"-close"),i="onpopstate"in window?"popstate":"beforeunload";t&&e&&n&&(this.menu=new c(t,e,n),this.menu.on("open",this._onMenuOpen.bind(this)),this.menu.on("close",this._onMenuClose.bind(this)),this._viewports.on("change:viewport",this._onViewportChange.bind(this)),window.addEventListener("scroll",this._onScroll.bind(this)),window.addEventListener("touchmove",this._onScroll.bind(this)),window.addEventListener("keydown",this._onKeyDown.bind(this)),this.tray.addEventListener("click",this._onTrayClick.bind(this)),this._closeMenu=this._closeMenu.bind(this),window.addEventListener(i,this._closeMenu),window.addEventListener("orientationchange",this._closeMenu),new u(this._selectors.clickAwaySelector).on("click",this._closeMenu),this._transitionsAvailable&&this.tray.addEventListener("transitionend",this._enableMenuScroll.bind(this)))},p._onMenuOpen=function(){this._menuCollapseOnScroll=null,this.circTab.start(),this.tray.removeAttribute("aria-hidden","false"),this._transitionsAvailable&&this._disableMenuScrollbar()},p._onMenuClose=function(){this.tray.setAttribute("aria-hidden","true"),this.circTab.stop()},p._onScroll=function(t){var e;this.menu.isOpen()&&(null===this._menuCollapseOnScroll&&(this._menuCollapseOnScroll=this.tray.offsetHeight>=this.tray.scrollHeight),this._menuCollapseOnScroll?(this._closeMenu(),this.menu.anchorOpen.focus()):(e=t.target,i(e,h)&&s(e,this._selectors.traySelector,!0)||(t.preventDefault(),this._menuCollapseOnScroll=!0)))},p._onTrayClick=function(t){"href"in t.target&&this._closeMenu()},p._onKeyDown=function(t){!this.menu.isOpen()||"Escape"!==t.code&&27!==t.keyCode||(this._closeMenu(),this.menu.anchorOpen.focus())},p._onViewportChange=function(t){"medium"!==t.to&&"large"!==t.to||this._closeMenu()},p._disableMenuScrollbar=function(){this.el.classList.add(this._selectors.menuOpeningClassName)},p._enableMenuScroll=function(){this.el.classList.remove(this._selectors.menuOpeningClassName)},p._closeMenu=function(){this.menu.close()},p.destroy=function(){},e.exports=f},{1:1,36:36,40:40,42:42,43:43,44:44,57:57,60:60,77:77}],42:[function(t,e,n){"use strict";var i=t(32);function s(t,e,n){i.call(this),this.el=t,this.anchorOpen=e,this.anchorClose=n,this._lastOpen=this.el.checked,this.el.addEventListener("change",this.update.bind(this)),this.anchorOpen.addEventListener("click",this._anchorOpenClick.bind(this)),this.anchorClose.addEventListener("click",this._anchorCloseClick.bind(this)),this.anchorOpen.addEventListener("keydown",this._anchorOpenKeyDown.bind(this)),this.anchorClose.addEventListener("keydown",this._anchorCloseKeyDown.bind(this)),window.location.hash==="#"+t.id&&(window.location.hash="")}s.create=function(t,e,n){return new s(t,e,n)};var r=i.prototype,a=s.prototype=Object.create(r);s.prototype.constructor=s,a.update=function(){var t=this.isOpen();t!==this._lastOpen&&(this.trigger(t?"open":"close"),this._lastOpen=t)},a.isOpen=function(){return this.el.checked},a.toggle=function(){this.isOpen()?this.close():this.open()},a.open=function(){this.el.checked||(this.el.checked=!0,this.update())},a.close=function(){this.el.checked&&(this.el.checked=!1,this.update())},a._anchorOpenClick=function(t){t.preventDefault(),this.open(),this.anchorClose.focus()},a._anchorCloseClick=function(t){t.preventDefault(),this.close(),this.anchorOpen.focus()},a._anchorOpenKeyDown=function(t){"Space"!==t.code&&32!==t.keyCode||this._anchorOpenClick(t)},a._anchorCloseKeyDown=function(t){"Space"!==t.code&&32!==t.keyCode||this._anchorCloseClick(t)},e.exports=s},{32:32}],43:[function(t,e,n){"use strict";var i=t(32),s=t(58);function r(t){i.call(this),this._selector=t,this._touching=!1,document.addEventListener("click",this._onClick.bind(this)),document.addEventListener("touchstart",this._onTouchStart.bind(this)),document.addEventListener("touchend",this._onTouchEnd.bind(this))}var a=i.prototype,o=r.prototype=Object.create(a);r.prototype.constructor=r,o._checkTarget=function(t){var e=t.target;s(e,this._selector,!0).length||this.trigger("click",t)},o._onClick=function(t){this._touching||this._checkTarget(t)},o._onTouchStart=function(t){this._touching=!0,this._checkTarget(t)},o._onTouchEnd=function(){this._touching=!1},e.exports=r},{32:32,58:58}],44:[function(t,e,n){"use strict";var i=t(31).EventEmitterMicro,s=t(60),r=t(37),a=t(53),o=t(65),c=o.browser.edge,l=function(t,e){i.call(this),this.el=t,this.stuck=!1,this._selectors={placeholderID:e.placeholderID||e.className+"-sticky-placeholder",stuckClassName:e.stuckClassName||e.className+"-sticking"},this._createPlaceholder(),this._featureDetection(),this._updatePosition=this._updatePosition.bind(this),this._updatePlaceholderOffset=this._updatePlaceholderOffset.bind(this),window.addEventListener("scroll",this._updatePosition),document.addEventListener("touchmove",this._updatePosition),window.addEventListener("resize",this._updatePlaceholderOffset),window.addEventListener("orientationchange",this._updatePlaceholderOffset),"acStore"in window&&(window.acStore.getStorefront().then(this._updatePlaceholderOffset),window.acStore.on("storefrontChange",this._updatePlaceholderOffset))};l.create=function(t,e){return new l(t,e)};var u=i.prototype,h=l.prototype=Object.create(u);l.prototype.constructor=l,h._featureDetection=function(){var t="css-sticky";s("position","sticky")&&!c||(t="no-"+t),this.el.classList.add(t),this.placeholder.classList.add(t)},h._createPlaceholder=function(){this.placeholder=document.createElement("div"),this.placeholder.id=this._selectors.placeholderID,r(this.placeholder,this.el),this._updatePlaceholderOffset()},h._updatePlaceholderOffset=function(){var t=this.placeholder.offsetTop;(t+=document.documentElement.offsetTop+document.body.offsetTop)!==this._placeholderOffset&&(this._placeholderOffset=t,this._updatePosition())},h._updatePosition=function(){a("y")>this._placeholderOffset?this.stuck||(this.el.classList.add(this._selectors.stuckClassName),this.placeholder.classList.add(this._selectors.stuckClassName),this.stuck=!0,this.trigger("stuck")):this.stuck&&(this.el.classList.remove(this._selectors.stuckClassName),this.placeholder.classList.remove(this._selectors.stuckClassName),this.stuck=!1,this.trigger("unstuck"))},e.exports=l},{31:31,37:37,53:53,60:60,65:65}],45:[function(t,e,n){"use strict";var i=t(49),s=t(47),r=t(51),a=t(52),o=t(48),c=function(t,e){var n=r(t),s=!1!==e&&r(e);return i[t]=i[e]=i[n]=i[s]={dom:e,css:s},e};e.exports=function(t){var e,n,r,l;if((t+="")in i)return i[t].dom;for(r=s(),n=(t=a(t)).charAt(0).toUpperCase()+t.substring(1),e="filter"===t?["WebkitFilter","filter"]:(t+" "+o.dom.join(n+" ")+n).split(" "),l=0;l0&&(e+=","),e+=arguments[t];return e};e.exports=function(t,e){e=e||i;var n=function n(){var i=arguments,s=e.apply(this,i);return s in n.cache||(n.cache[s]=t.apply(this,i)),n.cache[s]};return n.cache={},n}},{}],62:[function(t,e,n){"use strict";e.exports={browser:{safari:!1,chrome:!1,firefox:!1,ie:!1,opera:!1,android:!1,edge:!1,edgeChromium:!1,samsung:!1,version:{string:"",major:0,minor:0,patch:0,documentMode:!1}},os:{osx:!1,ios:!1,android:!1,windows:!1,linux:!1,fireos:!1,chromeos:!1,version:{string:"",major:0,minor:0,patch:0}}}},{}],63:[function(t,e,n){"use strict";e.exports={browser:[{name:"edge",userAgent:"Edge",version:["rv","Edge"],test:function(t){return t.ua.indexOf("Edge")>-1||"Mozilla/5.0 (Windows NT 10.0; Win64; x64)"===t.ua}},{name:"edgeChromium",userAgent:"Edge",version:["rv","Edg"],test:function(t){return t.ua.indexOf("Edg")>-1&&-1===t.ua.indexOf("Edge")}},{name:"chrome",userAgent:"Chrome"},{name:"firefox",test:function(t){return t.ua.indexOf("Firefox")>-1&&-1===t.ua.indexOf("Opera")},version:"Firefox"},{name:"android",userAgent:"Android"},{name:"safari",test:function(t){return t.ua.indexOf("Safari")>-1&&t.vendor.indexOf("Apple")>-1},version:"Version"},{name:"ie",test:function(t){return t.ua.indexOf("IE")>-1||t.ua.indexOf("Trident")>-1},version:["MSIE","rv"],parseDocumentMode:function(){var t=!1;return document.documentMode&&(t=parseInt(document.documentMode,10)),t}},{name:"opera",userAgent:"Opera",version:["Version","Opera"]},{name:"samsung",userAgent:"SamsungBrowser"}],os:[{name:"windows",test:function(t){return t.ua.indexOf("Windows")>-1},version:"Windows NT"},{name:"osx",userAgent:"Mac",test:function(t){return t.ua.indexOf("Macintosh")>-1}},{name:"ios",test:function(t){return t.ua.indexOf("iPhone")>-1||t.ua.indexOf("iPad")>-1},version:["iPhone OS","CPU OS"]},{name:"linux",userAgent:"Linux",test:function(t){return(t.ua.indexOf("Linux")>-1||t.platform.indexOf("Linux")>-1)&&-1===t.ua.indexOf("Android")}},{name:"fireos",test:function(t){return t.ua.indexOf("Firefox")>-1&&t.ua.indexOf("Mobile")>-1},version:"rv"},{name:"android",userAgent:"Android",test:function(t){return t.ua.indexOf("Android")>-1}},{name:"chromeos",userAgent:"CrOS"}]}},{}],64:[function(t,e,n){"use strict";var i=t(62),s=t(63);function r(t,e){if("function"==typeof t.parseVersion)return t.parseVersion(e);var n,i=t.version||t.userAgent;"string"==typeof i&&(i=[i]);for(var s,r=i.length,a=0;a1)return s[1].replace(/_/g,".");return!1}function a(t,e,n){for(var i,s,a=t.length,o=0;o-1&&(i=t[o].name),i){if(e[i]=!0,"string"==typeof(s=r(t[o],n.ua))){var c=s.split(".");e.version.string=s,c&&c.length>0&&(e.version.major=parseInt(c[0]||0),e.version.minor=parseInt(c[1]||0),e.version.patch=parseInt(c[2]||0))}else"edge"===i&&(e.version.string="12.0.0",e.version.major="12",e.version.minor="0",e.version.patch="0");return"function"==typeof t[o].parseDocumentMode&&(e.version.documentMode=t[o].parseDocumentMode()),e}return e}e.exports=function(t){var e={};return e.browser=a(s.browser,i.browser,t),e.os=a(s.os,i.os,t),e}},{62:62,63:63}],65:[function(t,e,n){"use strict";var i={ua:window.navigator.userAgent,platform:window.navigator.platform,vendor:window.navigator.vendor};e.exports=t(64)(i)},{64:64}],66:[function(t,e,n){"use strict";e.exports={majorVersionNumber:"3.x"}},{}],67:[function(t,e,n){"use strict";var i,s=t(31).EventEmitterMicro,r=t(73),a=t(72);function o(t){t=t||{},s.call(this),this.id=a.getNewID(),this.executor=t.executor||r,this._reset(),this._willRun=!1,this._didDestroy=!1}(i=o.prototype=Object.create(s.prototype)).run=function(){return this._willRun||(this._willRun=!0),this._subscribe()},i.cancel=function(){this._unsubscribe(),this._willRun&&(this._willRun=!1),this._reset()},i.destroy=function(){var t=this.willRun();return this.cancel(),this.executor=null,s.prototype.destroy.call(this),this._didDestroy=!0,t},i.willRun=function(){return this._willRun},i.isRunning=function(){return this._isRunning},i._subscribe=function(){return this.executor.subscribe(this)},i._unsubscribe=function(){return this.executor.unsubscribe(this)},i._onAnimationFrameStart=function(t){this._isRunning=!0,this._willRun=!1,this._didEmitFrameData||(this._didEmitFrameData=!0,this.trigger("start",t))},i._onAnimationFrameEnd=function(t){this._willRun||(this.trigger("stop",t),this._reset())},i._reset=function(){this._didEmitFrameData=!1,this._isRunning=!1},e.exports=o},{31:31,72:72,73:73}],68:[function(t,e,n){"use strict";var i,s=t(32);function r(t){t=t||{},this._reset(),this.updatePhases(),this.eventEmitter=new s,this._willRun=!1,this._totalSubscribeCount=-1,this._requestAnimationFrame=window.requestAnimationFrame,this._cancelAnimationFrame=window.cancelAnimationFrame,this._boundOnAnimationFrame=this._onAnimationFrame.bind(this),this._boundOnExternalAnimationFrame=this._onExternalAnimationFrame.bind(this)}(i=r.prototype).frameRequestedPhase="requested",i.startPhase="start",i.runPhases=["update","external","draw"],i.endPhase="end",i.disabledPhase="disabled",i.beforePhaseEventPrefix="before:",i.afterPhaseEventPrefix="after:",i.subscribe=function(t,e){return this._totalSubscribeCount++,this._nextFrameSubscribers[t.id]||(e?this._nextFrameSubscribersOrder.unshift(t.id):this._nextFrameSubscribersOrder.push(t.id),this._nextFrameSubscribers[t.id]=t,this._nextFrameSubscriberArrayLength++,this._nextFrameSubscriberCount++,this._run()),this._totalSubscribeCount},i.subscribeImmediate=function(t,e){return this._totalSubscribeCount++,this._subscribers[t.id]||(e?this._subscribersOrder.splice(this._currentSubscriberIndex+1,0,t.id):this._subscribersOrder.unshift(t.id),this._subscribers[t.id]=t,this._subscriberArrayLength++,this._subscriberCount++),this._totalSubscribeCount},i.unsubscribe=function(t){return!!this._nextFrameSubscribers[t.id]&&(this._nextFrameSubscribers[t.id]=null,this._nextFrameSubscriberCount--,0===this._nextFrameSubscriberCount&&this._cancel(),!0)},i.getSubscribeID=function(){return this._totalSubscribeCount+=1},i.destroy=function(){var t=this._cancel();return this.eventEmitter.destroy(),this.eventEmitter=null,this.phases=null,this._subscribers=null,this._subscribersOrder=null,this._nextFrameSubscribers=null,this._nextFrameSubscribersOrder=null,this._rafData=null,this._boundOnAnimationFrame=null,this._onExternalAnimationFrame=null,t},i.useExternalAnimationFrame=function(t){if("boolean"==typeof t){var e=this._isUsingExternalAnimationFrame;return t&&this._animationFrame&&(this._cancelAnimationFrame.call(window,this._animationFrame),this._animationFrame=null),!this._willRun||t||this._animationFrame||(this._animationFrame=this._requestAnimationFrame.call(window,this._boundOnAnimationFrame)),this._isUsingExternalAnimationFrame=t,t?this._boundOnExternalAnimationFrame:e||!1}},i.updatePhases=function(){this.phases||(this.phases=[]),this.phases.length=0,this.phases.push(this.frameRequestedPhase),this.phases.push(this.startPhase),Array.prototype.push.apply(this.phases,this.runPhases),this.phases.push(this.endPhase),this._runPhasesLength=this.runPhases.length,this._phasesLength=this.phases.length},i._run=function(){if(!this._willRun)return this._willRun=!0,0===this.lastFrameTime&&(this.lastFrameTime=performance.now()),this._animationFrameActive=!0,this._isUsingExternalAnimationFrame||(this._animationFrame=this._requestAnimationFrame.call(window,this._boundOnAnimationFrame)),this.phase===this.disabledPhase&&(this.phaseIndex=0,this.phase=this.phases[this.phaseIndex]),!0},i._cancel=function(){var t=!1;return this._animationFrameActive&&(this._animationFrame&&(this._cancelAnimationFrame.call(window,this._animationFrame),this._animationFrame=null),this._animationFrameActive=!1,this._willRun=!1,t=!0),this._isRunning||this._reset(),t},i._onAnimationFrame=function(t){for(this._subscribers=this._nextFrameSubscribers,this._subscribersOrder=this._nextFrameSubscribersOrder,this._subscriberArrayLength=this._nextFrameSubscriberArrayLength,this._subscriberCount=this._nextFrameSubscriberCount,this._nextFrameSubscribers={},this._nextFrameSubscribersOrder=[],this._nextFrameSubscriberArrayLength=0,this._nextFrameSubscriberCount=0,this.phaseIndex=0,this.phase=this.phases[this.phaseIndex],this._isRunning=!0,this._willRun=!1,this._didRequestNextRAF=!1,this._rafData.delta=t-this.lastFrameTime,this.lastFrameTime=t,this._rafData.fps=0,this._rafData.delta>=1e3&&(this._rafData.delta=0),0!==this._rafData.delta&&(this._rafData.fps=1e3/this._rafData.delta),this._rafData.time=t,this._rafData.naturalFps=this._rafData.fps,this._rafData.timeNow=Date.now(),this.phaseIndex++,this.phase=this.phases[this.phaseIndex],this.eventEmitter.trigger(this.beforePhaseEventPrefix+this.phase),this._currentSubscriberIndex=0;this._currentSubscriberIndex0&&this.rafEmitter.executor.phaseIndex<=this.phaseIndex?this._phaseActive?(this._currentFrameID=this.rafEmitter.executor.subscribeImmediate(this.rafEmitter,!0),this._frameCallbacks.push(this._currentFrameID,t),this._frameCallbackLength+=2):(this._currentFrameID=this.rafEmitter.executor.subscribeImmediate(this.rafEmitter,!1),this._currentFrameCallbacks.push(this._currentFrameID,t),this._currentFrameCallbacksLength+=2):(this._currentFrameID=this.rafEmitter.run(),this._nextFrameCallbacks.push(this._currentFrameID,t),this._nextFrameCallbacksLength+=2),this._currentFrameID},r.cancelAnimationFrame=function(t){this._cancelFrameIdx=this._nextFrameCallbacks.indexOf(t),this._cancelFrameIdx>-1?this._cancelNextAnimationFrame():(this._cancelFrameIdx=this._currentFrameCallbacks.indexOf(t),this._cancelFrameIdx>-1?this._cancelCurrentAnimationFrame():(this._cancelFrameIdx=this._frameCallbacks.indexOf(t),this._cancelFrameIdx>-1&&this._cancelRunningAnimationFrame()))},r._onRAFExecuted=function(t){for(this._frameCallbackIteration=0;this._frameCallbackIterationt.classList.remove("hidden")),t(n,!1)},showSearchForm:function(){h.setAttribute("aria-hidden",!0),h.setAttribute("tabindex",-1),u.setAttribute("aria-hidden",!0),u.setAttribute("tabindex",-1),i.classList.add("visible"),document.documentElement.classList.add("localnav-search-active"),l.forEach(t=>t.classList.add("hidden")),t(n,!0)},basePath:e.basePath,locale:e.locale,localnav:e.localnav},{callback:c.default});const n=document.getElementById("localnav");new s.default(n,{className:"localnav"});const i=document.getElementById("ns-curtain"),l=document.querySelectorAll(".localnav-menu-item"),u=document.querySelector(".localnav-menucta-anchor-close"),h=document.querySelector(".localnav-menucta-anchor-open")}()},{35:35,41:41,80:80,83:83,84:84,85:85}],79:[function(t,e,n){"use strict";var i=t(35);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var s=i(t(81)),r=i(t(82));const{ref:a}=window.Vue,o=(t,e)=>{e.preventDefault(),t&&setTimeout(()=>{t.focus()},0)};var c={name:"LocalnavDropdown",template:'\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
{{quickLinksCopy}}
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
{{suggestionsCopy}}
\n\t\t\t\t\t
    \n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
  • \n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t',props:{formAction:String,closeEl:HTMLElement,inputEl:HTMLElement,quickLinks:Array,suggestions:Array,quickLinksCopy:String,suggestionsCopy:String},setup(t){const e=a(null),n=a(null),i=a(window.innerWidth<768?document.querySelector(".localnav-menu-search-close-sm"):t.closeEl),c=a(t.inputEl);function l(i){const s=window.innerWidth<768,r=s?document.querySelector(".localnav-menu-search-close-sm"):t.closeEl;if(document.activeElement===t.inputEl&&"Tab"===i.key&&!i.shiftKey)return s||t.inputEl.value?void o(r,i):void o(e.value[0],i);if(document.activeElement===t.inputEl&&"Tab"===i.key&&i.shiftKey)o(n.value[0],i);else{if(document.activeElement!==n.value[0]||"Tab"!==i.key||i.shiftKey)return document.activeElement===e.value[0]&&"Tab"===i.key&&i.shiftKey?s||t.inputEl.value?void o(r,i):void o(t.inputEl,i):void(document.activeElement!==r||"Tab"!==i.key||i.shiftKey?document.activeElement===r&&"Tab"===i.key&&i.shiftKey&&o(t.inputEl,i):o(e.value[0],i));o(t.inputEl,i)}}return(0,s.default)(i,"keydown",l),(0,s.default)(c,"keydown",l),(0,s.default)(e,"keydown",l),(0,s.default)(n,"keydown",l),(0,r.default)(()=>{i.value=window.innerWidth<768?document.querySelector(".localnav-menu-search-close-sm"):t.closeEl}),{getLetterClass:({highlightStartIndex:t,highlightEndIndex:e},n)=>null===t||null===e||ne?"":"localnav-search__dropdown-text-emphasized",getRef:(i,s)=>t.suggestions.length||"quickLinks"!==i||s+1!==t.quickLinks.length?"suggestions"===i&&s+1===t.suggestions.length?n:"quickLinks"===i&&0===s?e:t.quickLinks.length||"suggestions"!==i||0!==s?null:e:n,getUrl:e=>"".concat(t.formAction,"/?q=").concat(encodeURIComponent(e))}}};n.default=c},{35:35,81:81,82:82}],80:[function(t,e,n){"use strict";var i=t(35);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var s=i(t(79)),r=i(t(33)),a=t(87);const{onBeforeUnmount:o,computed:c,ref:l,watch:u,nextTick:h}=window.Vue,d=(0,a.isPreviewEnvironment)();function f(t,e){e.forEach(e=>{if(e.highlightStartIndex=null,e.highlightEndIndex=null,t.length>2){const n=e.label.toUpperCase().match(t.toUpperCase());n&&(e.highlightStartIndex=n.index,e.highlightEndIndex=e.highlightStartIndex+t.length-1)}})}var p={name:"LocalnavSearch",components:{LocalnavDropdown:s.default},template:'\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t{{ localnav.searchCopy }}\n\t\t\t\t{{ localnav.searchCopyMobile }}\n\t\t\t\n\t\t\n\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t 0 ? \'\' : \'hidden\'"\n\t\t\t\t\t\tref="closeElRef"\n\t\t\t\t\t\tclass="localnav-menu-search-close icon icon-before icon-close"\n\t\t\t\t\t\ttype="button"\n\t\t\t\t\t\taria-label="Close search"\n\t\t\t\t\t\tdata-analytics-title="clear search"\n\t\t\t\t\t\tdata-analytics-click="prop3:clear - search field"\n\t\t\t\t\t\tdata-analytics-intrapage-link\n\t\t\t\t\t>\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t\t\n\t',props:{basePath:String,hideSearchForm:Function,showSearchForm:Function,locale:String,localnav:Object},setup(t){const e=l(""),n=l(window.innerWidth<780?t.localnav.mobilePlaceholder:t.localnav.desktopPlaceholder),i=l([]),s=l([]),a=l([]),p=l([]),m=l(!1),_=l(null),b=l(null),v=l(null),g=l(window.innerWidth);!async function(){const e=d?"/northstar/main/suggestions.search.json":"".concat("/tv-pr/search/aml","/suggestions/defaultlinks?locale=").concat(t.locale,"&src=atvp_press_serp"),n=await fetch(e),i=await n.json();s.value=i.results.find(t=>"quickLinks"===t.sectionName).sectionResults,p.value=i.results.find(t=>"suggestions"===t.sectionName).sectionResults}(),document.querySelector(".localnav-menu-search-close-sm").addEventListener("click",()=>{m.value=!1}),document.addEventListener("keyup",t=>{"Escape"===t.code&&(m.value=!1)},!0),document.getElementById("ns-curtain").addEventListener("click",()=>{m.value=!1},!0);const E=(0,r.default)(()=>{window.innerWidth!==g.value&&(n.value=window.innerWidth<780?t.localnav.mobilePlaceholder:t.localnav.desktopPlaceholder,g.value=window.innerWidth,m.value=!1)},200);window.addEventListener("resize",E),o(()=>{window.removeEventListener("resize",E)}),u(m,()=>{m.value?(document.body.classList.add("no-scroll"),t.showSearchForm(),h(()=>b.value.focus())):(document.body.classList.remove("no-scroll"),t.hideSearchForm(),e.value="",h(()=>_.value.focus()))}),u(e,(0,r.default)(()=>{e.value.length>2&&async function(t,e,n){const i=await fetch(d?"/northstar/main/suggestions.search.json":t+"/quicklinks",d?{}:{method:d?"GET":"POST",body:JSON.stringify({locale:e,query:n,src:"atvp_press_serp"}),headers:{"Content-Type":"application/json"}}),s=await i.json();return{quickLinks:s.results.find(t=>"quickLinks"===t.sectionName).sectionResults,suggestions:s.results.find(t=>"suggestions"===t.sectionName).sectionResults}}("/tv-pr/search/aml",t.locale,e.value).then(({quickLinks:t,suggestions:e})=>{i.value=t||{},a.value=e||{}})},500));const w=c(()=>{let t=(e.value.length?i.value:s.value).slice(0,e.value.trim().length>2?4:5);return f(e.value.trim(),t),t}),x=c(()=>{let t=(e.value.length?a.value:p.value).slice(0,4);return f(e.value.trim(),t),t});const y=c(()=>{let e="";switch(t.locale){case"en_US":e="/";break;case"en_GB":e="/uk";break;case"fr_CA":e="/ca/fr";break;default:{const n=t.locale.match(/_(\w+)/);e=n?"/"+n[1].toLowerCase():""}}return"/".concat(e,"/").concat(t.basePath,"/search").replace(/\/+/g,"/")});return{toggleIsSearchActive:function(){m.value=!m.value},isSearchActive:m,closeElRef:v,formAction:y,onInputChange:function(t){e.value=t.target.value},inputElRef:b,inputPlaceholder:n,inputValue:e,onInputKeypress:function(t){"Enter"===t.key&&""===e.value.trim()&&t.preventDefault()},quickLinks:w,searchBtnRef:_,suggestions:x}}};n.default=p},{33:33,35:35,79:79,87:87}],81:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,e,n,o={}){r(()=>{a(t)&&a(t).removeEventListener(e,n,o)}),s(function(t){if(t instanceof Element||t instanceof HTMLDocument)return i(t);return t}(t),(t,i)=>{i&&a(i)&&a(i).removeEventListener(e,n,o),t&&a(t)&&a(t).addEventListener(e,n,o)},{immediate:!0})};const{ref:i,watch:s,onUnmounted:r}=window.Vue;function a(t){return t?t instanceof Element||t instanceof HTMLDocument?t:Array.isArray(t)?a(t[0]):a(t.value):null}},{}],82:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){const e=s(window.atvp.viewportEmitter.viewport);return i(()=>{window.atvp.viewportEmitter.on("change:viewport",n=>{t&&t(n),e.value=n.viewport})}),e};const{onMounted:i,ref:s}=window.Vue},{}],83:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){t.directive("viewport-change",{mounted(t,e){window.atvp.viewportEmitter.on("change:viewport",(function(t){e.value(t)}))}})}},{}],84:[function(t,e,n){"use strict";var i=t(35);Object.defineProperty(n,"__esModule",{value:!0}),n.getEndpoint=p,n.fetchPageData=async function(t,e){Object.keys(f).includes(t)||s.default.error("Invalid `pageType` passed to `fetchPageData`");const n=p(t);try{const t=await fetch(n);return await t.json()}catch(t){if(s.default.error(t),e)return e;throw t}};var s=i(t(10)),r=i(t(86));const a="IC24",o="CMS",c="STAGING_PROD";function l(t=0){let e=(0,r.default)(window.location.pathname);e=e.replace(/\.[^/.]+$/,"");const n=e.split("/");return n[n.length-1-t]}const u=window.location.pathname.startsWith("/northstar/main/")?a:window.location.hostname.includes("voyagercms")?o:c,h=function(){if(u!==c)return"";return window.location.pathname.split("/tv-pr")[0]+"/tv-pr"}(),d={ABOUT:{[c]:"".concat(h,"/")},COLLECTION:{[c]:"".concat(h,"/collections/")},COLLECTIONS:{[c]:"".concat(h,"/")},COLLECTION_NEWS:{[c]:"".concat(h,"/collections/").concat(l(1),"/")},COLLECTION_ORIGINALS:{[c]:"".concat(h,"/collections/").concat(l(1),"/")},FILM:{[c]:"".concat(h,"/originals/")},FILM_IMAGES:{[c]:"".concat(h,"/originals/")},HOME:{[c]:"".concat(h)},NEWS_POST:{[c]:"".concat(h,"/news/").concat(l(2),"/").concat(l(1),"/")},ORIGINALS:{[c]:"".concat(h,"/")},PODCAST:{[c]:"".concat(h,"/originals/")},PODCAST_EPISODES:{[c]:"".concat(h,"/originals/")},SEARCH:{[c]:"".concat(h,"/")},SITE:{[c]:"".concat(h,"/")},SHOW:{[c]:"".concat(h,"/originals/")},SHOW_EPISODES_IMAGES:{[c]:"".concat(h,"/originals/")}},f={ABOUT:{[a]:"about.json",[o]:"about.about.json",[c]:"about.about.json"},COLLECTION:{[a]:"collections/collectionname.json",[o]:"".concat(l(),".json"),[c]:"".concat(l(),".json")},COLLECTIONS:{[a]:"collections.collections.json",[o]:"collections.collections.json",[c]:"collections.collections.json"},COLLECTION_NEWS:{[a]:"collections/collectionname/news.json",[o]:"".concat(l(),".json"),[c]:"news.json"},COLLECTION_ORIGINALS:{[a]:"collections/collectionname/originals.json",[o]:"".concat(l(),".json"),[c]:"originals.json"},FILM:{[a]:"film.json",[o]:"index.landing.json",[c]:"".concat(l(),".landing.json")},FILM_IMAGES:{[a]:"film.images.json",[o]:"index.images.json",[c]:"".concat(l(1),".images.json")},HOME:{[a]:"home.json",[o]:"index.home-page.json",[c]:".home-page.json"},NEWS_POST:{[a]:"post.json",[o]:"".concat(l(),".post-images.json"),[c]:"".concat(l(),".post-images.json")},ORIGINALS:{[a]:"originals.json",[o]:"originals.originals.json",[c]:"originals.originals.json"},PODCAST:{[a]:"podcast.json",[o]:"index.landing.json",[c]:"".concat(l(),".landing.json")},PODCAST_EPISODES:{[a]:"podcast.episodes.json",[o]:"index.episodes.json",[c]:"".concat(l(1),".episodes.json")},SEARCH:{[a]:"search.json",[o]:"search.json",[c]:"search.json"},SITE:{[a]:"apple-tvplus-press.json",[o]:"apple-tvplus-press.json",[c]:"apple-tvplus-press.json"},SHOW:{[a]:"show.json",[o]:"index.landing.json",[c]:"".concat(l(),".landing.json")},SHOW_EPISODES_IMAGES:{[a]:"show.episodes-images.json",[o]:"index.images.json",[c]:"".concat(l(1),".images.json")}};function p(t){Object.keys(f).includes(t)||s.default.error("Invalid `pageType` passed to `getEndpoint`");let e=d[t][u];return u===a?e="/northstar/main/":u===o&&(e="".concat(function(){let t=window.location.pathname;return t=(0,r.default)(t),t.endsWith(".html")&&(t=t.replace(/[^/]*$/,""),t=(0,r.default)(t)),t}(),"/")),e+f[t][u]}},{10:10,35:35,86:86}],85:[function(t,e,n){"use strict";var i=t(35);Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,e,n={},i={},s){const{callback:a}=o(o({},l),i),u=c(e,n);if((0,r.default)(u),a(u),s){const t=s();u.use(t)}u.mount(t)};var s=i(t(34)),r=i(t(88));function a(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 o(t){for(var e=1;e{}}},{34:34,35:35,88:88}],86:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=t=>t.replace(/\/$/,"")},{}],87:[function(t,e,n){"use strict";e.exports={getBaseUrl:t=>window.location.pathname.split(t)[0].concat(t),getPageParameters:t=>{const e=window.location.pathname.indexOf("index.html")>=0?"index.html".concat(window.location.search):"",n=t>1?"page=".concat(t):"";let i="";return e.length>0&&n.length>0?i="?".concat([e,n].join("&")):e.length>0&&!n.length?i="?".concat(e):!e.length&&n.length>0&&(i="?".concat(n)),i},setDocumentTitle:(t,e=!1)=>{Array.from(document.querySelectorAll("title")).forEach(e=>{e.innerHTML=t}),e&&(Array.from(document.querySelectorAll("meta[property=og\\:title]")).forEach(e=>{e.setAttribute("content",t)}),Array.from(document.querySelectorAll("meta[name=twitter\\:title]")).forEach(e=>{e.setAttribute("content",t)}))},setDocumentDescription:(t,e=!1)=>{const n=e?"meta[name=description], meta[name=Description], meta[property=og\\:description], meta[name=twitter\\:description]":"meta[name=description], meta[name=Description]";Array.from(document.querySelectorAll(n)).forEach(e=>{e.setAttribute("content",t)})},pushHistoryState:t=>{history.pushState({},"",t)},replaceHistoryState:t=>{history.replaceState({},"",t)},isPreviewEnvironment:()=>window.location.host.indexOf("ic24")>-1}},{}],88:[function(t,e,n){"use strict";const i=t(10).warn,s=t(10).error,r=t(10).log;e.exports=t=>{t.config.performance=!0,t.config.warnHandler=(t,e,n)=>{i(t),r(n),r(e)},t.config.errorHandler=(t,e,n)=>{s(t),r(n),r(e)}}},{10:10}]},{},[78]);