1import{j as e,m as a}from"./vendor-motion-CnFAAAIE.js";import{u as t}from"./index-BNnIcVqH.js";import{A as s,c8 as i,Z as r,G as l,a3 as n,c9 as o,bP as d,a7 as c,an as x,b9 as m,bQ as p,bO as h,c4 as b,bb as g,z as u,aS as w,ca as y,cb as j,cc as v,aj as f,b7 as N,cd as k,aA as z,K as A,a6 as I}from"./vendor-icons-BMJDTczB.js";import{r as E}from"./vendor-react-BCghNb5z.js";function D(){const{tKey:n}=t(),o=e=>n(`resources.apiDoc.${e}`);return e.jsxs("section",{className:"relative bg-[#FAFAF8] dark:bg-[#08090E] transition-colors duration-300 overflow-hidden min-h-svh flex flex-col",children:[e.jsx("div",{className:"absolute inset-0 opacity-[0.025] dark:opacity-[0.035] pointer-events-none",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E\")",backgroundRepeat:"repeat",backgroundSize:"128px 128px"}}),e.jsx("div",{className:"absolute top-0 left-0 right-0 h-px",style:{background:"linear-gradient(90deg, transparent 0%, #06B6D4 40%, #8B5CF6 70%, transparent 100%)"}}),e.jsx("div",{className:"relative z-10 flex-1 flex items-center",children:e.jsx("div",{className:"w-full max-w-7xl mx-auto px-4 sm:px-8 lg:px-12 py-24",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_1fr] gap-10 xl:gap-16 items-center",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"mb-9 overflow-hidden",children:[e.jsx(a.p,{initial:{y:90,opacity:0},animate:{y:0,opacity:1},transition:{duration:.9,delay:.04,ease:[.22,1,.36,1]},className:"font-extrabold tracking-tighter leading-[0.85] text-gray-900 dark:text-white/95",style:{fontSize:"clamp(3.5rem, 8.5vw, 7.5rem)"},children:o("hero.headline1")}),e.jsx(a.p,{initial:{y:90,opacity:0},animate:{y:0,opacity:1},transition:{duration:.9,delay:.1,ease:[.22,1,.36,1]},className:"font-extrabold tracking-tighter leading-[0.85] pb-5 bg-linear-to-r from-violet-600 to-pink-500 dark:from-violet-400 dark:to-pink-400 bg-clip-text text-transparent",style:{fontSize:"clamp(3.5rem, 8.5vw, 7.5rem)"},children:o("hero.headline2")}),e.jsx(a.p,{initial:{y:90,opacity:0},animate:{y:0,opacity:1},transition:{duration:.9,delay:.16,ease:[.22,1,.36,1]},className:"font-extrabold tracking-tighter leading-[0.85] text-gray-500 dark:text-gray-400",style:{fontSize:"clamp(2rem, 5vw, 4.5rem)"},children:o("hero.headline3")})]}),e.jsx(a.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{duration:.5,delay:.24,ease:[.22,1,.36,1]},className:"origin-left h-px w-16 mb-8",style:{background:"linear-gradient(90deg, #06B6D4, transparent)"}}),e.jsx(a.p,{initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.65,delay:.28,ease:[.22,1,.36,1]},className:"text-lg leading-relaxed text-gray-500 dark:text-white/60 max-w-sm mb-10",children:o("hero.desc")}),e.jsxs(a.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6,delay:.32,ease:[.22,1,.36,1]},className:"flex flex-wrap gap-3 mb-12",children:[e.jsxs("a",{href:"#api-categories",className:"inline-flex items-center gap-2.5 px-7 py-3.5 rounded-xl font-bold text-sm text-white bg-linear-to-r from-violet-600 to-pink-500 transition-all duration-200 active:scale-[0.97] hover:brightness-110",style:{boxShadow:"0 8px 32px rgba(139,92,246,0.28)"},children:[o("hero.cta1"),e.jsx(s,{size:14})]}),e.jsx("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2.5 px-7 py-3.5 rounded-xl bg-slate-100 dark:bg-white/5 border border-slate-200 dark:border-white/10 text-slate-600 dark:text-white/65 font-bold text-sm hover:bg-slate-200 dark:hover:bg-white/9 hover:text-slate-900 dark:hover:text-white active:scale-[0.97] transition-all duration-200",children:o("hero.cta2")})]})]}),e.jsxs(a.div,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:1.1,delay:.08,ease:[.22,1,.36,1]},className:"hidden lg:flex items-center justify-center relative",style:{minHeight:"520px"},children:[e.jsx("div",{className:"absolute inset-0 rounded-[3rem] opacity-10 dark:opacity-20 blur-3xl pointer-events-none",style:{background:"radial-gradient(ellipse, #06B6D4 0%, #818CF8 55%, transparent 80%)"}}),e.jsxs("div",{className:"relative w-full max-w-md",style:{transform:"rotate(-2.5deg)",transformOrigin:"center center"},children:[e.jsxs("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl aspect-[4/5]",children:[e.jsx("img",{src:"https://images.unsplash.com/photo-1607706189992-eae578626c86?auto=format&fit=crop&w=700&h=875&q=80",alt:o("hero.imageAlt"),className:"w-full h-full object-cover",loading:"lazy",decoding:"async"}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-t from-slate-900/80 via-trans
1parent to-transparent"}),e.jsx("div",{className:"absolute bottom-6 left-6 right-6",children:e.jsxs("div",{className:"bg-black/60 backdrop-blur-md border border-white/15 rounded-2xl px-4 py-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(i,{size:12,className:"text-cyan-400"}),e.jsx("span",{className:"text-[10px] font-mono text-white/35 tracking-wide",children:"POST /v1/presentations"}),e.jsx("span",{className:"ml-auto text-[9px] font-bold text-emerald-400 bg-emerald-400/10 px-2 py-0.5 rounded-full",children:"201 OK"})]}),e.jsxs("div",{className:"font-mono text-[11px] text-white/55 leading-5",children:[e.jsx("span",{className:"text-cyan-300",children:'"id"'}),e.jsx("span",{className:"text-white/30",children:": "}),e.jsx("span",{className:"text-amber-300/80",children:'"pres_xk9m2v7r"'}),e.jsx("span",{className:"text-white/30",children:", "}),e.jsx("span",{className:"text-cyan-300",children:'"status"'}),e.jsx("span",{className:"text-white/30",children:": "}),e.jsx("span",{className:"text-emerald-400",children:'"processing"'})]})]})})]}),e.jsxs(a.div,{initial:{opacity:0,scale:.85,y:-10},animate:{opacity:1,scale:1,y:0},transition:{duration:.6,delay:.55,ease:[.22,1,.36,1]},className:"absolute -top-4 -right-6 flex items-center gap-2.5 px-4 py-2.5 rounded-2xl bg-white dark:bg-[#08090E] border border-slate-200 dark:border-white/12 shadow-xl",children:[e.jsx(r,{size:14,className:"text-amber-500 dark:text-amber-400"}),e.jsx("span",{className:"text-xs font-bold text-slate-700 dark:text-white/70",children:o("hero.webhookDelivered")}),e.jsx("span",{className:"w-2 h-2 rounded-full bg-emerald-400 animate-pulse"})]}),e.jsxs(a.div,{initial:{opacity:0,scale:.85,y:10},animate:{opacity:1,scale:1,y:0},transition:{duration:.6,delay:.65,ease:[.22,1,.36,1]},className:"absolute -bottom-4 -left-6 flex items-center gap-2.5 px-4 py-2.5 rounded-2xl bg-white dark:bg-[#08090E] border border-slate-200 dark:border-white/12 shadow-xl",children:[e.jsx(l,{size:14,className:"text-violet-500 dark:text-violet-400"}),e.jsx("span",{className:"text-xs font-bold text-slate-700 dark:text-white/70",children:o("hero.globalEdge")})]})]})]})]})})}),e.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-24 bg-linear-to-b from-transparent to-[#FAFAF8] dark:to-[#0B0912] pointer-events-none"})]})}function S({cat:t,index:s,capabilitiesLabel:i,useCasesLabel:r}){const[l,n]=E.useState(!1),o=t.icon;return e.jsxs(a.div,{initial:{opacity:0,y:28},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.65,delay:.08*s,ease:[.22,1,.36,1]},onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),style:{borderColor:l?`${t.accent}55`:void 0,transform:l?"scale(1.01)":"scale(1)",transition:"transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease",boxShadow:l?`0 8px 40px ${t.accent}18`:void 0},className:"group bg-white dark:bg-white/[0.03] border border-slate-200 dark:border-white/8 rounded-3xl p-7 flex flex-col",children:[e.jsxs("div",{className:"flex items-start justify-between mb-5",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center shrink-0 transition-transform duration-300 group-hover:scale-110",style:{background:`${t.accent}1F`},children:e.jsx(o,{size:22,style:{color:t.accent}})}),e.jsx("span",{className:"font-black tabular-nums text-slate-400 dark:text-white/30 select-none",style:{fontSize:"clamp(1.8rem, 4vw, 3rem)",lineHeight:1},children:t.number})]}),e.jsx("h3",{className:"font-black text-slate-900 dark:text-white text-lg leading-snug mb-5",children:t.name}),e.jsxs("div",{className:"mb-4",children:[e.jsx("p",{className:"mb-2.5 font-mono tracking-widest uppercase text-slate-500 dark:text-white/40",style:{fontSize:"10px"},children:i}),e.jsx("div",{className:"flex flex-wrap gap-1.5",children:t.capabilities.map(a=>e.jsxs("span",{className:"inline-flex items-center gap-1 text-xs text-slate-500 dark:text-white/50 font-medium",children:[e.jsx("span",{className:"w-1 h-1 rounded-full shrink-0",style:{background:t.accent}}),a]},a))})]}),e.jsx("div",{className:"h-px bg-slate-100 dark:bg-white/6 my-4"}),e.jsxs("div",{className:"mt-auto",children:[e.jsx("p",{className:"mb-2.5 font-mono tracking-widest uppercase text-slate-400 dark:text-white/25",style:{fontSize:"10px"},children:r}),e.jsx("ul",{className:"space-y-1.5",children:t.useCases.map(a=>e.jsx("li",{className:"text-sm text-slate-500 dark:text-white/50 leading-snug",children:a},a))})]})]})}const V=[n,o,d,c,x,m];function B(){const{tKey:s,tRaw:i}=t(),r=e=>s(`resources.apiDoc.${e}`),l=i("resources.apiDoc.categories.list"),o=(Array.isArray(l)?l:[]).map((e,a)=>({...e,icon:V[a]??n}));return e.jsx("section",{id:"api-categories",className:"transition-colors duration-300 overflow-hidden",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-8 lg:px-12 pt-24 pb-28",children:[e.jsxs("div",{className:"mb-14",children:[e.jsxs(a.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.7,delay:.06,ease:[.22,1,.36,1]},className:"font-extrabold tracking-tighter text-gray-900 dark:text-white leading-[0.92] mb-5",style:{fontSize:"clamp(2.2rem, 5vw, 4rem)"},children:[r("categories.heading1"),e.jsx("span",{className:"block h-2 sm:h-3"}),e.jsx("span",{className:"bg-linear-to-r from-violet-600 to-pink-500 dark:from-violet-400 dark:to-pink-400 bg-clip-text text-transparent",children:r("categories.heading2")})]}),e.jsx(a.p,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.65,delay:.1,ease:[.22,1,.36,1]},className:"text-base text-gray-500 dark:text-white/60 max-w-lg leading-relaxed",children:r("categories.desc")})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:o.map((a,t)=>e.jsx(S,{cat:a,index:t,capabilitiesLabel:r("categories.capabilitiesLabel"),useCasesLabel:r("categories.useCasesLabel")},a.number))})]})})}const C=[p,r,h,b,g,u];function F(){const{tKey:s,tRaw:i}=t(),r=e=>s(`resources.apiDoc.${e}`),l=i("resources.apiDoc.devExp.tiles"),n=(Array.isArray(l)?l:[]).map((e,a)=>({...e,icon:C[a]??p})),o=i("resources.apiDoc.devExp.securityPills"),d=Array.isArray(o)?o:[];return e.jsxs("section",{className:" transition-colors duration-300 overflow-hidden",children:[e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-8 lg:px-12 pt-24 pb-20",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-14 items-stretch",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsxs(a.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.7,delay:.06,ease:[.22,1,.36,1]},className:"font-extrabold tracking-tighter text-gray-900 dark:text-white leading-[0.92] mb-5",style:{fontSize:"clamp(2.2rem, 4.5vw, 3.8rem)"},children:[r("devExp.heading1"),e.jsx("br",{}),e.jsx("span",{className:"bg-linear-to-r from-violet-600 to-pink-500 dark:from-violet-400 dark:to-pink-400 bg-clip-text text-transparent",children:r("devExp.heading2")})]}),e.jsx(a.p,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.65,delay:.1,ease:[.22,1,.36,1]},className:"text-base text-gray-500 dark:text-white/60 max-w-sm leading-relaxed mb-10",children:r("devExp.desc")}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:n.map((t,s)=>{const i=t.icon;return e.jsxs(a.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.6,delay:.07*s,ease:[.22,1,.36,1]},className:"group bg-white dark:bg-white/3 border border-slate-200 dark:border-white/8 rounded-2xl p-5 hover:shadow-md dark:hover:bg-white/6 transition-all duration-300",children:[e.jsx("div",{className:"w-9 h-9 rounded-xl flex items-center justify-center mb-3 group-hover:scale-110 transition-transform duration-300",style:{background:`${t.accent}1A`},children:e.jsx(i,{size:18,style:{color:t.accent}})}),e.jsx("h3",{className:"font-bold text-slate-900 dark:text-white text-sm mb-1.5",children:t.title}),e.jsx("p",{className:"text-xs text-slate-500 dark:text-white/60 leading-relaxed",children:t.description})]},t.title)})})]}),e.jsxs(a.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.9,ease:[.22,1,.36,1]},className:"relative hidden lg:block min-h-96",children:[e.jsxs("div",{className:"absolute inset-0 rounded-3xl overflow-hidden",children:[e.jsx("img",{src:"https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=700&h=600&q=80",alt:r("devExp.imageAlt"),className:"w-full h-full object-cover",loading:"lazy",decoding:"async"}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-transparent via-trans
1parent to-slate-900/40 dark:to-[#0B0912]/60"})]}),e.jsxs(a.div,{initial:{opacity:0,y:-16,scale:.9},whileInView:{opacity:1,y:0,scale:1},viewport:{once:!0},transition:{duration:.6,delay:.35,ease:[.22,1,.36,1]},className:"absolute top-6 right-6 bg-white/90 dark:bg-[#0B0912]/90 backdrop-blur-md border border-slate-200 dark:border-white/10 rounded-2xl px-5 py-4 shadow-xl",children:[e.jsx("p",{className:"text-[10px] font-bold tracking-widest uppercase text-slate-400 dark:text-white/35 mb-1",children:r("devExp.responseTimeLabel")}),e.jsx("p",{className:"font-black text-2xl text-slate-900 dark:text-white tabular-nums",children:"<120ms"}),e.jsx("p",{className:"text-[10px] text-slate-400 dark:text-white/30 mt-0.5",children:r("devExp.avgLatency")})]}),e.jsxs(a.div,{initial:{opacity:0,y:16,scale:.9},whileInView:{opacity:1,y:0,scale:1},viewport:{once:!0},transition:{duration:.6,delay:.45,ease:[.22,1,.36,1]},className:"absolute bottom-6 left-6 bg-white/90 dark:bg-[#0B0912]/90 backdrop-blur-md border border-slate-200 dark:border-white/10 rounded-2xl px-5 py-4 shadow-xl",children:[e.jsx("p",{className:"text-[10px] font-bold tracking-widest uppercase text-slate-400 dark:text-white/35 mb-2",children:r("devExp.sdksAvailable")}),e.jsx("div",{className:"flex gap-2",children:["JS","Python","Go","Ruby"].map(a=>e.jsx("span",{className:"text-[10px] font-bold px-2 py-1 rounded-lg bg-cyan-50 dark:bg-cyan-500/10 text-cyan-700 dark:text-cyan-300 border border-cyan-200 dark:border-cyan-500/20",children:a},a))})]})]})]})}),e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:"https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1400&h=600&q=80",alt:r("devExp.securityImageAlt"),className:"w-full h-full object-cover",loading:"lazy",decoding:"async"}),e.jsx("div",{className:"absolute inset-0 bg-slate-900/88"})]}),e.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-8 lg:px-12 py-24",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-14 items-center",children:[e.jsxs("div",{children:[e.jsx("div",{className:"inline-flex items-center gap-2 mb-5"}),e.jsxs("h2",{className:"font-black tracking-tighter text-white leading-[0.92] mb-5",style:{fontSize:"clamp(1.8rem, 4vw, 3rem)"},children:[r("devExp.authHeading1"),e.jsx("span",{className:"block h-2 sm:h-3"}),e.jsx("span",{className:"bg-linear-to-r from-violet-400 to-pink-400 bg-clip-text text-transparent",children:r("devExp.authHeading2")})]}),e.jsx("p",{className:"text-base text-white/50 leading-relaxed mb-8 max-w-md",children:r("devExp.authDesc")}),e.jsx("div",{className:"flex flex-wrap gap-2",children:(d||[]).map((t,s)=>e.jsx(a.span,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0,margin:"-40px"},transition:{duration:.4,delay:.045*s,ease:[.22,1,.36,1]},className:"inline-flex items-center px-3 py-1 rounded-full bg-white/8 border border-white/12 text-xs text-white/65 font-medium hover:bg-white/14 hover:text-white/85 transition-all duration-200 cursor-default",children:t},t))})]}),e.jsxs(a.div,{initial:{opacity:0,x:24,scale:.97},whileInView:{opacity:1,x:0,scale:1},viewport:{once:!0,margin:"-40px"},transition:{duration:.85,ease:[.22,1,.36,1]},className:"bg-black/40 backdrop-blur-sm border border-white/12 rounded-2xl overflow-hidden",children:[e.jsxs("div",{className:"flex items-center gap-2 px-4 py-3 border-b border-white/8",children:[e.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-red-500/70"}),e.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-yellow-500/70"}),e.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-emerald-500/70"}),e.jsx("span",{className:"ml-3 text-[11px] font-mono text-white/25",children:"auth.config.ts"})]}),e.jsxs("div",{className:"px-6 py-6 font-mono text-sm leading-7 space-y-1",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-violet-400",children:"import"}),e.jsxs("span",{className:"text-white/40",children:[" ","{"," SlideOnAuth ","}"," "]}),e.jsx("span",{className:"text-violet-400",children:"from"}),e.jsx("span",{className:"text-amber-300",children:" '@slideon/sdk'"})]}),e.jsx("div",{className:"mt-3",children:e.jsx("span",{className:"text-white/25",children:"// Initialize with OAuth 2.0"})}),e.jsxs("div",{children:[e.jsx("span",{className:"text-cyan-300",children:"const"}),e.jsx("span",{className:"text-white/60",children:" auth "}),e.jsx("span",{className:"text-white/40",children:"= "}),e.jsx("span",{className:"text-emerald-400",children:"new"}),e.jsx("span",{className:"text-cyan-300",children:" SlideOnAuth"}),e.jsx("span",{className:"text-white/40",children:"({"})]}),e.jsxs("div",{className:"pl-5",children:[e.jsx("span",{className:"text-cyan-300",children:'"clientId"'}),e.jsx("span",{className:"text-white/40",children:": "}),e.jsx("span",{className:"text-amber-300",children:"process.env.CLIENT_ID"}),e.jsx("span",{className:"text-white/40",children:","})]}),e.jsxs("div",{className:"pl-5",children:[e.jsx("span",{className:"text-cyan-300",children:'"scopes"'}),e.jsx("span",{className:"text-white/40",children:": ["}),e.jsx("span",{className:"text-amber-300",children:'"read"'}),e.jsx("span",{className:"text-white/40",children:", "}),e.jsx("span",{className:"text-amber-300",children:'"write"'}),e.jsx("span",{className:"text-white/40",children:"],"})]}),e.jsxs("div",{className:"pl-5",children:[e.jsx("span",{className:"text-cyan-300",children:'"auditLog"'}),e.jsx("span",{className:"text-white/40",children:": "}),e.jsx("span",{className:"text-emerald-400",children:"true"})]}),e.jsx("div",{children:e.jsxs("span",{className:"text-white/40",children:["})",";"]})}),e.jsxs("div",{className:"mt-3 pt-3 border-t border-white/8 flex items-center gap-2",children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-emerald-400 animate-pulse shrink-0"}),e.jsx("span",{className:"text-[11px] text-emerald-400/70",children:r("devExp.authenticated")})]})]})]})]})})]})]})}const L=[w,y,j,v];function $(){const{tKey:s,tRaw:i}=t(),r=e=>s(`resources.apiDoc.${e}`),l=i("resources.apiDoc.enterprise.features"),n=Array.isArray(l)?l:[],o=i("resources.apiDoc.enterprise.rateLimits"),d=(Array.isArray(o)?o:[]).map((e,a)=>({...e,icon:L[a]??w})),c=i("resources.apiDoc.enterprise.abuseItems"),x=Array.isArray(c)?c:[];return e.jsxs("section",{className:" transition-colors duration-300 overflow-hidden",children:[e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-8 lg:px-12 pt-24 pb-12",children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-start mb-8",children:[e.jsxs(a.div,{initial:{opacity:0,x:-24},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.8,ease:[.22,1,.36,1]},children:[e.jsxs("h2",{className:"font-extrabold tracking-tighter text-gray-900 dark:text-white leading-[0.92] mb-5",style:{fontSize:"clamp(2rem, 4.5vw, 3.5rem)"},children:[r("enterprise.heading1"),e.jsx("span",{className:"block h-2 sm:h-3"}),e.jsx("span",{className:"bg-linear-to-r from-violet-600 to-pink-500 dark:from-violet-400 dark:to-pink-400 bg-clip-text text-transparent",children:r("enterprise.heading2")})]}),e.jsx("p",{className:"text-base text-gray-500 dark:text-white/60 leading-relaxed mb-9 max-w-md",children:r("enterprise.desc")}),e.jsx("div",{className:"flex flex-wrap gap-2",children:(n||[]).map((t,s)=>e.jsxs(a.span,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.4,delay:.05*s,ease:[.22,1,.36,1]},className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-white dark:bg-white/5 border border-slate-200 dark:border-white/10 text-xs font-semibold text-slate-600 dar
1k:text-white/55 hover:border-violet-300 dark:hover:border-violet-500/30 hover:text-violet-700 dark:hover:text-violet-300 transition-all duration-200 cursor-default",children:[e.jsx(f,{size:11,className:"text-violet-500 dark:text-violet-400 shrink-0"}),t]},t))})]}),e.jsxs(a.div,{initial:{opacity:0,x:24,scale:.97},whileInView:{opacity:1,x:0,scale:1},viewport:{once:!0,margin:"-40px"},transition:{duration:.85,delay:.08,ease:[.22,1,.36,1]},className:"bg-white dark:bg-white/3 border border-slate-200 dark:border-white/8 rounded-3xl p-8",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-7",children:[e.jsx("div",{className:"w-9 h-9 rounded-xl bg-amber-100 dark:bg-amber-500/10 flex items-center justify-center",children:e.jsx(y,{size:18,className:"text-amber-500"})}),e.jsx("h3",{className:"font-black text-slate-900 dark:text-white text-lg",children:r("enterprise.rateLimitsHeading")})]}),e.jsx("div",{className:"space-y-4",children:d.map((t,s)=>{const i=t.icon;return e.jsxs(a.div,{initial:{opacity:0,x:16},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.5,delay:.1+.08*s,ease:[.22,1,.36,1]},className:"flex items-start gap-4 p-4 rounded-2xl bg-slate-50 dark:bg-white/2 border border-slate-100 dark:border-white/5 hover:border-slate-200 dark:hover:border-white/10 transition-all duration-200",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg bg-slate-100 dark:bg-white/5 flex items-center justify-center shrink-0",children:e.jsx(i,{size:15,className:"text-slate-500 dark:text-white/40"})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-bold text-slate-800 dark:text-white text-sm mb-0.5",children:t.title}),e.jsx("p",{className:"text-xs text-slate-500 dark:text-white/35 leading-relaxed",children:t.description})]})]},t.title)})}),e.jsx("p",{className:"mt-6 text-[11px] text-slate-400 dark:text-white/25 leading-relaxed border-t border-slate-100 dark:border-white/6 pt-4",children:r("enterprise.rateLimitsNote")})]})]}),e.jsx(a.div,{initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.65,delay:.12},className:"rounded-3xl border border-amber-200/70 dark:border-amber-800/30 bg-gradient-to-br from-amber-50 via-white to-amber-50 dark:from-amber-950/20 dark:via-transparent dark:to-amber-950/10 p-8",children:e.jsxs("div",{className:"flex items-start gap-5",children:[e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-amber-100 dark:bg-amber-900/30 shrink-0",children:e.jsx(N,{size:20,className:"text-amber-600 dark:text-amber-400"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("span",{className:"text-[11px] uppercase tracking-[0.22em] text-amber-600 dark:text-amber-400 font-semibold",children:r("enterprise.abuseBadge")}),e.jsx("h3",{className:"mt-2 text-xl font-bold text-slate-900 dark:text-white",children:r("enterprise.abuseHeading")}),e.jsx("p",{className:"mt-3 max-w-3xl text-sm leading-7 text-slate-600 dark:text-slate-400",children:r("enterprise.abuseDesc")}),e.jsx("div",{className:"mt-6 grid gap-3 sm:grid-cols-2",children:(x||[]).map((a,t)=>e.jsxs("div",{className:"rounded-xl border border-slate-200 dark:border-white/10 bg-white/70 dark:bg-white/5 p-4",children:[e.jsx("p",{className:"font-semibold text-slate-900 dark:text-white",children:a.title}),e.jsx("p",{className:"mt-1 text-sm text-slate-500 dark:text-slate-400",children:a.desc})]},t))})]})]})})]}),e.jsx("div",{className:"pb-16"})]})}const q=[z,A,I],O=["#06B6D4","#8B5CF6","#10B981"];function H(){const{tKey:i,tRaw:r}=t(),l=e=>i(`resources.apiDoc.${e}`),n=(()=>{const e=r("resources.apiDoc.support.tiers"),a=["https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?auto=format&fit=crop&w=600&h=400&q=80","https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=600&h=400&q=80","https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=600&h=400&q=80"],t=["#06B6D4","#8B5CF6","#10B981"],s=[u,k,c];return(Array.isArray(e)?e:[]).map((e,i)=>({...e,photo:a[i],accent:t[i],icon:s[i]}))})(),o=r("resources.apiDoc.support.contacts"),d=(Array.isArray(o)?o:[]).map((e,a)=>({...e,icon:q[a]??z,accent:O[a]??"#06B6D4"})),x=r("resources.apiDoc.support.actionLinks"),m=Array.isArray(x)?x:[];return e.jsxs("section",{className:" transition-colors duration-300 overflow-hidden",children:[e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-8 lg:px-12 pt-24 pb-12",children:[e.jsxs("div",{className:"flex flex-col gap-4 mb-14",children:[e.jsxs(a.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.7,delay:.06,ease:[.22,1,.36,1]},className:"font-extrabold tracking-tighter text-gray-900 dark:text-white leading-[0.92] mb-5",style:{fontSize:"clamp(2.2rem, 4.5vw, 3.8rem)"},children:[l("support.heading1"),e.jsx("span",{className:"block h-2 sm:h-3"}),e.jsx("span",{className:"bg-linear-to-r from-violet-600 to-pink-500 dark:from-violet-400 dark:to-pink-400 bg-clip-text text-transparent",children:l("support.heading2")})]}),e.jsx(a.p,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.65,delay:.1,ease:[.22,1,.36,1]},className:"text-base text-gray-500 dark:text-white/60 max-w-xs leading-relaxed text-left mx-0",children:l("support.desc")})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5",children:n.map((t,s)=>{const i=t.icon;return e.jsxs(a.div,{initial:{opacity:0,y:28},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.65,delay:.1*s,ease:[.22,1,.36,1]},className:"group relative rounded-3xl overflow-hidden bg-white dark:bg-white/3 border border-slate-200 dark:border-white/8 hover:shadow-xl transition-all duration-500",children:[e.jsxs("div",{className:"relative h-44 overflow-hidden",children:[e.jsx("img",{src:t.photo,alt:t.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700",loading:"lazy",decoding:"async"}),e.jsx("div",{className:"absolute inset-0",style:{background:`linear-gradient(to bottom, ${t.accent}30 0%, transparent 60%, rgba(0,0,0,0.3) 100%)`}}),e.jsx("div",{className:"absolute top-4 right-4",children:e.jsx("span",{className:"font-black text-white/90 tabular-nums",style:{fontSize:"2rem",lineHeight:1,textShadow:"0 2px 12px rgba(0,0,0,0.5)"},children:t.number})})]}),e.jsxs("div",{className:"p-6",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center mb-4",style:{background:`${t.accent}1A`},children:e.jsx(i,{size:19,style:{color:t.accent}})}),e.jsx("h3",{className:"font-black text-slate-900 dark:text-white text-lg mb-4",children:t.title}),e.jsx("ul",{className:"space-y-2",children:t.items.map(a=>e.jsxs("li",{className:"flex items-center gap-2.5 text-sm text-slate-500 dark:text-white/40",children:[e.jsx("span",{className:"w-1.5 h-1.5 rounded-full shrink-0",style:{background:t.accent,opacity:.6}}),a]},a))})]})]},t.number)})})]}
1),e.jsx("div",{className:" border-y border-slate-100 dark:border-white/6 transition-colors duration-300",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-8 lg:px-12 pt-0 pb-16",children:[e.jsx("p",{className:"text-xs font-bold tracking-widest uppercase text-slate-400 dark:text-white/25 mb-8",children:l("support.getInTouch")}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:d.map((t,s)=>{const i=t.icon;return e.jsxs(a.a,{href:`mailto:${t.email}`,initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.6,delay:.08*s,ease:[.22,1,.36,1]},className:"group block bg-white dark:bg-white/3 border border-slate-200 dark:border-white/8 rounded-2xl p-6 hover:shadow-lg hover:-translate-y-1 transition-all duration-300",children:[e.jsx("div",{className:"w-11 h-11 rounded-2xl flex items-center justify-center mb-5 group-hover:scale-110 transition-transform duration-300",style:{background:`${t.accent}15`},children:e.jsx(i,{size:21,style:{color:t.accent}})}),e.jsx("h4",{className:"font-black text-slate-900 dark:text-white mb-1.5",children:t.title}),e.jsx("p",{className:"text-xs text-slate-500 dark:text-white/35 leading-relaxed mb-4",children:t.desc}),e.jsx("p",{className:"text-xs font-semibold break-all",style:{color:t.accent},children:t.email})]},t.title)})})]})}),e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:"https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=1400&h=700&q=80",alt:l("support.imageAlt"),className:"w-full h-full object-cover",loading:"lazy",decoding:"async"}),e.jsx("div",{className:"absolute inset-0 bg-slate-950/80"})]}),e.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-8 lg:px-12 py-28",children:e.jsxs(a.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.75,ease:[.22,1,.36,1]},className:"max-w-2xl",children:[e.jsxs("h2",{className:"font-extrabold tracking-tighter text-white leading-tight mb-5",style:{fontSize:"clamp(2.2rem, 5vw, 4rem)"},children:[l("support.startBuilding1"),e.jsx("br",{}),e.jsx("span",{className:"bg-linear-to-r from-violet-400 to-pink-400 bg-clip-text text-transparent",children:l("support.startBuilding2")})]}),e.jsx("p",{className:"text-base text-white/60 leading-relaxed mb-10 max-w-md",children:l("support.startBuildingDesc")}),e.jsx("div",{className:"flex flex-wrap gap-3 mb-14",children:(m||[]).map((t,i)=>e.jsxs(a.a,{href:"#api-categories",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.45,delay:.1+.06*i,ease:[.22,1,.36,1]},className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full border border-white/14 text-sm font-semibold text-white/55 hover:border-cyan-500/50 hover:text-cyan-300 hover:bg-cyan-500/8 active:scale-[0.97] transition-all duration-200",children:[t,e.jsx(s,{size:13})]},t))}),e.jsx("p",{className:"text-[11px] text-slate-500 dark:text-white/50 max-w-2xl leading-relaxed border-t border-slate-200 dark:border-white/30 pt-6",children:l("support.legal")})]})})]})]})}function K(){return e.jsxs("div",{className:"overflow-hidden bg-[#FAFAF8] dark:bg-[#0B0912]",children:[e.jsx(D,{}),e.jsx(B,{}),e.jsx(F,{}),e.jsx($,{}),e.jsx(H,{})]})}export{K 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.