1import{_ as T}from"./Ct_sTHrI.js";import{G as F,_ as B}from"./43k_j6cP.js";import{E as I}from"./CFFB9NQd.js";import N from"./DOwrnrOW.js";import A from"./DWRkh4_R.js";import{C as w,a as L}from"./x3M7hueC.js";import{m as $}from"./BfTi5GtZ.js";import{d as S,I as V,c as p,x,E as o,g as e,S as i,f as n,a0 as m,e as f,B as _,w as E,o as t,a1 as G,Q as D}from"./Rn1tUdXN.js";import{EVENT_TIME_FILTERS as v}from"./9VjtSTW-.js";import{useEventsFilters as M}from"./Djwhwk6D.js";import{useEventsAfishaCollectionSeo as H}from"./CS3YeSWw.js";import R from"./BIR8YzCY.js";import"./B2bVAY5H.js";import"./DqcCjSr_.js";import"./C82jo5T_.js";import"./DytJJxyc.js";import"./Ctm8M-j-.js";import"./Q-lw_Bwd.js";import"./CnzMWTx1.js";import"./C0ySA3s8.js";import"./DtH6rdum.js";import"./D2R61Buf.js";import"./Y5OzIA9C.js";import"./Dr3TjFj5.js";import"./DPcc2Wy2.js";import"./BWUQLM4E.js";import"./BQA0bEdl.js";import"./_pQ04Iv9.js";import"./B1kG8cP6.js";import"./DbrnNzFw.js";import"./DAMk_uET.js";import"./FUKBWQwh.js";import"./CIwZ0a70.js";import"./ChCPR7IN.js";import"./CcPy5fHj.js";const U=S({__name:"EventsAfisha",setup(Y){const{$viewport:C}=V(),g=p(()=>C.isGreaterOrEquals("tablet")?3:2),{timeFilter:u}=M(),{data:c,status:y}=x(L,{key:w}
1),b=p(()=>c.value?$(c.value):[]),l=p(()=>{const r=new Date;return b.value.filter(d=>{const s=new Date(d.event.end_time);return u.value===v.upcoming?s>=r:s<r})});return H(l),(r,d)=>{const s=T,h=B;return t(),o("div",{class:i(r.$style.root)},[e(y)==="pending"?(t(),o("div",{key:0,class:i(r.$style.loader)},[n(s)],2)):(t(),o(m,{key:1},[e(u)===e(v).upcoming?(t(),f(R,{key:0})):_("",!0),e(l).length?(t(),o(m,{key:1},[n(F,{class:i(r.$style.main__grid)},{default:E(()=>[(t(!0),o(m,null,G(e(l),(a,k)=>(t(),o(m,{key:a.event.id},[k===e(g)?(t(),f(e(N),{key:0,class:i(r.$style.banner_full)},null,8,["class"])):_("",!0),n(h,null,{default:E(()=>[n(e(I),{event:a.event,"image-url":a.imageUrl,place:a.place},null,8,["event","image-url","place"])]),_:2},1024)],64))),128))]),_:1},8,["class"]),n(e(A))],64)):_("",!0)],64))],2)}}}),q="_root_1u27b_1",z="_loader_1u27b_7",K="_main__grid_1u27b_14",O="_banner_full_1u27b_24",P={root:q,loader:z,main__grid:K,banner_full:O},Q={$style:P},we=D(U,[["__cssModules",Q]]);export{we as default}; 2//# sourceMappingURL=Co8kBrh1.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.