PageSourceSearch

https://kopern.ai/_next/static/chunks/32ab660b0c20238a.js?dpl=dpl_5Fg45TmRWFQkKW9jZ15jgdRrEv9E

js kopern.ai collected 2026-10-05 12:24:10 UTC 33,120 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,643531,e=>{"use strict";var t=e.i(678745);e.s(["Check",()=>t.default])},618566,(e,t,r)=>{t.exports=e.r(976562)},807088,e=>{"use strict";var t=e.i(618566),r=e.i(874394),a=e.i(271645);function s(){let e=(0,t.useRouter)(),s=(0,r.useLocale)(),i=(0,a.useCallback)(t=>{e.push(`/${s}${t}`)},[e,s]),n=(0,a.useCallback)(t=>{e.replace(`/${s}${t}`)},[e,s]),o=(0,a.useCallback)(()=>{e.back()},[e]);return(0,a.useMemo)(()=>({push:i,replace:n,back:o,locale:s}),[i,n,o,s])}e.s(["useLocalizedRouter",()=>s])},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);function a({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,r.cn)("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",e),...a})}function s({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...a})}function i({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("leading-none font-semibold",e),...a})}function n({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})}function o({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-6",e),...a})}e.s(["Card",()=>a,"CardContent",()=>o,"CardDescription",()=>n,"CardHeader",()=>s,"CardTitle",()=>i])},184073,e=>{"use strict";var t=e.i(843476),r=e.i(846932);function a({children:e,delay:a=0,duration:s=.4,offset:i=20,...n}){return(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:i},animate:{opacity:1,y:0},exit:{opacity:0,y:i},transition:{duration:s,delay:a},...n,children:e})}e.s(["SlideUp",()=>a])},815062,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(920636);let s=(0,r.createContext)({user:null,loading:!0});function i({children:e}){let[i,n]=(0,r.useState)(null),[o,l]=(0,r.useState)(!0);return(0,r.useEffect)(()=>(0,a.onAuthChanged)(e=>{n(e),l(!1)}),[]),(0,t.jsx)(s.Provider,{value:{user:i,loading:o},children:e})}function n(){return(0,r.useContext)(s)}e.s(["AuthProvider",()=>i,"useAuthContext",()=>n])},754338,e=>{"use strict";var t=e.i(815062);function r(){return(0,t.useAuthContext)()}e.s(["useAuth",()=>r])},835147,e=>{"use strict";var t=e.i(843476),r=e.i(846932);function a({children:e,staggerDelay:a=.1,...s}){return(0,t.jsx)(r.motion.div,{variants:{hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:a}}},initial:"hidden",animate:"show",...s,children:e})}e.s(["StaggerChildren",()=>a,"staggerItem",0,{hidden:{opacity:0,y:20},show:{opacity:1,y:0}}])},878894,e=>{"use strict";var t=e.i(582458);e.s(["AlertTriangle",()=>t.default])},772436,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(248425),s="horizontal",i=["horizontal","vertical"],n=r.forwardRef((e,r)=>{var n;let{decorative:o,orientation:l=s,...c}=e,d=(n=l,i.includes(n))?l:s;return(0,t.jsx)(a.Primitive.div,{"data-orientation":d,...o?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...c,ref:r})});n.displayName="Separator",e.s(["Root",()=>n,"Separator",()=>n],886392);var o=e.i(886392),o=o,l=e.i(975157);function c({className:e,orientation:r="horizontal",decorative:a=!0,...s}){return(0,t.jsx)(o.Root,{"data-slot":"separator",decorative:a,orientation:r,className:(0,l.cn)("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...s})}e.s(["Separator",()=>c],772436)},246349,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",()=>t])},834161,e=>{"use strict";let t=(0,e.i(475254).default)("key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);e.s(["Key",()=>t],834161)},842727,e=>{"use strict";var t=e.i(271645),r=e.i(981140),a=e.i(75830),s=e.i(820783),i=e.i(30030),n=e.i(610772),o=e.i(248425),l=e.i(30207),c=e.i(369340),d=e.i(586318),u=e.i(843476),p="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[x,h,f]=(0,a.createCollection)(g),[y,v]=(0,i.createContextScope)(g,[f]),[k,j]=y(g),b=t.forwardRef((e,t)=>
1(0,u.jsx)(x.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(x.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(w,{...e,ref:t})})}));b.displayName=g;var w=t.forwardRef((e,a)=>{let{__scopeRovingFocusGroup:i,orientation:n,loop:x=!1,dir:f,currentTabStopId:y,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:j,onEntryFocus:b,preventScrollOnEntryFocus:w=!1,...N}=e,C=t.useRef(null),D=(0,s.useComposedRefs)(a,C),P=(0,d.useDirection)(f),[A,M]=(0,c.useControllableState)({prop:y,defaultProp:v??null,onChange:j,caller:g}),[S,I]=t.useState(!1),T=(0,l.useCallbackRef)(b),F=h(i),E=t.useRef(!1),[z,H]=t.useState(0);return t.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(p,T),()=>e.removeEventListener(p,T)},[T]),(0,u.jsx)(k,{scope:i,orientation:n,dir:P,loop:x,currentTabStopId:A,onItemFocus:t.useCallback(e=>M(e),[M]),onItemShiftTab:t.useCallback(()=>I(!0),[]),onFocusableItemAdd:t.useCallback(()=>H(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>H(e=>e-1),[]),children:(0,u.jsx)(o.Primitive.div,{tabIndex:S||0===z?-1:0,"data-orientation":n,...N,ref:D,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{E.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!E.current;if(e.target===e.currentTarget&&t&&!S){let t=new CustomEvent(p,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=F().filter(e=>e.focusable);R([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),w)}}E.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>I(!1))})})}),N="RovingFocusGroupItem",C=t.forwardRef((e,a)=>{let{__scopeRovingFocusGroup:s,focusable:i=!0,active:l=!1,tabStopId:c,children:d,...p}=e,m=(0,n.useId)(),g=c||m,f=j(N,s),y=f.currentTabStopId===g,v=h(s),{onFocusableItemAdd:k,onFocusableItemRemove:b,currentTabStopId:w}=f;return t.useEffect(()=>{if(i)return k(),()=>b()},[i,k,b]),(0,u.jsx)(x.ItemSlot,{scope:s,id:g,focusable:i,active:l,children:(0,u.jsx)(o.Primitive.span,{tabIndex:y?0:-1,"data-orientation":f.orientation,...p,ref:a,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{i?f.onItemFocus(g):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>f.onItemFocus(g)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void f.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var a;let s=(a=e.key,"rtl"!==r?a:"ArrowLeft"===a?"ArrowRight":"ArrowRight"===a?"ArrowLeft":a);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(s))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(s)))return D[s]}(e,f.orientation,f.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let s=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)s.reverse();else if("prev"===t||"next"===t){var r,a;"prev"===t&&s.reverse();let i=s.indexOf(e.currentTarget);s=f.loop?(r=s,a=i+1,r.map((e,t)=>r[(a+t)%r.length])):s.slice(i+1)}setTimeout(()=>R(s))}}),children:"function"==typeof d?d({isCurrentTabStop:y,hasTabStop:null!=w}):d})})});C.displayName=N;var D={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function R(e,t=!1){let r=document.activeElement;for(let a of e)if(a===r||(a.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",()=>C,"Root",()=>b,"createRovingFocusGroupScope",()=>v])},710289,e=>{"use strict";let t=(0,e.i(475254).default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);e.s(["Bug",()=>t],710289)},283086,e=>{"use strict";let t=(0,e.i(475254).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 
11.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",()=>t],283086)},39312,e=>{"use strict";let t=(0,e.i(475254).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",()=>t],39312)},728480,35956,e=>{"use strict";var t=e.i(475254);let r=(0,t.default)("arrow-down-to-line",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]);e.s(["ArrowDownToLine",()=>r],728480);let a=(0,t.default)("arrow-up-from-line",[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]]);e.s(["ArrowUpFromLine",()=>a],35956)},354385,e=>{"use strict";let t=(0,e.i(475254).default)("clipboard-check",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);e.s(["ClipboardCheck",()=>t],354385)},492161,e=>{"use strict";let t=(0,e.i(475254).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",()=>t],492161)},618393,e=>{"use strict";let t=(0,e.i(475254).default)("server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);e.s(["Server",()=>t],618393)},260289,e=>{"use strict";let t=(0,e.i(475254).default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);e.s(["LayoutDashboard",()=>t],260289)},952571,e=>{"use strict";var t=e.i(879664);e.s(["Info",()=>t.default])},810980,e=>{"use strict";let t=(0,e.i(475254).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",()=>t],810980)},239616,e=>{"use strict";let t=(0,e.i(475254).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Settings",()=>t],239616)},21218,e=>{"use strict";let t=(0,e.i(475254).default)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);e.s(["Activity",()=>t],21218)},212426,e=>{"use strict";let t=(0,e.i(475254).default)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);e.s(["DollarSign",()=>t],212426)},561659,e=>{"use strict";let t=(0,e.i(475254).default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);e.s(["CreditCard",()=>t],561659)},531278,e=>{"use strict";var t=e.i(717521);e.s(["Loader2",()=>t.default])},595468,e=>{"use strict";var t=e.i(123287);e.s(["CheckCircle2",()=>t.default])},841947,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",()=>t])},776639,995926,964053,e=>{"use strict";var t=e.i(843476),r=e.i(841947);e.s(["XIcon",()=>r.default],995926);var r=r,a=e.i(271645),s=e.i(981140),i=e.i(820783),n=e.i(30030),o=e.i(610772),l=e.i(369340),c=e.i(726330),d=e.i(765491),u=e.i(774606),p=e.i(296626),m=e.i(248425),g=e.i(303536),x=e.i(985369),h=e.i(186312),f=e.i(991918),y="Dialog",[v,k]=(0,n.createContextScope)(y),[j,b]=v(y),w=e=>{let{__scopeDialog:r,children:s,open:i,defaultOpen:n,onOpenChange:c,modal:d=!0}=e,u=a.useRef(null),p=a.useRef(null),[m,g]=(0,l.useControllableState)({prop:i,defaultProp:n??!1,onChange:c,caller:y});return(0,t.jsx)(j,{scope:r,triggerRef:u,contentRef:p,contentId:(0,o.useId)(),titleId:(0,o.useId)(),descriptionId:(0,o.useId)(),open:m,onOpenChange:g,onOpenToggle:a.useCallback(()=>g(e=>!e),[g]),modal:d,children:s})};w.displayName=y;var N="DialogTrigger",C=a.forwardRef((e,r)=>{let{__scopeDialog:a,...n}=e,o=b(N,a),l=(0,i.useComposedRefs)(r,o.triggerRef);return(0,t.jsx)(m.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":K(o.open),...n,ref:l,onClick:(0,s.composeEventHandlers)(e.onClick,o.onOpenToggle)})});C.displayName=N;var D="DialogPortal",[R,P]=v(D,{forceMount:void 0}),A=e=>{let{__scopeDialog:r,forceMount:s,children:i,container:n}=e,o=b(D,r);return(0,t.jsx)(R,{scope:r,forceMount:s,children:a.Children.map(i,e=>(0,t.jsx)(p.Presence,{present:s||o.open,children:(0,t.jsx)(u.Portal,{asChild:!0,container:n,children:e})}))})};A.displayName=D;var M="DialogOverlay",S=a.forwardRef((e,r)=>{let a=P(M,e.__scopeDialog),{forceMount:s=a.forceMount,...i}=e,n=b(M,e.__scopeDialog);return n.modal?(0,t.jsx)(p.Presence,{present:s||n.open,children:(0,t.jsx)(T,{...i,ref:r})}):null});S.displayName=M;var I=(0,f.createSlot)("DialogOverlay.RemoveScroll"),T=a.forwardRef((e,r)=>{let{__scopeDialog:a,...s}=e,i=b(M,a);return(0,t.jsx)(x.RemoveScroll,{as:I,allowPinchZoom:!0,shards:[i.contentRef],children:(0,t.jsx)(m.Primitive.div,{"data-state":K(i.open),...s,ref:r,style:{pointerEvents:"auto",...s.style}})})}),F="DialogContent",E=a.forwardRef((e,r)=>{let a=P(F,e.__scopeDialog),{forceMount:s=a.forceMount,...i}=e,n=b(F,e.__scopeDialog);return(0,t.jsx)(p.Presence,{present:s||n.open,children:n.modal?(0,t.jsx)(z,{...i,ref:r}):(0,t.jsx)(H,{...i,ref:r})})});E.displayName=F;var z=a.forwardRef((e,r)=>{let n=b(F,e.__scopeDialog),o=a.useRef(null),l=(0,i.useComposedRefs)(r,n.contentRef,o);return a.useEffect(()=>{let e=o.current;if(e)return(0,h.hideOthers)(e)},[]),(0,t.jsx)(L,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,s.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,s.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,s.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),H=a.forwardRef((e,r)=>{let s=b(F,e.__scopeDialog),i=a.useRef(!1),n=a.useRef(!1);return(0,t.jsx)(L,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||s.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,n.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(n.current=!0));let r=t.target;s.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&n.current&&t.preventDefault()}})}),L=a.forwardRef((e,r)=>{let{__scopeDialog:s,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:l,...u}=e,p=b(F,s),m=a.useRef(null),x=(0,i.useComposedRefs)(r,m);return(0,g.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:l,children:(0,t.jsx)(c.DismissableLayer,{role:"dialog",id:p.contentId,"aria-describedby":p.descriptionId,"aria-labelledby":p.titleId,"data-state":K(p.open),...u,ref:x,onDismiss:()=>p.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Z,{titleId:p.titleId}),(0,t.jsx)(Y,{contentRef:m,descriptionId:p.descriptionId})]})]})}),O="DialogTitle",_=a.forwardRef((e,r)=>{let{__scopeDialog:a,...s}=e,i=b(O,a);return(0,t.jsx)(m.Primitive.h2,{id:i.titleId,...s,ref:r})});_.displayName=O;var B="DialogDescription",U=a.forwardRef((e,r)=>{let{__scopeDialog:a,...s}=e,i=b(B,a);return(0,t.jsx)(m.Primitive.p,{id:i.descriptionId,...s,ref:r})});U.displayName=B;var q="DialogClose",$=a.forwardRef((e,r)=>{let{__scopeDialog:a,...i}=e,n=b(q,a);return(0,t.jsx)(m.Primitive.button,{type:"button",...i,ref:r,onClick:(0,s.composeEventHandlers)(e.onClick,()=>n.onOpenChange(!1))})});function K(e){return e?"open":"closed"}$.displayName=q;var G="DialogTitleWarning",[V,W]=(0,n.createContext)(G,{contentName:F,titleName:O,docsSlug:"dialog"}),Z=({titleId:e})=>{let t=W(G),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return a.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Y=({contentRef:e,descriptionId:t})=>{let r=W("DialogDescriptionWarning"),s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return a.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(s))},[s,e,t]),null};e.s(["Close",()=>$,"Content",()=>E,"Description",()=>U,"Dialog",()=>w,"DialogClose",()=>$,"DialogContent",()=>E,"DialogDescription",()=>U,"DialogOverlay",()=>S,"DialogPortal",()=>A,"DialogTitle",()=>_,"DialogTrigger",()=>C,"Overlay",()=>S,"Portal",()=>A,"Root",()=>w,"Title",()=>_,"Trigger",()=>C,"WarningProvider",()=>V,"createDialogScope",()=>
5k],326999);var J=e.i(326999);e.s(["Dialog",0,J],964053);var J=J,X=e.i(975157),Q=e.i(519455);function ee({...e}){return(0,t.jsx)(J.Root,{"data-slot":"dialog",...e})}function et({...e}){return(0,t.jsx)(J.Trigger,{"data-slot":"dialog-trigger",...e})}function er({...e}){return(0,t.jsx)(J.Portal,{"data-slot":"dialog-portal",...e})}function ea({className:e,...r}){return(0,t.jsx)(J.Overlay,{"data-slot":"dialog-overlay",className:(0,X.cn)("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...r})}function es({className:e,children:a,showCloseButton:s=!0,...i}){return(0,t.jsxs)(er,{"data-slot":"dialog-portal",children:[(0,t.jsx)(ea,{}),(0,t.jsxs)(J.Content,{"data-slot":"dialog-content",className:(0,X.cn)("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg",e),...i,children:[a,s&&(0,t.jsxs)(J.Close,{"data-slot":"dialog-close",className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,t.jsx)(r.default,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function ei({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,X.cn)("flex flex-col gap-2 text-center sm:text-left",e),...r})}function en({className:e,showCloseButton:r=!1,children:a,...s}){return(0,t.jsxs)("div",{"data-slot":"dialog-footer",className:(0,X.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...s,children:[a,r&&(0,t.jsx)(J.Close,{asChild:!0,children:(0,t.jsx)(Q.Button,{variant:"outline",children:"Close"})})]})}function eo({className:e,...r}){return(0,t.jsx)(J.Title,{"data-slot":"dialog-title",className:(0,X.cn)("text-lg leading-none font-semibold",e),...r})}function el({className:e,...r}){return(0,t.jsx)(J.Description,{"data-slot":"dialog-description",className:(0,X.cn)("text-sm text-muted-foreground",e),...r})}e.s(["Dialog",()=>ee,"DialogContent",()=>es,"DialogDescription",()=>el,"DialogFooter",()=>en,"DialogHeader",()=>ei,"DialogTitle",()=>eo,"DialogTrigger",()=>et],776639)},624687,e=>{"use strict";var t=e.i(843476),r=e.i(975157);function a({className:e,...a}){return(0,t.jsx)("textarea",{"data-slot":"textarea",className:(0,r.cn)("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",e),...a})}e.s(["Textarea",()=>a])},63209,e=>{"use strict";let t=(0,e.i(475254).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["AlertCircle",()=>t],63209)},284614,e=>{"use strict";let t=(0,e.i(475254).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",()=>t],284614)},997625,e=>{"use strict";let t=(0,e.i(475254).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",()=>t],997625)},350682,e=>{"use strict";let t=(0,e.i(475254).default)("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);e.s(["Github",()=>t],350682)},50186,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(920636),s=e.i(874394),i=e.i(924417),n=e.i(934086),o=e.i(519455),l=e.i(515288),c=e.i(487486),d=e.i(184073),u=e.i(835147),p=e.i(643531);let m=(0,e.i(475254).default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var g=e.i(39312),x=e.i(531278),h=e.i(952571),f=e.i(728480),y=e.i(35956),v=e.i(354385),k=e.i(846696),j=e.i(846932);function b(){let[e,b]=(0,r.useState)(null),[w,N]=(0,r.useState)(!0),[C,D]=(0,r.useState)("monthly"),[R,P]=(0,r.useState)(null),[A,M]=(0,r.useState)(!1),S=(0,s.useDictionary)(),I=(0,s.useLocale)();async function T(t){if(!e)return void window.location.assign(`/${I}/login`);P(t);try{let r=await e.getIdToken(),a=await fetch("/api/stripe/checkout",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r}`},body:JSON.stringify({plan:t,period:C,locale:I})}),s=await a.json();s.url?window.location.assign(s.url):(k.toast.error(s.error||"Checkout failed"),P(null))}catch{k.toast.error("Checkout failed"),P(null)}}(0,r.useEffect)(()=>(0,a.onAuthChanged)(e=>{b(e),N(!1)}),[]),(0,r.useEffect)(()=>{let e=()=>M(window.scrollY>20);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let F=[{key:"starter",price:"monthly"===C?S.pricing.tiers.starter.price:S.pricing.tiers.starter.priceAnnual,cta:S.pricing.startFree,href:e?"/dashboard":"/login",popular:!1,isCheckout:!1},{key:"pro",price:"monthly"===C?S.pricing.tiers.pro.price:S.pricing.tiers.pro.priceAnnual,cta:S.pricing.subscribe,href:null,popular:!0,isCheckout:!0},{key:"usage",price:"monthly"===C?S.pricing.tiers.usage.price:S.pricing.tiers.usage.priceAnnual,cta:S.pricing.startUsage,href:null,popular:!1,payPerUse:!0,isCheckout:!0},{key:"enterprise",price:"monthly"===C?S.pricing.tiers.enterprise.price:S.pricing.tiers.enterprise.priceAnnual,cta:S.pricing.subscribe,href:null,popular:!1,isCheckout:!0}],E=["agents","tokensPerMonth","mcpEndpoints","gradingRunsPerMonth","models","supp
5ort","teams","pipelines","observability"],z=[{key:"autoResearch",starter:!1,pro:!0,enterprise:!0,usage:!0},{key:"subAgents",starter:!1,pro:!0,enterprise:!0,usage:!0},{key:"metaAgent",starter:!1,pro:!0,enterprise:!0,usage:!0},{key:"githubIntegration",starter:!1,pro:!0,enterprise:!0,usage:!0},{key:"mcpProtocol",starter:!0,pro:!0,enterprise:!0,usage:!0},{key:"extensions",starter:!0,pro:!0,enterprise:!0,usage:!0},{key:"versionHistory",starter:!1,pro:!0,enterprise:!0,usage:!0},{key:"sso",starter:!1,pro:!1,enterprise:!0,usage:!1},{key:"auditLogs",starter:!1,pro:!1,enterprise:!0,usage:!1}];return(0,t.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,t.jsx)(n.SharedNavbar,{}),(0,t.jsxs)("main",{className:"max-w-6xl mx-auto px-4 md:px-6",children:[(0,t.jsx)(d.SlideUp,{children:(0,t.jsxs)("section",{className:"flex flex-col items-center text-center pt-16 pb-12",children:[(0,t.jsx)("h1",{className:"text-4xl font-bold tracking-tight sm:text-5xl",children:S.pricing.title}),(0,t.jsx)("p",{className:"mt-4 max-w-2xl text-lg text-muted-foreground",children:S.pricing.subtitle}),(0,t.jsxs)("div",{className:"mt-8 flex items-center gap-2",children:[(0,t.jsx)(o.Button,{variant:"monthly"===C?"default":"outline",size:"sm",onClick:()=>D("monthly"),children:S.pricing.monthly}),(0,t.jsxs)(o.Button,{variant:"annual"===C?"default":"outline",size:"sm",onClick:()=>D("annual"),className:"gap-2",children:[S.pricing.annual,(0,t.jsx)(c.Badge,{variant:"secondary",className:"text-xs",children:S.pricing.savePercent})]})]})]})}),(0,t.jsx)(u.StaggerChildren,{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-4 pb-12",children:F.map(e=>{let r=S.pricing.tiers[e.key],a=R===e.key;return(0,t.jsx)(j.motion.div,{variants:u.staggerItem,children:(0,t.jsxs)(l.Card,{className:`relative flex flex-col ${e.popular?"ring-2 ring-primary shadow-lg":""}`,children:[e.popular&&(0,t.jsx)(c.Badge,{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:S.pricing.popular}),"payPerUse"in e&&e.payPerUse&&(0,t.jsxs)(c.Badge,{variant:"secondary",className:"absolute -top-3 left-1/2 -translate-x-1/2 gap-1",children:[(0,t.jsx)(g.Zap,{className:"h-3 w-3"}),S.pricing.payAsYouGo]}),(0,t.jsxs)(l.CardHeader,{className:"text-center pb-2",children:[(0,t.jsx)(l.CardTitle,{className:"text-xl",children:r.name}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:r.description})]}),(0,t.jsxs)(l.CardContent,{className:"flex flex-col flex-1",children:[(0,t.jsx)("div",{className:"text-center mb-6",children:"payPerUse"in e&&e.payPerUse?(0,t.jsx)("span",{className:"text-2xl font-bold text-primary",children:S.pricing.payAsYouGo}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"text-4xl font-bold",children:["$",e.price]}),"0"!==e.price&&(0,t.jsx)("span",{className:"text-muted-foreground",children:"monthly"===C?S.pricing.mo:S.pricing.yr})]})}),(0,t.jsxs)("ul",{className:"space-y-3 mb-8 flex-1",children:[E.map(r=>(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(p.Check,{className:"h-4 w-4 text-primary shrink-0"}),(0,t.jsx)("span",{children:"fr"===I?(0,t.jsxs)(t.Fragment,{children:[S.pricing.features[r]," : ",(0,t.jsx)("span",{className:"font-medium",children:S.pricing.featureValues[e.key][r]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-medium",children:S.pricing.featureValues[e.key][r]})," ",S.pricing.features[r]]})})]},r)),z.map(r=>(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm",children:[r[e.key]?(0,t.jsx)(p.Check,{className:"h-4 w-4 text-primary shrink-0"}):(0,t.jsx)(m,{className:"h-4 w-4 text-muted-foreground/40 shrink-0"}),(0,t.jsx)("span",{className:r[e.key]?"":"text-muted-foreground",children:S.pricing.features[r.key]})]},r.key))]}),e.isCheckout?(0,t.jsx)(o.Button,{className:"w-full",variant:e.popular?"default":"outline",disabled:a,onClick:()=>T(e.key),children:a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.Loader2,{className:"h-4 w-4 mr-2 animate-spin"}),S.pricing.subscribing]}):e.cta}):(0,t.jsx)(i.LocalizedLink,{href:e.href||"/login",className:"w-full",children:(0,t.jsx)(o.Button,{className:"w-full",variant:"outline",children:e.cta})})]})]})},e.key)})}),(0,t.jsx)(d.SlideUp,{delay:.2,children:(0,t.jsxs)(l.Card,{className:"mb-12 border-primary/20 bg-primary/5",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsxs)(l.CardTitle,{className:"flex items-center gap-2 text-lg",children:[(0,t.jsx)(g.Zap,{className:"h-5 w-5 text-primary"}),S.pricing.usageNote]}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:S.pricing.usageNoteDesc})]}),(0,t.jsxs)(l.CardContent,{children:[(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border bg-background p-4",children:[(0,t.jsx)(f.ArrowDownToLine,{className:"h-5 w-5 text-blue-500 shrink-0"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-semibold text-sm",children:S.pricing.inputPrice}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:S.pricing.features.inputTokenPrice})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border bg-background p-4",children:[(0,t.jsx)(y.ArrowUpFromLine,{className:"h-5 w-5 text-emerald-500 shrink-0"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-semibold text-sm",children:S.pricing.outputPrice}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:S.pricing.features.outputTokenPrice})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border bg-background p-4",children:[(0,t.jsx)(v.ClipboardCheck,{className:"h-5 w-5 text-amber-500 shrink-0"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-semibold text-sm",children:S.pricing.gradingPrice2}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:S.pricing.features.gradingPrice})]})]})]}),(0,t.jsxs)("div",{className:"mt-4 flex items-start gap-2 rounded-lg bg-primary/10 p-3 text-sm",children:[(0,t.jsx)(h.Info,{className:"h-4 w-4 text-primary shrink-0 mt-0.5"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-primary",children:S.pricing.commissionLabel}),(0,t.jsx)("p",{className:"text-muted-foreground text-xs mt-0.5",children:S.pricing.commissionDesc})]})]})]})]})}),(0,t.jsxs)("section",{className:"pb-24",children:[(0,t.jsxs)("div",{className:"text-center mb-8",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold",children:S.pricing.comparisonTitle}),(0,t.jsx)("p",{className:"text-muted-foreground mt-1",children:S.pricing.comparisonSubtitle})]}),(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full text-sm",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b",children:[(0,t.jsx)("th",{className:"text-left py-3 px-4 font-medium text-muted-foreground"}),F.map(e=>(0,t.jsx)("th",{className:"text-center py-3 px-4 font-semibold",children:S.pricing.tiers[e.key].name},e.key))]})}),(0,t.jsxs)("tbody",{children:[E.map(e=>(0,t.jsxs)("tr",{className:"border-b",children:[(0,t.jsx)("td",{className:"py-3 px-4 text-muted-foreground",children:S.pricing.features[e]}),F.map(r=>(0,t.jsx)("td",{className:"text-center py-3 px-4",children:S.pricing.featureValues[r.key][e]}
5,r.key))]},e)),z.map(e=>(0,t.jsxs)("tr",{className:"border-b",children:[(0,t.jsx)("td",{className:"py-3 px-4 text-muted-foreground",children:S.pricing.features[e.key]}),F.map(r=>(0,t.jsx)("td",{className:"text-center py-3 px-4",children:e[r.key]?(0,t.jsx)(p.Check,{className:"h-4 w-4 text-primary mx-auto"}):(0,t.jsx)(m,{className:"h-4 w-4 text-muted-foreground/40 mx-auto"})},r.key))]},e.key))]})]})})]})]}),(0,t.jsx)("footer",{className:"border-t py-6 text-center text-sm text-muted-foreground",children:S.landing.footer})]})}e.s(["default",()=>b],50186)}]);

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.