PageSourceSearch

https://www.nbcuniversalgreenerlight.com/js/bolt.js?v=1786569672275

js nbcuniversalgreenerlight.com collected 2026-10-04 19:34:26 UTC 449,601 bytes, 3 lines download raw bytes

1/*! For license information please see bolt.js.LICENSE.txt */
2!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var n in i)("object"==typeof exports?exports:e)[n]=i[n]}}("undefined"!=typeof self?self:this,(()=>(()=>{var e,t,i,n,r={2507(e,t,i){try{let e="about:"===location.protocol?window.parent:window,t=e.location.origin+e.location.pathname.replace(/\/[^/]*$/,"/");i.p=t+(window.__RELATIVE_ROOT__||"")}catch(e){}},5415(e,t,i){"use strict";i.d(t,{A:()=>a});var n=i(4296),r=i(6430),o=i(4311);const s={container:"burgerMenu__container__RNqIp",showtimes:"burgerMenu__showtimes___ZOMQ",navOpen:"burgerMenu__navOpen__b4xTp",back:"burgerMenu__back__AJVXB",homeEnt:"burgerMenu__homeEnt__l13TY",pressKit:"burgerMenu__pressKit__DOYCm",homeScrolled:"burgerMenu__homeScrolled__ZhEdE",video:"burgerMenu__video__miKBt",searching:"burgerMenu__searching__jeYql",customBurgerMenu:"burgerMenu__customBurgerMenu__EqfoI",oneSheetOverlayOpen:"burgerMenu__oneSheetOverlayOpen__Rv3n0",trailerOverlayOpen:"burgerMenu__trailerOverlayOpen__ycThn",calendarRemindOpen:"burgerMenu__calendarRemindOpen__tOCnb",close:"burgerMenu__close__AFOk0",oneSheetOverlay:"burgerMenu__oneSheetOverlay__K7mZ7",trailerOverlay:"burgerMenu__trailerOverlay__mULla",calendarRemind:"burgerMenu__calendarRemind__cckPN",line:"burgerMenu__line__vhN_w",burger:"burgerMenu__burger__KS4M4",hidden:"burgerMenu__hidden__ExEQq"};class a extends n.uA{render(e){const{type:t,style:i,lineStyle:a,dark:l,hidden:c,showtimesOverlayOpen:d,homeEntOverlayOpen:h,pressKitOverlayOpen:p,widgetFullyExpanded:u,navOpen:g,homeScrolled:f,isSinglePageIframed:m,showtimesSearchOverlay:y,videoOverlayOpen:_,oneSheetOverlay:v,oneSheetOverlayOpen:b,trailerOverlayOpen:w,trailerOverlay:A,calendarRemind:k,calendarRemindOpen:S,extraClass:E,customBurgerMenu:C,hubTextOverlayOpen:T}=e;return(0,n.h)("div",{class:(0,r.XS)(s.container,s[t],l&&s.dark,(d||u)&&s.showtimes,h&&s.homeEnt,p&&s.pressKit,g&&s.navOpen,f&&s.homeScrolled,(m||c)&&s.hidden,y&&s.searching,_&&s.video,v&&s.oneSheetOverlay,b&&s.oneSheetOverlayOpen,w&&s.trailerOverlayOpen,A&&s.trailerOverlay,S&&s.calendarRemindOpen,T&&s.hubTextOverlayOpen,k&&s.calendarRemind,C&&s.customBurgerMenu,E),style:i},C?.icon?(0,n.h)(o.A,{markdown:!0,inline:!0},C?.icon):(0,n.h)("div",null,(0,n.h)("div",{style:a,class:s.line}),(0,n.h)("div",{style:a,class:s.line}),(0,n.h)("div",{style:a,class:s.line})))}}},4864(e,t,i){"use strict";i.d(t,{A:()=>l});var n=i(4180),r=(i(187),i(9659),i(7e3),i(4296)),o=i(6430),s=i(1158);const a={container:"button__container__Vgkga",primary:"button__primary__JkbQR",outlined:"button__outlined__L52sA",floating:"button__floating__Elewb",time:"button__time__Ndxk6",interstitial:"button__interstitial__Z_8fj",noHover:"button__noHover__G6tl3",allStyling:"button__allStyling__iHyRz",icon:"button__icon__qI18a",tag:"button__tag__VCfyJ",active:"button__active__t9Wy6",text:"button__text__Zqxzg"};class l extends r.uA{constructor(e){super(e),this.supportedTypes=["plain","primary","outlined","text","time","tag","floating","icon"]}render(e){const{type:t,variant:i,htmlType:l="button",active:c,class:d,activeClass:h,style:p,trigger:u,onMouseEnter:g,onMouseLeave:f,onMouseOut:m,onMouseDown:y,onKeyDown:_,onFocus:v,tabIndex:b,disabled:w,children:A,ariaLabel:k,href:S,target:E,download:C,forwardedRef:T,...O}=e;if(t&&!this.supportedTypes.includes(t))return void console.error(`Bolt.Button does not support a type of ${t}. Supported types are: ${this.supportedTypes.join(", ")}`);const I=(0,o.wh)(p,"backgroundColor"),L=(0,o.wh)(s.A.get(),"appData.styling.enableDisableAllButtonStyling.showtimes");let D="button",x={type:l};return S&&(D="a",x={href:S,target:E,download:C}),Object.entries(O).forEach((([e,t])=>{e.startsWith("data-")&&(x[e]=t)})),(0,r.h)(D,(0,n.A)({class:(0,o.XS)(a.container,c&&a.active,L&&a.allStyling,I&&a.noHover,a[t],a[i],d,c&&h),style:p,onClick:u,onMouseEnter:g,onMouseLeave:f,onMouseDown:y,onMouseOut:m,onKeyDown:_,onFocus:v,disabled:w,tabIndex:b,ariaLabel:k,ref:T},x),A)}}},6744(e,t,i){"use strict";i.d(t,{A:()=>v});var n=i(4296),r=i(6430);const o="countdown__wrapper__A1wwf",s="countdown__visible__z7jYe",a="countdown__hide__GjtbD",l="countdown__remove__iaDqx",c="countdown__heading__ItakV",d="countdown__annotation__kdtlE",h="countdown__countdown__Y86Zb",p="countdown__denomination__KmCFi",u="countdown__value__C2wF7",g="countdown__wide__o5apd",f="countdown__label__WvLkm";var m=i(4311),y=i(9248);const _=36e5;class v extends n.uA{constructor(e){var t;if(super(e),this.state={remaining:{days:0,hours:0,minutes:0,seconds:0},counting:!1},this.target=(0,r._U)(e.datetime),(t=this.target)instanceof Date&&!isNaN(t)){let t=function(e){if(null==e)return null;if(!Number.isNaN(+e)&&Math.abs(e)<15)return 60*e;if("string"==typeof e){let t=e.trim().match(/^([+-]?)(\d\d??)(?::?(\d\d))?$/);return t?("-"===t[1]?-1:1)*(60*+t[2]+(+t[3]||0)):null}return null}(e.timeOffset);null!==t&&this.target.setMinutes(this.target.getMinutes()-this.target.getTimezoneOffset()-t)}else console.error('Invalid Date! The "Target Date and Time" item isn\'t formatted correctly in Thundr: '+e.datetime),this.target=null;this.startTimer=this.startTimer.bind(this),this.stopTimer=this.stopTimer.bind(this),this.updateTime=this.updateTime.bind(this),this.onClick=this.onClick.bind(this)}componentDidMount(){this.startTimer()}startTimer(){clearInterval(this.timer),this.counting=!0,this.updateTime(),this.timer=setInterval(this.updateTime,1e3),this.setState({counting:!0}),this.props.onStart?.()}stopTimer(){clearInterval(this.timer),this.counting=!1,this.setState({counting:!1,remaining:{days:0,hours:0,minutes:0,seconds:0}}),this.props.onStop?.()}updateTime(){if(!this.target)return this.stopTimer();let e=Math.max(this.target-Date.now(),0);if(!e)return this.stopTimer();const t=Math.floor(e/1e3%60),i=Math.floor(e/6e4%60),n=Math.floor(e/_%24),r=Math.floor(e/864e5);this.setState({remaining:{days:r,hours:n,minutes:i,seconds:t}})}
2onClick(e){(0,y.$s)(e)}renderValue(e,t,i){const o=(0,r.wh)(this.props,["appData","copy","baseCopy","$DATETIME_LOCALE",t],i);return("Days"!==i||e<=99)&&(e=("0"+e).slice(-2)),(0,n.h)("div",{class:(0,r.XS)(p,"number"==typeof e&&g)},(0,n.h)("div",{class:(0,r.XS)(u,"h1")},e),(0,n.h)("div",{class:f},o))}render({heading:e,annotation:t,hidden:i,visible:p,position:u,headerHeight:g},{remaining:f,counting:y}){const{days:_,hours:v,minutes:b,seconds:w}=f,A={paddingTop:"top"===u&&`${g+24}px`};return(0,n.h)("div",{style:A,class:(0,r.XS)(o,!y&&l,i&&a,p&&s)},e&&(0,n.h)(m.A,{class:c,onClickCapture:this.onClick,content:e,markdown:!0}),t&&(0,n.h)(m.A,{class:(0,r.XS)(d,"mediumB"),content:t,markdown:!0}),(0,n.h)("div",{class:h},this.renderValue(_,"$LABEL_DAYS","Days"),this.renderValue(v,"$LABEL_HOURS","Hours"),this.renderValue(b,"$LABEL_MINUTES","Minutes"),this.renderValue(w,"$LABEL_SECONDS","Seconds")))}}},3500(e,t,i){"use strict";i.d(t,{A:()=>T});i(187),i(9659),i(8077),i(7417),i(2754),i(3559),i(9986),i(613);var n=i(4296),r=i(623),o=i.n(r),s=i(1158),a=i(8790),l=i(6430),c=(i(9248),i(8760)),d=i(4864),h=i(2265),p=i(3013),u=i(685),g=i(4180);const f=e=>(0,n.h)("svg",(0,g.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,n.h)("path",{class:"st0",d:"M11.084 9.192c-.036-.06-.133-.096-.277-.167a22.711 22.711 0 00-.987-.466c-.132-.048-.229-.072-.325.071a8.325 8.325 0 01-.457.562c-.084.096-.168.108-.313.036-.144-.072-.609-.223-1.161-.711a4.332 4.332 0 01-.803-.992c-.084-.144-.009-.221.063-.292.065-.064.145-.167.217-.251s.096-.143.144-.239c.048-.096.024-.179-.012-.251-.036-.072-.325-.777-.445-1.064s-.24-.239-.325-.239c-.084 0-.181-.012-.277-.012a.533.533 0 00-.385.179c-.132.144-.505.49-.505 1.195s.517 1.386.59 1.482c.072.095.999 1.589 2.467 2.163 1.468.573 1.468.382 1.733.358.265-.024.854-.347.975-.681.119-.335.119-.622.083-.681zM8.109 2.931c-2.731 0-4.953 2.205-4.953 4.915 0 1.075.351 2.071.943 2.881l-.619 1.825 1.903-.605a4.954 4.954 0 002.725.813c2.731 0 4.953-2.204 4.953-4.914S10.84 2.931 8.109 2.931zM14 7.845c0 3.228-2.637 5.845-5.891 5.845a5.908 5.908 0 01-2.848-.727L2 14l1.063-3.136a5.789 5.789 0 01-.845-3.019C2.218 4.617 4.855 2 8.109 2S14 4.617 14 7.845z"}));var m=i(8802),y=i(7383),_=i(9983);const v=e=>(0,n.h)("svg",(0,g.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,n.h)("path",{d:"M12.405 3.17c-.298-.275-1.503-1.15-4.187-1.162 0 0-3.165-.191-4.708 1.225-.86.859-1.162 2.116-1.194 3.675-.032 1.559-.073 4.479 2.742 5.271h.003l-.001 1.209s-.018.489.304.589c.39.121.618-.251.99-.652.204-.22.486-.543.699-.79 1.926.162 3.406-.208 3.575-.263.389-.126 2.589-.408 2.947-3.329.369-3.01-.179-4.914-1.17-5.773zm.327 5.557c-.302 2.439-2.086 2.592-2.415 2.697-.14.045-1.441.369-3.076.262 0 0-1.219 1.47-1.599 1.853-.059.06-.129.084-.176.072-.066-.016-.084-.094-.083-.207l.01-2.008s-.001 0 0 0c-2.382-.661-2.243-3.147-2.216-4.449.027-1.302.272-2.368.998-3.085C5.48 2.679 8.168 2.856 8.168 2.856c2.271.01 3.359.694 3.611.923.838.717 1.265 2.433.953 4.948z"}),(0,n.h)("path",{d:"M9.323 6.992a.151.151 0 01-.151-.144c-.026-.516-.269-.769-.764-.795a.151.151 0 01-.144-.159.151.151 0 01.159-.144c.654.034 1.017.408 1.051 1.082a.151.151 0 01-.144.159l-.007.001z"}),(0,n.h)("path",{d:"M10.102 7.253h-.003a.151.151 0 01-.148-.155c.011-.519-.137-.939-.453-1.284-.317-.345-.75-.533-1.324-.575a.153.153 0 01-.14-.163.151.151 0 01.162-.14c.646.047 1.159.274 1.524.672.366.4.546.904.533 1.496a.151.151 0 01-.151.149z"}),(0,n.h)("path",{d:"M10.899 7.565a.152.152 0 01-.152-.151c-.007-.916-.282-1.645-.817-2.166-.536-.523-1.214-.79-2.014-.796a.152.152 0 01.002-.304h.001c.881.006 1.629.303 2.223.882.595.58.901 1.382.909 2.382a.152.152 0 01-.151.153h-.001zM8.446 8.873s.213.018.328-.124l.224-.282c.108-.14.369-.229.624-.087.191.109.377.228.557.355.169.125.516.414.518.414.165.14.203.344.091.561l-.001.005a2.325 2.325 0 01-.466.574l-.004.003c-.161.134-.318.211-.473.229a.625.625 0 01-.27-.027l-.005-.007c-.239-.067-.637-.236-1.301-.602a7.709 7.709 0 01-1.093-.722 5.267 5.267 0 01-.495-.436l-.016-.016-.017-.017-.016-.016-.017-.017c-.155-.155-.3-.32-.436-.492a7.709 7.709 0 01-.722-1.093c-.367-.664-.535-1.062-.603-1.301l-.007-.006a.654.654 0 01-.027-.27.937.937 0 01.229-.474l.004-.004c.165-.185.359-.342.574-.466l.005-.001c.216-.113.421-.074.56.09.001.001.29.348.414.518.128.18.246.366.355.557.142.255.053.516-.087.624l-.281.224c-.142.115-.123.328-.123.328s.417 1.58 1.977 1.978z"}));var b=i(8745);const w=e=>(0,n.h)("svg",(0,g.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,n.h)("path",{d:"M13.557 2.799L2.209 7.176a.326.326 0 00.003.61l2.765 1.032 1.07 3.442c.069.22.338.302.517.156l1.541-1.256a.462.462 0 01.561-.
2016l2.78 2.018a.325.325 0 00.51-.197l2.036-9.796a.325.325 0 00-.435-.37zm-2.165 2.29L6.933 9.235a.919.919 0 00-.286.552l-.152 1.127c-.02.151-.232.165-.273.02L5.637 8.88a.544.544 0 01.238-.612l5.404-3.328c.097-.06.197.072.113.149z"})),A=e=>(0,n.h)("svg",(0,g.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,n.h)("path",{d:"M13 3h-2V2a1 1 0 00-1-1H3a1 1 0 00-1 1v10a1 1 0 001 1h2v1a1 1 0 001 1h7a1 1 0 001-1V4a1 1 0 00-1-1zM3 12V2h7v1H6a1 1 0 00-1 1v8H3zm10 2H6V4h7v10z"}));var k=i(2673),S=i(985);const E={wrapper:"sharePopout__wrapper__Q6_Wy",container:"sharePopout__container__VP7Qu",backgroundContainer:"sharePopout__backgroundContainer__Yw1vz",open:"sharePopout__open__XycXM",headline:"sharePopout__headline__QHX_g",close:"sharePopout__close__mH_ml",shareButtons:"sharePopout__shareButtons__DMScD",shareButton:"sharePopout__shareButton__sHvBq",copyButton:"sharePopout__copyButton__Yosy2",copied:"sharePopout__copied__eOS8A",activated:"sharePopout__activated__2XewU",zoom:"sharePopout__zoom__G8AKC",facebook:"sharePopout__facebook__iYY8S",twitter:"sharePopout__twitter__ZX1FA",whatsapp:"sharePopout__whatsapp__G5LZi",instagram:"sharePopout__instagram__oEfiz",pinterest:"sharePopout__pinterest__xLsHm",viber:"sharePopout__viber__v5dqr",tumblr:"sharePopout__tumblr__Wdn4n",telegram:"sharePopout__telegram__kgz6g","shareButton--whatsapp":"sharePopout__shareButton--whatsapp__Rh2FK","shareButton--viber":"sharePopout__shareButton--viber__FB1Cx"},C={facebook:(0,n.h)(u.A,{class:E.facebook}),whatsapp:(0,n.h)(f,{class:E.whatsapp}),twitter:(0,n.h)(m.A,{class:E.twitter}),pinterest:(0,n.h)(y.A,{class:E.pinterest}),email:(0,n.h)(b.A,{class:E.mail}),tumblr:(0,n.h)(_.A,{class:E.tumblr}),viber:(0,n.h)(v,{class:E.viber}),telegram:(0,n.h)(w,{class:E.telegram}),instagram:(0,n.h)(S.A,{class:E.instagram})};class T extends n.uA{constructor(e){super(e),this.state={copied:!1};const t=["email","facebook","pinterest","telegram","tumblr","twitter","viber","whatsapp","instagram"],i=(0,l.wh)(e,"appData.header.powsterHeader.share")||{};this.shareItems=(0,l.fz)(i).filter((e=>t.includes(e.id))),this.shareImage=i.shareImage,this.shareCopy=(0,c.A)(e.appData?.copy?.baseCopy,i.socialCopy||"$SOCIAL_COPY"),this.shareUrl=i.shareUrl&&i.shareUrl.startsWith("$")?(0,a.u)(i.shareUrl,{},"",null,"baseCopy"):i.shareUrl,this.shareUrl||(this.shareUrl=(0,l.wh)(this.props,"appData.meta.url",null)),this.get
2SharingLink=this.getSharingLink.bind(this),this.renderIcon=this.renderIcon.bind(this),this.copyToClipboard=this.copyToClipboard.bind(this),this.handleClose=this.handleClose.bind(this)}componentWillUnmount(){window.clearTimeout(this.timeout)}getShareURL(){if(this.props.shareUrlOverride)return this.props.shareUrlOverride;return(0,l.wh)(this.props,"appData.header.powsterHeader.share.useMetaUrl",!1)?this.props?.appData?.meta?.url:this.props.shareUrl?this.props.shareUrl:(0,l.HS)(this.shareUrl,this.props.shareDetails)}removeLocationQueryParameter(e){if(!e)return e;try{let t=new URL(e,location.href);return t.searchParams.delete("location"),t.searchParams.delete("lat"),t.searchParams.delete("lon"),t.toString()}catch(t){return e}}getSharingLink(e){let t=e=>JSON.stringify((e||"")+"").slice(1,-1);const i=(0,l.wh)(this.props,"appData.header.powsterHeader.share")||{},n=this.props.shareCopyOverride||this.shareCopy,r=this.props.shareTitleOverride||null,o=this.props.shareImage||this.shareImage,s=r?`${r}\n${n}`:n;let a=this.getShareURL(e);a=this.removeLocationQueryParameter(a),a=encodeURIComponent(a);const c={facebook:(0,l.wh)(i,"facebook.shareUrl",`https://www.facebook.com/sharer/sharer.php?u=${a}`),twitter:(0,l.wh)(i,"twitter.shareUrl",`https://twitter.com/intent/post?text=${s}&url=${a}`),whatsapp:(0,l.wh)(i,"whatsapp.shareUrl",`whatsapp://send?text=${s} ${a}`),pinterest:(0,l.wh)(i,"pinterest.shareUrl",`https://www.pinterest.co.uk/pin/create/button/?url=${a}&media=${o}&description=${s}`),email:(0,l.wh)(i,"email.shareUrl",`mailto:?subject=${r}&body=${a}`),tumblr:(0,l.wh)(i,"tumblr.shareUrl",`http://www.tumblr.com/share/link?url=${a}/&description=${n}`),viber:(0,l.wh)(i,"viber.shareUrl",`viber://forward?text=${a} ${s}`),telegram:(0,l.wh)(i,"telegram.shareUrl",`https://telegram.me/share/url?url=${a}&text=${s}`),instagram:(0,l.wh)(i,"instagram.shareUrl","https://www.instagram.com/")};return"email"===e&&this.props.shareCopyOverride?c[e].replace(/%SOCIAL_COPY%/g,r||n).replace(/%SHARE_URL%/g,`${n}\n\n ${a}`).replace(/%MOVIE_NAME%/g,t(this.props.appData.meta.title.locale||this.props.appData.meta.title.en)).replace(/%HEADER_SHARE_IMAGE%/g,t(o)).replace(/%SHARE_IMAGE%/g,t(o)):c[e].replace(/%MOVIE_NAME%/g,t(this.props.appData.meta.title.locale||this.props.appData.meta.title.en)).replace(/%SOCIAL_COPY%/g,encodeURIComponent(s)).replace(/%SHARE_URL%/g,a).replace(/%HEADER_SHARE_IMAGE%/g,t(o)).replace(/%SHARE_IMAGE%/g,t(o))}copyToClipboard(){let e=this.getShareURL("copy");o()(e),this.setState({copied:!0}),this.props.shareUrlOverride?s.A.emit("INVITE_GENERATOR_SHARE_INVITE_CLICK",{label:"copy",activePage:s.A.get().activePage}):s.A.emit("CLICKED_SHARE",{label:"copy",activePage:s.A.get().activePage}),this.copyTimeout=window.setTimeout((()=>{this.setState({copied:!1})}),1e3)}renderIcon(e){return C[e]}handleClose(){this.setState({copied:!1}),this.props.toggleSharePop()}render(e,{copied:t}){const{shareOpen:i,closeBtnstyle:r,extraClass:o}=e,c=s.A.get(),u=(0,l.wh)(this.props,"appData.header.powsterHeader.share.shareCTA"),g=(0,l.wh)(this.props,"appData.styling.fontVariables"),f=(0,l.wh)(this.props,"appData.copy.accessibilityCopy",{}),m=((0,l.wh)(c,"appData.pages.boltShowtimes.data.interstitialInviteGenerator.enabled",!1),c.activePage);let y=((0,l.wh)(c,"externalCookieBanner.bannerOpen",!1)?(0,l.wh)(c,"externalCookieBanner.height"):(0,l.wh)(c,"cookies.height"))||0;return(0,l.wh)(c,"appData.options.sonyFeatures.sonyHeader",!1)&&(y+=34),(0,n.h)("div",{class:(0,l.XS)(E.wrapper,i&&E.open,o&&o),style:{marginTop:y+"px"}},(0,n.h)("div",{class:E.container,style:{marginTop:y+"px"}},(0,n.h)("div",{class:E.headline},(0,n.h)("p",{class:g.headerShareCta},(0,a.u)(u,{},"","baseCopy")||u||"Create social post"),(0,n.h)(d.A,{class:E.close,trigger:this.handleClose,style:r,ariaLabel:f.$CLOSE_SHARE_ARIA},(0,n.h)(p.A,{"aria-hidden":!0}))),(0,n.h)("div",{class:E.shareButtons},(0,n.h)(d.A,{class:(0,l.XS)(E.copyButton,t&&E.copied),trigger:this.copyToClipboard,ariaLabel:f.$COPY_LINK_BTN_ARIA},t?(0,n.h)(k.A,{class:E.copy}):(0,n.h)(A,{class:E.copy})),this.shareItems.map((e=>{const t=e.id.toLowerCase();return(0,n.h)(h.A,{class:(0,l.XS)(E.shareButton,E[`shareButton--${t}`]),href:this.getSharingLink(t),target:"_blank",rel:"noopener noreferrer",onClick:()=>{this.props.shareUrlOverride?s.A.emit("INVITE_GENERATOR_SHARE_INVITE_CLICK",{label:t,activePage:m}):s.A.emit("CLICKED_SHARE",{label:t,activePage:m})},ariaLabel:f.$SHARE_ARIA.replace("<platform>",e.title)},this.renderIcon(t))})))),(0,n.h)("div",{class:E.backgroundContainer,onClick:this.handleClose}))}}},1324(e,t,i){"use strict";i.d(t,{A:()=>
2o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 33 33"},e),(0,r.h)("path",{"fill-rule":"evenodd",d:"M15 29.585L7.45 21a1.003 1.003 0 0 0-1.416 0 1.003 1.003 0 0 0 0 1.416l9.259 10.291c.392.39 1.024.39 1.416 0L26 22.416A1.004 1.004 0 0 0 26 21a1.003 1.003 0 0 0-1.416 0L17 29.585V2a1 1 0 0 0-2 0v27.585z"}))},6146(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 24"},e),(0,r.h)("path",{"fill-rule":"evenodd",d:"M1.917 0L0 1.843 10.565 12 0 22.157 1.917 24 14.4 12z"}))},2673(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,r.h)("path",{d:"M5.59937809,11.790571 L3.19856553,9.26329035 C2.93354482,8.98396283 2.93354482,8.5313056 3.19856553,8.25264473 C3.46358623,7.97331722 3.89361983,7.97331722 4.15864053,8.25264473 L6.07941559,10.2759359 L11.8404907,4.20939564 C12.1061364,3.93006812 12.53617,3.93006812 12.8005657,4.20939564 C13.0662114,4.48872315 13.0662114,4.94271369 12.8005657,5.22137455 L6.5594531,11.790571 C6.42694275,11.9299015 6.25317917,11.9999 6.07941559,11.9999 C5.90565202,11.9999 5.73188844,11.9299015 5.59937809,11.790571"}))},3013(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,r.h)("path",{d:"M7.292 8L1.146 1.854a.502.502 0 01.708-.708L8 7.292l6.146-6.146a.502.502 0 01.708.708L8.708 8l6.146 6.146a.502.502 0 01-.708.708L8 8.708l-6.146 6.146A.502.502 0 011.5 15s-.256-.049-.354-.146a.502.502 0 010-.708L7.292 8z","fill-rule":"evenodd"}))},5809(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 0a.5.5 0 0 1 .5.5v8.793l1.646-1.647a.502.502 0 0 1 .708.708l-2.5 2.5a.502.502 0 0 1-.708 0l-2.5-2.5a.502.502 0 0 1 .708-.708L7.5 9.293V.5A.501.501 0 0 1 8 0z"}),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.5 11a.5.5 0 0 1 .5.5v3c0 .827-.673 1.5-1.5 1.5h-9c-.827 0-1.5-.673-1.5-1.5l.001-3a.5.5 0 0 1 1 0v3a.5.5 0 0 0 .499.5h9c.275 0 .5-.225.5-.5v-3a.5.5 0 0 1 .5-.5z"}))},685(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",role:"img","aria-label":"Facebook"},e),(0,r.h)("path",{d:"M15,3C8.373,3,3,8.373,3,15c0,6.016,4.432,10.984,10.206,11.852V18.18h-2.969v-3.154h2.969v-2.099c0-3.475,1.693-5,4.581-5 c1.383,0,2.115,0.103,2.461,0.149v2.753h-1.97c-1.226,0-1.654,1.163-1.654,2.473v1.724h3.593L19.73,18.18h-3.106v8.697 C22.481,26.083,27,21.075,27,15C27,8.373,21.627,3,15,3z"}))},985(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img","aria-label":"Instagram"},e),(0,r.h)("path",{d:"M8 2c-1.63 0-1.834.007-2.474.036-.638.029-1.075.131-1.456.279a2.932 2.932 0 00-1.063.692 2.932 2.932 0 00-.692 1.063c-.148.382-.25.818-.279 1.456C2.007 6.166 2 6.37 2 8s.007 1.834.036 2.474c.029.639.131 1.075.279 1.456.153.395.358.729.692 1.063.334.334.668.539 1.063.692.382.148.818.25 1.456.279.64.029.844.036 2.474.036 1.63 0 1.834-.007 2.474-.036.638-.029 1.075-.131 1.456-.279a2.932 2.932 0 001.063-.692c.334-.334.539-.668.692-1.063.148-.382.25-.818.279-1.456C13.993 9.834 14 9.63 14 8c0-1.63-.007-1.834-.036-2.474-.029-.638-.131-1.075-.279-1.456a2.932 2.932 0 00-.692-1.063 2.932 2.932 0 00-1.063-.692c-.382-.148-.818-.25-1.456-.279C9.834 2.007 9.63 2 8 2m0 1.081c1.602 0 1.792.006 2.425.035.584.027.902.124 1.114.207.28.109.48.239.69.449.21.21.34.41.449.69.082.211.18.529.207 1.114.028.632.034.822.034 2.424 0 1.602-.006 1.792-.035 2.425-.027.585-.125.902-.207 1.114-.109.28-.239.48-.449.69-.21.21-.41.34-.69.449-.211.082-.529.18-1.114.207-.632.028-.822.034-2.424.034s-1.792-.006-2.425-.035c-.585-.027-.902-.125-1.114-.207a1.862 1.862 0 01-.69-.449c-.21-.21-.34-.41-.449-.69-.082-.211-.179-.528-.206-1.113-.029-.633-.035-.823-.035-2.425 0-1.602.006-1.792.035-2.425.027-.585.124-.902.207-1.114.109-.28.239-.48.449-.69.21-.21.41-.34.69-.449.211-.082.529-.18 1.114-.207.632-.028.822-.034 2.424-.034"}),(0,r.h)("path",{d:"M7.986 9.982a1.995 1.995 0 110-3.99 1.995 1.995 0 010 3.99m0-5.07a3.074 3.074 0 100 6.147 3.074 3.074 0 000-6.147M11.182 5.509a.718.718 0 110-1.436.718.718 0 010 1.436z"}));(Object.getOwnPropertyDescriptor(o,"name")||{}).writable||Object.defineProperty(o,"name",{value:"default",configurable:!0})},8745(e,t,i){"use strict";i.d(t,{A:()=>
2o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,r.h)("path",{d:"M14 3H2a1 1 0 00-1 1v8a1 1 0 001 1h12a1 1 0 001-1V4a1 1 0 00-1-1zm-1.519 1L8 7.671 3.519 4h8.962zM14 12H2V4l5.341 4.424a1 1 0 001.318 0L14 4v8z"}))},7383(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,r.h)("path",{d:"M11.493 3.23C10.667 2.437 9.523 2 8.273 2c-1.908 0-3.082.783-3.731 1.439-.8.808-1.258 1.882-1.258 2.947 0 1.335.559 2.361 1.494 2.743a.487.487 0 00.188.039c.197 0 .354-.129.408-.336.033-.12.105-.413.137-.54.068-.252.013-.372-.136-.548-.27-.321-.397-.699-.397-1.192 0-1.464 1.09-3.02 3.11-3.02 1.603 0 2.599.911 2.599 2.378 0 .926-.2 1.782-.561 2.413-.252.438-.695.961-1.373.961a.912.912 0 01-.724-.331.83.83 0 01-.146-.723c.071-.303.169-.618.263-.923.173-.557.335-1.084.335-1.503 0-.718-.441-1.2-1.098-1.2-.835 0-1.489.848-1.489 1.93 0 .531.141.927.205 1.08l-.849 3.594c-.069.291-.482 2.595.202 2.778.768.207 1.455-2.037 1.524-2.29.057-.206.255-.986.376-1.465.37.357.968.598 1.548.598 1.095 0 2.079-.493 2.773-1.387.672-.867 1.042-2.077 1.042-3.406.001-1.036-.445-2.06-1.222-2.806z"}))},4462(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,r.h)("path",{d:"M8.354,0.146l2.5,2.5C10.951,2.744,11,2.872,11,3s-0.049,0.256-0.146,0.354c-0.196,0.195-0.513,0.195-0.708,0 L8.5,1.707V10.5C8.5,10.776,8.277,11,8,11c-0.276,0-0.5-0.224-0.5-0.5V1.707L5.854,3.354c-0.196,0.195-0.512,0.195-0.708,0 c-0.195-0.196-0.195-0.512,0-0.708l2.5-2.5C7.843-0.049,8.159-0.049,8.354,0.146z"}),(0,r.h)("path",{d:"M4.5,6C4.776,6,5,6.224,5,6.5S4.776,7,4.5,7h-1C3.224,7,3,7.224,3,7.5v7C3,14.775,3.224,15,3.5,15h9 c0.275,0,0.5-0.225,0.5-0.5v-7C13,7.224,12.775,7,12.5,7h-1C11.224,7,11,6.776,11,6.5S11.224,6,11.5,6h1C13.327,6,14,6.673,14,7.5v7 c0,0.827-0.673,1.5-1.5,1.5h-9C2.673,16,2,15.327,2,14.5v-7C2,6.673,2.673,6,3.5,6H4.5z"}));(Object.getOwnPropertyDescriptor(o,"name")||{}).writable||Object.defineProperty(o,"name",{value:"default",configurable:!0})},9983(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,r.h)("path",{d:"M11.732 11.117a.232.232 0 00-.236.01c-.536.353-1.08.531-1.616.531-.288 0-.536-.064-.758-.197a.84.84 0 01-.341-.381c-.049-.129-.048-.477-.047-.958V7.189h2.437a.231.231 0 00.231-.231V4.899a.231.231 0 00-.231-.231H8.733V2.231A.23.23 0 008.502 2H6.861a.23.23 0 00-.229.203c-.069.564-.197 1.033-.381 1.394a2.95 2.95 0 01-.722.92c-.24.205-.652.403-1.223.589a.23.23 0 00-.159.219v1.634c0 .127.103.231.231.231h1.336v3.815c0 .562.06.985.182 1.294.125.313.347.608.66.877.308.264.683.47 1.115.614.42.136.753.21 1.316.21.476 0 .929-.049 1.348-.147a7.1 7.1 0 001.385-.505.23.23 0 00.133-.209V11.32a.232.232 0 00-.121-.203z"}))},8802(e,t,i){"use strict";i.d(t,{A:()=>o});var n=i(4180),r=i(4296);const o=e=>(0,r.h)("svg",(0,n.A)({width:"24",height:"24",viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"X"},e),(0,r.h)("path",{d:"M13.4019 11.2735L18.6575 5H17.4121L12.8487 10.4472L9.20386 5H5L10.5117 13.2372L5 19.8159H6.24548L11.0646 14.0635L14.9138 19.8159H19.1176L13.4016 11.2735H13.4019ZM11.6961 13.3097L11.1376 12.4895L6.69425 5.9628H8.60724L12.1931 11.2301L12.7515 12.0503L17.4127 18.8969H15.4997L11.6961 13.31V13.3097Z"}));(Object.getOwnPropertyDescriptor(o,"name")||{}).writable||Object.defineProperty(o,"name",{value:"default",configurable:!0})},2265(e,t,i){"use strict";i.d(t,{A:()=>r});var n=i(4296);class r extends n.uA{render({children:e,...t}){return(0,n.h)("a",t,e)}}},860(e,t,i){"use strict";i.d(t,{A:()=>a});i(187);var n=i(4296),r=i(1158),o=i(6430);const s={};class a extends n.uA{componentDidMount(){const e=this.props.appData,t=e?.pages?.[this.props.id];e?.options?.ageGate&&t?.section&&i.e(873).then(i.bind(i,9092)).then((e=>{this.AgeGate=e.default,this.forceUpdate()})),t?.data?.bg&&i.e(528).then(i.bind(i,2699)).then((e=>
2{this.SectionBackground=e.default,this.forceUpdate()}))}shouldShowAgeGate(){const e=this.props.appData,t=this.props.appData?.options?.ageGate,i=e?.pages?.[this.props.id];if(!t||!i?.section||!1!==r.A.get().ageGateOpen)return!1;const n=t?.onlyOnPages||"";return(0,o.fY)(n).includes(this.props.id)}renderBgContent(){const{appData:e,id:t}=this.props,i=(0,o.wh)(e,`pages.${t}.data`);if(this.SectionBackground&&i?.bg)return(0,n.h)("div",{class:s.contentBelow,key:"bg"},(0,n.h)(this.SectionBackground,{ref:e=>this.sectionBackground=e,data:i.bg}))}renderOverlayedContent(){const{appData:e}=this.props;if(this.AgeGate)return(0,n.h)("div",{class:s.overlayedContent,key:"overlay"},!!this.shouldShowAgeGate()&&(0,n.h)(this.AgeGate,{appData:e,copy:e.copy,key:"ageGate",isSectionAgeGate:!0}))}}},9208(e,t,i){"use strict";i.d(t,{A:()=>E});var n=i(4180),r=i(4296),o=i(6430),s=i(1158),a=i(685);const l=e=>(0,r.h)("svg",(0,n.A)({width:"1024",height:"1024",viewBox:"144 144 736 736",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),(0,r.h)("path",{d:"M351.121 315.106C416.241 363.994 486.281 463.123 512 516.315C537.719 463.123 607.759 363.994 672.879 315.106C719.866 279.83 796 252.536 796 339.388C796 356.734 786.055 485.101 780.222 505.943C759.947 578.396 686.067 596.876 620.347 585.691C735.222 605.242 764.444 670.002 701.333 734.762C581.473 857.754 529.061 703.903 515.631 664.481C513.169 657.254 512.017 653.873 512 656.748C511.983 653.873 510.831 657.254 508.369 664.481C494.939 703.903 442.527 857.754 322.667 734.762C259.556 670.002 288.778 605.242 403.653 585.691C337.933 596.876 264.053 578.396 243.778 505.943C237.945 485.101 228 356.734 228 339.388C228 252.536 304.134 279.83 351.121 315.106Z"}));(Object.getOwnPropertyDescriptor(l,"name")||{}).writable||Object.defineProperty(l,"name",{value:"default",configurable:!0});var c=i(8802);const d=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -400 2400 3200",role:"img"},e),(0,r.h)("path",{d:"M500 0 0 500v1800h600v500l500-500h400l900-900V0H500zm1700 1300-400 400h-400l-350 350v-350H600V200h1600v1100z"}),(0,r.h)("path",{d:"M1700 550h200v600h-200zm-550 0h200v600h-200z"}));(Object.getOwnPropertyDescriptor(d,"name")||{}).writable||Object.defineProperty(d,"name",{value:"default",configurable:!0});var h=i(985);const p=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-label":"YouTube"},e),(0,r.h)("path",{d:"M12 5s-6.26 0-7.825.412c-.84.23-1.532.922-1.763 1.779C2 8.755 2 12 2 12s0 3.261.412 4.81c.23.856.906 1.531 1.763 1.762C5.756 19 12 19 12 19s6.26 0 7.825-.412a2.506 2.506 0 0 0 1.763-1.762c.412-1.565.412-4.81.412-4.81s.016-3.26-.412-4.825a2.506 2.506 0 0 0-1.763-1.763C18.26 5 12 5 12 5Zm-1.994 4.003L15.212 12l-5.206 2.997V9.003Z"})),u=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img"},e),(0,r.h)("path",{d:"M12.117 20.248c-.05 0-.098-.002-.134-.004a1.03 1.03 0 0 1-.088.004c-1.045 0-1.744-.494-2.361-.93-.443-.313-.86-.608-1.348-.69-.24-.04-.479-.06-.71-.06-.415 0-.743.065-.983.112a2.185 2.185 0 0 1-.373.054c-.103 0-.228-.023-.28-.201-.042-.14-.072-.277-.1-.408-.072-.327-.124-.527-.246-.546-1.312-.203-2.087-.5-2.24-.862a.335.335 0 0 1-.028-.114.21.21 0 0 1 .176-.22c1.041-.17 1.967-.721 2.752-1.636a6.171 6.171 0 0 0 .944-1.47c.151-.306.181-.571.09-.787-.17-.399-.729-.577-1.1-.694a3.955 3.955 0 0 1-.248-.084c-.328-.13-.868-.404-.796-.782.052-.276.417-.468.712-.468.082 0 .154.015.215.043.333.156.633.235.89.235.321 0 .476-.122.513-.156l-.031-.523v-.002c-.076-1.197-.17-2.686.211-3.54 1.14-2.555 3.558-2.754 4.271-2.754l.311-.003h.043c.715 0 3.138.199 4.279 2.756.38.854.287 2.345.211 3.543l-.003.057c-.01.162-.02.316-.028.466.035.032.176.144.465.155.245-.01.528-.088.838-.233a.663.663 0 0 1 .275-.055c.
211 0 .22.021.313.06l.005.002c.264.094.436.28.44.477.003.183-.133.457-.802.722a4.062 4.062 0 0 1-.249.084c-.37.118-.93.295-1.099.693-.092.216-.061.482.09.789l.005.01c.046.11 1.174 2.681 3.691 3.096a.21.21 0 0 1 .176.22.338.338 0 0 1-.028.114c-.153.36-.928.657-2.24.86-.123.018-.175.217-.246.543-.029.135-.059.267-.1.405-.038.13-.123.194-.259.194h-.02a2.1 2.1 0 0 1-.374-.047 4.91 4.91 0 0 0-.983-.104c-.231 0-.47.02-.71.06-.488.081-.905.376-1.346.688-.619.437-1.318.931-2.363.931"})),g=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-label":"TikTok"},e),(0,r.h)("path",{d:"M18.86 10.47a4.281 4.281 0 0 1-3.977-1.916l.001 6.593a4.873 4.873 0 1 1-4.873-4.873c.102 0 .202.01.302.016v2.4c-.1-.011-.199-.03-.302-.03a2.487 2.487 0 0 0 0 4.974c1.374 0 2.587-1.082 2.587-2.456l.024-11.196h2.297a4.279 4.279 0 0 0 3.944 3.82v2.668"})),f=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img"},e),(0,r.h)("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-5.522-4.477-10-10-10Zm4.586 14.422a.623.623 0 0 1-.857.208c-2.348-1.435-5.304-1.76-8.785-.964a.623.623 0 1 1-.277-1.216c3.809-.87 7.076-.495 9.712 1.115.294.181.387.564.207.857ZM17.81 13.7a.78.78 0 0 1-1.073.257c-2.687-1.652-6.785-2.13-9.965-1.165a.78.78 0 0 1-.973-.52.781.781 0 0 1 .52-.972c3.632-1.102 8.147-.569 11.233 1.328a.779.779 0 0 1 .258 1.072Zm.105-2.835C14.69 8.95 9.375 8.775 6.297 9.708a.935.935 0 1 1-.543-1.79c3.533-1.072 9.405-.865 13.115 1.338a.935.935 0 0 1-.954 1.609Z"}));var m=i(7383);const y=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"-4 -4 32 32",role:"img"},e),(0,r.h)("path",{d:"M2 2.057h2.797v19.886H2zM18.787 10.996l2.797-2.463v13.41h-2.797z"}),(0,r.h)("path",{d:"M2 21.257h19.584V24H2zM2 0h10.912L11 2.743H2zM18.787 5.485V2.743h-2.799V0h-2.797v8.228h8.393V5.485"}));var _=i(9983);const v=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img"},e),(0,r.h)("path",{d:"M21.99 7.164c-.09 2.026-1.449 4.799-4.078 8.32-2.72 3.677-5.02 5.516-6.903 5.516-1.165 0-2.151-1.122-2.958-3.366l-1.614-6.17C5.84 9.221 5.197 8.1 4.51 8.1c-.15 0-.672.327-1.569.981L2 7.818c.978-.896 1.949-1.8 2.913-2.71C6.228 3.922 7.214 3.3 7.872 3.237c1.553-.156 2.51.95 2.868 3.318.389 2.556.657 4.145.807 4.768.448 2.12.941 3.179 1.479 3.179.418 0 1.046-.686 1.882-2.057.837-1.371 1.285-2.415 1.345-3.132.12-1.184-.329-1.776-1.345-1.776-.478 0-.97.109-1.479.327.986-3.334 2.869-4.955 5.648-4.861 2.062.062 3.033 1.449 2.913 4.16Z"}));var b=i(8745);const w=e=>(0,r.h)("svg",(0,n.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192",role:"img"},e),(0,r.h)("path",{d:"M141.537 88.9883C140.71 88.5919 139.87 88.2104 139.019 87.8451C137.537 60.5382 122.616 44.905 97.5619 44.745C97.4484 44.7443 97.3355 44.7443 97.222 44.7443C82.2364 44.7443 69.7731 51.1409 62.102 62.7807L75.881 72.2328C81.6116 63.5383 90.6052 61.6848 97.2286 61.6848C97.3051 61.6848 97.3819 61.6848 97.4576 61.6855C105.707 61.7381 111.932 64.1366 115.961 68.814C118.893 72.2193 120.854 76.925 121.825 82.8638C114.511 81.6207 106.601 81.2385 98.145 81.7233C74.3247 83.0954 59.0111 96.9879 60.0396 116.292C60.5615 126.084 65.4397 134.508 73.775 140.011C80.8224 144.663 89.899 146.938 99.3323 146.423C111.79 145.74 121.563 140.987 128.381 132.296C133.559 125.696 136.834 117.143 138.28 106.366C144.217 109.949 148.617 114.664 151.047 120.332C155.179 129.967 155.42 145.8 142.501 158.708C131.182 170.016 117.576 174.908 97.0135 175.059C74.2042 174.89 56.9538 167.575 45.7381 153.317C35.2355 139.966 29.8077 120.682 29.6052 96C29.8077 71.3178 35.2355 52.0336 45.7381 38.6827C56.9538 24.4249 74.2039 17.11 97.0132 16.9405C119.988 17.1113 137.539 24.4614 149.184 38.788C154.894 45.8136 159.199 54.6488 162.037 64.9503L178.184 60.6422C174.744 47.9622 169.331 37.0357 161.965 27.974C147.036 9.60668 125.202 0.195148 97.0695 0H96.9569C68.8816 0.19447 47.2921 9.6418 32.7883 28.0793C19.8819 44.4864 13.2244 67.3157 13.0007 95.9325L13 96L13.0007 96.0675C13.2244 124.684 19.8819 147.514 32.7883 163.921C47.2921 182.358 68.8816 191.806 96.9569 192H97.0695C122.03 191.827 139.624 185.292 154.118 170.811C173.081 151.866 172.51 128.119 166.26 113.541C161.776 103.087 153.227 94.5962 141.537 88.9883ZM98.4405 129.507C88.0005 130.095 77.1544 125.409 76.6196 115.372C76.2232 107.93 81.9158 99.626 99.0812 98.6368C101.047 98.5234 102.976 98.468 104.871 98.468C111.106 98.468 116.939 99.0737 122.242 100.233C120.264 124.935 108.662 128.946 98.4405 129.507Z"}));var A=i(2265);const k={socials:"socials__socials__BRMQT",social:"socials__social__cEC91",icon:"socials__icon__WSlYK",navOpen:"socials__navOpen__vbk7Q"},S={facebook:a.A,bluesky:l,twitter:c.A,twitch:d,instagram:h.A,youtube:p,snapchat:u,tiktok:g,spotify:f,pinterest:m.A,giphy:y,tumblr:_.A,vimeo:v,email:b.A,threads:w};class E extends r.uA{getIcon(e,t){const i=this.props,o=S[e],s={class:i.iconStyle||k.icon};if(!o){if(t.iconURL){const e=i.navOpen&&t.iconNav?t.iconNav:t.iconURL;return(0,r.h)("img",(0,n.A)({},s,{src:e,alt:""}))}return null}return(0,r.h)(o,s)}render(e){const{socials:t={},navOpen:i}=e,n=s.A.get().appData?.copy?.accessibilityCopy;return(0,r.h)("div",{class:(0,o.XS)(k.socials,e.class,i&&k.navOpen)},(0,o.fz)(t,((t,i)=>(0,r.h)(A.A,{class:(0,o.XS)(!e.iconStyle&&k.social,k[i]),href:t.destination,target:"_blank",rel:"noopener noreferrer",key:i,onClick:()=>s.A.emit("CLICKED_FOLLOW",i,{url:t.destination}),ariaLabel:n?.$SOCIAL_ARIA?.replace("<platform>",i)},this.getIcon(i,t)))).slice(0,5))}}},3561(e,t,i){"use strict";i.d(t,{A:()=>k});var n=i(4296),r=i(1158),o=i(101),s=i.n(o);const a={container:"player__container__SzHk3",keepAspectRatio:"player__keepAspectRatio__W42MM",loader:"player__loader__OV7KQ",spin:"player__spin__qIDFF",visible:"player__visible__drOqq"};var l=i(6430),c=i(8760),d=i(7050);const h="youtube__wrapper__A5RxE",p="youtube__prompt__qKMmg",u="youtube__cta__qttoK",g="youtube__responsiveResize__e1ryh";class f extends n.uA{constructor(e){super(e),this.progressTracking={},this.updateInstanceCounter=0,this.started=!1,this.getProgress=this.getProgress.bind(this),this.onPlayerReady=this.onPlayerReady.bind(this),this.onPlayerStateChange=this.onPlayerStateChange.bind(this),this.pause=this.pause.bind(this);let t=r.A.get().appData;this.usesEvidon=t?.options?.requireUserConsent?.companyId,this.usesOneTrust=t?.options?.oneTrustCookieConsent?.scripts||t?.options?.oneTrustCookieConsent?.configuredFromExternalScript,this.usesPowCookieBanner=t?.options?.cookiesModal?.enableModal,this.usesKetch=t?.options?.ketchCookieConsent?.scripts,this.usesDidomi=t?.options?.didomiCookieConsent?.scripts,this.needsCookieCheck=this.usesEvidon||this.usesOneTrust||this.usesKetch||this.usesDidomi||this.usesPowCookieBanner,this.props.noCookies&&(this.usesOneTrust=!1,this.usesPowCookieBanner=!1,this.needsCookieCheck=!1),r.A.on("PAUSE_ALL_V
2IDEOS",this.pause)}componentDidMount(){this.instanceId=Math.random().toString().replace(".",""),this.blocked=this.shouldBlockRender(),this.blocked?this.props.onPlayerReady():this.initYoutube()}componentDidUpdate(e){const t=this.blocked;this.blocked=this.shouldBlockRender();const i=e.videoId!==this.props.videoId;this.blocked||!t&&!i||this.initYoutube(),this.blocked&&!t&&this.player&&this.player.destroy()}componentWillUnmount(){clearInterval(this.progressUpdate),clearInterval(this.readyTimeout),this.unmounted=!0;let e=document.querySelector(`.elementForYTiframe${this.instanceId}`);e&&e.remove(),this.player&&this.player.destroy(),r.A.off("PAUSE_ALL_VIDEOS",this.pause)}shouldBlockRender(){return this.needsCookieCheck&&!this.state.oneTrustAllowed||r.A.get().ageGateOpen}play(){this.player&&this.player.playVideo&&this.player.playVideo()}pause(){this.player&&this.player.pauseVideo&&this.player.pauseVideo()}get duration(){return this.player&&this.player.getDuration?this.player.getDuration():0}initYoutube(){const{videoId:e}=this.props;if("undefined"==typeof window)return;if(window.YT&&(window.YT.Player||0===window.YT.loaded))return window.YT.ready((()=>this.loadPlayer(e)));window.YTLoader||(window.YTLoader=new Promise((e=>{window.onYouTubeIframeAPIReady=()=>window.YT.ready(e);const t=document.createElement("script");t.src="https://www.youtube.com/iframe_api",document.body.appendChild(t)})));let t=++this.updateInstanceCounter;return window.YTLoader.then((()=>{this.unmounted||t!==this.updateInstanceCounter||this.loadPlayer(e)}))}loadPlayer(e){if(!e||!this.$ytPlayer)return;let t=document.querySelector(`.elementForYTiframe${this.instanceId}`);t||(t=document.createElement("div"),t.setAttribute("key",e),t.setAttribute("class",`elementForYTiframe${this.instanceId}`),this.$ytPlayer.appendChild(t));let i=!1;const n=()=>{i||(i=!0,this.onPlayerReady())};clearTimeout(this.readyTimeout),this.readyTimeout=setTimeout(n,5e3),this.player=new window.YT.Player(t,{height:"100%",width:"100%",videoId:e,host:this.props.noCookies&&"https://www.youtube-nocookie.com",events:{onReady:n,onStateChange:this.onPlayerStateChange},playerVars:{rel:0,enablejsapi:1}})}onPlayerReady(){const{autoplay:e,muted:t}=this.props;this.progressUpdate=setInterval(this.getProgress,50),e&&this.player?.playVideo?.(),"function"==typeof this.props.onPlayerReady&&this.props.onPlayerReady(),t?this.player?.mute():this.player?.unMute?.()}getProgress(){if(!this.player?.getCurrentTime)return;const e=this.player.getCurrentTime(),t=this.player.getDuration(),i=e/t;let n=[0,25,50,75,95,100].find((e=>i>=e/100&&!this.progressTracking[e]));if(n||0===n){this.progressTracking[n]=!0;const i=this.player.getVideoData();r.A.emit("VIDEO_PLAYER_PROGRESS",{platform:"youtube",video:this.props.videoId,step:n,time:e,videoLength:t,isShowtimesMessage:this.props.isShowtimesMessage,isTrailerOverlay:this.props.isTrailerOverlay,isTrailer:this.props.isTrailer,videoTitle:i?.title})}"function"==typeof this.props.onProgress&&this.props.onProgress(i,e,t)}onPlayerStateChange(e){const{onEnded:t,onStart:i,onPause:n,onPlay:r,onStateChange:o}=this.props;"function"==typeof o&&o(e),0===e.data&&"function"==typeof t&&t(),1===e.data&&(this.started||"function"!=typeof i||i(),"function"==typeof r&&r(),this.started=!0),2===e.data&&"function"==typeof n&&n()}getShowCookieSettingsFunction(){return this.usesEvidon?()=>window.evidon.notice.showPreferencesDialog():this.usesOneTrust?()=>r.A.emit("ONETRUST_SHOW"):this.usesPowCookieBanner?()=>r.A.emit("COOKIE_PREFERENCES_OPEN"):this.usesDidomi?()=>window.Didomi.preferences.show():void 0}renderBlocked(){const e=r.A.get().appData?.copy?.baseCopy;let t=this.props.noCookies&&e.$VIDEOS_COOKIES_FUNCTIONAL||e.$VIDEOS_COOKIES,i=this.getShowCookieSettingsFunction();return(0,n.h)("div",{class:(0,l.XS)(h,this.props.responsiveResize&&g),key:"blocked-wrapper"},(0,n.h)("div",{class:p},t),i&&(0,n.h)("button",{id:"youtubeCookieSettings",class:u,onClick:i},(0,c.A)(e,e.$VIDEOS_COOKIES_SETTINGS)))}renderPlayer(){return(0,n.h)("div",{className:this.props.responsiveResize&&g,ref:e=>this.$ytPlayer=e,key:"player"})}render(){return this.shouldBlockRender()?this.renderBlocked():this.renderPlayer()}}const m=d.connectToOneTrust((e=>e.disableCookieCheck||(e.noCookies?d.FUNCTIONAL:d.TARGETING)),f);class y extends n.uA{constructor(e){super(e),this.onLoad=(0,l.Oo)(this.onLoad.bind(this)),this.onEnded=(0,l.Oo)(this.onEnded.bind(this)),this.onProgress=this.onProgress.bind(this),this.progressTracking={}}componentDidMount(){const{videoId:e}=this.props;this.initVimeo(e)}componentWillUnmount(){this.player&&(this.player.off("loaded"),this.player.off("timeupdate"),this.player.off("ended"),this.player.destroy())}initVimeo(e){if("undefined"!=typeof window)return window.Vimeo&&window.Vimeo.Player?this.loadPlayer(e):(window.VimeoLoader||(window.VimeoLoader=new Promise(((e,t)=>{const i=document.createElement("script");i.src="https://player.vimeo.com/api/player.js",document.body.appendChild(i),i.onload=e,i.onerror=t}))),window.VimeoLoader.then((()=>{this.loadPlayer(e)})))}loadPlayer(e){const t=document.getElementById(e);t&&(this.player=new window.Vimeo.Player(t),this.player.on("loaded",this.onLoad),this.player.on("ended",this.onEnded),this.player.on("timeupdate",this.onProgress))}onLoad(){const{autoplay:e,onPlayerReady:t}=this.props;"function"==typeof t&&t(),e&&this.player.play()}onEnded(){const{onEnded:e}=this.props;e&&e()}onProgress({percent:e}){let t=[0,25,50,75,95].find((t=>e>t/100&&!this.progressTracking[t]));(t||0===t)&&(this.progressTracking[t]=!0,r.A.emit("VIDEO_PLAYER_PROGRESS",{step:t,video:this.props.videoId,platform:"vimeo",isShowtimesMessage:this.props.isShowtimesMessage,isTrailerOverlay:this.props.isTrailerOverlay,isTrailer:this.props.isTrailer}))}render(e){const{videoId:t,videoHash:i}=e;return(0,n.h)("iframe",{id:t,hash:i,src:`https://player.vimeo.com/video/${t}?h=${i}`,frameborder:"0",allow:"autoplay",fullscreen:!0,allowfullscreen:!0})}}i(187),i(9659),i(6174);const _={videoWrapper:"nativeVideo__videoWrapper__Vex4v",buttonWrapper:"nativeVideo__buttonWrapper__WoDi6",playButton:"nativeVideo__playButton__l6q2G"};class v extends n.uA{constructor(e){super(e),this.progressTracking={},this.videoName=this.props.activeVideo.videoSrc.split("\\").pop().split("/").pop(),this.videoPlaying=this.videoPlaying.bind(this),this.videoPaused=this.videoPaused.bind(this),this.progressTracker=this.progressTracker.bind(this),this.videoCanPlayHandler=this.videoCanPlayHandler.bind(this),this.pause=this.pause.bind(this),r.A.on("PAUSE_ALL_V
2IDEOS",this.pause)}play(){this.$video?.play()}pause(){this.$video?.pause()}get duration(){return this.$video?.duration||0}componentDidMount(){const{autoplay:e,onEnded:t,activeVideo:i}=this.props;i.videoSrc.match(/m3u8$/)&&("undefined"==typeof Hls?(0,l.k0)("https://cdn.jsdelivr.net/npm/hls.js@latest").then((()=>this.initHLS(i.videoSrc,e))):this.initHLS(i.videoSrc,e)),this.$video&&(e&&(this.$video.load(),this.$video.play()),t&&this.$video.addEventListener("ended",t),this.props.fromStart&&(this.$video.currentTime=0),this.$video.addEventListener("canplay",this.videoCanPlayHandler),this.$video.addEventListener("playing",this.videoPlaying),this.$video.addEventListener("pause",this.videoPaused),this.$video.readyState&&this.videoCanPlayHandler())}componentWillUnmount(){this.$video.removeEventListener("ended",this.props.onEnded),this.$video.removeEventListener("canplay",this.videoCanPlayHandler),this.$video.removeEventListener("playing",this.videoPlaying),this.$video.removeEventListener("pause",this.videoPaused),cancelAnimationFrame(this.timer),r.A.off("PAUSE_ALL_VIDEOS",this.pause)}initHLS(e,t){if("undefined"!=typeof Hls&&window.Hls.isSupported()){const i=new window.Hls;i.loadSource(e),i.attachMedia(this.$video),t&&this.$video.play()}}videoCanPlayHandler(){this.videoCanPlay||(this.videoCanPlay=!0,this.setState({playing:!this.$video.paused,loading:!1}),"function"==typeof this.props.canPlayCallback&&this.props.canPlayCallback(this.$video))}progressTracker(){if(!this.trackProgress||!this.$video)return;const e=this.$video.currentTime/this.$video.duration;let t=[0,25,50,75,95].find((t=>e>t/100&&!this.progressTracking[t]));(t||0===t)&&(this.progressTracking[t]=!0,r.A.emit("VIDEO_PLAYER_PROGRESS",{step:t,video:this.videoName,time:this.$video.currentTime,platform:"native",isShowtimesMessage:this.props.isShowtimesMessage,isTrailerOverlay:this.props.isTrailerOverlay,isTrailer:this.props.isTrailer})),r.A.emit("EMBEDDED_VIDEO_PLAY"),this.timer=requestAnimationFrame(this.progressTracker)}videoPlaying(){this.props.useTracking&&!this.progressTracking[0]&&(r.A.emit("EMBEDDED_VIDEO_PLAY"),r.A.emit("VIDEO_PLAYER_PROGRESS",{step:0,video:this.videoName,time:this.$video.currentTime,platform:"native",isShowtimesMessage:this.props.isShowtimesMessage,isTrailerOverlay:this.props.isTrailerOverlay,isTrailer:this.props.isTrailer}),this.progressTracking[0]=!0);let e=this.state,t={playing:!0,loading:!1,duration:this.$video.duration,muted:this.$video.muted},i=Object.keys(t).reduce(((i,n)=>{let r=t[n];return e[n]!==r&&(i[n]=t[n]),i}),{});Object.keys(i).length&&this.setState(i),!this.trackProgress&&this.props.useTracking&&(this.trackProgress=!0,cancelAnimationFrame(this.timer),this.timer=requestAnimationFrame(this.progressTracker))}videoPaused(){r.A.emit("EMBEDDED_VIDEO_PAUSE"),cancelAnimationFrame(this.timer),this.trackProgress=!1,this.setState({playing:!1,loading:!1})}render(e){const{activeVideo:t,muted:i}=e,r=t.captionsSrc&&t.captionsSrc.replace(/.*\/([^/]*)\.[^/]+$/,"$1"),o=t.videoSrc;return(0,n.h)("video",{ref:e=>this.$video=e,"webkit-playsinline":!0,playsinline:!0,controls:!0,poster:t.posterSrc||t.thumbSrc,"aria-label":t.ariaLabel,class:e.class,muted:i,key:o},o.includes(".webm")&&(0,n.h)("source",{src:o,type:"video/webm"}),(0,n.h)("source",{src:o.replace(/\.[^.]*$/,".mp4"),type:"video/mp4"}),t.captionsSrc&&(0,n.h)("track",{label:r,src:t.captionsSrc,kind:"captions",srclang:t.captionsLang,default:!0}))}}class b extends v{constructor(e){super(e),this.state={playing:!1},this.videoPlaying=this.videoPlaying.bind(this),this.videoPaused=this.videoPaused.bind(this),this.playVideo=this.playVideo.bind(this),this.pause=this.pause.bind(this),r.A.on("PAUSE_ALL_VIDEOS",this.pause)}playVideo(){this.$video&&(this.$video.play(),this.setState({playing:!0}))}pause(){this.$video?.pause()}videoPlaying(){this.setState({playing:!0})}videoPaused(){this.$video&&!this.$video.seeking&&this.setState({playing:!1})}componentDidMount(){super.componentDidMount(),this.$video&&(this.$video.addEventListener("playing",this.videoPlaying),this.$video.addEventListener("pause",this.videoPaused))}componentWillUnmount(){super.componentWillUnmount(),this.$video&&(this.$video.removeEventListener("playing",this.videoPlaying),this.$video.removeEventListener("pause",this.videoPaused)),r.A.off("PAUSE_ALL_V
2IDEOS",this.pause)}render(e,t){const{activeVideo:i,overrideStyles:r,muted:o,appData:s}=e,a=i.captionsSrc&&i.captionsSrc.replace(/.*\/([^/]*)\.[^/]+$/,"$1"),l=i.videoSrc,c="undefined"!=typeof window&&("ontouchstart"in window||navigator.maxTouchPoints>0);return(0,n.h)("div",{class:_.videoWrapper},(0,n.h)("video",{ref:e=>this.$video=e,"webkit-playsinline":!0,playsinline:!0,controls:c||t.playing,controlsList:"nodownload",poster:i.posterSrc||i.thumbSrc,"aria-label":i.ariaLabel,class:r&&_.nativeVideo,muted:o,autoPlay:!i.noAutoplay,key:l},l.includes(".webm")&&(0,n.h)("source",{src:l,type:"video/webm"}),(0,n.h)("source",{src:l.replace(/\.[^.]*$/,".mp4"),type:"video/mp4"}),i.captionsSrc&&(0,n.h)("track",{label:a,src:i.captionsSrc,kind:"captions",srclang:i.captionsLang,default:!0})),!t.playing&&!c&&(0,n.h)("div",{class:_.buttonWrapper,onClick:this.playVideo},(0,n.h)("img",{class:_.playButton,src:"https://dx35vtwkllhj9.cloudfront.net/universalstudios/greenerlight/images/play.svg",alt:"Play"})))}}const w="matterhorn__iframe__dSweB";class A extends n.uA{componentDidMount(){"function"==typeof this.props.onPlayerReady&&this.props.onPlayerReady()}render(e){const{activeVideo:t}=e,i=t.disneySrc;return(0,n.h)("iframe",{id:"matterhorn_player",class:w,src:i,allowfullscreen:!0,webkitallowfullscreen:!0,mozAllowFullScreen:!0,allow:"autoplay *; fullscreen *; encrypted-media *",sandbox:"allow-forms allow-same-origin allow-scripts allow-top-navigation allow-pointer-lock allow-popups allow-modals allow-orientation-lock allow-popups-to-escape-sandbox allow-presentation allow-top-navigation-by-user-activation",frameborder:"0",title:"Matterhorn Player"})}}class k extends n.uA{constructor(e){super(e),this.hideLoader=this.hideLoader.bind(this),this.showLoader=this.showLoader.bind(this),this.toggleLoader=this.toggleLoader.bind(this),this.onReady=this.onReady.bind(this),this.disableYoutubeCookieCheck=r.A.get().appData?.options?.disableYoutubeCookieCheck}shouldComponentUpdate(e){return!s()(e.activeVideo,this.props.activeVideo)||this.props.hiddenPlaylist!==e.hiddenPlaylist||!s()(e.ageGateProtected,this.props.ageGateProtected)||e.extraClass!==this.props.extraClass}componentDidUpdate(e){e.activeVideo!==this.props.activeVideo&&this.showLoader(),this.props.ageGateProtected||!e.ageGateProtected||this.props.noAutoplay||this.play()}play(){this.player?.play()}get duration(){return this.player?.duration||0}toggleLoader(e){"boolean"!=typeof e&&(e=!this.state.showLoader),this.setState({showLoader:e})}showLoader(){this.toggleLoader(!0)}hideLoader(){this.toggleLoader(!1)}onReady(){this.hideLoader(),this.props.onLoaded&&this.props.onLoaded()}renderVideo(){const{activeVideo:e,onEnded:t,onStart:i,onPlay:r,onPause:o,overrideStyles:s,noAutoplay:a,muted:l,isShowtimesMessage:c,isTrailerOverlay:d,ageGateProtected:h}=this.props;if(!e)return null;const p=!(a||e.noAutoplay||h);return e.youtubeId?(0,n.h)(m,{ref:e=>this.player=e,videoId:e.youtubeId,onEnded:t,onStart:i,onPlay:r,onPause:o,onPlayerReady:this.onReady,autoplay:p,isShowtimesMessage:c,noCookies:e.noCookies&&"Cookie Mode"!==e.noCookies,disableCookieCheck:this.disableYoutubeCookieCheck,isTrailerOverlay:d,isTrailer:e.isTrailer,key:`youtube-${e.youtubeId}`,muted:l||e.muteVideo}):e.vimeoId?(0,n.h)(y,{ref:e=>this.player=e,videoId:e.vimeoId,videoHash:e.vimeoHash,autoplay:p,onEnded:t,onPlayerReady:this.onReady,isShowtimesMessage:c,isTrailerOverlay:d,isTrailer:e.isTrailer,key:`vimeo-${e.vimeoId}`,muted:l||e.muteVideo}):e.videoSrc?(0,n.h)(b,{ref:e=>this.player=e,activeVideo:e,autoplay:p,onEnded:t,canPlayCallback:this.onReady,isShowtimesMessage:c,isTrailerOverlay:d,isTrailer:e.isTrailer,key:`nativeVideo-${e.videoSrc}`,overrideStyles:s,muted:l||e.muteVideo,useTracking:!0}):e.disneySrc?(0,n.h)(A,{ref:e=>this.player=e,activeVideo:e,autoplay:p,isShowtimesMessage:c,isTrailerOverlay:d,isTrailer:e.isTrailer,onPlayerReady:this.onReady,key:`matterhorn-${e.disneySrc}`,muted:l}):void 0}render(e){let{overrideStyles:t,hiddenPlaylist:i,extraClass:r}=e,{showLoader:o}=this.state;return(0,n.h)("div",{class:(0,l.XS)(!t&&a.container,i&&a.hiddenPlaylist,r)},(0,n.h)("div",{class:a.keepAspectRatio},(0,n.h)("div",{class:(0,l.XS)(a.loader,o&&a.visible)}),this.renderVideo()))}}},4311(e,t,i){"use strict";i.d(t,{A:()=>y});i(1190),i(9659),i(7e3),i(7417);var n=i(4180),r=i(4134),o=i(4296),s=i(5169),a=i(6393),l=i(6430);function c(){c=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var r=t.placement;if(t.kind===n&&("static"===r||"prototype"===r)){var o="static"===r?e:i;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var n=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],n=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!p(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:i,finishers:n};var o=this.decorateConstructor(i,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,i){var n=t[e.placement];if(!i&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var i=[],n=[],r=e.decorators,o=r.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,r[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);i.push.apply(i,c)}}return{element:e,finishers:n,extras:i}},decorateConstructor:function(e,t){for(var i=[],n=t.length-1;n>=0;n--){var r=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(r)||r);if(void 0!==o.finisher&&i.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return(0,r.A)(e).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "f
2ield", but a decorator created an element descriptor with .kind "'+t+'"');var i=f(e.key),n=e.placement+"";if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:i,placement:n,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:g(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=g(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var n=(0,t[i])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function d(e){var t,i=f(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function h(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function p(e){return e.decorators&&e.decorators.length}function u(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function g(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function f(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}const m=(()=>{let e;return()=>{if(e)return e;e=new a.xI.Renderer;let t=e.link;return e.link=(...i)=>{let n=t.call(e,...i);return n&&(n=n.replace(/^<a /,'<a target="_blank" ')),n},e}})();let y=function(e,t,i,n){var r=c();if(n)for(var o=0;o<n.length;o++)r=n[o](r);var s=t((function(e){r.initializeInstanceElements(e,a.elements)}),i),a=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var r,o=e[n];if("method"===o.kind&&(r=t.find(i)))if(u(o.descriptor)||u(r.descriptor)){if(p(o)||p(r))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");r.descriptor=o.descriptor}else{if(p(o)){if(p(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");r.decorators=o.decorators}h(o,r)}else t.push(o)}return t}(s.d.map(d)),e);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([s.A],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"method",key:"render",value:function(e){let{tag:t="div",content:i,replacements:r,markdown:s,markdownOptions:c,inline:d,children:h,forceNewTabLinks:p,activePage:u,...g}=e;if(i=(i||h[0]||"")+"",s){let e={...c};p&&(e.renderer=m()),i=(d?a.xI.parseInline:a.xI)(i,e)}if(r)for(let e in r)i=i.replaceAll(e,(0,l.o4)(r[e]));return(0,o.h)(t,(0,n.A)({},g,{dangerouslySetInnerHTML:{__html:i}}))}}]}}),o.uA)},218(e,t,i){"use strict";i.d(t,{A:()=>u});var n=i(939),r=i(4296);const o="STATE_CHILD_ENTERING",s="STATE_CHILD_VISIBLE",a="STATE_CHILD_LEAVING",l="STATE_CHILD_EMPTY";var c=i(6430),d=i(7959);const h={visible:"transition__visible__cG1Az",leaving:"transition__leaving__m3Ebj",entering:"transition__entering__BjqLR",empty:"transition__empty__sRqEI"},p="undefined"==typeof window;class u extends r.uA{constructor(e){super(e),(0,n.A)(this,"getStyles",(()=>({"transition-duration":this.props.duration/2+"ms","animation-duration":this.props.duration/2+"ms"}))),(0,n.A)(this,"setTimer",((e,t)=>
2{this.endTimer(),this.timerFunc=e,this.timer=setTimeout((()=>{e(),this.timer=null,this.afterTimer&&(this.afterTimer(),this.afterTimer=null)}),t)})),(0,n.A)(this,"endTimer",(e=>{this.timer&&(clearTimeout(this.timer),e||this.timerFunc(),this.timer=null,this.afterTimer&&(this.afterTimer(),this.afterTimer=null))}));let t=this.getChildGenerator(e),i={firstChild:t,firstChildState:o,secondChild:null,secondChildState:l,upcomingChild:t},r=this.props.noInitialTransition;r&&(i.firstChildState=s),this.state=i,r||this.setTimer((()=>{this.setState({firstChildState:this.getNextStep("firstChild",this.state.firstChildState)})}),e.duration/2)}componentWillReceiveProps({waitBeforeNext:e,...t}){let i=this.getChildGenerator(t),n=i();const r=this.getId(n);if(r!==this.getId(this.state.upcomingChild())){this.setState({upcomingChild:i});let t=this.state.firstChildState===s,n=this.state.secondChildState===s;!e||t||n?this.goToNextPage():this.afterTimer=this.goToNextPage}else this.state.firstChild&&this.getId(this.state.firstChild())===r&&this.setState({firstChild:i}),this.state.secondChild&&this.getId(this.state.secondChild())===r&&this.setState({secondChild:i})}componentDidUpdate(){this.renderDone?.resolve(),this.renderDone=null}getChildGenerator(e){return"function"==typeof e.renderChildren?e.renderChildren:()=>e.children[0]}getId(e){return e?.attributes?.id||e?.attributes?.key}async goToNextPage(){this.endTimer();const{firstChild:e,secondChild:t,upcomingChild:i,firstChildState:n,secondChildState:r}=this.state,o=r===s;if(n===s&&this.getId(i())===this.getId(e())||o&&this.getId(i())===this.getId(t()))return;this.setState({firstChildState:this.getNextStep("firstChild",n),secondChildState:this.getNextStep("secondChild",r)});this.renderDone?.resolve(),this.renderDone=(0,d.A)(),await this.renderDone,this.setTimer((()=>{this.setState({firstChildState:this.getNextStep("firstChild",this.state.firstChildState),secondChildState:this.getNextStep("secondChild",this.state.secondChildState)})}),this.props.duration/2)}getNextStep(e,t){let i={};switch(t){case o:return s;case s:return a;case a:return i[e]=null,this.setState(i),l;case l:return i[e]=this.state.upcomingChild,this.setState(i),o}}getActiveClass(e){let{enteringClass:t,visibleClass:i,leavingClass:n,emptyClass:r}=this.props,d=e===o,p=e===s,u=e===a,g=e===l;return(0,c.XS)(this.props.baseClass,d&&t,p&&i,u&&n,g&&r,{s:h,entering:d,visible:p,leaving:u,empty:g})}render({duration:e,...t},{firstChild:i,firstChildState:n,secondChild:o,secondChildState:a}){let l,c,d=this.getStyles();i=i&&i(),i?.attributes&&"string"!=typeof i?.nodeName&&(i.attributes.transitionState=p?s:n),o=o&&o(),o?.attributes&&"string"!=typeof o?.nodeName&&(o.attributes.transitionState=a);let h=this.getActiveClass(p?s:n);l=(0,r.h)("div",{class:h,style:d},i);let u=this.getActiveClass(a);return c=(0,r.h)("div",{class:u,style:d},o),(0,r.h)("div",{class:t.class,id:t.id},l,c)}}},3206(e,t,i){"use strict";i.d(t,{l:()=>r});const n="undefined"==typeof window,r=async e=>{if(n)throw new Error("Trying to call service-youtube server-side");if(!e)throw new Error("No playlist id given");const t=await fetch(`https://youtube.s-prod.pow.io/getPlaylistData?playlistId=${e}`);if(!t.ok)throw t;return await t.json()}},498(e,t,i){"use strict";i(9659),i(8077),i(7417),i(1196),i(2754);var n=i(1158),r=i(7245),o=i(3747),s=i(1392),a=i(7050),l=(i(4296),i(6430));const c={consent:s.STRICTLY_NECESSARY,c1:s.STRICTLY_NECESSARY,c2:s.PERFORMANCE,c3:s.FUNCTIONAL,c4:s.TARGETING};var d=i(7702);i(9793),i(332),i(761),i(9618);if(r.addChangeListener((e=>{(0,o.P)("categoriesUpdated",{categories:e}),d.Ze(e)})),"undefined"!=typeof window){const e=window.__INITIAL_STATE__?.appData?.options?.enableTealiumCookieConsent;if(e){const e=()=>(e=>{const t=Array.isArray(e)?e:e.split(","),i=(0,l.jF)(t.map((e=>c[e])).filter((e=>!!e)));r.set(i)})(function(){if(!window.utag)return[];const e=window.utag.gdpr.getCookieValues();return Object.keys(e).filter((t=>"1"===e[t]||"true"===e[t]))}());if(window.addEventListener("consentdecided",e),window.utag)e();else{const t=i=>{i.target.matches('script[src$="utag.js"]')&&(document.removeEventListener("load",t,!0),e())};document.addEventListener("load",t,!0)}}}i(1190),i(5359);const h={all:[s.STRICTLY_NECESSARY,s.FUNCTIONAL,s.PERFORMANCE,s.TARGETING,s.ADVERTISING,s.SOCIAL],"tag manager":s.STRICTLY_NECESSARY,"website optimization":s.PERFORMANCE,"business intelligence":s.PERFORMANCE,optimizer:s.PERFORMANCE,video:s.PERFORMANCE,publisher:s.PERFORMANCE,agency:s.PERFORMANCE,mobile:s.PERFORMANCE,"data aggregator/supplier":s.FUNCTIONAL,"content management/saas":s.FUNCTIONAL,"online privacy platform":s.FUNCTIONAL,advertisers:s.TARGETING,"marketing solutions":s.TARGETING,"demand side platform":s.TARGETING,"data management platform":s.TARGETING,"supply side platform":s.TARGETING,"social media":s.TARGETING,retargeter:s.TARGETING,"research provider":s.TARGETING,"analytics provider":s.TARGETING,"creative/ad format technology":s.TARGETING,other:s.TARGETING};if(r.addChangeListener((e=>{(0,o.P)("categoriesUpdated",{categories:e}),d.Ze(e)})),"undefined"!=typeof window&&window.evidon){let e,t=[window.evidon.priorConsentCallback],i=(i,...n)=>{i!==e&&(e=i,t.forEach((e=>{try{e?.(i,...n)}catch(e){}})),(e=>{const t=(e=Array.isArray(e)?e:Object.entries(e).map((([e,t])=>t&&e)).filter((e=>e))).flatMap((e=>h[e])).filter((e=>!!e));r.set(t)})(i))};const n=e=>{Object.defineProperty(e,"priorConsentCallback",{get:()=>i,set(e){t.push(e)}})};n(window.evidon);let o=window.evidon;Object.defineProperty(window,"evidon",{get:()=>o,set(e){n(e),o=e}})}const p={cookies:s.STRICTLY_NECESSARY,ad_delivery:s.TARGETING,advertising_personalization:s.TARGETING,content_personalization:s.TARGETING,cookies_marketing:s.TARGETING,create_ads_profile:s.TARGETING,create_content_profile:s.TARGETING,device_access:s.TARGETING,improve_products:s.TARGETING,link_devices:s.TARGETING,market_research:s.TARGETING,measure_ad_performance:s.TARGETING,offline_match:s.TARGETING,precise_geo:s.TARGETING,select_basic_ads:s.TARGETING,select_personalized_ads:s.TARGETING,select_personalized_content:s.TARGETING,measure_content_performance:s.PERFORMANCE,analytics:s.PERFORMANCE,cookies_analytics:s.PERFORMANCE,cookies_social:s.SOCIAL},u=e=>{const t=(Array.isArray(e)?e:e.split(",")).map((e=>p[e])).filter((e=>!!e));r.set(t)};function g(){return window.Didomi.getUserConsentStatusForAll().purposes.enabled}if(r.addChangeListener((e=>{(0,o.P)("categoriesUpdated",{categories:e})})),r.addChangeListener((e=>{d.Ze(e)})),"undefined"!=typeof window){let e=!1;(0,l.wh)(window,"__INITIAL_STATE__.appData.options.didomiCookieConsent",!1)&&(e||(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push((function(){const e=g();u(e),window.Didomi.on("consent.changed",(function(){const e=g();return u(e)}))})),e=!0))}var f=i(4831);if("undefined"!=typeof window){(0,l.wh)(window,"__INITIAL_STATE__.appData.options.SMECookieConsent",!1)&&function e(){let t=f.A.get("sme_cookie_en");const i=document.getElementById("sme_cookie_accept");i||t?t?r.set([s.STRICTLY_NECESSARY,s.FUNCTIONAL,s.TARGETING,s.ADVERTISING,s.PERFORMANCE]):i.addEventListener("click",(()=>{r.set([s.STRICTLY_NECESSARY,s.FUNCTIONAL,s.TARGETING,s.ADVERTISING,s.PERFORMANCE])})):window.setTimeout(e,100)}()}const m="pow-cookie-cats-";n.A.on("SET_COOKIE_BAR_HEIGHT",(e=>{n.A.get().cookies.set({height:e})})),n.A.on("COOKIE_BANNER_OPEN",(()=>{n.A.get().cookies.set({cookieBannerOpen:!0})})),n.A.on("COOKIE_BANNER_CLOSE",(()=>{const e=n.A.get(),t=e.cookies;
2if(t.cookieBannerOpen&&t.pushDown&&t.height&&e.homeActivePercentage<.5){let e=document.getElementById("mainScroll");if(e){let i=e.scrollTop+t.height;setTimeout((()=>{let e=document.getElementById("mainScroll");e&&(e.scrollTop=i)}),0)}}t.set({cookieBannerOpen:!1}),n.A.emit("SET_COOKIE_BAR_HEIGHT",0)})),n.A.on("COOKIE_PREFERENCES_OPEN",(()=>{const{deviceSize:e}=n.A.get().client;"mobile"!==e&&n.A.emit("ENABLE_SCROLLING_LOCK"),n.A.get().cookies.set({cookiePreferencesOpen:!0})})),n.A.on("COOKIE_PREFERENCES_CLOSE",(()=>{const{deviceSize:e}=n.A.get().client;"mobile"!==e&&n.A.emit("DISABLE_SCROLLING_LOCK"),n.A.get().cookies.set({cookiePreferencesOpen:!1})})),n.A.on("ACCEPT_COOKIES",((e=[],t)=>{n.A.emit("COOKIE_BANNER_CLOSE"),r.set(e),t?.doNotSetCookie||n.A.emit("SET_COOKIES",e)})),n.A.on("ACCEPT_ALL_COOKIES",(e=>{const t=[...Object.keys(s),"UNCATEGORIZED"];n.A.emit("ACCEPT_COOKIES",t,e)})),n.A.on("SET_COOKIES",((e=[])=>{f.A.set(m+n.A.get().appData?.meta?.id,JSON.stringify(e),{expires:30})})),n.A.on("CHECK_COOKIES",(()=>{let e;try{e=JSON.parse(f.A.get(m+n.A.get().appData?.meta?.id))}catch(e){}const t=e||r.get(),i=(n.A.get().appData?.options?.cookiesModal?.autoOptIn||"").split(",").filter((e=>e));t.length>0?n.A.emit("ACCEPT_COOKIES",t,{doNotSetCookie:!0}):i.length>0?r.set(i):r.set([])})),n.A.on("ONETRUST_SHOW",(()=>a.displayModal())),n.A.on("DELETE_ALL_COOKIES",(({reload:e})=>{const t=f.A.get();Object.keys(t).map((e=>{e.startsWith(m)||f.A.remove(e)})),e&&window.location.reload()})),r.addChangeListener((e=>{(0,o.P)("categoriesUpdated",{categories:e})}))},3724(e,t,i){"use strict";i(9659),i(3552);var n=i(1158),r=i(8471);n.A.on("HOMEENT_SHOW",((e,t,i)=>{if(!i){const e=n.A.get().appData?.pages||{},t=Object.values(e).find((e=>"homeEnt"===e.type));i=t?.id}(0,r.m)(e,"homeEnt",!1,t,i)})),n.A.on("HOMEENT_HIDE",((e,t=!0)=>(0,r.e)(e,t,"homeEnt"))),n.A.on("CLOSE_ALL_OVERLAYS",((e={})=>{n.A.emit("HOMEENT_HIDE",e.animate,!1)}))},4153(e,t,i){"use strict";var n=i(1158),r=i(8471);n.A.on("PRESSKIT_SHOW",((e,t,i)=>(0,r.m)(e,"pressKit",!1,t,i))),n.A.on("PRESSKIT_HIDE",((e,t=!0)=>(0,r.e)(e,t,"pressKit"))),n.A.on("CLOSE_ALL_OVERLAYS",((e={})=>{n.A.emit("PRESSKIT_HIDE",e.animate,!1)}))},8471(e,t,i){"use strict";i.d(t,{e:()=>h,m:()=>d});var n=i(1158),r=i(6430),o=i(8980),s=i(9248);let a=!1,l=!1,c=!1;n.A.on("SWITCH_DUAL_VIEW",((e,t)=>{if(t)return;const i="showtimes"===e;window.setTimeout((()=>{h(!1,!1,i?"homeEnt":"showtimes"),a=i,l=!i,n.A.emit("SET_ACTIVE_PAGE",i?"boltShowtimes":"boltHomeEnt")}),300),d(!1,i?"showtimes":"homeEnt",!0)}));const d=(e,t,i,s,d)=>{const h="showtimes"===t,p="homeEnt"===t,u="pressKit"===t,g=n.A.get().appData?.pages?.boltShowtimes?.data?.groupBookings?.isEnabled,f=d===n.A.get().activePage;if(h&&a&&f&&!g&&"?openFilters"!==s)return;if(p&&l&&f)return;if(u&&c)return;i||n.A.emit("CLOSE_ALL_OVERLAYS"),n.A.get().set({ignoreScroll:!0}),h&&(a=!0),p&&(l=!0),u&&(c=!0);const m=document.getElementById("mainScroll"),y=()=>{if(h){if(n.A.get().header.set({showtimesOverlay:!0}),n.A.get().showtimes.set({show:d||!0,animate:e}),n.A.get().showtimes.providerInterstitialOpen){const e={icon:"back",action:()=>n.A.emit("CLOSE_PROVIDER_INTERSTITIAL")};n.A.get().client.isDesktopSize?n.A.emit("SET_SHOWTIMES_BTN_ACTIONS",e):n.A.emit("SET_HEADER_ACTION",e)}if(!a)return}if(p&&(n.A.get().header.set({homeEntOverlay:!0}),n.A.get().homeEnt.set({show:d||!0,animate:e}),!l))return;if(u&&(n.A.get().header.set({pressKitOverlay:!0}),n.A.get().pressKit.set({show:d||!0,animate:e}),!c))return;n.A.get().set({ignoreScroll:!1}),n.A.emit("UPDATE_VISIBILITY_PERCENTAGES");let t=null;h?("?groupbookings"===s&&(n.A.get().set({groupBookingsShowtimes:!0}),n.A.get().showtimes.set({groupBookingsTabActive:!0})),"?booknow"===s&&(n.A.get().set({groupBookingsShowtimes:!1}),n.A.get().showtimes.set({groupBookingsTabActive:!1})),"?openFilters"===s&&n.A.emit("OPEN_SHOWTIMES_FILTERS",!0),t=d||"boltShowtimes"):p?t=d||"boltHomeEnt":u&&(t=d||"boltPressKit"),t&&t!==n.A.get().activePage&&n.A.emit("SET_ACTIVE_PAGE",t,s),(0,r.iQ)(document.body,"locked"),m&&setTimeout((()=>{(0,r.vy)(m,"nonInteractive")}),500)};m?((0,r.iQ)(m,"nonInteractive"),(0,o.BD)(m,0,e?e=>Math.min(e/3,200):0,{force:!0,callback:y})):y()},h=(e,t=!0,i)=>{const o="showtimes"===i,d="homeEnt"===i,h="pressKit"===i;if(o&&!a)return;if(d&&!l)return;if(h&&!c)return;if(!(0,r.wh)(n.A.get(),"header.shareOpen")){if(o&&(a=!1,n.A.get().header.set({showtimesOverlay:!1}),n.A.get().showtimes.set({show:!1,animate:e}
2),n.A.emit("EXIT_CINEMA_DETAIL_VIEW"),n.A.emit("CLOSE_PROVIDER_INTERSTITIAL")),d&&(l=!1,n.A.get().header.set({homeEntOverlay:!1}),n.A.get().homeEnt.set({show:!1,animate:e})),h&&(c=!1,n.A.get().header.set({pressKitOverlay:!1}),n.A.get().pressKit.set({show:!1,animate:e})),t){const e=n.A.get()[i]?.returnToPage||(0,s.XP)();n.A.emit("SET_ACTIVE_PAGE",e),n.A.emit("CHANGE_ACTIVE_SECTION",e,{instant:!0})}(0,r.vy)(document.body,"locked")}}},489(e,t,i){"use strict";i.d(t,{hg:()=>b,UN:()=>w,Ts:()=>v});i(1190),i(9659),i(8077),i(5359),i(7e3),i(7417),i(6174),i(2754);var n=i(1158),r=i(3549),o=i(7245);async function s(e){if(!e||!e.children)return;const t=[...e.children];for(let e of t)if("SCRIPT"===e.tagName)try{let t=document.createElement("script");t.text=e.innerHTML,[...e.attributes].forEach((e=>t.setAttribute(e.name,e.value))),e.remove(),document.body.appendChild(t),!t.src||t.hasAttribute("async")||t.hasAttribute("defer")||await new Promise((e=>t.onload=e))}catch(e){console.error("Error in script",e)}else await s(e)}async function a(e){const t=document.createElement("div");t.innerHTML=e,document.body.appendChild(t),await s(t),t.firstChild||t.remove()}Object.defineProperty(a,"name",{value:"default",configurable:!0});var l=i(6430),c=i(704),d=i(102);const h="undefined"!=typeof window&&/[?&]powdebug(&|=|$)/i.test(location.search);function p(...e){h&&window.console.log("[PowDebug]",...e)}function u(e,t,i,n){p(...[e,i.static&&"static",i.type,"pixel",i.id&&"["+i.id+"]",i.category&&"("+i.category+")",t,n&&"\nExecuted Code:",n].filter((e=>e)))}let g,f,m,y,_;{const e={},t={},i=e=>e?.code,s=e=>/^\s*</.test(e),h=e=>e.replace(/<\/script>/gi,"<\\/script>").replace(/<!--/gi,"<\\!--"),v=(t,n)=>{if(!i(t)||!t.trigger||t.static)return;!t.id&&n&&(t.id=n);let r=t.trigger;"pageView"===r&&t.page&&(r+=":"+t.page),e[r]||(e[r]=[]),e[r].push(t)},b=(e,i)=>{t[e]||(t[e]=[]),t[e].push(i)},w=(e,t)=>t?"function"==typeof e?e.bind(null,t):e?.replace?.(/(\\)?\{\{(.+?)\}\}/g,((e,i,n)=>{if(i)return"{{"+n+"}}";let r=!1;return"="===n[0]&&(r=!0,n=n.slice(1)),Object.prototype.hasOwnProperty.call(t,n)?r||"string"!=typeof t[n]?t[n]:h(JSON.stringify(t[n]).slice(1,-1).replace(/\\"/g,'"').replace(/'/g,"\\'")):e}))||"":e,A=async e=>{try{if("function"==typeof e)return void await e();s(e)?await a(e):(0,eval)(e)}catch(e){console.error(e)}},k=async(t,i={})=>{e[t]&&(p(`--- FIRING PIXELS FOR EVENT: ${t} ---`),await Promise.all(e[t].map((async e=>{if(e.once&&e.triggered)return;e.triggered=(e.triggered||0)+1;let t=w(e.code,i);!e.category||o.has(e.category)?(u("✔️⚡","fired",e,t),await A(t)):(u("🛑🍪",`stopped from firing. Pixel Category: ${e.category} not within accepted categories (${o.toString()})${e.useQueue?". The pixel was queued and will fire if the desired category is accepted later":""}`,e),e.useQueue&&b(e.category,[e,t]))}))))};o.addChangeListener((async e=>{p(`🍪📃 Accepted cookie categories changed. New accepted categories: ${e.join(",")}`);const i=e.flatMap((e=>{const i=t[e]||[];return t[e]=[],i}));for(let[e,t]of i)u("✔️⚡","fired from queue",e,t),await A(t)}));const S=(0,r.A)((()=>{let e=n.A.get().appData;const t=e?.meta?.title?.locale;return{movieTitle:t,app:t+" - "+"us".toUpperCase(),movie:"greenerlight",studioName:e?.meta?.studio?.name,studio:"universalstudios",region:"us",releaseDate:e?.meta?.dates?.release,boxOfficeDate:e?.meta?.dates?.boxOffice,vanityUrl:e?.meta?.url,domain:"undefined"!=typeof window?location.host:"",debug_mode:!1}}));let E={};const C=e=>{const t=n.A.get(),i=t.activePage;let r=Object.fromEntries(Object.entries(E).map((([e,i])=>("string"==typeof i&&("@"===i[0]?i=i.slice(1).split(".").reduce(((e,t)=>e?.[t]),t):"="===i[0]&&(i=i.slice(1))),[e,i]))));const o={...S(),page:i,pageName:T(i),...r,...e};return(0,l.BX)(o)},T=e=>{const t=n.A.get().appData;let i=t?.pages?.[e]?.name;if(i)return t.copy?.baseCopy?.[i]||i;return e.replace(/^bolt([A-Z])/,((e,t)=>t.toLowerCase())).replace(/^([a-z])|([a-z])([A-Z])/g,((e,t,i,n)=>t?.toUpperCase()||`${i} ${n}`))},O=()=>{const e=n.A.get().showtimes?.filters?.selected||{};return Object.entries(e).map((([e,t])=>[e,Array.isArray(t)&&t.join("|")])).filter((e=>e[1])).map((e=>e.join("="))).join(";")},I=e=>{let t=C({page:e,pageName:T(e)});k("pageView",t),k("pageView:"+e,t)};n.A.on("LANDING",(({page:e})=>{const t=Math.round(window.startLoadTime),i=(0,c.CH)();let n=C({page:e,pageName:T(e),loadTime:t,pixelDims:`${i.width}x${i.height}`});k("landing",n),I(e),k("timingComplete",n)})),n.A.on("ACTIVE_PAGE_UPDATED",I),n.A.on("TICKET_CONVERSION",(({date:e,time:t,format:i,provider:n,theater:r,source:o,conversion:s,day:a,url:l,movieTitle:c,movieSlug:d,ticketType:h="tickets"})=>k("ticket",C({theater:r?.name,theaterCity:r?.address?.intl?.city,theaterCountry:r?.address?.intl?.country,chain:r?.chain?.name,screeningDate:e,screeningTime:t,format:i,ticketProvider:n,source:o,conversion:s,day:a,url:l,screeningMovie:d,screeningMovieTitle:c,ticketType:h,filters:O()})))),n.A.on("HOME_ENT_CONVERSION",(({product:e,merchant:t,selectedFormat:i,region:n,availability:r,dataProvider:o})=>
2k("homeEntLinkOut",C({merchant:t,region:n,availability:r,format:i,edition:e.edition,price:e.price,dataProvider:o})))),n.A.on("HOME_ENT_MERCHANT_SELECT",(({merchant:e,region:t})=>k("homeEntMerchantSelection",C({merchant:e,region:t})))),n.A.on("HOME_ENT_FORMAT_SELECT",(e=>k("homeEntFormatSelection",C({format:e})))),n.A.on("HOME_ENT_PROVIDER_ATTRIBUTION_CLICK",(e=>k("homeEntProviderClick",C({provider:e})))),n.A.on("CLICKED_SHARE",(({label:e,link:t})=>k("socialShare",C({socialSharePlatform:e,link:t})))),n.A.on("CLICKED_FOLLOW",((e,{url:t})=>k("socialFollow",C({socialFollowPlatform:e,link:t})))),n.A.on("SYNOPSIS_ENLARGE_IMAGE",(e=>k("synopsisImageEnlarge",C({synopsisImage:e})))),n.A.on("SYNOPSIS_DOWNLOAD_IMAGE",(e=>k("synopsisImageDownload",C({synopsisImage:e})))),n.A.on("GALLERY_VIEW_IMAGE",(e=>k("galleryImageView",C({galleryImage:e})))),n.A.on("GALLERY_DOWNLOAD_IMAGE",(e=>k("galleryImageDownload",C({galleryImage:e})))),n.A.on("GALLERY_DOWNLOAD_ALL",(()=>k("galleryImageDownloadAll",C()))),n.A.on("MAP_REQUEST_DIRECTIONS",((e,t)=>k("showtimeMapRequestDirections",C({travelMode:e.toLowerCase(),theaterName:t?.name,theaterCity:t?.address?.intl?.city,theaterCountry:t?.address?.intl?.country})))),n.A.on("REGION_SELECTOR_CLICKED",((e,t)=>k("regionSelectorClick",C({origin:e,destination:t})))),n.A.on("TOUT_CLICK",((e,t,i)=>k("toutSelectionClick",C({toutType:e,toutLabel:i})))),n.A.on("TEXT_LIST_CLICK",(e=>k("textListClick",C({name:e})))),n.A.on("NOTIFICATION_BANNER_CLICK",((e,t,i)=>k("notificationBannerClick",C({page:e,label:i})))),n.A.on("MOVIE_DETAILS_BUTTON_CLICK",((e,t,i)=>k("movieDetailsButtonClick",C({page:e,label:t,path:i})))),n.A.on("HEADER_PERSISTENT_BUTTON_CLICK",((e,t,i,n,r)=>k("headerPersistentButtonClick",C({label:i,path:r})))),n.A.on("SHOW_CAL_REMIND",(()=>k("showCalendarReminder",C()))),n.A.on("TOGGLE_SHARE_OPEN",(()=>k("openShareDialog",C()))),n.A.on("OPEN_PROVIDER_INTERSTITIAL",(({screening:e,theater:t,ticketType:i="tickets",isMultiMovie:n})=>{const{date:r,time:o,format:s,movie:a}=e,{name:l,chain:c}=t,h=c?.name,p=n?(0,d.uv)(a.id):"";k("providerInterstitialOpen",C({name:l,chainName:h,date:r,time:o,format:s,ticketType:i,optionalMovie
2Name:p}))})),n.A.on("SELECT_TIME",(({screening:e,theater:t,ticketType:i="tickets",isMultiMovie:n})=>{const{date:r,time:o,format:s,movie:a}=e,{name:l,chain:c,address:h}=t,p=c?.name,u=n?(0,d.uv)(a.id):"";k("showtimeSelectTime",C({name:l,chainName:p,city:h?.intl?.city,country:h?.intl?.country,date:r,time:o,format:s,filters:O(),ticketType:i,optionalMovieName:u}))})),n.A.on("SELECT_THEATER",((e,t,i="tickets")=>{const n=e.name||"",r=n+"-"+(e.chain?.name||""),o=e.address?.intl,s=e?.screenings?.[0]?.date||"";k("showtimeSelectTheater",C({name:n,theaterChainName:r,city:o?.city,country:o?.country,ticketType:i,date:s}))})),n.A.on("TRACK_SHOWTIMES_MAP_BTN_CLICK",(({ticketType:e})=>k("showtimesMapBtnClick",C({ticketType:e})))),n.A.on("TRACK_SHOWTIMES_LIST_MODE",(({ticketType:e})=>k("showtimesListMode",C({ticketType:e})))),n.A.on("TRACK_THEATER_DETAIL_MAP_CLICK",(({ticketType:e})=>k("theaterDetailMapClick",C({ticketType:e})))),n.A.on("TRACK_MAP_MOVE",(({ticketType:e})=>k("showtimesMapMove",C({ticketType:e})))),n.A.on("TRACK_MAP_PIN_CLICK",(({theater:e,ticketType:t})=>{const i=e.name||"",n=e.chain?.name||"";k("mapPinClick",C({theaterChainName:i+"-"+n,ticketType:t}))})),n.A.on("GROUP_BOOKINGS_INQUIRE",(e=>{const t=e.name||"";k("groupBookingsInquire",C({theaterChainName:t+"-"+(e?.chain?.name||"")}))})),n.A.on("GROUP_BOOKINGS_NAVIGATE_STAGES",(e=>{k("groupBookingsNavigateStages",C({direction:e}))})),n.A.on("GROUP_BOOKINGS_SUBMIT",(e=>{const t=e.name||"";k("groupBookingsSubmit",C({theaterChainName:t+"-"+(e?.chain?.name||"")}))})),n.A.on("WRONG_REGION",((e,t)=>k("wrongRegion",C({region:e,ticketType:t})))),n.A.on("SHOWTIMES_ERROR",(e=>k("showtimesError",C({ticketType:e})))),n.A.on("SHOWTIMES_EMPTY",((e,t)=>{const{countryCode:i="",city:n=""}=e;k("showtimesEmpty",C({countryCode:i,city:n,ticketType:t}))}));const L=()=>({ticketProvider:n.A.get().showtimes?.customDataProvider?.join(",")||""});n.A.on("FILTER_SELECTED_TIME",((e,t="tickets")=>k("showtimesFilterSelectedTime",C({times:e,ticketType:t,...L()})))),n.A.on("FILTER_SELECTED_DAY",((e,t="tickets")=>k("showtimesFilterSelectedDay",C({date:e,ticketType:t})))),n.A.on("FILTER_SELECTED_FORMAT",((e,t="tickets")=>k("showtimesFilterSelectedFormat",C({formats:e,ticketType:t,...L()})))),n.A.on("FILTER_SELECTED_LANGUAGE",((e,t="tickets")=>k("showtimesFilterSelectedLanguage",C({language:e,ticketType:t})))),n.A.on("FILTER_SELECTED_SUBTITLES",((e,t="tickets")=>
2k("showtimesFilterSelectedSubtitle",C({subtitle:e,ticketType:t})))),n.A.on("SET_USER_LOCATION",(async(e,t,i)=>{e=await("function"==typeof e?e():e);const{countryCode:n="",city:r=""}=e||{};k("showtimesSetUserLocation",C({countryCode:n,city:r,source:t,ticketType:i}))})),n.A.on("GEO_FROM_IP",((e,t)=>{const{countryCode:i="",city:n=""}=e;k("showtimesGeoFromIP",C({countryCode:i,city:n,ticketType:t}))})),n.A.on("USER_LOCATION_UPDATED",(({geo:e,source:t,ticketType:i="tickets"})=>{if("landing"===t||!e)return;const{city:n="",countryCode:r=""}=e;k("showtimesUserLocationUpdated",C({source:t,city:n,countryCode:r,ticketType:i}))})),n.A.on("INVITE_GENERATOR_CHANGE_INVITE_CLICK",(()=>k("showtimesinvitegenerator-change-invite-click"))),n.A.on("INVITE_GENERATOR_SHARE_INVITE_CLICK",(({label:e,activePage:t}={})=>k("showtimesinvitegenerator-share-or-download-invite-click",C({type:"share",socialSharePlatform:e||"native"})))),n.A.on("INVITE_GENERATOR_DOWNLOAD_INVITE_CLICK",(()=>k("showtimesinvitegenerator-share-or-download-invite-click",{type:"download"}))),n.A.on("CALENDAR_CLICKED",(({label:e})=>k("calendarReminder",C({calendarLabel:e})))),n.A.on("VIDEO_PLAYER_PROGRESS",(({platform:e,video:t,videoTitle:i,videoLength:n,time:r,step:o,isShowtimesMessage:s,isTrailerOverlay:a})=>{k("videoProgress",C({video:t,platform:e,videoTitle:i,videoLength:n,videoTime:r,progress:95===o?100:o,type:a?"trailer":"videos",showtimesMessage:s?"true":"false"}))})),n.A.on("START_PHOTOBOOTH",(()=>k("photoboothStart"))),n.A.on("PHOTOBOOTH_GRANT_CAMERA_ACCESS",(()=>k("photoboothAllowCameraAccess"))),n.A.on("PHOTOBOOTH_DENY_CAMERA_ACCESS",(()=>k("photoboothDenyCameraAccess"))),n.A.on("PHOTOBOOTH_USE_CAMERA",(()=>k("photoboothUseCamera"))),n.A.on("PHOTOBOOTH_UPLOAD",(()=>k("photoboothUpload"))),n.A.on("PHOTOBOOTH_PHOTO_CAPTURED",(()=>k("photoboothPhotoCaptured"))),n.A.on("PHOTOBOOTH_IMAGE_UPLOADED",(()=>k("photoboothImageUploaded"))),n.A.on("SHARE_PHOTOBOOTH_IMAGE",(()=>k("photoboothShare"))),n.A.on("DOWNLOAD_PHOTOBOOTH_IMAGE",(()=>k("photoboothDownload"))),n.A.on("PHOTOBOOTH_SOCIAL_CLICK",(({platform:e})=>k("photoboothSocialClick",C({platform:e})))),n.A.on("PHOTOBOOTH_RESTART",(()=>k("photoboothRestart"))),n.A.on("TRACK_NAV_LINK_CLICK",((e,t,i)=>k("header-link-click",C({linkName:e,linkUrl:i})))),n.A.on("FOOTER_LINK_CLICK",(({name:e,url:t})=>k("footer-link-click",C({linkUrl:t,linkName:e})))),n.A.on("CUSTOM_EVENT",(({category:e,action:t,label:i})=>{k("customEvent",C({category:e,action:t,label:i}))})),g=e=>{e&&(e.variables&&(E=e.variables),Object.entries(e).forEach((([e,t])=>v(t,e))))},f=e=>{e.variables&&(E=e.variables);let t=C();return Object.values(e).filter((e=>i(e)&&e.static)).map((e=>{const i=w(e.code,t);return s(i)?i:`<script>${h(i)}<\/script>`}))},m=v,y=k,_=C}function v(e){return g?.(e)}function b(...e){return y?.(...e)}function w(...e){return _?.(...e)}},8210(e,t,i){"use strict";var n=i(1158);n.A.on("ENABLE_TRAILER_OVERLAY",(e=>{n.A.emit("TOGGLE_TRAILER_OVERLAY",!!e,e)})),n.A.on("TOGGLE_TRAILER_OVERLAY",((e,t)=>{e&&n.A.emit("PAUSE_ALL_VIDEOS"),n.A.get().trailerOverlay||n.A.get().set({trailerOverlay:{}}),"boolean"!=typeof e&&(e=!n.A.get().trailerOverlay.overlayOpen);const i=t?{video:t}:n.A.get().appData?.options?.videoOverlay;n.A.get().trailerOverlay.set({overlayOpen:e,data:i}),e&&n.A.get().trailerOverlay.set({overlayTriggered:!0}),n.A.emit(e?"ENABLE_SCROLLING_LOCK":"DISABLE_SCROLLING_LOCK"),e?n.A.emit("SET_HEADER_ACTION",{icon:"close",action:()=>n.A.emit("TOGGLE_TRAILER_OVERLAY",!1),tag:"closeTrailerOverlay"}):n.A.emit("REMOVE_HEADER_ACTIONS","closeTrailerOverlay")}))},1158(e,t,i){"use strict";i.d(t,{A:()=>s});var n=i(4273);const r=new(i.n(n)())({},{});function o(e){if("undefined"==typeof window||"function"!=typeof Event||!window.dispatchEvent)return;const t=new Event(e);window.dispatchEvent(t)}r.on("afterAll",(function(e){"update"!==e&&o(e)})),r.on(void 0,(()=>{throw new Error("Undefined action! Please define your actions!")})),"undefined"!=typeof window&&(window.Store=r,o("NEW_STORE"));const s=r},818(e,t,i){"use strict";i.d(t,{L:()=>r});i(9659),i(8077);var n=i(1158);function r(e){if(!e||"string"!=typeof e)return e;const t=n.A.get(),i=t?.appData?.urls?.roots?.imageRegion;let r=i;const o=t?.appData?.options?.useAssetUpdateDateTime,s=t?.appData?.options?.dynamicAssetUpdate,a=Date.now();if(s?.useDynamicUpdates){let e=Object.values(s?.dateTimesForUpdates).sort(((e,t)=>e-t)).filter((e=>a>e));e.length>0&&(r+=`/updates${e.length}`)}else o&&a>o&&(r+="/updates");return e.replace(/%IMAGE_REGION_ROOT_DYNAMIC%/g,r)}},4739(e,t,i){"use strict";i.d(t,{FH:()=>s,PB:()=>a,TA:()=>d,xF:()=>c});i(1190),i(9659),i(8077),i(7417),i(2754);var n=i(6430),r=i(1158),o=(i(9863),i(9248));async function s(e,t={},i={}){if("undefined"==typeof window)throw new Error("Trying to request server-side");i.headers=i.headers||{},i.headers["content-type"]||(i.headers["content-type"]="application/json"),i.referrer="",t.lon&&t.lat&&(i.headers["x-requested-lat"]=t.lat,i.headers["x-requested-lon"]=t.lon,t={...t,lat:void 0,lon:void 0}),t.countries&&(i.headers["x-requested-countries"]=t.countries,t={...t,countries:void 0}),t.approxPos&&(i.headers["x-requested-approxpos"]=t.approxPos.replace(/[^ -~]/g,""),t={...t,approxPos:void 0});const s=r.A.get(),a=(0,o.Ed)(),l=s.appData?.options?.apiUsageInterstetial,c=a?.spreadsheetId;let d=a?.useV2??!0;"useV2"in i&&(d=i.useV2,i={...i,useV2:void 0});
2const h=s?.showtimes?.inCinemaDetailView;h&&(t.include_theaters=h);let p=t.rules_groups||[],{changesSheet:u,...g}=a?.rules||{};u?.id&&u?.name&&p.push(`manualEntry::${u.id}::${u.name}`),g=Object.values(g);const f=g.filter((e=>e?.name&&"response"!==e?.type));if(f.length&&p.push(...f.map((e=>[e.name].concat((0,n.fY)(e.parameters)).join("::")))),g.length>f.length){let e=s.appData?.meta?.id||"",t=s.appData?.pages?.[s.activePage]?.path||"";p.push(["appId",e,t].join("::"))}p.length&&(t.rules_groups=p);const m=g.filter((e=>e?.name&&"response"===e?.type));m.length&&(t.res_rule_groups=m.map((e=>[e.name].concat((0,n.fY)(e.parameters)).join("::"))));let y="https://showtimes.s-prod.pow.io/v1.1";if(s.apiKey&&l&&(i.headers["X-API-Key"]=s.apiKey,y="https://showtimes.pow.io/v1.1"),d&&(y="https://showtimes-v2.s-prod.pow.io/v2.0"),c){0,["/filters","/location","/screenings/more","chain/more"].find((t=>-1!==e.indexOf(t)))&&(delete i.headers["X-API-Key"],y=`https://geolocated-results.s-prod.pow.io/v1.0/${c}`)}if(s.limitExceeded)throw r.A.emit("LIMIT_EXCEEDED",!0),429;let _=await fetch((0,n.HS)(y,e)+(0,n.zJ)(t),i);if(!_.ok){if(429===_.status&&!s.usingLimitlessKey){let e=!1;try{e=localStorage.getItem("limitlessKey")}catch(e){}e?r.A.emit("UPDATE_API_KEY"):(r.A.get().set({limitExceeded:!0}),r.A.emit("LIMIT_EXCEEDED",!0))}throw _.status||_.error||_}return _.json()}async function a(e){if("undefined"==typeof window)throw new Error("Trying to request server-side");const{justWatchId:t,jwRegion:i,jwFilmIdType:r,fafId:o,thundrData:s,useDummyData:a}=e,c={};t&&i&&(c.jwFilmId=t,c.jwLocale=l[i.toLowerCase()]),i&&a&&(c.jwLocale=l[i.toLowerCase()]),r&&(c.jwFilmIdType=r),o&&(c.fafFilmId=o),a&&(c.useDummyData="true");const d=await fetch("https://homeent.s-prod.pow.io/bolt-home-ent"+(0,n.zJ)(c),{method:"post",headers:{"content-type":"application/json"},body:JSON.stringify(s)});if(!d.ok)throw d.status||d.error||d;return d.json()}const l={us:"en_US",gb:"en_GB",fr:"fr_FR",de:"de_DE",br:"pt_BR",au:"en_AU",nz:"en_NZ",ca:"en_CA",ca_fr:"en_CA",za:"en_ZA",ie:"en_IE",mx:"es_MX",jp:"ja_JP",nl:"en_NL",be:"fr_BE",be_fr:"fr_BE",be_nl:"fr_BE",se:"sv_SE",th:"en_TH",pt:"pt_PT",cz:"cs_CZ",no:"en_NO",ru:"ru_RU",in:"en_IN",ch:"de_CH",ch_ch:"de_CH",ch_fr:"de_CH",at:"de_AT",ph:"en_PH",sg:"en_SG",pl:"pl_PL",fi:"fi_FI",gr:"el_GR",tr:"tr_TR",co:"es_CO",dk:"en_DK",ar:"es_AR",cl:"es_CL",es:"es_ES",kr:"ko_KR",it:"it_IT",lt:"en_LT",pe:"es_PE",ee:"en_EE",lv:"en_LV",my:"en_MY",id:"en_ID",hu:"hu_HU",ve:"es_VE",ro:"ro_RO",ec:"es_EC"};async function c(e,{imageUrl:t,siteUrl:i,metaOverrides:r}){if("undefined"==typeof window)throw new Error("Trying to request server-side");const o={imageUrl:t,siteUrl:i,metaOverrides:r},s=await fetch((0,n.HS)("https://share.s-prod.pow.io",e)+(0,n.zJ)(o));if(!s.ok)throw s.status||s.error||s;return s.text()}async function d({method:e,path:t,query:i,body:r}){if("undefined"==typeof window)throw new Error("Trying to request server-side");let o=`https://user-feedback.s-prod.pow.io${t||"/"}`;i&&(o+=(0,n.zJ)(i));const s={method:e};r&&(s.headers={"content-type":"application/json"},s.body=JSON.stringify(r));try{const e=await fetch(o,s);if(!e.ok)throw e.status||e.error||e;return e.json()}catch(e){return e}}},9155(e,t,i){"use strict";i.d(t,{A:()=>a});var n=i(1158),r=i(3549),o=i(4739),s=i(6430);const a=(0,r.A)((async()=>{const e=n.A.get(),t=(0,s.wh)(e,"appData.meta.title.slug");try{return(await(0,o.FH)("/app/regions",{slug:t})).response}catch(e){return console.error(e),null}}))},704(e,t,i){"use strict";i.d(t,{A9:()=>h,CH:()=>a,KS:()=>u,NW:()=>o,f8:()=>p,k_:()=>f,qF:()=>g});i(187);var n=i(1158),r=i(6430);function o(){const e=s(),t=a(),i=l();return{dimensions:e,pixelDimensions:t,device:i,deviceSize:c(e,i),deviceWidthSize:c(e,i,!0),orientation:d(e),isIOS:function(){if("undefined"==typeof window)return!1;const e=(""+navigator.userAgent).toLowerCase(),t=/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;return-1!==e.indexOf("ipad")||t||-1!==e.indexOf("iphone")}(),isEdge:function(){const e=(navigator.userAgent||"").match(/Edge\/(\d+)\./);if(e)return+e[1];return!1}(),isSafari:/^((?!chrome|android|CriOS|fxios).)*safari/i.test(navigator.userAgent),isDesktopSize:h(),isDesktopWidth:function(e=c(s(),l(),!0)){return e.toLowerCase().includes("desktop")}(),isSocialWebview:function(){const e=(navigator.userAgent||"").toLowerCase();return["instagram","webview","fban","fbav","tiktok"].some((t=>-1!==e.indexOf(t)))}()}}function s(){return{width:window.innerWidth,height:window.innerHeight}}function a(){const e=window.devicePixelRatio||1;return{width:window.innerWidth*e,height:window.innerHeight*e}}function l(){if("undefined"!=typeof window){const e=(""+navigator.userAgent).toLowerCase();if(-1!==e.indexOf("android"))return"android";if(-1!==e.indexOf("iphone"))return"iphone";if(-1!==e.indexOf("ipad"))return"ipad"}return navigator.maxTouchPoints>1?"tablet":"desktop"}function c(e=s(),t=l(),i){if("iphone"==t)return"mobile";const o=n.A.get(),a=(0,r.wh)(o,"appData.styling.variables.breakTablet","767").replace("px",""),c=[[+a,"mobile"],[+(0,r.wh)(o,"appData.styling.variables.breakSmallDesktop","1024").replace("px",""),"tablet"],[+(0,r.wh)(o,"appData.styling.variables.breakDesktop","1280").replace("px",""),"smallDesktop"],[+(0,r.wh)(o,"appData.styling.variables.breakLargeDesktop","1600").replace("px",""),"desktop"],[1/0,"largeDesktop"]];for(let n=0;n<c.length;n++){let[r,o]=c[n];if(!(e.width>=r))return"smallDesktop"===o&&e.width<e.height&&!i?"tablet":"mobile"!==o&&"tablet"!==t&&"desktop"!==t&&"landscape"===d({width:e.width,height:e.height})&&e.height<a&&!i?"mobile":o}return"unknown"}function d({width:e,height:t}){return e>t?"landscape":"portrait"}function h(e=c()){const t=d(s());return"desktop"===e||"largeDesktop"===e||"smallDesktop"===e&&"landscape"===t}function p(){return window.top!==window.self||/[?&]iframe([=&]|$)/i.test(location.search)}function u(){if((0,r.wh)(n.A.get(),"appData.options.bareboneShowtimesView",!1))return!0;
2if("undefined"==typeof window)return!1;const e=/[?&]showbarebones([=&]|$)/i.test(location.search);return p()&&e}function g(){if((0,r.wh)(n.A.get(),"appData.options.bareboneShowtimesView",!1))return!0;if("undefined"==typeof window)return!1;const e=/[?&]showbarebones=showtimes([&]|$)/i.test(location.search);return p()&&e}function f(){if("undefined"==typeof window)return!1;return/[?&]hideFooter([=&]|$)/i.test(location.search)}},9570(e,t,i){"use strict";i.d(t,{LG:()=>l,SN:()=>d,aL:()=>c});i(187),i(3559),i(9986),i(613);var n=i(1158),r=i(3549),o=i(4739),s=i(6430),a=i(9248);const l=(0,r.A)((async()=>{let e={};try{let t=await fetch("https://stdata.powster.com/geo");e=await t.json()}catch(e){}if(!e?.city)try{let t=e?.countryCode||"us",i=new URL("https://stdata.powster.com/capital");i.searchParams.set("country",t.toLowerCase());let n=await fetch(i);if(!n.ok)throw new Error;Object.assign(e,await n.json())}catch(e){}return e?.countryCode&&(e.countryCode=e.countryCode.toLowerCase()),e}));async function c(e){const t=["us",...(0,s.DD)((0,a.Ed)().boundingRegions)].map((e=>e.toUpperCase()));if(!(e=Object.assign({},await(async()=>{try{const e=await l();return{lat:e.lat,lon:e.lon}}catch(e){return{}}})(),(()=>{const e=n.A.get().appData?.meta?.region?.language;return e?{lang:e}:{}})(),e)).search)throw new Error("Searching with empty value");const i=await(0,o.FH)("/geo/search",e);if(!i?.response)throw new Error("Unable to search for "+e.search);return i.response.sort(((e,i)=>{let n=t.includes(e.countryCode);return n===t.includes(i.countryCode)?0:n?-1:1}))}async function d(e){let t=await c(e);if(!t?.[0])throw new Error("No results for "+e.search);return t[0]}},9248(e,t,i){"use strict";i.d(t,{vQ:()=>w,Zs:()=>x,tQ:()=>l,vF:()=>L,XP:()=>m,Wt:()=>I,Ho:()=>N,GD:()=>f,wS:()=>O,rT:()=>g,Ed:()=>P,qF:()=>h,xO:()=>c,xf:()=>v,aN:()=>y,L2:()=>D,OU:()=>k,wh:()=>p,$s:()=>R,sD:()=>_,l4:()=>A});i(187),i(9659),i(8077),i(3552),i(5359),i(7e3),i(7417),i(6174);var n=i(1158),r=i(704),o=i(6430);function s(e,t,i){if(++i>10)return t;return(""===t?"":(0,o.wh)(e,t,t)+"").replace(/(\\)?%([^% ]+)%/g,((t,n,r)=>n?"%"+r+"%":s(e,r,i)))}function a(e,t){return s(e,t,0)}function l(e){return Object.assign(e.client,(0,r.NW)()),e}function c(e={},t,i={}){if("string"==typeof e||!e)return e;t||(t=n.A.get().client);let{deviceSize:r="mobile",orientation:o="portrait"}=t;"largeDesktop"!==r&&"smallDesktop"!==r||(r="desktop");let s=`${r}${o[0].toUpperCase()+o.slice(1)}`;return i.nullIfDisabled&&void 0===e[s]&&void 0===e[r]?null:("mobileLandscape"!==s||e.mobileLandscape||(s="tabletLandscape"),"tabletLandscape"!==s||e.tabletLandscape||(s="desktopLandscape",r="desktop"),e[s]||e[r]||e.desktop||e.tablet||e.mobile)}const d=e=>"string"==typeof e?e.replace(/\b(\d+)vh\b/g,"calc($1 * var(--vh))"):e;function h(e){return function(e){const t=c(e);return t?"string"==typeof t?d(t):Object.fromEntries(Object.entries(t).map((([e,t])=>[e,d(t)]))):t}(e?.titleTreatmentSize)||{}}function p(e){return e&&"string"==typeof e&&2===(e=e.toUpperCase().replace(/^([A-Z]{2})_.+$/,"$1")).length?e:null}function u(e){let t=e?.path||"/",i="";if(t.includes("#")&&([t,i]=t.split("#"),t=t||"/",e.section)){const i=e.parent||"boltHome";t=n.A.get().pages?.[i]?.path||t}return e?.baseHtml&&(t+=e.baseHtml),{path:t,hash:i}}function g(e,t=("undefined"!=typeof window?location.search:""),i){let r=n.A.get(),s=r.activePage,a="string"==typeof e?r.appData?.pages?.[e]:e;if(!a)return null;"object"==typeof t&&(t=(0,o.zJ)(t));let{path:l,hash:c}=u(a);c=c||i||"",c&&!c.startsWith("#")&&(c="#"+c);let d=(0,o.wh)(r,["appData","pages",s]);return d?u(d).path.slice(1).split("/").slice(1).fill("../").join("")+l.slice(1)+t+c||"./":l+t+c}function f(e){let t=location.pathname+location.hash;let i=Object.values(e||n.A.get().appData.pages||{}).flatMap((e=>[e.path,...(0,o.fY)(e.alternatePaths)].map((i=>(e.baseHtml&&(i=i?.startsWith("#")?e.baseHtml+i:i+e.baseHtml),t.includes(i)?{id:e.parent||e.id,count:i.length}:null))))).filter((e=>e)).sort(((e,t)=>e.count-t.count)).pop();return i?.id}function m(e=n.A.get().appData){const t=Object.values(e.pages||{}),i=t.find((e=>e.isMainPage))||t.find((e=>"home"===e.page))||t[0];return i?i.id:null}function y(e){return"videos"===n.A.get().appData.pages[e]?.type}function _(e,t){if(!arguments.length){const i=n.A.get();e=(0,o.wh)(i,"appData.options.forceLive"),t=(0,o._U)((0,o.wh)(i,"appData.meta.dates.live")||(0,o.wh)(i,"appData.meta.dates.release"))}return e||t<=Date.now()}const v=e=>{const t=n.A.get().appData;if(!t?.options?.dualView)return!1;e||(e=Object.values(t.pages));const i=e.find((e=>"showtimes"===b(e))),r=e.find((e=>"homeEnt"===b(e))),o=e.find((e=>"stickAndScaleWidget"===b(e)));return i&&_()&&r||i&&r&&o},b=e=>e.component||e.type;function w(e,t){const i=document.createElement("style"),n=document.head.appendChild(i).sheet;Array.isArray(t)&&(t=t.join(";")),t&&"object"==typeof t&&(t=Object.entries(t).map((([e,t])=>`${e}:${"content"===e?"'"+t+"'":t}`)).join(";")),n.insertRule(e+"{"+t+"}",n.cssRules.length)}function A(e){if(e.includes("?")){let[t,i]=e.split("?");return i="?"+i,{path:t,query:i}}return{path:e}}function k(e,t={}){if(e.startsWith("@"))return n.A.emit("OPEN_RESERVED_VARIABLE_LINK",e+(t.queryString||""));if(e.includes("?v=")){const i=e.split("?v=");e=i[0],t.queryString="?v="+i[1]}let i;if(e.includes("#")&&!e.startsWith("#")){const t=e.match(/^([\w\d_-]+)#([\w\d_-]+)$/);3===t?.length&&(e=t[1],i=`#${t[2]}`)}const r=N(e);return r?r.section||r.type||"boltHome"===e?void("showtimes"===r?.type?t?.calendarRemindMode?(n.A.emit("SET_ACTIVE_PAGE",m(),t?.queryString,{hashInPage:i}),n.A.emit("SHOW_CAL_REMIND")):n.A.emit("SHOWTIMES_SHOW",t?.animate,t?.queryString,r?.id):"homeEnt"===r?.type?n.A.emit("HOMEENT_SHOW",t?.animate,t?.queryString,r?.id):"pressKit"===r?.type?n.A.emit("PRESSKIT_SHOW",void 0,void 0,e):"videos"===r?.type?n.A.emit("OPEN_VIDEO_OVERLAY",r.id||e,t?.queryString):r.parent&&r.parent===n.A.get().activePage?n.A.emit("CHANGE_ACTIVE_SECTION",r.id):r.parent?(i=r.path?.match(/#(.+)$/)?.[1]||r.data?.hash||i,n.A.emit("CLOSE_ALL_OVERLAYS"),n.A.emit("SET_ACTIVE_PAGE",r.parent,t?.queryString,{hashInPage:i})):(n.A.emit("CLOSE_ALL_OVERLAYS"),n.A.emit("SET_ACTIVE_PAGE",r.id||e,t?.queryString,{hashInPage:i}
2),n.A.emit("CHANGE_ACTIVE_SECTION",r.id||e,{instant:!1!==t?.instant}),"stickAndScaleWidget"===r?.type&&n.A.emit("EXPAND_WIDGET"))):(n.A.emit("CLOSE_ALL_OVERLAYS"),void n.A.emit("SET_ACTIVE_PAGE",r.id||e,t?.queryString,{hashInPage:i})):void 0}const S=e=>"object"==typeof e&&null!==e;function E(e,t){return S(t)?(Object.entries(t).forEach((([t,i])=>{S(i)?e[t]=E(S(e[t])?e[t]:{},i):e[t]=i})),e):e}function C(e,...t){return t.reduce(((e,t)=>E(e,t)),e)}function T({store:e=n.A.get(),appData:t=e.appData,page:i=e.activePage}={}){let r=t?.doc?.metaTags,o=r?.pageSpecificMetaTags?.[i];return C({},r,o,t?.pages?.[i]?.meta)}function O(e){let t=e?.store||n.A.get(),i=e?.appData||t.appData,r=e?.page||t.activePage,o=(e?.meta||T({store:t,appData:i,page:r})).title,s=i.pages?.[r],l=s?a(i.copy?.baseCopy,s.name):"";return a({...i.copy?.baseCopy,PAGE_NAME:l},o)}function I(e){let t=e?.store||n.A.get(),i=e?.appData||t.appData,r=e?.page||t.activePage,o=(e?.meta||T({store:t,appData:i,page:r})).description,s=i.pages?.[r],l=s?a(i.copy?.baseCopy,s.name):"";return a({...i.copy?.baseCopy,PAGE_NAME:l},o)}function L(){const e=document.querySelector("#header");return e?.clientHeight||0}function D(e,t){const i=document.createElement("a");i.href=e,i.target=t||"_blank",i.rel="noopener",i.click()}function x(e,t="key"){return Object.values(Object.fromEntries(e.map((e=>[e?.[t],e]))))}function P(){let e=n.A.get(),t=e.activePage;const i=e.appData?.pages?.[t]?.type,r="showtimes"===i||"filmPage"===i?t:"boltShowtimes";let o=e.appData?.pages?.[r]?.data||{};return"filmPage"===i&&(o=Object.values(e.appData?.pages?.[t]?.data||{}).find((e=>"showtimes"===e.type))?.data||{}),o}function R(e){const t=e.target.closest("a[data-track][data-action]");if(t){const i=(!t.target||"_self"===t.target||"_top"===t.target)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey&&0===e.button;i&&e.preventDefault();const r=t.getAttribute("data-action"),o=t.getAttribute("data-track"),s=t.getAttribute("data-label");n.A.emit("CUSTOM_EVENT",{action:r,category:o,label:s}),i&&(location.href=t.href)}if(e.target.matches('a[href^="@"]'))return e.preventDefault(),n.A.emit("OPEN_RESERVED_VARIABLE_LINK",e.getAttribute("href"));let i=e.target.closest('a[href^="#$"]');if(i){e.preventDefault();let t=i.getAttribute("href").slice(2).trim(),n={};if(t.includes("/?")){let[e,i]=t.split("/?");t=e,n.queryString="?"+i}k(t,n)}}function N(e){e=e?.split("?")?.[0];const t=n.A.get().appData?.pages;if(!e)return null;if(!t)return null;if(t[e])return t[e];const i=(0,o.RS)(e,"/");return Object.values(t).find((e=>i===(0,o.RS)(e.path,"/")||i===(0,o.RS)(e.additionalPaths,"/")))||null}},102(e,t,i){"use strict";i.d(t,{DE:()=>G,G2:()=>E,J8:()=>K,P9:()=>j,RX:()=>Z,Wh:()=>z,a:()=>A,ar:()=>W,k1:()=>P,kY:()=>H,lk:()=>Q,nf:()=>Y,pR:()=>R,t1:()=>X,uv:()=>q,xL:()=>B,xz:()=>$});i(187),i(1190),i(9659),i(8077),i(3552),i(5359),i(7e3),i(7417),i(6174),i(4711),i(3559),i(9986),i(613);var n=i(3549),r=i(8881),o=i(6430),s=i(9248),a=i(2037),l=i(9863),c=i(4739),d=i(2483),h=i(1158);const p=["AT","BE","DK","EG","FI","FR","DE","GR","GG","HU","IE","IL","IT","JE","KW","LB","LU","NL","NO","PL","PT","QA","SA","ZA","ES","SE","CH","TR","UA","AE","GB"];function u(e){let t=e.findIndex((e=>e&&"EMEA"===e.toUpperCase()));return-1!==t&&e.splice(t,1,...p),e}const g=(0,n.A)((()=>(0,o.wh)(h.A.get(),"appData.urls.alternativeAPIPath")||"")),f=e=>g()+e,m=()=>(0,r.A)(new Date,"yyyy-MM-dd"),y=()=>({today:m()}),_=()=>({local_time:(0,r.A)(new Date,"yyyy-MM-dd HH:mm:ss")}),v=async()=>{let e=h.A.get(),t=e.showtimes?.filters?.selected?.movie,i=((0,s.Ed)().movieId||"").split(",").map((e=>e.trim())).filter((e=>e));return t?.length&&(i=t),i=await d.Ay.call("showtimes.request.filters.movie_ids",i),{movie_id:i.join(",")}},b=async()=>{const e=(0,s.Ed)(),t=e.countrySearch,i=e.forceCountrySearch;let n=await(0,o.wh)(h.A.get(),"client.geo.loading");n=n||(0,o.wh)(h.A.get(),"client.geo")||{};let r={lat:n.lat,lon:n.lon,approxPos:n.label||(n.city?n.city+", "+n.countryCode:null)};return t&&(r.approxPos=n.city,r.countryToSearch="country"===n.labelType?n.countryCode:void 0),i&&(r.countryToSearch=n.countryCode),r},w=()=>{let e=(0,s.Ed)().radius;return+e?{radius:+e}:{}};function A(e){let t=h.A.get(),i=t.appData,n=(0,o.wh)(i,["pages",e||t.activePage,"data","boundingRegions"])||(0,o.wh)(i,"meta.boundingRegions"),r=(0,o.DD)(n);
2return r.includes("us")||n&&!1===n.us||r.push("us"),r.find((e=>"INTL"===e?.toUpperCase?.()))?null:(0,o.jF)(u(r).map(s.wh).filter((e=>e)))}const k=()=>({countries:A()});let S=e=>"string"==typeof e?e.split(",").map((e=>e.trim())).filter((e=>e)).join(",")||void 0:"boolean"==typeof e?e.toString():void 0;function E(e,t){return Object.keys(e).reduce(((i,n)=>(e[n]&&/^[a-z]{2}$/i.test(n)&&(i[n.toLowerCase()]=S(e[n][t])),i)),{base:S(e[t])})}function C(e){return e?Object.entries(e).filter((e=>e[1])).map((e=>e.join(":"))).join("|")||void 0:e}const T=()=>{let e=h.A.get().showtimes;const t=e?.customDataProvider?{base:e.customDataProvider}:null;let i=(0,s.Ed)(),n=t||E(i.providers||{},"deeplink"),r=t||E(i.providers||{},"showtimes"),o=E(i.providers||{},"onlyWithDeeplink"),a=E(i.providers||{},"alwaysWithDeeplink");n.base||(n.base=S(i.deeplinkProviders||"webedia")),r.base||(r.base="webedia");const l={deeplink_providers:C(n),showtimes_providers:C(r)};return o&&(l.only_with_deeplink=C(o)),a&&(l.always_with_deeplink=C(a)),l},O=(0,n.A)((()=>{let e=(0,s.Ed)(),t=E(e.providers||{},"tickets");return t.base||(t.base=S(e.ticketProviders)),{ticket_providers:t}})),I=(0,n.A)((()=>{const e=(0,s.Ed)(),t=S(e.disabledTheaters||"");return"string"==typeof t?{theaters_excluded:t.split(",")}:{theaters_excluded:t}})),L={audioDetails:"audio_details",time:"time_of_day",date:"date",formats:"formats",attributes:"attributes",language:"language",subtitles:"subtitles"},D=async()=>{let e=h.A.get(),t={...e?.showtimes?.filters?.selected},i=(0,s.Ed)().formatsDict||{},n=(0,s.Ed)().formatsAllowed||"";if(n&&(n=n.split(",").map((e=>e.trim()))),t=await d.Ay.call("showtimes.request.filters.preprocess",t),t.format?.length){let e=e=>{const t=Object.keys(i).filter((t=>i[t]===e));return[e].concat(t)},r=t.format.flatMap((t=>e(t))).filter((e=>!n||n.includes(e)));t.format=r}else n&&(t.format=n);let r,o=Object.keys(t).reduce(((i,n)=>{if("date"===n&&!e?.showtimes?.filters?.userSelectedDate)return i;let r=B(t[n],e.showtimes?.filters?.available[n]);return"combinedLanguage"!==n&&(i[L[n]||n]=r),i}),{});return t.combinedLanguage&&(r=t.combinedLanguage.map((e=>({and:[...Object.keys(e).map((t=>({[t]:e[t]})))]})))),o=await d.Ay.call("showtimes.request.filters",o),{filters:o,and:r}};async function x(e){if((e=Object.assign({},(()=>{let e=(0,s.Ed)().limit;return+e||(e=10),{limit:e,offset:0}})(),await v(),await b(),k(),T(),O(),I(),y(),_(),w(),(()=>{const e=h.A.get().showtimes?.groupBookingsTabActive;if(e){const e=(0,s.Ed)(),t=Object.keys(e?.groupBookings?.formsForChain||{}),i=e?.groupBookings?.ptrId;return{chain_ids:t.join(","),groupBookings:"true",ptrId:i}}return{}})(),e)).filters||Object.assign(e,await D()),!e.lat||!e.lon)throw new Error("No lat/lon available");return await d.Ay.call("api.response.screenings",(0,c.FH)(f("/screenings/location"),e))}async function P(e){if((e=Object.assign({},await v(),await b(),k(),T(),O(),I(),y(),_(),w(),e)).filters||Object.assign(e,await D()),!e.lat||!e.lon)throw new Error("No lat/lon available");return(0,c.FH)(f("/chain/more"),e)}async function R(e){if((e=Object.assign({},await v(),await b(),k(),T(),I(),y(),w(),e)).filters||(Object.assign(e,await D()),e.filters&&delete e.filters.date),!e.lat||!e.lon)throw new Error("No lat/lon available");return(0,c.FH)(f("/screenings/more"),e)}async function N(e){return e=Object.assign({},await v(),await b(),k(),T(),O(),I(),y(),_(),w(),e),(0,c.FH)(f("/filters"),e)}function M(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function B(e,t){if(!Array.isArray(e)||!Array.isArray(t))return e;let i=e.filter((e=>e.includes("*")));if(!i.length||(0,s.Ed)().disableFilterGlobs)return e;let n=e.filter((e=>!e.includes("*")));return i.forEach((e=>{let i=new RegExp("^"+e.split("*").map(M).join("(.*)")+"$","i");n=n.concat(t.filter((e=>i.test(e))))})),(0,o.jF)(n)}async function H(e={}){if(!e.api||!e.api.theaters_included)return;let t=e.api.theaters_included,i=h.A.get().showtimes.theatersDates;if(i&&i[t])return;let n=Object.assign({},i,{[t]:"loading"});h.A.get().showtimes.set({theatersDates:n});let r={};try{r=await N(e.api)}catch(e){}const o=r.response||{};let s=m();i=h.A.get().showtimes.theatersDates,n=Object.assign({},i,{[t]:(o.dates||[]).filter((e=>e>=s))}),h.A.get().showtimes.set({theatersDates:n})}async function $(e={}){let t;try{let i=await d.Ay.call("filters.request.options",e.api);t=await N(i)}catch(e){}return V(t?.response||{})}async function V(e){let t=(0,s.Ed)().formatsDict||{},i=(0,s.Ed)().formatsAllowed||"",n=(0,s.Ed)().movieId||"";i&&(i=i.split(",").filter((e=>e.trim())));const r=(0,s.Ed)().useV2;let l=!1,c=m(),p=await d.Ay.call("filters.formats.expand",e.formats||[]);i&&(p=p.filter((e=>i.includes(e)))),p=(0,o.jF)(p.map((e=>t[e]||e)));const u=(0,s.Ed)().screeningCategories?.exclusions||{};let g={date:(e.dates||[]).filter((e=>e>=c)),time:e.time_of_day||[],format:p,attributes:[],originalLanguage:void 0,language:void 0,subtitles:void 0,dubbing:void 0,overVoice:void 0,audioDetails:void 0};!u.attributes&&e.attributes&&(g.attributes=e.attributes),!u.language&&r&&e.originalLanguage&&(g.originalLanguage=e.originalLanguage),!u.language&&r&&e.language&&(g.language=e.language),!u.language&&r&&e.subtitles&&(g.subtitles=e.subt
2itles),!u.language&&r&&e.dubbing&&(g.dubbing=e.dubbing),!u.language&&r&&e.overVoice&&(g.overVoice=e.overVoice),!u.audioDetails&&e.audio_details&&(g.audioDetails=e.audio_details),n.split(",").length>1&&(g.movie=n.replace(/\s/g,"").split(","));let f=await async function(e={}){let t=await(0,a.Z)();return Object.keys(t).forEach((i=>{e[i]=(0,o.jF)((e[i]||[]).concat(t[i]))})),e}(g);f=await d.Ay.call("filters.expand",f);let y=h.A.get().showtimes.filters.set({available:f,loading:!1}).now();if(y.selected){Object.keys(y.selected).forEach((e=>{let t=f[e];if(!t||"date"===e)return;let i=y.selected[e],n=i?.filter((e=>e.includes("*")||t.includes(e)));n?.length!==i?.length&&(h.A.get().showtimes.filters.selected[e].reset(n).now(),l=!0)}));let e=h.A.get().showtimes.filters.selected,t=e.date?.[0],i=t&&f.date.includes(t);if(t&&!i){let i=f.date[0]||c;i=await d.Ay.call("filters.defaultDate",i,{available:f}),t!==i&&(e.set({date:[i]}).now(),l=!0)}}return l}const F=(0,n.A)((()=>{let e=(0,s.Ed)(),t=e.providers||{},i=Object.keys(t).reduce(((e,i)=>(t[i]&&/^[a-z]{2}$/i.test(i)&&(e[i.toLowerCase()]=S(t[i].tickets)),e)),{base:S(t.tickets)});return i.base||(i.base=S(e.ticketProviders)),i}));function G(e,t={},i={}){let n=(e=>{let t=e.address.intl||e.address.local,i=t&&t.country,n=F();return n[i]||n.base||[]})(e);const r=(0,s.Ed)(),a=e.screenings.map((e=>e.format));
2e.screenings.forEach((o=>{if(o.link||(o.link={}),!o.link.direct&&!o.lockLinks){let t=e.url||e.chain?.url;o.link.direct=/^(https?:)?\/\//.test(t)?t:"https://"+t}if(n.length&&Object.keys(o.link).forEach((e=>{n.includes(e)||delete o.link[e]})),o.link.fandango)try{const e=new URL(o.link.fandango),t=(r?.providers?.fandangoAffiliateID||"").trim();t&&e.searchParams.set("a",t);const i=(0,l.A)().cmp;i&&e.searchParams.set("cmp",i),o.link.fandango=e.href}catch(e){}o.movie=t[o.movieId],o.format=i[o.format]||o.format}));const c=(0,o.fY)(i.priorityRepeatedTimes);if(c.length){const t=e=>{const t=c.indexOf(a[e]);return-1===t?e+c.length:t};e.screenings=e.screenings.filter(((i,n)=>!e.screenings.some(((e,r)=>e.movie.id===i.movie.id&&e.date===i.date&&e.time===i.time&&e.format===i.format&&t(r)<t(n)))))}}let U=0;async function j(e={},t=0){let i,n=++U,a=h.A.get().showtimes,l=(0,s.Ed)().formatsDict||{},c=a?.allMovies;a.set({loading:!0,error:!1});try{if(i=await x(e.api),n!==U)return}catch(e){console.error(e);let t=e?.message||e;return void h.A.get().showtimes.set({error:t,loading:!1})}if(i?.response?.filters&&(await V(i.response.filters),n!==U))return;if(i?.response?.filteredFilters&&h.A.get().showtimes.set({filteredFilters:i.response.filteredFilters}),0===t&&!i?.response?.data?.length&&i?.response?.filters?.dates?.length)return j({...e},t+1);let d=i?.response?.included?.allCities;d&&(d.forEach((e=>{e.cityName&&(e.city=e.cityName,delete e.cityName)})),h.A.get().showtimes.nearby.locations.set({data:d,loading:!1,more:!1}));let p=i?.response?.data||[],u=i?.response?.meta?.more||!1,g=i?.response?.included?.movies||{},f=i?.response?.included?.chains||{},m=!1;for(let e of p){let t=e.screenings.find((e=>e.date&&(2===e.cta||(!e.cta||1===e.cta)&&e.time>="04:00")));if(t){m=!0,h.A.get().showtimes.filters.selected.set("date",[t.date]);break}}if(!m){let e=p[0]?.screenings?.[0];if(e){let t=e?.cta||1,i=e?.date;if(1===t&&e.time<"04:00"){let e=(0,o._U)(i);e.setDate(e.getDate()+1),i=(0,r.A)(e,"yyyy-MM-dd")}h.A.get().showtimes.filters.selected.set("date",[i])}}return p.forEach((e=>{e.chain=f[e.chainId],G(e,g,l)})),h.A.get().showtimes.set({data:p,allMovies:c||g,movies:g,filterSnapshot:{...(0,o.wh)(h.A.get(),"showtimes.filters.selected")},more:u}).now(),p}async function z(){await V({}),h.A.get().showtimes.set({loading:!1,data:[],filteredFilters:{},filterSnapshot:{...(0,o.wh)(h.A.get(),"showtimes.filters.selected")},more:!1,nearby:{chain:{},locations:{}}}).now()}async function W(e={}){let t=h.A.get().showtimes;const i=Object.assign({offset:(t.data||[]).length},e.api);let n;try{n=await x(i)}catch(e){let t=e&&e.message||e;return void h.A.get().showtimes.set({error:t,loadingMore:!1})}let r=n.response.data,a=(0,o.wh)(n.response,"meta.more",!1),l=(0,s.Ed)().formatsDict||{},c=n.response.included.movies,d=n.response.included.chains;r.forEach((e=>{e.chain=d[e.chainId],G(e,c,l)}));const p=[...t.data,...r];h.A.get().showtimes.set({data:p,more:a}).now()}function K(e){const t=["atom","movietickets","fandango","direct"],i=(0,s.Ed)(),n=i?.providers?.highlightedTicketProvider;return e.sort(((e,i)=>e===n?-1:i===n?1:t.indexOf(i)-t.indexOf(e)))}function Y(e){return(e=e.toString().match(/^([01]\d|2[0-3])(:)([0-5]\d)(:[0-5]\d)?$/)||[e]).length>1&&((e=e.slice(1))[5]=+e[0]<12?" AM":" PM",e[0]=+e[0]%12||12),e.join("")}function X(e,t){if(!e)return;let i=(0,o.fz)(e),n=i.find((e=>{const i=u((e.regions||"").toUpperCase().split(",").map((e=>e.trim()))),n=u((e.excludedRegions||"").toUpperCase().split(",").map((e=>e.trim())));return(i.includes(t)||i.includes("INTL"))&&!n.includes(t)}));const r=Object.values(e).filter((e=>e.regions)),s=Object.values(e).filter((e=>e.excludedRegions));return n||r.length||s.length||(n=i[0]),n}function q(e){const t=h.A.get(),i=t.client?.geo?.countryCode,n=((0,s.Ed)()||{}).movieData,r=t.showtimes?.allMovies?.[e]||t.showtimes?.movies?.[e],o=t.appData?.meta?.title?.locale;return n?.[i]?.[e]?.title||n?.[e]?.title||r?.regions.find((e=>e.country===i))?.title||r?.regions.find((e=>"INTL"===e.country))?.title||o||e}function Z(e){return(0,o.fY)((0,s.Ed)()?.orderForFiltersAndScreenings?.[e]).reverse()}function Q(e){return{}}},2037(e,t,i){"use strict";i.d(t,{Z:()=>u});i(187),i(1190),i(9659),i(8077),i(3552),i(7417);var n=i(1158),r=i(3549),o=i(9863),s=i(6430),a=i(9248),l=i(8881),c=i(2483),d=i(2824);const h=(0,r.A)((()=>{let e=(0,s._U)((0,a.Ed)()?.defaultDate);return Number.isNaN(+e)?null:(0,l.A)(e,"yyyy-MM-dd")})),p=["morning","afternoon","evening","late"],u=async e=>{let t=(0,o.A)(e),i={audioDetails:[]};const r=(0,s.fY)(t.format);r?.length&&(i.format=r,i.format.includes("dolby")&&(i.format=i.format.filter((e=>"dolby"!==e)),i.audioDetails.push("Dolby Cinema")));const a=((0,s.fY)(t.time)||[]).filter((e=>p.includes(e)));a?.length&&(i.time=a);const u=(0,s.fY)(t.chain||t.exhibitor);u?.length&&(i.exhibitor=u);const g=(0,s.fY)(t.m);g?.length&&(i.movie=g);const f=(0,s.fY)(t.movie||t.title);if(f?.length){const e=Object.entries(n.A.get().appData?.pages?.boltShowtimes?.data?.movieData||{}),t=f.map((t=>{const i=e.find((e=>{const[,i]=e,n=i.querySlug||(0,d.A)(i.title,{removeDiacritics:!0});return t===n}));return i?i[0]:t}));let r=await c.Ay.call("querystring.filters.movie",t);r?.length&&(i.movie=r)}const m=(0,s._U)(t.date),y=h();let _=Date.now();return m&&!Number.isNaN(+m)&&m>_?i.date=[(0,l.A)(m,"yyyy-MM-dd")]:y&&new Date(y)>_&&(i.date=[y]),i}},7081(e,t,i){"use strict";i.d(t,{AH:()=>c,VI:()=>l,sU:()=>a});var n=i(4180),r=i(4296),o=i(383);const s={jpg:"jpeg",png:"png"};function a(e,t="jpg"){return(0,o.$)()?e:e?.replace(/\.webp$/,`.${t}`)}function l({src:e,fallbackFormat:t,...i}){if(!e?.endsWith?.(".webp"))return(0,r.h)("img",(0,n.A)({},i,{src:e,key:e}));t=t||"jpg";let o=e.slice(0,-4)+t;return(0,r.h)("picture",null,(0,r.h)("source",{srcset:e,type:"image/webp"}),(0,r.h)("source",{srcset:o,type:(a=t,`image/${s[a]||a}`)}
2),(0,r.h)("img",(0,n.A)({},i,{src:o,key:o})));var a}function c(e,t){return e?`url("${encodeURI(a(e,t))}")`:""}},3549(e,t,i){"use strict";i.d(t,{A:()=>n});i(7963),i(8911);function n(e,t=(()=>null)){const i=new Map;let n;const r=function(){const n=t.apply(this,arguments);return i.has(n)||i.set(n,e.apply(this,arguments)),i.get(n)};return r.expireIn=e=>{n=setTimeout((()=>this.reset()),e)},r.reset=()=>{clearTimeout(n),i.clear()},r.force=function(){const e=t.apply(this,arguments);return r.delete(e),r.apply(this,arguments)},r}},7164(e,t,i){"use strict";i.d(t,{R:()=>n,T:()=>r});i(9659),i(7417);function n(e){let t=`${e}=`,i=document.cookie.split(";").map((e=>e.trim()));for(let e of i)if(e.startsWith(t))return e.slice(t.length);return null}function r(e,t,i){let n;+i&&(n=new Date(Date.now()+24*i*3600*1e3).toUTCString());let r=[[e,t],n&&["expires",n],["path","/"]];document.cookie=r.filter((e=>e)).map((e=>e.join("="))).join("; ")}},8790(e,t,i){"use strict";i.d(t,{u:()=>s});i(9659),i(7e3);var n=i(1158);let r={},o=!1;const s=(e,t={},i="",s,a)=>{if(s&&"object"!=typeof s&&(s=null),!s&&!o||a){const e=n.A.get();r=e.appData?.copy||e.copy||{},o=!0}s||(s="accessibilityCopy"===a?r.accessibilityCopy:"baseCopy"===a||r.baseCopy?r.baseCopy:r);let l=null;return e&&("$"!==e.charAt(0)?(l=s["$"+e],void 0===l&&(l=s[e])):(l=s[e],void 0===l&&(l=s[e.substr(1)]))),void 0===l&&(l=i),Object.keys(t).forEach((e=>{let i=e;e.toUpperCase()!==e&&(i=e.replace(/([A-Z])/g," $1").replace(/ /g,"_").toUpperCase());const n=new RegExp("%"+i+"%","g");l=l.replace(n,t[e])})),l}},6439(e,t,i){"use strict";i.d(t,{G:()=>s,W:()=>r});i(187),i(3559),i(9986),i(613);function n(e,t){const[,i="",n=""]=t.match(/(?:^|^[^?#]*\/)([^./?#]*)(\..+?)?(?:\?|#|$)/)||[];return e?!e.includes(".")&&n?e+n:e:i+n||"download.jpg"}async function r(e,t){const i=new URL(e,location.href);i.origin!==location.origin&&i.searchParams.set("_cors","1");const r=await fetch(i.href),o=await r.blob(),s=document.createElement("a");s.href=URL.createObjectURL(o),s.download=n(t,e),s.dataset.downloadurl=["application/octet-stream",s.download,s.href].join(":"),document.body.append(s),s.click(),s.remove()}const o={jpg:"image/jpeg",png:"image/png",webp:"image/webp"};async function s(e,t){if(!e)return;let i=e;"string"!=typeof e&&(i=e.src);const r=navigator.userAgent.toLowerCase(),s=r.includes("ipad")||r.includes("iphone"),a=document.createElement("a");a.style.display="none";const l=n(t,i);if(a.download=l,s)a.href=i,a.target="_blank";else{let t=e,n=new URL(i,location.href);("string"==typeof e||"anonymous"!==t.crossOrigin&&n.origin!==location.origin)&&(t=await new Promise(((e,t)=>{const i=document.createElement("img");i.crossOrigin="anonymous",n.searchParams.set("_cors","1"),i.src=n.href,i.onload=()=>e(i),i.onerror=t})));const r=document.createElement("canvas"),s=r.getContext("2d");r.width=t.naturalWidth,r.height=t.naturalHeight,s.drawImage(t,0,0);const c=o[l.split(".").pop().toLowerCase()]||"image/jpeg";a.href=r.toDataURL(c)}document.body.append(a),a.click(),a.remove()}},6793(e,t,i){"use strict";i.d(t,{i:()=>o});i(187);const n=["at","be","bg","hr","ch","cy","cz","dk","ee","fi","fr","de","gr","hu","ie","it","lv","lt","lu","mt","nl","pl","pt","ro","sk","si","es","se"],r=["gb","ch"];function o(e){if(!e||"string"!=typeof e)return!1;const t=e.toLowerCase();return!!n.includes(t)||!!r.includes(t)&&"honorary"}},8881(e,t,i){"use strict";function n(e,t,i){if(!e||!t)return"";e instanceof Date||(e=new Date(e)),i=i?Object.assign({},r,i):r;let n="",o="",c=1;for(let r=0,d=t.length;r<d;r+=c){c=1,o=t[r];let h=s[o];if(h)c=a(t,r,o,d),n+=h(e,c,i);else switch(o){case":":n+=i.$TIME_SEPARATOR;break;case"/":n+=i.$DATE_SEPARATOR;break;case"'":case'"':c=l(t,r),n+=t.substr(r+1,c-2);break;case"\\":c=2,n+=r<d-1?t[r+1]:"\\";break;default:n+=o}}return n}i.d(t,{A:()=>n});let r={$AM:"am",$PM:"pm",$TIME_SEPARATOR:":",$DATE_SEPARATOR:"/",$DAYS_SHORT:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],$DAYS_FULL:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],$MONTHS_SHORT:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],$MONTHS_FULL:["January","February","March","April","May","June","July","August","September","October","November","December"],$ORD:["th","st","nd","rd","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th","th","th","th","th","st"]},o=[e=>e,e=>(e||"").toUpperCase(),e=>(e||"").toLowerCase()],s={h:(e,t)=>c(e.getHours()%12||12,t),H:(e,t)=>c(e.getHours(),t),m:(e,t)=>
2c(e.getMinutes(),t),s:(e,t)=>c(e.getSeconds(),t),f:(e,t,i,n)=>{let r=e.getMilliseconds(),o=t;for(;o++<3;)r=~~(r/10);for(;o-- >4;)r*=10;return n&&!r?"":c(r,t)},F:(e,t,i)=>s.f(e,t,i,!0),t:(e,t,i,n)=>{let r=e.getHours()<12?i.$AM:i.$PM;return r=n?r.toUpperCase():r.toLowerCase(),1==t&&(r=r.slice(0,1)),r},T:(e,t,i)=>s.t(e,t,i,!0),d:(e,t,i)=>{if(t<=2)return c(e.getDate(),t);return(0,o[((t-=3)>>1)%o.length])(i[t%2?"$DAYS_FULL":"$DAYS_SHORT"][e.getDay()])},o:(e,t,i)=>{let n=e.getDate();return c(n,t)+i.$ORD[n]},M:(e,t,i)=>{if(t<=2)return c(e.getMonth()+1,t);return(0,o[((t-=3)>>1)%o.length])(i[t%2?"$MONTHS_FULL":"$MONTHS_SHORT"][e.getMonth()])},y:(e,t)=>{let i=e.getFullYear();return t<=2&&(i%=100),c(i,t)},z:(e,t,i)=>{let n=e.getTimezoneOffset(),r=n<0?"-":"+";n=Math.abs(n);let o=~~(n/60);return r+=c(o,t<=2?t:2),t>2&&(r+=i.$TIME_SEPARATOR+c(n-60*o,2)),r}};function a(e,t,i,n){let r=t+1;for(null==n&&(n=e.length);r<n&&e[r]===i;r++);return r-t}function l(e,t){let i=e[t],n=t;do{n=e.indexOf(i,n+1)}while(-1!==n&&"\\"===e[n-1]);return-1===n&&(n=e.length),n-t+1}function c(e,t){let i=e+"",n=i.length;for(;n++<t;)i="0"+i;return i}},9793(e,t,i){"use strict";i.d(t,{A:()=>r});var n=i(7702);class r{constructor(e,t,i=!1){this.category=e,this.pixel=t,this.shouldQueue=i}createTrigger(){return(...e)=>{(0,n.$x)(this,this.shouldQueue,e)}}}},7245(e,t,i){"use strict";i.r(t),i.d(t,{addChangeListener:()=>c,get:()=>s,getChangeListeners:()=>l,has:()=>a,removeChangeListener:()=>d,set:()=>o,toString:()=>h});i(187),i(1190),i(9659),i(8077),i(7e3),i(7417);var n=i(1392);const r={categories:[],changeListeners:[]},o=e=>{const t=e.map((e=>e.toUpperCase())).filter((e=>n[e]));r.categories=t,window.powsterOneTrust=[...t],r.changeListeners.forEach((e=>e(r.categories))),window.dispatchEvent(new CustomEvent("powster-categories-update",{detail:r.categories}))},s=()=>r.categories,a=e=>r.categories.includes(e),l=()=>r.changeListeners,c=e=>{r.changeListeners.push(e)},d=e=>{r.changeListeners=r.changeListeners.filter((t=>t!==e))},h=()=>r.categories.join(",")},1392(e,t,i){"use strict";i.r(t),i.d(t,{ADVERTISING:()=>a,FUNCTIONAL:()=>r,PERFORMANCE:()=>o,SOCIAL:()=>l,STRICTLY_NECESSARY:()=>n,TARGETING:()=>s});const n="STRICTLY_NECESSARY",r="FUNCTIONAL",o="PERFORMANCE",s="TARGETING",a="ADVERTISING",l="SOCIAL"},9618(e,t,i){"use strict";i.d(t,{A:()=>o});i(9659),i(8077),i(7417);var n=i(4296),r=i(7245);function o(...e){return class extends n.uA{constructor(e){super(e),this.onCategoriesChange=this.onCategoriesChange.bind(this),this.state.categories=[...r.get()]}componentDidMount(){r.addChangeListener(this.onCategoriesChange)}componentWillUnmount(){r.removeChangeListener(this.onCategoriesChange)}shouldComponentUpdate(e,t){return t.categories!==this.state.categories||e.children!==this.props.children}onCategoriesChange(e){this.setState({categories:[...e]})}render(){let t=e.map((e=>{if(!e)return;let[t,i]=e;return r.has(this.state.categories,t)?i:void 0})).filter((e=>e));return(0,n.h)("div",null,t.map((e=>(0,n.h)(e,this.props))))}}}},3747(e,t,i){"use strict";i.d(t,{P:()=>n});const n=(e,t)=>{const i={bubbles:!1,cancelable:!1,detail:t||null};let n=window.CustomEvent;if("function"!=typeof n){function o(e,t){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}o.prototype=window.Event.prototype,n=o}const r=new n(e,i);window.dispatchEvent(r)}},332(e,t,i){"use strict";i.d(t,{p:()=>o});var n=i(9793);const r=e=>{if("string"==typeof e)return e.trim().toUpperCase()||void 0};(Object.getOwnPropertyDescriptor(r,"name")||{}).writable||Object.defineProperty(r,"name",{value:"default",configurable:!0});const o=(e,t,i)=>{const o=r(e);if(void 0===o)return t();return new n.A(o,t,i).createTrigger()()}},761(e,t,i){"use strict";i.d(t,{A:()=>r});i(4296);var n=i(7245);function r(e,t){return class extends t{constructor(e){super(e),this.onOneTrustCategoriesChange=this.onOneTrustCategoriesChange.bind(this),this.state=this.state||{},this.onOneTrustCategoriesChange(n.get())}componentDidMount(...e){super.componentDidMount&&"function"==typeof super.componentDidMount&&super.componentDidMount(...e),n.addChangeListener(this.onOneTrustCategoriesChange)}componentWillUnmount(...e){super.componentDidMount&&"function"==typeof super.componentWillUnmount&&super.componentWillUnmount(...e),n.removeChangeListener(this.onOneTrustCategoriesChange)}onOneTrustCategoriesChange(t){let i=[...t],r="function"==typeof e?e(this.props,this.state):e,o=!0===r||n.has(r);this.setState({oneTrustCategories:i,oneTrustAllowed:o})}}}},7050(e,t,i){"use strict";i.r(t),i.d(t,{ADVERTISING:()=>o.ADVERTISING,FUNCTIONAL:()=>o.FUNCTIONAL,PERFORMANCE:()=>o.PERFORMANCE,Pixel:()=>u.A,STRICTLY_NECESSARY:()=>o.STRICTLY_NECESSARY,TARGETING:()=>
2o.TARGETING,connectToOneTrust:()=>f.A,createPixelComponent:()=>m.A,displayModal:()=>y,maybeHandle:()=>g.p,waitForOneTrust:()=>v});i(4296);var n=i(1158),r=i(7245),o=(i(9659),i(8077),i(7417),i(1392));const s={1:o.STRICTLY_NECESSARY,2:o.PERFORMANCE,3:o.FUNCTIONAL,4:o.TARGETING,5:o.SOCIAL,6:o.FUNCTIONAL,7:o.PERFORMANCE,8:o.SOCIAL,C0001:o.STRICTLY_NECESSARY,C0002:o.PERFORMANCE,C0003:o.FUNCTIONAL,C0004:o.TARGETING,C0005:o.SOCIAL,C0006:o.FUNCTIONAL,C0007:o.PERFORMANCE,C0008:o.SOCIAL},a=e=>{const t=(Array.isArray(e)?e:e.split(",")).map((e=>s[e])).filter((e=>!!e));r.set(t)};var l=i(7702),c=(i(1190),i(3552),i(6430));function d(){let e=Date.now();const t=[...document.querySelectorAll(["#onetrust-consent-sdk","#optanon"])].find((e=>!!e));if(t){let e=document.getElementsByClassName("optanon-alert-box-wrapper");return e&&e.length&&(e[0].style.display="none"),void(t.style.display="none")}Date.now()-e<3e4&&setTimeout(d,100)}var h=i(7959),p=i(3747),u=i(9793),g=i(332),f=i(761),m=i(9618);const y=()=>{if("object"==typeof window){const e=window.Optanon||window.OneTrust;e&&"object"==typeof e&&"function"==typeof e.ToggleInfoDisplay&&e.ToggleInfoDisplay()}},_=(0,h.A)(),v=async()=>_;function b(){if(e="OptanonAlertBoxClosed",!`; ${document.cookie}`.split(`; ${e}=`)[1]?.split(";").shift())return;var e;const t=n.A.get().appData?.apis?.tracking?.oneTrust,i=t?.oneTrustFix,r=t?.oneTrustOverlapFix;if(i){const e=()=>{let e=document.getElementById("optanon");e&&(e.style.opacity="0",e.style.transition="opacity .8s",setTimeout((()=>{const t=document.getElementById("optanon-popup-bg");t&&(t.style.display="none",e.style.opacity="")}),800))};[...document.querySelectorAll(".optanon-white-button-middle, .accept-cookies-button")].forEach((t=>t.addEventListener("click",e)))}r&&setTimeout((()=>{const e=(0,c.wh)(n.A.get(),"client.pixelConsent"),t=document.querySelector(".optanon-alert-box-wrapper")?.style?.display;e&&"none"===t&&(document.body.style.transform="")}),800)}if(r.addChangeListener((e=>{(0,p.P)("categoriesUpdated",{categories:e}),l.Ze(e)})),"undefined"!=typeof window){let e=!1;const t=window.OptanonWrapper;!function(){if(window.self!==window.top){window.addEventListener("message",(e=>{let t=e&&e.data;if(t&&"object"==typeof t&&t.OptanonActiveGroups&&window.Optanon){let e=null;const i=new Date,n=new Date(i.getFullYear()+1,i.getMonth(),i.getDate());setTimeout((()=>{t.OptanonConsent&&(e=t.OptanonConsent,document.cookie=`${e};expires=${new Date(n).toUTCString()};path=/;SameSite=None;Secure`),t.OptanonAlertBoxClosed&&(e=t.OptanonAlertBoxClosed,document.cookie=`${e};expires=${new Date(n).toUTCString()};path=/;SameSite=None;Secure`),t.OptanonActiveGroups&&(window.OnetrustActiveGroups=t.OptanonActiveGroups,window.OptanonActiveGroups=t.OptanonActiveGroups),setTimeout((()=>{let e=new CustomEvent("consent.onetrust",{detail:t.OptanonActiveGroups.split(",").filter((e=>e))});window.dispatchEvent(e),window.dataLayer&&window.dataLayer.push({event:"OneTrustGroupsUpdated",OptanonActiveGroups:t.OptanonActiveGroups,OnetrustActiveGroups:t.OptanonActiveGroups})}))}))}}));const e=(0,c.wh)(window.__INITIAL_STATE__,"appData.apis.tracking.oneTrust",{}),t=(0,c.wh)(window.__INITIAL_STATE__,"appData.options.oneTrustCookieConsent",{});(e.displayInIframe||t.displayInIframe)&&setTimeout(d,100)}}(),window.OptanonWrapper=function(){if("function"==typeof t)try{t()}catch(e){}if(_.resolve(),function(){function e(e){return document.cookie.split(";").map((e=>e.trim())).find((t=>0===t.indexOf(e)))}let t=e("OptanonConsent"),i=e("OptanonAlertBoxClosed");if(window.self===window.top){let e={OptanonConsent:t,OptanonAlertBoxClosed:i,OptanonActiveGroups:window.OptanonActiveGroups};for(let t=0;t<window.frames.length;t++)"function"==typeof window.frames[t].postMessage&&window.frames[t].postMessage(e,"*")}}(),b(),!e){const t=window.OptanonActiveGroups;a(t),e=!0}},window.addEventListener("consent.onetrust",(({detail:e})=>a(e))),window.addEventListener("OneTrustGroupsUpdated",(({detail:e})=>a(e)))}},7702(e,t,i){"use strict";i.d(t,{$x:()=>o,Ze:()=>a});var n=i(7245);const r={queue:[]},o=(e,t,i)=>n.has(e.category)?e.pixel.apply(e,i):t?s(e,i):void 0,s=(e,t)=>{r.queue=[...r.queue,[e,t]]},a=()=>{const e=[...r.queue];r.queue=[],e.forEach((([e,t])=>o(e,e.shouldQueue,t)))}},8760(e,t,i){"use strict";i.d(t,{A:()=>
2o});var n=i(6430);function r(e,t,i){if(++i>10)return t;return((0,n.wh)(e,t,t)+"").replace(/(\\)?%([^% ]+)%/g,((t,n,o)=>n?"%"+o+"%":r(e,o,i)))}function o(e,t){return r(e,t,0)}},7005(){const e=Element.prototype.insertBefore;Element.prototype.insertBefore=function(t,i){if(!i||"font"!==i.localName)return e.apply(this,arguments);t.innerText=i.innerText}},9899(){if("undefined"!=typeof window){let e=window.history;["pushState","replaceState"].forEach((t=>{let i=e[t].bind(e),n="on"+t.toLowerCase(),r=t.toLowerCase();e[t]=(...t)=>{let o=i(...t);return"function"==typeof e[n]&&e[n]({state:t[0]}),window.dispatchEvent(new Event(r)),o}}))}},2483(e,t,i){"use strict";i.d(t,{Ay:()=>r});i(1190),i(9659),i(6174);const n={};const r={register:function(e,t,i){if("function"!=typeof t)return!1;n[e]||(n[e]=[]),t._priority=i??10,n[e].push(t),n[e].sort(((e,t)=>e._priority-t._priority))},call:async function(e,t,i){return n[e]?n[e].reduce((async(e,t)=>t(await e,i)),t):t}}},383(e,t,i){"use strict";i.d(t,{$:()=>o});var n=i(3549),r=i(1158);const o=(0,n.A)((()=>{if("undefined"==typeof window)return;const e=r.A.get()?.client||{};if(e.isIOS||e.isSafari)return!0;let t=document.createElement("canvas");return t?.toDataURL("image/webp")?.startsWith("data:image/webp")}))},9225(e,t,i){"use strict";function n(e,t,i){return e<=t?t:e>=i?i:e}function r(e,t,i,r,s,a,l){let c=(e-(d=t))/(i-d);var d;return a&&(c=n(c,0,1)),l&&("string"==typeof l&&(l=o[l]),"function"==typeof l&&(c=l(c))),function(e,t,i){return t+e*(i-t)}(c,r,s)}i.d(t,{hs:()=>r,qE:()=>n});const o={linear:e=>e,ease:e=>1.0042954579734844*Math.exp(-6.404173895841566*Math.exp(-7.290824133098
2134*e)),quadIn:e=>e*e,quadOut:e=>e*(2-e),quadInOut:e=>e<.5?2*e*e:(4-2*e)*e-1,cubicIn:e=>e*e*e,cubicOut:e=>--e*e*e+1,cubicInOut:e=>e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1,quartIn:e=>e*e*e*e,quartOut:e=>1- --e*e*e*e,quartInOut:e=>e<.5?8*e*e*e*e:1-8*--e*e*e*e,quintIn:e=>e*e*e*e*e,quintOut:e=>1+--e*e*e*e*e,quintInOut:e=>e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},9863(e,t,i){"use strict";i.d(t,{A:()=>n}),Object.defineProperty(n,"name",{value:"default",configurable:!0});i(9659),i(6174);function n(e=("undefined"!=typeof location?location.search:"")){return(e||"").slice(1).split("&").reduce(((e,t)=>{const[i,...n]=t.split("=");return e[i]=!n.length||(e=>{try{return decodeURIComponent(e)}catch(t){return e}})(n.join("=")),e}),{})}},7959(e,t,i){"use strict";function n(){let e,t,i=new Promise(((i,n)=>{e=i,t=n}));return i.resolve=e,i.reject=t,i}i.d(t,{A:()=>n}),Object.defineProperty(n,"name",{value:"default",configurable:!0})},5169(e,t,i){"use strict";i.d(t,{A:()=>a});var n=i(101),r=i.n(n);function o(e,t){return!r()(e,this.props,s)||!r()(t,this.state)}function s(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&!e.length&&!t.length}const a=function(e){return"class"!==e?.kind||(e.finisher=e=>class extends e{shouldComponentUpdate(){return o.apply(this,arguments)}}),e}},2824(e,t,i){"use strict";function n(e,t={}){return e&&"string"==typeof e?(t.removeDiacritics&&(e=e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")),e=e.replace(/'+/g,"").replace(/[^a-z0-9]+/gi,"-").toLowerCase(),t.allowEdgeDashes||(e=e.replace(/^-+|-+$/g,"")),e):e}i.d(t,{A:()=>n})},8980(e,t,i){"use strict";i.d(t,{BD:()=>h,Du:()=>p});i(9659),i(7e3);let n=function(){if("undefined"==typeof navigator)return!1;const e=(""+navigator.userAgent).toLowerCase();return-1!==e.indexOf("ipad")||-1!==e.indexOf("iphone")}(),r=Date.now||(()=>(new Date).getTime());function o(e,t){return e===window?(t?window.pageXOffset||document.documentElement.scrollLeft:window.pageYOffset||document.documentElement.scrollTop)||0:t?e.scrollLeft:e.scrollTop}function s(e){let t=e._smthscrl;t&&(cancelAnimationFrame(t.timer),t.timer=null,"function"==typeof t.callback&&t.callback(),t.callback=null)}const a={top:0,middle:50,bottom:100};function l(e,t,i){let r=e._smthscrl,l=o(e,i),c=i?1:0;if(null==r.previousScroll[c]&&(r.previousScroll[c]=l),l!==r.previousScroll[c]&&!r.force&&!n)return s(e);let d=r.to;if(Array.isArray(d)&&(d=d[c]),d instanceof Element){d=function(e,t,i){let n=i?"offsetLeft":"offsetTop",r=e[n],o=e;for(;(e=e.parentElement)&&e!==t;)e===o.offsetParent&&(o=e,r+=e[n]);if(t===window||e===t)return r}(r.to,e,i);let t=i?"clientWidth":"clientHeight",n=r.relativeTo;if("view"===n){let i=d-r.offsetStart,n=d-(e[t]-r.to[t])+r.offsetEnd;d=Math.min(Math.max(l+r.offset,n),i)}else n=a[n]||parseFloat(n)||0,d-=Math.max(e[t]-r.to[t],0)*n*.01}d-=r.offset,function(e,t,i){e===window?window.scrollTo(i?t:o(window,!0),i?o(window,!1):t):e[i?"scrollLeft":"scrollTop"]=t}(e,r.from[c]+t*(d-r.from[c]),i),r.previousScroll[c]=o(e,i)}const c={ver:[!1],hor:[!0],both:[!1,!0]};function d(e){let t=e._smthscrl;if(!t)return;t.timer&&(t.timer=requestAnimationFrame(d.bind(this,e)));let i=r()-t.start,n=t.duration;i>=n&&(i=n);let o=n?t.easing(i/n):1;return(c[t.direction]||[]).forEach((t=>l(e,o,t))),!n||i>=n?s(e):void 0}function h(e,t,i,n){if(null===e||"root"===e){let t=document;e=t.scrollingElement||("BackCompat"===t.compatMode?t.body:t.documentElement)}if(!e||void 0===t)return;let a=e._smthscrl;a&&a.timer&&s(e);let l="ver";switch((n=n||{}).direction){case"horizontal":case"hor":l="hor";break;case"both":l="both"}n.horizontal&&(l="hor");let c=[void 0,void 0];"ver"!==l&&"both"!==l||(c[0]=o(e,!1)),"hor"!==l&&"both"!==l||(c[1]=o(e,!0));let h=r();if(n.timeStart&&(h=n.timeStart<6e4?h+n.timeStart:n.timeStart),"function"==typeof i){i=i("both"===l?c:c["ver"===l?0:1],t,e)}return i=Number.isFinite(+i)?Math.abs(+i):300,a=e._smthscrl={timer:null,easing:"function"==typeof n.easing?n.easing:e=>1-(e=1-e)*e,to:t,direction:l,offset:n.offset||0,relativeTo:n.relativeTo||"top",offsetStart:n.offsetStart||0,offsetEnd:n.offsetEnd||0,from:c,previousScroll:[void 0,void 0],duration:i,force:!!n.force,callback:n.callback,start:h},i?a.timer=requestAnimationFrame(d.bind(this,e)):d(e),{stop:s.bind(this,e)}}function p(e,t,i,n){h(e,o(e,n?.horizontal||"hor"===n?.direction)+t,i,n)}},7178(e,t,i){"use strict";async function n(e){await e.play()}i.d(t,{A:()=>n}),Object.defineProperty(n,"name",{value:"default",configurable:!0})},6430(e,t,i){"use strict";i.d(t,{BX:()=>R,DD:()=>u,Gv:()=>k,HS:()=>w,Im:()=>S,Oo:()=>o,RI:()=>E,RS:()=>A,XS:()=>h,_U:()=>b,fY:()=>g,fz:()=>y,hq:()=>m,iQ:()=>a,jF:()=>f,k0:()=>x,nB:()=>s,o4:()=>D,r1:()=>P,s6:()=>c,sg:()=>r,vy:()=>l,wh:()=>p,zJ:()=>v});i(1190),i(9659),i(4656),i(8077),i(7e3),i(7417),i(6174),i(8870),i(3952),i(1945),i(1056),i(719),i(6020),i(3262);var n=i(4296);function r(e,t){null==t&&(t=250);let i=null,n=[],r=null;function o(){e.apply(r,n)}return function(){r=this,n=[].slice.call(arguments),clearTimeout(i),i=setTimeout(o,t)}}function o(e){let t,i=!1;return function(){return i?t:(i=!0,t=e.apply(this,arguments))}}function s(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")}function a(e,t){s(e,t)||(e.className+=(e.className?" ":"")+t)}function l(e,t){e.className=(" "+e.className+" ").replace(" "+t+" "," ").slice(1,-1)}function c(e,t){l(e,t),e.offsetWidth,a(e,t)}function d(e){if(!e||"object"!=typeof e||Array.isArray(e))return e;let t=e.s,i=t&&"object"==typeof t,n=Object.keys(e).filter((t=>(!i||"s"!==t)&&e[t]));return i&&(n=n.map((e=>t[e]||e))),n.join(" ")}function h(){return[].concat.apply([],arguments).map(d).filter((e=>e)).join(" ")}function p(e,t,i){if("string"==typeof t&&(t=t?t.split("."):[]),!Array.isArray(t))return i;let n=t.length;for(let r=0;r<n;r++){let n=t[r];
2if(!e||!Object.prototype.hasOwnProperty.call(e,n))return i;e=e[n]}return e}function u(e){return e?"object"!=typeof e?[e]:(Array.isArray(e)||(e=Object.keys(e).map((t=>"boolean"==typeof e[t]?e[t]&&t:e[t]))),e.filter((e=>e))):[]}function g(e){return Array.isArray(e)?e.filter(Boolean):e&&"string"==typeof e?e.split(",").map((e=>e.trim())).filter(Boolean):[]}function f(e){return e&&Array.isArray(e)?[...new Set(e)]:e}function m(){return f([].concat.apply([],arguments))}function y(e,t,i){if(!e)return[];"string"==typeof t&&2===arguments.length&&(i=t,t=void 0);let n="function"==typeof(i=i||"order")?i:e=>e?.[i],r=Object.keys(e).map((t=>({key:t,value:e[t]}))).sort(((e,t)=>{if(!e.value)return 1;if(!t.value)return-1;let i=n(e.value,e.key),r=n(t.value,t.key),o=null==i,s=null==r;return o&&s?e.key.localeCompare(t.key,void 0,{numeric:!0}):o?1:s?-1:isNaN(i)||isNaN(r)?i.toString().localeCompare(r.toString()):i-r}));return"function"!=typeof t&&(t=e=>e),r.map(((e,i,n)=>t(e.value,e.key,i,n)))}function _(e,t,i){if(null==i)return e;if("object"!=typeof i)return e[t]=i;
2return Object.keys(i).forEach((n=>_(e,t+"["+n+"]",i[n]))),e}function v(e){if(!e)return"";let t=e;if("string"!=typeof e){let i={};Object.keys(e).forEach((t=>_(i,t,e[t]))),t=Object.keys(i).reduce(((e,t)=>{let n=i[t];if(null==n)return e;let r=encodeURIComponent(t);return"boolean"!=typeof n&&""!==n&&(r+="="+encodeURIComponent(n)),e.push(r),e}),[]).join("&")}return t?"?"+t:""}function b(e){if(!e||e instanceof Date)return e;if("number"==typeof e)return new Date(e);if("string"!=typeof e)return;let t=e.match(/^(?:(?:([0-9]{1,2})\/)?([0-9]{1,2})\/)?([0-9]{4})(?:,? (\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?$/);if(t)return new Date(+t[3],+(t[2]||1)-1,+(t[1]||1),+t[4]||0,+t[5]||0,+t[6]||0);if(t=e.match(/^(\d{1,4})-(\d{1,2})(?:-(\d{1,2})(?:[T ](\d{1,2}):(\d{1,2})(?::(\d{1,2})(\.\d+)?)?Z?)?)?$/),t)return new Date(+t[1],+t[2]-1,+t[3]||1,+t[4]||0,+t[5]||0,+t[6]||0);if(!Number.isNaN(+e))return new Date(+e);const i=new Date(e);return isNaN(i)?void 0:i}function w(){let e="",t=!1;for(let i=0,n=arguments.length;i<n;i++){let n=arguments[i];n&&(i>0&&"/"===n.charAt(0)&&(n=n.substring(1)),e+=t?"/"+n:n,t="/"!==e.charAt(e.length-1))}return e}function A(e,t){if("string"!=typeof e)return e;if(!t||0===t.length)return e;let i=0,n=e.length;for(;i<n&&e.charAt(i)===t;)i++;for(;n>i&&e.charAt(n-1)===t;)n--;return e.substring(i,n)}(()=>{function e(e,t,i){return i>0&&e.push((0,n.h)("br",null)),e.push(t),e}})();function k(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function S(e){return 0===Object.keys(e).length}function E(e){return null==e||0===Object.keys(e).length}let C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};const T=`[${Object.keys(C).map((e=>"^-]\\".includes(e)?"\\"+e:e)).join("")}]`;let O=new RegExp(T),I=new RegExp(T,"g");const L=e=>C[e]||e,D=e=>"string"==typeof e&&O.test(e)?e.replace(I,L):e,x=(e,t)=>new Promise(((i,n)=>{let r=document.createElement("script");r.onload=i,r.onerror=n,t?.async&&(r.async=!0),t?.defer&&(r.defer=!0),t?.type&&(r.type=t.type),r.src=e,document.body.appendChild(r)})),P=(e,t)=>!(!Array.isArray(e)||!Array.isArray(t))&&(e.length===t.length&&e.every(((e,i)=>e===t[i]))),R=e=>Object.entries(e).reduce(((e,[t,i])=>{var n;return e[t]="string"!=typeof(n=i)?n:n.replace(/'/g,"\\'").replace(/"/g,'\\"'),e}),{})},5830(e,t,i){"use strict";i.d(t,{Mo:()=>o,Nd:()=>s,a8:()=>r,gm:()=>a});var n=i(9225);function r(e){if(!e)return;e instanceof Element&&(e=e.getBoundingClientRect());const t=window.innerHeight,i=(0,n.qE)(e.top,0,t),r=(0,n.qE)(e.bottom,0,t);return Math.abs(r-i)/Math.min(e.height,t)}function o(e){return!!e&&r(e)>.5}function s(e){return!!e&&(e instanceof Element&&(e=e.getBoundingClientRect()),e.top<=25&&e.bottom>25)}function a(e){return"undefined"!=typeof window&&e?e/window.innerHeight+.01:0}},1297(e,t,i){"use strict";i.d(t,{f1:()=>c,n8:()=>r});i(1190),i(9659),i(4656),i(8077),i(6174),i(4711);const n=e=>String(e).replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&");function r(e,t,i,r){var s,a;return t&&=(s=t,a=r?.ignoreCase,s instanceof RegExp?s:new RegExp(n(s),a?"gi":"g")),o(e,t,"function"==typeof i?i:()=>i,r,0)}function o(e,t,i,n,r){if(++r>20)return e;if(!e||!t)return e;if(Array.isArray(e))return e.reduce(((e,s)=>e.concat(o(s,t,i,n,r))),[]);if("object"==typeof e&&e.children)return{...e,children:e.children.reduce(((e,s)=>e.concat(o(s,t,i,n,r))),[])};e+="";let s,a=[],l=0;for(;(s=t.exec(e))&&(a.push(e.slice(l,s.index),i(s)),l=s.index+s[0].length,t.global););return a.length?(a.push(e.slice(l)),a):e}let s=(e,t,i)=>e.attributes&&~(" "+(e.attributes.class||e.attributes.className||"")+" ").indexOf(" "+i+" "),a=(e,t,i)=>t?e.attributes&&(i?e.attributes[t]==i:Object.prototype.hasOwnProperty.call(e.attributes,t)):!!i&&("*"===i||e.nodeName===i);function l(e,t){return!!e&&t.every((t=>{let i,n,r=a;if("."===t[0])r=s,n=t.slice(1);else if("#"===t[0])i="id",n=t.slice(1);else if("["===t[0]){let e=t.match(/^\[([^=]+)(=(['"]?)(.+)\3)?\]$/);e&&(i=e[1],n=e[4])}else n=t;return r(e,i,n)}))}function c(e,t,i){return Array.isArray(t)||(t=(t||"").split(/\s*(\+|>|~|\s)\s*/g)),d(e,t,i,!1,[],0)}function d(e,t,i,n,r,o){let s=t;if(!s[0])return;let a=s[0].split(/(\[[^\]]+\]|[.#]?[^.#[]+)/g).filter((e=>e)),c=Array.isArray(e);c||(e=[e]);for(let t=0,h=e.length;t<h;t++){let h,p=e[t];if(!p)continue;let u=s,g=r.slice(),f=0;if(c&&g.push(t+o),l(p,a)){if(s.length<2)return i?(c&&r.push(t+o),r):p;h=p.children,g.push("children"),n=!1;let a=s[1];">"===a?n=!0:"~"!==a&&"+"!==a||(h="+"===a?e.slice(t+1,t+2):e.slice(t+1),g=r.slice(),f=o+t+1,n=!0),u=s.slice(2)}else!n&&p.children&&(h=p.children,g.push("children"));if(h){let e=d(h,u,i,n,g,f);if(e)return e}}}},1714(e,t,i){"use strict";i.d(t,{A:()=>O});i(9659),i(8077);var n=i(4296),r=(i(187),i(1190),i(3552),i(5359),i(7417),i(4711),i(2110)),o=i(1158),s=i(5830);o.A.on("FOOTER_AUTO_EXPANDED",(()=>{o.A.get().footer.set({allowAutoExpand:!1})})),o.A.on("UPDATE_FOOTER_ACTIVE_PERCENTAGE",(()=>{let e=document.querySelector("[data-section=boltFooter]"),t=(0,s.a8)(e);if(void 0===t)return;let i=o.A.get().footer,n=Math.ceil(10*t)/10;n!==i.footerActivePercentage&&i.set({activePercentage:n})}
2)),o.A.on("UPDATE_VISIBILITY_PERCENTAGES",(()=>o.A.emit("UPDATE_FOOTER_ACTIVE_PERCENTAGE")));var a=i(8790),l=i(8980),c=i(6430),d=i(9248),h=i(704),p=i(9570);i(6174);const u={equal:(e,t,i)=>i?e===t:e==t,different:(e,t,i)=>i?e!==t:e!=t,greater:(e,t,i)=>i?e>=t:e>t,less:(e,t,i)=>i?e<=t:e<t,oneOf:(e,...t)=>t.includes(e),contains:(e,t)=>String(e).includes(t),startsWith:(e,t)=>String(e).startsWith(t),endsWith:(e,t)=>String(e).endsWith(t)};function g(e,t,i){if(!e)return!0;if("object"!=typeof e)return!!e;const{localPath:n,currentAttribute:r,customValueTypes:o,any:s}=i||{},a=s?"some":"every";return Array.isArray(e)?e[a]((e=>g(e,t,{localPath:n,currentAttribute:r,customValueTypes:o}))):Object.keys(e)[a]((i=>{let a=e[i];if(Object.prototype.hasOwnProperty.call(u,i)){const e=m(a[0],t,n,r,o),s=m(a[1],t,n,r,o);return u[i](e,s,a[2])}switch(i){case"unset":return void 0===a;case"all":return g(a,t,{localPath:n,currentAttribute:r,customValueTypes:o});case"any":return g(a,t,{localPath:n,currentAttribute:r,customValueTypes:o,any:!0});case"not":return!g(a,t,{localPath:n,currentAttribute:r,customValueTypes:o});case"truthy":return m(a,t,n,r,o);case"falsy":return!m(a,t,n,r,o);default:return!s}}))}function f(...e){return e.map((e=>(e||"").replace(/^\.|\.$/,""))).filter((e=>e)).join(".")}function m(e,t,i,n,r){if(!e)return e;if("string"==typeof e){if(!"@.>".includes(e[0]))return"="===e[0]?e.slice(1):e;e={type:"data",value:e}}if(Array.isArray(e)&&(e={type:"data",value:e}),"object"!=typeof e)return e;let o=e.value;if("data"===e.type){let r,s=e.value;if(!Array.isArray(s)){let e=String(s);switch(e[0]){case"@":e=e.slice(1);break;case".":e=f(i,e.slice(1));break;case">":e=f(i,n,e.slice(1))}s=e.split(".")}for(;(r=s.indexOf("^"))>-1;)s.splice(r>0?r-1:0,r>0?2:1);o=s.reduce(((e,t)=>e?.[t]),t)}else{const s=r?.[e.type];"function"==typeof s&&(o=s(e,t,{localPath:i,currentAttribute:n}))}return e.transforms?(o=(Array.isArray(e.transforms)?e.transforms:[e.transforms]).reduce(((e,t)=>{switch(t){case"lower":return"string"==typeof e?e.toLowerCase():e;case"upper":return"string"==typeof e?e.toUpperCase():e}return e}),o),o):o}var y=i(2265),_=i(4864),v=i(3013),b=i(1324),w=i(4311),A=i(3562);const k={wrapper:"footer__wrapper__wwjwn",hidden:"footer__hidden__HmhaE",showtimes:"footer__showtimes__NATmK",cta:"footer__cta__ZWdcH",scrollTop:"footer__scrollTop__JSWCN",outer:"footer__outer__tscmw",copyright:"footer__copyright__DzYGF",sidePanelOpen:"footer__sidePanelOpen__xfed1",pressKit:"footer__pressKit__N9ac0",links:"footer__links__mBtQ1 small",openWrapper:"footer__openWrapper__iWN79",line:"footer__line__XQrKN",inlineFooter:"footer__inlineFooter__Uqtxf",watchHomeFooterColor:"footer__watchHomeFooterColor__kBXRy",loneVideoDefaultFooter:"footer__loneVideoDefaultFooter__A7udq",shadow:"footer__shadow__XEYZh",sticky:"footer__sticky__rNgmF",noLegalBtn:"footer__noLegalBtn__gpD7x",openCropper:"footer__openCropper__p47g9",staticAutoExpand:"footer__staticAutoExpand__Ta6Uc",open:"footer__open__YmG8I",closeBtn:"footer__closeBtn__vMBGa",studioDetails:"footer__studioDetails__gKJ4G",logos:"footer__logos__SdEEb",logoWrapper:"footer__logoWrapper__rRLJ2",logo:"footer__logo__LEin2",linkWrapper:"footer__linkWrapper__cjpBE",homeEnt:"footer__homeEnt__cfs5G",dedicatedIframePage:"footer__dedicatedIframePage__Pv4_a",signUpFormFooterLinks:"footer__signUpFormFooterLinks__Y47QP",sizer:"footer__sizer__B1Xnf",doNotSellLogo:"footer__doNotSellLogo__WgSHS",autoExpandingBar:"footer__autoExpandingBar__qJymf"};let S;const E=(()=>{let e;return t=>(e||(e=(0,p.LG)(),e.then(t)),e)})();class C extends n.uA{constructor(e){super(e),this.renderOpenFooter=this.renderOpenFooter.bind(this),this.toggleFooter=this.toggleFooter.bind(this),this.closeFooter=this.toggleFooter.bind(this,!1),this.openFooter=this.toggleFooter.bind(this,!0),this.getFallbackFormat=this.getFallbackFormat.bind(this),this.startAutoExpandTimer=this.startAutoExpandTimer.bind(this),this.stopAutoExpandTimer=this.stopAutoExpandTimer.bind(this),this.cancelAutoExpanding=this.cancelAutoExpanding.bind(this),this.onLinkClick=this.onLinkClick.bind(this),this.footerData=(0,c.wh)(e,"data.defaultFooter",{}),this.updateSticky(e),this.autoExpand=(0,c.wh)(e,"data.defaultFooter.autoExpand",!1),this.autoExpandDuration=(0,c.wh)(e,"data.defaultFooter.autoExpandDuration",3);
2let t=(0,c.wh)(e,"store.appData.meta.region.slug");this.tealiumCookiesEnabled="au"!==t&&(0,c.wh)(e,"store.appData.options.enableTealium",!1),this.ensightenTrackingEnabled=e.store?.appData?.options?.enableEnsighten,this.allowAutoExpand=(0,c.wh)(e,"store.footer.allowAutoExpand",!0),this.fontStyles=(0,c.wh)(e,"store.appData.styling.fontVariables",{}),this.showtimesFooter="showtimes"===e.parent,this.pressKitFooter="pressKit"===e.parent,this.hasTextPage=Object.values((0,c.wh)(e,"store.appData.pages",{})).find((e=>"text"===e.component||"text"===e.page)),this.state={open:!1,autoExpanding:!1,backgroundColor:null}}get autoBackground(){return this.props.data?.defaultFooter?.autoBackground??!0}componentDidMount(){this.autoExpand&&this.allowAutoExpand&&this.startAutoExpandTimer(),this.updateCoveredScreenSize()}componentWillReceiveProps(e){this.updateSticky(e)}componentDidUpdate(e){const t=e.store?.activePage,i=this.props.store?.activePage;if(t!==i&&this.state.open&&this.closeFooter(),this.autoBackground)if(this.props.parent)!this.state.backgroundColor&&this.props.fallBackColor&&this.setState({backgroundColor:this.props.fallBackColor});else{const e=this.props.store.activePage;let t=e;"boltHome"===e&&r.V0&&(t=r.V0.findLast((e=>"boltHome"===e.parent))?.id);try{let e=t&&document.querySelector(`[data-section="${t}"]`),i=e&&window.getComputedStyle(e).backgroundColor;i&&this.state.backgroundColor!==i&&this.setState({backgroundColor:i})}catch(e){}}this.updateCoveredScreenSize()}updateSticky(e=this.props){const t=e.store?.activePage,i=e.store?.appData?.pages?.[t]?.data,n=i?.footer?.position||e.data?.defaultFooter?.position||"fixed";this.sticky="fixed"===n}updateCoveredScreenSize(){if(!this.$cta)return;let e="mobile"===this.props.store?.client?.deviceSize&&this.sticky?(t=this.$cta,t?.base||t).offsetHeight:0;var t;e!==this.props.store.footer.coveredScreenSize&&o.A.get().footer.set({coveredScreenSize:e})}startAutoExpandTimer(){this.setState({open:!0,autoExpanding:!0});const e=1e3*this.autoExpandDuration;this.collapseTimer=window.setTimeout(this.cancelAutoExpanding,e)}stopAutoExpandTimer(){window.clearTimeout(this.collapseTimer)}cancelAutoExpanding(){this.setState({open:!1,autoExpanding:!1}),this.stopAutoExpandTimer(),o.A.emit("FOOTER_AUTO_EXPANDED")}openEvidon(){window.evidon?.notice?.showPreferencesDialog()}onLinkClick(){}onPageLinkClick(e){const t=e.currentTarget.dataset.page;t&&(e.preventDefault(),o.A.emit("CLOSE_AND_NAVIGATE",t,"",{instant:!1}))}isLoneVideoDefaultFooter(){if(!(0,c.wh)(this.props,"data.defaultFooter"))return!1;const e=Object.keys((0,c.wh)(this.props,"store.appData.pages",{})),t=["boltVideos","bolt-toolkit","boltBanner","browser-not-supported","boltIframe"];return 0===e.filter((e=>!t.includes(e))).length}isDedicatedIframePage(){return"iframe"===this.props.store?.appData?.pages?.[this.props.store?.activePage]?.page}toggleFooter(e){const t="boolean"==typeof e?e:!this.state.open;if(this.setState({open:t}),t&&this.showtimesFooter){const e=document.querySelector("[data-section=scroller]"),t=this.base.offsetTop+this.base.offsetHeight;(0,l.BD)(e,t,300)}}renderOpenFooter(){const{logos:e,links:t,copyright:i}=this.footerData,r=(0,c.wh)(o.A.get(),"appData.styling.variables.footerBgColor",this.state.backgroundColor),s=(0,c.wh)(o.A.get(),"appData.copy.accessibilityCopy",{}),a=this.state.autoExpanding,l={background:!this.pressKitFooter&&r};return(0,n.h)("div",{class:(0,c.XS)(k.openWrapper,a&&k.autoExpanding),style:l},(0,n.h)(_.A,{class:k.closeBtn,trigger:a?this.cancelAutoExpanding:this.toggleFooter,ariaLabel:s.$COLLAPSE_FOOTER_ARIA},(0,n.h)(v.A,null)),(0,n.h)("div",{class:(0,c.XS)(k.studioDetails)},this.getLogos(e),(0,n.h)("div",{class:k.line}),(0,n.h)("ul",{class:k.links},this.renderLinks(t,"link"))),(0,n.h)("ul",{class:(0,c.XS)(k.copyright,this.fontStyles.footerCopyright)},this.renderLinks(i,"copyright")))}getLogos(e){if(e)return(0,n.h)("ul",{class:k.logos},this.renderLinks(e,"logo"))}tealiumAction(){window.DisneyGDPR&&window.DisneyGDPR.Core&&"function"==typeof window.DisneyGDPR.Core.openPreferencesDialog&&window.DisneyGDPR.Core.openPreferencesDialog()}ensightenAction(e){"function"==typeof window.__dataLayer?.OneTrustDialog&&window.__dataLayer?.OneTrustDialog(e)}getFallbackFormat(){return(0,c.wh)(this.props,"appData.footer.alternativeImageFormat","png")}getLinkContent(e,t){if("logo"===t){const t=e.src;return(0,n.h)("img",{class:k.logo,src:t,alt:(0,a.u)(e.alt,{},"",null,"accessibilityCopy")||e.alt,width:e.width,height:e.height})}const i=(0,a.u)(e.$copy,{},"",null,"baseCopy")||e.$copy;return"copyright"===t||"link"===t?(0,n.h)(w.A,{tag:"span",content:i,markdown:!0,inline:!0}):i}getLinkUrl(e,t){if(!e)return null;const i={customValueTypes:{hasYoutube:this.checkHasYoutube}};return(0,c.fz)(e.alternateUrls).find((e=>g(e.condition,null,i)))?.url||e.url}checkHasYoutube(){const e=o.A.get().appData;return[].concat(Object.values(e.pages).flatMap((e=>"videos"===e?.type&&Object.values(e.data?.list||{}))),e.options?.videoOverlay?.video,Object.values(e.options?.videoOverlay?.video||{})).some((e=>e?.youtubeId||e?.youtubePlaylistId))}sortAndFilterItems(e){const t=(0,c.wh)(o.A.get(),"appData.options.ageGate",!1),i=(0,c.wh)(o.A.get(),"client.ofAge",null);return(0,c.fz)(e,((e,t)=>
2({key:t,...e}))).filter((e=>{const n=+e.ageGateShowOnly||0;if(n){if(1===n&&t&&!i)return!1;if(2===n&&i)return!1}if(e.excludeFromShowtimes&&this.showtimesFooter||e.showtimesOnly&&!this.showtimesFooter)return!1;if(e.userRegion){E((e=>{S=e?.countryCode,this.forceUpdate()}));if(!e.userRegion.split(",").map((e=>e.trim().toLowerCase())).includes(S))return!1}return!0}))}renderLinks(e,t){e=this.sortAndFilterItems(e);let i=[];"link"===t&&(this.tealiumCookiesEnabled||this.ensightenTrackingEnabled)&&i.push((0,n.h)("li",{class:k[`${t}Wrapper`],key:"tealium"},(0,n.h)(_.A,{class:(0,c.XS)(k[`${t}Link`],this.fontStyles.footerLegalLinks),trigger:this.ensightenTrackingEnabled?this.ensightenAction:this.tealiumAction},(0,c.wh)(this.props,"store.appData.copy.baseCopy.$COOKIE_SETTINGS")||"Cookie Settings")));const r=this.props.store?.appData?.pages||{};return i.concat(e.map(((e,i)=>{let s=this.getLinkContent(e,t);const a=this.getLinkUrl(e,t);if(a&&a.startsWith("@"))return(0,n.h)("li",{class:k[`${t}Wrapper`],key:i},(0,n.h)(_.A,{class:(0,c.XS)(k[`${t}Link`],this.fontStyles["copyright"===t?"footerCopyright":"footerLegalLinks"]),trigger:()=>o.A.emit("OPEN_RESERVED_VARIABLE_LINK",a)},s));if(a in r)return(0,n.h)("li",{class:k[`${t}Wrapper`],key:i},(0,n.h)("a",{href:(0,d.rT)(a),class:(0,c.XS)(k[`${t}Link`],this.fontStyles["copyright"===t?"footerCopyright":"footerLegalLinks"]),"data-page":a,onClick:this.onPageLinkClick},s));let l=a?y.A:"div";!a&&e.openCookieConsentTool&&(l="button");let h={class:(0,c.XS)(k[`${t}Link`],this.fontStyles["copyright"===t?"footerCopyright":"footerLegalLinks"]),ariaLabel:e.ariaLabel,title:e.title,onClick:e.openCookieConsentTool?this.openEvidon:t=>this.onLinkClick(e,i,t)};if(a){const t=(0,c.wh)(this.props,"data.defaultFooter.disableNoOpenerNoReferrer",!1),i=/^(https?:)?\/\//.test(a);h.href=a,h.target=e.sameWindow?"_self":e.target||(i?"_blank":"_self"),h.rel=t||!i||e.sameWindow?null:"noopener noreferrer"}return(0,n.h)("li",{class:k[`${t}Wrapper`],key:i},(0,n.h)(l,h,s))})))}renderOuter(){const e=(0,c.wh)(this.props.store,"appData.copy.accessibilityCopy",{}),{ctaOpenCopy:t="FOOTER_CTA",ctaCloseCopy:i="FOOTER_CLOSE"}=this.props.data.defaultFooter||{},r=this.state.open?(0,a.u)(i,{},"",null,"baseCopy"):(0,a.u)(t,{},"",null,"baseCopy"),o=this.state.open?e.$COLLAPSE_FOOTER_ARIA:e.$EXPAND_FOOTER_ARIA,s=(0,c.wh)(this.props.data,"defaultFooter.copyright"),d=(0,h.KS)();return(0,n.h)("div",{class:(0,c.XS)(k.outer,d&&k.noLegalBtn),key:"outer"},(0,n.h)(_.A,{class:k.scrollTop,trigger:()=>(0,l.BD)(this.props.scrollElem||document.getElementById("mainScroll"),0,300)},(0,n.h)(b.A,{class:k.arrow,"aria-label":e.$SCROLL_UP_ARIA})),s&&(0,n.h)("ul",{class:k.copyright,key:"copyright"},this.renderLinks(s,"copyright")),(0,n.h)("div",{class:k.sizer}),(0,n.h)(_.A,{class:(0,c.XS)(k.cta,this.fontStyles.footerLegalButton,d&&k.hidden),trigger:this.toggleFooter,key:"toggle",ariaLabel:o,ref:e=>this.$cta=e},r))}renderExtra(){}render(e,t){const{data:i,scrollElem:o,store:s,isHomeEntFooter:a}=e,d=(0,c.wh)(s,"appData.copy.accessibilityCopy",{}),p=(0,h.KS)(),u=(0,c.wh)(s,"header.videoOverlayOpen",!1),g=u&&this.isLoneVideoDefaultFooter(),f=this.sticky||u,m=!this.sticky&&(0,c.wh)(i,"defaultFooter.autoExpand",!1),y=!p&&!f&&(0,c.wh)(i,"defaultFooter.inline",!1),v=(0,c.wh)(s,"appData.options.formEmbeds.signUp.displayFooterLinks",!1),w=(0,h.k_)(),S={};this.autoBackground||this.showtimesFooter||this.hasTextPage||this.pressKitFooter||(S.backgroundColor=t.backgroundColor);const E=(0,c.wh)(s,"signupBanner.open",!1),C=(0,c.wh)(s,"client.signUpFormHeight",null);E&&(S.paddingBottom=C);const T=s.activePage,O=r.V0[r.V0.length-1]?.id,I="boltWatchMore"===O&&!s.watchMore?.hide,L="boltFeaturedVideos"===O&&!s.featuredVideos?.hide,D=s?.synopsis?.addShadowToFooter,x=s?.tiledItems?.addShadowToFooter;let P=(D||x||I||L)&&!this.showtimesFooter;"filmPage"===T&&(P=!1);const R=(0,c.wh)(i,"sonyFooter",!1),N=(0,c.wh)(e,"store.appData.copy",{});if(R)return(0,n.h)("footer",{"data-section":"boltFooter",style:S,class:(0,c.XS)({s:k,wrapper:!0,sticky:f,open:t.open,showtimes:this.showtimesFooter,homeEnt:a,sidePanelOpen:(0,c.wh)(s,"showtimes.show",!1)||(0,c.wh)(s,"homeEnt.show",!1)}),role:"contentinfo"},P&&(0,n.h)("div",{class:k.shadow}),(0,n.h)(A.SonyFooter,{data:i.sonyFooter,showtimes:this.showtimesFooter,copy:N}));if("boltHome"===T){!r.V0.find((e=>["boltSynopsis","boltGallery"].includes(e.id)))&&(S.backgroundColor="")}return(0,n.h)("footer",{"data-section":"boltFooter",style:S,class:(0,c.XS)({s:k,wrapper:!0,sticky:f,open:t.open,showtimes:this.showtimesFooter,pressKit:this.pressKitFooter,homeEnt:a,sidePanelOpen:(0,c.wh)(s,"showtimes.show",!1)||(0,c.wh)(s,"homeEnt.show",!1),loneVideoDefaultFooter:g,staticAutoExpand:m,inlineFooter:y,dedicatedIframePage:this.isDedicatedIframePage(),hidden:w,signUpFormFooterLinks:v}),role:"contentinfo"},P&&(0,n.h)("div",{class:k.shadow,key:"shadow"}),this.renderOuter(),(0,n.h)("div",{class:k.openCropper,key:"openCropper"},this.renderOpenFooter(),y&&(0,n.h)(_.A,{class:k.scrollTop,trigger:()=>(0,l.BD)(o||document.getElementById("mainScroll"),0,300),key:"inline-footer-scroll-top"},(0,n.h)(b.A,{class:(0,c.XS)(k.arrow,k.arrowTop),"aria-label":d.$SCROLL_UP_ARIA}))),this.renderExtra())}}var T=i(6793);class O extends C{async componentDidMount(){super.componentDidMount();
2const e=await(0,p.LG)(),t=await(0,T.i)(e?.countryCode);this.setState({userCountry:e?.countryCode,userInEU:t})}renderDoNotSellLogo(){const e=this.props.store?.appData?.urls?.roots?.studio||"";return(0,n.h)("img",{class:k.doNotSellLogo,src:e+"/images/ccpa-icon/privacyoptions.svg",alt:"California Consumer Privacy Act (CCPA) Opt-Out Icon"})}getLinkContent(e,t){if("logo"===t)return super.getLinkContent(e,t);let i=e.$copy,r=(0,a.u)(i,{},"",null,"baseCopy")||i;return"copyright"!==t&&"link"!==t||(r=(0,n.h)(w.A,{content:r,markdown:!0})),[e.showPrivacyChoicesLogo&&this.renderDoNotSellLogo(),r].filter((e=>e))}renderLinks(e,t){const{userInEU:i,userCountry:n}=this.state;return i||(e=Object.fromEntries(Object.entries(e||{}).filter((([e])=>"cookies"!==e)))),e="us"===n?Object.fromEntries(Object.entries(e||{}).filter((([e,t])=>!t.nonUsOnly))):Object.fromEntries(Object.entries(e||{}).filter((([e,t])=>!t.usOnly))),super.renderLinks(e,t)}}},2113(e,t,i){"use strict";i.d(t,{A:()=>I});i(187),i(9659),i(3552),i(7417),i(6174),i(4711);var n=i(4296),r=i(4180),o=i(939),s=(i(1190),i(8077),i(7e3),i(1158)),a=i(4739),l=i(6430);
2s.A.on("CHANGE_ACTIVE_IMAGE",(({image:e,pageId:t})=>{s.A.get().gallery||s.A.get().set({gallery:{}});let i={activeImage:e};t&&(i={[t]:i}),s.A.get().gallery.set(i)})),s.A.on("GALLERY_SHARE_IMAGE",(async({imageUrl:e,siteUrl:t,metaOverrides:i})=>{const n=await(0,a.xF)("generateHashFromQuery",{imageUrl:e,siteUrl:t,metaOverrides:i}),r="https://share.s-prod.pow.io/"+(0,l.zJ)({imageUrl:e,siteUrl:t,metaOverrides:i,hash:n});"function"==typeof navigator?.share?navigator.share({url:r}):s.A.get().gallery.set({imageShareLink:r})})),s.A.on("CLOSE_GALLERY_SHARE",(()=>{s.A.get().gallery.set({imageShareLink:!1})}));var c=i(9248),d=i(818),h=i(2824),p=i(8790),u=i(3206),g=i(6439),f=i(2110),m=i(860),y=i(4864),_=i(5809),v=i(1324),b=i(4311),w=i(2265),A=i(3561),k=i(3500),S=i(4462),E=i(218);const C={container:"gallery__container__Qoy_6",dedicatedPage:"gallery__dedicatedPage__SBMog",inner:"gallery__inner__W31jo",includeTopArrows:"gallery__includeTopArrows__V7weZ",loading:"gallery__loading__ORxx9",galleryTitle:"gallery__galleryTitle__nNswr",galleryDescription:"gallery__galleryDescription__Hqw3z",withMobileArrows:"gallery__withMobileArrows__Dunhw",videoContainer:"gallery__videoContainer__JOYOG",touchOverlay:"gallery__touchOverlay__kXG27",spinner:"gallery__spinner__eddky",spin:"gallery__spin__Y3L86",contentWrapper:"gallery__contentWrapper__sJso0",imageWrapper:"gallery__imageWrapper__yrUet",imageTransitionContainer:"gallery__imageTransitionContainer__eky_M",imageTransitionVisible:"gallery__imageTransitionVisible__pN8fI",imageTransitionLeaving:"gallery__imageTransitionLeaving__dI38G",annotationTransitionContainer:"gallery__annotationTransitionContainer__l6ebJ",annotationTransitionLeaving:"gallery__annotationTransitionLeaving__FLFYj",activeImage:"gallery__activeImage__e48vG",clickable:"gallery__clickable__G4gJ1",video:"gallery__video__ZNpo9",arrows:"gallery__arrows__dypHl",hideArrowsDesktop:"gallery__hideArrowsDesktop__Z8moQ",mobileArrows:"gallery__mobileArrows__eMfCt",noDownloads:"gallery__noDownloads__m8iX3",hideArrowsMobile:"gallery__hideArrowsMobile___PBL0",arrowBtn:"gallery__arrowBtn__eellQ",leftArrow:"gallery__leftArrow__GKhtT",rightArrow:"gallery__rightArrow__OTgbf",bottomWrapper:"gallery__bottomWrapper__HOX0M",bottom:"gallery__bottom__XmSDv",navDots:"gallery__navDots__nzwxQ",dotBtn:"gallery__dotBtn__Wp8UE",pointer:"gallery__pointer__hF16u",hasDownloads:"gallery__hasDownloads__QmbOB",canShare:"gallery__canShare__B6maS",dot:"gallery__dot__qYOor",activeDot:"gallery__activeDot__z5F6Z",popBack:"gallery__popBack__YcJt6",fade:"gallery__fade__R_Cse",pop:"gallery__pop__B47OE",goingLeft:"gallery__goingLeft__ohgNo",isLast:"gallery__isLast__TSkvX",goingRight:"gallery__goingRight__LQGLg",isFirst:"gallery__isFirst__Vog4X",annotation:"gallery__annotation__NnYw5",share:"gallery__share__cJZ1Q",sharePopout:"gallery__sharePopout__S7CrU",downloadBtnContainer:"gallery__downloadBtnContainer__Spdwg",downloadButton:"gallery__downloadButton__QzeMF",downloadSingle:"gallery__downloadSingle__fOKIK",downloadAll:"gallery__downloadAll__jq5Xm",rotate:"gallery__rotate__Jisgd",downloadInProgress:"gallery__downloadInProgress__RScxe",downloadIcon:"gallery__downloadIcon__dDK9k",extraActions:"gallery__extraActions__fLUDH",isEmbeded:"gallery__isEmbeded__a2Njo",active:"gallery__active__Rd_P0",disabled:"gallery__disabled__E20ta",lowerOpacity:"gallery__lowerOpacity__jHvEX",hasVideoAsset:"gallery__hasVideoAsset__t6bjn",videoWrapper:"gallery__videoWrapper__iMCqT"};class T extends m.A{constructor(e){super(e),(0,o.A)(this,"unpackYoutubePlaylists",(e=>{void 0!==e.find((e=>e.youtubePlaylistId))&&this.replacePlaylistWithVideos(e)})),(0,o.A)(this,"removeYoutubePlaylists",(e=>e.filter((e=>!e.youtubePlaylistId&&e)))),(0,o.A)(this,"onLoadedHandler",(()=>{this.setState({loading:!1})})),(0,o.A)(this,"onEndedHandler",(e=>{this.getNextVideo(e,this.state.images)?this.changeImageRelative(1):s.A.emit("VIDEO_ENDED",e)})),(0,o.A)(this,"getNextVideo",((e,t)=>
2{if(!e||!t.length)return;const i=t.findIndex((t=>t.key===e.key));return this.autoRotate&&i+1===t.length?t[0]:t[i+1]}));const t=this.hasMultipleGalleries(),i=e.appData,n=this.props.pageData||i?.pages?.[this.props.id]?.data;let r=n?.contentCarousel;this.props.isMiniGallery?r=this.props.appData?.options?.paramountFeatures?.toutCarousel?.contentCarousel:this.props.isEmbeded&&(r=n?.gallery?.contentCarousel),this.autoRotate=n?.autoRotate||!1,e.isMiniGallery&&(this.autoRotate=e?.appData?.options?.paramountFeatures?.toutCarousel?.autoRotate||!1);const a=n?.hash,c=i?.pages?.[this.props.id]?.name,d=i?.copy?.baseCopy?.[c]||(c?.startsWith("$")?null:c)||e.id,p=(0,l.fz)(r,((e,t)=>({...e,fileName:e?.pdfSrc?.split("/")?.pop(),key:t,trackKey:(0,h.A)(d+"-"+t),altKey:a&&(0,h.A)(a+"-"+t)})));this.unpackYoutubePlaylists(p),this.loadedSrcs=[],this.state={images:p||[],hasMultipleGalleries:t,mounted:!1},this.observerCallback=this.observerCallback.bind(this),this.onDragStart=this.onDragStart.bind(this),this.onDrag=this.onDrag.bind(this),this.onDragEnd=this.onDragEnd.bind(this),this.onImageClick=this.onImageClick.bind(this),this.imageLoaded=this.imageLoaded.bind(this),this.renderImageLoader=this.renderImageLoader.bind(this),this.downloadAll=this.downloadAll.bind(this),this.downloadAllAsSingleFile=this.downloadAllAsSingleFile.bind(this),this.togglePlaying=this.togglePlaying.bind(this),this.videoClickHandler=this.videoClickHandler.bind(this),this.onImageShare=this.onImageShare.bind(this),this.getImageForHash=this.getImageForHash.bind(this),this.useDownloadAttribute="undefined"==typeof window||"download"in document.createElement("a")}componentDidMount(){super.componentDidMount(),this.setState({mounted:!0});const e=this.getActiveImage();this.activeImageUrl=this.getSrc(e),e&&s.A.emit("GALLERY_VIEW_IMAGE",e?.trackKey);e.videoSrc||e.vimeoId||e.youtubeId||e.youtubeId||e.disneySrc||e.youtubePlaylistId||(this.observer=new IntersectionObserver(this.observerCallback,{threshold:[1]}),this.observer.observe(this.contentWrapper))}componentWillUnmount(){window.clearTimeout(this.nextRotationTimer),window.clearTimeout(this.changeImageTimeout),this.observer&&(this.observer.unobserve(this.contentWrapper),this.observer.disconnect())}componentDidUpdate(e){if(e.id!==this.props.id){const e=this.props.pageData||this.props.appData.pages[this.props.id]?.data;let t=e?.contentCarousel;this.props.isMiniGallery?t=(0,l.wh)(this.props,"appData.options.paramountFeatures.toutCarousel.contentCarousel",{}):this.props.isEmbeded&&(t=e?.gallery?.contentCarousel);const i=(0,l.fz)(t,((e,t)=>({...e,key:(0,h.A)(t)})));this.unpackYoutubePlaylists(i),s.A.emit("CHANGE_ACTIVE_IMAGE",{image:i[0],pageId:this.props.combinedId||this.props.id}),this.setState({images:i})}}observerCallback([e]){if(e.isIntersecting&&1===e.intersectionRatio&&!this.firstAutoRotationTriggered){this.firstAutoRotationTriggered=!0;const e=this.getActiveImage(),t=this.getSrc(e);this.setAutoRotateTimer(t)}}replacePlaylistWithVideos(e){Promise.all(e.map((e=>e&&e.youtubePlaylistId?this.getVideosFromPlaylist(e):e))).then((e=>{const t=[].concat(...e);this.setState({images:(0,c.Zs)(t)})})).catch((()=>{this.setState({images:this.removeYoutubePlaylists(e)})}))}sortPlaylist(e,t,i){if(!i)return 0;const n=i.replace(/\s/g,"").split(",").reverse();return n.indexOf(t.snippet.resourceId.videoId)-n.indexOf(e.snippet.resourceId.videoId)}getVideosFromPlaylist(e){const t=e.youtubePlaylistId,i="No Cookie Mode"===e.noCookies;return(0,u.l)(t).then((t=>t.items.filter((e=>e.snippet.thumbnails.medium)).sort(((t,i)=>this.sortPlaylist(t,i,e.playlistOrder))).map((e=>({name:e.snippet.title,thumbSrc:e.snippet.thumbnails.medium.url,youtubeId:e.snippet.resourceId.videoId,key:e.id,noCookies:i})))))}hasMultipleGalleries(){const e=(0,l.fz)((0,l.wh)(this.props,"appData.pages",{})).map((e=>{if("gallery"===e.component||"gallery"===e.page||e.data?.gallery?.contentCarousel)return e;if("filmPage"===e.type){const t=Object.values(e.data||{}).filter((e=>"gallery"===e?.component));return t}})).filter((e=>e)).flat(),t=(0,l.wh)(this.props,"appData.options.paramountFeatures.toutCarousel.contentCarousel",!1);let i=e.length;return t&&(i+=1),i>1}getActiveImage(){const{images:e,hasMultipleGalleries:t}=this.state,{isMiniGallery:i}
2=this.props,n=s.A.get(),r=i?"miniGallery":this.props.combinedId||this.props.id;let o=t?(0,l.wh)(n,["gallery",r,"activeImage"]):(0,l.wh)(n,"gallery.activeImage");if(o){let t=e.findIndex((e=>e.key===o?.key));e.length&&-1==t&&(o=e[0])}const a=o||e[0]||{},c=this.getImageForHash();return c||a}getImageForHash(){const e="undefined"!=typeof window&&location.hash.slice(1);if(!e)return;const{images:t}=this.state;return t.find((t=>{const i=t.vimeoId||t.youtubeId;return!!i?i===e||t.key===e:t.key===e||t.altKey===e}))}changeActiveImage(e){s.A.emit("GALLERY_VIEW_IMAGE",e.key);const{hasMultipleGalleries:t}=this.state,{isMiniGallery:i}=this.props,n=t&&(i?"miniGallery":this.props.id),r=e.videoSrc||e.vimeoId||e.youtubeId||e.youtubeId||e.disneySrc||e.youtubePlaylistId;s.A.emit("CHANGE_ACTIVE_IMAGE",{image:e,pageId:t&&(this.props.combinedId||n)});const o=this.getSrc(e);if(this.autoRotate&&(window.clearTimeout(this.nextRotationTimer),!r&&this.setAutoRotateTimer(o)),i)return;this.getImageForHash()&&window.history.replaceState({},document.title,"."+location.search);o===this.activeImageUrl&&!r||this.loadedSrcs.includes(o)||this.setState({loading:!0}),o&&!r&&(this.activeImageUrl=this.getSrc(e))}getSrc(e){let t;return t=e.mobileSrc||e.tabletSrc?{desktop:e.desktopSrc,mobile:e.mobileSrc,tablet:e.tabletSrc}:e.desktopSrc,(0,d.L)((0,c.xO)(t))}onDragStart(e){if(1===(this.state.images||[]).length)return;const t=this.props.client?.isDesktopSize,{isMiniGallery:i}=this.props;if(this.grabbed||void 0!==e.button&&0!==e.button||t||i)return;e.touches&&e.touches.length||e.preventDefault();this.contentWrapper.style.transition="none";let n=e.touches&&e.touches[0]||e,r=n.pageX||0;this.grabbed={x:r,y:n.pageY||0,previous:r,lastEvent:Date.now()}}onDrag(e){if(1===(this.state.images||[]).length)return;const t=this.props.client?.isDesktopSize,{isMiniGallery:i}=this.props;if(!this.grabbed||t||i)return;const n=this.contentWrapper;let r=e.touches&&e.touches[0]||e,o=r.pageX||0,s=r.pageY||0,a=Math.abs(o-this.grabbed.x),l=Math.abs(s-this.grabbed.y);n.style.transform=`translate(${o-this.grabbed.x}px, -50%)`,!this.grabbed.active&&a<8?l>=8&&(this.grabbed=!1):(this.grabbed.active||(this.grabbed.x=o,this.grabbed.active=!0),e.cancelable&&e.preventDefault(),this.grabbed.lastEvent=Date.now(),this.grabbed.speed=this.grabbed.previous-o,this.grabbed.previous=o)}onDragEnd(e){const t=this.props.client?.isDesktopSize,{isMiniGallery:i}=this.props;let n=this.grabbed;if(this.grabbed=!1,n){if(!n.active||t||i)return void this.onImageClick(e);const r=this.contentWrapper;let o=n.speed*Math.max(0,1-(Date.now()-n.lastEvent)/200);Math.abs(o)>3&&(this.setState({swipeToChange:!0}),this.changeImageRelative(o>0?1:-1),r.style.transform=`translate(${o>0?100:-100}%, -50%)`),this.changeImageTimeout=window.setTimeout((()=>{r.style.transition=".3s transform",r.style.transform="translate(0, -50%)",this.setState({swipeToChange:!1})}),10)}else this.contentWrapper.style.transition=".3s transform",this.contentWrapper.style.transform="translate(0, -50%)",this.setState({swipeToChange:!1})}onImageClick(){}changeImageRelative(e,t){let i=this.state.images||[];if(1===i.length)return;const n=this.getActiveImage();let r=i.findIndex((e=>e.key===n.key));-1===r&&(r=0),r=(r+e)%i.length,r<0&&(r+=i.length),this.setState({direction:e});const o=i[r];o&&this.changeActiveImage(o,t)}download(e,t,i){if(e.youtubeId&&!i)return;const n=this.props.appData?.meta?.title?.localeSlug||"image",r=e.pdfSrc||this.getSrc(e);let o=e.fileName;return o||(o=t?`${n}-${t}`:n),(0,g.W)(r,e.fileName||n)}downloadAll(){this.state.images.forEach(((e,t)=>this.download(e,t))),s.A.emit("GALLERY_DOWNLOAD_ALL",this.props.id)}async downloadAllAsSingleFile({path:e,fileName:t}){const i=e.endsWith(".gif"),n=e.endsWith(".pdf");(i||n)&&(s.A.emit("GALLERY_DOWNLOAD_ALL",this.props.id),this.setState({downloadAllInProgress:!0}),await this.download(e,t),this.setState({downloadAllInProgress:!1}))}togglePlaying(e){this.setState({playing:e})}triggerImageClick(e){if(this.props.isMiniGallery&&s.A.emit("TOUT_CLICK","carousel","tout",e),!e.startsWith("http"))return e.startsWith("@")?
2s.A.emit("OPEN_RESERVED_VARIABLE_LINK",e):(0,c.aN)(e)?s.A.emit("OPEN_VIDEO_OVERLAY",e):"boltShowtimes"===e?s.A.emit("SHOWTIMES_SHOW",!0):"boltHomeEnt"===e?s.A.emit("HOMEENT_SHOW",!0):s.A.emit("CHANGE_ACTIVE_SECTION",e)}onImageShare(e){const t=this.getActiveImage(),i=this.getSrc(t),n=window.location.href;s.A.emit("GALLERY_SHARE_IMAGE",{imageUrl:i,siteUrl:n,metaOverrides:e})}toggleShare(){s.A.emit("CLOSE_GALLERY_SHARE")}setAutoRotateTimer(e){!this.autoRotate||this.autoRotate<=0||(this.loadedSrcs.includes(e)?this.nextRotationTimer=window.setTimeout((()=>{this.changeImageRelative(1)}),1e3*this.autoRotate):this.autoRotateWaitingForLoad=e)}videoClickHandler(){this.videoPlayer&&(this.state.videoPlaying||this.videoPlayer.play())}renderArrow(e,t){const i=(0,l.wh)(this.props,"appData.copy.accessibilityCopy.$RIGHT_ARROW_ARIA"),r=(0,l.wh)(this.props,"appData.copy.accessibilityCopy.$LEFT_ARROW_ARIA");return(0,n.h)(y.A,{class:(0,l.XS)(C.arrowBtn,this.state.loading&&C.disabled),disabled:this.state.loading,trigger:()=>this.changeImageRelative(t),ariaLabel:"rightArrow"===e?i:r},(0,n.h)(v.A,{class:C[e]}))}renderNavDots(e,t){return(0,n.h)("div",{class:C.navDots},e.map(((i,r)=>{const o=t==i.key,s=0===r,a=r===e.length-1;let{direction:c=1}=this.state;return 2===e.length&&0==t&&(c=-1),(0,n.h)("div",{class:(0,l.XS)(C.dotBtn,C.pointer),onClick:()=>this.changeActiveImage(i)},(0,n.h)("div",{class:(0,l.XS)({s:C,dot:!0,activeDot:o,isFirst:s,isLast:a,goingLeft:this.state.mounted&&-1===c,goingRight:this.state.mounted&&1===c})}))})))}renderDownloadButtons(e,t,i,o,a={},c){const d=(0,l.wh)(this.props,"appData.copy",{});if(!t&&!i)return;const h=e.pdfSrc;let p;if(t){const e=o?.path&&o.fileName,t=this.props.client?.isIOS,i=e&&t,s=[(0,n.h)("span",null,d.baseCopy.$ALL||"All"),(0,n.h)(_.A,{class:C.downloadIcon})],a=this.state.downloadAllInProgress,h={class:(0,l.XS)(C.downloadButton,C.downloadAll,c&&C.lowerOpacity,a&&C.downloadInProgress),disabled:c||a,key:"all",ariaLabel:d.accessibilityCopy.$DOWNLOAD_ALL_ARIA};if(i)p=(0,n.h)("a",(0,r.A)({},h,{target:"_blank",href:o.path,download:o.fileName}),s);else{const t=e?()=>this.downloadAllAsSingleFile(o):this.downloadAll;p=(0,n.h)(y.A,(0,r.A)({},h,{trigger:t}),s)}}return(0,n.h)("div",{class:(0,l.XS)(C.downloadBtnContainer,a.galleryDownloadButtons),key:"download-buttons"},i&&(0,n.h)(y.A,{class:(0,l.XS)(C.downloadButton,C.downloadSingle,c&&C.lowerOpacity),disabled:c,trigger:()=>{this.download(e,e.key),s.A.emit("GALLERY_DOWNLOAD_IMAGE",e.key)},key:"single",ariaLabel:d.accessibilityCopy.$DOWNLOAD_IMAGE_ARIA},(0,n.h)("span",null,h?d.baseCopy.$PDF||"PDF":d.baseCopy.$IMAGE||"Image"),(0,n.h)(_.A,{class:C.downloadIcon})),p)}renderImageLoader(){return(0,n.h)("div",{class:C.spinner,key:"loader"})}imageLoaded(e){this.loadedSrcs.includes(e)||this.loadedSrcs.push(e),this.setState({loading:!1}),this.autoRotateWaitingForLoad===e&&(this.autoRotateWaitingForLoad=null,this.setAutoRotateTimer(e))}onMarkdownClickCapture(){}renderImage(){const{loading:e,swipeToChange:t}=this.state,i=this.getActiveImage(),r=this.getSrc(i),o=t?0:1e3,s=i.alt&&"$"===i.alt.charAt(0)?(0,p.u)(i.alt):i.alt||"";let a=(0,n.h)(E.A,{duration:o,class:C.imageTransitionContainer,visibleClass:C.imageTransitionVisible,leavingClass:C.imageTransitionLeaving},(0,n.h)("img",{class:(0,l.XS)(C.activeImage,e&&C.loading,i.path&&C.clickable),src:r,alt:s,ariaLabel:s,onLoad:()=>this.imageLoaded(r),ref:e=>e&&(this.$galleryImage=e),key:`image-${r}`,onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseMove:this.onDrag,onTouchMove:this.onDrag,onMouseUp:this.onDragEnd,onTouchEnd:this.onDragEnd,onClick:!!i.path&&(()=>this.triggerImageClick(i.path,i.sameWindow))}));return i.path?.startsWith("http")?(0,n.h)(w.A,{href:i.path,target:i.sameWindow?"_self":"_blank"},a):a}renderVideo(){const{loading:e,playing:t}=this.state,i=this.getActiveImage(),r=i.youtubeId,o=this.props?.id,s=this.props?.appData?.pages[o]?.data||{};return(0,n.h)("div",{class:(0,l.XS)(C.videoContainer,e&&C.loading),ref:e=>this.videoContainer=e,onMouseDown:!r&&this.onDragStart,onTouchStart:!r&&this.onDragStart,onMouseMove:!r&&this.onDrag,onTouchMove:!r&&this.onDrag,onMouseUp:!r&&this.onDragEnd,onTouchEnd:!r&&this.onDragEnd},(0,n.h)(A.A,{ref:e=>this.videoPlayer=e,activeVideo:i,onPlay:()=>this.togglePlaying(!0),onPause:()=>this.togglePlaying(!1),noAutoplay:i.noAutoplay,onLoaded:this.onLoadedHandler,onEnded:()=>this.onEndedHandler(i),overrideStyles:!0,muted:s.autoMuteVideos}),r&&(0,n.h)("div",{onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseMove:this.onDrag,onTouchMove:this.onDrag,onMouseUp:this.onDragEnd,onTouchEnd:this.onDragEnd,onClick:this.videoClickHandler,class:C.touchOverlay,style:{pointerEvents:t?"none":"all"}}))}renderPDF(){const e=this.getActiveImage();if(e.desktopSrc||e.mobileSrc||e.tabletSrc)return this.renderImage();let t=(0,n.h)("embed",{type:"application/pdf",onClick:e.path&&(()=>this.triggerImageClick(e.path,e.sameWindow)),src:e.pdfSrc,width:"100%",height:"100%",onLoad:()=>this.imageLoaded(e.pdfSrc),ariaLabel:e.ariaLabel,onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseMove:this.onDrag,onTouchMove:this.onDrag,onMouseUp:this.onDragEnd,onTouchEnd:this.onDragEnd});return e.path?.startsWith("http")?(0,n.h)(w.A,{class:C.activeImage,href:e.path,target:e.sameWindow?"_self":"_blank"},t):(0,n.h)("div",{class:C.activeImage},t)}renderContent(e,t){switch(t?"video":e.pdfSrc?"pdf":"image"){case"video":return this.renderVideo();case"pdf":return this.renderPDF();case"image":return this.renderImage()}}renderShare(e,t){const i=this.getActiveImage(),r=this.getSrc(i),o=this.props?.appData?.copy?.baseCopy||{},s=this.props?.appData?.copy?.accessibilityCopy||{},a=o.$GALLERY_SHARE||o.$SHARE||"Share";return(0,n.h)("div",{class:C.share},(0,n.h)(y.A,{class:e&&C.lowerOpacity,trigger:()=>this.onImageShare(t),key:"image-share",ariaLabel:s.$GALLERY_SHARE_ARIA,disabled:e},a,(0,n.h)(S.A,{class:C.downloadIcon,"aria-hidden":!0})),(0,n.h)(k.A,{extraClass:C.sharePopout,appData:this.props.appData,shareOpen:this.props.store?.gallery?.imageShareLink,toggleSharePop:this.toggleShare,shareUrl:this.props.store?.gallery?.imageShareLink,shareImage:r,key:"gallery-share"}))}onClick(e){(0,c.$s)(e)}
2render(e){let t=`appData.pages.${e.id}.data`;e.isEmbeded&&(t=`${t}.gallery`);const i=e.pageData||(0,l.wh)(e,t)||{},{images:r,loading:o,swipeToChange:s}=this.state,a=(0,l.wh)(e,"client.dimensions.width",0)>=1024,c=this.getActiveImage(),d=c.videoSrc||c.vimeoId||c.youtubeId||c.youtubeId||c.disneySrc||c.youtubePlaylistId,h=i.title,p=i.downloadAll,u=i.customDownloadAll||{},g=i.downloadSingle,m=i.share,y=i.description,_=i.hideArrowsMobile||e.isMiniGallery,v=i.hideArrowsDesktop||e.isMiniGallery,w="mobile"===(0,l.wh)(e,"client.deviceSize","mobile"),A=i.shareMetaOverrides,k=r.length>1,S=k&&!a,T=e.store?.header?.activeSection===e.id,O=(0,l.wh)(e,"appData.styling.fontVariables",{}),I=this.state.images.map((e=>this.getSrc(e))).find((e=>e&&e.endsWith("gif"))),L=(0,l.wh)(e,"client.isIOS",!1),D=(0,l.wh)(e,"client.isSafari",!1),x=L&&!D&&I,P=(0,l.wh)(this.props,["store","appData","pages",e.id,"section"]),R=f.Bd[e.id]&&!P,N=(p||g)&&!x,M=N||m,B=s?0:1e3;return(0,n.h)("div",{class:(0,l.XS)({s:C,container:!0,active:T,hasDownloads:N,canShare:m,includeTopArrows:!a&&!_,isEmbeded:e.isEmbeded,dedicatedPage:R,miniGallery:e.isMiniGallery}),"data-section":e.id,ref:e=>this.$container=e},this.renderBgContent(),(0,n.h)("div",{class:C.inner,key:"inner"},h&&(0,n.h)(b.A,{tag:"h1",onClickCapture:this.onClick,markdown:!0,content:h,class:(0,l.XS)(C.galleryTitle,"h3")}),y&&(0,n.h)(b.A,{tag:"h2",onClickCapture:this.onMarkdownClickCapture,markdown:!0,content:y,class:(0,l.XS)(C.galleryDescription,"xlarge",w&&!_&&C.withMobileArrows)}),(0,n.h)("div",{class:(0,l.XS)(C.imageWrapper,d&&C.videoWrapper),key:"imageWrapper",id:`${e.id}GalleryImageWrapper`},k&&(0,n.h)("div",{class:(0,l.XS)(C.arrows,S&&C.mobileArrows,!N&&C.noDownloads,_&&C.hideArrowsMobile,v&&C.hideArrowsDesktop),key:"arrows"},this.renderArrow("leftArrow",-1),this.renderArrow("rightArrow",1)),(0,n.h)("div",{class:C.contentWrapper,ref:e=>this.contentWrapper=e},this.renderContent(c,d)),o&&this.renderImageLoader()),(0,n.h)("div",{class:C.bottomWrapper,key:"bottomWrapper"},(0,n.h)("div",{class:C.bottom,key:"bottom"},k&&this.renderNavDots(r,c.key),c.annotation&&(0,n.h)(E.A,{duration:B,class:C.annotationTransitionContainer,leavingClass:C.annotationTransitionLeaving},(0,n.h)(b.A,{class:(0,l.XS)(C.annotation,O.galleryAnnotations),content:c.annotation,markdown:!0,key:c.annotation})),M&&(0,n.h)("div",{class:C.extraActions},m&&this.renderShare(d,A),!x&&this.renderDownloadButtons(c,p,g,u,O,d))))),this.renderOverlayedContent())}}var O=i(3604);class I extends T{async componentDidMount(){super.componentDidMount?.(),this.props.appData?.options?.cmsManaged&&await this.loadCustomData()}getYoutubeId(e){const t=e?.match(/[&?]v=([^&#]+)|youtu\.be\/([^?&#]+)|^([a-z0-9_-]+)$/i);return t?.[1]||t?.[2]||t?.[3]}async loadCustomData(){const{id:e}=this.props;let t={},i=null;const n=s.A.get()||{};switch(e){case"aboutVideo":i=n.dynamicData?.about||await(0,O.Ws)("about");const{aboutVideo:r}=i;if(!r)return;this.dynamicData={title:r.heading?.text,titleColor:r.heading?.color,description:r.description};const o=this.getYoutubeId(r.video);
2t={about:{order:1,name:r.title,videoSrc:r.video,ariaLabel:r.videoAriaLabel,thumbSrc:r.videoThumbnail,posterSrc:r.videoPoster,thumbAria:r.videoThumbnailAria,annotation:r.annotation,youtubeId:o,noAutoplay:!0}};break;case"engagementGallery":case"legacyVideos":i="engagementGallery"===e?await(0,O.Ws)("engagement"):n.dynamicData?.about||await(0,O.Ws)("about");const{gallery:s,legacyVideoGallery:a}=i,l="engagementGallery"===e?s:a;this.dynamicData={title:l.heading?.text,titleColor:l.heading?.color},t=l?.content?.reduce(((e,t,i)=>{const n=this.getYoutubeId(t.file),r=t.file?.endsWith(".mp4")||t.file?.endsWith(".mov")||t.file?.endsWith(".webm");return e[t.name]={order:i+1,name:t.name,desktopSrc:t.file,tabletSrc:t.file,mobileSrc:t.file,annotation:t.annotation,alt:t.altText,youtubeId:n,videoSrc:r?t.file:null,noAutoplay:0===i},e}),{})}if(Object.keys(O.xk).some((t=>e.includes(t)))){i=await(0,O.Ws)("film-pages");let e=this.props.store.activePage,n=location.pathname.match(/\/film-pages\/([^/]+)(?:\/|$)/i)?.[1],r=["film-pages"!==e&&e,n].filter((e=>e)),o=Object.keys(i).find((e=>r.includes(i[e]?.url)));t=i?[o].gallery?.content?.reduce(((e,t,i)=>(e[t.file]={order:i+1,name:t.file,videoSrc:t.file,ariaLabel:t.alt,src:t.file,thumbSrc:t.file,thumbAria:t.alt,desktopSrc:t.file,tabletSrc:t.file,mobileSrc:t.file,alt:t.alt,annotation:t.annotation},e)),{}):{}}if(t){const e=this.props.pageData||this.props.appData.pages[this.props.id]?.data,i=e?.hash,n=this.props.appData?.pages?.[this.props.id]?.name,r=this.props.appData?.copy?.baseCopy?.[n]||(n?.startsWith("$")?null:n)||this.props.id,o=(0,l.fz)(t,((e,t)=>({...e,fileName:e?.pdfSrc?.split("/")?.pop(),key:t,trackKey:(0,h.A)(r+"-"+t),altKey:i&&(0,h.A)(i+"-"+t)})));this.unpackYoutubePlaylists(o),this.setState({images:o})}}render(e){let t=`appData.pages.${e.id}.data`;e.isEmbeded&&(t=`${t}.gallery`);const i=e.pageData||(0,l.wh)(e,t)||{},{images:r,loading:o,swipeToChange:s}=this.state,a=(0,l.wh)(e,"client.dimensions.width",0)>=1024,c=this.getActiveImage(),d=c.videoSrc||c.vimeoId||c.youtubeId||c.youtubeId||c.disneySrc||c.youtubePlaylistId,h=this.dynamicData?.title||i.title,p=this.dynamicData?.titleColor||i.color,u=i.downloadAll,g=i.customDownloadAll||{},m=i.downloadSingle,y=i.share,_=this.dynamicData?.description||i.description,v=i.hideArrowsMobile||e.isMiniGallery,w=i.hideArrowsDesktop||e.isMiniGallery,A="mobile"===(0,l.wh)(e,"client.deviceSize","mobile"),k=i.shareMetaOverrides,S=r.length>1,T=S&&!a,O=e.store?.header?.activeSection===e.id,I=(0,l.wh)(e,"appData.styling.fontVariables",{}),L=this.state.images.map((e=>this.getSrc(e))).find((e=>e&&e.endsWith("gif"))),D=(0,l.wh)(e,"client.isIOS",!1),x=(0,l.wh)(e,"client.isSafari",!1),P=D&&!x&&L,R=(0,l.wh)(this.props,["store","appData","pages",e.id,"section"]),N=f.Bd[e.id]&&!R,M=(u||m)&&!P,B=M||y,H=s?0:1e3;return(0,n.h)("div",{class:(0,l.XS)({s:C,container:!0,active:O,hasDownloads:M,canShare:y,includeTopArrows:!a&&!v,isEmbeded:e.isEmbeded,dedicatedPage:N,miniGallery:e.isMiniGallery}),"data-section":e.id,ref:e=>this.$container=e},this.renderBgContent(),(0,n.h)("div",{class:C.inner},h&&(0,n.h)(b.A,{tag:"h2",onClickCapture:this.onClick,markdown:!0,content:h,class:(0,l.XS)(C.galleryTitle,"h3"),style:{color:p}}),_&&(0,n.h)(b.A,{tag:"h3",onClickCapture:this.onMarkdownClickCapture,markdown:!0,content:_,class:(0,l.XS)(C.galleryDescription,"xlarge",A&&!v&&C.withMobileArrows)}),(0,n.h)("div",{class:(0,l.XS)(C.imageWrapper,d&&C.videoWrapper),key:"imageWrapper",id:`${e.id}GalleryImageWrapper`},S&&(0,n.h)("div",{class:(0,l.XS)(C.arrows,T&&C.mobileArrows,!M&&C.noDownloads,v&&C.hideArrowsMobile,w&&C.hideArrowsDesktop),key:"arrows"},this.renderArrow("leftArrow",-1),this.renderArrow("rightArrow",1)),(0,n.h)("div",{class:C.contentWrapper,ref:e=>this.contentWrapper=e},this.renderContent(c,d)),o&&this.renderImageLoader()),(0,n.h)("div",{class:(0,l.XS)(C.bottomWrapper,d&&C.hasVideoAsset),key:"bottomWrapper"},(0,n.h)("div",{class:C.bottom,key:"bottom"},S&&this.renderNavDots(r,c.key),c.annotation&&(0,n.h)(E.A,{duration:H,class:C.annotationTransitionContainer,leavingClass:C.annotationTransitionLeaving},(0,n.h)(b.A,{class:(0,l.XS)(C.annotation,I.galleryAnnotations),content:c.annotation,markdown:!0,key:c.annotation})),B&&(0,n.h)("div",{class:C.extraActions},y&&this.renderShare(d,k),!P&&this.renderDownloadButtons(c,u,m,g,I,d))))),this.renderOverlayedContent())}}},1128(e,t,i){"use strict";i.r(t),i.d(t,{default:()=>P});i(9659),i(7417);var n=i(4296),r=i(4180),o=i(6430),s=i(9248),a=i(818),l=i(860),c=i(4311);const d="imageTiles__container__XmNPg",h="imageTiles__heading__s6BgC",p="imageTiles__description__sCBty",u="imageTiles__tiles__blLn3",g="imageTiles__tile__z3QOQ",f="imageTiles__image__G8tJj",m="imageTiles__video__gh_lU",y="imageTiles__annotation__kO89s",_="imageTiles__tile--annotation-top__Q0cs2",v="imageTiles__tile--annotation-middle__PVeWN",b="imageTiles__placeholder__X7ltt",w="imageTiles__loading__Zw8Sd",A="imageTiles__imageWrapper__JKJjI",k="imageTiles__videoWrapper__qxXfL",S="imageTiles__loadMore__IQSDP",E="imageTiles__show__YHyEI",C=e=>/^((https?:)|mailto:)/.test(e);class T extends n.uA{constructor(e){super(e),this.onClick=this.onClick.bind(this)}onClick(e){const t=this.props.destination;C(t)||(0,s.OU)(t),this.props.onClick?.(e,this.props)}
2render({destination:e,sameWindow:t,children:i,...o}){if(!e)return i[0];const a=C(e)&&!t?"_blank":null;return(0,n.h)("a",(0,r.A)({},o,{href:(l=e,C(l)?l:(0,s.rT)(l)||"#"),target:a,onClick:this.onClick}),i);var l}}class O extends l.A{constructor(e){super(e);const t=e?.appData?.pages[e.id].data||{};this.state={...this.state,title:t.titleCopy,description:t.descriptionCopy,tiles:(0,o.fz)(t.tiles)},this.onClickTile=this.onClickTile.bind(this),this.onClickAnnotation=this.onClickAnnotation.bind(this),this.renderTile=this.renderTile.bind(this)}onClickTile(e,t){window.firePowsterCustomEvent?.("imagetile-link-click","imagetiles",[e.target?.dataset?.name,t.destination].filter(Boolean).join(" - "))}onClickAnnotation(e,t){window.firePowsterCustomEvent?.("imagetile-annotation-click","imagetiles",[e.target?.dataset?.name,t.destination].filter(Boolean).join(" - "))}renderAnnotation(e){if(!e.annotation)return;const t=(0,n.h)(c.A,{markdown:!0,content:e.annotation});return e.annotationLink?(0,n.h)(T,{class:y,destination:e.annotationLink,onClick:this.onClickAnnotation,"data-name":e.name||e.annotation},t):(0,n.h)("div",{class:y},t)}getSrc(e){return(0,a.L)(e.image||(0,s.xO)({desktop:e.desktopSrc,mobile:e.mobileSrc,tablet:e.tabletSrc}))}getVideoSrc(e){return(0,a.L)(e.video||(0,s.xO)({desktop:e.videoDesktopSrc,mobile:e.videoMobileSrc,tablet:e.videoTabletSrc}))}renderTile(e,t){const i=this.getSrc(e),r=this.getVideoSrc(e),s=e.annotationPosition||"bottom",a=(0,o.XS)(g,"top"===s&&_,"middle"===s&&v);let l=null;return r?l=(0,n.h)("video",{class:m,alt:e.alt,autoPlay:!0,loop:!0,muted:!0,src:r}):i&&(l=(0,n.h)("img",{class:f,alt:e.alt,src:i})),(0,n.h)("div",{class:a,key:t},("top"===s||"middle"===s)&&this.renderAnnotation(e),(0,n.h)(T,{destination:e.link,sameWindow:e.sameWindow,onClick:this.onClickTile},l),"bottom"===s&&this.renderAnnotation(e))}renderTiles(){return(0,n.h)("div",{class:u,key:"tiles"},this.state.tiles.map(this.renderTile))}render(e,t){const{title:i,description:r}=t;return(0,n.h)("div",{class:d,"data-section":this.props.id},this.renderBgContent(),!!i&&(0,n.h)(c.A,{tag:"h3",class:(0,o.XS)(h,"largeB"),content:i,markdown:!0,inline:!0,onClickCapture:s.$s,key:"title"}),!!r&&(0,n.h)(c.A,{tag:"h4",class:(0,o.XS)(p,"xlarge"),content:r,markdown:!0,inline:!0,onClickCapture:s.$s,key:"description"}),this.renderTiles())}}var I=i(8980),L=i(3604);const D=e=>/^((https?:)|mailto:)/.test(e),x=e=>D(e)?e:(0,s.rT)(e)||"#";class P extends O{constructor(e){super(e),this.state={...this.state,visibleTiles:9,incrementalBy:3,dataLoading:!!e.appData?.options?.cmsManaged},this.loadMore=this.loadMore.bind(this)}async componentDidMount(){super.componentDidMount?.();const{id:e,appData:t}=this.props;if(t?.options?.cmsManaged){try{switch(e){case"news":this.useCustomData(await(0,L.Ws)("in-the-news"));break;case"projectHighlightsTiles":this.useCustomData(await(0,L.Ws)("project-highlights"))}}catch{}this.setState({dataLoading:!1})}let i=(0,o.fz)(this.dynamicData?.tiles||this.pageData?.tiles);i.length<this.state.visibleTiles&&this.setState({visibleTiles:i.length})}componentWillUnmount(){}useCustomData(e){if(!e)return;const{id:t,appData:i}=this.props;if(!i?.options?.cmsManaged||!e)return;const n=(e,t)=>e.map(((e,i)=>({...e,image:e?.image||t,desktopSrc:e?.image,annotation:e?.description?`${e.title} <p class="body">${e.description||""}</p>`:e?.title,annotationLink:e?.link,tileName:e?.title,link:e?.link,alt:e?.alt,order:i+1})));switch(t){case"news":this.dynamicData={titleCopy:`<div class="news-header" style="background-image: url(${e.headerImage}); background-repeat: no-repeat"></div><span>${e.heading?.text}</span>`,titleColor:e.heading?.color,descriptionCopy:e.description,tiles:n(e.imageTiles)};break;case"projectHighlightsTiles":const t=e.imageTiles||[];this.dynamicData={titleCopy:e.heading?.text,titleColor:e.heading?.color,descriptionCopy:e.description,tiles:n(t,"https://dx35vtwkllhj9.cloudfront.net/universalstudios/greenerlight/images/placeholder-tile.webp")}}}get pageData(){return this.props?.appData?.pages[this.props.id].data||{}}loadMore(){const{visibleTiles:e,incrementalBy:t}=this.state,i=this.base.querySelector(`.${g}:nth-last-child(1 of :not(.${b}))`);this.setState({visibleTiles:e+t}),setTimeout((()=>{const e=i.nextElementSibling;if(!e)return;const t=document.querySelector("#header"),n=getComputedStyle(t),r=(t?.offsetHeight||0)+parseInt(n.marginTop,10)+parseInt(n.marginBottom,10);(0,I.BD)(document.getElementById("mainScroll"),e,300,{offset:r})}),0)}
2renderLoadMoreButton(){const{tiles:e}=this.pageData;let t=(0,o.fz)(this.dynamicData?.tiles||e);return(0,n.h)("button",{class:(0,o.XS)(S,this.state.visibleTiles<t.length&&E),onClick:this.loadMore,key:"more"},"Load More")}renderAnnotation(e){if(!e.annotation)return;const t=(0,n.h)(c.A,{markdown:!0,content:e.annotation});return e.annotationLink?(0,n.h)("a",{class:y,href:x(e.annotationLink),target:!!D(e.annotationLink)&&"_blank",onClick:t=>this.onClickAnnotation(t,e)},t):(0,n.h)("div",{class:y},t)}renderTile(e,t){const i=this.getSrc(e),r=this.getVideoSrc(e);return(0,n.h)("div",{class:g,key:t},e.videoDesktopSrc||e.video?(0,n.h)("a",{class:k,href:x(e.link),target:!e.sameWindow&&"_blank",onClick:t=>this.onClickTile(t,e)},(0,n.h)("video",{class:m,alt:e.alt,autoPlay:!0,loop:!0,muted:!0},(0,n.h)("source",{src:r,type:"video/mp4"}),"Your browser does not support the video tag.")):e.desktopSrc||e.image?(0,n.h)("a",{class:A,href:x(e.link),target:!e.sameWindow&&"_blank",onClick:t=>this.onClickTile(t,e)},(0,n.h)("img",{class:(0,o.XS)(f),alt:e.alt,src:i})):null,this.renderAnnotation(e))}render({id:e},{dataLoading:t}){const{titleCopy:i,titleColor:r,descriptionCopy:s,tiles:a}=this.dynamicData||this.pageData;let l=(0,o.fz)(a);return"news"===e&&l.length>=this.state.visibleTiles&&(l=l.slice(0,this.state.visibleTiles)),(0,n.h)("div",{class:(0,o.XS)(d,t&&w),"data-section":this.props.id},this.renderBgContent(),(0,n.h)("div",{key:"title"},i&&(0,n.h)(c.A,{tag:"h3",markdown:!0,content:i,class:(0,o.XS)(h,"largeB"),style:{color:r}})),(0,n.h)("div",{key:"description"},s&&(0,n.h)(c.A,{tag:"h4",markdown:!0,content:s,class:(0,o.XS)(p,"xlarge")})),(0,n.h)("div",{class:u,key:"tiles"},!t&&l.map(this.renderTile),[...Array(4)].map((()=>(0,n.h)("div",{class:(0,o.XS)(g,b)})))),"news"===e&&!t&&this.renderLoadMoreButton())}}},3562(e,t,i){"use strict";i.d(t,{I:()=>n});const n=["PERFORMANCE","TARGETING","STRICTLY_NECESSARY"]},2110(e,t,i){"use strict";i.d(t,{fq:()=>nt,Bd:()=>rt,V0:()=>ot});var n=i(2113),r=(i(9659),i(7417),i(4296)),o=(i(7e3),i(1158)),s=i(6430),a=i(818),l=i(9248),c=i(8980),d=i(860),h=i(4311),p=i(6744);const u="text__container__xldIN",g="text__dedicatedPage__m9kdq",f="text__wrapper__RXak2",m="text__noBg__wUqVz",y="text__hasCountdownClock__b8Dgd",_="text__countdownTextWrapper___Imnt",v="text__button__lpzHA button__floating__Elewb",b="text__content__KHMM9",w="text__stepsContainer__v04pV",A="text__stepItem__s_BtD",k="text__active__JG24k",S="text__arrowBox__weaZr",E="text__stepLogo__QKx4F",C="text__stepTitle__P2Vhz",T="text__stepBody__NkDXp",O="text__mobileStepsContainer__JEXkh",I="text__mobileStepItem__axP2P",L="text__open__fXatn",D="text__mobileStepHeader__hX1qw",x="text__toggleIcon__RHsUV";class P extends d.A{constructor(e){super(e),this.scrollOnHashChange=this.scrollOnHashChange.bind(this),this.updateHash=this.updateHash.bind(this),this.scrollToGallery=this.scrollToGallery.bind(this),this.updateHashAndScrollToGallery=this.updateHashAndScrollToGallery.bind(this),this.getPageWidth=this.getPageWidth.bind(this),this.onClick=this.onClick.bind(this),this.renderText=this.renderText.bind(this),this.renderGallery=this.renderGallery.bind(this),this.renderCountdown=this.renderCountdown.bind(this);let t=e.appData?.pages?.[e.id]?.data?.text;this.text=(0,a.L)(e.appData?.copy?.baseCopy?.[t]||t||"")}componentDidMount(){super.componentDidMount(),window.addEventListener("hashchange",this.scrollOnHashChange);const e=document.querySelectorAll(".galleryContentLink");e&&e.forEach((e=>{e.id&&e.addEventListener("click",(()=>this.updateHashAndScrollToGallery("#"+e.id)))})),this.scrollOnHashChange()}componentWillUnmount(){window.removeEventListener("hashchange",this.scrollOnHashChange)}scrollOnHashChange(){"undefined"!=typeof window&&location.hash.slice(1)&&this.scrollToGallery()}updateHash(e){e&&(window.location.hash=e)}scrollToGallery(){const e=this.props.client.headerHeight||60,t=document.getElementById("mainScroll"),i=document.getElementById(`${this.props.id}GalleryImageWrapper`);i&&(0,c.BD)(t,i,500,{offset:e})}updateHashAndScrollToGallery(e){this.updateHash(e),this.scrollToGallery()}getPageWidth(e,t){const i=o.A.get(),n=(0,s.wh)(i,"client.deviceSize",""),r=e?.data?.size;if(!t||!r)return;let a=r.mobile||"100%";return"largeDesktop"===n?a=r.largeDesktop||"100%":"desktop"===n?a=r.desktop||"100%":"smallDesktop"===n?a=r.smallDesktop||"100%":"tablet"===n&&(a=r.tablet||"100%"),a.trim().endsWith("px")||a.trim().endsWith("%")?a:a.replace(/\D/g,"")+"px"}onClick(e){(0,l.$s)(e)}renderText(){return(0,r.h)(h.A,{class:b,onClickCapture:this.onClick,content:this.text,markdown:!0,key:"html"})}renderGallery(){const e=(0,s.wh)(this.props.store,"appData",{}),t=(0,s.wh)(this.props.store,"client",{});return(0,r.h)(n.A,{appData:e,client:t,id:this.props.id,isEmbeded:!0,key:"gallery"})}trackButtonClick(e){o.A.emit("MOVIE_DETAILS_BUTTON_CLICK","countdown",e)}renderCountdown(e,t){let{hide:i}=this.props;const{targetDateTime:n,annotation:a,heading:l,timeZone:c="0",ctaButton:d}=e,h=this.props.appData,u=o.A.get().client?.headerHeight||0;return(0,r.h)("div",{class:_,key:"countdown"},(0,r.h)(p.A,{appData:h,heading:l,annotation:a,datetime:n,timeOffset:c,hidden:i,visible:!0,position:t,headerHeight:u}),d&&(0,r.h)("a",{class:(0,s.XS)(v,"mediumB"),href:d?.link,target:"_blank","aria-label":d?.label,onClick:()=>this.trackButtonClick(d.title)},d?.title))}render({store:e,id:t}){const i=(0,s.wh)(e,`appData.pages.${t}`,{}),n=(0,s.wh)(e,`appData.pages.${t}.section`),o=(0,s.wh)(e,"client.headerHeight",""),a=(0,s.wh)(e,"client.isDesktopWidth"),l=(0,s.wh)(e,`appData.pages.${t}
2.data.gallery`,""),c=!a&&!n,d=this.getPageWidth(i,n),h=this.renderText(),p=(0,s.wh)(e,`appData.pages.${t}.data.countdownClock`,null),_=p?.position||"standard";return(0,r.h)("div",{class:(0,s.XS)(u,t,!n&&g,p&&y),"data-section":t},(0,r.h)("div",{style:{width:d,marginTop:c?`${o}px`:"0px"},class:(0,s.XS)(f,i.data.bg&&m),key:"wrapper"},p&&"top"===_&&this.renderCountdown(p,_),this.renderBgContent(),h,this.renderOverlayedContent()),l&&this.renderGallery(),p&&"standard"===_&&this.renderCountdown(p,_))}}var R=i(3604);i(187),i(8077),i(6174);var N=i(939),M=i(8790);const B={wrapper:"toutVertical__wrapper__A2qbH",section:"toutVertical__section__nHsO4",hasFiltersMenu:"toutVertical__hasFiltersMenu__eBpWF",title:"toutVertical__title__eutfr",description:"toutVertical__description__z6eWi",stack:"toutVertical__stack__tTg5S",tout:"toutVertical__tout__rMguC",content:"toutVertical__content__mScNR",image:"toutVertical__image__i4Vm9",toutTitle:"toutVertical__toutTitle__DF_qw",toutDescription:"toutVertical__toutDescription__dulTM",filters:"toutVertical__filters__MKnB0",filter:"toutVertical__filter__xLHSC",button:"toutVertical__button__t7ze_",disabled:"toutVertical__disabled__wqKKe",filtersMenu:"toutVertical__filtersMenu__HRqN5",menuFilter:"toutVertical__menuFilter__fJzae",dropdown:"toutVertical__dropdown__g1XeK",arrowDown:"toutVertical__arrowDown__zwGKE",up:"toutVertical__up__yF5LJ",otherFilters:"toutVertical__otherFilters__oW_p_",absolute:"toutVertical__absolute__ymO5s",visible:"toutVertical__visible__qF06o",imageWrapper:"toutVertical__imageWrapper__sPfqf",innerContent:"toutVertical__innerContent__dDEP8",toutWrapper:"toutVertical__toutWrapper__go9gz",withBorder:"toutVertical__withBorder__eiWQQ"};class H extends d.A{constructor(e){super(e),(0,N.A)(this,"openShowtimesAndFilterForMovieId",(async e=>{await i.e(770).then(i.bind(i,7770)),o.A.emit("SET_FILTERS_SELECTED_MOVIE_ID",[e]),o.A.emit("SHOWTIMES_REFRESH"),o.A.emit("SHOWTIMES_SHOW",!0)})),this.pageData=e?.appData?.pages[e.id]?.data||{},this.toutStacks=(0,s.fz)(this.pageData,((e,t)=>(e&&"object"==typeof e&&(e.toJS&&(e=e.toJS()),e.key=t),e))).filter((e=>"string"!=typeof e)),this.filters=(this.pageData.filters||"").split(",").filter((e=>e)).map((e=>e.trim())),this.filters.unshift("all"),this.state={activeFilter:"all",openDropdown:!1,sticky:!0},this.renderToutStack=this.renderToutStack.bind(this),this.sortTouts=this.sortTouts.bind(this),this.toggleDropdownOpen=this.toggleDropdownOpen.bind(this),this.renderTout=this.renderTout.bind(this)}componentDidMount(){if(super.componentDidMount(),window.IntersectionObserver){let e={root:document.getElementById("mainScroll"),rootMargin:"0px 0px -100%"};this.observer=new IntersectionObserver((([e])=>{this.state.sticky===e.isIntersecting&&e.boundingClientRect?.y>=0&&this.setState({sticky:!e.isIntersecting})}),e),this.filtersMenu&&this.observer.observe(this.filtersMenu)}}componentWillUnmount(){this.observer&&this.filtersMenu&&this.observer.unobserve(this.filtersMenu)}triggerButtonClick(e){const{path:t,title:i,button:n,sameWindow:r}=e;if(o.A.emit("TOUT_CLICK","vertical","tout",`${i} - ${n}`),t.startsWith("http")){let e=document.createElement("a");e.href=t,e.target=r?"_self":"_blank",e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)}else{if(t.startsWith("@"))return o.A.emit("OPEN_RESERVED_VARIABLE_LINK",t);if(!t.startsWith("tickets/?id=")){if((0,l.aN)(t))return o.A.emit("OPEN_VIDEO_OVERLAY",t);if("boltShowtimes"===t)return o.A.emit("SHOWTIMES_SHOW",!0);if("boltHomeEnt"===t)return o.A.emit("HOMEENT_SHOW",!0);return(0,s.wh)(this.props,`appData.pages.${t}.section`,!1)?o.A.emit("CHANGE_ACTIVE_SECTION",t):o.A.emit("CLOSE_AND_NAVIGATE",t)}{const e=t.replace("tickets/?id=","").trim();this.openShowtimesAndFilterForMovieId(e)}}}toggleDropdownOpen(){const{openDropdown:e}=this.state;this.setState({openDropdown:!e})}sortTouts(e){return(0,s.fz)(e)}renderStackTitle({title:e}){return e&&(0,r.h)(h.A,{tag:"h3",class:(0,s.XS)(B.title,"h3"),content:e,markdown:!0,inline:!0})}renderStackDescription({description:e}){return e&&(0,r.h)(h.A,{tag:"div",class:(0,s.XS)(B.description,"xlarge"),content:e,markdown:!0})}renderToutStack(e,t){const i=this.sortTouts(e.touts);return(0,r.h)("div",{class:B.stack,key:`stack-${e.key||t}`},this.renderStackTitle(e),this.renderStackDescription(e),(0,r.h)("div",{class:B.touts},i.map(this.renderTout)))}renderButton(e){const t=e?.button;if(t)return(0,r.h)("button",{class:(0,s.XS)(B.button,"mediumB",e.disableButton&&B.disabled),onClick:()=>this.triggerButtonClick(e)},t.includes("$")?(0,M.u)(t):t)}renderTout(e){const{title:t,description:i,src:n,alt:o,filters:a=""}=e,l=a.split(",").filter((e=>e)).map((e=>e.trim())),{activeFilter:c}=this.state;if(l.indexOf(c)<=-1&&"all"!==c)return;const d=n?.endsWith(".mp4")||n?.endsWith(".webm");return(0,r.h)("div",{class:B.tout},n&&d?(0,r.h)("video",{class:(0,s.XS)(B.video,B.image),src:n,autoplay:!0,loop:!0,muted:!0,playsinline:!0}):(0,r.h)("img",{crossOrigin:"anonymous",class:B.image,src:n,alt:o}),(0,r.h)("div",{class:B.content},t&&(0,r.h)(h.A,{tag:"h3",markdown:!0,content:t,class:(0,s.XS)(B.toutTitle,"h4")}),!!l.length&&(0,r.h)("div",{class:B.filters,key:"filters"},l.map((e=>(0,r.h)("span",{class:(0,s.XS)(B.filter,"small")},e)))),i&&(0,r.h)(h.A,{tag:"h4",class:(0,s.XS)(B.toutDescription,B.showGradient,"large"),content:i,markdown:!0,key:"description"}),this.renderButton(e)))}selectFilter(e){(0,c.BD)(document.getElementById("mainScroll"),this.$container),this.setState({activeFilter:e}),this.toggleDropdownOpen()}render({id:e,appData:t},{activeFilter:i,openDropdown:n,sticky:o}){const a=this.props?.appData?.pages[e]?.section||!1,l=this.filters.length>1,c=this.filters.filter((e=>e!==i)),d=t?.copy?.baseCopy?.$ALL;return(0,r.h)("div",{class:(0,s.XS)(B.wrapper,a&&B.section,l&&B.hasFiltersMenu),"data-section":e,ref:e=>this.$container=e},this.renderBgContent(),!!l&&(0,r.h)("div",{class:B.filtersMenu,ref:e=>this.filtersMenu=e,key:"filters"},(0,r.h)("div",{class:(0,s.XS)(B.dropdown,B.menuFilter),onClick:this.toggleDropdownOpen},"all"===i?d||"All":i,(0,r.h)("div",{class:(0,s.XS)(B.arrowDown,n&&B.up)})),(0,r.h)("div",{class:(0,s.XS)(B.otherFilters,n&&B.visible,!o&&B.absolute)},c.map((e=>(0,r.h)("div",{class:B.menuFilter,onClick:()=>this.selectFilter(e)},"all"===e?d||"All":e))))),(0,r.h)("div",{key:`toutstacks-${this.props.id}`},this.toutStacks.map(this.renderToutStack)),this.renderOverlayedContent())}}class $ extends H{constructor(e){super(e)}async componentDidMount(){super.componentDidMount?.();const{id:e,appData:t}=this.props;if(t?.options?.cmsManaged){const e=o.A.get().activePage;await this.loadCustomData(await(0,R.Ws)(e))}}async loadCustomData(e){if(!e)return;const{id:t,appData:i}=this.props;if(i?.options?.cmsManaged&&e){if(this.dynamicData={touts:{0:{order:1,title:e?.info?.heading?.text||"",titleColor:e?.info?.heading?.color||"",touts:Array.isArray(e?.info?.touts)?e.info.touts.reduce(((e,t,i)=>
2(e[t.title]={order:i+1,title:t.title,description:t.description,src:t.src,alt:t.alt},e)),{}):{}}}},t.toLowerCase().includes("testimonials")){const t=e?.testimonials||{};this.hasTestimonials=t?.enabled||!1,this.dynamicData={touts:{0:{order:1,title:t.heading?.text,titleColor:t.heading?.color||"",touts:Array.isArray(t.touts)?t.touts.reduce(((e,t,i)=>(e[t.name]={order:i+1,title:`<span class="name">${t.name}</span>\n\t\t\t\t\t\t\t\t<span class="company">${t.company}</span>`,description:t.message,src:t.image,alt:t.imageAlt,disableButton:!1},e)),{}):{}}}}}this.toutStacks=(0,s.fz)(this.dynamicData?.touts)}}renderStackTitle(e){return e.title&&(0,r.h)(h.A,{tag:"h3",class:(0,s.XS)(B.title,"h3"),style:{color:e.titleColor},content:e.title,markdown:!0,inline:!0})}checkMarkdownLinkClick(e){let t=e.target.closest("a");if(!t)return;let i=t.getAttribute("href");if(i.startsWith("#$")){e.preventDefault();let t=i.slice(2).trim(),n={};if(t.includes("/?")){let[e,i]=t.split("/?");t=e,n.queryString="?"+i}(0,l.OU)(t,n)}t.setAttribute("target","_blank");let n=t.getAttribute("data-track-action");n&&window.firePowsterCustomEvent?.(n,t.getAttribute("data-track-category")||"tout",t.getAttribute("data-track-label"))}renderTout(e){const{title:t,description:i,src:n,alt:o,filters:a=""}=e,l=a.split(",").filter((e=>e)).map((e=>e.trim())),{activeFilter:c}=this.state;if(l.indexOf(c)<=-1&&"all"!==c)return;const d=n?.endsWith(".mp4")||n?.endsWith(".webm"),p=(this.props?.client||{}).isDesktopSize;return(0,r.h)("div",{class:(0,s.XS)(B.toutWrapper,{[B.withBorder]:p})},(0,r.h)("div",{class:B.tout},n&&d?(0,r.h)("video",{class:(0,s.XS)(B.video,B.image),src:n,autoplay:!0,loop:!0,muted:!0,playsinline:!0}):(0,r.h)("div",{class:B.imageWrapper},(0,r.h)("img",{crossOrigin:"anonymous",class:B.image,src:n,alt:o})),(0,r.h)("div",{class:B.content},(0,r.h)("div",{class:B.innerContent},t&&(0,r.h)(h.A,{tag:"h3",markdown:!0,content:t,class:(0,s.XS)(B.toutTitle,"h4")}),!!l.length&&(0,r.h)("div",{class:B.filters,key:"filters"},l.map((e=>(0,r.h)("span",{class:(0,s.XS)(B.filter,"small")},e)))),i&&(0,r.h)(h.A,{tag:"h4",class:(0,s.XS)(B.toutDescription,B.showGradient,"large"),content:i,onClickCapture:this.checkMarkdownLinkClick,markdown:!0,key:"description"}),this.renderButton(e)))))}render({id:e,appData:t},{activeFilter:i,openDropdown:n,sticky:r}){const o=super.render({id:e,appData:t},{activeFilter:i,openDropdown:n,sticky:r});return t?.options?.cmsManaged&&e.toLowerCase().includes("testimonials")&&!this.hasTestimonials?null:o}}i(3559),i(9986),i(613);var V=i(4864),F=i(5415);const G="hubTextOverlay__container__HULcQ",U="hubTextOverlay__show__FicZN",j="hubTextOverlay__bgGradient__Ifer3",z="hubTextOverlay__content__qnnPl",W="hubTextOverlay__closeTextOverlayButton__nwEus";class K extends r.uA{constructor(...e){super(...e),(0,N.A)(this,"state",{isClosing:!1}),(0,N.A)(this,"handleClose",(e=>{this.setState({isClosing:!0}),setTimeout((()=>{this.setState({isClosing:!1}),e()}),100)}))}componentDidUpdate(e){e.show!==this.props.show&&o.A.emit("HUB_TEXT_OVERLAY_SHOW",this.props.show)}render({content:e,show:t,closeOverlay:i}){return(0,r.h)("div",{class:(0,s.XS)(G,(t||this.state.isClosing)&&U)},(0,r.h)("div",{class:j,onClick:()=>this.handleClose(i)}),(0,r.h)(V.A,{class:W,trigger:()=>this.handleClose(i)},(0,r.h)(F.A,{type:t&&!this.state.isClosing?"close":"burger",hubTextOverlayOpen:!0})),(0,r.h)("div",{class:j,onClick:i}),(0,r.h)(h.A,{class:z,markdown:!0,content:e}))}}const Y={row:"buttons__row__Z2Fev",btn:"buttons__btn__LifWM",btnCopy:"buttons__btnCopy___bzUi",icon:"buttons__icon__f4Nud",heroRow:"buttons__heroRow__C0pf4"};class X extends r.uA{componentDidMount(){this.iframe=document.querySelector("iframe"),this.buttonSrc=this.iframe?.src}onLinkClick(){}triggerAction(e,t,i,n,r,s){const{isHero:a}=this.props;if(a&&o.A.emit("HUB_HERO_ENGAGEMENT_CTA_CLICKED",{buttonLabel:t,destination:e}),r)this.toggleTextOverlay(!0,`button-${s}`);else if("scrollTop"===e)(0,c.BD)(document.getElementById("mainScroll"),0,300);else if(n)o.A.emit("ENABLE_TRAILER_OVERLAY",n);else{const i=document.getElementById("mainScroll"),n="logo"===t.toLowerCase();let r=o.A.get();if("/"===r.activePage?.path&&n)return(0,c.BD)(i,0,300);const{query:s,path:a}=(0,l.l4)(e);(0,l.OU)(a,{queryString:s,instant:!1})}}toggleTextOverlay(e,t){this.setState({[`textOverlay-${t}-show`]:e}),this.iframe&&(this.iframe.src=e?this.buttonSrc:""),o.A.emit("CAROUSEL_TEXT_OVERLAY_SHOW",e?this.props.carouselId:null)}renderTextOverlay(e,t){if(!e)return;const i=this.state[`textOverlay-${t}-show`];return(0,r.h)(K,{content:e,show:i,closeOverlay:()=>this.toggleTextOverlay(!1,t)})}renderBtn(e,t){const i=(0,l.sD)(),n=o.A.get()||{},a=n?.appData?.copy?.baseCopy||{};let c,d;e.mimicPersistentBtn&&i?(c=a.$GET_TICKETS,d="boltShowtimes"):e.mimicPersistentBtn&&!i&&(c=a.$CALENDAR_REMINDER_BTN_COPY,d="@calendarreminder");let h=[(0,r.h)("span",{class:(0,s.XS)(Y.btnCopy,"largeB")},c||(0,M.u)(e.btnCopy)||e.btnCopy),e.icon&&(0,r.h)("img",{class:Y.icon,src:e.icon,alt:""})];return/^(https?|mailto):/.test(d||e.link)?(0,r.h)("a",{class:Y.btn,href:e.link,target:e.sameWindow?"_self":"_blank",ariaLabel:(0,M.u)(e.btnCopy)||e.btnCopy,onClick:()=>this.onLinkClick(e),rel:"noopener noreferrer"},h):(0,r.h)(V.A,{class:Y.btn,trigger:()=>this.triggerAction(d||e.link,c||e.btnCopy,e.sameWindow,e.videoOverlay?.video,e.textOverlay?.content,t),ariaLabel:c||(0,M.u)(e.btnCopy)||e.btnCopy},h)}componentWillUnmount(){clearTimeout(this.goToTimeout)}render({data:e,isHero:t,clientDimensions:i,buttonType:n}){let o=(0,s.fz)(e),a=2;return t&&i.width>=768&&(a=3),o=o.slice(0,a),(0,r.h)("div",{class:!this.props.heroButtons&&(0,s.XS)(Y.row,Y[n],t&&Y.heroRow)},o.length>0&&o.map(((e,t)=>this.renderBtn(e,t))),o.length>0&&o.map(((e,t)=>this.renderTextOverlay(e?.textOverlay?.content,`button-${t}`))))}}var q=i(383);const Z="video__vid__EXpxn";class Q extends r.uA{constructor(e){super(e),this.playVideo=this.playVideo.bind(this)}componentDidMount(){this.playVideo()}componentDidUpdate(e){const t=this.props.hubActivePercentage;t!==e.hubActivePercentage&&(t<=.5&&!this.$video.paused&&this.$video.pause(),t>=.5&&this.$video.paused&&this.$video.play()),this.props.isTileVideo&&this.$video.paused&&this.playVideo()}playVideo(){this.$video&&(this.props.hubActivePercentage>=.5||this.props.isTileVideo)&&this.$video.play().catch(this.props.onError)}render(e){const{src:t,ariaLabel:i,onError:n,preloadImg:o,fallbackFormat:s,onPlay:a,onProgress:l,autoplay:c=!0}=e;return(0,r.h)("video",{ref:e=>this.$video=e,src:t,onError:n,onPlay:a,onProgress:l,autoplay:c,muted:!0,loop:!0,playsinline:!0,key:t,class:Z,ariaLabel:i,poster:q.$?o:o.replace(/\.[^.]*$/,s)},t.endsWith(".webm")&&(0,r.h)("source",{src:t,type:"video/webm"}),(0,r.h)("source",{src:t.replace(/\.[^.]*$/,".mp4"),type:"video/mp4"}))}}var J=i(9225),ee=i(7081);const te="hero__container__laPIc",ie="hero__visible__hEXr6",ne="hero__hide__d6BU2",re="hero__scrollFade__Kc7zy",oe="hero__background__ncail",se="hero__details__eR8Z_",ae="hero__smallImage__BcVUc",le="hero__title__dZJAr",ce="hero__teaser__clpo5";
2class de extends r.uA{constructor(e){super(e),this.switchToFallbackImg=this.switchToFallbackImg.bind(this),this.state={shouldUseFallbackImg:!1}}switchToFallbackImg(){this.setState({shouldUseFallbackImg:!0})}getBgValue(e){const t=this.props.data.bg;if(!t||!t.desktop&&!t.tablet&&!t.mobile)return;let i=t.desktop[e];return(t.tablet[e]||t.mobile[e])&&(i={desktop:t.desktop[e],tablet:t.tablet[e],mobile:t.mobile[e]}),(0,l.xO)(i)}render({data:e,clientDimensions:t,fallbackFormat:i}){if(!e)return;const n=this.getBgValue("asset");if(!n)return"";const{smallImage:o,teaser:a,buttons:l}=e,{shouldUseFallbackImg:c}=this.state,d=this.getBgValue("fallbackImg"),p=this.getBgValue("bgPosition")||"center",u=this.getBgValue("preLoadImg"),g=/\.(mp4|webm)$/.test(n),f=(0,s.wh)(this.props.store,"hubActivePercentage",""),m=(0,J.hs)(f,.8,.6,0,.6,!0),{visible:y,hide:_}=this.props,v=e.anchor||"top",b={backgroundImage:ee.AH(n,i),backgroundSize:"cover",backgroundPosition:p};let w,A;c&&(b.backgroundPosition=p,b.backgroundImage=ee.AH(d,i));const k=(0,M.u)(e.title)||e.title;return k&&(w=encodeURIComponent(k).split("%0A").map((e=>decodeURIComponent(e))),A=w.join("")),(0,r.h)("div",{class:(0,s.XS)(te,y&&ie,_&&ne),"data-attribute":"boltHubPageHero","data-hash-wrapper":e.anchor||"top",id:v},(0,r.h)("div",{class:re,style:{opacity:m}}),g&&(0,r.h)(Q,{autoplay:!1,opacity:m,src:n,onError:this.switchToFallbackImg,preloadImg:u,fallbackFormat:i,hubActivePercentage:f}),(!g||c)&&(0,r.h)("div",{class:oe,style:(!g||c)&&b}),(0,r.h)("div",{class:se,style:{opacity:f<=.5?0:1,transform:f>=.5?"translateX(-50%)":"translateX(100%)"}},o&&(0,r.h)(ee.VI,{class:ae,src:o,alt:"",fallbackFormat:i}),w&&(0,r.h)("h4",{class:(0,s.XS)(le,"h4")},w.map((e=>e+"\n"))),(0,r.h)("span",{class:(0,s.XS)(ce,"xlarge")},(0,r.h)(h.A,{markdown:!0},(0,M.u)(a)||a)),(0,r.h)(X,{heroButtons:!0,isHero:!0,data:l,clientDimensions:t,filmTitle:A})))}}const he="tile__tile__aevgw",pe="tile__asset__XKgT9",ue="tile__hide__aoL4A",ge="tile__clickable__zPeZT",fe="tile__isVertical__PY0Yy",me="tile__tileTag__KFoKy",ye="tile__tileTagSlant__q_D2u",_e="tile__details__MZG3Y",ve="tile__teaser__ohzFW";class be extends r.uA{constructor(e){super(e),this.signalVideoPlaying=this.signalVideoPlaying.bind(this),this.onVideoProgress=this.onVideoProgress.bind(this),this.switchToFallbackImg=this.switchToFallbackImg.bind(this),this.onTileClick=this.onTileClick.bind(this),this.updateTileWidthToAssetHeight=this.updateTileWidthToAssetHeight.bind(this),this.state={shouldUseFallbackImg:!1}}componentDidMount(){this.$video?.paused&&this.$video?.play(),this.props.verticalLayout&&(this.updateTileWidthToAssetHeight(),window.addEventListener("resize",this.updateTileWidthToAssetHeight))}componentWillUnmount(){this.props.verticalLayout&&window.removeEventListener("resize",this.updateTileWidthToAssetHeight)}updateTileWidthToAssetHeight(){if(!this.asset)return;const e=this.asset.offsetHeight,t=this.asset.style.backgroundImage?.slice(5,-2);if(!t)return;const i=new Image;i.onload=()=>{const t=i.naturalWidth,n=i.naturalHeight;if(t&&n){let i=e*(t/n);this.setState({tileWidth:i})}},i.src=t}switchToFallbackImg(){this.setState({shouldUseFallbackImg:!0})}signalVideoPlaying(){this.setState({videoPlaying:!0})}onVideoProgress(){this.state.videoPlaying||this.setState({videoPlaying:!0})}onTileClick(e,t,i,n){if(n)return;const r=this.props.data?.path,s=this.props.data?.sameWindow,a=this.props.data?.textOverlay?.content,c=this.props.data?.videoOverlay;if(this.buttons?.base?.contains(e.target)||o.A.emit("HUB_CAROUSEL_ENGAGEMENT_TILE_CLICKED",{carouselTitle:t,tileTitle:i,destination:r}),this.buttons?.base?.contains(e.target)&&o.A.emit("HUB_CAROUSEL_ENGAGEMENT_CTA_CLICKED",{carouselTitle:t,tileTitle:i,buttonLabel:e.target.innerHTML,destination:r}),!(!r&&!a&&!c||!this.tile.contains(e.target)||this.buttons?.base?.contains(e.target)||e.target?.className?.includes&&e.target.className.includes("hubTextOverlay")))if(a)this.toggleTextOverlay(!0);else if(c)o.A.emit("ENABLE_TRAILER_OVERLAY",c.video);else if(r.startsWith("http")||r.startsWith("mailto:")){let e=document.createElement("a");e.href=r,e.target=s?"_self":"_blank",e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)}else{const{query:e,path:t}=(0,l.l4)(r);(0,l.OU)(t,{queryString:e})}}toggleTextOverlay(e){this.setState({textOverlayOpen:e}),o.A.emit("CAROUSEL_TEXT_OVERLAY_SHOW",e?this.props.carouselId:null)}renderTextOverlay(e){if(!e)return;const t=this.state.textOverlayOpen;return(0,r.h)(K,{content:e,show:t,closeOverlay:()=>this.toggleTextOverlay(!1)})}render({data:e,id:t,carouselHeader:i,carouselTitle:n,useTileSlantyTag:a,fallbackFormat:l,dragging:c}){if(!e)return;const{asset:d,mobileAsset:p,tag:u,title:g,fallbackAsset:f,teaser:m,buttons:y,altText:_,path:v,videoOverlay:b,textOverlay:w}=e,{shouldUseFallbackImg:A}=this.state,k=/\.(mp4|webm)$/.test(d),S=w?.content,E=o.A.get().client?.dimensions?.width<1024,C=this.props.verticalLayout,T={backgroundImage:E&&p?ee.AH(p,l):ee.AH(d,l),backgroundSize:C?"contain":"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"};A&&(T.backgroundImage=ee.AH(f,l));const O=k&&!this.state.videoPlaying&&!f;return(0,r.h)("div",{class:(0,s.XS)(he,C&&fe),id:t,onClick:e=>this.onTileClick(e,n,g,c),ref:e=>this.tile=e,style:C&&this.state.tileWidth?{width:`${this.state.tileWidth}px`}:{}},(0,r.h)("div",{class:(0,s.XS)(pe,O&&ue,(v||b?.video||w?.content)&&ge),style:(!k||A)&&T,ref:e=>this.asset=e},(!k||A)&&(0,r.h)("span",{role:"img",ariaLabel:_}),k&&(0,r.h)(Q,{ref:e=>
2this.$video=e?.base,src:d,onError:this.switchToFallbackImg,preloadImg:f,fallbackFormat:l,onPlay:this.signalVideoPlaying,onProgress:this.onVideoProgress,isTileVideo:!0,ariaLabel:_}),u&&(0,r.h)("div",{class:(0,s.XS)(me,a&&ye,"smallB")},(0,r.h)("span",null,u))),(0,r.h)("div",{class:(0,s.XS)(_e,v&&ge)},(0,r.h)("h4",{class:"h4"},g),(0,r.h)(h.A,{tag:"span",markdown:!0,class:(0,s.XS)(ve,"small")},m),(0,r.h)(X,{ref:e=>this.buttons=e,data:y,filmTitle:g,carouselTitle:n,carouselHeader:i,tileId:t,carouselId:this.props.carouselId,buttonType:"tile"})),S&&this.renderTextOverlay(S))}}var we=i(6146);const Ae="carousel__container__aVW7t",ke="carousel__containerOddBgColor__chXFV",Se="carousel__hasTextOverlayOpen__FgpYz",Ee="carousel__header__SPxJA",Ce="carousel__tags__uJW0c",Te="carousel__arrows__LB8XQ",Oe="carousel__left__l8kr9",Ie="carousel__right__bYKRG",Le="carousel__inactive__NGyQk",De="carousel__sideScroller__DSQod",xe="carousel__carousel__efs5Y";class Pe extends r.uA{constructor(e){super(e),this.onDragStart=this.onDragStart.bind(this),this.onDragMove=this.onDragMove.bind(this),this.onDragEnd=this.onDragEnd.bind(this),this.onSideScroll=this.onSideScroll.bind(this),this.state={scrollStart:!0,scrollEnd:!1,dragging:!1,dragDistance:0,currentTileIndex:0}}componentDidMount(){window.addEventListener("mouseup",this.onDragEnd)}componentWillUnmount(){window.removeEventListener("mouseup",this.onDragEnd)}onDragStart(e){e.preventDefault(),this.setState({dragging:!0}),this.mousePosX=e.clientX}onDragMove(e){this.state.dragging&&(this.setState({dragDistance:this.state.dragDistance+1}),e.preventDefault(),this.$sideScroller.scrollLeft=this.$sideScroller.scrollLeft+(this.mousePosX-e.clientX),this.mousePosX=e.clientX)}onDragEnd(){setTimeout((()=>{this.setState({dragging:!1,dragDistance:0})}),50)}componentDidUpdate(e){this.props.clientDimensions.width!==e.clientDimensions.width&&this.updateScrollPosition()}updateScrollPosition(){this.$sideScroller.scrollLeft<=0?this.setState({scrollStart:!0}):Math.ceil(this.$sideScroller.scrollLeft)>=this.carousel.clientWidth-this.props.clientDimensions.width?this.setState({scrollEnd:!0}):(this.state.scrollStart||this.state.scrollEnd)&&this.setState({scrollStart:!1,scrollEnd:!1})}updateCurrentTileIndex(){const{data:e}=this.props,t=document.getElementById(`${e.anchor}-0`),{left:i,width:n}=t.getBoundingClientRect(),r=Math.abs(Math.round(i/n));this.setState({currentTileIndex:r})}onSideScroll(){this.updateScrollPosition(),this.updateCurrentTileIndex()}handleArrowClick(e,t,i,n){n&&n.preventDefault();const{scrollStart:r,scrollEnd:s,currentTileIndex:a}=this.state,{data:l,clientDimensions:d}=this.props;if(!("prev"===e&&r||"next"===e&&s)){if("prev"===e)if(0===a)(0,c.BD)(this.$sideScroller,0,300,{direction:"hor"});else{let e=document.getElementById(`${l.anchor}-${a-1}`);const t=o.A.get().client?.dimensions?.width>1280,n=Math.floor((this.$sideScroller.scrollLeft-(t?70:30))/(e.getBoundingClientRect().width+(t?40:20)));a>=n&&(e=document.getElementById(`${l.anchor}-${n}`)),(0,c.BD)(this.$sideScroller,e,300,{direction:"hor",offset:i})}if("next"===e)if(a>=t-1){const e=this.carousel.clientWidth-d.width;(0,c.BD)(this.$sideScroller,e,300,{direction:"hor"})}else{const e=document.getElementById(`${l.anchor}-${a+1}`);(0,c.BD)(this.$sideScroller,e,300,{direction:"hor",offset:i})}}}render({data:e,index:t,clientDimensions:i,useTileSlantyTag:n,fallbackFormat:a}){if(!e)return;const c=t%2==1,d=e.tag,p=(0,s.fz)(e.tiles),{scrollStart:u,scrollEnd:g}=this.state,f=this.carousel&&window.getComputedStyle(this.carousel),m=f&&f.getPropertyValue("padding-right").replace(/px/,""),y=this.carousel&&i.width<this.carousel.clientWidth-m,_=e.anchor||"top",v=e.anchor||e.heading||"top",b=o.A.get()?.hub?.carouselWithTextOverlayOpen===v;return(0,r.h)("div",{class:(0,s.XS)(Ae,c&&ke,b&&Se),"data-hash-wrapper":_,id:v},(0,r.h)("div",{class:(0,s.XS)(Ee)},(0,r.h)("h3",{class:"h3"},e.heading),y&&(0,r.h)("div",{class:Te},(0,r.h)(we.A,{class:(0,s.XS)(Oe,u&&Le),onClick:()=>this.handleArrowClick("prev",p.length,m),onTouchEnd:e=>this.handleArrowClick("prev",p.length,m,e)}),(0,r.h)(we.A,{class:(0,s.XS)(Ie,g&&Le),onClick:()=>this.handleArrowClick("next",p.length,m),onTouchEnd:e=>this.handleArrowClick("next",p.length,m,e)})),d&&(0,r.h)("div",{class:(0,s.XS)(Ce,"mediumB")}," ",d.toUpperCase())),e.subheading&&(0,r.h)(h.A,{tag:"h4",markdown:!0,content:e.subheading,class:(0,s.XS)("subheading"),onClickCapture:l.$s}),(0,r.h)("div",{class:De,ref:e=>this.$sideScroller=e,onMouseDown:this.onDragStart,onMouseMove:this.onDragMove,onScroll:this.onSideScroll},(0,r.h)("div",{class:xe,ref:e=>this.carousel=e},!!p.length&&p.map(((t,i)=>(0,r.h)(be,{key:i,carouselTitle:_,id:`${_}-${i}`,data:t,carouselHeader:e.heading,useTileSlantyTag:n,fallbackFormat:a,carouselId:v,isHubCarousel:this.props.isHubCarousel,dragging:this.state.dragDistance>10,verticalLayout:e.verticalLayout||!1}))))))}}const Re="sideButton__sideButtonContainer__dIyCu",Ne="sideButton__visible__U_Dnb",Me="sideButton__link__CaBth",Be="sideButton__label__QHjKe",He="sideButton__icon__nDkw_";class $e extends r.uA{constructor(e){super(e),this.state={visible:!1}}componentDidMount(){this.delaySideButton=setTimeout((()=>{this.setState({visible:!0})}),300)}componentWillUnmount(){window.clearTimeout(this.delaySideButton)}render(){const{data:e}=this.props,{icon:t,label:i,link:n,invertColor:o}=e,{visible:a}=this.state,l={filter:o?"invert(1)":""};return(0,r.h)("div",{class:(0,s.XS)(Re,a&&Ne)},(0,r.h)("a",{class:Me,href:n,target:"_blank"},(0,r.h)("span",{class:(0,s.XS)(Be,"xlargeB")},i),(0,r.h)("img",{style:l,class:He,src:t})))}}const Ve={wrapper:"heroCarousel__wrapper__rH4sQ",clickable:"heroCarousel__clickable__dz7XB",visible:"heroCarousel__visible__y3T2J",container:"heroCarousel__container__krSmJ",scrollFade:"heroCarousel__scrollFade___6Rbk",controls:"heroCarousel__controls__GKCzQ",disabled:"heroCarousel__disabled__l5VCA",button:"heroCarousel__button__lEGSZ",right:"heroCarousel__right__RmtB4",video:"heroCarousel__video__U3_DS",buttonsContainer:"heroCarousel__buttonsContainer__woAE_",slide:"heroCarousel__slide__d38MJ",gradient:"heroCarousel__gradient__JedE9",ctas:"heroCarousel__ctas__EtYoy",cta:"heroCarousel__cta__W2fha",icon:"heroCarousel__icon__V2v67",tickets:"heroCarousel__tickets__Ih6I3",has3OrMoreButtons:"heroCarousel__has3OrMoreButtons__yW1lL",content:"heroCarousel__content__YCyKv",tt:"heroCarousel__tt__ngEoB",t
2itle:"heroCarousel__title__epzDL",subtitle:"heroCarousel__subtitle__tbi5w",noTitle:"heroCarousel__noTitle__tFnoK",description:"heroCarousel__description__VsmS_",logos:"heroCarousel__logos__Ypo3X",logo:"heroCarousel__logo__IhRIi",breadcrumbs:"heroCarousel__breadcrumbs__Zi0kW",crumb:"heroCarousel__crumb__aDMfm",active:"heroCarousel__active__t51yN"};var Fe=i(218);class Ge extends r.uA{constructor(e){super(e),this.state={activeIndex:0,transitioning:!1};const t=this.props.data?.content||{};this.slides=(0,s.fz)(t),this.slideRefs={},this.startIterating=this.startIterating.bind(this),this.handleTrailerToggle=this.handleTrailerToggle.bind(this),this.renderButtons=this.renderButtons.bind(this),this.renderButton=this.renderButton.bind(this),this.iterate=this.iterate.bind(this),this.handleTouchStart=this.handleTouchStart.bind(this),this.handleTouchEnd=this.handleTouchEnd.bind(this),this.handleTouchMove=this.handleTouchMove.bind(this)}componentDidMount(){this.startIterating(),o.A.on("TOGGLE_TRAILER_OVERLAY",this.handleTrailerToggle)}componentWillReceiveProps(e){if(this.props.data!==e.data){const t=e.data?.content||{};this.slides=(0,s.fz)(t)}}componentDidUpdate(e,t){const i=t.activeIndex,n=this.state.activeIndex;if(i!==n){const e=this.slideRefs[`slide${i}`]?.contains(document.activeElement);e&&this.slideRefs[`slide${n}`]?.querySelector("button")?.focus()}}componentWillUnmount(){clearTimeout(this.transitioningTimeout),clearTimeout(this.nextTimeout),o.A.off("TOGGLE_TRAILER_OVERLAY",this.handleTrailerToggle)}handleTouchStart(e){this.xDown=e.touches[0].clientX,this.yDown=e.touches[0].clientY}handleTouchEnd(){this.direction=null}handleTouchMove(e){this.xMove=e.touches[0].clientX,this.yMove=e.touches[0].clientY;const t=this.yMove-this.yDown,i=this.xMove-this.xDown,n=i/t,r=i>0?-1:1;(n>1||n<-1)&&(e.preventDefault(),this.direction&&r===this.direction||(this.iterate(r),this.direction=r))}handleTrailerToggle(e){e?clearTimeout(this.nextTimeout):this.startIterating()}startIterating(){const{interval:e=this.defaultInterval||7e3}=this.props;clearTimeout(this.nextTimeout),this.nextTimeout=setTimeout((()=>{this.iterate(1)}),e)}iterate(e,t){const{activeIndex:i}=this.state;let n=void 0!==t?t:i+e;n<0?n=this.slides.length-1:n===this.slides.length&&(n=0),this.setState({activeIndex:n,transitioning:!0}),this.transitioningTimeout=setTimeout((()=>{this.setState({transitioning:!1})}),1200),this.startIterating()}trackHeroClick(e,t,i){o.A.emit("HUB_HERO_CAROUSEL_ENGAGEMENT_CTA_CLICKED",{tileTitle:e,buttonLabel:t,destination:i})}onSlideClick({target:e},t,i,n,r,s,a,c){if(this.buttons?.contains(e)||o.A.emit("HUB_HERO_CAROUSEL_ENGAGEMENT_TILE_CLICKED",{tileTitle:n,destination:i}),this.state.hasTextOverlayOpen||e?.className?.includes&&e.className.includes("hubTextOverlay"))return;if(this.slideRefs[`slide${t}`].contains(e)&&this.buttons&&!this.buttons.contains(e)){if(r&&s)return void this.toggleTextOverlay(!0,s);if(a)return o.A.emit("ENABLE_TRAILER_OVERLAY",a.video);if(i)if(i.startsWith("http")||i.startsWith("mailto:")){let e=document.createElement("a");e.href=i,e.target="_blank",e.style.display="none",c&&(e.target="_self"),document.body.appendChild(e),e.click(),document.body.removeChild(e)}else{const{path:e,query:t}=(0,l.l4)(i);(0,l.OU)(e,{queryString:t})}}}toggleTextOverlay(e,t){e?clearTimeout(this.nextTimeout):this.startIterating(),this.setState({hasTextOverlayOpen:e,[`textOverlay-${t}-show`]:e})}renderTextOverlay(e,t){if(!e)return;const i=this.state[`textOverlay-${t}-show`];return(0,r.h)(K,{content:e,show:i,closeOverlay:()=>this.toggleTextOverlay(!1,t)})}renderBackgrounds(){const e=(0,s.wh)(this.props,"client.isDesktopSize",!1)?"desktop":"mobile",t=(0,s.wh)(this.props,"client.deviceSize","desktop"),{activeIndex:i}=this.state,n=this.slides[i],o=n?.background?.[e]||n?.background?.desktop||n?.background?.mobile||"",a=o.endsWith(".mp4")||o.endsWith(".webm"),l=n?.background?.backgroundAlignment||"center",c=n?.background?.height||{},d=c?.[t]??"",h=(0,s.wh)(this.props,"appData.heroCarousel.hasGradient",!1),p=n?.sameWindow||!1,u=n?.textOverlay?.content,g=`slide${i}`,f=n?.videoOverlay;return(0,r.h)(Fe.A,{duration:800,class:Ve.transitionClass},(0,r.h)("div",{class:(0,s.XS)(Ve.slide,Ve[n?.id],n?.dark&&Ve.dark,n?.path&&Ve.clickable),id:`slide${i}`,onClick:e=>this.onSlideClick(e,i,n?.path,n?.title,u,g,f,p),ref:e=>this.slideRefs[`slide${i}`]=e,style:{height:d}}
2,!!o&&!a&&(0,r.h)("img",{src:o,alt:n?.background?.alt,style:{objectPosition:l}}),!!o&&a&&(0,r.h)("video",{class:Ve.video,src:o,style:{objectPosition:l},autoplay:!0,loop:!0,muted:!0,playsinline:!0}),h&&(0,r.h)("div",{class:Ve.gradient}),this.renderContent(n),u&&this.renderTextOverlay(u,g)))}renderContent(e){if(!e)return;const t="desktop"===(0,s.wh)(this.props,"client.deviceSize","mobile")?"desktop":"mobile",i=(0,s.fz)(e.logos),{activeIndex:n}=this.state,o=this.slides[n],a=this.props.store?.hubActivePercentage||0;return(0,r.h)("div",{class:Ve.content,style:{opacity:a<=.5?0:1,transform:a>=.5?"translateX(0)":"translateX(100%)"}},e.tt&&(0,r.h)("img",{class:Ve.tt,src:e.tt[t],alt:e.tt.alt}),(0,r.h)(h.A,{tag:"div",class:Ve.title,markdown:!0},e?.title),e?.subtitle&&(0,r.h)(h.A,{tag:"div",class:Ve.subtitle,markdown:!0},e?.subtitle),(0,r.h)(h.A,{tag:"div",class:(0,s.XS)(Ve.description,!e?.title&&Ve.noTitle),markdown:!0},e?.description),(0,r.h)("div",{class:Ve.logos},i.map((e=>(0,r.h)("img",{class:Ve.logo,src:e.src,alt:e.alt})))),o.buttons&&this.renderButtons(o.buttons,o,n))}renderBreadcrumbs(){if(this.slides.length<=1)return;let{activeIndex:e}=this.state;const t=this.slides[e]?.darkCrumbs||this.slides[e]?.dark;return(0,r.h)("div",{class:Ve.breadcrumbs},this.slides.map(((i,n)=>(0,r.h)("button",{class:(0,s.XS)(Ve.crumb,e===n&&Ve.active,t&&Ve.dark),onClick:()=>this.iterate(null,n)}))))}renderButton(e,t,i,n,a){const c=(0,l.sD)(),d=o.A.get()||{},h=d?.appData?.copy?.baseCopy||{};let p,u;e.mimicPersistentBtn&&c?(p=h.$GET_TICKETS,u="boltShowtimes"):e.mimicPersistentBtn&&!c&&(p=h.$CALENDAR_REMINDER_BTN_COPY,u="@calendarreminder");const g=u||e.link||"",f=e.textOverlay?.content,m="mobile"===(0,s.wh)(this.props,"client.deviceSize","mobile"),y=p||h[e.label]||e.label||h[e.btnCopy]||e.btnCopy||"";return g.startsWith("http")?(0,r.h)("a",{href:g,target:e.sameWindow?"_self":"_blank",class:(0,s.XS)(Ve.cta,Ve.watch),onClick:()=>this.trackHeroClick(t,y,g)},y):(0,r.h)("button",{class:(0,s.XS)(Ve.cta,Ve.watch,a&&m&&Ve.has3OrMoreButtons),onClick:()=>{const r=u||e.pageId||g;let s=f?"text overlay":e.videoOverlay?.video?"video overlay":r;if(this.trackHeroClick(t,e.label,s),f){const e=`slide${i}-button${n}`;this.toggleTextOverlay(!0,e)}else{if(e.videoOverlay?.video)return o.A.emit("ENABLE_TRAILER_OVERLAY",e.videoOverlay.video);if(r){const{path:e,query:t}=(0,l.l4)(r);(0,l.OU)(e,{queryString:t,instant:!1})}}}},y)}renderButtons(e,t,i){const n=(0,s.fz)(e),o=n.length>=3,a=n.map(((e,n)=>this.renderButton(e,t.title,i,n,o))),l=n.map(((e,t)=>this.renderTextOverlay(e.textOverlay?.content,`slide${i}-button${t}`))).filter((e=>e));return(0,r.h)("div",{className:Ve.ctas,ref:e=>this.buttons=e},a,l?.length>0&&l)}render(){const{activeIndex:e}=this.state,t=this.slides[e],{visible:i,hide:n}=this.props,o=this.props.store?.hubActivePercentage??1,a=(0,J.hs)(o,.8,.6,0,.6,!0);return(0,r.h)("div",{class:(0,s.XS)(Ve.wrapper,(t?.path||t?.videoOverlay||t?.textOverlay)&&Ve.clickable,i&&Ve.visible,n&&Ve.hide),"data-attribute":"boltHubPageCarouselHero","data-hash-wrapper":this.props.data?.anchor||"top",id:this.props.data?.anchor||"top",onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},(0,r.h)("div",{class:Ve.scrollFade,style:{opacity:a}}),(0,r.h)("div",{class:Ve.container},this.renderBackgrounds(),this.renderBreadcrumbs()))}}class Ue extends Ge{async componentDidMount(){super.componentDidMount?.();const{appData:e}=o.A.get();if(e?.options?.cmsManaged){if("projectHighlights"===o.A.get().activePage)await this.loadCustomData(await(0,R.Ws)("project-highlights"))}}async loadCustomData(e){if(!e)return;const{appData:t}=o.A.get();t?.options?.cmsManaged&&e&&(this.dynamicData={slides:e?.hero.map(((e,t)=>({title:e?.title,description:e?.description,background:{desktop:e?.img,mobile:e?.mobileImg,alt:e?.alt},path:e?.link,buttons:e?.buttons?.map(((e,t)=>({label:e?.label,link:e?.link})))})))||[]},this.slides=(0,s.fz)(this.dynamicData.slides))}}var je=i(5830),ze=i(489);o.A.on("UPDATE_HUB_ACTIVE_PERCENTAGE",(()=>{let e=document.querySelector("[data-attribute=boltHubPageHero]")||document.querySelector("[data-attribute=boltHubPageCarouselHero]"),t=(0,je.a8)(e),i=o.A.get();if(void 0===t)return i.set({hubActivePercentage:1});i.set({hubActivePercentage:t})})),o.A.on("UPDATE_VISIBILITY_PERCENTAGES",(()=>o.A.emit("UPDATE_HUB_ACTIVE_PERCENTAGE"))),o.A.on("HUB_TEXT_OVERLAY_SHOW",(e=>{o.A.get().header.set({hubTextOverlayOpen:e})})),o.A.on("CAROUSEL_TEXT_OVERLAY_SHOW",(e=>{o.A.get().hub.set({carouselWithTextOverlayOpen:e})})),o.A.on("HUB_HERO_ENGAGEMENT_TILE_CLICKED",(({tileTitle:e,destination:t})=>(0,ze.hg)("hubHeroEngagementTileClicked",(0,ze.UN)({tileTitle:e,destination:t})))),o.A.on("HUB_HERO_ENGAGEMENT_CTA_CLICKED",(({buttonLabel:e,destination:t})=>(0,ze.hg)("hubHeroEngagementCTAClicked",(0,ze.UN)({buttonLabel:e,destination:t})))),o.A.on("HUB_HERO_CAROUSEL_ENGAGEMENT_TILE_CLICKED",(({tileTitle:e,destination:t})=>(0,ze.hg)("hubHeroCarouselEngagementTileClicked",(0,ze.UN)({tileTitle:e,destination:t})))),o.A.on("HUB_HERO_CAROUSEL_ENGAGEMENT_CTA_CLICKED",(({tileTitle:e,buttonLabel:t,destination:i})=>(0,ze.hg)("hubHeroCarouselEngagementCTAClicked",(0,ze.UN)({tileTitle:e,buttonLabel:t,destination:i})))),o.A.on("HUB_CAROUSEL_ENGAGEMENT_TILE_CLICKED",(({carouselTitle:e,tileTitle:t,destination:i})=>(0,ze.hg)("hubCarouselEngagementTileClicked",(0,ze.UN)({carouselTitle:e,tileTitle:t,destination:i})))),o.A.on("HUB_CAROUSEL_ENGAGEMENT_CTA_CLICKED",(({carouselTitle:e,tileTitle:t,buttonLabel:i,destination:n})=>(0,ze.hg)("hubCarouselEngagementCTAClicked",(0,ze.UN)({carouselTitle:e,tileTitle:t,buttonLabel:i,destination:n}))));class We extends r.uA{constructor(e){super(e),this.onResize=this.onResize.bind(this),this.onScroll=this.onScroll.bind(this),this.goToHash=this.goToHash.bind(this),this.scrollToTheElem=this.scrollToTheElem.bind(this);
2const t=e.store?.appData?.pages?.[e.id];this.isSection=!!t?.section,this.autoUpdateUrl=t?.data?.autoUpdateUrl,this.heroCarousel=t?.data?.heroCarousel,this.carousels=(0,s.fz)(t?.data?.carousels)}componentDidMount(){o.A.emit("UPDATE_HUB_ACTIVE_PERCENTAGE"),this.isSection||(this.goToHash(),window.setTimeout((()=>{document.getElementById("mainScroll").addEventListener("scroll",this.onScroll)}),0)),this.autoUpdateUrl&&!this.isSection&&(window.addEventListener("resize",this.onResize),this.recalculateElementsPositions());const e=document.getElementById("mainScroll");e&&(e.setAttribute("tabindex",-1),e.focus())}componentWillUnmount(){o.A.off("HUB_CAROUSEL_CLICK"),window.removeEventListener("resize",this.onResize),document.getElementById("mainScroll")?.removeEventListener("scroll",this.onScroll)}onResize(){this.recalculateElementsPositions(),this.checkActiveElement()}onScroll(){this.checkActiveElement()}recalculateElementsPositions(){this.base&&this.autoUpdateUrl&&(this.parentTop=this.base.offsetTop,this.elements=[...this.base.children].filter((e=>e.id)).map((e=>({url:"top"===e.id?"":"#"+e.id,position:e.offsetTop+.5*e.offsetHeight+this.parentTop}))))}goToHash(){const e=location.hash.slice(1);let t=document.getElementById(e||"top");t&&(this.scrollToTheElem(t),this.autoUpdateUrl||history.replaceState(null,"",""))}scrollToTheElem(e){const t=(0,s.wh)(this.props.store,"client.headerHeight",(0,l.vF)());let i=document.getElementById("mainScroll");window.setTimeout((()=>{(0,c.BD)(i,e,0,{offset:t})}),0)}checkActiveElement(){if(!this.elements||!this.autoUpdateUrl)return;const e=document.getElementById("mainScroll");let t=this.parentTop+e.scrollTop+.5*(window.innerHeight-this.parentTop),i=this.elements.map((e=>({...e,dist:Math.abs(e.position-t)}))).sort(((e,t)=>e.dist-t.dist))[0],n=i?.url;if(!i||this.currentPath&&this.currentPath===n)return;this.currentPath=n;let r=new URL(n||"#",location.href);n||(r.hash=""),location.href!==r&&history.replaceState(null,"",r.href)}renderBottom(){}render({store:e,id:t}){const i=(0,s.wh)(e,`appData.pages.${t}.section`,""),n=(0,s.wh)(e,"client.dimensions",{}),o=(0,s.wh)(e,`appData.pages.${t}.data.hero`,""),a=(0,s.wh)(e,`appData.pages.${t}.data.alternativeImageFormat`,"jpg"),l=(0,s.wh)(e,`appData.pages.${t}.data.sideButton`,""),c=(0,s.wh)(e,"appData.options.carouselTilesUseSlantyTags",!1),d=(0,s.wh)(e,"header.powsterHeader.desktopSolidHeader",!1),h=(0,s.wh)(e,"client.headerHeight",""),p=(0,s.wh)(e,"hubActivePercentage",1),u=(0,s.wh)(e,`appData.pages.${t}.data`,{}),g=(0,s.wh)(e,"client","");return(0,r.h)("div",{style:{marginTop:!i&&d?h:""},"data-section":t},this.heroCarousel?(0,r.h)(Ue,{appData:u,data:this.heroCarousel,client:g,visible:p>=.15,store:e}):(0,r.h)(de,{data:o,clientDimensions:n,fallbackFormat:a,visible:p>=.15,hide:p<.15,store:e}),this.carousels.map(((e,t)=>(0,r.h)(Pe,{data:e,index:t,clientDimensions:n,useTileSlantyTag:c,key:t,fallbackFormat:a,isHubCarousel:!0}))),l&&(0,r.h)($e,{data:l}),this.renderBottom())}}var Ke=i(1128),Ye=i(4180),Xe=(i(3552),i(8471)),qe=i(2037),Ze=i(8881),Qe=i(9863),Je=i(9570);let et=(0,Ze.A)(new Date,"yyyy-MM-dd");async function tt(e){let t=await(0,qe.Z)(e);o.A.get()?.showtimes?.filters?.selected?.set(t),t?.date&&o.A.get()?.showtimes?.filters?.set("userSelectedDate",!0);const i=(0,Qe.A)(e);if(i.ticketing&&o.A.get()?.showtimes?.set("customDataProvider",(0,s.fY)(i.ticketing)),t&&Object.keys(t).length&&o.A.emit("FILTER_UPDATED"),i.formatmatch){const e=i.formatmatch.split(",").filter((e=>e.trim())).filter((e=>e));e.length&&o.A.get().showtimes.set({queryFormatMatches:e})}}o.A.on("SHOWTIMES_SHOW",((e,t,i)=>{let n=o.A.get(),r=n.activePage,s=n.appData?.pages?.[n.activePage]?.component;if("filmPage"!==s&&"hub"!==s||n.showtimes.set({returnToPage:r}),!i){const e=o.A.get().appData?.pages||{},t=Object.values(e).find((e=>"showtimes"===e.type));i=t?.id}(0,Xe.m)(e,"showtimes",!1,t,i),t&&tt(t)})),o.A.on("SHOWTIMES_SEARCH_OVERLAY_SHOW",(()=>{o.A.emit("ENABLE_SCROLLING_LOCK"),o.A.get().header.set({showtimesSearchOverlay:!0})})),o.A.on("SHOWTIMES_SEARCH_OVERLAY_HIDE",(()=>{o.A.emit("DISABLE_SCROLLING_LOCK"),o.A.get().header.set({showtimesSearchOverlay:!1})})),o.A.on("SHOWTIMES_HIDE",((e,t=!0)=>(0,Xe.e)(e,t,"showtimes"))),o.A.on("CLOSE_ALL_OVERLAYS",((e={})=>{o.A.emit("SHOWTIMES_HIDE",e.animate,!1)})),o.A.on("LANDING",(async()=>{let e=o.A.get(),t=e.appData?.pages?.[e.activePage]?.type;("showtimes"===t||"filmPage"===t||"homeEnt"===t)&&e.limitExceeded||o.A.emit("SET_LANDING_LOCATION");let i=Object.values(e.appData?.pages||{}).find((e=>"filmPage"===e.type||"showtimes"===e.type));if("filmPage"===i?.type&&(i=Object.values(i?.data||{})?.find((e=>"showtimes"===e.type))||{}),!i?.data?.useV2){let t=e?.showtimes?.filters;t?.selected&&t.selected.set("date",[et])}})),o.A.on("SET_LANDING_LOCATION",(async()=>{let e=Je.LG,t=(0,Qe.A)();const{lat:i,lon:n,location:r,country:s}=t;if(+i&&+n){let t=s;s||(t="us".replace(/^([a-z]{2})_.+$/i,"$1")),e={lat:+i,lon:+n,city:r,country:t}}else r&&"string"==typeof r&&(e=()=>(0,Je.SN)({search:r}));o.A.emit("SET_USER_LOCATION",e,"landing")})),o.A.on("LANDING_QUERY",(async()=>{await tt()}));i(3724),i(4153);const it={container:"sidePanelLoader__container__RzwgD",animate:"sidePanelLoader__animate__sT7el",placeholder:"sidePanelLoader__placeholder__nWur0",displayed:"sidePanelLoader__displayed__dJ7cm",scroller:"sidePanelLoader__scroller__Odg2Y",content:"sidePanelLoader__content__QrUrd"};class nt extends r.uA{constructor(e){super(e),"showtimesLoader"===e.key?this.compName="showtimes":"homeEntLoader"===e.key?this.compName="homeEnt":"pressKitLoader"===e.key&&(this.compName="pressKit"),this.load=this.load.bind(this)}componentDidMount(){this.props.store[this.compName]?.show&&this.load()}componentWillReceiveProps(e){e.store[this.compName]?.show&&this.load()}async load(){if(this.loadStarted)return;this.loadStarted=!0;const e=this.props.store?.appData.options.useShowtimes2,t=this.props.store?.appData.options.useHomeEnt2;let n;"showtimes"===this.compName?n=e?await Promise.all([i.e(588),i.e(317),i.e(935),i.e(462),i.e(680)]).then(i.bind(i,3131)):await Promise.all([i.e(317),i.e(935),i.e(462),i.e(750)]).then(i.bind(i,9950)):"homeEnt"===this.compName?n=t?await Promise.all([i.e(317),i.e(935),i.e(553),i.e(505)]).then(i.bind(i,7752)):await Promise.all([i.e(691),i.e(317),i.e(935),i.e(553),i.e(737)]).then(i.bind(i,2925)):"pressKit"===this.compName&&(n=await Promise.all([i.e(317),i.e(408)]).then(i.bind(i,5560))),this.setState({component:n})}getPageId(){const e=this.props;if(e.pageId)return e.pageId;const t=e.store[this.compName]?.show;let i="string"==typeof t&&t?t:this.lastPageId;return!i&&this.compName&&(i=`bolt${this.compName[0].toUpperCase()}${this.compName.slice(1)}`),this.lastpageId=i}render(e){let t=e.store[this.compName],i=t?.show,n=t?.animate,{pushDown:o,height:a,cookieBannerOpen:l}=(0,s.wh)(e,"store.cookies")||{};const c=(0,s.wh)(e,"store.externalCookieBanner.bannerOpen"),d=c||o&&l;c&&(a=(0,s.wh)(e,"store.externalCookieBanner.height"));const h={top:`${a}px`,height:`calc(var(--windowHeight) - ${a}px)`};
2let p=(0,r.h)("div",{class:it.placeholder,key:"placeholder"});if(this.state.component){const t=this.state.component.default,i=`${this.compName}-${this.getPageId()}`;p=(0,r.h)(t,(0,Ye.A)({},e,{key:i}))}return(0,r.h)("div",{class:(0,s.XS)({s:it,container:!0,displayed:i,animate:n}),style:d&&h,inert:e.inert},p)}}const rt={boltHome:{id:"boltHome",page:"home",getter:()=>Promise.all([i.e(317),i.e(962)]).then(i.bind(i,1854))},news:{id:"news",page:"imageTiles",getter:()=>Promise.resolve().then(i.bind(i,1128))},about:{id:"about",page:"customScroll",getter:()=>i.e(421).then(i.bind(i,7913))},films:{id:"films",page:"filmPage",getter:()=>Promise.all([i.e(588),i.e(317),i.e(935),i.e(462),i.e(553),i.e(680),i.e(505),i.e(128)]).then(i.bind(i,5976))},engagement:{id:"engagement",page:"customScroll",getter:()=>i.e(421).then(i.bind(i,7913))},projectHighlights:{id:"projectHighlights",page:"customScroll",getter:()=>i.e(421).then(i.bind(i,7913))}},ot=[{id:"aboutVideo",isPreloaded:!0,component:n.A,parent:"about"},{id:"scripttoscreen",isPreloaded:!0,component:class extends P{constructor(e){super(e),this.state={activeStep:"1",openSteps:{}},this.selectStep=this.selectStep.bind(this),this.toggleStep=this.toggleStep.bind(this)}async componentDidMount(){super.componentDidMount?.(),this.props.appData?.options?.cmsManaged&&await this.loadCustomData()}async loadCustomData(){if("scripttoscreen"===this.props?.id){const e=await(0,R.Ws)("about"),t=e.scriptToScreen.steps;if(Array.isArray(t)){const e=Object.fromEntries(t.map(((e,t)=>[t+1,{title:e.title,body:e.message,logo:e.icon}])));this.dynamicData={steps:e,stepColors:t.map((e=>e.color||"#000000"))}}const i=document.querySelector(".title");i.innerHTML=e.scriptToScreen.heading?.text,i.style.color=e.scriptToScreen.heading?.color;document.querySelector(".body").innerHTML=e.scriptToScreen.description}this.forceUpdate()}selectStep(e){const t=e.currentTarget.dataset.id;this.setState({activeStep:t})}toggleStep(e){const t=e.currentTarget.dataset.id;this.setState({openSteps:{...this.state.openSteps,[t]:!this.state.openSteps[t]}})}renderDesktopSteps(e,t,i){return(0,r.h)("div",{class:w},Object.entries(e).map((([e,{title:n,body:o,logo:a}],l)=>{const c=i.activeStep===e;return(0,r.h)("div",{key:e,class:(0,s.XS)(A,c&&k),onMouseEnter:this.selectStep,onFocus:this.selectStep,"data-id":e,tabIndex:"0"},(0,r.h)("div",{class:S,style:`--color: ${t[l%t.length]};`},(0,r.h)("img",{src:a,alt:n,class:E}),(0,r.h)("h3",{class:C},n)),(0,r.h)("p",{class:T},o))})))}renderMobileSteps(e,t,i){return(0,r.h)("div",{class:O},Object.entries(e).map((([e,{title:n,body:o,logo:a}],l)=>{const c=i.openSteps[e],d=t[l%t.length];return(0,r.h)("div",{key:e,class:(0,s.XS)(I,c&&L),style:`--color: ${d};`},(0,r.h)("button",{class:D,onClick:this.toggleStep,"data-id":e},(0,r.h)("img",{src:a,alt:n,class:E}),(0,r.h)("h3",{class:C},n),(0,r.h)("div",{class:x})),(0,r.h)("p",{class:T},o))})))}render(e,t){const i=super.render(e,t),{appData:n,client:o}=e,s=n?.pages?.scripttoscreen?.data,a=this.dynamicData?.steps||s?.steps,l=o.isDesktopSize,c=this.dynamicData?.stepColors||["#8BA87A","#7B9C77","#6C9274","#5F8871","#507E6E","#43746B","#356A68","#266065","#165461"];return(0,r.h)("div",null,i,l?this.renderDesktopSteps(a,c,t):this.renderMobileSteps(a,c,t))}},parent:"about"},{id:"testimonials",isPreloaded:!0,component:$,parent:"about"},{id:"legacyVideos",isPreloaded:!0,component:n.A,parent:"about"},{id:"projectHighlightsHero",isPreloaded:!0,component:We,parent:"projectHighlights"},{id:"projectHighlightsTiles",isPreloaded:!0,component:Ke.default,parent:"projectHighlights"},{id:"engagementInfo",isPreloaded:!0,component:$,parent:"engagement"},{id:"engagementGallery",isPreloaded:!0,component:n.A,parent:"engagement"},{id:"engagementTestimonials",isPreloaded:!0,component:$,parent:"engagement"}]},3604(e,t,i){"use strict";i.d(t,{Ws:()=>c,xk:()=>g,SY:()=>m});i(9659),i(8077),i(7417),i(6174),i(187),i(1190),i(7e3);var n=i(9863),r=i(7959);const o=(0,n.A)().contentUpdatePreview;if("undefined"!=typeof window&&o){const e=["https://cms.powster.com","http://localhost:4010","https://demo.pow.io"];window.addEventListener("message",(t=>{if(!e.includes(t.origin))return;let i=t.data;"data"===i?.type&&s[i.file]&&(s[i.file].forEach((e=>e.resolve(i.data))),s[i.file]=[])}),!1)}let s={};async function a(e){if(o&&window.parent!==window){window.parent.postMessage({type:"requestData",file:e},"*");let t=await async function(e){let t=(0,r.A)();return s[e]||(s[e]=[]),s[e].push(t),t}(e);return t}try{let t="https://d16iuz1pbr28v5.cloudfront.net/universalstudios/greenerlight/dynamic/us/"+e+".json",i=await fetch(t,{cache:"no-cache"});return(await i.json()).data}catch(e){}return null}const l={};function c(e="main"){return l[e]?l[e]:l[e]=a(e)}const d=e=>/\.(png|jpe?g|gif|svg|webp)(\?|#|$)/i.test(e),h=e=>/\.(mp4|webm|avi|mov)(\?|#|$)/i.test(e),p=e=>/youtube\.com/i.test(e),u=e=>e?.replace(/^https?:\/\/((www\.)?youtube\.(.+)[?&]v=|youtu\.be\/)([^?&/#]+).*$/i,"$4"),g={video:"video",gallery:"video",gallerylight:"gallerylight",youtubevideo:"youtubevideo",youtubevideolight:"youtubevideolight"};function f(e){let t={};if(!e?.gallery)return t;return t=e.gallery.reduce(((e,t,i)=>{const n=t?.heading?.text||t.title;if(!n)return e;const r=function(e,t){if(e){if(d(e.file))return t?g.gallerylight:g.gallery;if(h(e.file))return g.video;
2if(p(e.file)&&u(e.file))return t?g.youtubevideolight:g.youtubevideo}}(t.content[0],i%2!=0);if(!r)return e;const o=i+1>1?`${r}${i}`:r;return e[o]={id:o,component:"gallery",data:{hash:r,title:n,color:t?.heading?.color,contentCarousel:t?.content?.map((e=>{if(!e?.file)return null;if(d(e.file))return{name:e.file,desktopSrc:e.file,tabletSrc:e.file,mobileSrc:e.file,alt:e.alt,thumbAria:e.thumbAria,annotation:e.annotation};if(h(e.file))return{name:e.file,thumbSrc:e.thumbnail,thumbAria:e.thumbAria,annotation:e.annotation,noAutoplay:!0,videoSrc:e.file};if(p(e.file)){const t=u(e.file);if(t)return{name:e.file,youtubeId:t,annotation:e.annotation,noAutoplay:!0}}})).filter((e=>e))}},e}),{}),t}function m(e){const t=[{id:"filmHero",component:"heroSpot",data:{background:{alt:e.hero?.alt,desktop:e.hero?.img,mobile:e.hero?.mobileImg},buttons:[{label:"Project Highlights /",link:"projectHighlights"},{label:e.title,link:""}]}},e.synopsis?.content&&{id:"filmSynopsis",component:"synopsis",data:{hash:"synopsis",tagline:e.title,onesheet:e.synopsis?.image,content:e.synopsis?.content}},e?.horizontalTouts?.touts?.length&&{id:"pressCarousel",component:"toutHorizontal",data:{hash:"pressCarousel",title:e?.horizontalTouts.title,de
2scription:e?.horizontalTouts.description,carousel:e?.horizontalTouts.touts.map((e=>({title:e.title,description:e.description,src:e.image,alt:e.altText,button:e.buttonLabel,path:e.link})))}},e?.quotes?.length&&{id:"filmPageQuote",component:"quote",data:{hash:"quote",content:e?.quotes?.map(((e,t)=>({enabled:e?.quote?.enabled,name:e?.quote?.name,message:e?.quote?.message,image:e?.quote?.image,imageAltText:e?.quote?.altText})))}}];return{base:"bolt",id:e.url,data:[...t.slice(0,2),...Object.values(f(e)),...t.slice(2)].filter((e=>e)),type:"filmPage",path:"/"+e.url+"/",customPageComponent:"films"}}},623(e,t,i){"use strict";var n=i(5968),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var i,o,s,a,l,c,d=!1;t||(t={}),i=t.debug||!1;try{if(s=n(),a=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(i){if(i.stopPropagation(),t.format)if(i.preventDefault(),void 0===i.clipboardData){window.clipboardData.clearData();var n=r[t.format]||r.default;window.clipboardData.setData(n,e)}else i.clipboardData.clearData(),i.clipboardData.setData(t.format,e);t.onCopy&&(i.preventDefault(),t.onCopy(i.clipboardData))})),document.body.appendChild(c),a.selectNodeContents(c),l.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");d=!0}catch(n){i&&console.error("unable to copy using execCommand: ",n);try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0}catch(n){i&&console.error("unable to copy using clipboardData: ",n),i&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(a):l.removeAllRanges()),c&&document.body.removeChild(c),s()}return d}},4273(e,t,i){var n=i(8348);e.exports=n},6053(e,t,i){"use strict";var n=i(3050),r="beforeAll",o="afterAll",s=[r,o],a={on:function(e,t,i){var n=this._events[e]||[];return n.push({callback:t,once:i}),this._events[e]=n,this},once:function(e,t){return this.on(e,t,!0)},off:function(e,t){if(void 0===e)this._events={};else if(void 0===t)this._events[e]=[];else{var i,n=this._events[e]||[];for(i=n.length-1;i>=0;i--)n[i].callback===t&&n.splice(i,1)}return this},emit:function(e){var t,i,n,a,l=[].slice.call(arguments,1),c=this._events[e]||[],d=[],h=-1!==s.indexOf(e);for(h||this.emit.apply(this,[r,e].concat(l)),t=0;t<c.length;t++)(i=c[t]).callback?a=i.callback.apply(this,l):i.once=!0,i.once&&d.push(t),void 0!==a&&(n=a);for(t=d.length-1;t>=0;t--)c.splice(d[t],1);return h||this.emit.apply(this,[o,e].concat(l)),n},trigger:function(){return n.warn(!1,"Method `trigger` is deprecated and will be removed from freezer in upcoming releases. Please use `emit`."),this.emit.apply(this,arguments)}},l=n.createNonEnumerable(a);e.exports=l},8348(e,t,i){"use strict";var n=i(3050),r=(i(6053),i(7129));function o(e){n.warn(!1,"Method "+e.name+" called on a detached node.",e.node,e.options)}e.exports=function(e,t){var i,s,a=this,l=t||{},c={live:l.live||!1,freezeInstances:l.freezeInstances||!1,singleParent:l.singleParent||!1},d=[],h=0,p=function(e){var t,i=e.__;if(i.listener){var n=i.listener.prevState||e;i.listener.prevState=0,r.emit(n,"update",e,!0)}for(t=0;t<i.parents.length;t++)i.store.notify("now",i.parents[t])};c.notify=function(e,t,i,a){if(a&&(s&&!s.onStore&&o(s),s={name:a,node:t,options:i,onStore:!1}),"now"===e){if(d.length)for(;d.length;)p(d.shift());else p(t);return t}var l=r[e](t,i);if("pivot"!==e){var c=n.findPivot(l);if(c)return function(e){d.push(e),h||(h=1,n.nextTick((function(){d=[],h=0})))}(l),c}return l},c.freezeFn=!0===l.mutable?function(){}:function(e){Object.freeze(e)},(i=r.freeze(e,c)).__.updateRoot=function(e,t){e===i?(i=t,s&&(s.onStore=!0)):s&&setTimeout((function(){s.onStore||o(s)}))};var u=i.getListener(),g={};n.each(["on","off","once","emit","trigger"],(function(e){var t={};t[e]=u[e].bind(u),n.addNE(a,t),n.addNE(g,t)})),n.addNE(this,{get:function(){return i},set:function(e){i.reset(e)},getEventHub:function(){return g}}),n.addNE(this,{getData:this.get,setData:this.set})}},7129(e,t,i){"use strict";var n=i(3050),r=i(4415),o=i(6053),s={freeze:function(e,t){if(e&&e.__)return e;var i=this,o=r.clone(e);return n.addNE(o,{__:{listener:!1,parents:[],store:t}}),n.each(e,(function(e,r){n.isLeaf(e,t.freezeInstances)||(e=i.freeze(e,t)),e&&e.__&&i.addParent(e,o),o[r]=e})),t.freezeFn(o),o},merge:function(e,t){var i=e.__,r=i.trans;t=n.extend({},t);if(r){for(var o in t)r[o]=t[o];return e}var s,a,l,c=this,d=this.copyMeta(e),h=i.store;for(a in n.each(e,(function(i,r){if((l=i&&i.__)&&c.removeParent(i,e),!(s=t[r]))return l&&c.addParent(i,d),d[r]=i;
2n.isLeaf(s,h.freezeInstances)||(s=c.freeze(s,h)),s&&s.__&&c.addParent(s,d),delete t[r],d[r]=s})),t)s=t[a],n.isLeaf(s,h.freezeInstances)||(s=c.freeze(s,h)),s&&s.__&&c.addParent(s,d),d[a]=s;return i.store.freezeFn(d),this.refreshParents(e,d),d},replace:function(e,t){var i=e.__,r=t;return n.isLeaf(t,i.store.freezeInstances)||((r=this.freeze(t,i.store)).__.parents=i.parents,r.__.updateRoot=i.updateRoot,i.listener&&(r.__.listener=i.listener)),r&&this.fixChildren(r,e),this.refreshParents(e,r),r},remove:function(e,t){var i=e.__.trans;if(i){for(var r=t.length-1;r>=0;r--)delete i[t[r]];return e}var o,s=this,a=this.copyMeta(e);return n.each(e,(function(i,n){(o=i&&i.__)&&s.removeParent(i,e),-1===t.indexOf(n)&&(o&&s.addParent(i,a),a[n]=i)})),e.__.store.freezeFn(a),this.refreshParents(e,a),a},splice:function(e,t){var i=e.__,r=i.trans;if(r)return r.splice.apply(r,t),e;var o,s=this,a=this.copyMeta(e),l=t[0],c=l+t[1];if(n.each(e,(function(t,i){t&&t.__&&(s.removeParent(t,e),(i<l||i>=c)&&s.addParent(t,a)),a[i]=t})),t.length>1)for(var d=t.length-1;d>=2;d--)o=t[d],n.isLeaf(o,i.store.freezeInstances)||(o=this.freeze(o,i.store)),o&&o.__&&this.addParent(o,a),t[d]=o;return Array.prototype.splice.apply(a,t),i.store.freezeFn(a),this.refreshParents(e,a),a},transact:function(e){var t,i=this,r=e.__.trans;return r||(t=e.constructor===Array?[]:{},n.each(e,(function(e,i){t[i]=e})),e.__.trans=t,n.nextTick((function(){e.__.trans&&i.run(e)})),t)},run:function(e){var t=this,i=e.__.trans;return i?(n.each(i,(function(i,n){i&&i.__&&t.removeParent(i,e)})),delete e.__.trans,this.replace(e,i)):e},pivot:function(e){return e.__.pivot=1,this.unpivot(e),e},unpivot:function(e){n.nextTick((function(){e.__.pivot=0}))},refresh:function(e,t,i){var r=this,o=e.__.trans,s=0;if(o)return n.each(o,(function(n,a){s||n===t&&(o[a]=i,s=1,i&&i.__&&r.addParent(i,e))})),e;var a=this.copyMeta(e);n.each(e,(function(n,o){n===t&&(n=i),n&&n.__&&(r.removeParent(n,e),r.addParent(n,a)),a[o]=n})),e.__.store.freezeFn(a),this.refreshParents(e,a)},fixChildren:function(e,t){var i=this;n.each(e,(function(n){if(n&&n.__){if(i.fixChildren(n),1===n.__.parents.length)return n.__.parents=[e];t&&i.removeParent(n,t),i.addParent(n,e)}}))},copyMeta:function(e){var t=r.clone(e),i=e.__;return n.addNE(t,{__:{store:i.store,updateRoot:i.updateRoot,listener:i.listener,parents:i.parents.slice(0),trans:i.trans,pivot:i.pivot}}),i.pivot&&this.unpivot(t),t},refreshParents:function(e,t){var i,n=e.__,r=n.parents.length;if(e.__.updateRoot&&e.__.updateRoot(e,t),t&&this.emit(e,"update",t,n.store.live),r)for(i=r-1;i>=0;i--)this.refresh(n.parents[i],e,t)},removeParent:function(e,t){var i=e.__.parents,n=i.indexOf(t);-1!==n&&i.splice(n,1)},addParent:function(e,t){var i=e.__.parents;if(-1===i.indexOf(t)){if(e.__.store.singleParent&&i.length>=1)throw new Error("Freezer: Can't add node to the tree. It's already added and freezer is configured to `singleParent: true`.");i[i.length]=t}},emit:function(e,t,i,r){var o=e.__.listener;if(o){var s=o.ticking;r?(s||i)&&(o.ticking=0,o.emit(t,s||i,e)):(o.ticking=i,o.prevState||(o.prevState=e),s||n.nextTick((function(){if(o.ticking){var i=o.ticking;o.prevState;o.ticking=0,o.prevState=0,o.emit(t,i,e)}})))}},createListener:function(e){var t=e.__.listener;return t||(t=Object.create(o,{_events:{value:{},writable:!0}}),e.__.listener=t),t}};r.init(s),e.exports=s},4415(e,t,i){"use strict";var n=i(3050),r={init:function(e){var t={set:function(e,t){var i=e,r=this.__.trans,o=this.constructor===Array,s="Freezer arrays only accept numeric attributes, given: ";if("object"!=typeof e){if(o&&parseInt(e)!=e)return n.warn(0,s+e),n.findPivot(this)||this;(i={})[e]=t}if(!r){for(var a in i){if(o&&parseInt(a)!=a)return n.warn(0,s+a),n.findPivot(this)||this;r=r||this[a]!==i[a]}if(!r)return n.findPivot(this)||this}var l=o?"array.set":"object.set";return this.__.store.notify("merge",this,i,l)},reset:function(e){return this.__.store.notify("replace",this,e,"object.replace")},getListener:function(){return e.createListener(this)},toJS:function(){var e;return e=this.constructor===Array?new Array(this.length):{},n.each(this,(function(t,i){t&&t.__?e[i]=t.toJS():e[i]=t})),e},transact:function(){return this.__.store.notify("transact",this)},run:function(){return this.__.store.notify("run",this)},now:function(){return this.__.store.notify("now",this)},pivot:function(){return this.__.store.notify("pivot",this)}},i=n.extend({push:function(e){return this.append([e],"array.push")},append:function(e,t){return e&&e.length?this.__.store.notify("splice",this,[this.length,0].c
2oncat(e),t||"array.append"):this},pop:function(){return this.length?this.__.store.notify("splice",this,[this.length-1,1],"array.pop"):this},unshift:function(e){return this.prepend([e],"array.unshift")},prepend:function(e){return e&&e.length?this.__.store.notify("splice",this,[0,0].concat(e),"array.prepend"):this},shift:function(){return this.length?this.__.store.notify("splice",this,[0,1],"array.shift"):this},splice:function(e,t,i){return this.__.store.notify("splice",this,arguments,"array.splice")},sort:function(){var e=this.slice();return e.sort.apply(e,arguments),this.__.store.notify("replace",this,e,"array.sort")}},t),r=Object.create(Array.prototype,n.createNE(i)),o=n.createNE(n.extend({remove:function(e){var t=[],i=e;e.constructor!==Array&&(i=[e]);for(var n=0,r=i.length;n<r;n++)this.hasOwnProperty(i[n])&&t.push(i[n]);return t.length?this.__.store.notify("remove",this,t,"object.remove"):this}},t)),s=Object.create(Object.prototype,o),a=[].__proto__?function(e){var t=new Array(e);return t.__proto__=r,t}:function(e){var t=new Array(e);for(var n in i)t[n]=i[n];return t};this.clone=function(e){var t=e.constructor;return t===Array?a(e.length):t===Object?Object.create(s):Object.create(t.prototype,o)}}};e.exports=r},3050(e){"use strict";var t=void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},i={extend:function(e,t){for(var i in t)e[i]=t[i];return e},createNonEnumerable:function(e,t){var i={};for(var n in e)i[n]={value:e[n]};return Object.create(t||{},i)},error:function(e){var t=new Error(e);
2if(console)return console.error(t);throw t},each:function(e,t){var i,n,r;if(e&&e.constructor===Array)for(i=0,n=e.length;i<n;i++)t(e[i],i);else for(i=0,n=(r=Object.keys(e)).length;i<n;i++)t(e[r[i]],r[i])},addNE:function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!1,configurable:!0,writable:!0,value:t[i]})},createNE:function(e){var t={};for(var i in e)t[i]={writable:!0,configurable:!0,enumerable:!1,value:e[i]};return t},nextTick:function(){var e,i=[],n=!1,r=!!t.postMessage&&"undefined"!=typeof Window&&t instanceof Window,o="fzr"+Date.now(),s=r?function(){t.postMessage(o,"*")}:function(){setTimeout((function(){a()}),0)},a=r?function(e){e.data===o&&(e.stopPropagation(),l())}:l;function l(){for(n=!1;e=i.shift();)e()}function c(e){i.push(e),n||(n=!0,s())}return r&&t.addEventListener("message",a,!0),c.removeListener=function(){t.removeEventListener("message",a,!0)},c}(),findPivot:function(e){if(e&&e.__){if(e.__.pivot)return e;for(var t,i=0,n=e.__.parents,r=0;!i&&r<n.length;)(t=n[r]).__.pivot&&(i=t),r++;if(i)return i;for(r=0;!i&&r<n.length;)i=this.findPivot(n[r]),r++;return i}},isLeaf:function(e,t){var i;return!e||!(i=e.constructor)||(t?i===String||i===Number||i===Boolean:i!==Object&&i!==Array)},warn:function(){var e;"undefined"==typeof process&&(arguments[0]||"undefined"==typeof console||((e=Array.prototype.slice.call(arguments,1))[0]="Freezer.js WARNING: "+e[0],console.warn.apply(console,e)))}};e.exports=i},101(e){e.exports=function(e,t,i){if(null===e!=(null===t))return!1;var n=Array.isArray(e),r=Array.isArray(t);if(n!==r)return!1;var o=typeof e;return o===typeof t&&(function(e){return"function"!==e&&"object"!==e}(o)?i?i(e,t):e===t:n?function(e,t,i){var n=e.length;if(n!==t.length)return!1;if(i){for(var r=0;r<n;r++)if(!i(e[r],t[r]))return!1}else for(r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}(e,t,i):function(e,t,i){var n=0,r=0;if(i)for(var o in e){if(e.hasOwnProperty(o)&&!i(e[o],t[o]))return!1;n++}else for(var o in e){if(e.hasOwnProperty(o)&&e[o]!==t[o])return!1;n++}for(var o in t)t.hasOwnProperty(o)&&r++;return n===r}(e,t,i))}},5968(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,i=[],n=0;n<e.rangeCount;n++)i.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||i.forEac
vendor: 4,214 bytes, line 2
2h((function(t){e.addRange(t)})),t&&t.focus()}}},1078(e,t,i){"use strict";var n=i(8681),r=i(8819),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(r(e)+" is not a function")}},4380(e,t,i){"use strict";var n=i(8078).has;e.exports=function(e){return n(e),e}},1825(e,t,i){"use strict";var n=i(8663),r=i(4860),o=i(2333).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:r(null)}),e.exports=function(e){a[s][e]=!0}},2883(e,t,i){"use strict";var n=i(9877),r=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new r("Incorrect invocation")}},2091(e,t,i){"use strict";var n=i(3598),r=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(r(e)+" is not an object")}},789(e,t,i){"use strict";var n=i(5137),r=i(4918),o=i(4730),s=function(e){return function(t,i,s){var a=n(t),l=o(a);if(0===l)return!e&&-1;var c,d=r(s,l);if(e&&i!=i){for(;l>d;)if((c=a[d++])!=c)return!0}else for(;l>d;d++)if((e||d in a)&&a[d]===i)return e||d||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},7211(e,t,i){"use strict";var n=i(5144),r=i(8468),o=TypeError,s=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(r(e)&&!s(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},2740(e,t,i){"use strict";var n=i(1212);e.exports=n([].slice)},6907(e,t,i){"use strict";var n=i(2091),r=i(4983);e.exports=function(e,t,i,o){try{return o?t(n(i)[0],i[1]):t(i)}catch(t){r(e,"throw",t)}}},8420(e,t,i){"use strict";var n=i(1212),r=n({}.toString),o=n("".slice);e.exports=function(e){return o(r(e),8,-1)}},9391(e,t,i){"use strict";var n=i(7920),r=i(8681),o=i(8420),s=i(8663)("toStringTag"),a=Object,l="Arguments"===o(function(){return arguments}());e.exports=n?o:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?i:l?o(t):"Object"===(n=o(t))&&r(t.callee)?"Arguments":n}},8032(e,t,i){"use strict";var n=i(6341),r=i(7523),o=i(423),s=i(2333);e.exports=function(e,t,i){for(var a=r(t),l=s.f,c=o.f,d=0;d<a.length;d++){var h=a[d];n(e,h)||i&&n(i,h)||l(e,h,c(t,h))}}},5071(e,t,i){"use strict";var n=i(299);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9445(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},5719(e,t,i){"use strict";var n=i(5144),r=i(2333),o=i(8264);e.exports=n?function(e,t,i){return r.f(e,t,o(1,i))}:function(e,t,i){return e[t]=i,e}},8264(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3412(e,t,i){"use strict";var n=i(5144),r=i(2333),o=i(8264);e.exports=function(e,t,i){n?r.f(e,t,o(0,i)):e[t]=i}},1182(e,t,i){"use strict";var n=i(3383),r=i(2333);e.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}},4092(e,t,i){"use strict";var n=i(8681),r=i(2333),o=i(3383),s=i(7309);e.exports=function(e,t,i,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(n(i)&&o(i,c,a),a.global)l?e[t]=i:s(t,i);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=i:r.f(e,t,{value:i,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},9763(e,t,i){"use strict";var n=i(4092);e.exports=function(e,t,i){for(var r in t)n(e,r,t[r],i);return e}},7309(e,t,i){"use strict";var n=i(7756),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}},5144(e,t,i){"use strict";var n=i(299);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2283(e,t,i){"use strict";var n=i(7756),r=i(3598),o=n.document,s=r(o)&&r(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},9521(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw new t("Maximum allowed index exceeded");return e}},2555(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
2ing","toString","valueOf"]},8115(e,t,i){"use strict";var n=i(7756).navigator,r=n&&n.userAgent;e.exports=r?String(r):""},2227(e,t,i){"use strict";var n,r,o=i(7756),s=i(8115),a=o.process,l=o.Deno,c=a&&a.versions||l&&l.version,d=c&&c.v8;d&&(r=(n=d.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},3762(e,t,i){"use strict";var n=i(7756),r=i(423).f,o=i(5719),s=i(4092),a=i(7309),l=i(8032),c=i(5888);e.exports=function(e,t){var i,d,h,p,u,g=e.target,f=e.global,m=e.stat;if(i=f?n:m?n[g]||a(g,{}):n[g]&&n[g].prototype)for(d in t){if(p=t[d],h=e.dontCallGetSet?(u=r(i,d))&&u.value:i[d],!c(f?d:g+(m?".":"#")+d,e.forced)&&void 0!==h){if(typeof p==typeof h)continue;l(p,h)}(e.sham||h&&h.sham)&&o(p,"sham",!0),s(i,d,p,e)}}},299(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9181(e,t,i){"use strict";var n=i(1676),r=Function.prototype,o=r.apply,s=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},9876(e,t,i){"use strict";var n=i(5336),r=i(1078),o=i(1676),s=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},1676(e,t,i){"use strict";var n=i(299);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8993(e,t,i){"use strict";var n=i(1676),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},4378(e,t,i){"use strict";var n=i(5144),r=i(6341),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=r(o,"name"),l=a&&"something"===function(){}.name,c=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},4494(e,t,i){"use strict";var n=i(1212),r=i(1078);e.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(e){}}},5336(e,t,i){"use strict";var n=i(8420),r=i(1212);e.exports=function(e){if("Function"===n(e))return r(e)}},1212(e,t,i){"use strict";var n=i(1676),r=Function.prototype,o=r.call,s=n&&r.bind.bind(o,o);e.exports=n?s:function(e){return function(){return o.apply(e,arguments)}}},7139(e,t,i){"use strict";var n=i(7756),r=i(8681);e.exports=function(e,t){return arguments.length<2?(i=n[e],r(i)?i:void 0):n[e]&&n[e][t];var i}},7971(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},3090(e,t,i){"use strict";var n=i(8993),r=i(2091),o=i(7971),s=i(5375);e.exports=function(e,t){t&&"string"==typeof e||r(e);var i=s(e);return o(r(void 0!==i?n(i,e):e))}},5375(e,t,i){"use strict";var n=i(9391),r=i(9738),o=i(6297),s=i(5849),a=i(8663)("iterator");e.exports=function(e){if(!o(e))return r(e,a)||r(e,"@@iterator")||s[n(e)]}},6709(e,t,i){"use strict";var n=i(8993),r=i(1078),o=i(2091),s=i(8819),a=i(5375),l=TypeError;e.exports=function(e,t){var i=arguments.length<2?a(e):t;if(r(i))return o(n(i,e));throw new l(s(e)+" is not iterable")}},9738(e,t,i){"use strict";var n=i(1078),r=i(6297);e.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}},5889(e,t,i){"use strict";var n=i(1078),r=i(2091),o=i(8993),s=i(2119),a=i(7971),l="Invalid size",c=RangeError,d=TypeError,h=Math.max,p=function(e,t){this.set=e,this.size=h(t,0),this.has=n(e.has),this.keys=n(e.keys)};p.prototype={getIterator:function(){return a(r(o(this.keys,this.set)))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){r(e);var t=+e.size;if(t!=t)throw new d(l);var i=s(t);if(i<0)throw new c(l);return new p(e,i)}},7756(e,t,i){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6341(e,t,i){"use strict";var n=i(1212),r=i(3297),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(r(e),t)}},2993(e){"use strict";e.exports={}},4329(e,t,i){"use strict";var n=i(7139);e.exports=n("document","documentElement")},7657(e,t,i){"use strict";var n=i(5144),r=i(299),o=i(2283);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},2203(e,t,i){"use strict";var n=i(1212),r=i(299),o=i(8420),s=Object,a=n("".split);e.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?a(e,""):s(e)}:s},4550(e,t,i){"use strict";var n=i(1212),r=i(8681),o=i(3793),s=n(Function.toString);r(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},6921(e,t,i){"use strict";var n,r,o,s=i(1194),a=i(7756),l=i(3598),c=i(5719),d=i(6341),h=i(3793),p=i(7099),u=i(2993),g="Object already initialized",f=a.TypeError,m=a.WeakMap;if(s||h.state){var y=h.state||(h.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new f(g);return t.facade=e,y.set(e,t),t},r=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var _=p("state");u[_]=!0,n=function(e,t){if(d(e,_))throw new f(g);return t.facade=e,c(e,_,t),t},r=function(e){return d(e,_)?e[_]:{}},o=function(e){return d(e,_)}}
vendor: 8,485 bytes, line 2
2e.exports={set:n,get:r,has:o,enforce:function(e){return o(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!l(t)||(i=r(t)).type!==e)throw new f("Incompatible receiver, "+e+" required");return i}}}},4965(e,t,i){"use strict";var n=i(8663),r=i(5849),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||s[o]===e)}},8468(e,t,i){"use strict";var n=i(8420);e.exports=Array.isArray||function(e){return"Array"===n(e)}},8681(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},5888(e,t,i){"use strict";var n=i(299),r=i(8681),o=/#|\.prototype\./,s=function(e,t){var i=l[a(e)];return i===d||i!==c&&(r(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=s.data={},c=s.NATIVE="N",d=s.POLYFILL="P";e.exports=s},6297(e){"use strict";e.exports=function(e){return null==e}},3598(e,t,i){"use strict";var n=i(8681);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},7695(e){"use strict";e.exports=!1},6774(e,t,i){"use strict";var n=i(3598),r=i(6921).get;e.exports=function(e){if(!n(e))return!1;var t=r(e);return!!t&&"RawJSON"===t.type}},5985(e,t,i){"use strict";var n=i(7139),r=i(8681),o=i(9877),s=i(8300),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&o(t.prototype,a(e))}},5119(e,t,i){"use strict";var n=i(8993);e.exports=function(e,t,i){for(var r,o,s=i?e:e.iterator,a=e.next;!(r=n(a,s)).done;)if(void 0!==(o=t(r.value)))return o}},8568(e,t,i){"use strict";var n=i(9876),r=i(8993),o=i(2091),s=i(8819),a=i(4965),l=i(4730),c=i(9877),d=i(6709),h=i(5375),p=i(4983),u=TypeError,g=function(e,t){this.stopped=e,this.result=t},f=g.prototype;e.exports=function(e,t,i){var m,y,_,v,b,w,A,k=i&&i.that,S=!(!i||!i.AS_ENTRIES),E=!(!i||!i.IS_RECORD),C=!(!i||!i.IS_ITERATOR),T=!(!i||!i.INTERRUPTED),O=n(t,k),I=function(e){var t=m;return m=void 0,t&&p(t,"normal"),new g(!0,e)},L=function(e){return S?(o(e),T?O(e[0],e[1],I):O(e[0],e[1])):T?O(e,I):O(e)};if(E)m=e.iterator;else if(C)m=e;else{if(!(y=h(e)))throw new u(s(e)+" is not iterable");if(a(y)){for(_=0,v=l(e);v>_;_++)if((b=L(e[_]))&&c(f,b))return b;return new g(!1)}m=d(e,y)}for(w=E?e.next:m.next;!(A=r(w,m)).done;){var D=A.value;try{b=L(D)}catch(e){if(!m)throw e;p(m,"throw",e)}if("object"==typeof b&&b&&c(f,b))return b}return new g(!1)}},3925(e,t,i){"use strict";var n=i(4983);e.exports=function(e,t,i){for(var r=e.length-1;r>=0;r--)if(void 0!==e[r])try{i=n(e[r].iterator,t,i)}catch(e){t="throw",i=e}if("throw"===t)throw i;return i}},4983(e,t,i){"use strict";var n=i(8993),r=i(2091),o=i(9738);e.exports=function(e,t,i){var s,a;r(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw i;return i}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw i;if(a)throw s;return r(s),i}},2770(e,t,i){"use strict";var n=i(8993),r=i(4860),o=i(5719),s=i(9763),a=i(8663),l=i(6921),c=i(9738),d=i(8469).IteratorPrototype,h=i(9445),p=i(4983),u=i(3925),g=a("toStringTag"),f="IteratorHelper",m="WrapForValidIterator",y="normal",_="throw",v=l.set,b=function(e){var t=l.getterFor(e?m:f);return s(r(d),{next:function(){var i=t(this);if(e)return i.nextHandler();if(i.done)return h(void 0,!0);try{var n=i.nextHandler();return i.returnHandlerResult?n:h(n,i.done)}catch(e){throw i.done=!0,e}},return:function(){var i=t(this),r=i.iterator,o=i.done;if(i.done=!0,e){var s=c(r,"return");return s?n(s,r):h(void 0,!0)}if(o)return h(void 0,!0);if(i.inner)try{p(i.inner.iterator,y)}catch(e){return p(r,_,e)}if(i.openIters)try{u(i.openIters,y)}catch(e){if(r)return p(r,_,e);throw e}return r&&p(r,y),h(void 0,!0)}})},w=b(!0),A=b(!1);o(A,g,"Iterator Helper"),e.exports=function(e,t,i){var n=function(n,r){r?(r.iterator=n.iterator,r.next=n.next):r=n,r.type=t?m:f,r.returnHandlerResult=!!i,r.nextHandler=e,r.counter=0,r.done=!1,v(this,r)};return n.prototype=t?w:A,n}},5883(e){"use strict";e.exports=function(e,t){var i="function"==typeof Iterator&&Iterator.prototype[e];if(i)try{i.call({next:null},t).next()}catch(e){return!0}}},2713(e,t,i){"use strict";var n=i(7756);e.exports=function(e,t){var i=n.Iterator,r=i&&i.prototype,o=r&&r[e],s=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return o}},8469(e,t,i){"use strict";var n,r,o,s=i(299),a=i(8681),l=i(3598),c=i(4860),d=i(8607),h=i(4092),p=i(8663),u=i(7695),g=p("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(r=d(d(o)))!==Object.prototype&&(n=r):f=!0),!l(n)||s((function(){var e={};return n[g].call(e)!==e}))?n={}:u&&(n=c(n)),a(n[g])||h(n,g,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},5849(e){"use strict";e.exports={}},4730(e,t,i){"use strict";var n=i(8266);e.exports=function(e){return n(e.length)}},3383(e,t,i){"use strict";var n=i(1212),r=i(299),o=i(8681),s=i(6341),a=i(5144),l=i(4378).CONFIGURABLE,c=i(4550),d=i(6921),h=d.enforce,p=d.get,u=String,g=Object.defineProperty,f=n("".slice),m=n("".replace),y=n([].join),_=a&&!r((function(){return 8!==g((function(){}),"length",{value:8}).length})),v=String(String).split("String"),b=e.exports=function(e,t,i){"Symbol("===f(u(t),0,7)&&(t="["+m(u(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!s(e,"name")||l&&e.name!==t)&&(a?g(e,"name",{value:t,configurable:!0}):e.name=t),_&&i&&s(i,"arity")&&e.length!==i.arity&&g(e,"length",{value:i.arity});try{i&&s(i,"constructor")&&i.constructor?a&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=h(e);return s(n,"source")||(n.source=y(v,"string"==typeof t?t:"")),e};Function.prototype.toString=b((function(){return o(this)&&p(this).source||c(this)}),"toString")},3708(e,t,i){"use strict";var n=i(1212),r=Map.prototype;e.exports={Map,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete),proto:r}},2537(e){"use strict";var t=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?i:t)(n)}},9183(e,t,i){"use strict";var n=i(299);e.exports=!n((function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e}))},4860(e,t,i){"use strict";var n,r=i(2091),o=i(2197),s=i(2555),a=i(2993),l=i(4329),c=i(2283),d=i(7099),h="prototype",p="script",u=d("IE_PROTO"),g=function(){},f=function(e){return"<"+p+">"+e+"</"+p+">"},m=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,i;y="undefined"!=typeof document?document.domain&&n?m(n):(t=c("iframe"),i="java"+p+":",t.style.display="none",l.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):m(n);for(var r=s.length;r--;)delete y[h][s[r]];return y()};a[u]=!0,e.exports=Object.create||function(e,t){var i;return null!==e?(g[h]=r(e),i=new g,g[h]=null,i[u]=e):i=y(),void 0===t?i:o.f(i,t)}},2197(e,t,i){"use strict";var n=i(5144),r=i(2538),o=i(2333),s=i(2091),a=i(5137),l=i(9428);t.f=n&&!r?Object.defineProperties:function(e,t){s(e);for(var i,n=a(t),r=l(t),c=r.length,d=0;c>d;)o.f(e,i=r[d++],n[i]);return e}},2333(e,t,i){"use strict";var n=i(5144),r=i(7657),o=i(2538),s=i(2091),a=i(1413),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,h="enumerable",p="configurable",u="writable";t.f=n?o?function(e,t,i){if(s(e),t=a(t),s(i),"function"==typeof e&&"prototype"===t&&"value"in i&&u in i&&!i[u]){var n=d(e,t);n&&n[u]&&(e[t]=i.value,i={configurable:p in i?i[p]:n[p],enumerable:h in i?i[h]:n[h],writable:!1})}return c(e,t,i)}:c:function(e,t,i){if(s(e),t=a(t),s(i),r)try{return c(e,t,i)}catch(e){}if("get"in i||"set"in i)throw new l("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},423(e,t,i){"use strict";var n=i(5144),r=i(8993),o=i(4961),s=i(8264),a=i(5137),l=i(1413),c=i(6341),d=i(7657),h=Object.getOwnPropertyDescriptor;t.f=n?h:function(e,t){if(e=a(e),t=l(t),d)try{return h(e,t)}catch(e){}if(c(e,t))return s(!r(o.f,e,t),e[t])}},5412(e,t,i){"use strict";var n=i(3120),r=i(2555).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},4073(e,t){"use strict";t.f=Object.getOwnPropertySymbols},8607(e,t,i){"use strict";var n=i(6341),r=i(8681),o=i(3297),s=i(7099),a=i(5071),l=s("IE_PROTO"),c=Object,d=c.prototype;e.exports=a?c.getPrototypeOf:function(e){var t=o(e);if(n(t,l))return t[l];var i=t.constructor;return r(i)&&t instanceof i?i.prototype:t instanceof c?d:null}}
2,9877(e,t,i){"use strict";var n=i(1212);e.exports=n({}.isPrototypeOf)},3120(e,t,i){"use strict";var n=i(1212),r=i(6341),o=i(5137),s=i(789).indexOf,a=i(2993),l=n([].push);e.exports=function(e,t){var i,n=o(e),c=0,d=[];for(i in n)!r(a,i)&&r(n,i)&&l(d,i);for(;t.length>c;)r(n,i=t[c++])&&(~s(d,i)||l(d,i));return d}},9428(e,t,i){"use strict";var n=i(3120),r=i(2555);e.exports=Object.keys||function(e){return n(e,r)}},4961(e,t){"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:i},290(e,t,i){"use strict";var n=i(8993),r=i(8681),o=i(3598),s=TypeError;e.exports=function(e,t){var i,a;if("string"===t&&r(i=e.toString)&&!o(a=n(i,e)))return a;if(r(i=e.valueOf)&&!o(a=n(i,e)))return a;if("string"!==t&&r(i=e.toString)&&!o(a=n(i,e)))return a;throw new s("Can't convert object to primitive value")}},7523(e,t,i){"use strict";var n=i(7139),r=i(1212),o=i(5412),s=i(4073),a=i(2091),l=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),i=s.f;return i?l(t,i(e)):t}},804(e,t,i){"use strict";var n=i(1212),r=i(6341),o=SyntaxError,s=parseInt,a=String.fromCharCode,l=n("".charAt),c=n("".slice),d=n(/./.exec),h={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},p=/^[\da-f]{4}$/i,u=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var i=!0,n="";t<e.length;){var g=l(e,t);if("\\"===g){var f=c(e,t,t+2);if(r(h,f))n+=h[f],t+=2;else{if("\\u"!==f)throw new o('Unknown escape sequence: "'+f+'"');var m=c(e,t+=2,t+4);if(!d(p,m))throw new o("Bad Unicode escape at: "+t);n+=a(s(m,16)),t+=4}}else{if('"'===g){i=!1,t++;break}if(d(u,g))throw new o("Bad control character in string literal at: "+t);n+=g,t++}}if(i)throw new o("Unterminated string at: "+t);return{value:n,end:t}}},5034(e,t,i){"use strict";var n=i(6297),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},2058(e,t,i){"use strict";var n=i(8078),r=i(9369),o=n.Set,s=n.add;e.exports=function(e){var t=new o;return r(e,(function(e){s(t,e)})),t}},5188(e,t,i){"use strict";var n=i(4380),r=i(8078),o=i(2058),s=i(2502),a=i(5889),l=i(9369),c=i(5119),d=r.has,h=r.remove;e.exports=function(e){var t=n(this),i=a(e),r=o(t);return s(r)<=i.size?l(r,(function(e){i.includes(e)&&h(r,e)})):c(i.getIterator(),(function(e){d(r,e)&&h(r,e)})),r}},8078(e,t,i){"use strict";var n=i(1212),r=Set.prototype;e.exports={Set,add:n(r.add),has:n(r.has),remove:n(r.delete),proto:r}},4690(e,t,i){"use strict";var n=i(4380),r=i(8078),o=i(2502),s=i(5889),a=i(9369),l=i(5119),c=r.Set,d=r.add,h=r.has;e.exports=function(e){var t=n(this),i=s(e),r=new c;return o(t)>i.size?l(i.getIterator(),(function(e){h(t,e)&&d(r,e)})):a(t,(function(e){i.includes(e)&&d(r,e)})),r}},7893(e,t,i){"use strict";var n=i(4380),r=i(8078).has,o=i(2502),s=i(5889),a=i(9369),l=i(5119),c=i(4983);e.exports=function(e){var t=n(this),i=s(e);if(o(t)<=i.size)return!1!==a(t,(function(e){if(i.includes(e))return!1}),!0);var d=i.getIterator();return!1!==l(d,(function(e){if(r(t,e))return c(d.iterator,"normal",!1)}))}},8850(e,t,i){"use strict";var n=i(4380),r=i(2502),o=i(9369),s=i(5889);e.exports=function(e){var t=n(this),i=s(e);return!(r(t)>i.size)&&!1!==o(t,(function(e){if(!i.includes(e))return!1}),!0)}},6747(e,t,i){"use strict";var n=i(4380),r=i(8078).has,o=i(2502),s=i(5889),a=i(5119),l=i(4983);e.exports=function(e){var t=n(this),i=s(e);if(o(t)<i.size)return!1;var c=i.getIterator();return!1!==a(c,(function(e){if(!r(t,e))return l(c.iterator,"normal",!1)}))}},9369(e,t,i){"use strict";var n=i(1212),r=i(5119),o=i(8078),s=o.Set,a=o.proto,l=n(a.forEach),c=n(a.keys),d=c(new s).next;e.exports=function(e,t,i){return i?r({iterator:c(e),next:d},t):l(e,t)}},2256(e,t,i){"use strict";var n=i(7139),r=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},o=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var i=n("Set");try{(new i)[e](r(0));try{return(new i)[e](r(-1)),!1}catch(n){if(!t)return!0;try{return(new i)[e](o(-1/0)),!1}catch(n){return t(new i([1,2])[e](o(1/0)))}}}catch(e){return!1}}},9559(e){"use strict";e.exports=function(e){try{var t=new Set,i={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},n=t[e](i);return 1===n.size&&4===n.values().next().value}catch(e){return!1}}},2502(e,t,i){"use strict";var n=i(4494),r=i(8078);e.exports=n(r.proto,"size","get")||function(e){return e.size}},3582(e,t,i){"use strict";var n=i(4380),r=i(8078),o=i(2058),s=i(5889),a=i(5119),l=r.add,c=r.has,d=r.remove;e.exports=function(e){var t=n(this),i=s(e).getIterator(),r=o(t);return a(i,(function(e){c(t,e)?d(r,e):l(r,e)})),r}},2e3(e,t,i){"use strict";var n=i(4380),r=i(8078).add,o=i(2058),s=i(5889),a=i(5119);e.exports=function(e){var t=n(this),i=s(e).getIterator(),l=o(t);return a(i,(function(e){r(l,e)})),l}},7099(e,t,i){"use strict";var n=i(997),r=i(6044),o=n("keys");e.exports=function(e){return o[e]||(o[e]=r(e))}},3793(e,t,i){"use strict";var n=i(7695),r=i(7756),o=i(7309),s="__core-js_shared__",a=e.exports=r[s]||o(s,{});(a.versions||(a.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},997(e,t,i){"use strict";var n=i(3793);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},4483(e,t,i){"use strict";var n=i(2227),r=i(299),o=i(7756).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4918(e,t,i){"use strict";var n=i(2119),r=Math.max,o=Math.min;e.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):o(i,t)}},5137(e,t,i){"use strict";var n=i(2203),r=i(5034);e.exports=function(e){return n(r(e))}},2119(e,t,i){"use strict";var n=i(2537);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8266(e,t,i){"use strict";var n=i(2119),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},3297(e,t,i){"use strict";var n=i(5034),r=Object;e.exports=function(e){return r(n(e))}},3301(e,t,i){"use strict";var n=i(8993),r=i(3598),o=i(5985),s=i(9738),a=i(290),l=i(8663),c=TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var i,l=s(e,d);if(l){if(void 0===t&&(t="default"),i=n(l,e,t),!r(i)||o(i))return i;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},1413(e,t,i){"use strict";var n=i(3301),r=i(5985);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},7920(e,t,i){"use strict";var n={};n[i(8663)("toStringTag")]="z",e.exports="[object z]"===String(n)},9723(e,t,i){"use strict";var n=i(9391),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},8819(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6044(e,t,i){"use strict";var n=i(1212),r=0,o=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++r+o,36)}},8300(e,t,i){"use strict";var n=i(4483);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2538(e,t,i){"use strict";var n=i(5144),r=i(299);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4968(e){"use strict";var t=TypeError;e.exports=function(e,i){if(e<i)throw new t("Not enough arguments");return e}},1194(e,t,i){"use strict";var n=i(7756),r=i(8681),o=n.WeakMap;e.exports=r(o)&&/native code/.test(String(o))},8663(e,t,i){"use strict";var n=i(7756),r=i(997),o=i(6341),s=i(6044),a=i(4483),l=i(8300),c=n.Symbol,d=r("wks"),h=l?c.for||c:c&&c.withoutSetter||s;e.exports=function(e){return o(d,e)||(d[e]=a&&o(c,e)?c[e]:h("Symbol."+e)),d[e]}},187(e,t,i){"use strict";var n=i(3762),r=i(789).includes,o=i(299),s=i(1825),a=o((function(){return!Array(1).includes()}
vendor: 10,414 bytes, line 2
2)),l=o((function(){return[,1].includes(void 0,1)}));n({target:"Array",proto:!0,forced:a||l},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),s("includes")},1190(e,t,i){"use strict";var n=i(3762),r=i(3297),o=i(4730),s=i(7211),a=i(9521);n({target:"Array",proto:!0,arity:1,forced:i(299)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=r(this),i=o(t),n=arguments.length;a(i+n);for(var l=0;l<n;l++)t[i]=arguments[l],i++;return s(t,i),i}})},9659(e,t,i){"use strict";var n=i(3762),r=i(7756),o=i(2883),s=i(2091),a=i(8681),l=i(8607),c=i(1182),d=i(3412),h=i(299),p=i(6341),u=i(8663),g=i(8469).IteratorPrototype,f=i(5144),m=i(7695),y="constructor",_="Iterator",v=u("toStringTag"),b=TypeError,w=r[_],A=m||!a(w)||w.prototype!==g||!h((function(){w({})})),k=function(){if(o(this,g),l(this)===g)throw new b("Abstract class Iterator not directly constructable")},S=function(e,t){f?c(g,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===g)throw new b("You can't redefine this property");p(this,e)?this[e]=t:d(this,e,t)}}):g[e]=t};p(g,v)||S(v,_),!A&&p(g,y)&&g[y]!==Object||S(y,k),k.prototype=g,n({global:!0,constructor:!0,forced:A},{Iterator:k})},4656(e,t,i){"use strict";var n=i(3762),r=i(8993),o=i(8568),s=i(1078),a=i(2091),l=i(7971),c=i(4983),d=i(2713)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:d},{every:function(e){a(this);try{s(e)}catch(e){c(this,"throw",e)}if(d)return r(d,this,e);var t=l(this),i=0;return!o(t,(function(t,n){if(!e(t,i++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},8077(e,t,i){"use strict";var n=i(3762),r=i(8993),o=i(1078),s=i(2091),a=i(7971),l=i(2770),c=i(6907),d=i(7695),h=i(4983),p=i(5883),u=i(2713),g=!d&&!p("filter",(function(){})),f=!d&&!g&&u("filter",TypeError),m=d||g||f,y=l((function(){for(var e,t,i=this.iterator,n=this.predicate,o=this.next;;){if(e=s(r(o,i)),this.done=!!e.done)return;if(t=e.value,c(i,n,[t,this.counter++],!0))return t}}));n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function(e){s(this);try{o(e)}catch(e){h(this,"throw",e)}return f?r(f,this,e):new y(a(this),{predicate:e})}})},3552(e,t,i){"use strict";var n=i(3762),r=i(8993),o=i(8568),s=i(1078),a=i(2091),l=i(7971),c=i(4983),d=i(2713)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:d},{find:function(e){a(this);try{s(e)}catch(e){c(this,"throw",e)}if(d)return r(d,this,e);var t=l(this),i=0;return o(t,(function(t,n){if(e(t,i++))return n(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},5359(e,t,i){"use strict";var n=i(3762),r=i(8993),o=i(1078),s=i(2091),a=i(7971),l=i(3090),c=i(2770),d=i(4983),h=i(7695),p=i(5883),u=i(2713);var g=!h&&!p("flatMap",(function(){})),f=!h&&!g&&u("flatMap",TypeError),m=h||g||f||function(){try{var e=Iterator.prototype.flatMap.call(new Map([[4,5]]).entries(),(function(e){return e}));e.next(),e.return()}catch(e){return!0}}(),y=c((function(){for(var e,t,i=this.iterator,n=this.mapper;;){if(t=this.inner)try{if(!(e=s(r(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){d(i,"throw",e)}if(e=s(r(this.next,i)),this.done=!!e.done)return;try{this.inner=l(n(e.value,this.counter++),!1)}catch(e){d(i,"throw",e)}}}));n({target:"Iterator",proto:!0,real:!0,forced:m},{flatMap:function(e){s(this);try{o(e)}catch(e){d(this,"throw",e)}return f?r(f,this,e):new y(a(this),{mapper:e,inner:null})}})},7e3(e,t,i){"use strict";var n=i(3762),r=i(8993),o=i(8568),s=i(1078),a=i(2091),l=i(7971),c=i(4983),d=i(2713)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:d},{forEach:function(e){a(this);try{s(e)}catch(e){c(this,"throw",e)}if(d)return r(d,this,e);var t=l(this),i=0;o(t,(function(t){e(t,i++)}),{IS_RECORD:!0})}})},7417(e,t,i){"use strict";var n=i(3762),r=i(8993),o=i(1078),s=i(2091),a=i(7971),l=i(2770),c=i(6907),d=i(4983),h=i(5883),p=i(2713),u=i(7695),g=!u&&!h("map",(function(){})),f=!u&&!g&&p("map",TypeError),m=u||g||f,y=l((function(){var e=this.iterator,t=s(r(this.next,e));if(!(this.done=!!t.done))return c(e,this.mapper,[t.value,this.counter++],!0)}));n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function(e){s(this);try{o(e)}catch(e){d(this,"throw",e)}return f?r(f,this,e):new y(a(this),{mapper:e})}})},6174(e,t,i){"use strict";var n=i(3762),r=i(8568),o=i(1078),s=i(2091),a=i(7971),l=i(4983),c=i(2713),d=i(9181),h=i(299),p=TypeError,u=h((function(){[].keys().reduce((function(){}),void 0)})),g=!u&&c("reduce",p);n({target:"Iterator",proto:!0,real:!0,forced:u||g},{reduce:function(e){s(this);try{o(e)}catch(e){l(this,"throw",e)}var t=arguments.length<2,i=t?void 0:arguments[1];if(g)return d(g,this,t?[e]:[e,i]);var n=a(this),c=0;if(r(n,(function(n){t?(t=!1,i=n):i=e(i,n,c),c++}),{IS_RECORD:!0}),t)throw new p("Reduce of empty iterator with no initial value");return i}})},4711(e,t,i){"use strict";var n=i(3762),r=i(8993),o=i(8568),s=i(1078),a=i(2091),l=i(7971),c=i(4983),d=i(2713)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:d},{some:function(e){a(this);try{s(e)}catch(e){c(this,"throw",e)}if(d)return r(d,this,e);var t=l(this),i=0;return o(t,(function(t,n){if(e(t,i++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},1196(e,t,i){"use strict";var n=i(3762),r=i(5144),o=i(7756),s=i(7139),a=i(1212),l=i(8993),c=i(8681),d=i(3598),h=i(8468),p=i(6341),u=i(9723),g=i(4730),f=i(3412),m=i(299),y=i(804),_=i(4483),v=o.JSON,b=o.Number,w=o.SyntaxError,A=v&&v.parse,k=s("Object","keys"),S=Object.getOwnPropertyDescriptor,E=a("".charAt),C=a("".slice),T=a(/./.exec),O=a([].push),I=/^\d$/,L=/^[1-9]$/,D=/^[\d-]$/,x=/^[\t\n\r ]$/,P=function(e,t,i,n){var r,o,s,a,c,u=e[t],f=n&&u===n.value,m=f&&"string"==typeof n.source?{source:n.source}:{};if(d(u)){var y=h(u),_=f?n.nodes:y?[]:{};if(y)for(r=_.length,s=g(u),a=0;a<s;a++)R(u,a,P(u,""+a,i,a<r?_[a]:void 0));else for(o=k(u),s=g(o),a=0;a<s;a++)c=o[a],R(u,c,P(u,c,i,p(_,c)?_[c]:void 0))}return l(i,e,t,u,m)},R=function(e,t,i){if(r){var n=S(e,t);if(n&&!n.configurable)return}void 0===i?delete e[t]:f(e,t,i)},N=function(e,t,i,n){this.value=e,this.end=t,this.source=i,this.nodes=n},M=function(e,t){this.source=e,this.index=t};M.prototype={fork:function(e){return new M(this.source,e)},parse:function(){var e=this.source,t=this.skip(x,this.index),i=this.fork(t),n=E(e,t);if(T(D,n))return i.number();switch(n){case"{":return i.object();case"[":return i.array();case'"':return i.string();case"t":return i.keyword(!0);case"f":return i.keyword(!1);case"n":return i.keyword(null)}throw new w('Unexpected character: "'+n+'" at: '+t)},node:function(e,t,i,n,r){return new N(t,n,e?null:C(this.source,i,n),r)},object:function(){for(var e=this.source,t=this.index+1,i=!1,n={},r={},o=!1;t<e.length;){if(t=this.until(['"',"}"],t),"}"===E(e,t)&&!i){t++,o=!0;break}var s=this.fork(t).string(),a=s.value;t=s.end,t=this.until([":"],t)+1,t=this.skip(x,t),s=this.fork(t).parse(),f(r,a,s),f(n,a,s.value),t=this.until([",","}"],s.end);var l=E(e,t);if(","===l)i=!0,t++;else if("}"===l){t++,o=!0;break}}if(!o)throw new w("Unterminated object at: "+t);return this.node(1,n,this.index,t,r)},array:function(){for(var e=this.source,t=this.index+1,i=!1,n=[],r=[],o=!1;t<e.length;){if(t=this.skip(x,t),"]"===E(e,t)&&!i){t++,o=!0;break}var s=this.fork(t).parse();if(O(r,s),O(n,s.value),t=this.until([",","]"],s.end),","===E(e,t))i=!0,t++;else if("]"===E(e,t)){t++,o=!0;break}}if(!o)throw new w("Unterminated array at: "+t);return this.node(1,n,this.index,t,r)},string:function(){var e=this.index,t=y(this.source,this.index+1);return this.node(0,t.value,e,t.end)},number:function(){var e=this.source,t=this.index,i=t;if("-"===E(e,i)&&i++,"0"===E(e,i))i++;else{if(!T(L,E(e,i)))throw new w("Failed to parse number at: "+i);i=this.skip(I,i+1)}if("."===E(e,i)){var n=i+1;if(n===(i=this.skip(I,n)))throw new w("Failed to parse number's fraction at: "+i)}if(("e"===E(e,i)||"E"===E(e,i))&&(i++,"+"!==E(e,i)&&"-"!==E(e,i)||i++,i===(i=this.skip(I,i))))throw new w("Failed to parse number's exponent value at: "+i);return this.node(0,b(C(e,t,i)),t,i)},keyword:function(e){var t=""+e,i=this.index,n=i+t.length;if(C(this.source,i,n)!==t)throw new w("Failed to parse value at: "+i);return this.node(0,e,i,n)},skip:function(e,t){for(var i=this.source;t<i.length&&T(e,E(i,t));t++);return t},until:function(e,t){t=this.skip(x,t);for(var i=E(this.source,t),n=0;n<e.length;n++)if(e[n]===i)return t;throw new w('Unexpected character: "'+i+'" at: '+t)}};var B=m((function(){var e,t="9007199254740993";return A(t,(function(t,i,n){e=n.source})),e!==t})),H=_&&!m((function(){return 1/A("-0 \t")!=-1/0}));n({target:"JSON",stat:!0,forced:B},{parse:function(e,t){return H&&!c(t)?A(e):function(e,t){e=u(e);var i=new M(e,0,""),n=i.parse(),r=n.value,o=i.skip(x,n.end);if(o<e.length)throw new w('Unexpected extra character: "'+E(e,o)+'" after the parsed data at: '+o);return c(t)?P({"":r},"",t,n):r}(e,t)}})},2754(e,t,i){"use strict";var n=i(3762),r=i(7139),o=i(9181),s=i(8993),a=i(1212),l=i(299),c=i(8468),d=i(8681),h=i(6774),p=i(5985),u=i(8420),g=i(9723),f=i(2740),m=i(804),y=i(6044),_=i(4483),v=i(9183),b=String,w=r("JSON","stringify"),A=a(/./.exec),k=a("".charAt),S=a("".charCodeAt),E=a("".replace),C=a("".slice),T=a([].push),O=a(1.1.toString),I=/[\uD800-\uDFFF]/g,L=/^[\uD800-\uDBFF]$/,D=/^[\uDC00-\uDFFF]$/,x=y(),P=x.length,R=!_||l((function(){var e=r("Symbol")("stringify detection");return"[null]"!==w([e])||"{}"!==w({a:e})||"{}"!==w(Object(e))})),N=l((function(){return'"\\udf06\\ud834"'!==w("\udf06\ud834")||'"\\udead"'!==w("\udead")})),M=R?function(e,t){var i=f(arguments),n=H(t);if(d(n)||void 0!==e&&!p(e))return i[1]=function(e,t){if(d(n)&&(t=s(n,this,b(e),t)),!p(t))return t},o(w,null,i)}:w,B=function(e,t,i){var n=k(i,t-1),r=k(i,t+1);return A(L,e)&&!A(D,r)||A(D,e)&&!A(L,n)?"\\u"+O(S(e,0),16):e},H=function(e){if(d(e))return e;if(c(e)){for(var t=e.length,i=[],n=0;n<t;n++){var r=e[n];"string"==typeof r?T(i,r):"number"!=typeof r&&"Number"!==u(r)&&"String"!==u(r)||T(i,g(r))}var o=i.length,s=!0;return function(e,t){if(s)return s=!1,t;if(c(this))return t;for(var n=0;n<o;n++)if(i[n]===e)return t}}};w&&n({target:"JSON",stat:!0,arity:3,forced:R||N||!v},{stringify:function(e,t,i){var n=H(t),r=[],o=M(e,(function(e,t){var i=d(n)?s(n,this,b(e),t):t;return!v&&h(i)?x+(T(r,i.rawJSON)-1):i}),i);if("string"!=typeof o)return o;if(N&&(o=E(o,I,B)),v)return o;for(var a="",l=o.length,c=0;c<l;
2c++){var p=k(o,c);if('"'===p){var u=m(o,++c).end-1,g=C(o,c,u);a+=C(g,0,P)===x?r[C(g,P)]:'"'+g+'"',c=u}else a+=p}return a}})},8911(e,t,i){"use strict";var n=i(3762),r=i(1078),o=i(3708),s=i(7695),a=o.get,l=o.has,c=o.set;n({target:"Map",proto:!0,real:!0,forced:s},{getOrInsertComputed:function(e,t){var i=l(this,e);if(r(t),i)return a(this,e);0===e&&1/e==-1/0&&(e=0);var n=t(e);return c(this,e,n),n}})},7963(e,t,i){"use strict";var n=i(3762),r=i(3708),o=i(7695),s=r.get,a=r.has,l=r.set;n({target:"Map",proto:!0,real:!0,forced:o},{getOrInsert:function(e,t){return a(this,e)?s(this,e):(l(this,e,t),t)}})},8870(e,t,i){"use strict";var n=i(3762),r=i(5188),o=i(299);n({target:"Set",proto:!0,real:!0,forced:!i(2256)("difference",(function(e){return 0===e.size}))||o((function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var i=e++>1;return t.has(1)&&t.clear(),{done:i,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(e).size}))},{difference:r})},3952(e,t,i){"use strict";var n=i(3762),r=i(299),o=i(4690);n({target:"Set",proto:!0,real:!0,forced:!i(2256)("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||r((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:o})},1945(e,t,i){"use strict";var n=i(3762),r=i(7893);n({target:"Set",proto:!0,real:!0,forced:!i(2256)("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:r})},1056(e,t,i){"use strict";var n=i(3762),r=i(8850);n({target:"Set",proto:!0,real:!0,forced:!i(2256)("isSubsetOf",(function(e){return e}))},{isSubsetOf:r})},719(e,t,i){"use strict";var n=i(3762),r=i(6747);n({target:"Set",proto:!0,real:!0,forced:!i(2256)("isSupersetOf",(function(e){return!e}))},{isSupersetOf:r})},6020(e,t,i){"use strict";var n=i(3762),r=i(3582),o=i(9559);n({target:"Set",proto:!0,real:!0,forced:!i(2256)("symmetricDifference")||!o("symmetricDifference")},{symmetricDifference:r})},3262(e,t,i){"use strict";var n=i(3762),r=i(2e3),o=i(9559);n({target:"Set",proto:!0,real:!0,forced:!i(2256)("union")||!o("union")},{union:r})},3559(e,t,i){"use strict";var n=i(4092),r=i(1212),o=i(9723),s=i(4968),a=URLSearchParams,l=a.prototype,c=r(l.append),d=r(l.delete),h=r(l.forEach),p=r([].push),u=new a("a=1&a=2&b=3");u.delete("a",1),u.delete("b",void 0),u+""!="a=2"&&n(l,"delete",(function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&void 0===i)return d(this,e);var n=[];h(this,(function(e,t){p(n,{key:t,value:e})})),s(t,1);for(var r,a=o(e),l=o(i),u=0,g=n.length;u<g;)d(this,(r=n[u]).key),u++;for(u=0;u<g;)(r=n[u++]).key===a&&r.value===l||c(this,r.key,r.value)}),{enumerable:!0,unsafe:!0})},9986(e,t,i){"use strict";var n=i(4092),r=i(1212),o=i(9723),s=i(4968),a=URLSearchParams,l=a.prototype,c=r(l.getAll),d=r(l.has),h=new a("a=1");!h.has("a",2)&&h.has("a",void 0)||n(l,"has",(function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&void 0===i)return d(this,e);var n=c(this,e);s(t,1);for(var r=o(i),a=0;a<n.length;)if(n[a++]===r)return!0;return!1}),{enumerable:!0,unsafe:!0})},613(e,t,i){"use strict";var n=i(5144),r=i(1212),o=i(1182),s=URLSearchParams.prototype,a=r(s.forEach);n&&!("size"in s)&&o(s,"size",{get:function(){var e=0;return a(this,(function(){e++})),e},configurable:!0,enumerable:!0})},6393(e,t,i){"use strict";i.d(t,{xI:()=>_e});var n,r=i(939);i(187),i(1190),i(9659),i(8077),i(7e3),i(7417),i(4711),i(8870),i(3952),i(1945),i(1056),i(719),i(6020),i(3262);function o(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var s={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function a(e){s=e}var l={exec:()=>null};function c(e,t=""){let i="string"==typeof e?e:e.source,n={replace:(e,t)=>{let r="string"==typeof t?t:t.source;return r=r.replace(h.caret,"$1"),i=i.replace(e,r),n},getRegex:()=>new RegExp(i,t)};return n}var d=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),h={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
vendor: 4,163 bytes, line 2
2:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},p=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,u=/(?:[*+-]|\d{1,9}[.)])/,g=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,f=c(g).replace(/bull/g,u).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),m=c(g).replace(/bull/g,u).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),y=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,_=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,v=c(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",_).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),b=c(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,u).getRegex(),w="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",A=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,k=c("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",A).replace("tag",w).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),S=c(y).replace("hr",p).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",w).getRegex(),E={blockquote:c(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",S).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:v,fences:/^ {0,3}(`{3,}
vendor: 8,847 bytes, line 2
2(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:p,html:k,lheading:f,list:b,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:S,table:l,text:/^[^\n]+/},C=c("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",p).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",w).getRegex(),T={...E,lheading:m,table:C,paragraph:c(y).replace("hr",p).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",C).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",w).getRegex()},O={...E,html:c("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",A).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:l,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:c(y).replace("hr",p).replace("heading"," *#{1,6} *[^\n]").replace("lheading",f).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},I=/^( {2,}|\\)\n(?!\s*$)/,L=/[\p{P}\p{S}]/u,D=/[\s\p{P}\p{S}]/u,x=/[^\s\p{P}\p{S}]/u,P=c(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,D).getRegex(),R=/(?!~)[\p{P}\p{S}]/u,N=c(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",d?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),M=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,B=c(M,"u").replace(/punct/g,L).getRegex(),H=c(M,"u").replace(/punct/g,R).getRegex(),$="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",V=c($,"gu").replace(/notPunctSpace/g,x).replace(/punctSpace/g,D).replace(/punct/g,L).getRegex(),F=c($,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,R).getRegex(),G=c("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,x).replace(/punctSpace/g,D).replace(/punct/g,L).getRegex(),U=c(/\\(punct)/,"gu").replace(/punct/g,L).getRegex(),j=c(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),z=c(A).replace("(?:--\x3e|$)","--\x3e").getRegex(),W=c("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",z).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),K=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Y=c(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",K).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),X=c(/^!?\[(label)\]\[(ref)\]/).replace("label",K).replace("ref",_).getRegex(),q=c(/^!?\[(ref)\](?:\[\])?/).replace("ref",_).getRegex(),Z=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Q={_backpedal:l,anyPunctuation:U,autolink:j,blockSkip:N,br:I,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:l,emStrongLDelim:B,emStrongRDelimAst:V,emStrongRDelimUnd:G,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:Y,nolink:q,punctuation:P,reflink:X,reflinkSearch:c("reflink|nolink(?!\\()","g").replace("reflink",X).replace("nolink",q).getRegex(),tag:W,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:l},J={...Q,link:c(/^!?\[(label)\]\((.*?)\)/).replace("label",K).getRegex(),reflink:c(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",K).getRegex()},ee={...Q,emStrongRDelimAst:F,emStrongLDelim:H,url:c(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Z).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:c(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Z).getRegex()},te={...ee,br:c(I).replace("{2,}","*").getRegex(),text:c(ee.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ie={normal:E,gfm:T,pedantic:O},ne={normal:Q,gfm:ee,breaks:te,pedantic:J},re={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},oe=e=>re[e];function se(e,t){if(t){if(h.escapeTest.test(e))return e.replace(h.escapeReplace,oe)}else if(h.escapeTestNoEncode.test(e))return e.replace(h.escapeReplaceNoEncode,oe);return e}function ae(e){try{e=encodeURI(e).replace(h.percentDecode,"%")}catch{return null}return e}function le(e,t){let i=e.replace(h.findPipe,((e,t,i)=>{let n=!1,r=t;for(;--r>=0&&"\\"===i[r];)n=!n;return n?"|":" |"})).split(h.splitPipe),n=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),t)if(i.length>t)i.splice(t);else for(;i.length<t;)i.push("");for(;n<i.length;n++)i[n]=i[n].trim().replace(h.slashPipe,"|");return i}function ce(e,t,i){let n=e.length;if(0===n)return"";let r=0;for(;r<n;){let o=e.charAt(n-r-1);if(o!==t||i){if(o===t||!i)break;r++}else r++}return e.slice(0,n-r)}function de(e,t,i,n,r){let o=t.href,s=t.title||null,a=e[1].replace(r.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:i,href:o,title:s,text:a,tokens:n.inlineTokens(a)};return n.state.inLink=!1,l}var he=class{constructor(e){(0,r.A)(this,"options",void 0),(0,r.A)(this,"rules",void 0),(0,r.A)(this,"lexer",void 0),this.options=e||s}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:ce(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],i=function(e,t,i){let n=e.match(i.other.indentCodeCompensation);if(null===n)return t;let r=n[1];return t.split("\n").map((e=>{let t=e.match(i.other.beginningSpace);if(null===t)return e;let[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:i}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=ce(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:ce(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=ce(t[0],"\n").split("\n"),i="",n="",r=[];for(;e.length>0;){let t,o=!1,s=[];for(t=0;t<e.length;t++)if(this.rules.other.blockquoteStart.test(e[t]))s.push(e[t]),o=!0;else{if(o)break;s.push(e[t])}e=e.slice(t);let a=s.join("\n"),l=a.replace(this.rules.other.blockquoteSetextReplace,"\n    $1").replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}\n${a}`:a,n=n?`${n}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,r,!0),this.lexer.state.top=c,
20===e.length)break;let d=r.at(-1);if("code"===d?.type)break;if("blockquote"===d?.type){let t=d,o=t.raw+"\n"+e.join("\n"),s=this.blockquote(o);r[r.length-1]=s,i=i.substring(0,i.length-t.raw.length)+s.raw,n=n.substring(0,n.length-t.text.length)+s.text;break}if("list"!==d?.type);else{let t=d,o=t.raw+"\n"+e.join("\n"),s=this.list(o);r[r.length-1]=s,i=i.substring(0,i.length-d.raw.length)+s.raw,n=n.substring(0,n.length-t.raw.length)+s.raw,e=o.substring(r.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:i,tokens:r,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let i=t[1].trim(),n=i.length>1,r={type:"list",raw:"",ordered:n,start:n?+i.slice(0,-1):"",loose:!1,items:[]};i=n?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=n?i:"[*+-]");let o=this.rules.other.listItemRegex(i),s=!1;for(;e;){let i=!1,n="",a="";if(!(t=o.exec(e))||this.rules.block.hr.test(e))break;n=t[0],e=e.substring(n.length);let l=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],d=!l.trim(),h=0;if(this.options.pedantic?(h=2,a=l.trimStart()):d?h=t[1].length+1:(h=t[2].search(this.rules.other.nonSpaceChar),h=h>4?1:h,a=l.slice(h),h+=t[1].length),d&&this.rules.other.blankLine.test(c)&&(n+=c+"\n",e=e.substring(c.length+1),i=!0),!i){let t=this.rules.other.nextBulletRegex(h),i=this.rules.other.hrRegex(h),r=this.rules.other.fencesBeginRegex(h),o=this.rules.other.headingBeginRegex(h),s=this.rules.other.htmlBeginRegex(h);for(;e;){let p,u=e.split("\n",1)[0];if(c=u,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting,"  "),p=c):p=c.replace(this.rules.other.tabCharGlobal,"    "),r.test(c)||o.test(c)||s.test(c)||t.test(c)||i.test(c))break;if(p.search(this.rules.other.nonSpaceChar)>=h||!c.trim())a+="\n"+p.slice(h);else{if(d||l.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||r.test(l)||o.test(l)||i.test(l))break;a+="\n"+c}!d&&!c.trim()&&(d=!0),n+=u+"\n",e=e.substring(u.length+1),l=p.slice(h)}}r.loose||(s?r.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(s=!0));let p,u=null;this.options.gfm&&(u=this.rules.other.listIsTask.exec(a),u&&(p="[ ] "!==u[0],a=a.replace(this.rules.other.listReplaceTask,""))),r.items.push({type:"list_item",raw:n,task:!!u,checked:p,loose:!1,text:a,tokens:[]}),r.raw+=n}let a=r.items.at(-1);if(!a)return;a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),r.raw=r.raw.trimEnd();for(let e=0;e<r.items.length;e++)if(this.lexer.state.top=!1,r.items[e].tokens=this.lexer.blockTokens(r.items[e].text,[]),!r.loose){let t=r.items[e].tokens.filter((e=>"space"===e.type)),i=t.length>0&&t.some((e=>this.rules.other.anyLine.test(e.raw)));r.loose=i}if(r.loose)for(let e=0;e<r.items.length;e++)r.items[e].loose=!0;return r}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:i,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let i=le(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],o={type:"table",raw:t[0],header:[],align:[],rows:[]};if(i.length===n.length){for(let e of n)this.rules.other.tableAlignRight.test(e)?o.align.push("right"):this.rules.other.tableAlignCenter.test(e)?o.align.push("center"):this.rules.other.tableAlignLeft.test(e)?o.align.push("left"):o.align.push(null);for(let e=0;e<i.length;e++)o.header.push({text:i[e],tokens:this.lexer.inline(i[e]),header:!0,align:o.align[e]});for(let e of r)o.rows.push(le(e,o.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:o.align[t]}))));return o}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=ce(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}
vendor: 5,483 bytes, line 2
2else{let e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let i=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if(e[n]===t[0])i++;else if(e[n]===t[1]&&(i--,i<0))return n;return i>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let i=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,i).trim(),t[3]=""}}let i=t[2],n="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(i);e&&(i=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(i=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?i.slice(1):i.slice(1,-1)),de(t,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let i;if((i=this.rules.inline.reflink.exec(e))||(i=this.rules.inline.nolink.exec(e))){let e=t[(i[2]||i[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=i[0].charAt(0);return{type:"text",raw:e,text:e}}return de(i,e,i[0],this.lexer,this.rules)}}emStrong(e,t,i=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&i.match(this.rules.other.unicodeAlphaNumeric))&&(!n[1]&&!n[2]||!i||this.rules.inline.punctuation.exec(i))){let i,r,o=[...n[0]].length-1,s=o,a=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+o);null!=(n=l.exec(t));){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!i)continue;if(r=[...i].length,n[3]||n[4]){s+=r;continue}if((n[5]||n[6])&&o%3&&!((o+r)%3)){a+=r;continue}if(s-=r,s>0)continue;r=Math.min(r,r+s+a);let t=[...n[0]][0].length,l=e.slice(0,o+n.index+t+r);if(Math.min(o,r)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(e),n=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return i&&n&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,i;return"@"===t[2]?(e=t[1],i="mailto:"+e):(e=t[1],i=e),{type:"link",raw:t[0],text:e,href:i,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,i;if("@"===t[2])e=t[0],i="mailto:"+e;else{let n;do{n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(n!==t[0]);e=t[0],i="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:i,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},pe=class e{constructor(e){(0,r.A)(this,"tokens",void 0),(0,r.A)(this,"options",void 0),(0,r.A)(this,"state",void 0),(0,r.A)(this,"tokenizer",void 0),(0,r.A)(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||s,this.options.tokenizer=this.options.tokenizer||new he,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:h,block:ie.normal,inline:ne.normal};this.options.pedantic?(t.block=ie.pedantic,t.inline=ne.pedantic):this.options.gfm&&(t.block=ie.gfm,this.options.breaks?t.inline=ne.breaks:t.inline=ne.gfm),this.tokenizer.rules=t}static get rules(){return{block:ie,inline:ne}}static lex(t,i){return new e(i).lex(t)}static lexInline(t,i){return new e(i).inlineTokens(t)}lex(e){e=e.replace(h.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],i=!1){for(this.options.pedantic&&(e=e.replace(h.tabCharGlobal,"    ").replace(h.spaceLine,""));e;){let n;if(this.options.extensions?.block?.some((i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0))))continue;if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length);let i=t.at(-1);1===n.raw.length&&void 0!==i?i.raw+="\n":t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length);let i=t.at(-1);"paragraph"===i?.type||"text"===i?.type?(i.raw+=(i.raw.endsWith("\n")?"":"\n")+n.raw,i.text+="\n"+n.text,this.inlineQueue.at(-1).src=i.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length);let i=t.at(-1);"paragraph"===i?.type||"text"===i?.type?(i.raw+=(i.raw.endsWith("\n")?"":"\n")+n.raw,i.text+="\n"+n.raw,this.inlineQueue.at(-1).src=i.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}
2,t.push(n));continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}let r=e;if(this.options.extensions?.startBlock){let t,i=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach((e=>{t=e.call({lexer:this},n),"number"==typeof t&&t>=0&&(i=Math.min(i,t))})),i<1/0&&i>=0&&(r=e.substring(0,i+1))}if(this.state.top&&(n=this.tokenizer.paragraph(r))){let o=t.at(-1);i&&"paragraph"===o?.type?(o.raw+=(o.raw.endsWith("\n")?"":"\n")+n.raw,o.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):t.push(n),i=r.length!==e.length,e=e.substring(n.raw.length)}else if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length);let i=t.at(-1);"text"===i?.type?(i.raw+=(i.raw.endsWith("\n")?"":"\n")+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):t.push(n)}else if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let i,n=e,r=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(n));)e.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(n));)n=n.slice(0,r.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(n));)i=r[2]?r[2].length:0,n=n.slice(0,r.index+i)+"["+"a".repeat(r[0].length-i-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let o=!1,s="";for(;e;){let i;if(o||(s=""),o=!1,this.options.extensions?.inline?.some((n=>!!(i=n.call({lexer:this},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0))))continue;if(i=this.tokenizer.escape(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.tag(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.link(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(i.raw.length);let n=t.at(-1);"text"===i.type&&"text"===n?.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if(i=this.tokenizer.emStrong(e,n,s)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.codespan(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.br(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.del(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.autolink(e)){e=e.substring(i.raw.length),t.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(e))){e=e.substring(i.raw.length),t.push(i);continue}let r=e;if(this.options.extensions?.startInline){let t,i=1/0,n=e.slice(1);this.options.extensions.startInline.forEach((e=>{t=e.call({lexer:this},n),"number"==typeof t&&t>=0&&(i=Math.min(i,t))})),i<1/0&&i>=0&&(r=e.substring(0,i+1))}if(i=this.tokenizer.inlineText(r)){e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(s=i.raw.slice(-1)),o=!0;let n=t.at(-1);"text"===n?.type?(n.raw+=i.raw,n.text+=i.text):t.push(i)}else if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}},ue=class{constructor(e){(0,r.A)(this,"options",void 0),(0,r.A)(this,"parser",void 0),this.options=e||s}space(e){return""}code({text:e,lang:t,escaped:i}){let n=(t||"").match(h.notSpaceStart)?.[0],r=e.replace(h.endingNewline,"")+"\n";return n?'<pre><code class="language-'+se(n)+'">'+(i?r:se(r,!0))+"</code></pre>\n":"<pre><code>"+(i?r:se(r,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){let t=e.ordered,i=e.start,n="";for(let t=0;t<e.items.length;t++){let i=e.items[t];n+=this.listitem(i)}let r=t?"ol":"ul";return"<"+r+(t&&1!==i?' start="'+i+'"':"")+">\n"+n+"</"+r+">\n"}listitem(e){let t="";if(e.task){let i=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===e.tokens[0]?.type?(e.tokens[0].text=i+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=i+" "+se(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:i+" ",text:i+" ",escaped:!0}):t+=i+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",i="";for(let t=0;t<e.header.length;t++)i+=this.tablecell(e.header[t]);t+=this.tablerow({text:i});let n="";for(let t=0;t<e.rows.length;t++){let r=e.rows[t];i="";for(let e=0;e<r.length;e++)i+=this.tablecell(r[e]);n+=this.tablerow({text:i})}return n&&(n=`<tbody>${n}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+n+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){let t=this.parser.parseInline(e.tokens),i=e.header?"th":"td";return(e.align?`<${i} align="${e.align}">`:`<${i}>`)+t+`</${i}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${se(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:i}){let n=this.parser.parseInline(i),r=ae(e);if(null===r)return n;let o='<a href="'+(e=r)+'"';return t&&(o+=' title="'+se(t)+'"'),o+=">"+n+"</a>",o}image({href:e,title:t,text:i,tokens:n}){n&&(i=this.parser.parseInline(n,this.parser.textRenderer));let r=ae(e);if(null===r)return se(i);let o=`<img src="${e=r}" alt="${i}"`;return t&&(o+=` title="${se(t)}"`),o+=">",o}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:se(e.text)}},ge=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},fe=class e{constructor(e){(0,r.A)(this,"options",void 0),(0,r.A)(this,"renderer",void 0),(0,r.A)(this,"textRenderer",void 0),this.options=e||s,this.options.renderer=this.options.renderer||new ue,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ge}static parse(t,i){return new e(i).parse(t)}
2static parseInline(t,i){return new e(i).parseInline(t)}parse(e,t=!0){let i="";for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=r,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(e.type)){i+=t||"";continue}}let o=r;switch(o.type){case"space":i+=this.renderer.space(o);continue;case"hr":i+=this.renderer.hr(o);continue;case"heading":i+=this.renderer.heading(o);continue;case"code":i+=this.renderer.code(o);continue;case"table":i+=this.renderer.table(o);continue;case"blockquote":i+=this.renderer.blockquote(o);continue;case"list":i+=this.renderer.list(o);continue;case"html":i+=this.renderer.html(o);continue;case"def":i+=this.renderer.def(o);continue;case"paragraph":i+=this.renderer.paragraph(o);continue;case"text":{let r=o,s=this.renderer.text(r);for(;n+1<e.length&&"text"===e[n+1].type;)r=e[++n],s+="\n"+this.renderer.text(r);i+=t?this.renderer.paragraph({type:"paragraph",raw:s,text:s,tokens:[{type:"text",raw:s,text:s,escaped:!0}]}):s;continue}default:{let e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return i}parseInline(e,t=this.renderer){let i="";for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=this.options.extensions.renderers[r.type].call({parser:this},r);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)){i+=e||"";continue}}let o=r;switch(o.type){case"escape":case"text":i+=t.text(o);break;case"html":i+=t.html(o);break;case"link":i+=t.link(o);break;case"image":i+=t.image(o);break;case"strong":i+=t.strong(o);break;case"em":i+=t.em(o);break;case"codespan":i+=t.codespan(o);break;case"br":i+=t.br(o);break;case"del":i+=t.del(o);break;default:{let e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return i}},me=(n=class{constructor(e){(0,r.A)(this,"options",void 0),(0,r.A)(this,"block",void 0),this.options=e||s}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?pe.lex:pe.lexInline}provideParser(){return this.block?fe.parse:fe.parseInline}},(0,r.A)(n,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),(0,r.A)(n,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),n),ye=new class{constructor(...e){(0,r.A)(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),(0,r.A)(this,"options",this.setOptions),(0,r.A)(this,"parse",this.parseMarkdown(!0)),(0,r.A)(this,"parseInline",this.parseMarkdown(!1)),(0,r.A)(this,"Parser",fe),(0,r.A)(this,"Renderer",ue),(0,r.A)(this,"TextRenderer",ge),(0,r.A)(this,"Lexer",pe),(0,r.A)(this,"Tokenizer",he),(0,r.A)(this,"Hooks",me),this.use(...e)}walkTokens(e,t){let i=[];for(let n of e)switch(i=i.concat(t.call(this,n)),n.type){case"table":{let e=n;for(let n of e.header)i=i.concat(this.walkTokens(n.tokens,t));for(let n of e.rows)for(let e of n)i=i.concat(this.walkTokens(e.tokens,t));break}case"list":{let e=n;i=i.concat(this.walkTokens(e.items,t));break}default:{let e=n;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach((n=>{let r=e[n].flat(1/0);i=i.concat(this.walkTokens(r,t))})):e.tokens&&(i=i.concat(this.walkTokens(e.tokens,t)))}}return i}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{let i={...e};if(i.async=this.defaults.async||i.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){let i=t.renderers[e.name];t.renderers[e.name]=i?function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=i.apply(this,t)),n}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");let i=t[e.level];i?i.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),i.extensions=t),e.renderer){let t=this.defaults.renderer||new ue(this.defaults);for(let i in e.renderer){if(!(i in t))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let n=i,r=e.renderer[n],o=t[n];t[n]=(...e)=>{let i=r.apply(t,e);return!1===i&&(i=o.apply(t,e)),i||""}}i.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new he(this.defaults);for(let i in e.tokenizer){if(!(i in t))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let n=i,r=e.tokenizer[n],o=t[n];t[n]=(...e)=>{let i=r.apply(t,e);return!1===i&&(i=o.apply(t,e)),i}}i.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new me;for(let i in e.hooks){if(!(i in t))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let n=i,r=e.hooks[n],o=t[n];me.passThroughHooks.has(i)?t[n]=e=>{if(this.defaults.async&&me.passThroughHooksRespectAsync.has(i))return(async()=>{let i=await r.call(t,e);return o.call(t,i)})();let n=r.call(t,e);return o.call(t,n)}:t[n]=(...e)=>{if(this.defaults.async)return(async()=>{let i=await r.apply(t,e);return!1===i&&(i=await o.apply(t,e)),i})();let i=r.apply(t,e);return!1===i&&(i=o.apply(t,e)),i}}i.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;i.walkTokens=function(e){let i=[];return i.push(n.call(this,e)),t&&(i=i.concat(t.call(this,e))),i}}this.defaults={...this.defaults,...i}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return pe.lex(e,t??this.defaults)}parser(e,t){return fe.parse(e,t??this.defaults)}parseMarkdown(e){return(t,i)=>{let n={...i},r={...this.defaults,...n},o=this.onError(!!r.silent,!!r.async);if(!0===this.defaults.async&&!1===n.async)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(r.hooks&&(r.hooks.options=r,r.hooks.block=e),r.async)return(async()=>{let i=r.hooks?await r.hooks.preprocess(t):t,n=await(r.hooks?await r.hooks.provideLexer():e?pe.lex:pe.lexInline)(i,r),o=r.hooks?await r.hooks.processAllTokens(n):n;r.walkTokens&&await Promise.all(this.walkTokens(o,r.walkTokens));let s=await(r.hooks?await r.hooks.provideParser():e?fe.parse:fe.parseInline)(o,r);return r.hooks?await r.hooks.postprocess(s):s})().catch(o);try{r.hooks&&(t=r.hooks.preprocess(t));let i=(r.hooks?r.hooks.provideLexer():e?pe.lex:pe.lexInline)(t,r);r.hooks&&(i=r.hooks.processAllTokens(i)),r.walkTokens&&this.walkTokens(i,r.walkTokens);let n=(r.hooks?r.hooks.provideParser():e?fe.parse:fe.parseInline)(i,r);return r.hooks&&(n=r.hooks.postprocess(n)),n}catch(e){return o(e)}}}onError(e,t){return i=>{if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+se(i.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(i);throw i}}};function _e(e,t){return ye.parse(e,t)}_e.options=_e.setOptions=function(e){return ye.setOptions(e),_e.defaults=ye.defaults,a(_e.defaults),_e},_e.getDefaults=o,_e.defaults=s,_e.use=function(...e){return ye.use(...e),_e.defaults=ye.defaults,a(_e.defaults),_e},_e.walkTokens=function(e,t){return ye.walkTokens(e,t)},_e.parseInline=ye.parseInline,_e.Parser=fe,_e.parser=fe.parse,_e.Renderer=ue,_e.TextRenderer=ge,_e.Lexer=pe,_e.lexer=pe.lex,_e.Tokenizer=he,_e.Hooks=me,_e.parse=_e;_e.options,_e.setOptions,_e.use,_e.walkTokens,_e.parseInline,fe.parse,pe.lex},939(e,t,i){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}function o(e,t,i){return(t=r(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}i.d(t,{A:()=>
2o})},4180(e,t,i){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},n.apply(null,arguments)}i.d(t,{A:()=>n})},4134(e,t,i){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function r(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}i.d(t,{A:()=>r})},4831(e,t,i){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}i.d(t,{A:()=>r});var r=function e(t,i){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=n({},i,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in o)o[a]&&(s+="; "+a,!0!==o[a]&&(s+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+s}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var i=document.cookie?document.cookie.split("; "):[],n={},r=0;r<i.length;r++){var o=i[r].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(n[a]=t.read(s,a),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){r(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},4296(e,t,i){"use strict";i.d(t,{Ay:()=>$,XX:()=>B,h:()=>a,uA:()=>M});var n=function(){},r={},o=[],s=[];function a(e,t){var i,a,l,c,d=s;for(c=arguments.length;c-- >2;)o.push(arguments[c]);for(t&&null!=t.children&&(o.length||o.push(t.children),delete t.children);o.length;)if((a=o.pop())&&void 0!==a.pop)for(c=a.length;c--;)o.push(a[c]);else"boolean"==typeof a&&(a=null),(l="function"!=typeof e)&&(null==a?a="":"number"==typeof a?a=String(a):"string"!=typeof a&&(l=!1)),l&&i?d[d.length-1]+=a:d===s?d=[a]:d.push(a),i=l;var h=new n;return h.nodeName=e,h.children=d,h.attributes=null==t?void 0:t,h.key=null==t?void 0:t.key,void 0!==r.vnode&&r.vnode(h),h}function l(e,t){for(var i in t)e[i]=t[i];return e}function c(e,t){e&&("function"==typeof e?e(t):e.current=t)}var d="function"==typeof Promise?Promise.resolve().then.bind(Prom
vendor: 7,543 bytes, line 2
2ise.resolve()):setTimeout;var h=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,p=[];function u(e){!e._dirty&&(e._dirty=!0)&&1==p.push(e)&&(r.debounceRendering||d)(g)}function g(){for(var e;e=p.pop();)e._dirty&&R(e)}function f(e,t,i){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&m(e,t.nodeName):i||e._componentConstructor===t.nodeName}function m(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function y(e){var t=l({},e.attributes);t.children=e.children;var i=e.nodeName.defaultProps;if(void 0!==i)for(var n in i)void 0===t[n]&&(t[n]=i[n]);return t}function _(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,i,n,r){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)c(i,null),c(n,e);else if("class"!==t||r)if("style"===t){if(n&&"string"!=typeof n&&"string"!=typeof i||(e.style.cssText=n||""),n&&"object"==typeof n){if("string"!=typeof i)for(var o in i)o in n||(e.style[o]="");for(var o in n)e.style[o]="number"==typeof n[o]&&!1===h.test(o)?n[o]+"px":n[o]}}else if("dangerouslySetInnerHTML"===t)n&&(e.innerHTML=n.__html||"");else if("o"==t[0]&&"n"==t[1]){var s=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),n?i||e.addEventListener(t,b,s):e.removeEventListener(t,b,s),(e._listeners||(e._listeners={}))[t]=n}else if("list"!==t&&"type"!==t&&!r&&t in e){try{e[t]=null==n?"":n}catch(e){}null!=n&&!1!==n||"spellcheck"==t||e.removeAttribute(t)}else{var a=r&&t!==(t=t.replace(/^xlink:?/,""));null==n||!1===n?a?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof n&&(a?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):e.setAttribute(t,n))}else e.className=n||""}function b(e){return this._listeners[e.type](r.event&&r.event(e)||e)}var w=[],A=0,k=!1,S=!1;function E(){for(var e;e=w.shift();)r.afterMount&&r.afterMount(e),e.componentDidMount&&e.componentDidMount()}function C(e,t,i,n,r,o){A++||(k=null!=r&&void 0!==r.ownerSVGElement,S=null!=e&&!("__preactattr_"in e));var s=T(e,t,i,n,o);return r&&s.parentNode!==r&&r.appendChild(s),--A||(S=!1,o||E()),s}function T(e,t,i,n,r){var o=e,s=k;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(o=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(o,e),O(e,!0))),o.__preactattr_=!0,o;var a,l,c=t.nodeName;if("function"==typeof c)return function(e,t,i,n){var r=e&&e._component,o=r,s=e,a=r&&e._componentConstructor===t.nodeName,l=a,c=y(t);for(;r&&!l&&(r=r._parentComponent);)l=r.constructor===t.nodeName;r&&l&&(!n||r._component)?(P(r,c,3,i,n),e=r.base):(o&&!a&&(N(o),e=s=null),r=D(t.nodeName,c,i),e&&!r.nextBase&&(r.nextBase=e,s=null),P(r,c,1,i,n),e=r.base,s&&e!==s&&(s._component=null,O(s,!1)));return e}(e,t,i,n);if(k="svg"===c||"foreignObject"!==c&&k,c=String(c),(!e||!m(e,c))&&(a=c,(l=k?document.createElementNS("http://www.w3.org/2000/svg",a):document.createElement(a)).normalizedNodeName=a,o=l,e)){for(;e.firstChild;)o.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(o,e),O(e,!0)}var d=o.firstChild,h=o.__preactattr_,p=t.children;if(null==h){h=o.__preactattr_={};for(var u=o.attributes,g=u.length;g--;)h[u[g].name]=u[g].value}return!S&&p&&1===p.length&&"string"==typeof p[0]&&null!=d&&void 0!==d.splitText&&null==d.nextSibling?d.nodeValue!=p[0]&&(d.nodeValue=p[0]):(p&&p.length||null!=d)&&function(e,t,i,n,r){var o,s,a,l,c,d=e.childNodes,h=[],p={},u=0,g=0,m=d.length,y=0,v=t?t.length:0;if(0!==m)for(var b=0;b<m;b++){var w=d[b],A=w.__preactattr_;null!=(k=v&&A?w._component?w._component.__key:A.key:null)?(u++,p[k]=w):(A||(void 0!==w.splitText?!r||w.nodeValue.trim():r))&&(h[y++]=w)}if(0!==v)for(b=0;b<v;b++){var k;if(c=null,null!=(k=(l=t[b]).key))u&&void 0!==p[k]&&(c=p[k],p[k]=void 0,u--);else if(g<y)for(o=g;o<y;o++)if(void 0!==h[o]&&f(s=h[o],l,r)){c=s,h[o]=void 0,o===y-1&&y--,o===g&&g++;break}c=T(c,l,i,n),a=d[b],c&&c!==e&&c!==a&&(null==a?e.appendChild(c):c===a.nextSibling?_(a):e.insertBefore(c,a))}if(u)for(var b in p)void 0!==p[b]&&O(p[b],!1);for(;g<=y;)void 0!==(c=h[y--])&&O(c,!1)}(o,p,i,n,S||null!=h.dangerouslySetInnerHTML),function(e,t,i){var n;for(n in i)t&&null!=t[n]||null==i[n]||v(e,n,i[n],i[n]=void 0,k);for(n in t)"children"===n||"innerHTML"===n||n in i&&t[n]===("value"===n||"checked"===n?e[n]:i[n])||v(e,n,i[n],i[n]=t[n],k)}(o,t.attributes,h),k=s,o}function O(e,t){var i=e._component;i?N(i):(null!=e.__preactattr_&&c(e.__preactattr_.ref,null),!1!==t&&null!=e.__preactattr_||_(e),I(e))}function I(e){for(e=e.lastChild;e;){var t=e.previousSibling;O(e,!0),e=t}}var L=[];function D(e,t,i){var n,r=L.length;for(e.prototype&&e.prototype.render?(n=new e(t,i),M.call(n,t,i)):((n=new M(t,i)).constructor=e,n.render=x);r--;)if(L[r].constructor===e)return n.nextBase=L[r].nextBase,L.splice(r,1),n;return n}function x(e,t,i){return this.constructor(e,i)}function P(e,t,i,n,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,n)),n&&n!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=n),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==i&&(1!==i&&!1===r.syncComponentUpdates&&e.base?u(e):R(e,1,o)),c(e.__ref,e))}function R(e,t,i,n){if(!e._disable){var o,s,a,c=e.props,d=e.state,h=e.context,p=e.prevProps||c,u=e.prevState||d,g=e.prevContext||h,f=e.base,m=e.nextBase,_=f||m,v=e._component,b=!1,k=g;if(e.constructor.getDerivedStateFromProps&&(d=l(l({},d),e.constructor.getDerivedStateFromProps(c,d)),e.state=d),f&&(e.props=p,e.state=u,e.context=g,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(c,d,h)?b=!0:e.componentWillUpdate&&e.componentWillUpdate(c,d,h),e.props=c,e.state=d,e.context=h),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!b){o=e.render(c,d,h),e.getChildContext&&(h=l(l({},h),e.getChildContext())),f&&e.getSnapshotBeforeUpdate&&(k=e.getSnapshotBeforeUpdate(p,u));var S,T,I=o&&o.nodeName;if("function"==typeof I){var L=y(o);(s=v)&&s.constructor===I&&L.key==s.__key?P(s,L,1,h,!1):(S=s,e._component=s=D(I,L,h),s.nextBase=s.nextBase||m,s._parentComponent=e,P(s,L,0,h,!1),R(s,1,i,!0)),T=s.base}else a=_,(S=v)&&(a=e._component=null),(_||1===t)&&(a&&(a._component=null),T=C(a,o,h,i||!f,_&&_.parentNode,!0));if(_&&T!==_&&s!==v){var x=_.parentNode;x&&T!==x&&(x.replaceChild(T,_),S||(_._component=null,O(_,!1)))}if(S&&N(S),e.base=T,T&&!n){for(var M=e,B=e;B=B._parentComponent;)(M=B).base=T;T._component=M,T._componentConstructor=M.constructor}}for(!f||i?w.push(e):b||(e.componentDidUpdate&&e.componentDidUpdate(p,u,k),r.afterUpdate&&r.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);A||n||E()}}function N(e){r.beforeUnmount&&r.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var i=e._component;i?N(i):t&&(null!=t.__preactattr_&&c(t.__preactattr_.ref,null),e.nextBase=t,_(t),L.push(e),I(t)),c(e.__ref,null)}function M(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function B(e,t,i){return C(i,e,{},!1,t,!1)}l(M.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=l(l({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),u(this)}
2,forceUpdate:function(e){e&&this._renderCallbacks.push(e),R(this,2)},render:function(){}});var H={h:a,createElement:a,cloneElement:function(e,t){return a(e.nodeName,l(l({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)},createRef:function(){return{}},Component:M,render:B,rerender:g,options:r};const $=H}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={exports:{}};return r[e].call(i.exports,i,i.exports,s),i.exports}s.m=r,s.amdO={},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"==typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"==typeof i.then)return i}var r=Object.create(null);s.r(r);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&i;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>o[e]=()=>i[e]));return o.default=()=>i,s.d(r,o),r},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,i)=>(s.f[i](e,t),t)),[])),s.u=e=>"js/"+({57:"externalLinkModal",102:"calendarRemind",128:"filmPage",326:"sync",376:"trailerOverlay",408:"pressKit",421:"customScroll",494:"userFeedbackModal",505:"homeEnt2",528:"sectionBackground",650:"pressKitGalleryOverlay",680:"showtimes2",731:"cookiesPreference",737:"homeEnt",750:"showtimes",769:"signUpForm",772:"cookies",858:"landingAudio",873:"ageGate",956:"geoPopup",962:"home",972:"debugInfo"}[e]||e)+".bolt.js?v="+{9:"580f4cc7b28b2454e507",57:"35767d110dfdd7b85307",102:"0b9bf8c58202a297c61a",128:"9baf94e66585e5790d62",225:"e6617052cd4331a318fd",317:"71ee455e7ff1ee3171d0",326:"a7f72e0f732d0a25b377",376:"757b65833ee45c28e907",408:"5637c04de76658df00fc",421:"b80f24ad811f347cc1c9",462:"9ddc40cdfce2479bb66c",494:"32c695624e678a36d5c6",505:"a9fbdf9dbb869fccb646",528:"41f3dd1130b2b4e3ab6e",553:"3974a0acc0cb246118a3",588:"1a30227897952b7c2404",650:"954c685e0dfd44f29d06",656:"bdba191c3b7db9b1a7d6",680:"030ba467ae2b7cf8d076",691:"c1d95e777da97d3ff6bd",731:"8d0bf075b79f95490bfe",737:"011273f1ece9a9ee25d2",750:"f531f39f623efca20544",769:"3c73c6d249dc94af7266",770:"9072b0164912585fc940",772:"2a2ad55471f36e0f86f6",858:"7d4457cd99005561f84f",873:"862a6bfea57777c6b398",935:"6d21f154ed442077ad7b",952:"e3977a687c4dccb2cadc",956:"0327b2b6c3756da51e82",962:"120bff6651ed9fc81b3e",972:"774ee4354f1429536e84"}[e],s.miniCssF=e=>772===e?"css/772.bolt.css?v=2a2ad55471f36e0f86f6":731===e?"css/731.bolt.css?v=8d0bf075b79f95490bfe":873===e?"css/873.bolt.css?v=862a6bfea57777c6b398":57===e?"css/57.bolt.css?v=35767d110dfdd7b85307":494===e?"css/494.bolt.css?v=32c695624e678a36d5c6":956===e?"css/956.bolt.css?v=0327b2b6c3756da51e82":650===e?"css/650.bolt.css?v=954c685e0dfd44f29d06":858===e?"css/858.bolt.css?v=7d4457cd99005561f84f":769===e?"css/769.bolt.css?v=3c73c6d249dc94af7266":102===e?"css/102.bolt.css?v=0b9bf8c58202a297c61a":972===e?"css/972.bolt.css?v=774ee4354f1429536e84":376===e?"css/376.bolt.css?v=757b65833ee45c28e907":962===e?"css/962.bolt.css?v=120bff6651ed9fc81b3e":421===e?"css/421.bolt.css?v=b80f24ad811f347cc1c9":935===e?"css/935.bolt.css?v=6d21f154ed442077ad7b":462===e?"css/462.bolt.css?v=9ddc40cdfce2479bb66c":680===e?"css/680.bolt.css?v=030ba467ae2b7cf8d076":505===e?"css/505.bolt.css?v=a9fbdf9dbb869fccb646":128===e?"css/128.bolt.css?v=9baf94e66585e5790d62":528===e?"css/528.bolt.css?v=41f3dd1130b2b4e3ab6e":750===e?"css/750.bolt.css?v=f531f39f623efca20544":737===e?"css/737.bolt.css?v=011273f1ece9a9ee25d2":408===e?"css/408.bolt.css?v=5637c04de76658df00fc":void 0,s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i={},n="thundr:",s.l=(e,t,r,o)=>{if(i[e])i[e].push(t);else{var a,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var h=c[d];if(h.getAttribute("src")==e||h.getAttribute("data-webpack")==n+r){a=h;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",n+r),a.src=e),i[e]=[t];var p=(t,n)=>{a.onerror=a.onload=null,clearTimeout(u);var r=i[e];if(delete i[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},u=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),l&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(e,"__esModule",{value:!0})},s.p="",(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,i)=>{var n=s.miniCssF(e),r=s.p+n;if(((e,t)=>{for(var i=document.getElementsByTagName("link"),n=0;n<i.length;n++){var r=(s=i[n]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(r===e||r===t))return s}var o=document.getElementsByTagName("style");for(n=0;n<o.length;n++){var s;if((r=(s=o[n]).getAttribute("data-href"))===e||r===t)return s}})(n,r))return t();((e,t,i,n,r)=>{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",s.nc&&(o.nonce=s.nc),o.onerror=o.onload=i=>{if(o.onerror=o.onload=null,"load"===i.type)n();else{var s=i&&i.type,a=i&&i.target&&i.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=s,l.request=a,o.parentNode&&o.parentNode.removeChild(o),r(l)}},o.href=t,i?i.parentNode.insertBefore(o,i.nextSibling):document.head.appendChild(o)})(e,r,null,t,i)})),t={240:0};s.f.miniCss=(i,n)=>{t[i]?n.push(t[i]):0!==t[i]&&{57:1,102:1,128:1,376:1,408:1,421:1,462:1,494:1,505:1,528:1,650:1,680:1,731:1,737:1,750:1,769:1,772:1,858:1,873:1,935:1,956:1,962:1,972:1}[i]&&n.push(t[i]=e(i).then((()=>{t[i]=0}),(e=>{throw delete t[i],e})))}}})(),(()=>{var e={240:0};s.f.j=(t,i)=>{var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)i.push(n[2]);else{var r=new Promise(((i,r)=>n=e[t]=[i,r]));i.push(n[2]=r);var o=s.p+s.u(t),a=new Error;s.l(o,(i=>{if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var r=i&&("load"===i.type?"missing":i.type),o=i&&i.target&&i.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+o+")",a.name="ChunkLoadError",a.type=r,a.request=o,n[1](a)}}),"chunk-"+t,t)}};var t=(t,i)=>{var n,r,[o,a,l]=i,c=0;if(o.some((t=>0!==e[t]))){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(l)l(s)}for(t&&t(i);c<o.length;c++)r=o[c],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0},i=("undefined"!=typeof self?self:this).webpackChunkthundr=("undefined"!=typeof self?self:this).webpackChunkthundr||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();return(()=>{"use strict";s(2507),s(7005);var e=s(4296),t=s(9248),i=(s(9659),s(3552),s(5359),s(7417),s(187),s(1190),s(7e3),s(4134));s(8077),s(4711);var n=!1;if("undefined"!=typeof window){var r={get passive(){n=!0}};window.addEventListener("testPassive",null,r),window.removeEventListener("testPassive",null,r)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),a=[],l=!1,c=-1,d=void 0,h=void 0,p=function(e){return a.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},u=function(e){var t=e||window.event;return!!p(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},g=function(){void 0!==h&&(document.body.style.paddingRight=h,h=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)},f=function(e,t){if(e){if(!a.some((function(t){return t.targetElement===e}))){var i={targetElement:e,options:t||{}};a=[].concat(function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}(a),[i]),o?(e.ontouchstart=function(e){1===e.targetTouches.length&&(c=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var i=e.targetTouches[0].clientY-c;!p(e.target)&&(t&&0===t.scrollTop&&i>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&i<0?u(e):e.stopPropagation())}(t,e)},l||(document.addEventListener("touchmove",u,n?{passive:!1}:void 0),l=!0)):function(e){if(void 0===h){var t=!!e&&!0===e.reserveScrollBarGap,i=window.innerWidth-document.documentElement.clientWidth;t&&i>0&&(h=document.body.style.paddingRight,document.body.style.paddingRight=i+"px")}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},m=function(e){e?(a=a.filter((function(t){return t.targetElement!==e})),o?(e.ontouchstart=null,e.ontouchmove=null,l&&0===a.length&&(document.removeEventListener("touchmove",u,n?{passive:!1}:void 0),l=!1)):a.length||g()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}
2,y=s(5169),_=s(1158),v=s(489),b=(s(3559),s(9986),s(613),s(7959));let w=0;const A={city:null,countryCode:null,countryName:null,lat:null,loading:null,lon:null,region:null,state:null};_.A.on("SET_USER_LOCATION",(async(e,t,i)=>{let n=_.A.get().client.geo,r=n.loading;r||(r=(0,b.A)(),n.set({loading:r}).now());let o=++w;try{e=await("function"==typeof e?e():e)}catch(e){}if(o!==w)return;let s=_.A.get().client.geo.set({loading:null});if(!e||!e.lat||!e.lon)return r.resolve();const a={...A,...e};!a.city&&a.label&&(a.city=a.label),!a.countryCode&&a.country&&(a.countryCode=a.country,delete a.country),s.set(a).now(),_.A.emit("USER_LOCATION_UPDATED",{geo:a,source:t,ticketType:i}),r.resolve(a)}));var k=s(6430);function S(e){const i=_.A.get(),n=i?.client?.isDesktopSize,r=i?.appData?.options?.forceScrollOffsetForSection?.[e]?.desktop||i?.appData?.options?.forceScrollOffsetDesktop;if(n&&r)return+r;const o=i?.appData?.options?.forceScrollOffsetForSection?.[e]?.mobile||i?.appData?.options?.forceScrollOffsetMobile;return o?+o:i?.appData?.header?.uarHeader?n?80:64:"boltHome"===e?0:n?function(e,i){if(e?.appData?.header?.powsterHeader?.solidBackground)return(0,t.vF)();const n=e?.appData?.options?.sonyFeatures?.sonyHeader,r="hub"===e?.appData?.pages?.[i]?.component;if(n||r)return 34;return 0}(i,e):function(e){const i=e?.appData?.options?.sonyFeatures?.sonyHeader;if(i)return 58;return(0,t.vF)()}(i)}var E=s(704),C=s(2037),T=s(9570),O=s(9155);let I=(e,t)=>{if(!e)return;let i=location.href===e;if(!t?.allowSameHostRedirect){let[,,t]=/^((?:https?:)?\/\/)?([^/]+)/.exec(e)||[];i=location.host===t}return i||(location.href=e),!0},L=e=>(0,k.wh)(_.A.get(),["dynamicData","regions",e,"url"]);async function D(e,t){t||(t={});let i="function"==typeof t.redirect?t.redirect:I;if(!("undefined"!=typeof location&&!location.search.match(/[?&]redirect=(off|false|0|no)/))||!window.__INITIAL_STATE__)return;let n=window.__INITIAL_STATE__.appData||{},r=(()=>{const e=new URL(window.__RELATIVE_ROOT__,location.href),t=e.origin+e.pathname,i=location.origin+location.pathname;return i.startsWith(t)?i.replace(t,""):location.pathname})(),o=location.search,s=location.hash;const a=(e,t)=>e?t:"";let l=(e,{stripPath:t,stripQS:i,stripHash:n}={})=>(t?e:(0,k.HS)(e,r))+a(!i,o)+a(!n,s),c=n.geofencing||{},d=n.redirection||{},h=(0,k.wh)(n,"meta.region.slug");if(!c.geofencing&&!Object.keys(d).length)return;let p=(await e()).countryCode;const u=c.allowRegions||"",g=(0,k.fY)(u).includes(p),f=c.ignoreAppRegion;if(h===p&&!f||!c.geofencing||g)try{let e,t=Object.values(d).concat(d).filter((e=>e?.url));for(let i of t){let t=[];if(i.country){let e=i.country.split(",").map((e=>e.trim()));t.push(e.includes(p))}if(i.countryNot){let e=i.countryNot.split(",").map((e=>e.trim()));t.push(!e.includes(p))}if(t.every((e=>e))){e=i;break}}if(e)return e(l(e.url))}catch(e){}else{let e=(0,k.wh)(c,["overrides",p]),n="function"==typeof t.getRegionURL?t.getRegionURL:L;if(!e){e=await n(p)||c.defaultLink}if(e){let t=e;t.startsWith("http")||(t=await n(t)||e);let r=c.stripRedirectionPath;return(0,k.Gv)(e)&&(t=e.url,null!=e.stripPath&&(r=e.stripPath)),i(l(t,{stripPath:r}),c)}}}var x=s(8980),P=s(2483),R=s(2110);function N(){let e=document.getElementById("mainScroll");return e&&"visible"!==getComputedStyle(e).overflowY?e:document.scrollingElement}function M(e){const t=_.A.get(),i=t.appData?.pages?.[e];if(!i){const i=(0,k.wh)(t,"appData.pages",null),n=i&&Object.keys(i).filter((t=>i[t].slug===e))[0];e=n||e}try{return document.querySelector(`[data-section="${e}"]`)}catch(e){return null}}_.A.on("UPDATE_CLIENT",(()=>{const e=_.A.get().client,t=(0,E.NW)();_.A.get().set({client:{...e,...t}})})),_.A.on("SET_ACTIVE_PAGE",(async(e,i,n)=>{if(!(e=await P.Ay.call("setActivePage.newPage",e,{options:n})))return;let r=_.A.get(),o=r.activePage,s=r.appData?.pages?.[e];const a=r.appData?.pages?.boltShowtimes?.data?.groupBookings?.isEnabled;if(e===o&&("boltShowtimes"!==e||!a)||!s)return void(n?.hashInPage&&!n?.noUrlUpdate&&(location.hash="",location.hash=n.hashInPage));!0===i&&(i=""),i&&!i.startsWith("?")&&(i="?"+i);const l=s.data?.passwordGatewayPageId;if(l&&r.appData.pages[l])try{let r=(0,t.rT)(e,i,n?.hashInPage);const o=await fetch(r,{method:"HEAD"}),s=o.redirected&&new URL(o.url,location.href);let a=new URL((0,t.rT)(l),location.href);if(s&&s.origin===a.origin&&s.pathname===a.pathname)return void(location.href=o.url)}catch(e){}let c=_.A.get().header;if(e!==c.activeSection&&c.set({activeSection:e}),!n?.noUrlUpdate){let o=(0,t.rT)(e,i,n?.hashInPage);history.pushState({activePage:e},"",o),document.title=(0,t.wS)({store:r,page:e});const s=document.querySelector('meta[name="description"]');s&&"object"==typeof s&&(s.content=(0,t.Wt)({store:r,page:e}))}_.A.get().set("activePage",e),s.section||"boltHome"===e||window.disableAutoScrollReset||(N()?.scrollTo(0,0),_.A.emit("SET_SECTION_UNDER_HEADER",null)),_.A.emit("ACTIVE_PAGE_UPDATED",e),_.A.emit("CHECK_ACTIVE_PAGE_AGE_RESTRICTION")})),_.A.on("CHECK_ACTIVE_PAGE_AGE_RESTRICTION",(()=>{let e=_.A.get(),t=e.appData?.pages[e.activePage];if(t?.ageRestricted&&!1===e.client?.ofAge){let t=["boltHome","boltSynopsis","boltGallery","boltVideos",...Object.keys(e.appData?.pages)].find((t=>{let i=e.appData?.pages?.[t];return i&&!i.ageRestricted}));_.A.emit("CLOSE_AND_NAVIGATE",t)}})),_.A.on("SET_SECTION_UNDER_HEADER",(e=>{let t=_.A.get().header;t.sectionUnderHeader!==e&&t.set({sectionUnderHeader:e})}));let B=0;
2_.A.on("CHANGE_ACTIVE_SECTION",((e,t)=>{(t=t||{}).mainPage&&!M(t.mainPage)&&(t.instant=!1);let i=M(e),n=!1;const r=i=>{if(!i)return;const r=N();n=!0,(0,x.BD)(r,i,t.instant?0:t.scrollDuration||400,{...t,offset:S(e),force:!0,callback:()=>_.A.emit("CLOSE_ALL_OVERLAYS")})};let o=++B;const s=(i,n)=>{if(o===B){if(!t.instant){if(i!==e)return;setTimeout((()=>_.A.off("SECTION_LOADED",s)),0)}r(i===e?n:M(e))}else setTimeout((()=>_.A.off("SECTION_LOADED",s)),0)};if(i?(r(i),_.A.off("SECTION_LOADED",s)):(e===t.mainPage&&N()?.scrollTo(0,0),_.A.on("SECTION_LOADED",s),_.A.emit("LOAD_SECTION",e)),t.instant){let e=()=>{n?n=!1:(_.A.off("SECTION_LOADED",s),window.removeEventListener("scroll",e,!0))};window.addEventListener("scroll",e,!0)}})),_.A.on("POP_STATE",(e=>{_.A.emit("CLOSE_ALL_OVERLAYS",{animate:!0}),_.A.emit("SET_ACTIVE_PAGE",e,void 0,{noUrlUpdate:!0}),$(e,{instant:!0})}));let H=async e=>{try{let t=await(0,O.A)();return t[e]?.url}catch(e){}};function $(e,i){const n=(0,k.wh)(_.A.get(),["appData","pages",e]);if("showtimes"===n?.type)_.A.emit("SHOWTIMES_SHOW",void 0,void 0,e);else if("homeEnt"===n?.type)_.A.emit("HOMEENT_SHOW",void 0,void 0,e);else if("pressKit"===n?.type)_.A.emit("PRESSKIT_SHOW",void 0,void 0,e);else if("videos"===n?.type)_.A.emit("OPEN_VIDEO_OVERLAY",e);else{const n=(0,t.XP)();(e===n||R.V0.some((t=>t.id===e&&t.parent===n)))&&_.A.emit("CHANGE_ACTIVE_SECTION",e,i)}}_.A.on("LANDING",(async({page:e})=>{$(e,{instant:!0});let t=!1;try{t=localStorage.getItem("limitlessKey")}catch(e){}t&&F();const i=_.A.get(),n=(0,k.wh)(i,"appData.options.socialInterstitial",!1);let r=i.appData?.pages?.[e]?.type;("showtimes"===r||"homeEnt"===r)&&i.limitExceeded&&n||await D(T.LG,{getRegionURL:H})})),_.A.on("CLOSE_AND_NAVIGATE",((e,i,n)=>{i&&i.preventDefault&&i.preventDefault(),_.A.emit("CLOSE_NAV_MENU"),(0,t.OU)(e,n)})),_.A.on("LANDING_QUERY",((e={})=>{const t=_.A.get();e.v&&t.videos&&!t.videos.preSelected&&_.A.get().videos.set({preSelected:e.v}),e.debug&&_.A.get().set({debugMode:!0})})),_.A.on("DISABLE_SCROLLING_LOCK",(()=>{const e=document.getElementById("bolt"),t=document.getElementById("app");m(e),t&&(t.style.pointerEvents="")})),_.A.on("ENABLE_SCROLLING_LOCK",(e=>{const t=document.getElementById("bolt"),i=document.getElementById("app");f(t,{allowTouchMove:e=>{for(;e&&e!==document.body;){if(null!==e.getAttribute("body-scroll-lock-ignore"))return!0;e=e.parentElement}}}),e&&i&&(i.style.pointerEvents="none")})),_.A.on("SAFARI_MOBILE_LOCATION_SEARCH_FOCUS",(()=>{document.body.style.height="5000px"})),_.A.on("SAFARI_MOBILE_LOCATION_SEARCH_BLUR",(()=>{document.body.style.height="100%"}));const V=[];function F(){const e=(0,k.wh)(_.A.get(),"appData.meta.powApiLimitlessKey")||"K4xhuBoeYm59LMIDRkqIz6KKCoIV1Ikq5rLdoe3I";_.A.get().set({apiKey:e,usingLimitlessKey:!0,limitExceeded:!1})}function G(e){e.preventDefault()}_.A.on("LOAD_SECTION",(e=>V.push(e))),_.A.on("GET_REQUESTED_SECTIONS",(()=>V)),_.A.on("OPEN_RESERVED_VARIABLE_LINK",(async e=>{const t=e?.split("\n")||[];for(let e of t){if(!e?.startsWith("@"))continue;let[t,...i]=e.slice(1).split("::");["date","format","time","exhibitor"].includes(t.toLowerCase())&&(i.unshift(t),t="filter");let n=i[0];const r=_.A.get();switch(t.toLowerCase()){case"subscriberpopup":const e=(0,k.wh)(r,"appData.options.formEmbeds.popup");return _.A.emit("SUBSCRIBER_POPUP",e,!1);case"calendarreminder":return _.A.emit("SHOW_CAL_REMIND",i.length?{date:i[0]}:void 0);case"newsletterbanner":return _.A.emit("TOGGLE_NEWSLETTER_BANNER",!1);case"preferencecentre":return _.A.emit("COOKIE_PREFERENCES_OPEN");case"otcookiesettings":window.OneTrust?.ToggleInfoDisplay();break;case"dynamicpriority":const t=(0,k.wh)(r,"appData.pages.boltShowtimes"),o=(0,k.wh)(r,"appData.options.dualView");if(t&&o){const e=(0,k.wh)(r,"showtimes.data",[]),t=(0,k.wh)(r,"appData.pages.boltHomeEnt");_.A.emit(t&&(0,k.Im)(e)?"HOMEENT_SHOW":"SHOWTIMES_SHOW")}break;case"openshowtimes":_.A.emit("SHOWTIMES_SHOW",!1,n);let s=_.A.get().showtimes?.filters?.selected;n&&s&&(s.set(await(0,C.Z)(n)),"boltShowtimes"===r.activePage&&_.A.emit("SHOWTIMES_REFRESH"));break;case"filter":const[a,...l]=i;_.A.emit("FILTER_SET",a,l,"date"!==a),_.A.emit("SHOWTIMES_REFRESH");break;case"openhomeent":_.A.emit("HOMEENT_SHOW",!0,n);break;case"videooverlay":const c=(0,k.wh)(r,"appData.options.videoOverlay.video",!0);_.A.emit("ENABLE_TRAILER_OVERLAY",c)}}})),_.A.on("UPDATE_API_KEY",(async()=>{F();try{localStorage.setItem("limitlessKey",!0)}catch(e){}})),_.A.on("SHOW_CAL_REMIND",(e=>{_.A.get().set({calRemindOpen:e||!0}),_.A.emit("SET_HEADER_ACTION",{icon:"close",action:()=>_.A.emit("CLOSE_CAL_REMIND"),tag:"closeCalRemind"}),(0,k.iQ)(document.body,"locked"),document.body.addEventListener("touchmove",G,{passive:!1})}
2)),_.A.on("CLOSE_CAL_REMIND",(()=>{_.A.get().set({calRemindOpen:!1}),_.A.emit("REMOVE_HEADER_ACTIONS","closeCalRemind"),(0,k.vy)(document.body,"locked"),document.body.removeEventListener("touchmove",G,{passive:!1})})),_.A.on("CLOSE_ALL_OVERLAYS",(()=>{_.A.emit("CLOSE_CAL_REMIND")}));s(498);var U=s(7164),j=s(7050);async function z(){const e=_.A.get().appData?.options?.oneTrustCookieConsent,t=e?.scripts;if(t&&e.waitForAgeGate){try{document.cookie="OptanonAlertBoxClosed=; expires="+new Date(0).toUTCString()}catch(e){}await Promise.all(Object.values(t).map((async e=>{if(e.inlineContent){let t=document.createElement("script");return t.text=e.inlineContent,void document.body.appendChild(t)}return new Promise(((t,i)=>{let n=document.createElement("script");n.onload=t,n.onerror=i,e.integrity&&(n.integrity=e.integrity),e.crossOrigin&&"none"!==e.crossOrigin&&(n.crossOrigin=e.crossOrigin),e.dataDomainScript&&n.setAttribute("data-domain-script",e.dataDomainScript),e.async&&(n.async=!0),n.src=e.src,document.body.appendChild(n)}))})))}}async function W(){const e=_.A.get().appData?.options?.ketchCookieConsent;if(!e?.scripts||!e.waitForAgeGate)return;let t=document.createElement("script");t.text=e.scripts,document.body.appendChild(t)}_.A.on("AGEGATE_OPEN",(()=>{const{deviceSize:e}=_.A.get().client;if("mobile"!==e){const e=document.getElementById("bolt");f(e)}_.A.get().set({ageGateOpen:!0})})),_.A.on("AGEGATE_CLOSE",(()=>{const{deviceSize:e}=_.A.get().client;if("mobile"!==e){const e=document.getElementById("bolt");m(e)}_.A.get().set({ageGateOpen:!1})})),_.A.on("AGEGATE_CONSENT",(async e=>{_.A.get().client.set({ofAge:!!e}),_.A.emit("ACCEPT_COOKIES",[],{doNotSetCookie:!0});const t=_.A.get().appData?.options?.ageGate;if(t?.redirect?.enabled&&t.redirect?.url&&!e)return void window.location.replace(t.redirect?.url);const i=t?.cookieName||"pow-agegate",n=+t?.expiry||365;(0,U.R)(i)||(0,U.T)(i,+e,n),e?await Promise.all([z(),W(),await(0,j.waitForOneTrust)()]):(_.A.emit("CHECK_ACTIVE_PAGE_AGE_RESTRICTION"),await(0,j.waitForOneTrust)(),window.Optanon?.RejectAll())}));s(332),s(8881),s(3549);const K=e=>{if(!e||"object"!=typeof e){let t=()=>!0;"string"==typeof e&&(t=t=>t.id===e),e=_.A.get().showtimes.data.find(t)}if(e)return{cinemaName:e.name,cinemaChain:(0,k.wh)(e,"chain.name"),location:(0,k.wh)(e,"address.intl.city")||(0,k.wh)(e,"address.local.city")}};if("undefined"!=typeof window&&window.__INITIAL_STATE__?.appData?.options?.enableEnsighten){const e=e=>{if(!window.__dataLayer)return;e.startsWith("bolt")&&(e=e.substring(4)),"showtimes"===e&&(e="tickets");const t=_.A.get().appData;let i=t.meta?.region?.slug;const n=window.__dataLayer,r=n.page.page.replace(`:${"uk"===i?"gb":i}`,"");"gb"===i&&(i="uk"),window.__dataLayer.page.page_name=n.site.regi
2on+":"+n.site.country+":"+n.site.site+":"+r+e.toLowerCase(),window.__dataLayer.trackPage()},t=e=>{if(!window.__dataLayer||"function"!=typeof window.__dataLayer.publish)return;delete{event_name:"click",actionName:e.action,...e}.action,window.__dataLayer.publish("click",{event_name:"click",...e})};_.A.on("LANDING",(({page:t})=>{e(t)})),_.A.on("SET_ACTIVE_PAGE",(t=>{e(t)})),_.A.on("POWSTER_GA_PAGE_VIEW_TRACK",(t=>{e(t)})),_.A.on("VIDEO_PLAYER_PROGRESS",(({video:e,step:i,time:n})=>{let r="video_milestone";0===i?r="video_start":100===i&&(r="video_complete"),t({tealium_event:r,video_playhead:n,video_id:e,video_platform:"YouTube"})})),_.A.on("SELECT_THEATER",((e,i)=>{t({action:"map"===i?"placeSelectFromMap":"cinemaSelect",...K(e)})})),_.A.on("SELECT_TIME",((e,i)=>{i||(i="tickets");const{screening:n,theater:r}=e;if(!n||!r)return;let o=null;n.date&&(o=(0,k._U)(n.date),o.setHours(...n.time.split(":"))),t({action:"timeSelect",...K(r),targetLink:n.link.direct,format:n.format,showDateTime:o?.toISOString(),dateSelected:n.date})})),_.A.on("SET_USER_LOCATION",((e,i)=>{"suggestion"===i&&t({action:"cinemaSearch",searchPhrase:e&&e.city})})),_.A.on("USER_LOCATION_UPDATED",(async({geo:e,source:i})=>{"landing"!==i&&e&&"nearby"===i&&t({action:"moreShowTimes",location:e.city})})),_.A.on("FILTER_SET",((e,i)=>{"date"===e&&t({action:"dateSelect",dateSelected:i})})),_.A.on("FILTER_TOGGLE",((e,i)=>{"format"===e&&t({action:"formatSelect",format:i})})),_.A.on("TRACK_NAV_LINK_CLICK",(e=>{e&&t({action:"menuSelect",actionValue:e})}))}function Y(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"Download",type:"image",label:e})}function X(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"GetTickets"})}function q(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"CTAButtonClick",buttonLabel:e})}function Z(e){return document.querySelector(e)}let Q,J;function ee(e){const t=_.A.get(),i="pushdown"===(0,k.wh)(t,"appData.options.requireUserConsent.position",""),n="pushdown"===(0,k.wh)(t,"appData.options.oneTrustCookieConsent.position","");if(!i&&!n)return;const r=document.createElement("div");r.style.position="fixed",r.style.top=0,r.style.width="100%",r.style.zIndex=2147000001,document.body.insertBefore(r,document.body.firstChild),Z("#_evidon_banner")?r.appendChild(Z("#_evidon_banner")):Z("#onetrust-consent-sdk")&&r.appendChild(Z("#onetrust-consent-sdk")),_.A.get().set({externalCookieBanner:{bannerOpen:e>0,height:e}})}_.A.on("ENSIGHTEN_VIDEO_PLAY",(e=>{if(!window.__dataLayer||"function"!=typeof window.__dataLayer.publish)return;let t={"mediaItem.show.name":_.A.get().appData.meta.title.slug,"mediaItem.title":e.videoTitle};window.__dataLayer.publish("dtci.media",["dtci.play",t,null])})),_.A.on("LANDING",(()=>{!function(){let{activePage:e,appData:{meta:{title:{en:t},dates:{release:i},region:{slug:n},movieIMDBID:r,dataLayer:o={}}}}=_.A.get();e.startsWith("bolt")&&(e=e.replace("bolt",""));let{content_genome:s="-",essence_genre:a="-",fs_o:l,genre_1:c="-",imdb_id:d}=o||{};l&&""!==l||(l=void 0),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"Landing",site:{name:`${t} Movie - Showtimes Site`,market:n,template:"Powster"},page:{name:e,type:"Showtimes"},movie:{name:t,release_date:i,imdb_id:d||r||"-",genre:{essence_genre:a,genre_1:c,fs_o:l,content_genome:s}}})}(),setTimeout((()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"3secDwell"})}),3e3)})),_.A.on("CLICKED_SHARE",(({label:e})=>{!function(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"SocialLinkShare",eventAction:e})}(e)})),_.A.on("HOME_ENT_CONVERSION",(e=>{!function(e){const{appData:{meta:{title:{en:t}}}}=_.A.get();window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"RetailerClick",movieName:t,merchant:e.merchant})}(e)})),_.A.on("GALLERY_DOWNLOAD_IMAGE",(e=>{Y(e)})),_.A.on("GALLERY_DOWNLOAD_ALL",(()=>{Y("GALLERY_DOWNLOAD_ALL")})),_.A.on("SYNOPSIS_DOWNLOAD_IMAGE",(e=>{Y(e)})),_.A.on("TICKET_CONVERSION",(e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"TicketClick",city:e.theater.address.local.city,format:e.format,date:e.date,day:e.day,time:e.time,theaterName:e.theaterName})})),_.A.on("HEADER_PERSISTENT_BUTTON_CLICK",((e,t,i,n,r)=>{q(i),"boltShowtimes"===r&&X()})),_.A.on("MOVIE_DETAILS_BUTTON_CLICK",((e,t,i)=>{q(t),"boltShowtimes"===i&&X()})),_.A.on("VIDEO_PLAYER_PROGRESS",(e=>{const{platform:t,video:i,step:n}=e;0===n&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"VideoPlay",platform:t,video:i}))})),_.A.on("CALENDAR_CLICKED",(({label:e})=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"SetReminder",type:e})})),_.A.on("LANDING",(()=>{var e=document.createElement("script");e.setAttribute("src","https://cdn.cookielaw.org/opt-out/otCCPAiab.js"),e.setAttribute("charset","UTF-8"),e.setAttribute("ccpa-opt-out-ids","USP"),e.setAttribute("ccpa-opt-out-geo","US"),e.setAttribute("ccpa-opt-out-lspa","false"),document.body.appendChild(e)})),"undefined"!=typeof window&&window.ResizeObserver&&(window.ResizeObserver&&(Q=new ResizeObserver((e=>{J=e[0].contentRect.height,ee(J)}))),function(){let e=Date.now(),t=()=>Z("#_evidon_banner")&&Z("#_evidon_banner").offsetHeight?Q?Q.observe(Z("#_evidon_banner")):setTimeout((()=>ee(Z("#_evidon_banner").offsetHeight)),800):Z("#onetrust-banner-sdk")&&Z("#onetrust-banner-sdk").offsetHeight?Q?Q.observe(Z("#onetrust-banner-sdk")):setTimeout((()=>ee(Z("#onetrust-banner-sdk").offsetHeight)),800):void(Date.now()-e<2e4&&setTimeout(t,100));t()}());const te="MCPopupClosed",ie="MCPopupSubscribed",ne=(e,t,i)=>{if(void 0!==window.dojoRequire)re(e,t,i);else{const n=setInterval((()=>{void 0!==window.dojoRequire&&(clearInterval(n),re(e,t,i))}),200)}},re=(e,t,i)=>{window.dojoRequire(["mojo/signup-forms/Loader"],(n=>n.start({baseUrl:e,uuid:i,lid:t,uniqueMethods:!0})))};_.A.on("SUBSCRIBER_POPUP",((e,t)=>
2{((e,t)=>{try{const{baseUrl:i,lid:n,uuid:r,id:o,landingDelay:s,ignoreClosedCookie:a,ignoreSubscribedCookie:l}=e;a&&(0,U.T)(te,"",-1e3),l&&(0,U.T)(ie,"",-1e3);const c=(0,U.R)(te),d=(0,U.R)(ie);t?c||setTimeout((()=>ne(i,n,r)),1e3*s):(c&&(0,U.T)(te,"",-1e3),d&&(0,U.T)(ie,"",-1e3),ne(i,n,r))}catch(e){}})(e,t)}));s(8210);var oe=s(6393),se=s(8790);oe.xI.use({breaks:!0});const ae=new oe.xI.Renderer;ae.link=({href:e,title:i,text:n})=>{let r={};i&&(r.title=i),e&&"+"===e[0]&&(e=e.slice(1),r.target="_blank");try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return n}if(e&&e.startsWith("#$")){const i=e.slice(2);e=(0,t.rT)(i)||e,r.target&&"_self"!==r.target||(r.onclick=`event.preventDefault();navigateInternally('${i}');`,r.role="button",r["data-page"]=i)}else if(e&&!/^(https?:|mailto:|#|\/|\.)/.test(e)){const[,i,n,o]=e.match(/^(.*?)(\?.+?)?(#.+)?$/)||[];e=(0,t.rT)(i,n,o)||"#",r.target&&"_self"!==r.target||(r.onclick=`event.preventDefault();navigateInternally('${i}'${n?`,{queryString:'${n}'}`:""});`,r.role="button",r["data-page"]=i)}r.href=e;let o=Object.keys(r).map((e=>e+'="'+r[e]+'"')).join(" "),s=null;try{return s=oe.xI.parseInline(n),"<a "+o+">"+s+"</a>"}catch(e){}return"<a "+o+">"+n+"</a>"},oe.xI.use({renderer:ae,hooks:{preprocess:e=>e.replace(/(\\)?(\$[0-9A-Z_]+)/g,((e,t,i)=>t?i:(0,se.u)(i)||i))}});const le=/(?: +|^)\{#([a-z][\w-]*)\}(?: +|$)/i;oe.xI.use({useNewRenderer:!0,renderer:{heading({text:e,depth:t}){const i=e.match(le);return!!i&&`<h${t} id="${i[1]}">${e.replace(le,"")}</h${t}>\n`}}});var ce=s(7178);let de=!1;const he="tabbing";function pe(e){"Tab"===e.key&&document.body.classList.add(he)}function ue(){document.body.classList.remove(he)}const ge=()=>{de&&(de=!1,window.removeEventListener("keydown",pe,!0),window.removeEventListener("mousedown",ue,!0),document.body.classList.remove(he))},fe=()=>{if(!de)return de=!0,window.addEventListener("keydown",pe,!0),window.addEventListener("mousedown",ue,!0),{remove:ge}};Object.defineProperty(Ae,"name",{value:"default",configurable:!0});let me=!1,ye=0;const _e="useHover";function ve(){Date.now()-ye>=500&&document.body.classList.add(_e)}function be(){document.body.classList.remove(_e),ye=Date.now()}function we(){window.removeEventListener("mousemove",ve,!0),window.removeEventListener("touchstart",be,!0),document.body.classList.remove(_e)}function Ae(){if(!me)return window.addEventListener("mousemove",ve,!0),window.addEventListener("touchstart",be,!0),document.body.classList.add(_e),{remove:we}}var ke=s(9863),Se=s(818),Ee=s(5830),Ce=s(7081),Te=s(383),Oe=s(7245);s(4656),s(1196),s(2754);_.A.on("OPEN_NAV_MENU",(()=>{_.A.get().header.set({open:!0}),(0,k.iQ)(document.body,"locked"),_.A.emit("SET_HEADER_ACTION",{icon:"close",action:()=>_.A.emit("CLOSE_NAV_MENU"),tag:"closeNavMenu"})}));const Ie=e=>e&&Array.isArray(e)?e.join(","):null;_.A.on("TOGGLE_SHARE_OPEN",(()=>{const e=_.A.get(),t=e.header.shareOpen,i=e.header.onesheetExpanded;if(t&&_.A.get().header.set({shareOpen:!1}),!t&&i&&(_.A.emit("CLOSE_ALL_OVERLAYS"),_.A.get().header.set({shareOpen:!0})),t||i)return;let n=(0,k.wh)(e,["appData","pages",e.activePage,"path"])||"/",r={};if(e.showtimes&&e.showtimes.show){const t=e.client&&e.client.geo||{},i=e.showtimes.filters.selected||{};r={lat:t.lat,lon:t.lon,location:t.city,country:t.countryCode,date:Ie(i.date),format:Ie(i.format),time:Ie(i.time)}}else if(e.videos&&e.videos.overlayOpen){const t=e.videos.activeVideo;r={v:t&&(t.youtubeId||t.key)}}let o=n+(0,k.zJ)(r);_.A.get().header.set({shareOpen:!0,shareDetails:o})})),_.A.on("CLOSE_ALL_OVERLAYS",(()=>{_.A.get().header.set({open:!1,shareOpen:!1})})),_.A.on("CLOSE_NAV_MENU",(()=>{_.A.get().header.set({open:!1}),(0,k.vy)(document.body,"locked"),_.A.emit("REMOVE_HEADER_ACTIONS","closeNavMenu")})),_.A.on("CLOSE_ALL_OVERLAYS",(()=>{_.A.emit("CLOSE_NAV_MENU")})),_.A.on("SET_HEADER_ACTION",(e=>{e&&e.action?_.A.get().header.actions.push(e):console.error("Trying to set the header action without a function")})),_.A.on("POP_HEADER_ACTION",(()=>{_.A.get().header.actions.pop()})),_.A.on("REMOVE_HEADER_ACTIONS",(e=>{let t=_.A.get().header,i=t.actions.filter((t=>t.tag!==e));t.set({actions:i})})),_.A.on("TOGGLE_INTERSTITIAL_OPEN",(e=>{_.A.get().header.set({interstitialOpen:e})}));var Le=s(8760),De=s(4311),xe=s(4864),Pe=s(2265),Re=s(5415),Ne=s(4462),Me=s(3013),Be=s(1324),He=s(4180),$e=s(939);var Ve=s(9208);const Fe={container:"headerExpanded__container__lvCMU",sonyHeader:"headerExpanded__sonyHeader__nF2eO",backgroundContainer:"headerExpanded__backgroundContainer__EME4O",backgroundVideo:"headerExpanded__backgroundVideo__xBLol",backgroundImage:"headerExpanded__backgroundImage__x14eo",preLoadImage:"headerExpanded__preLoadImage__A2gVN",linksContainer:"headerExpanded__linksContainer__uVXBn",bannerPushDown:"headerExpanded__bannerPushDown__rBf6L",splitHeader:"headerExpanded__splitHeader__RlKdm",links:"headerExpanded__links__XYbJv",link:"headerExpanded__link__RaGKa",active:"headerExpanded__active__jzGQ3",standard:"headerExpanded__standard__P1BVj",tt:"headerExpanded__tt__dqk8C",content:"headerExpanded__content__E82mB",hidden:"headerExpanded__hidden__jxxQu",featured:"headerExpanded__featured__I7VaI",separator:"headerExpanded__separator__XVroy",socials:"headerExpanded__socials__M2E3G",hasRegionSelector:"headerExpanded__hasRegionSelector__CQEO2",regionSelectorButton:"headerExpanded__regionSelectorButton__tFzA8",icon:"headerExpanded__icon__pP3al",open:"headerExpanded__open__wgN_5",features:"headerExpanded__features__D6kxR",hasManyLinks:"headerExpanded__hasManyLinks__v7_Gl"};class Ge extends e.uA{constructor(e){super(e),(0,$e.A)(this,"updateSelectedShowtimesTab",((e,t)=>
2{if("boltShowtimes"!==(this.props.activePage||"boltHome"))return;const i=(0,k.wh)(this.props,"appData.pages.boltShowtimes.data.groupBookings.isEnabled",!1);i&&"boltShowtimes"===e&&"?groupbookings"===t?(_.A.emit("UPDATE_SHOWTIMES_ACTIVE_TAB","Group Bookings",!0),_.A.get().set({groupBookingsShowtimes:!0})):i&&"boltShowtimes"===e&&"?booknow"===t&&(_.A.emit("UPDATE_SHOWTIMES_ACTIVE_TAB","Book Now",!0),_.A.get().set({groupBookingsShowtimes:!1}))})),this.closeAndNavigate=this.closeAndNavigate.bind(this),this.getFallbackFormat=this.getFallbackFormat.bind(this),this.updateLinks(e),this.isSplitHeader=!!this.featuredLinks.length,this.updateLinks=this.updateLinks.bind(this)}componentDidMount(){_.A.on("REFRESH_HEADER_LINKS",this.updateLinks)}componentWillUnmount(){_.A.off("REFRESH_HEADER_LINKS",this.updateLinks)}updateLinks(e=this.props){this.navItems=(0,k.fz)((0,k.wh)(e,"appData.header.powsterHeader.nav")),this.filteredNavItems=function(e,t){const i=(0,k.wh)(e,"appData.pages");return t.filter((e=>i[e.path?.replace(/[?#].*$/,"")]||e.path?.match(/^https?:\/\//i)||e.path?.startsWith("@")||e.path?.startsWith("mailto:")||e.forceShow))}(e,this.navItems),this.standardLinks=this.filteredNavItems.filter((e=>e&&"primary"===e.linkType)),this.featuredLinks=this.navItems.filter((e=>e&&"secondary"===e.linkType))}trackNavLink(e,t){_.A.emit("TRACK_NAV_LINK_CLICK",e,t)}getFallbackFormat(){return(0,k.wh)(this.props,"appData.header.alternativeImageFormat","png")}closeAndNavigate(e,t,i,n){this.updateSelectedShowtimesTab(e,n),this.trackNavLink(i,e),_.A.emit("CLOSE_AND_NAVIGATE",e,t,{queryString:n,calendarRemindMode:this.props.isCalendarRemindMode})}getLinkSizing(e){return e?null:this.isSplitHeader?Fe.h4:Fe.h3}renderLink(i,n){let[r,o]=i.path?.split("#")||[],[s,a]=r?.split("?")||[],l=i.queryString||(a?`?${a}`:"");const c=(0,k.wh)(this.props,["appData","pages",s]),d=!!(0,k.wh)(this.props,"appData.header.powsterHeader.calendars",null),h=!!c||i.path?.startsWith("@"),p=this.getLinkSizing(!h),u=this.props.activePage||"boltHome",g=this.props.headerData.activeSection||"boltHome";let f=u===s||"boltHome"===u&&g===i.path;const m=(0,k.wh)(this.props,"appData.copy.baseCopy",{});let y=m[i.name]||i.name||i.id;const v=(0,k.wh)(this.props,"appData.pages.boltShowtimes.data.groupBookings.isEnabled",!1);if(v&&u==s&&"boltShowtimes"===i.path&&"?groupbookings"===l&&(f=!0===_.A.get().groupBookingsShowtimes),v&&u==s&&"boltShowtimes"===i.path&&"?booknow"===l&&(f=!1===_.A.get().groupBookingsShowtimes),c?.ageRestricted&&!1===this.props.client?.ofAge)return;if("boltShowtimes"===i.path&&this.props.isCalendarRemindMode){if(!d)return;y=m.$MENU_CALENDAR_REMINDER||"Reminder"}let b={};i.disabled?b["aria-disabled"]=!0:h?(b.href=(0,t.rT)(s,l,o)||"#",b.onClick=i.onClick||(e=>this.closeAndNavigate(s+(o?`#${o}`:""),e,y,l))):(b.href=i.path,b.target=i.sameWindow?"_self":"_blank",b.rel="noopener noreferrer",b.onClick=()=>this.trackNavLink(y));const w=(0,k.wh)(this.props,"appData.styling.fontVariables"),A=n?w.navSecondaryLink:w.navPrimaryLink;return(0,e.h)(Pe.A,(0,He.A)({key:i.id||i.link||i.name,class:(0,k.XS)(Fe.link,f&&Fe.active,p,A)},b),(0,e.h)(De.A,{class:Fe.content,content:y,markdown:!0}),(0,e.h)(De.A,{class:Fe.hidden,content:y,"aria-hidden":!0,markdown:!0}))}renderRegionSelector(){const t=(0,k.wh)(this.props,"appData.meta.region")||{},i=(0,k.wh)(this.props,"appData.header.powsterHeader.regionSelector.extraRegions",{})[t.slug]||{};let n=i.label||t.slug;const r=this.props?.appData?.header?.powsterHeader?.regionSelector?.useLanguage;r&&(n=i.label||t.languageFull||t.language);const o=(0,k.wh)(this.props.appData,"copy.accessibilityCopy");return(0,e.h)("button",{class:Fe.regionSelectorButton,onClick:this.props.regionSelectorClick,key:"regionSelectorButton",ariaLabel:o.$REGION_SELECTOR_BTN_ARIA},(0,e.h)("div",{class:Fe.icon}),(0,e.h)("span",{class:Fe.name},n))}renderSocial(){const t=(0,k.wh)(this.props,"appData.header.powsterHeader.follow");if(t)return(0,e.h)(Ve.A,{class:Fe.socials,socials:t,navOpen:this.props.navOpen,key:"socials"})}getTTSize(e){if(e?.titleTreatmentSize?.desktop||e?.titleTreatmentSize?.tablet||e?.titleTreatmentSize?.mobile)return(0,t.xO)(e.titleTreatmentSize)}
2getBackgroundElement(t){const i="mobile"===this.props.client?.deviceSize?"mobile":"desktop",n=t?.[i],r=t?.[i]?.bgPosition||"center";if(!n)return null;const o=n.asset,s=n.fallbackImg,a=n.preLoadImg,l=o?.endsWith(".mp4")||o?.endsWith(".webm");this.state={videoLoaded:!1};const c=()=>{this.setState({videoLoaded:!0})};return l?(0,e.h)("div",{class:Fe.backgroundContainer},a&&!this.state.videoLoaded&&(0,e.h)("img",{class:Fe.preLoadImage,src:a,alt:"Preload Background",style:{objectPosition:r}}),(0,e.h)("video",{class:Fe.backgroundVideo,src:o,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,poster:s,style:{objectPosition:r},onLoadedData:c})):o?(0,e.h)("img",{class:Fe.backgroundImage,src:o,alt:"Background",style:{backgroundPosition:r}}):s?(0,e.h)("img",{class:Fe.backgroundImage,src:s,alt:"Fallback Background",style:{backgroundPosition:r}}):null}renderTT(){const i=(0,k.wh)(this.props,"appData.header.powsterHeader.tt",null),n=(0,k.wh)(this.props,"client.deviceSize");let r=n;if("mobile"!==n&&"tablet"!==n&&(r="desktop"),!i||!(r in i))return;const o=this.getTTSize(i);let s=o&&{width:"100%",height:"100%",maxWidth:o.maxWidth,maxHeight:o.maxHeight};const a=(0,k.wh)(this.props,"appData.copy"),l=this.getFallbackFormat();return(0,e.h)(Ce.VI,{style:s,class:Fe.tt,src:(0,Se.L)((0,t.xO)(i)),alt:a.accessibilityCopy[i.alt]||i.alt,fallbackFormat:l})}renderStandardLinks(){return(0,e.h)("div",{class:Fe.standard,key:"standard"},this.renderTT(),this.standardLinks.map((e=>this.renderLink(e,!1))))}renderFeaturedLinks(){if(this.isSplitHeader)return(0,e.h)("div",{class:Fe.featured,key:"featured"},this.featuredLinks.map((e=>this.renderLink(e,!0))))}renderLinks(){return[this.renderStandardLinks(),this.renderFeaturedLinks()].filter(Boolean).flatMap(((t,i)=>[i>0&&(0,e.h)("div",{class:Fe.separator}),t]))}render({navOpen:t,showRegionSelector:i}){const n=_.A.get();let{pushDown:r,cookieBannerOpen:o,height:s}=n.cookies||{};const a=(0,k.wh)(n,"externalCookieBanner.bannerOpen")||r&&o,l=(0,k.wh)(this.props,"appData.options.sonyFeatures.sonyHeader",!1),c=a&&!(0,k.wh)(n,"client.isDesktopSize",!1),d=this.isSplitHeader;a&&(s=(0,k.wh)(n,"externalCookieBanner.height"));const h=this.standardLinks.length+this.featuredLinks.length,p=(0,k.wh)(this.props,"appData.header.powsterHeader.bg"),u=this.getBackgroundElement(p);return(0,e.h)("div",{class:(0,k.XS)({s:Fe,container:!0,open:t,splitHeader:d,hasRegionSelector:i,hasManyLinks:h>=8,bannerPushDown:a,sonyHeader:l}),style:s?`--cookie-height: ${s}px`:"","body-scroll-lock-ignore":c,inert:!t},t&&u,(0,e.h)("div",{class:Fe.linksContainer},(0,e.h)("div",{class:Fe.links,role:"navigation"},this.renderLinks(),this.renderSocial()),this.renderRegionSelector()))}}var Ue=s(3604);class je extends Ge{async componentDidMount(){super.componentDidMount?.(),this.props.appData?.options?.cmsManaged&&this.loadCustomData()}async loadCustomData(){let e=await(0,Ue.Ws)("landing");e&&(this.standardLinks=[{name:"Home",path:"boltHome"}].concat(e.nav?.items?.map((e=>({name:e.label,path:e.link})))||[]),this.forceUpdate())}}var ze=s(3500);const We={container:"header__container__nh8ch",showtimesSearchOverlay:"header__showtimesSearchOverlay__LWJCg",hubTextOverlayOpen:"header__hubTextOverlayOpen__KzB9g",headerContainer:"header__headerContainer__IgJSw",homeEntMerchantOpen:"header__homeEntMerchantOpen__ZEEdB",menuText:"header__menuText__VQjfK",homeScrolled:"header__homeScrolled__rM63v",sony:"header__sony__QJzIk",right:"header__right__xbZ95",sonyCALanguageSelector:"header__sonyCALanguageSelector__IY3PZ",separator:"header__separator__izhSt",active:"header__active__JLbV8",sonyLogo:"header__sonyLogo__svdkT",sonyPicturesLogo:"header__sonyPicturesLogo__uQOXA",disabled:"header__disabled__keG30",solidBackground:"header__solidBackground__b4nkH",hidden:"header__hidden__HP840",persistentBtn:"header__persistentBtn__PkfHH",hide:"header__hide__YEy1M",allStyling:"header__allStyling__c6sjd",persistentBtnLabel:"header__persistentBtnLabel__fG9oj",burgerMenuBtn:"header__burgerMenuBtn__naL9o",shareBtn:"header__shareBtn__SBylZ",inactive:"header__inactive__B_jLP",closeBtn:"header__closeBtn___RCeY",headerLogo:"header__headerLogo__wclUL",showOnMobile:"header__showOnMobile__bZK77",cta:"header__cta__g90ac",showtimesSh
2are:"header__showtimesShare__KcW1h",homeEntShare:"header__homeEntShare__HYJpA",pressKitShare:"header__pressKitShare__GncBX",navOpen:"header__navOpen__wJScv",video:"header__video__huVRt",share:"header__share__b5d6s",reset:"header__reset__bYK01",collapse:"header__collapse__ssp87",close:"header__close___nO02",actionButton:"header__actionButton__r5aub",homeEntBtn:"header__homeEntBtn__dx8mQ",pressKitBtn:"header__pressKitBtn__XpXDT","activeSection--boltVideos":"header__activeSection--boltVideos__c0NRV",regionSelectorOverlay:"header__regionSelectorOverlay__NltH8",backdrop:"header__backdrop__eNL4F",showing:"header__showing__k5DK7",regionSelector:"header__regionSelector__lX7zz",regions:"header__regions__FdrHI",region:"header__region__QUdsL",closeRegionSelector:"header__closeRegionSelector__G7HsE",desktopSolidHeader:"header__desktopSolidHeader__LSE2f",outerActionButton:"header__outerActionButton__qavXJ",providerInterstitialOpen:"header__providerInterstitialOpen__slpl5",dualView:"header__dualView__xIHHT",pop:"header__pop__tz0C5",providerInterstitial:"header__providerInterstitial__Y8pt5",back:"header__back__UOe56",homeInactive:"header__homeInactive__VYLqH",unclickable:"header__unclickable__UUlW8",logo:"header__logo__czLzu",link:"header__link__n6t85",fadeIn:"header__fadeIn__J8tG1"};class Ke extends e.uA{constructor(e){super(e),this.toggleShare=this.toggleShare.bind(this),this.openNavMenu=this.openNavMenu.bind(this),this.showShowtimes=this.showShowtimes.bind(this),this.showHomeEnt=this.showHomeEnt.bind(this),this.showCalendarRemind=this.showCalendarRemind.bind(this),this.triggerBurgerBtn=this.triggerBurgerBtn.bind(this),this.triggerActionButton=this.triggerActionButton.bind(this),this.renderExtraActions=this.renderExtraActions.bind(this),this.toggleRegionSelector=this.toggleRegionSelector.bind(this),this.getRegionList=this.getRegionList.bind(this)}componentDidMount(){const e=_.A.get();if(e.limitExceeded)return void _.A.on("UPDATE_API_KEY",this.getRegionList);this.getRegionList();const i=(0,t.xf)(),n="@dynamicPriority"===(0,k.wh)(e,"appData.header.powsterHeader.persistentBtn.path","");i&&n&&_.A.emit("FILTERS_REFRESH",{forceShowtimesRefresh:!0})}componentWillUnmount(){_.A.off("UPDATE_API_KEY",this.getRegionList)}async getRegionList(){let e=await(0,O.A)();e=e?JSON.parse(JSON.stringify(e)):{};const t=this.props.appData?.header?.powsterHeader?.regionSelector,i=t?.extraRegions||{},n=t?.disabledRegions?.toLowerCase()?.split(",")?.map((e=>e.trim()))?.filter((e=>e))||[],r=!!t?.includeRegionsToggle;Object.entries(i).forEach((([t,i])=>{e[t.toLowerCase()]=JSON.parse(JSON.stringify(i))})),Object.entries(e).forEach((([t])=>{r!==n.includes(t)&&delete e[t]}));const o=t?.useLanguage;let s=this.props?.appData?.meta?.region?.languageFull||this.props?.appData?.meta?.region?.language;o&&s&&e.us&&!e.us.label&&(e.us.label=s),this.setState({regions:e})}openNavMenu(){this.state.regions||_.A.get().limitExceeded||this.getRegionList(),_.A.emit("OPEN_NAV_MENU")}showShowtimes(){_.A.emit("SHOWTIMES_SHOW",!0)}showHomeEnt(){_.A.emit("HOMEENT_SHOW",!0)}showCalendarRemind(){_.A.emit("SHOW_CAL_REMIND")}toggleRegionSelector(){this.setState({regionSelectorShowing:!this.state.regionSelectorShowing})}getCurrentHeaderAction(){let e,t=this.props.headerData.actions;"undefined"!=typeof document&&(e=(0,k.wh)(this.props.appData,"header.powsterHeader.customBurgerMenu",null));const i=e?.path,n=this.props.headerData||{};return i?.startsWith("http")&&!n.showtimesSearchOverlay?{action:()=>window.open(i,"_blank")}:t[t.length-1]||{icon:"burger",action:this.openNavMenu}}hasFilmPage(){return Object.values(this.props.appData.pages||{}).filter((e=>e&&e.id&&"bolt"===e.base)).some((e=>"filmPage"===e.type))}getCurrentActionBtnAction(e){let t=!1;try{const{appData:e}=this.props,i=e?.pages.boltPreviewPanel&&!e?.pages.boltHome;t=!Object.values(e.pages).find((e=>e&&!e.type&&!e.section&&"home"===e.page))&&!i}catch(e){}if(e)return{icon:"close",action:()=>_.A.emit("HOMEENT_HIDE",!0),hidden:t};const i=_.A.get();if(i.widgetFullyExpanded)return{icon:"close",action:()=>_.A.emit("EXIT_WIDGET",!0),hidden:!1};if(i.pressKit?.show)return{icon:"close",action:()=>_.A.emit("PRESSKIT_HIDE",!0),hidden:!1};if(this.hasFilmPage())return{icon:"close",action:()=>_.A.emit("SHOWTIMES_HIDE",!0)};const n=(0,k.wh)(i,"showtimes.actions",[]);let r=n[n.length-1];return r||{icon:"close",action:()=>{_.A.emit("SHOWTIMES_HIDE",!0),(0,k.wh)(_.A.get(),"appData.pages.boltShowtimes.data.groupBookings.isEnabled",!1)&&history?.replaceState(null,"",location?.pathname)},hidden:t}}shouldHideActionBtn(e,t,i,n){const r=this.props.headerData?.interstitialOpen;if(e.hidden||r)return!0;
2if("back"===e.icon)return!1;const o=(0,E.KS)();return!(!(i||t||n)||!o)||void 0}isPersistentBtnExcluded(e){const t=(0,k.fY)(e.pageExclusions);return!!t.length&&t.includes(this.props.activePage)}getSectionSpecificStyle(){const e=this.props.headerData?.sectionUnderHeader||this.props.headerData?.activeSection,t=this.props.appData.styling.variables?.customHeaderColorsPerSection;return t&&t[e]?t[e]:null}async triggerBurgerBtn(){let e=this.getCurrentHeaderAction();_.A.emit("POP_HEADER_ACTION");try{"function"==typeof e.action?await e.action():"string"==typeof e.action&&_.A.emit(e.action)}catch(e){}}async triggerActionButton(e){let t=this.getCurrentActionBtnAction(e);_.A.emit("POP_SHOWTIMES_BTN_ACTION");try{"function"==typeof t.action?await t.action():"string"==typeof t.action&&_.A.emit(t.action)}catch(e){}}trackPersistentButtonClick(e,t){_.A.emit("HEADER_PERSISTENT_BUTTON_CLICK","header-button-click","header",t,{},e)}async triggerPersistentButton(e,i){if(this.trackPersistentButtonClick(e,i),!e)return;if("scrollTop"===e)return(0,x.BD)(document.getElementById("mainScroll"),0,300);const n=e.match(/(\?.*)(#|$)/)?.[1],r=e.replace(/\?.*?(?=#|$)/,"");(0,t.OU)(r,{queryString:n})}async toggleShare(){const e=(0,k.wh)(this.props,"headerData.shareOpen",!1),t=this.props.appData?.header?.powsterHeader?.share||{},i=t.webShare,n=this.props?.client?.device||"";if(!e&&i&&("desktop"!==n&&"tablet"!==n)&&navigator.share){_.A.emit("CLICKED_MOBILE_NATIVE_SHARE");const e=(0,k.wh)(this.props,"appData.copy.baseCopy.$META_TITLE",""),i=window.location.href,n=(0,Le.A)(this.props.appData?.copy?.baseCopy,t.socialCopy||"$SOCIAL_COPY");try{await navigator.share({text:n,title:e,url:i})}catch(e){}}else _.A.emit("TOGGLE_SHARE_OPEN"),e?_.A.emit("DISABLE_SCROLLING_LOCK"):_.A.emit("ENABLE_SCROLLING_LOCK")}renderExtraActions(){if((0,k.wh)(this.props,"appData.options.showtimesCreativeSpace"))return;const t=(0,k.wh)(this.props,"headerData.showtimesOverlay",!1),i=(0,k.wh)(this.props,"headerData.homeEntOverlay",!1),n=(0,k.wh)(this.props,"headerData.pressKitOverlay",!1),r=(0,k.wh)(this.props,"headerData.homeEntMerchantOpen",!1);let o=this.getCurrentActionBtnAction(i);const s=(0,k.wh)(this.props,"appData.pages"),a=Object.keys(s).every((e=>"boltShowtimes"===e||"boltVideos"===e)),l=_.A.get(),c=(0,k.wh)(l,"showtimes.actions",[]).length>0,d=(0,k.wh)(this.props,"client.isDesktopSize"),h=(0,k.wh)(this.props,"appData.copy.accessibilityCopy",{}),p=(0,k.wh)(l,"showtimes.providerInterstitialOpen",!1)||(0,k.wh)(l,"previewPanel.providerInterstitialOpen",!1);if(!d||!t&&!p&&!l.widgetFullyExpanded&&!n&&!i||!c&&a)return;let u=o.color||"";const g={close:(0,e.h)(Me.A,null),back:(0,e.h)(Be.A,null)},f="close"===o.icon?h.$CLOSE_SHOWTIMES_ARIA:"back"===o.icon?h.$BACK_BTN_SHOWTIMES_ARIA:"",m=this.shouldHideActionBtn(o,t,i,n),y=!(0,E.qF)()&&(0,k.wh)(this.props,"appData.options.sonyFeatures.sonyHeader",!1),v=(0,k.wh)(l,"externalCookieBanner.bannerOpen"),b=v||(0,k.wh)(l,"cookies.pushDown",!1)&&(0,k.wh)(l,"cookies.cookieBannerOpen",!1);let w={};if(d&&b){let e=v?(0,k.wh)(l,"externalCookieBanner.height"):(0,k.wh)(l,"cookies.height");w.left=(window.innerHeight-e-(y?35:0))/900*609-20+"px"}return(0,e.h)("div",{class:We.outerActionButton,key:"action-button",style:w},(0,e.h)(xe.A,{type:"primary",class:(0,k.XS)(We.actionButton,We[o.icon],m&&We.hidden,r&&We.homeEntMerchantOpen,i&&We.homeEntBtn,n&&We.pressKitBtn,p&&We.providerInterstitial),trigger:()=>this.triggerActionButton(i),style:{backgroundColor:u},ariaLabel:f},g[o.icon]))}renderRegionSelector(){let t=this.state.regions;if(!t)return;const i=this.props?.appData||{},n=i?.header?.powsterHeader?.regionSelector?.useLanguage;let r=i?.copy?.baseCopy?.$REGION_SELECTOR_COPY||"Choose an available region";n&&(r=i?.copy?.baseCopy?.$REGION_SELECTOR_LANG_COPY||"Choose your language");const o=i?.styling?.fontVariables||{},s=i?.copy?.accessibilityCopy||{};let a=Object.keys(t).filter((e=>t[e]&&t[e].url)).sort();if(!a.length||1===a.length&&"us"===a[0])return;let l={};const c=this.props?.footerData?.coveredScreenSize;return c&&(l={bottom:`${c}px`}
2),(0,e.h)("div",{class:(0,k.XS)(We.regionSelectorOverlay,this.state.regionSelectorShowing&&We.showing),key:"regionSelectorOverlay"},(0,e.h)("div",{class:We.backdrop,onClick:this.toggleRegionSelector}),(0,e.h)("div",{class:We.regionSelector,style:l},(0,e.h)("div",{class:(0,k.XS)(We.cta,o.regionSelectTitle)},r),(0,e.h)(xe.A,{class:We.closeRegionSelector,trigger:this.toggleRegionSelector,ariaLabel:s.$REGION_SELECTOR_CLOSE_BTN_ARIA},(0,e.h)(Me.A,null)),(0,e.h)("div",{class:We.regions},a.map((i=>{let r=t[i],a=i.replace(/_(.+)$/," ($1)").toUpperCase(),l=r.languageFull||r.language,c=n?r.label||l||a:r.label||a;return"us"===i?(0,e.h)(xe.A,{class:(0,k.XS)(We.region,We.active),type:"tag",active:!0,trigger:this.toggleRegionSelector,ariaLabel:s.$REGION_BTN_CURRENT_REGION_ARIA.replace("<country>",i.toUpperCase())},c):(0,e.h)(Pe.A,{class:(0,k.XS)(We.region,o.regionSelectCountryCodes),href:r.url,onClick:()=>_.A.emit("REGION_SELECTOR_CLICKED",i,c),ariaLabel:s.$REGION_BTN_ARIA.replace("<country>",i.toUpperCase())},c)})))))}onClick(e){(0,t.$s)(e)}onSonyLogoClick(){_.A.emit("CUSTOM_EVENT",{action:"sonyLogoClick",label:"header",category:"header"})}renderPersistentButton(){const{isCalendarRemindMode:t,appData:i,calRemindOpen:n,headerData:r}=this.props,{showtimesOverlay:o,homeEntOverlay:s,pressKitOverlay:a}=r,{copy:l}=i,c=_.A.get(),d=(0,k.wh)(i,"styling.fontVariables"),h=(0,k.wh)(i,"styling.enableDisableAllButtonStyling.persistentButton"),p=i.pages?.boltShowtimes,u=(0,k.wh)(i,"header.powsterHeader.persistentButton")||{},g=this.isPersistentBtnExcluded(u),f=(0,k.wh)(c,"previewPanel.providerInterstitialOpen",!1),m=c.widgetFullyExpanded;let y=u;y?.path||y?.label||(y=null);const v=i.header?.powsterHeader?.calendars;if(!y&&t&&v){y={path:"@calendarreminder",label:v.btnCopy,defaultLabel:"Save to Calendar",aria:l.accessibilityCopy?.$CALENDAR_REMINDER_BTN_ARIA}}if(y||!p||p.ageRestricted&&!1===this.props.client?.ofAge||(y={path:"boltShowtimes",label:"$FIND_CINEMAS",defaultLabel:"Find Cinemas",aria:l.accessibilityCopy?.$FIND_CINEMAS_BTN_ARIA}),!y)return;let b="";h&&(b=We.allStyling);const w=(0,k.XS)(d.headerCta,{s:We,persistentBtn:!0,hide:o||s||g||f||m||a||n},b);let A="";const S=this.getSectionSpecificStyle();if(S){const{persistentCTAHeaderButtonBg:e,persistentCTAHeaderButtonBgHover:t,persistentCTAHeaderButtonTxtColor:i}=S;A+=[i&&`--color: ${i};`,e&&`--background: ${e};`,t&&`--hover-background: ${t};`].filter((e=>e)).join("")}const{path:E,label:C,defaultLabel:T,aria:O,sameWindow:I}=y;let L=l?.baseCopy?.[C]||C;L&&!L?.startsWith("$")||(L=T);const D=(0,e.h)(De.A,{class:We.persistentBtnLabel,content:L,markdown:!0,activePage:this.props.activePage,onClickCapture:this.onClick});return E?/^(https?:\/\/|mailto:)/i.test(E)?(0,e.h)("a",{class:w,style:A,href:E,target:I?"_self":"_blank",rel:"noopener noreferrer",onClick:()=>this.trackPersistentButtonClick(E,L),key:"persistentButtonLink"},D):(0,e.h)(xe.A,{class:w,style:A,trigger:()=>this.triggerPersistentButton(E,L),type:"floating",ariaLabel:O,key:"persistentButton"},D):(0,e.h)("div",{class:w,style:A,key:"persistentButtonRaw"},D)}renderShare(){if(!(0,k.wh)(this.props,"appData.header.powsterHeader.share"))return;const i=this.props.appData.copy,n=(0,k.wh)(this.props,"client.isDesktopSize"),r=this.props.headerData||{},o=_.A.get(),s=o.appData||{},a=s.styling?.fontVariables,l=(0,k.wh)(o,"showtimes.providerInterstitialOpen"),c="desktop"!==(0,k.wh)(this.props,"client.device","")?"boltHome"===o.activePage:(o.homeActivePercentage||0)>(0,Ee.gm)(this.props.offsetTop),d=(0,t.xf)()&&(o.showtimes?.show||o.homeEnt?.show),h=this.getSectionSpecificStyle(),p={};if(h&&!r.open){const{headerShareMovie:e,headerShareMovieMob:t}=h;p.color=t&&!n?t:e}const u=(0,E.KS)()||r.showtimesSearchOverlay||r.homeEntMerchantOpen&&n||r.interstitialOpen;return[(0,e.h)(xe.A,{style:p,class:(0,k.XS)({s:We,shareBtn:!0,showtimesSh
2are:r.showtimesOverlay&&!r.open,navOpen:r.open,homeScrolled:!c,providerInterstitialOpen:l,homeEntShare:r.homeEntOverlay,pressKitShare:r.pressKitOverlay,hide:u,inactive:this.props.calRemindOpen,video:r.videoOverlayOpen,dualView:d}),trigger:this.toggleShare,ariaLabel:i.accessibilityCopy.$OPEN_SHARE_ARIA,key:"toggle-share"},(0,e.h)("span",{class:(0,k.XS)(We.cta,a.headerShare)},i.baseCopy.$SHARE),(0,e.h)(Ne.A,{class:We.share,"aria-hidden":!0})),(0,e.h)(ze.A,{appData:this.props.appData,shareOpen:r.shareOpen,toggleSharePop:this.toggleShare,shareDetails:r.shareDetails,closeBtnstyle:this.getCurrentHeaderAction().shareBtn,key:"share"})]}renderHeaderLogo(i=this.props?.appData?.header?.powsterHeader?.logo){const n=this.props?.client?.isDesktopSize,r=this.props?.appData?.header?.powsterHeader?.logo?.showOnMobile||!1;if(!i||!n&&!r)return;const{pageExclusions:o,pageInclusions:s,path:a,sameWindow:l,src:c,alt:d,width:h,height:p}=i,u=(o||"").split(",")?.map((e=>e.trim()))?.filter((e=>e)),g=(s||"").split(",")?.map((e=>e.trim()))?.filter((e=>e)),f=this.props.activePage;let m;m=g.length>0?!g.includes(f):u.includes(f);const y=(0,k.XS)(We.headerLogo,m&&We.hide,!a&&We.unclickable,r&&We.showOnMobile),_=(0,e.h)("img",{src:c,alt:d,width:h,height:p});let v={key:"headerLogo",class:y};if(!a)return(0,e.h)("div",v,_);if(/^(https?:\/\/|mailto:)/i.test(a))v.href=a,v.target=l?"_self":"_blank",v.rel="noopener noreferrer",v.onClick=()=>this.trackPersistentButtonClick(a,d||"headerLogo");else{const[,e,i,n]=a.match(/^(.*?)(\?.*?)?(#.*)?$/)||[];v.href=(0,t.rT)(e||a,i,n)||"#",v.onClick=e=>{e.preventDefault(),this.triggerPersistentButton(a,_)}}return(0,e.h)(Pe.A,v,_)}renderSonyHeader(){const t=this.props,i=t.appData;if(!i?.options?.sonyFeatures?.sonyHeader||(0,E.KS)())return;const n=i?.urls?.roots?.sharedMedia||"";let r=i?.copy.baseCopy.$SONY_PICTURES_LINK||"https://www.sonypictures.com/",o=i?.copy.baseCopy.$SONY_LINK||"https://www.sony.com/en/";const s=i?.copy.accessibilityCopy;return(0,e.h)("div",{class:We.sony,style:{top:t.offsetTop?t.offsetTop-34+"px":""}},(0,e.h)("div",{class:We.left},(0,e.h)(Pe.A,{class:!r&&We.disabled,target:"_blank",href:r,ariaLabel:s?.$SONY_PICTURES_LINK_ARIA_LABEL,onClick:this.onSonyLogoClick},(0,e.h)("img",{class:We.sonyPicturesLogo,src:`${n}/sonypictures/images/sony-pictures-logo.svg`,alt:s?.$SONY_PICTURES_LOGO_ALT}))),(0,e.h)("div",{class:We.right},null,(0,e.h)(Pe.A,{class:!o&&We.disabled,target:"_blank",href:o,ariaLabel:s?.$SONY_LINK_ARIA_LABEL,onClick:this.onSonyLogoClick},(0,e.h)("img",{class:We.sonyLogo,src:`${n}/sonypictures/images/sony-logo.svg`,alt:s?.$SONY_LOGO_ALT}))))}render(t){const{appData:i,activePage:n,headerData:r,isCalendarRemindMode:o,client:s,solidBackground:a,desktopSolidHeader:l,style:c,offsetTop:d,calRemindOpen:h}=t,{copy:p}=i,{showtimesOverlay:u,homeEntOverlay:g,pressKitOverlay:f,homeEntMerchantOpen:m,activeSection:y,videoOverlayOpen:v,showtimesSearchOverlay:b,open:w,shareOpen:A,interstitialOpen:S,hubTextOverlayOpen:C}=r||{},T=_.A.get(),O="desktop"!==(0,k.wh)(this.props,"client.device","")?"boltHome"===n:T.homeActivePercentage??1>(0,Ee.gm)(d),I=v?"boltVideos":y||"bolt",L=this.getCurrentHeaderAction(),D=this.renderRegionSelector(),x=void 0!==(0,k.wh)(i,"header.powsterHeader.regionSelector"),{regionSelectorShowing:P}=this.state,R=(0,k.wh)(this.props,"appData.styling.fontVariables"),N=(0,k.wh)(T,"synopsis.onesheetExpanded"),M=T.trailerOverlay?.overlayOpen&&T.trailerOverlay?.data?.video,B=(0,k.wh)(_.A.get(),"appData.options.disableBurgerMenu",!1),H=(0,k.wh)(this.props,"client.isDesktopSize");let $={};d&&($.top=d+"px");let V,F=this.renderSonyHeader();if(!(0,k.wh)(this.props,"appData.header.powsterHeader"))return F;"burger"===L.icon?V=p.accessibilityCopy.$OPEN_NAV_ARIA:"closeNavMenu"===L.tag?V=p.accessibilityCopy.$CLOSE_NAV_ARIA:"closeOnesheetOverlay"===L.tag?V=p.accessibilityCopy.$CLOSE_ONESHEET_ARIA:"closeCalRemind"===L.tag?V=p.accessibilityCopy.$CALENDAR_REMINDER_CLOSE_ARIA:"closeVideoOverlay"===L.tag?V=p.accessibilityCopy.$CLOSE_VIDEOS_ARIA:"closeTrailerOverlay"===L.tag?V=p.accessibilityCopy.$CLOSE_TRAILER_ARIA:"back"===L.icon&&(V=
2p.accessibilityCopy.$BACK_BTN_SHOWTIMES_ARIA);const G=!this.props?.appData?.header?.powsterHeader?.nav,U=(0,E.KS)(),j=p.baseCopy.$NAVIGATION_LABEL,z=j&&!u&&!g&&!v&&!G,W=(0,k.wh)(T,"showtimes.providerInterstitialOpen",!1)||(0,k.wh)(T,"previewPanel.providerInterstitialOpen",!1),K=this.getSectionSpecificStyle(),Y={};if(K){const{headerNavLabel:e}=K;Y.color=e}const X={};if(K&&!r.open){const{headerNavIconOpen:e,headerNavIconOpenMob:t}=K;X.background=t&&!H?t:e}const q=!L.icon||"burger"===L.icon,Z=(0,k.wh)(T,"appData.header.powsterHeader.customBurgerMenu",null);return(0,e.h)("div",{class:(0,k.XS)(`header-${n}`,w&&"navOpen",{s:We,headerContainer:!0,homeEntMerchantOpen:m})},F,(0,e.h)("div",{class:(0,k.XS)({s:We,container:!0,showtimesSearchOverlay:b,solidBackground:a,desktopSolidHeader:l,hubTextOverlayOpen:C},We[`activeSection--${I}`]),style:$,key:"container",id:"header"},(0,e.h)(xe.A,{class:(0,k.XS)(We.burgerMenuBtn,(A||P||G||W||B&&q)&&We.hide,U&&We.disabled),trigger:this.triggerBurgerBtn,ariaLabel:V,key:"burgerButton"},(0,e.h)(Re.A,{type:L.icon||"burger",dark:L.dark,style:L.style,hidden:S,lineStyle:X,showtimesOverlayOpen:u,homeEntOverlayOpen:g,pressKitOverlayOpen:f,isSinglePageIframed:U,homeScrolled:!O,navOpen:w,showtimesSearchOverlay:b,videoOverlayOpen:v,oneSheetOverlayOpen:N,trailerOverlayOpen:M,calendarRemindOpen:h,widgetFullyExpanded:T.widgetFullyExpanded,customBurgerMenu:b?null:Z,hubTextOverlayOpen:C})),this.renderHeaderLogo(),!!z&&(0,e.h)("span",{class:(0,k.XS)(We.menuText,R.headerShare,{s:We,homeScrolled:!O}),style:Y,onClick:this.triggerBurgerBtn},j),this.renderExtraActions(),this.renderPersistentButton(),this.renderShare(),(0,e.h)(je,{appData:i,activePage:n,headerData:r,navOpen:w,client:s,isCalendarRemindMode:o,showRegionSelector:D&&x,regionSelectorClick:this.toggleRegionSelector,style:c,key:"expand"}),D))}}class Ye extends Ke{componentDidMount(){super.componentDidMount?.(),this.props.appData?.options?.cmsManaged&&this.loadCustomData()}async loadCustomData(){const e=await(0,Ue.Ws)("landing");e&&(this.dynamicData={logo:e.nav.logo,links:Array.isArray(e.nav?.items)?e.nav.items.filter((e=>e)):[]},this.forceUpdate())}navigate(e){let i=e.currentTarget?.dataset.page;if(!i)return;e.preventDefault(),(0,t.OU)(i);const n=document.getElementById("mainScroll");n&&(n.scrollTop=0),_.A.emit("TRACK_NAV_LINK_CLICK",e.currentTarget.textContent,i)}renderPersistentButton(){const i=this.dynamicData;if(!i)return;const n=this.props.activePage,r=this.props.appData?.pages?.[n]?.parent;return(0,e.h)("div",{class:We.persistentBtn,key:"persistent"},(0,e.h)("a",{class:We.logo,href:(0,t.rT)("boltHome"),"data-page":"boltHome",onClick:this.navigate},(0,e.h)("img",{src:i.logo||"https://dx35vtwkllhj9.cloudfront.net/universalstudios/greenerlight/images/logo.svg",alt:"Universal GreenerLight logo"})),i.links.map((i=>(0,e.h)("a",{class:(0,k.XS)(We.link,(i.link===n||i.link===r)&&We.active),href:(0,t.rT)(i.link),"data-page":i.link,onClick:this.navigate},i.label))))}}var Xe=s(1714);const qe=t=>(0,e.h)("svg",(0,He.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",role:"img"},t),(0,e.h)("circle",{cx:"21.596",cy:"21.243",r:"1"}),(0,e.h)("path",{d:"M13.172 5.101c.267 0 .518.104.707.293l12.728 12.728a1 1 0 0 1 0 1.414l-7.071 7.071a.993.993 0 0 1-.707.293.993.993 0 0 1-.707-.293L5.393 13.879a.993.993 0 0 1-.293-.707c0-.267.104-.518.293-.707l7.071-7.071a.994.994 0 0 1 .708-.293m0-1a1.99 1.99 0 0 0-1.414.586l-7.071 7.071a2 2 0 0 0 0 2.828l12.728 12.728c.391.391.902.586 1.414.586s1.024-.195 1.414-.586l7.071-7.071a2 2 0 0 0 0-2.828L14.586 4.686a1.997 1.997 0 0 0-1.414-.585zm-.668 23.787c-3.641-.975-6.634-3.729-7.968-7.244l1.364.62a.5.5 0 1 0 .411-.911l-2.479-1.126a.5.5 0 0 0-.662.248l-1.126 2.48a.5.5 0 1 0 .91.414l.635-1.399c1.451 3.875 4.634 6.807 8.655 7.884a.498.498 0 0 0 .612-.354.498.498 0 0 0-.352-.612zm6.992-23.776c3.641.975 6.634 3.729 7.968 7.244l-1.364-.62a.5.5 0 1 0-.411.911l2.479 1.126a.5.5 0 0 0 .662-.248l1.126-2.48a.5.5 0 1 0-.91-.414l-.635 1.399c-1.451-3.875-4.634-6.807-8.655-7.884a.498.498 0 0 0-.612.354.498.498 0 0 0 .352.612z"}));(Object.getOwnPropertyDescriptor(qe,"name")||{}).writable||Object.defineProperty(qe,"name",{value:"default",configurable:!0});const Ze="landscapeOverlay__wrapper__ySlEt",Qe="landscapeOverlay__phoneIcon__hXNeF";class Je extends e.uA{componentDidMount(){_.A.get().quizPhotobooth&&_.A.emit("TRACK_QUIZPHOTOBOOTH_VIEW","rotate-device")}render(){return(0,e.h)("div",{className:Ze},(0,e.h)(qe,{class:Qe,ariaLabel:"Phone Icon"}))}}const et={};class tt extends e.uA{render(){return(0,e.h)("div",{class:et.loader},"Loading...")}}const it={container:"dynamicPageLoader__container__dP_35",component:"dynamicPageLoader__component__RFlGe",active:"dynamicPageLoader__active__VQEx9"},nt={};class rt extends e.uA{constructor(e){super(e),this.activeRequest=0,this.componentKey=1,this.state.components=[],this.usePage(e.page,e.data,e.props)}componentWillReceiveProps(e){this.pagesEqual(e.page,this.props.page)?this.updateCurrentPageProps(e.props):this.usePage(e.page,e.data,e.props)}componentWillUnmount(){this.unmounted=!0}pagesEqual(e,t){return e===t||!(!e||!t)&&(e.id===t.id&&!(!e.page||!t.page||e.page!==t.page))}updateActiveComponent(e,t,i){let n=this.componentKey++,r=this.state.components;
2this.state.components.forEach((e=>{if(e.removeTimer)return;let t=!1;const i=()=>{this.unmounted||t||(t=!0,this.setState({components:this.state.components.filter((t=>t!==e))}))};e.rendered?.transitionOut?.(i);const n=e.rendered?.removeDelay;let r=Number.isFinite(n)?n:500;e.removeTimer=setTimeout(i,r)})),r=r.concat({component:e,key:n,data:t,props:i}),this.setState({components:r,activeKey:n})}updateCurrentPageProps(e){if(this.activeProps=e,!this.state.components.length)return;this.state.components[this.state.components.length-1].props=e}async usePage(e,t,i){if(!e||!e.getter)return;if("function"!=typeof e.getter){this.props.onLoad?.();const n=e.getter?.default||e.getter;return this.updateActiveComponent(n,t,i)}if(nt[e.id])return this.updateActiveComponent(nt[e.id],t,i);let n=++this.activeRequest;this.activeProps=i,this.updateActiveComponent(e.loader||tt,{loader:!0});const r=await e.getter(),o=r?.default||r;try{this.props.onLoad?.()}catch(e){console.error(e)}nt[e.id]=o,this.activeRequest===n&&this.updateActiveComponent(o,t,this.activeProps)}render(t,i){return(0,e.h)("div",{class:(0,k.XS)(it.container,t.containerClass),inert:t.inert},i.components.map((n=>{const r=n.component,o=i.activeKey===n.key;return(0,e.h)("div",{class:(0,k.XS)({s:it,component:!0,active:o,loader:n.data?.loader},t.class),key:n.key},(0,e.h)(r,(0,He.A)({page:n.data,ref:e=>n.rendered=e},n.props)))})))}}var ot=s(3562);const st={container:"boltApp__container__ncO1Q",mainScrollWrapper:"boltApp__mainScrollWrapper__kffph",mainScroll:"boltApp__mainScroll__kHzR3",hideScrollbar:"boltApp__hideScrollbar__tsutg",dedicatedPage:"boltApp__dedicatedPage__Ffspl",pageWrapper:"boltApp__pageWrapper__mkos0",pageContainer:"boltApp__pageContainer__AOFRb",pageName:"boltApp__pageName__YbH71",background:"boltApp__background__v6C_s",hasStickyFooter:"boltApp__hasStickyFooter__H6V7P",hideBackground:"boltApp__hideBackground__Dq3bR",bgVideo:"boltApp__bgVideo___DD4Y",hidden:"boltApp__hidden__uONzF",sidePanelOpen:"boltApp__sidePanelOpen__KJfL5",fadeIn:"boltApp__fadeIn__FA8ar",loadingOccluder:"boltApp__loadingOccluder__XH6Cy",sound:"boltApp__sound__WZFZu",icon:"boltApp__icon__MdEoh",muted:"boltApp__muted__MAJgV","top-left":"boltApp__top-left__vurGQ","top-right":"boltApp__top-right__sZw8f","bottom-left":"boltApp__bottom-left__fX3H2","bottom-right":"boltApp__bottom-right__dEY4Y",removeOccluder:"boltApp__removeOccluder__pbru1",sidePanelAnimation:"boltApp__sidePanelAnimation__HQqwA",fadeOut:"boltApp__fadeOut__sSaGF",filmPageOverlay:"boltApp__filmPageOverlay__P0V6M"};function at(){at=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var r=t.placement;if(t.kind===n&&("static"===r||"prototype"===r)){var o="static"===r?e:i;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var n=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],n=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}
2),this),e.forEach((function(e){if(!dt(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:i,finishers:n};var o=this.decorateConstructor(i,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,i){var n=t[e.placement];if(!i&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var i=[],n=[],r=e.decorators,o=r.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,r[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);i.push.apply(i,c)}}return{element:e,finishers:n,extras:i}},decorateConstructor:function(e,t){for(var i=[],n=t.length-1;n>=0;n--){var r=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(r)||r);if(void 0!==o.finisher&&i.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return(0,i.A)(e).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=ut(e.key),n=e.placement+"";if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:i,placement:n,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:pt(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=pt(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var n=(0,t[i])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function lt(e){var t,i=ut(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function ct(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function dt(e){return e.decorators&&e.decorators.length}function ht(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function pt(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function ut(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}const gt={},ft="undefined"==typeof window;ft||(window.navigateInternally=t.OU,window.powCategories=Oe);let mt=function(e,t,i,n){var r=at();if(n)for(var o=0;o<n.length;o++)r=n[o](r);var s=t((function(e){r.initializeInstanceElements(e,a.elements)}),i),a=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var r,o=e[n];if("method"===o.kind&&(r=t.find(i)))if(ht(o.descriptor)||ht(r.descriptor)){if(dt(o)||dt(r))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");r.descriptor=o.descriptor}else{if(dt(o)){if(dt(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");r.decorators=o.decorators}ct(o,r)}else t.push(o)}return t}(s.d.map(lt)),e);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([y.A],(function(i,r){return{F:class extends r{constructor(e){super(e),i(this);const t=(0,ke.A)();this.state.appState=e.initialStore,this.state.orientation=e.initialStore?.client?.orientation||"portrait",this.state.bgImageLoaded=!1,this.state.backgroundStyle={}
2,this.state.fallbackBackgroundStyle={},this.state.posterVisible=!0,this.state.bgVideoHidden=!1,this.state.videoPlaySuccess=!1,this.state.audioMuted=!0,this.state.isComponentLoaded=!R.Bd[this.state.appState.activePage],_.A.set(e.initialStore),_.A.on("update",(()=>{const e=_.A.get();this.setState({appState:e})})),ft||this.runOnLoad(),this.scrolling=this.scrolling.bind(this),this.handleResize=this.handleResize.bind(this),this.handlePopState=this.handlePopState.bind(this),this.handleOrientationChange=this.handleOrientationChange.bind(this),this.updateVisibilityPercentages=this.updateVisibilityPercentages.bind(this),this.updateBgStyle=this.updateBgStyle.bind(this),this.hidePoster=this.hidePoster.bind(this),this.removeBgVideo=this.removeBgVideo.bind(this),this.playVideo=this.playVideo.bind(this),this.handleVisibilityChange=this.handleVisibilityChange.bind(this),this.onPageContentLoad=this.onPageContentLoad.bind(this),this.toggleAudio=this.toggleAudio.bind(this),this.occluderRemoved=this.occluderRemoved.bind(this);let n=e.initialStore?.appData,r=n?.options;this.hideHeader=t["no-header"],this.getBgData(),this.ageGateEnabled=r?.ageGate,this.externalLinkModalEnabled=!0===r?.externalLinkModal||r?.externalLinkModal?.enabled,this.userFeedbackModalEnabled=!!r?.userFeedbackModal,this.powsterCookiesEnabled=r?.cookiesModal?.enableModal,this.tealiumCookiesEnabled=r?.enableTealiumCookieConsent,this.evidonCookiesEnabled=r?.requireUserConsent,this.ensightenCookiesEnabled=r?.enableEnsighten,this.oneTrustCookiesEnabled=r?.oneTrustCookieConsent,this.didomiCookiesEnabled=r?.didomiCookieConsent,this.trustArcCookiesEnabled=r?.trustArcCookieConsent,this.SMECookiesEnabled=r?.SMECookieConsent,this.useKetchCookies=r?.ketchCookieConsent,this.cookiesEnabled=this.powsterCookiesEnabled||this.tealiumCookiesEnabled||this.ensightenCookiesEnabled||this.evidonCookiesEnabled||this.oneTrustCookiesEnabled||this.didomiCookiesEnabled||this.SMECookiesEnabled||this.useKetchCookies||this.trustArcCookiesEnabled}},d:[{kind:"method",key:"componentDidMount",value:function(){this.isCalendarRemindMode=!(0,t.sD)();const e=this.calendarNeeded();fe(),Ae(),window.addEventListener("orientationchange",this.handleOrientationChange),window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.scrolling,!0),window.addEventListener("popstate",this.handlePopState),document.addEventListener("visibilitychange",this.handleVisibilityChange),this.handleOrientationChange(),document.body.classList.add("js-loaded"),(0,E.f8)()&&document.body.classList.add("is-iframed");const i=this.base.querySelector(`.${st.loadingOccluder}`);if(i){const e=getComputedStyle(i);("none"===e.display||"hidden"===e.visibility||"0"===e.opacity)&&this.setState({contentVisible:!0})}_.A.get().client.set({headerHeight:(0,t.vF)()});let n=(0,ke.A)();if(_.A.emit("LANDING_QUERY",n),this.cookiesEnabled?(_.A.emit("CHECK_COOKIES",ot.I),this.powsterCookiesEnabled&&Promise.all([s.e(772).then(s.bind(s,2649)),s.e(731).then(s.bind(s,972))]).then((([e,t])=>{this.Cookies=e.default,this.CookiesPreference=t.default,this.forceUpdate()}))):_.A.emit("ACCEPT_ALL_COOKIES",{doNotSetCookie:!0}),this.useKetchCookies&&s.e(225).then(s.bind(s,2225)),this.trustArcCookiesEnabled&&s.e(656).then(s.bind(s,5656)),this.ageGateEnabled){const e=this.state.appState?.appData?.options?.ageGate?.cookieName||"pow-agegate",t=this.state.appState?.appData?.options?.ageGate?.lockOut,i="adult"===n.ag||(0,U.R)(e);null!==i&&(_.A.emit("AGEGATE_CONSENT",+i),(!t||i>0)&&_.A.emit("AGEGATE_CLOSE")),s.e(873).then(s.bind(s,9092)).then((e=>{this.AgeGate=e.default,this.forceUpdate()}))}this.externalLinkModalEnabled&&s.e(57).then(s.bind(s,7552)).then((e=>{this.ExternalLinkModal=e.default,this.forceUpdate()})),this.userFeedbackModalEnabled&&s.e(494).then(s.bind(s,5673)).then((e=>{this.UserFeedbackModal=e.default})),this.state.appState?.appData?.options?.videoOverlay&&this.loadTrailerOverlay(),this.state.appState?.appData?.options?.geoPopup&&s.e(956).then(s.bind(s,326)).then((e=>{this.GeoPopup=e.default})),Object.values(this.state.appState?.appData?.pages).find((e=>"pressKit"===e.type))&&s.e(650).then(s.bind(s,8375)).then((e=>{this.PressKitGalleryOverlay=e.default})),this.state.appState?.appData?.options?.landingAudio&&s.e(858).then(s.bind(s,2885)).then((e=>{this.LandingAudio=e.default,this.forceUpdate()}));const r=this.state.appState?.appData?.options?.formEmbeds?.signUp;Object.values(r||{}).filter((e=>e)).length&&s.e(769).then(s.bind(s,9549)).then((e=>{this.SignUpForm=e.default})),!this.isCalendarRemindMode&&!e||this.state.calRemindLoaded||this.calRemindLoadStarted||(this.calRemindLoadStarted=!0,s.e(102).then(s.bind(s,5997)).then((e=>{this.CalRemind=e.default}))),this.updateBgStyle(),this.updateVisibilityPercentages(),_.A.on("SECTION_LOADED",this.scrolling),_.A.on("PLAY_BACKGROUND_VIDEO",this.playVideo);const o=(0,k.wh)(this.state.appState,"appData.options.paramountFeatures.visibleScrollbar",{}),a=(0,k.wh)(this.state.appState,"appData.styling.variables",{});if(o?.color){let e=o.color.replace("$","");(0,t.vQ)("#mainScroll::-webkit-scrollbar-thumb",{background:a[e]||e})}if(o?.backgroundColor){let e=o.backgroundColor.replace("$","");(0,t.vQ)("#mainScroll::-webkit-scrollbar-track",{background:a[o.color]||e})}const l=(0,k.wh)(this.state.appState,"appData.options.formEmbeds.popup",{});!l.id&&l.baseUrl&&l.uuid&&l.lid&&l.landingDelay&&_.A.emit("SUBSCRIBER_POPUP",l,!0),n.sync&&s.e(326).then(s.bind(s,9608)).then((e=>e.prepareSync()))}},{kind:"method",key:"componentWillUnmount",value:function(){window.removeEventListener("orientationchange",this.handleOrientationChange),window.removeEventListener("scroll",this.scrolling,!0),window.removeEventListener("popstate",this.handlePopState),document.removeEventListener("visibilitychange",this.handleVisibilityChange),_.A.off("SECTION_LOADED",this.scrolling),_.A.off("PLAY_BACKGROUND_VIDEO",this.playVideo),o?(a.forEac
2h((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),l&&(document.removeEventListener("touchmove",u,n?{passive:!1}:void 0),l=!1),c=-1):g(),a=[],window.clearTimeout(this.videoTimeout)}},{kind:"method",key:"componentDidUpdate",value:function(e,i){const n=this.state.appState;i.appState.activePage!==n.activePage&&(this.updateVisibilityPercentages(),this.getBgData(),this.updateBgStyle()),(i.appState.homeActivePercentage>0&&!n.homeActivePercentage||!i.appState.homeActivePercentage&&n.homeActivePercentage>0)&&(this.getBgData(),this.updateBgStyle());if(n.trailerOverlay?.overlayOpen&&n.trailerOverlay?.data?.video&&this.loadTrailerOverlay(),!this.cookieHeight&&!ft){const e=document.querySelector("[data-section=cookies]");this.cookieHeight=e&&window.getComputedStyle(e).height}const r=(0,k.wh)(this.state,"appState.client.isDesktopSize"),o=(0,k.wh)(i,"appState.client.isDesktopSize"),a=(0,k.wh)(this.state,"appState.client.isDesktopWidth"),l=(0,k.wh)(i,"appState.client.isDesktopWidth");r===o&&a===l||_.A.get().client.set({headerHeight:(0,t.vF)()});const{homeActivePercentage:c}=this.state.appState,d=r?.6:.4;if(this.$bgVideo){const e=this.getBgValue("disableLoop"),t=this.$bgVideo.currentTime>=this.$bgVideo.duration;!(c>=d&&this.$bgVideo.paused)||e&&t?c<d&&this.$bgVideo.pause():this.$bgVideo.play()}this.state.appState.debugMode&&!this.loadingDebugInfo&&(this.loadingDebugInfo=!0,s.e(972).then(s.bind(s,2142)).then((e=>{this.DebugInfo=e.default,this.forceUpdate()})));let h=[...this.$bgVideo?.children||[]].map((e=>e.src)).join(",");this.previousBgSources&&h!==this.previousBgSources&&this.$bgVideo?.load(),this.previousBgSources=h}},{kind:"method",key:"runOnLoad",value:function(){const{appData:e}=this.state.appState,i=e?.tracking;v.Ts(i.toJS?i.toJS():i),this.handleResize(),_.A.emit("LANDING",{page:(0,t.GD)(e?.pages)||window.__START_PAGE_ID__})}},{kind:"method",key:"loadTrailerOverlay",value:function(){this.trailerOverlayLoaded||(this.trailerOverlayLoaded=!0,s.e(376).then(s.bind(s,562)).then((e=>{this.TrailerOverlay=e.default,this.forceUpdate()})))}},{kind:"get",key:"sidePanelOpen",value:function(){const e=this.state.appState;return e.showtimes?.show||e.homeEnt?.show}},{kind:"method",key:"getBgData",value:function(){const e=this.state.appState?.appData?.pages||{},t=this.state.appState.activePage||"",i=e[t]?.type,n="showtimes"!==i?e[t]?.data?.bg:null,{homeActivePercentage:r}=this.state.appState,o=e.boltHome?.data?.bg||{};this.backgroundData=r>0?o:n}},{kind:"method",key:"handleVisibilityChange",value:function(){if("undefined"==typeof document||document.hidden||!this.$bgVideo)return;(this.$bgVideo.paused||0===this.$bgVideo.currentTime||this.$bgVideo.ended)&&this.$bgVideo.readyState>=2&&(this.videoTimeout=window.setTimeout((()=>{this.$bgVideo&&this.$bgVideo.play()}),100))}},{kind:"method",key:"updateBgStyle",value:function(){if(this.backgroundData){if(this.backgroundData.useSolidBgColor)return;this.setState({backgroundStyle:{backgroundImage:this.getBgImage(),backgroundPosition:this.getBgValue("bgPosition")},fallbackBackgroundStyle:{objectPosition:this.getBgValue("bgPosition")}})}else this.setState({backgroundStyle:{},fallbackBackgroundStyle:{}})}},{kind:"method",key:"removeBgVideo",value:function(){gt[this.state.bgVideo]=!0,this.setState({bgVideo:!1})}},{kind:"method",key:"scrolling",value:function(){const e=(0,k.wh)(this.state,"appState.header.open"),t=(0,k.wh)(this.state,"appState.ignoreScroll");e||t||this.updateVisibilityPercentages()}},{kind:"method",key:"updateVisibilityPercentages",value:function(){_.A.emit("UPDATE_VISIBILITY_PERCENTAGES")}},{kind:"method",key:"calendarNeeded",value:function(){const e=this.state.appState.appData;if(e?.options?.useCalendar)return!0;return[(0,k.wh)(e,"pages.boltShowtimes.data.noShowtimes.buttons.extraButton.path",null),(0,k.wh)(e,"pages.boltHome.data.button1.path",null),(0,k.wh)(e,"pages.boltHome.data.button2.path",null),(0,k.wh)(e,"header.powsterHeader.persistentButton.path",null)].includes("@calendarreminder")}},{kind:"method",key:"getHeaderOffset",value:function(){const{appState:e}=this.state,{appData:t,cookies:i,externalCookieBanner:n}=e;let r=0;t?.options?.sonyFeatures?.sonyHeader&&!(0,E.KS)()&&(r=34);const o=n?.bannerOpen;
2if(o||i?.pushDown&&i?.cookieBannerOpen){r+=(o?n.height:i?.height)||0}return r}},{kind:"method",key:"getBgValue",value:function(e){if(!this.backgroundData||!this.backgroundData.desktop&&!this.backgroundData.tablet&&!this.backgroundData.mobile)return;let i={};return Object.entries(this.backgroundData).map((([t,n])=>{i[t]=n?.[e]})),(0,Se.L)((0,t.xO)(i))}},{kind:"method",key:"getFallbackFormat",value:function(){const e=_.A.get();let t="boltSplashHub"===e.activePage?"boltSplashHub":"boltHome";return(0,k.wh)(e,`appData.pages.${t}.data.bg.alternativeImageFormat`,"jpg")}},{kind:"method",key:"getBgImage",value:function(){let e=this.getBgValue("asset");const t=this.getFallbackFormat();let i=!1;if(i=this.state.appState.appData?.pages?.boltHome?.data?.bg?.staticBackground,["mp4","webm","mov"].includes(e?.split?.(".").pop())){const t=!i&&!gt[e]&&e;this.state.bgVideo!==t&&this.setState({bgVideo:t});const n=i?"staticBackgroundImg":"fallbackImg";e=this.getBgValue(n)}else this.state.bgVideo&&this.setState({bgVideo:!1});if(!this.state.bgImageLoaded)if(e){if(!this.occluderTimeout){const i=new Image;i.onload=()=>this.setState({bgImageLoaded:!0}),i.onerror=i.onload,i.src=Ce.sU(e,t),this.occluderTimeout=setTimeout((()=>{this.state.bgImageLoaded||this.setState({bgImageLoaded:!0})}),5e3)}}else this.setState({bgImageLoaded:!0});return Ce.AH(e,t)}},{kind:"method",key:"getH1",value:function(t,i,n,r){let o=[t?.meta?.title?.locale,t?.copy?.baseCopy[i?.name]||t?.copy?.baseCopy[n?.name]||i?.name||n?.name||r?.replace(/^bolt/,"")].filter((e=>e)).join(" | ");return n?.h1&&(o=n.h1),(0,e.h)("h1",{class:st.pageName},o)}},{kind:"method",key:"closeAllOverlays",value:function(){_.A.emit("CLOSE_ALL_OVERLAYS")}},{kind:"method",key:"handleOrientationChange",value:function(){this.handleResize();let e="portrait";switch(window.orientation){case 0:case 180:e="portrait";break;case-90:case 90:e="landscape"}this.setState({orientation:e})}},{kind:"method",key:"handleResize",value:function(){_.A.emit("UPDATE_CLIENT");let e=window.innerHeight;document.documentElement.style.setProperty("--vh",.01*e+"px"),document.documentElement.style.setProperty("--windowHeight",e+"px");let t=(0,E.A9)(),i=this.state.appState.client;i&&t!==i.isDesktopSize&&_.A.get().client.set({isDesktopSize:t}),this.updateBgStyle()}},{kind:"method",key:"hidePoster",value:function(){this.setState({posterVisible:!1})}},{kind:"method",key:"handlePopState",value:function(e){let i=e.state?.activePage;i||(i=(0,t.GD)()),_.A.emit("POP_STATE",i||window.__START_PAGE_ID__)}},{kind:"method",key:"onPageContentLoad",value:function(){!0!==this.state.isComponentLoaded&&this.setState({isComponentLoaded:!0})}},{kind:"method",key:"getExtra",value:function(){}},{kind:"method",key:"playVideo",value:function(){this.state.bgVideo&&!this.state.videoPlaySuccess&&(this.state.bgVideoHidden?(0,ce.A)(this.$bgVideo).then((()=>{this.hidePoster(),this.setState({bgVideoHidden:!1,videoPlaySuccess:!0})})).catch(this.removeBgVideo):(0,ce.A)(this.$bgVideo,!0).then((()=>{this.hidePoster(),this.setState({videoPlaySuccess:!0})})).catch((()=>{this.setState({bgVideoHidden:!0})})))}},{kind:"method",key:"toggleAudio",value:function(){this.$bgVideo&&(this.setState({audioMuted:!this.$bgVideo.muted}),this.$bgVideo.muted=!this.$bgVideo.muted)}},{kind:"method",key:"checkIfLoaded",value:function(){return this.state.isComponentLoaded&&(this.state.bgImageLoaded||!this.backgroundData||this.backgroundData.useSolidBgColor)}},{kind:"method",key:"occluderRemoved",value:function(){this.setState({contentVisible:!0})}},{kind:"method",key:"renderLoadingOccluder",value:function(){return(0,e.h)("div",{class:st.loadingOccluder,onAnimationEnd:this.occluderRemoved,key:"occluder"})}},{kind:"method",key:"renderBgVideo",value:function(){const{appState:t,bgVideo:i,backgroundStyle:n,fallbackBackgroundStyle:r,posterVisible:o}=this.state,{activePage:s}=t,a="boltHome"!==s&&"boltSplashHub"!==s&&!t.appData.pages[s]?.section,l=(0,k.wh)(t,"showtimes.show",!1),c=!(t.homeActivePercentage??1)||l||a,d=this.getBgValue("preLoadImg"),h=this.getFallbackFormat(),p=(0,k.wh)(t,"appData.copy.accessibilityCopy",{});return(0,e.h)("div",{class:(0,k.XS)({s:st,bgVideo:!0,hideBackgroun
2d:c}),key:"bgVideo"},(0,e.h)("video",{style:n,class:this.state.bgVideoHidden&&st.hidden,muted:this.state.audioMuted,autoPlay:!0,playsInline:!0,loop:!this.getBgValue("disableLoop"),poster:Te.$?d:d.replace(/\.[^.]*$/,h),onCanPlay:this.playVideo,onError:this.removeBgVideo,ref:e=>this.$bgVideo=e,ariaLabel:p.$BACKGROUND_VIDEO_ARIA},i.endsWith(".webm")&&(0,e.h)("source",{src:i,type:"video/webm"}),(0,e.h)("source",{src:i.replace(/\.[^./]+$/,".mp4"),type:"video/mp4"})),o&&(0,e.h)(Ce.VI,{src:d,alt:"",fallbackFormat:h,style:r}))}},{kind:"method",key:"renderBackground",value:function(){if(this.state.bgVideo)return this.renderBgVideo();const{appState:t}=this.state,{appData:i,client:n,cookies:r,externalCookieBanner:o}=t,s=!n?.isDesktopSize,a=o?.bannerOpen,l=a||r?.pushDown&&r?.cookieBannerOpen,c={};if(l&&"undefined"!=typeof window){const e=this.getHeaderOffset();c.top=`${e}px`}const d=!(t.homeActivePercentage??1)&&s;return(0,e.h)("div",{class:(0,k.XS)({s:st,background:!0,sidePanelOpen:this.sidePanelOpen,hasStickyFooter:i?.footer?.sticky,cookieMode:l,hideBackground:d,sidePanelAnimation:t.showtimes?.animate||t.homeEnt?.animate,hasMiniGallery:i?.options?.paramountFeatures?.toutCarousel?.contentCarousel}),style:{...this.state.backgroundStyle,...c},key:"background",role:"img",ariaLabel:i?.copy?.accessibilityCopy?.$BACKGROUND_IMAGE_ARIA})}},{kind:"method",key:"renderMain",value:function(t,i){const{appState:n,audioMuted:r,bgVideo:o}=i,{activePage:s,appData:a,client:l,videos:c,header:d,scrollerTallerThanWindow:h,widgetFullyExpanded:p,externalCookieBanner:u}=n;let g=s,f=a?.pages?.[s];f?.section&&(g=Object.values(R.Bd).find((e=>"home"===e.page))?.id||"boltHome");let m=R.Bd[g]||this.currentPage;f?.customPageComponent&&R.Bd[f.customPageComponent]&&(m={...R.Bd[f.customPageComponent],id:f.id}),t.renderedPage&&(m=t.renderedPage),this.currentPage=m;const y=i.orientation,_=!l?.isDesktopSize,v="mobile"===l?.deviceSize&&"landscape"===y,b="desktop"!==l?.device&&!v&&"landscape"===y,w=c?.overlayOpen,A=this.sidePanelOpen,S=(0,k.wh)(n,"homeActivePercentage",1),E=(0,k.wh)(n,"hubActivePercentage",1),C=u?.bannerOpen,T=C&&_||a?.options?.oneContinuousScroll,O=(0,k.wh)(a,"footer.sonyFooter",!1),I=(0,k.wh)(a,"options.disableLandscape"),L=(0,k.wh)(a,"options.disableTabletLandscape"),D=(0,k.wh)(a,"options.landingAudio",null),x=(0,k.wh)(a,"options.paramountFeatures.visibleScrollbar",!1),P=(0,k.wh)(a,"pages.boltIframe.data.disableOrientationLock",!1)&&"boltIframe"===s,N=(v&&I||b&&L)&&!P,M=(0,k.wh)(a,"pages.boltHome.data.bg.videoHasAudio",!1),B=(0,k.wh)(a,"pages.boltHome.data.bg.iconPosition","top-left"),H={};x&&(H.scrollbarColor=`${x.color} ${x.backgroundColor}`);const $=n.header.open;let V=this.getHeaderOffset();const F=(0,k.wh)(n,"client.headerHeight",0),G=(0,k.wh)(a,"header.powsterHeader.desktopSolidHeader",null),U=(0,k.wh)(a,"pages.boltHubPage")&&!(0,k.wh)(a,"pages.boltHome"),j=a?.pages.boltPreviewPanel&&!a?.pages.boltHome,z=R.Bd[s]&&"boltHome"!==s&&!f?.section,W=S<=(0,Ee.gm)(V)||z,K=E<=(0,Ee.gm)(F);let Y=(U?K:W)&&!A&&!w;(j||!h||p)&&(Y=!1);const X=this.checkIfLoaded();let q=Object.values(a.pages).some((e=>"showtimes"===e?.type)),Z=Object.values(a.pages).some((e=>"homeEnt"===e?.type)),Q=Object.values(a.pages).some((e=>"pressKit"===e?.type)),J=this.renderBackground(),ee={};return m&&(ee={store:n,client:n.client,appData:a,id:m.id,data:a.pages[m.id]?.data,bgRender:T&&J},m.page&&(ee[m.page]=n[m.page])),(0,e.h)("div",{class:(0,k.XS)(st.mainScroll,X&&"contentLoaded",i.contentVisible&&"contentVisible",(!x||_)&&st.hideScrollbar,z&&st.dedicatedPage),id:"mainScroll",style:H,key:"mainScroll"},!this.hideHeader&&(0,e.h)(Ye,{closeAllOverlays:this.closeAllOverlays,client:l,appData:a,activePage:s,solidBackground:Y,headerData:d,offsetTop:V,isCalendarRemindMode:this.isCalendarRemindMode,calRemindOpen:n.calRemindOpen,desktopSolidHeader:G,footerData:n.footer,key:"header"}),this.getH1(a,m,f,s),J,this.CalRemind&&(0,e.h)(this.CalRemind,{appData:a,open:n.calRemindOpen,offsetTop:V,key:"calendarRemind"}),(0,e.h)(rt,{class:st.pageContainer,containerClass:(0,k.XS)(st.pageWrapper,"pageWrapper"),page:m,props:ee,onLoad:this.onPageContentLoad,inert:$||w||A,key:"dynamicPageLoader"}),(!A||O)&&(0,e.h)(Xe.A,{data:a.footer,store:n,inert:$,key:"footer"}),R.VideoOverlayLoader&&(0,e.h)(R.VideoOverlayLoader,{store:n,inert:$,key:"videoLoader"}),q&&(0,e.h)(R.fq,{store:n,inert:$,key:"showtimesLoader"}),Z&&(0,e.h)(R.fq,{store:n,inert:$,key:"homeEntLoader"}),Q&&(0,e.h)(R.fq,{store:n,inert:$,key:"pressKitLoader"}),this.TrailerOverlay&&(0,e.h)(this.TrailerOverlay,{store:n}),this.GeoPopup&&(0,e.h)(this.GeoPopup,{store:n}),this.PressKitGalleryOverlay&&(0,e.h)(this.PressKitGalleryOverlay,{store:n}),this.LandingAudio&&(0,e.h)(this.LandingAudio,{data:D,offsetTop:V,store:n}),M&&o&&(0,e.h)("button",{onClick:this.toggleAudio,class:(0,k.XS)(st.sound,r&&st.muted,st[B])},(0,e.h)("div",{class:st.icon})),!w&&N&&(0,e.h)(Je,{key:"landscape-overlay"}),this.renderLoadingOccluder(),this.getExtra())}},{kind:"method",key:"render",value:function(t,i){const{appData:n,client:r,cookies:o,externalCookieBanner:s,debugMode:a,footer:l,header:c}=i.appState,d=o.cookiePreferencesOpen,h=o.cookieBannerOpen;let p=!1!==i.appState.ageGateOpen;const u=n?.options?.ageGate?.onlyOnPages;if(p&&u){const e=n.pages[i.appState.activePage].section;p=u.split(",").map((e=>e.trim())).includes(i.appState.activePage)&&!e}const g=Object.keys(n.header).find((e=>e.endsWith("Header")&&"powsterHeader"!==e)),f=["sonyFooter"].find((e=>n.footer[e]))||"defaultFooter",m=c.open;let y=a&&this.DebugInfo,{Cookies:_,CookiesPreference:v,AgeGate:b,ExternalLinkModal:w,UserFeedbackModal:A,SignUpForm:S}=this;const E="rtl"===n?.styling?.fontVariables?.textDirection,C=`--footer-covered-screen-size: ${l?.coveredScreenSize||0}px;
2`,T=[_&&(0,e.h)(_,{appData:n,categories:ot.I,hidden:!h,key:"cookieBanner"}),(0,e.h)("div",{class:st.mainScrollWrapper,key:"mainScrollWrapper"},this.renderMain(t,i)),v&&(0,e.h)(v,{appData:n,copy:n.copy.baseCopy,categories:ot.I,key:"cookiesPref",cookiePrefsOpen:d}),b&&p&&(0,e.h)(b,{appData:n,copy:n.copy,key:"ageGate"}),w&&(0,e.h)(w,{appData:n,externalLinkModal:i.appState.externalLinkModal,copy:n.copy,key:"externalLink"}),A&&(0,e.h)(A,{appData:n,data:i.appState.userFeedbackModal,copy:n.copy,key:"userFeedback"}),S&&(0,e.h)(S,{data:n?.options?.formEmbeds?.signUp,activePage:i.appState.activePage,clientData:r,cookies:o,externalCookieBanner:s,showtimesProviderInterstitialOpen:i.appState.showtimes?.providerInterstitialOpen,navOpen:m,key:"signUp"}),y&&(0,e.h)(y,{appData:n,appState:i.appState,key:"debug"})].filter((e=>e));return(0,e.h)("div",{class:(0,k.XS)(st.container,r.device,r.orientation,r.isIOS&&"iOS",r?.isSafari&&"isSafari",g,f,"page-"+i.appState.activePage,E&&"isRTL"),id:"bolt",style:C},T)}}]}}),e.uA);class yt extends mt{componentDidMount(){super.componentDidMount(),(0,E.KS)()&&document.body.classList.add("singlePageIframed")}}if("undefined"!=typeof window){(async()=>{await(0,j.waitForOneTrust)();let e=!1;const t=()=>!!window.OptanonActiveGroups?.includes(",SPD_BG,");let i=t();window.addEventListener("consent.onetrust",(()=>{let n=i;i=t(),n!==i&&(e=!0)})),window.addEventListener("OTConsentApplied",(()=>e&&location.reload()))})()}class _t extends yt{}var vt=s(1297);_.A.on("UPDATE_DYNAMIC_DATA",(({page:e,data:t})=>{const i=_.A.get(),n=i.dynamicData||{};i.set({dynamicData:{...n,[e]:{...n[e],...t}}})}));s(9899);let bt=(0,t.tQ)(window.__INITIAL_STATE__),wt=document.getElementById("app")||document.body;(0,e.XX)((0,e.h)(class extends _t{async componentDidMount(){super.componentDidMount?.(),this.state.appState.appData?.options?.cmsManaged&&await this.loadCustomData();const{previewDataPath:e}=(0,ke.A)();if(await this.loadFilmPages(e),_.A.on("SET_ACTIVE_PAGE",(e=>{this.filmPageSelected=!1;const t=this.state?.appState?.appData,i=t?.pages?.[e];"filmPage"===i?.type?(this.filmPageSelected=!0,window.disableAutoScrollReset=!0):window.disableAutoScrollReset=!1,this.state.appState.appData?.options?.cmsManaged&&this.updateMetaData(e)})),this.state.appState.appData?.options?.cmsManaged){const e=this.state?.appState?.activePage;this.updateMetaData(e)}}async loadCustomData(){const e=await(0,Ue.Ws)("landing");if(e){const{appState:t}=this.state;if("boltHome"===t.activePage)this.dynamicBackgroundData={...this.backgroundData,desktop:{...this.backgroundData.desktop,asset:e?.page?.desktopBgVideo},tablet:{...this.backgroundData.tablet,asset:e?.page?.tabletBgVideo},mobile:{...this.backgroundData.mobile,asset:e?.page?.mobileBgVideo}};this.getBgData(),this.updateBgStyle();const i=await(0,Ue.Ws)("about");_.A.emit("UPDATE_DYNAMIC_DATA",{page:"landing",data:e}),_.A.emit("UPDATE_DYNAMIC_DATA",{page:"about",data:i})}_.A.get().set({dynamicDataLoaded:!0}),this.forceUpdate()}async updateMetaData(e){if(!e)return;const t=this.state?.appState?.appData,i=t?.pages?.[e],n="filmPage"===i?.type;let r;if(n)r="film-pages";else{r={boltHome:"landing",about:"about",projectHighlights:"project-highlights",engagement:"engagement",news:"in-the-news"}[e]}if(!r)return;const o=await(0,Ue.Ws)(r);let s=o?.meta;if(n){const t=Object.values(o||{}).find((t=>t.url===e));s=t?.meta||{}}if(s){const{title:e,description:t}=s;if(e&&(document.title=e),t){const e=document.querySelector('meta[name="description"]');e&&e.setAttribute("content",t)}}}getBgData(){super.getBgData?.(),this.dynamicBackgroundData&&(this.backgroundData=this.dynamicBackgroundData)}async loadFilmPages(e){const i=await(0,Ue.Ws)("film-pages"),n=Object.values(i||{}).flatMap(Ue.SY);_.A.get().appData.pages.set(Object.fromEntries(n.map((e=>[e.id,e])))).now();const r=i[e]?.url;r&&(0,t.OU)(r)}render(e,t){const i=super.render(e,t),n=(0,vt.f1)(i,`.${st.container}`);return n&&this.filmPageSelected&&(n.attributes.class=(0,k.XS)(n.attributes.class,st.filmPageOverlay)),i}},{initialStore:bt}),wt,wt.firstChild)})(),{}})()));
3//# sourceMappingURL=bolt.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.