PageSourceSearch

https://legend.com.kh/_nuxt/default.0706b2c6.js

js legend.com.kh collected 2026-10-08 08:11:57 UTC 27,589 bytes, 1 lines download raw bytes

1import{_ as S,a,b as r,e as l,d as V,c as T,U as L,u as e,v as w,R as A,f as s,t as x,r as M,N as p1,at as u1,i as J,h as f1,g as y,bg as m1,L as j,aI as h1,n as Q,M as C1,w as C,T as Z,X as D,aB as g1,W as b,aV as Y,m as e1,be as x1,av as t1,a1 as w1,Z as E,V as n1,l as v1,bh as $1,bi as y1,bj as b1,bk as k1,a3 as S1,bc as K,$ as o1,H as L1,bf as A1,bl as B1,a4 as M1}from"./entry.d2ac456d.js";import{_ as V1}from"./CrossIcon.bd91c2f6.js";import{_ as s1}from"./BaseLoading.1ea6d551.js";import{_ as H1,a as Z1}from"./SearchCard.vue.988038fc.js";import{d as N1}from"./movie.service.7f93b65b.js";import{w as G1,u as O1}from"./index.c905b9bf.js";import{o as a1}from"./index.87f12ed4.js";import{_ as T1}from"./LocalizedLink.vue.c1335e7a.js";import{u as R,W,_ as U1,a as I1}from"./v3-infinite-loading.es.77d227e2.js";import{_ as j1}from"./SpinIcon.69bc49ce.js";import{I as D1,y as q,S as E1,g as X,x as R1}from"./tabs.0ae7efb2.js";import{_ as P1,a as z1,b as F1}from"./LangSwitcher.vue.4d56011b.js";import{L as i1}from"./LocationTagGradient.f464ed04.js";import{f as K1}from"./cinema.service.50587a08.js";import{m as W1}from"./index.b41bf5c3.js";import{u as q1}from"./cinema.store.14fa23dc.js";import{_ as X1,a as J1}from"./ProfileCompletionModal.vue.33f3535e.js";import"./index.5bb9e070.js";import"./use-resolve-button-type.fb49c21d.js";import"./listbox.b9f5ed1e.js";import"./use-controllable.364c793f.js";import"./RoundedButton.vue.8ca484b2.js";import"./BirthdayStep.vue.ed4bc4c2.js";import"./LoadingButton.vue.2de27912.js";import"./hide-pass.15c2fb86.js";import"./show-pass.b7b77206.js";import"./user.23b4c72a.js";import"./RadioButton.vue.f7bc82dd.js";import"./DatePicker.vue.dfcebbb2.js";import"./index.b949f383.js";import"./cake.d51ffced.js";const Q1={},Y1={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ee=l("path",{d:"M15.3592 14.1808L18.9283 17.7492L17.7492 18.9283L14.1808 15.3592C12.8531 16.4235 11.2017 17.0024 9.5 17C5.36 17 2 13.64 2 9.5C2 5.36 5.36 2 9.5 2C13.64 2 17 5.36 17 9.5C17.0024 11.2017 16.4235 12.8531 15.3592 14.1808ZM13.6875 13.5625C14.7451 12.4749 15.3357 11.017 15.3333 9.5C15.3333 6.27667 12.7225 3.66667 9.5 3.66667C6.27667 3.66667 3.66667 6.27667 3.66667 9.5C3.66667 12.7225 6.27667 15.3333 9.5 15.3333C11.017 15.3357 12.4749 14.7451 13.5625 13.6875L13.6875 13.5625Z",fill:"#BCBCBC"},null,-1),te=[ee];function ne(p,n){return a(),r("svg",Y1,te)}const l1=S(Q1,[["render",ne]]);function oe(p){let n,o=p[0],t=1;for(;t<p.length;){const i=p[t],c=p[t+1];if(t+=2,(i==="optionalAccess"||i==="optionalCall")&&o==null)return;i==="access"||i==="optionalAccess"?(n=o,o=c(o)):(i==="call"||i==="optionalCall")&&(o=c((...u)=>o.call(n,...u)),n=void 0)}return o}const se={class:"absolute left-0 top-[50px] z-[50] h-[488px] max-h-[488px] w-[300px] overflow-auto rounded-xl border border-gray-light bg-black p-6 md:w-[446px] lg:top-[67px]"},ae={key:0,class:"absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-center gap-4"},ie={class:"break-all text-center text-md font-bold"},le={key:0},ce={class:"mb-4 text-lg font-bold"},re={key:1,class:"absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-center gap-4"},_e={class:"text-center text-md font-bold"},de=V({__name:"SearchDropdown",props:{search:{}},emits:["click"],async setup(p){let n,o;const t=p,i=T(()=>({searchText:t.search,limit:10})),{data:c,error:u,pending:m,refresh:h}=([n,o]=L(()=>N1(i.value)),n=await n,o(),n);return G1(i,async()=>{await h()},{debounce:500}),(_,d)=>{const v=s1,$=H1,g=Z1;return a(),r("div",se,[e(m)?(a(),w(v,{key:0,class:"absolute left-1/2 top-1/2 !h-auto -translate-x-1/2 -translate-y-1/2"})):(a(),r(A,{key:1},[e(u)?(a(),r("div",ae,[s($,{class:"min-h-[133px] w-[160px]"}),l("h1",ie,x(e(u).data.message||_.$t("no_search_result_msg")),1)])):(a(),r(A,{key:1},[oe([e,"call",k=>k(c),"optionalAccess",k=>k.rows,"optionalAccess",k=>k.length])?(a(),r("div",le,[l("h1",ce,x(_.$t("search")),1),s(g,{movies:e(c),onClick:d[0]||(d[0]=k=>_.$emit("click"))},null,8,["movies"])])):(a(),r("div",re,[s($,{class:"min-h-[133px] w-[160px]"}),l("h1",_e,x(_.$t("no_search_result_msg")),1)]))],64))],64))])}}}),pe=["placeholder"],ue={class:"absolute right-0 top-1/2 flex -translate-x-4 -translate-y-1/2 cursor-pointer items-center gap-2 text-gray"},fe=V({__name:"SearchDesktop",setup(p){const n=M(null),o=M(!1),t=M("");return a1(n,()=>{o.value=!1}),(i,c)=>{const u=V1,m=l1,h=de;return a(),r("div",{ref_key:"targetRef",ref:n,class:"relative hidden md:flex"},[l("form",{onSubmit:c[2]||(c[2]=f1(()=>{},["prevent"]))},[p1(l("input",{"onUpdate:modelValue":c[0]||(c[0]=_=>J(t)?t.value=_:null),type:"text",placeholder:`${i.$t("search_movie")}...`,class:"max-w-[200px] rounded-full border border-white/10 bg-white/5 py-1.5 pl-5 pr-10 placeholder:font-medium placeholder:text-gray hover:border-white/20 focu
1s:border-white/20 focus:outline-none lg:max-w-[16.125rem] lg:py-2.5",onClick:c[1]||(c[1]=_=>o.value=!0)},null,8,pe),[[u1,e(t)]])],32),l("div",ue,[e(t).length?(a(),w(u,{key:0,onClick:c[3]||(c[3]=_=>t.value="")})):(a(),w(m,{key:1}))]),(a(),w(m1,null,[e(o)?(a(),w(h,{key:0,search:e(t),onClick:c[4]||(c[4]=_=>o.value=!1)},null,8,["search"])):y("",!0)],1024))],512)}}});function O(p){let n,o=p[0],t=1;for(;t<p.length;){const i=p[t],c=p[t+1];if(t+=2,(i==="optionalAccess"||i==="optionalCall")&&o==null)return;i==="access"||i==="optionalAccess"?(n=o,o=c(o)):(i==="call"||i==="optionalCall")&&(o=c((...u)=>o.call(n,...u)),n=void 0)}return o}const me={class:"absolute right-0 top-[50px] z-[99] h-[70vh] max-h-[488px] w-[446px] overflow-auto rounded-xl border border-gray-light bg-black p-6 backdrop-blur lg:top-[67px]"},he={class:"text-lg font-bold"},Ce={key:0,class:"absolute right-1 top-px h-2 w-2 rounded-full bg-primary"},ge={key:0,class:"absolute right-1 top-px h-2 w-2 rounded-full bg-primary"},xe={key:0,class:"flex flex-col items-center justify-center"},we={class:"max-w-xs text-center text-md font-bold"},ve={class:"mt-2 flex items-center justify-center"},$e={key:0},ye={key:1},be={key:1,class:"flex flex-col items-center justify-center"},ke={class:"text-center text-md font-bold"},Se={key:0,class:"flex flex-col items-center justify-center"},Le={class:"max-w-xs text-center text-md font-bold"},Ae={class:"mt-2 flex items-center justify-center"},Be={key:0},Me={key:1},Ve={key:1,class:"flex flex-col items-center justify-center"},He={class:"text-center text-md font-bold"},Ze=V({__name:"NotificationDropdown",async setup(p){let n,o;const t=R(),{isLoggedIn:i}=j(),c=M(0),u=h1("showNoti"),{t:m}=Q(),h=T(()=>i.value?"Response Error":m("notif_no_account_msg")),{orders:_,orderErr:d,orderLoading:v}=([n,o]=L(()=>t.fetchOrders()),n=await n,o(),n),{announcement:$,announceErr:g,announceLoading:k}=([n,o]=L(()=>t.fetchAnnouncement()),n=await n,o(),n);[n,o]=L(()=>t.unSeenOrder()),await n,o(),[n,o]=L(()=>t.unSeenAnnouncement()),await n,o(),[n,o]=L(()=>t.seenAnnouncement()),await n,o();async function _1(B){c.value=B,B==0?await t.seenAnnouncement():await t.seenOrder()}async function P(){c.value==0?await t.loadMoreAnnouncement($):await t.loadMoreOrders(_)}return C1(()=>{t.$patch({announcementMessage:"",orderMessage:"",orderOffset:0,announcementOffset:0})}),(B,N)=>{const d1=s1,G=U1,z=I1,F=j1;return a(),r("div",me,[e(v)&&e(k)?(a(),w(d1,{key:0,class:"absolute left-1/2 top-1/2 !h-auto -translate-x-1/2 -translate-y-1/2"})):(a(),r(A,{key:1},[l("h1",he,x(B.$t("notif")),1),s(e(R1),{as:"main","selected-index":e(c),onChange:_1},{default:C(()=>[s(e(D1),{as:"ul",class:"my-4 flex items-center gap-2.5"},{default:C(()=>[s(e(q),{as:"li",class:"relative"},{default:C(({selected:f})=>[l("button",{class:Z([{"border-gray-light bg-white/20 backdrop-blur":f,"border-gray-light bg-transparent":!f},"rounded-full border px-6 py-2.5 font-bold"])},x(B.$t("announcement")),3),e(t).announcementBadgeCount?(a(),r("div",Ce)):y("",!0)]),_:1}),s(e(q),{as:"li",class:"relative"},{default:C(({selected:f})=>[l("button",{class:Z([{"border-gray-light bg-white/20 backdrop-blur":f,"border-gray-light bg-transparent":!f},"rounded-full border px-6 py-2.5 font-bold"])},x(B.$t("orders")),3),e(t).orderBadgeCount?(a(),r("div",ge)):y("",!0)]),_:1})]),_:1}),s(e(E1),null,{default:C(()=>[s(e(X),null,{default:C(()=>[e(g)||!e(i)?(a(),r("div",xe,[s(G),l("h1",we,x(e(h)),1)])):(a(),r(A,{key:1},[O([e,"call",f=>f($),"optionalAccess",f=>f.rows,"access",f=>f.length])?(a(),r(A,{key:0},[s(z,{notifications:O([e,"call",f=>f($),"optionalAccess",f=>f.rows]),"icon-type":"announcement",onClose:N[0]||(N[0]=f=>u.value=!1)},null,8,["notifications"]),s(e(W),{onInfinite:P}),l("div",ve,[e(t).announcementMessage.length?(a(),r("span",$e,x(e(t).announcementMessage),1)):y("",!0),e(t).isLoadMore&&!e(t).announcementMessage.length?(a(),r("div",ye,[s(F,{class:"w-6"})])):y("",!0)])],64)):(a(),r("div",be,[s(G),l("h1",ke,x(B.$t("no_announcement_msg")),1)]))],64))]),_:1}),s(e(X),null,{default:C(()=>[e(d)||!e(i)?(a(),r("div",Se,[s(G),l("h1",Le,x(e(h)),1)])):(a(),r(A,{key:1},[O([e,"call",f=>f(_),"optionalAccess",f=>f.rows,"access",f=>f.length])?(a(),r(A,{key:0},[s(z,{notifications:O([e,"call",f=>f(_),"optionalAccess",f=>f.rows]),"icon-type":"order",onClose:N[1]||(N[1]=f=>u.value=!1)},null,8,["notifications"]),s(e(W),{onInfinite:P}),l("div",Ae,[e(t).orderMessage.length?(a(),r("span",Be,x(e(t).orderMessage),1)):y("",!0),e(t).isLoadMore&&!e(t).orderMessage.length?(a(),r("div",Me,[s(F,{class:"w-6"})])):y("",!0)])],64)):(a(),r("div",Ve,[s(G),l("h1",He,x(B.$t("no_orders_msg")),1)]))],64))]),_:1})]),_:1})]),_:1},8,["selected-index"])],64))])}}}),Ne={},Ge={width:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Oe=l("path",{d:"M15 19.5H1.5V15C2.29565 15 3.05871 14.6839 3.62132 14.1213C4.18393 13.5587 4.5 12.7956 4.5 12C4.5 11.2044 4.18393 10.4413 3.62132 9.87868C3.05871 9.31607 2.29565 9 1.5 9V4.5H15V8.25H16.5V4.5H22.5V9C21.7044 9 20.9413 9.31607 20.3787 9.87868C19.8161 10.4413 19.5 11.2044 19.5 12C19.5 12.7956 19.8161 13.5587 20.3787 14.1213C20.9413 14.6839 21.7044 15 22.5 15V19.5H16.5V15.75H15V19.5ZM15 9.75V14.25H16.5V9.75H15Z",fill:"currentColor"},null,-1),Te=[Oe];function Ue(p,n){return a(),r("svg",Ge,Te)}const I=S(Ne,[["render",Ue]]),Ie={},je={width:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},De=l("path",{d:"M11.0714 2.08687C9.21044 2.42437 7.71982 3.77437 7.19482 5.5978C6.81513 6.89624 6.99794 8.36812 7.67763 9.53999C8.23075 10.4962 9.14482 11.2744 10.1667 11.6541C12.2948 12.4556 14.6433 11.7994 15.9886 10.0322C16.2886 9.63843 16.7011 8.79937 16.8183 8.33062C17.5683 5.42905 15.7823 2.59312 12.8901 2.08687C12.4167 2.00249 11.5308 2.00249 11.0714 2.08687Z",fill:"white"},null,-1),Ee=l("path",{d:"M11.1609 14.5314C7.77656 14.8127 4.87031 16.6033 3.58594 19.1955C3.15469 20.0721 2.90625 21.0283 2.90625 21.8299C2.90625 22.1767 2.97188 22.3408 3.14531 22.4346C3.34219 22.533 20.6578 22.533 20.8547 22.4299C21.0609 22.3267 21.1125 22.1392 21.0797 21.6189C20.8922 18.5533 18.3891 15.858 14.8172 14.8783C13.7344 14.583 12.2531 14.4424 11.1609 14.5314Z",fill:"white"},null,-1),Re=[De,Ee];function Pe(p,n){return a(),r("svg",je,Re)}const U=S(Ie,[["render",Pe]]),ze={},Fe={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ke=D('<g id="Alarm Bell"><g id="Group"><path id="Vector" d="M7.70312 17.0078H12.3115C11.8531 17.8078 10.9948 18.3328 10.0115 18.3328C9.01147 18.3328 8.16146 17.8078 7.70312 17.0078Z" fill="white"></path></g><path id="Subtract" fill-rule="evenodd" clip-rule="evenodd" d="M15.8038 7.06881C15.3204 7.34173 14.762 7.49748 14.1673 7.49748C12.3264 7.49748 10.834 6.00509 10.834 4.16414C10.834 3.6285 10.9603 3.12237 11.1848 2.67392C11.0063 2.63766 10.8256 2.60933 10.6432 2.58906V2.31406C10.6432 1.95573 10.3515 1.66406 9.99321 1.66406C9.63488 1.66406 9.34321 1.95573 9.34321 2.31406V2.58906C6.35154 2.9224 4.00154 5.45573 4.00154 8.53906V12.3474C3.86821 12.3641 3.74321 12.3891 3.61821 12.4224C2.81821 12.6807 2.22656 13.4307 2.22656 14.3224C2.22656 14.7391 2.35987 15.1224 2.56821 15.4391C2.81821 15.8141 3.18489 16.0891 3.62656 16.2224C3.80989 16.2807 4.00988 16.3141 4.21822 16.3141H15.7932C16.4766 16.3141 17.0682 15.9641 17.4266 15.4391C17.6349 15.1224 17.7682 14.7391 17.7682 14.3224C17.7682 13.2974 16.9849 12.4557 15.9849 12.3474V8.53906C15.9849 8.03685 15.9233 7.54368 15.8038 7.06881Z" fill="white"></path><circle id="Ellipse 1" cx="14.1641" cy="4.16406" r="2.5" fill="#C4161C"></circle></g>',1),We=[Ke];function qe(p,n){return a(),r("svg",Fe,We)}const c1=S(ze,[["render",qe]]),Xe={},Je={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Qe=l("g",{id:"Alarm Bell"},[l("g",{id:"Group"},[l("path",{id:"Vector",d:"M7.70117 17.0083H12.3095C11.8512 17.8083 10.9929 18.3333 10.0095 18.3333C9.00952 18.3333 8.15951 17.8083 7.70117 17.0083Z",fill:"white"})]),l("path",{id:"Vector_2",d:"M17.7663 14.3248C17.7663 14.7415 17.6329 15.1248 17.4246 15.4415C17.0663 15.9665 16.4746 16.3165 15.7913 16.3165H4.21626C4.00793 16.3165 3.80794 16.2832 3.6246 16.2248C3.18294 16.0915 2.81625 15.8165 2.56625 15.4415C2.35792 15.1248 2.22461 14.7415 2.22461 14.3248C2.22461 13.4332 2.81626 12.6832 3.61626 12.4248C3.74126 12.3915 3.86625 12.3665 3.99959 12.3498V8.5415C3.99959 5.45817 6.34959 2.92484 9.34126 2.5915V2.3165C9.34126 1.95817 9.63292 1.6665 9.99126 1.6665C10.3496 1.6665 10.6413 1.95817 10.6413 2.3165V2.5915C11.9913 2.7415 13.2496 3.33316 14.2246 4.3165C15.3579 5.43316 15.9829 6.9415 15.9829 8.5415V12.3498C16.9829 12.4582 17.7663 13.2998 17.7663 14.3248Z",fill:"white"})],-1),Ye=[Qe];function et(p,n){return a(),r("svg",Je,Ye)}const r1=S(Xe,[["render",et]]),tt={class:"md:flex hidden items-center gap-2.5 2xl:gap-4"},nt=V({__name:"NavLinks",async setup(p){let n,o;const t=R(),{isLoggedIn:i}=j(),c=M(null),u=M(!1);[n,o]=L(()=>
1t.unSeenAll()),await n,o();const m=O1(()=>{u.value=!u.value},200);return a1(c,()=>{u.value=!1}),g1("showNoti",u),(h,_)=>{const d=Y,v=T1,$=Ze;return a(),r("div",tt,[s(v,{path:e(b).my_ticket,query:{tab:"upcoming"},class:"md:block hidden"},{default:C(()=>[s(d,{class:"xl:flex hidden",icon:e(I),text:`${h.$t("ticket")}`},null,8,["icon","text"]),s(d,{class:"xl:hidden flex",icon:e(I),circle:""},null,8,["icon"])]),_:1},8,["path"]),e(i)?(a(),w(v,{key:0,path:e(b).profile},{default:C(()=>[s(d,{circle:"",icon:e(U)},null,8,["icon"])]),_:1},8,["path"])):(a(),w(v,{key:1,path:e(b).login,query:{login:"0",username:"0"},class:"hidden lg:block"},{default:C(()=>[s(d,{class:"xl:flex hidden",icon:e(U),text:`${h.$t("join")}`},null,8,["icon","text"]),s(d,{class:"xl:hidden flex",icon:e(U),circle:""},null,8,["icon"])]),_:1},8,["path"])),l("div",null,[l("div",{ref_key:"targetRef",ref:c,class:"relative"},[l("div",{class:"hidden md:block",onClick:_[0]||(_[0]=(...g)=>e(m)&&e(m)(...g))},[s(d,{circle:"",icon:e(t).allBadgeCount?e(c1):e(r1)},null,8,["icon"])]),e(u)?(a(),w($,{key:0})):y("",!0)],512)])])}}}),ot={class:"flex items-center justify-between gap-4 py-4 lg:py-6"},st={class:"flex gap-2.5 md:hidden"},at={class:"flex items-center gap-4"},it=V({__name:"HeaderTop",async setup(p){let n,o;const t=e1(),i=R();return[n,o]=L(()=>i.unSeenAll()),await n,o(),(c,u)=>{const m=Y,h=t1,_=fe,d=w1,v=nt,$=P1,g=l1;return a(),r("div",ot,[l("div",st,[s(h,{to:e(t)(e(b).my_ticket)},{default:C(()=>[s(m,{circle:"",icon:e(I)},null,8,["icon"])]),_:1},8,["to"]),s(h,{to:e(t)(e(b).notification)},{default:C(()=>[s(m,{circle:"",icon:e(i).allBadgeCount?e(c1):e(r1)},null,8,["icon"])]),_:1},8,["to"])]),s(_),s(h,{to:e(t)(e(b).home),class:"absolute left-1/2 -translate-x-1/2"},{default:C(()=>[s(d,{src:e(x1),width:117,height:44,class:"w-[73px] flex-1 object-cover lg:w-[95px] xl:w-[117px]"},null,8,["src"])]),_:1},8,["to"]),l("div",at,[s(v),s($),s(h,{to:e(t)(e(b).search),class:"flex md:hidden"},{default:C(()=>[s(g)]),_:1},8,["to"])])])}}});function H(p){let n,o=p[0],t=1;for(;t<p.length;){const i=p[t],c=p[t+1];if(t+=2,(i==="optionalAccess"||i==="optionalCall")&&o==null)return;i==="access"||i==="optionalAccess"?(n=o,o=c(o)):(i==="call"||i==="optionalCall")&&(o=c((...u)=>o.call(n,...u)),n=void 0)}return o}const lt={class:"flex text-left gap-1"},ct={class:"line-clamp-1"},rt={class:"flex gap-2"},_t={class:"flex gap-2"},dt=V({__name:"CinemaSelector",props:{cinemas:{}},emits:["updateCinema","selectAll"],setup(p,{emit:n}){const o=M(null);return E(o,()=>{o.value?n("updateCinema",o.value):n("selectAll")}),(t,i)=>{const c=i1,u=z1,m=n1,h=F1;return a(),w(h,{selected:e(o),"onUpdate:selected":i[0]||(i[0]=_=>J(o)?o.value=_:null),items:t.cinemas,position:"right","show-border":!0,"btn-classes":"w-full justify-between py-2.5 lg:py-4","list-box-classes":"w-full lg:w-[400px] xl:w-[544px]"},{selected:C(({open:_})=>[l("div",lt,[s(c,{class:"min-w-[24px]"}),l("p",ct,x(H([e,"call",d=>d(o),"optionalAccess",d=>d.name])||t.$t("all_cinemas")),1)]),s(u,{class:Z(_?"rotate-180":"")},null,8,["class"])]),default:C(()=>[l("div",rt,[s(c,{class:"min-w-[24px]"}),l("p",{class:Z(H([e,"call",_=>_(o),"optionalAccess",_=>_.id])?["text-white","font-medium"]:["text-primary","font-bold"])},x(t.$t("all_cinemas")),3)]),s(m,{class:"my-4"})]),item:C(_=>[l("div",_t,[s(c,{class:"min-w-[24px]"}),l("p",{class:Z(H([e,"call",d=>d(o),"optionalAccess",d=>d.id])===H([_,"optionalAccess",d=>d.id])?["text-primary","font-bold"]:["text-white","font-medium"])},x(H([_,"optionalAccess",d=>d.name])),3)]),s(m,{class:Z(["my-4",H([_,"optionalAccess",d=>d.id])===t.cinemas[t.cinemas.length-1].id?"hidden":"block"])},null,8,["class"])]),_:1},8,["selected","items"])}}}),pt={},ut={width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ft=l("path",{d:"M19.2476 11.5071C19.2231 11.0403 19.0116 10.6006 18.683 10.261L11.7666 3.10516C11.5654 2.8733 11.2835 2.75543 11 2.75C10.7165 2.75543 10.4346 2.8733 10.2334 3.10516L3.31304 10.2649C2.98361 10.6061 2.77455 11.0473 2.75238 11.5164C2.75079 11.5475 2.75 11.5785 2.75 11.6095V16.5336C2.75 18.0333 3.9917 19.2492 5.52323 19.2492H8.11511C8.26716 19.2492 8.3899 19.1283 8.3899 18.9801V18.9724V16.66C8.3899 15.2487 9.55874 14.1041 11 14.1041C12.4413 14.1041 13.6101 15.2487 13.6101 16.66V18.9724C13.6101 18.9724 13.6101 18.9739 13.6101 18.9755C13.6101 19.1259 13.7313 19.25 13.8849 19.25H16.4768C18.0083 19.25 19.25 18.0341 19.25 16.5344V11.6095C19.25 11.5754 19.2492 11.5413 19.2476 11.5071Z",fill:"url(#paint0_linear_8544_1445)"},null,-1),mt=l("defs",null,[l("linearGradient",{id:"paint0_linear_8544_1445",x1:"13.6535",y1:"33.44",x2:"-6.82517",y2:"27.392",gradientUnits:"userSpaceOnUse"},[l("stop",{offset:"0.0623871","stop-color":"#AB090E"}),l("stop",{offset:"0.348958","stop-color":"#CB0F15"})])],-1),ht=[ft,mt];function Ct(p,n){return a(),r("svg",ut,ht)}const gt=S(pt,[["render",Ct]]),xt={},wt={width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vt=D('<path d="M15.2841 5.55217C15.1319 5.55217 14.9831 5.56692 14.8401 5.59486C14.8401 5.58089 14.841 5.56614 14.841 5.55217C14.841 4.46623 13.8874 3.58599 12.711 3.58599C12.4663 3.58599 12.2326 3.6248 12.014 3.69467C11.6398 3.12802 10.9645 2.75 10.1935 2.75C9.42238 2.75 8.69418 3.15907 8.33008 3.76297C5.8537 3.55417 5.36179 5.52035 5.36179 5.52035C4.3931 5.70353 3.66406 6.49606 3.664
106 7.44538C3.66406 7.89326 3.82635 8.30544 4.09964 8.63611C4.22577 8.78903 4.37628 8.92409 4.5453 9.03742C5.20287 8.90934 6.22453 8.74012 7.50014 8.62214C9.16087 8.46922 11.2521 8.40557 13.5326 8.63689C14.5046 8.73547 15.5103 8.88838 16.532 9.11116C16.7102 8.99162 16.8683 8.84802 16.9987 8.68424C17.2593 8.35822 17.4141 7.95459 17.4141 7.51835C17.4141 6.43241 16.4605 5.55217 15.2841 5.55217Z" fill="url(#paint0_linear_8544_1489)"></path><path d="M12.7266 9.59601C11.0482 9.47182 9.56157 9.49278 8.33725 9.57273L7.71921 9.62008C5.80285 9.78619 4.67188 10.078 4.67188 10.078L6.08623 18.9674C6.14341 19.3726 6.5176 19.6753 6.9599 19.6753H14.0872C14.5286 19.6753 14.9028 19.3733 14.96 18.9689L16.3945 10.078C15.3283 9.87545 14.3075 9.73729 13.3438 9.64802L12.7266 9.59679V9.59601Z" fill="url(#paint1_linear_8544_1489)"></path><defs><linearGradient id="paint0_linear_8544_1489" x1="12.7503" y1="14.5818" x2="-0.43177" y2="6.1667" gradientUnits="userSpaceOnUse"><stop offset="0.0623871" stop-color="#AB090E"></stop><stop offset="0.348958" stop-color="#CB0F15"></stop></linearGradient><linearGradient id="paint1_linear_8544_1489" x1="12.4184" y1="28.4193" x2="-1.75646" y2="23.5927" gradientUnits="userSpaceOnUse"><stop offset="0.0623871" stop-color="#AB090E"></stop><stop offset="0.348958" stop-color="#CB0F15"></stop></linearGradient></defs>',3),$t=[vt];function yt(p,n){return a(),r("svg",wt,$t)}const bt=S(xt,[["render",yt]]),kt={},St={width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Lt=D('<path d="M9.61119 11.2977C9.93978 11.2977 10.2068 11.0313 10.2068 10.7035C10.2068 10.3757 9.93978 10.1094 9.61119 10.1094C9.2826 10.1094 9.01562 10.3757 9.01562 10.7035C9.01562 11.0313 9.2826 11.2977 9.61119 11.2977Z" fill="white"></path><path d="M9.59904 14.609C9.92371 14.5564 10.1442 14.2512 10.0915 13.9273C10.0388 13.6034 9.73286 13.3835 9.40819 13.4361C9.08351 13.4886 8.86304 13.7938 8.91574 14.1177C8.96844 14.4416 9.27436 14.6616 9.59904 14.609Z" fill="white"></path><path d="M19.25 3.4132C19.2173 3.05504 18.929 2.77428 18.57 2.75L11.967 3.08387C11.6506 3.06263 11.3403 3.18024 11.1182 3.40637L3.06011 11.6128C2.64025 12.0401 2.64785 12.726 3.07608 13.1449L9.00743 18.9414C9.43566 19.3603 10.1233 19.3527 10.5431 18.9255L18.5997 10.7205C18.8225 10.4936 18.9343 10.181 18.9054 9.86456L19.25 3.41395V3.4132ZM9.61289 9.66196C10.1894 9.66196 10.6572 10.1286 10.6572 10.7038C10.6572 11.279 10.1894 11.7456 9.61289 11.7456C9.03634 11.7456 8.56855 11.279 8.56855 10.7038C8.56855 10.1286 9.03634 9.66196 9.61289 9.66196ZM9.50032 15.0684C8.92376 15.0684 8.45598 14.6018 8.45598 14.0266C8.45598 13.4514 8.92376 12.9848 9.50032 12.9848C10.0769 12.9848 10.5447 13.4514 10.5447 14.0266C10.5447 14.6018 10.0769 15.0684 9.50032 15.0684ZM12.0948 12.0476L7.22225 13.0735C7.20627 13.0766 7.19106 13.0781 7.17585 13.0781C7.0724 13.0781 6.97885 13.006 6.95679 12.9005C6.93093 12.7799 7.00851 12.6608 7.13021 12.635L12.0028 11.6091C12.1245 11.584 12.2431 11.6607 12.269 11.7821C12.2949 11.9027 12.2173 12.0218 12.0956 12.0476H12.0948Z" fill="white"></path><path d="M9.61119 11.2977C9.93978 11.2977 10.2068 11.0313 10.2068 10.7035C10.2068 10.3757 9.93978 10.1094 9.61119 10.1094C9.2826 10.1094 9.01562 10.3757 9.01562 10.7035C9.01562 11.0313 9.2826 11.2977 9.61119 11.2977Z" fill="url(#paint0_linear_8544_1461)"></path><path d="M9.59904 14.609C9.92371 14.5564 10.1442 14.2512 10.0915 13.9273C10.0388 13.6034 9.73286 13.3835 9.40819 13.4361C9.08351 13.4886 8.86304 13.7938 8.91574 14.1177C8.96844 14.4416 9.27436 14.6616 9.59904 14.609Z" fill="url(#paint1_linear_8544_1461)"></path><path d="M19.25 3.4132C19.2173 3.05504 18.929 2.77428 18.57 2.75L11.967 3.08387C11.6506 3.06263 11.3403 3.18024 11.1182 3.40637L3.06011 11.6128C2.64025 12.0401 2.64785 12.726 3.07608 13.1449L9.00743 18.9414C9.43566 19.3603 10.1233 19.3527 10.5431 18.9255L18.5997 10.7205C18.8225 10.4936 18.9343 10.181 18.9054 9.86456L19.25 3.41395V3.4132ZM9.61289 9.66196C10.1894 9.66196 10.6572 10.1286 10.6572 10.7038C10.6572 11.279 10.1894 11.7456 9.61289 11.7456C9.03634 11.7456 8.56855 11.279 8.56855 10.7038C8.56855 10.1286 9.03634 9.66196 9.61289 9.66196ZM9.50032 15.0684C8.92376 15.0684 8.45598 14.6018 8.45598 14.02
166C8.45598 13.4514 8.92376 12.9848 9.50032 12.9848C10.0769 12.9848 10.5447 13.4514 10.5447 14.0266C10.5447 14.6018 10.0769 15.0684 9.50032 15.0684ZM12.0948 12.0476L7.22225 13.0735C7.20627 13.0766 7.19106 13.0781 7.17585 13.0781C7.0724 13.0781 6.97885 13.006 6.95679 12.9005C6.93093 12.7799 7.00851 12.6608 7.13021 12.635L12.0028 11.6091C12.1245 11.584 12.2431 11.6607 12.269 11.7821C12.2949 11.9027 12.2173 12.0218 12.0956 12.0476H12.0948Z" fill="url(#paint2_linear_8544_1461)"></path><defs><linearGradient id="paint0_linear_8544_1461" x1="9.80275" y1="12.3196" x2="8.32496" y2="11.8821" gradientUnits="userSpaceOnUse"><stop offset="0.0623871" stop-color="#AB090E"></stop><stop offset="0.348958" stop-color="#CB0F15"></stop></linearGradient><linearGradient id="paint1_linear_8544_1461" x1="9.95225" y1="15.5871" x2="8.42315" y2="15.3926" gradientUnits="userSpaceOnUse"><stop offset="0.0623871" stop-color="#AB090E"></stop><stop offset="0.348958" stop-color="#CB0F15"></stop></linearGradient><linearGradient id="paint2_linear_8544_1461" x1="13.6535" y1="33.4414" x2="-6.82532" y2="27.3937" gradientUnits="userSpaceOnUse"><stop offset="0.0623871" stop-color="#AB090E"></stop><stop offset="0.348958" stop-color="#CB0F15"></stop></linearGradient></defs>',7),At=[Lt];function Bt(p,n){return a(),r("svg",St,At)}const Mt=S(kt,[["render",Bt]]),Vt={class:"lg:flex lg:items-center lg:justify-between"},Ht={class:"hidden gap-8 py-4 text-gray lg:flex"},Zt={class:"flex items-center gap-2 hover:text-white"},Nt={class:"h-6 w-6"},Gt=V({__name:"HeaderBottom",async setup(p){let n,o;Q();const t=e1(),i=v1(),c=T(()=>i.path===t("/")),u=[{nameKey:"home",path:b.home,icon:$1,iconActive:gt},{nameKey:"cinemas",path:b.cinemas,icon:y1,iconActive:i1},{nameKey:"offers",path:b.promotions,icon:b1,iconActive:Mt},{nameKey:"food_drinks",path:b.food_drinks,icon:k1,iconActive:bt}],m=q1(),{data:h}=([n,o]=L(()=>K1()),n=await n,o(),n);return E(h,()=>{m.cinemaList=h.value},{immediate:!0}),(_,d)=>{const v=t1,$=dt;return a(),r("div",Vt,[l("ul",Ht,[(a(),r(A,null,S1(u,(g,k)=>s(v,{key:k,"active-class":"font-bold text-white",to:e(t)(g.path)},{default:C(()=>[l("li",Zt,[l("span",Nt,[e(t)(g.path)===e(i).path?(a(),w(K(g.iconActive),{key:0})):(a(),w(K(g.icon),{key:1}))]),l("span",null,x(_.$t(g.nameKey)),1)])]),_:2},1032,["to"])),64))]),e(c)?(a(),w($,{key:0,cinemas:e(W1)(e(m).cinemaList),onUpdateCinema:d[0]||(d[0]=g=>e(m).selectedCinema=g),onSelectAll:d[1]||(d[1]=g=>e(m).selectedCinema=null)},null,8,["cinemas"])):y("",!0)])}}}),Ot={},Tt={class:"fixed top-0 left-0 w-full h-screen -z-30"},Ut=l("div",{class:"absolute top-0 left-0 w-full h-full z-20 bg-gradient-radial backdrop-blur-[20px] from-[#47090e]/80 to-black/80"},null,-1),It=l("div",{class:"absolute top-0 left-0 w-full h-full z-10 bg-[#0b0b0b]/70 backdrop-blur-sm"},null,-1),jt=[Ut,It];function Dt(p,n){return a(),r("div",Tt,jt)}const Et=S(Ot,[["render",Dt]]),Rt={},Pt={class:"sticky left-0 top-0 z-[9999] w-full bg-secondary/50 backdrop-blur-lg"},zt={class:"max-lg:bg-secondary/20 max-lg:backdrop-blur-lg"};function Ft(p,n){const o=it,t=o1,i=n1,c=Gt,u=Et;return a(),r(A,null,[l("nav",Pt,[s(t,null,{default:C(()=>[s(o)]),_:1}),s(i),l("div",zt,[s(t,null,{default:C(()=>[s(c)]),_:1})])]),s(u)],64)}const Kt=S(Rt,[["render",Ft]]),Wt={class:"overflow-x-hidden"},Ln=V({__name:"default",setup(p){const n=L1(),{isLoggedIn:o}=j(),t=M(!1),i=T(()=>o.value&&!!n.profile&&!n.isComplete&&!n.hasSkippedThisSession);E(i,u=>{u||(t.value=!1)});async function c(u){const m=A1(n.profile,u);(await n.submitProfile(m)).success&&(t.value=!1)}return(u,m)=>{const h=Kt,_=o1,d=B1;return a(),r("div",null,[s(h),l("main",Wt,[s(_,null,{default:C(()=>[M1(u.$slots,"default")]),_:3})]),s(d),e(i)&&!e(t)?(a(),w(X1,{key:0,"is-open":e(i)&&!e(t),onComplete:m[0]||(m[0]=v=>t.value=!0),onSkip:e(n).markSkippedThisSession},null,8,["is-open","onSkip"])):y("",!0),e(i)&&e(t)?(a(),w(J1,{key:1,"is-open":e(i)&&e(t),"missing-fields":e(n).missingFields,dismissible:!0,"is-loading":e(n).isLoading,"error-message":e(n).messageErr,onSubmit:c,onSkip:e(n).markSkippedThisSession},null,8,["is-open","missing-fields","is-loading","error-message","onSkip"])):y("",!0)])}}});
1export{Ln as default};

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.