1import{q as d,j as m,d as h,w as x,c,g as l,F as g,z as b,b as k,o as u,n as v,A as y}from"./DuIkbuEt.js";function F(){const t=d("/opening-hours",{immediate:!1}),e=d("/opening-hours/today",{immediate:!1});function o(){const a=m(()=>Object.fromEntries((t.data.value??[]).map(n=>[n.name,{day:n.name,open:n.open,close:n.close,isToday:n.isToday,label:`${n.open} - ${n.close}`}]))),s=()=>t.execute();return{schedule:a,pending:t.pending,error:t.error,executeFetch:s}}function r(){const a=m(()=>e.data.value?`${e.data.value.name} ${e.data.value.open} - ${e.data.value.close}`:null),s=()=>e.execute();return{today:e.data,label:a,pending:e.pending,error:e.error,executeFetch:s}}return{getWeek:o,getToday:r}}const T={class:"no-bullets"},w=h({__name:"OpeningTimes",async setup(t){let e,o;const{getWeek:r}=F(),{schedule:a,executeFetch:s}=r();return[e,o]=x(()=>s()),await e,o(),(n,i)=>(u(),c(g,null,[i[0]||(i[0]=l("h6",null,"Openingstijden",-1)),l("ul",T,[(u(!0),c(g,null,b(k(a),(_,p,f)=>(u(),c("li",{key:p,class:v({"is-today":f})},[l("span",null,y(p),1),l("span",null,y(_.label),1)],2))),128))])],64))}});export{w 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.