1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3327],{74943:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/projects",function(){return r(65276)}])},87396:function(e,t,r){"use strict";r.d(t,{u:function(){return s}});var n=r(651);function s(e){let{icon:t,title:r,hint:s,action:a,className:c=""}=e;return(0,n.jsxs)("div",{className:"text-center py-10 text-white/40 ".concat(c),children:[t&&(0,n.jsx)(t,{className:"mx-auto mb-4 h-10 w-10"}),(0,n.jsx)("p",{className:"text-lg",children:r}),s&&(0,n.jsx)("p",{className:"text-sm",children:s}),a&&(0,n.jsx)("div",{className:"mt-4",children:a})]})}r(92379)},71669:function(e,t,r){"use strict";r.d(t,{m:function(){return s}});var n=r(651);function s(e){let{icon:t,title:r,subtitle:s,actions:a,className:c=""}=e;return(0,n.jsxs)("div",{className:"flex items-center justify-between gap-4 ".concat(c),children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("h1",{className:"text-2xl font-bold flex items-center gap-2",children:[t&&(0,n.jsx)(t,{className:"text-zinc-500 h-6 w-6"}),r]}),s&&(0,n.jsx)("p",{className:"text-sm text-white/60 mt-1",children:s})]}),a]})}r(92379)},87069:function(e,t,r){"use strict";r.d(t,{FB:function(){return c},q4:function(){return l},xm:function(){return i}});var n=r(651),s=r(15451),a=r(5632);function c(e){let{rows:t=3}=e;return(0,n.jsx)("div",{className:"space-y-1",children:Array.from({length:t}).map((e,t)=>(0,n.jsxs)("div",{className:"flex items-center justify-between p-4",children:[(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)(a.O,{className:"h-4 w-44"}),(0,n.jsx)(a.O,{className:"h-3 w-28"})]}),(0,n.jsx)(a.O,{className:"h-5 w-20 rounded-md"})]},t))})}function i(e){let{count:t=6,aspect:r="square"}=e;return(0,n.jsx)(n.Fragment,{children:Array.from({length:t}).map((e,t)=>(0,n.jsx)("div",{className:"bg-white/5 w-full ".concat("video"===r?"aspect-video":"aspect-square"," rounded-lg animate-pulse")},t))})}function l(e){let{rows:t=3}=e;return(0,n.jsxs)(s.Zb,{children:[(0,n.jsxs)(s.Ol,{className:"flex flex-row items-center justify-between",children:[(0,n.jsx)(a.O,{className:"h-6 w-40"}),(0,n.jsx)(a.O,{className:"h-9 w-9 rounded-md"})]}),(0,n.jsx)(s.aY,{children:(0,n.jsx)(c,{rows:t})})]})}},98486:function(e,t,r){"use strict";r.d(t,{C:function(){return i}});var n=r(651);r(92379);var s=r(34990),a=r(71663);let c=(0,s.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:t,variant:r,...s}=e;return(0,n.jsx)("div",{className:(0,a.cn)(c({variant:r}),t),...s})}},15451:function(e,t,r){"use strict";r.d(t,{Ol:function(){return i},SZ:function(){return d},Zb:function(){return c},aY:function(){return o},eW:function(){return u},ll:function(){return l}});var n=r(651),s=r(92379),a=r(71663);let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...s})});c.displayName="Card";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",r),...s})});i.displayName="CardHeader";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",r),...s})});l.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",r),...s})});o.displayName="CardContent";let u=s.forwardRef((e,t)=>
1{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},65276:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return j},default:function(){return h}});var n=r(651);r(92379);var s=r(12446),a=r(18101),c=r.n(a),i=r(15451),l=r(98486),d=r(52990),o=r(71669),u=r(87396),f=r(46969),x=r(87069),m=r(39262),j=!0;function h(){let{data:e,error:t}=(0,s.ZP)("/api/v1/projects",f._);return(0,n.jsx)(d.Z,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-6 p-6",children:[(0,n.jsx)(o.m,{icon:m.Z,title:"Projects"}),(0,n.jsxs)(i.Zb,{children:[(0,n.jsx)(i.Ol,{children:(0,n.jsx)("h3",{className:"text-lg font-medium",children:"Your Projects"})}),(0,n.jsx)(i.aY,{children:t?(0,n.jsx)("div",{className:"text-center text-muted-foreground",children:"Failed to load projects"}):e?0===e.length?(0,n.jsx)(u.u,{icon:m.Z,title:"No projects found",hint:"Create one to get started!"}):(0,n.jsx)("ul",{className:"gap-2",children:e.map(e=>(0,n.jsx)("li",{className:"hover:bg-accent/50 rounded-md",children:(0,n.jsxs)(c(),{href:"/projects/".concat(e.id),className:"flex items-center justify-between p-4",children:[e.name,(0,n.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Created: ",new Date(e.created_at).toLocaleDateString()]}),e.is_archived&&(0,n.jsx)(l.C,{variant:"secondary",children:"Archived"})]})},e.id))}):(0,n.jsx)(x.FB,{rows:3})})]})]})})}}},function(e){e.O(0,[3623,9017,3416,8101,5193,7649,1929,2990,2888,9774,179],function(){return e(e.s=74943)}),_N_E=e.O()}]);
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.