1import{r as e,t}from"./jsx-runtime-DGeXAQPT.js";import{t as n}from"./react-BhjfaixL.js";import{c as r,l as i,s as a,u as o}from"./site-footer-V4iepM0O.js";var s=e(n(),1),c=t();function l({title:e,items:t,open:n,onOpenChange:s}){return(0,c.jsx)(a,{open:n,onOpenChange:s,children:(0,c.jsxs)(r,{className:`w-[calc(100vw-2rem)] max-w-[calc(100vw-2rem)] overflow-hidden sm:max-w-lg`,children:[(0,c.jsx)(i,{children:(0,c.jsx)(o,{className:`font-display text-xl font-extrabold uppercase tracking-tight`,children:e})}),(0,c.jsxs)(`div`,{className:`mt-1 grid max-h-[65vh] min-w-0 gap-2.5 overflow-y-auto`,children:[t.map((e,t)=>(0,c.jsxs)(`a`,{href:e.href,target:`_blank`,rel:`noreferrer`,className:`group flex w-full min-w-0 items-center gap-3 rounded-2xl border border-border p-4 transition-colors hover:border-primary hover:bg-accent/60`,children:[(0,c.jsx)(`span`,{"aria-hidden":!0,className:`grid size-10 shrink-0 place-items-center rounded-full bg-primary/10 font-display text-xs font-bold uppercase tracking-wide text-primary`,children:e.flag?.slice(0,2).toUpperCase()||`??`}),(0,c.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,c.jsx)(`span`,{className:`block truncate font-display text-base font-bold group-hover:text-primary`,children:e.name}),(0,c.jsx)(`span`,{className:`block truncate text-sm text-muted-foreground`,children:e.date})]}),(0,c.jsx)(`span`,{"aria-hidden":!0,className:`shrink-0 text-primary`,children:`â`})]},`${e.name}-${t}`)),t.length===0?(0,c.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No editions configured yet.`}):null]})]})})}function u({label:e,title:t,items:n,className:r,children:i}){let[a,o]=(0,s.useState)(!1);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(`button`,{type:`button`,onClick:()=>o(!0),className:r,children:i??e}),(0,c.jsx)(l,{title:t,items:n,open:a,onOpenChange:o})]})}export{u as t};
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.