1import{_ as w}from"./ClockView.vue_vue_type_script_setup_true_lang-BpcN5C2v.js";import{_ as u}from"./DashboardCloseButton.vue_vue_type_script_setup_true_lang-CN_k8wVn.js";import{P as B}from"./PageHeader-D-doL8ee.js";import{A}from"./AgencyDashboard-RukStT_d.js";import{a as c,o,e,d as C,c as m,m as P,k as r,w as g,s as $,g as i,t as v,h as n,F as D,l as N,n as f,_ as M}from"./index-DbpIxVVg.js";import{u as x}from"./entity-Dyy2H1qK.js";function S(t,l){return o(),c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{d:"M4.5 2a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-1ZM10.5 2a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-1Z"})])}function V(t,l){return o(),c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{d:"M3 3.732a1.5 1.5 0 0 1 2.305-1.265l6.706 4.267a1.5 1.5 0 0 1 0 2.531l-6.706 4.268A1.5 1.5 0 0 1 3 12.267V3.732Z"})])}const Z={class:"space-y-3 md:flex md:space-x-4 md:items-center md:-my-3 md:space-y-0"},E={class:"flex space-x-3 md:block md:space-x-0"},F={class:"text-xl font-semibold flex-1 md:flex-none"},R={class:"isolate flex divide-x divide-gray-200-d rounded-lg shadow-sm border border-slate-200-d","aria-label":"Tabs"},T=["title"],q={class:"space-x-3 hidden md:flex"},z={class:"text-xl font-bold"},H=C({__name:"AgencyDashboardNavigationBar",props:{dashboard:{type:A,required:!0},autoProgress:{type:Boolean,default:!1},canToggleAutoProgress:{type:Boolean,default:!1}},emits:["toggleAutoProgress"],setup(t,{emit:l}){const h=t,p=l,b=P(),d=m(()=>b.currentRoute.value.name),_=m(()=>h.dashboard.tabs);return(I,a)=>{const y=$("router-link");return o(),r(B,{class:"header"},{default:g(()=>[e("div",Z,[e("div",E,[e("div",F,v(t.dashboard.name),1),i(u,{class:"block md:hidden",onClick:a[0]||(a[0]=s=>n(x)().agencyDashboard=null)})]),a[3]||(a[3]=e("div",{class:"flex-1 hidden md:block"},null,-1)),e("div",null,[e("nav",R,[(o(!0),c(D,null,N(_.value,(s,k)=>(o(),r(y,{key:s.name,to:`${t.dashboard.viewUrl}${s.href}`,class:f([s.components.includes(d.value)?"text-gray-900-d":"text-gray-500-d hover:text-gray-700-d",k===0?"rounded-l-lg":"","tab group flex-1 md:flex-none"]),"aria-current":s.components.includes(d.value)?"page":void 0},{default:g(()=>[e("span",null,v(s.name),1),e("span",{"aria-hidden":"true",class:f([s.components.includes(d.value)?"bg-sky-500":"bg-transparent","absolute inset-x-0 bottom-0 h-0.5"])},null,2)]),_:2},1032,["to","class","aria-current"]))),128)),e("button",{class:"tab rounded-r-lg text-slate-500 hover:text-slate-900-d",title:t.autoProgress?"Pause carousel":"Start carousel",onClick:a[1]||(a[1]=s=>p("toggleAutoProgress"))},[t.autoProgress?(o(),r(n(S),{key:0,class:"w-4 h-4"})):(o(),r(n(V),{key:1,class:"w-4 h-4"}))],8,T)])]),a[4]||(a[4]=e("div",{class:"flex-1 hidden md:block"},null,-1)),e("div",q,[e("div",z,[i(w)]),i(u,{onClick:a[2]||(a[2]=s=>n(x)().agencyDashboard=null)})])])]),_:1})}}}),O=M(H,[["__scopeId","data-v-b42cd6a9"]]);export{O as A};
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.