Files
epusdt/src/www/assets/search-provider-DWK6TDJZ.js
T

1 line
58 KiB
JavaScript

import{r as e}from"./chunk-DECur_0Z.js";import{a as t,c as n,l as r,n as i}from"./auth-store-CeX2QaQI.js";import{t as a}from"./react-CO2uhaBc.js";import{$d as o,Cf as s,Cl as c,Dl as l,El as u,Gd as d,Hd as f,Jd as p,Kd as m,Ol as h,Qd as g,S as _,Sl as v,Tl as y,Ud as b,Vd as x,Wd as S,Xd as C,Yd as w,Zd as ee,_d as T,dd as te,df as ne,ef as re,fd as ie,ff as ae,gd as oe,hd as se,hf as ce,id as le,ld as ue,md as de,mf as fe,mt as pe,nd as me,nf as he,pd as ge,qd as _e,rd as ve,rf as ye,sd as be,td as xe,tf as Se,tt as Ce,ud as we,uf as Te,vd as Ee,wl as De}from"./messages-CA0k74Lg.js";import{t as Oe}from"./useRouter-DtTm7XkK.js";import{g as ke,t as Ae}from"./useStore-CupyIEEP.js";import{n as je}from"./with-selector-DBfssCrY.js";import{t as Me}from"./useNavigate-7u4DX0Ho.js";import{t as E}from"./dist-HEKr0dx0.js";import{i as D,o as O,r as Ne,t as k,u as A}from"./button-CfqkRSM8.js";import{a as Pe,n as j,r as M}from"./dist-D_tdgZ66.js";import{t as N}from"./dist-CPm5TblV.js";import{t as P}from"./dist-SPNRXZQu.js";import{n as Fe}from"./dist-XIAMhfzx.js";import{a as Ie,c as Le,i as Re,n as ze,o as Be,r as Ve,s as He,t as Ue}from"./dist-BfYQgKqf.js";import{t as We}from"./confirm-dialog-BNVecbxK.js";import{t as Ge}from"./dist-CRowTfGU.js";import{n as Ke,r as F}from"./dist-DPvlEg8c.js";import"./separator-DZMLZkQo.js";import{i as qe,n as Je,r as Ye,t as Xe}from"./tooltip-DcWYpxEL.js";import{r as Ze,t as Qe}from"./cookies-BzZOQYPw.js";import{i as $e,n as et,t as tt}from"./wallet-B9YaRua4.js";import{n as nt,r as rt}from"./font-provider-DWuumz_Z.js";import{n as I}from"./theme-provider-RRpWB-Nr.js";import{t as L}from"./createLucideIcon-Br0Bd5k2.js";import{n as it}from"./skeleton-Dd8Z_2kW.js";import{n as at,t as ot}from"./sun-BwqrnykR.js";import{a as st,c as ct,i as lt,n as ut,o as R,r as dt,s as ft}from"./command-BS0F4xWI.js";import{t as pt}from"./shield-check-LJiSka38.js";import{t as mt}from"./x-BG8b_1Kq.js";import{t as ht}from"./logo-3EWDGjCa.js";import"./input-Dyq5zXZe.js";var z=e(a(),1);function gt(e){let t=Oe(),n=(0,z.useRef)(void 0);return Ae(t.stores.location,r=>{let i=e?.select?e.select(r):r;if(e?.structuralSharing??t.options.defaultStructuralSharing){let e=ke(n.current,i);return n.current=e,e}return i})}var _t=je();function vt(){return(0,_t.useSyncExternalStore)(yt,()=>!0,()=>!1)}function yt(){return()=>{}}var B=s(),bt=`Avatar`,[xt,St]=Pe(bt),[Ct,wt]=xt(bt),Tt=z.forwardRef((e,t)=>{let{__scopeAvatar:n,...r}=e,[i,a]=z.useState(`idle`);return(0,B.jsx)(Ct,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:a,children:(0,B.jsx)(E.span,{...r,ref:t})})});Tt.displayName=bt;var Et=`AvatarImage`,Dt=z.forwardRef((e,t)=>{let{__scopeAvatar:n,src:r,onLoadingStatusChange:i=()=>{},...a}=e,o=wt(Et,n),s=jt(r,a),c=P(e=>{i(e),o.onImageLoadingStatusChange(e)});return j(()=>{s!==`idle`&&c(s)},[s,c]),s===`loaded`?(0,B.jsx)(E.img,{...a,ref:t,src:r}):null});Dt.displayName=Et;var Ot=`AvatarFallback`,kt=z.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:r,...i}=e,a=wt(Ot,n),[o,s]=z.useState(r===void 0);return z.useEffect(()=>{if(r!==void 0){let e=window.setTimeout(()=>s(!0),r);return()=>window.clearTimeout(e)}},[r]),o&&a.imageLoadingStatus!==`loaded`?(0,B.jsx)(E.span,{...i,ref:t}):null});kt.displayName=Ot;function At(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?`loaded`:`loading`):`error`:`idle`}function jt(e,{referrerPolicy:t,crossOrigin:n}){let r=vt(),i=z.useRef(null),a=r?(i.current||=new window.Image,i.current):null,[o,s]=z.useState(()=>At(a,e));return j(()=>{s(At(a,e))},[a,e]),j(()=>{let e=e=>()=>{s(e)};if(!a)return;let r=e(`loaded`),i=e(`error`);return a.addEventListener(`load`,r),a.addEventListener(`error`,i),t&&(a.referrerPolicy=t),typeof n==`string`&&(a.crossOrigin=n),()=>{a.removeEventListener(`load`,r),a.removeEventListener(`error`,i)}},[a,n,t]),o}var Mt=Tt,Nt=Dt,Pt=kt;function Ft(e,t){return z.useReducer((e,n)=>t[e][n]??e,e)}var It=`ScrollArea`,[Lt,Rt]=Pe(It),[zt,V]=Lt(It),Bt=z.forwardRef((e,t)=>{let{__scopeScrollArea:n,type:r=`hover`,dir:i,scrollHideDelay:a=600,...o}=e,[s,c]=z.useState(null),[l,u]=z.useState(null),[d,f]=z.useState(null),[p,m]=z.useState(null),[h,g]=z.useState(null),[_,v]=z.useState(0),[y,b]=z.useState(0),[x,S]=z.useState(!1),[C,w]=z.useState(!1),ee=A(t,e=>c(e)),T=Fe(i);return(0,B.jsx)(zt,{scope:n,type:r,dir:T,scrollHideDelay:a,scrollArea:s,viewport:l,onViewportChange:u,content:d,onContentChange:f,scrollbarX:p,onScrollbarXChange:m,scrollbarXEnabled:x,onScrollbarXEnabledChange:S,scrollbarY:h,onScrollbarYChange:g,scrollbarYEnabled:C,onScrollbarYEnabledChange:w,onCornerWidthChange:v,onCornerHeightChange:b,children:(0,B.jsx)(E.div,{dir:T,...o,ref:ee,style:{position:`relative`,"--radix-scroll-area-corner-width":_+`px`,"--radix-scroll-area-corner-height":y+`px`,...e.style}})})});Bt.displayName=It;var Vt=`ScrollAreaViewport`,Ht=z.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:r,nonce:i,...a}=e,o=V(Vt,n),s=A(t,z.useRef(null),o.onViewportChange);return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}`},nonce:i}),(0,B.jsx)(E.div,{"data-radix-scroll-area-viewport":``,...a,ref:s,style:{overflowX:o.scrollbarXEnabled?`scroll`:`hidden`,overflowY:o.scrollbarYEnabled?`scroll`:`hidden`,...e.style},children:(0,B.jsx)(`div`,{ref:o.onContentChange,style:{minWidth:`100%`,display:`table`},children:r})})]})});Ht.displayName=Vt;var H=`ScrollAreaScrollbar`,Ut=z.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=V(H,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=i,s=e.orientation===`horizontal`;return z.useEffect(()=>(s?a(!0):o(!0),()=>{s?a(!1):o(!1)}),[s,a,o]),i.type===`hover`?(0,B.jsx)(Wt,{...r,ref:t,forceMount:n}):i.type===`scroll`?(0,B.jsx)(Gt,{...r,ref:t,forceMount:n}):i.type===`auto`?(0,B.jsx)(Kt,{...r,ref:t,forceMount:n}):i.type===`always`?(0,B.jsx)(U,{...r,ref:t}):null});Ut.displayName=H;var Wt=z.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=V(H,e.__scopeScrollArea),[a,o]=z.useState(!1);return z.useEffect(()=>{let e=i.scrollArea,t=0;if(e){let n=()=>{window.clearTimeout(t),o(!0)},r=()=>{t=window.setTimeout(()=>o(!1),i.scrollHideDelay)};return e.addEventListener(`pointerenter`,n),e.addEventListener(`pointerleave`,r),()=>{window.clearTimeout(t),e.removeEventListener(`pointerenter`,n),e.removeEventListener(`pointerleave`,r)}}},[i.scrollArea,i.scrollHideDelay]),(0,B.jsx)(N,{present:n||a,children:(0,B.jsx)(Kt,{"data-state":a?`visible`:`hidden`,...r,ref:t})})}),Gt=z.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=V(H,e.__scopeScrollArea),a=e.orientation===`horizontal`,o=q(()=>c(`SCROLL_END`),100),[s,c]=Ft(`hidden`,{hidden:{SCROLL:`scrolling`},scrolling:{SCROLL_END:`idle`,POINTER_ENTER:`interacting`},interacting:{SCROLL:`interacting`,POINTER_LEAVE:`idle`},idle:{HIDE:`hidden`,SCROLL:`scrolling`,POINTER_ENTER:`interacting`}});return z.useEffect(()=>{if(s===`idle`){let e=window.setTimeout(()=>c(`HIDE`),i.scrollHideDelay);return()=>window.clearTimeout(e)}},[s,i.scrollHideDelay,c]),z.useEffect(()=>{let e=i.viewport,t=a?`scrollLeft`:`scrollTop`;if(e){let n=e[t],r=()=>{let r=e[t];n!==r&&(c(`SCROLL`),o()),n=r};return e.addEventListener(`scroll`,r),()=>e.removeEventListener(`scroll`,r)}},[i.viewport,a,c,o]),(0,B.jsx)(N,{present:n||s!==`hidden`,children:(0,B.jsx)(U,{"data-state":s===`hidden`?`hidden`:`visible`,...r,ref:t,onPointerEnter:M(e.onPointerEnter,()=>c(`POINTER_ENTER`)),onPointerLeave:M(e.onPointerLeave,()=>c(`POINTER_LEAVE`))})})}),Kt=z.forwardRef((e,t)=>{let n=V(H,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=z.useState(!1),s=e.orientation===`horizontal`,c=q(()=>{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;o(s?e:t)}},10);return J(n.viewport,c),J(n.content,c),(0,B.jsx)(N,{present:r||a,children:(0,B.jsx)(U,{"data-state":a?`visible`:`hidden`,...i,ref:t})})}),U=z.forwardRef((e,t)=>{let{orientation:n=`vertical`,...r}=e,i=V(H,e.__scopeScrollArea),a=z.useRef(null),o=z.useRef(0),[s,c]=z.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),l=rn(s.viewport,s.content),u={...r,sizes:s,onSizesChange:c,hasThumb:l>0&&l<1,onThumbChange:e=>a.current=e,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:e=>o.current=e};function d(e,t){return an(e,o.current,s,t)}return n===`horizontal`?(0,B.jsx)(qt,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,t=on(e,s,i.dir);a.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=d(e,i.dir))}}):n===`vertical`?(0,B.jsx)(Jt,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,t=on(e,s);a.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=d(e))}}):null}),qt=z.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=V(H,e.__scopeScrollArea),[o,s]=z.useState(),c=z.useRef(null),l=A(t,c,a.onScrollbarXChange);return z.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),(0,B.jsx)(Zt,{"data-orientation":`horizontal`,...i,ref:l,sizes:n,style:{bottom:0,left:a.dir===`rtl`?`var(--radix-scroll-area-corner-width)`:0,right:a.dir===`ltr`?`var(--radix-scroll-area-corner-width)`:0,"--radix-scroll-area-thumb-width":K(n)+`px`,...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),cn(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&o&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:G(o.paddingLeft),paddingEnd:G(o.paddingRight)}})}})}),Jt=z.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=V(H,e.__scopeScrollArea),[o,s]=z.useState(),c=z.useRef(null),l=A(t,c,a.onScrollbarYChange);return z.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),(0,B.jsx)(Zt,{"data-orientation":`vertical`,...i,ref:l,sizes:n,style:{top:0,right:a.dir===`ltr`?0:void 0,left:a.dir===`rtl`?0:void 0,bottom:`var(--radix-scroll-area-corner-height)`,"--radix-scroll-area-thumb-height":K(n)+`px`,...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),cn(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&o&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:G(o.paddingTop),paddingEnd:G(o.paddingBottom)}})}})}),[Yt,Xt]=Lt(H),Zt=z.forwardRef((e,t)=>{let{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:c,onDragScroll:l,onWheelScroll:u,onResize:d,...f}=e,p=V(H,n),[m,h]=z.useState(null),g=A(t,e=>h(e)),_=z.useRef(null),v=z.useRef(``),y=p.viewport,b=r.content-r.viewport,x=P(u),S=P(c),C=q(d,10);function w(e){_.current&&l({x:e.clientX-_.current.left,y:e.clientY-_.current.top})}return z.useEffect(()=>{let e=e=>{let t=e.target;m?.contains(t)&&x(e,b)};return document.addEventListener(`wheel`,e,{passive:!1}),()=>document.removeEventListener(`wheel`,e,{passive:!1})},[y,m,b,x]),z.useEffect(S,[r,S]),J(m,C),J(p.content,C),(0,B.jsx)(Yt,{scope:n,scrollbar:m,hasThumb:i,onThumbChange:P(a),onThumbPointerUp:P(o),onThumbPositionChange:S,onThumbPointerDown:P(s),children:(0,B.jsx)(E.div,{...f,ref:g,style:{position:`absolute`,...f.style},onPointerDown:M(e.onPointerDown,e=>{e.button===0&&(e.target.setPointerCapture(e.pointerId),_.current=m.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect=`none`,p.viewport&&(p.viewport.style.scrollBehavior=`auto`),w(e))}),onPointerMove:M(e.onPointerMove,w),onPointerUp:M(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=v.current,p.viewport&&(p.viewport.style.scrollBehavior=``),_.current=null})})})}),W=`ScrollAreaThumb`,Qt=z.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=Xt(W,e.__scopeScrollArea);return(0,B.jsx)(N,{present:n||i.hasThumb,children:(0,B.jsx)($t,{ref:t,...r})})}),$t=z.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:r,...i}=e,a=V(W,n),o=Xt(W,n),{onThumbPositionChange:s}=o,c=A(t,e=>o.onThumbChange(e)),l=z.useRef(void 0),u=q(()=>{l.current&&=(l.current(),void 0)},100);return z.useEffect(()=>{let e=a.viewport;if(e){let t=()=>{u(),l.current||(l.current=ln(e,s),s())};return s(),e.addEventListener(`scroll`,t),()=>e.removeEventListener(`scroll`,t)}},[a.viewport,u,s]),(0,B.jsx)(E.div,{"data-state":o.hasThumb?`visible`:`hidden`,...i,ref:c,style:{width:`var(--radix-scroll-area-thumb-width)`,height:`var(--radix-scroll-area-thumb-height)`,...r},onPointerDownCapture:M(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;o.onThumbPointerDown({x:n,y:r})}),onPointerUp:M(e.onPointerUp,o.onThumbPointerUp)})});Qt.displayName=W;var en=`ScrollAreaCorner`,tn=z.forwardRef((e,t)=>{let n=V(en,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!==`scroll`&&r?(0,B.jsx)(nn,{...e,ref:t}):null});tn.displayName=en;var nn=z.forwardRef((e,t)=>{let{__scopeScrollArea:n,...r}=e,i=V(en,n),[a,o]=z.useState(0),[s,c]=z.useState(0),l=!!(a&&s);return J(i.scrollbarX,()=>{let e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),c(e)}),J(i.scrollbarY,()=>{let e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),o(e)}),l?(0,B.jsx)(E.div,{...r,ref:t,style:{width:a,height:s,position:`absolute`,right:i.dir===`ltr`?0:void 0,left:i.dir===`rtl`?0:void 0,bottom:0,...e.style}}):null});function G(e){return e?parseInt(e,10):0}function rn(e,t){let n=e/t;return isNaN(n)?0:n}function K(e){let t=rn(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function an(e,t,n,r=`ltr`){let i=K(n),a=i/2,o=t||a,s=i-o,c=n.scrollbar.paddingStart+o,l=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,d=r===`ltr`?[0,u]:[u*-1,0];return sn([c,l],d)(e)}function on(e,t,n=`ltr`){let r=K(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,c=Ge(e,n===`ltr`?[0,o]:[o*-1,0]);return sn([0,o],[0,s])(c)}function sn(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function cn(e,t){return e>0&&e<t}var ln=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function i(){let a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)})(),()=>window.cancelAnimationFrame(r)};function q(e,t){let n=P(e),r=z.useRef(0);return z.useEffect(()=>()=>window.clearTimeout(r.current),[]),z.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function J(e,t){let n=P(t);j(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}var un=Bt,dn=Ht,fn=tn,pn=L(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),mn=L(`coins`,[[`path`,{d:`M13.744 17.736a6 6 0 1 1-7.48-7.48`,key:`bq4yh3`}],[`path`,{d:`M15 6h1v4`,key:`11y1tn`}],[`path`,{d:`m6.134 14.768.866-.5 2 3.464`,key:`17snzx`}],[`circle`,{cx:`16`,cy:`8`,r:`6`,key:`14bfc9`}]]),hn=L(`credit-card`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`,key:`ynyp8z`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`,key:`1b3vmo`}]]),gn=L(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]),_n=L(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]),vn=L(`laptop`,[[`path`,{d:`M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z`,key:`1pdavp`}],[`path`,{d:`M20.054 15.987H3.946`,key:`14rxg9`}]]),yn=L(`layout-dashboard`,[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`,key:`10lvy0`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`,key:`16une8`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`,key:`1hutg5`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`ldoo1y`}]]),bn=L(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),xn=L(`panel-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}]]),Sn=L(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),Cn=L(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),wn=L(`settings`,[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),Tn=L(`shopping-cart`,[[`circle`,{cx:`8`,cy:`21`,r:`1`,key:`jimo8o`}],[`circle`,{cx:`19`,cy:`21`,r:`1`,key:`13723u`}],[`path`,{d:`M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12`,key:`9zh506`}]]),En=L(`waypoints`,[[`path`,{d:`m10.586 5.414-5.172 5.172`,key:`4mc350`}],[`path`,{d:`m18.586 13.414-5.172 5.172`,key:`8c96vv`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`circle`,{cx:`12`,cy:`20`,r:`2`,key:`144qzu`}],[`circle`,{cx:`12`,cy:`4`,r:`2`,key:`muu5ef`}],[`circle`,{cx:`20`,cy:`12`,r:`2`,key:`1xzzfp`}],[`circle`,{cx:`4`,cy:`12`,r:`2`,key:`1hvhnz`}]]);function Dn({dir:e,className:t,...n}){return(0,B.jsxs)(`svg`,{className:D(e===`rtl`&&`rotate-y-180`,t),"data-name":`icon-dir-${e}`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,B.jsx)(`title`,{children:`Directory Icon`}),(0,B.jsx)(`path`,{d:`M23.42.51h51.92c2.21 0 4 1.79 4 4v42.18c0 2.21-1.79 4-4 4H23.42s-.04-.02-.04-.04V.55s.02-.04.04-.04z`,opacity:.15}),(0,B.jsx)(`path`,{d:`M5.56 14.88L17.78 14.88`,fill:`none`,opacity:.72,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M5.56 22.09L16.08 22.09`,fill:`none`,opacity:.48,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M5.56 18.38L14.93 18.38`,fill:`none`,opacity:.55,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`2px`}),(0,B.jsxs)(`g`,{strokeLinecap:`round`,strokeMiterlimit:10,children:[(0,B.jsx)(`circle`,{cx:7.51,cy:7.4,opacity:.8,r:2.54}),(0,B.jsx)(`path`,{d:`M12.06 6.14L17.78 6.14`,fill:`none`,opacity:.8,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M11.85 8.79L16.91 8.79`,fill:`none`,opacity:.6})]}),(0,B.jsx)(`path`,{d:`M29.41 7.4L34.67 7.4`,fill:`none`,opacity:.62,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`3px`}),(0,B.jsx)(`rect`,{height:2.73,opacity:.44,rx:.64,ry:.64,strokeLinecap:`round`,strokeMiterlimit:10,width:26.03,x:28.76,y:11.21}),(0,B.jsx)(`rect`,{height:13.48,opacity:.3,rx:.64,ry:.64,strokeLinecap:`round`,strokeMiterlimit:10,width:44.25,x:28.76,y:17.01}),(0,B.jsx)(`rect`,{height:4.67,opacity:.21,rx:.64,ry:.64,strokeLinecap:`round`,strokeMiterlimit:10,width:44.25,x:28.76,y:33.57}),(0,B.jsx)(`rect`,{height:4.67,opacity:.3,rx:.64,ry:.64,strokeLinecap:`round`,strokeMiterlimit:10,width:36.21,x:28.76,y:41.32})]})}function On(e){return(0,B.jsxs)(`svg`,{"data-name":`icon-layout-compact`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,B.jsx)(`title`,{children:`Compact Layout`}),(0,B.jsx)(`rect`,{height:40,rx:2,ry:2,strokeLinecap:`round`,strokeMiterlimit:10,width:4,x:5.84,y:5.2}),(0,B.jsxs)(`g`,{stroke:`#fff`,strokeLinecap:`round`,strokeMiterlimit:10,children:[(0,B.jsx)(`path`,{d:`M7.26 11.56L8.37 11.56`,fill:`none`,opacity:.66,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M7.26 14.49L8.37 14.49`,fill:`none`,opacity:.51,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M7.26 17.39L8.37 17.39`,fill:`none`,opacity:.52,strokeWidth:`2px`}),(0,B.jsx)(`circle`,{cx:7.81,cy:7.25,fill:`#fff`,opacity:.8,r:1.16})]}),(0,B.jsx)(`path`,{d:`M15.81 14.49L22.89 14.49`,fill:`none`,opacity:.75,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`3px`}),(0,B.jsx)(`rect`,{height:2.73,opacity:.5,rx:.64,ry:.64,strokeLinecap:`round`,strokeMiterlimit:10,width:22.19,x:14.93,y:18.39}),(0,B.jsx)(`rect`,{height:2.73,opacity:.9,rx:.64,ry:.64,strokeLinecap:`round`,strokeMiterlimit:10,width:59.16,x:14.93,y:5.89}),(0,B.jsx)(`rect`,{height:19.95,opacity:.4,rx:2.11,ry:2.11,strokeLinecap:`round`,strokeMiterlimit:10,width:32.68,x:14.93,y:24.22}),(0,B.jsxs)(`g`,{strokeLinecap:`round`,strokeMiterlimit:10,children:[(0,B.jsx)(`rect`,{height:3.42,opacity:.32,rx:.33,ry:.33,width:2.01,x:59.05,y:38.15}),(0,B.jsx)(`rect`,{height:6.58,opacity:.44,rx:.33,ry:.33,width:2.01,x:54.78,y:34.99}),(0,B.jsx)(`rect`,{height:8.7,opacity:.53,rx:.33,ry:.33,width:2.01,x:63.17,y:32.86}),(0,B.jsx)(`rect`,{height:12.4,opacity:.66,rx:.33,ry:.33,width:2.01,x:67.54,y:29.17})]}),(0,B.jsxs)(`g`,{opacity:.5,children:[(0,B.jsx)(`circle`,{cx:62.16,cy:18.63,r:7.5}),(0,B.jsx)(`path`,{d:`M62.16 11.63c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.14-7-7 3.14-7 7-7m0-1c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8z`})]}),(0,B.jsxs)(`g`,{opacity:.74,children:[(0,B.jsx)(`path`,{d:`M63.04 18.13l3.38-5.67c.93.64 1.7 1.48 2.26 2.47.56.98.89 2.08.96 3.21h-6.6z`}),(0,B.jsx)(`path`,{d:`M66.57 13.19a6.977 6.977 0 012.52 4.44h-5.17l2.65-4.44m-.31-1.43l-4.1 6.87h8c0-1.39-.36-2.75-1.04-3.95a8.007 8.007 0 00-2.86-2.92z`})]})]})}function kn(e){return(0,B.jsxs)(`svg`,{"data-name":`con-layout-default`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,B.jsx)(`title`,{children:`Default Layout`}),(0,B.jsx)(`path`,{d:`M39.22 15.99h-8.16c-.79 0-1.43-.67-1.43-1.5s.64-1.5 1.43-1.5h8.16c.79 0 1.43.67 1.43 1.5s-.64 1.5-1.43 1.5z`,opacity:.75}),(0,B.jsx)(`rect`,{height:2.73,opacity:.5,rx:1.36,ry:1.36,width:16.72,x:29.63,y:18.39}),(0,B.jsx)(`path`,{d:`M75.1 6.68v1.45c0 .63-.49 1.14-1.09 1.14H30.72c-.6 0-1.09-.51-1.09-1.14V6.68c0-.62.49-1.14 1.09-1.14h43.29c.6 0 1.09.52 1.09 1.14z`,opacity:.9}),(0,B.jsx)(`rect`,{height:19.95,opacity:.4,rx:2.11,ry:2.11,width:21.8,x:29.63,y:24.22}),(0,B.jsxs)(`g`,{strokeLinecap:`round`,strokeMiterlimit:10,children:[(0,B.jsx)(`rect`,{height:3.42,opacity:.32,rx:.33,ry:.33,width:2.01,x:61.06,y:38.15}),(0,B.jsx)(`rect`,{height:6.58,opacity:.44,rx:.33,ry:.33,width:2.01,x:56.78,y:34.99}),(0,B.jsx)(`rect`,{height:8.7,opacity:.53,rx:.33,ry:.33,width:2.01,x:65.17,y:32.86}),(0,B.jsx)(`rect`,{height:12.4,opacity:.66,rx:.33,ry:.33,width:2.01,x:69.55,y:29.17})]}),(0,B.jsxs)(`g`,{opacity:.5,children:[(0,B.jsx)(`circle`,{cx:63.17,cy:18.63,r:7.5}),(0,B.jsx)(`path`,{d:`M63.17 11.63c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.14-7-7 3.14-7 7-7m0-1c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8z`})]}),(0,B.jsxs)(`g`,{opacity:.74,children:[(0,B.jsx)(`path`,{d:`M64.05 18.13l3.38-5.67c.93.64 1.7 1.48 2.26 2.47.56.98.89 2.08.96 3.21h-6.6z`}),(0,B.jsx)(`path`,{d:`M67.57 13.19a6.977 6.977 0 012.52 4.44h-5.17l2.65-4.44m-.31-1.43l-4.1 6.87h8c0-1.39-.36-2.75-1.04-3.95a8.007 8.007 0 00-2.86-2.92z`})]}),(0,B.jsxs)(`g`,{strokeLinecap:`round`,strokeMiterlimit:10,children:[(0,B.jsx)(`rect`,{height:40,opacity:.8,rx:2,ry:2,width:19.14,x:5.84,y:5.02}),(0,B.jsxs)(`g`,{stroke:`#fff`,children:[(0,B.jsx)(`path`,{d:`M9.02 17.39L21.25 17.39`,fill:`none`,opacity:.72,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M9.02 24.6L19.54 24.6`,fill:`none`,opacity:.48,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M9.02 20.88L18.4 20.88`,fill:`none`,opacity:.55,strokeWidth:`2px`}),(0,B.jsx)(`circle`,{cx:10.98,cy:9.91,fill:`#fff`,opacity:.8,r:2.54}),(0,B.jsx)(`path`,{d:`M15.53 8.65L21.25 8.65`,fill:`none`,opacity:.8,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M15.32 11.3L20.38 11.3`,fill:`none`,opacity:.6})]})]})]})}function An(e){return(0,B.jsxs)(`svg`,{"data-name":`icon-layout-full`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,B.jsx)(`title`,{children:`Full Layout`}),(0,B.jsx)(`path`,{d:`M6.85 14.49L15.02 14.49`,fill:`none`,opacity:.75,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`3px`}),(0,B.jsx)(`rect`,{height:2.73,opacity:.5,rx:.64,ry:.64,strokeLinecap:`round`,strokeMiterlimit:10,width:25.6,x:5.84,y:18.39}),(0,B.jsx)(`rect`,{height:2.73,opacity:.9,rx:.64,ry:.64,strokeLinecap:`round`,strokeMiterlimit:10,width:68.26,x:5.84,y:5.89}),(0,B.jsx)(`rect`,{height:19.95,opacity:.4,rx:2.11,ry:2.11,strokeLinecap:`round`,strokeMiterlimit:10,width:37.71,x:5.84,y:24.22}),(0,B.jsxs)(`g`,{strokeLinecap:`round`,strokeMiterlimit:10,children:[(0,B.jsx)(`rect`,{height:3.42,opacity:.32,rx:.33,ry:.33,width:2.01,x:59.05,y:38.15}),(0,B.jsx)(`rect`,{height:6.58,opacity:.44,rx:.33,ry:.33,width:2.01,x:54.78,y:34.99}),(0,B.jsx)(`rect`,{height:8.7,opacity:.53,rx:.33,ry:.33,width:2.01,x:63.17,y:32.86}),(0,B.jsx)(`rect`,{height:12.4,opacity:.66,rx:.33,ry:.33,width:2.01,x:67.54,y:29.17})]}),(0,B.jsxs)(`g`,{opacity:.5,children:[(0,B.jsx)(`circle`,{cx:62.16,cy:18.63,r:7.5}),(0,B.jsx)(`path`,{d:`M62.16 11.63c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.14-7-7 3.14-7 7-7m0-1c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8z`})]}),(0,B.jsxs)(`g`,{opacity:.74,children:[(0,B.jsx)(`path`,{d:`M63.04 18.13l3.38-5.67c.93.64 1.7 1.48 2.26 2.47.56.98.89 2.08.96 3.21h-6.6z`}),(0,B.jsx)(`path`,{d:`M66.57 13.19a6.977 6.977 0 012.52 4.44h-5.17l2.65-4.44m-.31-1.43l-4.1 6.87h8c0-1.39-.36-2.75-1.04-3.95a8.007 8.007 0 00-2.86-2.92z`})]})]})}function jn(e){return(0,B.jsxs)(`svg`,{"data-name":`icon-sidebar-floating`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,B.jsx)(`title`,{children:`Floating Sidebar`}),(0,B.jsx)(`rect`,{height:40,opacity:.8,rx:2,ry:2,strokeLinecap:`round`,strokeMiterlimit:10,width:19.74,x:5.89,y:5.15}),(0,B.jsxs)(`g`,{stroke:`#fff`,strokeLinecap:`round`,strokeMiterlimit:10,children:[(0,B.jsx)(`path`,{d:`M9.81 18.36L22.04 18.36`,fill:`none`,opacity:.72,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M9.81 25.57L20.33 25.57`,fill:`none`,opacity:.48,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M9.81 21.85L19.18 21.85`,fill:`none`,opacity:.55,strokeWidth:`2px`}),(0,B.jsx)(`circle`,{cx:11.76,cy:10.88,fill:`#fff`,opacity:.8,r:2.54}),(0,B.jsx)(`path`,{d:`M16.31 9.62L22.04 9.62`,fill:`none`,opacity:.8,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M16.1 12.27L21.16 12.27`,fill:`none`,opacity:.6})]}),(0,B.jsx)(`path`,{d:`M30.59 9.62L35.85 9.62`,fill:`none`,opacity:.62,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`3px`}),(0,B.jsx)(`rect`,{height:2.73,opacity:.44,rx:.64,ry:.64,strokeLinecap:`round`,strokeMiterlimit:10,width:26.03,x:29.94,y:13.42}),(0,B.jsx)(`rect`,{height:25.87,opacity:.3,rx:2,ry:2,strokeLinecap:`round`,strokeMiterlimit:10,width:43.11,x:29.94,y:19.28})]})}function Mn(e){return(0,B.jsxs)(`svg`,{"data-name":`icon-sidebar-inset`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,B.jsx)(`title`,{children:`Inset Sidebar`}),(0,B.jsx)(`rect`,{height:40,opacity:.2,rx:2,ry:2,strokeLinecap:`round`,strokeMiterlimit:10,width:50.22,x:23.39,y:5.57}),(0,B.jsx)(`path`,{d:`M5.08 17.05L17.31 17.05`,fill:`none`,opacity:.72,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M5.08 24.25L15.6 24.25`,fill:`none`,opacity:.48,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M5.08 20.54L14.46 20.54`,fill:`none`,opacity:.55,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`2px`}),(0,B.jsxs)(`g`,{strokeLinecap:`round`,strokeMiterlimit:10,children:[(0,B.jsx)(`circle`,{cx:7.04,cy:9.57,opacity:.8,r:2.54}),(0,B.jsx)(`path`,{d:`M11.59 8.3L17.31 8.3`,fill:`none`,opacity:.8,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M11.38 10.95L16.44 10.95`,fill:`none`,opacity:.6})]})]})}function Nn(e){return(0,B.jsxs)(`svg`,{"data-name":`icon-sidebar-sidebar`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,B.jsx)(`title`,{children:`Sidebar`}),(0,B.jsx)(`path`,{d:`M23.42.51h51.99c2.21 0 4 1.79 4 4v42.18c0 2.21-1.79 4-4 4H23.42s-.04-.02-.04-.04V.55s.02-.04.04-.04z`,opacity:.2,strokeLinecap:`round`,strokeMiterlimit:10}),(0,B.jsx)(`path`,{d:`M5.56 14.88L17.78 14.88`,fill:`none`,opacity:.72,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M5.56 22.09L16.08 22.09`,fill:`none`,opacity:.48,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M5.56 18.38L14.93 18.38`,fill:`none`,opacity:.55,strokeLinecap:`round`,strokeMiterlimit:10,strokeWidth:`2px`}),(0,B.jsxs)(`g`,{strokeLinecap:`round`,strokeMiterlimit:10,children:[(0,B.jsx)(`circle`,{cx:7.51,cy:7.4,opacity:.8,r:2.54}),(0,B.jsx)(`path`,{d:`M12.06 6.14L17.78 6.14`,fill:`none`,opacity:.8,strokeWidth:`2px`}),(0,B.jsx)(`path`,{d:`M11.85 8.79L16.91 8.79`,fill:`none`,opacity:.6})]})]})}function Pn(e){return(0,B.jsxs)(`svg`,{"aria-label":`Dark theme icon`,"data-name":`icon-theme-dark`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,B.jsx)(`title`,{children:`Dark Theme`}),(0,B.jsxs)(`g`,{fill:`#1d2b3f`,children:[(0,B.jsx)(`rect`,{height:50.14,rx:3.5,ry:3.5,width:78.83,x:.53,y:.5}),(0,B.jsx)(`path`,{d:`M75.86 1c1.65 0 3 1.35 3 3v43.14c0 1.65-1.35 3-3 3H4.03c-1.65 0-3-1.35-3-3V4c0-1.65 1.35-3 3-3h71.83m0-1H4.03c-2.21 0-4 1.79-4 4v43.14c0 2.21 1.79 4 4 4h71.83c2.21 0 4-1.79 4-4V4c0-2.21-1.79-4-4-4z`})]}),(0,B.jsx)(`path`,{d:`M22.88 0h52.97c2.21 0 4 1.79 4 4v43.14c0 2.21-1.79 4-4 4H22.88V0z`,fill:`#0d1628`}),(0,B.jsx)(`circle`,{cx:6.7,cy:7.04,fill:`#426187`,r:3.54}),(0,B.jsx)(`path`,{d:`M18.12 6.39h-5.87c-.6 0-1.09-.45-1.09-1s.49-1 1.09-1h5.87c.6 0 1.09.45 1.09 1s-.49 1-1.09 1zM16.55 9.77h-4.24c-.55 0-1-.45-1-1s.45-1 1-1h4.24c.55 0 1 .45 1 1s-.45 1-1 1zM18.32 17.37H4.59c-.69 0-1.25-.47-1.25-1.05s.56-1.05 1.25-1.05h13.73c.69 0 1.25.47 1.25 1.05s-.56 1.05-1.25 1.05zM15.34 21.26h-11c-.55 0-1-.41-1-.91s.45-.91 1-.91h11c.55 0 1 .41 1 .91s-.45.91-1 .91zM16.46 25.57H4.43c-.6 0-1.09-.44-1.09-.98s.49-.98 1.09-.98h12.03c.6 0 1.09.44 1.09.98s-.49.98-1.09.98z`,fill:`#426187`}),(0,B.jsxs)(`g`,{fill:`#2a62bc`,children:[(0,B.jsx)(`rect`,{height:3.42,opacity:.32,rx:.33,ry:.33,width:2.75,x:33.36,y:19.73}),(0,B.jsx)(`rect`,{height:6.58,opacity:.44,rx:.33,ry:.33,width:2.75,x:29.64,y:16.57}),(0,B.jsx)(`rect`,{height:8.7,opacity:.53,rx:.33,ry:.33,width:2.75,x:37.16,y:14.44}),(0,B.jsx)(`rect`,{height:12.4,opacity:.53,rx:.33,ry:.33,width:2.75,x:41.19,y:10.75})]}),(0,B.jsx)(`circle`,{cx:62.74,cy:16.32,fill:`#2f5491`,opacity:.5,r:8}),(0,B.jsx)(`path`,{d:`M62.74 16.32l4.1-6.87c1.19.71 2.18 1.72 2.86 2.92s1.04 2.57 1.04 3.95h-8z`,fill:`#2f5491`,opacity:.74}),(0,B.jsx)(`rect`,{fill:`#17273f`,height:18.62,rx:1.69,ry:1.69,width:41.62,x:29.64,y:27.75})]})}function Fn(e){return(0,B.jsxs)(`svg`,{"aria-label":`Light theme icon`,"data-name":`icon-theme-light`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,B.jsx)(`title`,{children:`Light Theme`}),(0,B.jsxs)(`g`,{fill:`#d9d9d9`,children:[(0,B.jsx)(`rect`,{height:50.14,rx:3.5,ry:3.5,width:78.83,x:.53,y:.5}),(0,B.jsx)(`path`,{d:`M75.86 1c1.65 0 3 1.35 3 3v43.14c0 1.65-1.35 3-3 3H4.03c-1.65 0-3-1.35-3-3V4c0-1.65 1.35-3 3-3h71.83m0-1H4.03c-2.21 0-4 1.79-4 4v43.14c0 2.21 1.79 4 4 4h71.83c2.21 0 4-1.79 4-4V4c0-2.21-1.79-4-4-4z`})]}),(0,B.jsx)(`path`,{d:`M22.88 0h52.97c2.21 0 4 1.79 4 4v43.14c0 2.21-1.79 4-4 4H22.88V0z`,fill:`#ecedef`}),(0,B.jsx)(`circle`,{cx:6.7,cy:7.04,fill:`#fff`,r:3.54}),(0,B.jsx)(`path`,{d:`M18.12 6.39h-5.87c-.6 0-1.09-.45-1.09-1s.49-1 1.09-1h5.87c.6 0 1.09.45 1.09 1s-.49 1-1.09 1zM16.55 9.77h-4.24c-.55 0-1-.45-1-1s.45-1 1-1h4.24c.55 0 1 .45 1 1s-.45 1-1 1zM18.32 17.37H4.59c-.69 0-1.25-.47-1.25-1.05s.56-1.05 1.25-1.05h13.73c.69 0 1.25.47 1.25 1.05s-.56 1.05-1.25 1.05zM15.34 21.26h-11c-.55 0-1-.41-1-.91s.45-.91 1-.91h11c.55 0 1 .41 1 .91s-.45.91-1 .91zM16.46 25.57H4.43c-.6 0-1.09-.44-1.09-.98s.49-.98 1.09-.98h12.03c.6 0 1.09.44 1.09.98s-.49.98-1.09.98z`,fill:`#fff`}),(0,B.jsxs)(`g`,{fill:`#c0c4c4`,children:[(0,B.jsx)(`rect`,{height:3.42,opacity:.32,rx:.33,ry:.33,width:2.75,x:33.36,y:19.73}),(0,B.jsx)(`rect`,{height:6.58,opacity:.44,rx:.33,ry:.33,width:2.75,x:29.64,y:16.57}),(0,B.jsx)(`rect`,{height:8.7,opacity:.53,rx:.33,ry:.33,width:2.75,x:37.16,y:14.44}),(0,B.jsx)(`rect`,{height:12.4,opacity:.53,rx:.33,ry:.33,width:2.75,x:41.19,y:10.75})]}),(0,B.jsx)(`circle`,{cx:62.74,cy:16.32,fill:`#fff`,r:8}),(0,B.jsxs)(`g`,{fill:`#d9d9d9`,children:[(0,B.jsx)(`path`,{d:`M63.62 15.82L67 10.15c.93.64 1.7 1.48 2.26 2.47.56.98.89 2.08.96 3.21h-6.6z`}),(0,B.jsx)(`path`,{d:`M67.14 10.88a6.977 6.977 0 012.52 4.44h-5.17l2.65-4.44m-.31-1.43l-4.1 6.87h8c0-1.39-.36-2.75-1.04-3.95s-1.67-2.21-2.86-2.92z`})]}),(0,B.jsx)(`rect`,{fill:`#fff`,height:18.62,rx:1.69,ry:1.69,width:41.62,x:29.64,y:27.75})]})}function In({className:e,...t}){return(0,B.jsxs)(`svg`,{"aria-label":`System theme icon`,className:D(`overflow-hidden rounded-[6px]`,`fill-primary stroke-primary group-data-[state=unchecked]:fill-muted-foreground group-data-[state=unchecked]:stroke-muted-foreground`,e),"data-name":`icon-theme-system`,viewBox:`0 0 79.86 51.14`,xmlns:`http://www.w3.org/2000/svg`,...t,children:[(0,B.jsx)(`title`,{children:`System Theme`}),(0,B.jsx)(`path`,{d:`M0 0.03H22.88V51.17H0z`,opacity:.2}),(0,B.jsx)(`circle`,{cx:6.7,cy:7.04,fill:`#fff`,opacity:.8,r:3.54,stroke:`#fff`,strokeLinecap:`round`,strokeMiterlimit:10}),(0,B.jsx)(`path`,{d:`M18.12 6.39h-5.87c-.6 0-1.09-.45-1.09-1s.49-1 1.09-1h5.87c.6 0 1.09.45 1.09 1s-.49 1-1.09 1zM16.55 9.77h-4.24c-.55 0-1-.45-1-1s.45-1 1-1h4.24c.55 0 1 .45 1 1s-.45 1-1 1z`,fill:`#fff`,opacity:.75,stroke:`none`}),(0,B.jsx)(`path`,{d:`M18.32 17.37H4.59c-.69 0-1.25-.47-1.25-1.05s.56-1.05 1.25-1.05h13.73c.69 0 1.25.47 1.25 1.05s-.56 1.05-1.25 1.05z`,fill:`#fff`,opacity:.72,stroke:`none`}),(0,B.jsx)(`path`,{d:`M15.34 21.26h-11c-.55 0-1-.41-1-.91s.45-.91 1-.91h11c.55 0 1 .41 1 .91s-.45.91-1 .91z`,fill:`#fff`,opacity:.55,stroke:`none`}),(0,B.jsx)(`path`,{d:`M16.46 25.57H4.43c-.6 0-1.09-.44-1.09-.98s.49-.98 1.09-.98h12.03c.6 0 1.09.44 1.09.98s-.49.98-1.09.98z`,fill:`#fff`,opacity:.67,stroke:`none`}),(0,B.jsx)(`rect`,{height:3.42,opacity:.31,rx:.33,ry:.33,stroke:`none`,width:2.75,x:33.36,y:19.73}),(0,B.jsx)(`rect`,{height:6.58,opacity:.4,rx:.33,ry:.33,stroke:`none`,width:2.75,x:29.64,y:16.57}),(0,B.jsx)(`rect`,{height:8.7,opacity:.26,rx:.33,ry:.33,stroke:`none`,width:2.75,x:37.16,y:14.44}),(0,B.jsx)(`rect`,{height:12.4,opacity:.37,rx:.33,ry:.33,stroke:`none`,width:2.75,x:41.19,y:10.75}),(0,B.jsxs)(`g`,{children:[(0,B.jsx)(`circle`,{cx:62.74,cy:16.32,opacity:.25,r:8}),(0,B.jsx)(`path`,{d:`M62.74 16.32l4.1-6.87c1.19.71 2.18 1.72 2.86 2.92s1.04 2.57 1.04 3.95h-8z`,opacity:.45})]}),(0,B.jsx)(`rect`,{height:18.62,opacity:.3,rx:1.69,ry:1.69,stroke:`none`,strokeLinecap:`round`,strokeMiterlimit:10,width:41.62,x:29.64,y:27.75})]})}function Ln({...e}){return(0,B.jsx)(Be,{"data-slot":`sheet`,...e})}function Rn({...e}){return(0,B.jsx)(Le,{"data-slot":`sheet-trigger`,...e})}function zn({...e}){return(0,B.jsx)(Ie,{"data-slot":`sheet-portal`,...e})}function Bn({className:e,...t}){return(0,B.jsx)(Re,{className:D(`data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in`,e),"data-slot":`sheet-overlay`,...t})}function Vn({className:e,children:t,side:n=`right`,showCloseButton:r=!0,...i}){return(0,B.jsxs)(zn,{children:[(0,B.jsx)(Bn,{}),(0,B.jsxs)(ze,{className:D(`fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=open]:animate-in data-[state=closed]:duration-300 data-[state=open]:duration-500`,n===`right`&&`data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm`,n===`left`&&`data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm`,n===`top`&&`data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b`,n===`bottom`&&`data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t`,e),"data-slot":`sheet-content`,...i,children:[t,r&&(0,B.jsxs)(Ue,{className:`absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary`,children:[(0,B.jsx)(mt,{className:`size-4`}),(0,B.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function Hn({className:e,...t}){return(0,B.jsx)(`div`,{className:D(`flex flex-col gap-1.5 p-4`,e),"data-slot":`sheet-header`,...t})}function Un({className:e,...t}){return(0,B.jsx)(`div`,{className:D(`mt-auto flex flex-col gap-2 p-4`,e),"data-slot":`sheet-footer`,...t})}function Wn({className:e,...t}){return(0,B.jsx)(He,{className:D(`font-semibold text-foreground`,e),"data-slot":`sheet-title`,...t})}function Gn({className:e,...t}){return(0,B.jsx)(Ve,{className:D(`text-muted-foreground text-sm`,e),"data-slot":`sheet-description`,...t})}var Kn=`layout_collapsible`,qn=`layout_variant`,Jn=3600*24*7,Yn=`sidebar`,Xn=`icon`,Zn=(0,z.createContext)(null);function Qn({children:e}){let[t,n]=(0,z.useState)(()=>Qe(Kn)||Xn),[r,i]=(0,z.useState)(()=>Qe(qn)||Yn),a=e=>{n(e),Ze(Kn,e,Jn)},o=e=>{i(e),Ze(qn,e,Jn)};return(0,B.jsx)(Zn,{value:{resetLayout:()=>{a(Xn),o(Yn)},defaultCollapsible:Xn,collapsible:t,setCollapsible:a,defaultVariant:Yn,variant:r,setVariant:o},children:e})}function Y(){let e=(0,z.useContext)(Zn);if(!e)throw Error(`useLayout must be used within a LayoutProvider`);return e}var X=768;function $n(){let[e,t]=z.useState(void 0);return z.useEffect(()=>{let e=window.matchMedia(`(max-width: ${X-1}px)`),n=()=>{t(window.innerWidth<X)};return e.addEventListener(`change`,n),t(window.innerWidth<X),()=>e.removeEventListener(`change`,n)},[]),!!e}var er=`16rem`,tr=`18rem`,nr=`3rem`,rr=`b`,ir=z.createContext(null);function Z(){let e=z.useContext(ir);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function ar({defaultOpen:e=!0,open:t,onOpenChange:i,className:a,style:o,children:s,...c}){let l=$n(),[u,d]=z.useState(!1),[f,p]=z.useState(e),m=t??f,h=z.useCallback(e=>{let t=typeof e==`function`?e(m):e;i?i(t):p(t),document.cookie=`${r}=${t}; path=/; max-age=${n}`},[i,m]),g=z.useCallback(()=>l?d(e=>!e):h(e=>!e),[l,h]);z.useEffect(()=>{let e=e=>{e.key===rr&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),g())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[g]);let _=m?`expanded`:`collapsed`,v=z.useMemo(()=>({state:_,open:m,setOpen:h,isMobile:l,openMobile:u,setOpenMobile:d,toggleSidebar:g}),[_,m,h,l,u,g]);return(0,B.jsx)(ir.Provider,{value:v,children:(0,B.jsx)(Ye,{delayDuration:0,children:(0,B.jsx)(`div`,{className:D(`group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar`,a),"data-slot":`sidebar-wrapper`,style:{"--sidebar-width":er,"--sidebar-width-icon":nr,...o},...c,children:s})})})}function or({side:e=`left`,variant:t=`sidebar`,collapsible:n=`offcanvas`,className:r,children:i,...a}){let{isMobile:o,state:s,openMobile:c,setOpenMobile:l}=Z();return n===`none`?(0,B.jsx)(`div`,{className:D(`flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground`,r),"data-slot":`sidebar`,...a,children:i}):o?(0,B.jsx)(Ln,{onOpenChange:l,open:c,...a,children:(0,B.jsxs)(Vn,{className:`w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden`,"data-mobile":`true`,"data-sidebar":`sidebar`,"data-slot":`sidebar`,side:e,style:{"--sidebar-width":tr},children:[(0,B.jsxs)(Hn,{className:`sr-only`,children:[(0,B.jsx)(Wn,{children:`Sidebar`}),(0,B.jsx)(Gn,{children:`Displays the mobile sidebar.`})]}),(0,B.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:i})]})}):(0,B.jsxs)(`div`,{className:`group peer hidden text-sidebar-foreground md:block`,"data-collapsible":s===`collapsed`?n:``,"data-side":e,"data-slot":`sidebar`,"data-state":s,"data-variant":t,children:[(0,B.jsx)(`div`,{className:D(`relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear`,`group-data-[collapsible=offcanvas]:w-0`,`group-data-[side=right]:rotate-180`,t===`floating`||t===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`),"data-slot":`sidebar-gap`}),(0,B.jsx)(`div`,{className:D(`fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex`,e===`left`?`left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]`:`right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]`,t===`floating`||t===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,r),"data-slot":`sidebar-container`,...a,children:(0,B.jsx)(`div`,{className:`flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-sm`,"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,children:i})})]})}function sr({className:e,onClick:t,...n}){let{toggleSidebar:r}=Z();return(0,B.jsxs)(k,{className:D(`size-7`,e),"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,onClick:e=>{t?.(e),r()},size:`icon`,variant:`ghost`,...n,children:[(0,B.jsx)(xn,{}),(0,B.jsx)(`span`,{className:`sr-only`,children:`Toggle Sidebar`})]})}function cr({className:e,...t}){let{toggleSidebar:n}=Z();return(0,B.jsx)(`button`,{"aria-label":`Toggle Sidebar`,className:D(`absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex`,`in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize`,`[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize`,`group-data-[collapsible=offcanvas]:translate-x-0 hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:after:left-full`,`[[data-side=left][data-collapsible=offcanvas]_&]:-right-2`,`[[data-side=right][data-collapsible=offcanvas]_&]:-left-2`,e),"data-sidebar":`rail`,"data-slot":`sidebar-rail`,onClick:n,tabIndex:-1,title:`Toggle Sidebar`,...t})}function lr({className:e,...t}){return(0,B.jsx)(`main`,{className:D(`relative flex w-full flex-1 flex-col bg-background`,`md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm`,e),"data-slot":`sidebar-inset`,...t})}function ur({className:e,...t}){return(0,B.jsx)(`div`,{className:D(`flex flex-col gap-2 p-2`,e),"data-sidebar":`header`,"data-slot":`sidebar-header`,...t})}function dr({className:e,...t}){return(0,B.jsx)(`div`,{className:D(`flex flex-col gap-2 p-2`,e),"data-sidebar":`footer`,"data-slot":`sidebar-footer`,...t})}function fr({className:e,...t}){return(0,B.jsx)(`div`,{className:D(`flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,e),"data-sidebar":`content`,"data-slot":`sidebar-content`,...t})}function pr({className:e,...t}){return(0,B.jsx)(`div`,{className:D(`relative flex w-full min-w-0 flex-col p-2`,e),"data-sidebar":`group`,"data-slot":`sidebar-group`,...t})}function mr({className:e,asChild:t=!1,...n}){return(0,B.jsx)(t?O:`div`,{className:D(`flex h-8 shrink-0 items-center rounded-md px-2 font-medium text-sidebar-foreground/70 text-xs outline-hidden ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0`,`group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0`,e),"data-sidebar":`group-label`,"data-slot":`sidebar-group-label`,...n})}function hr({className:e,...t}){return(0,B.jsx)(`ul`,{className:D(`flex w-full min-w-0 flex-col gap-1`,e),"data-sidebar":`menu`,"data-slot":`sidebar-menu`,...t})}function gr({className:e,...t}){return(0,B.jsx)(`li`,{className:D(`group/menu-item relative`,e),"data-sidebar":`menu-item`,"data-slot":`sidebar-menu-item`,...t})}var _r=Ne(`peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0`,{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-sm`,sm:`h-7 text-xs`,lg:`h-12 text-sm group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function vr({asChild:e=!1,isActive:t=!1,variant:n=`default`,size:r=`default`,tooltip:i,className:a,...o}){let s=e?O:`button`,{isMobile:c,state:l}=Z(),u=(0,B.jsx)(s,{className:D(_r({variant:n,size:r}),a),"data-active":t,"data-sidebar":`menu-button`,"data-size":r,"data-slot":`sidebar-menu-button`,...o});return i?(typeof i==`string`&&(i={children:i}),(0,B.jsxs)(Xe,{children:[(0,B.jsx)(qe,{asChild:!0,children:u}),(0,B.jsx)(Je,{align:`center`,hidden:l!==`collapsed`||c,side:`right`,...i})]})):u}function yr({className:e,...t}){return(0,B.jsx)(`ul`,{className:D(`mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-sidebar-border border-l px-2.5 py-0.5`,`group-data-[collapsible=icon]:hidden`,e),"data-sidebar":`menu-sub`,"data-slot":`sidebar-menu-sub`,...t})}function br({className:e,...t}){return(0,B.jsx)(`li`,{className:D(`group/menu-sub-item relative`,e),"data-sidebar":`menu-sub-item`,"data-slot":`sidebar-menu-sub-item`,...t})}function xr({asChild:e=!1,size:t=`md`,isActive:n=!1,className:r,...i}){return(0,B.jsx)(e?O:`a`,{className:D(`flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-hidden ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground`,`data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground`,t===`sm`&&`text-xs`,t===`md`&&`text-sm`,`group-data-[collapsible=icon]:hidden`,r),"data-active":n,"data-sidebar":`menu-sub-button`,"data-size":t,"data-slot":`sidebar-menu-sub-button`,...i})}function Sr(){return(0,B.jsxs)(Ln,{children:[(0,B.jsx)(Rn,{asChild:!0,children:(0,B.jsx)(k,{"aria-describedby":`config-drawer-description`,"aria-label":`Open theme settings`,className:`rounded-full`,size:`icon`,variant:`ghost`,children:(0,B.jsx)(wn,{"aria-hidden":`true`})})}),(0,B.jsx)(Cr,{})]})}function Cr(){let{setOpen:e}=Z(),{resetDir:t}=$e(),{resetFont:n}=nt(),{resetTheme:r}=I(),{resetLayout:i}=Y();return(0,B.jsxs)(Vn,{className:`flex flex-col`,children:[(0,B.jsxs)(Hn,{className:`pb-0 text-start`,children:[(0,B.jsx)(Wn,{children:Se()}),(0,B.jsx)(Gn,{id:`config-drawer-description`,children:re()})]}),(0,B.jsxs)(`div`,{className:`space-y-6 overflow-y-auto px-4`,children:[(0,B.jsx)(Tr,{}),(0,B.jsx)(wr,{}),(0,B.jsx)(Er,{}),(0,B.jsx)(Dr,{}),(0,B.jsx)(Or,{})]}),(0,B.jsx)(Un,{className:`gap-2`,children:(0,B.jsx)(k,{"aria-label":`Reset all settings to default values`,onClick:()=>{e(!0),t(),n(),r(),i()},variant:`destructive`,children:o()})})]})}function Q({title:e,showReset:t=!1,onReset:n,className:r}){return(0,B.jsxs)(`div`,{className:D(`mb-2 flex items-center gap-2 font-semibold text-muted-foreground text-sm`,r),children:[e,t&&n&&(0,B.jsx)(k,{className:`size-4 rounded-full`,onClick:n,size:`icon`,variant:`secondary`,children:(0,B.jsx)(Sn,{className:`size-3`})})]})}function $({item:e,isTheme:t=!1}){return(0,B.jsxs)(Ke,{"aria-describedby":`${e.value}-description`,"aria-label":`Select ${e.label.toLowerCase()}`,className:D(`group outline-none`,`transition duration-200 ease-in`),value:e.value,children:[(0,B.jsxs)(`div`,{"aria-hidden":`false`,"aria-label":`${e.label} option preview`,className:D(`relative rounded-[6px] ring-[1px] ring-border`,`group-data-[state=checked]:shadow-2xl group-data-[state=checked]:ring-primary`,`group-focus-visible:ring-2`),role:`img`,children:[(0,B.jsx)(et,{"aria-hidden":`true`,className:D(`size-6 fill-primary stroke-white`,`group-data-[state=unchecked]:hidden`,`absolute top-0 right-0 translate-x-1/2 -translate-y-1/2`)}),(0,B.jsx)(e.icon,{"aria-hidden":`true`,className:D(!t&&`fill-primary stroke-primary group-data-[state=unchecked]:fill-muted-foreground group-data-[state=unchecked]:stroke-muted-foreground`)})]}),(0,B.jsx)(`div`,{"aria-live":`polite`,className:`mt-1 text-xs`,id:`${e.value}-description`,children:e.label})]})}function wr(){let{defaultTheme:e,theme:t,setTheme:n}=I();return(0,B.jsxs)(`div`,{children:[(0,B.jsx)(Q,{onReset:()=>n(e),showReset:t!==e,title:g()}),(0,B.jsx)(F,{"aria-describedby":`theme-description`,"aria-label":`Select theme preference`,className:`grid w-full max-w-md grid-cols-3 gap-4`,onValueChange:n,value:t,children:[{value:`system`,label:Te(),icon:In},{value:`light`,label:ae(),icon:Fn},{value:`dark`,label:ne(),icon:Pn}].map(e=>(0,B.jsx)($,{isTheme:!0,item:e},e.value))}),(0,B.jsx)(`div`,{className:`sr-only`,id:`theme-description`,children:`Choose between system preference, light mode, or dark mode`})]})}function Tr(){let{font:e,setFont:t,resetFont:n}=nt();return(0,B.jsxs)(`div`,{children:[(0,B.jsx)(Q,{onReset:n,showReset:e!==rt[0],title:pe()}),(0,B.jsx)(`select`,{className:`w-full rounded-md border border-input bg-background px-3 py-2 text-sm`,onChange:e=>t(e.target.value),value:e,children:rt.map(e=>(0,B.jsx)(`option`,{value:e,children:e},e))})]})}function Er(){let{defaultVariant:e,variant:t,setVariant:n}=Y();return(0,B.jsxs)(`div`,{className:`max-md:hidden`,children:[(0,B.jsx)(Q,{onReset:()=>n(e),showReset:e!==t,title:ee()}),(0,B.jsx)(F,{"aria-describedby":`sidebar-description`,"aria-label":`Select sidebar style`,className:`grid w-full max-w-md grid-cols-3 gap-4`,onValueChange:n,value:t,children:[{value:`inset`,label:p(),icon:Mn},{value:`floating`,label:_e(),icon:jn},{value:`sidebar`,label:m(),icon:Nn}].map(e=>(0,B.jsx)($,{item:e},e.value))}),(0,B.jsx)(`div`,{className:`sr-only`,id:`sidebar-description`,children:`Choose between inset, floating, or standard sidebar layout`})]})}function Dr(){let{open:e,setOpen:t}=Z(),{defaultCollapsible:n,collapsible:r,setCollapsible:i}=Y(),a=e?`default`:r;return(0,B.jsxs)(`div`,{className:`max-md:hidden`,children:[(0,B.jsx)(Q,{onReset:()=>{t(!0),i(n)},showReset:a!==`default`,title:C()}),(0,B.jsx)(F,{"aria-describedby":`layout-description`,"aria-label":`Select layout style`,className:`grid w-full max-w-md grid-cols-3 gap-4`,onValueChange:e=>{if(e===`default`){t(!0);return}t(!1),i(e)},value:a,children:[{value:`default`,label:d(),icon:kn},{value:`icon`,label:S(),icon:On},{value:`offcanvas`,label:b(),icon:An}].map(e=>(0,B.jsx)($,{item:e},e.value))}),(0,B.jsx)(`div`,{className:`sr-only`,id:`layout-description`,children:`Choose between default expanded, compact icon-only, or full layout mode`})]})}function Or(){let{defaultDir:e,dir:t,setDir:n}=$e();return(0,B.jsxs)(`div`,{children:[(0,B.jsx)(Q,{onReset:()=>n(e),showReset:e!==t,title:w()}),(0,B.jsx)(F,{"aria-describedby":`direction-description`,"aria-label":`Select site direction`,className:`grid w-full max-w-md grid-cols-3 gap-4`,onValueChange:n,value:t,children:[{value:`ltr`,label:f(),icon:e=>(0,B.jsx)(Dn,{dir:`ltr`,...e})},{value:`rtl`,label:x(),icon:e=>(0,B.jsx)(Dn,{dir:`rtl`,...e})}].map(e=>(0,B.jsx)($,{item:e},e.value))}),(0,B.jsx)(`div`,{className:`sr-only`,id:`direction-description`,children:`Choose between left-to-right or right-to-left site direction`})]})}function kr({open:e,onOpenChange:n}){let r=Me(),a=gt(),o=t.useMutation(`post`,`/admin/api/v1/auth/logout`);return(0,B.jsx)(We,{className:`sm:max-w-sm`,confirmText:o.isPending?Ce():ce(),desc:fe(),destructive:!0,handleConfirm:async()=>{await o.mutateAsync({}),i();let e=a.href;r({to:`/sign-in`,search:{redirect:e},replace:!0})},onOpenChange:n,open:e,title:ce()})}function Ar({className:e,size:t=`default`,...n}){return(0,B.jsx)(Mt,{className:D(`group/avatar relative flex size-8 shrink-0 select-none overflow-hidden rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6`,e),"data-size":t,"data-slot":`avatar`,...n})}function jr({className:e,...t}){return(0,B.jsx)(Nt,{className:D(`aspect-square size-full`,e),"data-slot":`avatar-image`,...t})}function Mr({className:e,...t}){return(0,B.jsx)(Pt,{className:D(`flex size-full items-center justify-center rounded-full bg-muted text-muted-foreground text-sm group-data-[size=sm]/avatar:text-xs`,e),"data-slot":`avatar-fallback`,...t})}function Nr(e=null){let[t,n]=(0,z.useState)(e);return[t,e=>n(t=>t===e?null:e)]}function Pr(e){if(!e)return`-`;let t=new Date(e.replace(` `,`T`));return Number.isNaN(t.getTime())?e:new Intl.DateTimeFormat(`zh-TW`,{year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hour12:!1}).format(t)}function Fr(e){return e?e.includes(` `)?e.slice(11,16):e.slice(5):``}function Ir(e,t=2){return Number(e??0).toLocaleString(`en-US`,{maximumFractionDigits:t})}function Lr(e,t=2){return`$${Number(e??0).toLocaleString(`en-US`,{maximumFractionDigits:t})}`}function Rr(){return{user:{name:`GMPay`,email:`admin@gmpay.local`,avatar:`/avatars/shadcn.jpg`},teams:[{name:`GMPay`,logo:ht,plan:h()}],navGroups:[{title:Ee(),items:[{title:T(),url:`/dashboard`,icon:yn},{title:l(),icon:mn,items:[{title:u(),url:`/payment-setup`},{title:y(),url:`/payment-setup/integrations`}]}]},{title:De(),items:[{title:oe(),url:`/orders`,icon:Tn}]},{title:c(),items:[{title:v(),url:`/addresses`,icon:tt}]},{title:de(),items:[{title:ge(),url:`/chains`,icon:gn},{title:ie(),url:`/rpc`,icon:En}]},{title:te(),items:[{title:se(),url:`/keys`,icon:hn},{title:we(),icon:wn,items:[{title:le(),url:`/settings`},{title:ve(),url:`/settings/telegram`},{title:me(),url:`/settings/pay`},{title:xe(),url:`/settings/epay`},{title:_(),url:`/settings/okpay`}]},{title:ue(),icon:pt,items:[{title:be(),url:`/account/password`}]}]}]}}function zr({className:e,children:t,...n}){return(0,B.jsxs)(un,{className:D(`relative`,e),"data-slot":`scroll-area`,...n,children:[(0,B.jsx)(dn,{className:`size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50`,"data-slot":`scroll-area-viewport`,children:t}),(0,B.jsx)(Br,{}),(0,B.jsx)(fn,{})]})}function Br({className:e,orientation:t=`vertical`,...n}){return(0,B.jsx)(Ut,{className:D(`flex touch-none select-none p-px transition-colors`,t===`vertical`&&`h-full w-2.5 border-l border-l-transparent`,t===`horizontal`&&`h-2.5 flex-col border-t border-t-transparent`,e),"data-slot":`scroll-area-scrollbar`,orientation:t,...n,children:(0,B.jsx)(Qt,{className:`relative flex-1 rounded-full bg-border`,"data-slot":`scroll-area-thumb`})})}function Vr(){let e=Me(),{setTheme:t}=I(),{open:n,setOpen:r}=Wr(),i=Rr(),a=z.useCallback(e=>{r(!1),e()},[r]);return(0,B.jsxs)(ut,{modal:!0,onOpenChange:r,open:n,children:[(0,B.jsx)(st,{placeholder:ye()}),(0,B.jsx)(ft,{children:(0,B.jsxs)(zr,{className:`h-72 pe-1`,type:`hover`,children:[(0,B.jsx)(dt,{children:he()}),i.navGroups.map(t=>(0,B.jsx)(lt,{heading:t.title,children:t.items.map(t=>t.url?(0,B.jsxs)(R,{onSelect:()=>{a(()=>e({to:t.url}))},value:t.title,children:[(0,B.jsx)(`div`,{className:`flex size-4 items-center justify-center`,children:(0,B.jsx)(pn,{className:`size-2 text-muted-foreground/80`})}),t.title]},t.url):t.items?.map(n=>(0,B.jsxs)(R,{onSelect:()=>{a(()=>e({to:n.url}))},value:`${t.title}-${n.url}`,children:[(0,B.jsx)(`div`,{className:`flex size-4 items-center justify-center`,children:(0,B.jsx)(pn,{className:`size-2 text-muted-foreground/80`})}),t.title,` `,(0,B.jsx)(it,{}),` `,n.title]},`${t.title}-${n.url}`)))},t.title)),(0,B.jsx)(ct,{}),(0,B.jsxs)(lt,{heading:g(),children:[(0,B.jsxs)(R,{onSelect:()=>a(()=>t(`light`)),children:[(0,B.jsx)(ot,{}),` `,(0,B.jsx)(`span`,{children:ae()})]}),(0,B.jsxs)(R,{onSelect:()=>a(()=>t(`dark`)),children:[(0,B.jsx)(at,{className:`scale-90`}),(0,B.jsx)(`span`,{children:ne()})]}),(0,B.jsxs)(R,{onSelect:()=>a(()=>t(`system`)),children:[(0,B.jsx)(vn,{}),(0,B.jsx)(`span`,{children:Te()})]})]})]})})]})}var Hr=(0,z.createContext)(null);function Ur({children:e}){let[t,n]=(0,z.useState)(!1);return(0,z.useEffect)(()=>{let e=e=>{e.key===`k`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),n(e=>!e))};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[]),(0,B.jsxs)(Hr,{value:{open:t,setOpen:n},children:[e,(0,B.jsx)(Vr,{})]})}var Wr=()=>{let e=(0,z.useContext)(Hr);if(!e)throw Error(`useSearch has to be used within SearchProvider`);return e};export{cr as A,gn as B,hr as C,xr as D,yr as E,Ln as F,mn as H,En as I,Cn as L,Z as M,Qn as N,br as O,Y as P,bn as R,lr as S,gr as T,hn as V,fr as _,Lr as a,mr as b,Fr as c,Mr as d,jr as f,or as g,Cr as h,Rr as i,sr as j,ar as k,Nr as l,Sr as m,Wr as n,Pr as o,kr as p,zr as r,Ir as s,Ur as t,Ar as u,dr as v,vr as w,ur as x,pr as y,_n as z};