1import{a as et}from"./chunk-RJAEQY54.js";import{d as je,e as Ge,f as K,g as oe,h as ae}from"./chunk-573RH2B5.js";import"./chunk-OQIRJL5T.js";import{a as We}from"./chunk-4EHARJYJ.js";import{a as it}from"./chunk-ASRHZGUZ.js";import{f as Xe,k as tt,m as nt}from"./chunk-CW2MO3EH.js";import{a as ie}from"./chunk-NDQEIX5P.js";import"./chunk-UMHGTHNS.js";import{a as Ke}from"./chunk-DIS63NVT.js";import{b as Qe}from"./chunk-F3FODLM3.js";import"./chunk-W6UNJBDB.js";import"./chunk-QP3RZK63.js";import{d as L}from"./chunk-7TCPK3T3.js";import"./chunk-3ZQSZSGT.js";import{a as Ze}from"./chunk-NXNHG37S.js";import"./chunk-MXFYLHN6.js";import"./chunk-BE3WIQZS.js";import{g as Je}from"./chunk-GPVJVS5E.js";import{c as O}from"./chunk-OCHYF3YY.js";import"./chunk-TI4OVWIA.js";import"./chunk-27NFZ537.js";import"./chunk-SYHHOFAR.js";import"./chunk-YEXRG7QH.js";import"./chunk-5UQP6B7C.js";import"./chunk-N7DVPXIV.js";import"./chunk-Z43XWAKD.js";import"./chunk-R6KD76JQ.js";import"./chunk-DF2ISMSV.js";import"./chunk-7YCPHBSO.js";import"./chunk-6GJACBY4.js";import"./chunk-XXVDI6K7.js";import"./chunk-LNVSWGDM.js";import{l as qe,p as Ye}from"./chunk-D3G2BOEA.js";import"./chunk-AAVZWHII.js";import"./chunk-NV4J6U3U.js";import"./chunk-G3PK2VAS.js";import"./chunk-MLXLBN3R.js";import"./chunk-UXEHFVFV.js";import"./chunk-63QN5BD2.js";import"./chunk-BS4XPZFX.js";import"./chunk-ZUIYD5C7.js";import{a as ze}from"./chunk-2YCATYWA.js";import"./chunk-QVSDL3PP.js";import"./chunk-SN4UHUF5.js";import"./chunk-BNCQZJEG.js";import"./chunk-TXKU5TWF.js";import"./chunk-UYZOVPKD.js";import{a as v}from"./chunk-IFJLJRV3.js";import"./chunk-R3EIODFL.js";import{O as ne,P as f,h as Re,t as Ae}from"./chunk-RNURQTMY.js";import"./chunk-6HAJLNKL.js";import{a as Ue}from"./chunk-FBES4QSW.js";import{E as te,i as X,j as Y,k as x,l as Oe,m as He,n as ee,p as y}from"./chunk-A4UQ4CJS.js";import{d as _,f as w}from"./chunk-VZA46UU5.js";import{$c as D,Ac as ve,Ba as B,Bc as W,Ca as I,Da as C,Ea as Ee,Fb as g,Fc as m,Gc as F,Hb as Q,Hc as S,I as ge,Jb as Le,Kb as h,Kc as Me,Lc as Ne,Mc as G,Nc as $e,O as _e,Pa as Pe,Ra as Fe,Rc as q,Sc as T,Vb as $,Xb as V,Zc as s,_c as l,a as ye,ac as c,b as ke,bc as a,cc as r,cd as Ce,dc as d,ec as R,fc as A,ga as Te,gc as we,hc as U,ib as J,ic as j,ja as De,jc as P,kb as N,ld as Ve,m as Be,pb as o,pc as b,rc as u,va as k,z as Ie}from"./chunk-XJVXNYH5.js";var be=f(ae,e=>e?e.prices:null),ot=f(be,e=>e!==null);var ht=/.*\/(V[0-9a-z-A-Z]+S\d+)/;function at(e){return e.length===0?null:e.length===1?e[0]??null:e.reduce((n,t)=>{let i=ht.exec(t);return i?.[1]?n===null?t.slice(0,t.indexOf(i[1])+i[1].length):n+","+i[1]:n},null)}var ft=f(K,e=>e.length>0),st=f(K,e=>e.length),rt=f(ft,O,(e,n)=>e&&n?n:null),lt=f(K,e=>at(e));var gt=f(oe,je,(e,n)=>e===null?null:n[e]??null),_t=f(gt,O,(e,n)=>e===null||n===null?null:e[n.slug]??null),wt=f(_t,qe,(e,n)=>{if(e===null)return[];let t=[];for(let[i,p]of Object.entries(e))n[i]&&t.push({show:n[i],seasonData:p,showtimes:null});return t.sort((i,p)=>i.seasonData.order-p.seasonData.order)}),ct=f(wt,e=>e.filter(n=>n.seasonData.bookable));var vt=f(Ge,O,(e,n)=>n===null?null:e[n.slug]??null),Ct=f(vt,oe,(e,n)=>{if(n===null||e===null)return null;let t={};for(let i in e){let p=(e[i]??[]).filter(H=>H.seasonId===n).sort((H,St)=>H.day>St.day?1:-1);p.length>0&&(t[i]=p)}return t}),bt=f(Ct,Ye,tt,(e,n,t)=>{if(e===null)return null;let i={};for(let p in e)i[p]=nt(e[p]??null,n,t);return i}),Z=f(ct,bt,(e,n)=>n===null?e:e.map(t=>ke(ye({},t),{showtimes:n[t.show.slug]??null})));var xe=f(Z,e=>e.filter(n=>n.showtimes===null).map(n=>n.show.slug)),xt=f(xe,e=>e.length===0),pt=f(xt,Z,(e,n)=>{if(!e)return null;let t=[];for(let i of n)i.showtimes!==null&&t.push(...i.showtimes.map(p=>p.url));return t});var yt=e=>({count:e});function kt(e,n){e&1&&(m(0),s(1,"translate")),e&2&&S(" ",l(1,1,"Season.Resume.Selection.Singular")," ")}function Bt(e,n){if(e&1&&(m(0),s(1,"translate")),e&2){let t=u().ngIf;S(" ",D(1,1,"Season.Resume.Selection.Plural",T(4,yt,t))," ")}}function It(e,n){if(e&1&&(a(0,"h3",13),h(1,kt,2,3,"ng-template",14)(2,Bt,2,6,"ng-template",15),r()),e&2){let t=n.ngIf;c("ngPlural",t)}}function Tt(e,n){if(e&1&&(a(0,"a",16)(1,"h3",17),m(2),s(3,"translate"),r(),C(),a(4,"svg",18),d(5,"use",19),r()()),e&2){let t=n.ngIf;
1c("href",t,N)("target","_blank"),o(2),S(" ",l(3,3,"Season.Resume.Booking")," ")}}function Dt(e,n){if(e&1){let t=P();a(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),h(4,It,3,1,"h3",5),s(5,"async"),a(6,"p",6)(7,"button",7),b("click",function(){B(t);let p=u();return I(p.unselectedSeason())}),m(8),s(9,"translate"),r(),a(10,"button",7),b("click",function(){B(t);let p=u();return I(p.selectSeason())}),m(11),s(12,"translate"),r()(),a(13,"p",8),m(14),r()(),a(15,"div",9)(16,"h3",10),m(17),r(),a(18,"p",11)(19,"button",7),b("click",function(){B(t);let p=u();return I(p.changeCinema())}),m(20),s(21,"translate"),r()()(),h(22,Tt,6,5,"a",12),s(23,"async"),r()()()}if(e&2){let t=n.ngIf,i=u();o(4),c("ngIf",l(5,7,i.countSelectedShowtimes$)),o(4),S(" ",l(9,9,"Season.Resume.Cta.Unselect")," "),o(3),S(" ",l(12,11,"Season.Resume.Cta.Select")," "),o(3),S(" ",t.name," "),o(3),F(t.name),o(3),S(" ",l(21,13,"Season.Resume.Cinema.Change")," "),o(2),c("ngIf",l(23,15,i.tunnelUrl$))}}var se=class e{store=k(ne);scroller=k(te);cinema$=v(rt);countSelectedShowtimes$=v(st);tunnelUrl$=v(lt);selectSeason(){Ie([this.cinema$,this.store.select(xe)]).pipe(ge(([n])=>n!==null),_e(1),De(([n,t])=>{if(n)for(let i of t)this.store.dispatch(L.request({show:i,cinema:n.slug}))}),Te(()=>this.store.select(pt).pipe(ge(n=>n!==null))),_e(1)).subscribe(n=>{this.store.dispatch(L.selectMultiple({urls:n}))})}unselectedSeason(){this.store.dispatch(L.unselectAll())}changeCinema(){this.scroller.scrollToAnchor("season-schedule")}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-season-selected-showtimes"]],decls:2,vars:3,consts:[["class","summary-selected-footer",4,"ngIf"],[1,"summary-selected-footer"],[1,"container"],[1,"row","no-gutter"],[1,"col","w-fit"],["class","title-molecule",3,"ngPlural",4,"ngIf"],[1,"baseline","hide-on-mobile"],[1,"btn","small","link","underline","status-label","white",3,"click"],[1,"baseline","hide-on-desktop","hide-on-tablet","hide-on-phablet"],[1,"col","w-fit","hide-on-mobile"],[1,"title-molecule"],[1,"baseline"],["class","col w-fit",3,"href","target",4,"ngIf"],[1,"title-molecule",3,"ngPlural"],["ngPluralCase","=1"],["ngPluralCase","other"],[1,"col","w-fit",3,"href","target"],[1,"title-molecule","hide-on-mobile","hide-on-phablet"],["viewBox","0 0 24 24",1,"icon","hide-on-desktop","hide-on-tablet"],[0,"xlink","href","#full-arrow-right"]],template:function(t,i){t&1&&(h(0,Dt,24,17,"div",0),s(1,"async")),t&2&&c("ngIf",l(1,1,i.cinema$))},dependencies:[x,Oe,He,w,y,_],encapsulation:2,changeDetection:0})};function Et(e,n){if(e&1&&d(0,"div",1),e&2){let t=n.ngIf;c("innerHtml",t,J)}}var re=class e{prices$=v(be);static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-season-prices"]],decls:2,vars:3,consts:[["class","block editorial mw-fix",3,"innerHtml",4,"ngIf"],[1,"block","editorial","mw-fix",3,"innerHtml"]],template:function(t,i){t&1&&(h(0,Et,1,1,"div",0),s(1,"async")),t&2&&c("ngIf",l(1,1,i.prices$))},dependencies:[x,y],encapsulation:2,changeDetection:0})};var le=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-season-schedule-footer"]],decls:4,vars:3,consts:[[1,"block","block-cinema-empty"],[1,"title-molecule"]],template:function(t,i){t&1&&(R(0,"div",0)(1,"h3",1),m(2),s(3,"translate"),A()()),t&2&&(o(2),S(" ",l(3,1,"Season.Empty.Title")," "))},dependencies:[w,_],encapsulation:2,changeDetection:0})};var ce=class e extends et{getCacheKey(){return Xe(this.cinemaSlug,this.showSlug)}requestShowtimes(){this.store.dispatch(L.request({cinema:this.cinemaSlug,show:this.showSlug}))}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Pe(e)))(i||e)}})();static \u0275dir=Q({type:e,selectors:[["","cgpSeasonShowtimeLoader",""]],features:[Le]})};var pe=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-season-show-block-loader"]],decls:18,vars:3,consts:[[1,"event-table"],[1,"date"],[1,"month"],[1,"details"],[1,"hour"],[1,"icons"],[1,"btn","blur-sm","phab-f-width"],["viewBox","0 0 24 24",1,"icon"],[0,"xlink","href","#expand-round"]],template:function(t,i){t&1&&(R(0,"table",0)(1,"tr")(2,"td")(3,"div",1)(4,"span")(5,"span",2),m(6,"..."),A()()()(),R(7,"td")(8,"div",3)(9,"span",4),m(10,"..."),A()()(),we(11,"td",5),R(12,"td")(13,"button",6),C(),R(14,"svg",7),we(15,"use",8),A(),m(16),s(17,"translate"),A()()()()),t&2&&(o(16),S(" ",l(17,1,"Season.Showtimes.Select")," "))},dependencies:[w,_],encapsulation:2,changeDetection:0})};function Pt(e,n){e&1&&(C(),a(0,"svg",14),d(1,"use",15),r())}function Ft(e,n){e&1&&(C(),a(0,"svg",16),d(1,"use",17),r())}function Lt(e,n){if(e&1){let t=P();a(0,"button",19),b("click",function(){B(t);let p=u(2).$implicit,H=u();return I(H.unselectedShowtime(p.url))}),C(),a(1,"svg",20),d(2,"use",21),r(),m(3),s(4,"translate"),s(5,"capitalize"),r()}e&2&&(o(3),S(" ",l(5,3,l(4,1,"Season.Showtimes.Selected"))," "))}function Mt(e,n){if(e&1){let t=P();a(0,"button",22),b("click",function(){B(t);let p=u(2).$implicit,H=u();return I(H.selectShowtime(p.url))}),C(),a(1,"svg",20),d(2,"use",23),r(),m(3),s(4,"translate"),s(5,"capitalize"),r()}e&2&&(o(3),S(" ",l(5,3,l(4,1,"Season.Showtimes.Select"))," "))}function Nt(e,n){if(e&1&&(U(0),h(1,Lt,6,5,"button",18),s(2,"async"),s(3,"includes"),h(4,Mt,6,5,"ng-template",null,1,Ce),j()),e&2){let t=ve(5),i=u().$implicit,p=u();o(),c("ngIf",D(3,4,l(2,2,p.selectedShowtimes$),i.url))("ngIfElse",t)}}function $t(e,n){if(e&1&&(a(0,"a",24),C(),a(1,"svg",20),d(2,"use",25),r(),m(3),s(4,"translate"),s(5,"capitalize"),r()),e&2){let t=u().$implicit;c("href",t.url,N),o(3),S(" ",l(5,4,l(4,2,"_.Book"))," ")}}function Vt(e,n){if(e&1&&(a(0,"tr")(1,"td")(2,"div",4)(3,"span",5),m(4),s(5,"dayjsDate"),r(),a(6,"span")(7,"span",6),m(8),s(9,"dayjsDate"),r(),d(10,"br"),a(11,"span",7),m(12),s(13,"dayjsDate"),r()()()(),a(14,"td")(15,"div",8)(16,"span",9),m(17),s(18,"dayjsDate"),r(),d(19,"br"),a(20,"span"),m(2
11),h(22,Pt,2,0,"svg",10),r()()(),a(23,"td",11),h(24,Ft,2,0,"svg",12),r(),a(25,"td"),h(26,Nt,6,7,"ng-container",13),s(27,"async"),h(28,$t,6,6,"ng-template",null,0,Ce),r()()),e&2){let t=n.$implicit,i=ve(29),p=u();o(4),F(D(5,9,t.datetime,"DD")),o(4),F(D(9,12,t.datetime,"MMMM")),o(4),F(D(13,15,t.datetime,"YYYY")),o(5),S(" ",D(18,18,t.datetime,"HH:mm")," "),o(4),S(" ",t.version.label," "),o(),c("ngIf",t.flags.live),o(2),c("ngIf",t.flags.disabled),o(2),c("ngIf",l(27,21,p.multipleSelection$)===!0)("ngIfElse",i)}}var me=class e{store=k(ne);showtimes=[];multipleSelection$=v(ze("seasonMultipleSelection"));selectedShowtimes$=v(K);trackByShowtime(n,t){return t.url}selectShowtime(n){this.store.dispatch(L.select({url:n}))}unselectedShowtime(n){this.store.dispatch(L.unselect({url:n}))}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-season-showtimes"]],inputs:{showtimes:"showtimes"},decls:2,vars:2,consts:[["singleSelection",""],["notSelected",""],[1,"event-table"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"date","date-showtimes"],[1,"title-single","day"],[1,"month"],[1,"year"],[1,"details"],[1,"hour"],["viewBox","0 0 56 18","class","icon techno techno-direct",4,"ngIf"],[1,"icons"],["viewBox","0 0 24 24","class","icon hide-on-phablet hide-on-mobile",4,"ngIf"],[4,"ngIf","ngIfElse"],["viewBox","0 0 56 18",1,"icon","techno","techno-direct"],[0,"xlink","href","#tech-direct"],["viewBox","0 0 24 24",1,"icon","hide-on-phablet","hide-on-mobile"],[0,"xlink","href","#pmr"],["class","btn blur-sm phab-f-width",3,"click",4,"ngIf","ngIfElse"],[1,"btn","blur-sm","phab-f-width",3,"click"],["viewBox","0 0 24 24",1,"icon"],[0,"xlink","href","#success-green"],[1,"btn","secondary","phab-f-width",3,"click"],[0,"xlink","href","#expand-round"],["target","_blank",1,"btn","phab-f-width",3,"href"],[0,"xlink","href","#ticket"]],template:function(t,i){t&1&&(a(0,"table",2),h(1,Vt,30,23,"tr",3),r()),t&2&&(o(),c("ngForOf",i.showtimes)("ngForTrackBy",i.trackByShowtime))},dependencies:[Y,x,w,y,_,ie,Ke,We],encapsulation:2,changeDetection:0})};var Ot=e=>({"not-available":e}),Ht=e=>({slug:e}),Rt=e=>({duration:e});function At(e,n){if(e&1&&d(0,"div",11),e&2){u();let t=G(0);W("background-image","url("+t.show.backdrop.lg+")")}}function zt(e,n){if(e&1&&(a(0,"div",2),d(1,"img",12),r()),e&2){u();let t=G(0);o(),c("alt",$e(t.show.title))("src",t.show.poster.md,N)}}function Ut(e,n){e&1&&(a(0,"span",6),C(),a(1,"svg",13),d(2,"use",14),r()())}function jt(e,n){if(e&1&&(a(0,"p",8)(1,"b"),m(2),s(3,"formatDuration"),s(4,"translate"),r()()),e&2){u();let t=G(0);o(2),S(" ",D(4,3,"Season.ShowBlock.Duration",T(6,Rt,l(3,1,t.show.duration)))," ")}}function Gt(e,n){e&1&&(d(0,"br",15),a(1,"span",16),m(2),s(3,"translate"),r()),e&2&&(o(2),S(" ",l(3,1,"Season.ShowBlock.NotBookable")," "))}function qt(e,n){if(e&1&&d(0,"cgp-season-showtimes",17),e&2){u(2);let t=G(0);c("showtimes",t.showtimes)}}function Yt(e,n){e&1&&d(0,"cgp-season-show-block-loader")}function Kt(e,n){if(e&1&&$(0,qt,1,1,"cgp-season-showtimes",17)(1,Yt,1,0,"cgp-season-show-block-loader"),e&2){u();let t=G(0);V(t.showtimes!==null?0:1)}}var de=class e{showBlock=Ve.required();static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-season-show-block"]],inputs:{showBlock:[1,"showBlock"]},decls:19,vars:24,consts:[[1,"block","block-event",3,"ngClass"],[1,"cover",3,"background-image"],[1,"poster","hide-on-phablet","hide-on-mobile"],[1,"wrapper"],[1,"release"],[3,"rating","extendingMode"],[1,"techs"],[1,"title-single"],[1,"text-main"],[1,"btn-wrapper","mt-1-5"],[1,"btn","blur-sm","mob-w-auto","mb-phab-1",3,"routerLink"],[1,"cover"],[3,"src","alt"],["viewBox","0 0 56 18",1,"icon","techno","techno-direct"],[0,"xlink","href","#tech-direct"],[1,"hide-on-phablet","hide-on-tablet","hide-on-desktop"],[1,"status-label","red"],[3,"showtimes"]],template:function(t,i){if(t&1&&(Me(0),a(1,"div",0),$(2,At,1,2,"div",1),$(3,zt,2,3,"div",2),a(4,"div",3)(5,"p",4),d(6,"cgp-content-rating",5),$(7,Ut,3,0,"span",6),r(),a(8,"h3",7),m(9),r(),$(10,jt,5,8,"p",8),a(11,"div",9)(12,"a",10),s(13,"getShowUrl"),s(14,"translate"),m(15),s(16,"translate"),r(),$(17,Gt,4,3),r()(),$(18,Kt,2,1),r()),t&2){let p=Ne(i.showBlock());o(),c("ngClass",T(20,Ot,!p.seasonData.bookable)),o(),V(p.show.backdrop!=null&&p.show.backdrop.lg?2:-1),o(),V(p.show.poster!=null&&p.show.poster.md?3:-1),o(3),c("rating",p.show.contentRating)("extendingMode",!0),o(),V(p.seasonData.live?7:-1),o(2),S(" ",p.show.title," "),o(),V(p.show.duration?10:-1),o(2),c("routerLink",D(14,15,l(13,13,p.show.movie),T(22,Ht,p.show.slug))),o(3),S(" ",l(16,18,"Season.ShowBlock.CtaLabel")," "),o(2),V(p.seasonData.bookable===!1?17:-1),o(),V(p.seasonData.bookable?18:-1)}},dependencies:[X,Ae,me,pe,w,Je,_,Ze,it],encapsulation:2,changeDetection:0})};var Zt=()=>({"padding-bottom":"20px"});function Jt(e,n){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=n.ngIf;o(),S(" / ",t.name," ")}}function Qt(e,n){if(e&1&&d(0,"cgp-season-show-block",9),e&2){let t=n.$implicit,i=u().ngIf;c("showBlock",t)("cinemaSlug",i.slug)("showSlug",t.show.slug)}}function Wt(e,n){if(e&1&&(U(0),h(1,Qt,1,3,"cgp-season-show-block",8),s(2,"async"),j()),e&2){let t=u();o(),c("ngForOf",l(2,2,t.schedule$))("ngForTrackBy",t.trackSchedule)}}var ue=class e{cinema$=v(O);schedule$=v(Z);trackSchedule(n,t){let i=t.showtimes?t.showtimes.length.toString():"null";return`${t.show.slug}_${i}`}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-season-schedule"]],decls:13,vars:16,consts:[[1,"block","standalone","pb-phab-0-5","seances-and-reservations",3,"ngStyle"],[1,"title-element"],["class","light status-label grey",4,"ngIf"],[1,"container"],[1,"col","col--center","col-lg-14"],[3,"displayBarOptions","classListModifier","useLightTheme"],[4,"ngIf"],[1,"light","status-label","grey"],["cgpSeasonShowtimeLoader","",3,"showBlock","cinemaSlug","showSlug",4,"ngFor","ngForOf","ngForTrackBy"],["cgpSeasonShowtimeLoader","",3,"showBlock","cinemaSlug","showSlug"]],template:function(t,i){t&1&&(a(0,"div",0)(1,"h2",1),m(2),s(3,"translate"),s(4,"capitalize"),h(5,Jt,2,1,"span",2),s(6,"async"),r(),a(7,"div",3)(8,"div",4),d(9,"cgp-locator-bar-container",5),r()()(),h(10,Wt,3,4,"ng-container",6),s(11,"async"),d(12,"cgp-season-schedule-footer")),t&2&&(c("ngStyle",q(15,Zt)),o(2),S(" ",l(4,9,l(3,7,"Season.Tabs.Schedule"))," "),o(3),c("ngIf",l(6,11,i.cinema$)),o(4),c("displayBarOptions",!1)("classListModifier","mb-2")("useLightTheme",!0),o(),c("ngIf",l(11,13,i.cinema$)))},dependencies:[ee,x,Qe,Y,de,ce,le,w,y,_,ie],encapsulation:2,changeDetection:0})};function Xt(e,n){if(e&1&&d(0,"div",10),e&2){let t=u().ngIf;W("background-image","url("+t.backdrop+")")}}function en(e,n){if(e&1&&d(0,"img",11),e&2){let t=u().ngIf;c("src",t.logo,N)}}function tn(e,n){if(e&1&&d(0,"div",12),e&2){let t=u().ngIf;c("innerHTML",t.description,J)}}function nn(e,n){if(e&1){let t=P();U(0),a(1,"div",1),h(2,Xt,1,2,"div",2)(3,en,1,1,"img",3),a(4,"h1",4),m(5),r(),a(6,"h2",5),m(7),r(),a(8,"a",6),b("click",function(){B(t);let p=u();return I(p.showSchedule())}),m(9),s(10,"translate"),r()(),a(11,"div",7)(12,"div",8),h(13,tn,1,1,"div",9),r()(),j()}if(e&2){let t=n.ngIf;o(2),c("ngIf",t.backdrop),o(),c("ngIf",t.logo),o(2),F(t.title),o(2),F(t.subtitle),o(2),S(" ",l(10,6,"Season.Header.Showtimes")," "),o(4),c("ngIf",t.description)}}var Se=class e{scroller=k(te);season$=v(ae);showSchedule(){this.scroller.scrollToAnchor("season-schedule")}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-season-header"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"block","dark","without-mb","heading-backdrop"],["class","cover",3,"background-image",4,"ngIf"],[3,"src",4,"ngIf"],[1,"title-single"],[1,"title-molecule"],["role","button",1,"btn",3,"click"],[1,"block","dark","without-mb","subheading-backdrop"],[1,"row","no-gutter"],["class","col w-phab-12 order-phab-2 text break-word-overflow",3,"innerHTML",4,"ngIf"],[1,"cover"],[3,"src"],[1,"col","w-phab-12","order-phab-2","text","break-word-overflow",3,"innerHTML"]],template:function(t,i){t&1&&(h(0,nn,14,8,"ng-container",0),s(1,"async")),t&2&&c("ngIf",l(1,1,i.season$))},dependencies:[x,w,y,_],encapsulation:2,changeDetection:0})};var he=class e{platform=k(Ue);http=k(Re);element=k(Fe);path;ngAfterViewInit(){this.platform.isServer()||this.http.get(this.path,{responseType:"text"}).subscribe(n=>this.element.nativeElement.innerHTML=n)}static \u0275fac=function(t){return new(t||e)};static \u0275dir=Q({type:e,selectors:[["","cgpSvgLoader",""]],inputs:{path:"path"}})};var on=()=>({height:0,width:0,visibility:"hidden",position:"absolute",overflow:"hidden"});function an(e,n){if(e&1&&d(0,"div",1),e&2){let t=n.$implicit;c("ngStyle",q(2,on))("path",t)}}var fe=class e{paths=[];trackPaths(n,t){return t}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-svg-loader"]],inputs:{paths:"paths"},decls:1,vars:2,consts:[["cgpSvgLoader","",3,"ngStyle","path",4,"ngFor","ngForOf","ngForTrackBy"],["cgpSvgLoader","",3,"ngStyle","path"]],template:function(t,i){t&1&&h(0,an,1,3,"div",0),t&2&&c("ngForOf",i.paths)("ngForTrackBy",i.trackPaths)},dependencies:[he,Y,ee],encapsulation:2,changeDetection:0})};var sn=()=>["/assets/cinemur/img/core/icons.svg"],mt=e=>({active:e}),ut=e=>({"is-open":e});function rn(e,n){if(e&1){let t=P();a(0,"div",8),s(1,"async"),a(2,"button",9),b("click",function(){B(t);let p=u();return I(p.selectTab("prices"))}),m(3),s(4,"translate"),C(),a(5,"svg",10),d(6,"use",11),r()(),Ee(),a(7,"div",6),d(8,"cgp-season-prices"),r()()}if(e&2){let t=u();c("ngClass",T(6,ut,l(1,2,t.displayedTab$)==="prices")),o(3),S(" ",l(4,4,"Season.Tabs.Prices")," ")}}var dt=class e{displayedTab$=new Be("schedule");hasPrices$=v(ot);selectTab(n){if(this.displayedTab$.value===n){this.displayedTab$.next("");return}this.displayedTab$.next(n)}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["cgp-season-page"]],decls:20,vars:26,consts:[[3,"paths"],[1,"container","main","migration","mt-8"],[1,"accordion","without-bg","dark"],[1,"accordion-tab-desktop","variant","hide-on-phablet","hide-on-mobile"],["role","button",1,"accordion-trigger",3,"click","ngClass"],["
1id","season-schedule",1,"accordion-section","always-open-on-mobile","accordion-target",3,"ngClass"],[1,"accordion-content"],["class","accordion-section accordion-target",3,"ngClass",4,"ngIf"],[1,"accordion-section","accordion-target",3,"ngClass"],[1,"accordion-tab-mobile","hide-on-tablet","hide-on-desktop","accordion-trigger",3,"click"],["viewBox","0 0 24 24",1,"icon"],[0,"xlink","href","#arrow-bottom"]],template:function(t,i){t&1&&(d(0,"cgp-svg-loader",0),a(1,"section",1),d(2,"cgp-season-header"),a(3,"div",2)(4,"nav",3)(5,"a",4),s(6,"async"),b("click",function(){return i.selectTab("schedule")}),m(7),s(8,"translate"),r(),a(9,"a",4),s(10,"async"),b("click",function(){return i.selectTab("prices")}),m(11),s(12,"translate"),r()(),a(13,"div",5),s(14,"async"),a(15,"div",6),d(16,"cgp-season-schedule"),r()(),h(17,rn,9,8,"div",7),s(18,"async"),r(),d(19,"cgp-season-selected-showtimes"),r()),t&2&&(c("paths",q(19,sn)),o(5),c("ngClass",T(20,mt,l(6,7,i.displayedTab$)==="schedule")),o(2),S(" ",l(8,9,"Season.Tabs.Schedule")," "),o(2),c("ngClass",T(22,mt,l(10,11,i.displayedTab$)==="prices")),o(2),S(" ",l(12,13,"Season.Tabs.Prices")," "),o(2),c("ngClass",T(24,ut,l(14,15,i.displayedTab$)==="schedule")),o(4),c("ngIf",l(18,17,i.hasPrices$)))},dependencies:[fe,Se,X,ue,x,re,se,w,y,_],encapsulation:2,changeDetection:0})};export{dt as SeasonPageComponent};
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.