1import{ag as $,R as D,k as R,bc as T,as as r,at as c,an as t,aC as i,aE as u,az as p,ac as n,av as a,aw as x,ai as V,ay as B,bd as P,au as A,aT as v,aB as f,ax as U,S as H,aU as h,ab as O,_ as F}from"./sentry.C166FaKx.js";import{T as j,H as M,a as Z,O as q}from"./entry.CASL9l9J.js";import{_ as G}from"./ProgressBar.DvQUviKd.js";import{_ as J,a as K}from"./ToastArea.vue.f_DoU124.js";import{u as Q}from"./cloud.8lCcO6ur.js";import{u as W}from"./ui.CEZZ2yI6.js";import"./firebase.D973B9Ub.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new s.Error().stack;l&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[l]="c74b3c4e-81a0-446d-9662-e9eb65696217",s._sentryDebugIdIdentifier="sentry-dbid-c74b3c4e-81a0-446d-9662-e9eb65696217")}catch{}})();const X=O(()=>F(()=>import("./client-only.BDoF9plW.js"),[],import.meta.url).then(s=>s.default||s)),Y={class:"flex justify-content-center flex-grow"},ee={class:"m-auto p-1 text-right"},te=["value"],ne={class:"navigation"},oe={class:"flex-full"},se={key:1,class:"p-1"},ae={role:"navigation"},ce=$({__name:"admin",setup(s){const l=W(),o=Q(),b=H(),g=D(),w=R(()=>g.meta.title?`${g.meta.title} · Administrace ${b.public.title}`:b.public.title);return(y,e)=>{const C=j,E=M,m=Z,z=q,k=G,_=h,S=J,I=K,L=T("vue-easy-lightbox"),N=X;return r(),c("div",null,[t(E,null,{default:i(()=>[t(C,null,{default:i(()=>[u(p(n(w)),1)]),_:1})]),_:1}),t(z,null,{default:i(()=>[a("nav",Y,[a("label",ee,[t(m,{name:"mdi:home-edit-outline",size:"1.8rem"}),e[2]||(e[2]=u(" Vybraná akce ")),x(a("select",{"onUpdate:modelValue":e[0]||(e[0]=d=>n(o).selectedEvent=d)},[(r(!0),c(V,null,B(n(o).eventsCollection,d=>(r(),c("option",{key:d.id,value:d.id},p(d.title),9,te))),128))],512),[[P,n(o).selectedEvent]])]),e[3]||(e[3]=a("div",{id:"topNav",class:"flex"},null,-1))]),a("main",null,[A(y.$slots,"default")])]),_:3}),a("div",ne,[a("div",oe,[n(o).feedback.fetching?(r(),v(k,{key:0})):f("",!0),n(o).feedback.fetchFailed?(r(),c("nav",se,p(n(o).feedback.error||"NepodaÅilo se uložit úpravy."),1)):f("",!0)]),e[8]||(e[8]=a("div",{id:"additionalNav",class:"flex-full"},null,-1)),a("nav",ae,[t(_,{to:"/admin/feedback"},{default:i(()=>[t(m,{name:"mdi:rss",size:"1.8rem"}),e[4]||(e[4]=u(" ZpÄtná vazba "))]),_:1}),n(o).resolvedPermissions.editEvent?(r(),v(_,{key:0,to:"/admin/events","no-prefetch":""},{default:i(()=>[t(m,{name:"mdi:calendar-month",size:"1.8rem"}),e[5]||(e[5]=u(" Akce "))]),_:1})):f("",!0),n(o).resolvedPermissions.editEvent?(r(),v(_,{key:1,to:"/admin/users"},{default:i(()=>[t(m,{name:"mdi:person",size:"1.8rem"}),e[6]||(e[6]=u(" Uživatelé "))]),_:1})):f("",!0),t(_,{to:"/"},{default:i(()=>[t(m,{name:"mdi:calendar-arrow-left",size:"1.8rem"}),e[7]||(e[7]=u(" Program "))]),_:1}),t(S)]),t(I)]),x(t(k,{class:"backgroundLoading"},null,512),[[U,n(o).eventLoading||y.$downloadingUpdate?.value||n(l).isLoading]]),t(N,null,{default:i(()=>[t(L,{visible:n(l).visibleRef,imgs:n(l).imagesRef,onHide:e[1]||(e[1]=d=>n(l).visibleRef=!1)},null,8,["visible","imgs"])]),_:1})])}}});export{ce as default}; 2//# sourceMappingURL=admin.DLQ0dIfV.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.