@tetrascience-npm/tetrascience-react-ui 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,16 +1,16 @@
1
- import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback as n,useMemo as a,createContext as l}from"react";import s,{css as d,createGlobalStyle as c,keyframes as h,ThemeProvider as p}from"styled-components";import x from"@monaco-editor/react";import g from"react-markdown";import{Prism as f}from"react-syntax-highlighter";import u from"rehype-raw";import m from"remark-gfm";import{createPortal as b}from"react-dom";import C from"plotly.js-dist";var v,y={exports:{}},w={};var j,k,E={};function L(){return j||(j=1,"production"!==process.env.NODE_ENV&&function(){var r=e,t=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),f=Symbol.iterator;var u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),i=1;i<r;i++)t[i-1]=arguments[i];!function(e,r,t){var i=u.ReactDebugCurrentFrame,o=i.getStackAddendum();""!==o&&(r+="%s",t=t.concat([o]));var n=t.map(function(e){return String(e)});n.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,n)}("error",e,t)}var b;function C(e){return e.displayName||"Context"}function v(e){if(null==e)return null;if("number"==typeof e.tag&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case i:return"Portal";case a:return"Profiler";case n:return"StrictMode";case c:return"Suspense";case h:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return C(e)+".Consumer";case l:return C(e._context)+".Provider";case d:return function(e,r,t){var i=e.displayName;if(i)return i;var o=r.displayName||r.name||"";return""!==o?t+"("+o+")":t}(e,e.render,"ForwardRef");case p:var r=e.displayName||null;return null!==r?r:v(e.type)||"Memo";case x:var t=e,g=t._payload,f=t._init;try{return v(f(g))}catch(e){return null}}return null}b=Symbol.for("react.module.reference");var y,w,j,k,L,M,_,A=Object.assign,R=0;function I(){}I.__reactDisabledLog=!0;var N,T=u.ReactCurrentDispatcher;function z(e,r,t){if(void 0===N)try{throw Error()}catch(e){var i=e.stack.trim().match(/\n( *(at )?)/);N=i&&i[1]||""}return"\n"+N+e}var B,H=!1,$="function"==typeof WeakMap?WeakMap:Map;function S(e,r){if(!e||H)return"";var t,i=B.get(e);if(void 0!==i)return i;H=!0;var o,n=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=T.current,T.current=null,function(){if(0===R){y=console.log,w=console.info,j=console.warn,k=console.error,L=console.group,M=console.groupCollapsed,_=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}R++}();try{if(r){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){t=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){t=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){t=e}e()}}catch(r){if(r&&t&&"string"==typeof r.stack){for(var l=r.stack.split("\n"),s=t.stack.split("\n"),d=l.length-1,c=s.length-1;d>=1&&c>=0&&l[d]!==s[c];)c--;for(;d>=1&&c>=0;d--,c--)if(l[d]!==s[c]){if(1!==d||1!==c)do{if(d--,--c<0||l[d]!==s[c]){var h="\n"+l[d].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),"function"==typeof e&&B.set(e,h),h}}while(d>=1&&c>=0);break}}}finally{H=!1,T.current=o,function(){if(0===--R){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},e,{value:y}),info:A({},e,{value:w}),warn:A({},e,{value:j}),error:A({},e,{value:k}),group:A({},e,{value:L}),groupCollapsed:A({},e,{value:M}),groupEnd:A({},e,{value:_})})}R<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=n}var p=e?e.displayName||e.name:"",x=p?z(p):"";return"function"==typeof e&&B.set(e,x),x}function O(e,r,t){if(null==e)return"";if("function"==typeof e)return S(e,!(!(i=e.prototype)||!i.isReactComponent));var i;if("string"==typeof e)return z(e);switch(e){case c:return z("Suspense");case h:return z("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case d:return S(e.render,!1);case p:return O(e.type,r,t);case x:var o=e,n=o._payload,a=o._init;try{return O(a(n),r,t)}catch(e){}}return""}B=new $;var P=Object.prototype.hasOwnProperty,V={},D=u.ReactDebugCurrentFrame;function U(e){if(e){var r=e._owner,t=O(e.type,e._source,r?r.type:null);D.setExtraStackFrame(t)}else D.setExtraStackFrame(null)}var Z=Array.isArray;function W(e){return Z(e)}function G(e){return""+e}function K(e){if(function(e){try{return G(e),!1}catch(e){return!0}}(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),G(e)}var F,Y,X=u.ReactCurrentOwner,q={key:!0,ref:!0,__self:!0,__source:!0};function Q(e,r,i,o,n){var a,l={},s=null,d=null;for(a in void 0!==i&&(K(i),s=""+i),function(e){if(P.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(r)&&(K(r.key),s=""+r.key),function(e){if(P.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return void 0!==e.ref}(r)&&(d=r.ref,function(e){"string"==typeof e.ref&&X.current}(r)),r)P.call(r,a)&&!q.hasOwnProperty(a)&&(l[a]=r[a]);if(e&&e.defaultProps){var c=e.defaultProps;for(a in c)void 0===l[a]&&(l[a]=c[a])}if(s||d){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,r){var t=function(){F||(F=!0,m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(l,h),d&&function(e,r){var t=function(){Y||(Y=!0,m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}(l,h)}return function(e,r,i,o,n,a,l){var s={$$typeof:t,type:e,key:r,ref:i,props:l,_owner:a,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,d,n,o,X.current,l)}var J,ee=u.ReactCurrentOwner,re=u.ReactDebugCurrentFrame;function te(e){if(e){var r=e._owner,t=O(e.type,e._source,r?r.type:null);re.setExtraStackFrame(t)}else re.setExtraStackFrame(null)}function ie(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function oe(){if(ee.current){var e=v(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var ne={};function ae(e,r){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var t=function(e){var r=oe();if(!r){var t="string"==typeof e?e:e.displayName||e.name;t&&(r="\n\nCheck the top-level render call using <"+t+">.")}return r}(r);if(!ne[t]){ne[t]=!0;var i="";e&&e._owner&&e._owner!==ee.current&&(i=" It was passed a child from "+v(e._owner.type)+"."),te(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,i),te(null)}}}function le(e,r){if("object"==typeof e)if(W(e))for(var t=0;t<e.length;t++){var i=e[t];ie(i)&&ae(i,r)}else if(ie(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var r=f&&e[f]||e["@@iterator"];return"function"==typeof r?r:null}(e);if("function"==typeof o&&o!==e.entries)for(var n,a=o.call(e);!(n=a.next()).done;)ie(n.value)&&ae(n.value,r)}}function se(e){var r,t=e.type;if(null!=t&&"string"!=typeof t){if("function"==typeof t)r=t.propTypes;else{if("object"!=typeof t||t.$$typeof!==d&&t.$$typeof!==p)return;r=t.propTypes}if(r){var i=v(t);!function(e,r,t,i,o){var n=Function.call.bind(P);for(var a in e)if(n(e,a)){var l=void 0;try{if("function"!=typeof e[a]){var s=Error((i||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[a](r,a,i,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(U(o),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",t,a,typeof l),U(null)),l instanceof Error&&!(l.message in V)&&(V[l.message]=!0,U(o),m("Failed %s type: %s",t,l.message),U(null))}}(r,e.props,"prop",i,e)}else if(void 0!==t.PropTypes&&!J){J=!0,m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v(t)||"Unknown")}"function"!=typeof t.getDefaultProps||t.getDefaultProps.isReactClassApproved||m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var de={};function ce(e,r,i,f,u,C){var y=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===n||e===c||e===h||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===x||e.$$typeof===p||e.$$typeof===l||e.$$typeof===s||e.$$typeof===d||e.$$typeof===b||void 0!==e.getModuleId)}(e);if(!y){var w="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var j;w+=oe(),null===e?j="null":W(e)?j="array":void 0!==e&&e.$$typeof===t?(j="<"+(v(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):j=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",j,w)}var k=Q(e,r,i,u,C);if(null==k)return k;if(y){var E=r.children;if(void 0!==E)if(f)if(W(E)){for(var L=0;L<E.length;L++)le(E[L],e);Object.freeze&&Object.freeze(E)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else le(E,e)}if(P.call(r,"key")){var M=v(e),_=Object.keys(r).filter(function(e){return"key"!==e}),A=_.length>0?"{key: someKey, "+_.join(": ..., ")+": ...}":"{key: someKey}";if(!de[M+A])m('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',A,M,_.length>0?"{"+_.join(": ..., ")+": ...}":"{}",M),de[M+A]=!0}return e===o?function(e){for(var r=Object.keys(e.props),t=0;t<r.length;t++){var i=r[t];if("children"!==i&&"key"!==i){te(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",i),te(null);break}}null!==e.ref&&(te(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(k):se(k),k}var he=function(e,r,t){return ce(e,r,t,!1)},pe=function(e,r,t){return ce(e,r,t,!0)};E.Fragment=o,E.jsx=he,E.jsxs=pe}()),E}var M=(k||(k=1,"production"===process.env.NODE_ENV?y.exports=function(){if(v)return w;v=1;var r=e,t=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(e,r,i){var l,s={},d=null,c=null;for(l in void 0!==i&&(d=""+i),void 0!==r.key&&(d=""+r.key),void 0!==r.ref&&(c=r.ref),r)o.call(r,l)&&!a.hasOwnProperty(l)&&(s[l]=r[l]);if(e&&e.defaultProps)for(l in r=e.defaultProps)void 0===s[l]&&(s[l]=r[l]);return{$$typeof:t,type:e,key:d,ref:c,props:s,_owner:n.current}}return w.Fragment=i,w.jsx=l,w.jsxs=l,w}():y.exports=L()),y.exports);const _={small:d`
1
+ import{jsxs as e,jsx as r,Fragment as t}from"react/jsx-runtime";import i,{css as o,createGlobalStyle as n,keyframes as l,ThemeProvider as a}from"styled-components";import s,{forwardRef as d,useState as c,useRef as h,useEffect as p,useCallback as g,useMemo as f,createContext as u}from"react";import C from"@monaco-editor/react";import x from"react-markdown";import{Prism as m}from"react-syntax-highlighter";import b from"rehype-raw";import v from"remark-gfm";import{createPortal as w}from"react-dom";import y from"plotly.js-dist";const k={small:o`
2
2
  height: 22px;
3
- `,medium:d`
3
+ `,medium:o`
4
4
  height: 26px;
5
- `},A={default:d`
5
+ `},L={default:o`
6
6
  color: var(--black);
7
7
  background-color: var(--white);
8
8
  border: 1px solid var(--grey-300);
9
- `,primary:d`
9
+ `,primary:o`
10
10
  color: var(--blue-600);
11
11
  background-color: var(--blue-50);
12
12
  border: 1px solid var(--blue-600);
13
- `},R=s.span`
13
+ `},E=i.span`
14
14
  display: inline-flex;
15
15
  align-items: center;
16
16
  justify-content: center;
@@ -25,10 +25,10 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
25
25
  border-radius: 6px;
26
26
  user-select: none;
27
27
 
28
- ${({$size:e})=>_[e]}
29
- ${({$variant:e})=>A[e]}
28
+ ${({$size:e})=>k[e]}
29
+ ${({$variant:e})=>L[e]}
30
30
 
31
- ${({$disabled:e})=>e&&d`
31
+ ${({$disabled:e})=>e&&o`
32
32
  cursor: not-allowed;
33
33
  background-color: var(--white);
34
34
  border-color: var(--grey-300);
@@ -39,11 +39,11 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
39
39
  width: 16px;
40
40
  height: 16px;
41
41
  }
42
- `,I=({children:e,size:r="medium",variant:t="default",disabled:i=!1,iconLeft:o,iconRight:n,className:a})=>M.jsxs(R,{$size:r,$variant:t,$disabled:i,className:a,children:[o&&o,e,n&&n]}),N={small:d`
42
+ `,M=({children:r,size:t="medium",variant:i="default",disabled:o=!1,iconLeft:n,iconRight:l,className:a})=>e(E,{$size:t,$variant:i,$disabled:o,className:a,children:[n&&n,r,l&&l]}),A={small:o`
43
43
  height: 34px;
44
- `,medium:d`
44
+ `,medium:o`
45
45
  height: 38px;
46
- `},T={primary:d`
46
+ `},I={primary:o`
47
47
  color: var(--white-900);
48
48
  background-color: var(--theme-primary, var(--blue-900));
49
49
  border: 1px solid var(--theme-primary, var(--blue-900));
@@ -61,7 +61,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
61
61
  background-color: var(--theme-primaryActive, var(--blue-800));
62
62
  border-color: var(--theme-primaryActive, var(--blue-800));
63
63
  }
64
- `,secondary:d`
64
+ `,secondary:o`
65
65
  color: var(--blue-600);
66
66
  background-color: var(--white-900);
67
67
  border: 1px solid var(--blue-600);
@@ -79,7 +79,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
79
79
  border-color: var(--blue-600);
80
80
  background-color: var(--blue-100);
81
81
  }
82
- `,tertiary:d`
82
+ `,tertiary:o`
83
83
  color: var(--black-900);
84
84
  background-color: var(--white-900);
85
85
  border: 1px solid var(--grey-300);
@@ -96,7 +96,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
96
96
  &:active:not(:disabled) {
97
97
  background-color: var(--grey-100);
98
98
  }
99
- `},z=s.button`
99
+ `},R=i.button`
100
100
  display: inline-flex;
101
101
  align-items: center;
102
102
  justify-content: center;
@@ -112,8 +112,8 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
112
112
  padding: ${e=>{return r=e.size||"medium",e.noPadding?"0":"small"===r?"7px 10px":"9px 12px";var r}};
113
113
  user-select: none;
114
114
 
115
- ${e=>N[e.size||"medium"]}
116
- ${e=>T[e.variant||"primary"]}
115
+ ${e=>A[e.size||"medium"]}
116
+ ${e=>I[e.variant||"primary"]}
117
117
 
118
118
  &:disabled {
119
119
  cursor: not-allowed;
@@ -129,7 +129,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
129
129
  box-shadow: 0px 0px 0px 1px var(--white-900),
130
130
  0px 0px 0px 3px var(--blue-600);
131
131
  }
132
- `,B=e.forwardRef(({children:e,variant:r="primary",size:t="medium",loading:i=!1,leftIcon:o,rightIcon:n,noPadding:a=!1,fullWidth:l=!1,disabled:s,...d},c)=>M.jsxs(z,{ref:c,variant:r,size:t,noPadding:a,fullWidth:l,disabled:s||i,...d,children:[o&&o,e,n&&n]}));B.displayName="Button";const H=s.button`
132
+ `,N=s.forwardRef(({children:r,variant:t="primary",size:i="medium",loading:o=!1,leftIcon:n,rightIcon:l,noPadding:a=!1,fullWidth:s=!1,disabled:d,...c},h)=>e(R,{ref:h,variant:t,size:i,noPadding:a,fullWidth:s,disabled:d||o,...c,children:[n&&n,r,l&&l]}));N.displayName="Button";const _=i.button`
133
133
  display: flex;
134
134
  align-items: center;
135
135
  justify-content: center;
@@ -168,28 +168,28 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
168
168
  height: 20px;
169
169
  color: ${e=>e.disabled?"var(--grey-400)":"var(--blue-900)"};
170
170
  }
171
- `,$=({icon:e,selected:r=!1,disabled:t=!1,onClick:i})=>M.jsx(H,{selected:r,disabled:t,onClick:t?void 0:i,children:e}),S={small:d`
171
+ `,B=({icon:e,selected:t=!1,disabled:i=!1,onClick:o})=>r(_,{selected:t,disabled:i,onClick:i?void 0:o,children:e}),z={small:o`
172
172
  padding: 12px;
173
- `,medium:d`
173
+ `,medium:o`
174
174
  padding: 16px;
175
- `,large:d`
175
+ `,large:o`
176
176
  padding: 20px;
177
- `},O={default:d`
177
+ `},H={default:o`
178
178
  background-color: var(--theme-cardBackground, var(--white-900));
179
179
  border: 1px solid var(--theme-cardBorder, var(--grey-200));
180
- `,outlined:d`
180
+ `,outlined:o`
181
181
  background-color: var(--theme-cardBackground, var(--white-900));
182
182
  border: 1px solid var(--theme-cardBorder, var(--grey-200));
183
- `,elevated:d`
183
+ `,elevated:o`
184
184
  background-color: var(--theme-cardBackground, var(--white-900));
185
185
  border: 1px solid var(--theme-cardBorder, var(--grey-200));
186
186
  box-shadow: 0px 2px 4px var(--black-100);
187
- `},P=s.div`
187
+ `},T=i.div`
188
188
  border-radius: var(--theme-radius-large, 16px);
189
189
  width: ${e=>e.$fullWidth?"100%":"auto"};
190
- ${e=>O[e.$variant]}
190
+ ${e=>H[e.$variant]}
191
191
  transition: all 0.2s ease;
192
- `,V=s.div`
192
+ `,$=i.div`
193
193
  font-family: "Inter", sans-serif;
194
194
  font-size: 14px;
195
195
  font-style: normal;
@@ -198,22 +198,22 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
198
198
  background-color: var(--grey-50);
199
199
  border-top-left-radius: var(--theme-radius-large, 16px);
200
200
  border-top-right-radius: var(--theme-radius-large, 16px);
201
- ${e=>S[e.$size]}
202
- `,D=s.div`
203
- ${e=>S[e.$size]}
204
- `,U=r(({children:e,title:r,size:t="medium",variant:i="default",className:o,fullWidth:n=!1,...a},l)=>M.jsxs(P,{ref:l,$size:t,$variant:i,$fullWidth:n,className:o,...a,children:[r&&M.jsx(V,{$size:t,children:r}),M.jsx(D,{$size:t,children:e})]}));U.displayName="Card";const Z=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:[M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.75C2 4.33579 2.33579 4 2.75 4H17.25C17.6642 4 18 4.33579 18 4.75C18 5.16421 17.6642 5.5 17.25 5.5H2.75C2.33579 5.5 2 5.16421 2 4.75ZM2 15.25C2 14.8358 2.33579 14.5 2.75 14.5H10.25C10.6642 14.5 11 14.8358 11 15.25C11 15.6642 10.6642 16 10.25 16H2.75C2.33579 16 2 15.6642 2 15.25Z",fill:e}),M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 10C2 9.58579 2.33579 9.25 2.75 9.25H17.25C17.6642 9.25 18 9.58579 18 10C18 10.4142 17.6642 10.75 17.25 10.75H2.75C2.33579 10.75 2 10.4142 2 10Z",fill:e})]}),W=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 16.5V3.5H3.75C3.55109 3.5 3.36032 3.42098 3.21967 3.28033C3.07902 3.13968 3 2.94891 3 2.75C3 2.55109 3.07902 2.36032 3.21967 2.21967C3.36032 2.07902 3.55109 2 3.75 2H16.25C16.4489 2 16.6397 2.07902 16.7803 2.21967C16.921 2.36032 17 2.55109 17 2.75C17 2.94891 16.921 3.13968 16.7803 3.28033C16.6397 3.42098 16.4489 3.5 16.25 3.5H16V16.5H16.25C16.4489 16.5 16.6397 16.579 16.7803 16.7197C16.921 16.8603 17 17.0511 17 17.25C17 17.4489 16.921 17.6397 16.7803 17.7803C16.6397 17.921 16.4489 18 16.25 18H12.75C12.5511 18 12.3603 17.921 12.2197 17.7803C12.079 17.6397 12 17.4489 12 17.25V14.75C12 14.5511 11.921 14.3603 11.7803 14.2197C11.6397 14.079 11.4489 14 11.25 14H8.75C8.55109 14 8.36032 14.079 8.21967 14.2197C8.07902 14.3603 8 14.5511 8 14.75V17.25C8 17.4489 7.92098 17.6397 7.78033 17.7803C7.63968 17.921 7.44891 18 7.25 18H3.75C3.55109 18 3.36032 17.921 3.21967 17.7803C3.07902 17.6397 3 17.4489 3 17.25C3 17.0511 3.07902 16.8603 3.21967 16.7197C3.36032 16.579 3.55109 16.5 3.75 16.5H4ZM7 5.5C7 5.36739 7.05268 5.24021 7.14645 5.14645C7.24021 5.05268 7.36739 5 7.5 5H8.5C8.63261 5 8.75979 5.05268 8.85355 5.14645C8.94732 5.24021 9 5.36739 9 5.5V6.5C9 6.63261 8.94732 6.75979 8.85355 6.85355C8.75979 6.94732 8.63261 7 8.5 7H7.5C7.36739 7 7.24021 6.94732 7.14645 6.85355C7.05268 6.75979 7 6.63261 7 6.5V5.5ZM7.5 9C7.36739 9 7.24021 9.05268 7.14645 9.14645C7.05268 9.24021 7 9.36739 7 9.5V10.5C7 10.6326 7.05268 10.7598 7.14645 10.8536C7.24021 10.9473 7.36739 11 7.5 11H8.5C8.63261 11 8.75979 10.9473 8.85355 10.8536C8.94732 10.7598 9 10.6326 9 10.5V9.5C9 9.36739 8.94732 9.24021 8.85355 9.14645C8.75979 9.05268 8.63261 9 8.5 9H7.5ZM11 5.5C11 5.36739 11.0527 5.24021 11.1464 5.14645C11.2402 5.05268 11.3674 5 11.5 5H12.5C12.6326 5 12.7598 5.05268 12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V6.5C13 6.63261 12.9473 6.75979 12.8536 6.85355C12.7598 6.94732 12.6326 7 12.5 7H11.5C11.3674 7 11.2402 6.94732 11.1464 6.85355C11.0527 6.75979 11 6.63261 11 6.5V5.5ZM11.5 9C11.3674 9 11.2402 9.05268 11.1464 9.14645C11.0527 9.24021 11 9.36739 11 9.5V10.5C11 10.6326 11.0527 10.7598 11.1464 10.8536C11.2402 10.9473 11.3674 11 11.5 11H12.5C12.6326 11 12.7598 10.9473 12.8536 10.8536C12.9473 10.7598 13 10.6326 13 10.5V9.5C13 9.36739 12.9473 9.24021 12.8536 9.14645C12.7598 9.05268 12.6326 9 12.5 9H11.5Z",fill:e})}),G=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:[M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.997 5.25C17.9972 4.69436 17.7917 4.15832 17.4202 3.74512C17.0488 3.33191 16.5375 3.07077 15.985 3.012C15.9262 2.45948 15.6651 1.94825 15.2519 1.57677C14.8387 1.20529 14.3026 0.999846 13.747 1H12.247C11.6914 0.999846 11.1553 1.20529 10.7421 1.57677C10.3289 1.94825 10.0678 2.45948 10.009 3.012C9.134 3.104 8.409 3.698 8.125 4.5H10.997C11.66 4.5 12.2959 4.76339 12.7648 5.23223C13.2336 5.70107 13.497 6.33696 13.497 7V14H15.747C16.3437 14 16.916 13.7629 17.338 13.341C17.7599 12.919 17.997 12.3467 17.997 11.75V5.25ZM12.247 2.5C12.0481 2.5 11.8573 2.57902 11.7167 2.71967C11.576 2.86032 11.497 3.05109 11.497 3.25V3.5H14.497V3.25C14.497 3.05109 14.418 2.86032 14.2773 2.71967C14.1367 2.57902 13.9459 2.5 13.747 2.5H12.247Z",fill:e}),M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 6C2.73478 6 2.48043 6.10536 2.29289 6.29289C2.10536 6.48043 2 6.73478 2 7V17C2 17.2652 2.10536 17.5196 2.29289 17.7071C2.48043 17.8946 2.73478 18 3 18H11C11.2652 18 11.5196 17.8946 11.7071 17.7071C11.8946 17.5196 12 17.2652 12 17V7C12 6.73478 11.8946 6.48043 11.7071 6.29289C11.5196 6.10536 11.2652 6 11 6H3ZM9.874 10.166C9.92992 10.0841 9.96904 9.99189 9.98909 9.89475C10.0091 9.79761 10.0097 9.69746 9.99081 9.6001C9.97189 9.50273 9.93385 9.41009 9.87889 9.32752C9.82392 9.24496 9.75313 9.17412 9.6706 9.1191C9.58807 9.06408 9.49545 9.02598 9.3981 9.007C9.30075 8.98802 9.2006 8.98854 9.10345 9.00852C9.0063 9.02851 8.91407 9.06757 8.83212 9.12344C8.75017 9.1793 8.68011 9.25087 8.626 9.334L6.133 13.073L5.28 12.22C5.13783 12.0875 4.94978 12.0154 4.75548 12.0188C4.56118 12.0223 4.37579 12.101 4.23838 12.2384C4.10097 12.3758 4.02225 12.5612 4.01883 12.7555C4.0154 12.9498 4.08752 13.1378 4.22 13.28L5.72 14.78C5.79844 14.8584 5.8933 14.9184 5.99773 14.9558C6.10217 14.9931 6.21359 15.0068 6.32396 14.9959C6.43434 14.985 6.54092 14.9498 6.63603 14.8927C6.73114 14.8357 6.81242 14.7582 6.874 14.666L9.874 10.166Z",fill:e})]}),K=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.7045 4.15347C17.034 4.4045 17.0976 4.87509 16.8466 5.20457L8.84657 15.7046C8.71541 15.8767 8.51627 15.9838 8.30033 15.9983C8.08439 16.0129 7.87271 15.9334 7.71967 15.7804L3.21967 11.2804C2.92678 10.9875 2.92678 10.5126 3.21967 10.2197C3.51256 9.92682 3.98744 9.92682 4.28033 10.2197L8.17351 14.1129L15.6534 4.29551C15.9045 3.96603 16.3751 3.90243 16.7045 4.15347Z",fill:e})}),F=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM13.8566 8.19113C14.1002 7.85614 14.0261 7.38708 13.6911 7.14345C13.3561 6.89982 12.8871 6.97388 12.6434 7.30887L9.15969 12.099L7.28033 10.2197C6.98744 9.92678 6.51256 9.92678 6.21967 10.2197C5.92678 10.5126 5.92678 10.9874 6.21967 11.2803L8.71967 13.7803C8.87477 13.9354 9.08999 14.0149 9.30867 13.9977C9.52734 13.9805 9.72754 13.8685 9.85655 13.6911L13.8566 8.19113Z",fill:e})}),Y=({fill:e="currentColor",width:r="16",height:t="16"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 16 16",fill:"none",children:[M.jsx("path",{d:"M11.2016 1.59961H4.80156C3.03676 1.59961 1.60156 3.03481 1.60156 4.79961V11.1996C1.60156 12.9644 3.03676 14.3996 4.80156 14.3996H11.2016C12.9664 14.3996 14.4016 12.9644 14.4016 11.1996V4.79961C14.4016 3.03481 12.9664 1.59961 11.2016 1.59961Z",fill:e}),M.jsx("path",{d:"M7.63305 10.8968L11.4331 6.09685C11.7075 5.75045 11.6491 5.24725 11.3027 4.97285C10.9555 4.69925 10.4531 4.75845 10.1787 5.10405L6.96665 9.16085L5.80025 7.86485C5.50425 7.53685 4.99945 7.50965 4.67065 7.80565C4.34265 8.10085 4.31625 8.60645 4.61145 8.93525L6.41145 10.9352C6.56265 11.104 6.77945 11.2 7.00585 11.2H7.03065C7.26665 11.1928 7.48665 11.0816 7.63305 10.8968Z",fill:"white"})]}),X=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{width:r,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.21967 8.21967C5.51256 7.92678 5.98744 7.92678 6.28033 8.21967L10 11.9393L13.7197 8.21967C14.0126 7.92678 14.4874 7.92678 14.7803 8.21967C15.0732 8.51256 15.0732 8.98744 14.7803 9.28033L10.5303 13.5303C10.3897 13.671 10.1989 13.75 10 13.75C9.80109 13.75 9.61032 13.671 9.46967 13.5303L5.21967 9.28033C4.92678 8.98744 4.92678 8.51256 5.21967 8.21967Z",fill:e})}),q=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{d:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Q=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 2C3.65326 2 3.08097 2.23705 2.65901 2.65901C2.23705 3.08097 2 3.65326 2 4.25V15.75C2 16.3467 2.23705 16.919 2.65901 17.341C3.08097 17.7629 3.65326 18 4.25 18H15.75C16.3467 18 16.919 17.7629 17.341 17.341C17.7629 16.919 18 16.3467 18 15.75V4.25C18 3.65326 17.7629 3.08097 17.341 2.65901C16.919 2.23705 16.3467 2 15.75 2H4.25ZM8.28 8.28C8.41248 8.13783 8.4846 7.94978 8.48118 7.75548C8.47775 7.56118 8.39903 7.37579 8.26162 7.23838C8.12421 7.10097 7.93882 7.02225 7.74452 7.01883C7.55022 7.0154 7.36217 7.08752 7.22 7.22L4.97 9.47C4.82955 9.61063 4.75066 9.80125 4.75066 10C4.75066 10.1988 4.82955 10.3894 4.97 10.53L7.22 12.78C7.36217 12.9125 7.55022 12.9846 7.74452 12.9812C7.93882 12.9777 8.12421 12.899 8.26162 12.7616C8.39903 12.6242 8.47775 12.4388 8.48118 12.2445C8.4846 12.0502 8.41248 11.8622 8.28 11.72L6.56 10L8.28 8.28ZM12.78 7.22C12.7113 7.14631 12.6285 7.08721 12.5365 7.04622C12.4445 7.00523 12.3452 6.98319 12.2445 6.98141C12.1438 6.97963 12.0438 6.99816 11.9504 7.03588C11.857 7.0736 11.7722 7.12974 11.701 7.20096C11.6297 7.27218 11.5736 7.35701 11.5359 7.4504C11.4982 7.54379 11.4796 7.64382 11.4814 7.74452C11.4832 7.84523 11.5052 7.94454 11.5462 8.03654C11.5872 8.12854 11.6463 8.21134 11.72 8.28L13.44 10L11.72 11.72C11.6463 11.7887 11.5872 11.8715 11.5462 11.9635C11.5052 12.0555 11.4832 12.1548 11.4814 12.2555C11.4796 12.3562 11.4982 12.4562 11.5359 12.5496C11.5736 12.643 11.6297 12.7278 11.701 12.799C11.7722 12.8703 11.857 12.9264 11.9504 12.9641C12.0438 13.0018 12.1438 13.0204 12.2445 13.0186C12.3452 13.0168 12.4445 12.9948 12.5365 12.9538C12.6285 12.9128 12.7113 12.8537 12.78 12.78L15.03 10.53C15.1705 10.3894 15.2493 10.1988 15.2493 10C15.2493 9.80125 15.1705 9.61063 15.03 9.47L12.78 7.22Z",fill:e})}),J=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.25C2 3.65326 2.23705 3.08097 2.65901 2.65901C3.08097 2.23705 3.65326 2 4.25 2H15.75C16.3467 2 16.919 2.23705 17.341 2.65901C17.7629 3.08097 18 3.65326 18 4.25V12.75C18 13.3467 17.7629 13.919 17.341 14.341C16.919 14.7629 16.3467 15 15.75 15H12.645C12.8403 15.6543 13.2226 16.2372 13.745 16.677C13.8625 16.7762 13.9467 16.9092 13.9861 17.0579C14.0255 17.2065 14.0182 17.3637 13.9653 17.5081C13.9123 17.6526 13.8163 17.7772 13.6901 17.8652C13.564 17.9532 13.4138 18.0002 13.26 18H6.74C6.58628 18 6.43627 17.9528 6.31027 17.8647C6.18427 17.7767 6.08838 17.652 6.03557 17.5077C5.98275 17.3633 5.97557 17.2062 6.015 17.0576C6.05443 16.9091 6.13856 16.7762 6.256 16.677C6.77799 16.2371 7.15999 15.6542 7.355 15H4.25C3.65326 15 3.08097 14.7629 2.65901 14.341C2.23705 13.919 2 13.3467 2 12.75V4.25ZM3.5 4.25C3.5 4.05109 3.57902 3.86032 3.71967 3.71967C3.86032 3.57902 4.05109 3.5 4.25 3.5H15.75C15.9489 3.5 16.1397 3.57902 16.2803 3.71967C16.421 3.86032 16.5 4.05109 16.5 4.25V11.75C16.5 11.9489 16.421 12.1397 16.2803 12.2803C16.1397 12.421 15.9489 12.5 15.75 12.5H4.25C4.05109 12.5 3.86032 12.421 3.71967 12.2803C3.57902 12.1397 3.5 11.9489 3.5 11.75V4.25Z",fill:e})}),ee=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:[M.jsx("path",{d:"M2 4.25C2 3.00736 3.00736 2 4.25 2H10.75C11.9926 2 13 3.00736 13 4.25V5.5H9.25C7.17893 5.5 5.5 7.17893 5.5 9.25V13H4.25C3.00736 13 2 11.9926 2 10.75V4.25Z",fill:e}),M.jsx("path",{d:"M9.25 7C8.00736 7 7 8.00736 7 9.25V15.75C7 16.9926 8.00736 18 9.25 18H15.75C16.9926 18 18 16.9926 18 15.75V9.25C18 8.00736 16.9926 7 15.75 7H9.25Z",fill:e})]}),re=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{d:"M10.362 1.093C10.2511 1.0319 10.1266 0.999851 10 0.999851C9.87341 0.999851 9.74887 1.0319 9.638 1.093L2.523 5.018L10 9.143L17.477 5.018L10.362 1.093ZM18 6.443L10.75 10.443V18.693L17.612 14.907C17.7295 14.8422 17.8275 14.7471 17.8958 14.6315C17.964 14.516 18 14.3842 18 14.25V6.443ZM9.25 18.693V10.443L2 6.443V14.25C1.99997 14.3842 2.03596 14.516 2.10421 14.6315C2.17245 14.7471 2.27046 14.8422 2.388 14.907L9.25 18.693Z",fill:e})}),te=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1C13.866 1 17 2.79 17 5C17 7.21 13.866 9 10 9C6.134 9 3 7.21 3 5C3 2.79 6.134 1 10 1ZM15.694 9.13C16.158 8.866 16.604 8.547 17 8.178V10C17 12.21 13.866 14 10 14C6.134 14 3 12.21 3 10V8.178C3.396 8.548 3.842 8.866 4.306 9.131C5.838 10.006 7.854 10.5 10 10.5C12.146 10.5 14.162 10.006 15.694 9.13ZM3 13.179V15C3 17.21 6.134 19 10 19C13.866 19 17 17.21 17 15V13.178C16.604 13.548 16.158 13.866 15.694 14.131C14.162 15.006 12.146 15.5 10 15.5C7.854 15.5 5.838 15.006 4.306 14.13C3.83547 13.8644 3.39722 13.5453 3 13.179Z",fill:e})}),ie=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM10 5C10.4142 5 10.75 5.33579 10.75 5.75V10.25C10.75 10.6642 10.4142 11 10 11C9.58579 11 9.25 10.6642 9.25 10.25V5.75C9.25 5.33579 9.58579 5 10 5ZM10 15C10.5523 15 11 14.5523 11 14C11 13.4477 10.5523 13 10 13C9.44771 13 9 13.4477 9 14C9 14.5523 9.44771 15 10 15Z",fill:e})}),oe=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4845 2.49499C9.15808 1.32833 10.842 1.32833 11.5156 2.495L17.7943 13.37C18.4678 14.5367 17.6259 15.995 16.2787 15.995H3.72136C2.37421 15.995 1.53224 14.5367 2.20582 13.37L8.4845 2.49499ZM10 5C10.4142 5 10.75 5.33579 10.75 5.75V9.25C10.75 9.66421 10.4142 10 10 10C9.58579 10 9.25 9.66421 9.25 9.25L9.25 5.75C9.25 5.33579 9.58579 5 10 5ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14Z",fill:e})}),ne=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.84288 1.804C7.88817 1.57739 8.01055 1.37346 8.18921 1.22689C8.36787 1.08031 8.59178 1.00014 8.82288 1H11.1829C11.414 1.00014 11.6379 1.08031 11.8165 1.22689C11.9952 1.37346 12.1176 1.57739 12.1629 1.804L12.4939 3.456C13.1923 3.72219 13.8436 4.09863 14.4229 4.571L16.0209 4.031C16.2398 3.95702 16.4775 3.96112 16.6937 4.04261C16.9099 4.1241 17.0913 4.27795 17.2069 4.478L18.3869 6.522C18.5025 6.72209 18.5453 6.95607 18.5079 7.18413C18.4706 7.4122 18.3553 7.62029 18.1819 7.773L16.9149 8.886C17.033 9.62397 17.033 10.376 16.9149 11.114L18.1819 12.227C18.3553 12.3795 18.4705 12.5874 18.5081 12.8152C18.5456 13.0431 18.5031 13.2769 18.3879 13.477L17.2079 15.522C17.0922 15.7223 16.9107 15.8763 16.6943 15.9578C16.4779 16.0393 16.2399 16.0432 16.0209 15.969L14.4229 15.429C13.8436 15.9014 13.1923 16.2778 12.4939 16.544L12.1639 18.196C12.1186 18.4226 11.9962 18.6265 11.8175 18.7731C11.6389 18.9197 11.415 18.9999 11.1839 19H8.82288C8.59178 18.9999 8.36787 18.9197 8.18921 18.7731C8.01055 18.6265 7.88817 18.4226 7.84288 18.196L7.51188 16.544C6.81342 16.2778 6.16215 15.9014 5.58288 15.429L3.98488 15.969C3.76598 16.043 3.52823 16.0389 3.31202 15.9574C3.09581 15.8759 2.91449 15.7221 2.79888 15.522L1.61888 13.478C1.50322 13.2779 1.46045 13.0439 1.49782 12.8159C1.53519 12.5878 1.65041 12.3797 1.82388 12.227L3.09088 11.113C2.97289 10.3754 2.97289 9.62364 3.09088 8.886L1.82388 7.773C1.65049 7.62047 1.53524 7.41264 1.49769 7.18478C1.46014 6.95693 1.5026 6.7231 1.61788 6.523L2.79788 4.478C2.91352 4.27773 3.09501 4.12373 3.31144 4.04223C3.52787 3.96073 3.76585 3.95676 3.98488 4.031L5.58288 4.571C6.16245 4.09852 6.81406 3.72207 7.51288 3.456L7.84288 1.804ZM10.0029 13C10.7985 13 11.5616 12.6839 12.1242 12.1213C12.6868 11.5587 13.0029 10.7956 13.0029 10C13.0029 9.20435 12.6868 8.44129 12.1242 7.87868C11.5616 7.31607 10.7985 7 10.0029 7C9.20723 7 8.44416 7.31607 7.88156 7.87868C7.31895 8.44129 7.00288 9.20435 7.00288 10C7.00288 10.7956 7.31895 11.5587 7.88156 12.1213C8.44416 12.6839 9.20723 13 10.0029 13Z",fill:e})}),ae=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM16.4969 10.2041C16.389 13.6995 13.5216 16.5 10 16.5C6.41015 16.5 3.5 13.5899 3.5 10C3.5 7.12656 5.36451 4.68861 7.94969 3.82998L6.92671 5.62019C6.60171 6.18894 6.69759 6.90485 7.16078 7.36805C7.6029 7.81017 8.27833 7.91977 8.83757 7.64015L9.0123 7.55279C9.08173 7.51807 9.15829 7.5 9.23591 7.5H9.38181C9.5712 7.5 9.74433 7.607 9.82902 7.77639C9.8994 7.91716 9.8994 8.08284 9.82902 8.22361L9.80123 8.27919C9.73357 8.41452 9.59525 8.5 9.44395 8.5H8.9418C8.18614 8.5 7.48048 8.87766 7.06131 9.50641L7.01751 9.57212C6.65828 10.111 6.56795 10.7855 6.77274 11.3998C6.98201 12.0276 7.47787 12.5197 8.10338 12.7282C8.33997 12.8071 8.49984 13.0292 8.49984 13.2749V14.3246C8.49984 14.9738 9.02608 15.5 9.67523 15.5C10.0323 15.5 10.37 15.3377 10.5931 15.0589L12.2044 13.0446C12.3957 12.8056 12.4998 12.5086 12.4998 12.2025C12.4998 11.8866 12.6279 11.5791 12.8531 11.3539C13.3088 10.8982 13.3864 10.1784 13.0257 9.63738L12.5617 8.94145C12.5214 8.88091 12.4998 8.80979 12.4998 8.73703C12.4998 8.43336 12.8465 8.26002 13.0895 8.44222L13.4322 8.69925C13.748 8.93609 14.1704 8.97373 14.523 8.79746C14.7488 8.68456 15.0216 8.72887 15.1996 8.90689L16.4969 10.2041Z",fill:e})}),le=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{d:"M13.3516 2.00712C13.7619 2.06371 14.0488 2.44249 13.9922 2.85282L13.5576 6.00028H16.6973C17.1115 6.00028 17.4473 6.33607 17.4473 6.75028C17.4473 7.16448 17.1115 7.50028 16.6973 7.50028H13.3516L12.6611 12.5003H15.8008C16.215 12.5003 16.5508 12.8361 16.5508 13.2503C16.5508 13.6645 16.215 14.0003 15.8008 14.0003H12.4551L11.9922 17.3528C11.9356 17.7631 11.5568 18.05 11.1465 17.9934C10.7362 17.9368 10.4493 17.558 10.5059 17.1477L10.9404 14.0003H7.95508L7.49219 17.3528C7.43556 17.7631 7.05679 18.05 6.64648 17.9934C6.23622 17.9368 5.94927 17.558 6.00586 17.1477L6.44043 14.0003H3.30078C2.88658 14.0003 2.5508 13.6645 2.55078 13.2503C2.55078 12.8361 2.88657 12.5003 3.30078 12.5003H6.64648L7.33691 7.50028H4.19727C3.78309 7.50024 3.44728 7.16446 3.44727 6.75028C3.44727 6.33609 3.78308 6.00032 4.19727 6.00028H7.54297L8.00586 2.64774C8.06245 2.23743 8.44125 1.95055 8.85156 2.00712C9.26189 2.06371 9.54878 2.44249 9.49219 2.85282L9.05762 6.00028H12.043L12.5059 2.64774C12.5625 2.23743 12.9413 1.95055 13.3516 2.00712ZM8.85156 7.50028L8.16113 12.5003H11.1465L11.8369 7.50028H8.85156Z",fill:e})}),se=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29292 2.29289C9.68345 1.90237 10.3166 1.90237 10.7071 2.29289L17.7071 9.29289C17.9931 9.57889 18.0787 10.009 17.9239 10.3827C17.7691 10.7564 17.4045 11 17 11H16V17C16 17.5523 15.5523 18 15 18H13C12.4477 18 12 17.5523 12 17V14C12 13.4477 11.5523 13 11 13H9.00003C8.44774 13 8.00003 13.4477 8.00003 14V17C8.00003 17.5523 7.55231 18 7.00003 18H5.00003C4.44774 18 4.00003 17.5523 4.00003 17V11H3.00003C2.59557 11 2.23093 10.7564 2.07615 10.3827C1.92137 10.009 2.00692 9.57889 2.29292 9.29289L9.29292 2.29289Z",fill:e})}),de=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",fill:"none",children:M.jsx("path",{d:"M3.75 22.5H10.1824C11.6028 22.5 12.9013 23.3025 13.5365 24.5729L13.9635 25.4271C14.5987 26.6975 15.8972 27.5 17.3176 27.5H22.6824C24.1028 27.5 25.4013 26.6975 26.0365 25.4271L26.4635 24.5729C27.0987 23.3025 28.3972 22.5 29.8176 22.5H36.25M3.75 23.0639V30C3.75 32.0711 5.42893 33.75 7.5 33.75H32.5C34.5711 33.75 36.25 32.0711 36.25 30V23.0639C36.25 22.6901 36.1941 22.3183 36.0842 21.9611L32.0645 8.89718C31.5804 7.32371 30.1266 6.25 28.4803 6.25H11.5197C9.87339 6.25 8.41963 7.32371 7.93548 8.89718L3.91583 21.9611C3.80589 22.3183 3.75 22.6901 3.75 23.0639Z",stroke:e,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})}),ce=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{d:"M10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2ZM9 9C8.58579 9 8.25 9.33579 8.25 9.75C8.25 10.1642 8.58579 10.5 9 10.5H9.25293C9.41287 10.5 9.53176 10.6486 9.49707 10.8047L9.03809 12.8701C8.79522 13.963 9.62751 15 10.7471 15H11C11.4142 15 11.75 14.6642 11.75 14.25C11.75 13.8358 11.4142 13.5 11 13.5H10.7471C10.5871 13.5 10.4682 13.3514 10.5029 13.1953L10.9619 11.1299C11.2048 10.037 10.3725 9 9.25293 9H9ZM10 5C9.44771 5 9 5.44772 9 6C9 6.55228 9.44771 7 10 7C10.5523 7 11 6.55228 11 6C11 5.44772 10.5523 5 10 5Z",fill:e})}),he=({fill:e="currentColor",width:r="16",height:t="16"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 16 16",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM9 5C9 5.55228 8.55228 6 8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5ZM6.75 8C6.33579 8 6 8.33579 6 8.75C6 9.16421 6.33579 9.5 6.75 9.5H7.5V11.25C7.5 11.6642 7.83579 12 8.25 12C8.66421 12 9 11.6642 9 11.25V8.75C9 8.33579 8.66421 8 8.25 8H6.75Z",fill:e})}),pe=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{d:"M10.0001 1C8.76409 0.99999 7.55829 1.38167 6.54746 2.09287C5.53662 2.80407 4.77008 3.81008 4.35262 4.9734C3.93516 6.13672 3.88714 7.40058 4.21512 8.59222C4.54311 9.78387 5.2311 10.8451 6.18505 11.631C7.23705 12.5 8.00005 13.443 8.00005 14.456V15.1C7.99995 15.268 8.05628 15.4312 8.16 15.5634C8.26372 15.6956 8.40883 15.7891 8.57205 15.829C9.51025 16.0582 10.4899 16.0582 11.4281 15.829C11.5913 15.7891 11.7364 15.6956 11.8401 15.5634C11.9438 15.4312 12.0001 15.268 12.0001 15.1V14.456C12.0001 13.443 12.7621 12.499 13.8151 11.631C14.769 10.8451 15.457 9.78387 15.785 8.59222C16.113 7.40058 16.0649 6.13672 15.6475 4.9734C15.23 3.81008 14.4635 2.80407 13.4526 2.09287C12.4418 1.38167 11.236 0.99999 10.0001 1ZM8.86305 17.414C8.76568 17.3992 8.66633 17.4036 8.57069 17.4272C8.47505 17.4508 8.38498 17.4929 8.30563 17.5513C8.14538 17.6691 8.03852 17.8458 8.00855 18.0425C7.97858 18.2392 8.02796 18.4397 8.14583 18.5999C8.2637 18.7602 8.44039 18.867 8.63705 18.897C9.54052 19.0344 10.4596 19.0344 11.3631 18.897C11.5597 18.867 11.7364 18.7602 11.8543 18.5999C11.9721 18.4397 12.0215 18.2392 11.9916 18.0425C11.9616 17.8458 11.8547 17.6691 11.6945 17.5513C11.5342 17.4334 11.3337 17.384 11.1371 17.414C10.3834 17.5288 9.61671 17.5288 8.86305 17.414Z",fill:e})}),xe=({fill:e="currentColor",width:r="16",height:t="16"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 16 16",fill:"none",children:M.jsx("path",{d:"M11.5 1C9.567 1 8 2.567 8 4.5V7H2.5C1.67157 7 1 7.67157 1 8.5V13.5C1 14.3284 1.67157 15 2.5 15H9.5C10.3284 15 11 14.3284 11 13.5V8.5C11 7.67157 10.3284 7 9.5 7V4.5C9.5 3.39543 10.3954 2.5 11.5 2.5C12.6046 2.5 13.5 3.39543 13.5 4.5V6.25C13.5 6.66421 13.8358 7 14.25 7C14.6642 7 15 6.66421 15 6.25V4.5C15 2.567 13.433 1 11.5 1Z",fill:e})}),ge=({fill:e="currentColor",width:r="16",height:t="16"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 16 16",fill:"none",children:M.jsx("path",{d:"M3.75 7.25C3.33579 7.25 3 7.58579 3 8C3 8.41421 3.33579 8.75 3.75 8.75L12.25 8.75C12.6642 8.75 13 8.41421 13 8C13 7.58579 12.6642 7.25 12.25 7.25H3.75Z",fill:e})}),fe=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{width:r,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:M.jsx("path",{d:"M3.10526 2.28868C2.85362 2.25302 2.60104 2.34722 2.43421 2.53895C2.26738 2.73068 2.209 2.99386 2.27911 3.23815L3.69276 8.16402C3.87733 8.80713 4.4655 9.25024 5.13456 9.25024H11.25C11.6642 9.25024 12 9.58603 12 10.0002C12 10.4145 11.6642 10.7502 11.25 10.7502H5.13457C4.4655 10.7502 3.87733 11.1934 3.69277 11.8365L2.27911 16.7624C2.209 17.0067 2.26738 17.2698 2.43421 17.4616C2.60104 17.6533 2.85362 17.7475 3.10526 17.7118C8.94303 16.8844 14.221 14.319 18.3983 10.5576C18.5563 10.4154 18.6465 10.2128 18.6465 10.0003C18.6465 9.7877 18.5563 9.58513 18.3983 9.4429C14.221 5.68154 8.94303 3.1161 3.10526 2.28868Z",fill:e})}),ue=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{d:"M2.69533 14.7623L1.43355 17.9168C1.27028 18.3249 1.67532 18.73 2.08348 18.5667L5.23795 17.3049C5.74091 17.1037 6.19777 16.8025 6.58081 16.4194L17.5 5.50072C18.3284 4.67229 18.3284 3.32914 17.5 2.50072C16.6716 1.67229 15.3284 1.67229 14.5 2.50071L3.58081 13.4194C3.19777 13.8025 2.89652 14.2593 2.69533 14.7623Z",fill:e})}),me=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:[M.jsx("path",{d:"M12 8.99908C11.7348 8.99908 11.4804 8.89372 11.2929 8.70618C11.1054 8.51865 11 8.26429 11 7.99908V2.99908C11 2.44708 11.45 1.99208 11.997 2.06908C13.4939 2.28487 14.8808 2.97941 15.9502 4.04884C17.0197 5.11828 17.7142 6.50515 17.93 8.00208C18.008 8.54908 17.552 8.99908 17 8.99908H12Z",fill:e}),M.jsx("path",{d:"M8.003 4.07083C8.55 3.99483 9 4.44982 9 5.00082V10.0008C9 10.266 9.10536 10.5204 9.29289 10.7079C9.48043 10.8955 9.73478 11.0008 10 11.0008H15C15.552 11.0008 16.008 11.4508 15.93 11.9978C15.6769 13.7491 14.77 15.3396 13.3918 16.4494C12.0135 17.5591 10.2662 18.1058 8.5012 17.9795C6.73622 17.8532 5.08455 17.0632 3.87841 15.7685C2.67226 14.4737 2.00113 12.7703 2 11.0008C2.00009 9.31693 2.60701 7.68946 3.70953 6.41668C4.81205 5.1439 6.33633 4.31107 8.003 4.07083Z",fill:e})]}),be=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.157 2.17646C7.78976 2.02451 7.37724 2.02451 7.01 2.17646L2.926 3.86646C2.65219 3.97987 2.41812 4.17185 2.25331 4.41817C2.08851 4.66448 2.00036 4.9541 2 5.25046V16.1275C1.99997 16.3742 2.06079 16.617 2.17705 16.8346C2.29332 17.0522 2.46146 17.2377 2.66656 17.3748C2.87167 17.5118 3.10741 17.5962 3.35291 17.6204C3.59841 17.6446 3.84609 17.6079 4.074 17.5135L7.584 16.0615L11.844 17.8235C12.2109 17.9751 12.6231 17.9751 12.99 17.8235L17.073 16.1335C17.3468 16.0203 17.581 15.8285 17.746 15.5824C17.911 15.3363 17.9994 15.0468 18 14.7505V3.87246C18 3.6259 17.9391 3.38315 17.8229 3.1657C17.7067 2.94824 17.5387 2.76278 17.3337 2.62574C17.1287 2.4887 16.8932 2.4043 16.6478 2.38001C16.4024 2.35571 16.1549 2.39228 15.927 2.48646L12.417 3.93846L8.157 2.17646ZM7.58 5.00046C7.77891 5.00046 7.96968 5.07948 8.11033 5.22013C8.25098 5.36079 8.33 5.55155 8.33 5.75046V12.2505C8.33 12.4494 8.25098 12.6401 8.11033 12.7808C7.96968 12.9214 7.77891 13.0005 7.58 13.0005C7.38109 13.0005 7.19032 12.9214 7.04967 12.7808C6.90902 12.6401 6.83 12.4494 6.83 12.2505V5.75046C6.83 5.55155 6.90902 5.36079 7.04967 5.22013C7.19032 5.07948 7.38109 5.00046 7.58 5.00046ZM13.17 7.75046C13.17 7.55155 13.091 7.36079 12.9503 7.22013C12.8097 7.07948 12.6189 7.00046 12.42 7.00046C12.2211 7.00046 12.0303 7.07948 11.8897 7.22013C11.749 7.36079 11.67 7.55155 11.67 7.75046V14.2505C11.67 14.4494 11.749 14.6401 11.8897 14.7808C12.0303 14.9214 12.2211 15.0005 12.42 15.0005C12.6189 15.0005 12.8097 14.9214 12.9503 14.7808C13.091 14.6401 13.17 14.4494 13.17 14.2505V7.75046Z",fill:e})}),Ce=({fill:e="currentColor",width:r="16",height:t="16"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 16 16",fill:"none",children:M.jsx("path",{d:"M8.75 3.75C8.75 3.33579 8.41421 3 8 3C7.58579 3 7.25 3.33579 7.25 3.75V7.25H3.75C3.33579 7.25 3 7.58579 3 8C3 8.41421 3.33579 8.75 3.75 8.75L7.25 8.75V12.25C7.25 12.6642 7.58579 13 8 13C8.41421 13 8.75 12.6642 8.75 12.25V8.75L12.25 8.75C12.6642 8.75 13 8.41421 13 8C13 7.58579 12.6642 7.25 12.25 7.25H8.75V3.75Z",fill:e})}),ve=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{d:"M10.0036 8C10.7993 8 11.5623 7.68393 12.1249 7.12132C12.6875 6.55871 13.0036 5.79565 13.0036 5C13.0036 4.20435 12.6875 3.44129 12.1249 2.87868C11.5623 2.31607 10.7993 2 10.0036 2C9.20797 2 8.44491 2.31607 7.8823 2.87868C7.31969 3.44129 7.00362 4.20435 7.00362 5C7.00362 5.79565 7.31969 6.55871 7.8823 7.12132C8.44491 7.68393 9.20797 8 10.0036 8ZM3.46862 14.493C3.37578 14.7411 3.36554 15.0126 3.43941 15.267C3.51329 15.5214 3.66733 15.7452 3.87862 15.905C5.62995 17.266 7.7856 18.0034 10.0036 18C12.3136 18 14.4416 17.216 16.1346 15.9C16.5646 15.567 16.7386 14.997 16.5426 14.49C16.0349 13.168 15.1382 12.0311 13.9709 11.2292C12.8037 10.4274 11.4207 9.99829 10.0046 9.99861C8.58845 9.99894 7.20569 10.4287 6.03881 11.231C4.87193 12.0334 3.97578 13.1708 3.46862 14.493Z",fill:e})}),ye=({fill:e="currentColor",width:r="16",height:t="16"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 16 16",fill:"none",children:M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5ZM7.29303 5.29289C7.68355 4.90237 8.31671 4.90237 8.70724 5.29289C9.09776 5.68342 9.09776 6.31658 8.70724 6.70711C8.58354 6.83081 8.43743 6.91429 8.2827 6.95959C7.82404 7.09387 7.25013 7.52576 7.25013 8.25V8.50022C7.25013 8.91444 7.58592 9.25022 8.00013 9.25022C8.41435 9.25022 8.75013 8.91444 8.75013 8.50022V8.38522C9.12313 8.26818 9.47391 8.06176 9.7679 7.76777C10.7442 6.79146 10.7442 5.20854 9.7679 4.23223C8.79159 3.25592 7.20868 3.25592 6.23237 4.23223C5.93947 4.52513 5.93947 5 6.23237 5.29289C6.52526 5.58579 7.00013 5.58579 7.29303 5.29289Z",fill:e})}),we=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:[M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.60597 12.9691C4.85946 13.2967 4.79938 13.7678 4.47179 14.0213C3.87925 14.4798 3.5 15.1954 3.5 16C3.5 16.1569 3.51437 16.31 3.54177 16.4582C3.68996 16.4856 3.84307 16.5 4 16.5C4.80458 16.5 5.52023 16.1208 5.97873 15.5282C6.23222 15.2006 6.70328 15.1405 7.03087 15.394C7.35846 15.6475 7.41854 16.1186 7.16505 16.4462C6.4347 17.39 5.2884 18 4 18C3.54003 18 3.09667 17.9221 2.6834 17.778C2.46722 17.7027 2.29728 17.5328 2.22195 17.3166C2.07794 16.9033 2 16.46 2 16C2 14.7116 2.60997 13.5653 3.55383 12.835C3.88142 12.5815 4.35248 12.6415 4.60597 12.9691Z",fill:e}),M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75236 12C6.40714 12.8376 7.16237 13.5929 8 14.2476V18.25C8 18.6642 8.33579 19 8.75 19C11.5114 19 13.75 16.7614 13.75 14C13.75 13.5097 13.6792 13.035 13.5471 12.5861C16.8467 10.2297 19 6.36651 19 2C19 1.91234 18.9991 1.82486 18.9974 1.73759C18.9894 1.33502 18.665 1.01058 18.2624 1.0026C18.1751 1.00087 18.0877 1 18 1C13.6335 1 9.77032 3.15331 7.41387 6.45291C6.96496 6.32078 6.49028 6.25 6 6.25C3.23858 6.25 1 8.48858 1 11.25C1 11.6642 1.33579 12 1.75 12H5.75236ZM13 9C14.1046 9 15 8.10457 15 7C15 5.89543 14.1046 5 13 5C11.8954 5 11 5.89543 11 7C11 8.10457 11.8954 9 13 9Z",fill:e})]}),je=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{width:r,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[M.jsx("path",{d:"M9 16C12.866 16 16 12.866 16 9C16 5.13401 12.866 2 9 2C5.13401 2 2 5.13401 2 9C2 12.866 5.13401 16 9 16Z",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsx("path",{d:"M18 18L14 14",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),ke=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:[M.jsx("path",{d:"M8 10C8 9.60218 8.15804 9.22064 8.43934 8.93934C8.72064 8.65804 9.10218 8.5 9.5 8.5C9.89782 8.5 10.2794 8.65804 10.5607 8.93934C10.842 9.22064 11 9.60218 11 10C11 10.3978 10.842 10.7794 10.5607 11.0607C10.2794 11.342 9.89782 11.5 9.5 11.5C9.10218 11.5 8.72064 11.342 8.43934 11.0607C8.15804 10.7794 8 10.3978 8 10Z",fill:e}),M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2C4.10218 2 3.72064 2.15804 3.43934 2.43934C3.15804 2.72065 3 3.10218 3 3.5V16.5C3 16.8978 3.15804 17.2794 3.43934 17.5607C3.72064 17.842 4.10218 18 4.5 18H15.5C15.8978 18 16.2794 17.842 16.5607 17.5607C16.842 17.2794 17 16.8978 17 16.5V7.621C16.9997 7.22331 16.8414 6.84204 16.56 6.561L12.44 2.439C12.3005 2.29961 12.1349 2.1891 11.9527 2.11377C11.7705 2.03844 11.5752 1.99978 11.378 2H4.5ZM9.5 7C9.03881 7.00024 8.58388 7.10681 8.17056 7.31143C7.75725 7.51605 7.39667 7.8132 7.11685 8.17981C6.83703 8.54641 6.64551 8.9726 6.55715 9.42525C6.46879 9.8779 6.48598 10.3448 6.60739 10.7897C6.7288 11.2347 6.95116 11.6456 7.25718 11.9906C7.5632 12.3357 7.94466 12.6055 8.3719 12.7792C8.79915 12.9528 9.26068 13.0257 9.72064 12.992C10.1806 12.9583 10.6266 12.819 11.024 12.585L12.22 13.78C12.2887 13.8537 12.3715 13.9128 12.4635 13.9538C12.5555 13.9948 12.6548 14.0168 12.7555 14.0186C12.8562 14.0204 12.9562 14.0018 13.0496 13.9641C13.143 13.9264 13.2278 13.8703 13.299 13.799C13.3703 13.7278 13.4264 13.643 13.4641 13.5496C13.5018 13.4562 13.5204 13.3562 13.5186 13.2555C13.5168 13.1548 13.4948 13.0555 13.4538 12.9635C13.4128 12.8715 13.3537 12.7887 13.28 12.72L12.085 11.524C12.3538 11.0683 12.4972 10.5496 12.5009 10.0206C12.5045 9.49158 12.3682 8.97099 12.1057 8.51165C11.8432 8.0523 11.464 7.67053 11.0063 7.40506C10.5487 7.13958 10.029 6.99984 9.5 7Z",fill:e})]}),Ee=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:[M.jsx("path",{d:"M6.5 9C6.5 8.33696 6.76339 7.70107 7.23223 7.23223C7.70107 6.76339 8.33696 6.5 9 6.5C9.66304 6.5 10.2989 6.76339 10.7678 7.23223C11.2366 7.70107 11.5 8.33696 11.5 9C11.5 9.66304 11.2366 10.2989 10.7678 10.7678C10.2989 11.2366 9.66304 11.5 9 11.5C8.33696 11.5 7.70107 11.2366 7.23223 10.7678C6.76339 10.2989 6.5 9.66304 6.5 9Z",fill:e}),M.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C12.1217 18 14.1566 17.1571 15.6569 15.6569C17.1571 14.1566 18 12.1217 18 10C18 7.87827 17.1571 5.84344 15.6569 4.34315C14.1566 2.84285 12.1217 2 10 2C7.87827 2 5.84344 2.84285 4.34315 4.34315C2.84285 5.84344 2 7.87827 2 10C2 12.1217 2.84285 14.1566 4.34315 15.6569C5.84344 17.1571 7.87827 18 10 18ZM9 5C8.37415 5.0001 7.75705 5.14706 7.19833 5.42906C6.63961 5.71106 6.15485 6.12023 5.78304 6.62367C5.41124 7.12711 5.16275 7.71077 5.05756 8.32773C4.95238 8.94468 4.99343 9.5777 5.17741 10.1759C5.3614 10.7741 5.68319 11.3208 6.1169 11.772C6.55061 12.2232 7.08415 12.5663 7.67462 12.7738C8.26508 12.9813 8.89599 13.0473 9.51661 12.9666C10.1372 12.8859 10.7303 12.6606 11.248 12.309L12.72 13.78C12.7887 13.8537 12.8715 13.9128 12.9635 13.9538C13.0555 13.9948 13.1548 14.0168 13.2555 14.0186C13.3562 14.0204 13.4562 14.0018 13.5496 13.9641C13.643 13.9264 13.7278 13.8703 13.799 13.799C13.8703 13.7278 13.9264 13.643 13.9641 13.5496C14.0018 13.4562 14.0204 13.3562 14.0186 13.2555C14.0168 13.1548 13.9948 13.0555 13.9538 12.9635C13.9128 12.8715 13.8537 12.7887 13.78 12.72L12.309 11.248C12.7176 10.6467 12.9546 9.94532 12.9944 9.21939C13.0343 8.49346 12.8756 7.77039 12.5353 7.1279C12.195 6.48542 11.6861 5.94782 11.0632 5.5729C10.4403 5.19798 9.72702 4.99992 9 5Z",fill:e})]}),Le=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 14 16",fill:"none",children:[M.jsx("path",{d:"M7 5V8",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsx("path",{d:"M3 11V9C3 8.4477 3.4477 8 4 8H10C10.5523 8 11 8.4477 11 9V11",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsx("path",{d:"M7 5C8.10457 5 9 4.10457 9 3C9 1.89543 8.10457 1 7 1C5.89543 1 5 1.89543 5 3C5 4.10457 5.89543 5 7 5Z",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsx("path",{d:"M3 15C4.10457 15 5 14.1046 5 13C5 11.8954 4.10457 11 3 11C1.89543 11 1 11.8954 1 13C1 14.1046 1.89543 15 3 15Z",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsx("path",{d:"M11 15C12.1046 15 13 14.1046 13 13C13 11.8954 12.1046 11 11 11C9.89543 11 9 11.8954 9 13C9 14.1046 9.89543 15 11 15Z",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Me=({fill:e="currentColor",width:r="21",height:t="21"})=>M.jsxs("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[M.jsx("path",{d:"M22.392 10.5705C21.693 5.4495 17.313 1.5 12 1.5C6.201 1.5 1.5 6.201 1.5 12C1.5 14.064 2.1045 15.9825 3.132 17.6055L1.5 22.5L6.3945 20.868C7.6395 21.657 9.06 22.188 10.584 22.3965",stroke:e,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsx("path",{d:"M17.625 12.75L18.75 16.5L22.5 17.625L18.75 18.75L17.625 22.5L16.5 18.75L12.75 17.625L16.5 16.5L17.625 12.75Z",fill:e,stroke:e,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]}),_e=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 14 14",fill:"none",children:[M.jsx("path",{d:"M13 1H1",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsx("path",{d:"M7 13V1",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Ae=({fill:e="currentColor",width:r="20",height:t="20"})=>M.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 20 20",fill:"none",children:M.jsx("path",{d:"M11.2502 1C12.769 1 14.0002 2.23122 14.0002 3.75V4.19238C14.7954 4.26939 15.5841 4.3694 16.3655 4.49121C16.7747 4.555 17.0551 4.93847 16.9914 5.34766C16.9276 5.75685 16.5442 6.0373 16.135 5.97363C16.0856 5.96593 16.036 5.95771 15.9865 5.9502L15.1448 16.4697C15.0302 17.8987 13.8371 19 12.4035 19H7.5969C6.16331 19 4.97024 17.8987 4.85569 16.4697L4.01389 5.9502C3.96456 5.9577 3.91473 5.96595 3.86545 5.97363C3.45635 6.03717 3.07279 5.75678 3.00901 5.34766C2.94536 4.93848 3.2258 4.555 3.63499 4.49121C4.41637 4.3694 5.205 4.2694 6.00022 4.19238V3.75C6.00022 2.23122 7.23144 1 8.75022 1H11.2502ZM7.80002 7.00098C7.41217 7.01665 7.10455 7.32382 7.08127 7.70312V7.78027L7.38108 15.2803C7.39779 15.694 7.74659 16.0156 8.16038 15.999C8.57421 15.9824 8.89666 15.6336 8.8801 15.2197L8.57932 7.71973L8.57249 7.64355C8.51897 7.26722 8.18803 6.98546 7.80002 7.00098ZM12.2004 7.00098C11.7866 6.98443 11.4378 7.30599 11.4211 7.71973L11.1213 15.2197C11.1048 15.6335 11.4263 15.9823 11.8401 15.999C12.2538 16.0156 12.6026 15.694 12.6194 15.2803L12.9201 7.78027C12.9367 7.36644 12.6142 7.01761 12.2004 7.00098ZM8.75022 2.5C8.05986 2.5 7.50022 3.05964 7.50022 3.75V4.0752C8.32725 4.02543 9.16083 4 10.0002 4C10.8396 4 11.6732 4.02544 12.5002 4.0752V3.75C12.5002 3.05964 11.9406 2.5 11.2502 2.5H8.75022Z",fill:e})}),Re=({fill:e="currentColor",width:r="16",height:t="16"})=>M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 16 16",fill:"none",children:[M.jsx("path",{d:"M3.75 2C2.7835 2 2 2.7835 2 3.75V5.25C2 5.66421 2.33579 6 2.75 6C3.16421 6 3.5 5.66421 3.5 5.25V3.75C3.5 3.61193 3.61193 3.5 3.75 3.5H5.25C5.66421 3.5 6 3.16421 6 2.75C6 2.33579 5.66421 2 5.25 2H3.75Z",fill:e}),M.jsx("path",{d:"M10.75 2C10.3358 2 10 2.33579 10 2.75C10 3.16421 10.3358 3.5 10.75 3.5H12.25C12.3881 3.5 12.5 3.61193 12.5 3.75V5.25C12.5 5.66421 12.8358 6 13.25 6C13.6642 6 14 5.66421 14 5.25V3.75C14 2.7835 13.2165 2 12.25 2H10.75Z",fill:e}),M.jsx("path",{d:"M3.5 10.75C3.5 10.3358 3.16421 10 2.75 10C2.33579 10 2 10.3358 2 10.75V12.25C2 13.2165 2.7835 14 3.75 14H5.25C5.66421 14 6 13.6642 6 13.25C6 12.8358 5.66421 12.5 5.25 12.5H3.75C3.61193 12.5 3.5 12.3881 3.5 12.25V10.75Z",fill:e}),M.jsx("path",{d:"M14 10.75C14 10.3358 13.6642 10 13.25 10C12.8358 10 12.5 10.3358 12.5 10.75V12.25C12.5 12.3881 12.3881 12.5 12.25 12.5H10.75C10.3358 12.5 10 12.8358 10 13.25C10 13.6642 10.3358 14 10.75 14H12.25C13.2165 14 14 13.2165 14 12.25V10.75Z",fill:e}),M.jsx("path",{d:"M8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z",fill:e})]});var Ie;!function(e){e.BARS_3_BOTTOM_LEFT="bars-3-bottom-left",e.BUILDING="building",e.BULK_CHECK="bulk-check",e.CHECK="check",e.CHECK_CIRCLE="check-circle",e.CHECK_SQUARE="check-square",e.CHEVRON_DOWN="chevron-down",e.CLOSE="close",e.CODE="code",e.COMPUTER="computer",e.COPY="copy",e.CUBE="cube",e.DATABASE="database",e.EXCLAMATION_CIRCLE="exclamation-circle",e.EXCLAMATION_TRIANGLE="exclamation-triangle",e.GEAR="gear",e.GLobe="globe",e.HASHTAG="hashtag",e.HOME="home",e.INBOX="inbox",e.INFORMATION_CIRCLE="information-circle",e.INFORMATION_CIRCLE_MICRO="information-circle-micro",e.LAMP="lamp",e.LOCK_OPEN="lock-open",e.MINUS="minus",e.PAPER_PLANE="paper-plane",e.PENCIL="pencil",e.PIE_CHART="pie-chart",e.PIPELINE="pipeline",e.PLUS="plus",e.PROFILE="profile",e.QUESTION_CIRCLE="question-circle",e.ROCKET_LAUNCH="rocket-launch",e.SEARCH="search",e.SEARCH_DOCUMENT="search-document",e.SEARCH_SQL="search-sql",e.SITEMAP="sitemap",e.TETRASCIENCE_ICON="tetrascience-icon",e.TEXT="text",e.TRASH="trash",e.VIEWFINDER_CIRCLE="viewfinder-circle"}(Ie||(Ie={}));const Ne=e=>{let r=null;const{name:t}=e;switch(t){case Ie.BARS_3_BOTTOM_LEFT:r=M.jsx(Z,{...e});break;case Ie.BUILDING:r=M.jsx(W,{...e});break;case Ie.BULK_CHECK:r=M.jsx(G,{...e});break;case Ie.CHECK:r=M.jsx(K,{...e});break;case Ie.CHECK_CIRCLE:r=M.jsx(F,{...e});break;case Ie.CHECK_SQUARE:r=M.jsx(Y,{...e});break;case Ie.CHEVRON_DOWN:r=M.jsx(X,{...e});break;case Ie.CLOSE:r=M.jsx(q,{...e});break;case Ie.CODE:r=M.jsx(Q,{...e});break;case Ie.COMPUTER:r=M.jsx(J,{...e});break;case Ie.COPY:r=M.jsx(ee,{...e});break;case Ie.CUBE:r=M.jsx(re,{...e});break;case Ie.DATABASE:r=M.jsx(te,{...e});break;case Ie.EXCLAMATION_CIRCLE:r=M.jsx(ie,{...e});break;case Ie.EXCLAMATION_TRIANGLE:r=M.jsx(oe,{...e});break;case Ie.GEAR:r=M.jsx(ne,{...e});break;case Ie.GLobe:r=M.jsx(ae,{...e});break;case Ie.HASHTAG:r=M.jsx(le,{...e});break;case Ie.HOME:r=M.jsx(se,{...e});break;case Ie.INBOX:r=M.jsx(de,{...e});break;case Ie.INFORMATION_CIRCLE:r=M.jsx(ce,{...e});break;case Ie.INFORMATION_CIRCLE_MICRO:r=M.jsx(he,{...e});break;case Ie.LAMP:r=M.jsx(pe,{...e});break;case Ie.LOCK_OPEN:r=M.jsx(xe,{...e});break;case Ie.MINUS:r=M.jsx(ge,{...e});break;case Ie.PAPER_PLANE:r=M.jsx(fe,{...e});break;case Ie.PENCIL:r=M.jsx(ue,{...e});break;case Ie.PIE_CHART:r=M.jsx(me,{...e});break;case Ie.PIPELINE:r=M.jsx(be,{...e});break;case Ie.PLUS:r=M.jsx(Ce,{...e});break;case Ie.PROFILE:r=M.jsx(ve,{...e});break;case Ie.QUESTION_CIRCLE:r=M.jsx(ye,{...e});break;case Ie.ROCKET_LAUNCH:r=M.jsx(we,{...e});break;case Ie.SEARCH:r=M.jsx(je,{...e});break;case Ie.SEARCH_DOCUMENT:r=M.jsx(ke,{...e});break;case Ie.SEARCH_SQL:r=M.jsx(Ee,{...e});break;case Ie.SITEMAP:r=M.jsx(Le,{...e});break;case Ie.TETRASCIENCE_ICON:r=M.jsx(Me,{...e});break;case Ie.TEXT:r=M.jsx(_e,{...e});break;case Ie.TRASH:r=M.jsx(Ae,{...e});break;case Ie.VIEWFINDER_CIRCLE:r=M.jsx(Re,{...e});break;default:throw`[Icon] name "${t}" does not exist`}return M.jsx("div",{style:{display:"inline-flex"},children:r})},Te=s.label`
201
+ ${e=>z[e.$size]}
202
+ `,P=i.div`
203
+ ${e=>z[e.$size]}
204
+ `,S=d(({children:t,title:i,size:o="medium",variant:n="default",className:l,fullWidth:a=!1,...s},d)=>e(T,{ref:d,$size:o,$variant:n,$fullWidth:a,className:l,...s,children:[i&&r($,{$size:o,children:i}),r(P,{$size:o,children:t})]}));S.displayName="Card";const O=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 20 20",fill:"none",children:[r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.75C2 4.33579 2.33579 4 2.75 4H17.25C17.6642 4 18 4.33579 18 4.75C18 5.16421 17.6642 5.5 17.25 5.5H2.75C2.33579 5.5 2 5.16421 2 4.75ZM2 15.25C2 14.8358 2.33579 14.5 2.75 14.5H10.25C10.6642 14.5 11 14.8358 11 15.25C11 15.6642 10.6642 16 10.25 16H2.75C2.33579 16 2 15.6642 2 15.25Z",fill:t}),r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 10C2 9.58579 2.33579 9.25 2.75 9.25H17.25C17.6642 9.25 18 9.58579 18 10C18 10.4142 17.6642 10.75 17.25 10.75H2.75C2.33579 10.75 2 10.4142 2 10Z",fill:t})]}),V=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 16.5V3.5H3.75C3.55109 3.5 3.36032 3.42098 3.21967 3.28033C3.07902 3.13968 3 2.94891 3 2.75C3 2.55109 3.07902 2.36032 3.21967 2.21967C3.36032 2.07902 3.55109 2 3.75 2H16.25C16.4489 2 16.6397 2.07902 16.7803 2.21967C16.921 2.36032 17 2.55109 17 2.75C17 2.94891 16.921 3.13968 16.7803 3.28033C16.6397 3.42098 16.4489 3.5 16.25 3.5H16V16.5H16.25C16.4489 16.5 16.6397 16.579 16.7803 16.7197C16.921 16.8603 17 17.0511 17 17.25C17 17.4489 16.921 17.6397 16.7803 17.7803C16.6397 17.921 16.4489 18 16.25 18H12.75C12.5511 18 12.3603 17.921 12.2197 17.7803C12.079 17.6397 12 17.4489 12 17.25V14.75C12 14.5511 11.921 14.3603 11.7803 14.2197C11.6397 14.079 11.4489 14 11.25 14H8.75C8.55109 14 8.36032 14.079 8.21967 14.2197C8.07902 14.3603 8 14.5511 8 14.75V17.25C8 17.4489 7.92098 17.6397 7.78033 17.7803C7.63968 17.921 7.44891 18 7.25 18H3.75C3.55109 18 3.36032 17.921 3.21967 17.7803C3.07902 17.6397 3 17.4489 3 17.25C3 17.0511 3.07902 16.8603 3.21967 16.7197C3.36032 16.579 3.55109 16.5 3.75 16.5H4ZM7 5.5C7 5.36739 7.05268 5.24021 7.14645 5.14645C7.24021 5.05268 7.36739 5 7.5 5H8.5C8.63261 5 8.75979 5.05268 8.85355 5.14645C8.94732 5.24021 9 5.36739 9 5.5V6.5C9 6.63261 8.94732 6.75979 8.85355 6.85355C8.75979 6.94732 8.63261 7 8.5 7H7.5C7.36739 7 7.24021 6.94732 7.14645 6.85355C7.05268 6.75979 7 6.63261 7 6.5V5.5ZM7.5 9C7.36739 9 7.24021 9.05268 7.14645 9.14645C7.05268 9.24021 7 9.36739 7 9.5V10.5C7 10.6326 7.05268 10.7598 7.14645 10.8536C7.24021 10.9473 7.36739 11 7.5 11H8.5C8.63261 11 8.75979 10.9473 8.85355 10.8536C8.94732 10.7598 9 10.6326 9 10.5V9.5C9 9.36739 8.94732 9.24021 8.85355 9.14645C8.75979 9.05268 8.63261 9 8.5 9H7.5ZM11 5.5C11 5.36739 11.0527 5.24021 11.1464 5.14645C11.2402 5.05268 11.3674 5 11.5 5H12.5C12.6326 5 12.7598 5.05268 12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V6.5C13 6.63261 12.9473 6.75979 12.8536 6.85355C12.7598 6.94732 12.6326 7 12.5 7H11.5C11.3674 7 11.2402 6.94732 11.1464 6.85355C11.0527 6.75979 11 6.63261 11 6.5V5.5ZM11.5 9C11.3674 9 11.2402 9.05268 11.1464 9.14645C11.0527 9.24021 11 9.36739 11 9.5V10.5C11 10.6326 11.0527 10.7598 11.1464 10.8536C11.2402 10.9473 11.3674 11 11.5 11H12.5C12.6326 11 12.7598 10.9473 12.8536 10.8536C12.9473 10.7598 13 10.6326 13 10.5V9.5C13 9.36739 12.9473 9.24021 12.8536 9.14645C12.7598 9.05268 12.6326 9 12.5 9H11.5Z",fill:e})}),D=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 20 20",fill:"none",children:[r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.997 5.25C17.9972 4.69436 17.7917 4.15832 17.4202 3.74512C17.0488 3.33191 16.5375 3.07077 15.985 3.012C15.9262 2.45948 15.6651 1.94825 15.2519 1.57677C14.8387 1.20529 14.3026 0.999846 13.747 1H12.247C11.6914 0.999846 11.1553 1.20529 10.7421 1.57677C10.3289 1.94825 10.0678 2.45948 10.009 3.012C9.134 3.104 8.409 3.698 8.125 4.5H10.997C11.66 4.5 12.2959 4.76339 12.7648 5.23223C13.2336 5.70107 13.497 6.33696 13.497 7V14H15.747C16.3437 14 16.916 13.7629 17.338 13.341C17.7599 12.919 17.997 12.3467 17.997 11.75V5.25ZM12.247 2.5C12.0481 2.5 11.8573 2.57902 11.7167 2.71967C11.576 2.86032 11.497 3.05109 11.497 3.25V3.5H14.497V3.25C14.497 3.05109 14.418 2.86032 14.2773 2.71967C14.1367 2.57902 13.9459 2.5 13.747 2.5H12.247Z",fill:t}),r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 6C2.73478 6 2.48043 6.10536 2.29289 6.29289C2.10536 6.48043 2 6.73478 2 7V17C2 17.2652 2.10536 17.5196 2.29289 17.7071C2.48043 17.8946 2.73478 18 3 18H11C11.2652 18 11.5196 17.8946 11.7071 17.7071C11.8946 17.5196 12 17.2652 12 17V7C12 6.73478 11.8946 6.48043 11.7071 6.29289C11.5196 6.10536 11.2652 6 11 6H3ZM9.874 10.166C9.92992 10.0841 9.96904 9.99189 9.98909 9.89475C10.0091 9.79761 10.0097 9.69746 9.99081 9.6001C9.97189 9.50273 9.93385 9.41009 9.87889 9.32752C9.82392 9.24496 9.75313 9.17412 9.6706 9.1191C9.58807 9.06408 9.49545 9.02598 9.3981 9.007C9.30075 8.98802 9.2006 8.98854 9.10345 9.00852C9.0063 9.02851 8.91407 9.06757 8.83212 9.12344C8.75017 9.1793 8.68011 9.25087 8.626 9.334L6.133 13.073L5.28 12.22C5.13783 12.0875 4.94978 12.0154 4.75548 12.0188C4.56118 12.0223 4.37579 12.101 4.23838 12.2384C4.10097 12.3758 4.02225 12.5612 4.01883 12.7555C4.0154 12.9498 4.08752 13.1378 4.22 13.28L5.72 14.78C5.79844 14.8584 5.8933 14.9184 5.99773 14.9558C6.10217 14.9931 6.21359 15.0068 6.32396 14.9959C6.43434 14.985 6.54092 14.9498 6.63603 14.8927C6.73114 14.8357 6.81242 14.7582 6.874 14.666L9.874 10.166Z",fill:t})]}),U=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.7045 4.15347C17.034 4.4045 17.0976 4.87509 16.8466 5.20457L8.84657 15.7046C8.71541 15.8767 8.51627 15.9838 8.30033 15.9983C8.08439 16.0129 7.87271 15.9334 7.71967 15.7804L3.21967 11.2804C2.92678 10.9875 2.92678 10.5126 3.21967 10.2197C3.51256 9.92682 3.98744 9.92682 4.28033 10.2197L8.17351 14.1129L15.6534 4.29551C15.9045 3.96603 16.3751 3.90243 16.7045 4.15347Z",fill:e})}),Z=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM13.8566 8.19113C14.1002 7.85614 14.0261 7.38708 13.6911 7.14345C13.3561 6.89982 12.8871 6.97388 12.6434 7.30887L9.15969 12.099L7.28033 10.2197C6.98744 9.92678 6.51256 9.92678 6.21967 10.2197C5.92678 10.5126 5.92678 10.9874 6.21967 11.2803L8.71967 13.7803C8.87477 13.9354 9.08999 14.0149 9.30867 13.9977C9.52734 13.9805 9.72754 13.8685 9.85655 13.6911L13.8566 8.19113Z",fill:e})}),G=({fill:t="currentColor",width:i="16",height:o="16"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 16 16",fill:"none",children:[r("path",{d:"M11.2016 1.59961H4.80156C3.03676 1.59961 1.60156 3.03481 1.60156 4.79961V11.1996C1.60156 12.9644 3.03676 14.3996 4.80156 14.3996H11.2016C12.9664 14.3996 14.4016 12.9644 14.4016 11.1996V4.79961C14.4016 3.03481 12.9664 1.59961 11.2016 1.59961Z",fill:t}),r("path",{d:"M7.63305 10.8968L11.4331 6.09685C11.7075 5.75045 11.6491 5.24725 11.3027 4.97285C10.9555 4.69925 10.4531 4.75845 10.1787 5.10405L6.96665 9.16085L5.80025 7.86485C5.50425 7.53685 4.99945 7.50965 4.67065 7.80565C4.34265 8.10085 4.31625 8.60645 4.61145 8.93525L6.41145 10.9352C6.56265 11.104 6.77945 11.2 7.00585 11.2H7.03065C7.26665 11.1928 7.48665 11.0816 7.63305 10.8968Z",fill:"white"})]}),W=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{width:t,height:i,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.21967 8.21967C5.51256 7.92678 5.98744 7.92678 6.28033 8.21967L10 11.9393L13.7197 8.21967C14.0126 7.92678 14.4874 7.92678 14.7803 8.21967C15.0732 8.51256 15.0732 8.98744 14.7803 9.28033L10.5303 13.5303C10.3897 13.671 10.1989 13.75 10 13.75C9.80109 13.75 9.61032 13.671 9.46967 13.5303L5.21967 9.28033C4.92678 8.98744 4.92678 8.51256 5.21967 8.21967Z",fill:e})}),j=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{d:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),K=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 2C3.65326 2 3.08097 2.23705 2.65901 2.65901C2.23705 3.08097 2 3.65326 2 4.25V15.75C2 16.3467 2.23705 16.919 2.65901 17.341C3.08097 17.7629 3.65326 18 4.25 18H15.75C16.3467 18 16.919 17.7629 17.341 17.341C17.7629 16.919 18 16.3467 18 15.75V4.25C18 3.65326 17.7629 3.08097 17.341 2.65901C16.919 2.23705 16.3467 2 15.75 2H4.25ZM8.28 8.28C8.41248 8.13783 8.4846 7.94978 8.48118 7.75548C8.47775 7.56118 8.39903 7.37579 8.26162 7.23838C8.12421 7.10097 7.93882 7.02225 7.74452 7.01883C7.55022 7.0154 7.36217 7.08752 7.22 7.22L4.97 9.47C4.82955 9.61063 4.75066 9.80125 4.75066 10C4.75066 10.1988 4.82955 10.3894 4.97 10.53L7.22 12.78C7.36217 12.9125 7.55022 12.9846 7.74452 12.9812C7.93882 12.9777 8.12421 12.899 8.26162 12.7616C8.39903 12.6242 8.47775 12.4388 8.48118 12.2445C8.4846 12.0502 8.41248 11.8622 8.28 11.72L6.56 10L8.28 8.28ZM12.78 7.22C12.7113 7.14631 12.6285 7.08721 12.5365 7.04622C12.4445 7.00523 12.3452 6.98319 12.2445 6.98141C12.1438 6.97963 12.0438 6.99816 11.9504 7.03588C11.857 7.0736 11.7722 7.12974 11.701 7.20096C11.6297 7.27218 11.5736 7.35701 11.5359 7.4504C11.4982 7.54379 11.4796 7.64382 11.4814 7.74452C11.4832 7.84523 11.5052 7.94454 11.5462 8.03654C11.5872 8.12854 11.6463 8.21134 11.72 8.28L13.44 10L11.72 11.72C11.6463 11.7887 11.5872 11.8715 11.5462 11.9635C11.5052 12.0555 11.4832 12.1548 11.4814 12.2555C11.4796 12.3562 11.4982 12.4562 11.5359 12.5496C11.5736 12.643 11.6297 12.7278 11.701 12.799C11.7722 12.8703 11.857 12.9264 11.9504 12.9641C12.0438 13.0018 12.1438 13.0204 12.2445 13.0186C12.3452 13.0168 12.4445 12.9948 12.5365 12.9538C12.6285 12.9128 12.7113 12.8537 12.78 12.78L15.03 10.53C15.1705 10.3894 15.2493 10.1988 15.2493 10C15.2493 9.80125 15.1705 9.61063 15.03 9.47L12.78 7.22Z",fill:e})}),Y=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.25C2 3.65326 2.23705 3.08097 2.65901 2.65901C3.08097 2.23705 3.65326 2 4.25 2H15.75C16.3467 2 16.919 2.23705 17.341 2.65901C17.7629 3.08097 18 3.65326 18 4.25V12.75C18 13.3467 17.7629 13.919 17.341 14.341C16.919 14.7629 16.3467 15 15.75 15H12.645C12.8403 15.6543 13.2226 16.2372 13.745 16.677C13.8625 16.7762 13.9467 16.9092 13.9861 17.0579C14.0255 17.2065 14.0182 17.3637 13.9653 17.5081C13.9123 17.6526 13.8163 17.7772 13.6901 17.8652C13.564 17.9532 13.4138 18.0002 13.26 18H6.74C6.58628 18 6.43627 17.9528 6.31027 17.8647C6.18427 17.7767 6.08838 17.652 6.03557 17.5077C5.98275 17.3633 5.97557 17.2062 6.015 17.0576C6.05443 16.9091 6.13856 16.7762 6.256 16.677C6.77799 16.2371 7.15999 15.6542 7.355 15H4.25C3.65326 15 3.08097 14.7629 2.65901 14.341C2.23705 13.919 2 13.3467 2 12.75V4.25ZM3.5 4.25C3.5 4.05109 3.57902 3.86032 3.71967 3.71967C3.86032 3.57902 4.05109 3.5 4.25 3.5H15.75C15.9489 3.5 16.1397 3.57902 16.2803 3.71967C16.421 3.86032 16.5 4.05109 16.5 4.25V11.75C16.5 11.9489 16.421 12.1397 16.2803 12.2803C16.1397 12.421 15.9489 12.5 15.75 12.5H4.25C4.05109 12.5 3.86032 12.421 3.71967 12.2803C3.57902 12.1397 3.5 11.9489 3.5 11.75V4.25Z",fill:e})}),F=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 20 20",fill:"none",children:[r("path",{d:"M2 4.25C2 3.00736 3.00736 2 4.25 2H10.75C11.9926 2 13 3.00736 13 4.25V5.5H9.25C7.17893 5.5 5.5 7.17893 5.5 9.25V13H4.25C3.00736 13 2 11.9926 2 10.75V4.25Z",fill:t}),r("path",{d:"M9.25 7C8.00736 7 7 8.00736 7 9.25V15.75C7 16.9926 8.00736 18 9.25 18H15.75C16.9926 18 18 16.9926 18 15.75V9.25C18 8.00736 16.9926 7 15.75 7H9.25Z",fill:t})]}),X=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{d:"M10.362 1.093C10.2511 1.0319 10.1266 0.999851 10 0.999851C9.87341 0.999851 9.74887 1.0319 9.638 1.093L2.523 5.018L10 9.143L17.477 5.018L10.362 1.093ZM18 6.443L10.75 10.443V18.693L17.612 14.907C17.7295 14.8422 17.8275 14.7471 17.8958 14.6315C17.964 14.516 18 14.3842 18 14.25V6.443ZM9.25 18.693V10.443L2 6.443V14.25C1.99997 14.3842 2.03596 14.516 2.10421 14.6315C2.17245 14.7471 2.27046 14.8422 2.388 14.907L9.25 18.693Z",fill:e})}),q=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1C13.866 1 17 2.79 17 5C17 7.21 13.866 9 10 9C6.134 9 3 7.21 3 5C3 2.79 6.134 1 10 1ZM15.694 9.13C16.158 8.866 16.604 8.547 17 8.178V10C17 12.21 13.866 14 10 14C6.134 14 3 12.21 3 10V8.178C3.396 8.548 3.842 8.866 4.306 9.131C5.838 10.006 7.854 10.5 10 10.5C12.146 10.5 14.162 10.006 15.694 9.13ZM3 13.179V15C3 17.21 6.134 19 10 19C13.866 19 17 17.21 17 15V13.178C16.604 13.548 16.158 13.866 15.694 14.131C14.162 15.006 12.146 15.5 10 15.5C7.854 15.5 5.838 15.006 4.306 14.13C3.83547 13.8644 3.39722 13.5453 3 13.179Z",fill:e})}),Q=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM10 5C10.4142 5 10.75 5.33579 10.75 5.75V10.25C10.75 10.6642 10.4142 11 10 11C9.58579 11 9.25 10.6642 9.25 10.25V5.75C9.25 5.33579 9.58579 5 10 5ZM10 15C10.5523 15 11 14.5523 11 14C11 13.4477 10.5523 13 10 13C9.44771 13 9 13.4477 9 14C9 14.5523 9.44771 15 10 15Z",fill:e})}),J=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4845 2.49499C9.15808 1.32833 10.842 1.32833 11.5156 2.495L17.7943 13.37C18.4678 14.5367 17.6259 15.995 16.2787 15.995H3.72136C2.37421 15.995 1.53224 14.5367 2.20582 13.37L8.4845 2.49499ZM10 5C10.4142 5 10.75 5.33579 10.75 5.75V9.25C10.75 9.66421 10.4142 10 10 10C9.58579 10 9.25 9.66421 9.25 9.25L9.25 5.75C9.25 5.33579 9.58579 5 10 5ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14Z",fill:e})}),ee=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.84288 1.804C7.88817 1.57739 8.01055 1.37346 8.18921 1.22689C8.36787 1.08031 8.59178 1.00014 8.82288 1H11.1829C11.414 1.00014 11.6379 1.08031 11.8165 1.22689C11.9952 1.37346 12.1176 1.57739 12.1629 1.804L12.4939 3.456C13.1923 3.72219 13.8436 4.09863 14.4229 4.571L16.0209 4.031C16.2398 3.95702 16.4775 3.96112 16.6937 4.04261C16.9099 4.1241 17.0913 4.27795 17.2069 4.478L18.3869 6.522C18.5025 6.72209 18.5453 6.95607 18.5079 7.18413C18.4706 7.4122 18.3553 7.62029 18.1819 7.773L16.9149 8.886C17.033 9.62397 17.033 10.376 16.9149 11.114L18.1819 12.227C18.3553 12.3795 18.4705 12.5874 18.5081 12.8152C18.5456 13.0431 18.5031 13.2769 18.3879 13.477L17.2079 15.522C17.0922 15.7223 16.9107 15.8763 16.6943 15.9578C16.4779 16.0393 16.2399 16.0432 16.0209 15.969L14.4229 15.429C13.8436 15.9014 13.1923 16.2778 12.4939 16.544L12.1639 18.196C12.1186 18.4226 11.9962 18.6265 11.8175 18.7731C11.6389 18.9197 11.415 18.9999 11.1839 19H8.82288C8.59178 18.9999 8.36787 18.9197 8.18921 18.7731C8.01055 18.6265 7.88817 18.4226 7.84288 18.196L7.51188 16.544C6.81342 16.2778 6.16215 15.9014 5.58288 15.429L3.98488 15.969C3.76598 16.043 3.52823 16.0389 3.31202 15.9574C3.09581 15.8759 2.91449 15.7221 2.79888 15.522L1.61888 13.478C1.50322 13.2779 1.46045 13.0439 1.49782 12.8159C1.53519 12.5878 1.65041 12.3797 1.82388 12.227L3.09088 11.113C2.97289 10.3754 2.97289 9.62364 3.09088 8.886L1.82388 7.773C1.65049 7.62047 1.53524 7.41264 1.49769 7.18478C1.46014 6.95693 1.5026 6.7231 1.61788 6.523L2.79788 4.478C2.91352 4.27773 3.09501 4.12373 3.31144 4.04223C3.52787 3.96073 3.76585 3.95676 3.98488 4.031L5.58288 4.571C6.16245 4.09852 6.81406 3.72207 7.51288 3.456L7.84288 1.804ZM10.0029 13C10.7985 13 11.5616 12.6839 12.1242 12.1213C12.6868 11.5587 13.0029 10.7956 13.0029 10C13.0029 9.20435 12.6868 8.44129 12.1242 7.87868C11.5616 7.31607 10.7985 7 10.0029 7C9.20723 7 8.44416 7.31607 7.88156 7.87868C7.31895 8.44129 7.00288 9.20435 7.00288 10C7.00288 10.7956 7.31895 11.5587 7.88156 12.1213C8.44416 12.6839 9.20723 13 10.0029 13Z",fill:e})}),re=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM16.4969 10.2041C16.389 13.6995 13.5216 16.5 10 16.5C6.41015 16.5 3.5 13.5899 3.5 10C3.5 7.12656 5.36451 4.68861 7.94969 3.82998L6.92671 5.62019C6.60171 6.18894 6.69759 6.90485 7.16078 7.36805C7.6029 7.81017 8.27833 7.91977 8.83757 7.64015L9.0123 7.55279C9.08173 7.51807 9.15829 7.5 9.23591 7.5H9.38181C9.5712 7.5 9.74433 7.607 9.82902 7.77639C9.8994 7.91716 9.8994 8.08284 9.82902 8.22361L9.80123 8.27919C9.73357 8.41452 9.59525 8.5 9.44395 8.5H8.9418C8.18614 8.5 7.48048 8.87766 7.06131 9.50641L7.01751 9.57212C6.65828 10.111 6.56795 10.7855 6.77274 11.3998C6.98201 12.0276 7.47787 12.5197 8.10338 12.7282C8.33997 12.8071 8.49984 13.0292 8.49984 13.2749V14.3246C8.49984 14.9738 9.02608 15.5 9.67523 15.5C10.0323 15.5 10.37 15.3377 10.5931 15.0589L12.2044 13.0446C12.3957 12.8056 12.4998 12.5086 12.4998 12.2025C12.4998 11.8866 12.6279 11.5791 12.8531 11.3539C13.3088 10.8982 13.3864 10.1784 13.0257 9.63738L12.5617 8.94145C12.5214 8.88091 12.4998 8.80979 12.4998 8.73703C12.4998 8.43336 12.8465 8.26002 13.0895 8.44222L13.4322 8.69925C13.748 8.93609 14.1704 8.97373 14.523 8.79746C14.7488 8.68456 15.0216 8.72887 15.1996 8.90689L16.4969 10.2041Z",fill:e})}),te=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{d:"M13.3516 2.00712C13.7619 2.06371 14.0488 2.44249 13.9922 2.85282L13.5576 6.00028H16.6973C17.1115 6.00028 17.4473 6.33607 17.4473 6.75028C17.4473 7.16448 17.1115 7.50028 16.6973 7.50028H13.3516L12.6611 12.5003H15.8008C16.215 12.5003 16.5508 12.8361 16.5508 13.2503C16.5508 13.6645 16.215 14.0003 15.8008 14.0003H12.4551L11.9922 17.3528C11.9356 17.7631 11.5568 18.05 11.1465 17.9934C10.7362 17.9368 10.4493 17.558 10.5059 17.1477L10.9404 14.0003H7.95508L7.49219 17.3528C7.43556 17.7631 7.05679 18.05 6.64648 17.9934C6.23622 17.9368 5.94927 17.558 6.00586 17.1477L6.44043 14.0003H3.30078C2.88658 14.0003 2.5508 13.6645 2.55078 13.2503C2.55078 12.8361 2.88657 12.5003 3.30078 12.5003H6.64648L7.33691 7.50028H4.19727C3.78309 7.50024 3.44728 7.16446 3.44727 6.75028C3.44727 6.33609 3.78308 6.00032 4.19727 6.00028H7.54297L8.00586 2.64774C8.06245 2.23743 8.44125 1.95055 8.85156 2.00712C9.26189 2.06371 9.54878 2.44249 9.49219 2.85282L9.05762 6.00028H12.043L12.5059 2.64774C12.5625 2.23743 12.9413 1.95055 13.3516 2.00712ZM8.85156 7.50028L8.16113 12.5003H11.1465L11.8369 7.50028H8.85156Z",fill:e})}),ie=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29292 2.29289C9.68345 1.90237 10.3166 1.90237 10.7071 2.29289L17.7071 9.29289C17.9931 9.57889 18.0787 10.009 17.9239 10.3827C17.7691 10.7564 17.4045 11 17 11H16V17C16 17.5523 15.5523 18 15 18H13C12.4477 18 12 17.5523 12 17V14C12 13.4477 11.5523 13 11 13H9.00003C8.44774 13 8.00003 13.4477 8.00003 14V17C8.00003 17.5523 7.55231 18 7.00003 18H5.00003C4.44774 18 4.00003 17.5523 4.00003 17V11H3.00003C2.59557 11 2.23093 10.7564 2.07615 10.3827C1.92137 10.009 2.00692 9.57889 2.29292 9.29289L9.29292 2.29289Z",fill:e})}),oe=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 40 40",fill:"none",children:r("path",{d:"M3.75 22.5H10.1824C11.6028 22.5 12.9013 23.3025 13.5365 24.5729L13.9635 25.4271C14.5987 26.6975 15.8972 27.5 17.3176 27.5H22.6824C24.1028 27.5 25.4013 26.6975 26.0365 25.4271L26.4635 24.5729C27.0987 23.3025 28.3972 22.5 29.8176 22.5H36.25M3.75 23.0639V30C3.75 32.0711 5.42893 33.75 7.5 33.75H32.5C34.5711 33.75 36.25 32.0711 36.25 30V23.0639C36.25 22.6901 36.1941 22.3183 36.0842 21.9611L32.0645 8.89718C31.5804 7.32371 30.1266 6.25 28.4803 6.25H11.5197C9.87339 6.25 8.41963 7.32371 7.93548 8.89718L3.91583 21.9611C3.80589 22.3183 3.75 22.6901 3.75 23.0639Z",stroke:e,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})}),ne=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{d:"M10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2ZM9 9C8.58579 9 8.25 9.33579 8.25 9.75C8.25 10.1642 8.58579 10.5 9 10.5H9.25293C9.41287 10.5 9.53176 10.6486 9.49707 10.8047L9.03809 12.8701C8.79522 13.963 9.62751 15 10.7471 15H11C11.4142 15 11.75 14.6642 11.75 14.25C11.75 13.8358 11.4142 13.5 11 13.5H10.7471C10.5871 13.5 10.4682 13.3514 10.5029 13.1953L10.9619 11.1299C11.2048 10.037 10.3725 9 9.25293 9H9ZM10 5C9.44771 5 9 5.44772 9 6C9 6.55228 9.44771 7 10 7C10.5523 7 11 6.55228 11 6C11 5.44772 10.5523 5 10 5Z",fill:e})}),le=({fill:e="currentColor",width:t="16",height:i="16"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 16 16",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM9 5C9 5.55228 8.55228 6 8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5ZM6.75 8C6.33579 8 6 8.33579 6 8.75C6 9.16421 6.33579 9.5 6.75 9.5H7.5V11.25C7.5 11.6642 7.83579 12 8.25 12C8.66421 12 9 11.6642 9 11.25V8.75C9 8.33579 8.66421 8 8.25 8H6.75Z",fill:e})}),ae=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{d:"M10.0001 1C8.76409 0.99999 7.55829 1.38167 6.54746 2.09287C5.53662 2.80407 4.77008 3.81008 4.35262 4.9734C3.93516 6.13672 3.88714 7.40058 4.21512 8.59222C4.54311 9.78387 5.2311 10.8451 6.18505 11.631C7.23705 12.5 8.00005 13.443 8.00005 14.456V15.1C7.99995 15.268 8.05628 15.4312 8.16 15.5634C8.26372 15.6956 8.40883 15.7891 8.57205 15.829C9.51025 16.0582 10.4899 16.0582 11.4281 15.829C11.5913 15.7891 11.7364 15.6956 11.8401 15.5634C11.9438 15.4312 12.0001 15.268 12.0001 15.1V14.456C12.0001 13.443 12.7621 12.499 13.8151 11.631C14.769 10.8451 15.457 9.78387 15.785 8.59222C16.113 7.40058 16.0649 6.13672 15.6475 4.9734C15.23 3.81008 14.4635 2.80407 13.4526 2.09287C12.4418 1.38167 11.236 0.99999 10.0001 1ZM8.86305 17.414C8.76568 17.3992 8.66633 17.4036 8.57069 17.4272C8.47505 17.4508 8.38498 17.4929 8.30563 17.5513C8.14538 17.6691 8.03852 17.8458 8.00855 18.0425C7.97858 18.2392 8.02796 18.4397 8.14583 18.5999C8.2637 18.7602 8.44039 18.867 8.63705 18.897C9.54052 19.0344 10.4596 19.0344 11.3631 18.897C11.5597 18.867 11.7364 18.7602 11.8543 18.5999C11.9721 18.4397 12.0215 18.2392 11.9916 18.0425C11.9616 17.8458 11.8547 17.6691 11.6945 17.5513C11.5342 17.4334 11.3337 17.384 11.1371 17.414C10.3834 17.5288 9.61671 17.5288 8.86305 17.414Z",fill:e})}),se=({fill:e="currentColor",width:t="16",height:i="16"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 16 16",fill:"none",children:r("path",{d:"M11.5 1C9.567 1 8 2.567 8 4.5V7H2.5C1.67157 7 1 7.67157 1 8.5V13.5C1 14.3284 1.67157 15 2.5 15H9.5C10.3284 15 11 14.3284 11 13.5V8.5C11 7.67157 10.3284 7 9.5 7V4.5C9.5 3.39543 10.3954 2.5 11.5 2.5C12.6046 2.5 13.5 3.39543 13.5 4.5V6.25C13.5 6.66421 13.8358 7 14.25 7C14.6642 7 15 6.66421 15 6.25V4.5C15 2.567 13.433 1 11.5 1Z",fill:e})}),de=({fill:e="currentColor",width:t="16",height:i="16"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 16 16",fill:"none",children:r("path",{d:"M3.75 7.25C3.33579 7.25 3 7.58579 3 8C3 8.41421 3.33579 8.75 3.75 8.75L12.25 8.75C12.6642 8.75 13 8.41421 13 8C13 7.58579 12.6642 7.25 12.25 7.25H3.75Z",fill:e})}),ce=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{width:t,height:i,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r("path",{d:"M3.10526 2.28868C2.85362 2.25302 2.60104 2.34722 2.43421 2.53895C2.26738 2.73068 2.209 2.99386 2.27911 3.23815L3.69276 8.16402C3.87733 8.80713 4.4655 9.25024 5.13456 9.25024H11.25C11.6642 9.25024 12 9.58603 12 10.0002C12 10.4145 11.6642 10.7502 11.25 10.7502H5.13457C4.4655 10.7502 3.87733 11.1934 3.69277 11.8365L2.27911 16.7624C2.209 17.0067 2.26738 17.2698 2.43421 17.4616C2.60104 17.6533 2.85362 17.7475 3.10526 17.7118C8.94303 16.8844 14.221 14.319 18.3983 10.5576C18.5563 10.4154 18.6465 10.2128 18.6465 10.0003C18.6465 9.7877 18.5563 9.58513 18.3983 9.4429C14.221 5.68154 8.94303 3.1161 3.10526 2.28868Z",fill:e})}),he=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{d:"M2.69533 14.7623L1.43355 17.9168C1.27028 18.3249 1.67532 18.73 2.08348 18.5667L5.23795 17.3049C5.74091 17.1037 6.19777 16.8025 6.58081 16.4194L17.5 5.50072C18.3284 4.67229 18.3284 3.32914 17.5 2.50072C16.6716 1.67229 15.3284 1.67229 14.5 2.50071L3.58081 13.4194C3.19777 13.8025 2.89652 14.2593 2.69533 14.7623Z",fill:e})}),pe=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 20 20",fill:"none",children:[r("path",{d:"M12 8.99908C11.7348 8.99908 11.4804 8.89372 11.2929 8.70618C11.1054 8.51865 11 8.26429 11 7.99908V2.99908C11 2.44708 11.45 1.99208 11.997 2.06908C13.4939 2.28487 14.8808 2.97941 15.9502 4.04884C17.0197 5.11828 17.7142 6.50515 17.93 8.00208C18.008 8.54908 17.552 8.99908 17 8.99908H12Z",fill:t}),r("path",{d:"M8.003 4.07083C8.55 3.99483 9 4.44982 9 5.00082V10.0008C9 10.266 9.10536 10.5204 9.29289 10.7079C9.48043 10.8955 9.73478 11.0008 10 11.0008H15C15.552 11.0008 16.008 11.4508 15.93 11.9978C15.6769 13.7491 14.77 15.3396 13.3918 16.4494C12.0135 17.5591 10.2662 18.1058 8.5012 17.9795C6.73622 17.8532 5.08455 17.0632 3.87841 15.7685C2.67226 14.4737 2.00113 12.7703 2 11.0008C2.00009 9.31693 2.60701 7.68946 3.70953 6.41668C4.81205 5.1439 6.33633 4.31107 8.003 4.07083Z",fill:t})]}),ge=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.157 2.17646C7.78976 2.02451 7.37724 2.02451 7.01 2.17646L2.926 3.86646C2.65219 3.97987 2.41812 4.17185 2.25331 4.41817C2.08851 4.66448 2.00036 4.9541 2 5.25046V16.1275C1.99997 16.3742 2.06079 16.617 2.17705 16.8346C2.29332 17.0522 2.46146 17.2377 2.66656 17.3748C2.87167 17.5118 3.10741 17.5962 3.35291 17.6204C3.59841 17.6446 3.84609 17.6079 4.074 17.5135L7.584 16.0615L11.844 17.8235C12.2109 17.9751 12.6231 17.9751 12.99 17.8235L17.073 16.1335C17.3468 16.0203 17.581 15.8285 17.746 15.5824C17.911 15.3363 17.9994 15.0468 18 14.7505V3.87246C18 3.6259 17.9391 3.38315 17.8229 3.1657C17.7067 2.94824 17.5387 2.76278 17.3337 2.62574C17.1287 2.4887 16.8932 2.4043 16.6478 2.38001C16.4024 2.35571 16.1549 2.39228 15.927 2.48646L12.417 3.93846L8.157 2.17646ZM7.58 5.00046C7.77891 5.00046 7.96968 5.07948 8.11033 5.22013C8.25098 5.36079 8.33 5.55155 8.33 5.75046V12.2505C8.33 12.4494 8.25098 12.6401 8.11033 12.7808C7.96968 12.9214 7.77891 13.0005 7.58 13.0005C7.38109 13.0005 7.19032 12.9214 7.04967 12.7808C6.90902 12.6401 6.83 12.4494 6.83 12.2505V5.75046C6.83 5.55155 6.90902 5.36079 7.04967 5.22013C7.19032 5.07948 7.38109 5.00046 7.58 5.00046ZM13.17 7.75046C13.17 7.55155 13.091 7.36079 12.9503 7.22013C12.8097 7.07948 12.6189 7.00046 12.42 7.00046C12.2211 7.00046 12.0303 7.07948 11.8897 7.22013C11.749 7.36079 11.67 7.55155 11.67 7.75046V14.2505C11.67 14.4494 11.749 14.6401 11.8897 14.7808C12.0303 14.9214 12.2211 15.0005 12.42 15.0005C12.6189 15.0005 12.8097 14.9214 12.9503 14.7808C13.091 14.6401 13.17 14.4494 13.17 14.2505V7.75046Z",fill:e})}),fe=({fill:e="currentColor",width:t="16",height:i="16"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 16 16",fill:"none",children:r("path",{d:"M8.75 3.75C8.75 3.33579 8.41421 3 8 3C7.58579 3 7.25 3.33579 7.25 3.75V7.25H3.75C3.33579 7.25 3 7.58579 3 8C3 8.41421 3.33579 8.75 3.75 8.75L7.25 8.75V12.25C7.25 12.6642 7.58579 13 8 13C8.41421 13 8.75 12.6642 8.75 12.25V8.75L12.25 8.75C12.6642 8.75 13 8.41421 13 8C13 7.58579 12.6642 7.25 12.25 7.25H8.75V3.75Z",fill:e})}),ue=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{d:"M10.0036 8C10.7993 8 11.5623 7.68393 12.1249 7.12132C12.6875 6.55871 13.0036 5.79565 13.0036 5C13.0036 4.20435 12.6875 3.44129 12.1249 2.87868C11.5623 2.31607 10.7993 2 10.0036 2C9.20797 2 8.44491 2.31607 7.8823 2.87868C7.31969 3.44129 7.00362 4.20435 7.00362 5C7.00362 5.79565 7.31969 6.55871 7.8823 7.12132C8.44491 7.68393 9.20797 8 10.0036 8ZM3.46862 14.493C3.37578 14.7411 3.36554 15.0126 3.43941 15.267C3.51329 15.5214 3.66733 15.7452 3.87862 15.905C5.62995 17.266 7.7856 18.0034 10.0036 18C12.3136 18 14.4416 17.216 16.1346 15.9C16.5646 15.567 16.7386 14.997 16.5426 14.49C16.0349 13.168 15.1382 12.0311 13.9709 11.2292C12.8037 10.4274 11.4207 9.99829 10.0046 9.99861C8.58845 9.99894 7.20569 10.4287 6.03881 11.231C4.87193 12.0334 3.97578 13.1708 3.46862 14.493Z",fill:e})}),Ce=({fill:e="currentColor",width:t="16",height:i="16"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 16 16",fill:"none",children:r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5ZM7.29303 5.29289C7.68355 4.90237 8.31671 4.90237 8.70724 5.29289C9.09776 5.68342 9.09776 6.31658 8.70724 6.70711C8.58354 6.83081 8.43743 6.91429 8.2827 6.95959C7.82404 7.09387 7.25013 7.52576 7.25013 8.25V8.50022C7.25013 8.91444 7.58592 9.25022 8.00013 9.25022C8.41435 9.25022 8.75013 8.91444 8.75013 8.50022V8.38522C9.12313 8.26818 9.47391 8.06176 9.7679 7.76777C10.7442 6.79146 10.7442 5.20854 9.7679 4.23223C8.79159 3.25592 7.20868 3.25592 6.23237 4.23223C5.93947 4.52513 5.93947 5 6.23237 5.29289C6.52526 5.58579 7.00013 5.58579 7.29303 5.29289Z",fill:e})}),xe=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 20 20",fill:"none",children:[r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.60597 12.9691C4.85946 13.2967 4.79938 13.7678 4.47179 14.0213C3.87925 14.4798 3.5 15.1954 3.5 16C3.5 16.1569 3.51437 16.31 3.54177 16.4582C3.68996 16.4856 3.84307 16.5 4 16.5C4.80458 16.5 5.52023 16.1208 5.97873 15.5282C6.23222 15.2006 6.70328 15.1405 7.03087 15.394C7.35846 15.6475 7.41854 16.1186 7.16505 16.4462C6.4347 17.39 5.2884 18 4 18C3.54003 18 3.09667 17.9221 2.6834 17.778C2.46722 17.7027 2.29728 17.5328 2.22195 17.3166C2.07794 16.9033 2 16.46 2 16C2 14.7116 2.60997 13.5653 3.55383 12.835C3.88142 12.5815 4.35248 12.6415 4.60597 12.9691Z",fill:t}),r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75236 12C6.40714 12.8376 7.16237 13.5929 8 14.2476V18.25C8 18.6642 8.33579 19 8.75 19C11.5114 19 13.75 16.7614 13.75 14C13.75 13.5097 13.6792 13.035 13.5471 12.5861C16.8467 10.2297 19 6.36651 19 2C19 1.91234 18.9991 1.82486 18.9974 1.73759C18.9894 1.33502 18.665 1.01058 18.2624 1.0026C18.1751 1.00087 18.0877 1 18 1C13.6335 1 9.77032 3.15331 7.41387 6.45291C6.96496 6.32078 6.49028 6.25 6 6.25C3.23858 6.25 1 8.48858 1 11.25C1 11.6642 1.33579 12 1.75 12H5.75236ZM13 9C14.1046 9 15 8.10457 15 7C15 5.89543 14.1046 5 13 5C11.8954 5 11 5.89543 11 7C11 8.10457 11.8954 9 13 9Z",fill:t})]}),me=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{width:i,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r("path",{d:"M9 16C12.866 16 16 12.866 16 9C16 5.13401 12.866 2 9 2C5.13401 2 2 5.13401 2 9C2 12.866 5.13401 16 9 16Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M18 18L14 14",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),be=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 20 20",fill:"none",children:[r("path",{d:"M8 10C8 9.60218 8.15804 9.22064 8.43934 8.93934C8.72064 8.65804 9.10218 8.5 9.5 8.5C9.89782 8.5 10.2794 8.65804 10.5607 8.93934C10.842 9.22064 11 9.60218 11 10C11 10.3978 10.842 10.7794 10.5607 11.0607C10.2794 11.342 9.89782 11.5 9.5 11.5C9.10218 11.5 8.72064 11.342 8.43934 11.0607C8.15804 10.7794 8 10.3978 8 10Z",fill:t}),r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2C4.10218 2 3.72064 2.15804 3.43934 2.43934C3.15804 2.72065 3 3.10218 3 3.5V16.5C3 16.8978 3.15804 17.2794 3.43934 17.5607C3.72064 17.842 4.10218 18 4.5 18H15.5C15.8978 18 16.2794 17.842 16.5607 17.5607C16.842 17.2794 17 16.8978 17 16.5V7.621C16.9997 7.22331 16.8414 6.84204 16.56 6.561L12.44 2.439C12.3005 2.29961 12.1349 2.1891 11.9527 2.11377C11.7705 2.03844 11.5752 1.99978 11.378 2H4.5ZM9.5 7C9.03881 7.00024 8.58388 7.10681 8.17056 7.31143C7.75725 7.51605 7.39667 7.8132 7.11685 8.17981C6.83703 8.54641 6.64551 8.9726 6.55715 9.42525C6.46879 9.8779 6.48598 10.3448 6.60739 10.7897C6.7288 11.2347 6.95116 11.6456 7.25718 11.9906C7.5632 12.3357 7.94466 12.6055 8.3719 12.7792C8.79915 12.9528 9.26068 13.0257 9.72064 12.992C10.1806 12.9583 10.6266 12.819 11.024 12.585L12.22 13.78C12.2887 13.8537 12.3715 13.9128 12.4635 13.9538C12.5555 13.9948 12.6548 14.0168 12.7555 14.0186C12.8562 14.0204 12.9562 14.0018 13.0496 13.9641C13.143 13.9264 13.2278 13.8703 13.299 13.799C13.3703 13.7278 13.4264 13.643 13.4641 13.5496C13.5018 13.4562 13.5204 13.3562 13.5186 13.2555C13.5168 13.1548 13.4948 13.0555 13.4538 12.9635C13.4128 12.8715 13.3537 12.7887 13.28 12.72L12.085 11.524C12.3538 11.0683 12.4972 10.5496 12.5009 10.0206C12.5045 9.49158 12.3682 8.97099 12.1057 8.51165C11.8432 8.0523 11.464 7.67053 11.0063 7.40506C10.5487 7.13958 10.029 6.99984 9.5 7Z",fill:t})]}),ve=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 20 20",fill:"none",children:[r("path",{d:"M6.5 9C6.5 8.33696 6.76339 7.70107 7.23223 7.23223C7.70107 6.76339 8.33696 6.5 9 6.5C9.66304 6.5 10.2989 6.76339 10.7678 7.23223C11.2366 7.70107 11.5 8.33696 11.5 9C11.5 9.66304 11.2366 10.2989 10.7678 10.7678C10.2989 11.2366 9.66304 11.5 9 11.5C8.33696 11.5 7.70107 11.2366 7.23223 10.7678C6.76339 10.2989 6.5 9.66304 6.5 9Z",fill:t}),r("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C12.1217 18 14.1566 17.1571 15.6569 15.6569C17.1571 14.1566 18 12.1217 18 10C18 7.87827 17.1571 5.84344 15.6569 4.34315C14.1566 2.84285 12.1217 2 10 2C7.87827 2 5.84344 2.84285 4.34315 4.34315C2.84285 5.84344 2 7.87827 2 10C2 12.1217 2.84285 14.1566 4.34315 15.6569C5.84344 17.1571 7.87827 18 10 18ZM9 5C8.37415 5.0001 7.75705 5.14706 7.19833 5.42906C6.63961 5.71106 6.15485 6.12023 5.78304 6.62367C5.41124 7.12711 5.16275 7.71077 5.05756 8.32773C4.95238 8.94468 4.99343 9.5777 5.17741 10.1759C5.3614 10.7741 5.68319 11.3208 6.1169 11.772C6.55061 12.2232 7.08415 12.5663 7.67462 12.7738C8.26508 12.9813 8.89599 13.0473 9.51661 12.9666C10.1372 12.8859 10.7303 12.6606 11.248 12.309L12.72 13.78C12.7887 13.8537 12.8715 13.9128 12.9635 13.9538C13.0555 13.9948 13.1548 14.0168 13.2555 14.0186C13.3562 14.0204 13.4562 14.0018 13.5496 13.9641C13.643 13.9264 13.7278 13.8703 13.799 13.799C13.8703 13.7278 13.9264 13.643 13.9641 13.5496C14.0018 13.4562 14.0204 13.3562 14.0186 13.2555C14.0168 13.1548 13.9948 13.0555 13.9538 12.9635C13.9128 12.8715 13.8537 12.7887 13.78 12.72L12.309 11.248C12.7176 10.6467 12.9546 9.94532 12.9944 9.21939C13.0343 8.49346 12.8756 7.77039 12.5353 7.1279C12.195 6.48542 11.6861 5.94782 11.0632 5.5729C10.4403 5.19798 9.72702 4.99992 9 5Z",fill:t})]}),we=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 14 16",fill:"none",children:[r("path",{d:"M7 5V8",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M3 11V9C3 8.4477 3.4477 8 4 8H10C10.5523 8 11 8.4477 11 9V11",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M7 5C8.10457 5 9 4.10457 9 3C9 1.89543 8.10457 1 7 1C5.89543 1 5 1.89543 5 3C5 4.10457 5.89543 5 7 5Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M3 15C4.10457 15 5 14.1046 5 13C5 11.8954 4.10457 11 3 11C1.89543 11 1 11.8954 1 13C1 14.1046 1.89543 15 3 15Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M11 15C12.1046 15 13 14.1046 13 13C13 11.8954 12.1046 11 11 11C9.89543 11 9 11.8954 9 13C9 14.1046 9.89543 15 11 15Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ye=({fill:t="currentColor",width:i="21",height:o="21"})=>e("svg",{width:i,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r("path",{d:"M22.392 10.5705C21.693 5.4495 17.313 1.5 12 1.5C6.201 1.5 1.5 6.201 1.5 12C1.5 14.064 2.1045 15.9825 3.132 17.6055L1.5 22.5L6.3945 20.868C7.6395 21.657 9.06 22.188 10.584 22.3965",stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M17.625 12.75L18.75 16.5L22.5 17.625L18.75 18.75L17.625 22.5L16.5 18.75L12.75 17.625L16.5 16.5L17.625 12.75Z",fill:t,stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]}),ke=({fill:t="currentColor",width:i="20",height:o="20"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 14 14",fill:"none",children:[r("path",{d:"M13 1H1",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M7 13V1",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Le=({fill:e="currentColor",width:t="20",height:i="20"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 20 20",fill:"none",children:r("path",{d:"M11.2502 1C12.769 1 14.0002 2.23122 14.0002 3.75V4.19238C14.7954 4.26939 15.5841 4.3694 16.3655 4.49121C16.7747 4.555 17.0551 4.93847 16.9914 5.34766C16.9276 5.75685 16.5442 6.0373 16.135 5.97363C16.0856 5.96593 16.036 5.95771 15.9865 5.9502L15.1448 16.4697C15.0302 17.8987 13.8371 19 12.4035 19H7.5969C6.16331 19 4.97024 17.8987 4.85569 16.4697L4.01389 5.9502C3.96456 5.9577 3.91473 5.96595 3.86545 5.97363C3.45635 6.03717 3.07279 5.75678 3.00901 5.34766C2.94536 4.93848 3.2258 4.555 3.63499 4.49121C4.41637 4.3694 5.205 4.2694 6.00022 4.19238V3.75C6.00022 2.23122 7.23144 1 8.75022 1H11.2502ZM7.80002 7.00098C7.41217 7.01665 7.10455 7.32382 7.08127 7.70312V7.78027L7.38108 15.2803C7.39779 15.694 7.74659 16.0156 8.16038 15.999C8.57421 15.9824 8.89666 15.6336 8.8801 15.2197L8.57932 7.71973L8.57249 7.64355C8.51897 7.26722 8.18803 6.98546 7.80002 7.00098ZM12.2004 7.00098C11.7866 6.98443 11.4378 7.30599 11.4211 7.71973L11.1213 15.2197C11.1048 15.6335 11.4263 15.9823 11.8401 15.999C12.2538 16.0156 12.6026 15.694 12.6194 15.2803L12.9201 7.78027C12.9367 7.36644 12.6142 7.01761 12.2004 7.00098ZM8.75022 2.5C8.05986 2.5 7.50022 3.05964 7.50022 3.75V4.0752C8.32725 4.02543 9.16083 4 10.0002 4C10.8396 4 11.6732 4.02544 12.5002 4.0752V3.75C12.5002 3.05964 11.9406 2.5 11.2502 2.5H8.75022Z",fill:e})}),Ee=({fill:t="currentColor",width:i="16",height:o="16"})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:o,viewBox:"0 0 16 16",fill:"none",children:[r("path",{d:"M3.75 2C2.7835 2 2 2.7835 2 3.75V5.25C2 5.66421 2.33579 6 2.75 6C3.16421 6 3.5 5.66421 3.5 5.25V3.75C3.5 3.61193 3.61193 3.5 3.75 3.5H5.25C5.66421 3.5 6 3.16421 6 2.75C6 2.33579 5.66421 2 5.25 2H3.75Z",fill:t}),r("path",{d:"M10.75 2C10.3358 2 10 2.33579 10 2.75C10 3.16421 10.3358 3.5 10.75 3.5H12.25C12.3881 3.5 12.5 3.61193 12.5 3.75V5.25C12.5 5.66421 12.8358 6 13.25 6C13.6642 6 14 5.66421 14 5.25V3.75C14 2.7835 13.2165 2 12.25 2H10.75Z",fill:t}),r("path",{d:"M3.5 10.75C3.5 10.3358 3.16421 10 2.75 10C2.33579 10 2 10.3358 2 10.75V12.25C2 13.2165 2.7835 14 3.75 14H5.25C5.66421 14 6 13.6642 6 13.25C6 12.8358 5.66421 12.5 5.25 12.5H3.75C3.61193 12.5 3.5 12.3881 3.5 12.25V10.75Z",fill:t}),r("path",{d:"M14 10.75C14 10.3358 13.6642 10 13.25 10C12.8358 10 12.5 10.3358 12.5 10.75V12.25C12.5 12.3881 12.3881 12.5 12.25 12.5H10.75C10.3358 12.5 10 12.8358 10 13.25C10 13.6642 10.3358 14 10.75 14H12.25C13.2165 14 14 13.2165 14 12.25V10.75Z",fill:t}),r("path",{d:"M8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z",fill:t})]});var Me;!function(e){e.BARS_3_BOTTOM_LEFT="bars-3-bottom-left",e.BUILDING="building",e.BULK_CHECK="bulk-check",e.CHECK="check",e.CHECK_CIRCLE="check-circle",e.CHECK_SQUARE="check-square",e.CHEVRON_DOWN="chevron-down",e.CLOSE="close",e.CODE="code",e.COMPUTER="computer",e.COPY="copy",e.CUBE="cube",e.DATABASE="database",e.EXCLAMATION_CIRCLE="exclamation-circle",e.EXCLAMATION_TRIANGLE="exclamation-triangle",e.GEAR="gear",e.GLobe="globe",e.HASHTAG="hashtag",e.HOME="home",e.INBOX="inbox",e.INFORMATION_CIRCLE="information-circle",e.INFORMATION_CIRCLE_MICRO="information-circle-micro",e.LAMP="lamp",e.LOCK_OPEN="lock-open",e.MINUS="minus",e.PAPER_PLANE="paper-plane",e.PENCIL="pencil",e.PIE_CHART="pie-chart",e.PIPELINE="pipeline",e.PLUS="plus",e.PROFILE="profile",e.QUESTION_CIRCLE="question-circle",e.ROCKET_LAUNCH="rocket-launch",e.SEARCH="search",e.SEARCH_DOCUMENT="search-document",e.SEARCH_SQL="search-sql",e.SITEMAP="sitemap",e.TETRASCIENCE_ICON="tetrascience-icon",e.TEXT="text",e.TRASH="trash",e.VIEWFINDER_CIRCLE="viewfinder-circle"}(Me||(Me={}));const Ae=e=>{let t=null;const{name:i}=e;switch(i){case Me.BARS_3_BOTTOM_LEFT:t=r(O,{...e});break;case Me.BUILDING:t=r(V,{...e});break;case Me.BULK_CHECK:t=r(D,{...e});break;case Me.CHECK:t=r(U,{...e});break;case Me.CHECK_CIRCLE:t=r(Z,{...e});break;case Me.CHECK_SQUARE:t=r(G,{...e});break;case Me.CHEVRON_DOWN:t=r(W,{...e});break;case Me.CLOSE:t=r(j,{...e});break;case Me.CODE:t=r(K,{...e});break;case Me.COMPUTER:t=r(Y,{...e});break;case Me.COPY:t=r(F,{...e});break;case Me.CUBE:t=r(X,{...e});break;case Me.DATABASE:t=r(q,{...e});break;case Me.EXCLAMATION_CIRCLE:t=r(Q,{...e});break;case Me.EXCLAMATION_TRIANGLE:t=r(J,{...e});break;case Me.GEAR:t=r(ee,{...e});break;case Me.GLobe:t=r(re,{...e});break;case Me.HASHTAG:t=r(te,{...e});break;case Me.HOME:t=r(ie,{...e});break;case Me.INBOX:t=r(oe,{...e});break;case Me.INFORMATION_CIRCLE:t=r(ne,{...e});break;case Me.INFORMATION_CIRCLE_MICRO:t=r(le,{...e});break;case Me.LAMP:t=r(ae,{...e});break;case Me.LOCK_OPEN:t=r(se,{...e});break;case Me.MINUS:t=r(de,{...e});break;case Me.PAPER_PLANE:t=r(ce,{...e});break;case Me.PENCIL:t=r(he,{...e});break;case Me.PIE_CHART:t=r(pe,{...e});break;case Me.PIPELINE:t=r(ge,{...e});break;case Me.PLUS:t=r(fe,{...e});break;case Me.PROFILE:t=r(ue,{...e});break;case Me.QUESTION_CIRCLE:t=r(Ce,{...e});break;case Me.ROCKET_LAUNCH:t=r(xe,{...e});break;case Me.SEARCH:t=r(me,{...e});break;case Me.SEARCH_DOCUMENT:t=r(be,{...e});break;case Me.SEARCH_SQL:t=r(ve,{...e});break;case Me.SITEMAP:t=r(we,{...e});break;case Me.TETRASCIENCE_ICON:t=r(ye,{...e});break;case Me.TEXT:t=r(ke,{...e});break;case Me.TRASH:t=r(Le,{...e});break;case Me.VIEWFINDER_CIRCLE:t=r(Ee,{...e});break;default:throw`[Icon] name "${i}" does not exist`}return r("div",{style:{display:"inline-flex"},children:t})},Ie=i.label`
205
205
  display: inline-flex;
206
206
  align-items: center;
207
207
  cursor: ${e=>e.disabled?"not-allowed":"pointer"};
208
208
  opacity: ${e=>e.disabled?.6:1};
209
209
  padding: ${e=>e.noPadding?"0":"12px 16px"};
210
210
  width: 100%;
211
- `,ze=s.input.attrs({type:"checkbox"})`
211
+ `,Re=i.input.attrs({type:"checkbox"})`
212
212
  position: absolute;
213
213
  opacity: 0;
214
214
  height: 0;
215
215
  width: 0;
216
- `,Be=s.div`
216
+ `,Ne=i.div`
217
217
  display: flex;
218
218
  align-items: center;
219
219
  justify-content: center;
@@ -226,18 +226,18 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
226
226
  transition: all 0.2s;
227
227
 
228
228
  ${e=>!e.disabled&&"\n\t\t&:hover {\n\t\t\tborder-color: var(--blue-600);\n\t\t}\n\t"}
229
- `,He=()=>M.jsx(Ne,{name:Ie.CHECK_SQUARE,fill:"var(--blue-600)"}),$e=s.span`
229
+ `,_e=()=>r(Ae,{name:Me.CHECK_SQUARE,fill:"var(--blue-600)"}),Be=i.span`
230
230
  margin-left: 10px;
231
231
  font-family: "Inter", sans-serif;
232
232
  font-size: 14px;
233
233
  font-style: normal;
234
234
  font-weight: 400;
235
235
  line-height: 20px;
236
- `,Se=r(({checked:e=!1,onChange:r,disabled:t=!1,className:i,onClick:o,label:n,noPadding:a=!1},l)=>M.jsxs(Te,{className:i,disabled:t,noPadding:a,onClick:e=>{o&&o(e)},children:[M.jsx(ze,{ref:l,checked:e,onChange:e=>{!t&&r&&r(e.target.checked)},disabled:t}),M.jsx(Be,{checked:e,disabled:t,children:e&&M.jsx(He,{})}),n&&M.jsx($e,{children:n})]}));Se.displayName="Checkbox";var Oe={active4d:"Active4D","all-hallows-eve":"All Hallows Eve",amy:"Amy","birds-of-paradise":"Birds of Paradise",blackboard:"Blackboard","brilliance-black":"Brilliance Black","brilliance-dull":"Brilliance Dull","chrome-devtools":"Chrome DevTools","clouds-midnight":"Clouds Midnight",clouds:"Clouds",cobalt:"Cobalt",cobalt2:"Cobalt2",dawn:"Dawn",dracula:"Dracula",dreamweaver:"Dreamweaver",eiffel:"Eiffel","espresso-libre":"Espresso Libre","github-dark":"GitHub Dark","github-light":"GitHub Light",github:"GitHub",idle:"IDLE",katzenmilch:"Katzenmilch","kuroir-theme":"Kuroir Theme",lazy:"LAZY","magicwb--amiga-":"MagicWB (Amiga)","merbivore-soft":"Merbivore Soft",merbivore:"Merbivore","monokai-bright":"Monokai Bright",monokai:"Monokai","night-owl":"Night Owl",nord:"Nord","oceanic-next":"Oceanic Next","pastels-on-dark":"Pastels on Dark","slush-and-poppies":"Slush and Poppies","solarized-dark":"Solarized-dark","solarized-light":"Solarized-light",spacecadet:"SpaceCadet",sunburst:"Sunburst","textmate--mac-classic-":"Textmate (Mac Classic)","tomorrow-night-blue":"Tomorrow-Night-Blue","tomorrow-night-bright":"Tomorrow-Night-Bright","tomorrow-night-eighties":"Tomorrow-Night-Eighties","tomorrow-night":"Tomorrow-Night",tomorrow:"Tomorrow",twilight:"Twilight","upstream-sunburst":"Upstream Sunburst","vibrant-ink":"Vibrant Ink","xcode-default":"Xcode_default",zenburnesque:"Zenburnesque",iplastic:"iPlastic",idlefingers:"idleFingers",krtheme:"krTheme",monoindustrial:"monoindustrial"};const Pe=s.div`
236
+ `,ze=d(({checked:t=!1,onChange:i,disabled:o=!1,className:n,onClick:l,label:a,noPadding:s=!1},d)=>e(Ie,{className:n,disabled:o,noPadding:s,onClick:e=>{l&&l(e)},children:[r(Re,{ref:d,checked:t,onChange:e=>{!o&&i&&i(e.target.checked)},disabled:o}),r(Ne,{checked:t,disabled:o,children:t&&r(_e,{})}),a&&r(Be,{children:a})]}));ze.displayName="Checkbox";var He={active4d:"Active4D","all-hallows-eve":"All Hallows Eve",amy:"Amy","birds-of-paradise":"Birds of Paradise",blackboard:"Blackboard","brilliance-black":"Brilliance Black","brilliance-dull":"Brilliance Dull","chrome-devtools":"Chrome DevTools","clouds-midnight":"Clouds Midnight",clouds:"Clouds",cobalt:"Cobalt",cobalt2:"Cobalt2",dawn:"Dawn",dracula:"Dracula",dreamweaver:"Dreamweaver",eiffel:"Eiffel","espresso-libre":"Espresso Libre","github-dark":"GitHub Dark","github-light":"GitHub Light",github:"GitHub",idle:"IDLE",katzenmilch:"Katzenmilch","kuroir-theme":"Kuroir Theme",lazy:"LAZY","magicwb--amiga-":"MagicWB (Amiga)","merbivore-soft":"Merbivore Soft",merbivore:"Merbivore","monokai-bright":"Monokai Bright",monokai:"Monokai","night-owl":"Night Owl",nord:"Nord","oceanic-next":"Oceanic Next","pastels-on-dark":"Pastels on Dark","slush-and-poppies":"Slush and Poppies","solarized-dark":"Solarized-dark","solarized-light":"Solarized-light",spacecadet:"SpaceCadet",sunburst:"Sunburst","textmate--mac-classic-":"Textmate (Mac Classic)","tomorrow-night-blue":"Tomorrow-Night-Blue","tomorrow-night-bright":"Tomorrow-Night-Bright","tomorrow-night-eighties":"Tomorrow-Night-Eighties","tomorrow-night":"Tomorrow-Night",tomorrow:"Tomorrow",twilight:"Twilight","upstream-sunburst":"Upstream Sunburst","vibrant-ink":"Vibrant Ink","xcode-default":"Xcode_default",zenburnesque:"Zenburnesque",iplastic:"iPlastic",idlefingers:"idleFingers",krtheme:"krTheme",monoindustrial:"monoindustrial"};const Te=i.div`
237
237
  position: relative;
238
238
  display: inline-flex;
239
239
  width: fit-content;
240
- `,Ve=s.div`
240
+ `,$e=i.div`
241
241
  position: absolute;
242
242
  background-color: var(--black);
243
243
  color: var(--white);
@@ -259,12 +259,12 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
259
259
  box-sizing: border-box;
260
260
  text-align: left;
261
261
 
262
- ${e=>e.isVisible&&d`
262
+ ${e=>e.isVisible&&o`
263
263
  opacity: 1;
264
264
  visibility: visible;
265
265
  `}
266
266
 
267
- ${e=>{switch(e.placement){case"top":return d`
267
+ ${e=>{switch(e.placement){case"top":return o`
268
268
  bottom: 100%;
269
269
  left: 50%;
270
270
  transform: translateX(-50%) translateY(-8px);
@@ -279,7 +279,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
279
279
  border-style: solid;
280
280
  border-color: var(--black) transparent transparent transparent;
281
281
  }
282
- `;case"right":return d`
282
+ `;case"right":return o`
283
283
  top: 50%;
284
284
  left: 100%;
285
285
  transform: translateY(-50%) translateX(8px);
@@ -294,7 +294,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
294
294
  border-style: solid;
295
295
  border-color: transparent var(--black) transparent transparent;
296
296
  }
297
- `;case"bottom":return d`
297
+ `;case"bottom":return o`
298
298
  top: 100%;
299
299
  left: 50%;
300
300
  transform: translateX(-50%) translateY(8px);
@@ -309,7 +309,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
309
309
  border-style: solid;
310
310
  border-color: transparent transparent var(--black) transparent;
311
311
  }
312
- `;case"left":return d`
312
+ `;case"left":return o`
313
313
  top: 50%;
314
314
  right: 100%;
315
315
  transform: translateY(-50%) translateX(-8px);
@@ -325,7 +325,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
325
325
  border-color: transparent transparent transparent var(--black);
326
326
  }
327
327
  `;default:return""}}}
328
- `,De=({content:e,children:r,placement:n="top",className:a,delay:l=100})=>{const[s,d]=t(!1),c=i(null);return o(()=>()=>{c.current&&clearTimeout(c.current)},[]),M.jsxs(Pe,{className:a,onMouseEnter:()=>{c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{d(!0)},l)},onMouseLeave:()=>{c.current&&clearTimeout(c.current),d(!1)},children:[r,M.jsx(Ve,{placement:n,isVisible:s,children:e})]})},Ue="function"==typeof import.meta.glob?import.meta.glob("/node_modules/monaco-themes/themes/*.json"):{},Ze={light:"github-light",dark:"dracula"},We=s.div`
328
+ `,Pe=({content:t,children:i,placement:o="top",className:n,delay:l=100})=>{const[a,s]=c(!1),d=h(null);return p(()=>()=>{d.current&&clearTimeout(d.current)},[]),e(Te,{className:n,onMouseEnter:()=>{d.current&&clearTimeout(d.current),d.current=setTimeout(()=>{s(!0)},l)},onMouseLeave:()=>{d.current&&clearTimeout(d.current),s(!1)},children:[i,r($e,{placement:o,isVisible:a,children:t})]})},Se="function"==typeof import.meta.glob?import.meta.glob("/node_modules/monaco-themes/themes/*.json"):{},Oe={light:"github-light",dark:"dracula"},Ve=i.div`
329
329
  border-radius: 16px;
330
330
  overflow: hidden;
331
331
  background-color: ${e=>"dark"===e.themeMode?"var(--grey-800)":"var(--grey-50)"};
@@ -333,7 +333,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
333
333
  border: 1px solid var(--grey-200);
334
334
  opacity: ${e=>e.disabled?.6:1};
335
335
  cursor: ${e=>e.disabled?"not-allowed":"default"};
336
- `,Ge=s.div`
336
+ `,De=i.div`
337
337
  margin-left: auto;
338
338
  display: flex;
339
339
  gap: 8px;
@@ -342,19 +342,19 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
342
342
  top: 0;
343
343
  right: 0;
344
344
  z-index: 1;
345
- `,Ke=s.div`
345
+ `,Ue=i.div`
346
346
  width: 32px;
347
347
  height: 32px;
348
348
  display: flex;
349
349
  align-items: center;
350
350
  justify-content: center;
351
- `,Fe=s(B)`
351
+ `,Ze=i(N)`
352
352
  width: 100%;
353
353
  height: 100%;
354
- `,Ye=({value:e,onChange:r,language:i="python",theme:o="dark",height:a=400,width:l="100%",options:s={},onCopy:d,onLaunch:c,disabled:h=!1})=>{const[p,g]=t("Copy"),[f,u]=t("Launch"),m=n(e=>{d&&!h&&(d(e),g("Copied"),setTimeout(()=>{g("Copy")},1e3))},[d,h]),b=n(e=>{c&&!h&&(c(e),u("Launched"),setTimeout(()=>{u("Launch")},1e3))},[c,h]),C={minimap:{enabled:!1},scrollBeyondLastLine:!1,lineNumbers:"on",padding:{top:12,bottom:12,left:20,right:20},scrollbar:{vertical:"hidden",verticalScrollbarSize:0},readOnly:h,...s};return M.jsxs(We,{themeMode:o,disabled:h,children:[M.jsxs(Ge,{children:[d&&M.jsx(De,{content:p,placement:"bottom",children:M.jsx(Ke,{children:M.jsx(Fe,{variant:"tertiary",size:"small",leftIcon:M.jsx(Ne,{name:Ie.COPY}),noPadding:!0,fullWidth:!0,onClick:()=>m(e),disabled:h,children:null})})}),c&&M.jsx(De,{content:f,placement:"bottom",children:M.jsx(Ke,{children:M.jsx(Fe,{variant:"tertiary",size:"small",leftIcon:M.jsx(Ne,{name:Ie.ROCKET_LAUNCH}),noPadding:!0,fullWidth:!0,onClick:()=>b(e),disabled:h,children:null})})})]}),M.jsx(x,{value:e,onChange:r,language:i,theme:Ze[o],height:a,width:l,options:C,beforeMount:async e=>{const r=Ze[o];try{const t=Oe[r];if(t){const i=Ue[`/node_modules/monaco-themes/themes/${t}.json`];if(i){const t=(await i()).default;e.editor.defineTheme(r,t)}}e.editor.setTheme(r)}catch(r){console.error("Error loading theme:",r),e.editor.setTheme("vs-dark")}}})]})},Xe=s.div`
354
+ `,Ge=({value:t,onChange:i,language:o="python",theme:n="dark",height:l=400,width:a="100%",options:s={},onCopy:d,onLaunch:h,disabled:p=!1})=>{const[f,u]=c("Copy"),[x,m]=c("Launch"),b=g(e=>{d&&!p&&(d(e),u("Copied"),setTimeout(()=>{u("Copy")},1e3))},[d,p]),v=g(e=>{h&&!p&&(h(e),m("Launched"),setTimeout(()=>{m("Launch")},1e3))},[h,p]),w={minimap:{enabled:!1},scrollBeyondLastLine:!1,lineNumbers:"on",padding:{top:12,bottom:12,left:20,right:20},scrollbar:{vertical:"hidden",verticalScrollbarSize:0},readOnly:p,...s};return e(Ve,{themeMode:n,disabled:p,children:[e(De,{children:[d&&r(Pe,{content:f,placement:"bottom",children:r(Ue,{children:r(Ze,{variant:"tertiary",size:"small",leftIcon:r(Ae,{name:Me.COPY}),noPadding:!0,fullWidth:!0,onClick:()=>b(t),disabled:p,children:null})})}),h&&r(Pe,{content:x,placement:"bottom",children:r(Ue,{children:r(Ze,{variant:"tertiary",size:"small",leftIcon:r(Ae,{name:Me.ROCKET_LAUNCH}),noPadding:!0,fullWidth:!0,onClick:()=>v(t),disabled:p,children:null})})})]}),r(C,{value:t,onChange:i,language:o,theme:Oe[n],height:l,width:a,options:w,beforeMount:async e=>{const r=Oe[n];try{const t=He[r];if(t){const i=Se[`/node_modules/monaco-themes/themes/${t}.json`];if(i){const t=(await i()).default;e.editor.defineTheme(r,t)}}e.editor.setTheme(r)}catch(r){console.error("Error loading theme:",r),e.editor.setTheme("vs-dark")}}})]})},We=i.div`
355
355
  position: relative;
356
356
  width: ${e=>e.width||"100%"};
357
- `,qe=s.button`
357
+ `,je=i.button`
358
358
  display: flex;
359
359
  align-items: center;
360
360
  justify-content: space-between;
@@ -395,7 +395,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
395
395
  box-shadow: ${e=>e.error?"0px 0px 0px 3px var(--red-bg)":"0px 0px 0px 1px var(--white-900), 0px 0px 0px 3px var(--blue-600)"};
396
396
  border-color: ${e=>e.error?"var(--red-error)":"var(--blue-600)"};
397
397
  }
398
- `,Qe=s.div`
398
+ `,Ke=i.div`
399
399
  width: 20px;
400
400
  height: 20px;
401
401
  transform: ${e=>e.open?"rotate(180deg)":"rotate(0deg)"};
@@ -404,7 +404,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
404
404
  display: flex;
405
405
  align-items: center;
406
406
  justify-content: center;
407
- `,Je=s.div`
407
+ `,Ye=i.div`
408
408
  text-overflow: ellipsis;
409
409
  white-space: nowrap;
410
410
  overflow: hidden;
@@ -418,7 +418,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
418
418
  white-space: nowrap;
419
419
  overflow: hidden;
420
420
  }
421
- `,er=s.ul`
421
+ `,Fe=i.ul`
422
422
  position: absolute;
423
423
  top: calc(100% + 4px);
424
424
  left: 0;
@@ -433,20 +433,20 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
433
433
  padding: 4px 0;
434
434
  margin: 0;
435
435
  list-style: none;
436
- `,rr=s.div`
436
+ `,Xe=i.div`
437
437
  display: flex;
438
438
  flex-direction: column;
439
439
  align-items: center;
440
440
  justify-content: center;
441
441
  padding: 16px;
442
442
  color: var(--grey-400);
443
- `,tr=s.p`
443
+ `,qe=i.p`
444
444
  margin: 8px 0 0 0;
445
445
  font-family: "Inter", sans-serif;
446
446
  font-size: 14px;
447
447
  line-height: 20px;
448
448
  text-align: center;
449
- `,ir=s.li`
449
+ `,Qe=i.li`
450
450
  padding: 8px 12px;
451
451
  cursor: ${e=>e.disabled?"not-allowed":"pointer"};
452
452
  background-color: ${e=>e.selected?"var(--blue-50)":"transparent"};
@@ -466,7 +466,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
466
466
  outline: 2px solid var(--blue-600);
467
467
  outline-offset: -2px;
468
468
  }
469
- `,or=({options:e=[],value:r,placeholder:n="Select an option",disabled:a=!1,error:l=!1,size:s="small",onChange:d,onOpen:c,onClose:h,width:p,menuWidth:x})=>{const[g,f]=t(!1),[u,m]=t(r||""),b=i(null),C=i([]);o(()=>{void 0!==r&&m(r)},[r]),o(()=>{const e=e=>{b.current&&!b.current.contains(e.target)&&g&&(f(!1),h?.())};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[g,h]),o(()=>{g&&(C.current=C.current.slice(0,e.length))},[g,e.length]),o(()=>{if(g&&C.current.length>0){const r=e.findIndex(e=>e.value===u),t=r>=0?r:0;setTimeout(()=>{C.current[t]&&C.current[t]?.focus()},10)}},[g,e,u]);const v=e=>{e.disabled||(m(e.value),f(!1),d?.(e.value),h?.())},y=e.find(e=>e.value===u),w=y?y.label:n;return M.jsxs(Xe,{ref:b,width:p,children:[M.jsxs(qe,{type:"button",onClick:()=>{if(!a){const e=!g;f(e),e?c?.():h?.()}},onKeyDown:e=>{if(!a)switch(e.key){case"Enter":case" ":case"ArrowDown":e.preventDefault(),g||(f(!0),c?.());break;case"Escape":e.preventDefault(),g&&(f(!1),h?.())}},open:g,disabled:a,error:l,size:s,"aria-haspopup":"listbox","aria-expanded":g,"aria-label":n,children:[M.jsx(Je,{children:w}),M.jsx(Qe,{open:g,children:M.jsx(Ne,{name:Ie.CHEVRON_DOWN,fill:"var(--grey-600)"})})]}),g&&M.jsx(er,{role:"listbox","aria-labelledby":"dropdown-button",menuWidth:x,children:e.length>0?e.map((r,t)=>M.jsx(ir,{ref:e=>{C.current[t]=e},selected:r.value===u,disabled:r.disabled,onClick:()=>v(r),onKeyDown:r=>((r,t)=>{const i=e[t];switch(r.key){case"Enter":case" ":r.preventDefault(),i.disabled||v(i);break;case"ArrowDown":if(r.preventDefault(),t<e.length-1){let r=t+1;for(;r<e.length;){if(!e[r].disabled){C.current[r]?.focus();break}r++}}break;case"ArrowUp":if(r.preventDefault(),t>0){let r=t-1;for(;r>=0;){if(!e[r].disabled){C.current[r]?.focus();break}r--}}break;case"Escape":r.preventDefault(),f(!1),h?.();break;case"Tab":f(!1),h?.()}})(r,t),tabIndex:r.disabled?-1:0,role:"option","aria-selected":r.value===u,"aria-disabled":r.disabled,children:r.label},r.value)):M.jsxs(rr,{children:[M.jsx(Ne,{name:Ie.INBOX,fill:"var(--grey-400)",width:"24px",height:"24px"}),M.jsx(tr,{children:"No Data"})]})})]})},nr=s.div`
469
+ `,Je=({options:t=[],value:i,placeholder:o="Select an option",disabled:n=!1,error:l=!1,size:a="small",onChange:s,onOpen:d,onClose:g,width:f,menuWidth:u})=>{const[C,x]=c(!1),[m,b]=c(i||""),v=h(null),w=h([]);p(()=>{void 0!==i&&b(i)},[i]),p(()=>{const e=e=>{v.current&&!v.current.contains(e.target)&&C&&(x(!1),g?.())};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[C,g]),p(()=>{C&&(w.current=w.current.slice(0,t.length))},[C,t.length]),p(()=>{if(C&&w.current.length>0){const e=t.findIndex(e=>e.value===m),r=e>=0?e:0;setTimeout(()=>{w.current[r]&&w.current[r]?.focus()},10)}},[C,t,m]);const y=e=>{e.disabled||(b(e.value),x(!1),s?.(e.value),g?.())},k=t.find(e=>e.value===m),L=k?k.label:o;return e(We,{ref:v,width:f,children:[e(je,{type:"button",onClick:()=>{if(!n){const e=!C;x(e),e?d?.():g?.()}},onKeyDown:e=>{if(!n)switch(e.key){case"Enter":case" ":case"ArrowDown":e.preventDefault(),C||(x(!0),d?.());break;case"Escape":e.preventDefault(),C&&(x(!1),g?.())}},open:C,disabled:n,error:l,size:a,"aria-haspopup":"listbox","aria-expanded":C,"aria-label":o,children:[r(Ye,{children:L}),r(Ke,{open:C,children:r(Ae,{name:Me.CHEVRON_DOWN,fill:"var(--grey-600)"})})]}),C&&r(Fe,{role:"listbox","aria-labelledby":"dropdown-button",menuWidth:u,children:t.length>0?t.map((e,i)=>r(Qe,{ref:e=>{w.current[i]=e},selected:e.value===m,disabled:e.disabled,onClick:()=>y(e),onKeyDown:e=>((e,r)=>{const i=t[r];switch(e.key){case"Enter":case" ":e.preventDefault(),i.disabled||y(i);break;case"ArrowDown":if(e.preventDefault(),r<t.length-1){let e=r+1;for(;e<t.length;){if(!t[e].disabled){w.current[e]?.focus();break}e++}}break;case"ArrowUp":if(e.preventDefault(),r>0){let e=r-1;for(;e>=0;){if(!t[e].disabled){w.current[e]?.focus();break}e--}}break;case"Escape":e.preventDefault(),x(!1),g?.();break;case"Tab":x(!1),g?.()}})(e,i),tabIndex:e.disabled?-1:0,role:"option","aria-selected":e.value===m,"aria-disabled":e.disabled,children:e.label},e.value)):e(Xe,{children:[r(Ae,{name:Me.INBOX,fill:"var(--grey-400)",width:"24px",height:"24px"}),r(qe,{children:"No Data"})]})})]})},er=i.div`
470
470
  width: 100%;
471
471
  padding: 15px;
472
472
  border-radius: 4px;
@@ -476,17 +476,17 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
476
476
  display: flex;
477
477
  flex-direction: column;
478
478
  gap: 8px;
479
- `,ar=s.div`
479
+ `,rr=i.div`
480
480
  display: flex;
481
481
  justify-content: space-between;
482
482
  align-items: flex-start;
483
- `,lr=s.div`
483
+ `,tr=i.div`
484
484
  color: #ff4d4f;
485
485
  font-size: 18px;
486
486
  margin-right: 12px;
487
487
  display: flex;
488
488
  align-items: center;
489
- `,sr=s.button`
489
+ `,ir=i.button`
490
490
  background: none;
491
491
  border: none;
492
492
  font-size: 16px;
@@ -497,29 +497,29 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
497
497
  &:hover {
498
498
  color: rgba(0, 0, 0, 0.75);
499
499
  }
500
- `,dr=s.div`
500
+ `,or=i.div`
501
501
  font-weight: 500;
502
502
  font-size: 16px;
503
503
  display: flex;
504
504
  align-items: center;
505
505
  flex-grow: 1;
506
- `,cr=s.div`
506
+ `,nr=i.div`
507
507
  display: flex;
508
508
  flex-direction: column;
509
509
  gap: 8px;
510
510
  width: 100%;
511
- `,hr=s.p`
511
+ `,lr=i.p`
512
512
  margin: 0;
513
513
  padding: 0;
514
514
  line-height: 1.5;
515
- `,pr=s.span`
515
+ `,ar=i.span`
516
516
  font-weight: ${e=>e.strong?"600":"400"};
517
517
  color: ${e=>"secondary"===e.type?"rgba(0, 0, 0, 0.45)":"inherit"};
518
- `,xr=s(pr).attrs({type:"secondary"})``,gr=s.div`
518
+ `,sr=i(ar).attrs({type:"secondary"})``,dr=i.div`
519
519
  margin-left: -15px;
520
520
  margin-right: -15px;
521
521
  margin-bottom: -5px;
522
- `,fr=s.div`
522
+ `,cr=i.div`
523
523
  padding: 12px 16px;
524
524
  cursor: pointer;
525
525
  display: flex;
@@ -535,12 +535,12 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
535
535
  font-size: 12px;
536
536
  margin-left: 8px;
537
537
  }
538
- `,ur=s.div`
538
+ `,hr=i.div`
539
539
  padding: ${e=>e.isVisible?"0 16px 12px":"0 16px"};
540
540
  max-height: ${e=>e.isVisible?"300px":"0"};
541
541
  overflow: hidden;
542
542
  transition: max-height 0.3s ease;
543
- `,mr=s.pre`
543
+ `,pr=i.pre`
544
544
  white-space: pre-wrap;
545
545
  word-break: break-all;
546
546
  max-height: 300px;
@@ -549,19 +549,19 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
549
549
  padding: 10px;
550
550
  border-radius: 4px;
551
551
  margin: 0;
552
- `;const br=({children:e,header:r,defaultExpanded:i=!1})=>{const[o,n]=t(i);return M.jsxs("div",{children:[M.jsx(fr,{isActive:o,onClick:()=>n(!o),children:r}),M.jsx(ur,{isVisible:o,children:e})]})},Cr=({error:e,title:r="An Error Occurred",onClose:t,showDetailsDefault:i=!1})=>{if(!e)return M.jsx(M.Fragment,{});let o="An unexpected error occurred.",n=null,a=null,l="Unknown Error";if(function(e){return"object"==typeof e&&null!==e&&"isAxiosError"in e&&!0===e.isAxiosError}(e)){if(l="Network/API Error",o=e.message,e.response){const r=e.response.status,t=e.response.statusText;o=`API Error: ${r} ${t}`;const i=e.response.data;if("string"==typeof i)n=i;else if(i&&"object"==typeof i){const e=i.detail||i.message||i.error;"string"==typeof e?n=e:(n="Check details for response data.",a=JSON.stringify(i,null,2))}else n=`Request failed with status code ${r}.`;a=`URL: ${e.config?.method?.toUpperCase()} ${e.config?.url}\nStatus: ${r} ${t}\nResponse Data:\n${a??JSON.stringify(i,null,2)}`}else e.request?(l="Network Error",o="Network Error: Could not reach the server.",n="Please check your internet connection or contact support if the problem persists.",a=`URL: ${e.config?.method?.toUpperCase()} ${e.config?.url}\nError Message: ${e.message}`):o=`Request Setup Error: ${e.message}`;e.code&&(l+=` (Code: ${e.code})`)}else if(e instanceof Error)l=e.name||"Error",o=e.message,a=e.stack??"No stack trace available.";else if("string"==typeof e)l="Message",o=e;else if("object"==typeof e&&null!==e){l="Object Error",o=e.message||e.error||"An object was thrown as an error.";try{a=JSON.stringify(e,null,2)}catch{a="Could not stringify the error object."}}return M.jsxs(nr,{type:"error",children:[M.jsxs(ar,{children:[M.jsxs(dr,{children:[M.jsx(lr,{children:"⚠️"}),r]}),t&&M.jsx(sr,{onClick:t,children:"✕"})]}),M.jsxs(cr,{children:[M.jsxs(hr,{children:[M.jsxs(pr,{strong:!0,children:[l,":"]})," ",o]}),n&&M.jsx(hr,{children:M.jsx(xr,{children:n})}),a&&M.jsx(gr,{children:M.jsx(br,{header:"Details",defaultExpanded:i,children:M.jsx(mr,{children:a})})})]})]})},vr={xsmall:d`
552
+ `;const gr=({children:t,header:i,defaultExpanded:o=!1})=>{const[n,l]=c(o);return e("div",{children:[r(cr,{isActive:n,onClick:()=>l(!n),children:i}),r(hr,{isVisible:n,children:t})]})},fr=({error:i,title:o="An Error Occurred",onClose:n,showDetailsDefault:l=!1})=>{if(!i)return r(t,{});let a="An unexpected error occurred.",s=null,d=null,c="Unknown Error";if(function(e){return"object"==typeof e&&null!==e&&"isAxiosError"in e&&!0===e.isAxiosError}(i)){if(c="Network/API Error",a=i.message,i.response){const e=i.response.status,r=i.response.statusText;a=`API Error: ${e} ${r}`;const t=i.response.data;if("string"==typeof t)s=t;else if(t&&"object"==typeof t){const e=t.detail||t.message||t.error;"string"==typeof e?s=e:(s="Check details for response data.",d=JSON.stringify(t,null,2))}else s=`Request failed with status code ${e}.`;d=`URL: ${i.config?.method?.toUpperCase()} ${i.config?.url}\nStatus: ${e} ${r}\nResponse Data:\n${d??JSON.stringify(t,null,2)}`}else i.request?(c="Network Error",a="Network Error: Could not reach the server.",s="Please check your internet connection or contact support if the problem persists.",d=`URL: ${i.config?.method?.toUpperCase()} ${i.config?.url}\nError Message: ${i.message}`):a=`Request Setup Error: ${i.message}`;i.code&&(c+=` (Code: ${i.code})`)}else if(i instanceof Error)c=i.name||"Error",a=i.message,d=i.stack??"No stack trace available.";else if("string"==typeof i)c="Message",a=i;else if("object"==typeof i&&null!==i){c="Object Error",a=i.message||i.error||"An object was thrown as an error.";try{d=JSON.stringify(i,null,2)}catch{d="Could not stringify the error object."}}return e(er,{type:"error",children:[e(rr,{children:[e(or,{children:[r(tr,{children:"⚠️"}),o]}),n&&r(ir,{onClick:n,children:"✕"})]}),e(nr,{children:[e(lr,{children:[e(ar,{strong:!0,children:[c,":"]})," ",a]}),s&&r(lr,{children:r(sr,{children:s})}),d&&r(dr,{children:r(gr,{header:"Details",defaultExpanded:l,children:r(pr,{children:d})})})]})]})},ur={xsmall:o`
553
553
  height: 32px;
554
554
  padding: ${e=>e.hasIconLeft&&e.hasIconRight?"0 32px 0 32px":e.hasIconLeft?"0 10px 0 32px":e.hasIconRight?"0 32px 0 10px":"0 10px"};
555
- `,small:d`
555
+ `,small:o`
556
556
  height: 36px;
557
557
  padding: ${e=>e.hasIconLeft&&e.hasIconRight?"0 38px 0 38px":e.hasIconLeft?"0 12px 0 38px":e.hasIconRight?"0 38px 0 12px":"0 12px"};
558
- `},yr=s.div`
558
+ `},Cr=i.div`
559
559
  position: relative;
560
560
  display: inline-flex;
561
561
  align-items: center;
562
562
  width: 100%;
563
563
  gap: 8px;
564
- `,wr=s.input`
564
+ `,xr=i.input`
565
565
  width: 100%;
566
566
  border-radius: 6px;
567
567
  font-family: "Inter", sans-serif;
@@ -575,7 +575,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
575
575
  color: ${e=>e.disabled?"var(--grey-400)":"var(--black-900)"};
576
576
  transition: all 0.2s;
577
577
 
578
- ${e=>vr[e.size||"small"]}
578
+ ${e=>ur[e.size||"small"]}
579
579
 
580
580
  &:hover:not(:disabled):not(:focus) {
581
581
  border-color: ${e=>e.error?"var(--red-error)":"var(--blue-600)"};
@@ -603,7 +603,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
603
603
  &::placeholder {
604
604
  color: var(--grey-400);
605
605
  }
606
- `,jr=s.div`
606
+ `,mr=i.div`
607
607
  position: absolute;
608
608
  display: flex;
609
609
  align-items: center;
@@ -612,11 +612,11 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
612
612
  color: var(--grey-400);
613
613
  ${e=>"left"===e.position?"left: 10px;":"right: 10px;"}
614
614
  ${e=>"xsmall"===e.size?"width: 16px; height: 16px;":"width: 20px; height: 20px;"}
615
- `,kr=r(({size:e="small",iconLeft:r,iconRight:t,error:i=!1,disabled:o=!1,...n},a)=>M.jsxs(yr,{size:e,disabled:o,error:i,children:[r&&M.jsx(jr,{position:"left",size:e,children:r}),M.jsx(wr,{ref:a,size:e,hasIconLeft:!!r,hasIconRight:!!t,error:i,disabled:o,...n}),t&&M.jsx(jr,{position:"right",size:e,children:t})]}));kr.displayName="Input";const Er=s.div`
615
+ `,br=d(({size:t="small",iconLeft:i,iconRight:o,error:n=!1,disabled:l=!1,...a},s)=>e(Cr,{size:t,disabled:l,error:n,children:[i&&r(mr,{position:"left",size:t,children:i}),r(xr,{ref:s,size:t,hasIconLeft:!!i,hasIconRight:!!o,error:n,disabled:l,...a}),o&&r(mr,{position:"right",size:t,children:o})]}));br.displayName="Input";const vr=i.div`
616
616
  display: flex;
617
617
  flex-direction: column;
618
618
  gap: 4px;
619
- `,Lr=s.div`
619
+ `,wr=i.div`
620
620
  display: flex;
621
621
  align-items: center;
622
622
  gap: 6px;
@@ -627,20 +627,20 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
627
627
  font-style: normal;
628
628
  font-weight: 400;
629
629
  line-height: 18px;
630
- `,Mr=()=>M.jsx(Ne,{name:Ie.INFORMATION_CIRCLE_MICRO,fill:"var(--grey-600)"}),_r=s.span`
630
+ `,yr=()=>r(Ae,{name:Me.INFORMATION_CIRCLE_MICRO,fill:"var(--grey-600)"}),kr=i.span`
631
631
  display: inline-flex;
632
632
  cursor: help;
633
- `,Ar=({children:e,infoText:r,className:t})=>M.jsx(Er,{className:t,children:M.jsxs(Lr,{children:[e,r&&M.jsx(De,{content:r,placement:"bottom",children:M.jsx(_r,{children:M.jsx(Mr,{})})})]})});var Rr={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:"\"Fira Code\", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2E3440",fontFamily:"\"Fira Code\", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2E3440",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#636f88"},prolog:{color:"#636f88"},doctype:{color:"#636f88"},cdata:{color:"#636f88"},punctuation:{color:"#81A1C1"},".namespace":{Opacity:".7"},property:{color:"#81A1C1"},tag:{color:"#81A1C1"},constant:{color:"#81A1C1"},symbol:{color:"#81A1C1"},deleted:{color:"#81A1C1"},number:{color:"#B48EAD"},boolean:{color:"#81A1C1"},selector:{color:"#A3BE8C"},"attr-name":{color:"#A3BE8C"},string:{color:"#A3BE8C"},char:{color:"#A3BE8C"},builtin:{color:"#A3BE8C"},inserted:{color:"#A3BE8C"},operator:{color:"#81A1C1"},entity:{color:"#81A1C1",cursor:"help"},url:{color:"#81A1C1"},".language-css .token.string":{color:"#81A1C1"},".style .token.string":{color:"#81A1C1"},variable:{color:"#81A1C1"},atrule:{color:"#88C0D0"},"attr-value":{color:"#88C0D0"},function:{color:"#88C0D0"},"class-name":{color:"#88C0D0"},keyword:{color:"#81A1C1"},regex:{color:"#EBCB8B"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};const Ir=s.div`
633
+ `,Lr=({children:t,infoText:i,className:o})=>r(vr,{className:o,children:e(wr,{children:[t,i&&r(Pe,{content:i,placement:"bottom",children:r(kr,{children:r(yr,{})})})]})});var Er={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:"\"Fira Code\", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2E3440",fontFamily:"\"Fira Code\", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2E3440",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#636f88"},prolog:{color:"#636f88"},doctype:{color:"#636f88"},cdata:{color:"#636f88"},punctuation:{color:"#81A1C1"},".namespace":{Opacity:".7"},property:{color:"#81A1C1"},tag:{color:"#81A1C1"},constant:{color:"#81A1C1"},symbol:{color:"#81A1C1"},deleted:{color:"#81A1C1"},number:{color:"#B48EAD"},boolean:{color:"#81A1C1"},selector:{color:"#A3BE8C"},"attr-name":{color:"#A3BE8C"},string:{color:"#A3BE8C"},char:{color:"#A3BE8C"},builtin:{color:"#A3BE8C"},inserted:{color:"#A3BE8C"},operator:{color:"#81A1C1"},entity:{color:"#81A1C1",cursor:"help"},url:{color:"#81A1C1"},".language-css .token.string":{color:"#81A1C1"},".style .token.string":{color:"#81A1C1"},variable:{color:"#81A1C1"},atrule:{color:"#88C0D0"},"attr-value":{color:"#88C0D0"},function:{color:"#88C0D0"},"class-name":{color:"#88C0D0"},keyword:{color:"#81A1C1"},regex:{color:"#EBCB8B"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};const Mr=i.div`
634
634
  display: flex;
635
635
  gap: 8px;
636
636
  align-items: center;
637
- `,Nr=s.code`
637
+ `,Ar=i.code`
638
638
  background-color: rgba(0, 0, 0, 0.05);
639
639
  border-radius: 3px;
640
640
  font-family: "Courier New", Courier, monospace;
641
641
  padding: 0.2em 0.4em;
642
642
  font-size: 85%;
643
- `,Tr=({inline:r,className:i,children:o,...n})=>{const a=/language-(\w+)/.exec(i||""),l=a?a[1]:void 0,s=String(o).replace(/\n$/,""),[d,c]=t(!1),h=e=>{console.log(e)};return!r&&a?M.jsxs("div",{style:{position:"relative",marginBottom:"1em"},children:[M.jsx(Ir,{style:{position:"absolute",top:8,right:8,zIndex:1},children:M.jsxs(B,{size:"small",leftIcon:M.jsx(Ne,{name:Ie.COPY}),onClick:async()=>{if(!navigator.clipboard)return console.error("Clipboard API not available."),void h("Clipboard access not available or denied.");try{await navigator.clipboard.writeText(s),c(!0),h("Code copied to clipboard!"),setTimeout(()=>c(!1),2e3)}catch(e){console.error("Failed to copy code: ",e),c(!1)}},style:{opacity:.7,transition:"opacity 0.2s ease-in-out"},onMouseEnter:e=>e.currentTarget.style.opacity="1",onMouseLeave:e=>e.currentTarget.style.opacity="0.7","aria-label":"Copy code to clipboard",children:[d?"Copied!":"Copy"," "]})}),e.createElement(f,{style:Rr,language:l,PreTag:"div",children:s})]}):M.jsx(Nr,{...n,children:o})},zr=({markdown:e,codeRenderer:r})=>M.jsx(g,{remarkPlugins:[m],rehypePlugins:[u],components:{code:r||Tr},children:e}),Br=s.div`
643
+ `,Ir=({inline:t,className:i,children:o,...n})=>{const l=/language-(\w+)/.exec(i||""),a=l?l[1]:void 0,d=String(o).replace(/\n$/,""),[h,p]=c(!1),g=e=>{console.log(e)};return!t&&l?e("div",{style:{position:"relative",marginBottom:"1em"},children:[r(Mr,{style:{position:"absolute",top:8,right:8,zIndex:1},children:e(N,{size:"small",leftIcon:r(Ae,{name:Me.COPY}),onClick:async()=>{if(!navigator.clipboard)return console.error("Clipboard API not available."),void g("Clipboard access not available or denied.");try{await navigator.clipboard.writeText(d),p(!0),g("Code copied to clipboard!"),setTimeout(()=>p(!1),2e3)}catch(e){console.error("Failed to copy code: ",e),p(!1)}},style:{opacity:.7,transition:"opacity 0.2s ease-in-out"},onMouseEnter:e=>e.currentTarget.style.opacity="1",onMouseLeave:e=>e.currentTarget.style.opacity="0.7","aria-label":"Copy code to clipboard",children:[h?"Copied!":"Copy"," "]})}),s.createElement(m,{style:Er,language:a,PreTag:"div",children:d})]}):r(Ar,{...n,children:o})},Rr=({markdown:e,codeRenderer:t})=>r(x,{remarkPlugins:[v],rehypePlugins:[b],components:{code:t||Ir},children:e}),Nr=i.div`
644
644
  display: flex;
645
645
  align-items: center;
646
646
  justify-content: space-between;
@@ -661,62 +661,62 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
661
661
  &:last-child {
662
662
  border-bottom: none;
663
663
  }
664
- `,Hr=s.div`
664
+ `,_r=i.div`
665
665
  display: flex;
666
666
  align-items: center;
667
667
  gap: 12px;
668
668
  flex: 1;
669
- `,$r=s.div`
669
+ `,Br=i.div`
670
670
  display: flex;
671
671
  align-items: center;
672
672
  justify-content: flex-start;
673
673
  flex: 1;
674
674
  width: 100%;
675
- `,Sr=r(({label:e,checked:r=!1,showCheckbox:t=!1,onClick:i,onCheckChange:o,active:n=!1,className:a},l)=>{const s=e=>{console.log("Checkbox clicked!"),e.stopPropagation()};return M.jsxs(Br,{ref:l,active:n,showCheckbox:t,className:a,onClick:()=>{console.log("MenuItem clicked!"),i&&i()},role:"button",tabIndex:0,children:[!t&&M.jsx(Hr,{children:e}),t&&M.jsx($r,{onClick:s,children:M.jsx(Se,{checked:r,onChange:e=>{console.log("Checkbox changed:",e),o&&o(e)},onClick:s,label:e})})]})});Sr.displayName="MenuItem";const Or=c`
675
+ `,zr=d(({label:t,checked:i=!1,showCheckbox:o=!1,onClick:n,onCheckChange:l,active:a=!1,className:s},d)=>{const c=e=>{console.log("Checkbox clicked!"),e.stopPropagation()};return e(Nr,{ref:d,active:a,showCheckbox:o,className:s,onClick:()=>{console.log("MenuItem clicked!"),n&&n()},role:"button",tabIndex:0,children:[!o&&r(_r,{children:t}),o&&r(Br,{onClick:c,children:r(ze,{checked:i,onChange:e=>{console.log("Checkbox changed:",e),l&&l(e)},onClick:c,label:t})})]})});zr.displayName="MenuItem";const Hr=n`
676
676
  body.stop-scrolling {
677
677
  overflow: hidden;
678
678
  }
679
- `,Pr=h`
679
+ `,Tr=l`
680
680
  from {
681
681
  opacity: 0;
682
682
  }
683
683
  to {
684
684
  opacity: 1;
685
685
  }
686
- `,Vr=h`
686
+ `,$r=l`
687
687
  from {
688
688
  opacity: 1;
689
689
  }
690
690
  to {
691
691
  opacity: 0;
692
692
  }
693
- `,Dr=h`
693
+ `,Pr=l`
694
694
  from {
695
695
  opacity: 0;
696
696
  }
697
697
  to {
698
698
  opacity: 1;
699
699
  }
700
- `,Ur=h`
700
+ `,Sr=l`
701
701
  from {
702
702
  opacity: 1;
703
703
  }
704
704
  to {
705
705
  opacity: 0;
706
706
  }
707
- `,Zr=s.div`
707
+ `,Or=i.div`
708
708
  position: fixed;
709
709
  top: 0;
710
710
  right: 0;
711
711
  bottom: 0;
712
712
  left: 0;
713
713
  z-index: 10000;
714
- animation: ${e=>e.isFadeOut?Vr:Pr} 0.3s
714
+ animation: ${e=>e.isFadeOut?$r:Tr} 0.3s
715
715
  ease forwards;
716
716
  display: flex;
717
717
  align-items: center;
718
718
  justify-content: center;
719
- `,Wr=s.button`
719
+ `,Vr=i.button`
720
720
  background-color: var(--black-500);
721
721
  position: absolute;
722
722
  top: 0;
@@ -727,9 +727,9 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
727
727
  box-shadow: none;
728
728
  border: none;
729
729
  height: 100%;
730
- animation: ${e=>e.isFadeOut?Ur:Dr}
730
+ animation: ${e=>e.isFadeOut?Sr:Pr}
731
731
  0.3s ease forwards;
732
- `,Gr=s.div`
732
+ `,Dr=i.div`
733
733
  position: relative;
734
734
  background: var(--theme-background, var(--white-900));
735
735
  border-radius: var(--theme-radius-large, 16px);
@@ -749,14 +749,14 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
749
749
  @media (max-width: 767px) {
750
750
  width: calc(100% - 40px) !important;
751
751
  }
752
- `,Kr=s.div`
752
+ `,Ur=i.div`
753
753
  display: flex;
754
754
  flex-direction: row;
755
755
  justify-content: space-between;
756
756
  align-items: center;
757
757
  padding: 12px 24px;
758
758
  border-bottom: 1px solid var(--grey-100);
759
- `,Fr=s.h3`
759
+ `,Zr=i.h3`
760
760
  margin: 0;
761
761
  font-family: "Inter", sans-serif;
762
762
  font-size: 18px;
@@ -764,7 +764,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
764
764
  font-weight: 500;
765
765
  line-height: 28px;
766
766
  color: var(--black-900);
767
- `,Yr=s.button`
767
+ `,Gr=i.button`
768
768
  background: none;
769
769
  border: none;
770
770
  cursor: pointer;
@@ -784,7 +784,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
784
784
  width: 20px;
785
785
  height: 20px;
786
786
  }
787
- `,Xr=s.div`
787
+ `,Wr=i.div`
788
788
  padding: 12px;
789
789
  display: flex;
790
790
  justify-content: flex-end;
@@ -798,7 +798,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
798
798
  width: 100%;
799
799
  }
800
800
  }
801
- `,qr=s.div`
801
+ `,jr=i.div`
802
802
  color: var(--grey-500);
803
803
  font-family: "Inter", sans-serif;
804
804
  font-size: 14px;
@@ -809,7 +809,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
809
809
  overflow-y: auto;
810
810
  flex: 1;
811
811
  max-height: calc(90vh - 140px); /* Account for header and footer */
812
- `,Qr=({isOpen:e,onClose:r,onCloseLabel:n,onConfirm:a,onConfirmLabel:l,children:s,width:d="400px",className:c="",hideActions:h=!1,title:p})=>{const[x,g]=t(!1),[f,u]=t(!1),m=i(null);o(()=>{if(e)g(!0),u(!1);else{if(!x)return;u(!0),m.current=setTimeout(()=>{g(!1)},300)}return()=>{m.current&&clearTimeout(m.current)}},[e,x]),o(()=>(x?"undefined"!=typeof document&&document.body.classList.add("stop-scrolling"):"undefined"!=typeof document&&document.body.classList.remove("stop-scrolling"),()=>{"undefined"!=typeof document&&document.body.classList.remove("stop-scrolling")}),[x]);const b=()=>{u(!0),m.current=setTimeout(()=>{r()},300)};return x&&M.jsxs(M.Fragment,{children:[M.jsx(Or,{}),M.jsxs(Zr,{isFadeOut:f,className:c,children:[M.jsx(Wr,{isFadeOut:f,onClick:b}),M.jsxs(Gr,{isFadeOut:f,width:d,children:[p&&M.jsxs(Kr,{children:[M.jsx(Fr,{children:p}),M.jsx(Yr,{onClick:b,children:M.jsx(Ne,{name:Ie.CLOSE})})]}),!p&&M.jsx(Yr,{onClick:b,style:{position:"absolute",top:"16px",right:"16px"},children:M.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[M.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),M.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),M.jsx(qr,{children:s}),!h&&M.jsxs(Xr,{children:[M.jsx(B,{variant:"tertiary",onClick:b,className:"button",size:"medium",fullWidth:!0,children:n||"Cancel"}),M.jsx(B,{variant:"primary",onClick:a,className:"button",size:"medium",fullWidth:!0,children:l||"Confirm"})]})]})]})]})},Jr=s.div`
812
+ `,Kr=({isOpen:i,onClose:o,onCloseLabel:n,onConfirm:l,onConfirmLabel:a,children:s,width:d="400px",className:g="",hideActions:f=!1,title:u})=>{const[C,x]=c(!1),[m,b]=c(!1),v=h(null);p(()=>{if(i)x(!0),b(!1);else{if(!C)return;b(!0),v.current=setTimeout(()=>{x(!1)},300)}return()=>{v.current&&clearTimeout(v.current)}},[i,C]),p(()=>(C?"undefined"!=typeof document&&document.body.classList.add("stop-scrolling"):"undefined"!=typeof document&&document.body.classList.remove("stop-scrolling"),()=>{"undefined"!=typeof document&&document.body.classList.remove("stop-scrolling")}),[C]);const w=()=>{b(!0),v.current=setTimeout(()=>{o()},300)};return C&&e(t,{children:[r(Hr,{}),e(Or,{isFadeOut:m,className:g,children:[r(Vr,{isFadeOut:m,onClick:w}),e(Dr,{isFadeOut:m,width:d,children:[u&&e(Ur,{children:[r(Zr,{children:u}),r(Gr,{onClick:w,children:r(Ae,{name:Me.CLOSE})})]}),!u&&r(Gr,{onClick:w,style:{position:"absolute",top:"16px",right:"16px"},children:e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[r("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),r(jr,{children:s}),!f&&e(Wr,{children:[r(N,{variant:"tertiary",onClick:w,className:"button",size:"medium",fullWidth:!0,children:n||"Cancel"}),r(N,{variant:"primary",onClick:l,className:"button",size:"medium",fullWidth:!0,children:a||"Confirm"})]})]})]})]})},Yr=i.div`
813
813
  position: absolute;
814
814
  background-color: var(--white-900);
815
815
  border-radius: 8px;
@@ -825,12 +825,12 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
825
825
  padding: 0;
826
826
  font-family: "Inter", sans-serif;
827
827
 
828
- ${e=>e.isVisible&&d`
828
+ ${e=>e.isVisible&&o`
829
829
  opacity: 1;
830
830
  visibility: visible;
831
831
  `}
832
832
 
833
- ${e=>{switch(e.placement){case"top":return d`
833
+ ${e=>{switch(e.placement){case"top":return o`
834
834
  bottom: 100%;
835
835
  left: 50%;
836
836
  transform: translateX(-50%) translateY(-15px);
@@ -845,7 +845,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
845
845
  border-style: solid;
846
846
  border-color: var(--white-900) transparent transparent transparent;
847
847
  }
848
- `;case"topLeft":return d`
848
+ `;case"topLeft":return o`
849
849
  bottom: 100%;
850
850
  left: 0;
851
851
  transform: translateY(-15px);
@@ -859,7 +859,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
859
859
  border-style: solid;
860
860
  border-color: var(--white-900) transparent transparent transparent;
861
861
  }
862
- `;case"topRight":return d`
862
+ `;case"topRight":return o`
863
863
  bottom: 100%;
864
864
  right: 0;
865
865
  transform: translateY(-15px);
@@ -873,7 +873,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
873
873
  border-style: solid;
874
874
  border-color: var(--white-900) transparent transparent transparent;
875
875
  }
876
- `;case"left":return d`
876
+ `;case"left":return o`
877
877
  top: 50%;
878
878
  right: 100%;
879
879
  transform: translateY(-50%) translateX(-15px);
@@ -888,7 +888,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
888
888
  border-style: solid;
889
889
  border-color: transparent transparent transparent var(--white-900);
890
890
  }
891
- `;case"leftTop":return d`
891
+ `;case"leftTop":return o`
892
892
  top: 0;
893
893
  right: 100%;
894
894
  transform: translateX(-15px);
@@ -902,7 +902,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
902
902
  border-style: solid;
903
903
  border-color: transparent transparent transparent var(--white-900);
904
904
  }
905
- `;case"leftBottom":return d`
905
+ `;case"leftBottom":return o`
906
906
  bottom: 0;
907
907
  right: 100%;
908
908
  transform: translateX(-15px);
@@ -916,7 +916,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
916
916
  border-style: solid;
917
917
  border-color: transparent transparent transparent var(--white-900);
918
918
  }
919
- `;case"right":return d`
919
+ `;case"right":return o`
920
920
  top: 50%;
921
921
  left: 100%;
922
922
  transform: translateY(-50%) translateX(15px);
@@ -931,7 +931,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
931
931
  border-style: solid;
932
932
  border-color: transparent var(--white-900) transparent transparent;
933
933
  }
934
- `;case"rightTop":return d`
934
+ `;case"rightTop":return o`
935
935
  top: 0;
936
936
  left: 100%;
937
937
  transform: translateX(15px);
@@ -945,7 +945,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
945
945
  border-style: solid;
946
946
  border-color: transparent var(--white-900) transparent transparent;
947
947
  }
948
- `;case"rightBottom":return d`
948
+ `;case"rightBottom":return o`
949
949
  bottom: 0;
950
950
  left: 100%;
951
951
  transform: translateX(15px);
@@ -959,7 +959,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
959
959
  border-style: solid;
960
960
  border-color: transparent var(--white-900) transparent transparent;
961
961
  }
962
- `;case"bottom":return d`
962
+ `;case"bottom":return o`
963
963
  top: 100%;
964
964
  left: 50%;
965
965
  transform: translateX(-50%) translateY(15px);
@@ -974,7 +974,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
974
974
  border-style: solid;
975
975
  border-color: transparent transparent var(--white-900) transparent;
976
976
  }
977
- `;case"bottomLeft":return d`
977
+ `;case"bottomLeft":return o`
978
978
  top: 100%;
979
979
  left: 0;
980
980
  transform: translateY(15px);
@@ -988,7 +988,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
988
988
  border-style: solid;
989
989
  border-color: transparent transparent var(--white-900) transparent;
990
990
  }
991
- `;case"bottomRight":return d`
991
+ `;case"bottomRight":return o`
992
992
  top: 100%;
993
993
  right: 0;
994
994
  transform: translateY(15px);
@@ -1003,25 +1003,25 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1003
1003
  border-color: transparent transparent var(--white-900) transparent;
1004
1004
  }
1005
1005
  `;default:return""}}}
1006
- `,et=s.div`
1006
+ `,Fr=i.div`
1007
1007
  padding: 12px 16px;
1008
1008
  color: var(--black-800);
1009
1009
  font-weight: 600;
1010
1010
  font-size: 14px;
1011
1011
  border-bottom: 1px solid var(--grey-100);
1012
- `,rt=s.div`
1012
+ `,Xr=i.div`
1013
1013
  padding: 12px 16px;
1014
1014
  color: var(--grey-600);
1015
1015
  font-size: 14px;
1016
- `,tt=s.div`
1016
+ `,qr=i.div`
1017
1017
  display: flex;
1018
1018
  justify-content: flex-end;
1019
1019
  gap: 8px;
1020
1020
  padding: 8px 16px 12px;
1021
- `,it=s.div`
1021
+ `,Qr=i.div`
1022
1022
  position: relative;
1023
1023
  display: inline-block;
1024
- `,ot=({title:e,description:r,onConfirm:n,onCancel:a,okText:l="OK",cancelText:s="Cancel",placement:d="top",children:c,className:h,okButtonProps:p,cancelButtonProps:x,...g})=>{const[f,u]=t(!1),m=i(null);o(()=>{const e=e=>{m.current&&!m.current.contains(e.target)&&u(!1)};return f&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[f]);return M.jsxs(it,{ref:m,className:h,...g,children:[M.jsx("div",{onClick:()=>{u(!f)},children:c}),M.jsxs(Jr,{placement:d,isVisible:f,children:[e&&M.jsx(et,{children:e}),r&&M.jsx(rt,{children:r}),M.jsxs(tt,{children:[M.jsx(B,{variant:"tertiary",size:"small",onClick:e=>{u(!1),a?.(e)},...x,children:s}),M.jsx(B,{variant:"primary",size:"small",onClick:e=>{u(!1),n?.(e)},...p,children:l})]})]})]})};ot.displayName="PopConfirm";const nt=s.div`
1024
+ `,Jr=({title:t,description:i,onConfirm:o,onCancel:n,okText:l="OK",cancelText:a="Cancel",placement:s="top",children:d,className:g,okButtonProps:f,cancelButtonProps:u,...C})=>{const[x,m]=c(!1),b=h(null);p(()=>{const e=e=>{b.current&&!b.current.contains(e.target)&&m(!1)};return x&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[x]);return e(Qr,{ref:b,className:g,...C,children:[r("div",{onClick:()=>{m(!x)},children:d}),e(Yr,{placement:s,isVisible:x,children:[t&&r(Fr,{children:t}),i&&r(Xr,{children:i}),e(qr,{children:[r(N,{variant:"tertiary",size:"small",onClick:e=>{m(!1),n?.(e)},...u,children:a}),r(N,{variant:"primary",size:"small",onClick:e=>{m(!1),o?.(e)},...f,children:l})]})]})]})};Jr.displayName="PopConfirm";const et=i.div`
1025
1025
  display: flex;
1026
1026
  align-items: center;
1027
1027
  gap: 6px;
@@ -1032,19 +1032,19 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1032
1032
  font-style: normal;
1033
1033
  font-weight: 400;
1034
1034
  line-height: 18px;
1035
- `,at=()=>M.jsx(Ne,{name:Ie.CHECK_CIRCLE,fill:"var(--grey-600)"}),lt=({children:e,showCheck:r=!1,className:t})=>M.jsxs(nt,{className:t,children:[r&&M.jsx(at,{}),e]}),st={small:d`
1035
+ `,rt=()=>r(Ae,{name:Me.CHECK_CIRCLE,fill:"var(--grey-600)"}),tt=({children:t,showCheck:i=!1,className:o})=>e(et,{className:o,children:[i&&r(rt,{}),t]}),it={small:o`
1036
1036
  font-family: "Inter", sans-serif;
1037
1037
  font-size: 14px;
1038
1038
  font-style: normal;
1039
1039
  font-weight: 600;
1040
1040
  line-height: 20px;
1041
- `,medium:d`
1041
+ `,medium:o`
1042
1042
  font-family: "Inter", sans-serif;
1043
1043
  font-size: 16px;
1044
1044
  font-style: normal;
1045
1045
  font-weight: 500;
1046
1046
  line-height: 24px;
1047
- `},dt=s.button`
1047
+ `},ot=i.button`
1048
1048
  position: relative;
1049
1049
  display: inline-flex;
1050
1050
  align-items: center;
@@ -1054,7 +1054,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1054
1054
  border: none;
1055
1055
  outline: none;
1056
1056
  cursor: ${e=>e.disabled?"not-allowed":"pointer"};
1057
- ${e=>st[e.size]}
1057
+ ${e=>it[e.size]}
1058
1058
  color: ${e=>e.disabled?"var(--grey-400)":e.active?"var(--blue-900)":"var(--grey-500)"};
1059
1059
  transition: all 0.2s ease;
1060
1060
 
@@ -1078,7 +1078,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1078
1078
  outline: none;
1079
1079
  box-shadow: none;
1080
1080
  }
1081
- `,ct=({label:e,active:r=!1,disabled:t=!1,size:i="medium",onClick:o})=>M.jsx(dt,{active:r,disabled:t,size:i,onClick:o,children:e}),ht=s.td`
1081
+ `,nt=({label:e,active:t=!1,disabled:i=!1,size:o="medium",onClick:n})=>r(ot,{active:t,disabled:i,size:o,onClick:n,children:e}),lt=i.td`
1082
1082
  background-color: var(--white-900);
1083
1083
  border-right: 1px solid var(--grey-200);
1084
1084
  border-bottom: 1px solid var(--grey-200);
@@ -1097,7 +1097,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1097
1097
  &:last-child {
1098
1098
  border-right: 1px solid var(--grey-200);
1099
1099
  }
1100
- `,pt=r(({children:e,align:r="left",width:t,className:i,...o},n)=>M.jsx(ht,{ref:n,align:r,width:t,className:i,...o,children:e}));pt.displayName="TableCell";const xt=s.th`
1100
+ `,at=d(({children:e,align:t="left",width:i,className:o,...n},l)=>r(lt,{ref:l,align:t,width:i,className:o,...n,children:e}));at.displayName="TableCell";const st=i.th`
1101
1101
  background-color: var(--grey-50);
1102
1102
  border-right: 1px solid var(--grey-200);
1103
1103
  border-bottom: 1px solid var(--grey-200);
@@ -1109,13 +1109,13 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1109
1109
  &:last-child {
1110
1110
  border-right: 1px solid var(--grey-200);
1111
1111
  }
1112
- `,gt=s.div`
1112
+ `,dt=i.div`
1113
1113
  display: flex;
1114
1114
  align-items: center;
1115
1115
  gap: 4px;
1116
1116
  cursor: ${e=>e.clickable?"pointer":"default"};
1117
1117
  user-select: none;
1118
- `,ft=s.span`
1118
+ `,ct=i.span`
1119
1119
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
1120
1120
  font-size: 13px;
1121
1121
  font-weight: 600;
@@ -1123,11 +1123,11 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1123
1123
  color: var(--grey-900);
1124
1124
  white-space: nowrap;
1125
1125
  flex-shrink: 0;
1126
- `,ut=s.svg`
1126
+ `,ht=i.svg`
1127
1127
  width: 16px;
1128
1128
  height: 16px;
1129
1129
  flex-shrink: 0;
1130
- `,mt=s.div`
1130
+ `,pt=i.div`
1131
1131
  padding: 10px 4px;
1132
1132
  height: 35px;
1133
1133
  box-sizing: border-box;
@@ -1142,19 +1142,19 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1142
1142
  li {
1143
1143
  text-align: left;
1144
1144
  }
1145
- `,bt=r(({children:e,sortable:r=!1,sortDirection:t=null,onSort:i,filterable:o=!1,filterOptions:n=[],filterValue:a,onFilterChange:l,width:s,className:d,...c},h)=>o?M.jsx(xt,{ref:h,width:s,className:d,...c,children:M.jsx(mt,{children:M.jsx(or,{options:n,value:a,onChange:l,placeholder:"Placeholder",size:"small",width:"100%"})})}):M.jsx(xt,{ref:h,width:s,className:d,...c,children:M.jsxs(gt,{clickable:r,onClick:()=>{r&&i&&i()},children:[M.jsx(ft,{children:e}),r&&M.jsxs(ut,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[M.jsx("path",{d:"M8 3.33337L10.6667 6.00004H5.33333L8 3.33337Z",fill:"asc"===t?"var(--grey-900)":"var(--grey-400)"}),M.jsx("path",{d:"M8 12.6667L5.33333 10H10.6667L8 12.6667Z",fill:"desc"===t?"var(--grey-900)":"var(--grey-400)"})]})]})}));bt.displayName="TableHeaderCell";const Ct={xsmall:d`
1145
+ `,gt=d(({children:t,sortable:i=!1,sortDirection:o=null,onSort:n,filterable:l=!1,filterOptions:a=[],filterValue:s,onFilterChange:d,width:c,className:h,...p},g)=>r(st,l?{ref:g,width:c,className:h,...p,children:r(pt,{children:r(Je,{options:a,value:s,onChange:d,placeholder:"Placeholder",size:"small",width:"100%"})})}:{ref:g,width:c,className:h,...p,children:e(dt,{clickable:i,onClick:()=>{i&&n&&n()},children:[r(ct,{children:t}),i&&e(ht,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r("path",{d:"M8 3.33337L10.6667 6.00004H5.33333L8 3.33337Z",fill:"asc"===o?"var(--grey-900)":"var(--grey-400)"}),r("path",{d:"M8 12.6667L5.33333 10H10.6667L8 12.6667Z",fill:"desc"===o?"var(--grey-900)":"var(--grey-400)"})]})]})}));gt.displayName="TableHeaderCell";const ft={xsmall:o`
1146
1146
  min-height: ${e=>e.rows?"auto":"80px"};
1147
1147
  padding: 10px;
1148
- `,small:d`
1148
+ `,small:o`
1149
1149
  min-height: ${e=>e.rows?"auto":"100px"};
1150
1150
  padding: 12px;
1151
- `},vt=s.div`
1151
+ `},ut=i.div`
1152
1152
  position: relative;
1153
1153
  display: inline-flex;
1154
1154
  align-items: center;
1155
1155
  width: ${e=>e.fullWidth?"100%":"auto"};
1156
1156
  gap: 8px;
1157
- `,yt=s.textarea`
1157
+ `,Ct=i.textarea`
1158
1158
  width: 100%;
1159
1159
  border-radius: 6px;
1160
1160
  font-family: "Inter", sans-serif;
@@ -1169,7 +1169,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1169
1169
  resize: vertical;
1170
1170
  font-size: 14px;
1171
1171
 
1172
- ${e=>Ct[e.size||"small"]}
1172
+ ${e=>ft[e.size||"small"]}
1173
1173
 
1174
1174
  &:hover:not(:disabled):not(:focus) {
1175
1175
  border-color: ${e=>e.error?"var(--red-error)":"var(--blue-600)"};
@@ -1197,22 +1197,22 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1197
1197
  &::placeholder {
1198
1198
  color: var(--grey-400);
1199
1199
  }
1200
- `,wt=r(({size:e="small",error:r=!1,disabled:t=!1,fullWidth:i=!1,rows:o,...n},a)=>M.jsx(vt,{fullWidth:i,disabled:t,error:r,children:M.jsx(yt,{ref:a,size:e,error:r,disabled:t,rows:o,...n})}));wt.displayName="Textarea";const jt={info:{backgroundColor:"var(--blue-100)",borderColor:"var(--blue-600)",iconColor:"var(--blue-600)"},success:{backgroundColor:"var(--green-bg)",borderColor:"var(--green-success)",iconColor:"var(--green-success)"},warning:{backgroundColor:"var(--orange-bg)",borderColor:"var(--orange-caution)",iconColor:"var(--orange-caution)"},danger:{backgroundColor:"var(--red-bg)",borderColor:"var(--red-error)",iconColor:"var(--red-error)"},default:{backgroundColor:"var(--white-900)",borderColor:"var(--grey-300)",iconColor:"var(--grey-600)"}},kt=s.div`
1200
+ `,xt=d(({size:e="small",error:t=!1,disabled:i=!1,fullWidth:o=!1,rows:n,...l},a)=>r(ut,{fullWidth:o,disabled:i,error:t,children:r(Ct,{ref:a,size:e,error:t,disabled:i,rows:n,...l})}));xt.displayName="Textarea";const mt={info:{backgroundColor:"var(--blue-100)",borderColor:"var(--blue-600)",iconColor:"var(--blue-600)"},success:{backgroundColor:"var(--green-bg)",borderColor:"var(--green-success)",iconColor:"var(--green-success)"},warning:{backgroundColor:"var(--orange-bg)",borderColor:"var(--orange-caution)",iconColor:"var(--orange-caution)"},danger:{backgroundColor:"var(--red-bg)",borderColor:"var(--red-error)",iconColor:"var(--red-error)"},default:{backgroundColor:"var(--white-900)",borderColor:"var(--grey-300)",iconColor:"var(--grey-600)"}},bt=i.div`
1201
1201
  display: flex;
1202
1202
  padding: 8px;
1203
1203
  gap: 8px;
1204
1204
  align-items: flex-start;
1205
1205
  border-radius: 8px;
1206
- background-color: ${e=>jt[e.type].backgroundColor};
1207
- border: 1px solid ${e=>jt[e.type].borderColor};
1206
+ background-color: ${e=>mt[e.type].backgroundColor};
1207
+ border: 1px solid ${e=>mt[e.type].borderColor};
1208
1208
  width: 100%;
1209
1209
  box-sizing: border-box;
1210
- `,Et=s.div`
1210
+ `,vt=i.div`
1211
1211
  display: flex;
1212
1212
  flex-direction: column;
1213
1213
  gap: 4px;
1214
1214
  flex: 1;
1215
- `,Lt=s.h3`
1215
+ `,wt=i.h3`
1216
1216
  margin: 0;
1217
1217
  color: var(--black-900);
1218
1218
  font-family: "Inter", sans-serif;
@@ -1220,7 +1220,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1220
1220
  font-style: normal;
1221
1221
  font-weight: 400;
1222
1222
  line-height: 24px;
1223
- `,Mt=s.p`
1223
+ `,yt=i.p`
1224
1224
  margin: 0;
1225
1225
  color: var(--grey-500);
1226
1226
  text-overflow: ellipsis;
@@ -1229,13 +1229,13 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1229
1229
  font-style: normal;
1230
1230
  font-weight: 400;
1231
1231
  line-height: 18px;
1232
- `,_t=({color:e})=>M.jsx(Ne,{name:Ie.INFORMATION_CIRCLE,fill:e}),At=({color:e})=>M.jsx(Ne,{name:Ie.CHECK_CIRCLE,fill:e}),Rt=({color:e})=>M.jsx(Ne,{name:Ie.EXCLAMATION_TRIANGLE,fill:e}),It=({color:e})=>M.jsx(Ne,{name:Ie.EXCLAMATION_CIRCLE,fill:e}),Nt=({color:e})=>M.jsx(Ne,{name:Ie.EXCLAMATION_TRIANGLE,fill:e}),Tt=(e,r)=>{switch(e){case"info":return M.jsx(_t,{color:r});case"success":return M.jsx(At,{color:r});case"warning":return M.jsx(Rt,{color:r});case"danger":return M.jsx(It,{color:r});default:return M.jsx(Nt,{color:r})}},zt=({type:e="default",heading:r,description:t,className:i})=>M.jsxs(kt,{type:e,className:i,children:[Tt(e,jt[e].iconColor),M.jsxs(Et,{children:[M.jsx(Lt,{children:r}),t&&M.jsx(Mt,{children:t})]})]}),Bt=s.div`
1232
+ `,kt=({color:e})=>r(Ae,{name:Me.INFORMATION_CIRCLE,fill:e}),Lt=({color:e})=>r(Ae,{name:Me.CHECK_CIRCLE,fill:e}),Et=({color:e})=>r(Ae,{name:Me.EXCLAMATION_TRIANGLE,fill:e}),Mt=({color:e})=>r(Ae,{name:Me.EXCLAMATION_CIRCLE,fill:e}),At=({color:e})=>r(Ae,{name:Me.EXCLAMATION_TRIANGLE,fill:e}),It=(e,t)=>{switch(e){case"info":return r(kt,{color:t});case"success":return r(Lt,{color:t});case"warning":return r(Et,{color:t});case"danger":return r(Mt,{color:t});default:return r(At,{color:t})}},Rt=({type:t="default",heading:i,description:o,className:n})=>e(bt,{type:t,className:n,children:[It(t,mt[t].iconColor),e(vt,{children:[r(wt,{children:i}),o&&r(yt,{children:o})]})]}),Nt=i.div`
1233
1233
  display: flex;
1234
1234
  align-items: center;
1235
1235
  gap: 8px;
1236
1236
  opacity: ${({disabled:e})=>e?.6:1};
1237
1237
  cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
1238
- `,Ht=s.div`
1238
+ `,_t=i.div`
1239
1239
  position: relative;
1240
1240
  width: 32px;
1241
1241
  height: 20px;
@@ -1245,7 +1245,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1245
1245
  transition: all 0.2s ease;
1246
1246
  cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
1247
1247
  box-sizing: border-box;
1248
- `,$t=s.div`
1248
+ `,Bt=i.div`
1249
1249
  position: absolute;
1250
1250
  top: 0px;
1251
1251
  left: ${({checked:e})=>e?"12px":"0px"};
@@ -1255,7 +1255,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1255
1255
  border-radius: 50%;
1256
1256
  box-shadow: 0 1px 3px var(--black-300);
1257
1257
  transition: all 0.2s ease;
1258
- `,St=s.span`
1258
+ `,zt=i.span`
1259
1259
  font-size: 16px;
1260
1260
  font-style: normal;
1261
1261
  font-weight: 400;
@@ -1263,7 +1263,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1263
1263
  user-select: none;
1264
1264
  pointer-events: none;
1265
1265
  color: var(--grey-500);
1266
- `,Ot=({checked:e=!1,onChange:r,disabled:i=!1,label:o,className:n})=>{const[a,l]=t(e);return M.jsxs(Bt,{disabled:i,className:n,onClick:()=>{if(i)return;const e=!a;l(e),r?.(e)},children:[M.jsx(Ht,{checked:a,disabled:i,children:M.jsx($t,{checked:a})}),o&&M.jsx(St,{children:o})]})},Pt=s.div`
1266
+ `,Ht=({checked:t=!1,onChange:i,disabled:o=!1,label:n,className:l})=>{const[a,s]=c(t);return e(Nt,{disabled:o,className:l,onClick:()=>{if(o)return;const e=!a;s(e),i?.(e)},children:[r(_t,{checked:a,disabled:o,children:r(Bt,{checked:a})}),n&&r(zt,{children:n})]})},Tt=i.div`
1267
1267
  display: flex;
1268
1268
  align-items: center;
1269
1269
  justify-content: space-between;
@@ -1273,18 +1273,18 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1273
1273
  box-sizing: border-box;
1274
1274
  border-bottom: 1px solid var(--grey-200);
1275
1275
  background-color: var(--white-900);
1276
- `,Vt=s.div`
1276
+ `,$t=i.div`
1277
1277
  color: var(--black-900);
1278
1278
  font-family: "Inter", sans-serif;
1279
1279
  font-size: 18px;
1280
1280
  font-style: normal;
1281
1281
  font-weight: 500;
1282
1282
  line-height: 28px;
1283
- `,Dt=s.div`
1283
+ `,Pt=i.div`
1284
1284
  display: flex;
1285
1285
  align-items: center;
1286
1286
  gap: 12px;
1287
- `,Ut=s.div`
1287
+ `,St=i.div`
1288
1288
  display: flex;
1289
1289
  align-items: center;
1290
1290
  gap: 12px;
@@ -1294,7 +1294,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1294
1294
  &:hover {
1295
1295
  background-color: var(--grey-100);
1296
1296
  }
1297
- `,Zt=s.div`
1297
+ `,Ot=i.div`
1298
1298
  width: 32px;
1299
1299
  height: 32px;
1300
1300
  border-radius: 50%;
@@ -1309,25 +1309,25 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1309
1309
  font-weight: 500;
1310
1310
  font-size: 14px;
1311
1311
  font-family: "Inter", sans-serif;
1312
- `,Wt=s.div`
1312
+ `,Vt=i.div`
1313
1313
  font-family: "Inter", sans-serif;
1314
1314
  color: var(--grey-400);
1315
1315
  font-size: 16px;
1316
1316
  font-style: normal;
1317
1317
  font-weight: 400;
1318
1318
  line-height: 24px;
1319
- `,Gt=s(B)`
1319
+ `,Dt=i(N)`
1320
1320
  width: 32px;
1321
1321
  height: 32px;
1322
1322
  padding: 0;
1323
1323
  min-height: 0;
1324
1324
  border-radius: 4px;
1325
- `,Kt=s.div`
1325
+ `,Ut=i.div`
1326
1326
  height: 20px;
1327
1327
  width: 1px;
1328
1328
  background-color: var(--grey-200);
1329
1329
  margin: 0;
1330
- `,Ft=({hostname:e,userProfile:r,onHomeClick:t,onSettingsClick:i,onUserProfileClick:o})=>{return M.jsxs(Pt,{children:[M.jsx(Vt,{children:e}),M.jsxs(Dt,{children:[M.jsx(Gt,{variant:"tertiary",size:"small",onClick:t,"aria-label":"Home",children:M.jsx(Ne,{name:Ie.HOME,width:"20",height:"20",fill:"var(--grey-600)"})}),M.jsx(Gt,{variant:"tertiary",size:"small",onClick:i,"aria-label":"Settings",children:M.jsx(Ne,{name:Ie.GEAR,width:"20",height:"20",fill:"var(--grey-600)"})}),M.jsx(Kt,{}),M.jsxs(Ut,{onClick:o,children:[M.jsx(Zt,{src:r.avatar,children:!r.avatar&&(n=r.name,n.split(" ").map(e=>e.charAt(0)).join("").toUpperCase().substring(0,2))}),M.jsx(Wt,{children:r.name})]})]})]});var n},Yt=s.div`
1330
+ `,Zt=({hostname:t,userProfile:i,onHomeClick:o,onSettingsClick:n,onUserProfileClick:l})=>{return e(Tt,{children:[r($t,{children:t}),e(Pt,{children:[r(Dt,{variant:"tertiary",size:"small",onClick:o,"aria-label":"Home",children:r(Ae,{name:Me.HOME,width:"20",height:"20",fill:"var(--grey-600)"})}),r(Dt,{variant:"tertiary",size:"small",onClick:n,"aria-label":"Settings",children:r(Ae,{name:Me.GEAR,width:"20",height:"20",fill:"var(--grey-600)"})}),r(Ut,{}),e(St,{onClick:l,children:[r(Ot,{src:i.avatar,children:!i.avatar&&(a=i.name,a.split(" ").map(e=>e.charAt(0)).join("").toUpperCase().substring(0,2))}),r(Vt,{children:i.name})]})]})]});var a},Gt=i.div`
1331
1331
  position: fixed;
1332
1332
  top: 0;
1333
1333
  left: 0;
@@ -1338,7 +1338,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1338
1338
  display: flex;
1339
1339
  align-items: center;
1340
1340
  justify-content: center;
1341
- `,Xt=s.div`
1341
+ `,Wt=i.div`
1342
1342
  background: var(--white-900);
1343
1343
  border-radius: 20px;
1344
1344
  box-shadow: 0 2px 16px var(--black-100);
@@ -1348,24 +1348,24 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1348
1348
  padding: 0;
1349
1349
  display: flex;
1350
1350
  flex-direction: column;
1351
- `,qt=s.div`
1351
+ `,jt=i.div`
1352
1352
  display: flex;
1353
1353
  align-items: center;
1354
1354
  justify-content: space-between;
1355
1355
  padding: 20px 24px 0 24px;
1356
- `,Qt=s.div`
1356
+ `,Kt=i.div`
1357
1357
  display: flex;
1358
1358
  align-items: center;
1359
1359
  gap: 8px;
1360
- `,Jt=s.span`
1360
+ `,Yt=i.span`
1361
1361
  font-weight: 600;
1362
1362
  font-size: 20px;
1363
- `,ei=s.button`
1363
+ `,Ft=i.button`
1364
1364
  background: none;
1365
1365
  border: none;
1366
1366
  font-size: 20px;
1367
1367
  cursor: pointer;
1368
- `,ri=s.div`
1368
+ `,Xt=i.div`
1369
1369
  padding: 24px;
1370
1370
 
1371
1371
  color: var(--black-900);
@@ -1374,7 +1374,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1374
1374
  font-style: normal;
1375
1375
  font-weight: 400;
1376
1376
  line-height: 20px;
1377
- `,ti=s.div`
1377
+ `,qt=i.div`
1378
1378
  margin: 0 24px;
1379
1379
  background: var(--blue-900);
1380
1380
  color: var(--white-900);
@@ -1384,7 +1384,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1384
1384
  font-weight: 500;
1385
1385
  word-break: break-word;
1386
1386
  box-shadow: 0 1px 4px var(--black-50);
1387
- `,ii=s.textarea`
1387
+ `,Qt=i.textarea`
1388
1388
  width: 100%;
1389
1389
  min-height: 48px;
1390
1390
  background: transparent;
@@ -1400,17 +1400,17 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1400
1400
  padding: 16px 20px;
1401
1401
  border-radius: 12px;
1402
1402
  box-sizing: border-box;
1403
- `,oi=s.div`
1403
+ `,Jt=i.div`
1404
1404
  padding: 24px;
1405
1405
  padding-bottom: 0;
1406
1406
  flex: 1;
1407
- `,ni=s.div`
1407
+ `,ei=i.div`
1408
1408
  border-radius: 20px;
1409
1409
  overflow: hidden;
1410
1410
  background: var(--blue-900);
1411
1411
  min-height: 200px;
1412
1412
  position: relative;
1413
- `,ai=s.div`
1413
+ `,ri=i.div`
1414
1414
  display: flex;
1415
1415
  align-items: center;
1416
1416
  gap: 12px;
@@ -1419,12 +1419,12 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1419
1419
  background: var(--white-900);
1420
1420
  border-bottom-left-radius: 20px;
1421
1421
  border-bottom-right-radius: 20px;
1422
- `,li=s(B)`
1422
+ `,ti=i(N)`
1423
1423
  min-width: 100px;
1424
1424
  display: flex;
1425
1425
  align-items: center;
1426
1426
  gap: 6px;
1427
- `,si=({open:r,title:i,prompt:o,initialCode:n="",userQuery:a="",onUserQueryChange:l,onCopy:s,onLaunch:d,onSend:c,onCancel:h})=>{const[p,x]=t(n),[g,f]=t(""),[u,m]=t(a);return e.useEffect(()=>{m(a)},[a]),r?M.jsx(Yt,{children:M.jsxs(Xt,{children:[M.jsxs(qt,{children:[M.jsxs(Qt,{children:[M.jsx(Ne,{name:Ie.TETRASCIENCE_ICON,fill:"var(--blue-600)"}),M.jsx(Jt,{children:i})]}),M.jsx(ei,{onClick:h,children:M.jsx(Ne,{name:Ie.CLOSE,width:"20",height:"20",fill:"var(--black-900)"})})]}),M.jsx(ri,{children:o}),M.jsx(ti,{children:M.jsx(ii,{value:u,onChange:e=>{m(e.target.value),l&&l(e.target.value)},rows:2,placeholder:"Type your question here..."})}),M.jsx(oi,{children:M.jsx(ni,{children:M.jsx(Ye,{value:p,onChange:e=>x(e??""),language:"python",theme:"dark",height:200,onCopy:s,onLaunch:d})})}),M.jsxs(ai,{children:[M.jsx(kr,{value:g,onChange:e=>f(e.target.value),placeholder:"Ask us anything related to your work...",size:"small",onKeyDown:e=>{"Enter"===e.key&&c(g)}}),M.jsxs(li,{variant:"primary",onClick:()=>c(g),children:[M.jsx(Ne,{name:Ie.PAPER_PLANE}),"Send"]})]})]})}):null},di=s.div`
1427
+ `,ii=({open:t,title:i,prompt:o,initialCode:n="",userQuery:l="",onUserQueryChange:a,onCopy:d,onLaunch:h,onSend:p,onCancel:g})=>{const[f,u]=c(n),[C,x]=c(""),[m,b]=c(l);return s.useEffect(()=>{b(l)},[l]),t?r(Gt,{children:e(Wt,{children:[e(jt,{children:[e(Kt,{children:[r(Ae,{name:Me.TETRASCIENCE_ICON,fill:"var(--blue-600)"}),r(Yt,{children:i})]}),r(Ft,{onClick:g,children:r(Ae,{name:Me.CLOSE,width:"20",height:"20",fill:"var(--black-900)"})})]}),r(Xt,{children:o}),r(qt,{children:r(Qt,{value:m,onChange:e=>{b(e.target.value),a&&a(e.target.value)},rows:2,placeholder:"Type your question here..."})}),r(Jt,{children:r(ei,{children:r(Ge,{value:f,onChange:e=>u(e??""),language:"python",theme:"dark",height:200,onCopy:d,onLaunch:h})})}),e(ri,{children:[r(br,{value:C,onChange:e=>x(e.target.value),placeholder:"Ask us anything related to your work...",size:"small",onKeyDown:e=>{"Enter"===e.key&&p(C)}}),e(ti,{variant:"primary",onClick:()=>p(C),children:[r(Ae,{name:Me.PAPER_PLANE}),"Send"]})]})]})}):null},oi=i.div`
1428
1428
  display: flex;
1429
1429
  flex-direction: ${e=>e.vertical?"column":"row"};
1430
1430
  border-radius: 6px;
@@ -1436,7 +1436,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1436
1436
  }
1437
1437
 
1438
1438
  ${e=>e.vertical&&"\n width: 40px;\n "}
1439
- `,ci=s.div`
1439
+ `,ni=i.div`
1440
1440
  &:first-child {
1441
1441
  button {
1442
1442
  ${e=>e.vertical?"border-top-right-radius: 6px;border-top-left-radius: 6px;":"border-top-left-radius: 6px;border-bottom-left-radius: 6px;"}
@@ -1448,26 +1448,26 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1448
1448
  ${e=>e.vertical?"border-bottom-right-radius: 6px;border-bottom-left-radius: 6px;":"border-top-right-radius: 6px;border-bottom-right-radius: 6px;"}
1449
1449
  }
1450
1450
  }
1451
- `,hi=({controls:e,selectedId:r,onChange:t,vertical:i=!0,disabled:o=!1})=>M.jsx(di,{vertical:i,children:e.map(e=>M.jsx(ci,{vertical:i,children:M.jsx($,{icon:e.icon,selected:r===e.id,disabled:o||e.disabled,onClick:()=>{return r=e.id,void(o||t?.(r));var r}})},e.id))}),pi=s.div`
1451
+ `,li=({controls:e,selectedId:t,onChange:i,vertical:o=!0,disabled:n=!1})=>r(oi,{vertical:o,children:e.map(e=>r(ni,{vertical:o,children:r(B,{icon:e.icon,selected:t===e.id,disabled:n||e.disabled,onClick:()=>{return r=e.id,void(n||i?.(r));var r}})},e.id))}),ai=i.div`
1452
1452
  padding: 20px 16px;
1453
1453
  border-radius: 8px;
1454
1454
  background-color: ${e=>(e=>{switch(e){case"active":return"var(--blue-100)";case"hover":return"var(--grey-100)";default:return"transparent"}})(e.status)};
1455
1455
  cursor: ${e=>"disabled"===e.status?"not-allowed":"pointer"};
1456
1456
  transition: background-color 0.2s ease;
1457
1457
 
1458
- ${e=>"default"===e.status&&d`
1458
+ ${e=>"default"===e.status&&o`
1459
1459
  &:hover {
1460
1460
  background-color: var(--grey-100);
1461
1461
  }
1462
1462
  `}
1463
- `,xi=s.h3`
1463
+ `,si=i.h3`
1464
1464
  margin: 0 0 4px 0;
1465
1465
  font-family: "Inter", sans-serif;
1466
1466
  font-size: 16px;
1467
1467
  font-weight: 600;
1468
1468
  line-height: 24px;
1469
1469
  color: ${e=>"disabled"===e.status?"var(--grey-400)":"var(--black-900)"};
1470
- `,gi=s.p`
1470
+ `,di=i.p`
1471
1471
  margin: 0 0 16px 0;
1472
1472
  font-family: "Inter", sans-serif;
1473
1473
  font-size: 13px;
@@ -1476,13 +1476,13 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1476
1476
  line-height: 18px;
1477
1477
  line-height: 20px;
1478
1478
  color: ${e=>(e.status,"var(--grey-400)")};
1479
- `,fi=s.div`
1479
+ `,ci=i.div`
1480
1480
  display: flex;
1481
1481
  align-items: center;
1482
1482
  gap: 16px;
1483
- `,ui=s(B)`
1483
+ `,hi=i(N)`
1484
1484
  flex-shrink: 0;
1485
- `,mi=s.a`
1485
+ `,pi=i.a`
1486
1486
  font-family: "Inter", sans-serif;
1487
1487
  font-size: 13px;
1488
1488
  font-style: normal;
@@ -1495,32 +1495,32 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1495
1495
  &:hover {
1496
1496
  text-decoration: ${e=>"disabled"===e.status?"none":"underline"};
1497
1497
  }
1498
- `,bi=r(({title:e,description:r,buttonText:t,linkText:i,status:o="default",onButtonClick:n,onLinkClick:a,className:l},s)=>M.jsxs(pi,{ref:s,status:o,className:l,children:[M.jsx(xi,{status:o,children:e}),r&&M.jsx(gi,{status:o,children:r}),M.jsxs(fi,{children:[t&&M.jsx(ui,{variant:"secondary",size:"small",disabled:"disabled"===o,onClick:e=>{e.stopPropagation(),"disabled"!==o&&n&&n()},leftIcon:M.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:M.jsx("rect",{x:"3",y:"3",width:"10",height:"10",rx:"2",fill:"currentColor"})}),children:t}),i&&M.jsx(mi,{status:o,onClick:e=>{e.stopPropagation(),"disabled"!==o&&a&&a()},href:"disabled"===o?void 0:"#",children:i})]})]}));bi.displayName="CardSidebar";const Ci=s.div`
1498
+ `,gi=d(({title:t,description:i,buttonText:o,linkText:n,status:l="default",onButtonClick:a,onLinkClick:s,className:d},c)=>e(ai,{ref:c,status:l,className:d,children:[r(si,{status:l,children:t}),i&&r(di,{status:l,children:i}),e(ci,{children:[o&&r(hi,{variant:"secondary",size:"small",disabled:"disabled"===l,onClick:e=>{e.stopPropagation(),"disabled"!==l&&a&&a()},leftIcon:r("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r("rect",{x:"3",y:"3",width:"10",height:"10",rx:"2",fill:"currentColor"})}),children:o}),n&&r(pi,{status:l,onClick:e=>{e.stopPropagation(),"disabled"!==l&&s&&s()},href:"disabled"===l?void 0:"#",children:n})]})]}));gi.displayName="CardSidebar";const fi=i.div`
1499
1499
  display: flex;
1500
1500
  align-items: center;
1501
1501
  flex-direction: row;
1502
1502
  gap: 16px;
1503
1503
  flex-wrap: wrap;
1504
1504
  width: 100%;
1505
- `,vi=s.div`
1505
+ `,ui=i.div`
1506
1506
  margin: 16px 0;
1507
- `,yi=s.span`
1507
+ `,Ci=i.span`
1508
1508
  font-size: 12px;
1509
1509
  color: var(--grey-400);
1510
- `,wi=({initialCode:e="",onCodeSave:r,language:i="python",buttonText:o="Edit Code",modalTitle:a="Edit Code",buttonProps:l,modalProps:s,disabled:d=!1})=>{const[c,h]=t(!1),[p,x]=t(e),g=p?p.split("\n").length:0,f=p.length,u=n(()=>{x(e),h(!0)},[e]),m=n(()=>{r&&r(p),h(!1)},[r,p]),b=n(()=>{h(!1)},[]),C=n(e=>{x(e||"")},[]);return M.jsxs(M.Fragment,{children:[M.jsxs(Ci,{children:[M.jsx(B,{leftIcon:M.jsx(Ne,{name:Ie.PENCIL}),onClick:u,size:"small",variant:"tertiary",...l,disabled:d,style:{height:38},children:o}),M.jsxs(yi,{title:`${g} lines, ${f} characters`,children:[g," lines / ",f," chars"]})]}),M.jsx(Qr,{isOpen:c,onClose:b,onConfirm:m,onCloseLabel:"Cancel",onConfirmLabel:"Save Code",title:a,width:"80%",...s,children:M.jsx(vi,{children:M.jsx(Ye,{height:"400px",language:i,value:p,onChange:C,options:{minimap:{enabled:!1}}})})})]})},ji=s.div`
1510
+ `,xi=({initialCode:i="",onCodeSave:o,language:n="python",buttonText:l="Edit Code",modalTitle:a="Edit Code",buttonProps:s,modalProps:d,disabled:h=!1})=>{const[p,f]=c(!1),[u,C]=c(i),x=u?u.split("\n").length:0,m=u.length,b=g(()=>{C(i),f(!0)},[i]),v=g(()=>{o&&o(u),f(!1)},[o,u]),w=g(()=>{f(!1)},[]),y=g(e=>{C(e||"")},[]);return e(t,{children:[e(fi,{children:[r(N,{leftIcon:r(Ae,{name:Me.PENCIL}),onClick:b,size:"small",variant:"tertiary",...s,disabled:h,style:{height:38},children:l}),e(Ci,{title:`${x} lines, ${m} characters`,children:[x," lines / ",m," chars"]})]}),r(Kr,{isOpen:p,onClose:w,onConfirm:v,onCloseLabel:"Cancel",onConfirmLabel:"Save Code",title:a,width:"80%",...d,children:r(ui,{children:r(Ge,{height:"400px",language:n,value:u,onChange:y,options:{minimap:{enabled:!1}}})})})]})},mi=i.div`
1511
1511
  display: flex;
1512
1512
  flex-direction: column;
1513
1513
  gap: 6px;
1514
1514
  width: 100%;
1515
- `,ki=s(Ar)`
1515
+ `,bi=i(Lr)`
1516
1516
  margin-bottom: 2px;
1517
- `,Ei=r(({label:e,infoText:r,supportiveText:t,showSupportiveCheck:i=!1,className:o,...n},a)=>M.jsxs(ji,{className:o,children:[M.jsx(ki,{infoText:r,children:e}),M.jsx(kr,{ref:a,...n}),t&&M.jsx(lt,{showCheck:i,children:t})]}));Ei.displayName="FormField";const Li=s.div``,Mi=s.div`
1517
+ `,vi=d(({label:t,infoText:i,supportiveText:o,showSupportiveCheck:n=!1,className:l,...a},s)=>e(mi,{className:l,children:[r(bi,{infoText:i,children:t}),r(br,{ref:s,...a}),o&&r(tt,{showCheck:n,children:o})]}));vi.displayName="FormField";const wi=i.div``,yi=i.div`
1518
1518
  display: flex;
1519
1519
  align-items: center;
1520
1520
  justify-content: space-between;
1521
1521
  margin-bottom: 16px;
1522
1522
  background-color: var(--grey-100);
1523
- `,_i=s.h1`
1523
+ `,ki=i.h1`
1524
1524
  color: var(--black-900);
1525
1525
  font-family: "Inter", sans-serif;
1526
1526
  font-size: 18px;
@@ -1528,23 +1528,23 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1528
1528
  font-weight: 600;
1529
1529
  line-height: 28px;
1530
1530
  margin: 0;
1531
- `,Ai=s.div`
1531
+ `,Li=i.div`
1532
1532
  display: flex;
1533
1533
  align-items: center;
1534
1534
  gap: 16px;
1535
- `,Ri=s.div`
1535
+ `,Ei=i.div`
1536
1536
  display: flex;
1537
1537
  align-items: center;
1538
- `,Ii=s.div`
1538
+ `,Mi=i.div`
1539
1539
  width: 1px;
1540
1540
  height: 20px;
1541
1541
  background-color: var(--grey-200);
1542
- `,Ni=s.div`
1542
+ `,Ai=i.div`
1543
1543
  position: relative;
1544
1544
  width: 100%;
1545
1545
  max-width: 100%;
1546
1546
  margin-bottom: 16px;
1547
- `,Ti=({initialCode:e="protocolSchema: v3\nname: v3\ndescription: No description\nconfig: {}\nsteps: []",onDeploy:r,versions:i=["v0.0.7","v0.0.6","v0.0.5"],currentVersion:o="v0.0.7",onVersionChange:n=()=>{}})=>{const[a,l]=t(e),[s,d]=t(!0),[c,h]=t(!1),[p,x]=t(!1),[g,f]=t(!1),[u,m]=t(!1);return M.jsxs(Li,{children:[M.jsxs(Mi,{children:[M.jsx(_i,{children:"Launch"}),M.jsxs(Ai,{children:[M.jsx(Ot,{checked:s,onChange:d,label:"Overwrite Mode",disabled:c}),M.jsx(Ii,{}),M.jsx(Ri,{children:M.jsx(or,{options:i.map(e=>({label:e,value:e})),value:o,onChange:e=>n(e),width:"150px",size:"small",disabled:c})}),M.jsx(B,{variant:"primary",size:"medium",onClick:()=>{h(!0),x(!0),f(!1),m(!1),setTimeout(()=>{x(!1);Math.random()>.3?(f(!0),m(!1)):(f(!1),m(!0)),h(!1),r&&r(),setTimeout(()=>{f(!1),m(!1)},5e3)},3e3)},disabled:c,children:"Deploy"})]})]}),p&&M.jsx(Ni,{children:M.jsx(zt,{type:"info",heading:"Building Protocol: Status=IN_PROGRESS, Phase=FINALIZING"})}),g&&M.jsx(Ni,{children:M.jsx(zt,{type:"success",heading:`Pipeline visual-pipeline-builder-protocol-${o}-pipeline deployed successfully! Deployment complete`})}),u&&M.jsx(Ni,{children:M.jsx(zt,{type:"danger",heading:`Failed to deploy pipeline visual-pipeline-builder-protocol-${o}-pipeline. Please try again.`})}),M.jsx(Ye,{value:a,onChange:e=>{void 0!==e&&l(e)},language:"yaml",theme:"light",width:"100%",onCopy:e=>{navigator.clipboard.writeText(e)},onLaunch:e=>{console.log("Launching code:",e)},disabled:!s})]})},zi=s.div`
1547
+ `,Ii=({initialCode:t="protocolSchema: v3\nname: v3\ndescription: No description\nconfig: {}\nsteps: []",onDeploy:i,versions:o=["v0.0.7","v0.0.6","v0.0.5"],currentVersion:n="v0.0.7",onVersionChange:l=()=>{}})=>{const[a,s]=c(t),[d,h]=c(!0),[p,g]=c(!1),[f,u]=c(!1),[C,x]=c(!1),[m,b]=c(!1);return e(wi,{children:[e(yi,{children:[r(ki,{children:"Launch"}),e(Li,{children:[r(Ht,{checked:d,onChange:h,label:"Overwrite Mode",disabled:p}),r(Mi,{}),r(Ei,{children:r(Je,{options:o.map(e=>({label:e,value:e})),value:n,onChange:e=>l(e),width:"150px",size:"small",disabled:p})}),r(N,{variant:"primary",size:"medium",onClick:()=>{g(!0),u(!0),x(!1),b(!1),setTimeout(()=>{u(!1);Math.random()>.3?(x(!0),b(!1)):(x(!1),b(!0)),g(!1),i&&i(),setTimeout(()=>{x(!1),b(!1)},5e3)},3e3)},disabled:p,children:"Deploy"})]})]}),f&&r(Ai,{children:r(Rt,{type:"info",heading:"Building Protocol: Status=IN_PROGRESS, Phase=FINALIZING"})}),C&&r(Ai,{children:r(Rt,{type:"success",heading:`Pipeline visual-pipeline-builder-protocol-${n}-pipeline deployed successfully! Deployment complete`})}),m&&r(Ai,{children:r(Rt,{type:"danger",heading:`Failed to deploy pipeline visual-pipeline-builder-protocol-${n}-pipeline. Please try again.`})}),r(Ge,{value:a,onChange:e=>{void 0!==e&&s(e)},language:"yaml",theme:"light",width:"100%",onCopy:e=>{navigator.clipboard.writeText(e)},onLaunch:e=>{console.log("Launching code:",e)},disabled:!d})]})},Ri=i.div`
1548
1548
  width: 100%;
1549
1549
  border-radius: 8px;
1550
1550
  overflow: hidden;
@@ -1552,7 +1552,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1552
1552
  0px 2px 4px -2px var(--black-100);
1553
1553
  background-color: var(--white-900);
1554
1554
  border: 1px solid var(--grey-200);
1555
- `,Bi=s.div`
1555
+ `,Ni=i.div`
1556
1556
  padding: 8px 16px;
1557
1557
  font-family: "Inter", sans-serif;
1558
1558
  font-size: 12px;
@@ -1561,10 +1561,10 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1561
1561
  line-height: 16px;
1562
1562
  color: var(--grey-600);
1563
1563
  border-bottom: 1px solid var(--grey-200);
1564
- `,Hi=s.div`
1564
+ `,_i=i.div`
1565
1565
  display: flex;
1566
1566
  flex-direction: column;
1567
- `,$i=({title:e,items:r,onItemClick:t,onItemCheckChange:i,activeItemId:o=null,className:n})=>M.jsxs(zi,{className:n,children:[e&&M.jsx(Bi,{children:e}),M.jsx(Hi,{children:r.map(e=>M.jsx(Sr,{label:e.label,checked:e.checked,showCheckbox:e.showCheckbox,active:o===e.id||e.active,onClick:()=>{return r=e.id,void(t&&t(r));var r},onCheckChange:r=>((e,r)=>{i&&i(e,r)})(e.id,r)},e.id))})]}),Si=s.div`
1567
+ `,Bi=({title:t,items:i,onItemClick:o,onItemCheckChange:n,activeItemId:l=null,className:a})=>e(Ri,{className:a,children:[t&&r(Ni,{children:t}),r(_i,{children:i.map(e=>r(zr,{label:e.label,checked:e.checked,showCheckbox:e.showCheckbox,active:l===e.id||e.active,onClick:()=>{return r=e.id,void(o&&o(r));var r},onCheckChange:r=>((e,r)=>{n&&n(e,r)})(e.id,r)},e.id))})]}),zi=i.div`
1568
1568
  display: flex;
1569
1569
  align-items: center;
1570
1570
  background-color: var(--blue-900);
@@ -1574,11 +1574,11 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1574
1574
  box-sizing: border-box;
1575
1575
  color: var(--white-900);
1576
1576
  gap: 40px;
1577
- `,Oi=s.div`
1577
+ `,Hi=i.div`
1578
1578
  display: flex;
1579
1579
  align-items: center;
1580
1580
  height: 100%;
1581
- `,Pi=s.div`
1581
+ `,Ti=i.div`
1582
1582
  text-transform: uppercase;
1583
1583
  margin-bottom: 2px;
1584
1584
  color: var(--white-900);
@@ -1588,49 +1588,49 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1588
1588
  line-height: 16px;
1589
1589
  letter-spacing: 0.2px;
1590
1590
  font-family: "Inter", sans-serif;
1591
- `,Vi=s.div`
1591
+ `,$i=i.div`
1592
1592
  font-size: 14px;
1593
1593
  font-style: normal;
1594
1594
  font-weight: 500;
1595
1595
  line-height: 22px;
1596
1596
  font-family: "Inter", sans-serif;
1597
- `,Di=s.div`
1597
+ `,Pi=i.div`
1598
1598
  color: var(--grey-400);
1599
1599
  font-size: 12px;
1600
1600
  font-style: italic;
1601
1601
  font-weight: 500;
1602
1602
  line-height: 16px;
1603
1603
  font-family: "Inter", sans-serif;
1604
- `,Ui=s.div`
1604
+ `,Si=i.div`
1605
1605
  display: flex;
1606
1606
  flex-direction: column;
1607
- `,Zi=s.div`
1607
+ `,Oi=i.div`
1608
1608
  display: flex;
1609
1609
  align-items: center;
1610
1610
  justify-content: center;
1611
- `,Wi=s.div`
1611
+ `,Vi=i.div`
1612
1612
  display: flex;
1613
1613
  align-items: center;
1614
1614
  padding: 6px 0;
1615
1615
  border-radius: 4px;
1616
1616
  gap: 8px;
1617
- `,Gi=s.div`
1617
+ `,Di=i.div`
1618
1618
  font-family: "Inter", sans-serif;
1619
1619
  color: var(--grey-400);
1620
1620
  font-size: 14px;
1621
1621
  font-style: normal;
1622
1622
  font-weight: 500;
1623
1623
  line-height: 22px;
1624
- `,Ki=s.div`
1624
+ `,Ui=i.div`
1625
1625
  display: flex;
1626
1626
  align-items: center;
1627
1627
  justify-content: center;
1628
- `,Fi=s.div`
1628
+ `,Zi=i.div`
1629
1629
  display: flex;
1630
1630
  align-items: center;
1631
1631
  gap: 8px;
1632
1632
  width: 320px;
1633
- `,Yi=()=>M.jsx("div",{style:{borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center"},children:M.jsx(Ne,{name:Ie.BUILDING,fill:"var(--white-900)",width:"20",height:"20"})}),Xi=()=>M.jsx(Ne,{name:Ie.LAMP,fill:"var(--white-900)",width:"20",height:"20"}),qi=({organization:e})=>M.jsxs(Si,{children:[M.jsx(Oi,{children:M.jsxs(Ui,{children:[M.jsx(Pi,{children:"ORGANIZATION"}),M.jsxs(Fi,{children:[M.jsx(Zi,{children:e.logo||M.jsx(Yi,{})}),M.jsxs("div",{children:[M.jsx(Vi,{children:e.name}),e.subtext&&M.jsx(Di,{children:e.subtext})]})]})]})}),M.jsx(Oi,{children:M.jsxs(Ui,{children:[M.jsx(Pi,{children:"PROJECT"}),M.jsxs(Wi,{children:[M.jsx(Ki,{children:M.jsx(Xi,{})}),M.jsx(Gi,{children:"Not Selected"})]})]})})]}),Qi=s.div`
1633
+ `,Gi=()=>r("div",{style:{borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center"},children:r(Ae,{name:Me.BUILDING,fill:"var(--white-900)",width:"20",height:"20"})}),Wi=()=>r(Ae,{name:Me.LAMP,fill:"var(--white-900)",width:"20",height:"20"}),ji=({organization:t})=>e(zi,{children:[r(Hi,{children:e(Si,{children:[r(Ti,{children:"ORGANIZATION"}),e(Zi,{children:[r(Oi,{children:t.logo||r(Gi,{})}),e("div",{children:[r($i,{children:t.name}),t.subtext&&r(Pi,{children:t.subtext})]})]})]})}),r(Hi,{children:e(Si,{children:[r(Ti,{children:"PROJECT"}),e(Vi,{children:[r(Ui,{children:r(Wi,{})}),r(Di,{children:"Not Selected"})]})]})})]}),Ki=i.div`
1634
1634
  display: flex;
1635
1635
  align-items: center;
1636
1636
  justify-content: space-between;
@@ -1638,50 +1638,50 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1638
1638
  padding: 0 0 24px;
1639
1639
  border-top-left-radius: 24px;
1640
1640
  border-top-right-radius: 24px;
1641
- `,Ji=s.h2`
1641
+ `,Yi=i.h2`
1642
1642
  color: var(--blue-900);
1643
1643
  font-family: "Inter", sans-serif;
1644
1644
  font-size: 20px;
1645
1645
  font-weight: 600;
1646
1646
  line-height: 28px;
1647
1647
  margin: 0;
1648
- `,eo=s.div`
1648
+ `,Fi=i.div`
1649
1649
  display: flex;
1650
1650
  align-items: center;
1651
1651
  gap: 8px;
1652
1652
  color: var(--grey-600);
1653
1653
  font-size: 15px;
1654
1654
  font-weight: 500;
1655
- `,ro=s.div`
1655
+ `,Xi=i.div`
1656
1656
  background-color: var(--white-900);
1657
1657
  border-radius: 24px;
1658
1658
  border: 1px solid var(--grey-200);
1659
1659
  width: 100%;
1660
- `,to=s.div`
1660
+ `,qi=i.div`
1661
1661
  display: flex;
1662
1662
  align-items: center;
1663
1663
  border-bottom: 1px solid var(--grey-200);
1664
1664
  padding-bottom: 16px;
1665
1665
  padding: 12px 24px;
1666
- `,io=s.h3`
1666
+ `,Qi=i.h3`
1667
1667
  color: var(--blue-900);
1668
1668
  font-family: "Inter", sans-serif;
1669
1669
  font-size: 20px;
1670
1670
  font-weight: 600;
1671
1671
  line-height: 28px;
1672
1672
  margin: 0;
1673
- `,oo=s.div`
1673
+ `,Ji=i.div`
1674
1674
  padding: 20px 24px 36px 24px;
1675
- `,no=s.div`
1675
+ `,eo=i.div`
1676
1676
  display: flex;
1677
1677
  flex-direction: column;
1678
1678
  align-items: flex-start;
1679
1679
  gap: 16px;
1680
- `,ao=s.div`
1680
+ `,ro=i.div`
1681
1681
  color: var(--grey-400);
1682
1682
  font-size: 14px;
1683
1683
  font-weight: 500;
1684
- `,lo=({className:e})=>{const[r,i]=t(!1);return M.jsxs("div",{className:e,children:[M.jsxs(Qi,{children:[M.jsx(Ji,{children:"Protocol Configuration"}),M.jsx(eo,{children:M.jsx(Ot,{label:"Edit Mode",checked:r,onChange:()=>i(e=>!e)})})]}),M.jsxs(ro,{children:[M.jsx(to,{children:M.jsx(io,{children:"Configuration"})}),M.jsx(oo,{children:r?M.jsx(B,{variant:"secondary",size:"medium",leftIcon:M.jsx(Ne,{name:Ie.PLUS,width:"20",height:"20",fill:"var(--blue-600)"}),children:"Add Input"}):M.jsx(no,{children:M.jsx(ao,{children:"No values, Use the 'edit' button to add values"})})})]})]})},so=s.div`
1684
+ `,to=({className:t})=>{const[i,o]=c(!1);return e("div",{className:t,children:[e(Ki,{children:[r(Yi,{children:"Protocol Configuration"}),r(Fi,{children:r(Ht,{label:"Edit Mode",checked:i,onChange:()=>o(e=>!e)})})]}),e(Xi,{children:[r(qi,{children:r(Qi,{children:"Configuration"})}),r(Ji,{children:i?r(N,{variant:"secondary",size:"medium",leftIcon:r(Ae,{name:Me.PLUS,width:"20",height:"20",fill:"var(--blue-600)"}),children:"Add Input"}):r(eo,{children:r(ro,{children:"No values, Use the 'edit' button to add values"})})})]})]})},io=i.div`
1685
1685
  display: flex;
1686
1686
  flex-direction: column;
1687
1687
  align-items: flex-start;
@@ -1689,44 +1689,44 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1689
1689
  gap: 16px;
1690
1690
  width: 928px;
1691
1691
  background: transparent;
1692
- `,co=s.div`
1692
+ `,oo=i.div`
1693
1693
  display: flex;
1694
1694
  flex-direction: row;
1695
1695
  justify-content: space-between;
1696
1696
  align-items: center;
1697
1697
  width: 928px;
1698
1698
  height: 36px;
1699
- `,ho=s.span`
1699
+ `,no=i.span`
1700
1700
  font-family: "Inter", sans-serif;
1701
1701
  font-weight: 600;
1702
1702
  font-size: 18px;
1703
1703
  line-height: 28px;
1704
1704
  color: var(--black-900);
1705
- `,po=s.div`
1705
+ `,lo=i.div`
1706
1706
  display: flex;
1707
1707
  flex-direction: row;
1708
1708
  align-items: center;
1709
1709
  gap: 16px;
1710
1710
  justify-content: flex-end;
1711
- `,xo=s.div`
1711
+ `,ao=i.div`
1712
1712
  width: 1px;
1713
1713
  height: 20px;
1714
1714
  background: var(--grey-200);
1715
- `,go=s.div`
1715
+ `,so=i.div`
1716
1716
  width: 100%;
1717
- `,fo=s(Ot)`
1717
+ `,co=i(Ht)`
1718
1718
  min-width: 176px;
1719
- `,uo=s(or)``,mo=({title:e,newVersionMode:r,onToggleNewVersionMode:t,versionOptions:i,selectedVersion:o,onVersionChange:n,onDeploy:a,yaml:l,onYamlChange:s})=>M.jsxs(so,{children:[M.jsxs(co,{children:[M.jsx(ho,{children:e}),M.jsxs(po,{children:[M.jsx(fo,{checked:r,onChange:t,label:"New Version Mode"}),M.jsx(xo,{}),M.jsx(uo,{options:i,value:o,onChange:n,size:"small",width:"120px"}),M.jsx(B,{variant:"primary",size:"medium",onClick:a,children:"Deploy"})]})]}),M.jsx(go,{children:M.jsx(Ye,{value:l,onChange:e=>s(e??""),language:"yaml",theme:"light",onCopy:()=>{},onLaunch:()=>{}})})]}),bo=s.div`
1719
+ `,ho=i(Je)``,po=({title:t,newVersionMode:i,onToggleNewVersionMode:o,versionOptions:n,selectedVersion:l,onVersionChange:a,onDeploy:s,yaml:d,onYamlChange:c})=>e(io,{children:[e(oo,{children:[r(no,{children:t}),e(lo,{children:[r(co,{checked:i,onChange:o,label:"New Version Mode"}),r(ao,{}),r(ho,{options:n,value:l,onChange:a,size:"small",width:"120px"}),r(N,{variant:"primary",size:"medium",onClick:s,children:"Deploy"})]})]}),r(so,{children:r(Ge,{value:d,onChange:e=>c(e??""),language:"yaml",theme:"light",onCopy:()=>{},onLaunch:()=>{}})})]}),go=i.div`
1720
1720
  padding: 12px 0;
1721
1721
  flex: 1;
1722
- `,Co=({open:e,initialValue:r="",title:i="",onSave:o,onCancel:n})=>{const[a,l]=t(r);return M.jsx(Qr,{isOpen:e,onClose:n,onCloseLabel:"Cancel",onConfirm:()=>{o(a)},onConfirmLabel:"Save Code",title:i,width:"600px",children:M.jsx(bo,{children:M.jsx(Ye,{value:a,onChange:e=>l(e??""),language:"python",height:300,theme:"dark",onCopy:()=>{},onLaunch:()=>{}})})})},vo=s.div`
1722
+ `,fo=({open:e,initialValue:t="",title:i="",onSave:o,onCancel:n})=>{const[l,a]=c(t);return r(Kr,{isOpen:e,onClose:n,onCloseLabel:"Cancel",onConfirm:()=>{o(l)},onConfirmLabel:"Save Code",title:i,width:"600px",children:r(go,{children:r(Ge,{value:l,onChange:e=>a(e??""),language:"python",height:300,theme:"dark",onCopy:()=>{},onLaunch:()=>{}})})})},uo=i.div`
1723
1723
  display: flex;
1724
1724
  flex-direction: column;
1725
1725
  gap: 6px;
1726
1726
  width: 100%;
1727
- `,yo=s(Ar)`
1727
+ `,Co=i(Lr)`
1728
1728
  margin-bottom: 2px;
1729
- `,wo=r(({label:e,infoText:r,supportiveText:t,showSupportiveCheck:i=!1,className:o,...n},a)=>M.jsxs(vo,{className:o,ref:a,children:[M.jsx(yo,{infoText:r,children:e}),M.jsx(or,{...n}),t&&M.jsx(lt,{showCheck:i,children:t})]}));wo.displayName="SelectField";const jo=s.div`
1729
+ `,xo=d(({label:t,infoText:i,supportiveText:o,showSupportiveCheck:n=!1,className:l,...a},s)=>e(uo,{className:l,ref:s,children:[r(Co,{infoText:i,children:t}),r(Je,{...a}),o&&r(tt,{showCheck:n,children:o})]}));xo.displayName="SelectField";const mo=i.div`
1730
1730
  width: 104px;
1731
1731
  height: 100%;
1732
1732
  background-color: var(--blue-900);
@@ -1734,7 +1734,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1734
1734
  flex-direction: column;
1735
1735
  align-items: center;
1736
1736
  padding: 0;
1737
- `,ko=s.div`
1737
+ `,bo=i.div`
1738
1738
  width: 100%;
1739
1739
  display: inline-flex;
1740
1740
  flex-direction: column;
@@ -1747,13 +1747,13 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1747
1747
  &:hover {
1748
1748
  background-color: var(--white-50);
1749
1749
  }
1750
- `,Eo=s.div`
1750
+ `,vo=i.div`
1751
1751
  display: flex;
1752
1752
  justify-content: center;
1753
1753
  align-items: center;
1754
1754
  margin-bottom: 10px;
1755
1755
  color: var(--white-900);
1756
- `,Lo=s.div`
1756
+ `,wo=i.div`
1757
1757
  color: var(--white-900);
1758
1758
  text-align: center;
1759
1759
  font-family: "Inter", sans-serif;
@@ -1763,29 +1763,29 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1763
1763
  line-height: 16px;
1764
1764
  text-align: center;
1765
1765
  padding: 0 8px;
1766
- `,Mo=({icon:e,label:r,active:t,onClick:i})=>M.jsxs(ko,{active:t,onClick:i,children:[M.jsx(Eo,{children:M.jsx(Ne,{name:e,fill:"var(--white-900)",width:"20",height:"20"})}),M.jsx(Lo,{children:r})]}),_o=({items:e,activeItem:r,onItemClick:t})=>M.jsx(jo,{children:e.map(e=>M.jsx(Mo,{icon:e.icon,label:e.label,active:r===e.label,onClick:()=>{return r=e.label,void(t&&t(r));var r}},e.label))}),Ao=s.div`
1766
+ `,yo=({icon:t,label:i,active:o,onClick:n})=>e(bo,{active:o,onClick:n,children:[r(vo,{children:r(Ae,{name:t,fill:"var(--white-900)",width:"20",height:"20"})}),r(wo,{children:i})]}),ko=({items:e,activeItem:t,onItemClick:i})=>r(mo,{children:e.map(e=>r(yo,{icon:e.icon,label:e.label,active:t===e.label,onClick:()=>{return r=e.label,void(i&&i(r));var r}},e.label))}),Lo=i.div`
1767
1767
  width: 100%;
1768
1768
  border: 1px solid var(--grey-200);
1769
1769
  border-radius: 8px;
1770
1770
  overflow: visible;
1771
1771
  background-color: var(--white-900);
1772
- `,Ro=s.table`
1772
+ `,Eo=i.table`
1773
1773
  width: 100%;
1774
1774
  border-collapse: collapse;
1775
1775
  border-spacing: 0;
1776
- `,Io=s.tbody``,No=s.tr`
1776
+ `,Mo=i.tbody``,Ao=i.tr`
1777
1777
  cursor: ${e=>e.selectable?"pointer":"default"};
1778
1778
 
1779
1779
  &:hover {
1780
1780
  background-color: ${e=>e.selectable?"var(--grey-50)":"transparent"};
1781
1781
  }
1782
- `,To=s(pt)`
1782
+ `,Io=i(at)`
1783
1783
  width: 40px;
1784
1784
  padding: 10px 12px;
1785
- `,zo=s(bt)`
1785
+ `,Ro=i(gt)`
1786
1786
  width: 40px;
1787
1787
  padding: 8px 12px;
1788
- `,Bo=s.div`
1788
+ `,No=i.div`
1789
1789
  display: flex;
1790
1790
  align-items: center;
1791
1791
  justify-content: center;
@@ -1794,7 +1794,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1794
1794
  height: 40px;
1795
1795
  background-color: var(--grey-50);
1796
1796
  border-top: 1px solid var(--grey-200);
1797
- `,Ho=s.button`
1797
+ `,_o=i.button`
1798
1798
  display: flex;
1799
1799
  align-items: center;
1800
1800
  justify-content: center;
@@ -1815,11 +1815,11 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1815
1815
  width: 20px;
1816
1816
  height: 20px;
1817
1817
  }
1818
- `,$o=s.div`
1818
+ `,Bo=i.div`
1819
1819
  display: flex;
1820
1820
  align-items: center;
1821
1821
  gap: 0;
1822
- `,So=s.button`
1822
+ `,zo=i.button`
1823
1823
  display: flex;
1824
1824
  align-items: center;
1825
1825
  justify-content: center;
@@ -1839,7 +1839,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1839
1839
  &:hover:not(:disabled) {
1840
1840
  background-color: var(--grey-100);
1841
1841
  }
1842
- `;function Oo({columns:e,data:r,pageSize:i=10,rowKey:n,selectable:l=!1,onRowSelect:s,sortKey:d,sortDirection:c,onSort:h,currentPage:p,onPageChange:x,selectedRows:g,className:f}){const[u,m]=t(null),[b,C]=t(null),[v,y]=t(1),[w,j]=t([]),[k,E]=t({}),L=void 0!==d,_=void 0!==p,A=void 0!==g,R=L?d:u,I=L?c:b,N=_?p:v,T=A?g:w,z=a(()=>{let e=[...r];return Object.entries(k).forEach(([r,t])=>{t&&(e=e.filter(e=>{const i=e[r];return i?.toString()===t}))}),e},[r,k]),B=a(()=>R&&I?[...z].sort((e,r)=>{const t=e[R],i=r[R];if(t===i)return 0;let o=0;return o="number"==typeof t&&"number"==typeof i?t-i:String(t).localeCompare(String(i)),"asc"===I?o:-o}):z,[z,R,I]),H=-1===i?1:Math.ceil(B.length/i),$=a(()=>{if(-1===i)return B;const e=(N-1)*i;return B.slice(e,e+i)},[B,N,i]);o(()=>{_||y(1)},[k,R,I,_]);const S=e=>{_&&x?x(e):y(e)},O=(e,r)=>n?"function"==typeof n?n(e):e[n]:r,P=(e,r)=>{let t;t=r?[...T,e]:T.filter(r=>r!==e),A&&s||j(t),s(t)},V=e=>T.some(r=>O(r,0)===O(e,0)),D=B.length>0&&B.every(e=>V(e));return M.jsxs(Ao,{className:f,children:[M.jsxs(Ro,{children:[M.jsx("thead",{children:M.jsxs("tr",{children:[l&&M.jsx(zo,{children:M.jsx(Se,{checked:D,onChange:e=>{const r=e?[...B]:[];A&&s||j(r),s(r)},noPadding:!0})}),e.map(e=>M.jsx(bt,{width:e.width,sortable:e.sortable,sortDirection:R===e.key&&I||null,onSort:e.sortable?()=>{return r=e.key,void(L&&h?h(r,R===r&&"asc"===I?"desc":"asc"):R===r?"asc"===I?C("desc"):(m(null),C(null)):(m(r),C("asc")));var r}:void 0,filterable:e.filterable,filterOptions:e.filterOptions,filterValue:k[e.key]||"",onFilterChange:e.filterable?r=>((e,r)=>{E(t=>({...t,[e]:r}))})(e.key,r):void 0,children:e.header},e.key))]})}),M.jsx(Io,{children:$.map((r,t)=>M.jsxs(No,{selectable:l,onClick:l?()=>P(r,!V(r)):void 0,children:[l&&M.jsx(To,{children:M.jsx(Se,{checked:V(r),onChange:e=>P(r,e),noPadding:!0,onClick:e=>e.stopPropagation()})}),e.map(e=>{const i=r[e.key],o=e.render?e.render(i,r,t):i;return M.jsx(pt,{align:e.align,children:o},e.key)})]},O(r,t)))})]}),-1!==i&&H>1&&M.jsxs(Bo,{children:[M.jsx(Ho,{disabled:1===N,onClick:()=>S(N-1),"aria-label":"Previous page",children:M.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:M.jsx("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),M.jsx($o,{children:(()=>{const e=[];if(H<=5)for(let r=1;r<=H;r++)e.push(r);else{e.push(1),N>3&&e.push("...");const r=Math.max(2,N-1),t=Math.min(H-1,N+1);for(let i=r;i<=t;i++)e.push(i);N<H-2&&e.push("..."),e.push(H)}return e})().map((e,r)=>M.jsx(So,{active:e===N,onClick:"number"==typeof e?()=>S(e):void 0,disabled:"number"!=typeof e,children:e},r))}),M.jsx(Ho,{disabled:N===H,onClick:()=>S(N+1),"aria-label":"Next page",children:M.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:M.jsx("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}Oo.displayName="Table";const Po=s.div`
1842
+ `;function Ho({columns:t,data:i,pageSize:o=10,rowKey:n,selectable:l=!1,onRowSelect:a,sortKey:s,sortDirection:d,onSort:h,currentPage:g,onPageChange:u,selectedRows:C,className:x}){const[m,b]=c(null),[v,w]=c(null),[y,k]=c(1),[L,E]=c([]),[M,A]=c({}),I=void 0!==s,R=void 0!==g,N=void 0!==C,_=I?s:m,B=I?d:v,z=R?g:y,H=N?C:L,T=f(()=>{let e=[...i];return Object.entries(M).forEach(([r,t])=>{t&&(e=e.filter(e=>{const i=e[r];return i?.toString()===t}))}),e},[i,M]),$=f(()=>_&&B?[...T].sort((e,r)=>{const t=e[_],i=r[_];if(t===i)return 0;let o=0;return o="number"==typeof t&&"number"==typeof i?t-i:String(t).localeCompare(String(i)),"asc"===B?o:-o}):T,[T,_,B]),P=-1===o?1:Math.ceil($.length/o),S=f(()=>{if(-1===o)return $;const e=(z-1)*o;return $.slice(e,e+o)},[$,z,o]);p(()=>{R||k(1)},[M,_,B,R]);const O=e=>{R&&u?u(e):k(e)},V=(e,r)=>n?"function"==typeof n?n(e):e[n]:r,D=(e,r)=>{let t;t=r?[...H,e]:H.filter(r=>r!==e),N&&a||E(t),a(t)},U=e=>H.some(r=>V(r,0)===V(e,0)),Z=$.length>0&&$.every(e=>U(e));return e(Lo,{className:x,children:[e(Eo,{children:[r("thead",{children:e("tr",{children:[l&&r(Ro,{children:r(ze,{checked:Z,onChange:e=>{const r=e?[...$]:[];N&&a||E(r),a(r)},noPadding:!0})}),t.map(e=>r(gt,{width:e.width,sortable:e.sortable,sortDirection:_===e.key&&B||null,onSort:e.sortable?()=>{return r=e.key,void(I&&h?h(r,_===r&&"asc"===B?"desc":"asc"):_===r?"asc"===B?w("desc"):(b(null),w(null)):(b(r),w("asc")));var r}:void 0,filterable:e.filterable,filterOptions:e.filterOptions,filterValue:M[e.key]||"",onFilterChange:e.filterable?r=>((e,r)=>{A(t=>({...t,[e]:r}))})(e.key,r):void 0,children:e.header},e.key))]})}),r(Mo,{children:S.map((i,o)=>e(Ao,{selectable:l,onClick:l?()=>D(i,!U(i)):void 0,children:[l&&r(Io,{children:r(ze,{checked:U(i),onChange:e=>D(i,e),noPadding:!0,onClick:e=>e.stopPropagation()})}),t.map(e=>{const t=i[e.key],n=e.render?e.render(t,i,o):t;return r(at,{align:e.align,children:n},e.key)})]},V(i,o)))})]}),-1!==o&&P>1&&e(No,{children:[r(_o,{disabled:1===z,onClick:()=>O(z-1),"aria-label":"Previous page",children:r("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),r(Bo,{children:(()=>{const e=[];if(P<=5)for(let r=1;r<=P;r++)e.push(r);else{e.push(1),z>3&&e.push("...");const r=Math.max(2,z-1),t=Math.min(P-1,z+1);for(let i=r;i<=t;i++)e.push(i);z<P-2&&e.push("..."),e.push(P)}return e})().map((e,t)=>r(zo,{active:e===z,onClick:"number"==typeof e?()=>O(e):void 0,disabled:"number"!=typeof e,children:e},t))}),r(_o,{disabled:z===P,onClick:()=>O(z+1),"aria-label":"Next page",children:r("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}Ho.displayName="Table";const To=i.div`
1843
1843
  display: flex;
1844
1844
  align-items: center;
1845
1845
  border-bottom: 1px solid var(--grey-200);
@@ -1851,7 +1851,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1851
1851
 
1852
1852
  -ms-overflow-style: none;
1853
1853
  scrollbar-width: none;
1854
- `,Vo=({tabs:e,activeTab:r,onChange:i,disabled:o=!1,size:n="medium"})=>{const[a,l]=t(r||(e.length>0?e[0].id:""));return M.jsx(Po,{children:e.map(e=>M.jsx(ct,{label:e.label,active:r?r===e.id:a===e.id,disabled:o||e.disabled,size:e.size||n,onClick:()=>{return r=e.id,void(o||(l(r),i?.(r)));var r}},e.id))})},Do=s.div`
1854
+ `,$o=({tabs:e,activeTab:t,onChange:i,disabled:o=!1,size:n="medium"})=>{const[l,a]=c(t||(e.length>0?e[0].id:""));return r(To,{children:e.map(e=>r(nt,{label:e.label,active:t?t===e.id:l===e.id,disabled:o||e.disabled,size:e.size||n,onClick:()=>{return r=e.id,void(o||(a(r),i?.(r)));var r}},e.id))})},Po=i.div`
1855
1855
  position: fixed;
1856
1856
  ${e=>"top"===e.position?"top: 16px;":"bottom: 16px;"}
1857
1857
  left: 50%;
@@ -1863,7 +1863,7 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1863
1863
  flex-direction: column;
1864
1864
  gap: 8px;
1865
1865
  pointer-events: none;
1866
- `,Uo=s.div`
1866
+ `,So=i.div`
1867
1867
  opacity: 0;
1868
1868
  transform: translateY(
1869
1869
  ${e=>"top"===e.theme.position?"-10px":"10px"}
@@ -1885,52 +1885,52 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1885
1885
  transform: translateY(0);
1886
1886
  }
1887
1887
  }
1888
- `;l(void 0);let Zo=[],Wo=[];const Go=({position:e="top"})=>{const[r,i]=t([]),[n,a]=t(!1);return o(()=>{a(!0);const e=(r=i,Wo.push(r),r(Zo),()=>{Wo=Wo.filter(e=>e!==r)});var r;return()=>{e(),a(!1)}},[]),n?b(M.jsx(Do,{position:e,children:r.map(r=>M.jsx(Uo,{theme:{position:e},children:M.jsx(zt,{type:r.type,heading:r.heading,description:r.description})},r.id))}),document.body):null},Ko=({userProfile:e,hostname:r,organization:i,children:o})=>{const n=[{icon:Ie.SEARCH_DOCUMENT,label:"Search"},{icon:Ie.SEARCH_SQL,label:"SQL Search"},{icon:Ie.LAMP,label:"Projects"},{icon:Ie.PIPELINE,label:"Pipelines"},{icon:Ie.COMPUTER,label:"Data & AI Workspace"},{icon:Ie.CUBE,label:"Artifacts"},{icon:Ie.DATABASE,label:"Data Sources"},{icon:Ie.PIE_CHART,label:"Health Monitoring"},{icon:Ie.BULK_CHECK,label:"Bulk Actions"},{icon:Ie.CODE,label:"Attribute Management"},{icon:Ie.GEAR,label:"Administration"}],[a,l]=t("Pipelines");return M.jsxs("div",{className:"app-layout",children:[M.jsx(qi,{organization:i}),M.jsxs("div",{className:"content-container",children:[M.jsx(_o,{items:n,activeItem:a,onItemClick:e=>{l(e)}}),M.jsxs("div",{className:"main-content",children:[M.jsx(Ft,{hostname:r,userProfile:e,onHomeClick:()=>{console.log("Home clicked")},onSettingsClick:()=>{console.log("Settings clicked")},onUserProfileClick:()=>{console.log("User profile clicked")}}),M.jsx("div",{className:"main-layout",children:o})]})]})]})},Fo=(e,r)=>{if("undefined"!=typeof window){return getComputedStyle(document.documentElement).getPropertyValue(`--${e}`).trim()||r||""}return`var(--${e}${r?`, ${r}`:""})`},Yo={BLACK_50:Fo("black-50","rgba(26, 26, 26, 0.05)"),BLACK_100:Fo("black-100","rgba(26, 26, 26, 0.1)"),BLACK_200:Fo("black-200","rgba(26, 26, 26, 0.2)"),BLACK_300:Fo("black-300","rgba(26, 26, 26, 0.3)"),BLACK_400:Fo("black-400","rgba(26, 26, 26, 0.4)"),BLACK_500:Fo("black-500","rgba(26, 26, 26, 0.5)"),BLACK_600:Fo("black-600","rgba(26, 26, 26, 0.6)"),BLACK_700:Fo("black-700","rgba(26, 26, 26, 0.7)"),BLACK_800:Fo("black-800","rgba(26, 26, 26, 0.8)"),BLACK_900:Fo("black-900","rgba(26, 26, 26, 1)"),BLACK:Fo("black-900","#1a1a1a"),BLACK_OPACITY_20:"rgba(26, 26, 26, 0.2)",WHITE_50:Fo("white-50","rgba(255, 255, 255, 0.05)"),WHITE_100:Fo("white-100","rgba(255, 255, 255, 0.1)"),WHITE_200:Fo("white-200","rgba(255, 255, 255, 0.2)"),WHITE_300:Fo("white-300","rgba(255, 255, 255, 0.3)"),WHITE_400:Fo("white-400","rgba(255, 255, 255, 0.4)"),WHITE_500:Fo("white-500","rgba(255, 255, 255, 0.5)"),WHITE_600:Fo("white-600","rgba(255, 255, 255, 0.6)"),WHITE_700:Fo("white-700","rgba(255, 255, 255, 0.7)"),WHITE_800:Fo("white-800","rgba(255, 255, 255, 0.8)"),WHITE_900:Fo("white-900","rgba(255, 255, 255, 1)"),WHITE:Fo("white-900","#ffffff"),BLUE_50:Fo("blue-50","rgba(240, 249, 255, 1)"),BLUE_100:Fo("blue-100","rgba(225, 243, 254, 1)"),BLUE_200:Fo("blue-200","rgba(185, 229, 252, 1)"),BLUE_300:Fo("blue-300","rgba(125, 211, 251, 1)"),BLUE_400:Fo("blue-400","rgba(58, 190, 247, 1)"),BLUE_500:Fo("blue-500","rgba(27, 173, 240, 1)"),BLUE_600:Fo("blue-600","rgba(64, 114, 210, 1)"),BLUE_700:Fo("blue-700","rgba(3, 105, 159, 1)"),BLUE_800:Fo("blue-800","rgba(5, 69, 103, 1)"),BLUE_900:Fo("blue-900","rgba(4, 38, 63, 1)"),BLUE:Fo("graph-primary-blue","#2D9CDB"),GREY_50:Fo("grey-50","rgba(248, 250, 252, 1)"),GREY_100:Fo("grey-100","rgba(241, 245, 249, 1)"),GREY_200:Fo("grey-200","rgba(225, 231, 239, 1)"),GREY_300:Fo("grey-300","rgba(200, 214, 229, 1)"),GREY_400:Fo("grey-400","rgba(158, 172, 192, 1)"),GREY_500:Fo("grey-500","rgba(100, 116, 139, 1)"),GREY_600:Fo("grey-600","rgba(72, 86, 106, 1)"),GREY_700:Fo("grey-700","rgba(51, 65, 86, 1)"),GREY_800:Fo("grey-800","rgba(29, 40, 57, 1)"),GREY_900:Fo("grey-900","rgba(20, 30, 53, 1)"),GREY:Fo("grey-400","#CCCCCC"),ORANGE:Fo("graph-primary-orange","#FFA62E"),RED:Fo("graph-primary-red","#FF5C64"),GREEN:Fo("graph-primary-green","#A5C34E"),YELLOW:Fo("graph-primary-yellow","#FBED53"),PURPLE:Fo("graph-primary-purple","#7A51AB"),GREEN_BG:Fo("green-bg","rgba(234, 254, 229, 1)"),GREEN_SUCCESS:Fo("green-success","rgba(8, 173, 55, 1)"),ORANGE_BG:Fo("orange-bg","rgba(254, 250, 229, 1)"),ORANGE_CAUTION:Fo("orange-caution","rgba(249, 173, 20, 1)"),RED_BG:Fo("red-bg","rgba(254, 234, 229, 1)"),RED_ERROR:Fo("red-error","rgba(216, 35, 44, 1)"),GRAPH_SECONDARY_BROWN:Fo("graph-secondary-brown","#AD7942"),GRAPH_SECONDARY_PINK:Fo("graph-secondary-pink","#FB90B4"),GRAPH_SECONDARY_TEAL:Fo("graph-secondary-teal","#3CCABA"),GRAPH_SECONDARY_DARK_BLUE:Fo("graph-secondary-dark-blue","#4072D2"),GRAPH_SECONDARY_BLACK:Fo("graph-secondary-black","#424E62"),GRAPH_SECONDARY_GREY:Fo("graph-secondary-grey","#B4B4B4")},Xo=[Yo.ORANGE,Yo.RED,Yo.GREEN,Yo.BLUE,Yo.YELLOW,Yo.PURPLE,Yo.GRAPH_SECONDARY_BROWN,Yo.GRAPH_SECONDARY_PINK,Yo.GRAPH_SECONDARY_TEAL,Yo.GRAPH_SECONDARY_DARK_BLUE,Yo.GRAPH_SECONDARY_BLACK,Yo.GRAPH_SECONDARY_GREY],qo=({dataSeries:e,width:r=1e3,height:t=600,xRange:n,yRange:a,variant:l="normal",xTitle:s="Columns",yTitle:d="Rows",title:c="Area Graph"})=>{const h=i(null),{xMin:p,xMax:x,yMin:g,yMax:f}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE,i=Number.MAX_VALUE,o=Number.MIN_VALUE;e.forEach(e=>{e.x.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)}),e.y.forEach(e=>{i=Math.min(i,e),o=Math.max(o,e)})});const n=.1*(t-r),a=.1*(o-i);return{xMin:r-n,xMax:t+n,yMin:"stacked"===l?0:i-a,yMax:o+a}})(),u=n||[p,x],m=a||[g,f],b=(()=>{const e=u[1]-u[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(u[0]/r)*r;for(;i<=u[1];)t.push(i),i+=r;return t})(),v=(()=>{const e=m[1]-m[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(m[0]/r)*r;for(;i<=m[1];)t.push(i),i+=r;return t})(),y={tickcolor:Yo.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Yo.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Yo.BLACK_900,linewidth:1,position:0,zeroline:!1},w={text:c,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Yo.BLACK_900,lineheight:1.2,standoff:30}};return o(()=>{if(!h.current)return;let i;if("stacked"===l){const r=new Array(e[0]?.x.length||0).fill(0);i=e.map((e,t)=>{const i=e.y.map((e,t)=>{const i=r[t]+e;return r[t]=i,i});return{x:e.x,y:i,type:"scatter",mode:"lines",name:e.name,fill:0===t?"tozeroy":"tonexty",fillcolor:e.color,line:{color:e.color,width:2}}})}else i=e.map(e=>({x:e.x,y:e.y,type:"scatter",mode:"lines",name:e.name,fill:e.fill||"tozeroy",fillcolor:e.color,line:{color:e.color,width:2}}));const o={width:r,height:t,title:w,margin:{l:80,r:40,b:80,t:80,pad:0},paper_bgcolor:Yo.WHITE,plot_bgcolor:Yo.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:s,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Yo.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:b,showgrid:!0,...y},yaxis:{title:{text:d,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Yo.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:v,showgrid:!0,...y},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Yo.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},showlegend:!0};return C.newPlot(h.current,i,o,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{h.current&&C.purge(h.current)}},[e,r,t,n,a,l,s,d,c]),M.jsx("div",{className:"area-graph-container",children:M.jsx("div",{ref:h,style:{width:"100%",height:"100%"}})})},Qo=({dataSeries:e,width:r=1e3,height:t=600,xRange:n,yRange:a,variant:l="group",xTitle:s="Columns",yTitle:d="Rows",title:c="Bar Graph",barWidth:h=24})=>{const p=i(null),{yMin:x,yMax:g}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE,i=Number.MAX_VALUE,o=Number.MIN_VALUE;e.forEach(e=>{e.x.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)}),e.y.forEach(e=>{i=Math.min(i,e),o=Math.max(o,e)})});const n=.1*(t-r),a=.1*(o-i);return{xMin:r-n,xMax:t+n,yMin:"stack"===l?0:i-a,yMax:o+a}})(),f=a||[x,g],u=Array.from(new Set(e.flatMap(e=>e.x))),m=(()=>{const e=f[1]-f[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(f[0]/r)*r;for(;i<=f[1];)t.push(i),i+=r;return t})(),b=()=>{switch(l){case"stack":return"stack";case"overlay":return"overlay";default:return"group"}},v={tickcolor:Yo.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Yo.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Yo.BLACK_900,linewidth:1,position:0,zeroline:!1};return o(()=>{if(!p.current)return;const i=e.map(e=>({x:e.x,y:e.y,type:"bar",name:e.name,marker:{color:e.color},width:h,error_y:e.error_y})),o={title:{text:c,font:{size:32,family:"Inter, sans-serif",color:Yo.BLACK_900}},width:r,height:t,margin:{l:80,r:30,b:80,t:60,pad:0},paper_bgcolor:Yo.WHITE,plot_bgcolor:Yo.WHITE,font:{family:"Inter, sans-serif"},barmode:b(),bargap:.15,dragmode:!1,xaxis:{title:{text:s,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Yo.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:u,showgrid:!0,...v},yaxis:{title:{text:d,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Yo.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:m,showgrid:!0,...v},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Yo.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:e.length>1};return C.newPlot(p.current,i,o,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{p.current&&C.purge(p.current)}},[e,r,t,n,a,l,s,d,c,h]),M.jsx("div",{className:"bar-graph-container",children:M.jsx("div",{ref:p,style:{width:"100%",height:"100%"}})})},Jo=({dataSeries:e,width:r=1e3,height:t=600,xRange:n,yRange:a,xTitle:l="Columns",yTitle:s="Rows",title:d="Boxplot",showPoints:c=!1})=>{const h=i(null),{yMin:p,yMax:x}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE;e.forEach(e=>{e.y.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)})});const i=.1*(t-r);return{yMin:r-i,yMax:t+i}})(),g=a||[p,x],f=(()=>{const e=g[1]-g[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(g[0]/r)*r;for(;i<=g[1];)t.push(i),i+=r;return t})(),u={tickcolor:Yo.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Yo.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Yo.BLACK_900,linewidth:1,position:0,zeroline:!1},m={text:d,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Yo.BLACK_900,lineheight:1.2,standoff:30}};return o(()=>{if(!h.current)return;const i=e.map(e=>({y:e.y,x:e.x,type:"box",name:e.name,marker:{color:e.color},line:{color:e.color},fillcolor:e.color+"40",boxpoints:!!c&&(e.boxpoints||"outliers"),jitter:e.jitter||.3,pointpos:e.pointpos||-1.8})),o={width:r,height:t,title:m,margin:{l:80,r:40,b:80,t:80,pad:0},paper_bgcolor:Yo.WHITE,plot_bgcolor:Yo.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Yo.GREY_200,range:n,autorange:!n,showgrid:!0,...u},yaxis:{title:{text:s,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Yo.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:f,showgrid:!0,...u},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Yo.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},showlegend:!0};return C.newPlot(h.current,i,o,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{h.current&&C.purge(h.current)}},[e,r,t,n,a,l,s,d,c]),M.jsx("div",{className:"boxplot-container",children:M.jsx("div",{ref:h,style:{width:"100%",height:"100%"}})})},en=({data:e=[],width:r=900,height:t=600,positionInterval:n=10,colorA:a="#2D9CDB",colorT:l="#A1C63C",colorG:s="#FF5C64",colorC:d="#FFA62E"})=>{const c=i(null),h=e.map(e=>e.position),p=e.map(e=>(e=>{const r={A:e.peakA,T:e.peakT,G:e.peakG,C:e.peakC},t=Object.values(r);if(t.every(e=>e===t[0]))return"";let i="",o=0;return Object.entries(r).forEach(([e,r])=>{r>o&&(i=e,o=r)}),i})(e)),x=e.map(e=>e.peakA),g=e.map(e=>e.peakT),f=e.map(e=>e.peakG),u=e.map(e=>e.peakC),m={x:h,y:x,type:"scatter",mode:"lines",name:"A",line:{color:a,width:2,shape:"spline"}},b={x:h,y:g,type:"scatter",mode:"lines",name:"T",line:{color:l,width:2,shape:"spline"}},v={x:h,y:f,type:"scatter",mode:"lines",name:"G",line:{color:s,width:2,shape:"spline"}},y={x:h,y:u,type:"scatter",mode:"lines",name:"C",line:{color:d,width:2,shape:"spline"}},w=Math.max(...x,...g,...f,...u);if(o(()=>{if(!c.current||0===e.length)return;const i=[m,b,v,y],o={width:r,height:t-75,margin:{l:0,r:0,b:20,t:10,pad:0},paper_bgcolor:"var(--white-900)",plot_bgcolor:"var(--white-900)",font:{family:"Inter, sans-serif"},showlegend:!1,xaxis:{showgrid:!1,zeroline:!1,showticklabels:!1,showline:!1,range:[Math.min(...h),Math.max(...h)],fixedrange:!0},yaxis:{showgrid:!1,zeroline:!1,showticklabels:!1,showline:!1,range:[0,1.05*w],fixedrange:!0}};return C.newPlot(c.current,i,o,{responsive:!0,displayModeBar:!1,displaylogo:!1,fillFrame:!0}),()=>{c.current&&C.purge(c.current)}},[e,r,t,n,a,l,s,d,h,x,g,f,u,w]),0===e.length)return M.jsx("div",{className:"chart-container",children:"No data available"});return M.jsxs("div",{className:"chromatogram-container",style:{width:r,height:t},children:[M.jsxs("div",{className:"sequence-header",children:[(()=>{const e=Math.min(...h),t=Math.max(...h),i=r;return M.jsx("div",{className:"sequence-letters-container",children:p.map((r,o)=>{const n=h[o],c="A"===r?a:"T"===r?l:"G"===r?s:"C"===r?d:"var(--black-900)",p=(n-e)/(t-e)*i;return M.jsx("span",{className:"sequence-letter",style:{left:`${p}px`,color:c},children:r},`base-${o}`)})})})(),(()=>{const e=Math.min(...h),t=Math.max(...h),i=r,o=[];for(let r=Math.ceil(e/n)*n;r<=t;r+=n)o.push({position:r,label:r.toString()});return M.jsx("div",{className:"position-numbers-container",children:o.map(r=>{const o=(r.position-e)/(t-e)*i;return M.jsx("span",{className:"position-number",style:{left:`${o}px`},children:r.label},`pos-${r.position}`)})})})()]}),M.jsx("div",{className:"chromatogram-chart",children:M.jsx("div",{ref:c,style:{width:"100%",height:"100%"}})})]})},rn=({dataSeries:e,width:r=1e3,height:t=600,title:n="Dot Plot",xTitle:a="Columns",yTitle:l="Rows",variant:s="default",markerSize:d=8})=>{const c=i(null),h=Array.isArray(e)?e:[e],p=[Yo.ORANGE,Yo.RED,Yo.GREEN,Yo.BLUE,Yo.YELLOW,Yo.PURPLE],x=["circle","square","diamond","triangle-up","triangle-down","star"],g=h.map((e,r)=>"default"===s?{...e,color:e.color||p[0],symbol:"circle",size:e.size||d}:{...e,color:e.color||p[r%p.length],symbol:e.symbol||x[r%x.length],size:e.size||d}),f=Yo.GREY_200,u=g.map(e=>({type:"scatter",x:e.x,y:e.y,mode:"markers",name:e.name,marker:{color:e.color,size:e.size,symbol:e.symbol,line:{color:Yo.WHITE,width:1}},hovertemplate:`${a}: %{x}<br>${l}: %{y}<extra>${e.name}</extra>`})),m={tickcolor:Yo.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Yo.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Yo.BLACK_900,linewidth:1,position:0,zeroline:!1},b={text:n,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Yo.BLACK_900,lineheight:1.2,standoff:30}};return o(()=>{if(!c.current)return;const e={width:r,height:t,font:{family:"Inter, sans-serif"},title:b,margin:{l:80,r:40,b:80,t:80,pad:0},showlegend:!0,legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Yo.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},xaxis:{title:{text:a,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:f,...m},yaxis:{title:{text:l,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:f,...m},paper_bgcolor:Yo.WHITE,plot_bgcolor:Yo.WHITE};return C.newPlot(c.current,u,e,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{c.current&&C.purge(c.current)}},[e,r,t,a,l,s,d,u]),M.jsx("div",{className:"dotplot-container",style:{width:r},children:M.jsx("div",{ref:c,style:{width:"100%",height:"100%",margin:"0"}})})};const tn=[[0,"#092761"],[.15,"#141950"],[.3,"#282D73"],[.45,"#463782"],[.6,"#643C8C"],[.7,"#8C4696"],[.8,"#B45096"],[.9,"#DC5A8C"],[.95,"#FA6482"],[1,"#FF5C64"]],on=({data:e,xLabels:r,yLabels:t,title:n,xTitle:a="Columns",yTitle:l="Rows",colorscale:s=tn,width:d=800,height:c=600,showScale:h=!0,precision:p=0,zmin:x=0,zmax:g=5e4,valueUnit:f=""})=>{const u=i(null);let m=e||function(e,r,t=0,i=1){const o=[];for(let n=0;n<e;n++){const e=[];for(let o=0;o<r;o++)e.push(t+Math.random()*(i-t));o.push(e)}return o}(16,24,5e3,5e4);m=function(e){if(!e||0===e.length)return[];const r=Math.max(...e.map(e=>e.length));return e.map(e=>{if(e.length===r)return e;const t=[...e];for(;t.length<r;)t.push(0);return t})}(m);const b=m.length>0?m[0].length:24,v=r||Array.from({length:b},(e,r)=>r+1),y=t||(w=m.length,Array.from({length:w},(e,r)=>String.fromCharCode(65+r)));var w;return o(()=>{if(!u.current)return;const e=[{z:m,x:v,y:y,type:"heatmap",colorscale:s,showscale:h,zsmooth:!1,hovertemplate:`Row: %{y}<br>Column: %{x}<br>Value: %{z:.${p}f}${f}<extra></extra>`,zmin:x,zmax:g,colorbar:{thickness:28,len:1,outlinewidth:0,ticksuffix:f,y:.5,yanchor:"middle"}}],r={title:{text:n||"",font:{family:"Inter, sans-serif",size:20,color:"var(--black-300)"},y:.98,yanchor:"top"},width:d,height:c,margin:{l:70,r:70,b:70,t:100,pad:5},xaxis:{title:{text:a,font:{size:16,color:"var(--black-300)",family:"Inter, sans-serif"},standoff:15},side:"top",fixedrange:!0},yaxis:{title:{text:l,font:{size:16,color:"var(--black-300)",family:"Inter, sans-serif"},standoff:15},autorange:"reversed",fixedrange:!0},paper_bgcolor:"var(--white-900)",plot_bgcolor:"var(--white-900)",font:{family:"Inter, sans-serif",color:"var(--grey-600)"}};return C.newPlot(u.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{u.current&&C.purge(u.current)}},[e,r,t,n,a,l,s,d,c,h,p,x,g,f]),M.jsx("div",{className:"heatmap-container",children:M.jsx("div",{ref:u,style:{width:"100%",height:"100%"}})})},nn=({dataSeries:r,width:t=480,height:n=480,title:a="Histogram",xTitle:l="X Axis",yTitle:s="Frequency",bargap:d=.2,showDistributionLine:c=!1})=>{const h=i(null),p=Array.isArray(r)?r:[r],x=p.length>1?"stack":void 0,g=[Yo.ORANGE,Yo.RED,Yo.BLUE,Yo.GREEN,Yo.PURPLE,Yo.YELLOW],f=p.map((e,r)=>{const t=void 0!==e.showDistributionLine?e.showDistributionLine:c;return{...e,color:e.color||g[r%g.length],opacity:t?.5:e.opacity||1,showDistributionLine:t,lineWidth:e.lineWidth||3}}),u=Yo.GREY_200,m=f.map(e=>({type:"histogram",x:e.x,name:e.name,marker:{color:e.color,line:{color:Yo.WHITE,width:1},opacity:e.opacity},autobinx:e.autobinx,xbins:e.xbins,hovertemplate:`${l}: %{x}<br>${s}: %{y}<extra>${e.name}</extra>`})),b=f.filter(e=>e.showDistributionLine).map(e=>{const r=(t=e.x).reduce((e,r)=>e+r,0)/t.length;var t;const i=((e,r)=>{const t=e.map(e=>Math.pow(e-r,2)).reduce((e,r)=>e+r,0)/e.length;return Math.sqrt(t)})(e.x,r),o=Math.min(...e.x),n=Math.max(...e.x),a=n-o,l=o-.1*a,s=n+.1*a,d=e.xbins||{start:l,end:s,size:a/10},c=((e,r,t,i,o=100)=>{const n=[],a=[],l=(i-t)/(o-1);for(let i=0;i<o;i++){const o=t+i*l;n.push(o);const s=-.5*Math.pow((o-e)/r,2),d=1/(r*Math.sqrt(2*Math.PI))*Math.exp(s);a.push(d)}return{x:n,y:a}})(r,i,l,s,100),h=((e,r,t)=>{const i=Math.ceil((t.end-t.start)/t.size),o=Array(i).fill(0);r.forEach(e=>{if(e>=t.start&&e<=t.end){const r=Math.floor((e-t.start)/t.size);o[r]++}});const n=Math.max(...o)/Math.max(...e);return e.map(e=>e*n)})(c.y,e.x,d);return{type:"scatter",x:c.x,y:h,mode:"lines",name:`${e.name} Distribution`,line:{color:e.color,width:e.lineWidth},hoverinfo:"none"}}),v=[...m,...b];o(()=>{if(!h.current)return;const e={width:t,height:n,font:{family:"Inter, sans-serif"},showlegend:!1,margin:{l:90,r:40,b:80,t:40},xaxis:{title:{text:l,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:20},gridcolor:u,tickcolor:Yo.GREY_200,ticklen:8,tickwidth:1,ticks:"outside",linecolor:Yo.BLACK_900,linewidth:1,zeroline:!1},yaxis:{title:{text:s,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:20},gridcolor:u,tickcolor:Yo.GREY_200,ticklen:8,tickwidth:1,ticks:"outside",linecolor:Yo.BLACK_900,linewidth:1,zeroline:!1,rangemode:"tozero"},barmode:x,bargap:d,paper_bgcolor:Yo.WHITE,plot_bgcolor:Yo.WHITE};return C.newPlot(h.current,v,e,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{h.current&&C.purge(h.current)}},[r,t,n,a,l,s,d,c,v]);return M.jsx("div",{className:"histogram-container",style:{width:t},children:M.jsxs("div",{className:"chart-container",children:[a&&M.jsx("div",{className:"title-container",children:M.jsx("h2",{className:"title",children:a})}),M.jsx("div",{ref:h,style:{width:"100%",height:"100%",margin:"0"}}),M.jsx(({series:r})=>{const t=r.map((t,i)=>M.jsx(e.Fragment,{children:M.jsxs("div",{className:"legend-item",children:[M.jsx("span",{className:"color-box",style:{background:t.color}}),t.name,i<r.length-1&&M.jsx("span",{className:"divider"})]})},t.name)),i=[];for(let e=0;e<t.length;e+=6)i.push(M.jsx("div",{className:"legend-row",children:t.slice(e,e+6)},e));return M.jsx("div",{className:"legend-container",children:i})},{series:f})]})})},an=({dataSeries:e,width:r=1e3,height:t=600,xRange:n,yRange:a,variant:l="lines",xTitle:s="Columns",yTitle:d="Rows",title:c="Line Graph"})=>{const h=i(null),{yMin:p,yMax:x}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE,i=Number.MAX_VALUE,o=Number.MIN_VALUE;e.forEach(e=>{e.x.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)}),e.y.forEach(e=>{i=Math.min(i,e),o=Math.max(o,e)})});const n=.1*(t-r),a=.1*(o-i);return{xMin:r-n,xMax:t+n,yMin:i-a,yMax:o+a}})(),g=a||[p,x],f=Array.from(new Set(e.flatMap(e=>e.x))),u=(()=>{const e=g[1]-g[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(g[0]/r)*r;for(;i<=g[1];)t.push(i),i+=r;return t})(),m=()=>{switch(l){case"lines+markers":case"lines+markers+error_bars":return"lines+markers";default:return"lines"}},b={tickcolor:Yo.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Yo.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Yo.BLACK_900,linewidth:1,position:0,zeroline:!1};return o(()=>{if(!h.current)return;const i=e.map(e=>({x:e.x,y:e.y,type:"scatter",mode:m(),name:e.name,line:{color:e.color,width:1.5},marker:"lines"!==l?{color:e.color,size:8,symbol:e.symbol||"triangle-up"}:{opacity:0},error_y:"lines+markers+error_bars"===l?e.error_y||{type:"data",array:e.y.map(()=>10),visible:!0,color:e.color,thickness:1,width:5}:void 0})),o={title:{text:c,font:{size:32,family:"Inter, sans-serif",color:Yo.BLACK_900}},width:r,height:t,margin:{l:80,r:30,b:80,t:60,pad:10},paper_bgcolor:Yo.WHITE,plot_bgcolor:Yo.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:s,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Yo.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:f,ticktext:f.map(String),showgrid:!0,...b},yaxis:{title:{text:d,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Yo.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:u,showgrid:!0,...b},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Yo.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:!0};return C.newPlot(h.current,i,o,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{h.current&&C.purge(h.current)}},[e,r,t,n,a,l,s,d,c]),M.jsx("div",{className:"chart-container",children:M.jsx("div",{ref:h,style:{width:"100%",height:"100%"}})})},ln=s.div`
1888
+ `;u(void 0);let Oo=[],Vo=[];const Do=({position:e="top"})=>{const[t,i]=c([]),[o,n]=c(!1);return p(()=>{n(!0);const e=(r=i,Vo.push(r),r(Oo),()=>{Vo=Vo.filter(e=>e!==r)});var r;return()=>{e(),n(!1)}},[]),o?w(r(Po,{position:e,children:t.map(t=>r(So,{theme:{position:e},children:r(Rt,{type:t.type,heading:t.heading,description:t.description})},t.id))}),document.body):null},Uo=({userProfile:t,hostname:i,organization:o,children:n})=>{const l=[{icon:Me.SEARCH_DOCUMENT,label:"Search"},{icon:Me.SEARCH_SQL,label:"SQL Search"},{icon:Me.LAMP,label:"Projects"},{icon:Me.PIPELINE,label:"Pipelines"},{icon:Me.COMPUTER,label:"Data & AI Workspace"},{icon:Me.CUBE,label:"Artifacts"},{icon:Me.DATABASE,label:"Data Sources"},{icon:Me.PIE_CHART,label:"Health Monitoring"},{icon:Me.BULK_CHECK,label:"Bulk Actions"},{icon:Me.CODE,label:"Attribute Management"},{icon:Me.GEAR,label:"Administration"}],[a,s]=c("Pipelines");return e("div",{className:"app-layout",children:[r(ji,{organization:o}),e("div",{className:"content-container",children:[r(ko,{items:l,activeItem:a,onItemClick:e=>{s(e)}}),e("div",{className:"main-content",children:[r(Zt,{hostname:i,userProfile:t,onHomeClick:()=>{console.log("Home clicked")},onSettingsClick:()=>{console.log("Settings clicked")},onUserProfileClick:()=>{console.log("User profile clicked")}}),r("div",{className:"main-layout",children:n})]})]})]})},Zo=(e,r)=>{if("undefined"!=typeof window){return getComputedStyle(document.documentElement).getPropertyValue(`--${e}`).trim()||r||""}return`var(--${e}${r?`, ${r}`:""})`},Go={BLACK_50:Zo("black-50","rgba(26, 26, 26, 0.05)"),BLACK_100:Zo("black-100","rgba(26, 26, 26, 0.1)"),BLACK_200:Zo("black-200","rgba(26, 26, 26, 0.2)"),BLACK_300:Zo("black-300","rgba(26, 26, 26, 0.3)"),BLACK_400:Zo("black-400","rgba(26, 26, 26, 0.4)"),BLACK_500:Zo("black-500","rgba(26, 26, 26, 0.5)"),BLACK_600:Zo("black-600","rgba(26, 26, 26, 0.6)"),BLACK_700:Zo("black-700","rgba(26, 26, 26, 0.7)"),BLACK_800:Zo("black-800","rgba(26, 26, 26, 0.8)"),BLACK_900:Zo("black-900","rgba(26, 26, 26, 1)"),BLACK:Zo("black-900","#1a1a1a"),BLACK_OPACITY_20:"rgba(26, 26, 26, 0.2)",WHITE_50:Zo("white-50","rgba(255, 255, 255, 0.05)"),WHITE_100:Zo("white-100","rgba(255, 255, 255, 0.1)"),WHITE_200:Zo("white-200","rgba(255, 255, 255, 0.2)"),WHITE_300:Zo("white-300","rgba(255, 255, 255, 0.3)"),WHITE_400:Zo("white-400","rgba(255, 255, 255, 0.4)"),WHITE_500:Zo("white-500","rgba(255, 255, 255, 0.5)"),WHITE_600:Zo("white-600","rgba(255, 255, 255, 0.6)"),WHITE_700:Zo("white-700","rgba(255, 255, 255, 0.7)"),WHITE_800:Zo("white-800","rgba(255, 255, 255, 0.8)"),WHITE_900:Zo("white-900","rgba(255, 255, 255, 1)"),WHITE:Zo("white-900","#ffffff"),BLUE_50:Zo("blue-50","rgba(240, 249, 255, 1)"),BLUE_100:Zo("blue-100","rgba(225, 243, 254, 1)"),BLUE_200:Zo("blue-200","rgba(185, 229, 252, 1)"),BLUE_300:Zo("blue-300","rgba(125, 211, 251, 1)"),BLUE_400:Zo("blue-400","rgba(58, 190, 247, 1)"),BLUE_500:Zo("blue-500","rgba(27, 173, 240, 1)"),BLUE_600:Zo("blue-600","rgba(64, 114, 210, 1)"),BLUE_700:Zo("blue-700","rgba(3, 105, 159, 1)"),BLUE_800:Zo("blue-800","rgba(5, 69, 103, 1)"),BLUE_900:Zo("blue-900","rgba(4, 38, 63, 1)"),BLUE:Zo("graph-primary-blue","#2D9CDB"),GREY_50:Zo("grey-50","rgba(248, 250, 252, 1)"),GREY_100:Zo("grey-100","rgba(241, 245, 249, 1)"),GREY_200:Zo("grey-200","rgba(225, 231, 239, 1)"),GREY_300:Zo("grey-300","rgba(200, 214, 229, 1)"),GREY_400:Zo("grey-400","rgba(158, 172, 192, 1)"),GREY_500:Zo("grey-500","rgba(100, 116, 139, 1)"),GREY_600:Zo("grey-600","rgba(72, 86, 106, 1)"),GREY_700:Zo("grey-700","rgba(51, 65, 86, 1)"),GREY_800:Zo("grey-800","rgba(29, 40, 57, 1)"),GREY_900:Zo("grey-900","rgba(20, 30, 53, 1)"),GREY:Zo("grey-400","#CCCCCC"),ORANGE:Zo("graph-primary-orange","#FFA62E"),RED:Zo("graph-primary-red","#FF5C64"),GREEN:Zo("graph-primary-green","#A5C34E"),YELLOW:Zo("graph-primary-yellow","#FBED53"),PURPLE:Zo("graph-primary-purple","#7A51AB"),GREEN_BG:Zo("green-bg","rgba(234, 254, 229, 1)"),GREEN_SUCCESS:Zo("green-success","rgba(8, 173, 55, 1)"),ORANGE_BG:Zo("orange-bg","rgba(254, 250, 229, 1)"),ORANGE_CAUTION:Zo("orange-caution","rgba(249, 173, 20, 1)"),RED_BG:Zo("red-bg","rgba(254, 234, 229, 1)"),RED_ERROR:Zo("red-error","rgba(216, 35, 44, 1)"),GRAPH_SECONDARY_BROWN:Zo("graph-secondary-brown","#AD7942"),GRAPH_SECONDARY_PINK:Zo("graph-secondary-pink","#FB90B4"),GRAPH_SECONDARY_TEAL:Zo("graph-secondary-teal","#3CCABA"),GRAPH_SECONDARY_DARK_BLUE:Zo("graph-secondary-dark-blue","#4072D2"),GRAPH_SECONDARY_BLACK:Zo("graph-secondary-black","#424E62"),GRAPH_SECONDARY_GREY:Zo("graph-secondary-grey","#B4B4B4")},Wo=[Go.ORANGE,Go.RED,Go.GREEN,Go.BLUE,Go.YELLOW,Go.PURPLE,Go.GRAPH_SECONDARY_BROWN,Go.GRAPH_SECONDARY_PINK,Go.GRAPH_SECONDARY_TEAL,Go.GRAPH_SECONDARY_DARK_BLUE,Go.GRAPH_SECONDARY_BLACK,Go.GRAPH_SECONDARY_GREY],jo=({dataSeries:e,width:t=1e3,height:i=600,xRange:o,yRange:n,variant:l="normal",xTitle:a="Columns",yTitle:s="Rows",title:d="Area Graph"})=>{const c=h(null),{xMin:g,xMax:f,yMin:u,yMax:C}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE,i=Number.MAX_VALUE,o=Number.MIN_VALUE;e.forEach(e=>{e.x.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)}),e.y.forEach(e=>{i=Math.min(i,e),o=Math.max(o,e)})});const n=.1*(t-r),a=.1*(o-i);return{xMin:r-n,xMax:t+n,yMin:"stacked"===l?0:i-a,yMax:o+a}})(),x=o||[g,f],m=n||[u,C],b=(()=>{const e=x[1]-x[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(x[0]/r)*r;for(;i<=x[1];)t.push(i),i+=r;return t})(),v=(()=>{const e=m[1]-m[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(m[0]/r)*r;for(;i<=m[1];)t.push(i),i+=r;return t})(),w={tickcolor:Go.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Go.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Go.BLACK_900,linewidth:1,position:0,zeroline:!1},k={text:d,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Go.BLACK_900,lineheight:1.2,standoff:30}};return p(()=>{if(!c.current)return;let r;if("stacked"===l){const t=new Array(e[0]?.x.length||0).fill(0);r=e.map((e,r)=>{const i=e.y.map((e,r)=>{const i=t[r]+e;return t[r]=i,i});return{x:e.x,y:i,type:"scatter",mode:"lines",name:e.name,fill:0===r?"tozeroy":"tonexty",fillcolor:e.color,line:{color:e.color,width:2}}})}else r=e.map(e=>({x:e.x,y:e.y,type:"scatter",mode:"lines",name:e.name,fill:e.fill||"tozeroy",fillcolor:e.color,line:{color:e.color,width:2}}));const d={width:t,height:i,title:k,margin:{l:80,r:40,b:80,t:80,pad:0},paper_bgcolor:Go.WHITE,plot_bgcolor:Go.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:a,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Go.GREY_200,range:o,autorange:!o,tickmode:"array",tickvals:b,showgrid:!0,...w},yaxis:{title:{text:s,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Go.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:v,showgrid:!0,...w},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Go.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},showlegend:!0};return y.newPlot(c.current,r,d,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{c.current&&y.purge(c.current)}},[e,t,i,o,n,l,a,s,d]),r("div",{className:"area-graph-container",children:r("div",{ref:c,style:{width:"100%",height:"100%"}})})},Ko=({dataSeries:e,width:t=1e3,height:i=600,xRange:o,yRange:n,variant:l="group",xTitle:a="Columns",yTitle:s="Rows",title:d="Bar Graph",barWidth:c=24})=>{const g=h(null),{yMin:f,yMax:u}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE,i=Number.MAX_VALUE,o=Number.MIN_VALUE;e.forEach(e=>{e.x.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)}),e.y.forEach(e=>{i=Math.min(i,e),o=Math.max(o,e)})});const n=.1*(t-r),a=.1*(o-i);return{xMin:r-n,xMax:t+n,yMin:"stack"===l?0:i-a,yMax:o+a}})(),C=n||[f,u],x=Array.from(new Set(e.flatMap(e=>e.x))),m=(()=>{const e=C[1]-C[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(C[0]/r)*r;for(;i<=C[1];)t.push(i),i+=r;return t})(),b=()=>{switch(l){case"stack":return"stack";case"overlay":return"overlay";default:return"group"}},v={tickcolor:Go.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Go.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Go.BLACK_900,linewidth:1,position:0,zeroline:!1};return p(()=>{if(!g.current)return;const r=e.map(e=>({x:e.x,y:e.y,type:"bar",name:e.name,marker:{color:e.color},width:c,error_y:e.error_y})),l={title:{text:d,font:{size:32,family:"Inter, sans-serif",color:Go.BLACK_900}},width:t,height:i,margin:{l:80,r:30,b:80,t:60,pad:0},paper_bgcolor:Go.WHITE,plot_bgcolor:Go.WHITE,font:{family:"Inter, sans-serif"},barmode:b(),bargap:.15,dragmode:!1,xaxis:{title:{text:a,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Go.GREY_200,range:o,autorange:!o,tickmode:"array",tickvals:x,showgrid:!0,...v},yaxis:{title:{text:s,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Go.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:m,showgrid:!0,...v},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Go.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:e.length>1};return y.newPlot(g.current,r,l,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{g.current&&y.purge(g.current)}},[e,t,i,o,n,l,a,s,d,c]),r("div",{className:"bar-graph-container",children:r("div",{ref:g,style:{width:"100%",height:"100%"}})})},Yo=({dataSeries:e,width:t=1e3,height:i=600,xRange:o,yRange:n,xTitle:l="Columns",yTitle:a="Rows",title:s="Boxplot",showPoints:d=!1})=>{const c=h(null),{yMin:g,yMax:f}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE;e.forEach(e=>{e.y.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)})});const i=.1*(t-r);return{yMin:r-i,yMax:t+i}})(),u=n||[g,f],C=(()=>{const e=u[1]-u[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(u[0]/r)*r;for(;i<=u[1];)t.push(i),i+=r;return t})(),x={tickcolor:Go.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Go.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Go.BLACK_900,linewidth:1,position:0,zeroline:!1},m={text:s,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Go.BLACK_900,lineheight:1.2,standoff:30}};return p(()=>{if(!c.current)return;const r=e.map(e=>({y:e.y,x:e.x,type:"box",name:e.name,marker:{color:e.color},line:{color:e.color},fillcolor:e.color+"40",boxpoints:!!d&&(e.boxpoints||"outliers"),jitter:e.jitter||.3,pointpos:e.pointpos||-1.8})),s={width:t,height:i,title:m,margin:{l:80,r:40,b:80,t:80,pad:0},paper_bgcolor:Go.WHITE,plot_bgcolor:Go.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Go.GREY_200,range:o,autorange:!o,showgrid:!0,...x},yaxis:{title:{text:a,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Go.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:C,showgrid:!0,...x},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Go.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},showlegend:!0};return y.newPlot(c.current,r,s,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{c.current&&y.purge(c.current)}},[e,t,i,o,n,l,a,s,d]),r("div",{className:"boxplot-container",children:r("div",{ref:c,style:{width:"100%",height:"100%"}})})},Fo=({data:t=[],width:i=900,height:o=600,positionInterval:n=10,colorA:l="#2D9CDB",colorT:a="#A1C63C",colorG:s="#FF5C64",colorC:d="#FFA62E"})=>{const c=h(null),g=t.map(e=>e.position),f=t.map(e=>(e=>{const r={A:e.peakA,T:e.peakT,G:e.peakG,C:e.peakC},t=Object.values(r);if(t.every(e=>e===t[0]))return"";let i="",o=0;return Object.entries(r).forEach(([e,r])=>{r>o&&(i=e,o=r)}),i})(e)),u=t.map(e=>e.peakA),C=t.map(e=>e.peakT),x=t.map(e=>e.peakG),m=t.map(e=>e.peakC),b={x:g,y:u,type:"scatter",mode:"lines",name:"A",line:{color:l,width:2,shape:"spline"}},v={x:g,y:C,type:"scatter",mode:"lines",name:"T",line:{color:a,width:2,shape:"spline"}},w={x:g,y:x,type:"scatter",mode:"lines",name:"G",line:{color:s,width:2,shape:"spline"}},k={x:g,y:m,type:"scatter",mode:"lines",name:"C",line:{color:d,width:2,shape:"spline"}},L=Math.max(...u,...C,...x,...m);if(p(()=>{if(!c.current||0===t.length)return;const e=[b,v,w,k],r={width:i,height:o-75,margin:{l:0,r:0,b:20,t:10,pad:0},paper_bgcolor:"var(--white-900)",plot_bgcolor:"var(--white-900)",font:{family:"Inter, sans-serif"},showlegend:!1,xaxis:{showgrid:!1,zeroline:!1,showticklabels:!1,showline:!1,range:[Math.min(...g),Math.max(...g)],fixedrange:!0},yaxis:{showgrid:!1,zeroline:!1,showticklabels:!1,showline:!1,range:[0,1.05*L],fixedrange:!0}};return y.newPlot(c.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1,fillFrame:!0}),()=>{c.current&&y.purge(c.current)}},[t,i,o,n,l,a,s,d,g,u,C,x,m,L]),0===t.length)return r("div",{className:"chart-container",children:"No data available"});return e("div",{className:"chromatogram-container",style:{width:i,height:o},children:[e("div",{className:"sequence-header",children:[(()=>{const e=Math.min(...g),t=Math.max(...g),o=i;return r("div",{className:"sequence-letters-container",children:f.map((i,n)=>{const c=g[n];return r("span",{className:"sequence-letter",style:{left:(c-e)/(t-e)*o+"px",color:"A"===i?l:"T"===i?a:"G"===i?s:"C"===i?d:"var(--black-900)"},children:i},`base-${n}`)})})})(),(()=>{const e=Math.min(...g),t=Math.max(...g),o=i,l=[];for(let r=Math.ceil(e/n)*n;r<=t;r+=n)l.push({position:r,label:r.toString()});return r("div",{className:"position-numbers-container",children:l.map(i=>{const n=(i.position-e)/(t-e);return r("span",{className:"position-number",style:{left:n*o+"px"},children:i.label},`pos-${i.position}`)})})})()]}),r("div",{className:"chromatogram-chart",children:r("div",{ref:c,style:{width:"100%",height:"100%"}})})]})},Xo=({dataSeries:e,width:t=1e3,height:i=600,title:o="Dot Plot",xTitle:n="Columns",yTitle:l="Rows",variant:a="default",markerSize:s=8})=>{const d=h(null),c=Array.isArray(e)?e:[e],g=[Go.ORANGE,Go.RED,Go.GREEN,Go.BLUE,Go.YELLOW,Go.PURPLE],f=["circle","square","diamond","triangle-up","triangle-down","star"],u=c.map((e,r)=>"default"===a?{...e,color:e.color||g[0],symbol:"circle",size:e.size||s}:{...e,color:e.color||g[r%g.length],symbol:e.symbol||f[r%f.length],size:e.size||s}),C=Go.GREY_200,x=u.map(e=>({type:"scatter",x:e.x,y:e.y,mode:"markers",name:e.name,marker:{color:e.color,size:e.size,symbol:e.symbol,line:{color:Go.WHITE,width:1}},hovertemplate:`${n}: %{x}<br>${l}: %{y}<extra>${e.name}</extra>`})),m={tickcolor:Go.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Go.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Go.BLACK_900,linewidth:1,position:0,zeroline:!1},b={text:o,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Go.BLACK_900,lineheight:1.2,standoff:30}};return p(()=>{if(!d.current)return;const e={width:t,height:i,font:{family:"Inter, sans-serif"},title:b,margin:{l:80,r:40,b:80,t:80,pad:0},showlegend:!0,legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Go.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},xaxis:{title:{text:n,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:C,...m},yaxis:{title:{text:l,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:C,...m},paper_bgcolor:Go.WHITE,plot_bgcolor:Go.WHITE};return y.newPlot(d.current,x,e,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{d.current&&y.purge(d.current)}},[e,t,i,n,l,a,s,x]),r("div",{className:"dotplot-container",style:{width:t},children:r("div",{ref:d,style:{width:"100%",height:"100%",margin:"0"}})})};const qo=[[0,"#092761"],[.15,"#141950"],[.3,"#282D73"],[.45,"#463782"],[.6,"#643C8C"],[.7,"#8C4696"],[.8,"#B45096"],[.9,"#DC5A8C"],[.95,"#FA6482"],[1,"#FF5C64"]],Qo=({data:e,xLabels:t,yLabels:i,title:o,xTitle:n="Columns",yTitle:l="Rows",colorscale:a=qo,width:s=800,height:d=600,showScale:c=!0,precision:g=0,zmin:f=0,zmax:u=5e4,valueUnit:C=""})=>{const x=h(null);let m=e||function(e,r,t=0,i=1){const o=[];for(let n=0;n<e;n++){const e=[];for(let o=0;o<r;o++)e.push(t+Math.random()*(i-t));o.push(e)}return o}(16,24,5e3,5e4);m=function(e){if(!e||0===e.length)return[];const r=Math.max(...e.map(e=>e.length));return e.map(e=>{if(e.length===r)return e;const t=[...e];for(;t.length<r;)t.push(0);return t})}(m);const b=m.length>0?m[0].length:24,v=t||Array.from({length:b},(e,r)=>r+1),w=i||(k=m.length,Array.from({length:k},(e,r)=>String.fromCharCode(65+r)));var k;return p(()=>{if(!x.current)return;const e=[{z:m,x:v,y:w,type:"heatmap",colorscale:a,showscale:c,zsmooth:!1,hovertemplate:`Row: %{y}<br>Column: %{x}<br>Value: %{z:.${g}f}${C}<extra></extra>`,zmin:f,zmax:u,colorbar:{thickness:28,len:1,outlinewidth:0,ticksuffix:C,y:.5,yanchor:"middle"}}],r={title:{text:o||"",font:{family:"Inter, sans-serif",size:20,color:"var(--black-300)"},y:.98,yanchor:"top"},width:s,height:d,margin:{l:70,r:70,b:70,t:100,pad:5},xaxis:{title:{text:n,font:{size:16,color:"var(--black-300)",family:"Inter, sans-serif"},standoff:15},side:"top",fixedrange:!0},yaxis:{title:{text:l,font:{size:16,color:"var(--black-300)",family:"Inter, sans-serif"},standoff:15},autorange:"reversed",fixedrange:!0},paper_bgcolor:"var(--white-900)",plot_bgcolor:"var(--white-900)",font:{family:"Inter, sans-serif",color:"var(--grey-600)"}};return y.newPlot(x.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{x.current&&y.purge(x.current)}},[e,t,i,o,n,l,a,s,d,c,g,f,u,C]),r("div",{className:"heatmap-container",children:r("div",{ref:x,style:{width:"100%",height:"100%"}})})},Jo=({dataSeries:t,width:i=480,height:o=480,title:n="Histogram",xTitle:l="X Axis",yTitle:a="Frequency",bargap:d=.2,showDistributionLine:c=!1})=>{const g=h(null),f=Array.isArray(t)?t:[t],u=f.length>1?"stack":void 0,C=[Go.ORANGE,Go.RED,Go.BLUE,Go.GREEN,Go.PURPLE,Go.YELLOW],x=f.map((e,r)=>{const t=void 0!==e.showDistributionLine?e.showDistributionLine:c;return{...e,color:e.color||C[r%C.length],opacity:t?.5:e.opacity||1,showDistributionLine:t,lineWidth:e.lineWidth||3}}),m=Go.GREY_200,b=x.map(e=>({type:"histogram",x:e.x,name:e.name,marker:{color:e.color,line:{color:Go.WHITE,width:1},opacity:e.opacity},autobinx:e.autobinx,xbins:e.xbins,hovertemplate:`${l}: %{x}<br>${a}: %{y}<extra>${e.name}</extra>`})),v=x.filter(e=>e.showDistributionLine).map(e=>{const r=(t=e.x).reduce((e,r)=>e+r,0)/t.length;var t;const i=((e,r)=>{const t=e.map(e=>Math.pow(e-r,2)).reduce((e,r)=>e+r,0)/e.length;return Math.sqrt(t)})(e.x,r),o=Math.min(...e.x),n=Math.max(...e.x),l=n-o,a=o-.1*l,s=n+.1*l,d=e.xbins||{start:a,end:s,size:l/10},c=((e,r,t,i,o=100)=>{const n=[],l=[],a=(i-t)/(o-1);for(let i=0;i<o;i++){const o=t+i*a;n.push(o);const s=-.5*Math.pow((o-e)/r,2),d=1/(r*Math.sqrt(2*Math.PI))*Math.exp(s);l.push(d)}return{x:n,y:l}})(r,i,a,s,100),h=((e,r,t)=>{const i=Math.ceil((t.end-t.start)/t.size),o=Array(i).fill(0);r.forEach(e=>{if(e>=t.start&&e<=t.end){const r=Math.floor((e-t.start)/t.size);o[r]++}});const n=Math.max(...o)/Math.max(...e);return e.map(e=>e*n)})(c.y,e.x,d);return{type:"scatter",x:c.x,y:h,mode:"lines",name:`${e.name} Distribution`,line:{color:e.color,width:e.lineWidth},hoverinfo:"none"}}),w=[...b,...v];p(()=>{if(!g.current)return;const e={width:i,height:o,font:{family:"Inter, sans-serif"},showlegend:!1,margin:{l:90,r:40,b:80,t:40},xaxis:{title:{text:l,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:20},gridcolor:m,tickcolor:Go.GREY_200,ticklen:8,tickwidth:1,ticks:"outside",linecolor:Go.BLACK_900,linewidth:1,zeroline:!1},yaxis:{title:{text:a,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:20},gridcolor:m,tickcolor:Go.GREY_200,ticklen:8,tickwidth:1,ticks:"outside",linecolor:Go.BLACK_900,linewidth:1,zeroline:!1,rangemode:"tozero"},barmode:u,bargap:d,paper_bgcolor:Go.WHITE,plot_bgcolor:Go.WHITE};return y.newPlot(g.current,w,e,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{g.current&&y.purge(g.current)}},[t,i,o,n,l,a,d,c,w]);return r("div",{className:"histogram-container",style:{width:i},children:e("div",{className:"chart-container",children:[n&&r("div",{className:"title-container",children:r("h2",{className:"title",children:n})}),r("div",{ref:g,style:{width:"100%",height:"100%",margin:"0"}}),r(({series:t})=>{const i=t.map((i,o)=>r(s.Fragment,{children:e("div",{className:"legend-item",children:[r("span",{className:"color-box",style:{background:i.color}}),i.name,o<t.length-1&&r("span",{className:"divider"})]})},i.name)),o=[];for(let e=0;e<i.length;e+=6)o.push(r("div",{className:"legend-row",children:i.slice(e,e+6)},e));return r("div",{className:"legend-container",children:o})},{series:x})]})})},en=({dataSeries:e,width:t=1e3,height:i=600,xRange:o,yRange:n,variant:l="lines",xTitle:a="Columns",yTitle:s="Rows",title:d="Line Graph"})=>{const c=h(null),{yMin:g,yMax:f}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE,i=Number.MAX_VALUE,o=Number.MIN_VALUE;e.forEach(e=>{e.x.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)}),e.y.forEach(e=>{i=Math.min(i,e),o=Math.max(o,e)})});const n=.1*(t-r),l=.1*(o-i);return{xMin:r-n,xMax:t+n,yMin:i-l,yMax:o+l}})(),u=n||[g,f],C=Array.from(new Set(e.flatMap(e=>e.x))),x=(()=>{const e=u[1]-u[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(u[0]/r)*r;for(;i<=u[1];)t.push(i),i+=r;return t})(),m=()=>{switch(l){case"lines+markers":case"lines+markers+error_bars":return"lines+markers";default:return"lines"}},b={tickcolor:Go.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Go.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Go.BLACK_900,linewidth:1,position:0,zeroline:!1};return p(()=>{if(!c.current)return;const r=e.map(e=>({x:e.x,y:e.y,type:"scatter",mode:m(),name:e.name,line:{color:e.color,width:1.5},marker:"lines"!==l?{color:e.color,size:8,symbol:e.symbol||"triangle-up"}:{opacity:0},error_y:"lines+markers+error_bars"===l?e.error_y||{type:"data",array:e.y.map(()=>10),visible:!0,color:e.color,thickness:1,width:5}:void 0})),h={title:{text:d,font:{size:32,family:"Inter, sans-serif",color:Go.BLACK_900}},width:t,height:i,margin:{l:80,r:30,b:80,t:60,pad:10},paper_bgcolor:Go.WHITE,plot_bgcolor:Go.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:a,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Go.GREY_200,range:o,autorange:!o,tickmode:"array",tickvals:C,ticktext:C.map(String),showgrid:!0,...b},yaxis:{title:{text:s,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Go.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:x,showgrid:!0,...b},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Go.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:!0};return y.newPlot(c.current,r,h,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{c.current&&y.purge(c.current)}},[e,t,i,o,n,l,a,s,d]),r("div",{className:"chart-container",children:r("div",{ref:c,style:{width:"100%",height:"100%"}})})},rn=i.div`
1889
1889
  display: flex;
1890
1890
  flex-direction: column;
1891
1891
  width: 100vw;
1892
1892
  height: 100vh;
1893
- `,sn=s.div`
1893
+ `,tn=i.div`
1894
1894
  display: flex;
1895
1895
  flex: 1;
1896
1896
  overflow: hidden;
1897
- `,dn=s.div`
1897
+ `,on=i.div`
1898
1898
  display: flex;
1899
1899
  flex-direction: column;
1900
1900
  flex: 1;
1901
1901
  overflow: hidden;
1902
- `,cn=s.div`
1902
+ `,nn=i.div`
1903
1903
  display: flex;
1904
1904
  flex-direction: column;
1905
1905
  background-color: var(--white-900);
1906
1906
  flex: 1;
1907
1907
  overflow: hidden;
1908
- `,hn=s.div`
1908
+ `,ln=i.div`
1909
1909
  border-bottom: 1px solid var(--grey-200);
1910
1910
  display: flex;
1911
1911
  flex-direction: column;
1912
1912
  flex: 1;
1913
1913
  overflow: hidden;
1914
- `,pn=s.div`
1914
+ `,an=i.div`
1915
1915
  display: flex;
1916
1916
  justify-content: space-between;
1917
1917
  align-items: center;
1918
1918
  padding: 24px 0;
1919
1919
  background-color: var(--white-900);
1920
- `,xn=s.h2`
1920
+ `,sn=i.h2`
1921
1921
  font-family: "Inter", sans-serif;
1922
1922
  font-size: 20px;
1923
1923
  font-weight: 500;
1924
1924
  color: var(--black-900);
1925
1925
  margin: 0;
1926
- `,gn=s.div`
1926
+ `,dn=i.div`
1927
1927
  display: flex;
1928
1928
  gap: 8px;
1929
- `,fn=s(B)`
1929
+ `,cn=i(N)`
1930
1930
  border-radius: 4px;
1931
1931
  width: 32px;
1932
1932
  height: 32px;
1933
- `,un=s.div`
1933
+ `,hn=i.div`
1934
1934
  width: 360px;
1935
1935
  height: 100%;
1936
1936
  display: flex;
@@ -1938,46 +1938,46 @@ import e,{forwardRef as r,useState as t,useRef as i,useEffect as o,useCallback a
1938
1938
  padding: 16px 24px;
1939
1939
  overflow: hidden;
1940
1940
  max-height: 100%;
1941
- `,mn=s.div`
1941
+ `,pn=i.div`
1942
1942
  flex: 1;
1943
1943
  height: 100%;
1944
1944
  background-color: var(--grey-100);
1945
1945
  display: flex;
1946
1946
  flex-direction: column;
1947
- `,bn=s.div`
1947
+ `,gn=i.div`
1948
1948
  padding: 16px 24px 0 24px;
1949
- `,Cn=s.div`
1949
+ `,fn=i.div`
1950
1950
  display: flex;
1951
1951
  flex-direction: column;
1952
1952
  overflow-y: auto;
1953
1953
  flex: 1;
1954
1954
  margin-top: 8px;
1955
1955
  max-height: calc(100vh - 240px);
1956
- `,vn=s.div`
1956
+ `,un=i.div`
1957
1957
  display: flex;
1958
1958
  flex-direction: column;
1959
1959
  justify-content: center;
1960
1960
  align-items: center;
1961
1961
  gap: 16px;
1962
- `,yn=s.div`
1962
+ `,Cn=i.div`
1963
1963
  color: var(--grey-400);
1964
1964
  font-size: 14px;
1965
1965
  font-weight: 500;
1966
- `,wn=s.div`
1966
+ `,xn=i.div`
1967
1967
  cursor: pointer;
1968
1968
 
1969
1969
  &:last-child {
1970
1970
  border-bottom: none;
1971
1971
  }
1972
- `,jn=s(bi)``,kn=s.div`
1972
+ `,mn=i(gi)``,bn=i.div`
1973
1973
  padding: 24px;
1974
1974
  margin-top: -1px;
1975
1975
  flex: 1;
1976
1976
  border-top: 1px solid var(--grey-200);
1977
- `,En=s.div`
1977
+ `,vn=i.div`
1978
1978
  height: 100%;
1979
1979
  border: 1px solid var(--grey-200);
1980
1980
  border-radius: 8px;
1981
1981
  overflow: hidden;
1982
- `,Ln=({userProfile:e,hostname:r,organization:i})=>{const o=[{icon:Ie.SEARCH_DOCUMENT,label:"Search"},{icon:Ie.SEARCH_SQL,label:"SQL Search"},{icon:Ie.LAMP,label:"Projects"},{icon:Ie.PIPELINE,label:"Pipelines"},{icon:Ie.COMPUTER,label:"Data & AI Workspace"},{icon:Ie.CUBE,label:"Artifacts"},{icon:Ie.DATABASE,label:"Data Sources"},{icon:Ie.PIE_CHART,label:"Health Monitoring"},{icon:Ie.BULK_CHECK,label:"Bulk Actions"},{icon:Ie.CODE,label:"Attribute Management"},{icon:Ie.GEAR,label:"Administration"}],[n,a]=t("Pipelines"),[l,s]=t("templates"),[d,c]=t("pipelineBuilder"),[h,p]=t("1"),x=[{id:"1",title:"Tecan D300e and PerkinElmer EnVision to Dotmatics (v1)",description:"c901ejs",buttonText:"",linkText:""},{id:"2",title:"Bruker D8 Andvanced CRD Raw to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"3",title:"Extract and Decorate(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"4",title:"Intellict (Que3 Raw to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"5",title:"Leica Aperio RAW to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"6",title:"IDS to Benchling(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"7",title:"Lorem Ipsum",description:"c901ejs",buttonText:"",linkText:""}],g=[],f=e=>{p(e===h?null:e)},u=e=>{console.log(`Using template: ${e}`)},m=e=>{console.log(`Viewing template: ${e}`)};return M.jsxs(ln,{children:[M.jsx(qi,{organization:i}),M.jsxs(sn,{children:[M.jsx(_o,{items:o,activeItem:n,onItemClick:e=>{a(e)}}),M.jsxs(dn,{children:[M.jsx(Ft,{hostname:r,userProfile:e,onHomeClick:()=>{console.log("Home clicked")},onSettingsClick:()=>{console.log("Settings clicked")},onUserProfileClick:()=>{console.log("User profile clicked")}}),M.jsx(cn,{children:M.jsx(hn,{children:M.jsxs("div",{style:{display:"flex",height:"100%"},children:[M.jsxs(un,{children:[M.jsx(Vo,{tabs:[{id:"templates",label:"Templates"},{id:"protocol",label:"Protocol"},{id:"steps",label:"Steps"}],activeTab:l,onChange:e=>{s(e)}}),"templates"===l&&M.jsxs(M.Fragment,{children:[M.jsxs(pn,{children:[M.jsx(xn,{children:"Templates"}),M.jsxs(gn,{children:[M.jsx(fn,{variant:"tertiary",size:"small","aria-label":"Delete",noPadding:!0,children:M.jsx(Ne,{name:Ie.TRASH,width:"20",height:"20",fill:"var(--red-error)"})}),M.jsx(fn,{variant:"primary",size:"small","aria-label":"Add",noPadding:!0,children:M.jsx(Ne,{name:Ie.PLUS,width:"20",height:"20",fill:"var(--white-900)"})})]})]}),M.jsx(Cn,{children:x.length>0?x.map(e=>M.jsx(wn,{onClick:()=>f(e.id),children:M.jsx(jn,{title:e.title,description:e.description,buttonText:e.buttonText,linkText:e.linkText,status:h===e.id?"active":"default",onButtonClick:()=>u(e.id),onLinkClick:()=>m(e.id)})},e.id)):M.jsxs(vn,{children:[M.jsx(Ne,{name:Ie.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),M.jsx(yn,{children:"No data"})]})})]}),"protocol"===l&&M.jsxs(M.Fragment,{children:[M.jsx(pn,{children:M.jsxs(xn,{children:["Protocol (",g.length,")"]})}),M.jsx(Cn,{children:g.length>0?g.map(e=>M.jsx(wn,{onClick:()=>f(e.id),children:M.jsx(jn,{title:e.title,description:e.description,status:h===e.id?"active":"default",onButtonClick:()=>u(e.id),onLinkClick:()=>m(e.id)})},e.id)):M.jsxs(vn,{children:[M.jsx(Ne,{name:Ie.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),M.jsx(yn,{children:"No data"})]})})]}),"steps"===l&&M.jsxs(M.Fragment,{children:[M.jsx(pn,{children:M.jsxs(xn,{children:["Task Scripts (",0,")"]})}),M.jsx(Cn,{children:g.length>0?g.map(e=>M.jsx(wn,{onClick:()=>f(e.id),children:M.jsx(jn,{title:e.title,description:e.description,status:h===e.id?"active":"default",onButtonClick:()=>u(e.id),onLinkClick:()=>m(e.id)})},e.id)):M.jsxs(vn,{children:[M.jsx(Ne,{name:Ie.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),M.jsx(yn,{children:"No data"})]})})]})]}),M.jsxs(mn,{children:[M.jsx(bn,{children:M.jsx(Vo,{tabs:[{id:"pipelineBuilder",label:"Pipeline Builder"},{id:"configuration",label:"Configuration"},{id:"launch",label:"Launch"}],activeTab:d,onChange:e=>{c(e)}})}),M.jsxs(kn,{children:["pipelineBuilder"===d&&M.jsx(En,{}),"configuration"===d&&M.jsx(lo,{}),"launch"===d&&M.jsx(Ti,{})]})]})]})})})]})]})]})},Mn=({dataSeries:r,width:t=400,height:n=400,title:a="Pie Chart",textInfo:l="percent",hole:s=0,rotation:d=0})=>{const c=i(null),h=[Yo.BLUE,Yo.GREEN,Yo.ORANGE,Yo.RED,Yo.YELLOW,Yo.PURPLE],p=()=>{if(r.colors&&r.colors.length>=r.labels.length)return r.colors;const e=r.colors||[],t=r.labels.length-e.length;if(t<=0)return e;for(let r=0;r<t;r++)e.push(h[r%h.length]);return e};o(()=>{if(!c.current)return;const e=[{type:"pie",labels:r.labels,values:r.values,name:r.name,marker:{colors:p()},textinfo:l,hoverinfo:"label+text+value",insidetextfont:{size:0,family:"Inter, sans-serif",color:"transparent"},hole:s,rotation:d}],i={width:t,height:n,font:{family:"Inter, sans-serif"},showlegend:!1,margin:{l:40,r:40,b:40,t:40}};return C.newPlot(c.current,e,i,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{c.current&&C.purge(c.current)}},[r,t,n,l,s,d]);return M.jsx("div",{className:"card-container",style:{width:t},children:M.jsxs("div",{className:"chart-container",children:[a&&M.jsx("div",{className:"title-container",children:M.jsx("h2",{className:"title",children:a})}),M.jsx("div",{ref:c,style:{width:"100%",height:"100%",margin:"0"}}),M.jsx(({labels:r,colors:t})=>{const i=r.map((i,o)=>M.jsx(e.Fragment,{children:M.jsxs("div",{className:"legend-item",children:[M.jsx("span",{className:"color-box",style:{background:t[o]}}),i,o<r.length-1&&M.jsx("span",{className:"divider"})]})},i)),o=[];for(let e=0;e<i.length;e+=6)o.push(M.jsx("div",{className:"legend-row",children:i.slice(e,e+6)},e));return M.jsx("div",{className:"legend-container",children:o})},{labels:r.labels,colors:p()})]})})},_n=({dataSeries:e,width:r=1e3,height:t=600,xRange:n,yRange:a,xTitle:l="Columns",yTitle:s="Rows",title:d="Scatter Plot"})=>{const c=i(null),{xMin:h,xMax:p,yMin:x,yMax:g}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE,i=Number.MAX_VALUE,o=Number.MIN_VALUE;e.forEach(e=>{e.x.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)}),e.y.forEach(e=>{i=Math.min(i,e),o=Math.max(o,e)})});const n=.1*(t-r),a=.1*(o-i);return{xMin:r-n,xMax:t+n,yMin:i-a,yMax:o+a}})(),f=n||[h,p],u=a||[x,g],m=(()=>{const e=f[1]-f[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(f[0]/r)*r;for(;i<=f[1];)t.push(i),i+=r;return t})(),b=(()=>{const e=u[1]-u[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(u[0]/r)*r;for(;i<=u[1];)t.push(i),i+=r;return t})(),v={tickcolor:Yo.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Yo.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Yo.BLACK_900,linewidth:1,position:0,zeroline:!1},y={showspikes:!0,spikemode:"across",spikedash:"solid",spikecolor:Yo.BLACK_OPACITY_20,spikethickness:2};return o(()=>{if(!c.current)return;const i=e.map(e=>({x:e.x,y:e.y,type:"scatter",mode:"markers",name:e.name,marker:{color:e.color,size:10,symbol:"circle"},hovertemplate:`${l}: %{x}<br>${s}: %{y}<extra>${e.name}</extra>`})),o={title:{text:d,font:{size:32,family:"Inter, sans-serif",color:Yo.BLACK_900}},width:r,height:t,margin:{l:80,r:30,b:80,t:60,pad:10},paper_bgcolor:Yo.WHITE,plot_bgcolor:Yo.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Yo.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:m,ticktext:m.map(String),showgrid:!0,...y,...v},yaxis:{title:{text:s,font:{size:16,color:Yo.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Yo.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:b,showgrid:!0,...y,...v},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Yo.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:!0,hovermode:"closest"};return C.newPlot(c.current,i,o,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{c.current&&C.purge(c.current)}},[e,r,t,n,a,l,s,d]),M.jsx("div",{className:"chart-container",children:M.jsx("div",{ref:c,style:{width:"100%",height:"100%"}})})},An={colors:{primary:"var(--blue-900)",primaryHover:"var(--blue-800)",primaryActive:"var(--blue-800)",background:"var(--white-900)",text:"var(--black-900)",border:"var(--grey-200)",cardBackground:"var(--white-900)",cardBorder:"var(--grey-200)"},radius:{small:"4px",medium:"8px",large:"16px"},spacing:{small:"8px",medium:"16px",large:"24px"}},Rn=({theme:e={},children:r})=>{const t=a(()=>({colors:{...An.colors,...e.colors},radius:{...An.radius,...e.radius},spacing:{...An.spacing,...e.spacing}}),[e]);return o(()=>{const e=document.documentElement;return t.colors&&Object.entries(t.colors).forEach(([r,t])=>{t&&e.style.setProperty(`--theme-${r}`,t)}),t.radius&&Object.entries(t.radius).forEach(([r,t])=>{t&&e.style.setProperty(`--theme-radius-${r}`,t)}),t.spacing&&Object.entries(t.spacing).forEach(([r,t])=>{t&&e.style.setProperty(`--theme-spacing-${r}`,t)}),()=>{t.colors&&Object.keys(t.colors).forEach(r=>{e.style.removeProperty(`--theme-${r}`)}),t.radius&&Object.keys(t.radius).forEach(r=>{e.style.removeProperty(`--theme-radius-${r}`)}),t.spacing&&Object.keys(t.spacing).forEach(r=>{e.style.removeProperty(`--theme-spacing-${r}`)})}},[t]),M.jsx(p,{theme:t,children:r})};export{Ft as AppHeader,Ko as AppLayout,qo as AreaGraph,si as AssistantModal,I as Badge,Qo as BarGraph,Jo as Boxplot,B as Button,$ as ButtonControl,hi as ButtonControlGroup,Xo as CHART_COLORS,Yo as COLORS,U as Card,bi as CardSidebar,Se as Checkbox,en as Chromatogram,Ye as CodeEditor,wi as CodeScriptEditorButton,rn as DotPlot,or as Dropdown,Cr as ErrorAlert,Ei as FormField,on as Heatmap,nn as Histogram,Ne as Icon,Ie as IconName,kr as Input,Ar as Label,Ti as LaunchContent,an as LineGraph,Ln as Main,zr as MarkdownDisplay,$i as Menu,Sr as MenuItem,Qr as Modal,qi as Navbar,Mn as PieChart,ot as PopConfirm,lo as ProtocolConfiguration,mo as ProtocolYamlCard,Co as PythonEditorModal,_n as ScatterGraph,wo as SelectField,_o as Sidebar,lt as SupportiveText,ct as Tab,Vo as TabGroup,Oo as Table,pt as TableCell,bt as TableHeaderCell,wt as Textarea,Rn as ThemeProvider,zt as Toast,Go as ToastManager,Ot as Toggle,De as Tooltip,An as defaultTheme};
1982
+ `,wn=({userProfile:i,hostname:o,organization:n})=>{const l=[{icon:Me.SEARCH_DOCUMENT,label:"Search"},{icon:Me.SEARCH_SQL,label:"SQL Search"},{icon:Me.LAMP,label:"Projects"},{icon:Me.PIPELINE,label:"Pipelines"},{icon:Me.COMPUTER,label:"Data & AI Workspace"},{icon:Me.CUBE,label:"Artifacts"},{icon:Me.DATABASE,label:"Data Sources"},{icon:Me.PIE_CHART,label:"Health Monitoring"},{icon:Me.BULK_CHECK,label:"Bulk Actions"},{icon:Me.CODE,label:"Attribute Management"},{icon:Me.GEAR,label:"Administration"}],[a,s]=c("Pipelines"),[d,h]=c("templates"),[p,g]=c("pipelineBuilder"),[f,u]=c("1"),C=[{id:"1",title:"Tecan D300e and PerkinElmer EnVision to Dotmatics (v1)",description:"c901ejs",buttonText:"",linkText:""},{id:"2",title:"Bruker D8 Andvanced CRD Raw to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"3",title:"Extract and Decorate(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"4",title:"Intellict (Que3 Raw to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"5",title:"Leica Aperio RAW to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"6",title:"IDS to Benchling(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"7",title:"Lorem Ipsum",description:"c901ejs",buttonText:"",linkText:""}],x=[],m=e=>{u(e===f?null:e)},b=e=>{console.log(`Using template: ${e}`)},v=e=>{console.log(`Viewing template: ${e}`)};return e(rn,{children:[r(ji,{organization:n}),e(tn,{children:[r(ko,{items:l,activeItem:a,onItemClick:e=>{s(e)}}),e(on,{children:[r(Zt,{hostname:o,userProfile:i,onHomeClick:()=>{console.log("Home clicked")},onSettingsClick:()=>{console.log("Settings clicked")},onUserProfileClick:()=>{console.log("User profile clicked")}}),r(nn,{children:r(ln,{children:e("div",{style:{display:"flex",height:"100%"},children:[e(hn,{children:[r($o,{tabs:[{id:"templates",label:"Templates"},{id:"protocol",label:"Protocol"},{id:"steps",label:"Steps"}],activeTab:d,onChange:e=>{h(e)}}),"templates"===d&&e(t,{children:[e(an,{children:[r(sn,{children:"Templates"}),e(dn,{children:[r(cn,{variant:"tertiary",size:"small","aria-label":"Delete",noPadding:!0,children:r(Ae,{name:Me.TRASH,width:"20",height:"20",fill:"var(--red-error)"})}),r(cn,{variant:"primary",size:"small","aria-label":"Add",noPadding:!0,children:r(Ae,{name:Me.PLUS,width:"20",height:"20",fill:"var(--white-900)"})})]})]}),r(fn,{children:C.length>0?C.map(e=>r(xn,{onClick:()=>m(e.id),children:r(mn,{title:e.title,description:e.description,buttonText:e.buttonText,linkText:e.linkText,status:f===e.id?"active":"default",onButtonClick:()=>b(e.id),onLinkClick:()=>v(e.id)})},e.id)):e(un,{children:[r(Ae,{name:Me.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),r(Cn,{children:"No data"})]})})]}),"protocol"===d&&e(t,{children:[r(an,{children:e(sn,{children:["Protocol (",x.length,")"]})}),r(fn,{children:x.length>0?x.map(e=>r(xn,{onClick:()=>m(e.id),children:r(mn,{title:e.title,description:e.description,status:f===e.id?"active":"default",onButtonClick:()=>b(e.id),onLinkClick:()=>v(e.id)})},e.id)):e(un,{children:[r(Ae,{name:Me.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),r(Cn,{children:"No data"})]})})]}),"steps"===d&&e(t,{children:[r(an,{children:e(sn,{children:["Task Scripts (",0,")"]})}),r(fn,{children:x.length>0?x.map(e=>r(xn,{onClick:()=>m(e.id),children:r(mn,{title:e.title,description:e.description,status:f===e.id?"active":"default",onButtonClick:()=>b(e.id),onLinkClick:()=>v(e.id)})},e.id)):e(un,{children:[r(Ae,{name:Me.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),r(Cn,{children:"No data"})]})})]})]}),e(pn,{children:[r(gn,{children:r($o,{tabs:[{id:"pipelineBuilder",label:"Pipeline Builder"},{id:"configuration",label:"Configuration"},{id:"launch",label:"Launch"}],activeTab:p,onChange:e=>{g(e)}})}),e(bn,{children:["pipelineBuilder"===p&&r(vn,{}),"configuration"===p&&r(to,{}),"launch"===p&&r(Ii,{})]})]})]})})})]})]})]})},yn=({dataSeries:t,width:i=400,height:o=400,title:n="Pie Chart",textInfo:l="percent",hole:a=0,rotation:d=0})=>{const c=h(null),g=[Go.BLUE,Go.GREEN,Go.ORANGE,Go.RED,Go.YELLOW,Go.PURPLE],f=()=>{if(t.colors&&t.colors.length>=t.labels.length)return t.colors;const e=t.colors||[],r=t.labels.length-e.length;if(r<=0)return e;for(let t=0;t<r;t++)e.push(g[t%g.length]);return e};p(()=>{if(!c.current)return;const e=[{type:"pie",labels:t.labels,values:t.values,name:t.name,marker:{colors:f()},textinfo:l,hoverinfo:"label+text+value",insidetextfont:{size:0,family:"Inter, sans-serif",color:"transparent"},hole:a,rotation:d}],r={width:i,height:o,font:{family:"Inter, sans-serif"},showlegend:!1,margin:{l:40,r:40,b:40,t:40}};return y.newPlot(c.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{c.current&&y.purge(c.current)}},[t,i,o,l,a,d]);return r("div",{className:"card-container",style:{width:i},children:e("div",{className:"chart-container",children:[n&&r("div",{className:"title-container",children:r("h2",{className:"title",children:n})}),r("div",{ref:c,style:{width:"100%",height:"100%",margin:"0"}}),r(({labels:t,colors:i})=>{const o=t.map((o,n)=>r(s.Fragment,{children:e("div",{className:"legend-item",children:[r("span",{className:"color-box",style:{background:i[n]}}),o,n<t.length-1&&r("span",{className:"divider"})]})},o)),n=[];for(let e=0;e<o.length;e+=6)n.push(r("div",{className:"legend-row",children:o.slice(e,e+6)},e));return r("div",{className:"legend-container",children:n})},{labels:t.labels,colors:f()})]})})},kn=({dataSeries:e,width:t=1e3,height:i=600,xRange:o,yRange:n,xTitle:l="Columns",yTitle:a="Rows",title:s="Scatter Plot"})=>{const d=h(null),{xMin:c,xMax:g,yMin:f,yMax:u}=(()=>{let r=Number.MAX_VALUE,t=Number.MIN_VALUE,i=Number.MAX_VALUE,o=Number.MIN_VALUE;e.forEach(e=>{e.x.forEach(e=>{r=Math.min(r,e),t=Math.max(t,e)}),e.y.forEach(e=>{i=Math.min(i,e),o=Math.max(o,e)})});const n=.1*(t-r),l=.1*(o-i);return{xMin:r-n,xMax:t+n,yMin:i-l,yMax:o+l}})(),C=o||[c,g],x=n||[f,u],m=(()=>{const e=C[1]-C[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(C[0]/r)*r;for(;i<=C[1];)t.push(i),i+=r;return t})(),b=(()=>{const e=x[1]-x[0];let r=Math.pow(10,Math.floor(Math.log10(e)));e/r>10&&(r*=2),e/r<4&&(r/=2);const t=[];let i=Math.ceil(x[0]/r)*r;for(;i<=x[1];)t.push(i),i+=r;return t})(),v={tickcolor:Go.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Go.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Go.BLACK_900,linewidth:1,position:0,zeroline:!1},w={showspikes:!0,spikemode:"across",spikedash:"solid",spikecolor:Go.BLACK_OPACITY_20,spikethickness:2};return p(()=>{if(!d.current)return;const r=e.map(e=>({x:e.x,y:e.y,type:"scatter",mode:"markers",name:e.name,marker:{color:e.color,size:10,symbol:"circle"},hovertemplate:`${l}: %{x}<br>${a}: %{y}<extra>${e.name}</extra>`})),c={title:{text:s,font:{size:32,family:"Inter, sans-serif",color:Go.BLACK_900}},width:t,height:i,margin:{l:80,r:30,b:80,t:60,pad:10},paper_bgcolor:Go.WHITE,plot_bgcolor:Go.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Go.GREY_200,range:o,autorange:!o,tickmode:"array",tickvals:m,ticktext:m.map(String),showgrid:!0,...w,...v},yaxis:{title:{text:a,font:{size:16,color:Go.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Go.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:b,showgrid:!0,...w,...v},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Go.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:!0,hovermode:"closest"};return y.newPlot(d.current,r,c,{responsive:!0,displayModeBar:!1,displaylogo:!1}),()=>{d.current&&y.purge(d.current)}},[e,t,i,o,n,l,a,s]),r("div",{className:"chart-container",children:r("div",{ref:d,style:{width:"100%",height:"100%"}})})},Ln={colors:{primary:"var(--blue-900)",primaryHover:"var(--blue-800)",primaryActive:"var(--blue-800)",background:"var(--white-900)",text:"var(--black-900)",border:"var(--grey-200)",cardBackground:"var(--white-900)",cardBorder:"var(--grey-200)"},radius:{small:"4px",medium:"8px",large:"16px"},spacing:{small:"8px",medium:"16px",large:"24px"}},En=({theme:e={},children:t})=>{const i=f(()=>({colors:{...Ln.colors,...e.colors},radius:{...Ln.radius,...e.radius},spacing:{...Ln.spacing,...e.spacing}}),[e]);return p(()=>{const e=document.documentElement;return i.colors&&Object.entries(i.colors).forEach(([r,t])=>{t&&e.style.setProperty(`--theme-${r}`,t)}),i.radius&&Object.entries(i.radius).forEach(([r,t])=>{t&&e.style.setProperty(`--theme-radius-${r}`,t)}),i.spacing&&Object.entries(i.spacing).forEach(([r,t])=>{t&&e.style.setProperty(`--theme-spacing-${r}`,t)}),()=>{i.colors&&Object.keys(i.colors).forEach(r=>{e.style.removeProperty(`--theme-${r}`)}),i.radius&&Object.keys(i.radius).forEach(r=>{e.style.removeProperty(`--theme-radius-${r}`)}),i.spacing&&Object.keys(i.spacing).forEach(r=>{e.style.removeProperty(`--theme-spacing-${r}`)})}},[i]),r(a,{theme:i,children:t})};export{Zt as AppHeader,Uo as AppLayout,jo as AreaGraph,ii as AssistantModal,M as Badge,Ko as BarGraph,Yo as Boxplot,N as Button,B as ButtonControl,li as ButtonControlGroup,Wo as CHART_COLORS,Go as COLORS,S as Card,gi as CardSidebar,ze as Checkbox,Fo as Chromatogram,Ge as CodeEditor,xi as CodeScriptEditorButton,Xo as DotPlot,Je as Dropdown,fr as ErrorAlert,vi as FormField,Qo as Heatmap,Jo as Histogram,Ae as Icon,Me as IconName,br as Input,Lr as Label,Ii as LaunchContent,en as LineGraph,wn as Main,Rr as MarkdownDisplay,Bi as Menu,zr as MenuItem,Kr as Modal,ji as Navbar,yn as PieChart,Jr as PopConfirm,to as ProtocolConfiguration,po as ProtocolYamlCard,fo as PythonEditorModal,kn as ScatterGraph,xo as SelectField,ko as Sidebar,tt as SupportiveText,nt as Tab,$o as TabGroup,Ho as Table,at as TableCell,gt as TableHeaderCell,xt as Textarea,En as ThemeProvider,Rt as Toast,Do as ToastManager,Ht as Toggle,Pe as Tooltip,Ln as defaultTheme};
1983
1983
  //# sourceMappingURL=index.js.map