1import{K as x,j as e,N as p}from"./index-Ct8eLu1I.js";import{u}from"./TimingSelectionContext-0R53bEzZ.js";import{u as g}from"./TimingTabMemoryContext-C4jz6T-L.js";import{T as f}from"./TimingEventPicker-HqK0wNRr.js";import{C as a}from"./calendar-CbKSfKX5.js";import{R as h}from"./radio-tsTiTjcV.js";import{F as b}from"./flag-BttTACQc.js";import{U as j}from"./users-YMaWm21U.js";import"./useOrganizationSlug-Im1jCHRI.js";import"./useTimingEvents-a-TBF05g.js";import"./skeleton-Bbz92LbC.js";import"./map-pin-DUB0IYFr.js";const N={schedule:a,"race-day":h,results:b,classes:j};function U({section:r,defaultSub:i,title:m,hint:o}){const{orgSlug:n}=x(),{selectedEventId:s}=u(),{getSubPath:c}=g();if(s){const t=(r==="classes"?"":c(r))||i||"",l=`/org/${n}/timing/${s}/${r}${t?`/${t}`:""}`;return e.jsx(p,{to:l,replace:!0})}const d=N[r]??a;return e.jsxs("div",{className:"mx-auto max-w-2xl space-y-5 px-4 py-5",children:[e.jsxs("div",{className:"flex items-start gap-3 rounded-2xl border border-border/60 bg-card p-4 shadow-timing-card",children:[e.jsx("div",{className:"flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary",children:e.jsx(d,{className:"h-5 w-5"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("h2",{className:"text-base font-bold leading-tight",children:m}),e.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:o}),e.jsx("p",{className:"mt-1.5 text-[11px] font-semibold uppercase tracking-wider text-primary",children:"Pick an event below"})]})]}),e.jsx(f,{})]})}export{U as TimingSectionGate};
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.