@chainberry/ui-components 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +30 -35
- package/dist/index.mjs +1345 -1377
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let l=require("clsx"),u=require("tailwind-merge"),d=require("react");d=c(d,1);let f=require("class-variance-authority"),p=require("radix-ui"),m=require("react/jsx-runtime"),h=require("react-day-picker"),g=require("@hugeicons/react"),_=require("@radix-ui/react-checkbox");_=c(_,1);let v=require("@radix-ui/react-dialog");v=c(v,1);let y=require("@radix-ui/react-dropdown-menu");y=c(y,1);let b=require("@radix-ui/react-label");b=c(b,1);let x=require("@radix-ui/react-popover");x=c(x,1);let S=require("@radix-ui/react-radio-group");S=c(S,1);let C=require("@radix-ui/react-tooltip");C=c(C,1);let w=require("date-fns"),ee=require("qrcode");ee=c(ee,1);function T(...e){return(0,u.twMerge)((0,l.clsx)(e))}var E=`chainberry`,D=(0,f.cva)(`group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/80`,outline:`border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground`,ghost:`hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50`,destructive:`bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,xs:`h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3`,sm:`h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5`,lg:`h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,icon:`size-8`,"icon-xs":`size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3`,"icon-sm":`size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg`,"icon-lg":`size-9`}},defaultVariants:{variant:`default`,size:`default`}});function O({className:e,variant:t=`default`,size:n=`default`,asChild:r=!1,...i}){return(0,m.jsx)(r?p.Slot.Root:`button`,{"data-slot":`button`,"data-variant":t,"data-size":n,className:T(D({variant:t,size:n,className:e})),...i})}function k({actions:e,bleed:t,className:n,...r}){let i=e.filter(e=>e.align===`start`),a=e.filter(e=>(e.align??`end`)===`end`),o=(e,t)=>(0,m.jsx)(O,{type:e.type??`button`,variant:e.variant??`default`,disabled:e.disabled,onClick:e.onClick,className:T(`cursor-pointer`,e.className),children:e.label},e.key??t);return(0,m.jsxs)(`div`,{"data-slot":`action-footer`,className:T(`flex shrink-0 items-center justify-between gap-2 border-t border-cb-line p-2.5`,t===`dialog`&&`-mx-6 -mb-6 mt-6 rounded-b-2xl`,n),...r,children:[(0,m.jsx)(`div`,{className:`flex items-center gap-1`,children:i.map(o)}),(0,m.jsx)(`div`,{className:`flex items-center gap-2`,children:a.map(o)})]})}var te=(0,f.cva)(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`}},defaultVariants:{variant:`default`}});function ne({className:e,variant:t=`default`,asChild:n=!1,...r}){return(0,m.jsx)(n?p.Slot.Root:`span`,{"data-slot":`badge`,"data-variant":t,className:T(te({variant:t}),e),...r})}var A=[[`path`,{d:`M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 17V13`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12 9.25H12.125M12.25 9.25C12.25 9.11193 12.1381 9 12 9C11.8619 9 11.75 9.11193 11.75 9.25C11.75 9.38807 11.8619 9.5 12 9.5C12.1381 9.5 12.25 9.38807 12.25 9.25Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],j=[[`path`,{d:`M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 9V13`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],re=[[`path`,{d:`M7 17L7 13`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 17L12 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M17 17L17 11`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],M=[[`path`,{d:`M19 9H6.65856C5.65277 9 5.14987 9 5.02472 8.69134C4.89957 8.38268 5.25517 8.01942 5.96637 7.29289L8.21091 5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M5 15H17.3414C18.3472 15 18.8501 15 18.9753 15.3087C19.1004 15.6173 18.7448 15.9806 18.0336 16.7071L15.7891 19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],ie=[[`path`,{d:`M15 19L15 6.65856C15 5.65277 15 5.14987 15.3087 5.02472C15.6173 4.89956 15.9806 5.25517 16.7071 5.96637L19 8.21091`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9 5L9 17.3414C9 18.3472 9 18.8501 8.69134 18.9753C8.38268 19.1004 8.01942 18.7448 7.29289 18.0336L5 15.7891`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],N=[[`path`,{d:`M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],P=[[`path`,{d:`M12 16V3`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M6 21H18`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M7 12C7 12 10.6824 17 12 17C13.3176 17 17 12 17 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],ae=[[`path`,{d:`M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],F=[[`path`,{d:`M19.9999 17L3.99994 17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M17 14C17 14 19.9999 16.2095 19.9999 17C19.9999 17.7906 16.9999 20 16.9999 20`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M4.99994 7L19.9999 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M6.99992 4C6.99992 4 3.99995 6.20947 3.99994 7.00002C3.99993 7.79058 6.99994 10 6.99994 10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],I=[[`path`,{d:`M20.5 5.5H9.5C5.78672 5.5 3 8.18503 3 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M3.5 18.5H14.5C18.2133 18.5 21 15.815 21 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M18.5 3C18.5 3 21 4.84122 21 5.50002C21 6.15882 18.5 8 18.5 8`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M5.49998 16C5.49998 16 3.00001 17.8412 3 18.5C2.99999 19.1588 5.5 21 5.5 21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],L=[[`path`,{d:`M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],oe=[[`path`,{d:`M18 4L5.99997 4`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 8V20`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M15.9999 12C15.9999 12 13.054 8.00001 11.9999 8C10.9458 7.99999 7.99994 12 7.99994 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],R=[[`path`,{d:`M9 6.65032C9 6.65032 15.9383 6.10759 16.9154 7.08463C17.8924 8.06167 17.3496 15 17.3496 15M16.5 7.5L6.5 17.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],se=[[`path`,{d:`M12.125 5.75H12M12.25 5.75C12.25 5.88807 12.1381 6 12 6C11.8619 6 11.75 5.88807 11.75 5.75C11.75 5.61193 11.8619 5.5 12 5.5C12.1381 5.5 12.25 5.61193 12.25 5.75Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M5 9V19M9 9V19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M15 9V19M19 9V19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M21.3518 9H2.64822C2.29022 9 2 8.70651 2 8.34447C2 8.12259 2.11099 7.91577 2.29495 7.79485L8.73007 3.56485C10.3171 2.52162 11.1107 2 12 2C12.8893 2 13.6829 2.52162 15.2699 3.56485L21.7051 7.79485C21.889 7.91577 22 8.12259 22 8.34447C22 8.70651 21.7098 9 21.3518 9Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M21.0397 20.2929L20.3519 19.5858C20.0707 19.2968 19.9301 19.1522 19.7514 19.0761C19.5726 19 19.3738 19 18.9762 19H5.02382C4.62621 19 4.4274 19 4.24863 19.0761C4.06987 19.1522 3.92929 19.2968 3.64814 19.5858L2.9603 20.2929C2.25356 21.0194 1.9002 21.3827 2.02456 21.6913C2.14893 22 2.64867 22 3.64814 22H20.3519C21.3513 22 21.8511 22 21.9754 21.6913C22.0998 21.3827 21.7464 21.0194 21.0397 20.2929Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`4`}]],ce=[[`path`,{d:`M12 2H6C3.518 2 3 2.518 3 5V22H15V5C15 2.518 14.482 2 12 2Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M18 8H15V22H21V11C21 8.518 20.482 8 18 8Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M8 6L10 6M8 9L10 9M8 12L10 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M11.5 22V18C11.5 17.0572 11.5 16.5858 11.2071 16.2929C10.9142 16 10.4428 16 9.5 16H8.5C7.55719 16 7.08579 16 6.79289 16.2929C6.5 16.5858 6.5 17.0572 6.5 18V22`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],le=[[`path`,{d:`M16 2V6M8 2V6`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M3 10H21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M10 18.5002L9.99999 13.8474C9.99999 13.6557 9.86325 13.5002 9.69458 13.5002H9M14 18.4983L15.4855 13.8923C15.4951 13.8626 15.5 13.8315 15.5 13.8002C15.5 13.6346 15.3657 13.5002 15.2 13.5002L13 13.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],ue=[[`path`,{d:`M18 6L6.00081 17.9992M17.9992 18L6 6.00085`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],de=[[`path`,{d:`M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M14.9994 15L9 9M9.00064 15L15 9`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],fe=[[`path`,{d:`M8 9V17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M13 5V17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M18 13V17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M3 3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],z=[[`path`,{d:`M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 12.75C8 12.75 9.6 13.6625 10.4 15C10.4 15 12.8 9.75 16 8`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],pe=[[`ellipse`,{cx:`15.5`,cy:`11`,rx:`6.5`,ry:`2`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M22 15.5C22 16.6046 19.0899 17.5 15.5 17.5C11.9101 17.5 9 16.6046 9 15.5`,stroke:`currentColor`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M22 11V19.8C22 21.015 19.0899 22 15.5 22C11.9101 22 9 21.015 9 19.8V11`,stroke:`currentColor`,strokeWidth:`1.5`,key:`2`}],[`ellipse`,{cx:`8.5`,cy:`4`,rx:`6.5`,ry:`2`,stroke:`currentColor`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M6 11C4.10819 10.7698 2.36991 10.1745 2 9M6 16C4.10819 15.7698 2.36991 15.1745 2 14`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`4`}],[`path`,{d:`M6 21C4.10819 20.7698 2.36991 20.1745 2 19L2 4`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`5`}],[`path`,{d:`M15 6V4`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`6`}]],me=[[`path`,{d:`M20 17.5C20 18.8807 18.8807 20 17.5 20M20 17.5C20 16.1193 18.8807 15 17.5 15M20 17.5H21.5M17.5 20C16.1193 20 15 18.8807 15 17.5M17.5 20V21.5M15 17.5C15 16.1193 16.1193 15 17.5 15M15 17.5H13.5M17.5 15V13.5M19.2678 15.7322L20.3284 14.6716M15.7322 19.2678L14.6716 20.3284M19.2678 19.2678L20.3284 20.3284M15.7322 15.7322L14.6716 14.6716`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M20.4993 10.5C20.4912 6.91543 20.3921 5.02814 19.182 3.81802C17.864 2.5 15.7426 2.5 11.5 2.5C7.25736 2.5 5.13604 2.5 3.81802 3.81802C2.5 5.13604 2.5 7.25736 2.5 11.5C2.5 15.7426 2.5 17.864 3.81802 19.182C5.02814 20.3921 6.91543 20.4912 10.5 20.4993`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M8.5 3V20`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M14.5 3V10.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],he=[[`circle`,{cx:`12`,cy:`12.002`,r:`10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M14.9097 18.3695C17.3232 17.265 19 14.8288 19 12.001C19 9.17321 17.3232 6.73703 14.9097 5.63253C13.8893 5.16557 13.3791 4.93208 12.6895 5.37484C12 5.81759 12 6.5454 12 8.00102V16.001C12 17.4566 12 18.1845 12.6895 18.6272C13.3791 19.07 13.8893 18.8365 14.9097 18.3695Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],ge=[[`path`,{d:`M9 15C9 12.1716 9 10.7574 9.87868 9.87868C10.7574 9 12.1716 9 15 9L16 9C18.8284 9 20.2426 9 21.1213 9.87868C22 10.7574 22 12.1716 22 15V16C22 18.8284 22 20.2426 21.1213 21.1213C20.2426 22 18.8284 22 16 22H15C12.1716 22 10.7574 22 9.87868 21.1213C9 20.2426 9 18.8284 9 16L9 15Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M16.9999 9C16.9975 6.04291 16.9528 4.51121 16.092 3.46243C15.9258 3.25989 15.7401 3.07418 15.5376 2.90796C14.4312 2 12.7875 2 9.5 2C6.21252 2 4.56878 2 3.46243 2.90796C3.25989 3.07417 3.07418 3.25989 2.90796 3.46243C2 4.56878 2 6.21252 2 9.5C2 12.7875 2 14.4312 2.90796 15.5376C3.07417 15.7401 3.25989 15.9258 3.46243 16.092C4.51121 16.9528 6.04291 16.9975 9 16.9999`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],_e=[[`path`,{d:`M2 12C2 8.46252 2 6.69377 3.0528 5.5129C3.22119 5.32403 3.40678 5.14935 3.60746 4.99087C4.86213 4 6.74142 4 10.5 4H13.5C17.2586 4 19.1379 4 20.3925 4.99087C20.5932 5.14935 20.7788 5.32403 20.9472 5.5129C22 6.69377 22 8.46252 22 12C22 15.5375 22 17.3062 20.9472 18.4871C20.7788 18.676 20.5932 18.8506 20.3925 19.0091C19.1379 20 17.2586 20 13.5 20H10.5C6.74142 20 4.86213 20 3.60746 19.0091C3.40678 18.8506 3.22119 18.676 3.0528 18.4871C2 17.3062 2 15.5375 2 12Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M10 16H11.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M14.5 16L18 16`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M2 9H22`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],ve=[[`path`,{d:`M7.5 17.2196C7.44458 16.0292 6.62155 16 5.50505 16C3.78514 16 3.5 16.406 3.5 18V20C3.5 21.594 3.78514 22 5.50505 22C6.62154 22 7.44458 21.9708 7.5 20.7804M20.5 16L18.7229 20.6947C18.3935 21.5649 18.2288 22 17.968 22C17.7071 22 17.5424 21.5649 17.213 20.6947L15.4359 16M12.876 16H11.6951C11.2231 16 10.9872 16 10.8011 16.0761C10.1672 16.3354 10.1758 16.9448 10.1758 17.5C10.1758 18.0553 10.1672 18.6647 10.8011 18.9239C10.9872 19 11.2232 19 11.6951 19C12.167 19 12.4029 19 12.5891 19.0761C13.2229 19.3354 13.2143 19.9447 13.2143 20.5C13.2143 21.0553 13.2229 21.6647 12.5891 21.9239C12.4029 22 12.167 22 11.6951 22H10.4089`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M20 13V10.6569C20 9.83935 20 9.4306 19.8478 9.06306C19.6955 8.69552 19.4065 8.40649 18.8284 7.82843L14.0919 3.09188C13.593 2.593 13.3436 2.34355 13.0345 2.19575C12.9702 2.165 12.9044 2.13772 12.8372 2.11401C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88607C5.26731 3.06508 5.06508 3.26731 4.88607 3.48933C4 4.58831 4 6.21082 4 9.45584V13M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],B=[[`path`,{d:`M13.6903 19.4567C13.5 18.9973 13.5 18.4149 13.5 17.25C13.5 16.0851 13.5 15.5027 13.6903 15.0433C13.944 14.4307 14.4307 13.944 15.0433 13.6903C15.5027 13.5 16.0851 13.5 17.25 13.5C18.4149 13.5 18.9973 13.5 19.4567 13.6903C20.0693 13.944 20.556 14.4307 20.8097 15.0433C21 15.5027 21 16.0851 21 17.25C21 18.4149 21 18.9973 20.8097 19.4567C20.556 20.0693 20.0693 20.556 19.4567 20.8097C18.9973 21 18.4149 21 17.25 21C16.0851 21 15.5027 21 15.0433 20.8097C14.4307 20.556 13.944 20.0693 13.6903 19.4567Z`,stroke:`currentColor`,strokeLinecap:`square`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M13.6903 8.95671C13.5 8.49728 13.5 7.91485 13.5 6.75C13.5 5.58515 13.5 5.00272 13.6903 4.54329C13.944 3.93072 14.4307 3.44404 15.0433 3.1903C15.5027 3 16.0851 3 17.25 3C18.4149 3 18.9973 3 19.4567 3.1903C20.0693 3.44404 20.556 3.93072 20.8097 4.54329C21 5.00272 21 5.58515 21 6.75C21 7.91485 21 8.49728 20.8097 8.95671C20.556 9.56928 20.0693 10.056 19.4567 10.3097C18.9973 10.5 18.4149 10.5 17.25 10.5C16.0851 10.5 15.5027 10.5 15.0433 10.3097C14.4307 10.056 13.944 9.56928 13.6903 8.95671Z`,stroke:`currentColor`,strokeLinecap:`square`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M3.1903 19.4567C3 18.9973 3 18.4149 3 17.25C3 16.0851 3 15.5027 3.1903 15.0433C3.44404 14.4307 3.93072 13.944 4.54329 13.6903C5.00272 13.5 5.58515 13.5 6.75 13.5C7.91485 13.5 8.49728 13.5 8.95671 13.6903C9.56928 13.944 10.056 14.4307 10.3097 15.0433C10.5 15.5027 10.5 16.0851 10.5 17.25C10.5 18.4149 10.5 18.9973 10.3097 19.4567C10.056 20.0693 9.56928 20.556 8.95671 20.8097C8.49728 21 7.91485 21 6.75 21C5.58515 21 5.00272 21 4.54329 20.8097C3.93072 20.556 3.44404 20.0693 3.1903 19.4567Z`,stroke:`currentColor`,strokeLinecap:`square`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M3.1903 8.95671C3 8.49728 3 7.91485 3 6.75C3 5.58515 3 5.00272 3.1903 4.54329C3.44404 3.93072 3.93072 3.44404 4.54329 3.1903C5.00272 3 5.58515 3 6.75 3C7.91485 3 8.49728 3 8.95671 3.1903C9.56928 3.44404 10.056 3.93072 10.3097 4.54329C10.5 5.00272 10.5 5.58515 10.5 6.75C10.5 7.91485 10.5 8.49728 10.3097 8.95671C10.056 9.56928 9.56928 10.056 8.95671 10.3097C8.49728 10.5 7.91485 10.5 6.75 10.5C5.58515 10.5 5.00272 10.5 4.54329 10.3097C3.93072 10.056 3.44404 9.56928 3.1903 8.95671Z`,stroke:`currentColor`,strokeLinecap:`square`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],ye=[[`path`,{d:`M10.5 8.75V6.75C10.5 5.10626 10.5 4.28439 10.046 3.73121C9.96291 3.62995 9.87005 3.53709 9.76879 3.45398C9.21561 3 8.39374 3 6.75 3C5.10626 3 4.28439 3 3.73121 3.45398C3.62995 3.53709 3.53709 3.62995 3.45398 3.73121C3 4.28439 3 5.10626 3 6.75V8.75C3 10.3937 3 11.2156 3.45398 11.7688C3.53709 11.8701 3.62995 11.9629 3.73121 12.046C4.28439 12.5 5.10626 12.5 6.75 12.5C8.39374 12.5 9.21561 12.5 9.76879 12.046C9.87005 11.9629 9.96291 11.8701 10.046 11.7688C10.5 11.2156 10.5 10.3937 10.5 8.75Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M7.75 15.5H5.75C5.05222 15.5 4.70333 15.5 4.41943 15.5861C3.78023 15.78 3.28002 16.2802 3.08612 16.9194C3 17.2033 3 17.5522 3 18.25C3 18.9478 3 19.2967 3.08612 19.5806C3.28002 20.2198 3.78023 20.72 4.41943 20.9139C4.70333 21 5.05222 21 5.75 21H7.75C8.44778 21 8.79667 21 9.08057 20.9139C9.71977 20.72 10.22 20.2198 10.4139 19.5806C10.5 19.2967 10.5 18.9478 10.5 18.25C10.5 17.5522 10.5 17.2033 10.4139 16.9194C10.22 16.2802 9.71977 15.78 9.08057 15.5861C8.79667 15.5 8.44778 15.5 7.75 15.5Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M21 17.25V15.25C21 13.6063 21 12.7844 20.546 12.2312C20.4629 12.1299 20.3701 12.0371 20.2688 11.954C19.7156 11.5 18.8937 11.5 17.25 11.5C15.6063 11.5 14.7844 11.5 14.2312 11.954C14.1299 12.0371 14.0371 12.1299 13.954 12.2312C13.5 12.7844 13.5 13.6063 13.5 15.25V17.25C13.5 18.8937 13.5 19.7156 13.954 20.2688C14.0371 20.3701 14.1299 20.4629 14.2312 20.546C14.7844 21 15.6063 21 17.25 21C18.8937 21 19.7156 21 20.2688 20.546C20.3701 20.4629 20.4629 20.3701 20.546 20.2688C21 19.7156 21 18.8937 21 17.25Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M18.25 3H16.25C15.5522 3 15.2033 3 14.9194 3.08612C14.2802 3.28002 13.78 3.78023 13.5861 4.41943C13.5 4.70333 13.5 5.05222 13.5 5.75C13.5 6.44778 13.5 6.79667 13.5861 7.08057C13.78 7.71977 14.2802 8.21998 14.9194 8.41388C15.2033 8.5 15.5522 8.5 16.25 8.5H18.25C18.9478 8.5 19.2967 8.5 19.5806 8.41388C20.2198 8.21998 20.72 7.71977 20.9139 7.08057C21 6.79667 21 6.44778 21 5.75C21 5.05222 21 4.70333 20.9139 4.41943C20.72 3.78023 20.2198 3.28002 19.5806 3.08612C19.2967 3 18.9478 3 18.25 3Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],be=[[`path`,{d:`M2.99969 17.0002C2.99969 17.9302 2.99969 18.3952 3.10192 18.7767C3.37932 19.8119 4.18796 20.6206 5.22324 20.898C5.60474 21.0002 6.06972 21.0002 6.99969 21.0002L16.9997 21.0002C17.9297 21.0002 18.3947 21.0002 18.7762 20.898C19.8114 20.6206 20.6201 19.8119 20.8975 18.7767C20.9997 18.3952 20.9997 17.9302 20.9997 17.0002`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M16.4998 11.5002C16.4998 11.5002 13.1856 16.0002 11.9997 16.0002C10.8139 16.0002 7.49976 11.5002 7.49976 11.5002M11.9997 15.0002V3.00016`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],xe=[[`path`,{d:`M8 7L16 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 11L12 11`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M13 21.5V21C13 18.1716 13 16.7574 13.8787 15.8787C14.7574 15 16.1716 15 19 15H19.5M20 13.3431V10C20 6.22876 20 4.34315 18.8284 3.17157C17.6569 2 15.7712 2 12 2C8.22877 2 6.34315 2 5.17157 3.17157C4 4.34314 4 6.22876 4 10L4 14.5442C4 17.7892 4 19.4117 4.88607 20.5107C5.06508 20.7327 5.26731 20.9349 5.48933 21.1139C6.58831 22 8.21082 22 11.4558 22C12.1614 22 12.5141 22 12.8372 21.886C12.9044 21.8623 12.9702 21.835 13.0345 21.8043C13.3436 21.6564 13.593 21.407 14.0919 20.9081L18.8284 16.1716C19.4065 15.5935 19.6955 15.3045 19.8478 14.9369C20 14.5694 20 14.1606 20 13.3431Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Se=[[`path`,{d:`M8.85746 12.5061C6.36901 10.6456 4.59564 8.59915 3.62734 7.44867C3.3276 7.09253 3.22938 6.8319 3.17033 6.3728C2.96811 4.8008 2.86701 4.0148 3.32795 3.5074C3.7889 3 4.60404 3 6.23433 3H17.7657C19.396 3 20.2111 3 20.672 3.5074C21.133 4.0148 21.0319 4.8008 20.8297 6.37281C20.7706 6.83191 20.6724 7.09254 20.3726 7.44867C19.403 8.60062 17.6261 10.6507 15.1326 12.5135C14.907 12.6821 14.7583 12.9567 14.7307 13.2614C14.4837 15.992 14.2559 17.4876 14.1141 18.2442C13.8853 19.4657 12.1532 20.2006 11.226 20.8563C10.6741 21.2466 10.0043 20.782 9.93278 20.1778C9.79643 19.0261 9.53961 16.6864 9.25927 13.2614C9.23409 12.9539 9.08486 12.6761 8.85746 12.5061Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ce=[[`path`,{d:`M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M20 5.69899C19.0653 5.76636 17.8681 6.12824 17.0379 7.20277C15.5385 9.14361 14.039 9.30556 13.0394 8.65861C11.5399 7.6882 12.8 6.11636 11.0401 5.26215C9.89313 4.70542 9.73321 3.19045 10.3716 2`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M2 11C2.7625 11.6621 3.83046 12.2682 5.08874 12.2682C7.68843 12.2682 8.20837 12.7649 8.20837 14.7518C8.20837 16.7387 8.20837 16.7387 8.72831 18.2288C9.06651 19.1981 9.18472 20.1674 8.5106 21`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M22 13.4523C21.1129 12.9411 20 12.7308 18.8734 13.5405C16.7177 15.0898 15.2314 13.806 14.5619 15.0889C13.5765 16.9775 17.0957 17.5711 14 22`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],we=[[`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 12C8 18 12 22 12 22C12 22 16 18 16 12C16 6 12 2 12 2C12 2 8 6 8 12Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M21 15H3`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M21 9H3`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],Te=[[`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9.5 9.5C9.5 8.11929 10.6193 7 12 7C13.3807 7 14.5 8.11929 14.5 9.5C14.5 10.3569 14.0689 11.1131 13.4117 11.5636C12.7283 12.0319 12 12.6716 12 13.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Ee=[[`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 16V12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],De=[[`path`,{d:`M4 18.6458V8.05426C4 5.20025 4 3.77325 4.87868 2.88663C5.75736 2 7.17157 2 10 2H14C16.8284 2 18.2426 2 19.1213 2.88663C20 3.77325 20 5.20025 20 8.05426V18.6458C20 20.1575 20 20.9133 19.538 21.2108C18.7831 21.6971 17.6161 20.6774 17.0291 20.3073C16.5441 20.0014 16.3017 19.8485 16.0325 19.8397C15.7417 19.8301 15.4949 19.9768 14.9709 20.3073L13.06 21.5124C12.5445 21.8374 12.2868 22 12 22C11.7132 22 11.4555 21.8374 10.94 21.5124L9.02913 20.3073C8.54415 20.0014 8.30166 19.8485 8.03253 19.8397C7.74172 19.8301 7.49493 19.9768 6.97087 20.3073C6.38395 20.6774 5.21687 21.6971 4.46195 21.2108C4 20.9133 4 20.1575 4 18.6458Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M11 11H8`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M14 7L8 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Oe=[[`path`,{d:`M8 5.5L20 5.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 12.5L20 12.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M8 19.5L20 19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M4.375 5.5H4.25M4.5 5.5C4.5 5.63807 4.38807 5.75 4.25 5.75C4.11193 5.75 4 5.63807 4 5.5C4 5.36193 4.11193 5.25 4.25 5.25C4.38807 5.25 4.5 5.36193 4.5 5.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M4.375 12.5H4.25M4.5 12.5C4.5 12.6381 4.38807 12.75 4.25 12.75C4.11193 12.75 4 12.6381 4 12.5C4 12.3619 4.11193 12.25 4.25 12.25C4.38807 12.25 4.5 12.3619 4.5 12.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`4`}],[`path`,{d:`M4.375 19.5H4.25M4.5 19.5C4.5 19.6381 4.38807 19.75 4.25 19.75C4.11193 19.75 4 19.6381 4 19.5C4 19.3619 4.11193 19.25 4.25 19.25C4.38807 19.25 4.5 19.3619 4.5 19.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`5`}]],ke=[[`path`,{d:`M14.5 6C14.4534 4.90658 14.3147 4.20985 13.9025 3.67376C13.7426 3.46574 13.5561 3.27954 13.3476 3.11992C12.5381 2.5 11.363 2.5 9.01286 2.5H8.51184C5.67786 2.5 4.26087 2.5 3.38046 3.37867C2.50006 4.25734 2.50004 5.67157 2.50003 8.49997L2.50002 15.5C2.50001 18.3284 2.5 19.7426 3.38042 20.6213C4.26083 21.5 5.67783 21.5 8.51184 21.5H9.01281C11.363 21.5 12.5381 21.5 13.3476 20.8801C13.556 20.7205 13.7426 20.5343 13.9025 20.3263C14.3147 19.7901 14.4534 19.0933 14.5 17.9996`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M20.5 11.9999H8.50002M18 15.5C18 15.5 21.5 12.9223 21.5 12C21.5 11.0777 18 8.5 18 8.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Ae=[[`path`,{d:`M2.01733 17.4993C4.2169 17.4993 6.00001 19.2824 6.00001 21.4819`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M18 21.4819V21.39C18 19.2412 19.742 17.4993 21.8908 17.4993`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M6.00001 7.5166C6.00001 9.71617 4.2169 11.4993 2.01733 11.4993`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M18 7.5166C18 9.69692 19.769 11.468 21.9423 11.4989`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M17 7.50098C19.175 7.51308 20.3529 7.60953 21.1213 8.37792C22 9.2566 22 10.6708 22 13.4992V15.4992C22 18.3277 22 19.7419 21.1213 20.6206C20.2426 21.4992 18.8284 21.4992 16 21.4992H8C5.17157 21.4992 3.75736 21.4992 2.87868 20.6206C2 19.7419 2 18.3277 2 15.4992V13.4992C2 10.6708 2 9.2566 2.87868 8.37792C3.64706 7.60953 4.82497 7.51308 7 7.50098`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`4`}],[`path`,{d:`M15 14.4993C15 16.1561 13.6569 17.4993 12 17.4993C10.3431 17.4993 9 16.1561 9 14.4993C9 12.8424 10.3431 11.4993 12 11.4993C13.6569 11.4993 15 12.8424 15 14.4993Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`5`}],[`path`,{d:`M9.5 5.00098C9.5 5.00098 11.2998 2.50098 12 2.50098C12.7002 2.50098 14.5 5.00098 14.5 5.00098M12 8.00098V3.00098`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`6`}]],je=[[`path`,{d:`M21.5 14.0784C20.3003 14.7189 18.9301 15.0821 17.4751 15.0821C12.7491 15.0821 8.91792 11.2509 8.91792 6.52485C8.91792 5.06986 9.28105 3.69968 9.92163 2.5C5.66765 3.49698 2.5 7.31513 2.5 11.8731C2.5 17.1899 6.8101 21.5 12.1269 21.5C16.6849 21.5 20.503 18.3324 21.5 14.0784Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Me=[[`path`,{d:`M6.00449 12.5V12M18.0045 12.5V12M12.0045 12.5V12M7.00449 12.5C7.00449 11.9477 6.55677 11.5 6.00449 11.5C5.4522 11.5 5.00449 11.9477 5.00449 12.5C5.00449 13.0523 5.4522 13.5 6.00449 13.5C6.55677 13.5 7.00449 13.0523 7.00449 12.5ZM19.0045 12.5C19.0045 11.9477 18.5568 11.5 18.0045 11.5C17.4522 11.5 17.0045 11.9477 17.0045 12.5C17.0045 13.0523 17.4522 13.5 18.0045 13.5C18.5568 13.5 19.0045 13.0523 19.0045 12.5ZM13.0045 12.5C13.0045 11.9477 12.5568 11.5 12.0045 11.5C11.4522 11.5 11.0045 11.9477 11.0045 12.5C11.0045 13.0523 11.4522 13.5 12.0045 13.5C12.5568 13.5 13.0045 13.0523 13.0045 12.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ne=[[`path`,{d:`M22 14V10C22 6.22876 22 4.34315 20.8284 3.17157C19.6569 2 17.7712 2 14 2H12C8.22876 2 6.34315 2 5.17157 3.17157C4 4.34315 4 6.22876 4 10V14C4 17.7712 4 19.6569 5.17157 20.8284C6.34315 22 8.22876 22 12 22H14C17.7712 22 19.6569 22 20.8284 20.8284C22 19.6569 22 17.7712 22 14Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M11.7857 10H15.2143C16.2918 10 16.8305 10 17.1653 9.70711C17.5 9.41421 17.5 8.94281 17.5 8C17.5 7.05719 17.5 6.58579 17.1653 6.29289C16.8305 6 16.2918 6 15.2143 6H11.7857C10.7082 6 10.1695 6 9.83474 6.29289C9.5 6.58579 9.5 7.05719 9.5 8C9.5 8.94281 9.5 9.41421 9.83474 9.70711C10.1695 10 10.7082 10 11.7857 10Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M5 6L2 6M5 12H2M5 18H2`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Pe=[[`path`,{d:`M15.5 18C15.5 19.933 13.933 21.5 12 21.5C10.067 21.5 8.5 19.933 8.5 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M19.2311 18H4.76887C3.79195 18 3 17.208 3 16.2311C3 15.762 3.18636 15.3121 3.51809 14.9803L4.12132 14.3771C4.68393 13.8145 5 13.0514 5 12.2558V9.5C5 5.63401 8.13401 2.5 12 2.5C15.866 2.5 19 5.634 19 9.5V12.2558C19 13.0514 19.3161 13.8145 19.8787 14.3771L20.4819 14.9803C20.8136 15.3121 21 15.762 21 16.2311C21 17.208 20.208 18 19.2311 18Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Fe=[[`path`,{d:`M12 4V20M20 12H4`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ie=[[`path`,{d:`M20.4879 15C19.2524 18.4956 15.9187 21 12 21C7.02943 21 3 16.9706 3 12C3 7.02943 7.02943 3 12 3C15.7292 3 18.9286 5.26806 20.2941 8.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M15 9H18C19.4142 9 20.1213 9 20.5607 8.56066C21 8.12132 21 7.41421 21 6V3`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Le=[[`path`,{d:`M20.0092 2V5.13219C20.0092 5.42605 19.6418 5.55908 19.4537 5.33333C17.6226 3.2875 14.9617 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Re=[[`path`,{d:`M16 17L16.2099 17.2099C16.5786 17.5786 16.763 17.763 16.9862 17.7506C17.2094 17.7383 17.3722 17.5346 17.6979 17.1274L18.9996 15.5M13 15.4543V15.8403C13 17.0422 13 17.6431 13.1484 18.1931C13.3316 18.8723 13.6791 19.4986 14.1616 20.0197C14.5522 20.4416 15.0678 20.7701 16.0988 21.4271C16.5604 21.7212 16.7912 21.8683 17.0365 21.9367C17.3395 22.0211 17.6605 22.0211 17.9635 21.9367C18.2088 21.8683 18.4396 21.7212 18.9012 21.4271C19.9322 20.7701 20.4478 20.4416 20.8384 20.0197C21.3209 19.4986 21.6684 18.8723 21.8516 18.1931C22 17.6431 22 17.0422 22 15.8403V15.4543C22 14.7059 22 14.3317 21.8582 14.0157C21.7707 13.8208 21.6454 13.6443 21.4892 13.496C21.2359 13.2555 20.877 13.1241 20.159 12.8613L18.685 12.3218C18.099 12.1073 17.806 12 17.5 12C17.194 12 16.901 12.1073 16.315 12.3218L14.841 12.8613C14.123 13.1241 13.7641 13.2555 13.5108 13.496C13.3546 13.6443 13.2293 13.8208 13.1418 14.0157C13 14.3317 13 14.7059 13 15.4543Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M16.1712 7.9091V9.5M16.1712 7.9091C16.1712 7.15599 16.8045 6.54546 17.5856 6.54546C18.3668 6.54546 19 7.15599 19 7.9091V9.5M16.1712 7.9091V5.18183C16.1712 4.42871 15.538 3.81819 14.7568 3.81819C13.9757 3.81819 13.3424 4.42871 13.3424 5.18183M13.3424 5.18183V9.5M13.3424 5.18183V3.36364C13.3424 2.61052 12.7092 2 11.928 2C11.1469 2 10.5136 2.61052 10.5136 3.36364V6.09092M10.5136 6.09092C10.5136 5.3378 9.8804 4.72728 9.09925 4.72728C8.3181 4.72728 7.68485 5.3378 7.68485 6.09092V12.638C7.68485 13.054 7.15233 13.2514 6.8624 12.9429L4.57112 10.5043C4.18153 10.0442 3.52308 9.88846 2.95688 10.1224C1.94855 10.539 1.71198 12.0103 2.36735 12.8584C3.48877 14.3098 4.63778 16.2915 5.56538 18.0388C6.82424 20.4102 9.30884 22 12.0719 22M10.5136 6.09092V9.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],ze=[[`path`,{d:`M17 17L21 21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Be=[[`path`,{d:`M21.3175 7.14139L20.8239 6.28479C20.4506 5.63696 20.264 5.31305 19.9464 5.18388C19.6288 5.05472 19.2696 5.15664 18.5513 5.36048L17.3311 5.70418C16.8725 5.80994 16.3913 5.74994 15.9726 5.53479L15.6357 5.34042C15.2766 5.11043 15.0004 4.77133 14.8475 4.37274L14.5136 3.37536C14.294 2.71534 14.1842 2.38533 13.9228 2.19657C13.6615 2.00781 13.3143 2.00781 12.6199 2.00781H11.5051C10.8108 2.00781 10.4636 2.00781 10.2022 2.19657C9.94085 2.38533 9.83106 2.71534 9.61149 3.37536L9.27753 4.37274C9.12465 4.77133 8.84845 5.11043 8.48937 5.34042L8.15249 5.53479C7.73374 5.74994 7.25259 5.80994 6.79398 5.70418L5.57375 5.36048C4.85541 5.15664 4.49625 5.05472 4.17867 5.18388C3.86109 5.31305 3.67445 5.63696 3.30115 6.28479L2.80757 7.14139C2.45766 7.74864 2.2827 8.05227 2.31666 8.37549C2.35061 8.69871 2.58483 8.95918 3.05326 9.48012L4.0843 10.6328C4.3363 10.9518 4.51521 11.5078 4.51521 12.0077C4.51521 12.5078 4.33636 13.0636 4.08433 13.3827L3.05326 14.5354C2.58483 15.0564 2.35062 15.3168 2.31666 15.6401C2.2827 15.9633 2.45766 16.2669 2.80757 16.8741L3.30114 17.7307C3.67443 18.3785 3.86109 18.7025 4.17867 18.8316C4.49625 18.9608 4.85542 18.8589 5.57377 18.655L6.79394 18.3113C7.25263 18.2055 7.73387 18.2656 8.15267 18.4808L8.4895 18.6752C8.84851 18.9052 9.12464 19.2442 9.2775 19.6428L9.61149 20.6403C9.83106 21.3003 9.94085 21.6303 10.2022 21.8191C10.4636 22.0078 10.8108 22.0078 11.5051 22.0078H12.6199C13.3143 22.0078 13.6615 22.0078 13.9228 21.8191C14.1842 21.6303 14.294 21.3003 14.5136 20.6403L14.8476 19.6428C15.0004 19.2442 15.2765 18.9052 15.6356 18.6752L15.9724 18.4808C16.3912 18.2656 16.8724 18.2055 17.3311 18.3113L18.5513 18.655C19.2696 18.8589 19.6288 18.9608 19.9464 18.8316C20.264 18.7025 20.4506 18.3785 20.8239 17.7307L21.3175 16.8741C21.6674 16.2669 21.8423 15.9633 21.8084 15.6401C21.7744 15.3168 21.5402 15.0564 21.0718 14.5354L20.0407 13.3827C19.7887 13.0636 19.6098 12.5078 19.6098 12.0077C19.6098 11.5078 19.7888 10.9518 20.0407 10.6328L21.0718 9.48012C21.5402 8.95918 21.7744 8.69871 21.8084 8.37549C21.8423 8.05227 21.6674 7.74864 21.3175 7.14139Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M15.5195 12C15.5195 13.933 13.9525 15.5 12.0195 15.5C10.0865 15.5 8.51953 13.933 8.51953 12C8.51953 10.067 10.0865 8.5 12.0195 8.5C13.9525 8.5 15.5195 10.067 15.5195 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`1`}]],Ve=[[`path`,{d:`M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],He=[[`path`,{d:`M2 12C2 8.25027 2 6.3754 2.95491 5.06107C3.26331 4.6366 3.6366 4.26331 4.06107 3.95491C5.3754 3 7.25027 3 11 3H13C16.7497 3 18.6246 3 19.9389 3.95491C20.3634 4.26331 20.7367 4.6366 21.0451 5.06107C22 6.3754 22 8.25027 22 12C22 15.7497 22 17.6246 21.0451 18.9389C20.7367 19.3634 20.3634 19.7367 19.9389 20.0451C18.6246 21 16.7497 21 13 21H11C7.25027 21 5.3754 21 4.06107 20.0451C3.6366 19.7367 3.26331 19.3634 2.95491 18.9389C2 17.6246 2 15.7497 2 12Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9.5 3.5L9.5 20.5`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M5 7C5 7 5.91421 7 6.5 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M5 11H6.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M17 10L15.7735 11.0572C15.2578 11.5016 15 11.7239 15 12C15 12.2761 15.2578 12.4984 15.7735 12.9428L17 14`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`4`}]],Ue=[[`path`,{d:`M17 8L18.8398 9.85008C19.6133 10.6279 20 11.0168 20 11.5C20 11.9832 19.6133 12.3721 18.8398 13.1499L17 15`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M7 8L5.16019 9.85008C4.38673 10.6279 4 11.0168 4 11.5C4 11.9832 4.38673 12.3721 5.16019 13.1499L7 15`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M14.5 4L9.5 20`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],We=[[`path`,{d:`M16.9991 12C16.9991 14.7614 14.7605 17 11.9991 17C9.23766 17 6.99908 14.7614 6.99908 12C6.99908 9.23858 9.23766 7 11.9991 7C14.7605 7 16.9991 9.23858 16.9991 12Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12.1247 3.25H11.9997M12.1242 20.75H11.9992M20.75 12.125V12M3.25 12.125V12M18.2752 5.90098L18.1868 5.81259M5.90051 18.275L5.81212 18.1866M18.0987 18.2756L18.187 18.1872M5.72429 5.9012L5.81267 5.81282M12.2497 3.25C12.2497 3.38807 12.1378 3.5 11.9997 3.5C11.8616 3.5 11.7497 3.38807 11.7497 3.25C11.7497 3.11193 11.8616 3 11.9997 3C12.1378 3 12.2497 3.11193 12.2497 3.25ZM12.2492 20.75C12.2492 20.8881 12.1373 21 11.9992 21C11.8611 21 11.7492 20.8881 11.7492 20.75C11.7492 20.6119 11.8611 20.5 11.9992 20.5C12.1373 20.5 12.2492 20.6119 12.2492 20.75ZM20.75 12.25C20.6119 12.25 20.5 12.1381 20.5 12C20.5 11.8619 20.6119 11.75 20.75 11.75C20.8881 11.75 21 11.8619 21 12C21 12.1381 20.8881 12.25 20.75 12.25ZM3.25 12.25C3.11193 12.25 3 12.1381 3 12C3 11.8619 3.11193 11.75 3.25 11.75C3.38807 11.75 3.5 11.8619 3.5 12C3.5 12.1381 3.38807 12.25 3.25 12.25ZM18.3636 5.98937C18.266 6.087 18.1077 6.087 18.01 5.98937C17.9124 5.89174 17.9124 5.73345 18.01 5.63582C18.1077 5.53819 18.266 5.53819 18.3636 5.63582C18.4612 5.73345 18.4612 5.89174 18.3636 5.98937ZM5.9889 18.3634C5.89127 18.461 5.73297 18.461 5.63534 18.3634C5.53771 18.2658 5.53771 18.1075 5.63534 18.0099C5.73297 17.9122 5.89127 17.9122 5.9889 18.0099C6.08653 18.1075 6.08653 18.2658 5.9889 18.3634ZM18.0103 18.364C17.9126 18.2663 17.9126 18.108 18.0103 18.0104C18.1079 17.9128 18.2662 17.9128 18.3638 18.0104C18.4614 18.108 18.4614 18.2663 18.3638 18.364C18.2662 18.4616 18.1079 18.4616 18.0103 18.364ZM5.6359 5.98959C5.53827 5.89196 5.53827 5.73367 5.6359 5.63604C5.73353 5.53841 5.89182 5.53841 5.98945 5.63604C6.08708 5.73367 6.08708 5.89196 5.98945 5.98959C5.89182 6.08722 5.73353 6.08722 5.6359 5.98959Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Ge=[[`path`,{d:`M5 14L8.5 17.5L19 6.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ke=[[`path`,{d:`M2 12C2 8.22876 2 6.34315 3.17157 5.17157C4.34315 4 6.22876 4 10 4H14C17.7712 4 19.6569 4 20.8284 5.17157C22 6.34315 22 8.22876 22 12C22 15.7712 22 17.6569 20.8284 18.8284C19.6569 20 17.7712 20 14 20H10C6.22876 20 4.34315 20 3.17157 18.8284C2 17.6569 2 15.7712 2 12Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9 12.5C7.61929 12.5 6.5 11.3807 6.5 10C6.5 8.61929 7.61929 7.5 9 7.5C10.3807 7.5 11.5 8.61929 11.5 10C11.5 11.3807 10.3807 12.5 9 12.5ZM9 12.5C11.2091 12.5 13 14.2909 13 16.5M9 12.5C6.79086 12.5 5 14.2909 5 16.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M15 9H19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M15 12H19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],qe=[[`path`,{d:`M13 11C13 8.79086 11.2091 7 9 7C6.79086 7 5 8.79086 5 11C5 13.2091 6.79086 15 9 15C11.2091 15 13 13.2091 13 11Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M11.0386 7.55773C11.0131 7.37547 11 7.18927 11 7C11 4.79086 12.7909 3 15 3C17.2091 3 19 4.79086 19 7C19 9.20914 17.2091 11 15 11C14.2554 11 13.5584 10.7966 12.9614 10.4423`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M15 21C15 17.6863 12.3137 15 9 15C5.68629 15 3 17.6863 3 21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M21 17C21 13.6863 18.3137 11 15 11`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],Je=[[`path`,{d:`M17 8.5C17 5.73858 14.7614 3.5 12 3.5C9.23858 3.5 7 5.73858 7 8.5C7 11.2614 9.23858 13.5 12 13.5C14.7614 13.5 17 11.2614 17 8.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M19 20.5C19 16.634 15.866 13.5 12 13.5C8.13401 13.5 5 16.634 5 20.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Ye=[[`path`,{d:`M17.7001 21.3351C16.5281 21.4998 14.9996 21.4998 12.9501 21.4998H11.0501C7.01955 21.4998 5.0043 21.4998 3.75218 20.2476C2.50006 18.9955 2.50006 16.9803 2.50006 12.9498V11.0498C2.50006 7.01925 2.50006 5.00399 3.75218 3.75187C5.0043 2.49976 7.01955 2.49976 11.0501 2.49976H12.9501C16.9806 2.49976 18.9958 2.49976 20.2479 3.75187C21.5001 5.00399 21.5001 7.01925 21.5001 11.0498V12.9498C21.5001 14.158 21.5001 15.1851 21.4663 16.0648C21.4393 16.7699 21.4258 17.1224 21.1588 17.2541C20.8918 17.3859 20.5932 17.1746 19.9958 16.752L18.6501 15.7998`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M14.9453 12.3948C14.7686 13.0215 13.9333 13.4644 12.2629 14.3502C10.648 15.2064 9.8406 15.6346 9.18992 15.4625C8.9209 15.3913 8.6758 15.2562 8.47812 15.07C8 14.6198 8 13.7465 8 12C8 10.2535 8 9.38018 8.47812 8.92995C8.6758 8.74381 8.9209 8.60868 9.18992 8.53753C9.8406 8.36544 10.648 8.79357 12.2629 9.64983C13.9333 10.5356 14.7686 10.9785 14.9453 11.6052C15.0182 11.8639 15.0182 12.1361 14.9453 12.3948Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Xe=[[`path`,{d:`M21.544 11.045C21.848 11.4713 22 11.6845 22 12C22 12.3155 21.848 12.5287 21.544 12.955C20.1779 14.8706 16.6892 19 12 19C7.31078 19 3.8221 14.8706 2.45604 12.955C2.15201 12.5287 2 12.3155 2 12C2 11.6845 2.15201 11.4713 2.45604 11.045C3.8221 9.12944 7.31078 5 12 5C16.6892 5 20.1779 9.12944 21.544 11.045Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`1`}]],Ze=[[`path`,{d:`M14 3H5C3.89543 3 3 3.89543 3 5C3 6.10457 3.89543 7 5 7H18C18 6.07003 18 5.60504 17.8978 5.22354C17.6204 4.18827 16.8117 3.37962 15.7765 3.10222C15.395 3 14.93 3 14 3Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M3 5V15C3 17.8284 3 19.2426 3.87868 20.1213C4.75736 21 6.17157 21 9 21H15C17.8284 21 19.2426 21 20.1213 20.1213C21 19.2426 21 17.8284 21 15V13C21 10.1716 21 8.75736 20.1213 7.87868C19.2426 7 17.8284 7 15 7H7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M21 12H19C18.535 12 18.3025 12 18.1118 12.0511C17.5941 12.1898 17.1898 12.5941 17.0511 13.1118C17 13.3025 17 13.535 17 14C17 14.465 17 14.6975 17.0511 14.8882C17.1898 15.4059 17.5941 15.8102 18.1118 15.9489C18.3025 16 18.535 16 19 16H21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Qe=[[`path`,{d:`M20 13V10.6569C20 9.83935 20 9.4306 19.8478 9.06306C19.6955 8.69552 19.4065 8.40649 18.8284 7.82843L14.0919 3.09188C13.593 2.593 13.3436 2.34355 13.0345 2.19575C12.9702 2.165 12.9044 2.13772 12.8372 2.11401C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88607C5.26731 3.06508 5.06508 3.26731 4.88607 3.48933C4 4.58831 4 6.21082 4 9.45584V13M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M10.5 16V20C10.5 20.9428 10.5 21.4142 10.7929 21.7071C11.0858 22 11.5572 22 12.5 22H14`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M4 16L6 19M6 19L8 22M6 19L8 16M6 19L4 22`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M20.0002 16H17.5C16.9477 16 16.5 16.4477 16.5 17V18C16.5 18.5523 16.9477 19 17.5 19H19.0002C19.5525 19 20.0002 19.4477 20.0002 20V21C20.0002 21.5523 19.5525 22 19.0002 22H16.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]];function $e({className:e,classNames:t,showOutsideDays:n=!0,...r}){let i=(0,h.getDefaultClassNames)();return(0,m.jsx)(h.DayPicker,{showOutsideDays:n,className:T(`p-2`,e),classNames:{root:T(`w-fit`,i.root),months:`relative flex flex-col gap-2`,month:`flex w-full flex-col gap-2`,nav:`absolute inset-x-0 top-0 flex items-center justify-between`,button_previous:T(D({variant:`ghost`,size:`icon-xs`}),`cursor-pointer text-muted-foreground`),button_next:T(D({variant:`ghost`,size:`icon-xs`}),`cursor-pointer text-muted-foreground`),month_caption:`flex h-6 items-center justify-center`,caption_label:`text-[0.8rem] font-medium`,month_grid:`w-full border-collapse`,weekdays:`flex`,weekday:`flex-1 text-[0.7rem] font-normal text-muted-foreground`,week:`mt-0.5 flex w-full`,day:`relative flex-1 p-0 text-center text-xs`,day_button:T(D({variant:`ghost`,size:`icon-xs`}),`mx-auto size-7 cursor-pointer rounded-md text-xs font-normal`),selected:`[&>button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground`,range_start:`rounded-l-md bg-primary/10`,range_end:`rounded-r-md bg-primary/10`,range_middle:`bg-primary/10 [&>button]:!bg-transparent [&>button]:!text-foreground [&>button]:rounded-none [&>button]:hover:!bg-primary/15`,today:`[&>button]:font-semibold [&>button]:text-primary`,outside:`text-muted-foreground/40`,disabled:`text-muted-foreground opacity-50`,hidden:`invisible`,...t},components:{Chevron:({orientation:e})=>(0,m.jsx)(g.HugeiconsIcon,{icon:e===`left`?ae:L,size:16,strokeWidth:2})},...r})}function et({className:e,...t}){return(0,m.jsx)(_.Root,{"data-slot":`checkbox`,className:T(`peer size-4 shrink-0 rounded-[5px] border border-slate-300 bg-background shadow-xs outline-none transition-colors`,`focus-visible:ring-2 focus-visible:ring-primary/30`,`data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`,e),...t,children:(0,m.jsx)(_.Indicator,{className:`flex items-center justify-center text-current`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Ge,size:12,strokeWidth:2.5})})})}function tt(e){return(0,m.jsx)(v.Root,{"data-slot":`dialog`,...e})}function nt(e){return(0,m.jsx)(v.Trigger,{"data-slot":`dialog-trigger`,...e})}function rt(e){return(0,m.jsx)(v.Close,{"data-slot":`dialog-close`,...e})}function it({className:e,...t}){return(0,m.jsx)(v.Overlay,{"data-slot":`dialog-overlay`,className:T(`fixed inset-0 z-50 bg-black/40 backdrop-blur-[1px]`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t})}function at({className:e,children:t,showClose:n=!0,...r}){return(0,m.jsx)(v.Portal,{children:(0,m.jsxs)(`div`,{className:E,children:[(0,m.jsx)(it,{}),(0,m.jsxs)(v.Content,{"data-slot":`dialog-content`,className:T(`fixed top-1/2 left-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2`,`rounded-2xl border border-cb-line bg-background p-6 shadow-xl`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`,e),...r,children:[t,n&&(0,m.jsxs)(v.Close,{className:`absolute top-5 right-5 cursor-pointer rounded-md p-1 text-cb-muted opacity-80 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:outline-none`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ue,size:18,strokeWidth:2}),(0,m.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})})}function ot({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`dialog-header`,className:T(`flex flex-col gap-1`,e),...t})}function st({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`dialog-footer`,className:T(`mt-6 flex items-center gap-2`,e),...t})}function ct({className:e,...t}){return(0,m.jsx)(v.Title,{"data-slot":`dialog-title`,className:T(`text-xl font-semibold text-foreground`,e),...t})}function lt({className:e,...t}){return(0,m.jsx)(v.Description,{"data-slot":`dialog-description`,className:T(`text-sm text-muted-foreground`,e),...t})}function ut({open:e,onOpenChange:t,title:n,description:r,confirmLabel:i=`Confirm`,cancelLabel:a=`Cancel`,destructive:o=!1,onConfirm:s}){return(0,m.jsx)(tt,{open:e,onOpenChange:t,children:(0,m.jsxs)(at,{className:`max-w-sm`,children:[(0,m.jsxs)(ot,{children:[(0,m.jsx)(ct,{children:n}),r&&(0,m.jsx)(lt,{children:r})]}),(0,m.jsx)(k,{bleed:`dialog`,actions:[{key:`cancel`,label:a,variant:`outline`,onClick:()=>t(!1)},{key:`confirm`,label:i,variant:o?`destructive`:`default`,onClick:()=>{s(),t(!1)}}]})]})})}function dt(e){return(0,m.jsx)(y.Root,{"data-slot":`dropdown-menu`,...e})}function ft(e){return(0,m.jsx)(y.Trigger,{"data-slot":`dropdown-menu-trigger`,...e})}function pt(e){return(0,m.jsx)(y.Group,{"data-slot":`dropdown-menu-group`,...e})}function mt({className:e,sideOffset:t=6,...n}){return(0,m.jsx)(y.Portal,{children:(0,m.jsx)(`div`,{className:E,children:(0,m.jsx)(y.Content,{"data-slot":`dropdown-menu-content`,sideOffset:t,className:T(`z-50 min-w-[13rem] overflow-hidden rounded-xl border border-cb-line bg-popover p-1 text-popover-foreground shadow-lg`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`,`data-[side=top]:slide-in-from-bottom-2 data-[side=bottom]:slide-in-from-top-2`,e),...n})})})}function ht({className:e,inset:t,...n}){return(0,m.jsx)(y.Item,{"data-slot":`dropdown-menu-item`,"data-inset":t,className:T(`relative flex cursor-pointer select-none items-center gap-2 rounded-lg px-2 py-1.5 text-[13px] text-cb-text outline-none transition-colors`,`focus:bg-cb-seg focus:text-cb-ink2 data-[inset]:pl-8`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,e),...n})}function gt({className:e,children:t,checked:n,...r}){return(0,m.jsxs)(y.CheckboxItem,{"data-slot":`dropdown-menu-checkbox-item`,checked:n,className:T(`relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pr-2 pl-8 text-[13px] text-cb-text outline-none transition-colors`,`focus:bg-cb-seg focus:text-cb-ink2 data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,e),...r,children:[(0,m.jsx)(`span`,{className:`pointer-events-none absolute left-2.5 flex size-4 items-center justify-center`,children:(0,m.jsx)(y.ItemIndicator,{children:(0,m.jsx)(g.HugeiconsIcon,{icon:Ge,size:16,strokeWidth:2.2,className:`text-primary`})})}),t]})}function _t({className:e,...t}){return(0,m.jsx)(y.Separator,{"data-slot":`dropdown-menu-separator`,className:T(`-mx-1 my-1 h-px bg-cb-line`,e),...t})}function vt({className:e,...t}){return(0,m.jsx)(y.Label,{"data-slot":`dropdown-menu-label`,className:T(`px-2.5 py-1.5 text-xs font-medium text-cb-muted`,e),...t})}function yt(e){return(0,m.jsx)(y.Sub,{"data-slot":`dropdown-menu-sub`,...e})}function bt({className:e,children:t,...n}){return(0,m.jsxs)(y.SubTrigger,{"data-slot":`dropdown-menu-sub-trigger`,className:T(`relative flex cursor-pointer select-none items-center gap-2 rounded-lg px-2 py-1.5 text-[13px] text-cb-text outline-none transition-colors`,`focus:bg-cb-seg focus:text-cb-ink2 data-[state=open]:bg-cb-seg data-[state=open]:text-cb-ink2`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,e),...n,children:[t,(0,m.jsx)(g.HugeiconsIcon,{icon:L,size:16,strokeWidth:2,className:`ml-auto text-cb-muted`})]})}function xt({className:e,...t}){return(0,m.jsx)(y.Portal,{children:(0,m.jsx)(`div`,{className:E,children:(0,m.jsx)(y.SubContent,{"data-slot":`dropdown-menu-sub-content`,className:T(`z-50 min-w-[10rem] overflow-hidden rounded-xl border border-cb-line bg-popover p-1 text-popover-foreground shadow-lg`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`,e),...t})})})}function St(e){return(0,m.jsx)(y.RadioGroup,{"data-slot":`dropdown-menu-radio-group`,...e})}function V({className:e,children:t,...n}){return(0,m.jsxs)(y.RadioItem,{"data-slot":`dropdown-menu-radio-item`,className:T(`relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pr-2 pl-8 text-[13px] text-cb-text outline-none transition-colors`,`focus:bg-cb-seg focus:text-cb-ink2 data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,e),...n,children:[(0,m.jsx)(`span`,{className:`pointer-events-none absolute left-2.5 flex size-4 items-center justify-center`,children:(0,m.jsx)(y.ItemIndicator,{children:(0,m.jsx)(g.HugeiconsIcon,{icon:Ge,size:16,strokeWidth:2.2,className:`text-primary`})})}),t]})}function Ct({className:e,type:t,...n}){return(0,m.jsx)(`input`,{type:t,"data-slot":`input`,className:T(`h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,e),...n})}function wt({className:e,...t}){return(0,m.jsx)(b.Root,{"data-slot":`label`,className:T(`flex items-center gap-2 text-sm text-foreground select-none`,`peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,e),...t})}function Tt({className:e,...t}){return(0,m.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:T(`flex w-fit items-center`,e),...t})}function Et({className:e,...t}){return(0,m.jsx)(`ul`,{"data-slot":`pagination-content`,className:T(`flex items-center gap-1`,e),...t})}function Dt(e){return(0,m.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function Ot({className:e,isActive:t,size:n=`icon`,...r}){return(0,m.jsx)(`button`,{type:`button`,"aria-current":t?`page`:void 0,"data-slot":`pagination-link`,"data-active":t,className:T(D({variant:t?`outline`:`ghost`,size:n}),`cursor-pointer`,e),...r})}function kt({className:e,...t}){return(0,m.jsxs)(Ot,{"aria-label":`Go to previous page`,size:`default`,className:T(`gap-1 px-2.5`,e),...t,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ae,size:16,strokeWidth:2}),(0,m.jsx)(`span`,{children:`Previous`})]})}function At({className:e,...t}){return(0,m.jsxs)(Ot,{"aria-label":`Go to next page`,size:`default`,className:T(`gap-1 px-2.5`,e),...t,children:[(0,m.jsx)(`span`,{children:`Next`}),(0,m.jsx)(g.HugeiconsIcon,{icon:L,size:16,strokeWidth:2})]})}function jt({className:e,...t}){return(0,m.jsx)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:T(`flex size-8 items-center justify-center text-muted-foreground`,e),...t,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Me,size:16,strokeWidth:2})})}function Mt(e){return(0,m.jsx)(x.Root,{"data-slot":`popover`,...e})}function Nt(e){return(0,m.jsx)(x.Trigger,{"data-slot":`popover-trigger`,...e})}function Pt(e){return(0,m.jsx)(x.Anchor,{"data-slot":`popover-anchor`,...e})}function Ft({className:e,align:t=`center`,sideOffset:n=8,...r}){return(0,m.jsx)(x.Portal,{children:(0,m.jsx)(`div`,{className:E,children:(0,m.jsx)(x.Content,{"data-slot":`popover-content`,align:t,sideOffset:n,className:T(`z-50 overflow-hidden rounded-xl border border-cb-line bg-popover text-popover-foreground shadow-lg outline-none`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`,`data-[side=top]:slide-in-from-bottom-2 data-[side=bottom]:slide-in-from-top-2`,e),...r})})})}function It({className:e,...t}){return(0,m.jsx)(S.Root,{"data-slot":`radio-group`,className:T(`grid gap-2`,e),...t})}function Lt({className:e,...t}){return(0,m.jsx)(S.Item,{"data-slot":`radio-group-item`,className:T(`aspect-square size-4 shrink-0 rounded-full border border-slate-300 bg-background shadow-xs outline-none transition-colors`,`focus-visible:ring-2 focus-visible:ring-primary/30 data-[state=checked]:border-primary`,`disabled:cursor-not-allowed disabled:opacity-50`,e),...t,children:(0,m.jsx)(S.Indicator,{className:`flex items-center justify-center`,children:(0,m.jsx)(`span`,{className:`size-2 rounded-full bg-primary`})})})}var Rt=28;function zt({children:e,className:t,viewportClassName:n,...r}){let i=(0,d.useRef)(null),[a,o]=(0,d.useState)({height:0,top:0,visible:!1}),s=(0,d.useCallback)(()=>{let e=i.current;if(!e)return;let{scrollHeight:t,clientHeight:n,scrollTop:r}=e;if(t<=n+1){o(e=>e.visible?{...e,visible:!1}:e);return}let a=Math.max(n/t*n,Rt),s=r/(t-n)*(n-a);o({height:a,top:s,visible:!0})},[]);(0,d.useLayoutEffect)(()=>{s()},[s,e]),(0,d.useEffect)(()=>{let e=i.current;if(!e||typeof ResizeObserver>`u`)return;let t=new ResizeObserver(s);return t.observe(e),()=>t.disconnect()},[s]);let c=(0,d.useRef)(null),l=e=>{let t=i.current;t&&(e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),c.current={startY:e.clientY,startScroll:t.scrollTop})},u=e=>{let t=i.current,n=c.current;if(!t||!n)return;let r=t.clientHeight-a.height;if(r<=0)return;let o=t.scrollHeight-t.clientHeight;t.scrollTop=n.startScroll+(e.clientY-n.startY)/r*o},f=e=>{c.current=null,e.currentTarget.releasePointerCapture?.(e.pointerId)};return(0,m.jsxs)(`div`,{className:T(`relative`,t),...r,children:[(0,m.jsx)(`div`,{ref:i,onScroll:s,className:T(`h-full overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`,n),children:e}),a.visible&&(0,m.jsx)(`div`,{className:`pointer-events-none absolute inset-y-0 right-[3px] w-1`,children:(0,m.jsx)(`div`,{onPointerDown:l,onPointerMove:u,onPointerUp:f,style:{height:a.height,transform:`translateY(${a.top}px)`},className:`pointer-events-auto w-full cursor-grab rounded-full bg-cb-muted/40 transition-colors hover:bg-cb-muted/70 active:cursor-grabbing`})})]})}function Bt({className:e,orientation:t=`horizontal`,decorative:n=!0,...r}){return(0,m.jsx)(p.Separator.Root,{"data-slot":`separator`,decorative:n,orientation:t,className:T(`shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch`,e),...r})}function Vt(e){return(0,m.jsx)(v.Root,{"data-slot":`side-panel`,...e})}function Ht(e){return(0,m.jsx)(v.Trigger,{"data-slot":`side-panel-trigger`,...e})}function Ut(e){return(0,m.jsx)(v.Close,{"data-slot":`side-panel-close`,...e})}function Wt({className:e,...t}){return(0,m.jsx)(v.Overlay,{"data-slot":`side-panel-overlay`,className:T(`fixed inset-0 z-50 bg-black/30 backdrop-blur-[1px]`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t})}function Gt({className:e,children:t,side:n=`right`,showClose:r=!0,...i}){return(0,m.jsx)(v.Portal,{children:(0,m.jsxs)(`div`,{className:E,children:[(0,m.jsx)(Wt,{}),(0,m.jsxs)(v.Content,{"data-slot":`side-panel-content`,className:T(`fixed z-50 flex h-full w-full max-w-md flex-col overflow-hidden bg-background shadow-xl transition ease-in-out`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-200 data-[state=open]:duration-300`,n===`right`&&`inset-y-0 right-0 rounded-l-2xl border-l border-cb-line data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right`,n===`left`&&`inset-y-0 left-0 rounded-r-2xl border-r border-cb-line data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left`,e),...i,children:[t,r&&(0,m.jsxs)(v.Close,{className:`absolute top-5 right-5 cursor-pointer rounded-md p-1 text-cb-muted opacity-80 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:outline-none`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ue,size:18,strokeWidth:2}),(0,m.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})})}function Kt({className:e,children:t,...n}){return(0,m.jsxs)(`div`,{"data-slot":`side-panel-header`,className:T(`relative shrink-0 px-6 py-5`,e),...n,children:[t,(0,m.jsx)(`div`,{"aria-hidden":!0,className:`pointer-events-none absolute inset-x-0 top-full z-10 h-6 bg-gradient-to-b from-background to-transparent`})]})}function qt({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`side-panel-body`,className:T(`min-h-0 flex-1 overflow-y-auto px-6 py-5`,e),...t})}function Jt({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`side-panel-footer`,className:T(`shrink-0 border-t border-cb-line px-6 py-4`,e),...t})}function Yt({className:e,...t}){return(0,m.jsx)(v.Title,{"data-slot":`side-panel-title`,className:T(`text-lg font-semibold text-foreground`,e),...t})}function Xt({className:e,...t}){return(0,m.jsx)(v.Description,{"data-slot":`side-panel-description`,className:T(`mt-0.5 text-sm text-muted-foreground`,e),...t})}function Zt({className:e,...t}){return(0,m.jsx)(Bt,{className:T(`my-5 bg-cb-line`,e),...t})}function Qt({className:e,...t}){return(0,m.jsx)(`h3`,{"data-slot":`side-panel-section-title`,className:T(`mb-2.5 text-base font-semibold text-foreground`,e),...t})}function H({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`skeleton`,className:T(`animate-pulse rounded-md bg-slate-200/70 dark:bg-slate-700/40`,e),...t})}function $t({className:e,containerClassName:t,...n}){return(0,m.jsx)(`div`,{"data-slot":`table-container`,className:T(`relative w-full overflow-x-auto`,t),children:(0,m.jsx)(`table`,{"data-slot":`table`,className:T(`w-full caption-bottom text-sm`,e),...n})})}function en({className:e,...t}){return(0,m.jsx)(`thead`,{"data-slot":`table-header`,className:T(`[&_tr]:border-b`,e),...t})}function tn({className:e,...t}){return(0,m.jsx)(`tbody`,{"data-slot":`table-body`,className:T(`[&_tr:last-child]:border-0`,e),...t})}function nn({className:e,...t}){return(0,m.jsx)(`tfoot`,{"data-slot":`table-footer`,className:T(`border-t bg-muted/50 font-medium [&>tr]:last:border-b-0`,e),...t})}function rn({className:e,...t}){return(0,m.jsx)(`tr`,{"data-slot":`table-row`,className:T(`border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted`,e),...t})}function an({className:e,...t}){return(0,m.jsx)(`th`,{"data-slot":`table-head`,className:T(`h-10 px-2 text-left align-middle text-xs font-medium whitespace-nowrap text-muted-foreground [&:has([role=checkbox])]:pr-0`,e),...t})}function U({className:e,...t}){return(0,m.jsx)(`td`,{"data-slot":`table-cell`,className:T(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0`,e),...t})}function on({className:e,...t}){return(0,m.jsx)(`caption`,{"data-slot":`table-caption`,className:T(`mt-4 text-sm text-muted-foreground`,e),...t})}function sn({className:e,orientation:t=`horizontal`,...n}){return(0,m.jsx)(p.Tabs.Root,{"data-slot":`tabs`,"data-orientation":t,className:T(`group/tabs flex gap-2 data-horizontal:flex-col`,e),...n})}var cn=(0,f.cva)(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function ln({className:e,variant:t=`default`,...n}){return(0,m.jsx)(p.Tabs.List,{"data-slot":`tabs-list`,"data-variant":t,className:T(cn({variant:t}),e),...n})}function un({className:e,...t}){return(0,m.jsx)(p.Tabs.Trigger,{"data-slot":`tabs-trigger`,className:T(`relative inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,e),...t})}function dn({className:e,...t}){return(0,m.jsx)(p.Tabs.Content,{"data-slot":`tabs-content`,className:T(`flex-1 text-sm outline-none`,e),...t})}function fn({delayDuration:e=200,...t}){return(0,m.jsx)(C.Provider,{"data-slot":`tooltip-provider`,delayDuration:e,...t})}function pn(e){return(0,m.jsx)(fn,{children:(0,m.jsx)(C.Root,{"data-slot":`tooltip`,...e})})}function mn(e){return(0,m.jsx)(C.Trigger,{"data-slot":`tooltip-trigger`,...e})}function hn({className:e,sideOffset:t=6,children:n,...r}){return(0,m.jsx)(C.Portal,{children:(0,m.jsx)(`div`,{className:E,children:(0,m.jsxs)(C.Content,{"data-slot":`tooltip-content`,sideOffset:t,className:T(`z-50 rounded-md bg-slate-900 px-2 py-1 text-xs font-medium text-white shadow-md dark:bg-slate-700`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95`,e),...r,children:[n,(0,m.jsx)(C.Arrow,{className:`fill-slate-900 dark:fill-slate-700`})]})})})}function gn(e){return e.trim().split(/\s+/).map(e=>e[0]).slice(0,2).join(``).toUpperCase()}function _n({src:e,name:t=``,size:n=32,className:r}){return(0,m.jsx)(`span`,{className:T(`inline-flex shrink-0 select-none items-center justify-center overflow-hidden rounded-full bg-cb-seg font-medium text-cb-text`,r),style:{width:n,height:n,fontSize:Math.round(n*.4)},role:`img`,"aria-label":t||void 0,children:e?(0,m.jsx)(`img`,{src:e,alt:t,className:`h-full w-full object-cover`}):(0,m.jsx)(`span`,{children:gn(t)})})}var vn={count:`ml-auto rounded-lg bg-cb-blue px-1.5 py-px text-[10px] font-bold text-white`,soon:`ml-auto rounded-md bg-cb-orange-soft px-1.5 py-[1.5px] text-[9.5px] font-bold tracking-[0.04em] text-cb-soon`,ext:`ml-auto text-xs text-cb-faint`};function yn({variant:e=`count`,value:t}){let n=e===`soon`?`SOON`:e===`ext`?`↗`:String(t??``);return(0,m.jsx)(`span`,{className:T(vn[e]),children:n})}function bn({text:e=`Label`}){return(0,m.jsx)(`span`,{className:`flex-1 truncate`,children:e})}var xn={grid:B,checkc:z,swap:F,shield:Ve,wallet:Ze,down:P,up:oe,convert:I,transfer:M,book:Ne,invoice:De,payout:Ae,bank:se,chart:fe,code:Ue,widget:ye,org:ce,users:qe,list:Oe,card:_e,help:Te,coins:pe,safe:Re,useraccount:Ke,global:Ce,settings:Be},Sn=xn,Cn=Object.keys(xn);function wn({name:e=`grid`,active:t=!1,size:n=18}){return(0,m.jsx)(`span`,{className:T(`shrink-0`,t?`text-[var(--nav-link-active)]`:`opacity-[var(--nav-icon-opacity)]`),children:(0,m.jsx)(g.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YIumvkZAAOAAAAAAAAkePs30cr21QxHgEAAAAAAADUlBZMm3pytcy2YBfBSjcAAAAAAADUju7dJqEHu48uD6nCEHQDAAAAAABALWgaOYXy9JfO0ZO61LVC0A0AAAAAAACVFa9ovzJvDne3qr2qfRYE3QAAAAAAAFC4uPjZ8Wq1Ca7H2qFJAvmPzzwKfX/0lt6O696p6f8A9GA8MyP9tzwAAAAASUVORK5CYII=`;function En({src:e=Tn,alt:t=`Chainberry`,href:n,collapsed:r=!1}){let i=(0,m.jsx)(`img`,{src:e,alt:t,className:r?`h-[22px] w-[22px] object-cover object-left`:`h-6 w-auto`}),a=T(`flex items-center`,r&&`justify-center`);return n?(0,m.jsx)(`a`,{href:n,className:T(a,`cursor-pointer`),children:i}):(0,m.jsx)(`span`,{className:a,children:i})}var Dn=`mx-2.5 mt-2 mb-1 text-[11px] font-semibold uppercase tracking-[0.09em] text-[var(--nav-section)]`;function On({label:e=`Section`,collapsible:t=!1,expanded:n=!0,onToggle:r,controls:i}){return t?(0,m.jsxs)(`button`,{type:`button`,onClick:r,"aria-expanded":n,"aria-controls":i,className:T(Dn,`group flex w-[calc(100%-1.25rem)] cursor-pointer items-center justify-between rounded outline-none transition-colors`,`hover:text-[var(--nav-link-hover)] focus-visible:ring-2 focus-visible:ring-ring/50`),children:[(0,m.jsx)(`span`,{children:e}),(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:13,strokeWidth:2.25,className:T(`shrink-0 opacity-70 transition-transform duration-200 group-hover:opacity-100`,n?``:`-rotate-90`)})]}):(0,m.jsx)(`h6`,{className:Dn,children:e})}function kn({id:e,label:t,icon:n,active:r=!1,collapsed:i=!1,sub:a=!1,badge:o,soon:s=!1,ext:c,onNavigate:l}){let u=T(`group flex w-full cursor-pointer items-center rounded-lg transition-colors`,a?`text-[14px]`:`text-[14.5px]`,i?`justify-center gap-0 px-0 py-2`:`gap-2.5 px-2.5 py-[5px] text-left mb-px`,r?T(`bg-cb-seg text-[var(--nav-link-active)]`,a?`font-[450]`:`font-[550]`):`font-[450] text-[var(--nav-link)] hover:bg-cb-seg hover:text-[var(--nav-link-hover)]`),d=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(wn,{name:n,active:r,size:a&&!i?16:18}),!i&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(bn,{text:t}),s?(0,m.jsx)(yn,{variant:`soon`}):c?(0,m.jsx)(yn,{variant:`ext`}):o==null?null:(0,m.jsx)(yn,{variant:`count`,value:o})]})]}),f=c?(0,m.jsx)(`a`,{href:c,target:`_blank`,rel:`noopener`,"aria-label":t,title:i?void 0:t,className:u,children:d}):(0,m.jsx)(`button`,{type:`button`,"data-nav":e,"aria-label":t,title:i?void 0:t,className:u,onClick:()=>l?.(e),children:d});return i?(0,m.jsxs)(pn,{children:[(0,m.jsx)(mn,{asChild:!0,children:f}),(0,m.jsx)(hn,{side:`right`,children:t})]}):f}function An({label:e,icon:t,expanded:n=!0,onToggle:r,controls:i}){return(0,m.jsxs)(`button`,{type:`button`,onClick:r,"aria-expanded":n,"aria-controls":i,title:e,className:T(`group mb-px flex w-full cursor-pointer items-center gap-2.5 rounded-lg px-2.5 py-[5px] text-left text-[14.5px] font-[450] transition-colors`,`text-[var(--nav-link)] hover:bg-cb-seg hover:text-[var(--nav-link-hover)]`),children:[(0,m.jsx)(wn,{name:t}),(0,m.jsx)(bn,{text:e}),(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2,className:T(`shrink-0 opacity-60 transition-transform duration-200 group-hover:opacity-100`,n?``:`-rotate-90`)})]})}function jn({label:e,icon:t,items:n,activeId:r,onNavigate:i}){let[a,o]=(0,d.useState)(!1),s=(0,d.useRef)(null),c=n.some(e=>e.id===r),l=()=>{s.current&&clearTimeout(s.current),o(!0)},u=()=>{s.current&&clearTimeout(s.current),s.current=setTimeout(()=>o(!1),120)};return(0,m.jsxs)(Mt,{open:a,onOpenChange:o,children:[(0,m.jsx)(Pt,{asChild:!0,children:(0,m.jsx)(`button`,{type:`button`,"aria-label":e,"aria-haspopup":`menu`,"aria-expanded":a,onMouseEnter:l,onMouseLeave:u,onClick:l,onFocus:l,onBlur:u,className:T(`group flex w-full cursor-pointer items-center justify-center rounded-lg py-2 transition-colors`,c?`bg-cb-seg text-[var(--nav-link-active)]`:`text-[var(--nav-link)] hover:bg-cb-seg hover:text-[var(--nav-link-hover)]`),children:(0,m.jsx)(wn,{name:t,active:c})})}),(0,m.jsxs)(Ft,{side:`right`,align:`start`,sideOffset:10,onOpenAutoFocus:e=>e.preventDefault(),onMouseEnter:l,onMouseLeave:u,className:`w-56 p-1.5`,children:[(0,m.jsx)(`p`,{className:`mx-2 mt-1 mb-1.5 text-[11px] font-semibold uppercase tracking-[0.09em] text-[var(--nav-section)]`,children:e}),n.map(e=>(0,m.jsx)(kn,{...e,active:e.id===r,onNavigate:e=>{i?.(e),o(!1)}},e.id))]})]})}function Mn({label:e,icon:t,items:n=[],divider:r=!1,activeId:i,collapsed:a=!1,open:o,onToggle:s,onNavigate:c}){let[l,u]=(0,d.useState)(!0),f=s!=null,p=f?!!o:l,h=f?s:()=>u(e=>!e),g=(0,d.useId)(),_=!a&&!!e,v=a&&!!e&&!!t,y=n.map(e=>(0,m.jsx)(kn,{...e,active:e.id===i,collapsed:a,sub:_&&!!t,onNavigate:c},e.id));return(0,m.jsxs)(`div`,{className:T(r&&!a&&`mt-2 border-t border-cb-line pt-[11px]`,a&&`mb-1`),children:[v&&(0,m.jsx)(jn,{label:e,icon:t,items:n,activeId:i,onNavigate:c}),_&&(t?(0,m.jsx)(An,{label:e,icon:t,expanded:p,onToggle:h,controls:g}):(0,m.jsx)(On,{label:e,collapsible:!0,expanded:p,onToggle:h,controls:g})),_?(0,m.jsx)(`div`,{id:g,className:T(`grid transition-[grid-template-rows] duration-200 ease-out`,p?`grid-rows-[1fr]`:`grid-rows-[0fr]`),children:(0,m.jsx)(`div`,{className:T(`overflow-hidden`,t&&`pl-[18px]`),children:y})}):v?null:y]})}var Nn={blue:`bg-blue-50 text-blue-600`,red:`bg-red-50 text-red-500`,green:`bg-green-50 text-green-600`};function Pn({icon:e,tone:t,title:n,detail:r,time:i,unread:a=!1}){return(0,m.jsxs)(`div`,{className:T(`flex gap-3 px-4 py-3 transition-colors`,a&&`bg-slate-50`),children:[(0,m.jsx)(`span`,{className:T(`flex size-9 shrink-0 items-center justify-center rounded-lg`,Nn[t]),children:(0,m.jsx)(g.HugeiconsIcon,{icon:e,size:18,strokeWidth:2})}),(0,m.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,m.jsxs)(`p`,{className:`text-[13.5px] leading-snug text-cb-text`,children:[(0,m.jsx)(`span`,{className:`font-semibold`,children:n}),` — `,r]}),(0,m.jsx)(`p`,{className:`mt-1 text-xs text-cb-muted`,children:i})]}),a&&(0,m.jsx)(`span`,{"aria-label":`Unread`,className:`mt-1.5 size-2 shrink-0 rounded-full bg-primary`})]})}var Fn=[{id:`approval`,icon:z,tone:`blue`,title:`Approval requested`,detail:`payout batch July affiliate run (41 lines, 12,450 USDT)`,time:`2h ago`,unread:!0},{id:`wallet-low`,icon:_e,tone:`red`,title:`USDT payout wallet (TRON) below minimum`,detail:`$48,320.40 / min $100,000`,time:`5h ago`,unread:!0},{id:`invoice-paid`,icon:De,tone:`green`,title:`Invoice INV-0006 paid`,detail:`$850.00 by DEMO Client 2`,time:`yesterday`,unread:!1}];function In({items:e,max:t=3,onViewAll:n,className:r}){let i=e.slice(0,t),a=e.filter(e=>e.unread).length;return(0,m.jsxs)(`div`,{className:T(`flex flex-col`,r),children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-2 border-b border-cb-line px-4 py-3`,children:[(0,m.jsx)(`h3`,{className:`text-[15px] font-semibold text-cb-text`,children:`Notifications`}),a>0&&(0,m.jsx)(`span`,{className:`inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-primary px-1.5 text-[11px] font-semibold text-primary-foreground`,children:a})]}),i.length===0?(0,m.jsx)(`div`,{className:`px-4 py-10 text-center text-[13.5px] text-cb-muted`,children:`You’re all caught up`}):(0,m.jsx)(`div`,{className:`divide-y divide-cb-line`,children:i.map(e=>(0,m.jsx)(Pn,{...e},e.id))}),(0,m.jsx)(`button`,{type:`button`,onClick:n,className:`w-full cursor-pointer border-t border-cb-line px-4 py-3 text-left text-[13.5px] font-medium text-primary transition-colors hover:bg-[#F1F4F8]`,children:`View all`})]})}function Ln({items:e=Fn,onViewAll:t}){let[n,r]=(0,d.useState)(!1),[i,a]=(0,d.useState)(!1),o=e.some(e=>e.unread)&&!n,s=i?e.map(e=>({...e,unread:!1})):e;return(0,m.jsxs)(Mt,{onOpenChange:e=>{e?r(!0):n&&a(!0)},children:[(0,m.jsx)(Nt,{asChild:!0,children:(0,m.jsx)(O,{type:`button`,variant:`ghost`,size:`icon`,className:`size-10 shrink-0 cursor-pointer text-[var(--nav-link)] hover:bg-[#F1F4F8] hover:text-[var(--nav-link-hover)] aria-expanded:bg-[#F1F4F8] aria-expanded:text-[var(--nav-link-hover)] dark:hover:bg-[#F1F4F8] dark:aria-expanded:bg-[#F1F4F8]`,"aria-label":o?`Notifications (new)`:`Notifications`,children:(0,m.jsxs)(`span`,{className:`relative inline-flex`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Pe,size:18,strokeWidth:2,className:`size-[18px] opacity-[var(--nav-icon-opacity)]`}),o&&(0,m.jsx)(`span`,{"aria-hidden":!0,className:`absolute -right-0.5 -top-0.5 size-2 rounded-full bg-primary ring-2 ring-cb-card`})]})})}),(0,m.jsx)(Ft,{side:`bottom`,align:`end`,className:`w-[380px] p-0`,children:(0,m.jsx)(In,{items:s,onViewAll:t})})]})}var Rn=[{code:`en`,label:`English`},{code:`sr`,label:`Srpski`},{code:`ru`,label:`Русский`}],zn=[{id:`admin`,label:`Admin`},{id:`financial-admin`,label:`Financial Administrator`},{id:`approver`,label:`Approver`},{id:`compliance`,label:`Compliance Officer`},{id:`viewer`,label:`Viewer - second org`}];function Bn(){let[e,t]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{t(document.documentElement.classList.contains(`dark`))},[]),{dark:e,setTheme:(0,d.useCallback)(e=>{document.documentElement.classList.toggle(`dark`,e===`dark`),t(e===`dark`)},[])}}function Vn(){let[e,t]=(0,d.useState)(`classic`);return(0,d.useEffect)(()=>{t(document.documentElement.dataset.nav===`new`?`new`:`classic`)},[]),{navStyle:e,toggleNavStyle:(0,d.useCallback)(()=>{t(e=>{let t=e===`new`?`classic`:`new`;return document.documentElement.dataset.nav=t,localStorage.setItem(`navStyle`,t),t})},[])}}function Hn({name:e=`Ivan Krstić`,avatarSrc:t,navMode:n=`primary`,onNavModeChange:r,headerMode:i=`v2`,onHeaderModeChange:a,onAccount:o,onLogout:s,onTakeTour:c,onResetDemo:l}){let{dark:u,setTheme:f}=Bn(),{navStyle:p,toggleNavStyle:h}=Vn(),[_,v]=(0,d.useState)(`en`),[y,b]=(0,d.useState)(`admin`),x=Rn.find(e=>e.code===_)?.label??`English`,S=zn.find(e=>e.id===y)?.label??`Admin`,C=e=>(0,m.jsx)(g.HugeiconsIcon,{icon:e,size:16,strokeWidth:2,className:`text-cb-muted`});return(0,m.jsxs)(dt,{children:[(0,m.jsx)(ft,{asChild:!0,children:(0,m.jsxs)(`button`,{type:`button`,className:`group flex min-w-0 cursor-pointer items-center gap-2.5 rounded-lg py-1 pr-1.5 pl-1.5 text-left outline-none transition-colors hover:bg-[#F1F4F8] data-[state=open]:bg-[#F1F4F8] focus-visible:ring-2 focus-visible:ring-ring/50`,children:[(0,m.jsx)(_n,{name:e,src:t,className:`bg-slate-200`}),(0,m.jsx)(`span`,{className:`min-w-0 max-w-[12rem] truncate text-[13.5px] font-medium text-cb-text`,children:e}),(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2,className:`-ml-1 shrink-0 text-cb-muted opacity-75`})]})}),(0,m.jsxs)(mt,{side:`bottom`,align:`end`,className:`min-w-[15rem]`,children:[(0,m.jsxs)(ht,{onSelect:()=>o?.(),children:[C(Je),`Account information`]}),(0,m.jsxs)(yt,{children:[(0,m.jsxs)(bt,{children:[C(u?je:We),`Theme: `,u?`Dark mode`:`Light mode`]}),(0,m.jsx)(xt,{children:(0,m.jsxs)(St,{value:u?`dark`:`light`,onValueChange:e=>f(e),children:[(0,m.jsx)(V,{value:`light`,children:`Light mode`}),(0,m.jsx)(V,{value:`dark`,children:`Dark mode`})]})})]}),(0,m.jsxs)(yt,{children:[(0,m.jsxs)(bt,{children:[C(we),`Language: `,x]}),(0,m.jsx)(xt,{children:(0,m.jsx)(St,{value:_,onValueChange:v,children:Rn.map(e=>(0,m.jsx)(V,{value:e.code,children:e.label},e.code))})})]}),(0,m.jsxs)(ht,{onSelect:()=>c?.(),children:[C(Ye),`Take the tour`]}),(0,m.jsx)(_t,{}),(0,m.jsxs)(yt,{children:[(0,m.jsxs)(bt,{children:[C(He),`Navigation mode: `,n===`full`?`Full`:`MVP`]}),(0,m.jsx)(xt,{children:(0,m.jsxs)(St,{value:n,onValueChange:e=>r?.(e),children:[(0,m.jsx)(V,{value:`primary`,children:`MVP`}),(0,m.jsx)(V,{value:`full`,children:`Full`})]})})]}),(0,m.jsxs)(ht,{onSelect:e=>{e.preventDefault(),h()},children:[C(he),`Nav bar style: `,p===`classic`?`Classic`:`New`]}),a&&(0,m.jsxs)(yt,{children:[(0,m.jsxs)(bt,{children:[C(ze),`Header: `,i===`v1`?`No search`:`Search`]}),(0,m.jsx)(xt,{children:(0,m.jsxs)(St,{value:i,onValueChange:e=>a(e),children:[(0,m.jsx)(V,{value:`v1`,children:`Version 1 · no search`}),(0,m.jsx)(V,{value:`v2`,children:`Version 2 · search`})]})})]}),(0,m.jsxs)(yt,{children:[(0,m.jsxs)(bt,{children:[C(Xe),(0,m.jsxs)(`span`,{className:`min-w-0 flex-1 truncate`,children:[`View as: `,S]})]}),(0,m.jsx)(xt,{children:(0,m.jsx)(St,{value:y,onValueChange:b,children:zn.map(e=>(0,m.jsx)(V,{value:e.id,children:e.label},e.id))})})]}),(0,m.jsxs)(ht,{onSelect:()=>l?.(),children:[C(Le),`Reset demo`]}),(0,m.jsx)(_t,{}),(0,m.jsxs)(ht,{onSelect:()=>s?.(),children:[C(ke),`Logout`]})]})]})}var Un=[{items:[{id:`dashboard`,label:`Dashboard`,icon:`grid`},{id:`approvals`,label:`Approvals`,icon:`checkc`,badge:4},{id:`transactions`,label:`Transactions`,icon:`swap`,badge:4}]},{label:`Treasury`,icon:`bank`,items:[{id:`balances`,label:`Balances`,icon:`wallet`},{id:`balances-v4`,label:`Balances V4`,icon:`wallet`},{id:`deposit`,label:`Deposit`,icon:`down`},{id:`withdraw`,label:`Withdraw`,icon:`up`},{id:`itransfer`,label:`Transfers`,icon:`transfer`},{id:`conversion`,label:`Convert`,icon:`convert`}]},{label:`Wallets`,icon:`wallet`,items:[{id:`treasurywallets`,label:`Treasury wallets`,icon:`safe`},{id:`userwallets`,label:`User wallets`,icon:`useraccount`},{id:`externalwallets`,label:`External wallets`,icon:`global`}]},{items:[{id:`payments`,label:`Payments`,icon:`coins`},{id:`invoices`,label:`Invoices`,icon:`invoice`},{id:`riskcontrols`,label:`Risk controls`,icon:`shield`}]},{divider:!0,items:[{id:`reports`,label:`Reports`,icon:`chart`},{id:`banking`,label:`Banking`,icon:`bank`,soon:!0}]},{label:`Developers`,icon:`code`,items:[{id:`devhub`,label:`Developer Hub`,icon:`code`},{id:`checkout`,label:`Checkout Widget`,icon:`widget`},{id:`devdocs`,label:`Developer Docs`,icon:`book`,ext:`#`}]},{label:`Administration`,icon:`settings`,items:[{id:`organization`,label:`Organization`,icon:`org`},{id:`users`,label:`Users & Roles`,icon:`users`},{id:`audit`,label:`Audit Log`,icon:`list`},{id:`billing`,label:`Billing & Usage`,icon:`card`}]},{items:[{id:`help`,label:`Help & Support`,icon:`help`}]}],Wn=[{items:[{id:`transactions`,label:`Transactions`,icon:`swap`}]},{label:`Treasury`,icon:`bank`,items:[{id:`balances`,label:`Balances`,icon:`wallet`},{id:`balances-v4`,label:`Balances V4`,icon:`wallet`},{id:`deposit`,label:`Deposit`,icon:`down`},{id:`withdraw`,label:`Withdraw`,icon:`up`},{id:`conversion`,label:`Convert`,icon:`convert`}]},{divider:!0,items:[{id:`reports`,label:`Reports`,icon:`chart`}]},{label:`Developers`,icon:`code`,items:[{id:`devhub`,label:`Developer Hub`,icon:`code`},{id:`devdocs`,label:`Developer Docs`,icon:`book`,ext:`#`}]},{label:`Administration`,icon:`settings`,items:[{id:`organization`,label:`Organization`,icon:`org`},{id:`users`,label:`Users & Roles`,icon:`users`},{id:`billing`,label:`Billing & Usage`,icon:`card`}]}],Gn={primary:Wn,full:Un},Kn=Object.fromEntries([...Wn,...Un].flatMap(e=>e.items).map(e=>[e.id,e]));function qn(e){return Kn[e]}var Jn=28;function Yn({config:e,preset:t=`primary`,activeId:n=`dashboard`,collapsed:r=!1,logoSrc:i,onNavigate:a}){let[o,s]=(0,d.useState)(r);(0,d.useEffect)(()=>{s(r)},[r]);let c=e||Gn[t]||Wn,l=e=>c.find(t=>t.label&&t.items.some(t=>t.id===e))?.label??null,[u,f]=(0,d.useState)(()=>l(n));(0,d.useEffect)(()=>{let e=l(n);e&&f(e)},[n]);let p=(0,d.useRef)(null),[h,_]=(0,d.useState)({height:0,top:0,visible:!1}),v=(0,d.useCallback)(()=>{let e=p.current;if(!e)return;let{scrollHeight:t,clientHeight:n,scrollTop:r}=e;if(t<=n+1){_(e=>e.visible?{...e,visible:!1}:e);return}let i=Math.max(n/t*n,Jn),a=r/(t-n)*(n-i);_({height:i,top:a,visible:!0})},[]);(0,d.useLayoutEffect)(()=>{v()},[v,c,o]),(0,d.useEffect)(()=>{let e=p.current;if(!e||typeof ResizeObserver>`u`)return;let t=new ResizeObserver(v);return t.observe(e),()=>t.disconnect()},[v]);let y=(0,d.useRef)(null);return(0,m.jsxs)(`aside`,{className:T(`relative flex h-full shrink-0 flex-col border-r border-cb-line bg-cb-sidebar`,o?`w-[62px]`:`w-[240px]`),children:[(0,m.jsx)(O,{type:`button`,variant:`outline`,size:`icon`,onClick:()=>s(e=>!e),"aria-label":o?`Expand sidebar`:`Collapse sidebar`,title:o?`Expand`:`Collapse`,className:`absolute right-0 top-[19px] z-30 size-6 translate-x-1/2 cursor-pointer rounded-full border-cb-line bg-cb-card text-cb-muted shadow-sm hover:bg-[#F1F4F8] hover:text-cb-ink2`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:o?L:ae,size:15,strokeWidth:2})}),(0,m.jsx)(`div`,{className:T(`flex shrink-0 items-center pt-[18px] pb-5`,o?`justify-center px-0`:`px-5`),children:(0,m.jsx)(`button`,{type:`button`,"aria-label":`Dashboard`,onClick:()=>a?.(`dashboard`),className:`flex cursor-pointer items-center rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-ring/50`,children:(0,m.jsx)(En,{src:i,collapsed:o})})}),(0,m.jsxs)(`div`,{className:`relative min-h-0 flex-1`,children:[(0,m.jsx)(`div`,{ref:p,onScroll:v,className:T(`h-full overflow-y-auto pb-2 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`,o?`px-[9px]`:`px-2.5`),children:c.map((e,t)=>(0,m.jsx)(Mn,{...e,activeId:n,collapsed:o,open:e.label?u===e.label:void 0,onToggle:e.label?()=>f(t=>t===e.label?null:e.label):void 0,onNavigate:a},e.label||t))}),h.visible&&(0,m.jsx)(`div`,{className:`pointer-events-none absolute inset-y-0 right-[3px] w-1`,children:(0,m.jsx)(`div`,{onPointerDown:e=>{let t=p.current;t&&(e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),y.current={startY:e.clientY,startScroll:t.scrollTop})},onPointerMove:e=>{let t=p.current,n=y.current;if(!t||!n)return;let r=t.clientHeight-h.height;if(r<=0)return;let i=t.scrollHeight-t.clientHeight;t.scrollTop=n.startScroll+(e.clientY-n.startY)/r*i},onPointerUp:e=>{y.current=null,e.currentTarget.releasePointerCapture?.(e.pointerId)},style:{height:h.height,transform:`translateY(${h.top}px)`},className:`pointer-events-auto w-full cursor-grab rounded-full bg-cb-muted/40 transition-colors hover:bg-cb-muted/70 active:cursor-grabbing`})})]})]})}function Xn({className:e,children:t}){return(0,m.jsx)(`div`,{className:T(`mx-auto w-full max-w-7xl px-8`,e),children:t})}function Zn({user:e,navMode:t=`primary`,onNavModeChange:n,headerMode:r=`v1`,onHeaderModeChange:i,onAccount:a,onLogout:o,onTakeTour:s,onResetDemo:c}){return(0,m.jsx)(`div`,{className:`pointer-events-none relative z-40 h-0`,children:(0,m.jsx)(Xn,{className:`flex justify-end pt-3`,children:(0,m.jsx)(`div`,{className:`pointer-events-auto rounded-xl bg-white/70 backdrop-blur-md`,children:(0,m.jsx)(Hn,{name:e?.name,avatarSrc:e?.avatarSrc,navMode:t,onNavModeChange:n,headerMode:r,onHeaderModeChange:i,onAccount:a,onLogout:o,onTakeTour:s,onResetDemo:c})})})})}var Qn=Un.flatMap(e=>e.items).filter(e=>!e.ext).map(e=>({id:e.id,label:e.label,icon:e.icon})),$n=[{title:`Payments API`,path:`/payments`},{title:`Webhooks`,path:`/webhooks`},{title:`Checkout Widget`,path:`/checkout-widget`},{title:`Authentication & API keys`,path:`/authentication`},{title:`Wallets & Custody`,path:`/wallets`},{title:`Transactions API`,path:`/transactions`},{title:`Payouts API`,path:`/payouts`},{title:`Risk & KYT`,path:`/risk`}];function er({text:e,query:t}){if(!t)return(0,m.jsx)(m.Fragment,{children:e});let n=e.toLowerCase().indexOf(t);return n<0?(0,m.jsx)(m.Fragment,{children:e}):(0,m.jsxs)(m.Fragment,{children:[e.slice(0,n),(0,m.jsx)(`mark`,{className:`rounded-[3px] bg-primary/15 text-inherit`,children:e.slice(n,n+t.length)}),e.slice(n+t.length)]})}function tr({onNavigate:e,placeholder:t=`Search`,docsBaseUrl:n=`https://docs.chainberry.com`}){let[r,i]=(0,d.useState)(``),[a,o]=(0,d.useState)(!1),s=(0,d.useRef)(null);(0,d.useEffect)(()=>{if(!a)return;let e=e=>{s.current&&!s.current.contains(e.target)&&o(!1)},t=e=>{e.key===`Escape`&&o(!1)};return document.addEventListener(`pointerdown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`pointerdown`,e),document.removeEventListener(`keydown`,t)}},[a]);let c=r.trim().toLowerCase(),l=Qn.filter(e=>!c||e.label.toLowerCase().includes(c)).slice(0,3),u=$n.filter(e=>!c||e.title.toLowerCase().includes(c)).slice(0,3),f=t=>{e?.(t),o(!1),i(``)},p=e=>{window.open(`${n}${e}`,`_blank`,`noopener`),o(!1)},h=`flex w-full cursor-pointer items-center gap-2.5 rounded-lg px-2.5 py-2 text-left text-[13.5px] text-cb-text transition-colors hover:bg-cb-seg`;return(0,m.jsxs)(`div`,{ref:s,className:`relative w-full max-w-md`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ze,size:16,strokeWidth:2,className:`pointer-events-none absolute top-1/2 left-3 -translate-y-1/2 text-cb-muted`}),(0,m.jsx)(Ct,{type:`text`,placeholder:t,value:r,onChange:e=>i(e.target.value),onFocus:()=>o(!0),className:`h-9 border-transparent bg-slate-100 pr-8 pl-9 hover:bg-slate-200/70 focus-visible:border-cb-muted/40 focus-visible:bg-white focus-visible:ring-0`}),r&&(0,m.jsx)(`button`,{type:`button`,"aria-label":`Clear search`,onClick:()=>{i(``)},className:`absolute top-1/2 right-2 -translate-y-1/2 flex size-5 cursor-pointer items-center justify-center rounded-full text-cb-muted opacity-75 hover:opacity-100`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ue,size:14,strokeWidth:1.5})}),a&&(l.length>0||u.length>0)&&(0,m.jsxs)(`div`,{className:`absolute top-full right-0 left-0 z-50 mt-1.5 overflow-hidden rounded-xl border border-cb-line bg-popover text-popover-foreground shadow-lg`,children:[l.length>0&&(0,m.jsxs)(`div`,{className:`p-1.5`,children:[(0,m.jsx)(`div`,{className:`px-2.5 py-1.5 text-xs font-semibold text-cb-muted`,children:`Go to`}),l.map(e=>(0,m.jsxs)(`button`,{type:`button`,className:h,onClick:()=>f(e.id),children:[(0,m.jsx)(wn,{name:e.icon}),(0,m.jsx)(`span`,{className:`truncate`,children:(0,m.jsx)(er,{text:e.label,query:c})})]},e.id))]}),l.length>0&&u.length>0&&(0,m.jsx)(`div`,{className:`h-px bg-cb-line`}),u.length>0&&(0,m.jsxs)(`div`,{className:`p-1.5`,children:[(0,m.jsx)(`div`,{className:`px-2.5 py-1.5 text-xs font-semibold text-cb-muted`,children:`Developer Docs`}),u.map(e=>(0,m.jsxs)(`button`,{type:`button`,className:h,onClick:()=>p(e.path),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:xe,size:18,strokeWidth:2,className:`shrink-0 text-cb-muted opacity-75`}),(0,m.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:(0,m.jsx)(er,{text:e.title,query:c})}),(0,m.jsx)(g.HugeiconsIcon,{icon:R,size:14,strokeWidth:2,className:`shrink-0 text-cb-muted opacity-60`})]},e.title))]})]})]})}function nr({user:e,navMode:t=`primary`,onNavModeChange:n,headerMode:r=`v2`,onHeaderModeChange:i,notifications:a,searchPlaceholder:o=`Search`,extension:s=0,onNavigate:c,onAccount:l,onLogout:u,onTakeTour:d,onResetDemo:f,onViewAllNotifications:p}){return(0,m.jsxs)(`header`,{className:`sticky top-0 z-20 shrink-0`,children:[(0,m.jsx)(`div`,{"aria-hidden":!0,className:`pointer-events-none absolute inset-x-0 top-0 bg-white/70 backdrop-blur-md`,style:{height:`calc(4rem + ${s}px)`}}),(0,m.jsxs)(Xn,{className:`relative flex h-16 items-center gap-4`,children:[(0,m.jsx)(tr,{onNavigate:c,placeholder:o}),(0,m.jsxs)(`div`,{className:`ml-auto flex items-center gap-1`,children:[(0,m.jsx)(Ln,{items:a,onViewAll:p}),(0,m.jsx)(Hn,{name:e?.name,avatarSrc:e?.avatarSrc,navMode:t,onNavModeChange:n,headerMode:r,onHeaderModeChange:i,onAccount:l,onLogout:u,onTakeTour:d,onResetDemo:f})]})]})]})}var rr=(0,d.createContext)({setExtension:()=>{},stickyTop:64});function ir(){return(0,d.useContext)(rr)}var ar=(0,d.createContext)(null);function or(){let e=(0,d.useContext)(ar);if(!e)throw Error(`PageTitleChip/PageTitlePanel must be used within <PageTitle>`);return e}function sr({children:e,defaultOpen:t=!1}){let[n,r]=(0,d.useState)(t),i=(0,d.useId)();return(0,m.jsx)(ar.Provider,{value:{open:n,toggle:()=>r(e=>!e),close:()=>r(!1),panelId:i},children:e})}function cr({label:e=`What is this screen?`,className:t}){let{open:n,toggle:r,panelId:i}=or();return(0,m.jsx)(O,{type:`button`,variant:`ghost`,size:`icon-xs`,"aria-label":e,"aria-expanded":n,"aria-controls":i,onClick:r,className:T(`cursor-pointer text-muted-foreground/60 hover:text-sky-700 dark:hover:text-sky-400`,n&&`bg-sky-50 text-sky-700 hover:text-sky-700 dark:bg-sky-500/15 dark:text-sky-400 dark:hover:text-sky-400`,t),children:(0,m.jsx)(g.HugeiconsIcon,{icon:Ee,size:16,color:`currentColor`,strokeWidth:2})})}function lr({title:e,description:t,tips:n,tipsLabel:r=`What to try`,children:i,className:a}){let{open:o,close:s,panelId:c}=or();return o?(0,m.jsxs)(`div`,{id:c,role:`region`,"aria-label":typeof e==`string`?e:`About this screen`,className:T(`relative flex gap-3.5 rounded-xl border border-sky-100 bg-sky-50 p-4 pr-11 animate-in fade-in-0 slide-in-from-top-1 duration-200 dark:border-sky-500/25 dark:bg-sky-500/10`,a),children:[(0,m.jsx)(`div`,{className:`flex size-9 shrink-0 items-center justify-center rounded-lg bg-primary text-primary-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Ee,size:20,color:`currentColor`,strokeWidth:2})}),(0,m.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,m.jsx)(`h3`,{className:`text-sm font-semibold text-foreground`,children:e}),i??(0,m.jsxs)(m.Fragment,{children:[t&&(0,m.jsx)(`p`,{className:`mt-1 text-sm text-muted-foreground`,children:t}),n&&n.length>0&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`p`,{className:`mt-3 text-[11px] font-semibold uppercase tracking-[0.06em] text-sky-700 dark:text-sky-400`,children:r}),(0,m.jsx)(`ol`,{className:`mt-1.5 list-decimal space-y-1 pl-4 text-sm text-foreground marker:text-muted-foreground`,children:n.map((e,t)=>(0,m.jsx)(`li`,{children:e},t))})]})]})]}),(0,m.jsx)(O,{type:`button`,variant:`ghost`,size:`icon-xs`,"aria-label":`Close`,onClick:s,className:`absolute right-3 top-3 cursor-pointer text-muted-foreground/70 hover:text-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ue,size:16,color:`currentColor`,strokeWidth:2})})]}):null}function W({src:e,code:t,className:n}){return e?(0,m.jsx)(`img`,{src:e,alt:t,loading:`lazy`,className:T(`rounded-full object-contain`,n)}):(0,m.jsx)(`span`,{className:T(`inline-flex items-center justify-center rounded-full bg-muted text-[9px] font-semibold text-muted-foreground`,n),children:t.slice(0,3)})}function ur({columns:e,visible:t,onChange:n,label:r=`Columns`}){return(0,m.jsxs)(dt,{children:[(0,m.jsx)(ft,{asChild:!0,children:(0,m.jsxs)(O,{variant:`outline`,className:`cursor-pointer shadow-xs`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:me,size:16,strokeWidth:2}),r]})}),(0,m.jsxs)(mt,{align:`end`,className:`min-w-[12rem]`,children:[(0,m.jsx)(vt,{children:`Toggle columns`}),(0,m.jsx)(_t,{}),e.map(e=>(0,m.jsx)(gt,{checked:t[e.id]??!0,disabled:e.canHide===!1,onCheckedChange:t=>n(e.id,!!t),onSelect:e=>e.preventDefault(),children:e.label},e.id))]})]})}function dr({value:e,className:t}){let[n,r]=(0,d.useState)(!1);return(0,m.jsxs)(pn,{children:[(0,m.jsx)(mn,{asChild:!0,children:(0,m.jsx)(O,{type:`button`,variant:`ghost`,size:`icon-xs`,"aria-label":n?`Copied`:`Copy`,onClick:t=>{t.stopPropagation(),navigator.clipboard?.writeText(e),r(!0),window.setTimeout(()=>r(!1),1200)},className:T(`cursor-pointer transition-opacity hover:bg-transparent`,n?`text-emerald-500 hover:text-emerald-500`:`text-muted-foreground hover:text-primary`,t),children:(0,m.jsx)(g.HugeiconsIcon,{icon:n?z:ge,size:14,strokeWidth:2,className:`size-3.5`})})}),(0,m.jsx)(hn,{children:n?`Copied`:`Copy`})]})}function fr({href:e=`#`,className:t,children:n,...r}){return(0,m.jsx)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:T(`cursor-pointer text-foreground underline underline-offset-2 transition-colors hover:text-primary`,t),...r,children:n})}function G({value:e,head:t=8,tail:n=6,revealOnHover:r=!1,asLink:i=!1,href:a,className:o}){let s=e.length>t+n?`${e.slice(0,t)}...${e.slice(-n)}`:e;return(0,m.jsxs)(`div`,{className:T(`flex items-center gap-1.5`,o),children:[i?(0,m.jsx)(fr,{href:a,className:`font-mono text-[13px]`,children:s}):(0,m.jsx)(`span`,{className:`font-mono text-[13px] text-foreground`,children:s}),(0,m.jsx)(dr,{value:e,className:T(r&&`opacity-0 transition-opacity group-hover/row:opacity-100 aria-[label=Copied]:opacity-100`)})]})}var pr={xs:{logo:`size-5`,badge:`size-2.5`,pos:`-right-1.5 -bottom-0.5`,ring:`border`},sm:{logo:`size-7`,badge:`size-3.5`,pos:`-right-2.5 -bottom-1`,ring:`border-2`},md:{logo:`size-9`,badge:`size-4`,pos:`-right-2 -bottom-1`,ring:`border-2`}};function mr({code:e,network:t,codeSrc:n,networkSrc:r,size:i=`sm`,className:a}){let o=pr[i];return(0,m.jsxs)(`span`,{className:T(`relative inline-flex shrink-0`,a),children:[(0,m.jsx)(W,{src:n,code:e,className:o.logo}),(0,m.jsx)(`span`,{className:T(`absolute inline-flex rounded-full border-white bg-white`,o.ring,o.pos),children:(0,m.jsx)(W,{src:r,code:t,className:o.badge})})]})}function hr({label:e,sort:t=!1,onSort:n,align:r=`start`}){return(0,m.jsxs)(`button`,{type:`button`,onClick:n,className:T(`inline-flex cursor-pointer items-center gap-1 text-muted-foreground transition-colors select-none hover:text-foreground`,r===`end`&&`flex-row-reverse`,t&&`text-foreground`),children:[e,(0,m.jsx)(`span`,{className:T(`text-xs`,t?`text-foreground`:`text-muted-foreground/40`),children:t===`asc`?`↑`:t===`desc`?`↓`:`⇅`})]})}function gr(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t);let n=[...new Set([0,t-1,e,e-1,e+1])].filter(e=>e>=0&&e<t).sort((e,t)=>e-t),r=[],i=-1;for(let e of n)e-i>1&&r.push(`ellipsis`),r.push(e),i=e;return r}function _r({columns:e,data:t,getRowId:n,layout:r=`auto`,density:i=`comfortable`,pageSize:a,loading:o=!1,skeletonRows:s=10,searchable:c=!1,searchPlaceholder:l=`Search...`,searchFilter:u,searchScopes:f,defaultSearchScope:p,onSearchScopeChange:h,query:_,onQueryChange:v,columnToggle:y=!1,columnVisibility:b,onColumnVisibilityChange:x,onRowClick:S,rowLeading:C,emptyMessage:w=`No results.`,toolbarFilters:ee,toolbarActions:E,toolbarBelow:D}){let O=r===`fill`,k=i===`compact`?`py-1.5`:`py-3`,[te,ne]=(0,d.useState)(``),A=_??te,j=e=>{_===void 0?ne(e):v?.(e)},[re,M]=(0,d.useState)(p??f?.[0]?.value??``),ie=f?.find(e=>e.value===re)?.label,P=ie?`Search by ${ie}`:l,ae=e=>{M(e),h?.(e)},F=(0,d.useMemo)(()=>{let e=A.trim().toLowerCase();return!e||!u?t:t.filter(t=>u(t,e))},[t,A,u]),[I,L]=(0,d.useState)(null),oe=e=>L(t=>!t||t.id!==e?{id:e,dir:`asc`}:t.dir===`asc`?{id:e,dir:`desc`}:null),R=e=>I?.id===e&&I.dir,se=(0,d.useMemo)(()=>{if(!I)return F;let t=e.find(e=>e.id===I.id);if(!t?.sortValue)return F;let n=I.dir===`asc`?1:-1,r=t.sortValue;return[...F].sort((e,t)=>{let i=r(e),a=r(t);return typeof i==`number`&&typeof a==`number`?(i-a)*n:String(i).localeCompare(String(a))*n})},[F,I,e]),[ce,le]=(0,d.useState)(()=>Object.fromEntries(e.map(e=>[e.id,!0]))),ue=b??ce,de=(e,t)=>{b===void 0?le(n=>({...n,[e]:t})):x?.(e,t)},fe=e=>ue[e]??!0,z=e.filter(e=>fe(e.id)),pe=e.map(e=>({id:e.id,label:e.header,canHide:e.canHide})),me=a!=null,[he,ge]=(0,d.useState)(0);(0,d.useEffect)(()=>ge(0),[t,A,I]);let _e=se.length,ve=me?Math.max(1,Math.ceil(_e/a)):1,B=Math.min(he,ve-1),ye=me?se.slice(B*a,B*a+a):se,be=z.length+ +!!C,xe=c||y||!!ee||!!E;return(0,m.jsxs)(`div`,{className:T(`flex flex-col`,O&&`min-h-0 flex-1`),children:[xe&&(0,m.jsxs)(`div`,{className:`mb-2 flex shrink-0 flex-wrap items-center gap-2`,children:[c?(0,m.jsxs)(`div`,{className:`relative min-w-64 flex-1`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ze,size:16,strokeWidth:2,className:`pointer-events-none absolute top-1/2 left-2.5 -translate-y-1/2 text-muted-foreground`}),(0,m.jsx)(Ct,{value:A,onChange:e=>j(e.target.value),placeholder:P,className:T(`pl-8 hover:border-slate-300`,f&&`pr-28`)}),f&&f.length>0&&(0,m.jsx)(`div`,{className:`absolute top-1/2 right-1.5 -translate-y-1/2`,children:(0,m.jsxs)(dt,{children:[(0,m.jsx)(ft,{asChild:!0,children:(0,m.jsxs)(`button`,{type:`button`,"aria-label":`Search field`,className:`flex cursor-pointer items-center gap-1 rounded-md border-l border-cb-line py-0.5 pr-1 pl-2.5 text-[13px] font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none`,children:[ie,(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:14,strokeWidth:2})]})}),(0,m.jsx)(mt,{align:`end`,className:`min-w-[8rem]`,children:(0,m.jsx)(St,{value:re,onValueChange:ae,children:f.map(e=>(0,m.jsx)(V,{value:e.value,children:e.label},e.value))})})]})})]}):(0,m.jsx)(`div`,{className:`flex-1`}),ee,y&&(0,m.jsx)(ur,{columns:pe,visible:ue,onChange:de}),E]}),D&&(0,m.jsx)(`div`,{className:`mb-4 shrink-0`,children:D}),(0,m.jsxs)($t,{containerClassName:T(O&&`min-h-0 flex-1 overflow-y-auto`),children:[(0,m.jsx)(en,{className:T(`bg-cb-card [&_th]:shadow-[inset_0_-2px_0_0_var(--border)] [&_tr]:border-0`,O&&`sticky top-0 z-10`),children:(0,m.jsxs)(rn,{className:`hover:bg-transparent`,children:[C&&(0,m.jsx)(an,{className:`w-6 px-0`}),z.map(e=>(0,m.jsx)(an,{className:T(e.align===`end`&&`text-right`,e.headClassName),children:e.sortable?(0,m.jsx)(hr,{label:e.header,align:e.align,sort:R(e.id),onSort:()=>oe(e.id)}):e.header},e.id))]})}),(0,m.jsx)(tn,{children:o?Array.from({length:s}).map((e,t)=>(0,m.jsxs)(rn,{className:`border-b border-slate-100 hover:bg-transparent`,children:[C&&(0,m.jsx)(U,{className:T(`w-6 px-0`,k)}),z.map(e=>(0,m.jsx)(U,{className:T(k,e.cellClassName),children:(0,m.jsx)(`div`,{className:T(`flex`,e.align===`end`&&`justify-end`),children:e.skeleton??(0,m.jsx)(H,{className:`h-4 w-24`})})},e.id))]},t)):ye.length===0?(0,m.jsx)(rn,{className:`border-0 hover:bg-transparent`,children:(0,m.jsx)(U,{colSpan:be,className:`py-12 text-center text-muted-foreground`,children:w})}):ye.map(e=>(0,m.jsxs)(rn,{className:T(`group/row border-b border-slate-100`,S&&`cursor-pointer`),onClick:S?()=>S(e):void 0,children:[C&&(0,m.jsx)(U,{className:T(`w-6 px-0`,k),children:C(e)}),z.map(t=>(0,m.jsx)(U,{className:T(k,t.align===`end`&&`text-right`,t.cellClassName),children:t.cell(e)},t.id))]},n(e)))})]}),me&&(0,m.jsxs)(`div`,{className:`flex shrink-0 items-center justify-between border-t border-cb-line py-3`,children:[o?(0,m.jsx)(H,{className:`h-4 w-32`}):(0,m.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:_e===0?`No results`:`Showing ${B*a+1}–${Math.min(_e,(B+1)*a)} of ${_e}`}),(0,m.jsx)(Tt,{children:(0,m.jsxs)(Et,{children:[(0,m.jsx)(Dt,{children:(0,m.jsx)(kt,{disabled:B===0,onClick:()=>ge(e=>Math.max(0,e-1))})}),gr(B,ve).map((e,t)=>e===`ellipsis`?(0,m.jsx)(Dt,{children:(0,m.jsx)(jt,{})},`ellipsis-${t}`):(0,m.jsx)(Dt,{children:(0,m.jsx)(Ot,{isActive:e===B,onClick:()=>ge(e),children:e+1})},e)),(0,m.jsx)(Dt,{children:(0,m.jsx)(At,{disabled:B>=ve-1,onClick:()=>ge(e=>Math.min(ve-1,e+1))})})]})})]})]})}var vr=[{label:`Download CSV`,value:`csv`,icon:ve},{label:`Download XLSX`,value:`xlsx`,icon:Qe}];function yr({formats:e=vr,onDownload:t,label:n=`Download`,align:r=`end`,className:i}){return(0,m.jsxs)(dt,{children:[(0,m.jsx)(ft,{asChild:!0,children:(0,m.jsxs)(O,{className:T(`cursor-pointer border-primary shadow-xs`,i),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:be,size:16,color:`currentColor`,strokeWidth:2}),n]})}),(0,m.jsx)(mt,{align:r,className:`min-w-[12rem] p-1.5`,children:e.map(e=>(0,m.jsxs)(ht,{className:`cursor-pointer gap-2.5 rounded-md px-2.5 py-2 text-sm`,onSelect:()=>t?.(e.value),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:e.icon??be,size:16,color:`currentColor`,strokeWidth:2,className:`text-muted-foreground`}),e.label]},e.value))})]})}function br({type:e,label:t}){return(0,m.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(`span`,{className:`inline-flex size-7 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:e===`deposit`?P:oe,size:15,strokeWidth:2})}),(0,m.jsx)(`span`,{className:`font-medium text-foreground capitalize`,children:t??e})]})}function xr({level:e}){let t=`${e[0].toUpperCase()}${e.slice(1)} risk`;return(0,m.jsxs)(pn,{children:[(0,m.jsx)(mn,{asChild:!0,children:(0,m.jsx)(`img`,{src:`/risk-${e}.svg`,alt:t,className:`h-[18px] w-[18px] shrink-0`})}),(0,m.jsx)(hn,{children:t})]})}var Sr={primary:`border-primary/20 bg-primary/10 text-primary`,sky:`border-sky-100 bg-sky-50 text-sky-700 dark:border-sky-500/25 dark:bg-sky-500/15 dark:text-sky-400`,emerald:`border-emerald-100 bg-emerald-50 text-emerald-700 dark:border-emerald-500/25 dark:bg-emerald-500/15 dark:text-emerald-400`,amber:`border-amber-100 bg-amber-50 text-amber-700 dark:border-amber-500/25 dark:bg-amber-500/15 dark:text-amber-400`,red:`border-red-100 bg-red-50 text-red-700 dark:border-red-500/25 dark:bg-red-500/15 dark:text-red-400`,slate:`border-slate-200 bg-slate-100 text-slate-600 dark:border-slate-500/25 dark:bg-slate-500/15 dark:text-slate-300`,violet:`border-violet-100 bg-violet-50 text-violet-700 dark:border-violet-500/25 dark:bg-violet-500/15 dark:text-violet-400`,orange:`border-orange-100 bg-orange-50 text-orange-700 dark:border-orange-500/25 dark:bg-orange-500/15 dark:text-orange-400`};function Cr({children:e,tone:t=`slate`,className:n}){return(0,m.jsx)(ne,{variant:`outline`,className:T(`rounded-md px-2 py-0.5`,Sr[t],n),children:e})}function K({primary:e,secondary:t,align:n=`start`,tabularNums:r=!1,primaryClassName:i,secondaryClassName:a,className:o}){return(0,m.jsxs)(`div`,{className:T(`flex min-w-0 flex-col leading-tight`,n===`end`?`items-end text-right`:`items-start text-left`,r&&`tabular-nums`,o),children:[(0,m.jsx)(`span`,{className:T(`text-sm text-foreground`,i),children:e}),t!=null&&t!==``&&(0,m.jsx)(`span`,{className:T(`text-xs text-muted-foreground`,a),children:t})]})}var wr=o({NETWORK_LABELS:()=>Rr,SAVED_PRESETS:()=>Ir,TRANSACTIONS:()=>Fr,coinSrc:()=>q,needsAction:()=>Lr,toTransactionDetail:()=>Kr}),Tr=[`usdt`,`usdc`,`eth`,`btc`,`pol`,`sol`,`avax`,`bnb`,`ton`,`tron`];function q(e){let t=e.toLowerCase();return Tr.includes(t)?`/coins/${t}.png`:void 0}var Er=[{id:`tx-01`,type:`deposit`,status:`processing`,risk:`low`,amount:`+1,582.18`,currency:`USDT`,amountFiat:`+$1,582.18`,network:`ETH`,createdAt:`Jul 05, 2026`,createdTime:`02:27 PM`,userId:`user-1a93c5b46704f4`,orderId:`ord-558323aa11e9bcac`},{id:`tx-02`,type:`withdraw`,status:`confirmed`,risk:`medium`,amount:`-140.80`,currency:`USDT`,amountFiat:`-$140.80`,network:`POL`,createdAt:`Jul 05, 2026`,createdTime:`01:50 PM`,confirmedAt:`Jul 05, 2026`,confirmedTime:`01:56 PM`,userId:`user-2c71e0d9f58e60`,orderId:`ord-712c04bb33648ef0`},{id:`tx-03`,type:`withdraw`,status:`confirmed`,risk:`low`,amount:`-1,249.10`,currency:`USDT`,amountFiat:`-$1,249.10`,network:`SOL`,createdAt:`Jul 05, 2026`,createdTime:`12:05 PM`,confirmedAt:`Jul 05, 2026`,confirmedTime:`12:08 PM`,userId:`user-9f02a7c18f6aed`,orderId:`ord-b4e152cc44e9c99f`},{id:`tx-04`,type:`deposit`,status:`created`,risk:`low`,amount:`+2,234.80`,currency:`USDC`,amountFiat:`+$2,234.80`,network:`ETH`,createdAt:`Jul 05, 2026`,createdTime:`10:18 AM`,userId:`user-6b48e2f0d19fcb`,orderId:`ord-6a43e2dd5564dd34`},{id:`tx-05`,type:`withdraw`,status:`confirmed`,risk:`high`,amount:`-1,559.93`,currency:`USDT`,amountFiat:`-$1,559.93`,network:`AVAX`,createdAt:`Jul 05, 2026`,createdTime:`06:13 AM`,confirmedAt:`Jul 05, 2026`,confirmedTime:`06:16 AM`,userId:`user-4d19b6a2688796`,orderId:`ord-852d1cee660a6f6a`},{id:`tx-06`,type:`withdraw`,status:`created`,risk:`low`,amount:`-0.13836`,currency:`ETH`,amountFiat:`-$431.68`,network:`ETH`,createdAt:`Jul 05, 2026`,createdTime:`02:37 AM`,userId:`user-9a5f1c7320bbdd`,orderId:`ord-db052aff7764c5d8`},{id:`tx-07`,type:`withdraw`,status:`confirmed`,risk:`low`,amount:`-788.34`,currency:`USDC`,amountFiat:`-$788.34`,network:`ETH`,createdAt:`Jul 05, 2026`,createdTime:`01:50 AM`,confirmedAt:`Jul 05, 2026`,confirmedTime:`01:53 AM`,userId:`user-6e21d4b587471c`,orderId:`ord-31d99e0088376aa3`},{id:`tx-08`,type:`deposit`,status:`created`,risk:`low`,amount:`+1,205.65`,currency:`USDT`,amountFiat:`+$1,205.65`,network:`BNB`,createdAt:`Jul 05, 2026`,createdTime:`01:10 AM`,userId:`user-8c07a1f5a72d43`,orderId:`ord-7c5061bb99f499eb`},{id:`tx-09`,type:`withdraw`,status:`rejected`,risk:`high`,amount:`-0.04448807`,currency:`BTC`,amountFiat:`-$2,751.23`,network:`BTC`,createdAt:`Jul 04, 2026`,createdTime:`10:45 PM`,userId:`user-4f83c0e1bed235`,orderId:`ord-02ad38cc22429aee`},{id:`tx-10`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+0.95688`,currency:`ETH`,amountFiat:`+$2,985.47`,network:`ETH`,createdAt:`Jul 04, 2026`,createdTime:`07:56 PM`,confirmedAt:`Jul 04, 2026`,confirmedTime:`07:58 PM`,userId:`user-9b1c72e07f19a2`,orderId:`ord-9c90e7dd116dc2e5`},{id:`tx-11`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+967.75`,currency:`USDT`,amountFiat:`+$967.75`,network:`ETH`,createdAt:`Jul 04, 2026`,createdTime:`05:00 PM`,confirmedAt:`Jul 04, 2026`,confirmedTime:`05:04 PM`,userId:`user-3a55e9c1a1d1f2`,orderId:`ord-41b6a0ee7700170f`},{id:`tx-12`,type:`withdraw`,status:`processing`,risk:`medium`,amount:`-320.00`,currency:`USDC`,amountFiat:`-$320.00`,network:`POL`,createdAt:`Jul 04, 2026`,createdTime:`03:22 PM`,userId:`user-7d33b8a4c90e11`,orderId:`ord-15aa77cc22d0b3f4`},{id:`tx-13`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+5,000.00`,currency:`USDT`,amountFiat:`+$5,000.00`,network:`AVAX`,createdAt:`Jul 04, 2026`,createdTime:`11:04 AM`,confirmedAt:`Jul 04, 2026`,confirmedTime:`11:09 AM`,userId:`user-2f9c04e7b23a88`,orderId:`ord-88cd12ff44a7e0d1`},{id:`tx-14`,type:`withdraw`,status:`rejected`,risk:`high`,amount:`-2.10500000`,currency:`ETH`,amountFiat:`-$6,565.60`,network:`ETH`,createdAt:`Jul 03, 2026`,createdTime:`09:18 PM`,userId:`user-5b7a1c93ee04ff`,orderId:`ord-77de90aa11bb22cc`},{id:`tx-15`,type:`withdraw`,status:`confirmed`,risk:`high`,amount:`-3,400.00`,currency:`USDT`,amountFiat:`-$3,400.00`,network:`SOL`,createdAt:`Jul 03, 2026`,createdTime:`04:41 PM`,confirmedAt:`Jul 03, 2026`,confirmedTime:`04:45 PM`,userId:`user-1c88f0a5dd7b90`,orderId:`ord-33ab55cc99ee1122`},{id:`tx-16`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+1,120.40`,currency:`USDT`,amountFiat:`+$1,120.40`,network:`BNB`,createdAt:`Jul 03, 2026`,createdTime:`10:12 AM`,confirmedAt:`Jul 03, 2026`,confirmedTime:`10:15 AM`,userId:`user-4e2b7c10ff9a33`,orderId:`ord-99cd00aa22bb44dd`},{id:`tx-17`,type:`deposit`,status:`created`,risk:`medium`,amount:`+742.19`,currency:`USDC`,amountFiat:`+$742.19`,network:`ETH`,createdAt:`Jul 03, 2026`,createdTime:`08:03 AM`,userId:`user-6a1f9d2e33cc77`,orderId:`ord-12bb34cc56dd78ee`},{id:`tx-18`,type:`withdraw`,status:`confirmed`,risk:`low`,amount:`-0.02100000`,currency:`BTC`,amountFiat:`-$1,299.68`,network:`BTC`,createdAt:`Jul 02, 2026`,createdTime:`06:55 PM`,confirmedAt:`Jul 02, 2026`,confirmedTime:`07:01 PM`,userId:`user-8f4c2b90aa1e55`,orderId:`ord-56ef78aa90bb12cd`},{id:`tx-19`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+1,200.00`,currency:`TON`,amountFiat:`+$6,600.00`,network:`TON`,createdAt:`Jul 02, 2026`,createdTime:`02:14 PM`,confirmedAt:`Jul 02, 2026`,confirmedTime:`02:17 PM`,userId:`user-7b3e9a01cc44f2`,orderId:`ord-a71f22bb88cc09de`},{id:`tx-20`,type:`withdraw`,status:`processing`,risk:`medium`,amount:`-540.00`,currency:`TON`,amountFiat:`-$2,970.00`,network:`TON`,createdAt:`Jul 02, 2026`,createdTime:`11:38 AM`,userId:`user-3d0c8f24aa17bb`,orderId:`ord-c52d90ee44ff21ab`}],Dr=[`created`,`confirmed`,`rejected`,`failed`,`pending-approval`,`processing`,`expired`,`cancelled`,`refunded`,`partially-confirmed`,`under-review`,`settled`,`currency-mismatch`],Or=[[`USDT`,`ETH`],[`USDT`,`POL`],[`USDT`,`SOL`],[`USDT`,`AVAX`],[`USDT`,`BNB`],[`USDC`,`ETH`],[`USDC`,`POL`],[`ETH`,`ETH`],[`BTC`,`BTC`],[`TON`,`TON`]],kr=[`deposit`,`withdraw`],Ar=[`low`,`medium`,`high`],jr=[`Jun`,`Jul`],Mr=new Set([`confirmed`,`settled`,`refunded`,`partially-confirmed`]);function J(e,t){let n=e*2654435761>>>0,r=``;for(;r.length<t;)r+=(n&15).toString(16),n=n*16807>>>0||1;return r.slice(0,t)}var Nr=e=>String(e).padStart(2,`0`);function Pr(e,t){let n=[];for(let r=0;r<e;r++){let e=t+r,i=kr[e%2],a=Dr[e%Dr.length],o=Ar[e*7%3],[s,c]=Or[e%Or.length],l=i===`deposit`?`+`:`-`,u=((e*173+41)%8e3+12+e*37%100/100).toLocaleString(`en-US`,{minimumFractionDigits:2,maximumFractionDigits:2}),d=`${jr[(e>>5)%2]} ${Nr(e*3%28+1)}, 2026`,f=e*5%12+1,p=e*13%60,m=e%2==0?`AM`:`PM`,h=`${Nr(f)}:${Nr(p)} ${m}`,g=Mr.has(a);n.push({id:`tx-${String(e+1).padStart(3,`0`)}`,type:i,status:a,risk:o,amount:`${l}${u}`,currency:s,amountFiat:`${l}$${u}`,network:c,createdAt:d,createdTime:h,confirmedAt:g?d:void 0,confirmedTime:g?`${Nr(f)}:${Nr((p+4)%60)} ${m}`:void 0,userId:`user-${J(e+11,14)}`,orderId:`ord-${J(e+101,16)}`})}return n}var Fr=[...Er,...Pr(243,Er.length)],Ir=[{id:`high-risk-withdrawals`,label:`High-risk withdrawals`,match:e=>e.type===`withdraw`&&e.risk===`high`,icon:`alert`},{id:`failed-this-month`,label:`Failed this month`,match:e=>e.status===`failed`||e.status===`rejected`,icon:`filter`},{id:`usdt-deposits`,label:`USDT deposits`,match:e=>e.type===`deposit`&&e.currency===`USDT`,icon:`deposit`}];function Lr(e){return e.status===`pending-approval`||e.status===`currency-mismatch`}var Rr={ETH:`Ethereum`,POL:`Polygon`,SOL:`Solana`,AVAX:`Avalanche`,BNB:`BNB Chain`,BTC:`Bitcoin`,TON:`TON`};function zr(e,t){return(e===`low`?8:e===`medium`?42:76)+t%12}function Br(e){return e.status===`rejected`||e.status===`failed`?`rejected`:e.status===`pending-approval`||e.status===`under-review`?`manual-review`:e.risk===`high`?`flagged`:`auto-approved`}var Vr={"auto-approved":`Huobi/HTX sanctioned entity amount < 10 USD`,approved:`Counterparty cleared — no sanctioned exposure detected`,"manual-review":`Exposure to a high-risk exchange above the review threshold`,flagged:`Direct exposure to a darknet marketplace cluster`,rejected:`Funds traced to an OFAC-sanctioned address`};function Hr(e){let t=parseInt(e.replace(/\D/g,``),10);return Number.isFinite(t)?t:1}function Ur(e){return e.replace(/^[+-]/,``)}var Wr=new Set([`TON`,`XRP`]);function Gr(e){return String((e*2654435761>>>0)%9e6+1e6)}function Kr(e){let t=Hr(e.id),n=Br(e),r=Rr[e.network]??e.network,i=!!e.confirmedAt,a=Wr.has(e.currency);return{...e,networkLabel:r,updatedAt:e.confirmedAt??e.createdAt,updatedTime:e.confirmedTime??e.createdTime,customerWallet:`T${J(t+7,8)}${J(t+3,6)}`,customerTag:a?Gr(t+1):void 0,expectedAmount:`${Ur(e.amount)} ${e.currency}`,rate:`1 ${e.currency} = $1.00`,commissionFee:`${(t%5+1).toFixed(2)} ${e.currency}`,riskAssessment:{score:zr(e.risk,t),level:e.risk,decision:n,provider:`Crystal`,reason:Vr[n]},fromAddress:`T${J(t+21,8)}${J(t+5,6)}`,fromTag:a?Gr(t+2):void 0,toAddress:`T${J(t+31,8)}${J(t+9,6)}`,toTag:a?Gr(t+1):void 0,txHash:J(t+41,40),txFee:i?`${(t%9+1).toFixed(2)} ${r}`:`—`,transactionUid:`${J(t+51,8)}${J(t+2,6)}`,partnerPaymentId:`dep-${J(t+61,8)}${J(t+4,6)}`}}function qr({value:e,code:t,icon:n=!0,className:r}){return(0,m.jsxs)(`span`,{className:T(`flex items-center gap-2`,r),children:[n&&(0,m.jsx)(W,{src:q(t),code:t,className:`size-5`}),e]})}function Y({label:e,show:t=!0,className:n,children:r}){return t?(0,m.jsxs)(`div`,{className:T(`min-w-0`,n),children:[(0,m.jsx)(`div`,{className:`text-xs text-muted-foreground`,children:e}),(0,m.jsx)(`div`,{className:`mt-1 text-sm text-foreground`,children:r})]}):null}function Jr({title:e,detail:t,show:n,className:r}){let i=e=>n?.[e]!==!1,a=t.fromTag!=null,o=t.toTag!=null;return(0,m.jsxs)(`div`,{className:r,children:[(0,m.jsx)(`div`,{className:`mb-2 text-sm font-medium text-foreground`,children:e}),(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-x-4 gap-y-3.5`,children:[a?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Y,{label:`From Wallet`,show:i(`fromWallet`),children:(0,m.jsx)(G,{value:t.fromAddress,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`From Tag`,show:i(`fromTag`),children:(0,m.jsx)(G,{value:t.fromTag??``,head:6,tail:6,asLink:!0})})]}):(0,m.jsx)(Y,{label:`From`,show:i(`from`),children:(0,m.jsx)(G,{value:t.fromAddress,head:6,tail:6,asLink:!0})}),o?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Y,{label:`To Wallet`,show:i(`toWallet`),children:(0,m.jsx)(G,{value:t.toAddress,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`To Tag`,show:i(`toTag`),children:(0,m.jsx)(G,{value:t.toTag??``,head:6,tail:6,asLink:!0})})]}):(0,m.jsx)(Y,{label:`To`,show:i(`to`),children:(0,m.jsx)(G,{value:t.toAddress,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`Transaction Hash`,show:i(`hash`),children:(0,m.jsx)(G,{value:t.txHash,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`Transaction Fee`,show:i(`fee`),children:t.txFee})]})]})}function Yr({detail:e,show:t,showRefund:n=!0,className:r}){return(0,m.jsxs)(`section`,{className:r,children:[(0,m.jsx)(Qt,{className:`mb-6`,children:`Blockchain Details`}),(0,m.jsx)(Jr,{title:`${e.type===`deposit`?`Deposit`:`Withdraw`} ${e.currency}`,detail:e,show:t}),n&&(0,m.jsx)(Jr,{title:`Refund ${e.currency}`,detail:e,show:t,className:`mt-5`})]})}var Xr={"auto-approved":{label:`Auto-approved`,icon:z,className:`text-emerald-600 dark:text-emerald-400`},approved:{label:`Approved`,icon:z,className:`text-emerald-600 dark:text-emerald-400`},"manual-review":{label:`Manual review`,icon:Xe,className:`text-amber-600 dark:text-amber-400`},flagged:{label:`Flagged`,icon:j,className:`text-amber-600 dark:text-amber-400`},rejected:{label:`Rejected`,icon:de,className:`text-red-600 dark:text-red-400`}};function Zr(e){return e<=33?`text-emerald-600 dark:text-emerald-400`:e<=66?`text-amber-600 dark:text-amber-400`:`text-red-600 dark:text-red-400`}function Qr({label:e,children:t}){return(0,m.jsxs)(`div`,{className:`min-w-0`,children:[(0,m.jsx)(`div`,{className:`text-xs text-muted-foreground`,children:e}),(0,m.jsx)(`div`,{className:`mt-1 text-sm text-foreground`,children:t})]})}function $r({assessment:e,actionRequired:t=!1,onApprove:n,onReject:r,className:i}){let{score:a,level:o,decision:s,provider:c,reason:l}=e,u=Xr[s];return(0,m.jsxs)(`section`,{className:T(`space-y-3`,i),children:[(0,m.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,m.jsx)(`h3`,{className:`text-base font-semibold text-foreground`,children:`Risk Assessment`}),(0,m.jsxs)(pn,{children:[(0,m.jsx)(mn,{asChild:!0,children:(0,m.jsx)(`span`,{className:`cursor-help text-muted-foreground/60`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Ee,size:14,strokeWidth:2})})}),(0,m.jsx)(hn,{children:`KYT screening result for this transaction.`})]})]}),t&&(0,m.jsx)(`span`,{className:`text-sm font-medium text-amber-700 dark:text-amber-400`,children:`Action Required`})]}),(0,m.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,m.jsx)(xr,{level:o}),(0,m.jsxs)(`div`,{className:`flex items-baseline gap-1`,children:[(0,m.jsx)(`span`,{className:T(`text-3xl font-semibold tabular-nums`,Zr(a)),children:a}),(0,m.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`/100`})]})]}),t?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(`div`,{className:`flex gap-3`,children:[(0,m.jsxs)(O,{type:`button`,onClick:n,className:`h-9 flex-1 cursor-pointer bg-emerald-500 text-white hover:bg-emerald-600`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Ge,size:16,strokeWidth:2.5}),`Approve`]}),(0,m.jsxs)(O,{type:`button`,onClick:r,className:`h-9 flex-1 cursor-pointer bg-red-500 text-white hover:bg-red-600`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:de,size:16,strokeWidth:2}),`Reject`]})]}),(0,m.jsx)(Qr,{label:`Reason`,children:(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:l})}),(0,m.jsx)(Qr,{label:`Assessment provided by`,children:(0,m.jsx)(fr,{children:c})})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-x-4 gap-y-3.5`,children:[(0,m.jsx)(Qr,{label:`Status`,children:(0,m.jsxs)(`span`,{className:T(`inline-flex items-center gap-1.5 font-medium`,u.className),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:u.icon,size:16,strokeWidth:2}),u.label]})}),(0,m.jsx)(Qr,{label:`Assessment provided by`,children:(0,m.jsx)(fr,{children:c})})]}),(0,m.jsx)(Qr,{label:`Reason`,children:(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:l})})]})]})}var ei=o({STATUS_META:()=>X,STATUS_ORDER:()=>ti,TONE_DOT:()=>ni}),X={created:{label:`Created`,tone:`sky`},confirmed:{label:`Confirmed`,tone:`emerald`},rejected:{label:`Rejected`,tone:`red`},failed:{label:`Failed`,tone:`red`},"pending-approval":{label:`Pending Approval`,tone:`amber`},processing:{label:`Processing`,tone:`sky`},expired:{label:`Expired`,tone:`slate`},cancelled:{label:`Cancelled`,tone:`slate`},refunded:{label:`Refunded`,tone:`violet`},"partially-confirmed":{label:`Partially Confirmed`,tone:`emerald`},"under-review":{label:`Under Review`,tone:`amber`},settled:{label:`Settled`,tone:`emerald`},"currency-mismatch":{label:`Currency Mismatch`,tone:`amber`}},ti=[`created`,`confirmed`,`rejected`,`failed`,`pending-approval`,`processing`,`expired`,`cancelled`,`refunded`,`partially-confirmed`,`under-review`,`settled`,`currency-mismatch`],ni={primary:`bg-primary`,sky:`bg-sky-500`,emerald:`bg-emerald-500`,amber:`bg-amber-500`,red:`bg-red-500`,slate:`bg-slate-400`,violet:`bg-violet-500`,orange:`bg-orange-500`},ri=o({ASSET_OPTIONS:()=>si,EMPTY_FILTER:()=>ii,RISK_OPTIONS:()=>oi,TYPE_OPTIONS:()=>ai,countMatches:()=>ui,filterMatches:()=>li,filterToName:()=>fi,isFilterEmpty:()=>ci}),ii={types:[],statuses:[],assets:[],risks:[],dateField:`createdAt`},ai=[{value:`deposit`,label:`Deposit`},{value:`withdraw`,label:`Withdraw`}],oi=[{value:`low`,label:`Low risk`},{value:`medium`,label:`Medium risk`},{value:`high`,label:`High risk`}],si=Array.from(new Map(Fr.map(e=>{let t=`${e.currency}/${e.network}`;return[t,{key:t,currency:e.currency,network:e.network}]})).values()).sort((e,t)=>e.key.localeCompare(t.key));function ci(e){return!e.types.length&&!e.statuses.length&&!e.assets.length&&!e.risks.length&&!e.from&&!e.to}function li(e,t){if(t.types.length&&!t.types.includes(e.type)||t.statuses.length&&!t.statuses.includes(e.status)||t.assets.length&&!t.assets.includes(`${e.currency}/${e.network}`)||t.risks.length&&!t.risks.includes(e.risk))return!1;if(t.from||t.to){let n=t.dateField===`createdAt`?e.createdAt:e.confirmedAt;if(!n)return!1;let r=new Date(n).getTime();if(Number.isNaN(r)||t.from&&r<new Date(t.from).getTime()||t.to&&r>new Date(t.to).getTime()+1440*60*1e3-1)return!1}return!0}function ui(e){return ci(e)?Fr.length:Fr.reduce((t,n)=>li(n,e)?t+1:t,0)}var di=e=>e.charAt(0).toUpperCase()+e.slice(1);function fi(e){let t=[];if(e.types.length&&t.push(e.types.map(di).join(` & `)),e.statuses.length&&t.push(e.statuses.map(e=>X[e].label).join(` & `)),e.assets.length&&t.push(e.assets.join(`, `)),e.risks.length&&t.push(e.risks.map(e=>`${di(e)} risk`).join(` & `)),e.from||e.to){let n=e.dateField===`createdAt`?`Created`:`Confirmed`;t.push(`${n} ${e.from??`…`} → ${e.to??`…`}`)}return t.join(` · `)||`Custom filter`}function pi({open:e,onOpenChange:t,filter:n,onSave:r}){let[i,a]=(0,d.useState)(``),o=(0,d.useRef)(null),s=(0,d.useMemo)(()=>ui(n),[n]);(0,d.useEffect)(()=>{if(!e)return;a(fi(n));let t=window.setTimeout(()=>o.current?.select(),0);return()=>window.clearTimeout(t)},[e]);let c=()=>{r(i.trim()||fi(n),n),t(!1)},l=i.trim()||fi(n);return(0,m.jsx)(tt,{open:e,onOpenChange:t,children:(0,m.jsxs)(at,{className:`max-w-md`,children:[(0,m.jsxs)(ot,{children:[(0,m.jsx)(ct,{children:`Save filter preset`}),(0,m.jsx)(lt,{children:`Give this filter a name so you can reuse it from the presets bar and dashboard.`})]}),(0,m.jsxs)(`div`,{className:`mt-5 flex flex-col gap-1.5`,children:[(0,m.jsx)(wt,{htmlFor:`preset-name`,className:`text-sm font-medium`,children:`Preset name`}),(0,m.jsx)(Ct,{id:`preset-name`,ref:o,value:i,onChange:e=>a(e.target.value),onKeyDown:e=>{e.key===`Enter`&&c()},placeholder:`e.g. High-value deposits`})]}),(0,m.jsxs)(`div`,{className:`mt-3 flex items-center gap-3 rounded-xl bg-muted px-4 py-3`,children:[(0,m.jsx)(`span`,{className:`inline-flex size-9 shrink-0 items-center justify-center rounded-lg bg-background text-primary`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Se,size:18,strokeWidth:2})}),(0,m.jsxs)(`div`,{className:`min-w-0`,children:[(0,m.jsx)(`div`,{className:`truncate text-sm font-semibold text-foreground`,children:l}),(0,m.jsxs)(`div`,{className:`text-xs text-muted-foreground`,children:[`Matches `,s.toLocaleString(`en-US`),` transaction`,s===1?``:`s`,` right now`]})]})]}),(0,m.jsx)(k,{bleed:`dialog`,actions:[{key:`cancel`,label:`Cancel`,variant:`outline`,onClick:()=>t(!1)},{key:`save`,label:`Save preset`,onClick:c}]})]})})}var mi={alert:A,filter:Se,deposit:P};function hi({presets:e,activeId:t,getCount:n,onToggle:r,onDelete:i,onCreateView:a,onReset:o,resetDisabled:s=!1}){let[c,l]=(0,d.useState)(null);return(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`text-[11px] font-semibold uppercase tracking-[0.06em] text-muted-foreground/70`,children:`Saved presets`}),e.map(e=>(0,m.jsxs)(`button`,{type:`button`,onClick:()=>r(e.id),className:T(`inline-flex cursor-pointer items-center gap-1.5 rounded-full border px-2.5 py-0.5 text-[13px] transition-colors`,e.id===t?`border-cb-blue/40 bg-cb-blue-soft text-cb-blue`:`border-border bg-background text-foreground hover:bg-muted`),children:[e.icon&&(0,m.jsx)(g.HugeiconsIcon,{icon:mi[e.icon],size:14,color:`currentColor`,strokeWidth:2}),(0,m.jsx)(`span`,{children:e.label}),(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:n(e)}),(0,m.jsxs)(pn,{children:[(0,m.jsx)(mn,{asChild:!0,children:(0,m.jsx)(`span`,{role:`button`,tabIndex:-1,"aria-label":`Delete ${e.label}`,onClick:t=>{t.stopPropagation(),l(e)},className:`ml-0.5 inline-flex text-muted-foreground/60 hover:text-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ue,size:13,color:`currentColor`,strokeWidth:2})})}),(0,m.jsx)(hn,{children:`Delete preset`})]})]},e.id)),(0,m.jsxs)(O,{variant:`ghost`,size:`sm`,className:`cursor-pointer text-muted-foreground`,onClick:a,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Fe,size:15,color:`currentColor`,strokeWidth:2}),`Create view`]}),(0,m.jsxs)(O,{variant:`ghost`,size:`sm`,className:`cursor-pointer text-muted-foreground`,disabled:s,onClick:o,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Ie,size:15,color:`currentColor`,strokeWidth:2}),`Reset filters`]}),(0,m.jsx)(ut,{open:c!=null,onOpenChange:e=>{e||l(null)},title:`Delete preset`,description:c?`Are you sure you want to delete preset "${c.label}"?`:`Are you sure you want to delete preset?`,confirmLabel:`Delete`,destructive:!0,onConfirm:()=>{c&&i(c.id)}})]})}function gi({detail:e,show:t,className:n}){let r=X[e.status],i=e.amount.trim().startsWith(`-`),a=e=>t?.[e]!==!1;return(0,m.jsxs)(`div`,{className:T(`space-y-3`,n),children:[(a(`type`)||a(`status`))&&(0,m.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[a(`type`)?(0,m.jsx)(br,{type:e.type}):(0,m.jsx)(`span`,{}),a(`status`)&&(0,m.jsx)(Cr,{tone:r.tone,children:r.label})]}),(a(`amount`)||a(`amountFiat`))&&(0,m.jsxs)(`div`,{children:[a(`amount`)&&(0,m.jsxs)(`div`,{className:`flex items-baseline gap-1.5`,children:[(0,m.jsx)(`span`,{className:`text-3xl font-semibold tabular-nums text-foreground`,children:e.amount}),(0,m.jsx)(`span`,{className:`text-lg text-muted-foreground`,children:e.currency})]}),a(`amountFiat`)&&(0,m.jsx)(`div`,{className:T(`mt-0.5 text-sm font-medium tabular-nums`,i?`text-rose-600 dark:text-rose-400`:`text-emerald-600 dark:text-emerald-400`),children:e.amountFiat})]})]})}function _i({detail:e,show:t,className:n}){let r=e=>t?.[e]!==!1,i=e.customerTag!=null;return(0,m.jsx)(`div`,{className:n,children:(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-x-4 gap-y-3.5`,children:[(0,m.jsx)(Y,{label:`Currency`,show:r(`currency`),children:(0,m.jsx)(qr,{value:e.currency,code:e.currency})}),(0,m.jsx)(Y,{label:`Network`,show:r(`network`),children:(0,m.jsx)(qr,{value:e.networkLabel,code:e.network})}),(0,m.jsxs)(Y,{label:`Created at`,show:r(`createdAt`),children:[e.createdAt,`, `,e.createdTime]}),(0,m.jsxs)(Y,{label:`Updated at`,show:r(`updatedAt`),children:[e.updatedAt,`, `,e.updatedTime]}),(0,m.jsx)(Y,{label:`User ID`,show:r(`userId`),children:(0,m.jsx)(G,{value:e.userId,head:6,tail:6})}),i?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Y,{label:`Address`,show:r(`address`),children:(0,m.jsx)(G,{value:e.customerWallet,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`Tag`,show:r(`tag`),children:(0,m.jsx)(G,{value:e.customerTag??``,head:6,tail:6,asLink:!0})})]}):(0,m.jsx)(Y,{label:`Customer Wallet`,show:r(`customerWallet`),children:(0,m.jsx)(G,{value:e.customerWallet,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`Expected deposit amount`,show:r(`expectedAmount`),children:(0,m.jsx)(qr,{value:e.expectedAmount,code:e.currency,icon:!1})}),(0,m.jsx)(Y,{label:`Rate`,show:r(`rate`),children:e.rate}),(0,m.jsx)(Y,{label:`Commission fee`,show:r(`commissionFee`),children:e.commissionFee})]})})}function vi({detail:e,show:t,className:n}){let r=e=>t?.[e]!==!1;return(0,m.jsxs)(`section`,{className:n,children:[(0,m.jsx)(Qt,{children:`Reference ID`}),(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-x-4 gap-y-3.5`,children:[(0,m.jsx)(Y,{label:`Transaction UID`,show:r(`transactionUid`),children:(0,m.jsx)(G,{value:e.transactionUid,head:8,tail:6})}),(0,m.jsx)(Y,{label:`Partner payment ID`,show:r(`partnerPaymentId`),children:(0,m.jsx)(G,{value:e.partnerPaymentId,head:8,tail:6})})]})]})}function yi({detail:e,open:t,onOpenChange:n,show:r,onApprove:i,onReject:a}){return(0,m.jsx)(Vt,{open:t,onOpenChange:n,children:(0,m.jsxs)(Gt,{"aria-describedby":void 0,className:`max-w-lg`,onOpenAutoFocus:e=>e.preventDefault(),children:[(0,m.jsx)(Kt,{className:`px-5 py-4`,children:(0,m.jsx)(Yt,{children:`Transaction Details`})}),e&&(0,m.jsx)(qt,{className:`px-5 py-4`,children:(0,m.jsx)(bi,{detail:e,show:r,onApprove:i,onReject:a})})]})})}function bi({detail:e,show:t,onApprove:n,onReject:r}){let i=Lr(e),a=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(_i,{detail:e,show:t?.info}),(0,m.jsx)(Zt,{})]}),o=t?.riskAssessment===!1?null:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)($r,{assessment:e.riskAssessment,actionRequired:i,onApprove:n,onReject:r}),(0,m.jsx)(Zt,{})]});return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(gi,{detail:e,show:t?.summary}),(0,m.jsx)(Zt,{}),i?(0,m.jsxs)(m.Fragment,{children:[o,a]}):(0,m.jsxs)(m.Fragment,{children:[a,o]}),(0,m.jsx)(Yr,{detail:e,show:t?.blockchain,showRefund:t?.showRefund}),(0,m.jsx)(Zt,{}),(0,m.jsx)(vi,{detail:e,show:t?.reference})]})}function xi(e,t){return e.includes(t)?e.filter(e=>e!==t):[...e,t]}function Si({title:e,children:t}){return(0,m.jsxs)(`section`,{children:[(0,m.jsx)(Qt,{children:e}),t]})}var Ci=`flex cursor-pointer items-center gap-2.5 rounded-lg px-2 py-1.5 text-sm text-foreground transition-colors hover:bg-cb-seg`;function wi({open:e,onOpenChange:t,value:n,onApply:r,onSave:i}){let[a,o]=(0,d.useState)(n);(0,d.useEffect)(()=>{e&&o(n)},[e]);let s=ci(a);return(0,m.jsx)(Vt,{open:e,onOpenChange:t,children:(0,m.jsxs)(Gt,{children:[(0,m.jsxs)(Kt,{className:`px-5 py-4`,children:[(0,m.jsx)(Yt,{children:`Filters`}),(0,m.jsx)(Xt,{children:`Select filter to apply`})]}),(0,m.jsxs)(qt,{className:`px-5 py-4`,children:[(0,m.jsx)(Si,{title:`Type`,children:(0,m.jsx)(`div`,{className:`grid grid-cols-2 gap-x-4`,children:ai.map(e=>(0,m.jsxs)(`label`,{className:Ci,children:[(0,m.jsx)(et,{checked:a.types.includes(e.value),onCheckedChange:()=>o(t=>({...t,types:xi(t.types,e.value)}))}),(0,m.jsx)(g.HugeiconsIcon,{icon:e.value===`deposit`?P:oe,size:16,strokeWidth:2,className:e.value===`deposit`?`text-emerald-500`:`text-rose-500`}),(0,m.jsx)(`span`,{children:e.label})]},e.value))})}),(0,m.jsx)(Zt,{}),(0,m.jsx)(Si,{title:`Status`,children:(0,m.jsx)(`div`,{className:`grid grid-cols-2 gap-x-4`,children:ti.map(e=>(0,m.jsxs)(`label`,{className:Ci,children:[(0,m.jsx)(et,{checked:a.statuses.includes(e),onCheckedChange:()=>o(t=>({...t,statuses:xi(t.statuses,e)}))}),(0,m.jsx)(Cr,{tone:X[e].tone,children:X[e].label})]},e))})}),(0,m.jsx)(Zt,{}),(0,m.jsx)(Si,{title:`Currency & Network`,children:(0,m.jsx)(`div`,{className:`grid grid-cols-2 gap-x-4`,children:si.map(e=>(0,m.jsxs)(`label`,{className:Ci,children:[(0,m.jsx)(et,{checked:a.assets.includes(e.key),onCheckedChange:()=>o(t=>({...t,assets:xi(t.assets,e.key)}))}),(0,m.jsx)(mr,{code:e.currency,network:e.network,codeSrc:q(e.currency),networkSrc:q(e.network),size:`xs`,className:`mr-1`}),(0,m.jsxs)(`span`,{className:`truncate`,children:[e.currency,` / `,e.network]})]},e.key))})}),(0,m.jsx)(Zt,{}),(0,m.jsx)(Si,{title:`Risk Level`,children:(0,m.jsx)(`div`,{className:`grid grid-cols-2 gap-x-4`,children:oi.map(e=>(0,m.jsxs)(`label`,{className:Ci,children:[(0,m.jsx)(et,{checked:a.risks.includes(e.value),onCheckedChange:()=>o(t=>({...t,risks:xi(t.risks,e.value)}))}),(0,m.jsx)(`img`,{src:`/risk-${e.value}.svg`,alt:``,className:`size-[18px] shrink-0`}),(0,m.jsx)(`span`,{children:e.label})]},e.value))})}),(0,m.jsx)(Zt,{}),(0,m.jsxs)(Si,{title:`Date Range`,children:[(0,m.jsxs)(It,{value:a.dateField,onValueChange:e=>o(t=>({...t,dateField:e})),className:`flex gap-6`,children:[(0,m.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2 text-sm text-foreground`,children:[(0,m.jsx)(Lt,{value:`createdAt`}),`Created at`]}),(0,m.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2 text-sm text-foreground`,children:[(0,m.jsx)(Lt,{value:`confirmedAt`}),`Confirmed at`]})]}),(0,m.jsx)($e,{mode:`range`,className:`mt-3 rounded-xl border border-cb-line p-3`,selected:{from:a.from?(0,w.parseISO)(a.from):void 0,to:a.to?(0,w.parseISO)(a.to):void 0},onSelect:e=>o(t=>({...t,from:e?.from?(0,w.format)(e.from,`yyyy-MM-dd`):void 0,to:e?.to?(0,w.format)(e.to,`yyyy-MM-dd`):void 0}))})]})]}),(0,m.jsx)(k,{actions:[{key:`reset`,label:`Reset`,variant:`ghost`,align:`start`,className:`text-muted-foreground`,onClick:()=>o(ii)},{key:`save`,label:`Save`,variant:`ghost`,align:`start`,className:`text-foreground`,disabled:s,onClick:()=>i(a)},{key:`cancel`,label:`Cancel`,variant:`outline`,onClick:()=>t(!1)},{key:`apply`,label:`Apply`,onClick:()=>{r(a),t(!1)}}]})]})})}function Ti({date:e,time:t}){return e?(0,m.jsx)(K,{primary:e,secondary:t,tabularNums:!0}):(0,m.jsx)(`span`,{className:`text-muted-foreground tabular-nums`,children:`—`})}var Ei=[{id:`type`,header:`Payment Type`,canHide:!1,cell:e=>(0,m.jsx)(br,{type:e.type}),skeleton:(0,m.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(H,{className:`size-7 rounded-full`}),(0,m.jsx)(H,{className:`h-4 w-16`})]})},{id:`status`,header:`Status`,canHide:!1,cell:e=>(0,m.jsx)(Cr,{tone:X[e.status].tone,children:X[e.status].label}),skeleton:(0,m.jsx)(H,{className:`h-5 w-24 rounded-md`})},{id:`risk`,header:`Risk`,cell:e=>(0,m.jsx)(xr,{level:e.risk}),skeleton:(0,m.jsx)(H,{className:`h-4 w-5`})},{id:`amount`,header:`Amount`,align:`end`,canHide:!1,cell:e=>(0,m.jsx)(K,{align:`end`,tabularNums:!0,primary:(0,m.jsxs)(m.Fragment,{children:[e.amount,(0,m.jsx)(`span`,{className:`ml-1`,children:e.currency})]}),primaryClassName:`font-semibold`,secondary:e.amountFiat,secondaryClassName:e.amountFiat.trim().startsWith(`-`)?`text-rose-600 dark:text-rose-400`:`text-emerald-600 dark:text-emerald-400`}),skeleton:(0,m.jsxs)(`div`,{className:`flex w-24 flex-col items-end gap-1.5`,children:[(0,m.jsx)(H,{className:`h-4 w-20`}),(0,m.jsx)(H,{className:`h-3 w-14`})]})},{id:`currency`,header:`Currency`,cell:e=>(0,m.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,m.jsx)(mr,{code:e.currency,network:e.network,codeSrc:q(e.currency),networkSrc:q(e.network)}),(0,m.jsx)(K,{primary:e.currency,secondary:e.network,primaryClassName:`font-medium`})]}),skeleton:(0,m.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(H,{className:`size-7 rounded-full`}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(H,{className:`h-3.5 w-10`}),(0,m.jsx)(H,{className:`h-3 w-8`})]})]})},{id:`createdAt`,header:`Created at`,sortable:!0,sortValue:e=>new Date(`${e.createdAt} ${e.createdTime}`).getTime(),cell:e=>(0,m.jsx)(Ti,{date:e.createdAt,time:e.createdTime}),skeleton:(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(H,{className:`h-3.5 w-20`}),(0,m.jsx)(H,{className:`h-3 w-14`})]})},{id:`confirmedAt`,header:`Confirmed at`,sortable:!0,sortValue:e=>e.confirmedAt?new Date(`${e.confirmedAt} ${e.confirmedTime??``}`).getTime():-1/0,cell:e=>(0,m.jsx)(Ti,{date:e.confirmedAt,time:e.confirmedTime}),skeleton:(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(H,{className:`h-3.5 w-20`}),(0,m.jsx)(H,{className:`h-3 w-14`})]})},{id:`userId`,header:`User ID`,cell:e=>(0,m.jsx)(G,{value:e.userId,head:6,tail:6,revealOnHover:!0}),skeleton:(0,m.jsx)(H,{className:`h-4 w-28`})},{id:`orderId`,header:`Order ID`,cell:e=>(0,m.jsx)(G,{value:e.orderId,head:10,tail:6,revealOnHover:!0}),skeleton:(0,m.jsx)(H,{className:`h-4 w-32`})}],Di=(e,t)=>e.userId.toLowerCase().includes(t)||e.orderId.toLowerCase().includes(t)||e.currency.toLowerCase().includes(t)||e.network.toLowerCase().includes(t)||e.type.toLowerCase().includes(t),Oi=[{value:`uid`,label:`UID`},{value:`hash`,label:`Hash`},{value:`wallet`,label:`Wallet`}],ki=Ei.map(e=>({id:e.id,label:e.header,canHide:e.canHide}));function Ai({data:e,loading:t,onRowClick:n,query:r,columnVisibility:i,presets:a}){return(0,m.jsx)(_r,{columns:Ei,data:e,getRowId:e=>e.id,layout:`fill`,pageSize:50,loading:t,skeletonRows:12,searchFilter:Di,query:r,columnVisibility:i,onRowClick:n,emptyMessage:`No transactions match your filters.`,rowLeading:e=>Lr(e)?(0,m.jsxs)(pn,{children:[(0,m.jsx)(mn,{asChild:!0,children:(0,m.jsx)(`span`,{"aria-label":`Action Required`,className:`ml-1 block size-2 shrink-0 rounded-full bg-primary`})}),(0,m.jsx)(hn,{side:`right`,children:`Action Required`})]}):null,toolbarBelow:a})}var ji=[{value:`all`,label:`All`},{value:`action`,label:`Action Required`}];function Mi({search:e,onSearchChange:t,searchScopes:n,searchScope:r,onSearchScopeChange:i,searchPlaceholder:a=`Search...`,segment:o,onSegmentChange:s,tabs:c=ji,tabCounts:l,onFilter:u,filterCount:d=0,columns:f,columnVisibility:p,onColumnChange:h,onRefresh:_,refreshing:v=!1,onDownload:y,show:b,className:x}){let S=e=>b?.[e]!==!1,C=n?.find(e=>e.value===r)?.label,w=C?`Search by ${C}`:a;return(0,m.jsxs)(`div`,{className:T(`mb-2 flex shrink-0 flex-wrap items-center gap-2`,x),children:[S(`search`)&&(0,m.jsxs)(`div`,{className:`relative min-w-64 flex-1`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ze,size:16,strokeWidth:2,className:`pointer-events-none absolute top-1/2 left-2.5 -translate-y-1/2 text-muted-foreground`}),(0,m.jsx)(Ct,{value:e,onChange:e=>t(e.target.value),placeholder:w,className:T(`pl-8 hover:border-slate-300`,n&&`pr-28`)}),n&&n.length>0&&(0,m.jsx)(`div`,{className:`absolute top-1/2 right-1.5 -translate-y-1/2`,children:(0,m.jsxs)(dt,{children:[(0,m.jsx)(ft,{asChild:!0,children:(0,m.jsxs)(`button`,{type:`button`,"aria-label":`Search field`,className:`flex cursor-pointer items-center gap-1 rounded-md border-l border-cb-line py-0.5 pr-1 pl-2.5 text-[13px] font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none`,children:[C,(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:14,strokeWidth:2})]})}),(0,m.jsx)(mt,{align:`end`,className:`min-w-[8rem]`,children:(0,m.jsx)(St,{value:r,onValueChange:e=>i?.(e),children:n.map(e=>(0,m.jsx)(V,{value:e.value,children:e.label},e.value))})})]})})]}),S(`tabs`)&&(0,m.jsx)(sn,{value:o,onValueChange:s,children:(0,m.jsx)(ln,{children:c.map(e=>{let t=l?.[e.value]??0,n=t>99?`99+`:String(t),r=n.length>=2;return(0,m.jsxs)(un,{value:e.value,children:[e.label,t>0&&(0,m.jsx)(`span`,{className:T(`ml-1 inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-full bg-cb-blue pt-px text-[11px] font-semibold text-white`,r?`px-1.5`:`px-1`),children:n})]},e.value)})})}),S(`filters`)&&(0,m.jsxs)(O,{variant:`outline`,className:`cursor-pointer shadow-xs`,onClick:u,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Se,size:16,color:`currentColor`,strokeWidth:2}),`Filters`,d>0&&(0,m.jsx)(`span`,{className:`ml-0.5 inline-flex h-4 min-w-4 items-center justify-center rounded-full bg-primary px-1 text-[11px] font-semibold text-primary-foreground`,children:d})]}),S(`columns`)&&(0,m.jsx)(ur,{columns:f,visible:p,onChange:h}),S(`refresh`)&&(0,m.jsx)(O,{variant:`outline`,size:`icon`,"aria-label":`Refresh`,title:`Refresh`,className:`cursor-pointer shadow-xs disabled:opacity-100`,onClick:_,disabled:v,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Ie,size:16,color:`currentColor`,strokeWidth:2,className:v?`animate-spin`:void 0})}),S(`download`)&&(0,m.jsx)(yr,{onDownload:y})]})}var Ni=o({}),Pi=`–`;function Fi({children:e}){return(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:e})}var Ii=[{id:`date`,header:`Date`,cell:e=>(0,m.jsx)(`span`,{className:`font-medium text-foreground`,children:e.date})},{id:`opening`,header:`Opening Balance`,cell:e=>e.openingBalance??(0,m.jsx)(Fi,{children:Pi})},{id:`closing`,header:`Closing Balance`,cell:e=>e.closingBalance??(0,m.jsx)(Fi,{children:Pi})},{id:`diff`,header:`Diff`,cell:e=>{if(!e.diff)return(0,m.jsx)(Fi,{children:Pi});let t=e.diff.startsWith(`-`);return(0,m.jsx)(`span`,{className:T(`font-medium`,e.diff===`$0.00`?`text-muted-foreground`:t?`text-rose-600 dark:text-rose-400`:`text-emerald-600 dark:text-emerald-400`),children:e.diff})}},{id:`userDeposits`,header:`User Deposits`,cell:e=>e.userDeposits},{id:`userWithdrawals`,header:`User Withdrawals`,cell:e=>e.userWithdrawals},{id:`otherDeposits`,header:`Other Deposits`,cell:e=>e.otherDeposits},{id:`otherWithdrawals`,header:`Other Withdrawals`,cell:e=>e.otherWithdrawals}];function Li({data:e,pageSize:t}){return(0,m.jsx)(_r,{columns:Ii,data:e,getRowId:e=>e.date,pageSize:t})}var Ri=900;function zi(){let[e,t]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{if(typeof window>`u`||!window.matchMedia)return;let e=window.matchMedia(`(prefers-reduced-motion: reduce)`);t(e.matches);let n=()=>t(e.matches);return e.addEventListener(`change`,n),()=>e.removeEventListener(`change`,n)},[]),e}function Bi({segments:e,size:t=148,thickness:n=20,gap:r=2,animate:i=!0,className:a}){let o=e.reduce((e,t)=>e+t.value,0)||1,s=50-n/2,c=2*Math.PI*s,l=zi(),u=i&&!l,[f,p]=(0,d.useState)(!u);(0,d.useEffect)(()=>{if(!u){p(!0);return}let e=requestAnimationFrame(()=>p(!0));return()=>cancelAnimationFrame(e)},[u]);let h=(0,d.useRef)(null),[g,_]=(0,d.useState)(null),v=(e,t)=>{let n=h.current?.getBoundingClientRect();n&&_({seg:t,x:e.clientX-n.left,y:e.clientY-n.top})},y=0;return(0,m.jsxs)(`div`,{ref:h,className:`relative`,style:{width:t,height:t},children:[(0,m.jsx)(`svg`,{viewBox:`0 0 100 100`,width:t,height:t,role:`img`,className:T(`-rotate-90`,a),children:e.map(e=>{let t=e.value/o*c,i=Math.max(0,t-r),a=y/c,l=t/c;return y+=t,(0,m.jsx)(`circle`,{cx:`50`,cy:`50`,r:s,fill:`none`,stroke:e.color,strokeWidth:n,strokeDashoffset:-(y-t),className:`cursor-default`,onMouseEnter:t=>v(t,e),onMouseMove:t=>v(t,e),onMouseLeave:()=>_(null),style:{strokeDasharray:f?`${i} ${c-i}`:`0 ${c}`,transition:u?`stroke-dasharray ${l*Ri}ms linear ${a*Ri}ms`:void 0}},e.label)})}),g&&(0,m.jsx)(`div`,{role:`tooltip`,style:{left:g.x,top:g.y},className:`pointer-events-none absolute z-10 -translate-x-1/2 -translate-y-[calc(100%+10px)] whitespace-nowrap rounded-md bg-slate-900 px-2 py-1 text-xs font-medium text-white shadow-md dark:bg-slate-700`,children:(0,m.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,m.jsx)(`span`,{className:`size-2 rounded-full`,style:{backgroundColor:g.seg.color}}),(0,m.jsx)(`span`,{children:g.seg.label}),g.seg.detail&&(0,m.jsx)(`span`,{className:`text-white/70`,children:g.seg.detail})]})})]})}var Vi=`grid grid-cols-[minmax(0,1fr)_140px_180px_auto] items-center gap-4`;function Hi({entries:e,onDownload:t,className:n}){return(0,m.jsxs)(`div`,{className:T(`flex flex-col`,n),children:[(0,m.jsxs)(`div`,{className:T(Vi,`px-1 pb-3 text-sm font-medium text-muted-foreground`),children:[(0,m.jsx)(`span`,{children:`File`}),(0,m.jsx)(`span`,{children:`Period`}),(0,m.jsx)(`span`,{children:`Generated by`}),(0,m.jsx)(`span`,{"aria-hidden":!0})]}),e.map(e=>(0,m.jsxs)(`div`,{className:T(Vi,`border-t border-cb-line px-1 py-3.5 text-sm`),children:[(0,m.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2.5`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ve,size:18,color:`currentColor`,strokeWidth:2,className:`shrink-0 text-muted-foreground`}),(0,m.jsx)(`span`,{className:`truncate font-medium text-foreground`,children:e.file})]}),(0,m.jsx)(`span`,{className:`text-foreground`,children:e.period}),(0,m.jsx)(`span`,{className:`text-foreground`,children:e.generatedBy}),(0,m.jsxs)(O,{variant:`outline`,size:`sm`,className:`cursor-pointer shadow-xs`,onClick:()=>t?.(e),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:be,size:14,color:`currentColor`,strokeWidth:2}),`Download`]})]},e.id))]})}var Ui=o({ACCOUNT_START:()=>Gi,PRESETS:()=>qi,REFERENCE_TODAY:()=>Wi,presetPeriod:()=>Ji}),Wi=new Date(2026,6,15),Gi=new Date(2024,0,1),Ki=e=>t=>({from:(0,w.subDays)(t,e-1),to:t}),qi=[{id:`today`,label:`Today`,range:e=>({from:e,to:e})},{id:`yesterday`,label:`Yesterday`,range:e=>({from:(0,w.subDays)(e,1),to:(0,w.subDays)(e,1)})},{id:`today-yesterday`,label:`Today and yesterday`,range:e=>({from:(0,w.subDays)(e,1),to:e})},{id:`last-7`,label:`Last 7 days`,range:Ki(7)},{id:`last-14`,label:`Last 14 days`,range:Ki(14)},{id:`last-28`,label:`Last 28 days`,range:Ki(28)},{id:`last-30`,label:`Last 30 days`,range:Ki(30)},{id:`this-week`,label:`This week`,range:e=>({from:(0,w.startOfWeek)(e),to:e})},{id:`last-week`,label:`Last week`,range:e=>{let t=(0,w.subWeeks)(e,1);return{from:(0,w.startOfWeek)(t),to:(0,w.endOfWeek)(t)}}},{id:`this-month`,label:`This month`,range:e=>({from:(0,w.startOfMonth)(e),to:e})},{id:`last-month`,label:`Last month`,range:e=>{let t=(0,w.subMonths)(e,1);return{from:(0,w.startOfMonth)(t),to:(0,w.endOfMonth)(t)}}},{id:`maximum`,label:`Maximum`,range:e=>({from:Gi,to:e})}];function Ji(e,t=Wi){let{from:n,to:r}=e.range(t);return{mode:`range`,from:n,to:r,label:e.label}}var Yi=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Xi={root:`w-full`,nav:`absolute inset-x-0 top-0 flex items-center justify-between px-1`,caption_label:`text-sm font-semibold text-foreground`,week:`mt-1 flex w-full`,weekday:`flex-1 text-[0.75rem] font-normal text-muted-foreground`,day:`relative flex-1 p-0 text-center text-sm`,day_button:T(D({variant:`ghost`,size:`icon`}),`mx-auto size-8 cursor-pointer rounded-md text-sm font-normal`)};function Zi(e){return e.mode===`month`?e.month:e.from}function Qi(e){if(e.mode===`month`)return(0,w.format)(e.month,`MMMM yyyy`);if(e.label)return e.label;let t=e.from.getFullYear()===e.to.getFullYear();return`${(0,w.format)(e.from,t?`MMM d`:`MMM d, yyyy`)} – ${(0,w.format)(e.to,`MMM d, yyyy`)}`}function $i({value:e,onPick:t,onPreview:n}){return(0,m.jsx)(zt,{className:`h-full w-44 shrink-0 border-r border-cb-line`,viewportClassName:`p-2`,onMouseLeave:()=>n(null),children:(0,m.jsx)(`div`,{className:`flex flex-col gap-0.5`,children:qi.map(r=>(0,m.jsx)(`button`,{type:`button`,onClick:()=>t(r),onMouseEnter:()=>n(r),className:T(`shrink-0 cursor-pointer rounded-md px-2.5 py-1.5 text-left text-sm text-foreground transition-colors hover:bg-muted`,e.mode===`range`&&e.label===r.label&&`bg-primary/10 font-medium text-primary hover:bg-primary/10`),children:r.label},r.id))})})}function ea({draftMonth:e,today:t,onSelect:n}){let[r,i]=(0,d.useState)(()=>(e??t).getFullYear());return(0,m.jsxs)(`div`,{children:[(0,m.jsxs)(`div`,{className:`mb-3 flex items-center justify-between px-1`,children:[(0,m.jsx)(O,{variant:`ghost`,size:`icon-xs`,"aria-label":`Previous year`,onClick:()=>i(e=>e-1),className:`cursor-pointer text-muted-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ae,size:16,color:`currentColor`,strokeWidth:2})}),(0,m.jsx)(`span`,{className:`text-sm font-semibold text-foreground`,children:r}),(0,m.jsx)(O,{variant:`ghost`,size:`icon-xs`,"aria-label":`Next year`,onClick:()=>i(e=>e+1),className:`cursor-pointer text-muted-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:L,size:16,color:`currentColor`,strokeWidth:2})})]}),(0,m.jsx)(`div`,{className:`grid grid-cols-4 gap-1.5`,children:Yi.map((t,i)=>(0,m.jsx)(`button`,{type:`button`,onClick:()=>n(new Date(r,i,1)),className:T(`h-11 cursor-pointer rounded-md text-sm font-medium text-foreground transition-colors hover:bg-muted`,!!e&&e.getFullYear()===r&&e.getMonth()===i&&`bg-primary text-primary-foreground hover:bg-primary`),children:t},t))})]})}function ta({value:e,today:t,onChange:n,onReset:r}){let[i,a]=(0,d.useState)(e.mode===`month`?`month`:`range`),[o,s]=(0,d.useState)(e.mode===`month`?e.month:(0,w.startOfMonth)(Zi(e))),[c,l]=(0,d.useState)(e.mode===`range`?{from:e.from,to:e.to}:void 0),[u,f]=(0,d.useState)(null),p=!!c?.from&&!!c?.to,h=i===`month`||p;function g(e){i===`range`&&f(e?e.range(t):null)}function _(){i===`month`?n({mode:`month`,month:o}):c?.from&&c.to&&n({mode:`range`,from:c.from,to:c.to})}return(0,m.jsxs)(`div`,{className:`flex h-[360px]`,children:[(0,m.jsx)($i,{value:e,onPick:e=>n(Ji(e,t)),onPreview:g}),(0,m.jsxs)(`div`,{className:`flex h-full w-72 flex-col p-3`,children:[(0,m.jsxs)(sn,{value:i,onValueChange:e=>{a(e),f(null)},className:`flex min-h-0 flex-1 flex-col gap-3`,children:[(0,m.jsxs)(ln,{className:`w-full`,children:[(0,m.jsx)(un,{value:`month`,children:`Month`}),(0,m.jsx)(un,{value:`range`,children:`Date range`})]}),(0,m.jsx)(dn,{value:`month`,className:`mt-1 flex-1`,children:(0,m.jsx)(ea,{draftMonth:o,today:t,onSelect:s})}),(0,m.jsx)(dn,{value:`range`,className:`mt-1 flex-1`,children:(0,m.jsx)($e,{mode:`range`,selected:u??c,onSelect:e=>{f(null),l(e)},defaultMonth:Zi(e),className:`w-full p-0`,classNames:Xi})})]}),(0,m.jsxs)(`div`,{className:`flex items-center justify-end gap-2 pt-3`,children:[(0,m.jsx)(O,{variant:`ghost`,onClick:r,className:`cursor-pointer text-foreground hover:bg-muted`,children:`Reset`}),(0,m.jsx)(O,{disabled:!h,onClick:_,className:`cursor-pointer`,children:`Apply`})]})]})]})}function na({value:e,onChange:t,today:n=Wi,className:r}){let[i,a]=(0,d.useState)(!1);function o(n){if(e.mode===`month`)t({mode:`month`,month:n===1?(0,w.addMonths)(e.month,1):(0,w.subMonths)(e.month,1)});else{let r=(0,w.differenceInCalendarDays)(e.to,e.from)+1;t({mode:`range`,from:(0,w.addDays)(e.from,n*r),to:(0,w.addDays)(e.to,n*r)})}}return(0,m.jsxs)(`div`,{className:T(`inline-flex h-8 items-center rounded-lg border border-cb-line bg-cb-card shadow-xs`,r),children:[(0,m.jsxs)(Mt,{open:i,onOpenChange:a,children:[(0,m.jsx)(Nt,{asChild:!0,children:(0,m.jsxs)(`button`,{type:`button`,className:`flex h-full cursor-pointer items-center gap-2 rounded-l-lg pl-3 pr-2 text-sm font-medium text-foreground transition-colors hover:bg-muted/60`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:le,size:16,color:`currentColor`,strokeWidth:2,className:`text-muted-foreground`}),Qi(e)]})}),(0,m.jsx)(Ft,{align:`end`,className:`w-auto p-0`,children:(0,m.jsx)(ta,{value:e,today:n,onChange:e=>{t(e),a(!1)},onReset:()=>{t({mode:`month`,month:(0,w.startOfMonth)(n)}),a(!1)}})})]}),(0,m.jsxs)(`div`,{className:`flex items-center border-l border-cb-line`,children:[(0,m.jsx)(`button`,{type:`button`,"aria-label":`Previous period`,onClick:()=>o(-1),className:`flex h-full w-7 cursor-pointer items-center justify-center text-muted-foreground transition-colors hover:text-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ae,size:16,color:`currentColor`,strokeWidth:2})}),(0,m.jsx)(`button`,{type:`button`,"aria-label":`Next period`,onClick:()=>o(1),className:`flex h-full w-7 cursor-pointer items-center justify-center rounded-r-lg text-muted-foreground transition-colors hover:text-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:L,size:16,color:`currentColor`,strokeWidth:2})})]})]})}var ra=o({ASSET_COLORS:()=>ia,ASSET_COLOR_FALLBACK:()=>aa,DAILY_BALANCES:()=>ca,EXPORT_HISTORY:()=>la,REPORT_SUMMARIES:()=>sa,assetColor:()=>oa}),ia={USDT:`#2B7DE7`,USDC:`#38BDF8`,BTC:`#3730A3`,ETH:`#7C6BF5`,SOL:`#22D3EE`,XRP:`#C4B5FD`},aa=`#94A3B8`;function oa(e){return ia[e]??`#94A3B8`}var sa=[{label:`Total Volume`,total:`$1,284.60`,slices:[{code:`ETH`,percent:33},{code:`USDT`,percent:28},{code:`SOL`,percent:14},{code:`XRP`,percent:10},{code:`BTC`,percent:8},{code:`USDC`,percent:7}]},{label:`Total Deposits`,total:`$1,042.80`,slices:[{code:`ETH`,percent:35},{code:`USDT`,percent:31},{code:`SOL`,percent:14},{code:`BTC`,percent:8},{code:`XRP`,percent:8},{code:`USDC`,percent:5}]},{label:`Total Withdrawals`,total:`$241.80`,slices:[{code:`USDT`,percent:26},{code:`ETH`,percent:25},{code:`XRP`,percent:21},{code:`USDC`,percent:17},{code:`SOL`,percent:12}]}],ca=[{date:`2026-07-02`,openingBalance:null,closingBalance:null,diff:null,userDeposits:`$0.00`,userWithdrawals:`$0.00`,otherDeposits:`$0.00`,otherWithdrawals:`$0.00`},{date:`2026-07-01`,openingBalance:`$683.01`,closingBalance:`$687.83`,diff:`$4.83`,userDeposits:`$0.00`,userWithdrawals:`$0.00`,otherDeposits:`$0.00`,otherWithdrawals:`$0.00`},{date:`2026-06-30`,openingBalance:`$671.20`,closingBalance:`$683.01`,diff:`$11.81`,userDeposits:`$45.00`,userWithdrawals:`$33.19`,otherDeposits:`$0.00`,otherWithdrawals:`$0.00`}],la=[{id:`daily-balances-jun-2026`,file:`daily-balances-jun-2026.csv`,period:`Jun 2026`,generatedBy:`AM Testing`},{id:`reconciliation-2026-06-30`,file:`reconciliation-2026-06-30.csv`,period:`Jun 30`,generatedBy:`Filip AM`},{id:`transactions-q2-2026`,file:`transactions-q2-2026.csv`,period:`Apr–Jun 2026`,generatedBy:`Luka AM`}];function ua({summary:e}){return(0,m.jsx)(`div`,{className:`flex flex-wrap justify-center gap-x-4 gap-y-1.5`,children:e.slices.map(e=>(0,m.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 text-sm`,children:[(0,m.jsx)(`span`,{className:`size-2 shrink-0 rounded-full`,style:{backgroundColor:oa(e.code)}}),(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:e.code}),(0,m.jsxs)(`span`,{className:`font-medium text-foreground`,children:[e.percent,`%`]})]},e.code))})}function da({summary:e,emphasized:t=!0,className:n}){let r=e.slices.map(e=>({label:e.code,value:e.percent,color:oa(e.code),detail:e.amount?`${e.amount} · ${e.percent}%`:`${e.percent}%`}));return(0,m.jsxs)(`div`,{className:T(`flex flex-col px-5 py-4`,n),children:[(0,m.jsx)(`span`,{className:`text-sm font-medium text-muted-foreground`,children:e.label}),(0,m.jsx)(`span`,{className:T(`mt-1 text-[2rem] leading-tight text-foreground`,t?`font-semibold`:`font-normal`),children:e.total}),(0,m.jsx)(`div`,{className:`mt-4 flex justify-center`,children:(0,m.jsx)(Bi,{segments:r})}),(0,m.jsx)(`div`,{className:`mt-5`,children:(0,m.jsx)(ua,{summary:e})})]})}function fa({summaries:e,className:t}){return(0,m.jsx)(`div`,{className:T(`grid grid-cols-1 divide-y divide-cb-line rounded-2xl border border-cb-line bg-cb-card shadow-xs lg:grid-cols-3 lg:divide-x lg:divide-y-0`,t),children:e.map((e,t)=>(0,m.jsx)(da,{summary:e,emphasized:t===0},e.label))})}function pa({className:e}){return(0,m.jsxs)(`div`,{className:T(`flex flex-col items-center justify-center gap-3 rounded-2xl border border-cb-line bg-cb-card px-6 py-16 text-center shadow-xs`,e),children:[(0,m.jsx)(`div`,{className:`flex size-12 items-center justify-center rounded-full bg-muted text-muted-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:re,size:24,color:`currentColor`,strokeWidth:2})}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`text-base font-medium text-foreground`,children:`No activity in this period`}),(0,m.jsx)(`p`,{className:`mx-auto mt-1 max-w-sm text-sm text-muted-foreground`,children:`There were no deposits or withdrawals for the selected dates. Try a different period.`})]})]})}var ma=o({}),ha=o({default:()=>Aa,getReportData:()=>Aa}),ga=[`USDT`,`USDC`,`BTC`,`ETH`,`SOL`,`XRP`],_a=Gi,va=Wi;function ya(e){let t=e>>>0;return()=>{t|=0,t=t+1831565813|0;let e=Math.imul(t^t>>>15,1|t);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296}}function ba(e){if(e.mode===`month`)return e.month.getFullYear()*100+(e.month.getMonth()+1);let t=864e5,n=Math.floor(e.from.getTime()/t),r=Math.floor(e.to.getTime()/t);return n%1e5*1e3+r%1e3}function xa(e){return e.mode===`month`?{start:(0,w.startOfMonth)(e.month),end:(0,w.endOfMonth)(e.month)}:{start:e.from,end:e.to}}function Z(e){return Math.round(e*100)/100}function Q(e){return`${e<0?`-`:``}$${Math.abs(e).toLocaleString(`en-US`,{minimumFractionDigits:2,maximumFractionDigits:2})}`}function Sa(e){return Math.round(e).toLocaleString(`en-US`)}function Ca(e,t){let n=t.reduce((e,t)=>e+t,0)||1,r=t.map(t=>Math.round(e*t*100/n)),i=Math.round(e*100)-r.reduce((e,t)=>e+t,0),a=0;return r.forEach((e,t)=>{e>r[a]&&(a=t)}),r[a]+=i,r.map(e=>e/100)}function wa(e,t){let n=t.reduce((e,t)=>e+t,0)||1,r=t.map(t=>e*t/n),i=r.map(Math.floor),a=e-i.reduce((e,t)=>e+t,0),o=r.map((e,t)=>({i:t,frac:e-Math.floor(e)})).sort((e,t)=>t.frac-e.frac),s=[...i];for(let e=0;e<a&&e<o.length;e++)s[o[e].i]++;return s}function Ta(e,t){if(t<=0)return e.map(()=>0);let n=e.map(e=>e/t*100),r=n.map(Math.floor),i=100-r.reduce((e,t)=>e+t,0),a=n.map((e,t)=>({i:t,frac:e-Math.floor(e)})).sort((e,t)=>t.frac-e.frac),o=[...r];for(let e=0;e<i&&e<a.length;e++)o[a[e].i]++;return o}function Ea(e,t,n,r){let i=Ta(n,t),a=ga.map((e,t)=>({code:e,percent:i[t],amount:r(n[t])})).filter(e=>e.percent>0).sort((e,t)=>t.percent-e.percent);return{label:e,total:r(t),slices:a}}function Da(e){return e===`transactions`?[`Total Transactions`,`Total Deposits`,`Total Withdrawals`]:[`Total Volume`,`Total Deposits`,`Total Withdrawals`]}function Oa(e){let t=e===`transactions`?`0`:`$0.00`;return Da(e).map(e=>({label:e,total:t,slices:[]}))}function ka(e,t,n){let r=e=>n()<e,i=(0,w.eachDayOfInterval)({start:e,end:t}),a=Z(600+n()*150);return i.map(e=>{let t=r(.65)?Z(n()*60):0,i=r(.5)?Z(n()*40):0,o=r(.15)?Z(n()*20):0,s=r(.15)?Z(n()*15):0,c=Z(t+o-i-s),l=Z(a+c),u={date:(0,w.format)(e,`yyyy-MM-dd`),openingBalance:Q(a),closingBalance:Q(l),diff:Q(c),userDeposits:Q(t),userWithdrawals:Q(i),otherDeposits:Q(o),otherWithdrawals:Q(s)};return a=l,u}).reverse()}function Aa(e,t=`volume`){let{start:n,end:r}=xa(e),i=(0,w.max)([n,_a]),a=(0,w.min)([r,va]),o=a>=i?(0,w.differenceInCalendarDays)(a,i)+1:0;if(o<=0)return{isEmpty:!0,summaries:Oa(t),dailyBalances:[]};let s=ka(i,a,ya(ba(e))),c=ya(ba(e)+(t===`transactions`?4242:0)),l=ga.map(()=>c()+.1),u=ga.map(()=>c()+.1),[d,f,p]=Da(t);if(t===`transactions`){let e=Math.max(1,Math.round(o*(6+c()*8))),t=Math.round(e*(.2+c()*.3)),n=wa(e,l),r=wa(t,u),i=n.map((e,t)=>e+r[t]);return{isEmpty:!1,summaries:[Ea(d,e+t,i,Sa),Ea(f,e,n,Sa),Ea(p,t,r,Sa)],dailyBalances:s}}let m=Z(o*(8+c()*6)),h=Z(m*(.15+c()*.22)),g=Ca(m,l),_=Ca(h,u),v=g.map((e,t)=>Z(e+_[t]));return{isEmpty:!1,summaries:[Ea(d,Z(m+h),v,Q),Ea(f,m,g,Q),Ea(p,h,_,Q)],dailyBalances:s}}var ja=[{id:`withdraw`,label:`Withdraw`,icon:oe},{id:`deposit`,label:`Deposit`,icon:P},{id:`convert`,label:`Convert`,icon:I}];function Ma({variant:e=`menu`,label:t,onAction:n}){return e===`icons`?(0,m.jsx)(`div`,{className:`flex items-center justify-end gap-0.5`,children:ja.map(({id:e,label:r,icon:i})=>(0,m.jsxs)(pn,{children:[(0,m.jsx)(mn,{asChild:!0,children:(0,m.jsx)(O,{variant:`ghost`,size:`icon-sm`,"aria-label":t?`${r} — ${t}`:r,onClick:()=>n?.(e),className:`cursor-pointer text-muted-foreground hover:bg-transparent hover:text-primary`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:i,size:16,color:`currentColor`,strokeWidth:2})})}),(0,m.jsx)(hn,{children:r})]},e))}):(0,m.jsx)(`div`,{className:`flex justify-end`,children:(0,m.jsxs)(dt,{children:[(0,m.jsx)(ft,{asChild:!0,children:(0,m.jsx)(O,{variant:`ghost`,size:`icon-sm`,"aria-label":t?`Actions — ${t}`:`Actions`,className:`cursor-pointer text-muted-foreground hover:bg-slate-200/70 hover:text-primary data-[state=open]:bg-slate-200/70 data-[state=open]:text-primary`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Me,size:24,color:`currentColor`,strokeWidth:2})})}),(0,m.jsx)(mt,{align:`end`,className:`min-w-[11rem] p-1.5`,children:ja.map(({id:e,label:t,icon:r})=>(0,m.jsxs)(ht,{onSelect:()=>n?.(e),className:`cursor-pointer gap-2.5 rounded-md px-2.5 py-2 text-sm`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:r,size:16,color:`currentColor`,strokeWidth:2,className:`text-muted-foreground`}),t]},e))})]})})}var Na=e=>e&&parseFloat(e.replace(/[^0-9.-]/g,``))||0,Pa=e=>{let t=e.indexOf(`.`);return t<0?0:e.length-t-1},Fa=(e,t)=>e.toLocaleString(`en-US`,{minimumFractionDigits:t,maximumFractionDigits:t}),Ia=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),La=e=>e.name.toLowerCase().includes(`payout`);function Ra(e,t){let n=e.filter(Boolean);if(n.length===0)return;let r=n.reduce((e,t)=>e+Na(t.pending),0);return{amount:Fa(n.reduce((e,t)=>e+Na(t.amount),0),t),fiat:Ia(n.reduce((e,t)=>e+Na(t.amountFiat),0)),pending:r>0?Fa(r,t):void 0,pendingFiat:r>0?Ia(n.reduce((e,t)=>e+Na(t.pendingFiat),0)):void 0}}var za=e=>{let t=e?.note?Na(e.note):0;return t>0&&Na(e?.amountFiat)<t};function Ba(e){let t=Pa(e.wallets[0]?.amount??`0`),n=[],r={};for(let t of e.wallets)r[t.network]||(r[t.network]={networkName:t.networkName},n.push(t.network)),La(t)?r[t.network].payout=t:r[t.network].main=t;let i=n.map(e=>{let n=r[e];return{network:e,networkName:n.networkName,main:Ra([n.main],t),payout:Ra([n.payout],t),total:Ra([n.main,n.payout],t),belowMin:za(n.main)||za(n.payout)}}),a={amount:Fa(0,t),fiat:Ia(0)};return{code:e.code,networkCount:n.length,main:Ra(e.wallets.filter(e=>!La(e)),t)??a,payout:Ra(e.wallets.filter(La),t)??a,total:Ra(e.wallets,t),networks:i}}function Va({money:e,code:t,strong:n=!1,large:r=!1,muted:i=!1,align:a=`end`}){return e?(0,m.jsx)(K,{align:a,tabularNums:!0,primary:(0,m.jsxs)(m.Fragment,{children:[e.amount,(0,m.jsx)(`span`,{className:`ml-1`,children:t})]}),primaryClassName:T(i?`font-normal text-muted-foreground`:n?`font-bold`:`font-medium`,r&&`text-base`),secondary:(0,m.jsxs)(m.Fragment,{children:[e.fiat,e.pending&&(0,m.jsxs)(`span`,{className:`mt-0.5 block text-amber-600`,children:[`+`,e.pending,` pending`]})]}),secondaryClassName:r?`text-sm`:void 0}):(0,m.jsx)(`div`,{className:a===`end`?`text-right`:`text-left`,children:(0,m.jsx)(`span`,{className:T(`tabular-nums text-muted-foreground`,r&&`text-base`),children:`—`})})}function Ha({balances:e,actionsVariant:t=`menu`,className:n}){let{setExtension:r,stickyTop:i}=ir(),a=(0,d.useRef)(null),[o,s]=(0,d.useState)(new Set),c=e=>s(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n});(0,d.useEffect)(()=>{let e=a.current;if(!e)return;let t=e.closest(`main`),n=new IntersectionObserver(([t])=>{let n=!t.isIntersecting&&t.boundingClientRect.top<=i,a=e.nextElementSibling?.querySelector(`thead`);r(n?a?.offsetHeight??0:0)},{root:t,rootMargin:`-${i}px 0px 0px 0px`,threshold:0});return n.observe(e),()=>{n.disconnect(),r(0)}},[r,i]);let l=e.map(Ba);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`div`,{ref:a,"aria-hidden":!0,className:`h-px`}),(0,m.jsxs)($t,{containerClassName:`overflow-x-visible`,className:T(`mt-0.5 table-fixed border-separate border-spacing-0`,n),children:[(0,m.jsx)(en,{className:T(`sticky z-30`,i===0&&`bg-white/85 backdrop-blur-md`),style:{top:i},children:(0,m.jsxs)(rn,{className:`hover:bg-transparent`,children:[(0,m.jsx)(an,{className:`w-[34%] border-b-2 border-cb-line py-2 pl-4`,children:`Currency & Network`}),(0,m.jsx)(an,{className:`w-[21%] border-b-2 border-cb-line py-2 pl-4`,children:`Main Wallet`}),(0,m.jsx)(an,{className:`w-[21%] border-b-2 border-cb-line py-2 pl-4`,children:`Payout Wallet`}),(0,m.jsx)(an,{className:`border-b-2 border-cb-line py-2 pr-4 text-right`,children:`Total`}),(0,m.jsx)(an,{className:`w-20 border-b-2 border-cb-line py-2 pr-4`})]})}),(0,m.jsx)(tn,{children:l.map(e=>{let n=o.has(e.code);return(0,m.jsxs)(d.Fragment,{children:[(0,m.jsxs)(rn,{className:`cursor-pointer hover:bg-slate-50`,onClick:()=>c(e.code),children:[(0,m.jsx)(U,{className:`border-b border-cb-line py-2.5 pl-4 align-top`,children:(0,m.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2,"aria-hidden":!0,className:T(`shrink-0 text-muted-foreground transition-transform`,!n&&`-rotate-90`)}),(0,m.jsx)(W,{src:q(e.code),code:e.code,className:`size-9 shrink-0`}),(0,m.jsxs)(`div`,{className:`flex flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`text-base font-bold`,children:e.code}),(0,m.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[e.networkCount,` network`,e.networkCount===1?``:`s`]})]})]})}),(0,m.jsx)(U,{className:`border-b border-cb-line py-2.5 pl-4 align-top`,children:(0,m.jsx)(Va,{money:e.main,code:e.code,large:!0,align:`start`})}),(0,m.jsx)(U,{className:`border-b border-cb-line py-2.5 pl-4 align-top`,children:(0,m.jsx)(Va,{money:e.payout,code:e.code,large:!0,align:`start`})}),(0,m.jsx)(U,{className:`border-b border-cb-line py-2.5 pr-4 align-top`,children:(0,m.jsx)(Va,{money:e.total,code:e.code,strong:!0,large:!0})}),(0,m.jsx)(U,{className:`border-b border-cb-line py-2.5 pr-4 align-top`,children:(0,m.jsx)(`div`,{className:`flex items-center justify-end`,onClick:e=>e.stopPropagation(),children:(0,m.jsx)(Ma,{variant:t,label:`${e.code} actions`})})})]}),n&&e.networks.map(n=>(0,m.jsxs)(rn,{className:`bg-slate-50/60 hover:bg-slate-100/60`,children:[(0,m.jsx)(U,{className:`border-b border-slate-100 py-2 pl-8 align-top`,children:(0,m.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(W,{src:q(n.network),code:n.network,className:`size-5 shrink-0`}),(0,m.jsx)(`span`,{className:`font-medium`,children:n.networkName}),n.belowMin&&(0,m.jsx)(`span`,{className:`text-xs font-medium text-amber-600`,children:`Below min`})]})}),(0,m.jsx)(U,{className:`border-b border-slate-100 py-2 pl-4 align-top`,children:(0,m.jsx)(Va,{money:n.main,code:e.code,align:`start`,muted:!0})}),(0,m.jsx)(U,{className:`border-b border-slate-100 py-2 pl-4 align-top`,children:(0,m.jsx)(Va,{money:n.payout,code:e.code,align:`start`,muted:!0})}),(0,m.jsx)(U,{className:`border-b border-slate-100 py-2 pr-4 align-top`,children:(0,m.jsx)(Va,{money:n.total,code:e.code,muted:!0})}),(0,m.jsx)(U,{className:`border-b border-slate-100 py-2 pr-4 align-top`,children:(0,m.jsx)(`div`,{className:`flex items-center justify-end`,children:(0,m.jsx)(Ma,{variant:t,label:`${e.code} ${n.networkName} actions`})})})]},e.code+n.network))]},e.code)})})]})]})}function Ua({label:e,value:t,valueClassName:n,children:r}){return(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5 px-5 py-4`,children:[(0,m.jsx)(`span`,{className:`text-sm font-medium leading-tight text-muted-foreground`,children:e}),(0,m.jsx)(`span`,{className:T(`text-2xl leading-none text-foreground`,n),children:r??t})]})}function Wa({totalAssets:e,totalPending:t,activeWallets:n,totalWallets:r,showTotalWallets:i=!0,pendingAmber:a=!1,className:o}){return(0,m.jsxs)(`div`,{className:T(`grid grid-cols-1 divide-y divide-cb-line rounded-2xl border border-cb-line bg-cb-card shadow-xs sm:grid-cols-3 sm:divide-x sm:divide-y-0`,o),children:[(0,m.jsx)(Ua,{label:`Total assets under management`,value:e,valueClassName:`font-semibold`}),(0,m.jsx)(Ua,{label:`Total pending`,value:t,valueClassName:T(`font-normal`,a&&`text-amber-600`)}),(0,m.jsxs)(Ua,{label:`Active wallets`,children:[(0,m.jsx)(`span`,{className:`font-normal`,children:n}),i&&(0,m.jsxs)(`span`,{className:`ml-1.5 text-base font-medium text-muted-foreground`,children:[`/ `,r]})]})]})}var Ga=o({CURRENCY_BALANCES:()=>Ka,balancesTotals:()=>qa}),Ka=[{code:`BTC`,name:`Bitcoin`,totalAmount:`0.15000000`,totalAmountFiat:`$9,276.30`,totalPending:`0.00080000`,totalPendingFiat:`$49.47`,wallets:[{id:`btc-main`,name:`Main`,network:`BTC`,networkName:`Bitcoin`,amount:`0.15000000`,amountFiat:`$9,276.30`,pending:`0.00080000`,pendingFiat:`$49.47`},{id:`btc-payout`,name:`Payout`,note:`min $5,000`,network:`BTC`,networkName:`Bitcoin`,amount:`0.00000000`,amountFiat:`$0.00`}]},{code:`ETH`,name:`Ethereum`,totalAmount:`18.42000000`,totalAmountFiat:`$57,489.60`,totalPending:`0.34000000`,totalPendingFiat:`$1,061.28`,wallets:[{id:`eth-main`,name:`Main`,network:`ETH`,networkName:`Ethereum`,amount:`14.00000000`,amountFiat:`$43,680.00`,pending:`0.34000000`,pendingFiat:`$1,061.28`},{id:`eth-payout`,name:`Payout`,network:`ETH`,networkName:`Ethereum`,amount:`4.42000000`,amountFiat:`$13,809.60`}]},{code:`USDT`,name:`Tether`,totalAmount:`460,000.00`,totalAmountFiat:`$460,000.00`,totalPending:`1,500.00`,totalPendingFiat:`$1,500.00`,wallets:[{id:`usdt-eth-main`,name:`Main`,network:`ETH`,networkName:`Ethereum`,amount:`120,000.00`,amountFiat:`$120,000.00`},{id:`usdt-eth-payout`,name:`Payout`,network:`ETH`,networkName:`Ethereum`,amount:`30,000.00`,amountFiat:`$30,000.00`},{id:`usdt-tron-main`,name:`Main`,network:`TRON`,networkName:`Tron`,amount:`250,000.00`,amountFiat:`$250,000.00`,pending:`1,500.00`,pendingFiat:`$1,500.00`},{id:`usdt-tron-payout`,name:`Payout`,network:`TRON`,networkName:`Tron`,amount:`45,000.00`,amountFiat:`$45,000.00`},{id:`usdt-bnb-main`,name:`Main`,network:`BNB`,networkName:`BNB Chain`,amount:`15,000.00`,amountFiat:`$15,000.00`},{id:`usdt-bnb-payout`,name:`Payout`,network:`BNB`,networkName:`BNB Chain`,amount:`0.00`,amountFiat:`$0.00`}]},{code:`USDC`,name:`USD Coin`,totalAmount:`100,000.00`,totalAmountFiat:`$100,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`usdc-main`,name:`Main`,network:`ETH`,networkName:`Ethereum`,amount:`80,000.00`,amountFiat:`$80,000.00`},{id:`usdc-payout`,name:`Payout`,network:`ETH`,networkName:`Ethereum`,amount:`20,000.00`,amountFiat:`$20,000.00`}]},{code:`SOL`,name:`Solana`,totalAmount:`1,000.00`,totalAmountFiat:`$150,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`sol-main`,name:`Main`,network:`SOL`,networkName:`Solana`,amount:`900.00`,amountFiat:`$135,000.00`},{id:`sol-payout`,name:`Payout`,network:`SOL`,networkName:`Solana`,amount:`100.00`,amountFiat:`$15,000.00`}]},{code:`AVAX`,name:`Avalanche`,totalAmount:`2,500.00`,totalAmountFiat:`$100,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`avax-main`,name:`Main`,network:`AVAX`,networkName:`Avalanche`,amount:`2,000.00`,amountFiat:`$80,000.00`},{id:`avax-payout`,name:`Payout`,network:`AVAX`,networkName:`Avalanche`,amount:`500.00`,amountFiat:`$20,000.00`}]},{code:`BNB`,name:`BNB`,totalAmount:`200.00`,totalAmountFiat:`$120,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`bnb-main`,name:`Main`,network:`BNB`,networkName:`BNB Chain`,amount:`150.00`,amountFiat:`$90,000.00`},{id:`bnb-payout`,name:`Payout`,network:`BNB`,networkName:`BNB Chain`,amount:`50.00`,amountFiat:`$30,000.00`}]},{code:`POL`,name:`Polygon`,totalAmount:`120,000.00`,totalAmountFiat:`$60,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`pol-main`,name:`Main`,network:`POL`,networkName:`Polygon`,amount:`100,000.00`,amountFiat:`$50,000.00`},{id:`pol-payout`,name:`Payout`,network:`POL`,networkName:`Polygon`,amount:`20,000.00`,amountFiat:`$10,000.00`}]}];function qa(e){let t=e=>parseFloat(e.replace(/[^0-9.-]/g,``))||0,n=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),r=e.flatMap(e=>e.wallets);return{totalAssets:n(e.reduce((e,n)=>e+t(n.totalAmountFiat),0)),totalPending:n(e.reduce((e,n)=>e+t(n.totalPendingFiat),0)),activeWallets:r.filter(e=>t(e.amount)>0).length,totalWallets:r.length}}var Ja=o({}),Ya=o({RECENT_TRANSACTIONS:()=>Xa,default:()=>Xa}),Xa=[{id:`rtx-1`,label:`Manual Deposit`,direction:`in`,status:`confirmed`,currency:`USDT`,network:`TRX`,amount:`+20.00`,amountFiat:`+$20.00`,from:{label:`0xd4f8c2...e2f8c4`,value:`0xd4f8c2a19b7e3f0c6d5a4b8e1c2f8c4`,address:!0},to:{label:`Low Risk Wallet`,value:`Low Risk Wallet`},date:`Mar 10, 2024`,time:`11:31 AM`,initiatedBy:`J. Smith`,txHash:`0xd4f8c2a1b3e5d7f9c1a3b5d7e9f1c3a5b7d9e1f3c5a7b9d1e3f5c7a9b1e5f3c9b6`},{id:`rtx-2`,label:`Manual Deposit`,direction:`in`,status:`confirmed`,currency:`USDT`,network:`TRX`,amount:`+50.00`,amountFiat:`+$50.00`,from:{label:`Low Risk Wallet`,value:`Low Risk Wallet`},to:{label:`Medium Risk Wallet`,value:`Medium Risk Wallet`},date:`Mar 10, 2024`,time:`10:15 AM`,initiatedBy:`J. Smith`,txHash:`0xa3c7e1d9f2b4a6c8e0d2f4b6a8c0e2d4f6b8a0c2e4d6f8b0a2c4e6d8f0b2f6b8e0a2`},{id:`rtx-3`,label:`Auto Transfer`,direction:`transfer`,status:`confirmed`,currency:`USDT`,network:`TRX`,amount:`100.00`,amountFiat:`$100.00`,from:{label:`High Risk Wallet`,value:`High Risk Wallet`},to:{label:`Payout Wallet`,value:`Payout Wallet`},date:`Mar 9, 2024`,time:`3:45 PM`,txHash:`0xf1a4d8c2b5e7a9c1d3f5b7e9a1c3d5f7b9e1a3c5d7f9b1e3a5c7d9f1b3e1b5f9a3`},{id:`rtx-4`,label:`Manual Withdraw`,direction:`out`,status:`confirmed`,currency:`USDT`,network:`TRX`,amount:`-75.50`,amountFiat:`-$75.50`,from:{label:`Payout Wallet`,value:`Payout Wallet`},to:{label:`0x9b2e7f...a1c4d8`,value:`0x9b2e7f0a3c6d9b2e5f8a1c4d8`,address:!0},date:`Mar 9, 2024`,time:`1:20 PM`,initiatedBy:`M. Chen`,txHash:`0xb7d9e1f3c5a7b9d1e3f5c7a9b1e3f5c7a9b1d3e5f7c9a1b3d5e7f9c1a3b5d7e9f1c3`},{id:`rtx-5`,label:`Auto Transfer`,direction:`transfer`,status:`processing`,currency:`USDT`,network:`TRX`,amount:`250.00`,amountFiat:`$250.00`,from:{label:`Low Risk Wallet`,value:`Low Risk Wallet`},to:{label:`Operational Wallet`,value:`Operational Wallet`},date:`Mar 8, 2024`,time:`9:02 AM`,txHash:`0xc5a7b9d1e3f5c7a9b1e3f5c7a9b1d3e5f7c9a1b3d5e7f9c1a3b5d7e9f1c3a5b7d9e1`}];function $({id:e,label:t,value:n,options:r,onChange:i,placeholder:a=`Select…`,emptyMessage:o=`No options available.`,disabled:s=!1,className:c}){let[l,u]=(0,d.useState)(!1),f=r.find(e=>e.value===n)??null,p=s||r.length===0;return(0,m.jsxs)(`div`,{className:T(`flex flex-col gap-1.5`,c),children:[t!=null&&(0,m.jsx)(wt,{htmlFor:e,className:`text-[13px] font-medium text-muted-foreground`,children:t}),(0,m.jsxs)(Mt,{open:l,onOpenChange:u,children:[(0,m.jsx)(Nt,{asChild:!0,children:(0,m.jsxs)(`button`,{id:e,type:`button`,disabled:p,"aria-label":typeof t==`string`?t:void 0,className:T(`flex h-12 w-full items-center justify-between gap-2 rounded-lg border border-input bg-transparent px-2.5 text-left text-sm transition-colors`,`hover:border-slate-300 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-none aria-expanded:border-slate-300`,`disabled:pointer-events-none disabled:opacity-50`),children:[f?(0,m.jsxs)(`span`,{className:`flex min-w-0 flex-1 items-center gap-2.5`,children:[f.leading,(0,m.jsxs)(`span`,{className:`flex min-w-0 flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`truncate font-medium text-foreground`,children:f.label}),f.sublabel!=null&&(0,m.jsx)(`span`,{className:`truncate text-xs text-muted-foreground`,children:f.sublabel})]})]}):(0,m.jsx)(`span`,{className:`flex-1 truncate text-muted-foreground`,children:a}),(0,m.jsxs)(`span`,{className:`flex shrink-0 items-center gap-2 text-muted-foreground`,children:[f?.meta,(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2})]})]})}),(0,m.jsx)(Ft,{align:`start`,className:`max-h-72 w-[var(--radix-popover-trigger-width)] overflow-y-auto p-1`,children:r.length===0?(0,m.jsx)(`p`,{className:`px-2.5 py-6 text-center text-sm text-muted-foreground`,children:o}):r.map(e=>{let t=e.value===n;return(0,m.jsxs)(`button`,{type:`button`,disabled:e.disabled,onClick:()=>{i(e.value),u(!1)},className:T(`flex w-full items-center gap-2.5 rounded-lg px-2 py-1.5 text-left text-sm outline-none transition-colors`,`hover:bg-cb-seg focus-visible:bg-cb-seg`,`disabled:pointer-events-none disabled:opacity-50`,t&&`bg-cb-seg`),children:[e.leading,(0,m.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`truncate font-medium text-foreground`,children:e.label}),e.sublabel!=null&&(0,m.jsx)(`span`,{className:`truncate text-xs text-muted-foreground`,children:e.sublabel})]}),e.meta!=null&&(0,m.jsx)(`span`,{className:`shrink-0 text-right text-xs text-muted-foreground`,children:e.meta}),(0,m.jsx)(`span`,{className:`flex w-4 shrink-0 justify-center text-primary`,children:t&&(0,m.jsx)(g.HugeiconsIcon,{icon:Ge,size:16,strokeWidth:2.2})})]},e.value)})})]})]})}function Za({id:e,label:t=`Amount`,value:n,onChange:r,suffix:i,hint:a,helper:o,onMax:s,maxDisabled:c=!1,disabled:l=!1,invalid:u=!1,placeholder:d=`0.00`,className:f}){return(0,m.jsxs)(`div`,{className:T(`flex flex-col gap-1.5`,f),children:[(0,m.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,m.jsx)(wt,{htmlFor:e,className:`text-[13px] font-medium text-muted-foreground`,children:t}),a!=null&&(0,m.jsx)(`span`,{className:`text-xs tabular-nums text-muted-foreground`,children:a})]}),(0,m.jsxs)(`div`,{className:`relative`,children:[(0,m.jsx)(Ct,{id:e,inputMode:`decimal`,placeholder:d,maxLength:18,value:n,disabled:l,"aria-invalid":u,onChange:e=>r(e.target.value),className:`h-12 pr-28 text-lg font-medium tabular-nums md:text-lg`}),(0,m.jsxs)(`div`,{className:`absolute top-1/2 right-1.5 flex -translate-y-1/2 items-center gap-1.5`,children:[i!=null&&(0,m.jsx)(`span`,{className:`text-sm font-medium text-muted-foreground`,children:i}),s&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Bt,{orientation:`vertical`,className:`h-4`}),(0,m.jsx)(O,{type:`button`,size:`xs`,variant:`ghost`,disabled:c,onClick:s,className:`cursor-pointer text-primary hover:text-primary`,children:`Max`})]})]})]}),o!=null&&(0,m.jsx)(`div`,{className:`min-h-4 text-xs`,children:o})]})}function Qa({id:e,label:t,value:n,onChange:r,placeholder:i,hint:a,helper:o,disabled:s=!1,invalid:c=!1,inputMode:l,spellCheck:u,autoComplete:d,maxLength:f,inputClassName:p,className:h}){return(0,m.jsxs)(`div`,{className:T(`flex flex-col gap-1.5`,h),children:[(t!=null||a!=null)&&(0,m.jsxs)(`div`,{className:`flex items-center justify-between`,children:[t==null?(0,m.jsx)(`span`,{}):(0,m.jsx)(wt,{htmlFor:e,className:`text-[13px] font-medium text-muted-foreground`,children:t}),a!=null&&(0,m.jsx)(`span`,{className:`text-xs tabular-nums text-muted-foreground`,children:a})]}),(0,m.jsx)(Ct,{id:e,value:n,onChange:e=>r(e.target.value),placeholder:i,disabled:s,"aria-invalid":c,inputMode:l,spellCheck:u,autoComplete:d,maxLength:f,className:T(`h-12`,p)}),o!=null&&(0,m.jsx)(`div`,{className:`min-h-4 text-xs`,children:o})]})}function $a(e){return e.length>18?`${e.slice(0,10)}…${e.slice(-6)}`:e}function eo({id:e,label:t=`Wallet`,placeholder:n=`Select a wallet`,value:r,onChange:i,wallets:a,emptyMessage:o=`No wallets available.`,variant:s=`simple`,disabled:c=!1,className:l}){return(0,m.jsx)($,{id:e,label:t,placeholder:n,value:r,options:a.map(e=>s===`simple`?{value:e.id,label:e.name}:{value:e.id,label:e.name,sublabel:e.address?$a(e.address):void 0,leading:e.coin&&e.network?(0,m.jsx)(mr,{code:e.coin,network:e.network,codeSrc:q(e.coin),networkSrc:q(e.network),size:`sm`}):void 0,meta:e.amount==null?void 0:(0,m.jsxs)(`span`,{className:`flex flex-col items-end leading-tight tabular-nums`,children:[(0,m.jsxs)(`span`,{className:`text-foreground`,children:[e.amount,e.coin?` ${e.coin}`:``]}),e.amountFiat!=null&&(0,m.jsx)(`span`,{children:e.amountFiat})]})}),onChange:i,emptyMessage:o,disabled:c,className:l})}function to(e){let t=Date.parse(`${e.date} ${e.time}`);return Number.isNaN(t)?0:t}function no({name:e}){return(0,m.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`flex size-6 shrink-0 items-center justify-center rounded-full bg-cb-seg text-[10px] font-semibold text-muted-foreground`,children:e.split(` `).map(e=>e[0]).slice(0,2).join(``).toUpperCase()}),(0,m.jsx)(`span`,{className:`truncate text-sm text-foreground`,children:e})]})}function ro({amount:e,coin:t,tone:n}){return(0,m.jsxs)(`span`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(W,{code:t,src:q(t),className:`size-7`}),(0,m.jsx)(K,{tabularNums:!0,primary:(0,m.jsxs)(`span`,{className:T(`font-medium`,n===`out`?`text-red-600 dark:text-red-400`:`text-emerald-600 dark:text-emerald-400`),children:[e,` `,t]})})]})}function io({data:e,className:t}){let n=(0,d.useMemo)(()=>[{id:`date`,header:`Date`,sortable:!0,sortValue:to,cell:e=>(0,m.jsx)(K,{primary:e.date,secondary:e.time})},{id:`initiator`,header:`Initiated by`,sortable:!0,sortValue:e=>e.initiator,cell:e=>(0,m.jsx)(no,{name:e.initiator})},{id:`from`,header:`From`,cell:e=>(0,m.jsx)(ro,{amount:e.fromAmount,coin:e.fromCoin,tone:`out`})},{id:`to`,header:`To`,cell:e=>(0,m.jsx)(ro,{amount:e.toAmount,coin:e.toCoin,tone:`in`})},{id:`rate`,header:`Rate`,cell:e=>(0,m.jsx)(`span`,{className:`text-sm tabular-nums text-muted-foreground`,children:e.rate})},{id:`status`,header:`Status`,cell:e=>(0,m.jsx)(Cr,{tone:X[e.status].tone,children:X[e.status].label})}],[]);return(0,m.jsx)(`div`,{className:T(t),children:(0,m.jsx)(_r,{columns:n,data:e.slice(0,5),getRowId:e=>e.id,density:`comfortable`,emptyMessage:`No conversions yet.`})})}function ao({caption:e,coin:t,amount:n,fiat:r,amountClassName:i}){let a=n!=null&&n!==``;return(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e}),(0,m.jsxs)(`div`,{className:`flex items-center gap-3`,children:[t?(0,m.jsx)(W,{code:t,src:q(t),className:`size-9`}):(0,m.jsx)(`span`,{className:`size-9 shrink-0 rounded-full bg-muted`}),(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:T(`block truncate text-xl font-semibold tabular-nums text-foreground`,i),children:a?(0,m.jsxs)(m.Fragment,{children:[n,` `,(0,m.jsx)(`span`,{className:`text-base font-medium text-muted-foreground`,children:t})]}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),a&&r?(0,m.jsx)(`span`,{className:`block truncate text-sm tabular-nums text-muted-foreground`,children:r}):null]})]})]})}function oo({fromCoin:e,toCoin:t,payAmount:n,payFiat:r,receiveAmount:i,receiveFiat:a,rateLabel:o,rateCountdown:s,rateTtl:c=30,rateVersion:l=0,feeLabel:u,fromWalletName:d,fromWalletAddress:f,toWalletName:p,toWalletAddress:h,footer:_,className:v}){return(0,m.jsxs)(`div`,{className:T(`flex flex-col rounded-2xl border border-cb-line bg-slate-50 dark:bg-slate-900/40`,v),children:[(0,m.jsxs)(`div`,{className:`px-5 pb-3 pt-4`,children:[(0,m.jsx)(`h2`,{className:`text-base font-semibold text-foreground`,children:`Summary`}),(0,m.jsx)(`p`,{className:`mt-0.5 text-[13px] text-muted-foreground`,children:`Review before you convert.`})]}),(0,m.jsxs)(`div`,{className:`px-5 pb-3`,children:[(0,m.jsx)(ao,{caption:`You pay`,coin:e,amount:n,fiat:r}),(0,m.jsxs)(`div`,{className:`relative -mx-5 my-3`,children:[(0,m.jsx)(`div`,{className:`border-t border-cb-line`}),(0,m.jsx)(`span`,{className:`absolute left-1/2 top-1/2 flex size-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border border-cb-line bg-slate-50 text-muted-foreground dark:bg-slate-900`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2})})]}),(0,m.jsx)(ao,{caption:`You receive`,coin:t,amount:i,fiat:a,amountClassName:`text-emerald-600 dark:text-emerald-400`})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-2.5 px-5 pb-4`,children:[(0,m.jsx)(Y,{label:`Rate`,children:o?(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,m.jsx)(`span`,{className:T(`inline-block rounded px-1.5 font-medium tabular-nums text-foreground`,s!=null&&`animate-rate-flash`),children:o},l),s!=null&&(0,m.jsx)(so,{seconds:s,total:c})]}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),(0,m.jsx)(Y,{label:`Estimated commission`,children:u?(0,m.jsx)(`span`,{className:`tabular-nums text-foreground`,children:u}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),(0,m.jsx)(Y,{label:`From wallet`,children:d?(0,m.jsxs)(`div`,{className:`flex flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`font-medium text-foreground`,children:d}),f&&(0,m.jsx)(G,{value:f,head:12,tail:8,className:`mt-0.5`})]}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),(0,m.jsx)(Y,{label:`To wallet`,children:p?(0,m.jsxs)(`div`,{className:`flex flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`font-medium text-foreground`,children:p}),h&&(0,m.jsx)(G,{value:h,head:12,tail:8,className:`mt-0.5`})]}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})})]}),_&&(0,m.jsx)(`div`,{className:`mt-auto px-5 pb-4`,children:_})]})}function so({seconds:e,total:t}){let n=2*Math.PI*8,r=t>0?Math.max(0,Math.min(1,e/t)):0;return(0,m.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2 rounded-full border border-cb-line bg-cb-card px-2.5 py-1`,title:`The rate isn't fixed — it refreshes every 30 seconds.`,children:[(0,m.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 20 20`,className:`-rotate-90`,children:[(0,m.jsx)(`circle`,{cx:`10`,cy:`10`,r:8,fill:`none`,strokeWidth:`2.5`,className:`stroke-slate-200 dark:stroke-slate-700`}),(0,m.jsx)(`circle`,{cx:`10`,cy:`10`,r:8,fill:`none`,strokeWidth:`2.5`,strokeLinecap:`round`,className:`stroke-primary transition-[stroke-dashoffset] duration-500 ease-linear`,strokeDasharray:n,strokeDashoffset:n*(1-r)})]}),(0,m.jsxs)(`span`,{className:`whitespace-nowrap text-xs font-medium tabular-nums text-muted-foreground`,children:[`Expires in `,(0,m.jsxs)(`span`,{className:`text-foreground`,children:[e,`s`]})]})]})}var co=o({COINS:()=>po,CONVERSION_HISTORY:()=>ho,CONVERT_FEE_RATE:()=>lo,HOLDINGS:()=>mo,NETWORK_NAMES:()=>fo,WALLET_TIERS:()=>uo,figureToNumber:()=>go,formatCrypto:()=>vo,formatUsd:()=>_o}),lo=.002,uo=[{id:`low`,name:`Low Risk Wallet`,purpose:`low`},{id:`medium`,name:`Medium Risk Wallet`,purpose:`medium`},{id:`high`,name:`High Risk Wallet`,purpose:`high`},{id:`payout`,name:`Payout Wallet`,purpose:`payout`}],fo={ETH:`Ethereum`,TRON:`Tron (TRC-20)`,BTC:`Bitcoin`,SOL:`Solana`,POL:`Polygon`,BNB:`BNB Chain`},po=[{code:`USDT`,name:`Tether`,price:1,networks:[`ETH`,`TRON`,`SOL`,`POL`]},{code:`USDC`,name:`USD Coin`,price:1,networks:[`ETH`,`SOL`,`POL`]},{code:`ETH`,name:`Ethereum`,price:3121,networks:[`ETH`]},{code:`BTC`,name:`Bitcoin`,price:61842,networks:[`BTC`]},{code:`SOL`,name:`Solana`,price:148,networks:[`SOL`]},{code:`POL`,name:`Polygon`,price:.45,networks:[`POL`]},{code:`BNB`,name:`BNB`,price:600,networks:[`BNB`]}],mo=[{id:`h-usdt-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`ETH`,address:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,amount:`42,120.00`,amountFiat:`$42,120.00`},{id:`h-usdt-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDT`,network:`TRON`,address:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,amount:`8,500.00`,amountFiat:`$8,500.00`},{id:`h-usdc-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDC`,network:`ETH`,address:`0x9a83716c3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2`,amount:`18,900.00`,amountFiat:`$18,900.00`},{id:`h-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`ETH`,network:`ETH`,address:`0xc6b8a71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e`,amount:`16.100000`,amountFiat:`$50,248.20`},{id:`h-eth-high`,name:`High Risk Wallet`,purpose:`high`,coin:`ETH`,network:`ETH`,address:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,amount:`2.400000`,amountFiat:`$7,490.40`},{id:`h-btc-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`BTC`,network:`BTC`,address:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,amount:`0.18000000`,amountFiat:`$11,131.56`},{id:`h-btc-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`BTC`,network:`BTC`,address:`bc1q9d4ywgfnd8h43da5tpcxcn6ajv590cll4gmmuq`,amount:`0.02000000`,amountFiat:`$1,236.84`},{id:`h-sol-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`SOL`,network:`SOL`,address:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,amount:`280.00000000`,amountFiat:`$41,440.00`},{id:`h-bnb-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`BNB`,network:`BNB`,address:`0x3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2b9a83716`,amount:`36.50000000`,amountFiat:`$21,900.00`},{id:`h-pol-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`POL`,network:`POL`,address:`0x71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8`,amount:`12,500.00000000`,amountFiat:`$5,625.00`}],ho=[{id:`cv-01`,date:`Jul 14, 2026`,time:`03:20 PM`,initiator:`Maya Okafor`,wallet:`Low Risk Wallet`,fromCoin:`ETH`,toCoin:`USDT`,fromAmount:`-2.00000000`,toAmount:`+6,229.32`,rate:`1 ETH = 3,121.00 USDT`,fiatValue:`$6,242.00`,status:`confirmed`},{id:`cv-02`,date:`Jul 14, 2026`,time:`10:12 AM`,initiator:`Daniel Roth`,wallet:`Low Risk Wallet`,fromCoin:`USDT`,toCoin:`BTC`,fromAmount:`-12,000.00`,toAmount:`+0.19371300`,rate:`1 BTC = 61,842.00 USDT`,fiatValue:`$12,000.00`,status:`processing`},{id:`cv-03`,date:`Jul 13, 2026`,time:`06:41 PM`,initiator:`Priya Nair`,wallet:`Operational Wallet`,fromCoin:`USDC`,toCoin:`SOL`,fromAmount:`-3,000.00`,toAmount:`+20.23783700`,rate:`1 SOL = 148.00 USDC`,fiatValue:`$3,000.00`,status:`confirmed`},{id:`cv-04`,date:`Jul 13, 2026`,time:`09:05 AM`,initiator:`Maya Okafor`,wallet:`Low Risk Wallet`,fromCoin:`BTC`,toCoin:`USDT`,fromAmount:`-0.05000000`,toAmount:`+3,085.92`,rate:`1 BTC = 61,842.00 USDT`,fiatValue:`$3,092.10`,status:`confirmed`},{id:`cv-05`,date:`Jul 12, 2026`,time:`02:37 PM`,initiator:`Sofia Grant`,wallet:`Low Risk Wallet`,fromCoin:`SOL`,toCoin:`USDC`,fromAmount:`-50.00000000`,toAmount:`+7,385.20`,rate:`1 SOL = 148.00 USDC`,fiatValue:`$7,400.00`,status:`confirmed`},{id:`cv-06`,date:`Jul 12, 2026`,time:`08:22 AM`,initiator:`Daniel Roth`,wallet:`Low Risk Wallet`,fromCoin:`BNB`,toCoin:`ETH`,fromAmount:`-10.00000000`,toAmount:`+1.91797500`,rate:`1 ETH = 5.20 BNB`,fiatValue:`$6,000.00`,status:`failed`},{id:`cv-07`,date:`Jul 11, 2026`,time:`05:10 PM`,initiator:`Priya Nair`,wallet:`Low Risk Wallet`,fromCoin:`POL`,toCoin:`USDT`,fromAmount:`-10,000.00000000`,toAmount:`+4,491.00`,rate:`1 POL = 0.45 USDT`,fiatValue:`$4,500.00`,status:`confirmed`},{id:`cv-08`,date:`Jul 11, 2026`,time:`11:48 AM`,initiator:`Sofia Grant`,wallet:`Low Risk Wallet`,fromCoin:`USDT`,toCoin:`ETH`,fromAmount:`-9,000.00`,toAmount:`+2.88240900`,rate:`1 ETH = 3,121.00 USDT`,fiatValue:`$9,000.00`,status:`pending-approval`}];function go(e){return parseFloat(e.replace(/[^0-9.]/g,``))||0}function _o(e){return e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`,minimumFractionDigits:2,maximumFractionDigits:2})}function vo(e){return e.toLocaleString(`en-US`,{minimumFractionDigits:2,maximumFractionDigits:8})}var yo=30;function bo({currentUser:e=`Maya Okafor`,onSubmit:t,className:n}){let[r,i]=(0,d.useState)(null),[a,o]=(0,d.useState)(``),[s,c]=(0,d.useState)(``),[l,u]=(0,d.useState)(``),[f,p]=(0,d.useState)(``),[h,_]=(0,d.useState)(``),[v,y]=(0,d.useState)(!1),[b,x]=(0,d.useState)(``),[S,C]=(0,d.useState)(!1),[w,ee]=(0,d.useState)(1),[E,D]=(0,d.useState)(yo),[te,ne]=(0,d.useState)(0),A=uo.find(e=>e.id===r)??null,j=A!=null&&a?mo.find(e=>e.name===A.name&&e.coin===a&&e.network===s)??mo.find(e=>e.name===A.name&&e.coin===a)??null:null,re=(l?mo.find(e=>e.coin===l&&e.network===f)??mo.find(e=>e.coin===l):null)??null,M=a?po.find(e=>e.code===a)??null:null,N=po.find(e=>e.code===l)??null,P=go(h),ae=j?go(j.amount):1/0,F=j!=null&&P>ae,I=h.trim()!==``&&P>0,L=a!=null&&N!=null&&l!==a,oe=(M&&N?M.price/N.price:0)*w,R=M?P*M.price:0,se=R*lo,ce=P*oe*(1-lo),le=A!=null&&L&&s!==``&&f!==``&&I&&!F,ue=I?vo(P):null,de=I&&L?vo(ce):null,fe=a&&N?`1 ${a} = ${vo(oe)} ${l}`:null,pe=I?`${_o(se)} · ${(lo*100).toFixed(1)}%`:null;(0,d.useEffect)(()=>{if(!le){D(yo);return}let e=Date.now()+yo*1e3;D(yo),ee(1+(Math.random()-.5)*.012),ne(e=>e+1);let t=setInterval(()=>{let t=Math.max(0,Math.ceil((e-Date.now())/1e3));D(t),t===0&&(ee(1+(Math.random()-.5)*.012),ne(e=>e+1),e=Date.now()+yo*1e3)},250);return()=>clearInterval(t)},[le,a,l]);let me=e=>{let t=po.find(t=>t.code===e)?.networks??[];return t.length===1?t[0]:``},he=e=>{i(e),C(!1)},ge=e=>{o(e),c(me(e)),e===l&&(u(``),p(``)),C(!1)},_e=e=>{u(e),p(me(e)),e===a&&(o(``),c(``)),C(!1)},ve=()=>{o(l),u(a),c(f),p(s),C(!1)},B=()=>{j&&_(j.amount)},ye=e=>{let t=e.replace(/[^0-9.,]/g,``),n=t.indexOf(`.`);n!==-1&&(t=t.slice(0,n+1)+t.slice(n+1).replace(/\./g,``)),_(t)},be=()=>{if(!A||!a||!N||!L)return;let n=new Date,r={id:`cv-${n.getTime()}`,date:n.toLocaleDateString(`en-US`,{month:`short`,day:`2-digit`,year:`numeric`}),time:n.toLocaleTimeString(`en-US`,{hour:`2-digit`,minute:`2-digit`}),initiator:e,wallet:A.name,fromCoin:a,toCoin:l,fromAmount:`-${vo(P)}`,toAmount:`+${vo(ce)}`,rate:`1 ${a} = ${vo(oe)} ${l}`,fiatValue:_o(R),status:`processing`};t?.(r),C(!0)},xe=e=>{if(e){y(!0);return}y(!1),x(``),S&&(C(!1),_(``))},Se=e=>({value:e,label:e,sublabel:po.find(t=>t.code===e)?.name??e,leading:(0,m.jsx)(W,{code:e,src:q(e),className:`size-6`})}),Ce=e=>({value:e,label:e,sublabel:fo[e]??e,leading:(0,m.jsx)(W,{code:e,src:q(e),className:`size-6`})}),we=po.filter(e=>e.code!==l).map(e=>Se(e.code)),Te=(M?.networks??[]).map(Ce),Ee=po.filter(e=>e.code!==a).map(e=>Se(e.code)),De=(N?.networks??[]).map(Ce),Oe=uo.map(e=>({id:e.id,name:e.name}));return(0,m.jsxs)(`div`,{className:T(`grid grid-cols-1 items-stretch gap-6 lg:grid-cols-[minmax(0,1fr)_360px]`,n),children:[(0,m.jsx)(`div`,{className:`flex flex-col rounded-2xl border border-cb-line bg-cb-card p-5 shadow-xs`,children:(0,m.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,m.jsx)(eo,{id:`cv-wallet`,label:`From wallet`,placeholder:`Select a source wallet`,value:r,wallets:Oe,onChange:he,variant:`simple`,emptyMessage:`No wallets available.`}),(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,m.jsx)($,{id:`cv-from-coin`,label:`From currency`,placeholder:`Select a currency`,value:a,options:we,onChange:ge,disabled:!A}),(0,m.jsx)($,{id:`cv-from-network`,label:`From network`,placeholder:`Select a network`,value:s,options:Te,onChange:c,disabled:!A||!a})]}),(0,m.jsx)(Za,{id:`cv-amount`,value:h,onChange:ye,suffix:a,disabled:!A||!a,invalid:F,onMax:B,maxDisabled:!j,hint:A?a?j?(0,m.jsxs)(m.Fragment,{children:[`Available:`,` `,(0,m.jsxs)(`span`,{className:`font-medium text-foreground`,children:[j.amount,` `,a]})]}):null:`Select a currency`:`Select a wallet first`,helper:F?(0,m.jsx)(`span`,{className:`text-destructive`,children:`Amount exceeds the available balance.`}):I?(0,m.jsxs)(`span`,{className:`tabular-nums text-muted-foreground`,children:[`≈ `,_o(R)]}):null}),(0,m.jsxs)(`div`,{className:`relative -mx-5 my-2`,children:[(0,m.jsx)(`div`,{className:`border-t border-cb-line`}),(0,m.jsx)(`button`,{type:`button`,onClick:ve,disabled:!A,"aria-label":`Swap the From and To currency and network`,title:`Swap currencies & networks`,className:T(`absolute left-1/2 top-1/2 flex size-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border border-cb-line bg-cb-card text-muted-foreground transition-colors`,`hover:border-slate-300 hover:text-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-none`,`disabled:pointer-events-none`),children:(0,m.jsx)(g.HugeiconsIcon,{icon:ie,size:16,strokeWidth:2})})]}),(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,m.jsx)($,{id:`cv-to-coin`,label:`To currency`,placeholder:`Select a currency`,value:l,options:Ee,onChange:_e,disabled:!A}),(0,m.jsx)($,{id:`cv-to-network`,label:`To network`,placeholder:`Select a network`,value:f,options:De,onChange:p,disabled:!A||!l})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(wt,{className:`text-[13px] font-medium text-muted-foreground`,children:`You receive`}),(0,m.jsxs)(`div`,{className:`flex h-12 items-center justify-between gap-2 rounded-lg border border-input bg-muted/40 px-2.5`,children:[(0,m.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-lg font-medium tabular-nums text-foreground`,children:de??(0,m.jsx)(`span`,{className:`font-normal text-muted-foreground`,children:`0.00`})}),(0,m.jsx)(`span`,{className:`shrink-0 text-sm font-medium text-muted-foreground`,children:l})]})]})]})}),(0,m.jsx)(oo,{fromCoin:a,toCoin:L?l:null,payAmount:ue,payFiat:I?_o(R):null,receiveAmount:de,receiveFiat:I&&L?_o(R*(1-lo)):null,rateLabel:fe,rateCountdown:le?E:null,rateTtl:yo,rateVersion:te,feeLabel:pe,fromWalletName:A?.name??null,fromWalletAddress:j?.address??null,toWalletName:L?re?.name??null:null,toWalletAddress:L?re?.address??null:null,footer:(0,m.jsx)(O,{type:`button`,size:`lg`,disabled:!le,onClick:()=>y(!0),className:`w-full cursor-pointer`,children:`Convert`})}),(0,m.jsx)(tt,{open:v,onOpenChange:xe,children:(0,m.jsx)(at,{className:`max-w-md p-6`,children:S?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(`div`,{className:`flex flex-col items-center py-2 text-center`,children:[(0,m.jsx)(`div`,{className:`flex size-12 items-center justify-center rounded-full bg-emerald-100 text-emerald-600 dark:bg-emerald-500/15 dark:text-emerald-400`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:z,size:28,strokeWidth:2})}),(0,m.jsx)(ct,{className:`mt-4`,children:`Conversion submitted`}),(0,m.jsx)(lt,{className:`mt-1`,children:`Your conversion is processing — track it in the history below.`})]}),(0,m.jsx)(k,{bleed:`dialog`,actions:[{key:`done`,label:`Done`,onClick:()=>xe(!1)}]})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(ot,{children:[(0,m.jsx)(ct,{children:`Confirm conversion`}),(0,m.jsx)(lt,{children:`Enter the 6-digit code from your authenticator app to continue.`})]}),(0,m.jsxs)(`div`,{className:`mt-4 flex flex-col gap-4`,children:[(0,m.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Converting`,` `,(0,m.jsxs)(`span`,{className:`font-medium tabular-nums text-foreground`,children:[ue,` `,a]}),` `,`to`,` `,(0,m.jsxs)(`span`,{className:`font-medium tabular-nums text-foreground`,children:[`≈ `,de,` `,l]})]}),pe&&(0,m.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Estimated commission:`,` `,(0,m.jsx)(`span`,{className:`font-medium tabular-nums text-foreground`,children:pe})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,m.jsx)(wt,{htmlFor:`cv-code`,className:`text-[13px] font-medium text-muted-foreground`,children:`Authentication code`}),(0,m.jsx)(xo,{id:`cv-code`,value:b,onChange:x})]})]}),(0,m.jsx)(k,{bleed:`dialog`,actions:[{key:`cancel`,label:`Cancel`,variant:`outline`,onClick:()=>xe(!1)},{key:`confirm`,label:`Confirm conversion`,onClick:be,disabled:b.length<6}]})]})})})]})}function xo({id:e,value:t,onChange:n,length:r=6}){let[i,a]=(0,d.useState)(!1),o=Array.from({length:r},(e,n)=>t[n]??``),s=Math.min(t.length,r-1);return(0,m.jsxs)(`div`,{className:`relative`,children:[(0,m.jsx)(`input`,{id:e,value:t,onChange:e=>n(e.target.value.replace(/\D/g,``).slice(0,r)),onFocus:()=>a(!0),onBlur:()=>a(!1),inputMode:`numeric`,autoComplete:`one-time-code`,"aria-label":`Authentication code`,maxLength:r,autoFocus:!0,className:`absolute inset-0 z-10 h-full w-full cursor-pointer opacity-0 outline-none`}),(0,m.jsx)(`div`,{className:T(`flex h-16 w-full divide-x divide-input overflow-hidden rounded-xl border border-input transition-colors`,i&&`border-ring ring-3 ring-ring/50`),children:o.map((e,t)=>{let n=i&&t===s;return(0,m.jsx)(`div`,{className:T(`flex flex-1 items-center justify-center text-3xl font-semibold tabular-nums text-foreground`,n&&`bg-primary/5`),children:e||(n?(0,m.jsx)(`span`,{className:`h-8 w-px animate-pulse bg-foreground`}):``)},t)})})]})}var So=o({}),Co=o({COINS:()=>To,DEPOSIT_HISTORY:()=>Do,DEPOSIT_WALLETS:()=>Eo,NETWORKS:()=>wo,figureToNumber:()=>Oo,formatUsd:()=>ko}),wo={ETH:{code:`ETH`,name:`Ethereum`},TRON:{code:`TRON`,name:`Tron (TRC-20)`},BTC:{code:`BTC`,name:`Bitcoin`},SOL:{code:`SOL`,name:`Solana`},POL:{code:`POL`,name:`Polygon`}},To=[{code:`USDT`,name:`Tether`,networks:[`ETH`,`TRON`,`SOL`,`POL`]},{code:`USDC`,name:`USD Coin`,networks:[`ETH`,`SOL`,`POL`]},{code:`ETH`,name:`Ethereum`,networks:[`ETH`]},{code:`BTC`,name:`Bitcoin`,networks:[`BTC`]},{code:`SOL`,name:`Solana`,networks:[`SOL`]}],Eo=[{id:`w-usdt-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`ETH`,address:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,amount:`42,120.00`,amountFiat:`$42,120.00`,fiatRate:1},{id:`w-usdt-eth-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDT`,network:`ETH`,address:`0x3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2b9a83716`,amount:`8,500.00`,amountFiat:`$8,500.00`,fiatRate:1},{id:`w-usdt-eth-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`USDT`,network:`ETH`,address:`0x71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8`,amount:`1,500.00`,amountFiat:`$1,500.00`,fiatRate:1},{id:`w-usdt-tron-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`TRON`,address:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,amount:`63,400.00`,amountFiat:`$63,400.00`,fiatRate:1},{id:`w-usdt-tron-high`,name:`High Risk Wallet`,purpose:`high`,coin:`USDT`,network:`TRON`,address:`TXYZopqrstuv12345Wabcdefghi67890KLmno`,amount:`5,200.00`,amountFiat:`$5,200.00`,fiatRate:1},{id:`w-usdc-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDC`,network:`ETH`,address:`0x9a83716c3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2`,amount:`18,900.00`,amountFiat:`$18,900.00`,fiatRate:1},{id:`w-usdc-sol-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDC`,network:`SOL`,address:`7Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5UwG4v3`,amount:`3,240.00`,amountFiat:`$3,240.00`,fiatRate:1},{id:`w-eth-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`ETH`,network:`ETH`,address:`0xc6b8a71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e`,amount:`16.100000`,amountFiat:`$50,248.20`,fiatRate:3121},{id:`w-eth-eth-high`,name:`High Risk Wallet`,purpose:`high`,coin:`ETH`,network:`ETH`,address:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,amount:`2.400000`,amountFiat:`$7,490.40`,fiatRate:3121},{id:`w-btc-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`BTC`,network:`BTC`,address:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,amount:`0.18000000`,amountFiat:`$11,131.56`,fiatRate:61842},{id:`w-btc-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`BTC`,network:`BTC`,address:`bc1q9d4ywgfnd8h43da5tpcxcn6ajv590cll4gmmuq`,amount:`0.02000000`,amountFiat:`$1,236.84`,fiatRate:61842},{id:`w-sol-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`SOL`,network:`SOL`,address:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,amount:`280.00000000`,amountFiat:`$41,440.00`,fiatRate:148}],Do=[{id:`dp-01`,date:`Jul 14, 2026`,time:`03:41 PM`,fromAddress:`0x1A2b3C4d5E6f7089aBcDeF0123456789AbCdEf01`,toWallet:`Low Risk Wallet`,toAddress:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,coin:`USDT`,network:`ETH`,amount:`+18,500.00`,amountFiat:`+$18,500.00`,confirmations:`24/24`,status:`confirmed`},{id:`dp-02`,date:`Jul 14, 2026`,time:`12:07 PM`,fromAddress:`TLa2f8Qe1RnMbVhZ9wKpYd3sXcU7oNj4Bt`,toWallet:`High Risk Wallet`,toAddress:`TXYZopqrstuv12345Wabcdefghi67890KLmno`,coin:`USDT`,network:`TRON`,amount:`+4,200.00`,amountFiat:`+$4,200.00`,confirmations:`9/19`,status:`partially-confirmed`},{id:`dp-03`,date:`Jul 13, 2026`,time:`07:55 PM`,fromAddress:`0x503828976D22510aad0201ac7EC88293211D23Da`,toWallet:`Low Risk Wallet`,toAddress:`0x9a83716c3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2`,coin:`USDC`,network:`ETH`,amount:`+9,000.00`,amountFiat:`+$9,000.00`,confirmations:`24/24`,status:`confirmed`},{id:`dp-04`,date:`Jul 13, 2026`,time:`10:22 AM`,fromAddress:`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`,toWallet:`Low Risk Wallet`,toAddress:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,coin:`BTC`,network:`BTC`,amount:`+0.15000000`,amountFiat:`+$9,276.30`,confirmations:`2/3`,status:`processing`},{id:`dp-05`,date:`Jul 12, 2026`,time:`04:18 PM`,fromAddress:`9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM`,toWallet:`Operational Wallet`,toAddress:`7Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5UwG4v3`,coin:`USDC`,network:`SOL`,amount:`+2,500.00`,amountFiat:`+$2,500.00`,confirmations:`31/31`,status:`confirmed`},{id:`dp-06`,date:`Jul 12, 2026`,time:`09:03 AM`,fromAddress:`0x267be1C1D684F78cb4F6a176C4911b741E4Ffdc0`,toWallet:`High Risk Wallet`,toAddress:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,coin:`ETH`,network:`ETH`,amount:`+3.20000000`,amountFiat:`+$9,987.20`,status:`pending-approval`},{id:`dp-07`,date:`Jul 11, 2026`,time:`05:44 PM`,fromAddress:`TWd4WrZ9wn84f5x1hZhL4DHvk738ns5jwb`,toWallet:`Low Risk Wallet`,toAddress:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,coin:`USDT`,network:`TRON`,amount:`+11,300.00`,amountFiat:`+$11,300.00`,confirmations:`19/19`,status:`confirmed`},{id:`dp-08`,date:`Jul 11, 2026`,time:`11:30 AM`,fromAddress:`3n1DcS4Km3M8p5wV7oJ2rL9tQ6xY4bN8zA1cF5eH7gK`,toWallet:`Low Risk Wallet`,toAddress:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,coin:`SOL`,network:`SOL`,amount:`+60.00000000`,amountFiat:`+$8,880.00`,confirmations:`31/31`,status:`confirmed`}];function Oo(e){return parseFloat(e.replace(/[^0-9.]/g,``))||0}function ko(e){return e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`,minimumFractionDigits:2,maximumFractionDigits:2})}function Ao(e){let t=Date.parse(`${e.date} ${e.time}`);return Number.isNaN(t)?0:t}function jo({data:e,className:t}){let n=(0,d.useMemo)(()=>[{id:`date`,header:`Date`,sortable:!0,sortValue:Ao,cell:e=>(0,m.jsx)(K,{primary:e.date,secondary:e.time})},{id:`from`,header:`From`,cell:e=>(0,m.jsx)(K,{primary:`External sender`,secondary:(0,m.jsx)(G,{value:e.fromAddress,head:8,tail:6,revealOnHover:!0})})},{id:`to`,header:`To`,cell:e=>(0,m.jsx)(K,{primary:e.toWallet,secondary:(0,m.jsx)(G,{value:e.toAddress,head:8,tail:6,revealOnHover:!0})})},{id:`asset`,header:`Asset`,cell:e=>(0,m.jsxs)(`span`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(mr,{code:e.coin,network:e.network,codeSrc:q(e.coin),networkSrc:q(e.network),size:`sm`}),(0,m.jsx)(K,{primary:e.coin,secondary:wo[e.network]?.name??e.network})]})},{id:`amount`,header:`Amount`,align:`end`,sortable:!0,sortValue:e=>parseFloat(e.amount.replace(/[^0-9.-]/g,``))||0,cell:e=>(0,m.jsx)(K,{align:`end`,tabularNums:!0,primary:(0,m.jsxs)(`span`,{className:`font-medium text-emerald-600 dark:text-emerald-400`,children:[e.amount,` `,e.coin]}),secondary:e.amountFiat})},{id:`status`,header:`Status`,cell:e=>(0,m.jsx)(Cr,{tone:X[e.status].tone,children:X[e.status].label})}],[]);return(0,m.jsx)(`div`,{className:T(t),children:(0,m.jsx)(_r,{columns:n,data:e.slice(0,5),getRowId:e=>e.id,density:`comfortable`,emptyMessage:`No deposits yet.`})})}var Mo=3;function No({value:e,className:t}){let{size:n,darks:r}=(0,d.useMemo)(()=>{let t=ee.default.create(e||` `,{errorCorrectionLevel:`M`}),n=t.modules.size,r=t.modules.data,i=[];for(let e=0;e<n;e++)for(let t=0;t<n;t++)r[e*n+t]&&i.push([t,e]);return{size:n,darks:i}},[e]),i=n+Mo*2;return(0,m.jsxs)(`svg`,{viewBox:`0 0 ${i} ${i}`,shapeRendering:`crispEdges`,className:T(`h-auto w-full`,t),role:`img`,"aria-label":`Deposit address QR code`,children:[(0,m.jsx)(`rect`,{width:i,height:i,fill:`#ffffff`}),(0,m.jsx)(`g`,{fill:`#0f172a`,transform:`translate(${Mo} ${Mo})`,children:r.map(([e,t])=>(0,m.jsx)(`rect`,{x:e,y:t,width:1.02,height:1.02},`${e}-${t}`))})]})}function Po({wallet:e,coin:t,network:n,networkName:r,className:i}){let[a,o]=(0,d.useState)(!1);return(0,m.jsxs)(`div`,{className:T(`flex flex-col rounded-2xl border border-cb-line bg-slate-50 dark:bg-slate-900/40`,i),children:[(0,m.jsxs)(`div`,{className:`px-5 py-4`,children:[(0,m.jsx)(`h2`,{className:`text-base font-semibold text-foreground`,children:`Deposit address`}),(0,m.jsxs)(`p`,{className:`mt-0.5 text-[13px] text-muted-foreground`,children:[`Scan or copy the address to receive `,t??`funds`,`.`]})]}),e&&t&&n?(0,m.jsxs)(`div`,{className:`flex flex-col gap-4 px-5 pb-5 pt-1`,children:[(0,m.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col gap-3`,children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,m.jsx)(mr,{code:t,network:n,codeSrc:q(t),networkSrc:q(n),size:`md`}),(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`text-lg font-semibold text-foreground`,children:t}),(0,m.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:r??n})]})]}),(0,m.jsx)(Y,{label:`Receiving wallet`,children:(0,m.jsx)(`span`,{className:`font-medium text-foreground`,children:e.name})})]}),(0,m.jsx)(`div`,{className:`w-26 shrink-0 rounded-lg border border-cb-line bg-white p-1.5`,children:(0,m.jsx)(No,{value:e.address})})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Address`}),(0,m.jsx)(`div`,{className:`rounded-lg border border-slate-100 bg-white px-3 py-2 dark:border-slate-800 dark:bg-slate-950`,children:(0,m.jsx)(`span`,{className:`break-all font-mono text-[13px] text-foreground`,children:e.address})})]}),e.tag&&(0,m.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Destination tag / memo`}),(0,m.jsxs)(`div`,{className:`flex items-center gap-2 rounded-lg border border-slate-100 bg-white px-3 py-2 dark:border-slate-800 dark:bg-slate-950`,children:[(0,m.jsx)(`span`,{className:`min-w-0 flex-1 break-all font-mono text-[13px] text-foreground`,children:e.tag}),(0,m.jsx)(dr,{value:e.tag})]})]}),(0,m.jsxs)(O,{type:`button`,onClick:()=>{e&&(navigator.clipboard?.writeText(e.address),o(!0),window.setTimeout(()=>o(!1),1200))},className:`mt-auto w-full cursor-pointer`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:a?z:ge,size:16,strokeWidth:2}),a?`Copied`:`Copy address`]})]}):(0,m.jsxs)(`div`,{className:`flex flex-1 flex-col items-center justify-center gap-4 px-5 pb-8 pt-4 text-center text-sm text-muted-foreground`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:be,size:40,strokeWidth:1.5,className:`text-muted-foreground/40`}),(0,m.jsxs)(`p`,{children:[`Choose a coin, network and wallet`,(0,m.jsx)(`br`,{}),`to get a deposit address.`]})]})]})}function Fo({className:e}){let[t,n]=(0,d.useState)(`USDT`),[r,i]=(0,d.useState)(`ETH`),[a,o]=(0,d.useState)(null),s=(To.find(e=>e.code===t)??To[0]).networks,c=(0,d.useMemo)(()=>Eo.filter(e=>e.coin===t&&e.network===r),[t,r]),l=c.find(e=>e.id===a)??null,u=e=>{n(e);let t=To.find(t=>t.code===e);i(t?.networks[0]??``),o(null)},f=e=>{i(e),o(null)},p=To.map(e=>({value:e.code,label:e.code,sublabel:e.name,leading:(0,m.jsx)(W,{code:e.code,src:q(e.code),className:`size-6`})})),h=s.map(e=>({value:e,label:e,sublabel:wo[e]?.name??e,leading:(0,m.jsx)(W,{code:e,src:q(e),className:`size-6`})})),_=c.map(e=>({id:e.id,name:e.name,address:e.address,coin:t,network:r,amount:e.amount,amountFiat:e.amountFiat}));return(0,m.jsxs)(`div`,{className:T(`grid grid-cols-1 items-stretch gap-6 lg:grid-cols-[minmax(0,1fr)_360px]`,e),children:[(0,m.jsx)(`div`,{className:`flex flex-col rounded-2xl border border-cb-line bg-cb-card p-5 shadow-xs`,children:(0,m.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,m.jsx)($,{id:`dp-coin`,label:`Coin`,value:t,options:p,onChange:u}),(0,m.jsx)($,{id:`dp-network`,label:`Network`,value:r,options:h,onChange:f}),(0,m.jsx)(eo,{id:`dp-wallet`,label:`Deposit to wallet`,placeholder:`Select a receiving wallet`,value:a,wallets:_,onChange:o,variant:`detailed`,emptyMessage:`No wallets for this coin & network.`}),l&&(0,m.jsxs)(`div`,{className:`flex gap-2.5 rounded-lg border border-amber-200 bg-amber-50 px-3 py-2.5 text-[13px] text-amber-700 dark:border-amber-500/25 dark:bg-amber-500/10 dark:text-amber-400`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:A,size:16,strokeWidth:2,className:`mt-0.5 shrink-0`}),(0,m.jsxs)(`span`,{children:[`Send only `,(0,m.jsx)(`span`,{className:`font-semibold`,children:t}),` on the`,` `,(0,m.jsx)(`span`,{className:`font-semibold`,children:wo[r]?.name??r}),` network to this address. Other assets or networks may be lost permanently.`]})]})]})}),(0,m.jsx)(Po,{wallet:l,coin:t,network:r,networkName:wo[r]?.name})]})}var Io=o({}),Lo=o({COINS:()=>zo,NETWORKS:()=>Ro,SAVED_ADDRESSES:()=>Vo,SOURCE_WALLETS:()=>Bo,WITHDRAWAL_HISTORY:()=>Ho,figureToNumber:()=>Uo,formatUsd:()=>Wo}),Ro={ETH:{code:`ETH`,name:`Ethereum`},TRON:{code:`TRON`,name:`Tron (TRC-20)`},BTC:{code:`BTC`,name:`Bitcoin`},SOL:{code:`SOL`,name:`Solana`},POL:{code:`POL`,name:`Polygon`},TON:{code:`TON`,name:`TON`}},zo=[{code:`USDT`,name:`Tether`,networks:[`ETH`,`TRON`,`SOL`,`POL`]},{code:`USDC`,name:`USD Coin`,networks:[`ETH`,`SOL`,`POL`]},{code:`ETH`,name:`Ethereum`,networks:[`ETH`]},{code:`BTC`,name:`Bitcoin`,networks:[`BTC`]},{code:`SOL`,name:`Solana`,networks:[`SOL`]},{code:`TON`,name:`Toncoin`,networks:[`TON`]}],Bo=[{id:`w-usdt-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`ETH`,address:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,amount:`42,120.00`,amountFiat:`$42,120.00`,fiatRate:1},{id:`w-usdt-eth-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDT`,network:`ETH`,address:`0x3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2b9a83716`,amount:`8,500.00`,amountFiat:`$8,500.00`,fiatRate:1},{id:`w-usdt-eth-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`USDT`,network:`ETH`,address:`0x71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8`,amount:`1,500.00`,amountFiat:`$1,500.00`,fiatRate:1},{id:`w-usdt-tron-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`TRON`,address:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,amount:`63,400.00`,amountFiat:`$63,400.00`,fiatRate:1},{id:`w-usdt-tron-high`,name:`High Risk Wallet`,purpose:`high`,coin:`USDT`,network:`TRON`,address:`TXYZopqrstuv12345Wabcdefghi67890KLmno`,amount:`5,200.00`,amountFiat:`$5,200.00`,fiatRate:1},{id:`w-usdc-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDC`,network:`ETH`,address:`0x9a83716c3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2`,amount:`18,900.00`,amountFiat:`$18,900.00`,fiatRate:1},{id:`w-usdc-sol-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDC`,network:`SOL`,address:`7Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5UwG4v3`,amount:`3,240.00`,amountFiat:`$3,240.00`,fiatRate:1},{id:`w-eth-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`ETH`,network:`ETH`,address:`0xc6b8a71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e`,amount:`16.100000`,amountFiat:`$50,248.20`,fiatRate:3121},{id:`w-eth-eth-high`,name:`High Risk Wallet`,purpose:`high`,coin:`ETH`,network:`ETH`,address:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,amount:`2.400000`,amountFiat:`$7,490.40`,fiatRate:3121},{id:`w-btc-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`BTC`,network:`BTC`,address:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,amount:`0.18000000`,amountFiat:`$11,131.56`,fiatRate:61842},{id:`w-btc-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`BTC`,network:`BTC`,address:`bc1q9d4ywgfnd8h43da5tpcxcn6ajv590cll4gmmuq`,amount:`0.02000000`,amountFiat:`$1,236.84`,fiatRate:61842},{id:`w-sol-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`SOL`,network:`SOL`,address:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,amount:`280.00000000`,amountFiat:`$41,440.00`,fiatRate:148},{id:`w-ton-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`TON`,network:`TON`,address:`UQBvW8Z5huBkMJYdnfAEM5JqTNkuWX3diqYENkWsIL0XcH5o`,amount:`5,400.00000000`,amountFiat:`$29,700.00`,fiatRate:5.5},{id:`w-ton-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`TON`,network:`TON`,address:`EQAvDfWFG0oYX19jwNDNBBL1rKNT9XfaGP9HyTb5nb2Eml6y`,amount:`1,200.00000000`,amountFiat:`$6,600.00`,fiatRate:5.5}],Vo=[{id:`a-binance-usdt-eth`,label:`Binance Hot Wallet`,coin:`USDT`,network:`ETH`,address:`0x28C6c06298d514Db089934071355E5743bf21d60`},{id:`a-treasury-usdt-eth`,label:`Cold Treasury`,coin:`USDT`,network:`ETH`,address:`0xDFd5293D8e347dFe59E90eFd55b2956a1343963d`},{id:`a-partner-usdt-tron`,label:`Partner Payout (Tron)`,coin:`USDT`,network:`TRON`,address:`TWd4WrZ9wn84f5x1hZhL4DHvk738ns5jwb`},{id:`a-kraken-usdt-tron`,label:`Kraken Deposit`,coin:`USDT`,network:`TRON`,address:`TJYeasTPa6gpEEfYYtLp3Jydd1U5c1Xj8Q`},{id:`a-vendor-usdc-eth`,label:`Vendor — Acme Inc.`,coin:`USDC`,network:`ETH`,address:`0x503828976D22510aad0201ac7EC88293211D23Da`},{id:`a-desk-usdc-sol`,label:`OTC Desk (Solana)`,coin:`USDC`,network:`SOL`,address:`9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM`},{id:`a-cold-eth`,label:`Cold Storage — ETH`,coin:`ETH`,network:`ETH`,address:`0x267be1C1D684F78cb4F6a176C4911b741E4Ffdc0`},{id:`a-cold-btc`,label:`Cold Storage — BTC`,coin:`BTC`,network:`BTC`,address:`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`},{id:`a-exchange-btc`,label:`Exchange Deposit`,coin:`BTC`,network:`BTC`,address:`bc1qc7slrfxkknqcq2jevvvkdgvrt8080852dfjewde450xdlk4ugp7szw5tk9`},{id:`a-market-sol`,label:`Market Maker (SOL)`,coin:`SOL`,network:`SOL`,address:`3n1DcS4Km3M8p5wV7oJ2rL9tQ6xY4bN8zA1cF5eH7gK`}],Ho=[{id:`wd-01`,date:`Jul 14, 2026`,time:`03:12 PM`,initiator:`Maya Okafor`,fromWallet:`Low Risk Wallet`,fromAddress:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,toLabel:`Binance Hot Wallet`,toAddress:`0x28C6c06298d514Db089934071355E5743bf21d60`,coin:`USDT`,network:`ETH`,amount:`-12,000.00`,amountFiat:`-$12,000.00`,status:`confirmed`},{id:`wd-02`,date:`Jul 14, 2026`,time:`11:48 AM`,initiator:`Daniel Roth`,fromWallet:`High Risk Wallet`,fromAddress:`TXYZopqrstuv12345Wabcdefghi67890KLmno`,toLabel:`Kraken Deposit`,toAddress:`TJYeasTPa6gpEEfYYtLp3Jydd1U5c1Xj8Q`,coin:`USDT`,network:`TRON`,amount:`-3,500.00`,amountFiat:`-$3,500.00`,status:`processing`},{id:`wd-03`,date:`Jul 13, 2026`,time:`06:20 PM`,initiator:`Priya Nair`,fromWallet:`Payout Wallet`,fromAddress:`0x71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8`,toLabel:`Vendor — Acme Inc.`,toAddress:`0x503828976D22510aad0201ac7EC88293211D23Da`,coin:`USDC`,network:`ETH`,amount:`-1,480.00`,amountFiat:`-$1,480.00`,status:`confirmed`},{id:`wd-04`,date:`Jul 13, 2026`,time:`02:05 PM`,initiator:`Maya Okafor`,fromWallet:`Low Risk Wallet`,fromAddress:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,toLabel:`Cold Storage — BTC`,toAddress:`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`,coin:`BTC`,network:`BTC`,amount:`-0.04500000`,amountFiat:`-$2,782.89`,status:`confirmed`},{id:`wd-05`,date:`Jul 12, 2026`,time:`09:33 AM`,initiator:`Sofia Grant`,fromWallet:`Operational Wallet`,fromAddress:`7Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5UwG4v3`,toLabel:`OTC Desk (Solana)`,toAddress:`9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM`,coin:`USDC`,network:`SOL`,amount:`-2,000.00`,amountFiat:`-$2,000.00`,status:`confirmed`},{id:`wd-06`,date:`Jul 12, 2026`,time:`08:10 AM`,initiator:`Daniel Roth`,fromWallet:`High Risk Wallet`,fromAddress:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,toLabel:`Cold Storage — ETH`,toAddress:`0x267be1C1D684F78cb4F6a176C4911b741E4Ffdc0`,coin:`ETH`,network:`ETH`,amount:`-1.20000000`,amountFiat:`-$3,745.20`,status:`failed`},{id:`wd-07`,date:`Jul 11, 2026`,time:`04:55 PM`,initiator:`Priya Nair`,fromWallet:`Low Risk Wallet`,fromAddress:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,toLabel:`Partner Payout (Tron)`,toAddress:`TWd4WrZ9wn84f5x1hZhL4DHvk738ns5jwb`,coin:`USDT`,network:`TRON`,amount:`-9,750.00`,amountFiat:`-$9,750.00`,status:`confirmed`},{id:`wd-08`,date:`Jul 11, 2026`,time:`10:02 AM`,initiator:`Sofia Grant`,fromWallet:`Low Risk Wallet`,fromAddress:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,toLabel:`Market Maker (SOL)`,toAddress:`3n1DcS4Km3M8p5wV7oJ2rL9tQ6xY4bN8zA1cF5eH7gK`,coin:`SOL`,network:`SOL`,amount:`-45.00000000`,amountFiat:`-$6,660.00`,status:`pending-approval`}];function Uo(e){return parseFloat(e.replace(/[^0-9.]/g,``))||0}function Wo(e){return e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`,minimumFractionDigits:2,maximumFractionDigits:2})}function Go(e){let t=Date.parse(`${e.date} ${e.time}`);return Number.isNaN(t)?0:t}function Ko({name:e}){return(0,m.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`flex size-6 shrink-0 items-center justify-center rounded-full bg-cb-seg text-[10px] font-semibold text-muted-foreground`,children:e.split(` `).map(e=>e[0]).slice(0,2).join(``).toUpperCase()}),(0,m.jsx)(`span`,{className:`truncate text-sm text-foreground`,children:e})]})}function qo({data:e,className:t}){let n=(0,d.useMemo)(()=>[{id:`date`,header:`Date`,sortable:!0,sortValue:Go,cell:e=>(0,m.jsx)(K,{primary:e.date,secondary:e.time})},{id:`initiator`,header:`Initiated by`,sortable:!0,sortValue:e=>e.initiator,cell:e=>(0,m.jsx)(Ko,{name:e.initiator})},{id:`from`,header:`From`,cell:e=>(0,m.jsx)(K,{primary:e.fromWallet,secondary:(0,m.jsx)(G,{value:e.fromAddress,head:8,tail:6,revealOnHover:!0})})},{id:`to`,header:`To`,cell:e=>(0,m.jsx)(K,{primary:e.toLabel,secondary:(0,m.jsx)(G,{value:e.toAddress,head:8,tail:6,revealOnHover:!0})})},{id:`asset`,header:`Asset`,cell:e=>(0,m.jsxs)(`span`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(mr,{code:e.coin,network:e.network,codeSrc:q(e.coin),networkSrc:q(e.network),size:`sm`}),(0,m.jsx)(K,{primary:e.coin,secondary:Ro[e.network]?.name??e.network})]})},{id:`amount`,header:`Amount`,align:`end`,sortable:!0,sortValue:e=>parseFloat(e.amount.replace(/[^0-9.-]/g,``))||0,cell:e=>(0,m.jsx)(K,{align:`end`,tabularNums:!0,primary:(0,m.jsxs)(`span`,{className:`font-medium text-red-600 dark:text-red-400`,children:[e.amount,` `,e.coin]}),secondary:e.amountFiat})},{id:`status`,header:`Status`,cell:e=>(0,m.jsx)(Cr,{tone:X[e.status].tone,children:X[e.status].label})}],[]);return(0,m.jsx)(`div`,{className:T(t),children:(0,m.jsx)(_r,{columns:n,data:e.slice(0,5),getRowId:e=>e.id,density:`comfortable`,emptyMessage:`No withdrawals yet.`})})}function Jo({coin:e,network:t,networkName:n,amount:r,amountFiat:i,from:a,to:o,footer:s,className:c}){let l=r!=null&&r!==``&&r!==`0`;return(0,m.jsxs)(`div`,{className:T(`flex flex-col rounded-2xl border border-cb-line bg-slate-50 dark:bg-slate-900/40`,c),children:[(0,m.jsxs)(`div`,{className:`px-5 pt-4 pb-1`,children:[(0,m.jsx)(`h2`,{className:`text-base font-semibold text-foreground`,children:`Summary`}),(0,m.jsx)(`p`,{className:`mt-0.5 text-[13px] text-muted-foreground`,children:`Review before you send.`})]}),(0,m.jsxs)(`div`,{className:`flex items-center gap-3 px-5 pt-1 pb-4`,children:[e?(0,m.jsx)(W,{code:e,src:q(e),className:`size-9`}):(0,m.jsx)(`span`,{className:`size-9 shrink-0 rounded-full bg-muted`}),(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col leading-tight`,children:[(0,m.jsxs)(`span`,{className:`block truncate text-xl font-semibold tabular-nums text-foreground`,children:[l?r:`0.00`,` `,(0,m.jsx)(`span`,{className:`text-base font-medium text-muted-foreground`,children:e})]}),(0,m.jsxs)(`span`,{className:`block truncate text-sm tabular-nums text-muted-foreground`,children:[`≈ `,l&&i?i:`$0.00`]})]})]}),(0,m.jsx)(`div`,{className:`h-px w-full bg-cb-line`}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-3 px-5 py-4`,children:[(0,m.jsx)(Y,{label:`Network`,children:t?(0,m.jsx)(qr,{value:n??t,code:t,className:`font-medium`}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),(0,m.jsx)(Yo,{caption:`From`,endpoint:a}),(0,m.jsx)(Yo,{caption:`To`,endpoint:o})]}),s!=null&&(0,m.jsx)(`div`,{className:`mt-auto flex flex-col gap-3 px-5 pt-0 pb-5`,children:s})]})}function Yo({caption:e,endpoint:t}){return(0,m.jsx)(Y,{label:e,children:t?t.label?(0,m.jsxs)(`div`,{className:`flex flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`truncate font-semibold text-foreground`,children:t.label}),(0,m.jsx)(G,{value:t.address,head:12,tail:8,className:`mt-0.5`})]}):(0,m.jsx)(G,{value:t.address,head:14,tail:8,className:`[&_span]:text-foreground`}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})})}function Xo(e){return e.length>18?`${e.slice(0,10)}…${e.slice(-6)}`:e}function Zo({currentUser:e=`Maya Okafor`,onSubmit:t,className:n}){let[r,i]=(0,d.useState)(`USDT`),[a,o]=(0,d.useState)(`ETH`),[s,c]=(0,d.useState)(null),[l,u]=(0,d.useState)(``),[f,p]=(0,d.useState)(``),[h,_]=(0,d.useState)(``),[v,y]=(0,d.useState)(!1),[b,x]=(0,d.useState)(``),[S,C]=(0,d.useState)(!1),w=(zo.find(e=>e.code===r)??zo[0]).networks,ee=(0,d.useMemo)(()=>Bo.filter(e=>e.coin===r&&e.network===a),[r,a]),E=ee.find(e=>e.id===s)??null,D=f.trim()!==``,te=r===`TON`,ne=!te||l.trim()!==``,A=Uo(h),j=E?Uo(E.amount):0,re=E!=null&&A>j,M=h.trim()!==``&&A>0,ie=E&&M?Wo(A*E.fiatRate):null,N=M?A.toLocaleString(`en-US`,{minimumFractionDigits:2,maximumFractionDigits:8}):null,P=E!=null&&D&&M&&!re&&ne,ae=e=>{i(e);let t=zo.find(t=>t.code===e);o(t?.networks[0]??``),c(null),u(``)},F=e=>{o(e),c(null)},I=()=>{E&&_(E.amount)},L=e=>{let t=e.replace(/[^0-9.,]/g,``),n=t.indexOf(`.`);n!==-1&&(t=t.slice(0,n+1)+t.slice(n+1).replace(/\./g,``)),_(t)},oe=()=>{if(!E||!D)return;let n=new Date,i={id:`wd-${n.getTime()}`,date:n.toLocaleDateString(`en-US`,{month:`short`,day:`2-digit`,year:`numeric`}),time:n.toLocaleTimeString(`en-US`,{hour:`2-digit`,minute:`2-digit`}),initiator:e,fromWallet:E.name,fromAddress:E.address,toLabel:`External address`,toAddress:f.trim(),coin:r,network:a,amount:`-${h}`,amountFiat:`-${Wo(A*E.fiatRate)}`,status:`processing`};t?.(i),C(!0)},R=e=>{if(e){y(!0);return}y(!1),x(``),S&&(C(!1),_(``),p(``),u(``))},se=zo.map(e=>({value:e.code,label:e.code,sublabel:e.name,leading:(0,m.jsx)(W,{code:e.code,src:q(e.code),className:`size-6`})})),ce=w.map(e=>({value:e,label:e,sublabel:Ro[e]?.name??e,leading:(0,m.jsx)(W,{code:e,src:q(e),className:`size-6`})})),le=ee.map(e=>({id:e.id,name:e.name,address:e.address,coin:r,network:a,amount:e.amount,amountFiat:e.amountFiat}));return(0,m.jsxs)(`div`,{className:T(`grid grid-cols-1 gap-6 lg:grid-cols-[minmax(0,1fr)_360px]`,n),children:[(0,m.jsx)(`div`,{className:`flex flex-col rounded-2xl border border-cb-line bg-cb-card p-5 shadow-xs`,children:(0,m.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,m.jsxs)(`div`,{className:`grid grid-cols-1 gap-3 sm:grid-cols-2`,children:[(0,m.jsx)($,{id:`wd-coin`,label:`Coin`,value:r,options:se,onChange:ae}),(0,m.jsx)($,{id:`wd-network`,label:`Network`,value:a,options:ce,onChange:F})]}),te?(0,m.jsxs)(`div`,{className:`grid grid-cols-1 gap-3 sm:grid-cols-2`,children:[(0,m.jsx)(eo,{id:`wd-source`,label:`From wallet`,placeholder:`Select a source wallet`,value:s,wallets:le,onChange:c,variant:`detailed`,emptyMessage:`No wallets for this coin & network.`}),(0,m.jsx)(Qa,{id:`wd-from-tag`,label:`From tag`,value:l,onChange:u,placeholder:`Memo / tag`,inputMode:`numeric`,spellCheck:!1,autoComplete:`off`,inputClassName:`font-mono text-[13px]`})]}):(0,m.jsx)(eo,{id:`wd-source`,label:`From wallet`,placeholder:`Select a source wallet`,value:s,wallets:le,onChange:c,variant:`detailed`,emptyMessage:`No wallets for this coin & network.`}),(0,m.jsx)(Qa,{id:`wd-dest`,label:`To address`,value:f,onChange:p,placeholder:`Paste a ${Ro[a]?.name??a} ${r} address`,spellCheck:!1,autoComplete:`off`,inputClassName:`h-10 font-mono text-[13px]`}),(0,m.jsx)(Za,{id:`wd-amount`,value:h,onChange:L,suffix:r,disabled:!E,invalid:re,onMax:I,maxDisabled:!E,hint:E?(0,m.jsxs)(m.Fragment,{children:[`Available:`,` `,(0,m.jsxs)(`span`,{className:`font-medium text-foreground`,children:[E.amount,` `,r]})]}):`Select a wallet first`,helper:re?(0,m.jsx)(`span`,{className:`text-destructive`,children:`Amount exceeds the available balance.`}):ie?(0,m.jsxs)(`span`,{className:`tabular-nums text-muted-foreground`,children:[`≈ `,ie]}):null})]})}),(0,m.jsx)(Jo,{className:`h-full`,coin:r,network:a,networkName:Ro[a]?.name,amount:N,amountFiat:ie,from:E?{label:E.name,address:E.address}:null,to:D?{address:f.trim()}:null,footer:(0,m.jsx)(O,{type:`button`,size:`lg`,disabled:!P,onClick:()=>y(!0),className:`w-full cursor-pointer`,children:`Withdraw`})}),(0,m.jsx)(tt,{open:v,onOpenChange:R,children:(0,m.jsx)(at,{className:`max-w-md p-6`,children:S?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(`div`,{className:`flex flex-col items-center py-2 text-center`,children:[(0,m.jsx)(`div`,{className:`flex size-12 items-center justify-center rounded-full bg-emerald-100 text-emerald-600 dark:bg-emerald-500/15 dark:text-emerald-400`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:z,size:28,strokeWidth:2})}),(0,m.jsx)(ct,{className:`mt-4`,children:`Withdrawal submitted`}),(0,m.jsx)(lt,{className:`mt-1`,children:`Your withdrawal is processing — track it in the history below.`})]}),(0,m.jsx)(k,{bleed:`dialog`,actions:[{key:`done`,label:`Done`,onClick:()=>R(!1)}]})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(ot,{children:[(0,m.jsx)(ct,{children:`Confirm withdrawal`}),(0,m.jsx)(lt,{children:`Enter the 6-digit code from your authenticator app to continue.`})]}),(0,m.jsxs)(`div`,{className:`mt-4 flex flex-col gap-4`,children:[(0,m.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Withdrawing`,` `,(0,m.jsxs)(`span`,{className:`font-medium tabular-nums text-foreground`,children:[h,` `,r]}),` `,`to`,` `,(0,m.jsx)(`span`,{className:`font-mono text-foreground`,children:D?Xo(f.trim()):``})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,m.jsx)(wt,{htmlFor:`wd-code`,className:`text-[13px] font-medium text-muted-foreground`,children:`Authentication code`}),(0,m.jsx)(Qo,{id:`wd-code`,value:b,onChange:x})]})]}),(0,m.jsx)(k,{bleed:`dialog`,actions:[{key:`cancel`,label:`Cancel`,variant:`outline`,onClick:()=>R(!1)},{key:`confirm`,label:`Confirm withdrawal`,onClick:oe,disabled:b.length<6}]})]})})})]})}function Qo({id:e,value:t,onChange:n,length:r=6}){let[i,a]=(0,d.useState)(!1),o=Array.from({length:r},(e,n)=>t[n]??``),s=Math.min(t.length,r-1);return(0,m.jsxs)(`div`,{className:`relative`,children:[(0,m.jsx)(`input`,{id:e,value:t,onChange:e=>n(e.target.value.replace(/\D/g,``).slice(0,r)),onFocus:()=>a(!0),onBlur:()=>a(!1),inputMode:`numeric`,autoComplete:`one-time-code`,"aria-label":`Authentication code`,maxLength:r,autoFocus:!0,className:`absolute inset-0 z-10 h-full w-full cursor-pointer opacity-0 outline-none`}),(0,m.jsx)(`div`,{className:T(`flex h-16 w-full divide-x divide-input overflow-hidden rounded-xl border border-input transition-colors`,i&&`border-ring ring-3 ring-ring/50`),children:o.map((e,t)=>{let n=i&&t===s;return(0,m.jsx)(`div`,{className:T(`flex flex-1 items-center justify-center text-3xl font-semibold tabular-nums text-foreground`,n&&`bg-primary/5`),children:e||(n?(0,m.jsx)(`span`,{className:`h-8 w-px animate-pulse bg-foreground`}):``)},t)})})]})}var $o=o({}),es=`Ipche`,ts=`gateUnlocked`;function ns({children:e}){let[t,n]=(0,d.useState)(()=>localStorage.getItem(ts)===`true`),[r,i]=(0,d.useState)(``),[a,o]=(0,d.useState)(!1);return t?(0,m.jsx)(m.Fragment,{children:e}):(0,m.jsx)(`div`,{className:`flex h-svh items-center justify-center bg-background p-4`,children:(0,m.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),r===es?(localStorage.setItem(ts,`true`),n(!0)):o(!0)},className:`w-full max-w-xs space-y-4 rounded-xl border border-border bg-card p-6 shadow-sm`,children:[(0,m.jsxs)(`div`,{className:`space-y-1`,children:[(0,m.jsx)(wt,{htmlFor:`gate-password`,children:`Password`}),(0,m.jsx)(Ct,{id:`gate-password`,type:`password`,autoFocus:!0,value:r,"aria-invalid":a,onChange:e=>{i(e.target.value),o(!1)}}),a&&(0,m.jsx)(`p`,{className:`text-sm text-destructive`,children:`Incorrect password.`})]}),(0,m.jsx)(O,{type:`submit`,className:`w-full`,children:`Unlock`})]})})}exports.ActionFooter=k,exports.AmountField=Za,exports.AppHeaderV1=Zn,exports.AppHeaderV2=nr,exports.AssetValue=qr,exports.Avatar=_n,exports.Badge=yn,exports.NavBadge=yn,exports.BalancesSummary=Wa,exports.BlockchainDetails=Yr,exports.Button=O,exports.Calendar=$e,exports.Checkbox=et,exports.CoinLogo=W,exports.ColumnsMenu=ur,exports.ConfirmDialog=ut,exports.ConvertHistoryTable=io,exports.ConvertPanel=bo,exports.ConvertPickerField=$,exports.DepositPickerField=$,exports.PickerField=$,exports.WithdrawPickerField=$,exports.ConvertSummary=oo,exports.CopyButton=dr,exports.CopyableId=G,exports.CurrencyNetwork=mr,exports.DailyBalancesTable=Li,exports.DataTable=_r,exports.DepositHistoryTable=jo,exports.DepositPanel=Fo,exports.DepositReceiveCard=Po,exports.DetailField=Y,exports.Dialog=tt,exports.DialogClose=rt,exports.DialogContent=at,exports.DialogDescription=lt,exports.DialogFooter=st,exports.DialogHeader=ot,exports.DialogTitle=ct,exports.DialogTrigger=nt,exports.DonutChart=Bi,exports.DownloadMenu=yr,exports.DropdownMenu=dt,exports.DropdownMenuCheckboxItem=gt,exports.DropdownMenuContent=mt,exports.DropdownMenuGroup=pt,exports.DropdownMenuItem=ht,exports.DropdownMenuLabel=vt,exports.DropdownMenuRadioGroup=St,exports.DropdownMenuRadioItem=V,exports.DropdownMenuSeparator=_t,exports.DropdownMenuSub=yt,exports.DropdownMenuSubContent=xt,exports.DropdownMenuSubTrigger=bt,exports.DropdownMenuTrigger=ft,exports.ExportHistoryList=Hi,exports.FULL_NAV=Un,exports.HeaderSearch=tr,exports.HeaderStickyContext=rr,exports.ICONS=Sn,exports.ICON_NAMES=Cn,exports.Input=Ct,exports.Label=wt,exports.Logo=En,exports.NAV_ITEMS=Kn,exports.NAV_PRESETS=Gn,exports.NavDrawer=Yn,exports.NavGroup=Mn,exports.NavIcon=wn,exports.NavItem=kn,exports.NavLabel=bn,exports.NavRailSection=jn,exports.NavSection=An,exports.NotificationItem=Pn,exports.NotificationsMenu=Ln,exports.NotificationsPanel=In,exports.PRIMARY_NAV=Wn,exports.PageContainer=Xn,exports.PageTitle=sr,exports.PageTitleChip=cr,exports.PageTitlePanel=lr,exports.Pagination=Tt,exports.PaginationContent=Et,exports.PaginationEllipsis=jt,exports.PaginationItem=Dt,exports.PaginationLink=Ot,exports.PaginationNext=At,exports.PaginationPrevious=kt,exports.PasswordGate=ns,exports.PaymentType=br,exports.PeriodPicker=na,exports.Popover=Mt,exports.PopoverAnchor=Pt,exports.PopoverContent=Ft,exports.PopoverTrigger=Nt,exports.QrCode=No,exports.RadioGroup=It,exports.RadioGroupItem=Lt,exports.ReportSummaryCard=da,exports.ReportSummaryGroup=fa,exports.ReportsSummaryEmpty=pa,exports.RiskAssessment=$r,exports.RiskSignal=xr,exports.SAMPLE_NOTIFICATIONS=Fn,exports.SavePresetDialog=pi,exports.SavedPresetsBar=hi,exports.ScrollArea=zt,exports.SectionHeading=On,exports.Separator=Bt,exports.SidePanel=Vt,exports.SidePanelBody=qt,exports.SidePanelClose=Ut,exports.SidePanelContent=Gt,exports.SidePanelDescription=Xt,exports.SidePanelFooter=Jt,exports.SidePanelHeader=Kt,exports.SidePanelSectionTitle=Qt,exports.SidePanelSeparator=Zt,exports.SidePanelTitle=Yt,exports.SidePanelTrigger=Ht,exports.Skeleton=H,exports.SortHeader=hr,exports.StatusBadge=Cr,exports.TRANSACTION_SEARCH_SCOPES=Oi,exports.Table=$t,exports.TableBody=tn,exports.TableCaption=on,exports.TableCell=U,exports.TableFooter=nn,exports.TableHead=an,exports.TableHeader=en,exports.TableRow=rn,exports.Tabs=sn,exports.TabsContent=dn,exports.TabsList=ln,exports.TabsTrigger=un,exports.TextField=Qa,exports.TextLink=fr,exports.TextStack=K,exports.Tooltip=pn,exports.TooltipContent=hn,exports.TooltipProvider=fn,exports.TooltipTrigger=mn,exports.TransactionDetailPanel=yi,exports.TransactionInfo=_i,exports.TransactionReference=vi,exports.TransactionSummary=gi,exports.TransactionsFilterPanel=wi,exports.TransactionsTable=Ai,exports.TransactionsTableOptions=Mi,exports.UiBadge=ne,exports.UserMenu=Hn,exports.WalletBalancesTable=Ha,exports.WalletField=eo,exports.WalletRowActions=Ma,exports.WithdrawHistoryTable=qo,exports.WithdrawPanel=Zo,exports.WithdrawSummary=Jo,exports.badgeVariants=te,Object.defineProperty(exports,"balancesData",{enumerable:!0,get:function(){return Ga}}),Object.defineProperty(exports,"balancesRecentTransactions",{enumerable:!0,get:function(){return Ya}}),Object.defineProperty(exports,"balancesTypes",{enumerable:!0,get:function(){return Ja}}),exports.buttonVariants=D,Object.defineProperty(exports,"convertData",{enumerable:!0,get:function(){return co}}),Object.defineProperty(exports,"convertTypes",{enumerable:!0,get:function(){return So}}),Object.defineProperty(exports,"depositData",{enumerable:!0,get:function(){return Co}}),Object.defineProperty(exports,"depositTypes",{enumerable:!0,get:function(){return Io}}),exports.findNavItem=qn,Object.defineProperty(exports,"reportsData",{enumerable:!0,get:function(){return ra}}),Object.defineProperty(exports,"reportsPresets",{enumerable:!0,get:function(){return Ui}}),Object.defineProperty(exports,"reportsReportData",{enumerable:!0,get:function(){return ha}}),Object.defineProperty(exports,"reportsTypes",{enumerable:!0,get:function(){return ma}}),exports.tabsListVariants=cn,exports.transactionColumnOptions=ki,Object.defineProperty(exports,"transactionsData",{enumerable:!0,get:function(){return wr}}),Object.defineProperty(exports,"transactionsFilters",{enumerable:!0,get:function(){return ri}}),Object.defineProperty(exports,"transactionsStatuses",{enumerable:!0,get:function(){return ei}}),Object.defineProperty(exports,"transactionsTypes",{enumerable:!0,get:function(){return Ni}}),exports.useHeaderExtension=ir,Object.defineProperty(exports,"withdrawData",{enumerable:!0,get:function(){return Lo}}),Object.defineProperty(exports,"withdrawTypes",{enumerable:!0,get:function(){return $o}});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let l=require("clsx"),u=require("tailwind-merge"),d=require("react");d=c(d,1);let f=require("class-variance-authority"),p=require("radix-ui"),m=require("react/jsx-runtime"),h=require("react-day-picker"),g=require("@hugeicons/react"),_=require("@radix-ui/react-checkbox");_=c(_,1);let v=require("@radix-ui/react-dialog");v=c(v,1);let y=require("@radix-ui/react-dropdown-menu");y=c(y,1);let b=require("@radix-ui/react-label");b=c(b,1);let x=require("@radix-ui/react-popover");x=c(x,1);let S=require("@radix-ui/react-radio-group");S=c(S,1);let C=require("@radix-ui/react-tooltip");C=c(C,1);let w=require("date-fns"),T=require("qrcode");T=c(T,1);function E(...e){return(0,u.twMerge)((0,l.clsx)(e))}var D=`chainberry`,O=(0,f.cva)(`group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/80`,outline:`border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground`,ghost:`hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50`,destructive:`bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,xs:`h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3`,sm:`h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5`,lg:`h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,icon:`size-8`,"icon-xs":`size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3`,"icon-sm":`size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg`,"icon-lg":`size-9`}},defaultVariants:{variant:`default`,size:`default`}});function k({className:e,variant:t=`default`,size:n=`default`,asChild:r=!1,...i}){return(0,m.jsx)(r?p.Slot.Root:`button`,{"data-slot":`button`,"data-variant":t,"data-size":n,className:E(O({variant:t,size:n,className:e})),...i})}function ee({actions:e,bleed:t,className:n,...r}){let i=e.filter(e=>e.align===`start`),a=e.filter(e=>(e.align??`end`)===`end`),o=(e,t)=>(0,m.jsx)(k,{type:e.type??`button`,variant:e.variant??`default`,disabled:e.disabled,onClick:e.onClick,className:E(`cursor-pointer`,e.className),children:e.label},e.key??t);return(0,m.jsxs)(`div`,{"data-slot":`action-footer`,className:E(`flex shrink-0 items-center justify-between gap-2 border-t border-cb-line p-2.5`,t===`dialog`&&`-mx-6 -mb-6 mt-6 rounded-b-2xl`,n),...r,children:[(0,m.jsx)(`div`,{className:`flex items-center gap-1`,children:i.map(o)}),(0,m.jsx)(`div`,{className:`flex items-center gap-2`,children:a.map(o)})]})}var te=(0,f.cva)(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`}},defaultVariants:{variant:`default`}});function ne({className:e,variant:t=`default`,asChild:n=!1,...r}){return(0,m.jsx)(n?p.Slot.Root:`span`,{"data-slot":`badge`,"data-variant":t,className:E(te({variant:t}),e),...r})}var A=[[`path`,{d:`M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 17V13`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12 9.25H12.125M12.25 9.25C12.25 9.11193 12.1381 9 12 9C11.8619 9 11.75 9.11193 11.75 9.25C11.75 9.38807 11.8619 9.5 12 9.5C12.1381 9.5 12.25 9.38807 12.25 9.25Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],j=[[`path`,{d:`M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 9V13`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],re=[[`path`,{d:`M7 17L7 13`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 17L12 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M17 17L17 11`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],M=[[`path`,{d:`M19 9H6.65856C5.65277 9 5.14987 9 5.02472 8.69134C4.89957 8.38268 5.25517 8.01942 5.96637 7.29289L8.21091 5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M5 15H17.3414C18.3472 15 18.8501 15 18.9753 15.3087C19.1004 15.6173 18.7448 15.9806 18.0336 16.7071L15.7891 19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],ie=[[`path`,{d:`M15 19L15 6.65856C15 5.65277 15 5.14987 15.3087 5.02472C15.6173 4.89956 15.9806 5.25517 16.7071 5.96637L19 8.21091`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9 5L9 17.3414C9 18.3472 9 18.8501 8.69134 18.9753C8.38268 19.1004 8.01942 18.7448 7.29289 18.0336L5 15.7891`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],N=[[`path`,{d:`M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],P=[[`path`,{d:`M12 16V3`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M6 21H18`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M7 12C7 12 10.6824 17 12 17C13.3176 17 17 12 17 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],ae=[[`path`,{d:`M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],oe=[[`path`,{d:`M19.9999 17L3.99994 17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M17 14C17 14 19.9999 16.2095 19.9999 17C19.9999 17.7906 16.9999 20 16.9999 20`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M4.99994 7L19.9999 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M6.99992 4C6.99992 4 3.99995 6.20947 3.99994 7.00002C3.99993 7.79058 6.99994 10 6.99994 10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],F=[[`path`,{d:`M20.5 5.5H9.5C5.78672 5.5 3 8.18503 3 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M3.5 18.5H14.5C18.2133 18.5 21 15.815 21 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M18.5 3C18.5 3 21 4.84122 21 5.50002C21 6.15882 18.5 8 18.5 8`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M5.49998 16C5.49998 16 3.00001 17.8412 3 18.5C2.99999 19.1588 5.5 21 5.5 21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],I=[[`path`,{d:`M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],se=[[`path`,{d:`M18 4L5.99997 4`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 8V20`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M15.9999 12C15.9999 12 13.054 8.00001 11.9999 8C10.9458 7.99999 7.99994 12 7.99994 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],L=[[`path`,{d:`M9 6.65032C9 6.65032 15.9383 6.10759 16.9154 7.08463C17.8924 8.06167 17.3496 15 17.3496 15M16.5 7.5L6.5 17.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],ce=[[`path`,{d:`M12.125 5.75H12M12.25 5.75C12.25 5.88807 12.1381 6 12 6C11.8619 6 11.75 5.88807 11.75 5.75C11.75 5.61193 11.8619 5.5 12 5.5C12.1381 5.5 12.25 5.61193 12.25 5.75Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M5 9V19M9 9V19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M15 9V19M19 9V19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M21.3518 9H2.64822C2.29022 9 2 8.70651 2 8.34447C2 8.12259 2.11099 7.91577 2.29495 7.79485L8.73007 3.56485C10.3171 2.52162 11.1107 2 12 2C12.8893 2 13.6829 2.52162 15.2699 3.56485L21.7051 7.79485C21.889 7.91577 22 8.12259 22 8.34447C22 8.70651 21.7098 9 21.3518 9Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M21.0397 20.2929L20.3519 19.5858C20.0707 19.2968 19.9301 19.1522 19.7514 19.0761C19.5726 19 19.3738 19 18.9762 19H5.02382C4.62621 19 4.4274 19 4.24863 19.0761C4.06987 19.1522 3.92929 19.2968 3.64814 19.5858L2.9603 20.2929C2.25356 21.0194 1.9002 21.3827 2.02456 21.6913C2.14893 22 2.64867 22 3.64814 22H20.3519C21.3513 22 21.8511 22 21.9754 21.6913C22.0998 21.3827 21.7464 21.0194 21.0397 20.2929Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`4`}]],le=[[`path`,{d:`M12 2H6C3.518 2 3 2.518 3 5V22H15V5C15 2.518 14.482 2 12 2Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M18 8H15V22H21V11C21 8.518 20.482 8 18 8Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M8 6L10 6M8 9L10 9M8 12L10 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M11.5 22V18C11.5 17.0572 11.5 16.5858 11.2071 16.2929C10.9142 16 10.4428 16 9.5 16H8.5C7.55719 16 7.08579 16 6.79289 16.2929C6.5 16.5858 6.5 17.0572 6.5 18V22`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],ue=[[`path`,{d:`M16 2V6M8 2V6`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M3 10H21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M10 18.5002L9.99999 13.8474C9.99999 13.6557 9.86325 13.5002 9.69458 13.5002H9M14 18.4983L15.4855 13.8923C15.4951 13.8626 15.5 13.8315 15.5 13.8002C15.5 13.6346 15.3657 13.5002 15.2 13.5002L13 13.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],de=[[`path`,{d:`M18 6L6.00081 17.9992M17.9992 18L6 6.00085`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],fe=[[`path`,{d:`M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M14.9994 15L9 9M9.00064 15L15 9`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],pe=[[`path`,{d:`M8 9V17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M13 5V17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M18 13V17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M3 3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],me=[[`path`,{d:`M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 12.75C8 12.75 9.6 13.6625 10.4 15C10.4 15 12.8 9.75 16 8`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],he=[[`ellipse`,{cx:`15.5`,cy:`11`,rx:`6.5`,ry:`2`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M22 15.5C22 16.6046 19.0899 17.5 15.5 17.5C11.9101 17.5 9 16.6046 9 15.5`,stroke:`currentColor`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M22 11V19.8C22 21.015 19.0899 22 15.5 22C11.9101 22 9 21.015 9 19.8V11`,stroke:`currentColor`,strokeWidth:`1.5`,key:`2`}],[`ellipse`,{cx:`8.5`,cy:`4`,rx:`6.5`,ry:`2`,stroke:`currentColor`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M6 11C4.10819 10.7698 2.36991 10.1745 2 9M6 16C4.10819 15.7698 2.36991 15.1745 2 14`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`4`}],[`path`,{d:`M6 21C4.10819 20.7698 2.36991 20.1745 2 19L2 4`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`5`}],[`path`,{d:`M15 6V4`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`6`}]],ge=[[`path`,{d:`M20 17.5C20 18.8807 18.8807 20 17.5 20M20 17.5C20 16.1193 18.8807 15 17.5 15M20 17.5H21.5M17.5 20C16.1193 20 15 18.8807 15 17.5M17.5 20V21.5M15 17.5C15 16.1193 16.1193 15 17.5 15M15 17.5H13.5M17.5 15V13.5M19.2678 15.7322L20.3284 14.6716M15.7322 19.2678L14.6716 20.3284M19.2678 19.2678L20.3284 20.3284M15.7322 15.7322L14.6716 14.6716`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M20.4993 10.5C20.4912 6.91543 20.3921 5.02814 19.182 3.81802C17.864 2.5 15.7426 2.5 11.5 2.5C7.25736 2.5 5.13604 2.5 3.81802 3.81802C2.5 5.13604 2.5 7.25736 2.5 11.5C2.5 15.7426 2.5 17.864 3.81802 19.182C5.02814 20.3921 6.91543 20.4912 10.5 20.4993`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M8.5 3V20`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M14.5 3V10.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],_e=[[`circle`,{cx:`12`,cy:`12.002`,r:`10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M14.9097 18.3695C17.3232 17.265 19 14.8288 19 12.001C19 9.17321 17.3232 6.73703 14.9097 5.63253C13.8893 5.16557 13.3791 4.93208 12.6895 5.37484C12 5.81759 12 6.5454 12 8.00102V16.001C12 17.4566 12 18.1845 12.6895 18.6272C13.3791 19.07 13.8893 18.8365 14.9097 18.3695Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],ve=[[`path`,{d:`M9 15C9 12.1716 9 10.7574 9.87868 9.87868C10.7574 9 12.1716 9 15 9L16 9C18.8284 9 20.2426 9 21.1213 9.87868C22 10.7574 22 12.1716 22 15V16C22 18.8284 22 20.2426 21.1213 21.1213C20.2426 22 18.8284 22 16 22H15C12.1716 22 10.7574 22 9.87868 21.1213C9 20.2426 9 18.8284 9 16L9 15Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M16.9999 9C16.9975 6.04291 16.9528 4.51121 16.092 3.46243C15.9258 3.25989 15.7401 3.07418 15.5376 2.90796C14.4312 2 12.7875 2 9.5 2C6.21252 2 4.56878 2 3.46243 2.90796C3.25989 3.07417 3.07418 3.25989 2.90796 3.46243C2 4.56878 2 6.21252 2 9.5C2 12.7875 2 14.4312 2.90796 15.5376C3.07417 15.7401 3.25989 15.9258 3.46243 16.092C4.51121 16.9528 6.04291 16.9975 9 16.9999`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],ye=[[`path`,{d:`M2 12C2 8.46252 2 6.69377 3.0528 5.5129C3.22119 5.32403 3.40678 5.14935 3.60746 4.99087C4.86213 4 6.74142 4 10.5 4H13.5C17.2586 4 19.1379 4 20.3925 4.99087C20.5932 5.14935 20.7788 5.32403 20.9472 5.5129C22 6.69377 22 8.46252 22 12C22 15.5375 22 17.3062 20.9472 18.4871C20.7788 18.676 20.5932 18.8506 20.3925 19.0091C19.1379 20 17.2586 20 13.5 20H10.5C6.74142 20 4.86213 20 3.60746 19.0091C3.40678 18.8506 3.22119 18.676 3.0528 18.4871C2 17.3062 2 15.5375 2 12Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M10 16H11.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M14.5 16L18 16`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M2 9H22`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],be=[[`path`,{d:`M7.5 17.2196C7.44458 16.0292 6.62155 16 5.50505 16C3.78514 16 3.5 16.406 3.5 18V20C3.5 21.594 3.78514 22 5.50505 22C6.62154 22 7.44458 21.9708 7.5 20.7804M20.5 16L18.7229 20.6947C18.3935 21.5649 18.2288 22 17.968 22C17.7071 22 17.5424 21.5649 17.213 20.6947L15.4359 16M12.876 16H11.6951C11.2231 16 10.9872 16 10.8011 16.0761C10.1672 16.3354 10.1758 16.9448 10.1758 17.5C10.1758 18.0553 10.1672 18.6647 10.8011 18.9239C10.9872 19 11.2232 19 11.6951 19C12.167 19 12.4029 19 12.5891 19.0761C13.2229 19.3354 13.2143 19.9447 13.2143 20.5C13.2143 21.0553 13.2229 21.6647 12.5891 21.9239C12.4029 22 12.167 22 11.6951 22H10.4089`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M20 13V10.6569C20 9.83935 20 9.4306 19.8478 9.06306C19.6955 8.69552 19.4065 8.40649 18.8284 7.82843L14.0919 3.09188C13.593 2.593 13.3436 2.34355 13.0345 2.19575C12.9702 2.165 12.9044 2.13772 12.8372 2.11401C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88607C5.26731 3.06508 5.06508 3.26731 4.88607 3.48933C4 4.58831 4 6.21082 4 9.45584V13M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],xe=[[`path`,{d:`M13.6903 19.4567C13.5 18.9973 13.5 18.4149 13.5 17.25C13.5 16.0851 13.5 15.5027 13.6903 15.0433C13.944 14.4307 14.4307 13.944 15.0433 13.6903C15.5027 13.5 16.0851 13.5 17.25 13.5C18.4149 13.5 18.9973 13.5 19.4567 13.6903C20.0693 13.944 20.556 14.4307 20.8097 15.0433C21 15.5027 21 16.0851 21 17.25C21 18.4149 21 18.9973 20.8097 19.4567C20.556 20.0693 20.0693 20.556 19.4567 20.8097C18.9973 21 18.4149 21 17.25 21C16.0851 21 15.5027 21 15.0433 20.8097C14.4307 20.556 13.944 20.0693 13.6903 19.4567Z`,stroke:`currentColor`,strokeLinecap:`square`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M13.6903 8.95671C13.5 8.49728 13.5 7.91485 13.5 6.75C13.5 5.58515 13.5 5.00272 13.6903 4.54329C13.944 3.93072 14.4307 3.44404 15.0433 3.1903C15.5027 3 16.0851 3 17.25 3C18.4149 3 18.9973 3 19.4567 3.1903C20.0693 3.44404 20.556 3.93072 20.8097 4.54329C21 5.00272 21 5.58515 21 6.75C21 7.91485 21 8.49728 20.8097 8.95671C20.556 9.56928 20.0693 10.056 19.4567 10.3097C18.9973 10.5 18.4149 10.5 17.25 10.5C16.0851 10.5 15.5027 10.5 15.0433 10.3097C14.4307 10.056 13.944 9.56928 13.6903 8.95671Z`,stroke:`currentColor`,strokeLinecap:`square`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M3.1903 19.4567C3 18.9973 3 18.4149 3 17.25C3 16.0851 3 15.5027 3.1903 15.0433C3.44404 14.4307 3.93072 13.944 4.54329 13.6903C5.00272 13.5 5.58515 13.5 6.75 13.5C7.91485 13.5 8.49728 13.5 8.95671 13.6903C9.56928 13.944 10.056 14.4307 10.3097 15.0433C10.5 15.5027 10.5 16.0851 10.5 17.25C10.5 18.4149 10.5 18.9973 10.3097 19.4567C10.056 20.0693 9.56928 20.556 8.95671 20.8097C8.49728 21 7.91485 21 6.75 21C5.58515 21 5.00272 21 4.54329 20.8097C3.93072 20.556 3.44404 20.0693 3.1903 19.4567Z`,stroke:`currentColor`,strokeLinecap:`square`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M3.1903 8.95671C3 8.49728 3 7.91485 3 6.75C3 5.58515 3 5.00272 3.1903 4.54329C3.44404 3.93072 3.93072 3.44404 4.54329 3.1903C5.00272 3 5.58515 3 6.75 3C7.91485 3 8.49728 3 8.95671 3.1903C9.56928 3.44404 10.056 3.93072 10.3097 4.54329C10.5 5.00272 10.5 5.58515 10.5 6.75C10.5 7.91485 10.5 8.49728 10.3097 8.95671C10.056 9.56928 9.56928 10.056 8.95671 10.3097C8.49728 10.5 7.91485 10.5 6.75 10.5C5.58515 10.5 5.00272 10.5 4.54329 10.3097C3.93072 10.056 3.44404 9.56928 3.1903 8.95671Z`,stroke:`currentColor`,strokeLinecap:`square`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],Se=[[`path`,{d:`M10.5 8.75V6.75C10.5 5.10626 10.5 4.28439 10.046 3.73121C9.96291 3.62995 9.87005 3.53709 9.76879 3.45398C9.21561 3 8.39374 3 6.75 3C5.10626 3 4.28439 3 3.73121 3.45398C3.62995 3.53709 3.53709 3.62995 3.45398 3.73121C3 4.28439 3 5.10626 3 6.75V8.75C3 10.3937 3 11.2156 3.45398 11.7688C3.53709 11.8701 3.62995 11.9629 3.73121 12.046C4.28439 12.5 5.10626 12.5 6.75 12.5C8.39374 12.5 9.21561 12.5 9.76879 12.046C9.87005 11.9629 9.96291 11.8701 10.046 11.7688C10.5 11.2156 10.5 10.3937 10.5 8.75Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M7.75 15.5H5.75C5.05222 15.5 4.70333 15.5 4.41943 15.5861C3.78023 15.78 3.28002 16.2802 3.08612 16.9194C3 17.2033 3 17.5522 3 18.25C3 18.9478 3 19.2967 3.08612 19.5806C3.28002 20.2198 3.78023 20.72 4.41943 20.9139C4.70333 21 5.05222 21 5.75 21H7.75C8.44778 21 8.79667 21 9.08057 20.9139C9.71977 20.72 10.22 20.2198 10.4139 19.5806C10.5 19.2967 10.5 18.9478 10.5 18.25C10.5 17.5522 10.5 17.2033 10.4139 16.9194C10.22 16.2802 9.71977 15.78 9.08057 15.5861C8.79667 15.5 8.44778 15.5 7.75 15.5Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M21 17.25V15.25C21 13.6063 21 12.7844 20.546 12.2312C20.4629 12.1299 20.3701 12.0371 20.2688 11.954C19.7156 11.5 18.8937 11.5 17.25 11.5C15.6063 11.5 14.7844 11.5 14.2312 11.954C14.1299 12.0371 14.0371 12.1299 13.954 12.2312C13.5 12.7844 13.5 13.6063 13.5 15.25V17.25C13.5 18.8937 13.5 19.7156 13.954 20.2688C14.0371 20.3701 14.1299 20.4629 14.2312 20.546C14.7844 21 15.6063 21 17.25 21C18.8937 21 19.7156 21 20.2688 20.546C20.3701 20.4629 20.4629 20.3701 20.546 20.2688C21 19.7156 21 18.8937 21 17.25Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M18.25 3H16.25C15.5522 3 15.2033 3 14.9194 3.08612C14.2802 3.28002 13.78 3.78023 13.5861 4.41943C13.5 4.70333 13.5 5.05222 13.5 5.75C13.5 6.44778 13.5 6.79667 13.5861 7.08057C13.78 7.71977 14.2802 8.21998 14.9194 8.41388C15.2033 8.5 15.5522 8.5 16.25 8.5H18.25C18.9478 8.5 19.2967 8.5 19.5806 8.41388C20.2198 8.21998 20.72 7.71977 20.9139 7.08057C21 6.79667 21 6.44778 21 5.75C21 5.05222 21 4.70333 20.9139 4.41943C20.72 3.78023 20.2198 3.28002 19.5806 3.08612C19.2967 3 18.9478 3 18.25 3Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],Ce=[[`path`,{d:`M2.99969 17.0002C2.99969 17.9302 2.99969 18.3952 3.10192 18.7767C3.37932 19.8119 4.18796 20.6206 5.22324 20.898C5.60474 21.0002 6.06972 21.0002 6.99969 21.0002L16.9997 21.0002C17.9297 21.0002 18.3947 21.0002 18.7762 20.898C19.8114 20.6206 20.6201 19.8119 20.8975 18.7767C20.9997 18.3952 20.9997 17.9302 20.9997 17.0002`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M16.4998 11.5002C16.4998 11.5002 13.1856 16.0002 11.9997 16.0002C10.8139 16.0002 7.49976 11.5002 7.49976 11.5002M11.9997 15.0002V3.00016`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],we=[[`path`,{d:`M8 7L16 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 11L12 11`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M13 21.5V21C13 18.1716 13 16.7574 13.8787 15.8787C14.7574 15 16.1716 15 19 15H19.5M20 13.3431V10C20 6.22876 20 4.34315 18.8284 3.17157C17.6569 2 15.7712 2 12 2C8.22877 2 6.34315 2 5.17157 3.17157C4 4.34314 4 6.22876 4 10L4 14.5442C4 17.7892 4 19.4117 4.88607 20.5107C5.06508 20.7327 5.26731 20.9349 5.48933 21.1139C6.58831 22 8.21082 22 11.4558 22C12.1614 22 12.5141 22 12.8372 21.886C12.9044 21.8623 12.9702 21.835 13.0345 21.8043C13.3436 21.6564 13.593 21.407 14.0919 20.9081L18.8284 16.1716C19.4065 15.5935 19.6955 15.3045 19.8478 14.9369C20 14.5694 20 14.1606 20 13.3431Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Te=[[`path`,{d:`M8.85746 12.5061C6.36901 10.6456 4.59564 8.59915 3.62734 7.44867C3.3276 7.09253 3.22938 6.8319 3.17033 6.3728C2.96811 4.8008 2.86701 4.0148 3.32795 3.5074C3.7889 3 4.60404 3 6.23433 3H17.7657C19.396 3 20.2111 3 20.672 3.5074C21.133 4.0148 21.0319 4.8008 20.8297 6.37281C20.7706 6.83191 20.6724 7.09254 20.3726 7.44867C19.403 8.60062 17.6261 10.6507 15.1326 12.5135C14.907 12.6821 14.7583 12.9567 14.7307 13.2614C14.4837 15.992 14.2559 17.4876 14.1141 18.2442C13.8853 19.4657 12.1532 20.2006 11.226 20.8563C10.6741 21.2466 10.0043 20.782 9.93278 20.1778C9.79643 19.0261 9.53961 16.6864 9.25927 13.2614C9.23409 12.9539 9.08486 12.6761 8.85746 12.5061Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ee=[[`path`,{d:`M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M20 5.69899C19.0653 5.76636 17.8681 6.12824 17.0379 7.20277C15.5385 9.14361 14.039 9.30556 13.0394 8.65861C11.5399 7.6882 12.8 6.11636 11.0401 5.26215C9.89313 4.70542 9.73321 3.19045 10.3716 2`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M2 11C2.7625 11.6621 3.83046 12.2682 5.08874 12.2682C7.68843 12.2682 8.20837 12.7649 8.20837 14.7518C8.20837 16.7387 8.20837 16.7387 8.72831 18.2288C9.06651 19.1981 9.18472 20.1674 8.5106 21`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M22 13.4523C21.1129 12.9411 20 12.7308 18.8734 13.5405C16.7177 15.0898 15.2314 13.806 14.5619 15.0889C13.5765 16.9775 17.0957 17.5711 14 22`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],De=[[`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 12C8 18 12 22 12 22C12 22 16 18 16 12C16 6 12 2 12 2C12 2 8 6 8 12Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M21 15H3`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M21 9H3`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],Oe=[[`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9.5 9.5C9.5 8.11929 10.6193 7 12 7C13.3807 7 14.5 8.11929 14.5 9.5C14.5 10.3569 14.0689 11.1131 13.4117 11.5636C12.7283 12.0319 12 12.6716 12 13.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],ke=[[`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 16V12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Ae=[[`path`,{d:`M4 18.6458V8.05426C4 5.20025 4 3.77325 4.87868 2.88663C5.75736 2 7.17157 2 10 2H14C16.8284 2 18.2426 2 19.1213 2.88663C20 3.77325 20 5.20025 20 8.05426V18.6458C20 20.1575 20 20.9133 19.538 21.2108C18.7831 21.6971 17.6161 20.6774 17.0291 20.3073C16.5441 20.0014 16.3017 19.8485 16.0325 19.8397C15.7417 19.8301 15.4949 19.9768 14.9709 20.3073L13.06 21.5124C12.5445 21.8374 12.2868 22 12 22C11.7132 22 11.4555 21.8374 10.94 21.5124L9.02913 20.3073C8.54415 20.0014 8.30166 19.8485 8.03253 19.8397C7.74172 19.8301 7.49493 19.9768 6.97087 20.3073C6.38395 20.6774 5.21687 21.6971 4.46195 21.2108C4 20.9133 4 20.1575 4 18.6458Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M11 11H8`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M14 7L8 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],je=[[`path`,{d:`M8 5.5L20 5.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 12.5L20 12.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M8 19.5L20 19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M4.375 5.5H4.25M4.5 5.5C4.5 5.63807 4.38807 5.75 4.25 5.75C4.11193 5.75 4 5.63807 4 5.5C4 5.36193 4.11193 5.25 4.25 5.25C4.38807 5.25 4.5 5.36193 4.5 5.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M4.375 12.5H4.25M4.5 12.5C4.5 12.6381 4.38807 12.75 4.25 12.75C4.11193 12.75 4 12.6381 4 12.5C4 12.3619 4.11193 12.25 4.25 12.25C4.38807 12.25 4.5 12.3619 4.5 12.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`4`}],[`path`,{d:`M4.375 19.5H4.25M4.5 19.5C4.5 19.6381 4.38807 19.75 4.25 19.75C4.11193 19.75 4 19.6381 4 19.5C4 19.3619 4.11193 19.25 4.25 19.25C4.38807 19.25 4.5 19.3619 4.5 19.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`5`}]],Me=[[`path`,{d:`M14.5 6C14.4534 4.90658 14.3147 4.20985 13.9025 3.67376C13.7426 3.46574 13.5561 3.27954 13.3476 3.11992C12.5381 2.5 11.363 2.5 9.01286 2.5H8.51184C5.67786 2.5 4.26087 2.5 3.38046 3.37867C2.50006 4.25734 2.50004 5.67157 2.50003 8.49997L2.50002 15.5C2.50001 18.3284 2.5 19.7426 3.38042 20.6213C4.26083 21.5 5.67783 21.5 8.51184 21.5H9.01281C11.363 21.5 12.5381 21.5 13.3476 20.8801C13.556 20.7205 13.7426 20.5343 13.9025 20.3263C14.3147 19.7901 14.4534 19.0933 14.5 17.9996`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M20.5 11.9999H8.50002M18 15.5C18 15.5 21.5 12.9223 21.5 12C21.5 11.0777 18 8.5 18 8.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Ne=[[`path`,{d:`M2.01733 17.4993C4.2169 17.4993 6.00001 19.2824 6.00001 21.4819`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M18 21.4819V21.39C18 19.2412 19.742 17.4993 21.8908 17.4993`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M6.00001 7.5166C6.00001 9.71617 4.2169 11.4993 2.01733 11.4993`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M18 7.5166C18 9.69692 19.769 11.468 21.9423 11.4989`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M17 7.50098C19.175 7.51308 20.3529 7.60953 21.1213 8.37792C22 9.2566 22 10.6708 22 13.4992V15.4992C22 18.3277 22 19.7419 21.1213 20.6206C20.2426 21.4992 18.8284 21.4992 16 21.4992H8C5.17157 21.4992 3.75736 21.4992 2.87868 20.6206C2 19.7419 2 18.3277 2 15.4992V13.4992C2 10.6708 2 9.2566 2.87868 8.37792C3.64706 7.60953 4.82497 7.51308 7 7.50098`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`4`}],[`path`,{d:`M15 14.4993C15 16.1561 13.6569 17.4993 12 17.4993C10.3431 17.4993 9 16.1561 9 14.4993C9 12.8424 10.3431 11.4993 12 11.4993C13.6569 11.4993 15 12.8424 15 14.4993Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`5`}],[`path`,{d:`M9.5 5.00098C9.5 5.00098 11.2998 2.50098 12 2.50098C12.7002 2.50098 14.5 5.00098 14.5 5.00098M12 8.00098V3.00098`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`6`}]],Pe=[[`path`,{d:`M21.5 14.0784C20.3003 14.7189 18.9301 15.0821 17.4751 15.0821C12.7491 15.0821 8.91792 11.2509 8.91792 6.52485C8.91792 5.06986 9.28105 3.69968 9.92163 2.5C5.66765 3.49698 2.5 7.31513 2.5 11.8731C2.5 17.1899 6.8101 21.5 12.1269 21.5C16.6849 21.5 20.503 18.3324 21.5 14.0784Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Fe=[[`path`,{d:`M6.00449 12.5V12M18.0045 12.5V12M12.0045 12.5V12M7.00449 12.5C7.00449 11.9477 6.55677 11.5 6.00449 11.5C5.4522 11.5 5.00449 11.9477 5.00449 12.5C5.00449 13.0523 5.4522 13.5 6.00449 13.5C6.55677 13.5 7.00449 13.0523 7.00449 12.5ZM19.0045 12.5C19.0045 11.9477 18.5568 11.5 18.0045 11.5C17.4522 11.5 17.0045 11.9477 17.0045 12.5C17.0045 13.0523 17.4522 13.5 18.0045 13.5C18.5568 13.5 19.0045 13.0523 19.0045 12.5ZM13.0045 12.5C13.0045 11.9477 12.5568 11.5 12.0045 11.5C11.4522 11.5 11.0045 11.9477 11.0045 12.5C11.0045 13.0523 11.4522 13.5 12.0045 13.5C12.5568 13.5 13.0045 13.0523 13.0045 12.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ie=[[`path`,{d:`M22 14V10C22 6.22876 22 4.34315 20.8284 3.17157C19.6569 2 17.7712 2 14 2H12C8.22876 2 6.34315 2 5.17157 3.17157C4 4.34315 4 6.22876 4 10V14C4 17.7712 4 19.6569 5.17157 20.8284C6.34315 22 8.22876 22 12 22H14C17.7712 22 19.6569 22 20.8284 20.8284C22 19.6569 22 17.7712 22 14Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M11.7857 10H15.2143C16.2918 10 16.8305 10 17.1653 9.70711C17.5 9.41421 17.5 8.94281 17.5 8C17.5 7.05719 17.5 6.58579 17.1653 6.29289C16.8305 6 16.2918 6 15.2143 6H11.7857C10.7082 6 10.1695 6 9.83474 6.29289C9.5 6.58579 9.5 7.05719 9.5 8C9.5 8.94281 9.5 9.41421 9.83474 9.70711C10.1695 10 10.7082 10 11.7857 10Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M5 6L2 6M5 12H2M5 18H2`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Le=[[`path`,{d:`M15.5 18C15.5 19.933 13.933 21.5 12 21.5C10.067 21.5 8.5 19.933 8.5 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M19.2311 18H4.76887C3.79195 18 3 17.208 3 16.2311C3 15.762 3.18636 15.3121 3.51809 14.9803L4.12132 14.3771C4.68393 13.8145 5 13.0514 5 12.2558V9.5C5 5.63401 8.13401 2.5 12 2.5C15.866 2.5 19 5.634 19 9.5V12.2558C19 13.0514 19.3161 13.8145 19.8787 14.3771L20.4819 14.9803C20.8136 15.3121 21 15.762 21 16.2311C21 17.208 20.208 18 19.2311 18Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Re=[[`path`,{d:`M12 4V20M20 12H4`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],ze=[[`path`,{d:`M20.4879 15C19.2524 18.4956 15.9187 21 12 21C7.02943 21 3 16.9706 3 12C3 7.02943 7.02943 3 12 3C15.7292 3 18.9286 5.26806 20.2941 8.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M15 9H18C19.4142 9 20.1213 9 20.5607 8.56066C21 8.12132 21 7.41421 21 6V3`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Be=[[`path`,{d:`M20.0092 2V5.13219C20.0092 5.42605 19.6418 5.55908 19.4537 5.33333C17.6226 3.2875 14.9617 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ve=[[`path`,{d:`M16 17L16.2099 17.2099C16.5786 17.5786 16.763 17.763 16.9862 17.7506C17.2094 17.7383 17.3722 17.5346 17.6979 17.1274L18.9996 15.5M13 15.4543V15.8403C13 17.0422 13 17.6431 13.1484 18.1931C13.3316 18.8723 13.6791 19.4986 14.1616 20.0197C14.5522 20.4416 15.0678 20.7701 16.0988 21.4271C16.5604 21.7212 16.7912 21.8683 17.0365 21.9367C17.3395 22.0211 17.6605 22.0211 17.9635 21.9367C18.2088 21.8683 18.4396 21.7212 18.9012 21.4271C19.9322 20.7701 20.4478 20.4416 20.8384 20.0197C21.3209 19.4986 21.6684 18.8723 21.8516 18.1931C22 17.6431 22 17.0422 22 15.8403V15.4543C22 14.7059 22 14.3317 21.8582 14.0157C21.7707 13.8208 21.6454 13.6443 21.4892 13.496C21.2359 13.2555 20.877 13.1241 20.159 12.8613L18.685 12.3218C18.099 12.1073 17.806 12 17.5 12C17.194 12 16.901 12.1073 16.315 12.3218L14.841 12.8613C14.123 13.1241 13.7641 13.2555 13.5108 13.496C13.3546 13.6443 13.2293 13.8208 13.1418 14.0157C13 14.3317 13 14.7059 13 15.4543Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M16.1712 7.9091V9.5M16.1712 7.9091C16.1712 7.15599 16.8045 6.54546 17.5856 6.54546C18.3668 6.54546 19 7.15599 19 7.9091V9.5M16.1712 7.9091V5.18183C16.1712 4.42871 15.538 3.81819 14.7568 3.81819C13.9757 3.81819 13.3424 4.42871 13.3424 5.18183M13.3424 5.18183V9.5M13.3424 5.18183V3.36364C13.3424 2.61052 12.7092 2 11.928 2C11.1469 2 10.5136 2.61052 10.5136 3.36364V6.09092M10.5136 6.09092C10.5136 5.3378 9.8804 4.72728 9.09925 4.72728C8.3181 4.72728 7.68485 5.3378 7.68485 6.09092V12.638C7.68485 13.054 7.15233 13.2514 6.8624 12.9429L4.57112 10.5043C4.18153 10.0442 3.52308 9.88846 2.95688 10.1224C1.94855 10.539 1.71198 12.0103 2.36735 12.8584C3.48877 14.3098 4.63778 16.2915 5.56538 18.0388C6.82424 20.4102 9.30884 22 12.0719 22M10.5136 6.09092V9.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],He=[[`path`,{d:`M17 17L21 21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Ue=[[`path`,{d:`M21.3175 7.14139L20.8239 6.28479C20.4506 5.63696 20.264 5.31305 19.9464 5.18388C19.6288 5.05472 19.2696 5.15664 18.5513 5.36048L17.3311 5.70418C16.8725 5.80994 16.3913 5.74994 15.9726 5.53479L15.6357 5.34042C15.2766 5.11043 15.0004 4.77133 14.8475 4.37274L14.5136 3.37536C14.294 2.71534 14.1842 2.38533 13.9228 2.19657C13.6615 2.00781 13.3143 2.00781 12.6199 2.00781H11.5051C10.8108 2.00781 10.4636 2.00781 10.2022 2.19657C9.94085 2.38533 9.83106 2.71534 9.61149 3.37536L9.27753 4.37274C9.12465 4.77133 8.84845 5.11043 8.48937 5.34042L8.15249 5.53479C7.73374 5.74994 7.25259 5.80994 6.79398 5.70418L5.57375 5.36048C4.85541 5.15664 4.49625 5.05472 4.17867 5.18388C3.86109 5.31305 3.67445 5.63696 3.30115 6.28479L2.80757 7.14139C2.45766 7.74864 2.2827 8.05227 2.31666 8.37549C2.35061 8.69871 2.58483 8.95918 3.05326 9.48012L4.0843 10.6328C4.3363 10.9518 4.51521 11.5078 4.51521 12.0077C4.51521 12.5078 4.33636 13.0636 4.08433 13.3827L3.05326 14.5354C2.58483 15.0564 2.35062 15.3168 2.31666 15.6401C2.2827 15.9633 2.45766 16.2669 2.80757 16.8741L3.30114 17.7307C3.67443 18.3785 3.86109 18.7025 4.17867 18.8316C4.49625 18.9608 4.85542 18.8589 5.57377 18.655L6.79394 18.3113C7.25263 18.2055 7.73387 18.2656 8.15267 18.4808L8.4895 18.6752C8.84851 18.9052 9.12464 19.2442 9.2775 19.6428L9.61149 20.6403C9.83106 21.3003 9.94085 21.6303 10.2022 21.8191C10.4636 22.0078 10.8108 22.0078 11.5051 22.0078H12.6199C13.3143 22.0078 13.6615 22.0078 13.9228 21.8191C14.1842 21.6303 14.294 21.3003 14.5136 20.6403L14.8476 19.6428C15.0004 19.2442 15.2765 18.9052 15.6356 18.6752L15.9724 18.4808C16.3912 18.2656 16.8724 18.2055 17.3311 18.3113L18.5513 18.655C19.2696 18.8589 19.6288 18.9608 19.9464 18.8316C20.264 18.7025 20.4506 18.3785 20.8239 17.7307L21.3175 16.8741C21.6674 16.2669 21.8423 15.9633 21.8084 15.6401C21.7744 15.3168 21.5402 15.0564 21.0718 14.5354L20.0407 13.3827C19.7887 13.0636 19.6098 12.5078 19.6098 12.0077C19.6098 11.5078 19.7888 10.9518 20.0407 10.6328L21.0718 9.48012C21.5402 8.95918 21.7744 8.69871 21.8084 8.37549C21.8423 8.05227 21.6674 7.74864 21.3175 7.14139Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M15.5195 12C15.5195 13.933 13.9525 15.5 12.0195 15.5C10.0865 15.5 8.51953 13.933 8.51953 12C8.51953 10.067 10.0865 8.5 12.0195 8.5C13.9525 8.5 15.5195 10.067 15.5195 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`1`}]],We=[[`path`,{d:`M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ge=[[`path`,{d:`M2 12C2 8.25027 2 6.3754 2.95491 5.06107C3.26331 4.6366 3.6366 4.26331 4.06107 3.95491C5.3754 3 7.25027 3 11 3H13C16.7497 3 18.6246 3 19.9389 3.95491C20.3634 4.26331 20.7367 4.6366 21.0451 5.06107C22 6.3754 22 8.25027 22 12C22 15.7497 22 17.6246 21.0451 18.9389C20.7367 19.3634 20.3634 19.7367 19.9389 20.0451C18.6246 21 16.7497 21 13 21H11C7.25027 21 5.3754 21 4.06107 20.0451C3.6366 19.7367 3.26331 19.3634 2.95491 18.9389C2 17.6246 2 15.7497 2 12Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9.5 3.5L9.5 20.5`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M5 7C5 7 5.91421 7 6.5 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M5 11H6.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M17 10L15.7735 11.0572C15.2578 11.5016 15 11.7239 15 12C15 12.2761 15.2578 12.4984 15.7735 12.9428L17 14`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`4`}]],Ke=[[`path`,{d:`M17 8L18.8398 9.85008C19.6133 10.6279 20 11.0168 20 11.5C20 11.9832 19.6133 12.3721 18.8398 13.1499L17 15`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M7 8L5.16019 9.85008C4.38673 10.6279 4 11.0168 4 11.5C4 11.9832 4.38673 12.3721 5.16019 13.1499L7 15`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M14.5 4L9.5 20`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],qe=[[`path`,{d:`M16.9991 12C16.9991 14.7614 14.7605 17 11.9991 17C9.23766 17 6.99908 14.7614 6.99908 12C6.99908 9.23858 9.23766 7 11.9991 7C14.7605 7 16.9991 9.23858 16.9991 12Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12.1247 3.25H11.9997M12.1242 20.75H11.9992M20.75 12.125V12M3.25 12.125V12M18.2752 5.90098L18.1868 5.81259M5.90051 18.275L5.81212 18.1866M18.0987 18.2756L18.187 18.1872M5.72429 5.9012L5.81267 5.81282M12.2497 3.25C12.2497 3.38807 12.1378 3.5 11.9997 3.5C11.8616 3.5 11.7497 3.38807 11.7497 3.25C11.7497 3.11193 11.8616 3 11.9997 3C12.1378 3 12.2497 3.11193 12.2497 3.25ZM12.2492 20.75C12.2492 20.8881 12.1373 21 11.9992 21C11.8611 21 11.7492 20.8881 11.7492 20.75C11.7492 20.6119 11.8611 20.5 11.9992 20.5C12.1373 20.5 12.2492 20.6119 12.2492 20.75ZM20.75 12.25C20.6119 12.25 20.5 12.1381 20.5 12C20.5 11.8619 20.6119 11.75 20.75 11.75C20.8881 11.75 21 11.8619 21 12C21 12.1381 20.8881 12.25 20.75 12.25ZM3.25 12.25C3.11193 12.25 3 12.1381 3 12C3 11.8619 3.11193 11.75 3.25 11.75C3.38807 11.75 3.5 11.8619 3.5 12C3.5 12.1381 3.38807 12.25 3.25 12.25ZM18.3636 5.98937C18.266 6.087 18.1077 6.087 18.01 5.98937C17.9124 5.89174 17.9124 5.73345 18.01 5.63582C18.1077 5.53819 18.266 5.53819 18.3636 5.63582C18.4612 5.73345 18.4612 5.89174 18.3636 5.98937ZM5.9889 18.3634C5.89127 18.461 5.73297 18.461 5.63534 18.3634C5.53771 18.2658 5.53771 18.1075 5.63534 18.0099C5.73297 17.9122 5.89127 17.9122 5.9889 18.0099C6.08653 18.1075 6.08653 18.2658 5.9889 18.3634ZM18.0103 18.364C17.9126 18.2663 17.9126 18.108 18.0103 18.0104C18.1079 17.9128 18.2662 17.9128 18.3638 18.0104C18.4614 18.108 18.4614 18.2663 18.3638 18.364C18.2662 18.4616 18.1079 18.4616 18.0103 18.364ZM5.6359 5.98959C5.53827 5.89196 5.53827 5.73367 5.6359 5.63604C5.73353 5.53841 5.89182 5.53841 5.98945 5.63604C6.08708 5.73367 6.08708 5.89196 5.98945 5.98959C5.89182 6.08722 5.73353 6.08722 5.6359 5.98959Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Je=[[`path`,{d:`M5 14L8.5 17.5L19 6.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ye=[[`path`,{d:`M2 12C2 8.22876 2 6.34315 3.17157 5.17157C4.34315 4 6.22876 4 10 4H14C17.7712 4 19.6569 4 20.8284 5.17157C22 6.34315 22 8.22876 22 12C22 15.7712 22 17.6569 20.8284 18.8284C19.6569 20 17.7712 20 14 20H10C6.22876 20 4.34315 20 3.17157 18.8284C2 17.6569 2 15.7712 2 12Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9 12.5C7.61929 12.5 6.5 11.3807 6.5 10C6.5 8.61929 7.61929 7.5 9 7.5C10.3807 7.5 11.5 8.61929 11.5 10C11.5 11.3807 10.3807 12.5 9 12.5ZM9 12.5C11.2091 12.5 13 14.2909 13 16.5M9 12.5C6.79086 12.5 5 14.2909 5 16.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M15 9H19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M15 12H19`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],Xe=[[`path`,{d:`M13 11C13 8.79086 11.2091 7 9 7C6.79086 7 5 8.79086 5 11C5 13.2091 6.79086 15 9 15C11.2091 15 13 13.2091 13 11Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M11.0386 7.55773C11.0131 7.37547 11 7.18927 11 7C11 4.79086 12.7909 3 15 3C17.2091 3 19 4.79086 19 7C19 9.20914 17.2091 11 15 11C14.2554 11 13.5584 10.7966 12.9614 10.4423`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M15 21C15 17.6863 12.3137 15 9 15C5.68629 15 3 17.6863 3 21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M21 17C21 13.6863 18.3137 11 15 11`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],Ze=[[`path`,{d:`M17 8.5C17 5.73858 14.7614 3.5 12 3.5C9.23858 3.5 7 5.73858 7 8.5C7 11.2614 9.23858 13.5 12 13.5C14.7614 13.5 17 11.2614 17 8.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M19 20.5C19 16.634 15.866 13.5 12 13.5C8.13401 13.5 5 16.634 5 20.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Qe=[[`path`,{d:`M17.7001 21.3351C16.5281 21.4998 14.9996 21.4998 12.9501 21.4998H11.0501C7.01955 21.4998 5.0043 21.4998 3.75218 20.2476C2.50006 18.9955 2.50006 16.9803 2.50006 12.9498V11.0498C2.50006 7.01925 2.50006 5.00399 3.75218 3.75187C5.0043 2.49976 7.01955 2.49976 11.0501 2.49976H12.9501C16.9806 2.49976 18.9958 2.49976 20.2479 3.75187C21.5001 5.00399 21.5001 7.01925 21.5001 11.0498V12.9498C21.5001 14.158 21.5001 15.1851 21.4663 16.0648C21.4393 16.7699 21.4258 17.1224 21.1588 17.2541C20.8918 17.3859 20.5932 17.1746 19.9958 16.752L18.6501 15.7998`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M14.9453 12.3948C14.7686 13.0215 13.9333 13.4644 12.2629 14.3502C10.648 15.2064 9.8406 15.6346 9.18992 15.4625C8.9209 15.3913 8.6758 15.2562 8.47812 15.07C8 14.6198 8 13.7465 8 12C8 10.2535 8 9.38018 8.47812 8.92995C8.6758 8.74381 8.9209 8.60868 9.18992 8.53753C9.8406 8.36544 10.648 8.79357 12.2629 9.64983C13.9333 10.5356 14.7686 10.9785 14.9453 11.6052C15.0182 11.8639 15.0182 12.1361 14.9453 12.3948Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],$e=[[`path`,{d:`M21.544 11.045C21.848 11.4713 22 11.6845 22 12C22 12.3155 21.848 12.5287 21.544 12.955C20.1779 14.8706 16.6892 19 12 19C7.31078 19 3.8221 14.8706 2.45604 12.955C2.15201 12.5287 2 12.3155 2 12C2 11.6845 2.15201 11.4713 2.45604 11.045C3.8221 9.12944 7.31078 5 12 5C16.6892 5 20.1779 9.12944 21.544 11.045Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`1`}]],et=[[`path`,{d:`M14 3H5C3.89543 3 3 3.89543 3 5C3 6.10457 3.89543 7 5 7H18C18 6.07003 18 5.60504 17.8978 5.22354C17.6204 4.18827 16.8117 3.37962 15.7765 3.10222C15.395 3 14.93 3 14 3Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M3 5V15C3 17.8284 3 19.2426 3.87868 20.1213C4.75736 21 6.17157 21 9 21H15C17.8284 21 19.2426 21 20.1213 20.1213C21 19.2426 21 17.8284 21 15V13C21 10.1716 21 8.75736 20.1213 7.87868C19.2426 7 17.8284 7 15 7H7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M21 12H19C18.535 12 18.3025 12 18.1118 12.0511C17.5941 12.1898 17.1898 12.5941 17.0511 13.1118C17 13.3025 17 13.535 17 14C17 14.465 17 14.6975 17.0511 14.8882C17.1898 15.4059 17.5941 15.8102 18.1118 15.9489C18.3025 16 18.535 16 19 16H21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],tt=[[`path`,{d:`M20 13V10.6569C20 9.83935 20 9.4306 19.8478 9.06306C19.6955 8.69552 19.4065 8.40649 18.8284 7.82843L14.0919 3.09188C13.593 2.593 13.3436 2.34355 13.0345 2.19575C12.9702 2.165 12.9044 2.13772 12.8372 2.11401C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88607C5.26731 3.06508 5.06508 3.26731 4.88607 3.48933C4 4.58831 4 6.21082 4 9.45584V13M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M10.5 16V20C10.5 20.9428 10.5 21.4142 10.7929 21.7071C11.0858 22 11.5572 22 12.5 22H14`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M4 16L6 19M6 19L8 22M6 19L8 16M6 19L4 22`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M20.0002 16H17.5C16.9477 16 16.5 16.4477 16.5 17V18C16.5 18.5523 16.9477 19 17.5 19H19.0002C19.5525 19 20.0002 19.4477 20.0002 20V21C20.0002 21.5523 19.5525 22 19.0002 22H16.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]];function nt({className:e,classNames:t,showOutsideDays:n=!0,...r}){let i=(0,h.getDefaultClassNames)();return(0,m.jsx)(h.DayPicker,{showOutsideDays:n,className:E(`p-2`,e),classNames:{root:E(`w-fit`,i.root),months:`relative flex flex-col gap-2`,month:`flex w-full flex-col gap-2`,nav:`absolute inset-x-0 top-0 flex items-center justify-between`,button_previous:E(O({variant:`ghost`,size:`icon-xs`}),`cursor-pointer text-muted-foreground`),button_next:E(O({variant:`ghost`,size:`icon-xs`}),`cursor-pointer text-muted-foreground`),month_caption:`flex h-6 items-center justify-center`,caption_label:`text-[0.8rem] font-medium`,month_grid:`w-full border-collapse`,weekdays:`flex`,weekday:`flex-1 text-[0.7rem] font-normal text-muted-foreground`,week:`mt-0.5 flex w-full`,day:`relative flex-1 p-0 text-center text-xs`,day_button:E(O({variant:`ghost`,size:`icon-xs`}),`mx-auto size-7 cursor-pointer rounded-md text-xs font-normal`),selected:`[&>button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground`,range_start:`rounded-l-md bg-primary/10`,range_end:`rounded-r-md bg-primary/10`,range_middle:`bg-primary/10 [&>button]:!bg-transparent [&>button]:!text-foreground [&>button]:rounded-none [&>button]:hover:!bg-primary/15`,today:`[&>button]:font-semibold [&>button]:text-primary`,outside:`text-muted-foreground/40`,disabled:`text-muted-foreground opacity-50`,hidden:`invisible`,...t},components:{Chevron:({orientation:e})=>(0,m.jsx)(g.HugeiconsIcon,{icon:e===`left`?ae:I,size:16,strokeWidth:2})},...r})}function rt({className:e,...t}){return(0,m.jsx)(_.Root,{"data-slot":`checkbox`,className:E(`peer size-4 shrink-0 rounded-[5px] border border-slate-300 bg-background shadow-xs outline-none transition-colors`,`focus-visible:ring-2 focus-visible:ring-primary/30`,`data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`,e),...t,children:(0,m.jsx)(_.Indicator,{className:`flex items-center justify-center text-current`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Je,size:12,strokeWidth:2.5})})})}function it(e){return(0,m.jsx)(v.Root,{"data-slot":`dialog`,...e})}function at(e){return(0,m.jsx)(v.Trigger,{"data-slot":`dialog-trigger`,...e})}function ot(e){return(0,m.jsx)(v.Close,{"data-slot":`dialog-close`,...e})}function st({className:e,...t}){return(0,m.jsx)(v.Overlay,{"data-slot":`dialog-overlay`,className:E(`fixed inset-0 z-50 bg-black/40 backdrop-blur-[1px]`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t})}function ct({className:e,children:t,showClose:n=!0,...r}){return(0,m.jsx)(v.Portal,{children:(0,m.jsxs)(`div`,{className:D,children:[(0,m.jsx)(st,{}),(0,m.jsxs)(v.Content,{"data-slot":`dialog-content`,className:E(`fixed top-1/2 left-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2`,`rounded-2xl border border-cb-line bg-background p-6 shadow-xl`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`,e),...r,children:[t,n&&(0,m.jsxs)(v.Close,{className:`absolute top-5 right-5 cursor-pointer rounded-md p-1 text-cb-muted opacity-80 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:outline-none`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:de,size:18,strokeWidth:2}),(0,m.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})})}function lt({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`dialog-header`,className:E(`flex flex-col gap-1`,e),...t})}function ut({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`dialog-footer`,className:E(`mt-6 flex items-center gap-2`,e),...t})}function dt({className:e,...t}){return(0,m.jsx)(v.Title,{"data-slot":`dialog-title`,className:E(`text-xl font-semibold text-foreground`,e),...t})}function ft({className:e,...t}){return(0,m.jsx)(v.Description,{"data-slot":`dialog-description`,className:E(`text-sm text-muted-foreground`,e),...t})}function pt({open:e,onOpenChange:t,title:n,description:r,confirmLabel:i=`Confirm`,cancelLabel:a=`Cancel`,destructive:o=!1,onConfirm:s}){return(0,m.jsx)(it,{open:e,onOpenChange:t,children:(0,m.jsxs)(ct,{className:`max-w-sm`,children:[(0,m.jsxs)(lt,{children:[(0,m.jsx)(dt,{children:n}),r&&(0,m.jsx)(ft,{children:r})]}),(0,m.jsx)(ee,{bleed:`dialog`,actions:[{key:`cancel`,label:a,variant:`outline`,onClick:()=>t(!1)},{key:`confirm`,label:i,variant:o?`destructive`:`default`,onClick:()=>{s(),t(!1)}}]})]})})}function mt(e){return(0,m.jsx)(y.Root,{"data-slot":`dropdown-menu`,...e})}function ht(e){return(0,m.jsx)(y.Trigger,{"data-slot":`dropdown-menu-trigger`,...e})}function gt(e){return(0,m.jsx)(y.Group,{"data-slot":`dropdown-menu-group`,...e})}function _t({className:e,sideOffset:t=6,...n}){return(0,m.jsx)(y.Portal,{children:(0,m.jsx)(`div`,{className:D,children:(0,m.jsx)(y.Content,{"data-slot":`dropdown-menu-content`,sideOffset:t,className:E(`z-50 min-w-[13rem] overflow-hidden rounded-xl border border-cb-line bg-popover p-1 text-popover-foreground shadow-lg`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`,`data-[side=top]:slide-in-from-bottom-2 data-[side=bottom]:slide-in-from-top-2`,e),...n})})})}function vt({className:e,inset:t,...n}){return(0,m.jsx)(y.Item,{"data-slot":`dropdown-menu-item`,"data-inset":t,className:E(`relative flex cursor-pointer select-none items-center gap-2 rounded-lg px-2 py-1.5 text-[13px] text-cb-text outline-none transition-colors`,`focus:bg-cb-seg focus:text-cb-ink2 data-[inset]:pl-8`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,e),...n})}function yt({className:e,children:t,checked:n,...r}){return(0,m.jsxs)(y.CheckboxItem,{"data-slot":`dropdown-menu-checkbox-item`,checked:n,className:E(`relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pr-2 pl-8 text-[13px] text-cb-text outline-none transition-colors`,`focus:bg-cb-seg focus:text-cb-ink2 data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,e),...r,children:[(0,m.jsx)(`span`,{className:`pointer-events-none absolute left-2.5 flex size-4 items-center justify-center`,children:(0,m.jsx)(y.ItemIndicator,{children:(0,m.jsx)(g.HugeiconsIcon,{icon:Je,size:16,strokeWidth:2.2,className:`text-primary`})})}),t]})}function bt({className:e,...t}){return(0,m.jsx)(y.Separator,{"data-slot":`dropdown-menu-separator`,className:E(`-mx-1 my-1 h-px bg-cb-line`,e),...t})}function xt({className:e,...t}){return(0,m.jsx)(y.Label,{"data-slot":`dropdown-menu-label`,className:E(`px-2.5 py-1.5 text-xs font-medium text-cb-muted`,e),...t})}function St(e){return(0,m.jsx)(y.Sub,{"data-slot":`dropdown-menu-sub`,...e})}function Ct({className:e,children:t,...n}){return(0,m.jsxs)(y.SubTrigger,{"data-slot":`dropdown-menu-sub-trigger`,className:E(`relative flex cursor-pointer select-none items-center gap-2 rounded-lg px-2 py-1.5 text-[13px] text-cb-text outline-none transition-colors`,`focus:bg-cb-seg focus:text-cb-ink2 data-[state=open]:bg-cb-seg data-[state=open]:text-cb-ink2`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,e),...n,children:[t,(0,m.jsx)(g.HugeiconsIcon,{icon:I,size:16,strokeWidth:2,className:`ml-auto text-cb-muted`})]})}function wt({className:e,...t}){return(0,m.jsx)(y.Portal,{children:(0,m.jsx)(`div`,{className:D,children:(0,m.jsx)(y.SubContent,{"data-slot":`dropdown-menu-sub-content`,className:E(`z-50 min-w-[10rem] overflow-hidden rounded-xl border border-cb-line bg-popover p-1 text-popover-foreground shadow-lg`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`,e),...t})})})}function Tt(e){return(0,m.jsx)(y.RadioGroup,{"data-slot":`dropdown-menu-radio-group`,...e})}function R({className:e,children:t,...n}){return(0,m.jsxs)(y.RadioItem,{"data-slot":`dropdown-menu-radio-item`,className:E(`relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pr-2 pl-8 text-[13px] text-cb-text outline-none transition-colors`,`focus:bg-cb-seg focus:text-cb-ink2 data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,e),...n,children:[(0,m.jsx)(`span`,{className:`pointer-events-none absolute left-2.5 flex size-4 items-center justify-center`,children:(0,m.jsx)(y.ItemIndicator,{children:(0,m.jsx)(g.HugeiconsIcon,{icon:Je,size:16,strokeWidth:2.2,className:`text-primary`})})}),t]})}function Et({className:e,type:t,...n}){return(0,m.jsx)(`input`,{type:t,"data-slot":`input`,className:E(`h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,e),...n})}function z({className:e,...t}){return(0,m.jsx)(b.Root,{"data-slot":`label`,className:E(`flex items-center gap-2 text-sm text-foreground select-none`,`peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,e),...t})}function Dt({className:e,...t}){return(0,m.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:E(`flex w-fit items-center`,e),...t})}function Ot({className:e,...t}){return(0,m.jsx)(`ul`,{"data-slot":`pagination-content`,className:E(`flex items-center gap-1`,e),...t})}function kt(e){return(0,m.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function At({className:e,isActive:t,size:n=`icon`,...r}){return(0,m.jsx)(`button`,{type:`button`,"aria-current":t?`page`:void 0,"data-slot":`pagination-link`,"data-active":t,className:E(O({variant:t?`outline`:`ghost`,size:n}),`cursor-pointer`,e),...r})}function jt({className:e,...t}){return(0,m.jsxs)(At,{"aria-label":`Go to previous page`,size:`default`,className:E(`gap-1 px-2.5`,e),...t,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ae,size:16,strokeWidth:2}),(0,m.jsx)(`span`,{children:`Previous`})]})}function Mt({className:e,...t}){return(0,m.jsxs)(At,{"aria-label":`Go to next page`,size:`default`,className:E(`gap-1 px-2.5`,e),...t,children:[(0,m.jsx)(`span`,{children:`Next`}),(0,m.jsx)(g.HugeiconsIcon,{icon:I,size:16,strokeWidth:2})]})}function Nt({className:e,...t}){return(0,m.jsx)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:E(`flex size-8 items-center justify-center text-muted-foreground`,e),...t,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Fe,size:16,strokeWidth:2})})}function Pt(e){return(0,m.jsx)(x.Root,{"data-slot":`popover`,...e})}function Ft(e){return(0,m.jsx)(x.Trigger,{"data-slot":`popover-trigger`,...e})}function It(e){return(0,m.jsx)(x.Anchor,{"data-slot":`popover-anchor`,...e})}function Lt({className:e,align:t=`center`,sideOffset:n=8,...r}){return(0,m.jsx)(x.Portal,{children:(0,m.jsx)(`div`,{className:D,children:(0,m.jsx)(x.Content,{"data-slot":`popover-content`,align:t,sideOffset:n,className:E(`z-50 overflow-hidden rounded-xl border border-cb-line bg-popover text-popover-foreground shadow-lg outline-none`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`,`data-[side=top]:slide-in-from-bottom-2 data-[side=bottom]:slide-in-from-top-2`,e),...r})})})}function Rt({className:e,...t}){return(0,m.jsx)(S.Root,{"data-slot":`radio-group`,className:E(`grid gap-2`,e),...t})}function zt({className:e,...t}){return(0,m.jsx)(S.Item,{"data-slot":`radio-group-item`,className:E(`aspect-square size-4 shrink-0 rounded-full border border-slate-300 bg-background shadow-xs outline-none transition-colors`,`focus-visible:ring-2 focus-visible:ring-primary/30 data-[state=checked]:border-primary`,`disabled:cursor-not-allowed disabled:opacity-50`,e),...t,children:(0,m.jsx)(S.Indicator,{className:`flex items-center justify-center`,children:(0,m.jsx)(`span`,{className:`size-2 rounded-full bg-primary`})})})}var Bt=28;function Vt({children:e,className:t,viewportClassName:n,...r}){let i=(0,d.useRef)(null),[a,o]=(0,d.useState)({height:0,top:0,visible:!1}),s=(0,d.useCallback)(()=>{let e=i.current;if(!e)return;let{scrollHeight:t,clientHeight:n,scrollTop:r}=e;if(t<=n+1){o(e=>e.visible?{...e,visible:!1}:e);return}let a=Math.max(n/t*n,Bt),s=r/(t-n)*(n-a);o({height:a,top:s,visible:!0})},[]);(0,d.useLayoutEffect)(()=>{s()},[s,e]),(0,d.useEffect)(()=>{let e=i.current;if(!e||typeof ResizeObserver>`u`)return;let t=new ResizeObserver(s);return t.observe(e),()=>t.disconnect()},[s]);let c=(0,d.useRef)(null),l=e=>{let t=i.current;t&&(e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),c.current={startY:e.clientY,startScroll:t.scrollTop})},u=e=>{let t=i.current,n=c.current;if(!t||!n)return;let r=t.clientHeight-a.height;if(r<=0)return;let o=t.scrollHeight-t.clientHeight;t.scrollTop=n.startScroll+(e.clientY-n.startY)/r*o},f=e=>{c.current=null,e.currentTarget.releasePointerCapture?.(e.pointerId)};return(0,m.jsxs)(`div`,{className:E(`relative`,t),...r,children:[(0,m.jsx)(`div`,{ref:i,onScroll:s,className:E(`h-full overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`,n),children:e}),a.visible&&(0,m.jsx)(`div`,{className:`pointer-events-none absolute inset-y-0 right-[3px] w-1`,children:(0,m.jsx)(`div`,{onPointerDown:l,onPointerMove:u,onPointerUp:f,style:{height:a.height,transform:`translateY(${a.top}px)`},className:`pointer-events-auto w-full cursor-grab rounded-full bg-cb-muted/40 transition-colors hover:bg-cb-muted/70 active:cursor-grabbing`})})]})}function Ht({className:e,orientation:t=`horizontal`,decorative:n=!0,...r}){return(0,m.jsx)(p.Separator.Root,{"data-slot":`separator`,decorative:n,orientation:t,className:E(`shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch`,e),...r})}function Ut(e){return(0,m.jsx)(v.Root,{"data-slot":`side-panel`,...e})}function Wt(e){return(0,m.jsx)(v.Trigger,{"data-slot":`side-panel-trigger`,...e})}function Gt(e){return(0,m.jsx)(v.Close,{"data-slot":`side-panel-close`,...e})}function Kt({className:e,...t}){return(0,m.jsx)(v.Overlay,{"data-slot":`side-panel-overlay`,className:E(`fixed inset-0 z-50 bg-black/30 backdrop-blur-[1px]`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t})}function qt({className:e,children:t,side:n=`right`,showClose:r=!0,...i}){return(0,m.jsx)(v.Portal,{children:(0,m.jsxs)(`div`,{className:D,children:[(0,m.jsx)(Kt,{}),(0,m.jsxs)(v.Content,{"data-slot":`side-panel-content`,className:E(`fixed z-50 flex h-full w-full max-w-md flex-col overflow-hidden bg-background shadow-xl transition ease-in-out`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-200 data-[state=open]:duration-300`,n===`right`&&`inset-y-0 right-0 rounded-l-2xl border-l border-cb-line data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right`,n===`left`&&`inset-y-0 left-0 rounded-r-2xl border-r border-cb-line data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left`,e),...i,children:[t,r&&(0,m.jsxs)(v.Close,{className:`absolute top-5 right-5 cursor-pointer rounded-md p-1 text-cb-muted opacity-80 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:outline-none`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:de,size:18,strokeWidth:2}),(0,m.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})})}function Jt({className:e,children:t,...n}){return(0,m.jsxs)(`div`,{"data-slot":`side-panel-header`,className:E(`relative shrink-0 px-6 py-5`,e),...n,children:[t,(0,m.jsx)(`div`,{"aria-hidden":!0,className:`pointer-events-none absolute inset-x-0 top-full z-10 h-6 bg-gradient-to-b from-background to-transparent`})]})}function Yt({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`side-panel-body`,className:E(`min-h-0 flex-1 overflow-y-auto px-6 py-5`,e),...t})}function Xt({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`side-panel-footer`,className:E(`shrink-0 border-t border-cb-line px-6 py-4`,e),...t})}function Zt({className:e,...t}){return(0,m.jsx)(v.Title,{"data-slot":`side-panel-title`,className:E(`text-lg font-semibold text-foreground`,e),...t})}function Qt({className:e,...t}){return(0,m.jsx)(v.Description,{"data-slot":`side-panel-description`,className:E(`mt-0.5 text-sm text-muted-foreground`,e),...t})}function B({className:e,...t}){return(0,m.jsx)(Ht,{className:E(`my-5 bg-cb-line`,e),...t})}function $t({className:e,...t}){return(0,m.jsx)(`h3`,{"data-slot":`side-panel-section-title`,className:E(`mb-2.5 text-base font-semibold text-foreground`,e),...t})}function V({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`skeleton`,className:E(`animate-pulse rounded-md bg-slate-200/70 dark:bg-slate-700/40`,e),...t})}function en({className:e,containerClassName:t,...n}){return(0,m.jsx)(`div`,{"data-slot":`table-container`,className:E(`relative w-full overflow-x-auto`,t),children:(0,m.jsx)(`table`,{"data-slot":`table`,className:E(`w-full caption-bottom text-sm`,e),...n})})}function tn({className:e,...t}){return(0,m.jsx)(`thead`,{"data-slot":`table-header`,className:E(`[&_tr]:border-b`,e),...t})}function nn({className:e,...t}){return(0,m.jsx)(`tbody`,{"data-slot":`table-body`,className:E(`[&_tr:last-child]:border-0`,e),...t})}function rn({className:e,...t}){return(0,m.jsx)(`tfoot`,{"data-slot":`table-footer`,className:E(`border-t bg-muted/50 font-medium [&>tr]:last:border-b-0`,e),...t})}function an({className:e,...t}){return(0,m.jsx)(`tr`,{"data-slot":`table-row`,className:E(`border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted`,e),...t})}function on({className:e,...t}){return(0,m.jsx)(`th`,{"data-slot":`table-head`,className:E(`h-10 px-2 text-left align-middle text-xs font-medium whitespace-nowrap text-muted-foreground [&:has([role=checkbox])]:pr-0`,e),...t})}function H({className:e,...t}){return(0,m.jsx)(`td`,{"data-slot":`table-cell`,className:E(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0`,e),...t})}function sn({className:e,...t}){return(0,m.jsx)(`caption`,{"data-slot":`table-caption`,className:E(`mt-4 text-sm text-muted-foreground`,e),...t})}function cn({className:e,orientation:t=`horizontal`,...n}){return(0,m.jsx)(p.Tabs.Root,{"data-slot":`tabs`,"data-orientation":t,className:E(`group/tabs flex gap-2 data-horizontal:flex-col`,e),...n})}var ln=(0,f.cva)(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function un({className:e,variant:t=`default`,...n}){return(0,m.jsx)(p.Tabs.List,{"data-slot":`tabs-list`,"data-variant":t,className:E(ln({variant:t}),e),...n})}function dn({className:e,...t}){return(0,m.jsx)(p.Tabs.Trigger,{"data-slot":`tabs-trigger`,className:E(`relative inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,e),...t})}function fn({className:e,...t}){return(0,m.jsx)(p.Tabs.Content,{"data-slot":`tabs-content`,className:E(`flex-1 text-sm outline-none`,e),...t})}function pn({delayDuration:e=200,...t}){return(0,m.jsx)(C.Provider,{"data-slot":`tooltip-provider`,delayDuration:e,...t})}function mn(e){return(0,m.jsx)(pn,{children:(0,m.jsx)(C.Root,{"data-slot":`tooltip`,...e})})}function hn(e){return(0,m.jsx)(C.Trigger,{"data-slot":`tooltip-trigger`,...e})}function gn({className:e,sideOffset:t=6,children:n,...r}){return(0,m.jsx)(C.Portal,{children:(0,m.jsx)(`div`,{className:D,children:(0,m.jsxs)(C.Content,{"data-slot":`tooltip-content`,sideOffset:t,className:E(`z-50 rounded-md bg-slate-900 px-2 py-1 text-xs font-medium text-white shadow-md dark:bg-slate-700`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95`,e),...r,children:[n,(0,m.jsx)(C.Arrow,{className:`fill-slate-900 dark:fill-slate-700`})]})})})}function _n(e){return e.trim().split(/\s+/).map(e=>e[0]).slice(0,2).join(``).toUpperCase()}function vn({src:e,name:t=``,size:n=32,className:r}){return(0,m.jsx)(`span`,{className:E(`inline-flex shrink-0 select-none items-center justify-center overflow-hidden rounded-full bg-cb-seg font-medium text-cb-text`,r),style:{width:n,height:n,fontSize:Math.round(n*.4)},role:`img`,"aria-label":t||void 0,children:e?(0,m.jsx)(`img`,{src:e,alt:t,className:`h-full w-full object-cover`}):(0,m.jsx)(`span`,{children:_n(t)})})}var yn={count:`ml-auto rounded-lg bg-cb-blue px-1.5 py-px text-[10px] font-bold text-white`,soon:`ml-auto rounded-md bg-cb-orange-soft px-1.5 py-[1.5px] text-[9.5px] font-bold tracking-[0.04em] text-cb-soon`,ext:`ml-auto text-xs text-cb-faint`};function bn({variant:e=`count`,value:t}){let n=e===`soon`?`SOON`:e===`ext`?`↗`:String(t??``);return(0,m.jsx)(`span`,{className:E(yn[e]),children:n})}function xn({text:e=`Label`}){return(0,m.jsx)(`span`,{className:`flex-1 truncate`,children:e})}var Sn={grid:xe,checkc:me,swap:oe,shield:We,wallet:et,down:P,up:se,convert:F,transfer:M,book:Ie,invoice:Ae,payout:Ne,bank:ce,chart:pe,code:Ke,widget:Se,org:le,users:Xe,list:je,card:ye,help:Oe,coins:he,safe:Ve,useraccount:Ye,global:Ee,settings:Ue},Cn=Sn,wn=Object.keys(Sn);function Tn({name:e=`grid`,active:t=!1,size:n=18}){return(0,m.jsx)(`span`,{className:E(`shrink-0`,t?`text-[var(--nav-link-active)]`:`opacity-[var(--nav-icon-opacity)]`),children:(0,m.jsx)(g.HugeiconsIcon,{icon:Cn[e],size:n,strokeWidth:2})})}var En=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA90AAACxCAYAAADZEN46AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAD+cSURBVHgB7d3fchTXtT/wtbpHZXFyfhXlJkGqVHm4cyK5LJ7AwxMAT8DoCZBvf8WfAZHcAk+AeALkJ2B4Ao/LkuM7JlUppPJNlDrmIHume529dvcIgf4wvft/9/eTmiBkCUmt/rPX3muvxQStsDbY74nQLQqpZ/7ajd89JOJvF3zZGQ2WxwQAAAAAAACZYoLGW71/8JhC2bzwg0RGxN5zBOAAAAAAAADZQdDdYOuD10uT6WcviXk90SciAAcAAAAAAMgEgu6GWh/sdycBvaT3qeRubADOTxd8GiIABwAAAAAASAZBdwOtD35enwTBC0obcJ82NK/nCMABAAAAAADmg6C7YbRgGgX8QkiWKF9DQgAOAAAAAABw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e3RcS1HtVwb2v5GhUIQbcDDcC9qWyyx9dNANulGtGWYKhQDgAAAAAAdZQy4Cb26druYHlIBULQndLq4Od1mU77dQjAEXADAAAAAEAdrQ9eL03k0n0KZZPcFb7KrRB0Z6jiAfiGOcG2CQAAAAAAoCY02P4tXLztCW8KyRKlEfhX9/5efBFpBN05qUoArj24xfNQoRwAAAAAACpPg+wpLa5LoHW05Lp5V4+ysW0WITeoBAi6C2D7xxH1yaOvCw3A45ZgqFAOAAAAAABFiHtn30/0SWJWsJmXmHgp9Wr2WUqOixB0F6ywANy2BOObCLgBAAAAAKAoX97d74fk2D87P6Vute0QFGr3ka2Up6/cAnAzkzL8xfv1JlqCAQAAAABAm8XFpLepRAi6S5RHAC4iT/ceraSp6AcAAAAAAFB7TLyz9/DygEqGoLsisgjA7SzO1sqAAAAAAAAA2oxl9It3VErhtI8h6K6gpAG4rVAu8k3ZaRMAAAAAAABlq9p2WwTdFfdxAB6S3PCYv9K/i0djCvn7X7x329i/DQAAAAAAbVfF7bYIumvkZAAOAAAAAAAAkePs30cr21QxHgEAAAAAAADUlBZMm3pytcy2YBfBSjcAAAAAAADUju7dJqEHu48uD6nCEHQDAAAAAABALWgaOYXy9JfO0ZO61LVC0A0AAAAAAACVFa9ovzJvDne3qr2qfRYE3QAAAAAAAFC4uPjZ8Wq1Ca7H2qFJAvmPzzwKfX/0lt6O696p6f8A9GA8MyP9tzwAAAAASUVORK5CYII=`;function Dn({src:e=En,alt:t=`Chainberry`,href:n,collapsed:r=!1}){let i=(0,m.jsx)(`img`,{src:e,alt:t,className:r?`h-[22px] w-[22px] object-cover object-left`:`h-6 w-auto`}),a=E(`flex items-center`,r&&`justify-center`);return n?(0,m.jsx)(`a`,{href:n,className:E(a,`cursor-pointer`),children:i}):(0,m.jsx)(`span`,{className:a,children:i})}var On=`mx-2.5 mt-2 mb-1 text-[11px] font-semibold uppercase tracking-[0.09em] text-[var(--nav-section)]`;function kn({label:e=`Section`,collapsible:t=!1,expanded:n=!0,onToggle:r,controls:i}){return t?(0,m.jsxs)(`button`,{type:`button`,onClick:r,"aria-expanded":n,"aria-controls":i,className:E(On,`group flex w-[calc(100%-1.25rem)] cursor-pointer items-center justify-between rounded outline-none transition-colors`,`hover:text-[var(--nav-link-hover)] focus-visible:ring-2 focus-visible:ring-ring/50`),children:[(0,m.jsx)(`span`,{children:e}),(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:13,strokeWidth:2.25,className:E(`shrink-0 opacity-70 transition-transform duration-200 group-hover:opacity-100`,n?``:`-rotate-90`)})]}):(0,m.jsx)(`h6`,{className:On,children:e})}function An({id:e,label:t,icon:n,active:r=!1,collapsed:i=!1,sub:a=!1,badge:o,soon:s=!1,ext:c,onNavigate:l}){let u=E(`group flex w-full cursor-pointer items-center rounded-lg transition-colors`,a?`text-[14px]`:`text-[14.5px]`,i?`justify-center gap-0 px-0 py-2`:`gap-2.5 px-2.5 py-[5px] text-left mb-px`,r?E(`bg-cb-seg text-[var(--nav-link-active)]`,a?`font-[450]`:`font-[550]`):`font-[450] text-[var(--nav-link)] hover:bg-cb-seg hover:text-[var(--nav-link-hover)]`),d=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Tn,{name:n,active:r,size:a&&!i?16:18}),!i&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(xn,{text:t}),s?(0,m.jsx)(bn,{variant:`soon`}):c?(0,m.jsx)(bn,{variant:`ext`}):o==null?null:(0,m.jsx)(bn,{variant:`count`,value:o})]})]}),f=c?(0,m.jsx)(`a`,{href:c,target:`_blank`,rel:`noopener`,"aria-label":t,title:i?void 0:t,className:u,children:d}):(0,m.jsx)(`button`,{type:`button`,"data-nav":e,"aria-label":t,title:i?void 0:t,className:u,onClick:()=>l?.(e),children:d});return i?(0,m.jsxs)(mn,{children:[(0,m.jsx)(hn,{asChild:!0,children:f}),(0,m.jsx)(gn,{side:`right`,children:t})]}):f}function jn({label:e,icon:t,expanded:n=!0,onToggle:r,controls:i}){return(0,m.jsxs)(`button`,{type:`button`,onClick:r,"aria-expanded":n,"aria-controls":i,title:e,className:E(`group mb-px flex w-full cursor-pointer items-center gap-2.5 rounded-lg px-2.5 py-[5px] text-left text-[14.5px] font-[450] transition-colors`,`text-[var(--nav-link)] hover:bg-cb-seg hover:text-[var(--nav-link-hover)]`),children:[(0,m.jsx)(Tn,{name:t}),(0,m.jsx)(xn,{text:e}),(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2,className:E(`shrink-0 opacity-60 transition-transform duration-200 group-hover:opacity-100`,n?``:`-rotate-90`)})]})}function Mn({label:e,icon:t,items:n,activeId:r,onNavigate:i}){let[a,o]=(0,d.useState)(!1),s=(0,d.useRef)(null),c=n.some(e=>e.id===r),l=()=>{s.current&&clearTimeout(s.current),o(!0)},u=()=>{s.current&&clearTimeout(s.current),s.current=setTimeout(()=>o(!1),120)};return(0,m.jsxs)(Pt,{open:a,onOpenChange:o,children:[(0,m.jsx)(It,{asChild:!0,children:(0,m.jsx)(`button`,{type:`button`,"aria-label":e,"aria-haspopup":`menu`,"aria-expanded":a,onMouseEnter:l,onMouseLeave:u,onClick:l,onFocus:l,onBlur:u,className:E(`group flex w-full cursor-pointer items-center justify-center rounded-lg py-2 transition-colors`,c?`bg-cb-seg text-[var(--nav-link-active)]`:`text-[var(--nav-link)] hover:bg-cb-seg hover:text-[var(--nav-link-hover)]`),children:(0,m.jsx)(Tn,{name:t,active:c})})}),(0,m.jsxs)(Lt,{side:`right`,align:`start`,sideOffset:10,onOpenAutoFocus:e=>e.preventDefault(),onMouseEnter:l,onMouseLeave:u,className:`w-56 p-1.5`,children:[(0,m.jsx)(`p`,{className:`mx-2 mt-1 mb-1.5 text-[11px] font-semibold uppercase tracking-[0.09em] text-[var(--nav-section)]`,children:e}),n.map(e=>(0,m.jsx)(An,{...e,active:e.id===r,onNavigate:e=>{i?.(e),o(!1)}},e.id))]})]})}function Nn({label:e,icon:t,items:n=[],divider:r=!1,activeId:i,collapsed:a=!1,open:o,onToggle:s,onNavigate:c}){let[l,u]=(0,d.useState)(!0),f=s!=null,p=f?!!o:l,h=f?s:()=>u(e=>!e),g=(0,d.useId)(),_=!a&&!!e,v=a&&!!e&&!!t,y=n.map(e=>(0,m.jsx)(An,{...e,active:e.id===i,collapsed:a,sub:_&&!!t,onNavigate:c},e.id));return(0,m.jsxs)(`div`,{className:E(r&&!a&&`mt-2 border-t border-cb-line pt-[11px]`,a&&`mb-1`),children:[v&&(0,m.jsx)(Mn,{label:e,icon:t,items:n,activeId:i,onNavigate:c}),_&&(t?(0,m.jsx)(jn,{label:e,icon:t,expanded:p,onToggle:h,controls:g}):(0,m.jsx)(kn,{label:e,collapsible:!0,expanded:p,onToggle:h,controls:g})),_?(0,m.jsx)(`div`,{id:g,className:E(`grid transition-[grid-template-rows] duration-200 ease-out`,p?`grid-rows-[1fr]`:`grid-rows-[0fr]`),children:(0,m.jsx)(`div`,{className:E(`overflow-hidden`,t&&`pl-[18px]`),children:y})}):v?null:y]})}var Pn={blue:`bg-blue-50 text-blue-600`,red:`bg-red-50 text-red-500`,green:`bg-green-50 text-green-600`};function Fn({icon:e,tone:t,title:n,detail:r,time:i,unread:a=!1}){return(0,m.jsxs)(`div`,{className:E(`flex gap-3 px-4 py-3 transition-colors`,a&&`bg-slate-50`),children:[(0,m.jsx)(`span`,{className:E(`flex size-9 shrink-0 items-center justify-center rounded-lg`,Pn[t]),children:(0,m.jsx)(g.HugeiconsIcon,{icon:e,size:18,strokeWidth:2})}),(0,m.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,m.jsxs)(`p`,{className:`text-[13.5px] leading-snug text-cb-text`,children:[(0,m.jsx)(`span`,{className:`font-semibold`,children:n}),` — `,r]}),(0,m.jsx)(`p`,{className:`mt-1 text-xs text-cb-muted`,children:i})]}),a&&(0,m.jsx)(`span`,{"aria-label":`Unread`,className:`mt-1.5 size-2 shrink-0 rounded-full bg-primary`})]})}var In=[{id:`approval`,icon:me,tone:`blue`,title:`Approval requested`,detail:`payout batch July affiliate run (41 lines, 12,450 USDT)`,time:`2h ago`,unread:!0},{id:`wallet-low`,icon:ye,tone:`red`,title:`USDT payout wallet (TRON) below minimum`,detail:`$48,320.40 / min $100,000`,time:`5h ago`,unread:!0},{id:`invoice-paid`,icon:Ae,tone:`green`,title:`Invoice INV-0006 paid`,detail:`$850.00 by DEMO Client 2`,time:`yesterday`,unread:!1}];function Ln({items:e,max:t=3,onViewAll:n,className:r}){let i=e.slice(0,t),a=e.filter(e=>e.unread).length;return(0,m.jsxs)(`div`,{className:E(`flex flex-col`,r),children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-2 border-b border-cb-line px-4 py-3`,children:[(0,m.jsx)(`h3`,{className:`text-[15px] font-semibold text-cb-text`,children:`Notifications`}),a>0&&(0,m.jsx)(`span`,{className:`inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-primary px-1.5 text-[11px] font-semibold text-primary-foreground`,children:a})]}),i.length===0?(0,m.jsx)(`div`,{className:`px-4 py-10 text-center text-[13.5px] text-cb-muted`,children:`You’re all caught up`}):(0,m.jsx)(`div`,{className:`divide-y divide-cb-line`,children:i.map(e=>(0,m.jsx)(Fn,{...e},e.id))}),(0,m.jsx)(`button`,{type:`button`,onClick:n,className:`w-full cursor-pointer border-t border-cb-line px-4 py-3 text-left text-[13.5px] font-medium text-primary transition-colors hover:bg-[#F1F4F8]`,children:`View all`})]})}function Rn({items:e=In,onViewAll:t}){let[n,r]=(0,d.useState)(!1),[i,a]=(0,d.useState)(!1),o=e.some(e=>e.unread)&&!n,s=i?e.map(e=>({...e,unread:!1})):e;return(0,m.jsxs)(Pt,{onOpenChange:e=>{e?r(!0):n&&a(!0)},children:[(0,m.jsx)(Ft,{asChild:!0,children:(0,m.jsx)(k,{type:`button`,variant:`ghost`,size:`icon`,className:`size-10 shrink-0 cursor-pointer text-[var(--nav-link)] hover:bg-[#F1F4F8] hover:text-[var(--nav-link-hover)] aria-expanded:bg-[#F1F4F8] aria-expanded:text-[var(--nav-link-hover)] dark:hover:bg-[#F1F4F8] dark:aria-expanded:bg-[#F1F4F8]`,"aria-label":o?`Notifications (new)`:`Notifications`,children:(0,m.jsxs)(`span`,{className:`relative inline-flex`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Le,size:18,strokeWidth:2,className:`size-[18px] opacity-[var(--nav-icon-opacity)]`}),o&&(0,m.jsx)(`span`,{"aria-hidden":!0,className:`absolute -right-0.5 -top-0.5 size-2 rounded-full bg-primary ring-2 ring-cb-card`})]})})}),(0,m.jsx)(Lt,{side:`bottom`,align:`end`,className:`w-[380px] p-0`,children:(0,m.jsx)(Ln,{items:s,onViewAll:t})})]})}var zn=[{code:`en`,label:`English`},{code:`sr`,label:`Srpski`},{code:`ru`,label:`Русский`}],Bn=[{id:`admin`,label:`Admin`},{id:`financial-admin`,label:`Financial Administrator`},{id:`approver`,label:`Approver`},{id:`compliance`,label:`Compliance Officer`},{id:`viewer`,label:`Viewer - second org`}];function Vn(){let[e,t]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{t(document.documentElement.classList.contains(`dark`))},[]),{dark:e,setTheme:(0,d.useCallback)(e=>{document.documentElement.classList.toggle(`dark`,e===`dark`),t(e===`dark`)},[])}}function Hn(){let[e,t]=(0,d.useState)(`classic`);return(0,d.useEffect)(()=>{t(document.documentElement.dataset.nav===`new`?`new`:`classic`)},[]),{navStyle:e,toggleNavStyle:(0,d.useCallback)(()=>{t(e=>{let t=e===`new`?`classic`:`new`;return document.documentElement.dataset.nav=t,localStorage.setItem(`navStyle`,t),t})},[])}}function Un({name:e=`Ivan Krstić`,avatarSrc:t,navMode:n=`primary`,onNavModeChange:r,headerMode:i=`v2`,onHeaderModeChange:a,onAccount:o,onLogout:s,onTakeTour:c,onResetDemo:l}){let{dark:u,setTheme:f}=Vn(),{navStyle:p,toggleNavStyle:h}=Hn(),[_,v]=(0,d.useState)(`en`),[y,b]=(0,d.useState)(`admin`),x=zn.find(e=>e.code===_)?.label??`English`,S=Bn.find(e=>e.id===y)?.label??`Admin`,C=e=>(0,m.jsx)(g.HugeiconsIcon,{icon:e,size:16,strokeWidth:2,className:`text-cb-muted`});return(0,m.jsxs)(mt,{children:[(0,m.jsx)(ht,{asChild:!0,children:(0,m.jsxs)(`button`,{type:`button`,className:`group flex min-w-0 cursor-pointer items-center gap-2.5 rounded-lg py-1 pr-1.5 pl-1.5 text-left outline-none transition-colors hover:bg-[#F1F4F8] data-[state=open]:bg-[#F1F4F8] focus-visible:ring-2 focus-visible:ring-ring/50`,children:[(0,m.jsx)(vn,{name:e,src:t,className:`bg-slate-200`}),(0,m.jsx)(`span`,{className:`min-w-0 max-w-[12rem] truncate text-[13.5px] font-medium text-cb-text`,children:e}),(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2,className:`-ml-1 shrink-0 text-cb-muted opacity-75`})]})}),(0,m.jsxs)(_t,{side:`bottom`,align:`end`,className:`min-w-[15rem]`,children:[(0,m.jsxs)(vt,{onSelect:()=>o?.(),children:[C(Ze),`Account information`]}),(0,m.jsxs)(St,{children:[(0,m.jsxs)(Ct,{children:[C(u?Pe:qe),`Theme: `,u?`Dark mode`:`Light mode`]}),(0,m.jsx)(wt,{children:(0,m.jsxs)(Tt,{value:u?`dark`:`light`,onValueChange:e=>f(e),children:[(0,m.jsx)(R,{value:`light`,children:`Light mode`}),(0,m.jsx)(R,{value:`dark`,children:`Dark mode`})]})})]}),(0,m.jsxs)(St,{children:[(0,m.jsxs)(Ct,{children:[C(De),`Language: `,x]}),(0,m.jsx)(wt,{children:(0,m.jsx)(Tt,{value:_,onValueChange:v,children:zn.map(e=>(0,m.jsx)(R,{value:e.code,children:e.label},e.code))})})]}),(0,m.jsxs)(vt,{onSelect:()=>c?.(),children:[C(Qe),`Take the tour`]}),(0,m.jsx)(bt,{}),(0,m.jsxs)(St,{children:[(0,m.jsxs)(Ct,{children:[C(Ge),`Navigation mode: `,n===`full`?`Full`:`MVP`]}),(0,m.jsx)(wt,{children:(0,m.jsxs)(Tt,{value:n,onValueChange:e=>r?.(e),children:[(0,m.jsx)(R,{value:`primary`,children:`MVP`}),(0,m.jsx)(R,{value:`full`,children:`Full`})]})})]}),(0,m.jsxs)(vt,{onSelect:e=>{e.preventDefault(),h()},children:[C(_e),`Nav bar style: `,p===`classic`?`Classic`:`New`]}),a&&(0,m.jsxs)(St,{children:[(0,m.jsxs)(Ct,{children:[C(He),`Header: `,i===`v1`?`No search`:`Search`]}),(0,m.jsx)(wt,{children:(0,m.jsxs)(Tt,{value:i,onValueChange:e=>a(e),children:[(0,m.jsx)(R,{value:`v1`,children:`Version 1 · no search`}),(0,m.jsx)(R,{value:`v2`,children:`Version 2 · search`})]})})]}),(0,m.jsxs)(St,{children:[(0,m.jsxs)(Ct,{children:[C($e),(0,m.jsxs)(`span`,{className:`min-w-0 flex-1 truncate`,children:[`View as: `,S]})]}),(0,m.jsx)(wt,{children:(0,m.jsx)(Tt,{value:y,onValueChange:b,children:Bn.map(e=>(0,m.jsx)(R,{value:e.id,children:e.label},e.id))})})]}),(0,m.jsxs)(vt,{onSelect:()=>l?.(),children:[C(Be),`Reset demo`]}),(0,m.jsx)(bt,{}),(0,m.jsxs)(vt,{onSelect:()=>s?.(),children:[C(Me),`Logout`]})]})]})}var Wn=[{items:[{id:`dashboard`,label:`Dashboard`,icon:`grid`},{id:`approvals`,label:`Approvals`,icon:`checkc`,badge:4},{id:`transactions`,label:`Transactions`,icon:`swap`,badge:4}]},{label:`Treasury`,icon:`bank`,items:[{id:`balances`,label:`Balances`,icon:`wallet`},{id:`balances-v4`,label:`Balances V4`,icon:`wallet`},{id:`deposit`,label:`Deposit`,icon:`down`},{id:`withdraw`,label:`Withdraw`,icon:`up`},{id:`itransfer`,label:`Transfers`,icon:`transfer`},{id:`conversion`,label:`Convert`,icon:`convert`}]},{label:`Wallets`,icon:`wallet`,items:[{id:`treasurywallets`,label:`Treasury wallets`,icon:`safe`},{id:`userwallets`,label:`User wallets`,icon:`useraccount`},{id:`externalwallets`,label:`External wallets`,icon:`global`}]},{items:[{id:`payments`,label:`Payments`,icon:`coins`},{id:`invoices`,label:`Invoices`,icon:`invoice`},{id:`riskcontrols`,label:`Risk controls`,icon:`shield`}]},{divider:!0,items:[{id:`reports`,label:`Reports`,icon:`chart`},{id:`banking`,label:`Banking`,icon:`bank`,soon:!0}]},{label:`Developers`,icon:`code`,items:[{id:`devhub`,label:`Developer Hub`,icon:`code`},{id:`checkout`,label:`Checkout Widget`,icon:`widget`},{id:`devdocs`,label:`Developer Docs`,icon:`book`,ext:`#`}]},{label:`Administration`,icon:`settings`,items:[{id:`organization`,label:`Organization`,icon:`org`},{id:`users`,label:`Users & Roles`,icon:`users`},{id:`audit`,label:`Audit Log`,icon:`list`},{id:`billing`,label:`Billing & Usage`,icon:`card`}]},{items:[{id:`help`,label:`Help & Support`,icon:`help`}]}],Gn=[{items:[{id:`transactions`,label:`Transactions`,icon:`swap`}]},{label:`Treasury`,icon:`bank`,items:[{id:`balances`,label:`Balances`,icon:`wallet`},{id:`balances-v4`,label:`Balances V4`,icon:`wallet`},{id:`deposit`,label:`Deposit`,icon:`down`},{id:`withdraw`,label:`Withdraw`,icon:`up`},{id:`conversion`,label:`Convert`,icon:`convert`}]},{divider:!0,items:[{id:`reports`,label:`Reports`,icon:`chart`}]},{label:`Developers`,icon:`code`,items:[{id:`devhub`,label:`Developer Hub`,icon:`code`},{id:`devdocs`,label:`Developer Docs`,icon:`book`,ext:`#`}]},{label:`Administration`,icon:`settings`,items:[{id:`organization`,label:`Organization`,icon:`org`},{id:`users`,label:`Users & Roles`,icon:`users`},{id:`billing`,label:`Billing & Usage`,icon:`card`}]}],Kn={primary:Gn,full:Wn},qn=Object.fromEntries([...Gn,...Wn].flatMap(e=>e.items).map(e=>[e.id,e]));function Jn(e){return qn[e]}var Yn=28;function Xn({config:e,preset:t=`primary`,activeId:n=`dashboard`,collapsed:r=!1,logoSrc:i,onNavigate:a}){let[o,s]=(0,d.useState)(r);(0,d.useEffect)(()=>{s(r)},[r]);let c=e||Kn[t]||Gn,l=e=>c.find(t=>t.label&&t.items.some(t=>t.id===e))?.label??null,[u,f]=(0,d.useState)(()=>l(n));(0,d.useEffect)(()=>{let e=l(n);e&&f(e)},[n]);let p=(0,d.useRef)(null),[h,_]=(0,d.useState)({height:0,top:0,visible:!1}),v=(0,d.useCallback)(()=>{let e=p.current;if(!e)return;let{scrollHeight:t,clientHeight:n,scrollTop:r}=e;if(t<=n+1){_(e=>e.visible?{...e,visible:!1}:e);return}let i=Math.max(n/t*n,Yn),a=r/(t-n)*(n-i);_({height:i,top:a,visible:!0})},[]);(0,d.useLayoutEffect)(()=>{v()},[v,c,o]),(0,d.useEffect)(()=>{let e=p.current;if(!e||typeof ResizeObserver>`u`)return;let t=new ResizeObserver(v);return t.observe(e),()=>t.disconnect()},[v]);let y=(0,d.useRef)(null);return(0,m.jsxs)(`aside`,{className:E(`relative flex h-full shrink-0 flex-col border-r border-cb-line bg-cb-sidebar`,o?`w-[62px]`:`w-[240px]`),children:[(0,m.jsx)(k,{type:`button`,variant:`outline`,size:`icon`,onClick:()=>s(e=>!e),"aria-label":o?`Expand sidebar`:`Collapse sidebar`,title:o?`Expand`:`Collapse`,className:`absolute right-0 top-[19px] z-30 size-6 translate-x-1/2 cursor-pointer rounded-full border-cb-line bg-cb-card text-cb-muted shadow-sm hover:bg-[#F1F4F8] hover:text-cb-ink2`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:o?I:ae,size:15,strokeWidth:2})}),(0,m.jsx)(`div`,{className:E(`flex shrink-0 items-center pt-[18px] pb-5`,o?`justify-center px-0`:`px-5`),children:(0,m.jsx)(`button`,{type:`button`,"aria-label":`Dashboard`,onClick:()=>a?.(`dashboard`),className:`flex cursor-pointer items-center rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-ring/50`,children:(0,m.jsx)(Dn,{src:i,collapsed:o})})}),(0,m.jsxs)(`div`,{className:`relative min-h-0 flex-1`,children:[(0,m.jsx)(`div`,{ref:p,onScroll:v,className:E(`h-full overflow-y-auto pb-2 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`,o?`px-[9px]`:`px-2.5`),children:c.map((e,t)=>(0,m.jsx)(Nn,{...e,activeId:n,collapsed:o,open:e.label?u===e.label:void 0,onToggle:e.label?()=>f(t=>t===e.label?null:e.label):void 0,onNavigate:a},e.label||t))}),h.visible&&(0,m.jsx)(`div`,{className:`pointer-events-none absolute inset-y-0 right-[3px] w-1`,children:(0,m.jsx)(`div`,{onPointerDown:e=>{let t=p.current;t&&(e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),y.current={startY:e.clientY,startScroll:t.scrollTop})},onPointerMove:e=>{let t=p.current,n=y.current;if(!t||!n)return;let r=t.clientHeight-h.height;if(r<=0)return;let i=t.scrollHeight-t.clientHeight;t.scrollTop=n.startScroll+(e.clientY-n.startY)/r*i},onPointerUp:e=>{y.current=null,e.currentTarget.releasePointerCapture?.(e.pointerId)},style:{height:h.height,transform:`translateY(${h.top}px)`},className:`pointer-events-auto w-full cursor-grab rounded-full bg-cb-muted/40 transition-colors hover:bg-cb-muted/70 active:cursor-grabbing`})})]})]})}function Zn({className:e,children:t}){return(0,m.jsx)(`div`,{className:E(`mx-auto w-full max-w-7xl px-8`,e),children:t})}function Qn({user:e,navMode:t=`primary`,onNavModeChange:n,headerMode:r=`v1`,onHeaderModeChange:i,onAccount:a,onLogout:o,onTakeTour:s,onResetDemo:c}){return(0,m.jsx)(`div`,{className:`pointer-events-none relative z-40 h-0`,children:(0,m.jsx)(Zn,{className:`flex justify-end pt-3`,children:(0,m.jsx)(`div`,{className:`pointer-events-auto rounded-xl bg-white/70 backdrop-blur-md`,children:(0,m.jsx)(Un,{name:e?.name,avatarSrc:e?.avatarSrc,navMode:t,onNavModeChange:n,headerMode:r,onHeaderModeChange:i,onAccount:a,onLogout:o,onTakeTour:s,onResetDemo:c})})})})}var $n=Wn.flatMap(e=>e.items).filter(e=>!e.ext).map(e=>({id:e.id,label:e.label,icon:e.icon})),er=[{title:`Payments API`,path:`/payments`},{title:`Webhooks`,path:`/webhooks`},{title:`Checkout Widget`,path:`/checkout-widget`},{title:`Authentication & API keys`,path:`/authentication`},{title:`Wallets & Custody`,path:`/wallets`},{title:`Transactions API`,path:`/transactions`},{title:`Payouts API`,path:`/payouts`},{title:`Risk & KYT`,path:`/risk`}];function tr({text:e,query:t}){if(!t)return(0,m.jsx)(m.Fragment,{children:e});let n=e.toLowerCase().indexOf(t);return n<0?(0,m.jsx)(m.Fragment,{children:e}):(0,m.jsxs)(m.Fragment,{children:[e.slice(0,n),(0,m.jsx)(`mark`,{className:`rounded-[3px] bg-primary/15 text-inherit`,children:e.slice(n,n+t.length)}),e.slice(n+t.length)]})}function nr({onNavigate:e,placeholder:t=`Search`,docsBaseUrl:n=`https://docs.chainberry.com`}){let[r,i]=(0,d.useState)(``),[a,o]=(0,d.useState)(!1),s=(0,d.useRef)(null);(0,d.useEffect)(()=>{if(!a)return;let e=e=>{s.current&&!s.current.contains(e.target)&&o(!1)},t=e=>{e.key===`Escape`&&o(!1)};return document.addEventListener(`pointerdown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`pointerdown`,e),document.removeEventListener(`keydown`,t)}},[a]);let c=r.trim().toLowerCase(),l=$n.filter(e=>!c||e.label.toLowerCase().includes(c)).slice(0,3),u=er.filter(e=>!c||e.title.toLowerCase().includes(c)).slice(0,3),f=t=>{e?.(t),o(!1),i(``)},p=e=>{window.open(`${n}${e}`,`_blank`,`noopener`),o(!1)},h=`flex w-full cursor-pointer items-center gap-2.5 rounded-lg px-2.5 py-2 text-left text-[13.5px] text-cb-text transition-colors hover:bg-cb-seg`;return(0,m.jsxs)(`div`,{ref:s,className:`relative w-full max-w-md`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:He,size:16,strokeWidth:2,className:`pointer-events-none absolute top-1/2 left-3 -translate-y-1/2 text-cb-muted`}),(0,m.jsx)(Et,{type:`text`,placeholder:t,value:r,onChange:e=>i(e.target.value),onFocus:()=>o(!0),className:`h-9 border-transparent bg-slate-100 pr-8 pl-9 hover:bg-slate-200/70 focus-visible:border-cb-muted/40 focus-visible:bg-white focus-visible:ring-0`}),r&&(0,m.jsx)(`button`,{type:`button`,"aria-label":`Clear search`,onClick:()=>{i(``)},className:`absolute top-1/2 right-2 -translate-y-1/2 flex size-5 cursor-pointer items-center justify-center rounded-full text-cb-muted opacity-75 hover:opacity-100`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:de,size:14,strokeWidth:1.5})}),a&&(l.length>0||u.length>0)&&(0,m.jsxs)(`div`,{className:`absolute top-full right-0 left-0 z-50 mt-1.5 overflow-hidden rounded-xl border border-cb-line bg-popover text-popover-foreground shadow-lg`,children:[l.length>0&&(0,m.jsxs)(`div`,{className:`p-1.5`,children:[(0,m.jsx)(`div`,{className:`px-2.5 py-1.5 text-xs font-semibold text-cb-muted`,children:`Go to`}),l.map(e=>(0,m.jsxs)(`button`,{type:`button`,className:h,onClick:()=>f(e.id),children:[(0,m.jsx)(Tn,{name:e.icon}),(0,m.jsx)(`span`,{className:`truncate`,children:(0,m.jsx)(tr,{text:e.label,query:c})})]},e.id))]}),l.length>0&&u.length>0&&(0,m.jsx)(`div`,{className:`h-px bg-cb-line`}),u.length>0&&(0,m.jsxs)(`div`,{className:`p-1.5`,children:[(0,m.jsx)(`div`,{className:`px-2.5 py-1.5 text-xs font-semibold text-cb-muted`,children:`Developer Docs`}),u.map(e=>(0,m.jsxs)(`button`,{type:`button`,className:h,onClick:()=>p(e.path),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:we,size:18,strokeWidth:2,className:`shrink-0 text-cb-muted opacity-75`}),(0,m.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:(0,m.jsx)(tr,{text:e.title,query:c})}),(0,m.jsx)(g.HugeiconsIcon,{icon:L,size:14,strokeWidth:2,className:`shrink-0 text-cb-muted opacity-60`})]},e.title))]})]})]})}function rr({user:e,navMode:t=`primary`,onNavModeChange:n,headerMode:r=`v2`,onHeaderModeChange:i,notifications:a,searchPlaceholder:o=`Search`,extension:s=0,onNavigate:c,onAccount:l,onLogout:u,onTakeTour:d,onResetDemo:f,onViewAllNotifications:p}){return(0,m.jsxs)(`header`,{className:`sticky top-0 z-20 shrink-0`,children:[(0,m.jsx)(`div`,{"aria-hidden":!0,className:`pointer-events-none absolute inset-x-0 top-0 bg-white/70 backdrop-blur-md`,style:{height:`calc(4rem + ${s}px)`}}),(0,m.jsxs)(Zn,{className:`relative flex h-16 items-center gap-4`,children:[(0,m.jsx)(nr,{onNavigate:c,placeholder:o}),(0,m.jsxs)(`div`,{className:`ml-auto flex items-center gap-1`,children:[(0,m.jsx)(Rn,{items:a,onViewAll:p}),(0,m.jsx)(Un,{name:e?.name,avatarSrc:e?.avatarSrc,navMode:t,onNavModeChange:n,headerMode:r,onHeaderModeChange:i,onAccount:l,onLogout:u,onTakeTour:d,onResetDemo:f})]})]})]})}var ir=(0,d.createContext)({setExtension:()=>{},stickyTop:64});function ar(){return(0,d.useContext)(ir)}var or=(0,d.createContext)(null);function sr(){let e=(0,d.useContext)(or);if(!e)throw Error(`PageTitleChip/PageTitlePanel must be used within <PageTitle>`);return e}function cr({children:e,defaultOpen:t=!1}){let[n,r]=(0,d.useState)(t),i=(0,d.useId)();return(0,m.jsx)(or.Provider,{value:{open:n,toggle:()=>r(e=>!e),close:()=>r(!1),panelId:i},children:e})}function lr({label:e=`What is this screen?`,className:t}){let{open:n,toggle:r,panelId:i}=sr();return(0,m.jsx)(k,{type:`button`,variant:`ghost`,size:`icon-xs`,"aria-label":e,"aria-expanded":n,"aria-controls":i,onClick:r,className:E(`cursor-pointer text-muted-foreground/60 hover:text-sky-700 dark:hover:text-sky-400`,n&&`bg-sky-50 text-sky-700 hover:text-sky-700 dark:bg-sky-500/15 dark:text-sky-400 dark:hover:text-sky-400`,t),children:(0,m.jsx)(g.HugeiconsIcon,{icon:ke,size:16,color:`currentColor`,strokeWidth:2})})}function ur({title:e,description:t,tips:n,tipsLabel:r=`What to try`,children:i,className:a}){let{open:o,close:s,panelId:c}=sr();return o?(0,m.jsxs)(`div`,{id:c,role:`region`,"aria-label":typeof e==`string`?e:`About this screen`,className:E(`relative flex gap-3.5 rounded-xl border border-sky-100 bg-sky-50 p-4 pr-11 animate-in fade-in-0 slide-in-from-top-1 duration-200 dark:border-sky-500/25 dark:bg-sky-500/10`,a),children:[(0,m.jsx)(`div`,{className:`flex size-9 shrink-0 items-center justify-center rounded-lg bg-primary text-primary-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ke,size:20,color:`currentColor`,strokeWidth:2})}),(0,m.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,m.jsx)(`h3`,{className:`text-sm font-semibold text-foreground`,children:e}),i??(0,m.jsxs)(m.Fragment,{children:[t&&(0,m.jsx)(`p`,{className:`mt-1 text-sm text-muted-foreground`,children:t}),n&&n.length>0&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`p`,{className:`mt-3 text-[11px] font-semibold uppercase tracking-[0.06em] text-sky-700 dark:text-sky-400`,children:r}),(0,m.jsx)(`ol`,{className:`mt-1.5 list-decimal space-y-1 pl-4 text-sm text-foreground marker:text-muted-foreground`,children:n.map((e,t)=>(0,m.jsx)(`li`,{children:e},t))})]})]})]}),(0,m.jsx)(k,{type:`button`,variant:`ghost`,size:`icon-xs`,"aria-label":`Close`,onClick:s,className:`absolute right-3 top-3 cursor-pointer text-muted-foreground/70 hover:text-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:de,size:16,color:`currentColor`,strokeWidth:2})})]}):null}function U({src:e,code:t,className:n}){return e?(0,m.jsx)(`img`,{src:e,alt:t,loading:`lazy`,className:E(`rounded-full object-contain`,n)}):(0,m.jsx)(`span`,{className:E(`inline-flex items-center justify-center rounded-full bg-muted text-[9px] font-semibold text-muted-foreground`,n),children:t.slice(0,3)})}function dr({columns:e,visible:t,onChange:n,label:r=`Columns`}){return(0,m.jsxs)(mt,{children:[(0,m.jsx)(ht,{asChild:!0,children:(0,m.jsxs)(k,{variant:`outline`,className:`cursor-pointer shadow-xs`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ge,size:16,strokeWidth:2}),r]})}),(0,m.jsxs)(_t,{align:`end`,className:`min-w-[12rem]`,children:[(0,m.jsx)(xt,{children:`Toggle columns`}),(0,m.jsx)(bt,{}),e.map(e=>(0,m.jsx)(yt,{checked:t[e.id]??!0,disabled:e.canHide===!1,onCheckedChange:t=>n(e.id,!!t),onSelect:e=>e.preventDefault(),children:e.label},e.id))]})]})}function fr({value:e,className:t}){let[n,r]=(0,d.useState)(!1);return(0,m.jsxs)(mn,{children:[(0,m.jsx)(hn,{asChild:!0,children:(0,m.jsx)(k,{type:`button`,variant:`ghost`,size:`icon-xs`,"aria-label":n?`Copied`:`Copy`,onClick:t=>{t.stopPropagation(),navigator.clipboard?.writeText(e),r(!0),window.setTimeout(()=>r(!1),1200)},className:E(`cursor-pointer transition-opacity hover:bg-transparent`,n?`text-emerald-500 hover:text-emerald-500`:`text-muted-foreground hover:text-primary`,t),children:(0,m.jsx)(g.HugeiconsIcon,{icon:n?me:ve,size:14,strokeWidth:2,className:`size-3.5`})})}),(0,m.jsx)(gn,{children:n?`Copied`:`Copy`})]})}function pr({href:e=`#`,className:t,children:n,...r}){return(0,m.jsx)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:E(`cursor-pointer text-foreground underline underline-offset-2 transition-colors hover:text-primary`,t),...r,children:n})}function W({value:e,head:t=8,tail:n=6,revealOnHover:r=!1,asLink:i=!1,href:a,className:o}){let s=e.length>t+n?`${e.slice(0,t)}...${e.slice(-n)}`:e;return(0,m.jsxs)(`div`,{className:E(`flex items-center gap-1.5`,o),children:[i?(0,m.jsx)(pr,{href:a,className:`font-mono text-[13px]`,children:s}):(0,m.jsx)(`span`,{className:`font-mono text-[13px] text-foreground`,children:s}),(0,m.jsx)(fr,{value:e,className:E(r&&`opacity-0 transition-opacity group-hover/row:opacity-100 aria-[label=Copied]:opacity-100`)})]})}var mr={xs:{logo:`size-5`,badge:`size-2.5`,pos:`-right-1.5 -bottom-0.5`,ring:`border`},sm:{logo:`size-7`,badge:`size-3.5`,pos:`-right-2.5 -bottom-1`,ring:`border-2`},md:{logo:`size-9`,badge:`size-4`,pos:`-right-2 -bottom-1`,ring:`border-2`}};function hr({code:e,network:t,codeSrc:n,networkSrc:r,size:i=`sm`,className:a}){let o=mr[i];return(0,m.jsxs)(`span`,{className:E(`relative inline-flex shrink-0`,a),children:[(0,m.jsx)(U,{src:n,code:e,className:o.logo}),(0,m.jsx)(`span`,{className:E(`absolute inline-flex rounded-full border-white bg-white`,o.ring,o.pos),children:(0,m.jsx)(U,{src:r,code:t,className:o.badge})})]})}function gr({label:e,sort:t=!1,onSort:n,align:r=`start`}){return(0,m.jsxs)(`button`,{type:`button`,onClick:n,className:E(`inline-flex cursor-pointer items-center gap-1 text-muted-foreground transition-colors select-none hover:text-foreground`,r===`end`&&`flex-row-reverse`,t&&`text-foreground`),children:[e,(0,m.jsx)(`span`,{className:E(`text-xs`,t?`text-foreground`:`text-muted-foreground/40`),children:t===`asc`?`↑`:t===`desc`?`↓`:`⇅`})]})}function _r(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t);let n=[...new Set([0,t-1,e,e-1,e+1])].filter(e=>e>=0&&e<t).sort((e,t)=>e-t),r=[],i=-1;for(let e of n)e-i>1&&r.push(`ellipsis`),r.push(e),i=e;return r}function vr({columns:e,data:t,getRowId:n,layout:r=`auto`,density:i=`comfortable`,pageSize:a,totalItems:o=0,currentPage:s=0,onPageChange:c,loading:l=!1,skeletonRows:u=10,columnVisibility:d,onRowClick:f,rowLeading:p,emptyMessage:h=`No results.`,toolbarBelow:g,sort:_,onSortChange:v}){let y=r===`fill`,b=i===`compact`?`py-1.5`:`py-3`,x=e=>_?.id===e&&_.dir,S=d??Object.fromEntries(e.map(e=>[e.id,!0])),C=e=>S[e]??!0,w=e.filter(e=>C(e.id)),T=a?Math.max(1,Math.ceil(o/a)):1,D=w.length+ +!!p;return(0,m.jsxs)(`div`,{className:E(`flex flex-col`,y&&`min-h-0 flex-1`),children:[g&&(0,m.jsx)(`div`,{className:`mb-4 shrink-0`,children:g}),(0,m.jsxs)(en,{containerClassName:E(y&&`min-h-0 flex-1 overflow-y-auto`),children:[(0,m.jsx)(tn,{className:E(`bg-cb-card [&_th]:shadow-[inset_0_-2px_0_0_var(--border)] [&_tr]:border-0`,y&&`sticky top-0 z-10`),children:(0,m.jsxs)(an,{className:`hover:bg-transparent`,children:[p&&(0,m.jsx)(on,{className:`w-6 px-0`}),w.map(e=>(0,m.jsx)(on,{className:E(e.align===`end`&&`text-right`,e.headClassName),children:e.sortable?(0,m.jsx)(gr,{label:e.header,align:e.align,sort:x(e.id),onSort:()=>v?.({id:e.id,dir:x(e.id)})}):e.header},e.id))]})}),(0,m.jsx)(nn,{children:l?Array.from({length:u}).map((e,t)=>(0,m.jsxs)(an,{className:`border-b border-slate-100 hover:bg-transparent`,children:[p&&(0,m.jsx)(H,{className:E(`w-6 px-0`,b)}),w.map(e=>(0,m.jsx)(H,{className:E(b,e.cellClassName),children:(0,m.jsx)(`div`,{className:E(`flex`,e.align===`end`&&`justify-end`),children:e.skeleton??(0,m.jsx)(V,{className:`h-4 w-24`})})},e.id))]},t)):t.length===0?(0,m.jsx)(an,{className:`border-0 hover:bg-transparent`,children:(0,m.jsx)(H,{colSpan:D,className:`py-12 text-center text-muted-foreground`,children:h})}):t.map(e=>(0,m.jsxs)(an,{className:E(`group/row border-b border-slate-100`,f&&`cursor-pointer`),onClick:f?()=>f(e):void 0,children:[p&&(0,m.jsx)(H,{className:E(`w-6 px-0`,b),children:p(e)}),w.map(t=>(0,m.jsx)(H,{className:E(b,t.align===`end`&&`text-right`,t.cellClassName),children:t.cell(e)},t.id))]},n(e)))})]}),a&&o>0&&(0,m.jsxs)(`div`,{className:`flex shrink-0 items-center justify-between border-t border-cb-line py-3`,children:[l?(0,m.jsx)(V,{className:`h-4 w-32`}):(0,m.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:o===0?`No results`:`Showing ${s*a+1}–${Math.min(o,(s+1)*a)} of ${o}`}),(0,m.jsx)(Dt,{children:(0,m.jsxs)(Ot,{children:[(0,m.jsx)(kt,{children:(0,m.jsx)(jt,{disabled:s===0,onClick:()=>c?.(s-1)})}),_r(s,T).map((e,t)=>e===`ellipsis`?(0,m.jsx)(kt,{children:(0,m.jsx)(Nt,{})},`ellipsis-${t}`):(0,m.jsx)(kt,{children:(0,m.jsx)(At,{isActive:e===s,onClick:()=>c?.(e),children:e+1})},e)),(0,m.jsx)(kt,{children:(0,m.jsx)(Mt,{disabled:s>=T-1,onClick:()=>c?.(s+1)})})]})})]})]})}var yr=[{label:`Download CSV`,value:`csv`,icon:be},{label:`Download XLSX`,value:`xlsx`,icon:tt}];function br({formats:e=yr,onDownload:t,label:n=`Download`,align:r=`end`,className:i}){return(0,m.jsxs)(mt,{children:[(0,m.jsx)(ht,{asChild:!0,children:(0,m.jsxs)(k,{className:E(`cursor-pointer border-primary shadow-xs`,i),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Ce,size:16,color:`currentColor`,strokeWidth:2}),n]})}),(0,m.jsx)(_t,{align:r,className:`min-w-[12rem] p-1.5`,children:e.map(e=>(0,m.jsxs)(vt,{className:`cursor-pointer gap-2.5 rounded-md px-2.5 py-2 text-sm`,onSelect:()=>t?.(e.value),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:e.icon??Ce,size:16,color:`currentColor`,strokeWidth:2,className:`text-muted-foreground`}),e.label]},e.value))})]})}var xr={in:P,out:se,neutral:ie};function Sr({direction:e,label:t}){return(0,m.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(`span`,{className:`inline-flex size-7 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:xr[e],size:15,strokeWidth:2})}),(0,m.jsx)(`span`,{className:`font-medium text-foreground`,children:t})]})}function Cr({level:e}){let t=`${e[0].toUpperCase()}${e.slice(1)} risk`;return(0,m.jsxs)(mn,{children:[(0,m.jsx)(hn,{asChild:!0,children:(0,m.jsx)(`img`,{src:`/risk-${e}.svg`,alt:t,className:`h-[18px] w-[18px] shrink-0`})}),(0,m.jsx)(gn,{children:t})]})}var wr={primary:`border-primary/20 bg-primary/10 text-primary`,sky:`border-sky-100 bg-sky-50 text-sky-700 dark:border-sky-500/25 dark:bg-sky-500/15 dark:text-sky-400`,emerald:`border-emerald-100 bg-emerald-50 text-emerald-700 dark:border-emerald-500/25 dark:bg-emerald-500/15 dark:text-emerald-400`,amber:`border-amber-100 bg-amber-50 text-amber-700 dark:border-amber-500/25 dark:bg-amber-500/15 dark:text-amber-400`,red:`border-red-100 bg-red-50 text-red-700 dark:border-red-500/25 dark:bg-red-500/15 dark:text-red-400`,slate:`border-slate-200 bg-slate-100 text-slate-600 dark:border-slate-500/25 dark:bg-slate-500/15 dark:text-slate-300`,violet:`border-violet-100 bg-violet-50 text-violet-700 dark:border-violet-500/25 dark:bg-violet-500/15 dark:text-violet-400`,orange:`border-orange-100 bg-orange-50 text-orange-700 dark:border-orange-500/25 dark:bg-orange-500/15 dark:text-orange-400`};function Tr({children:e,tone:t=`slate`,className:n}){return(0,m.jsx)(ne,{variant:`outline`,className:E(`rounded-md px-2 py-0.5`,wr[t],n),children:e})}function G({primary:e,secondary:t,align:n=`start`,tabularNums:r=!1,primaryClassName:i,secondaryClassName:a,className:o}){return(0,m.jsxs)(`div`,{className:E(`flex min-w-0 flex-col leading-tight`,n===`end`?`items-end text-right`:`items-start text-left`,r&&`tabular-nums`,o),children:[(0,m.jsx)(`span`,{className:E(`text-sm text-foreground`,i),children:e}),t!=null&&t!==``&&(0,m.jsx)(`span`,{className:E(`text-xs text-muted-foreground`,a),children:t})]})}var K={deposit:{label:`Deposit`,direction:`in`},withdrawal:{label:`Withdrawal`,direction:`out`},checkout:{label:`Checkout`,direction:`neutral`},"manual-deposit":{label:`Manual Deposit`,direction:`in`},"manual-withdrawal":{label:`Manual Withdrawal`,direction:`out`},"auto-conversion-deposit":{label:`Auto-Conversion Deposit`,direction:`in`},"auto-conversion-withdrawal":{label:`Auto-Conversion Withdrawal`,direction:`out`},"automatic-withdrawal":{label:`Automatic Withdrawal`,direction:`out`},unknown:{label:`Unknown`,direction:`neutral`}},Er=[`deposit`,`withdrawal`,`checkout`,`manual-deposit`,`manual-withdrawal`,`auto-conversion-deposit`,`auto-conversion-withdrawal`,`automatic-withdrawal`,`unknown`],Dr=o({NETWORK_LABELS:()=>Vr,SAVED_PRESETS:()=>zr,TRANSACTIONS:()=>Rr,coinSrc:()=>q,needsAction:()=>Br,toTransactionDetail:()=>Yr}),Or=[`usdt`,`usdc`,`eth`,`btc`,`pol`,`sol`,`avax`,`bnb`,`ton`,`tron`];function q(e){let t=e.toLowerCase();return Or.includes(t)?`/coins/${t}.png`:void 0}var kr=[{id:`tx-01`,type:`deposit`,status:`processing`,risk:`low`,amount:`+1,582.18`,currency:`USDT`,amountFiat:`+$1,582.18`,network:`ETH`,createdAt:`Jul 05, 2026`,createdTime:`02:27 PM`,userId:`user-1a93c5b46704f4`,orderId:`ord-558323aa11e9bcac`},{id:`tx-02`,type:`withdrawal`,status:`confirmed`,risk:`medium`,amount:`-140.80`,currency:`USDT`,amountFiat:`-$140.80`,network:`POL`,createdAt:`Jul 05, 2026`,createdTime:`01:50 PM`,confirmedAt:`Jul 05, 2026`,confirmedTime:`01:56 PM`,userId:`user-2c71e0d9f58e60`,orderId:`ord-712c04bb33648ef0`},{id:`tx-03`,type:`withdrawal`,status:`confirmed`,risk:`low`,amount:`-1,249.10`,currency:`USDT`,amountFiat:`-$1,249.10`,network:`SOL`,createdAt:`Jul 05, 2026`,createdTime:`12:05 PM`,confirmedAt:`Jul 05, 2026`,confirmedTime:`12:08 PM`,userId:`user-9f02a7c18f6aed`,orderId:`ord-b4e152cc44e9c99f`},{id:`tx-04`,type:`deposit`,status:`created`,risk:`low`,amount:`+2,234.80`,currency:`USDC`,amountFiat:`+$2,234.80`,network:`ETH`,createdAt:`Jul 05, 2026`,createdTime:`10:18 AM`,userId:`user-6b48e2f0d19fcb`,orderId:`ord-6a43e2dd5564dd34`},{id:`tx-05`,type:`withdrawal`,status:`confirmed`,risk:`high`,amount:`-1,559.93`,currency:`USDT`,amountFiat:`-$1,559.93`,network:`AVAX`,createdAt:`Jul 05, 2026`,createdTime:`06:13 AM`,confirmedAt:`Jul 05, 2026`,confirmedTime:`06:16 AM`,userId:`user-4d19b6a2688796`,orderId:`ord-852d1cee660a6f6a`},{id:`tx-06`,type:`withdrawal`,status:`created`,risk:`low`,amount:`-0.13836`,currency:`ETH`,amountFiat:`-$431.68`,network:`ETH`,createdAt:`Jul 05, 2026`,createdTime:`02:37 AM`,userId:`user-9a5f1c7320bbdd`,orderId:`ord-db052aff7764c5d8`},{id:`tx-07`,type:`withdrawal`,status:`confirmed`,risk:`low`,amount:`-788.34`,currency:`USDC`,amountFiat:`-$788.34`,network:`ETH`,createdAt:`Jul 05, 2026`,createdTime:`01:50 AM`,confirmedAt:`Jul 05, 2026`,confirmedTime:`01:53 AM`,userId:`user-6e21d4b587471c`,orderId:`ord-31d99e0088376aa3`},{id:`tx-08`,type:`deposit`,status:`created`,risk:`low`,amount:`+1,205.65`,currency:`USDT`,amountFiat:`+$1,205.65`,network:`BNB`,createdAt:`Jul 05, 2026`,createdTime:`01:10 AM`,userId:`user-8c07a1f5a72d43`,orderId:`ord-7c5061bb99f499eb`},{id:`tx-09`,type:`withdrawal`,status:`rejected`,risk:`high`,amount:`-0.04448807`,currency:`BTC`,amountFiat:`-$2,751.23`,network:`BTC`,createdAt:`Jul 04, 2026`,createdTime:`10:45 PM`,userId:`user-4f83c0e1bed235`,orderId:`ord-02ad38cc22429aee`},{id:`tx-10`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+0.95688`,currency:`ETH`,amountFiat:`+$2,985.47`,network:`ETH`,createdAt:`Jul 04, 2026`,createdTime:`07:56 PM`,confirmedAt:`Jul 04, 2026`,confirmedTime:`07:58 PM`,userId:`user-9b1c72e07f19a2`,orderId:`ord-9c90e7dd116dc2e5`},{id:`tx-11`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+967.75`,currency:`USDT`,amountFiat:`+$967.75`,network:`ETH`,createdAt:`Jul 04, 2026`,createdTime:`05:00 PM`,confirmedAt:`Jul 04, 2026`,confirmedTime:`05:04 PM`,userId:`user-3a55e9c1a1d1f2`,orderId:`ord-41b6a0ee7700170f`},{id:`tx-12`,type:`withdrawal`,status:`processing`,risk:`medium`,amount:`-320.00`,currency:`USDC`,amountFiat:`-$320.00`,network:`POL`,createdAt:`Jul 04, 2026`,createdTime:`03:22 PM`,userId:`user-7d33b8a4c90e11`,orderId:`ord-15aa77cc22d0b3f4`},{id:`tx-13`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+5,000.00`,currency:`USDT`,amountFiat:`+$5,000.00`,network:`AVAX`,createdAt:`Jul 04, 2026`,createdTime:`11:04 AM`,confirmedAt:`Jul 04, 2026`,confirmedTime:`11:09 AM`,userId:`user-2f9c04e7b23a88`,orderId:`ord-88cd12ff44a7e0d1`},{id:`tx-14`,type:`withdrawal`,status:`rejected`,risk:`high`,amount:`-2.10500000`,currency:`ETH`,amountFiat:`-$6,565.60`,network:`ETH`,createdAt:`Jul 03, 2026`,createdTime:`09:18 PM`,userId:`user-5b7a1c93ee04ff`,orderId:`ord-77de90aa11bb22cc`},{id:`tx-15`,type:`withdrawal`,status:`confirmed`,risk:`high`,amount:`-3,400.00`,currency:`USDT`,amountFiat:`-$3,400.00`,network:`SOL`,createdAt:`Jul 03, 2026`,createdTime:`04:41 PM`,confirmedAt:`Jul 03, 2026`,confirmedTime:`04:45 PM`,userId:`user-1c88f0a5dd7b90`,orderId:`ord-33ab55cc99ee1122`},{id:`tx-16`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+1,120.40`,currency:`USDT`,amountFiat:`+$1,120.40`,network:`BNB`,createdAt:`Jul 03, 2026`,createdTime:`10:12 AM`,confirmedAt:`Jul 03, 2026`,confirmedTime:`10:15 AM`,userId:`user-4e2b7c10ff9a33`,orderId:`ord-99cd00aa22bb44dd`},{id:`tx-17`,type:`deposit`,status:`created`,risk:`medium`,amount:`+742.19`,currency:`USDC`,amountFiat:`+$742.19`,network:`ETH`,createdAt:`Jul 03, 2026`,createdTime:`08:03 AM`,userId:`user-6a1f9d2e33cc77`,orderId:`ord-12bb34cc56dd78ee`},{id:`tx-18`,type:`withdrawal`,status:`confirmed`,risk:`low`,amount:`-0.02100000`,currency:`BTC`,amountFiat:`-$1,299.68`,network:`BTC`,createdAt:`Jul 02, 2026`,createdTime:`06:55 PM`,confirmedAt:`Jul 02, 2026`,confirmedTime:`07:01 PM`,userId:`user-8f4c2b90aa1e55`,orderId:`ord-56ef78aa90bb12cd`},{id:`tx-19`,type:`deposit`,status:`confirmed`,risk:`low`,amount:`+1,200.00`,currency:`TON`,amountFiat:`+$6,600.00`,network:`TON`,createdAt:`Jul 02, 2026`,createdTime:`02:14 PM`,confirmedAt:`Jul 02, 2026`,confirmedTime:`02:17 PM`,userId:`user-7b3e9a01cc44f2`,orderId:`ord-a71f22bb88cc09de`},{id:`tx-20`,type:`withdrawal`,status:`processing`,risk:`medium`,amount:`-540.00`,currency:`TON`,amountFiat:`-$2,970.00`,network:`TON`,createdAt:`Jul 02, 2026`,createdTime:`11:38 AM`,userId:`user-3d0c8f24aa17bb`,orderId:`ord-c52d90ee44ff21ab`}],Ar=[`created`,`processing`,`kyt-in-progress`,`pending-approval`,`rejected`,`confirmed`,`failed`,`conversion-in-progress`,`refund-in-progress`,`pending-verification`,`partially-completed`,`currency-mismatch`],jr=[[`USDT`,`ETH`],[`USDT`,`POL`],[`USDT`,`SOL`],[`USDT`,`AVAX`],[`USDT`,`BNB`],[`USDC`,`ETH`],[`USDC`,`POL`],[`ETH`,`ETH`],[`BTC`,`BTC`],[`TON`,`TON`]],Mr=[`deposit`,`withdrawal`,`checkout`,`manual-deposit`,`manual-withdrawal`,`auto-conversion-deposit`,`auto-conversion-withdrawal`,`automatic-withdrawal`,`unknown`],Nr=[`low`,`medium`,`high`],Pr=[`Jun`,`Jul`],Fr=new Set([`confirmed`,`partially-completed`]);function J(e,t){let n=e*2654435761>>>0,r=``;for(;r.length<t;)r+=(n&15).toString(16),n=n*16807>>>0||1;return r.slice(0,t)}var Ir=e=>String(e).padStart(2,`0`);function Lr(e,t){let n=[];for(let r=0;r<e;r++){let e=t+r,i=Mr[e%Mr.length],a=Ar[e%Ar.length],o=Nr[e*7%3],[s,c]=jr[e%jr.length],l=K[i].direction===`out`?`-`:`+`,u=((e*173+41)%8e3+12+e*37%100/100).toLocaleString(`en-US`,{minimumFractionDigits:2,maximumFractionDigits:2}),d=`${Pr[(e>>5)%2]} ${Ir(e*3%28+1)}, 2026`,f=e*5%12+1,p=e*13%60,m=e%2==0?`AM`:`PM`,h=`${Ir(f)}:${Ir(p)} ${m}`,g=Fr.has(a);n.push({id:`tx-${String(e+1).padStart(3,`0`)}`,type:i,status:a,risk:o,amount:`${l}${u}`,currency:s,amountFiat:`${l}$${u}`,network:c,createdAt:d,createdTime:h,confirmedAt:g?d:void 0,confirmedTime:g?`${Ir(f)}:${Ir((p+4)%60)} ${m}`:void 0,userId:`user-${J(e+11,14)}`,orderId:`ord-${J(e+101,16)}`})}return n}var Rr=[...kr,...Lr(243,kr.length)],zr=[{id:`high-risk-withdrawals`,label:`High-risk withdrawals`,match:e=>K[e.type].direction===`out`&&e.risk===`high`,icon:`alert`},{id:`failed-this-month`,label:`Failed this month`,match:e=>e.status===`failed`||e.status===`rejected`,icon:`filter`},{id:`usdt-deposits`,label:`USDT deposits`,match:e=>K[e.type].direction===`in`&&e.currency===`USDT`,icon:`deposit`}];function Br(e){return e.status===`pending-approval`||e.status===`pending-verification`||e.status===`currency-mismatch`}var Vr={ETH:`Ethereum`,POL:`Polygon`,SOL:`Solana`,AVAX:`Avalanche`,BNB:`BNB Chain`,BTC:`Bitcoin`,TON:`TON`};function Hr(e,t){return(e===`low`?8:e===`medium`?42:76)+t%12}function Ur(e){return e.status===`rejected`||e.status===`failed`?`rejected`:e.status===`pending-approval`||e.status===`pending-verification`||e.status===`kyt-in-progress`?`manual-review`:e.risk===`high`?`flagged`:`auto-approved`}var Wr={"auto-approved":`Huobi/HTX sanctioned entity amount < 10 USD`,approved:`Counterparty cleared — no sanctioned exposure detected`,"manual-review":`Exposure to a high-risk exchange above the review threshold`,flagged:`Direct exposure to a darknet marketplace cluster`,rejected:`Funds traced to an OFAC-sanctioned address`};function Gr(e){let t=parseInt(e.replace(/\D/g,``),10);return Number.isFinite(t)?t:1}function Kr(e){return e.replace(/^[+-]/,``)}var qr=new Set([`TON`,`XRP`]);function Jr(e){return String((e*2654435761>>>0)%9e6+1e6)}function Yr(e){let t=Gr(e.id),n=Ur(e),r=Vr[e.network]??e.network,i=!!e.confirmedAt,a=qr.has(e.currency);return{...e,networkLabel:r,updatedAt:e.confirmedAt??e.createdAt,updatedTime:e.confirmedTime??e.createdTime,customerWallet:`T${J(t+7,8)}${J(t+3,6)}`,customerTag:a?Jr(t+1):void 0,expectedAmount:`${Kr(e.amount)} ${e.currency}`,rate:`1 ${e.currency} = $1.00`,commissionFee:`${(t%5+1).toFixed(2)} ${e.currency}`,riskAssessment:{score:Hr(e.risk,t),level:e.risk,decision:n,provider:`Crystal`,reason:Wr[n]},fromAddress:`T${J(t+21,8)}${J(t+5,6)}`,fromTag:a?Jr(t+2):void 0,toAddress:`T${J(t+31,8)}${J(t+9,6)}`,toTag:a?Jr(t+1):void 0,txHash:J(t+41,40),txFee:i?`${(t%9+1).toFixed(2)} ${r}`:`—`,transactionUid:`${J(t+51,8)}${J(t+2,6)}`,partnerPaymentId:`dep-${J(t+61,8)}${J(t+4,6)}`}}function Xr({value:e,code:t,icon:n=!0,className:r}){return(0,m.jsxs)(`span`,{className:E(`flex items-center gap-2`,r),children:[n&&(0,m.jsx)(U,{src:q(t),code:t,className:`size-5`}),e]})}function Y({label:e,show:t=!0,className:n,children:r}){return t?(0,m.jsxs)(`div`,{className:E(`min-w-0`,n),children:[(0,m.jsx)(`div`,{className:`text-xs text-muted-foreground`,children:e}),(0,m.jsx)(`div`,{className:`mt-1 text-sm text-foreground`,children:r})]}):null}function Zr({title:e,detail:t,show:n,className:r}){let i=e=>n?.[e]!==!1,a=t.fromTag!=null,o=t.toTag!=null;return(0,m.jsxs)(`div`,{className:r,children:[(0,m.jsx)(`div`,{className:`mb-2 text-sm font-medium text-foreground`,children:e}),(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-x-4 gap-y-3.5`,children:[a?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Y,{label:`From Wallet`,show:i(`fromWallet`),children:(0,m.jsx)(W,{value:t.fromAddress,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`From Tag`,show:i(`fromTag`),children:(0,m.jsx)(W,{value:t.fromTag??``,head:6,tail:6,asLink:!0})})]}):(0,m.jsx)(Y,{label:`From`,show:i(`from`),children:(0,m.jsx)(W,{value:t.fromAddress,head:6,tail:6,asLink:!0})}),o?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Y,{label:`To Wallet`,show:i(`toWallet`),children:(0,m.jsx)(W,{value:t.toAddress,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`To Tag`,show:i(`toTag`),children:(0,m.jsx)(W,{value:t.toTag??``,head:6,tail:6,asLink:!0})})]}):(0,m.jsx)(Y,{label:`To`,show:i(`to`),children:(0,m.jsx)(W,{value:t.toAddress,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`Transaction Hash`,show:i(`hash`),children:(0,m.jsx)(W,{value:t.txHash,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`Transaction Fee`,show:i(`fee`),children:t.txFee})]})]})}function Qr({detail:e,show:t,showRefund:n=!0,className:r}){return(0,m.jsxs)(`section`,{className:r,children:[(0,m.jsx)($t,{className:`mb-6`,children:`Blockchain Details`}),(0,m.jsx)(Zr,{title:`${K[e.type].label} ${e.currency}`,detail:e,show:t}),n&&(0,m.jsx)(Zr,{title:`Refund ${e.currency}`,detail:e,show:t,className:`mt-5`})]})}var $r={"auto-approved":{label:`Auto-approved`,icon:me,className:`text-emerald-600 dark:text-emerald-400`},approved:{label:`Approved`,icon:me,className:`text-emerald-600 dark:text-emerald-400`},"manual-review":{label:`Manual review`,icon:$e,className:`text-amber-600 dark:text-amber-400`},flagged:{label:`Flagged`,icon:j,className:`text-amber-600 dark:text-amber-400`},rejected:{label:`Rejected`,icon:fe,className:`text-red-600 dark:text-red-400`}};function ei(e){return e<=33?`text-emerald-600 dark:text-emerald-400`:e<=66?`text-amber-600 dark:text-amber-400`:`text-red-600 dark:text-red-400`}function ti({label:e,children:t}){return(0,m.jsxs)(`div`,{className:`min-w-0`,children:[(0,m.jsx)(`div`,{className:`text-xs text-muted-foreground`,children:e}),(0,m.jsx)(`div`,{className:`mt-1 text-sm text-foreground`,children:t})]})}function ni({assessment:e,actionRequired:t=!1,onApprove:n,onReject:r,className:i}){let{score:a,level:o,decision:s,provider:c,reason:l}=e,u=$r[s];return(0,m.jsxs)(`section`,{className:E(`space-y-3`,i),children:[(0,m.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,m.jsx)(`h3`,{className:`text-base font-semibold text-foreground`,children:`Risk Assessment`}),(0,m.jsxs)(mn,{children:[(0,m.jsx)(hn,{asChild:!0,children:(0,m.jsx)(`span`,{className:`cursor-help text-muted-foreground/60`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ke,size:14,strokeWidth:2})})}),(0,m.jsx)(gn,{children:`KYT screening result for this transaction.`})]})]}),t&&(0,m.jsx)(`span`,{className:`text-sm font-medium text-amber-700 dark:text-amber-400`,children:`Action Required`})]}),(0,m.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,m.jsx)(Cr,{level:o}),(0,m.jsxs)(`div`,{className:`flex items-baseline gap-1`,children:[(0,m.jsx)(`span`,{className:E(`text-3xl font-semibold tabular-nums`,ei(a)),children:a}),(0,m.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`/100`})]})]}),t?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(`div`,{className:`flex gap-3`,children:[(0,m.jsxs)(k,{type:`button`,onClick:n,className:`h-9 flex-1 cursor-pointer bg-emerald-500 text-white hover:bg-emerald-600`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Je,size:16,strokeWidth:2.5}),`Approve`]}),(0,m.jsxs)(k,{type:`button`,onClick:r,className:`h-9 flex-1 cursor-pointer bg-red-500 text-white hover:bg-red-600`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:fe,size:16,strokeWidth:2}),`Reject`]})]}),(0,m.jsx)(ti,{label:`Reason`,children:(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:l})}),(0,m.jsx)(ti,{label:`Assessment provided by`,children:(0,m.jsx)(pr,{children:c})})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-x-4 gap-y-3.5`,children:[(0,m.jsx)(ti,{label:`Status`,children:(0,m.jsxs)(`span`,{className:E(`inline-flex items-center gap-1.5 font-medium`,u.className),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:u.icon,size:16,strokeWidth:2}),u.label]})}),(0,m.jsx)(ti,{label:`Assessment provided by`,children:(0,m.jsx)(pr,{children:c})})]}),(0,m.jsx)(ti,{label:`Reason`,children:(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:l})})]})]})}var ri=o({STATUS_META:()=>X,STATUS_ORDER:()=>ii,TONE_DOT:()=>ai}),X={created:{label:`Created`,tone:`sky`},processing:{label:`Processing`,tone:`sky`},"kyt-in-progress":{label:`KYT in Progress`,tone:`violet`},"pending-approval":{label:`Pending Approval`,tone:`amber`},"pending-verification":{label:`Pending Verification`,tone:`amber`},"conversion-in-progress":{label:`Conversion in Progress`,tone:`orange`},"refund-in-progress":{label:`Refund in Progress`,tone:`violet`},"partially-completed":{label:`Partially Completed`,tone:`emerald`},confirmed:{label:`Confirmed`,tone:`emerald`},"currency-mismatch":{label:`Currency Mismatch`,tone:`amber`},rejected:{label:`Rejected`,tone:`red`},failed:{label:`Failed`,tone:`red`}},ii=[`created`,`processing`,`kyt-in-progress`,`pending-approval`,`pending-verification`,`conversion-in-progress`,`refund-in-progress`,`partially-completed`,`confirmed`,`currency-mismatch`,`rejected`,`failed`],ai={primary:`bg-primary`,sky:`bg-sky-500`,emerald:`bg-emerald-500`,amber:`bg-amber-500`,red:`bg-red-500`,slate:`bg-slate-400`,violet:`bg-violet-500`,orange:`bg-orange-500`},oi=o({ASSET_OPTIONS:()=>ui,EMPTY_FILTER:()=>si,RISK_OPTIONS:()=>li,TYPE_OPTIONS:()=>ci,countMatches:()=>pi,filterMatches:()=>fi,filterToName:()=>hi,isFilterEmpty:()=>di}),si={types:[],statuses:[],assets:[],risks:[],dateField:`createdAt`},ci=Er.map(e=>({value:e,label:K[e].label})),li=[{value:`low`,label:`Low risk`},{value:`medium`,label:`Medium risk`},{value:`high`,label:`High risk`}],ui=Array.from(new Map(Rr.map(e=>{let t=`${e.currency}/${e.network}`;return[t,{key:t,currency:e.currency,network:e.network}]})).values()).sort((e,t)=>e.key.localeCompare(t.key));function di(e){return!e.types.length&&!e.statuses.length&&!e.assets.length&&!e.risks.length&&!e.from&&!e.to}function fi(e,t){if(t.types.length&&!t.types.includes(e.type)||t.statuses.length&&!t.statuses.includes(e.status)||t.assets.length&&!t.assets.includes(`${e.currency}/${e.network}`)||t.risks.length&&!t.risks.includes(e.risk))return!1;if(t.from||t.to){let n=t.dateField===`createdAt`?e.createdAt:e.confirmedAt;if(!n)return!1;let r=new Date(n).getTime();if(Number.isNaN(r)||t.from&&r<new Date(t.from).getTime()||t.to&&r>new Date(t.to).getTime()+1440*60*1e3-1)return!1}return!0}function pi(e){return di(e)?Rr.length:Rr.reduce((t,n)=>fi(n,e)?t+1:t,0)}var mi=e=>e.charAt(0).toUpperCase()+e.slice(1);function hi(e){let t=[];if(e.types.length&&t.push(e.types.map(mi).join(` & `)),e.statuses.length&&t.push(e.statuses.map(e=>X[e].label).join(` & `)),e.assets.length&&t.push(e.assets.join(`, `)),e.risks.length&&t.push(e.risks.map(e=>`${mi(e)} risk`).join(` & `)),e.from||e.to){let n=e.dateField===`createdAt`?`Created`:`Confirmed`;t.push(`${n} ${e.from??`…`} → ${e.to??`…`}`)}return t.join(` · `)||`Custom filter`}function gi({open:e,onOpenChange:t,filter:n,onSave:r}){let[i,a]=(0,d.useState)(``),o=(0,d.useRef)(null),s=(0,d.useMemo)(()=>pi(n),[n]);(0,d.useEffect)(()=>{if(!e)return;a(hi(n));let t=window.setTimeout(()=>o.current?.select(),0);return()=>window.clearTimeout(t)},[e]);let c=()=>{r(i.trim()||hi(n),n),t(!1)},l=i.trim()||hi(n);return(0,m.jsx)(it,{open:e,onOpenChange:t,children:(0,m.jsxs)(ct,{className:`max-w-md`,children:[(0,m.jsxs)(lt,{children:[(0,m.jsx)(dt,{children:`Save filter preset`}),(0,m.jsx)(ft,{children:`Give this filter a name so you can reuse it from the presets bar and dashboard.`})]}),(0,m.jsxs)(`div`,{className:`mt-5 flex flex-col gap-1.5`,children:[(0,m.jsx)(z,{htmlFor:`preset-name`,className:`text-sm font-medium`,children:`Preset name`}),(0,m.jsx)(Et,{id:`preset-name`,ref:o,value:i,onChange:e=>a(e.target.value),onKeyDown:e=>{e.key===`Enter`&&c()},placeholder:`e.g. High-value deposits`})]}),(0,m.jsxs)(`div`,{className:`mt-3 flex items-center gap-3 rounded-xl bg-muted px-4 py-3`,children:[(0,m.jsx)(`span`,{className:`inline-flex size-9 shrink-0 items-center justify-center rounded-lg bg-background text-primary`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Te,size:18,strokeWidth:2})}),(0,m.jsxs)(`div`,{className:`min-w-0`,children:[(0,m.jsx)(`div`,{className:`truncate text-sm font-semibold text-foreground`,children:l}),(0,m.jsxs)(`div`,{className:`text-xs text-muted-foreground`,children:[`Matches `,s.toLocaleString(`en-US`),` transaction`,s===1?``:`s`,` right now`]})]})]}),(0,m.jsx)(ee,{bleed:`dialog`,actions:[{key:`cancel`,label:`Cancel`,variant:`outline`,onClick:()=>t(!1)},{key:`save`,label:`Save preset`,onClick:c}]})]})})}var _i={alert:A,filter:Te,deposit:P};function vi({presets:e,activeId:t,getCount:n,onToggle:r,onDelete:i,onCreateView:a,onReset:o,resetDisabled:s=!1}){let[c,l]=(0,d.useState)(null);return(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`text-[11px] font-semibold uppercase tracking-[0.06em] text-muted-foreground/70`,children:`Saved presets`}),e.map(e=>(0,m.jsxs)(`button`,{type:`button`,onClick:()=>r(e.id),className:E(`inline-flex cursor-pointer items-center gap-1.5 rounded-full border px-2.5 py-0.5 text-[13px] transition-colors`,e.id===t?`border-cb-blue/40 bg-cb-blue-soft text-cb-blue`:`border-border bg-background text-foreground hover:bg-muted`),children:[e.icon&&(0,m.jsx)(g.HugeiconsIcon,{icon:_i[e.icon],size:14,color:`currentColor`,strokeWidth:2}),(0,m.jsx)(`span`,{children:e.label}),(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:n(e)}),(0,m.jsxs)(mn,{children:[(0,m.jsx)(hn,{asChild:!0,children:(0,m.jsx)(`span`,{role:`button`,tabIndex:-1,"aria-label":`Delete ${e.label}`,onClick:t=>{t.stopPropagation(),l(e)},className:`ml-0.5 inline-flex text-muted-foreground/60 hover:text-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:de,size:13,color:`currentColor`,strokeWidth:2})})}),(0,m.jsx)(gn,{children:`Delete preset`})]})]},e.id)),(0,m.jsxs)(k,{variant:`ghost`,size:`sm`,className:`cursor-pointer text-muted-foreground`,onClick:a,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Re,size:15,color:`currentColor`,strokeWidth:2}),`Create view`]}),(0,m.jsxs)(k,{variant:`ghost`,size:`sm`,className:`cursor-pointer text-muted-foreground`,disabled:s,onClick:o,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ze,size:15,color:`currentColor`,strokeWidth:2}),`Reset filters`]}),(0,m.jsx)(pt,{open:c!=null,onOpenChange:e=>{e||l(null)},title:`Delete preset`,description:c?`Are you sure you want to delete preset "${c.label}"?`:`Are you sure you want to delete preset?`,confirmLabel:`Delete`,destructive:!0,onConfirm:()=>{c&&i(c.id)}})]})}function yi({detail:e,show:t,className:n}){let r=X[e.status],i=e.amount.trim().startsWith(`-`),a=e=>t?.[e]!==!1;return(0,m.jsxs)(`div`,{className:E(`space-y-3`,n),children:[(a(`type`)||a(`status`))&&(0,m.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[a(`type`)?(0,m.jsx)(Sr,{direction:K[e.type].direction,label:K[e.type].label}):(0,m.jsx)(`span`,{}),a(`status`)&&(0,m.jsx)(Tr,{tone:r.tone,children:r.label})]}),(a(`amount`)||a(`amountFiat`))&&(0,m.jsxs)(`div`,{children:[a(`amount`)&&(0,m.jsxs)(`div`,{className:`flex items-baseline gap-1.5`,children:[(0,m.jsx)(`span`,{className:`text-3xl font-semibold tabular-nums text-foreground`,children:e.amount}),(0,m.jsx)(`span`,{className:`text-lg text-muted-foreground`,children:e.currency})]}),a(`amountFiat`)&&(0,m.jsx)(`div`,{className:E(`mt-0.5 text-sm font-medium tabular-nums`,i?`text-rose-600 dark:text-rose-400`:`text-emerald-600 dark:text-emerald-400`),children:e.amountFiat})]})]})}function bi({detail:e,show:t,className:n}){let r=e=>t?.[e]!==!1,i=e.customerTag!=null;return(0,m.jsx)(`div`,{className:n,children:(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-x-4 gap-y-3.5`,children:[(0,m.jsx)(Y,{label:`Currency`,show:r(`currency`),children:(0,m.jsx)(Xr,{value:e.currency,code:e.currency})}),(0,m.jsx)(Y,{label:`Network`,show:r(`network`),children:(0,m.jsx)(Xr,{value:e.networkLabel,code:e.network})}),(0,m.jsxs)(Y,{label:`Created at`,show:r(`createdAt`),children:[e.createdAt,`, `,e.createdTime]}),(0,m.jsxs)(Y,{label:`Updated at`,show:r(`updatedAt`),children:[e.updatedAt,`, `,e.updatedTime]}),(0,m.jsx)(Y,{label:`User ID`,show:r(`userId`),children:(0,m.jsx)(W,{value:e.userId,head:6,tail:6})}),i?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Y,{label:`Address`,show:r(`address`),children:(0,m.jsx)(W,{value:e.customerWallet,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`Tag`,show:r(`tag`),children:(0,m.jsx)(W,{value:e.customerTag??``,head:6,tail:6,asLink:!0})})]}):(0,m.jsx)(Y,{label:`Customer Wallet`,show:r(`customerWallet`),children:(0,m.jsx)(W,{value:e.customerWallet,head:6,tail:6,asLink:!0})}),(0,m.jsx)(Y,{label:`Expected deposit amount`,show:r(`expectedAmount`),children:(0,m.jsx)(Xr,{value:e.expectedAmount,code:e.currency,icon:!1})}),(0,m.jsx)(Y,{label:`Rate`,show:r(`rate`),children:e.rate}),(0,m.jsx)(Y,{label:`Commission fee`,show:r(`commissionFee`),children:e.commissionFee})]})})}function xi({detail:e,show:t,className:n}){let r=e=>t?.[e]!==!1;return(0,m.jsxs)(`section`,{className:n,children:[(0,m.jsx)($t,{children:`Reference ID`}),(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-x-4 gap-y-3.5`,children:[(0,m.jsx)(Y,{label:`Transaction UID`,show:r(`transactionUid`),children:(0,m.jsx)(W,{value:e.transactionUid,head:8,tail:6})}),(0,m.jsx)(Y,{label:`Partner payment ID`,show:r(`partnerPaymentId`),children:(0,m.jsx)(W,{value:e.partnerPaymentId,head:8,tail:6})})]})]})}function Si({detail:e,open:t,onOpenChange:n,show:r,onApprove:i,onReject:a}){return(0,m.jsx)(Ut,{open:t,onOpenChange:n,children:(0,m.jsxs)(qt,{"aria-describedby":void 0,className:`max-w-lg`,onOpenAutoFocus:e=>e.preventDefault(),children:[(0,m.jsx)(Jt,{className:`px-5 py-4`,children:(0,m.jsx)(Zt,{children:`Transaction Details`})}),e&&(0,m.jsx)(Yt,{className:`px-5 py-4`,children:(0,m.jsx)(Ci,{detail:e,show:r,onApprove:i,onReject:a})})]})})}function Ci({detail:e,show:t,onApprove:n,onReject:r}){let i=Br(e),a=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(bi,{detail:e,show:t?.info}),(0,m.jsx)(B,{})]}),o=t?.riskAssessment===!1?null:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(ni,{assessment:e.riskAssessment,actionRequired:i,onApprove:n,onReject:r}),(0,m.jsx)(B,{})]});return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(yi,{detail:e,show:t?.summary}),(0,m.jsx)(B,{}),i?(0,m.jsxs)(m.Fragment,{children:[o,a]}):(0,m.jsxs)(m.Fragment,{children:[a,o]}),(0,m.jsx)(Qr,{detail:e,show:t?.blockchain,showRefund:t?.showRefund}),(0,m.jsx)(B,{}),(0,m.jsx)(xi,{detail:e,show:t?.reference})]})}function wi(e,t){return e.includes(t)?e.filter(e=>e!==t):[...e,t]}function Ti({title:e,children:t}){return(0,m.jsxs)(`section`,{children:[(0,m.jsx)($t,{children:e}),t]})}var Ei=`flex cursor-pointer items-center gap-2.5 rounded-lg px-2 py-1.5 text-sm text-foreground transition-colors hover:bg-cb-seg`,Di={in:P,out:se,neutral:ie},Oi={in:`text-emerald-500`,out:`text-rose-500`,neutral:`text-slate-400`};function ki({open:e,onOpenChange:t,value:n,onApply:r,onSave:i}){let[a,o]=(0,d.useState)(n);(0,d.useEffect)(()=>{e&&o(n)},[e]);let s=di(a);return(0,m.jsx)(Ut,{open:e,onOpenChange:t,children:(0,m.jsxs)(qt,{children:[(0,m.jsxs)(Jt,{className:`px-5 py-4`,children:[(0,m.jsx)(Zt,{children:`Filters`}),(0,m.jsx)(Qt,{children:`Select filter to apply`})]}),(0,m.jsxs)(Yt,{className:`px-5 py-4`,children:[(0,m.jsx)(Ti,{title:`Type`,children:(0,m.jsx)(`div`,{className:`grid grid-cols-2 gap-x-4`,children:ci.map(e=>{let t=K[e.value].direction;return(0,m.jsxs)(`label`,{className:Ei,children:[(0,m.jsx)(rt,{checked:a.types.includes(e.value),onCheckedChange:()=>o(t=>({...t,types:wi(t.types,e.value)}))}),(0,m.jsx)(g.HugeiconsIcon,{icon:Di[t],size:16,strokeWidth:2,className:Oi[t]}),(0,m.jsx)(`span`,{children:e.label})]},e.value)})})}),(0,m.jsx)(B,{}),(0,m.jsx)(Ti,{title:`Status`,children:(0,m.jsx)(`div`,{className:`grid grid-cols-2 gap-x-4`,children:ii.map(e=>(0,m.jsxs)(`label`,{className:Ei,children:[(0,m.jsx)(rt,{checked:a.statuses.includes(e),onCheckedChange:()=>o(t=>({...t,statuses:wi(t.statuses,e)}))}),(0,m.jsx)(Tr,{tone:X[e].tone,children:X[e].label})]},e))})}),(0,m.jsx)(B,{}),(0,m.jsx)(Ti,{title:`Currency & Network`,children:(0,m.jsx)(`div`,{className:`grid grid-cols-2 gap-x-4`,children:ui.map(e=>(0,m.jsxs)(`label`,{className:Ei,children:[(0,m.jsx)(rt,{checked:a.assets.includes(e.key),onCheckedChange:()=>o(t=>({...t,assets:wi(t.assets,e.key)}))}),(0,m.jsx)(hr,{code:e.currency,network:e.network,codeSrc:q(e.currency),networkSrc:q(e.network),size:`xs`,className:`mr-1`}),(0,m.jsxs)(`span`,{className:`truncate`,children:[e.currency,` / `,e.network]})]},e.key))})}),(0,m.jsx)(B,{}),(0,m.jsx)(Ti,{title:`Risk Level`,children:(0,m.jsx)(`div`,{className:`grid grid-cols-2 gap-x-4`,children:li.map(e=>(0,m.jsxs)(`label`,{className:Ei,children:[(0,m.jsx)(rt,{checked:a.risks.includes(e.value),onCheckedChange:()=>o(t=>({...t,risks:wi(t.risks,e.value)}))}),(0,m.jsx)(`img`,{src:`/risk-${e.value}.svg`,alt:``,className:`size-[18px] shrink-0`}),(0,m.jsx)(`span`,{children:e.label})]},e.value))})}),(0,m.jsx)(B,{}),(0,m.jsxs)(Ti,{title:`Date Range`,children:[(0,m.jsxs)(Rt,{value:a.dateField,onValueChange:e=>o(t=>({...t,dateField:e})),className:`flex gap-6`,children:[(0,m.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2 text-sm text-foreground`,children:[(0,m.jsx)(zt,{value:`createdAt`}),`Created at`]}),(0,m.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2 text-sm text-foreground`,children:[(0,m.jsx)(zt,{value:`confirmedAt`}),`Confirmed at`]})]}),(0,m.jsx)(nt,{mode:`range`,className:`mt-3 rounded-xl border border-cb-line p-3`,selected:{from:a.from?(0,w.parseISO)(a.from):void 0,to:a.to?(0,w.parseISO)(a.to):void 0},onSelect:e=>o(t=>({...t,from:e?.from?(0,w.format)(e.from,`yyyy-MM-dd`):void 0,to:e?.to?(0,w.format)(e.to,`yyyy-MM-dd`):void 0}))})]})]}),(0,m.jsx)(ee,{actions:[{key:`reset`,label:`Reset`,variant:`ghost`,align:`start`,className:`text-muted-foreground`,onClick:()=>o(si)},{key:`save`,label:`Save`,variant:`ghost`,align:`start`,className:`text-foreground`,disabled:s,onClick:()=>i(a)},{key:`cancel`,label:`Cancel`,variant:`outline`,onClick:()=>t(!1)},{key:`apply`,label:`Apply`,onClick:()=>{r(a),t(!1)}}]})]})})}function Ai({date:e,time:t}){return e?(0,m.jsx)(G,{primary:e,secondary:t,tabularNums:!0}):(0,m.jsx)(`span`,{className:`text-muted-foreground tabular-nums`,children:`—`})}var ji=[{id:`type`,header:`Payment Type`,canHide:!1,cell:e=>(0,m.jsx)(Sr,{direction:K[e.type].direction,label:K[e.type].label}),skeleton:(0,m.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(V,{className:`size-7 rounded-full`}),(0,m.jsx)(V,{className:`h-4 w-16`})]})},{id:`status`,header:`Status`,canHide:!1,cell:e=>(0,m.jsx)(Tr,{tone:X[e.status].tone,children:X[e.status].label}),skeleton:(0,m.jsx)(V,{className:`h-5 w-24 rounded-md`})},{id:`risk`,header:`Risk`,cell:e=>(0,m.jsx)(Cr,{level:e.risk}),skeleton:(0,m.jsx)(V,{className:`h-4 w-5`})},{id:`amount`,header:`Amount`,align:`end`,canHide:!1,cell:e=>(0,m.jsx)(G,{align:`end`,tabularNums:!0,primary:(0,m.jsxs)(m.Fragment,{children:[e.amount,(0,m.jsx)(`span`,{className:`ml-1`,children:e.currency})]}),primaryClassName:`font-semibold`,secondary:e.amountFiat,secondaryClassName:e.amountFiat.trim().startsWith(`-`)?`text-rose-600 dark:text-rose-400`:`text-emerald-600 dark:text-emerald-400`}),skeleton:(0,m.jsxs)(`div`,{className:`flex w-24 flex-col items-end gap-1.5`,children:[(0,m.jsx)(V,{className:`h-4 w-20`}),(0,m.jsx)(V,{className:`h-3 w-14`})]})},{id:`currency`,header:`Currency`,cell:e=>(0,m.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,m.jsx)(hr,{code:e.currency,network:e.network,codeSrc:q(e.currency),networkSrc:q(e.network)}),(0,m.jsx)(G,{primary:e.currency,secondary:e.network,primaryClassName:`font-medium`})]}),skeleton:(0,m.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(V,{className:`size-7 rounded-full`}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(V,{className:`h-3.5 w-10`}),(0,m.jsx)(V,{className:`h-3 w-8`})]})]})},{id:`createdAt`,header:`Created at`,sortable:!0,sortValue:e=>new Date(`${e.createdAt} ${e.createdTime}`).getTime(),cell:e=>(0,m.jsx)(Ai,{date:e.createdAt,time:e.createdTime}),skeleton:(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(V,{className:`h-3.5 w-20`}),(0,m.jsx)(V,{className:`h-3 w-14`})]})},{id:`confirmedAt`,header:`Confirmed at`,sortable:!0,sortValue:e=>e.confirmedAt?new Date(`${e.confirmedAt} ${e.confirmedTime??``}`).getTime():-1/0,cell:e=>(0,m.jsx)(Ai,{date:e.confirmedAt,time:e.confirmedTime}),skeleton:(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(V,{className:`h-3.5 w-20`}),(0,m.jsx)(V,{className:`h-3 w-14`})]})},{id:`userId`,header:`User ID`,cell:e=>(0,m.jsx)(W,{value:e.userId,head:6,tail:6,revealOnHover:!0}),skeleton:(0,m.jsx)(V,{className:`h-4 w-28`})},{id:`orderId`,header:`Order ID`,cell:e=>(0,m.jsx)(W,{value:e.orderId,head:10,tail:6,revealOnHover:!0}),skeleton:(0,m.jsx)(V,{className:`h-4 w-32`})}],Mi=[{value:`uid`,label:`UID`},{value:`hash`,label:`Hash`},{value:`wallet`,label:`Wallet`}],Ni=ji.map(e=>({id:e.id,label:e.header,canHide:e.canHide}));function Pi({data:e,loading:t,onRowClick:n,columnVisibility:r,presets:i,pageSize:a=50,totalTransactions:o,currentPage:s=0,onPageChange:c}){return(0,m.jsx)(vr,{columns:ji,data:e,getRowId:e=>e.id,layout:`fill`,pageSize:a,totalItems:o,currentPage:s,onPageChange:c,loading:t,skeletonRows:12,columnVisibility:r,onRowClick:n,emptyMessage:`No transactions match your filters.`,rowLeading:e=>Br(e)?(0,m.jsxs)(mn,{children:[(0,m.jsx)(hn,{asChild:!0,children:(0,m.jsx)(`span`,{"aria-label":`Action Required`,className:`ml-1 block size-2 shrink-0 rounded-full bg-primary`})}),(0,m.jsx)(gn,{side:`right`,children:`Action Required`})]}):null,toolbarBelow:i})}var Fi=[{value:`all`,label:`All`},{value:`action`,label:`Action Required`}];function Ii({search:e,onSearchChange:t,searchScopes:n,searchScope:r,onSearchScopeChange:i,searchPlaceholder:a=`Search...`,segment:o,onSegmentChange:s,tabs:c=Fi,tabCounts:l,onFilter:u,filterCount:d=0,columns:f,columnVisibility:p,onColumnChange:h,onRefresh:_,refreshing:v=!1,onDownload:y,show:b,className:x}){let S=e=>b?.[e]!==!1,C=n?.find(e=>e.value===r)?.label,w=C?`Search by ${C}`:a;return(0,m.jsxs)(`div`,{className:E(`mb-2 flex shrink-0 flex-wrap items-center gap-2`,x),children:[S(`search`)&&(0,m.jsxs)(`div`,{className:`relative min-w-64 flex-1`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:He,size:16,strokeWidth:2,className:`pointer-events-none absolute top-1/2 left-2.5 -translate-y-1/2 text-muted-foreground`}),(0,m.jsx)(Et,{value:e,onChange:e=>t(e.target.value),placeholder:w,className:E(`pl-8 hover:border-slate-300`,n&&`pr-28`)}),n&&n.length>0&&(0,m.jsx)(`div`,{className:`absolute top-1/2 right-1.5 -translate-y-1/2`,children:(0,m.jsxs)(mt,{children:[(0,m.jsx)(ht,{asChild:!0,children:(0,m.jsxs)(`button`,{type:`button`,"aria-label":`Search field`,className:`flex cursor-pointer items-center gap-1 rounded-md border-l border-cb-line py-0.5 pr-1 pl-2.5 text-[13px] font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none`,children:[C,(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:14,strokeWidth:2})]})}),(0,m.jsx)(_t,{align:`end`,className:`min-w-[8rem]`,children:(0,m.jsx)(Tt,{value:r,onValueChange:e=>i?.(e),children:n.map(e=>(0,m.jsx)(R,{value:e.value,children:e.label},e.value))})})]})})]}),S(`tabs`)&&(0,m.jsx)(cn,{value:o,onValueChange:s,children:(0,m.jsx)(un,{children:c.map(e=>{let t=l?.[e.value]??0,n=t>99?`99+`:String(t),r=n.length>=2;return(0,m.jsxs)(dn,{value:e.value,children:[e.label,t>0&&(0,m.jsx)(`span`,{className:E(`ml-1 inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-full bg-cb-blue pt-px text-[11px] font-semibold text-white`,r?`px-1.5`:`px-1`),children:n})]},e.value)})})}),S(`filters`)&&(0,m.jsxs)(k,{variant:`outline`,className:`cursor-pointer shadow-xs`,onClick:u,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Te,size:16,color:`currentColor`,strokeWidth:2}),`Filters`,d>0&&(0,m.jsx)(`span`,{className:`ml-0.5 inline-flex h-4 min-w-4 items-center justify-center rounded-full bg-primary px-1 text-[11px] font-semibold text-primary-foreground`,children:d})]}),S(`columns`)&&(0,m.jsx)(dr,{columns:f,visible:p,onChange:h}),S(`refresh`)&&(0,m.jsx)(k,{variant:`outline`,size:`icon`,"aria-label":`Refresh`,title:`Refresh`,className:`cursor-pointer shadow-xs disabled:opacity-100`,onClick:_,disabled:v,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ze,size:16,color:`currentColor`,strokeWidth:2,className:v?`animate-spin`:void 0})}),S(`download`)&&(0,m.jsx)(br,{onDownload:y})]})}var Li=o({}),Ri=`–`;function zi({children:e}){return(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:e})}var Bi=[{id:`date`,header:`Date`,cell:e=>(0,m.jsx)(`span`,{className:`font-medium text-foreground`,children:e.date})},{id:`opening`,header:`Opening Balance`,cell:e=>e.openingBalance??(0,m.jsx)(zi,{children:Ri})},{id:`closing`,header:`Closing Balance`,cell:e=>e.closingBalance??(0,m.jsx)(zi,{children:Ri})},{id:`diff`,header:`Diff`,cell:e=>{if(!e.diff)return(0,m.jsx)(zi,{children:Ri});let t=e.diff.startsWith(`-`);return(0,m.jsx)(`span`,{className:E(`font-medium`,e.diff===`$0.00`?`text-muted-foreground`:t?`text-rose-600 dark:text-rose-400`:`text-emerald-600 dark:text-emerald-400`),children:e.diff})}},{id:`userDeposits`,header:`User Deposits`,cell:e=>e.userDeposits},{id:`userWithdrawals`,header:`User Withdrawals`,cell:e=>e.userWithdrawals},{id:`otherDeposits`,header:`Other Deposits`,cell:e=>e.otherDeposits},{id:`otherWithdrawals`,header:`Other Withdrawals`,cell:e=>e.otherWithdrawals}];function Vi({data:e,pageSize:t}){return(0,m.jsx)(vr,{columns:Bi,data:e,getRowId:e=>e.date,pageSize:t})}var Hi=900;function Ui(){let[e,t]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{if(typeof window>`u`||!window.matchMedia)return;let e=window.matchMedia(`(prefers-reduced-motion: reduce)`);t(e.matches);let n=()=>t(e.matches);return e.addEventListener(`change`,n),()=>e.removeEventListener(`change`,n)},[]),e}function Wi({segments:e,size:t=148,thickness:n=20,gap:r=2,animate:i=!0,className:a}){let o=e.reduce((e,t)=>e+t.value,0)||1,s=50-n/2,c=2*Math.PI*s,l=Ui(),u=i&&!l,[f,p]=(0,d.useState)(!u);(0,d.useEffect)(()=>{if(!u){p(!0);return}let e=requestAnimationFrame(()=>p(!0));return()=>cancelAnimationFrame(e)},[u]);let h=(0,d.useRef)(null),[g,_]=(0,d.useState)(null),v=(e,t)=>{let n=h.current?.getBoundingClientRect();n&&_({seg:t,x:e.clientX-n.left,y:e.clientY-n.top})},y=0;return(0,m.jsxs)(`div`,{ref:h,className:`relative`,style:{width:t,height:t},children:[(0,m.jsx)(`svg`,{viewBox:`0 0 100 100`,width:t,height:t,role:`img`,className:E(`-rotate-90`,a),children:e.map(e=>{let t=e.value/o*c,i=Math.max(0,t-r),a=y/c,l=t/c;return y+=t,(0,m.jsx)(`circle`,{cx:`50`,cy:`50`,r:s,fill:`none`,stroke:e.color,strokeWidth:n,strokeDashoffset:-(y-t),className:`cursor-default`,onMouseEnter:t=>v(t,e),onMouseMove:t=>v(t,e),onMouseLeave:()=>_(null),style:{strokeDasharray:f?`${i} ${c-i}`:`0 ${c}`,transition:u?`stroke-dasharray ${l*Hi}ms linear ${a*Hi}ms`:void 0}},e.label)})}),g&&(0,m.jsx)(`div`,{role:`tooltip`,style:{left:g.x,top:g.y},className:`pointer-events-none absolute z-10 -translate-x-1/2 -translate-y-[calc(100%+10px)] whitespace-nowrap rounded-md bg-slate-900 px-2 py-1 text-xs font-medium text-white shadow-md dark:bg-slate-700`,children:(0,m.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,m.jsx)(`span`,{className:`size-2 rounded-full`,style:{backgroundColor:g.seg.color}}),(0,m.jsx)(`span`,{children:g.seg.label}),g.seg.detail&&(0,m.jsx)(`span`,{className:`text-white/70`,children:g.seg.detail})]})})]})}var Gi=`grid grid-cols-[minmax(0,1fr)_140px_180px_auto] items-center gap-4`;function Ki({entries:e,onDownload:t,className:n}){return(0,m.jsxs)(`div`,{className:E(`flex flex-col`,n),children:[(0,m.jsxs)(`div`,{className:E(Gi,`px-1 pb-3 text-sm font-medium text-muted-foreground`),children:[(0,m.jsx)(`span`,{children:`File`}),(0,m.jsx)(`span`,{children:`Period`}),(0,m.jsx)(`span`,{children:`Generated by`}),(0,m.jsx)(`span`,{"aria-hidden":!0})]}),e.map(e=>(0,m.jsxs)(`div`,{className:E(Gi,`border-t border-cb-line px-1 py-3.5 text-sm`),children:[(0,m.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2.5`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:be,size:18,color:`currentColor`,strokeWidth:2,className:`shrink-0 text-muted-foreground`}),(0,m.jsx)(`span`,{className:`truncate font-medium text-foreground`,children:e.file})]}),(0,m.jsx)(`span`,{className:`text-foreground`,children:e.period}),(0,m.jsx)(`span`,{className:`text-foreground`,children:e.generatedBy}),(0,m.jsxs)(k,{variant:`outline`,size:`sm`,className:`cursor-pointer shadow-xs`,onClick:()=>t?.(e),children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Ce,size:14,color:`currentColor`,strokeWidth:2}),`Download`]})]},e.id))]})}var qi=o({ACCOUNT_START:()=>Yi,PRESETS:()=>Zi,REFERENCE_TODAY:()=>Ji,presetPeriod:()=>Qi}),Ji=new Date(2026,6,15),Yi=new Date(2024,0,1),Xi=e=>t=>({from:(0,w.subDays)(t,e-1),to:t}),Zi=[{id:`today`,label:`Today`,range:e=>({from:e,to:e})},{id:`yesterday`,label:`Yesterday`,range:e=>({from:(0,w.subDays)(e,1),to:(0,w.subDays)(e,1)})},{id:`today-yesterday`,label:`Today and yesterday`,range:e=>({from:(0,w.subDays)(e,1),to:e})},{id:`last-7`,label:`Last 7 days`,range:Xi(7)},{id:`last-14`,label:`Last 14 days`,range:Xi(14)},{id:`last-28`,label:`Last 28 days`,range:Xi(28)},{id:`last-30`,label:`Last 30 days`,range:Xi(30)},{id:`this-week`,label:`This week`,range:e=>({from:(0,w.startOfWeek)(e),to:e})},{id:`last-week`,label:`Last week`,range:e=>{let t=(0,w.subWeeks)(e,1);return{from:(0,w.startOfWeek)(t),to:(0,w.endOfWeek)(t)}}},{id:`this-month`,label:`This month`,range:e=>({from:(0,w.startOfMonth)(e),to:e})},{id:`last-month`,label:`Last month`,range:e=>{let t=(0,w.subMonths)(e,1);return{from:(0,w.startOfMonth)(t),to:(0,w.endOfMonth)(t)}}},{id:`maximum`,label:`Maximum`,range:e=>({from:Yi,to:e})}];function Qi(e,t=Ji){let{from:n,to:r}=e.range(t);return{mode:`range`,from:n,to:r,label:e.label}}var $i=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],ea={root:`w-full`,nav:`absolute inset-x-0 top-0 flex items-center justify-between px-1`,caption_label:`text-sm font-semibold text-foreground`,week:`mt-1 flex w-full`,weekday:`flex-1 text-[0.75rem] font-normal text-muted-foreground`,day:`relative flex-1 p-0 text-center text-sm`,day_button:E(O({variant:`ghost`,size:`icon`}),`mx-auto size-8 cursor-pointer rounded-md text-sm font-normal`)};function ta(e){return e.mode===`month`?e.month:e.from}function na(e){if(e.mode===`month`)return(0,w.format)(e.month,`MMMM yyyy`);if(e.label)return e.label;let t=e.from.getFullYear()===e.to.getFullYear();return`${(0,w.format)(e.from,t?`MMM d`:`MMM d, yyyy`)} – ${(0,w.format)(e.to,`MMM d, yyyy`)}`}function ra({value:e,onPick:t,onPreview:n}){return(0,m.jsx)(Vt,{className:`h-full w-44 shrink-0 border-r border-cb-line`,viewportClassName:`p-2`,onMouseLeave:()=>n(null),children:(0,m.jsx)(`div`,{className:`flex flex-col gap-0.5`,children:Zi.map(r=>(0,m.jsx)(`button`,{type:`button`,onClick:()=>t(r),onMouseEnter:()=>n(r),className:E(`shrink-0 cursor-pointer rounded-md px-2.5 py-1.5 text-left text-sm text-foreground transition-colors hover:bg-muted`,e.mode===`range`&&e.label===r.label&&`bg-primary/10 font-medium text-primary hover:bg-primary/10`),children:r.label},r.id))})})}function ia({draftMonth:e,today:t,onSelect:n}){let[r,i]=(0,d.useState)(()=>(e??t).getFullYear());return(0,m.jsxs)(`div`,{children:[(0,m.jsxs)(`div`,{className:`mb-3 flex items-center justify-between px-1`,children:[(0,m.jsx)(k,{variant:`ghost`,size:`icon-xs`,"aria-label":`Previous year`,onClick:()=>i(e=>e-1),className:`cursor-pointer text-muted-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ae,size:16,color:`currentColor`,strokeWidth:2})}),(0,m.jsx)(`span`,{className:`text-sm font-semibold text-foreground`,children:r}),(0,m.jsx)(k,{variant:`ghost`,size:`icon-xs`,"aria-label":`Next year`,onClick:()=>i(e=>e+1),className:`cursor-pointer text-muted-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:I,size:16,color:`currentColor`,strokeWidth:2})})]}),(0,m.jsx)(`div`,{className:`grid grid-cols-4 gap-1.5`,children:$i.map((t,i)=>(0,m.jsx)(`button`,{type:`button`,onClick:()=>n(new Date(r,i,1)),className:E(`h-11 cursor-pointer rounded-md text-sm font-medium text-foreground transition-colors hover:bg-muted`,!!e&&e.getFullYear()===r&&e.getMonth()===i&&`bg-primary text-primary-foreground hover:bg-primary`),children:t},t))})]})}function aa({value:e,today:t,onChange:n,onReset:r}){let[i,a]=(0,d.useState)(e.mode===`month`?`month`:`range`),[o,s]=(0,d.useState)(e.mode===`month`?e.month:(0,w.startOfMonth)(ta(e))),[c,l]=(0,d.useState)(e.mode===`range`?{from:e.from,to:e.to}:void 0),[u,f]=(0,d.useState)(null),p=!!c?.from&&!!c?.to,h=i===`month`||p;function g(e){i===`range`&&f(e?e.range(t):null)}function _(){i===`month`?n({mode:`month`,month:o}):c?.from&&c.to&&n({mode:`range`,from:c.from,to:c.to})}return(0,m.jsxs)(`div`,{className:`flex h-[360px]`,children:[(0,m.jsx)(ra,{value:e,onPick:e=>n(Qi(e,t)),onPreview:g}),(0,m.jsxs)(`div`,{className:`flex h-full w-72 flex-col p-3`,children:[(0,m.jsxs)(cn,{value:i,onValueChange:e=>{a(e),f(null)},className:`flex min-h-0 flex-1 flex-col gap-3`,children:[(0,m.jsxs)(un,{className:`w-full`,children:[(0,m.jsx)(dn,{value:`month`,children:`Month`}),(0,m.jsx)(dn,{value:`range`,children:`Date range`})]}),(0,m.jsx)(fn,{value:`month`,className:`mt-1 flex-1`,children:(0,m.jsx)(ia,{draftMonth:o,today:t,onSelect:s})}),(0,m.jsx)(fn,{value:`range`,className:`mt-1 flex-1`,children:(0,m.jsx)(nt,{mode:`range`,selected:u??c,onSelect:e=>{f(null),l(e)},defaultMonth:ta(e),className:`w-full p-0`,classNames:ea})})]}),(0,m.jsxs)(`div`,{className:`flex items-center justify-end gap-2 pt-3`,children:[(0,m.jsx)(k,{variant:`ghost`,onClick:r,className:`cursor-pointer text-foreground hover:bg-muted`,children:`Reset`}),(0,m.jsx)(k,{disabled:!h,onClick:_,className:`cursor-pointer`,children:`Apply`})]})]})]})}function oa({value:e,onChange:t,today:n=Ji,className:r}){let[i,a]=(0,d.useState)(!1);function o(n){if(e.mode===`month`)t({mode:`month`,month:n===1?(0,w.addMonths)(e.month,1):(0,w.subMonths)(e.month,1)});else{let r=(0,w.differenceInCalendarDays)(e.to,e.from)+1;t({mode:`range`,from:(0,w.addDays)(e.from,n*r),to:(0,w.addDays)(e.to,n*r)})}}return(0,m.jsxs)(`div`,{className:E(`inline-flex h-8 items-center rounded-lg border border-cb-line bg-cb-card shadow-xs`,r),children:[(0,m.jsxs)(Pt,{open:i,onOpenChange:a,children:[(0,m.jsx)(Ft,{asChild:!0,children:(0,m.jsxs)(`button`,{type:`button`,className:`flex h-full cursor-pointer items-center gap-2 rounded-l-lg pl-3 pr-2 text-sm font-medium text-foreground transition-colors hover:bg-muted/60`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:ue,size:16,color:`currentColor`,strokeWidth:2,className:`text-muted-foreground`}),na(e)]})}),(0,m.jsx)(Lt,{align:`end`,className:`w-auto p-0`,children:(0,m.jsx)(aa,{value:e,today:n,onChange:e=>{t(e),a(!1)},onReset:()=>{t({mode:`month`,month:(0,w.startOfMonth)(n)}),a(!1)}})})]}),(0,m.jsxs)(`div`,{className:`flex items-center border-l border-cb-line`,children:[(0,m.jsx)(`button`,{type:`button`,"aria-label":`Previous period`,onClick:()=>o(-1),className:`flex h-full w-7 cursor-pointer items-center justify-center text-muted-foreground transition-colors hover:text-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:ae,size:16,color:`currentColor`,strokeWidth:2})}),(0,m.jsx)(`button`,{type:`button`,"aria-label":`Next period`,onClick:()=>o(1),className:`flex h-full w-7 cursor-pointer items-center justify-center rounded-r-lg text-muted-foreground transition-colors hover:text-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:I,size:16,color:`currentColor`,strokeWidth:2})})]})]})}var sa=o({ASSET_COLORS:()=>ca,ASSET_COLOR_FALLBACK:()=>la,DAILY_BALANCES:()=>fa,EXPORT_HISTORY:()=>pa,REPORT_SUMMARIES:()=>da,assetColor:()=>ua}),ca={USDT:`#2B7DE7`,USDC:`#38BDF8`,BTC:`#3730A3`,ETH:`#7C6BF5`,SOL:`#22D3EE`,XRP:`#C4B5FD`},la=`#94A3B8`;function ua(e){return ca[e]??`#94A3B8`}var da=[{label:`Total Volume`,total:`$1,284.60`,slices:[{code:`ETH`,percent:33},{code:`USDT`,percent:28},{code:`SOL`,percent:14},{code:`XRP`,percent:10},{code:`BTC`,percent:8},{code:`USDC`,percent:7}]},{label:`Total Deposits`,total:`$1,042.80`,slices:[{code:`ETH`,percent:35},{code:`USDT`,percent:31},{code:`SOL`,percent:14},{code:`BTC`,percent:8},{code:`XRP`,percent:8},{code:`USDC`,percent:5}]},{label:`Total Withdrawals`,total:`$241.80`,slices:[{code:`USDT`,percent:26},{code:`ETH`,percent:25},{code:`XRP`,percent:21},{code:`USDC`,percent:17},{code:`SOL`,percent:12}]}],fa=[{date:`2026-07-02`,openingBalance:null,closingBalance:null,diff:null,userDeposits:`$0.00`,userWithdrawals:`$0.00`,otherDeposits:`$0.00`,otherWithdrawals:`$0.00`},{date:`2026-07-01`,openingBalance:`$683.01`,closingBalance:`$687.83`,diff:`$4.83`,userDeposits:`$0.00`,userWithdrawals:`$0.00`,otherDeposits:`$0.00`,otherWithdrawals:`$0.00`},{date:`2026-06-30`,openingBalance:`$671.20`,closingBalance:`$683.01`,diff:`$11.81`,userDeposits:`$45.00`,userWithdrawals:`$33.19`,otherDeposits:`$0.00`,otherWithdrawals:`$0.00`}],pa=[{id:`daily-balances-jun-2026`,file:`daily-balances-jun-2026.csv`,period:`Jun 2026`,generatedBy:`AM Testing`},{id:`reconciliation-2026-06-30`,file:`reconciliation-2026-06-30.csv`,period:`Jun 30`,generatedBy:`Filip AM`},{id:`transactions-q2-2026`,file:`transactions-q2-2026.csv`,period:`Apr–Jun 2026`,generatedBy:`Luka AM`}];function ma({summary:e}){return(0,m.jsx)(`div`,{className:`flex flex-wrap justify-center gap-x-4 gap-y-1.5`,children:e.slices.map(e=>(0,m.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 text-sm`,children:[(0,m.jsx)(`span`,{className:`size-2 shrink-0 rounded-full`,style:{backgroundColor:ua(e.code)}}),(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:e.code}),(0,m.jsxs)(`span`,{className:`font-medium text-foreground`,children:[e.percent,`%`]})]},e.code))})}function ha({summary:e,emphasized:t=!0,className:n}){let r=e.slices.map(e=>({label:e.code,value:e.percent,color:ua(e.code),detail:e.amount?`${e.amount} · ${e.percent}%`:`${e.percent}%`}));return(0,m.jsxs)(`div`,{className:E(`flex flex-col px-5 py-4`,n),children:[(0,m.jsx)(`span`,{className:`text-sm font-medium text-muted-foreground`,children:e.label}),(0,m.jsx)(`span`,{className:E(`mt-1 text-[2rem] leading-tight text-foreground`,t?`font-semibold`:`font-normal`),children:e.total}),(0,m.jsx)(`div`,{className:`mt-4 flex justify-center`,children:(0,m.jsx)(Wi,{segments:r})}),(0,m.jsx)(`div`,{className:`mt-5`,children:(0,m.jsx)(ma,{summary:e})})]})}function ga({summaries:e,className:t}){return(0,m.jsx)(`div`,{className:E(`grid grid-cols-1 divide-y divide-cb-line rounded-2xl border border-cb-line bg-cb-card shadow-xs lg:grid-cols-3 lg:divide-x lg:divide-y-0`,t),children:e.map((e,t)=>(0,m.jsx)(ha,{summary:e,emphasized:t===0},e.label))})}function _a({className:e}){return(0,m.jsxs)(`div`,{className:E(`flex flex-col items-center justify-center gap-3 rounded-2xl border border-cb-line bg-cb-card px-6 py-16 text-center shadow-xs`,e),children:[(0,m.jsx)(`div`,{className:`flex size-12 items-center justify-center rounded-full bg-muted text-muted-foreground`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:re,size:24,color:`currentColor`,strokeWidth:2})}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`text-base font-medium text-foreground`,children:`No activity in this period`}),(0,m.jsx)(`p`,{className:`mx-auto mt-1 max-w-sm text-sm text-muted-foreground`,children:`There were no deposits or withdrawals for the selected dates. Try a different period.`})]})]})}var va=o({}),ya=o({default:()=>Pa,getReportData:()=>Pa}),ba=[`USDT`,`USDC`,`BTC`,`ETH`,`SOL`,`XRP`],xa=Yi,Sa=Ji;function Ca(e){let t=e>>>0;return()=>{t|=0,t=t+1831565813|0;let e=Math.imul(t^t>>>15,1|t);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296}}function wa(e){if(e.mode===`month`)return e.month.getFullYear()*100+(e.month.getMonth()+1);let t=864e5,n=Math.floor(e.from.getTime()/t),r=Math.floor(e.to.getTime()/t);return n%1e5*1e3+r%1e3}function Ta(e){return e.mode===`month`?{start:(0,w.startOfMonth)(e.month),end:(0,w.endOfMonth)(e.month)}:{start:e.from,end:e.to}}function Z(e){return Math.round(e*100)/100}function Q(e){return`${e<0?`-`:``}$${Math.abs(e).toLocaleString(`en-US`,{minimumFractionDigits:2,maximumFractionDigits:2})}`}function Ea(e){return Math.round(e).toLocaleString(`en-US`)}function Da(e,t){let n=t.reduce((e,t)=>e+t,0)||1,r=t.map(t=>Math.round(e*t*100/n)),i=Math.round(e*100)-r.reduce((e,t)=>e+t,0),a=0;return r.forEach((e,t)=>{e>r[a]&&(a=t)}),r[a]+=i,r.map(e=>e/100)}function Oa(e,t){let n=t.reduce((e,t)=>e+t,0)||1,r=t.map(t=>e*t/n),i=r.map(Math.floor),a=e-i.reduce((e,t)=>e+t,0),o=r.map((e,t)=>({i:t,frac:e-Math.floor(e)})).sort((e,t)=>t.frac-e.frac),s=[...i];for(let e=0;e<a&&e<o.length;e++)s[o[e].i]++;return s}function ka(e,t){if(t<=0)return e.map(()=>0);let n=e.map(e=>e/t*100),r=n.map(Math.floor),i=100-r.reduce((e,t)=>e+t,0),a=n.map((e,t)=>({i:t,frac:e-Math.floor(e)})).sort((e,t)=>t.frac-e.frac),o=[...r];for(let e=0;e<i&&e<a.length;e++)o[a[e].i]++;return o}function Aa(e,t,n,r){let i=ka(n,t),a=ba.map((e,t)=>({code:e,percent:i[t],amount:r(n[t])})).filter(e=>e.percent>0).sort((e,t)=>t.percent-e.percent);return{label:e,total:r(t),slices:a}}function ja(e){return e===`transactions`?[`Total Transactions`,`Total Deposits`,`Total Withdrawals`]:[`Total Volume`,`Total Deposits`,`Total Withdrawals`]}function Ma(e){let t=e===`transactions`?`0`:`$0.00`;return ja(e).map(e=>({label:e,total:t,slices:[]}))}function Na(e,t,n){let r=e=>n()<e,i=(0,w.eachDayOfInterval)({start:e,end:t}),a=Z(600+n()*150);return i.map(e=>{let t=r(.65)?Z(n()*60):0,i=r(.5)?Z(n()*40):0,o=r(.15)?Z(n()*20):0,s=r(.15)?Z(n()*15):0,c=Z(t+o-i-s),l=Z(a+c),u={date:(0,w.format)(e,`yyyy-MM-dd`),openingBalance:Q(a),closingBalance:Q(l),diff:Q(c),userDeposits:Q(t),userWithdrawals:Q(i),otherDeposits:Q(o),otherWithdrawals:Q(s)};return a=l,u}).reverse()}function Pa(e,t=`volume`){let{start:n,end:r}=Ta(e),i=(0,w.max)([n,xa]),a=(0,w.min)([r,Sa]),o=a>=i?(0,w.differenceInCalendarDays)(a,i)+1:0;if(o<=0)return{isEmpty:!0,summaries:Ma(t),dailyBalances:[]};let s=Na(i,a,Ca(wa(e))),c=Ca(wa(e)+(t===`transactions`?4242:0)),l=ba.map(()=>c()+.1),u=ba.map(()=>c()+.1),[d,f,p]=ja(t);if(t===`transactions`){let e=Math.max(1,Math.round(o*(6+c()*8))),t=Math.round(e*(.2+c()*.3)),n=Oa(e,l),r=Oa(t,u),i=n.map((e,t)=>e+r[t]);return{isEmpty:!1,summaries:[Aa(d,e+t,i,Ea),Aa(f,e,n,Ea),Aa(p,t,r,Ea)],dailyBalances:s}}let m=Z(o*(8+c()*6)),h=Z(m*(.15+c()*.22)),g=Da(m,l),_=Da(h,u),v=g.map((e,t)=>Z(e+_[t]));return{isEmpty:!1,summaries:[Aa(d,Z(m+h),v,Q),Aa(f,m,g,Q),Aa(p,h,_,Q)],dailyBalances:s}}var Fa=[{id:`withdraw`,label:`Withdraw`,icon:se},{id:`deposit`,label:`Deposit`,icon:P},{id:`convert`,label:`Convert`,icon:F}];function Ia({variant:e=`menu`,label:t,onAction:n}){return e===`icons`?(0,m.jsx)(`div`,{className:`flex items-center justify-end gap-0.5`,children:Fa.map(({id:e,label:r,icon:i})=>(0,m.jsxs)(mn,{children:[(0,m.jsx)(hn,{asChild:!0,children:(0,m.jsx)(k,{variant:`ghost`,size:`icon-sm`,"aria-label":t?`${r} — ${t}`:r,onClick:()=>n?.(e),className:`cursor-pointer text-muted-foreground hover:bg-transparent hover:text-primary`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:i,size:16,color:`currentColor`,strokeWidth:2})})}),(0,m.jsx)(gn,{children:r})]},e))}):(0,m.jsx)(`div`,{className:`flex justify-end`,children:(0,m.jsxs)(mt,{children:[(0,m.jsx)(ht,{asChild:!0,children:(0,m.jsx)(k,{variant:`ghost`,size:`icon-sm`,"aria-label":t?`Actions — ${t}`:`Actions`,className:`cursor-pointer text-muted-foreground hover:bg-slate-200/70 hover:text-primary data-[state=open]:bg-slate-200/70 data-[state=open]:text-primary`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:Fe,size:24,color:`currentColor`,strokeWidth:2})})}),(0,m.jsx)(_t,{align:`end`,className:`min-w-[11rem] p-1.5`,children:Fa.map(({id:e,label:t,icon:r})=>(0,m.jsxs)(vt,{onSelect:()=>n?.(e),className:`cursor-pointer gap-2.5 rounded-md px-2.5 py-2 text-sm`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:r,size:16,color:`currentColor`,strokeWidth:2,className:`text-muted-foreground`}),t]},e))})]})})}var La=e=>e&&parseFloat(e.replace(/[^0-9.-]/g,``))||0,Ra=e=>{let t=e.indexOf(`.`);return t<0?0:e.length-t-1},za=(e,t)=>e.toLocaleString(`en-US`,{minimumFractionDigits:t,maximumFractionDigits:t}),Ba=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),Va=e=>e.name.toLowerCase().includes(`payout`);function Ha(e,t){let n=e.filter(Boolean);if(n.length===0)return;let r=n.reduce((e,t)=>e+La(t.pending),0);return{amount:za(n.reduce((e,t)=>e+La(t.amount),0),t),fiat:Ba(n.reduce((e,t)=>e+La(t.amountFiat),0)),pending:r>0?za(r,t):void 0,pendingFiat:r>0?Ba(n.reduce((e,t)=>e+La(t.pendingFiat),0)):void 0}}var Ua=e=>{let t=e?.note?La(e.note):0;return t>0&&La(e?.amountFiat)<t};function Wa(e){let t=Ra(e.wallets[0]?.amount??`0`),n=[],r={};for(let t of e.wallets)r[t.network]||(r[t.network]={networkName:t.networkName},n.push(t.network)),Va(t)?r[t.network].payout=t:r[t.network].main=t;let i=n.map(e=>{let n=r[e];return{network:e,networkName:n.networkName,main:Ha([n.main],t),payout:Ha([n.payout],t),total:Ha([n.main,n.payout],t),belowMin:Ua(n.main)||Ua(n.payout)}}),a={amount:za(0,t),fiat:Ba(0)};return{code:e.code,networkCount:n.length,main:Ha(e.wallets.filter(e=>!Va(e)),t)??a,payout:Ha(e.wallets.filter(Va),t)??a,total:Ha(e.wallets,t),networks:i}}function Ga({money:e,code:t,strong:n=!1,large:r=!1,muted:i=!1,align:a=`end`}){return e?(0,m.jsx)(G,{align:a,tabularNums:!0,primary:(0,m.jsxs)(m.Fragment,{children:[e.amount,(0,m.jsx)(`span`,{className:`ml-1`,children:t})]}),primaryClassName:E(i?`font-normal text-muted-foreground`:n?`font-bold`:`font-medium`,r&&`text-base`),secondary:(0,m.jsxs)(m.Fragment,{children:[e.fiat,e.pending&&(0,m.jsxs)(`span`,{className:`mt-0.5 block text-amber-600`,children:[`+`,e.pending,` pending`]})]}),secondaryClassName:r?`text-sm`:void 0}):(0,m.jsx)(`div`,{className:a===`end`?`text-right`:`text-left`,children:(0,m.jsx)(`span`,{className:E(`tabular-nums text-muted-foreground`,r&&`text-base`),children:`—`})})}function Ka({balances:e,actionsVariant:t=`menu`,className:n}){let{setExtension:r,stickyTop:i}=ar(),a=(0,d.useRef)(null),[o,s]=(0,d.useState)(new Set),c=e=>s(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n});(0,d.useEffect)(()=>{let e=a.current;if(!e)return;let t=e.closest(`main`),n=new IntersectionObserver(([t])=>{let n=!t.isIntersecting&&t.boundingClientRect.top<=i,a=e.nextElementSibling?.querySelector(`thead`);r(n?a?.offsetHeight??0:0)},{root:t,rootMargin:`-${i}px 0px 0px 0px`,threshold:0});return n.observe(e),()=>{n.disconnect(),r(0)}},[r,i]);let l=e.map(Wa);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`div`,{ref:a,"aria-hidden":!0,className:`h-px`}),(0,m.jsxs)(en,{containerClassName:`overflow-x-visible`,className:E(`mt-0.5 table-fixed border-separate border-spacing-0`,n),children:[(0,m.jsx)(tn,{className:E(`sticky z-30`,i===0&&`bg-white/85 backdrop-blur-md`),style:{top:i},children:(0,m.jsxs)(an,{className:`hover:bg-transparent`,children:[(0,m.jsx)(on,{className:`w-[34%] border-b-2 border-cb-line py-2 pl-4`,children:`Currency & Network`}),(0,m.jsx)(on,{className:`w-[21%] border-b-2 border-cb-line py-2 pl-4`,children:`Main Wallet`}),(0,m.jsx)(on,{className:`w-[21%] border-b-2 border-cb-line py-2 pl-4`,children:`Payout Wallet`}),(0,m.jsx)(on,{className:`border-b-2 border-cb-line py-2 pr-4 text-right`,children:`Total`}),(0,m.jsx)(on,{className:`w-20 border-b-2 border-cb-line py-2 pr-4`})]})}),(0,m.jsx)(nn,{children:l.map(e=>{let n=o.has(e.code);return(0,m.jsxs)(d.Fragment,{children:[(0,m.jsxs)(an,{className:`cursor-pointer hover:bg-slate-50`,onClick:()=>c(e.code),children:[(0,m.jsx)(H,{className:`border-b border-cb-line py-2.5 pl-4 align-top`,children:(0,m.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2,"aria-hidden":!0,className:E(`shrink-0 text-muted-foreground transition-transform`,!n&&`-rotate-90`)}),(0,m.jsx)(U,{src:q(e.code),code:e.code,className:`size-9 shrink-0`}),(0,m.jsxs)(`div`,{className:`flex flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`text-base font-bold`,children:e.code}),(0,m.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[e.networkCount,` network`,e.networkCount===1?``:`s`]})]})]})}),(0,m.jsx)(H,{className:`border-b border-cb-line py-2.5 pl-4 align-top`,children:(0,m.jsx)(Ga,{money:e.main,code:e.code,large:!0,align:`start`})}),(0,m.jsx)(H,{className:`border-b border-cb-line py-2.5 pl-4 align-top`,children:(0,m.jsx)(Ga,{money:e.payout,code:e.code,large:!0,align:`start`})}),(0,m.jsx)(H,{className:`border-b border-cb-line py-2.5 pr-4 align-top`,children:(0,m.jsx)(Ga,{money:e.total,code:e.code,strong:!0,large:!0})}),(0,m.jsx)(H,{className:`border-b border-cb-line py-2.5 pr-4 align-top`,children:(0,m.jsx)(`div`,{className:`flex items-center justify-end`,onClick:e=>e.stopPropagation(),children:(0,m.jsx)(Ia,{variant:t,label:`${e.code} actions`})})})]}),n&&e.networks.map(n=>(0,m.jsxs)(an,{className:`bg-slate-50/60 hover:bg-slate-100/60`,children:[(0,m.jsx)(H,{className:`border-b border-slate-100 py-2 pl-8 align-top`,children:(0,m.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(U,{src:q(n.network),code:n.network,className:`size-5 shrink-0`}),(0,m.jsx)(`span`,{className:`font-medium`,children:n.networkName}),n.belowMin&&(0,m.jsx)(`span`,{className:`text-xs font-medium text-amber-600`,children:`Below min`})]})}),(0,m.jsx)(H,{className:`border-b border-slate-100 py-2 pl-4 align-top`,children:(0,m.jsx)(Ga,{money:n.main,code:e.code,align:`start`,muted:!0})}),(0,m.jsx)(H,{className:`border-b border-slate-100 py-2 pl-4 align-top`,children:(0,m.jsx)(Ga,{money:n.payout,code:e.code,align:`start`,muted:!0})}),(0,m.jsx)(H,{className:`border-b border-slate-100 py-2 pr-4 align-top`,children:(0,m.jsx)(Ga,{money:n.total,code:e.code,muted:!0})}),(0,m.jsx)(H,{className:`border-b border-slate-100 py-2 pr-4 align-top`,children:(0,m.jsx)(`div`,{className:`flex items-center justify-end`,children:(0,m.jsx)(Ia,{variant:t,label:`${e.code} ${n.networkName} actions`})})})]},e.code+n.network))]},e.code)})})]})]})}function qa({label:e,value:t,valueClassName:n,children:r}){return(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5 px-5 py-4`,children:[(0,m.jsx)(`span`,{className:`text-sm font-medium leading-tight text-muted-foreground`,children:e}),(0,m.jsx)(`span`,{className:E(`text-2xl leading-none text-foreground`,n),children:r??t})]})}function Ja({totalAssets:e,totalPending:t,activeWallets:n,totalWallets:r,showTotalWallets:i=!0,pendingAmber:a=!1,className:o}){return(0,m.jsxs)(`div`,{className:E(`grid grid-cols-1 divide-y divide-cb-line rounded-2xl border border-cb-line bg-cb-card shadow-xs sm:grid-cols-3 sm:divide-x sm:divide-y-0`,o),children:[(0,m.jsx)(qa,{label:`Total assets under management`,value:e,valueClassName:`font-semibold`}),(0,m.jsx)(qa,{label:`Total pending`,value:t,valueClassName:E(`font-normal`,a&&`text-amber-600`)}),(0,m.jsxs)(qa,{label:`Active wallets`,children:[(0,m.jsx)(`span`,{className:`font-normal`,children:n}),i&&(0,m.jsxs)(`span`,{className:`ml-1.5 text-base font-medium text-muted-foreground`,children:[`/ `,r]})]})]})}var Ya=o({CURRENCY_BALANCES:()=>Xa,balancesTotals:()=>Za}),Xa=[{code:`BTC`,name:`Bitcoin`,totalAmount:`0.15000000`,totalAmountFiat:`$9,276.30`,totalPending:`0.00080000`,totalPendingFiat:`$49.47`,wallets:[{id:`btc-main`,name:`Main`,network:`BTC`,networkName:`Bitcoin`,amount:`0.15000000`,amountFiat:`$9,276.30`,pending:`0.00080000`,pendingFiat:`$49.47`},{id:`btc-payout`,name:`Payout`,note:`min $5,000`,network:`BTC`,networkName:`Bitcoin`,amount:`0.00000000`,amountFiat:`$0.00`}]},{code:`ETH`,name:`Ethereum`,totalAmount:`18.42000000`,totalAmountFiat:`$57,489.60`,totalPending:`0.34000000`,totalPendingFiat:`$1,061.28`,wallets:[{id:`eth-main`,name:`Main`,network:`ETH`,networkName:`Ethereum`,amount:`14.00000000`,amountFiat:`$43,680.00`,pending:`0.34000000`,pendingFiat:`$1,061.28`},{id:`eth-payout`,name:`Payout`,network:`ETH`,networkName:`Ethereum`,amount:`4.42000000`,amountFiat:`$13,809.60`}]},{code:`USDT`,name:`Tether`,totalAmount:`460,000.00`,totalAmountFiat:`$460,000.00`,totalPending:`1,500.00`,totalPendingFiat:`$1,500.00`,wallets:[{id:`usdt-eth-main`,name:`Main`,network:`ETH`,networkName:`Ethereum`,amount:`120,000.00`,amountFiat:`$120,000.00`},{id:`usdt-eth-payout`,name:`Payout`,network:`ETH`,networkName:`Ethereum`,amount:`30,000.00`,amountFiat:`$30,000.00`},{id:`usdt-tron-main`,name:`Main`,network:`TRON`,networkName:`Tron`,amount:`250,000.00`,amountFiat:`$250,000.00`,pending:`1,500.00`,pendingFiat:`$1,500.00`},{id:`usdt-tron-payout`,name:`Payout`,network:`TRON`,networkName:`Tron`,amount:`45,000.00`,amountFiat:`$45,000.00`},{id:`usdt-bnb-main`,name:`Main`,network:`BNB`,networkName:`BNB Chain`,amount:`15,000.00`,amountFiat:`$15,000.00`},{id:`usdt-bnb-payout`,name:`Payout`,network:`BNB`,networkName:`BNB Chain`,amount:`0.00`,amountFiat:`$0.00`}]},{code:`USDC`,name:`USD Coin`,totalAmount:`100,000.00`,totalAmountFiat:`$100,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`usdc-main`,name:`Main`,network:`ETH`,networkName:`Ethereum`,amount:`80,000.00`,amountFiat:`$80,000.00`},{id:`usdc-payout`,name:`Payout`,network:`ETH`,networkName:`Ethereum`,amount:`20,000.00`,amountFiat:`$20,000.00`}]},{code:`SOL`,name:`Solana`,totalAmount:`1,000.00`,totalAmountFiat:`$150,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`sol-main`,name:`Main`,network:`SOL`,networkName:`Solana`,amount:`900.00`,amountFiat:`$135,000.00`},{id:`sol-payout`,name:`Payout`,network:`SOL`,networkName:`Solana`,amount:`100.00`,amountFiat:`$15,000.00`}]},{code:`AVAX`,name:`Avalanche`,totalAmount:`2,500.00`,totalAmountFiat:`$100,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`avax-main`,name:`Main`,network:`AVAX`,networkName:`Avalanche`,amount:`2,000.00`,amountFiat:`$80,000.00`},{id:`avax-payout`,name:`Payout`,network:`AVAX`,networkName:`Avalanche`,amount:`500.00`,amountFiat:`$20,000.00`}]},{code:`BNB`,name:`BNB`,totalAmount:`200.00`,totalAmountFiat:`$120,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`bnb-main`,name:`Main`,network:`BNB`,networkName:`BNB Chain`,amount:`150.00`,amountFiat:`$90,000.00`},{id:`bnb-payout`,name:`Payout`,network:`BNB`,networkName:`BNB Chain`,amount:`50.00`,amountFiat:`$30,000.00`}]},{code:`POL`,name:`Polygon`,totalAmount:`120,000.00`,totalAmountFiat:`$60,000.00`,totalPending:`0.00`,totalPendingFiat:`$0.00`,wallets:[{id:`pol-main`,name:`Main`,network:`POL`,networkName:`Polygon`,amount:`100,000.00`,amountFiat:`$50,000.00`},{id:`pol-payout`,name:`Payout`,network:`POL`,networkName:`Polygon`,amount:`20,000.00`,amountFiat:`$10,000.00`}]}];function Za(e){let t=e=>parseFloat(e.replace(/[^0-9.-]/g,``))||0,n=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),r=e.flatMap(e=>e.wallets);return{totalAssets:n(e.reduce((e,n)=>e+t(n.totalAmountFiat),0)),totalPending:n(e.reduce((e,n)=>e+t(n.totalPendingFiat),0)),activeWallets:r.filter(e=>t(e.amount)>0).length,totalWallets:r.length}}var Qa=o({}),$a=o({RECENT_TRANSACTIONS:()=>eo,default:()=>eo}),eo=[{id:`rtx-1`,label:`Manual Deposit`,direction:`in`,status:`confirmed`,currency:`USDT`,network:`TRX`,amount:`+20.00`,amountFiat:`+$20.00`,from:{label:`0xd4f8c2...e2f8c4`,value:`0xd4f8c2a19b7e3f0c6d5a4b8e1c2f8c4`,address:!0},to:{label:`Low Risk Wallet`,value:`Low Risk Wallet`},date:`Mar 10, 2024`,time:`11:31 AM`,initiatedBy:`J. Smith`,txHash:`0xd4f8c2a1b3e5d7f9c1a3b5d7e9f1c3a5b7d9e1f3c5a7b9d1e3f5c7a9b1e5f3c9b6`},{id:`rtx-2`,label:`Manual Deposit`,direction:`in`,status:`confirmed`,currency:`USDT`,network:`TRX`,amount:`+50.00`,amountFiat:`+$50.00`,from:{label:`Low Risk Wallet`,value:`Low Risk Wallet`},to:{label:`Medium Risk Wallet`,value:`Medium Risk Wallet`},date:`Mar 10, 2024`,time:`10:15 AM`,initiatedBy:`J. Smith`,txHash:`0xa3c7e1d9f2b4a6c8e0d2f4b6a8c0e2d4f6b8a0c2e4d6f8b0a2c4e6d8f0b2f6b8e0a2`},{id:`rtx-3`,label:`Auto Transfer`,direction:`transfer`,status:`confirmed`,currency:`USDT`,network:`TRX`,amount:`100.00`,amountFiat:`$100.00`,from:{label:`High Risk Wallet`,value:`High Risk Wallet`},to:{label:`Payout Wallet`,value:`Payout Wallet`},date:`Mar 9, 2024`,time:`3:45 PM`,txHash:`0xf1a4d8c2b5e7a9c1d3f5b7e9a1c3d5f7b9e1a3c5d7f9b1e3a5c7d9f1b3e1b5f9a3`},{id:`rtx-4`,label:`Manual Withdraw`,direction:`out`,status:`confirmed`,currency:`USDT`,network:`TRX`,amount:`-75.50`,amountFiat:`-$75.50`,from:{label:`Payout Wallet`,value:`Payout Wallet`},to:{label:`0x9b2e7f...a1c4d8`,value:`0x9b2e7f0a3c6d9b2e5f8a1c4d8`,address:!0},date:`Mar 9, 2024`,time:`1:20 PM`,initiatedBy:`M. Chen`,txHash:`0xb7d9e1f3c5a7b9d1e3f5c7a9b1e3f5c7a9b1d3e5f7c9a1b3d5e7f9c1a3b5d7e9f1c3`},{id:`rtx-5`,label:`Auto Transfer`,direction:`transfer`,status:`processing`,currency:`USDT`,network:`TRX`,amount:`250.00`,amountFiat:`$250.00`,from:{label:`Low Risk Wallet`,value:`Low Risk Wallet`},to:{label:`Operational Wallet`,value:`Operational Wallet`},date:`Mar 8, 2024`,time:`9:02 AM`,txHash:`0xc5a7b9d1e3f5c7a9b1e3f5c7a9b1d3e5f7c9a1b3d5e7f9c1a3b5d7e9f1c3a5b7d9e1`}];function $({id:e,label:t,value:n,options:r,onChange:i,placeholder:a=`Select…`,emptyMessage:o=`No options available.`,disabled:s=!1,className:c}){let[l,u]=(0,d.useState)(!1),f=r.find(e=>e.value===n)??null,p=s||r.length===0;return(0,m.jsxs)(`div`,{className:E(`flex flex-col gap-1.5`,c),children:[t!=null&&(0,m.jsx)(z,{htmlFor:e,className:`text-[13px] font-medium text-muted-foreground`,children:t}),(0,m.jsxs)(Pt,{open:l,onOpenChange:u,children:[(0,m.jsx)(Ft,{asChild:!0,children:(0,m.jsxs)(`button`,{id:e,type:`button`,disabled:p,"aria-label":typeof t==`string`?t:void 0,className:E(`flex h-12 w-full items-center justify-between gap-2 rounded-lg border border-input bg-transparent px-2.5 text-left text-sm transition-colors`,`hover:border-slate-300 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-none aria-expanded:border-slate-300`,`disabled:pointer-events-none disabled:opacity-50`),children:[f?(0,m.jsxs)(`span`,{className:`flex min-w-0 flex-1 items-center gap-2.5`,children:[f.leading,(0,m.jsxs)(`span`,{className:`flex min-w-0 flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`truncate font-medium text-foreground`,children:f.label}),f.sublabel!=null&&(0,m.jsx)(`span`,{className:`truncate text-xs text-muted-foreground`,children:f.sublabel})]})]}):(0,m.jsx)(`span`,{className:`flex-1 truncate text-muted-foreground`,children:a}),(0,m.jsxs)(`span`,{className:`flex shrink-0 items-center gap-2 text-muted-foreground`,children:[f?.meta,(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2})]})]})}),(0,m.jsx)(Lt,{align:`start`,className:`max-h-72 w-[var(--radix-popover-trigger-width)] overflow-y-auto p-1`,children:r.length===0?(0,m.jsx)(`p`,{className:`px-2.5 py-6 text-center text-sm text-muted-foreground`,children:o}):r.map(e=>{let t=e.value===n;return(0,m.jsxs)(`button`,{type:`button`,disabled:e.disabled,onClick:()=>{i(e.value),u(!1)},className:E(`flex w-full items-center gap-2.5 rounded-lg px-2 py-1.5 text-left text-sm outline-none transition-colors`,`hover:bg-cb-seg focus-visible:bg-cb-seg`,`disabled:pointer-events-none disabled:opacity-50`,t&&`bg-cb-seg`),children:[e.leading,(0,m.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`truncate font-medium text-foreground`,children:e.label}),e.sublabel!=null&&(0,m.jsx)(`span`,{className:`truncate text-xs text-muted-foreground`,children:e.sublabel})]}),e.meta!=null&&(0,m.jsx)(`span`,{className:`shrink-0 text-right text-xs text-muted-foreground`,children:e.meta}),(0,m.jsx)(`span`,{className:`flex w-4 shrink-0 justify-center text-primary`,children:t&&(0,m.jsx)(g.HugeiconsIcon,{icon:Je,size:16,strokeWidth:2.2})})]},e.value)})})]})]})}function to({id:e,label:t=`Amount`,value:n,onChange:r,suffix:i,hint:a,helper:o,onMax:s,maxDisabled:c=!1,disabled:l=!1,invalid:u=!1,placeholder:d=`0.00`,className:f}){return(0,m.jsxs)(`div`,{className:E(`flex flex-col gap-1.5`,f),children:[(0,m.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,m.jsx)(z,{htmlFor:e,className:`text-[13px] font-medium text-muted-foreground`,children:t}),a!=null&&(0,m.jsx)(`span`,{className:`text-xs tabular-nums text-muted-foreground`,children:a})]}),(0,m.jsxs)(`div`,{className:`relative`,children:[(0,m.jsx)(Et,{id:e,inputMode:`decimal`,placeholder:d,maxLength:18,value:n,disabled:l,"aria-invalid":u,onChange:e=>r(e.target.value),className:`h-12 pr-28 text-lg font-medium tabular-nums md:text-lg`}),(0,m.jsxs)(`div`,{className:`absolute top-1/2 right-1.5 flex -translate-y-1/2 items-center gap-1.5`,children:[i!=null&&(0,m.jsx)(`span`,{className:`text-sm font-medium text-muted-foreground`,children:i}),s&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Ht,{orientation:`vertical`,className:`h-4`}),(0,m.jsx)(k,{type:`button`,size:`xs`,variant:`ghost`,disabled:c,onClick:s,className:`cursor-pointer text-primary hover:text-primary`,children:`Max`})]})]})]}),o!=null&&(0,m.jsx)(`div`,{className:`min-h-4 text-xs`,children:o})]})}function no({id:e,label:t,value:n,onChange:r,placeholder:i,hint:a,helper:o,disabled:s=!1,invalid:c=!1,inputMode:l,spellCheck:u,autoComplete:d,maxLength:f,inputClassName:p,className:h}){return(0,m.jsxs)(`div`,{className:E(`flex flex-col gap-1.5`,h),children:[(t!=null||a!=null)&&(0,m.jsxs)(`div`,{className:`flex items-center justify-between`,children:[t==null?(0,m.jsx)(`span`,{}):(0,m.jsx)(z,{htmlFor:e,className:`text-[13px] font-medium text-muted-foreground`,children:t}),a!=null&&(0,m.jsx)(`span`,{className:`text-xs tabular-nums text-muted-foreground`,children:a})]}),(0,m.jsx)(Et,{id:e,value:n,onChange:e=>r(e.target.value),placeholder:i,disabled:s,"aria-invalid":c,inputMode:l,spellCheck:u,autoComplete:d,maxLength:f,className:E(`h-12`,p)}),o!=null&&(0,m.jsx)(`div`,{className:`min-h-4 text-xs`,children:o})]})}function ro(e){return e.length>18?`${e.slice(0,10)}…${e.slice(-6)}`:e}function io({id:e,label:t=`Wallet`,placeholder:n=`Select a wallet`,value:r,onChange:i,wallets:a,emptyMessage:o=`No wallets available.`,variant:s=`simple`,disabled:c=!1,className:l}){return(0,m.jsx)($,{id:e,label:t,placeholder:n,value:r,options:a.map(e=>s===`simple`?{value:e.id,label:e.name}:{value:e.id,label:e.name,sublabel:e.address?ro(e.address):void 0,leading:e.coin&&e.network?(0,m.jsx)(hr,{code:e.coin,network:e.network,codeSrc:q(e.coin),networkSrc:q(e.network),size:`sm`}):void 0,meta:e.amount==null?void 0:(0,m.jsxs)(`span`,{className:`flex flex-col items-end leading-tight tabular-nums`,children:[(0,m.jsxs)(`span`,{className:`text-foreground`,children:[e.amount,e.coin?` ${e.coin}`:``]}),e.amountFiat!=null&&(0,m.jsx)(`span`,{children:e.amountFiat})]})}),onChange:i,emptyMessage:o,disabled:c,className:l})}function ao(e){let t=Date.parse(`${e.date} ${e.time}`);return Number.isNaN(t)?0:t}function oo({name:e}){return(0,m.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`flex size-6 shrink-0 items-center justify-center rounded-full bg-cb-seg text-[10px] font-semibold text-muted-foreground`,children:e.split(` `).map(e=>e[0]).slice(0,2).join(``).toUpperCase()}),(0,m.jsx)(`span`,{className:`truncate text-sm text-foreground`,children:e})]})}function so({amount:e,coin:t,tone:n}){return(0,m.jsxs)(`span`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(U,{code:t,src:q(t),className:`size-7`}),(0,m.jsx)(G,{tabularNums:!0,primary:(0,m.jsxs)(`span`,{className:E(`font-medium`,n===`out`?`text-red-600 dark:text-red-400`:`text-emerald-600 dark:text-emerald-400`),children:[e,` `,t]})})]})}function co({data:e,className:t}){let n=(0,d.useMemo)(()=>[{id:`date`,header:`Date`,sortable:!0,sortValue:ao,cell:e=>(0,m.jsx)(G,{primary:e.date,secondary:e.time})},{id:`initiator`,header:`Initiated by`,sortable:!0,sortValue:e=>e.initiator,cell:e=>(0,m.jsx)(oo,{name:e.initiator})},{id:`from`,header:`From`,cell:e=>(0,m.jsx)(so,{amount:e.fromAmount,coin:e.fromCoin,tone:`out`})},{id:`to`,header:`To`,cell:e=>(0,m.jsx)(so,{amount:e.toAmount,coin:e.toCoin,tone:`in`})},{id:`rate`,header:`Rate`,cell:e=>(0,m.jsx)(`span`,{className:`text-sm tabular-nums text-muted-foreground`,children:e.rate})},{id:`status`,header:`Status`,cell:e=>(0,m.jsx)(Tr,{tone:X[e.status].tone,children:X[e.status].label})}],[]);return(0,m.jsx)(`div`,{className:E(t),children:(0,m.jsx)(vr,{columns:n,data:e.slice(0,5),getRowId:e=>e.id,density:`comfortable`,emptyMessage:`No conversions yet.`})})}function lo({caption:e,coin:t,amount:n,fiat:r,amountClassName:i}){let a=n!=null&&n!==``;return(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e}),(0,m.jsxs)(`div`,{className:`flex items-center gap-3`,children:[t?(0,m.jsx)(U,{code:t,src:q(t),className:`size-9`}):(0,m.jsx)(`span`,{className:`size-9 shrink-0 rounded-full bg-muted`}),(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:E(`block truncate text-xl font-semibold tabular-nums text-foreground`,i),children:a?(0,m.jsxs)(m.Fragment,{children:[n,` `,(0,m.jsx)(`span`,{className:`text-base font-medium text-muted-foreground`,children:t})]}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),a&&r?(0,m.jsx)(`span`,{className:`block truncate text-sm tabular-nums text-muted-foreground`,children:r}):null]})]})]})}function uo({fromCoin:e,toCoin:t,payAmount:n,payFiat:r,receiveAmount:i,receiveFiat:a,rateLabel:o,rateCountdown:s,rateTtl:c=30,rateVersion:l=0,feeLabel:u,fromWalletName:d,fromWalletAddress:f,toWalletName:p,toWalletAddress:h,footer:_,className:v}){return(0,m.jsxs)(`div`,{className:E(`flex flex-col rounded-2xl border border-cb-line bg-slate-50 dark:bg-slate-900/40`,v),children:[(0,m.jsxs)(`div`,{className:`px-5 pb-3 pt-4`,children:[(0,m.jsx)(`h2`,{className:`text-base font-semibold text-foreground`,children:`Summary`}),(0,m.jsx)(`p`,{className:`mt-0.5 text-[13px] text-muted-foreground`,children:`Review before you convert.`})]}),(0,m.jsxs)(`div`,{className:`px-5 pb-3`,children:[(0,m.jsx)(lo,{caption:`You pay`,coin:e,amount:n,fiat:r}),(0,m.jsxs)(`div`,{className:`relative -mx-5 my-3`,children:[(0,m.jsx)(`div`,{className:`border-t border-cb-line`}),(0,m.jsx)(`span`,{className:`absolute left-1/2 top-1/2 flex size-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border border-cb-line bg-slate-50 text-muted-foreground dark:bg-slate-900`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:N,size:16,strokeWidth:2})})]}),(0,m.jsx)(lo,{caption:`You receive`,coin:t,amount:i,fiat:a,amountClassName:`text-emerald-600 dark:text-emerald-400`})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-2.5 px-5 pb-4`,children:[(0,m.jsx)(Y,{label:`Rate`,children:o?(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,m.jsx)(`span`,{className:E(`inline-block rounded px-1.5 font-medium tabular-nums text-foreground`,s!=null&&`animate-rate-flash`),children:o},l),s!=null&&(0,m.jsx)(fo,{seconds:s,total:c})]}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),(0,m.jsx)(Y,{label:`Estimated commission`,children:u?(0,m.jsx)(`span`,{className:`tabular-nums text-foreground`,children:u}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),(0,m.jsx)(Y,{label:`From wallet`,children:d?(0,m.jsxs)(`div`,{className:`flex flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`font-medium text-foreground`,children:d}),f&&(0,m.jsx)(W,{value:f,head:12,tail:8,className:`mt-0.5`})]}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),(0,m.jsx)(Y,{label:`To wallet`,children:p?(0,m.jsxs)(`div`,{className:`flex flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`font-medium text-foreground`,children:p}),h&&(0,m.jsx)(W,{value:h,head:12,tail:8,className:`mt-0.5`})]}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})})]}),_&&(0,m.jsx)(`div`,{className:`mt-auto px-5 pb-4`,children:_})]})}function fo({seconds:e,total:t}){let n=2*Math.PI*8,r=t>0?Math.max(0,Math.min(1,e/t)):0;return(0,m.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2 rounded-full border border-cb-line bg-cb-card px-2.5 py-1`,title:`The rate isn't fixed — it refreshes every 30 seconds.`,children:[(0,m.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 20 20`,className:`-rotate-90`,children:[(0,m.jsx)(`circle`,{cx:`10`,cy:`10`,r:8,fill:`none`,strokeWidth:`2.5`,className:`stroke-slate-200 dark:stroke-slate-700`}),(0,m.jsx)(`circle`,{cx:`10`,cy:`10`,r:8,fill:`none`,strokeWidth:`2.5`,strokeLinecap:`round`,className:`stroke-primary transition-[stroke-dashoffset] duration-500 ease-linear`,strokeDasharray:n,strokeDashoffset:n*(1-r)})]}),(0,m.jsxs)(`span`,{className:`whitespace-nowrap text-xs font-medium tabular-nums text-muted-foreground`,children:[`Expires in `,(0,m.jsxs)(`span`,{className:`text-foreground`,children:[e,`s`]})]})]})}var po=o({COINS:()=>_o,CONVERSION_HISTORY:()=>yo,CONVERT_FEE_RATE:()=>mo,HOLDINGS:()=>vo,NETWORK_NAMES:()=>go,WALLET_TIERS:()=>ho,figureToNumber:()=>bo,formatCrypto:()=>So,formatUsd:()=>xo}),mo=.002,ho=[{id:`low`,name:`Low Risk Wallet`,purpose:`low`},{id:`medium`,name:`Medium Risk Wallet`,purpose:`medium`},{id:`high`,name:`High Risk Wallet`,purpose:`high`},{id:`payout`,name:`Payout Wallet`,purpose:`payout`}],go={ETH:`Ethereum`,TRON:`Tron (TRC-20)`,BTC:`Bitcoin`,SOL:`Solana`,POL:`Polygon`,BNB:`BNB Chain`},_o=[{code:`USDT`,name:`Tether`,price:1,networks:[`ETH`,`TRON`,`SOL`,`POL`]},{code:`USDC`,name:`USD Coin`,price:1,networks:[`ETH`,`SOL`,`POL`]},{code:`ETH`,name:`Ethereum`,price:3121,networks:[`ETH`]},{code:`BTC`,name:`Bitcoin`,price:61842,networks:[`BTC`]},{code:`SOL`,name:`Solana`,price:148,networks:[`SOL`]},{code:`POL`,name:`Polygon`,price:.45,networks:[`POL`]},{code:`BNB`,name:`BNB`,price:600,networks:[`BNB`]}],vo=[{id:`h-usdt-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`ETH`,address:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,amount:`42,120.00`,amountFiat:`$42,120.00`},{id:`h-usdt-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDT`,network:`TRON`,address:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,amount:`8,500.00`,amountFiat:`$8,500.00`},{id:`h-usdc-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDC`,network:`ETH`,address:`0x9a83716c3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2`,amount:`18,900.00`,amountFiat:`$18,900.00`},{id:`h-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`ETH`,network:`ETH`,address:`0xc6b8a71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e`,amount:`16.100000`,amountFiat:`$50,248.20`},{id:`h-eth-high`,name:`High Risk Wallet`,purpose:`high`,coin:`ETH`,network:`ETH`,address:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,amount:`2.400000`,amountFiat:`$7,490.40`},{id:`h-btc-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`BTC`,network:`BTC`,address:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,amount:`0.18000000`,amountFiat:`$11,131.56`},{id:`h-btc-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`BTC`,network:`BTC`,address:`bc1q9d4ywgfnd8h43da5tpcxcn6ajv590cll4gmmuq`,amount:`0.02000000`,amountFiat:`$1,236.84`},{id:`h-sol-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`SOL`,network:`SOL`,address:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,amount:`280.00000000`,amountFiat:`$41,440.00`},{id:`h-bnb-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`BNB`,network:`BNB`,address:`0x3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2b9a83716`,amount:`36.50000000`,amountFiat:`$21,900.00`},{id:`h-pol-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`POL`,network:`POL`,address:`0x71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8`,amount:`12,500.00000000`,amountFiat:`$5,625.00`}],yo=[{id:`cv-01`,date:`Jul 14, 2026`,time:`03:20 PM`,initiator:`Maya Okafor`,wallet:`Low Risk Wallet`,fromCoin:`ETH`,toCoin:`USDT`,fromAmount:`-2.00000000`,toAmount:`+6,229.32`,rate:`1 ETH = 3,121.00 USDT`,fiatValue:`$6,242.00`,status:`confirmed`},{id:`cv-02`,date:`Jul 14, 2026`,time:`10:12 AM`,initiator:`Daniel Roth`,wallet:`Low Risk Wallet`,fromCoin:`USDT`,toCoin:`BTC`,fromAmount:`-12,000.00`,toAmount:`+0.19371300`,rate:`1 BTC = 61,842.00 USDT`,fiatValue:`$12,000.00`,status:`processing`},{id:`cv-03`,date:`Jul 13, 2026`,time:`06:41 PM`,initiator:`Priya Nair`,wallet:`Operational Wallet`,fromCoin:`USDC`,toCoin:`SOL`,fromAmount:`-3,000.00`,toAmount:`+20.23783700`,rate:`1 SOL = 148.00 USDC`,fiatValue:`$3,000.00`,status:`confirmed`},{id:`cv-04`,date:`Jul 13, 2026`,time:`09:05 AM`,initiator:`Maya Okafor`,wallet:`Low Risk Wallet`,fromCoin:`BTC`,toCoin:`USDT`,fromAmount:`-0.05000000`,toAmount:`+3,085.92`,rate:`1 BTC = 61,842.00 USDT`,fiatValue:`$3,092.10`,status:`confirmed`},{id:`cv-05`,date:`Jul 12, 2026`,time:`02:37 PM`,initiator:`Sofia Grant`,wallet:`Low Risk Wallet`,fromCoin:`SOL`,toCoin:`USDC`,fromAmount:`-50.00000000`,toAmount:`+7,385.20`,rate:`1 SOL = 148.00 USDC`,fiatValue:`$7,400.00`,status:`confirmed`},{id:`cv-06`,date:`Jul 12, 2026`,time:`08:22 AM`,initiator:`Daniel Roth`,wallet:`Low Risk Wallet`,fromCoin:`BNB`,toCoin:`ETH`,fromAmount:`-10.00000000`,toAmount:`+1.91797500`,rate:`1 ETH = 5.20 BNB`,fiatValue:`$6,000.00`,status:`failed`},{id:`cv-07`,date:`Jul 11, 2026`,time:`05:10 PM`,initiator:`Priya Nair`,wallet:`Low Risk Wallet`,fromCoin:`POL`,toCoin:`USDT`,fromAmount:`-10,000.00000000`,toAmount:`+4,491.00`,rate:`1 POL = 0.45 USDT`,fiatValue:`$4,500.00`,status:`confirmed`},{id:`cv-08`,date:`Jul 11, 2026`,time:`11:48 AM`,initiator:`Sofia Grant`,wallet:`Low Risk Wallet`,fromCoin:`USDT`,toCoin:`ETH`,fromAmount:`-9,000.00`,toAmount:`+2.88240900`,rate:`1 ETH = 3,121.00 USDT`,fiatValue:`$9,000.00`,status:`pending-approval`}];function bo(e){return parseFloat(e.replace(/[^0-9.]/g,``))||0}function xo(e){return e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`,minimumFractionDigits:2,maximumFractionDigits:2})}function So(e){return e.toLocaleString(`en-US`,{minimumFractionDigits:2,maximumFractionDigits:8})}var Co=30;function wo({currentUser:e=`Maya Okafor`,onSubmit:t,className:n}){let[r,i]=(0,d.useState)(null),[a,o]=(0,d.useState)(``),[s,c]=(0,d.useState)(``),[l,u]=(0,d.useState)(``),[f,p]=(0,d.useState)(``),[h,_]=(0,d.useState)(``),[v,y]=(0,d.useState)(!1),[b,x]=(0,d.useState)(``),[S,C]=(0,d.useState)(!1),[w,T]=(0,d.useState)(1),[D,O]=(0,d.useState)(Co),[te,ne]=(0,d.useState)(0),A=ho.find(e=>e.id===r)??null,j=A!=null&&a?vo.find(e=>e.name===A.name&&e.coin===a&&e.network===s)??vo.find(e=>e.name===A.name&&e.coin===a)??null:null,re=(l?vo.find(e=>e.coin===l&&e.network===f)??vo.find(e=>e.coin===l):null)??null,M=a?_o.find(e=>e.code===a)??null:null,N=_o.find(e=>e.code===l)??null,P=bo(h),ae=j?bo(j.amount):1/0,oe=j!=null&&P>ae,F=h.trim()!==``&&P>0,I=a!=null&&N!=null&&l!==a,se=(M&&N?M.price/N.price:0)*w,L=M?P*M.price:0,ce=L*mo,le=P*se*(1-mo),ue=A!=null&&I&&s!==``&&f!==``&&F&&!oe,de=F?So(P):null,fe=F&&I?So(le):null,pe=a&&N?`1 ${a} = ${So(se)} ${l}`:null,he=F?`${xo(ce)} · ${(mo*100).toFixed(1)}%`:null;(0,d.useEffect)(()=>{if(!ue){O(Co);return}let e=Date.now()+Co*1e3;O(Co),T(1+(Math.random()-.5)*.012),ne(e=>e+1);let t=setInterval(()=>{let t=Math.max(0,Math.ceil((e-Date.now())/1e3));O(t),t===0&&(T(1+(Math.random()-.5)*.012),ne(e=>e+1),e=Date.now()+Co*1e3)},250);return()=>clearInterval(t)},[ue,a,l]);let ge=e=>{let t=_o.find(t=>t.code===e)?.networks??[];return t.length===1?t[0]:``},_e=e=>{i(e),C(!1)},ve=e=>{o(e),c(ge(e)),e===l&&(u(``),p(``)),C(!1)},ye=e=>{u(e),p(ge(e)),e===a&&(o(``),c(``)),C(!1)},be=()=>{o(l),u(a),c(f),p(s),C(!1)},xe=()=>{j&&_(j.amount)},Se=e=>{let t=e.replace(/[^0-9.,]/g,``),n=t.indexOf(`.`);n!==-1&&(t=t.slice(0,n+1)+t.slice(n+1).replace(/\./g,``)),_(t)},Ce=()=>{if(!A||!a||!N||!I)return;let n=new Date,r={id:`cv-${n.getTime()}`,date:n.toLocaleDateString(`en-US`,{month:`short`,day:`2-digit`,year:`numeric`}),time:n.toLocaleTimeString(`en-US`,{hour:`2-digit`,minute:`2-digit`}),initiator:e,wallet:A.name,fromCoin:a,toCoin:l,fromAmount:`-${So(P)}`,toAmount:`+${So(le)}`,rate:`1 ${a} = ${So(se)} ${l}`,fiatValue:xo(L),status:`processing`};t?.(r),C(!0)},we=e=>{if(e){y(!0);return}y(!1),x(``),S&&(C(!1),_(``))},Te=e=>({value:e,label:e,sublabel:_o.find(t=>t.code===e)?.name??e,leading:(0,m.jsx)(U,{code:e,src:q(e),className:`size-6`})}),Ee=e=>({value:e,label:e,sublabel:go[e]??e,leading:(0,m.jsx)(U,{code:e,src:q(e),className:`size-6`})}),De=_o.filter(e=>e.code!==l).map(e=>Te(e.code)),Oe=(M?.networks??[]).map(Ee),ke=_o.filter(e=>e.code!==a).map(e=>Te(e.code)),Ae=(N?.networks??[]).map(Ee),je=ho.map(e=>({id:e.id,name:e.name}));return(0,m.jsxs)(`div`,{className:E(`grid grid-cols-1 items-stretch gap-6 lg:grid-cols-[minmax(0,1fr)_360px]`,n),children:[(0,m.jsx)(`div`,{className:`flex flex-col rounded-2xl border border-cb-line bg-cb-card p-5 shadow-xs`,children:(0,m.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,m.jsx)(io,{id:`cv-wallet`,label:`From wallet`,placeholder:`Select a source wallet`,value:r,wallets:je,onChange:_e,variant:`simple`,emptyMessage:`No wallets available.`}),(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,m.jsx)($,{id:`cv-from-coin`,label:`From currency`,placeholder:`Select a currency`,value:a,options:De,onChange:ve,disabled:!A}),(0,m.jsx)($,{id:`cv-from-network`,label:`From network`,placeholder:`Select a network`,value:s,options:Oe,onChange:c,disabled:!A||!a})]}),(0,m.jsx)(to,{id:`cv-amount`,value:h,onChange:Se,suffix:a,disabled:!A||!a,invalid:oe,onMax:xe,maxDisabled:!j,hint:A?a?j?(0,m.jsxs)(m.Fragment,{children:[`Available:`,` `,(0,m.jsxs)(`span`,{className:`font-medium text-foreground`,children:[j.amount,` `,a]})]}):null:`Select a currency`:`Select a wallet first`,helper:oe?(0,m.jsx)(`span`,{className:`text-destructive`,children:`Amount exceeds the available balance.`}):F?(0,m.jsxs)(`span`,{className:`tabular-nums text-muted-foreground`,children:[`≈ `,xo(L)]}):null}),(0,m.jsxs)(`div`,{className:`relative -mx-5 my-2`,children:[(0,m.jsx)(`div`,{className:`border-t border-cb-line`}),(0,m.jsx)(`button`,{type:`button`,onClick:be,disabled:!A,"aria-label":`Swap the From and To currency and network`,title:`Swap currencies & networks`,className:E(`absolute left-1/2 top-1/2 flex size-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border border-cb-line bg-cb-card text-muted-foreground transition-colors`,`hover:border-slate-300 hover:text-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-none`,`disabled:pointer-events-none`),children:(0,m.jsx)(g.HugeiconsIcon,{icon:ie,size:16,strokeWidth:2})})]}),(0,m.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,m.jsx)($,{id:`cv-to-coin`,label:`To currency`,placeholder:`Select a currency`,value:l,options:ke,onChange:ye,disabled:!A}),(0,m.jsx)($,{id:`cv-to-network`,label:`To network`,placeholder:`Select a network`,value:f,options:Ae,onChange:p,disabled:!A||!l})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,m.jsx)(z,{className:`text-[13px] font-medium text-muted-foreground`,children:`You receive`}),(0,m.jsxs)(`div`,{className:`flex h-12 items-center justify-between gap-2 rounded-lg border border-input bg-muted/40 px-2.5`,children:[(0,m.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-lg font-medium tabular-nums text-foreground`,children:fe??(0,m.jsx)(`span`,{className:`font-normal text-muted-foreground`,children:`0.00`})}),(0,m.jsx)(`span`,{className:`shrink-0 text-sm font-medium text-muted-foreground`,children:l})]})]})]})}),(0,m.jsx)(uo,{fromCoin:a,toCoin:I?l:null,payAmount:de,payFiat:F?xo(L):null,receiveAmount:fe,receiveFiat:F&&I?xo(L*(1-mo)):null,rateLabel:pe,rateCountdown:ue?D:null,rateTtl:Co,rateVersion:te,feeLabel:he,fromWalletName:A?.name??null,fromWalletAddress:j?.address??null,toWalletName:I?re?.name??null:null,toWalletAddress:I?re?.address??null:null,footer:(0,m.jsx)(k,{type:`button`,size:`lg`,disabled:!ue,onClick:()=>y(!0),className:`w-full cursor-pointer`,children:`Convert`})}),(0,m.jsx)(it,{open:v,onOpenChange:we,children:(0,m.jsx)(ct,{className:`max-w-md p-6`,children:S?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(`div`,{className:`flex flex-col items-center py-2 text-center`,children:[(0,m.jsx)(`div`,{className:`flex size-12 items-center justify-center rounded-full bg-emerald-100 text-emerald-600 dark:bg-emerald-500/15 dark:text-emerald-400`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:me,size:28,strokeWidth:2})}),(0,m.jsx)(dt,{className:`mt-4`,children:`Conversion submitted`}),(0,m.jsx)(ft,{className:`mt-1`,children:`Your conversion is processing — track it in the history below.`})]}),(0,m.jsx)(ee,{bleed:`dialog`,actions:[{key:`done`,label:`Done`,onClick:()=>we(!1)}]})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(lt,{children:[(0,m.jsx)(dt,{children:`Confirm conversion`}),(0,m.jsx)(ft,{children:`Enter the 6-digit code from your authenticator app to continue.`})]}),(0,m.jsxs)(`div`,{className:`mt-4 flex flex-col gap-4`,children:[(0,m.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Converting`,` `,(0,m.jsxs)(`span`,{className:`font-medium tabular-nums text-foreground`,children:[de,` `,a]}),` `,`to`,` `,(0,m.jsxs)(`span`,{className:`font-medium tabular-nums text-foreground`,children:[`≈ `,fe,` `,l]})]}),he&&(0,m.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Estimated commission:`,` `,(0,m.jsx)(`span`,{className:`font-medium tabular-nums text-foreground`,children:he})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,m.jsx)(z,{htmlFor:`cv-code`,className:`text-[13px] font-medium text-muted-foreground`,children:`Authentication code`}),(0,m.jsx)(To,{id:`cv-code`,value:b,onChange:x})]})]}),(0,m.jsx)(ee,{bleed:`dialog`,actions:[{key:`cancel`,label:`Cancel`,variant:`outline`,onClick:()=>we(!1)},{key:`confirm`,label:`Confirm conversion`,onClick:Ce,disabled:b.length<6}]})]})})})]})}function To({id:e,value:t,onChange:n,length:r=6}){let[i,a]=(0,d.useState)(!1),o=Array.from({length:r},(e,n)=>t[n]??``),s=Math.min(t.length,r-1);return(0,m.jsxs)(`div`,{className:`relative`,children:[(0,m.jsx)(`input`,{id:e,value:t,onChange:e=>n(e.target.value.replace(/\D/g,``).slice(0,r)),onFocus:()=>a(!0),onBlur:()=>a(!1),inputMode:`numeric`,autoComplete:`one-time-code`,"aria-label":`Authentication code`,maxLength:r,autoFocus:!0,className:`absolute inset-0 z-10 h-full w-full cursor-pointer opacity-0 outline-none`}),(0,m.jsx)(`div`,{className:E(`flex h-16 w-full divide-x divide-input overflow-hidden rounded-xl border border-input transition-colors`,i&&`border-ring ring-3 ring-ring/50`),children:o.map((e,t)=>{let n=i&&t===s;return(0,m.jsx)(`div`,{className:E(`flex flex-1 items-center justify-center text-3xl font-semibold tabular-nums text-foreground`,n&&`bg-primary/5`),children:e||(n?(0,m.jsx)(`span`,{className:`h-8 w-px animate-pulse bg-foreground`}):``)},t)})})]})}var Eo=o({}),Do=o({COINS:()=>ko,DEPOSIT_HISTORY:()=>jo,DEPOSIT_WALLETS:()=>Ao,NETWORKS:()=>Oo,figureToNumber:()=>Mo,formatUsd:()=>No}),Oo={ETH:{code:`ETH`,name:`Ethereum`},TRON:{code:`TRON`,name:`Tron (TRC-20)`},BTC:{code:`BTC`,name:`Bitcoin`},SOL:{code:`SOL`,name:`Solana`},POL:{code:`POL`,name:`Polygon`}},ko=[{code:`USDT`,name:`Tether`,networks:[`ETH`,`TRON`,`SOL`,`POL`]},{code:`USDC`,name:`USD Coin`,networks:[`ETH`,`SOL`,`POL`]},{code:`ETH`,name:`Ethereum`,networks:[`ETH`]},{code:`BTC`,name:`Bitcoin`,networks:[`BTC`]},{code:`SOL`,name:`Solana`,networks:[`SOL`]}],Ao=[{id:`w-usdt-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`ETH`,address:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,amount:`42,120.00`,amountFiat:`$42,120.00`,fiatRate:1},{id:`w-usdt-eth-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDT`,network:`ETH`,address:`0x3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2b9a83716`,amount:`8,500.00`,amountFiat:`$8,500.00`,fiatRate:1},{id:`w-usdt-eth-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`USDT`,network:`ETH`,address:`0x71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8`,amount:`1,500.00`,amountFiat:`$1,500.00`,fiatRate:1},{id:`w-usdt-tron-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`TRON`,address:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,amount:`63,400.00`,amountFiat:`$63,400.00`,fiatRate:1},{id:`w-usdt-tron-high`,name:`High Risk Wallet`,purpose:`high`,coin:`USDT`,network:`TRON`,address:`TXYZopqrstuv12345Wabcdefghi67890KLmno`,amount:`5,200.00`,amountFiat:`$5,200.00`,fiatRate:1},{id:`w-usdc-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDC`,network:`ETH`,address:`0x9a83716c3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2`,amount:`18,900.00`,amountFiat:`$18,900.00`,fiatRate:1},{id:`w-usdc-sol-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDC`,network:`SOL`,address:`7Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5UwG4v3`,amount:`3,240.00`,amountFiat:`$3,240.00`,fiatRate:1},{id:`w-eth-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`ETH`,network:`ETH`,address:`0xc6b8a71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e`,amount:`16.100000`,amountFiat:`$50,248.20`,fiatRate:3121},{id:`w-eth-eth-high`,name:`High Risk Wallet`,purpose:`high`,coin:`ETH`,network:`ETH`,address:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,amount:`2.400000`,amountFiat:`$7,490.40`,fiatRate:3121},{id:`w-btc-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`BTC`,network:`BTC`,address:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,amount:`0.18000000`,amountFiat:`$11,131.56`,fiatRate:61842},{id:`w-btc-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`BTC`,network:`BTC`,address:`bc1q9d4ywgfnd8h43da5tpcxcn6ajv590cll4gmmuq`,amount:`0.02000000`,amountFiat:`$1,236.84`,fiatRate:61842},{id:`w-sol-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`SOL`,network:`SOL`,address:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,amount:`280.00000000`,amountFiat:`$41,440.00`,fiatRate:148}],jo=[{id:`dp-01`,date:`Jul 14, 2026`,time:`03:41 PM`,fromAddress:`0x1A2b3C4d5E6f7089aBcDeF0123456789AbCdEf01`,toWallet:`Low Risk Wallet`,toAddress:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,coin:`USDT`,network:`ETH`,amount:`+18,500.00`,amountFiat:`+$18,500.00`,confirmations:`24/24`,status:`confirmed`},{id:`dp-02`,date:`Jul 14, 2026`,time:`12:07 PM`,fromAddress:`TLa2f8Qe1RnMbVhZ9wKpYd3sXcU7oNj4Bt`,toWallet:`High Risk Wallet`,toAddress:`TXYZopqrstuv12345Wabcdefghi67890KLmno`,coin:`USDT`,network:`TRON`,amount:`+4,200.00`,amountFiat:`+$4,200.00`,confirmations:`9/19`,status:`partially-completed`},{id:`dp-03`,date:`Jul 13, 2026`,time:`07:55 PM`,fromAddress:`0x503828976D22510aad0201ac7EC88293211D23Da`,toWallet:`Low Risk Wallet`,toAddress:`0x9a83716c3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2`,coin:`USDC`,network:`ETH`,amount:`+9,000.00`,amountFiat:`+$9,000.00`,confirmations:`24/24`,status:`confirmed`},{id:`dp-04`,date:`Jul 13, 2026`,time:`10:22 AM`,fromAddress:`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`,toWallet:`Low Risk Wallet`,toAddress:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,coin:`BTC`,network:`BTC`,amount:`+0.15000000`,amountFiat:`+$9,276.30`,confirmations:`2/3`,status:`processing`},{id:`dp-05`,date:`Jul 12, 2026`,time:`04:18 PM`,fromAddress:`9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM`,toWallet:`Operational Wallet`,toAddress:`7Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5UwG4v3`,coin:`USDC`,network:`SOL`,amount:`+2,500.00`,amountFiat:`+$2,500.00`,confirmations:`31/31`,status:`confirmed`},{id:`dp-06`,date:`Jul 12, 2026`,time:`09:03 AM`,fromAddress:`0x267be1C1D684F78cb4F6a176C4911b741E4Ffdc0`,toWallet:`High Risk Wallet`,toAddress:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,coin:`ETH`,network:`ETH`,amount:`+3.20000000`,amountFiat:`+$9,987.20`,status:`pending-approval`},{id:`dp-07`,date:`Jul 11, 2026`,time:`05:44 PM`,fromAddress:`TWd4WrZ9wn84f5x1hZhL4DHvk738ns5jwb`,toWallet:`Low Risk Wallet`,toAddress:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,coin:`USDT`,network:`TRON`,amount:`+11,300.00`,amountFiat:`+$11,300.00`,confirmations:`19/19`,status:`confirmed`},{id:`dp-08`,date:`Jul 11, 2026`,time:`11:30 AM`,fromAddress:`3n1DcS4Km3M8p5wV7oJ2rL9tQ6xY4bN8zA1cF5eH7gK`,toWallet:`Low Risk Wallet`,toAddress:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,coin:`SOL`,network:`SOL`,amount:`+60.00000000`,amountFiat:`+$8,880.00`,confirmations:`31/31`,status:`confirmed`}];function Mo(e){return parseFloat(e.replace(/[^0-9.]/g,``))||0}function No(e){return e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`,minimumFractionDigits:2,maximumFractionDigits:2})}function Po(e){let t=Date.parse(`${e.date} ${e.time}`);return Number.isNaN(t)?0:t}function Fo({data:e,className:t}){let n=(0,d.useMemo)(()=>[{id:`date`,header:`Date`,sortable:!0,sortValue:Po,cell:e=>(0,m.jsx)(G,{primary:e.date,secondary:e.time})},{id:`from`,header:`From`,cell:e=>(0,m.jsx)(G,{primary:`External sender`,secondary:(0,m.jsx)(W,{value:e.fromAddress,head:8,tail:6,revealOnHover:!0})})},{id:`to`,header:`To`,cell:e=>(0,m.jsx)(G,{primary:e.toWallet,secondary:(0,m.jsx)(W,{value:e.toAddress,head:8,tail:6,revealOnHover:!0})})},{id:`asset`,header:`Asset`,cell:e=>(0,m.jsxs)(`span`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(hr,{code:e.coin,network:e.network,codeSrc:q(e.coin),networkSrc:q(e.network),size:`sm`}),(0,m.jsx)(G,{primary:e.coin,secondary:Oo[e.network]?.name??e.network})]})},{id:`amount`,header:`Amount`,align:`end`,sortable:!0,sortValue:e=>parseFloat(e.amount.replace(/[^0-9.-]/g,``))||0,cell:e=>(0,m.jsx)(G,{align:`end`,tabularNums:!0,primary:(0,m.jsxs)(`span`,{className:`font-medium text-emerald-600 dark:text-emerald-400`,children:[e.amount,` `,e.coin]}),secondary:e.amountFiat})},{id:`status`,header:`Status`,cell:e=>(0,m.jsx)(Tr,{tone:X[e.status].tone,children:X[e.status].label})}],[]);return(0,m.jsx)(`div`,{className:E(t),children:(0,m.jsx)(vr,{columns:n,data:e.slice(0,5),getRowId:e=>e.id,density:`comfortable`,emptyMessage:`No deposits yet.`})})}var Io=3;function Lo({value:e,className:t}){let{size:n,darks:r}=(0,d.useMemo)(()=>{let t=T.default.create(e||` `,{errorCorrectionLevel:`M`}),n=t.modules.size,r=t.modules.data,i=[];for(let e=0;e<n;e++)for(let t=0;t<n;t++)r[e*n+t]&&i.push([t,e]);return{size:n,darks:i}},[e]),i=n+Io*2;return(0,m.jsxs)(`svg`,{viewBox:`0 0 ${i} ${i}`,shapeRendering:`crispEdges`,className:E(`h-auto w-full`,t),role:`img`,"aria-label":`Deposit address QR code`,children:[(0,m.jsx)(`rect`,{width:i,height:i,fill:`#ffffff`}),(0,m.jsx)(`g`,{fill:`#0f172a`,transform:`translate(${Io} ${Io})`,children:r.map(([e,t])=>(0,m.jsx)(`rect`,{x:e,y:t,width:1.02,height:1.02},`${e}-${t}`))})]})}function Ro({wallet:e,coin:t,network:n,networkName:r,className:i}){let[a,o]=(0,d.useState)(!1);return(0,m.jsxs)(`div`,{className:E(`flex flex-col rounded-2xl border border-cb-line bg-slate-50 dark:bg-slate-900/40`,i),children:[(0,m.jsxs)(`div`,{className:`px-5 py-4`,children:[(0,m.jsx)(`h2`,{className:`text-base font-semibold text-foreground`,children:`Deposit address`}),(0,m.jsxs)(`p`,{className:`mt-0.5 text-[13px] text-muted-foreground`,children:[`Scan or copy the address to receive `,t??`funds`,`.`]})]}),e&&t&&n?(0,m.jsxs)(`div`,{className:`flex flex-col gap-4 px-5 pb-5 pt-1`,children:[(0,m.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col gap-3`,children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,m.jsx)(hr,{code:t,network:n,codeSrc:q(t),networkSrc:q(n),size:`md`}),(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`text-lg font-semibold text-foreground`,children:t}),(0,m.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:r??n})]})]}),(0,m.jsx)(Y,{label:`Receiving wallet`,children:(0,m.jsx)(`span`,{className:`font-medium text-foreground`,children:e.name})})]}),(0,m.jsx)(`div`,{className:`w-26 shrink-0 rounded-lg border border-cb-line bg-white p-1.5`,children:(0,m.jsx)(Lo,{value:e.address})})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Address`}),(0,m.jsx)(`div`,{className:`rounded-lg border border-slate-100 bg-white px-3 py-2 dark:border-slate-800 dark:bg-slate-950`,children:(0,m.jsx)(`span`,{className:`break-all font-mono text-[13px] text-foreground`,children:e.address})})]}),e.tag&&(0,m.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Destination tag / memo`}),(0,m.jsxs)(`div`,{className:`flex items-center gap-2 rounded-lg border border-slate-100 bg-white px-3 py-2 dark:border-slate-800 dark:bg-slate-950`,children:[(0,m.jsx)(`span`,{className:`min-w-0 flex-1 break-all font-mono text-[13px] text-foreground`,children:e.tag}),(0,m.jsx)(fr,{value:e.tag})]})]}),(0,m.jsxs)(k,{type:`button`,onClick:()=>{e&&(navigator.clipboard?.writeText(e.address),o(!0),window.setTimeout(()=>o(!1),1200))},className:`mt-auto w-full cursor-pointer`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:a?me:ve,size:16,strokeWidth:2}),a?`Copied`:`Copy address`]})]}):(0,m.jsxs)(`div`,{className:`flex flex-1 flex-col items-center justify-center gap-4 px-5 pb-8 pt-4 text-center text-sm text-muted-foreground`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:Ce,size:40,strokeWidth:1.5,className:`text-muted-foreground/40`}),(0,m.jsxs)(`p`,{children:[`Choose a coin, network and wallet`,(0,m.jsx)(`br`,{}),`to get a deposit address.`]})]})]})}function zo({className:e}){let[t,n]=(0,d.useState)(`USDT`),[r,i]=(0,d.useState)(`ETH`),[a,o]=(0,d.useState)(null),s=(ko.find(e=>e.code===t)??ko[0]).networks,c=(0,d.useMemo)(()=>Ao.filter(e=>e.coin===t&&e.network===r),[t,r]),l=c.find(e=>e.id===a)??null,u=e=>{n(e);let t=ko.find(t=>t.code===e);i(t?.networks[0]??``),o(null)},f=e=>{i(e),o(null)},p=ko.map(e=>({value:e.code,label:e.code,sublabel:e.name,leading:(0,m.jsx)(U,{code:e.code,src:q(e.code),className:`size-6`})})),h=s.map(e=>({value:e,label:e,sublabel:Oo[e]?.name??e,leading:(0,m.jsx)(U,{code:e,src:q(e),className:`size-6`})})),_=c.map(e=>({id:e.id,name:e.name,address:e.address,coin:t,network:r,amount:e.amount,amountFiat:e.amountFiat}));return(0,m.jsxs)(`div`,{className:E(`grid grid-cols-1 items-stretch gap-6 lg:grid-cols-[minmax(0,1fr)_360px]`,e),children:[(0,m.jsx)(`div`,{className:`flex flex-col rounded-2xl border border-cb-line bg-cb-card p-5 shadow-xs`,children:(0,m.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,m.jsx)($,{id:`dp-coin`,label:`Coin`,value:t,options:p,onChange:u}),(0,m.jsx)($,{id:`dp-network`,label:`Network`,value:r,options:h,onChange:f}),(0,m.jsx)(io,{id:`dp-wallet`,label:`Deposit to wallet`,placeholder:`Select a receiving wallet`,value:a,wallets:_,onChange:o,variant:`detailed`,emptyMessage:`No wallets for this coin & network.`}),l&&(0,m.jsxs)(`div`,{className:`flex gap-2.5 rounded-lg border border-amber-200 bg-amber-50 px-3 py-2.5 text-[13px] text-amber-700 dark:border-amber-500/25 dark:bg-amber-500/10 dark:text-amber-400`,children:[(0,m.jsx)(g.HugeiconsIcon,{icon:A,size:16,strokeWidth:2,className:`mt-0.5 shrink-0`}),(0,m.jsxs)(`span`,{children:[`Send only `,(0,m.jsx)(`span`,{className:`font-semibold`,children:t}),` on the`,` `,(0,m.jsx)(`span`,{className:`font-semibold`,children:Oo[r]?.name??r}),` network to this address. Other assets or networks may be lost permanently.`]})]})]})}),(0,m.jsx)(Ro,{wallet:l,coin:t,network:r,networkName:Oo[r]?.name})]})}var Bo=o({}),Vo=o({COINS:()=>Uo,NETWORKS:()=>Ho,SAVED_ADDRESSES:()=>Go,SOURCE_WALLETS:()=>Wo,WITHDRAWAL_HISTORY:()=>Ko,figureToNumber:()=>qo,formatUsd:()=>Jo}),Ho={ETH:{code:`ETH`,name:`Ethereum`},TRON:{code:`TRON`,name:`Tron (TRC-20)`},BTC:{code:`BTC`,name:`Bitcoin`},SOL:{code:`SOL`,name:`Solana`},POL:{code:`POL`,name:`Polygon`},TON:{code:`TON`,name:`TON`}},Uo=[{code:`USDT`,name:`Tether`,networks:[`ETH`,`TRON`,`SOL`,`POL`]},{code:`USDC`,name:`USD Coin`,networks:[`ETH`,`SOL`,`POL`]},{code:`ETH`,name:`Ethereum`,networks:[`ETH`]},{code:`BTC`,name:`Bitcoin`,networks:[`BTC`]},{code:`SOL`,name:`Solana`,networks:[`SOL`]},{code:`TON`,name:`Toncoin`,networks:[`TON`]}],Wo=[{id:`w-usdt-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`ETH`,address:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,amount:`42,120.00`,amountFiat:`$42,120.00`,fiatRate:1},{id:`w-usdt-eth-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDT`,network:`ETH`,address:`0x3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2b9a83716`,amount:`8,500.00`,amountFiat:`$8,500.00`,fiatRate:1},{id:`w-usdt-eth-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`USDT`,network:`ETH`,address:`0x71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8`,amount:`1,500.00`,amountFiat:`$1,500.00`,fiatRate:1},{id:`w-usdt-tron-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDT`,network:`TRON`,address:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,amount:`63,400.00`,amountFiat:`$63,400.00`,fiatRate:1},{id:`w-usdt-tron-high`,name:`High Risk Wallet`,purpose:`high`,coin:`USDT`,network:`TRON`,address:`TXYZopqrstuv12345Wabcdefghi67890KLmno`,amount:`5,200.00`,amountFiat:`$5,200.00`,fiatRate:1},{id:`w-usdc-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`USDC`,network:`ETH`,address:`0x9a83716c3b91c7e0aa5d4f9e2c6b8a71d0f4e5c2`,amount:`18,900.00`,amountFiat:`$18,900.00`,fiatRate:1},{id:`w-usdc-sol-ops`,name:`Operational Wallet`,purpose:`operational`,coin:`USDC`,network:`SOL`,address:`7Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5UwG4v3`,amount:`3,240.00`,amountFiat:`$3,240.00`,fiatRate:1},{id:`w-eth-eth-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`ETH`,network:`ETH`,address:`0xc6b8a71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e`,amount:`16.100000`,amountFiat:`$50,248.20`,fiatRate:3121},{id:`w-eth-eth-high`,name:`High Risk Wallet`,purpose:`high`,coin:`ETH`,network:`ETH`,address:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,amount:`2.400000`,amountFiat:`$7,490.40`,fiatRate:3121},{id:`w-btc-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`BTC`,network:`BTC`,address:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,amount:`0.18000000`,amountFiat:`$11,131.56`,fiatRate:61842},{id:`w-btc-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`BTC`,network:`BTC`,address:`bc1q9d4ywgfnd8h43da5tpcxcn6ajv590cll4gmmuq`,amount:`0.02000000`,amountFiat:`$1,236.84`,fiatRate:61842},{id:`w-sol-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`SOL`,network:`SOL`,address:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,amount:`280.00000000`,amountFiat:`$41,440.00`,fiatRate:148},{id:`w-ton-low`,name:`Low Risk Wallet`,purpose:`low`,coin:`TON`,network:`TON`,address:`UQBvW8Z5huBkMJYdnfAEM5JqTNkuWX3diqYENkWsIL0XcH5o`,amount:`5,400.00000000`,amountFiat:`$29,700.00`,fiatRate:5.5},{id:`w-ton-payout`,name:`Payout Wallet`,purpose:`payout`,coin:`TON`,network:`TON`,address:`EQAvDfWFG0oYX19jwNDNBBL1rKNT9XfaGP9HyTb5nb2Eml6y`,amount:`1,200.00000000`,amountFiat:`$6,600.00`,fiatRate:5.5}],Go=[{id:`a-binance-usdt-eth`,label:`Binance Hot Wallet`,coin:`USDT`,network:`ETH`,address:`0x28C6c06298d514Db089934071355E5743bf21d60`},{id:`a-treasury-usdt-eth`,label:`Cold Treasury`,coin:`USDT`,network:`ETH`,address:`0xDFd5293D8e347dFe59E90eFd55b2956a1343963d`},{id:`a-partner-usdt-tron`,label:`Partner Payout (Tron)`,coin:`USDT`,network:`TRON`,address:`TWd4WrZ9wn84f5x1hZhL4DHvk738ns5jwb`},{id:`a-kraken-usdt-tron`,label:`Kraken Deposit`,coin:`USDT`,network:`TRON`,address:`TJYeasTPa6gpEEfYYtLp3Jydd1U5c1Xj8Q`},{id:`a-vendor-usdc-eth`,label:`Vendor — Acme Inc.`,coin:`USDC`,network:`ETH`,address:`0x503828976D22510aad0201ac7EC88293211D23Da`},{id:`a-desk-usdc-sol`,label:`OTC Desk (Solana)`,coin:`USDC`,network:`SOL`,address:`9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM`},{id:`a-cold-eth`,label:`Cold Storage — ETH`,coin:`ETH`,network:`ETH`,address:`0x267be1C1D684F78cb4F6a176C4911b741E4Ffdc0`},{id:`a-cold-btc`,label:`Cold Storage — BTC`,coin:`BTC`,network:`BTC`,address:`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`},{id:`a-exchange-btc`,label:`Exchange Deposit`,coin:`BTC`,network:`BTC`,address:`bc1qc7slrfxkknqcq2jevvvkdgvrt8080852dfjewde450xdlk4ugp7szw5tk9`},{id:`a-market-sol`,label:`Market Maker (SOL)`,coin:`SOL`,network:`SOL`,address:`3n1DcS4Km3M8p5wV7oJ2rL9tQ6xY4bN8zA1cF5eH7gK`}],Ko=[{id:`wd-01`,date:`Jul 14, 2026`,time:`03:12 PM`,initiator:`Maya Okafor`,fromWallet:`Low Risk Wallet`,fromAddress:`0x8f2a559a1c0b7e4d6a3f8c21b90e5d7c4a2f1e6b`,toLabel:`Binance Hot Wallet`,toAddress:`0x28C6c06298d514Db089934071355E5743bf21d60`,coin:`USDT`,network:`ETH`,amount:`-12,000.00`,amountFiat:`-$12,000.00`,status:`confirmed`},{id:`wd-02`,date:`Jul 14, 2026`,time:`11:48 AM`,initiator:`Daniel Roth`,fromWallet:`High Risk Wallet`,fromAddress:`TXYZopqrstuv12345Wabcdefghi67890KLmno`,toLabel:`Kraken Deposit`,toAddress:`TJYeasTPa6gpEEfYYtLp3Jydd1U5c1Xj8Q`,coin:`USDT`,network:`TRON`,amount:`-3,500.00`,amountFiat:`-$3,500.00`,status:`processing`},{id:`wd-03`,date:`Jul 13, 2026`,time:`06:20 PM`,initiator:`Priya Nair`,fromWallet:`Payout Wallet`,fromAddress:`0x71d0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8`,toLabel:`Vendor — Acme Inc.`,toAddress:`0x503828976D22510aad0201ac7EC88293211D23Da`,coin:`USDC`,network:`ETH`,amount:`-1,480.00`,amountFiat:`-$1,480.00`,status:`confirmed`},{id:`wd-04`,date:`Jul 13, 2026`,time:`02:05 PM`,initiator:`Maya Okafor`,fromWallet:`Low Risk Wallet`,fromAddress:`bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq`,toLabel:`Cold Storage — BTC`,toAddress:`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`,coin:`BTC`,network:`BTC`,amount:`-0.04500000`,amountFiat:`-$2,782.89`,status:`confirmed`},{id:`wd-05`,date:`Jul 12, 2026`,time:`09:33 AM`,initiator:`Sofia Grant`,fromWallet:`Operational Wallet`,fromAddress:`7Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5UwG4v3`,toLabel:`OTC Desk (Solana)`,toAddress:`9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM`,coin:`USDC`,network:`SOL`,amount:`-2,000.00`,amountFiat:`-$2,000.00`,status:`confirmed`},{id:`wd-06`,date:`Jul 12, 2026`,time:`08:10 AM`,initiator:`Daniel Roth`,fromWallet:`High Risk Wallet`,fromAddress:`0x0f4e5c2b9a83716c3b91c7e0aa5d4f9e2c6b8a71`,toLabel:`Cold Storage — ETH`,toAddress:`0x267be1C1D684F78cb4F6a176C4911b741E4Ffdc0`,coin:`ETH`,network:`ETH`,amount:`-1.20000000`,amountFiat:`-$3,745.20`,status:`failed`},{id:`wd-07`,date:`Jul 11, 2026`,time:`04:55 PM`,initiator:`Priya Nair`,fromWallet:`Low Risk Wallet`,fromAddress:`TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE`,toLabel:`Partner Payout (Tron)`,toAddress:`TWd4WrZ9wn84f5x1hZhL4DHvk738ns5jwb`,coin:`USDT`,network:`TRON`,amount:`-9,750.00`,amountFiat:`-$9,750.00`,status:`confirmed`},{id:`wd-08`,date:`Jul 11, 2026`,time:`10:02 AM`,initiator:`Sofia Grant`,fromWallet:`Low Risk Wallet`,fromAddress:`5UwG4v3Np41oeYqPefeNQEHSv1UDhYrehxin3Cf5`,toLabel:`Market Maker (SOL)`,toAddress:`3n1DcS4Km3M8p5wV7oJ2rL9tQ6xY4bN8zA1cF5eH7gK`,coin:`SOL`,network:`SOL`,amount:`-45.00000000`,amountFiat:`-$6,660.00`,status:`pending-approval`}];function qo(e){return parseFloat(e.replace(/[^0-9.]/g,``))||0}function Jo(e){return e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`,minimumFractionDigits:2,maximumFractionDigits:2})}function Yo(e){let t=Date.parse(`${e.date} ${e.time}`);return Number.isNaN(t)?0:t}function Xo({name:e}){return(0,m.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`flex size-6 shrink-0 items-center justify-center rounded-full bg-cb-seg text-[10px] font-semibold text-muted-foreground`,children:e.split(` `).map(e=>e[0]).slice(0,2).join(``).toUpperCase()}),(0,m.jsx)(`span`,{className:`truncate text-sm text-foreground`,children:e})]})}function Zo({data:e,className:t}){let n=(0,d.useMemo)(()=>[{id:`date`,header:`Date`,sortable:!0,sortValue:Yo,cell:e=>(0,m.jsx)(G,{primary:e.date,secondary:e.time})},{id:`initiator`,header:`Initiated by`,sortable:!0,sortValue:e=>e.initiator,cell:e=>(0,m.jsx)(Xo,{name:e.initiator})},{id:`from`,header:`From`,cell:e=>(0,m.jsx)(G,{primary:e.fromWallet,secondary:(0,m.jsx)(W,{value:e.fromAddress,head:8,tail:6,revealOnHover:!0})})},{id:`to`,header:`To`,cell:e=>(0,m.jsx)(G,{primary:e.toLabel,secondary:(0,m.jsx)(W,{value:e.toAddress,head:8,tail:6,revealOnHover:!0})})},{id:`asset`,header:`Asset`,cell:e=>(0,m.jsxs)(`span`,{className:`flex items-center gap-2.5`,children:[(0,m.jsx)(hr,{code:e.coin,network:e.network,codeSrc:q(e.coin),networkSrc:q(e.network),size:`sm`}),(0,m.jsx)(G,{primary:e.coin,secondary:Ho[e.network]?.name??e.network})]})},{id:`amount`,header:`Amount`,align:`end`,sortable:!0,sortValue:e=>parseFloat(e.amount.replace(/[^0-9.-]/g,``))||0,cell:e=>(0,m.jsx)(G,{align:`end`,tabularNums:!0,primary:(0,m.jsxs)(`span`,{className:`font-medium text-red-600 dark:text-red-400`,children:[e.amount,` `,e.coin]}),secondary:e.amountFiat})},{id:`status`,header:`Status`,cell:e=>(0,m.jsx)(Tr,{tone:X[e.status].tone,children:X[e.status].label})}],[]);return(0,m.jsx)(`div`,{className:E(t),children:(0,m.jsx)(vr,{columns:n,data:e.slice(0,5),getRowId:e=>e.id,density:`comfortable`,emptyMessage:`No withdrawals yet.`})})}function Qo({coin:e,network:t,networkName:n,amount:r,amountFiat:i,from:a,to:o,footer:s,className:c}){let l=r!=null&&r!==``&&r!==`0`;return(0,m.jsxs)(`div`,{className:E(`flex flex-col rounded-2xl border border-cb-line bg-slate-50 dark:bg-slate-900/40`,c),children:[(0,m.jsxs)(`div`,{className:`px-5 pt-4 pb-1`,children:[(0,m.jsx)(`h2`,{className:`text-base font-semibold text-foreground`,children:`Summary`}),(0,m.jsx)(`p`,{className:`mt-0.5 text-[13px] text-muted-foreground`,children:`Review before you send.`})]}),(0,m.jsxs)(`div`,{className:`flex items-center gap-3 px-5 pt-1 pb-4`,children:[e?(0,m.jsx)(U,{code:e,src:q(e),className:`size-9`}):(0,m.jsx)(`span`,{className:`size-9 shrink-0 rounded-full bg-muted`}),(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col leading-tight`,children:[(0,m.jsxs)(`span`,{className:`block truncate text-xl font-semibold tabular-nums text-foreground`,children:[l?r:`0.00`,` `,(0,m.jsx)(`span`,{className:`text-base font-medium text-muted-foreground`,children:e})]}),(0,m.jsxs)(`span`,{className:`block truncate text-sm tabular-nums text-muted-foreground`,children:[`≈ `,l&&i?i:`$0.00`]})]})]}),(0,m.jsx)(`div`,{className:`h-px w-full bg-cb-line`}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-3 px-5 py-4`,children:[(0,m.jsx)(Y,{label:`Network`,children:t?(0,m.jsx)(Xr,{value:n??t,code:t,className:`font-medium`}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})}),(0,m.jsx)($o,{caption:`From`,endpoint:a}),(0,m.jsx)($o,{caption:`To`,endpoint:o})]}),s!=null&&(0,m.jsx)(`div`,{className:`mt-auto flex flex-col gap-3 px-5 pt-0 pb-5`,children:s})]})}function $o({caption:e,endpoint:t}){return(0,m.jsx)(Y,{label:e,children:t?t.label?(0,m.jsxs)(`div`,{className:`flex flex-col leading-tight`,children:[(0,m.jsx)(`span`,{className:`truncate font-semibold text-foreground`,children:t.label}),(0,m.jsx)(W,{value:t.address,head:12,tail:8,className:`mt-0.5`})]}):(0,m.jsx)(W,{value:t.address,head:14,tail:8,className:`[&_span]:text-foreground`}):(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:`—`})})}function es(e){return e.length>18?`${e.slice(0,10)}…${e.slice(-6)}`:e}function ts({currentUser:e=`Maya Okafor`,onSubmit:t,className:n}){let[r,i]=(0,d.useState)(`USDT`),[a,o]=(0,d.useState)(`ETH`),[s,c]=(0,d.useState)(null),[l,u]=(0,d.useState)(``),[f,p]=(0,d.useState)(``),[h,_]=(0,d.useState)(``),[v,y]=(0,d.useState)(!1),[b,x]=(0,d.useState)(``),[S,C]=(0,d.useState)(!1),w=(Uo.find(e=>e.code===r)??Uo[0]).networks,T=(0,d.useMemo)(()=>Wo.filter(e=>e.coin===r&&e.network===a),[r,a]),D=T.find(e=>e.id===s)??null,O=f.trim()!==``,te=r===`TON`,ne=!te||l.trim()!==``,A=qo(h),j=D?qo(D.amount):0,re=D!=null&&A>j,M=h.trim()!==``&&A>0,ie=D&&M?Jo(A*D.fiatRate):null,N=M?A.toLocaleString(`en-US`,{minimumFractionDigits:2,maximumFractionDigits:8}):null,P=D!=null&&O&&M&&!re&&ne,ae=e=>{i(e);let t=Uo.find(t=>t.code===e);o(t?.networks[0]??``),c(null),u(``)},oe=e=>{o(e),c(null)},F=()=>{D&&_(D.amount)},I=e=>{let t=e.replace(/[^0-9.,]/g,``),n=t.indexOf(`.`);n!==-1&&(t=t.slice(0,n+1)+t.slice(n+1).replace(/\./g,``)),_(t)},se=()=>{if(!D||!O)return;let n=new Date,i={id:`wd-${n.getTime()}`,date:n.toLocaleDateString(`en-US`,{month:`short`,day:`2-digit`,year:`numeric`}),time:n.toLocaleTimeString(`en-US`,{hour:`2-digit`,minute:`2-digit`}),initiator:e,fromWallet:D.name,fromAddress:D.address,toLabel:`External address`,toAddress:f.trim(),coin:r,network:a,amount:`-${h}`,amountFiat:`-${Jo(A*D.fiatRate)}`,status:`processing`};t?.(i),C(!0)},L=e=>{if(e){y(!0);return}y(!1),x(``),S&&(C(!1),_(``),p(``),u(``))},ce=Uo.map(e=>({value:e.code,label:e.code,sublabel:e.name,leading:(0,m.jsx)(U,{code:e.code,src:q(e.code),className:`size-6`})})),le=w.map(e=>({value:e,label:e,sublabel:Ho[e]?.name??e,leading:(0,m.jsx)(U,{code:e,src:q(e),className:`size-6`})})),ue=T.map(e=>({id:e.id,name:e.name,address:e.address,coin:r,network:a,amount:e.amount,amountFiat:e.amountFiat}));return(0,m.jsxs)(`div`,{className:E(`grid grid-cols-1 gap-6 lg:grid-cols-[minmax(0,1fr)_360px]`,n),children:[(0,m.jsx)(`div`,{className:`flex flex-col rounded-2xl border border-cb-line bg-cb-card p-5 shadow-xs`,children:(0,m.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,m.jsxs)(`div`,{className:`grid grid-cols-1 gap-3 sm:grid-cols-2`,children:[(0,m.jsx)($,{id:`wd-coin`,label:`Coin`,value:r,options:ce,onChange:ae}),(0,m.jsx)($,{id:`wd-network`,label:`Network`,value:a,options:le,onChange:oe})]}),te?(0,m.jsxs)(`div`,{className:`grid grid-cols-1 gap-3 sm:grid-cols-2`,children:[(0,m.jsx)(io,{id:`wd-source`,label:`From wallet`,placeholder:`Select a source wallet`,value:s,wallets:ue,onChange:c,variant:`detailed`,emptyMessage:`No wallets for this coin & network.`}),(0,m.jsx)(no,{id:`wd-from-tag`,label:`From tag`,value:l,onChange:u,placeholder:`Memo / tag`,inputMode:`numeric`,spellCheck:!1,autoComplete:`off`,inputClassName:`font-mono text-[13px]`})]}):(0,m.jsx)(io,{id:`wd-source`,label:`From wallet`,placeholder:`Select a source wallet`,value:s,wallets:ue,onChange:c,variant:`detailed`,emptyMessage:`No wallets for this coin & network.`}),(0,m.jsx)(no,{id:`wd-dest`,label:`To address`,value:f,onChange:p,placeholder:`Paste a ${Ho[a]?.name??a} ${r} address`,spellCheck:!1,autoComplete:`off`,inputClassName:`h-10 font-mono text-[13px]`}),(0,m.jsx)(to,{id:`wd-amount`,value:h,onChange:I,suffix:r,disabled:!D,invalid:re,onMax:F,maxDisabled:!D,hint:D?(0,m.jsxs)(m.Fragment,{children:[`Available:`,` `,(0,m.jsxs)(`span`,{className:`font-medium text-foreground`,children:[D.amount,` `,r]})]}):`Select a wallet first`,helper:re?(0,m.jsx)(`span`,{className:`text-destructive`,children:`Amount exceeds the available balance.`}):ie?(0,m.jsxs)(`span`,{className:`tabular-nums text-muted-foreground`,children:[`≈ `,ie]}):null})]})}),(0,m.jsx)(Qo,{className:`h-full`,coin:r,network:a,networkName:Ho[a]?.name,amount:N,amountFiat:ie,from:D?{label:D.name,address:D.address}:null,to:O?{address:f.trim()}:null,footer:(0,m.jsx)(k,{type:`button`,size:`lg`,disabled:!P,onClick:()=>y(!0),className:`w-full cursor-pointer`,children:`Withdraw`})}),(0,m.jsx)(it,{open:v,onOpenChange:L,children:(0,m.jsx)(ct,{className:`max-w-md p-6`,children:S?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(`div`,{className:`flex flex-col items-center py-2 text-center`,children:[(0,m.jsx)(`div`,{className:`flex size-12 items-center justify-center rounded-full bg-emerald-100 text-emerald-600 dark:bg-emerald-500/15 dark:text-emerald-400`,children:(0,m.jsx)(g.HugeiconsIcon,{icon:me,size:28,strokeWidth:2})}),(0,m.jsx)(dt,{className:`mt-4`,children:`Withdrawal submitted`}),(0,m.jsx)(ft,{className:`mt-1`,children:`Your withdrawal is processing — track it in the history below.`})]}),(0,m.jsx)(ee,{bleed:`dialog`,actions:[{key:`done`,label:`Done`,onClick:()=>L(!1)}]})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(lt,{children:[(0,m.jsx)(dt,{children:`Confirm withdrawal`}),(0,m.jsx)(ft,{children:`Enter the 6-digit code from your authenticator app to continue.`})]}),(0,m.jsxs)(`div`,{className:`mt-4 flex flex-col gap-4`,children:[(0,m.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Withdrawing`,` `,(0,m.jsxs)(`span`,{className:`font-medium tabular-nums text-foreground`,children:[h,` `,r]}),` `,`to`,` `,(0,m.jsx)(`span`,{className:`font-mono text-foreground`,children:O?es(f.trim()):``})]}),(0,m.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,m.jsx)(z,{htmlFor:`wd-code`,className:`text-[13px] font-medium text-muted-foreground`,children:`Authentication code`}),(0,m.jsx)(ns,{id:`wd-code`,value:b,onChange:x})]})]}),(0,m.jsx)(ee,{bleed:`dialog`,actions:[{key:`cancel`,label:`Cancel`,variant:`outline`,onClick:()=>L(!1)},{key:`confirm`,label:`Confirm withdrawal`,onClick:se,disabled:b.length<6}]})]})})})]})}function ns({id:e,value:t,onChange:n,length:r=6}){let[i,a]=(0,d.useState)(!1),o=Array.from({length:r},(e,n)=>t[n]??``),s=Math.min(t.length,r-1);return(0,m.jsxs)(`div`,{className:`relative`,children:[(0,m.jsx)(`input`,{id:e,value:t,onChange:e=>n(e.target.value.replace(/\D/g,``).slice(0,r)),onFocus:()=>a(!0),onBlur:()=>a(!1),inputMode:`numeric`,autoComplete:`one-time-code`,"aria-label":`Authentication code`,maxLength:r,autoFocus:!0,className:`absolute inset-0 z-10 h-full w-full cursor-pointer opacity-0 outline-none`}),(0,m.jsx)(`div`,{className:E(`flex h-16 w-full divide-x divide-input overflow-hidden rounded-xl border border-input transition-colors`,i&&`border-ring ring-3 ring-ring/50`),children:o.map((e,t)=>{let n=i&&t===s;return(0,m.jsx)(`div`,{className:E(`flex flex-1 items-center justify-center text-3xl font-semibold tabular-nums text-foreground`,n&&`bg-primary/5`),children:e||(n?(0,m.jsx)(`span`,{className:`h-8 w-px animate-pulse bg-foreground`}):``)},t)})})]})}var rs=o({}),is=`Ipche`,as=`gateUnlocked`;function os({children:e}){let[t,n]=(0,d.useState)(()=>localStorage.getItem(as)===`true`),[r,i]=(0,d.useState)(``),[a,o]=(0,d.useState)(!1);return t?(0,m.jsx)(m.Fragment,{children:e}):(0,m.jsx)(`div`,{className:`flex h-svh items-center justify-center bg-background p-4`,children:(0,m.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),r===is?(localStorage.setItem(as,`true`),n(!0)):o(!0)},className:`w-full max-w-xs space-y-4 rounded-xl border border-border bg-card p-6 shadow-sm`,children:[(0,m.jsxs)(`div`,{className:`space-y-1`,children:[(0,m.jsx)(z,{htmlFor:`gate-password`,children:`Password`}),(0,m.jsx)(Et,{id:`gate-password`,type:`password`,autoFocus:!0,value:r,"aria-invalid":a,onChange:e=>{i(e.target.value),o(!1)}}),a&&(0,m.jsx)(`p`,{className:`text-sm text-destructive`,children:`Incorrect password.`})]}),(0,m.jsx)(k,{type:`submit`,className:`w-full`,children:`Unlock`})]})})}exports.ActionFooter=ee,exports.AmountField=to,exports.AppHeaderV1=Qn,exports.AppHeaderV2=rr,exports.AssetValue=Xr,exports.Avatar=vn,exports.Badge=bn,exports.NavBadge=bn,exports.BalancesSummary=Ja,exports.BlockchainDetails=Qr,exports.Button=k,exports.Calendar=nt,exports.Checkbox=rt,exports.CoinLogo=U,exports.ColumnsMenu=dr,exports.ConfirmDialog=pt,exports.ConvertHistoryTable=co,exports.ConvertPanel=wo,exports.ConvertPickerField=$,exports.DepositPickerField=$,exports.PickerField=$,exports.WithdrawPickerField=$,exports.ConvertSummary=uo,exports.CopyButton=fr,exports.CopyableId=W,exports.CurrencyNetwork=hr,exports.DailyBalancesTable=Vi,exports.DataTable=vr,exports.DepositHistoryTable=Fo,exports.DepositPanel=zo,exports.DepositReceiveCard=Ro,exports.DetailField=Y,exports.Dialog=it,exports.DialogClose=ot,exports.DialogContent=ct,exports.DialogDescription=ft,exports.DialogFooter=ut,exports.DialogHeader=lt,exports.DialogTitle=dt,exports.DialogTrigger=at,exports.DonutChart=Wi,exports.DownloadMenu=br,exports.DropdownMenu=mt,exports.DropdownMenuCheckboxItem=yt,exports.DropdownMenuContent=_t,exports.DropdownMenuGroup=gt,exports.DropdownMenuItem=vt,exports.DropdownMenuLabel=xt,exports.DropdownMenuRadioGroup=Tt,exports.DropdownMenuRadioItem=R,exports.DropdownMenuSeparator=bt,exports.DropdownMenuSub=St,exports.DropdownMenuSubContent=wt,exports.DropdownMenuSubTrigger=Ct,exports.DropdownMenuTrigger=ht,exports.ExportHistoryList=Ki,exports.FULL_NAV=Wn,exports.HeaderSearch=nr,exports.HeaderStickyContext=ir,exports.ICONS=Cn,exports.ICON_NAMES=wn,exports.Input=Et,exports.Label=z,exports.Logo=Dn,exports.NAV_ITEMS=qn,exports.NAV_PRESETS=Kn,exports.NavDrawer=Xn,exports.NavGroup=Nn,exports.NavIcon=Tn,exports.NavItem=An,exports.NavLabel=xn,exports.NavRailSection=Mn,exports.NavSection=jn,exports.NotificationItem=Fn,exports.NotificationsMenu=Rn,exports.NotificationsPanel=Ln,exports.PRIMARY_NAV=Gn,exports.PageContainer=Zn,exports.PageTitle=cr,exports.PageTitleChip=lr,exports.PageTitlePanel=ur,exports.Pagination=Dt,exports.PaginationContent=Ot,exports.PaginationEllipsis=Nt,exports.PaginationItem=kt,exports.PaginationLink=At,exports.PaginationNext=Mt,exports.PaginationPrevious=jt,exports.PasswordGate=os,exports.PaymentType=Sr,exports.PeriodPicker=oa,exports.Popover=Pt,exports.PopoverAnchor=It,exports.PopoverContent=Lt,exports.PopoverTrigger=Ft,exports.QrCode=Lo,exports.RadioGroup=Rt,exports.RadioGroupItem=zt,exports.ReportSummaryCard=ha,exports.ReportSummaryGroup=ga,exports.ReportsSummaryEmpty=_a,exports.RiskAssessment=ni,exports.RiskSignal=Cr,exports.SAMPLE_NOTIFICATIONS=In,exports.SavePresetDialog=gi,exports.SavedPresetsBar=vi,exports.ScrollArea=Vt,exports.SectionHeading=kn,exports.Separator=Ht,exports.SidePanel=Ut,exports.SidePanelBody=Yt,exports.SidePanelClose=Gt,exports.SidePanelContent=qt,exports.SidePanelDescription=Qt,exports.SidePanelFooter=Xt,exports.SidePanelHeader=Jt,exports.SidePanelSectionTitle=$t,exports.SidePanelSeparator=B,exports.SidePanelTitle=Zt,exports.SidePanelTrigger=Wt,exports.Skeleton=V,exports.SortHeader=gr,exports.StatusBadge=Tr,exports.TRANSACTION_SEARCH_SCOPES=Mi,exports.Table=en,exports.TableBody=nn,exports.TableCaption=sn,exports.TableCell=H,exports.TableFooter=rn,exports.TableHead=on,exports.TableHeader=tn,exports.TableRow=an,exports.Tabs=cn,exports.TabsContent=fn,exports.TabsList=un,exports.TabsTrigger=dn,exports.TextField=no,exports.TextLink=pr,exports.TextStack=G,exports.Tooltip=mn,exports.TooltipContent=gn,exports.TooltipProvider=pn,exports.TooltipTrigger=hn,exports.TransactionDetailPanel=Si,exports.TransactionInfo=bi,exports.TransactionReference=xi,exports.TransactionSummary=yi,exports.TransactionsFilterPanel=ki,exports.TransactionsTable=Pi,exports.TransactionsTableOptions=Ii,exports.UiBadge=ne,exports.UserMenu=Un,exports.WalletBalancesTable=Ka,exports.WalletField=io,exports.WalletRowActions=Ia,exports.WithdrawHistoryTable=Zo,exports.WithdrawPanel=ts,exports.WithdrawSummary=Qo,exports.badgeVariants=te,Object.defineProperty(exports,"balancesData",{enumerable:!0,get:function(){return Ya}}),Object.defineProperty(exports,"balancesRecentTransactions",{enumerable:!0,get:function(){return $a}}),Object.defineProperty(exports,"balancesTypes",{enumerable:!0,get:function(){return Qa}}),exports.buttonVariants=O,Object.defineProperty(exports,"convertData",{enumerable:!0,get:function(){return po}}),Object.defineProperty(exports,"convertTypes",{enumerable:!0,get:function(){return Eo}}),Object.defineProperty(exports,"depositData",{enumerable:!0,get:function(){return Do}}),Object.defineProperty(exports,"depositTypes",{enumerable:!0,get:function(){return Bo}}),exports.findNavItem=Jn,Object.defineProperty(exports,"reportsData",{enumerable:!0,get:function(){return sa}}),Object.defineProperty(exports,"reportsPresets",{enumerable:!0,get:function(){return qi}}),Object.defineProperty(exports,"reportsReportData",{enumerable:!0,get:function(){return ya}}),Object.defineProperty(exports,"reportsTypes",{enumerable:!0,get:function(){return va}}),exports.tabsListVariants=ln,exports.transactionColumnOptions=Ni,Object.defineProperty(exports,"transactionsData",{enumerable:!0,get:function(){return Dr}}),Object.defineProperty(exports,"transactionsFilters",{enumerable:!0,get:function(){return oi}}),Object.defineProperty(exports,"transactionsStatuses",{enumerable:!0,get:function(){return ri}}),Object.defineProperty(exports,"transactionsTypes",{enumerable:!0,get:function(){return Li}}),exports.useHeaderExtension=ar,Object.defineProperty(exports,"withdrawData",{enumerable:!0,get:function(){return Vo}}),Object.defineProperty(exports,"withdrawTypes",{enumerable:!0,get:function(){return rs}});
|