1import{a as u,r as n,c as j,j as e,H as p,N as h,B as l,m as f,S as g,F as N,$ as w,e as b}from"./index-qW4YLR5O.js";import{P as v}from"./PageHero-DTGzeAQZ.js";import{C,a as y,b as B,c as S}from"./card-wqN69ox0.js";import{B as k}from"./badge-BO6gsWwu.js";import{B as F,V as P,S as T,P as H,D as A}from"./video-Cw-h4YCz.js";const E={guide:e.jsx(F,{className:"h-5 w-5"}),webinar:e.jsx(P,{className:"h-5 w-5"}),whitepaper:e.jsx(w,{className:"h-5 w-5"}),regulation:e.jsx(T,{className:"h-5 w-5"})},M=()=>{const{t:c}=u(),a=c.resources,[t,i]=n.useState("all");n.useEffect(()=>{window.scrollTo(0,0)},[]),j(`Footprint Mappa: ${a.title}`,a.subtitle);const o=Object.keys(a.categories),d=t==="all"?a.items:a.items.filter(s=>s.type===t),x=s=>s==="webinar"?{label:a.watchCta,icon:e.jsx(H,{className:"h-4 w-4"})}:s==="guide"||s==="whitepaper"?{label:a.downloadCta,icon:e.jsx(A,{className:"h-4 w-4"})}:{label:a.readCta,icon:e.jsx(b,{className:"h-4 w-4"})};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(p,{}),e.jsx(h,{}),e.jsxs("main",{id:"main-content",children:[e.jsx("div",{className:"pt-16"}),e.jsx(v,{tagline:a.tagline,title:a.title,subtitle:a.subtitle}),e.jsx("section",{className:"py-16 md:py-24",children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs("div",{className:"flex flex-wrap justify-center gap-2 mb-10",children:[e.jsx(l,{variant:t==="all"?"default":"outline",size:"sm",onClick:()=>i("all"),children:a.filterAll}),o.map(s=>e.jsx(l,{variant:t===s?"default":"outline",size:"sm",onClick:()=>i(s),children:a.categories[s]},s))]}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:d.map((s,r)=>{const m=x(s.type);return e.jsx(f.div,{initial:{y:20},whileInView:{y:0},viewport:{once:!0},transition:{delay:r%3*.1},children:e.jsxs(C,{className:"h-full flex flex-col",children:[e.jsxs(y,{children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx("div",{className:"p-1.5 rounded bg-primary/10 text-primary",children:E[s.type]}),e.jsx(k,{variant:"secondary",className:"text-xs",children:a.categories[s.type]})]}),e.jsx(B,{className:"text-lg",children:s.title})]}),e.jsxs(S,{className:"flex-1 flex flex-col",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-6 flex-1",children:s.description}),e.jsxs(l,{variant:"outline",className:"w-full",disabled:!0,"aria-disabled":"true",children:[m.icon," ",a.comingSoon]})]})]})},r)})})]})}),e.jsx(g,{})]}),e.jsx(N,{})]})};export{M 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.