@cyber-harbour/ui 2.2.37 → 2.2.39

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.
@@ -1,4 +1,4 @@
1
- import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffect,useContext,useLayoutEffect}from'react';import C1,{createGlobalStyle,styled,css,useTheme,StyleSheetManager,ThemeProvider}from'styled-components';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {Popover}from'react-tiny-popover';import {createPortal}from'react-dom';import U8 from'react-content-loader';var T4=Object.defineProperty;var r=(o,e)=>T4(o,"name",{value:e,configurable:true});var V1=r((o,e)=>{if(!e||typeof e!="string")return;if(!(e.includes(".")||o.colors.hasOwnProperty(e)))return e;let i=e.split(".");if(i.length===1)return o.colors[i[0]];if(i.length===2){let[a,C]=i,s=o.colors[a];if(s&&typeof s=="object")return s[C]}},"resolveThemeColor"),p=r((o,e=16)=>{let t=typeof o=="string"?parseFloat(o.replace("px","")):o;return isNaN(t)?(console.warn(`Invalid pixel value: ${o}`),"0"):`${(t/e).toFixed(4).replace(/\.?0+$/,"")}rem`},"pxToRem"),C5=r((o,e=16)=>{let t=typeof o=="string"?parseFloat(o.replace("rem","")):o;return isNaN(t)?0:t*e},"remToPx"),b2={contextMenu:["padding"],baseSize:true},B=r((o,e=16)=>{if(typeof o=="string"&&/(%|d?vh|d?vw|d?rem)$/.test(o.trim()))return o;let t=typeof o=="string"?parseFloat(o):o;return isNaN(t)?`${o}`:`${(t/e).toFixed(4).replace(/\.?0+$/,"")}rem`},"propToRem"),p1=r((o,e=14,t)=>{let i={};return Object.entries(o).forEach(([a,C])=>{C!==null&&typeof C=="object"&&!Array.isArray(C)?i[a]=p1(C,e,a):typeof C=="string"&&/^\d+(\.\d+)?px$/.test(C.trim())||typeof C=="number"&&["fontSize","width","height","padding","margin","gap","borderRadius","size"].some(s=>a.toLowerCase().includes(s.toLowerCase()))&&!(t&&Array.isArray(b2[t])&&b2[t].includes(a))&&!b2[a]?i[a]=p(C,e):i[a]=C;}),i},"convertPaletteToRem"),G=r((o,e,t,i)=>o.button[e][t][i],"getButtonStyles"),W=r((o,e)=>o.button.sizes[e],"getButtonSizeStyles"),g9=r((o,e,t)=>o.input[e][t],"getInputStyles"),b9=r((o,e="body")=>o.typography.variants[e]||o.typography.variants.body,"getTypographyStyles"),u9=r((o,e="m")=>`@media (min-width: ${o.breakpoints[e]}px)`,"getBreakpoint"),L1=r((o,e)=>{try{let t=parseInt(o.slice(1,3),16),i=parseInt(o.slice(3,5),16),a=parseInt(o.slice(5,7),16);return `rgba(${t}, ${i}, ${a}, ${e})`}catch{return o}},"hexToRgba");var H1={dropdown:1e3,sticky:1020,fixed:1030,backdrop:1040,modal:1050,popover:1060,tooltip:1070},j={xs:320,s:576,m:768,l:992,xl:1200},y1={fontFamily:"var(--font-family)",lineHeight:1.49,variants:{h1:{fontSize:22},h2:{fontSize:16},h3:{fontSize:14},body:{fontSize:12}}};var s5={mode:"light",baseSize:14,colors:{background:"#ffffff",backgroundBase:"#F7F8FC",primary:{main:"#0042EC",light:"#80A0F5",lighter:"#E5ECFD",lightest:"#F3F7FF",lightest2:"rgba(0, 66, 236, 0.05)",dark:"#10253A"},text:{main:"#101010",light:"#535353",lighter:"#99989C",invert:"#ffffff",success:"#31B083",error:"#C93939"},stroke:{main:"#C7C5C5",light:"#EBEBEB",lighter:"#F3F3F3"},disable:"#FAFAFA",success:"#27AE60",error:"#C93939",warning:"#F2994A",info:"#2F80ED"},typography:y1,breakpoints:j,zIndex:H1,line:{size:1,color:"#EBEBEB"},button:{fill:{default:{default:{background:"#E8EAEE",text:"#101010",border:" #E8EAEE",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:" #E5ECFD",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:" #E5ECFD",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},primary:{default:{background:"#0042EC",text:"#FFFFFF",border:" #0042EC",boxShadow:"none"},hover:{background:"#4D7BF2",text:"#FFFFFF",border:" #4D7BF2",boxShadow:"none"},active:{background:"#4D7BF2",text:"#FFFFFF",border:" #4D7BF2",boxShadow:"none"},disabled:{background:"#99989C",text:"#FFFFFF",border:" #E5ECFD",boxShadow:"none"}},secondary:{default:{background:"#E8EAEE",text:"#101010",border:" #E8EAEE",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:" #E5ECFD",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:" #E5ECFD",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},error:{default:{background:"#C93939",text:"#FFFFFF",border:" #C93939",boxShadow:"none"},hover:{background:"#E06060",text:"#FFFFFF",border:" #E06060",boxShadow:"none"},active:{background:"#A82E2E",text:"#FFFFFF",border:" #A82E2E",boxShadow:"none"},disabled:{background:"#FFCCCB",text:"#FFFFFF",border:" #FFCCCB",boxShadow:"none"}},soft:{default:{background:"#80A0F5",text:"#FFFFFF",border:"#80A0F5",boxShadow:"none"},hover:{background:"#0042EC",text:"#FFFFFF",border:"#0042EC",boxShadow:"none"},active:{background:"#0042EC",text:"#FFFFFF",border:"#0042EC",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},light:{default:{background:"#535353",text:"#FFFFFF",border:"#535353",boxShadow:"none"},hover:{background:"#99989C",text:"#FFFFFF",border:"#99989C",boxShadow:"none"},active:{background:"#99989C",text:"#FFFFFF",border:"#99989C",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}}},outlined:{default:{default:{background:"transparent",text:"#101010",border:"#E6E7EB",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:"#E6E7EB",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:"#E6E7EB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"#E6E7EB",boxShadow:"none"}},primary:{default:{background:"transparent",text:"#0042EC",border:" #0042EC",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#0042EC",border:" #0042EC",boxShadow:"none"},active:{background:"#E5ECFD",text:"#0042EC",border:" #0042EC",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #99989C",boxShadow:"none"}},secondary:{default:{background:"transparent",text:"#0042EC",border:"#E6E7EB",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#0042EC",border:"#E6E7EB",boxShadow:"none"},active:{background:"#E5ECFD",text:"#0042EC",border:"#E6E7EB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"#E6E7EB",boxShadow:"none"}},error:{default:{background:"transparent",text:"#C93939",border:" #C93939",boxShadow:"none"},hover:{background:"#FCF5F5",text:"#C93939",border:" #C93939",boxShadow:"none"},active:{background:"#FCF5F5",text:"#C93939",border:" #C93939",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #99989C",boxShadow:"none"}},soft:{default:{background:"transparent",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},active:{background:"#E5ECFD",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},light:{default:{background:"transparent",text:"#535353",border:"#EBEBEB",boxShadow:"none"},hover:{background:"#EEEEEE",text:"#535353",border:"#EBEBEB",boxShadow:"none"},active:{background:"#EEEEEE",text:"#535353",border:"#EBEBEB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}}},empty:{default:{default:{background:"transparent",text:"#101010",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},primary:{default:{background:"transparent",text:"#0042EC",border:"transparent",boxShadow:"none",filledIcon:{background:"#E5ECFD",color:"#0042EC"}},hover:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none",filledIcon:{background:"#0042EC",color:"#ffffff"}},active:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none",filledIcon:{background:"#0042EC",color:"#ffffff"}},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none",filledIcon:{background:"#BEBEBE",color:"#99989C"}}},secondary:{default:{background:"transparent",text:"#101010",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#0042EC",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#0042EC",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},error:{default:{background:"transparent",text:"#C93939",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#E06060",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#A82E2E",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},soft:{default:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#E5ECFD",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#E5ECFD",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},light:{default:{background:"transparent",text:"#535353",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}}},sizes:{small:{fontSize:14,iconSize:16,paddingInline:12,paddingBlock:8,borderRadius:8,borderWidth:1,gap:8},medium:{fontSize:16,iconSize:16,paddingInline:14,paddingBlock:10,borderRadius:10,borderWidth:1,gap:8}}},sidebar:{background:"#FFFFFF",border:"#EBEBEB",width:242,collapsedWidth:65,text:{default:"#535353",active:"#0042EC",hover:"#0042EC"},item:{default:{background:"transparent",border:"transparent",padding:"10px 16px",height:40},active:{background:"#E5ECFD",borderLeft:"2px solid #0042EC",padding:"10px 16px",height:40},hover:{background:"#F3F7FF",border:"transparent",padding:"10px 16px",height:40}},section:{background:"transparent",padding:"16px 16px 8px",title:{color:"#99989C",fontSize:"12px",fontWeight:600}},delimeter:{color:"#C7C5C5",thickness:1,margin:"8px 0"}},contextMenu:{button:{default:{background:"transparent",text:"#101010",border:" #EBEBEB",boxShadow:"none"},hover:{background:"transparent",text:"#0042EC",border:" #EBEBEB",boxShadow:"none"},active:{background:"transparent",text:"#0042EC",border:" #EBEBEB",boxShadow:"none"},disabled:{background:"#FAFAFA",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},delimeter:{color:"#C7C5C5",thickness:1,marginInline:12,marginBlock:3,style:"solid"},shadow:"0px 10px 40px -4px rgba(0, 0, 0, 0.06), 0px 2px 8px -2px rgba(0, 0, 0, 0.04)",padding:6,icon:{size:7}},select:{item:{default:{background:"transparent",text:"#101010",border:" none",boxShadow:"none"},hover:{background:"#F3F4F6",text:"#101010",border:" none",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:" none",boxShadow:"none"},disabled:{background:"#FAFAFA",text:"#99989C",border:" none",boxShadow:"none"}},paddingBlock:6,paddingInline:6,margin:2,padding:8},rowActionsMenu:{button:{default:{background:"transparent",text:"#101010",border:" none",boxShadow:"none"},hover:{background:"transparent",text:"#0042EC",border:" none",boxShadow:"none"},active:{background:"transparent",text:"#0042EC",border:" none",boxShadow:"none"},disabled:{background:"#FAFAFA",text:"#99989C",border:" none",boxShadow:"none"}},delimiterColor:"#C7C5C5",icon:{size:16}},input:{sizes:{empty:{fontSize:14,paddingInline:0,paddingBlock:0,borderRadius:0,iconSize:14,height:"auto",lineHeight:16},small:{fontSize:14,paddingInline:10,paddingBlock:10,borderRadius:5,iconSize:14,height:40,lineHeight:16},medium:{fontSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,iconSize:16,height:40,lineHeight:18}},outlined:{default:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" #EBEBEB",boxShadow:"none",icon:"#101010"},focus:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" #0042EC",boxShadow:"none",icon:"#101010"},error:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" #C93939",boxShadow:"none",icon:"#C93939"},disabled:{background:"#FAFAFA",text:"#99989C",placeholder:"#99989C",border:" #EBEBEB",boxShadow:"none",icon:"#99989C"}},empty:{default:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#101010"},focus:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#101010"},error:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#C93939"},disabled:{background:"#FAFAFA",text:"#99989C",placeholder:"#99989C",border:"transparent",boxShadow:"none",icon:"#99989C"}}},box:{padding:20,borderRadius:8,border:{width:1,style:"solid",color:"#E6E7EB"},background:"#FFFFFF"},graph2D:{ring:{highlightFill:"rgba(255, 165, 0, 0.3)",selectionFill:"rgba(0, 66, 236, 0.3)"},button:{stroke:"#e5e5e5",normalFill:"rgba(255, 255, 255, 0.8)",hoverFill:"rgba(230, 230, 230, 0.9)",textColor:"#99989C",spinnerColor:"#80A0F5"},grid:{dotColor:"rgba(0, 0, 0, 0.5)"},link:{normal:"#999",highlighted:"#ff9900",textColor:"#666",highlightedTextColor:"#663300",textBgColor:"rgba(255, 255, 255, 0.8)",highlightedTextBgColor:"rgba(255, 230, 204, 0.9)"}},contentLoader:{foreground:"#E2E2E2E2",background:"#F3F3F3"},tag:{outlined:{borderRadius:50,paddingBlock:5,paddingInline:10,borderWidth:1,color:{default:"#535353",primary:"#0042EC",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb",text:"#101010",orange:"#d3741b"}},fill:{borderRadius:4,paddingBlock:5,paddingInline:10,borderWidth:0,color:{default:"#535353",primary:"#0042EC",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb",text:"#101010",orange:"#d3741b"}}},alert:{paddingBlock:16,paddingLeft:16,paddingRight:44,borderRadius:5,fontSize:14,gap:12,icon:{width:16,height:14,paddingTop:2},color:{icon:"#FDC700",text:"#894B00",background:"#FFFBE0"}},label:{sizes:{small:{fontSize:14,gap:10,marginBottom:20,helpText:{fontSize:12,marginTop:5}},medium:{fontSize:16,gap:10,marginBottom:25,helpText:{fontSize:14,marginTop:5}}},color:"#101010",helpTextColor:"#99989C"},leanerProgress:{background:"#EBEBEB",progressColor:"#0042EC"},switch:{default:{background:"#C7C5C5",color:"#FFFFFF"},checked:{background:"#0042EC",color:"#FFFFFF"},disabled:{background:"#EBEBEB",color:"#FFFFFF"}},drawer:{padding:20,width:573,shadow:"0px 4px 10px 0px rgba(0, 0, 0, 0.25)"},tooltip:{fontSize:14,padding:10,borderRadius:6,maxWidth:240,shadow:"0px 4px 10px 0px rgba(0, 0, 0, 0.25)",color:"#535353",background:"#EBEBEB"},pagination:{fontSize:14,paddingBlock:4,paddingInline:8,borderRadius:3,gap:6,height:26,iconSize:8},overlay:{paddingBlock:40,gap:6,background:"rgba(16, 16, 16, 0.1)"},modal:{padding:20,width:545,shadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.25)",borderColor:"#EBEBEB",background:"#FFFFFF",borderRadius:8}},l5=p1(s5,s5.baseSize);var d5={mode:"dark",baseSize:14,colors:{background:"#0F1317",backgroundBase:"#000000",primary:{main:"#158EFF",light:"#80A0F5",lighter:"#10253A",lightest:"#020E19",lightest2:"rgba(0, 66, 236, 0.05)",dark:"#80A0F5"},text:{main:"#FFFFFF",light:"#99989C",lighter:"#535353",invert:"#101010",success:"#31B083",error:"#C93939"},stroke:{main:"#34404C",light:"#1E2226",lighter:"#333333"},disable:"#080A0C",success:"#27AE60",error:"#C93939",warning:"#F2994A",info:"#2F80ED"},typography:y1,breakpoints:j,zIndex:H1,line:{size:1,color:"#1E2226"},button:{fill:{default:{default:{background:"#1E2226",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:" #10253A",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:" #10253A",boxShadow:"none"},disabled:{background:"#1E2226",text:"#99989C",border:" #1E2226",boxShadow:"none"}},primary:{default:{background:"#158EFF",text:"#FFFFFF",border:" #158EFF",boxShadow:"none"},hover:{background:"#44a5ff",text:"#FFFFFF",border:" #44a5ff",boxShadow:"none"},active:{background:"#44a5ff",text:"#FFFFFF",border:" #44a5ff",boxShadow:"none"},disabled:{background:"#99989C",text:"#FFFFFF",border:" #10253A",boxShadow:"none"}},secondary:{default:{background:"#1E2226",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:" #10253A",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:" #10253A",boxShadow:"none"},disabled:{background:"#1E2226",text:"#99989C",border:" #1E2226",boxShadow:"none"}},error:{default:{background:"#C93939",text:"#FFFFFF",border:" #C93939",boxShadow:"none"},hover:{background:"#d46161",text:"#FFFFFF",border:" #d46161",boxShadow:"none"},active:{background:"#d46161",text:"#FFFFFF",border:" #d46161",boxShadow:"none"},disabled:{background:"#511616",text:"#FFFFFF",border:" #511616",boxShadow:"none"}},soft:{default:{background:"#80A0F5",text:"#FFFFFF",border:"#80A0F5",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:"#10253A",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:"#10253A",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},light:{default:{background:"#535353",text:"#FFFFFF",border:"#535353",boxShadow:"none"},hover:{background:"#99989C",text:"#FFFFFF",border:"#99989C",boxShadow:"none"},active:{background:"#99989C",text:"#FFFFFF",border:"#99989C",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}}},outlined:{default:{default:{background:"transparent",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #1E2226",boxShadow:"none"}},primary:{default:{background:"transparent",text:"#158EFF",border:" #158EFF",boxShadow:"none"},hover:{background:"#10253A",text:"#158EFF",border:" #158EFF",boxShadow:"none"},active:{background:"#10253A",text:"#158EFF",border:" #158EFF",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #99989C",boxShadow:"none"}},secondary:{default:{background:"transparent",text:"#158EFF",border:" #1E2226",boxShadow:"none"},hover:{background:"#10253A",text:"#158EFF",border:" #1E2226",boxShadow:"none"},active:{background:"#10253A",text:"#158EFF",border:" #1E2226",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #1E2226",boxShadow:"none"}},error:{default:{background:"transparent",text:"#C93939",border:" #C93939",boxShadow:"none"},hover:{background:"#290b0b",text:"#C93939",border:" #290b0b",boxShadow:"none"},active:{background:"#290b0b",text:"#C93939",border:" #290b0b",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #99989C",boxShadow:"none"}},soft:{default:{background:"transparent",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},hover:{background:"#1A212D",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},active:{background:"#1A212D",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},light:{default:{background:"transparent",text:"#E8EAEE",border:"#34404C",boxShadow:"none"},hover:{background:"#222A32",text:"#E8EAEE",border:"#34404C",boxShadow:"none"},active:{background:"#222A32",text:"#E8EAEE",border:"#34404C",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}}},empty:{default:{default:{background:"transparent",text:"#FFFFFF",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#44a5ff",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#44a5ff",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},primary:{default:{background:"transparent",text:"#158EFF",border:"transparent",boxShadow:"none",filledIcon:{background:"#10253A",color:"#158EFF"}},hover:{background:"transparent",text:"#44a5ff",border:"transparent",boxShadow:"none",filledIcon:{background:"#158EFF",color:"#0F1317"}},active:{background:"transparent",text:"#44a5ff",border:"transparent",boxShadow:"none",filledIcon:{background:"#158EFF",color:"#0F1317"}},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none",filledIcon:{background:"#BEBEBE",color:"#99989C"}}},secondary:{default:{background:"transparent",text:"#FFFFFF",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#158EFF",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#158EFF",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},error:{default:{background:"transparent",text:"#C93939",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#d46161",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#d46161",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},soft:{default:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#E5ECFD",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#E5ECFD",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},light:{default:{background:"transparent",text:"#E8EAEE",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#34404C",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#34404C",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}}},sizes:{small:{fontSize:14,iconSize:16,paddingInline:12,paddingBlock:8,borderRadius:8,borderWidth:1,gap:8},medium:{fontSize:16,iconSize:16,paddingInline:14,paddingBlock:10,borderRadius:10,borderWidth:1,gap:8}}},sidebar:{background:"#0F1317",border:"#1E2226",width:242,collapsedWidth:65,text:{default:"#99989C",active:"#158EFF",hover:"#158EFF"},item:{default:{background:"transparent",border:"transparent",padding:"10px 16px",height:40},active:{background:"#10253A",borderLeft:"2px solid #158EFF",padding:"10px 16px",height:40},hover:{background:"#020E19",border:"transparent",padding:"10px 16px",height:40}},section:{background:"transparent",padding:"16px 16px 8px",title:{color:"#020b14",fontSize:"12px",fontWeight:600}},delimeter:{color:"#34404C",thickness:1,margin:"8px 0"}},contextMenu:{button:{default:{background:"transparent",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},hover:{background:"transparent",text:"#158EFF",border:" #1E2226",boxShadow:"none"},active:{background:"transparent",text:"#158EFF",border:" #1E2226",boxShadow:"none"},disabled:{background:"#080A0C",text:"#99989C",border:" #1E2226",boxShadow:"none"}},delimeter:{color:"#34404C",thickness:1,marginInline:12,marginBlock:3,style:"solid"},shadow:"0px 10px 40px -4px rgba(0, 0, 0, 0.5), 0px 2px 8px -2px rgba(0, 0, 0, 0.3)",padding:6,icon:{size:7}},select:{item:{default:{background:"transparent",text:"#FFFFFF",border:" none",boxShadow:"none"},hover:{background:"#1E2226",text:"#FFFFFF",border:" none",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:" none",boxShadow:"none"},disabled:{background:"#080A0C",text:"#99989C",border:" none",boxShadow:"none"}},paddingBlock:6,paddingInline:6,margin:2,padding:8},rowActionsMenu:{button:{default:{background:"transparent",text:"#FFFFFF",border:" none",boxShadow:"none"},hover:{background:"transparent",text:"#158EFF",border:" none",boxShadow:"none"},active:{background:"transparent",text:"#158EFF",border:" none",boxShadow:"none"},disabled:{background:"#080A0C",text:"#99989C",border:" none",boxShadow:"none"}},delimiterColor:"#34404C",icon:{size:16}},input:{sizes:{empty:{fontSize:14,paddingInline:0,paddingBlock:0,borderRadius:0,iconSize:14,height:"auto",lineHeight:16},small:{fontSize:14,paddingInline:10,paddingBlock:10,borderRadius:5,iconSize:14,height:40,lineHeight:16},medium:{fontSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,iconSize:16,height:40,lineHeight:18}},outlined:{default:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" #1E2226",boxShadow:"none",icon:"#FFFFFF"},focus:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" #158EFF",boxShadow:"none",icon:"#FFFFFF"},error:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" #C93939",boxShadow:"none",icon:"#C93939"},disabled:{background:"#080A0C",text:"#99989C",placeholder:"#99989C",border:" #1E2226",boxShadow:"none",icon:"#99989C"}},empty:{default:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#FFFFFF"},focus:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#FFFFFF"},error:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#C93939"},disabled:{background:"transparent",text:"#99989C",placeholder:"#99989C",border:"transparent",boxShadow:"none",icon:"#99989C"}}},box:{padding:20,borderRadius:8,border:{width:1,style:"solid",color:"#1E2226"},background:"#0F1317"},graph2D:{ring:{highlightFill:"rgba(0, 90, 255, 0.3)",selectionFill:"rgba(0, 90, 255, 0.5)"},button:{stroke:"#1A1A1A",normalFill:"rgba(0, 0, 0, 0.8)",hoverFill:"rgba(25, 25, 25, 0.9)",textColor:"#99989C",spinnerColor:"#80A0F5"},grid:{dotColor:"rgba(255, 255, 255, 0.5)"},link:{normal:"#666",highlighted:"#0066ff",textColor:"#999",highlightedTextColor:"#99ccff",textBgColor:"rgba(0, 0, 0, 0.8)",highlightedTextBgColor:"rgba(0, 25, 51, 0.9)"}},contentLoader:{foreground:"#99989C",background:"#535353"},tag:{outlined:{borderRadius:50,paddingBlock:5,paddingInline:10,borderWidth:1,color:{default:"#99989C",primary:"#3991FA",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb",text:"#FFFFFF",orange:"#d3741b"}},fill:{borderRadius:4,paddingBlock:5,paddingInline:10,borderWidth:0,color:{default:"#99989C",primary:"#3991FA",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb",text:"#FFFFFF",orange:"#d3741b"}}},alert:{paddingBlock:16,paddingLeft:16,paddingRight:44,borderRadius:5,fontSize:14,gap:12,icon:{width:16,height:14,paddingTop:2},color:{icon:"#FDC700",text:"#FFEDD8",background:"#68550E"}},label:{sizes:{small:{fontSize:14,gap:10,marginBottom:20,helpText:{fontSize:12,marginTop:5}},medium:{fontSize:16,gap:10,marginBottom:25,helpText:{fontSize:14,marginTop:5}}},color:"#ffffff",helpTextColor:"#535353"},leanerProgress:{background:"#1E2226",progressColor:"#158EFF"},switch:{default:{background:"#34404C",color:"#0F1317"},checked:{background:"#158EFF",color:"#0F1317"},disabled:{background:"#1E2226",color:"#0F1317"}},drawer:{padding:20,width:573,shadow:"0px 4px 10px 0px rgba(0, 0, 0, 0.25)"},tooltip:{fontSize:14,padding:10,borderRadius:6,maxWidth:240,shadow:"0px 4px 10px 0px rgba(0, 0, 0, 0.25)",color:"#99989C",background:"#1E2226"},pagination:{fontSize:14,paddingBlock:4,paddingInline:8,borderRadius:3,gap:6,height:26,iconSize:8},overlay:{paddingBlock:40,gap:6,background:"rgba(0, 0, 0, 0.5)"},modal:{padding:20,width:545,shadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.25)",borderColor:"#1E2226",background:"#0F1317",borderRadius:8}},p5=p1(d5,d5.baseSize);var u2=r(o=>{if(typeof window<"u"){let t=window.innerWidth;for(let[i,a]of Object.entries(o))if(t<a)return i}let e=Object.keys(o);return e[e.length-1]},"getBreakpoint"),g5=createContext(u2(j)),b5=r(({children:o})=>{let e=useTheme(),[t,i]=useState(u2(e.breakpoints));return useEffect(()=>{if(typeof window>"u")return;let a=r(()=>{let C=u2(e.breakpoints);C!==t&&i(C);},"handleResize");return window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a);}},[t,e.breakpoints]),jsx(g5.Provider,{value:t,children:o})},"BreakpointProvider"),u5=r(()=>{let o=useContext(g5),e=useTheme(),t=useMemo(()=>Object.keys(e.breakpoints),[e.breakpoints]);return {currentBreakpoint:o,breakpointsOrder:t}},"useBreakpoint");var h5=createGlobalStyle(({theme:o})=>`
1
+ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffect,useContext,useLayoutEffect}from'react';import C1,{createGlobalStyle,styled,css,useTheme,StyleSheetManager,ThemeProvider}from'styled-components';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {Popover}from'react-tiny-popover';import {createPortal}from'react-dom';import U8 from'react-content-loader';var T4=Object.defineProperty;var r=(o,e)=>T4(o,"name",{value:e,configurable:true});var L1=r((o,e)=>{if(!e||typeof e!="string")return;if(!(e.includes(".")||o.colors.hasOwnProperty(e)))return e;let i=e.split(".");if(i.length===1)return o.colors[i[0]];if(i.length===2){let[a,C]=i,s=o.colors[a];if(s&&typeof s=="object")return s[C]}},"resolveThemeColor"),p=r((o,e=16)=>{let t=typeof o=="string"?parseFloat(o.replace("px","")):o;return isNaN(t)?(console.warn(`Invalid pixel value: ${o}`),"0"):`${(t/e).toFixed(4).replace(/\.?0+$/,"")}rem`},"pxToRem"),C5=r((o,e=16)=>{let t=typeof o=="string"?parseFloat(o.replace("rem","")):o;return isNaN(t)?0:t*e},"remToPx"),b2={contextMenu:["padding"],baseSize:true},B=r((o,e=16)=>{if(typeof o=="string"&&/(%|d?vh|d?vw|d?rem)$/.test(o.trim()))return o;let t=typeof o=="string"?parseFloat(o):o;return isNaN(t)?`${o}`:`${(t/e).toFixed(4).replace(/\.?0+$/,"")}rem`},"propToRem"),p1=r((o,e=14,t)=>{let i={};return Object.entries(o).forEach(([a,C])=>{C!==null&&typeof C=="object"&&!Array.isArray(C)?i[a]=p1(C,e,a):typeof C=="string"&&/^\d+(\.\d+)?px$/.test(C.trim())||typeof C=="number"&&["fontSize","width","height","padding","margin","gap","borderRadius","size"].some(s=>a.toLowerCase().includes(s.toLowerCase()))&&!(t&&Array.isArray(b2[t])&&b2[t].includes(a))&&!b2[a]?i[a]=p(C,e):i[a]=C;}),i},"convertPaletteToRem"),G=r((o,e,t,i)=>o.button[e][t][i],"getButtonStyles"),W=r((o,e)=>o.button.sizes[e],"getButtonSizeStyles"),g9=r((o,e,t)=>o.input[e][t],"getInputStyles"),b9=r((o,e="body")=>o.typography.variants[e]||o.typography.variants.body,"getTypographyStyles"),u9=r((o,e="m")=>`@media (min-width: ${o.breakpoints[e]}px)`,"getBreakpoint"),H1=r((o,e)=>{try{let t=parseInt(o.slice(1,3),16),i=parseInt(o.slice(3,5),16),a=parseInt(o.slice(5,7),16);return `rgba(${t}, ${i}, ${a}, ${e})`}catch{return o}},"hexToRgba");var y1={dropdown:1e3,sticky:1020,fixed:1030,backdrop:1040,modal:1050,popover:1060,tooltip:1070},j={xs:320,s:576,m:768,l:992,xl:1200},F1={fontFamily:"var(--font-family)",lineHeight:1.49,variants:{h1:{fontSize:22},h2:{fontSize:16},h3:{fontSize:14},body:{fontSize:12}}};var s5={mode:"light",baseSize:14,colors:{background:"#ffffff",backgroundBase:"#F7F8FC",primary:{main:"#0042EC",light:"#80A0F5",lighter:"#E5ECFD",lightest:"#F3F7FF",lightest2:"rgba(0, 66, 236, 0.05)",dark:"#10253A"},text:{main:"#101010",light:"#535353",lighter:"#99989C",invert:"#ffffff",success:"#31B083",error:"#C93939"},stroke:{main:"#C7C5C5",light:"#EBEBEB",lighter:"#F3F3F3"},disable:"#FAFAFA",success:"#27AE60",error:"#C93939",warning:"#F2994A",info:"#2F80ED"},typography:F1,breakpoints:j,zIndex:y1,line:{size:1,color:"#EBEBEB"},button:{fill:{default:{default:{background:"#E8EAEE",text:"#101010",border:" #E8EAEE",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:" #E5ECFD",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:" #E5ECFD",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},primary:{default:{background:"#0042EC",text:"#FFFFFF",border:" #0042EC",boxShadow:"none"},hover:{background:"#4D7BF2",text:"#FFFFFF",border:" #4D7BF2",boxShadow:"none"},active:{background:"#4D7BF2",text:"#FFFFFF",border:" #4D7BF2",boxShadow:"none"},disabled:{background:"#99989C",text:"#FFFFFF",border:" #E5ECFD",boxShadow:"none"}},secondary:{default:{background:"#E8EAEE",text:"#101010",border:" #E8EAEE",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:" #E5ECFD",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:" #E5ECFD",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},error:{default:{background:"#C93939",text:"#FFFFFF",border:" #C93939",boxShadow:"none"},hover:{background:"#E06060",text:"#FFFFFF",border:" #E06060",boxShadow:"none"},active:{background:"#A82E2E",text:"#FFFFFF",border:" #A82E2E",boxShadow:"none"},disabled:{background:"#FFCCCB",text:"#FFFFFF",border:" #FFCCCB",boxShadow:"none"}},soft:{default:{background:"#80A0F5",text:"#FFFFFF",border:"#80A0F5",boxShadow:"none"},hover:{background:"#0042EC",text:"#FFFFFF",border:"#0042EC",boxShadow:"none"},active:{background:"#0042EC",text:"#FFFFFF",border:"#0042EC",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},light:{default:{background:"#535353",text:"#FFFFFF",border:"#535353",boxShadow:"none"},hover:{background:"#99989C",text:"#FFFFFF",border:"#99989C",boxShadow:"none"},active:{background:"#99989C",text:"#FFFFFF",border:"#99989C",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}}},outlined:{default:{default:{background:"transparent",text:"#101010",border:"#E6E7EB",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:"#E6E7EB",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:"#E6E7EB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"#E6E7EB",boxShadow:"none"}},primary:{default:{background:"transparent",text:"#0042EC",border:" #0042EC",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#0042EC",border:" #0042EC",boxShadow:"none"},active:{background:"#E5ECFD",text:"#0042EC",border:" #0042EC",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #99989C",boxShadow:"none"}},secondary:{default:{background:"transparent",text:"#0042EC",border:"#E6E7EB",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#0042EC",border:"#E6E7EB",boxShadow:"none"},active:{background:"#E5ECFD",text:"#0042EC",border:"#E6E7EB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"#E6E7EB",boxShadow:"none"}},error:{default:{background:"transparent",text:"#C93939",border:" #C93939",boxShadow:"none"},hover:{background:"#FCF5F5",text:"#C93939",border:" #C93939",boxShadow:"none"},active:{background:"#FCF5F5",text:"#C93939",border:" #C93939",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #99989C",boxShadow:"none"}},soft:{default:{background:"transparent",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},active:{background:"#E5ECFD",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},light:{default:{background:"transparent",text:"#535353",border:"#EBEBEB",boxShadow:"none"},hover:{background:"#EEEEEE",text:"#535353",border:"#EBEBEB",boxShadow:"none"},active:{background:"#EEEEEE",text:"#535353",border:"#EBEBEB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}}},empty:{default:{default:{background:"transparent",text:"#101010",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},primary:{default:{background:"transparent",text:"#0042EC",border:"transparent",boxShadow:"none",filledIcon:{background:"#E5ECFD",color:"#0042EC"}},hover:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none",filledIcon:{background:"#0042EC",color:"#ffffff"}},active:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none",filledIcon:{background:"#0042EC",color:"#ffffff"}},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none",filledIcon:{background:"#BEBEBE",color:"#99989C"}}},secondary:{default:{background:"transparent",text:"#101010",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#0042EC",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#0042EC",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},error:{default:{background:"transparent",text:"#C93939",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#E06060",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#A82E2E",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},soft:{default:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#E5ECFD",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#E5ECFD",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},light:{default:{background:"transparent",text:"#535353",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}}},sizes:{small:{fontSize:14,iconSize:16,paddingInline:12,paddingBlock:8,borderRadius:8,borderWidth:1,gap:8},medium:{fontSize:16,iconSize:16,paddingInline:14,paddingBlock:10,borderRadius:10,borderWidth:1,gap:8}}},sidebar:{background:"#FFFFFF",border:"#EBEBEB",width:242,collapsedWidth:65,text:{default:"#535353",active:"#0042EC",hover:"#0042EC"},item:{default:{background:"transparent",border:"transparent",padding:"10px 16px",height:40},active:{background:"#E5ECFD",borderLeft:"2px solid #0042EC",padding:"10px 16px",height:40},hover:{background:"#F3F7FF",border:"transparent",padding:"10px 16px",height:40}},section:{background:"transparent",padding:"16px 16px 8px",title:{color:"#99989C",fontSize:"12px",fontWeight:600}},delimeter:{color:"#C7C5C5",thickness:1,margin:"8px 0"}},contextMenu:{button:{default:{background:"transparent",text:"#101010",border:" #EBEBEB",boxShadow:"none"},hover:{background:"transparent",text:"#0042EC",border:" #EBEBEB",boxShadow:"none"},active:{background:"transparent",text:"#0042EC",border:" #EBEBEB",boxShadow:"none"},disabled:{background:"#FAFAFA",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},delimeter:{color:"#C7C5C5",thickness:1,marginInline:12,marginBlock:3,style:"solid"},shadow:"0px 10px 40px -4px rgba(0, 0, 0, 0.06), 0px 2px 8px -2px rgba(0, 0, 0, 0.04)",padding:6,icon:{size:7}},select:{item:{default:{background:"transparent",text:"#101010",border:" none",boxShadow:"none"},hover:{background:"#F3F4F6",text:"#101010",border:" none",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:" none",boxShadow:"none"},disabled:{background:"#FAFAFA",text:"#99989C",border:" none",boxShadow:"none"}},paddingBlock:6,paddingInline:6,margin:2,padding:8},rowActionsMenu:{button:{default:{background:"transparent",text:"#101010",border:" none",boxShadow:"none"},hover:{background:"transparent",text:"#0042EC",border:" none",boxShadow:"none"},active:{background:"transparent",text:"#0042EC",border:" none",boxShadow:"none"},disabled:{background:"#FAFAFA",text:"#99989C",border:" none",boxShadow:"none"}},delimiterColor:"#C7C5C5",icon:{size:16}},input:{sizes:{empty:{fontSize:14,paddingInline:0,paddingBlock:0,borderRadius:0,iconSize:14,height:"auto",lineHeight:16},small:{fontSize:14,paddingInline:10,paddingBlock:10,borderRadius:5,iconSize:14,height:40,lineHeight:16},medium:{fontSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,iconSize:16,height:40,lineHeight:18}},outlined:{default:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" #EBEBEB",boxShadow:"none",icon:"#101010"},focus:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" #0042EC",boxShadow:"none",icon:"#101010"},error:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" #C93939",boxShadow:"none",icon:"#C93939"},disabled:{background:"#FAFAFA",text:"#99989C",placeholder:"#99989C",border:" #EBEBEB",boxShadow:"none",icon:"#99989C"}},empty:{default:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#101010"},focus:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#101010"},error:{background:"transparent",text:"#101010",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#C93939"},disabled:{background:"#FAFAFA",text:"#99989C",placeholder:"#99989C",border:"transparent",boxShadow:"none",icon:"#99989C"}}},box:{padding:20,borderRadius:8,border:{width:1,style:"solid",color:"#E6E7EB"},background:"#FFFFFF"},graph2D:{ring:{highlightFill:"rgba(255, 165, 0, 0.3)",selectionFill:"rgba(0, 66, 236, 0.3)"},button:{stroke:"#e5e5e5",normalFill:"rgba(255, 255, 255, 0.8)",hoverFill:"rgba(230, 230, 230, 0.9)",textColor:"#99989C",spinnerColor:"#80A0F5"},grid:{dotColor:"rgba(0, 0, 0, 0.5)"},link:{normal:"#999",highlighted:"#ff9900",textColor:"#666",highlightedTextColor:"#663300",textBgColor:"rgba(255, 255, 255, 0.8)",highlightedTextBgColor:"rgba(255, 230, 204, 0.9)"}},contentLoader:{foreground:"#E2E2E2E2",background:"#F3F3F3"},tag:{outlined:{borderRadius:50,paddingBlock:5,paddingInline:10,borderWidth:1,color:{default:"#535353",primary:"#0042EC",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb",text:"#101010",orange:"#d3741b"}},fill:{borderRadius:4,paddingBlock:5,paddingInline:10,borderWidth:0,color:{default:"#535353",primary:"#0042EC",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb",text:"#101010",orange:"#d3741b"}}},alert:{paddingBlock:16,paddingLeft:16,paddingRight:44,borderRadius:5,fontSize:14,gap:12,icon:{width:16,height:14,paddingTop:2},color:{icon:"#FDC700",text:"#894B00",background:"#FFFBE0"}},label:{sizes:{small:{fontSize:14,gap:10,marginBottom:20,helpText:{fontSize:12,marginTop:5}},medium:{fontSize:16,gap:10,marginBottom:25,helpText:{fontSize:14,marginTop:5}}},color:"#101010",helpTextColor:"#99989C"},leanerProgress:{background:"#EBEBEB",progressColor:"#0042EC"},switch:{default:{background:"#C7C5C5",color:"#FFFFFF"},checked:{background:"#0042EC",color:"#FFFFFF"},disabled:{background:"#EBEBEB",color:"#FFFFFF"}},drawer:{padding:20,width:573,shadow:"0px 4px 10px 0px rgba(0, 0, 0, 0.25)"},tooltip:{fontSize:14,padding:10,borderRadius:6,maxWidth:240,shadow:"0px 4px 10px 0px rgba(0, 0, 0, 0.25)",color:"#535353",background:"#EBEBEB"},pagination:{fontSize:14,paddingBlock:4,paddingInline:8,borderRadius:3,gap:6,height:26,iconSize:8},overlay:{paddingBlock:40,gap:6,background:"rgba(16, 16, 16, 0.1)"},modal:{padding:20,width:545,shadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.25)",borderColor:"#EBEBEB",background:"#FFFFFF",borderRadius:8}},l5=p1(s5,s5.baseSize);var d5={mode:"dark",baseSize:14,colors:{background:"#0F1317",backgroundBase:"#000000",primary:{main:"#158EFF",light:"#80A0F5",lighter:"#10253A",lightest:"#020E19",lightest2:"rgba(0, 66, 236, 0.05)",dark:"#80A0F5"},text:{main:"#FFFFFF",light:"#99989C",lighter:"#535353",invert:"#101010",success:"#31B083",error:"#C93939"},stroke:{main:"#34404C",light:"#1E2226",lighter:"#333333"},disable:"#080A0C",success:"#27AE60",error:"#C93939",warning:"#F2994A",info:"#2F80ED"},typography:F1,breakpoints:j,zIndex:y1,line:{size:1,color:"#1E2226"},button:{fill:{default:{default:{background:"#1E2226",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:" #10253A",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:" #10253A",boxShadow:"none"},disabled:{background:"#1E2226",text:"#99989C",border:" #1E2226",boxShadow:"none"}},primary:{default:{background:"#158EFF",text:"#FFFFFF",border:" #158EFF",boxShadow:"none"},hover:{background:"#44a5ff",text:"#FFFFFF",border:" #44a5ff",boxShadow:"none"},active:{background:"#44a5ff",text:"#FFFFFF",border:" #44a5ff",boxShadow:"none"},disabled:{background:"#99989C",text:"#FFFFFF",border:" #10253A",boxShadow:"none"}},secondary:{default:{background:"#1E2226",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:" #10253A",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:" #10253A",boxShadow:"none"},disabled:{background:"#1E2226",text:"#99989C",border:" #1E2226",boxShadow:"none"}},error:{default:{background:"#C93939",text:"#FFFFFF",border:" #C93939",boxShadow:"none"},hover:{background:"#d46161",text:"#FFFFFF",border:" #d46161",boxShadow:"none"},active:{background:"#d46161",text:"#FFFFFF",border:" #d46161",boxShadow:"none"},disabled:{background:"#511616",text:"#FFFFFF",border:" #511616",boxShadow:"none"}},soft:{default:{background:"#80A0F5",text:"#FFFFFF",border:"#80A0F5",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:"#10253A",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:"#10253A",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},light:{default:{background:"#535353",text:"#FFFFFF",border:"#535353",boxShadow:"none"},hover:{background:"#99989C",text:"#FFFFFF",border:"#99989C",boxShadow:"none"},active:{background:"#99989C",text:"#FFFFFF",border:"#99989C",boxShadow:"none"},disabled:{background:"#EBEBEB",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}}},outlined:{default:{default:{background:"transparent",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #1E2226",boxShadow:"none"}},primary:{default:{background:"transparent",text:"#158EFF",border:" #158EFF",boxShadow:"none"},hover:{background:"#10253A",text:"#158EFF",border:" #158EFF",boxShadow:"none"},active:{background:"#10253A",text:"#158EFF",border:" #158EFF",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #99989C",boxShadow:"none"}},secondary:{default:{background:"transparent",text:"#158EFF",border:" #1E2226",boxShadow:"none"},hover:{background:"#10253A",text:"#158EFF",border:" #1E2226",boxShadow:"none"},active:{background:"#10253A",text:"#158EFF",border:" #1E2226",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #1E2226",boxShadow:"none"}},error:{default:{background:"transparent",text:"#C93939",border:" #C93939",boxShadow:"none"},hover:{background:"#290b0b",text:"#C93939",border:" #290b0b",boxShadow:"none"},active:{background:"#290b0b",text:"#C93939",border:" #290b0b",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #99989C",boxShadow:"none"}},soft:{default:{background:"transparent",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},hover:{background:"#1A212D",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},active:{background:"#1A212D",text:"#80A0F5",border:"#80A0F5",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}},light:{default:{background:"transparent",text:"#E8EAEE",border:"#34404C",boxShadow:"none"},hover:{background:"#222A32",text:"#E8EAEE",border:"#34404C",boxShadow:"none"},active:{background:"#222A32",text:"#E8EAEE",border:"#34404C",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",boxShadow:"none"}}},empty:{default:{default:{background:"transparent",text:"#FFFFFF",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#44a5ff",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#44a5ff",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},primary:{default:{background:"transparent",text:"#158EFF",border:"transparent",boxShadow:"none",filledIcon:{background:"#10253A",color:"#158EFF"}},hover:{background:"transparent",text:"#44a5ff",border:"transparent",boxShadow:"none",filledIcon:{background:"#158EFF",color:"#0F1317"}},active:{background:"transparent",text:"#44a5ff",border:"transparent",boxShadow:"none",filledIcon:{background:"#158EFF",color:"#0F1317"}},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none",filledIcon:{background:"#BEBEBE",color:"#99989C"}}},secondary:{default:{background:"transparent",text:"#FFFFFF",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#158EFF",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#158EFF",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},error:{default:{background:"transparent",text:"#C93939",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#d46161",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#d46161",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},soft:{default:{background:"transparent",text:"#80A0F5",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#E5ECFD",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#E5ECFD",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}},light:{default:{background:"transparent",text:"#E8EAEE",border:"transparent",boxShadow:"none"},hover:{background:"transparent",text:"#34404C",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#34404C",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}}},sizes:{small:{fontSize:14,iconSize:16,paddingInline:12,paddingBlock:8,borderRadius:8,borderWidth:1,gap:8},medium:{fontSize:16,iconSize:16,paddingInline:14,paddingBlock:10,borderRadius:10,borderWidth:1,gap:8}}},sidebar:{background:"#0F1317",border:"#1E2226",width:242,collapsedWidth:65,text:{default:"#99989C",active:"#158EFF",hover:"#158EFF"},item:{default:{background:"transparent",border:"transparent",padding:"10px 16px",height:40},active:{background:"#10253A",borderLeft:"2px solid #158EFF",padding:"10px 16px",height:40},hover:{background:"#020E19",border:"transparent",padding:"10px 16px",height:40}},section:{background:"transparent",padding:"16px 16px 8px",title:{color:"#020b14",fontSize:"12px",fontWeight:600}},delimeter:{color:"#34404C",thickness:1,margin:"8px 0"}},contextMenu:{button:{default:{background:"transparent",text:"#FFFFFF",border:" #1E2226",boxShadow:"none"},hover:{background:"transparent",text:"#158EFF",border:" #1E2226",boxShadow:"none"},active:{background:"transparent",text:"#158EFF",border:" #1E2226",boxShadow:"none"},disabled:{background:"#080A0C",text:"#99989C",border:" #1E2226",boxShadow:"none"}},delimeter:{color:"#34404C",thickness:1,marginInline:12,marginBlock:3,style:"solid"},shadow:"0px 10px 40px -4px rgba(0, 0, 0, 0.5), 0px 2px 8px -2px rgba(0, 0, 0, 0.3)",padding:6,icon:{size:7}},select:{item:{default:{background:"transparent",text:"#FFFFFF",border:" none",boxShadow:"none"},hover:{background:"#1E2226",text:"#FFFFFF",border:" none",boxShadow:"none"},active:{background:"#10253A",text:"#FFFFFF",border:" none",boxShadow:"none"},disabled:{background:"#080A0C",text:"#99989C",border:" none",boxShadow:"none"}},paddingBlock:6,paddingInline:6,margin:2,padding:8},rowActionsMenu:{button:{default:{background:"transparent",text:"#FFFFFF",border:" none",boxShadow:"none"},hover:{background:"transparent",text:"#158EFF",border:" none",boxShadow:"none"},active:{background:"transparent",text:"#158EFF",border:" none",boxShadow:"none"},disabled:{background:"#080A0C",text:"#99989C",border:" none",boxShadow:"none"}},delimiterColor:"#34404C",icon:{size:16}},input:{sizes:{empty:{fontSize:14,paddingInline:0,paddingBlock:0,borderRadius:0,iconSize:14,height:"auto",lineHeight:16},small:{fontSize:14,paddingInline:10,paddingBlock:10,borderRadius:5,iconSize:14,height:40,lineHeight:16},medium:{fontSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,iconSize:16,height:40,lineHeight:18}},outlined:{default:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" #1E2226",boxShadow:"none",icon:"#FFFFFF"},focus:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" #158EFF",boxShadow:"none",icon:"#FFFFFF"},error:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" #C93939",boxShadow:"none",icon:"#C93939"},disabled:{background:"#080A0C",text:"#99989C",placeholder:"#99989C",border:" #1E2226",boxShadow:"none",icon:"#99989C"}},empty:{default:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#FFFFFF"},focus:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#FFFFFF"},error:{background:"transparent",text:"#FFFFFF",placeholder:"#99989C",border:" transparent",boxShadow:"none",icon:"#C93939"},disabled:{background:"transparent",text:"#99989C",placeholder:"#99989C",border:"transparent",boxShadow:"none",icon:"#99989C"}}},box:{padding:20,borderRadius:8,border:{width:1,style:"solid",color:"#1E2226"},background:"#0F1317"},graph2D:{ring:{highlightFill:"rgba(0, 90, 255, 0.3)",selectionFill:"rgba(0, 90, 255, 0.5)"},button:{stroke:"#1A1A1A",normalFill:"rgba(0, 0, 0, 0.8)",hoverFill:"rgba(25, 25, 25, 0.9)",textColor:"#99989C",spinnerColor:"#80A0F5"},grid:{dotColor:"rgba(255, 255, 255, 0.5)"},link:{normal:"#666",highlighted:"#0066ff",textColor:"#999",highlightedTextColor:"#99ccff",textBgColor:"rgba(0, 0, 0, 0.8)",highlightedTextBgColor:"rgba(0, 25, 51, 0.9)"}},contentLoader:{foreground:"#99989C",background:"#535353"},tag:{outlined:{borderRadius:50,paddingBlock:5,paddingInline:10,borderWidth:1,color:{default:"#99989C",primary:"#3991FA",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb",text:"#FFFFFF",orange:"#d3741b"}},fill:{borderRadius:4,paddingBlock:5,paddingInline:10,borderWidth:0,color:{default:"#99989C",primary:"#3991FA",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb",text:"#FFFFFF",orange:"#d3741b"}}},alert:{paddingBlock:16,paddingLeft:16,paddingRight:44,borderRadius:5,fontSize:14,gap:12,icon:{width:16,height:14,paddingTop:2},color:{icon:"#FDC700",text:"#FFEDD8",background:"#68550E"}},label:{sizes:{small:{fontSize:14,gap:10,marginBottom:20,helpText:{fontSize:12,marginTop:5}},medium:{fontSize:16,gap:10,marginBottom:25,helpText:{fontSize:14,marginTop:5}}},color:"#ffffff",helpTextColor:"#535353"},leanerProgress:{background:"#1E2226",progressColor:"#158EFF"},switch:{default:{background:"#34404C",color:"#0F1317"},checked:{background:"#158EFF",color:"#0F1317"},disabled:{background:"#1E2226",color:"#0F1317"}},drawer:{padding:20,width:573,shadow:"0px 4px 10px 0px rgba(0, 0, 0, 0.25)"},tooltip:{fontSize:14,padding:10,borderRadius:6,maxWidth:240,shadow:"0px 4px 10px 0px rgba(0, 0, 0, 0.25)",color:"#99989C",background:"#1E2226"},pagination:{fontSize:14,paddingBlock:4,paddingInline:8,borderRadius:3,gap:6,height:26,iconSize:8},overlay:{paddingBlock:40,gap:6,background:"rgba(0, 0, 0, 0.5)"},modal:{padding:20,width:545,shadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.25)",borderColor:"#1E2226",background:"#0F1317",borderRadius:8}},p5=p1(d5,d5.baseSize);var u2=r(o=>{if(typeof window<"u"){let t=window.innerWidth;for(let[i,a]of Object.entries(o))if(t<a)return i}let e=Object.keys(o);return e[e.length-1]},"getBreakpoint"),g5=createContext(u2(j)),b5=r(({children:o})=>{let e=useTheme(),[t,i]=useState(u2(e.breakpoints));return useEffect(()=>{if(typeof window>"u")return;let a=r(()=>{let C=u2(e.breakpoints);C!==t&&i(C);},"handleResize");return window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a);}},[t,e.breakpoints]),jsx(g5.Provider,{value:t,children:o})},"BreakpointProvider"),u5=r(()=>{let o=useContext(g5),e=useTheme(),t=useMemo(()=>Object.keys(e.breakpoints),[e.breakpoints]);return {currentBreakpoint:o,breakpointsOrder:t}},"useBreakpoint");var h5=createGlobalStyle(({theme:o})=>`
2
2
  *, *::before, *::after {
3
3
  box-sizing: border-box;
4
4
  }
@@ -40,15 +40,15 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
40
40
  ${f(e,"padding-left",t.pl,o)}
41
41
  ${f(e,"padding-inline",t.px,o)}
42
42
  ${f(e,"padding-block",t.py,o)}
43
- `),"paddingStyles"),F1=r(o=>{let e={};return ["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py"].forEach(t=>{t in o&&(e[t]=o[t],delete o[t]);}),e},"destructSpaceProps"),f=r((o,e,t,i)=>{if(i&&i.includes(e))return "";if(t!==void 0){return `${e}: ${typeof t=="number"?`${p(t,o.baseSize)}`:t};`}return ""},"generatePropertySpaceStyle");function j4({media:o,...e},t,i){if(!o)return e;let a=i.indexOf(t),C={...e};for(let s=0;s<=a;s++){let l=i[s];o[l]&&(C={...C,...o[l]});}return C}r(j4,"getResponsiveProps");var w=r(o=>K4.forwardRef((e,t)=>{let{currentBreakpoint:i,breakpointsOrder:a}=u5(),C=useMemo(()=>j4(e,i,a),[e,i]);return jsx(o,{...C,ref:t})}),"createComponent"),S=r((o,e)=>C1(o)`
43
+ `),"paddingStyles"),P1=r(o=>{let e={};return ["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py"].forEach(t=>{t in o&&(e[t]=o[t],delete o[t]);}),e},"destructSpaceProps"),f=r((o,e,t,i)=>{if(i&&i.includes(e))return "";if(t!==void 0){return `${e}: ${typeof t=="number"?`${p(t,o.baseSize)}`:t};`}return ""},"generatePropertySpaceStyle");function j4({media:o,...e},t,i){if(!o)return e;let a=i.indexOf(t),C={...e};for(let s=0;s<=a;s++){let l=i[s];o[l]&&(C={...C,...o[l]});}return C}r(j4,"getResponsiveProps");var w=r(o=>K4.forwardRef((e,t)=>{let{currentBreakpoint:i,breakpointsOrder:a}=u5(),C=useMemo(()=>j4(e,i,a),[e,i]);return jsx(o,{...C,ref:t})}),"createComponent"),S=r((o,e)=>C1(o)`
44
44
  ${J4(e)}
45
45
  ${Q4(e)}
46
- `,"createStyledComponent");var eo=r(()=>useTheme(),"useTheme");var P1=r(o=>`
46
+ `,"createStyledComponent");var eo=r(()=>useTheme(),"useTheme");var k1=r(o=>`
47
47
  background: ${o.background};
48
48
  color: ${o.text};
49
49
  border-color: ${o.border};
50
50
  box-shadow: ${o.boxShadow};
51
- `,"getCss"),k1=r(o=>o.filledIcon?`
51
+ `,"getCss"),Z1=r(o=>o.filledIcon?`
52
52
  color: ${o.filledIcon.color};
53
53
  background: ${o.filledIcon.background};
54
54
  `:"","getIconStyles"),t6=C1.div(({$whiteSpace:o})=>`
@@ -61,7 +61,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
61
61
  align-items: center;
62
62
  justify-content: center;
63
63
  `,r6=S(C1.button(({$variant:o,$color:e,$size:t,$disabled:i,$fullWidth:a,$iconPosition:C,$iconVariant:s,$minWidth:l,theme:d,px:c=o!=="empty"?d.button.sizes[t].paddingInline:0,py:b=o!=="empty"?d.button.sizes[t].paddingBlock:0})=>{let u=W(d,t);return `
64
- ${P1(G(d,o,e,"default"))}
64
+ ${k1(G(d,o,e,"default"))}
65
65
  font-size: ${u.fontSize};
66
66
  gap: ${u.gap};
67
67
  ${f(d,"padding-block",b)};
@@ -86,17 +86,17 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
86
86
 
87
87
  @media (hover: hover) {
88
88
  &:hover {
89
- ${P1(G(d,o,e,"hover"))}
89
+ ${k1(G(d,o,e,"hover"))}
90
90
  }
91
91
  }
92
92
 
93
93
 
94
94
  &:active {
95
- ${P1(G(d,o,e,"active"))}
95
+ ${k1(G(d,o,e,"active"))}
96
96
  }
97
97
 
98
98
  &:disabled {
99
- ${P1(G(d,o,e,"disabled"))}
99
+ ${k1(G(d,o,e,"disabled"))}
100
100
  }
101
101
 
102
102
  ${o1} svg {
@@ -110,25 +110,25 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
110
110
  height: 24px;
111
111
  border-radius: ${u.borderRadius};
112
112
  transition: all 0.2s ease;
113
- ${k1(G(d,o,e,"default"))}
113
+ ${Z1(G(d,o,e,"default"))}
114
114
  }
115
115
  @media (hover: hover) {
116
116
  &:hover {
117
117
  ${o1} {
118
- ${k1(G(d,o,e,"hover"))}
118
+ ${Z1(G(d,o,e,"hover"))}
119
119
  }
120
120
  }
121
121
  }
122
122
 
123
123
  &:active {
124
124
  ${o1} {
125
- ${k1(G(d,o,e,"active"))}
125
+ ${Z1(G(d,o,e,"active"))}
126
126
  }
127
127
  }
128
128
 
129
129
  &:disabled {
130
130
  ${o1} {
131
- ${k1(G(d,o,e,"disabled"))}
131
+ ${Z1(G(d,o,e,"disabled"))}
132
132
  }
133
133
  }
134
134
  `:""}
@@ -261,7 +261,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
261
261
  font-size: ${o.typography.variants[e].fontSize};
262
262
  font-weight: ${i};
263
263
  font-style: ${a};
264
- color: ${V1(o,t)||o.colors.text.main};
264
+ color: ${L1(o,t)||o.colors.text.main};
265
265
  ${C?"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;":""}
266
266
  `)),o4=w(({variant:o="body",element:e,children:t,weight:i,fontStyle:a,color:C,className:s,style:l,ellipsis:d=false,...c})=>{let b=e||(o.startsWith("h")?o:"p");return jsx(L0,{as:b,$variant:o,$weight:i,$style:a,$color:C,$ellipsis:d,className:s,style:l,...c,children:t})});var Da=r(({children:o,className:e,width:t=240})=>jsx(F0,{className:e,$width:t,children:o}),"ListMenu"),F0=styled.ul(({theme:o,$width:e})=>`
267
267
  margin: 0;
@@ -396,7 +396,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
396
396
  flex-grow: ${o};
397
397
  flex-shrink: ${e};
398
398
  flex-basis: ${t};
399
- `);var U1=styled.tr``;var i4=styled.th(({theme:o,$p:e,$hasBorder:t})=>`
399
+ `);var Y1=styled.tr``;var i4=styled.th(({theme:o,$p:e,$hasBorder:t})=>`
400
400
  padding-top: ${p(e,o.baseSize)};
401
401
  padding-bottom: 10px;
402
402
  padding-right: ${p(e,o.baseSize)};
@@ -427,7 +427,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
427
427
  text-align: left;
428
428
  line-height: 1.5;
429
429
  color: ${o.colors.text.main};
430
- `);var yC=r(({columns:o,rowCount:e,renderCell:t,renderHeaderCell:i,rowIds:a,hasHeader:C=true,hasBorder:s=true,cellPadding:l=15})=>{let d=o.length,c=useMemo(()=>{let b=[];for(let u=0;u<e;u++){b[u]=[];for(let h=0;h<d;h++)b[u][h]=t({rowIndex:u,cellIndex:h,columnId:o[h].id});}return b},[e,d,o,t]);return jsxs(K0,{children:[C&&!!i&&jsx(q0,{children:jsx(U1,{children:o.map(({id:b,title:u,width:h})=>jsx(i4,{style:{width:h},$p:l,$hasBorder:s,children:i({title:u,columnId:b})},b))})}),jsx(J0,{children:c.map((b,u)=>jsx(U1,{id:a?a[u]:`row-${u}`,children:b.map((h,m)=>jsx(O2,{className:o[m]?.className,$p:l,$hasBorder:s,children:h},`cell-${m}`))},`row-${u}`))})]})},"Table"),K0=styled.table`
430
+ `);var yC=r(({columns:o,rowCount:e,renderCell:t,renderHeaderCell:i,rowIds:a,hasHeader:C=true,hasBorder:s=true,cellPadding:l=15})=>{let d=o.length,c=useMemo(()=>{let b=[];for(let u=0;u<e;u++){b[u]=[];for(let h=0;h<d;h++)b[u][h]=t({rowIndex:u,cellIndex:h,columnId:o[h].id});}return b},[e,d,o,t]);return jsxs(K0,{children:[C&&!!i&&jsx(q0,{children:jsx(Y1,{children:o.map(({id:b,title:u,width:h})=>jsx(i4,{style:{width:h},$p:l,$hasBorder:s,children:i({title:u,columnId:b})},b))})}),jsx(J0,{children:c.map((b,u)=>jsx(Y1,{id:a?a[u]:`row-${u}`,children:b.map((h,m)=>jsx(O2,{className:o[m]?.className,$p:l,$hasBorder:s,children:h},`cell-${m}`))},`row-${u}`))})]})},"Table"),K0=styled.table`
431
431
  width: 100%;
432
432
  border-spacing: 0;
433
433
  table-layout: fixed;
@@ -437,10 +437,10 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
437
437
  top: 0;
438
438
  z-index: 1;
439
439
  `),J0=styled.tbody`
440
- ${U1}:last-of-type > ${O2} {
440
+ ${Y1}:last-of-type > ${O2} {
441
441
  border-color: transparent;
442
442
  }
443
- `;var j0=9,o7=2,e7=5,Y1=1,X1="...",BC=r(({component:o,total_items:e,limit:t,offset:i,paginationPageLimit:a=j0,visiblePageLimit:C=e7,diffPageLimit:s=o7,getHref:l,onChangePage:d})=>{let c=useMemo(()=>i?i/t+1:1,[t,i]),b=Math.ceil(e/t),u=useMemo(()=>{let g=[];if(b<=a)for(let v=1;v<=b;v+=1)g.push(v);else {let H=b;if(g.push(1),c<=C){for(let M=2;M<=C+2;M+=1)g.push(M);g.push(X1,H);}else if(c>C&&c<H-C){g.push(X1);for(let M=c-s;M<=c+s;M+=1)g.push(M);g.push(X1,H);}else {g.push(X1);for(let M=H-C-1;M<=H;M+=1)g.push(M);}}return g},[c,b]),h=useCallback(g=>typeof g=="string"||g===c,[c]),m=useCallback(g=>{h(g)||d?.(g);},[d,h]);return jsxs(r7,{children:[jsx(U2,{"aria-label":"previous page",onClick:g=>{if(!e||c===1){g.preventDefault();return}m(c-Y1);},disabled:c===1,as:o,href:l?l(c-Y1):void 0,children:jsx(w2,{})}),jsx(t7,{children:u.map((g,v)=>jsx("li",{children:jsx(U2,{$current:g===c,onClick:()=>m(g),as:o,href:l?l(Number(g)):void 0,children:g})},`pagination-${g}-${v}`))}),jsx(U2,{"aria-label":"next page",onClick:g=>{if(!e||c===b){g.preventDefault();return}m(c+Y1);},disabled:!e||c===b,as:o,href:l?l(c+Y1):void 0,children:jsx(S2,{})})]})},"Pagination"),t7=styled.div(({theme:o})=>`
443
+ `;var j0=9,o7=2,e7=5,X1=1,K1="...",BC=r(({component:o,total_items:e,limit:t,offset:i,paginationPageLimit:a=j0,visiblePageLimit:C=e7,diffPageLimit:s=o7,getHref:l,onChangePage:d})=>{let c=useMemo(()=>i?i/t+1:1,[t,i]),b=Math.ceil(e/t),u=useMemo(()=>{let g=[];if(b<=a)for(let v=1;v<=b;v+=1)g.push(v);else {let V=b;if(g.push(1),c<=C){for(let M=2;M<=C+2;M+=1)g.push(M);g.push(K1,V);}else if(c>C&&c<V-C){g.push(K1);for(let M=c-s;M<=c+s;M+=1)g.push(M);g.push(K1,V);}else {g.push(K1);for(let M=V-C-1;M<=V;M+=1)g.push(M);}}return g},[c,b]),h=useCallback(g=>typeof g=="string"||g===c,[c]),m=useCallback(g=>{h(g)||d?.(g);},[d,h]);return jsxs(r7,{children:[jsx(U2,{"aria-label":"previous page",onClick:g=>{if(!e||c===1){g.preventDefault();return}m(c-X1);},disabled:c===1,as:o,href:l?l(c-X1):void 0,children:jsx(w2,{})}),jsx(t7,{children:u.map((g,v)=>jsx("li",{children:jsx(U2,{$current:g===c,onClick:()=>m(g),as:o,href:l?l(Number(g)):void 0,children:g})},`pagination-${g}-${v}`))}),jsx(U2,{"aria-label":"next page",onClick:g=>{if(!e||c===b){g.preventDefault();return}m(c+X1);},disabled:!e||c===b,as:o,href:l?l(c+X1):void 0,children:jsx(S2,{})})]})},"Pagination"),t7=styled.div(({theme:o})=>`
444
444
  list-style: none;
445
445
  padding: 0;
446
446
  display: flex;
@@ -473,7 +473,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
473
473
  align-items: center;
474
474
  justify-content: flex-end;
475
475
  gap: ${o.pagination.gap};
476
- `);var s4=r(({isOpen:o,onClickOutside:e,onClick:t,anchor:i,size:a="medium",disabled:C,fullWidth:s,className:l,positions:d=["bottom"],align:c="start",children:b,hasBorder:u=true,maxHeight:h=500,maxWidth:m,matchAnchorWidth:g=false,anchorIcon:v,hasShadow:H=true})=>{let[M,D]=useState(0),z=useRef(null),P=useTheme();return useLayoutEffect(()=>{z.current&&typeof window<"u"&&D(z.current.offsetWidth);},[g]),jsx(Popover,{padding:P.contextMenu.padding,isOpen:o,positions:d,align:c,onClickOutside:e,content:jsx(d7,{children:b}),ref:z,containerStyle:{backgroundColor:P.colors.background,border:`1px solid ${P.colors.stroke.lighter}`,boxShadow:H?P.contextMenu.shadow:void 0,borderRadius:"12px",overflow:"auto",maxHeight:`${h}px`,maxWidth:m?`${m}px`:void 0,zIndex:"9999",width:M&&g?`${M}px`:void 0},containerClassName:"cb-ui-context-menu",children:jsxs(c7,{onClick:t,$disabled:C,$fullWidth:s,$size:a,className:l,type:"button",disabled:C,$hasBorder:u,children:[jsx(p7,{children:i}),v||(o?jsx(I2,{width:P.contextMenu.icon.size,height:P.contextMenu.icon.size}):jsx(E2,{width:P.contextMenu.icon.size,height:P.contextMenu.icon.size}))]})})},"ContextMenu"),d7=styled.div(({theme:o})=>`
476
+ `);var s4=r(({isOpen:o,onClickOutside:e,onClick:t,anchor:i,size:a="medium",disabled:C,fullWidth:s,className:l,positions:d=["bottom"],align:c="start",children:b,hasBorder:u=true,maxHeight:h=500,maxWidth:m,matchAnchorWidth:g=false,anchorIcon:v,hasShadow:V=true})=>{let[M,D]=useState(0),z=useRef(null),P=useTheme();return useLayoutEffect(()=>{z.current&&typeof window<"u"&&D(z.current.offsetWidth);},[g]),jsx(Popover,{padding:P.contextMenu.padding,isOpen:o,positions:d,align:c,onClickOutside:e,content:jsx(d7,{children:b}),ref:z,containerStyle:{backgroundColor:P.colors.background,border:`1px solid ${P.colors.stroke.lighter}`,boxShadow:V?P.contextMenu.shadow:void 0,borderRadius:"12px",overflow:"auto",maxHeight:`${h}px`,maxWidth:m?`${m}px`:void 0,zIndex:"9999",width:M&&g?`${M}px`:void 0},containerClassName:"cb-ui-context-menu",children:jsxs(c7,{onClick:t,$disabled:C,$fullWidth:s,$size:a,className:l,type:"button",disabled:C,$hasBorder:u,children:[jsx(p7,{children:i}),v||(o?jsx(I2,{width:P.contextMenu.icon.size,height:P.contextMenu.icon.size}):jsx(E2,{width:P.contextMenu.icon.size,height:P.contextMenu.icon.size}))]})})},"ContextMenu"),d7=styled.div(({theme:o})=>`
477
477
  padding: 4px;
478
478
  display: flex;
479
479
  flex-direction: column;
@@ -558,7 +558,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
558
558
  border-top-width: ${o.contextMenu.delimeter.thickness};
559
559
  border-top-style: ${o.contextMenu.delimeter.style};
560
560
  border-top-color: ${o.contextMenu.delimeter.color};
561
- `);var l4=r(()=>{let[o,e]=useState(false);return {isOpen:o,toggleMenu:r(()=>{e(C=>!C);},"toggleMenu"),closeMenu:r(()=>{e(false);},"closeMenu"),openMenu:r(()=>{e(true);},"openMenu")}},"useContextMenuControl");var ps=r(({options:o,selected:e,onSelect:t,placeholder:i,disabled:a=false,positions:C=["bottom"],align:s="start",size:l="small",hasBorder:d=true,maxHeight:c,maxWidth:b,matchAnchorWidth:u=true,isSearchable:h=false,...m})=>{let[g,v]=useState(false),[H,M]=useState(""),D=useMemo(()=>{if(!h)return o;let L=H?.trim().toLocaleLowerCase()||"";return o.filter(({value:E,inputDisplay:I})=>String(I||E).toLocaleLowerCase().includes(L))},[o,H,h]),z=useCallback(()=>{a||v(L=>!L);},[]),P="noOptionsMessage"in m?m.noOptionsMessage:"",q="inputPlaceholder"in m?m.inputPlaceholder:"";return jsx(s4,{isOpen:g,onClickOutside:()=>v(false),onClick:z,disabled:a,anchor:h&&g?jsx(x7,{type:"text",value:H,onChange:L=>M(L.target.value),placeholder:q,autoFocus:true,onClick:L=>L.stopPropagation(),$size:l}):e?o.find(L=>L.value===e)?.inputDisplay||e:i,fullWidth:true,positions:C,align:s,size:l,hasBorder:d,maxHeight:c,maxWidth:b,matchAnchorWidth:u,children:jsxs(S7,{children:[D.map(L=>jsx(w7,{onClick:E=>{E.stopPropagation(),t(L.value),h&&M(""),v(false);},type:"button",$selected:L.value===e,disabled:a,$size:l,children:L.inputDisplay||L.value},L.value)),!D.length&&jsx(m7,{$size:l,children:P})]})})},"Select"),x7=styled.input(({theme:o,$size:e})=>`
561
+ `);var l4=r(()=>{let[o,e]=useState(false);return {isOpen:o,toggleMenu:r(()=>{e(C=>!C);},"toggleMenu"),closeMenu:r(()=>{e(false);},"closeMenu"),openMenu:r(()=>{e(true);},"openMenu")}},"useContextMenuControl");var ps=r(({options:o,selected:e,onSelect:t,placeholder:i,disabled:a=false,positions:C=["bottom"],align:s="start",size:l="small",hasBorder:d=true,maxHeight:c,maxWidth:b,matchAnchorWidth:u=true,isSearchable:h=false,...m})=>{let[g,v]=useState(false),[V,M]=useState(""),D=useMemo(()=>{if(!h)return o;let H=V?.trim().toLocaleLowerCase()||"";return o.filter(({value:E,inputDisplay:I})=>String(I||E).toLocaleLowerCase().includes(H))},[o,V,h]),z=useCallback(()=>{a||v(H=>!H);},[]),P="noOptionsMessage"in m?m.noOptionsMessage:"",q="inputPlaceholder"in m?m.inputPlaceholder:"";return jsx(s4,{isOpen:g,onClickOutside:()=>v(false),onClick:z,disabled:a,anchor:h&&g?jsx(x7,{type:"text",value:V,onChange:H=>M(H.target.value),placeholder:q,autoFocus:true,onClick:H=>H.stopPropagation(),$size:l}):e?o.find(H=>H.value===e)?.inputDisplay||e:i,fullWidth:true,positions:C,align:s,size:l,hasBorder:d,maxHeight:c,maxWidth:b,matchAnchorWidth:u,children:jsxs(S7,{children:[D.map(H=>jsx(w7,{onClick:E=>{E.stopPropagation(),t(H.value),h&&M(""),v(false);},type:"button",$selected:H.value===e,disabled:a,$size:l,children:H.inputDisplay||H.value},H.value)),!D.length&&jsx(m7,{$size:l,children:P})]})})},"Select"),x7=styled.input(({theme:o,$size:e})=>`
562
562
  outline: none;
563
563
  border: none;
564
564
  padding: 0;
@@ -666,7 +666,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
666
666
  background: ${o.select.item.hover.background};
667
667
  }
668
668
  }
669
- `);var Q1=w(({className:o,positions:e=["top"],align:t="center",anchorClassName:i,content:a,offset:C=6,children:s,onMouseLeave:l})=>{let[d,c]=useState(false),b=Array.isArray(e)?e[0]:e,u=useCallback(()=>{a&&c(true);},[a]),h=useCallback(()=>{c(false);},[]),m=useCallback(v=>{h(),l?.(v);},[l]),g=useCallback(()=>{a&&c(v=>!v);},[a]);return jsx(Popover,{padding:C,positions:e,isOpen:d,align:t,onClickOutside:h,content:!!a&&jsx(Z7,{className:o,$position:b,$offset:C,children:a}),containerStyle:{zIndex:"9999"},children:jsx(k7,{onMouseEnter:u,onMouseLeave:m,className:i,onTouchStart:g,children:s})})}),k7=styled.div`
669
+ `);var Q1=w(({className:o,positions:e=["top"],align:t="center",anchorClassName:i,content:a,offset:C=6,children:s,onMouseLeave:l,hideOnClick:d=false})=>{let[c,b]=useState(false),u=Array.isArray(e)?e[0]:e,h=useCallback(()=>{a&&b(true);},[a]),m=useCallback(()=>{b(false);},[]),g=useCallback(M=>{m(),l?.(M);},[l]),v=useCallback(()=>{a&&b(M=>!M);},[a]),V=useCallback(()=>{d&&b(false);},[d]);return jsx(Popover,{padding:C,positions:e,isOpen:c,align:t,onClickOutside:m,content:!!a&&jsx(Z7,{className:o,$position:u,$offset:C,children:a}),containerStyle:{zIndex:"9999"},children:jsx(k7,{onMouseEnter:h,onMouseLeave:g,className:i,onClick:V,onTouchStart:v,children:s})})}),k7=styled.div`
670
670
  display: inline-block;
671
671
  `,Z7=styled.div(({theme:o,$position:e,$offset:t})=>`
672
672
  padding: ${o.tooltip.padding};
@@ -699,7 +699,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
699
699
  from { opacity: 0.5; transform: translateX(-${p(t,o.baseSize)}); }
700
700
  to { opacity: 1; transform: translateX(0); }
701
701
  }
702
- `);var u4=forwardRef(r(function({error:e,errorText:t,errorIconPosition:i="after-append",append:a,prepend:C,size:s="small",variant:l="outlined",multiline:d,disabled:c,className:b,errorTooltipProps:u={positions:["top","bottom"],align:"end"},...h},m){let g=t?.trim()||void 0,v=!!e||!!g,H=v?jsx(G7,{$variant:l,$size:s,$hasErrorText:!!g,children:g?jsx(Q1,{content:g,...u,children:jsx(t1,{})}):jsx(t1,{})}):null;return jsxs(R7,{$align:d?"flex-start":"center",className:b,$error:v,$size:s,$variant:l,$disabled:!!c,$multiline:d,children:[!!C&&C,jsx(T7,{$size:s,$variant:l,children:d?jsx(B7,{size:s,disabled:c,...h,ref:m}):jsx(f4,{disabled:c,...h,ref:m})}),i==="after-append"?jsxs(Fragment,{children:[!!a&&a,H]}):jsxs(Fragment,{children:[H,!!a&&a]})]})},"Input")),B7=forwardRef(r(function({size:e="small",disabled:t,className:i,rows:a="1",autoResize:C=false,...s},l){let[d,c]=useState(Number(a)),b=useRef(Number(a)),u=useRef(null),h=useTheme(),m=useRef(C5(h.input.sizes[e].lineHeight,h.baseSize)||h.baseSize);return useEffect(()=>{if(u.current&&C&&typeof window<"u"){let g=u.current.getBoundingClientRect().height,v=Math.round(g/m.current);b.current!==v&&(b.current=v,c(v));}},[s.value,C]),jsxs("div",{style:{position:"relative",width:"100%"},children:[jsx(h4,{disabled:t,$autoResize:C,...s,rows:d,ref:l}),jsx(z7,{ref:u,$size:e,style:{minHeight:m.current*Number(a)},children:(s.value||"")+"\u200B"})]})},"Input")),h4=styled.textarea(({$autoResize:o})=>`
702
+ `);var u4=forwardRef(r(function({error:e,errorText:t,errorIconPosition:i="after-append",append:a,prepend:C,size:s="small",variant:l="outlined",multiline:d,disabled:c,className:b,errorTooltipProps:u={positions:["top","bottom"],align:"end"},...h},m){let g=t?.trim()||void 0,v=!!e||!!g,V=v?jsx(G7,{$variant:l,$size:s,$hasErrorText:!!g,children:g?jsx(Q1,{content:g,...u,children:jsx(t1,{})}):jsx(t1,{})}):null;return jsxs(R7,{$align:d?"flex-start":"center",className:b,$error:v,$size:s,$variant:l,$disabled:!!c,$multiline:d,children:[!!C&&C,jsx(T7,{$size:s,$variant:l,children:d?jsx(B7,{size:s,disabled:c,...h,ref:m}):jsx(f4,{disabled:c,...h,ref:m})}),i==="after-append"?jsxs(Fragment,{children:[!!a&&a,V]}):jsxs(Fragment,{children:[V,!!a&&a]})]})},"Input")),B7=forwardRef(r(function({size:e="small",disabled:t,className:i,rows:a="1",autoResize:C=false,...s},l){let[d,c]=useState(Number(a)),b=useRef(Number(a)),u=useRef(null),h=useTheme(),m=useRef(C5(h.input.sizes[e].lineHeight,h.baseSize)||h.baseSize);return useEffect(()=>{if(u.current&&C&&typeof window<"u"){let g=u.current.getBoundingClientRect().height,v=Math.round(g/m.current);b.current!==v&&(b.current=v,c(v));}},[s.value,C]),jsxs("div",{style:{position:"relative",width:"100%"},children:[jsx(h4,{disabled:t,$autoResize:C,...s,rows:d,ref:l}),jsx(z7,{ref:u,$size:e,style:{minHeight:m.current*Number(a)},children:(s.value||"")+"\u200B"})]})},"Input")),h4=styled.textarea(({$autoResize:o})=>`
703
703
  resize: none;
704
704
  margin: 0;
705
705
  display: block;
@@ -804,7 +804,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
804
804
  background: ${o.input[C].disabled.background};
805
805
  cursor: not-allowed;
806
806
  `}
807
- `);var o2=r(o=>{useEffect(()=>{if(!o||typeof window>"u")return;let e=document.body,t=document.documentElement,i=window.getComputedStyle(e),a=window.innerWidth-t.clientWidth,C=i.paddingRight,s=e.style.overflow,l=t.style.overflow;return e.style.overflow="hidden",t.style.overflow="hidden",e.style.paddingRight=`${parseInt(C)+a}px`,()=>{e.style.overflow=s,t.style.overflow=l,e.style.paddingRight=C;}},[o]);},"useBodyScrollLock"),x4=r(async o=>{let e=[],t=r(async a=>{if(a.isFile){let C=await new Promise((l,d)=>{a.file(l,d);}),s="/"+C.name;C.folder_path=a.fullPath.slice(0,-s.length),e.push(C);}else if(a.isDirectory){let C=a.createReader(),s=r(async()=>{let l=await new Promise((d,c)=>{C.readEntries(d,c);});l.length!==0&&(await Promise.all(l.map(d=>t(d))),await s());},"readEntries");await s();}},"readEntry"),i=Array.from(o);return await Promise.all(i.map(async a=>{let C=a.webkitGetAsEntry();C&&await t(C);})),e},"getFilesFromDataTransfer");var ml=forwardRef(r(function({error:e,variant:t="outlined",multiple:i=false,accept:a,uploadButtonText:C="Files",uploadFolderButtonText:s="Folder",dragDropPlaceholder:l="Drag and drop files here",infoPlaceholder:d,dragDropText:c="Drop to upload",enableFilePreview:b=true,value:u=[],onChange:h,onError:m,disabled:g,className:v,dragDropClassName:H,hasIcon:M=true,hasButton:D=true,onClick:z,...P},q){let[L,E]=useState(false),[I,M1]=useState(false),s1=useRef(null),l1=useRef(null),J=r(x=>{if(i){let F=[...u,...x];h?.(F);}else h?.(x.length>0?[x[0]]:[]);},"handleFiles"),l2=r(x=>{x.preventDefault(),g||E(true);},"handleDragOver"),d2=r(x=>{x.preventDefault(),E(false);},"handleDragLeave"),p2=r(async x=>{if(x.preventDefault(),E(false),!(g||I))try{M1(!0);let F=await x4(x.dataTransfer.items);J(F);}catch(F){console.error("\u041F\u043E\u043C\u0438\u043B\u043A\u0430 \u043F\u0440\u0438 \u0447\u0438\u0442\u0430\u043D\u043D\u0456 \u0444\u0430\u0439\u043B\u0456\u0432:",F);}finally{M1(false);}},"handleDrop"),c2=r(x=>{if(!x.target.files)return;let F=Array.from(x.target.files);x.target.value="",J(F);},"handleInputChange"),d1=r(()=>{!g&&s1.current&&s1.current.click();},"handleUploadClick"),y=r(()=>{!g&&l1.current&&l1.current.click();},"handleFolderUploadClick"),k=r(x=>{if(!x.target.files)return;let F=Array.from(x.target.files).map(Q=>{let U=Q,i5=Q.webkitRelativePath??"",B4="/"+Q.name,a5=i5?i5.slice(0,-B4.length):"";return U.folder_path=a5?"/"+a5:"",U});x.target.value="",J(F);},"handleFolderInputChange"),N=r(x=>{if(g)return;let F=u.filter((Q,U)=>U!==x);h?.(F);},"removeFile"),g2=r(x=>{if(x===0)return "0 Bytes";let F=1024,Q=["Bytes","KB","MB","GB"],U=Math.floor(Math.log(x)/Math.log(F));return parseFloat((x/Math.pow(F,U)).toFixed(2))+" "+Q[U]},"formatFileSize");return jsxs(N7,{className:v,children:[jsxs(W7,{$error:!!e,$variant:t,$disabled:!!g,$isDragOver:L,onDragOver:l2,onDragLeave:d2,onDrop:p2,className:H,onClick:z||d1,children:[jsx(S4,{ref:s1,type:"file",multiple:i,accept:a,onChange:c2,disabled:g||I,onClick:x=>x.stopPropagation(),...P}),jsx(S4,{ref:l1,type:"file",webkitdirectory:"",accept:a,onChange:k,disabled:g||I,onClick:x=>x.stopPropagation()}),jsxs(O7,{children:[M&&(L?jsx("div",{className:"mb-3 flex items-center justify-center w-[50px] h-[50px] border border-gray-200 dark:border-neutral-700 rounded-md",children:jsx(m2,{width:20,className:"-rotate-90"})}):jsx(O,{size:"small",variant:"empty",color:"primary",type:"button",onClick:x=>{x.stopPropagation(),d1();},disabled:g||I,icon:jsx(D2,{color:"currentColor",width:64,className:"shrink-0 w-[64px]! h-[47px]!"}),className:"mb-3"})),jsx("div",{className:"flex flex-wrap items-center justify-center gap-1.25",children:L?jsx(v4,{children:c}):jsxs(Fragment,{children:[jsx(v4,{children:l}),I&&jsx("div",{className:"h-4.5 w-4.5 shrink-0 animate-spin rounded-full border-2 border-blue-500 border-s-transparent"})]})}),!!d&&jsx(_7,{$variant:t,children:d}),D&&!I&&jsxs("div",{className:"flex flex-wrap md:flex-nowrap items-center justify-center gap-2 mt-1",children:[jsx(O,{size:"small",variant:"outlined",color:"default",type:"button",icon:jsx(z2,{}),onClick:x=>{x.stopPropagation(),d1();},disabled:g,className:"text-[14px]! py-1.5!",children:C}),jsx(O,{size:"small",variant:"outlined",color:"default",type:"button",icon:jsx(L2,{}),onClick:x=>{x.stopPropagation(),y();},disabled:g,className:"text-[14px]! py-1.5!",children:s})]}),!!e&&jsxs(U7,{$variant:t,children:[jsx(t1,{}),jsx(o4,{ml:5,color:"error",variant:"body",children:e})]})]})]}),b&&u.length>0&&jsx(Y7,{children:u.map((x,F)=>jsxs(X7,{children:[jsxs(K7,{children:[jsx(q7,{children:x.name}),jsx(J7,{children:g2(x.size)})]}),!g&&jsx(Q7,{type:"button",onClick:()=>N(F),children:"\xD7"})]},`${x.name}-${F}`))})]})},"FileField")),N7=styled.div`
807
+ `);var o2=r(o=>{useEffect(()=>{if(!o||typeof window>"u")return;let e=document.body,t=document.documentElement,i=window.getComputedStyle(e),a=window.innerWidth-t.clientWidth,C=i.paddingRight,s=e.style.overflow,l=t.style.overflow;return e.style.overflow="hidden",t.style.overflow="hidden",e.style.paddingRight=`${parseInt(C)+a}px`,()=>{e.style.overflow=s,t.style.overflow=l,e.style.paddingRight=C;}},[o]);},"useBodyScrollLock"),x4=r(async o=>{let e=[],t=r(async a=>{if(a.isFile){let C=await new Promise((l,d)=>{a.file(l,d);}),s="/"+C.name;C.folder_path=a.fullPath.slice(0,-s.length),e.push(C);}else if(a.isDirectory){let C=a.createReader(),s=r(async()=>{let l=await new Promise((d,c)=>{C.readEntries(d,c);});l.length!==0&&(await Promise.all(l.map(d=>t(d))),await s());},"readEntries");await s();}},"readEntry"),i=Array.from(o);return await Promise.all(i.map(async a=>{let C=a.webkitGetAsEntry();C&&await t(C);})),e},"getFilesFromDataTransfer");var ml=forwardRef(r(function({error:e,variant:t="outlined",multiple:i=false,accept:a,uploadButtonText:C="Files",uploadFolderButtonText:s="Folder",dragDropPlaceholder:l="Drag and drop files here",infoPlaceholder:d,dragDropText:c="Drop to upload",enableFilePreview:b=true,value:u=[],onChange:h,onError:m,disabled:g,className:v,dragDropClassName:V,hasIcon:M=true,hasButton:D=true,onClick:z,...P},q){let[H,E]=useState(false),[I,V1]=useState(false),s1=useRef(null),l1=useRef(null),J=r(x=>{if(i){let F=[...u,...x];h?.(F);}else h?.(x.length>0?[x[0]]:[]);},"handleFiles"),l2=r(x=>{x.preventDefault(),g||E(true);},"handleDragOver"),d2=r(x=>{x.preventDefault(),E(false);},"handleDragLeave"),p2=r(async x=>{if(x.preventDefault(),E(false),!(g||I))try{V1(!0);let F=await x4(x.dataTransfer.items);J(F);}catch(F){console.error("\u041F\u043E\u043C\u0438\u043B\u043A\u0430 \u043F\u0440\u0438 \u0447\u0438\u0442\u0430\u043D\u043D\u0456 \u0444\u0430\u0439\u043B\u0456\u0432:",F);}finally{V1(false);}},"handleDrop"),c2=r(x=>{if(!x.target.files)return;let F=Array.from(x.target.files);x.target.value="",J(F);},"handleInputChange"),d1=r(()=>{!g&&s1.current&&s1.current.click();},"handleUploadClick"),y=r(()=>{!g&&l1.current&&l1.current.click();},"handleFolderUploadClick"),k=r(x=>{if(!x.target.files)return;let F=Array.from(x.target.files).map(Q=>{let U=Q,i5=Q.webkitRelativePath??"",B4="/"+Q.name,a5=i5?i5.slice(0,-B4.length):"";return U.folder_path=a5?"/"+a5:"",U});x.target.value="",J(F);},"handleFolderInputChange"),N=r(x=>{if(g)return;let F=u.filter((Q,U)=>U!==x);h?.(F);},"removeFile"),g2=r(x=>{if(x===0)return "0 Bytes";let F=1024,Q=["Bytes","KB","MB","GB"],U=Math.floor(Math.log(x)/Math.log(F));return parseFloat((x/Math.pow(F,U)).toFixed(2))+" "+Q[U]},"formatFileSize");return jsxs(N7,{className:v,children:[jsxs(W7,{$error:!!e,$variant:t,$disabled:!!g,$isDragOver:H,onDragOver:l2,onDragLeave:d2,onDrop:p2,className:V,onClick:z||d1,children:[jsx(S4,{ref:s1,type:"file",multiple:i,accept:a,onChange:c2,disabled:g||I,onClick:x=>x.stopPropagation(),...P}),jsx(S4,{ref:l1,type:"file",webkitdirectory:"",accept:a,onChange:k,disabled:g||I,onClick:x=>x.stopPropagation()}),jsxs(O7,{children:[M&&(H?jsx("div",{className:"mb-3 flex items-center justify-center w-[50px] h-[50px] border border-gray-200 dark:border-neutral-700 rounded-md",children:jsx(m2,{width:20,className:"-rotate-90"})}):jsx(O,{size:"small",variant:"empty",color:"primary",type:"button",onClick:x=>{x.stopPropagation(),d1();},disabled:g||I,icon:jsx(D2,{color:"currentColor",width:64,className:"shrink-0 w-[64px]! h-[47px]!"}),className:"mb-3"})),jsx("div",{className:"flex flex-wrap items-center justify-center gap-1.25",children:H?jsx(v4,{children:c}):jsxs(Fragment,{children:[jsx(v4,{children:l}),I&&jsx("div",{className:"h-4.5 w-4.5 shrink-0 animate-spin rounded-full border-2 border-blue-500 border-s-transparent"})]})}),!!d&&jsx(_7,{$variant:t,children:d}),D&&!I&&jsxs("div",{className:"flex flex-wrap md:flex-nowrap items-center justify-center gap-2 mt-1",children:[jsx(O,{size:"small",variant:"outlined",color:"default",type:"button",icon:jsx(z2,{}),onClick:x=>{x.stopPropagation(),d1();},disabled:g,className:"text-[14px]! py-1.5!",children:C}),jsx(O,{size:"small",variant:"outlined",color:"default",type:"button",icon:jsx(L2,{}),onClick:x=>{x.stopPropagation(),y();},disabled:g,className:"text-[14px]! py-1.5!",children:s})]}),!!e&&jsxs(U7,{$variant:t,children:[jsx(t1,{}),jsx(o4,{ml:5,color:"error",variant:"body",children:e})]})]})]}),b&&u.length>0&&jsx(Y7,{children:u.map((x,F)=>jsxs(X7,{children:[jsxs(K7,{children:[jsx(q7,{children:x.name}),jsx(J7,{children:g2(x.size)})]}),!g&&jsx(Q7,{type:"button",onClick:()=>N(F),children:"\xD7"})]},`${x.name}-${F}`))})]})},"FileField")),N7=styled.div`
808
808
  width: 100%;
809
809
  `,S4=styled.input`
810
810
  display: none;
@@ -943,7 +943,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
943
943
  background-color: ${o.box.background};
944
944
  border-width: ${e?o.box.border.width:0};
945
945
  border-style: ${o.box.border.style};
946
- border-color: ${V1(o,t)||o.box.border.color};
946
+ border-color: ${L1(o,t)||o.box.border.color};
947
947
  `),{ignoreStyles:["padding-inline","padding-block"]});var ql=w(({direction:o="horizontal",...e})=>jsx(g8,{...e,$direction:o})),g8=S(styled.div(({theme:o,$direction:e})=>`
948
948
  width: ${e==="horizontal"?"100%":o.line.size};
949
949
  height: ${e==="vertical"?"100%":o.line.size};
@@ -1005,7 +1005,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
1005
1005
  border-style: solid;
1006
1006
  border-color: ${l};
1007
1007
  border-radius: ${a?p(a,o.baseSize):o.tag[e].borderRadius};
1008
- background-color: ${e==="outlined"?o.colors.background:L1(l,.05)};
1008
+ background-color: ${e==="outlined"?o.colors.background:H1(l,.05)};
1009
1009
  color: ${l};
1010
1010
 
1011
1011
  ${V4} {
@@ -1016,7 +1016,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
1016
1016
  cursor: pointer;
1017
1017
  transition: color 0.2s ease;
1018
1018
  &:hover {
1019
- color: ${L1(l,.7)};
1019
+ color: ${H1(l,.7)};
1020
1020
  }
1021
1021
  `:""}
1022
1022
  }
@@ -1025,7 +1025,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
1025
1025
  ${f(o,"padding-right",s)};
1026
1026
 
1027
1027
  &:hover {
1028
- color: ${L1(l,.7)};
1028
+ color: ${H1(l,.7)};
1029
1029
  }
1030
1030
  }
1031
1031
  `}),m8=S(x8,{ignoreStyles:["padding-block","padding-inline"]});var xd=w(({title:o,note:e,...t})=>jsxs(V8,{...t,children:[jsx(S8,{children:jsx(x2,{})}),jsxs("div",{children:[!!o&&jsx(v8,{children:o}),!!e&&jsx(M8,{children:e})]})]})),S8=C1.div(({theme:{alert:o}})=>`
@@ -1107,7 +1107,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
1107
1107
 
1108
1108
  gap: ${o.label.sizes[i].gap};
1109
1109
  ${f(o,"margin-bottom",C)};
1110
- `),{ignoreStyles:["margin-bottom"]});var kd=w(({label:o,className:e,disabled:t,...i})=>{let a=F1(i);return jsxs(Z8,{className:e,$disabled:t,...a,children:[jsx(n2,{type:"checkbox",disabled:t,...i}),jsx(r2,{}),!!o&&jsx(k8,{children:o})]})}),r2=C1.div(({theme:o})=>`
1110
+ `),{ignoreStyles:["margin-bottom"]});var kd=w(({label:o,className:e,disabled:t,...i})=>{let a=P1(i);return jsxs(Z8,{className:e,$disabled:t,...a,children:[jsx(n2,{type:"checkbox",disabled:t,...i}),jsx(r2,{}),!!o&&jsx(k8,{children:o})]})}),r2=C1.div(({theme:o})=>`
1111
1111
  width: ${p(15)};
1112
1112
  height: ${p(15)};
1113
1113
  border-radius: ${p(2)};
@@ -1163,7 +1163,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
1163
1163
  background-color: ${o.leanerProgress.progressColor};
1164
1164
  border-radius: ${p(2,o.baseSize)};
1165
1165
  }
1166
- `));var Od=w(({className:o,variant:e="default",size:t="medium",children:i,...a})=>{let C=F1(a);return jsxs(A8,{className:o,...C,children:[jsx(R8,{type:"checkbox",...a,$variant:e,$size:t}),jsx(K,{$variant:e,$size:t}),i]})}),T8=r((o,e)=>{switch(o){case "small":return `
1166
+ `));var Od=w(({className:o,variant:e="default",size:t="medium",children:i,...a})=>{let C=P1(a);return jsxs(A8,{className:o,...C,children:[jsx(R8,{type:"checkbox",...a,$variant:e,$size:t}),jsx(K,{$variant:e,$size:t}),i]})}),T8=r((o,e)=>{switch(o){case "small":return `
1167
1167
  width: ${p(31,e.baseSize)};
1168
1168
  height: ${p(16,e.baseSize)};
1169
1169
  border-radius: ${p(15,e.baseSize)};
@@ -1380,7 +1380,7 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
1380
1380
  box-shadow: ${o.modal.shadow};
1381
1381
  border-radius: ${o.modal.borderRadius};
1382
1382
  }
1383
- `);var a9=r(({variant:o="primary",children:e})=>jsx("button",{className:`px-4 py-2 rounded-md font-medium text-sm transition-colors duration-200 ${{primary:"bg-blue-500 hover:bg-blue-600 text-white",secondary:"bg-gray-500 hover:bg-gray-600 text-white",success:"bg-green-500 hover:bg-green-600 text-white",danger:"bg-red-500 hover:bg-red-600 text-white"}[o]}`,children:e}),"TailwindExample");var oc=r(({multiple:o,value:e,disableImages:t,onChangeImages:i,images:a=[],errorText:C,error:s,onError:l,button:d,prepend:c,fieldClassName:b,onUploadClick:u,shouldOpenUpload:h=false,append:m,className:g,onDropImages:v,header:H,uploadButtonTooltip:M,...D})=>{let [z,P]=useState(false),q=useRef(null);useRef(null);let E=r(y=>{if(!y)return;let k=Array.from(y).filter(N=>N.type.startsWith("image/"));if(k.length===0){l?.("not_image");return}if(v){v(k);return}if(o){let N=[...a,...k];i?.(N);}else i?.(k.length>0?[k[0]]:[]);},"handleFiles"),I=r(y=>{y.preventDefault(),e||P(true);},"handleDragOver"),M1=r(y=>{y.preventDefault(),P(false);},"handleDragLeave"),s1=r(y=>{if(y.preventDefault(),P(false),e||t)return;let k=y.dataTransfer.files;E(k);},"handleDrop"),l1=r(y=>{E(y.target.files);},"handleInputChange"),J=r(()=>{!e&&q.current&&q.current.click();},"handleUploadClick"),l2=r(y=>{let k=a.filter((N,g2)=>g2!==y);i?.(k);},"removeFile"),d2="rounded-lg p-2.5 border bg-white dark:bg-neutral-800",p2="border-gray-200 dark:border-neutral-700",c2="border-blue-300",d1="border-red-500";return useEffect(()=>{h&&J();},[h]),jsxs("div",{className:`${d2} ${s?d1:z&&!t?c2:p2} ${b||""}`,onDragOver:I,onDragLeave:M1,onDrop:s1,children:[!!H&&jsx("div",{className:"flex flex-wrap gap-2 px-2.5",children:H}),a.length?jsx("div",{className:"flex flex-wrap gap-2 p-2.5",children:a.map((y,k)=>{let N=URL.createObjectURL(y);return jsxs("div",{className:"relative w-[82px] h-[76px] pt-1.5 pr-3",children:[jsx("img",{src:N,alt:`preview-${k}`,className:"w-full h-full object-cover"}),jsx("button",{type:"button",onClick:()=>l2(k),className:"absolute top-0 right-0 flex h-5.5 w-5.5 items-center justify-center rounded-full bg-white dark:bg-neutral-800 text-gray-500 dark:text-gray-400 border border-gray-300 dark:border-neutral-600 hover:text-blue-200 group",children:jsx(x1,{className:"w-2.5 h-2.5 block"})})]},`${y.name}-${k}`)})}):jsx(u4,{multiline:true,size:"medium",rows:"2",variant:"empty",className:`[&_textarea]:pb-1! ${g||""}`,value:e,autoResize:true,...D}),jsx("input",{className:"hidden",type:"file",accept:"image/*",ref:q,onChange:l1,disabled:!!e}),jsxs("div",{className:"flex justify-between items-center gap-3 p-2.5",children:[jsxs("div",{className:"flex justify-start items-center gap-3 flex-wrap w-full",children:[!!c&&c,jsx(Q1,{content:M,positions:["top","bottom"],children:jsx(O,{className:"disabled:cursor-not-allowed p-2!",type:"button",onClick:u||J,disabled:!!e||t,"aria-label":"upload file",variant:"outlined",color:"default",icon:jsx(N2,{className:`w-3.5! h-3.5! ${t?"text-gray-300 dark:text-neutral-600":""} fill-current`})})}),!!m&&m]}),!!d&&d]}),!!C&&jsx("p",{className:"pl-2.5 mt-1 text-sm text-red-500",children:C})]})},"ChatField");var ic=r(()=>jsx("div",{className:"w-full bg-gray-200 dark:bg-neutral-700 rounded-full h-1 mt-5.5 overflow-hidden",children:jsx(p9,{className:"h-1.5 rounded-full transition-all duration-300 bg-blue-500",style:{width:"30%"}})}),"ProgressLoader"),p9=styled.div`
1383
+ `);var a9=r(({variant:o="primary",children:e})=>jsx("button",{className:`px-4 py-2 rounded-md font-medium text-sm transition-colors duration-200 ${{primary:"bg-blue-500 hover:bg-blue-600 text-white",secondary:"bg-gray-500 hover:bg-gray-600 text-white",success:"bg-green-500 hover:bg-green-600 text-white",danger:"bg-red-500 hover:bg-red-600 text-white"}[o]}`,children:e}),"TailwindExample");var oc=r(({multiple:o,value:e,disableImages:t,onChangeImages:i,images:a=[],errorText:C,error:s,onError:l,button:d,prepend:c,fieldClassName:b,onUploadClick:u,shouldOpenUpload:h=false,append:m,className:g,onDropImages:v,header:V,uploadButtonTooltip:M,...D})=>{let [z,P]=useState(false),q=useRef(null);useRef(null);let E=r(y=>{if(!y)return;let k=Array.from(y).filter(N=>N.type.startsWith("image/"));if(k.length===0){l?.("not_image");return}if(v){v(k);return}if(o){let N=[...a,...k];i?.(N);}else i?.(k.length>0?[k[0]]:[]);},"handleFiles"),I=r(y=>{y.preventDefault(),e||P(true);},"handleDragOver"),V1=r(y=>{y.preventDefault(),P(false);},"handleDragLeave"),s1=r(y=>{if(y.preventDefault(),P(false),e||t)return;let k=y.dataTransfer.files;E(k);},"handleDrop"),l1=r(y=>{E(y.target.files);},"handleInputChange"),J=r(()=>{!e&&q.current&&q.current.click();},"handleUploadClick"),l2=r(y=>{let k=a.filter((N,g2)=>g2!==y);i?.(k);},"removeFile"),d2="rounded-lg p-2.5 border bg-white dark:bg-neutral-800",p2="border-gray-200 dark:border-neutral-700",c2="border-blue-300",d1="border-red-500";return useEffect(()=>{h&&J();},[h]),jsxs("div",{className:`${d2} ${s?d1:z&&!t?c2:p2} ${b||""}`,onDragOver:I,onDragLeave:V1,onDrop:s1,children:[!!V&&jsx("div",{className:"flex flex-wrap gap-2 px-2.5",children:V}),a.length?jsx("div",{className:"flex flex-wrap gap-2 p-2.5",children:a.map((y,k)=>{let N=URL.createObjectURL(y);return jsxs("div",{className:"relative w-[82px] h-[76px] pt-1.5 pr-3",children:[jsx("img",{src:N,alt:`preview-${k}`,className:"w-full h-full object-cover"}),jsx("button",{type:"button",onClick:()=>l2(k),className:"absolute top-0 right-0 flex h-5.5 w-5.5 items-center justify-center rounded-full bg-white dark:bg-neutral-800 text-gray-500 dark:text-gray-400 border border-gray-300 dark:border-neutral-600 hover:text-blue-200 group",children:jsx(x1,{className:"w-2.5 h-2.5 block"})})]},`${y.name}-${k}`)})}):jsx(u4,{multiline:true,size:"medium",rows:"2",variant:"empty",className:`[&_textarea]:pb-1! ${g||""}`,value:e,autoResize:true,...D}),jsx("input",{className:"hidden",type:"file",accept:"image/*",ref:q,onChange:l1,disabled:!!e}),jsxs("div",{className:"flex justify-between items-center gap-3 p-2.5",children:[jsxs("div",{className:"flex justify-start items-center gap-3 flex-wrap w-full",children:[!!c&&c,jsx(Q1,{content:M,positions:["top","bottom"],children:jsx(O,{className:"disabled:cursor-not-allowed p-2!",type:"button",onClick:u||J,disabled:!!e||t,"aria-label":"upload file",variant:"outlined",color:"default",icon:jsx(N2,{className:`w-3.5! h-3.5! ${t?"text-gray-300 dark:text-neutral-600":""} fill-current`})})}),!!m&&m]}),!!d&&d]}),!!C&&jsx("p",{className:"pl-2.5 mt-1 text-sm text-red-500",children:C})]})},"ChatField");var ic=r(()=>jsx("div",{className:"w-full bg-gray-200 dark:bg-neutral-700 rounded-full h-1 mt-5.5 overflow-hidden",children:jsx(p9,{className:"h-1.5 rounded-full transition-all duration-300 bg-blue-500",style:{width:"30%"}})}),"ProgressLoader"),p9=styled.div`
1384
1384
  @keyframes move {
1385
1385
  0% {
1386
1386
  transform: translateX(-100%);
@@ -1390,5 +1390,5 @@ import K4,{createContext,forwardRef,useState,useCallback,useRef,useMemo,useEffec
1390
1390
  }
1391
1391
  }
1392
1392
  animation: move 1.5s linear infinite;
1393
- `;export{U6 as $,Da as $a,x2 as A,k3 as Aa,Td as Ab,i6 as B,$3 as Ba,Od as Bb,C6 as C,I3 as Ca,ep as Cb,m2 as D,T3 as Da,tp as Db,l6 as E,G3 as Ea,rp as Eb,d6 as F,A3 as Fa,dp as Fb,w2 as G,N3 as Ga,Z4 as Gb,S2 as H,O3 as Ha,kp as Hb,b6 as I,_3 as Ia,Zp as Ib,h6 as J,U3 as Ja,$p as Jb,x6 as K,X3 as Ka,Ep as Kb,w6 as L,K3 as La,a9 as Lb,S6 as M,J3 as Ma,oc as Mb,M6 as N,j3 as Na,ic as Nb,L6 as O,e0 as Oa,y6 as P,t0 as Pa,P6 as Q,r0 as Qa,Z6 as R,i0 as Ra,$6 as S,D2 as Sa,L2 as T,N2 as Ta,I6 as U,C0 as Ua,B6 as V,n1 as Va,z6 as W,Ca as Wa,R6 as X,ba as Xa,A6 as Y,Sa as Ya,N6 as Z,ya as Za,O6 as _,o4 as _a,r as a,X6 as aa,Ua as ab,V1 as b,K6 as ba,Ja as bb,p as c,J6 as ca,rC as cb,C5 as d,j6 as da,CC as db,B as e,o3 as ea,cC as eb,p1 as f,t3 as fa,yC as fb,G as g,n3 as ga,BC as gb,W as h,a3 as ha,s4 as hb,g9 as i,s3 as ia,JC as ib,b9 as j,$2 as ja,l4 as jb,u9 as k,d3 as ka,ps as kb,L1 as l,E2 as la,Fs as lb,s5 as m,I2 as ma,Q1 as mb,l5 as n,p3 as na,Z7 as nb,d5 as o,g3 as oa,u4 as ob,p5 as p,t1 as pa,x4 as pb,b5 as q,u3 as qa,ml as qb,u5 as r,x1 as ra,t8 as rb,N9 as s,f3 as sa,a8 as sb,F1 as t,m3 as ta,Wl as tb,f as u,S3 as ua,ql as ub,j4 as v,v3 as va,od as vb,w,V3 as wa,dd as wb,S as x,H3 as xa,xd as xb,eo as y,F3 as ya,Ld as yb,O as z,z2 as za,kd as zb};//# sourceMappingURL=chunk-I5ITYF6G.mjs.map
1394
- //# sourceMappingURL=chunk-I5ITYF6G.mjs.map
1393
+ `;export{U6 as $,Da as $a,x2 as A,k3 as Aa,Td as Ab,i6 as B,$3 as Ba,Od as Bb,C6 as C,I3 as Ca,ep as Cb,m2 as D,T3 as Da,tp as Db,l6 as E,G3 as Ea,rp as Eb,d6 as F,A3 as Fa,dp as Fb,w2 as G,N3 as Ga,Z4 as Gb,S2 as H,O3 as Ha,kp as Hb,b6 as I,_3 as Ia,Zp as Ib,h6 as J,U3 as Ja,$p as Jb,x6 as K,X3 as Ka,Ep as Kb,w6 as L,K3 as La,a9 as Lb,S6 as M,J3 as Ma,oc as Mb,M6 as N,j3 as Na,ic as Nb,L6 as O,e0 as Oa,y6 as P,t0 as Pa,P6 as Q,r0 as Qa,Z6 as R,i0 as Ra,$6 as S,D2 as Sa,L2 as T,N2 as Ta,I6 as U,C0 as Ua,B6 as V,n1 as Va,z6 as W,Ca as Wa,R6 as X,ba as Xa,A6 as Y,Sa as Ya,N6 as Z,ya as Za,O6 as _,o4 as _a,r as a,X6 as aa,Ua as ab,L1 as b,K6 as ba,Ja as bb,p as c,J6 as ca,rC as cb,C5 as d,j6 as da,CC as db,B as e,o3 as ea,cC as eb,p1 as f,t3 as fa,yC as fb,G as g,n3 as ga,BC as gb,W as h,a3 as ha,s4 as hb,g9 as i,s3 as ia,JC as ib,b9 as j,$2 as ja,l4 as jb,u9 as k,d3 as ka,ps as kb,H1 as l,E2 as la,Fs as lb,s5 as m,I2 as ma,Q1 as mb,l5 as n,p3 as na,Z7 as nb,d5 as o,g3 as oa,u4 as ob,p5 as p,t1 as pa,x4 as pb,b5 as q,u3 as qa,ml as qb,u5 as r,x1 as ra,t8 as rb,N9 as s,f3 as sa,a8 as sb,P1 as t,m3 as ta,Wl as tb,f as u,S3 as ua,ql as ub,j4 as v,v3 as va,od as vb,w,V3 as wa,dd as wb,S as x,H3 as xa,xd as xb,eo as y,F3 as ya,Ld as yb,O as z,z2 as za,kd as zb};//# sourceMappingURL=chunk-I7F6H36J.mjs.map
1394
+ //# sourceMappingURL=chunk-I7F6H36J.mjs.map