1import{j as e,L as a,c as o}from"./main-XOGYdBKJ.js";const n=o.filter(s=>s.id.split(".")[0]==="plugin"&&!s.deprecated).sort((s,t)=>{const l=typeof s.displayName=="object"?s.displayName.en:s.displayName,r=typeof t.displayName=="object"?t.displayName.en:t.displayName;return l.localeCompare(r)});function x(){return e.jsxs("main",{className:"bg-white text-slate-900",children:[e.jsx("section",{className:"border-b border-slate-200 bg-slate-50 px-6 py-16",children:e.jsxs("div",{className:"mx-auto max-w-6xl",children:[e.jsx("h1",{className:"text-3xl font-semibold tracking-tight md:text-4xl",children:"Plugins"}),e.jsx("p",{className:"mt-4 max-w-2xl text-lg text-slate-600",children:"Connect JSON, ICU, i18next, XLIFF, and other formats to the same inlang localization source of truth."}),e.jsx("div",{className:"mt-6",children:e.jsxs(a,{to:"/docs/$slug",params:{slug:"write-plugin"},className:"inline-flex items-center gap-2 rounded-lg bg-slate-900 px-4 py-2 text-sm font-medium text-white transition-colors hover:bg-slate-800",children:["Build your own plugin",e.jsx("svg",{xmlns:"http://www.w3.org/2000/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:"M5 12h14M12 5l7 7-7 7"})})]})})]})}),e.jsx("section",{className:"px-6 py-16",children:e.jsx("div",{className:"mx-auto max-w-6xl",children:e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:[n.map(s=>e.jsx(i,{item:s},s.id)),e.jsx(d,{})]})})})]})}function i({item:s}){const t=typeof s.displayName=="object"?s.displayName.en:s.displayName,l=typeof s.description=="object"?s.description.en:s.description,r=s.id.replaceAll(".","-");return e.jsxs(a,{to:"/m/$uid/$slug",params:{uid:s.uniqueID,slug:r},className:"group flex flex-col rounded-xl border border-slate-200 bg-white transition-all hover:border-slate-300 hover:shadow-md",children:[e.jsx("div",{className:"p-4 pb-0",children:s.icon?e.jsx("img",{src:s.icon,alt:t,className:"h-10 w-10 rounded-lg object-cover"}):e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-gradient-to-br from-slate-700 to-slate-900 text-lg font-semibold text-white",children:t[0]})}),e.jsxs("div",{className:"flex flex-1 flex-col p-4 pt-3",children:[e.jsx("h3",{className:"mb-2 text-[15px] font-bold text-slate-800 group-hover:text-slate-900",children:t}),e.jsx("p",{className:"line-clamp-2 flex-1 text-sm text-slate-500 group-hover:text-slate-600",children:l})]}),e.jsxs("div",{className:"flex items-center gap-2 border-t border-slate-100 px-4 py-3",children:[s.publisherIcon?e.jsx("img",{src:s.publisherIcon,alt:String(s.publisherName),className:"h-5 w-5 rounded-full object-cover"}):e.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-full bg-slate-200 text-[10px] font-semibold text-slate-600",children:String(s.publisherName)?.[0]||"?"}),e.jsx("span",{className:"text-sm text-slate-500",children:String(s.publisherName)})]})]})}function d(){return e.jsxs(a,{to:"/docs/$slug",params:{slug:"write-plugin"},className:"group flex flex-col items-center justify-center gap-4 roun
1ded-xl border border-dashed border-slate-300 bg-slate-50 p-8 text-center transition-all hover:border-slate-400 hover:bg-slate-100",children:[e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-slate-200 text-slate-600 transition-colors group-hover:bg-slate-300 group-hover:text-slate-700",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("path",{d:"M12 5v14M5 12h14"})})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-700 group-hover:text-slate-900",children:"Build your own"}),e.jsx("p",{className:"mt-1 text-sm text-slate-500",children:"Create and publish your plugin"})]})]})}export{x as component};
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.