@drdex0101/water-design-system 2.0.0 → 3.0.0
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/components/BottomNav/BottomNav.d.ts +66 -0
- package/dist/components/BottomNav/index.d.ts +1 -0
- package/dist/components/BottomSheet/BottomSheet.d.ts +47 -0
- package/dist/components/BottomSheet/index.d.ts +1 -0
- package/dist/components/Card/Card.d.ts +149 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/DatePicker/Calendar.d.ts +21 -0
- package/dist/components/DatePicker/DatePicker.d.ts +44 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +78 -0
- package/dist/components/DropdownMenu/index.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +132 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/Poker/PokerCard.d.ts +20 -23
- package/dist/components/Poker/index.d.ts +0 -3
- package/dist/components/Popup/Popup.d.ts +62 -0
- package/dist/components/Popup/index.d.ts +1 -0
- package/dist/components/SideMenu/SideMenu.d.ts +43 -0
- package/dist/components/SideMenu/index.d.ts +1 -0
- package/dist/components/Tabs/Tabs.d.ts +8 -6
- package/dist/index.d.ts +8 -0
- package/dist/logo.png +0 -0
- package/dist/pages/Showcase.d.ts +1 -0
- package/dist/water-design-system.es.js +3792 -1639
- package/dist/water-design-system.umd.js +34 -14
- package/package.json +1 -1
- package/dist/components/Poker/PokerPlayer.d.ts +0 -38
- package/dist/components/Poker/PokerStatusIndicator.d.ts +0 -28
- package/dist/components/Poker/PokerTable.d.ts +0 -39
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(r,
|
|
1
|
+
(function(r,W){typeof exports=="object"&&typeof module<"u"?W(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],W):(r=typeof globalThis<"u"?globalThis:r||self,W(r.WaterDesignSystem={},r.React))})(this,function(r,W){"use strict";var be={exports:{}},pe={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Se;function
|
|
9
|
+
*/var Se;function Ne(){if(Se)return pe;Se=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function o(i,l,s){var d=null;if(s!==void 0&&(d=""+s),l.key!==void 0&&(d=""+l.key),"key"in l){s={};for(var u in l)u!=="key"&&(s[u]=l[u])}else s=l;return l=s.ref,{$$typeof:t,type:i,key:d,ref:l!==void 0?l:null,props:s}}return pe.Fragment=n,pe.jsx=o,pe.jsxs=o,pe}var xe={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,20 +14,40 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var Me;function Ze(){return Me||(Me=1,process.env.NODE_ENV!=="production"&&function(){function t(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===U?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case y:return"Fragment";case F:return"Profiler";case H:return"StrictMode";case A:return"Suspense";case O:return"SuspenseList";case K:return"Activity"}if(typeof a=="object")switch(typeof a.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),a.$$typeof){case L:return"Portal";case S:return a.displayName||"Context";case I:return(a._context.displayName||"Context")+".Consumer";case R:var V=a.render;return a=a.displayName,a||(a=V.displayName||V.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Q:return V=a.displayName||null,V!==null?V:t(a.type)||"Memo";case X:V=a._payload,a=a._init;try{return t(a(V))}catch{}}return null}function n(a){return""+a}function o(a){try{n(a);var V=!1}catch{V=!0}if(V){V=console;var Z=V.error,P=typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object";return Z.call(V,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",P),n(a)}}function i(a){if(a===y)return"<>";if(typeof a=="object"&&a!==null&&a.$$typeof===X)return"<...>";try{var V=t(a);return V?"<"+V+">":"<...>"}catch{return"<...>"}}function l(){var a=_.A;return a===null?null:a.getOwner()}function s(){return Error("react-stack-top-frame")}function d(a){if(te.call(a,"key")){var V=Object.getOwnPropertyDescriptor(a,"key").get;if(V&&V.isReactWarning)return!1}return a.key!==void 0}function u(a,V){function Z(){z||(z=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",V))}Z.isReactWarning=!0,Object.defineProperty(a,"key",{get:Z,configurable:!0})}function g(){var a=t(this.type);return N[a]||(N[a]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),a=this.props.ref,a!==void 0?a:null}function k(a,V,Z,P,ge,ye){var Y=Z.ref;return a={$$typeof:j,type:a,key:V,props:Z,_owner:P},(Y!==void 0?Y:null)!==null?Object.defineProperty(a,"ref",{enumerable:!1,get:g}):Object.defineProperty(a,"ref",{enumerable:!1,value:null}),a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(a,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(a,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ge}),Object.defineProperty(a,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ye}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a}function f(a,V,Z,P,ge,ye){var Y=V.children;if(Y!==void 0)if(P)if(oe(Y)){for(P=0;P<Y.length;P++)m(Y[P]);Object.freeze&&Object.freeze(Y)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m(Y);if(te.call(V,"key")){Y=t(a);var he=Object.keys(V).filter(function(T){return T!=="key"});P=0<he.length?"{key: someKey, "+he.join(": ..., ")+": ...}":"{key: someKey}",ce[Y+P]||(he=0<he.length?"{"+he.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,_,B,le,B),Oe[B+_]=!0)}if(B=null,F!==void 0&&(c(F),B=""+F),b(j)&&(c(j.key),B=""+j.key),"key"in j){F={};for(var ke in j)ke!=="key"&&(F[ke]=j[ke])}else F=j;return B&&u(F,typeof n=="function"?n.displayName||n.name||"Unknown":n),y(n,B,F,i(),pe,xe)}function I(n){k(n)?n._store&&(n._store.validated=1):typeof n=="object"&&n!==null&&n.$$typeof===G&&(n._payload.status==="fulfilled"?k(n._payload.value)&&n._payload.value._store&&(n._payload.value._store.validated=1):n._store&&(n._store.validated=1))}function k(n){return typeof n=="object"&&n!==null&&n.$$typeof===z}var w=P,z=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),E=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),D=Symbol.for("react.client.reference"),A=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re=Object.prototype.hasOwnProperty,ce=Array.isArray,te=console.createTask?console.createTask:function(){return null};w={react_stack_bottom_frame:function(n){return n()}};var V,fe={},ge=w.react_stack_bottom_frame.bind(w,f)(),Q=te(l(f)),Oe={};ae.Fragment=S,ae.jsx=function(n,j,F){var _=1e4>A.recentlyCreatedOwnerStacks++;return v(n,j,F,!1,_?Error("react-stack-top-frame"):ge,_?te(l(n)):Q)},ae.jsxs=function(n,j,F){var _=1e4>A.recentlyCreatedOwnerStacks++;return v(n,j,F,!0,_?Error("react-stack-top-frame"):ge,_?te(l(n)):Q)}}()),ae}process.env.NODE_ENV==="production"?ye.exports=He():ye.exports=Le();var e=ye.exports;const T={50:"#fdecec",100:"#fac5c5",200:"#f8a9a9",300:"#f48282",400:"#f26969",500:"#ef4444",600:"#d93e3e",700:"#aa3030",800:"#832525",900:"#641d1d"},U={50:"#fdf1e6",100:"#f8d4b0",200:"#f4bf8a",300:"#efa154",400:"#ec8f33",500:"#e77300",600:"#d26900",700:"#a45200",800:"#7f3f00",900:"#613000"},Y={50:"#fef7e6",100:"#fae7b0",200:"#f8db8a",300:"#f5cb54",400:"#f3c133",500:"#f0b100",600:"#daa100",700:"#aa7e00",800:"#846100",900:"#654a00"},N={50:"#e7f7ed",100:"#b3e6c6",200:"#8fd9aa",300:"#5cc884",400:"#3cbd6c",500:"#0bad47",600:"#0a9d41",700:"#087b32",800:"#065f27",900:"#05491e"},he={50:"#e6fdfe",100:"#b1f7fc",200:"#8bf4fb",300:"#55eef9",400:"#35ebf8",500:"#02e6f6",600:"#02d1e0",700:"#01a3af",800:"#017f87",900:"#016167"},K={50:"#e6f8f6",100:"#b0ebe4",200:"#8ae1d7",300:"#55d3c4",400:"#34cab9",500:"#01bda7",600:"#01ac98",700:"#018677",800:"#01685c",900:"#004f46"},m={50:"#eaf5ff",100:"#bee1ff",200:"#9fd2ff",300:"#73bdff",400:"#58b1ff",500:"#2e9dff",600:"#2a8fe8",700:"#216fb5",800:"#19568c",900:"#13426b"},d={50:"#eff0f2",100:"#cfd1d5",200:"#b7bac1",300:"#969ba5",400:"#828894",500:"#636a79",600:"#5a606e",700:"#464b56",800:"#363a43",900:"#2a2d33"},W={50:"#fcfdfd",100:"#f7f8f9",200:"#f3f4f6",300:"#eeeff2",400:"#eaecef",500:"#e5e7eb",600:"#d0d2d6",700:"#a3a4a7",800:"#7e7f81",900:"#606163"},ne={50:"#f9fafb",100:"#cdcdcd",200:"#b5b5b5",300:"#939393",400:"#7e7e7e",500:"#5e5e5e",600:"#565656",700:"#434343",800:"#343434",900:"#0f0f0f"},ee={50:"#e8ebee",100:"#b9c0cb",200:"#97a2b2",300:"#68788f",400:"#4a5d79",500:"#1d3558",600:"#1a3050",700:"#15263e",800:"#101d30",900:"#071427"},g="#ffffff",ve="#000000",Me={red:T,orange:U,yellow:Y,green:N,cyan:he,teal:K,brandblue:m,slate:d,lightgrey:W,grey:ne,deepocean:ee,white:g,black:ve},s={main:"'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, Roboto, sans-serif",mono:"'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace"},a={regular:400,medium:500,semibold:600,bold:700},h={tight:1.2,normal:1.5},C={mobile:{display:28,h1:24,h2:20,bodyLg:16,bodyMd:14,bodySm:12,caption:10,poker:8},desktop:{display:40,h1:32,h2:24,bodyLg:18,bodyMd:16,bodySm:14,caption:12,poker:10}},we={display:{fontSize:C.mobile.display,fontWeight:a.semibold,lineHeight:h.normal,fontFamily:s.main},h1:{fontSize:C.mobile.h1,fontWeight:a.semibold,lineHeight:h.normal,fontFamily:s.main},h2:{fontSize:C.mobile.h2,fontWeight:a.semibold,lineHeight:h.normal,fontFamily:s.main},bodyLgBold:{fontSize:C.mobile.bodyLg,fontWeight:a.bold,lineHeight:h.tight,fontFamily:s.main},bodyLgMedium:{fontSize:C.mobile.bodyLg,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main},bodyLgRegular:{fontSize:C.mobile.bodyLg,fontWeight:a.regular,lineHeight:h.normal,fontFamily:s.main},bodyMdSemiBold:{fontSize:C.mobile.bodyMd,fontWeight:a.semibold,lineHeight:h.tight,fontFamily:s.main},bodyMdMedium:{fontSize:C.mobile.bodyMd,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main},bodyMdRegular:{fontSize:C.mobile.bodyMd,fontWeight:a.regular,lineHeight:h.normal,fontFamily:s.main},bodySmSemiBold:{fontSize:C.mobile.bodySm,fontWeight:a.semibold,lineHeight:h.tight,fontFamily:s.main},bodySmMedium:{fontSize:C.mobile.bodySm,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main},bodySmRegular:{fontSize:C.mobile.bodySm,fontWeight:a.regular,lineHeight:h.tight,fontFamily:s.main},captionSemiBold:{fontSize:C.mobile.caption,fontWeight:a.semibold,lineHeight:h.tight,fontFamily:s.main},captionMedium:{fontSize:C.mobile.caption,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main},captionRegular:{fontSize:C.mobile.caption,fontWeight:a.regular,lineHeight:h.tight,fontFamily:s.main},pokerMedium:{fontSize:C.mobile.poker,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main}},Ce={display:{fontSize:C.desktop.display,fontWeight:a.semibold,lineHeight:h.normal,fontFamily:s.main},h1:{fontSize:C.desktop.h1,fontWeight:a.semibold,lineHeight:h.normal,fontFamily:s.main},h2:{fontSize:C.desktop.h2,fontWeight:a.semibold,lineHeight:h.normal,fontFamily:s.main},bodyLgBold:{fontSize:C.desktop.bodyLg,fontWeight:a.bold,lineHeight:h.tight,fontFamily:s.main},bodyLgMedium:{fontSize:C.desktop.bodyLg,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main},bodyLgRegular:{fontSize:C.desktop.bodyLg,fontWeight:a.regular,lineHeight:h.normal,fontFamily:s.main},bodyMdSemiBold:{fontSize:C.desktop.bodyMd,fontWeight:a.semibold,lineHeight:h.tight,fontFamily:s.main},bodyMdMedium:{fontSize:C.desktop.bodyMd,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main},bodyMdRegular:{fontSize:C.desktop.bodyMd,fontWeight:a.regular,lineHeight:h.normal,fontFamily:s.main},bodySmSemiBold:{fontSize:C.desktop.bodySm,fontWeight:a.semibold,lineHeight:h.tight,fontFamily:s.main},bodySmMedium:{fontSize:C.desktop.bodySm,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main},bodySmRegular:{fontSize:C.desktop.bodySm,fontWeight:a.regular,lineHeight:h.tight,fontFamily:s.main},captionSemiBold:{fontSize:C.desktop.caption,fontWeight:a.semibold,lineHeight:h.tight,fontFamily:s.main},captionMedium:{fontSize:C.desktop.caption,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main},captionRegular:{fontSize:C.desktop.caption,fontWeight:a.regular,lineHeight:h.tight,fontFamily:s.main},pokerMedium:{fontSize:C.desktop.poker,fontWeight:a.medium,lineHeight:h.tight,fontFamily:s.main}},$e={fontFamily:s,fontWeight:a,lineHeight:h,fontSize:C,mobile:we,desktop:Ce},Ae=t=>({fontSize:`${t.fontSize}px`,fontWeight:t.fontWeight,lineHeight:t.lineHeight,fontFamily:t.fontFamily}),p={p0:"0rem",p1:"0.25rem",p2:"0.5rem",p3:"0.75rem",p4:"1rem",p5:"1.25rem",p6:"1.5rem",p7:"1.75rem",p8:"2rem",p9:"2.25rem",p10:"2.5rem",p11:"2.75rem",p12:"3rem"},L={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.75rem",rounded:"624.9375rem"},De={spacing:p,radius:L},Ne={default:{background:m[500],color:g},positive:{background:N[500],color:g},warning:{background:Y[500],color:g},error:{background:T[500],color:g},neutral:{background:W[300],color:d[400]},outline:{background:"transparent",color:d[700],border:`1px solid ${W[400]}`}},Xe=({color:t})=>e.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block"},children:e.jsx("path",{d:"M9 3L3 9M3 3L9 9",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Ve=({label:t,type:o="default",leftIcon:c,rightIcon:l,onClose:i,style:f,...b})=>{const u=Ne[o],x=o==="outline"?d[700]:o==="neutral"?d[400]:g,y={display:"inline-flex",alignItems:"center",gap:"4px",padding:"4px 8px",borderRadius:L.rounded,backgroundColor:u.background,color:u.color,border:u.border||"none",fontFamily:s.main,fontSize:"10px",fontWeight:a.medium,lineHeight:h.tight,whiteSpace:"nowrap",...f};return e.jsxs("span",{style:y,...b,children:[c&&e.jsx("span",{style:{display:"flex",alignItems:"center",flexShrink:0},children:c}),e.jsx("span",{style:{textAlign:"center"},children:t}),(l||i)&&e.jsx("span",{style:{display:"flex",alignItems:"center",flexShrink:0,cursor:i?"pointer":"default"},onClick:i,children:i?e.jsx(Xe,{color:x}):l})]})},Ye={primary:{background:m[500],color:g,hoverOverlay:"rgba(0, 0, 0, 0.1)",pressedOverlay:"rgba(0, 0, 0, 0.2)"},secondary:{background:W[300],color:d[700],hoverOverlay:"rgba(0, 0, 0, 0.05)",pressedOverlay:"rgba(0, 0, 0, 0.1)"},outline:{background:g,color:d[700],border:`1px solid ${W[400]}`,hoverOverlay:"rgba(0, 0, 0, 0.03)",pressedOverlay:"rgba(0, 0, 0, 0.08)"},warning:{background:T[500],color:g,hoverOverlay:"rgba(0, 0, 0, 0.1)",pressedOverlay:"rgba(0, 0, 0, 0.2)"},call:{background:K[500],color:g,hoverOverlay:"rgba(0, 0, 0, 0.1)",pressedOverlay:"rgba(0, 0, 0, 0.2)"},raise:{background:U[500],color:g,hoverOverlay:"rgba(0, 0, 0, 0.1)",pressedOverlay:"rgba(0, 0, 0, 0.2)"},disabled:{background:d[100],color:d[200],hoverOverlay:"transparent",pressedOverlay:"transparent"}},Ge={L:{height:48,paddingX:p.p7,paddingY:p.p3,fontSize:16,iconSize:24,gap:p.p2},M:{height:36,paddingX:p.p5,paddingY:p.p2,fontSize:14,iconSize:20,gap:p.p1},S:{height:24,paddingX:p.p2,paddingY:p.p1,fontSize:12,iconSize:16,gap:p.p1}},Ue=({size:t,color:o})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{animation:"spin 1s linear infinite"},children:[e.jsx("style",{children:"@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }"}),e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"31.4 31.4",opacity:"0.3"}),e.jsx("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:o,strokeWidth:"2",strokeLinecap:"round"})]}),qe=({label:t,variant:o="primary",size:c="L",shape:l="rounded",loading:i=!1,leftIcon:f,rightIcon:b,children:u,disabled:x,style:y,onMouseEnter:v,onMouseLeave:I,onMouseDown:k,onMouseUp:w,...z})=>{const[O,S]=P.useState(!1),[R,H]=P.useState(!1),M=x?"disabled":o,E=Ye[M],$=Ge[c],X=l==="full-rounded"&&!t&&!u,q=V=>{S(!0),v==null||v(V)},J=V=>{S(!1),H(!1),I==null||I(V)},G=V=>{H(!0),k==null||k(V)},Z=V=>{H(!1),w==null||w(V)},D=()=>M==="disabled"?"transparent":R?E.pressedOverlay:O?E.hoverOverlay:"transparent",A={display:"inline-flex",alignItems:"center",justifyContent:"center",gap:$.gap,height:$.height,padding:X?`${$.paddingY}`:`${$.paddingY} ${$.paddingX}`,minWidth:X?$.height:void 0,backgroundColor:E.background,color:E.color,border:E.border||"none",borderRadius:l==="full-rounded"?L.rounded:L.sm,fontFamily:s.main,fontSize:`${$.fontSize}px`,fontWeight:a.medium,lineHeight:h.tight,cursor:M==="disabled"?"not-allowed":"pointer",position:"relative",overflow:"hidden",outline:"none",transition:"background-color 0.15s ease",boxSizing:"border-box",...y},re={position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:D(),pointerEvents:"none",transition:"background-color 0.15s ease"},ce={display:"flex",alignItems:"center",justifyContent:"center",gap:$.gap,position:"relative",zIndex:1},te=t||u;return e.jsxs("button",{style:A,disabled:x||M==="disabled",onMouseEnter:q,onMouseLeave:J,onMouseDown:G,onMouseUp:Z,...z,children:[e.jsx("span",{style:re}),e.jsx("span",{style:ce,children:i?e.jsx(Ue,{size:$.iconSize,color:E.color}):e.jsxs(e.Fragment,{children:[f&&e.jsx("span",{style:{display:"flex",alignItems:"center",flexShrink:0},children:f}),te&&e.jsx("span",{children:te}),b&&e.jsx("span",{style:{display:"flex",alignItems:"center",flexShrink:0},children:b})]})})]})},Je=({color:t})=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block"},children:e.jsx("rect",{x:"2.5",y:"2.5",width:"15",height:"15",rx:"3",stroke:t,strokeWidth:"1.5",fill:"none"})}),Ze=({bgColor:t,checkColor:o})=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block"},children:[e.jsx("rect",{x:"2",y:"2",width:"16",height:"16",rx:"3.5",fill:t}),e.jsx("path",{d:"M6 10L9 13L14 7",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Qe=({label:t,checked:o,defaultChecked:c,disabled:l,onChange:i,id:f,style:b,...u})=>{const[x,y]=P.useState(c??!1),v=o!==void 0?o:x,I=f||P.useId(),k=M=>{o===void 0&&y(M.target.checked),i==null||i(M)},z=l?{uncheckedBorder:d[200],checkedBg:d[200],checkmark:g}:{uncheckedBorder:d[700],checkedBg:m[500],checkmark:g},O={display:"inline-flex",alignItems:"center",gap:p.p2,cursor:l?"not-allowed":"pointer",opacity:l?.6:1,...b},S={position:"absolute",opacity:0,width:0,height:0,margin:0,padding:0},R={display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,position:"relative"},H={fontFamily:s.main,fontSize:"14px",fontWeight:a.medium,lineHeight:h.tight,color:l?d[200]:d[700],userSelect:"none"};return e.jsxs("label",{style:O,htmlFor:I,children:[e.jsxs("span",{style:R,children:[e.jsx("input",{type:"checkbox",id:I,checked:v,disabled:l,onChange:k,style:S,...u}),v?e.jsx(Ze,{bgColor:z.checkedBg,checkColor:z.checkmark}):e.jsx(Je,{color:z.uncheckedBorder})]}),t&&e.jsx("span",{style:H,children:t})]})},Ke=({orientation:t="horizontal",color:o=W[400],style:c,...l})=>{const i={border:"none",margin:0,flexShrink:0,...t==="horizontal"?{width:"100%",height:"1px",backgroundColor:o}:{width:"1px",height:"100%",backgroundColor:o},...c};return e.jsx("hr",{style:i,...l})},We=P.forwardRef(({label:t,helperText:o,error:c,leftIcon:l,rightIcon:i,shape:f="rounded",fullWidth:b=!1,disabled:u,value:x,defaultValue:y,onFocus:v,onBlur:I,onChange:k,style:w,...z},O)=>{const[S,R]=P.useState(!1),[H,M]=P.useState(y??""),E=x!==void 0?x:H,$=E!==""&&E!==void 0,X=!!c,q=Q=>{R(!0),v==null||v(Q)},J=Q=>{R(!1),I==null||I(Q)},G=Q=>{x===void 0&&M(Q.target.value),k==null||k(Q)},Z=()=>u?W[400]:X?T[500]:S?m[500]:W[400],D=()=>u?d[50]:g,A=()=>u?d[200]:$?ne[900]:d[300],re={display:"flex",flexDirection:"column",gap:p.p1,width:b?"100%":"auto",...w},ce={fontFamily:s.main,fontSize:"12px",fontWeight:a.medium,lineHeight:h.tight,color:d[700]},te={display:"flex",alignItems:"center",gap:p.p2,padding:p.p3,backgroundColor:D(),border:`1px solid ${Z()}`,borderRadius:f==="pill"?L.rounded:L.sm,transition:"border-color 0.15s ease"},V={flex:1,border:"none",outline:"none",backgroundColor:"transparent",fontFamily:s.main,fontSize:"14px",fontWeight:a.medium,lineHeight:h.tight,color:A(),width:"100%"},fe={display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:u?d[200]:d[300]},ge={fontFamily:s.main,fontSize:"10px",fontWeight:a.medium,lineHeight:h.tight,color:X?T[500]:d[300]};return e.jsxs("div",{style:re,children:[t&&e.jsx("label",{style:ce,children:t}),e.jsxs("div",{style:te,children:[l&&e.jsx("span",{style:fe,children:l}),e.jsx("input",{ref:O,style:V,disabled:u,value:E,onFocus:q,onBlur:J,onChange:G,...z}),i&&e.jsx("span",{style:fe,children:i})]}),(o||c)&&e.jsx("span",{style:ge,children:c||o})]})});We.displayName="Input";const et=({min:t=0,max:o=100,step:c=1,value:l,defaultValue:i,onChange:f,showLabels:b=!1,formatLabel:u=k=>String(k),showInputs:x=!1,disabled:y,style:v,...I})=>{const[k,w]=P.useState(i??t),z=l!==void 0?l:k,O=D=>{const A=Number(D.target.value);l===void 0&&w(A),f==null||f(A)},S=D=>{const A=Math.min(o,Math.max(t,D));l===void 0&&w(A),f==null||f(A)},R=(z-t)/(o-t)*100,H={display:"flex",flexDirection:"column",gap:p.p2,width:"100%",...v},M={display:"flex",justifyContent:"space-between",alignItems:"center"},E={display:"flex",alignItems:"center",padding:`${p.p2} ${p.p3}`,border:`1px solid ${W[400]}`,borderRadius:"8px",backgroundColor:g,fontFamily:s.main,fontSize:"12px",fontWeight:a.medium,lineHeight:h.tight,color:"#0f0f0f",minWidth:"60px",textAlign:"center"},$={position:"relative",width:"100%",height:"20px",display:"flex",alignItems:"center"},X={position:"absolute",width:"100%",height:"4px",backgroundColor:W[300],borderRadius:"2px"},q={position:"absolute",width:`${R}%`,height:"4px",backgroundColor:y?W[400]:m[500],borderRadius:"2px"},J={position:"absolute",width:"100%",height:"20px",opacity:0,cursor:y?"not-allowed":"pointer",margin:0,zIndex:2},Z={position:"absolute",left:`calc(${R}% - 10px)`,width:"20px",height:"20px",backgroundColor:g,border:`2px solid ${y?W[400]:m[500]}`,borderRadius:"50%",pointerEvents:"none",transition:"transform 0.1s ease",boxShadow:"0 2px 4px rgba(0,0,0,0.1)"};return e.jsxs("div",{style:H,children:[(b||x)&&e.jsxs("div",{style:M,children:[x?e.jsx("input",{type:"text",value:u(t),readOnly:!0,style:E}):e.jsx("span",{style:{...E,border:"none",padding:0,minWidth:"auto"},children:u(t)}),x?e.jsx("input",{type:"text",value:u(z),onChange:D=>{const A=parseFloat(D.target.value.replace(/[^0-9.-]/g,""));isNaN(A)||S(A)},style:E,disabled:y}):null,x?e.jsx("input",{type:"text",value:u(o),readOnly:!0,style:E}):e.jsx("span",{style:{...E,border:"none",padding:0,minWidth:"auto"},children:u(o)})]}),e.jsxs("div",{style:$,children:[e.jsx("div",{style:X}),e.jsx("div",{style:q}),e.jsx("input",{type:"range",min:t,max:o,step:c,value:z,onChange:O,disabled:y,style:J,...I}),e.jsx("div",{style:Z})]})]})},tt=({checked:t,defaultChecked:o=!1,onChange:c,leftLabel:l,rightLabel:i,size:f="md",disabled:b,style:u,id:x,...y})=>{const[v,I]=P.useState(o),k=t!==void 0?t:v,w=x||P.useId(),z=Z=>{const D=Z.target.checked;t===void 0&&I(D),c==null||c(D)},O={sm:{width:36,height:20,thumbSize:16},md:{width:44,height:24,thumbSize:20}},{width:S,height:R,thumbSize:H}=O[f],M=2,E=S-H-M*2,$={display:"inline-flex",alignItems:"center",gap:p.p2,cursor:b?"not-allowed":"pointer",opacity:b?.6:1,...u},X={fontFamily:s.main,fontSize:"14px",fontWeight:a.medium,lineHeight:h.tight,color:d[700],userSelect:"none"},q={position:"relative",width:`${S}px`,height:`${R}px`,backgroundColor:k?m[500]:W[300],borderRadius:`${R/2}px`,transition:"background-color 0.2s ease",flexShrink:0},J={position:"absolute",top:`${M}px`,left:`${M}px`,width:`${H}px`,height:`${H}px`,backgroundColor:g,borderRadius:"50%",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",transform:k?`translateX(${E}px)`:"translateX(0)",transition:"transform 0.2s ease"},G={position:"absolute",opacity:0,width:0,height:0};return e.jsxs("label",{style:$,htmlFor:w,children:[l&&e.jsx("span",{style:X,children:l}),e.jsxs("div",{style:q,children:[e.jsx("input",{type:"checkbox",id:w,checked:k,onChange:z,disabled:b,style:G,...y}),e.jsx("div",{style:J})]}),i&&e.jsx("span",{style:X,children:i})]})},nt=({items:t,activeTab:o,defaultActiveTab:c,onChange:l,variant:i="default",tool:f,style:b,...u})=>{const[x,y]=P.useState(c||(t.length>0?t[0].id:"")),v=o!==void 0?o:x,I=(S,R)=>{R||(o===void 0&&y(S),l==null||l(S))},k={display:"flex",alignItems:"center",justifyContent:i==="text"&&f?"space-between":"flex-start",gap:i==="text"?p.p2:p.p1,backgroundColor:i==="default"?W[100]:"transparent",borderRadius:i==="default"?L.sm:0,padding:i==="default"?p.p1:0,...b},w={display:"flex",alignItems:"center",gap:i==="text"?p.p2:p.p1,flex:i==="default"?1:"none"},z=(S,R)=>i==="text"?{display:"flex",alignItems:"center",justifyContent:"center",padding:`${p.p3} ${p.p2}`,backgroundColor:"transparent",border:"none",borderBottom:S?`2px solid ${m[500]}`:"2px solid transparent",fontFamily:s.main,fontSize:"14px",fontWeight:a.medium,lineHeight:h.tight,color:S?m[600]:d[400],cursor:R?"not-allowed":"pointer",opacity:R?.5:1,transition:"color 0.15s ease, border-color 0.15s ease",whiteSpace:"nowrap"}:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,padding:`${p.p3} ${p.p2}`,backgroundColor:S?m[500]:"transparent",border:"none",borderRadius:L.sm,fontFamily:s.main,fontSize:"14px",fontWeight:a.medium,lineHeight:h.tight,color:S?g:d[400],cursor:R?"not-allowed":"pointer",opacity:R?.5:1,transition:"background-color 0.15s ease, color 0.15s ease",whiteSpace:"nowrap"},O={fontFamily:s.main,fontSize:"10px",fontWeight:a.medium,lineHeight:h.tight,color:d[300]};return e.jsxs("div",{style:k,...u,children:[e.jsx("div",{style:w,children:t.map(S=>e.jsx("button",{style:z(v===S.id,S.disabled),onClick:()=>I(S.id,S.disabled),disabled:S.disabled,type:"button",children:S.label},S.id))}),f&&e.jsx("div",{style:O,children:f})]})},ot=({color:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 16V12",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 8H12.01",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),it=({color:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M9 12L11 14L15 10",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),rt=({color:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M15 9L9 15",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M9 9L15 15",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),lt={neutral:{iconColor:ne[900],textColor:ne[900],buttonBg:W[300],buttonText:d[700],Icon:null},info:{iconColor:m[500],textColor:m[500],buttonBg:m[500],buttonText:g,Icon:ot},success:{iconColor:N[600],textColor:N[600],buttonBg:N[500],buttonText:g,Icon:it},alert:{iconColor:T[500],textColor:T[500],buttonBg:T[500],buttonText:g,Icon:rt}},st=({title:t,description:o,type:c="neutral",actionLabel:l,onAction:i,onClose:f,style:b,...u})=>{const x=lt[c],y=x.Icon,v={display:"flex",alignItems:"center",justifyContent:"space-between",gap:p.p3,padding:p.p4,backgroundColor:g,borderRadius:L.sm,boxShadow:"0 4px 12px rgba(13, 10, 44, 0.06)",minWidth:"300px",...b},I={display:"flex",alignItems:"center",gap:p.p2},k={display:"flex",flexDirection:"column",gap:"4px"},w={fontFamily:s.main,fontSize:"14px",fontWeight:a.semibold,lineHeight:h.tight,color:c==="neutral"?ne[900]:x.textColor,margin:0},z={fontFamily:s.main,fontSize:"12px",fontWeight:a.regular,lineHeight:h.tight,color:c==="neutral"?d[400]:x.textColor,margin:0},O={display:"flex",alignItems:"center",gap:p.p2},S={padding:`${p.p1} ${p.p2}`,backgroundColor:x.buttonBg,color:x.buttonText,border:"none",borderRadius:L.xs,fontFamily:s.main,fontSize:"12px",fontWeight:a.medium,lineHeight:h.tight,cursor:"pointer"};return e.jsxs("div",{style:v,...u,children:[e.jsxs("div",{style:I,children:[y&&e.jsx(y,{color:x.iconColor}),e.jsxs("div",{style:k,children:[e.jsx("p",{style:w,children:t}),o&&e.jsx("p",{style:z,children:o})]})]}),(l||f)&&e.jsx("div",{style:O,children:l&&i&&e.jsx("button",{style:S,onClick:i,children:l})})]})},Ie=({label:t,selected:o,defaultSelected:c=!1,onChange:l,rightIcon:i,disabled:f,style:b,...u})=>{const[x,y]=P.useState(c),v=o!==void 0?o:x,I=()=>{if(f)return;const z=!v;o===void 0&&y(z),l==null||l(z)},k={display:"inline-flex",alignItems:"center",gap:p.p1,padding:`${p.p2} ${p.p3}`,backgroundColor:v?m[50]:W[100],border:`1px solid ${v?m[100]:W[300]}`,borderRadius:L.sm,fontFamily:s.main,fontSize:"12px",fontWeight:a.medium,lineHeight:h.tight,color:v?m[500]:d[700],cursor:f?"not-allowed":"pointer",opacity:f?.5:1,transition:"background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease",outline:"none",...b},w={display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:v?m[500]:d[700]};return e.jsxs("button",{type:"button",style:k,onClick:I,disabled:f,...u,children:[e.jsx("span",{children:t}),i&&e.jsx("span",{style:w,children:i})]})},at=({items:t,value:o,defaultValue:c,onChange:l,allowDeselect:i=!1,style:f,...b})=>{const[u,x]=P.useState(c||""),y=o!==void 0?o:u,v=k=>{let w;y===k&&i?w="":w=k,o===void 0&&x(w),l==null||l(w)},I={display:"flex",alignItems:"center",gap:p.p2,flexWrap:"wrap",...f};return e.jsx("div",{style:I,...b,children:t.map(k=>e.jsx(Ie,{label:k.label,selected:y===k.id,onChange:()=>v(k.id),rightIcon:k.rightIcon,disabled:k.disabled},k.id))})},oe={heart:"#ef4444",spade:"#464b56",diamond:"#2e9dff",club:"#01bda7"},Re=({color:t=oe.heart,size:o=18})=>e.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:t,children:e.jsx("path",{d:"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"})}),ze=({color:t=oe.spade,size:o=18})=>e.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:t,children:e.jsx("path",{d:"M12 2C9 7 4 9 4 14c0 2.5 2 4.5 4.5 4.5.83 0 1.61-.21 2.28-.58L10 22h4l-.78-4.08c.67.37 1.45.58 2.28.58C18 18.5 20 16.5 20 14c0-5-5-7-8-12z"})}),Fe=({color:t=oe.diamond,size:o=18})=>e.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:t,children:e.jsx("path",{d:"M12 2L4 12l8 10 8-10L12 2z"})}),Te=({color:t=oe.club,size:o=18})=>e.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:t,children:e.jsx("path",{d:"M12 2c-1.66 0-3 1.34-3 3 0 .93.42 1.76 1.08 2.31C8.3 8.06 7 9.88 7 12c0 2.21 1.79 4 4 4h.5l-.5 4h2l-.5-4h.5c2.21 0 4-1.79 4-4 0-2.12-1.3-3.94-3.08-4.69C14.58 6.76 15 5.93 15 5c0-1.66-1.34-3-3-3z"})}),dt=({color:t=g[100],size:o=16})=>e.jsx("svg",{width:o,height:o,viewBox:"0 0 16 16",fill:t,children:e.jsx("path",{d:"M8 2v12M2 8h12",stroke:t,strokeWidth:"2",strokeLinecap:"round"})}),me=({state:t="default",suit:o="heart",value:c="7",selected:l=!1,onClick:i,style:f})=>{const b={width:30,height:42,borderRadius:L.xs,border:`1px solid ${l?m[500]:W[300]}`,backgroundColor:g[100],overflow:"hidden",position:"relative",cursor:i?"pointer":"default",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",fontFamily:s.main,fontWeight:a.semibold,transition:"border-color 0.15s ease",...f};if(t==="add")return e.jsx("div",{style:{...b,backgroundColor:"rgba(110, 179, 220, 0.5)"},onClick:i,children:e.jsx(dt,{})});if(t==="back")return e.jsx("div",{style:{...b,background:"linear-gradient(180deg, #4D91CC 0%, #1D3558 100%)"},onClick:i,children:e.jsx("div",{style:{width:"100%",height:"100%",backgroundImage:`repeating-linear-gradient(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
0%, 100% { opacity: 0.3; }
|
|
31
|
-
50% { opacity: 1; }
|
|
22
|
+
<%s key={someKey} {...props} />`,P,Y,he,Y),ce[Y+P]=!0)}if(Y=null,Z!==void 0&&(o(Z),Y=""+Z),d(V)&&(o(V.key),Y=""+V.key),"key"in V){Z={};for(var ke in V)ke!=="key"&&(Z[ke]=V[ke])}else Z=V;return Y&&u(Z,typeof a=="function"?a.displayName||a.name||"Unknown":a),k(a,Y,Z,l(),ge,ye)}function m(a){p(a)?a._store&&(a._store.validated=1):typeof a=="object"&&a!==null&&a.$$typeof===X&&(a._payload.status==="fulfilled"?p(a._payload.value)&&a._payload.value._store&&(a._payload.value._store.validated=1):a._store&&(a._store.validated=1))}function p(a){return typeof a=="object"&&a!==null&&a.$$typeof===j}var v=W,j=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),S=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),U=Symbol.for("react.client.reference"),_=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=Object.prototype.hasOwnProperty,oe=Array.isArray,ne=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(a){return a()}};var z,N={},ee=v.react_stack_bottom_frame.bind(v,s)(),q=ne(i(s)),ce={};xe.Fragment=y,xe.jsx=function(a,V,Z){var P=1e4>_.recentlyCreatedOwnerStacks++;return f(a,V,Z,!1,P?Error("react-stack-top-frame"):ee,P?ne(i(a)):q)},xe.jsxs=function(a,V,Z){var P=1e4>_.recentlyCreatedOwnerStacks++;return f(a,V,Z,!0,P?Error("react-stack-top-frame"):ee,P?ne(i(a)):q)}}()),xe}process.env.NODE_ENV==="production"?be.exports=Ne():be.exports=Ze();var e=be.exports;const G={50:"#fdecec",100:"#fac5c5",200:"#f8a9a9",300:"#f48282",400:"#f26969",500:"#ef4444",600:"#d93e3e",700:"#aa3030",800:"#832525",900:"#641d1d"},se={50:"#fdf1e6",100:"#f8d4b0",200:"#f4bf8a",300:"#efa154",400:"#ec8f33",500:"#e77300",600:"#d26900",700:"#a45200",800:"#7f3f00",900:"#613000"},re={50:"#fef7e6",100:"#fae7b0",200:"#f8db8a",300:"#f5cb54",400:"#f3c133",500:"#f0b100",600:"#daa100",700:"#aa7e00",800:"#846100",900:"#654a00"},ie={50:"#e7f7ed",100:"#b3e6c6",200:"#8fd9aa",300:"#5cc884",400:"#3cbd6c",500:"#0bad47",600:"#0a9d41",700:"#087b32",800:"#065f27",900:"#05491e"},me={50:"#e6fdfe",100:"#b1f7fc",200:"#8bf4fb",300:"#55eef9",400:"#35ebf8",500:"#02e6f6",600:"#02d1e0",700:"#01a3af",800:"#017f87",900:"#016167"},de={50:"#e6f8f6",100:"#b0ebe4",200:"#8ae1d7",300:"#55d3c4",400:"#34cab9",500:"#01bda7",600:"#01ac98",700:"#018677",800:"#01685c",900:"#004f46"},M={50:"#eaf5ff",100:"#bee1ff",200:"#9fd2ff",300:"#73bdff",400:"#58b1ff",500:"#2e9dff",600:"#2a8fe8",700:"#216fb5",800:"#19568c",900:"#13426b"},h={50:"#eff0f2",100:"#cfd1d5",200:"#b7bac1",300:"#969ba5",400:"#828894",500:"#636a79",600:"#5a606e",700:"#464b56",800:"#363a43",900:"#2a2d33"},w={50:"#fcfdfd",100:"#f7f8f9",200:"#f3f4f6",300:"#eeeff2",400:"#eaecef",500:"#e5e7eb",600:"#d0d2d6",700:"#a3a4a7",800:"#7e7f81",900:"#606163"},ue={50:"#f9fafb",100:"#cdcdcd",200:"#b5b5b5",300:"#939393",400:"#7e7e7e",500:"#5e5e5e",600:"#565656",700:"#434343",800:"#343434",900:"#0f0f0f"},ae={50:"#e8ebee",100:"#b9c0cb",200:"#97a2b2",300:"#68788f",400:"#4a5d79",500:"#1d3558",600:"#1a3050",700:"#15263e",800:"#101d30",900:"#071427"},b="#ffffff",Ie="#000000",Oe={red:G,orange:se,yellow:re,green:ie,cyan:me,teal:de,brandblue:M,slate:h,lightgrey:w,grey:ue,deepocean:ae,white:b,black:Ie},x={main:"'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, Roboto, sans-serif",mono:"'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace"},C={regular:400,medium:500,semibold:600,bold:700},B={tight:1.2,normal:1.5},$={mobile:{display:28,h1:24,h2:20,bodyLg:16,bodyMd:14,bodySm:12,caption:10,poker:8},desktop:{display:40,h1:32,h2:24,bodyLg:18,bodyMd:16,bodySm:14,caption:12,poker:10}},We={display:{fontSize:$.mobile.display,fontWeight:C.semibold,lineHeight:B.normal,fontFamily:x.main},h1:{fontSize:$.mobile.h1,fontWeight:C.semibold,lineHeight:B.normal,fontFamily:x.main},h2:{fontSize:$.mobile.h2,fontWeight:C.semibold,lineHeight:B.normal,fontFamily:x.main},bodyLgBold:{fontSize:$.mobile.bodyLg,fontWeight:C.bold,lineHeight:B.tight,fontFamily:x.main},bodyLgMedium:{fontSize:$.mobile.bodyLg,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main},bodyLgRegular:{fontSize:$.mobile.bodyLg,fontWeight:C.regular,lineHeight:B.normal,fontFamily:x.main},bodyMdSemiBold:{fontSize:$.mobile.bodyMd,fontWeight:C.semibold,lineHeight:B.tight,fontFamily:x.main},bodyMdMedium:{fontSize:$.mobile.bodyMd,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main},bodyMdRegular:{fontSize:$.mobile.bodyMd,fontWeight:C.regular,lineHeight:B.normal,fontFamily:x.main},bodySmSemiBold:{fontSize:$.mobile.bodySm,fontWeight:C.semibold,lineHeight:B.tight,fontFamily:x.main},bodySmMedium:{fontSize:$.mobile.bodySm,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main},bodySmRegular:{fontSize:$.mobile.bodySm,fontWeight:C.regular,lineHeight:B.tight,fontFamily:x.main},captionSemiBold:{fontSize:$.mobile.caption,fontWeight:C.semibold,lineHeight:B.tight,fontFamily:x.main},captionMedium:{fontSize:$.mobile.caption,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main},captionRegular:{fontSize:$.mobile.caption,fontWeight:C.regular,lineHeight:B.tight,fontFamily:x.main},pokerMedium:{fontSize:$.mobile.poker,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main}},He={display:{fontSize:$.desktop.display,fontWeight:C.semibold,lineHeight:B.normal,fontFamily:x.main},h1:{fontSize:$.desktop.h1,fontWeight:C.semibold,lineHeight:B.normal,fontFamily:x.main},h2:{fontSize:$.desktop.h2,fontWeight:C.semibold,lineHeight:B.normal,fontFamily:x.main},bodyLgBold:{fontSize:$.desktop.bodyLg,fontWeight:C.bold,lineHeight:B.tight,fontFamily:x.main},bodyLgMedium:{fontSize:$.desktop.bodyLg,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main},bodyLgRegular:{fontSize:$.desktop.bodyLg,fontWeight:C.regular,lineHeight:B.normal,fontFamily:x.main},bodyMdSemiBold:{fontSize:$.desktop.bodyMd,fontWeight:C.semibold,lineHeight:B.tight,fontFamily:x.main},bodyMdMedium:{fontSize:$.desktop.bodyMd,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main},bodyMdRegular:{fontSize:$.desktop.bodyMd,fontWeight:C.regular,lineHeight:B.normal,fontFamily:x.main},bodySmSemiBold:{fontSize:$.desktop.bodySm,fontWeight:C.semibold,lineHeight:B.tight,fontFamily:x.main},bodySmMedium:{fontSize:$.desktop.bodySm,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main},bodySmRegular:{fontSize:$.desktop.bodySm,fontWeight:C.regular,lineHeight:B.tight,fontFamily:x.main},captionSemiBold:{fontSize:$.desktop.caption,fontWeight:C.semibold,lineHeight:B.tight,fontFamily:x.main},captionMedium:{fontSize:$.desktop.caption,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main},captionRegular:{fontSize:$.desktop.caption,fontWeight:C.regular,lineHeight:B.tight,fontFamily:x.main},pokerMedium:{fontSize:$.desktop.poker,fontWeight:C.medium,lineHeight:B.tight,fontFamily:x.main}},Pe={fontFamily:x,fontWeight:C,lineHeight:B,fontSize:$,mobile:We,desktop:He},Ye=t=>({fontSize:`${t.fontSize}px`,fontWeight:t.fontWeight,lineHeight:t.lineHeight,fontFamily:t.fontFamily}),c={p0:"0rem",p1:"0.25rem",p2:"0.5rem",p3:"0.75rem",p4:"1rem",p5:"1.25rem",p6:"1.5rem",p7:"1.75rem",p8:"2rem",p9:"2.25rem",p10:"2.5rem",p11:"2.75rem",p12:"3rem"},D={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.75rem",rounded:"624.9375rem"},Ue={spacing:c,radius:D},Ge={default:{background:M[500],color:b},positive:{background:ie[500],color:b},warning:{background:re[500],color:b},error:{background:G[500],color:b},neutral:{background:w[300],color:h[400]},outline:{background:"transparent",color:h[700],border:`1px solid ${w[400]}`}},Xe=({color:t})=>e.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block"},children:e.jsx("path",{d:"M9 3L3 9M3 3L9 9",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),qe=({label:t,type:n="default",leftIcon:o,rightIcon:i,onClose:l,style:s,...d})=>{const u=Ge[n],g=n==="outline"?h[700]:n==="neutral"?h[400]:b,k={display:"inline-flex",alignItems:"center",gap:"4px",padding:"4px 8px",borderRadius:D.rounded,backgroundColor:u.background,color:u.color,border:u.border||"none",fontFamily:x.main,fontSize:"10px",fontWeight:C.medium,lineHeight:B.tight,whiteSpace:"nowrap",...s};return e.jsxs("span",{style:k,...d,children:[o&&e.jsx("span",{style:{display:"flex",alignItems:"center",flexShrink:0},children:o}),e.jsx("span",{style:{textAlign:"center"},children:t}),(i||l)&&e.jsx("span",{style:{display:"flex",alignItems:"center",flexShrink:0,cursor:l?"pointer":"default"},onClick:l,children:l?e.jsx(Xe,{color:g}):i})]})},Je={primary:{background:M[500],color:b,hoverOverlay:"rgba(0, 0, 0, 0.1)",pressedOverlay:"rgba(0, 0, 0, 0.2)"},secondary:{background:w[300],color:h[700],hoverOverlay:"rgba(0, 0, 0, 0.05)",pressedOverlay:"rgba(0, 0, 0, 0.1)"},outline:{background:b,color:h[700],border:`1px solid ${w[400]}`,hoverOverlay:"rgba(0, 0, 0, 0.03)",pressedOverlay:"rgba(0, 0, 0, 0.08)"},warning:{background:G[500],color:b,hoverOverlay:"rgba(0, 0, 0, 0.1)",pressedOverlay:"rgba(0, 0, 0, 0.2)"},call:{background:de[500],color:b,hoverOverlay:"rgba(0, 0, 0, 0.1)",pressedOverlay:"rgba(0, 0, 0, 0.2)"},raise:{background:se[500],color:b,hoverOverlay:"rgba(0, 0, 0, 0.1)",pressedOverlay:"rgba(0, 0, 0, 0.2)"},disabled:{background:h[100],color:h[200],hoverOverlay:"transparent",pressedOverlay:"transparent"}},Qe={L:{height:48,paddingX:c.p7,paddingY:c.p3,fontSize:16,iconSize:24,gap:c.p2},M:{height:36,paddingX:c.p5,paddingY:c.p2,fontSize:14,iconSize:20,gap:c.p1},S:{height:24,paddingX:c.p2,paddingY:c.p1,fontSize:12,iconSize:16,gap:c.p1}},Ke=({size:t,color:n})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{animation:"spin 1s linear infinite"},children:[e.jsx("style",{children:"@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }"}),e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"31.4 31.4",opacity:"0.3"}),e.jsx("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:n,strokeWidth:"2",strokeLinecap:"round"})]}),e1=({label:t,variant:n="primary",size:o="L",shape:i="rounded",loading:l=!1,leftIcon:s,rightIcon:d,children:u,disabled:g,style:k,onMouseEnter:f,onMouseLeave:m,onMouseDown:p,onMouseUp:v,...j})=>{const[L,y]=W.useState(!1),[H,F]=W.useState(!1),I=g?"disabled":n,S=Je[I],R=Qe[o],A=i==="full-rounded"&&!t&&!u,O=z=>{y(!0),f==null||f(z)},Q=z=>{y(!1),F(!1),m==null||m(z)},X=z=>{F(!0),p==null||p(z)},K=z=>{F(!1),v==null||v(z)},U=()=>I==="disabled"?"transparent":H?S.pressedOverlay:L?S.hoverOverlay:"transparent",_={display:"inline-flex",alignItems:"center",justifyContent:"center",gap:R.gap,height:R.height,padding:A?`${R.paddingY}`:`${R.paddingY} ${R.paddingX}`,minWidth:A?R.height:void 0,backgroundColor:S.background,color:S.color,border:S.border||"none",borderRadius:i==="full-rounded"?D.rounded:D.sm,fontFamily:x.main,fontSize:`${R.fontSize}px`,fontWeight:C.medium,lineHeight:B.tight,cursor:I==="disabled"?"not-allowed":"pointer",position:"relative",overflow:"hidden",outline:"none",transition:"background-color 0.15s ease",boxSizing:"border-box",...k},te={position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:U(),pointerEvents:"none",transition:"background-color 0.15s ease"},oe={display:"flex",alignItems:"center",justifyContent:"center",gap:R.gap,position:"relative",zIndex:1},ne=t||u;return e.jsxs("button",{style:_,disabled:g||I==="disabled",onMouseEnter:O,onMouseLeave:Q,onMouseDown:X,onMouseUp:K,...j,children:[e.jsx("span",{style:te}),e.jsx("span",{style:oe,children:l?e.jsx(Ke,{size:R.iconSize,color:S.color}):e.jsxs(e.Fragment,{children:[s&&e.jsx("span",{style:{display:"flex",alignItems:"center",flexShrink:0},children:s}),ne&&e.jsx("span",{children:ne}),d&&e.jsx("span",{style:{display:"flex",alignItems:"center",flexShrink:0},children:d})]})})]})},t1=({color:t})=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block"},children:e.jsx("rect",{x:"2.5",y:"2.5",width:"15",height:"15",rx:"3",stroke:t,strokeWidth:"1.5",fill:"none"})}),n1=({bgColor:t,checkColor:n})=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block"},children:[e.jsx("rect",{x:"2",y:"2",width:"16",height:"16",rx:"3.5",fill:t}),e.jsx("path",{d:"M6 10L9 13L14 7",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),o1=({label:t,checked:n,defaultChecked:o,disabled:i,onChange:l,id:s,style:d,...u})=>{const[g,k]=W.useState(o??!1),f=n!==void 0?n:g,m=s||W.useId(),p=I=>{n===void 0&&k(I.target.checked),l==null||l(I)},j=i?{uncheckedBorder:h[200],checkedBg:h[200],checkmark:b}:{uncheckedBorder:h[700],checkedBg:M[500],checkmark:b},L={display:"inline-flex",alignItems:"center",gap:c.p2,cursor:i?"not-allowed":"pointer",opacity:i?.6:1,...d},y={position:"absolute",opacity:0,width:0,height:0,margin:0,padding:0},H={display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,position:"relative"},F={fontFamily:x.main,fontSize:"14px",fontWeight:C.medium,lineHeight:B.tight,color:i?h[200]:h[700],userSelect:"none"};return e.jsxs("label",{style:L,htmlFor:m,children:[e.jsxs("span",{style:H,children:[e.jsx("input",{type:"checkbox",id:m,checked:f,disabled:i,onChange:p,style:y,...u}),f?e.jsx(n1,{bgColor:j.checkedBg,checkColor:j.checkmark}):e.jsx(t1,{color:j.uncheckedBorder})]}),t&&e.jsx("span",{style:F,children:t})]})},i1=({orientation:t="horizontal",color:n=w[400],style:o,...i})=>{const l={border:"none",margin:0,flexShrink:0,...t==="horizontal"?{width:"100%",height:"1px",backgroundColor:n}:{width:"1px",height:"100%",backgroundColor:n},...o};return e.jsx("hr",{style:l,...i})},Be=W.forwardRef(({label:t,helperText:n,error:o,leftIcon:i,rightIcon:l,shape:s="rounded",fullWidth:d=!1,disabled:u,value:g,defaultValue:k,onFocus:f,onBlur:m,onChange:p,style:v,...j},L)=>{const[y,H]=W.useState(!1),[F,I]=W.useState(k??""),S=g!==void 0?g:F,R=S!==""&&S!==void 0,A=!!o,O=q=>{H(!0),f==null||f(q)},Q=q=>{H(!1),m==null||m(q)},X=q=>{g===void 0&&I(q.target.value),p==null||p(q)},K=()=>u?w[400]:A?G[500]:y?M[500]:w[400],U=()=>u?h[50]:b,_=()=>u?h[200]:R?ue[900]:h[300],te={display:"flex",flexDirection:"column",gap:c.p1,width:d?"100%":"auto",...v},oe={fontFamily:x.main,fontSize:"12px",fontWeight:C.medium,lineHeight:B.tight,color:h[700]},ne={display:"flex",alignItems:"center",gap:c.p2,padding:c.p3,backgroundColor:U(),border:`1px solid ${K()}`,borderRadius:s==="pill"?D.rounded:D.sm,transition:"border-color 0.15s ease"},z={flex:1,border:"none",outline:"none",backgroundColor:"transparent",fontFamily:x.main,fontSize:"14px",fontWeight:C.medium,lineHeight:B.tight,color:_(),width:"100%"},N={display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:u?h[200]:h[300]},ee={fontFamily:x.main,fontSize:"10px",fontWeight:C.medium,lineHeight:B.tight,color:A?G[500]:h[300]};return e.jsxs("div",{style:te,children:[t&&e.jsx("label",{style:oe,children:t}),e.jsxs("div",{style:ne,children:[i&&e.jsx("span",{style:N,children:i}),e.jsx("input",{ref:L,style:z,disabled:u,value:S,onFocus:O,onBlur:Q,onChange:X,...j}),l&&e.jsx("span",{style:N,children:l})]}),(n||o)&&e.jsx("span",{style:ee,children:o||n})]})});Be.displayName="Input";const r1=({min:t=0,max:n=100,step:o=1,value:i,defaultValue:l,onChange:s,showLabels:d=!1,formatLabel:u=p=>String(p),showInputs:g=!1,disabled:k,style:f,...m})=>{const[p,v]=W.useState(l??t),j=i!==void 0?i:p,L=U=>{const _=Number(U.target.value);i===void 0&&v(_),s==null||s(_)},y=U=>{const _=Math.min(n,Math.max(t,U));i===void 0&&v(_),s==null||s(_)},H=(j-t)/(n-t)*100,F={display:"flex",flexDirection:"column",gap:c.p2,width:"100%",...f},I={display:"flex",justifyContent:"space-between",alignItems:"center"},S={display:"flex",alignItems:"center",padding:`${c.p2} ${c.p3}`,border:`1px solid ${w[400]}`,borderRadius:"8px",backgroundColor:b,fontFamily:x.main,fontSize:"12px",fontWeight:C.medium,lineHeight:B.tight,color:"#0f0f0f",minWidth:"60px",textAlign:"center"},R={position:"relative",width:"100%",height:"20px",display:"flex",alignItems:"center"},A={position:"absolute",width:"100%",height:"4px",backgroundColor:w[300],borderRadius:"2px"},O={position:"absolute",width:`${H}%`,height:"4px",backgroundColor:k?w[400]:M[500],borderRadius:"2px"},Q={position:"absolute",width:"100%",height:"20px",opacity:0,cursor:k?"not-allowed":"pointer",margin:0,zIndex:2},K={position:"absolute",left:`calc(${H}% - 10px)`,width:"20px",height:"20px",backgroundColor:b,border:`2px solid ${k?w[400]:M[500]}`,borderRadius:"50%",pointerEvents:"none",transition:"transform 0.1s ease",boxShadow:"0 2px 4px rgba(0,0,0,0.1)"};return e.jsxs("div",{style:F,children:[(d||g)&&e.jsxs("div",{style:I,children:[g?e.jsx("input",{type:"text",value:u(t),readOnly:!0,style:S}):e.jsx("span",{style:{...S,border:"none",padding:0,minWidth:"auto"},children:u(t)}),g?e.jsx("input",{type:"text",value:u(j),onChange:U=>{const _=parseFloat(U.target.value.replace(/[^0-9.-]/g,""));isNaN(_)||y(_)},style:S,disabled:k}):null,g?e.jsx("input",{type:"text",value:u(n),readOnly:!0,style:S}):e.jsx("span",{style:{...S,border:"none",padding:0,minWidth:"auto"},children:u(n)})]}),e.jsxs("div",{style:R,children:[e.jsx("div",{style:A}),e.jsx("div",{style:O}),e.jsx("input",{type:"range",min:t,max:n,step:o,value:j,onChange:L,disabled:k,style:Q,...m}),e.jsx("div",{style:K})]})]})},s1=({checked:t,defaultChecked:n=!1,onChange:o,leftLabel:i,rightLabel:l,size:s="md",disabled:d,style:u,id:g,...k})=>{const[f,m]=W.useState(n),p=t!==void 0?t:f,v=g||W.useId(),j=K=>{const U=K.target.checked;t===void 0&&m(U),o==null||o(U)},L={sm:{width:36,height:20,thumbSize:16},md:{width:44,height:24,thumbSize:20}},{width:y,height:H,thumbSize:F}=L[s],I=2,S=y-F-I*2,R={display:"inline-flex",alignItems:"center",gap:c.p2,cursor:d?"not-allowed":"pointer",opacity:d?.6:1,...u},A={fontFamily:x.main,fontSize:"14px",fontWeight:C.medium,lineHeight:B.tight,color:h[700],userSelect:"none"},O={position:"relative",width:`${y}px`,height:`${H}px`,backgroundColor:p?M[500]:w[300],borderRadius:`${H/2}px`,transition:"background-color 0.2s ease",flexShrink:0},Q={position:"absolute",top:`${I}px`,left:`${I}px`,width:`${F}px`,height:`${F}px`,backgroundColor:b,borderRadius:"50%",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",transform:p?`translateX(${S}px)`:"translateX(0)",transition:"transform 0.2s ease"},X={position:"absolute",opacity:0,width:0,height:0};return e.jsxs("label",{style:R,htmlFor:v,children:[i&&e.jsx("span",{style:A,children:i}),e.jsxs("div",{style:O,children:[e.jsx("input",{type:"checkbox",id:v,checked:p,onChange:j,disabled:d,style:X,...k}),e.jsx("div",{style:Q})]}),l&&e.jsx("span",{style:A,children:l})]})},l1=({tabs:t,activeTab:n,defaultTab:o,onChange:i,variant:l="default",tool:s,style:d,...u})=>{const[g,k]=W.useState(o||(t.length>0?t[0].id:"")),f=n!==void 0?n:g,m=(L,y)=>{y||(k(L),i==null||i(L))},p=l==="class"?"#960B0C":"var(--general-background-bg-brand, #2e9dff)";if(l==="pill"){const L={display:"flex",padding:c.p2,alignItems:"flex-start",gap:c.p2,alignSelf:"stretch",borderRadius:D.md,backgroundColor:"var(--general-background-bg-secondary, #f7f8f9)",width:"100%",boxSizing:"border-box",...d};return e.jsx("div",{style:L,...u,children:t.map(y=>{const H=f===y.id,F={flex:1,padding:`${c.p2} ${c.p4}`,borderRadius:D.md,textAlign:"center",fontFamily:'"Noto Sans", sans-serif',fontSize:"14px",fontWeight:500,lineHeight:"20px",border:"none",cursor:y.disabled?"not-allowed":"pointer",opacity:y.disabled?.5:1,transition:"all 0.2s",backgroundColor:H?p:"transparent",color:H?"var(--general-text-icon-text-onbrand, #ffffff)":"var(--general-text-tertiary, #828894)"};return e.jsx("button",{onClick:()=>m(y.id,y.disabled),style:F,disabled:y.disabled,type:"button",children:y.label},y.id)})})}const v={display:"flex",alignItems:"center",justifyContent:s?"space-between":"flex-start",gap:c.p5,alignSelf:"stretch",width:"100%",...d},j={display:"flex",alignItems:"center",gap:c.p5,flex:s?"none":1};return e.jsxs("div",{style:v,...u,children:[e.jsx("div",{style:j,children:t.map(L=>{const y=f===L.id,H={display:"flex",height:40,padding:`${c.p3} ${c.p2}`,justifyContent:"center",alignItems:"center",gap:10,border:"none",backgroundColor:"transparent",borderBottom:y?`2px solid ${p}`:"2px solid var(--general-border-border-primary, #eeeff2)",cursor:L.disabled?"not-allowed":"pointer",opacity:L.disabled?.5:1,transition:"all 0.2s"},F={display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s",color:y?p:"var(--general-text-secondary, #464b56)"},I={textAlign:"center",fontFamily:'"Noto Sans", sans-serif',fontSize:"14px",fontWeight:500,lineHeight:"20px",transition:"color 0.2s",color:y?p:"var(--general-text-secondary, #464b56)"};return e.jsxs("button",{onClick:()=>m(L.id,L.disabled),style:H,disabled:L.disabled,type:"button",children:[L.icon&&e.jsx("span",{style:F,children:L.icon}),e.jsx("span",{style:I,children:L.label})]},L.id)})}),s&&e.jsx("div",{style:{fontFamily:'"Noto Sans", sans-serif',fontSize:"10px",fontWeight:500,color:h[300]},children:s})]})},d1=({color:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 16V12",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 8H12.01",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),a1=({color:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M9 12L11 14L15 10",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),c1=({color:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M15 9L9 15",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M9 9L15 15",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),h1={neutral:{iconColor:ue[900],textColor:ue[900],buttonBg:w[300],buttonText:h[700],Icon:null},info:{iconColor:M[500],textColor:M[500],buttonBg:M[500],buttonText:b,Icon:d1},success:{iconColor:ie[600],textColor:ie[600],buttonBg:ie[500],buttonText:b,Icon:a1},alert:{iconColor:G[500],textColor:G[500],buttonBg:G[500],buttonText:b,Icon:c1}},u1=({title:t,description:n,type:o="neutral",actionLabel:i,onAction:l,onClose:s,style:d,...u})=>{const g=h1[o],k=g.Icon,f={display:"flex",alignItems:"center",justifyContent:"space-between",gap:c.p3,padding:c.p4,backgroundColor:b,borderRadius:D.sm,boxShadow:"0 4px 12px rgba(13, 10, 44, 0.06)",minWidth:"300px",...d},m={display:"flex",alignItems:"center",gap:c.p2},p={display:"flex",flexDirection:"column",gap:"4px"},v={fontFamily:x.main,fontSize:"14px",fontWeight:C.semibold,lineHeight:B.tight,color:o==="neutral"?ue[900]:g.textColor,margin:0},j={fontFamily:x.main,fontSize:"12px",fontWeight:C.regular,lineHeight:B.tight,color:o==="neutral"?h[400]:g.textColor,margin:0},L={display:"flex",alignItems:"center",gap:c.p2},y={padding:`${c.p1} ${c.p2}`,backgroundColor:g.buttonBg,color:g.buttonText,border:"none",borderRadius:D.xs,fontFamily:x.main,fontSize:"12px",fontWeight:C.medium,lineHeight:B.tight,cursor:"pointer"};return e.jsxs("div",{style:f,...u,children:[e.jsxs("div",{style:m,children:[k&&e.jsx(k,{color:g.iconColor}),e.jsxs("div",{style:p,children:[e.jsx("p",{style:v,children:t}),n&&e.jsx("p",{style:j,children:n})]})]}),(i||s)&&e.jsx("div",{style:L,children:i&&l&&e.jsx("button",{style:y,onClick:l,children:i})})]})},Fe=({label:t,selected:n,defaultSelected:o=!1,onChange:i,rightIcon:l,disabled:s,style:d,...u})=>{const[g,k]=W.useState(o),f=n!==void 0?n:g,m=()=>{if(s)return;const j=!f;n===void 0&&k(j),i==null||i(j)},p={display:"inline-flex",alignItems:"center",gap:c.p1,padding:`${c.p2} ${c.p3}`,backgroundColor:f?M[50]:w[100],border:`1px solid ${f?M[100]:w[300]}`,borderRadius:D.sm,fontFamily:x.main,fontSize:"12px",fontWeight:C.medium,lineHeight:B.tight,color:f?M[500]:h[700],cursor:s?"not-allowed":"pointer",opacity:s?.5:1,transition:"background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease",outline:"none",...d},v={display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:f?M[500]:h[700]};return e.jsxs("button",{type:"button",style:p,onClick:m,disabled:s,...u,children:[e.jsx("span",{children:t}),l&&e.jsx("span",{style:v,children:l})]})},f1=({items:t,value:n,defaultValue:o,onChange:i,allowDeselect:l=!1,style:s,...d})=>{const[u,g]=W.useState(o||""),k=n!==void 0?n:u,f=p=>{let v;k===p&&l?v="":v=p,n===void 0&&g(v),i==null||i(v)},m={display:"flex",alignItems:"center",gap:c.p2,flexWrap:"wrap",...s};return e.jsx("div",{style:m,...d,children:t.map(p=>e.jsx(Fe,{label:p.label,selected:k===p.id,onChange:()=>f(p.id),rightIcon:p.rightIcon,disabled:p.disabled},p.id))})},ve=({suit:t})=>{const o=(i=>{switch(i){case"spades":return{color:"#71717B",svg:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",children:e.jsx("path",{d:"M11.1168 6.49984C11.1166 6.93599 11.0024 7.36452 10.7854 7.74286C10.5684 8.1212 10.2561 8.43618 9.87973 8.65652C9.50332 8.87686 9.07581 8.99489 8.63967 8.99889C8.20353 9.00288 7.77394 8.89271 7.39356 8.6793L7.88731 10.3257C7.90331 10.3791 7.90663 10.4354 7.897 10.4902C7.88736 10.545 7.86504 10.5969 7.83182 10.6415C7.7986 10.6862 7.75539 10.7225 7.70565 10.7475C7.65591 10.7725 7.60101 10.7855 7.54534 10.7856H5.40248C5.34681 10.7855 5.29191 10.7725 5.24217 10.7475C5.19243 10.7225 5.14923 10.6862 5.116 10.6415C5.08278 10.5969 5.06046 10.545 5.05083 10.4902C5.0412 10.4354 5.04451 10.3791 5.06052 10.3257L5.55427 8.6793C5.17389 8.89271 4.74429 9.00288 4.30815 8.99889C3.87201 8.99489 3.44451 8.87686 3.0681 8.65652C2.69169 8.43618 2.37947 8.1212 2.16246 7.74286C1.94545 7.36452 1.8312 6.93599 1.83105 6.49984C1.83105 5.07126 2.619 3.69448 4.10784 2.51457C4.79138 1.97551 5.53958 1.52394 6.33507 1.17037C6.37859 1.15203 6.42534 1.14258 6.47257 1.14258C6.5198 1.14258 6.56655 1.15203 6.61007 1.17037C7.4065 1.52375 8.15561 1.97531 8.83998 2.51457C10.3288 3.69448 11.1168 5.07126 11.1168 6.49984Z",fill:"currentColor"})})};case"clubs":return{color:"#00BAA8",svg:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_142_9466)",children:e.jsx("path",{d:"M10.817 6.85719C10.8168 7.29951 10.6993 7.73387 10.4764 8.11593C10.2535 8.498 9.9333 8.8141 9.54835 9.03197C9.16341 9.24984 8.72755 9.36167 8.28527 9.35606C7.84298 9.35045 7.4101 9.2276 7.0308 9.00004H6.83259L7.23036 10.3259C7.24636 10.3793 7.24968 10.4356 7.24005 10.4904C7.23042 10.5452 7.2081 10.5971 7.17487 10.6417C7.14165 10.6864 7.09845 10.7227 7.0487 10.7477C6.99896 10.7727 6.94407 10.7857 6.88839 10.7858H4.74554C4.68986 10.7857 4.63497 10.7727 4.58523 10.7477C4.53549 10.7227 4.49228 10.6864 4.45906 10.6417C4.42583 10.5971 4.40352 10.5452 4.39388 10.4904C4.38425 10.4356 4.38757 10.3793 4.40357 10.3259L4.80134 9.00004H4.60313C4.2728 9.19854 3.90105 9.31799 3.51693 9.34905C3.1328 9.38011 2.74669 9.32195 2.38876 9.1791C2.03083 9.03625 1.71077 8.81259 1.45359 8.52558C1.1964 8.23857 1.00905 7.89599 0.906164 7.5246C0.803281 7.1532 0.787653 6.76305 0.8605 6.38462C0.933347 6.00619 1.0927 5.64972 1.3261 5.34306C1.55951 5.0364 1.86065 4.78785 2.20601 4.61683C2.55137 4.44581 2.93158 4.35695 3.31697 4.35719C3.35179 4.35719 3.38616 4.35719 3.42098 4.35719C3.30985 3.98407 3.2874 3.59016 3.35541 3.20683C3.42342 2.8235 3.58001 2.46136 3.81271 2.14925C4.04541 1.83713 4.34779 1.58368 4.69575 1.40908C5.04372 1.23448 5.42765 1.14355 5.81697 1.14355C6.20628 1.14355 6.59021 1.23448 6.93818 1.40908C7.28614 1.58368 7.58852 1.83713 7.82122 2.14925C8.05392 2.46136 8.21052 2.8235 8.27852 3.20683C8.34653 3.59016 8.32408 3.98407 8.21295 4.35719C8.24732 4.35719 8.28214 4.35719 8.31697 4.35719C8.97979 4.35789 9.61526 4.62152 10.0839 5.0902C10.5526 5.55889 10.8163 6.19436 10.817 6.85719Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_142_9466",children:e.jsx("rect",{width:"11.4286",height:"11.4286",fill:"white",transform:"translate(0.0976562 0.428711)"})})})]})};case"hearts":return{color:"#FC3259",svg:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",children:e.jsx("path",{d:"M11.4849 4.98172C11.4849 8.10672 6.85138 10.6362 6.65406 10.7407C6.60205 10.7686 6.54392 10.7833 6.48486 10.7833C6.42581 10.7833 6.36767 10.7686 6.31567 10.7407C6.11835 10.6362 1.48486 8.10672 1.48486 4.98172C1.48569 4.2479 1.77757 3.54436 2.29646 3.02547C2.81536 2.50657 3.51889 2.21469 4.25272 2.21387C5.1746 2.21387 5.98174 2.6103 6.48486 3.28039C6.98799 2.6103 7.79513 2.21387 8.71701 2.21387C9.45083 2.21469 10.1544 2.50657 10.6733 3.02547C11.1922 3.54436 11.484 4.2479 11.4849 4.98172Z",fill:"currentColor"})})};case"diamonds":return{color:"#00A5EF",svg:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_142_9454)",children:e.jsx("path",{d:"M10.8051 6.14323C10.8054 6.23678 10.7871 6.32945 10.7513 6.41589C10.7155 6.50233 10.6629 6.58081 10.5966 6.6468L6.30867 10.9352C6.17484 11.0682 5.9938 11.1429 5.8051 11.1429C5.6164 11.1429 5.43536 11.0682 5.30153 10.9352L1.01581 6.6468C0.882778 6.51297 0.808105 6.33193 0.808105 6.14323C0.808105 5.95452 0.882778 5.77349 1.01581 5.63966L5.30376 1.35126C5.43759 1.21823 5.61863 1.14355 5.80733 1.14355C5.99604 1.14355 6.17707 1.21823 6.3109 1.35126L10.5989 5.63966C10.6648 5.70583 10.7169 5.78439 10.7523 5.87082C10.7877 5.95725 10.8057 6.04983 10.8051 6.14323Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_142_9454",children:e.jsx("rect",{width:"11.4286",height:"11.4286",fill:"white",transform:"translate(0.090332 0.428711)"})})})]})}}})(t);return e.jsx("div",{style:{color:o.color,display:"inline-flex"},children:o.svg})},Ve=({card:t,style:n})=>{const o=l=>{switch(l){case"spades":return"#71717B";case"clubs":return"#00BAA8";case"hearts":return"#FC3259";case"diamonds":return"#00A5EF"}},i={width:22.143,height:30,borderRadius:4,border:"0.714px solid #E5E7EB",backgroundColor:"white",position:"relative",...n};return e.jsx("div",{style:i,children:t&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{position:"absolute",top:0,right:0},children:e.jsx(ve,{suit:t.suit})}),e.jsx("span",{style:{fontFamily:'"Noto Sans", sans-serif',fontSize:20,fontWeight:600,position:"absolute",bottom:0,left:0,lineHeight:1,color:o(t.suit)},children:t.rank})]})})},g1=Ve,p1=({cards:t,style:n})=>{const o=d=>{switch(d){case"spades":return"#71717B";case"clubs":return"#00BAA8";case"hearts":return"#FC3259";case"diamonds":return"#00A5EF"}},i={display:"flex",alignItems:"center",justifyContent:"center",height:"100%",gap:2,...n},l={width:35.492,height:48,flexShrink:0,borderRadius:4,border:"1px solid #E5E7EB",backgroundColor:"white",position:"relative",display:"flex",alignItems:"center",justifyContent:"center"},s=d=>{const u={...l};return e.jsx("div",{style:u,children:d&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{position:"absolute",top:4,right:4},children:e.jsx(ve,{suit:d.suit})}),e.jsx("span",{style:{fontFamily:'"Noto Sans", sans-serif',fontSize:20,fontWeight:600,marginTop:20,color:o(d.suit)},children:d.rank})]})})};return e.jsxs("div",{style:i,children:[s(t[0]),s(t[1])]})},x1=({variant:t="default",padding:n="md",rounded:o="md",children:i,style:l,...s})=>{const d={none:0,sm:c.p2,md:c.p4,lg:c.p5},u={sm:D.sm,md:D.md,lg:D.lg,xl:D.xl},g={backgroundColor:b[100],borderRadius:u[o],padding:d[n],...t==="outlined"&&{border:`1px solid ${w[300]}`},...t==="elevated"&&{boxShadow:"0px 4px 12px rgba(13, 10, 44, 0.06)"},...l};return e.jsx("div",{style:g,...s,children:i})},C1=({imageUrl:t,badge:n,title:o,location:i,dateRange:l,onClick:s,style:d})=>{const u={width:160,borderRadius:D.md,overflow:"hidden",backgroundColor:b[100],border:`1px solid ${w[200]}`,cursor:s?"pointer":"default",...d},g={position:"relative",width:"100%",height:100,backgroundColor:w[200],overflow:"hidden"},k={position:"absolute",top:8,left:8,backgroundColor:M[500],color:b[100],fontSize:10,fontWeight:C.medium,padding:"2px 8px",borderRadius:D.sm},f={padding:c.p3},m={fontFamily:x.main,fontWeight:C.semibold,fontSize:14,color:h[900],marginBottom:8},p={fontFamily:x.main,fontSize:10,color:h[500],display:"flex",alignItems:"center",gap:4,marginBottom:4};return e.jsxs("div",{style:u,onClick:s,children:[e.jsxs("div",{style:g,children:[t&&e.jsx("img",{src:t,alt:o,style:{width:"100%",height:"100%",objectFit:"cover"}}),n&&e.jsx("span",{style:k,children:n})]}),e.jsxs("div",{style:f,children:[e.jsx("div",{style:m,children:o}),i&&e.jsxs("div",{style:p,children:[e.jsx(Te,{}),i]}),l&&e.jsxs("div",{style:p,children:[e.jsx(Re,{}),l]})]})]})},y1=({leftIcon:t,title:n,description:o,rightElement:i,badge:l,badgeVariant:s="default",creditInfo:d,amount:u,amountVariant:g="default",additionalInfo:k,onClick:f,selected:m=!1,style:p})=>{const v={display:"flex",alignItems:"flex-start",gap:c.p3,padding:c.p4,backgroundColor:b[100],borderRadius:D.md,border:`1px solid ${m?M[500]:w[200]}`,cursor:f?"pointer":"default",...p},j={flex:1,minWidth:0},L={display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:o?4:0},y={fontFamily:x.main,fontWeight:C.medium,fontSize:14,color:h[900]},H={fontFamily:x.main,fontSize:12,color:h[500]},F={default:{bg:M[50],text:M[500]},success:{bg:"#dcfce7",text:"#0a9d41"},warning:{bg:"#fef3c7",text:"#d97706"},error:{bg:"#fee2e2",text:"#ef4444"}},I={default:M[500],positive:"#0a9d41",negative:"#ef4444"};return e.jsxs("div",{style:v,onClick:f,children:[t&&e.jsx("div",{style:{flexShrink:0},children:t}),e.jsxs("div",{style:j,children:[e.jsxs("div",{style:L,children:[e.jsx("span",{style:y,children:n}),l&&e.jsx("span",{style:{fontSize:10,fontWeight:C.medium,padding:"2px 8px",borderRadius:D.sm,backgroundColor:F[s].bg,color:F[s].text},children:l}),u&&e.jsx("span",{style:{fontFamily:x.main,fontWeight:C.semibold,fontSize:14,color:I[g]},children:u}),i]}),o&&e.jsx("div",{style:H,children:o}),d&&e.jsx("div",{style:{fontFamily:x.main,fontSize:10,color:M[500],marginTop:4},children:d}),k&&e.jsx("div",{style:{display:"flex",gap:c.p3,marginTop:8,fontSize:10,color:h[500]},children:k.map((S,R)=>e.jsxs("span",{children:[S.label,": ",e.jsx("strong",{style:{color:M[500]},children:S.value})]},R))})]})]})},k1=({banner_url:t,event_name:n,event_code:o,date_from:i,date_to:l,dateText:s,onClick:d,style:u,className:g=""})=>{const k=(y,H)=>{if(s)return s;if(!y&&!H)return"日期待定";if(!H||y===H)return y?new Date(y).toLocaleDateString("zh-TW"):"日期待定";if(!y||!H)return"日期待定";const F=new Date(y),I=new Date(H);return`${F.toLocaleDateString("zh-TW")} - ${I.toLocaleDateString("zh-TW")}`},f={display:"flex",width:"100%",flexDirection:"column",alignItems:"flex-start",flexShrink:0,cursor:d?"pointer":"default",...u},m={display:"flex",width:"100%",height:91,flexDirection:"column",alignItems:"flex-start",borderTopLeftRadius:12,borderTopRightRadius:12,backgroundColor:"#192B43",overflow:"hidden"},p={display:"flex",width:"100%",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",gap:8,borderBottomLeftRadius:12,borderBottomRightRadius:12,backgroundColor:"var(--general-background-bg-inputfield, #F7F8F9)",paddingTop:16,paddingBottom:16,paddingLeft:12,paddingRight:12,borderLeft:`1px solid ${w[300]}`,borderRight:`1px solid ${w[300]}`,borderBottom:`1px solid ${w[300]}`,boxSizing:"border-box"},v={color:h[900],fontFamily:'"Noto Sans", sans-serif',fontSize:16,fontWeight:600,lineHeight:"20px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%"},j={display:"flex",alignItems:"center",gap:4,alignSelf:"stretch"},L={color:h[500],fontFamily:'"Noto Sans", sans-serif',fontSize:14,fontWeight:500,lineHeight:"20px"};return e.jsxs("div",{style:f,onClick:d,className:g,children:[e.jsx("div",{style:m,children:t?e.jsx("img",{src:t,alt:n,style:{width:"100%",height:"100%",objectFit:"cover"}}):e.jsx("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",children:[e.jsx("path",{d:"M24 6C20.0444 6 16.1776 7.17298 12.8886 9.37061C9.59962 11.5682 7.03617 14.6918 5.52242 18.3463C4.00867 22.0009 3.61264 26.0222 4.38439 29.9018C5.15615 33.7814 7.06093 37.3451 9.85787 40.1421C12.6548 42.9391 16.2186 44.8438 20.0982 45.6156C23.9778 46.3874 27.9991 45.9913 31.6537 44.4776C35.3082 42.9638 38.4318 40.4004 40.6294 37.1114C42.827 33.8224 44 29.9556 44 26C43.9937 20.6976 41.886 15.6145 38.1351 11.8649C34.3855 8.11398 29.3024 6.00628 24 6ZM24 42C20.8355 42 17.7421 41.0616 15.111 39.3035C12.4798 37.5454 10.4289 35.0466 9.21995 32.1229C8.01098 29.1993 7.70649 25.9823 8.34126 22.8786C8.97602 19.7749 10.5217 16.9233 12.7868 14.6863C15.0518 12.4493 17.9251 10.924 21.0371 10.3019C24.1491 9.67986 27.3693 9.98434 30.2961 11.182C33.2229 12.3797 35.729 14.4115 37.5 17.0251C39.271 19.6388 40.2222 22.7178 40.2222 25.8667C40.2168 30.0563 38.5482 34.0735 35.6077 36.9993C32.6671 39.9251 28.6316 41.5946 24.4444 41.6H24.3556H24Z",fill:"#2E5C7D",fillOpacity:"0.3"}),e.jsx("path",{d:"M27.7778 24H24.8889V14.2222C24.8889 13.6589 24.6651 13.1186 24.2651 12.7186C23.865 12.3185 23.3247 12.0947 22.7611 12.0947C22.1976 12.0947 21.6573 12.3185 21.2572 12.7186C20.8571 13.1186 20.6333 13.6589 20.6333 14.2222V26.1333C20.6333 26.6969 20.8571 27.2372 21.2572 27.6372C21.6573 28.0373 22.1976 28.2611 22.7611 28.2611H27.7778C28.3413 28.2611 28.8816 28.0373 29.2817 27.6372C29.6817 27.2372 29.9056 26.6969 29.9056 26.1333C29.9056 25.5698 29.6817 25.0295 29.2817 24.6294C28.8816 24.2294 28.3413 24.0056 27.7778 24.0056V24Z",fill:"#2E5C7D",fillOpacity:"0.3"})]})})}),e.jsxs("div",{style:p,children:[e.jsx("span",{style:v,children:n}),e.jsxs("div",{style:j,children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:{width:20,height:20,flexShrink:0},children:e.jsx("path",{d:"M10 5C9.38193 5 8.77775 5.18328 8.26384 5.52666C7.74994 5.87004 7.3494 6.3581 7.11288 6.92911C6.87635 7.50013 6.81447 8.12847 6.93505 8.73466C7.05562 9.34085 7.35325 9.89767 7.79029 10.3347C8.22733 10.7717 8.78415 11.0694 9.39034 11.19C9.99653 11.3105 10.6249 11.2486 11.1959 11.0121C11.7669 10.7756 12.255 10.3751 12.5983 9.86116C12.9417 9.34725 13.125 8.74307 13.125 8.125C13.125 7.2962 12.7958 6.50134 12.2097 5.91529C11.6237 5.32924 10.8288 5 10 5ZM10 10C9.62916 10 9.26665 9.89003 8.95831 9.68401C8.64996 9.47798 8.40964 9.18514 8.26773 8.84253C8.12581 8.49992 8.08868 8.12292 8.16103 7.75921C8.23337 7.39549 8.41195 7.0614 8.67417 6.79917C8.9364 6.53695 9.27049 6.35837 9.63421 6.28603C9.99792 6.21368 10.3749 6.25081 10.7175 6.39273C11.0601 6.53464 11.353 6.77496 11.559 7.08331C11.765 7.39165 11.875 7.75416 11.875 8.125C11.875 8.62228 11.6775 9.09919 11.3258 9.45083C10.9742 9.80246 10.4973 10 10 10ZM10 1.25C8.17727 1.25207 6.42979 1.97706 5.14092 3.26592C3.85206 4.55479 3.12707 6.30227 3.125 8.125C3.125 10.5781 4.25859 13.1781 6.40625 15.6445C7.37127 16.759 8.45739 17.7626 9.64453 18.6367C9.74962 18.7103 9.87482 18.7498 10.0031 18.7498C10.1314 18.7498 10.2566 18.7103 10.3617 18.6367C11.5467 17.7623 12.6307 16.7587 13.5938 15.6445C15.7383 13.1781 16.875 10.5781 16.875 8.125C16.8729 6.30227 16.1479 4.55479 14.8591 3.26592C13.5702 1.97706 11.8227 1.25207 10 1.25ZM10 17.3438C8.70859 16.3281 4.375 12.5977 4.375 8.125C4.375 6.63316 4.96763 5.20242 6.02252 4.14752C7.07742 3.09263 8.50816 2.5 10 2.5C11.4918 2.5 12.9226 3.09263 13.9775 4.14752C15.0324 5.20242 15.625 6.63316 15.625 8.125C15.625 12.5961 11.2914 16.3281 10 17.3438Z",fill:"currentColor",style:{color:h[400]}})}),e.jsx("span",{style:L,children:o})]}),e.jsxs("div",{style:j,children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:{width:20,height:20,flexShrink:0},children:e.jsx("path",{d:"M16.25 2.5H14.375V1.875C14.375 1.70924 14.3092 1.55027 14.1919 1.43306C14.0747 1.31585 13.9158 1.25 13.75 1.25C13.5842 1.25 13.4253 1.31585 13.3081 1.43306C13.1908 1.55027 13.125 1.70924 13.125 1.875V2.5H6.875V1.875C6.875 1.70924 6.80915 1.55027 6.69194 1.43306C6.57473 1.31585 6.41576 1.25 6.25 1.25C6.08424 1.25 5.92527 1.31585 5.80806 1.43306C5.69085 1.55027 5.625 1.70924 5.625 1.875V2.5H3.75C3.41848 2.5 3.10054 2.6317 2.86612 2.86612C2.6317 3.10054 2.5 3.41848 2.5 3.75V16.25C2.5 16.5815 2.6317 16.8995 2.86612 17.1339C3.10054 17.3683 3.41848 17.5 3.75 17.5H16.25C16.5815 17.5 16.8995 17.3683 17.1339 17.1339C17.3683 16.8995 17.5 16.5815 17.5 16.25V3.75C17.5 3.41848 17.3683 3.10054 17.1339 2.86612C16.8995 2.6317 16.5815 2.5 16.25 2.5ZM5.625 3.75V4.375C5.625 4.54076 5.69085 4.69973 5.80806 4.81694C5.92527 4.93415 6.08424 5 6.25 5C6.41576 5 6.57473 4.93415 6.69194 4.81694C6.80915 4.69973 6.875 4.54076 6.875 4.375V3.75H13.125V4.375C13.125 4.54076 13.1908 4.69973 13.3081 4.81694C13.4253 4.93415 13.5842 5 13.75 5C13.9158 5 14.0747 4.93415 14.1919 4.81694C14.3092 4.69973 14.375 4.54076 14.375 4.375V3.75H16.25V6.25H3.75V3.75H5.625ZM16.25 16.25H3.75V7.5H16.25V16.25Z",fill:"currentColor",style:{color:h[400]}})}),e.jsx("span",{style:L,children:k(i,l)})]})]})]})},j1=({cards:t=[],title:n,subtitle:o,date:i,badge:l,badgeColor:s="blue",onClick:d,style:u})=>{const g={display:"flex",gap:c.p3,padding:c.p3,backgroundColor:b[100],borderRadius:D.md,border:`1px solid ${w[200]}`,cursor:d?"pointer":"default",...u},k={heart:"#ef4444",spade:"#464b56",diamond:"#2e9dff",club:"#01bda7"},f={blue:{bg:M[50],text:M[500]},green:{bg:"#dcfce7",text:"#0a9d41"},red:{bg:"#fee2e2",text:"#ef4444"}};return e.jsxs("div",{style:g,onClick:d,children:[e.jsx("div",{style:{display:"flex",gap:2},children:t.map((m,p)=>e.jsxs("div",{style:{width:20,height:28,borderRadius:2,border:`1px solid ${w[300]}`,backgroundColor:b[100],display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",fontSize:10,fontWeight:C.semibold,color:k[m.suit]},children:[e.jsx("span",{style:{fontSize:8,lineHeight:1},children:b1(m.suit)}),e.jsx("span",{style:{fontSize:10,lineHeight:1},children:m.value})]},p))}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:4},children:[e.jsx("div",{style:{fontFamily:x.main,fontWeight:C.semibold,fontSize:12,color:h[900]},children:n}),l&&e.jsx("span",{style:{fontSize:10,fontWeight:C.medium,padding:"2px 6px",borderRadius:D.xs,backgroundColor:f[s].bg,color:f[s].text},children:l})]}),o&&e.jsx("div",{style:{fontFamily:x.main,fontSize:10,color:h[500],marginBottom:2},children:o}),i&&e.jsx("div",{style:{fontFamily:x.main,fontSize:10,color:h[400]},children:i})]})]})},Te=()=>e.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:e.jsx("path",{d:"M6 1C4.067 1 2.5 2.567 2.5 4.5C2.5 7.25 6 11 6 11C6 11 9.5 7.25 9.5 4.5C9.5 2.567 7.933 1 6 1ZM6 6C5.172 6 4.5 5.328 4.5 4.5C4.5 3.672 5.172 3 6 3C6.828 3 7.5 3.672 7.5 4.5C7.5 5.328 6.828 6 6 6Z",fill:"#969ba5"})}),Re=()=>e.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:e.jsx("path",{d:"M9.5 2H9V1.5C9 1.224 8.776 1 8.5 1C8.224 1 8 1.224 8 1.5V2H4V1.5C4 1.224 3.776 1 3.5 1C3.224 1 3 1.224 3 1.5V2H2.5C1.672 2 1 2.672 1 3.5V9.5C1 10.328 1.672 11 2.5 11H9.5C10.328 11 11 10.328 11 9.5V3.5C11 2.672 10.328 2 9.5 2ZM10 9.5C10 9.776 9.776 10 9.5 10H2.5C2.224 10 2 9.776 2 9.5V5H10V9.5Z",fill:"#969ba5"})}),m1=({filled:t=!1})=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10 2L12.09 7.26L18 7.97L13.55 11.97L14.82 18L10 15.02L5.18 18L6.45 11.97L2 7.97L7.91 7.26L10 2Z",fill:t?"#fbbf24":"none",stroke:t?"#fbbf24":"#969ba5",strokeWidth:"1.5"})}),b1=t=>({heart:"♥",spade:"♠",diamond:"♦",club:"♣"})[t]||"",v1=({eventDate:t,startTime:n,lateRegTime:o,eventName:i,buyInTwd:l,blindLevelTime:s,stack:d,bannerUrl:u,festivalName:g,festivalId:k,eventSeq:f,onClick:m,isFavorite:p,initialIsFavorite:v,onFavoriteToggle:j,style:L})=>{const y=p??v??!1,H=N=>{if(!N)return"";const ee=new Date(N);return`${ee.getMonth()+1}/${ee.getDate()}`},F=N=>N?N.slice(0,5):"",I=N=>N?`截買 ${N.slice(0,5)}`:"",S=N=>{N.stopPropagation(),j==null||j()},R={position:"relative",display:"flex",padding:c.p3,alignItems:"flex-start",gap:10,width:"100%",borderRadius:D.lg,backgroundColor:"#F7F8F9",border:`1px solid ${w[300]}`,cursor:m?"pointer":"default",boxSizing:"border-box",...L},A={display:"flex",width:72,height:72,justifyContent:"center",alignItems:"center",borderRadius:D.md,backgroundColor:w[200],flexShrink:0},O={display:"flex",flexDirection:"column",alignItems:"center",gap:0},Q={display:"flex",paddingTop:4,paddingBottom:4,flexDirection:"column",justifyContent:"center",alignItems:"flex-start",gap:4,flex:1,minWidth:0},X={display:"flex",justifyContent:"space-between",alignItems:"flex-start",alignSelf:"stretch"},K={color:h[900],fontFamily:'"Noto Sans", sans-serif',fontSize:15,fontWeight:700,lineHeight:"22.5px",letterSpacing:"-0.084px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,paddingRight:8},U={display:"flex",paddingRight:20,justifyContent:"space-between",alignItems:"flex-start",alignSelf:"stretch"},_={display:"flex",flexDirection:"column",gap:4},te={color:h[600],fontFamily:'"Noto Sans", sans-serif',fontSize:12,fontWeight:600,lineHeight:"120%"},oe={color:h[400],fontFamily:'"Noto Sans", sans-serif',fontSize:10,fontWeight:500,lineHeight:"120%"},ne={color:M[500],fontFamily:'"Noto Sans", sans-serif',fontSize:12,fontWeight:600,lineHeight:"120%"},z={position:"absolute",bottom:0,right:0,width:48,height:48,overflow:"hidden",borderBottomRightRadius:D.lg,clipPath:"polygon(100% 0%, 100% 100%, 0% 100%)"};return e.jsxs("div",{style:R,onClick:m,children:[e.jsx("div",{style:A,children:e.jsxs("div",{style:O,children:[e.jsx("span",{style:{color:h[900],fontFamily:'"Noto Sans", sans-serif',fontSize:11,fontWeight:600,lineHeight:"20px",letterSpacing:"0.11px"},children:H(t)}),e.jsx("span",{style:{color:h[900],fontFamily:'"Noto Sans", sans-serif',fontSize:20,fontWeight:600,lineHeight:"20px",letterSpacing:"0.11px"},children:F(n)}),o&&e.jsx("span",{style:{color:h[400],fontFamily:'"Noto Sans", sans-serif',fontSize:11,fontWeight:500,lineHeight:"20px"},children:I(o)})]})}),e.jsxs("div",{style:Q,children:[e.jsxs("div",{style:X,children:[e.jsx("span",{style:K,children:i}),j&&e.jsx("div",{onClick:S,style:{cursor:"pointer",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},children:y?e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M18.3039 8.97274L14.7882 12.0063L15.8593 16.5431C15.9184 16.7893 15.9032 17.0476 15.8156 17.2852C15.728 17.5229 15.5719 17.7292 15.3671 17.8782C15.1623 18.0272 14.9179 18.1121 14.6648 18.1222C14.4118 18.1324 14.1614 18.0673 13.9453 17.9352L9.99995 15.5071L6.0523 17.9352C5.83622 18.0666 5.58613 18.131 5.3335 18.1205C5.08087 18.11 4.837 18.0249 4.63261 17.8761C4.42822 17.7272 4.27243 17.5212 4.18488 17.284C4.09732 17.0468 4.08191 16.789 4.14058 16.5431L5.21558 12.0063L1.69995 8.97274C1.50878 8.80752 1.37052 8.58963 1.30244 8.34629C1.23436 8.10296 1.23947 7.84496 1.31715 7.60452C1.39483 7.36407 1.54162 7.15184 1.73919 6.99432C1.93677 6.83681 2.17637 6.74099 2.42808 6.71884L7.03745 6.34696L8.81558 2.04384C8.91182 1.80932 9.07563 1.60872 9.28618 1.46754C9.49673 1.32636 9.7445 1.25098 9.998 1.25098C10.2515 1.25098 10.4993 1.32636 10.7098 1.46754C10.9204 1.60872 11.0842 1.80932 11.1804 2.04384L12.9578 6.34696L17.5671 6.71884C17.8193 6.74017 18.0596 6.83545 18.2579 6.99275C18.4562 7.15005 18.6037 7.36236 18.6819 7.6031C18.76 7.84383 18.7654 8.10228 18.6973 8.34606C18.6292 8.58984 18.4907 8.80811 18.2992 8.97352L18.3039 8.97274Z",fill:"#F0B100"})}):e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M18.6859 7.59833C18.6077 7.35812 18.4602 7.1464 18.262 6.98986C18.0637 6.83331 17.8236 6.73895 17.5718 6.71864L12.9624 6.34677L11.1827 2.04286C11.0865 1.80834 10.9227 1.60774 10.7121 1.46656C10.5016 1.32538 10.2538 1.25 10.0003 1.25C9.74682 1.25 9.49905 1.32538 9.2885 1.46656C9.07795 1.60774 8.91414 1.80834 8.8179 2.04286L7.03977 6.34599L2.42806 6.71864C2.17585 6.73997 1.93555 6.83526 1.73725 6.99255C1.53896 7.14985 1.3915 7.36217 1.31334 7.6029C1.23518 7.84364 1.2298 8.10209 1.29787 8.34587C1.36595 8.58965 1.50445 8.80792 1.69602 8.97333L5.21165 12.0069L4.14056 16.5429C4.08065 16.7893 4.09532 17.048 4.18269 17.286C4.27007 17.5241 4.42621 17.7309 4.6313 17.88C4.8364 18.0292 5.08118 18.1141 5.3346 18.1239C5.58801 18.1337 5.83862 18.0679 6.05462 17.935L9.99993 15.5069L13.9476 17.935C14.1637 18.0664 14.4138 18.1308 14.6664 18.1203C14.919 18.1098 15.1629 18.0247 15.3673 17.8759C15.5717 17.727 15.7274 17.521 15.815 17.2838C15.9026 17.0466 15.918 16.7888 15.8593 16.5429L14.7843 12.0061L18.2999 8.97255C18.4931 8.80741 18.6328 8.58867 18.7015 8.34403C18.7702 8.09939 18.7648 7.83987 18.6859 7.59833ZM17.4874 8.02567L13.6827 11.3069C13.596 11.3817 13.5314 11.4789 13.4962 11.5879C13.4609 11.6969 13.4562 11.8134 13.4827 11.9249L14.6452 16.8311C14.6483 16.8379 14.6486 16.8456 14.6461 16.8525C14.6436 16.8595 14.6386 16.8653 14.632 16.8686C14.6179 16.8796 14.614 16.8772 14.6023 16.8686L10.3273 14.2397C10.2288 14.1792 10.1155 14.1472 9.99993 14.1472C9.88435 14.1472 9.77104 14.1792 9.67259 14.2397L5.39759 16.8702C5.38587 16.8772 5.38274 16.8796 5.3679 16.8702C5.36131 16.8668 5.35625 16.8611 5.35378 16.8541C5.35131 16.8471 5.35161 16.8395 5.35462 16.8327L6.51712 11.9265C6.54361 11.815 6.53897 11.6984 6.5037 11.5894C6.46843 11.4805 6.40388 11.3833 6.31712 11.3085L2.51243 8.02724C2.50306 8.01942 2.49446 8.01239 2.50227 7.98817C2.51009 7.96395 2.51634 7.96708 2.52806 7.96552L7.52181 7.56239C7.63634 7.55257 7.74595 7.51134 7.83858 7.44325C7.9312 7.37516 8.00325 7.28285 8.04681 7.17645L9.97024 2.51942C9.97649 2.50614 9.97884 2.49989 9.99759 2.49989C10.0163 2.49989 10.0187 2.50614 10.0249 2.51942L11.9531 7.17645C11.997 7.28289 12.0695 7.3751 12.1626 7.44293C12.2556 7.51076 12.3656 7.55156 12.4804 7.56083L17.4741 7.96395C17.4859 7.96395 17.4929 7.96395 17.4999 7.98661C17.507 8.00927 17.4999 8.01786 17.4874 8.02567Z",fill:h[400]})})})]}),e.jsxs("div",{style:U,children:[e.jsxs("div",{style:_,children:[e.jsx("span",{style:te,children:s?`${s} 分鐘`:"-"}),e.jsx("span",{style:oe,children:"盲注時間"})]}),e.jsxs("div",{style:_,children:[e.jsx("span",{style:te,children:d?d.toLocaleString():"-"}),e.jsx("span",{style:oe,children:"起始籌碼"})]}),e.jsxs("div",{style:_,children:[e.jsx("span",{style:oe,children:"買入金額"}),e.jsx("span",{style:ne,children:l?`NT$ ${l.toLocaleString()}`:"-"})]})]})]}),u&&e.jsx("div",{style:z,children:e.jsx("img",{src:u,alt:g||"Event banner",style:{width:"100%",height:"100%",objectFit:"cover"}})})]})},L1=({items:t,activeId:n,onChange:o,style:i})=>{const l={display:"flex",alignItems:"center",justifyContent:"space-around",padding:`${c.p2} ${c.p4}`,backgroundColor:b[100],borderTop:"1px solid #eaecef",...i};return e.jsx("nav",{style:l,children:t.map(s=>{const d=n===s.id;return e.jsx(Ee,{label:s.label,icon:d&&s.activeIcon?s.activeIcon:s.icon,selected:d,showBadge:s.showBadge,onClick:()=>o==null?void 0:o(s.id)},s.id)})})},Ee=({label:t,icon:n,selected:o=!1,showBadge:i=!1,onClick:l,style:s})=>{const d={display:"flex",flexDirection:"column",alignItems:"center",gap:c.p1,cursor:"pointer",padding:c.p1,minWidth:36,position:"relative",...s},u={width:20,height:20,display:"flex",alignItems:"center",justifyContent:"center",color:o?M[500]:h[700],position:"relative"},g={fontFamily:x.main,fontWeight:C.medium,fontSize:10,lineHeight:1.2,color:o?M[500]:h[700],textAlign:"center"},k={position:"absolute",top:-2,right:-2,width:6,height:6,borderRadius:"50%",backgroundColor:M[500]};return e.jsxs("div",{style:d,onClick:l,children:[e.jsxs("div",{style:u,children:[n,i&&e.jsx("div",{style:k})]}),e.jsx("span",{style:g,children:t})]})},w1=({icon:t,label:n,onClick:o,style:i})=>{const l={display:"flex",flexDirection:"column",alignItems:"center",gap:c.p1,cursor:o?"pointer":"default",...i},s={width:40,height:40,borderRadius:"50%",backgroundColor:b[100],boxShadow:"0px 4px 12px rgba(13, 10, 44, 0.06)",display:"flex",alignItems:"center",justifyContent:"center",color:h[700]},d={fontFamily:x.main,fontWeight:C.medium,fontSize:10,lineHeight:1.2,color:h[700],textAlign:"center"};return e.jsxs("div",{style:l,onClick:o,children:[e.jsx("div",{style:s,children:t}),e.jsx("span",{style:d,children:n})]})},S1=({color:t="currentColor"})=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:t,children:e.jsx("path",{d:"M10 2.5L2.5 8.75V17.5H7.5V12.5H12.5V17.5H17.5V8.75L10 2.5Z"})}),M1=({color:t="currentColor"})=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:t,children:[e.jsx("circle",{cx:"10",cy:"10",r:"7",stroke:t,strokeWidth:"2",fill:"none"}),e.jsx("circle",{cx:"10",cy:"10",r:"3",fill:t})]}),I1=({color:t="currentColor"})=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:t,children:e.jsx("path",{d:"M4 4H16V6H4V4ZM4 8H16V16H4V8ZM6 10V14H8V10H6ZM10 10V14H14V10H10Z"})}),W1=({color:t="currentColor"})=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:t,children:e.jsx("path",{d:"M10 2C7.24 2 5 4.24 5 7C5 9.76 7.24 12 10 12C12.76 12 15 9.76 15 7C15 4.24 12.76 2 10 2ZM10 17C5 17 2 14.76 2 12H18C18 14.76 15 17 10 17Z"})}),H1=({color:t="currentColor"})=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:t,children:[e.jsx("rect",{x:"3",y:"3",width:"6",height:"6",rx:"1"}),e.jsx("rect",{x:"11",y:"3",width:"6",height:"6",rx:"1"}),e.jsx("rect",{x:"3",y:"11",width:"6",height:"6",rx:"1"}),e.jsx("rect",{x:"11",y:"11",width:"6",height:"6",rx:"1"})]}),B1=({open:t,onClose:n,title:o,snapPoints:i=[.5,.9],initialSnapPoint:l=.5,children:s,style:d})=>{const[u,g]=W.useState(!1),[k,f]=W.useState(0),[m,p]=W.useState(0),[v,j]=W.useState(l*100),[L,y]=W.useState(!1),H=W.useRef(null);W.useEffect(()=>{t&&(j(l*100),y(!1))},[t,l]);const F=z=>{g(!0),f(z.touches[0].clientY),p(z.touches[0].clientY)},I=z=>{g(!0),f(z.clientY),p(z.clientY)},S=z=>{if(!u)return;p(z.touches[0].clientY);const N=k-z.touches[0].clientY,ee=window.innerHeight,q=Math.max(...i)*100,ce=Math.min(q,Math.max(20,v+N/ee*100));j(ce),f(z.touches[0].clientY)},R=z=>{if(!u)return;p(z.clientY);const N=k-z.clientY,ee=window.innerHeight,q=Math.max(...i)*100,ce=Math.min(q,Math.max(20,v+N/ee*100));j(ce),f(z.clientY)},A=()=>{if(!u)return;if(g(!1),k-m<-50){O();return}const N=i.reduce((ee,q)=>Math.abs(q*100-v)<Math.abs(ee*100-v)?q:ee);v<Math.min(...i)*100/2?O():j(N*100)},O=()=>{y(!0),setTimeout(()=>{n==null||n()},300)},Q=()=>{O()};if(!t)return null;const X={position:"fixed",inset:0,backgroundColor:"rgba(42, 45, 51, 0.5)",zIndex:1e3,opacity:L?0:1,transition:"opacity 0.3s ease"},K={position:"fixed",bottom:0,left:0,right:0,background:"var(--General-Background-bg-default, #FFF)",borderTopLeftRadius:v>=99?0:"var(--Radius-radius-lg, 16px)",borderTopRightRadius:v>=99?0:"var(--Radius-radius-lg, 16px)",boxShadow:"0 5px 12px 0 rgba(0, 0, 0, 0.10)",zIndex:1001,height:`${v}vh`,maxHeight:"100vh",transform:L?"translateY(100%)":"translateY(0)",transition:u?"none":"transform 0.3s ease-out, height 0.3s ease-out, border-radius 0.3s ease-out",display:"flex",flexDirection:"column",...d},U={width:"100%",display:"flex",flexDirection:"column",alignItems:"center",paddingTop:12,paddingBottom:8,cursor:u?"grabbing":"grab",userSelect:"none",touchAction:"none"},_={width:80,height:6,backgroundColor:"#99A1AF",borderRadius:9999},te={width:"100%",display:"flex",alignItems:"center",justifyContent:"center",paddingLeft:c.p6,paddingRight:c.p6,marginTop:12},oe={textAlign:"center",color:h[900],fontFamily:x.main,fontSize:16,fontWeight:C.semibold,lineHeight:"20px"},ne={flex:1,overflowY:"auto",paddingLeft:c.p6,paddingRight:c.p6,paddingBottom:c.p8};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
|
|
23
|
+
@keyframes slideUp {
|
|
24
|
+
from {
|
|
25
|
+
transform: translateY(100%);
|
|
26
|
+
}
|
|
27
|
+
to {
|
|
28
|
+
transform: translateY(0);
|
|
29
|
+
}
|
|
32
30
|
}
|
|
33
|
-
`})]}),yt=({amount:t,variant:o="negative",style:c})=>{const l={display:"flex",alignItems:"center",gap:4,...c},i={fontFamily:s.main,fontWeight:a.semibold,fontSize:10,lineHeight:1.2,color:o==="negative"?"#ef4444":"#01bda7"};return e.jsxs("div",{style:l,children:[e.jsx(mt,{}),e.jsx("span",{style:i,children:t})]})},mt=()=>e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[e.jsx("circle",{cx:"6",cy:"6",r:"5.5",fill:"#FFD700",stroke:"#FFA500"}),e.jsx("circle",{cx:"6",cy:"6",r:"3",fill:"#FFA500"})]}),Ee=({style:t})=>e.jsx("div",{style:{width:14,height:14,borderRadius:"50%",backgroundColor:m[500],display:"flex",alignItems:"center",justifyContent:"center",...t},children:e.jsx("span",{style:{fontFamily:s.main,fontWeight:a.medium,fontSize:8,color:g[100],lineHeight:1},children:"D"})}),bt=({size:t=114})=>e.jsx("div",{style:{width:t,height:t*1.6,display:"flex",alignItems:"center",justifyContent:"center",opacity:.3},children:e.jsx("svg",{width:t,height:t,viewBox:"0 0 100 100",fill:"#2e9dff",children:e.jsx("path",{d:"M50 10 C30 35, 20 55, 20 70 C20 85, 33 95, 50 95 C67 95, 80 85, 80 70 C80 55, 70 35, 50 10Z"})})}),xt=[{left:"50%",top:"83%",transform:"translateX(-50%)"},{left:"15%",top:"73%",transform:"translateX(-50%)"},{left:"85%",top:"73%",transform:"translateX(-50%)"},{left:"95%",top:"47%",transform:"translate(-50%, -50%)"},{left:"5%",top:"47%",transform:"translate(-50%, -50%)"},{left:"10%",top:"20%",transform:"translateX(-50%)"},{left:"90%",top:"20%",transform:"translateX(-50%)"},{left:"30%",top:"4%",transform:"translateX(-50%)"},{left:"70%",top:"4%",transform:"translateX(-50%)"}],kt=[{left:"50%",top:"7%",transform:"translateX(-50%)"},{left:"80%",top:"19%",transform:"translateX(-50%)"},{left:"20%",top:"19%",transform:"translateX(-50%)"},{left:"5%",top:"55%",transform:"translate(-50%, -50%)"},{left:"95%",top:"55%",transform:"translate(-50%, -50%)"},{left:"15%",top:"90%",transform:"translateX(-50%)"},{left:"85%",top:"90%",transform:"translateX(-50%)"},{left:"35%",top:"112%",transform:"translateX(-50%)"},{left:"65%",top:"112%",transform:"translateX(-50%)"}],_e=({orientation:t="vertical",players:o=[],communityCards:c=[],pot:l="0 BB",blinds:i="100 / 200 / 100",dealerSeat:f,onSeatClick:b,onCardClick:u,style:x})=>{const y=t==="vertical",v=y?xt:kt,I={position:"relative",width:y?335:447,height:y?447:335,...x},k={position:"absolute",left:"50%",top:y?37:"50%",transform:y?"translateX(-50%)":"translate(-50%, -50%)",width:260,height:362,borderRadius:9999,backgroundColor:g[100]},w={position:"absolute",left:8,top:9,width:244,height:344,borderRadius:9999,backgroundColor:"#bee1ff",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden"},z=[...c,...Array(5-c.length).fill({state:"add",suit:"empty"})].slice(0,5),O=new Map;return o.forEach(S=>{O.set(S.seat,S)}),e.jsxs("div",{style:I,children:[e.jsx("div",{style:k,children:e.jsxs("div",{style:w,children:[e.jsx("div",{style:{position:"absolute",top:"20%"},children:e.jsx(bt,{size:80})}),e.jsx("div",{style:{position:"absolute",top:"30%",display:"flex",alignItems:"center",gap:2,padding:p.p1,borderRadius:L.xs},children:z.map((S,R)=>e.jsx(me,{...S,onClick:u?()=>u(R):void 0},R))}),e.jsxs("div",{style:{position:"absolute",top:"55%",display:"flex",flexDirection:"column",alignItems:"center",gap:p.p1},children:[e.jsxs("span",{style:{fontFamily:s.main,fontWeight:a.semibold,fontSize:14,lineHeight:1.2,color:"#0f0f0f"},children:["Pot: ",l]}),e.jsx("span",{style:{fontFamily:s.main,fontWeight:a.medium,fontSize:10,lineHeight:1.2,color:g[100]},children:i})]}),f!==void 0&&e.jsx("div",{style:{position:"absolute",bottom:"10%",left:"35%"},children:e.jsx(Ee,{})})]})}),v.map((S,R)=>{const H=O.get(R);return e.jsx("div",{style:{position:"absolute",...S,zIndex:10},children:H?e.jsx(be,{...H,onClick:b?()=>b(R):void 0}):e.jsx(be,{state:"start",isHero:R===0,onClick:b?()=>b(R):void 0})},R)})]})},St=({orientation:t="vertical",scale:o=.5,style:c})=>{const l=t==="vertical";return e.jsx("div",{style:{width:l?335*o:447*o,height:l?447*o:335*o,transform:`scale(${o})`,transformOrigin:"top left",...c},children:e.jsx(_e,{orientation:t})})},ie={light:{default:g,secondary:W[100],tertiary:W[300],overlay:"#2a2d3380",disabled:d[100],success:N[50],error:T[50],warning:Y[50],brand:m[500],brandSubtle:m[50],accent:K[500],accent2:U[500],accent3:T[500],inputfield:g},dark:{default:ee[900],secondary:ee[800],tertiary:ee[600],overlay:"#2a2d33cc",disabled:d[400],success:N[50],error:T[50],warning:Y[50],brand:m[500],brandSubtle:m[50],accent:he[700],accent2:U[500],accent3:T[500],inputfield:ee[900]}},de={light:{primary:ne[900],secondary:d[700],tertiary:d[400],disabled:d[200],placeholder:d[300],success:N[600],error:T[500],warning:Y[500],link:m[600],brand:m[500],onBrand:g,accent:Y[200],pokerCall:K[500],pokerRaise:U[500]},dark:{primary:g,secondary:W[400],tertiary:W[600],disabled:d[600],placeholder:d[100],success:N[500],error:T[500],warning:Y[500],link:m[600],brand:m[500],onBrand:g,accent:Y[200],pokerCall:K[400],pokerRaise:U[400]}},Be={light:{primary:W[400],subtle:W[100],focus:m[500],success:N[500],error:T[500],warning:Y[500],brandSubtle:m[100]},dark:{primary:d[600],subtle:d[800],focus:m[500],success:N[500],error:T[500],warning:Y[500],brandSubtle:m[500]}},Pe={button:{light:{primaryBg:m[500],primaryLabel:g,secondaryBg:W[300],secondaryLabel:d[700],outlineBg:g,outlineBorder:W[400],outlineLabel:d[700],disabledBg:d[100],disabledLabel:d[200],pokerCallBg:K[500],pokerCallLabel:g,pokerRaiseBg:U[500],pokerRaiseLabel:g,warningBg:T[500],warningLabel:g,hoverOverlay:"#0000001a",pressedOverlay:"#00000033"},dark:{primaryBg:m[500],primaryLabel:g,secondaryBg:ee[600],secondaryLabel:W[400],outlineBg:ee[900],outlineBorder:d[600],outlineLabel:W[400],disabledBg:d[400],disabledLabel:d[600],pokerCallBg:he[700],pokerCallLabel:g,pokerRaiseBg:U[500],pokerRaiseLabel:g,warningBg:T[500],warningLabel:g,hoverOverlay:"#ffffff1a",pressedOverlay:"#00000033"}},pokerCard:{bg:g,bgEmpty:"#6eb3dc80",border:W[400],club:K[500],diamond:m[500],heart:T[500],spade:d[700]}},jt={background:ie,text:de,border:Be,components:Pe},vt=ie.light.default,wt=ie.light.secondary,Ct=ie.light.tertiary,Wt=ie.light.brand,It=de.light.primary,Rt=de.light.secondary,zt=de.light.onBrand;r.Badge=Ve,r.Button=qe,r.Checkbox=Qe,r.DealerButton=Ee,r.Divider=Ke,r.Input=We,r.PokerCard=me,r.PokerCardGroup=ct,r.PokerChip=yt,r.PokerPlayer=be,r.PokerPlayerCircle=ft,r.PokerStatusIndicator=gt,r.PokerTable=_e,r.PokerTablePreview=St,r.Slider=et,r.Switch=tt,r.Tabs=nt,r.Toast=st,r.Toggle=Ie,r.ToggleGroup=at,r.background=ie,r.bgBrand=Wt,r.bgDefault=vt,r.bgSecondary=wt,r.bgTertiary=Ct,r.black=ve,r.border=Be,r.brandblue=m,r.components=Pe,r.cyan=he,r.deepocean=ee,r.fontFamily=s,r.fontSize=C,r.fontWeight=a,r.getTypographyStyles=Ae,r.green=N,r.grey=ne,r.lightgrey=W,r.lineHeight=h,r.orange=U,r.primitiveColors=Me,r.radius=L,r.red=T,r.semanticColors=jt,r.slate=d,r.spacing=p,r.spacingTokens=De,r.teal=K,r.text=de,r.textOnBrand=zt,r.textPrimary=It,r.textSecondary=Rt,r.typography=$e,r.typographyDesktop=Ce,r.typographyMobile=we,r.white=g,r.yellow=Y,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});
|
|
31
|
+
`}),e.jsx("div",{style:X,onClick:Q}),e.jsxs("div",{ref:H,style:K,onMouseMove:R,onMouseUp:A,onMouseLeave:A,children:[e.jsxs("div",{style:U,onTouchStart:F,onTouchMove:S,onTouchEnd:A,onMouseDown:I,children:[e.jsx("div",{style:_}),o&&e.jsx("div",{style:te,children:typeof o=="string"?e.jsx("span",{style:oe,children:o}):o})]}),e.jsx("div",{style:ne,children:s})]})]})},F1=({visible:t,onClick:n,children:o,style:i})=>{if(!t)return null;const l={position:"fixed",inset:0,backgroundColor:"rgba(42, 45, 51, 0.5)",zIndex:1e3,...i};return e.jsx("div",{style:l,onClick:n,children:o})},V1=({type:t="main",children:n,showBackButton:o=!1,onBack:i,rightIcon:l,rightText:s,style:d})=>{if(t==="detail"){const g={display:"flex",alignItems:"center",justifyContent:"space-between",padding:`${c.p2} 0`,height:48,...d};return e.jsxs("div",{style:g,children:[o&&e.jsx("button",{onClick:i,style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(T1,{})}),e.jsx("span",{style:{fontFamily:x.main,fontWeight:C.semibold,fontSize:20,lineHeight:1.5,color:h[900]},children:n}),l||s?e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:c.p5},children:[l,s&&e.jsx("span",{style:{fontFamily:x.main,fontSize:14,color:h[700]},children:s})]}):e.jsx("div",{style:{width:24}})]})}const u={display:"flex",alignItems:"center",justifyContent:"space-between",...d};return e.jsxs("div",{style:u,children:[e.jsx("span",{style:{fontFamily:x.main,fontWeight:C.semibold,fontSize:28,lineHeight:1.5,color:h[900]},children:n}),l&&e.jsx("div",{style:{display:"flex",alignItems:"center",gap:c.p5},children:l})]})},T1=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M15 18L9 12L15 6",stroke:"#0f0f0f",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),De=({items:t,onSelect:n,selectedId:o,style:i})=>{const l={backgroundColor:b[100],border:`1px solid ${w[300]}`,borderRadius:D.md,padding:`${c.p3} 0`,overflow:"hidden",minWidth:150,boxShadow:"0px 4px 12px rgba(13, 10, 44, 0.06)",...i};return e.jsx("div",{style:l,children:t.map((s,d)=>e.jsxs(W.Fragment,{children:[e.jsx(R1,{...s,selected:o===s.id,onClick:()=>!s.disabled&&(n==null?void 0:n(s.id))}),s.dividerAfter&&d<t.length-1&&e.jsx(E1,{})]},s.id))})},R1=({label:t,icon:n,disabled:o=!1,danger:i=!1,selected:l=!1,onClick:s})=>{const[d,u]=W.useState(!1),g={display:"flex",alignItems:"center",gap:c.p3,padding:`${c.p2} ${c.p4}`,cursor:o?"not-allowed":"pointer",opacity:o?.5:1,backgroundColor:d&&!o?w[100]:"transparent",transition:"background-color 0.15s ease"},k={width:20,height:20,display:"flex",alignItems:"center",justifyContent:"center",color:i?"#ef4444":h[700]},f={fontFamily:x.main,fontWeight:C.regular,fontSize:14,lineHeight:1.5,color:i?"#ef4444":h[700]};return e.jsxs("div",{style:g,onClick:s,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:[n&&e.jsx("span",{style:k,children:n}),e.jsx("span",{style:f,children:t})]})},E1=()=>e.jsx("div",{style:{height:1,backgroundColor:w[300],margin:`${c.p2} 0`}}),D1=({children:t,open:n,onClick:o,style:i})=>{const l={display:"inline-flex",alignItems:"center",gap:c.p2,cursor:"pointer",...i};return e.jsxs("div",{style:l,onClick:o,children:[t,e.jsx(z1,{direction:n?"up":"down"})]})},$1=({trigger:t,items:n,onSelect:o,selectedId:i,open:l,onOpenChange:s,placement:d="bottom-start",style:u})=>{const[g,k]=W.useState(!1),f=l!==void 0?l:g,m=W.useRef(null),p=()=>{const y=!f;k(y),s==null||s(y)},v=y=>{o==null||o(y),k(!1),s==null||s(!1)};W.useEffect(()=>{const y=H=>{m.current&&!m.current.contains(H.target)&&(k(!1),s==null||s(!1))};if(f)return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[f,s]);const j={position:"relative",display:"inline-block",...u},L={position:"absolute",top:"100%",marginTop:4,zIndex:1e3,...d==="bottom-start"&&{left:0},...d==="bottom-end"&&{right:0},...d==="bottom"&&{left:"50%",transform:"translateX(-50%)"}};return e.jsxs("div",{ref:m,style:j,children:[e.jsx("div",{onClick:p,style:{cursor:"pointer"},children:t}),f&&e.jsx("div",{style:L,children:e.jsx(De,{items:n,onSelect:v,selectedId:i})})]})},z1=({direction:t="down"})=>e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",style:{transform:t==="up"?"rotate(180deg)":void 0},children:e.jsx("path",{d:"M4 6L8 10L12 6",stroke:"#464b56",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),A1=({color:t="#464b56"})=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("circle",{cx:"10",cy:"10",r:"8",stroke:t,strokeWidth:"1.5",strokeDasharray:"3 3"})}),_1=({options:t,value:n,onChange:o,icon:i,placeholder:l="請選擇",disabled:s=!1,style:d})=>{const[u,g]=W.useState(!1),[k,f]=W.useState(!1),m=W.useRef(null);W.useEffect(()=>{const I=S=>{m.current&&!m.current.contains(S.target)&&g(!1)};return document.addEventListener("mousedown",I),()=>document.removeEventListener("mousedown",I)},[]);const p=I=>{o(I),g(!1)},v={position:"relative",width:"100%",zIndex:u?9999:0,...d},j={display:"flex",width:"100%",padding:`${c.p3} ${c.p4}`,alignItems:"center",gap:10,borderRadius:D.lg,border:`1px solid ${w[300]}`,backgroundColor:k&&!s?w[50]:b[100],boxShadow:"0px 4px 12px 0px rgba(13, 10, 44, 0.06)",cursor:s?"not-allowed":"pointer",opacity:s?.5:1,transition:"background-color 0.2s ease",boxSizing:"border-box"},L={color:n?h[700]:h[400],fontFamily:'"Noto Sans", sans-serif',fontSize:14,fontWeight:C.medium,lineHeight:"20px",flex:1},y={transition:"transform 0.2s ease",transform:u?"rotate(180deg)":"rotate(0deg)"},H={position:"absolute",top:"100%",left:0,marginTop:8,width:"100%",maxHeight:240,overflowY:"auto",backgroundColor:b[100],border:`1px solid ${w[300]}`,borderRadius:D.lg,boxShadow:"0px 4px 12px 0px rgba(13, 10, 44, 0.06)",boxSizing:"border-box"},F=e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M13.6656 12.1848C12.8617 13.5747 11.5258 14.3723 10 14.3723C8.47422 14.3723 7.13828 13.5754 6.33359 12.1848C6.29256 12.1137 6.26592 12.0352 6.25522 11.9538C6.24451 11.8724 6.24994 11.7897 6.2712 11.7105C6.29245 11.6312 6.32912 11.5568 6.3791 11.4917C6.42908 11.4266 6.4914 11.3719 6.5625 11.3309C6.6336 11.2899 6.71208 11.2632 6.79347 11.2525C6.87487 11.2418 6.95757 11.2473 7.03686 11.2685C7.11615 11.2898 7.19048 11.3264 7.25561 11.3764C7.32073 11.4264 7.37537 11.4887 7.41641 11.5598C7.99922 12.5684 8.91641 13.1223 10 13.1223C11.0836 13.1223 12.0008 12.5676 12.5844 11.5598C12.6234 11.4851 12.6772 11.4191 12.7425 11.3657C12.8077 11.3124 12.8831 11.2728 12.964 11.2493C13.045 11.2258 13.1299 11.2189 13.2135 11.2291C13.2972 11.2392 13.378 11.2662 13.451 11.3084C13.5239 11.3506 13.5876 11.4071 13.6382 11.4745C13.6888 11.542 13.7252 11.6189 13.7452 11.7008C13.7653 11.7827 13.7686 11.8678 13.7549 11.951C13.7412 12.0341 13.7108 12.1137 13.6656 12.1848ZM18.125 9.99731C18.1254 10.8064 18.0053 11.6111 17.7688 12.3848C17.7386 12.4825 17.6849 12.5713 17.6125 12.6434L12.6461 17.6098C12.5744 17.6824 12.4858 17.7361 12.3883 17.7661C10.7536 18.2688 9.00198 18.2428 7.3829 17.692C5.76382 17.1411 4.35984 16.0934 3.37096 14.698C2.38207 13.3027 1.8587 11.6309 1.87539 9.92072C1.89207 8.21057 2.44797 6.5493 3.4639 5.17351C4.47982 3.79773 5.90397 2.7776 7.5335 2.25843C9.16302 1.73925 10.9148 1.74751 12.5394 2.28202C14.1639 2.81653 15.5784 3.85004 16.5813 5.23534C17.5842 6.62064 18.1244 8.28708 18.125 9.99731ZM16.875 9.99731C16.8732 8.55904 16.4198 7.15763 15.5788 5.99086C14.7378 4.82408 13.5517 3.95086 12.1877 3.4944C10.8238 3.03794 9.35099 3.0213 7.97711 3.44683C6.60322 3.87236 5.39764 4.71857 4.53049 5.86605C3.66335 7.01353 3.17842 8.40433 3.14414 9.8422C3.10987 11.2801 3.52797 12.6924 4.33945 13.8799C5.15094 15.0674 6.31482 15.9701 7.66688 16.4606C9.01893 16.9511 10.4909 17.0047 11.875 16.6137L16.6164 11.8723C16.7886 11.2622 16.8756 10.6312 16.875 9.99731ZM7.1875 9.37231C7.37292 9.37231 7.55418 9.31733 7.70835 9.21432C7.86252 9.1113 7.98268 8.96489 8.05364 8.79358C8.12459 8.62227 8.14316 8.43377 8.10699 8.25192C8.07081 8.07006 7.98152 7.90301 7.85041 7.7719C7.7193 7.64079 7.55225 7.5515 7.3704 7.51533C7.18854 7.47915 7.00004 7.49772 6.82873 7.56868C6.65743 7.63963 6.51101 7.7598 6.408 7.91397C6.30498 8.06814 6.25 8.24939 6.25 8.43481C6.25 8.68345 6.34877 8.92191 6.52459 9.09773C6.7004 9.27354 6.93886 9.37231 7.1875 9.37231ZM12.8125 7.49731C12.6271 7.49731 12.4458 7.5523 12.2917 7.65531C12.1375 7.75832 12.0173 7.90474 11.9464 8.07605C11.8754 8.24735 11.8568 8.43585 11.893 8.61771C11.9292 8.79957 12.0185 8.96661 12.1496 9.09773C12.2807 9.22884 12.4477 9.31813 12.6296 9.3543C12.8115 9.39047 13 9.37191 13.1713 9.30095C13.3426 9.22999 13.489 9.10983 13.592 8.95566C13.695 8.80149 13.75 8.62023 13.75 8.43481C13.75 8.18617 13.6512 7.94772 13.4754 7.7719C13.2996 7.59609 13.0611 7.49731 12.8125 7.49731Z",fill:"#4A5565"})});return e.jsxs("div",{ref:m,style:v,children:[e.jsxs("div",{style:j,onClick:()=>!s&&g(!u),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:[i||F,e.jsx("span",{style:L,children:n||l}),e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:y,children:e.jsx("path",{d:"M16.6925 7.94254L10.4425 14.1925C10.3845 14.2506 10.3156 14.2967 10.2397 14.3282C10.1638 14.3597 10.0825 14.3758 10.0003 14.3758C9.91821 14.3758 9.83688 14.3597 9.76101 14.3282C9.68514 14.2967 9.61621 14.2506 9.55816 14.1925L3.30816 7.94254C3.19088 7.82526 3.125 7.6662 3.125 7.50035C3.125 7.3345 3.19088 7.17544 3.30816 7.05816C3.42544 6.94088 3.5845 6.875 3.75035 6.875C3.9162 6.875 4.07526 6.94088 4.19253 7.05816L10.0003 12.8668L15.8082 7.05816C15.8662 7.00009 15.9352 6.95403 16.011 6.9226C16.0869 6.89117 16.1682 6.875 16.2503 6.875C16.3325 6.875 16.4138 6.89117 16.4897 6.9226C16.5655 6.95403 16.6345 7.00009 16.6925 7.05816C16.7506 7.11623 16.7967 7.18517 16.8281 7.26104C16.8595 7.33691 16.8757 7.41823 16.8757 7.50035C16.8757 7.58247 16.8595 7.66379 16.8281 7.73966C16.7967 7.81553 16.7506 7.88447 16.6925 7.94254Z",fill:"#4A5565"})})]}),u&&e.jsx("div",{style:H,children:t.map(I=>e.jsx(N1,{label:I,selected:n===I,onClick:()=>p(I)},I))})]})},N1=({label:t,selected:n=!1,onClick:o})=>{const[i,l]=W.useState(!1),s={display:"flex",alignItems:"center",padding:`${c.p3} ${c.p4}`,cursor:"pointer",backgroundColor:n?w[100]:i?w[50]:"transparent",transition:"background-color 0.2s ease"},d={fontFamily:'"Noto Sans", sans-serif',fontSize:14,fontWeight:C.regular,lineHeight:"20px",color:h[700]};return e.jsx("div",{style:s,onClick:o,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:e.jsx("span",{style:d,children:t})})},Z1=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M13.6656 12.1848C12.8617 13.5747 11.5258 14.3723 10 14.3723C8.47422 14.3723 7.13828 13.5754 6.33359 12.1848C6.29256 12.1137 6.26592 12.0352 6.25522 11.9538C6.24451 11.8724 6.24994 11.7897 6.2712 11.7105C6.29245 11.6312 6.32912 11.5568 6.3791 11.4917C6.42908 11.4266 6.4914 11.3719 6.5625 11.3309C6.6336 11.2899 6.71208 11.2632 6.79347 11.2525C6.87487 11.2418 6.95757 11.2473 7.03686 11.2685C7.11615 11.2898 7.19048 11.3264 7.25561 11.3764C7.32073 11.4264 7.37537 11.4887 7.41641 11.5598C7.99922 12.5684 8.91641 13.1223 10 13.1223C11.0836 13.1223 12.0008 12.5676 12.5844 11.5598C12.6234 11.4851 12.6772 11.4191 12.7425 11.3657C12.8077 11.3124 12.8831 11.2728 12.964 11.2493C13.045 11.2258 13.1299 11.2189 13.2135 11.2291C13.2972 11.2392 13.378 11.2662 13.451 11.3084C13.5239 11.3506 13.5876 11.4071 13.6382 11.4745C13.6888 11.542 13.7252 11.6189 13.7452 11.7008C13.7653 11.7827 13.7686 11.8678 13.7549 11.951C13.7412 12.0341 13.7108 12.1137 13.6656 12.1848ZM18.125 9.99731C18.1254 10.8064 18.0053 11.6111 17.7688 12.3848C17.7386 12.4825 17.6849 12.5713 17.6125 12.6434L12.6461 17.6098C12.5744 17.6824 12.4858 17.7361 12.3883 17.7661C10.7536 18.2688 9.00198 18.2428 7.3829 17.692C5.76382 17.1411 4.35984 16.0934 3.37096 14.698C2.38207 13.3027 1.8587 11.6309 1.87539 9.92072C1.89207 8.21057 2.44797 6.5493 3.4639 5.17351C4.47982 3.79773 5.90397 2.7776 7.5335 2.25843C9.16302 1.73925 10.9148 1.74751 12.5394 2.28202C14.1639 2.81653 15.5784 3.85004 16.5813 5.23534C17.5842 6.62064 18.1244 8.28708 18.125 9.99731ZM16.875 9.99731C16.8732 8.55904 16.4198 7.15763 15.5788 5.99086C14.7378 4.82408 13.5517 3.95086 12.1877 3.4944C10.8238 3.03794 9.35099 3.0213 7.97711 3.44683C6.60322 3.87236 5.39764 4.71857 4.53049 5.86605C3.66335 7.01353 3.17842 8.40433 3.14414 9.8422C3.10987 11.2801 3.52797 12.6924 4.33945 13.8799C5.15094 15.0674 6.31482 15.9701 7.66688 16.4606C9.01893 16.9511 10.4909 17.0047 11.875 16.6137L16.6164 11.8723C16.7886 11.2622 16.8756 10.6312 16.875 9.99731ZM7.1875 9.37231C7.37292 9.37231 7.55418 9.31733 7.70835 9.21432C7.86252 9.1113 7.98268 8.96489 8.05364 8.79358C8.12459 8.62227 8.14316 8.43377 8.10699 8.25192C8.07081 8.07006 7.98152 7.90301 7.85041 7.7719C7.7193 7.64079 7.55225 7.5515 7.3704 7.51533C7.18854 7.47915 7.00004 7.49772 6.82873 7.56868C6.65743 7.63963 6.51101 7.7598 6.408 7.91397C6.30498 8.06814 6.25 8.24939 6.25 8.43481C6.25 8.68345 6.34877 8.92191 6.52459 9.09773C6.7004 9.27354 6.93886 9.37231 7.1875 9.37231ZM12.8125 7.49731C12.6271 7.49731 12.4458 7.5523 12.2917 7.65531C12.1375 7.75832 12.0173 7.90474 11.9464 8.07605C11.8754 8.24735 11.8568 8.43585 11.893 8.61771C11.9292 8.79957 12.0185 8.96661 12.1496 9.09773C12.2807 9.22884 12.4477 9.31813 12.6296 9.3543C12.8115 9.39047 13 9.37191 13.1713 9.30095C13.3426 9.22999 13.489 9.10983 13.592 8.95566C13.695 8.80149 13.75 8.62023 13.75 8.43481C13.75 8.18617 13.6512 7.94772 13.4754 7.7719C13.2996 7.59609 13.0611 7.49731 12.8125 7.49731Z",fill:"#4A5565"})}),O1=({open:t,onClose:n,title:o,showCloseButton:i=!0,children:l,primaryAction:s,secondaryAction:d,closeOnOverlayClick:u=!0,width:g=300,style:k})=>{if(!t)return null;const f={position:"fixed",inset:0,backgroundColor:"rgba(42, 45, 51, 0.5)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",padding:20},m={background:"var(--General-Background-bg-default, #FFF)",borderRadius:"var(--Radius-radius-lg, 16px)",boxShadow:"0 5px 12px 0 rgba(0, 0, 0, 0.10)",padding:c.p5,width:g,maxWidth:"100%",display:"flex",flexDirection:"column",gap:c.p6,animation:"fadeIn 0.2s ease-out",...k},p={display:"flex",alignItems:"center",justifyContent:"space-between"},v={fontFamily:x.main,fontWeight:C.bold,fontSize:16,lineHeight:1.2,color:h[900]},j={width:20,height:20,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",background:"none",border:"none",padding:0,color:h[700]},L={fontFamily:x.main,fontWeight:C.medium,fontSize:14,lineHeight:1.2,color:h[900]},y={display:"flex",gap:10},H={flex:1,padding:`${c.p3} ${c.p7}`,borderRadius:D.sm,border:"none",fontFamily:x.main,fontWeight:C.medium,fontSize:16,lineHeight:1.2,cursor:"pointer",textAlign:"center"},F=I=>{I.target===I.currentTarget&&u&&(n==null||n())};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
|
|
32
|
+
@keyframes fadeIn {
|
|
33
|
+
from {
|
|
34
|
+
opacity: 0;
|
|
35
|
+
transform: scale(0.95);
|
|
36
|
+
}
|
|
37
|
+
to {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
transform: scale(1);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`}),e.jsx("div",{style:f,onClick:F,children:e.jsxs("div",{style:m,children:[(o||i)&&e.jsxs("div",{style:p,children:[o&&e.jsx("span",{style:v,children:o}),i&&e.jsx("button",{style:j,onClick:n,children:e.jsx(X1,{})})]}),l&&e.jsx("div",{style:L,children:l}),(s||d)&&e.jsxs("div",{style:y,children:[d&&e.jsx("button",{style:{...H,backgroundColor:"#eeeff2",color:h[700]},onClick:d.onClick,children:d.label}),s&&e.jsx("button",{style:{...H,backgroundColor:s.variant==="danger"?"#ef4444":"#2e9dff",color:b[100]},onClick:s.onClick,children:s.label})]})]})})]})},P1=({open:t,onClose:n,icon:o,title:i,titleColor:l="success",description:s,autoCloseDelay:d=2,showCountdown:u=!0,style:g})=>{const[k,f]=W.useState(d);if(W.useEffect(()=>{if(!t){f(d);return}const F=setInterval(()=>{f(I=>I<=1?(clearInterval(F),n==null||n(),0):I-1)},1e3);return()=>clearInterval(F)},[t,d,n]),!t)return null;const m={success:"#0a9d41",error:"#ef4444",warning:"#d97706",default:h[900]},p={position:"fixed",inset:0,backgroundColor:"rgba(42, 45, 51, 0.5)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",padding:20},v={background:"var(--General-Background-bg-default, #FFF)",borderRadius:"var(--Radius-radius-lg, 16px)",boxShadow:"0 5px 12px 0 rgba(0, 0, 0, 0.10)",padding:c.p5,width:300,maxWidth:"100%",display:"flex",flexDirection:"column",alignItems:"center",gap:c.p6,textAlign:"center",animation:"fadeIn 0.2s ease-out",...g},j={width:64,height:64,display:"flex",alignItems:"center",justifyContent:"center"},L={fontFamily:x.main,fontWeight:C.bold,fontSize:16,lineHeight:1.2,color:m[l]},y={fontFamily:x.main,fontWeight:C.regular,fontSize:14,lineHeight:1.5,color:h[700]},H={fontFamily:x.main,fontWeight:C.regular,fontSize:10,lineHeight:1.2,color:"#969ba5"};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
|
|
43
|
+
@keyframes fadeIn {
|
|
44
|
+
from {
|
|
45
|
+
opacity: 0;
|
|
46
|
+
transform: scale(0.95);
|
|
47
|
+
}
|
|
48
|
+
to {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
transform: scale(1);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
`}),e.jsx("div",{style:p,children:e.jsxs("div",{style:v,children:[o&&e.jsx("div",{style:j,children:o}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:c.p3},children:[e.jsx("p",{style:L,children:i}),s&&e.jsx("p",{style:y,children:s}),u&&e.jsxs("p",{style:H,children:[k," 秒後自動關閉"]})]})]})})]})},Y1=({size:t=64})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 64 64",fill:"none",children:[e.jsx("circle",{cx:"32",cy:"32",r:"30",fill:"#0a9d41"}),e.jsx("circle",{cx:"32",cy:"32",r:"24",fill:"#0a9d41"}),e.jsx("path",{d:"M20 32L28 40L44 24",stroke:"#f7f8f9",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})]}),U1=({size:t=64})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 64 64",fill:"none",children:[e.jsx("circle",{cx:"32",cy:"32",r:"30",fill:"#ef4444"}),e.jsx("path",{d:"M24 24L40 40M40 24L24 40",stroke:"#f7f8f9",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})]}),G1=({size:t=64})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 64 64",fill:"none",children:[e.jsx("circle",{cx:"32",cy:"32",r:"30",fill:"#d97706"}),e.jsx("path",{d:"M32 20V36M32 44V44.01",stroke:"#f7f8f9",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})]}),X1=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M15 5L5 15M5 5L15 15",stroke:"#464b56",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),q1=({searchPlaceholder:t="搜尋對話",searchValue:n="",onSearchChange:o,primaryActions:i=[],conversations:l=[],onItemClick:s,onConversationOptions:d,style:u})=>{const g={backgroundColor:b[100],display:"flex",flexDirection:"column",width:264,padding:`60px ${c.p4}`,height:"100%",...u},k={display:"flex",flexDirection:"column",gap:c.p6};return e.jsx("div",{style:g,children:e.jsxs("div",{style:k,children:[e.jsx(J1,{placeholder:t,value:n,onChange:o}),i.length>0&&e.jsx("div",{style:{display:"flex",flexDirection:"column"},children:i.map(f=>e.jsx($e,{...f,onClick:()=>s==null?void 0:s(f.id)},f.id))}),i.length>0&&l.length>0&&e.jsx(Q1,{}),l.length>0&&e.jsx("div",{style:{display:"flex",flexDirection:"column"},children:l.map(f=>e.jsx($e,{...f,rightIcon:e.jsx("button",{onClick:m=>{m.stopPropagation(),d==null||d(f.id)},style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(et,{})}),onClick:()=>s==null?void 0:s(f.id)},f.id))})]})})},J1=({placeholder:t,value:n,onChange:o})=>{const i={display:"flex",alignItems:"center",gap:8,padding:`${c.p3} ${c.p5}`,backgroundColor:b[100],border:`1px solid ${w[300]}`,borderRadius:9999},l={flex:1,border:"none",outline:"none",fontFamily:x.main,fontSize:14,lineHeight:1.5,color:h[900],backgroundColor:"transparent"};return e.jsxs("div",{style:i,children:[e.jsx(K1,{}),e.jsx("input",{type:"text",placeholder:t,value:n,onChange:s=>o==null?void 0:o(s.target.value),style:l})]})},$e=({label:t,icon:n,rightIcon:o,selected:i=!1,disabled:l=!1,type:s="default",onClick:d})=>{const[u,g]=W.useState(!1),k={display:"flex",alignItems:"center",justifyContent:"space-between",padding:c.p3,borderRadius:D.xs,cursor:l?"not-allowed":"pointer",opacity:l?.5:1,backgroundColor:i?M[50]:u&&!l?w[100]:"transparent",transition:"background-color 0.15s ease"},f={display:"flex",alignItems:"center",gap:c.p3},m={width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center",color:h[700]},p={fontFamily:x.main,fontWeight:C.medium,fontSize:14,lineHeight:1.2,color:i?M[500]:h[700]};return s==="rename"?e.jsxs("div",{style:k,onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),children:[e.jsx("div",{style:f,children:e.jsx("span",{style:p,children:t})}),e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:c.p3},children:[e.jsx("button",{style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex"},children:e.jsx(tt,{})}),e.jsx("button",{style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex"},children:e.jsx(nt,{})})]})]}):e.jsxs("div",{style:k,onClick:d,onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),children:[e.jsxs("div",{style:f,children:[n&&e.jsx("span",{style:m,children:n}),e.jsx("span",{style:p,children:t})]}),o]})},Q1=()=>e.jsx("div",{style:{height:1,backgroundColor:w[300],width:"100%"}}),K1=()=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("circle",{cx:"11",cy:"11",r:"6",stroke:"#969ba5",strokeWidth:"2"}),e.jsx("path",{d:"M15.5 15.5L20 20",stroke:"#969ba5",strokeWidth:"2",strokeLinecap:"round"})]}),et=()=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("circle",{cx:"12",cy:"6",r:"1.5",fill:"#464b56"}),e.jsx("circle",{cx:"12",cy:"12",r:"1.5",fill:"#464b56"}),e.jsx("circle",{cx:"12",cy:"18",r:"1.5",fill:"#464b56"})]}),tt=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M4 10L8 14L16 6",stroke:"#464b56",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),nt=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M15 5L5 15M5 5L15 15",stroke:"#464b56",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),ot=({color:t="#464b56"})=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M12 4V20M4 12H20",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),it=({color:t="#464b56"})=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M4 12V20H20V12M12 4V14M12 4L8 8M12 4L16 8",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),rt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M19 4H5C3.89543 4 3 4.89543 3 6V20C3 21.1046 3.89543 22 5 22H19C20.1046 22 21 21.1046 21 20V6C21 4.89543 20.1046 4 19 4Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16 2V6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M8 2V6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3 10H21",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),st=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M21 15V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V15",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M7 10L12 15L17 10",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 15V3",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),lt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M12 2L2 7L12 12L22 7L12 2Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2 17L12 22L22 17",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2 12L12 17L22 12",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),dt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M20 21V19C20 17.9391 19.5786 16.9217 18.8284 16.1716C18.0783 15.4214 17.0609 15 16 15H8C6.93913 15 5.92172 15.4214 5.17157 16.1716C4.42143 16.9217 4 17.9391 4 19V21",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),at=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M6 9H4.5C3.83696 9 3.20107 8.73661 2.73223 8.26777C2.26339 7.79893 2 7.16304 2 6.5C2 5.83696 2.26339 5.20107 2.73223 4.73223C3.20107 4.26339 3.83696 4 4.5 4H6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18 9H19.5C20.163 9 20.7989 8.73661 21.2678 8.26777C21.7366 7.79893 22 7.16304 22 6.5C22 5.83696 21.7366 5.20107 21.2678 4.73223C20.7989 4.26339 20.163 4 19.5 4H18",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M4 22H20",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 14.66V17C10 17.55 9.53 18.02 9.01 18.16L6 19",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M14 14.66V17C14 17.55 14.47 18.02 14.99 18.16L18 19",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18 2H6V9C6 10.5913 6.63214 12.1174 7.75736 13.2426C8.88258 14.3679 10.4087 15 12 15C13.5913 15 15.1174 14.3679 16.2426 13.2426C17.3679 12.1174 18 10.5913 18 9V2Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ct=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M14.5 10C14.5 11.38 13.38 12.5 12 12.5C10.62 12.5 9.5 11.38 9.5 10C9.5 8.62 10.62 7.5 12 7.5C13.38 7.5 14.5 8.62 14.5 10Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 6V2",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 22V18",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6 12H2",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M22 12H18",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ht=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M14 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V8L14 2Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M14 2V8H20",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16 13H8",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16 17H8",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 9H9H8",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ut=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:n,strokeWidth:"2"}),e.jsx("path",{d:"M12 6V12L16 14",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ft=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M12 2.69L17.66 8.35C18.7773 9.46523 19.5002 10.9147 19.7191 12.4782C19.9379 14.0416 19.6408 15.6362 18.8703 17.0178C18.0999 18.3994 16.8955 19.4974 15.4406 20.1385C13.9857 20.7796 12.3606 20.9288 10.8118 20.5635C9.26303 20.1983 7.87516 19.3384 6.86299 18.1208C5.85083 16.9032 5.26924 15.395 5.20304 13.8203C5.13685 12.2456 5.58957 10.6938 6.49506 9.39588C7.40055 8.09792 8.71 7.12404 10.22 6.63L12 2.69Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),gt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M18 20V10",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 20V4",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6 20V14",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),pt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M16 4H18C18.5304 4 19.0391 4.21071 19.4142 4.58579C19.7893 4.96086 20 5.46957 20 6V20C20 20.5304 19.7893 21.0391 19.4142 21.4142C19.0391 21.7893 18.5304 22 18 22H6C5.46957 22 4.96086 21.7893 4.58579 21.4142C4.21071 21.0391 4 20.5304 4 20V6C4 5.46957 4.21071 4.96086 4.58579 4.58579C4.96086 4.21071 5.46957 4 6 4H8",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M15 2H9C8.44772 2 8 2.44772 8 3V5C8 5.55228 8.44772 6 9 6H15C15.5523 6 16 5.55228 16 5V3C16 2.44772 15.5523 2 15 2Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M9 14L11 16L15 12",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),xt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:n,strokeWidth:"2"}),e.jsx("circle",{cx:"12",cy:"12",r:"3",stroke:n,strokeWidth:"2"})]}),Ct=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"11",cy:"11",r:"8",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M21 21L16.65 16.65",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),yt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M6 9L12 15L18 9",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),kt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M18 15L12 9L6 15",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),jt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M15 18L9 12L15 6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),mt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M9 18L15 12L9 6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),bt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M12 19V5",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 12L12 5L19 12",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),vt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M12 5V19",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M19 12L12 19L5 12",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Lt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M19 12H5",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 19L5 12L12 5",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),wt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M5 12H19",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 5L19 12L12 19",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),St=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M12 5V19",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 12H19",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Mt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M5 12H19",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),It=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M18 6L6 18",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6 6L18 18",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Wt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M20 6L9 17L4 12",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Ht=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M3 12H21",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3 6H21",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3 18H21",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Bt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"1",fill:n}),e.jsx("circle",{cx:"12",cy:"5",r:"1",fill:n}),e.jsx("circle",{cx:"12",cy:"19",r:"1",fill:n})]}),Ft=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"1",fill:n}),e.jsx("circle",{cx:"5",cy:"12",r:"1",fill:n}),e.jsx("circle",{cx:"19",cy:"12",r:"1",fill:n})]}),Vt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M20 21V19C20 17.9391 19.5786 16.9217 18.8284 16.1716C18.0783 15.4214 17.0609 15 16 15H8C6.93913 15 5.92172 15.4214 5.17157 16.1716C4.42143 16.9217 4 17.9391 4 19V21",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"12",cy:"7",r:"4",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Tt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"18",cy:"5",r:"3",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"6",cy:"12",r:"3",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"18",cy:"19",r:"3",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M8.59 13.51L15.42 17.49",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M15.41 6.51L8.59 10.49",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Rt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M11 4H4C3.46957 4 2.96086 4.21071 2.58579 4.58579C2.21071 4.96086 2 5.46957 2 6V20C2 20.5304 2.21071 21.0391 2.58579 21.4142C2.96086 21.7893 3.46957 22 4 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V13",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18.5 2.50001C18.8978 2.10219 19.4374 1.87869 20 1.87869C20.5626 1.87869 21.1022 2.10219 21.5 2.50001C21.8978 2.89784 22.1213 3.4374 22.1213 4.00001C22.1213 4.56262 21.8978 5.10219 21.5 5.50001L12 15L8 16L9 12L18.5 2.50001Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Et=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M3 6H5H21",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Dt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),$t=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"3",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M19.4 15C19.2669 15.3016 19.2272 15.6362 19.286 15.9606C19.3448 16.285 19.4995 16.5843 19.73 16.82L19.79 16.88C19.976 17.0657 20.1235 17.2863 20.2241 17.5291C20.3248 17.7719 20.3766 18.0322 20.3766 18.295C20.3766 18.5578 20.3248 18.8181 20.2241 19.0609C20.1235 19.3037 19.976 19.5243 19.79 19.71C19.6043 19.896 19.3837 20.0435 19.1409 20.1441C18.8981 20.2448 18.6378 20.2966 18.375 20.2966C18.1122 20.2966 17.8519 20.2448 17.6091 20.1441C17.3663 20.0435 17.1457 19.896 16.96 19.71L16.9 19.65C16.6643 19.4195 16.365 19.2648 16.0406 19.206C15.7162 19.1472 15.3816 19.1869 15.08 19.32C14.7842 19.4468 14.532 19.6572 14.3543 19.9255C14.1766 20.1938 14.0813 20.5082 14.08 20.83V21C14.08 21.5304 13.8693 22.0391 13.4942 22.4142C13.1191 22.7893 12.6104 23 12.08 23C11.5496 23 11.0409 22.7893 10.6658 22.4142C10.2907 22.0391 10.08 21.5304 10.08 21V20.91C10.0723 20.579 9.96512 20.258 9.77251 19.9887C9.5799 19.7194 9.31074 19.5143 9 19.4C8.69838 19.2669 8.36381 19.2272 8.03941 19.286C7.71502 19.3448 7.41568 19.4995 7.18 19.73L7.12 19.79C6.93425 19.976 6.71368 20.1235 6.47088 20.2241C6.22808 20.3248 5.96783 20.3766 5.705 20.3766C5.44217 20.3766 5.18192 20.3248 4.93912 20.2241C4.69632 20.1235 4.47575 19.976 4.29 19.79C4.10405 19.6043 3.95653 19.3837 3.85588 19.1409C3.75523 18.8981 3.70343 18.6378 3.70343 18.375C3.70343 18.1122 3.75523 17.8519 3.85588 17.6091C3.95653 17.3663 4.10405 17.1457 4.29 16.96L4.35 16.9C4.58054 16.6643 4.73519 16.365 4.794 16.0406C4.85282 15.7162 4.81312 15.3816 4.68 15.08C4.55324 14.7842 4.34276 14.532 4.07447 14.3543C3.80618 14.1766 3.49179 14.0813 3.17 14.08H3C2.46957 14.08 1.96086 13.8693 1.58579 13.4942C1.21071 13.1191 1 12.6104 1 12.08C1 11.5496 1.21071 11.0409 1.58579 10.6658C1.96086 10.2907 2.46957 10.08 3 10.08H3.09C3.42099 10.0723 3.742 9.96512 4.0113 9.77251C4.28059 9.5799 4.48572 9.31074 4.6 9C4.73312 8.69838 4.77282 8.36381 4.714 8.03941C4.65519 7.71502 4.50054 7.41568 4.27 7.18L4.21 7.12C4.02405 6.93425 3.87653 6.71368 3.77588 6.47088C3.67523 6.22808 3.62343 5.96783 3.62343 5.705C3.62343 5.44217 3.67523 5.18192 3.77588 4.93912C3.87653 4.69632 4.02405 4.47575 4.21 4.29C4.39575 4.10405 4.61632 3.95653 4.85912 3.85588C5.10192 3.75523 5.36217 3.70343 5.625 3.70343C5.88783 3.70343 6.14808 3.75523 6.39088 3.85588C6.63368 3.95653 6.85425 4.10405 7.04 4.29L7.1 4.35C7.33568 4.58054 7.63502 4.73519 7.95941 4.794C8.28381 4.85282 8.61838 4.81312 8.92 4.68H9C9.29577 4.55324 9.54802 4.34276 9.72569 4.07447C9.90337 3.80618 9.99872 3.49179 10 3.17V3C10 2.46957 10.2107 1.96086 10.5858 1.58579C10.9609 1.21071 11.4696 1 12 1C12.5304 1 13.0391 1.21071 13.4142 1.58579C13.7893 1.96086 14 2.46957 14 3V3.09C14.0013 3.41179 14.0966 3.72618 14.2743 3.99447C14.452 4.26276 14.7042 4.47324 15 4.6C15.3016 4.73312 15.6362 4.77282 15.9606 4.714C16.285 4.65519 16.5843 4.50054 16.82 4.27L16.88 4.21C17.0657 4.02405 17.2863 3.87653 17.5291 3.77588C17.7719 3.67523 18.0322 3.62343 18.295 3.62343C18.5578 3.62343 18.8181 3.67523 19.0609 3.77588C19.3037 3.87653 19.5243 4.02405 19.71 4.21C19.896 4.39575 20.0435 4.61632 20.1441 4.85912C20.2448 5.10192 20.2966 5.36217 20.2966 5.625C20.2966 5.88783 20.2448 6.14808 20.1441 6.39088C20.0435 6.63368 19.896 6.85425 19.71 7.04L19.65 7.1C19.4195 7.33568 19.2648 7.63502 19.206 7.95941C19.1472 8.28381 19.1869 8.61838 19.32 8.92V9C19.4468 9.29577 19.6572 9.54802 19.9255 9.72569C20.1938 9.90337 20.5082 9.99872 20.83 10H21C21.5304 10 22.0391 10.2107 22.4142 10.5858C22.7893 10.9609 23 11.4696 23 12C23 12.5304 22.7893 13.0391 22.4142 13.4142C22.0391 13.7893 21.5304 14 21 14H20.91C20.5882 14.0013 20.2738 14.0966 20.0055 14.2743C19.7372 14.452 19.5268 14.7042 19.4 15Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),zt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"5",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 1V3",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 21V23",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M4.22 4.22L5.64 5.64",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18.36 18.36L19.78 19.78",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M1 12H3",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M21 12H23",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M4.22 19.78L5.64 18.36",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18.36 5.64L19.78 4.22",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),At=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M21 12.79C20.8427 14.4922 20.2039 16.1144 19.1582 17.4668C18.1126 18.8192 16.7035 19.8458 15.0957 20.4265C13.4879 21.0073 11.748 21.1181 10.0795 20.7461C8.41104 20.3741 6.88302 19.5345 5.67425 18.3258C4.46548 17.117 3.62596 15.589 3.25393 13.9205C2.8819 12.252 2.99274 10.5121 3.57348 8.9043C4.15423 7.29651 5.18085 5.88737 6.53324 4.84175C7.88562 3.79614 9.50782 3.15731 11.21 3C10.2134 4.34827 9.73387 6.00945 9.85853 7.68141C9.98318 9.35338 10.7038 10.9251 11.8894 12.1106C13.0749 13.2962 14.6466 14.0168 16.3186 14.1415C17.9906 14.2661 19.6517 13.7866 21 12.79Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),_t=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M12 2V6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 18V22",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M4.93 4.93L7.76 7.76",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.24 16.24L19.07 19.07",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2 12H6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18 12H22",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M4.93 19.07L7.76 16.24",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.24 7.76L19.07 4.93",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Nt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M12 2C12 2 4 9 4 14C4 16.5 6 19 9 19C10.5 19 11.5 18.5 12 18C12.5 18.5 13.5 19 15 19C18 19 20 16.5 20 14C20 9 12 2 12 2Z",fill:n}),e.jsx("path",{d:"M12 17V22",stroke:n,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M9 22H15",stroke:n,strokeWidth:"2",strokeLinecap:"round"})]}),Zt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M20.84 4.61C20.3292 4.099 19.7228 3.69365 19.0554 3.41708C18.3879 3.14052 17.6725 2.99817 16.95 2.99817C16.2275 2.99817 15.5121 3.14052 14.8446 3.41708C14.1772 3.69365 13.5708 4.099 13.06 4.61L12 5.67L10.94 4.61C9.9083 3.57831 8.50903 2.99871 7.05 2.99871C5.59096 2.99871 4.19169 3.57831 3.16 4.61C2.1283 5.64169 1.54871 7.04097 1.54871 8.5C1.54871 9.95903 2.1283 11.3583 3.16 12.39L4.22 13.45L12 21.23L19.78 13.45L20.84 12.39C21.351 11.8792 21.7563 11.2728 22.0329 10.6054C22.3095 9.93789 22.4518 9.22249 22.4518 8.5C22.4518 7.77751 22.3095 7.0621 22.0329 6.39464C21.7563 5.72718 21.351 5.12075 20.84 4.61Z",fill:n})}),Ot=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M12 2L22 12L12 22L2 12L12 2Z",fill:n})}),Pt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"8",r:"4",fill:n}),e.jsx("circle",{cx:"7",cy:"14",r:"4",fill:n}),e.jsx("circle",{cx:"17",cy:"14",r:"4",fill:n}),e.jsx("path",{d:"M12 14V22",stroke:n,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M9 22H15",stroke:n,strokeWidth:"2",strokeLinecap:"round"})]}),Yt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:n,strokeWidth:"2"}),e.jsx("circle",{cx:"12",cy:"12",r:"6",stroke:n,strokeWidth:"2"}),e.jsx("path",{d:"M12 2V6",stroke:n,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M12 18V22",stroke:n,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M2 12H6",stroke:n,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 12H22",stroke:n,strokeWidth:"2",strokeLinecap:"round"})]}),Ut=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M1 12C1 12 5 4 12 4C19 4 23 12 23 12C23 12 19 20 12 20C5 20 1 12 1 12Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"12",cy:"12",r:"3",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Gt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M17.94 17.94C16.2306 19.243 14.1491 19.9649 12 20C5 20 1 12 1 12C2.24389 9.68192 3.96914 7.65663 6.06 6.06M9.9 4.24C10.5883 4.0789 11.2931 3.99836 12 4C19 4 23 12 23 12C22.393 13.1356 21.6691 14.2048 20.84 15.19M14.12 14.12C13.8454 14.4148 13.5141 14.6512 13.1462 14.8151C12.7782 14.9791 12.3809 15.0673 11.9781 15.0744C11.5753 15.0815 11.1752 15.0074 10.8016 14.8565C10.4281 14.7056 10.0887 14.4811 9.80385 14.1962C9.51897 13.9113 9.29439 13.5719 9.14351 13.1984C8.99262 12.8248 8.91853 12.4247 8.92563 12.0219C8.93274 11.6191 9.02091 11.2219 9.18488 10.8539C9.34884 10.4859 9.58525 10.1547 9.88 9.88",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M1 1L23 23",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Xt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M12 2L2 7L12 12L22 7L12 2Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2 17L12 22L22 17",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2 12L12 17L22 12",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),qt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12",stroke:n,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M12 22C12 17.58 12 13 12 12",stroke:n,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M6 12C6 8.69 8.69 6 12 6C15.31 6 18 8.69 18 12C18 14 18 16 18 18",stroke:n,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M9 12C9 10.34 10.34 9 12 9C13.66 9 15 10.34 15 12C15 15 15 18 15 21",stroke:n,strokeWidth:"2",strokeLinecap:"round"})]}),Jt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:n}),e.jsx("path",{d:"M21 15L16 10L5 21",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Qt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M21 15V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V15",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17 8L12 3L7 8",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 3V15",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Kt=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"9",cy:"21",r:"1",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"20",cy:"21",r:"1",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M1 1H5L7.68 14.39C7.77144 14.8504 8.02191 15.264 8.38755 15.5583C8.75318 15.8526 9.2107 16.009 9.68 16H19.4C19.8693 16.009 20.3268 15.8526 20.6925 15.5583C21.0581 15.264 21.3086 14.8504 21.4 14.39L23 6H6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),en=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M20.317 4.37C18.7873 3.66 17.147 3.15 15.4319 2.87C15.4007 2.865 15.3695 2.88 15.3534 2.91C15.1424 3.29 14.9087 3.79 14.7451 4.18C12.9004 3.92 11.0652 3.92 9.25832 4.18C9.09465 3.78 8.85248 3.29 8.64057 2.91C8.62449 2.88 8.59328 2.865 8.56207 2.87C6.84791 3.15 5.20756 3.66 3.67693 4.37C3.66368 4.375 3.65233 4.385 3.64479 4.397C0.533392 9.05 -0.31895 13.58 0.0991801 18.06C0.101072 18.085 0.115568 18.107 0.134851 18.12C2.18321 19.62 4.17171 20.53 6.12328 21.14C6.15449 21.15 6.18761 21.14 6.20748 21.115C6.66913 20.49 7.08064 19.83 7.43348 19.14C7.4543 19.1 7.43442 19.05 7.39186 19.035C6.73913 18.79 6.1176 18.495 5.51973 18.16C5.47244 18.135 5.46865 18.07 5.51216 18.04C5.63797 17.95 5.76382 17.855 5.88396 17.76C5.90575 17.74 5.93506 17.737 5.95967 17.747C9.8945 19.54 14.1424 19.54 18.0319 17.747C18.0565 17.735 18.0858 17.74 18.1086 17.758C18.2287 17.855 18.3546 17.95 18.4814 18.04C18.5249 18.07 18.522 18.135 18.4747 18.16C17.8769 18.502 17.2553 18.79 16.6017 19.033C16.5591 19.05 16.5402 19.1 16.561 19.14C16.9213 19.828 17.3328 20.488 17.7861 21.113C17.805 21.14 17.839 21.15 17.8702 21.14C19.8312 20.53 21.8197 19.62 23.8681 18.12C23.8883 18.107 23.9018 18.087 23.9037 18.062C24.4004 12.87 23.0654 8.38 20.3482 4.399C20.3416 4.385 20.3303 4.375 20.317 4.37ZM8.02002 15.33C6.8375 15.33 5.86313 14.26 5.86313 12.95C5.86313 11.64 6.8186 10.57 8.02002 10.57C9.23087 10.57 10.1958 11.65 10.1769 12.95C10.1769 14.26 9.22135 15.33 8.02002 15.33ZM15.9947 15.33C14.8123 15.33 13.8379 14.26 13.8379 12.95C13.8379 11.64 14.7933 10.57 15.9947 10.57C17.2056 10.57 18.1705 11.65 18.1516 12.95C18.1516 14.26 17.2056 15.33 15.9947 15.33Z",fill:n})}),tn=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M22.56 12.25C22.56 11.47 22.49 10.72 22.36 10H12V14.26H17.92C17.66 15.63 16.88 16.79 15.71 17.57V20.34H19.28C21.36 18.42 22.56 15.6 22.56 12.25Z",fill:n}),e.jsx("path",{d:"M12 23C14.97 23 17.46 22.02 19.28 20.34L15.71 17.57C14.73 18.23 13.48 18.63 12 18.63C9.13999 18.63 6.70999 16.7 5.83999 14.1H2.17999V16.94C3.98999 20.53 7.69999 23 12 23Z",fill:n}),e.jsx("path",{d:"M5.84 14.09C5.62 13.43 5.49 12.73 5.49 12C5.49 11.27 5.62 10.57 5.84 9.91V7.07H2.18C1.43 8.55 1 10.22 1 12C1 13.78 1.43 15.45 2.18 16.93L5.03 14.71L5.84 14.09Z",fill:n}),e.jsx("path",{d:"M12 5.38C13.62 5.38 15.06 5.94 16.21 7.02L19.36 3.87C17.45 2.09 14.97 1 12 1C7.69999 1 3.98999 3.47 2.17999 7.07L5.83999 9.91C6.70999 7.31 9.13999 5.38 12 5.38Z",fill:n})]}),nn=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"12",cy:"12",r:"4",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"18",cy:"6",r:"1",fill:n})]}),on=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:n,strokeWidth:"2"}),e.jsx("text",{x:"12",y:"16",textAnchor:"middle",fontSize:"10",fill:n,fontWeight:"bold",children:"NT"})]}),rn=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:n,strokeWidth:"2"}),e.jsx("path",{d:"M12 6V18",stroke:n,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M16 9C16 7.34 14.21 6 12 6C9.79 6 8 7.34 8 9C8 10.66 9.79 12 12 12C14.21 12 16 13.34 16 15C16 16.66 14.21 18 12 18C9.79 18 8 16.66 8 15",stroke:n,strokeWidth:"2",strokeLinecap:"round"})]}),sn=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:n,strokeWidth:"2"}),e.jsx("path",{d:"M7 8L12 13L17 8",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M7 16L12 11L17 16",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ln=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:e.jsx("path",{d:"M12 22C12 22 20 18 20 12V5L12 2L4 5V12C4 18 12 22 12 22Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),dn=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M3 9L12 2L21 9V20C21 20.5304 20.7893 21.0391 20.4142 21.4142C20.0391 21.7893 19.5304 22 19 22H5C4.46957 22 3.96086 21.7893 3.58579 21.4142C3.21071 21.0391 3 20.5304 3 20V9Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M9 22V12H15V22",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),an=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16 2V6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M8 2V6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3 10H21",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),cn=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("path",{d:"M14 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V8L14 2Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M14 2V8H20",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16 13H8",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16 17H8",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),hn=({size:t=24,color:n="currentColor",style:o,className:i})=>e.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o,className:i,children:[e.jsx("circle",{cx:"12",cy:"12",r:"1",stroke:n,strokeWidth:"2"}),e.jsx("circle",{cx:"19",cy:"12",r:"1",stroke:n,strokeWidth:"2"}),e.jsx("circle",{cx:"5",cy:"12",r:"1",stroke:n,strokeWidth:"2"})]}),un=({selectedStartDate:t,selectedEndDate:n,startTime:o="10:00",endTime:i="18:00",onDateRangeChange:l,onSingleDateChange:s,onTimeChange:d,onApply:u,isOpen:g=!0,onClose:k,mode:f="normal",style:m})=>{const[p,v]=W.useState(new Date),[j,L]=W.useState(t||null),[y,H]=W.useState(n||null),[F,I]=W.useState(o),[S,R]=W.useState(i),A=W.useRef(null);W.useEffect(()=>{L(t||null),H(n||null),I(o),R(i)},[t,n,o,i]),W.useEffect(()=>{const T=E=>{A.current&&!A.current.contains(E.target)&&(k==null||k())};if(g)return document.addEventListener("mousedown",T),()=>document.removeEventListener("mousedown",T)},[g,k]);const O=T=>T.toLocaleDateString("en-US",{month:"long",year:"numeric"}),Q=T=>{const E=T.getFullYear(),J=T.getMonth(),le=new Date(E,J,1),we=new Date(E,J+1,0).getDate();let je=le.getDay()-1;return je<0&&(je=6),{daysInMonth:we,startDayOfWeek:je}},X=T=>{v(E=>{const J=new Date(E);return J.setMonth(E.getMonth()+T),J})},K=T=>{const E=new Date(p.getFullYear(),p.getMonth(),T);if(f==="single"){L(E),H(null),s==null||s(E),u==null||u();return}if(!j||j&&y)L(E),H(null);else if(j&&!y){let J=j,le=E;E<j&&(J=E,le=j),L(J),H(le),l==null||l(J,le)}},U=T=>{const E=new Date(p.getFullYear(),p.getMonth(),T);return f==="single"?j&&E.toDateString()===j.toDateString()?"single":null:j&&E.toDateString()===j.toDateString()?"start":y&&E.toDateString()===y.toDateString()?"end":j&&y&&E>j&&E<y?"range":null},_=()=>{if(f==="single"){s==null||s(j),u==null||u();return}if(f==="details"){const T=F?F.split(":"):[],E=S?S.split(":"):[],J=parseInt(T[0],10),le=parseInt(T[1],10)||0,Le=parseInt(E[0],10),we=parseInt(E[1],10)||0;if(isNaN(J)||isNaN(Le))return;const je=J*60+le,wn=Le*60+we;if(je>=wn)return}l==null||l(j,y),f==="details"&&(d==null||d(F,S)),u==null||u()},te=Array.from({length:24},(T,E)=>`${E.toString().padStart(2,"0")}:00`);if(!g)return null;const oe={display:"flex",width:f==="details"?499:320,height:354,padding:c.p5,borderRadius:D.md,border:`1px solid ${w[300]}`,backgroundColor:b[100],boxShadow:"0px 5px 12px 0px rgba(0, 0, 0, 0.10)",boxSizing:"border-box",...m},ne={display:"flex",flexDirection:"column",width:"100%",height:"100%"},z={display:"flex",padding:`${c.p2} ${c.p2}`,justifyContent:"space-between",alignItems:"center"},N={color:h[900],fontFamily:'"Inter", sans-serif',fontSize:16,fontWeight:C.regular,lineHeight:"20px"},ee={padding:4,background:"none",border:"none",cursor:"pointer",borderRadius:D.xs,display:"flex",alignItems:"center",justifyContent:"center"},q={display:"grid",gridTemplateColumns:"repeat(7, 1fr)"},ce={display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,alignSelf:"stretch",color:h[400],textAlign:"center",fontFamily:'"Inter", sans-serif',fontSize:11,fontWeight:C.medium,lineHeight:"20px"},a={display:"grid",gridTemplateColumns:"repeat(7, 1fr)",flex:1},V=T=>{const E={display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,alignSelf:"stretch",color:h[900],textAlign:"center",fontFamily:'"Inter", sans-serif',fontSize:11,fontWeight:C.medium,lineHeight:"20px",cursor:"pointer",position:"relative"};return T==="single"?{...E,backgroundColor:M[500],color:b[100],borderRadius:"50%"}:T==="start"?{...E,backgroundColor:M[500],color:b[100],borderTopLeftRadius:9999,borderBottomLeftRadius:9999}:T==="end"?{...E,backgroundColor:M[500],color:b[100],borderTopRightRadius:9999,borderBottomRightRadius:9999}:T==="range"?{...E,backgroundColor:M[50],color:h[900]}:E},Z={display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,alignSelf:"stretch"},P={padding:`${c.p2} ${c.p5}`,backgroundColor:M[500],color:b[100],border:"none",borderRadius:D.md,fontFamily:x.main,fontSize:14,fontWeight:C.medium,cursor:"pointer"},ge={display:"flex",flexDirection:"column",gap:10,marginLeft:c.p4},ye={padding:c.p3,display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",gap:c.p3,flex:1},Y={display:"flex",width:130,padding:c.p2,alignItems:"center",gap:c.p3,borderRadius:D.sm,border:`1px solid ${w[300]}`,backgroundColor:w[50],fontFamily:x.main,fontSize:14},{daysInMonth:he,startDayOfWeek:ke}=Q(p);return e.jsxs("div",{ref:A,style:oe,children:[e.jsxs("div",{style:ne,children:[e.jsxs("div",{style:z,children:[e.jsx("button",{style:ee,onClick:()=>X(-1),children:e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M15.5306 19.4694C15.6003 19.539 15.6556 19.6217 15.6933 19.7128C15.731 19.8038 15.7504 19.9014 15.7504 20C15.7504 20.0986 15.731 20.1961 15.6933 20.2872C15.6556 20.3782 15.6003 20.4609 15.5306 20.5306C15.4609 20.6003 15.3782 20.6556 15.2872 20.6933C15.1961 20.731 15.0985 20.7504 15 20.7504C14.9014 20.7504 14.8039 20.731 14.7128 20.6933C14.6218 20.6556 14.539 20.6003 14.4694 20.5306L6.96935 13.0306C6.89962 12.9609 6.8443 12.8782 6.80656 12.7872C6.76882 12.6961 6.74939 12.5985 6.74939 12.5C6.74939 12.4014 6.76882 12.3039 6.80656 12.2128C6.8443 12.1218 6.89962 12.039 6.96935 11.9694L14.4694 4.46935C14.6101 4.32863 14.801 4.24957 15 4.24957C15.199 4.24957 15.3899 4.32863 15.5306 4.46935C15.6713 4.61007 15.7504 4.80094 15.7504 4.99997C15.7504 5.199 15.6713 5.38987 15.5306 5.5306L8.56029 12.5L15.5306 19.4694Z",fill:h[700]})})}),e.jsx("span",{style:N,children:O(p)}),e.jsx("button",{style:ee,onClick:()=>X(1),children:e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M17.5306 12.5306L10.0306 20.0306C9.96088 20.1003 9.87815 20.1556 9.78711 20.1933C9.69606 20.231 9.59848 20.2504 9.49994 20.2504C9.40139 20.2504 9.30381 20.231 9.21277 20.1933C9.12172 20.1556 9.039 20.1003 8.96931 20.0306C8.89963 19.9609 8.84434 19.8782 8.80663 19.7872C8.76892 19.6961 8.74951 19.5985 8.74951 19.5C8.74951 19.4014 8.76892 19.3039 8.80663 19.2128C8.84434 19.1218 8.89963 19.039 8.96931 18.9694L15.9396 12L8.96931 5.0306C8.82858 4.88987 8.74951 4.699 8.74951 4.49997C8.74951 4.30094 8.82858 4.11007 8.96931 3.96935C9.11003 3.82862 9.3009 3.74956 9.49994 3.74956C9.69897 3.74956 9.88984 3.82862 10.0306 3.96935L17.5306 11.4694C17.6003 11.539 17.6556 11.6217 17.6934 11.7128C17.7311 11.8038 17.7505 11.9014 17.7505 12C17.7505 12.0986 17.7311 12.1961 17.6934 12.2872C17.6556 12.3782 17.6003 12.4609 17.5306 12.5306Z",fill:h[700]})})})]}),e.jsx("div",{style:q,children:["M","T","W","T","F","S","S"].map((T,E)=>e.jsx("div",{style:ce,children:T},E))}),e.jsxs("div",{style:a,children:[Array.from({length:ke},(T,E)=>e.jsx("div",{style:Z},`empty-${E}`)),Array.from({length:he},(T,E)=>{const J=E+1,le=U(J);return e.jsx("div",{style:V(le),onClick:()=>K(J),children:J},J)})]}),f==="normal"&&e.jsx("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:c.p4},children:e.jsx("button",{style:P,onClick:_,children:"Apply"})})]}),f==="details"&&e.jsxs("div",{style:ge,children:[e.jsxs("div",{style:ye,children:[e.jsx("select",{value:F,onChange:T=>I(T.target.value),style:Y,children:te.map(T=>e.jsx("option",{value:T,children:T},T))}),e.jsx("span",{style:{color:h[500],fontFamily:x.main,fontSize:14},children:"to"}),e.jsx("select",{value:S,onChange:T=>R(T.target.value),style:Y,children:te.map(T=>e.jsx("option",{value:T,children:T},T))})]}),e.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:e.jsx("button",{style:P,onClick:_,children:"Apply"})})]})]})},ze=t=>{const n=t.getFullYear(),o=String(t.getMonth()+1).padStart(2,"0"),i=String(t.getDate()).padStart(2,"0");return`${n}/${o}/${i}`},fn=({value:t,startDate:n,endDate:o,placeholder:i="Select date",onClick:l,style:s})=>{let d=t;!d&&n&&(d=ze(n),o&&o.getTime()!==n.getTime()&&(d+=` - ${ze(o)}`));const u={display:"flex",width:"100%",padding:`${c.p3} ${c.p4}`,alignItems:"center",gap:10,borderRadius:D.lg,border:`1px solid ${w[300]}`,backgroundColor:b[100],boxShadow:"0px 4px 12px 0px rgba(13, 10, 44, 0.06)",cursor:"pointer",boxSizing:"border-box",...s},g={color:d?h[700]:h[400],fontFamily:'"Noto Sans", sans-serif',fontSize:14,fontWeight:500,lineHeight:"20px",flex:1};return e.jsxs("div",{style:u,onClick:l,children:[e.jsx(gn,{}),e.jsx("span",{style:g,children:d||i}),e.jsx(pn,{})]})},gn=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M16.25 2.5H14.375V1.875C14.375 1.70924 14.3092 1.55027 14.1919 1.43306C14.0747 1.31585 13.9158 1.25 13.75 1.25C13.5842 1.25 13.4253 1.31585 13.3081 1.43306C13.1908 1.55027 13.125 1.70924 13.125 1.875V2.5H6.875V1.875C6.875 1.70924 6.80915 1.55027 6.69194 1.43306C6.57473 1.31585 6.41576 1.25 6.25 1.25C6.08424 1.25 5.92527 1.31585 5.80806 1.43306C5.69085 1.55027 5.625 1.70924 5.625 1.875V2.5H3.75C3.41848 2.5 3.10054 2.6317 2.86612 2.86612C2.6317 3.10054 2.5 3.41848 2.5 3.75V16.25C2.5 16.5815 2.6317 16.8995 2.86612 17.1339C3.10054 17.3683 3.41848 17.5 3.75 17.5H16.25C16.5815 17.5 16.8995 17.3683 17.1339 17.1339C17.3683 16.8995 17.5 16.5815 17.5 16.25V3.75C17.5 3.41848 17.3683 3.10054 17.1339 2.86612C16.8995 2.6317 16.5815 2.5 16.25 2.5ZM5.625 3.75V4.375C5.625 4.54076 5.69085 4.69973 5.80806 4.81694C5.92527 4.93415 6.08424 5 6.25 5C6.41576 5 6.57473 4.93415 6.69194 4.81694C6.80915 4.69973 6.875 4.54076 6.875 4.375V3.75H13.125V4.375C13.125 4.54076 13.1908 4.69973 13.3081 4.81694C13.4253 4.93415 13.5842 5 13.75 5C13.9158 5 14.0747 4.93415 14.1919 4.81694C14.3092 4.69973 14.375 4.54076 14.375 4.375V3.75H16.25V6.25H3.75V3.75H5.625ZM16.25 16.25H3.75V7.5H16.25V16.25Z",fill:"#4A5565"})}),pn=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M16.6925 7.94254L10.4425 14.1925C10.3845 14.2506 10.3156 14.2967 10.2397 14.3282C10.1638 14.3597 10.0825 14.3758 10.0003 14.3758C9.91821 14.3758 9.83688 14.3597 9.76101 14.3282C9.68514 14.2967 9.61621 14.2506 9.55816 14.1925L3.30816 7.94254C3.19088 7.82526 3.125 7.6662 3.125 7.50035C3.125 7.3345 3.19088 7.17544 3.30816 7.05816C3.42544 6.94088 3.5845 6.875 3.75035 6.875C3.9162 6.875 4.07526 6.94088 4.19253 7.05816L10.0003 12.8668L15.8082 7.05816C15.8662 7.00009 15.9352 6.95403 16.011 6.9226C16.0869 6.89117 16.1682 6.875 16.2503 6.875C16.3325 6.875 16.4138 6.89117 16.4897 6.9226C16.5655 6.95403 16.6345 7.00009 16.6925 7.05816C16.7506 7.11623 16.7967 7.18517 16.8281 7.26104C16.8595 7.33691 16.8757 7.41823 16.8757 7.50035C16.8757 7.58247 16.8595 7.66379 16.8281 7.73966C16.7967 7.81553 16.7506 7.88447 16.6925 7.94254Z",fill:"#4A5565"})}),xn=({viewDate:t,onViewDateChange:n,selectedDay:o,onDaySelect:i,datesWithEvents:l=new Set,style:s})=>{const d=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],{days:u,adjustedStartDay:g}=W.useMemo(()=>{const S=t.getFullYear(),R=t.getMonth(),A=new Date(S,R,1),Q=new Date(S,R+1,0).getDate(),X=A.getDay(),K=X===0?6:X-1;return{days:Array.from({length:Q},(_,te)=>te+1),adjustedStartDay:K}},[t]),k=S=>{const R=S.getFullYear(),A=S.getMonth()+1;return`${R}年 ${A}月`},f=()=>{n(new Date(t.getFullYear(),t.getMonth()-1,1))},m=()=>{n(new Date(t.getFullYear(),t.getMonth()+1,1))},p={display:"flex",width:"100%",flexDirection:"column",alignItems:"flex-start",padding:"0 20px",boxSizing:"border-box",...s},v={display:"flex",padding:"12px 0",justifyContent:"center",alignItems:"center",gap:"8px",alignSelf:"stretch"},j={flex:1,color:"var(--general-text-icon-text-primary, #0F0F0F)",textAlign:"left",fontFamily:'"Noto Sans", sans-serif',fontSize:"14px",fontWeight:500,lineHeight:"20px"},L={padding:"4px",background:"none",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},y={display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:"12px",height:"17px",alignSelf:"stretch"},H={display:"flex",height:"17px",flexDirection:"column",justifyContent:"center",color:"var(--general-text-icon-text-primary, #0F0F0F)",textAlign:"center",fontFamily:'"Noto Sans", sans-serif',fontSize:"11px",fontWeight:500,lineHeight:"20px"},F={display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:"12px",alignSelf:"stretch",marginTop:"12px"},I=S=>({display:"flex",width:"32px",height:"35px",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"2px",textAlign:"center",fontFamily:'"Noto Sans", sans-serif',fontSize:"14px",fontWeight:500,lineHeight:"20px",transition:"background-color 0.2s, color 0.2s",border:"none",cursor:"pointer",backgroundColor:S?"var(--General-Background-bg-brand, #2E9DFF)":"transparent",color:S?b[100]:"var(--general-text-icon-text-primary, #0F0F0F)",borderRadius:"4px",padding:0});return e.jsxs("div",{style:p,children:[e.jsxs("div",{style:v,children:[e.jsx("span",{style:j,children:k(t)}),e.jsx("button",{onClick:f,style:L,"aria-label":"Previous month",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",children:e.jsx("path",{d:"M11.6239 13.9484L6.97437 9.29893L11.6239 4.64941",stroke:"#0F0F0F",strokeWidth:"1.54984",strokeLinecap:"round",strokeLinejoin:"round"})})}),e.jsx("button",{onClick:m,style:L,"aria-label":"Next month",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",children:e.jsx("path",{d:"M6.97412 13.9484L11.6236 9.29893L6.97412 4.64941",stroke:"#0F0F0F",strokeWidth:"1.54984",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.jsx("div",{style:y,children:d.map(S=>e.jsx("div",{style:H,children:S},S))}),e.jsxs("div",{style:F,children:[Array.from({length:g},(S,R)=>e.jsx("div",{},`empty-${R}`)),u.map(S=>{const R=o===S,A=l.has(S);return e.jsxs("button",{onClick:()=>i(S),style:I(R),onMouseEnter:O=>{R||(O.currentTarget.style.backgroundColor="rgba(0, 0, 0, 0.05)")},onMouseLeave:O=>{R||(O.currentTarget.style.backgroundColor="transparent")},children:[e.jsx("span",{children:S}),A&&e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"3",height:"3",viewBox:"0 0 3 3",fill:"none",children:e.jsx("circle",{cx:"1.5",cy:"1.5",r:"1.5",fill:"#01BDA7"})})]},S)})]})]})},fe={light:{default:b,secondary:w[100],tertiary:w[300],overlay:"#2a2d3380",disabled:h[100],success:ie[50],error:G[50],warning:re[50],brand:M[500],brandSubtle:M[50],accent:de[500],accent2:se[500],accent3:G[500],inputfield:b},dark:{default:ae[900],secondary:ae[800],tertiary:ae[600],overlay:"#2a2d33cc",disabled:h[400],success:ie[50],error:G[50],warning:re[50],brand:M[500],brandSubtle:M[50],accent:me[700],accent2:se[500],accent3:G[500],inputfield:ae[900]}},Ce={light:{primary:ue[900],secondary:h[700],tertiary:h[400],disabled:h[200],placeholder:h[300],success:ie[600],error:G[500],warning:re[500],link:M[600],brand:M[500],onBrand:b,accent:re[200],pokerCall:de[500],pokerRaise:se[500]},dark:{primary:b,secondary:w[400],tertiary:w[600],disabled:h[600],placeholder:h[100],success:ie[500],error:G[500],warning:re[500],link:M[600],brand:M[500],onBrand:b,accent:re[200],pokerCall:de[400],pokerRaise:se[400]}},Ae={light:{primary:w[400],subtle:w[100],focus:M[500],success:ie[500],error:G[500],warning:re[500],brandSubtle:M[100]},dark:{primary:h[600],subtle:h[800],focus:M[500],success:ie[500],error:G[500],warning:re[500],brandSubtle:M[500]}},_e={button:{light:{primaryBg:M[500],primaryLabel:b,secondaryBg:w[300],secondaryLabel:h[700],outlineBg:b,outlineBorder:w[400],outlineLabel:h[700],disabledBg:h[100],disabledLabel:h[200],pokerCallBg:de[500],pokerCallLabel:b,pokerRaiseBg:se[500],pokerRaiseLabel:b,warningBg:G[500],warningLabel:b,hoverOverlay:"#0000001a",pressedOverlay:"#00000033"},dark:{primaryBg:M[500],primaryLabel:b,secondaryBg:ae[600],secondaryLabel:w[400],outlineBg:ae[900],outlineBorder:h[600],outlineLabel:w[400],disabledBg:h[400],disabledLabel:h[600],pokerCallBg:me[700],pokerCallLabel:b,pokerRaiseBg:se[500],pokerRaiseLabel:b,warningBg:G[500],warningLabel:b,hoverOverlay:"#ffffff1a",pressedOverlay:"#00000033"}},pokerCard:{bg:b,bgEmpty:"#6eb3dc80",border:w[400],club:de[500],diamond:M[500],heart:G[500],spade:h[700]}},Cn={background:fe,text:Ce,border:Ae,components:_e},yn=fe.light.default,kn=fe.light.secondary,jn=fe.light.tertiary,mn=fe.light.brand,bn=Ce.light.primary,vn=Ce.light.secondary,Ln=Ce.light.onBrand;r.AIIcon=Xt,r.AISolutionIcon=lt,r.ActivityIcon=rt,r.ArrowDownIcon=vt,r.ArrowLeftIcon=Lt,r.ArrowRightIcon=wt,r.ArrowUpIcon=bt,r.Badge=qe,r.BetIcon=ut,r.BottomNav=L1,r.BottomSheet=B1,r.Button=e1,r.Calendar=xn,r.CalendarIcon=Re,r.Card=x1,r.CartIcon=Kt,r.CheckIcon=Wt,r.Checkbox=o1,r.ChevronDownIcon=yt,r.ChevronLeftIcon=jt,r.ChevronRightIcon=mt,r.ChevronUpIcon=kt,r.ChipIcon=Yt,r.CloseIcon=It,r.ClubIcon=Pt,r.CopyIcon=Dt,r.DailyTrainingIcon=ct,r.DarkModeIcon=At,r.DatePicker=un,r.DatePickerInput=fn,r.DeleteIcon=Et,r.DiamondIcon=Ot,r.DiscordIcon=en,r.Divider=i1,r.DropIcon=ft,r.Dropdown=$1,r.DropdownDefaultIcon=A1,r.DropdownMenu=De,r.DropdownTrigger=D1,r.EditIcon=Rt,r.ErrorIcon=U1,r.EventCard=k1,r.EventIcon=an,r.EyeIcon=Ut,r.EyeOffIcon=Gt,r.FavoriteIcon=m1,r.FingerprintIcon=qt,r.FirewallIcon=ln,r.GoogleIcon=tn,r.HandNotesIcon=ht,r.HandRecordCard=j1,r.HandRecordIcon=cn,r.HeartIcon=Zt,r.HomeIcon=dn,r.Input=Be,r.InstagramIcon=nn,r.LightModeIcon=zt,r.ListItemCard=y1,r.LoadingIcon=_t,r.LocationIcon=Te,r.MenuIcon=Ht,r.MinusIcon=Mt,r.MoreHorizontalIcon=Ft,r.MoreIcon=hn,r.MoreVerticalIcon=Bt,r.NavAIIcon=M1,r.NavEventIcon=I1,r.NavHandRecordIcon=W1,r.NavHomeIcon=S1,r.NavMenuItem=Ee,r.NavMoreIcon=H1,r.Overlay=F1,r.PlayerAnalysisIcon=dt,r.PlusIcon=St,r.PokerCard=Ve,r.Popup=O1,r.PopupAutoclose=P1,r.RecordIcon=xt,r.RegistrationIcon=pt,r.RotatedCards=p1,r.SearchIcon=Ct,r.Select=_1,r.SelectDefaultIcon=Z1,r.SettingsIcon=$t,r.ShareIcon=Tt,r.SheetTitle=V1,r.SideMenu=q1,r.SideMenuAddIcon=ot,r.SideMenuShareIcon=it,r.SingleCard=g1,r.Slider=r1,r.SpadeIcon=Nt,r.StatsIcon=gt,r.SubEventCard=v1,r.SubscribeIcon=st,r.SuccessIcon=Y1,r.SuitIcon=ve,r.Switch=s1,r.TWDIcon=on,r.Tabs=l1,r.Toast=u1,r.Toggle=Fe,r.ToggleGroup=f1,r.ToolMenu=w1,r.TournamentCard=C1,r.TournamentIcon=at,r.USDIcon=rn,r.UploadFileIcon=Qt,r.UploadImageIcon=Jt,r.UserIcon=Vt,r.WarningIcon=G1,r.XRPIcon=sn,r.background=fe,r.bgBrand=mn,r.bgDefault=yn,r.bgSecondary=kn,r.bgTertiary=jn,r.black=Ie,r.border=Ae,r.brandblue=M,r.components=_e,r.cyan=me,r.deepocean=ae,r.fontFamily=x,r.fontSize=$,r.fontWeight=C,r.getTypographyStyles=Ye,r.green=ie,r.grey=ue,r.lightgrey=w,r.lineHeight=B,r.orange=se,r.primitiveColors=Oe,r.radius=D,r.red=G,r.semanticColors=Cn,r.slate=h,r.spacing=c,r.spacingTokens=Ue,r.teal=de,r.text=Ce,r.textOnBrand=Ln,r.textPrimary=bn,r.textSecondary=vn,r.typography=Pe,r.typographyDesktop=He,r.typographyMobile=We,r.white=b,r.yellow=re,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED