1 line
49 KiB
JavaScript
1 line
49 KiB
JavaScript
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55574,e=>{"use strict";let t=(0,e.i(64828).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,t],55574)},78629,e=>{"use strict";let t=(0,e.i(64828).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",0,t],78629)},35683,e=>{"use strict";let t=(0,e.i(64828).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",0,t],35683)},1570,28939,e=>{"use strict";var t=e.i(64828);let a=(0,t.default)("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]);e.s(["TrendingDown",0,a],1570);let i=(0,t.default)("wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);e.s(["Wallet",0,i],28939)},18410,e=>{"use strict";let t=(0,e.i(64828).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,t],18410)},90963,e=>{"use strict";let t=(0,e.i(64828).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["AlertTriangle",0,t],90963)},56696,e=>{"use strict";let t=(0,e.i(64828).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["Calendar",0,t],56696)},84717,e=>{"use strict";let t=(0,e.i(64828).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",0,t],84717)},81151,46043,54957,e=>{"use strict";var t=e.i(64828);let a=(0,t.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",0,a],81151);let i=(0,t.default)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);e.s(["Database",0,i],46043);let r=(0,t.default)("cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);e.s(["Cloud",0,r],54957)},37380,62501,e=>{"use strict";var t=e.i(62714),a=e.i(93045),i=e.i(76489),r=["axis"],n=(0,t.forwardRef)((e,n)=>t.createElement(i.CartesianChart,{chartName:"AreaChart",defaultTooltipEventType:"axis",validateTooltipEventTypes:r,tooltipPayloadSearcher:a.arrayTooltipSearcher,categoricalChartProps:e,ref:n}));e.s(["AreaChart",0,n],37380),e.s(["Area",()=>eD,"computeArea",()=>eB],62501);var s=t,l=e.i(71813),o=e.i(43260),c=e.i(79722),d=e.i(18881),m=e.i(6033),p=e.i(64182);function u(){return(u=Object.assign.bind()).apply(null,arguments)}var x=e=>{var a=e.cx,i=e.cy,r=e.r,n=e.className,s=(0,l.clsx)("recharts-dot",n);return(0,p.isNumber)(a)&&(0,p.isNumber)(i)&&(0,p.isNumber)(r)?t.createElement("circle",u({},(0,m.svgPropertiesNoEvents)(e),(0,d.adaptEventHandlers)(e),{className:s,cx:a,cy:i,r:r})):null},h=e.i(50827),y=e.i(41665),f=e.i(92104),v=e.i(66536),g=["points"];function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function j(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?b(Object(a),!0).forEach(function(t){var i,r,n;i=e,r=t,n=a[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in i?Object.defineProperty(i,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[r]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function N(){return(N=Object.assign.bind()).apply(null,arguments)}function A(e){var a=e.option,i=e.dotProps,r=e.className;if((0,t.isValidElement)(a))return(0,t.cloneElement)(a,i);if("function"==typeof a)return a(i);var n=(0,l.clsx)(r,"boolean"!=typeof a?a.className:""),s=null!=i?i:{},o=(s.points,function(e,t){if(null==e)return{};var a,i,r=function(e,t){if(null==e)return{};var a={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;a[i]=e[i]}return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)a=n[i],-1===t.indexOf(a)&&({}).propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(s,g));return t.createElement(x,N({},o,{className:n}))}function w(e){var a=e.points,i=e.dot,r=e.className,n=e.dotClassName,s=e.dataKey,l=e.baseProps,c=e.needClip,d=e.clipPathId,m=e.zIndex,p=void 0===m?v.DefaultZIndexes.scatter:m;if(null==a||!i&&1!==a.length)return null;var u=(0,h.isClipDot)(i),x=(0,y.svgPropertiesAndEventsFromUnknown)(i),g=a.map((e,r)=>{var o,c,d=j(j(j({r:3},l),x),{},{index:r,cx:null!=(o=e.x)?o:void 0,cy:null!=(c=e.y)?c:void 0,dataKey:s,value:e.value,payload:e.payload,points:a});return t.createElement(A,{key:"dot-".concat(r),option:i,dotProps:d,className:n})}),b={};return c&&null!=d&&(b.clipPath="url(#clipPath-".concat(u?"":"dots-").concat(d,")")),t.createElement(f.ZIndexLayer,{zIndex:p},t.createElement(o.Layer,N({className:r},b),g))}var k=e.i(12050),E=e.i(17091),C=e.i(59726),I=e.i(69466);function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){var i,r,n;i=e,r=t,n=a[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in i?Object.defineProperty(i,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[r]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var F=e=>{var a,i=e.point,r=e.childIndex,n=e.mainColor,s=e.activeDot,l=e.dataKey,c=e.clipPath;if(!1===s||null==i.x||null==i.y)return null;var p=O(O(O({},{index:r,dataKey:l,cx:i.x,cy:i.y,r:4,fill:null!=n?n:"none",strokeWidth:2,stroke:"#fff",payload:i.payload,value:i.value}),(0,m.svgPropertiesNoEventsFromUnknown)(s)),(0,d.adaptEventHandlers)(s));return a=(0,t.isValidElement)(s)?(0,t.cloneElement)(s,p):"function"==typeof s?s(p):t.createElement(x,p),t.createElement(o.Layer,{className:"recharts-active-dot",clipPath:c},a)};function S(e){var a=e.points,i=e.mainColor,r=e.activeDot,n=e.itemDataKey,s=e.clipPath,l=e.zIndex,o=void 0===l?v.DefaultZIndexes.activeDot:l,c=(0,E.useAppSelector)(C.selectActiveTooltipIndex),d=(0,I.useActiveTooltipDataPoints)();if(null==a||null==d)return null;var m=a.find(e=>d.includes(e.payload));return(0,p.isNullish)(m)?null:t.createElement(f.ZIndexLayer,{zIndex:o},t.createElement(F,{point:m,childIndex:Number(c),mainColor:i,dataKey:n,activeDot:r,clipPath:s}))}var M=e.i(98578),B=e.i(58177),D=e.i(36917),L=e.i(36634),T=e.i(73052),z=e.i(63402),K=e.i(95128),R=e.i(32201),_=e.i(97389),W=(e,t,a)=>(0,L.selectAxisWithScale)(e,"xAxis",(0,_.selectXAxisIdFromGraphicalItemId)(e,t),a),V=(e,t,a)=>(0,L.selectTicksOfGraphicalItem)(e,"xAxis",(0,_.selectXAxisIdFromGraphicalItemId)(e,t),a),q=(e,t,a)=>(0,L.selectAxisWithScale)(e,"yAxis",(0,_.selectYAxisIdFromGraphicalItemId)(e,t),a),G=(e,t,a)=>(0,L.selectTicksOfGraphicalItem)(e,"yAxis",(0,_.selectYAxisIdFromGraphicalItemId)(e,t),a),H=(0,D.createSelector)([T.selectChartLayout,W,q,V,G],(e,t,a,i,r)=>(0,k.isCategoricalAxis)(e,"xAxis")?(0,k.getBandSizeOfAxis)(t,i,!1):(0,k.getBandSizeOfAxis)(a,r,!1)),U=(0,D.createSelector)([L.selectUnfilteredCartesianItems,(e,t)=>t],(e,t)=>e.filter(e=>"area"===e.type).find(e=>e.id===t)),$=e=>{var t=(0,T.selectChartLayout)(e);return(0,k.isCategoricalAxis)(t,"xAxis")?"yAxis":"xAxis"},Z=(0,D.createSelector)([U,(e,t,a)=>(0,L.selectStackGroups)(e,$(e),"yAxis"===$(e)?(0,_.selectYAxisIdFromGraphicalItemId)(e,t):(0,_.selectXAxisIdFromGraphicalItemId)(e,t),a)],(e,t)=>{if(null!=e&&null!=t){var a,i=e.stackId,r=(0,K.getStackSeriesIdentifier)(e);if(null!=i&&null!=r){var n=null==(a=t[i])?void 0:a.stackedData,s=null==n?void 0:n.find(e=>e.key===r);if(null!=s)return s.map(e=>[e[0],e[1]])}}}),Q=(0,D.createSelector)([T.selectChartLayout,W,q,V,G,Z,z.selectChartDataWithIndexesIfNotInPanoramaPosition3,H,U,R.selectChartBaseValue],(e,t,a,i,r,n,s,l,o,c)=>{var d,m=s.chartData,p=s.dataStartIndex,u=s.dataEndIndex;if(null!=o&&("horizontal"===e||"vertical"===e)&&null!=t&&null!=a&&null!=i&&null!=r&&0!==i.length&&0!==r.length&&null!=l){var x=o.data;if(null!=(d=x&&x.length>0?x:null==m?void 0:m.slice(p,u+1)))return eB({layout:e,xAxis:t,yAxis:a,xAxisTicks:i,yAxisTicks:r,dataStartIndex:p,areaSettings:o,stackedData:n,displayedData:d,chartBaseValue:c,bandSize:l})}}),Y=e.i(64967),J=e.i(11820),X=e.i(74283),ee=e.i(32576),et=e.i(81004),ea=e.i(41892),ei=e.i(24837),er=e.i(71641),en=e.i(20522),es=e.i(29641),el=e.i(27819),eo=e.i(62349),ec=e.i(48290),ed=e.i(95124),em=["animationElapsedTime","isAnimating","isEntrance","layout","isRange","stroke","connectNulls"],ep=["id","baseLine"];function eu(){return(eu=Object.assign.bind()).apply(null,arguments)}function ex(e,t){if(null==e)return{};var a,i,r=function(e,t){if(null==e)return{};var a={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;a[i]=e[i]}return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)a=n[i],-1===t.indexOf(a)&&({}).propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function eh(e){var a,i,r=e.alpha,n=e.baseLine,s=e.points,l=e.strokeWidth,o=null==(a=s[0])?void 0:a.x,c=null==(i=s[s.length-1])?void 0:i.x;if(!(0,ec.isWellBehavedNumber)(o)||!(0,ec.isWellBehavedNumber)(c))return null;var d=r*Math.abs(o-c),m=Math.max(...s.map(e=>e.y||0));return((0,p.isNumber)(n)?m=Math.max(n,m):n&&Array.isArray(n)&&n.length&&(m=Math.max(...n.map(e=>e.y||0),m)),(0,p.isNumber)(m))?t.createElement("rect",{x:o<c?o:o-d,y:0,width:d,height:Math.floor(m+(l?parseInt("".concat(l),10):1))}):null}function ey(e){var a,i,r=e.alpha,n=e.baseLine,s=e.points,l=e.strokeWidth,o=null==(a=s[0])?void 0:a.y,c=null==(i=s[s.length-1])?void 0:i.y;if(!(0,ec.isWellBehavedNumber)(o)||!(0,ec.isWellBehavedNumber)(c))return null;var d=r*Math.abs(o-c),m=Math.max(...s.map(e=>e.x||0));return((0,p.isNumber)(n)?m=Math.max(n,m):n&&Array.isArray(n)&&n.length&&(m=Math.max(...n.map(e=>e.x||0),m)),(0,p.isNumber)(m))?t.createElement("rect",{x:0,y:o<c?o:o-d,width:m+(l?parseInt("".concat(l),10):1),height:Math.floor(d)}):null}function ef(e){var a=e.alpha,i=e.layout,r=e.points,n=e.baseLine,s=e.strokeWidth;return"vertical"===i?t.createElement(ey,{alpha:a,points:r,baseLine:n,strokeWidth:s}):t.createElement(eh,{alpha:a,points:r,baseLine:n,strokeWidth:s})}var ev=["id"],eg=["activeDot","animationBegin","animationDuration","animationEasing","connectNulls","dot","fill","fillOpacity","hide","isAnimationActive","legendType","stroke","xAxisId","yAxisId"];function eb(){return(eb=Object.assign.bind()).apply(null,arguments)}function ej(e,t){if(null==e)return{};var a,i,r=function(e,t){if(null==e)return{};var a={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;a[i]=e[i]}return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)a=n[i],-1===t.indexOf(a)&&({}).propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function eN(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function eA(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?eN(Object(a),!0).forEach(function(t){var i,r,n;i=e,r=t,n=a[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in i?Object.defineProperty(i,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[r]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):eN(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var ew={activeDot:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",animationMatchBy:et.matchByIndex,animationInterpolateFn:(e,t)=>null==e?[]:1===t?e.flatMap(e=>"removed"===e.status?[]:[e.next]):e.flatMap(e=>"matched"===e.status?[eA(eA({},e.next),{},{x:(0,p.interpolate)(e.prev.x,e.next.x,t),y:(0,p.interpolate)(e.prev.y,e.next.y,t)})]:"added"===e.status?[e.next]:[]),connectNulls:!1,dot:!1,fill:"#3182bd",fillOpacity:.6,hide:!1,isAnimationActive:"auto",legendType:"line",stroke:"#3182bd",strokeWidth:1,type:"linear",label:!1,shape:function(e){var a,i=e.animationElapsedTime,r=void 0===i?1:i,n=e.isAnimating,s=e.isEntrance,l=e.layout,c=e.isRange,d=e.stroke,p=e.connectNulls,u=ex(e,em),x="vertical"===l?"vertical":"horizontal",h=null!=p&&p,y=(0,ed.useId)(),f=u.id,v=u.baseLine,g=ex(u,ep),b=(0,m.svgPropertiesNoEvents)(g),j=t.createElement(eo.Curve,eu({},u,{id:f,baseLine:v,connectNulls:h,stroke:"none",className:"recharts-area-area",layout:x})),N="none"!==d&&t.createElement(eo.Curve,eu({},b,{className:"recharts-area-curve",layout:x,type:u.type,connectNulls:h,fill:"none",stroke:d,points:u.points})),A="none"!==d&&c&&Array.isArray(v)&&t.createElement(eo.Curve,eu({},b,{className:"recharts-area-curve",layout:x,type:u.type,connectNulls:h,fill:"none",stroke:d,points:v}));return void 0!==s&&s&&(void 0!==n&&n||r<1)?t.createElement(o.Layer,null,t.createElement("defs",null,t.createElement("clipPath",{id:y},t.createElement(ef,{alpha:r,points:null!=(a=u.points)?a:[],baseLine:v,layout:x,strokeWidth:u.strokeWidth}))),t.createElement(o.Layer,{clipPath:"url(#".concat(y,")")},j,N,A)):t.createElement(t.Fragment,null,j,N,A)},xAxisId:0,yAxisId:0,zIndex:v.DefaultZIndexes.area};function ek(e,t){return e&&"none"!==e?e:t}var eE=s.memo(e=>{var t=e.dataKey,a=e.data,i=e.stroke,r=e.strokeWidth,n=e.fill,l=e.name,o=e.hide,c=e.unit,d=e.formatter,m=e.tooltipType,u=e.id,x={dataDefinedOnItem:a,getPosition:p.noop,settings:{stroke:i,strokeWidth:r,fill:n,dataKey:t,nameKey:void 0,name:(0,k.getTooltipNameProp)(l,t),hide:o,type:m,color:ek(i,n),unit:c,formatter:d,graphicalItemId:u}};return s.createElement(M.SetTooltipEntrySettings,{tooltipEntrySettings:x})});function eC(e){var t=e.clipPathId,a=e.points,i=e.props,r=i.needClip,n=i.dot,l=i.dataKey,o=(0,m.svgPropertiesNoEvents)(i);return s.createElement(w,{points:a,dot:n,className:"recharts-area-dots",dotClassName:"recharts-area-dot",dataKey:l,baseProps:o,needClip:r,clipPathId:t})}function eI(e){var t=e.showLabels,a=e.children,i=e.points.map(e=>{var t,a,i={x:null!=(t=e.x)?t:0,y:null!=(a=e.y)?a:0,width:0,lowerWidth:0,upperWidth:0,height:0};return eA(eA({},i),{},{value:e.value,payload:e.payload,parentViewBox:void 0,viewBox:i,fill:void 0})});return s.createElement(c.CartesianLabelListContextProvider,{value:t?i:void 0},a)}function eP(e){var t=e.points,a=e.baseLine,i=e.needClip,r=e.clipPathId,n=e.props,l=e.animationElapsedTime,c=e.isAnimating,d=e.isEntrance,m=n.layout,p=n.type,u=n.stroke,x=n.connectNulls,h=n.isRange,f=n.shape,v=n.id,g=ej(n,ev),b=eA(eA({},(0,y.svgPropertiesAndEvents)(g)),{},{id:v,points:t,connectNulls:x,type:p,baseLine:a,layout:m,stroke:u,isRange:h,animationElapsedTime:l,isAnimating:c,isEntrance:d});return s.createElement(s.Fragment,null,(null==t?void 0:t.length)>1&&s.createElement(o.Layer,{clipPath:i?"url(#clipPath-".concat(r,")"):void 0},s.createElement(es.Shape,{option:f,DefaultShape:ew.shape,shapeProps:b})),s.createElement(eC,{points:t,props:g,clipPathId:r}))}function eO(e){var t,a=e.needClip,i=e.clipPathId,r=e.props,n=e.previousPointsRef,l=e.previousBaselineRef,o=r.points,d=r.baseLine,m=r.isAnimationActive,u=r.animationBegin,x=r.animationDuration,h=r.animationEasing,y=r.animationMatchBy,f=r.animationInterpolateFn,v=(0,s.useMemo)(()=>({points:o,baseLine:d}),[o,d]),g=(0,ea.useAnimationStartSnapshot)(v,l),b=(0,T.useCartesianChartLayout)(),j=(0,ee.useAnimationCallbacks)(r.onAnimationStart,r.onAnimationEnd),N=j.isAnimating,A=j.handleAnimationStart,w=j.handleAnimationEnd,k=g.startValue;return null==b?null:(t=Array.isArray(d)&&Array.isArray(k)?(0,et.matchAnimationItems)(k,d,y):Array.isArray(d)?(0,et.matchAnimationItems)(null,d,y):null,s.createElement(ee.AnimatedItems,{animationInput:v,animationIdPrefix:"recharts-area-",items:o,previousItemsRef:n,isAnimationActive:m,animationBegin:u,animationDuration:x,animationEasing:h,onAnimationStart:A,onAnimationEnd:w,animationInterpolateFn:f,animationMatchBy:y,layout:b},(e,n,l)=>{var m;return m=1===n?d:Array.isArray(d)?f(t,n,b):l?d:function(e,t,a){if((0,p.isNumber)(e)){var i=(0,p.isNumber)(t)?t:void 0;return(0,p.interpolate)(i,e,a)}if((0,p.isNullish)(e)||(0,p.isNan)(e)){var r=(0,p.isNumber)(t)?t:void 0;return(0,p.interpolate)(r,0,a)}return e}(d,k,n),g.syncStepValue(m,n),s.createElement(eI,{showLabels:!N,points:o},r.children,s.createElement(eP,{points:e,baseLine:m,needClip:a,clipPathId:i,props:r,animationElapsedTime:n,isAnimating:N||n<1,isEntrance:l}),s.createElement(c.LabelListFromLabelProp,{label:r.label}))}))}function eF(e){var t=e.needClip,a=e.clipPathId,i=e.props,r=(0,s.useRef)(null),n=(0,s.useRef)();return s.createElement(eO,{needClip:t,clipPathId:a,props:i,previousPointsRef:r,previousBaselineRef:n})}class eS extends s.PureComponent{render(){var e=this.props,t=e.hide,a=e.dot,i=e.points,r=e.className,n=e.top,c=e.left,d=e.needClip,p=e.xAxisId,u=e.yAxisId,x=e.width,y=e.height,v=e.id,g=e.baseLine,b=e.zIndex;if(t)return null;var j=(0,l.clsx)("recharts-area",r),N=function(e){var t=(0,m.svgPropertiesNoEventsFromUnknown)(e);if(null!=t){var a=t.r,i=t.strokeWidth,r=Number(a),n=Number(i);return(Number.isNaN(r)||r<0)&&(r=3),(Number.isNaN(n)||n<0)&&(n=2),{r:r,strokeWidth:n}}return{r:3,strokeWidth:2}}(a),A=N.r,w=N.strokeWidth,k=(0,h.isClipDot)(a),E=2*A+w,C=d?"url(#clipPath-".concat(k?"":"dots-").concat(v,")"):void 0;return s.createElement(f.ZIndexLayer,{zIndex:b},s.createElement(o.Layer,{className:j},d&&s.createElement("defs",null,s.createElement(B.GraphicalItemClipPath,{clipPathId:v,xAxisId:p,yAxisId:u}),!k&&s.createElement("clipPath",{id:"clipPath-dots-".concat(v)},s.createElement("rect",{x:c-E/2,y:n-E/2,width:x+E,height:y+E}))),s.createElement(eF,{needClip:d,clipPathId:v,props:this.props})),s.createElement(S,{points:i,mainColor:ek(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:C}),this.props.isRange&&Array.isArray(g)&&s.createElement(S,{points:g,mainColor:ek(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:C}))}}function eM(e){var t,a=e.activeDot,i=e.animationBegin,r=e.animationDuration,n=e.animationEasing,l=e.connectNulls,o=e.dot,c=e.fill,d=e.fillOpacity,m=e.hide,p=e.isAnimationActive,u=e.legendType,x=e.stroke,h=e.xAxisId,y=e.yAxisId,f=ej(e,eg),v=(0,T.useChartLayout)(),g=(0,J.useChartName)(),b=(0,B.useNeedsClip)(h,y).needClip,j=(0,Y.useIsPanorama)(),N=null!=(t=(0,E.useAppSelector)(t=>Q(t,e.id,j)))?t:{},A=N.points,w=N.isRange,k=N.baseLine,C=(0,I.usePlotArea)();if("horizontal"!==v&&"vertical"!==v||null==C||"AreaChart"!==g&&"ComposedChart"!==g)return null;var P=C.height,O=C.width,F=C.x,S=C.y;return A&&A.length?s.createElement(eS,eb({},f,{activeDot:a,animationBegin:i,animationDuration:r,animationEasing:n,baseLine:k,connectNulls:l,dot:o,fill:c,fillOpacity:d,height:P,hide:m,layout:v,isAnimationActive:p,isRange:w,legendType:u,needClip:b,points:A,stroke:x,width:O,left:F,top:S,xAxisId:h,yAxisId:y})):null}function eB(e){var t,a=e.areaSettings,i=a.connectNulls,r=a.baseValue,n=a.dataKey,s=e.stackedData,l=e.layout,o=e.chartBaseValue,c=e.xAxis,d=e.yAxis,m=e.displayedData,u=e.dataStartIndex,x=e.xAxisTicks,h=e.yAxisTicks,y=e.bandSize,f=s&&s.length,v=((e,t,a,i,r)=>{var n=null!=a?a:t;if((0,p.isNumber)(n))return n;var s="horizontal"===e?r:i,l=s.scale.domain();if("number"===s.type){var o=Math.max(l[0],l[1]),c=Math.min(l[0],l[1]);return"dataMin"===n?c:"dataMax"===n||o<0?o:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===n?l[0]:"dataMax"===n?l[1]:l[0]})(l,o,r,c,d),g="horizontal"===l,b=!1,j=m.map((e,t)=>{if(f)o=s[u+t];else{var a,r,l,o,m,p=(0,k.getValueByDataKey)(e,n);Array.isArray(p)?(o=p,b=!0):o=[v,p]}var j=null!=(a=null==(r=o)?void 0:r[1])?a:null,N=null==j||f&&!i&&null==(0,k.getValueByDataKey)(e,n);return g?{x:(0,k.getCateCoordinateOfLine)({axis:c,ticks:x,bandSize:y,entry:e,index:t}),y:N?null:null!=(m=d.scale.map(j))?m:null,value:o,payload:e}:{x:N?null:null!=(l=c.scale.map(j))?l:null,y:(0,k.getCateCoordinateOfLine)({axis:d,ticks:h,bandSize:y,entry:e,index:t}),value:o,payload:e}});return t=f||b?j.map(e=>{var t,a,i=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:null!=i&&null!=e.y&&null!=(a=d.scale.map(i))?a:null,payload:e.payload}:{x:null!=i&&null!=(t=c.scale.map(i))?t:null,y:e.y,payload:e.payload}}):g?d.scale.map(v):c.scale.map(v),{points:j,baseLine:null!=t?t:0,isRange:b}}var eD=s.memo(function(e){var t=(0,ei.resolveDefaultProps)(e,ew),a=(0,Y.useIsPanorama)();return s.createElement(er.RegisterGraphicalItemId,{id:t.id,type:"area"},e=>{var i,r,n,l,o;return s.createElement(s.Fragment,null,s.createElement(X.SetLegendPayload,{legendPayload:(i=t.dataKey,r=t.name,n=t.stroke,l=t.fill,o=t.legendType,[{inactive:t.hide,dataKey:i,type:o,color:ek(n,l),value:(0,k.getTooltipNameProp)(r,i),payload:t}])}),s.createElement(eE,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,formatter:t.formatter,tooltipType:t.tooltipType,id:e}),s.createElement(en.SetCartesianGraphicalItem,{type:"area",id:e,data:t.data,dataKey:t.dataKey,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,stackId:(0,k.getNormalizedStackId)(t.stackId),hide:t.hide,barSize:void 0,baseValue:t.baseValue,isPanorama:a,connectNulls:t.connectNulls}),s.createElement(eM,eb({},t,{id:e})))})},el.propsAreEqual);eD.displayName="Area"},50483,e=>{"use strict";var t=e.i(1624),a=e.i(34772),i=e.i(91054),r=e.i(53743),n=e.i(1570),s=e.i(64828);let l=(0,s.default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);var o=e.i(43673),c=e.i(30573);function d({title:e,value:a,change:s,changeLabel:m="vs last month",icon:p,delay:u=0}){let x=s>=0;return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:u,ease:"easeOut"},children:(0,t.jsx)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)] hover:shadow-[0_4px_16px_rgba(0,0,0,0.08)] transition-shadow duration-200",children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"text-xs font-medium text-[#6B7280] uppercase tracking-wider",children:e}),(0,t.jsx)("h3",{className:"text-2xl font-bold text-[#111827] mt-1.5",children:a}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5 mt-2",children:[(0,t.jsxs)("div",{className:(0,c.cn)("flex items-center gap-0.5 text-xs font-semibold px-1.5 py-0.5 rounded-md",x?"bg-emerald-50 text-emerald-700":"bg-red-50 text-red-700"),children:[x?(0,t.jsx)(r.TrendingUp,{className:"w-3 h-3"}):(0,t.jsx)(n.TrendingDown,{className:"w-3 h-3"}),x?"+":"",s,"%"]}),(0,t.jsx)("span",{className:"text-xs text-[#9CA3AF]",children:m})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[p&&(0,t.jsx)("div",{className:"w-9 h-9 rounded-xl bg-[#F3F4F6] flex items-center justify-center text-[#6B7280]",children:p}),(0,t.jsx)("button",{className:"w-7 h-7 rounded-lg hover:bg-[#F3F4F6] flex items-center justify-center text-[#9CA3AF] transition-colors",children:(0,t.jsx)(l,{className:"w-4 h-4"})})]})]})})})}var m=e.i(37380),p=e.i(62501),u=e.i(59658),x=e.i(20307),h=e.i(2188),y=e.i(45178);let f=[{month:"Jan",revenue:21e5},{month:"Feb",revenue:235e4},{month:"Mar",revenue:228e4},{month:"Apr",revenue:26e5},{month:"May",revenue:275e4},{month:"Jun",revenue:29e5},{month:"Jul",revenue:285e4},{month:"Aug",revenue:31e5},{month:"Sep",revenue:305e4},{month:"Oct",revenue:32e5},{month:"Nov",revenue:315e4},{month:"Dec",revenue:32e5}];function v(e){return`SEK ${(e/1e6).toFixed(1)}M`}function g(){return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.2},children:(0,t.jsxs)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-[#111827]",children:"Revenue"}),(0,t.jsx)("p",{className:"text-xs text-[#6B7280] mt-0.5",children:"Monthly trend"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#2563EB]"}),(0,t.jsx)("span",{className:"text-xs text-[#6B7280]",children:"2024"})]})]}),(0,t.jsx)("div",{className:"h-48",children:(0,t.jsx)(y.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(m.AreaChart,{data:f,margin:{top:5,right:5,left:-20,bottom:0},children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"revenueGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#2563EB",stopOpacity:.15}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#2563EB",stopOpacity:0})]})}),(0,t.jsx)(u.XAxis,{dataKey:"month",axisLine:!1,tickLine:!1,tick:{fontSize:11,fill:"#9CA3AF"},dy:8}),(0,t.jsx)(x.YAxis,{axisLine:!1,tickLine:!1,tick:{fontSize:11,fill:"#9CA3AF"},tickFormatter:v}),(0,t.jsx)(h.Tooltip,{contentStyle:{backgroundColor:"#111827",border:"none",borderRadius:"12px",padding:"10px 14px",fontSize:"12px",color:"#fff"},formatter:e=>[v(Number(e)),"Revenue"],labelStyle:{color:"#9CA3AF",marginBottom:"4px"}}),(0,t.jsx)(p.Area,{type:"monotone",dataKey:"revenue",stroke:"#2563EB",strokeWidth:2,fill:"url(#revenueGradient)",animationDuration:1500,animationEasing:"ease-out"})]})})})]})})}var b=e.i(3562),j=e.i(33902);let N=[{account:"Operating",balance:89e4},{account:"Savings",balance:125e4},{account:"EUR",balance:21e4},{account:"USD",balance:145e3}];function A(e){return`SEK ${(e/1e3).toFixed(0)}K`}function w(){return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.3},children:(0,t.jsxs)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:[(0,t.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-[#111827]",children:"Cash Position"}),(0,t.jsx)("p",{className:"text-xs text-[#6B7280] mt-0.5",children:"By account"})]})}),(0,t.jsx)("div",{className:"h-48",children:(0,t.jsx)(y.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(b.BarChart,{data:N,margin:{top:5,right:5,left:-20,bottom:0},children:[(0,t.jsx)(u.XAxis,{dataKey:"account",axisLine:!1,tickLine:!1,tick:{fontSize:11,fill:"#9CA3AF"},dy:8}),(0,t.jsx)(x.YAxis,{axisLine:!1,tickLine:!1,tick:{fontSize:11,fill:"#9CA3AF"},tickFormatter:A}),(0,t.jsx)(h.Tooltip,{contentStyle:{backgroundColor:"#111827",border:"none",borderRadius:"12px",padding:"10px 14px",fontSize:"12px",color:"#fff"},formatter:e=>[A(Number(e)),"Balance"],labelStyle:{color:"#9CA3AF",marginBottom:"4px"}}),(0,t.jsx)(j.Bar,{dataKey:"balance",fill:"#1E3A5F",radius:[6,6,0,0],animationDuration:1200,animationEasing:"ease-out"})]})})})]})})}var k=e.i(62714),E=e.i(20287),C=e.i(79019);let I=[{id:1,title:"Review Q4 budget proposal",completed:!1,priority:"high",due:"Today"},{id:2,title:"Approve Nordic Industries contract",completed:!1,priority:"high",due:"Today"},{id:3,title:"Update cash flow forecast",completed:!0,priority:"medium",due:"Yesterday"},{id:4,title:"Schedule board meeting",completed:!1,priority:"medium",due:"Tomorrow"},{id:5,title:"Review employee performance reports",completed:!0,priority:"low",due:"Last week"}],P={high:"bg-red-50 text-red-700",medium:"bg-amber-50 text-amber-700",low:"bg-slate-50 text-slate-600"};function O(){let[e,a]=(0,k.useState)(I),r=e.filter(e=>!e.completed).length;return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.35},children:(0,t.jsxs)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-[#111827]",children:"Tasks"}),(0,t.jsxs)("p",{className:"text-xs text-[#6B7280] mt-0.5",children:[r," pending"]})]}),(0,t.jsx)("button",{className:"w-7 h-7 rounded-lg hover:bg-[#F3F4F6] flex items-center justify-center text-[#6B7280] transition-colors",children:(0,t.jsx)(C.Plus,{className:"w-4 h-4"})})]}),(0,t.jsx)("div",{className:"space-y-1",children:e.map(e=>(0,t.jsxs)("div",{onClick:()=>{var t;return t=e.id,void a(e=>e.map(e=>e.id===t?{...e,completed:!e.completed}:e))},className:(0,c.cn)("flex items-center gap-3 p-2.5 rounded-xl hover:bg-[#F7F9FC] transition-colors cursor-pointer group",e.completed&&"opacity-60"),children:[(0,t.jsx)("div",{className:(0,c.cn)("w-5 h-5 rounded-md border-2 flex items-center justify-center transition-all",e.completed?"bg-[#16A34A] border-[#16A34A]":"border-[#D1D5DB] group-hover:border-[#9CA3AF]"),children:e.completed&&(0,t.jsx)(E.Check,{className:"w-3 h-3 text-white"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:(0,c.cn)("text-sm text-[#111827] truncate",e.completed&&"line-through text-[#9CA3AF]"),children:e.title}),(0,t.jsx)("p",{className:"text-[11px] text-[#9CA3AF] mt-0.5",children:e.due})]}),(0,t.jsx)("span",{className:(0,c.cn)("text-[10px] font-semibold px-2 py-0.5 rounded-full uppercase tracking-wide flex-shrink-0",P[e.priority]),children:e.priority})]},e.id))})]})})}var F=e.i(35683),S=e.i(18410);let M=(0,s.default)("user-plus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);var B=e.i(78629);let D=(0,s.default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);var L=e.i(55574);let T=[{id:1,type:"deal",icon:F.DollarSign,color:"bg-emerald-50 text-emerald-600",title:"Deal closed",description:"Nordic Industries — 450K SEK",time:"2m ago"},{id:2,type:"document",icon:S.FileText,color:"bg-blue-50 text-blue-600",title:"Contract signed",description:"Annual service agreement updated",time:"15m ago"},{id:3,type:"user",icon:M,color:"bg-violet-50 text-violet-600",title:"New employee",description:"Sofia Bergström joined Marketing",time:"1h ago"},{id:4,type:"alert",icon:B.AlertCircle,color:"bg-amber-50 text-amber-600",title:"Approval needed",description:"Q4 budget review pending",time:"2h ago"},{id:5,type:"complete",icon:D,color:"bg-slate-50 text-slate-600",title:"Task completed",description:"Cash flow forecast updated",time:"3h ago"},{id:6,type:"system",icon:L.Clock,color:"bg-gray-50 text-gray-500",title:"System backup",description:"Daily backup completed successfully",time:"5h ago"}];function z(){return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.4},children:(0,t.jsxs)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:[(0,t.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-[#111827]",children:"Activity Feed"}),(0,t.jsx)("p",{className:"text-xs text-[#6B7280] mt-0.5",children:"Recent actions"})]})}),(0,t.jsx)("div",{className:"space-y-0",children:T.map((e,a)=>{let i=e.icon;return(0,t.jsxs)("div",{className:"flex gap-3 py-3 group",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("div",{className:`w-8 h-8 rounded-xl ${e.color} flex items-center justify-center flex-shrink-0`,children:(0,t.jsx)(i,{className:"w-4 h-4"})}),a<T.length-1&&(0,t.jsx)("div",{className:"w-px flex-1 bg-[#E5E7EB] mt-2"})]}),(0,t.jsxs)("div",{className:"flex-1 pb-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-[#111827]",children:e.title}),(0,t.jsx)("p",{className:"text-xs text-[#6B7280] mt-0.5",children:e.description}),(0,t.jsx)("p",{className:"text-[11px] text-[#9CA3AF] mt-1",children:e.time})]})]},e.id)})})]})})}let K=(0,s.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),R=(0,s.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),_=[{id:1,title:"Q4 Budget Review",requester:"Anna Lindqvist",amount:"2.4M SEK",urgency:"high",submitted:"2h ago"},{id:2,title:"New Hire — Senior Dev",requester:"Karin Johansson",amount:"850K SEK/year",urgency:"medium",submitted:"5h ago"},{id:3,title:"Office Equipment Purchase",requester:"Johan Nilsson",amount:"45K SEK",urgency:"low",submitted:"1d ago"}],W={high:"bg-red-50 text-red-700 border-red-200",medium:"bg-amber-50 text-amber-700 border-amber-200",low:"bg-slate-50 text-slate-600 border-slate-200"};function V(){return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.45},children:(0,t.jsxs)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-[#111827]",children:"Approvals"}),(0,t.jsxs)("p",{className:"text-xs text-[#6B7280] mt-0.5",children:[_.length," waiting"]})]}),(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-amber-50 flex items-center justify-center",children:(0,t.jsx)(L.Clock,{className:"w-4 h-4 text-amber-600"})})]}),(0,t.jsx)("div",{className:"space-y-2",children:_.map(e=>(0,t.jsx)("div",{className:"p-3 rounded-xl bg-[#F7F9FC] hover:bg-[#F3F4F6] transition-colors group",children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-[#111827] truncate",children:e.title}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,t.jsx)("span",{className:"text-[11px] text-[#6B7280]",children:e.requester}),(0,t.jsx)("span",{className:"text-[11px] text-[#9CA3AF]",children:"•"}),(0,t.jsx)("span",{className:"text-[11px] font-medium text-[#111827]",children:e.amount})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,t.jsx)("span",{className:`text-[10px] font-semibold px-2 py-0.5 rounded-full border uppercase ${W[e.urgency]}`,children:e.urgency}),(0,t.jsx)("span",{className:"text-[11px] text-[#9CA3AF]",children:e.submitted})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1 ml-2 opacity-0 group-hover:opacity-100 transition-opacity",children:[(0,t.jsx)("button",{className:"w-7 h-7 rounded-lg bg-emerald-50 hover:bg-emerald-100 flex items-center justify-center text-emerald-600 transition-colors",children:(0,t.jsx)(E.Check,{className:"w-3.5 h-3.5"})}),(0,t.jsx)("button",{className:"w-7 h-7 rounded-lg bg-red-50 hover:bg-red-100 flex items-center justify-center text-red-600 transition-colors",children:(0,t.jsx)(K,{className:"w-3.5 h-3.5"})})]})]})},e.id))}),(0,t.jsxs)("button",{className:"flex items-center gap-1 mt-3 text-xs font-medium text-[#2563EB] hover:text-[#1E3A5F] transition-colors",children:["View all ",(0,t.jsx)(R,{className:"w-3 h-3"})]})]})})}let q=(0,s.default)("file-spreadsheet",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]),G=(0,s.default)("file-pen-line",[["path",{d:"M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z",key:"ukzhwg"}],["path",{d:"M14.487 7.858A1 1 0 0 1 14 7V2",key:"1klhew"}],["path",{d:"M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516",key:"rxaxab"}],["path",{d:"M8 18h1",key:"13wk12"}]]),H=(0,s.default)("file-code",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]),U=[{id:1,name:"Q4 Financial Report.pdf",type:"pdf",size:"2.4 MB",updated:"2h ago"},{id:2,name:"Budget Forecast 2024.xlsx",type:"spreadsheet",size:"1.1 MB",updated:"5h ago"},{id:3,name:"Service Agreement v2.docx",type:"document",size:"856 KB",updated:"1d ago"},{id:4,name:"API Documentation.md",type:"code",size:"124 KB",updated:"2d ago"}],$={pdf:(0,t.jsx)(S.FileText,{className:"w-4 h-4 text-red-500"}),spreadsheet:(0,t.jsx)(q,{className:"w-4 h-4 text-emerald-500"}),document:(0,t.jsx)(G,{className:"w-4 h-4 text-blue-500"}),code:(0,t.jsx)(H,{className:"w-4 h-4 text-slate-500"})},Z={pdf:"bg-red-50",spreadsheet:"bg-emerald-50",document:"bg-blue-50",code:"bg-slate-50"};function Q(){return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.5},children:(0,t.jsxs)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:[(0,t.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-[#111827]",children:"Recent Documents"}),(0,t.jsx)("p",{className:"text-xs text-[#6B7280] mt-0.5",children:"Last updated"})]})}),(0,t.jsx)("div",{className:"space-y-1",children:U.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-3 p-2.5 rounded-xl hover:bg-[#F7F9FC] transition-colors cursor-pointer",children:[(0,t.jsx)("div",{className:`w-9 h-9 rounded-xl ${Z[e.type]} flex items-center justify-center flex-shrink-0`,children:$[e.type]}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-[#111827] truncate",children:e.name}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mt-0.5",children:[(0,t.jsx)("span",{className:"text-[11px] text-[#9CA3AF]",children:e.size}),(0,t.jsx)("span",{className:"text-[11px] text-[#9CA3AF]",children:"•"}),(0,t.jsx)("span",{className:"text-[11px] text-[#9CA3AF]",children:e.updated})]})]})]},e.id))}),(0,t.jsxs)("button",{className:"flex items-center gap-1 mt-3 text-xs font-medium text-[#2563EB] hover:text-[#1E3A5F] transition-colors",children:["View all ",(0,t.jsx)(R,{className:"w-3 h-3"})]})]})})}let Y=(0,s.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 1.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"}]]);var J=e.i(90963);let X=(0,s.default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),ee=[{id:1,type:"opportunity",icon:r.TrendingUp,color:"bg-emerald-50 text-emerald-600",title:"Revenue Opportunity",description:"Nordic Industries shows 23% growth potential based on Q3 patterns. Consider upselling premium support package."},{id:2,type:"risk",icon:J.AlertTriangle,color:"bg-amber-50 text-amber-600",title:"Cash Flow Alert",description:"Three invoices totaling 340K SEK are overdue by 15+ days. Recommend follow-up within 48 hours."},{id:3,type:"insight",icon:X,color:"bg-blue-50 text-blue-600",title:"Cost Optimization",description:"AWS infrastructure costs increased 18% MoM. Review reserved instance strategy for potential 25% savings."}];function et(){return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.55},children:(0,t.jsxs)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,t.jsx)(Y,{className:"w-4 h-4 text-[#2563EB]"}),(0,t.jsx)("h3",{className:"text-sm font-semibold text-[#111827]",children:"AI Insights"})]}),(0,t.jsx)("div",{className:"space-y-3",children:ee.map(e=>{let a=e.icon;return(0,t.jsxs)("div",{className:"flex gap-3 p-3 rounded-xl bg-[#F7F9FC] hover:bg-[#F3F4F6] transition-colors",children:[(0,t.jsx)("div",{className:`w-8 h-8 rounded-xl ${e.color} flex items-center justify-center flex-shrink-0 mt-0.5`,children:(0,t.jsx)(a,{className:"w-4 h-4"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium text-[#111827]",children:e.title}),(0,t.jsx)("p",{className:"text-xs text-[#6B7280] mt-1 leading-relaxed",children:e.description})]})]},e.id)})})]})})}var ea=e.i(56696);let ei=(0,s.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),er=(0,s.default)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]),en=[{id:1,title:"Board Meeting Q4 Review",time:"09:00 - 11:00",location:"Conference Room A",type:"in-person",attendees:8},{id:2,title:"Nordic Industries — Contract Negotiation",time:"14:00 - 15:30",location:"Zoom",type:"virtual",attendees:4},{id:3,title:"Team Standup — Engineering",time:"10:00 - 10:30",location:"Slack Huddle",type:"virtual",attendees:12}];function es(){return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.6},children:(0,t.jsxs)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-[#111827]",children:"Upcoming Events"}),(0,t.jsx)("p",{className:"text-xs text-[#6B7280] mt-0.5",children:"Today"})]}),(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-blue-50 flex items-center justify-center",children:(0,t.jsx)(ea.Calendar,{className:"w-4 h-4 text-blue-600"})})]}),(0,t.jsx)("div",{className:"space-y-2",children:en.map(e=>(0,t.jsxs)("div",{className:"flex gap-3 p-3 rounded-xl bg-[#F7F9FC] hover:bg-[#F3F4F6] transition-colors",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center min-w-[48px]",children:[(0,t.jsx)("span",{className:"text-xs font-semibold text-[#111827]",children:e.time.split(" - ")[0]}),(0,t.jsx)("div",{className:"w-px flex-1 bg-[#E5E7EB] my-1"})]}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-[#111827]",children:e.title}),(0,t.jsxs)("div",{className:"flex items-center gap-3 mt-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1",children:["virtual"===e.type?(0,t.jsx)(er,{className:"w-3 h-3 text-[#9CA3AF]"}):(0,t.jsx)(ei,{className:"w-3 h-3 text-[#9CA3AF]"}),(0,t.jsx)("span",{className:"text-[11px] text-[#6B7280]",children:e.location})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(L.Clock,{className:"w-3 h-3 text-[#9CA3AF]"}),(0,t.jsxs)("span",{className:"text-[11px] text-[#6B7280]",children:[e.attendees," attendees"]})]})]})]})]},e.id))})]})})}var el=e.i(81151),eo=e.i(46043),ec=e.i(54957),ed=e.i(84717);let em=[{id:1,name:"API Gateway",status:"healthy",uptime:"99.99%",latency:"12ms",icon:el.Server},{id:2,name:"Database",status:"healthy",uptime:"99.97%",latency:"4ms",icon:eo.Database},{id:3,name:"Cloud Storage",status:"healthy",uptime:"100%",latency:"28ms",icon:ec.Cloud},{id:4,name:"Auth Service",status:"warning",uptime:"99.85%",latency:"156ms",icon:ed.Shield}],ep={healthy:{icon:D,color:"text-emerald-600",bg:"bg-emerald-50",label:"Healthy"},warning:{icon:J.AlertTriangle,color:"text-amber-600",bg:"bg-amber-50",label:"Degraded"}};function eu(){return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.65},children:(0,t.jsxs)(o.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-[#111827]",children:"System Health"}),(0,t.jsx)("p",{className:"text-xs text-[#6B7280] mt-0.5",children:"All systems operational"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("div",{className:"w-2 h-2 rounded-full bg-emerald-500 animate-pulse"}),(0,t.jsx)("span",{className:"text-xs font-medium text-emerald-600",children:"Operational"})]})]}),(0,t.jsx)("div",{className:"space-y-2",children:em.map(e=>{let a=e.icon,i=ep[e.status],r=i.icon;return(0,t.jsxs)("div",{className:"flex items-center gap-3 p-2.5 rounded-xl hover:bg-[#F7F9FC] transition-colors",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-xl bg-[#F3F4F6] flex items-center justify-center",children:(0,t.jsx)(a,{className:"w-4 h-4 text-[#6B7280]"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-[#111827]",children:e.name}),(0,t.jsxs)("div",{className:"flex items-center gap-3 mt-0.5",children:[(0,t.jsxs)("span",{className:"text-[11px] text-[#9CA3AF]",children:["Uptime ",e.uptime]}),(0,t.jsxs)("span",{className:"text-[11px] text-[#9CA3AF]",children:["Latency ",e.latency]})]})]}),(0,t.jsxs)("div",{className:`flex items-center gap-1 px-2 py-1 rounded-lg ${i.bg}`,children:[(0,t.jsx)(r,{className:`w-3 h-3 ${i.color}`}),(0,t.jsx)("span",{className:`text-[10px] font-semibold ${i.color}`,children:i.label})]})]},e.id)})})]})})}var ex=e.i(28939),eh=e.i(71672);e.s(["default",0,function(){return(0,t.jsx)(a.DashboardShell,{children:(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-xl font-bold text-[#111827]",children:"Executive Dashboard"}),(0,t.jsx)("p",{className:"text-sm text-[#6B7280] mt-0.5",children:"Welcome back, Erik. Here's what's happening today."})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,t.jsx)(d,{title:"Revenue",value:"$3.2M",change:18,icon:(0,t.jsx)(F.DollarSign,{className:"w-4 h-4"}),delay:0}),(0,t.jsx)(d,{title:"Cash Flow",value:"$890K",change:12,icon:(0,t.jsx)(ex.Wallet,{className:"w-4 h-4"}),delay:.05}),(0,t.jsx)(d,{title:"Active Customers",value:"1,284",change:8,icon:(0,t.jsx)(eh.Users,{className:"w-4 h-4"}),delay:.1}),(0,t.jsx)(d,{title:"Open Cases",value:"23",change:-5,icon:(0,t.jsx)(B.AlertCircle,{className:"w-4 h-4"}),delay:.15})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-4 gap-4",children:[(0,t.jsx)("div",{className:"xl:col-span-1",children:(0,t.jsx)(g,{})}),(0,t.jsx)("div",{className:"xl:col-span-1",children:(0,t.jsx)(w,{})}),(0,t.jsx)("div",{className:"xl:col-span-1",children:(0,t.jsx)(O,{})}),(0,t.jsx)("div",{className:"xl:col-span-1",children:(0,t.jsx)(z,{})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-4 gap-4",children:[(0,t.jsx)("div",{className:"xl:col-span-1",children:(0,t.jsx)(V,{})}),(0,t.jsx)("div",{className:"xl:col-span-1",children:(0,t.jsx)(Q,{})}),(0,t.jsx)("div",{className:"xl:col-span-2",children:(0,t.jsx)(et,{})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[(0,t.jsx)(es,{}),(0,t.jsx)(eu,{})]})]})})}],50483)}]); |