1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50141],{8963:(e,r,a)=>{a.d(r,{k:()=>g});var t=a(82732),d=a(45849),i=a(17389),s=a(95155),o=a(12115),l=a(83101),n=a(46955),c=a(35299),b=a(64269),h=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#10B981] dark:focus-visible:ring-[#34D399] focus-visible:ring-offset-2 dark:focus-visible:ring-offset-[#0a0d14] disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{primary:"bg-gradient-to-br from-[#10B981] to-[#059669] text-white shadow-sm hover:from-[#059669] hover:to-[#047857] hover:shadow-md hover:shadow-[#10B981]/20 active:scale-[0.98] dark:bg-gradient-to-r dark:from-[#10B981]/5 dark:to-[#059669]/5 dark:border dark:border-[#10B981]/40 dark:hover:from-[#10B981]/10 dark:hover:to-[#059669]/10 dark:hover:border-[#34D399]/60 dark:shadow-none",secondary:"bg-white text-gray-900 dark:bg-[#10B981]/5 dark:text-white border border-gray-200 dark:border-[#10B981]/20 shadow-sm hover:bg-gray-50 hover:border-gray-300 dark:hover:bg-[#10B981]/10 dark:hover:border-[#10B981]/30 active:scale-[0.98]",ghost:"bg-transparent text-gray-600 dark:text-gray-400 hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-white/10 dark:hover:text-white active:bg-gray-200 dark:active:bg-white/20",outline:"bg-[#10B981]/5 text-[#10B981] dark:bg-[#10B981]/10 dark:text-[#34D399] border border-[#10B981]/30 dark:border-[#10B981]/40 hover:bg-[#10B981]/10 hover:border-[#10B981]/50 dark:hover:bg-[#10B981]/20 dark:hover:border-[#10B981]/60 active:bg-[#10B981]/15 dark:active:bg-[#10B981]/25",danger:"bg-[#E55A4F]/10 border border-[#E55A4F]/50 text-[#D54A3F] hover:bg-[#E55A4F]/20 hover:border-[#E55A4F]/70 active:scale-[0.98] dark:bg-[#E55A4F]/10 dark:border-[#E55A4F]/40 dark:text-[#F5998F] dark:hover:bg-[#E55A4F]/20 dark:hover:border-[#F5998F]/60",success:"bg-gradient-to-br from-[#52B86E] to-[#42A85E] text-white shadow-sm hover:from-[#42A85E] hover:to-[#32984E] hover:shadow-md hover:shadow-[#52B86E]/20 dark:from-[#52B86E] dark:to-[#42A85E] dark:hover:from-[#62C87E] dark:hover:to-[#52B86E] active:scale-[0.98]",warning:"bg-gradient-to-br from-[#F5B83D] to-[#E5A82D] text-gray-900 shadow-sm hover:from-[#E5A82D] hover:to-[#D5981D] hover:shadow-md hover:shadow-[#F5B83D]/20 dark:from-[#F5B83D] dark:to-[#E5A82D] dark:text-gray-900 active:scale-[0.98]",link:"text-[#10B981] dark:text-[#34D399] underline-offset-4 hover:underline hover:text-[#059669] dark:hover:text-[#8BB7FF] p-0 h-auto",glass:"bg-[#10B981]/10 dark:bg-[#10B981]/10 backdrop-blur-md text-white border border-[#10B981]/50 dark:border-[#10B981]/50 hover:bg-[#10B981]/20 hover:border-[#34D399] dark:hover:bg-[#10B981]/20 dark:hover:border-[#34D399] active:bg-[#10B981]/30 dark:active:bg-[#10B981]/30","glass-green":"bg-[#52B86E]/10 dark:bg-[#52B86E]/10 backdrop-blur-md text-white border border-[#52B86E]/50 dark:border-[#52B86E]/50 hover:bg-[#52B86E]/20 hover:border-[#6FCF8E] dark:hover:bg-[#52B86E]/20 dark:hover:border-[#6FCF8E] active:bg-[#52B86E]/30 dark:active:bg-[#52B86E]/30","glass-cyan":"bg-cyan-500/10 dark:bg-cyan-500/10 backdrop-blur-md text-white border border-cyan-500/50 dark:border-cyan-500/50 hover:bg-cyan-500/20 hover:border-cyan-400 dark:hover:bg-cyan-500/20 dark:hover:border-cyan-400 active:bg-cyan-500/30 dark:active:bg-cyan-500/30"},size:{sm:"h-8 px-3 text-sm rounded-lg",md:"h-10 px-4 text-sm rounded-lg",lg:"h-12 px-6 text-base rounded-xl",xl:"h-14 px-8 text-lg rounded-xl",icon:"h-10 w-10 rounded-lg","icon-sm":"h-8 w-8 rounded-lg","icon-lg":"h-12 w-12 rounded-xl"},rounded:{default:"",full:"!rounded-full"},fullWidth:{true:"w-full"}},defaultVariants:{variant:"primary",size:"md",rounded:"default"}}),g=o.forwardRef(function(e,r){var a=e.className,o=e.variant,l=e.size,g=e.rounded,x=e.fullWidth,u=e.isLoading,m=void 0!==u&&u,v=e.loadingText,k=e.leftIcon,f=e.rightIcon,y=e.children,p=e.disabled,w=e.animated,F=(0,i._)(e,["className","variant","size","rounded","fullWidth","isLoading","loadingText","leftIcon","rightIcon","children","disabled","animated"]),N=p||m,B=(0,s.jsx)(s.Fragment,{children:m?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.A,{className:"h-4 w-4 animate-spin"}),v||y]}):(0,s.jsxs)(s.Fragment,{children:[k&&(0,s.jsx)("span",{className:"shrink-0",children:k}),y,f&&(0,s.jsx)("span",{className:"shrink-0",children:f})]})}),E=(0,b.cn)(h({variant:o,size:l,rounded:g,fullWidth:x,className:a}));return(void 0===w||w)&&!N?(0,s.jsx)(n.P.button,{className:E,ref:r,disabled:N,type:F.type||"button",onClick:F.onClick,whileHover:{y:-1},whileTap:{scale:.98},transition:{duration:.15},children:B}):(0,s.jsx)("button",(0,d._)((0,t._)({className:(0,b.cn)(h({variant:o,size:l,rounded:g,fullWidth:x,className:a})),ref:r,disabled:N},F),{children:B}))});g.displayName="AuditButton"},18484:(e,r,a)=>{var t=a(82732),d=a(45849),i=a(17389),s=a(95155),o=a(12115),l=a(83101),n=a(46955),c=a(8198),b=a(52056),h=a(6132),g=a(23327),x=a(42529),u=a(7125),m=(a(1524),a(26921),a(64269)),v=(0,l.F)("inline-flex items-center gap-1.5 font-medium transition-all",{variants:{severity:{critical:"bg-[#E55A4F]/10 text-[#E55A4F] border-[#
1E55A4F]/20 dark:bg-[#E55A4F]/20 dark:text-[#F5998F] dark:border-[#E55A4F]/30",high:"bg-[#F5B83D]/10 text-[#D49A2D] border-[#F5B83D]/20 dark:bg-[#F5B83D]/20 dark:text-[#FFD666] dark:border-[#F5B83D]/30",medium:"bg-[#10B981]/10 text-[#10B981] border-[#10B981]/20 dark:bg-[#10B981]/20 dark:text-[#34D399] dark:border-[#10B981]/30",low:"bg-[#52B86E]/10 text-[#42A85E] border-[#52B86E]/20 dark:bg-[#52B86E]/20 dark:text-[#6FCF8E] dark:border-[#52B86E]/30",success:"bg-[#52B86E]/10 text-[#42A85E] border-[#52B86E]/20 dark:bg-[#52B86E]/20 dark:text-[#6FCF8E] dark:border-[#52B86E]/30",neutral:"bg-gray-100 text-gray-700 border-gray-200 dark:bg-white/10 dark:text-gray-300 dark:border-white/20"},size:{sm:"text-xs px-2 py-0.5 rounded-md",md:"text-sm px-2.5 py-1 rounded-lg",lg:"text-base px-3 py-1.5 rounded-lg"},variant:{default:"border",solid:"border-transparent",outline:"bg-transparent border-2",dot:"bg-transparent border-transparent px-0"}},compoundVariants:[{severity:"critical",variant:"solid",className:"bg-[#E55A4F] text-white dark:bg-[#E55A4F]"},{severity:"high",variant:"solid",className:"bg-[#F5B83D] text-gray-900 dark:bg-[#F5B83D]"},{severity:"medium",variant:"solid",className:"bg-[#10B981] text-white dark:bg-[#10B981]"},{severity:"low",variant:"solid",className:"bg-[#52B86E] text-white dark:bg-[#52B86E]"},{severity:"success",variant:"solid",className:"bg-[#52B86E] text-white dark:bg-[#52B86E]"},{severity:"neutral",variant:"solid",className:"bg-gray-500 text-white dark:bg-gray-600"}],defaultVariants:{severity:"neutral",size:"md",variant:"default"}}),k={critical:c.A,high:b.A,medium:h.A,low:g.A,success:x.A,neutral:u.A},f={critical:"Critical",high:"High",medium:"Medium",low:"Low",success:"Passed",neutral:"Info"};o.forwardRef(function(e,r){var a=e.className,o=e.severity,l=void 0===o?"neutral":o,c=e.size,b=e.variant,h=e.showIcon,g=e.showLabel,x=e.label,y=e.animated,p=e.count,w=e.children,F=(0,i._)(e,["className","severity","size","variant","showIcon","showLabel","label","animated","count","children"]),N=l?k[l]:u.A,B=l?f[l]:"Info",E=(0,s.jsxs)(s.Fragment,{children:["dot"===b&&(0,s.jsx)("span",{className:(0,m.cn)("w-2 h-2 rounded-full","critical"===l&&"bg-[#E55A4F]","high"===l&&"bg-[#F5B83D]","medium"===l&&"bg-[#10B981]","low"===l&&"bg-[#52B86E]","success"===l&&"bg-[#52B86E]","neutral"===l&&"bg-gray-500")}),(void 0===h||h)&&"dot"!==b&&(0,s.jsx)(N,{className:(0,m.cn)("sm"===c&&"h-3 w-3","md"===c&&"h-3.5 w-3.5","lg"===c&&"h-4 w-4")}),(void 0===g||g)&&(0,s.jsx)("span",{children:x||w||B}),void 0!==p&&p>0&&(0,s.jsxs)("span",{className:(0,m.cn)("ml-1 font-semibold tabular-nums","solid"===b?"opacity-90":"critical"===l?"text-[#D54A3F] dark:text-[#F5998F]":"high"===l?"text-[#D49A2D] dark:text-[#FFD666]":"medium"===l?"text-[#059669] dark:text-[#34D399]":"low"===l?"text-[#42A85E] dark:text-[#6FCF8E]":"text-gray-600 dark:text-gray-400"),children:["(",p,")"]})]}),j=(0,m.cn)(v({severity:l,size:c,variant:b,className:a}));return void 0===y||y?(0,s.jsx)(n.P.span,{ref:r,className:j,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:E}):(0,s.jsx)("span",(0,d._)((0,t._)({ref:r,className:j},F),{children:E}))}).displayName="SeverityBadge"},34533:(e,r,a)=>{a.d(r,{E0:()=>f,ys:()=>k});var t=a(82732),d=a(17389),i=a(22043),s=a(95155),o=a(12115),l=a(83101),n=a(46955),c=a(26497),b=a(6132),h=a(61362),g=a(70532),x=a(57828),u=a(64269),m=(0,l.F)("w-full bg-white dark:bg-white/5 text-gray-900 dark:text-white border border-gray-200 dark:border-white/10 rounded-lg transition-all duration-150 placeholder:text-gray-400 dark:placeholder:text-gray-500 focus:outline-none focus:border-[#10B981] dark:focus:border-[#34D399] focus:ring-2 focus:ring-[#10B981]/20 dark:focus:ring-[#34D399]/20 disabled:bg-gray-50 dark:disabled:bg-white/10 disabled:cursor-not-allowed disabled:opacity-60 autofill:bg-white dark:autofill:bg-white/5 autofill:text-gray-900 dark:autofill:text-white [&:-webkit-autofill]:!bg-white dark:[&:-webkit-autofill]:!bg-[#0a0d14] [&:-webkit-autofill]:!text-gray-900 dark:[&:-webkit-autofill]:!text-white [&:-webkit-autofill]:shadow-[inset_0_0_0_1000px_white] dark:[&:-webkit-autofill]:shadow-[inset_0_0_0_1000px_#0a0d14] [&:-webkit-autofill]:[-webkit-text-fill-color:theme(colors.gray.9
100)] dark:[&:-webkit-autofill]:[-webkit-text-fill-color:white]",{variants:{size:{sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-base",lg:"h-12 px-4 text-lg"},state:{default:"",error:"border-[#E55A4F] dark:border-[#F5998F] focus:border-[#E55A4F] dark:focus:border-[#F5998F] focus:ring-[#E55A4F]/20 dark:focus:ring-[#F5998F]/20",success:"border-[#52B86E] dark:border-[#6FCF8E] focus:border-[#52B86E] dark:focus:border-[#6FCF8E] focus:ring-[#52B86E]/20 dark:focus:ring-[#6FCF8E]/20"}},defaultVariants:{size:"md",state:"default"}}),v={initial:{opacity:0,y:-10,height:0},animate:{opacity:1,y:0,height:"auto"},exit:{opacity:0,y:-10,height:0}},k=o.forwardRef(function(e,r){var a=e.className,l=e.type,k=void 0===l?"text":l,f=e.size,y=e.state,p=e.label,w=e.helperText,F=e.error,N=e.success,B=e.leftIcon,E=e.rightIcon,j=e.leftAddon,A=e.rightAddon,D=e.showCharCount,_=e.maxLength,C=e.floatingLabel,z=e.disabled,I=(0,d._)(e,["className","type","size","state","label","helperText","error","success","leftIcon","rightIcon","leftAddon","rightAddon","showCharCount","maxLength","floatingLabel","disabled"]),L=(0,i._)(o.useState(!1),2),P=L[0],R=L[1],S=(0,i._)(o.useState(0),2),T=S[0],V=S[1],W=(0,i._)(o.useState(!1),2),H=W[0],M=W[1],Y=o.useId(),K="password"===k,O=K&&P?"text":k,$=F?"error":N?"success":y;return(0,s.jsxs)("div",{className:"w-full space-y-1.5",children:[p&&!C&&(0,s.jsx)("label",{htmlFor:Y,className:"block text-sm font-medium text-gray-900 dark:text-white",children:p}),(0,s.jsxs)("div",{className:"relative flex items-stretch",children:[j&&(0,s.jsx)("div",{className:"flex items-center px-3 bg-gray-50 dark:bg-white/10 border border-r-0 border-gray-200 dark:border-white/10 rounded-l-lg text-gray-600 dark:text-gray-400 text-sm",children:j}),(0,s.jsxs)("div",{className:"relative flex-1",children:[B&&(0,s.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-gray-400 dark:text-gray-500",children:B}),C&&p&&(0,s.jsx)(n.P.label,{htmlFor:Y,className:(0,u.cn)("absolute left-4 transition-all duration-200 pointer-events-none","text-gray-400 dark:text-gray-500",H||I.value?"top-0 text-xs bg-white dark:bg-[#0d0f0e] px-1 -translate-y-1/2 text-[#10B981] dark:text-[#34D399]":"top-1/2 -translate-y-1/2 text-base"),animate:{top:H||I.value?0:"50%",fontSize:H||I.value?"0.75rem":"1rem"},children:p}),(0,s.jsx)("input",(0,t._)({id:Y,ref:r,type:O,className:(0,u.cn)(m({size:f,state:$}),B&&"pl-10",(E||K||N||F)&&"pr-10",j&&"rounded-l-none",A&&"rounded-r-none",a),disabled:z,maxLength:_,onChange:function(e){var r;D&&V(e.target.value.length),null==(r=I.onChange)||r.call(I,e)},onFocus:function(e){var r;M(!0),null==(r=I.onFocus)||r.call(I,e)},onBlur:function(e){var r;M(!1),null==(r=I.onBlur)||r.call(I,e)}},I)),(0,s.jsxs)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-2",children:[F&&(0,s.jsx)(b.A,{className:"h-4 w-4 text-[#E55A4F] dark:text-[#F5998F]"}),N&&!F&&(0,s.jsx)(h.A,{className:"h-4 w-4 text-[#52B86E] dark:text-[#6FCF8E]"}),K&&(0,s.jsx)("button",{type:"button",onClick:function(){return R(!P)},className:"text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300 transition-colors",tabIndex:-1,"aria-label":P?"Hide password":"Show password",children:P?(0,s.jsx)(g.A,{className:"h-4 w-4"}):(0,s.jsx)(x.A,{className:"h-4 w-4"})}),E&&!K&&!F&&!N&&(0,s.jsx)("span",{className:"text-gray-400 dark:text-gray-500",children:E})]})]}),A&&(0,s.jsx)("div",{className:"flex items-center px-3 bg-gray-50 dark:bg-white/10 border border-l-0 border-gray-200 dark:border-white/10 rounded-r-lg text-gray-600 dark:text-gray-400 text-sm",children:A})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)(c.N,{mode:"wait",children:F?(0,s.jsx)(n.P.p,{variants:v,initial:"initial",animate:"animate",exit:"exit",className:"text-sm text-[#E55A4F] dark:text-[#F5998F]",children:F},"error"):N?(0,s.jsx)(n.P.p,{variants:v,initial:"initial",animate:"animate",exit:"exit",className:"text-sm text-[#52B86E] dark:text-[#6FCF8E]",children:N},"success"):w?(0,s.jsx)(n.P.p,{variants:v,initial:"initial",animate:"animate",exit:"exit",className:"text-sm text-gray-500 dark:text-gray-400",children:w},"helper"):(0,s.jsx)("span",{})}),D&&_&&(0,s.jsxs)("span",{className:(0,u.cn)("text-xs tabular-nums",T>=_?"text-[#E55A4F] dark:text-[#F5998F]":T>=.9*_?"text-[#F5B83D] dark:text-[#FFD666]":"text-gray-400 dark:text-gray-500"),children:[T,"/",_]})]})]})});k.displayName="AuditInput";var f=o.forwardRef(function(e,r){var a=e.className,l=e.label,b=e.helperText,h=e.error,g=e.success,x=e.showCharCount,m=e.maxLength,k=e.disabled,f=(0,d._)(e,["className","label","helperText","error","success","showCharCount","maxLength","disabled"]),y=(0,i._)(o.use
1State(0),2),p=y[0],w=y[1],F=o.useId(),N=h?"error":g?"success":"default";return(0,s.jsxs)("div",{className:"w-full space-y-1.5",children:[l&&(0,s.jsx)("label",{htmlFor:F,className:"block text-sm font-medium text-gray-900 dark:text-white",children:l}),(0,s.jsx)("textarea",(0,t._)({id:F,ref:r,className:(0,u.cn)("w-full min-h-[120px] px-4 py-3 bg-white dark:bg-white/5 text-gray-900 dark:text-white","border rounded-lg resize-y","transition-all duration-150","placeholder:text-gray-400 dark:placeholder:text-gray-500","focus:outline-none focus:ring-2","disabled:bg-gray-50 dark:disabled:bg-white/10 disabled:cursor-not-allowed disabled:opacity-60","error"===N?"border-[#E55A4F] dark:border-[#F5998F] focus:border-[#E55A4F] dark:focus:border-[#F5998F] focus:ring-[#E55A4F]/20 dark:focus:ring-[#F5998F]/20":"success"===N?"border-[#52B86E] dark:border-[#6FCF8E] focus:border-[#52B86E] dark:focus:border-[#6FCF8E] focus:ring-[#52B86E]/20 dark:focus:ring-[#6FCF8E]/20":"border-gray-200 dark:border-white/10 focus:border-[#10B981] dark:focus:border-[#34D399] focus:ring-[#10B981]/20 dark:focus:ring-[#34D399]/20",a),disabled:k,maxLength:m,onChange:function(e){var r;x&&w(e.target.value.length),null==(r=f.onChange)||r.call(f,e)}},f)),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)(c.N,{mode:"wait",children:h?(0,s.jsx)(n.P.p,{variants:v,initial:"initial",animate:"animate",exit:"exit",className:"text-sm text-[#E55A4F] dark:text-[#F5998F]",children:h},"error"):g?(0,s.jsx)(n.P.p,{variants:v,initial:"initial",animate:"animate",exit:"exit",className:"text-sm text-[#52B86E] dark:text-[#6FCF8E]",children:g},"success"):b?(0,s.jsx)(n.P.p,{variants:v,initial:"initial",animate:"animate",exit:"exit",className:"text-sm text-gray-500 dark:text-gray-400",children:b},"helper"):(0,s.jsx)("span",{})}),x&&m&&(0,s.jsxs)("span",{className:(0,u.cn)("text-xs tabular-nums",p>=m?"text-[#E55A4F] dark:text-[#F5998F]":p>=.9*m?"text-[#F5B83D] dark:text-[#FFD666]":"text-gray-400 dark:text-gray-500"),children:[p,"/",m]})]})]})});f.displayName="AuditTextarea"},50899:(e,r,a)=>{a.d(r,{y$:()=>b});var t=a(82732),d=a(17389),i=a(95155);a(12115);var s=a(46955),o=a(64269),l=function(e){var r=e.className,a=e.variant,s=void 0===a?"shimmer":a,l=e.rounded,n=(0,d._)(e,["className","variant","rounded"]);return(0,i.jsx)("div",(0,t._)({className:(0,o.cn)("relative overflow-hidden bg-audit-surface-1",{none:"rounded-none",sm:"rounded-audit-sm",md:"rounded-audit-md",lg:"rounded-audit-lg",full:"rounded-full"}[void 0===l?"md":l],"shimmer"===s&&"audit-skeleton","pulse"===s&&"audit-skeleton-pulse",r),"aria-hidden":"true"},n))},n=function(e){var r=e.lines,a=void 0===r?3:r,t=e.className,d=e.lastLineWidth,s=void 0===d?"75%":d;return(0,i.jsx)("div",{className:(0,o.cn)("space-y-2",t),children:Array.from({length:a}).map(function(e,r){return(0,i.jsx)(l,{className:"h-4",style:{width:r===a-1?s:"100%"}},r)})})},c=function(e){var r=e.columns,a=void 0===r?4:r,t=e.className;return(0,i.jsx)("div",{className:(0,o.cn)("flex items-center gap-4 py-4",t),children:Array.from({length:a}).map(function(e,r){return(0,i.jsx)(l,{className:"h-4",style:{width:0===r?"25%":"".concat(75/(a-1),"%")}},r)})})},b=function(e){var r=e.size,a=e.className;return(0,i.jsxs)(s.P.svg,{className:(0,o.cn)({sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8"}[void 0===r?"md":r],"text-audit-primary-600",a),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"},children:[(0,i.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,i.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})};l.displayName="Skeleton",n.displayName="SkeletonText",c.displayName="SkeletonTableRow",b.displayName="Spinner"},91201:(e,r,a)=>{a.d(r,{V5:()=>x,Y4:()=>g,b_:()=>v,hY:()=>k,iK:()=>u,mY:()=>m});var t=a(82732),d=a(45849),i=a(17389),s=a(95155),o=a(12115),l=a(83101),n=a(46955),c=a(64269),b=(0,l.F)("rounded-xl transition-all duration-200",{variants:{variant:{default:"bg-white dark:bg-white/5 border border-gray-200 dark:border-white/10 shadow-sm",elevated:"bg-white dark:bg-white/5 border border-gray-100 dark:border-white/5 shadow-md dark:shadow-lg dark:shadow-black/20",outlined:"bg-transparent border-2 border-gray-200 dark:border-white/20",gradient:"bg-gradient-to-br from-white via-white to-[#10B981]/5 dark:from-white/5 dark:via-white/5 dark:to-[#10B981]/10 border border-[#10B981]/20 dark:border-[#34D399]/20 shadow-sm",glass:"bg-white/80 dark:bg-white/10 backdrop-blur-md border border-white/20 dark:border-white/10 shadow-lg"},interactive:{true:"cursor-pointer hover:shadow-lg hover:-translate-y-0.5"},severity:{critical:"border-l-4 border-l-[#E55A4F] dark:border-l-[#F5998F]",high:"border-l-4 border-l-[#F5B83D] dark:border-l-[#FFD666]",medium:"border-l-4 border-l-[#10B981] dark:border-l-[#34D399]",low:"border-l-4 border-l-[#52B86E] dark:border-l-[#6FCF8E]",none:""},padding:{none:"p-0",sm:"p-4",md:"p-6",lg:"p-8"}},defaultVariants:{variant:"default",interactive:!1,severity:"none",padding:"md"}}),h={initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},hover:{y:-2,boxShadow:"0 10px 15px -3px rgba(90, 127, 212, 0.15), 0 4px 6px -4px rgba(90, 127, 212, 0.1)"},tap:{scale:.99}},g=o.forwardRef(function(e,r){var a=e.className,o=e.variant,l=e.interactive,g=e.severity,x=e.padding,u=e.animate,m=e.children,v=(0,i._)(e,["className","variant","interactive","severity","padding","animate","children"]),k=(0,c.cn)(b({variant:o,interactive:l,severity:g,padding:x,className:a}));return void 0===u||u?(0,s.jsx)(n.P.div,{className:k,ref:r,initial:"initial",animate:"animate",whileHover:l?"hover":void 0,whileTap:l?"tap":void 0,variants:h,transition:{duration:.3,ease:"easeOut"},children:m}):(0,s.jsx)("div",(0,d._)((0,t._)({className:k,ref:r},v),{children:m}))});g.displayName="AuditCard";var x=o.forwardRef(function(e,r){var a=e.className,d=e.border,o=(0,i._)(e,["className","border"]);return(0,s.jsx)("div",(0,t._)({ref:r,className:(0,c.cn)("flex flex-col space-y-1.5",void 0!==d&&d&&"border-b border-gray-200 dark:border-white/10 pb-4 mb-4",a)},o))});x.displayName="AuditCardHeader";var u=o.forwardRef(function(e,r){var a=e.className,d=e.as,o=(0,i._)(e,["className","as"]);return(0,s.jsx)(void 0===d?"h3":d,(0,t._)({ref:r,className:(0,c.cn)("text-lg font-semibold leading-tight tracking-tight text-gray-900 dark:text-white",a)},o))});u.displayName="AuditCardTitle";var m=o.forwardRef(function(e,r){var a=e.className,d=(0,i._)(e,["className"]);return(0,s.jsx)("p",(0,t._)({ref:r,className:(0,c.cn)("text-sm text-gray-600 dark:text-gray-400",a)},d))});m.displayName="AuditCardDescription";var v=o.forwardRef(function(e,r){var a=e.className,d=(0,i._)(e,["className"]);return(0,s.jsx)("div",(0,t._)({ref:r,className:(0,c.cn)("",a)},d))});v.displayName="AuditCardContent";var k=o.forwardRef(function(e,r){var a=e.className,d=e.border,o=e.align,l=(0,i._)(e,["className","border","align"]);return(0,s.jsx)("div",(0,t._)({ref:r,className:(0,c.cn)("flex items-center gap-3 pt-4",{left:"justify-start",center:"justify-center",right:"justify-end",between:"justify-between"}[void 0===o?"right":o],void 0!==d&&d&&"border-t border-gray-200 dark:border-white/10 mt-4",a)},l))});k.displayName="AuditCardFooter",o.forwardRef(function(e,r){var a=e.label,o=e.value,l=e.change,n=e.icon,b=e.className,h=(0,i._)(e,["label","value","change","icon","className"]);return(0,s.jsx)(g,(0,d._)((0,t._)({ref:r,className:b},h),{children:(0,s.jsxs)("div",{className:"flex items-start justify-between",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("p",{className:"text-sm font-medium text-gray-600 dark:text-gray-400",children:a}),(0,s.jsx)("p",{className:"text-3xl font-bold tracking-tight text-gray-900 dark:text-white",children:o}),l&&(0,s.jsxs)("p",{className:(0,c.cn)("text-sm font-medium",{increase:"text-[#52B86E] dark:text-[#6FCF8E]",decrease:"text-[#E55A4F] dark:text-[#F5998F]",neutral:"text-gray-500 dark:text-gray-400"}[l.type]),children:["increase"===l.type&&"+","decrease"===l.type&&"-",l.value,"%"]})]}),n&&(0,s.jsx)("div",{className:"p-2 rounded-lg bg-[#10B981]/10 dark:bg-[#34D399]/20 text-[#10B981] dark:text-[#34D399]",children:n})]})}))}).displayName="AuditMetricCard"},94666:(e,r,a)=>{a(82732),a(45849),a(17389);a(95155),a(12115),a(33327),a(99770),a(46955),a(64269)}}]);
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.