1import{r as o,m as e,L as l}from"./preload-helper-DHgwUQx0.js";import{u as d}from"./useQuery-qaImpGPx.js";import{a as c}from"./main-RZuSI3U0.js";import{u as g,S as x}from"./usePageMeta-B7LTaU94.js";import{S as p}from"./Spinner-x-tzqMC7.js";function h(){const[n,r]=o.useState(()=>localStorage.getItem("sml-lang")||"EN");return o.useEffect(()=>{const a=i=>r(i.detail);return window.addEventListener("sml-lang-change",a),()=>window.removeEventListener("sml-lang-change",a)},[]),n}const m=()=>e.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"var(--clr-green)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),e.jsx("path",{d:"M14 2v6h6M9 13h6M9 17h6"})]});function f(n){if(!n)return"File";const r=n.split(".").pop();return r?r.toUpperCase():"File"}const u=()=>e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),e.jsx("polyline",{points:"7 10 12 15 17 10"}),e.jsx("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]});function L(){g("Regulations","Official regulations and documents of Suriname Major League.");const n=h(),r=n==="NL"?"Reglementen":"Regulations",{data:a,isLoading:i}=d({queryKey:["reglementen"],queryFn:()=>c.reglementen()}),s=(a==null?void 0:a.data)??[];return e.jsxs("div",{className:"page",children:[e.jsxs("div",{style:{background:"var(--clr-dark3)",position:"relative",overflow:"hidden",marginTop:"calc(-1 * (var(--nav-h) + 32px))",paddingTop:"calc(var(--nav-h) + 32px + 60px)",paddingBottom:60},children:[e.jsx("div",{style:{position:"absolute",inset:0,background:"radial-gradient(ellipse 50% 100% at 80% 50%, rgba(69,151,19,0.15) 0%, transparent 70%)"}}),e.jsxs("div",{className:"container",style:{position:"relative",zIndex:1},children:[e.jsxs("div",{className:"breadcrumb",children:[e.jsx(l,{to:"/",children:"Home"}),e.jsx("span",{children:"/"}),e.jsx("span",{className:n==="NL"?"notranslate":void 0,style:{color:"#fff"},children:r})]}),e.jsx(x,{children:"Documents"}),e.jsx("h1",{className:n==="NL"?"notranslate":void 0,style:{color:"#fff"},children:r}),e.jsx("p",{style:{color:"rgba(255,255,255,0.65)",marginTop:12,fontSize:"1rem",maxWidth:560},children:"Official regulations and documents of Suriname Major League, available for download."})]})]}),e.jsx("section",{className:"section section-dark",children:e.jsx("div",{className:"container",children:i?e.jsx(p,{}):s.length===0?e.jsx("p",{style:{color:"var(--clr-muted)",textAlign:"center",padding:"40px 0"},children:"No regulations are currently available."}):e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:12,maxWidth:720,margin:"0 auto"},children:s.map(t=>e.jsxs("a",{href:t.file_url??"#",target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",gap:16,background:"var(--clr-dark2)",border:"1px solid var(--clr-border)",borderRadius:"var(--radius-lg)",padding:"18px 20px",textDecoration:"none"},children:[e.jsx("div",{style:{width:44,height:44,borderRadius:8,background:"rgba(69,151,19,0.12)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:e.jsx(m,{})}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsx("div",{style:{color:"#fff",fontFamily:"var(--ff-head)",fontWeight:700,fontSize:"0.95rem"},children:t.title}),e.jsx("div",{style:{color:"var(--clr-muted)",fontSize:"0.78rem",marginTop:2},children:f(t.file_name)})]}),e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,color:"var(--clr-green)",fontFamily:"var(--ff-head)",fontWeight:700,fontSize:"0.78rem",textTransform:"uppercase",letterSpacing:"1px",flexShrink:0},children:[e.jsx(u,{}),"Download"]})]},t.id))})})})]})}export{L as ReglementenPage};
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.