(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1305],{5264:function(e,t,r){Promise.resolve().then(r.bind(r,41796)),Promise.resolve().then(r.bind(r,80417))},41796:function(e,t,r){"use strict";r.d(t,{KpiCard:function(){return o}});var n=r(57437),a=r(2265),s=r(79820),i=r(93448);function o(e){let{title:t,value:r,description:o,icon:l,trend:c,className:d,delay:u=0}=e,[f,m]=(0,a.useState)(!1),x=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=setTimeout(()=>m(!0),u);return()=>clearTimeout(e)},[u]),(0,n.jsxs)(s.Zb,{ref:x,className:(0,i.cn)("relative overflow-hidden transition-all duration-500 ease-out group","hover:shadow-lg hover:-translate-y-0.5","border-border/60",f?"opacity-100 translate-y-0":"opacity-0 translate-y-3",d),children:[(0,n.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/[0.02] to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,n.jsxs)(s.aY,{className:"relative p-5",children:[(0,n.jsxs)("div",{className:"flex items-start justify-between mb-3",children:[(0,n.jsx)("span",{className:"text-xs font-medium uppercase tracking-wider text-muted-foreground",children:t}),l&&(0,n.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-primary/8 text-primary transition-colors group-hover:bg-primary/12",children:l})]}),(0,n.jsx)("div",{className:"text-2xl font-display font-bold tracking-tight text-foreground",children:r}),(0,n.jsxs)("div",{className:"mt-2 flex items-center gap-2",children:[c&&(0,n.jsxs)("span",{className:(0,i.cn)("inline-flex items-center gap-0.5 text-xs font-semibold px-1.5 py-0.5 rounded-md",c.value>=0?"bg-success/10 text-success":"bg-destructive/10 text-destructive"),children:[c.value>=0?"↑":"↓",Math.abs(c.value),"%"]}),o&&(0,n.jsx)("span",{className:"text-xs text-muted-foreground truncate",children:o})]})]})]})}},80417:function(e,t,r){"use strict";r.d(t,{PageTransition:function(){return s}});var n=r(57437),a=r(63810);function s(e){let{children:t}=e;return(0,n.jsx)(a.E.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},children:t})}},79820:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return c},Zb:function(){return i},aY:function(){return d},eW:function(){return u},ll:function(){return l}});var n=r(57437),a=r(2265),s=r(93448);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-xs transition-shadow duration-200",r),...a})});i.displayName="Card";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});o.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});l.displayName="CardTitle";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})});c.displayName="CardDescription";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});d.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},93448:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var n=r(61994),a=r(53335);function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.m6)((0,n.W)(t))}}},function(e){e.O(0,[6137,3810,2971,2117,1744],function(){return e(e.s=5264)}),_N_E=e.O()}]);