1import{b9 as u,bw as m,b_ as y,j as e,cL as p,cM as x}from"./index-Cw_vWzcG.js";import{u as h,a as f,D as g,S as j}from"./seven-day-itinerary-grid-BxT6cWzh.js";import{L as G}from"./loader-circle-CFReBPM-.js";import"./check-aenHoWvI.js";import"./copy-Q6hdaqAj.js";function D(){const r=u(),t=r.data?.role==="admin",n=r.data?.role==="support"?r.data.supportAct:null,s=n!=null&&n.category!=="local_guest",o=m({query:{queryKey:p(),enabled:t}}),d=y({query:{queryKey:x(),enabled:s}}),l=h(t),c=f(s);if(r.isLoading)return e.jsx("div",{className:"flex min-h-[100dvh] items-center justify-center",children:e.jsx(G,{className:"h-6 w-6 animate-spin text-muted-foreground"})});if(!t&&!s)return e.jsx("main",{className:"flex min-h-[100dvh] items-center justify-center px-4 text-center",children:e.jsxs("div",{children:[e.jsx("h1",{className:"font-display text-2xl font-black uppercase",children:"No access"}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"This itinerary is only available to the touring team."})]})});const a=t?o:d,i=t?l:c;return e.jsxs("div",{className:"space-y-3",children:[e.jsx(g,{quote:i.data,isError:i.isError,isLoading:i.isLoading}),e.jsx(j,{embedded:!0,open:!0,onOpenChange:()=>{},days:a.data??[],isLoading:a.isLoading,isError:a.isError})]})}export{D 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.