%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/ai.rezakurnia.com/assets/
Upload File :
Create Path :
Current File : //home2/rezakur1/ai.rezakurnia.com/assets/AuthShell-CDBzzTg9.js

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Auth3DScene-FERonhjv.js","assets/index-DUZ8nGC1.js","assets/index-BO3jbumw.css","assets/with-selector-SJ4w_Hbr.js"])))=>i.map(i=>d[i]);
import{r as s,c,j as e,P as o,L as x,_ as m}from"./index-DUZ8nGC1.js";import{B as h}from"./Button-DiZn_29O.js";function g(){const[r,t]=s.useState(!1),[l,a]=s.useState(!1);s.useEffect(()=>{let i=!1;return c("/auth/google/config").then(d=>{i||t(d.enabled)}).catch(()=>{i||t(!1)}),()=>{i=!0}},[]);const n=s.useCallback(async()=>{if(!l){a(!0);try{const i=await c("/auth/google/url");window.location.assign(i.url)}catch{a(!1)}}},[l]);return r?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"h-px flex-1 bg-white/[0.08]"}),e.jsx("span",{className:"text-xs text-slate-500",children:"atau"}),e.jsx("span",{className:"h-px flex-1 bg-white/[0.08]"})]}),e.jsxs(h,{type:"button",variant:"ghost",size:"lg",className:"w-full",onClick:n,disabled:l,children:[e.jsxs("svg",{viewBox:"0 0 24 24",className:"h-4 w-4","aria-hidden":"true",children:[e.jsx("path",{fill:"#4285F4",d:"M23.49 12.27c0-.79-.07-1.54-.19-2.27H12v4.51h6.47c-.29 1.48-1.14 2.73-2.4 3.58v3h3.86c2.26-2.09 3.56-5.17 3.56-8.82z"}),e.jsx("path",{fill:"#34A853",d:"M12 24c3.24 0 5.95-1.08 7.93-2.91l-3.86-3c-1.08.72-2.45 1.16-4.07 1.16-3.13 0-5.78-2.11-6.73-4.96H1.29v3.09C3.26 21.3 7.31 24 12 24z"}),e.jsx("path",{fill:"#FBBC05",d:"M5.27 14.29c-.25-.72-.38-1.49-.38-2.29s.14-1.57.38-2.29V6.62H1.29C.47 8.24 0 10.06 0 12s.47 3.76 1.29 5.38l3.98-3.09z"}),e.jsx("path",{fill:"#EA4335",d:"M12 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C17.95 1.19 15.24 0 12 0 7.31 0 3.26 2.7 1.29 6.62l3.98 3.09C6.22 6.86 8.87 4.75 12 4.75z"})]}),"Lanjutkan dengan Google"]})]}):null}const u=s.lazy(()=>m(()=>import("./Auth3DScene-FERonhjv.js"),__vite__mapDeps([0,1,2,3]))),p=[{icon:e.jsx("path",{d:"M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 00-2.456 2.456z"}),label:"Model AI siap pakai"},{icon:e.jsx("path",{d:"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 013 19.875v-6.75zM9.75 9.75c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v10.125c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V9.75zM16.5 6v0c0-.621.504-1.125 1.125-1.125h2.25C20.496 4.875 21 5.379 21 6v12.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V6z"}),label:"Analitik real-time"},{icon:e.jsx("path",{d:"M21 12a2.25 2.25 0 00-2.25-2.25H15a3 3 0 11-6 0H5.25A2.25 2.25 0 003 12m18 0v6a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 18v-6m18 0V9M3 12V9m18 0a2.25 2.25 0 00-2.25-2.25H5.25A2.25 2.25 0 003 9m18 0V6a2.25 2.25 0 00-2.25-2.25H5.25A2.25 2.25 0 003 6v3"}),label:"Top up QRIS instan"},{icon:e.jsx("path",{d:"M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z"}),label:"Keamanan enterprise"}],b=[{value:"99.9%",label:"Uptime"},{value:"100+",label:"Model AI"},{value:"24/7",label:"Pemantauan"}];function v({children:r}){const[t,l]=s.useState(!1);return s.useEffect(()=>{const a=requestAnimationFrame(()=>l(!0));return()=>cancelAnimationFrame(a)},[]),e.jsxs("div",{className:"auth-backdrop min-h-screen",children:[e.jsxs("div",{className:"pointer-events-none fixed inset-0 -z-10",children:[e.jsx("div",{className:"absolute inset-0 bg-pattern"}),e.jsx("div",{className:"absolute inset-0 bg-grain opacity-[0.02]"}),e.jsx(s.Suspense,{fallback:null,children:e.jsx(u,{})}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-ink/85 via-ink/20 to-ink/50"})]}),e.jsxs("div",{className:"lg:grid lg:grid-cols-2",children:[e.jsx("div",{className:"relative hidden lg:flex lg:min-h-screen",children:e.jsxs("div",{className:`relative z-10 flex flex-col justify-center px-12 xl:px-16 transition-all duration-1000 ${t?"translate-y-0 opacity-100":"translate-y-4 opacity-0"}`,children:[e.jsxs("span",{className:"inline-flex w-fit items-center gap-2 rounded-full border border-brand-400/25 bg-brand-500/10 px-3.5 py-1.5 text-[11px] font-semibold uppercase tracking-widest text-brand-300",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-brand-400"}),"AI Gateway"]}),e.jsxs("h1",{className:"mt-6 text-4xl font-bold leading-tight tracking-tight text-white xl:text-5xl",children:["Kekuatan AI,"," ",e.jsx("span",{className:"bg-gradient-to-r from-brand-300 to-sky-400 bg-clip-text text-transparent",children:"satu gateway."})]}),e.jsxs("p",{className:"mt-5 max-w-md text-base leading-relaxed text-slate-400",children:["Kelola API key, pantau pemakaian, dan bayar sesuai kebutuhan —"," ",e.jsx("span",{className:"text-slate-200",children:"semua dari satu dashboard."})]}),e.jsx("ul",{className:"mt-9 space-y-3.5",children:p.map((a,n)=>e.jsxs("li",{className:`flex items-center gap-3 transition-all duration-700 ${t?"translate-x-0 opacity-100":"-translate-x-3 opacity-0"}`,style:{transitionDelay:`${200+n*90}ms`},children:[e.jsx("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-white/[0.07] bg-white/[0.03] text-brand-300",children:e.jsx("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.7,children:a.icon})}),e.jsx("span",{className:"text-sm font-medium text-slate-300",children:a.label})]},a.label))}),e.jsx("div",{className:"mt-10 flex gap-3",children:b.map((a,n)=>e.jsxs("div",{className:`rounded-xl border border-white/[0.08] bg-white/[0.04] px-4 py-3 backdrop-blur-sm transition-all duration-700 hover:border-brand-400/30 hover:bg-white/[0.06] ${t?"translate-y-0 opacity-100":"translate-y-4 opacity-0"}`,style:{transitionDelay:`${500+n*120}ms`},children:[e.jsx("p",{className:"text-base font-bold tabular-nums text-white",children:a.value}),e.jsx("p",{className:"text-[10px] font-medium uppercase tracking-wider text-slate-500",children:a.label})]},a.label))})]})}),e.jsx("div",{className:"flex min-h-screen items-center justify-center px-4 py-10",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsx("div",{className:"animate-scale-in panel-strong",children:r}),e.jsx("div",{className:"mt-6 flex justify-center",children:e.jsx(o,{})}),e.jsx("p",{className:"mt-4 text-center text-[11px] text-slate-600",children:e.jsx(x,{to:"/privacy",className:"transition hover:text-slate-400",children:"Kebijakan Privasi"})})]})})]})]})}export{v as A,g as G};

Zerion Mini Shell 1.0