module.exports=[30400,a=>{"use strict";var b=a.i(39752),c=a.i(48558);let d=(0,a.i(42261).cva)("rounded-xl border p-5 shadow-[0_1px_3px_rgb(0_0_0/0.04)]",{variants:{tone:{default:"border-border bg-card",warning:"border-amber-200 bg-amber-50/50 dark:border-amber-900 dark:bg-amber-950/30",success:"border-emerald-200 bg-emerald-50/50 dark:border-emerald-900 dark:bg-emerald-950/30",error:"border-red-200 bg-red-50/50 dark:border-red-900 dark:bg-red-950/30"},interactive:{true:"transition-shadow duration-150 hover:shadow-[0_4px_6px_rgb(0_0_0/0.06)]",false:""}},defaultVariants:{tone:"default",interactive:!1}});a.s(["Card",0,function({className:a,tone:e,interactive:f,...g}){return(0,b.jsx)("div",{className:(0,c.cn)(d({tone:e,interactive:f}),a),...g})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("mb-3 flex items-center justify-between",a),...d})},"CardStatLabel",0,function({className:a,...d}){return(0,b.jsx)("h3",{className:(0,c.cn)("text-sm font-medium text-muted-foreground",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("h3",{className:(0,c.cn)("text-lg font-semibold text-foreground",a),...d})},"CardValue",0,function({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("text-3xl font-bold text-foreground",a),...d})}])},39293,a=>{"use strict";let b=(0,a.i(5423).default)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",0,b],39293)},41010,a=>{"use strict";var b=a.i(39752),c=a.i(91092),d=a.i(92241),e=a.i(21218),f=a.i(48558);function g(){return(0,b.jsx)("div",{className:"flex items-center justify-center py-16",children:(0,b.jsx)(d.Loader2,{className:"h-6 w-6 animate-spin text-muted-foreground"})})}function h({error:a,onRetry:d}){return(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center gap-3 py-16",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 text-destructive",children:[(0,b.jsx)(c.AlertCircle,{className:"h-5 w-5"}),(0,b.jsx)("p",{className:"text-sm font-medium",children:"Failed to load data"})]}),a?.message&&(0,b.jsx)("p",{className:"max-w-md text-center text-xs text-muted-foreground",children:a.message}),d&&(0,b.jsx)(e.Button,{variant:"outline",size:"sm",onClick:d,children:"Retry"})]})}a.s(["CardSkeleton",0,function({count:a=3}){return(0,b.jsx)("div",{className:(0,f.cn)("grid gap-4",a<=2?"grid-cols-1 md:grid-cols-2":4===a?"grid-cols-2 md:grid-cols-4":"grid-cols-1 md:grid-cols-3"),children:Array.from({length:a}).map((a,c)=>(0,b.jsx)("div",{className:"h-28 animate-pulse rounded-xl border border-border bg-muted/30"},c))})},"QueryResult",0,function({isLoading:a,isError:c,error:d,onRetry:e,skeleton:i,className:j,children:k}){return a?(0,b.jsx)("div",{className:(0,f.cn)(j),children:i??(0,b.jsx)(g,{})}):c?(0,b.jsx)("div",{className:(0,f.cn)(j),children:(0,b.jsx)(h,{error:d,onRetry:e})}):(0,b.jsx)(b.Fragment,{children:k})},"TableSkeleton",0,function({rows:a=5}){return(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("div",{className:"h-10 animate-pulse rounded-lg bg-muted/40"}),Array.from({length:a}).map((a,c)=>(0,b.jsx)("div",{className:"h-12 animate-pulse rounded-lg bg-muted/20"},c))]})}])},82740,a=>{"use strict";let b=(0,a.i(5423).default)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",0,b],82740)},57252,a=>{"use strict";let b=(0,a.i(5423).default)("ClipboardCopy",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]]);a.s(["ClipboardCopy",0,b],57252)},63242,21150,a=>{"use strict";let b=(0,a.i(5423).default)("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);a.s(["Ban",0,b],63242);var c=a.i(39752),d=a.i(7384);let e={pending:"blue",running:"amber",awaiting_user:"orange",final_confirm:"pink",completed:"green",failed:"red",timeout:"red",cancelled:"gray",abandoned:"gray"},f={pending:"Pending",running:"Running",awaiting_user:"Awaiting you",final_confirm:"Final confirm",completed:"Completed",failed:"Failed",timeout:"Timeout",cancelled:"Cancelled",abandoned:"Abandoned"};a.s(["BrowserTaskStateBadge",0,function({state:a,className:b}){return(0,c.jsx)(d.Badge,{variant:e[a],className:b,children:"running"===a?(0,c.jsxs)("span",{className:"flex items-center gap-1",children:[(0,c.jsx)("span",{"aria-hidden":!0,className:"h-1.5 w-1.5 animate-pulse rounded-full bg-amber-500"}),f[a]]}):f[a]})}],21150)}];

//# sourceMappingURL=_0r9.4nv._.js.map