@cyber-harbour/ui 1.0.49 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +36 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -36
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/Flex/FlexContainer.tsx +2 -0
- package/src/Theme/themes/dark.ts +4 -0
- package/src/Theme/themes/light.ts +4 -0
- package/src/Theme/types.ts +10 -1
package/dist/index.mjs
CHANGED
|
@@ -11,23 +11,23 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
11
11
|
font-family: ${e.typography.fontFamily};
|
|
12
12
|
font-size: ${e.baseSize}px;
|
|
13
13
|
}
|
|
14
|
-
`);var uo=t((e,o)=>{if(!o||typeof o!="string")return;if(!(o.includes(".")||e.colors.hasOwnProperty(o)))return o;let i=o.split(".");if(i.length===1)return e.colors[i[0]];if(i.length===2){let[a,s]=i,x=e.colors[a];if(x&&typeof x=="object")return x[s]}},"resolveThemeColor"),Y=t((e,o=16)=>{let n=typeof e=="string"?parseFloat(e.replace("px","")):e;return isNaN(n)?(console.warn(`Invalid pixel value: ${e}`),"0"):`${(n/o).toFixed(4).replace(/\.?0+$/,"")}rem`},"pxToRem"),fo=t((e,o=16)=>{let n=typeof e=="string"?parseFloat(e.replace("rem","")):e;return isNaN(n)?0:n*o},"remToPx"),le={contextMenu:["padding"],baseSize:true},x1=t((e,o=14,n)=>{let i={};return Object.entries(e).forEach(([a,s])=>{s!==null&&typeof s=="object"&&!Array.isArray(s)?i[a]=x1(s,o,a):typeof s=="string"&&s.includes("px")||typeof s=="number"&&["fontSize","width","height","padding","margin","gap","borderRadius","size"].some(x=>a.toLowerCase().includes(x.toLowerCase()))&&!(n&&Array.isArray(le[n])&&le[n].includes(a))&&!le[a]?i[a]=Y(s,o):i[a]=s;}),i},"convertPaletteToRem"),q=t((e,o,n,i)=>e.button[o][n][i],"getButtonStyles"),j=t((e,o)=>e.button.sizes[o],"getButtonSizeStyles"),G2=t((e,o,n)=>e.input[o][n],"getInputStyles"),T2=t((e,o="body")=>e.typography.variants[o]||e.typography.variants.body,"getTypographyStyles"),z2=t((e,o="m")=>`@media (min-width: ${e.breakpoints[o]}px)`,"getBreakpoint"),B1=t((e,o)=>{try{let n=parseInt(e.slice(1,3),16),i=parseInt(e.slice(3,5),16),a=parseInt(e.slice(5,7),16);return `rgba(${n}, ${i}, ${a}, ${o})`}catch{return e}},"hexToRgba");var V1={dropdown:1e3,sticky:1020,fixed:1030,backdrop:1040,modal:1050,popover:1060,tooltip:1070},L1={xs:320,s:576,m:768,l:992,xl:1200},G1={fontFamily:"Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;",lineHeight:1.49,variants:{h1:{fontSize:22},h2:{fontSize:16},h3:{fontSize:14},body:{fontSize:12}}};var bo={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)"},text:{main:"#101010",light:"#535353",lighter:"#99989C",invert:"#ffffff"},stroke:{main:"#C7C5C5",light:"#EBEBEB",lighter:"#F3F3F3"},disable:"#FAFAFA",success:"#27AE60",error:"#FF3B30",warning:"#F2994A",info:"#2F80ED"},typography:G1,breakpoints:L1,zIndex:V1,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:"#C53939",text:"#FFFFFF",border:" #C53939",boxShadow:"none"},active:{background:"#C53939",text:"#FFFFFF",border:" #C53939",boxShadow:"none"},disabled:{background:"#FFCCCB",text:"#FFFFFF",border:" #FFCCCB",boxShadow:"none"}}},outlined:{default:{default:{background:"transparent",text:"#101010",border:" #EBEBEB",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:" #EBEBEB",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:" #EBEBEB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",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:" #EBEBEB",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#0042EC",border:" #EBEBEB",boxShadow:"none"},active:{background:"#E5ECFD",text:"#0042EC",border:" #EBEBEB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",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"}}},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:"#FCF5F5",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#FCF5F5",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}}},sizes:{small:{fontSize:14,iconSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,borderWidth:1,gap:10},medium:{fontSize:16,iconSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,borderWidth:1,gap:10}}},sidebar:{background:"#FFFFFF",border:"#EBEBEB",width:224,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 4px 16px rgba(0, 0, 0, 0.1), 0px 2px 4px rgba(0, 0, 0, 0.06)",padding:5,icon:{size:7}},select:{item:{default:{background:"transparent",text:"#101010",border:" none",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:" none",boxShadow:"none"},active:{background:"#E8EAEE",text:"#101010",border:" none",boxShadow:"none"},disabled:{background:"#FAFAFA",text:"#99989C",border:" none",boxShadow:"none"}}},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:"#EBEBEB"},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)"},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"}},fill:{borderRadius:4,paddingBlock:5,paddingInline:10,borderWidth:0,color:{default:"#535353",primary:"#0042EC",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb"}}},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"}}},ho=x1(bo,bo.baseSize);var xo={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)"},text:{main:"#FFFFFF",light:"#99989C",lighter:"#535353",invert:"#101010"},stroke:{main:"#34404C",light:"#1E2226",lighter:"#333333"},disable:"#080A0C",success:"#27AE60",error:"#FF3B30",warning:"#F2994A",info:"#2F80ED"},typography:G1,breakpoints:L1,zIndex:V1,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"}}},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"}}},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"}}},sizes:{small:{fontSize:14,iconSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,borderWidth:1,gap:10},medium:{fontSize:16,iconSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,borderWidth:1,gap:10}}},sidebar:{background:"#0F1317",border:"#1E2226",width:224,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 4px 16px rgba(255, 255, 255, 0.9), 0px 2px 4px rgba(0, 0, 0, 0.06)",padding:5,icon:{size:7}},select:{item:{default:{background:"transparent",text:"#FFFFFF",border:" none",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:" none",boxShadow:"none"},active:{background:"#1E2226",text:"#FFFFFF",border:" none",boxShadow:"none"},disabled:{background:"#080A0C",text:"#99989C",border:" none",boxShadow:"none"}}},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)"},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"}},fill:{borderRadius:4,paddingBlock:5,paddingInline:10,borderWidth:0,color:{default:"#99989C",primary:"#3991FA",error:"#D82323",success:"#38A473",warning:"#DEB839",disabled:"#ebebeb"}}},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"}}},mo=x1(xo,xo.baseSize);var j2=t(({children:e,mode:o})=>jsx(StyleSheetManager,{shouldForwardProp:Mt,children:jsxs(ThemeProvider,{theme:o=="light"||o==="LIGHT"?ho:mo,children:[jsx(go,{}),e]})}),"ThemeProvider");function Mt(e,o){return typeof o=="string"?!["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py"].includes(e):true}t(Mt,"shouldForwardProp");var Bt=t(({ignoreStyles:e}={})=>css(({theme:o,...n})=>`
|
|
15
|
-
${
|
|
16
|
-
${
|
|
17
|
-
${
|
|
18
|
-
${
|
|
19
|
-
${
|
|
20
|
-
${
|
|
21
|
-
${
|
|
14
|
+
`);var uo=t((e,o)=>{if(!o||typeof o!="string")return;if(!(o.includes(".")||e.colors.hasOwnProperty(o)))return o;let i=o.split(".");if(i.length===1)return e.colors[i[0]];if(i.length===2){let[a,s]=i,x=e.colors[a];if(x&&typeof x=="object")return x[s]}},"resolveThemeColor"),Y=t((e,o=16)=>{let n=typeof e=="string"?parseFloat(e.replace("px","")):e;return isNaN(n)?(console.warn(`Invalid pixel value: ${e}`),"0"):`${(n/o).toFixed(4).replace(/\.?0+$/,"")}rem`},"pxToRem"),fo=t((e,o=16)=>{let n=typeof e=="string"?parseFloat(e.replace("rem","")):e;return isNaN(n)?0:n*o},"remToPx"),le={contextMenu:["padding"],baseSize:true},x1=t((e,o=14,n)=>{let i={};return Object.entries(e).forEach(([a,s])=>{s!==null&&typeof s=="object"&&!Array.isArray(s)?i[a]=x1(s,o,a):typeof s=="string"&&s.includes("px")||typeof s=="number"&&["fontSize","width","height","padding","margin","gap","borderRadius","size"].some(x=>a.toLowerCase().includes(x.toLowerCase()))&&!(n&&Array.isArray(le[n])&&le[n].includes(a))&&!le[a]?i[a]=Y(s,o):i[a]=s;}),i},"convertPaletteToRem"),q=t((e,o,n,i)=>e.button[o][n][i],"getButtonStyles"),j=t((e,o)=>e.button.sizes[o],"getButtonSizeStyles"),G2=t((e,o,n)=>e.input[o][n],"getInputStyles"),T2=t((e,o="body")=>e.typography.variants[o]||e.typography.variants.body,"getTypographyStyles"),z2=t((e,o="m")=>`@media (min-width: ${e.breakpoints[o]}px)`,"getBreakpoint"),B1=t((e,o)=>{try{let n=parseInt(e.slice(1,3),16),i=parseInt(e.slice(3,5),16),a=parseInt(e.slice(5,7),16);return `rgba(${n}, ${i}, ${a}, ${o})`}catch{return e}},"hexToRgba");var V1={dropdown:1e3,sticky:1020,fixed:1030,backdrop:1040,modal:1050,popover:1060,tooltip:1070},L1={xs:320,s:576,m:768,l:992,xl:1200},G1={fontFamily:"Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;",lineHeight:1.49,variants:{h1:{fontSize:22},h2:{fontSize:16},h3:{fontSize:14},body:{fontSize:12}}};var bo={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)"},text:{main:"#101010",light:"#535353",lighter:"#99989C",invert:"#ffffff"},stroke:{main:"#C7C5C5",light:"#EBEBEB",lighter:"#F3F3F3"},disable:"#FAFAFA",success:"#27AE60",error:"#FF3B30",warning:"#F2994A",info:"#2F80ED"},typography:G1,breakpoints:L1,zIndex:V1,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:"#C53939",text:"#FFFFFF",border:" #C53939",boxShadow:"none"},active:{background:"#C53939",text:"#FFFFFF",border:" #C53939",boxShadow:"none"},disabled:{background:"#FFCCCB",text:"#FFFFFF",border:" #FFCCCB",boxShadow:"none"}}},outlined:{default:{default:{background:"transparent",text:"#101010",border:" #EBEBEB",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:" #EBEBEB",boxShadow:"none"},active:{background:"#E5ECFD",text:"#101010",border:" #EBEBEB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",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:" #EBEBEB",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#0042EC",border:" #EBEBEB",boxShadow:"none"},active:{background:"#E5ECFD",text:"#0042EC",border:" #EBEBEB",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:" #EBEBEB",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"}}},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:"#FCF5F5",border:"transparent",boxShadow:"none"},active:{background:"transparent",text:"#FCF5F5",border:"transparent",boxShadow:"none"},disabled:{background:"transparent",text:"#99989C",border:"transparent",boxShadow:"none"}}},sizes:{small:{fontSize:14,iconSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,borderWidth:1,gap:10},medium:{fontSize:16,iconSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,borderWidth:1,gap:10}}},sidebar:{background:"#FFFFFF",border:"#EBEBEB",width:224,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 4px 16px rgba(0, 0, 0, 0.1), 0px 2px 4px rgba(0, 0, 0, 0.06)",padding:5,icon:{size:7}},select:{item:{default:{background:"transparent",text:"#101010",border:" none",boxShadow:"none"},hover:{background:"#E5ECFD",text:"#101010",border:" none",boxShadow:"none"},active:{background:"#E8EAEE",text:"#101010",border:" none",boxShadow:"none"},disabled:{background:"#FAFAFA",text:"#99989C",border:" none",boxShadow:"none"}}},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:"#EBEBEB"},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)"},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"}}},ho=x1(bo,bo.baseSize);var xo={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)"},text:{main:"#FFFFFF",light:"#99989C",lighter:"#535353",invert:"#101010"},stroke:{main:"#34404C",light:"#1E2226",lighter:"#333333"},disable:"#080A0C",success:"#27AE60",error:"#FF3B30",warning:"#F2994A",info:"#2F80ED"},typography:G1,breakpoints:L1,zIndex:V1,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"}}},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"}}},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"}}},sizes:{small:{fontSize:14,iconSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,borderWidth:1,gap:10},medium:{fontSize:16,iconSize:16,paddingInline:10,paddingBlock:10,borderRadius:5,borderWidth:1,gap:10}}},sidebar:{background:"#0F1317",border:"#1E2226",width:224,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 4px 16px rgba(255, 255, 255, 0.9), 0px 2px 4px rgba(0, 0, 0, 0.06)",padding:5,icon:{size:7}},select:{item:{default:{background:"transparent",text:"#FFFFFF",border:" none",boxShadow:"none"},hover:{background:"#10253A",text:"#FFFFFF",border:" none",boxShadow:"none"},active:{background:"#1E2226",text:"#FFFFFF",border:" none",boxShadow:"none"},disabled:{background:"#080A0C",text:"#99989C",border:" none",boxShadow:"none"}}},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)"},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:"#894B00",background:"#FFFBE0"}}},mo=x1(xo,xo.baseSize);var j2=t(({children:e,mode:o})=>jsx(StyleSheetManager,{shouldForwardProp:Mt,children:jsxs(ThemeProvider,{theme:o=="light"||o==="LIGHT"?ho:mo,children:[jsx(go,{}),e]})}),"ThemeProvider");function Mt(e,o){return typeof o=="string"?!["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py"].includes(e):true}t(Mt,"shouldForwardProp");var Bt=t(({ignoreStyles:e}={})=>css(({theme:o,...n})=>`
|
|
15
|
+
${$(o,"margin",n.m,e)}
|
|
16
|
+
${$(o,"margin-top",n.mt,e)}
|
|
17
|
+
${$(o,"margin-right",n.mr,e)}
|
|
18
|
+
${$(o,"margin-bottom",n.mb,e)}
|
|
19
|
+
${$(o,"margin-left",n.ml,e)}
|
|
20
|
+
${$(o,"margin-inline",n.mx,e)}
|
|
21
|
+
${$(o,"margin-block",n.my,e)}
|
|
22
22
|
`),"marginStyles"),Vt=t(({ignoreStyles:e}={})=>css(({theme:o,...n})=>`
|
|
23
|
-
${
|
|
24
|
-
${
|
|
25
|
-
${
|
|
26
|
-
${
|
|
27
|
-
${
|
|
28
|
-
${
|
|
29
|
-
${
|
|
30
|
-
`),"paddingStyles")
|
|
23
|
+
${$(o,"padding",n.p,e)}
|
|
24
|
+
${$(o,"padding-top",n.pt,e)}
|
|
25
|
+
${$(o,"padding-right",n.pr,e)}
|
|
26
|
+
${$(o,"padding-bottom",n.pb,e)}
|
|
27
|
+
${$(o,"padding-left",n.pl,e)}
|
|
28
|
+
${$(o,"padding-inline",n.px,e)}
|
|
29
|
+
${$(o,"padding-block",n.py,e)}
|
|
30
|
+
`),"paddingStyles"),$=t((e,o,n,i)=>{if(i&&i.includes(o))return "";if(n!==void 0){return `${o}: ${typeof n=="number"?`${Y(n,e.baseSize)}`:n};`}return ""},"generatePropertySpaceStyle"),W=t((e,o)=>Q1(e)`
|
|
31
31
|
${Bt(o)}
|
|
32
32
|
${Vt(o)}
|
|
33
33
|
`,"createComponent");var T1=t(e=>`
|
|
@@ -51,8 +51,8 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
51
51
|
${T1(q(b,e,o,"default"))}
|
|
52
52
|
font-size: ${S.fontSize};
|
|
53
53
|
gap: ${S.gap};
|
|
54
|
-
${
|
|
55
|
-
${
|
|
54
|
+
${$(b,"padding-block",g)};
|
|
55
|
+
${$(b,"padding-inline",y)};
|
|
56
56
|
border-radius: ${S.borderRadius};
|
|
57
57
|
border-width: ${S.borderWidth};
|
|
58
58
|
border-style: solid;
|
|
@@ -417,7 +417,7 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
417
417
|
position: sticky;
|
|
418
418
|
top: 0;
|
|
419
419
|
z-index: 1;
|
|
420
|
-
`);var U0=9,rt=2,F1=5,nt=1,U1="...",v6=t(({total_items:e,limit:o,offset:n,onChangePage:i})=>{let a=useMemo(()=>n?n/o+1:1,[o,n]),s=Math.ceil(e/o),x=useMemo(()=>{let g=[];if(s<=U0)for(let S=1;S<=s;S+=1)g.push(S);else {let R=s;if(g.push(1),a<=F1){for(let
|
|
420
|
+
`);var U0=9,rt=2,F1=5,nt=1,U1="...",v6=t(({total_items:e,limit:o,offset:n,onChangePage:i})=>{let a=useMemo(()=>n?n/o+1:1,[o,n]),s=Math.ceil(e/o),x=useMemo(()=>{let g=[];if(s<=U0)for(let S=1;S<=s;S+=1)g.push(S);else {let R=s;if(g.push(1),a<=F1){for(let B=2;B<=F1+2;B+=1)g.push(B);g.push(U1,R);}else if(a>F1&&a<R-F1){g.push(U1);for(let B=a-rt;B<=a+rt;B+=1)g.push(B);g.push(U1,R);}else {g.push(U1);for(let B=R-F1-1;B<=R;B+=1)g.push(B);}}return g},[a,s]),b=useCallback(g=>typeof g=="string"||g===a,[a]),y=useCallback(g=>{b(g)||i(g);},[i,b]);return jsxs(J0,{children:[jsx($e,{"aria-label":"previous page",onClick:()=>y(a-nt),disabled:a===1,children:jsx(pe,{})}),jsx(q0,{children:x.map((g,S)=>jsx("li",{children:jsx($e,{$current:g===a,onClick:()=>y(g),children:g})},`pagination-${g}-${S}`))}),jsx($e,{"aria-label":"next page",onClick:()=>y(a+nt),disabled:!e||a===s,children:jsx(ge,{})})]})},"Pagination"),q0=styled.div`
|
|
421
421
|
list-style: none;
|
|
422
422
|
padding: 0;
|
|
423
423
|
display: flex;
|
|
@@ -450,7 +450,7 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
450
450
|
align-items: center;
|
|
451
451
|
justify-content: flex-end;
|
|
452
452
|
gap: 6px;
|
|
453
|
-
`;var it=t(({isOpen:e,onClickOutside:o,onClick:n,anchor:i,size:a="medium",disabled:s,fullWidth:x,className:b,positions:y=["bottom"],align:g="start",children:S,hasBorder:R=true,maxHeight
|
|
453
|
+
`;var it=t(({isOpen:e,onClickOutside:o,onClick:n,anchor:i,size:a="medium",disabled:s,fullWidth:x,className:b,positions:y=["bottom"],align:g="start",children:S,hasBorder:R=true,maxHeight:B=500})=>{let Z=useRef(null),E=useTheme();return jsx(Popover,{padding:E.contextMenu.padding,isOpen:e,positions:y,align:g,onClickOutside:o,content:S,containerStyle:{backgroundColor:E.colors.background,border:`1px solid ${E.colors.stroke.light}`,boxShadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.25)",borderRadius:"5px",overflow:"auto",maxHeight:`${B}px`,zIndex:"9999"},children:jsxs(tn,{ref:Z,onClick:n,$disabled:s,$fullWidth:x,$size:a,className:b,type:"button",disabled:s,$hasBorder:R,children:[jsx("div",{children:i}),e?jsx(Fe,{width:E.contextMenu.icon.size,height:E.contextMenu.icon.size}):jsx(ye,{width:E.contextMenu.icon.size,height:E.contextMenu.icon.size})]})})},"ContextMenu"),tn=styled.button`
|
|
454
454
|
${({$size:e,$disabled:o,$fullWidth:n,theme:i,$hasBorder:a})=>{let s=j(i,e);return `
|
|
455
455
|
background: ${i.contextMenu.button.default.background};
|
|
456
456
|
color: ${i.contextMenu.button.default.text};
|
|
@@ -502,7 +502,7 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
502
502
|
border-top-width: ${e.contextMenu.delimeter.thickness};
|
|
503
503
|
border-top-style: ${e.contextMenu.delimeter.style};
|
|
504
504
|
border-top-color: ${e.contextMenu.delimeter.color};
|
|
505
|
-
`);var at=t(()=>{let[e,o]=useState(false);return {isOpen:e,toggleMenu:t(()=>{o(s=>!s);},"toggleMenu"),closeMenu:t(()=>{o(false);},"closeMenu"),openMenu:t(()=>{o(true);},"openMenu")}},"useContextMenuControl");var e9=t(({options:e,selected:o,handleSelect:n,placeholder:i,disabled:a=false,positions:s=["bottom"],align:x="start",size:b="small",hasBorder:y=true,maxHeight:g})=>{let[S,R]=useState(false)
|
|
505
|
+
`);var at=t(()=>{let[e,o]=useState(false);return {isOpen:e,toggleMenu:t(()=>{o(s=>!s);},"toggleMenu"),closeMenu:t(()=>{o(false);},"closeMenu"),openMenu:t(()=>{o(true);},"openMenu")}},"useContextMenuControl");var e9=t(({options:e,selected:o,handleSelect:n,placeholder:i,disabled:a=false,positions:s=["bottom"],align:x="start",size:b="small",hasBorder:y=true,maxHeight:g})=>{let[S,R]=useState(false),B=useCallback(()=>{a||R(Z=>!Z);},[]);return jsx(it,{isOpen:S,onClickOutside:()=>R(false),onClick:B,disabled:a,anchor:o?e.find(Z=>Z.value===o)?.inputDisplay||o:i,fullWidth:true,positions:s,align:x,size:b,hasBorder:y,maxHeight:g,children:jsx(cn,{children:e.map(Z=>jsx(dn,{onClick:()=>{n(Z.value),R(false);},type:"button",$selected:Z.value===o,disabled:a,$size:b,children:Z.inputDisplay||Z.value},Z.value))})})},"Select"),cn=styled.div`
|
|
506
506
|
padding-block: 7px;
|
|
507
507
|
padding-inline: 5px;
|
|
508
508
|
button:not(:last-of-type) {
|
|
@@ -544,7 +544,7 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
544
544
|
cursor: not-allowed;
|
|
545
545
|
}
|
|
546
546
|
`}}
|
|
547
|
-
`;var x9=t(({size:e="small",disabled:o,className:n,positions:i=["bottom"],align:a="end",items:s})=>{let x=useRef(null),{isOpen:b,closeMenu:y,toggleMenu:g}=at(),S=useTheme();return jsx(Popover,{padding:S.contextMenu.padding,isOpen:b,positions:i,align:a,onClickOutside:y,content:jsx(bn,{children:s.map(({label:R,onClick
|
|
547
|
+
`;var x9=t(({size:e="small",disabled:o,className:n,positions:i=["bottom"],align:a="end",items:s})=>{let x=useRef(null),{isOpen:b,closeMenu:y,toggleMenu:g}=at(),S=useTheme();return jsx(Popover,{padding:S.contextMenu.padding,isOpen:b,positions:i,align:a,onClickOutside:y,content:jsx(bn,{children:s.map(({label:R,onClick:B,color:Z},E)=>jsx(vo,{variant:"empty",color:Z,fullWidth:true,size:e,py:10,px:5,onClick:()=>{B(),y();},children:R},`row-action-${E}`))}),containerStyle:{backgroundColor:S.colors.background,border:`1px solid ${S.colors.stroke.light}`,boxShadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.25)",borderRadius:"5px",zIndex:"9999"},children:jsx(fn,{ref:x,onClick:g,$disabled:o,$size:e,className:n,type:"button",disabled:o,children:jsx(ve,{width:S.rowActionsMenu.icon.size,height:S.rowActionsMenu.icon.size})})})},"RowActionsMenu"),fn=styled.button`
|
|
548
548
|
${({$size:e,$disabled:o,theme:n})=>{let i=j(n,e);return `
|
|
549
549
|
background: ${n.rowActionsMenu.button.default.background};
|
|
550
550
|
color: ${n.rowActionsMenu.button.default.text};
|
|
@@ -600,7 +600,7 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
600
600
|
background-color: ${e.rowActionsMenu.delimiterColor};
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
`);var V9=forwardRef(t(function({error:o,append:n,prepend:i,size:a="small",variant:s="outlined",multiline:x,disabled:b,className:y,...g},S){return jsxs(vn,{$align:x?"flex-start":"center",className:y,$error:o,$size:a,$variant:s,$disabled:!!b,children:[!!i&&i,jsxs(Sn,{$size:a,$variant:s,children:[x?jsx(Cn,{size:a,disabled:b,...g,ref:S}):jsx("input",{disabled:b,...g,ref:S}),!!o&&jsx(wn,{$variant:s,children:jsx(Pe,{})})]}),!!n&&n]})},"Input")),Cn=forwardRef(t(function({size:o="small",disabled:n,className:i,rows:a="1",autoResize:s=false,...x},b){let[y,g]=useState(Number(a)),S=useRef(Number(a)),R=useRef(null)
|
|
603
|
+
`);var V9=forwardRef(t(function({error:o,append:n,prepend:i,size:a="small",variant:s="outlined",multiline:x,disabled:b,className:y,...g},S){return jsxs(vn,{$align:x?"flex-start":"center",className:y,$error:o,$size:a,$variant:s,$disabled:!!b,children:[!!i&&i,jsxs(Sn,{$size:a,$variant:s,children:[x?jsx(Cn,{size:a,disabled:b,...g,ref:S}):jsx("input",{disabled:b,...g,ref:S}),!!o&&jsx(wn,{$variant:s,children:jsx(Pe,{})})]}),!!n&&n]})},"Input")),Cn=forwardRef(t(function({size:o="small",disabled:n,className:i,rows:a="1",autoResize:s=false,...x},b){let[y,g]=useState(Number(a)),S=useRef(Number(a)),R=useRef(null),B=useTheme(),Z=useRef(fo(B.input.sizes[o].lineHeight,B.baseSize)||B.baseSize);return useEffect(()=>{if(R.current&&s){let E=R.current.getBoundingClientRect().height,o1=Math.round(E/Z.current);S.current!==o1&&(S.current=o1,g(o1));}},[x.value]),jsxs("div",{style:{position:"relative",width:"100%"},children:[jsx("textarea",{disabled:n,...x,rows:y,ref:b}),jsx("div",{ref:R,style:{position:"absolute",top:0,left:0,right:0,height:"auto",opacity:0,zIndex:-1,pointerEvents:"none",minHeight:Z.current*Number(a),wordBreak:"break-word",whiteSpace:"pre-wrap"},children:x.value})]})},"Input")),Sn=styled.div(({theme:e,$size:o,$variant:n="outlined"})=>`
|
|
604
604
|
display: inline-flex;
|
|
605
605
|
align-items: center;
|
|
606
606
|
width: 100%;
|
|
@@ -703,7 +703,7 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
703
703
|
`:""}
|
|
704
704
|
|
|
705
705
|
|
|
706
|
-
`);var kn=forwardRef(t(function({children:o,direction:n="row",wrap:i="nowrap",justify:a="flex-start",align:s="stretch",alignContent:x,gap:b,rowGap:y,columnGap:g,className:S,style:R,as
|
|
706
|
+
`);var kn=forwardRef(t(function({children:o,direction:n="row",wrap:i="nowrap",justify:a="flex-start",align:s="stretch",alignContent:x,gap:b,rowGap:y,columnGap:g,className:S,style:R,as:B="div",...Z},E){return jsx(Mn,{as:B,$direction:n,$wrap:i,$justify:a,$align:s,$alignContent:x,$gap:b,$rowGap:y,$columnGap:g,className:S,style:R,ref:E,...Z,children:o})},"FlexContainer")),In=Q1.div`
|
|
707
707
|
${({$direction:e,$wrap:o,$justify:n,$align:i,$alignContent:a,$gap:s,$rowGap:x,$columnGap:b})=>`
|
|
708
708
|
display: flex;
|
|
709
709
|
width: 100%;
|
|
@@ -727,8 +727,8 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
727
727
|
${a!==void 0?`order: ${a};`:""}
|
|
728
728
|
`}
|
|
729
729
|
`;var t7=t(({children:e,...o})=>jsx(Tn,{...o,children:e}),"Box"),Tn=W(styled("div")(({theme:e,px:o=e.box.padding,py:n=e.box.padding})=>`
|
|
730
|
-
${
|
|
731
|
-
${
|
|
730
|
+
${$(e,"padding-inline",o)}
|
|
731
|
+
${$(e,"padding-block",n)}
|
|
732
732
|
border-radius: ${e.box.borderRadius};
|
|
733
733
|
background-color: ${e.box.background};
|
|
734
734
|
border-width: ${e.box.border.width};
|
|
@@ -793,8 +793,8 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
793
793
|
color: ${x};
|
|
794
794
|
|
|
795
795
|
${pt} {
|
|
796
|
-
${
|
|
797
|
-
${
|
|
796
|
+
${$(e,"padding-block",a)};
|
|
797
|
+
${$(e,"padding-inline",s)};
|
|
798
798
|
color: ${x};
|
|
799
799
|
${i?`
|
|
800
800
|
cursor: pointer;
|
|
@@ -805,8 +805,8 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
805
805
|
`:""}
|
|
806
806
|
}
|
|
807
807
|
${gt} {
|
|
808
|
-
${
|
|
809
|
-
${
|
|
808
|
+
${$(e,"padding-block",a)};
|
|
809
|
+
${$(e,"padding-right",s)};
|
|
810
810
|
|
|
811
811
|
&:hover {
|
|
812
812
|
color: ${B1(x,.7)};
|
|
@@ -846,9 +846,9 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
846
846
|
gap: ${e.alert.gap};
|
|
847
847
|
background-color: ${e.alert.color.background};
|
|
848
848
|
border-radius: ${e.alert.borderRadius};
|
|
849
|
-
${
|
|
850
|
-
${
|
|
851
|
-
${
|
|
849
|
+
${$(e,"padding-block",o)};
|
|
850
|
+
${$(e,"padding-right",i)};
|
|
851
|
+
${$(e,"padding-left",n)};
|
|
852
852
|
`),{ignoreStyles:["padding-block","padding-right","padding-left"]});var gl=t(({children:e,header:o,sidebar:n})=>jsxs(Jn,{$withHeader:!!o,$withSidebar:!!n,children:[o,n,jsx(Kn,{children:e})]}),"PageLayout"),Jn=styled.div(({$withHeader:e,$withSidebar:o})=>`
|
|
853
853
|
display: grid;
|
|
854
854
|
min-height: 100dvh;
|
|
@@ -873,7 +873,7 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
873
873
|
min-width: 0;
|
|
874
874
|
background: ${e.colors.backgroundBase};
|
|
875
875
|
`);var wl=t(({maxWidth:e,...o})=>jsx(o2,{...o,$maxWidth:e}),"Container"),o2=W(styled.div(({theme:e,$maxWidth:o,px:n=20})=>`
|
|
876
|
-
${
|
|
876
|
+
${$(e,"padding-inline",n)}
|
|
877
877
|
width: 100%;
|
|
878
878
|
min-width: 0;
|
|
879
879
|
max-width: ${typeof o=="number"?Y(o,e.baseSize):o||"100%"};
|
|
@@ -883,7 +883,7 @@ import Q1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
|
|
|
883
883
|
display: flex;
|
|
884
884
|
align-items: center;
|
|
885
885
|
justify-content: center;
|
|
886
|
-
`,s2=t(({width:e=280,height:o=280})=>{let n=useTheme();return jsx(a2,{children:jsxs(r2,{foregroundColor:n.contentLoader.foreground,backgroundColor:n.contentLoader.background,width:e,height:o,viewBox:"0 0 280 280",children:[jsx("path",{d:"m55 38-0.97266 0.22852 7.0801 30.092-18.355-20.979-0.75195 0.6582 19.596 22.395 0.43164 1.834 0.97266-0.22852 0.75195-0.6582-0.37695-0.42969 9.625-27.912-0.94531-0.32617-9.4375 27.371-0.10547-0.12109zm8 34-0.78516 0.61914 0.0957 0.12305-12.311 13.258 0.73242 0.67969 12.205-13.145 14.277 18.084 0.78516-0.61914-14.373-18.207 0.10547-0.11328zm15 19-0.48438 0.875 46.992 25.996 8e-3 4e-3 20.506 11.592-28.182 4.5449 0.15998 0.98819 29.418-4.7441 0.25 0.14062-12.555 24.143 0.88672 0.46094 13-25 15 25 26 30v18l-11 18 0.85352 0.52148 9.8008-16.039-4.6543 33.518 0.99023 0.13867 4.7793-34.408 7.2305 16.27 0.91406-0.40625-7.9141-17.807v-17.104l18 12.316 0.56445-0.82617-18.896-12.928-25.855-29.836-14.633-24.387 0.01562-0.02344h23.805v-1h-23.152l13.848-21.234 55.201-28.791-0.45898-0.88476 0.77734 0.62305 11.402-14.25 16.668-11.842-0.58008-0.81641-16.785 11.928-11.486 14.355-55.434 28.912-14.277 21.893-7.7617-27.166-0.96094 0.27344 7.7227 27.031-1.1191 0.17969-21.604-12.211zm140.43-12.912-6.957-17.338-0.92773 0.37305 6.957 17.338zm-6.957-17.338 0.72266 0.69336 16.232-16.896-0.7207-0.69336zm-3.4766 137.25 5 15 0.94922-0.31641-5-15zm-91-63-0.48047-0.87695-31 17 0.48047 0.87695zm-31 17 5 18 0.96289-0.26758-5-18zm0 0-0.70703-0.70703-12.898 12.898-17.881 9.9336 0.48633 0.875 18-10zm5 18-0.64062-0.76758-18 15 0.64062 0.76758z"}),jsx("circle",{cx:"229.92",cy:"63.7318",r:"5",transform:"rotate(173.661 229.92 63.7318)"}),jsx("circle",{cx:"227.711",cy:"43.8541",r:"5",transform:"rotate(173.661 227.711 43.8541)"}),jsx("circle",{cx:"211.478",cy:"60.7499",r:"5",transform:"rotate(173.661 211.478 60.7499)"}),jsx("circle",{cx:"218.434",cy:"78.0877",r:"5",transform:"rotate(173.661 218.434 78.0877)"}),jsx("circle",{cx:"246.705",cy:"51.8054",r:"5",transform:"rotate(173.661 246.705 51.8054)"}),jsx("circle",{cx:"42",cy:"48",r:"5"}),jsx("circle",{cx:"55",cy:"38",r:"5"}),jsx("circle",{cx:"73",cy:"43",r:"5"}),jsx("circle",{cx:"63",cy:"72",r:"5"}),jsx("circle",{cx:"50",cy:"86",r:"5"}),jsx("circle",{cx:"78",cy:"91",r:"5"}),jsx("circle",{cx:"73",cy:"165",r:"5"}),jsx("circle",{cx:"73",cy:"185",r:"5"}),jsx("circle",{cx:"91",cy:"170",r:"5"}),jsx("circle",{cx:"86",cy:"152",r:"5"}),jsx("circle",{cx:"148",cy:"130",r:"5"}),jsx("circle",{cx:"189",cy:"185",r:"5"}),jsx("circle",{cx:"163",cy:"107",r:"5"}),jsx("circle",{cx:"140",cy:"102",r:"5"}),jsx("circle",{cx:"117",cy:"135",r:"5"}),jsx("circle",{cx:"125",cy:"117",r:"5"}),jsx("circle",{cx:"208",cy:"198",r:"5"}),jsx("circle",{cx:"189",cy:"203",r:"5"}),jsx("circle",{cx:"198",cy:"221",r:"5"}),jsx("circle",{cx:"178",cy:"221",r:"5"}),jsx("circle",{cx:"184",cy:"239",r:"5"}),jsx("circle",{cx:"213",cy:"213",r:"5"}),jsx("circle",{cx:"173",cy:"130",r:"5"}),jsx("circle",{cx:"163",cy:"155",r:"5"}),jsx("circle",{cx:"135",cy:"155",r:"5"}),jsx("circle",{cx:"55",cy:"175",r:"5"})]})})},"GraphLoader"),bt=s2;function y2(e){return !e||e.length===0?[]:e.map(o=>{let n=new Image;n.src=o.img;let i=new Image;return i.src=o.hoverImg,{...o,normalImg:n,hoverImg:i}})}t(y2,"prepareButtonImages");var V={fontSize:3,nodeSizeBase:30,nodeAreaFactor:2,textPaddingFactor:.9,gridSpacing:20,dotSize:1,maxZoom:4},F2=forwardRef(({loading:e,width:o,height:n,graphData:i,buttons:a=[],onNodeClick:s,onBackgroundClick:x,onNodeHover:b},y)=>{let g=useTheme(),[S,R]=useState(true),[$,Z]=useState(null),[L,o1]=useState(null),[O,j1]=useState(null),{nodes:Re,links:Ze}=useMemo(()=>g2(i),[i]),[K,ee]=useState(null),[Q,mt]=useState([]),[Ae,De]=useState(new Set),[He,Ne]=useState(new Set),[G,l1]=useState({x:0,y:0,k:1}),[I1,We]=useState(false),h1=useRef({x:0,y:0}),oe=useRef(false),H=useRef(null),P=useRef(null),Oe=useRef(null),te=useRef(null),_e=scaleOrdinal(schemeCategory10),Ye=useCallback(()=>{if(!H.current)return false;try{let r=H.current.getContext("2d");return r?(te.current=r,!0):(console.error("Failed to get 2D context"),!1)}catch(r){return console.error("Error initializing Canvas 2D context:",r),false}},[]),c1=useCallback(()=>P.current?P.current.nodes():null,[]),re=useCallback(()=>{if(!P.current)return null;let r=P.current.force("link");return r?r.links():null},[]),Xe=useCallback(r=>{r.save(),r.setTransform(1,0,0,1,0,0);let{width:l,height:c}=r.canvas,d=V.gridSpacing,f=V.dotSize;r.fillStyle=g.graph2D.grid.dotColor;for(let m=0;m<l;m+=d)for(let h=0;h<c;h+=d)r.beginPath(),r.arc(m,h,f,0,2*Math.PI),r.fill();r.restore();},[g.graph2D.grid.dotColor,V.gridSpacing,V.dotSize]),Ct=t((r,l,c)=>{if(!r)return "";if(c.measureText(r).width<=l)return r;let f=r,m="...";for(;c.measureText(f+m).width>l&&f.length>0;)f=f.slice(0,-1);return f+m},"truncateText"),ne=t(r=>{let c=Math.min(r,V.maxZoom)/V.maxZoom;return Math.max(V.fontSize*c,V.fontSize)},"calculateFontSize"),Ue=useCallback(r=>{let l=re(),c=c1();!l||l.length===0||!c||c.length===0||(r.lineWidth=.5,r.globalAlpha=1,l.forEach(d=>{let f=typeof d.source=="object"?d.source:c.find(i1=>i1.id===d.source),m=typeof d.target=="object"?d.target:c.find(i1=>i1.id===d.target);if(!f||!m)return;let h={x:f.x||0,y:f.y||0},p={x:m.x||0,y:m.y||0},C=p.x-h.x,w=p.y-h.y,F=Math.sqrt(C*C+w*w),k=C/F,T=w/F,D=V.nodeSizeBase/2,u=V.nodeSizeBase/2,B=4,v={x:h.x+k*D,y:h.y+T*D},I={x:p.x-k*(u+B),y:p.y-T*(u+B)},z={x:p.x-k*(u+1),y:p.y-T*(u+1)},N=He.has(d),_=N?g.graph2D.link.highlighted:g.graph2D.link.normal,n1=N?1.5:.5,ae=h.x+(p.x-h.x)/2,yt=h.y+(p.y-h.y)/2,$1=Math.atan2(w,C);if(d.label){let i1=G.k,se=ne(i1);r.font=`${se}px Sans-Serif`;let io=r.measureText(d.label).width,ao=10;r.beginPath(),r.moveTo(v.x,v.y);let so=F/2-(io+ao)/2,lo={x:h.x+k*so,y:h.y+T*so};r.lineTo(lo.x,lo.y),r.strokeStyle=_,r.lineWidth=n1,r.stroke(),r.beginPath();let co=F/2+(io+ao)/2,po={x:h.x+k*co,y:h.y+T*co};r.moveTo(po.x,po.y),r.lineTo(I.x,I.y),r.strokeStyle=_,r.lineWidth=n1,r.stroke();}else r.beginPath(),r.moveTo(v.x,v.y),r.lineTo(I.x,I.y),r.strokeStyle=_,r.lineWidth=n1,r.stroke();let no=2;if(r.save(),r.translate(z.x,z.y),r.rotate($1),r.beginPath(),r.moveTo(0,0),r.lineTo(-4,no),r.lineTo(-4,0),r.lineTo(-4,-2),r.closePath(),r.fillStyle=_,r.fill(),r.restore(),d.label){let i1=G.k,se=ne(i1);r.font=`${se}px Sans-Serif`,r.textAlign="center",r.textBaseline="middle",r.save(),r.translate(ae,yt),Math.abs($1)>Math.PI/2?r.rotate($1+Math.PI):r.rotate($1),r.fillStyle=N?g.graph2D.link.highlightedTextColor:g.graph2D.link.textColor,r.fillText(d.label,0,0),r.restore();}}));},[V,G.k,He,g.graph2D.link]),qe=useCallback((r,l)=>{if(!Q||Q.length===0||!r||!r.x||!r.y)return;let{x:c,y:d}=r,f=V.nodeSizeBase*V.nodeAreaFactor/2;l.save();let m=Math.min(Q.length,8),h=Math.min(Math.PI*2/m,Math.PI);for(let p=0;p<m;p++){let C=p*h,w=(p+1)*h,F=K===p;l.beginPath(),l.arc(c,d,f,C,w,false),l.lineTo(c,d),l.closePath(),l.lineWidth=1,l.strokeStyle=g.graph2D?.button?.stroke||"#FFFFFF",l.stroke(),l.fillStyle=F?g.graph2D?.button?.hoverFill||"rgba(255, 255, 255, 0.3)":g.graph2D?.button?.normalFill||"rgba(255, 255, 255, 0.1)",l.fill();let k=f*.2,T=(C+w)/2,D=f-V.nodeSizeBase/2+k,u=c+Math.cos(T)*D,B=d+Math.sin(T)*D,v=Q[p],I=F?v.hoverImg:v.normalImg;if(I.complete)try{l.drawImage(I,u-k/2,B-k/2,k,k);}catch(z){console.warn("Error rendering button icon:",z);}else I.onload=()=>{if(te.current)try{l.drawImage(I,u-k/2,B-k/2,k,k);}catch(z){console.warn("Error rendering button icon after load:",z);}};}l.restore();},[Q,K,V,g.graph2D?.button]),Je=useCallback(r=>{let l=c1();!l||l.length===0||(r.globalAlpha=1,l.forEach(c=>{let{x:d,y:f,color:m,fontColor:h,label:p}=c,C=Ae.has(c)||c===$||c===L,w=c===O,F=V.nodeSizeBase,k=V.nodeSizeBase/2;if(C&&!w){let T=V.nodeSizeBase*V.nodeAreaFactor*.75/2;r.beginPath(),r.arc(d,f,T,0,2*Math.PI,false),r.fillStyle=g.graph2D.ring.highlightFill,r.fill();}if(w)if(a&&a.length>0)qe(c,r);else {let T=V.nodeSizeBase*V.nodeAreaFactor/2;r.beginPath(),r.arc(d,f,T,0,2*Math.PI,false),r.fillStyle=g.graph2D.ring.selectionFill||g.graph2D.ring.highlightFill,r.fill();}if(r.beginPath(),r.arc(d,f,k,0,2*Math.PI),r.fillStyle=m||_e(c.group||"0"),r.fill(),p){r.save(),r.translate(d,f);let T=G.k,D=ne(T),u=F*V.textPaddingFactor;r.font=`${D}px Sans-Serif`,r.textAlign="center",r.textBaseline="middle",r.fillStyle=h||"#000";let B=Ct(p,u,r);r.fillText(B,0,0),r.restore();}}));},[V,_e,$,L,O,Ae,G.k,g.graph2D.ring,a,qe]),t1=useCallback(()=>{let r=te.current;if(!r)return;let l=window.devicePixelRatio||1;r.clearRect(0,0,o*l,n*l),Xe(r),r.save(),r.setTransform(G.k,0,0,G.k,G.x,G.y),Ue(r),Je(r),r.restore();},[o,n,Ue,Je,Xe,G]),Ke=useCallback((r,l=[],c)=>{let d=re()||[],f=c1()||[];if(!P.current||!r.length)return;let m=c?.smoothAppearance??false,h=c?.transitionDuration??1e3,p=new Set(f.map(u=>u.id)),C=r.filter(u=>!p.has(u.id)),w=new Set(d.map(u=>`${typeof u.source=="object"?u.source.id:u.source}-${typeof u.target=="object"?u.target.id:u.target}`)),F=l.filter(u=>{let B=`${typeof u.source=="object"?u.source.id:u.source}-${typeof u.target=="object"?u.target.id:u.target}`;return !w.has(B)});if(C.length===0&&F.length===0)return;let k=[...f,...C],T=[...d,...F];m&&(C.forEach(u=>{let B=F.filter(v=>{let I=typeof v.source=="object"?v.source.id:v.source,z=typeof v.target=="object"?v.target.id:v.target;return I===u.id&&p.has(z)||z===u.id&&p.has(I)});if(B.length>0){let v=B[0],I=typeof v.source=="object"?v.source.id===u.id?v.target:v.source.id:v.source===u.id?v.target:v.source,z=k.find(N=>N.id===I);if(z&&z.x!==void 0&&z.y!==void 0){let N=30+Math.random()*20,_=Math.random()*Math.PI*2;u.x=z.x+Math.cos(_)*N,u.y=z.y+Math.sin(_)*N,u.vx=0,u.vy=0;}}else {let v=o/2,I=n/2,z=Math.min(o,n)/4,N=Math.random()*Math.PI*2;u.x=v+Math.cos(N)*(z*Math.random()),u.y=I+Math.sin(N)*(z*Math.random()),u.vx=0,u.vy=0;}}),f.forEach(u=>{u.fx=u.x,u.fy=u.y;})),P.current.nodes(k);let D=P.current.force("link");D&&D.links(T),F.forEach(u=>{let B=typeof u.source=="object"?u.source:k.find(I=>I.id===u.source),v=typeof u.target=="object"?u.target:k.find(I=>I.id===u.target);!B||!v||(!B.neighbors&&(B.neighbors=[]),!v.neighbors&&(v.neighbors=[]),B.neighbors.push(v),v.neighbors.push(B),!B.links&&(B.links=[]),!v.links&&(v.links=[]),B.links.push(u),v.links.push(u));}),m?(P.current.alphaTarget(.3),P.current.alpha(.3),P.current.velocityDecay(.7),P.current.restart(),setTimeout(()=>{f.forEach(u=>{u.fx=void 0,u.fy=void 0;}),P.current?.alphaTarget(0),P.current?.alpha(.1),P.current?.velocityDecay(.6);},h)):P.current.alpha(.1).restart(),t1();},[i,P,t1,o,n]),Qe=useCallback(r=>{let l=c1(),c=re();if(!P.current||!r.length||!l||l.length===0||!c||c.length===0)return;let d=new Set(r);O&&O.id!==void 0&&d.has(O.id)&&j1(null),$&&$.id!==void 0&&d.has($.id)&&(Z(null),De(new Set),Ne(new Set)),L&&L.id!==void 0&&d.has(L.id)&&o1(null);let f=l.filter(p=>p.id!==void 0&&!d.has(p.id)),m=c.filter(p=>{let C=typeof p.source=="object"?p.source.id:p.source,w=typeof p.target=="object"?p.target.id:p.target;return C!==void 0&&!d.has(C)&&w!==void 0&&!d.has(w)});f.forEach(p=>{p.neighbors=[],p.links=[];}),m.forEach(p=>{let C=typeof p.source=="object"?p.source:f.find(F=>F.id===p.source),w=typeof p.target=="object"?p.target:f.find(F=>F.id===p.target);!C||!w||(C.neighbors=C.neighbors||[],w.neighbors=w.neighbors||[],C.neighbors.push(w),w.neighbors.push(C),C.links=C.links||[],w.links=w.links||[],C.links.push(p),w.links.push(p));}),i.nodes=f,i.links=m,P.current.nodes(f);let h=P.current.force("link");h&&h.links(m),t1();},[O,$,L,i,t1]),M1=useCallback((r=0,l=20)=>{let c=c1();if(!H.current||!c||!c.length)return;let d=1/0,f=1/0,m=-1/0,h=-1/0;if(c.forEach(p=>{if(p.x===void 0||p.y===void 0)return;let C=p.x,w=p.y;d=Math.min(d,C),f=Math.min(f,w),m=Math.max(m,C),h=Math.max(h,w);}),isFinite(d)&&isFinite(m)&&isFinite(f)&&isFinite(h)){let p=o,C=n;d-=l,f-=l,m+=l,h+=l;let w=m-d,F=h-f,k=w>0?p/w:1,T=F>0?C/F:1,D=Math.min(k,T,10),u=d+w/2,B=f+F/2,v={k:D,x:p/2-u*D,y:C/2-B*D};if(r>0){let I={...G},z=Date.now(),N=t(()=>{let _=Math.min(1,(Date.now()-z)/r),n1=_===1?1:1-Math.pow(1-_,3),ae={k:I.k+(v.k-I.k)*n1,x:I.x+(v.x-I.x)*n1,y:I.y+(v.y-I.y)*n1};l1(ae),_<1&&requestAnimationFrame(N);},"animateZoom");requestAnimationFrame(N);}else l1(v);}},[o,n,G]);useEffect(()=>{let r=H.current;if(!r)return;let l=window.devicePixelRatio||1;r.width=o*l,r.height=n*l,r.style.width=`${o}px`,r.style.height=`${n}px`,Ye();let c=o/2,d=n/2,f=V.nodeSizeBase,m=f/2,h=f*2.5,p=P.current=forceSimulation(Re).force("link",forceLink(Ze).id(C=>C.id).distance(h).strength(.9)).force("charge",forceManyBody().strength(-f/10*100).theta(.5).distanceMin(f*2)).force("x",forceX().strength(.03)).force("y",forceY().strength(.03)).force("center",forceCenter(c,d).strength(.05)).force("collide",forceCollide().radius(m*2).iterations(2).strength(1)).velocityDecay(.6);return ()=>{p.stop();}},[o,n,Re,Ze,Ye]),useEffect(()=>{if(P.current){let r=P.current;r.on("tick",()=>{t1();}),r.on("end",()=>{S&&(M1(0,20),setTimeout(()=>{R(false);},200));});}S||t1();},[S,t1,M1]),useEffect(()=>{i&&i.links.forEach(r=>{let l=typeof r.source=="object"?r.source:i.nodes.find(d=>d.id===r.source),c=typeof r.target=="object"?r.target:i.nodes.find(d=>d.id===r.target);!l||!c||(!l.neighbors&&(l.neighbors=[]),!c.neighbors&&(c.neighbors=[]),l.neighbors.push(c),c.neighbors.push(l),!l.links&&(l.links=[]),!c.links&&(c.links=[]),l.links.push(r),c.links.push(r));});},[i]),useEffect(()=>{a&&a.length>0&&mt(y2(a));},[a]);let E1=useCallback((r,l)=>{let c=c1();if(!c||c.length===0)return null;let d=V.nodeSizeBase/2,f=window.devicePixelRatio||1,m=(r*f-G.x)/G.k,h=(l*f-G.y)/G.k;return c.find(p=>{let C=(p.x||0)-m,w=(p.y||0)-h;return Math.sqrt(C*C+w*w)<=d})||null},[G,V.nodeSizeBase]),je=useCallback((r,l,c,d,f,m,h)=>{let p=r-c,C=l-d,w=Math.sqrt(p*p+C*C),F=Math.atan2(C,p);F<0&&(F+=2*Math.PI);let D=w>=f*.5&&w<=f*1,u=false;return m===Math.PI&&h===Math.PI*2?u=F>=Math.PI&&F<=Math.PI*2:m===0&&h===Math.PI?u=F>=0&&F<=Math.PI:u=m<=h&&F>=m&&F<=h||m>h&&(F>=m||F<=h),D&&u},[]),eo=useCallback(r=>{if(r===Oe.current)return;Oe.current=r;let l=new Set,c=new Set;r&&(l.add(r),r.neighbors&&r.neighbors.forEach(d=>l.add(d)),r.links&&r.links.forEach(d=>c.add(d))),Z(r),b&&b(r),De(l),Ne(c);},[b]),oo=useCallback(r=>{j1(r),s&&s(r);},[s]),to=useCallback(()=>{j1(null),x&&x();},[x]),X=useRef(null),r1=useRef(false),St=useCallback(r=>{if(!H.current||!P.current)return;let l=H.current.getBoundingClientRect(),c=r.clientX-l.left,d=r.clientY-l.top;X.current={x:c,y:d},r1.current=false;let f=E1(c,d);f?(o1(f),f.fx=f.x,f.fy=f.y):(We(true),h1.current={x:c,y:d});},[E1]),wt=useCallback(r=>{if(!H.current)return;let l=H.current.getBoundingClientRect(),c=r.clientX-l.left,d=r.clientY-l.top;if(L&&X.current&&P.current){let m=X.current.x,h=X.current.y,p=c-m,C=d-h;Math.sqrt(p*p+C*C)>3&&(r1.current=true,P.current.alphaTarget()===0&&(P.current.alphaTarget(.15).restart(),P.current.velocityDecay(.8)));let k=window.devicePixelRatio||1,T=(c*k-G.x)/G.k,D=(d*k-G.y)/G.k;L.fx=T,L.fy=D,r1.current&&P.current.alpha(.1);return}if(I1&&X.current){let m=c-h1.current.x,h=d-h1.current.y,p=X.current.x,C=X.current.y;Math.sqrt(Math.pow(c-p,2)+Math.pow(d-C,2))>3&&(r1.current=true),l1(k=>({...k,x:k.x+m,y:k.y+h})),h1.current={x:c,y:d};return}let f;if(O&&H.current&&Q.length>0){let m=V.nodeSizeBase*V.nodeAreaFactor/2,h=H.current.width/l.width,p=H.current.height/l.height,C=c*h,w=d*p,F=(C-G.x)/G.k,k=(w-G.y)/G.k,T=O.x||0,D=O.y||0,u=Math.min(Q.length,8),B=Math.min(Math.PI*2/u,Math.PI),v=null;for(let I=0;I<u;I++){let z=I*B,N=(I+1)*B;if(je(F,k,T,D,m,z,N)){v=I;break}}v!==null&&(f=O),ee(v);}else K!==null&&ee(null);f||(f=E1(c,d)),eo(f),H.current&&(H.current.style.cursor=f?"pointer":"default");},[L,E1,I1,G,eo,O,Q,V,K,P,h1,X,r1,je,H,l1,ee]),vt=useCallback(r=>{oe.current&&(r.stopPropagation(),r.preventDefault()),oe.current=false;},[]),ro=useCallback(r=>{let l=r1.current;if(l&&(oe.current=true),!l&&X.current){let c=H.current?.getBoundingClientRect();if(c){r.clientX-c.left;r.clientY-c.top;let m=false;if(O&&K!==null&&a[K]){let h=a[K];h&&h.onClick&&(h.onClick(O),m=true);}!m&&L?oo(L):!m&&!L&&to();}}if(L&&P.current){if(l){P.current.alphaTarget(0);let c=.05,d=.04,f=.6;P.current.alpha(c).alphaDecay(d),P.current.velocityDecay(f);}else P.current.alphaTarget(0);L.fx=void 0,L.fy=void 0,o1(null);}r1.current=false,X.current=null,I1&&We(false);},[L,I1,K,O,a,oo,to]),ie=useCallback(r=>{if(r.stopPropagation(),r.preventDefault(),!H.current)return;let l=H.current.getBoundingClientRect(),c=r.clientX-l.left,d=r.clientY-l.top,m=-r.deltaY>0?1.1:1/1.1;l1(h=>{let p=h.k*m;if(p<.01||p>10)return h;let C=h.k*m,w=c-(c-h.x)*m,F=d-(d-h.y)*m;return {k:C,x:w,y:F}});},[l1]);return useImperativeHandle(y,()=>({zoomToFit:M1,addNodes:Ke,removeNodes:Qe}),[M1,Ke,Qe]),useEffect(()=>{let r=H.current;if(r)return r.addEventListener("wheel",ie,{passive:false}),()=>{r.removeEventListener("wheel",ie);}},[ie]),jsxs(P2,{children:[(e||S)&&jsx(bt,{width:o,height:n}),jsx(k2,{ref:H,style:{width:o,height:n,display:S?"none":"block"},onMouseDown:St,onMouseMove:wt,onMouseUp:ro,onMouseLeave:ro,onClick:vt})]})}),P2=styled.div`
|
|
886
|
+
`,s2=t(({width:e=280,height:o=280})=>{let n=useTheme();return jsx(a2,{children:jsxs(r2,{foregroundColor:n.contentLoader.foreground,backgroundColor:n.contentLoader.background,width:e,height:o,viewBox:"0 0 280 280",children:[jsx("path",{d:"m55 38-0.97266 0.22852 7.0801 30.092-18.355-20.979-0.75195 0.6582 19.596 22.395 0.43164 1.834 0.97266-0.22852 0.75195-0.6582-0.37695-0.42969 9.625-27.912-0.94531-0.32617-9.4375 27.371-0.10547-0.12109zm8 34-0.78516 0.61914 0.0957 0.12305-12.311 13.258 0.73242 0.67969 12.205-13.145 14.277 18.084 0.78516-0.61914-14.373-18.207 0.10547-0.11328zm15 19-0.48438 0.875 46.992 25.996 8e-3 4e-3 20.506 11.592-28.182 4.5449 0.15998 0.98819 29.418-4.7441 0.25 0.14062-12.555 24.143 0.88672 0.46094 13-25 15 25 26 30v18l-11 18 0.85352 0.52148 9.8008-16.039-4.6543 33.518 0.99023 0.13867 4.7793-34.408 7.2305 16.27 0.91406-0.40625-7.9141-17.807v-17.104l18 12.316 0.56445-0.82617-18.896-12.928-25.855-29.836-14.633-24.387 0.01562-0.02344h23.805v-1h-23.152l13.848-21.234 55.201-28.791-0.45898-0.88476 0.77734 0.62305 11.402-14.25 16.668-11.842-0.58008-0.81641-16.785 11.928-11.486 14.355-55.434 28.912-14.277 21.893-7.7617-27.166-0.96094 0.27344 7.7227 27.031-1.1191 0.17969-21.604-12.211zm140.43-12.912-6.957-17.338-0.92773 0.37305 6.957 17.338zm-6.957-17.338 0.72266 0.69336 16.232-16.896-0.7207-0.69336zm-3.4766 137.25 5 15 0.94922-0.31641-5-15zm-91-63-0.48047-0.87695-31 17 0.48047 0.87695zm-31 17 5 18 0.96289-0.26758-5-18zm0 0-0.70703-0.70703-12.898 12.898-17.881 9.9336 0.48633 0.875 18-10zm5 18-0.64062-0.76758-18 15 0.64062 0.76758z"}),jsx("circle",{cx:"229.92",cy:"63.7318",r:"5",transform:"rotate(173.661 229.92 63.7318)"}),jsx("circle",{cx:"227.711",cy:"43.8541",r:"5",transform:"rotate(173.661 227.711 43.8541)"}),jsx("circle",{cx:"211.478",cy:"60.7499",r:"5",transform:"rotate(173.661 211.478 60.7499)"}),jsx("circle",{cx:"218.434",cy:"78.0877",r:"5",transform:"rotate(173.661 218.434 78.0877)"}),jsx("circle",{cx:"246.705",cy:"51.8054",r:"5",transform:"rotate(173.661 246.705 51.8054)"}),jsx("circle",{cx:"42",cy:"48",r:"5"}),jsx("circle",{cx:"55",cy:"38",r:"5"}),jsx("circle",{cx:"73",cy:"43",r:"5"}),jsx("circle",{cx:"63",cy:"72",r:"5"}),jsx("circle",{cx:"50",cy:"86",r:"5"}),jsx("circle",{cx:"78",cy:"91",r:"5"}),jsx("circle",{cx:"73",cy:"165",r:"5"}),jsx("circle",{cx:"73",cy:"185",r:"5"}),jsx("circle",{cx:"91",cy:"170",r:"5"}),jsx("circle",{cx:"86",cy:"152",r:"5"}),jsx("circle",{cx:"148",cy:"130",r:"5"}),jsx("circle",{cx:"189",cy:"185",r:"5"}),jsx("circle",{cx:"163",cy:"107",r:"5"}),jsx("circle",{cx:"140",cy:"102",r:"5"}),jsx("circle",{cx:"117",cy:"135",r:"5"}),jsx("circle",{cx:"125",cy:"117",r:"5"}),jsx("circle",{cx:"208",cy:"198",r:"5"}),jsx("circle",{cx:"189",cy:"203",r:"5"}),jsx("circle",{cx:"198",cy:"221",r:"5"}),jsx("circle",{cx:"178",cy:"221",r:"5"}),jsx("circle",{cx:"184",cy:"239",r:"5"}),jsx("circle",{cx:"213",cy:"213",r:"5"}),jsx("circle",{cx:"173",cy:"130",r:"5"}),jsx("circle",{cx:"163",cy:"155",r:"5"}),jsx("circle",{cx:"135",cy:"155",r:"5"}),jsx("circle",{cx:"55",cy:"175",r:"5"})]})})},"GraphLoader"),bt=s2;function y2(e){return !e||e.length===0?[]:e.map(o=>{let n=new Image;n.src=o.img;let i=new Image;return i.src=o.hoverImg,{...o,normalImg:n,hoverImg:i}})}t(y2,"prepareButtonImages");var L={fontSize:3,nodeSizeBase:30,nodeAreaFactor:2,textPaddingFactor:.9,gridSpacing:20,dotSize:1,maxZoom:4},F2=forwardRef(({loading:e,width:o,height:n,graphData:i,buttons:a=[],onNodeClick:s,onBackgroundClick:x,onNodeHover:b},y)=>{let g=useTheme(),[S,R]=useState(true),[B,Z]=useState(null),[E,o1]=useState(null),[O,j1]=useState(null),{nodes:Re,links:Ze}=useMemo(()=>g2(i),[i]),[K,ee]=useState(null),[Q,mt]=useState([]),[Ae,De]=useState(new Set),[He,Ne]=useState(new Set),[G,l1]=useState({x:0,y:0,k:1}),[I1,We]=useState(false),h1=useRef({x:0,y:0}),oe=useRef(false),H=useRef(null),P=useRef(null),Oe=useRef(null),te=useRef(null),_e=scaleOrdinal(schemeCategory10),Ye=useCallback(()=>{if(!H.current)return false;try{let r=H.current.getContext("2d");return r?(te.current=r,!0):(console.error("Failed to get 2D context"),!1)}catch(r){return console.error("Error initializing Canvas 2D context:",r),false}},[]),c1=useCallback(()=>P.current?P.current.nodes():null,[]),re=useCallback(()=>{if(!P.current)return null;let r=P.current.force("link");return r?r.links():null},[]),Xe=useCallback(r=>{r.save(),r.setTransform(1,0,0,1,0,0);let{width:l,height:c}=r.canvas,d=L.gridSpacing,f=L.dotSize;r.fillStyle=g.graph2D.grid.dotColor;for(let m=0;m<l;m+=d)for(let h=0;h<c;h+=d)r.beginPath(),r.arc(m,h,f,0,2*Math.PI),r.fill();r.restore();},[g.graph2D.grid.dotColor,L.gridSpacing,L.dotSize]),Ct=t((r,l,c)=>{if(!r)return "";if(c.measureText(r).width<=l)return r;let f=r,m="...";for(;c.measureText(f+m).width>l&&f.length>0;)f=f.slice(0,-1);return f+m},"truncateText"),ne=t(r=>{let c=Math.min(r,L.maxZoom)/L.maxZoom;return Math.max(L.fontSize*c,L.fontSize)},"calculateFontSize"),Ue=useCallback(r=>{let l=re(),c=c1();!l||l.length===0||!c||c.length===0||(r.lineWidth=.5,r.globalAlpha=1,l.forEach(d=>{let f=typeof d.source=="object"?d.source:c.find(i1=>i1.id===d.source),m=typeof d.target=="object"?d.target:c.find(i1=>i1.id===d.target);if(!f||!m)return;let h={x:f.x||0,y:f.y||0},p={x:m.x||0,y:m.y||0},C=p.x-h.x,w=p.y-h.y,F=Math.sqrt(C*C+w*w),k=C/F,T=w/F,D=L.nodeSizeBase/2,u=L.nodeSizeBase/2,V=4,v={x:h.x+k*D,y:h.y+T*D},I={x:p.x-k*(u+V),y:p.y-T*(u+V)},z={x:p.x-k*(u+1),y:p.y-T*(u+1)},N=He.has(d),_=N?g.graph2D.link.highlighted:g.graph2D.link.normal,n1=N?1.5:.5,ae=h.x+(p.x-h.x)/2,yt=h.y+(p.y-h.y)/2,$1=Math.atan2(w,C);if(d.label){let i1=G.k,se=ne(i1);r.font=`${se}px Sans-Serif`;let io=r.measureText(d.label).width,ao=10;r.beginPath(),r.moveTo(v.x,v.y);let so=F/2-(io+ao)/2,lo={x:h.x+k*so,y:h.y+T*so};r.lineTo(lo.x,lo.y),r.strokeStyle=_,r.lineWidth=n1,r.stroke(),r.beginPath();let co=F/2+(io+ao)/2,po={x:h.x+k*co,y:h.y+T*co};r.moveTo(po.x,po.y),r.lineTo(I.x,I.y),r.strokeStyle=_,r.lineWidth=n1,r.stroke();}else r.beginPath(),r.moveTo(v.x,v.y),r.lineTo(I.x,I.y),r.strokeStyle=_,r.lineWidth=n1,r.stroke();let no=2;if(r.save(),r.translate(z.x,z.y),r.rotate($1),r.beginPath(),r.moveTo(0,0),r.lineTo(-4,no),r.lineTo(-4,0),r.lineTo(-4,-2),r.closePath(),r.fillStyle=_,r.fill(),r.restore(),d.label){let i1=G.k,se=ne(i1);r.font=`${se}px Sans-Serif`,r.textAlign="center",r.textBaseline="middle",r.save(),r.translate(ae,yt),Math.abs($1)>Math.PI/2?r.rotate($1+Math.PI):r.rotate($1),r.fillStyle=N?g.graph2D.link.highlightedTextColor:g.graph2D.link.textColor,r.fillText(d.label,0,0),r.restore();}}));},[L,G.k,He,g.graph2D.link]),qe=useCallback((r,l)=>{if(!Q||Q.length===0||!r||!r.x||!r.y)return;let{x:c,y:d}=r,f=L.nodeSizeBase*L.nodeAreaFactor/2;l.save();let m=Math.min(Q.length,8),h=Math.min(Math.PI*2/m,Math.PI);for(let p=0;p<m;p++){let C=p*h,w=(p+1)*h,F=K===p;l.beginPath(),l.arc(c,d,f,C,w,false),l.lineTo(c,d),l.closePath(),l.lineWidth=1,l.strokeStyle=g.graph2D?.button?.stroke||"#FFFFFF",l.stroke(),l.fillStyle=F?g.graph2D?.button?.hoverFill||"rgba(255, 255, 255, 0.3)":g.graph2D?.button?.normalFill||"rgba(255, 255, 255, 0.1)",l.fill();let k=f*.2,T=(C+w)/2,D=f-L.nodeSizeBase/2+k,u=c+Math.cos(T)*D,V=d+Math.sin(T)*D,v=Q[p],I=F?v.hoverImg:v.normalImg;if(I.complete)try{l.drawImage(I,u-k/2,V-k/2,k,k);}catch(z){console.warn("Error rendering button icon:",z);}else I.onload=()=>{if(te.current)try{l.drawImage(I,u-k/2,V-k/2,k,k);}catch(z){console.warn("Error rendering button icon after load:",z);}};}l.restore();},[Q,K,L,g.graph2D?.button]),Je=useCallback(r=>{let l=c1();!l||l.length===0||(r.globalAlpha=1,l.forEach(c=>{let{x:d,y:f,color:m,fontColor:h,label:p}=c,C=Ae.has(c)||c===B||c===E,w=c===O,F=L.nodeSizeBase,k=L.nodeSizeBase/2;if(C&&!w){let T=L.nodeSizeBase*L.nodeAreaFactor*.75/2;r.beginPath(),r.arc(d,f,T,0,2*Math.PI,false),r.fillStyle=g.graph2D.ring.highlightFill,r.fill();}if(w)if(a&&a.length>0)qe(c,r);else {let T=L.nodeSizeBase*L.nodeAreaFactor/2;r.beginPath(),r.arc(d,f,T,0,2*Math.PI,false),r.fillStyle=g.graph2D.ring.selectionFill||g.graph2D.ring.highlightFill,r.fill();}if(r.beginPath(),r.arc(d,f,k,0,2*Math.PI),r.fillStyle=m||_e(c.group||"0"),r.fill(),p){r.save(),r.translate(d,f);let T=G.k,D=ne(T),u=F*L.textPaddingFactor;r.font=`${D}px Sans-Serif`,r.textAlign="center",r.textBaseline="middle",r.fillStyle=h||"#000";let V=Ct(p,u,r);r.fillText(V,0,0),r.restore();}}));},[L,_e,B,E,O,Ae,G.k,g.graph2D.ring,a,qe]),t1=useCallback(()=>{let r=te.current;if(!r)return;let l=window.devicePixelRatio||1;r.clearRect(0,0,o*l,n*l),Xe(r),r.save(),r.setTransform(G.k,0,0,G.k,G.x,G.y),Ue(r),Je(r),r.restore();},[o,n,Ue,Je,Xe,G]),Ke=useCallback((r,l=[],c)=>{let d=re()||[],f=c1()||[];if(!P.current||!r.length)return;let m=c?.smoothAppearance??false,h=c?.transitionDuration??1e3,p=new Set(f.map(u=>u.id)),C=r.filter(u=>!p.has(u.id)),w=new Set(d.map(u=>`${typeof u.source=="object"?u.source.id:u.source}-${typeof u.target=="object"?u.target.id:u.target}`)),F=l.filter(u=>{let V=`${typeof u.source=="object"?u.source.id:u.source}-${typeof u.target=="object"?u.target.id:u.target}`;return !w.has(V)});if(C.length===0&&F.length===0)return;let k=[...f,...C],T=[...d,...F];m&&(C.forEach(u=>{let V=F.filter(v=>{let I=typeof v.source=="object"?v.source.id:v.source,z=typeof v.target=="object"?v.target.id:v.target;return I===u.id&&p.has(z)||z===u.id&&p.has(I)});if(V.length>0){let v=V[0],I=typeof v.source=="object"?v.source.id===u.id?v.target:v.source.id:v.source===u.id?v.target:v.source,z=k.find(N=>N.id===I);if(z&&z.x!==void 0&&z.y!==void 0){let N=30+Math.random()*20,_=Math.random()*Math.PI*2;u.x=z.x+Math.cos(_)*N,u.y=z.y+Math.sin(_)*N,u.vx=0,u.vy=0;}}else {let v=o/2,I=n/2,z=Math.min(o,n)/4,N=Math.random()*Math.PI*2;u.x=v+Math.cos(N)*(z*Math.random()),u.y=I+Math.sin(N)*(z*Math.random()),u.vx=0,u.vy=0;}}),f.forEach(u=>{u.fx=u.x,u.fy=u.y;})),P.current.nodes(k);let D=P.current.force("link");D&&D.links(T),F.forEach(u=>{let V=typeof u.source=="object"?u.source:k.find(I=>I.id===u.source),v=typeof u.target=="object"?u.target:k.find(I=>I.id===u.target);!V||!v||(!V.neighbors&&(V.neighbors=[]),!v.neighbors&&(v.neighbors=[]),V.neighbors.push(v),v.neighbors.push(V),!V.links&&(V.links=[]),!v.links&&(v.links=[]),V.links.push(u),v.links.push(u));}),m?(P.current.alphaTarget(.3),P.current.alpha(.3),P.current.velocityDecay(.7),P.current.restart(),setTimeout(()=>{f.forEach(u=>{u.fx=void 0,u.fy=void 0;}),P.current?.alphaTarget(0),P.current?.alpha(.1),P.current?.velocityDecay(.6);},h)):P.current.alpha(.1).restart(),t1();},[i,P,t1,o,n]),Qe=useCallback(r=>{let l=c1(),c=re();if(!P.current||!r.length||!l||l.length===0||!c||c.length===0)return;let d=new Set(r);O&&O.id!==void 0&&d.has(O.id)&&j1(null),B&&B.id!==void 0&&d.has(B.id)&&(Z(null),De(new Set),Ne(new Set)),E&&E.id!==void 0&&d.has(E.id)&&o1(null);let f=l.filter(p=>p.id!==void 0&&!d.has(p.id)),m=c.filter(p=>{let C=typeof p.source=="object"?p.source.id:p.source,w=typeof p.target=="object"?p.target.id:p.target;return C!==void 0&&!d.has(C)&&w!==void 0&&!d.has(w)});f.forEach(p=>{p.neighbors=[],p.links=[];}),m.forEach(p=>{let C=typeof p.source=="object"?p.source:f.find(F=>F.id===p.source),w=typeof p.target=="object"?p.target:f.find(F=>F.id===p.target);!C||!w||(C.neighbors=C.neighbors||[],w.neighbors=w.neighbors||[],C.neighbors.push(w),w.neighbors.push(C),C.links=C.links||[],w.links=w.links||[],C.links.push(p),w.links.push(p));}),i.nodes=f,i.links=m,P.current.nodes(f);let h=P.current.force("link");h&&h.links(m),t1();},[O,B,E,i,t1]),M1=useCallback((r=0,l=20)=>{let c=c1();if(!H.current||!c||!c.length)return;let d=1/0,f=1/0,m=-1/0,h=-1/0;if(c.forEach(p=>{if(p.x===void 0||p.y===void 0)return;let C=p.x,w=p.y;d=Math.min(d,C),f=Math.min(f,w),m=Math.max(m,C),h=Math.max(h,w);}),isFinite(d)&&isFinite(m)&&isFinite(f)&&isFinite(h)){let p=o,C=n;d-=l,f-=l,m+=l,h+=l;let w=m-d,F=h-f,k=w>0?p/w:1,T=F>0?C/F:1,D=Math.min(k,T,10),u=d+w/2,V=f+F/2,v={k:D,x:p/2-u*D,y:C/2-V*D};if(r>0){let I={...G},z=Date.now(),N=t(()=>{let _=Math.min(1,(Date.now()-z)/r),n1=_===1?1:1-Math.pow(1-_,3),ae={k:I.k+(v.k-I.k)*n1,x:I.x+(v.x-I.x)*n1,y:I.y+(v.y-I.y)*n1};l1(ae),_<1&&requestAnimationFrame(N);},"animateZoom");requestAnimationFrame(N);}else l1(v);}},[o,n,G]);useEffect(()=>{let r=H.current;if(!r)return;let l=window.devicePixelRatio||1;r.width=o*l,r.height=n*l,r.style.width=`${o}px`,r.style.height=`${n}px`,Ye();let c=o/2,d=n/2,f=L.nodeSizeBase,m=f/2,h=f*2.5,p=P.current=forceSimulation(Re).force("link",forceLink(Ze).id(C=>C.id).distance(h).strength(.9)).force("charge",forceManyBody().strength(-f/10*100).theta(.5).distanceMin(f*2)).force("x",forceX().strength(.03)).force("y",forceY().strength(.03)).force("center",forceCenter(c,d).strength(.05)).force("collide",forceCollide().radius(m*2).iterations(2).strength(1)).velocityDecay(.6);return ()=>{p.stop();}},[o,n,Re,Ze,Ye]),useEffect(()=>{if(P.current){let r=P.current;r.on("tick",()=>{t1();}),r.on("end",()=>{S&&(M1(0,20),setTimeout(()=>{R(false);},200));});}S||t1();},[S,t1,M1]),useEffect(()=>{i&&i.links.forEach(r=>{let l=typeof r.source=="object"?r.source:i.nodes.find(d=>d.id===r.source),c=typeof r.target=="object"?r.target:i.nodes.find(d=>d.id===r.target);!l||!c||(!l.neighbors&&(l.neighbors=[]),!c.neighbors&&(c.neighbors=[]),l.neighbors.push(c),c.neighbors.push(l),!l.links&&(l.links=[]),!c.links&&(c.links=[]),l.links.push(r),c.links.push(r));});},[i]),useEffect(()=>{a&&a.length>0&&mt(y2(a));},[a]);let E1=useCallback((r,l)=>{let c=c1();if(!c||c.length===0)return null;let d=L.nodeSizeBase/2,f=window.devicePixelRatio||1,m=(r*f-G.x)/G.k,h=(l*f-G.y)/G.k;return c.find(p=>{let C=(p.x||0)-m,w=(p.y||0)-h;return Math.sqrt(C*C+w*w)<=d})||null},[G,L.nodeSizeBase]),je=useCallback((r,l,c,d,f,m,h)=>{let p=r-c,C=l-d,w=Math.sqrt(p*p+C*C),F=Math.atan2(C,p);F<0&&(F+=2*Math.PI);let D=w>=f*.5&&w<=f*1,u=false;return m===Math.PI&&h===Math.PI*2?u=F>=Math.PI&&F<=Math.PI*2:m===0&&h===Math.PI?u=F>=0&&F<=Math.PI:u=m<=h&&F>=m&&F<=h||m>h&&(F>=m||F<=h),D&&u},[]),eo=useCallback(r=>{if(r===Oe.current)return;Oe.current=r;let l=new Set,c=new Set;r&&(l.add(r),r.neighbors&&r.neighbors.forEach(d=>l.add(d)),r.links&&r.links.forEach(d=>c.add(d))),Z(r),b&&b(r),De(l),Ne(c);},[b]),oo=useCallback(r=>{j1(r),s&&s(r);},[s]),to=useCallback(()=>{j1(null),x&&x();},[x]),X=useRef(null),r1=useRef(false),St=useCallback(r=>{if(!H.current||!P.current)return;let l=H.current.getBoundingClientRect(),c=r.clientX-l.left,d=r.clientY-l.top;X.current={x:c,y:d},r1.current=false;let f=E1(c,d);f?(o1(f),f.fx=f.x,f.fy=f.y):(We(true),h1.current={x:c,y:d});},[E1]),wt=useCallback(r=>{if(!H.current)return;let l=H.current.getBoundingClientRect(),c=r.clientX-l.left,d=r.clientY-l.top;if(E&&X.current&&P.current){let m=X.current.x,h=X.current.y,p=c-m,C=d-h;Math.sqrt(p*p+C*C)>3&&(r1.current=true,P.current.alphaTarget()===0&&(P.current.alphaTarget(.15).restart(),P.current.velocityDecay(.8)));let k=window.devicePixelRatio||1,T=(c*k-G.x)/G.k,D=(d*k-G.y)/G.k;E.fx=T,E.fy=D,r1.current&&P.current.alpha(.1);return}if(I1&&X.current){let m=c-h1.current.x,h=d-h1.current.y,p=X.current.x,C=X.current.y;Math.sqrt(Math.pow(c-p,2)+Math.pow(d-C,2))>3&&(r1.current=true),l1(k=>({...k,x:k.x+m,y:k.y+h})),h1.current={x:c,y:d};return}let f;if(O&&H.current&&Q.length>0){let m=L.nodeSizeBase*L.nodeAreaFactor/2,h=H.current.width/l.width,p=H.current.height/l.height,C=c*h,w=d*p,F=(C-G.x)/G.k,k=(w-G.y)/G.k,T=O.x||0,D=O.y||0,u=Math.min(Q.length,8),V=Math.min(Math.PI*2/u,Math.PI),v=null;for(let I=0;I<u;I++){let z=I*V,N=(I+1)*V;if(je(F,k,T,D,m,z,N)){v=I;break}}v!==null&&(f=O),ee(v);}else K!==null&&ee(null);f||(f=E1(c,d)),eo(f),H.current&&(H.current.style.cursor=f?"pointer":"default");},[E,E1,I1,G,eo,O,Q,L,K,P,h1,X,r1,je,H,l1,ee]),vt=useCallback(r=>{oe.current&&(r.stopPropagation(),r.preventDefault()),oe.current=false;},[]),ro=useCallback(r=>{let l=r1.current;if(l&&(oe.current=true),!l&&X.current){let c=H.current?.getBoundingClientRect();if(c){r.clientX-c.left;r.clientY-c.top;let m=false;if(O&&K!==null&&a[K]){let h=a[K];h&&h.onClick&&(h.onClick(O),m=true);}!m&&E?oo(E):!m&&!E&&to();}}if(E&&P.current){if(l){P.current.alphaTarget(0);let c=.05,d=.04,f=.6;P.current.alpha(c).alphaDecay(d),P.current.velocityDecay(f);}else P.current.alphaTarget(0);E.fx=void 0,E.fy=void 0,o1(null);}r1.current=false,X.current=null,I1&&We(false);},[E,I1,K,O,a,oo,to]),ie=useCallback(r=>{if(r.stopPropagation(),r.preventDefault(),!H.current)return;let l=H.current.getBoundingClientRect(),c=r.clientX-l.left,d=r.clientY-l.top,m=-r.deltaY>0?1.1:1/1.1;l1(h=>{let p=h.k*m;if(p<.01||p>10)return h;let C=h.k*m,w=c-(c-h.x)*m,F=d-(d-h.y)*m;return {k:C,x:w,y:F}});},[l1]);return useImperativeHandle(y,()=>({zoomToFit:M1,addNodes:Ke,removeNodes:Qe}),[M1,Ke,Qe]),useEffect(()=>{let r=H.current;if(r)return r.addEventListener("wheel",ie,{passive:false}),()=>{r.removeEventListener("wheel",ie);}},[ie]),jsxs(P2,{children:[(e||S)&&jsx(bt,{width:o,height:n}),jsx(k2,{ref:H,style:{width:o,height:n,display:S?"none":"block"},onMouseDown:St,onMouseMove:wt,onMouseUp:ro,onMouseLeave:ro,onClick:vt})]})}),P2=styled.div`
|
|
887
887
|
display: flex;
|
|
888
888
|
align-items: center;
|
|
889
889
|
justify-content: center;
|
|
@@ -901,5 +901,5 @@ ${e?`
|
|
|
901
901
|
`:""}
|
|
902
902
|
|
|
903
903
|
min-width: 0;
|
|
904
|
-
`);export{D7 as Alert,de as AlertIcon,Rt as ApiIcon,At as ArrowCircleTopRightIcon,Dt as ArrowRightIcon,ve as BallsMenu,t7 as Box,Nt as BugReportIcon,Qr as BusIcon,vo as Button,Wt as CalendarIcon,jr as CarIcon,Wr as CheckIcon,ye as ChevronDownIcon,pe as ChevronLeftIcon,ge as ChevronRightIcon,Fe as ChevronUpIcon,Xt as CloseCircleIcon,qt as ClosedLockIcon,wl as Container,it as ContextMenu,D6 as ContextMenuDelimiter,ke as CrossIcon,Kt as DataSetsIcon,jt as DeepSearchIcon,er as DisabledVisibleIcon,tr as DocsIcon,nr as DownloadIcon,ar as EditUserIcon,m7 as EmptyData,lr as EnableVisibleIcon,dr as EnterArrowLeftIcon,i0 as FileIcon,pr as FiltersIcon,kn as FlexContainer,Bn as FlexItem,Jl as FullscreenCard,go as GlobalStyle,F2 as Graph2D,Rs as Header,Ns as HeaderDelimeter,Xs as HeaderSection,ur as HomepageIcon,Pe as InfoCircleFilledIcon,fr as InfoCircleIcon,V9 as Input,p7 as Line,ms as ListMenu,ys as ListMenuItem,Ms as ListMenuSection,hr as MapRadarIcon,Jr as MaximizeIcon,mr as MoonIcon,Cr as OpenLockIcon,wr as OrganizationIcon,gl as PageLayout,v6 as Pagination,yr as PasswordFinderIcon,Pr as PhonebookIcon,t0 as PlaneIcon,Or as PlusIcon,Ir as PrintIcon,Mr as Profiler2Icon,$r as ProfilerIcon,x9 as RowActionsMenu,Vr as SandBoxIcon,Lr as SearchIcon,e9 as Select,r0 as ShipIcon,Ma as Sidebar,u1 as SidebarContext,Wa as SidebarDelimeter,za as SidebarItem,qa as SidebarSection,Tr as StatisticIcon,Jn as StyledContainer,Rr as SunIcon,p6 as Table,$7 as Tag,j2 as ThemeProvider,ps as Typography,Ur as UnfoldIcon,Ar as UpRightArrowCircleIcon,Yr as UsersIcon,Hr as VectorIcon,e0 as WayIcon,x1 as convertPaletteToRem,W as createComponent,mo as darkTheme,xo as darkThemePx
|
|
904
|
+
`);export{D7 as Alert,de as AlertIcon,Rt as ApiIcon,At as ArrowCircleTopRightIcon,Dt as ArrowRightIcon,ve as BallsMenu,t7 as Box,Nt as BugReportIcon,Qr as BusIcon,vo as Button,Wt as CalendarIcon,jr as CarIcon,Wr as CheckIcon,ye as ChevronDownIcon,pe as ChevronLeftIcon,ge as ChevronRightIcon,Fe as ChevronUpIcon,Xt as CloseCircleIcon,qt as ClosedLockIcon,wl as Container,it as ContextMenu,D6 as ContextMenuDelimiter,ke as CrossIcon,Kt as DataSetsIcon,jt as DeepSearchIcon,er as DisabledVisibleIcon,tr as DocsIcon,nr as DownloadIcon,ar as EditUserIcon,m7 as EmptyData,lr as EnableVisibleIcon,dr as EnterArrowLeftIcon,i0 as FileIcon,pr as FiltersIcon,kn as FlexContainer,Bn as FlexItem,Jl as FullscreenCard,go as GlobalStyle,F2 as Graph2D,Rs as Header,Ns as HeaderDelimeter,Xs as HeaderSection,ur as HomepageIcon,Pe as InfoCircleFilledIcon,fr as InfoCircleIcon,V9 as Input,p7 as Line,ms as ListMenu,ys as ListMenuItem,Ms as ListMenuSection,hr as MapRadarIcon,Jr as MaximizeIcon,mr as MoonIcon,Cr as OpenLockIcon,wr as OrganizationIcon,gl as PageLayout,v6 as Pagination,yr as PasswordFinderIcon,Pr as PhonebookIcon,t0 as PlaneIcon,Or as PlusIcon,Ir as PrintIcon,Mr as Profiler2Icon,$r as ProfilerIcon,x9 as RowActionsMenu,Vr as SandBoxIcon,Lr as SearchIcon,e9 as Select,r0 as ShipIcon,Ma as Sidebar,u1 as SidebarContext,Wa as SidebarDelimeter,za as SidebarItem,qa as SidebarSection,Tr as StatisticIcon,Jn as StyledContainer,Rr as SunIcon,p6 as Table,$7 as Tag,j2 as ThemeProvider,ps as Typography,Ur as UnfoldIcon,Ar as UpRightArrowCircleIcon,Yr as UsersIcon,Hr as VectorIcon,e0 as WayIcon,x1 as convertPaletteToRem,W as createComponent,mo as darkTheme,xo as darkThemePx,$ as generatePropertySpaceStyle,z2 as getBreakpoint,j as getButtonSizeStyles,q as getButtonStyles,G2 as getInputStyles,T2 as getTypographyStyles,B1 as hexToRgba,ho as lightTheme,bo as lightThemePx,Y as pxToRem,fo as remToPx,uo as resolveThemeColor,at as useContextMenuControl};//# sourceMappingURL=index.mjs.map
|
|
905
905
|
//# sourceMappingURL=index.mjs.map
|