1import{a as pe,b as de,c as w,d as fe,e as ve,f as Ee,i as be,j as A,m as _e,n as D,o as ge,p as I}from"./chunk-5UHKHUPD.js";import{E as R,K as Se,L as ye,M as we,N as Ae,O as De,P as L,a as he,b as m,c as u,k as ue,l as Te}from"./chunk-CCQRRNEY.js";import"./chunk-BJUBRVWF.js";import"./chunk-KKLSADP3.js";import"./chunk-6IGTCCRM.js";import"./chunk-MHJV5UKV.js";import"./chunk-LEMIP52V.js";import"./chunk-4OJ3LAOG.js";import"./chunk-HJQQ4BG2.js";import"./chunk-F2QNA5QY.js";import{h as se,m as ne,n as le,o as me}from"./chunk-JIKQNJON.js";import{a as ce}from"./chunk-B5P2LBJ7.js";import"./chunk-AIT4CHNL.js";import{p as ie}from"./chunk-HCOKE2WC.js";import{b as oe}from"./chunk-AEX3KKFQ.js";import"./chunk-ATU3N3ZD.js";import{a as g}from"./chunk-RJSQDAG5.js";import{m as ae}from"./chunk-YHBKXQ3I.js";import"./chunk-K2AZAMRG.js";import"./chunk-OIQO3N45.js";import"./chunk-L5NHPLMI.js";import{a as f}from"./chunk-YDTAAZVO.js";import"./chunk-6CRMG4LZ.js";import{a as S,b as y}from"./chunk-PWZ3HSFI.js";import"./chunk-ABYZX4SZ.js";import"./chunk-DY5LJVOZ.js";import"./chunk-CZGMZSPH.js";import"./chunk-MMLCMZ74.js";import"./chunk-ED4GEOCV.js";import"./chunk-3YLDXAJM.js";import"./chunk-SIWWPTL5.js";import"./chunk-5U6PGQ7S.js";import"./chunk-OJG7NQVR.js";import"./chunk-WSPMFFDW.js";import"./chunk-VWDC4MYH.js";import"./chunk-2J3WH442.js";import"./chunk-6UKYPDHT.js";import"./chunk-YWPRHD46.js";import"./chunk-3B2PUG53.js";import"./chunk-PZKTITR7.js";import"./chunk-BORAYHUL.js";import"./chunk-XHBRRI6M.js";import"./chunk-RHKNHHQ2.js";import"./chunk-GUFZATR5.js";import"./chunk-CBSNVKFE.js";import"./chunk-EKQ2B63E.js";import{q as G,r as Z}from"./chunk-BOZ3L445.js";import"./chunk-DNOMC5K2.js";import{o as ee,s as te,u as p,w as re}from"./chunk-U6GSUSLQ.js";import"./chunk-KIQN7WJE.js";import"./chunk-MMRU3LTM.js";import"./chunk-AQQOOV6C.js";import"./chunk-XW2EXRKI.js";import"./chunk-UPOCKPLL.js";import"./chunk-EODGJFOK.js";import"./chunk-LVUWVDPJ.js";import{c as K,d as X}from"./chunk-RCSDAQYE.js";import"./chunk-IMQI7DFN.js";import"./chunk-MOES3UWV.js";import"./chunk-RRXEOAGS.js";import"./chunk-D6I6VU5Z.js";import{H as z}from"./chunk-2BH4KUE6.js";import"./chunk-HEKLM4EV.js";import{Ba as a,De as W,E as j,Pa as Y,Qa as J,S as U,hb as Q,ma as $,q as _,r as B,wa as l,x as V}from"./chunk-GO4IMBFV.js";import{a as n,b as h,l as q}from"./chunk-P2LFKVMR.js";var Fe=404,Re=(()=>{class t{#t=z(a(Q));#e=a(Z);#a=a(ce);createRedirectCommand(e){return e===Fe?new G(this.#e.createUrlTree(["/","404"]),{skipLocationChange:!0}):(this.#t||this.#a.set(e),new G(this.#e.createUrlTree(["/","500"]),{skipLocationChange:!0}))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=l({token:t,factory:t.\u0275fac})}}return t})();var Ie=(()=>{class t{#t=a(g);#e=a(Y);#a=a(K);#l=a(X);#i=null;constructor(){a(J).onDestroy(()=>{this.#n(),this.#o()})}apply(e){let r=ge({baseUrl:this.#t.baseUrl,context:e,facebookClientId:f.loginProviders.facebook.clientId,hideTwitterSite:this.#t.seo.hideTwitterSite,siteName:this.#t.name,titleSuffix:this.#t.seo.suffix});this.#l.setTitle(r.title),r.metaTags.forEach(i=>this.#s(i)),this.#r(r.links),this.#m(r.jsonLd)}#m(e){this.#o(),e.forEach(r=>{let i=this.#e.createElement("script");i.setAttribute("type","application/ld+json"),i.setAttribute("data-ng-page-theater-detail","true"),i.textContent=JSON.stringify(r),this.#e.head.appendChild(i)})}#o(){this.#e.querySelectorAll('script[type="application/ld+json"][data-ng-page-theater-detail="true"]').forEach(e=>e.remove())}#s(e){let r=e.property?`property='${e.property}'`:`name='${e.name}'`;this.#a.updateTag(this.#c(e),r)}#c(e){return h(n(n(n({},e.id?{id:e.id}:{}),e.name?{name:e.name}:{}),e.property?{property:e.property}:{}),{content:e.content})}#r(e){this.#n(),e.forEach(r=>this.#d(r))}#n(){this.#e.querySelectorAll('link[data-ng-page-theater-detail="true"]').forEach(e=>e.remove()),this.#p()}#p(){this.#i!==null&&(this.#e.querySelector('link[rel="canonical"]')?.setAttribute("href",this.#i),this.#i=null)}#d(e){let r=this.#h(e),i=r??this.#e.createElement("link");r&&e.rel==="canonical"&&this.#i===null&&(this.#i=r.getAttribute("href")??""),i.setAttribute("rel",e.rel),i.setAttribute("href",e.href),e.id&&i.setAttribute("id",e.id),e.hreflang&&i.setAttribute("hreflang",e.hreflang),r||(i.setAttribute("data-ng-page-theater-detail","true"),this.#e.head.appendChild(i))}#h(e){return e.rel==="canonical"?this.#e.querySelector('link[rel="canonical"]'):e.rel==="preconnect"?Array.from(this.#e.querySelectorAll('link[rel="prec
1onnect"]')).find(r=>r.getAttribute("href")===e.href)??null:null}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=l({token:t,factory:t.\u0275fac})}}return t})();var He="faq_loyalty_points",Ve="showtimes",je="theater_view",Le=(()=>{class t{setBreadcrumbReferrer(e){y(S.SHOWTIMES,Ve,{referrer:je,theaterId:e})}setLoyaltyPointsReferrer(e,r){y(S.FAQ_LOYALTY_POINTS,He,{componentName:r,referrer:e})}setMovieReferrer(e,r){y(S.MOVIE,e,r)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=l({token:t,factory:t.\u0275fac})}}return t})();var xe=(()=>{class t{#t=a(W,{optional:!0});getHeaders(){if(!this.#t)return{};let e={};return this.#t.headers.forEach((r,i)=>{e[i.toLowerCase()]=r}),e}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=l({token:t,factory:t.\u0275fac})}}return t})();var $e=404,Ge="x-internal-statsig-assignments",Me=(()=>{class t{#t=a(g);#e=a(ie);#a=a(w);#l=a(L);#i=a(A);#m=a(D);#o=a(ae);#s=a(R);#c=a(I);#r=a(oe);resolve({countrySlug:e,date:r,language:i,theaterSlug:T}){let F=de(f.cinema.allowedCountries);if(!e||!ne(F).has(e))return B(()=>new he($e,`theater-detail: country "${e}" is not enabled for cinema`));let E=me(e);return this.#c.getTheater(e,T).pipe($(s=>j({availability:this.#a.getAvailability(s.slug),nearbyTheaters:this.#i.getNearbyTheaters(s.latitude,s.longitude,T).pipe(U(()=>_([]))),nearbyVenues:this.#m.getNearbyVenues(s.city.id,s.slug,E).pipe(U(()=>_({venues:[]})))}).pipe(V(v=>h(n({},v),{theater:s})))),$(({availability:s,nearbyTheaters:v,nearbyVenues:o,theater:d})=>{let b=pe(r,s.dates);return this.#n(d.id,b).pipe(V(H=>this.#p({availability:s,countrySlug:e,language:i,locale:E,nearbyTheaters:v,nearbyVenues:o,perDate:H,selectedDate:b,theater:d})))}))}#n(e,r){return r?j({preOrderShowtimes:this.#s.getPreOrderShowtimes(e,r.date),showtimes:this.#s.getShowtimes(e,r.date)}):_({preOrderShowtimes:[],showtimes:[]})}#p({availability:e,countrySlug:r,language:i,locale:T,nearbyTheaters:F,nearbyVenues:E,perDate:s,selectedDate:v,theater:o}){let d=this.#l.getHeaders()[Ge]??null,b=`${this.#t.baseUrl}/movies/${"en"}/${r}/movie-theaters/${o.slug}`;return{body:{dates:e.dates,isHeaderClickable:ve(r),language:{id:i,locale:T},placeId:o.id,preOrderShowtimes:s.preOrderShowtimes,selectedDate:v??null,showtimes:s.showtimes,webclientHost:this.#t.baseUrl},cache:fe,countrySlug:r,experiments:{isExhibitorLogosExperimentEnabled:!1,isFewSeatsLeftLabelExperimentEnabled:!1,isMovieContentExperimentEnabled:Te(d),isScreenFormatIconsExperimentEnabled:ue(d),movieFlowSeatingExperiments:void 0},hero:{breadcrumbs:[Ee(i,r),{label:o.name}],exhibitor:o.exhibitor,title:o.name},isWebview:this.#o.isFeverMobileInAppBrowser(),language:i,locale:T,nearbyTheaters:be(F,i),nearbyVenues:_e(E.venues,{citySlug:o.city.slug,language:i}),privacyPolicyUrl:this.#h(r),seo:{allowIndexing:o.allowIndexing,canonical:b,cityName:o.city.name,countryCode:o.country.code,countrySlug:r,description:String(this.#r.translate("theater.meta.description",{theaterName:o.name})),images:o.images,latitude:o.latitude,longitude:o.longitude,showtimeUrls:s.showtimes.map(H=>`${this.#t.baseUrl}${se(r,H.reference)}`),theaterAddress:o.address,theaterDescription:o.description,theaterName:o.name,title:String(this.#r.translate("theater.meta.title",{theaterName:o.name})),zipCode:o.zipCode??""},statsigAssignmentsHeader:d,theater:o,user:{email:this.#e.login?.user?.email??null},venue:this.#d(o)}}#d(e){let[r,...i]=e.address.split(",");return{aboutTitle:`${String(this.#r.translate("theater.venue.about"))} ${e.name}`,addressDescription:`${i.join(",")} - ${r}`,addressTitle:e.name,description:e.description,latitude:e.latitude,longitude:e.longitude,title:String(this.#r.translate("theater.venue.title"))}}#h(e){return this.#r.getFeverLegalLinks(this.#r.locale,le(e)??"").find(i=>i.id==="footer.links.privacyPolicy")?.href??""}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=l({token:t,factory:t.\u0275fac})}}return t})();function M(t){return h(n({},t.referrerData),{available_movies_list:t.availableMoviesList,dates_list:t.datesList,ds_theater:t.theaterName,id_theater:t.theaterId,movie_synopsis_variant:t.movieSynopsisVariant,screen_format_icons_variant:t.screenFormatIconsVariant,selected_date:t.selectedDate})}function Pe(t){return{available_movies_list:t.availableMoviesList,dates_list:t.datesList,ds_movie:t.theaterName,id_theater:t.theaterId,index:t.index,selected_date:t.selectedDate}}function Ce(t){return n({date:t.date,ds_movie:t.movieTitle,ds_theater:t.theaterAddress,exhibitor_logo_available:t.exhibitorLogoAvailable,exhibitor_logos_variant:t.exhibitorLogosVariant,few_seats_left_variant:t.fewSeatsLeftVariant,id_movie:t.movieId,id_seating_selector:t.seatingSelectorId,id_theater:t.theaterId,movie_synopsis_variant:t.movieSynopsisVariant,plan_id:t.planId,screen_format:t.screenFormat,screen_format_icons_variant:t.screenFormatIconsVariant,session_time:t.sessionTime},t.hasLowAvailability===void 0?{}:{has_low_availability:t.hasLowAvailability,other_showtime_has_low_availability:t.otherShowtimeHasLowAvailability===!0})}function Oe(t){return n({component_name:t.componentName,ds_theater:t.theaterName,id_theater:t.theaterId,page_name:t.pageName},t.index===void 0?{}:{index:t.index})}var P=class{map(c,e){return new ee(m.View,M(c.data))}};var C=class{map(c,e){return new p(m.SelectDate,Pe(c.data))}};var O=class{map(c,e){return new p(m.SelectShowtime,Ce(c.data))}};var N=class{map(c,e){return new p(m.TapOn,Oe(c.data))}};var k=class{map(c,e){return new p(m.View,M(c.data))}};var qe=new Map([[u.SelectDate,new C],[u.SelectShowtime,new O],[u.TapOn,new N],[u.Vie
1w,new k]]),Be=new Map([[u.View,new P]]),Ne=!1;function ke(){Ne||(re.addMappers(qe),te.addMappers(Be),Ne=!0)}ke();function lr(){return[{loadChildren:()=>q(null,null,function*(){return(yield import("./chunk-T6HZHDT5.js")).getRoutes()}),path:"",providers:[w,A,D,R,I,{provide:Se,useClass:Me},{provide:L,useClass:xe},{provide:De,useValue:f.google.maps.key},{provide:ye,useClass:Re},{provide:we,useClass:Ie},{provide:Ae,useClass:Le}]}]}export{lr as getRoutes};
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.