PageSourceSearch

https://www.belairluxurycinema.com/FavoriteTheater-53f4ef5d1088588d5840.js

js belairluxurycinema.com collected 2026-10-04 13:26:57 UTC 3,549 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkx0cpf_3787ee59_b3a4_48f7_ab4a_150ffc8ec8e2=self.webpackChunkx0cpf_3787ee59_b3a4_48f7_ab4a_150ffc8ec8e2||[]).push([[662],{11824:function(e,r,t){t.r(r),t.d(r,{default:function(){return v}});var a=t(52513),n=t(86326),o=t(86329),i=t(20141),s=t(75674),l=t(6082),c=t(31309),d=t(55814),u=t(33153),h=t(37855),f=t(57268),p=t(70790);const m=e=>{var r;let{loading:t,favoriteTheaters:a,allTheaters:n,onTheaterSubscriptionChange:s,onGlobalSubscriptionChange:l,error:d}=e;const{formatMessage:m}=(0,o.A)(),{hasFeatureFlag:g}=(0,f.u)(),b=g("website-generator-consent-pixel-tracking"),C=(0,h.A)(),[v]=(0,c.Ay)();return b?(0,i.Y)(u.A,{loading:t},(0,i.Y)(i.xA,{gap:3},d?(0,i.Y)("div",null,d):null,(0,i.Y)(i.JU,{sx:{display:"flex",alignItems:"flex-start",gap:1}},(0,i.Y)(i.Sc,{type:"checkbox",checked:null!==(r=null==v?void 0:v.sendNewsletter)&&void 0!==r&&r,onChange:e=>{l(e.target.checked)}}),(0,i.Y)("div",null,m(p.A.sendNewsletterCombinedField,{clientName:C}))),a.length>0&&(0,i.Y)(i.xA,{gap:2},a.map((e=>{const r=n.find((r=>r.id===e.boxofficeCinemaId));if(!r)return null;const t=!(null!=v&&v.sendNewsletter);return(0,i.Y)(i.JU,{key:e.boxofficeCinemaId,sx:{display:"flex",alignItems:"flex-start",gap:1,opacity:t?.4:1}},(0,i.Y)(i.Sc,{type:"checkbox",checked:!t&&e.subscribeToNewsletter,disabled:t,onChange:r=>{s(e.boxofficeCinemaId,r.target.checked)}}),(0,i.Y)("div",null,r.name))}))))):null};var g=(0,n.memo)(m),b=t(94973);const C=()=>{const[e,,,r]=(0,c.Ay)(),t=(0,d.A)(),u=(0,a.A)(),{0:h,1:f}=(0,n.useState)(!1),{0:m,1:C}=(0,n.useState)(void 0),{0:v,1:k}=(0,n.useState)(!1),{0:y,1:A}=(0,n.useState)(),{0:T,1:x}=(0,n.useState)(!1),{0:N,1:S}=(0,n.useState)(),{formatMessage:w}=(0,o.A)(),{getCypherMessage:Y}=(0,l.A)(),{favoriteTheaters:I,addFavoriteTheater:_,removeFavoriteTheater:E,updateSubscription:F,refreshFavoriteTheaters:M,loading:B,error:z}=(0,b.Ay)();if(!t||3!==(null==e?void 0:e.cypherVersion))return null;const O=r=>{var a,n,o;const i=null!==(a=r.trackingConsent)&&void 0!==a?a:e.trackingConsent;return(0,s.tl)(t,e.token,{preferredCinemaId:null!==(n=r.preferredCinemaId)&&void 0!==n?n:e.preferredCinemaId,address1:e.address1,address2:e.address2,memberCardNumber:e.loyaltyCardNumber,city:e.city,gender:e.gender,firstname:e.firstName,lastname:e.lastName,dateOfBirth:e.dateOfBirth,sendNewsletter:`${null!==(o=r.sendNewsletter)&&void 0!==o?o:e.sendNewsletter}`,...null!=i?{trackingConsent:i}:{},contactByThirdParty:`${e.contactByThirdParty}`,country:e.country,preferredCinemaList:e.preferredCinemaList,numberOfChildren:e.houseSize,mobileNumber:e.mobileNumber,occupation:e.occupation,sponsorEmail:"",zipCode:e.zipCode})},U=e=>{k(!0),A(void 0),O({sendNewsletter:`${e}`}).then((e=>{k(!1),0!==e.peachCode&&A(Y({response:e,fallback:p.A.genericError})),r()})).catch((()=>{k(!1),A(w(p.A.genericError))}))};return(0,i.Y)(g,{loading:B||v||T,favoriteTheaters:I,allTheaters:u,error:z||y||N,onAddTheater:e=>{_(e)},onRemoveTheater:e=>{E(e)},onTheaterSubscriptionChange:(r,t)=>{t&&!e.sendNewsletter&&U(!0),F({boxofficeCinemaId:r,subscribeToNewsletter:t})},onGlobalSubscriptionChange:U,onTrackingConsentChange:e=>{x(!0),S(void 0),O({trackingConsent:e}).then((e=>{x(!1),0!==e.peachCode&&S(Y({response:e,fallback:p.A.genericError})),r()})).catch((()=>{x(!1),S(w(p.A.genericError))}))},onUpdateMainTheater:e=>{f(!0),C(void 0),O({preferredCinemaId:e}).then((e=>{f(!1),0!==e.peachCode&&C(Y({response:e,fallback:p.A.mainTheaterError})),M(),r()})).catch((()=>{f(!1),C(w(p.A.mainTheaterError))}))},loadingMain:h,errorMain:m})};var v=(0,n.memo)(C)}}]);

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.