1import{c,j as e,L as i,O as m}from"./index-CfcSdzPN.js";import{u as n,V as x,L as p}from"./view-as-CZJFnmNw.js";import{O as d,u as h}from"./org-switcher-provider-DoMbZ9EO.js";import{C as u}from"./critical-alert-watcher-Bu0TFnMd.js";import{l as b}from"./relyup-lockup-clean-horizontal-dark.png.asset-BLoejZu7.js";import{T as f}from"./triangle-alert-H7dW3OPh.js";import{T as g}from"./truck-DfV6LZHd.js";import{C as j}from"./credit-card-DWiqFt5F.js";import"./useServerFn-DgcYVCxo.js";import"./useQuery-DDNSg42L.js";import"./dialog-CDux1s98.js";import"./index-BHV1ML_D.js";import"./index-CDH9WtiJ.js";import"./index-Bfj6Pq9H.js";import"./index-Byyfr87I.js";import"./index-MClwAS4I.js";import"./index-Be-CRbNU.js";import"./index-C-JUTNGR.js";import"./utils-DDt1maD9.js";import"./x-BrXmSyo7.js";import"./button-BIdGwjim.js";import"./index-CertmylC.js";import"./index-CIF9E9WT.js";import"./admin-fleets.functions-DgLTTvwE.js";import"./eye-vc0CCTDe.js";import"./trucks.functions-FWLsp3B-.js";const w=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],y=c("ellipsis",w),v=[{to:"/m",label:"Fleet",icon:p,exact:!0},{to:"/m/alerts",label:"Alerts",icon:f},{to:"/m/vehicles",label:"Vehicles",icon:g},{to:"/m/plan",label:"Plan",icon:j},{to:"/m/more",label:"More",icon:y}];function Q(){return e.jsx(d,{children:e.jsx(N,{})})}function N(){const{activeOrg:r,orgs:o,setActiveOrg:s}=h(),a=n({select:t=>t.location.pathname});return e.jsxs("div",{className:"flex min-h-[100dvh] flex-col bg-background text-foreground",children:[e.jsx(u,{}),e.jsx(x,{}),e.jsx("header",{className:"sticky top-0 z-30 border-b border-border bg-[#071B2E] text-white",style:{paddingTop:"env(safe-area-inset-top)"},children:e.jsxs("div",{className:"mx-auto flex w-full max-w-3xl items-center justify-between gap-3 px-4 py-2.5 lg:max-w-5xl",children:[e.jsx(i,{to:"/m",children:e.jsx("img",{src:b.url,alt:"RelyUp",className:"h-8 w-auto"})}),o.length>1?e.jsx("select",{value:r?.id??"",onChange:t=>s(t.target.value),className:"max-w-[55%] truncate rounded-full border border-white/20 bg-white/10 px-3 py-1.5 text-xs font-semibold text-white",children:o.map(t=>e.jsx("option",{value:t.id,className:"text-black",children:t.name},t.id))}):e.jsx("span",{className:"max-w-[55%] truncate text-xs font-semibold text-white/80",children:r?.name??""})]})}),e.jsx("main",{className:"flex-1 pt-3",children:e.jsx(m,{})}),e.jsx("nav",{className:"sticky bottom-0 z-30 border-t border-border bg-card/95 backdrop-blur",style:{paddingBottom:"env(safe-area-inset-bottom)"},children:e.jsx("div",{className:"mx-auto grid w-full max-w-3xl grid-cols-5 lg:max-w-5xl",children:v.map(t=>{const l=t.exact?a===t.to:a.startsWith(t.to);return e.jsxs(i,{to:t.to,className:`flex flex-col items-center gap-1 py-2.5 text-[11px] font-semibold transition-colors ${l?"text-brand":"text-muted-foreground"}`,children:[e.jsx(t.icon,{className:"h-5 w-5"}),t.label]},t.to)})})})]})}export{Q as component};
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.