@voidly-io/design-system 1.0.45 → 1.0.46
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.
|
@@ -69,6 +69,12 @@ declare function VTheme(props: {
|
|
|
69
69
|
theme: VThemeMode;
|
|
70
70
|
}): import("react/jsx-runtime").JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
|
+
//#region src/components/VThemeToggle.d.ts
|
|
73
|
+
declare function VThemeToggle(props: {
|
|
74
|
+
theme?: "dark" | "light";
|
|
75
|
+
style?: React.CSSProperties;
|
|
76
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
77
|
+
//#endregion
|
|
72
78
|
//#region src/components/VFlex.d.ts
|
|
73
79
|
declare function VFlex(props: {
|
|
74
80
|
children: React.ReactNode;
|
|
@@ -286,4 +292,4 @@ declare function showVToast(options: {
|
|
|
286
292
|
};
|
|
287
293
|
declare function VToast(): import("react/jsx-runtime").JSX.Element;
|
|
288
294
|
//#endregion
|
|
289
|
-
export { VAlert, VCard, VChip, VCode, VErrorBox, VFlex, VGrid, VLoading, VTheme, type VThemeMode, VThemeProvider, VToast, createVIntl, showVToast, useVThemeContext };
|
|
295
|
+
export { VAlert, VCard, VChip, VCode, VErrorBox, VFlex, VGrid, VLoading, VTheme, type VThemeMode, VThemeProvider, VThemeToggle, VToast, createVIntl, showVToast, useVThemeContext };
|
package/dist/components/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import '../style.css';
|
|
2
|
-
import{a as e,i as t,n,o as r,r as i,t as a}from"../tokens-j5mBBFwP.js";import{i as o,t as s}from"../utils-CJ1T8QWy.js";import{c}from"react/compiler-runtime";import{ArrowPathIcon as l,CheckIcon as u,ExclamationCircleIcon as d,ExclamationTriangleIcon as f}from"@heroicons/react/20/solid";import{ArrowDownTrayIcon as
|
|
3
|
-
${Object.entries(t).map(([e,t])=>`${
|
|
2
|
+
import{a as e,i as t,n,o as r,r as i,t as a}from"../tokens-j5mBBFwP.js";import{i as o,t as s}from"../utils-CJ1T8QWy.js";import{c}from"react/compiler-runtime";import{ArrowPathIcon as l,CheckIcon as u,ExclamationCircleIcon as d,ExclamationTriangleIcon as f}from"@heroicons/react/20/solid";import*as p from"@heroicons/react/24/outline";import{ArrowDownTrayIcon as m,ArrowTurnDownLeftIcon as h,ArrowTurnRightUpIcon as g,ChevronUpIcon as _,ClipboardDocumentIcon as v,DocumentIcon as y,InformationCircleIcon as b}from"@heroicons/react/24/outline";import{Alert as x,AlertTitle as S,Button as C,IconButton as w,ThemeProvider as T,Tooltip as E,alpha as D,createTheme as O,darken as k,lighten as A,styled as ee,useMediaQuery as j,useTheme as M}from"@mui/material";import{Fragment as te,createContext as N,createElement as P,forwardRef as F,useContext as ne,useEffect as re,useLayoutEffect as ie,useState as ae}from"react";import{Fragment as I,jsx as L,jsxs as R}from"react/jsx-runtime";import{GeistMono as oe}from"geist/font/mono";import{GeistSans as z}from"geist/font/sans";import B from"@mui/material/CssBaseline";import*as V from"@heroicons/react/24/solid";import{VFlex as H,useVThemeContext as U}from"@voidly-io/design-system/components";import{VColorVars as W,VLayoutVars as se}from"@voidly-io/design-system/tokens";import{FormattedMessage as G,IntlProvider as K,useIntl as q}from"react-intl";import{toJsxRuntime as J}from"hast-util-to-jsx-runtime";import{codeToHast as ce}from"shiki/bundle/web";import{Toaster as Y,toast as X}from"sonner";const Z={width:18,height:18},le={success:L(u,{style:Z}),info:L(b,{style:Z}),warning:L(f,{style:Z}),error:L(d,{style:Z})};function ue(e){let t=c(8),n=e.hideIcon?!1:e.icon?e.icon:le[e.type],r;t[0]===e.title?r=t[1]:(r=e.title&&L(S,{children:e.title}),t[0]=e.title,t[1]=r);let i;return t[2]!==e.children||t[3]!==e.style||t[4]!==e.type||t[5]!==n||t[6]!==r?(i=R(x,{severity:e.type,icon:n,style:e.style,children:[r,e.children]}),t[2]=e.children,t[3]=e.style,t[4]=e.type,t[5]=n,t[6]=r,t[7]=i):i=t[7],i}var Q={container:`z7PbZq_container`,inner:`z7PbZq_inner`,wobble:`z7PbZq_wobble`};const de=e=>{let t=c(9),{size:n,color:r,speed:i,stroke:a,bgOpacity:o}=e,s=n===void 0?80:n,l=r===void 0?`black`:r,u=i===void 0?1.75:i,d=a===void 0?5:a,f=o===void 0?.1:o,p=s+`px`,m=u+`s`,h=d+`px`,g=f+``,_;t[0]!==l||t[1]!==p||t[2]!==m||t[3]!==h||t[4]!==g?(_={"--uib-size":p,"--uib-color":l,"--uib-speed":m,"--uib-stroke":h,"--uib-bg-opacity":g},t[0]=l,t[1]=p,t[2]=m,t[3]=h,t[4]=g,t[5]=_):_=t[5];let v=_,y;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(y=L(`div`,{className:Q.inner}),t[6]=y):y=t[6];let b;return t[7]===v?b=t[8]:(b=L(`div`,{className:Q.container,style:v,children:y}),t[7]=v,t[8]=b),b};var fe={car:`_3zRF4q_car`,container:`_3zRF4q_container`,inner:`_3zRF4q_inner`,track:`_3zRF4q_track`,travel:`_3zRF4q_travel`};function pe(e,t){return t.replace(/([-A-y])/g,`,$1`).split(`,`).filter(e=>e!==``).map(t=>{let n=t.match(/(\d+\.?\d*)/g)?.[0]??``,r=parseFloat(n)*e;return t.replace(n,r.toString())}).join(` `)}const me=e=>{let t=c(21),{size:n,color:r,speed:i,stroke:a,strokeLength:o,bgOpacity:s}=e,l=n===void 0?37:n,u=r===void 0?`black`:r,d=i===void 0?.9:i,f=a===void 0?5:a,p=o===void 0?.15:o,m=s===void 0?.1:s,h=parseInt(l+``)/50,g;t[0]===h?g=t[1]:(g=pe(h,`M0.5,25C0.5,7.8,7.8,0.5,25,0.5S49.5,7.8,49.5,25S42.2,49.5,25,49.5S0.5,42.2,0.5,25`),t[0]=h,t[1]=g);let _=g,v=l+`px`,y=d+`s`,b=String(parseFloat(p+``)*100),x=String(100-parseFloat(p+``)*100),S=m+``,C;t[2]!==u||t[3]!==y||t[4]!==b||t[5]!==x||t[6]!==S||t[7]!==v?(C={"--uib-size":v,"--uib-color":u,"--uib-speed":y,"--uib-dash":b,"--uib-gap":x,"--uib-bg-opacity":S},t[2]=u,t[3]=y,t[4]=b,t[5]=x,t[6]=S,t[7]=v,t[8]=C):C=t[8];let w=`0 0 ${l} ${l}`,T,E;t[9]!==_||t[10]!==f?(T=L(`path`,{className:fe.track,strokeWidth:f,fill:`none`,pathLength:`100`,d:_}),E=L(`path`,{className:fe.car,strokeWidth:f,fill:`none`,pathLength:`100`,d:_}),t[9]=_,t[10]=f,t[11]=T,t[12]=E):(T=t[11],E=t[12]);let D;t[13]!==l||t[14]!==w||t[15]!==T||t[16]!==E?(D=R(`svg`,{className:fe.inner,x:`0px`,y:`0px`,viewBox:w,height:l,width:l,preserveAspectRatio:`xMidYMid meet`,children:[T,E]}),t[13]=l,t[14]=w,t[15]=T,t[16]=E,t[17]=D):D=t[17];let O;return t[18]!==C||t[19]!==D?(O=L(`div`,{className:fe.container,style:C,children:D}),t[18]=C,t[19]=D,t[20]=O):O=t[20],O};function he(e){let t=c(7),i;t[0]===e.style?i=t[1]:(i={display:`flex`,justifyContent:`center`,alignItems:`center`,borderRadius:n[`--v-border-radius`],...e.style},t[0]=e.style,t[1]=i);let a;t[2]===e.type?a=t[3]:(a=e.type?.name===`square`?L(me,{color:r[`--v-accents-1000`],size:e.type.size??40,speed:`0.9`}):L(de,{color:r[`--v-accents-1000`],size:e.type?.width??104,speed:`1.75`}),t[2]=e.type,t[3]=a);let o;return t[4]!==i||t[5]!==a?(o=L(`div`,{style:i,children:a}),t[4]=i,t[5]=a,t[6]=o):o=t[6],o}const ge=F(function(e,t){let n=c(15),i,o,s,l,u;n[0]===e?(i=n[1],o=n[2],s=n[3],l=n[4],u=n[5]):({selected:l,padding:o,style:u,children:i,...s}=e,n[0]=e,n[1]=i,n[2]=o,n[3]=s,n[4]=l,n[5]=u);let d=`1px solid ${l?r[`--v-blue-700`]:r[`--v-strokes`]}`,f=o??24,p;n[6]!==u||n[7]!==d||n[8]!==f?(p={borderRadius:a[`--v-border-radius`],border:d,display:`flex`,alignItems:`flex-start`,flexDirection:`column`,justifyContent:`space-between`,background:r[`--v-background-200`],gap:24,overflow:`hidden`,padding:f,...u},n[6]=u,n[7]=d,n[8]=f,n[9]=p):p=n[9];let m;return n[10]!==i||n[11]!==t||n[12]!==s||n[13]!==p?(m=L(`div`,{...s,ref:t,style:p,children:i}),n[10]=i,n[11]=t,n[12]=s,n[13]=p,n[14]=m):m=n[14],m});function $(e){let t=be();return e===`dark`&&(t=xe()),t}function _e(e){return`${e.startsWith(`--`)?``:`--`}${e.split(/(?=[A-Z])/).join(`-`).toLowerCase()}`}function ve(e){let t=$(e);return`:root {
|
|
3
|
+
${Object.entries(t).map(([e,t])=>`${_e(e)}: ${t};`).join(`
|
|
4
4
|
`)}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.dark-theme {
|
|
8
8
|
color: ${r[`--v-foreground`]};
|
|
9
|
-
${Object.entries(
|
|
9
|
+
${Object.entries($(`dark`)).map(([e,t])=>`${_e(e)}: ${t};`).join(`
|
|
10
10
|
`)}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.light-theme {
|
|
14
14
|
color: ${r[`--v-foreground`]};
|
|
15
|
-
${Object.entries(
|
|
15
|
+
${Object.entries($(`light`)).map(([e,t])=>`${_e(e)}: ${t};`).join(`
|
|
16
16
|
`)}
|
|
17
17
|
}
|
|
18
|
-
`}function
|
|
18
|
+
`}function ye(e){let n=c(5),i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=L(`style`,{children:`
|
|
19
19
|
html,
|
|
20
20
|
body {
|
|
21
21
|
max-width: 100vw;
|
|
@@ -241,4 +241,4 @@ import{a as e,i as t,n,o as r,r as i,t as a}from"../tokens-j5mBBFwP.js";import{i
|
|
|
241
241
|
input[type="search"]::-webkit-search-cancel-button,
|
|
242
242
|
input[type="search"]::-webkit-search-results-button,
|
|
243
243
|
input[type="search"]::-webkit-search-results-decoration { display: none; }
|
|
244
|
-
`}),n[0]=i):i=n[0];let a;n[1]===e.theme?a=n[2]:(a=he(e.theme),n[1]=e.theme,n[2]=a);let o;return n[3]===a?o=n[4]:(o=F(N,{children:[i,P(`style`,{children:a})]}),n[3]=a,n[4]=o),o}function Z(){let t=`#2050ff`;t+``,t+``,t+``;let n=D(t,.2),r=`#e60000`,o=`#E0E0E0`,s=E(o,.5),c=E(o,.2),l=D(o,.2),u=D(o,.4),d=`#e8e8e8`,f=`#e77700`;return{...e.light,...i,...a,colorPrimary500:t,colorPrimary500Alpha10:`#2050ff1a`,colorPrimary500Alpha15:`#2050ff26`,colorPrimary500Alpha20:`#2050ff33`,colorPrimary700:n,colorGrey100:s,colorGrey300:c,colorGrey500:o,colorGrey700:l,colorGrey900:u,colorPurple900:`#a027ff`,colorPurple900Alpha10:w(`#a027ff`,.1),colorPink900:`#e43a99`,colorPink900Alpha:`#e43a9914`,colorWarning:f,colorMarker:`rgb(244 125 27 / 39%) 4%, rgb(215 106 40 / 15%)`,borderRadius:`6px`,colorBlack:`#000000`,colorStrokes:d,colorStrokesLight:D(d,.5),linkColor:n,linkColorHover:D(n,.25),colorWhite:`#FFFFFF`,bodyBackground:`#fcfcfc`,bodyColor:`#444`,bodyColorAlpha50:w(`#444`,.5),bodyColorStrong:`#000`,inputBackground:`#fff`,inputBackgroundDisabled:`rgb(250, 250, 250)`,inputColor:`#000`,inputColorDisabled:s,inputBorder:`#e8e8e8`,inputHoverBorder:E(`#e8e8e8`,.1),inputActiveBorder:t,inputActiveShadow:`0 0 0 4px rgba(50, 132, 255, 0.1)`,buttonContainedPrimaryColor:`#fff`,buttonContainedPrimaryColorHover:`#fff`,buttonContainedPrimaryBackground:`#0a0a0a`,buttonContainedPrimaryBackgroundHover:D(`#0a0a0a`,.1),buttonContainedPrimaryBorder:D(`#0a0a0a`,.1),buttonContainedPrimaryBorderHover:D(`#0a0a0a`,.2),buttonContainedSecondaryColor:`#fff`,buttonContainedSecondaryColorHover:`#fff`,buttonContainedSecondaryBackground:`#0a0a0a`,buttonContainedSecondaryBackgroundHover:D(`#0a0a0a`,.1),buttonContainedSecondaryBorder:`#0a0a0a`,buttonContainedSecondaryBorderHover:D(`#0a0a0a`,.1),buttonOutlinedColor:`rgba(0, 0, 0, 0.9)`,buttonOutlinedColorHover:`rgba(0, 0, 0, 1)`,buttonOutlinedBackground:`#fafafa`,buttonOutlinedBackgroundHover:`#fff`,buttonOutlinedBorder:`#e8e8e8`,buttonOutlinedBorderHover:E(`#e8e8e8`,.1),buttonDisabledColor:c,buttonDisabledBackground:u,buttonDisabledBorder:o,checkboxBackground:t,checkboxLabelColor:`rgba(0, 0, 0, 0.9)`,checkboxLabelFontSize:13,checkboxLabelFontWeight:400,checkboxLabelMargin:16,error:r,errorAlpha10:w(r,.1),errorAlpha15:w(r,.15),errorAlpha20:w(r,.2),success:`#11c12fff`,switchThumb:`#fff`,switchTrack:c,switchTrackChecked:t,iconButtonColor:D(`#05102b`,.4),iconButtonColorHover:`#05102b`,accentBackgroundColor:`#fff`,accentBackgroundColorStrong:E(`#fff`,.05),alertInfoBackground:D(t,.9),alertInfoColor:t,alertInfoBorder:`hsl(221, 91%, 91%)`,alertSuccessBackground:`hsl(143, 85%, 96%)`,alertSuccessColor:`hsl(140, 100%, 27%)`,alertSuccessBorder:`hsl(145, 92%, 91%)`,alertWarningBackground:D(f,.95),alertWarningColor:f,alertWarningBorder:D(f,.8),alertErrorBackground:`hsl(359, 100%, 97%)`,alertErrorColor:`hsl(360, 100%, 45%)`,alertErrorBorder:`hsl(359, 100%, 94%)`,sidebarBackground:`#fff`,sidebarActiveColor:`#000`,sidebarActiveBackground:w(`#000`,.05),sidebarActiveBackgroundHover:w(n,.075),sidebarColor:e.light[`--v-accents-700`],sidebarLinkHoverBackground:`rgba(0, 0, 0, 0.05)`,sidebarLinkHoverColor:`rgba(0, 0, 0, 0.9)`,tableSortIconBackground:e.light[`--v-blue-200`],tableSortIconColor:e.light[`--v-blue-700`],tableBorderColor:`rgba(0, 0, 0, 0.1)`,dragAndDropAreaColor:t,dragAndDropAreaColorDisabled:c,dragAndDropAreaBorder:`#2c5dbf0f`,dragAndDropAreaBorderDisabled:`#2c5dbf0f`,dragAndDropAreaBackground:`#2c5dbf0f`,dragAndDropAreaBackgroundHover:`#2c5dbf1a`,dragAndDropAreaBackgroundDisabled:w(u,.5),selectionColor:`#fff`,selectionBackground:t,boxShadow:`0px 5px 5px -3px rgb(0 0 0 / 0%), 0px 8px 10px 1px rgb(0 0 0 / 2%), 0px 3px 14px 2px rgba(0,0,0,0.12)`,boxShadow2:`0 14px 20px -4px rgba(50,50,93,0.05), 0 8px 16px -8px rgba(0,0,0,0.05)`,boxShadow3:`0 14px 20px -4px rgba(229, 239, 250, 1)`,boxShadow4:`0 1px 2px 0 rgba(0,0,0,.05)`,boxShadowError:`0 14px 20px -4px rgba(255, 18, 18, 0.05), 0 8px 16px -8px rgba(255, 0, 0, 0.05)`,keystrokePreviewColor:s,keystrokePreviewBackground:`rgba(0, 0, 0, 0.03)`,dottedBackgroundDotsColor:`#00000016`,blockEditorSidebarGroupHeaderBackground:`#fafafa`,blockEditorSidebarGroupHeaderBackgroundHover:`#f2f2f2`,blockEditorSidebarGroupHeaderColor:`#000`,upgradeToProBannerBackground:`#0a0a0a`,upgradeToProBannerBackgroundHover:D(`#0a0a0a`,.1),upgradeToProBannerColor:`#fff`,upgradeToProBannerBorder:`1px solid #0a0a0a`}}function Q(){let t=`#006eff`;t+``,t+``,t+``;let n=E(t,.4),r=D(t,.2),o=`hsl(360, 100%, 45%)`,s=`#444`,c=E(s,.8),l=E(s,.4),u=D(s,.4),d=D(s,.8),f=`#2a2a2a`,p=`#ff9700`;return{...e.dark,...i,...a,colorPrimary500:t,colorPrimary500Alpha10:`#006eff1a`,colorPrimary500Alpha15:`#006eff26`,colorPrimary500Alpha20:`#006eff33`,colorPrimary700:r,colorGrey100:d,colorGrey300:u,colorGrey500:s,colorGrey700:l,colorGrey900:c,colorPurple900:`#c068ff`,colorPurple900Alpha10:w(`#c068ff`,.1),colorPink900:`#ff1e9c`,colorPink900Alpha:`#ff1e9c1f`,colorWarning:p,colorMarker:`${w(t,.4)} 4%, ${w(t,.15)}`,borderRadius:`6px`,colorBlack:`#fff`,colorStrokes:f,colorStrokesLight:E(f,.5),linkColor:r,linkColorHover:D(r,.25),colorWhite:`#0e0e0e`,bodyBackground:e.dark[`--v-background-100`],bodyColor:`#a1a1a1`,bodyColorAlpha50:w(`#fff`,.5),bodyColorStrong:`#fff`,inputBackground:`#0a0a0a`,inputBackgroundDisabled:`#ffffff14`,inputColor:`#fff`,inputColorDisabled:d,inputBorder:`#2a2a2a`,inputHoverBorder:D(`#2a2a2a`,.1),inputActiveBorder:t,inputActiveShadow:`0 0 0 4px ${w(t,.2)}`,buttonContainedPrimaryColor:`#000`,buttonContainedPrimaryColorHover:`#000`,buttonContainedPrimaryBackground:`#fff`,buttonContainedPrimaryBackgroundHover:E(`#fff`,.1),buttonContainedPrimaryBorder:`#fff`,buttonContainedPrimaryBorderHover:E(`#fff`,.1),buttonContainedSecondaryColor:`#e3e3e3`,buttonContainedSecondaryColorHover:`#fff`,buttonContainedSecondaryBackground:`#0a0a0a`,buttonContainedSecondaryBackgroundHover:D(`#0a0a0a`,.1),buttonContainedSecondaryBorder:f,buttonContainedSecondaryBorderHover:D(f,.1),buttonOutlinedColor:`#e3e3e3`,buttonOutlinedColorHover:`#fff`,buttonOutlinedBackground:`#0a0a0a`,buttonOutlinedBackgroundHover:D(`#0a0a0a`,.1),buttonOutlinedBorder:f,buttonOutlinedBorderHover:D(f,.1),buttonDisabledColor:l,buttonDisabledBackground:c,buttonDisabledBorder:l,checkboxBackground:t,checkboxLabelColor:`#fff`,checkboxLabelFontSize:13,checkboxLabelFontWeight:400,checkboxLabelMargin:16,error:o,errorAlpha10:w(o,.1),errorAlpha15:w(o,.15),errorAlpha20:w(o,.2),success:`#1ce853`,switchThumb:`#fff`,switchTrack:`#30363d`,switchTrackChecked:t,iconButtonColor:E(`#fff`,.2),iconButtonColorHover:`#fff`,accentBackgroundColor:`#0a0a0a`,accentBackgroundColorStrong:`#0e0e0e`,alertInfoBackground:`rgb(11 20 38)`,alertInfoColor:r,alertInfoBorder:E(t,.6),alertSuccessBackground:`hsl(150, 100%, 6%)`,alertSuccessColor:`#59f380`,alertSuccessBorder:`hsl(147, 100%, 12%)`,alertWarningBackground:E(p,.85),alertWarningColor:p,alertWarningBorder:E(p,.5),alertErrorBackground:`hsl(358, 76%, 5%)`,alertErrorColor:`#f00`,alertErrorBorder:`hsl(357, 89%, 16%)`,sidebarBackground:e.dark[`--v-background-200`],sidebarActiveColor:`#fff`,sidebarActiveBackground:w(`#fff`,.05),sidebarActiveBackgroundHover:w(r,.075),sidebarColor:e.dark[`--v-accents-700`],sidebarLinkHoverBackground:`rgba(255, 255, 255, 0.05)`,sidebarLinkHoverColor:`#fff`,tableSortIconBackground:e.dark[`--v-blue-200`],tableSortIconColor:e.dark[`--v-blue-700`],tableBorderColor:`#292d31`,dragAndDropAreaColor:t,dragAndDropAreaColorDisabled:w(s,.5),dragAndDropAreaBorder:`#2c5dbf0f`,dragAndDropAreaBorderDisabled:w(s,.05),dragAndDropAreaBackground:`#2c5dbf0f`,dragAndDropAreaBackgroundHover:`#2c5dbf1a`,dragAndDropAreaBackgroundDisabled:w(s,.05),selectionColor:`#fff`,selectionBackground:n,boxShadow:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow2:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow3:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow4:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadowError:`0px 0px 60px 0px rgba(255, 0, 0, 0.15)`,keystrokePreviewColor:d,keystrokePreviewBackground:`rgba(255, 255, 255, 0.03)`,dottedBackgroundDotsColor:`#ffffff16`,blockEditorSidebarGroupHeaderBackground:`#1a1a1a`,blockEditorSidebarGroupHeaderBackgroundHover:`#262626`,blockEditorSidebarGroupHeaderColor:`#fff`,upgradeToProBannerBackground:t,upgradeToProBannerBackgroundHover:D(t,.1),upgradeToProBannerColor:`#fff`,upgradeToProBannerBorder:`1px solid ${t}`}}function $(e){return{color:e.color,background:e.background,border:`1px solid ${e.borderColor}`,"&:hover":{color:e.colorHover,border:`1px solid ${e.borderColorHover}`,background:e.backgroundHover,boxShadow:`0px 2px 4px -1px rgb(0 0 0 / 8%), 0px 4px 5px 0px rgb(0 0 0 / 7%), 0px 1px 10px 0px rgba(0,0,0,0.12)`},"&:active":{border:`1px solid ${e.borderColorHover}`,background:e.backgroundHover},"&:disabled":{color:e.theme.colorGrey100,border:`1px solid ${e.theme.colorGrey500}`,background:e.theme.colorGrey500}}}const _e=t=>{let n=t===`light`?Z():Q();return T({breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536,header:1140,defaultScreenSize:1024}},typography:{fontFamily:[L.style?.fontFamily??`"Geist Sans"`,`Arial`].join(`, `)},palette:{error:{main:n.error},primary:{main:n.colorPrimary500},secondary:{main:n.colorPrimary500},mode:t},components:{MuiChip:{styleOverrides:{root:{padding:`6px 14px`,borderRadius:9999,fontSize:10,fontWeight:700,lineHeight:`12px`,height:`auto`,borderWidth:1,borderStyle:`solid`,"&:active":{boxShadow:`none`},".MuiChip-label":{display:`flex`,alignItems:`center`,gap:4,padding:0},svg:{width:16,marginRight:4}},colorPrimary:{backgroundColor:n.alertInfoBackground,borderColor:n.alertInfoBorder,color:n.alertInfoColor,"&:hover:not(&.no-hover-effect)":{backgroundColor:n.alertInfoBackground}},colorSuccess:{backgroundColor:n.alertSuccessBackground,borderColor:n.alertSuccessBorder,color:n.alertSuccessColor,"&:hover":{backgroundColor:n.alertSuccessBackground}},colorError:{backgroundColor:n.alertErrorBackground,borderColor:n.alertErrorBorder,color:n.alertErrorColor,"&:hover":{backgroundColor:n.alertErrorBackground}}}},MuiInputLabel:{styleOverrides:{root:{marginLeft:2}}},MuiSkeleton:{defaultProps:{variant:`rounded`,animation:`wave`},styleOverrides:{root:{borderRadius:n.borderRadius,backgroundColor:t===`light`?`rgba(0, 0, 0, 0.11)`:`rgba(255, 255, 255, 0.11)`,"&::after":{background:t===`light`?`linear-gradient(90deg, transparent, rgb(0, 0, 0, 0.04), transparent)`:`linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.04), transparent)`}}}},MuiMenu:{styleOverrides:{paper:{transition:`none !important`}}},MuiListItemText:{styleOverrides:{root:{fontSize:13,".MuiTypography-root":{fontSize:13}}}},MuiListItemIcon:{styleOverrides:{root:{minWidth:`0 !important`,width:16,marginRight:8}}},MuiMenuItem:{defaultProps:{disableRipple:!0},styleOverrides:{root:{fontSize:14,paddingLeft:20,paddingRight:20,color:n[`--v-accents-700`],svg:{height:16},"&:hover":{background:n[`--v-accents-200`],color:n[`--v-foreground`]},"&.Mui-selected":{background:`${n.sidebarActiveBackground} !important`,color:`${n.sidebarActiveColor} !important`,"&:hover":{background:`${n.sidebarActiveBackground} !important`,color:`${n.sidebarActiveColor} !important`}},"&.Mui-focusVisible":{background:`none`,"&:hover":{background:n.sidebarLinkHoverBackground,color:n.sidebarLinkHoverColor}}}}},MuiSelect:{styleOverrides:{root:{fontWeight:500}}},MuiSvgIcon:{styleOverrides:{root:{"&.MuiSelect-icon":{color:n.inputBorder},"&.MuiStepIcon-root.Mui-completed":{fill:n.success}}}},MuiCssBaseline:{styleOverrides:{html:{backgroundColor:n.bodyBackground,color:n.bodyColor},body:{backgroundColor:n.bodyBackground,color:n.bodyColor,fontSize:14}}},MuiAccordion:{defaultProps:{disableGutters:!0},styleOverrides:{root:{margin:`0`,background:`none`,boxShadow:`none`,color:n.bodyColor,border:`1px solid ${n.colorStrokes}`,borderRadius:n.borderRadius,":hover":{borderColor:n[`--v-blue-700`]},":first-of-type":{borderRadius:n.borderRadius},":last-of-type":{borderRadius:n.borderRadius},svg:{transition:`0.2s ease-out transform`},".MuiAccordionSummary-root":{fontWeight:500,borderRadius:n.borderRadius,padding:`12px 24px`,color:n.bodyColorStrong,minHeight:0,":hover":{background:n.accentBackgroundColor}},".MuiAccordionSummary-content":{margin:`6px 0px`},".MuiAccordionDetails-root":{padding:`8px 24px 24px`},"&:before":{opacity:0},"&.Mui-expanded":{".MuiAccordionSummary-root":{svg:{transform:`rotate(180deg)`}}}}}},MuiRadio:{styleOverrides:{root:{color:n.inputBorder}}},MuiTable:{styleOverrides:{root:{border:`1px solid ${n.colorStrokes}`,borderRadius:n.borderRadius,borderCollapse:`separate`,overflow:`hidden`,background:n.accentBackgroundColor,".MuiTableCell-root.MuiTableCell-head":{fontWeight:600,color:n[`--v-accents-1000`],background:n[`--v-accents-100`]},".MuiTableCell-root":{borderBottom:`1px solid ${n.colorStrokes}`,fontSize:13,color:n.bodyColor,padding:`8px 16px`,height:57}}}},MuiToggleButtonGroup:{styleOverrides:{root:{padding:`4px 0px`,borderRadius:`8px`,overflow:`hidden`,border:`1px solid ${n.colorStrokes}`,background:n[`--v-background`]}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:11,marginLeft:0,marginRight:0}}},MuiToggleButton:{styleOverrides:{root:{borderRadius:`6px !important`,fontSize:13,fontWeight:500,lineHeight:`18px`,textTransform:`none`,flexGrow:1,color:n[`--v-foreground`],padding:`8px 16px`,margin:`0 4px`,border:0,svg:{fontSize:16},"&:hover":{background:n[`--v-accents-200`]},"&.Mui-selected":{background:n[`--v-accents-200`],color:n[`--v-foreground`],"&:hover":{background:n[`--v-accents-200`]}}},sizeSmall:{padding:`5px 12px`,fontSize:13}}},MuiAlert:{styleOverrides:{root:{fontSize:`14px`,padding:`12px 24px`},icon:{padding:`8px 0`,marginRight:24,color:`inherit !important`},message:{padding:`6px 0`},standardSuccess:{background:n.alertSuccessBackground,border:`1px solid ${n.alertSuccessBorder}`,borderRadius:n.borderRadius,color:n.alertSuccessColor},standardWarning:{background:n.alertWarningBackground,border:`1px solid ${n.alertWarningBorder}`,borderRadius:n.borderRadius,color:n.alertWarningColor},standardError:{background:n.alertErrorBackground,border:`1px solid ${n.alertErrorBorder}`,borderRadius:n.borderRadius,color:n.alertErrorColor},standardInfo:{background:n.alertInfoBackground,border:`1px solid ${n.alertInfoBorder}`,borderRadius:n.borderRadius,color:n.alertInfoColor}}},MuiAlertTitle:{styleOverrides:{root:{marginTop:0}}},MuiFormLabel:{styleOverrides:{root:{color:n.checkboxLabelColor,marginLeft:n.checkboxLabelMargin,fontSize:n.checkboxLabelFontSize,fontWeight:400,"& a":{color:n.linkColor,fontWeight:500,"&:hover":{color:n.linkColorHover}}}}},MuiTableRow:{styleOverrides:{root:{"&:last-child > td":{borderBottom:0},"&.MuiTableRow-hover":{cursor:`pointer`,"&:hover":{background:t===`light`?`rgba(0, 0, 0, 0.01)`:`rgba(255, 255, 255, 0.03)`}}}}},MuiTableCell:{styleOverrides:{root:{borderBottom:`1px solid ${n.colorStrokes}`},head:{padding:`11.5px 16px`,whiteSpace:`nowrap`}}},MuiCheckbox:{styleOverrides:{colorPrimary:{"&.Mui-checked input + span":{background:n.checkboxBackground,borderColor:n.checkboxBackground},"&.MuiCheckbox-indeterminate input + span":{background:n.checkboxBackground,borderColor:n.checkboxBackground}}}},MuiSwitch:{styleOverrides:{track:({ownerState:e})=>({opacity:1,borderRadius:20,background:n.switchTrack,".Mui-checked.Mui-checked:not(.Mui-disabled) + &":{background:n.switchTrackChecked,opacity:1},...e.disabled&&{".Mui-checked.Mui-checked + &":{background:n.switchTrack,opacity:.4}},...e.color===`secondary`&&{opacity:.75,borderRadius:20,background:n.switchTrack,".Mui-checked.Mui-checked + &":{background:n.switchTrack,opacity:1}}}),thumb:({ownerState:e})=>({color:n.switchThumb,...e.color===`secondary`&&{color:n.colorPrimary700},...e.disabled&&{opacity:.8}}),disabled:()=>({".Mui-checked.Mui-checked + &":{background:n.colorPrimary700,opacity:.5}})}},MuiAutocomplete:{defaultProps:{autoCapitalize:`off`,autoCorrect:`off`},styleOverrides:{root:{background:n.inputBackground,color:n.inputColor,fieldset:{borderRadius:n.borderRadius,transition:`0.1s ease-out border-color`},"& .MuiOutlinedInput-root":{padding:`10px 14px`},"& .MuiOutlinedInput-root .MuiAutocomplete-input":{padding:0,fontSize:13}},listbox:{"& .MuiAutocomplete-option":{fontSize:15}}}},MuiInputBase:{defaultProps:{autoCapitalize:`off`,autoCorrect:`off`,autoComplete:`off`},styleOverrides:{root:{background:n.inputBackground,color:n.inputColor,fieldset:{borderRadius:n.borderRadius,transition:`0.1s ease-out border-color`},"& .MuiInputBase-input.Mui-disabled":{WebkitTextFillColor:n.inputColorDisabled},"& .MuiOutlinedInput-input":{fontSize:13},"&.MuiOutlinedInput-root":{paddingRight:`10px`,"& fieldset":{borderColor:n.inputBorder},"&:hover fieldset":{borderColor:n.inputHoverBorder},"&.Mui-focused fieldset":{borderColor:n.inputActiveBorder,borderWidth:1,boxShadow:n.inputActiveShadow},"&.Mui-disabled":{background:n.inputBackgroundDisabled,"& fieldset":{borderColor:n.colorStrokes}}}}}},MuiOutlinedInput:{styleOverrides:{input:{fontSize:14,padding:`10px 14px`},inputSizeSmall:{padding:`8px 14px`,fontSize:12}}},MuiIconButton:{styleOverrides:{root:{color:n.iconButtonColor,borderRadius:n.borderRadius,"&:hover":{color:n.iconButtonColorHover}}}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{boxShadow:`none`,borderRadius:0,"& .MuiButtonGroup-firstButton":{border:`1px solid ${n.buttonContainedPrimaryBorder}`},"& .MuiSvgIcon-root":{height:20}}}},MuiInputAdornment:{styleOverrides:{root:{color:n.iconButtonColor,".MuiTypography-root":{fontSize:13},marginRight:`0 !important`}}},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:{transition:`none !important`,".MuiChip-root":{background:n.colorPrimary500,color:t===`light`?n.colorWhite:n.colorBlack,"&:hover":{background:n.colorPrimary500}}}}},MuiButton:{defaultProps:{disableRipple:!0,disableElevation:!0},variants:[{props:{variant:`link`},style:{color:n.linkColor,padding:0,minWidth:`auto`,height:`fit-content`,"& .MuiTouchRipple-root":{display:`none`},"&:hover":{color:n.linkColorHover,background:`none`},"&:active":{color:n.linkColorHover,background:`none`},"&:disabled":{color:n.colorGrey500,background:`none`},"&.MuiButton-linkError":{color:n.error,"&:hover":{color:D(n.error,.25)}}}}],styleOverrides:{root:{":hover, :focus":{boxShadow:`none !important`},textTransform:`unset`,padding:`10px 28px`,fontSize:14,lineHeight:`16px`,fontWeight:500,borderRadius:n.borderRadius,boxShadow:`none`,"svg:first-child":{width:16,flexShrink:0},whiteSpace:`nowrap`,display:`flex`,gap:8,"&.Mui-disabled":{background:`${n.buttonDisabledBackground} !important`,color:`${n.buttonDisabledColor} !important`,border:`1px solid ${n.buttonDisabledBorder} !important`}},sizeSmall:{padding:`8px 16px`,fontSize:13},outlinedPrimary:$({theme:n,color:n.buttonOutlinedColor,colorHover:n.buttonOutlinedColorHover,background:n.buttonOutlinedBackground,backgroundHover:n.buttonOutlinedBackgroundHover,borderColor:n.buttonOutlinedBorder,borderColorHover:n.buttonOutlinedBorderHover}),containedInfo:$({theme:n,color:`#fff`,colorHover:`#fff`,background:n.colorPrimary500,backgroundHover:n.colorPrimary700,borderColor:n.colorPrimary500,borderColorHover:n.colorPrimary700}),containedPrimary:$({theme:n,color:n.buttonContainedPrimaryColor,colorHover:n.buttonContainedPrimaryColorHover,background:n.buttonContainedPrimaryBackground,backgroundHover:n.buttonContainedPrimaryBackgroundHover,borderColor:n.buttonContainedPrimaryBorder,borderColorHover:n.buttonContainedPrimaryBorderHover}),containedWarning:{"&:hover":{background:D(n.colorWarning,.1)},"&:disabled":{color:n.colorGrey700,background:n.colorWhite}},containedError:{"&:hover":{background:D(n.error,.1)},"&:disabled":{color:n.colorGrey700,background:n.colorWhite}},containedSecondary:$({theme:n,color:n.buttonContainedSecondaryColor,colorHover:n.buttonContainedSecondaryColorHover,background:n.buttonContainedSecondaryBackground,backgroundHover:n.buttonContainedSecondaryBackgroundHover,borderColor:n.buttonContainedSecondaryBorder,borderColorHover:n.buttonContainedSecondaryBorderHover}),textPrimary:{color:n.buttonOutlinedColor,"&:hover":{color:D(n.buttonOutlinedColor,.2)},"&:active":{color:D(n.buttonOutlinedColor,.2)},"&:disabled":{color:n.colorGrey500}},textWarning:{"& .MuiLoadingButton-loadingIndicator":{color:n.alertWarningColor}},outlinedWarning:{"& .MuiLoadingButton-loadingIndicator":{color:n.alertWarningColor}},textError:{"& .MuiLoadingButton-loadingIndicator":{color:n.alertErrorColor}},outlinedError:{"& .MuiLoadingButton-loadingIndicator":{color:n.alertErrorColor}},startIcon:{marginRight:12,height:0,display:`flex`,alignItems:`center`},endIcon:{marginLeft:12,height:0,display:`flex`,alignItems:`center`},sizeLarge:{padding:`16px 32px !important`,fontSize:16}}},MuiSnackbarContent:{styleOverrides:{root:{minWidth:`auto !important`,padding:0,background:`none`,borderRadius:n.borderRadius,fontWeight:500,boxShadow:r[`--v-box-shadow-1`]},message:{padding:0}}},MuiPopover:{defaultProps:{disableScrollLock:!0},styleOverrides:{paper:{background:n.accentBackgroundColor,color:n.bodyColor,border:`1px solid ${r[`--v-strokes`]}`,boxShadow:r[`--v-box-shadow-1`]}}},MuiTooltip:{styleOverrides:{tooltip:{background:e.dark[`--v-accents-100`],border:`1px solid ${e.dark[`--v-strokes`]}`,color:e.dark[`--v-foreground`],boxShadow:r[`--v-box-shadow-1`],fontSize:13,lineHeight:`20px`,padding:`8px 16px`}}},MuiDialog:{defaultProps:{disableScrollLock:!0},styleOverrides:{root:{zIndex:100},paper:{background:n.accentBackgroundColor,color:n.bodyColor,border:`1px solid ${r[`--v-strokes`]}`,boxShadow:r[`--v-box-shadow-1`]}}},MuiStep:{styleOverrides:{root:{padding:`0px 20px`,"&.MuiStep-vertical":{padding:0},"&:first-child":{paddingLeft:0},"&:last-child":{paddingRight:0}}}},MuiStepLabel:{styleOverrides:{iconContainer:{paddingRight:12},label:{color:n.bodyColor,"&.Mui-active":{color:n.colorPrimary700},"&.Mui-completed":{color:n.success}}}},MuiStepIcon:{styleOverrides:{root:{fill:t===`dark`?n.colorGrey500:n.bodyColor,"&.Mui-active":{fill:n.colorPrimary500}}}},MuiTabs:{styleOverrides:{indicator:{display:`none`}}},MuiTab:{defaultProps:{disableRipple:!0},styleOverrides:{root:{flexGrow:1,textTransform:`none`,color:n.bodyColor,maxWidth:`none`,borderRight:`1px solid ${r[`--v-strokes`]}`,"&.Mui-selected":{color:n.bodyColor,borderBottom:`1px solid transparent`},"&:not(.Mui-selected)":{background:n.accentBackgroundColor,borderBottom:`1px solid ${r[`--v-strokes`]}`},"&:last-child":{borderRight:0}}}},MuiFormControlLabel:{defaultProps:{labelPlacement:`start`},styleOverrides:{label:{marginRight:8,fontSize:14}}},MuiTablePagination:{styleOverrides:{root:{color:n.bodyColor,"& .MuiIconButton-root":{color:`${n.bodyColor} !important`,"&.Mui-disabled":{opacity:.3}},"& .MuiTablePagination-select":{fontSize:`12px !important`},"& .MuiTablePagination-actions":{".MuiSvgIcon-root":{width:20}}},select:{color:`${n.bodyColor} !important`,fontWeight:`400 !important`},selectIcon:{color:`${n.bodyColor} !important`},displayedRows:{fontSize:12},selectLabel:{fontSize:12}}}}})};function ve(e){let t=c(9),n=be();if(!o())return null;let r;t[0]===n.theme?r=t[1]:(r=_e(n.theme),t[0]=n.theme,t[1]=r);let i;t[2]===n.theme?i=t[3]:(i=P(ge,{theme:n.theme}),t[2]=n.theme,t[3]=i);let a;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=P(ce,{}),t[4]=a):a=t[4];let s;return t[5]!==e.children||t[6]!==r||t[7]!==i?(s=F(S,{theme:r,children:[i,a,e.children]}),t[5]=e.children,t[6]=r,t[7]=i,t[8]=s):s=t[8],s}const ye=ie(null);function be(){let e=M(ye);if(!e)throw Error(`useVThemeContext must be used within a VThemeProvider`);return e}function xe(e){let t=c(7),[n,r]=se(e.defaultTheme??`light`),i;t[0]===n?i=t[1]:(i={theme:n,setTheme:r},t[0]=n,t[1]=i);let a;t[2]===e.children?a=t[3]:(a=P(ve,{children:P(`div`,{className:`${L.className} ${L.variable} ${I.className} ${I.variable}`,children:e.children})}),t[2]=e.children,t[3]=a);let o;return t[4]!==i||t[5]!==a?(o=P(ye.Provider,{value:i,children:a}),t[4]=i,t[5]=a,t[6]=o):o=t[6],o}function Se(e){let t=c(3),n=e.theme===`dark`?`dark-theme`:`light-theme`,r;return t[0]!==e.children||t[1]!==n?(r=P(`div`,{className:n,children:e.children}),t[0]=e.children,t[1]=n,t[2]=r):r=t[2],r}const Ce=ne(`div`)(e=>({"&:hover":e.$styleHover}));function we(e){let t=k(),n=O(t.breakpoints.down(`sm`)),r=O(t.breakpoints.down(`md`)),i=Object.fromEntries([[`padding`,e.padding],[`paddingTop`,e.paddingTop],[`paddingBottom`,e.paddingBottom],[`paddingLeft`,e.paddingLeft],[`paddingRight`,e.paddingRight]].filter(([,e])=>e!==void 0)),a=r&&e.gapMdDown?e.gapMdDown:e.gap;return P(Ce,{style:{display:`flex`,flexDirection:n&&e.flexDirectionSmDown?e.flexDirectionSmDown:r&&e.flexDirectionMdDown?e.flexDirectionMdDown:e.flexDirection,margin:e.margin,marginTop:e.marginTop,marginBottom:e.marginBottom,marginLeft:e.marginLeft,marginRight:e.marginRight,...i,gap:a,rowGap:e.rowGap||a,columnGap:e.columnGap||a,alignItems:e.alignItems,justifyContent:e.justifyContent,flexWrap:e.flexWrap,flexGrow:e.flexGrow,flexShrink:e.flexShrink,flexBasis:e.flexBasis,width:e.width,minWidth:e.minWidth,maxWidth:e.maxWidth,minHeight:e.minHeight,maxHeight:e.maxHeight,gridColumn:n&&e.gridColumnSpanSmDown?`span ${e.gridColumnSpanSmDown}`:r&&e.gridColumnSpanMdDown?`span ${e.gridColumnSpanMdDown}`:e.gridColumnSpan?`span ${e.gridColumnSpan}`:void 0,color:e.color?`var(${e.color})`:void 0,...e.style},$styleHover:e.styleHover,ref:e.containerRef,onClick:e.onClick,children:e.children})}function Te(e){let t=c(22),n=k(),r;t[0]===n.breakpoints?r=t[1]:(r=n.breakpoints.down(`sm`),t[0]=n.breakpoints,t[1]=r);let i=O(r),a;t[2]===n.breakpoints?a=t[3]:(a=n.breakpoints.down(`md`),t[2]=n.breakpoints,t[3]=a);let o=O(a),s=i&&e.columnsSmDown?e.columnsSmDown:o&&e.columnsMdDown?e.columnsMdDown:e.columns,l=e.rowGap||e.gap,u=e.columnGap||e.gap,d=typeof e.padding==`number`?e.padding:e.padding?.top,f=typeof e.padding==`number`?e.padding:e.padding?.bottom,p=typeof e.padding==`number`?e.padding:e.padding?.left,m=typeof e.padding==`number`?e.padding:e.padding?.right,h=typeof e.margin==`number`?e.margin:e.margin?.top,g=typeof e.margin==`number`?e.margin:e.margin?.bottom,_=typeof e.margin==`number`?e.margin:e.margin?.left,v=typeof e.margin==`number`?e.margin:e.margin?.right,y;t[4]!==s||t[5]!==e.alignItems||t[6]!==e.gap||t[7]!==e.maxWidth||t[8]!==_||t[9]!==v||t[10]!==l||t[11]!==u||t[12]!==d||t[13]!==f||t[14]!==p||t[15]!==m||t[16]!==h||t[17]!==g?(y={display:`grid`,gridTemplateColumns:s,gap:e.gap,rowGap:l,columnGap:u,paddingTop:d,paddingBottom:f,paddingLeft:p,paddingRight:m,marginTop:h,marginBottom:g,marginLeft:_,marginRight:v,alignItems:e.alignItems,maxWidth:e.maxWidth},t[4]=s,t[5]=e.alignItems,t[6]=e.gap,t[7]=e.maxWidth,t[8]=_,t[9]=v,t[10]=l,t[11]=u,t[12]=d,t[13]=f,t[14]=p,t[15]=m,t[16]=h,t[17]=g,t[18]=y):y=t[18];let b;return t[19]!==e.children||t[20]!==y?(b=P(`div`,{style:y,children:e.children}),t[19]=e.children,t[20]=y,t[21]=b):b=t[21],b}const Ee={en:{"component.vcode.copy_failed":`Copy to clipboard failed.`,"component.vcode.copy_success":`Copied to clipboard.`,"component.vcode.copy_to_clipboard":`Copy to clipboard`,"component.vcode.toggle_wrap":`Toggle line wrap`,"component.vcode.download_file":`Download file`,"component.vcode.collapse_code":`Collapse code`,"component.vcode.view_code":`View Code`,"component.vchip.copy_failed":`Copy to clipboard failed.`,"component.vchip.copy_success":`Copied to clipboard`,"component.vchip.copy_to_clipboard":`Copy to clipboard`,"component.verrorbox.retry":`Retry`,"component.theme_toggle.light_mode":`Light mode`,"component.theme_toggle.dark_mode":`Dark mode`},de:{"component.vcode.copy_failed":`Kopieren in die Zwischenablage fehlgeschlagen.`,"component.vcode.copy_success":`In die Zwischenablage kopiert.`,"component.vcode.copy_to_clipboard":`In die Zwischenablage kopieren`,"component.vcode.toggle_wrap":`Zeilenumbruch umschalten`,"component.vcode.download_file":`Datei herunterladen`,"component.vcode.collapse_code":`Code einklappen`,"component.vcode.view_code":`Code anzeigen`,"component.vchip.copy_failed":`Kopieren in die Zwischenablage fehlgeschlagen.`,"component.vchip.copy_success":`In die Zwischenablage kopiert`,"component.vchip.copy_to_clipboard":`In die Zwischenablage kopieren`,"component.verrorbox.retry":`Erneut versuchen`,"component.theme_toggle.light_mode":`Light mode`,"component.theme_toggle.dark_mode":`Dark mode`}};function De(){return function(){let e=B();return{locale:e.locale,t:function(...t){let[n,r]=t;return e.formatMessage({id:n},r)},tHtml:function(...e){let[t,n]=e;return P(R,{id:t,values:{...n}},t)}}}}const Oe=De();function ke(e){let t=c(7),n=e.messages[e.locale]??e.messages.en,r=Ee[e.locale],i;t[0]!==n||t[1]!==r?(i={...r,...n},t[0]=n,t[1]=r,t[2]=i):i=t[2];let a=i,o;return t[3]!==a||t[4]!==e.children||t[5]!==e.locale?(o=P(z,{locale:e.locale,messages:a,children:e.children}),t[3]=a,t[4]=e.children,t[5]=e.locale,t[6]=o):o=t[6],o}function Ae(e){let t=De();function n(t){let n=c(2),r;return n[0]===t?r=n[1]:(r=P(ke,{...t,messages:e}),n[0]=t,n[1]=r),r}return{VIntlProvider:n,useVIntl:t}}const je={strong:r[`--v-accents-100`],error:r[`--v-red-700`],disabled:r[`--v-accents-700`]},Me={300:300,400:400,500:500,600:600,700:700,800:800,900:900};function Ne(e){let t=c(12),n=k(),r;t[0]===n.breakpoints?r=t[1]:(r=n.breakpoints.down(`sm`),t[0]=n.breakpoints,t[1]=r);let i=O(r),a;t[2]===n.breakpoints?a=t[3]:(a=n.breakpoints.down(`md`),t[2]=n.breakpoints,t[3]=a);let o=O(a),s=e.type?`v-text-${e.type}`:void 0,l=e.color?je[e.color]||`var(${e.color})`:void 0,u=e.weight?Me[e.weight]:void 0,d=e.component===`ul`?14:void 0,f=i&&e.textAlignSmDown?e.textAlignSmDown:o&&e.textAlignMdDown?e.textAlignMdDown:e.textAlign,p=e.breakWord?`break-word`:void 0,m;return t[4]!==e||t[5]!==s||t[6]!==l||t[7]!==u||t[8]!==d||t[9]!==f||t[10]!==p?(m=A(e.component,{className:s,style:{color:l,fontWeight:u,paddingLeft:d,textAlign:f,width:e.width,maxWidth:e.maxWidth,wordBreak:p,...e.noWrapEllipsis?{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`}:{},...e.style},"data-testid":e[`data-testid`],onClick:e.onClick},e.children),t[4]=e,t[5]=s,t[6]=l,t[7]=u,t[8]=d,t[9]=f,t[10]=p,t[11]=m):m=t[11],m}function Pe(e){let t=e.durationInMs===`infinite`?9999999999:e.durationInMs||8e3,n,r={description:e.description,duration:t};return e.id&&(r.id=e.id),setTimeout(()=>{n=e.type===`info`?H.info(e.title,r):e.type===`success`?H.success(e.title,r):e.type===`warning`?H.warning(e.title,r):e.type===`error`?H.error(e.title,r):e.type===`loading`?H.loading(e.title,r):H.info(e.title,r)}),{dismiss:()=>{H.dismiss(n)}}}function Fe(){let e=c(2),{theme:t}=be(),n;return e[0]===t?n=e[1]:(n=P(ue,{richColors:!0,theme:t,visibleToasts:4,position:`top-center`,closeButton:!0}),e[0]=t,e[1]=n),n}const Ie=r[`--v-accents-500`],Le=2e3;async function Re(e){return V(await le(e.code,{lang:e.lang,theme:`github-dark-default`,transformers:[{code(e){let t=typeof e.properties.style==`string`?e.properties.style+`;`:``;e.properties.style=`${t}font-family: var(--font-geist-mono);`},line(e,t){let n=typeof e.properties.style==`string`?e.properties.style+`;`:``;e.properties.style=`${n}display:block;padding-left:3.5em;line-height:20px`,e.children.unshift({type:`element`,tagName:`span`,properties:{style:`margin-left:-3.5em;color:${r[`--v-accents-500`]};user-select:none;display:inline-block;width:2em;margin-right:1.5em;text-align:right`},children:[{type:`text`,value:String(t)}]})}}]}),{Fragment:re,jsx:P,jsxs:F,components:{pre:t=>P(`pre`,{...t,style:{...t.style,padding:`14px 16px`,fontSize:13,lineHeight:0,overflow:`auto`,whiteSpace:e.wrap?`pre-wrap`:`pre`,margin:0,background:r[`--v-accents-100`],borderBottomLeftRadius:n[`--v-border-radius`],borderBottomRightRadius:n[`--v-border-radius`],maxHeight:e.maxHeight}})}})}function ze(e){let t=c(94),i=Oe(),[a,o]=se(null),[l,d]=se(!1),[f,y]=se(!1),[b,ee]=se(e.defaultCollapsed??!1),S=e.collapsed??b,w;t[0]===e?w=t[1]:(w=t=>{e.collapsed===void 0&&ee(t),e.onCollapsedChange?.(t)},t[0]=e,t[1]=w);let T=w,E,D;t[2]!==e.content||t[3]!==e.lang||t[4]!==e.maxHeight||t[5]!==l?(E=()=>{Re({code:e.content,lang:e.lang,wrap:l,maxHeight:e.maxHeight}).then(o)},D=[e.content,e.lang,e.maxHeight,l],t[2]=e.content,t[3]=e.lang,t[4]=e.maxHeight,t[5]=l,t[6]=E,t[7]=D):(E=t[6],D=t[7]),oe(E,D);let ne,O;t[8]===f?(ne=t[9],O=t[10]):(ne=()=>{if(!f)return;let e=window.setTimeout(()=>y(!1),Le);return()=>window.clearTimeout(e)},O=[f],t[8]=f,t[9]=ne,t[10]=O),ae(ne,O);let k;t[11]===e.style?k=t[12]:(k={position:`relative`,minHeight:128,...e.style},t[11]=e.style,t[12]=k);let re;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(re={background:r[`--v-background`],borderTopLeftRadius:n[`--v-border-radius`],borderTopRightRadius:n[`--v-border-radius`],border:`1px solid ${r[`--v-strokes`]}`,color:Ie},t[13]=re):re=t[13];let ie;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(ie=P(v,{height:16,width:16,style:{marginRight:8}}),t[14]=ie):ie=t[14];let A;t[15]===e.title?A=t[16]:(A=F(we,{alignItems:`center`,gap:8,children:[ie,P(Ne,{component:`span`,type:`copy-13`,weight:`400`,children:e.title})]}),t[15]=e.title,t[16]=A);let j;t[17]!==S||t[18]!==T||t[19]!==i?(j=!S&&P(C,{title:i.t(`component.vcode.collapse_code`),placement:`top`,children:P(x,{"aria-label":i.t(`component.vcode.collapse_code`),"aria-expanded":!0,onClick:()=>T(!0),style:{border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Ie},children:P(g,{height:16,width:16})})}),t[17]=S,t[18]=T,t[19]=i,t[20]=j):j=t[20];let M;t[21]===i?M=t[22]:(M=i.t(`component.vcode.download_file`),t[21]=i,t[22]=M);let N;t[23]===i?N=t[24]:(N=i.t(`component.vcode.download_file`),t[23]=i,t[24]=N);let I;t[25]!==e.content||t[26]!==e.title?(I=()=>{let t=new Blob([e.content],{type:`text/plain`}),n=URL.createObjectURL(t),r=document.createElement(`a`);r.href=n,r.download=e.title,r.click(),URL.revokeObjectURL(n)},t[25]=e.content,t[26]=e.title,t[27]=I):I=t[27];let L,ce;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(L={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Ie},ce=P(p,{height:16,width:16}),t[28]=L,t[29]=ce):(L=t[28],ce=t[29]);let R;t[30]!==N||t[31]!==I?(R=P(x,{"aria-label":N,onClick:I,style:L,children:ce}),t[30]=N,t[31]=I,t[32]=R):R=t[32];let z;t[33]!==M||t[34]!==R?(z=P(C,{title:M,placement:`top`,children:R}),t[33]=M,t[34]=R,t[35]=z):z=t[35];let B;t[36]===i?B=t[37]:(B=i.t(`component.vcode.toggle_wrap`),t[36]=i,t[37]=B);let V;t[38]===i?V=t[39]:(V=i.t(`component.vcode.toggle_wrap`),t[38]=i,t[39]=V);let le,ue;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(le=()=>d(Be),ue={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Ie},t[40]=le,t[41]=ue):(le=t[40],ue=t[41]);let H;t[42]===l?H=t[43]:(H=P(l?h:m,{height:16,width:16}),t[42]=l,t[43]=H);let U;t[44]!==V||t[45]!==H?(U=P(x,{"aria-label":V,onClick:le,style:ue,children:H}),t[44]=V,t[45]=H,t[46]=U):U=t[46];let W;t[47]!==B||t[48]!==U?(W=P(C,{title:B,placement:`top`,children:U}),t[47]=B,t[48]=U,t[49]=W):W=t[49];let G;t[50]!==f||t[51]!==i?(G=f?i.t(`component.vcode.copy_success`):i.t(`component.vcode.copy_to_clipboard`),t[50]=f,t[51]=i,t[52]=G):G=t[52];let K;t[53]!==f||t[54]!==i?(K=f?i.t(`component.vcode.copy_success`):i.t(`component.vcode.copy_to_clipboard`),t[53]=f,t[54]=i,t[55]=K):K=t[55];let q;t[56]!==e.content||t[57]!==i?(q=async t=>{t.stopPropagation();try{await s.copyToClipboard(e.content),y(!0),Pe({type:`success`,title:i.t(`component.vcode.copy_success`),durationInMs:Le})}catch{Pe({type:`error`,title:i.t(`component.vcode.copy_failed`)})}},t[56]=e.content,t[57]=i,t[58]=q):q=t[58];let J;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(J={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Ie},t[59]=J):J=t[59];let Y;t[60]===f?Y=t[61]:(Y=P(f?u:_,{height:16,width:16}),t[60]=f,t[61]=Y);let de;t[62]!==K||t[63]!==q||t[64]!==Y?(de=P(x,{"aria-label":K,onClick:q,style:J,children:Y}),t[62]=K,t[63]=q,t[64]=Y,t[65]=de):de=t[65];let fe;t[66]!==G||t[67]!==de?(fe=P(C,{title:G,placement:`top`,children:de}),t[66]=G,t[67]=de,t[68]=fe):fe=t[68];let pe;t[69]!==z||t[70]!==W||t[71]!==fe||t[72]!==j?(pe=F(we,{alignItems:`center`,gap:8,children:[j,z,W,fe]}),t[69]=z,t[70]=W,t[71]=fe,t[72]=j,t[73]=pe):pe=t[73];let X;t[74]!==pe||t[75]!==A?(X=F(we,{style:re,gap:40,alignItems:`center`,justifyContent:`space-between`,padding:`6px 12px 6px 16px`,children:[A,pe]}),t[74]=pe,t[75]=A,t[76]=X):X=t[76];let me=S?110:void 0,he=S?`hidden`:void 0,ge;t[77]!==me||t[78]!==he?(ge={position:`relative`,maxHeight:me,overflow:he,borderLeft:`1px solid ${r[`--v-strokes`]}`,borderBottom:`1px solid ${r[`--v-strokes`]}`,borderRight:`1px solid ${r[`--v-strokes`]}`,borderBottomLeftRadius:n[`--v-border-radius`],borderBottomRightRadius:n[`--v-border-radius`]},t[77]=me,t[78]=he,t[79]=ge):ge=t[79];let Z;t[80]!==S||t[81]!==T||t[82]!==i?(Z=S&&P(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(180deg, rgb(0 0 0 / 45%), rgb(0 0 0 / 90%))`},children:P(te,{variant:`outlined`,size:`small`,"aria-expanded":!1,onClick:()=>T(!1),style:{background:r[`--v-background`]},children:i.t(`component.vcode.view_code`)})}),t[80]=S,t[81]=T,t[82]=i,t[83]=Z):Z=t[83];let Q;t[84]!==a||t[85]!==ge||t[86]!==Z?(Q=F(`div`,{style:ge,children:[a,Z]}),t[84]=a,t[85]=ge,t[86]=Z,t[87]=Q):Q=t[87];let $;t[88]!==X||t[89]!==Q?($=F(Se,{theme:`dark`,children:[X,Q]}),t[88]=X,t[89]=Q,t[90]=$):$=t[90];let _e;return t[91]!==$||t[92]!==k?(_e=P(we,{flexDirection:`column`,style:k,children:$}),t[91]=$,t[92]=k,t[93]=_e):_e=t[93],_e}function Be(e){return!e}const Ve=ne(`span`)(e=>({...e.$style,"&:hover":e.$styleHover})),He=`medium`,Ue=2e3;function We(e){let t=Oe(),[n,i]=se(!1);ae(()=>{if(!n)return;let e=window.setTimeout(()=>i(!1),Ue);return()=>window.clearTimeout(e)},[n]);let a={color:r[`--v-blue-700`],border:r[`--v-blue-500`],background:r[`--v-blue-100`],backgroundHover:r[`--v-blue-200`]};`type`in e?e.type===`error`?(a.color=r[`--v-red-700`],a.border=r[`--v-red-500`],a.background=r[`--v-red-100`],a.backgroundHover=r[`--v-red-200`]):e.type===`success`&&(a.color=r[`--v-green-700`],a.border=r[`--v-green-500`],a.background=r[`--v-green-100`],a.backgroundHover=r[`--v-green-200`]):(a.color=e.color,a.border=e.border,a.background=e.background,a.backgroundHover=e.backgroundHover||e.background);let o={small:{padding:`3px 8px`,fontSize:10},medium:{padding:`6px 14px`,fontSize:11},large:{padding:`9px 20px`,fontSize:12}};return P(C,{title:e.tooltip??``,placement:e.tooltipPlacement??`top`,children:P(Ve,{$style:{border:`1px solid ${a.border}`,color:a.color,background:a.background,padding:o[e.size??He].padding,borderRadius:9999,fontSize:o[e.size??He].fontSize,fontWeight:600,lineHeight:`12px`,display:`inline-block`,cursor:e.onClick?`pointer`:`default`,...e.style},onClick:t=>{t.stopPropagation(),e.onClick?.()},$styleHover:{background:a.backgroundHover},children:F(we,{gap:8,alignItems:`center`,children:[e.content,e.showCopyButton&&P(C,{title:n?t.t(`component.vchip.copy_success`):e.copyTooltip??t.t(`component.vchip.copy_to_clipboard`),placement:`top`,children:P(x,{"aria-label":n?t.t(`component.vchip.copy_success`):e.copyTooltip??t.t(`component.vchip.copy_to_clipboard`),onClick:async n=>{n.stopPropagation();let r=e.copyText?.trim();if(r)try{await s.copyToClipboard(r),i(!0),Pe({type:`success`,title:e.copyToastTitle??t.t(`component.vchip.copy_success`),durationInMs:Ue})}catch{Pe({type:`error`,title:t.t(`component.vchip.copy_failed`)})}},style:{border:`none`,background:`transparent`,padding:0,margin:0,display:`flex`,alignItems:`center`,color:a.color},children:P(n?u:_,{height:12,width:12})})})]})})})}function Ge(e){let t=c(21),i=Oe(),a=e.onRetry,o=e.size===`small`?`18px ${a?20:28}px 18px 28px`:`14px ${a?20:28}px 14px 28px`,s;t[0]===e.singleLine?s=t[1]:(s=e.singleLine?{whiteSpace:`nowrap`,minWidth:0,flexGrow:1}:{},t[0]=e.singleLine,t[1]=s);let u;t[2]!==e.style||t[3]!==o||t[4]!==s?(u={color:r[`--v-red-700`],background:r[`--v-red-200`],borderRadius:n[`--v-border-radius`],border:`1px solid ${r[`--v-red-700`]}`,padding:o,display:`flex`,alignItems:`center`,justifyContent:`space-between`,fontSize:13,fontWeight:400,lineHeight:`15px`,maxWidth:`100%`,...s,...e.style},t[2]=e.style,t[3]=o,t[4]=s,t[5]=u):u=t[5];let d=a?12:0,f;t[6]===d?f=t[7]:(f={marginRight:d,overflow:`hidden`,textOverflow:`ellipsis`},t[6]=d,t[7]=f);let p;t[8]!==e.children||t[9]!==f?(p=P(`div`,{style:f,children:e.children}),t[8]=e.children,t[9]=f,t[10]=p):p=t[10];let m;t[11]!==e||t[12]!==i?(m=e.onRetry&&P(C,{title:i.t(`component.verrorbox.retry`),placement:`bottom`,children:P(x,{onClick:t=>{t.stopPropagation(),e.onRetry?.()},style:{marginLeft:`auto`,color:r[`--v-red-700`]},children:P(l,{style:{width:16}})})}),t[11]=e,t[12]=i,t[13]=m):m=t[13];let h;t[14]!==u||t[15]!==p||t[16]!==m?(h=F(`div`,{style:u,children:[p,m]}),t[14]=u,t[15]=p,t[16]=m,t[17]=h):h=t[17];let g;return t[18]!==e.tooltip||t[19]!==h?(g=P(C,{title:e.tooltip,placement:`top`,children:h}),t[18]=e.tooltip,t[19]=h,t[20]=g):g=t[20],g}export{G as VAlert,pe as VCard,We as VChip,ze as VCode,Ge as VErrorBox,we as VFlex,Te as VGrid,fe as VLoading,Se as VTheme,xe as VThemeProvider,Fe as VToast,Ae as createVIntl,Pe as showVToast,be as useVThemeContext};
|
|
244
|
+
`}),n[0]=i):i=n[0];let a;n[1]===e.theme?a=n[2]:(a=ve(e.theme),n[1]=e.theme,n[2]=a);let o;return n[3]===a?o=n[4]:(o=R(I,{children:[i,L(`style`,{children:a})]}),n[3]=a,n[4]=o),o}function be(){let t=`#2050ff`;t+``,t+``,t+``;let n=A(t,.2),r=`#e60000`,o=`#E0E0E0`,s=k(o,.5),c=k(o,.2),l=A(o,.2),u=A(o,.4),d=`#e8e8e8`,f=`#e77700`;return{...e.light,...i,...a,colorPrimary500:t,colorPrimary500Alpha10:`#2050ff1a`,colorPrimary500Alpha15:`#2050ff26`,colorPrimary500Alpha20:`#2050ff33`,colorPrimary700:n,colorGrey100:s,colorGrey300:c,colorGrey500:o,colorGrey700:l,colorGrey900:u,colorPurple900:`#a027ff`,colorPurple900Alpha10:D(`#a027ff`,.1),colorPink900:`#e43a99`,colorPink900Alpha:`#e43a9914`,colorWarning:f,colorMarker:`rgb(244 125 27 / 39%) 4%, rgb(215 106 40 / 15%)`,borderRadius:`6px`,colorBlack:`#000000`,colorStrokes:d,colorStrokesLight:A(d,.5),linkColor:n,linkColorHover:A(n,.25),colorWhite:`#FFFFFF`,bodyBackground:`#fcfcfc`,bodyColor:`#444`,bodyColorAlpha50:D(`#444`,.5),bodyColorStrong:`#000`,inputBackground:`#fff`,inputBackgroundDisabled:`rgb(250, 250, 250)`,inputColor:`#000`,inputColorDisabled:s,inputBorder:`#e8e8e8`,inputHoverBorder:k(`#e8e8e8`,.1),inputActiveBorder:t,inputActiveShadow:`0 0 0 4px rgba(50, 132, 255, 0.1)`,buttonContainedPrimaryColor:`#fff`,buttonContainedPrimaryColorHover:`#fff`,buttonContainedPrimaryBackground:`#0a0a0a`,buttonContainedPrimaryBackgroundHover:A(`#0a0a0a`,.1),buttonContainedPrimaryBorder:A(`#0a0a0a`,.1),buttonContainedPrimaryBorderHover:A(`#0a0a0a`,.2),buttonContainedSecondaryColor:`#fff`,buttonContainedSecondaryColorHover:`#fff`,buttonContainedSecondaryBackground:`#0a0a0a`,buttonContainedSecondaryBackgroundHover:A(`#0a0a0a`,.1),buttonContainedSecondaryBorder:`#0a0a0a`,buttonContainedSecondaryBorderHover:A(`#0a0a0a`,.1),buttonOutlinedColor:`rgba(0, 0, 0, 0.9)`,buttonOutlinedColorHover:`rgba(0, 0, 0, 1)`,buttonOutlinedBackground:`#fafafa`,buttonOutlinedBackgroundHover:`#fff`,buttonOutlinedBorder:`#e8e8e8`,buttonOutlinedBorderHover:k(`#e8e8e8`,.1),buttonDisabledColor:c,buttonDisabledBackground:u,buttonDisabledBorder:o,checkboxBackground:t,checkboxLabelColor:`rgba(0, 0, 0, 0.9)`,checkboxLabelFontSize:13,checkboxLabelFontWeight:400,checkboxLabelMargin:16,error:r,errorAlpha10:D(r,.1),errorAlpha15:D(r,.15),errorAlpha20:D(r,.2),success:`#11c12fff`,switchThumb:`#fff`,switchTrack:c,switchTrackChecked:t,iconButtonColor:A(`#05102b`,.4),iconButtonColorHover:`#05102b`,accentBackgroundColor:`#fff`,accentBackgroundColorStrong:k(`#fff`,.05),alertInfoBackground:A(t,.9),alertInfoColor:t,alertInfoBorder:`hsl(221, 91%, 91%)`,alertSuccessBackground:`hsl(143, 85%, 96%)`,alertSuccessColor:`hsl(140, 100%, 27%)`,alertSuccessBorder:`hsl(145, 92%, 91%)`,alertWarningBackground:A(f,.95),alertWarningColor:f,alertWarningBorder:A(f,.8),alertErrorBackground:`hsl(359, 100%, 97%)`,alertErrorColor:`hsl(360, 100%, 45%)`,alertErrorBorder:`hsl(359, 100%, 94%)`,sidebarBackground:`#fff`,sidebarActiveColor:`#000`,sidebarActiveBackground:D(`#000`,.05),sidebarActiveBackgroundHover:D(n,.075),sidebarColor:e.light[`--v-accents-700`],sidebarLinkHoverBackground:`rgba(0, 0, 0, 0.05)`,sidebarLinkHoverColor:`rgba(0, 0, 0, 0.9)`,tableSortIconBackground:e.light[`--v-blue-200`],tableSortIconColor:e.light[`--v-blue-700`],tableBorderColor:`rgba(0, 0, 0, 0.1)`,dragAndDropAreaColor:t,dragAndDropAreaColorDisabled:c,dragAndDropAreaBorder:`#2c5dbf0f`,dragAndDropAreaBorderDisabled:`#2c5dbf0f`,dragAndDropAreaBackground:`#2c5dbf0f`,dragAndDropAreaBackgroundHover:`#2c5dbf1a`,dragAndDropAreaBackgroundDisabled:D(u,.5),selectionColor:`#fff`,selectionBackground:t,boxShadow:`0px 5px 5px -3px rgb(0 0 0 / 0%), 0px 8px 10px 1px rgb(0 0 0 / 2%), 0px 3px 14px 2px rgba(0,0,0,0.12)`,boxShadow2:`0 14px 20px -4px rgba(50,50,93,0.05), 0 8px 16px -8px rgba(0,0,0,0.05)`,boxShadow3:`0 14px 20px -4px rgba(229, 239, 250, 1)`,boxShadow4:`0 1px 2px 0 rgba(0,0,0,.05)`,boxShadowError:`0 14px 20px -4px rgba(255, 18, 18, 0.05), 0 8px 16px -8px rgba(255, 0, 0, 0.05)`,keystrokePreviewColor:s,keystrokePreviewBackground:`rgba(0, 0, 0, 0.03)`,dottedBackgroundDotsColor:`#00000016`,blockEditorSidebarGroupHeaderBackground:`#fafafa`,blockEditorSidebarGroupHeaderBackgroundHover:`#f2f2f2`,blockEditorSidebarGroupHeaderColor:`#000`,upgradeToProBannerBackground:`#0a0a0a`,upgradeToProBannerBackgroundHover:A(`#0a0a0a`,.1),upgradeToProBannerColor:`#fff`,upgradeToProBannerBorder:`1px solid #0a0a0a`}}function xe(){let t=`#006eff`;t+``,t+``,t+``;let n=k(t,.4),r=A(t,.2),o=`hsl(360, 100%, 45%)`,s=`#444`,c=k(s,.8),l=k(s,.4),u=A(s,.4),d=A(s,.8),f=`#2a2a2a`,p=`#ff9700`;return{...e.dark,...i,...a,colorPrimary500:t,colorPrimary500Alpha10:`#006eff1a`,colorPrimary500Alpha15:`#006eff26`,colorPrimary500Alpha20:`#006eff33`,colorPrimary700:r,colorGrey100:d,colorGrey300:u,colorGrey500:s,colorGrey700:l,colorGrey900:c,colorPurple900:`#c068ff`,colorPurple900Alpha10:D(`#c068ff`,.1),colorPink900:`#ff1e9c`,colorPink900Alpha:`#ff1e9c1f`,colorWarning:p,colorMarker:`${D(t,.4)} 4%, ${D(t,.15)}`,borderRadius:`6px`,colorBlack:`#fff`,colorStrokes:f,colorStrokesLight:k(f,.5),linkColor:r,linkColorHover:A(r,.25),colorWhite:`#0e0e0e`,bodyBackground:e.dark[`--v-background-100`],bodyColor:`#a1a1a1`,bodyColorAlpha50:D(`#fff`,.5),bodyColorStrong:`#fff`,inputBackground:`#0a0a0a`,inputBackgroundDisabled:`#ffffff14`,inputColor:`#fff`,inputColorDisabled:d,inputBorder:`#2a2a2a`,inputHoverBorder:A(`#2a2a2a`,.1),inputActiveBorder:t,inputActiveShadow:`0 0 0 4px ${D(t,.2)}`,buttonContainedPrimaryColor:`#000`,buttonContainedPrimaryColorHover:`#000`,buttonContainedPrimaryBackground:`#fff`,buttonContainedPrimaryBackgroundHover:k(`#fff`,.1),buttonContainedPrimaryBorder:`#fff`,buttonContainedPrimaryBorderHover:k(`#fff`,.1),buttonContainedSecondaryColor:`#e3e3e3`,buttonContainedSecondaryColorHover:`#fff`,buttonContainedSecondaryBackground:`#0a0a0a`,buttonContainedSecondaryBackgroundHover:A(`#0a0a0a`,.1),buttonContainedSecondaryBorder:f,buttonContainedSecondaryBorderHover:A(f,.1),buttonOutlinedColor:`#e3e3e3`,buttonOutlinedColorHover:`#fff`,buttonOutlinedBackground:`#0a0a0a`,buttonOutlinedBackgroundHover:A(`#0a0a0a`,.1),buttonOutlinedBorder:f,buttonOutlinedBorderHover:A(f,.1),buttonDisabledColor:l,buttonDisabledBackground:c,buttonDisabledBorder:l,checkboxBackground:t,checkboxLabelColor:`#fff`,checkboxLabelFontSize:13,checkboxLabelFontWeight:400,checkboxLabelMargin:16,error:o,errorAlpha10:D(o,.1),errorAlpha15:D(o,.15),errorAlpha20:D(o,.2),success:`#1ce853`,switchThumb:`#fff`,switchTrack:`#30363d`,switchTrackChecked:t,iconButtonColor:k(`#fff`,.2),iconButtonColorHover:`#fff`,accentBackgroundColor:`#0a0a0a`,accentBackgroundColorStrong:`#0e0e0e`,alertInfoBackground:`rgb(11 20 38)`,alertInfoColor:r,alertInfoBorder:k(t,.6),alertSuccessBackground:`hsl(150, 100%, 6%)`,alertSuccessColor:`#59f380`,alertSuccessBorder:`hsl(147, 100%, 12%)`,alertWarningBackground:k(p,.85),alertWarningColor:p,alertWarningBorder:k(p,.5),alertErrorBackground:`hsl(358, 76%, 5%)`,alertErrorColor:`#f00`,alertErrorBorder:`hsl(357, 89%, 16%)`,sidebarBackground:e.dark[`--v-background-200`],sidebarActiveColor:`#fff`,sidebarActiveBackground:D(`#fff`,.05),sidebarActiveBackgroundHover:D(r,.075),sidebarColor:e.dark[`--v-accents-700`],sidebarLinkHoverBackground:`rgba(255, 255, 255, 0.05)`,sidebarLinkHoverColor:`#fff`,tableSortIconBackground:e.dark[`--v-blue-200`],tableSortIconColor:e.dark[`--v-blue-700`],tableBorderColor:`#292d31`,dragAndDropAreaColor:t,dragAndDropAreaColorDisabled:D(s,.5),dragAndDropAreaBorder:`#2c5dbf0f`,dragAndDropAreaBorderDisabled:D(s,.05),dragAndDropAreaBackground:`#2c5dbf0f`,dragAndDropAreaBackgroundHover:`#2c5dbf1a`,dragAndDropAreaBackgroundDisabled:D(s,.05),selectionColor:`#fff`,selectionBackground:n,boxShadow:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow2:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow3:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow4:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadowError:`0px 0px 60px 0px rgba(255, 0, 0, 0.15)`,keystrokePreviewColor:d,keystrokePreviewBackground:`rgba(255, 255, 255, 0.03)`,dottedBackgroundDotsColor:`#ffffff16`,blockEditorSidebarGroupHeaderBackground:`#1a1a1a`,blockEditorSidebarGroupHeaderBackgroundHover:`#262626`,blockEditorSidebarGroupHeaderColor:`#fff`,upgradeToProBannerBackground:t,upgradeToProBannerBackgroundHover:A(t,.1),upgradeToProBannerColor:`#fff`,upgradeToProBannerBorder:`1px solid ${t}`}}function Se(e){return{color:e.color,background:e.background,border:`1px solid ${e.borderColor}`,"&:hover":{color:e.colorHover,border:`1px solid ${e.borderColorHover}`,background:e.backgroundHover,boxShadow:`0px 2px 4px -1px rgb(0 0 0 / 8%), 0px 4px 5px 0px rgb(0 0 0 / 7%), 0px 1px 10px 0px rgba(0,0,0,0.12)`},"&:active":{border:`1px solid ${e.borderColorHover}`,background:e.backgroundHover},"&:disabled":{color:e.theme.colorGrey100,border:`1px solid ${e.theme.colorGrey500}`,background:e.theme.colorGrey500}}}const Ce=t=>{let n=t===`light`?be():xe();return O({breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536,header:1140,defaultScreenSize:1024}},typography:{fontFamily:[z.style?.fontFamily??`"Geist Sans"`,`Arial`].join(`, `)},palette:{error:{main:n.error},primary:{main:n.colorPrimary500},secondary:{main:n.colorPrimary500},mode:t},components:{MuiChip:{styleOverrides:{root:{padding:`6px 14px`,borderRadius:9999,fontSize:10,fontWeight:700,lineHeight:`12px`,height:`auto`,borderWidth:1,borderStyle:`solid`,"&:active":{boxShadow:`none`},".MuiChip-label":{display:`flex`,alignItems:`center`,gap:4,padding:0},svg:{width:16,marginRight:4}},colorPrimary:{backgroundColor:n.alertInfoBackground,borderColor:n.alertInfoBorder,color:n.alertInfoColor,"&:hover:not(&.no-hover-effect)":{backgroundColor:n.alertInfoBackground}},colorSuccess:{backgroundColor:n.alertSuccessBackground,borderColor:n.alertSuccessBorder,color:n.alertSuccessColor,"&:hover":{backgroundColor:n.alertSuccessBackground}},colorError:{backgroundColor:n.alertErrorBackground,borderColor:n.alertErrorBorder,color:n.alertErrorColor,"&:hover":{backgroundColor:n.alertErrorBackground}}}},MuiInputLabel:{styleOverrides:{root:{marginLeft:2}}},MuiSkeleton:{defaultProps:{variant:`rounded`,animation:`wave`},styleOverrides:{root:{borderRadius:n.borderRadius,backgroundColor:t===`light`?`rgba(0, 0, 0, 0.11)`:`rgba(255, 255, 255, 0.11)`,"&::after":{background:t===`light`?`linear-gradient(90deg, transparent, rgb(0, 0, 0, 0.04), transparent)`:`linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.04), transparent)`}}}},MuiMenu:{styleOverrides:{paper:{transition:`none !important`}}},MuiListItemText:{styleOverrides:{root:{fontSize:13,".MuiTypography-root":{fontSize:13}}}},MuiListItemIcon:{styleOverrides:{root:{minWidth:`0 !important`,width:16,marginRight:8}}},MuiMenuItem:{defaultProps:{disableRipple:!0},styleOverrides:{root:{fontSize:14,paddingLeft:20,paddingRight:20,color:n[`--v-accents-700`],svg:{height:16},"&:hover":{background:n[`--v-accents-200`],color:n[`--v-foreground`]},"&.Mui-selected":{background:`${n.sidebarActiveBackground} !important`,color:`${n.sidebarActiveColor} !important`,"&:hover":{background:`${n.sidebarActiveBackground} !important`,color:`${n.sidebarActiveColor} !important`}},"&.Mui-focusVisible":{background:`none`,"&:hover":{background:n.sidebarLinkHoverBackground,color:n.sidebarLinkHoverColor}}}}},MuiSelect:{styleOverrides:{root:{fontWeight:500}}},MuiSvgIcon:{styleOverrides:{root:{"&.MuiSelect-icon":{color:n.inputBorder},"&.MuiStepIcon-root.Mui-completed":{fill:n.success}}}},MuiCssBaseline:{styleOverrides:{html:{backgroundColor:n.bodyBackground,color:n.bodyColor},body:{backgroundColor:n.bodyBackground,color:n.bodyColor,fontSize:14}}},MuiAccordion:{defaultProps:{disableGutters:!0},styleOverrides:{root:{margin:`0`,background:`none`,boxShadow:`none`,color:n.bodyColor,border:`1px solid ${n.colorStrokes}`,borderRadius:n.borderRadius,":hover":{borderColor:n[`--v-blue-700`]},":first-of-type":{borderRadius:n.borderRadius},":last-of-type":{borderRadius:n.borderRadius},svg:{transition:`0.2s ease-out transform`},".MuiAccordionSummary-root":{fontWeight:500,borderRadius:n.borderRadius,padding:`12px 24px`,color:n.bodyColorStrong,minHeight:0,":hover":{background:n.accentBackgroundColor}},".MuiAccordionSummary-content":{margin:`6px 0px`},".MuiAccordionDetails-root":{padding:`8px 24px 24px`},"&:before":{opacity:0},"&.Mui-expanded":{".MuiAccordionSummary-root":{svg:{transform:`rotate(180deg)`}}}}}},MuiRadio:{styleOverrides:{root:{color:n.inputBorder}}},MuiTable:{styleOverrides:{root:{border:`1px solid ${n.colorStrokes}`,borderRadius:n.borderRadius,borderCollapse:`separate`,overflow:`hidden`,background:n.accentBackgroundColor,".MuiTableCell-root.MuiTableCell-head":{fontWeight:600,color:n[`--v-accents-1000`],background:n[`--v-accents-100`]},".MuiTableCell-root":{borderBottom:`1px solid ${n.colorStrokes}`,fontSize:13,color:n.bodyColor,padding:`8px 16px`,height:57}}}},MuiToggleButtonGroup:{styleOverrides:{root:{padding:`4px 0px`,borderRadius:`8px`,overflow:`hidden`,border:`1px solid ${n.colorStrokes}`,background:n[`--v-background`]}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:11,marginLeft:0,marginRight:0}}},MuiToggleButton:{styleOverrides:{root:{borderRadius:`6px !important`,fontSize:13,fontWeight:500,lineHeight:`18px`,textTransform:`none`,flexGrow:1,color:n[`--v-foreground`],padding:`8px 16px`,margin:`0 4px`,border:0,svg:{fontSize:16},"&:hover":{background:n[`--v-accents-200`]},"&.Mui-selected":{background:n[`--v-accents-200`],color:n[`--v-foreground`],"&:hover":{background:n[`--v-accents-200`]}}},sizeSmall:{padding:`5px 12px`,fontSize:13}}},MuiAlert:{styleOverrides:{root:{fontSize:`14px`,padding:`12px 24px`},icon:{padding:`8px 0`,marginRight:24,color:`inherit !important`},message:{padding:`6px 0`},standardSuccess:{background:n.alertSuccessBackground,border:`1px solid ${n.alertSuccessBorder}`,borderRadius:n.borderRadius,color:n.alertSuccessColor},standardWarning:{background:n.alertWarningBackground,border:`1px solid ${n.alertWarningBorder}`,borderRadius:n.borderRadius,color:n.alertWarningColor},standardError:{background:n.alertErrorBackground,border:`1px solid ${n.alertErrorBorder}`,borderRadius:n.borderRadius,color:n.alertErrorColor},standardInfo:{background:n.alertInfoBackground,border:`1px solid ${n.alertInfoBorder}`,borderRadius:n.borderRadius,color:n.alertInfoColor}}},MuiAlertTitle:{styleOverrides:{root:{marginTop:0}}},MuiFormLabel:{styleOverrides:{root:{color:n.checkboxLabelColor,marginLeft:n.checkboxLabelMargin,fontSize:n.checkboxLabelFontSize,fontWeight:400,"& a":{color:n.linkColor,fontWeight:500,"&:hover":{color:n.linkColorHover}}}}},MuiTableRow:{styleOverrides:{root:{"&:last-child > td":{borderBottom:0},"&.MuiTableRow-hover":{cursor:`pointer`,"&:hover":{background:t===`light`?`rgba(0, 0, 0, 0.01)`:`rgba(255, 255, 255, 0.03)`}}}}},MuiTableCell:{styleOverrides:{root:{borderBottom:`1px solid ${n.colorStrokes}`},head:{padding:`11.5px 16px`,whiteSpace:`nowrap`}}},MuiCheckbox:{styleOverrides:{colorPrimary:{"&.Mui-checked input + span":{background:n.checkboxBackground,borderColor:n.checkboxBackground},"&.MuiCheckbox-indeterminate input + span":{background:n.checkboxBackground,borderColor:n.checkboxBackground}}}},MuiSwitch:{styleOverrides:{track:({ownerState:e})=>({opacity:1,borderRadius:20,background:n.switchTrack,".Mui-checked.Mui-checked:not(.Mui-disabled) + &":{background:n.switchTrackChecked,opacity:1},...e.disabled&&{".Mui-checked.Mui-checked + &":{background:n.switchTrack,opacity:.4}},...e.color===`secondary`&&{opacity:.75,borderRadius:20,background:n.switchTrack,".Mui-checked.Mui-checked + &":{background:n.switchTrack,opacity:1}}}),thumb:({ownerState:e})=>({color:n.switchThumb,...e.color===`secondary`&&{color:n.colorPrimary700},...e.disabled&&{opacity:.8}}),disabled:()=>({".Mui-checked.Mui-checked + &":{background:n.colorPrimary700,opacity:.5}})}},MuiAutocomplete:{defaultProps:{autoCapitalize:`off`,autoCorrect:`off`},styleOverrides:{root:{background:n.inputBackground,color:n.inputColor,fieldset:{borderRadius:n.borderRadius,transition:`0.1s ease-out border-color`},"& .MuiOutlinedInput-root":{padding:`10px 14px`},"& .MuiOutlinedInput-root .MuiAutocomplete-input":{padding:0,fontSize:13}},listbox:{"& .MuiAutocomplete-option":{fontSize:15}}}},MuiInputBase:{defaultProps:{autoCapitalize:`off`,autoCorrect:`off`,autoComplete:`off`},styleOverrides:{root:{background:n.inputBackground,color:n.inputColor,fieldset:{borderRadius:n.borderRadius,transition:`0.1s ease-out border-color`},"& .MuiInputBase-input.Mui-disabled":{WebkitTextFillColor:n.inputColorDisabled},"& .MuiOutlinedInput-input":{fontSize:13},"&.MuiOutlinedInput-root":{paddingRight:`10px`,"& fieldset":{borderColor:n.inputBorder},"&:hover fieldset":{borderColor:n.inputHoverBorder},"&.Mui-focused fieldset":{borderColor:n.inputActiveBorder,borderWidth:1,boxShadow:n.inputActiveShadow},"&.Mui-disabled":{background:n.inputBackgroundDisabled,"& fieldset":{borderColor:n.colorStrokes}}}}}},MuiOutlinedInput:{styleOverrides:{input:{fontSize:14,padding:`10px 14px`},inputSizeSmall:{padding:`8px 14px`,fontSize:12}}},MuiIconButton:{styleOverrides:{root:{color:n.iconButtonColor,borderRadius:n.borderRadius,"&:hover":{color:n.iconButtonColorHover}}}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{boxShadow:`none`,borderRadius:0,"& .MuiButtonGroup-firstButton":{border:`1px solid ${n.buttonContainedPrimaryBorder}`},"& .MuiSvgIcon-root":{height:20}}}},MuiInputAdornment:{styleOverrides:{root:{color:n.iconButtonColor,".MuiTypography-root":{fontSize:13},marginRight:`0 !important`}}},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:{transition:`none !important`,".MuiChip-root":{background:n.colorPrimary500,color:t===`light`?n.colorWhite:n.colorBlack,"&:hover":{background:n.colorPrimary500}}}}},MuiButton:{defaultProps:{disableRipple:!0,disableElevation:!0},variants:[{props:{variant:`link`},style:{color:n.linkColor,padding:0,minWidth:`auto`,height:`fit-content`,"& .MuiTouchRipple-root":{display:`none`},"&:hover":{color:n.linkColorHover,background:`none`},"&:active":{color:n.linkColorHover,background:`none`},"&:disabled":{color:n.colorGrey500,background:`none`},"&.MuiButton-linkError":{color:n.error,"&:hover":{color:A(n.error,.25)}}}}],styleOverrides:{root:{":hover, :focus":{boxShadow:`none !important`},textTransform:`unset`,padding:`10px 28px`,fontSize:14,lineHeight:`16px`,fontWeight:500,borderRadius:n.borderRadius,boxShadow:`none`,"svg:first-child":{width:16,flexShrink:0},whiteSpace:`nowrap`,display:`flex`,gap:8,"&.Mui-disabled":{background:`${n.buttonDisabledBackground} !important`,color:`${n.buttonDisabledColor} !important`,border:`1px solid ${n.buttonDisabledBorder} !important`}},sizeSmall:{padding:`8px 16px`,fontSize:13},outlinedPrimary:Se({theme:n,color:n.buttonOutlinedColor,colorHover:n.buttonOutlinedColorHover,background:n.buttonOutlinedBackground,backgroundHover:n.buttonOutlinedBackgroundHover,borderColor:n.buttonOutlinedBorder,borderColorHover:n.buttonOutlinedBorderHover}),containedInfo:Se({theme:n,color:`#fff`,colorHover:`#fff`,background:n.colorPrimary500,backgroundHover:n.colorPrimary700,borderColor:n.colorPrimary500,borderColorHover:n.colorPrimary700}),containedPrimary:Se({theme:n,color:n.buttonContainedPrimaryColor,colorHover:n.buttonContainedPrimaryColorHover,background:n.buttonContainedPrimaryBackground,backgroundHover:n.buttonContainedPrimaryBackgroundHover,borderColor:n.buttonContainedPrimaryBorder,borderColorHover:n.buttonContainedPrimaryBorderHover}),containedWarning:{"&:hover":{background:A(n.colorWarning,.1)},"&:disabled":{color:n.colorGrey700,background:n.colorWhite}},containedError:{"&:hover":{background:A(n.error,.1)},"&:disabled":{color:n.colorGrey700,background:n.colorWhite}},containedSecondary:Se({theme:n,color:n.buttonContainedSecondaryColor,colorHover:n.buttonContainedSecondaryColorHover,background:n.buttonContainedSecondaryBackground,backgroundHover:n.buttonContainedSecondaryBackgroundHover,borderColor:n.buttonContainedSecondaryBorder,borderColorHover:n.buttonContainedSecondaryBorderHover}),textPrimary:{color:n.buttonOutlinedColor,"&:hover":{color:A(n.buttonOutlinedColor,.2)},"&:active":{color:A(n.buttonOutlinedColor,.2)},"&:disabled":{color:n.colorGrey500}},textWarning:{"& .MuiLoadingButton-loadingIndicator":{color:n.alertWarningColor}},outlinedWarning:{"& .MuiLoadingButton-loadingIndicator":{color:n.alertWarningColor}},textError:{"& .MuiLoadingButton-loadingIndicator":{color:n.alertErrorColor}},outlinedError:{"& .MuiLoadingButton-loadingIndicator":{color:n.alertErrorColor}},startIcon:{marginRight:12,height:0,display:`flex`,alignItems:`center`},endIcon:{marginLeft:12,height:0,display:`flex`,alignItems:`center`},sizeLarge:{padding:`16px 32px !important`,fontSize:16}}},MuiSnackbarContent:{styleOverrides:{root:{minWidth:`auto !important`,padding:0,background:`none`,borderRadius:n.borderRadius,fontWeight:500,boxShadow:r[`--v-box-shadow-1`]},message:{padding:0}}},MuiPopover:{defaultProps:{disableScrollLock:!0},styleOverrides:{paper:{background:n.accentBackgroundColor,color:n.bodyColor,border:`1px solid ${r[`--v-strokes`]}`,boxShadow:r[`--v-box-shadow-1`]}}},MuiTooltip:{styleOverrides:{tooltip:{background:e.dark[`--v-accents-100`],border:`1px solid ${e.dark[`--v-strokes`]}`,color:e.dark[`--v-foreground`],boxShadow:r[`--v-box-shadow-1`],fontSize:13,lineHeight:`20px`,padding:`8px 16px`}}},MuiDialog:{defaultProps:{disableScrollLock:!0},styleOverrides:{root:{zIndex:100},paper:{background:n.accentBackgroundColor,color:n.bodyColor,border:`1px solid ${r[`--v-strokes`]}`,boxShadow:r[`--v-box-shadow-1`]}}},MuiStep:{styleOverrides:{root:{padding:`0px 20px`,"&.MuiStep-vertical":{padding:0},"&:first-child":{paddingLeft:0},"&:last-child":{paddingRight:0}}}},MuiStepLabel:{styleOverrides:{iconContainer:{paddingRight:12},label:{color:n.bodyColor,"&.Mui-active":{color:n.colorPrimary700},"&.Mui-completed":{color:n.success}}}},MuiStepIcon:{styleOverrides:{root:{fill:t===`dark`?n.colorGrey500:n.bodyColor,"&.Mui-active":{fill:n.colorPrimary500}}}},MuiTabs:{styleOverrides:{indicator:{display:`none`}}},MuiTab:{defaultProps:{disableRipple:!0},styleOverrides:{root:{flexGrow:1,textTransform:`none`,color:n.bodyColor,maxWidth:`none`,borderRight:`1px solid ${r[`--v-strokes`]}`,"&.Mui-selected":{color:n.bodyColor,borderBottom:`1px solid transparent`},"&:not(.Mui-selected)":{background:n.accentBackgroundColor,borderBottom:`1px solid ${r[`--v-strokes`]}`},"&:last-child":{borderRight:0}}}},MuiFormControlLabel:{defaultProps:{labelPlacement:`start`},styleOverrides:{label:{marginRight:8,fontSize:14}}},MuiTablePagination:{styleOverrides:{root:{color:n.bodyColor,"& .MuiIconButton-root":{color:`${n.bodyColor} !important`,"&.Mui-disabled":{opacity:.3}},"& .MuiTablePagination-select":{fontSize:`12px !important`},"& .MuiTablePagination-actions":{".MuiSvgIcon-root":{width:20}}},select:{color:`${n.bodyColor} !important`,fontWeight:`400 !important`},selectIcon:{color:`${n.bodyColor} !important`},displayedRows:{fontSize:12},selectLabel:{fontSize:12}}}}})};function we(e){let t=c(9),n=Ee();if(!o())return null;let r;t[0]===n.theme?r=t[1]:(r=Ce(n.theme),t[0]=n.theme,t[1]=r);let i;t[2]===n.theme?i=t[3]:(i=L(ye,{theme:n.theme}),t[2]=n.theme,t[3]=i);let a;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=L(B,{}),t[4]=a):a=t[4];let s;return t[5]!==e.children||t[6]!==r||t[7]!==i?(s=R(T,{theme:r,children:[i,a,e.children]}),t[5]=e.children,t[6]=r,t[7]=i,t[8]=s):s=t[8],s}const Te=N(null);function Ee(){let e=ne(Te);if(!e)throw Error(`useVThemeContext must be used within a VThemeProvider`);return e}function De(e){let t=c(7),[n,r]=ae(e.defaultTheme??`light`),i;t[0]===n?i=t[1]:(i={theme:n,setTheme:r},t[0]=n,t[1]=i);let a;t[2]===e.children?a=t[3]:(a=L(we,{children:L(`div`,{className:`${z.className} ${z.variable} ${oe.className} ${oe.variable}`,children:e.children})}),t[2]=e.children,t[3]=a);let o;return t[4]!==i||t[5]!==a?(o=L(Te.Provider,{value:i,children:a}),t[4]=i,t[5]=a,t[6]=o):o=t[6],o}function Oe(e){let t=c(3),n=e.theme===`dark`?`dark-theme`:`light-theme`,r;return t[0]!==e.children||t[1]!==n?(r=L(`div`,{className:n,children:e.children}),t[0]=e.children,t[1]=n,t[2]=r):r=t[2],r}function ke(){return function(){let e=q();return{locale:e.locale,t:function(...t){let[n,r]=t;return e.formatMessage({id:n},r)},tHtml:function(...e){let[t,n]=e;return L(G,{id:t,values:{...n}},t)}}}}const Ae=ke(),je=`6px 6px`,Me={darkmode:{solid:e=>L(V.MoonIcon,{width:e.size,height:e.size}),outlined:e=>L(p.MoonIcon,{width:e.size,height:e.size})},lightmode:{solid:e=>L(V.SunIcon,{width:e.size,height:e.size}),outlined:e=>L(p.SunIcon,{width:e.size,height:e.size})}};function Ne(e){let t=c(9),n;t[0]===e.color?n=t[1]:(n={color:e.color,display:`flex`},t[0]=e.color,t[1]=n);let r;t[2]!==e.name||t[3]!==e.size||t[4]!==e.variant?(r=Me[e.name][e.variant]?.({size:e.size}),t[2]=e.name,t[3]=e.size,t[4]=e.variant,t[5]=r):r=t[5];let i;return t[6]!==n||t[7]!==r?(i=L(`span`,{style:n,children:r}),t[6]=n,t[7]=r,t[8]=i):i=t[8],i}function Pe(e){let t=c(39),{t:n}=Ae(),r=U(),i;t[0]===e.style?i=t[1]:(i={display:`flex`,alignItems:`center`,gap:8,fontSize:12,fontWeight:`600`,...e.style},t[0]=e.style,t[1]=i);let a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a={border:`1px solid ${W[`--v-strokes`]}`,borderRadius:se[`--v-border-radius`],overflow:`hidden`},t[2]=a):a=t[2];let o;t[3]===n?o=t[4]:(o=n(`component.theme_toggle.light_mode`),t[3]=n,t[4]=o);let l=r.theme===`light`?void 0:W[`--v-accents-200`],u;t[5]===l?u=t[6]:(u={borderRadius:0,padding:je,minWidth:`auto`,background:l},t[5]=l,t[6]=u);let d;t[7]===r?d=t[8]:(d=()=>{s.withoutCSSTransitions(()=>{r.setTheme(`light`)})},t[7]=r,t[8]=d);let f=r.theme===`light`?`solid`:`outlined`,p;t[9]===f?p=t[10]:(p=L(Ne,{name:`lightmode`,variant:f,size:12}),t[9]=f,t[10]=p);let m;t[11]!==u||t[12]!==d||t[13]!==p?(m=L(C,{style:u,onClick:d,children:p}),t[11]=u,t[12]=d,t[13]=p,t[14]=m):m=t[14];let h;t[15]!==o||t[16]!==m?(h=L(E,{title:o,children:m}),t[15]=o,t[16]=m,t[17]=h):h=t[17];let g;t[18]===n?g=t[19]:(g=n(`component.theme_toggle.dark_mode`),t[18]=n,t[19]=g);let _=r.theme===`dark`?void 0:W[`--v-accents-200`],v;t[20]===_?v=t[21]:(v={borderRadius:0,padding:je,minWidth:`auto`,background:_},t[20]=_,t[21]=v);let y;t[22]===r?y=t[23]:(y=()=>{s.withoutCSSTransitions(()=>{r.setTheme(`dark`)})},t[22]=r,t[23]=y);let b=r.theme===`dark`?`solid`:`outlined`,x;t[24]===b?x=t[25]:(x=L(Ne,{name:`darkmode`,variant:b,size:12}),t[24]=b,t[25]=x);let S;t[26]!==v||t[27]!==y||t[28]!==x?(S=L(C,{style:v,onClick:y,children:x}),t[26]=v,t[27]=y,t[28]=x,t[29]=S):S=t[29];let w;t[30]!==g||t[31]!==S?(w=L(E,{title:g,children:S}),t[30]=g,t[31]=S,t[32]=w):w=t[32];let T;t[33]!==w||t[34]!==h?(T=L(`div`,{children:R(H,{style:a,children:[h,w]})}),t[33]=w,t[34]=h,t[35]=T):T=t[35];let D;return t[36]!==i||t[37]!==T?(D=L(`div`,{style:i,children:T}),t[36]=i,t[37]=T,t[38]=D):D=t[38],D}const Fe=ee(`div`)(e=>({"&:hover":e.$styleHover}));function Ie(e){let t=M(),n=j(t.breakpoints.down(`sm`)),r=j(t.breakpoints.down(`md`)),i=Object.fromEntries([[`padding`,e.padding],[`paddingTop`,e.paddingTop],[`paddingBottom`,e.paddingBottom],[`paddingLeft`,e.paddingLeft],[`paddingRight`,e.paddingRight]].filter(([,e])=>e!==void 0)),a=r&&e.gapMdDown?e.gapMdDown:e.gap;return L(Fe,{style:{display:`flex`,flexDirection:n&&e.flexDirectionSmDown?e.flexDirectionSmDown:r&&e.flexDirectionMdDown?e.flexDirectionMdDown:e.flexDirection,margin:e.margin,marginTop:e.marginTop,marginBottom:e.marginBottom,marginLeft:e.marginLeft,marginRight:e.marginRight,...i,gap:a,rowGap:e.rowGap||a,columnGap:e.columnGap||a,alignItems:e.alignItems,justifyContent:e.justifyContent,flexWrap:e.flexWrap,flexGrow:e.flexGrow,flexShrink:e.flexShrink,flexBasis:e.flexBasis,width:e.width,minWidth:e.minWidth,maxWidth:e.maxWidth,minHeight:e.minHeight,maxHeight:e.maxHeight,gridColumn:n&&e.gridColumnSpanSmDown?`span ${e.gridColumnSpanSmDown}`:r&&e.gridColumnSpanMdDown?`span ${e.gridColumnSpanMdDown}`:e.gridColumnSpan?`span ${e.gridColumnSpan}`:void 0,color:e.color?`var(${e.color})`:void 0,...e.style},$styleHover:e.styleHover,ref:e.containerRef,onClick:e.onClick,children:e.children})}function Le(e){let t=c(22),n=M(),r;t[0]===n.breakpoints?r=t[1]:(r=n.breakpoints.down(`sm`),t[0]=n.breakpoints,t[1]=r);let i=j(r),a;t[2]===n.breakpoints?a=t[3]:(a=n.breakpoints.down(`md`),t[2]=n.breakpoints,t[3]=a);let o=j(a),s=i&&e.columnsSmDown?e.columnsSmDown:o&&e.columnsMdDown?e.columnsMdDown:e.columns,l=e.rowGap||e.gap,u=e.columnGap||e.gap,d=typeof e.padding==`number`?e.padding:e.padding?.top,f=typeof e.padding==`number`?e.padding:e.padding?.bottom,p=typeof e.padding==`number`?e.padding:e.padding?.left,m=typeof e.padding==`number`?e.padding:e.padding?.right,h=typeof e.margin==`number`?e.margin:e.margin?.top,g=typeof e.margin==`number`?e.margin:e.margin?.bottom,_=typeof e.margin==`number`?e.margin:e.margin?.left,v=typeof e.margin==`number`?e.margin:e.margin?.right,y;t[4]!==s||t[5]!==e.alignItems||t[6]!==e.gap||t[7]!==e.maxWidth||t[8]!==_||t[9]!==v||t[10]!==l||t[11]!==u||t[12]!==d||t[13]!==f||t[14]!==p||t[15]!==m||t[16]!==h||t[17]!==g?(y={display:`grid`,gridTemplateColumns:s,gap:e.gap,rowGap:l,columnGap:u,paddingTop:d,paddingBottom:f,paddingLeft:p,paddingRight:m,marginTop:h,marginBottom:g,marginLeft:_,marginRight:v,alignItems:e.alignItems,maxWidth:e.maxWidth},t[4]=s,t[5]=e.alignItems,t[6]=e.gap,t[7]=e.maxWidth,t[8]=_,t[9]=v,t[10]=l,t[11]=u,t[12]=d,t[13]=f,t[14]=p,t[15]=m,t[16]=h,t[17]=g,t[18]=y):y=t[18];let b;return t[19]!==e.children||t[20]!==y?(b=L(`div`,{style:y,children:e.children}),t[19]=e.children,t[20]=y,t[21]=b):b=t[21],b}const Re={en:{"component.vcode.copy_failed":`Copy to clipboard failed.`,"component.vcode.copy_success":`Copied to clipboard.`,"component.vcode.copy_to_clipboard":`Copy to clipboard`,"component.vcode.toggle_wrap":`Toggle line wrap`,"component.vcode.download_file":`Download file`,"component.vcode.collapse_code":`Collapse code`,"component.vcode.view_code":`View Code`,"component.vchip.copy_failed":`Copy to clipboard failed.`,"component.vchip.copy_success":`Copied to clipboard`,"component.vchip.copy_to_clipboard":`Copy to clipboard`,"component.verrorbox.retry":`Retry`,"component.theme_toggle.light_mode":`Light mode`,"component.theme_toggle.dark_mode":`Dark mode`},de:{"component.vcode.copy_failed":`Kopieren in die Zwischenablage fehlgeschlagen.`,"component.vcode.copy_success":`In die Zwischenablage kopiert.`,"component.vcode.copy_to_clipboard":`In die Zwischenablage kopieren`,"component.vcode.toggle_wrap":`Zeilenumbruch umschalten`,"component.vcode.download_file":`Datei herunterladen`,"component.vcode.collapse_code":`Code einklappen`,"component.vcode.view_code":`Code anzeigen`,"component.vchip.copy_failed":`Kopieren in die Zwischenablage fehlgeschlagen.`,"component.vchip.copy_success":`In die Zwischenablage kopiert`,"component.vchip.copy_to_clipboard":`In die Zwischenablage kopieren`,"component.verrorbox.retry":`Erneut versuchen`,"component.theme_toggle.light_mode":`Light mode`,"component.theme_toggle.dark_mode":`Dark mode`}};function ze(e){let t=c(7),n=e.messages[e.locale]??e.messages.en,r=Re[e.locale],i;t[0]!==n||t[1]!==r?(i={...r,...n},t[0]=n,t[1]=r,t[2]=i):i=t[2];let a=i,o;return t[3]!==a||t[4]!==e.children||t[5]!==e.locale?(o=L(K,{locale:e.locale,messages:a,children:e.children}),t[3]=a,t[4]=e.children,t[5]=e.locale,t[6]=o):o=t[6],o}function Be(e){let t=ke();function n(t){let n=c(2),r;return n[0]===t?r=n[1]:(r=L(ze,{...t,messages:e}),n[0]=t,n[1]=r),r}return{VIntlProvider:n,useVIntl:t}}const Ve={strong:r[`--v-accents-100`],error:r[`--v-red-700`],disabled:r[`--v-accents-700`]},He={300:300,400:400,500:500,600:600,700:700,800:800,900:900};function Ue(e){let t=c(12),n=M(),r;t[0]===n.breakpoints?r=t[1]:(r=n.breakpoints.down(`sm`),t[0]=n.breakpoints,t[1]=r);let i=j(r),a;t[2]===n.breakpoints?a=t[3]:(a=n.breakpoints.down(`md`),t[2]=n.breakpoints,t[3]=a);let o=j(a),s=e.type?`v-text-${e.type}`:void 0,l=e.color?Ve[e.color]||`var(${e.color})`:void 0,u=e.weight?He[e.weight]:void 0,d=e.component===`ul`?14:void 0,f=i&&e.textAlignSmDown?e.textAlignSmDown:o&&e.textAlignMdDown?e.textAlignMdDown:e.textAlign,p=e.breakWord?`break-word`:void 0,m;return t[4]!==e||t[5]!==s||t[6]!==l||t[7]!==u||t[8]!==d||t[9]!==f||t[10]!==p?(m=P(e.component,{className:s,style:{color:l,fontWeight:u,paddingLeft:d,textAlign:f,width:e.width,maxWidth:e.maxWidth,wordBreak:p,...e.noWrapEllipsis?{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`}:{},...e.style},"data-testid":e[`data-testid`],onClick:e.onClick},e.children),t[4]=e,t[5]=s,t[6]=l,t[7]=u,t[8]=d,t[9]=f,t[10]=p,t[11]=m):m=t[11],m}function We(e){let t=e.durationInMs===`infinite`?9999999999:e.durationInMs||8e3,n,r={description:e.description,duration:t};return e.id&&(r.id=e.id),setTimeout(()=>{n=e.type===`info`?X.info(e.title,r):e.type===`success`?X.success(e.title,r):e.type===`warning`?X.warning(e.title,r):e.type===`error`?X.error(e.title,r):e.type===`loading`?X.loading(e.title,r):X.info(e.title,r)}),{dismiss:()=>{X.dismiss(n)}}}function Ge(){let e=c(2),{theme:t}=Ee(),n;return e[0]===t?n=e[1]:(n=L(Y,{richColors:!0,theme:t,visibleToasts:4,position:`top-center`,closeButton:!0}),e[0]=t,e[1]=n),n}const Ke=r[`--v-accents-500`],qe=2e3;async function Je(e){return J(await ce(e.code,{lang:e.lang,theme:`github-dark-default`,transformers:[{code(e){let t=typeof e.properties.style==`string`?e.properties.style+`;`:``;e.properties.style=`${t}font-family: var(--font-geist-mono);`},line(e,t){let n=typeof e.properties.style==`string`?e.properties.style+`;`:``;e.properties.style=`${n}display:block;padding-left:3.5em;line-height:20px`,e.children.unshift({type:`element`,tagName:`span`,properties:{style:`margin-left:-3.5em;color:${r[`--v-accents-500`]};user-select:none;display:inline-block;width:2em;margin-right:1.5em;text-align:right`},children:[{type:`text`,value:String(t)}]})}}]}),{Fragment:te,jsx:L,jsxs:R,components:{pre:t=>L(`pre`,{...t,style:{...t.style,padding:`14px 16px`,fontSize:13,lineHeight:0,overflow:`auto`,whiteSpace:e.wrap?`pre-wrap`:`pre`,margin:0,background:r[`--v-accents-100`],borderBottomLeftRadius:n[`--v-border-radius`],borderBottomRightRadius:n[`--v-border-radius`],maxHeight:e.maxHeight}})}})}function Ye(e){let t=c(94),i=Ae(),[a,o]=ae(null),[l,d]=ae(!1),[f,p]=ae(!1),[b,x]=ae(e.defaultCollapsed??!1),S=e.collapsed??b,T;t[0]===e?T=t[1]:(T=t=>{e.collapsed===void 0&&x(t),e.onCollapsedChange?.(t)},t[0]=e,t[1]=T);let D=T,O,k;t[2]!==e.content||t[3]!==e.lang||t[4]!==e.maxHeight||t[5]!==l?(O=()=>{Je({code:e.content,lang:e.lang,wrap:l,maxHeight:e.maxHeight}).then(o)},k=[e.content,e.lang,e.maxHeight,l],t[2]=e.content,t[3]=e.lang,t[4]=e.maxHeight,t[5]=l,t[6]=O,t[7]=k):(O=t[6],k=t[7]),ie(O,k);let A,ee;t[8]===f?(A=t[9],ee=t[10]):(A=()=>{if(!f)return;let e=window.setTimeout(()=>p(!1),qe);return()=>window.clearTimeout(e)},ee=[f],t[8]=f,t[9]=A,t[10]=ee),re(A,ee);let j;t[11]===e.style?j=t[12]:(j={position:`relative`,minHeight:128,...e.style},t[11]=e.style,t[12]=j);let M;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(M={background:r[`--v-background`],borderTopLeftRadius:n[`--v-border-radius`],borderTopRightRadius:n[`--v-border-radius`],border:`1px solid ${r[`--v-strokes`]}`,color:Ke},t[13]=M):M=t[13];let te;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(te=L(y,{height:16,width:16,style:{marginRight:8}}),t[14]=te):te=t[14];let N;t[15]===e.title?N=t[16]:(N=R(Ie,{alignItems:`center`,gap:8,children:[te,L(Ue,{component:`span`,type:`copy-13`,weight:`400`,children:e.title})]}),t[15]=e.title,t[16]=N);let P;t[17]!==S||t[18]!==D||t[19]!==i?(P=!S&&L(E,{title:i.t(`component.vcode.collapse_code`),placement:`top`,children:L(w,{"aria-label":i.t(`component.vcode.collapse_code`),"aria-expanded":!0,onClick:()=>D(!0),style:{border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Ke},children:L(_,{height:16,width:16})})}),t[17]=S,t[18]=D,t[19]=i,t[20]=P):P=t[20];let F;t[21]===i?F=t[22]:(F=i.t(`component.vcode.download_file`),t[21]=i,t[22]=F);let ne;t[23]===i?ne=t[24]:(ne=i.t(`component.vcode.download_file`),t[23]=i,t[24]=ne);let I;t[25]!==e.content||t[26]!==e.title?(I=()=>{let t=new Blob([e.content],{type:`text/plain`}),n=URL.createObjectURL(t),r=document.createElement(`a`);r.href=n,r.download=e.title,r.click(),URL.revokeObjectURL(n)},t[25]=e.content,t[26]=e.title,t[27]=I):I=t[27];let oe,z;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(oe={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Ke},z=L(m,{height:16,width:16}),t[28]=oe,t[29]=z):(oe=t[28],z=t[29]);let B;t[30]!==ne||t[31]!==I?(B=L(w,{"aria-label":ne,onClick:I,style:oe,children:z}),t[30]=ne,t[31]=I,t[32]=B):B=t[32];let V;t[33]!==F||t[34]!==B?(V=L(E,{title:F,placement:`top`,children:B}),t[33]=F,t[34]=B,t[35]=V):V=t[35];let H;t[36]===i?H=t[37]:(H=i.t(`component.vcode.toggle_wrap`),t[36]=i,t[37]=H);let U;t[38]===i?U=t[39]:(U=i.t(`component.vcode.toggle_wrap`),t[38]=i,t[39]=U);let W,se;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(W=()=>d(Xe),se={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Ke},t[40]=W,t[41]=se):(W=t[40],se=t[41]);let G;t[42]===l?G=t[43]:(G=L(l?g:h,{height:16,width:16}),t[42]=l,t[43]=G);let K;t[44]!==U||t[45]!==G?(K=L(w,{"aria-label":U,onClick:W,style:se,children:G}),t[44]=U,t[45]=G,t[46]=K):K=t[46];let q;t[47]!==H||t[48]!==K?(q=L(E,{title:H,placement:`top`,children:K}),t[47]=H,t[48]=K,t[49]=q):q=t[49];let J;t[50]!==f||t[51]!==i?(J=f?i.t(`component.vcode.copy_success`):i.t(`component.vcode.copy_to_clipboard`),t[50]=f,t[51]=i,t[52]=J):J=t[52];let ce;t[53]!==f||t[54]!==i?(ce=f?i.t(`component.vcode.copy_success`):i.t(`component.vcode.copy_to_clipboard`),t[53]=f,t[54]=i,t[55]=ce):ce=t[55];let Y;t[56]!==e.content||t[57]!==i?(Y=async t=>{t.stopPropagation();try{await s.copyToClipboard(e.content),p(!0),We({type:`success`,title:i.t(`component.vcode.copy_success`),durationInMs:qe})}catch{We({type:`error`,title:i.t(`component.vcode.copy_failed`)})}},t[56]=e.content,t[57]=i,t[58]=Y):Y=t[58];let X;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(X={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Ke},t[59]=X):X=t[59];let Z;t[60]===f?Z=t[61]:(Z=L(f?u:v,{height:16,width:16}),t[60]=f,t[61]=Z);let le;t[62]!==ce||t[63]!==Y||t[64]!==Z?(le=L(w,{"aria-label":ce,onClick:Y,style:X,children:Z}),t[62]=ce,t[63]=Y,t[64]=Z,t[65]=le):le=t[65];let ue;t[66]!==J||t[67]!==le?(ue=L(E,{title:J,placement:`top`,children:le}),t[66]=J,t[67]=le,t[68]=ue):ue=t[68];let Q;t[69]!==V||t[70]!==q||t[71]!==ue||t[72]!==P?(Q=R(Ie,{alignItems:`center`,gap:8,children:[P,V,q,ue]}),t[69]=V,t[70]=q,t[71]=ue,t[72]=P,t[73]=Q):Q=t[73];let de;t[74]!==Q||t[75]!==N?(de=R(Ie,{style:M,gap:40,alignItems:`center`,justifyContent:`space-between`,padding:`6px 12px 6px 16px`,children:[N,Q]}),t[74]=Q,t[75]=N,t[76]=de):de=t[76];let fe=S?110:void 0,pe=S?`hidden`:void 0,me;t[77]!==fe||t[78]!==pe?(me={position:`relative`,maxHeight:fe,overflow:pe,borderLeft:`1px solid ${r[`--v-strokes`]}`,borderBottom:`1px solid ${r[`--v-strokes`]}`,borderRight:`1px solid ${r[`--v-strokes`]}`,borderBottomLeftRadius:n[`--v-border-radius`],borderBottomRightRadius:n[`--v-border-radius`]},t[77]=fe,t[78]=pe,t[79]=me):me=t[79];let he;t[80]!==S||t[81]!==D||t[82]!==i?(he=S&&L(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(180deg, rgb(0 0 0 / 45%), rgb(0 0 0 / 90%))`},children:L(C,{variant:`outlined`,size:`small`,"aria-expanded":!1,onClick:()=>D(!1),style:{background:r[`--v-background`]},children:i.t(`component.vcode.view_code`)})}),t[80]=S,t[81]=D,t[82]=i,t[83]=he):he=t[83];let ge;t[84]!==a||t[85]!==me||t[86]!==he?(ge=R(`div`,{style:me,children:[a,he]}),t[84]=a,t[85]=me,t[86]=he,t[87]=ge):ge=t[87];let $;t[88]!==de||t[89]!==ge?($=R(Oe,{theme:`dark`,children:[de,ge]}),t[88]=de,t[89]=ge,t[90]=$):$=t[90];let _e;return t[91]!==$||t[92]!==j?(_e=L(Ie,{flexDirection:`column`,style:j,children:$}),t[91]=$,t[92]=j,t[93]=_e):_e=t[93],_e}function Xe(e){return!e}const Ze=ee(`span`)(e=>({...e.$style,"&:hover":e.$styleHover})),Qe=`medium`,$e=2e3;function et(e){let t=Ae(),[n,i]=ae(!1);re(()=>{if(!n)return;let e=window.setTimeout(()=>i(!1),$e);return()=>window.clearTimeout(e)},[n]);let a={color:r[`--v-blue-700`],border:r[`--v-blue-500`],background:r[`--v-blue-100`],backgroundHover:r[`--v-blue-200`]};`type`in e?e.type===`error`?(a.color=r[`--v-red-700`],a.border=r[`--v-red-500`],a.background=r[`--v-red-100`],a.backgroundHover=r[`--v-red-200`]):e.type===`success`&&(a.color=r[`--v-green-700`],a.border=r[`--v-green-500`],a.background=r[`--v-green-100`],a.backgroundHover=r[`--v-green-200`]):(a.color=e.color,a.border=e.border,a.background=e.background,a.backgroundHover=e.backgroundHover||e.background);let o={small:{padding:`3px 8px`,fontSize:10},medium:{padding:`6px 14px`,fontSize:11},large:{padding:`9px 20px`,fontSize:12}};return L(E,{title:e.tooltip??``,placement:e.tooltipPlacement??`top`,children:L(Ze,{$style:{border:`1px solid ${a.border}`,color:a.color,background:a.background,padding:o[e.size??Qe].padding,borderRadius:9999,fontSize:o[e.size??Qe].fontSize,fontWeight:600,lineHeight:`12px`,display:`inline-block`,cursor:e.onClick?`pointer`:`default`,...e.style},onClick:t=>{t.stopPropagation(),e.onClick?.()},$styleHover:{background:a.backgroundHover},children:R(Ie,{gap:8,alignItems:`center`,children:[e.content,e.showCopyButton&&L(E,{title:n?t.t(`component.vchip.copy_success`):e.copyTooltip??t.t(`component.vchip.copy_to_clipboard`),placement:`top`,children:L(w,{"aria-label":n?t.t(`component.vchip.copy_success`):e.copyTooltip??t.t(`component.vchip.copy_to_clipboard`),onClick:async n=>{n.stopPropagation();let r=e.copyText?.trim();if(r)try{await s.copyToClipboard(r),i(!0),We({type:`success`,title:e.copyToastTitle??t.t(`component.vchip.copy_success`),durationInMs:$e})}catch{We({type:`error`,title:t.t(`component.vchip.copy_failed`)})}},style:{border:`none`,background:`transparent`,padding:0,margin:0,display:`flex`,alignItems:`center`,color:a.color},children:L(n?u:v,{height:12,width:12})})})]})})})}function tt(e){let t=c(21),i=Ae(),a=e.onRetry,o=e.size===`small`?`18px ${a?20:28}px 18px 28px`:`14px ${a?20:28}px 14px 28px`,s;t[0]===e.singleLine?s=t[1]:(s=e.singleLine?{whiteSpace:`nowrap`,minWidth:0,flexGrow:1}:{},t[0]=e.singleLine,t[1]=s);let u;t[2]!==e.style||t[3]!==o||t[4]!==s?(u={color:r[`--v-red-700`],background:r[`--v-red-200`],borderRadius:n[`--v-border-radius`],border:`1px solid ${r[`--v-red-700`]}`,padding:o,display:`flex`,alignItems:`center`,justifyContent:`space-between`,fontSize:13,fontWeight:400,lineHeight:`15px`,maxWidth:`100%`,...s,...e.style},t[2]=e.style,t[3]=o,t[4]=s,t[5]=u):u=t[5];let d=a?12:0,f;t[6]===d?f=t[7]:(f={marginRight:d,overflow:`hidden`,textOverflow:`ellipsis`},t[6]=d,t[7]=f);let p;t[8]!==e.children||t[9]!==f?(p=L(`div`,{style:f,children:e.children}),t[8]=e.children,t[9]=f,t[10]=p):p=t[10];let m;t[11]!==e||t[12]!==i?(m=e.onRetry&&L(E,{title:i.t(`component.verrorbox.retry`),placement:`bottom`,children:L(w,{onClick:t=>{t.stopPropagation(),e.onRetry?.()},style:{marginLeft:`auto`,color:r[`--v-red-700`]},children:L(l,{style:{width:16}})})}),t[11]=e,t[12]=i,t[13]=m):m=t[13];let h;t[14]!==u||t[15]!==p||t[16]!==m?(h=R(`div`,{style:u,children:[p,m]}),t[14]=u,t[15]=p,t[16]=m,t[17]=h):h=t[17];let g;return t[18]!==e.tooltip||t[19]!==h?(g=L(E,{title:e.tooltip,placement:`top`,children:h}),t[18]=e.tooltip,t[19]=h,t[20]=g):g=t[20],g}export{ue as VAlert,ge as VCard,et as VChip,Ye as VCode,tt as VErrorBox,Ie as VFlex,Le as VGrid,he as VLoading,Oe as VTheme,De as VThemeProvider,Pe as VThemeToggle,Ge as VToast,Be as createVIntl,We as showVToast,Ee as useVThemeContext};
|