@clickhouse/click-ui 0.0.116 → 0.0.117

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.
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var S5;function Z9(){if(S5)return Ya;S5=1;var e=p,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(c,u,g){var C,v={},y=null,E=null;g!==void 0&&(y=""+g),u.key!==void 0&&(y=""+u.key),u.ref!==void 0&&(E=u.ref);for(C in u)o.call(u,C)&&!a.hasOwnProperty(C)&&(v[C]=u[C]);if(c&&c.defaultProps)for(C in u=c.defaultProps,u)v[C]===void 0&&(v[C]=u[C]);return{$$typeof:t,type:c,key:y,ref:E,props:v,_owner:i.current}}return Ya.Fragment=n,Ya.jsx=s,Ya.jsxs=s,Ya}var Xa={};/**
9
+ */var S5;function Z9(){if(S5)return Ya;S5=1;var e=p,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(c,u,g){var C,v={},y=null,_=null;g!==void 0&&(y=""+g),u.key!==void 0&&(y=""+u.key),u.ref!==void 0&&(_=u.ref);for(C in u)o.call(u,C)&&!a.hasOwnProperty(C)&&(v[C]=u[C]);if(c&&c.defaultProps)for(C in u=c.defaultProps,u)v[C]===void 0&&(v[C]=u[C]);return{$$typeof:t,type:c,key:y,ref:_,props:v,_owner:i.current}}return Ya.Fragment=n,Ya.jsx=s,Ya.jsxs=s,Ya}var Xa={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var L5;function U9(){return L5||(L5=1,process.env.NODE_ENV!=="production"&&function(){var e=p,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),M=Symbol.iterator,_="@@iterator";function I(Y){if(Y===null||typeof Y!="object")return null;var be=M&&Y[M]||Y[_];return typeof be=="function"?be:null}var j=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(Y){{for(var be=arguments.length,je=new Array(be>1?be-1:0),Ke=1;Ke<be;Ke++)je[Ke-1]=arguments[Ke];P("error",Y,je)}}function P(Y,be,je){{var Ke=j.ReactDebugCurrentFrame,ut=Ke.getStackAddendum();ut!==""&&(be+="%s",je=je.concat([ut]));var vt=je.map(function(ht){return String(ht)});vt.unshift("Warning: "+be),Function.prototype.apply.call(console[Y],console,vt)}}var B=!1,D=!1,H=!1,A=!1,G=!1,K;K=Symbol.for("react.module.reference");function Q(Y){return!!(typeof Y=="string"||typeof Y=="function"||Y===o||Y===a||G||Y===i||Y===g||Y===C||A||Y===E||B||D||H||typeof Y=="object"&&Y!==null&&(Y.$$typeof===y||Y.$$typeof===v||Y.$$typeof===s||Y.$$typeof===c||Y.$$typeof===u||Y.$$typeof===K||Y.getModuleId!==void 0))}function le(Y,be,je){var Ke=Y.displayName;if(Ke)return Ke;var ut=be.displayName||be.name||"";return ut!==""?je+"("+ut+")":je}function se(Y){return Y.displayName||"Context"}function fe(Y){if(Y==null)return null;if(typeof Y.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Y=="function")return Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case o:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case g:return"Suspense";case C:return"SuspenseList"}if(typeof Y=="object")switch(Y.$$typeof){case c:var be=Y;return se(be)+".Consumer";case s:var je=Y;return se(je._context)+".Provider";case u:return le(Y,Y.render,"ForwardRef");case v:var Ke=Y.displayName||null;return Ke!==null?Ke:fe(Y.type)||"Memo";case y:{var ut=Y,vt=ut._payload,ht=ut._init;try{return fe(ht(vt))}catch{return null}}}return null}var te=Object.assign,ge=0,ie,me,ye,pe,Me,Se,De;function de(){}de.__reactDisabledLog=!0;function xe(){{if(ge===0){ie=console.log,me=console.info,ye=console.warn,pe=console.error,Me=console.group,Se=console.groupCollapsed,De=console.groupEnd;var Y={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:Y,log:Y,warn:Y,error:Y,group:Y,groupCollapsed:Y,groupEnd:Y})}ge++}}function Ie(){{if(ge--,ge===0){var Y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:te({},Y,{value:ie}),info:te({},Y,{value:me}),warn:te({},Y,{value:ye}),error:te({},Y,{value:pe}),group:te({},Y,{value:Me}),groupCollapsed:te({},Y,{value:Se}),groupEnd:te({},Y,{value:De})})}ge<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Te=j.ReactCurrentDispatcher,Ge;function gt(Y,be,je){{if(Ge===void 0)try{throw Error()}catch(ut){var Ke=ut.stack.trim().match(/\n( *(at )?)/);Ge=Ke&&Ke[1]||""}return`
17
+ */var L5;function U9(){return L5||(L5=1,process.env.NODE_ENV!=="production"&&function(){var e=p,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),M=Symbol.iterator,E="@@iterator";function I(Y){if(Y===null||typeof Y!="object")return null;var be=M&&Y[M]||Y[E];return typeof be=="function"?be:null}var j=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(Y){{for(var be=arguments.length,je=new Array(be>1?be-1:0),Ke=1;Ke<be;Ke++)je[Ke-1]=arguments[Ke];P("error",Y,je)}}function P(Y,be,je){{var Ke=j.ReactDebugCurrentFrame,ut=Ke.getStackAddendum();ut!==""&&(be+="%s",je=je.concat([ut]));var vt=je.map(function(ht){return String(ht)});vt.unshift("Warning: "+be),Function.prototype.apply.call(console[Y],console,vt)}}var B=!1,D=!1,H=!1,A=!1,G=!1,K;K=Symbol.for("react.module.reference");function Q(Y){return!!(typeof Y=="string"||typeof Y=="function"||Y===o||Y===a||G||Y===i||Y===g||Y===C||A||Y===_||B||D||H||typeof Y=="object"&&Y!==null&&(Y.$$typeof===y||Y.$$typeof===v||Y.$$typeof===s||Y.$$typeof===c||Y.$$typeof===u||Y.$$typeof===K||Y.getModuleId!==void 0))}function le(Y,be,je){var Ke=Y.displayName;if(Ke)return Ke;var ut=be.displayName||be.name||"";return ut!==""?je+"("+ut+")":je}function se(Y){return Y.displayName||"Context"}function fe(Y){if(Y==null)return null;if(typeof Y.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Y=="function")return Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case o:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case g:return"Suspense";case C:return"SuspenseList"}if(typeof Y=="object")switch(Y.$$typeof){case c:var be=Y;return se(be)+".Consumer";case s:var je=Y;return se(je._context)+".Provider";case u:return le(Y,Y.render,"ForwardRef");case v:var Ke=Y.displayName||null;return Ke!==null?Ke:fe(Y.type)||"Memo";case y:{var ut=Y,vt=ut._payload,ht=ut._init;try{return fe(ht(vt))}catch{return null}}}return null}var te=Object.assign,ge=0,ie,me,ye,pe,Me,Se,De;function de(){}de.__reactDisabledLog=!0;function xe(){{if(ge===0){ie=console.log,me=console.info,ye=console.warn,pe=console.error,Me=console.group,Se=console.groupCollapsed,De=console.groupEnd;var Y={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:Y,log:Y,warn:Y,error:Y,group:Y,groupCollapsed:Y,groupEnd:Y})}ge++}}function Ie(){{if(ge--,ge===0){var Y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:te({},Y,{value:ie}),info:te({},Y,{value:me}),warn:te({},Y,{value:ye}),error:te({},Y,{value:pe}),group:te({},Y,{value:Me}),groupCollapsed:te({},Y,{value:Se}),groupEnd:te({},Y,{value:De})})}ge<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Te=j.ReactCurrentDispatcher,Ge;function gt(Y,be,je){{if(Ge===void 0)try{throw Error()}catch(ut){var Ke=ut.stack.trim().match(/\n( *(at )?)/);Ge=Ke&&Ke[1]||""}return`
18
18
  `+Ge+Y}}var Ce=!1,Fe;{var Oe=typeof WeakMap=="function"?WeakMap:Map;Fe=new Oe}function Ye(Y,be){if(!Y||Ce)return"";{var je=Fe.get(Y);if(je!==void 0)return je}var Ke;Ce=!0;var ut=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var vt;vt=Te.current,Te.current=null,xe();try{if(be){var ht=function(){throw Error()};if(Object.defineProperty(ht.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ht,[])}catch(Ut){Ke=Ut}Reflect.construct(Y,[],ht)}else{try{ht.call()}catch(Ut){Ke=Ut}Y.call(ht.prototype)}}else{try{throw Error()}catch(Ut){Ke=Ut}Y()}}catch(Ut){if(Ut&&Ke&&typeof Ut.stack=="string"){for(var at=Ut.stack.split(`
19
19
  `),Zt=Ke.stack.split(`
20
20
  `),$t=at.length-1,Mt=Zt.length-1;$t>=1&&Mt>=0&&at[$t]!==Zt[Mt];)Mt--;for(;$t>=1&&Mt>=0;$t--,Mt--)if(at[$t]!==Zt[Mt]){if($t!==1||Mt!==1)do if($t--,Mt--,Mt<0||at[$t]!==Zt[Mt]){var Ht=`
@@ -125,7 +125,7 @@ Check the top-level render call using <`+je+">.")}return be}}function Bt(Y,be){{
125
125
  font: ${e.click.field.typography.label.active};
126
126
  }
127
127
  `};
128
- `),Zo=({disabled:e,error:t,children:n,...o})=>r.jsx(_h,{disabled:e,$error:t,...o,children:n});function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ue.apply(this,arguments)}function Ee(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Ih(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Hs(...e){return t=>e.forEach(n=>Ih(n,t))}function _t(...e){return p.useCallback(Hs(...e),e)}function pn(e,t=[]){let n=[];function o(a,s){const c=p.createContext(s),u=n.length;n=[...n,s];function g(v){const{scope:y,children:E,...M}=v,_=(y==null?void 0:y[e][u])||c,I=p.useMemo(()=>M,Object.values(M));return p.createElement(_.Provider,{value:I},E)}function C(v,y){const E=(y==null?void 0:y[e][u])||c,M=p.useContext(E);if(M)return M;if(s!==void 0)return s;throw new Error(`\`${v}\` must be used within \`${a}\``)}return g.displayName=a+"Provider",[g,C]}const i=()=>{const a=n.map(s=>p.createContext(s));return function(c){const u=(c==null?void 0:c[e])||a;return p.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return i.scopeName=e,[o,Th(i,...t)]}function Th(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const s=o.reduce((c,{useScope:u,scopeName:g})=>{const v=u(a)[`__scope${g}`];return{...c,...v}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Sn(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var o;return(o=t.current)===null||o===void 0?void 0:o.call(t,...n)},[])}function _n({prop:e,defaultProp:t,onChange:n=()=>{}}){const[o,i]=Fh({defaultProp:t,onChange:n}),a=e!==void 0,s=a?e:o,c=Sn(n),u=p.useCallback(g=>{if(a){const v=typeof g=="function"?g(e):g;v!==e&&c(v)}else i(g)},[a,e,i,c]);return[s,u]}function Fh({defaultProp:e,onChange:t}){const n=p.useState(e),[o]=n,i=p.useRef(o),a=Sn(t);return p.useEffect(()=>{i.current!==o&&(a(o),i.current=o)},[o,i,a]),n}const $i=p.forwardRef((e,t)=>{const{children:n,...o}=e,i=p.Children.toArray(n),a=i.find(Oh);if(a){const s=a.props.children,c=i.map(u=>u===a?p.Children.count(s)>1?p.Children.only(null):p.isValidElement(s)?s.props.children:null:u);return p.createElement(d3,ue({},o,{ref:t}),p.isValidElement(s)?p.cloneElement(s,void 0,c):null)}return p.createElement(d3,ue({},o,{ref:t}),n)});$i.displayName="Slot";const d3=p.forwardRef((e,t)=>{const{children:n,...o}=e;return p.isValidElement(n)?p.cloneElement(n,{...Ph(o,n.props),ref:t?Hs(t,n.ref):n.ref}):p.Children.count(n)>1?p.Children.only(null):null});d3.displayName="SlotClone";const wd=({children:e})=>p.createElement(p.Fragment,null,e);function Oh(e){return p.isValidElement(e)&&e.type===wd}function Ph(e,t){const n={...t};for(const o in t){const i=e[o],a=t[o];/^on[A-Z]/.test(o)?i&&a?n[o]=(...c)=>{a(...c),i(...c)}:i&&(n[o]=i):o==="style"?n[o]={...i,...a}:o==="className"&&(n[o]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const ot=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=p.forwardRef((o,i)=>{const{asChild:a,...s}=o,c=a?$i:t;return p.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),p.createElement(c,ue({},s,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u3(e,t){e&&za.flushSync(()=>e.dispatchEvent(t))}function Ds(e){const t=e+"CollectionProvider",[n,o]=pn(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=E=>{const{scope:M,children:_}=E,I=p.useRef(null),j=p.useRef(new Map).current;return p.createElement(i,{scope:M,itemMap:j,collectionRef:I},_)},c=e+"CollectionSlot",u=p.forwardRef((E,M)=>{const{scope:_,children:I}=E,j=a(c,_),R=_t(M,j.collectionRef);return p.createElement($i,{ref:R},I)}),g=e+"CollectionItemSlot",C="data-radix-collection-item",v=p.forwardRef((E,M)=>{const{scope:_,children:I,...j}=E,R=p.useRef(null),P=_t(M,R),B=a(g,_);return p.useEffect(()=>(B.itemMap.set(R,{ref:R,...j}),()=>void B.itemMap.delete(R))),p.createElement($i,{[C]:"",ref:P},I)});function y(E){const M=a(e+"CollectionConsumer",E);return p.useCallback(()=>{const I=M.collectionRef.current;if(!I)return[];const j=Array.from(I.querySelectorAll(`[${C}]`));return Array.from(M.itemMap.values()).sort((B,D)=>j.indexOf(B.ref.current)-j.indexOf(D.ref.current))},[M.collectionRef,M.itemMap])}return[{Provider:s,Slot:u,ItemSlot:v},y,o]}const Hh=p.createContext(void 0);function Ka(e){const t=p.useContext(Hh);return e||t||"ltr"}function Dh(e,t=globalThis==null?void 0:globalThis.document){const n=Sn(e);p.useEffect(()=>{const o=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",o),()=>t.removeEventListener("keydown",o)},[n,t])}const f3="dismissableLayer.update",Ah="dismissableLayer.pointerDownOutside",Rh="dismissableLayer.focusOutside";let yd;const kd=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),w1=p.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:c,onDismiss:u,...g}=e,C=p.useContext(kd),[v,y]=p.useState(null),E=(n=v==null?void 0:v.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,M]=p.useState({}),_=_t(t,G=>y(G)),I=Array.from(C.layers),[j]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),R=I.indexOf(j),P=v?I.indexOf(v):-1,B=C.layersWithOutsidePointerEventsDisabled.size>0,D=P>=R,H=Bh(G=>{const K=G.target,Q=[...C.branches].some(le=>le.contains(K));!D||Q||(a==null||a(G),c==null||c(G),G.defaultPrevented||u==null||u())},E),A=Nh(G=>{const K=G.target;[...C.branches].some(le=>le.contains(K))||(s==null||s(G),c==null||c(G),G.defaultPrevented||u==null||u())},E);return Dh(G=>{P===C.layers.size-1&&(i==null||i(G),!G.defaultPrevented&&u&&(G.preventDefault(),u()))},E),p.useEffect(()=>{if(v)return o&&(C.layersWithOutsidePointerEventsDisabled.size===0&&(yd=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(v)),C.layers.add(v),Sd(),()=>{o&&C.layersWithOutsidePointerEventsDisabled.size===1&&(E.body.style.pointerEvents=yd)}},[v,E,o,C]),p.useEffect(()=>()=>{v&&(C.layers.delete(v),C.layersWithOutsidePointerEventsDisabled.delete(v),Sd())},[v,C]),p.useEffect(()=>{const G=()=>M({});return document.addEventListener(f3,G),()=>document.removeEventListener(f3,G)},[]),p.createElement(ot.div,ue({},g,{ref:_,style:{pointerEvents:B?D?"auto":"none":void 0,...e.style},onFocusCapture:Ee(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Ee(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Ee(e.onPointerDownCapture,H.onPointerDownCapture)}))}),Vh=p.forwardRef((e,t)=>{const n=p.useContext(kd),o=p.useRef(null),i=_t(t,o);return p.useEffect(()=>{const a=o.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),p.createElement(ot.div,ue({},e,{ref:i}))});function Bh(e,t=globalThis==null?void 0:globalThis.document){const n=Sn(e),o=p.useRef(!1),i=p.useRef(()=>{});return p.useEffect(()=>{const a=c=>{if(c.target&&!o.current){let g=function(){Ld(Ah,n,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=g,t.addEventListener("click",i.current,{once:!0})):g()}else t.removeEventListener("click",i.current);o.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function Nh(e,t=globalThis==null?void 0:globalThis.document){const n=Sn(e),o=p.useRef(!1);return p.useEffect(()=>{const i=a=>{a.target&&!o.current&&Ld(Rh,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Sd(){const e=new CustomEvent(f3);document.dispatchEvent(e)}function Ld(e,t,n,{discrete:o}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?u3(i,a):i.dispatchEvent(a)}const Zh=w1,Uh=Vh;let p3=0;function h3(){p.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:$d()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:$d()),p3++,()=>{p3===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),p3--}},[])}function $d(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const g3="focusScope.autoFocusOnMount",v3="focusScope.autoFocusOnUnmount",Md={bubbles:!1,cancelable:!0},m3=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=e,[c,u]=p.useState(null),g=Sn(i),C=Sn(a),v=p.useRef(null),y=_t(t,_=>u(_)),E=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(o){let _=function(P){if(E.paused||!c)return;const B=P.target;c.contains(B)?v.current=B:Uo(v.current,{select:!0})},I=function(P){if(E.paused||!c)return;const B=P.relatedTarget;B!==null&&(c.contains(B)||Uo(v.current,{select:!0}))},j=function(P){if(document.activeElement===document.body)for(const D of P)D.removedNodes.length>0&&Uo(c)};document.addEventListener("focusin",_),document.addEventListener("focusout",I);const R=new MutationObserver(j);return c&&R.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",_),document.removeEventListener("focusout",I),R.disconnect()}}},[o,c,E.paused]),p.useEffect(()=>{if(c){_d.add(E);const _=document.activeElement;if(!c.contains(_)){const j=new CustomEvent(g3,Md);c.addEventListener(g3,g),c.dispatchEvent(j),j.defaultPrevented||(Wh(Kh(jd(c)),{select:!0}),document.activeElement===_&&Uo(c))}return()=>{c.removeEventListener(g3,g),setTimeout(()=>{const j=new CustomEvent(v3,Md);c.addEventListener(v3,C),c.dispatchEvent(j),j.defaultPrevented||Uo(_??document.body,{select:!0}),c.removeEventListener(v3,C),_d.remove(E)},0)}}},[c,g,C,E]);const M=p.useCallback(_=>{if(!n&&!o||E.paused)return;const I=_.key==="Tab"&&!_.altKey&&!_.ctrlKey&&!_.metaKey,j=document.activeElement;if(I&&j){const R=_.currentTarget,[P,B]=zh(R);P&&B?!_.shiftKey&&j===B?(_.preventDefault(),n&&Uo(P,{select:!0})):_.shiftKey&&j===P&&(_.preventDefault(),n&&Uo(B,{select:!0})):j===R&&_.preventDefault()}},[n,o,E.paused]);return p.createElement(ot.div,ue({tabIndex:-1},s,{ref:y,onKeyDown:M}))});function Wh(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Uo(o,{select:t}),document.activeElement!==n)return}function zh(e){const t=jd(e),n=Ed(t,e),o=Ed(t.reverse(),e);return[n,o]}function jd(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ed(e,t){for(const n of e)if(!Gh(n,{upTo:t}))return n}function Gh(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Yh(e){return e instanceof HTMLInputElement&&"select"in e}function Uo(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Yh(e)&&t&&e.select()}}const _d=Xh();function Xh(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Id(e,t),e.unshift(t)},remove(t){var n;e=Id(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Id(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Kh(e){return e.filter(t=>t.tagName!=="A")}const zr=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},Jh=Qe["useId".toString()]||(()=>{});let qh=0;function tr(e){const[t,n]=Qe.useState(Jh());return zr(()=>{e||n(o=>o??String(qh++))},[e]),e||(t?`radix-${t}`:"")}const Qh=["top","right","bottom","left"],Wo=Math.min,nr=Math.max,As=Math.round,Rs=Math.floor,zo=e=>({x:e,y:e}),eg={left:"right",right:"left",bottom:"top",top:"bottom"},tg={start:"end",end:"start"};function b3(e,t,n){return nr(e,Wo(t,n))}function ho(e,t){return typeof e=="function"?e(t):e}function go(e){return e.split("-")[0]}function y1(e){return e.split("-")[1]}function C3(e){return e==="x"?"y":"x"}function x3(e){return e==="y"?"height":"width"}function k1(e){return["top","bottom"].includes(go(e))?"y":"x"}function w3(e){return C3(k1(e))}function ng(e,t,n){n===void 0&&(n=!1);const o=y1(e),i=w3(e),a=x3(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Vs(s)),[s,Vs(s)]}function rg(e){const t=Vs(e);return[y3(e),t,y3(t)]}function y3(e){return e.replace(/start|end/g,t=>tg[t])}function og(e,t,n){const o=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:o:t?o:i;case"left":case"right":return t?a:s;default:return[]}}function ig(e,t,n,o){const i=y1(e);let a=og(go(e),n==="start",o);return i&&(a=a.map(s=>s+"-"+i),t&&(a=a.concat(a.map(y3)))),a}function Vs(e){return e.replace(/left|right|bottom|top/g,t=>eg[t])}function ag(e){return{top:0,right:0,bottom:0,left:0,...e}}function Td(e){return typeof e!="number"?ag(e):{top:e,right:e,bottom:e,left:e}}function Bs(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Fd(e,t,n){let{reference:o,floating:i}=e;const a=k1(t),s=w3(t),c=x3(s),u=go(t),g=a==="y",C=o.x+o.width/2-i.width/2,v=o.y+o.height/2-i.height/2,y=o[c]/2-i[c]/2;let E;switch(u){case"top":E={x:C,y:o.y-i.height};break;case"bottom":E={x:C,y:o.y+o.height};break;case"right":E={x:o.x+o.width,y:v};break;case"left":E={x:o.x-i.width,y:v};break;default:E={x:o.x,y:o.y}}switch(y1(t)){case"start":E[s]-=y*(n&&g?-1:1);break;case"end":E[s]+=y*(n&&g?-1:1);break}return E}const lg=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:a=[],platform:s}=n,c=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let g=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:C,y:v}=Fd(g,o,u),y=o,E={},M=0;for(let _=0;_<c.length;_++){const{name:I,fn:j}=c[_],{x:R,y:P,data:B,reset:D}=await j({x:C,y:v,initialPlacement:o,placement:y,strategy:i,middlewareData:E,rects:g,platform:s,elements:{reference:e,floating:t}});if(C=R??C,v=P??v,E={...E,[I]:{...E[I],...B}},D&&M<=50){M++,typeof D=="object"&&(D.placement&&(y=D.placement),D.rects&&(g=D.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):D.rects),{x:C,y:v}=Fd(g,y,u)),_=-1;continue}}return{x:C,y:v,placement:y,strategy:i,middlewareData:E}};async function Ja(e,t){var n;t===void 0&&(t={});const{x:o,y:i,platform:a,rects:s,elements:c,strategy:u}=e,{boundary:g="clippingAncestors",rootBoundary:C="viewport",elementContext:v="floating",altBoundary:y=!1,padding:E=0}=ho(t,e),M=Td(E),I=c[y?v==="floating"?"reference":"floating":v],j=Bs(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(I)))==null||n?I:I.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:g,rootBoundary:C,strategy:u})),R=v==="floating"?{...s.floating,x:o,y:i}:s.reference,P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),B=await(a.isElement==null?void 0:a.isElement(P))?await(a.getScale==null?void 0:a.getScale(P))||{x:1,y:1}:{x:1,y:1},D=Bs(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:R,offsetParent:P,strategy:u}):R);return{top:(j.top-D.top+M.top)/B.y,bottom:(D.bottom-j.bottom+M.bottom)/B.y,left:(j.left-D.left+M.left)/B.x,right:(D.right-j.right+M.right)/B.x}}const Od=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:a,platform:s,elements:c,middlewareData:u}=t,{element:g,padding:C=0}=ho(e,t)||{};if(g==null)return{};const v=Td(C),y={x:n,y:o},E=w3(i),M=x3(E),_=await s.getDimensions(g),I=E==="y",j=I?"top":"left",R=I?"bottom":"right",P=I?"clientHeight":"clientWidth",B=a.reference[M]+a.reference[E]-y[E]-a.floating[M],D=y[E]-a.reference[E],H=await(s.getOffsetParent==null?void 0:s.getOffsetParent(g));let A=H?H[P]:0;(!A||!await(s.isElement==null?void 0:s.isElement(H)))&&(A=c.floating[P]||a.floating[M]);const G=B/2-D/2,K=A/2-_[M]/2-1,Q=Wo(v[j],K),le=Wo(v[R],K),se=Q,fe=A-_[M]-le,te=A/2-_[M]/2+G,ge=b3(se,te,fe),ie=!u.arrow&&y1(i)!=null&&te!=ge&&a.reference[M]/2-(te<se?Q:le)-_[M]/2<0,me=ie?te<se?te-se:te-fe:0;return{[E]:y[E]+me,data:{[E]:ge,centerOffset:te-ge-me,...ie&&{alignmentOffset:me}},reset:ie}}}),sg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:u,elements:g}=t,{mainAxis:C=!0,crossAxis:v=!0,fallbackPlacements:y,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:_=!0,...I}=ho(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const j=go(i),R=go(c)===c,P=await(u.isRTL==null?void 0:u.isRTL(g.floating)),B=y||(R||!_?[Vs(c)]:rg(c));!y&&M!=="none"&&B.push(...ig(c,_,M,P));const D=[c,...B],H=await Ja(t,I),A=[];let G=((o=a.flip)==null?void 0:o.overflows)||[];if(C&&A.push(H[j]),v){const se=ng(i,s,P);A.push(H[se[0]],H[se[1]])}if(G=[...G,{placement:i,overflows:A}],!A.every(se=>se<=0)){var K,Q;const se=(((K=a.flip)==null?void 0:K.index)||0)+1,fe=D[se];if(fe)return{data:{index:se,overflows:G},reset:{placement:fe}};let te=(Q=G.filter(ge=>ge.overflows[0]<=0).sort((ge,ie)=>ge.overflows[1]-ie.overflows[1])[0])==null?void 0:Q.placement;if(!te)switch(E){case"bestFit":{var le;const ge=(le=G.map(ie=>[ie.placement,ie.overflows.filter(me=>me>0).reduce((me,ye)=>me+ye,0)]).sort((ie,me)=>ie[1]-me[1])[0])==null?void 0:le[0];ge&&(te=ge);break}case"initialPlacement":te=c;break}if(i!==te)return{reset:{placement:te}}}return{}}}};function Pd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Hd(e){return Qh.some(t=>e[t]>=0)}const cg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...i}=ho(e,t);switch(o){case"referenceHidden":{const a=await Ja(t,{...i,elementContext:"reference"}),s=Pd(a,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Hd(s)}}}case"escaped":{const a=await Ja(t,{...i,altBoundary:!0}),s=Pd(a,n.floating);return{data:{escapedOffsets:s,escaped:Hd(s)}}}default:return{}}}}};async function dg(e,t){const{placement:n,platform:o,elements:i}=e,a=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=go(n),c=y1(n),u=k1(n)==="y",g=["left","top"].includes(s)?-1:1,C=a&&u?-1:1,v=ho(t,e);let{mainAxis:y,crossAxis:E,alignmentAxis:M}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return c&&typeof M=="number"&&(E=c==="end"?M*-1:M),u?{x:E*C,y:y*g}:{x:y*g,y:E*C}}const ug=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:a,placement:s,middlewareData:c}=t,u=await dg(t,e);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:s}}}}},fg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:I=>{let{x:j,y:R}=I;return{x:j,y:R}}},...u}=ho(e,t),g={x:n,y:o},C=await Ja(t,u),v=k1(go(i)),y=C3(v);let E=g[y],M=g[v];if(a){const I=y==="y"?"top":"left",j=y==="y"?"bottom":"right",R=E+C[I],P=E-C[j];E=b3(R,E,P)}if(s){const I=v==="y"?"top":"left",j=v==="y"?"bottom":"right",R=M+C[I],P=M-C[j];M=b3(R,M,P)}const _=c.fn({...t,[y]:E,[v]:M});return{..._,data:{x:_.x-n,y:_.y-o}}}}},pg=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:i,rects:a,middlewareData:s}=t,{offset:c=0,mainAxis:u=!0,crossAxis:g=!0}=ho(e,t),C={x:n,y:o},v=k1(i),y=C3(v);let E=C[y],M=C[v];const _=ho(c,t),I=typeof _=="number"?{mainAxis:_,crossAxis:0}:{mainAxis:0,crossAxis:0,..._};if(u){const P=y==="y"?"height":"width",B=a.reference[y]-a.floating[P]+I.mainAxis,D=a.reference[y]+a.reference[P]-I.mainAxis;E<B?E=B:E>D&&(E=D)}if(g){var j,R;const P=y==="y"?"width":"height",B=["top","left"].includes(go(i)),D=a.reference[v]-a.floating[P]+(B&&((j=s.offset)==null?void 0:j[v])||0)+(B?0:I.crossAxis),H=a.reference[v]+a.reference[P]+(B?0:((R=s.offset)==null?void 0:R[v])||0)-(B?I.crossAxis:0);M<D?M=D:M>H&&(M=H)}return{[y]:E,[v]:M}}}},hg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:i,elements:a}=t,{apply:s=()=>{},...c}=ho(e,t),u=await Ja(t,c),g=go(n),C=y1(n),v=k1(n)==="y",{width:y,height:E}=o.floating;let M,_;g==="top"||g==="bottom"?(M=g,_=C===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(_=g,M=C==="end"?"top":"bottom");const I=E-u[M],j=y-u[_],R=!t.middlewareData.shift;let P=I,B=j;if(v){const H=y-u.left-u.right;B=C||R?Wo(j,H):H}else{const H=E-u.top-u.bottom;P=C||R?Wo(I,H):H}if(R&&!C){const H=nr(u.left,0),A=nr(u.right,0),G=nr(u.top,0),K=nr(u.bottom,0);v?B=y-2*(H!==0||A!==0?H+A:nr(u.left,u.right)):P=E-2*(G!==0||K!==0?G+K:nr(u.top,u.bottom))}await s({...t,availableWidth:B,availableHeight:P});const D=await i.getDimensions(a.floating);return y!==D.width||E!==D.height?{reset:{rects:!0}}:{}}}};function Go(e){return Dd(e)?(e.nodeName||"").toLowerCase():"#document"}function rr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function vo(e){var t;return(t=(Dd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Dd(e){return e instanceof Node||e instanceof rr(e).Node}function mo(e){return e instanceof Element||e instanceof rr(e).Element}function Gr(e){return e instanceof HTMLElement||e instanceof rr(e).HTMLElement}function Ad(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof rr(e).ShadowRoot}function qa(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=fr(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function gg(e){return["table","td","th"].includes(Go(e))}function k3(e){const t=S3(),n=fr(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function vg(e){let t=S1(e);for(;Gr(t)&&!Ns(t);){if(k3(t))return t;t=S1(t)}return null}function S3(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ns(e){return["html","body","#document"].includes(Go(e))}function fr(e){return rr(e).getComputedStyle(e)}function Zs(e){return mo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function S1(e){if(Go(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ad(e)&&e.host||vo(e);return Ad(t)?t.host:t}function Rd(e){const t=S1(e);return Ns(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gr(t)&&qa(t)?t:Rd(t)}function Qa(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Rd(e),a=i===((o=e.ownerDocument)==null?void 0:o.body),s=rr(i);return a?t.concat(s,s.visualViewport||[],qa(i)?i:[],s.frameElement&&n?Qa(s.frameElement):[]):t.concat(i,Qa(i,[],n))}function Vd(e){const t=fr(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Gr(e),a=i?e.offsetWidth:n,s=i?e.offsetHeight:o,c=As(n)!==a||As(o)!==s;return c&&(n=a,o=s),{width:n,height:o,$:c}}function L3(e){return mo(e)?e:e.contextElement}function L1(e){const t=L3(e);if(!Gr(t))return zo(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:a}=Vd(t);let s=(a?As(n.width):n.width)/o,c=(a?As(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const mg=zo(0);function Bd(e){const t=rr(e);return!S3()||!t.visualViewport?mg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==rr(e)?!1:t}function Mi(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=L3(e);let s=zo(1);t&&(o?mo(o)&&(s=L1(o)):s=L1(e));const c=bg(a,n,o)?Bd(a):zo(0);let u=(i.left+c.x)/s.x,g=(i.top+c.y)/s.y,C=i.width/s.x,v=i.height/s.y;if(a){const y=rr(a),E=o&&mo(o)?rr(o):o;let M=y.frameElement;for(;M&&o&&E!==y;){const _=L1(M),I=M.getBoundingClientRect(),j=fr(M),R=I.left+(M.clientLeft+parseFloat(j.paddingLeft))*_.x,P=I.top+(M.clientTop+parseFloat(j.paddingTop))*_.y;u*=_.x,g*=_.y,C*=_.x,v*=_.y,u+=R,g+=P,M=rr(M).frameElement}}return Bs({width:C,height:v,x:u,y:g})}function Cg(e){let{rect:t,offsetParent:n,strategy:o}=e;const i=Gr(n),a=vo(n);if(n===a)return t;let s={scrollLeft:0,scrollTop:0},c=zo(1);const u=zo(0);if((i||!i&&o!=="fixed")&&((Go(n)!=="body"||qa(a))&&(s=Zs(n)),Gr(n))){const g=Mi(n);c=L1(n),u.x=g.x+n.clientLeft,u.y=g.y+n.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+u.x,y:t.y*c.y-s.scrollTop*c.y+u.y}}function xg(e){return Array.from(e.getClientRects())}function Nd(e){return Mi(vo(e)).left+Zs(e).scrollLeft}function wg(e){const t=vo(e),n=Zs(e),o=e.ownerDocument.body,i=nr(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=nr(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Nd(e);const c=-n.scrollTop;return fr(o).direction==="rtl"&&(s+=nr(t.clientWidth,o.clientWidth)-i),{width:i,height:a,x:s,y:c}}function yg(e,t){const n=rr(e),o=vo(e),i=n.visualViewport;let a=o.clientWidth,s=o.clientHeight,c=0,u=0;if(i){a=i.width,s=i.height;const g=S3();(!g||g&&t==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:c,y:u}}function kg(e,t){const n=Mi(e,!0,t==="fixed"),o=n.top+e.clientTop,i=n.left+e.clientLeft,a=Gr(e)?L1(e):zo(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,u=i*a.x,g=o*a.y;return{width:s,height:c,x:u,y:g}}function Zd(e,t,n){let o;if(t==="viewport")o=yg(e,n);else if(t==="document")o=wg(vo(e));else if(mo(t))o=kg(t,n);else{const i=Bd(e);o={...t,x:t.x-i.x,y:t.y-i.y}}return Bs(o)}function Ud(e,t){const n=S1(e);return n===t||!mo(n)||Ns(n)?!1:fr(n).position==="fixed"||Ud(n,t)}function Sg(e,t){const n=t.get(e);if(n)return n;let o=Qa(e,[],!1).filter(c=>mo(c)&&Go(c)!=="body"),i=null;const a=fr(e).position==="fixed";let s=a?S1(e):e;for(;mo(s)&&!Ns(s);){const c=fr(s),u=k3(s);!u&&c.position==="fixed"&&(i=null),(a?!u&&!i:!u&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||qa(s)&&!u&&Ud(e,s))?o=o.filter(C=>C!==s):i=c,s=S1(s)}return t.set(e,o),o}function Lg(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const s=[...n==="clippingAncestors"?Sg(t,this._c):[].concat(n),o],c=s[0],u=s.reduce((g,C)=>{const v=Zd(t,C,i);return g.top=nr(v.top,g.top),g.right=Wo(v.right,g.right),g.bottom=Wo(v.bottom,g.bottom),g.left=nr(v.left,g.left),g},Zd(t,c,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function $g(e){return Vd(e)}function Mg(e,t,n){const o=Gr(t),i=vo(t),a=n==="fixed",s=Mi(e,!0,a,t);let c={scrollLeft:0,scrollTop:0};const u=zo(0);if(o||!o&&!a)if((Go(t)!=="body"||qa(i))&&(c=Zs(t)),o){const g=Mi(t,!0,a,t);u.x=g.x+t.clientLeft,u.y=g.y+t.clientTop}else i&&(u.x=Nd(i));return{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Wd(e,t){return!Gr(e)||fr(e).position==="fixed"?null:t?t(e):e.offsetParent}function zd(e,t){const n=rr(e);if(!Gr(e))return n;let o=Wd(e,t);for(;o&&gg(o)&&fr(o).position==="static";)o=Wd(o,t);return o&&(Go(o)==="html"||Go(o)==="body"&&fr(o).position==="static"&&!k3(o))?n:o||vg(e)||n}const jg=async function(e){let{reference:t,floating:n,strategy:o}=e;const i=this.getOffsetParent||zd,a=this.getDimensions;return{reference:Mg(t,await i(n),o),floating:{x:0,y:0,...await a(n)}}};function Eg(e){return fr(e).direction==="rtl"}const _g={convertOffsetParentRelativeRectToViewportRelativeRect:Cg,getDocumentElement:vo,getClippingRect:Lg,getOffsetParent:zd,getElementRects:jg,getClientRects:xg,getDimensions:$g,getScale:L1,isElement:mo,isRTL:Eg};function Ig(e,t){let n=null,o;const i=vo(e);function a(){clearTimeout(o),n&&n.disconnect(),n=null}function s(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),a();const{left:g,top:C,width:v,height:y}=e.getBoundingClientRect();if(c||t(),!v||!y)return;const E=Rs(C),M=Rs(i.clientWidth-(g+v)),_=Rs(i.clientHeight-(C+y)),I=Rs(g),R={rootMargin:-E+"px "+-M+"px "+-_+"px "+-I+"px",threshold:nr(0,Wo(1,u))||1};let P=!0;function B(D){const H=D[0].intersectionRatio;if(H!==u){if(!P)return s();H?s(!1,H):o=setTimeout(()=>{s(!1,1e-7)},100)}P=!1}try{n=new IntersectionObserver(B,{...R,root:i.ownerDocument})}catch{n=new IntersectionObserver(B,R)}n.observe(e)}return s(!0),a}function Tg(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,g=L3(e),C=i||a?[...g?Qa(g):[],...Qa(t)]:[];C.forEach(j=>{i&&j.addEventListener("scroll",n,{passive:!0}),a&&j.addEventListener("resize",n)});const v=g&&c?Ig(g,n):null;let y=-1,E=null;s&&(E=new ResizeObserver(j=>{let[R]=j;R&&R.target===g&&E&&(E.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{E&&E.observe(t)})),n()}),g&&!u&&E.observe(g),E.observe(t));let M,_=u?Mi(e):null;u&&I();function I(){const j=Mi(e);_&&(j.x!==_.x||j.y!==_.y||j.width!==_.width||j.height!==_.height)&&n(),_=j,M=requestAnimationFrame(I)}return n(),()=>{C.forEach(j=>{i&&j.removeEventListener("scroll",n),a&&j.removeEventListener("resize",n)}),v&&v(),E&&E.disconnect(),E=null,u&&cancelAnimationFrame(M)}}const Fg=(e,t,n)=>{const o=new Map,i={platform:_g,...n},a={...i.platform,_c:o};return lg(e,t,{...i,platform:a})},Og=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:i}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?Od({element:o.current,padding:i}).fn(n):{}:o?Od({element:o,padding:i}).fn(n):{}}}};var Us=typeof document<"u"?p.useLayoutEffect:p.useEffect;function Ws(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(o=n;o--!==0;)if(!Ws(e[o],t[o]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,i[o]))return!1;for(o=n;o--!==0;){const a=i[o];if(!(a==="_owner"&&e.$$typeof)&&!Ws(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Gd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Yd(e,t){const n=Gd(e);return Math.round(t*n)/n}function Xd(e){const t=Qe.useRef(e);return Us(()=>{t.current=e}),t}function Pg(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:c=!0,whileElementsMounted:u,open:g}=e,[C,v]=Qe.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,E]=Qe.useState(o);Ws(y,o)||E(o);const[M,_]=Qe.useState(null),[I,j]=Qe.useState(null),R=Qe.useCallback(ie=>{ie!=H.current&&(H.current=ie,_(ie))},[_]),P=Qe.useCallback(ie=>{ie!==A.current&&(A.current=ie,j(ie))},[j]),B=a||M,D=s||I,H=Qe.useRef(null),A=Qe.useRef(null),G=Qe.useRef(C),K=Xd(u),Q=Xd(i),le=Qe.useCallback(()=>{if(!H.current||!A.current)return;const ie={placement:t,strategy:n,middleware:y};Q.current&&(ie.platform=Q.current),Fg(H.current,A.current,ie).then(me=>{const ye={...me,isPositioned:!0};se.current&&!Ws(G.current,ye)&&(G.current=ye,N9.flushSync(()=>{v(ye)}))})},[y,t,n,Q]);Us(()=>{g===!1&&G.current.isPositioned&&(G.current.isPositioned=!1,v(ie=>({...ie,isPositioned:!1})))},[g]);const se=Qe.useRef(!1);Us(()=>(se.current=!0,()=>{se.current=!1}),[]),Us(()=>{if(B&&(H.current=B),D&&(A.current=D),B&&D){if(K.current)return K.current(B,D,le);le()}},[B,D,le,K]);const fe=Qe.useMemo(()=>({reference:H,floating:A,setReference:R,setFloating:P}),[R,P]),te=Qe.useMemo(()=>({reference:B,floating:D}),[B,D]),ge=Qe.useMemo(()=>{const ie={position:n,left:0,top:0};if(!te.floating)return ie;const me=Yd(te.floating,C.x),ye=Yd(te.floating,C.y);return c?{...ie,transform:"translate("+me+"px, "+ye+"px)",...Gd(te.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:me,top:ye}},[n,c,te.floating,C.x,C.y]);return Qe.useMemo(()=>({...C,update:le,refs:fe,elements:te,floatingStyles:ge}),[C,le,fe,te,ge])}const Hg=p.forwardRef((e,t)=>{const{children:n,width:o=10,height:i=5,...a}=e;return p.createElement(ot.svg,ue({},a,{ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:p.createElement("polygon",{points:"0,0 30,0 15,10"}))});function zs(e){const[t,n]=p.useState(void 0);return zr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let s,c;if("borderBoxSize"in a){const u=a.borderBoxSize,g=Array.isArray(u)?u[0]:u;s=g.inlineSize,c=g.blockSize}else s=e.offsetWidth,c=e.offsetHeight;n({width:s,height:c})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}const Kd="Popper",[Jd,Yo]=pn(Kd),[Dg,qd]=Jd(Kd),Ag=e=>{const{__scopePopper:t,children:n}=e,[o,i]=p.useState(null);return p.createElement(Dg,{scope:t,anchor:o,onAnchorChange:i},n)},Rg="PopperAnchor",Vg=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...i}=e,a=qd(Rg,n),s=p.useRef(null),c=_t(t,s);return p.useEffect(()=>{a.onAnchorChange((o==null?void 0:o.current)||s.current)}),o?null:p.createElement(ot.div,ue({},i,{ref:c}))}),Qd="PopperContent",[Bg,Ng]=Jd(Qd),Zg=p.forwardRef((e,t)=>{var n,o,i,a,s,c,u,g;const{__scopePopper:C,side:v="bottom",sideOffset:y=0,align:E="center",alignOffset:M=0,arrowPadding:_=0,avoidCollisions:I=!0,collisionBoundary:j=[],collisionPadding:R=0,sticky:P="partial",hideWhenDetached:B=!1,updatePositionStrategy:D="optimized",onPlaced:H,...A}=e,G=qd(Qd,C),[K,Q]=p.useState(null),le=_t(t,Lt=>Q(Lt)),[se,fe]=p.useState(null),te=zs(se),ge=(n=te==null?void 0:te.width)!==null&&n!==void 0?n:0,ie=(o=te==null?void 0:te.height)!==null&&o!==void 0?o:0,me=v+(E!=="center"?"-"+E:""),ye=typeof R=="number"?R:{top:0,right:0,bottom:0,left:0,...R},pe=Array.isArray(j)?j:[j],Me=pe.length>0,Se={padding:ye,boundary:pe.filter(Gg),altBoundary:Me},{refs:De,floatingStyles:de,placement:xe,isPositioned:Ie,middlewareData:Te}=Pg({strategy:"fixed",placement:me,whileElementsMounted:(...Lt)=>Tg(...Lt,{animationFrame:D==="always"}),elements:{reference:G.anchor},middleware:[ug({mainAxis:y+ie,alignmentAxis:M}),I&&fg({mainAxis:!0,crossAxis:!1,limiter:P==="partial"?pg():void 0,...Se}),I&&sg({...Se}),hg({...Se,apply:({elements:Lt,rects:nn,availableWidth:ln,availableHeight:Rt})=>{const{width:Tt,height:un}=nn.reference,sn=Lt.floating.style;sn.setProperty("--radix-popper-available-width",`${ln}px`),sn.setProperty("--radix-popper-available-height",`${Rt}px`),sn.setProperty("--radix-popper-anchor-width",`${Tt}px`),sn.setProperty("--radix-popper-anchor-height",`${un}px`)}}),se&&Og({element:se,padding:_}),Yg({arrowWidth:ge,arrowHeight:ie}),B&&cg({strategy:"referenceHidden",...Se})]}),[Ge,gt]=eu(xe),Ce=Sn(H);zr(()=>{Ie&&(Ce==null||Ce())},[Ie,Ce]);const Fe=(i=Te.arrow)===null||i===void 0?void 0:i.x,Oe=(a=Te.arrow)===null||a===void 0?void 0:a.y,Ye=((s=Te.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Xe,We]=p.useState();return zr(()=>{K&&We(window.getComputedStyle(K).zIndex)},[K]),p.createElement("div",{ref:De.setFloating,"data-radix-popper-content-wrapper":"",style:{...de,transform:Ie?de.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Xe,"--radix-popper-transform-origin":[(c=Te.transformOrigin)===null||c===void 0?void 0:c.x,(u=Te.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},p.createElement(Bg,{scope:C,placedSide:Ge,onArrowChange:fe,arrowX:Fe,arrowY:Oe,shouldHideArrow:Ye},p.createElement(ot.div,ue({"data-side":Ge,"data-align":gt},A,{ref:le,style:{...A.style,animation:Ie?void 0:"none",opacity:(g=Te.hide)!==null&&g!==void 0&&g.referenceHidden?0:void 0}}))))}),Ug="PopperArrow",Wg={top:"bottom",right:"left",bottom:"top",left:"right"},zg=p.forwardRef(function(t,n){const{__scopePopper:o,...i}=t,a=Ng(Ug,o),s=Wg[a.placedSide];return p.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},p.createElement(Hg,ue({},i,{ref:n,style:{...i.style,display:"block"}})))});function Gg(e){return e!==null}const Yg=e=>({name:"transformOrigin",options:e,fn(t){var n,o,i,a,s;const{placement:c,rects:u,middlewareData:g}=t,v=((n=g.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,y=v?0:e.arrowWidth,E=v?0:e.arrowHeight,[M,_]=eu(c),I={start:"0%",center:"50%",end:"100%"}[_],j=((o=(i=g.arrow)===null||i===void 0?void 0:i.x)!==null&&o!==void 0?o:0)+y/2,R=((a=(s=g.arrow)===null||s===void 0?void 0:s.y)!==null&&a!==void 0?a:0)+E/2;let P="",B="";return M==="bottom"?(P=v?I:`${j}px`,B=`${-E}px`):M==="top"?(P=v?I:`${j}px`,B=`${u.floating.height+E}px`):M==="right"?(P=`${-E}px`,B=v?I:`${R}px`):M==="left"&&(P=`${u.floating.width+E}px`,B=v?I:`${R}px`),{data:{x:P,y:B}}}});function eu(e){const[t,n="center"]=e.split("-");return[t,n]}const el=Ag,tl=Vg,Gs=Zg,Ys=zg,$1=p.forwardRef((e,t)=>{var n;const{container:o=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...i}=e;return o?za.createPortal(p.createElement(ot.div,ue({},i,{ref:t})),o):null});function Xg(e,t){return p.useReducer((n,o)=>{const i=t[n][o];return i??n},e)}const Cn=e=>{const{present:t,children:n}=e,o=Kg(t),i=typeof n=="function"?n({present:o.isPresent}):p.Children.only(n),a=_t(o.ref,i.ref);return typeof n=="function"||o.isPresent?p.cloneElement(i,{ref:a}):null};Cn.displayName="Presence";function Kg(e){const[t,n]=p.useState(),o=p.useRef({}),i=p.useRef(e),a=p.useRef("none"),s=e?"mounted":"unmounted",[c,u]=Xg(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const g=Xs(o.current);a.current=c==="mounted"?g:"none"},[c]),zr(()=>{const g=o.current,C=i.current;if(C!==e){const y=a.current,E=Xs(g);e?u("MOUNT"):E==="none"||(g==null?void 0:g.display)==="none"?u("UNMOUNT"):u(C&&y!==E?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,u]),zr(()=>{if(t){const g=v=>{const E=Xs(o.current).includes(v.animationName);v.target===t&&E&&za.flushSync(()=>u("ANIMATION_END"))},C=v=>{v.target===t&&(a.current=Xs(o.current))};return t.addEventListener("animationstart",C),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{t.removeEventListener("animationstart",C),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:p.useCallback(g=>{g&&(o.current=getComputedStyle(g)),n(g)},[])}}function Xs(e){return(e==null?void 0:e.animationName)||"none"}const $3="rovingFocusGroup.onEntryFocus",Jg={bubbles:!1,cancelable:!0},M3="RovingFocusGroup",[j3,tu,qg]=Ds(M3),[Qg,M1]=pn(M3,[qg]),[ev,tv]=Qg(M3),nv=p.forwardRef((e,t)=>p.createElement(j3.Provider,{scope:e.__scopeRovingFocusGroup},p.createElement(j3.Slot,{scope:e.__scopeRovingFocusGroup},p.createElement(rv,ue({},e,{ref:t}))))),rv=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:i=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:g,...C}=e,v=p.useRef(null),y=_t(t,v),E=Ka(a),[M=null,_]=_n({prop:s,defaultProp:c,onChange:u}),[I,j]=p.useState(!1),R=Sn(g),P=tu(n),B=p.useRef(!1),[D,H]=p.useState(0);return p.useEffect(()=>{const A=v.current;if(A)return A.addEventListener($3,R),()=>A.removeEventListener($3,R)},[R]),p.createElement(ev,{scope:n,orientation:o,dir:E,loop:i,currentTabStopId:M,onItemFocus:p.useCallback(A=>_(A),[_]),onItemShiftTab:p.useCallback(()=>j(!0),[]),onFocusableItemAdd:p.useCallback(()=>H(A=>A+1),[]),onFocusableItemRemove:p.useCallback(()=>H(A=>A-1),[])},p.createElement(ot.div,ue({tabIndex:I||D===0?-1:0,"data-orientation":o},C,{ref:y,style:{outline:"none",...e.style},onMouseDown:Ee(e.onMouseDown,()=>{B.current=!0}),onFocus:Ee(e.onFocus,A=>{const G=!B.current;if(A.target===A.currentTarget&&G&&!I){const K=new CustomEvent($3,Jg);if(A.currentTarget.dispatchEvent(K),!K.defaultPrevented){const Q=P().filter(ge=>ge.focusable),le=Q.find(ge=>ge.active),se=Q.find(ge=>ge.id===M),te=[le,se,...Q].filter(Boolean).map(ge=>ge.ref.current);nu(te)}}B.current=!1}),onBlur:Ee(e.onBlur,()=>j(!1))})))}),ov="RovingFocusGroupItem",iv=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:i=!1,tabStopId:a,...s}=e,c=tr(),u=a||c,g=tv(ov,n),C=g.currentTabStopId===u,v=tu(n),{onFocusableItemAdd:y,onFocusableItemRemove:E}=g;return p.useEffect(()=>{if(o)return y(),()=>E()},[o,y,E]),p.createElement(j3.ItemSlot,{scope:n,id:u,focusable:o,active:i},p.createElement(ot.span,ue({tabIndex:C?0:-1,"data-orientation":g.orientation},s,{ref:t,onMouseDown:Ee(e.onMouseDown,M=>{o?g.onItemFocus(u):M.preventDefault()}),onFocus:Ee(e.onFocus,()=>g.onItemFocus(u)),onKeyDown:Ee(e.onKeyDown,M=>{if(M.key==="Tab"&&M.shiftKey){g.onItemShiftTab();return}if(M.target!==M.currentTarget)return;const _=sv(M,g.orientation,g.dir);if(_!==void 0){M.preventDefault();let j=v().filter(R=>R.focusable).map(R=>R.ref.current);if(_==="last")j.reverse();else if(_==="prev"||_==="next"){_==="prev"&&j.reverse();const R=j.indexOf(M.currentTarget);j=g.loop?cv(j,R+1):j.slice(R+1)}setTimeout(()=>nu(j))}})})))}),av={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function lv(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function sv(e,t,n){const o=lv(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return av[o]}function nu(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function cv(e,t){return e.map((n,o)=>e[(t+o)%e.length])}const E3=nv,_3=iv;var dv=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},j1=new WeakMap,Ks=new WeakMap,Js={},I3=0,ru=function(e){return e&&(e.host||ru(e.parentNode))},uv=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=ru(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},fv=function(e,t,n,o){var i=uv(t,Array.isArray(e)?e:[e]);Js[n]||(Js[n]=new WeakMap);var a=Js[n],s=[],c=new Set,u=new Set(i),g=function(v){!v||c.has(v)||(c.add(v),g(v.parentNode))};i.forEach(g);var C=function(v){!v||u.has(v)||Array.prototype.forEach.call(v.children,function(y){if(c.has(y))C(y);else{var E=y.getAttribute(o),M=E!==null&&E!=="false",_=(j1.get(y)||0)+1,I=(a.get(y)||0)+1;j1.set(y,_),a.set(y,I),s.push(y),_===1&&M&&Ks.set(y,!0),I===1&&y.setAttribute(n,"true"),M||y.setAttribute(o,"true")}})};return C(t),c.clear(),I3++,function(){s.forEach(function(v){var y=j1.get(v)-1,E=a.get(v)-1;j1.set(v,y),a.set(v,E),y||(Ks.has(v)||v.removeAttribute(o),Ks.delete(v)),E||v.removeAttribute(n)}),I3--,I3||(j1=new WeakMap,j1=new WeakMap,Ks=new WeakMap,Js={})}},T3=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=t||dv(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),fv(o,i,n,"aria-hidden")):function(){return null}},Yr=function(){return Yr=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Yr.apply(this,arguments)};function ou(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}function pv(e,t,n){if(n||arguments.length===2)for(var o=0,i=t.length,a;o<i;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var qs="right-scroll-bar-position",Qs="width-before-scroll-bar",hv="with-scroll-bars-hidden",gv="--removed-body-scroll-bar-size";function vv(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function mv(e,t){var n=p.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var i=n.value;i!==o&&(n.value=o,n.callback(o,i))}}}})[0];return n.callback=t,n.facade}function bv(e,t){return mv(t||null,function(n){return e.forEach(function(o){return vv(o,n)})})}function Cv(e){return e}function xv(e,t){t===void 0&&(t=Cv);var n=[],o=!1,i={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var s=t(a,o);return n.push(s),function(){n=n.filter(function(c){return c!==s})}},assignSyncMedium:function(a){for(o=!0;n.length;){var s=n;n=[],s.forEach(a)}n={push:function(c){return a(c)},filter:function(){return n}}},assignMedium:function(a){o=!0;var s=[];if(n.length){var c=n;n=[],c.forEach(a),s=n}var u=function(){var C=s;s=[],C.forEach(a)},g=function(){return Promise.resolve().then(u)};g(),n={push:function(C){s.push(C),g()},filter:function(C){return s=s.filter(C),n}}}};return i}function wv(e){e===void 0&&(e={});var t=xv(null);return t.options=Yr({async:!0,ssr:!1},e),t}var iu=function(e){var t=e.sideCar,n=ou(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return Qe.createElement(o,Yr({},n))};iu.isSideCarExport=!0;function yv(e,t){return e.useMedium(t),iu}var au=wv(),F3=function(){},ec=Qe.forwardRef(function(e,t){var n=Qe.useRef(null),o=Qe.useState({onScrollCapture:F3,onWheelCapture:F3,onTouchMoveCapture:F3}),i=o[0],a=o[1],s=e.forwardProps,c=e.children,u=e.className,g=e.removeScrollBar,C=e.enabled,v=e.shards,y=e.sideCar,E=e.noIsolation,M=e.inert,_=e.allowPinchZoom,I=e.as,j=I===void 0?"div":I,R=ou(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),P=y,B=bv([n,t]),D=Yr(Yr({},R),i);return Qe.createElement(Qe.Fragment,null,C&&Qe.createElement(P,{sideCar:au,removeScrollBar:g,shards:v,noIsolation:E,inert:M,setCallbacks:a,allowPinchZoom:!!_,lockRef:n}),s?Qe.cloneElement(Qe.Children.only(c),Yr(Yr({},D),{ref:B})):Qe.createElement(j,Yr({},D,{className:u,ref:B}),c))});ec.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ec.classNames={fullWidth:Qs,zeroRight:qs};var lu,kv=function(){if(lu)return lu;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Sv(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=kv();return t&&e.setAttribute("nonce",t),e}function Lv(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function $v(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Mv=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Sv())&&(Lv(t,n),$v(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},jv=function(){var e=Mv();return function(t,n){Qe.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},su=function(){var e=jv(),t=function(n){var o=n.styles,i=n.dynamic;return e(o,i),null};return t},Ev={left:0,top:0,right:0,gap:0},O3=function(e){return parseInt(e||"",10)||0},_v=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[O3(n),O3(o),O3(i)]},Iv=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ev;var t=_v(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},Tv=su(),Fv=function(e,t,n,o){var i=e.left,a=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),`
128
+ `),Zo=({disabled:e,error:t,children:n,...o})=>r.jsx(_h,{disabled:e,$error:t,...o,children:n});function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ue.apply(this,arguments)}function Ee(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Ih(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Hs(...e){return t=>e.forEach(n=>Ih(n,t))}function _t(...e){return p.useCallback(Hs(...e),e)}function pn(e,t=[]){let n=[];function o(a,s){const c=p.createContext(s),u=n.length;n=[...n,s];function g(v){const{scope:y,children:_,...M}=v,E=(y==null?void 0:y[e][u])||c,I=p.useMemo(()=>M,Object.values(M));return p.createElement(E.Provider,{value:I},_)}function C(v,y){const _=(y==null?void 0:y[e][u])||c,M=p.useContext(_);if(M)return M;if(s!==void 0)return s;throw new Error(`\`${v}\` must be used within \`${a}\``)}return g.displayName=a+"Provider",[g,C]}const i=()=>{const a=n.map(s=>p.createContext(s));return function(c){const u=(c==null?void 0:c[e])||a;return p.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return i.scopeName=e,[o,Th(i,...t)]}function Th(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const s=o.reduce((c,{useScope:u,scopeName:g})=>{const v=u(a)[`__scope${g}`];return{...c,...v}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Sn(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var o;return(o=t.current)===null||o===void 0?void 0:o.call(t,...n)},[])}function _n({prop:e,defaultProp:t,onChange:n=()=>{}}){const[o,i]=Fh({defaultProp:t,onChange:n}),a=e!==void 0,s=a?e:o,c=Sn(n),u=p.useCallback(g=>{if(a){const v=typeof g=="function"?g(e):g;v!==e&&c(v)}else i(g)},[a,e,i,c]);return[s,u]}function Fh({defaultProp:e,onChange:t}){const n=p.useState(e),[o]=n,i=p.useRef(o),a=Sn(t);return p.useEffect(()=>{i.current!==o&&(a(o),i.current=o)},[o,i,a]),n}const $i=p.forwardRef((e,t)=>{const{children:n,...o}=e,i=p.Children.toArray(n),a=i.find(Oh);if(a){const s=a.props.children,c=i.map(u=>u===a?p.Children.count(s)>1?p.Children.only(null):p.isValidElement(s)?s.props.children:null:u);return p.createElement(d3,ue({},o,{ref:t}),p.isValidElement(s)?p.cloneElement(s,void 0,c):null)}return p.createElement(d3,ue({},o,{ref:t}),n)});$i.displayName="Slot";const d3=p.forwardRef((e,t)=>{const{children:n,...o}=e;return p.isValidElement(n)?p.cloneElement(n,{...Ph(o,n.props),ref:t?Hs(t,n.ref):n.ref}):p.Children.count(n)>1?p.Children.only(null):null});d3.displayName="SlotClone";const wd=({children:e})=>p.createElement(p.Fragment,null,e);function Oh(e){return p.isValidElement(e)&&e.type===wd}function Ph(e,t){const n={...t};for(const o in t){const i=e[o],a=t[o];/^on[A-Z]/.test(o)?i&&a?n[o]=(...c)=>{a(...c),i(...c)}:i&&(n[o]=i):o==="style"?n[o]={...i,...a}:o==="className"&&(n[o]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const ot=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=p.forwardRef((o,i)=>{const{asChild:a,...s}=o,c=a?$i:t;return p.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),p.createElement(c,ue({},s,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u3(e,t){e&&za.flushSync(()=>e.dispatchEvent(t))}function Ds(e){const t=e+"CollectionProvider",[n,o]=pn(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=_=>{const{scope:M,children:E}=_,I=p.useRef(null),j=p.useRef(new Map).current;return p.createElement(i,{scope:M,itemMap:j,collectionRef:I},E)},c=e+"CollectionSlot",u=p.forwardRef((_,M)=>{const{scope:E,children:I}=_,j=a(c,E),R=_t(M,j.collectionRef);return p.createElement($i,{ref:R},I)}),g=e+"CollectionItemSlot",C="data-radix-collection-item",v=p.forwardRef((_,M)=>{const{scope:E,children:I,...j}=_,R=p.useRef(null),P=_t(M,R),B=a(g,E);return p.useEffect(()=>(B.itemMap.set(R,{ref:R,...j}),()=>void B.itemMap.delete(R))),p.createElement($i,{[C]:"",ref:P},I)});function y(_){const M=a(e+"CollectionConsumer",_);return p.useCallback(()=>{const I=M.collectionRef.current;if(!I)return[];const j=Array.from(I.querySelectorAll(`[${C}]`));return Array.from(M.itemMap.values()).sort((B,D)=>j.indexOf(B.ref.current)-j.indexOf(D.ref.current))},[M.collectionRef,M.itemMap])}return[{Provider:s,Slot:u,ItemSlot:v},y,o]}const Hh=p.createContext(void 0);function Ka(e){const t=p.useContext(Hh);return e||t||"ltr"}function Dh(e,t=globalThis==null?void 0:globalThis.document){const n=Sn(e);p.useEffect(()=>{const o=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",o),()=>t.removeEventListener("keydown",o)},[n,t])}const f3="dismissableLayer.update",Ah="dismissableLayer.pointerDownOutside",Rh="dismissableLayer.focusOutside";let yd;const kd=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),w1=p.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:c,onDismiss:u,...g}=e,C=p.useContext(kd),[v,y]=p.useState(null),_=(n=v==null?void 0:v.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,M]=p.useState({}),E=_t(t,G=>y(G)),I=Array.from(C.layers),[j]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),R=I.indexOf(j),P=v?I.indexOf(v):-1,B=C.layersWithOutsidePointerEventsDisabled.size>0,D=P>=R,H=Bh(G=>{const K=G.target,Q=[...C.branches].some(le=>le.contains(K));!D||Q||(a==null||a(G),c==null||c(G),G.defaultPrevented||u==null||u())},_),A=Nh(G=>{const K=G.target;[...C.branches].some(le=>le.contains(K))||(s==null||s(G),c==null||c(G),G.defaultPrevented||u==null||u())},_);return Dh(G=>{P===C.layers.size-1&&(i==null||i(G),!G.defaultPrevented&&u&&(G.preventDefault(),u()))},_),p.useEffect(()=>{if(v)return o&&(C.layersWithOutsidePointerEventsDisabled.size===0&&(yd=_.body.style.pointerEvents,_.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(v)),C.layers.add(v),Sd(),()=>{o&&C.layersWithOutsidePointerEventsDisabled.size===1&&(_.body.style.pointerEvents=yd)}},[v,_,o,C]),p.useEffect(()=>()=>{v&&(C.layers.delete(v),C.layersWithOutsidePointerEventsDisabled.delete(v),Sd())},[v,C]),p.useEffect(()=>{const G=()=>M({});return document.addEventListener(f3,G),()=>document.removeEventListener(f3,G)},[]),p.createElement(ot.div,ue({},g,{ref:E,style:{pointerEvents:B?D?"auto":"none":void 0,...e.style},onFocusCapture:Ee(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Ee(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Ee(e.onPointerDownCapture,H.onPointerDownCapture)}))}),Vh=p.forwardRef((e,t)=>{const n=p.useContext(kd),o=p.useRef(null),i=_t(t,o);return p.useEffect(()=>{const a=o.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),p.createElement(ot.div,ue({},e,{ref:i}))});function Bh(e,t=globalThis==null?void 0:globalThis.document){const n=Sn(e),o=p.useRef(!1),i=p.useRef(()=>{});return p.useEffect(()=>{const a=c=>{if(c.target&&!o.current){let g=function(){Ld(Ah,n,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=g,t.addEventListener("click",i.current,{once:!0})):g()}else t.removeEventListener("click",i.current);o.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function Nh(e,t=globalThis==null?void 0:globalThis.document){const n=Sn(e),o=p.useRef(!1);return p.useEffect(()=>{const i=a=>{a.target&&!o.current&&Ld(Rh,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Sd(){const e=new CustomEvent(f3);document.dispatchEvent(e)}function Ld(e,t,n,{discrete:o}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?u3(i,a):i.dispatchEvent(a)}const Zh=w1,Uh=Vh;let p3=0;function h3(){p.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:$d()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:$d()),p3++,()=>{p3===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),p3--}},[])}function $d(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const g3="focusScope.autoFocusOnMount",v3="focusScope.autoFocusOnUnmount",Md={bubbles:!1,cancelable:!0},m3=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=e,[c,u]=p.useState(null),g=Sn(i),C=Sn(a),v=p.useRef(null),y=_t(t,E=>u(E)),_=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(o){let E=function(P){if(_.paused||!c)return;const B=P.target;c.contains(B)?v.current=B:Uo(v.current,{select:!0})},I=function(P){if(_.paused||!c)return;const B=P.relatedTarget;B!==null&&(c.contains(B)||Uo(v.current,{select:!0}))},j=function(P){if(document.activeElement===document.body)for(const D of P)D.removedNodes.length>0&&Uo(c)};document.addEventListener("focusin",E),document.addEventListener("focusout",I);const R=new MutationObserver(j);return c&&R.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",E),document.removeEventListener("focusout",I),R.disconnect()}}},[o,c,_.paused]),p.useEffect(()=>{if(c){_d.add(_);const E=document.activeElement;if(!c.contains(E)){const j=new CustomEvent(g3,Md);c.addEventListener(g3,g),c.dispatchEvent(j),j.defaultPrevented||(Wh(Kh(jd(c)),{select:!0}),document.activeElement===E&&Uo(c))}return()=>{c.removeEventListener(g3,g),setTimeout(()=>{const j=new CustomEvent(v3,Md);c.addEventListener(v3,C),c.dispatchEvent(j),j.defaultPrevented||Uo(E??document.body,{select:!0}),c.removeEventListener(v3,C),_d.remove(_)},0)}}},[c,g,C,_]);const M=p.useCallback(E=>{if(!n&&!o||_.paused)return;const I=E.key==="Tab"&&!E.altKey&&!E.ctrlKey&&!E.metaKey,j=document.activeElement;if(I&&j){const R=E.currentTarget,[P,B]=zh(R);P&&B?!E.shiftKey&&j===B?(E.preventDefault(),n&&Uo(P,{select:!0})):E.shiftKey&&j===P&&(E.preventDefault(),n&&Uo(B,{select:!0})):j===R&&E.preventDefault()}},[n,o,_.paused]);return p.createElement(ot.div,ue({tabIndex:-1},s,{ref:y,onKeyDown:M}))});function Wh(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Uo(o,{select:t}),document.activeElement!==n)return}function zh(e){const t=jd(e),n=Ed(t,e),o=Ed(t.reverse(),e);return[n,o]}function jd(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ed(e,t){for(const n of e)if(!Gh(n,{upTo:t}))return n}function Gh(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Yh(e){return e instanceof HTMLInputElement&&"select"in e}function Uo(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Yh(e)&&t&&e.select()}}const _d=Xh();function Xh(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Id(e,t),e.unshift(t)},remove(t){var n;e=Id(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Id(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Kh(e){return e.filter(t=>t.tagName!=="A")}const zr=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},Jh=Qe["useId".toString()]||(()=>{});let qh=0;function tr(e){const[t,n]=Qe.useState(Jh());return zr(()=>{e||n(o=>o??String(qh++))},[e]),e||(t?`radix-${t}`:"")}const Qh=["top","right","bottom","left"],Wo=Math.min,nr=Math.max,As=Math.round,Rs=Math.floor,zo=e=>({x:e,y:e}),eg={left:"right",right:"left",bottom:"top",top:"bottom"},tg={start:"end",end:"start"};function b3(e,t,n){return nr(e,Wo(t,n))}function ho(e,t){return typeof e=="function"?e(t):e}function go(e){return e.split("-")[0]}function y1(e){return e.split("-")[1]}function C3(e){return e==="x"?"y":"x"}function x3(e){return e==="y"?"height":"width"}function k1(e){return["top","bottom"].includes(go(e))?"y":"x"}function w3(e){return C3(k1(e))}function ng(e,t,n){n===void 0&&(n=!1);const o=y1(e),i=w3(e),a=x3(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Vs(s)),[s,Vs(s)]}function rg(e){const t=Vs(e);return[y3(e),t,y3(t)]}function y3(e){return e.replace(/start|end/g,t=>tg[t])}function og(e,t,n){const o=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:o:t?o:i;case"left":case"right":return t?a:s;default:return[]}}function ig(e,t,n,o){const i=y1(e);let a=og(go(e),n==="start",o);return i&&(a=a.map(s=>s+"-"+i),t&&(a=a.concat(a.map(y3)))),a}function Vs(e){return e.replace(/left|right|bottom|top/g,t=>eg[t])}function ag(e){return{top:0,right:0,bottom:0,left:0,...e}}function Td(e){return typeof e!="number"?ag(e):{top:e,right:e,bottom:e,left:e}}function Bs(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Fd(e,t,n){let{reference:o,floating:i}=e;const a=k1(t),s=w3(t),c=x3(s),u=go(t),g=a==="y",C=o.x+o.width/2-i.width/2,v=o.y+o.height/2-i.height/2,y=o[c]/2-i[c]/2;let _;switch(u){case"top":_={x:C,y:o.y-i.height};break;case"bottom":_={x:C,y:o.y+o.height};break;case"right":_={x:o.x+o.width,y:v};break;case"left":_={x:o.x-i.width,y:v};break;default:_={x:o.x,y:o.y}}switch(y1(t)){case"start":_[s]-=y*(n&&g?-1:1);break;case"end":_[s]+=y*(n&&g?-1:1);break}return _}const lg=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:a=[],platform:s}=n,c=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let g=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:C,y:v}=Fd(g,o,u),y=o,_={},M=0;for(let E=0;E<c.length;E++){const{name:I,fn:j}=c[E],{x:R,y:P,data:B,reset:D}=await j({x:C,y:v,initialPlacement:o,placement:y,strategy:i,middlewareData:_,rects:g,platform:s,elements:{reference:e,floating:t}});if(C=R??C,v=P??v,_={..._,[I]:{..._[I],...B}},D&&M<=50){M++,typeof D=="object"&&(D.placement&&(y=D.placement),D.rects&&(g=D.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):D.rects),{x:C,y:v}=Fd(g,y,u)),E=-1;continue}}return{x:C,y:v,placement:y,strategy:i,middlewareData:_}};async function Ja(e,t){var n;t===void 0&&(t={});const{x:o,y:i,platform:a,rects:s,elements:c,strategy:u}=e,{boundary:g="clippingAncestors",rootBoundary:C="viewport",elementContext:v="floating",altBoundary:y=!1,padding:_=0}=ho(t,e),M=Td(_),I=c[y?v==="floating"?"reference":"floating":v],j=Bs(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(I)))==null||n?I:I.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:g,rootBoundary:C,strategy:u})),R=v==="floating"?{...s.floating,x:o,y:i}:s.reference,P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),B=await(a.isElement==null?void 0:a.isElement(P))?await(a.getScale==null?void 0:a.getScale(P))||{x:1,y:1}:{x:1,y:1},D=Bs(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:R,offsetParent:P,strategy:u}):R);return{top:(j.top-D.top+M.top)/B.y,bottom:(D.bottom-j.bottom+M.bottom)/B.y,left:(j.left-D.left+M.left)/B.x,right:(D.right-j.right+M.right)/B.x}}const Od=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:a,platform:s,elements:c,middlewareData:u}=t,{element:g,padding:C=0}=ho(e,t)||{};if(g==null)return{};const v=Td(C),y={x:n,y:o},_=w3(i),M=x3(_),E=await s.getDimensions(g),I=_==="y",j=I?"top":"left",R=I?"bottom":"right",P=I?"clientHeight":"clientWidth",B=a.reference[M]+a.reference[_]-y[_]-a.floating[M],D=y[_]-a.reference[_],H=await(s.getOffsetParent==null?void 0:s.getOffsetParent(g));let A=H?H[P]:0;(!A||!await(s.isElement==null?void 0:s.isElement(H)))&&(A=c.floating[P]||a.floating[M]);const G=B/2-D/2,K=A/2-E[M]/2-1,Q=Wo(v[j],K),le=Wo(v[R],K),se=Q,fe=A-E[M]-le,te=A/2-E[M]/2+G,ge=b3(se,te,fe),ie=!u.arrow&&y1(i)!=null&&te!=ge&&a.reference[M]/2-(te<se?Q:le)-E[M]/2<0,me=ie?te<se?te-se:te-fe:0;return{[_]:y[_]+me,data:{[_]:ge,centerOffset:te-ge-me,...ie&&{alignmentOffset:me}},reset:ie}}}),sg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:u,elements:g}=t,{mainAxis:C=!0,crossAxis:v=!0,fallbackPlacements:y,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:E=!0,...I}=ho(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const j=go(i),R=go(c)===c,P=await(u.isRTL==null?void 0:u.isRTL(g.floating)),B=y||(R||!E?[Vs(c)]:rg(c));!y&&M!=="none"&&B.push(...ig(c,E,M,P));const D=[c,...B],H=await Ja(t,I),A=[];let G=((o=a.flip)==null?void 0:o.overflows)||[];if(C&&A.push(H[j]),v){const se=ng(i,s,P);A.push(H[se[0]],H[se[1]])}if(G=[...G,{placement:i,overflows:A}],!A.every(se=>se<=0)){var K,Q;const se=(((K=a.flip)==null?void 0:K.index)||0)+1,fe=D[se];if(fe)return{data:{index:se,overflows:G},reset:{placement:fe}};let te=(Q=G.filter(ge=>ge.overflows[0]<=0).sort((ge,ie)=>ge.overflows[1]-ie.overflows[1])[0])==null?void 0:Q.placement;if(!te)switch(_){case"bestFit":{var le;const ge=(le=G.map(ie=>[ie.placement,ie.overflows.filter(me=>me>0).reduce((me,ye)=>me+ye,0)]).sort((ie,me)=>ie[1]-me[1])[0])==null?void 0:le[0];ge&&(te=ge);break}case"initialPlacement":te=c;break}if(i!==te)return{reset:{placement:te}}}return{}}}};function Pd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Hd(e){return Qh.some(t=>e[t]>=0)}const cg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...i}=ho(e,t);switch(o){case"referenceHidden":{const a=await Ja(t,{...i,elementContext:"reference"}),s=Pd(a,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Hd(s)}}}case"escaped":{const a=await Ja(t,{...i,altBoundary:!0}),s=Pd(a,n.floating);return{data:{escapedOffsets:s,escaped:Hd(s)}}}default:return{}}}}};async function dg(e,t){const{placement:n,platform:o,elements:i}=e,a=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=go(n),c=y1(n),u=k1(n)==="y",g=["left","top"].includes(s)?-1:1,C=a&&u?-1:1,v=ho(t,e);let{mainAxis:y,crossAxis:_,alignmentAxis:M}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return c&&typeof M=="number"&&(_=c==="end"?M*-1:M),u?{x:_*C,y:y*g}:{x:y*g,y:_*C}}const ug=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:a,placement:s,middlewareData:c}=t,u=await dg(t,e);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:s}}}}},fg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:I=>{let{x:j,y:R}=I;return{x:j,y:R}}},...u}=ho(e,t),g={x:n,y:o},C=await Ja(t,u),v=k1(go(i)),y=C3(v);let _=g[y],M=g[v];if(a){const I=y==="y"?"top":"left",j=y==="y"?"bottom":"right",R=_+C[I],P=_-C[j];_=b3(R,_,P)}if(s){const I=v==="y"?"top":"left",j=v==="y"?"bottom":"right",R=M+C[I],P=M-C[j];M=b3(R,M,P)}const E=c.fn({...t,[y]:_,[v]:M});return{...E,data:{x:E.x-n,y:E.y-o}}}}},pg=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:i,rects:a,middlewareData:s}=t,{offset:c=0,mainAxis:u=!0,crossAxis:g=!0}=ho(e,t),C={x:n,y:o},v=k1(i),y=C3(v);let _=C[y],M=C[v];const E=ho(c,t),I=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(u){const P=y==="y"?"height":"width",B=a.reference[y]-a.floating[P]+I.mainAxis,D=a.reference[y]+a.reference[P]-I.mainAxis;_<B?_=B:_>D&&(_=D)}if(g){var j,R;const P=y==="y"?"width":"height",B=["top","left"].includes(go(i)),D=a.reference[v]-a.floating[P]+(B&&((j=s.offset)==null?void 0:j[v])||0)+(B?0:I.crossAxis),H=a.reference[v]+a.reference[P]+(B?0:((R=s.offset)==null?void 0:R[v])||0)-(B?I.crossAxis:0);M<D?M=D:M>H&&(M=H)}return{[y]:_,[v]:M}}}},hg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:i,elements:a}=t,{apply:s=()=>{},...c}=ho(e,t),u=await Ja(t,c),g=go(n),C=y1(n),v=k1(n)==="y",{width:y,height:_}=o.floating;let M,E;g==="top"||g==="bottom"?(M=g,E=C===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(E=g,M=C==="end"?"top":"bottom");const I=_-u[M],j=y-u[E],R=!t.middlewareData.shift;let P=I,B=j;if(v){const H=y-u.left-u.right;B=C||R?Wo(j,H):H}else{const H=_-u.top-u.bottom;P=C||R?Wo(I,H):H}if(R&&!C){const H=nr(u.left,0),A=nr(u.right,0),G=nr(u.top,0),K=nr(u.bottom,0);v?B=y-2*(H!==0||A!==0?H+A:nr(u.left,u.right)):P=_-2*(G!==0||K!==0?G+K:nr(u.top,u.bottom))}await s({...t,availableWidth:B,availableHeight:P});const D=await i.getDimensions(a.floating);return y!==D.width||_!==D.height?{reset:{rects:!0}}:{}}}};function Go(e){return Dd(e)?(e.nodeName||"").toLowerCase():"#document"}function rr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function vo(e){var t;return(t=(Dd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Dd(e){return e instanceof Node||e instanceof rr(e).Node}function mo(e){return e instanceof Element||e instanceof rr(e).Element}function Gr(e){return e instanceof HTMLElement||e instanceof rr(e).HTMLElement}function Ad(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof rr(e).ShadowRoot}function qa(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=fr(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function gg(e){return["table","td","th"].includes(Go(e))}function k3(e){const t=S3(),n=fr(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function vg(e){let t=S1(e);for(;Gr(t)&&!Ns(t);){if(k3(t))return t;t=S1(t)}return null}function S3(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ns(e){return["html","body","#document"].includes(Go(e))}function fr(e){return rr(e).getComputedStyle(e)}function Zs(e){return mo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function S1(e){if(Go(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ad(e)&&e.host||vo(e);return Ad(t)?t.host:t}function Rd(e){const t=S1(e);return Ns(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gr(t)&&qa(t)?t:Rd(t)}function Qa(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Rd(e),a=i===((o=e.ownerDocument)==null?void 0:o.body),s=rr(i);return a?t.concat(s,s.visualViewport||[],qa(i)?i:[],s.frameElement&&n?Qa(s.frameElement):[]):t.concat(i,Qa(i,[],n))}function Vd(e){const t=fr(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Gr(e),a=i?e.offsetWidth:n,s=i?e.offsetHeight:o,c=As(n)!==a||As(o)!==s;return c&&(n=a,o=s),{width:n,height:o,$:c}}function L3(e){return mo(e)?e:e.contextElement}function L1(e){const t=L3(e);if(!Gr(t))return zo(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:a}=Vd(t);let s=(a?As(n.width):n.width)/o,c=(a?As(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const mg=zo(0);function Bd(e){const t=rr(e);return!S3()||!t.visualViewport?mg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==rr(e)?!1:t}function Mi(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=L3(e);let s=zo(1);t&&(o?mo(o)&&(s=L1(o)):s=L1(e));const c=bg(a,n,o)?Bd(a):zo(0);let u=(i.left+c.x)/s.x,g=(i.top+c.y)/s.y,C=i.width/s.x,v=i.height/s.y;if(a){const y=rr(a),_=o&&mo(o)?rr(o):o;let M=y.frameElement;for(;M&&o&&_!==y;){const E=L1(M),I=M.getBoundingClientRect(),j=fr(M),R=I.left+(M.clientLeft+parseFloat(j.paddingLeft))*E.x,P=I.top+(M.clientTop+parseFloat(j.paddingTop))*E.y;u*=E.x,g*=E.y,C*=E.x,v*=E.y,u+=R,g+=P,M=rr(M).frameElement}}return Bs({width:C,height:v,x:u,y:g})}function Cg(e){let{rect:t,offsetParent:n,strategy:o}=e;const i=Gr(n),a=vo(n);if(n===a)return t;let s={scrollLeft:0,scrollTop:0},c=zo(1);const u=zo(0);if((i||!i&&o!=="fixed")&&((Go(n)!=="body"||qa(a))&&(s=Zs(n)),Gr(n))){const g=Mi(n);c=L1(n),u.x=g.x+n.clientLeft,u.y=g.y+n.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+u.x,y:t.y*c.y-s.scrollTop*c.y+u.y}}function xg(e){return Array.from(e.getClientRects())}function Nd(e){return Mi(vo(e)).left+Zs(e).scrollLeft}function wg(e){const t=vo(e),n=Zs(e),o=e.ownerDocument.body,i=nr(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=nr(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Nd(e);const c=-n.scrollTop;return fr(o).direction==="rtl"&&(s+=nr(t.clientWidth,o.clientWidth)-i),{width:i,height:a,x:s,y:c}}function yg(e,t){const n=rr(e),o=vo(e),i=n.visualViewport;let a=o.clientWidth,s=o.clientHeight,c=0,u=0;if(i){a=i.width,s=i.height;const g=S3();(!g||g&&t==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:c,y:u}}function kg(e,t){const n=Mi(e,!0,t==="fixed"),o=n.top+e.clientTop,i=n.left+e.clientLeft,a=Gr(e)?L1(e):zo(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,u=i*a.x,g=o*a.y;return{width:s,height:c,x:u,y:g}}function Zd(e,t,n){let o;if(t==="viewport")o=yg(e,n);else if(t==="document")o=wg(vo(e));else if(mo(t))o=kg(t,n);else{const i=Bd(e);o={...t,x:t.x-i.x,y:t.y-i.y}}return Bs(o)}function Ud(e,t){const n=S1(e);return n===t||!mo(n)||Ns(n)?!1:fr(n).position==="fixed"||Ud(n,t)}function Sg(e,t){const n=t.get(e);if(n)return n;let o=Qa(e,[],!1).filter(c=>mo(c)&&Go(c)!=="body"),i=null;const a=fr(e).position==="fixed";let s=a?S1(e):e;for(;mo(s)&&!Ns(s);){const c=fr(s),u=k3(s);!u&&c.position==="fixed"&&(i=null),(a?!u&&!i:!u&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||qa(s)&&!u&&Ud(e,s))?o=o.filter(C=>C!==s):i=c,s=S1(s)}return t.set(e,o),o}function Lg(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const s=[...n==="clippingAncestors"?Sg(t,this._c):[].concat(n),o],c=s[0],u=s.reduce((g,C)=>{const v=Zd(t,C,i);return g.top=nr(v.top,g.top),g.right=Wo(v.right,g.right),g.bottom=Wo(v.bottom,g.bottom),g.left=nr(v.left,g.left),g},Zd(t,c,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function $g(e){return Vd(e)}function Mg(e,t,n){const o=Gr(t),i=vo(t),a=n==="fixed",s=Mi(e,!0,a,t);let c={scrollLeft:0,scrollTop:0};const u=zo(0);if(o||!o&&!a)if((Go(t)!=="body"||qa(i))&&(c=Zs(t)),o){const g=Mi(t,!0,a,t);u.x=g.x+t.clientLeft,u.y=g.y+t.clientTop}else i&&(u.x=Nd(i));return{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Wd(e,t){return!Gr(e)||fr(e).position==="fixed"?null:t?t(e):e.offsetParent}function zd(e,t){const n=rr(e);if(!Gr(e))return n;let o=Wd(e,t);for(;o&&gg(o)&&fr(o).position==="static";)o=Wd(o,t);return o&&(Go(o)==="html"||Go(o)==="body"&&fr(o).position==="static"&&!k3(o))?n:o||vg(e)||n}const jg=async function(e){let{reference:t,floating:n,strategy:o}=e;const i=this.getOffsetParent||zd,a=this.getDimensions;return{reference:Mg(t,await i(n),o),floating:{x:0,y:0,...await a(n)}}};function Eg(e){return fr(e).direction==="rtl"}const _g={convertOffsetParentRelativeRectToViewportRelativeRect:Cg,getDocumentElement:vo,getClippingRect:Lg,getOffsetParent:zd,getElementRects:jg,getClientRects:xg,getDimensions:$g,getScale:L1,isElement:mo,isRTL:Eg};function Ig(e,t){let n=null,o;const i=vo(e);function a(){clearTimeout(o),n&&n.disconnect(),n=null}function s(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),a();const{left:g,top:C,width:v,height:y}=e.getBoundingClientRect();if(c||t(),!v||!y)return;const _=Rs(C),M=Rs(i.clientWidth-(g+v)),E=Rs(i.clientHeight-(C+y)),I=Rs(g),R={rootMargin:-_+"px "+-M+"px "+-E+"px "+-I+"px",threshold:nr(0,Wo(1,u))||1};let P=!0;function B(D){const H=D[0].intersectionRatio;if(H!==u){if(!P)return s();H?s(!1,H):o=setTimeout(()=>{s(!1,1e-7)},100)}P=!1}try{n=new IntersectionObserver(B,{...R,root:i.ownerDocument})}catch{n=new IntersectionObserver(B,R)}n.observe(e)}return s(!0),a}function Tg(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,g=L3(e),C=i||a?[...g?Qa(g):[],...Qa(t)]:[];C.forEach(j=>{i&&j.addEventListener("scroll",n,{passive:!0}),a&&j.addEventListener("resize",n)});const v=g&&c?Ig(g,n):null;let y=-1,_=null;s&&(_=new ResizeObserver(j=>{let[R]=j;R&&R.target===g&&_&&(_.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{_&&_.observe(t)})),n()}),g&&!u&&_.observe(g),_.observe(t));let M,E=u?Mi(e):null;u&&I();function I(){const j=Mi(e);E&&(j.x!==E.x||j.y!==E.y||j.width!==E.width||j.height!==E.height)&&n(),E=j,M=requestAnimationFrame(I)}return n(),()=>{C.forEach(j=>{i&&j.removeEventListener("scroll",n),a&&j.removeEventListener("resize",n)}),v&&v(),_&&_.disconnect(),_=null,u&&cancelAnimationFrame(M)}}const Fg=(e,t,n)=>{const o=new Map,i={platform:_g,...n},a={...i.platform,_c:o};return lg(e,t,{...i,platform:a})},Og=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:i}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?Od({element:o.current,padding:i}).fn(n):{}:o?Od({element:o,padding:i}).fn(n):{}}}};var Us=typeof document<"u"?p.useLayoutEffect:p.useEffect;function Ws(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(o=n;o--!==0;)if(!Ws(e[o],t[o]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,i[o]))return!1;for(o=n;o--!==0;){const a=i[o];if(!(a==="_owner"&&e.$$typeof)&&!Ws(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Gd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Yd(e,t){const n=Gd(e);return Math.round(t*n)/n}function Xd(e){const t=Qe.useRef(e);return Us(()=>{t.current=e}),t}function Pg(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:c=!0,whileElementsMounted:u,open:g}=e,[C,v]=Qe.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,_]=Qe.useState(o);Ws(y,o)||_(o);const[M,E]=Qe.useState(null),[I,j]=Qe.useState(null),R=Qe.useCallback(ie=>{ie!=H.current&&(H.current=ie,E(ie))},[E]),P=Qe.useCallback(ie=>{ie!==A.current&&(A.current=ie,j(ie))},[j]),B=a||M,D=s||I,H=Qe.useRef(null),A=Qe.useRef(null),G=Qe.useRef(C),K=Xd(u),Q=Xd(i),le=Qe.useCallback(()=>{if(!H.current||!A.current)return;const ie={placement:t,strategy:n,middleware:y};Q.current&&(ie.platform=Q.current),Fg(H.current,A.current,ie).then(me=>{const ye={...me,isPositioned:!0};se.current&&!Ws(G.current,ye)&&(G.current=ye,N9.flushSync(()=>{v(ye)}))})},[y,t,n,Q]);Us(()=>{g===!1&&G.current.isPositioned&&(G.current.isPositioned=!1,v(ie=>({...ie,isPositioned:!1})))},[g]);const se=Qe.useRef(!1);Us(()=>(se.current=!0,()=>{se.current=!1}),[]),Us(()=>{if(B&&(H.current=B),D&&(A.current=D),B&&D){if(K.current)return K.current(B,D,le);le()}},[B,D,le,K]);const fe=Qe.useMemo(()=>({reference:H,floating:A,setReference:R,setFloating:P}),[R,P]),te=Qe.useMemo(()=>({reference:B,floating:D}),[B,D]),ge=Qe.useMemo(()=>{const ie={position:n,left:0,top:0};if(!te.floating)return ie;const me=Yd(te.floating,C.x),ye=Yd(te.floating,C.y);return c?{...ie,transform:"translate("+me+"px, "+ye+"px)",...Gd(te.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:me,top:ye}},[n,c,te.floating,C.x,C.y]);return Qe.useMemo(()=>({...C,update:le,refs:fe,elements:te,floatingStyles:ge}),[C,le,fe,te,ge])}const Hg=p.forwardRef((e,t)=>{const{children:n,width:o=10,height:i=5,...a}=e;return p.createElement(ot.svg,ue({},a,{ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:p.createElement("polygon",{points:"0,0 30,0 15,10"}))});function zs(e){const[t,n]=p.useState(void 0);return zr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let s,c;if("borderBoxSize"in a){const u=a.borderBoxSize,g=Array.isArray(u)?u[0]:u;s=g.inlineSize,c=g.blockSize}else s=e.offsetWidth,c=e.offsetHeight;n({width:s,height:c})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}const Kd="Popper",[Jd,Yo]=pn(Kd),[Dg,qd]=Jd(Kd),Ag=e=>{const{__scopePopper:t,children:n}=e,[o,i]=p.useState(null);return p.createElement(Dg,{scope:t,anchor:o,onAnchorChange:i},n)},Rg="PopperAnchor",Vg=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...i}=e,a=qd(Rg,n),s=p.useRef(null),c=_t(t,s);return p.useEffect(()=>{a.onAnchorChange((o==null?void 0:o.current)||s.current)}),o?null:p.createElement(ot.div,ue({},i,{ref:c}))}),Qd="PopperContent",[Bg,Ng]=Jd(Qd),Zg=p.forwardRef((e,t)=>{var n,o,i,a,s,c,u,g;const{__scopePopper:C,side:v="bottom",sideOffset:y=0,align:_="center",alignOffset:M=0,arrowPadding:E=0,avoidCollisions:I=!0,collisionBoundary:j=[],collisionPadding:R=0,sticky:P="partial",hideWhenDetached:B=!1,updatePositionStrategy:D="optimized",onPlaced:H,...A}=e,G=qd(Qd,C),[K,Q]=p.useState(null),le=_t(t,Lt=>Q(Lt)),[se,fe]=p.useState(null),te=zs(se),ge=(n=te==null?void 0:te.width)!==null&&n!==void 0?n:0,ie=(o=te==null?void 0:te.height)!==null&&o!==void 0?o:0,me=v+(_!=="center"?"-"+_:""),ye=typeof R=="number"?R:{top:0,right:0,bottom:0,left:0,...R},pe=Array.isArray(j)?j:[j],Me=pe.length>0,Se={padding:ye,boundary:pe.filter(Gg),altBoundary:Me},{refs:De,floatingStyles:de,placement:xe,isPositioned:Ie,middlewareData:Te}=Pg({strategy:"fixed",placement:me,whileElementsMounted:(...Lt)=>Tg(...Lt,{animationFrame:D==="always"}),elements:{reference:G.anchor},middleware:[ug({mainAxis:y+ie,alignmentAxis:M}),I&&fg({mainAxis:!0,crossAxis:!1,limiter:P==="partial"?pg():void 0,...Se}),I&&sg({...Se}),hg({...Se,apply:({elements:Lt,rects:nn,availableWidth:ln,availableHeight:Rt})=>{const{width:Tt,height:un}=nn.reference,sn=Lt.floating.style;sn.setProperty("--radix-popper-available-width",`${ln}px`),sn.setProperty("--radix-popper-available-height",`${Rt}px`),sn.setProperty("--radix-popper-anchor-width",`${Tt}px`),sn.setProperty("--radix-popper-anchor-height",`${un}px`)}}),se&&Og({element:se,padding:E}),Yg({arrowWidth:ge,arrowHeight:ie}),B&&cg({strategy:"referenceHidden",...Se})]}),[Ge,gt]=eu(xe),Ce=Sn(H);zr(()=>{Ie&&(Ce==null||Ce())},[Ie,Ce]);const Fe=(i=Te.arrow)===null||i===void 0?void 0:i.x,Oe=(a=Te.arrow)===null||a===void 0?void 0:a.y,Ye=((s=Te.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Xe,We]=p.useState();return zr(()=>{K&&We(window.getComputedStyle(K).zIndex)},[K]),p.createElement("div",{ref:De.setFloating,"data-radix-popper-content-wrapper":"",style:{...de,transform:Ie?de.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Xe,"--radix-popper-transform-origin":[(c=Te.transformOrigin)===null||c===void 0?void 0:c.x,(u=Te.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},p.createElement(Bg,{scope:C,placedSide:Ge,onArrowChange:fe,arrowX:Fe,arrowY:Oe,shouldHideArrow:Ye},p.createElement(ot.div,ue({"data-side":Ge,"data-align":gt},A,{ref:le,style:{...A.style,animation:Ie?void 0:"none",opacity:(g=Te.hide)!==null&&g!==void 0&&g.referenceHidden?0:void 0}}))))}),Ug="PopperArrow",Wg={top:"bottom",right:"left",bottom:"top",left:"right"},zg=p.forwardRef(function(t,n){const{__scopePopper:o,...i}=t,a=Ng(Ug,o),s=Wg[a.placedSide];return p.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},p.createElement(Hg,ue({},i,{ref:n,style:{...i.style,display:"block"}})))});function Gg(e){return e!==null}const Yg=e=>({name:"transformOrigin",options:e,fn(t){var n,o,i,a,s;const{placement:c,rects:u,middlewareData:g}=t,v=((n=g.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,y=v?0:e.arrowWidth,_=v?0:e.arrowHeight,[M,E]=eu(c),I={start:"0%",center:"50%",end:"100%"}[E],j=((o=(i=g.arrow)===null||i===void 0?void 0:i.x)!==null&&o!==void 0?o:0)+y/2,R=((a=(s=g.arrow)===null||s===void 0?void 0:s.y)!==null&&a!==void 0?a:0)+_/2;let P="",B="";return M==="bottom"?(P=v?I:`${j}px`,B=`${-_}px`):M==="top"?(P=v?I:`${j}px`,B=`${u.floating.height+_}px`):M==="right"?(P=`${-_}px`,B=v?I:`${R}px`):M==="left"&&(P=`${u.floating.width+_}px`,B=v?I:`${R}px`),{data:{x:P,y:B}}}});function eu(e){const[t,n="center"]=e.split("-");return[t,n]}const el=Ag,tl=Vg,Gs=Zg,Ys=zg,$1=p.forwardRef((e,t)=>{var n;const{container:o=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...i}=e;return o?za.createPortal(p.createElement(ot.div,ue({},i,{ref:t})),o):null});function Xg(e,t){return p.useReducer((n,o)=>{const i=t[n][o];return i??n},e)}const Cn=e=>{const{present:t,children:n}=e,o=Kg(t),i=typeof n=="function"?n({present:o.isPresent}):p.Children.only(n),a=_t(o.ref,i.ref);return typeof n=="function"||o.isPresent?p.cloneElement(i,{ref:a}):null};Cn.displayName="Presence";function Kg(e){const[t,n]=p.useState(),o=p.useRef({}),i=p.useRef(e),a=p.useRef("none"),s=e?"mounted":"unmounted",[c,u]=Xg(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const g=Xs(o.current);a.current=c==="mounted"?g:"none"},[c]),zr(()=>{const g=o.current,C=i.current;if(C!==e){const y=a.current,_=Xs(g);e?u("MOUNT"):_==="none"||(g==null?void 0:g.display)==="none"?u("UNMOUNT"):u(C&&y!==_?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,u]),zr(()=>{if(t){const g=v=>{const _=Xs(o.current).includes(v.animationName);v.target===t&&_&&za.flushSync(()=>u("ANIMATION_END"))},C=v=>{v.target===t&&(a.current=Xs(o.current))};return t.addEventListener("animationstart",C),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{t.removeEventListener("animationstart",C),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:p.useCallback(g=>{g&&(o.current=getComputedStyle(g)),n(g)},[])}}function Xs(e){return(e==null?void 0:e.animationName)||"none"}const $3="rovingFocusGroup.onEntryFocus",Jg={bubbles:!1,cancelable:!0},M3="RovingFocusGroup",[j3,tu,qg]=Ds(M3),[Qg,M1]=pn(M3,[qg]),[ev,tv]=Qg(M3),nv=p.forwardRef((e,t)=>p.createElement(j3.Provider,{scope:e.__scopeRovingFocusGroup},p.createElement(j3.Slot,{scope:e.__scopeRovingFocusGroup},p.createElement(rv,ue({},e,{ref:t}))))),rv=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:i=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:g,...C}=e,v=p.useRef(null),y=_t(t,v),_=Ka(a),[M=null,E]=_n({prop:s,defaultProp:c,onChange:u}),[I,j]=p.useState(!1),R=Sn(g),P=tu(n),B=p.useRef(!1),[D,H]=p.useState(0);return p.useEffect(()=>{const A=v.current;if(A)return A.addEventListener($3,R),()=>A.removeEventListener($3,R)},[R]),p.createElement(ev,{scope:n,orientation:o,dir:_,loop:i,currentTabStopId:M,onItemFocus:p.useCallback(A=>E(A),[E]),onItemShiftTab:p.useCallback(()=>j(!0),[]),onFocusableItemAdd:p.useCallback(()=>H(A=>A+1),[]),onFocusableItemRemove:p.useCallback(()=>H(A=>A-1),[])},p.createElement(ot.div,ue({tabIndex:I||D===0?-1:0,"data-orientation":o},C,{ref:y,style:{outline:"none",...e.style},onMouseDown:Ee(e.onMouseDown,()=>{B.current=!0}),onFocus:Ee(e.onFocus,A=>{const G=!B.current;if(A.target===A.currentTarget&&G&&!I){const K=new CustomEvent($3,Jg);if(A.currentTarget.dispatchEvent(K),!K.defaultPrevented){const Q=P().filter(ge=>ge.focusable),le=Q.find(ge=>ge.active),se=Q.find(ge=>ge.id===M),te=[le,se,...Q].filter(Boolean).map(ge=>ge.ref.current);nu(te)}}B.current=!1}),onBlur:Ee(e.onBlur,()=>j(!1))})))}),ov="RovingFocusGroupItem",iv=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:i=!1,tabStopId:a,...s}=e,c=tr(),u=a||c,g=tv(ov,n),C=g.currentTabStopId===u,v=tu(n),{onFocusableItemAdd:y,onFocusableItemRemove:_}=g;return p.useEffect(()=>{if(o)return y(),()=>_()},[o,y,_]),p.createElement(j3.ItemSlot,{scope:n,id:u,focusable:o,active:i},p.createElement(ot.span,ue({tabIndex:C?0:-1,"data-orientation":g.orientation},s,{ref:t,onMouseDown:Ee(e.onMouseDown,M=>{o?g.onItemFocus(u):M.preventDefault()}),onFocus:Ee(e.onFocus,()=>g.onItemFocus(u)),onKeyDown:Ee(e.onKeyDown,M=>{if(M.key==="Tab"&&M.shiftKey){g.onItemShiftTab();return}if(M.target!==M.currentTarget)return;const E=sv(M,g.orientation,g.dir);if(E!==void 0){M.preventDefault();let j=v().filter(R=>R.focusable).map(R=>R.ref.current);if(E==="last")j.reverse();else if(E==="prev"||E==="next"){E==="prev"&&j.reverse();const R=j.indexOf(M.currentTarget);j=g.loop?cv(j,R+1):j.slice(R+1)}setTimeout(()=>nu(j))}})})))}),av={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function lv(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function sv(e,t,n){const o=lv(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return av[o]}function nu(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function cv(e,t){return e.map((n,o)=>e[(t+o)%e.length])}const E3=nv,_3=iv;var dv=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},j1=new WeakMap,Ks=new WeakMap,Js={},I3=0,ru=function(e){return e&&(e.host||ru(e.parentNode))},uv=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=ru(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},fv=function(e,t,n,o){var i=uv(t,Array.isArray(e)?e:[e]);Js[n]||(Js[n]=new WeakMap);var a=Js[n],s=[],c=new Set,u=new Set(i),g=function(v){!v||c.has(v)||(c.add(v),g(v.parentNode))};i.forEach(g);var C=function(v){!v||u.has(v)||Array.prototype.forEach.call(v.children,function(y){if(c.has(y))C(y);else{var _=y.getAttribute(o),M=_!==null&&_!=="false",E=(j1.get(y)||0)+1,I=(a.get(y)||0)+1;j1.set(y,E),a.set(y,I),s.push(y),E===1&&M&&Ks.set(y,!0),I===1&&y.setAttribute(n,"true"),M||y.setAttribute(o,"true")}})};return C(t),c.clear(),I3++,function(){s.forEach(function(v){var y=j1.get(v)-1,_=a.get(v)-1;j1.set(v,y),a.set(v,_),y||(Ks.has(v)||v.removeAttribute(o),Ks.delete(v)),_||v.removeAttribute(n)}),I3--,I3||(j1=new WeakMap,j1=new WeakMap,Ks=new WeakMap,Js={})}},T3=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=t||dv(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),fv(o,i,n,"aria-hidden")):function(){return null}},Yr=function(){return Yr=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Yr.apply(this,arguments)};function ou(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}function pv(e,t,n){if(n||arguments.length===2)for(var o=0,i=t.length,a;o<i;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var qs="right-scroll-bar-position",Qs="width-before-scroll-bar",hv="with-scroll-bars-hidden",gv="--removed-body-scroll-bar-size";function vv(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function mv(e,t){var n=p.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var i=n.value;i!==o&&(n.value=o,n.callback(o,i))}}}})[0];return n.callback=t,n.facade}function bv(e,t){return mv(t||null,function(n){return e.forEach(function(o){return vv(o,n)})})}function Cv(e){return e}function xv(e,t){t===void 0&&(t=Cv);var n=[],o=!1,i={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var s=t(a,o);return n.push(s),function(){n=n.filter(function(c){return c!==s})}},assignSyncMedium:function(a){for(o=!0;n.length;){var s=n;n=[],s.forEach(a)}n={push:function(c){return a(c)},filter:function(){return n}}},assignMedium:function(a){o=!0;var s=[];if(n.length){var c=n;n=[],c.forEach(a),s=n}var u=function(){var C=s;s=[],C.forEach(a)},g=function(){return Promise.resolve().then(u)};g(),n={push:function(C){s.push(C),g()},filter:function(C){return s=s.filter(C),n}}}};return i}function wv(e){e===void 0&&(e={});var t=xv(null);return t.options=Yr({async:!0,ssr:!1},e),t}var iu=function(e){var t=e.sideCar,n=ou(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return Qe.createElement(o,Yr({},n))};iu.isSideCarExport=!0;function yv(e,t){return e.useMedium(t),iu}var au=wv(),F3=function(){},ec=Qe.forwardRef(function(e,t){var n=Qe.useRef(null),o=Qe.useState({onScrollCapture:F3,onWheelCapture:F3,onTouchMoveCapture:F3}),i=o[0],a=o[1],s=e.forwardProps,c=e.children,u=e.className,g=e.removeScrollBar,C=e.enabled,v=e.shards,y=e.sideCar,_=e.noIsolation,M=e.inert,E=e.allowPinchZoom,I=e.as,j=I===void 0?"div":I,R=ou(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),P=y,B=bv([n,t]),D=Yr(Yr({},R),i);return Qe.createElement(Qe.Fragment,null,C&&Qe.createElement(P,{sideCar:au,removeScrollBar:g,shards:v,noIsolation:_,inert:M,setCallbacks:a,allowPinchZoom:!!E,lockRef:n}),s?Qe.cloneElement(Qe.Children.only(c),Yr(Yr({},D),{ref:B})):Qe.createElement(j,Yr({},D,{className:u,ref:B}),c))});ec.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ec.classNames={fullWidth:Qs,zeroRight:qs};var lu,kv=function(){if(lu)return lu;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Sv(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=kv();return t&&e.setAttribute("nonce",t),e}function Lv(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function $v(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Mv=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Sv())&&(Lv(t,n),$v(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},jv=function(){var e=Mv();return function(t,n){Qe.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},su=function(){var e=jv(),t=function(n){var o=n.styles,i=n.dynamic;return e(o,i),null};return t},Ev={left:0,top:0,right:0,gap:0},O3=function(e){return parseInt(e||"",10)||0},_v=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[O3(n),O3(o),O3(i)]},Iv=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ev;var t=_v(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},Tv=su(),Fv=function(e,t,n,o){var i=e.left,a=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),`
129
129
  .`.concat(hv,` {
130
130
  overflow: hidden `).concat(o,`;
131
131
  padding-right: `).concat(c,"px ").concat(o,`;
@@ -162,10 +162,10 @@ Check the top-level render call using <`+je+">.")}return be}}function Bt(Y,be){{
162
162
  body {
163
163
  `).concat(gv,": ").concat(c,`px;
164
164
  }
165
- `)},Ov=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=o===void 0?"margin":o,a=Qe.useMemo(function(){return Iv(i)},[i]);return Qe.createElement(Tv,{styles:Fv(a,!t,i,n?"":"!important")})},P3=!1;if(typeof window<"u")try{var tc=Object.defineProperty({},"passive",{get:function(){return P3=!0,!0}});window.addEventListener("test",tc,tc),window.removeEventListener("test",tc,tc)}catch{P3=!1}var E1=P3?{passive:!1}:!1,Pv=function(e){return e.tagName==="TEXTAREA"},cu=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Pv(e)&&n[t]==="visible")},Hv=function(e){return cu(e,"overflowY")},Dv=function(e){return cu(e,"overflowX")},du=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=uu(e,n);if(o){var i=fu(e,n),a=i[1],s=i[2];if(a>s)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Av=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},Rv=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},uu=function(e,t){return e==="v"?Hv(t):Dv(t)},fu=function(e,t){return e==="v"?Av(t):Rv(t)},Vv=function(e,t){return e==="h"&&t==="rtl"?-1:1},Bv=function(e,t,n,o,i){var a=Vv(e,window.getComputedStyle(t).direction),s=a*o,c=n.target,u=t.contains(c),g=!1,C=s>0,v=0,y=0;do{var E=fu(e,c),M=E[0],_=E[1],I=E[2],j=_-I-a*M;(M||j)&&uu(e,c)&&(v+=j,y+=M),c=c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return(C&&(i&&v===0||!i&&s>v)||!C&&(i&&y===0||!i&&-s>y))&&(g=!0),g},nc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},pu=function(e){return[e.deltaX,e.deltaY]},hu=function(e){return e&&"current"in e?e.current:e},Nv=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Zv=function(e){return`
165
+ `)},Ov=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=o===void 0?"margin":o,a=Qe.useMemo(function(){return Iv(i)},[i]);return Qe.createElement(Tv,{styles:Fv(a,!t,i,n?"":"!important")})},P3=!1;if(typeof window<"u")try{var tc=Object.defineProperty({},"passive",{get:function(){return P3=!0,!0}});window.addEventListener("test",tc,tc),window.removeEventListener("test",tc,tc)}catch{P3=!1}var E1=P3?{passive:!1}:!1,Pv=function(e){return e.tagName==="TEXTAREA"},cu=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Pv(e)&&n[t]==="visible")},Hv=function(e){return cu(e,"overflowY")},Dv=function(e){return cu(e,"overflowX")},du=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=uu(e,n);if(o){var i=fu(e,n),a=i[1],s=i[2];if(a>s)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Av=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},Rv=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},uu=function(e,t){return e==="v"?Hv(t):Dv(t)},fu=function(e,t){return e==="v"?Av(t):Rv(t)},Vv=function(e,t){return e==="h"&&t==="rtl"?-1:1},Bv=function(e,t,n,o,i){var a=Vv(e,window.getComputedStyle(t).direction),s=a*o,c=n.target,u=t.contains(c),g=!1,C=s>0,v=0,y=0;do{var _=fu(e,c),M=_[0],E=_[1],I=_[2],j=E-I-a*M;(M||j)&&uu(e,c)&&(v+=j,y+=M),c=c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return(C&&(i&&v===0||!i&&s>v)||!C&&(i&&y===0||!i&&-s>y))&&(g=!0),g},nc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},pu=function(e){return[e.deltaX,e.deltaY]},hu=function(e){return e&&"current"in e?e.current:e},Nv=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Zv=function(e){return`
166
166
  .block-interactivity-`.concat(e,` {pointer-events: none;}
167
167
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
168
- `)},Uv=0,_1=[];function Wv(e){var t=Qe.useRef([]),n=Qe.useRef([0,0]),o=Qe.useRef(),i=Qe.useState(Uv++)[0],a=Qe.useState(function(){return su()})[0],s=Qe.useRef(e);Qe.useEffect(function(){s.current=e},[e]),Qe.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var _=pv([e.lockRef.current],(e.shards||[]).map(hu),!0).filter(Boolean);return _.forEach(function(I){return I.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),_.forEach(function(I){return I.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var c=Qe.useCallback(function(_,I){if("touches"in _&&_.touches.length===2)return!s.current.allowPinchZoom;var j=nc(_),R=n.current,P="deltaX"in _?_.deltaX:R[0]-j[0],B="deltaY"in _?_.deltaY:R[1]-j[1],D,H=_.target,A=Math.abs(P)>Math.abs(B)?"h":"v";if("touches"in _&&A==="h"&&H.type==="range")return!1;var G=du(A,H);if(!G)return!0;if(G?D=A:(D=A==="v"?"h":"v",G=du(A,H)),!G)return!1;if(!o.current&&"changedTouches"in _&&(P||B)&&(o.current=D),!D)return!0;var K=o.current||D;return Bv(K,I,_,K==="h"?P:B,!0)},[]),u=Qe.useCallback(function(_){var I=_;if(!(!_1.length||_1[_1.length-1]!==a)){var j="deltaY"in I?pu(I):nc(I),R=t.current.filter(function(D){return D.name===I.type&&D.target===I.target&&Nv(D.delta,j)})[0];if(R&&R.should){I.cancelable&&I.preventDefault();return}if(!R){var P=(s.current.shards||[]).map(hu).filter(Boolean).filter(function(D){return D.contains(I.target)}),B=P.length>0?c(I,P[0]):!s.current.noIsolation;B&&I.cancelable&&I.preventDefault()}}},[]),g=Qe.useCallback(function(_,I,j,R){var P={name:_,delta:I,target:j,should:R};t.current.push(P),setTimeout(function(){t.current=t.current.filter(function(B){return B!==P})},1)},[]),C=Qe.useCallback(function(_){n.current=nc(_),o.current=void 0},[]),v=Qe.useCallback(function(_){g(_.type,pu(_),_.target,c(_,e.lockRef.current))},[]),y=Qe.useCallback(function(_){g(_.type,nc(_),_.target,c(_,e.lockRef.current))},[]);Qe.useEffect(function(){return _1.push(a),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:y}),document.addEventListener("wheel",u,E1),document.addEventListener("touchmove",u,E1),document.addEventListener("touchstart",C,E1),function(){_1=_1.filter(function(_){return _!==a}),document.removeEventListener("wheel",u,E1),document.removeEventListener("touchmove",u,E1),document.removeEventListener("touchstart",C,E1)}},[]);var E=e.removeScrollBar,M=e.inert;return Qe.createElement(Qe.Fragment,null,M?Qe.createElement(a,{styles:Zv(i)}):null,E?Qe.createElement(Ov,{gapMode:"margin"}):null)}const zv=yv(au,Wv);var gu=Qe.forwardRef(function(e,t){return Qe.createElement(ec,Yr({},e,{ref:t,sideCar:zv}))});gu.classNames=ec.classNames;const H3=gu,D3=["Enter"," "],Gv=["ArrowDown","PageUp","Home"],vu=["ArrowUp","PageDown","End"],Yv=[...Gv,...vu],Xv={ltr:[...D3,"ArrowRight"],rtl:[...D3,"ArrowLeft"]},Kv={ltr:["ArrowLeft"],rtl:["ArrowRight"]},rc="Menu",[nl,Jv,qv]=Ds(rc),[ji,oc]=pn(rc,[qv,Yo,M1]),rl=Yo(),mu=M1(),[bu,Xo]=ji(rc),[Qv,ol]=ji(rc),em=e=>{const{__scopeMenu:t,open:n=!1,children:o,dir:i,onOpenChange:a,modal:s=!0}=e,c=rl(t),[u,g]=p.useState(null),C=p.useRef(!1),v=Sn(a),y=Ka(i);return p.useEffect(()=>{const E=()=>{C.current=!0,document.addEventListener("pointerdown",M,{capture:!0,once:!0}),document.addEventListener("pointermove",M,{capture:!0,once:!0})},M=()=>C.current=!1;return document.addEventListener("keydown",E,{capture:!0}),()=>{document.removeEventListener("keydown",E,{capture:!0}),document.removeEventListener("pointerdown",M,{capture:!0}),document.removeEventListener("pointermove",M,{capture:!0})}},[]),p.createElement(el,c,p.createElement(bu,{scope:t,open:n,onOpenChange:v,content:u,onContentChange:g},p.createElement(Qv,{scope:t,onClose:p.useCallback(()=>v(!1),[v]),isUsingKeyboardRef:C,dir:y,modal:s},o)))},Cu=p.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e,i=rl(n);return p.createElement(tl,ue({},i,o,{ref:t}))}),xu="MenuPortal",[tm,wu]=ji(xu,{forceMount:void 0}),nm=e=>{const{__scopeMenu:t,forceMount:n,children:o,container:i}=e,a=Xo(xu,t);return p.createElement(tm,{scope:t,forceMount:n},p.createElement(Cn,{present:n||a.open},p.createElement($1,{asChild:!0,container:i},o)))},jr="MenuContent",[rm,A3]=ji(jr),om=p.forwardRef((e,t)=>{const n=wu(jr,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,a=Xo(jr,e.__scopeMenu),s=ol(jr,e.__scopeMenu);return p.createElement(nl.Provider,{scope:e.__scopeMenu},p.createElement(Cn,{present:o||a.open},p.createElement(nl.Slot,{scope:e.__scopeMenu},s.modal?p.createElement(im,ue({},i,{ref:t})):p.createElement(am,ue({},i,{ref:t})))))}),im=p.forwardRef((e,t)=>{const n=Xo(jr,e.__scopeMenu),o=p.useRef(null),i=_t(t,o);return p.useEffect(()=>{const a=o.current;if(a)return T3(a)},[]),p.createElement(R3,ue({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Ee(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),am=p.forwardRef((e,t)=>{const n=Xo(jr,e.__scopeMenu);return p.createElement(R3,ue({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),R3=p.forwardRef((e,t)=>{const{__scopeMenu:n,loop:o=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEntryFocus:u,onEscapeKeyDown:g,onPointerDownOutside:C,onFocusOutside:v,onInteractOutside:y,onDismiss:E,disableOutsideScroll:M,..._}=e,I=Xo(jr,n),j=ol(jr,n),R=rl(n),P=mu(n),B=Jv(n),[D,H]=p.useState(null),A=p.useRef(null),G=_t(t,A,I.onContentChange),K=p.useRef(0),Q=p.useRef(""),le=p.useRef(0),se=p.useRef(null),fe=p.useRef("right"),te=p.useRef(0),ge=M?H3:p.Fragment,ie=M?{as:$i,allowPinchZoom:!0}:void 0,me=pe=>{var Me,Se;const De=Q.current+pe,de=B().filter(Ce=>!Ce.disabled),xe=document.activeElement,Ie=(Me=de.find(Ce=>Ce.ref.current===xe))===null||Me===void 0?void 0:Me.textValue,Te=de.map(Ce=>Ce.textValue),Ge=mm(Te,De,Ie),gt=(Se=de.find(Ce=>Ce.textValue===Ge))===null||Se===void 0?void 0:Se.ref.current;(function Ce(Fe){Q.current=Fe,window.clearTimeout(K.current),Fe!==""&&(K.current=window.setTimeout(()=>Ce(""),1e3))})(De),gt&&setTimeout(()=>gt.focus())};p.useEffect(()=>()=>window.clearTimeout(K.current),[]),h3();const ye=p.useCallback(pe=>{var Me,Se;return fe.current===((Me=se.current)===null||Me===void 0?void 0:Me.side)&&Cm(pe,(Se=se.current)===null||Se===void 0?void 0:Se.area)},[]);return p.createElement(rm,{scope:n,searchRef:Q,onItemEnter:p.useCallback(pe=>{ye(pe)&&pe.preventDefault()},[ye]),onItemLeave:p.useCallback(pe=>{var Me;ye(pe)||((Me=A.current)===null||Me===void 0||Me.focus(),H(null))},[ye]),onTriggerLeave:p.useCallback(pe=>{ye(pe)&&pe.preventDefault()},[ye]),pointerGraceTimerRef:le,onPointerGraceIntentChange:p.useCallback(pe=>{se.current=pe},[])},p.createElement(ge,ie,p.createElement(m3,{asChild:!0,trapped:i,onMountAutoFocus:Ee(a,pe=>{var Me;pe.preventDefault(),(Me=A.current)===null||Me===void 0||Me.focus()}),onUnmountAutoFocus:s},p.createElement(w1,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:g,onPointerDownOutside:C,onFocusOutside:v,onInteractOutside:y,onDismiss:E},p.createElement(E3,ue({asChild:!0},P,{dir:j.dir,orientation:"vertical",loop:o,currentTabStopId:D,onCurrentTabStopIdChange:H,onEntryFocus:Ee(u,pe=>{j.isUsingKeyboardRef.current||pe.preventDefault()})}),p.createElement(Gs,ue({role:"menu","aria-orientation":"vertical","data-state":$u(I.open),"data-radix-menu-content":"",dir:j.dir},R,_,{ref:G,style:{outline:"none",..._.style},onKeyDown:Ee(_.onKeyDown,pe=>{const Se=pe.target.closest("[data-radix-menu-content]")===pe.currentTarget,De=pe.ctrlKey||pe.altKey||pe.metaKey,de=pe.key.length===1;Se&&(pe.key==="Tab"&&pe.preventDefault(),!De&&de&&me(pe.key));const xe=A.current;if(pe.target!==xe||!Yv.includes(pe.key))return;pe.preventDefault();const Te=B().filter(Ge=>!Ge.disabled).map(Ge=>Ge.ref.current);vu.includes(pe.key)&&Te.reverse(),gm(Te)}),onBlur:Ee(e.onBlur,pe=>{pe.currentTarget.contains(pe.target)||(window.clearTimeout(K.current),Q.current="")}),onPointerMove:Ee(e.onPointerMove,il(pe=>{const Me=pe.target,Se=te.current!==pe.clientX;if(pe.currentTarget.contains(Me)&&Se){const De=pe.clientX>te.current?"right":"left";fe.current=De,te.current=pe.clientX}}))})))))))}),lm=p.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e;return p.createElement(ot.div,ue({role:"group"},o,{ref:t}))}),V3="MenuItem",yu="menu.itemSelect",sm=p.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:o,...i}=e,a=p.useRef(null),s=ol(V3,e.__scopeMenu),c=A3(V3,e.__scopeMenu),u=_t(t,a),g=p.useRef(!1),C=()=>{const v=a.current;if(!n&&v){const y=new CustomEvent(yu,{bubbles:!0,cancelable:!0});v.addEventListener(yu,E=>o==null?void 0:o(E),{once:!0}),u3(v,y),y.defaultPrevented?g.current=!1:s.onClose()}};return p.createElement(ku,ue({},i,{ref:u,disabled:n,onClick:Ee(e.onClick,C),onPointerDown:v=>{var y;(y=e.onPointerDown)===null||y===void 0||y.call(e,v),g.current=!0},onPointerUp:Ee(e.onPointerUp,v=>{var y;g.current||(y=v.currentTarget)===null||y===void 0||y.click()}),onKeyDown:Ee(e.onKeyDown,v=>{const y=c.searchRef.current!=="";n||y&&v.key===" "||D3.includes(v.key)&&(v.currentTarget.click(),v.preventDefault())})}))}),ku=p.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:o=!1,textValue:i,...a}=e,s=A3(V3,n),c=mu(n),u=p.useRef(null),g=_t(t,u),[C,v]=p.useState(!1),[y,E]=p.useState("");return p.useEffect(()=>{const M=u.current;if(M){var _;E(((_=M.textContent)!==null&&_!==void 0?_:"").trim())}},[a.children]),p.createElement(nl.ItemSlot,{scope:n,disabled:o,textValue:i??y},p.createElement(_3,ue({asChild:!0},c,{focusable:!o}),p.createElement(ot.div,ue({role:"menuitem","data-highlighted":C?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0},a,{ref:g,onPointerMove:Ee(e.onPointerMove,il(M=>{o?s.onItemLeave(M):(s.onItemEnter(M),M.defaultPrevented||M.currentTarget.focus())})),onPointerLeave:Ee(e.onPointerLeave,il(M=>s.onItemLeave(M))),onFocus:Ee(e.onFocus,()=>v(!0)),onBlur:Ee(e.onBlur,()=>v(!1))}))))});ji("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),ji("MenuItemIndicator",{checked:!1});const cm=p.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e,i=rl(n);return p.createElement(Ys,ue({},i,o,{ref:t}))}),Su="MenuSub",[dm,Lu]=ji(Su),um=e=>{const{__scopeMenu:t,children:n,open:o=!1,onOpenChange:i}=e,a=Xo(Su,t),s=rl(t),[c,u]=p.useState(null),[g,C]=p.useState(null),v=Sn(i);return p.useEffect(()=>(a.open===!1&&v(!1),()=>v(!1)),[a.open,v]),p.createElement(el,s,p.createElement(bu,{scope:t,open:o,onOpenChange:v,content:g,onContentChange:C},p.createElement(dm,{scope:t,contentId:tr(),triggerId:tr(),trigger:c,onTriggerChange:u},n)))},ic="MenuSubTrigger",fm=p.forwardRef((e,t)=>{const n=Xo(ic,e.__scopeMenu),o=ol(ic,e.__scopeMenu),i=Lu(ic,e.__scopeMenu),a=A3(ic,e.__scopeMenu),s=p.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:u}=a,g={__scopeMenu:e.__scopeMenu},C=p.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return p.useEffect(()=>C,[C]),p.useEffect(()=>{const v=c.current;return()=>{window.clearTimeout(v),u(null)}},[c,u]),p.createElement(Cu,ue({asChild:!0},g),p.createElement(ku,ue({id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":$u(n.open)},e,{ref:Hs(t,i.onTriggerChange),onClick:v=>{var y;(y=e.onClick)===null||y===void 0||y.call(e,v),!(e.disabled||v.defaultPrevented)&&(v.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Ee(e.onPointerMove,il(v=>{a.onItemEnter(v),!v.defaultPrevented&&!e.disabled&&!n.open&&!s.current&&(a.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),C()},100))})),onPointerLeave:Ee(e.onPointerLeave,il(v=>{var y;C();const E=(y=n.content)===null||y===void 0?void 0:y.getBoundingClientRect();if(E){var M;const _=(M=n.content)===null||M===void 0?void 0:M.dataset.side,I=_==="right",j=I?-5:5,R=E[I?"left":"right"],P=E[I?"right":"left"];a.onPointerGraceIntentChange({area:[{x:v.clientX+j,y:v.clientY},{x:R,y:E.top},{x:P,y:E.top},{x:P,y:E.bottom},{x:R,y:E.bottom}],side:_}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(v),v.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:Ee(e.onKeyDown,v=>{const y=a.searchRef.current!=="";if(!(e.disabled||y&&v.key===" ")&&Xv[o.dir].includes(v.key)){var E;n.onOpenChange(!0),(E=n.content)===null||E===void 0||E.focus(),v.preventDefault()}})})))}),pm="MenuSubContent",hm=p.forwardRef((e,t)=>{const n=wu(jr,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,a=Xo(jr,e.__scopeMenu),s=ol(jr,e.__scopeMenu),c=Lu(pm,e.__scopeMenu),u=p.useRef(null),g=_t(t,u);return p.createElement(nl.Provider,{scope:e.__scopeMenu},p.createElement(Cn,{present:o||a.open},p.createElement(nl.Slot,{scope:e.__scopeMenu},p.createElement(R3,ue({id:c.contentId,"aria-labelledby":c.triggerId},i,{ref:g,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:C=>{var v;s.isUsingKeyboardRef.current&&((v=u.current)===null||v===void 0||v.focus()),C.preventDefault()},onCloseAutoFocus:C=>C.preventDefault(),onFocusOutside:Ee(e.onFocusOutside,C=>{C.target!==c.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:Ee(e.onEscapeKeyDown,C=>{s.onClose(),C.preventDefault()}),onKeyDown:Ee(e.onKeyDown,C=>{const v=C.currentTarget.contains(C.target),y=Kv[s.dir].includes(C.key);if(v&&y){var E;a.onOpenChange(!1),(E=c.trigger)===null||E===void 0||E.focus(),C.preventDefault()}})})))))});function $u(e){return e?"open":"closed"}function gm(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function vm(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function mm(e,t,n){const i=t.length>1&&Array.from(t).every(g=>g===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let s=vm(e,Math.max(a,0));i.length===1&&(s=s.filter(g=>g!==n));const u=s.find(g=>g.toLowerCase().startsWith(i.toLowerCase()));return u!==n?u:void 0}function bm(e,t){const{x:n,y:o}=e;let i=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){const c=t[a].x,u=t[a].y,g=t[s].x,C=t[s].y;u>o!=C>o&&n<(g-c)*(o-u)/(C-u)+c&&(i=!i)}return i}function Cm(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return bm(n,t)}function il(e){return t=>t.pointerType==="mouse"?e(t):void 0}const Mu=em,ju=Cu,Eu=nm,_u=om,Iu=lm,Tu=sm,Fu=cm,Ou=um,Pu=fm,Hu=hm,Du="DropdownMenu",[xm,_A]=pn(Du,[oc]),Xr=oc(),[wm,Au]=xm(Du),ym=e=>{const{__scopeDropdownMenu:t,children:n,dir:o,open:i,defaultOpen:a,onOpenChange:s,modal:c=!0}=e,u=Xr(t),g=p.useRef(null),[C=!1,v]=_n({prop:i,defaultProp:a,onChange:s});return p.createElement(wm,{scope:t,triggerId:tr(),triggerRef:g,contentId:tr(),open:C,onOpenChange:v,onOpenToggle:p.useCallback(()=>v(y=>!y),[v]),modal:c},p.createElement(Mu,ue({},u,{open:C,onOpenChange:v,dir:o,modal:c}),n))},km="DropdownMenuTrigger",Sm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:o=!1,...i}=e,a=Au(km,n),s=Xr(n);return p.createElement(ju,ue({asChild:!0},s),p.createElement(ot.button,ue({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":o?"":void 0,disabled:o},i,{ref:Hs(t,a.triggerRef),onPointerDown:Ee(e.onPointerDown,c=>{!o&&c.button===0&&c.ctrlKey===!1&&(a.onOpenToggle(),a.open||c.preventDefault())}),onKeyDown:Ee(e.onKeyDown,c=>{o||(["Enter"," "].includes(c.key)&&a.onOpenToggle(),c.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})))}),Lm=e=>{const{__scopeDropdownMenu:t,...n}=e,o=Xr(t);return p.createElement(Eu,ue({},o,n))},$m="DropdownMenuContent",Mm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Au($m,n),a=Xr(n),s=p.useRef(!1);return p.createElement(_u,ue({id:i.contentId,"aria-labelledby":i.triggerId},a,o,{ref:t,onCloseAutoFocus:Ee(e.onCloseAutoFocus,c=>{var u;s.current||(u=i.triggerRef.current)===null||u===void 0||u.focus(),s.current=!1,c.preventDefault()}),onInteractOutside:Ee(e.onInteractOutside,c=>{const u=c.detail.originalEvent,g=u.button===0&&u.ctrlKey===!0,C=u.button===2||g;(!i.modal||C)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),jm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Iu,ue({},i,o,{ref:t}))}),Em=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Tu,ue({},i,o,{ref:t}))}),_m=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Fu,ue({},i,o,{ref:t}))}),Im=e=>{const{__scopeDropdownMenu:t,children:n,open:o,onOpenChange:i,defaultOpen:a}=e,s=Xr(t),[c=!1,u]=_n({prop:o,defaultProp:a,onChange:i});return p.createElement(Ou,ue({},s,{open:c,onOpenChange:u}),n)},Tm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Pu,ue({},i,o,{ref:t}))}),Fm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Hu,ue({},i,o,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),Om=ym,Pm=Sm,Hm=Lm,Dm=Mm,Am=jm,Rm=Em,Vm=_m,Bm=Im,Nm=Tm,Zm=Fm,B3=W.div.withConfig({componentId:"sc-1fv0ktx-0"})(["outline:none;max-width:var(--radix-","-content-available-width);max-height:var(--radix-","-content-available-height);overflow:hidden;display:flex;align-items:flex-start;pointer-events:auto;",";",";"],({$type:e})=>e,({$type:e})=>e,({theme:e})=>`
168
+ `)},Uv=0,_1=[];function Wv(e){var t=Qe.useRef([]),n=Qe.useRef([0,0]),o=Qe.useRef(),i=Qe.useState(Uv++)[0],a=Qe.useState(function(){return su()})[0],s=Qe.useRef(e);Qe.useEffect(function(){s.current=e},[e]),Qe.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var E=pv([e.lockRef.current],(e.shards||[]).map(hu),!0).filter(Boolean);return E.forEach(function(I){return I.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),E.forEach(function(I){return I.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var c=Qe.useCallback(function(E,I){if("touches"in E&&E.touches.length===2)return!s.current.allowPinchZoom;var j=nc(E),R=n.current,P="deltaX"in E?E.deltaX:R[0]-j[0],B="deltaY"in E?E.deltaY:R[1]-j[1],D,H=E.target,A=Math.abs(P)>Math.abs(B)?"h":"v";if("touches"in E&&A==="h"&&H.type==="range")return!1;var G=du(A,H);if(!G)return!0;if(G?D=A:(D=A==="v"?"h":"v",G=du(A,H)),!G)return!1;if(!o.current&&"changedTouches"in E&&(P||B)&&(o.current=D),!D)return!0;var K=o.current||D;return Bv(K,I,E,K==="h"?P:B,!0)},[]),u=Qe.useCallback(function(E){var I=E;if(!(!_1.length||_1[_1.length-1]!==a)){var j="deltaY"in I?pu(I):nc(I),R=t.current.filter(function(D){return D.name===I.type&&D.target===I.target&&Nv(D.delta,j)})[0];if(R&&R.should){I.cancelable&&I.preventDefault();return}if(!R){var P=(s.current.shards||[]).map(hu).filter(Boolean).filter(function(D){return D.contains(I.target)}),B=P.length>0?c(I,P[0]):!s.current.noIsolation;B&&I.cancelable&&I.preventDefault()}}},[]),g=Qe.useCallback(function(E,I,j,R){var P={name:E,delta:I,target:j,should:R};t.current.push(P),setTimeout(function(){t.current=t.current.filter(function(B){return B!==P})},1)},[]),C=Qe.useCallback(function(E){n.current=nc(E),o.current=void 0},[]),v=Qe.useCallback(function(E){g(E.type,pu(E),E.target,c(E,e.lockRef.current))},[]),y=Qe.useCallback(function(E){g(E.type,nc(E),E.target,c(E,e.lockRef.current))},[]);Qe.useEffect(function(){return _1.push(a),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:y}),document.addEventListener("wheel",u,E1),document.addEventListener("touchmove",u,E1),document.addEventListener("touchstart",C,E1),function(){_1=_1.filter(function(E){return E!==a}),document.removeEventListener("wheel",u,E1),document.removeEventListener("touchmove",u,E1),document.removeEventListener("touchstart",C,E1)}},[]);var _=e.removeScrollBar,M=e.inert;return Qe.createElement(Qe.Fragment,null,M?Qe.createElement(a,{styles:Zv(i)}):null,_?Qe.createElement(Ov,{gapMode:"margin"}):null)}const zv=yv(au,Wv);var gu=Qe.forwardRef(function(e,t){return Qe.createElement(ec,Yr({},e,{ref:t,sideCar:zv}))});gu.classNames=ec.classNames;const H3=gu,D3=["Enter"," "],Gv=["ArrowDown","PageUp","Home"],vu=["ArrowUp","PageDown","End"],Yv=[...Gv,...vu],Xv={ltr:[...D3,"ArrowRight"],rtl:[...D3,"ArrowLeft"]},Kv={ltr:["ArrowLeft"],rtl:["ArrowRight"]},rc="Menu",[nl,Jv,qv]=Ds(rc),[ji,oc]=pn(rc,[qv,Yo,M1]),rl=Yo(),mu=M1(),[bu,Xo]=ji(rc),[Qv,ol]=ji(rc),em=e=>{const{__scopeMenu:t,open:n=!1,children:o,dir:i,onOpenChange:a,modal:s=!0}=e,c=rl(t),[u,g]=p.useState(null),C=p.useRef(!1),v=Sn(a),y=Ka(i);return p.useEffect(()=>{const _=()=>{C.current=!0,document.addEventListener("pointerdown",M,{capture:!0,once:!0}),document.addEventListener("pointermove",M,{capture:!0,once:!0})},M=()=>C.current=!1;return document.addEventListener("keydown",_,{capture:!0}),()=>{document.removeEventListener("keydown",_,{capture:!0}),document.removeEventListener("pointerdown",M,{capture:!0}),document.removeEventListener("pointermove",M,{capture:!0})}},[]),p.createElement(el,c,p.createElement(bu,{scope:t,open:n,onOpenChange:v,content:u,onContentChange:g},p.createElement(Qv,{scope:t,onClose:p.useCallback(()=>v(!1),[v]),isUsingKeyboardRef:C,dir:y,modal:s},o)))},Cu=p.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e,i=rl(n);return p.createElement(tl,ue({},i,o,{ref:t}))}),xu="MenuPortal",[tm,wu]=ji(xu,{forceMount:void 0}),nm=e=>{const{__scopeMenu:t,forceMount:n,children:o,container:i}=e,a=Xo(xu,t);return p.createElement(tm,{scope:t,forceMount:n},p.createElement(Cn,{present:n||a.open},p.createElement($1,{asChild:!0,container:i},o)))},jr="MenuContent",[rm,A3]=ji(jr),om=p.forwardRef((e,t)=>{const n=wu(jr,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,a=Xo(jr,e.__scopeMenu),s=ol(jr,e.__scopeMenu);return p.createElement(nl.Provider,{scope:e.__scopeMenu},p.createElement(Cn,{present:o||a.open},p.createElement(nl.Slot,{scope:e.__scopeMenu},s.modal?p.createElement(im,ue({},i,{ref:t})):p.createElement(am,ue({},i,{ref:t})))))}),im=p.forwardRef((e,t)=>{const n=Xo(jr,e.__scopeMenu),o=p.useRef(null),i=_t(t,o);return p.useEffect(()=>{const a=o.current;if(a)return T3(a)},[]),p.createElement(R3,ue({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Ee(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),am=p.forwardRef((e,t)=>{const n=Xo(jr,e.__scopeMenu);return p.createElement(R3,ue({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),R3=p.forwardRef((e,t)=>{const{__scopeMenu:n,loop:o=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEntryFocus:u,onEscapeKeyDown:g,onPointerDownOutside:C,onFocusOutside:v,onInteractOutside:y,onDismiss:_,disableOutsideScroll:M,...E}=e,I=Xo(jr,n),j=ol(jr,n),R=rl(n),P=mu(n),B=Jv(n),[D,H]=p.useState(null),A=p.useRef(null),G=_t(t,A,I.onContentChange),K=p.useRef(0),Q=p.useRef(""),le=p.useRef(0),se=p.useRef(null),fe=p.useRef("right"),te=p.useRef(0),ge=M?H3:p.Fragment,ie=M?{as:$i,allowPinchZoom:!0}:void 0,me=pe=>{var Me,Se;const De=Q.current+pe,de=B().filter(Ce=>!Ce.disabled),xe=document.activeElement,Ie=(Me=de.find(Ce=>Ce.ref.current===xe))===null||Me===void 0?void 0:Me.textValue,Te=de.map(Ce=>Ce.textValue),Ge=mm(Te,De,Ie),gt=(Se=de.find(Ce=>Ce.textValue===Ge))===null||Se===void 0?void 0:Se.ref.current;(function Ce(Fe){Q.current=Fe,window.clearTimeout(K.current),Fe!==""&&(K.current=window.setTimeout(()=>Ce(""),1e3))})(De),gt&&setTimeout(()=>gt.focus())};p.useEffect(()=>()=>window.clearTimeout(K.current),[]),h3();const ye=p.useCallback(pe=>{var Me,Se;return fe.current===((Me=se.current)===null||Me===void 0?void 0:Me.side)&&Cm(pe,(Se=se.current)===null||Se===void 0?void 0:Se.area)},[]);return p.createElement(rm,{scope:n,searchRef:Q,onItemEnter:p.useCallback(pe=>{ye(pe)&&pe.preventDefault()},[ye]),onItemLeave:p.useCallback(pe=>{var Me;ye(pe)||((Me=A.current)===null||Me===void 0||Me.focus(),H(null))},[ye]),onTriggerLeave:p.useCallback(pe=>{ye(pe)&&pe.preventDefault()},[ye]),pointerGraceTimerRef:le,onPointerGraceIntentChange:p.useCallback(pe=>{se.current=pe},[])},p.createElement(ge,ie,p.createElement(m3,{asChild:!0,trapped:i,onMountAutoFocus:Ee(a,pe=>{var Me;pe.preventDefault(),(Me=A.current)===null||Me===void 0||Me.focus()}),onUnmountAutoFocus:s},p.createElement(w1,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:g,onPointerDownOutside:C,onFocusOutside:v,onInteractOutside:y,onDismiss:_},p.createElement(E3,ue({asChild:!0},P,{dir:j.dir,orientation:"vertical",loop:o,currentTabStopId:D,onCurrentTabStopIdChange:H,onEntryFocus:Ee(u,pe=>{j.isUsingKeyboardRef.current||pe.preventDefault()})}),p.createElement(Gs,ue({role:"menu","aria-orientation":"vertical","data-state":$u(I.open),"data-radix-menu-content":"",dir:j.dir},R,E,{ref:G,style:{outline:"none",...E.style},onKeyDown:Ee(E.onKeyDown,pe=>{const Se=pe.target.closest("[data-radix-menu-content]")===pe.currentTarget,De=pe.ctrlKey||pe.altKey||pe.metaKey,de=pe.key.length===1;Se&&(pe.key==="Tab"&&pe.preventDefault(),!De&&de&&me(pe.key));const xe=A.current;if(pe.target!==xe||!Yv.includes(pe.key))return;pe.preventDefault();const Te=B().filter(Ge=>!Ge.disabled).map(Ge=>Ge.ref.current);vu.includes(pe.key)&&Te.reverse(),gm(Te)}),onBlur:Ee(e.onBlur,pe=>{pe.currentTarget.contains(pe.target)||(window.clearTimeout(K.current),Q.current="")}),onPointerMove:Ee(e.onPointerMove,il(pe=>{const Me=pe.target,Se=te.current!==pe.clientX;if(pe.currentTarget.contains(Me)&&Se){const De=pe.clientX>te.current?"right":"left";fe.current=De,te.current=pe.clientX}}))})))))))}),lm=p.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e;return p.createElement(ot.div,ue({role:"group"},o,{ref:t}))}),V3="MenuItem",yu="menu.itemSelect",sm=p.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:o,...i}=e,a=p.useRef(null),s=ol(V3,e.__scopeMenu),c=A3(V3,e.__scopeMenu),u=_t(t,a),g=p.useRef(!1),C=()=>{const v=a.current;if(!n&&v){const y=new CustomEvent(yu,{bubbles:!0,cancelable:!0});v.addEventListener(yu,_=>o==null?void 0:o(_),{once:!0}),u3(v,y),y.defaultPrevented?g.current=!1:s.onClose()}};return p.createElement(ku,ue({},i,{ref:u,disabled:n,onClick:Ee(e.onClick,C),onPointerDown:v=>{var y;(y=e.onPointerDown)===null||y===void 0||y.call(e,v),g.current=!0},onPointerUp:Ee(e.onPointerUp,v=>{var y;g.current||(y=v.currentTarget)===null||y===void 0||y.click()}),onKeyDown:Ee(e.onKeyDown,v=>{const y=c.searchRef.current!=="";n||y&&v.key===" "||D3.includes(v.key)&&(v.currentTarget.click(),v.preventDefault())})}))}),ku=p.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:o=!1,textValue:i,...a}=e,s=A3(V3,n),c=mu(n),u=p.useRef(null),g=_t(t,u),[C,v]=p.useState(!1),[y,_]=p.useState("");return p.useEffect(()=>{const M=u.current;if(M){var E;_(((E=M.textContent)!==null&&E!==void 0?E:"").trim())}},[a.children]),p.createElement(nl.ItemSlot,{scope:n,disabled:o,textValue:i??y},p.createElement(_3,ue({asChild:!0},c,{focusable:!o}),p.createElement(ot.div,ue({role:"menuitem","data-highlighted":C?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0},a,{ref:g,onPointerMove:Ee(e.onPointerMove,il(M=>{o?s.onItemLeave(M):(s.onItemEnter(M),M.defaultPrevented||M.currentTarget.focus())})),onPointerLeave:Ee(e.onPointerLeave,il(M=>s.onItemLeave(M))),onFocus:Ee(e.onFocus,()=>v(!0)),onBlur:Ee(e.onBlur,()=>v(!1))}))))});ji("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),ji("MenuItemIndicator",{checked:!1});const cm=p.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e,i=rl(n);return p.createElement(Ys,ue({},i,o,{ref:t}))}),Su="MenuSub",[dm,Lu]=ji(Su),um=e=>{const{__scopeMenu:t,children:n,open:o=!1,onOpenChange:i}=e,a=Xo(Su,t),s=rl(t),[c,u]=p.useState(null),[g,C]=p.useState(null),v=Sn(i);return p.useEffect(()=>(a.open===!1&&v(!1),()=>v(!1)),[a.open,v]),p.createElement(el,s,p.createElement(bu,{scope:t,open:o,onOpenChange:v,content:g,onContentChange:C},p.createElement(dm,{scope:t,contentId:tr(),triggerId:tr(),trigger:c,onTriggerChange:u},n)))},ic="MenuSubTrigger",fm=p.forwardRef((e,t)=>{const n=Xo(ic,e.__scopeMenu),o=ol(ic,e.__scopeMenu),i=Lu(ic,e.__scopeMenu),a=A3(ic,e.__scopeMenu),s=p.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:u}=a,g={__scopeMenu:e.__scopeMenu},C=p.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return p.useEffect(()=>C,[C]),p.useEffect(()=>{const v=c.current;return()=>{window.clearTimeout(v),u(null)}},[c,u]),p.createElement(Cu,ue({asChild:!0},g),p.createElement(ku,ue({id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":$u(n.open)},e,{ref:Hs(t,i.onTriggerChange),onClick:v=>{var y;(y=e.onClick)===null||y===void 0||y.call(e,v),!(e.disabled||v.defaultPrevented)&&(v.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Ee(e.onPointerMove,il(v=>{a.onItemEnter(v),!v.defaultPrevented&&!e.disabled&&!n.open&&!s.current&&(a.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),C()},100))})),onPointerLeave:Ee(e.onPointerLeave,il(v=>{var y;C();const _=(y=n.content)===null||y===void 0?void 0:y.getBoundingClientRect();if(_){var M;const E=(M=n.content)===null||M===void 0?void 0:M.dataset.side,I=E==="right",j=I?-5:5,R=_[I?"left":"right"],P=_[I?"right":"left"];a.onPointerGraceIntentChange({area:[{x:v.clientX+j,y:v.clientY},{x:R,y:_.top},{x:P,y:_.top},{x:P,y:_.bottom},{x:R,y:_.bottom}],side:E}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(v),v.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:Ee(e.onKeyDown,v=>{const y=a.searchRef.current!=="";if(!(e.disabled||y&&v.key===" ")&&Xv[o.dir].includes(v.key)){var _;n.onOpenChange(!0),(_=n.content)===null||_===void 0||_.focus(),v.preventDefault()}})})))}),pm="MenuSubContent",hm=p.forwardRef((e,t)=>{const n=wu(jr,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,a=Xo(jr,e.__scopeMenu),s=ol(jr,e.__scopeMenu),c=Lu(pm,e.__scopeMenu),u=p.useRef(null),g=_t(t,u);return p.createElement(nl.Provider,{scope:e.__scopeMenu},p.createElement(Cn,{present:o||a.open},p.createElement(nl.Slot,{scope:e.__scopeMenu},p.createElement(R3,ue({id:c.contentId,"aria-labelledby":c.triggerId},i,{ref:g,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:C=>{var v;s.isUsingKeyboardRef.current&&((v=u.current)===null||v===void 0||v.focus()),C.preventDefault()},onCloseAutoFocus:C=>C.preventDefault(),onFocusOutside:Ee(e.onFocusOutside,C=>{C.target!==c.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:Ee(e.onEscapeKeyDown,C=>{s.onClose(),C.preventDefault()}),onKeyDown:Ee(e.onKeyDown,C=>{const v=C.currentTarget.contains(C.target),y=Kv[s.dir].includes(C.key);if(v&&y){var _;a.onOpenChange(!1),(_=c.trigger)===null||_===void 0||_.focus(),C.preventDefault()}})})))))});function $u(e){return e?"open":"closed"}function gm(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function vm(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function mm(e,t,n){const i=t.length>1&&Array.from(t).every(g=>g===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let s=vm(e,Math.max(a,0));i.length===1&&(s=s.filter(g=>g!==n));const u=s.find(g=>g.toLowerCase().startsWith(i.toLowerCase()));return u!==n?u:void 0}function bm(e,t){const{x:n,y:o}=e;let i=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){const c=t[a].x,u=t[a].y,g=t[s].x,C=t[s].y;u>o!=C>o&&n<(g-c)*(o-u)/(C-u)+c&&(i=!i)}return i}function Cm(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return bm(n,t)}function il(e){return t=>t.pointerType==="mouse"?e(t):void 0}const Mu=em,ju=Cu,Eu=nm,_u=om,Iu=lm,Tu=sm,Fu=cm,Ou=um,Pu=fm,Hu=hm,Du="DropdownMenu",[xm,_A]=pn(Du,[oc]),Xr=oc(),[wm,Au]=xm(Du),ym=e=>{const{__scopeDropdownMenu:t,children:n,dir:o,open:i,defaultOpen:a,onOpenChange:s,modal:c=!0}=e,u=Xr(t),g=p.useRef(null),[C=!1,v]=_n({prop:i,defaultProp:a,onChange:s});return p.createElement(wm,{scope:t,triggerId:tr(),triggerRef:g,contentId:tr(),open:C,onOpenChange:v,onOpenToggle:p.useCallback(()=>v(y=>!y),[v]),modal:c},p.createElement(Mu,ue({},u,{open:C,onOpenChange:v,dir:o,modal:c}),n))},km="DropdownMenuTrigger",Sm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:o=!1,...i}=e,a=Au(km,n),s=Xr(n);return p.createElement(ju,ue({asChild:!0},s),p.createElement(ot.button,ue({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":o?"":void 0,disabled:o},i,{ref:Hs(t,a.triggerRef),onPointerDown:Ee(e.onPointerDown,c=>{!o&&c.button===0&&c.ctrlKey===!1&&(a.onOpenToggle(),a.open||c.preventDefault())}),onKeyDown:Ee(e.onKeyDown,c=>{o||(["Enter"," "].includes(c.key)&&a.onOpenToggle(),c.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})))}),Lm=e=>{const{__scopeDropdownMenu:t,...n}=e,o=Xr(t);return p.createElement(Eu,ue({},o,n))},$m="DropdownMenuContent",Mm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Au($m,n),a=Xr(n),s=p.useRef(!1);return p.createElement(_u,ue({id:i.contentId,"aria-labelledby":i.triggerId},a,o,{ref:t,onCloseAutoFocus:Ee(e.onCloseAutoFocus,c=>{var u;s.current||(u=i.triggerRef.current)===null||u===void 0||u.focus(),s.current=!1,c.preventDefault()}),onInteractOutside:Ee(e.onInteractOutside,c=>{const u=c.detail.originalEvent,g=u.button===0&&u.ctrlKey===!0,C=u.button===2||g;(!i.modal||C)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),jm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Iu,ue({},i,o,{ref:t}))}),Em=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Tu,ue({},i,o,{ref:t}))}),_m=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Fu,ue({},i,o,{ref:t}))}),Im=e=>{const{__scopeDropdownMenu:t,children:n,open:o,onOpenChange:i,defaultOpen:a}=e,s=Xr(t),[c=!1,u]=_n({prop:o,defaultProp:a,onChange:i});return p.createElement(Ou,ue({},s,{open:c,onOpenChange:u}),n)},Tm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Pu,ue({},i,o,{ref:t}))}),Fm=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,i=Xr(n);return p.createElement(Hu,ue({},i,o,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),Om=ym,Pm=Sm,Hm=Lm,Dm=Mm,Am=jm,Rm=Em,Vm=_m,Bm=Im,Nm=Tm,Zm=Fm,B3=W.div.withConfig({componentId:"sc-1fv0ktx-0"})(["outline:none;max-width:var(--radix-","-content-available-width);max-height:var(--radix-","-content-available-height);overflow:hidden;display:flex;align-items:flex-start;pointer-events:auto;",";",";"],({$type:e})=>e,({$type:e})=>e,({theme:e})=>`
169
169
  border: 1px solid ${e.click.genericMenu.panel.color.stroke.default};
170
170
  background: ${e.click.genericMenu.panel.color.background.default};
171
171
  box-shadow: ${e.click.genericMenu.panel.shadow.default};
@@ -227,7 +227,7 @@ Check the top-level render call using <`+je+">.")}return be}}function Bt(Y,be){{
227
227
  background: ${e.click.genericMenu.item.color.background.hover};
228
228
  color: ${e.click.genericMenu.item.color.text.hover};
229
229
  cursor: pointer;
230
- `),Ym=W(Pm).withConfig({componentId:"sc-18bhwbw-1"})(["cursor:pointer;width:fit-content;&[disabled]{cursor:not-allowed;}"]),Bu=({sub:e,children:t,...n})=>{if(e){const{icon:o,iconDir:i,...a}=n;return r.jsxs(Vu,{as:Nm,...a,children:[r.jsx(Er,{icon:o,iconDir:i,children:t}),r.jsx(rt,{name:"chevron-right"})]})}return r.jsx(Ym,{asChild:!0,...n,children:r.jsx("div",{children:t})})};Bu.displayName="DropdownTrigger",Nn.Trigger=Bu;const Xm=W(B3).withConfig({componentId:"sc-18bhwbw-2"})(["min-width:",";flex-direction:column;z-index:1;"],({theme:e})=>e.click.genericMenu.item.size.minWidth),Nu=({sub:e,children:t,showArrow:n,...o})=>{const i=e?Zm:Dm;return r.jsx(Hm,{children:r.jsxs(Xm,{$type:"dropdown-menu",$showArrow:n,as:i,sideOffset:4,loop:!0,...o,children:[n&&r.jsx(ac,{asChild:!0,as:Vm,width:20,height:10,children:r.jsx(lc,{})}),t]})})};Nu.displayName="DropdownContent",Nn.Content=Nu;const Km=W(Am).withConfig({componentId:"sc-18bhwbw-3"})(["width:100%;border-bottom:1px solid ",";"],({theme:e})=>e.click.genericMenu.item.color.stroke.default),Zu=e=>r.jsx(Km,{...e});Zu.displayName="DropdownGroup",Nn.Group=Zu;const Jm=W(Bm).withConfig({componentId:"sc-18bhwbw-4"})(["border-bottom:1px solid ",";"],({theme:e})=>e.click.genericMenu.item.color.stroke.default),Uu=({...e})=>r.jsx(Jm,{...e});Uu.displayName="DropdownSub",Nn.Sub=Uu;const Wu=({icon:e,iconDir:t,children:n,...o})=>r.jsx(Vu,{as:Rm,...o,children:r.jsx(Er,{icon:e,iconDir:t,children:n})});Wu.displayName="DropdownItem",Nn.Item=Wu;const zu="Collapsible",[qm,Gu]=pn(zu),[Qm,N3]=qm(zu),eb=p.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:o,defaultOpen:i,disabled:a,onOpenChange:s,...c}=e,[u=!1,g]=_n({prop:o,defaultProp:i,onChange:s});return p.createElement(Qm,{scope:n,disabled:a,contentId:tr(),open:u,onOpenToggle:p.useCallback(()=>g(C=>!C),[g])},p.createElement(ot.div,ue({"data-state":Z3(u),"data-disabled":a?"":void 0},c,{ref:t})))}),tb="CollapsibleTrigger",nb=p.forwardRef((e,t)=>{const{__scopeCollapsible:n,...o}=e,i=N3(tb,n);return p.createElement(ot.button,ue({type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":Z3(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled},o,{ref:t,onClick:Ee(e.onClick,i.onOpenToggle)}))}),Yu="CollapsibleContent",rb=p.forwardRef((e,t)=>{const{forceMount:n,...o}=e,i=N3(Yu,e.__scopeCollapsible);return p.createElement(Cn,{present:n||i.open},({present:a})=>p.createElement(ob,ue({},o,{ref:t,present:a})))}),ob=p.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:o,children:i,...a}=e,s=N3(Yu,n),[c,u]=p.useState(o),g=p.useRef(null),C=_t(t,g),v=p.useRef(0),y=v.current,E=p.useRef(0),M=E.current,_=s.open||c,I=p.useRef(_),j=p.useRef();return p.useEffect(()=>{const R=requestAnimationFrame(()=>I.current=!1);return()=>cancelAnimationFrame(R)},[]),zr(()=>{const R=g.current;if(R){j.current=j.current||{transitionDuration:R.style.transitionDuration,animationName:R.style.animationName},R.style.transitionDuration="0s",R.style.animationName="none";const P=R.getBoundingClientRect();v.current=P.height,E.current=P.width,I.current||(R.style.transitionDuration=j.current.transitionDuration,R.style.animationName=j.current.animationName),u(o)}},[s.open,o]),p.createElement(ot.div,ue({"data-state":Z3(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!_},a,{ref:C,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":M?`${M}px`:void 0,...e.style}}),_&&i)});function Z3(e){return e?"open":"closed"}const ib=eb,ab=nb,lb=rb,Ei="Accordion",sb=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[U3,cb,db]=Ds(Ei),[sc,IA]=pn(Ei,[db,Gu]),W3=Gu(),Xu=p.forwardRef((e,t)=>{const{type:n,...o}=e,i=o,a=o;return p.createElement(U3.Provider,{scope:e.__scopeAccordion},n==="multiple"?p.createElement(hb,ue({},a,{ref:t})):p.createElement(pb,ue({},i,{ref:t})))});Xu.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[Ku,ub]=sc(Ei),[Ju,fb]=sc(Ei,{collapsible:!1}),pb=p.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:i=()=>{},collapsible:a=!1,...s}=e,[c,u]=_n({prop:n,defaultProp:o,onChange:i});return p.createElement(Ku,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:u,onItemClose:p.useCallback(()=>a&&u(""),[a,u])},p.createElement(Ju,{scope:e.__scopeAccordion,collapsible:a},p.createElement(qu,ue({},s,{ref:t}))))}),hb=p.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:i=()=>{},...a}=e,[s=[],c]=_n({prop:n,defaultProp:o,onChange:i}),u=p.useCallback(C=>c((v=[])=>[...v,C]),[c]),g=p.useCallback(C=>c((v=[])=>v.filter(y=>y!==C)),[c]);return p.createElement(Ku,{scope:e.__scopeAccordion,value:s,onItemOpen:u,onItemClose:g},p.createElement(Ju,{scope:e.__scopeAccordion,collapsible:!0},p.createElement(qu,ue({},a,{ref:t}))))}),[gb,z3]=sc(Ei),qu=p.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:o,dir:i,orientation:a="vertical",...s}=e,c=p.useRef(null),u=_t(c,t),g=cb(n),v=Ka(i)==="ltr",y=Ee(e.onKeyDown,E=>{var M;if(!sb.includes(E.key))return;const _=E.target,I=g().filter(K=>{var Q;return!((Q=K.ref.current)!==null&&Q!==void 0&&Q.disabled)}),j=I.findIndex(K=>K.ref.current===_),R=I.length;if(j===-1)return;E.preventDefault();let P=j;const B=0,D=R-1,H=()=>{P=j+1,P>D&&(P=B)},A=()=>{P=j-1,P<B&&(P=D)};switch(E.key){case"Home":P=B;break;case"End":P=D;break;case"ArrowRight":a==="horizontal"&&(v?H():A());break;case"ArrowDown":a==="vertical"&&H();break;case"ArrowLeft":a==="horizontal"&&(v?A():H());break;case"ArrowUp":a==="vertical"&&A();break}const G=P%R;(M=I[G].ref.current)===null||M===void 0||M.focus()});return p.createElement(gb,{scope:n,disabled:o,direction:i,orientation:a},p.createElement(U3.Slot,{scope:n},p.createElement(ot.div,ue({},s,{"data-orientation":a,ref:u,onKeyDown:o?void 0:y}))))}),G3="AccordionItem",[vb,Qu]=sc(G3),mb=p.forwardRef((e,t)=>{const{__scopeAccordion:n,value:o,...i}=e,a=z3(G3,n),s=ub(G3,n),c=W3(n),u=tr(),g=o&&s.value.includes(o)||!1,C=a.disabled||e.disabled;return p.createElement(vb,{scope:n,open:g,disabled:C,triggerId:u},p.createElement(ib,ue({"data-orientation":a.orientation,"data-state":wb(g)},c,i,{ref:t,disabled:C,open:g,onOpenChange:v=>{v?s.onItemOpen(o):s.onItemClose(o)}})))}),e6="AccordionTrigger",bb=p.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,i=z3(Ei,n),a=Qu(e6,n),s=fb(e6,n),c=W3(n);return p.createElement(U3.ItemSlot,{scope:n},p.createElement(ab,ue({"aria-disabled":a.open&&!s.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId},c,o,{ref:t})))}),Cb="AccordionContent",xb=p.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,i=z3(Ei,n),a=Qu(Cb,n),s=W3(n);return p.createElement(lb,ue({role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation},s,o,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function wb(e){return e?"open":"closed"}const yb=Xu,kb=mb,Sb=bb,Lb=xb,t6=({title:e,size:t="md",color:n,icon:o,iconSize:i,children:a,...s})=>r.jsx(yb,{type:"single",collapsible:!0,...s,children:r.jsxs(kb,{value:"item",children:[r.jsxs(cc,{$size:t,color:n,children:[r.jsxs($b,{children:[r.jsx(ll,{children:r.jsx(rt,{name:"chevron-right",size:i||t,"aria-label":"accordion icon"})}),o?r.jsx(rt,{name:o,size:i||t}):null]}),r.jsx("p",{children:e})]}),r.jsx(Mb,{children:a})]})}),cc=W(Sb).withConfig({componentId:"sc-1ysh219-0"})(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;",""],({theme:e,$size:t="md",color:n="default"})=>`
230
+ `),Ym=W(Pm).withConfig({componentId:"sc-18bhwbw-1"})(["cursor:pointer;width:fit-content;&[disabled]{cursor:not-allowed;}"]),Bu=({sub:e,children:t,...n})=>{if(e){const{icon:o,iconDir:i,...a}=n;return r.jsxs(Vu,{as:Nm,...a,children:[r.jsx(Er,{icon:o,iconDir:i,children:t}),r.jsx(rt,{name:"chevron-right"})]})}return r.jsx(Ym,{asChild:!0,...n,children:r.jsx("div",{children:t})})};Bu.displayName="DropdownTrigger",Nn.Trigger=Bu;const Xm=W(B3).withConfig({componentId:"sc-18bhwbw-2"})(["min-width:",";flex-direction:column;z-index:1;"],({theme:e})=>e.click.genericMenu.item.size.minWidth),Nu=({sub:e,children:t,showArrow:n,...o})=>{const i=e?Zm:Dm;return r.jsx(Hm,{children:r.jsxs(Xm,{$type:"dropdown-menu",$showArrow:n,as:i,sideOffset:4,loop:!0,...o,children:[n&&r.jsx(ac,{asChild:!0,as:Vm,width:20,height:10,children:r.jsx(lc,{})}),t]})})};Nu.displayName="DropdownContent",Nn.Content=Nu;const Km=W(Am).withConfig({componentId:"sc-18bhwbw-3"})(["width:100%;border-bottom:1px solid ",";"],({theme:e})=>e.click.genericMenu.item.color.stroke.default),Zu=e=>r.jsx(Km,{...e});Zu.displayName="DropdownGroup",Nn.Group=Zu;const Jm=W(Bm).withConfig({componentId:"sc-18bhwbw-4"})(["border-bottom:1px solid ",";"],({theme:e})=>e.click.genericMenu.item.color.stroke.default),Uu=({...e})=>r.jsx(Jm,{...e});Uu.displayName="DropdownSub",Nn.Sub=Uu;const Wu=({icon:e,iconDir:t,children:n,...o})=>r.jsx(Vu,{as:Rm,...o,children:r.jsx(Er,{icon:e,iconDir:t,children:n})});Wu.displayName="DropdownItem",Nn.Item=Wu;const zu="Collapsible",[qm,Gu]=pn(zu),[Qm,N3]=qm(zu),eb=p.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:o,defaultOpen:i,disabled:a,onOpenChange:s,...c}=e,[u=!1,g]=_n({prop:o,defaultProp:i,onChange:s});return p.createElement(Qm,{scope:n,disabled:a,contentId:tr(),open:u,onOpenToggle:p.useCallback(()=>g(C=>!C),[g])},p.createElement(ot.div,ue({"data-state":Z3(u),"data-disabled":a?"":void 0},c,{ref:t})))}),tb="CollapsibleTrigger",nb=p.forwardRef((e,t)=>{const{__scopeCollapsible:n,...o}=e,i=N3(tb,n);return p.createElement(ot.button,ue({type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":Z3(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled},o,{ref:t,onClick:Ee(e.onClick,i.onOpenToggle)}))}),Yu="CollapsibleContent",rb=p.forwardRef((e,t)=>{const{forceMount:n,...o}=e,i=N3(Yu,e.__scopeCollapsible);return p.createElement(Cn,{present:n||i.open},({present:a})=>p.createElement(ob,ue({},o,{ref:t,present:a})))}),ob=p.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:o,children:i,...a}=e,s=N3(Yu,n),[c,u]=p.useState(o),g=p.useRef(null),C=_t(t,g),v=p.useRef(0),y=v.current,_=p.useRef(0),M=_.current,E=s.open||c,I=p.useRef(E),j=p.useRef();return p.useEffect(()=>{const R=requestAnimationFrame(()=>I.current=!1);return()=>cancelAnimationFrame(R)},[]),zr(()=>{const R=g.current;if(R){j.current=j.current||{transitionDuration:R.style.transitionDuration,animationName:R.style.animationName},R.style.transitionDuration="0s",R.style.animationName="none";const P=R.getBoundingClientRect();v.current=P.height,_.current=P.width,I.current||(R.style.transitionDuration=j.current.transitionDuration,R.style.animationName=j.current.animationName),u(o)}},[s.open,o]),p.createElement(ot.div,ue({"data-state":Z3(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!E},a,{ref:C,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":M?`${M}px`:void 0,...e.style}}),E&&i)});function Z3(e){return e?"open":"closed"}const ib=eb,ab=nb,lb=rb,Ei="Accordion",sb=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[U3,cb,db]=Ds(Ei),[sc,IA]=pn(Ei,[db,Gu]),W3=Gu(),Xu=p.forwardRef((e,t)=>{const{type:n,...o}=e,i=o,a=o;return p.createElement(U3.Provider,{scope:e.__scopeAccordion},n==="multiple"?p.createElement(hb,ue({},a,{ref:t})):p.createElement(pb,ue({},i,{ref:t})))});Xu.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[Ku,ub]=sc(Ei),[Ju,fb]=sc(Ei,{collapsible:!1}),pb=p.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:i=()=>{},collapsible:a=!1,...s}=e,[c,u]=_n({prop:n,defaultProp:o,onChange:i});return p.createElement(Ku,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:u,onItemClose:p.useCallback(()=>a&&u(""),[a,u])},p.createElement(Ju,{scope:e.__scopeAccordion,collapsible:a},p.createElement(qu,ue({},s,{ref:t}))))}),hb=p.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:i=()=>{},...a}=e,[s=[],c]=_n({prop:n,defaultProp:o,onChange:i}),u=p.useCallback(C=>c((v=[])=>[...v,C]),[c]),g=p.useCallback(C=>c((v=[])=>v.filter(y=>y!==C)),[c]);return p.createElement(Ku,{scope:e.__scopeAccordion,value:s,onItemOpen:u,onItemClose:g},p.createElement(Ju,{scope:e.__scopeAccordion,collapsible:!0},p.createElement(qu,ue({},a,{ref:t}))))}),[gb,z3]=sc(Ei),qu=p.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:o,dir:i,orientation:a="vertical",...s}=e,c=p.useRef(null),u=_t(c,t),g=cb(n),v=Ka(i)==="ltr",y=Ee(e.onKeyDown,_=>{var M;if(!sb.includes(_.key))return;const E=_.target,I=g().filter(K=>{var Q;return!((Q=K.ref.current)!==null&&Q!==void 0&&Q.disabled)}),j=I.findIndex(K=>K.ref.current===E),R=I.length;if(j===-1)return;_.preventDefault();let P=j;const B=0,D=R-1,H=()=>{P=j+1,P>D&&(P=B)},A=()=>{P=j-1,P<B&&(P=D)};switch(_.key){case"Home":P=B;break;case"End":P=D;break;case"ArrowRight":a==="horizontal"&&(v?H():A());break;case"ArrowDown":a==="vertical"&&H();break;case"ArrowLeft":a==="horizontal"&&(v?A():H());break;case"ArrowUp":a==="vertical"&&A();break}const G=P%R;(M=I[G].ref.current)===null||M===void 0||M.focus()});return p.createElement(gb,{scope:n,disabled:o,direction:i,orientation:a},p.createElement(U3.Slot,{scope:n},p.createElement(ot.div,ue({},s,{"data-orientation":a,ref:u,onKeyDown:o?void 0:y}))))}),G3="AccordionItem",[vb,Qu]=sc(G3),mb=p.forwardRef((e,t)=>{const{__scopeAccordion:n,value:o,...i}=e,a=z3(G3,n),s=ub(G3,n),c=W3(n),u=tr(),g=o&&s.value.includes(o)||!1,C=a.disabled||e.disabled;return p.createElement(vb,{scope:n,open:g,disabled:C,triggerId:u},p.createElement(ib,ue({"data-orientation":a.orientation,"data-state":wb(g)},c,i,{ref:t,disabled:C,open:g,onOpenChange:v=>{v?s.onItemOpen(o):s.onItemClose(o)}})))}),e6="AccordionTrigger",bb=p.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,i=z3(Ei,n),a=Qu(e6,n),s=fb(e6,n),c=W3(n);return p.createElement(U3.ItemSlot,{scope:n},p.createElement(ab,ue({"aria-disabled":a.open&&!s.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId},c,o,{ref:t})))}),Cb="AccordionContent",xb=p.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,i=z3(Ei,n),a=Qu(Cb,n),s=W3(n);return p.createElement(lb,ue({role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation},s,o,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function wb(e){return e?"open":"closed"}const yb=Xu,kb=mb,Sb=bb,Lb=xb,t6=({title:e,size:t="md",color:n,icon:o,iconSize:i,children:a,...s})=>r.jsx(yb,{type:"single",collapsible:!0,...s,children:r.jsxs(kb,{value:"item",children:[r.jsxs(cc,{$size:t,color:n,children:[r.jsxs($b,{children:[r.jsx(ll,{children:r.jsx(rt,{name:"chevron-right",size:i||t,"aria-label":"accordion icon"})}),o?r.jsx(rt,{name:o,size:i||t}):null]}),r.jsx("p",{children:e})]}),r.jsx(Mb,{children:a})]})}),cc=W(Sb).withConfig({componentId:"sc-1ysh219-0"})(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;",""],({theme:e,$size:t="md",color:n="default"})=>`
231
231
  gap: ${e.click.accordion[t].space.gap};
232
232
  color: ${e.click.accordion.color[n].label.default};
233
233
  font: ${e.click.accordion[t].typography.label.default};
@@ -251,7 +251,7 @@ Check the top-level render call using <`+je+">.")}return be}}function Bt(Y,be){{
251
251
  `),Fb=W.div.withConfig({componentId:"sc-1wvczk0-3"})(["display:flex;flex-flow:column;word-break:break-word;",""],({$size:e,theme:t})=>`
252
252
  gap: ${t.click.alert[e].space.gap};
253
253
  padding: ${t.click.alert[e].space.y} ${t.click.alert[e].space.x};
254
- `),Ob=W.h6.withConfig({componentId:"sc-1wvczk0-4"})(["margin:0;font:",";"],({theme:e,$size:t})=>e.click.alert[t].typography.title.default),Pb=W.div.withConfig({componentId:"sc-1wvczk0-5"})(["margin:0;font:",";"],({theme:e,$size:t})=>e.click.alert[t].typography.text.default),n6=W.button.withConfig({componentId:"sc-1wvczk0-6"})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]),Hb=e=>r.jsx(sl,{...e,state:"danger"}),Db=e=>r.jsx(sl,{...e,state:"info"}),Ab=e=>r.jsx(sl,{...e,state:"success"}),Rb=e=>r.jsx(sl,{...e,state:"warning"}),r6="Popover",[o6,TA]=pn(r6,[Yo]),cl=Yo(),[Vb,Jo]=o6(r6),Bb=e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:i,onOpenChange:a,modal:s=!1}=e,c=cl(t),u=p.useRef(null),[g,C]=p.useState(!1),[v=!1,y]=_n({prop:o,defaultProp:i,onChange:a});return p.createElement(el,c,p.createElement(Vb,{scope:t,contentId:tr(),triggerRef:u,open:v,onOpenChange:y,onOpenToggle:p.useCallback(()=>y(E=>!E),[y]),hasCustomAnchor:g,onCustomAnchorAdd:p.useCallback(()=>C(!0),[]),onCustomAnchorRemove:p.useCallback(()=>C(!1),[]),modal:s},n))},Nb="PopoverAnchor",Zb=p.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,i=Jo(Nb,n),a=cl(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:c}=i;return p.useEffect(()=>(s(),()=>c()),[s,c]),p.createElement(tl,ue({},a,o,{ref:t}))}),Ub="PopoverTrigger",Wb=p.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,i=Jo(Ub,n),a=cl(n),s=_t(t,i.triggerRef),c=p.createElement(ot.button,ue({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":l6(i.open)},o,{ref:s,onClick:Ee(e.onClick,i.onOpenToggle)}));return i.hasCustomAnchor?c:p.createElement(tl,ue({asChild:!0},a),c)}),i6="PopoverPortal",[zb,Gb]=o6(i6,{forceMount:void 0}),Yb=e=>{const{__scopePopover:t,forceMount:n,children:o,container:i}=e,a=Jo(i6,t);return p.createElement(zb,{scope:t,forceMount:n},p.createElement(Cn,{present:n||a.open},p.createElement($1,{asChild:!0,container:i},o)))},dl="PopoverContent",Xb=p.forwardRef((e,t)=>{const n=Gb(dl,e.__scopePopover),{forceMount:o=n.forceMount,...i}=e,a=Jo(dl,e.__scopePopover);return p.createElement(Cn,{present:o||a.open},a.modal?p.createElement(Kb,ue({},i,{ref:t})):p.createElement(Jb,ue({},i,{ref:t})))}),Kb=p.forwardRef((e,t)=>{const n=Jo(dl,e.__scopePopover),o=p.useRef(null),i=_t(t,o),a=p.useRef(!1);return p.useEffect(()=>{const s=o.current;if(s)return T3(s)},[]),p.createElement(H3,{as:$i,allowPinchZoom:!0},p.createElement(a6,ue({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ee(e.onCloseAutoFocus,s=>{var c;s.preventDefault(),a.current||(c=n.triggerRef.current)===null||c===void 0||c.focus()}),onPointerDownOutside:Ee(e.onPointerDownOutside,s=>{const c=s.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0,g=c.button===2||u;a.current=g},{checkForDefaultPrevented:!1}),onFocusOutside:Ee(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),Jb=p.forwardRef((e,t)=>{const n=Jo(dl,e.__scopePopover),o=p.useRef(!1),i=p.useRef(!1);return p.createElement(a6,ue({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var c;o.current||(c=n.triggerRef.current)===null||c===void 0||c.focus(),a.preventDefault()}o.current=!1,i.current=!1},onInteractOutside:a=>{var s,c;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(o.current=!0,a.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const u=a.target;((c=n.triggerRef.current)===null||c===void 0?void 0:c.contains(u))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&i.current&&a.preventDefault()}}))}),a6=p.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:g,onInteractOutside:C,...v}=e,y=Jo(dl,n),E=cl(n);return h3(),p.createElement(m3,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:a},p.createElement(w1,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:C,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:g,onDismiss:()=>y.onOpenChange(!1)},p.createElement(Gs,ue({"data-state":l6(y.open),role:"dialog",id:y.contentId},E,v,{ref:t,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),qb="PopoverClose",Qb=p.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,i=Jo(qb,n);return p.createElement(ot.button,ue({type:"button"},o,{ref:t,onClick:Ee(e.onClick,()=>i.onOpenChange(!1))}))}),eC=p.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,i=cl(n);return p.createElement(Ys,ue({},i,o,{ref:t}))});function l6(e){return e?"open":"closed"}const Y3=Bb,tC=Zb,X3=Wb,K3=Yb,J3=Xb,nC=Qb,rC=eC,s6=p.createContext({search:"",selectedValue:"",updateHighlighted:()=>null,onSelect:()=>null,isHidden:()=>!0}),c6=()=>{const e=p.useContext(s6);if(!e)throw new Error("Context used outside of its Provider!");return e},oC=()=>{const{search:e}=c6();return e},Zn=e=>e===null?"":typeof e=="string"?e:Array.isArray(e)?e.map(Zn).join(" "):p.isValidElement(e)?p.Children.toArray(e.props.children).map(Zn).join(" "):"",iC=({options:e,id:t})=>e.map((n,o)=>{if("options"in n){const{options:i=[],...a}=n;return r.jsx(e0,{...a,children:i.map(({label:s,...c},u)=>r.jsx(dc,{...c,children:s},`autocomplete-${t}-group-${o}-item-${u}`))},`autocomplete-${t}-group-${o}`)}else return r.jsx(dc,{...n},`autocomplete-${t}-item-${o}`)}),aC=W(Y3).withConfig({componentId:"sc-87wbnc-0"})(["width:100%;"," overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"],({theme:e})=>`
254
+ `),Ob=W.h6.withConfig({componentId:"sc-1wvczk0-4"})(["margin:0;font:",";"],({theme:e,$size:t})=>e.click.alert[t].typography.title.default),Pb=W.div.withConfig({componentId:"sc-1wvczk0-5"})(["margin:0;font:",";"],({theme:e,$size:t})=>e.click.alert[t].typography.text.default),n6=W.button.withConfig({componentId:"sc-1wvczk0-6"})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]),Hb=e=>r.jsx(sl,{...e,state:"danger"}),Db=e=>r.jsx(sl,{...e,state:"info"}),Ab=e=>r.jsx(sl,{...e,state:"success"}),Rb=e=>r.jsx(sl,{...e,state:"warning"}),r6="Popover",[o6,TA]=pn(r6,[Yo]),cl=Yo(),[Vb,Jo]=o6(r6),Bb=e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:i,onOpenChange:a,modal:s=!1}=e,c=cl(t),u=p.useRef(null),[g,C]=p.useState(!1),[v=!1,y]=_n({prop:o,defaultProp:i,onChange:a});return p.createElement(el,c,p.createElement(Vb,{scope:t,contentId:tr(),triggerRef:u,open:v,onOpenChange:y,onOpenToggle:p.useCallback(()=>y(_=>!_),[y]),hasCustomAnchor:g,onCustomAnchorAdd:p.useCallback(()=>C(!0),[]),onCustomAnchorRemove:p.useCallback(()=>C(!1),[]),modal:s},n))},Nb="PopoverAnchor",Zb=p.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,i=Jo(Nb,n),a=cl(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:c}=i;return p.useEffect(()=>(s(),()=>c()),[s,c]),p.createElement(tl,ue({},a,o,{ref:t}))}),Ub="PopoverTrigger",Wb=p.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,i=Jo(Ub,n),a=cl(n),s=_t(t,i.triggerRef),c=p.createElement(ot.button,ue({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":l6(i.open)},o,{ref:s,onClick:Ee(e.onClick,i.onOpenToggle)}));return i.hasCustomAnchor?c:p.createElement(tl,ue({asChild:!0},a),c)}),i6="PopoverPortal",[zb,Gb]=o6(i6,{forceMount:void 0}),Yb=e=>{const{__scopePopover:t,forceMount:n,children:o,container:i}=e,a=Jo(i6,t);return p.createElement(zb,{scope:t,forceMount:n},p.createElement(Cn,{present:n||a.open},p.createElement($1,{asChild:!0,container:i},o)))},dl="PopoverContent",Xb=p.forwardRef((e,t)=>{const n=Gb(dl,e.__scopePopover),{forceMount:o=n.forceMount,...i}=e,a=Jo(dl,e.__scopePopover);return p.createElement(Cn,{present:o||a.open},a.modal?p.createElement(Kb,ue({},i,{ref:t})):p.createElement(Jb,ue({},i,{ref:t})))}),Kb=p.forwardRef((e,t)=>{const n=Jo(dl,e.__scopePopover),o=p.useRef(null),i=_t(t,o),a=p.useRef(!1);return p.useEffect(()=>{const s=o.current;if(s)return T3(s)},[]),p.createElement(H3,{as:$i,allowPinchZoom:!0},p.createElement(a6,ue({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ee(e.onCloseAutoFocus,s=>{var c;s.preventDefault(),a.current||(c=n.triggerRef.current)===null||c===void 0||c.focus()}),onPointerDownOutside:Ee(e.onPointerDownOutside,s=>{const c=s.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0,g=c.button===2||u;a.current=g},{checkForDefaultPrevented:!1}),onFocusOutside:Ee(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),Jb=p.forwardRef((e,t)=>{const n=Jo(dl,e.__scopePopover),o=p.useRef(!1),i=p.useRef(!1);return p.createElement(a6,ue({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var c;o.current||(c=n.triggerRef.current)===null||c===void 0||c.focus(),a.preventDefault()}o.current=!1,i.current=!1},onInteractOutside:a=>{var s,c;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(o.current=!0,a.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const u=a.target;((c=n.triggerRef.current)===null||c===void 0?void 0:c.contains(u))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&i.current&&a.preventDefault()}}))}),a6=p.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:g,onInteractOutside:C,...v}=e,y=Jo(dl,n),_=cl(n);return h3(),p.createElement(m3,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:a},p.createElement(w1,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:C,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:g,onDismiss:()=>y.onOpenChange(!1)},p.createElement(Gs,ue({"data-state":l6(y.open),role:"dialog",id:y.contentId},_,v,{ref:t,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),qb="PopoverClose",Qb=p.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,i=Jo(qb,n);return p.createElement(ot.button,ue({type:"button"},o,{ref:t,onClick:Ee(e.onClick,()=>i.onOpenChange(!1))}))}),eC=p.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,i=cl(n);return p.createElement(Ys,ue({},i,o,{ref:t}))});function l6(e){return e?"open":"closed"}const Y3=Bb,tC=Zb,X3=Wb,K3=Yb,J3=Xb,nC=Qb,rC=eC,s6=p.createContext({search:"",selectedValue:"",updateHighlighted:()=>null,onSelect:()=>null,isHidden:()=>!0}),c6=()=>{const e=p.useContext(s6);if(!e)throw new Error("Context used outside of its Provider!");return e},oC=()=>{const{search:e}=c6();return e},Zn=e=>e===null?"":typeof e=="string"?e:Array.isArray(e)?e.map(Zn).join(" "):p.isValidElement(e)?p.Children.toArray(e.props.children).map(Zn).join(" "):"",iC=({options:e,id:t})=>e.map((n,o)=>{if("options"in n){const{options:i=[],...a}=n;return r.jsx(e0,{...a,children:i.map(({label:s,...c},u)=>r.jsx(dc,{...c,children:s},`autocomplete-${t}-group-${o}-item-${u}`))},`autocomplete-${t}-group-${o}`)}else return r.jsx(dc,{...n},`autocomplete-${t}-item-${o}`)}),aC=W(Y3).withConfig({componentId:"sc-87wbnc-0"})(["width:100%;"," overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"],({theme:e})=>`
255
255
  border: 1px solid ${e.click.genericMenu.item.color.stroke.default};
256
256
  background: ${e.click.genericMenu.item.color.background.default};
257
257
  box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.1),
@@ -276,7 +276,7 @@ Check the top-level render call using <`+je+">.")}return be}}function Bt(Y,be){{
276
276
  background: ${e.click.genericMenu.item.color.background.default};
277
277
  box-shadow: ${e.click.genericMenu.panel.shadow.default};
278
278
  border-radius: 0.25rem;
279
- `),Q3=({onSelect:e,options:t,children:n,onOpenChange:o,disabled:i,value:a="",placeholder:s="Search",...c})=>{const u=p.useId(),[g,C]=p.useState(""),[v,y]=p.useState(!1),E=p.useRef(null),[M,_]=p.useState(),I=p.useRef([]),j=p.useRef([]),R=p.useRef(new Map),[P,B]=p.useState([]),D=p.useCallback(({disabled:ie,value:me,title:ye,heading:pe,nodeProps:Me})=>{(ye.includes(g)||pe!=null&&pe.includes(g))&&(I.current.push(me),ie||j.current.push(me)),R.current.set(me,Me)},[g]),H=()=>{var ie;(ie=E.current)==null||ie.focus()},A=p.useCallback(ie=>{const me=ie&&!i;y(me),typeof o=="function"&&o(me)},[i,o]),G=p.useCallback(ie=>{A(!1),typeof e=="function"&&e(ie)},[e,A]),K=p.useCallback(ie=>{C(ie);let me=!1;const ye=[],pe=[],Me=ie.toLowerCase();P.forEach(Se=>{var De;(Se.title.includes(Me)||(De=Se.heading)!=null&&De.includes(Me))&&(Se.value===M&&(me=!0),ye.push(Se.value),Se.disabled||pe.push(Se.value))}),j.current=pe,I.current=ye,me||_(pe[0]??null)},[M,P]),Q=p.useCallback((ie,me)=>{const ye=g.toLowerCase();me?B(me.flatMap(pe=>{if("options"in pe){const Me=Zn(pe.heading).toLowerCase();return(pe.options??[]).map(Se=>{R.current.set(Se.value,Se);const De=Zn(Se.label).toLowerCase();return(De.includes(ye)||Me!=null&&Me.includes(ye))&&(I.current.push(Se.value),i||j.current.push(Se.value)),{heading:Me,disabled:Se.disabled,value:Se.value,title:De}})}else return R.current.set(pe.value,pe),Zn(pe.label).toLowerCase().includes(ye)&&(I.current.push(pe.value),i||j.current.push(pe.value)),{disabled:pe.disabled,value:pe.value,title:Zn(pe.label)}})):ie&&B(q3(ie,D))},[i,g,D]);p.useEffect(()=>{Q(n,t)},[n,t,Q]);const le=ie=>{if(!ie.defaultPrevented){if(ie.key==="Enter")ie.preventDefault(),M&&G(M);else if(["ArrowUp","ArrowDown","Home","End"].includes(ie.key)){ie.preventDefault();let me=M;const ye=j.current.findIndex(pe=>pe===M);ie.key==="ArrowUp"?ye===0?me=j.current[j.current.length-1]:me=j.current[ye-1]:ie.key==="ArrowDown"?(ie.preventDefault(),ye===j.current.length-1?me=j.current[0]:me=j.current[ye+1]):ie.key==="End"?(ie.preventDefault(),me=j.current[j.current.length-1]):ie.key==="Home"&&(me=j.current[0],ie.preventDefault()),_(me)}}},se=p.useCallback(ie=>!I.current.includes(ie??""),[I]),fe=p.useMemo(()=>({search:g,updateHighlighted:_,highlighted:M,isHidden:se,onSelect:G,selectedValue:a}),[g,M,se,G,a]),te=ie=>{var me;v&&(ie.preventDefault(),(me=E.current)==null||me.focus())},ge=ie=>{var pe,Me;const me=(pe=ie.target)==null?void 0:pe.closest("[aria-haspopup=dialog]"),ye=(Me=ie.target)==null?void 0:Me.closest("[data-radix-popper-content-wrapper]");(me||ye)&&ie.preventDefault()};return r.jsxs(aC,{open:v,onOpenChange:A,children:[r.jsx(X3,{asChild:!0,disabled:i,"data-testid":"autocomplete-trigger",children:r.jsx("div",{onClick:te,children:r.jsx(k8,{ref:E,value:g,onChange:K,onKeyDown:le,disabled:i,placeholder:s,...c})})}),r.jsx(K3,{children:r.jsx(lC,{sideOffset:5,onFocus:H,onCloseAutoFocus:()=>{var ie;K(""),(ie=E.current)==null||ie.focus()},onOpenAutoFocus:ie=>{var me;ie.preventDefault(),_(I.current[0]),(me=E.current)==null||me.focus()},align:"start",onPointerDownOutside:()=>{A(!1)},onFocusOutside:ge,children:r.jsxs(pC,{children:[r.jsx(uC,{children:r.jsx(s6.Provider,{value:fe,children:t&&t.length>0?r.jsx(iC,{options:t,id:u}):n})}),I.current.length===0&&r.jsxs(fC,{...c,children:["No Options found",g.length>0?` for "${g}" `:""]})]})})})]})},e0=p.forwardRef(({children:e,heading:t,...n},o)=>(oC(),r.jsxs(sC,{...n,ref:Ko([o,i=>{const a=(i==null?void 0:i.querySelectorAll("[cui-autocomplete-item]").length)===0;a?i==null||i.setAttribute("hidden",""):i==null||i.removeAttribute("hidden"),i==null||i.setAttribute("aria-hidden",a.toString())}]),children:[r.jsx(cC,{children:t}),r.jsx(dC,{children:e})]})));e0.displayName="AutoComplete.Group";const hC=W.svg.withConfig({componentId:"sc-87wbnc-8"})(["opacity:",";"],({$showCheck:e})=>e?1:0),dc=p.forwardRef(({disabled:e=!1,children:t,label:n,separator:o,onSelect:i,value:a="",icon:s,iconDir:c,onMouseOver:u,...g},C)=>{const{highlighted:v,updateHighlighted:y,isHidden:E,selectedValue:M,onSelect:_}=c6(),I=()=>{e||(_(a),typeof i=="function"&&i(a))},j=P=>{u&&u(P),e||y(a)};if(E(a))return null;const R=M===a;return r.jsxs(r.Fragment,{children:[r.jsxs(al,{...g,"data-value":a,onClick:I,onMouseOver:j,ref:C,"data-state":R?"checked":"unchecked","data-disabled":e?!0:void 0,"data-highlighted":v==a?"true":void 0,"cui-autocomplete-item":"",children:[r.jsx(Er,{icon:s,iconDir:c,children:n??t}),r.jsx(hC,{as:rt,name:"check",size:"sm",$showCheck:R})]}),o&&r.jsx(Vi,{size:"sm"})]})});dc.displayName="AutoComplete.Item",Q3.Group=e0,Q3.Item=dc;const d6="Avatar",[gC,FA]=pn(d6),[vC,u6]=gC(d6),mC=p.forwardRef((e,t)=>{const{__scopeAvatar:n,...o}=e,[i,a]=p.useState("idle");return p.createElement(vC,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:a},p.createElement(ot.span,ue({},o,{ref:t})))}),bC="AvatarImage",CC=p.forwardRef((e,t)=>{const{__scopeAvatar:n,src:o,onLoadingStatusChange:i=()=>{},...a}=e,s=u6(bC,n),c=yC(o),u=Sn(g=>{i(g),s.onImageLoadingStatusChange(g)});return zr(()=>{c!=="idle"&&u(c)},[c,u]),c==="loaded"?p.createElement(ot.img,ue({},a,{ref:t,src:o})):null}),xC="AvatarFallback",wC=p.forwardRef((e,t)=>{const{__scopeAvatar:n,delayMs:o,...i}=e,a=u6(xC,n),[s,c]=p.useState(o===void 0);return p.useEffect(()=>{if(o!==void 0){const u=window.setTimeout(()=>c(!0),o);return()=>window.clearTimeout(u)}},[o]),s&&a.imageLoadingStatus!=="loaded"?p.createElement(ot.span,ue({},i,{ref:t})):null});function yC(e){const[t,n]=p.useState("idle");return zr(()=>{if(!e){n("error");return}let o=!0;const i=new window.Image,a=s=>()=>{o&&n(s)};return n("loading"),i.onload=a("loaded"),i.onerror=a("error"),i.src=e,()=>{o=!1}},[e]),t}const kC=mC,SC=CC,LC=wC,$C=({text:e,textSize:t="sm",src:n,srcSet:o,...i})=>r.jsxs(MC,{...i,children:[r.jsx(jC,{src:n,srcSet:o,alt:e}),r.jsx(EC,{$textSize:t,delayMs:0,children:e.trim().replace(/(^.)([^ ]* )?(.).*/,"$1$3").trim().toUpperCase()})]}),MC=W(kC).withConfig({componentId:"sc-181etfq-0"})(["width:",";height:",";display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;overflow:hidden;user-select:none;background-color:",";color:",";border-radius:",";&:active{background-color:",";color:",";}&:hover{background-color:",";color:",";}"],e=>e.theme.click.avatar.size.width,e=>e.theme.click.avatar.size.height,e=>e.theme.click.avatar.color.background.default,e=>e.theme.click.avatar.color.text.default,e=>e.theme.click.avatar.radii.all,e=>e.theme.click.avatar.color.background.active,e=>e.theme.click.avatar.color.text.active,e=>e.theme.click.avatar.color.background.hover,e=>e.theme.click.avatar.color.text.hover),jC=W(SC).withConfig({componentId:"sc-181etfq-1"})(["width:100%;height:100%;object-fit:cover;border-radius:inherit;"]),EC=W(LC).withConfig({componentId:"sc-181etfq-2"})(["width:",";display:inline-flex;align-items:center;justify-content:center;",""],e=>e.theme.click.avatar.size.label.width,({theme:e,$textSize:t="sm"})=>`
279
+ `),Q3=({onSelect:e,options:t,children:n,onOpenChange:o,disabled:i,value:a="",placeholder:s="Search",...c})=>{const u=p.useId(),[g,C]=p.useState(""),[v,y]=p.useState(!1),_=p.useRef(null),[M,E]=p.useState(),I=p.useRef([]),j=p.useRef([]),R=p.useRef(new Map),[P,B]=p.useState([]),D=p.useCallback(({disabled:ie,value:me,title:ye,heading:pe,nodeProps:Me})=>{(ye.includes(g)||pe!=null&&pe.includes(g))&&(I.current.push(me),ie||j.current.push(me)),R.current.set(me,Me)},[g]),H=()=>{var ie;(ie=_.current)==null||ie.focus()},A=p.useCallback(ie=>{const me=ie&&!i;y(me),typeof o=="function"&&o(me)},[i,o]),G=p.useCallback(ie=>{A(!1),typeof e=="function"&&e(ie)},[e,A]),K=p.useCallback(ie=>{C(ie);let me=!1;const ye=[],pe=[],Me=ie.toLowerCase();P.forEach(Se=>{var De;(Se.title.includes(Me)||(De=Se.heading)!=null&&De.includes(Me))&&(Se.value===M&&(me=!0),ye.push(Se.value),Se.disabled||pe.push(Se.value))}),j.current=pe,I.current=ye,me||E(pe[0]??null)},[M,P]),Q=p.useCallback((ie,me)=>{const ye=g.toLowerCase();me?B(me.flatMap(pe=>{if("options"in pe){const Me=Zn(pe.heading).toLowerCase();return(pe.options??[]).map(Se=>{R.current.set(Se.value,Se);const De=Zn(Se.label).toLowerCase();return(De.includes(ye)||Me!=null&&Me.includes(ye))&&(I.current.push(Se.value),i||j.current.push(Se.value)),{heading:Me,disabled:Se.disabled,value:Se.value,title:De}})}else return R.current.set(pe.value,pe),Zn(pe.label).toLowerCase().includes(ye)&&(I.current.push(pe.value),i||j.current.push(pe.value)),{disabled:pe.disabled,value:pe.value,title:Zn(pe.label)}})):ie&&B(q3(ie,D))},[i,g,D]);p.useEffect(()=>{Q(n,t)},[n,t,Q]);const le=ie=>{if(!ie.defaultPrevented){if(ie.key==="Enter")ie.preventDefault(),M&&G(M);else if(["ArrowUp","ArrowDown","Home","End"].includes(ie.key)){ie.preventDefault();let me=M;const ye=j.current.findIndex(pe=>pe===M);ie.key==="ArrowUp"?ye===0?me=j.current[j.current.length-1]:me=j.current[ye-1]:ie.key==="ArrowDown"?(ie.preventDefault(),ye===j.current.length-1?me=j.current[0]:me=j.current[ye+1]):ie.key==="End"?(ie.preventDefault(),me=j.current[j.current.length-1]):ie.key==="Home"&&(me=j.current[0],ie.preventDefault()),E(me)}}},se=p.useCallback(ie=>!I.current.includes(ie??""),[I]),fe=p.useMemo(()=>({search:g,updateHighlighted:E,highlighted:M,isHidden:se,onSelect:G,selectedValue:a}),[g,M,se,G,a]),te=ie=>{var me;v&&(ie.preventDefault(),(me=_.current)==null||me.focus())},ge=ie=>{var pe,Me;const me=(pe=ie.target)==null?void 0:pe.closest("[aria-haspopup=dialog]"),ye=(Me=ie.target)==null?void 0:Me.closest("[data-radix-popper-content-wrapper]");(me||ye)&&ie.preventDefault()};return r.jsxs(aC,{open:v,onOpenChange:A,children:[r.jsx(X3,{asChild:!0,disabled:i,"data-testid":"autocomplete-trigger",children:r.jsx("div",{onClick:te,children:r.jsx(k8,{ref:_,value:g,onChange:K,onKeyDown:le,disabled:i,placeholder:s,...c})})}),r.jsx(K3,{children:r.jsx(lC,{sideOffset:5,onFocus:H,onCloseAutoFocus:()=>{var ie;K(""),(ie=_.current)==null||ie.focus()},onOpenAutoFocus:ie=>{var me;ie.preventDefault(),E(I.current[0]),(me=_.current)==null||me.focus()},align:"start",onPointerDownOutside:()=>{A(!1)},onFocusOutside:ge,children:r.jsxs(pC,{children:[r.jsx(uC,{children:r.jsx(s6.Provider,{value:fe,children:t&&t.length>0?r.jsx(iC,{options:t,id:u}):n})}),I.current.length===0&&r.jsxs(fC,{...c,children:["No Options found",g.length>0?` for "${g}" `:""]})]})})})]})},e0=p.forwardRef(({children:e,heading:t,...n},o)=>(oC(),r.jsxs(sC,{...n,ref:Ko([o,i=>{const a=(i==null?void 0:i.querySelectorAll("[cui-autocomplete-item]").length)===0;a?i==null||i.setAttribute("hidden",""):i==null||i.removeAttribute("hidden"),i==null||i.setAttribute("aria-hidden",a.toString())}]),children:[r.jsx(cC,{children:t}),r.jsx(dC,{children:e})]})));e0.displayName="AutoComplete.Group";const hC=W.svg.withConfig({componentId:"sc-87wbnc-8"})(["opacity:",";"],({$showCheck:e})=>e?1:0),dc=p.forwardRef(({disabled:e=!1,children:t,label:n,separator:o,onSelect:i,value:a="",icon:s,iconDir:c,onMouseOver:u,...g},C)=>{const{highlighted:v,updateHighlighted:y,isHidden:_,selectedValue:M,onSelect:E}=c6(),I=()=>{e||(E(a),typeof i=="function"&&i(a))},j=P=>{u&&u(P),e||y(a)};if(_(a))return null;const R=M===a;return r.jsxs(r.Fragment,{children:[r.jsxs(al,{...g,"data-value":a,onClick:I,onMouseOver:j,ref:C,"data-state":R?"checked":"unchecked","data-disabled":e?!0:void 0,"data-highlighted":v==a?"true":void 0,"cui-autocomplete-item":"",children:[r.jsx(Er,{icon:s,iconDir:c,children:n??t}),r.jsx(hC,{as:rt,name:"check",size:"sm",$showCheck:R})]}),o&&r.jsx(Vi,{size:"sm"})]})});dc.displayName="AutoComplete.Item",Q3.Group=e0,Q3.Item=dc;const d6="Avatar",[gC,FA]=pn(d6),[vC,u6]=gC(d6),mC=p.forwardRef((e,t)=>{const{__scopeAvatar:n,...o}=e,[i,a]=p.useState("idle");return p.createElement(vC,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:a},p.createElement(ot.span,ue({},o,{ref:t})))}),bC="AvatarImage",CC=p.forwardRef((e,t)=>{const{__scopeAvatar:n,src:o,onLoadingStatusChange:i=()=>{},...a}=e,s=u6(bC,n),c=yC(o),u=Sn(g=>{i(g),s.onImageLoadingStatusChange(g)});return zr(()=>{c!=="idle"&&u(c)},[c,u]),c==="loaded"?p.createElement(ot.img,ue({},a,{ref:t,src:o})):null}),xC="AvatarFallback",wC=p.forwardRef((e,t)=>{const{__scopeAvatar:n,delayMs:o,...i}=e,a=u6(xC,n),[s,c]=p.useState(o===void 0);return p.useEffect(()=>{if(o!==void 0){const u=window.setTimeout(()=>c(!0),o);return()=>window.clearTimeout(u)}},[o]),s&&a.imageLoadingStatus!=="loaded"?p.createElement(ot.span,ue({},i,{ref:t})):null});function yC(e){const[t,n]=p.useState("idle");return zr(()=>{if(!e){n("error");return}let o=!0;const i=new window.Image,a=s=>()=>{o&&n(s)};return n("loading"),i.onload=a("loaded"),i.onerror=a("error"),i.src=e,()=>{o=!1}},[e]),t}const kC=mC,SC=CC,LC=wC,$C=({text:e,textSize:t="sm",src:n,srcSet:o,...i})=>r.jsxs(MC,{...i,children:[r.jsx(jC,{src:n,srcSet:o,alt:e}),r.jsx(EC,{$textSize:t,delayMs:0,children:e.trim().replace(/(^.)([^ ]* )?(.).*/,"$1$3").trim().toUpperCase()})]}),MC=W(kC).withConfig({componentId:"sc-181etfq-0"})(["width:",";height:",";display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;overflow:hidden;user-select:none;background-color:",";color:",";border-radius:",";&:active{background-color:",";color:",";}&:hover{background-color:",";color:",";}"],e=>e.theme.click.avatar.size.width,e=>e.theme.click.avatar.size.height,e=>e.theme.click.avatar.color.background.default,e=>e.theme.click.avatar.color.text.default,e=>e.theme.click.avatar.radii.all,e=>e.theme.click.avatar.color.background.active,e=>e.theme.click.avatar.color.text.active,e=>e.theme.click.avatar.color.background.hover,e=>e.theme.click.avatar.color.text.hover),jC=W(SC).withConfig({componentId:"sc-181etfq-1"})(["width:100%;height:100%;object-fit:cover;border-radius:inherit;"]),EC=W(LC).withConfig({componentId:"sc-181etfq-2"})(["width:",";display:inline-flex;align-items:center;justify-content:center;",""],e=>e.theme.click.avatar.size.label.width,({theme:e,$textSize:t="sm"})=>`
280
280
  font: ${e.click.avatar.typography.label[t].default};
281
281
 
282
282
  &:active {
@@ -319,7 +319,7 @@ Check the top-level render call using <`+je+">.")}return be}}function Bt(Y,be){{
319
319
  `),DC=W.div.withConfig({componentId:"sc-u5029o-2"})(["",""],({$state:e="default",$size:t="lg",theme:n})=>`
320
320
  color: ${n.click.bigStat.color.title[e]};
321
321
  font: ${n.click.bigStat.typography[t].title[e]};
322
- `),AC=({options:e,selected:t,fillWidth:n,onClick:o,type:i,...a})=>{const s=e.length-1,c=e.map(({value:u,label:g,...C},v)=>{const y=v===0?"left":v===s?"right":"center";return r.jsx(ZC,{$active:u===t,$position:y,$fillWidth:n,$type:i,onClick:()=>o==null?void 0:o(u),role:"button",...C,children:g},u)});return r.jsx(RC,{$fillWidth:n,$type:i,...a,children:c})},RC=W.div.withConfig({componentId:"sc-ukgugp-0"})(["box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;gap:",";border:1px solid ",";background:",";border-radius:",";width:",";"],({theme:e,$type:t="default"})=>e.click.button.group.space.gap[t],({theme:e,$type:t="default"})=>e.click.button.group.color.panel.stroke[t],({theme:e})=>e.click.button.group.color.background.panel,({theme:e})=>e.click.button.group.radii.all,({$fillWidth:e})=>e?"100%":"auto"),uc="var(--click-button-button-group-radii-end)",VC=`${uc} 0px 0px ${uc}`,BC=`0px ${uc} ${uc} 0px`,NC="var(--click-button-button-group-radii-center)",ZC=W.button.attrs(e=>({"aria-pressed":e.$active})).withConfig({componentId:"sc-ukgugp-1"})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;border:none;background:",";color:",";font:",";padding:"," ",";gap:",";"," cursor:pointer;&:hover{background:",";font:",";}&:disabled{cursor:not-allowed;font:",";background:",";}&:active,&:focus{background:",";font:",";&:disabled{background:",";}}border-radius:",";"],({$active:e,theme:t})=>e?t.click.button.group.color.background.active:t.click.button.group.color.background.default,({theme:e})=>e.click.button.group.color.text.default,({theme:e})=>e.click.button.group.typography.label.default,({theme:e})=>e.click.button.basic.space.y,({theme:e})=>e.click.button.basic.space.x,({theme:e})=>e.click.button.basic.space.group,({$fillWidth:e=!1})=>e?"flex: 1;":"",({theme:e})=>e.click.button.group.color.background.hover,({theme:e})=>e.click.button.group.typography.label.hover,({theme:e})=>e.click.button.group.typography.label.disabled,({theme:e,$active:t})=>e.click.button.group.color.background[t?"disabled-active":"disabled"],({theme:e})=>e.click.button.group.color.background.active,({theme:e})=>e.click.button.group.typography.label.active,({theme:e})=>e.click.button.group.color.background["disabled-active"],({theme:e,$type:t,$position:n})=>t==="borderless"?e.click.button.group.radii.all:n==="left"?VC:n==="right"?BC:NC),ul=({type:e="primary",iconLeft:t,iconRight:n,align:o="center",children:i,fillWidth:a,label:s,loading:c=!1,disabled:u,...g})=>r.jsxs(WC,{$styleType:e,$align:o,$fillWidth:a,disabled:u||c,role:"button",...g,children:[t&&r.jsx(f6,{name:t,"aria-hidden":!0,size:"sm"}),s??i,n&&r.jsx(f6,{name:n,"aria-hidden":!0,size:"sm"}),c&&r.jsx(UC,{children:r.jsx(rt,{name:"loading-animated","data-testid":"click-ui-loading-icon","aria-label":"loading"})})]}),UC=W.div.withConfig({componentId:"sc-1k4tz4c-0"})(["position:absolute;background-color:inherit;top:0;left:0;bottom:0;right:0;display:flex;align-content:center;justify-content:center;"]),WC=W(l3).withConfig({componentId:"sc-1k4tz4c-1"})(["width:",";color:",";background-color:",";border:"," solid ",";font:",";position:relative;display:flex;align-items:center;justify-content:",";white-space:nowrap;&:hover{background-color:",";border:"," solid ",";transition:",";font:",";}&:active,&:focus{background-color:",";border:1px solid ",";font:",";}&:disabled,&:disabled:hover,&:disabled:active{background-color:",";color:",";border:"," solid ",";font:",";}"],({$fillWidth:e})=>e?"100%":"revert",({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].text.default,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].background.default,({theme:e})=>e.click.button.stroke,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].stroke.default,({theme:e})=>e.click.button.basic.typography.label.default,({$align:e})=>e==="left"?"flex-start":"center",({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].background.hover,({theme:e})=>e.click.button.stroke,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].stroke.hover,({theme:e})=>e.transition.default,({theme:e})=>e.click.button.basic.typography.label.hover,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].background.active,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].stroke.active,({theme:e})=>e.click.button.basic.typography.label.active,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].background.disabled,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].text.disabled,({theme:e})=>e.click.button.stroke,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].stroke.disabled,({theme:e})=>e.click.button.basic.typography.label.disabled),f6=W(rt).withConfig({componentId:"sc-1k4tz4c-2"})(["height:",";width:",";svg{height:",";width:",";}"],({theme:e})=>e.click.button.basic.size.icon.all,({theme:e})=>e.click.button.basic.size.icon.all,({theme:e})=>e.click.button.basic.size.icon.all,({theme:e})=>e.click.button.basic.size.icon.all),n0=p.forwardRef(({align:e,size:t,family:n,type:o,color:i,children:a,...s},c)=>r.jsx(zC,{ref:c,$align:e,$color:i,$size:t,$family:n,as:o,...s,children:a})),zC=W.div.withConfig({componentId:"sc-1bq7thb-0"})(["font:",";color:",";margin:0;padding:0;font-style:inherit;text-align:",";a,a:visited{color:",";cursor:pointer;}a:hover{color:",";}"],({$size:e="md",$family:t="product",theme:n})=>n.typography.styles[t].titles[e],({$color:e="default",theme:t})=>t.click.global.color.title[e],({$align:e="left"})=>e,({$color:e="default",theme:t})=>t.click.global.color.title[e],({theme:e})=>e.click.global.color.title.muted),p6=({align:e,color:t,size:n,weight:o,className:i,children:a,component:s,...c},u)=>r.jsx(GC,{as:s??"p",ref:u,$align:e,$color:t,$size:n,$weight:o,className:i,...c,children:a}),GC=W.p.withConfig({componentId:"sc-6r74pj-0"})(["font:",";color:",";text-align:",";margin:0;"],({$size:e="md",$weight:t="normal",theme:n})=>n.typography.styles.product.text[t][e],({$color:e="default",theme:t})=>t.click.global.color.text[e],({$align:e="left"})=>e);p6.displayName="Text";const bo=p.forwardRef(p6),YC=W.div.withConfig({componentId:"sc-1drx130-0"})(["display:flex;justify-content:space-between;align-items:center;"]),XC=W.div.withConfig({componentId:"sc-1drx130-1"})(["display:flex;align-items:center;gap:",";h3,svg{color:",";}"],({theme:e})=>e.click.card.secondary.space.gap,({$disabled:e,theme:t})=>e==!0?t.click.global.color.text.muted:t.click.global.color.text.default),KC=W.div.withConfig({componentId:"sc-1drx130-2"})(["display:flex;flex-direction:column;flex:1;"]),JC=W.a.withConfig({componentId:"sc-1drx130-3"})(["display:flex;align-items:center;color:",";text-decoration:none;"],({theme:e})=>e.click.card.secondary.color.link.default),qC=W(rt).withConfig({componentId:"sc-1drx130-4"})(["color:",";height:",";width:",";"],({theme:e})=>e.click.card.secondary.color.link.default,({theme:e})=>e.click.image.md.size.height,({theme:e})=>e.click.image.md.size.width),r0=W(bo).withConfig({componentId:"sc-1drx130-5"})([""]),o0=W(qC).withConfig({componentId:"sc-1drx130-6"})([""]),QC=W.div.withConfig({componentId:"sc-1drx130-7"})(["background-color:",";border-radius:",";border:",";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:",";gap:",";box-shadow:",";&:hover,:focus{background-color:",";cursor:pointer;",",","{color:",";}}&[disabled],&[disabled]:hover,&[disabled]:active{background-color:",";color:",";border:1px solid ",";cursor:not-allowed;",",","{color:",";}}"],({theme:e})=>e.click.card.secondary.color.background.default,({theme:e})=>e.click.card.secondary.radii.all,({theme:e})=>`1px solid ${e.click.card.secondary.color.stroke.default}`,({theme:e})=>e.click.card.secondary.space.all,({theme:e})=>e.click.card.secondary.space.gap,({$hasShadow:e,theme:t})=>e?t.shadow[1]:"none",({theme:e})=>e.click.card.secondary.color.background.hover,r0,o0,({theme:e})=>e.click.card.secondary.color.link.hover,({theme:e})=>e.click.card.secondary.color.background.disabled,({theme:e})=>e.click.card.secondary.color.title.disabled,({theme:e})=>e.click.card.secondary.color.stroke.disabled,r0,o0,({theme:e})=>e.click.card.secondary.color.link.disabled),ex=({title:e,icon:t,badgeState:n,badgeText:o="",hasShadow:i=!1,disabled:a=!1,description:s,infoUrl:c,infoText:u})=>r.jsxs(QC,{$disabled:a,tabIndex:0,$hasShadow:i,children:[r.jsxs(YC,{children:[r.jsxs(XC,{$disabled:a,children:[r.jsx(rt,{name:t,size:"lg","area-hidden":""}),r.jsx(n0,{type:"h3",children:e})]}),o&&r.jsx(t0,{text:o,state:a==!0?"disabled":n})]}),r.jsx(KC,{children:r.jsx(bo,{color:"muted",children:s})}),(c||u)&&r.jsxs(JC,{href:a?void 0:c,as:a||!c||c.length===0?"div":"a",children:[r.jsx(r0,{children:u}),r.jsx(o0,{name:"chevron-right"})]})]}),tx=W.div.withConfig({componentId:"sc-2dguvi-0"})(["background-color:",";border-radius:",";border:",";display:flex;width:100%;max-width:100%;text-align:",";flex-direction:column;padding:",";gap:",";box-shadow:",";&:hover,&:focus{background-color:",";cursor:pointer;button{background-color:",";border-color:",";&:active{background-color:",";border-color:",";}}}&:active{border-color:",";}&[disabled],&[disabled]:hover,&[disabled]:active{background-color:",";color:",";border:1px solid ",";cursor:not-allowed;button{background-color:",";border-color:",";&:active{background-color:",";border-color:",";}}}",""],({theme:e})=>e.click.card.primary.color.background.default,({theme:e})=>e.click.card.primary.radii.all,({theme:e})=>`1px solid ${e.click.card.primary.color.stroke.default}`,({$alignContent:e})=>e==="start"?"left":e==="end"?"right":"center",({$size:e="md",theme:t})=>`${t.click.card.primary.space[e].x} ${t.click.card.primary.space[e].y}`,({$size:e="md",theme:t})=>t.click.card.primary.space[e].gap,({$hasShadow:e,theme:t})=>e?t.shadow[1]:"none",({theme:e})=>e.click.card.secondary.color.background.hover,({theme:e})=>e.click.button.basic.color.primary.background.hover,({theme:e})=>e.click.button.basic.color.primary.stroke.hover,({theme:e})=>e.click.button.basic.color.primary.background.active,({theme:e})=>e.click.button.basic.color.primary.stroke.active,({theme:e})=>e.click.button.basic.color.primary.stroke.active,({theme:e})=>e.click.card.primary.color.background.disabled,({theme:e})=>e.click.card.primary.color.title.disabled,({theme:e})=>e.click.card.primary.color.stroke.disabled,({theme:e})=>e.click.button.basic.color.primary.background.disabled,({theme:e})=>e.click.button.basic.color.primary.stroke.disabled,({theme:e})=>e.click.button.basic.color.primary.background.disabled,({theme:e})=>e.click.button.basic.color.primary.stroke.disabled,({$isSelected:e,theme:t})=>e?`border-color: ${t.click.button.basic.color.primary.stroke.active};`:""),nx=W.div.withConfig({componentId:"sc-2dguvi-1"})(["display:flex;flex-direction:column;align-items:",";gap:",";h3{color:",";}svg{height:",";width:",";}"],({$alignContent:e="center"})=>["start","end"].includes(e)?`flex-${e}`:e,({$size:e="md",theme:t})=>t.click.card.primary.space[e].gap,({$disabled:e,theme:t})=>e==!0?t.click.global.color.text.muted:t.click.global.color.text.default,({$size:e="md",theme:t})=>t.click.card.primary.size.icon[e].all,({$size:e="md",theme:t})=>t.click.card.primary.size.icon[e].all),rx=W.div.withConfig({componentId:"sc-2dguvi-2"})(["width:100%;display:flex;flex-direction:column;align-self:",";gap:",";flex:1;"],({$alignContent:e="center"})=>["start","end"].includes(e)?`flex-${e}`:e,({$size:e="md",theme:t})=>t.click.card.primary.space[e].gap),ox=e=>e==="center"?"center":e==="start"?"left":"right",ix=({alignContent:e,title:t,icon:n,hasShadow:o=!1,description:i,infoUrl:a,infoText:s,size:c,disabled:u=!1,onButtonClick:g,isSelected:C,children:v,...y})=>{const E=_=>{typeof g=="function"&&g(_),a&&a.length>0&&window.open(a,"_blank")},M=a||typeof g=="function"?ul:"div";return r.jsxs(tx,{$alignContent:e,$hasShadow:o,$size:c,$disabled:u,$isSelected:C,tabIndex:0,...y,children:[(n||t)&&r.jsxs(nx,{$size:c,$disabled:u,$alignContent:e,children:[n&&r.jsx(rt,{name:n,"aria-hidden":!0}),t&&r.jsx(n0,{type:"h3",children:t})]}),(i||v)&&r.jsxs(rx,{$size:c,$alignContent:e,children:[i&&r.jsx(bo,{color:"muted",align:ox(e??"start"),children:i}),v]}),c=="sm"&&r.jsx(Qc,{size:"sm"}),s&&r.jsx(M,{onClick:E,disabled:u,children:s})]})},ax=W.div.withConfig({componentId:"sc-1qnbjoa-0"})(["display:flex;flex-direction:column;align-items:center;width:fit-content;max-width:100%;gap:inherit;"]),I1=W.div.withConfig({componentId:"sc-1qnbjoa-1"})(["display:flex;flex-direction:column;align-self:center;gap:",";flex:1;"],({theme:e})=>e.click.card.horizontal.space.gap),lx=W.div.withConfig({componentId:"sc-1qnbjoa-2"})(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;",""],({theme:e,$color:t,$isSelected:n,$disabled:o})=>`
322
+ `),AC=({options:e,selected:t,fillWidth:n,onClick:o,type:i,...a})=>{const s=e.length-1,c=e.map(({value:u,label:g,...C},v)=>{const y=v===0?"left":v===s?"right":"center";return r.jsx(ZC,{$active:u===t,$position:y,$fillWidth:n,$type:i,onClick:()=>o==null?void 0:o(u),role:"button",...C,children:g},u)});return r.jsx(RC,{$fillWidth:n,$type:i,...a,children:c})},RC=W.div.withConfig({componentId:"sc-ukgugp-0"})(["box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;gap:",";border:1px solid ",";background:",";border-radius:",";width:",";"],({theme:e,$type:t="default"})=>e.click.button.group.space.gap[t],({theme:e,$type:t="default"})=>e.click.button.group.color.panel.stroke[t],({theme:e})=>e.click.button.group.color.background.panel,({theme:e})=>e.click.button.group.radii.all,({$fillWidth:e})=>e?"100%":"auto"),uc="var(--click-button-button-group-radii-end)",VC=`${uc} 0px 0px ${uc}`,BC=`0px ${uc} ${uc} 0px`,NC="var(--click-button-button-group-radii-center)",ZC=W.button.attrs(e=>({"aria-pressed":e.$active})).withConfig({componentId:"sc-ukgugp-1"})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;border:none;background:",";color:",";font:",";padding:"," ",";gap:",";"," cursor:pointer;&:hover{background:",";font:",";}&:disabled{cursor:not-allowed;font:",";background:",";}&:active,&:focus{background:",";font:",";&:disabled{background:",";}}border-radius:",";"],({$active:e,theme:t})=>e?t.click.button.group.color.background.active:t.click.button.group.color.background.default,({theme:e})=>e.click.button.group.color.text.default,({theme:e})=>e.click.button.group.typography.label.default,({theme:e})=>e.click.button.basic.space.y,({theme:e})=>e.click.button.basic.space.x,({theme:e})=>e.click.button.basic.space.group,({$fillWidth:e=!1})=>e?"flex: 1;":"",({theme:e})=>e.click.button.group.color.background.hover,({theme:e})=>e.click.button.group.typography.label.hover,({theme:e})=>e.click.button.group.typography.label.disabled,({theme:e,$active:t})=>e.click.button.group.color.background[t?"disabled-active":"disabled"],({theme:e})=>e.click.button.group.color.background.active,({theme:e})=>e.click.button.group.typography.label.active,({theme:e})=>e.click.button.group.color.background["disabled-active"],({theme:e,$type:t,$position:n})=>t==="borderless"?e.click.button.group.radii.all:n==="left"?VC:n==="right"?BC:NC),ul=({type:e="primary",iconLeft:t,iconRight:n,align:o="center",children:i,fillWidth:a,label:s,loading:c=!1,disabled:u,...g})=>r.jsxs(WC,{$styleType:e,$align:o,$fillWidth:a,disabled:u||c,role:"button",...g,children:[t&&r.jsx(f6,{name:t,"aria-hidden":!0,size:"sm"}),s??i,n&&r.jsx(f6,{name:n,"aria-hidden":!0,size:"sm"}),c&&r.jsx(UC,{children:r.jsx(rt,{name:"loading-animated","data-testid":"click-ui-loading-icon","aria-label":"loading"})})]}),UC=W.div.withConfig({componentId:"sc-1k4tz4c-0"})(["position:absolute;background-color:inherit;top:0;left:0;bottom:0;right:0;display:flex;align-content:center;justify-content:center;"]),WC=W(l3).withConfig({componentId:"sc-1k4tz4c-1"})(["width:",";color:",";background-color:",";border:"," solid ",";font:",";position:relative;display:flex;align-items:center;justify-content:",";white-space:nowrap;&:hover{background-color:",";border:"," solid ",";transition:",";font:",";}&:active,&:focus{background-color:",";border:1px solid ",";font:",";}&:disabled,&:disabled:hover,&:disabled:active{background-color:",";color:",";border:"," solid ",";font:",";}"],({$fillWidth:e})=>e?"100%":"revert",({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].text.default,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].background.default,({theme:e})=>e.click.button.stroke,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].stroke.default,({theme:e})=>e.click.button.basic.typography.label.default,({$align:e})=>e==="left"?"flex-start":"center",({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].background.hover,({theme:e})=>e.click.button.stroke,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].stroke.hover,({theme:e})=>e.transition.default,({theme:e})=>e.click.button.basic.typography.label.hover,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].background.active,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].stroke.active,({theme:e})=>e.click.button.basic.typography.label.active,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].background.disabled,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].text.disabled,({theme:e})=>e.click.button.stroke,({$styleType:e="primary",theme:t})=>t.click.button.basic.color[e].stroke.disabled,({theme:e})=>e.click.button.basic.typography.label.disabled),f6=W(rt).withConfig({componentId:"sc-1k4tz4c-2"})(["height:",";width:",";svg{height:",";width:",";}"],({theme:e})=>e.click.button.basic.size.icon.all,({theme:e})=>e.click.button.basic.size.icon.all,({theme:e})=>e.click.button.basic.size.icon.all,({theme:e})=>e.click.button.basic.size.icon.all),n0=p.forwardRef(({align:e,size:t,family:n,type:o,color:i,children:a,...s},c)=>r.jsx(zC,{ref:c,$align:e,$color:i,$size:t,$family:n,as:o,...s,children:a})),zC=W.div.withConfig({componentId:"sc-1bq7thb-0"})(["font:",";color:",";margin:0;padding:0;font-style:inherit;text-align:",";a,a:visited{color:",";cursor:pointer;}a:hover{color:",";}"],({$size:e="md",$family:t="product",theme:n})=>n.typography.styles[t].titles[e],({$color:e="default",theme:t})=>t.click.global.color.title[e],({$align:e="left"})=>e,({$color:e="default",theme:t})=>t.click.global.color.title[e],({theme:e})=>e.click.global.color.title.muted),p6=({align:e,color:t,size:n,weight:o,className:i,children:a,component:s,...c},u)=>r.jsx(GC,{as:s??"p",ref:u,$align:e,$color:t,$size:n,$weight:o,className:i,...c,children:a}),GC=W.p.withConfig({componentId:"sc-6r74pj-0"})(["font:",";color:",";text-align:",";margin:0;"],({$size:e="md",$weight:t="normal",theme:n})=>n.typography.styles.product.text[t][e],({$color:e="default",theme:t})=>t.click.global.color.text[e],({$align:e="left"})=>e);p6.displayName="Text";const bo=p.forwardRef(p6),YC=W.div.withConfig({componentId:"sc-1drx130-0"})(["display:flex;justify-content:space-between;align-items:center;"]),XC=W.div.withConfig({componentId:"sc-1drx130-1"})(["display:flex;align-items:center;gap:",";h3,svg{color:",";}"],({theme:e})=>e.click.card.secondary.space.gap,({$disabled:e,theme:t})=>e==!0?t.click.global.color.text.muted:t.click.global.color.text.default),KC=W.div.withConfig({componentId:"sc-1drx130-2"})(["display:flex;flex-direction:column;flex:1;"]),JC=W.a.withConfig({componentId:"sc-1drx130-3"})(["display:flex;align-items:center;color:",";text-decoration:none;"],({theme:e})=>e.click.card.secondary.color.link.default),qC=W(rt).withConfig({componentId:"sc-1drx130-4"})(["color:",";height:",";width:",";"],({theme:e})=>e.click.card.secondary.color.link.default,({theme:e})=>e.click.image.md.size.height,({theme:e})=>e.click.image.md.size.width),r0=W(bo).withConfig({componentId:"sc-1drx130-5"})([""]),o0=W(qC).withConfig({componentId:"sc-1drx130-6"})([""]),QC=W.div.withConfig({componentId:"sc-1drx130-7"})(["background-color:",";border-radius:",";border:",";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:",";gap:",";box-shadow:",";&:hover,:focus{background-color:",";cursor:pointer;",",","{color:",";}}&[disabled],&[disabled]:hover,&[disabled]:active{background-color:",";color:",";border:1px solid ",";cursor:not-allowed;",",","{color:",";}}"],({theme:e})=>e.click.card.secondary.color.background.default,({theme:e})=>e.click.card.secondary.radii.all,({theme:e})=>`1px solid ${e.click.card.secondary.color.stroke.default}`,({theme:e})=>e.click.card.secondary.space.all,({theme:e})=>e.click.card.secondary.space.gap,({$hasShadow:e,theme:t})=>e?t.shadow[1]:"none",({theme:e})=>e.click.card.secondary.color.background.hover,r0,o0,({theme:e})=>e.click.card.secondary.color.link.hover,({theme:e})=>e.click.card.secondary.color.background.disabled,({theme:e})=>e.click.card.secondary.color.title.disabled,({theme:e})=>e.click.card.secondary.color.stroke.disabled,r0,o0,({theme:e})=>e.click.card.secondary.color.link.disabled),ex=({title:e,icon:t,badgeState:n,badgeText:o="",hasShadow:i=!1,disabled:a=!1,description:s,infoUrl:c,infoText:u})=>r.jsxs(QC,{$disabled:a,tabIndex:0,$hasShadow:i,children:[r.jsxs(YC,{children:[r.jsxs(XC,{$disabled:a,children:[r.jsx(rt,{name:t,size:"lg","area-hidden":""}),r.jsx(n0,{type:"h3",children:e})]}),o&&r.jsx(t0,{text:o,state:a==!0?"disabled":n})]}),r.jsx(KC,{children:r.jsx(bo,{color:"muted",children:s})}),(c||u)&&r.jsxs(JC,{href:a?void 0:c,as:a||!c||c.length===0?"div":"a",children:[r.jsx(r0,{children:u}),r.jsx(o0,{name:"chevron-right"})]})]}),tx=W.div.withConfig({componentId:"sc-2dguvi-0"})(["background-color:",";border-radius:",";border:",";display:flex;width:100%;max-width:100%;text-align:",";flex-direction:column;padding:",";gap:",";box-shadow:",";&:hover,&:focus{background-color:",";cursor:pointer;button{background-color:",";border-color:",";&:active{background-color:",";border-color:",";}}}&:active{border-color:",";}&[disabled],&[disabled]:hover,&[disabled]:active{background-color:",";color:",";border:1px solid ",";cursor:not-allowed;button{background-color:",";border-color:",";&:active{background-color:",";border-color:",";}}}",""],({theme:e})=>e.click.card.primary.color.background.default,({theme:e})=>e.click.card.primary.radii.all,({theme:e})=>`1px solid ${e.click.card.primary.color.stroke.default}`,({$alignContent:e})=>e==="start"?"left":e==="end"?"right":"center",({$size:e="md",theme:t})=>`${t.click.card.primary.space[e].x} ${t.click.card.primary.space[e].y}`,({$size:e="md",theme:t})=>t.click.card.primary.space[e].gap,({$hasShadow:e,theme:t})=>e?t.shadow[1]:"none",({theme:e})=>e.click.card.secondary.color.background.hover,({theme:e})=>e.click.button.basic.color.primary.background.hover,({theme:e})=>e.click.button.basic.color.primary.stroke.hover,({theme:e})=>e.click.button.basic.color.primary.background.active,({theme:e})=>e.click.button.basic.color.primary.stroke.active,({theme:e})=>e.click.button.basic.color.primary.stroke.active,({theme:e})=>e.click.card.primary.color.background.disabled,({theme:e})=>e.click.card.primary.color.title.disabled,({theme:e})=>e.click.card.primary.color.stroke.disabled,({theme:e})=>e.click.button.basic.color.primary.background.disabled,({theme:e})=>e.click.button.basic.color.primary.stroke.disabled,({theme:e})=>e.click.button.basic.color.primary.background.disabled,({theme:e})=>e.click.button.basic.color.primary.stroke.disabled,({$isSelected:e,theme:t})=>e?`border-color: ${t.click.button.basic.color.primary.stroke.active};`:""),nx=W.div.withConfig({componentId:"sc-2dguvi-1"})(["display:flex;flex-direction:column;align-items:",";gap:",";h3{color:",";}svg{height:",";width:",";}"],({$alignContent:e="center"})=>["start","end"].includes(e)?`flex-${e}`:e,({$size:e="md",theme:t})=>t.click.card.primary.space[e].gap,({$disabled:e,theme:t})=>e==!0?t.click.global.color.text.muted:t.click.global.color.text.default,({$size:e="md",theme:t})=>t.click.card.primary.size.icon[e].all,({$size:e="md",theme:t})=>t.click.card.primary.size.icon[e].all),rx=W.div.withConfig({componentId:"sc-2dguvi-2"})(["width:100%;display:flex;flex-direction:column;align-self:",";gap:",";flex:1;"],({$alignContent:e="center"})=>["start","end"].includes(e)?`flex-${e}`:e,({$size:e="md",theme:t})=>t.click.card.primary.space[e].gap),ox=e=>e==="center"?"center":e==="start"?"left":"right",ix=({alignContent:e,title:t,icon:n,hasShadow:o=!1,description:i,infoUrl:a,infoText:s,size:c,disabled:u=!1,onButtonClick:g,isSelected:C,children:v,...y})=>{const _=E=>{typeof g=="function"&&g(E),a&&a.length>0&&window.open(a,"_blank")},M=a||typeof g=="function"?ul:"div";return r.jsxs(tx,{$alignContent:e,$hasShadow:o,$size:c,$disabled:u,$isSelected:C,tabIndex:0,...y,children:[(n||t)&&r.jsxs(nx,{$size:c,$disabled:u,$alignContent:e,children:[n&&r.jsx(rt,{name:n,"aria-hidden":!0}),t&&r.jsx(n0,{type:"h3",children:t})]}),(i||v)&&r.jsxs(rx,{$size:c,$alignContent:e,children:[i&&r.jsx(bo,{color:"muted",align:ox(e??"start"),children:i}),v]}),c=="sm"&&r.jsx(Qc,{size:"sm"}),s&&r.jsx(M,{onClick:_,disabled:u,children:s})]})},ax=W.div.withConfig({componentId:"sc-1qnbjoa-0"})(["display:flex;flex-direction:column;align-items:center;width:fit-content;max-width:100%;gap:inherit;"]),I1=W.div.withConfig({componentId:"sc-1qnbjoa-1"})(["display:flex;flex-direction:column;align-self:center;gap:",";flex:1;"],({theme:e})=>e.click.card.horizontal.space.gap),lx=W.div.withConfig({componentId:"sc-1qnbjoa-2"})(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;",""],({theme:e,$color:t,$isSelected:n,$disabled:o})=>`
323
323
  background: ${e.click.card.horizontal[t].color.background.default};
324
324
  color: ${e.click.card.horizontal[t].color.title.default};
325
325
  border-radius: ${e.click.card.horizontal.radii.all};
@@ -403,7 +403,7 @@ Check the top-level render call using <`+je+">.")}return be}}function Bt(Y,be){{
403
403
  height: ${e.click.card.promotion.icon.size.all};
404
404
  width: ${e.click.card.promotion.icon.size.all};
405
405
  color: ${e.click.card.promotion.color.icon.default};
406
- `),hx=W.button.withConfig({componentId:"sc-6jamj6-3"})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]),gx=({label:e,icon:t,dismissible:n=!1,...o})=>{const[i,a]=p.useState(!0);return i?r.jsx(ux,{children:r.jsxs(fx,{$dismissible:n,...o,children:[r.jsx(px,{name:t,"aria-hidden":!0}),r.jsx(bo,{children:e}),n&&r.jsx(hx,{"data-testid":"click-alert-dismiss-button",onClick:()=>a(!1),children:r.jsx(rt,{name:"cross","aria-label":"close"})})]})}):null};function i0(e){const t=p.useRef({value:e,previous:e});return p.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const h6="Checkbox",[vx,OA]=pn(h6),[mx,bx]=vx(h6),Cx=p.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:o,checked:i,defaultChecked:a,required:s,disabled:c,value:u="on",onCheckedChange:g,...C}=e,[v,y]=p.useState(null),E=_t(t,P=>y(P)),M=p.useRef(!1),_=v?!!v.closest("form"):!0,[I=!1,j]=_n({prop:i,defaultProp:a,onChange:g}),R=p.useRef(I);return p.useEffect(()=>{const P=v==null?void 0:v.form;if(P){const B=()=>j(R.current);return P.addEventListener("reset",B),()=>P.removeEventListener("reset",B)}},[v,j]),p.createElement(mx,{scope:n,state:I,disabled:c},p.createElement(ot.button,ue({type:"button",role:"checkbox","aria-checked":_i(I)?"mixed":I,"aria-required":s,"data-state":g6(I),"data-disabled":c?"":void 0,disabled:c,value:u},C,{ref:E,onKeyDown:Ee(e.onKeyDown,P=>{P.key==="Enter"&&P.preventDefault()}),onClick:Ee(e.onClick,P=>{j(B=>_i(B)?!0:!B),_&&(M.current=P.isPropagationStopped(),M.current||P.stopPropagation())})})),_&&p.createElement(yx,{control:v,bubbles:!M.current,name:o,value:u,checked:I,required:s,disabled:c,style:{transform:"translateX(-100%)"}}))}),xx="CheckboxIndicator",wx=p.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:o,...i}=e,a=bx(xx,n);return p.createElement(Cn,{present:o||_i(a.state)||a.state===!0},p.createElement(ot.span,ue({"data-state":g6(a.state),"data-disabled":a.disabled?"":void 0},i,{ref:t,style:{pointerEvents:"none",...e.style}})))}),yx=e=>{const{control:t,checked:n,bubbles:o=!0,...i}=e,a=p.useRef(null),s=i0(n),c=zs(t);return p.useEffect(()=>{const u=a.current,g=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(g,"checked").set;if(s!==n&&v){const y=new Event("click",{bubbles:o});u.indeterminate=_i(n),v.call(u,_i(n)?!1:n),u.dispatchEvent(y)}},[s,n,o]),p.createElement("input",ue({type:"checkbox","aria-hidden":!0,defaultChecked:_i(n)?!1:n},i,{tabIndex:-1,ref:a,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function _i(e){return e==="indeterminate"}function g6(e){return _i(e)?"indeterminate":e?"checked":"unchecked"}const kx=Cx,Sx=wx,Lx=W(Li).withConfig({componentId:"sc-1sck1ja-0"})(["max-width:fit-content;"]),fc=({id:e,label:t,disabled:n,orientation:o,dir:i,...a})=>{const s=p.useId();return r.jsxs(Lx,{$orientation:o??"horizontal",$dir:i??"end",children:[r.jsx($x,{id:e??s,"data-testid":"checkbox",disabled:n,...a,children:r.jsx(Mx,{children:r.jsx(rt,{name:"check",size:"sm"})})}),t&&r.jsx(Zo,{htmlFor:e??s,disabled:n,children:t})]})},$x=W(kx).withConfig({componentId:"sc-1sck1ja-1"})(["display:flex;align-items:center;justify-content:center;",";"],({theme:e})=>`
406
+ `),hx=W.button.withConfig({componentId:"sc-6jamj6-3"})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]),gx=({label:e,icon:t,dismissible:n=!1,...o})=>{const[i,a]=p.useState(!0);return i?r.jsx(ux,{children:r.jsxs(fx,{$dismissible:n,...o,children:[r.jsx(px,{name:t,"aria-hidden":!0}),r.jsx(bo,{children:e}),n&&r.jsx(hx,{"data-testid":"click-alert-dismiss-button",onClick:()=>a(!1),children:r.jsx(rt,{name:"cross","aria-label":"close"})})]})}):null};function i0(e){const t=p.useRef({value:e,previous:e});return p.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const h6="Checkbox",[vx,OA]=pn(h6),[mx,bx]=vx(h6),Cx=p.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:o,checked:i,defaultChecked:a,required:s,disabled:c,value:u="on",onCheckedChange:g,...C}=e,[v,y]=p.useState(null),_=_t(t,P=>y(P)),M=p.useRef(!1),E=v?!!v.closest("form"):!0,[I=!1,j]=_n({prop:i,defaultProp:a,onChange:g}),R=p.useRef(I);return p.useEffect(()=>{const P=v==null?void 0:v.form;if(P){const B=()=>j(R.current);return P.addEventListener("reset",B),()=>P.removeEventListener("reset",B)}},[v,j]),p.createElement(mx,{scope:n,state:I,disabled:c},p.createElement(ot.button,ue({type:"button",role:"checkbox","aria-checked":_i(I)?"mixed":I,"aria-required":s,"data-state":g6(I),"data-disabled":c?"":void 0,disabled:c,value:u},C,{ref:_,onKeyDown:Ee(e.onKeyDown,P=>{P.key==="Enter"&&P.preventDefault()}),onClick:Ee(e.onClick,P=>{j(B=>_i(B)?!0:!B),E&&(M.current=P.isPropagationStopped(),M.current||P.stopPropagation())})})),E&&p.createElement(yx,{control:v,bubbles:!M.current,name:o,value:u,checked:I,required:s,disabled:c,style:{transform:"translateX(-100%)"}}))}),xx="CheckboxIndicator",wx=p.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:o,...i}=e,a=bx(xx,n);return p.createElement(Cn,{present:o||_i(a.state)||a.state===!0},p.createElement(ot.span,ue({"data-state":g6(a.state),"data-disabled":a.disabled?"":void 0},i,{ref:t,style:{pointerEvents:"none",...e.style}})))}),yx=e=>{const{control:t,checked:n,bubbles:o=!0,...i}=e,a=p.useRef(null),s=i0(n),c=zs(t);return p.useEffect(()=>{const u=a.current,g=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(g,"checked").set;if(s!==n&&v){const y=new Event("click",{bubbles:o});u.indeterminate=_i(n),v.call(u,_i(n)?!1:n),u.dispatchEvent(y)}},[s,n,o]),p.createElement("input",ue({type:"checkbox","aria-hidden":!0,defaultChecked:_i(n)?!1:n},i,{tabIndex:-1,ref:a,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function _i(e){return e==="indeterminate"}function g6(e){return _i(e)?"indeterminate":e?"checked":"unchecked"}const kx=Cx,Sx=wx,Lx=W(Li).withConfig({componentId:"sc-1sck1ja-0"})(["max-width:fit-content;"]),fc=({id:e,label:t,disabled:n,orientation:o,dir:i,...a})=>{const s=p.useId();return r.jsxs(Lx,{$orientation:o??"horizontal",$dir:i??"end",children:[r.jsx($x,{id:e??s,"data-testid":"checkbox",disabled:n,...a,children:r.jsx(Mx,{children:r.jsx(rt,{name:"check",size:"sm"})})}),t&&r.jsx(Zo,{htmlFor:e??s,disabled:n,children:t})]})},$x=W(kx).withConfig({componentId:"sc-1sck1ja-1"})(["display:flex;align-items:center;justify-content:center;",";"],({theme:e})=>`
407
407
  border-radius: ${e.click.checkbox.radii.all};
408
408
  width: ${e.click.checkbox.size.all};
409
409
  height: ${e.click.checkbox.size.all};
@@ -432,14 +432,14 @@ Check the top-level render call using <`+je+">.")}return be}}function Bt(Y,be){{
432
432
  color: ${e.click.checkbox.color.check.disabled};
433
433
  }
434
434
  `);function a0(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function jx(e,t){if(e==null)return{};var n=a0(e,t),o,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)o=a[i],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function l0(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Ex(e){if(Array.isArray(e))return l0(e)}function _x(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ix(e,t){if(e){if(typeof e=="string")return l0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l0(e,t)}}function Tx(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
435
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fx(e){return Ex(e)||_x(e)||Ix(e)||Tx()}function fl(e){"@babel/helpers - typeof";return fl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fl(e)}function Ox(e,t){if(fl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(fl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Px(e){var t=Ox(e,"string");return fl(t)=="symbol"?t:String(t)}function v6(e,t,n){return t=Px(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function T1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m6(Object(n),!0).forEach(function(o){v6(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m6(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Hx(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var s0={};function Dx(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return s0[t]||(s0[t]=Hx(e)),s0[t]}function Ax(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=e.filter(function(a){return a!=="token"}),i=Dx(o);return i.reduce(function(a,s){return T1(T1({},a),n[s])},t)}function b6(e){return e.join(" ")}function Rx(e,t){var n=0;return function(o){return n+=1,o.map(function(i,a){return c0({node:i,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(a)})})}}function c0(e){var t=e.node,n=e.stylesheet,o=e.style,i=o===void 0?{}:o,a=e.useInlineStyles,s=e.key,c=t.properties,u=t.type,g=t.tagName,C=t.value;if(u==="text")return C;if(g){var v=Rx(n,a),y;if(!a)y=T1(T1({},c),{},{className:b6(c.className)});else{var E=Object.keys(n).reduce(function(j,R){return R.split(".").forEach(function(P){j.includes(P)||j.push(P)}),j},[]),M=c.className&&c.className.includes("token")?["token"]:[],_=c.className&&M.concat(c.className.filter(function(j){return!E.includes(j)}));y=T1(T1({},c),{},{className:b6(_)||void 0,style:Ax(c.className,Object.assign({},c.style,i),n)})}var I=v(t.children);return p.createElement(g,ue({key:s},y),I)}}const Vx=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var Bx=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function C6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function Kr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?C6(Object(n),!0).forEach(function(o){v6(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C6(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}var Nx=/\n/g;function Zx(e){return e.match(Nx)}function Ux(e){var t=e.lines,n=e.startingLineNumber,o=e.style;return t.map(function(i,a){var s=a+n;return p.createElement("span",{key:"line-".concat(a),className:"react-syntax-highlighter-line-number",style:typeof o=="function"?o(s):o},"".concat(s,`
435
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fx(e){return Ex(e)||_x(e)||Ix(e)||Tx()}function fl(e){"@babel/helpers - typeof";return fl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fl(e)}function Ox(e,t){if(fl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(fl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Px(e){var t=Ox(e,"string");return fl(t)=="symbol"?t:String(t)}function v6(e,t,n){return t=Px(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function T1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m6(Object(n),!0).forEach(function(o){v6(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m6(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Hx(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var s0={};function Dx(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return s0[t]||(s0[t]=Hx(e)),s0[t]}function Ax(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=e.filter(function(a){return a!=="token"}),i=Dx(o);return i.reduce(function(a,s){return T1(T1({},a),n[s])},t)}function b6(e){return e.join(" ")}function Rx(e,t){var n=0;return function(o){return n+=1,o.map(function(i,a){return c0({node:i,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(a)})})}}function c0(e){var t=e.node,n=e.stylesheet,o=e.style,i=o===void 0?{}:o,a=e.useInlineStyles,s=e.key,c=t.properties,u=t.type,g=t.tagName,C=t.value;if(u==="text")return C;if(g){var v=Rx(n,a),y;if(!a)y=T1(T1({},c),{},{className:b6(c.className)});else{var _=Object.keys(n).reduce(function(j,R){return R.split(".").forEach(function(P){j.includes(P)||j.push(P)}),j},[]),M=c.className&&c.className.includes("token")?["token"]:[],E=c.className&&M.concat(c.className.filter(function(j){return!_.includes(j)}));y=T1(T1({},c),{},{className:b6(E)||void 0,style:Ax(c.className,Object.assign({},c.style,i),n)})}var I=v(t.children);return p.createElement(g,ue({key:s},y),I)}}const Vx=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var Bx=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function C6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function Kr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?C6(Object(n),!0).forEach(function(o){v6(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C6(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}var Nx=/\n/g;function Zx(e){return e.match(Nx)}function Ux(e){var t=e.lines,n=e.startingLineNumber,o=e.style;return t.map(function(i,a){var s=a+n;return p.createElement("span",{key:"line-".concat(a),className:"react-syntax-highlighter-line-number",style:typeof o=="function"?o(s):o},"".concat(s,`
436
436
  `))})}function Wx(e){var t=e.codeString,n=e.codeStyle,o=e.containerStyle,i=o===void 0?{float:"left",paddingRight:"10px"}:o,a=e.numberStyle,s=a===void 0?{}:a,c=e.startingLineNumber;return p.createElement("code",{style:Object.assign({},n,i)},Ux({lines:t.replace(/\n$/,"").split(`
437
- `),style:s,startingLineNumber:c}))}function zx(e){return"".concat(e.toString().length,".25em")}function x6(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function w6(e,t,n){var o={display:"inline-block",minWidth:zx(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},i=typeof e=="function"?e(t):e,a=Kr(Kr({},o),i);return a}function pc(e){var t=e.children,n=e.lineNumber,o=e.lineNumberStyle,i=e.largestLineNumber,a=e.showInlineLineNumbers,s=e.lineProps,c=s===void 0?{}:s,u=e.className,g=u===void 0?[]:u,C=e.showLineNumbers,v=e.wrapLongLines,y=typeof c=="function"?c(n):c;if(y.className=g,n&&a){var E=w6(o,n,i);t.unshift(x6(n,E))}return v&C&&(y.style=Kr(Kr({},y.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:y,children:t}}function y6(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],o=0;o<e.length;o++){var i=e[o];if(i.type==="text")n.push(pc({children:[i],className:Fx(new Set(t))}));else if(i.children){var a=t.concat(i.properties.className);y6(i.children,a).forEach(function(s){return n.push(s)})}}return n}function Gx(e,t,n,o,i,a,s,c,u){var g,C=y6(e.value),v=[],y=-1,E=0;function M(D,H){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return pc({children:D,lineNumber:H,lineNumberStyle:c,largestLineNumber:s,showInlineLineNumbers:i,lineProps:n,className:A,showLineNumbers:o,wrapLongLines:u})}function _(D,H){if(o&&H&&i){var A=w6(c,H,s);D.unshift(x6(H,A))}return D}function I(D,H){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?M(D,H,A):_(D,H)}for(var j=function(){var H=C[E],A=H.children[0].value,G=Zx(A);if(G){var K=A.split(`
437
+ `),style:s,startingLineNumber:c}))}function zx(e){return"".concat(e.toString().length,".25em")}function x6(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function w6(e,t,n){var o={display:"inline-block",minWidth:zx(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},i=typeof e=="function"?e(t):e,a=Kr(Kr({},o),i);return a}function pc(e){var t=e.children,n=e.lineNumber,o=e.lineNumberStyle,i=e.largestLineNumber,a=e.showInlineLineNumbers,s=e.lineProps,c=s===void 0?{}:s,u=e.className,g=u===void 0?[]:u,C=e.showLineNumbers,v=e.wrapLongLines,y=typeof c=="function"?c(n):c;if(y.className=g,n&&a){var _=w6(o,n,i);t.unshift(x6(n,_))}return v&C&&(y.style=Kr(Kr({},y.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:y,children:t}}function y6(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],o=0;o<e.length;o++){var i=e[o];if(i.type==="text")n.push(pc({children:[i],className:Fx(new Set(t))}));else if(i.children){var a=t.concat(i.properties.className);y6(i.children,a).forEach(function(s){return n.push(s)})}}return n}function Gx(e,t,n,o,i,a,s,c,u){var g,C=y6(e.value),v=[],y=-1,_=0;function M(D,H){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return pc({children:D,lineNumber:H,lineNumberStyle:c,largestLineNumber:s,showInlineLineNumbers:i,lineProps:n,className:A,showLineNumbers:o,wrapLongLines:u})}function E(D,H){if(o&&H&&i){var A=w6(c,H,s);D.unshift(x6(H,A))}return D}function I(D,H){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?M(D,H,A):E(D,H)}for(var j=function(){var H=C[_],A=H.children[0].value,G=Zx(A);if(G){var K=A.split(`
438
438
  `);K.forEach(function(Q,le){var se=o&&v.length+a,fe={type:"text",value:"".concat(Q,`
439
- `)};if(le===0){var te=C.slice(y+1,E).concat(pc({children:[fe],className:H.properties.className})),ge=I(te,se);v.push(ge)}else if(le===K.length-1){var ie=C[E+1]&&C[E+1].children&&C[E+1].children[0],me={type:"text",value:"".concat(Q)};if(ie){var ye=pc({children:[me],className:H.properties.className});C.splice(E+1,0,ye)}else{var pe=[me],Me=I(pe,se,H.properties.className);v.push(Me)}}else{var Se=[fe],De=I(Se,se,H.properties.className);v.push(De)}}),y=E}E++};E<C.length;)j();if(y!==C.length-1){var R=C.slice(y+1,C.length);if(R&&R.length){var P=o&&v.length+a,B=I(R,P);v.push(B)}}return t?v:(g=[]).concat.apply(g,v)}function Yx(e){var t=e.rows,n=e.stylesheet,o=e.useInlineStyles;return t.map(function(i,a){return c0({node:i,stylesheet:n,useInlineStyles:o,key:"code-segement".concat(a)})})}function k6(e){return e&&typeof e.highlightAuto<"u"}function Xx(e){var t=e.astGenerator,n=e.language,o=e.code,i=e.defaultCodeValue;if(k6(t)){var a=Vx(t,n);return n==="text"?{value:i,language:"text"}:a?t.highlight(n,o):t.highlightAuto(o)}try{return n&&n!=="text"?{value:t.highlight(o,n)}:{value:i}}catch{return{value:i}}}function Kx(e,t){return function(o){var i=o.language,a=o.children,s=o.style,c=s===void 0?t:s,u=o.customStyle,g=u===void 0?{}:u,C=o.codeTagProps,v=C===void 0?{className:i?"language-".concat(i):void 0,style:Kr(Kr({},c['code[class*="language-"]']),c['code[class*="language-'.concat(i,'"]')])}:C,y=o.useInlineStyles,E=y===void 0?!0:y,M=o.showLineNumbers,_=M===void 0?!1:M,I=o.showInlineLineNumbers,j=I===void 0?!0:I,R=o.startingLineNumber,P=R===void 0?1:R,B=o.lineNumberContainerStyle,D=o.lineNumberStyle,H=D===void 0?{}:D,A=o.wrapLines,G=o.wrapLongLines,K=G===void 0?!1:G,Q=o.lineProps,le=Q===void 0?{}:Q,se=o.renderer,fe=o.PreTag,te=fe===void 0?"pre":fe,ge=o.CodeTag,ie=ge===void 0?"code":ge,me=o.code,ye=me===void 0?(Array.isArray(a)?a[0]:a)||"":me,pe=o.astGenerator,Me=jx(o,Bx);pe=pe||e;var Se=_?p.createElement(Wx,{containerStyle:B,codeStyle:v.style||{},numberStyle:H,startingLineNumber:P,codeString:ye}):null,De=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},de=k6(pe)?"hljs":"prismjs",xe=E?Object.assign({},Me,{style:Object.assign({},De,g)}):Object.assign({},Me,{className:Me.className?"".concat(de," ").concat(Me.className):de,style:Object.assign({},g)});if(K?v.style=Kr(Kr({},v.style),{},{whiteSpace:"pre-wrap"}):v.style=Kr(Kr({},v.style),{},{whiteSpace:"pre"}),!pe)return p.createElement(te,xe,Se,p.createElement(ie,v,ye));(A===void 0&&se||K)&&(A=!0),se=se||Yx;var Ie=[{type:"text",value:ye}],Te=Xx({astGenerator:pe,language:i,code:ye,defaultCodeValue:Ie});Te.language===null&&(Te.value=Ie);var Ge=Te.value.length+P,gt=Gx(Te,A,le,_,j,P,Ge,H,K);return p.createElement(te,xe,p.createElement(ie,v,!j&&Se,se({rows:gt,stylesheet:c,useInlineStyles:E})))}}var Ii={};function d0(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];typeof n=="object"&&!Object.isFrozen(n)&&d0(n)}),e}var S6=d0,Jx=d0;S6.default=Jx;class L6{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function F1(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function qo(e,...t){const n=Object.create(null);for(const o in e)n[o]=e[o];return t.forEach(function(o){for(const i in o)n[i]=o[i]}),n}const qx="</span>",$6=e=>!!e.kind;class Qx{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=F1(t)}openNode(t){if(!$6(t))return;let n=t.kind;t.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(t){$6(t)&&(this.buffer+=qx)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class u0{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n={kind:t,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(o=>this._walk(t,o)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{u0._collapse(n)}))}}class ew extends u0{constructor(t){super(),this.options=t}addKeyword(t,n){t!==""&&(this.openNode(n),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,n){const o=t.root;o.kind=n,o.sublanguage=!0,this.add(o)}toHTML(){return new Qx(this,this.options).value()}finalize(){return!0}}function tw(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function pl(e){return e?typeof e=="string"?e:e.source:null}function nw(...e){return e.map(n=>pl(n)).join("")}function rw(...e){return"("+e.map(n=>pl(n)).join("|")+")"}function ow(e){return new RegExp(e.toString()+"|").exec("").length-1}function iw(e,t){const n=e&&e.exec(t);return n&&n.index===0}const aw=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function lw(e,t="|"){let n=0;return e.map(o=>{n+=1;const i=n;let a=pl(o),s="";for(;a.length>0;){const c=aw.exec(a);if(!c){s+=a;break}s+=a.substring(0,c.index),a=a.substring(c.index+c[0].length),c[0][0]==="\\"&&c[1]?s+="\\"+String(Number(c[1])+i):(s+=c[0],c[0]==="("&&n++)}return s}).map(o=>`(${o})`).join(t)}const sw=/\b\B/,M6="[a-zA-Z]\\w*",f0="[a-zA-Z_]\\w*",p0="\\b\\d+(\\.\\d+)?",j6="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",E6="\\b(0b[01]+)",cw="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",dw=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=nw(t,/.*\b/,e.binary,/\b.*/)),qo({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,o)=>{n.index!==0&&o.ignoreMatch()}},e)},hl={begin:"\\\\[\\s\\S]",relevance:0},uw={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[hl]},fw={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[hl]},_6={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},hc=function(e,t,n={}){const o=qo({className:"comment",begin:e,end:t,contains:[]},n);return o.contains.push(_6),o.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),o},pw=hc("//","$"),hw=hc("/\\*","\\*/"),gw=hc("#","$"),vw={className:"number",begin:p0,relevance:0},mw={className:"number",begin:j6,relevance:0},bw={className:"number",begin:E6,relevance:0},Cw={className:"number",begin:p0+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},xw={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[hl,{begin:/\[/,end:/\]/,relevance:0,contains:[hl]}]}]},ww={className:"title",begin:M6,relevance:0},yw={className:"title",begin:f0,relevance:0},kw={begin:"\\.\\s*"+f0,relevance:0};var gc=Object.freeze({__proto__:null,MATCH_NOTHING_RE:sw,IDENT_RE:M6,UNDERSCORE_IDENT_RE:f0,NUMBER_RE:p0,C_NUMBER_RE:j6,BINARY_NUMBER_RE:E6,RE_STARTERS_RE:cw,SHEBANG:dw,BACKSLASH_ESCAPE:hl,APOS_STRING_MODE:uw,QUOTE_STRING_MODE:fw,PHRASAL_WORDS_MODE:_6,COMMENT:hc,C_LINE_COMMENT_MODE:pw,C_BLOCK_COMMENT_MODE:hw,HASH_COMMENT_MODE:gw,NUMBER_MODE:vw,C_NUMBER_MODE:mw,BINARY_NUMBER_MODE:bw,CSS_NUMBER_MODE:Cw,REGEXP_MODE:xw,TITLE_MODE:ww,UNDERSCORE_TITLE_MODE:yw,METHOD_GUARD:kw,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})}});function Sw(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Lw(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Sw,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function $w(e,t){Array.isArray(e.illegal)&&(e.illegal=rw(...e.illegal))}function Mw(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function jw(e,t){e.relevance===void 0&&(e.relevance=1)}const Ew=["of","and","for","in","not","or","if","then","parent","list","value"],_w="keyword";function I6(e,t,n=_w){const o={};return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(a){Object.assign(o,I6(e[a],t,a))}),o;function i(a,s){t&&(s=s.map(c=>c.toLowerCase())),s.forEach(function(c){const u=c.split("|");o[u[0]]=[a,Iw(u[0],u[1])]})}}function Iw(e,t){return t?Number(t):Tw(e)?0:1}function Tw(e){return Ew.includes(e.toLowerCase())}function Fw(e,{plugins:t}){function n(c,u){return new RegExp(pl(c),"m"+(e.case_insensitive?"i":"")+(u?"g":""))}class o{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(u,g){g.position=this.position++,this.matchIndexes[this.matchAt]=g,this.regexes.push([g,u]),this.matchAt+=ow(u)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const u=this.regexes.map(g=>g[1]);this.matcherRe=n(lw(u),!0),this.lastIndex=0}exec(u){this.matcherRe.lastIndex=this.lastIndex;const g=this.matcherRe.exec(u);if(!g)return null;const C=g.findIndex((y,E)=>E>0&&y!==void 0),v=this.matchIndexes[C];return g.splice(0,C),Object.assign(g,v)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(u){if(this.multiRegexes[u])return this.multiRegexes[u];const g=new o;return this.rules.slice(u).forEach(([C,v])=>g.addRule(C,v)),g.compile(),this.multiRegexes[u]=g,g}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(u,g){this.rules.push([u,g]),g.type==="begin"&&this.count++}exec(u){const g=this.getMatcher(this.regexIndex);g.lastIndex=this.lastIndex;let C=g.exec(u);if(this.resumingScanAtSamePosition()&&!(C&&C.index===this.lastIndex)){const v=this.getMatcher(0);v.lastIndex=this.lastIndex+1,C=v.exec(u)}return C&&(this.regexIndex+=C.position+1,this.regexIndex===this.count&&this.considerAll()),C}}function a(c){const u=new i;return c.contains.forEach(g=>u.addRule(g.begin,{rule:g,type:"begin"})),c.terminatorEnd&&u.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&u.addRule(c.illegal,{type:"illegal"}),u}function s(c,u){const g=c;if(c.isCompiled)return g;[Mw].forEach(v=>v(c,u)),e.compilerExtensions.forEach(v=>v(c,u)),c.__beforeBegin=null,[Lw,$w,jw].forEach(v=>v(c,u)),c.isCompiled=!0;let C=null;if(typeof c.keywords=="object"&&(C=c.keywords.$pattern,delete c.keywords.$pattern),c.keywords&&(c.keywords=I6(c.keywords,e.case_insensitive)),c.lexemes&&C)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return C=C||c.lexemes||/\w+/,g.keywordPatternRe=n(C,!0),u&&(c.begin||(c.begin=/\B|\b/),g.beginRe=n(c.begin),c.endSameAsBegin&&(c.end=c.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(g.endRe=n(c.end)),g.terminatorEnd=pl(c.end)||"",c.endsWithParent&&u.terminatorEnd&&(g.terminatorEnd+=(c.end?"|":"")+u.terminatorEnd)),c.illegal&&(g.illegalRe=n(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(v){return Ow(v==="self"?c:v)})),c.contains.forEach(function(v){s(v,g)}),c.starts&&s(c.starts,u),g.matcher=a(g),g}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=qo(e.classNameAliases||{}),s(e)}function T6(e){return e?e.endsWithParent||T6(e.starts):!1}function Ow(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return qo(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:T6(e)?qo(e,{starts:e.starts?qo(e.starts):null}):Object.isFrozen(e)?qo(e):e}var Pw="10.7.3";function Hw(e){return!!(e||e==="")}function Dw(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,F1(this.code);let o={};return this.autoDetect?(o=e.highlightAuto(this.code),this.detectedLanguage=o.language):(o=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),o.value},autoDetect(){return!this.language||Hw(this.autodetect)},ignoreIllegals(){return!0}},render(o){return o("pre",{},[o("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(o){o.component("highlightjs",t)}}}}const Aw={"after:highlightElement":({el:e,result:t,text:n})=>{const o=F6(e);if(!o.length)return;const i=document.createElement("div");i.innerHTML=t.value,t.value=Rw(o,F6(i),n)}};function h0(e){return e.nodeName.toLowerCase()}function F6(e){const t=[];return function n(o,i){for(let a=o.firstChild;a;a=a.nextSibling)a.nodeType===3?i+=a.nodeValue.length:a.nodeType===1&&(t.push({event:"start",offset:i,node:a}),i=n(a,i),h0(a).match(/br|hr|img|input/)||t.push({event:"stop",offset:i,node:a}));return i}(e,0),t}function Rw(e,t,n){let o=0,i="";const a=[];function s(){return!e.length||!t.length?e.length?e:t:e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:t[0].event==="start"?e:t}function c(C){function v(y){return" "+y.nodeName+'="'+F1(y.value)+'"'}i+="<"+h0(C)+[].map.call(C.attributes,v).join("")+">"}function u(C){i+="</"+h0(C)+">"}function g(C){(C.event==="start"?c:u)(C.node)}for(;e.length||t.length;){let C=s();if(i+=F1(n.substring(o,C[0].offset)),o=C[0].offset,C===e){a.reverse().forEach(u);do g(C.splice(0,1)[0]),C=s();while(C===e&&C.length&&C[0].offset===o);a.reverse().forEach(c)}else C[0].event==="start"?a.push(C[0].node):a.pop(),g(C.splice(0,1)[0])}return i+F1(n.substr(o))}const O6={},g0=e=>{console.error(e)},P6=(e,...t)=>{console.log(`WARN: ${e}`,...t)},pr=(e,t)=>{O6[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),O6[`${e}/${t}`]=!0)},v0=F1,H6=qo,D6=Symbol("nomatch");var Vw=function(e){const t=Object.create(null),n=Object.create(null),o=[];let i=!0;const a=/(^(<[^>]+>|\t|)+|\n)/gm,s="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let u={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:ew};function g(de){return u.noHighlightRe.test(de)}function C(de){let xe=de.className+" ";xe+=de.parentNode?de.parentNode.className:"";const Ie=u.languageDetectRe.exec(xe);if(Ie){const Te=ge(Ie[1]);return Te||(P6(s.replace("{}",Ie[1])),P6("Falling back to no-highlight mode for this block.",de)),Te?Ie[1]:"no-highlight"}return xe.split(/\s+/).find(Te=>g(Te)||ge(Te))}function v(de,xe,Ie,Te){let Ge="",gt="";typeof xe=="object"?(Ge=de,Ie=xe.ignoreIllegals,gt=xe.language,Te=void 0):(pr("10.7.0","highlight(lang, code, ...args) has been deprecated."),pr("10.7.0",`Please use highlight(code, options) instead.
440
- https://github.com/highlightjs/highlight.js/issues/2277`),gt=de,Ge=xe);const Ce={code:Ge,language:gt};Me("before:highlight",Ce);const Fe=Ce.result?Ce.result:y(Ce.language,Ce.code,Ie,Te);return Fe.code=Ce.code,Me("after:highlight",Fe),Fe}function y(de,xe,Ie,Te){function Ge(Ae,Be){const et=Tt.case_insensitive?Be[0].toLowerCase():Be[0];return Object.prototype.hasOwnProperty.call(Ae.keywords,et)&&Ae.keywords[et]}function gt(){if(!Ue.keywords){tt.addText(yt);return}let Ae=0;Ue.keywordPatternRe.lastIndex=0;let Be=Ue.keywordPatternRe.exec(yt),et="";for(;Be;){et+=yt.substring(Ae,Be.index);const dt=Ge(Ue,Be);if(dt){const[Vt,xn]=dt;if(tt.addText(et),et="",rn+=xn,Vt.startsWith("_"))et+=Be[0];else{const wn=Tt.classNameAliases[Vt]||Vt;tt.addKeyword(Be[0],wn)}}else et+=Be[0];Ae=Ue.keywordPatternRe.lastIndex,Be=Ue.keywordPatternRe.exec(yt)}et+=yt.substr(Ae),tt.addText(et)}function Ce(){if(yt==="")return;let Ae=null;if(typeof Ue.subLanguage=="string"){if(!t[Ue.subLanguage]){tt.addText(yt);return}Ae=y(Ue.subLanguage,yt,!0,Ft[Ue.subLanguage]),Ft[Ue.subLanguage]=Ae.top}else Ae=M(yt,Ue.subLanguage.length?Ue.subLanguage:null);Ue.relevance>0&&(rn+=Ae.relevance),tt.addSublanguage(Ae.emitter,Ae.language)}function Fe(){Ue.subLanguage!=null?Ce():gt(),yt=""}function Oe(Ae){return Ae.className&&tt.openNode(Tt.classNameAliases[Ae.className]||Ae.className),Ue=Object.create(Ae,{parent:{value:Ue}}),Ue}function Ye(Ae,Be,et){let dt=iw(Ae.endRe,et);if(dt){if(Ae["on:end"]){const Vt=new L6(Ae);Ae["on:end"](Be,Vt),Vt.isMatchIgnored&&(dt=!1)}if(dt){for(;Ae.endsParent&&Ae.parent;)Ae=Ae.parent;return Ae}}if(Ae.endsWithParent)return Ye(Ae.parent,Be,et)}function Xe(Ae){return Ue.matcher.regexIndex===0?(yt+=Ae[0],1):(hn=!0,0)}function We(Ae){const Be=Ae[0],et=Ae.rule,dt=new L6(et),Vt=[et.__beforeBegin,et["on:begin"]];for(const xn of Vt)if(xn&&(xn(Ae,dt),dt.isMatchIgnored))return Xe(Be);return et&&et.endSameAsBegin&&(et.endRe=tw(Be)),et.skip?yt+=Be:(et.excludeBegin&&(yt+=Be),Fe(),!et.returnBegin&&!et.excludeBegin&&(yt=Be)),Oe(et),et.returnBegin?0:Be.length}function Lt(Ae){const Be=Ae[0],et=xe.substr(Ae.index),dt=Ye(Ue,Ae,et);if(!dt)return D6;const Vt=Ue;Vt.skip?yt+=Be:(Vt.returnEnd||Vt.excludeEnd||(yt+=Be),Fe(),Vt.excludeEnd&&(yt=Be));do Ue.className&&tt.closeNode(),!Ue.skip&&!Ue.subLanguage&&(rn+=Ue.relevance),Ue=Ue.parent;while(Ue!==dt.parent);return dt.starts&&(dt.endSameAsBegin&&(dt.starts.endRe=dt.endRe),Oe(dt.starts)),Vt.returnEnd?0:Be.length}function nn(){const Ae=[];for(let Be=Ue;Be!==Tt;Be=Be.parent)Be.className&&Ae.unshift(Be.className);Ae.forEach(Be=>tt.openNode(Be))}let ln={};function Rt(Ae,Be){const et=Be&&Be[0];if(yt+=Ae,et==null)return Fe(),0;if(ln.type==="begin"&&Be.type==="end"&&ln.index===Be.index&&et===""){if(yt+=xe.slice(Be.index,Be.index+1),!i){const dt=new Error("0 width match regex");throw dt.languageName=de,dt.badRule=ln.rule,dt}return 1}if(ln=Be,Be.type==="begin")return We(Be);if(Be.type==="illegal"&&!Ie){const dt=new Error('Illegal lexeme "'+et+'" for mode "'+(Ue.className||"<unnamed>")+'"');throw dt.mode=Ue,dt}else if(Be.type==="end"){const dt=Lt(Be);if(dt!==D6)return dt}if(Be.type==="illegal"&&et==="")return 1;if(jt>1e5&&jt>Be.index*3)throw new Error("potential infinite loop, way more iterations than matches");return yt+=et,et.length}const Tt=ge(de);if(!Tt)throw g0(s.replace("{}",de)),new Error('Unknown language: "'+de+'"');const un=Fw(Tt,{plugins:o});let sn="",Ue=Te||un;const Ft={},tt=new u.__emitter(u);nn();let yt="",rn=0,qt=0,jt=0,hn=!1;try{for(Ue.matcher.considerAll();;){jt++,hn?hn=!1:Ue.matcher.considerAll(),Ue.matcher.lastIndex=qt;const Ae=Ue.matcher.exec(xe);if(!Ae)break;const Be=xe.substring(qt,Ae.index),et=Rt(Be,Ae);qt=Ae.index+et}return Rt(xe.substr(qt)),tt.closeAllNodes(),tt.finalize(),sn=tt.toHTML(),{relevance:Math.floor(rn),value:sn,language:de,illegal:!1,emitter:tt,top:Ue}}catch(Ae){if(Ae.message&&Ae.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Ae.message,context:xe.slice(qt-100,qt+100),mode:Ae.mode},sofar:sn,relevance:0,value:v0(xe),emitter:tt};if(i)return{illegal:!1,relevance:0,value:v0(xe),emitter:tt,language:de,top:Ue,errorRaised:Ae};throw Ae}}function E(de){const xe={relevance:0,emitter:new u.__emitter(u),value:v0(de),illegal:!1,top:c};return xe.emitter.addText(de),xe}function M(de,xe){xe=xe||u.languages||Object.keys(t);const Ie=E(de),Te=xe.filter(ge).filter(me).map(Oe=>y(Oe,de,!1));Te.unshift(Ie);const Ge=Te.sort((Oe,Ye)=>{if(Oe.relevance!==Ye.relevance)return Ye.relevance-Oe.relevance;if(Oe.language&&Ye.language){if(ge(Oe.language).supersetOf===Ye.language)return 1;if(ge(Ye.language).supersetOf===Oe.language)return-1}return 0}),[gt,Ce]=Ge,Fe=gt;return Fe.second_best=Ce,Fe}function _(de){return u.tabReplace||u.useBR?de.replace(a,xe=>xe===`
439
+ `)};if(le===0){var te=C.slice(y+1,_).concat(pc({children:[fe],className:H.properties.className})),ge=I(te,se);v.push(ge)}else if(le===K.length-1){var ie=C[_+1]&&C[_+1].children&&C[_+1].children[0],me={type:"text",value:"".concat(Q)};if(ie){var ye=pc({children:[me],className:H.properties.className});C.splice(_+1,0,ye)}else{var pe=[me],Me=I(pe,se,H.properties.className);v.push(Me)}}else{var Se=[fe],De=I(Se,se,H.properties.className);v.push(De)}}),y=_}_++};_<C.length;)j();if(y!==C.length-1){var R=C.slice(y+1,C.length);if(R&&R.length){var P=o&&v.length+a,B=I(R,P);v.push(B)}}return t?v:(g=[]).concat.apply(g,v)}function Yx(e){var t=e.rows,n=e.stylesheet,o=e.useInlineStyles;return t.map(function(i,a){return c0({node:i,stylesheet:n,useInlineStyles:o,key:"code-segement".concat(a)})})}function k6(e){return e&&typeof e.highlightAuto<"u"}function Xx(e){var t=e.astGenerator,n=e.language,o=e.code,i=e.defaultCodeValue;if(k6(t)){var a=Vx(t,n);return n==="text"?{value:i,language:"text"}:a?t.highlight(n,o):t.highlightAuto(o)}try{return n&&n!=="text"?{value:t.highlight(o,n)}:{value:i}}catch{return{value:i}}}function Kx(e,t){return function(o){var i=o.language,a=o.children,s=o.style,c=s===void 0?t:s,u=o.customStyle,g=u===void 0?{}:u,C=o.codeTagProps,v=C===void 0?{className:i?"language-".concat(i):void 0,style:Kr(Kr({},c['code[class*="language-"]']),c['code[class*="language-'.concat(i,'"]')])}:C,y=o.useInlineStyles,_=y===void 0?!0:y,M=o.showLineNumbers,E=M===void 0?!1:M,I=o.showInlineLineNumbers,j=I===void 0?!0:I,R=o.startingLineNumber,P=R===void 0?1:R,B=o.lineNumberContainerStyle,D=o.lineNumberStyle,H=D===void 0?{}:D,A=o.wrapLines,G=o.wrapLongLines,K=G===void 0?!1:G,Q=o.lineProps,le=Q===void 0?{}:Q,se=o.renderer,fe=o.PreTag,te=fe===void 0?"pre":fe,ge=o.CodeTag,ie=ge===void 0?"code":ge,me=o.code,ye=me===void 0?(Array.isArray(a)?a[0]:a)||"":me,pe=o.astGenerator,Me=jx(o,Bx);pe=pe||e;var Se=E?p.createElement(Wx,{containerStyle:B,codeStyle:v.style||{},numberStyle:H,startingLineNumber:P,codeString:ye}):null,De=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},de=k6(pe)?"hljs":"prismjs",xe=_?Object.assign({},Me,{style:Object.assign({},De,g)}):Object.assign({},Me,{className:Me.className?"".concat(de," ").concat(Me.className):de,style:Object.assign({},g)});if(K?v.style=Kr(Kr({},v.style),{},{whiteSpace:"pre-wrap"}):v.style=Kr(Kr({},v.style),{},{whiteSpace:"pre"}),!pe)return p.createElement(te,xe,Se,p.createElement(ie,v,ye));(A===void 0&&se||K)&&(A=!0),se=se||Yx;var Ie=[{type:"text",value:ye}],Te=Xx({astGenerator:pe,language:i,code:ye,defaultCodeValue:Ie});Te.language===null&&(Te.value=Ie);var Ge=Te.value.length+P,gt=Gx(Te,A,le,E,j,P,Ge,H,K);return p.createElement(te,xe,p.createElement(ie,v,!j&&Se,se({rows:gt,stylesheet:c,useInlineStyles:_})))}}var Ii={};function d0(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];typeof n=="object"&&!Object.isFrozen(n)&&d0(n)}),e}var S6=d0,Jx=d0;S6.default=Jx;class L6{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function F1(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function qo(e,...t){const n=Object.create(null);for(const o in e)n[o]=e[o];return t.forEach(function(o){for(const i in o)n[i]=o[i]}),n}const qx="</span>",$6=e=>!!e.kind;class Qx{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=F1(t)}openNode(t){if(!$6(t))return;let n=t.kind;t.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(t){$6(t)&&(this.buffer+=qx)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class u0{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n={kind:t,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(o=>this._walk(t,o)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{u0._collapse(n)}))}}class ew extends u0{constructor(t){super(),this.options=t}addKeyword(t,n){t!==""&&(this.openNode(n),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,n){const o=t.root;o.kind=n,o.sublanguage=!0,this.add(o)}toHTML(){return new Qx(this,this.options).value()}finalize(){return!0}}function tw(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function pl(e){return e?typeof e=="string"?e:e.source:null}function nw(...e){return e.map(n=>pl(n)).join("")}function rw(...e){return"("+e.map(n=>pl(n)).join("|")+")"}function ow(e){return new RegExp(e.toString()+"|").exec("").length-1}function iw(e,t){const n=e&&e.exec(t);return n&&n.index===0}const aw=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function lw(e,t="|"){let n=0;return e.map(o=>{n+=1;const i=n;let a=pl(o),s="";for(;a.length>0;){const c=aw.exec(a);if(!c){s+=a;break}s+=a.substring(0,c.index),a=a.substring(c.index+c[0].length),c[0][0]==="\\"&&c[1]?s+="\\"+String(Number(c[1])+i):(s+=c[0],c[0]==="("&&n++)}return s}).map(o=>`(${o})`).join(t)}const sw=/\b\B/,M6="[a-zA-Z]\\w*",f0="[a-zA-Z_]\\w*",p0="\\b\\d+(\\.\\d+)?",j6="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",E6="\\b(0b[01]+)",cw="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",dw=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=nw(t,/.*\b/,e.binary,/\b.*/)),qo({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,o)=>{n.index!==0&&o.ignoreMatch()}},e)},hl={begin:"\\\\[\\s\\S]",relevance:0},uw={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[hl]},fw={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[hl]},_6={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},hc=function(e,t,n={}){const o=qo({className:"comment",begin:e,end:t,contains:[]},n);return o.contains.push(_6),o.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),o},pw=hc("//","$"),hw=hc("/\\*","\\*/"),gw=hc("#","$"),vw={className:"number",begin:p0,relevance:0},mw={className:"number",begin:j6,relevance:0},bw={className:"number",begin:E6,relevance:0},Cw={className:"number",begin:p0+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},xw={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[hl,{begin:/\[/,end:/\]/,relevance:0,contains:[hl]}]}]},ww={className:"title",begin:M6,relevance:0},yw={className:"title",begin:f0,relevance:0},kw={begin:"\\.\\s*"+f0,relevance:0};var gc=Object.freeze({__proto__:null,MATCH_NOTHING_RE:sw,IDENT_RE:M6,UNDERSCORE_IDENT_RE:f0,NUMBER_RE:p0,C_NUMBER_RE:j6,BINARY_NUMBER_RE:E6,RE_STARTERS_RE:cw,SHEBANG:dw,BACKSLASH_ESCAPE:hl,APOS_STRING_MODE:uw,QUOTE_STRING_MODE:fw,PHRASAL_WORDS_MODE:_6,COMMENT:hc,C_LINE_COMMENT_MODE:pw,C_BLOCK_COMMENT_MODE:hw,HASH_COMMENT_MODE:gw,NUMBER_MODE:vw,C_NUMBER_MODE:mw,BINARY_NUMBER_MODE:bw,CSS_NUMBER_MODE:Cw,REGEXP_MODE:xw,TITLE_MODE:ww,UNDERSCORE_TITLE_MODE:yw,METHOD_GUARD:kw,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})}});function Sw(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Lw(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Sw,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function $w(e,t){Array.isArray(e.illegal)&&(e.illegal=rw(...e.illegal))}function Mw(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function jw(e,t){e.relevance===void 0&&(e.relevance=1)}const Ew=["of","and","for","in","not","or","if","then","parent","list","value"],_w="keyword";function I6(e,t,n=_w){const o={};return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(a){Object.assign(o,I6(e[a],t,a))}),o;function i(a,s){t&&(s=s.map(c=>c.toLowerCase())),s.forEach(function(c){const u=c.split("|");o[u[0]]=[a,Iw(u[0],u[1])]})}}function Iw(e,t){return t?Number(t):Tw(e)?0:1}function Tw(e){return Ew.includes(e.toLowerCase())}function Fw(e,{plugins:t}){function n(c,u){return new RegExp(pl(c),"m"+(e.case_insensitive?"i":"")+(u?"g":""))}class o{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(u,g){g.position=this.position++,this.matchIndexes[this.matchAt]=g,this.regexes.push([g,u]),this.matchAt+=ow(u)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const u=this.regexes.map(g=>g[1]);this.matcherRe=n(lw(u),!0),this.lastIndex=0}exec(u){this.matcherRe.lastIndex=this.lastIndex;const g=this.matcherRe.exec(u);if(!g)return null;const C=g.findIndex((y,_)=>_>0&&y!==void 0),v=this.matchIndexes[C];return g.splice(0,C),Object.assign(g,v)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(u){if(this.multiRegexes[u])return this.multiRegexes[u];const g=new o;return this.rules.slice(u).forEach(([C,v])=>g.addRule(C,v)),g.compile(),this.multiRegexes[u]=g,g}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(u,g){this.rules.push([u,g]),g.type==="begin"&&this.count++}exec(u){const g=this.getMatcher(this.regexIndex);g.lastIndex=this.lastIndex;let C=g.exec(u);if(this.resumingScanAtSamePosition()&&!(C&&C.index===this.lastIndex)){const v=this.getMatcher(0);v.lastIndex=this.lastIndex+1,C=v.exec(u)}return C&&(this.regexIndex+=C.position+1,this.regexIndex===this.count&&this.considerAll()),C}}function a(c){const u=new i;return c.contains.forEach(g=>u.addRule(g.begin,{rule:g,type:"begin"})),c.terminatorEnd&&u.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&u.addRule(c.illegal,{type:"illegal"}),u}function s(c,u){const g=c;if(c.isCompiled)return g;[Mw].forEach(v=>v(c,u)),e.compilerExtensions.forEach(v=>v(c,u)),c.__beforeBegin=null,[Lw,$w,jw].forEach(v=>v(c,u)),c.isCompiled=!0;let C=null;if(typeof c.keywords=="object"&&(C=c.keywords.$pattern,delete c.keywords.$pattern),c.keywords&&(c.keywords=I6(c.keywords,e.case_insensitive)),c.lexemes&&C)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return C=C||c.lexemes||/\w+/,g.keywordPatternRe=n(C,!0),u&&(c.begin||(c.begin=/\B|\b/),g.beginRe=n(c.begin),c.endSameAsBegin&&(c.end=c.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(g.endRe=n(c.end)),g.terminatorEnd=pl(c.end)||"",c.endsWithParent&&u.terminatorEnd&&(g.terminatorEnd+=(c.end?"|":"")+u.terminatorEnd)),c.illegal&&(g.illegalRe=n(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(v){return Ow(v==="self"?c:v)})),c.contains.forEach(function(v){s(v,g)}),c.starts&&s(c.starts,u),g.matcher=a(g),g}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=qo(e.classNameAliases||{}),s(e)}function T6(e){return e?e.endsWithParent||T6(e.starts):!1}function Ow(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return qo(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:T6(e)?qo(e,{starts:e.starts?qo(e.starts):null}):Object.isFrozen(e)?qo(e):e}var Pw="10.7.3";function Hw(e){return!!(e||e==="")}function Dw(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,F1(this.code);let o={};return this.autoDetect?(o=e.highlightAuto(this.code),this.detectedLanguage=o.language):(o=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),o.value},autoDetect(){return!this.language||Hw(this.autodetect)},ignoreIllegals(){return!0}},render(o){return o("pre",{},[o("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(o){o.component("highlightjs",t)}}}}const Aw={"after:highlightElement":({el:e,result:t,text:n})=>{const o=F6(e);if(!o.length)return;const i=document.createElement("div");i.innerHTML=t.value,t.value=Rw(o,F6(i),n)}};function h0(e){return e.nodeName.toLowerCase()}function F6(e){const t=[];return function n(o,i){for(let a=o.firstChild;a;a=a.nextSibling)a.nodeType===3?i+=a.nodeValue.length:a.nodeType===1&&(t.push({event:"start",offset:i,node:a}),i=n(a,i),h0(a).match(/br|hr|img|input/)||t.push({event:"stop",offset:i,node:a}));return i}(e,0),t}function Rw(e,t,n){let o=0,i="";const a=[];function s(){return!e.length||!t.length?e.length?e:t:e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:t[0].event==="start"?e:t}function c(C){function v(y){return" "+y.nodeName+'="'+F1(y.value)+'"'}i+="<"+h0(C)+[].map.call(C.attributes,v).join("")+">"}function u(C){i+="</"+h0(C)+">"}function g(C){(C.event==="start"?c:u)(C.node)}for(;e.length||t.length;){let C=s();if(i+=F1(n.substring(o,C[0].offset)),o=C[0].offset,C===e){a.reverse().forEach(u);do g(C.splice(0,1)[0]),C=s();while(C===e&&C.length&&C[0].offset===o);a.reverse().forEach(c)}else C[0].event==="start"?a.push(C[0].node):a.pop(),g(C.splice(0,1)[0])}return i+F1(n.substr(o))}const O6={},g0=e=>{console.error(e)},P6=(e,...t)=>{console.log(`WARN: ${e}`,...t)},pr=(e,t)=>{O6[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),O6[`${e}/${t}`]=!0)},v0=F1,H6=qo,D6=Symbol("nomatch");var Vw=function(e){const t=Object.create(null),n=Object.create(null),o=[];let i=!0;const a=/(^(<[^>]+>|\t|)+|\n)/gm,s="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let u={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:ew};function g(de){return u.noHighlightRe.test(de)}function C(de){let xe=de.className+" ";xe+=de.parentNode?de.parentNode.className:"";const Ie=u.languageDetectRe.exec(xe);if(Ie){const Te=ge(Ie[1]);return Te||(P6(s.replace("{}",Ie[1])),P6("Falling back to no-highlight mode for this block.",de)),Te?Ie[1]:"no-highlight"}return xe.split(/\s+/).find(Te=>g(Te)||ge(Te))}function v(de,xe,Ie,Te){let Ge="",gt="";typeof xe=="object"?(Ge=de,Ie=xe.ignoreIllegals,gt=xe.language,Te=void 0):(pr("10.7.0","highlight(lang, code, ...args) has been deprecated."),pr("10.7.0",`Please use highlight(code, options) instead.
440
+ https://github.com/highlightjs/highlight.js/issues/2277`),gt=de,Ge=xe);const Ce={code:Ge,language:gt};Me("before:highlight",Ce);const Fe=Ce.result?Ce.result:y(Ce.language,Ce.code,Ie,Te);return Fe.code=Ce.code,Me("after:highlight",Fe),Fe}function y(de,xe,Ie,Te){function Ge(Ae,Be){const et=Tt.case_insensitive?Be[0].toLowerCase():Be[0];return Object.prototype.hasOwnProperty.call(Ae.keywords,et)&&Ae.keywords[et]}function gt(){if(!Ue.keywords){tt.addText(yt);return}let Ae=0;Ue.keywordPatternRe.lastIndex=0;let Be=Ue.keywordPatternRe.exec(yt),et="";for(;Be;){et+=yt.substring(Ae,Be.index);const dt=Ge(Ue,Be);if(dt){const[Vt,xn]=dt;if(tt.addText(et),et="",rn+=xn,Vt.startsWith("_"))et+=Be[0];else{const wn=Tt.classNameAliases[Vt]||Vt;tt.addKeyword(Be[0],wn)}}else et+=Be[0];Ae=Ue.keywordPatternRe.lastIndex,Be=Ue.keywordPatternRe.exec(yt)}et+=yt.substr(Ae),tt.addText(et)}function Ce(){if(yt==="")return;let Ae=null;if(typeof Ue.subLanguage=="string"){if(!t[Ue.subLanguage]){tt.addText(yt);return}Ae=y(Ue.subLanguage,yt,!0,Ft[Ue.subLanguage]),Ft[Ue.subLanguage]=Ae.top}else Ae=M(yt,Ue.subLanguage.length?Ue.subLanguage:null);Ue.relevance>0&&(rn+=Ae.relevance),tt.addSublanguage(Ae.emitter,Ae.language)}function Fe(){Ue.subLanguage!=null?Ce():gt(),yt=""}function Oe(Ae){return Ae.className&&tt.openNode(Tt.classNameAliases[Ae.className]||Ae.className),Ue=Object.create(Ae,{parent:{value:Ue}}),Ue}function Ye(Ae,Be,et){let dt=iw(Ae.endRe,et);if(dt){if(Ae["on:end"]){const Vt=new L6(Ae);Ae["on:end"](Be,Vt),Vt.isMatchIgnored&&(dt=!1)}if(dt){for(;Ae.endsParent&&Ae.parent;)Ae=Ae.parent;return Ae}}if(Ae.endsWithParent)return Ye(Ae.parent,Be,et)}function Xe(Ae){return Ue.matcher.regexIndex===0?(yt+=Ae[0],1):(hn=!0,0)}function We(Ae){const Be=Ae[0],et=Ae.rule,dt=new L6(et),Vt=[et.__beforeBegin,et["on:begin"]];for(const xn of Vt)if(xn&&(xn(Ae,dt),dt.isMatchIgnored))return Xe(Be);return et&&et.endSameAsBegin&&(et.endRe=tw(Be)),et.skip?yt+=Be:(et.excludeBegin&&(yt+=Be),Fe(),!et.returnBegin&&!et.excludeBegin&&(yt=Be)),Oe(et),et.returnBegin?0:Be.length}function Lt(Ae){const Be=Ae[0],et=xe.substr(Ae.index),dt=Ye(Ue,Ae,et);if(!dt)return D6;const Vt=Ue;Vt.skip?yt+=Be:(Vt.returnEnd||Vt.excludeEnd||(yt+=Be),Fe(),Vt.excludeEnd&&(yt=Be));do Ue.className&&tt.closeNode(),!Ue.skip&&!Ue.subLanguage&&(rn+=Ue.relevance),Ue=Ue.parent;while(Ue!==dt.parent);return dt.starts&&(dt.endSameAsBegin&&(dt.starts.endRe=dt.endRe),Oe(dt.starts)),Vt.returnEnd?0:Be.length}function nn(){const Ae=[];for(let Be=Ue;Be!==Tt;Be=Be.parent)Be.className&&Ae.unshift(Be.className);Ae.forEach(Be=>tt.openNode(Be))}let ln={};function Rt(Ae,Be){const et=Be&&Be[0];if(yt+=Ae,et==null)return Fe(),0;if(ln.type==="begin"&&Be.type==="end"&&ln.index===Be.index&&et===""){if(yt+=xe.slice(Be.index,Be.index+1),!i){const dt=new Error("0 width match regex");throw dt.languageName=de,dt.badRule=ln.rule,dt}return 1}if(ln=Be,Be.type==="begin")return We(Be);if(Be.type==="illegal"&&!Ie){const dt=new Error('Illegal lexeme "'+et+'" for mode "'+(Ue.className||"<unnamed>")+'"');throw dt.mode=Ue,dt}else if(Be.type==="end"){const dt=Lt(Be);if(dt!==D6)return dt}if(Be.type==="illegal"&&et==="")return 1;if(jt>1e5&&jt>Be.index*3)throw new Error("potential infinite loop, way more iterations than matches");return yt+=et,et.length}const Tt=ge(de);if(!Tt)throw g0(s.replace("{}",de)),new Error('Unknown language: "'+de+'"');const un=Fw(Tt,{plugins:o});let sn="",Ue=Te||un;const Ft={},tt=new u.__emitter(u);nn();let yt="",rn=0,qt=0,jt=0,hn=!1;try{for(Ue.matcher.considerAll();;){jt++,hn?hn=!1:Ue.matcher.considerAll(),Ue.matcher.lastIndex=qt;const Ae=Ue.matcher.exec(xe);if(!Ae)break;const Be=xe.substring(qt,Ae.index),et=Rt(Be,Ae);qt=Ae.index+et}return Rt(xe.substr(qt)),tt.closeAllNodes(),tt.finalize(),sn=tt.toHTML(),{relevance:Math.floor(rn),value:sn,language:de,illegal:!1,emitter:tt,top:Ue}}catch(Ae){if(Ae.message&&Ae.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Ae.message,context:xe.slice(qt-100,qt+100),mode:Ae.mode},sofar:sn,relevance:0,value:v0(xe),emitter:tt};if(i)return{illegal:!1,relevance:0,value:v0(xe),emitter:tt,language:de,top:Ue,errorRaised:Ae};throw Ae}}function _(de){const xe={relevance:0,emitter:new u.__emitter(u),value:v0(de),illegal:!1,top:c};return xe.emitter.addText(de),xe}function M(de,xe){xe=xe||u.languages||Object.keys(t);const Ie=_(de),Te=xe.filter(ge).filter(me).map(Oe=>y(Oe,de,!1));Te.unshift(Ie);const Ge=Te.sort((Oe,Ye)=>{if(Oe.relevance!==Ye.relevance)return Ye.relevance-Oe.relevance;if(Oe.language&&Ye.language){if(ge(Oe.language).supersetOf===Ye.language)return 1;if(ge(Ye.language).supersetOf===Oe.language)return-1}return 0}),[gt,Ce]=Ge,Fe=gt;return Fe.second_best=Ce,Fe}function E(de){return u.tabReplace||u.useBR?de.replace(a,xe=>xe===`
441
441
  `?u.useBR?"<br>":xe:u.tabReplace?xe.replace(/\t/g,u.tabReplace):xe):de}function I(de,xe,Ie){const Te=xe?n[xe]:Ie;de.classList.add("hljs"),Te&&de.classList.add(Te)}const j={"before:highlightElement":({el:de})=>{u.useBR&&(de.innerHTML=de.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
442
- `))},"after:highlightElement":({result:de})=>{u.useBR&&(de.value=de.value.replace(/\n/g,"<br>"))}},R=/^(<[^>]+>|\t)+/gm,P={"after:highlightElement":({result:de})=>{u.tabReplace&&(de.value=de.value.replace(R,xe=>xe.replace(/\t/g,u.tabReplace)))}};function B(de){let xe=null;const Ie=C(de);if(g(Ie))return;Me("before:highlightElement",{el:de,language:Ie}),xe=de;const Te=xe.textContent,Ge=Ie?v(Te,{language:Ie,ignoreIllegals:!0}):M(Te);Me("after:highlightElement",{el:de,result:Ge,text:Te}),de.innerHTML=Ge.value,I(de,Ie,Ge.language),de.result={language:Ge.language,re:Ge.relevance,relavance:Ge.relevance},Ge.second_best&&(de.second_best={language:Ge.second_best.language,re:Ge.second_best.relevance,relavance:Ge.second_best.relevance})}function D(de){de.useBR&&(pr("10.3.0","'useBR' will be removed entirely in v11.0"),pr("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),u=H6(u,de)}const H=()=>{if(H.called)return;H.called=!0,pr("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(B)};function A(){pr("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),G=!0}let G=!1;function K(){if(document.readyState==="loading"){G=!0;return}document.querySelectorAll("pre code").forEach(B)}function Q(){G&&K()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Q,!1);function le(de,xe){let Ie=null;try{Ie=xe(e)}catch(Te){if(g0("Language definition for '{}' could not be registered.".replace("{}",de)),i)g0(Te);else throw Te;Ie=c}Ie.name||(Ie.name=de),t[de]=Ie,Ie.rawDefinition=xe.bind(null,e),Ie.aliases&&ie(Ie.aliases,{languageName:de})}function se(de){delete t[de];for(const xe of Object.keys(n))n[xe]===de&&delete n[xe]}function fe(){return Object.keys(t)}function te(de){pr("10.4.0","requireLanguage will be removed entirely in v11."),pr("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const xe=ge(de);if(xe)return xe;throw new Error("The '{}' language is required, but not loaded.".replace("{}",de))}function ge(de){return de=(de||"").toLowerCase(),t[de]||t[n[de]]}function ie(de,{languageName:xe}){typeof de=="string"&&(de=[de]),de.forEach(Ie=>{n[Ie.toLowerCase()]=xe})}function me(de){const xe=ge(de);return xe&&!xe.disableAutodetect}function ye(de){de["before:highlightBlock"]&&!de["before:highlightElement"]&&(de["before:highlightElement"]=xe=>{de["before:highlightBlock"](Object.assign({block:xe.el},xe))}),de["after:highlightBlock"]&&!de["after:highlightElement"]&&(de["after:highlightElement"]=xe=>{de["after:highlightBlock"](Object.assign({block:xe.el},xe))})}function pe(de){ye(de),o.push(de)}function Me(de,xe){const Ie=de;o.forEach(function(Te){Te[Ie]&&Te[Ie](xe)})}function Se(de){return pr("10.2.0","fixMarkup will be removed entirely in v11.0"),pr("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),_(de)}function De(de){return pr("10.7.0","highlightBlock will be removed entirely in v12.0"),pr("10.7.0","Please use highlightElement now."),B(de)}Object.assign(e,{highlight:v,highlightAuto:M,highlightAll:K,fixMarkup:Se,highlightElement:B,highlightBlock:De,configure:D,initHighlighting:H,initHighlightingOnLoad:A,registerLanguage:le,unregisterLanguage:se,listLanguages:fe,getLanguage:ge,registerAliases:ie,requireLanguage:te,autoDetection:me,inherit:H6,addPlugin:pe,vuePlugin:Dw(e).VuePlugin}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=Pw;for(const de in gc)typeof gc[de]=="object"&&S6(gc[de]);return Object.assign(e,gc),e.addPlugin(j),e.addPlugin(Aw),e.addPlugin(P),e}({}),Bw=Vw,A6={exports:{}};(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=o,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(i.apply(null,arguments))}function o(a,s){return i.apply(null,[a].concat(s))}function i(a){for(var s=1,c=[].slice.call(arguments),u=0,g=a.length,C="",v,y=!1,E,M,_=!1,I,j=function(){return c[s++]},R=function(){for(var P="";/\d/.test(a[u]);)P+=a[u++],v=a[u];return P.length>0?parseInt(P):null};u<g;++u)if(v=a[u],y)switch(y=!1,v=="."?(_=!1,v=a[++u]):v=="0"&&a[u+1]=="."?(_=!0,u+=2,v=a[u]):_=!0,I=R(),v){case"b":C+=parseInt(j(),10).toString(2);break;case"c":E=j(),typeof E=="string"||E instanceof String?C+=E:C+=String.fromCharCode(parseInt(E,10));break;case"d":C+=parseInt(j(),10);break;case"f":M=String(parseFloat(j()).toFixed(I||6)),C+=_?M:M.replace(/^0/,"");break;case"j":C+=JSON.stringify(j());break;case"o":C+="0"+parseInt(j(),10).toString(8);break;case"s":C+=j();break;case"x":C+="0x"+parseInt(j(),10).toString(16);break;case"X":C+="0x"+parseInt(j(),10).toString(16).toUpperCase();break;default:C+=v;break}else v==="%"?y=!0:C+=v;return C}})()})(A6);var Nw=A6.exports,Zw=Nw,Qo=ei(Error),Uw=Qo;Qo.eval=ei(EvalError),Qo.range=ei(RangeError),Qo.reference=ei(ReferenceError),Qo.syntax=ei(SyntaxError),Qo.type=ei(TypeError),Qo.uri=ei(URIError),Qo.create=ei;function ei(e){return t.displayName=e.displayName||e.name,t;function t(n){return n&&(n=Zw.apply(null,arguments)),new e(n)}}var Jr=Bw,vc=Uw;Ii.highlight=R6,Ii.highlightAuto=zw,Ii.registerLanguage=Gw,Ii.listLanguages=Yw,Ii.registerAlias=Xw,Co.prototype.addText=qw,Co.prototype.addKeyword=Kw,Co.prototype.addSublanguage=Jw,Co.prototype.openNode=Qw,Co.prototype.closeNode=ey,Co.prototype.closeAllNodes=V6,Co.prototype.finalize=V6,Co.prototype.toHTML=ty;var Ww="hljs-";function R6(e,t,n){var o=Jr.configure({}),i=n||{},a=i.prefix,s;if(typeof e!="string")throw vc("Expected `string` for name, got `%s`",e);if(!Jr.getLanguage(e))throw vc("Unknown language: `%s` is not registered",e);if(typeof t!="string")throw vc("Expected `string` for value, got `%s`",t);if(a==null&&(a=Ww),Jr.configure({__emitter:Co,classPrefix:a}),s=Jr.highlight(t,{language:e,ignoreIllegals:!0}),Jr.configure(o||{}),s.errorRaised)throw s.errorRaised;return{relevance:s.relevance,language:s.language,value:s.emitter.rootNode.children}}function zw(e,t){var n=t||{},o=n.subset||Jr.listLanguages();n.prefix;var i=o.length,a=-1,s,c,u,g;if(typeof e!="string")throw vc("Expected `string` for value, got `%s`",e);for(c={relevance:0,language:null,value:[]},s={relevance:0,language:null,value:[]};++a<i;)g=o[a],Jr.getLanguage(g)&&(u=R6(g,e,t),u.language=g,u.relevance>c.relevance&&(c=u),u.relevance>s.relevance&&(c=s,s=u));return c.language&&(s.secondBest=c),s}function Gw(e,t){Jr.registerLanguage(e,t)}function Yw(){return Jr.listLanguages()}function Xw(e,t){var n=e,o;t&&(n={},n[e]=t);for(o in n)Jr.registerAliases(n[o],{languageName:o})}function Co(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function Kw(e,t){this.openNode(t),this.addText(e),this.closeNode()}function Jw(e,t){var n=this.stack,o=n[n.length-1],i=e.rootNode.children,a=t?{type:"element",tagName:"span",properties:{className:[t]},children:i}:i;o.children=o.children.concat(a)}function qw(e){var t=this.stack,n,o;e!==""&&(n=t[t.length-1],o=n.children[n.children.length-1],o&&o.type==="text"?o.value+=e:n.children.push({type:"text",value:e}))}function Qw(e){var t=this.stack,n=this.options.classPrefix+e,o=t[t.length-1],i={type:"element",tagName:"span",properties:{className:[n]},children:[]};o.children.push(i),t.push(i)}function ey(){this.stack.pop()}function ty(){return""}function V6(){}var m0,B6;function ny(){if(B6)return m0;B6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(...o){return o.map(a=>e(a)).join("")}function n(o){const i={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[i]}]};Object.assign(i,{className:"variable",variants:[{begin:t(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[o.BACKSLASH_ESCAPE]},c={begin:/<<-?\s*(?=\w+)/,starts:{contains:[o.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},u={className:"string",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,i,s]};s.contains.push(u);const g={className:"",begin:/\\"/},C={className:"string",begin:/'/,end:/'/},v={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},o.NUMBER_MODE,i]},y=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],E=o.SHEBANG({binary:`(${y.join("|")})`,relevance:10}),M={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[o.inherit(o.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[E,o.SHEBANG(),M,v,o.HASH_COMMENT_MODE,c,u,g,C,i]}}return m0=n,m0}var b0,N6;function ry(){if(N6)return b0;N6=1;function e(t){const n={literal:"true false null"},o=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],i=[t.QUOTE_STRING_MODE,t.C_NUMBER_MODE],a={end:",",endsWithParent:!0,excludeEnd:!0,contains:i,keywords:n},s={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE],illegal:"\\n"},t.inherit(a,{begin:/:/})].concat(o),illegal:"\\S"},c={begin:"\\[",end:"\\]",contains:[t.inherit(a)],illegal:"\\S"};return i.push(s,c),o.forEach(function(u){i.push(u)}),{name:"JSON",contains:i,keywords:n,illegal:"\\S"}}return b0=e,b0}var C0,Z6;function oy(){if(Z6)return C0;Z6=1;function e(i){return i?typeof i=="string"?i:i.source:null}function t(...i){return i.map(s=>e(s)).join("")}function n(...i){return"("+i.map(s=>e(s)).join("|")+")"}function o(i){const a=i.COMMENT("--","$"),s={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},c={begin:/"/,end:/"/,contains:[{begin:/""/}]},u=["true","false","unknown"],g=["double precision","large object","with timezone","without timezone"],C=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],v=["add","asc","collation","desc","final","first","last","view"],y=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],E=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],M=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],_=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],I=E,j=[...y,...v].filter(H=>!E.includes(H)),R={className:"variable",begin:/@[a-z0-9]+/},P={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},B={begin:t(/\b/,n(...I),/\s*\(/),keywords:{built_in:I}};function D(H,{exceptions:A,when:G}={}){const K=G;return A=A||[],H.map(Q=>Q.match(/\|\d+$/)||A.includes(Q)?Q:K(Q)?`${Q}|0`:Q)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:D(j,{when:H=>H.length<3}),literal:u,type:C,built_in:M},contains:[{begin:n(..._),keywords:{$pattern:/[\w\.]+/,keyword:j.concat(_),literal:u,type:C}},{className:"type",begin:n(...g)},B,R,s,c,i.C_NUMBER_MODE,i.C_BLOCK_COMMENT_MODE,a,P]}}return C0=o,C0}function x0(e,t){return x0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},x0(e,t)}function U6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var W6=Kx(Ii,{});W6.registerLanguage=Ii.registerLanguage;const mc=W6,iy=e=>{const t=W.useTheme(),n=t.name!=="classic"?t.name:"light",o=e||n,i=t.click.codeblock[`${o}Mode`].color;return{hljs:{display:"block",overflowX:"auto",padding:`${t.click.codeblock.space.y} ${t.click.codeblock.space.x}`,color:i.text.default,background:i.background.default,borderRadius:t.click.codeblock.radii.all,font:t.click.codeblock.typography.text.default},"hljs-comment":{color:o==="dark"?"#999999":"#656e77"},"hljs-keyword":{color:o==="dark"?"#88aece":"#015692"},"hljs-selector-tag":{color:o==="dark"?"#88aece":"#015692"},"hljs-meta-keyword":{color:o==="dark"?"#88aece":"#015692"},"hljs-doctag":{color:o==="dark"?"#88aece":"#015692"},"hljs-section":{color:o==="dark"?"#88aece":"#015692"},"hljs-selector-class":{color:o==="dark"?"#88aece":"#015692"},"hljs-meta":{color:o==="dark"?"#88aece":"#015692"},"hljs-selector-pseudo":{color:o==="dark"?"#88aece":"#015692"},"hljs-attr":{color:o==="dark"?"#88aece":"#015692"},"hljs-attribute":{color:o==="dark"?"#c59bc1":"#803378"},"hljs-name":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-type":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-number":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-selector-id":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-quote":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-template-tag":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-built_in":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-title":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-literal":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-string":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-regexp":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-symbol":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-variable":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-template-variable":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-link":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-selector-attr":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-meta-string":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-bullet":{color:o==="dark"?"#cccccc":"#535a60"},"hljs-code":{color:o==="dark"?"#cccccc":"#535a60"},"hljs-deletion":{color:o==="dark"?"#de7176":"#c02d2e"},"hljs-addition":{color:o==="dark"?"#76c490":"#2f6f44"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}};var z6={},G6={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(G6);var w0=G6.exports;(function(e){var t=w0;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(oy()),o=n.default;e.default=o})(z6);const ay=Ga(z6);var Y6={};(function(e){var t=w0;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(ny()),o=n.default;e.default=o})(Y6);const ly=Ga(Y6);var X6={};(function(e){var t=w0;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(ry()),o=n.default;e.default=o})(X6);const sy=Ga(X6);mc.registerLanguage("sql",ay),mc.registerLanguage("bash",ly),mc.registerLanguage("json",sy);const cy=W.div.withConfig({componentId:"sc-18gnqgi-0"})(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;position:relative;cursor:pointer;",""],({theme:e,$theme:t})=>{const n=e.name!=="classic"?e.name:"light",o=e.click.codeblock[`${t||n}Mode`].color;return`
442
+ `))},"after:highlightElement":({result:de})=>{u.useBR&&(de.value=de.value.replace(/\n/g,"<br>"))}},R=/^(<[^>]+>|\t)+/gm,P={"after:highlightElement":({result:de})=>{u.tabReplace&&(de.value=de.value.replace(R,xe=>xe.replace(/\t/g,u.tabReplace)))}};function B(de){let xe=null;const Ie=C(de);if(g(Ie))return;Me("before:highlightElement",{el:de,language:Ie}),xe=de;const Te=xe.textContent,Ge=Ie?v(Te,{language:Ie,ignoreIllegals:!0}):M(Te);Me("after:highlightElement",{el:de,result:Ge,text:Te}),de.innerHTML=Ge.value,I(de,Ie,Ge.language),de.result={language:Ge.language,re:Ge.relevance,relavance:Ge.relevance},Ge.second_best&&(de.second_best={language:Ge.second_best.language,re:Ge.second_best.relevance,relavance:Ge.second_best.relevance})}function D(de){de.useBR&&(pr("10.3.0","'useBR' will be removed entirely in v11.0"),pr("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),u=H6(u,de)}const H=()=>{if(H.called)return;H.called=!0,pr("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(B)};function A(){pr("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),G=!0}let G=!1;function K(){if(document.readyState==="loading"){G=!0;return}document.querySelectorAll("pre code").forEach(B)}function Q(){G&&K()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Q,!1);function le(de,xe){let Ie=null;try{Ie=xe(e)}catch(Te){if(g0("Language definition for '{}' could not be registered.".replace("{}",de)),i)g0(Te);else throw Te;Ie=c}Ie.name||(Ie.name=de),t[de]=Ie,Ie.rawDefinition=xe.bind(null,e),Ie.aliases&&ie(Ie.aliases,{languageName:de})}function se(de){delete t[de];for(const xe of Object.keys(n))n[xe]===de&&delete n[xe]}function fe(){return Object.keys(t)}function te(de){pr("10.4.0","requireLanguage will be removed entirely in v11."),pr("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const xe=ge(de);if(xe)return xe;throw new Error("The '{}' language is required, but not loaded.".replace("{}",de))}function ge(de){return de=(de||"").toLowerCase(),t[de]||t[n[de]]}function ie(de,{languageName:xe}){typeof de=="string"&&(de=[de]),de.forEach(Ie=>{n[Ie.toLowerCase()]=xe})}function me(de){const xe=ge(de);return xe&&!xe.disableAutodetect}function ye(de){de["before:highlightBlock"]&&!de["before:highlightElement"]&&(de["before:highlightElement"]=xe=>{de["before:highlightBlock"](Object.assign({block:xe.el},xe))}),de["after:highlightBlock"]&&!de["after:highlightElement"]&&(de["after:highlightElement"]=xe=>{de["after:highlightBlock"](Object.assign({block:xe.el},xe))})}function pe(de){ye(de),o.push(de)}function Me(de,xe){const Ie=de;o.forEach(function(Te){Te[Ie]&&Te[Ie](xe)})}function Se(de){return pr("10.2.0","fixMarkup will be removed entirely in v11.0"),pr("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),E(de)}function De(de){return pr("10.7.0","highlightBlock will be removed entirely in v12.0"),pr("10.7.0","Please use highlightElement now."),B(de)}Object.assign(e,{highlight:v,highlightAuto:M,highlightAll:K,fixMarkup:Se,highlightElement:B,highlightBlock:De,configure:D,initHighlighting:H,initHighlightingOnLoad:A,registerLanguage:le,unregisterLanguage:se,listLanguages:fe,getLanguage:ge,registerAliases:ie,requireLanguage:te,autoDetection:me,inherit:H6,addPlugin:pe,vuePlugin:Dw(e).VuePlugin}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=Pw;for(const de in gc)typeof gc[de]=="object"&&S6(gc[de]);return Object.assign(e,gc),e.addPlugin(j),e.addPlugin(Aw),e.addPlugin(P),e}({}),Bw=Vw,A6={exports:{}};(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=o,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(i.apply(null,arguments))}function o(a,s){return i.apply(null,[a].concat(s))}function i(a){for(var s=1,c=[].slice.call(arguments),u=0,g=a.length,C="",v,y=!1,_,M,E=!1,I,j=function(){return c[s++]},R=function(){for(var P="";/\d/.test(a[u]);)P+=a[u++],v=a[u];return P.length>0?parseInt(P):null};u<g;++u)if(v=a[u],y)switch(y=!1,v=="."?(E=!1,v=a[++u]):v=="0"&&a[u+1]=="."?(E=!0,u+=2,v=a[u]):E=!0,I=R(),v){case"b":C+=parseInt(j(),10).toString(2);break;case"c":_=j(),typeof _=="string"||_ instanceof String?C+=_:C+=String.fromCharCode(parseInt(_,10));break;case"d":C+=parseInt(j(),10);break;case"f":M=String(parseFloat(j()).toFixed(I||6)),C+=E?M:M.replace(/^0/,"");break;case"j":C+=JSON.stringify(j());break;case"o":C+="0"+parseInt(j(),10).toString(8);break;case"s":C+=j();break;case"x":C+="0x"+parseInt(j(),10).toString(16);break;case"X":C+="0x"+parseInt(j(),10).toString(16).toUpperCase();break;default:C+=v;break}else v==="%"?y=!0:C+=v;return C}})()})(A6);var Nw=A6.exports,Zw=Nw,Qo=ei(Error),Uw=Qo;Qo.eval=ei(EvalError),Qo.range=ei(RangeError),Qo.reference=ei(ReferenceError),Qo.syntax=ei(SyntaxError),Qo.type=ei(TypeError),Qo.uri=ei(URIError),Qo.create=ei;function ei(e){return t.displayName=e.displayName||e.name,t;function t(n){return n&&(n=Zw.apply(null,arguments)),new e(n)}}var Jr=Bw,vc=Uw;Ii.highlight=R6,Ii.highlightAuto=zw,Ii.registerLanguage=Gw,Ii.listLanguages=Yw,Ii.registerAlias=Xw,Co.prototype.addText=qw,Co.prototype.addKeyword=Kw,Co.prototype.addSublanguage=Jw,Co.prototype.openNode=Qw,Co.prototype.closeNode=ey,Co.prototype.closeAllNodes=V6,Co.prototype.finalize=V6,Co.prototype.toHTML=ty;var Ww="hljs-";function R6(e,t,n){var o=Jr.configure({}),i=n||{},a=i.prefix,s;if(typeof e!="string")throw vc("Expected `string` for name, got `%s`",e);if(!Jr.getLanguage(e))throw vc("Unknown language: `%s` is not registered",e);if(typeof t!="string")throw vc("Expected `string` for value, got `%s`",t);if(a==null&&(a=Ww),Jr.configure({__emitter:Co,classPrefix:a}),s=Jr.highlight(t,{language:e,ignoreIllegals:!0}),Jr.configure(o||{}),s.errorRaised)throw s.errorRaised;return{relevance:s.relevance,language:s.language,value:s.emitter.rootNode.children}}function zw(e,t){var n=t||{},o=n.subset||Jr.listLanguages();n.prefix;var i=o.length,a=-1,s,c,u,g;if(typeof e!="string")throw vc("Expected `string` for value, got `%s`",e);for(c={relevance:0,language:null,value:[]},s={relevance:0,language:null,value:[]};++a<i;)g=o[a],Jr.getLanguage(g)&&(u=R6(g,e,t),u.language=g,u.relevance>c.relevance&&(c=u),u.relevance>s.relevance&&(c=s,s=u));return c.language&&(s.secondBest=c),s}function Gw(e,t){Jr.registerLanguage(e,t)}function Yw(){return Jr.listLanguages()}function Xw(e,t){var n=e,o;t&&(n={},n[e]=t);for(o in n)Jr.registerAliases(n[o],{languageName:o})}function Co(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function Kw(e,t){this.openNode(t),this.addText(e),this.closeNode()}function Jw(e,t){var n=this.stack,o=n[n.length-1],i=e.rootNode.children,a=t?{type:"element",tagName:"span",properties:{className:[t]},children:i}:i;o.children=o.children.concat(a)}function qw(e){var t=this.stack,n,o;e!==""&&(n=t[t.length-1],o=n.children[n.children.length-1],o&&o.type==="text"?o.value+=e:n.children.push({type:"text",value:e}))}function Qw(e){var t=this.stack,n=this.options.classPrefix+e,o=t[t.length-1],i={type:"element",tagName:"span",properties:{className:[n]},children:[]};o.children.push(i),t.push(i)}function ey(){this.stack.pop()}function ty(){return""}function V6(){}var m0,B6;function ny(){if(B6)return m0;B6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(...o){return o.map(a=>e(a)).join("")}function n(o){const i={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[i]}]};Object.assign(i,{className:"variable",variants:[{begin:t(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[o.BACKSLASH_ESCAPE]},c={begin:/<<-?\s*(?=\w+)/,starts:{contains:[o.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},u={className:"string",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,i,s]};s.contains.push(u);const g={className:"",begin:/\\"/},C={className:"string",begin:/'/,end:/'/},v={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},o.NUMBER_MODE,i]},y=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],_=o.SHEBANG({binary:`(${y.join("|")})`,relevance:10}),M={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[o.inherit(o.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[_,o.SHEBANG(),M,v,o.HASH_COMMENT_MODE,c,u,g,C,i]}}return m0=n,m0}var b0,N6;function ry(){if(N6)return b0;N6=1;function e(t){const n={literal:"true false null"},o=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],i=[t.QUOTE_STRING_MODE,t.C_NUMBER_MODE],a={end:",",endsWithParent:!0,excludeEnd:!0,contains:i,keywords:n},s={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE],illegal:"\\n"},t.inherit(a,{begin:/:/})].concat(o),illegal:"\\S"},c={begin:"\\[",end:"\\]",contains:[t.inherit(a)],illegal:"\\S"};return i.push(s,c),o.forEach(function(u){i.push(u)}),{name:"JSON",contains:i,keywords:n,illegal:"\\S"}}return b0=e,b0}var C0,Z6;function oy(){if(Z6)return C0;Z6=1;function e(i){return i?typeof i=="string"?i:i.source:null}function t(...i){return i.map(s=>e(s)).join("")}function n(...i){return"("+i.map(s=>e(s)).join("|")+")"}function o(i){const a=i.COMMENT("--","$"),s={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},c={begin:/"/,end:/"/,contains:[{begin:/""/}]},u=["true","false","unknown"],g=["double precision","large object","with timezone","without timezone"],C=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],v=["add","asc","collation","desc","final","first","last","view"],y=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],_=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],M=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],E=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],I=_,j=[...y,...v].filter(H=>!_.includes(H)),R={className:"variable",begin:/@[a-z0-9]+/},P={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},B={begin:t(/\b/,n(...I),/\s*\(/),keywords:{built_in:I}};function D(H,{exceptions:A,when:G}={}){const K=G;return A=A||[],H.map(Q=>Q.match(/\|\d+$/)||A.includes(Q)?Q:K(Q)?`${Q}|0`:Q)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:D(j,{when:H=>H.length<3}),literal:u,type:C,built_in:M},contains:[{begin:n(...E),keywords:{$pattern:/[\w\.]+/,keyword:j.concat(E),literal:u,type:C}},{className:"type",begin:n(...g)},B,R,s,c,i.C_NUMBER_MODE,i.C_BLOCK_COMMENT_MODE,a,P]}}return C0=o,C0}function x0(e,t){return x0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},x0(e,t)}function U6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var W6=Kx(Ii,{});W6.registerLanguage=Ii.registerLanguage;const mc=W6,iy=e=>{const t=W.useTheme(),n=t.name!=="classic"?t.name:"light",o=e||n,i=t.click.codeblock[`${o}Mode`].color;return{hljs:{display:"block",overflowX:"auto",padding:`${t.click.codeblock.space.y} ${t.click.codeblock.space.x}`,color:i.text.default,background:i.background.default,borderRadius:t.click.codeblock.radii.all,font:t.click.codeblock.typography.text.default},"hljs-comment":{color:o==="dark"?"#999999":"#656e77"},"hljs-keyword":{color:o==="dark"?"#88aece":"#015692"},"hljs-selector-tag":{color:o==="dark"?"#88aece":"#015692"},"hljs-meta-keyword":{color:o==="dark"?"#88aece":"#015692"},"hljs-doctag":{color:o==="dark"?"#88aece":"#015692"},"hljs-section":{color:o==="dark"?"#88aece":"#015692"},"hljs-selector-class":{color:o==="dark"?"#88aece":"#015692"},"hljs-meta":{color:o==="dark"?"#88aece":"#015692"},"hljs-selector-pseudo":{color:o==="dark"?"#88aece":"#015692"},"hljs-attr":{color:o==="dark"?"#88aece":"#015692"},"hljs-attribute":{color:o==="dark"?"#c59bc1":"#803378"},"hljs-name":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-type":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-number":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-selector-id":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-quote":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-template-tag":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-built_in":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-title":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-literal":{color:o==="dark"?"#f08d49":"#b75501"},"hljs-string":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-regexp":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-symbol":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-variable":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-template-variable":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-link":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-selector-attr":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-meta-string":{color:o==="dark"?"#b5bd68":"#54790d"},"hljs-bullet":{color:o==="dark"?"#cccccc":"#535a60"},"hljs-code":{color:o==="dark"?"#cccccc":"#535a60"},"hljs-deletion":{color:o==="dark"?"#de7176":"#c02d2e"},"hljs-addition":{color:o==="dark"?"#76c490":"#2f6f44"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}};var z6={},G6={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(G6);var w0=G6.exports;(function(e){var t=w0;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(oy()),o=n.default;e.default=o})(z6);const ay=Ga(z6);var Y6={};(function(e){var t=w0;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(ny()),o=n.default;e.default=o})(Y6);const ly=Ga(Y6);var X6={};(function(e){var t=w0;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(ry()),o=n.default;e.default=o})(X6);const sy=Ga(X6);mc.registerLanguage("sql",ay),mc.registerLanguage("bash",ly),mc.registerLanguage("json",sy);const cy=W.div.withConfig({componentId:"sc-18gnqgi-0"})(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;position:relative;cursor:pointer;",""],({theme:e,$theme:t})=>{const n=e.name!=="classic"?e.name:"light",o=e.click.codeblock[`${t||n}Mode`].color;return`
443
443
  color: ${o.numbers.default};
444
444
  .linenumber {
445
445
  color: ${o.numbers.default}
@@ -452,7 +452,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),gt=de,Ge=xe);const Ce=
452
452
  gap: 0.625rem;
453
453
  top: ${e.click.codeblock.space.y};
454
454
  right: ${e.click.codeblock.space.x};
455
- `),J6=({children:e,language:t,theme:n,showLineNumbers:o,showWrapButton:i=!1,wrapLines:a=!1,onCopy:s,onCopyError:c,...u})=>{const[g,C]=p.useState(!1),[v,y]=p.useState(!1),[E,M]=p.useState(a),_=iy(n),I=async()=>{try{await navigator.clipboard.writeText(e),typeof s=="function"&&s(e),C(!0),setTimeout(()=>C(!1),2e3)}catch(P){let B="Unable to copy code";P instanceof Error&&(B=P.message),y(!0),typeof c=="function"&&c(B),setTimeout(()=>y(!1),2e3)}},j=()=>{M(P=>!P)},R=P=>r.jsx(uy,{...P});return r.jsxs(cy,{$theme:n,...u,children:[r.jsxs(fy,{children:[i&&r.jsx(K6,{as:ur,$copied:!1,$error:!1,icon:"document",onClick:j}),r.jsx(K6,{as:ur,$copied:g,$error:v,icon:g?"check":v?"warning":"copy",onClick:I})]}),r.jsx(dy,{language:t,style:_,CodeTag:R,renderer:({rows:P,stylesheet:B,useInlineStyles:D})=>P.map((H,A)=>{const G=H.children,K=G==null?void 0:G.shift();return K&&(H.children=[K,{children:G,properties:{className:[]},tagName:"span",type:"element"}]),c0({node:H,stylesheet:B,useInlineStyles:D,key:A})}),showLineNumbers:o,wrapLines:E||a,wrapLongLines:E||a,children:e})]})},py=({component:e,alignItems:t,children:n,fillWidth:o=!0,gap:i="none",grow:a,shrink:s,isResponsive:c,justifyContent:u="start",maxWidth:g,minWidth:C,orientation:v="horizontal",padding:y="none",wrap:E="nowrap",fillHeight:M,maxHeight:_,minHeight:I,overflow:j,...R},P)=>r.jsx(hy,{ref:P,as:e??"div",$alignItems:t??(v==="vertical"?"start":"center"),$fillWidth:o,$gapSize:i,$grow:a,$shrink:s,$isResponsive:c,$justifyContent:u,$maxWidth:g,$minWidth:C,$orientation:v,$paddingSize:y,$wrap:E,$fillHeight:M,$maxHeight:_,$minHeight:I,$overflow:j,"data-testid":"container",...R,children:n}),hy=W.div.withConfig({componentId:"sc-bcplth-0"})(["display:flex;"," "," "," flex-wrap:",";gap:",";max-width:",";min-width:",";padding:",";width:",";flex-direction:",";align-items:",";justify-content:",";@media (max-width:","){width:",";max-width:",";flex-direction:",";}"],({$grow:e,$shrink:t})=>`
455
+ `),J6=({children:e,language:t,theme:n,showLineNumbers:o,showWrapButton:i=!1,wrapLines:a=!1,onCopy:s,onCopyError:c,...u})=>{const[g,C]=p.useState(!1),[v,y]=p.useState(!1),[_,M]=p.useState(a),E=iy(n),I=async()=>{try{await navigator.clipboard.writeText(e),typeof s=="function"&&s(e),C(!0),setTimeout(()=>C(!1),2e3)}catch(P){let B="Unable to copy code";P instanceof Error&&(B=P.message),y(!0),typeof c=="function"&&c(B),setTimeout(()=>y(!1),2e3)}},j=()=>{M(P=>!P)},R=P=>r.jsx(uy,{...P});return r.jsxs(cy,{$theme:n,...u,children:[r.jsxs(fy,{children:[i&&r.jsx(K6,{as:ur,$copied:!1,$error:!1,icon:"document",onClick:j}),r.jsx(K6,{as:ur,$copied:g,$error:v,icon:g?"check":v?"warning":"copy",onClick:I})]}),r.jsx(dy,{language:t,style:E,CodeTag:R,renderer:({rows:P,stylesheet:B,useInlineStyles:D})=>P.map((H,A)=>{const G=H.children,K=G==null?void 0:G.shift();return K&&(H.children=[K,{children:G,properties:{className:[]},tagName:"span",type:"element"}]),c0({node:H,stylesheet:B,useInlineStyles:D,key:A})}),showLineNumbers:o,wrapLines:_||a,wrapLongLines:_||a,children:e})]})},py=({component:e,alignItems:t,children:n,fillWidth:o=!0,gap:i="none",grow:a,shrink:s,isResponsive:c,justifyContent:u="start",maxWidth:g,minWidth:C,orientation:v="horizontal",padding:y="none",wrap:_="nowrap",fillHeight:M,maxHeight:E,minHeight:I,overflow:j,...R},P)=>r.jsx(hy,{ref:P,as:e??"div",$alignItems:t??(v==="vertical"?"start":"center"),$fillWidth:o,$gapSize:i,$grow:a,$shrink:s,$isResponsive:c,$justifyContent:u,$maxWidth:g,$minWidth:C,$orientation:v,$paddingSize:y,$wrap:_,$fillHeight:M,$maxHeight:E,$minHeight:I,$overflow:j,"data-testid":"container",...R,children:n}),hy=W.div.withConfig({componentId:"sc-bcplth-0"})(["display:flex;"," "," "," flex-wrap:",";gap:",";max-width:",";min-width:",";padding:",";width:",";flex-direction:",";align-items:",";justify-content:",";@media (max-width:","){width:",";max-width:",";flex-direction:",";}"],({$grow:e,$shrink:t})=>`
456
456
  ${e&&`flex: ${e}`};
457
457
  ${t&&`flex-shrink: ${t}`};
458
458
  `,({$fillHeight:e,$maxHeight:t,$minHeight:n})=>`
@@ -506,7 +506,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),gt=de,Ge=xe);const Ce=
506
506
  row-gap: ${e.click.flyout.space[t].content["row-gap"]};
507
507
  column-gap: ${e.click.flyout.space[t].content["column-gap"]};
508
508
  padding: ${e.click.flyout.space[t].y} ${e.click.flyout.space[t].content.x};
509
- `),b7=({children:e,...t})=>r.jsx(bc,{asChild:!0,children:e??r.jsx(ul,{type:"secondary",...t})});b7.displayName="Flyout.Close",xo.Close=b7;const Xy=W(hr).withConfig({componentId:"sc-1vtv6sf-8"})(["width:var(--flyout-width);max-width:100%;"]),C7=e=>r.jsxs(Xy,{gap:"none",orientation:"vertical",alignItems:"end",children:[r.jsx(Vi,{size:"xs"}),r.jsx(Yy,{justifyContent:"end",gap:"none",padding:"none",isResponsive:!1,wrap:"wrap",...e})]});C7.displayName="Flyout.Footer",xo.Footer=C7;const Ky=W(J6).withConfig({componentId:"sc-1vtv6sf-9"})(["display:flex;height:100%;pre{flex:1;}"]),Jy=({statement:e,language:t,wrapLines:n,...o})=>r.jsxs(S0,{fillHeight:!0,...o,children:[r.jsx(Ky,{wrapLines:n,language:t,children:e}),r.jsx(Qc,{size:"xs"})]});xo.CodeBlock=Jy;const qy=({id:e,label:t,orientation:n,dir:o,error:i,children:a,addLabelPadding:s,...c})=>r.jsxs(Li,{$orientation:n,$dir:o,$addLabelPadding:s,...c,children:[r.jsxs(Ps,{children:[a,!!i&&i!==!0&&r.jsx(Fs,{children:i})]}),t&&r.jsx(Zo,{htmlFor:e,error:!!i,children:t})]}),Qy=({alignItems:e="stretch",alignContent:t="stretch",children:n,columnGap:o,gap:i,gridAutoColumns:a,gridAutoFlow:s,gridAutoRows:c,gridTemplateAreas:u,gridTemplateColumns:g,gridTemplateRows:C,gridTemplate:v,inline:y=!1,isResponsive:E=!0,justifyContent:M="stretch",justifyItems:_="stretch",rowGap:I,height:j,maxHeight:R,minHeight:P,fillWidth:B=!0,maxWidth:D,minWidth:H,overflow:A,...G})=>r.jsx(ek,{$alignItems:e,$alignContent:t,$columnGap:o,$gap:i,$gridAutoColumns:a,$gridAutoFlow:s,$gridAutoRows:c,$gridTemplateAreas:u,$gridTemplateColumns:g,$gridTemplateRows:C,$gridTemplate:v,$inline:y,$isResponsive:E,$justifyContent:M,$justifyItems:_,$rowGap:I,$height:j,$maxHeight:R,$minHeight:P,$fillWidth:B,$maxWidth:D,$minWidth:H,$overflow:A,"data-testid":"grid-container",...G,children:n}),ek=W.div.withConfig({componentId:"sc-r57kdn-0"})(["align-items:",";align-content:",";display:",";",";",";",";",";",";",";",";justify-content:",";justify-items:",";"," "," "," "," @media (max-width:","){grid-template-columns:",";}"],({$alignItems:e="stretch"})=>e,({$alignContent:e="stretch"})=>e,({$inline:e})=>e===!0?"inline-grid":"grid",({$gridAutoColumns:e})=>e&&`grid-auto-columns: ${e}`,({$gridAutoFlow:e})=>e&&`grid-auto-flow: ${e}`,({$gridAutoRows:e})=>e&&`grid-auto-rows: ${e}`,({$gridTemplateAreas:e})=>e&&`grid-template-area: ${e}`,({$gridTemplateColumns:e})=>e&&`grid-template-columns: ${e}`,({$gridTemplateRows:e})=>e&&`grid-template-rows: ${e}`,({$gridTemplate:e})=>e&&`grid-template: ${e}`,({$justifyContent:e="stretch"})=>e,({$justifyItems:e="stretch"})=>e,({theme:e,$gap:t,$columnGap:n,$rowGap:o})=>`
509
+ `),b7=({children:e,...t})=>r.jsx(bc,{asChild:!0,children:e??r.jsx(ul,{type:"secondary",...t})});b7.displayName="Flyout.Close",xo.Close=b7;const Xy=W(hr).withConfig({componentId:"sc-1vtv6sf-8"})(["width:var(--flyout-width);max-width:100%;"]),C7=e=>r.jsxs(Xy,{gap:"none",orientation:"vertical",alignItems:"end",children:[r.jsx(Vi,{size:"xs"}),r.jsx(Yy,{justifyContent:"end",gap:"none",padding:"none",isResponsive:!1,wrap:"wrap",...e})]});C7.displayName="Flyout.Footer",xo.Footer=C7;const Ky=W(J6).withConfig({componentId:"sc-1vtv6sf-9"})(["display:flex;height:100%;pre{flex:1;}"]),Jy=({statement:e,language:t,wrapLines:n,...o})=>r.jsxs(S0,{fillHeight:!0,...o,children:[r.jsx(Ky,{wrapLines:n,language:t,children:e}),r.jsx(Qc,{size:"xs"})]});xo.CodeBlock=Jy;const qy=({id:e,label:t,orientation:n,dir:o,error:i,children:a,addLabelPadding:s,...c})=>r.jsxs(Li,{$orientation:n,$dir:o,$addLabelPadding:s,...c,children:[r.jsxs(Ps,{children:[a,!!i&&i!==!0&&r.jsx(Fs,{children:i})]}),t&&r.jsx(Zo,{htmlFor:e,error:!!i,children:t})]}),Qy=({alignItems:e="stretch",alignContent:t="stretch",children:n,columnGap:o,gap:i,gridAutoColumns:a,gridAutoFlow:s,gridAutoRows:c,gridTemplateAreas:u,gridTemplateColumns:g,gridTemplateRows:C,gridTemplate:v,inline:y=!1,isResponsive:_=!0,justifyContent:M="stretch",justifyItems:E="stretch",rowGap:I,height:j,maxHeight:R,minHeight:P,fillWidth:B=!0,maxWidth:D,minWidth:H,overflow:A,...G})=>r.jsx(ek,{$alignItems:e,$alignContent:t,$columnGap:o,$gap:i,$gridAutoColumns:a,$gridAutoFlow:s,$gridAutoRows:c,$gridTemplateAreas:u,$gridTemplateColumns:g,$gridTemplateRows:C,$gridTemplate:v,$inline:y,$isResponsive:_,$justifyContent:M,$justifyItems:E,$rowGap:I,$height:j,$maxHeight:R,$minHeight:P,$fillWidth:B,$maxWidth:D,$minWidth:H,$overflow:A,"data-testid":"grid-container",...G,children:n}),ek=W.div.withConfig({componentId:"sc-r57kdn-0"})(["align-items:",";align-content:",";display:",";",";",";",";",";",";",";",";justify-content:",";justify-items:",";"," "," "," "," @media (max-width:","){grid-template-columns:",";}"],({$alignItems:e="stretch"})=>e,({$alignContent:e="stretch"})=>e,({$inline:e})=>e===!0?"inline-grid":"grid",({$gridAutoColumns:e})=>e&&`grid-auto-columns: ${e}`,({$gridAutoFlow:e})=>e&&`grid-auto-flow: ${e}`,({$gridAutoRows:e})=>e&&`grid-auto-rows: ${e}`,({$gridTemplateAreas:e})=>e&&`grid-template-area: ${e}`,({$gridTemplateColumns:e})=>e&&`grid-template-columns: ${e}`,({$gridTemplateRows:e})=>e&&`grid-template-rows: ${e}`,({$gridTemplate:e})=>e&&`grid-template: ${e}`,({$justifyContent:e="stretch"})=>e,({$justifyItems:e="stretch"})=>e,({theme:e,$gap:t,$columnGap:n,$rowGap:o})=>`
510
510
  gap: ${t?e.click.gridContainer.gap[t]:"inherit"};
511
511
  ${n&&`column-gap: ${e.click.gridContainer.gap[n]}`};
512
512
  ${o&&`row-gap: ${e.click.gridContainer.gap[o]}`};
@@ -547,7 +547,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),gt=de,Ge=xe);const Ce=
547
547
  margin-left: 1rem;
548
548
  }
549
549
  }
550
- `:""),S7=({sub:e,children:t,showArrow:n,...o})=>{const i=e?$k:xk;return r.jsx(Ck,{children:r.jsxs(Mk,{$type:"context-menu",$showArrow:n,as:i,...o,children:[n&&r.jsx(ac,{asChild:!0,as:kk,width:20,height:10,children:r.jsx(lc,{className:"popover-arrow"})}),t]})})};S7.displayName="ContextMenuContent",Ir.Content=S7;const jk=W(wk).withConfig({componentId:"sc-8z6kye-1"})(["width:100%;border-bottom:1px solid ",";"],({theme:e})=>e.click.genericMenu.item.color.stroke.default),L7=e=>r.jsx(jk,{...e});L7.displayName="ContextMenuGroup",Ir.Group=L7;const Ek=W(Sk).withConfig({componentId:"sc-8z6kye-2"})(["border-bottom:1px solid ",";"],({theme:e})=>e.click.genericMenu.item.color.stroke.default),$7=({...e})=>r.jsx(Ek,{...e});$7.displayName="ContextMenuSub",Ir.Sub=$7;const M7=({icon:e,iconDir:t,children:n,...o})=>r.jsx(al,{as:yk,...o,children:r.jsx(Er,{icon:e,iconDir:t,children:n})});M7.displayName="ContextMenuItem",Ir.Item=M7;function _k(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,x0(e,t)}var j7=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Ik(e,t){return!!(e===t||j7(e)&&j7(t))}function Tk(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Ik(e[n],t[n]))return!1;return!0}function L0(e,t){t===void 0&&(t=Tk);var n,o=[],i,a=!1;function s(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return a&&n===this&&t(c,o)||(i=e.apply(this,c),a=!0,n=this,o=c),i}return s}var Fk=typeof performance=="object"&&typeof performance.now=="function",E7=Fk?function(){return performance.now()}:function(){return Date.now()};function _7(e){cancelAnimationFrame(e.id)}function Ok(e,t){var n=E7();function o(){E7()-n>=t?e.call(null):i.id=requestAnimationFrame(o)}var i={id:requestAnimationFrame(o)};return i}var $0=-1;function Pk(e){if(e===void 0&&(e=!1),$0===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),$0=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return $0}var O1=null;function I7(e){if(e===void 0&&(e=!1),O1===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var o=document.createElement("div"),i=o.style;return i.width="100px",i.height="100px",t.appendChild(o),document.body.appendChild(t),t.scrollLeft>0?O1="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?O1="negative":O1="positive-ascending"),document.body.removeChild(t),O1}return O1}var Hk=150,Dk=function(t){var n=t.columnIndex;t.data;var o=t.rowIndex;return o+":"+n},xc=null,wc=null,yc=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(xc=new WeakSet,wc=new WeakSet,yc=new WeakSet);function Ak(e){var t,n=e.getColumnOffset,o=e.getColumnStartIndexForOffset,i=e.getColumnStopIndexForStartIndex,a=e.getColumnWidth,s=e.getEstimatedTotalHeight,c=e.getEstimatedTotalWidth,u=e.getOffsetForColumnAndAlignment,g=e.getOffsetForRowAndAlignment,C=e.getRowHeight,v=e.getRowOffset,y=e.getRowStartIndexForOffset,E=e.getRowStopIndexForStartIndex,M=e.initInstanceProps,_=e.shouldResetStyleCacheOnItemSizeChange,I=e.validateProps;return t=function(j){_k(R,j);function R(B){var D;return D=j.call(this,B)||this,D._instanceProps=M(D.props,U6(D)),D._resetIsScrollingTimeoutId=null,D._outerRef=void 0,D.state={instance:U6(D),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:typeof D.props.initialScrollLeft=="number"?D.props.initialScrollLeft:0,scrollTop:typeof D.props.initialScrollTop=="number"?D.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},D._callOnItemsRendered=void 0,D._callOnItemsRendered=L0(function(H,A,G,K,Q,le,se,fe){return D.props.onItemsRendered({overscanColumnStartIndex:H,overscanColumnStopIndex:A,overscanRowStartIndex:G,overscanRowStopIndex:K,visibleColumnStartIndex:Q,visibleColumnStopIndex:le,visibleRowStartIndex:se,visibleRowStopIndex:fe})}),D._callOnScroll=void 0,D._callOnScroll=L0(function(H,A,G,K,Q){return D.props.onScroll({horizontalScrollDirection:G,scrollLeft:H,scrollTop:A,verticalScrollDirection:K,scrollUpdateWasRequested:Q})}),D._getItemStyle=void 0,D._getItemStyle=function(H,A){var G=D.props,K=G.columnWidth,Q=G.direction,le=G.rowHeight,se=D._getItemStyleCache(_&&K,_&&Q,_&&le),fe=H+":"+A,te;if(se.hasOwnProperty(fe))te=se[fe];else{var ge=n(D.props,A,D._instanceProps),ie=Q==="rtl";se[fe]=te={position:"absolute",left:ie?void 0:ge,right:ie?ge:void 0,top:v(D.props,H,D._instanceProps),height:C(D.props,H,D._instanceProps),width:a(D.props,A,D._instanceProps)}}return te},D._getItemStyleCache=void 0,D._getItemStyleCache=L0(function(H,A,G){return{}}),D._onScroll=function(H){var A=H.currentTarget,G=A.clientHeight,K=A.clientWidth,Q=A.scrollLeft,le=A.scrollTop,se=A.scrollHeight,fe=A.scrollWidth;D.setState(function(te){if(te.scrollLeft===Q&&te.scrollTop===le)return null;var ge=D.props.direction,ie=Q;if(ge==="rtl")switch(I7()){case"negative":ie=-Q;break;case"positive-descending":ie=fe-K-Q;break}ie=Math.max(0,Math.min(ie,fe-K));var me=Math.max(0,Math.min(le,se-G));return{isScrolling:!0,horizontalScrollDirection:te.scrollLeft<Q?"forward":"backward",scrollLeft:ie,scrollTop:me,verticalScrollDirection:te.scrollTop<le?"forward":"backward",scrollUpdateWasRequested:!1}},D._resetIsScrollingDebounced)},D._outerRefSetter=function(H){var A=D.props.outerRef;D._outerRef=H,typeof A=="function"?A(H):A!=null&&typeof A=="object"&&A.hasOwnProperty("current")&&(A.current=H)},D._resetIsScrollingDebounced=function(){D._resetIsScrollingTimeoutId!==null&&_7(D._resetIsScrollingTimeoutId),D._resetIsScrollingTimeoutId=Ok(D._resetIsScrolling,Hk)},D._resetIsScrolling=function(){D._resetIsScrollingTimeoutId=null,D.setState({isScrolling:!1},function(){D._getItemStyleCache(-1)})},D}R.getDerivedStateFromProps=function(D,H){return Rk(D,H),I(D),null};var P=R.prototype;return P.scrollTo=function(D){var H=D.scrollLeft,A=D.scrollTop;H!==void 0&&(H=Math.max(0,H)),A!==void 0&&(A=Math.max(0,A)),this.setState(function(G){return H===void 0&&(H=G.scrollLeft),A===void 0&&(A=G.scrollTop),G.scrollLeft===H&&G.scrollTop===A?null:{horizontalScrollDirection:G.scrollLeft<H?"forward":"backward",scrollLeft:H,scrollTop:A,scrollUpdateWasRequested:!0,verticalScrollDirection:G.scrollTop<A?"forward":"backward"}},this._resetIsScrollingDebounced)},P.scrollToItem=function(D){var H=D.align,A=H===void 0?"auto":H,G=D.columnIndex,K=D.rowIndex,Q=this.props,le=Q.columnCount,se=Q.height,fe=Q.rowCount,te=Q.width,ge=this.state,ie=ge.scrollLeft,me=ge.scrollTop,ye=Pk();G!==void 0&&(G=Math.max(0,Math.min(G,le-1))),K!==void 0&&(K=Math.max(0,Math.min(K,fe-1)));var pe=s(this.props,this._instanceProps),Me=c(this.props,this._instanceProps),Se=Me>te?ye:0,De=pe>se?ye:0;this.scrollTo({scrollLeft:G!==void 0?u(this.props,G,A,ie,this._instanceProps,De):ie,scrollTop:K!==void 0?g(this.props,K,A,me,this._instanceProps,Se):me})},P.componentDidMount=function(){var D=this.props,H=D.initialScrollLeft,A=D.initialScrollTop;if(this._outerRef!=null){var G=this._outerRef;typeof H=="number"&&(G.scrollLeft=H),typeof A=="number"&&(G.scrollTop=A)}this._callPropsCallbacks()},P.componentDidUpdate=function(){var D=this.props.direction,H=this.state,A=H.scrollLeft,G=H.scrollTop,K=H.scrollUpdateWasRequested;if(K&&this._outerRef!=null){var Q=this._outerRef;if(D==="rtl")switch(I7()){case"negative":Q.scrollLeft=-A;break;case"positive-ascending":Q.scrollLeft=A;break;default:var le=Q.clientWidth,se=Q.scrollWidth;Q.scrollLeft=se-le-A;break}else Q.scrollLeft=Math.max(0,A);Q.scrollTop=Math.max(0,G)}this._callPropsCallbacks()},P.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&_7(this._resetIsScrollingTimeoutId)},P.render=function(){var D=this.props,H=D.children,A=D.className,G=D.columnCount,K=D.direction,Q=D.height,le=D.innerRef,se=D.innerElementType,fe=D.innerTagName,te=D.itemData,ge=D.itemKey,ie=ge===void 0?Dk:ge,me=D.outerElementType,ye=D.outerTagName,pe=D.rowCount,Me=D.style,Se=D.useIsScrolling,De=D.width,de=this.state.isScrolling,xe=this._getHorizontalRangeToRender(),Ie=xe[0],Te=xe[1],Ge=this._getVerticalRangeToRender(),gt=Ge[0],Ce=Ge[1],Fe=[];if(G>0&&pe)for(var Oe=gt;Oe<=Ce;Oe++)for(var Ye=Ie;Ye<=Te;Ye++)Fe.push(p.createElement(H,{columnIndex:Ye,data:te,isScrolling:Se?de:void 0,key:ie({columnIndex:Ye,data:te,rowIndex:Oe}),rowIndex:Oe,style:this._getItemStyle(Oe,Ye)}));var Xe=s(this.props,this._instanceProps),We=c(this.props,this._instanceProps);return p.createElement(me||ye||"div",{className:A,onScroll:this._onScroll,ref:this._outerRefSetter,style:ue({position:"relative",height:Q,width:De,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:K},Me)},p.createElement(se||fe||"div",{children:Fe,ref:le,style:{height:Xe,pointerEvents:de?"none":void 0,width:We}}))},P._callPropsCallbacks=function(){var D=this.props,H=D.columnCount,A=D.onItemsRendered,G=D.onScroll,K=D.rowCount;if(typeof A=="function"&&H>0&&K>0){var Q=this._getHorizontalRangeToRender(),le=Q[0],se=Q[1],fe=Q[2],te=Q[3],ge=this._getVerticalRangeToRender(),ie=ge[0],me=ge[1],ye=ge[2],pe=ge[3];this._callOnItemsRendered(le,se,ie,me,fe,te,ye,pe)}if(typeof G=="function"){var Me=this.state,Se=Me.horizontalScrollDirection,De=Me.scrollLeft,de=Me.scrollTop,xe=Me.scrollUpdateWasRequested,Ie=Me.verticalScrollDirection;this._callOnScroll(De,de,Se,Ie,xe)}},P._getHorizontalRangeToRender=function(){var D=this.props,H=D.columnCount,A=D.overscanColumnCount,G=D.overscanColumnsCount,K=D.overscanCount,Q=D.rowCount,le=this.state,se=le.horizontalScrollDirection,fe=le.isScrolling,te=le.scrollLeft,ge=A||G||K||1;if(H===0||Q===0)return[0,0,0,0];var ie=o(this.props,te,this._instanceProps),me=i(this.props,ie,te,this._instanceProps),ye=!fe||se==="backward"?Math.max(1,ge):1,pe=!fe||se==="forward"?Math.max(1,ge):1;return[Math.max(0,ie-ye),Math.max(0,Math.min(H-1,me+pe)),ie,me]},P._getVerticalRangeToRender=function(){var D=this.props,H=D.columnCount,A=D.overscanCount,G=D.overscanRowCount,K=D.overscanRowsCount,Q=D.rowCount,le=this.state,se=le.isScrolling,fe=le.verticalScrollDirection,te=le.scrollTop,ge=G||K||A||1;if(H===0||Q===0)return[0,0,0,0];var ie=y(this.props,te,this._instanceProps),me=E(this.props,ie,te,this._instanceProps),ye=!se||fe==="backward"?Math.max(1,ge):1,pe=!se||fe==="forward"?Math.max(1,ge):1;return[Math.max(0,ie-ye),Math.max(0,Math.min(Q-1,me+pe)),ie,me]},R}(p.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var Rk=function(t,n){var o=t.children,i=t.direction,a=t.height,s=t.innerTagName,c=t.outerTagName,u=t.overscanColumnsCount,g=t.overscanCount,C=t.overscanRowsCount,v=t.width,y=n.instance;if(process.env.NODE_ENV!=="production"){if(typeof g=="number"&&xc&&!xc.has(y)&&(xc.add(y),console.warn("The overscanCount prop has been deprecated. Please use the overscanColumnCount and overscanRowCount props instead.")),(typeof u=="number"||typeof C=="number")&&wc&&!wc.has(y)&&(wc.add(y),console.warn("The overscanColumnsCount and overscanRowsCount props have been deprecated. Please use the overscanColumnCount and overscanRowCount props instead.")),(s!=null||c!=null)&&yc&&!yc.has(y)&&(yc.add(y),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead.")),o==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(o===null?"null":typeof o)+'" was specified.'));switch(i){case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+i+'" was specified.'))}if(typeof v!="number")throw Error('An invalid "width" prop has been specified. Grids must specify a number for width. '+('"'+(v===null?"null":typeof v)+'" was specified.'));if(typeof a!="number")throw Error('An invalid "height" prop has been specified. Grids must specify a number for height. '+('"'+(a===null?"null":typeof a)+'" was specified.'))}},T7=50,F7=function(t,n){var o=t.rowCount,i=n.rowMetadataMap,a=n.estimatedRowHeight,s=n.lastMeasuredRowIndex,c=0;if(s>=o&&(s=o-1),s>=0){var u=i[s];c=u.offset+u.size}var g=o-s-1,C=g*a;return c+C},O7=function(t,n){var o=t.columnCount,i=n.columnMetadataMap,a=n.estimatedColumnWidth,s=n.lastMeasuredColumnIndex,c=0;if(s>=o&&(s=o-1),s>=0){var u=i[s];c=u.offset+u.size}var g=o-s-1,C=g*a;return c+C},wo=function(t,n,o,i){var a,s,c;if(t==="column"?(a=i.columnMetadataMap,s=n.columnWidth,c=i.lastMeasuredColumnIndex):(a=i.rowMetadataMap,s=n.rowHeight,c=i.lastMeasuredRowIndex),o>c){var u=0;if(c>=0){var g=a[c];u=g.offset+g.size}for(var C=c+1;C<=o;C++){var v=s(C);a[C]={offset:u,size:v},u+=v}t==="column"?i.lastMeasuredColumnIndex=o:i.lastMeasuredRowIndex=o}return a[o]},P7=function(t,n,o,i){var a,s;t==="column"?(a=o.columnMetadataMap,s=o.lastMeasuredColumnIndex):(a=o.rowMetadataMap,s=o.lastMeasuredRowIndex);var c=s>0?a[s].offset:0;return c>=i?H7(t,n,o,s,0,i):Vk(t,n,o,Math.max(0,s),i)},H7=function(t,n,o,i,a,s){for(;a<=i;){var c=a+Math.floor((i-a)/2),u=wo(t,n,c,o).offset;if(u===s)return c;u<s?a=c+1:u>s&&(i=c-1)}return a>0?a-1:0},Vk=function(t,n,o,i,a){for(var s=t==="column"?n.columnCount:n.rowCount,c=1;i<s&&wo(t,n,i,o).offset<a;)i+=c,c*=2;return H7(t,n,o,Math.min(i,s-1),Math.floor(i/2),a)},D7=function(t,n,o,i,a,s,c){var u=t==="column"?n.width:n.height,g=wo(t,n,o,s),C=t==="column"?O7(n,s):F7(n,s),v=Math.max(0,Math.min(C-u,g.offset)),y=Math.max(0,g.offset-u+c+g.size);switch(i==="smart"&&(a>=y-u&&a<=v+u?i="auto":i="center"),i){case"start":return v;case"end":return y;case"center":return Math.round(y+(v-y)/2);case"auto":default:return a>=y&&a<=v?a:y>v||a<y?y:v}},Bk=Ak({getColumnOffset:function(t,n,o){return wo("column",t,n,o).offset},getColumnStartIndexForOffset:function(t,n,o){return P7("column",t,o,n)},getColumnStopIndexForStartIndex:function(t,n,o,i){for(var a=t.columnCount,s=t.width,c=wo("column",t,n,i),u=o+s,g=c.offset+c.size,C=n;C<a-1&&g<u;)C++,g+=wo("column",t,C,i).size;return C},getColumnWidth:function(t,n,o){return o.columnMetadataMap[n].size},getEstimatedTotalHeight:F7,getEstimatedTotalWidth:O7,getOffsetForColumnAndAlignment:function(t,n,o,i,a,s){return D7("column",t,n,o,i,a,s)},getOffsetForRowAndAlignment:function(t,n,o,i,a,s){return D7("row",t,n,o,i,a,s)},getRowOffset:function(t,n,o){return wo("row",t,n,o).offset},getRowHeight:function(t,n,o){return o.rowMetadataMap[n].size},getRowStartIndexForOffset:function(t,n,o){return P7("row",t,o,n)},getRowStopIndexForStartIndex:function(t,n,o,i){for(var a=t.rowCount,s=t.height,c=wo("row",t,n,i),u=o+s,g=c.offset+c.size,C=n;C<a-1&&g<u;)C++,g+=wo("row",t,C,i).size;return C},initInstanceProps:function(t,n){var o=t,i=o.estimatedColumnWidth,a=o.estimatedRowHeight,s={columnMetadataMap:{},estimatedColumnWidth:i||T7,estimatedRowHeight:a||T7,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return n.resetAfterColumnIndex=function(c,u){u===void 0&&(u=!0),n.resetAfterIndices({columnIndex:c,shouldForceUpdate:u})},n.resetAfterRowIndex=function(c,u){u===void 0&&(u=!0),n.resetAfterIndices({rowIndex:c,shouldForceUpdate:u})},n.resetAfterIndices=function(c){var u=c.columnIndex,g=c.rowIndex,C=c.shouldForceUpdate,v=C===void 0?!0:C;typeof u=="number"&&(s.lastMeasuredColumnIndex=Math.min(s.lastMeasuredColumnIndex,u-1)),typeof g=="number"&&(s.lastMeasuredRowIndex=Math.min(s.lastMeasuredRowIndex,g-1)),n._getItemStyleCache(-1),v&&n.forceUpdate()},s},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){var n=t.columnWidth,o=t.rowHeight;if(process.env.NODE_ENV!=="production"){if(typeof n!="function")throw Error('An invalid "columnWidth" prop has been specified. Value should be a function. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(typeof o!="function")throw Error('An invalid "rowHeight" prop has been specified. Value should be a function. '+('"'+(o===null?"null":typeof o)+'" was specified.'))}}});process.env.NODE_ENV;function A7(e,t){for(var n in e)if(!(n in t))return!0;for(var o in t)if(e[o]!==t[o])return!0;return!1}var Nk=["style"],Zk=["style"];function Uk(e,t){var n=e.style,o=a0(e,Nk),i=t.style,a=a0(t,Zk);return!A7(n,i)&&!A7(o,a)}let gr;typeof window<"u"?gr=window:typeof self<"u"?gr=self:gr=global;let M0=null,j0=null;const R7=20,E0=gr.clearTimeout,V7=gr.setTimeout,_0=gr.cancelAnimationFrame||gr.mozCancelAnimationFrame||gr.webkitCancelAnimationFrame,B7=gr.requestAnimationFrame||gr.mozRequestAnimationFrame||gr.webkitRequestAnimationFrame;_0==null||B7==null?(M0=E0,j0=function(t){return V7(t,R7)}):(M0=function([t,n]){_0(t),E0(n)},j0=function(t){const n=B7(function(){E0(o),t()}),o=V7(function(){_0(n),t()},R7);return[n,o]});function Wk(e){let t,n,o,i,a,s,c;const u=typeof document<"u"&&document.attachEvent;if(!u){s=function(j){const R=j.__resizeTriggers__,P=R.firstElementChild,B=R.lastElementChild,D=P.firstElementChild;B.scrollLeft=B.scrollWidth,B.scrollTop=B.scrollHeight,D.style.width=P.offsetWidth+1+"px",D.style.height=P.offsetHeight+1+"px",P.scrollLeft=P.scrollWidth,P.scrollTop=P.scrollHeight},a=function(j){return j.offsetWidth!==j.__resizeLast__.width||j.offsetHeight!==j.__resizeLast__.height},c=function(j){if(j.target.className&&typeof j.target.className.indexOf=="function"&&j.target.className.indexOf("contract-trigger")<0&&j.target.className.indexOf("expand-trigger")<0)return;const R=this;s(this),this.__resizeRAF__&&M0(this.__resizeRAF__),this.__resizeRAF__=j0(function(){a(R)&&(R.__resizeLast__.width=R.offsetWidth,R.__resizeLast__.height=R.offsetHeight,R.__resizeListeners__.forEach(function(D){D.call(R,j)}))})};let y=!1,E="";o="animationstart";const M="Webkit Moz O ms".split(" ");let _="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),I="";{const j=document.createElement("fakeelement");if(j.style.animationName!==void 0&&(y=!0),y===!1){for(let R=0;R<M.length;R++)if(j.style[M[R]+"AnimationName"]!==void 0){I=M[R],E="-"+I.toLowerCase()+"-",o=_[R],y=!0;break}}}n="resizeanim",t="@"+E+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",i=E+"animation: 1ms "+n+"; "}const g=function(y){if(!y.getElementById("detectElementResize")){const E=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',M=y.head||y.getElementsByTagName("head")[0],_=y.createElement("style");_.id="detectElementResize",_.type="text/css",e!=null&&_.setAttribute("nonce",e),_.styleSheet?_.styleSheet.cssText=E:_.appendChild(y.createTextNode(E)),M.appendChild(_)}};return{addResizeListener:function(y,E){if(u)y.attachEvent("onresize",E);else{if(!y.__resizeTriggers__){const M=y.ownerDocument,_=gr.getComputedStyle(y);_&&_.position==="static"&&(y.style.position="relative"),g(M),y.__resizeLast__={},y.__resizeListeners__=[],(y.__resizeTriggers__=M.createElement("div")).className="resize-triggers";const I=M.createElement("div");I.className="expand-trigger",I.appendChild(M.createElement("div"));const j=M.createElement("div");j.className="contract-trigger",y.__resizeTriggers__.appendChild(I),y.__resizeTriggers__.appendChild(j),y.appendChild(y.__resizeTriggers__),s(y),y.addEventListener("scroll",c,!0),o&&(y.__resizeTriggers__.__animationListener__=function(P){P.animationName===n&&s(y)},y.__resizeTriggers__.addEventListener(o,y.__resizeTriggers__.__animationListener__))}y.__resizeListeners__.push(E)}},removeResizeListener:function(y,E){if(u)y.detachEvent("onresize",E);else if(y.__resizeListeners__.splice(y.__resizeListeners__.indexOf(E),1),!y.__resizeListeners__.length){y.removeEventListener("scroll",c,!0),y.__resizeTriggers__.__animationListener__&&(y.__resizeTriggers__.removeEventListener(o,y.__resizeTriggers__.__animationListener__),y.__resizeTriggers__.__animationListener__=null);try{y.__resizeTriggers__=!y.removeChild(y.__resizeTriggers__)}catch{}}}}}class zk extends p.Component{constructor(...t){super(...t),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:n,disableWidth:o,onResize:i}=this.props;if(this._parentNode){var a,s,c,u;const g=window.getComputedStyle(this._parentNode)||{},C=parseFloat((a=g.paddingLeft)!==null&&a!==void 0?a:"0"),v=parseFloat((s=g.paddingRight)!==null&&s!==void 0?s:"0"),y=parseFloat((c=g.paddingTop)!==null&&c!==void 0?c:"0"),E=parseFloat((u=g.paddingBottom)!==null&&u!==void 0?u:"0"),M=this._parentNode.getBoundingClientRect(),_=M.height-y-E,I=M.width-C-v,j=this._parentNode.offsetHeight-y-E,R=this._parentNode.offsetWidth-C-v;(!n&&(this.state.height!==j||this.state.scaledHeight!==_)||!o&&(this.state.width!==R||this.state.scaledWidth!==I))&&(this.setState({height:j,width:R,scaledHeight:_,scaledWidth:I}),typeof i=="function"&&i({height:j,scaledHeight:_,scaledWidth:I,width:R}))}},this._setRef=n=>{this._autoSizer=n}}componentDidMount(){const{nonce:t}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._parentNode!=null&&(typeof ResizeObserver<"u"?(this._resizeObserver=new ResizeObserver(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=Wk(t),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:t,defaultHeight:n,defaultWidth:o,disableHeight:i=!1,disableWidth:a=!1,nonce:s,onResize:c,style:u={},tagName:g="div",...C}=this.props,{height:v,scaledHeight:y,scaledWidth:E,width:M}=this.state,_={overflow:"visible"},I={};let j=!1;return i||(v===0&&(j=!0),_.height=0,I.height=v,I.scaledHeight=y),a||(M===0&&(j=!0),_.width=0,I.width=M,I.scaledWidth=E),p.createElement(g,{ref:this._setRef,style:{..._,...u},...C},!j&&t(I))}}const kc=W.div.withConfig({componentId:"sc-30izhw-0"})(['display:block;text-align:left;&[data-align="right"]{text-align:right;}overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;width:100%;box-sizing:border-box;'," ",";"],({theme:e,$isFocused:t,$isLastRow:n,$isLastColumn:o,$selectionType:i,$height:a,$type:s="body",$showBorder:c})=>`
550
+ `:""),S7=({sub:e,children:t,showArrow:n,...o})=>{const i=e?$k:xk;return r.jsx(Ck,{children:r.jsxs(Mk,{$type:"context-menu",$showArrow:n,as:i,...o,children:[n&&r.jsx(ac,{asChild:!0,as:kk,width:20,height:10,children:r.jsx(lc,{className:"popover-arrow"})}),t]})})};S7.displayName="ContextMenuContent",Ir.Content=S7;const jk=W(wk).withConfig({componentId:"sc-8z6kye-1"})(["width:100%;border-bottom:1px solid ",";"],({theme:e})=>e.click.genericMenu.item.color.stroke.default),L7=e=>r.jsx(jk,{...e});L7.displayName="ContextMenuGroup",Ir.Group=L7;const Ek=W(Sk).withConfig({componentId:"sc-8z6kye-2"})(["border-bottom:1px solid ",";"],({theme:e})=>e.click.genericMenu.item.color.stroke.default),$7=({...e})=>r.jsx(Ek,{...e});$7.displayName="ContextMenuSub",Ir.Sub=$7;const M7=({icon:e,iconDir:t,children:n,...o})=>r.jsx(al,{as:yk,...o,children:r.jsx(Er,{icon:e,iconDir:t,children:n})});M7.displayName="ContextMenuItem",Ir.Item=M7;function _k(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,x0(e,t)}var j7=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Ik(e,t){return!!(e===t||j7(e)&&j7(t))}function Tk(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Ik(e[n],t[n]))return!1;return!0}function L0(e,t){t===void 0&&(t=Tk);var n,o=[],i,a=!1;function s(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return a&&n===this&&t(c,o)||(i=e.apply(this,c),a=!0,n=this,o=c),i}return s}var Fk=typeof performance=="object"&&typeof performance.now=="function",E7=Fk?function(){return performance.now()}:function(){return Date.now()};function _7(e){cancelAnimationFrame(e.id)}function Ok(e,t){var n=E7();function o(){E7()-n>=t?e.call(null):i.id=requestAnimationFrame(o)}var i={id:requestAnimationFrame(o)};return i}var $0=-1;function Pk(e){if(e===void 0&&(e=!1),$0===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),$0=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return $0}var O1=null;function I7(e){if(e===void 0&&(e=!1),O1===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var o=document.createElement("div"),i=o.style;return i.width="100px",i.height="100px",t.appendChild(o),document.body.appendChild(t),t.scrollLeft>0?O1="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?O1="negative":O1="positive-ascending"),document.body.removeChild(t),O1}return O1}var Hk=150,Dk=function(t){var n=t.columnIndex;t.data;var o=t.rowIndex;return o+":"+n},xc=null,wc=null,yc=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(xc=new WeakSet,wc=new WeakSet,yc=new WeakSet);function Ak(e){var t,n=e.getColumnOffset,o=e.getColumnStartIndexForOffset,i=e.getColumnStopIndexForStartIndex,a=e.getColumnWidth,s=e.getEstimatedTotalHeight,c=e.getEstimatedTotalWidth,u=e.getOffsetForColumnAndAlignment,g=e.getOffsetForRowAndAlignment,C=e.getRowHeight,v=e.getRowOffset,y=e.getRowStartIndexForOffset,_=e.getRowStopIndexForStartIndex,M=e.initInstanceProps,E=e.shouldResetStyleCacheOnItemSizeChange,I=e.validateProps;return t=function(j){_k(R,j);function R(B){var D;return D=j.call(this,B)||this,D._instanceProps=M(D.props,U6(D)),D._resetIsScrollingTimeoutId=null,D._outerRef=void 0,D.state={instance:U6(D),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:typeof D.props.initialScrollLeft=="number"?D.props.initialScrollLeft:0,scrollTop:typeof D.props.initialScrollTop=="number"?D.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},D._callOnItemsRendered=void 0,D._callOnItemsRendered=L0(function(H,A,G,K,Q,le,se,fe){return D.props.onItemsRendered({overscanColumnStartIndex:H,overscanColumnStopIndex:A,overscanRowStartIndex:G,overscanRowStopIndex:K,visibleColumnStartIndex:Q,visibleColumnStopIndex:le,visibleRowStartIndex:se,visibleRowStopIndex:fe})}),D._callOnScroll=void 0,D._callOnScroll=L0(function(H,A,G,K,Q){return D.props.onScroll({horizontalScrollDirection:G,scrollLeft:H,scrollTop:A,verticalScrollDirection:K,scrollUpdateWasRequested:Q})}),D._getItemStyle=void 0,D._getItemStyle=function(H,A){var G=D.props,K=G.columnWidth,Q=G.direction,le=G.rowHeight,se=D._getItemStyleCache(E&&K,E&&Q,E&&le),fe=H+":"+A,te;if(se.hasOwnProperty(fe))te=se[fe];else{var ge=n(D.props,A,D._instanceProps),ie=Q==="rtl";se[fe]=te={position:"absolute",left:ie?void 0:ge,right:ie?ge:void 0,top:v(D.props,H,D._instanceProps),height:C(D.props,H,D._instanceProps),width:a(D.props,A,D._instanceProps)}}return te},D._getItemStyleCache=void 0,D._getItemStyleCache=L0(function(H,A,G){return{}}),D._onScroll=function(H){var A=H.currentTarget,G=A.clientHeight,K=A.clientWidth,Q=A.scrollLeft,le=A.scrollTop,se=A.scrollHeight,fe=A.scrollWidth;D.setState(function(te){if(te.scrollLeft===Q&&te.scrollTop===le)return null;var ge=D.props.direction,ie=Q;if(ge==="rtl")switch(I7()){case"negative":ie=-Q;break;case"positive-descending":ie=fe-K-Q;break}ie=Math.max(0,Math.min(ie,fe-K));var me=Math.max(0,Math.min(le,se-G));return{isScrolling:!0,horizontalScrollDirection:te.scrollLeft<Q?"forward":"backward",scrollLeft:ie,scrollTop:me,verticalScrollDirection:te.scrollTop<le?"forward":"backward",scrollUpdateWasRequested:!1}},D._resetIsScrollingDebounced)},D._outerRefSetter=function(H){var A=D.props.outerRef;D._outerRef=H,typeof A=="function"?A(H):A!=null&&typeof A=="object"&&A.hasOwnProperty("current")&&(A.current=H)},D._resetIsScrollingDebounced=function(){D._resetIsScrollingTimeoutId!==null&&_7(D._resetIsScrollingTimeoutId),D._resetIsScrollingTimeoutId=Ok(D._resetIsScrolling,Hk)},D._resetIsScrolling=function(){D._resetIsScrollingTimeoutId=null,D.setState({isScrolling:!1},function(){D._getItemStyleCache(-1)})},D}R.getDerivedStateFromProps=function(D,H){return Rk(D,H),I(D),null};var P=R.prototype;return P.scrollTo=function(D){var H=D.scrollLeft,A=D.scrollTop;H!==void 0&&(H=Math.max(0,H)),A!==void 0&&(A=Math.max(0,A)),this.setState(function(G){return H===void 0&&(H=G.scrollLeft),A===void 0&&(A=G.scrollTop),G.scrollLeft===H&&G.scrollTop===A?null:{horizontalScrollDirection:G.scrollLeft<H?"forward":"backward",scrollLeft:H,scrollTop:A,scrollUpdateWasRequested:!0,verticalScrollDirection:G.scrollTop<A?"forward":"backward"}},this._resetIsScrollingDebounced)},P.scrollToItem=function(D){var H=D.align,A=H===void 0?"auto":H,G=D.columnIndex,K=D.rowIndex,Q=this.props,le=Q.columnCount,se=Q.height,fe=Q.rowCount,te=Q.width,ge=this.state,ie=ge.scrollLeft,me=ge.scrollTop,ye=Pk();G!==void 0&&(G=Math.max(0,Math.min(G,le-1))),K!==void 0&&(K=Math.max(0,Math.min(K,fe-1)));var pe=s(this.props,this._instanceProps),Me=c(this.props,this._instanceProps),Se=Me>te?ye:0,De=pe>se?ye:0;this.scrollTo({scrollLeft:G!==void 0?u(this.props,G,A,ie,this._instanceProps,De):ie,scrollTop:K!==void 0?g(this.props,K,A,me,this._instanceProps,Se):me})},P.componentDidMount=function(){var D=this.props,H=D.initialScrollLeft,A=D.initialScrollTop;if(this._outerRef!=null){var G=this._outerRef;typeof H=="number"&&(G.scrollLeft=H),typeof A=="number"&&(G.scrollTop=A)}this._callPropsCallbacks()},P.componentDidUpdate=function(){var D=this.props.direction,H=this.state,A=H.scrollLeft,G=H.scrollTop,K=H.scrollUpdateWasRequested;if(K&&this._outerRef!=null){var Q=this._outerRef;if(D==="rtl")switch(I7()){case"negative":Q.scrollLeft=-A;break;case"positive-ascending":Q.scrollLeft=A;break;default:var le=Q.clientWidth,se=Q.scrollWidth;Q.scrollLeft=se-le-A;break}else Q.scrollLeft=Math.max(0,A);Q.scrollTop=Math.max(0,G)}this._callPropsCallbacks()},P.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&_7(this._resetIsScrollingTimeoutId)},P.render=function(){var D=this.props,H=D.children,A=D.className,G=D.columnCount,K=D.direction,Q=D.height,le=D.innerRef,se=D.innerElementType,fe=D.innerTagName,te=D.itemData,ge=D.itemKey,ie=ge===void 0?Dk:ge,me=D.outerElementType,ye=D.outerTagName,pe=D.rowCount,Me=D.style,Se=D.useIsScrolling,De=D.width,de=this.state.isScrolling,xe=this._getHorizontalRangeToRender(),Ie=xe[0],Te=xe[1],Ge=this._getVerticalRangeToRender(),gt=Ge[0],Ce=Ge[1],Fe=[];if(G>0&&pe)for(var Oe=gt;Oe<=Ce;Oe++)for(var Ye=Ie;Ye<=Te;Ye++)Fe.push(p.createElement(H,{columnIndex:Ye,data:te,isScrolling:Se?de:void 0,key:ie({columnIndex:Ye,data:te,rowIndex:Oe}),rowIndex:Oe,style:this._getItemStyle(Oe,Ye)}));var Xe=s(this.props,this._instanceProps),We=c(this.props,this._instanceProps);return p.createElement(me||ye||"div",{className:A,onScroll:this._onScroll,ref:this._outerRefSetter,style:ue({position:"relative",height:Q,width:De,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:K},Me)},p.createElement(se||fe||"div",{children:Fe,ref:le,style:{height:Xe,pointerEvents:de?"none":void 0,width:We}}))},P._callPropsCallbacks=function(){var D=this.props,H=D.columnCount,A=D.onItemsRendered,G=D.onScroll,K=D.rowCount;if(typeof A=="function"&&H>0&&K>0){var Q=this._getHorizontalRangeToRender(),le=Q[0],se=Q[1],fe=Q[2],te=Q[3],ge=this._getVerticalRangeToRender(),ie=ge[0],me=ge[1],ye=ge[2],pe=ge[3];this._callOnItemsRendered(le,se,ie,me,fe,te,ye,pe)}if(typeof G=="function"){var Me=this.state,Se=Me.horizontalScrollDirection,De=Me.scrollLeft,de=Me.scrollTop,xe=Me.scrollUpdateWasRequested,Ie=Me.verticalScrollDirection;this._callOnScroll(De,de,Se,Ie,xe)}},P._getHorizontalRangeToRender=function(){var D=this.props,H=D.columnCount,A=D.overscanColumnCount,G=D.overscanColumnsCount,K=D.overscanCount,Q=D.rowCount,le=this.state,se=le.horizontalScrollDirection,fe=le.isScrolling,te=le.scrollLeft,ge=A||G||K||1;if(H===0||Q===0)return[0,0,0,0];var ie=o(this.props,te,this._instanceProps),me=i(this.props,ie,te,this._instanceProps),ye=!fe||se==="backward"?Math.max(1,ge):1,pe=!fe||se==="forward"?Math.max(1,ge):1;return[Math.max(0,ie-ye),Math.max(0,Math.min(H-1,me+pe)),ie,me]},P._getVerticalRangeToRender=function(){var D=this.props,H=D.columnCount,A=D.overscanCount,G=D.overscanRowCount,K=D.overscanRowsCount,Q=D.rowCount,le=this.state,se=le.isScrolling,fe=le.verticalScrollDirection,te=le.scrollTop,ge=G||K||A||1;if(H===0||Q===0)return[0,0,0,0];var ie=y(this.props,te,this._instanceProps),me=_(this.props,ie,te,this._instanceProps),ye=!se||fe==="backward"?Math.max(1,ge):1,pe=!se||fe==="forward"?Math.max(1,ge):1;return[Math.max(0,ie-ye),Math.max(0,Math.min(Q-1,me+pe)),ie,me]},R}(p.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var Rk=function(t,n){var o=t.children,i=t.direction,a=t.height,s=t.innerTagName,c=t.outerTagName,u=t.overscanColumnsCount,g=t.overscanCount,C=t.overscanRowsCount,v=t.width,y=n.instance;if(process.env.NODE_ENV!=="production"){if(typeof g=="number"&&xc&&!xc.has(y)&&(xc.add(y),console.warn("The overscanCount prop has been deprecated. Please use the overscanColumnCount and overscanRowCount props instead.")),(typeof u=="number"||typeof C=="number")&&wc&&!wc.has(y)&&(wc.add(y),console.warn("The overscanColumnsCount and overscanRowsCount props have been deprecated. Please use the overscanColumnCount and overscanRowCount props instead.")),(s!=null||c!=null)&&yc&&!yc.has(y)&&(yc.add(y),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead.")),o==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(o===null?"null":typeof o)+'" was specified.'));switch(i){case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+i+'" was specified.'))}if(typeof v!="number")throw Error('An invalid "width" prop has been specified. Grids must specify a number for width. '+('"'+(v===null?"null":typeof v)+'" was specified.'));if(typeof a!="number")throw Error('An invalid "height" prop has been specified. Grids must specify a number for height. '+('"'+(a===null?"null":typeof a)+'" was specified.'))}},T7=50,F7=function(t,n){var o=t.rowCount,i=n.rowMetadataMap,a=n.estimatedRowHeight,s=n.lastMeasuredRowIndex,c=0;if(s>=o&&(s=o-1),s>=0){var u=i[s];c=u.offset+u.size}var g=o-s-1,C=g*a;return c+C},O7=function(t,n){var o=t.columnCount,i=n.columnMetadataMap,a=n.estimatedColumnWidth,s=n.lastMeasuredColumnIndex,c=0;if(s>=o&&(s=o-1),s>=0){var u=i[s];c=u.offset+u.size}var g=o-s-1,C=g*a;return c+C},wo=function(t,n,o,i){var a,s,c;if(t==="column"?(a=i.columnMetadataMap,s=n.columnWidth,c=i.lastMeasuredColumnIndex):(a=i.rowMetadataMap,s=n.rowHeight,c=i.lastMeasuredRowIndex),o>c){var u=0;if(c>=0){var g=a[c];u=g.offset+g.size}for(var C=c+1;C<=o;C++){var v=s(C);a[C]={offset:u,size:v},u+=v}t==="column"?i.lastMeasuredColumnIndex=o:i.lastMeasuredRowIndex=o}return a[o]},P7=function(t,n,o,i){var a,s;t==="column"?(a=o.columnMetadataMap,s=o.lastMeasuredColumnIndex):(a=o.rowMetadataMap,s=o.lastMeasuredRowIndex);var c=s>0?a[s].offset:0;return c>=i?H7(t,n,o,s,0,i):Vk(t,n,o,Math.max(0,s),i)},H7=function(t,n,o,i,a,s){for(;a<=i;){var c=a+Math.floor((i-a)/2),u=wo(t,n,c,o).offset;if(u===s)return c;u<s?a=c+1:u>s&&(i=c-1)}return a>0?a-1:0},Vk=function(t,n,o,i,a){for(var s=t==="column"?n.columnCount:n.rowCount,c=1;i<s&&wo(t,n,i,o).offset<a;)i+=c,c*=2;return H7(t,n,o,Math.min(i,s-1),Math.floor(i/2),a)},D7=function(t,n,o,i,a,s,c){var u=t==="column"?n.width:n.height,g=wo(t,n,o,s),C=t==="column"?O7(n,s):F7(n,s),v=Math.max(0,Math.min(C-u,g.offset)),y=Math.max(0,g.offset-u+c+g.size);switch(i==="smart"&&(a>=y-u&&a<=v+u?i="auto":i="center"),i){case"start":return v;case"end":return y;case"center":return Math.round(y+(v-y)/2);case"auto":default:return a>=y&&a<=v?a:y>v||a<y?y:v}},Bk=Ak({getColumnOffset:function(t,n,o){return wo("column",t,n,o).offset},getColumnStartIndexForOffset:function(t,n,o){return P7("column",t,o,n)},getColumnStopIndexForStartIndex:function(t,n,o,i){for(var a=t.columnCount,s=t.width,c=wo("column",t,n,i),u=o+s,g=c.offset+c.size,C=n;C<a-1&&g<u;)C++,g+=wo("column",t,C,i).size;return C},getColumnWidth:function(t,n,o){return o.columnMetadataMap[n].size},getEstimatedTotalHeight:F7,getEstimatedTotalWidth:O7,getOffsetForColumnAndAlignment:function(t,n,o,i,a,s){return D7("column",t,n,o,i,a,s)},getOffsetForRowAndAlignment:function(t,n,o,i,a,s){return D7("row",t,n,o,i,a,s)},getRowOffset:function(t,n,o){return wo("row",t,n,o).offset},getRowHeight:function(t,n,o){return o.rowMetadataMap[n].size},getRowStartIndexForOffset:function(t,n,o){return P7("row",t,o,n)},getRowStopIndexForStartIndex:function(t,n,o,i){for(var a=t.rowCount,s=t.height,c=wo("row",t,n,i),u=o+s,g=c.offset+c.size,C=n;C<a-1&&g<u;)C++,g+=wo("row",t,C,i).size;return C},initInstanceProps:function(t,n){var o=t,i=o.estimatedColumnWidth,a=o.estimatedRowHeight,s={columnMetadataMap:{},estimatedColumnWidth:i||T7,estimatedRowHeight:a||T7,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return n.resetAfterColumnIndex=function(c,u){u===void 0&&(u=!0),n.resetAfterIndices({columnIndex:c,shouldForceUpdate:u})},n.resetAfterRowIndex=function(c,u){u===void 0&&(u=!0),n.resetAfterIndices({rowIndex:c,shouldForceUpdate:u})},n.resetAfterIndices=function(c){var u=c.columnIndex,g=c.rowIndex,C=c.shouldForceUpdate,v=C===void 0?!0:C;typeof u=="number"&&(s.lastMeasuredColumnIndex=Math.min(s.lastMeasuredColumnIndex,u-1)),typeof g=="number"&&(s.lastMeasuredRowIndex=Math.min(s.lastMeasuredRowIndex,g-1)),n._getItemStyleCache(-1),v&&n.forceUpdate()},s},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){var n=t.columnWidth,o=t.rowHeight;if(process.env.NODE_ENV!=="production"){if(typeof n!="function")throw Error('An invalid "columnWidth" prop has been specified. Value should be a function. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(typeof o!="function")throw Error('An invalid "rowHeight" prop has been specified. Value should be a function. '+('"'+(o===null?"null":typeof o)+'" was specified.'))}}});process.env.NODE_ENV;function A7(e,t){for(var n in e)if(!(n in t))return!0;for(var o in t)if(e[o]!==t[o])return!0;return!1}var Nk=["style"],Zk=["style"];function Uk(e,t){var n=e.style,o=a0(e,Nk),i=t.style,a=a0(t,Zk);return!A7(n,i)&&!A7(o,a)}let gr;typeof window<"u"?gr=window:typeof self<"u"?gr=self:gr=global;let M0=null,j0=null;const R7=20,E0=gr.clearTimeout,V7=gr.setTimeout,_0=gr.cancelAnimationFrame||gr.mozCancelAnimationFrame||gr.webkitCancelAnimationFrame,B7=gr.requestAnimationFrame||gr.mozRequestAnimationFrame||gr.webkitRequestAnimationFrame;_0==null||B7==null?(M0=E0,j0=function(t){return V7(t,R7)}):(M0=function([t,n]){_0(t),E0(n)},j0=function(t){const n=B7(function(){E0(o),t()}),o=V7(function(){_0(n),t()},R7);return[n,o]});function Wk(e){let t,n,o,i,a,s,c;const u=typeof document<"u"&&document.attachEvent;if(!u){s=function(j){const R=j.__resizeTriggers__,P=R.firstElementChild,B=R.lastElementChild,D=P.firstElementChild;B.scrollLeft=B.scrollWidth,B.scrollTop=B.scrollHeight,D.style.width=P.offsetWidth+1+"px",D.style.height=P.offsetHeight+1+"px",P.scrollLeft=P.scrollWidth,P.scrollTop=P.scrollHeight},a=function(j){return j.offsetWidth!==j.__resizeLast__.width||j.offsetHeight!==j.__resizeLast__.height},c=function(j){if(j.target.className&&typeof j.target.className.indexOf=="function"&&j.target.className.indexOf("contract-trigger")<0&&j.target.className.indexOf("expand-trigger")<0)return;const R=this;s(this),this.__resizeRAF__&&M0(this.__resizeRAF__),this.__resizeRAF__=j0(function(){a(R)&&(R.__resizeLast__.width=R.offsetWidth,R.__resizeLast__.height=R.offsetHeight,R.__resizeListeners__.forEach(function(D){D.call(R,j)}))})};let y=!1,_="";o="animationstart";const M="Webkit Moz O ms".split(" ");let E="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),I="";{const j=document.createElement("fakeelement");if(j.style.animationName!==void 0&&(y=!0),y===!1){for(let R=0;R<M.length;R++)if(j.style[M[R]+"AnimationName"]!==void 0){I=M[R],_="-"+I.toLowerCase()+"-",o=E[R],y=!0;break}}}n="resizeanim",t="@"+_+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",i=_+"animation: 1ms "+n+"; "}const g=function(y){if(!y.getElementById("detectElementResize")){const _=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',M=y.head||y.getElementsByTagName("head")[0],E=y.createElement("style");E.id="detectElementResize",E.type="text/css",e!=null&&E.setAttribute("nonce",e),E.styleSheet?E.styleSheet.cssText=_:E.appendChild(y.createTextNode(_)),M.appendChild(E)}};return{addResizeListener:function(y,_){if(u)y.attachEvent("onresize",_);else{if(!y.__resizeTriggers__){const M=y.ownerDocument,E=gr.getComputedStyle(y);E&&E.position==="static"&&(y.style.position="relative"),g(M),y.__resizeLast__={},y.__resizeListeners__=[],(y.__resizeTriggers__=M.createElement("div")).className="resize-triggers";const I=M.createElement("div");I.className="expand-trigger",I.appendChild(M.createElement("div"));const j=M.createElement("div");j.className="contract-trigger",y.__resizeTriggers__.appendChild(I),y.__resizeTriggers__.appendChild(j),y.appendChild(y.__resizeTriggers__),s(y),y.addEventListener("scroll",c,!0),o&&(y.__resizeTriggers__.__animationListener__=function(P){P.animationName===n&&s(y)},y.__resizeTriggers__.addEventListener(o,y.__resizeTriggers__.__animationListener__))}y.__resizeListeners__.push(_)}},removeResizeListener:function(y,_){if(u)y.detachEvent("onresize",_);else if(y.__resizeListeners__.splice(y.__resizeListeners__.indexOf(_),1),!y.__resizeListeners__.length){y.removeEventListener("scroll",c,!0),y.__resizeTriggers__.__animationListener__&&(y.__resizeTriggers__.removeEventListener(o,y.__resizeTriggers__.__animationListener__),y.__resizeTriggers__.__animationListener__=null);try{y.__resizeTriggers__=!y.removeChild(y.__resizeTriggers__)}catch{}}}}}class zk extends p.Component{constructor(...t){super(...t),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:n,disableWidth:o,onResize:i}=this.props;if(this._parentNode){var a,s,c,u;const g=window.getComputedStyle(this._parentNode)||{},C=parseFloat((a=g.paddingLeft)!==null&&a!==void 0?a:"0"),v=parseFloat((s=g.paddingRight)!==null&&s!==void 0?s:"0"),y=parseFloat((c=g.paddingTop)!==null&&c!==void 0?c:"0"),_=parseFloat((u=g.paddingBottom)!==null&&u!==void 0?u:"0"),M=this._parentNode.getBoundingClientRect(),E=M.height-y-_,I=M.width-C-v,j=this._parentNode.offsetHeight-y-_,R=this._parentNode.offsetWidth-C-v;(!n&&(this.state.height!==j||this.state.scaledHeight!==E)||!o&&(this.state.width!==R||this.state.scaledWidth!==I))&&(this.setState({height:j,width:R,scaledHeight:E,scaledWidth:I}),typeof i=="function"&&i({height:j,scaledHeight:E,scaledWidth:I,width:R}))}},this._setRef=n=>{this._autoSizer=n}}componentDidMount(){const{nonce:t}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._parentNode!=null&&(typeof ResizeObserver<"u"?(this._resizeObserver=new ResizeObserver(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=Wk(t),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:t,defaultHeight:n,defaultWidth:o,disableHeight:i=!1,disableWidth:a=!1,nonce:s,onResize:c,style:u={},tagName:g="div",...C}=this.props,{height:v,scaledHeight:y,scaledWidth:_,width:M}=this.state,E={overflow:"visible"},I={};let j=!1;return i||(v===0&&(j=!0),E.height=0,I.height=v,I.scaledHeight=y),a||(M===0&&(j=!0),E.width=0,I.width=M,I.scaledWidth=_),p.createElement(g,{ref:this._setRef,style:{...E,...u},...C},!j&&t(I))}}const kc=W.div.withConfig({componentId:"sc-30izhw-0"})(['display:block;text-align:left;&[data-align="right"]{text-align:right;}overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;width:100%;box-sizing:border-box;'," ",";"],({theme:e,$isFocused:t,$isLastRow:n,$isLastColumn:o,$selectionType:i,$height:a,$type:s="body",$showBorder:c})=>`
551
551
  height: ${a}px;
552
552
  background: ${e.click.grid[s].cell.color.background[i]};
553
553
  color: ${s==="header"?e.click.grid.header.cell.color.title[i]:e.click.grid.body.cell.color.text[i]};
@@ -589,7 +589,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),gt=de,Ge=xe);const Ce=
589
589
  `,({$scrolledHorizontal:e,theme:t})=>e?`box-shadow: 0px 0 0px 1px ${t.click.grid.header.cell.color.stroke.default};`:""),Yk=W.div.withConfig({componentId:"sc-7gbi4d-1"})(["position:absolute;left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;",""],({$height:e,$rowNumber:t})=>`
590
590
  top: ${e*t}px;
591
591
  height: ${e}px;
592
- `),Xk=({rowIndex:e,rowHeight:t,getSelectionType:n,isLastRow:o,isFirstRow:i,showBorder:a,rowStart:s})=>{const c=e+s,u=n({row:c,type:"row"}),g=u==="selectDirect",C=n({row:c-1,type:"row"}),v=(C==="selectDirect"||g)&&C!==u;return r.jsx(Yk,{$rowNumber:e,$height:t,children:r.jsx(kc,{$height:t,$isLastColumn:!1,$selectionType:u,$isFirstColumn:!0,$type:"header",$isFirstRow:i,$isFocused:!1,$isLastRow:o,$isSelectedLeft:g,$isSelectedTop:v,"data-selected":g,"data-grid-row":c,"data-grid-column":-1,"data-testid":`header-cell-${c}-x`,$showBorder:a,"data-align":"right",children:c})})},Kk=({minRow:e,maxRow:t,rowHeight:n,headerHeight:o,rowWidth:i,getSelectionType:a,rowCount:s,showHeader:c,scrolledHorizontal:u,rowStart:g=0,showBorder:C})=>r.jsx(Gk,{$height:o,$width:i,$scrolledHorizontal:u,children:Array.from({length:t-e+1},(v,y)=>e+y).map(v=>r.jsx(Xk,{getSelectionType:a,rowHeight:n,rowIndex:v,isLastRow:v===s,isFirstRow:!c&&v===0,showBorder:C,rowStart:g},`row-number-${v}`))});function Jk(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Qr=Jk,qk=typeof Ts=="object"&&Ts&&Ts.Object===Object&&Ts,N7=qk,Qk=N7,eS=typeof self=="object"&&self&&self.Object===Object&&self,tS=Qk||eS||Function("return this")(),Ti=tS,nS=Ti,rS=function(){return nS.Date.now()},oS=rS,iS=/\s/;function aS(e){for(var t=e.length;t--&&iS.test(e.charAt(t)););return t}var lS=aS,sS=lS,cS=/^\s+/;function dS(e){return e&&e.slice(0,sS(e)+1).replace(cS,"")}var uS=dS,fS=Ti,pS=fS.Symbol,Z7=pS,U7=Z7,W7=Object.prototype,hS=W7.hasOwnProperty,gS=W7.toString,vl=U7?U7.toStringTag:void 0;function vS(e){var t=hS.call(e,vl),n=e[vl];try{e[vl]=void 0;var o=!0}catch{}var i=gS.call(e);return o&&(t?e[vl]=n:delete e[vl]),i}var mS=vS,bS=Object.prototype,CS=bS.toString;function xS(e){return CS.call(e)}var wS=xS,z7=Z7,yS=mS,kS=wS,SS="[object Null]",LS="[object Undefined]",G7=z7?z7.toStringTag:void 0;function $S(e){return e==null?e===void 0?LS:SS:G7&&G7 in Object(e)?yS(e):kS(e)}var ml=$S;function MS(e){return e!=null&&typeof e=="object"}var P1=MS,jS=ml,ES=P1,_S="[object Symbol]";function IS(e){return typeof e=="symbol"||ES(e)&&jS(e)==_S}var TS=IS,FS=uS,Y7=Qr,OS=TS,X7=0/0,PS=/^[-+]0x[0-9a-f]+$/i,HS=/^0b[01]+$/i,DS=/^0o[0-7]+$/i,AS=parseInt;function RS(e){if(typeof e=="number")return e;if(OS(e))return X7;if(Y7(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Y7(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=FS(e);var n=HS.test(e);return n||DS.test(e)?AS(e.slice(2),n?2:8):PS.test(e)?X7:+e}var VS=RS,BS=Qr,I0=oS,K7=VS,NS="Expected a function",ZS=Math.max,US=Math.min;function WS(e,t,n){var o,i,a,s,c,u,g=0,C=!1,v=!1,y=!0;if(typeof e!="function")throw new TypeError(NS);t=K7(t)||0,BS(n)&&(C=!!n.leading,v="maxWait"in n,a=v?ZS(K7(n.maxWait)||0,t):a,y="trailing"in n?!!n.trailing:y);function E(H){var A=o,G=i;return o=i=void 0,g=H,s=e.apply(G,A),s}function M(H){return g=H,c=setTimeout(j,t),C?E(H):s}function _(H){var A=H-u,G=H-g,K=t-A;return v?US(K,a-G):K}function I(H){var A=H-u,G=H-g;return u===void 0||A>=t||A<0||v&&G>=a}function j(){var H=I0();if(I(H))return R(H);c=setTimeout(j,_(H))}function R(H){return c=void 0,y&&o?E(H):(o=i=void 0,s)}function P(){c!==void 0&&clearTimeout(c),g=0,o=u=i=c=void 0}function B(){return c===void 0?s:R(I0())}function D(){var H=I0(),A=I(H);if(o=arguments,i=this,u=H,A){if(c===void 0)return M(u);if(v)return clearTimeout(c),c=setTimeout(j,t),E(u)}return c===void 0&&(c=setTimeout(j,t)),s}return D.cancel=P,D.flush=B,D}var zS=WS,GS=zS,YS=Qr,XS="Expected a function";function KS(e,t,n){var o=!0,i=!0;if(typeof e!="function")throw new TypeError(XS);return YS(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),GS(e,t,{leading:o,maxWait:t,trailing:i})}var JS=KS;const qS=Ga(JS),QS=W.div.withConfig({componentId:"sc-1r6e5v3-0"})(["top:0;left:calc(100% - 4px);z-index:1;position:absolute;height:","px;cursor:col-resize;width:4px;overflow:auto;&:hover,&:active,&:hover{background:",";}&:active{height:100%;position:fixed;}"],({$height:e})=>e,({theme:e})=>e.click.grid.header.cell.color.stroke.selectDirect),eL=({height:e,onColumnResize:t,columnIndex:n,setResizeCursorPosition:o})=>{const i=p.useRef(null),a=p.useRef(null),s=qS(t,1e3),c=p.useCallback(C=>{C.preventDefault(),C.stopPropagation(),C.detail>1&&s(n,0,"auto")},[n,s]),u=p.useCallback(C=>{if(C.stopPropagation(),i.current){i.current.setPointerCapture(C.pointerId);const v=i.current.closest(`[data-header="${n}"]`);v&&(a.current={pointerId:C.pointerId,initialClientX:C.clientX,width:v.clientWidth},o(i.current,C.clientX,v.clientWidth,n))}},[n,o]),g=p.useCallback(C=>{if(C.stopPropagation(),i.current&&a.current){const v=i.current.closest(`[data-header="${n}"]`);if(v){i.current.setPointerCapture(a.current.pointerId);const y=v.scrollWidth+(C.clientX-a.current.initialClientX);o(i.current,C.clientX,y,n),a.current.width=Math.max(y,50)}}},[n,o]);return r.jsx(QS,{ref:i,$height:e,onPointerDown:u,onPointerUp:C=>{var v;C.preventDefault(),C.stopPropagation(),i.current&&((v=a.current)!=null&&v.pointerId)&&(i.current.releasePointerCapture(a.current.pointerId),C.clientX!==a.current.initialClientX&&s(n,a.current.width,"manual"),i.current.style.top="0",i.current.style.left="calc(100% - 4px)",a.current=null)},onMouseMove:g,onMouseDown:c,onClick:C=>C.stopPropagation(),onMouseUp:C=>C.stopPropagation(),"data-resize":!0})},tL=W.div.withConfig({componentId:"sc-1oadqc8-0"})(["position:sticky;top:0;left:0;display:flex;flex-direction:row;height:","px;",""],({$height:e})=>e,({$scrolledVertical:e,theme:t})=>e?`box-shadow: 0px 0 0px 1px ${t.click.grid.header.cell.color.stroke.default};`:""),nL=W.div.withConfig({componentId:"sc-1oadqc8-1"})(["position:relative;left:","px;"],({$left:e})=>e),J7=W.div.withConfig({componentId:"sc-1oadqc8-2"})(["position:absolute;display:flex;width:",";height:","px;left:","px;&:hover [data-resize]{background:",";}"],({$width:e})=>typeof e=="string"?e:`${e}px`,({$height:e})=>e,({$columnPosition:e})=>e,({theme:e})=>e.click.grid.header.cell.color.stroke.selectDirect),rL=W(J7).withConfig({componentId:"sc-1oadqc8-3"})(["position:sticky;top:0;left:0;width:",";text-align:right;",""],({$width:e})=>typeof e=="string"?e:`${e}px`,({$scrolledHorizontal:e,theme:t})=>e?`box-shadow: 0px 0 0px 1px ${t.click.grid.header.cell.color.stroke.default};`:""),oL=W(kc).withConfig({componentId:"sc-1oadqc8-4"})(["width:100%;text-align:right;"]),iL=({columnIndex:e,cell:t,columnWidth:n,getColumnHorizontalPosition:o,getSelectionType:i,isFirstColumn:a,isLastColumn:s,onColumnResize:c,height:u,setResizeCursorPosition:g,showBorder:C})=>{const v=i({column:e,type:"column"}),y=i({column:e-1,type:"column"}),E=o(e),M=v==="selectDirect",_=(y==="selectDirect"||M)&&y!==v;return r.jsxs(J7,{$width:n(e),$columnPosition:E,$height:u,"data-header":e,children:[r.jsx(kc,{$type:"header",as:t,columnIndex:e,type:"header-cell",$isFirstColumn:a,$selectionType:v,$isLastColumn:s,$isFocused:!1,$isSelectedLeft:_,$isSelectedTop:M,$isLastRow:!1,$isFirstRow:!0,$height:u,"data-grid-row":-1,"data-grid-column":e,"data-selected":M,$showBorder:C}),r.jsx(eL,{height:u,onColumnResize:c,columnIndex:e,setResizeCursorPosition:g})]})},aL=({scrolledVertical:e,scrolledHorizontal:t,showRowNumber:n,rowNumberWidth:o,minColumn:i,maxColumn:a,height:s,columnWidth:c,cell:u,columnCount:g,getSelectionType:C,onColumnResize:v,getColumnHorizontalPosition:y,setResizeCursorPosition:E,showBorder:M})=>{const _=C({type:"all"});return r.jsxs(tL,{$height:s,$scrolledVertical:e,children:[r.jsx(nL,{$left:o,children:Array.from({length:a-i+1},(I,j)=>i+j).map(I=>r.jsx(iL,{getSelectionType:C,columnIndex:I,columnWidth:c,getColumnHorizontalPosition:y,cell:u,isFirstColumn:I===0&&!n,isLastColumn:I+1===g,onColumnResize:v,height:s,setResizeCursorPosition:E,showBorder:M},`header-${I}`))}),n&&r.jsx(rL,{$width:o,$height:s,$columnPosition:0,$scrolledHorizontal:t,children:r.jsx(oL,{"data-selected":_==="selectDirect",$type:"header",$isFirstRow:!0,$isFirstColumn:!0,$selectionType:_,$isLastRow:!1,$isLastColumn:!1,$height:s,$isFocused:!1,$isSelectedLeft:!1,$isSelectedTop:!1,"data-grid-row":-1,"data-grid-column":-1,$showBorder:M,children:"#"})})]})},q7=(e,t,n,o)=>{const i=Math.min(e,n),a=Math.max(e,n),s=Math.min(t,o),c=Math.max(t,o);return{left:i,right:a,top:s,bottom:c}},Sc=(e,t,n,o,i)=>{const{left:a,right:s,top:c,bottom:u}=q7(t,n,o,i);switch(e.type){case"columns":for(let g=a;g<=s;++g)if(!e.columns.has(g))return!1;return!0;case"rows":for(let g=c;g<=u;++g)if(!e.rows.has(g))return!1;return!0;case"rectangle":return e.bounds.left<=a&&e.bounds.right>=s&&e.bounds.top<=c&&e.bounds.bottom>=u;default:return!1}},Q7=(e,t)=>({type:"rows",rows:new Set(e),anchorRow:t}),e8=(e,t)=>({type:"columns",columns:new Set(e),anchorColumn:t}),lL=(e,t,n,o)=>e===n&&o===t?t8():{type:"rectangle",bounds:q7(e,t,n,o),anchor:{column:e,row:t}},t8=()=>({type:"empty"}),sL=(e,t)=>e.type==="columns"||e.type==="rows"&&e.rows.has(t)||e.type==="rectangle"&&e.bounds.top<=t&&e.bounds.bottom>=t,cL=(e,t)=>e.type==="rows"||e.type==="columns"&&e.columns.has(t)||e.type==="rectangle"&&e.bounds.left<=t&&e.bounds.right>=t,T0=(e,t)=>{const n=Math.min(e,t),o=Math.max(e,t),i=[];for(let a=n;a<=o;++a)i.push(a);return i},dL=({onCellSelect:e,focus:t,columnCount:n,rowCount:o,onFocusChange:i,scrollGridTo:a,selection:s,rowStart:c})=>{const u=p.useCallback(P=>{const B={type:"rows",rows:new Set(T0(c,o+c-1)),anchorRow:0};a({row:c,column:0}),i(c,0),e(P,B,{row:c,column:0})},[e,i,o,c,a]),g=p.useCallback(P=>{const{row:B,column:D}=P;a({row:B,column:D}),i(B,D);const H=t8();e(P,H,t)},[t,e,i,a]),C=p.useCallback(P=>{const{row:B,column:D}=P,H=lL(D,B,t.column,t.row);a({row:B,column:D}),e(P,H,t)},[t,e,a]),v=p.useCallback(P=>{const B=P.row,D=Q7([B],B);a({row:B}),e(P,D,t)},[t,e,a]),y=p.useCallback(P=>{const B=P.row,D=Q7(T0(t.row,B),B);a({row:B}),e(P,D,t)},[t,e,a]),E=p.useCallback(P=>{const B=P.column,D=e8([B],B);a({column:B}),e(P,D,t)},[t,e,a]),M=p.useCallback(P=>{const B=P.column,D=e8(T0(t.column,B),B);e(P,D,t),a({column:B})},[t,e,a]),_=p.useCallback(P=>{switch(P.type){case"all":u(P);break;case"normal":g(P);break;case"shiftSelection":C(P);break;case"columnSelection":E(P);break;case"shiftColumnSelection":M(P);break;case"rowSelection":v(P);break;case"shiftRowSelection":y(P);break;default:throw new Error(`Value should not occur ${P}`)}},[u,g,C,E,M,v,y]),I=p.useCallback((P,B,D,H)=>{const A=(K,Q,le)=>Math.max(Q,Math.min(le,K));let G=null;if(D){if(s.type==="rows")G={type:"shiftRowSelection",row:A(s.anchorRow+B,0,o-1),event:H};else if(s.type==="columns")G={type:"shiftColumnSelection",column:A(s.anchorColumn+P,0,n-1),event:H};else if(s.type==="rectangle"){const K=A(s.anchor.row+B,0,o-1),Q=A(s.anchor.column+P,0,n-1);G={type:"shiftSelection",row:K,column:Q,event:H}}}else{const K=A(t.row+B,0,o-1),Q=A(t.column+P,0,n-1);G={type:"normal",row:K,column:Q,event:H}}return G&&_(G),G},[_,n,o,s,t]),j=p.useCallback(P=>{if(P.type==="all")return Sc(s,0,c,n-1,o+c-1)?"selectDirect":"default";if(P.type==="column")return Sc(s,P.column,c,P.column,o+c)?"selectDirect":cL(s,P.column)?"selectIndirect":"default";const B=Sc(s,0,P.row,n,P.row),D=t.row===P.row||sL(s,P.row);if(P.type==="cell"&&P.column==-1)return"default";if(B)return"selectDirect";if(!D)return"default";if(P.type==="cell"){const{row:H,column:A}=P;if(H>=o+c||A>=n||H<c||A<0)return"default";if(Sc(s,A,H,A,H))return"selectDirect"}return s.type==="columns"?"default":"selectIndirect"},[n,t.row,o,c,s]),R=p.useCallback((P,B)=>{const D=s.type,H="click";if(!(P===-1&&B==-1)){if(D==="columns"){_({type:"shiftColumnSelection",column:B,event:H});return}if(D==="rows"){_({type:"shiftRowSelection",row:P,event:H});return}if(P===-1){let A=t.row;if(s.type!=="empty"){const{bounds:{top:G,bottom:K}}=s;G<=A?A=G:A=K}_({type:"shiftSelection",row:A,column:B,event:H});return}if(B===-1){let A=t.column;if(s.type!=="empty"){const{bounds:{left:G,right:K}}=s;G<=A?A=G:A=K}_({type:"shiftSelection",row:P,column:A,event:H});return}_({type:"shiftSelection",row:P,column:B,event:H})}},[t.column,t.row,_,s]);return{getSelectionType:j,onSelection:_,mouseMoveCellSelect:R,moveSelection:I}},uL=p.memo(({data:e,rowIndex:t,columnIndex:n,style:o,...i})=>{const{cell:a,getSelectionType:s,focus:c,columnCount:u,rowCount:g,showRowNumber:C,showHeader:v,rowHeight:y,rowStart:E}=e,M=t+E,{row:_,column:I}=c,j=n===I&&M===_,R=n-1===I&&M===_,P=n===I&&M-1===_,B=s({row:M,column:n,type:"cell"}),D=s({row:M,column:n-1,type:"cell"}),H=s({row:M-1,column:n,type:"cell"}),A=(B==="selectDirect"||D==="selectDirect")&&B!==D,G=(B==="selectDirect"||H==="selectDirect")&&B!==H,K=A||R||j,Q=G||P||j;return r.jsx("div",{style:o,"data-row":M,"data-column":n,children:r.jsx(kc,{as:a,rowIndex:M,columnIndex:n,type:"row-cell","data-selected":j||B==="selectDirect","data-focused":j,$isSelectedTop:Q,$isSelectedLeft:K,$isFocused:j,$isLastRow:g-1===t,$isLastColumn:u-1===n,$isFirstColumn:n===0&&!C,$isFirstRow:t===0&&!v,$selectionType:B,$height:y,"data-grid-row":M,"data-grid-column":n,$showBorder:!0,...i})})},Uk);var Fi={};/**
592
+ `),Xk=({rowIndex:e,rowHeight:t,getSelectionType:n,isLastRow:o,isFirstRow:i,showBorder:a,rowStart:s})=>{const c=e+s,u=n({row:c,type:"row"}),g=u==="selectDirect",C=n({row:c-1,type:"row"}),v=(C==="selectDirect"||g)&&C!==u;return r.jsx(Yk,{$rowNumber:e,$height:t,children:r.jsx(kc,{$height:t,$isLastColumn:!1,$selectionType:u,$isFirstColumn:!0,$type:"header",$isFirstRow:i,$isFocused:!1,$isLastRow:o,$isSelectedLeft:g,$isSelectedTop:v,"data-selected":g,"data-grid-row":c,"data-grid-column":-1,"data-testid":`header-cell-${c}-x`,$showBorder:a,"data-align":"right",children:c})})},Kk=({minRow:e,maxRow:t,rowHeight:n,headerHeight:o,rowWidth:i,getSelectionType:a,rowCount:s,showHeader:c,scrolledHorizontal:u,rowStart:g=0,showBorder:C})=>r.jsx(Gk,{$height:o,$width:i,$scrolledHorizontal:u,children:Array.from({length:t-e+1},(v,y)=>e+y).map(v=>r.jsx(Xk,{getSelectionType:a,rowHeight:n,rowIndex:v,isLastRow:v===s,isFirstRow:!c&&v===0,showBorder:C,rowStart:g},`row-number-${v}`))});function Jk(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Qr=Jk,qk=typeof Ts=="object"&&Ts&&Ts.Object===Object&&Ts,N7=qk,Qk=N7,eS=typeof self=="object"&&self&&self.Object===Object&&self,tS=Qk||eS||Function("return this")(),Ti=tS,nS=Ti,rS=function(){return nS.Date.now()},oS=rS,iS=/\s/;function aS(e){for(var t=e.length;t--&&iS.test(e.charAt(t)););return t}var lS=aS,sS=lS,cS=/^\s+/;function dS(e){return e&&e.slice(0,sS(e)+1).replace(cS,"")}var uS=dS,fS=Ti,pS=fS.Symbol,Z7=pS,U7=Z7,W7=Object.prototype,hS=W7.hasOwnProperty,gS=W7.toString,vl=U7?U7.toStringTag:void 0;function vS(e){var t=hS.call(e,vl),n=e[vl];try{e[vl]=void 0;var o=!0}catch{}var i=gS.call(e);return o&&(t?e[vl]=n:delete e[vl]),i}var mS=vS,bS=Object.prototype,CS=bS.toString;function xS(e){return CS.call(e)}var wS=xS,z7=Z7,yS=mS,kS=wS,SS="[object Null]",LS="[object Undefined]",G7=z7?z7.toStringTag:void 0;function $S(e){return e==null?e===void 0?LS:SS:G7&&G7 in Object(e)?yS(e):kS(e)}var ml=$S;function MS(e){return e!=null&&typeof e=="object"}var P1=MS,jS=ml,ES=P1,_S="[object Symbol]";function IS(e){return typeof e=="symbol"||ES(e)&&jS(e)==_S}var TS=IS,FS=uS,Y7=Qr,OS=TS,X7=0/0,PS=/^[-+]0x[0-9a-f]+$/i,HS=/^0b[01]+$/i,DS=/^0o[0-7]+$/i,AS=parseInt;function RS(e){if(typeof e=="number")return e;if(OS(e))return X7;if(Y7(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Y7(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=FS(e);var n=HS.test(e);return n||DS.test(e)?AS(e.slice(2),n?2:8):PS.test(e)?X7:+e}var VS=RS,BS=Qr,I0=oS,K7=VS,NS="Expected a function",ZS=Math.max,US=Math.min;function WS(e,t,n){var o,i,a,s,c,u,g=0,C=!1,v=!1,y=!0;if(typeof e!="function")throw new TypeError(NS);t=K7(t)||0,BS(n)&&(C=!!n.leading,v="maxWait"in n,a=v?ZS(K7(n.maxWait)||0,t):a,y="trailing"in n?!!n.trailing:y);function _(H){var A=o,G=i;return o=i=void 0,g=H,s=e.apply(G,A),s}function M(H){return g=H,c=setTimeout(j,t),C?_(H):s}function E(H){var A=H-u,G=H-g,K=t-A;return v?US(K,a-G):K}function I(H){var A=H-u,G=H-g;return u===void 0||A>=t||A<0||v&&G>=a}function j(){var H=I0();if(I(H))return R(H);c=setTimeout(j,E(H))}function R(H){return c=void 0,y&&o?_(H):(o=i=void 0,s)}function P(){c!==void 0&&clearTimeout(c),g=0,o=u=i=c=void 0}function B(){return c===void 0?s:R(I0())}function D(){var H=I0(),A=I(H);if(o=arguments,i=this,u=H,A){if(c===void 0)return M(u);if(v)return clearTimeout(c),c=setTimeout(j,t),_(u)}return c===void 0&&(c=setTimeout(j,t)),s}return D.cancel=P,D.flush=B,D}var zS=WS,GS=zS,YS=Qr,XS="Expected a function";function KS(e,t,n){var o=!0,i=!0;if(typeof e!="function")throw new TypeError(XS);return YS(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),GS(e,t,{leading:o,maxWait:t,trailing:i})}var JS=KS;const qS=Ga(JS),QS=W.div.withConfig({componentId:"sc-1r6e5v3-0"})(["top:0;left:calc(100% - 4px);z-index:1;position:absolute;height:","px;cursor:col-resize;width:4px;overflow:auto;&:hover,&:active,&:hover{background:",";}&:active{height:100%;position:fixed;}"],({$height:e})=>e,({theme:e})=>e.click.grid.header.cell.color.stroke.selectDirect),eL=({height:e,onColumnResize:t,columnIndex:n,setResizeCursorPosition:o})=>{const i=p.useRef(null),a=p.useRef(null),s=qS(t,1e3),c=p.useCallback(C=>{C.preventDefault(),C.stopPropagation(),C.detail>1&&s(n,0,"auto")},[n,s]),u=p.useCallback(C=>{if(C.stopPropagation(),i.current){i.current.setPointerCapture(C.pointerId);const v=i.current.closest(`[data-header="${n}"]`);v&&(a.current={pointerId:C.pointerId,initialClientX:C.clientX,width:v.clientWidth},o(i.current,C.clientX,v.clientWidth,n))}},[n,o]),g=p.useCallback(C=>{if(C.stopPropagation(),i.current&&a.current){const v=i.current.closest(`[data-header="${n}"]`);if(v){i.current.setPointerCapture(a.current.pointerId);const y=v.scrollWidth+(C.clientX-a.current.initialClientX);o(i.current,C.clientX,y,n),a.current.width=Math.max(y,50)}}},[n,o]);return r.jsx(QS,{ref:i,$height:e,onPointerDown:u,onPointerUp:C=>{var v;C.preventDefault(),C.stopPropagation(),i.current&&((v=a.current)!=null&&v.pointerId)&&(i.current.releasePointerCapture(a.current.pointerId),C.clientX!==a.current.initialClientX&&s(n,a.current.width,"manual"),i.current.style.top="0",i.current.style.left="calc(100% - 4px)",a.current=null)},onMouseMove:g,onMouseDown:c,onClick:C=>C.stopPropagation(),onMouseUp:C=>C.stopPropagation(),"data-resize":!0})},tL=W.div.withConfig({componentId:"sc-1oadqc8-0"})(["position:sticky;top:0;left:0;display:flex;flex-direction:row;height:","px;",""],({$height:e})=>e,({$scrolledVertical:e,theme:t})=>e?`box-shadow: 0px 0 0px 1px ${t.click.grid.header.cell.color.stroke.default};`:""),nL=W.div.withConfig({componentId:"sc-1oadqc8-1"})(["position:relative;left:","px;"],({$left:e})=>e),J7=W.div.withConfig({componentId:"sc-1oadqc8-2"})(["position:absolute;display:flex;width:",";height:","px;left:","px;&:hover [data-resize]{background:",";}"],({$width:e})=>typeof e=="string"?e:`${e}px`,({$height:e})=>e,({$columnPosition:e})=>e,({theme:e})=>e.click.grid.header.cell.color.stroke.selectDirect),rL=W(J7).withConfig({componentId:"sc-1oadqc8-3"})(["position:sticky;top:0;left:0;width:",";text-align:right;",""],({$width:e})=>typeof e=="string"?e:`${e}px`,({$scrolledHorizontal:e,theme:t})=>e?`box-shadow: 0px 0 0px 1px ${t.click.grid.header.cell.color.stroke.default};`:""),oL=W(kc).withConfig({componentId:"sc-1oadqc8-4"})(["width:100%;text-align:right;"]),iL=({columnIndex:e,cell:t,columnWidth:n,getColumnHorizontalPosition:o,getSelectionType:i,isFirstColumn:a,isLastColumn:s,onColumnResize:c,height:u,setResizeCursorPosition:g,showBorder:C})=>{const v=i({column:e,type:"column"}),y=i({column:e-1,type:"column"}),_=o(e),M=v==="selectDirect",E=(y==="selectDirect"||M)&&y!==v;return r.jsxs(J7,{$width:n(e),$columnPosition:_,$height:u,"data-header":e,children:[r.jsx(kc,{$type:"header",as:t,columnIndex:e,type:"header-cell",$isFirstColumn:a,$selectionType:v,$isLastColumn:s,$isFocused:!1,$isSelectedLeft:E,$isSelectedTop:M,$isLastRow:!1,$isFirstRow:!0,$height:u,"data-grid-row":-1,"data-grid-column":e,"data-selected":M,$showBorder:C}),r.jsx(eL,{height:u,onColumnResize:c,columnIndex:e,setResizeCursorPosition:g})]})},aL=({scrolledVertical:e,scrolledHorizontal:t,showRowNumber:n,rowNumberWidth:o,minColumn:i,maxColumn:a,height:s,columnWidth:c,cell:u,columnCount:g,getSelectionType:C,onColumnResize:v,getColumnHorizontalPosition:y,setResizeCursorPosition:_,showBorder:M})=>{const E=C({type:"all"});return r.jsxs(tL,{$height:s,$scrolledVertical:e,children:[r.jsx(nL,{$left:o,children:Array.from({length:a-i+1},(I,j)=>i+j).map(I=>r.jsx(iL,{getSelectionType:C,columnIndex:I,columnWidth:c,getColumnHorizontalPosition:y,cell:u,isFirstColumn:I===0&&!n,isLastColumn:I+1===g,onColumnResize:v,height:s,setResizeCursorPosition:_,showBorder:M},`header-${I}`))}),n&&r.jsx(rL,{$width:o,$height:s,$columnPosition:0,$scrolledHorizontal:t,children:r.jsx(oL,{"data-selected":E==="selectDirect",$type:"header",$isFirstRow:!0,$isFirstColumn:!0,$selectionType:E,$isLastRow:!1,$isLastColumn:!1,$height:s,$isFocused:!1,$isSelectedLeft:!1,$isSelectedTop:!1,"data-grid-row":-1,"data-grid-column":-1,$showBorder:M,children:"#"})})]})},q7=(e,t,n,o)=>{const i=Math.min(e,n),a=Math.max(e,n),s=Math.min(t,o),c=Math.max(t,o);return{left:i,right:a,top:s,bottom:c}},Sc=(e,t,n,o,i)=>{const{left:a,right:s,top:c,bottom:u}=q7(t,n,o,i);switch(e.type){case"columns":for(let g=a;g<=s;++g)if(!e.columns.has(g))return!1;return!0;case"rows":for(let g=c;g<=u;++g)if(!e.rows.has(g))return!1;return!0;case"rectangle":return e.bounds.left<=a&&e.bounds.right>=s&&e.bounds.top<=c&&e.bounds.bottom>=u;default:return!1}},Q7=(e,t)=>({type:"rows",rows:new Set(e),anchorRow:t}),e8=(e,t)=>({type:"columns",columns:new Set(e),anchorColumn:t}),lL=(e,t,n,o)=>e===n&&o===t?t8():{type:"rectangle",bounds:q7(e,t,n,o),anchor:{column:e,row:t}},t8=()=>({type:"empty"}),sL=(e,t)=>e.type==="columns"||e.type==="rows"&&e.rows.has(t)||e.type==="rectangle"&&e.bounds.top<=t&&e.bounds.bottom>=t,cL=(e,t)=>e.type==="rows"||e.type==="columns"&&e.columns.has(t)||e.type==="rectangle"&&e.bounds.left<=t&&e.bounds.right>=t,T0=(e,t)=>{const n=Math.min(e,t),o=Math.max(e,t),i=[];for(let a=n;a<=o;++a)i.push(a);return i},dL=({onCellSelect:e,focus:t,columnCount:n,rowCount:o,onFocusChange:i,scrollGridTo:a,selection:s,rowStart:c})=>{const u=p.useCallback(P=>{const B={type:"rows",rows:new Set(T0(c,o+c-1)),anchorRow:0};a({row:c,column:0}),i(c,0),e(P,B,{row:c,column:0})},[e,i,o,c,a]),g=p.useCallback(P=>{const{row:B,column:D}=P;a({row:B,column:D}),i(B,D);const H=t8();e(P,H,t)},[t,e,i,a]),C=p.useCallback(P=>{const{row:B,column:D}=P,H=lL(D,B,t.column,t.row);a({row:B,column:D}),e(P,H,t)},[t,e,a]),v=p.useCallback(P=>{const B=P.row,D=Q7([B],B);a({row:B}),e(P,D,t)},[t,e,a]),y=p.useCallback(P=>{const B=P.row,D=Q7(T0(t.row,B),B);a({row:B}),e(P,D,t)},[t,e,a]),_=p.useCallback(P=>{const B=P.column,D=e8([B],B);a({column:B}),e(P,D,t)},[t,e,a]),M=p.useCallback(P=>{const B=P.column,D=e8(T0(t.column,B),B);e(P,D,t),a({column:B})},[t,e,a]),E=p.useCallback(P=>{switch(P.type){case"all":u(P);break;case"normal":g(P);break;case"shiftSelection":C(P);break;case"columnSelection":_(P);break;case"shiftColumnSelection":M(P);break;case"rowSelection":v(P);break;case"shiftRowSelection":y(P);break;default:throw new Error(`Value should not occur ${P}`)}},[u,g,C,_,M,v,y]),I=p.useCallback((P,B,D,H)=>{const A=(K,Q,le)=>Math.max(Q,Math.min(le,K));let G=null;if(D){if(s.type==="rows")G={type:"shiftRowSelection",row:A(s.anchorRow+B,0,o-1),event:H};else if(s.type==="columns")G={type:"shiftColumnSelection",column:A(s.anchorColumn+P,0,n-1),event:H};else if(s.type==="rectangle"){const K=A(s.anchor.row+B,0,o-1),Q=A(s.anchor.column+P,0,n-1);G={type:"shiftSelection",row:K,column:Q,event:H}}}else{const K=A(t.row+B,0,o-1),Q=A(t.column+P,0,n-1);G={type:"normal",row:K,column:Q,event:H}}return G&&E(G),G},[E,n,o,s,t]),j=p.useCallback(P=>{if(P.type==="all")return Sc(s,0,c,n-1,o+c-1)?"selectDirect":"default";if(P.type==="column")return Sc(s,P.column,c,P.column,o+c)?"selectDirect":cL(s,P.column)?"selectIndirect":"default";const B=Sc(s,0,P.row,n,P.row),D=t.row===P.row||sL(s,P.row);if(P.type==="cell"&&P.column==-1)return"default";if(B)return"selectDirect";if(!D)return"default";if(P.type==="cell"){const{row:H,column:A}=P;if(H>=o+c||A>=n||H<c||A<0)return"default";if(Sc(s,A,H,A,H))return"selectDirect"}return s.type==="columns"?"default":"selectIndirect"},[n,t.row,o,c,s]),R=p.useCallback((P,B)=>{const D=s.type,H="click";if(!(P===-1&&B==-1)){if(D==="columns"){E({type:"shiftColumnSelection",column:B,event:H});return}if(D==="rows"){E({type:"shiftRowSelection",row:P,event:H});return}if(P===-1){let A=t.row;if(s.type!=="empty"){const{bounds:{top:G,bottom:K}}=s;G<=A?A=G:A=K}E({type:"shiftSelection",row:A,column:B,event:H});return}if(B===-1){let A=t.column;if(s.type!=="empty"){const{bounds:{left:G,right:K}}=s;G<=A?A=G:A=K}E({type:"shiftSelection",row:P,column:A,event:H});return}E({type:"shiftSelection",row:P,column:B,event:H})}},[t.column,t.row,E,s]);return{getSelectionType:j,onSelection:E,mouseMoveCellSelect:R,moveSelection:I}},uL=p.memo(({data:e,rowIndex:t,columnIndex:n,style:o,...i})=>{const{cell:a,getSelectionType:s,focus:c,columnCount:u,rowCount:g,showRowNumber:C,showHeader:v,rowHeight:y,rowStart:_}=e,M=t+_,{row:E,column:I}=c,j=n===I&&M===E,R=n-1===I&&M===E,P=n===I&&M-1===E,B=s({row:M,column:n,type:"cell"}),D=s({row:M,column:n-1,type:"cell"}),H=s({row:M-1,column:n,type:"cell"}),A=(B==="selectDirect"||D==="selectDirect")&&B!==D,G=(B==="selectDirect"||H==="selectDirect")&&B!==H,K=A||R||j,Q=G||P||j;return r.jsx("div",{style:o,"data-row":M,"data-column":n,children:r.jsx(kc,{as:a,rowIndex:M,columnIndex:n,type:"row-cell","data-selected":j||B==="selectDirect","data-focused":j,$isSelectedTop:Q,$isSelectedLeft:K,$isFocused:j,$isLastRow:g-1===t,$isLastColumn:u-1===n,$isFirstColumn:n===0&&!C,$isFirstRow:t===0&&!v,$selectionType:B,$height:y,"data-grid-row":M,"data-grid-column":n,$showBorder:!0,...i})})},Uk);var Fi={};/**
593
593
  * @license React
594
594
  * react-dom-server-legacy.browser.production.min.js
595
595
  *
@@ -597,7 +597,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),gt=de,Ge=xe);const Ce=
597
597
  *
598
598
  * This source code is licensed under the MIT license found in the
599
599
  * LICENSE file in the root directory of this source tree.
600
- */var n8;function fL(){if(n8)return Fi;n8=1;var e=p;function t(m){for(var S="https://reactjs.org/docs/error-decoder.html?invariant="+m,O=1;O<arguments.length;O++)S+="&args[]="+encodeURIComponent(arguments[O]);return"Minified React error #"+m+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,o=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,i={},a={};function s(m){return n.call(a,m)?!0:n.call(i,m)?!1:o.test(m)?a[m]=!0:(i[m]=!0,!1)}function c(m,S,O,N,ne,q,ce){this.acceptsBooleans=S===2||S===3||S===4,this.attributeName=N,this.attributeNamespace=ne,this.mustUseProperty=O,this.propertyName=m,this.type=S,this.sanitizeURL=q,this.removeEmptyString=ce}var u={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(m){u[m]=new c(m,0,!1,m,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(m){var S=m[0];u[S]=new c(S,1,!1,m[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(m){u[m]=new c(m,2,!1,m.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(m){u[m]=new c(m,2,!1,m,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(m){u[m]=new c(m,3,!1,m.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(m){u[m]=new c(m,3,!0,m,null,!1,!1)}),["capture","download"].forEach(function(m){u[m]=new c(m,4,!1,m,null,!1,!1)}),["cols","rows","size","span"].forEach(function(m){u[m]=new c(m,6,!1,m,null,!1,!1)}),["rowSpan","start"].forEach(function(m){u[m]=new c(m,5,!1,m.toLowerCase(),null,!1,!1)});var g=/[\-:]([a-z])/g;function C(m){return m[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(m){var S=m.replace(g,C);u[S]=new c(S,1,!1,m,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(m){var S=m.replace(g,C);u[S]=new c(S,1,!1,m,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(m){var S=m.replace(g,C);u[S]=new c(S,1,!1,m,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(m){u[m]=new c(m,1,!1,m.toLowerCase(),null,!1,!1)}),u.xlinkHref=new c("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(m){u[m]=new c(m,1,!1,m.toLowerCase(),null,!0,!0)});var v={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},y=["Webkit","ms","Moz","O"];Object.keys(v).forEach(function(m){y.forEach(function(S){S=S+m.charAt(0).toUpperCase()+m.substring(1),v[S]=v[m]})});var E=/["'&<>]/;function M(m){if(typeof m=="boolean"||typeof m=="number")return""+m;m=""+m;var S=E.exec(m);if(S){var O="",N,ne=0;for(N=S.index;N<m.length;N++){switch(m.charCodeAt(N)){case 34:S="&quot;";break;case 38:S="&amp;";break;case 39:S="&#x27;";break;case 60:S="&lt;";break;case 62:S="&gt;";break;default:continue}ne!==N&&(O+=m.substring(ne,N)),ne=N+1,O+=S}m=ne!==N?O+m.substring(ne,N):O}return m}var _=/([A-Z])/g,I=/^ms-/,j=Array.isArray;function R(m,S){return{insertionMode:m,selectedValue:S}}function P(m,S,O){switch(S){case"select":return R(1,O.value!=null?O.value:O.defaultValue);case"svg":return R(2,null);case"math":return R(3,null);case"foreignObject":return R(1,null);case"table":return R(4,null);case"thead":case"tbody":case"tfoot":return R(5,null);case"colgroup":return R(7,null);case"tr":return R(6,null)}return 4<=m.insertionMode||m.insertionMode===0?R(1,null):m}var B=new Map;function D(m,S,O){if(typeof O!="object")throw Error(t(62));S=!0;for(var N in O)if(n.call(O,N)){var ne=O[N];if(ne!=null&&typeof ne!="boolean"&&ne!==""){if(N.indexOf("--")===0){var q=M(N);ne=M((""+ne).trim())}else{q=N;var ce=B.get(q);ce!==void 0||(ce=M(q.replace(_,"-$1").toLowerCase().replace(I,"-ms-")),B.set(q,ce)),q=ce,ne=typeof ne=="number"?ne===0||n.call(v,N)?""+ne:ne+"px":M((""+ne).trim())}S?(S=!1,m.push(' style="',q,":",ne)):m.push(";",q,":",ne)}}S||m.push('"')}function H(m,S,O,N){switch(O){case"style":D(m,S,N);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<O.length)||O[0]!=="o"&&O[0]!=="O"||O[1]!=="n"&&O[1]!=="N"){if(S=u.hasOwnProperty(O)?u[O]:null,S!==null){switch(typeof N){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}switch(O=S.attributeName,S.type){case 3:N&&m.push(" ",O,'=""');break;case 4:N===!0?m.push(" ",O,'=""'):N!==!1&&m.push(" ",O,'="',M(N),'"');break;case 5:isNaN(N)||m.push(" ",O,'="',M(N),'"');break;case 6:!isNaN(N)&&1<=N&&m.push(" ",O,'="',M(N),'"');break;default:S.sanitizeURL&&(N=""+N),m.push(" ",O,'="',M(N),'"')}}else if(s(O)){switch(typeof N){case"function":case"symbol":return;case"boolean":if(S=O.toLowerCase().slice(0,5),S!=="data-"&&S!=="aria-")return}m.push(" ",O,'="',M(N),'"')}}}function A(m,S,O){if(S!=null){if(O!=null)throw Error(t(60));if(typeof S!="object"||!("__html"in S))throw Error(t(61));S=S.__html,S!=null&&m.push(""+S)}}function G(m){var S="";return e.Children.forEach(m,function(O){O!=null&&(S+=O)}),S}function K(m,S,O,N){m.push(se(O));var ne=O=null,q;for(q in S)if(n.call(S,q)){var ce=S[q];if(ce!=null)switch(q){case"children":O=ce;break;case"dangerouslySetInnerHTML":ne=ce;break;default:H(m,N,q,ce)}}return m.push(">"),A(m,ne,O),typeof O=="string"?(m.push(M(O)),null):O}var Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,le=new Map;function se(m){var S=le.get(m);if(S===void 0){if(!Q.test(m))throw Error(t(65,m));S="<"+m,le.set(m,S)}return S}function fe(m,S,O,N,ne){switch(S){case"select":m.push(se("select"));var q=null,ce=null;for(ze in O)if(n.call(O,ze)){var we=O[ze];if(we!=null)switch(ze){case"children":q=we;break;case"dangerouslySetInnerHTML":ce=we;break;case"defaultValue":case"value":break;default:H(m,N,ze,we)}}return m.push(">"),A(m,ce,q),q;case"option":ce=ne.selectedValue,m.push(se("option"));var Ne=we=null,Je=null,ze=null;for(q in O)if(n.call(O,q)){var kt=O[q];if(kt!=null)switch(q){case"children":we=kt;break;case"selected":Je=kt;break;case"dangerouslySetInnerHTML":ze=kt;break;case"value":Ne=kt;default:H(m,N,q,kt)}}if(ce!=null)if(O=Ne!==null?""+Ne:G(we),j(ce)){for(N=0;N<ce.length;N++)if(""+ce[N]===O){m.push(' selected=""');break}}else""+ce===O&&m.push(' selected=""');else Je&&m.push(' selected=""');return m.push(">"),A(m,ze,we),we;case"textarea":m.push(se("textarea")),ze=ce=q=null;for(we in O)if(n.call(O,we)&&(Ne=O[we],Ne!=null))switch(we){case"children":ze=Ne;break;case"value":q=Ne;break;case"defaultValue":ce=Ne;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:H(m,N,we,Ne)}if(q===null&&ce!==null&&(q=ce),m.push(">"),ze!=null){if(q!=null)throw Error(t(92));if(j(ze)&&1<ze.length)throw Error(t(93));q=""+ze}return typeof q=="string"&&q[0]===`
600
+ */var n8;function fL(){if(n8)return Fi;n8=1;var e=p;function t(m){for(var S="https://reactjs.org/docs/error-decoder.html?invariant="+m,O=1;O<arguments.length;O++)S+="&args[]="+encodeURIComponent(arguments[O]);return"Minified React error #"+m+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,o=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,i={},a={};function s(m){return n.call(a,m)?!0:n.call(i,m)?!1:o.test(m)?a[m]=!0:(i[m]=!0,!1)}function c(m,S,O,N,ne,q,ce){this.acceptsBooleans=S===2||S===3||S===4,this.attributeName=N,this.attributeNamespace=ne,this.mustUseProperty=O,this.propertyName=m,this.type=S,this.sanitizeURL=q,this.removeEmptyString=ce}var u={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(m){u[m]=new c(m,0,!1,m,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(m){var S=m[0];u[S]=new c(S,1,!1,m[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(m){u[m]=new c(m,2,!1,m.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(m){u[m]=new c(m,2,!1,m,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(m){u[m]=new c(m,3,!1,m.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(m){u[m]=new c(m,3,!0,m,null,!1,!1)}),["capture","download"].forEach(function(m){u[m]=new c(m,4,!1,m,null,!1,!1)}),["cols","rows","size","span"].forEach(function(m){u[m]=new c(m,6,!1,m,null,!1,!1)}),["rowSpan","start"].forEach(function(m){u[m]=new c(m,5,!1,m.toLowerCase(),null,!1,!1)});var g=/[\-:]([a-z])/g;function C(m){return m[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(m){var S=m.replace(g,C);u[S]=new c(S,1,!1,m,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(m){var S=m.replace(g,C);u[S]=new c(S,1,!1,m,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(m){var S=m.replace(g,C);u[S]=new c(S,1,!1,m,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(m){u[m]=new c(m,1,!1,m.toLowerCase(),null,!1,!1)}),u.xlinkHref=new c("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(m){u[m]=new c(m,1,!1,m.toLowerCase(),null,!0,!0)});var v={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},y=["Webkit","ms","Moz","O"];Object.keys(v).forEach(function(m){y.forEach(function(S){S=S+m.charAt(0).toUpperCase()+m.substring(1),v[S]=v[m]})});var _=/["'&<>]/;function M(m){if(typeof m=="boolean"||typeof m=="number")return""+m;m=""+m;var S=_.exec(m);if(S){var O="",N,ne=0;for(N=S.index;N<m.length;N++){switch(m.charCodeAt(N)){case 34:S="&quot;";break;case 38:S="&amp;";break;case 39:S="&#x27;";break;case 60:S="&lt;";break;case 62:S="&gt;";break;default:continue}ne!==N&&(O+=m.substring(ne,N)),ne=N+1,O+=S}m=ne!==N?O+m.substring(ne,N):O}return m}var E=/([A-Z])/g,I=/^ms-/,j=Array.isArray;function R(m,S){return{insertionMode:m,selectedValue:S}}function P(m,S,O){switch(S){case"select":return R(1,O.value!=null?O.value:O.defaultValue);case"svg":return R(2,null);case"math":return R(3,null);case"foreignObject":return R(1,null);case"table":return R(4,null);case"thead":case"tbody":case"tfoot":return R(5,null);case"colgroup":return R(7,null);case"tr":return R(6,null)}return 4<=m.insertionMode||m.insertionMode===0?R(1,null):m}var B=new Map;function D(m,S,O){if(typeof O!="object")throw Error(t(62));S=!0;for(var N in O)if(n.call(O,N)){var ne=O[N];if(ne!=null&&typeof ne!="boolean"&&ne!==""){if(N.indexOf("--")===0){var q=M(N);ne=M((""+ne).trim())}else{q=N;var ce=B.get(q);ce!==void 0||(ce=M(q.replace(E,"-$1").toLowerCase().replace(I,"-ms-")),B.set(q,ce)),q=ce,ne=typeof ne=="number"?ne===0||n.call(v,N)?""+ne:ne+"px":M((""+ne).trim())}S?(S=!1,m.push(' style="',q,":",ne)):m.push(";",q,":",ne)}}S||m.push('"')}function H(m,S,O,N){switch(O){case"style":D(m,S,N);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<O.length)||O[0]!=="o"&&O[0]!=="O"||O[1]!=="n"&&O[1]!=="N"){if(S=u.hasOwnProperty(O)?u[O]:null,S!==null){switch(typeof N){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}switch(O=S.attributeName,S.type){case 3:N&&m.push(" ",O,'=""');break;case 4:N===!0?m.push(" ",O,'=""'):N!==!1&&m.push(" ",O,'="',M(N),'"');break;case 5:isNaN(N)||m.push(" ",O,'="',M(N),'"');break;case 6:!isNaN(N)&&1<=N&&m.push(" ",O,'="',M(N),'"');break;default:S.sanitizeURL&&(N=""+N),m.push(" ",O,'="',M(N),'"')}}else if(s(O)){switch(typeof N){case"function":case"symbol":return;case"boolean":if(S=O.toLowerCase().slice(0,5),S!=="data-"&&S!=="aria-")return}m.push(" ",O,'="',M(N),'"')}}}function A(m,S,O){if(S!=null){if(O!=null)throw Error(t(60));if(typeof S!="object"||!("__html"in S))throw Error(t(61));S=S.__html,S!=null&&m.push(""+S)}}function G(m){var S="";return e.Children.forEach(m,function(O){O!=null&&(S+=O)}),S}function K(m,S,O,N){m.push(se(O));var ne=O=null,q;for(q in S)if(n.call(S,q)){var ce=S[q];if(ce!=null)switch(q){case"children":O=ce;break;case"dangerouslySetInnerHTML":ne=ce;break;default:H(m,N,q,ce)}}return m.push(">"),A(m,ne,O),typeof O=="string"?(m.push(M(O)),null):O}var Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,le=new Map;function se(m){var S=le.get(m);if(S===void 0){if(!Q.test(m))throw Error(t(65,m));S="<"+m,le.set(m,S)}return S}function fe(m,S,O,N,ne){switch(S){case"select":m.push(se("select"));var q=null,ce=null;for(ze in O)if(n.call(O,ze)){var we=O[ze];if(we!=null)switch(ze){case"children":q=we;break;case"dangerouslySetInnerHTML":ce=we;break;case"defaultValue":case"value":break;default:H(m,N,ze,we)}}return m.push(">"),A(m,ce,q),q;case"option":ce=ne.selectedValue,m.push(se("option"));var Ne=we=null,Je=null,ze=null;for(q in O)if(n.call(O,q)){var kt=O[q];if(kt!=null)switch(q){case"children":we=kt;break;case"selected":Je=kt;break;case"dangerouslySetInnerHTML":ze=kt;break;case"value":Ne=kt;default:H(m,N,q,kt)}}if(ce!=null)if(O=Ne!==null?""+Ne:G(we),j(ce)){for(N=0;N<ce.length;N++)if(""+ce[N]===O){m.push(' selected=""');break}}else""+ce===O&&m.push(' selected=""');else Je&&m.push(' selected=""');return m.push(">"),A(m,ze,we),we;case"textarea":m.push(se("textarea")),ze=ce=q=null;for(we in O)if(n.call(O,we)&&(Ne=O[we],Ne!=null))switch(we){case"children":ze=Ne;break;case"value":q=Ne;break;case"defaultValue":ce=Ne;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:H(m,N,we,Ne)}if(q===null&&ce!==null&&(q=ce),m.push(">"),ze!=null){if(q!=null)throw Error(t(92));if(j(ze)&&1<ze.length)throw Error(t(93));q=""+ze}return typeof q=="string"&&q[0]===`
601
601
  `&&m.push(`
602
602
  `),q!==null&&m.push(M(""+q)),null;case"input":m.push(se("input")),Ne=ze=we=q=null;for(ce in O)if(n.call(O,ce)&&(Je=O[ce],Je!=null))switch(ce){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Ne=Je;break;case"defaultValue":we=Je;break;case"checked":ze=Je;break;case"value":q=Je;break;default:H(m,N,ce,Je)}return ze!==null?H(m,N,"checked",ze):Ne!==null&&H(m,N,"checked",Ne),q!==null?H(m,N,"value",q):we!==null&&H(m,N,"value",we),m.push("/>"),null;case"menuitem":m.push(se("menuitem"));for(var $n in O)if(n.call(O,$n)&&(q=O[$n],q!=null))switch($n){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:H(m,N,$n,q)}return m.push(">"),null;case"title":m.push(se("title")),q=null;for(kt in O)if(n.call(O,kt)&&(ce=O[kt],ce!=null))switch(kt){case"children":q=ce;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:H(m,N,kt,ce)}return m.push(">"),q;case"listing":case"pre":m.push(se(S)),ce=q=null;for(Ne in O)if(n.call(O,Ne)&&(we=O[Ne],we!=null))switch(Ne){case"children":q=we;break;case"dangerouslySetInnerHTML":ce=we;break;default:H(m,N,Ne,we)}if(m.push(">"),ce!=null){if(q!=null)throw Error(t(60));if(typeof ce!="object"||!("__html"in ce))throw Error(t(61));O=ce.__html,O!=null&&(typeof O=="string"&&0<O.length&&O[0]===`
603
603
  `?m.push(`
@@ -611,11 +611,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`),gt=de,Ge=xe);const Ce=
611
611
  *
612
612
  * This source code is licensed under the MIT license found in the
613
613
  * LICENSE file in the root directory of this source tree.
614
- */var r8;function pL(){if(r8)return Lc;r8=1;var e=p;function t(b){for(var L="https://reactjs.org/docs/error-decoder.html?invariant="+b,F=1;F<arguments.length;F++)L+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+b+"; visit "+L+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,o=0;function i(b,L){if(L.length!==0)if(512<L.length)0<o&&(b.enqueue(new Uint8Array(n.buffer,0,o)),n=new Uint8Array(512),o=0),b.enqueue(L);else{var F=n.length-o;F<L.length&&(F===0?b.enqueue(n):(n.set(L.subarray(0,F),o),b.enqueue(n),L=L.subarray(F)),n=new Uint8Array(512),o=0),n.set(L,o),o+=L.length}}function a(b,L){return i(b,L),!0}function s(b){n&&0<o&&(b.enqueue(new Uint8Array(n.buffer,0,o)),n=null,o=0)}var c=new TextEncoder;function u(b){return c.encode(b)}function g(b){return c.encode(b)}function C(b,L){typeof b.error=="function"?b.error(L):b.close()}var v=Object.prototype.hasOwnProperty,y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,E={},M={};function _(b){return v.call(M,b)?!0:v.call(E,b)?!1:y.test(b)?M[b]=!0:(E[b]=!0,!1)}function I(b,L,F,Z,re,ee,he){this.acceptsBooleans=L===2||L===3||L===4,this.attributeName=Z,this.attributeNamespace=re,this.mustUseProperty=F,this.propertyName=b,this.type=L,this.sanitizeURL=ee,this.removeEmptyString=he}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(b){j[b]=new I(b,0,!1,b,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var L=b[0];j[L]=new I(L,1,!1,b[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){j[b]=new I(b,2,!1,b.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){j[b]=new I(b,2,!1,b,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(b){j[b]=new I(b,3,!1,b.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(b){j[b]=new I(b,3,!0,b,null,!1,!1)}),["capture","download"].forEach(function(b){j[b]=new I(b,4,!1,b,null,!1,!1)}),["cols","rows","size","span"].forEach(function(b){j[b]=new I(b,6,!1,b,null,!1,!1)}),["rowSpan","start"].forEach(function(b){j[b]=new I(b,5,!1,b.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function P(b){return b[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(b){var L=b.replace(R,P);j[L]=new I(L,1,!1,b,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(b){var L=b.replace(R,P);j[L]=new I(L,1,!1,b,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var L=b.replace(R,P);j[L]=new I(L,1,!1,b,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(b){j[b]=new I(b,1,!1,b.toLowerCase(),null,!1,!1)}),j.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(b){j[b]=new I(b,1,!1,b.toLowerCase(),null,!0,!0)});var B={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},D=["Webkit","ms","Moz","O"];Object.keys(B).forEach(function(b){D.forEach(function(L){L=L+b.charAt(0).toUpperCase()+b.substring(1),B[L]=B[b]})});var H=/["'&<>]/;function A(b){if(typeof b=="boolean"||typeof b=="number")return""+b;b=""+b;var L=H.exec(b);if(L){var F="",Z,re=0;for(Z=L.index;Z<b.length;Z++){switch(b.charCodeAt(Z)){case 34:L="&quot;";break;case 38:L="&amp;";break;case 39:L="&#x27;";break;case 60:L="&lt;";break;case 62:L="&gt;";break;default:continue}re!==Z&&(F+=b.substring(re,Z)),re=Z+1,F+=L}b=re!==Z?F+b.substring(re,Z):F}return b}var G=/([A-Z])/g,K=/^ms-/,Q=Array.isArray,le=g("<script>"),se=g("<\/script>"),fe=g('<script src="'),te=g('<script type="module" src="'),ge=g('" async=""><\/script>'),ie=/(<\/|<)(s)(cript)/gi;function me(b,L,F,Z){return""+L+(F==="s"?"\\u0073":"\\u0053")+Z}function ye(b,L,F,Z,re){b=b===void 0?"":b,L=L===void 0?le:g('<script nonce="'+A(L)+'">');var ee=[];if(F!==void 0&&ee.push(L,u((""+F).replace(ie,me)),se),Z!==void 0)for(F=0;F<Z.length;F++)ee.push(fe,u(A(Z[F])),ge);if(re!==void 0)for(Z=0;Z<re.length;Z++)ee.push(te,u(A(re[Z])),ge);return{bootstrapChunks:ee,startInlineScript:L,placeholderPrefix:g(b+"P:"),segmentPrefix:g(b+"S:"),boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function pe(b,L){return{insertionMode:b,selectedValue:L}}function Me(b){return pe(b==="http://www.w3.org/2000/svg"?2:b==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Se(b,L,F){switch(L){case"select":return pe(1,F.value!=null?F.value:F.defaultValue);case"svg":return pe(2,null);case"math":return pe(3,null);case"foreignObject":return pe(1,null);case"table":return pe(4,null);case"thead":case"tbody":case"tfoot":return pe(5,null);case"colgroup":return pe(7,null);case"tr":return pe(6,null)}return 4<=b.insertionMode||b.insertionMode===0?pe(1,null):b}var De=g("<!-- -->");function de(b,L,F,Z){return L===""?Z:(Z&&b.push(De),b.push(u(A(L))),!0)}var xe=new Map,Ie=g(' style="'),Te=g(":"),Ge=g(";");function gt(b,L,F){if(typeof F!="object")throw Error(t(62));L=!0;for(var Z in F)if(v.call(F,Z)){var re=F[Z];if(re!=null&&typeof re!="boolean"&&re!==""){if(Z.indexOf("--")===0){var ee=u(A(Z));re=u(A((""+re).trim()))}else{ee=Z;var he=xe.get(ee);he!==void 0||(he=g(A(ee.replace(G,"-$1").toLowerCase().replace(K,"-ms-"))),xe.set(ee,he)),ee=he,re=typeof re=="number"?re===0||v.call(B,Z)?u(""+re):u(re+"px"):u(A((""+re).trim()))}L?(L=!1,b.push(Ie,ee,Te,re)):b.push(Ge,ee,Te,re)}}L||b.push(Oe)}var Ce=g(" "),Fe=g('="'),Oe=g('"'),Ye=g('=""');function Xe(b,L,F,Z){switch(F){case"style":gt(b,L,Z);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<F.length)||F[0]!=="o"&&F[0]!=="O"||F[1]!=="n"&&F[1]!=="N"){if(L=j.hasOwnProperty(F)?j[F]:null,L!==null){switch(typeof Z){case"function":case"symbol":return;case"boolean":if(!L.acceptsBooleans)return}switch(F=u(L.attributeName),L.type){case 3:Z&&b.push(Ce,F,Ye);break;case 4:Z===!0?b.push(Ce,F,Ye):Z!==!1&&b.push(Ce,F,Fe,u(A(Z)),Oe);break;case 5:isNaN(Z)||b.push(Ce,F,Fe,u(A(Z)),Oe);break;case 6:!isNaN(Z)&&1<=Z&&b.push(Ce,F,Fe,u(A(Z)),Oe);break;default:L.sanitizeURL&&(Z=""+Z),b.push(Ce,F,Fe,u(A(Z)),Oe)}}else if(_(F)){switch(typeof Z){case"function":case"symbol":return;case"boolean":if(L=F.toLowerCase().slice(0,5),L!=="data-"&&L!=="aria-")return}b.push(Ce,u(F),Fe,u(A(Z)),Oe)}}}var We=g(">"),Lt=g("/>");function nn(b,L,F){if(L!=null){if(F!=null)throw Error(t(60));if(typeof L!="object"||!("__html"in L))throw Error(t(61));L=L.__html,L!=null&&b.push(u(""+L))}}function ln(b){var L="";return e.Children.forEach(b,function(F){F!=null&&(L+=F)}),L}var Rt=g(' selected=""');function Tt(b,L,F,Z){b.push(Ft(F));var re=F=null,ee;for(ee in L)if(v.call(L,ee)){var he=L[ee];if(he!=null)switch(ee){case"children":F=he;break;case"dangerouslySetInnerHTML":re=he;break;default:Xe(b,Z,ee,he)}}return b.push(We),nn(b,re,F),typeof F=="string"?(b.push(u(A(F))),null):F}var un=g(`
614
+ */var r8;function pL(){if(r8)return Lc;r8=1;var e=p;function t(b){for(var L="https://reactjs.org/docs/error-decoder.html?invariant="+b,F=1;F<arguments.length;F++)L+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+b+"; visit "+L+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,o=0;function i(b,L){if(L.length!==0)if(512<L.length)0<o&&(b.enqueue(new Uint8Array(n.buffer,0,o)),n=new Uint8Array(512),o=0),b.enqueue(L);else{var F=n.length-o;F<L.length&&(F===0?b.enqueue(n):(n.set(L.subarray(0,F),o),b.enqueue(n),L=L.subarray(F)),n=new Uint8Array(512),o=0),n.set(L,o),o+=L.length}}function a(b,L){return i(b,L),!0}function s(b){n&&0<o&&(b.enqueue(new Uint8Array(n.buffer,0,o)),n=null,o=0)}var c=new TextEncoder;function u(b){return c.encode(b)}function g(b){return c.encode(b)}function C(b,L){typeof b.error=="function"?b.error(L):b.close()}var v=Object.prototype.hasOwnProperty,y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_={},M={};function E(b){return v.call(M,b)?!0:v.call(_,b)?!1:y.test(b)?M[b]=!0:(_[b]=!0,!1)}function I(b,L,F,Z,re,ee,he){this.acceptsBooleans=L===2||L===3||L===4,this.attributeName=Z,this.attributeNamespace=re,this.mustUseProperty=F,this.propertyName=b,this.type=L,this.sanitizeURL=ee,this.removeEmptyString=he}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(b){j[b]=new I(b,0,!1,b,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var L=b[0];j[L]=new I(L,1,!1,b[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){j[b]=new I(b,2,!1,b.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){j[b]=new I(b,2,!1,b,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(b){j[b]=new I(b,3,!1,b.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(b){j[b]=new I(b,3,!0,b,null,!1,!1)}),["capture","download"].forEach(function(b){j[b]=new I(b,4,!1,b,null,!1,!1)}),["cols","rows","size","span"].forEach(function(b){j[b]=new I(b,6,!1,b,null,!1,!1)}),["rowSpan","start"].forEach(function(b){j[b]=new I(b,5,!1,b.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function P(b){return b[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(b){var L=b.replace(R,P);j[L]=new I(L,1,!1,b,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(b){var L=b.replace(R,P);j[L]=new I(L,1,!1,b,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var L=b.replace(R,P);j[L]=new I(L,1,!1,b,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(b){j[b]=new I(b,1,!1,b.toLowerCase(),null,!1,!1)}),j.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(b){j[b]=new I(b,1,!1,b.toLowerCase(),null,!0,!0)});var B={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},D=["Webkit","ms","Moz","O"];Object.keys(B).forEach(function(b){D.forEach(function(L){L=L+b.charAt(0).toUpperCase()+b.substring(1),B[L]=B[b]})});var H=/["'&<>]/;function A(b){if(typeof b=="boolean"||typeof b=="number")return""+b;b=""+b;var L=H.exec(b);if(L){var F="",Z,re=0;for(Z=L.index;Z<b.length;Z++){switch(b.charCodeAt(Z)){case 34:L="&quot;";break;case 38:L="&amp;";break;case 39:L="&#x27;";break;case 60:L="&lt;";break;case 62:L="&gt;";break;default:continue}re!==Z&&(F+=b.substring(re,Z)),re=Z+1,F+=L}b=re!==Z?F+b.substring(re,Z):F}return b}var G=/([A-Z])/g,K=/^ms-/,Q=Array.isArray,le=g("<script>"),se=g("<\/script>"),fe=g('<script src="'),te=g('<script type="module" src="'),ge=g('" async=""><\/script>'),ie=/(<\/|<)(s)(cript)/gi;function me(b,L,F,Z){return""+L+(F==="s"?"\\u0073":"\\u0053")+Z}function ye(b,L,F,Z,re){b=b===void 0?"":b,L=L===void 0?le:g('<script nonce="'+A(L)+'">');var ee=[];if(F!==void 0&&ee.push(L,u((""+F).replace(ie,me)),se),Z!==void 0)for(F=0;F<Z.length;F++)ee.push(fe,u(A(Z[F])),ge);if(re!==void 0)for(Z=0;Z<re.length;Z++)ee.push(te,u(A(re[Z])),ge);return{bootstrapChunks:ee,startInlineScript:L,placeholderPrefix:g(b+"P:"),segmentPrefix:g(b+"S:"),boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function pe(b,L){return{insertionMode:b,selectedValue:L}}function Me(b){return pe(b==="http://www.w3.org/2000/svg"?2:b==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Se(b,L,F){switch(L){case"select":return pe(1,F.value!=null?F.value:F.defaultValue);case"svg":return pe(2,null);case"math":return pe(3,null);case"foreignObject":return pe(1,null);case"table":return pe(4,null);case"thead":case"tbody":case"tfoot":return pe(5,null);case"colgroup":return pe(7,null);case"tr":return pe(6,null)}return 4<=b.insertionMode||b.insertionMode===0?pe(1,null):b}var De=g("<!-- -->");function de(b,L,F,Z){return L===""?Z:(Z&&b.push(De),b.push(u(A(L))),!0)}var xe=new Map,Ie=g(' style="'),Te=g(":"),Ge=g(";");function gt(b,L,F){if(typeof F!="object")throw Error(t(62));L=!0;for(var Z in F)if(v.call(F,Z)){var re=F[Z];if(re!=null&&typeof re!="boolean"&&re!==""){if(Z.indexOf("--")===0){var ee=u(A(Z));re=u(A((""+re).trim()))}else{ee=Z;var he=xe.get(ee);he!==void 0||(he=g(A(ee.replace(G,"-$1").toLowerCase().replace(K,"-ms-"))),xe.set(ee,he)),ee=he,re=typeof re=="number"?re===0||v.call(B,Z)?u(""+re):u(re+"px"):u(A((""+re).trim()))}L?(L=!1,b.push(Ie,ee,Te,re)):b.push(Ge,ee,Te,re)}}L||b.push(Oe)}var Ce=g(" "),Fe=g('="'),Oe=g('"'),Ye=g('=""');function Xe(b,L,F,Z){switch(F){case"style":gt(b,L,Z);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<F.length)||F[0]!=="o"&&F[0]!=="O"||F[1]!=="n"&&F[1]!=="N"){if(L=j.hasOwnProperty(F)?j[F]:null,L!==null){switch(typeof Z){case"function":case"symbol":return;case"boolean":if(!L.acceptsBooleans)return}switch(F=u(L.attributeName),L.type){case 3:Z&&b.push(Ce,F,Ye);break;case 4:Z===!0?b.push(Ce,F,Ye):Z!==!1&&b.push(Ce,F,Fe,u(A(Z)),Oe);break;case 5:isNaN(Z)||b.push(Ce,F,Fe,u(A(Z)),Oe);break;case 6:!isNaN(Z)&&1<=Z&&b.push(Ce,F,Fe,u(A(Z)),Oe);break;default:L.sanitizeURL&&(Z=""+Z),b.push(Ce,F,Fe,u(A(Z)),Oe)}}else if(E(F)){switch(typeof Z){case"function":case"symbol":return;case"boolean":if(L=F.toLowerCase().slice(0,5),L!=="data-"&&L!=="aria-")return}b.push(Ce,u(F),Fe,u(A(Z)),Oe)}}}var We=g(">"),Lt=g("/>");function nn(b,L,F){if(L!=null){if(F!=null)throw Error(t(60));if(typeof L!="object"||!("__html"in L))throw Error(t(61));L=L.__html,L!=null&&b.push(u(""+L))}}function ln(b){var L="";return e.Children.forEach(b,function(F){F!=null&&(L+=F)}),L}var Rt=g(' selected=""');function Tt(b,L,F,Z){b.push(Ft(F));var re=F=null,ee;for(ee in L)if(v.call(L,ee)){var he=L[ee];if(he!=null)switch(ee){case"children":F=he;break;case"dangerouslySetInnerHTML":re=he;break;default:Xe(b,Z,ee,he)}}return b.push(We),nn(b,re,F),typeof F=="string"?(b.push(u(A(F))),null):F}var un=g(`
615
615
  `),sn=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ue=new Map;function Ft(b){var L=Ue.get(b);if(L===void 0){if(!sn.test(b))throw Error(t(65,b));L=g("<"+b),Ue.set(b,L)}return L}var tt=g("<!DOCTYPE html>");function yt(b,L,F,Z,re){switch(L){case"select":b.push(Ft("select"));var ee=null,he=null;for(lt in F)if(v.call(F,lt)){var ke=F[lt];if(ke!=null)switch(lt){case"children":ee=ke;break;case"dangerouslySetInnerHTML":he=ke;break;case"defaultValue":case"value":break;default:Xe(b,Z,lt,ke)}}return b.push(We),nn(b,he,ee),ee;case"option":he=re.selectedValue,b.push(Ft("option"));var qe=ke=null,ft=null,lt=null;for(ee in F)if(v.call(F,ee)){var Ot=F[ee];if(Ot!=null)switch(ee){case"children":ke=Ot;break;case"selected":ft=Ot;break;case"dangerouslySetInnerHTML":lt=Ot;break;case"value":qe=Ot;default:Xe(b,Z,ee,Ot)}}if(he!=null)if(F=qe!==null?""+qe:ln(ke),Q(he)){for(Z=0;Z<he.length;Z++)if(""+he[Z]===F){b.push(Rt);break}}else""+he===F&&b.push(Rt);else ft&&b.push(Rt);return b.push(We),nn(b,lt,ke),ke;case"textarea":b.push(Ft("textarea")),lt=he=ee=null;for(ke in F)if(v.call(F,ke)&&(qe=F[ke],qe!=null))switch(ke){case"children":lt=qe;break;case"value":ee=qe;break;case"defaultValue":he=qe;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Xe(b,Z,ke,qe)}if(ee===null&&he!==null&&(ee=he),b.push(We),lt!=null){if(ee!=null)throw Error(t(92));if(Q(lt)&&1<lt.length)throw Error(t(93));ee=""+lt}return typeof ee=="string"&&ee[0]===`
616
616
  `&&b.push(un),ee!==null&&b.push(u(A(""+ee))),null;case"input":b.push(Ft("input")),qe=lt=ke=ee=null;for(he in F)if(v.call(F,he)&&(ft=F[he],ft!=null))switch(he){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":qe=ft;break;case"defaultValue":ke=ft;break;case"checked":lt=ft;break;case"value":ee=ft;break;default:Xe(b,Z,he,ft)}return lt!==null?Xe(b,Z,"checked",lt):qe!==null&&Xe(b,Z,"checked",qe),ee!==null?Xe(b,Z,"value",ee):ke!==null&&Xe(b,Z,"value",ke),b.push(Lt),null;case"menuitem":b.push(Ft("menuitem"));for(var En in F)if(v.call(F,En)&&(ee=F[En],ee!=null))switch(En){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Xe(b,Z,En,ee)}return b.push(We),null;case"title":b.push(Ft("title")),ee=null;for(Ot in F)if(v.call(F,Ot)&&(he=F[Ot],he!=null))switch(Ot){case"children":ee=he;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Xe(b,Z,Ot,he)}return b.push(We),ee;case"listing":case"pre":b.push(Ft(L)),he=ee=null;for(qe in F)if(v.call(F,qe)&&(ke=F[qe],ke!=null))switch(qe){case"children":ee=ke;break;case"dangerouslySetInnerHTML":he=ke;break;default:Xe(b,Z,qe,ke)}if(b.push(We),he!=null){if(ee!=null)throw Error(t(60));if(typeof he!="object"||!("__html"in he))throw Error(t(61));F=he.__html,F!=null&&(typeof F=="string"&&0<F.length&&F[0]===`
617
617
  `?b.push(un,u(F)):b.push(u(""+F)))}return typeof ee=="string"&&ee[0]===`
618
- `&&b.push(un),ee;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":b.push(Ft(L));for(var Dn in F)if(v.call(F,Dn)&&(ee=F[Dn],ee!=null))switch(Dn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,L));default:Xe(b,Z,Dn,ee)}return b.push(Lt),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Tt(b,F,L,Z);case"html":return re.insertionMode===0&&b.push(tt),Tt(b,F,L,Z);default:if(L.indexOf("-")===-1&&typeof F.is!="string")return Tt(b,F,L,Z);b.push(Ft(L)),he=ee=null;for(ft in F)if(v.call(F,ft)&&(ke=F[ft],ke!=null))switch(ft){case"children":ee=ke;break;case"dangerouslySetInnerHTML":he=ke;break;case"style":gt(b,Z,ke);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:_(ft)&&typeof ke!="function"&&typeof ke!="symbol"&&b.push(Ce,u(ft),Fe,u(A(ke)),Oe)}return b.push(We),nn(b,he,ee),ee}}var rn=g("</"),qt=g(">"),jt=g('<template id="'),hn=g('"></template>'),Ae=g("<!--$-->"),Be=g('<!--$?--><template id="'),et=g('"></template>'),dt=g("<!--$!-->"),Vt=g("<!--/$-->"),xn=g("<template"),wn=g('"'),ar=g(' data-dgst="');g(' data-msg="'),g(' data-stck="');var Le=g("></template>");function Pe(b,L,F){if(i(b,Be),F===null)throw Error(t(395));return i(b,F),a(b,et)}var ct=g('<div hidden id="'),mt=g('">'),He=g("</div>"),bt=g('<svg aria-hidden="true" style="display:none" id="'),xt=g('">'),Xt=g("</svg>"),Qt=g('<math aria-hidden="true" style="display:none" id="'),fn=g('">'),Bt=g("</math>"),Pt=g('<table hidden id="'),Hr=g('">'),Dr=g("</table>"),Ar=g('<table hidden><tbody id="'),Nt=g('">'),Rr=g("</tbody></table>"),So=g('<table hidden><tr id="'),Lo=g('">'),Y=g("</tr></table>"),be=g('<table hidden><colgroup id="'),je=g('">'),Ke=g("</colgroup></table>");function ut(b,L,F,Z){switch(F.insertionMode){case 0:case 1:return i(b,ct),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,mt);case 2:return i(b,bt),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,xt);case 3:return i(b,Qt),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,fn);case 4:return i(b,Pt),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,Hr);case 5:return i(b,Ar),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,Nt);case 6:return i(b,So),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,Lo);case 7:return i(b,be),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,je);default:throw Error(t(397))}}function vt(b,L){switch(L.insertionMode){case 0:case 1:return a(b,He);case 2:return a(b,Xt);case 3:return a(b,Bt);case 4:return a(b,Dr);case 5:return a(b,Rr);case 6:return a(b,Y);case 7:return a(b,Ke);default:throw Error(t(397))}}var ht=g('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),at=g('$RS("'),Zt=g('","'),$t=g('")<\/script>'),Mt=g('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Ht=g('$RC("'),yn=g('","'),zn=g('")<\/script>'),Ut=g('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Wt=g('$RX("'),Gn=g('"'),On=g(")<\/script>"),cn=g(","),no=/[<\u2028\u2029]/g;function Yn(b){return JSON.stringify(b).replace(no,function(L){switch(L){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Xn=Object.assign,kn=Symbol.for("react.element"),lr=Symbol.for("react.portal"),br=Symbol.for("react.fragment"),$o=Symbol.for("react.strict_mode"),Mo=Symbol.for("react.profiler"),ro=Symbol.for("react.provider"),Cr=Symbol.for("react.context"),jo=Symbol.for("react.forward_ref"),oo=Symbol.for("react.suspense"),io=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.scope"),N=Symbol.for("react.debug_trace_mode"),ne=Symbol.for("react.legacy_hidden"),q=Symbol.for("react.default_value"),ce=Symbol.iterator;function we(b){if(b==null)return null;if(typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case br:return"Fragment";case lr:return"Portal";case Mo:return"Profiler";case $o:return"StrictMode";case oo:return"Suspense";case io:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case Cr:return(b.displayName||"Context")+".Consumer";case ro:return(b._context.displayName||"Context")+".Provider";case jo:var L=b.render;return b=b.displayName,b||(b=L.displayName||L.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case m:return L=b.displayName||null,L!==null?L:we(b.type)||"Memo";case S:L=b._payload,b=b._init;try{return we(b(L))}catch{}}return null}var Ne={};function Je(b,L){if(b=b.contextTypes,!b)return Ne;var F={},Z;for(Z in b)F[Z]=L[Z];return F}var ze=null;function kt(b,L){if(b!==L){b.context._currentValue=b.parentValue,b=b.parent;var F=L.parent;if(b===null){if(F!==null)throw Error(t(401))}else{if(F===null)throw Error(t(401));kt(b,F)}L.context._currentValue=L.value}}function $n(b){b.context._currentValue=b.parentValue,b=b.parent,b!==null&&$n(b)}function gn(b){var L=b.parent;L!==null&&gn(L),b.context._currentValue=b.value}function vn(b,L){if(b.context._currentValue=b.parentValue,b=b.parent,b===null)throw Error(t(402));b.depth===L.depth?kt(b,L):vn(b,L)}function sr(b,L){var F=L.parent;if(F===null)throw Error(t(402));b.depth===F.depth?kt(b,F):sr(b,F),L.context._currentValue=L.value}function Pn(b){var L=ze;L!==b&&(L===null?gn(b):b===null?$n(L):L.depth===b.depth?kt(L,b):L.depth>b.depth?vn(L,b):sr(L,b),ze=b)}var ao={isMounted:function(){return!1},enqueueSetState:function(b,L){b=b._reactInternals,b.queue!==null&&b.queue.push(L)},enqueueReplaceState:function(b,L){b=b._reactInternals,b.replace=!0,b.queue=[L]},enqueueForceUpdate:function(){}};function xr(b,L,F,Z){var re=b.state!==void 0?b.state:null;b.updater=ao,b.props=F,b.state=re;var ee={queue:[],replace:!1};b._reactInternals=ee;var he=L.contextType;if(b.context=typeof he=="object"&&he!==null?he._currentValue:Z,he=L.getDerivedStateFromProps,typeof he=="function"&&(he=he(F,re),re=he==null?re:Xn({},re,he),b.state=re),typeof L.getDerivedStateFromProps!="function"&&typeof b.getSnapshotBeforeUpdate!="function"&&(typeof b.UNSAFE_componentWillMount=="function"||typeof b.componentWillMount=="function"))if(L=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),L!==b.state&&ao.enqueueReplaceState(b,b.state,null),ee.queue!==null&&0<ee.queue.length)if(L=ee.queue,he=ee.replace,ee.queue=null,ee.replace=!1,he&&L.length===1)b.state=L[0];else{for(ee=he?L[0]:b.state,re=!0,he=he?1:0;he<L.length;he++){var ke=L[he];ke=typeof ke=="function"?ke.call(b,ee,F,Z):ke,ke!=null&&(re?(re=!1,ee=Xn({},ee,ke)):Xn(ee,ke))}b.state=ee}else ee.queue=null}var Vr={id:1,overflow:""};function cr(b,L,F){var Z=b.id;b=b.overflow;var re=32-Eo(Z)-1;Z&=~(1<<re),F+=1;var ee=32-Eo(L)+re;if(30<ee){var he=re-re%5;return ee=(Z&(1<<he)-1).toString(32),Z>>=he,re-=he,{id:1<<32-Eo(L)+re|F<<re|Z,overflow:ee+b}}return{id:1<<ee|F<<re|Z,overflow:b}}var Eo=Math.clz32?Math.clz32:Bi,Pl=Math.log,Hl=Math.LN2;function Bi(b){return b>>>=0,b===0?32:31-(Pl(b)/Hl|0)|0}function Dl(b,L){return b===L&&(b!==0||1/b===1/L)||b!==b&&L!==L}var Ni=typeof Object.is=="function"?Object.is:Dl,dr=null,_o=null,ii=null,It=null,wr=!1,Mn=!1,Br=0,yr=null,ai=0;function kr(){if(dr===null)throw Error(t(321));return dr}function Hn(){if(0<ai)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Zi(){return It===null?ii===null?(wr=!1,ii=It=Hn()):(wr=!0,It=ii):It.next===null?(wr=!1,It=It.next=Hn()):(wr=!0,It=It.next),It}function Ui(){_o=dr=null,Mn=!1,ii=null,ai=0,It=yr=null}function Y1(b,L){return typeof L=="function"?L(b):L}function X1(b,L,F){if(dr=kr(),It=Zi(),wr){var Z=It.queue;if(L=Z.dispatch,yr!==null&&(F=yr.get(Z),F!==void 0)){yr.delete(Z),Z=It.memoizedState;do Z=b(Z,F.action),F=F.next;while(F!==null);return It.memoizedState=Z,[Z,L]}return[It.memoizedState,L]}return b=b===Y1?typeof L=="function"?L():L:F!==void 0?F(L):L,It.memoizedState=b,b=It.queue={last:null,dispatch:null},b=b.dispatch=Al.bind(null,dr,b),[It.memoizedState,b]}function K1(b,L){if(dr=kr(),It=Zi(),L=L===void 0?null:L,It!==null){var F=It.memoizedState;if(F!==null&&L!==null){var Z=F[1];e:if(Z===null)Z=!1;else{for(var re=0;re<Z.length&&re<L.length;re++)if(!Ni(L[re],Z[re])){Z=!1;break e}Z=!0}if(Z)return F[0]}}return b=b(),It.memoizedState=[b,L],b}function Al(b,L,F){if(25<=ai)throw Error(t(301));if(b===dr)if(Mn=!0,b={action:F,next:null},yr===null&&(yr=new Map),F=yr.get(L),F===void 0)yr.set(L,b);else{for(L=F;L.next!==null;)L=L.next;L.next=b}}function Rl(){throw Error(t(394))}function li(){}var si={readContext:function(b){return b._currentValue},useContext:function(b){return kr(),b._currentValue},useMemo:K1,useReducer:X1,useRef:function(b){dr=kr(),It=Zi();var L=It.memoizedState;return L===null?(b={current:b},It.memoizedState=b):L},useState:function(b){return X1(Y1,b)},useInsertionEffect:li,useLayoutEffect:function(){},useCallback:function(b,L){return K1(function(){return b},L)},useImperativeHandle:li,useEffect:li,useDebugValue:li,useDeferredValue:function(b){return kr(),b},useTransition:function(){return kr(),[!1,Rl]},useId:function(){var b=_o.treeContext,L=b.overflow;b=b.id,b=(b&~(1<<32-Eo(b)-1)).toString(32)+L;var F=ci;if(F===null)throw Error(t(404));return L=Br++,b=":"+F.idPrefix+"R"+b,0<L&&(b+="H"+L.toString(32)),b+":"},useMutableSource:function(b,L){return kr(),L(b._source)},useSyncExternalStore:function(b,L,F){if(F===void 0)throw Error(t(407));return F()}},ci=null,Io=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Vl(b){return console.error(b),null}function To(){}function Wi(b,L,F,Z,re,ee,he,ke,qe){var ft=[],lt=new Set;return L={destination:null,responseState:L,progressiveChunkSize:Z===void 0?12800:Z,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:lt,pingedTasks:ft,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:re===void 0?Vl:re,onAllReady:ee===void 0?To:ee,onShellReady:he===void 0?To:he,onShellError:ke===void 0?To:ke,onFatalError:qe===void 0?To:qe},F=lo(L,0,null,F,!1,!1),F.parentFlushed=!0,b=zi(L,b,null,F,lt,Ne,null,Vr),ft.push(b),L}function zi(b,L,F,Z,re,ee,he,ke){b.allPendingTasks++,F===null?b.pendingRootTasks++:F.pendingTasks++;var qe={node:L,ping:function(){var ft=b.pingedTasks;ft.push(qe),ft.length===1&&na(b)},blockedBoundary:F,blockedSegment:Z,abortSet:re,legacyContext:ee,context:he,treeContext:ke};return re.add(qe),qe}function lo(b,L,F,Z,re,ee){return{status:0,id:-1,index:L,parentFlushed:!1,chunks:[],children:[],formatContext:Z,boundary:F,lastPushedText:re,textEmbedded:ee}}function so(b,L){if(b=b.onError(L),b!=null&&typeof b!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b}function di(b,L){var F=b.onShellError;F(L),F=b.onFatalError,F(L),b.destination!==null?(b.status=2,C(b.destination,L)):(b.status=1,b.fatalError=L)}function J1(b,L,F,Z,re){for(dr={},_o=L,Br=0,b=F(Z,re);Mn;)Mn=!1,Br=0,ai+=1,It=null,b=F(Z,re);return Ui(),b}function Gi(b,L,F,Z){var re=F.render(),ee=Z.childContextTypes;if(ee!=null){var he=L.legacyContext;if(typeof F.getChildContext!="function")Z=he;else{F=F.getChildContext();for(var ke in F)if(!(ke in ee))throw Error(t(108,we(Z)||"Unknown",ke));Z=Xn({},he,F)}L.legacyContext=Z,jn(b,L,re),L.legacyContext=he}else jn(b,L,re)}function q1(b,L){if(b&&b.defaultProps){L=Xn({},L),b=b.defaultProps;for(var F in b)L[F]===void 0&&(L[F]=b[F]);return L}return L}function ui(b,L,F,Z,re){if(typeof F=="function")if(F.prototype&&F.prototype.isReactComponent){re=Je(F,L.legacyContext);var ee=F.contextType;ee=new F(Z,typeof ee=="object"&&ee!==null?ee._currentValue:re),xr(ee,F,Z,re),Gi(b,L,ee,F)}else{ee=Je(F,L.legacyContext),re=J1(b,L,F,Z,ee);var he=Br!==0;if(typeof re=="object"&&re!==null&&typeof re.render=="function"&&re.$$typeof===void 0)xr(re,F,Z,ee),Gi(b,L,re,F);else if(he){Z=L.treeContext,L.treeContext=cr(Z,1,0);try{jn(b,L,re)}finally{L.treeContext=Z}}else jn(b,L,re)}else if(typeof F=="string"){switch(re=L.blockedSegment,ee=yt(re.chunks,F,Z,b.responseState,re.formatContext),re.lastPushedText=!1,he=re.formatContext,re.formatContext=Se(he,F,Z),fi(b,L,ee),re.formatContext=he,F){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:re.chunks.push(rn,u(F),qt)}re.lastPushedText=!1}else{switch(F){case ne:case N:case $o:case Mo:case br:jn(b,L,Z.children);return;case io:jn(b,L,Z.children);return;case O:throw Error(t(343));case oo:e:{F=L.blockedBoundary,re=L.blockedSegment,ee=Z.fallback,Z=Z.children,he=new Set;var ke={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:he,errorDigest:null},qe=lo(b,re.chunks.length,ke,re.formatContext,!1,!1);re.children.push(qe),re.lastPushedText=!1;var ft=lo(b,0,null,re.formatContext,!1,!1);ft.parentFlushed=!0,L.blockedBoundary=ke,L.blockedSegment=ft;try{if(fi(b,L,Z),ft.lastPushedText&&ft.textEmbedded&&ft.chunks.push(De),ft.status=1,pi(ke,ft),ke.pendingTasks===0)break e}catch(lt){ft.status=4,ke.forceClientRender=!0,ke.errorDigest=so(b,lt)}finally{L.blockedBoundary=F,L.blockedSegment=re}L=zi(b,ee,F,qe,he,L.legacyContext,L.context,L.treeContext),b.pingedTasks.push(L)}return}if(typeof F=="object"&&F!==null)switch(F.$$typeof){case jo:if(Z=J1(b,L,F.render,Z,re),Br!==0){F=L.treeContext,L.treeContext=cr(F,1,0);try{jn(b,L,Z)}finally{L.treeContext=F}}else jn(b,L,Z);return;case m:F=F.type,Z=q1(F,Z),ui(b,L,F,Z,re);return;case ro:if(re=Z.children,F=F._context,Z=Z.value,ee=F._currentValue,F._currentValue=Z,he=ze,ze=Z={parent:he,depth:he===null?0:he.depth+1,context:F,parentValue:ee,value:Z},L.context=Z,jn(b,L,re),b=ze,b===null)throw Error(t(403));Z=b.parentValue,b.context._currentValue=Z===q?b.context._defaultValue:Z,b=ze=b.parent,L.context=b;return;case Cr:Z=Z.children,Z=Z(F._currentValue),jn(b,L,Z);return;case S:re=F._init,F=re(F._payload),Z=q1(F,Z),ui(b,L,F,Z,void 0);return}throw Error(t(130,F==null?F:typeof F,""))}}function jn(b,L,F){if(L.node=F,typeof F=="object"&&F!==null){switch(F.$$typeof){case kn:ui(b,L,F.type,F.props,F.ref);return;case lr:throw Error(t(257));case S:var Z=F._init;F=Z(F._payload),jn(b,L,F);return}if(Q(F)){Q1(b,L,F);return}if(F===null||typeof F!="object"?Z=null:(Z=ce&&F[ce]||F["@@iterator"],Z=typeof Z=="function"?Z:null),Z&&(Z=Z.call(F))){if(F=Z.next(),!F.done){var re=[];do re.push(F.value),F=Z.next();while(!F.done);Q1(b,L,re)}return}throw b=Object.prototype.toString.call(F),Error(t(31,b==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":b))}typeof F=="string"?(Z=L.blockedSegment,Z.lastPushedText=de(L.blockedSegment.chunks,F,b.responseState,Z.lastPushedText)):typeof F=="number"&&(Z=L.blockedSegment,Z.lastPushedText=de(L.blockedSegment.chunks,""+F,b.responseState,Z.lastPushedText))}function Q1(b,L,F){for(var Z=F.length,re=0;re<Z;re++){var ee=L.treeContext;L.treeContext=cr(ee,Z,re);try{fi(b,L,F[re])}finally{L.treeContext=ee}}}function fi(b,L,F){var Z=L.blockedSegment.formatContext,re=L.legacyContext,ee=L.context;try{return jn(b,L,F)}catch(qe){if(Ui(),typeof qe=="object"&&qe!==null&&typeof qe.then=="function"){F=qe;var he=L.blockedSegment,ke=lo(b,he.chunks.length,null,he.formatContext,he.lastPushedText,!0);he.children.push(ke),he.lastPushedText=!1,b=zi(b,L.node,L.blockedBoundary,ke,L.abortSet,L.legacyContext,L.context,L.treeContext).ping,F.then(b,b),L.blockedSegment.formatContext=Z,L.legacyContext=re,L.context=ee,Pn(ee)}else throw L.blockedSegment.formatContext=Z,L.legacyContext=re,L.context=ee,Pn(ee),qe}}function Bl(b){var L=b.blockedBoundary;b=b.blockedSegment,b.status=3,ta(this,L,b)}function ea(b,L,F){var Z=b.blockedBoundary;b.blockedSegment.status=3,Z===null?(L.allPendingTasks--,L.status!==2&&(L.status=2,L.destination!==null&&L.destination.close())):(Z.pendingTasks--,Z.forceClientRender||(Z.forceClientRender=!0,b=F===void 0?Error(t(432)):F,Z.errorDigest=L.onError(b),Z.parentFlushed&&L.clientRenderedBoundaries.push(Z)),Z.fallbackAbortableTasks.forEach(function(re){return ea(re,L,F)}),Z.fallbackAbortableTasks.clear(),L.allPendingTasks--,L.allPendingTasks===0&&(Z=L.onAllReady,Z()))}function pi(b,L){if(L.chunks.length===0&&L.children.length===1&&L.children[0].boundary===null){var F=L.children[0];F.id=L.id,F.parentFlushed=!0,F.status===1&&pi(b,F)}else b.completedSegments.push(L)}function ta(b,L,F){if(L===null){if(F.parentFlushed){if(b.completedRootSegment!==null)throw Error(t(389));b.completedRootSegment=F}b.pendingRootTasks--,b.pendingRootTasks===0&&(b.onShellError=To,L=b.onShellReady,L())}else L.pendingTasks--,L.forceClientRender||(L.pendingTasks===0?(F.parentFlushed&&F.status===1&&pi(L,F),L.parentFlushed&&b.completedBoundaries.push(L),L.fallbackAbortableTasks.forEach(Bl,b),L.fallbackAbortableTasks.clear()):F.parentFlushed&&F.status===1&&(pi(L,F),L.completedSegments.length===1&&L.parentFlushed&&b.partialBoundaries.push(L)));b.allPendingTasks--,b.allPendingTasks===0&&(b=b.onAllReady,b())}function na(b){if(b.status!==2){var L=ze,F=Io.current;Io.current=si;var Z=ci;ci=b.responseState;try{var re=b.pingedTasks,ee;for(ee=0;ee<re.length;ee++){var he=re[ee],ke=b,qe=he.blockedSegment;if(qe.status===0){Pn(he.context);try{jn(ke,he,he.node),qe.lastPushedText&&qe.textEmbedded&&qe.chunks.push(De),he.abortSet.delete(he),qe.status=1,ta(ke,he.blockedBoundary,qe)}catch(An){if(Ui(),typeof An=="object"&&An!==null&&typeof An.then=="function"){var ft=he.ping;An.then(ft,ft)}else{he.abortSet.delete(he),qe.status=4;var lt=he.blockedBoundary,Ot=An,En=so(ke,Ot);if(lt===null?di(ke,Ot):(lt.pendingTasks--,lt.forceClientRender||(lt.forceClientRender=!0,lt.errorDigest=En,lt.parentFlushed&&ke.clientRenderedBoundaries.push(lt))),ke.allPendingTasks--,ke.allPendingTasks===0){var Dn=ke.onAllReady;Dn()}}}finally{}}}re.splice(0,ee),b.destination!==null&&Yi(b,b.destination)}catch(An){so(b,An),di(b,An)}finally{ci=Z,Io.current=F,F===si&&Pn(L)}}}function hi(b,L,F){switch(F.parentFlushed=!0,F.status){case 0:var Z=F.id=b.nextSegmentId++;return F.lastPushedText=!1,F.textEmbedded=!1,b=b.responseState,i(L,jt),i(L,b.placeholderPrefix),b=u(Z.toString(16)),i(L,b),a(L,hn);case 1:F.status=2;var re=!0;Z=F.chunks;var ee=0;F=F.children;for(var he=0;he<F.length;he++){for(re=F[he];ee<re.index;ee++)i(L,Z[ee]);re=gi(b,L,re)}for(;ee<Z.length-1;ee++)i(L,Z[ee]);return ee<Z.length&&(re=a(L,Z[ee])),re;default:throw Error(t(390))}}function gi(b,L,F){var Z=F.boundary;if(Z===null)return hi(b,L,F);if(Z.parentFlushed=!0,Z.forceClientRender)Z=Z.errorDigest,a(L,dt),i(L,xn),Z&&(i(L,ar),i(L,u(A(Z))),i(L,wn)),a(L,Le),hi(b,L,F);else if(0<Z.pendingTasks){Z.rootSegmentID=b.nextSegmentId++,0<Z.completedSegments.length&&b.partialBoundaries.push(Z);var re=b.responseState,ee=re.nextSuspenseID++;re=g(re.boundaryPrefix+ee.toString(16)),Z=Z.id=re,Pe(L,b.responseState,Z),hi(b,L,F)}else if(Z.byteSize>b.progressiveChunkSize)Z.rootSegmentID=b.nextSegmentId++,b.completedBoundaries.push(Z),Pe(L,b.responseState,Z.id),hi(b,L,F);else{if(a(L,Ae),F=Z.completedSegments,F.length!==1)throw Error(t(391));gi(b,L,F[0])}return a(L,Vt)}function ra(b,L,F){return ut(L,b.responseState,F.formatContext,F.id),gi(b,L,F),vt(L,F.formatContext)}function oa(b,L,F){for(var Z=F.completedSegments,re=0;re<Z.length;re++)ia(b,L,F,Z[re]);if(Z.length=0,b=b.responseState,Z=F.id,F=F.rootSegmentID,i(L,b.startInlineScript),b.sentCompleteBoundaryFunction?i(L,Ht):(b.sentCompleteBoundaryFunction=!0,i(L,Mt)),Z===null)throw Error(t(395));return F=u(F.toString(16)),i(L,Z),i(L,yn),i(L,b.segmentPrefix),i(L,F),a(L,zn)}function ia(b,L,F,Z){if(Z.status===2)return!0;var re=Z.id;if(re===-1){if((Z.id=F.rootSegmentID)===-1)throw Error(t(392));return ra(b,L,Z)}return ra(b,L,Z),b=b.responseState,i(L,b.startInlineScript),b.sentCompleteSegmentFunction?i(L,at):(b.sentCompleteSegmentFunction=!0,i(L,ht)),i(L,b.segmentPrefix),re=u(re.toString(16)),i(L,re),i(L,Zt),i(L,b.placeholderPrefix),i(L,re),a(L,$t)}function Yi(b,L){n=new Uint8Array(512),o=0;try{var F=b.completedRootSegment;if(F!==null&&b.pendingRootTasks===0){gi(b,L,F),b.completedRootSegment=null;var Z=b.responseState.bootstrapChunks;for(F=0;F<Z.length-1;F++)i(L,Z[F]);F<Z.length&&a(L,Z[F])}var re=b.clientRenderedBoundaries,ee;for(ee=0;ee<re.length;ee++){var he=re[ee];Z=L;var ke=b.responseState,qe=he.id,ft=he.errorDigest,lt=he.errorMessage,Ot=he.errorComponentStack;if(i(Z,ke.startInlineScript),ke.sentClientRenderFunction?i(Z,Wt):(ke.sentClientRenderFunction=!0,i(Z,Ut)),qe===null)throw Error(t(395));i(Z,qe),i(Z,Gn),(ft||lt||Ot)&&(i(Z,cn),i(Z,u(Yn(ft||"")))),(lt||Ot)&&(i(Z,cn),i(Z,u(Yn(lt||"")))),Ot&&(i(Z,cn),i(Z,u(Yn(Ot)))),a(Z,On)}re.splice(0,ee);var En=b.completedBoundaries;for(ee=0;ee<En.length;ee++)oa(b,L,En[ee]);En.splice(0,ee),s(L),n=new Uint8Array(512),o=0;var Dn=b.partialBoundaries;for(ee=0;ee<Dn.length;ee++){var An=Dn[ee];e:{re=b,he=L;var vi=An.completedSegments;for(ke=0;ke<vi.length;ke++)if(!ia(re,he,An,vi[ke])){ke++,vi.splice(0,ke);var la=!1;break e}vi.splice(0,ke),la=!0}if(!la){b.destination=null,ee++,Dn.splice(0,ee);return}}Dn.splice(0,ee);var Xi=b.completedBoundaries;for(ee=0;ee<Xi.length;ee++)oa(b,L,Xi[ee]);Xi.splice(0,ee)}finally{s(L),b.allPendingTasks===0&&b.pingedTasks.length===0&&b.clientRenderedBoundaries.length===0&&b.completedBoundaries.length===0&&L.close()}}function aa(b,L){try{var F=b.abortableTasks;F.forEach(function(Z){return ea(Z,b,L)}),F.clear(),b.destination!==null&&Yi(b,b.destination)}catch(Z){so(b,Z),di(b,Z)}}return Lc.renderToReadableStream=function(b,L){return new Promise(function(F,Z){var re,ee,he=new Promise(function(lt,Ot){ee=lt,re=Ot}),ke=Wi(b,ye(L?L.identifierPrefix:void 0,L?L.nonce:void 0,L?L.bootstrapScriptContent:void 0,L?L.bootstrapScripts:void 0,L?L.bootstrapModules:void 0),Me(L?L.namespaceURI:void 0),L?L.progressiveChunkSize:void 0,L?L.onError:void 0,ee,function(){var lt=new ReadableStream({type:"bytes",pull:function(Ot){if(ke.status===1)ke.status=2,C(Ot,ke.fatalError);else if(ke.status!==2&&ke.destination===null){ke.destination=Ot;try{Yi(ke,Ot)}catch(En){so(ke,En),di(ke,En)}}},cancel:function(){aa(ke)}},{highWaterMark:0});lt.allReady=he,F(lt)},function(lt){he.catch(function(){}),Z(lt)},re);if(L&&L.signal){var qe=L.signal,ft=function(){aa(ke,qe.reason),qe.removeEventListener("abort",ft)};qe.addEventListener("abort",ft)}na(ke)})},Lc.version="18.2.0",Lc}var Oi={};/**
618
+ `&&b.push(un),ee;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":b.push(Ft(L));for(var Dn in F)if(v.call(F,Dn)&&(ee=F[Dn],ee!=null))switch(Dn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,L));default:Xe(b,Z,Dn,ee)}return b.push(Lt),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Tt(b,F,L,Z);case"html":return re.insertionMode===0&&b.push(tt),Tt(b,F,L,Z);default:if(L.indexOf("-")===-1&&typeof F.is!="string")return Tt(b,F,L,Z);b.push(Ft(L)),he=ee=null;for(ft in F)if(v.call(F,ft)&&(ke=F[ft],ke!=null))switch(ft){case"children":ee=ke;break;case"dangerouslySetInnerHTML":he=ke;break;case"style":gt(b,Z,ke);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(ft)&&typeof ke!="function"&&typeof ke!="symbol"&&b.push(Ce,u(ft),Fe,u(A(ke)),Oe)}return b.push(We),nn(b,he,ee),ee}}var rn=g("</"),qt=g(">"),jt=g('<template id="'),hn=g('"></template>'),Ae=g("<!--$-->"),Be=g('<!--$?--><template id="'),et=g('"></template>'),dt=g("<!--$!-->"),Vt=g("<!--/$-->"),xn=g("<template"),wn=g('"'),ar=g(' data-dgst="');g(' data-msg="'),g(' data-stck="');var Le=g("></template>");function Pe(b,L,F){if(i(b,Be),F===null)throw Error(t(395));return i(b,F),a(b,et)}var ct=g('<div hidden id="'),mt=g('">'),He=g("</div>"),bt=g('<svg aria-hidden="true" style="display:none" id="'),xt=g('">'),Xt=g("</svg>"),Qt=g('<math aria-hidden="true" style="display:none" id="'),fn=g('">'),Bt=g("</math>"),Pt=g('<table hidden id="'),Hr=g('">'),Dr=g("</table>"),Ar=g('<table hidden><tbody id="'),Nt=g('">'),Rr=g("</tbody></table>"),So=g('<table hidden><tr id="'),Lo=g('">'),Y=g("</tr></table>"),be=g('<table hidden><colgroup id="'),je=g('">'),Ke=g("</colgroup></table>");function ut(b,L,F,Z){switch(F.insertionMode){case 0:case 1:return i(b,ct),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,mt);case 2:return i(b,bt),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,xt);case 3:return i(b,Qt),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,fn);case 4:return i(b,Pt),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,Hr);case 5:return i(b,Ar),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,Nt);case 6:return i(b,So),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,Lo);case 7:return i(b,be),i(b,L.segmentPrefix),i(b,u(Z.toString(16))),a(b,je);default:throw Error(t(397))}}function vt(b,L){switch(L.insertionMode){case 0:case 1:return a(b,He);case 2:return a(b,Xt);case 3:return a(b,Bt);case 4:return a(b,Dr);case 5:return a(b,Rr);case 6:return a(b,Y);case 7:return a(b,Ke);default:throw Error(t(397))}}var ht=g('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),at=g('$RS("'),Zt=g('","'),$t=g('")<\/script>'),Mt=g('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Ht=g('$RC("'),yn=g('","'),zn=g('")<\/script>'),Ut=g('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Wt=g('$RX("'),Gn=g('"'),On=g(")<\/script>"),cn=g(","),no=/[<\u2028\u2029]/g;function Yn(b){return JSON.stringify(b).replace(no,function(L){switch(L){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Xn=Object.assign,kn=Symbol.for("react.element"),lr=Symbol.for("react.portal"),br=Symbol.for("react.fragment"),$o=Symbol.for("react.strict_mode"),Mo=Symbol.for("react.profiler"),ro=Symbol.for("react.provider"),Cr=Symbol.for("react.context"),jo=Symbol.for("react.forward_ref"),oo=Symbol.for("react.suspense"),io=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.scope"),N=Symbol.for("react.debug_trace_mode"),ne=Symbol.for("react.legacy_hidden"),q=Symbol.for("react.default_value"),ce=Symbol.iterator;function we(b){if(b==null)return null;if(typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case br:return"Fragment";case lr:return"Portal";case Mo:return"Profiler";case $o:return"StrictMode";case oo:return"Suspense";case io:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case Cr:return(b.displayName||"Context")+".Consumer";case ro:return(b._context.displayName||"Context")+".Provider";case jo:var L=b.render;return b=b.displayName,b||(b=L.displayName||L.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case m:return L=b.displayName||null,L!==null?L:we(b.type)||"Memo";case S:L=b._payload,b=b._init;try{return we(b(L))}catch{}}return null}var Ne={};function Je(b,L){if(b=b.contextTypes,!b)return Ne;var F={},Z;for(Z in b)F[Z]=L[Z];return F}var ze=null;function kt(b,L){if(b!==L){b.context._currentValue=b.parentValue,b=b.parent;var F=L.parent;if(b===null){if(F!==null)throw Error(t(401))}else{if(F===null)throw Error(t(401));kt(b,F)}L.context._currentValue=L.value}}function $n(b){b.context._currentValue=b.parentValue,b=b.parent,b!==null&&$n(b)}function gn(b){var L=b.parent;L!==null&&gn(L),b.context._currentValue=b.value}function vn(b,L){if(b.context._currentValue=b.parentValue,b=b.parent,b===null)throw Error(t(402));b.depth===L.depth?kt(b,L):vn(b,L)}function sr(b,L){var F=L.parent;if(F===null)throw Error(t(402));b.depth===F.depth?kt(b,F):sr(b,F),L.context._currentValue=L.value}function Pn(b){var L=ze;L!==b&&(L===null?gn(b):b===null?$n(L):L.depth===b.depth?kt(L,b):L.depth>b.depth?vn(L,b):sr(L,b),ze=b)}var ao={isMounted:function(){return!1},enqueueSetState:function(b,L){b=b._reactInternals,b.queue!==null&&b.queue.push(L)},enqueueReplaceState:function(b,L){b=b._reactInternals,b.replace=!0,b.queue=[L]},enqueueForceUpdate:function(){}};function xr(b,L,F,Z){var re=b.state!==void 0?b.state:null;b.updater=ao,b.props=F,b.state=re;var ee={queue:[],replace:!1};b._reactInternals=ee;var he=L.contextType;if(b.context=typeof he=="object"&&he!==null?he._currentValue:Z,he=L.getDerivedStateFromProps,typeof he=="function"&&(he=he(F,re),re=he==null?re:Xn({},re,he),b.state=re),typeof L.getDerivedStateFromProps!="function"&&typeof b.getSnapshotBeforeUpdate!="function"&&(typeof b.UNSAFE_componentWillMount=="function"||typeof b.componentWillMount=="function"))if(L=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),L!==b.state&&ao.enqueueReplaceState(b,b.state,null),ee.queue!==null&&0<ee.queue.length)if(L=ee.queue,he=ee.replace,ee.queue=null,ee.replace=!1,he&&L.length===1)b.state=L[0];else{for(ee=he?L[0]:b.state,re=!0,he=he?1:0;he<L.length;he++){var ke=L[he];ke=typeof ke=="function"?ke.call(b,ee,F,Z):ke,ke!=null&&(re?(re=!1,ee=Xn({},ee,ke)):Xn(ee,ke))}b.state=ee}else ee.queue=null}var Vr={id:1,overflow:""};function cr(b,L,F){var Z=b.id;b=b.overflow;var re=32-Eo(Z)-1;Z&=~(1<<re),F+=1;var ee=32-Eo(L)+re;if(30<ee){var he=re-re%5;return ee=(Z&(1<<he)-1).toString(32),Z>>=he,re-=he,{id:1<<32-Eo(L)+re|F<<re|Z,overflow:ee+b}}return{id:1<<ee|F<<re|Z,overflow:b}}var Eo=Math.clz32?Math.clz32:Bi,Pl=Math.log,Hl=Math.LN2;function Bi(b){return b>>>=0,b===0?32:31-(Pl(b)/Hl|0)|0}function Dl(b,L){return b===L&&(b!==0||1/b===1/L)||b!==b&&L!==L}var Ni=typeof Object.is=="function"?Object.is:Dl,dr=null,_o=null,ii=null,It=null,wr=!1,Mn=!1,Br=0,yr=null,ai=0;function kr(){if(dr===null)throw Error(t(321));return dr}function Hn(){if(0<ai)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Zi(){return It===null?ii===null?(wr=!1,ii=It=Hn()):(wr=!0,It=ii):It.next===null?(wr=!1,It=It.next=Hn()):(wr=!0,It=It.next),It}function Ui(){_o=dr=null,Mn=!1,ii=null,ai=0,It=yr=null}function Y1(b,L){return typeof L=="function"?L(b):L}function X1(b,L,F){if(dr=kr(),It=Zi(),wr){var Z=It.queue;if(L=Z.dispatch,yr!==null&&(F=yr.get(Z),F!==void 0)){yr.delete(Z),Z=It.memoizedState;do Z=b(Z,F.action),F=F.next;while(F!==null);return It.memoizedState=Z,[Z,L]}return[It.memoizedState,L]}return b=b===Y1?typeof L=="function"?L():L:F!==void 0?F(L):L,It.memoizedState=b,b=It.queue={last:null,dispatch:null},b=b.dispatch=Al.bind(null,dr,b),[It.memoizedState,b]}function K1(b,L){if(dr=kr(),It=Zi(),L=L===void 0?null:L,It!==null){var F=It.memoizedState;if(F!==null&&L!==null){var Z=F[1];e:if(Z===null)Z=!1;else{for(var re=0;re<Z.length&&re<L.length;re++)if(!Ni(L[re],Z[re])){Z=!1;break e}Z=!0}if(Z)return F[0]}}return b=b(),It.memoizedState=[b,L],b}function Al(b,L,F){if(25<=ai)throw Error(t(301));if(b===dr)if(Mn=!0,b={action:F,next:null},yr===null&&(yr=new Map),F=yr.get(L),F===void 0)yr.set(L,b);else{for(L=F;L.next!==null;)L=L.next;L.next=b}}function Rl(){throw Error(t(394))}function li(){}var si={readContext:function(b){return b._currentValue},useContext:function(b){return kr(),b._currentValue},useMemo:K1,useReducer:X1,useRef:function(b){dr=kr(),It=Zi();var L=It.memoizedState;return L===null?(b={current:b},It.memoizedState=b):L},useState:function(b){return X1(Y1,b)},useInsertionEffect:li,useLayoutEffect:function(){},useCallback:function(b,L){return K1(function(){return b},L)},useImperativeHandle:li,useEffect:li,useDebugValue:li,useDeferredValue:function(b){return kr(),b},useTransition:function(){return kr(),[!1,Rl]},useId:function(){var b=_o.treeContext,L=b.overflow;b=b.id,b=(b&~(1<<32-Eo(b)-1)).toString(32)+L;var F=ci;if(F===null)throw Error(t(404));return L=Br++,b=":"+F.idPrefix+"R"+b,0<L&&(b+="H"+L.toString(32)),b+":"},useMutableSource:function(b,L){return kr(),L(b._source)},useSyncExternalStore:function(b,L,F){if(F===void 0)throw Error(t(407));return F()}},ci=null,Io=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Vl(b){return console.error(b),null}function To(){}function Wi(b,L,F,Z,re,ee,he,ke,qe){var ft=[],lt=new Set;return L={destination:null,responseState:L,progressiveChunkSize:Z===void 0?12800:Z,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:lt,pingedTasks:ft,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:re===void 0?Vl:re,onAllReady:ee===void 0?To:ee,onShellReady:he===void 0?To:he,onShellError:ke===void 0?To:ke,onFatalError:qe===void 0?To:qe},F=lo(L,0,null,F,!1,!1),F.parentFlushed=!0,b=zi(L,b,null,F,lt,Ne,null,Vr),ft.push(b),L}function zi(b,L,F,Z,re,ee,he,ke){b.allPendingTasks++,F===null?b.pendingRootTasks++:F.pendingTasks++;var qe={node:L,ping:function(){var ft=b.pingedTasks;ft.push(qe),ft.length===1&&na(b)},blockedBoundary:F,blockedSegment:Z,abortSet:re,legacyContext:ee,context:he,treeContext:ke};return re.add(qe),qe}function lo(b,L,F,Z,re,ee){return{status:0,id:-1,index:L,parentFlushed:!1,chunks:[],children:[],formatContext:Z,boundary:F,lastPushedText:re,textEmbedded:ee}}function so(b,L){if(b=b.onError(L),b!=null&&typeof b!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b}function di(b,L){var F=b.onShellError;F(L),F=b.onFatalError,F(L),b.destination!==null?(b.status=2,C(b.destination,L)):(b.status=1,b.fatalError=L)}function J1(b,L,F,Z,re){for(dr={},_o=L,Br=0,b=F(Z,re);Mn;)Mn=!1,Br=0,ai+=1,It=null,b=F(Z,re);return Ui(),b}function Gi(b,L,F,Z){var re=F.render(),ee=Z.childContextTypes;if(ee!=null){var he=L.legacyContext;if(typeof F.getChildContext!="function")Z=he;else{F=F.getChildContext();for(var ke in F)if(!(ke in ee))throw Error(t(108,we(Z)||"Unknown",ke));Z=Xn({},he,F)}L.legacyContext=Z,jn(b,L,re),L.legacyContext=he}else jn(b,L,re)}function q1(b,L){if(b&&b.defaultProps){L=Xn({},L),b=b.defaultProps;for(var F in b)L[F]===void 0&&(L[F]=b[F]);return L}return L}function ui(b,L,F,Z,re){if(typeof F=="function")if(F.prototype&&F.prototype.isReactComponent){re=Je(F,L.legacyContext);var ee=F.contextType;ee=new F(Z,typeof ee=="object"&&ee!==null?ee._currentValue:re),xr(ee,F,Z,re),Gi(b,L,ee,F)}else{ee=Je(F,L.legacyContext),re=J1(b,L,F,Z,ee);var he=Br!==0;if(typeof re=="object"&&re!==null&&typeof re.render=="function"&&re.$$typeof===void 0)xr(re,F,Z,ee),Gi(b,L,re,F);else if(he){Z=L.treeContext,L.treeContext=cr(Z,1,0);try{jn(b,L,re)}finally{L.treeContext=Z}}else jn(b,L,re)}else if(typeof F=="string"){switch(re=L.blockedSegment,ee=yt(re.chunks,F,Z,b.responseState,re.formatContext),re.lastPushedText=!1,he=re.formatContext,re.formatContext=Se(he,F,Z),fi(b,L,ee),re.formatContext=he,F){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:re.chunks.push(rn,u(F),qt)}re.lastPushedText=!1}else{switch(F){case ne:case N:case $o:case Mo:case br:jn(b,L,Z.children);return;case io:jn(b,L,Z.children);return;case O:throw Error(t(343));case oo:e:{F=L.blockedBoundary,re=L.blockedSegment,ee=Z.fallback,Z=Z.children,he=new Set;var ke={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:he,errorDigest:null},qe=lo(b,re.chunks.length,ke,re.formatContext,!1,!1);re.children.push(qe),re.lastPushedText=!1;var ft=lo(b,0,null,re.formatContext,!1,!1);ft.parentFlushed=!0,L.blockedBoundary=ke,L.blockedSegment=ft;try{if(fi(b,L,Z),ft.lastPushedText&&ft.textEmbedded&&ft.chunks.push(De),ft.status=1,pi(ke,ft),ke.pendingTasks===0)break e}catch(lt){ft.status=4,ke.forceClientRender=!0,ke.errorDigest=so(b,lt)}finally{L.blockedBoundary=F,L.blockedSegment=re}L=zi(b,ee,F,qe,he,L.legacyContext,L.context,L.treeContext),b.pingedTasks.push(L)}return}if(typeof F=="object"&&F!==null)switch(F.$$typeof){case jo:if(Z=J1(b,L,F.render,Z,re),Br!==0){F=L.treeContext,L.treeContext=cr(F,1,0);try{jn(b,L,Z)}finally{L.treeContext=F}}else jn(b,L,Z);return;case m:F=F.type,Z=q1(F,Z),ui(b,L,F,Z,re);return;case ro:if(re=Z.children,F=F._context,Z=Z.value,ee=F._currentValue,F._currentValue=Z,he=ze,ze=Z={parent:he,depth:he===null?0:he.depth+1,context:F,parentValue:ee,value:Z},L.context=Z,jn(b,L,re),b=ze,b===null)throw Error(t(403));Z=b.parentValue,b.context._currentValue=Z===q?b.context._defaultValue:Z,b=ze=b.parent,L.context=b;return;case Cr:Z=Z.children,Z=Z(F._currentValue),jn(b,L,Z);return;case S:re=F._init,F=re(F._payload),Z=q1(F,Z),ui(b,L,F,Z,void 0);return}throw Error(t(130,F==null?F:typeof F,""))}}function jn(b,L,F){if(L.node=F,typeof F=="object"&&F!==null){switch(F.$$typeof){case kn:ui(b,L,F.type,F.props,F.ref);return;case lr:throw Error(t(257));case S:var Z=F._init;F=Z(F._payload),jn(b,L,F);return}if(Q(F)){Q1(b,L,F);return}if(F===null||typeof F!="object"?Z=null:(Z=ce&&F[ce]||F["@@iterator"],Z=typeof Z=="function"?Z:null),Z&&(Z=Z.call(F))){if(F=Z.next(),!F.done){var re=[];do re.push(F.value),F=Z.next();while(!F.done);Q1(b,L,re)}return}throw b=Object.prototype.toString.call(F),Error(t(31,b==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":b))}typeof F=="string"?(Z=L.blockedSegment,Z.lastPushedText=de(L.blockedSegment.chunks,F,b.responseState,Z.lastPushedText)):typeof F=="number"&&(Z=L.blockedSegment,Z.lastPushedText=de(L.blockedSegment.chunks,""+F,b.responseState,Z.lastPushedText))}function Q1(b,L,F){for(var Z=F.length,re=0;re<Z;re++){var ee=L.treeContext;L.treeContext=cr(ee,Z,re);try{fi(b,L,F[re])}finally{L.treeContext=ee}}}function fi(b,L,F){var Z=L.blockedSegment.formatContext,re=L.legacyContext,ee=L.context;try{return jn(b,L,F)}catch(qe){if(Ui(),typeof qe=="object"&&qe!==null&&typeof qe.then=="function"){F=qe;var he=L.blockedSegment,ke=lo(b,he.chunks.length,null,he.formatContext,he.lastPushedText,!0);he.children.push(ke),he.lastPushedText=!1,b=zi(b,L.node,L.blockedBoundary,ke,L.abortSet,L.legacyContext,L.context,L.treeContext).ping,F.then(b,b),L.blockedSegment.formatContext=Z,L.legacyContext=re,L.context=ee,Pn(ee)}else throw L.blockedSegment.formatContext=Z,L.legacyContext=re,L.context=ee,Pn(ee),qe}}function Bl(b){var L=b.blockedBoundary;b=b.blockedSegment,b.status=3,ta(this,L,b)}function ea(b,L,F){var Z=b.blockedBoundary;b.blockedSegment.status=3,Z===null?(L.allPendingTasks--,L.status!==2&&(L.status=2,L.destination!==null&&L.destination.close())):(Z.pendingTasks--,Z.forceClientRender||(Z.forceClientRender=!0,b=F===void 0?Error(t(432)):F,Z.errorDigest=L.onError(b),Z.parentFlushed&&L.clientRenderedBoundaries.push(Z)),Z.fallbackAbortableTasks.forEach(function(re){return ea(re,L,F)}),Z.fallbackAbortableTasks.clear(),L.allPendingTasks--,L.allPendingTasks===0&&(Z=L.onAllReady,Z()))}function pi(b,L){if(L.chunks.length===0&&L.children.length===1&&L.children[0].boundary===null){var F=L.children[0];F.id=L.id,F.parentFlushed=!0,F.status===1&&pi(b,F)}else b.completedSegments.push(L)}function ta(b,L,F){if(L===null){if(F.parentFlushed){if(b.completedRootSegment!==null)throw Error(t(389));b.completedRootSegment=F}b.pendingRootTasks--,b.pendingRootTasks===0&&(b.onShellError=To,L=b.onShellReady,L())}else L.pendingTasks--,L.forceClientRender||(L.pendingTasks===0?(F.parentFlushed&&F.status===1&&pi(L,F),L.parentFlushed&&b.completedBoundaries.push(L),L.fallbackAbortableTasks.forEach(Bl,b),L.fallbackAbortableTasks.clear()):F.parentFlushed&&F.status===1&&(pi(L,F),L.completedSegments.length===1&&L.parentFlushed&&b.partialBoundaries.push(L)));b.allPendingTasks--,b.allPendingTasks===0&&(b=b.onAllReady,b())}function na(b){if(b.status!==2){var L=ze,F=Io.current;Io.current=si;var Z=ci;ci=b.responseState;try{var re=b.pingedTasks,ee;for(ee=0;ee<re.length;ee++){var he=re[ee],ke=b,qe=he.blockedSegment;if(qe.status===0){Pn(he.context);try{jn(ke,he,he.node),qe.lastPushedText&&qe.textEmbedded&&qe.chunks.push(De),he.abortSet.delete(he),qe.status=1,ta(ke,he.blockedBoundary,qe)}catch(An){if(Ui(),typeof An=="object"&&An!==null&&typeof An.then=="function"){var ft=he.ping;An.then(ft,ft)}else{he.abortSet.delete(he),qe.status=4;var lt=he.blockedBoundary,Ot=An,En=so(ke,Ot);if(lt===null?di(ke,Ot):(lt.pendingTasks--,lt.forceClientRender||(lt.forceClientRender=!0,lt.errorDigest=En,lt.parentFlushed&&ke.clientRenderedBoundaries.push(lt))),ke.allPendingTasks--,ke.allPendingTasks===0){var Dn=ke.onAllReady;Dn()}}}finally{}}}re.splice(0,ee),b.destination!==null&&Yi(b,b.destination)}catch(An){so(b,An),di(b,An)}finally{ci=Z,Io.current=F,F===si&&Pn(L)}}}function hi(b,L,F){switch(F.parentFlushed=!0,F.status){case 0:var Z=F.id=b.nextSegmentId++;return F.lastPushedText=!1,F.textEmbedded=!1,b=b.responseState,i(L,jt),i(L,b.placeholderPrefix),b=u(Z.toString(16)),i(L,b),a(L,hn);case 1:F.status=2;var re=!0;Z=F.chunks;var ee=0;F=F.children;for(var he=0;he<F.length;he++){for(re=F[he];ee<re.index;ee++)i(L,Z[ee]);re=gi(b,L,re)}for(;ee<Z.length-1;ee++)i(L,Z[ee]);return ee<Z.length&&(re=a(L,Z[ee])),re;default:throw Error(t(390))}}function gi(b,L,F){var Z=F.boundary;if(Z===null)return hi(b,L,F);if(Z.parentFlushed=!0,Z.forceClientRender)Z=Z.errorDigest,a(L,dt),i(L,xn),Z&&(i(L,ar),i(L,u(A(Z))),i(L,wn)),a(L,Le),hi(b,L,F);else if(0<Z.pendingTasks){Z.rootSegmentID=b.nextSegmentId++,0<Z.completedSegments.length&&b.partialBoundaries.push(Z);var re=b.responseState,ee=re.nextSuspenseID++;re=g(re.boundaryPrefix+ee.toString(16)),Z=Z.id=re,Pe(L,b.responseState,Z),hi(b,L,F)}else if(Z.byteSize>b.progressiveChunkSize)Z.rootSegmentID=b.nextSegmentId++,b.completedBoundaries.push(Z),Pe(L,b.responseState,Z.id),hi(b,L,F);else{if(a(L,Ae),F=Z.completedSegments,F.length!==1)throw Error(t(391));gi(b,L,F[0])}return a(L,Vt)}function ra(b,L,F){return ut(L,b.responseState,F.formatContext,F.id),gi(b,L,F),vt(L,F.formatContext)}function oa(b,L,F){for(var Z=F.completedSegments,re=0;re<Z.length;re++)ia(b,L,F,Z[re]);if(Z.length=0,b=b.responseState,Z=F.id,F=F.rootSegmentID,i(L,b.startInlineScript),b.sentCompleteBoundaryFunction?i(L,Ht):(b.sentCompleteBoundaryFunction=!0,i(L,Mt)),Z===null)throw Error(t(395));return F=u(F.toString(16)),i(L,Z),i(L,yn),i(L,b.segmentPrefix),i(L,F),a(L,zn)}function ia(b,L,F,Z){if(Z.status===2)return!0;var re=Z.id;if(re===-1){if((Z.id=F.rootSegmentID)===-1)throw Error(t(392));return ra(b,L,Z)}return ra(b,L,Z),b=b.responseState,i(L,b.startInlineScript),b.sentCompleteSegmentFunction?i(L,at):(b.sentCompleteSegmentFunction=!0,i(L,ht)),i(L,b.segmentPrefix),re=u(re.toString(16)),i(L,re),i(L,Zt),i(L,b.placeholderPrefix),i(L,re),a(L,$t)}function Yi(b,L){n=new Uint8Array(512),o=0;try{var F=b.completedRootSegment;if(F!==null&&b.pendingRootTasks===0){gi(b,L,F),b.completedRootSegment=null;var Z=b.responseState.bootstrapChunks;for(F=0;F<Z.length-1;F++)i(L,Z[F]);F<Z.length&&a(L,Z[F])}var re=b.clientRenderedBoundaries,ee;for(ee=0;ee<re.length;ee++){var he=re[ee];Z=L;var ke=b.responseState,qe=he.id,ft=he.errorDigest,lt=he.errorMessage,Ot=he.errorComponentStack;if(i(Z,ke.startInlineScript),ke.sentClientRenderFunction?i(Z,Wt):(ke.sentClientRenderFunction=!0,i(Z,Ut)),qe===null)throw Error(t(395));i(Z,qe),i(Z,Gn),(ft||lt||Ot)&&(i(Z,cn),i(Z,u(Yn(ft||"")))),(lt||Ot)&&(i(Z,cn),i(Z,u(Yn(lt||"")))),Ot&&(i(Z,cn),i(Z,u(Yn(Ot)))),a(Z,On)}re.splice(0,ee);var En=b.completedBoundaries;for(ee=0;ee<En.length;ee++)oa(b,L,En[ee]);En.splice(0,ee),s(L),n=new Uint8Array(512),o=0;var Dn=b.partialBoundaries;for(ee=0;ee<Dn.length;ee++){var An=Dn[ee];e:{re=b,he=L;var vi=An.completedSegments;for(ke=0;ke<vi.length;ke++)if(!ia(re,he,An,vi[ke])){ke++,vi.splice(0,ke);var la=!1;break e}vi.splice(0,ke),la=!0}if(!la){b.destination=null,ee++,Dn.splice(0,ee);return}}Dn.splice(0,ee);var Xi=b.completedBoundaries;for(ee=0;ee<Xi.length;ee++)oa(b,L,Xi[ee]);Xi.splice(0,ee)}finally{s(L),b.allPendingTasks===0&&b.pingedTasks.length===0&&b.clientRenderedBoundaries.length===0&&b.completedBoundaries.length===0&&L.close()}}function aa(b,L){try{var F=b.abortableTasks;F.forEach(function(Z){return ea(Z,b,L)}),F.clear(),b.destination!==null&&Yi(b,b.destination)}catch(Z){so(b,Z),di(b,Z)}}return Lc.renderToReadableStream=function(b,L){return new Promise(function(F,Z){var re,ee,he=new Promise(function(lt,Ot){ee=lt,re=Ot}),ke=Wi(b,ye(L?L.identifierPrefix:void 0,L?L.nonce:void 0,L?L.bootstrapScriptContent:void 0,L?L.bootstrapScripts:void 0,L?L.bootstrapModules:void 0),Me(L?L.namespaceURI:void 0),L?L.progressiveChunkSize:void 0,L?L.onError:void 0,ee,function(){var lt=new ReadableStream({type:"bytes",pull:function(Ot){if(ke.status===1)ke.status=2,C(Ot,ke.fatalError);else if(ke.status!==2&&ke.destination===null){ke.destination=Ot;try{Yi(ke,Ot)}catch(En){so(ke,En),di(ke,En)}}},cancel:function(){aa(ke)}},{highWaterMark:0});lt.allReady=he,F(lt)},function(lt){he.catch(function(){}),Z(lt)},re);if(L&&L.signal){var qe=L.signal,ft=function(){aa(ke,qe.reason),qe.removeEventListener("abort",ft)};qe.addEventListener("abort",ft)}na(ke)})},Lc.version="18.2.0",Lc}var Oi={};/**
619
619
  * @license React
620
620
  * react-dom-server-legacy.browser.development.js
621
621
  *
@@ -623,7 +623,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),gt=de,Ge=xe);const Ce=
623
623
  *
624
624
  * This source code is licensed under the MIT license found in the
625
625
  * LICENSE file in the root directory of this source tree.
626
- */var o8;function hL(){return o8||(o8=1,process.env.NODE_ENV!=="production"&&function(){var e=p,t="18.2.0",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function o(l){{for(var f=arguments.length,x=new Array(f>1?f-1:0),k=1;k<f;k++)x[k-1]=arguments[k];a("warn",l,x)}}function i(l){{for(var f=arguments.length,x=new Array(f>1?f-1:0),k=1;k<f;k++)x[k-1]=arguments[k];a("error",l,x)}}function a(l,f,x){{var k=n.ReactDebugCurrentFrame,T=k.getStackAddendum();T!==""&&(f+="%s",x=x.concat([T]));var U=x.map(function(X){return String(X)});U.unshift("Warning: "+f),Function.prototype.apply.call(console[l],console,U)}}function s(l){l()}function c(l){}function u(l,f){g(l,f)}function g(l,f){return l.push(f)}function C(l){}function v(l){l.push(null)}function y(l){return l}function E(l){return l}function M(l,f){l.destroy(f)}function _(l){{var f=typeof Symbol=="function"&&Symbol.toStringTag,x=f&&l[Symbol.toStringTag]||l.constructor.name||"Object";return x}}function I(l){try{return j(l),!1}catch{return!0}}function j(l){return""+l}function R(l,f){if(I(l))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",f,_(l)),j(l)}function P(l,f){if(I(l))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",f,_(l)),j(l)}function B(l){if(I(l))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",_(l)),j(l)}var D=Object.prototype.hasOwnProperty,H=0,A=1,G=2,K=3,Q=4,le=5,se=6,fe=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",te=fe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ge=new RegExp("^["+fe+"]["+te+"]*$"),ie={},me={};function ye(l){return D.call(me,l)?!0:D.call(ie,l)?!1:ge.test(l)?(me[l]=!0,!0):(ie[l]=!0,i("Invalid attribute name: `%s`",l),!1)}function pe(l,f,x,k){if(x!==null&&x.type===H)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":{if(k)return!1;if(x!==null)return!x.acceptsBooleans;var T=l.toLowerCase().slice(0,5);return T!=="data-"&&T!=="aria-"}default:return!1}}function Me(l){return De.hasOwnProperty(l)?De[l]:null}function Se(l,f,x,k,T,U,X){this.acceptsBooleans=f===G||f===K||f===Q,this.attributeName=k,this.attributeNamespace=T,this.mustUseProperty=x,this.propertyName=l,this.type=f,this.sanitizeURL=U,this.removeEmptyString=X}var De={},de=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];de.forEach(function(l){De[l]=new Se(l,H,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0],x=l[1];De[f]=new Se(f,A,!1,x,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){De[l]=new Se(l,G,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){De[l]=new Se(l,G,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){De[l]=new Se(l,K,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){De[l]=new Se(l,K,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){De[l]=new Se(l,Q,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){De[l]=new Se(l,se,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){De[l]=new Se(l,le,!1,l.toLowerCase(),null,!1,!1)});var xe=/[\-\:]([a-z])/g,Ie=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var f=l.replace(xe,Ie);De[f]=new Se(f,A,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var f=l.replace(xe,Ie);De[f]=new Se(f,A,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(xe,Ie);De[f]=new Se(f,A,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){De[l]=new Se(l,A,!1,l.toLowerCase(),null,!1,!1)});var Te="xlinkHref";De[Te]=new Se("xlinkHref",A,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){De[l]=new Se(l,A,!1,l.toLowerCase(),null,!0,!0)});var Ge={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function gt(l,f){return l+f.charAt(0).toUpperCase()+f.substring(1)}var Ce=["Webkit","ms","Moz","O"];Object.keys(Ge).forEach(function(l){Ce.forEach(function(f){Ge[gt(f,l)]=Ge[l]})});var Fe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Oe(l,f){Fe[f.type]||f.onChange||f.onInput||f.readOnly||f.disabled||f.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),f.onChange||f.readOnly||f.disabled||f.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ye(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xe={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},We={},Lt=new RegExp("^(aria)-["+te+"]*$"),nn=new RegExp("^(aria)[A-Z]["+te+"]*$");function ln(l,f){{if(D.call(We,f)&&We[f])return!0;if(nn.test(f)){var x="aria-"+f.slice(4).toLowerCase(),k=Xe.hasOwnProperty(x)?x:null;if(k==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",f),We[f]=!0,!0;if(f!==k)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",f,k),We[f]=!0,!0}if(Lt.test(f)){var T=f.toLowerCase(),U=Xe.hasOwnProperty(T)?T:null;if(U==null)return We[f]=!0,!1;if(f!==U)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",f,U),We[f]=!0,!0}}return!0}function Rt(l,f){{var x=[];for(var k in f){var T=ln(l,k);T||x.push(k)}var U=x.map(function(X){return"`"+X+"`"}).join(", ");x.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",U,l):x.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",U,l)}}function Tt(l,f){Ye(l,f)||Rt(l,f)}var un=!1;function sn(l,f){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;f!=null&&f.value===null&&!un&&(un=!0,l==="select"&&f.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var Ue={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Ft=function(){};{var tt={},yt=/^on./,rn=/^on[^A-Z]/,qt=new RegExp("^(aria)-["+te+"]*$"),jt=new RegExp("^(aria)[A-Z]["+te+"]*$");Ft=function(l,f,x,k){if(D.call(tt,f)&&tt[f])return!0;var T=f.toLowerCase();if(T==="onfocusin"||T==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),tt[f]=!0,!0;if(k!=null){var U=k.registrationNameDependencies,X=k.possibleRegistrationNames;if(U.hasOwnProperty(f))return!0;var oe=X.hasOwnProperty(T)?X[T]:null;if(oe!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",f,oe),tt[f]=!0,!0;if(yt.test(f))return i("Unknown event handler property `%s`. It will be ignored.",f),tt[f]=!0,!0}else if(yt.test(f))return rn.test(f)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",f),tt[f]=!0,!0;if(qt.test(f)||jt.test(f))return!0;if(T==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),tt[f]=!0,!0;if(T==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),tt[f]=!0,!0;if(T==="is"&&x!==null&&x!==void 0&&typeof x!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof x),tt[f]=!0,!0;if(typeof x=="number"&&isNaN(x))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",f),tt[f]=!0,!0;var ve=Me(f),Re=ve!==null&&ve.type===H;if(Ue.hasOwnProperty(T)){var Ze=Ue[T];if(Ze!==f)return i("Invalid DOM property `%s`. Did you mean `%s`?",f,Ze),tt[f]=!0,!0}else if(!Re&&f!==T)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",f,T),tt[f]=!0,!0;return typeof x=="boolean"&&pe(f,x,ve,!1)?(x?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',x,f,f,x,f):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',x,f,f,x,f,f,f),tt[f]=!0,!0):Re?!0:pe(f,x,ve,!1)?(tt[f]=!0,!1):((x==="false"||x==="true")&&ve!==null&&ve.type===K&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",x,f,x==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',f,x),tt[f]=!0),!0)}}var hn=function(l,f,x){{var k=[];for(var T in f){var U=Ft(l,T,f[T],x);U||k.push(T)}var X=k.map(function(oe){return"`"+oe+"`"}).join(", ");k.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",X,l):k.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",X,l)}};function Ae(l,f,x){Ye(l,f)||hn(l,f,x)}var Be=function(){};{var et=/^(?:webkit|moz|o)[A-Z]/,dt=/^-ms-/,Vt=/-(.)/g,xn=/;\s*$/,wn={},ar={},Le=!1,Pe=!1,ct=function(l){return l.replace(Vt,function(f,x){return x.toUpperCase()})},mt=function(l){wn.hasOwnProperty(l)&&wn[l]||(wn[l]=!0,i("Unsupported style property %s. Did you mean %s?",l,ct(l.replace(dt,"ms-"))))},He=function(l){wn.hasOwnProperty(l)&&wn[l]||(wn[l]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},bt=function(l,f){ar.hasOwnProperty(f)&&ar[f]||(ar[f]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,f.replace(xn,"")))},xt=function(l,f){Le||(Le=!0,i("`NaN` is an invalid value for the `%s` css style property.",l))},Xt=function(l,f){Pe||(Pe=!0,i("`Infinity` is an invalid value for the `%s` css style property.",l))};Be=function(l,f){l.indexOf("-")>-1?mt(l):et.test(l)?He(l):xn.test(f)&&bt(l,f),typeof f=="number"&&(isNaN(f)?xt(l,f):isFinite(f)||Xt(l,f))}}var Qt=Be,fn=/["'&<>]/;function Bt(l){B(l);var f=""+l,x=fn.exec(f);if(!x)return f;var k,T="",U,X=0;for(U=x.index;U<f.length;U++){switch(f.charCodeAt(U)){case 34:k="&quot;";break;case 38:k="&amp;";break;case 39:k="&#x27;";break;case 60:k="&lt;";break;case 62:k="&gt;";break;default:continue}X!==U&&(T+=f.substring(X,U)),X=U+1,T+=k}return X!==U?T+f.substring(X,U):T}function Pt(l){return typeof l=="boolean"||typeof l=="number"?""+l:Bt(l)}var Hr=/([A-Z])/g,Dr=/^ms-/;function Ar(l){return l.replace(Hr,"-$1").toLowerCase().replace(Dr,"-ms-")}var Nt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Rr=!1;function So(l){!Rr&&Nt.test(l)&&(Rr=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var Lo=Array.isArray;function Y(l){return Lo(l)}var be="<script>",je="<\/script>",Ke='<script src="',ut='<script type="module" src="',vt='" async=""><\/script>';function ht(l){return B(l),(""+l).replace(at,Zt)}var at=/(<\/|<)(s)(cript)/gi,Zt=function(l,f,x,k){return""+f+(x==="s"?"\\u0073":"\\u0053")+k};function $t(l,f,x,k,T){var U=l===void 0?"":l,X=f===void 0?be:'<script nonce="'+Pt(f)+'">',oe=[];if(x!==void 0&&oe.push(X,ht(x),je),k!==void 0)for(var ve=0;ve<k.length;ve++)oe.push(Ke,Pt(k[ve]),vt);if(T!==void 0)for(var Re=0;Re<T.length;Re++)oe.push(ut,Pt(T[Re]),vt);return{bootstrapChunks:oe,startInlineScript:X,placeholderPrefix:U+"P:",segmentPrefix:U+"S:",boundaryPrefix:U+"B:",idPrefix:U,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Mt=0,Ht=1,yn=2,zn=3,Ut=4,Wt=5,Gn=6,On=7;function cn(l,f){return{insertionMode:l,selectedValue:f}}function no(l,f,x){switch(f){case"select":return cn(Ht,x.value!=null?x.value:x.defaultValue);case"svg":return cn(yn,null);case"math":return cn(zn,null);case"foreignObject":return cn(Ht,null);case"table":return cn(Ut,null);case"thead":case"tbody":case"tfoot":return cn(Wt,null);case"colgroup":return cn(On,null);case"tr":return cn(Gn,null)}return l.insertionMode>=Ut||l.insertionMode===Mt?cn(Ht,null):l}var Yn=null;function Xn(l){var f=l.nextSuspenseID++;return l.boundaryPrefix+f.toString(16)}function kn(l,f,x){var k=l.idPrefix,T=":"+k+"R"+f;return x>0&&(T+="H"+x.toString(32)),T+":"}function lr(l){return Pt(l)}var br="<!-- -->";function $o(l,f,x,k){return f===""?k:(k&&l.push(br),l.push(lr(f)),!0)}function Mo(l,f,x,k){x&&k&&l.push(br)}var ro=new Map;function Cr(l){var f=ro.get(l);if(f!==void 0)return f;var x=Pt(Ar(l));return ro.set(l,x),x}var jo=' style="',oo=":",io=";";function m(l,f,x){if(typeof x!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var k=!0;for(var T in x)if(D.call(x,T)){var U=x[T];if(!(U==null||typeof U=="boolean"||U==="")){var X=void 0,oe=void 0,ve=T.indexOf("--")===0;ve?(X=Pt(T),P(U,T),oe=Pt((""+U).trim())):(Qt(T,U),X=Cr(T),typeof U=="number"?U!==0&&!D.call(Ge,T)?oe=U+"px":oe=""+U:(P(U,T),oe=Pt((""+U).trim()))),k?(k=!1,l.push(jo,X,oo,oe)):l.push(io,X,oo,oe)}}k||l.push(N)}var S=" ",O='="',N='"',ne='=""';function q(l,f,x,k){switch(x){case"style":{m(l,f,k);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(x.length>2&&(x[0]==="o"||x[0]==="O")&&(x[1]==="n"||x[1]==="N"))){var T=Me(x);if(T!==null){switch(typeof k){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}var U=T.attributeName,X=U;switch(T.type){case K:k&&l.push(S,X,ne);return;case Q:k===!0?l.push(S,X,ne):k===!1||l.push(S,X,O,Pt(k),N);return;case le:isNaN(k)||l.push(S,X,O,Pt(k),N);break;case se:!isNaN(k)&&k>=1&&l.push(S,X,O,Pt(k),N);break;default:T.sanitizeURL&&(R(k,U),k=""+k,So(k)),l.push(S,X,O,Pt(k),N)}}else if(ye(x)){switch(typeof k){case"function":case"symbol":return;case"boolean":{var oe=x.toLowerCase().slice(0,5);if(oe!=="data-"&&oe!=="aria-")return}}l.push(S,x,O,Pt(k),N)}}}var ce=">",we="/>";function Ne(l,f,x){if(f!=null){if(x!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof f!="object"||!("__html"in f))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var k=f.__html;k!=null&&(B(k),l.push(""+k))}}var Je=!1,ze=!1,kt=!1,$n=!1,gn=!1,vn=!1,sr=!1;function Pn(l,f){{var x=l[f];if(x!=null){var k=Y(x);l.multiple&&!k?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",f):!l.multiple&&k&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",f)}}}function ao(l,f,x){Oe("select",f),Pn(f,"value"),Pn(f,"defaultValue"),f.value!==void 0&&f.defaultValue!==void 0&&!kt&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),kt=!0),l.push(Mn("select"));var k=null,T=null;for(var U in f)if(D.call(f,U)){var X=f[U];if(X==null)continue;switch(U){case"children":k=X;break;case"dangerouslySetInnerHTML":T=X;break;case"defaultValue":case"value":break;default:q(l,x,U,X);break}}return l.push(ce),Ne(l,T,k),k}function xr(l){var f="";return e.Children.forEach(l,function(x){x!=null&&(f+=x,!gn&&typeof x!="string"&&typeof x!="number"&&(gn=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),f}var Vr=' selected=""';function cr(l,f,x,k){var T=k.selectedValue;l.push(Mn("option"));var U=null,X=null,oe=null,ve=null;for(var Re in f)if(D.call(f,Re)){var Ze=f[Re];if(Ze==null)continue;switch(Re){case"children":U=Ze;break;case"selected":oe=Ze,sr||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sr=!0);break;case"dangerouslySetInnerHTML":ve=Ze;break;case"value":X=Ze;default:q(l,x,Re,Ze);break}}if(T!=null){var it;if(X!==null?(R(X,"value"),it=""+X):(ve!==null&&(vn||(vn=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),it=xr(U)),Y(T))for(var Dt=0;Dt<T.length;Dt++){R(T[Dt],"value");var bn=""+T[Dt];if(bn===it){l.push(Vr);break}}else R(T,"select.value"),""+T===it&&l.push(Vr)}else oe&&l.push(Vr);return l.push(ce),Ne(l,ve,U),U}function Eo(l,f,x){Oe("input",f),f.checked!==void 0&&f.defaultChecked!==void 0&&!ze&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),ze=!0),f.value!==void 0&&f.defaultValue!==void 0&&!Je&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),Je=!0),l.push(Mn("input"));var k=null,T=null,U=null,X=null;for(var oe in f)if(D.call(f,oe)){var ve=f[oe];if(ve==null)continue;switch(oe){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":X=ve;break;case"defaultValue":T=ve;break;case"checked":U=ve;break;case"value":k=ve;break;default:q(l,x,oe,ve);break}}return U!==null?q(l,x,"checked",U):X!==null&&q(l,x,"checked",X),k!==null?q(l,x,"value",k):T!==null&&q(l,x,"value",T),l.push(we),null}function Pl(l,f,x){Oe("textarea",f),f.value!==void 0&&f.defaultValue!==void 0&&!$n&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),$n=!0),l.push(Mn("textarea"));var k=null,T=null,U=null;for(var X in f)if(D.call(f,X)){var oe=f[X];if(oe==null)continue;switch(X){case"children":U=oe;break;case"value":k=oe;break;case"defaultValue":T=oe;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:q(l,x,X,oe);break}}if(k===null&&T!==null&&(k=T),l.push(ce),U!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),k!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Y(U)){if(U.length>1)throw new Error("<textarea> can only have at most one child.");B(U[0]),k=""+U[0]}B(U),k=""+U}return typeof k=="string"&&k[0]===`
626
+ */var o8;function hL(){return o8||(o8=1,process.env.NODE_ENV!=="production"&&function(){var e=p,t="18.2.0",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function o(l){{for(var f=arguments.length,x=new Array(f>1?f-1:0),k=1;k<f;k++)x[k-1]=arguments[k];a("warn",l,x)}}function i(l){{for(var f=arguments.length,x=new Array(f>1?f-1:0),k=1;k<f;k++)x[k-1]=arguments[k];a("error",l,x)}}function a(l,f,x){{var k=n.ReactDebugCurrentFrame,T=k.getStackAddendum();T!==""&&(f+="%s",x=x.concat([T]));var U=x.map(function(X){return String(X)});U.unshift("Warning: "+f),Function.prototype.apply.call(console[l],console,U)}}function s(l){l()}function c(l){}function u(l,f){g(l,f)}function g(l,f){return l.push(f)}function C(l){}function v(l){l.push(null)}function y(l){return l}function _(l){return l}function M(l,f){l.destroy(f)}function E(l){{var f=typeof Symbol=="function"&&Symbol.toStringTag,x=f&&l[Symbol.toStringTag]||l.constructor.name||"Object";return x}}function I(l){try{return j(l),!1}catch{return!0}}function j(l){return""+l}function R(l,f){if(I(l))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",f,E(l)),j(l)}function P(l,f){if(I(l))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",f,E(l)),j(l)}function B(l){if(I(l))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",E(l)),j(l)}var D=Object.prototype.hasOwnProperty,H=0,A=1,G=2,K=3,Q=4,le=5,se=6,fe=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",te=fe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ge=new RegExp("^["+fe+"]["+te+"]*$"),ie={},me={};function ye(l){return D.call(me,l)?!0:D.call(ie,l)?!1:ge.test(l)?(me[l]=!0,!0):(ie[l]=!0,i("Invalid attribute name: `%s`",l),!1)}function pe(l,f,x,k){if(x!==null&&x.type===H)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":{if(k)return!1;if(x!==null)return!x.acceptsBooleans;var T=l.toLowerCase().slice(0,5);return T!=="data-"&&T!=="aria-"}default:return!1}}function Me(l){return De.hasOwnProperty(l)?De[l]:null}function Se(l,f,x,k,T,U,X){this.acceptsBooleans=f===G||f===K||f===Q,this.attributeName=k,this.attributeNamespace=T,this.mustUseProperty=x,this.propertyName=l,this.type=f,this.sanitizeURL=U,this.removeEmptyString=X}var De={},de=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];de.forEach(function(l){De[l]=new Se(l,H,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0],x=l[1];De[f]=new Se(f,A,!1,x,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){De[l]=new Se(l,G,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){De[l]=new Se(l,G,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){De[l]=new Se(l,K,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){De[l]=new Se(l,K,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){De[l]=new Se(l,Q,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){De[l]=new Se(l,se,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){De[l]=new Se(l,le,!1,l.toLowerCase(),null,!1,!1)});var xe=/[\-\:]([a-z])/g,Ie=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var f=l.replace(xe,Ie);De[f]=new Se(f,A,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var f=l.replace(xe,Ie);De[f]=new Se(f,A,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(xe,Ie);De[f]=new Se(f,A,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){De[l]=new Se(l,A,!1,l.toLowerCase(),null,!1,!1)});var Te="xlinkHref";De[Te]=new Se("xlinkHref",A,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){De[l]=new Se(l,A,!1,l.toLowerCase(),null,!0,!0)});var Ge={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function gt(l,f){return l+f.charAt(0).toUpperCase()+f.substring(1)}var Ce=["Webkit","ms","Moz","O"];Object.keys(Ge).forEach(function(l){Ce.forEach(function(f){Ge[gt(f,l)]=Ge[l]})});var Fe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Oe(l,f){Fe[f.type]||f.onChange||f.onInput||f.readOnly||f.disabled||f.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),f.onChange||f.readOnly||f.disabled||f.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ye(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xe={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},We={},Lt=new RegExp("^(aria)-["+te+"]*$"),nn=new RegExp("^(aria)[A-Z]["+te+"]*$");function ln(l,f){{if(D.call(We,f)&&We[f])return!0;if(nn.test(f)){var x="aria-"+f.slice(4).toLowerCase(),k=Xe.hasOwnProperty(x)?x:null;if(k==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",f),We[f]=!0,!0;if(f!==k)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",f,k),We[f]=!0,!0}if(Lt.test(f)){var T=f.toLowerCase(),U=Xe.hasOwnProperty(T)?T:null;if(U==null)return We[f]=!0,!1;if(f!==U)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",f,U),We[f]=!0,!0}}return!0}function Rt(l,f){{var x=[];for(var k in f){var T=ln(l,k);T||x.push(k)}var U=x.map(function(X){return"`"+X+"`"}).join(", ");x.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",U,l):x.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",U,l)}}function Tt(l,f){Ye(l,f)||Rt(l,f)}var un=!1;function sn(l,f){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;f!=null&&f.value===null&&!un&&(un=!0,l==="select"&&f.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var Ue={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Ft=function(){};{var tt={},yt=/^on./,rn=/^on[^A-Z]/,qt=new RegExp("^(aria)-["+te+"]*$"),jt=new RegExp("^(aria)[A-Z]["+te+"]*$");Ft=function(l,f,x,k){if(D.call(tt,f)&&tt[f])return!0;var T=f.toLowerCase();if(T==="onfocusin"||T==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),tt[f]=!0,!0;if(k!=null){var U=k.registrationNameDependencies,X=k.possibleRegistrationNames;if(U.hasOwnProperty(f))return!0;var oe=X.hasOwnProperty(T)?X[T]:null;if(oe!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",f,oe),tt[f]=!0,!0;if(yt.test(f))return i("Unknown event handler property `%s`. It will be ignored.",f),tt[f]=!0,!0}else if(yt.test(f))return rn.test(f)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",f),tt[f]=!0,!0;if(qt.test(f)||jt.test(f))return!0;if(T==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),tt[f]=!0,!0;if(T==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),tt[f]=!0,!0;if(T==="is"&&x!==null&&x!==void 0&&typeof x!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof x),tt[f]=!0,!0;if(typeof x=="number"&&isNaN(x))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",f),tt[f]=!0,!0;var ve=Me(f),Re=ve!==null&&ve.type===H;if(Ue.hasOwnProperty(T)){var Ze=Ue[T];if(Ze!==f)return i("Invalid DOM property `%s`. Did you mean `%s`?",f,Ze),tt[f]=!0,!0}else if(!Re&&f!==T)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",f,T),tt[f]=!0,!0;return typeof x=="boolean"&&pe(f,x,ve,!1)?(x?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',x,f,f,x,f):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',x,f,f,x,f,f,f),tt[f]=!0,!0):Re?!0:pe(f,x,ve,!1)?(tt[f]=!0,!1):((x==="false"||x==="true")&&ve!==null&&ve.type===K&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",x,f,x==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',f,x),tt[f]=!0),!0)}}var hn=function(l,f,x){{var k=[];for(var T in f){var U=Ft(l,T,f[T],x);U||k.push(T)}var X=k.map(function(oe){return"`"+oe+"`"}).join(", ");k.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",X,l):k.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",X,l)}};function Ae(l,f,x){Ye(l,f)||hn(l,f,x)}var Be=function(){};{var et=/^(?:webkit|moz|o)[A-Z]/,dt=/^-ms-/,Vt=/-(.)/g,xn=/;\s*$/,wn={},ar={},Le=!1,Pe=!1,ct=function(l){return l.replace(Vt,function(f,x){return x.toUpperCase()})},mt=function(l){wn.hasOwnProperty(l)&&wn[l]||(wn[l]=!0,i("Unsupported style property %s. Did you mean %s?",l,ct(l.replace(dt,"ms-"))))},He=function(l){wn.hasOwnProperty(l)&&wn[l]||(wn[l]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},bt=function(l,f){ar.hasOwnProperty(f)&&ar[f]||(ar[f]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,f.replace(xn,"")))},xt=function(l,f){Le||(Le=!0,i("`NaN` is an invalid value for the `%s` css style property.",l))},Xt=function(l,f){Pe||(Pe=!0,i("`Infinity` is an invalid value for the `%s` css style property.",l))};Be=function(l,f){l.indexOf("-")>-1?mt(l):et.test(l)?He(l):xn.test(f)&&bt(l,f),typeof f=="number"&&(isNaN(f)?xt(l,f):isFinite(f)||Xt(l,f))}}var Qt=Be,fn=/["'&<>]/;function Bt(l){B(l);var f=""+l,x=fn.exec(f);if(!x)return f;var k,T="",U,X=0;for(U=x.index;U<f.length;U++){switch(f.charCodeAt(U)){case 34:k="&quot;";break;case 38:k="&amp;";break;case 39:k="&#x27;";break;case 60:k="&lt;";break;case 62:k="&gt;";break;default:continue}X!==U&&(T+=f.substring(X,U)),X=U+1,T+=k}return X!==U?T+f.substring(X,U):T}function Pt(l){return typeof l=="boolean"||typeof l=="number"?""+l:Bt(l)}var Hr=/([A-Z])/g,Dr=/^ms-/;function Ar(l){return l.replace(Hr,"-$1").toLowerCase().replace(Dr,"-ms-")}var Nt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Rr=!1;function So(l){!Rr&&Nt.test(l)&&(Rr=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var Lo=Array.isArray;function Y(l){return Lo(l)}var be="<script>",je="<\/script>",Ke='<script src="',ut='<script type="module" src="',vt='" async=""><\/script>';function ht(l){return B(l),(""+l).replace(at,Zt)}var at=/(<\/|<)(s)(cript)/gi,Zt=function(l,f,x,k){return""+f+(x==="s"?"\\u0073":"\\u0053")+k};function $t(l,f,x,k,T){var U=l===void 0?"":l,X=f===void 0?be:'<script nonce="'+Pt(f)+'">',oe=[];if(x!==void 0&&oe.push(X,ht(x),je),k!==void 0)for(var ve=0;ve<k.length;ve++)oe.push(Ke,Pt(k[ve]),vt);if(T!==void 0)for(var Re=0;Re<T.length;Re++)oe.push(ut,Pt(T[Re]),vt);return{bootstrapChunks:oe,startInlineScript:X,placeholderPrefix:U+"P:",segmentPrefix:U+"S:",boundaryPrefix:U+"B:",idPrefix:U,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Mt=0,Ht=1,yn=2,zn=3,Ut=4,Wt=5,Gn=6,On=7;function cn(l,f){return{insertionMode:l,selectedValue:f}}function no(l,f,x){switch(f){case"select":return cn(Ht,x.value!=null?x.value:x.defaultValue);case"svg":return cn(yn,null);case"math":return cn(zn,null);case"foreignObject":return cn(Ht,null);case"table":return cn(Ut,null);case"thead":case"tbody":case"tfoot":return cn(Wt,null);case"colgroup":return cn(On,null);case"tr":return cn(Gn,null)}return l.insertionMode>=Ut||l.insertionMode===Mt?cn(Ht,null):l}var Yn=null;function Xn(l){var f=l.nextSuspenseID++;return l.boundaryPrefix+f.toString(16)}function kn(l,f,x){var k=l.idPrefix,T=":"+k+"R"+f;return x>0&&(T+="H"+x.toString(32)),T+":"}function lr(l){return Pt(l)}var br="<!-- -->";function $o(l,f,x,k){return f===""?k:(k&&l.push(br),l.push(lr(f)),!0)}function Mo(l,f,x,k){x&&k&&l.push(br)}var ro=new Map;function Cr(l){var f=ro.get(l);if(f!==void 0)return f;var x=Pt(Ar(l));return ro.set(l,x),x}var jo=' style="',oo=":",io=";";function m(l,f,x){if(typeof x!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var k=!0;for(var T in x)if(D.call(x,T)){var U=x[T];if(!(U==null||typeof U=="boolean"||U==="")){var X=void 0,oe=void 0,ve=T.indexOf("--")===0;ve?(X=Pt(T),P(U,T),oe=Pt((""+U).trim())):(Qt(T,U),X=Cr(T),typeof U=="number"?U!==0&&!D.call(Ge,T)?oe=U+"px":oe=""+U:(P(U,T),oe=Pt((""+U).trim()))),k?(k=!1,l.push(jo,X,oo,oe)):l.push(io,X,oo,oe)}}k||l.push(N)}var S=" ",O='="',N='"',ne='=""';function q(l,f,x,k){switch(x){case"style":{m(l,f,k);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(x.length>2&&(x[0]==="o"||x[0]==="O")&&(x[1]==="n"||x[1]==="N"))){var T=Me(x);if(T!==null){switch(typeof k){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}var U=T.attributeName,X=U;switch(T.type){case K:k&&l.push(S,X,ne);return;case Q:k===!0?l.push(S,X,ne):k===!1||l.push(S,X,O,Pt(k),N);return;case le:isNaN(k)||l.push(S,X,O,Pt(k),N);break;case se:!isNaN(k)&&k>=1&&l.push(S,X,O,Pt(k),N);break;default:T.sanitizeURL&&(R(k,U),k=""+k,So(k)),l.push(S,X,O,Pt(k),N)}}else if(ye(x)){switch(typeof k){case"function":case"symbol":return;case"boolean":{var oe=x.toLowerCase().slice(0,5);if(oe!=="data-"&&oe!=="aria-")return}}l.push(S,x,O,Pt(k),N)}}}var ce=">",we="/>";function Ne(l,f,x){if(f!=null){if(x!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof f!="object"||!("__html"in f))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var k=f.__html;k!=null&&(B(k),l.push(""+k))}}var Je=!1,ze=!1,kt=!1,$n=!1,gn=!1,vn=!1,sr=!1;function Pn(l,f){{var x=l[f];if(x!=null){var k=Y(x);l.multiple&&!k?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",f):!l.multiple&&k&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",f)}}}function ao(l,f,x){Oe("select",f),Pn(f,"value"),Pn(f,"defaultValue"),f.value!==void 0&&f.defaultValue!==void 0&&!kt&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),kt=!0),l.push(Mn("select"));var k=null,T=null;for(var U in f)if(D.call(f,U)){var X=f[U];if(X==null)continue;switch(U){case"children":k=X;break;case"dangerouslySetInnerHTML":T=X;break;case"defaultValue":case"value":break;default:q(l,x,U,X);break}}return l.push(ce),Ne(l,T,k),k}function xr(l){var f="";return e.Children.forEach(l,function(x){x!=null&&(f+=x,!gn&&typeof x!="string"&&typeof x!="number"&&(gn=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),f}var Vr=' selected=""';function cr(l,f,x,k){var T=k.selectedValue;l.push(Mn("option"));var U=null,X=null,oe=null,ve=null;for(var Re in f)if(D.call(f,Re)){var Ze=f[Re];if(Ze==null)continue;switch(Re){case"children":U=Ze;break;case"selected":oe=Ze,sr||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sr=!0);break;case"dangerouslySetInnerHTML":ve=Ze;break;case"value":X=Ze;default:q(l,x,Re,Ze);break}}if(T!=null){var it;if(X!==null?(R(X,"value"),it=""+X):(ve!==null&&(vn||(vn=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),it=xr(U)),Y(T))for(var Dt=0;Dt<T.length;Dt++){R(T[Dt],"value");var bn=""+T[Dt];if(bn===it){l.push(Vr);break}}else R(T,"select.value"),""+T===it&&l.push(Vr)}else oe&&l.push(Vr);return l.push(ce),Ne(l,ve,U),U}function Eo(l,f,x){Oe("input",f),f.checked!==void 0&&f.defaultChecked!==void 0&&!ze&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),ze=!0),f.value!==void 0&&f.defaultValue!==void 0&&!Je&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),Je=!0),l.push(Mn("input"));var k=null,T=null,U=null,X=null;for(var oe in f)if(D.call(f,oe)){var ve=f[oe];if(ve==null)continue;switch(oe){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":X=ve;break;case"defaultValue":T=ve;break;case"checked":U=ve;break;case"value":k=ve;break;default:q(l,x,oe,ve);break}}return U!==null?q(l,x,"checked",U):X!==null&&q(l,x,"checked",X),k!==null?q(l,x,"value",k):T!==null&&q(l,x,"value",T),l.push(we),null}function Pl(l,f,x){Oe("textarea",f),f.value!==void 0&&f.defaultValue!==void 0&&!$n&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),$n=!0),l.push(Mn("textarea"));var k=null,T=null,U=null;for(var X in f)if(D.call(f,X)){var oe=f[X];if(oe==null)continue;switch(X){case"children":U=oe;break;case"value":k=oe;break;case"defaultValue":T=oe;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:q(l,x,X,oe);break}}if(k===null&&T!==null&&(k=T),l.push(ce),U!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),k!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Y(U)){if(U.length>1)throw new Error("<textarea> can only have at most one child.");B(U[0]),k=""+U[0]}B(U),k=""+U}return typeof k=="string"&&k[0]===`
627
627
  `&&l.push(_o),k!==null&&(R(k,"value"),l.push(lr(""+k))),null}function Hl(l,f,x,k){l.push(Mn(x));for(var T in f)if(D.call(f,T)){var U=f[T];if(U==null)continue;switch(T){case"children":case"dangerouslySetInnerHTML":throw new Error(x+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:q(l,k,T,U);break}}return l.push(we),null}function Bi(l,f,x){l.push(Mn("menuitem"));for(var k in f)if(D.call(f,k)){var T=f[k];if(T==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:q(l,x,k,T);break}}return l.push(ce),null}function Dl(l,f,x){l.push(Mn("title"));var k=null;for(var T in f)if(D.call(f,T)){var U=f[T];if(U==null)continue;switch(T){case"children":k=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:q(l,x,T,U);break}}l.push(ce);{var X=Array.isArray(k)&&k.length<2?k[0]||null:k;Array.isArray(k)&&k.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):X!=null&&X.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):X!=null&&typeof X!="string"&&typeof X!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return k}function Ni(l,f,x,k){l.push(Mn(x));var T=null,U=null;for(var X in f)if(D.call(f,X)){var oe=f[X];if(oe==null)continue;switch(X){case"children":T=oe;break;case"dangerouslySetInnerHTML":U=oe;break;default:q(l,k,X,oe);break}}return l.push(ce),Ne(l,U,T),typeof T=="string"?(l.push(lr(T)),null):T}function dr(l,f,x,k){l.push(Mn(x));var T=null,U=null;for(var X in f)if(D.call(f,X)){var oe=f[X];if(oe==null)continue;switch(X){case"children":T=oe;break;case"dangerouslySetInnerHTML":U=oe;break;case"style":m(l,k,oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ye(X)&&typeof oe!="function"&&typeof oe!="symbol"&&l.push(S,X,O,Pt(oe),N);break}}return l.push(ce),Ne(l,U,T),T}var _o=`
628
628
  `;function ii(l,f,x,k){l.push(Mn(x));var T=null,U=null;for(var X in f)if(D.call(f,X)){var oe=f[X];if(oe==null)continue;switch(X){case"children":T=oe;break;case"dangerouslySetInnerHTML":U=oe;break;default:q(l,k,X,oe);break}}if(l.push(ce),U!=null){if(T!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof U!="object"||!("__html"in U))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var ve=U.__html;ve!=null&&(typeof ve=="string"&&ve.length>0&&ve[0]===`
629
629
  `?l.push(_o,ve):(B(ve),l.push(""+ve)))}return typeof T=="string"&&T[0]===`
@@ -662,7 +662,7 @@ Error generating stack: `+k.message+`
662
662
  *
663
663
  * This source code is licensed under the MIT license found in the
664
664
  * LICENSE file in the root directory of this source tree.
665
- */var i8;function gL(){return i8||(i8=1,process.env.NODE_ENV!=="production"&&function(){var e=p,t="18.2.0",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function o(d){{for(var h=arguments.length,w=new Array(h>1?h-1:0),$=1;$<h;$++)w[$-1]=arguments[$];a("warn",d,w)}}function i(d){{for(var h=arguments.length,w=new Array(h>1?h-1:0),$=1;$<h;$++)w[$-1]=arguments[$];a("error",d,w)}}function a(d,h,w){{var $=n.ReactDebugCurrentFrame,V=$.getStackAddendum();V!==""&&(h+="%s",w=w.concat([V]));var z=w.map(function(J){return String(J)});z.unshift("Warning: "+h),Function.prototype.apply.call(console[d],console,z)}}function s(d){d()}var c=512,u=null,g=0;function C(d){u=new Uint8Array(c),g=0}function v(d,h){if(h.length!==0){if(h.length>c){g>0&&(d.enqueue(new Uint8Array(u.buffer,0,g)),u=new Uint8Array(c),g=0),d.enqueue(h);return}var w=h,$=u.length-g;$<w.length&&($===0?d.enqueue(u):(u.set(w.subarray(0,$),g),d.enqueue(u),w=w.subarray($)),u=new Uint8Array(c),g=0),u.set(w,g),g+=w.length}}function y(d,h){return v(d,h),!0}function E(d){u&&g>0&&(d.enqueue(new Uint8Array(u.buffer,0,g)),u=null,g=0)}function M(d){d.close()}var _=new TextEncoder;function I(d){return _.encode(d)}function j(d){return _.encode(d)}function R(d,h){typeof d.error=="function"?d.error(h):d.close()}function P(d){{var h=typeof Symbol=="function"&&Symbol.toStringTag,w=h&&d[Symbol.toStringTag]||d.constructor.name||"Object";return w}}function B(d){try{return D(d),!1}catch{return!0}}function D(d){return""+d}function H(d,h){if(B(d))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",h,P(d)),D(d)}function A(d,h){if(B(d))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",h,P(d)),D(d)}function G(d){if(B(d))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",P(d)),D(d)}var K=Object.prototype.hasOwnProperty,Q=0,le=1,se=2,fe=3,te=4,ge=5,ie=6,me=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ye=me+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",pe=new RegExp("^["+me+"]["+ye+"]*$"),Me={},Se={};function De(d){return K.call(Se,d)?!0:K.call(Me,d)?!1:pe.test(d)?(Se[d]=!0,!0):(Me[d]=!0,i("Invalid attribute name: `%s`",d),!1)}function de(d,h,w,$){if(w!==null&&w.type===Q)return!1;switch(typeof h){case"function":case"symbol":return!0;case"boolean":{if($)return!1;if(w!==null)return!w.acceptsBooleans;var V=d.toLowerCase().slice(0,5);return V!=="data-"&&V!=="aria-"}default:return!1}}function xe(d){return Te.hasOwnProperty(d)?Te[d]:null}function Ie(d,h,w,$,V,z,J){this.acceptsBooleans=h===se||h===fe||h===te,this.attributeName=$,this.attributeNamespace=V,this.mustUseProperty=w,this.propertyName=d,this.type=h,this.sanitizeURL=z,this.removeEmptyString=J}var Te={},Ge=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ge.forEach(function(d){Te[d]=new Ie(d,Q,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(d){var h=d[0],w=d[1];Te[h]=new Ie(h,le,!1,w,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){Te[d]=new Ie(d,se,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){Te[d]=new Ie(d,se,!1,d,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(d){Te[d]=new Ie(d,fe,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){Te[d]=new Ie(d,fe,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){Te[d]=new Ie(d,te,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){Te[d]=new Ie(d,ie,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){Te[d]=new Ie(d,ge,!1,d.toLowerCase(),null,!1,!1)});var gt=/[\-\:]([a-z])/g,Ce=function(d){return d[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(d){var h=d.replace(gt,Ce);Te[h]=new Ie(h,le,!1,d,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(d){var h=d.replace(gt,Ce);Te[h]=new Ie(h,le,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var h=d.replace(gt,Ce);Te[h]=new Ie(h,le,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){Te[d]=new Ie(d,le,!1,d.toLowerCase(),null,!1,!1)});var Fe="xlinkHref";Te[Fe]=new Ie("xlinkHref",le,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){Te[d]=new Ie(d,le,!1,d.toLowerCase(),null,!0,!0)});var Oe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ye(d,h){return d+h.charAt(0).toUpperCase()+h.substring(1)}var Xe=["Webkit","ms","Moz","O"];Object.keys(Oe).forEach(function(d){Xe.forEach(function(h){Oe[Ye(h,d)]=Oe[d]})});var We={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Lt(d,h){We[h.type]||h.onChange||h.onInput||h.readOnly||h.disabled||h.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),h.onChange||h.readOnly||h.disabled||h.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function nn(d,h){if(d.indexOf("-")===-1)return typeof h.is=="string";switch(d){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ln={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Rt={},Tt=new RegExp("^(aria)-["+ye+"]*$"),un=new RegExp("^(aria)[A-Z]["+ye+"]*$");function sn(d,h){{if(K.call(Rt,h)&&Rt[h])return!0;if(un.test(h)){var w="aria-"+h.slice(4).toLowerCase(),$=ln.hasOwnProperty(w)?w:null;if($==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",h),Rt[h]=!0,!0;if(h!==$)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",h,$),Rt[h]=!0,!0}if(Tt.test(h)){var V=h.toLowerCase(),z=ln.hasOwnProperty(V)?V:null;if(z==null)return Rt[h]=!0,!1;if(h!==z)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",h,z),Rt[h]=!0,!0}}return!0}function Ue(d,h){{var w=[];for(var $ in h){var V=sn(d,$);V||w.push($)}var z=w.map(function(J){return"`"+J+"`"}).join(", ");w.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",z,d):w.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",z,d)}}function Ft(d,h){nn(d,h)||Ue(d,h)}var tt=!1;function yt(d,h){{if(d!=="input"&&d!=="textarea"&&d!=="select")return;h!=null&&h.value===null&&!tt&&(tt=!0,d==="select"&&h.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",d):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",d))}}var rn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qt=function(){};{var jt={},hn=/^on./,Ae=/^on[^A-Z]/,Be=new RegExp("^(aria)-["+ye+"]*$"),et=new RegExp("^(aria)[A-Z]["+ye+"]*$");qt=function(d,h,w,$){if(K.call(jt,h)&&jt[h])return!0;var V=h.toLowerCase();if(V==="onfocusin"||V==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),jt[h]=!0,!0;if($!=null){var z=$.registrationNameDependencies,J=$.possibleRegistrationNames;if(z.hasOwnProperty(h))return!0;var ae=J.hasOwnProperty(V)?J[V]:null;if(ae!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",h,ae),jt[h]=!0,!0;if(hn.test(h))return i("Unknown event handler property `%s`. It will be ignored.",h),jt[h]=!0,!0}else if(hn.test(h))return Ae.test(h)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",h),jt[h]=!0,!0;if(Be.test(h)||et.test(h))return!0;if(V==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),jt[h]=!0,!0;if(V==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),jt[h]=!0,!0;if(V==="is"&&w!==null&&w!==void 0&&typeof w!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof w),jt[h]=!0,!0;if(typeof w=="number"&&isNaN(w))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",h),jt[h]=!0,!0;var l=xe(h),f=l!==null&&l.type===Q;if(rn.hasOwnProperty(V)){var x=rn[V];if(x!==h)return i("Invalid DOM property `%s`. Did you mean `%s`?",h,x),jt[h]=!0,!0}else if(!f&&h!==V)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",h,V),jt[h]=!0,!0;return typeof w=="boolean"&&de(h,w,l,!1)?(w?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',w,h,h,w,h):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',w,h,h,w,h,h,h),jt[h]=!0,!0):f?!0:de(h,w,l,!1)?(jt[h]=!0,!1):((w==="false"||w==="true")&&l!==null&&l.type===fe&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",w,h,w==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',h,w),jt[h]=!0),!0)}}var dt=function(d,h,w){{var $=[];for(var V in h){var z=qt(d,V,h[V],w);z||$.push(V)}var J=$.map(function(ae){return"`"+ae+"`"}).join(", ");$.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",J,d):$.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",J,d)}};function Vt(d,h,w){nn(d,h)||dt(d,h,w)}var xn=function(){};{var wn=/^(?:webkit|moz|o)[A-Z]/,ar=/^-ms-/,Le=/-(.)/g,Pe=/;\s*$/,ct={},mt={},He=!1,bt=!1,xt=function(d){return d.replace(Le,function(h,w){return w.toUpperCase()})},Xt=function(d){ct.hasOwnProperty(d)&&ct[d]||(ct[d]=!0,i("Unsupported style property %s. Did you mean %s?",d,xt(d.replace(ar,"ms-"))))},Qt=function(d){ct.hasOwnProperty(d)&&ct[d]||(ct[d]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",d,d.charAt(0).toUpperCase()+d.slice(1)))},fn=function(d,h){mt.hasOwnProperty(h)&&mt[h]||(mt[h]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,d,h.replace(Pe,"")))},Bt=function(d,h){He||(He=!0,i("`NaN` is an invalid value for the `%s` css style property.",d))},Pt=function(d,h){bt||(bt=!0,i("`Infinity` is an invalid value for the `%s` css style property.",d))};xn=function(d,h){d.indexOf("-")>-1?Xt(d):wn.test(d)?Qt(d):Pe.test(h)&&fn(d,h),typeof h=="number"&&(isNaN(h)?Bt(d,h):isFinite(h)||Pt(d,h))}}var Hr=xn,Dr=/["'&<>]/;function Ar(d){G(d);var h=""+d,w=Dr.exec(h);if(!w)return h;var $,V="",z,J=0;for(z=w.index;z<h.length;z++){switch(h.charCodeAt(z)){case 34:$="&quot;";break;case 38:$="&amp;";break;case 39:$="&#x27;";break;case 60:$="&lt;";break;case 62:$="&gt;";break;default:continue}J!==z&&(V+=h.substring(J,z)),J=z+1,V+=$}return J!==z?V+h.substring(J,z):V}function Nt(d){return typeof d=="boolean"||typeof d=="number"?""+d:Ar(d)}var Rr=/([A-Z])/g,So=/^ms-/;function Lo(d){return d.replace(Rr,"-$1").toLowerCase().replace(So,"-ms-")}var Y=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,be=!1;function je(d){!be&&Y.test(d)&&(be=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(d)))}var Ke=Array.isArray;function ut(d){return Ke(d)}var vt=j("<script>"),ht=j("<\/script>"),at=j('<script src="'),Zt=j('<script type="module" src="'),$t=j('" async=""><\/script>');function Mt(d){return G(d),(""+d).replace(Ht,yn)}var Ht=/(<\/|<)(s)(cript)/gi,yn=function(d,h,w,$){return""+h+(w==="s"?"\\u0073":"\\u0053")+$};function zn(d,h,w,$,V){var z=d===void 0?"":d,J=h===void 0?vt:j('<script nonce="'+Nt(h)+'">'),ae=[];if(w!==void 0&&ae.push(J,I(Mt(w)),ht),$!==void 0)for(var l=0;l<$.length;l++)ae.push(at,I(Nt($[l])),$t);if(V!==void 0)for(var f=0;f<V.length;f++)ae.push(Zt,I(Nt(V[f])),$t);return{bootstrapChunks:ae,startInlineScript:J,placeholderPrefix:j(z+"P:"),segmentPrefix:j(z+"S:"),boundaryPrefix:z+"B:",idPrefix:z,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Ut=0,Wt=1,Gn=2,On=3,cn=4,no=5,Yn=6,Xn=7;function kn(d,h){return{insertionMode:d,selectedValue:h}}function lr(d){var h=d==="http://www.w3.org/2000/svg"?Gn:d==="http://www.w3.org/1998/Math/MathML"?On:Ut;return kn(h,null)}function br(d,h,w){switch(h){case"select":return kn(Wt,w.value!=null?w.value:w.defaultValue);case"svg":return kn(Gn,null);case"math":return kn(On,null);case"foreignObject":return kn(Wt,null);case"table":return kn(cn,null);case"thead":case"tbody":case"tfoot":return kn(no,null);case"colgroup":return kn(Xn,null);case"tr":return kn(Yn,null)}return d.insertionMode>=cn||d.insertionMode===Ut?kn(Wt,null):d}var $o=null;function Mo(d){var h=d.nextSuspenseID++;return j(d.boundaryPrefix+h.toString(16))}function ro(d,h,w){var $=d.idPrefix,V=":"+$+"R"+h;return w>0&&(V+="H"+w.toString(32)),V+":"}function Cr(d){return Nt(d)}var jo=j("<!-- -->");function oo(d,h,w,$){return h===""?$:($&&d.push(jo),d.push(I(Cr(h))),!0)}function io(d,h,w,$){w&&$&&d.push(jo)}var m=new Map;function S(d){var h=m.get(d);if(h!==void 0)return h;var w=j(Nt(Lo(d)));return m.set(d,w),w}var O=j(' style="'),N=j(":"),ne=j(";");function q(d,h,w){if(typeof w!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var $=!0;for(var V in w)if(K.call(w,V)){var z=w[V];if(!(z==null||typeof z=="boolean"||z==="")){var J=void 0,ae=void 0,l=V.indexOf("--")===0;l?(J=I(Nt(V)),A(z,V),ae=I(Nt((""+z).trim()))):(Hr(V,z),J=S(V),typeof z=="number"?z!==0&&!K.call(Oe,V)?ae=I(z+"px"):ae=I(""+z):(A(z,V),ae=I(Nt((""+z).trim())))),$?($=!1,d.push(O,J,N,ae)):d.push(ne,J,N,ae)}}$||d.push(Ne)}var ce=j(" "),we=j('="'),Ne=j('"'),Je=j('=""');function ze(d,h,w,$){switch(w){case"style":{q(d,h,$);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(w.length>2&&(w[0]==="o"||w[0]==="O")&&(w[1]==="n"||w[1]==="N"))){var V=xe(w);if(V!==null){switch(typeof $){case"function":case"symbol":return;case"boolean":if(!V.acceptsBooleans)return}var z=V.attributeName,J=I(z);switch(V.type){case fe:$&&d.push(ce,J,Je);return;case te:$===!0?d.push(ce,J,Je):$===!1||d.push(ce,J,we,I(Nt($)),Ne);return;case ge:isNaN($)||d.push(ce,J,we,I(Nt($)),Ne);break;case ie:!isNaN($)&&$>=1&&d.push(ce,J,we,I(Nt($)),Ne);break;default:V.sanitizeURL&&(H($,z),$=""+$,je($)),d.push(ce,J,we,I(Nt($)),Ne)}}else if(De(w)){switch(typeof $){case"function":case"symbol":return;case"boolean":{var ae=w.toLowerCase().slice(0,5);if(ae!=="data-"&&ae!=="aria-")return}}d.push(ce,I(w),we,I(Nt($)),Ne)}}}var kt=j(">"),$n=j("/>");function gn(d,h,w){if(h!=null){if(w!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof h!="object"||!("__html"in h))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var $=h.__html;$!=null&&(G($),d.push(I(""+$)))}}var vn=!1,sr=!1,Pn=!1,ao=!1,xr=!1,Vr=!1,cr=!1;function Eo(d,h){{var w=d[h];if(w!=null){var $=ut(w);d.multiple&&!$?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",h):!d.multiple&&$&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",h)}}}function Pl(d,h,w){Lt("select",h),Eo(h,"value"),Eo(h,"defaultValue"),h.value!==void 0&&h.defaultValue!==void 0&&!Pn&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Pn=!0),d.push(Hn("select"));var $=null,V=null;for(var z in h)if(K.call(h,z)){var J=h[z];if(J==null)continue;switch(z){case"children":$=J;break;case"dangerouslySetInnerHTML":V=J;break;case"defaultValue":case"value":break;default:ze(d,w,z,J);break}}return d.push(kt),gn(d,V,$),$}function Hl(d){var h="";return e.Children.forEach(d,function(w){w!=null&&(h+=w,!xr&&typeof w!="string"&&typeof w!="number"&&(xr=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),h}var Bi=j(' selected=""');function Dl(d,h,w,$){var V=$.selectedValue;d.push(Hn("option"));var z=null,J=null,ae=null,l=null;for(var f in h)if(K.call(h,f)){var x=h[f];if(x==null)continue;switch(f){case"children":z=x;break;case"selected":ae=x,cr||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),cr=!0);break;case"dangerouslySetInnerHTML":l=x;break;case"value":J=x;default:ze(d,w,f,x);break}}if(V!=null){var k;if(J!==null?(H(J,"value"),k=""+J):(l!==null&&(Vr||(Vr=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),k=Hl(z)),ut(V))for(var T=0;T<V.length;T++){H(V[T],"value");var U=""+V[T];if(U===k){d.push(Bi);break}}else H(V,"select.value"),""+V===k&&d.push(Bi)}else ae&&d.push(Bi);return d.push(kt),gn(d,l,z),z}function Ni(d,h,w){Lt("input",h),h.checked!==void 0&&h.defaultChecked!==void 0&&!sr&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",h.type),sr=!0),h.value!==void 0&&h.defaultValue!==void 0&&!vn&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",h.type),vn=!0),d.push(Hn("input"));var $=null,V=null,z=null,J=null;for(var ae in h)if(K.call(h,ae)){var l=h[ae];if(l==null)continue;switch(ae){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":J=l;break;case"defaultValue":V=l;break;case"checked":z=l;break;case"value":$=l;break;default:ze(d,w,ae,l);break}}return z!==null?ze(d,w,"checked",z):J!==null&&ze(d,w,"checked",J),$!==null?ze(d,w,"value",$):V!==null&&ze(d,w,"value",V),d.push($n),null}function dr(d,h,w){Lt("textarea",h),h.value!==void 0&&h.defaultValue!==void 0&&!ao&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ao=!0),d.push(Hn("textarea"));var $=null,V=null,z=null;for(var J in h)if(K.call(h,J)){var ae=h[J];if(ae==null)continue;switch(J){case"children":z=ae;break;case"value":$=ae;break;case"defaultValue":V=ae;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ze(d,w,J,ae);break}}if($===null&&V!==null&&($=V),d.push(kt),z!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),$!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ut(z)){if(z.length>1)throw new Error("<textarea> can only have at most one child.");G(z[0]),$=""+z[0]}G(z),$=""+z}return typeof $=="string"&&$[0]===`
665
+ */var i8;function gL(){return i8||(i8=1,process.env.NODE_ENV!=="production"&&function(){var e=p,t="18.2.0",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function o(d){{for(var h=arguments.length,w=new Array(h>1?h-1:0),$=1;$<h;$++)w[$-1]=arguments[$];a("warn",d,w)}}function i(d){{for(var h=arguments.length,w=new Array(h>1?h-1:0),$=1;$<h;$++)w[$-1]=arguments[$];a("error",d,w)}}function a(d,h,w){{var $=n.ReactDebugCurrentFrame,V=$.getStackAddendum();V!==""&&(h+="%s",w=w.concat([V]));var z=w.map(function(J){return String(J)});z.unshift("Warning: "+h),Function.prototype.apply.call(console[d],console,z)}}function s(d){d()}var c=512,u=null,g=0;function C(d){u=new Uint8Array(c),g=0}function v(d,h){if(h.length!==0){if(h.length>c){g>0&&(d.enqueue(new Uint8Array(u.buffer,0,g)),u=new Uint8Array(c),g=0),d.enqueue(h);return}var w=h,$=u.length-g;$<w.length&&($===0?d.enqueue(u):(u.set(w.subarray(0,$),g),d.enqueue(u),w=w.subarray($)),u=new Uint8Array(c),g=0),u.set(w,g),g+=w.length}}function y(d,h){return v(d,h),!0}function _(d){u&&g>0&&(d.enqueue(new Uint8Array(u.buffer,0,g)),u=null,g=0)}function M(d){d.close()}var E=new TextEncoder;function I(d){return E.encode(d)}function j(d){return E.encode(d)}function R(d,h){typeof d.error=="function"?d.error(h):d.close()}function P(d){{var h=typeof Symbol=="function"&&Symbol.toStringTag,w=h&&d[Symbol.toStringTag]||d.constructor.name||"Object";return w}}function B(d){try{return D(d),!1}catch{return!0}}function D(d){return""+d}function H(d,h){if(B(d))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",h,P(d)),D(d)}function A(d,h){if(B(d))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",h,P(d)),D(d)}function G(d){if(B(d))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",P(d)),D(d)}var K=Object.prototype.hasOwnProperty,Q=0,le=1,se=2,fe=3,te=4,ge=5,ie=6,me=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ye=me+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",pe=new RegExp("^["+me+"]["+ye+"]*$"),Me={},Se={};function De(d){return K.call(Se,d)?!0:K.call(Me,d)?!1:pe.test(d)?(Se[d]=!0,!0):(Me[d]=!0,i("Invalid attribute name: `%s`",d),!1)}function de(d,h,w,$){if(w!==null&&w.type===Q)return!1;switch(typeof h){case"function":case"symbol":return!0;case"boolean":{if($)return!1;if(w!==null)return!w.acceptsBooleans;var V=d.toLowerCase().slice(0,5);return V!=="data-"&&V!=="aria-"}default:return!1}}function xe(d){return Te.hasOwnProperty(d)?Te[d]:null}function Ie(d,h,w,$,V,z,J){this.acceptsBooleans=h===se||h===fe||h===te,this.attributeName=$,this.attributeNamespace=V,this.mustUseProperty=w,this.propertyName=d,this.type=h,this.sanitizeURL=z,this.removeEmptyString=J}var Te={},Ge=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ge.forEach(function(d){Te[d]=new Ie(d,Q,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(d){var h=d[0],w=d[1];Te[h]=new Ie(h,le,!1,w,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){Te[d]=new Ie(d,se,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){Te[d]=new Ie(d,se,!1,d,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(d){Te[d]=new Ie(d,fe,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){Te[d]=new Ie(d,fe,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){Te[d]=new Ie(d,te,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){Te[d]=new Ie(d,ie,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){Te[d]=new Ie(d,ge,!1,d.toLowerCase(),null,!1,!1)});var gt=/[\-\:]([a-z])/g,Ce=function(d){return d[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(d){var h=d.replace(gt,Ce);Te[h]=new Ie(h,le,!1,d,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(d){var h=d.replace(gt,Ce);Te[h]=new Ie(h,le,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var h=d.replace(gt,Ce);Te[h]=new Ie(h,le,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){Te[d]=new Ie(d,le,!1,d.toLowerCase(),null,!1,!1)});var Fe="xlinkHref";Te[Fe]=new Ie("xlinkHref",le,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){Te[d]=new Ie(d,le,!1,d.toLowerCase(),null,!0,!0)});var Oe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ye(d,h){return d+h.charAt(0).toUpperCase()+h.substring(1)}var Xe=["Webkit","ms","Moz","O"];Object.keys(Oe).forEach(function(d){Xe.forEach(function(h){Oe[Ye(h,d)]=Oe[d]})});var We={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Lt(d,h){We[h.type]||h.onChange||h.onInput||h.readOnly||h.disabled||h.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),h.onChange||h.readOnly||h.disabled||h.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function nn(d,h){if(d.indexOf("-")===-1)return typeof h.is=="string";switch(d){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ln={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Rt={},Tt=new RegExp("^(aria)-["+ye+"]*$"),un=new RegExp("^(aria)[A-Z]["+ye+"]*$");function sn(d,h){{if(K.call(Rt,h)&&Rt[h])return!0;if(un.test(h)){var w="aria-"+h.slice(4).toLowerCase(),$=ln.hasOwnProperty(w)?w:null;if($==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",h),Rt[h]=!0,!0;if(h!==$)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",h,$),Rt[h]=!0,!0}if(Tt.test(h)){var V=h.toLowerCase(),z=ln.hasOwnProperty(V)?V:null;if(z==null)return Rt[h]=!0,!1;if(h!==z)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",h,z),Rt[h]=!0,!0}}return!0}function Ue(d,h){{var w=[];for(var $ in h){var V=sn(d,$);V||w.push($)}var z=w.map(function(J){return"`"+J+"`"}).join(", ");w.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",z,d):w.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",z,d)}}function Ft(d,h){nn(d,h)||Ue(d,h)}var tt=!1;function yt(d,h){{if(d!=="input"&&d!=="textarea"&&d!=="select")return;h!=null&&h.value===null&&!tt&&(tt=!0,d==="select"&&h.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",d):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",d))}}var rn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qt=function(){};{var jt={},hn=/^on./,Ae=/^on[^A-Z]/,Be=new RegExp("^(aria)-["+ye+"]*$"),et=new RegExp("^(aria)[A-Z]["+ye+"]*$");qt=function(d,h,w,$){if(K.call(jt,h)&&jt[h])return!0;var V=h.toLowerCase();if(V==="onfocusin"||V==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),jt[h]=!0,!0;if($!=null){var z=$.registrationNameDependencies,J=$.possibleRegistrationNames;if(z.hasOwnProperty(h))return!0;var ae=J.hasOwnProperty(V)?J[V]:null;if(ae!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",h,ae),jt[h]=!0,!0;if(hn.test(h))return i("Unknown event handler property `%s`. It will be ignored.",h),jt[h]=!0,!0}else if(hn.test(h))return Ae.test(h)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",h),jt[h]=!0,!0;if(Be.test(h)||et.test(h))return!0;if(V==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),jt[h]=!0,!0;if(V==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),jt[h]=!0,!0;if(V==="is"&&w!==null&&w!==void 0&&typeof w!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof w),jt[h]=!0,!0;if(typeof w=="number"&&isNaN(w))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",h),jt[h]=!0,!0;var l=xe(h),f=l!==null&&l.type===Q;if(rn.hasOwnProperty(V)){var x=rn[V];if(x!==h)return i("Invalid DOM property `%s`. Did you mean `%s`?",h,x),jt[h]=!0,!0}else if(!f&&h!==V)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",h,V),jt[h]=!0,!0;return typeof w=="boolean"&&de(h,w,l,!1)?(w?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',w,h,h,w,h):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',w,h,h,w,h,h,h),jt[h]=!0,!0):f?!0:de(h,w,l,!1)?(jt[h]=!0,!1):((w==="false"||w==="true")&&l!==null&&l.type===fe&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",w,h,w==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',h,w),jt[h]=!0),!0)}}var dt=function(d,h,w){{var $=[];for(var V in h){var z=qt(d,V,h[V],w);z||$.push(V)}var J=$.map(function(ae){return"`"+ae+"`"}).join(", ");$.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",J,d):$.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",J,d)}};function Vt(d,h,w){nn(d,h)||dt(d,h,w)}var xn=function(){};{var wn=/^(?:webkit|moz|o)[A-Z]/,ar=/^-ms-/,Le=/-(.)/g,Pe=/;\s*$/,ct={},mt={},He=!1,bt=!1,xt=function(d){return d.replace(Le,function(h,w){return w.toUpperCase()})},Xt=function(d){ct.hasOwnProperty(d)&&ct[d]||(ct[d]=!0,i("Unsupported style property %s. Did you mean %s?",d,xt(d.replace(ar,"ms-"))))},Qt=function(d){ct.hasOwnProperty(d)&&ct[d]||(ct[d]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",d,d.charAt(0).toUpperCase()+d.slice(1)))},fn=function(d,h){mt.hasOwnProperty(h)&&mt[h]||(mt[h]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,d,h.replace(Pe,"")))},Bt=function(d,h){He||(He=!0,i("`NaN` is an invalid value for the `%s` css style property.",d))},Pt=function(d,h){bt||(bt=!0,i("`Infinity` is an invalid value for the `%s` css style property.",d))};xn=function(d,h){d.indexOf("-")>-1?Xt(d):wn.test(d)?Qt(d):Pe.test(h)&&fn(d,h),typeof h=="number"&&(isNaN(h)?Bt(d,h):isFinite(h)||Pt(d,h))}}var Hr=xn,Dr=/["'&<>]/;function Ar(d){G(d);var h=""+d,w=Dr.exec(h);if(!w)return h;var $,V="",z,J=0;for(z=w.index;z<h.length;z++){switch(h.charCodeAt(z)){case 34:$="&quot;";break;case 38:$="&amp;";break;case 39:$="&#x27;";break;case 60:$="&lt;";break;case 62:$="&gt;";break;default:continue}J!==z&&(V+=h.substring(J,z)),J=z+1,V+=$}return J!==z?V+h.substring(J,z):V}function Nt(d){return typeof d=="boolean"||typeof d=="number"?""+d:Ar(d)}var Rr=/([A-Z])/g,So=/^ms-/;function Lo(d){return d.replace(Rr,"-$1").toLowerCase().replace(So,"-ms-")}var Y=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,be=!1;function je(d){!be&&Y.test(d)&&(be=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(d)))}var Ke=Array.isArray;function ut(d){return Ke(d)}var vt=j("<script>"),ht=j("<\/script>"),at=j('<script src="'),Zt=j('<script type="module" src="'),$t=j('" async=""><\/script>');function Mt(d){return G(d),(""+d).replace(Ht,yn)}var Ht=/(<\/|<)(s)(cript)/gi,yn=function(d,h,w,$){return""+h+(w==="s"?"\\u0073":"\\u0053")+$};function zn(d,h,w,$,V){var z=d===void 0?"":d,J=h===void 0?vt:j('<script nonce="'+Nt(h)+'">'),ae=[];if(w!==void 0&&ae.push(J,I(Mt(w)),ht),$!==void 0)for(var l=0;l<$.length;l++)ae.push(at,I(Nt($[l])),$t);if(V!==void 0)for(var f=0;f<V.length;f++)ae.push(Zt,I(Nt(V[f])),$t);return{bootstrapChunks:ae,startInlineScript:J,placeholderPrefix:j(z+"P:"),segmentPrefix:j(z+"S:"),boundaryPrefix:z+"B:",idPrefix:z,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Ut=0,Wt=1,Gn=2,On=3,cn=4,no=5,Yn=6,Xn=7;function kn(d,h){return{insertionMode:d,selectedValue:h}}function lr(d){var h=d==="http://www.w3.org/2000/svg"?Gn:d==="http://www.w3.org/1998/Math/MathML"?On:Ut;return kn(h,null)}function br(d,h,w){switch(h){case"select":return kn(Wt,w.value!=null?w.value:w.defaultValue);case"svg":return kn(Gn,null);case"math":return kn(On,null);case"foreignObject":return kn(Wt,null);case"table":return kn(cn,null);case"thead":case"tbody":case"tfoot":return kn(no,null);case"colgroup":return kn(Xn,null);case"tr":return kn(Yn,null)}return d.insertionMode>=cn||d.insertionMode===Ut?kn(Wt,null):d}var $o=null;function Mo(d){var h=d.nextSuspenseID++;return j(d.boundaryPrefix+h.toString(16))}function ro(d,h,w){var $=d.idPrefix,V=":"+$+"R"+h;return w>0&&(V+="H"+w.toString(32)),V+":"}function Cr(d){return Nt(d)}var jo=j("<!-- -->");function oo(d,h,w,$){return h===""?$:($&&d.push(jo),d.push(I(Cr(h))),!0)}function io(d,h,w,$){w&&$&&d.push(jo)}var m=new Map;function S(d){var h=m.get(d);if(h!==void 0)return h;var w=j(Nt(Lo(d)));return m.set(d,w),w}var O=j(' style="'),N=j(":"),ne=j(";");function q(d,h,w){if(typeof w!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var $=!0;for(var V in w)if(K.call(w,V)){var z=w[V];if(!(z==null||typeof z=="boolean"||z==="")){var J=void 0,ae=void 0,l=V.indexOf("--")===0;l?(J=I(Nt(V)),A(z,V),ae=I(Nt((""+z).trim()))):(Hr(V,z),J=S(V),typeof z=="number"?z!==0&&!K.call(Oe,V)?ae=I(z+"px"):ae=I(""+z):(A(z,V),ae=I(Nt((""+z).trim())))),$?($=!1,d.push(O,J,N,ae)):d.push(ne,J,N,ae)}}$||d.push(Ne)}var ce=j(" "),we=j('="'),Ne=j('"'),Je=j('=""');function ze(d,h,w,$){switch(w){case"style":{q(d,h,$);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(w.length>2&&(w[0]==="o"||w[0]==="O")&&(w[1]==="n"||w[1]==="N"))){var V=xe(w);if(V!==null){switch(typeof $){case"function":case"symbol":return;case"boolean":if(!V.acceptsBooleans)return}var z=V.attributeName,J=I(z);switch(V.type){case fe:$&&d.push(ce,J,Je);return;case te:$===!0?d.push(ce,J,Je):$===!1||d.push(ce,J,we,I(Nt($)),Ne);return;case ge:isNaN($)||d.push(ce,J,we,I(Nt($)),Ne);break;case ie:!isNaN($)&&$>=1&&d.push(ce,J,we,I(Nt($)),Ne);break;default:V.sanitizeURL&&(H($,z),$=""+$,je($)),d.push(ce,J,we,I(Nt($)),Ne)}}else if(De(w)){switch(typeof $){case"function":case"symbol":return;case"boolean":{var ae=w.toLowerCase().slice(0,5);if(ae!=="data-"&&ae!=="aria-")return}}d.push(ce,I(w),we,I(Nt($)),Ne)}}}var kt=j(">"),$n=j("/>");function gn(d,h,w){if(h!=null){if(w!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof h!="object"||!("__html"in h))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var $=h.__html;$!=null&&(G($),d.push(I(""+$)))}}var vn=!1,sr=!1,Pn=!1,ao=!1,xr=!1,Vr=!1,cr=!1;function Eo(d,h){{var w=d[h];if(w!=null){var $=ut(w);d.multiple&&!$?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",h):!d.multiple&&$&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",h)}}}function Pl(d,h,w){Lt("select",h),Eo(h,"value"),Eo(h,"defaultValue"),h.value!==void 0&&h.defaultValue!==void 0&&!Pn&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Pn=!0),d.push(Hn("select"));var $=null,V=null;for(var z in h)if(K.call(h,z)){var J=h[z];if(J==null)continue;switch(z){case"children":$=J;break;case"dangerouslySetInnerHTML":V=J;break;case"defaultValue":case"value":break;default:ze(d,w,z,J);break}}return d.push(kt),gn(d,V,$),$}function Hl(d){var h="";return e.Children.forEach(d,function(w){w!=null&&(h+=w,!xr&&typeof w!="string"&&typeof w!="number"&&(xr=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),h}var Bi=j(' selected=""');function Dl(d,h,w,$){var V=$.selectedValue;d.push(Hn("option"));var z=null,J=null,ae=null,l=null;for(var f in h)if(K.call(h,f)){var x=h[f];if(x==null)continue;switch(f){case"children":z=x;break;case"selected":ae=x,cr||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),cr=!0);break;case"dangerouslySetInnerHTML":l=x;break;case"value":J=x;default:ze(d,w,f,x);break}}if(V!=null){var k;if(J!==null?(H(J,"value"),k=""+J):(l!==null&&(Vr||(Vr=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),k=Hl(z)),ut(V))for(var T=0;T<V.length;T++){H(V[T],"value");var U=""+V[T];if(U===k){d.push(Bi);break}}else H(V,"select.value"),""+V===k&&d.push(Bi)}else ae&&d.push(Bi);return d.push(kt),gn(d,l,z),z}function Ni(d,h,w){Lt("input",h),h.checked!==void 0&&h.defaultChecked!==void 0&&!sr&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",h.type),sr=!0),h.value!==void 0&&h.defaultValue!==void 0&&!vn&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",h.type),vn=!0),d.push(Hn("input"));var $=null,V=null,z=null,J=null;for(var ae in h)if(K.call(h,ae)){var l=h[ae];if(l==null)continue;switch(ae){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":J=l;break;case"defaultValue":V=l;break;case"checked":z=l;break;case"value":$=l;break;default:ze(d,w,ae,l);break}}return z!==null?ze(d,w,"checked",z):J!==null&&ze(d,w,"checked",J),$!==null?ze(d,w,"value",$):V!==null&&ze(d,w,"value",V),d.push($n),null}function dr(d,h,w){Lt("textarea",h),h.value!==void 0&&h.defaultValue!==void 0&&!ao&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ao=!0),d.push(Hn("textarea"));var $=null,V=null,z=null;for(var J in h)if(K.call(h,J)){var ae=h[J];if(ae==null)continue;switch(J){case"children":z=ae;break;case"value":$=ae;break;case"defaultValue":V=ae;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ze(d,w,J,ae);break}}if($===null&&V!==null&&($=V),d.push(kt),z!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),$!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ut(z)){if(z.length>1)throw new Error("<textarea> can only have at most one child.");G(z[0]),$=""+z[0]}G(z),$=""+z}return typeof $=="string"&&$[0]===`
666
666
  `&&d.push(Br),$!==null&&(H($,"value"),d.push(I(Cr(""+$)))),null}function _o(d,h,w,$){d.push(Hn(w));for(var V in h)if(K.call(h,V)){var z=h[V];if(z==null)continue;switch(V){case"children":case"dangerouslySetInnerHTML":throw new Error(w+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ze(d,$,V,z);break}}return d.push($n),null}function ii(d,h,w){d.push(Hn("menuitem"));for(var $ in h)if(K.call(h,$)){var V=h[$];if(V==null)continue;switch($){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ze(d,w,$,V);break}}return d.push(kt),null}function It(d,h,w){d.push(Hn("title"));var $=null;for(var V in h)if(K.call(h,V)){var z=h[V];if(z==null)continue;switch(V){case"children":$=z;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ze(d,w,V,z);break}}d.push(kt);{var J=Array.isArray($)&&$.length<2?$[0]||null:$;Array.isArray($)&&$.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):J!=null&&J.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):J!=null&&typeof J!="string"&&typeof J!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return $}function wr(d,h,w,$){d.push(Hn(w));var V=null,z=null;for(var J in h)if(K.call(h,J)){var ae=h[J];if(ae==null)continue;switch(J){case"children":V=ae;break;case"dangerouslySetInnerHTML":z=ae;break;default:ze(d,$,J,ae);break}}return d.push(kt),gn(d,z,V),typeof V=="string"?(d.push(I(Cr(V))),null):V}function Mn(d,h,w,$){d.push(Hn(w));var V=null,z=null;for(var J in h)if(K.call(h,J)){var ae=h[J];if(ae==null)continue;switch(J){case"children":V=ae;break;case"dangerouslySetInnerHTML":z=ae;break;case"style":q(d,$,ae);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:De(J)&&typeof ae!="function"&&typeof ae!="symbol"&&d.push(ce,I(J),we,I(Nt(ae)),Ne);break}}return d.push(kt),gn(d,z,V),V}var Br=j(`
667
667
  `);function yr(d,h,w,$){d.push(Hn(w));var V=null,z=null;for(var J in h)if(K.call(h,J)){var ae=h[J];if(ae==null)continue;switch(J){case"children":V=ae;break;case"dangerouslySetInnerHTML":z=ae;break;default:ze(d,$,J,ae);break}}if(d.push(kt),z!=null){if(V!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof z!="object"||!("__html"in z))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var l=z.__html;l!=null&&(typeof l=="string"&&l.length>0&&l[0]===`
668
668
  `?d.push(Br,I(l)):(G(l),d.push(I(""+l))))}return typeof V=="string"&&V[0]===`
@@ -693,10 +693,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
693
693
  Previous: %s
694
694
  Incoming: %s`,Zr,"["+d.join(", ")+"]","["+h.join(", ")+"]");for(var w=0;w<h.length&&w<d.length;w++)if(!J4(d[w],h[w]))return!1;return!0}function Vo(){if(Ao>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ur(){return St===null?Ea===null?(Ho=!1,Ea=St=Vo()):(Ho=!0,St=Ea):St.next===null?(Ho=!1,St=St.next=Vo()):(Ho=!0,St=St.next),St}function q4(d,h){Nr=h,ps=d,mn=!1,Et=0}function T2(d,h,w,$){for(;Do;)Do=!1,Et=0,Ao+=1,St=null,w=d(h,$);return hs(),w}function Ia(){var d=Et!==0;return d}function hs(){mn=!1,Nr=null,ps=null,Do=!1,Ea=null,Ao=0,Jn=null,St=null}function Q4(d){return mn&&i("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),a1(d)}function F2(d){return Zr="useContext",Ro(),a1(d)}function c1(d,h){return typeof h=="function"?h(d):h}function e5(d){return Zr="useState",O2(c1,d)}function O2(d,h,w){if(d!==c1&&(Zr="useReducer"),Nr=Ro(),St=Ur(),Ho){var $=St.queue,V=$.dispatch;if(Jn!==null){var z=Jn.get($);if(z!==void 0){Jn.delete($);var J=St.memoizedState,ae=z;do{var l=ae.action;mn=!0,J=d(J,l),mn=!1,ae=ae.next}while(ae!==null);return St.memoizedState=J,[J,V]}}return[St.memoizedState,V]}else{mn=!0;var f;d===c1?f=typeof h=="function"?h():h:f=w!==void 0?w(h):h,mn=!1,St.memoizedState=f;var x=St.queue={last:null,dispatch:null},k=x.dispatch=H2.bind(null,Nr,x);return[St.memoizedState,k]}}function Ta(d,h){Nr=Ro(),St=Ur();var w=h===void 0?null:h;if(St!==null){var $=St.memoizedState;if($!==null&&w!==null){var V=$[1];if(Lr(w,V))return $[0]}}mn=!0;var z=d();return mn=!1,St.memoizedState=[z,w],z}function t5(d){Nr=Ro(),St=Ur();var h=St.memoizedState;if(h===null){var w={current:d};return Object.seal(w),St.memoizedState=w,w}else return h}function P2(d,h){Zr="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function H2(d,h,w){if(Ao>=_a)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(d===Nr){Do=!0;var $={action:w,next:null};Jn===null&&(Jn=new Map);var V=Jn.get(h);if(V===void 0)Jn.set(h,$);else{for(var z=V;z.next!==null;)z=z.next;z.next=$}}}function n5(d,h){return Ta(function(){return d},h)}function r5(d,h,w){return Ro(),h(d._source)}function o5(d,h,w){if(w===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return w()}function i5(d){return Ro(),d}function a5(){throw new Error("startTransition cannot be called during server rendering.")}function l5(){return Ro(),[!1,a5]}function s5(){var d=ps,h=z4(d.treeContext),w=gs;if(w===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var $=Et++;return ro(w,h,$)}function Fa(){}var D2={readContext:Q4,useContext:F2,useMemo:Ta,useReducer:O2,useRef:t5,useState:e5,useInsertionEffect:Fa,useLayoutEffect:P2,useCallback:n5,useImperativeHandle:Fa,useEffect:Fa,useDebugValue:Fa,useDeferredValue:i5,useTransition:l5,useId:s5,useMutableSource:r5,useSyncExternalStore:o5},gs=null;function d1(d){gs=d}function A2(d){try{var h="",w=d;do{switch(w.tag){case 0:h+=e1(w.type,null,null);break;case 1:h+=k2(w.type,null,null);break;case 2:h+=pa(w.type,null,null);break}w=w.parent}while(w);return h}catch($){return`
695
695
  Error generating stack: `+$.message+`
696
- `+$.stack}}var u1=n.ReactCurrentDispatcher,Oa=n.ReactDebugCurrentFrame,vs=0,uo=1,Pa=2,Ha=3,Bo=4,R2=0,ms=1,No=2,c5=12800;function V2(d){return console.error(d),null}function $r(){}function d5(d,h,w,$,V,z,J,ae,l){var f=[],x=new Set,k={destination:null,responseState:h,progressiveChunkSize:$===void 0?c5:$,status:R2,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:x,pingedTasks:f,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:V===void 0?V2:V,onAllReady:z===void 0?$r:z,onShellReady:J===void 0?$r:J,onShellError:ae===void 0?$r:ae,onFatalError:l===void 0?$r:l},T=Da(k,0,null,w,!1,!1);T.parentFlushed=!0;var U=bs(k,d,null,T,x,Fo,L2,W4);return f.push(U),k}function u5(d,h){var w=d.pingedTasks;w.push(h),w.length===1&&s(function(){return m1(d)})}function f1(d,h){return{id:$o,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:h,errorDigest:null}}function bs(d,h,w,$,V,z,J,ae){d.allPendingTasks++,w===null?d.pendingRootTasks++:w.pendingTasks++;var l={node:h,ping:function(){return u5(d,l)},blockedBoundary:w,blockedSegment:$,abortSet:V,legacyContext:z,context:J,treeContext:ae};return l.componentStack=null,V.add(l),l}function Da(d,h,w,$,V,z){return{status:vs,id:-1,index:h,parentFlushed:!1,chunks:[],children:[],formatContext:$,boundary:w,lastPushedText:V,textEmbedded:z}}var Wr=null;function p1(){return Wr===null||Wr.componentStack===null?"":A2(Wr.componentStack)}function fo(d,h){d.componentStack={tag:0,parent:d.componentStack,type:h}}function Mr(d,h){d.componentStack={tag:1,parent:d.componentStack,type:h}}function Cs(d,h){d.componentStack={tag:2,parent:d.componentStack,type:h}}function qn(d){d.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):d.componentStack=d.componentStack.parent}var Si=null;function xs(d,h){{var w;typeof h=="string"?w=h:h&&typeof h.message=="string"?w=h.message:w=String(h);var $=Si||p1();Si=null,d.errorMessage=w,d.errorComponentStack=$}}function Qn(d,h){var w=d.onError(h);if(w!=null&&typeof w!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof w+'" instead');return w}function po(d,h){var w=d.onShellError;w(h);var $=d.onFatalError;$(h),d.destination!==null?(d.status=No,R(d.destination,h)):(d.status=ms,d.fatalError=h)}function ws(d,h,w){fo(h,"Suspense");var $=h.blockedBoundary,V=h.blockedSegment,z=w.fallback,J=w.children,ae=new Set,l=f1(d,ae),f=V.chunks.length,x=Da(d,f,l,V.formatContext,!1,!1);V.children.push(x),V.lastPushedText=!1;var k=Da(d,0,null,V.formatContext,!1,!1);k.parentFlushed=!0,h.blockedBoundary=l,h.blockedSegment=k;try{if(_s(d,h,J),io(k.chunks,d.responseState,k.lastPushedText,k.textEmbedded),k.status=uo,Va(l,k),l.pendingTasks===0){qn(h);return}}catch(U){k.status=Bo,l.forceClientRender=!0,l.errorDigest=Qn(d,U),xs(l,U)}finally{h.blockedBoundary=$,h.blockedSegment=V}var T=bs(d,z,$,x,ae,h.legacyContext,h.context,h.treeContext);T.componentStack=h.componentStack,d.pingedTasks.push(T),qn(h)}function h1(d,h,w,$){fo(h,w);var V=h.blockedSegment,z=Ui(V.chunks,w,$,d.responseState,V.formatContext);V.lastPushedText=!1;var J=V.formatContext;V.formatContext=br(J,w,$),_s(d,h,z),V.formatContext=J,K1(V.chunks,w),V.lastPushedText=!1,qn(h)}function Aa(d){return d.prototype&&d.prototype.isReactComponent}function B2(d,h,w,$,V){var z={};q4(h,z);var J=w($,V);return T2(w,$,J,V)}function N2(d,h,w,$,V){var z=w.render();w.props!==V&&(v1||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Kt($)||"a component"),v1=!0);{var J=$.childContextTypes;if(J!=null){var ae=h.legacyContext,l=ls(w,$,ae,J);h.legacyContext=l,Vn(d,h,z),h.legacyContext=ae;return}}Vn(d,h,z)}function f5(d,h,w,$){Cs(h,w);var V=as(w,h.legacyContext),z=E2(w,$,V);I2(z,w,$,V),N2(d,h,z,w,$),qn(h)}var ys={},g1={},Z2={},ks={},v1=!1,Ss=!1,Ls=!1,$s=!1;function U2(d,h,w,$){var V;if(V=as(w,h.legacyContext),Mr(h,w),w.prototype&&typeof w.prototype.render=="function"){var z=Kt(w)||"Unknown";ys[z]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",z,z),ys[z]=!0)}var J=B2(d,h,w,$,V),ae=Ia();if(typeof J=="object"&&J!==null&&typeof J.render=="function"&&J.$$typeof===void 0){var l=Kt(w)||"Unknown";g1[l]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",l,l,l),g1[l]=!0)}if(typeof J=="object"&&J!==null&&typeof J.render=="function"&&J.$$typeof===void 0){{var f=Kt(w)||"Unknown";g1[f]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",f,f,f),g1[f]=!0)}I2(J,w,$,V),N2(d,h,J,w,$)}else if(W2(w),ae){var x=h.treeContext,k=1,T=0;h.treeContext=$a(x,k,T);try{Vn(d,h,J)}finally{h.treeContext=x}}else Vn(d,h,J);qn(h)}function W2(d){{if(d&&d.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",d.displayName||d.name||"Component"),typeof d.getDerivedStateFromProps=="function"){var h=Kt(d)||"Unknown";ks[h]||(i("%s: Function components do not support getDerivedStateFromProps.",h),ks[h]=!0)}if(typeof d.contextType=="object"&&d.contextType!==null){var w=Kt(d)||"Unknown";Z2[w]||(i("%s: Function components do not support contextType.",w),Z2[w]=!0)}}}function Ms(d,h){if(d&&d.defaultProps){var w=Kn({},h),$=d.defaultProps;for(var V in $)w[V]===void 0&&(w[V]=$[V]);return w}return h}function p5(d,h,w,$,V){Mr(h,w.render);var z=B2(d,h,w.render,$,V),J=Ia();if(J){var ae=h.treeContext,l=1,f=0;h.treeContext=$a(ae,l,f);try{Vn(d,h,z)}finally{h.treeContext=ae}}else Vn(d,h,z);qn(h)}function h5(d,h,w,$,V){var z=w.type,J=Ms(z,$);js(d,h,z,J,V)}function z2(d,h,w,$){w._context===void 0?w!==w.Consumer&&($s||($s=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):w=w._context;var V=$.children;typeof V!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var z=a1(w),J=V(z);Vn(d,h,J)}function g5(d,h,w,$){var V=w._context,z=$.value,J=$.children,ae;ae=h.context,h.context=$2(V,z),Vn(d,h,J),h.context=M2(V),ae!==h.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function v5(d,h,w,$,V){fo(h,"Lazy");var z=w._payload,J=w._init,ae=J(z),l=Ms(ae,$);js(d,h,ae,l,V),qn(h)}function js(d,h,w,$,V){if(typeof w=="function")if(Aa(w)){f5(d,h,w,$);return}else{U2(d,h,w,$);return}if(typeof w=="string"){h1(d,h,w,$);return}switch(w){case ua:case Yl:case m2:case zl:case Rn:{Vn(d,h,$.children);return}case Ji:{fo(h,"SuspenseList"),Vn(d,h,$.children),qn(h);return}case Gl:throw new Error("ReactDOMServer does not yet support scope components.");case Ki:{ws(d,h,$);return}}if(typeof w=="object"&&w!==null)switch(w.$$typeof){case da:{p5(d,h,w,$,V);return}case qi:{h5(d,h,w,$,V);return}case sa:{g5(d,h,w,$);return}case ca:{z2(d,h,w,$);return}case mi:{v5(d,h,w,$);return}}var z="";throw(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(w==null?w:typeof w)+"."+z))}function m5(d,h){typeof Symbol=="function"&&d[Symbol.toStringTag]==="Generator"&&(Ss||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Ss=!0),d.entries===h&&(Ls||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ls=!0)}function Vn(d,h,w){try{return Es(d,h,w)}catch($){throw typeof $=="object"&&$!==null&&typeof $.then=="function"||(Si=Si!==null?Si:p1()),$}}function Es(d,h,w){if(h.node=w,typeof w=="object"&&w!==null){switch(w.$$typeof){case A4:{var $=w,V=$.type,z=$.props,J=$.ref;js(d,h,V,z,J);return}case v2:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case mi:{var ae=w,l=ae._payload,f=ae._init,x;try{x=f(l)}catch(Ze){throw typeof Ze=="object"&&Ze!==null&&typeof Ze.then=="function"&&fo(h,"Lazy"),Ze}Vn(d,h,x);return}}if(ut(w)){G2(d,h,w);return}var k=B4(w);if(k){m5(w,k);var T=k.call(w);if(T){var U=T.next();if(!U.done){var X=[];do X.push(U.value),U=T.next();while(!U.done);G2(d,h,X);return}return}}var oe=Object.prototype.toString.call(w);throw new Error("Objects are not valid as a React child (found: "+(oe==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":oe)+"). If you meant to render a collection of children, use an array instead.")}if(typeof w=="string"){var ve=h.blockedSegment;ve.lastPushedText=oo(h.blockedSegment.chunks,w,d.responseState,ve.lastPushedText);return}if(typeof w=="number"){var Re=h.blockedSegment;Re.lastPushedText=oo(h.blockedSegment.chunks,""+w,d.responseState,Re.lastPushedText);return}typeof w=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function G2(d,h,w){for(var $=w.length,V=0;V<$;V++){var z=h.treeContext;h.treeContext=$a(z,$,V);try{_s(d,h,w[V])}finally{h.treeContext=z}}}function Bn(d,h,w){var $=h.blockedSegment,V=$.chunks.length,z=Da(d,V,null,$.formatContext,$.lastPushedText,!0);$.children.push(z),$.lastPushedText=!1;var J=bs(d,h.node,h.blockedBoundary,z,h.abortSet,h.legacyContext,h.context,h.treeContext);h.componentStack!==null&&(J.componentStack=h.componentStack.parent);var ae=J.ping;w.then(ae,ae)}function _s(d,h,w){var $=h.blockedSegment.formatContext,V=h.legacyContext,z=h.context,J=null;J=h.componentStack;try{return Vn(d,h,w)}catch(ae){if(hs(),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"){Bn(d,h,ae),h.blockedSegment.formatContext=$,h.legacyContext=V,h.context=z,i1(z),h.componentStack=J;return}else throw h.blockedSegment.formatContext=$,h.legacyContext=V,h.context=z,i1(z),h.componentStack=J,ae}}function Y2(d,h,w,$){var V=Qn(d,$);if(h===null?po(d,$):(h.pendingTasks--,h.forceClientRender||(h.forceClientRender=!0,h.errorDigest=V,xs(h,$),h.parentFlushed&&d.clientRenderedBoundaries.push(h))),d.allPendingTasks--,d.allPendingTasks===0){var z=d.onAllReady;z()}}function b5(d){var h=this,w=d.blockedBoundary,$=d.blockedSegment;$.status=Ha,X2(h,w,$)}function Ra(d,h,w){var $=d.blockedBoundary,V=d.blockedSegment;if(V.status=Ha,$===null)h.allPendingTasks--,h.status!==No&&(h.status=No,h.destination!==null&&M(h.destination));else{if($.pendingTasks--,!$.forceClientRender){$.forceClientRender=!0;var z=w===void 0?new Error("The render was aborted by the server without a reason."):w;$.errorDigest=h.onError(z);{var J="The server did not finish this Suspense boundary: ";z&&typeof z.message=="string"?z=J+z.message:z=J+String(z);var ae=Wr;Wr=d;try{xs($,z)}finally{Wr=ae}}$.parentFlushed&&h.clientRenderedBoundaries.push($)}if($.fallbackAbortableTasks.forEach(function(f){return Ra(f,h,w)}),$.fallbackAbortableTasks.clear(),h.allPendingTasks--,h.allPendingTasks===0){var l=h.onAllReady;l()}}}function Va(d,h){if(h.chunks.length===0&&h.children.length===1&&h.children[0].boundary===null){var w=h.children[0];w.id=h.id,w.parentFlushed=!0,w.status===uo&&Va(d,w)}else{var $=d.completedSegments;$.push(h)}}function X2(d,h,w){if(h===null){if(w.parentFlushed){if(d.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");d.completedRootSegment=w}if(d.pendingRootTasks--,d.pendingRootTasks===0){d.onShellError=$r;var $=d.onShellReady;$()}}else if(h.pendingTasks--,!h.forceClientRender){if(h.pendingTasks===0)w.parentFlushed&&w.status===uo&&Va(h,w),h.parentFlushed&&d.completedBoundaries.push(h),h.fallbackAbortableTasks.forEach(b5,d),h.fallbackAbortableTasks.clear();else if(w.parentFlushed&&w.status===uo){Va(h,w);var V=h.completedSegments;V.length===1&&h.parentFlushed&&d.partialBoundaries.push(h)}}if(d.allPendingTasks--,d.allPendingTasks===0){var z=d.onAllReady;z()}}function K2(d,h){var w=h.blockedSegment;if(w.status===vs){i1(h.context);var $=null;$=Wr,Wr=h;try{Vn(d,h,h.node),io(w.chunks,d.responseState,w.lastPushedText,w.textEmbedded),h.abortSet.delete(h),w.status=uo,X2(d,h.blockedBoundary,w)}catch(z){if(hs(),typeof z=="object"&&z!==null&&typeof z.then=="function"){var V=h.ping;z.then(V,V)}else h.abortSet.delete(h),w.status=Bo,Y2(d,h.blockedBoundary,w,z)}finally{Wr=$}}}function m1(d){if(d.status!==No){var h=ma(),w=u1.current;u1.current=D2;var $;$=Oa.getCurrentStack,Oa.getCurrentStack=p1;var V=gs;d1(d.responseState);try{var z=d.pingedTasks,J;for(J=0;J<z.length;J++){var ae=z[J];K2(d,ae)}z.splice(0,J),d.destination!==null&&Na(d,d.destination)}catch(l){Qn(d,l),po(d,l)}finally{d1(V),u1.current=w,Oa.getCurrentStack=$,w===D2&&i1(h)}}}function b1(d,h,w){switch(w.parentFlushed=!0,w.status){case vs:{var $=w.id=d.nextSegmentId++;return w.lastPushedText=!1,w.textEmbedded=!1,si(h,d.responseState,$)}case uo:{w.status=Pa;for(var V=!0,z=w.chunks,J=0,ae=w.children,l=0;l<ae.length;l++){for(var f=ae[l];J<f.index;J++)v(h,z[J]);V=Ba(d,h,f)}for(;J<z.length-1;J++)v(h,z[J]);return J<z.length&&(V=y(h,z[J])),V}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Ba(d,h,w){var $=w.boundary;if($===null)return b1(d,h,w);if($.parentFlushed=!0,$.forceClientRender)return jn(h,d.responseState,$.errorDigest,$.errorMessage,$.errorComponentStack),b1(d,h,w),Bl(h,d.responseState);if($.pendingTasks>0){$.rootSegmentID=d.nextSegmentId++,$.completedSegments.length>0&&d.partialBoundaries.push($);var V=$.id=Mo(d.responseState);return ui(h,d.responseState,V),b1(d,h,w),fi(h,d.responseState)}else{if($.byteSize>d.progressiveChunkSize)return $.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push($),ui(h,d.responseState,$.id),b1(d,h,w),fi(h,d.responseState);q1(h,d.responseState);var z=$.completedSegments;if(z.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var J=z[0];return Ba(d,h,J),Q1(h,d.responseState)}}function J2(d,h,w){return h2(h,d.responseState,w.id,w.errorDigest,w.errorMessage,w.errorComponentStack)}function C1(d,h,w){return lt(h,d.responseState,w.formatContext,w.id),Ba(d,h,w),Ot(h,w.formatContext)}function x1(d,h,w){for(var $=w.completedSegments,V=0;V<$.length;V++){var z=$[V];Is(d,h,w,z)}return $.length=0,Nl(h,d.responseState,w.id,w.rootSegmentID)}function C5(d,h,w){for(var $=w.completedSegments,V=0;V<$.length;V++){var z=$[V];if(!Is(d,h,w,z))return V++,$.splice(0,V),!1}return $.splice(0,V),!0}function Is(d,h,w,$){if($.status===Pa)return!0;var V=$.id;if(V===-1){var z=$.id=w.rootSegmentID;if(z===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return C1(d,h,$)}else return C1(d,h,$),_4(h,d.responseState,V)}function Na(d,h){C();try{var w=d.completedRootSegment;w!==null&&d.pendingRootTasks===0&&(Ba(d,h,w),d.completedRootSegment=null,Al(h,d.responseState));var $=d.clientRenderedBoundaries,V;for(V=0;V<$.length;V++){var z=$[V];J2(d,h,z)}$.splice(0,V);var J=d.completedBoundaries;for(V=0;V<J.length;V++){var ae=J[V];x1(d,h,ae)}J.splice(0,V),E(h),C(h);var l=d.partialBoundaries;for(V=0;V<l.length;V++){var f=l[V];if(!C5(d,h,f)){d.destination=null,V++,l.splice(0,V);return}}l.splice(0,V);var x=d.completedBoundaries;for(V=0;V<x.length;V++){var k=x[V];x1(d,h,k)}x.splice(0,V)}finally{E(h),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&(d.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),M(h))}}function x5(d){s(function(){return m1(d)})}function q2(d,h){if(d.status===ms){d.status=No,R(h,d.fatalError);return}if(d.status!==No&&d.destination===null){d.destination=h;try{Na(d,h)}catch(w){Qn(d,w),po(d,w)}}}function Za(d,h){try{var w=d.abortableTasks;w.forEach(function($){return Ra($,d,h)}),w.clear(),d.destination!==null&&Na(d,d.destination)}catch($){Qn(d,$),po(d,$)}}function w5(d,h){return new Promise(function(w,$){var V,z,J=new Promise(function(T,U){z=T,V=U});function ae(){var T=new ReadableStream({type:"bytes",pull:function(U){q2(f,U)},cancel:function(U){Za(f)}},{highWaterMark:0});T.allReady=J,w(T)}function l(T){J.catch(function(){}),$(T)}var f=d5(d,zn(h?h.identifierPrefix:void 0,h?h.nonce:void 0,h?h.bootstrapScriptContent:void 0,h?h.bootstrapScripts:void 0,h?h.bootstrapModules:void 0),lr(h?h.namespaceURI:void 0),h?h.progressiveChunkSize:void 0,h?h.onError:void 0,z,ae,l,V);if(h&&h.signal){var x=h.signal,k=function(){Za(f,x.reason),x.removeEventListener("abort",k)};x.addEventListener("abort",k)}x5(f)})}$c.renderToReadableStream=w5,$c.version=t}()),$c}var Pi,F0;process.env.NODE_ENV==="production"?(Pi=fL(),F0=pL()):(Pi=hL(),F0=gL()),Pi.version,Pi.renderToString;var vL=Pi.renderToStaticMarkup;Pi.renderToNodeStream,Pi.renderToStaticNodeStream,F0.renderToReadableStream;const mL=(e,t,n,o)=>{const i=document.createElement("td"),a=vL(p.createElement(t,{rowIndex:n,columnIndex:o,type:"row-cell"}));i.innerHTML=a,e.appendChild(i)},Mc=(e,t,n,o)=>{const i=document.createElement("tr");t.forEach(a=>{mL(i,n,o,a)}),e.appendChild(i)},bL=async({cell:e,selection:t,rowCount:n,columnCount:o,pageStart:i=0,focus:a,outerRef:s})=>{if(!s.current)throw"Could not fetch selection";const c=document.createElement("table");c.style.position="absolute",c.style.top="-200px",c.style.left="-200px",c.style.width="0px",c.style.height="0px",c.style.overflow="hidden";const u=document.createElement("thead"),g=document.createElement("tbody");switch(t.type){case"rectangle":Array.from({length:t.bounds.bottom+1-t.bounds.top},(v,y)=>t.bounds.top+y).forEach(v=>{const y=Array.from({length:t.bounds.right+1-t.bounds.left},(E,M)=>t.bounds.left+M);Mc(g,y,e,v)});break;case"columns":Array.from({length:n},(v,y)=>i+y).forEach(v=>{const y=[...t.columns].sort();Mc(g,y,e,v)});break;case"rows":[...t.rows].sort().forEach(v=>{const y=Array.from({length:o},(E,M)=>i+M);Mc(g,y,e,v)});break;case"empty":Mc(g,[a.column],e,a.row);break;default:throw new Error("incorrect selection provided")}c.appendChild(u),c.appendChild(g),s.current.appendChild(c);const C=window.getSelection();if(C){const v=document.createRange();v.selectNodeContents(c),C.removeAllRanges(),C.addRange(v),await navigator.clipboard.writeText(c.innerText),C.removeAllRanges(),s.current.removeChild(c)}else throw"Could not fetch selection"},jc=100,CL=({columnCount:e,columnWidth:t,outerGridRef:n,onColumnResize:o,gridRef:i})=>{const a=p.useRef({}),s=p.useRef([]),c=p.useRef([]),[u,g]=p.useState([]),C=p.useCallback(M=>{var P;if(s.current.length>0)return;const _=M>jc*e?M/e:jc,I=B=>typeof t=="function"?t(B):_,j=[...Array(e).keys()],R=[];g(()=>j.reduce((B,D)=>{const H=I(D);return a.current[D.toString()]=H,s.current[D]=H,D!==0?B.push(H+B[D-1]):B.push(0),B},R)),(P=i.current)==null||P.resetAfterColumnIndex(0)},[e,t,i]),v=p.useCallback((M,_,I)=>{var j;if(I==="auto"){const R=c.current.findIndex(P=>P===M);R>-1?(_=a.current[M.toString()],c.current.splice(R,1)):n.current&&(_=32,n.current.querySelectorAll(`[data-grid-column="${M}"]`).forEach(P=>{_=Math.max(_,P.scrollWidth+2)}),c.current.push(M))}else{const R=c.current.findIndex(P=>P===M);c.current.splice(R,1),a.current[M.toString()]=_}s.current[M]=_,g(R=>{const P=R[M+1]-R[M],B=_-P;for(let D=M+1;D<e;D++)R[D]=R[D]+B;return[...R]}),(j=i.current)==null||j.resetAfterColumnIndex(M),typeof o=="function"&&o(M,_)},[e,i,o,n]),y=p.useCallback(M=>t?t(M):s.current[M]??jc,[t]);return{getColumnHorizontalPosition:p.useCallback(M=>u[M]??jc*M,[u]),onColumnResize:v,columnWidth:y,initColumnSize:C}},a8=0,xL=1,wL=2,yL=W.div.withConfig({componentId:"sc-175eneg-0"})(["display:flex;flex-direction:column-reverse;user-select:none;overflow-anchor:none;"]),kL=e=>e.reduce(([t,n,o,i],{props:{columnIndex:a,rowIndex:s}})=>(s<t&&(t=s),s>n&&(n=s),a<o&&(o=a),a>i&&(i=a),[t,n,o,i]),[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]),SL=W.div.withConfig({componentId:"sc-175eneg-1"})(["position:absolute;top:0;left:0;",""],({$top:e,$left:t})=>`
696
+ `+$.stack}}var u1=n.ReactCurrentDispatcher,Oa=n.ReactDebugCurrentFrame,vs=0,uo=1,Pa=2,Ha=3,Bo=4,R2=0,ms=1,No=2,c5=12800;function V2(d){return console.error(d),null}function $r(){}function d5(d,h,w,$,V,z,J,ae,l){var f=[],x=new Set,k={destination:null,responseState:h,progressiveChunkSize:$===void 0?c5:$,status:R2,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:x,pingedTasks:f,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:V===void 0?V2:V,onAllReady:z===void 0?$r:z,onShellReady:J===void 0?$r:J,onShellError:ae===void 0?$r:ae,onFatalError:l===void 0?$r:l},T=Da(k,0,null,w,!1,!1);T.parentFlushed=!0;var U=bs(k,d,null,T,x,Fo,L2,W4);return f.push(U),k}function u5(d,h){var w=d.pingedTasks;w.push(h),w.length===1&&s(function(){return m1(d)})}function f1(d,h){return{id:$o,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:h,errorDigest:null}}function bs(d,h,w,$,V,z,J,ae){d.allPendingTasks++,w===null?d.pendingRootTasks++:w.pendingTasks++;var l={node:h,ping:function(){return u5(d,l)},blockedBoundary:w,blockedSegment:$,abortSet:V,legacyContext:z,context:J,treeContext:ae};return l.componentStack=null,V.add(l),l}function Da(d,h,w,$,V,z){return{status:vs,id:-1,index:h,parentFlushed:!1,chunks:[],children:[],formatContext:$,boundary:w,lastPushedText:V,textEmbedded:z}}var Wr=null;function p1(){return Wr===null||Wr.componentStack===null?"":A2(Wr.componentStack)}function fo(d,h){d.componentStack={tag:0,parent:d.componentStack,type:h}}function Mr(d,h){d.componentStack={tag:1,parent:d.componentStack,type:h}}function Cs(d,h){d.componentStack={tag:2,parent:d.componentStack,type:h}}function qn(d){d.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):d.componentStack=d.componentStack.parent}var Si=null;function xs(d,h){{var w;typeof h=="string"?w=h:h&&typeof h.message=="string"?w=h.message:w=String(h);var $=Si||p1();Si=null,d.errorMessage=w,d.errorComponentStack=$}}function Qn(d,h){var w=d.onError(h);if(w!=null&&typeof w!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof w+'" instead');return w}function po(d,h){var w=d.onShellError;w(h);var $=d.onFatalError;$(h),d.destination!==null?(d.status=No,R(d.destination,h)):(d.status=ms,d.fatalError=h)}function ws(d,h,w){fo(h,"Suspense");var $=h.blockedBoundary,V=h.blockedSegment,z=w.fallback,J=w.children,ae=new Set,l=f1(d,ae),f=V.chunks.length,x=Da(d,f,l,V.formatContext,!1,!1);V.children.push(x),V.lastPushedText=!1;var k=Da(d,0,null,V.formatContext,!1,!1);k.parentFlushed=!0,h.blockedBoundary=l,h.blockedSegment=k;try{if(_s(d,h,J),io(k.chunks,d.responseState,k.lastPushedText,k.textEmbedded),k.status=uo,Va(l,k),l.pendingTasks===0){qn(h);return}}catch(U){k.status=Bo,l.forceClientRender=!0,l.errorDigest=Qn(d,U),xs(l,U)}finally{h.blockedBoundary=$,h.blockedSegment=V}var T=bs(d,z,$,x,ae,h.legacyContext,h.context,h.treeContext);T.componentStack=h.componentStack,d.pingedTasks.push(T),qn(h)}function h1(d,h,w,$){fo(h,w);var V=h.blockedSegment,z=Ui(V.chunks,w,$,d.responseState,V.formatContext);V.lastPushedText=!1;var J=V.formatContext;V.formatContext=br(J,w,$),_s(d,h,z),V.formatContext=J,K1(V.chunks,w),V.lastPushedText=!1,qn(h)}function Aa(d){return d.prototype&&d.prototype.isReactComponent}function B2(d,h,w,$,V){var z={};q4(h,z);var J=w($,V);return T2(w,$,J,V)}function N2(d,h,w,$,V){var z=w.render();w.props!==V&&(v1||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Kt($)||"a component"),v1=!0);{var J=$.childContextTypes;if(J!=null){var ae=h.legacyContext,l=ls(w,$,ae,J);h.legacyContext=l,Vn(d,h,z),h.legacyContext=ae;return}}Vn(d,h,z)}function f5(d,h,w,$){Cs(h,w);var V=as(w,h.legacyContext),z=E2(w,$,V);I2(z,w,$,V),N2(d,h,z,w,$),qn(h)}var ys={},g1={},Z2={},ks={},v1=!1,Ss=!1,Ls=!1,$s=!1;function U2(d,h,w,$){var V;if(V=as(w,h.legacyContext),Mr(h,w),w.prototype&&typeof w.prototype.render=="function"){var z=Kt(w)||"Unknown";ys[z]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",z,z),ys[z]=!0)}var J=B2(d,h,w,$,V),ae=Ia();if(typeof J=="object"&&J!==null&&typeof J.render=="function"&&J.$$typeof===void 0){var l=Kt(w)||"Unknown";g1[l]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",l,l,l),g1[l]=!0)}if(typeof J=="object"&&J!==null&&typeof J.render=="function"&&J.$$typeof===void 0){{var f=Kt(w)||"Unknown";g1[f]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",f,f,f),g1[f]=!0)}I2(J,w,$,V),N2(d,h,J,w,$)}else if(W2(w),ae){var x=h.treeContext,k=1,T=0;h.treeContext=$a(x,k,T);try{Vn(d,h,J)}finally{h.treeContext=x}}else Vn(d,h,J);qn(h)}function W2(d){{if(d&&d.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",d.displayName||d.name||"Component"),typeof d.getDerivedStateFromProps=="function"){var h=Kt(d)||"Unknown";ks[h]||(i("%s: Function components do not support getDerivedStateFromProps.",h),ks[h]=!0)}if(typeof d.contextType=="object"&&d.contextType!==null){var w=Kt(d)||"Unknown";Z2[w]||(i("%s: Function components do not support contextType.",w),Z2[w]=!0)}}}function Ms(d,h){if(d&&d.defaultProps){var w=Kn({},h),$=d.defaultProps;for(var V in $)w[V]===void 0&&(w[V]=$[V]);return w}return h}function p5(d,h,w,$,V){Mr(h,w.render);var z=B2(d,h,w.render,$,V),J=Ia();if(J){var ae=h.treeContext,l=1,f=0;h.treeContext=$a(ae,l,f);try{Vn(d,h,z)}finally{h.treeContext=ae}}else Vn(d,h,z);qn(h)}function h5(d,h,w,$,V){var z=w.type,J=Ms(z,$);js(d,h,z,J,V)}function z2(d,h,w,$){w._context===void 0?w!==w.Consumer&&($s||($s=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):w=w._context;var V=$.children;typeof V!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var z=a1(w),J=V(z);Vn(d,h,J)}function g5(d,h,w,$){var V=w._context,z=$.value,J=$.children,ae;ae=h.context,h.context=$2(V,z),Vn(d,h,J),h.context=M2(V),ae!==h.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function v5(d,h,w,$,V){fo(h,"Lazy");var z=w._payload,J=w._init,ae=J(z),l=Ms(ae,$);js(d,h,ae,l,V),qn(h)}function js(d,h,w,$,V){if(typeof w=="function")if(Aa(w)){f5(d,h,w,$);return}else{U2(d,h,w,$);return}if(typeof w=="string"){h1(d,h,w,$);return}switch(w){case ua:case Yl:case m2:case zl:case Rn:{Vn(d,h,$.children);return}case Ji:{fo(h,"SuspenseList"),Vn(d,h,$.children),qn(h);return}case Gl:throw new Error("ReactDOMServer does not yet support scope components.");case Ki:{ws(d,h,$);return}}if(typeof w=="object"&&w!==null)switch(w.$$typeof){case da:{p5(d,h,w,$,V);return}case qi:{h5(d,h,w,$,V);return}case sa:{g5(d,h,w,$);return}case ca:{z2(d,h,w,$);return}case mi:{v5(d,h,w,$);return}}var z="";throw(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(w==null?w:typeof w)+"."+z))}function m5(d,h){typeof Symbol=="function"&&d[Symbol.toStringTag]==="Generator"&&(Ss||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Ss=!0),d.entries===h&&(Ls||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ls=!0)}function Vn(d,h,w){try{return Es(d,h,w)}catch($){throw typeof $=="object"&&$!==null&&typeof $.then=="function"||(Si=Si!==null?Si:p1()),$}}function Es(d,h,w){if(h.node=w,typeof w=="object"&&w!==null){switch(w.$$typeof){case A4:{var $=w,V=$.type,z=$.props,J=$.ref;js(d,h,V,z,J);return}case v2:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case mi:{var ae=w,l=ae._payload,f=ae._init,x;try{x=f(l)}catch(Ze){throw typeof Ze=="object"&&Ze!==null&&typeof Ze.then=="function"&&fo(h,"Lazy"),Ze}Vn(d,h,x);return}}if(ut(w)){G2(d,h,w);return}var k=B4(w);if(k){m5(w,k);var T=k.call(w);if(T){var U=T.next();if(!U.done){var X=[];do X.push(U.value),U=T.next();while(!U.done);G2(d,h,X);return}return}}var oe=Object.prototype.toString.call(w);throw new Error("Objects are not valid as a React child (found: "+(oe==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":oe)+"). If you meant to render a collection of children, use an array instead.")}if(typeof w=="string"){var ve=h.blockedSegment;ve.lastPushedText=oo(h.blockedSegment.chunks,w,d.responseState,ve.lastPushedText);return}if(typeof w=="number"){var Re=h.blockedSegment;Re.lastPushedText=oo(h.blockedSegment.chunks,""+w,d.responseState,Re.lastPushedText);return}typeof w=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function G2(d,h,w){for(var $=w.length,V=0;V<$;V++){var z=h.treeContext;h.treeContext=$a(z,$,V);try{_s(d,h,w[V])}finally{h.treeContext=z}}}function Bn(d,h,w){var $=h.blockedSegment,V=$.chunks.length,z=Da(d,V,null,$.formatContext,$.lastPushedText,!0);$.children.push(z),$.lastPushedText=!1;var J=bs(d,h.node,h.blockedBoundary,z,h.abortSet,h.legacyContext,h.context,h.treeContext);h.componentStack!==null&&(J.componentStack=h.componentStack.parent);var ae=J.ping;w.then(ae,ae)}function _s(d,h,w){var $=h.blockedSegment.formatContext,V=h.legacyContext,z=h.context,J=null;J=h.componentStack;try{return Vn(d,h,w)}catch(ae){if(hs(),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"){Bn(d,h,ae),h.blockedSegment.formatContext=$,h.legacyContext=V,h.context=z,i1(z),h.componentStack=J;return}else throw h.blockedSegment.formatContext=$,h.legacyContext=V,h.context=z,i1(z),h.componentStack=J,ae}}function Y2(d,h,w,$){var V=Qn(d,$);if(h===null?po(d,$):(h.pendingTasks--,h.forceClientRender||(h.forceClientRender=!0,h.errorDigest=V,xs(h,$),h.parentFlushed&&d.clientRenderedBoundaries.push(h))),d.allPendingTasks--,d.allPendingTasks===0){var z=d.onAllReady;z()}}function b5(d){var h=this,w=d.blockedBoundary,$=d.blockedSegment;$.status=Ha,X2(h,w,$)}function Ra(d,h,w){var $=d.blockedBoundary,V=d.blockedSegment;if(V.status=Ha,$===null)h.allPendingTasks--,h.status!==No&&(h.status=No,h.destination!==null&&M(h.destination));else{if($.pendingTasks--,!$.forceClientRender){$.forceClientRender=!0;var z=w===void 0?new Error("The render was aborted by the server without a reason."):w;$.errorDigest=h.onError(z);{var J="The server did not finish this Suspense boundary: ";z&&typeof z.message=="string"?z=J+z.message:z=J+String(z);var ae=Wr;Wr=d;try{xs($,z)}finally{Wr=ae}}$.parentFlushed&&h.clientRenderedBoundaries.push($)}if($.fallbackAbortableTasks.forEach(function(f){return Ra(f,h,w)}),$.fallbackAbortableTasks.clear(),h.allPendingTasks--,h.allPendingTasks===0){var l=h.onAllReady;l()}}}function Va(d,h){if(h.chunks.length===0&&h.children.length===1&&h.children[0].boundary===null){var w=h.children[0];w.id=h.id,w.parentFlushed=!0,w.status===uo&&Va(d,w)}else{var $=d.completedSegments;$.push(h)}}function X2(d,h,w){if(h===null){if(w.parentFlushed){if(d.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");d.completedRootSegment=w}if(d.pendingRootTasks--,d.pendingRootTasks===0){d.onShellError=$r;var $=d.onShellReady;$()}}else if(h.pendingTasks--,!h.forceClientRender){if(h.pendingTasks===0)w.parentFlushed&&w.status===uo&&Va(h,w),h.parentFlushed&&d.completedBoundaries.push(h),h.fallbackAbortableTasks.forEach(b5,d),h.fallbackAbortableTasks.clear();else if(w.parentFlushed&&w.status===uo){Va(h,w);var V=h.completedSegments;V.length===1&&h.parentFlushed&&d.partialBoundaries.push(h)}}if(d.allPendingTasks--,d.allPendingTasks===0){var z=d.onAllReady;z()}}function K2(d,h){var w=h.blockedSegment;if(w.status===vs){i1(h.context);var $=null;$=Wr,Wr=h;try{Vn(d,h,h.node),io(w.chunks,d.responseState,w.lastPushedText,w.textEmbedded),h.abortSet.delete(h),w.status=uo,X2(d,h.blockedBoundary,w)}catch(z){if(hs(),typeof z=="object"&&z!==null&&typeof z.then=="function"){var V=h.ping;z.then(V,V)}else h.abortSet.delete(h),w.status=Bo,Y2(d,h.blockedBoundary,w,z)}finally{Wr=$}}}function m1(d){if(d.status!==No){var h=ma(),w=u1.current;u1.current=D2;var $;$=Oa.getCurrentStack,Oa.getCurrentStack=p1;var V=gs;d1(d.responseState);try{var z=d.pingedTasks,J;for(J=0;J<z.length;J++){var ae=z[J];K2(d,ae)}z.splice(0,J),d.destination!==null&&Na(d,d.destination)}catch(l){Qn(d,l),po(d,l)}finally{d1(V),u1.current=w,Oa.getCurrentStack=$,w===D2&&i1(h)}}}function b1(d,h,w){switch(w.parentFlushed=!0,w.status){case vs:{var $=w.id=d.nextSegmentId++;return w.lastPushedText=!1,w.textEmbedded=!1,si(h,d.responseState,$)}case uo:{w.status=Pa;for(var V=!0,z=w.chunks,J=0,ae=w.children,l=0;l<ae.length;l++){for(var f=ae[l];J<f.index;J++)v(h,z[J]);V=Ba(d,h,f)}for(;J<z.length-1;J++)v(h,z[J]);return J<z.length&&(V=y(h,z[J])),V}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Ba(d,h,w){var $=w.boundary;if($===null)return b1(d,h,w);if($.parentFlushed=!0,$.forceClientRender)return jn(h,d.responseState,$.errorDigest,$.errorMessage,$.errorComponentStack),b1(d,h,w),Bl(h,d.responseState);if($.pendingTasks>0){$.rootSegmentID=d.nextSegmentId++,$.completedSegments.length>0&&d.partialBoundaries.push($);var V=$.id=Mo(d.responseState);return ui(h,d.responseState,V),b1(d,h,w),fi(h,d.responseState)}else{if($.byteSize>d.progressiveChunkSize)return $.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push($),ui(h,d.responseState,$.id),b1(d,h,w),fi(h,d.responseState);q1(h,d.responseState);var z=$.completedSegments;if(z.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var J=z[0];return Ba(d,h,J),Q1(h,d.responseState)}}function J2(d,h,w){return h2(h,d.responseState,w.id,w.errorDigest,w.errorMessage,w.errorComponentStack)}function C1(d,h,w){return lt(h,d.responseState,w.formatContext,w.id),Ba(d,h,w),Ot(h,w.formatContext)}function x1(d,h,w){for(var $=w.completedSegments,V=0;V<$.length;V++){var z=$[V];Is(d,h,w,z)}return $.length=0,Nl(h,d.responseState,w.id,w.rootSegmentID)}function C5(d,h,w){for(var $=w.completedSegments,V=0;V<$.length;V++){var z=$[V];if(!Is(d,h,w,z))return V++,$.splice(0,V),!1}return $.splice(0,V),!0}function Is(d,h,w,$){if($.status===Pa)return!0;var V=$.id;if(V===-1){var z=$.id=w.rootSegmentID;if(z===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return C1(d,h,$)}else return C1(d,h,$),_4(h,d.responseState,V)}function Na(d,h){C();try{var w=d.completedRootSegment;w!==null&&d.pendingRootTasks===0&&(Ba(d,h,w),d.completedRootSegment=null,Al(h,d.responseState));var $=d.clientRenderedBoundaries,V;for(V=0;V<$.length;V++){var z=$[V];J2(d,h,z)}$.splice(0,V);var J=d.completedBoundaries;for(V=0;V<J.length;V++){var ae=J[V];x1(d,h,ae)}J.splice(0,V),_(h),C(h);var l=d.partialBoundaries;for(V=0;V<l.length;V++){var f=l[V];if(!C5(d,h,f)){d.destination=null,V++,l.splice(0,V);return}}l.splice(0,V);var x=d.completedBoundaries;for(V=0;V<x.length;V++){var k=x[V];x1(d,h,k)}x.splice(0,V)}finally{_(h),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&(d.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),M(h))}}function x5(d){s(function(){return m1(d)})}function q2(d,h){if(d.status===ms){d.status=No,R(h,d.fatalError);return}if(d.status!==No&&d.destination===null){d.destination=h;try{Na(d,h)}catch(w){Qn(d,w),po(d,w)}}}function Za(d,h){try{var w=d.abortableTasks;w.forEach(function($){return Ra($,d,h)}),w.clear(),d.destination!==null&&Na(d,d.destination)}catch($){Qn(d,$),po(d,$)}}function w5(d,h){return new Promise(function(w,$){var V,z,J=new Promise(function(T,U){z=T,V=U});function ae(){var T=new ReadableStream({type:"bytes",pull:function(U){q2(f,U)},cancel:function(U){Za(f)}},{highWaterMark:0});T.allReady=J,w(T)}function l(T){J.catch(function(){}),$(T)}var f=d5(d,zn(h?h.identifierPrefix:void 0,h?h.nonce:void 0,h?h.bootstrapScriptContent:void 0,h?h.bootstrapScripts:void 0,h?h.bootstrapModules:void 0),lr(h?h.namespaceURI:void 0),h?h.progressiveChunkSize:void 0,h?h.onError:void 0,z,ae,l,V);if(h&&h.signal){var x=h.signal,k=function(){Za(f,x.reason),x.removeEventListener("abort",k)};x.addEventListener("abort",k)}x5(f)})}$c.renderToReadableStream=w5,$c.version=t}()),$c}var Pi,F0;process.env.NODE_ENV==="production"?(Pi=fL(),F0=pL()):(Pi=hL(),F0=gL()),Pi.version,Pi.renderToString;var vL=Pi.renderToStaticMarkup;Pi.renderToNodeStream,Pi.renderToStaticNodeStream,F0.renderToReadableStream;const mL=(e,t,n,o)=>{const i=document.createElement("td"),a=vL(p.createElement(t,{rowIndex:n,columnIndex:o,type:"row-cell"}));i.innerHTML=a,e.appendChild(i)},Mc=(e,t,n,o)=>{const i=document.createElement("tr");t.forEach(a=>{mL(i,n,o,a)}),e.appendChild(i)},bL=async({cell:e,selection:t,rowCount:n,columnCount:o,pageStart:i=0,focus:a,outerRef:s})=>{if(!s.current)throw"Could not fetch selection";const c=document.createElement("table");c.style.position="absolute",c.style.top="-200px",c.style.left="-200px",c.style.width="0px",c.style.height="0px",c.style.overflow="hidden";const u=document.createElement("thead"),g=document.createElement("tbody");switch(t.type){case"rectangle":Array.from({length:t.bounds.bottom+1-t.bounds.top},(v,y)=>t.bounds.top+y).forEach(v=>{const y=Array.from({length:t.bounds.right+1-t.bounds.left},(_,M)=>t.bounds.left+M);Mc(g,y,e,v)});break;case"columns":Array.from({length:n},(v,y)=>i+y).forEach(v=>{const y=[...t.columns].sort();Mc(g,y,e,v)});break;case"rows":[...t.rows].sort().forEach(v=>{const y=Array.from({length:o},(_,M)=>i+M);Mc(g,y,e,v)});break;case"empty":Mc(g,[a.column],e,a.row);break;default:throw new Error("incorrect selection provided")}c.appendChild(u),c.appendChild(g),s.current.appendChild(c);const C=window.getSelection();if(C){const v=document.createRange();v.selectNodeContents(c),C.removeAllRanges(),C.addRange(v),await navigator.clipboard.writeText(c.innerText),C.removeAllRanges(),s.current.removeChild(c)}else throw"Could not fetch selection"},jc=100,CL=({columnCount:e,columnWidth:t,outerGridRef:n,onColumnResize:o,gridRef:i})=>{const a=p.useRef({}),s=p.useRef([]),c=p.useRef([]),[u,g]=p.useState([]),C=p.useCallback(M=>{var P;if(s.current.length>0)return;const E=M>jc*e?M/e:jc,I=B=>typeof t=="function"?t(B):E,j=[...Array(e).keys()],R=[];g(()=>j.reduce((B,D)=>{const H=I(D);return a.current[D.toString()]=H,s.current[D]=H,D!==0?B.push(H+B[D-1]):B.push(0),B},R)),(P=i.current)==null||P.resetAfterColumnIndex(0)},[e,t,i]),v=p.useCallback((M,E,I)=>{var j;if(I==="auto"){const R=c.current.findIndex(P=>P===M);R>-1?(E=a.current[M.toString()],c.current.splice(R,1)):n.current&&(E=32,n.current.querySelectorAll(`[data-grid-column="${M}"]`).forEach(P=>{E=Math.max(E,P.scrollWidth+2)}),c.current.push(M))}else{const R=c.current.findIndex(P=>P===M);c.current.splice(R,1),a.current[M.toString()]=E}s.current[M]=E,g(R=>{const P=R[M+1]-R[M],B=E-P;for(let D=M+1;D<e;D++)R[D]=R[D]+B;return[...R]}),(j=i.current)==null||j.resetAfterColumnIndex(M),typeof o=="function"&&o(M,E)},[e,i,o,n]),y=p.useCallback(M=>t?t(M):s.current[M]??jc,[t]);return{getColumnHorizontalPosition:p.useCallback(M=>u[M]??jc*M,[u]),onColumnResize:v,columnWidth:y,initColumnSize:C}},a8=0,xL=1,wL=2,yL=W.div.withConfig({componentId:"sc-175eneg-0"})(["display:flex;flex-direction:column-reverse;user-select:none;overflow-anchor:none;"]),kL=e=>e.reduce(([t,n,o,i],{props:{columnIndex:a,rowIndex:s}})=>(s<t&&(t=s),s>n&&(n=s),a<o&&(o=a),a>i&&(i=a),[t,n,o,i]),[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]),SL=W.div.withConfig({componentId:"sc-175eneg-1"})(["position:absolute;top:0;left:0;",""],({$top:e,$left:t})=>`
697
697
  margin-top: ${e}px;
698
698
  margin-left: ${t}px;
699
- `),LL=W.div.withConfig({componentId:"sc-175eneg-2"})(["outline:none;overflow:hidden;height:",";width:100%;background:",";border-radius:",";",";"],({$height:e})=>e?`${e}px`:"100%",({theme:e})=>e.click.grid.body.cell.color.background.default,({theme:e,$rounded:t})=>e.click.grid.radii[t],({$showBorder:e,theme:t})=>e&&`border: 1px solid ${t.click.grid.header.cell.color.stroke.default}`),$L=p.forwardRef((e,t)=>r.jsx("div",{ref:t,"data-testid":"grid-outer-element",...e})),ML=p.forwardRef(({autoFocus:e,autoHeight:t=!1,rowStart:n=0,showRowNumber:o=!0,rounded:i="none",showHeader:a=!0,focus:s,useIsScrolling:c=!0,rowHeight:u=33,columnCount:g,columnWidth:C,onSelect:v,headerHeight:y=33,rowCount:E,cell:M,onColumnResize:_,onFocusChange:I,getMenuOptions:j,onKeyDown:R,selection:P,showToast:B,onMouseDown:D,onMouseMove:H,showBorder:A=!1,onCopy:G,onContextMenu:K,forwardedGridRef:Q,...le},se)=>{const[fe,te]=p.useState(s??{row:n,column:0}),[ge,ie]=p.useState(P??{type:"empty"}),me=p.useCallback(async()=>{let Le=!1;try{await bL({cell:M,selection:ge,focus:s??fe,rowCount:E,columnCount:g,outerRef:Fe}),Le=!0,B&&w4({title:"Copied successfully",description:"Now you can copy the content",type:"success"})}catch(Pe){console.error(Pe),B&&w4({title:"Failed to copy",description:"Encountered an error while copying. Try again after sometime",type:"danger"}),typeof G=="function"&&G(Le)}},[M,g,fe,s,G,E,ge,B]),ye=[{label:"Copy",onSelect:me}],[pe,Me]=p.useState(ye),[Se,De]=p.useState(!1),[de,xe]=p.useState(!1),[Ie,Te]=p.useState(!1),Ge=p.useRef(!1),gt=p.useRef(null),Ce=p.useRef(null),Fe=p.useRef(null),Oe=p.useRef({top:0,bottom:0,left:0,right:0,scrollBarWidth:0,scrollBarHeight:0,width:0,height:0}),Ye=p.useCallback((Le,Pe,ct)=>{ie(Pe),typeof v=="function"&&v(Le,Pe,ct)},[v]),Xe=p.useCallback((Le,Pe)=>{te(ct=>({row:Le??(s==null?void 0:s.row)??ct.row,column:Pe??(s==null?void 0:s.column)??ct.column})),typeof I=="function"&&I(Le,Pe)},[I,s]),We=(E.toString().length+2)*8+3,{getColumnHorizontalPosition:Lt,onColumnResize:nn,columnWidth:ln,initColumnSize:Rt}=CL({columnCount:g,columnWidth:C,outerGridRef:Fe,gridRef:gt,onColumnResize:_}),Tt=p.useCallback(async({row:Le,column:Pe})=>{var Xt,Qt,fn;if(!Fe.current||!gt.current)return;const ct=Le??0,mt=Pe??0;let He=(Xt=Fe.current)==null?void 0:Xt.querySelector(`[data-row="${ct}"][data-column="${mt}"]`);if(!He)return;const{scrollTop:bt,scrollLeft:xt}=Fe.current;typeof(He==null?void 0:He.scrollIntoView)=="function"&&(He==null||He.scrollIntoView({block:"nearest",inline:"nearest"}),await new Promise(requestAnimationFrame)),He=(Qt=Fe.current)==null?void 0:Qt.querySelector(`[data-row="${ct}"][data-column="${mt}"]`),He&&(xt>He.offsetLeft||bt>He.offsetTop)&&((fn=Fe.current)==null||fn.scrollBy(xt>He.offsetLeft?-We:0,bt>He.offsetTop?-y:0))},[y,We]),un=p.useCallback((Le,Pe,ct)=>{var fn;const mt=Lt(ct),He=mt+Pe,{width:bt,left:xt,scrollBarWidth:Xt}=Oe.current,Qt=((fn=Fe.current)==null?void 0:fn.scrollLeft)??0;return Le+We-xt>bt+Xt?Qt+bt-Xt-4:Pe<50?mt+We+50:He+We-4},[Lt,We]),sn=p.useCallback((Le,Pe,ct,mt)=>{Le.style.left=`${un(Pe,ct,mt)}px`,Fe.current&&(Le.style.top=`${Fe.current.scrollTop}px`)},[un]),Ue=p.useCallback(Le=>{ie(ct=>ct.type==="columns"&&!Le?ct:{type:"empty"});const Pe=s??fe;Xe(Pe.row,Pe.column),Tt(Pe)},[fe,s,Xe,Tt]);p.useEffect(()=>{Ue(!0)},[n]);const{getSelectionType:Ft,onSelection:tt,mouseMoveCellSelect:yt,moveSelection:rn}=dL({onCellSelect:Ye,focus:s??fe,columnCount:g,rowCount:E,onFocusChange:Xe,scrollGridTo:Tt,selection:P??ge,rowStart:n}),qt={showRowNumber:o,cell:M,rowCount:E,columnCount:g,showHeader:a,focus:s??fe,getSelectionType:Ft,rowHeight:u,headerHeight:y,rowNumberWidth:We,rowStart:n},jt=p.forwardRef(({children:Le,...Pe},ct)=>{const[mt,He,bt,xt]=kL(Le);return r.jsxs(yL,{...Pe,className:`sticky-grid__container grid-outer ${le.className??""}`,children:[r.jsx(SL,{$top:a?y:0,$left:o?We:0,ref:ct,children:Le}),o&&r.jsx(Kk,{scrolledHorizontal:Ie,minRow:mt,maxRow:He,rowHeight:u,headerHeight:y,rowWidth:We,rowCount:E,getSelectionType:Ft,showHeader:a,rowStart:n,showBorder:A}),a&&r.jsx(aL,{scrolledVertical:de,scrolledHorizontal:Ie,showRowNumber:o,minColumn:bt,maxColumn:xt,height:y,columnWidth:ln,cell:M,rowNumberWidth:We,getSelectionType:Ft,columnCount:g,onColumnResize:nn,getColumnHorizontalPosition:Lt,setResizeCursorPosition:sn,showBorder:A})]})});p.useEffect(()=>{var Le;e&&((Le=Ce.current)==null||Le.focus())},[e]);const hn=p.useCallback(Le=>{var Xt;(Xt=Ce.current)==null||Xt.focus(),typeof D=="function"&&Le.buttons===xL&&D(Le);const Pe=Le.target.closest("[data-grid-row][data-grid-column]");if(!Pe||Pe.dataset.gridRow===void 0||Pe.dataset.gridColumn===void 0||Le.buttons===wL&&Pe.dataset.selected==="true")return;const{gridRow:ct,gridColumn:mt}=Pe.dataset,He=parseInt(ct),bt=parseInt(mt);if(He===-1&&bt===-1){tt({type:"all"});return}const xt=Le.shiftKey;if(He===-1){tt({type:xt?"shiftColumnSelection":"columnSelection",column:bt,event:"click"}),xt||Xe(n,bt);return}if(bt===-1){tt({type:xt?"shiftRowSelection":"rowSelection",row:He,event:"click"}),xt||Xe(He,0);return}tt({type:xt?"shiftSelection":"normal",row:He,column:bt,event:"click"}),xt||Xe(He,bt)},[Xe,D,tt,n]),Ae=p.useCallback(Le=>{Ge.current=Le.pointerId},[]),Be=p.useCallback(Le=>{var Pe;Le.buttons===a8||Ge.current===!1||(Pe=Ce.current)==null||Pe.setPointerCapture(Ge.current)},[]),et=p.useCallback(Le=>{Ce.current&&(Ce.current.releasePointerCapture(Le.pointerId),Se||Ce.current.focus()),Ge.current=!1;const Pe=s??fe;Xe(Pe.row,Pe.column)},[Se,fe,s,Xe]),dt=p.useCallback(async Le=>{if(Le.preventDefault(),Le.stopPropagation(),typeof H=="function"&&H(Le),Ge.current===!1||Le.buttons===a8||!Ce.current||!Fe.current)return;Ce.current.setPointerCapture(Ge.current);let Pe=0,ct=0,mt=Le.clientX,He=Le.clientY;if(Oe.current.left>=Le.clientX||Le.clientX>=Oe.current.right-Oe.current.scrollBarWidth){const Bt=Le.clientX<=Oe.current.left?"left":"right";(Bt==="left"&&Le.movementX<0||Bt==="right"&&Le.movementX>0)&&(ct=Bt==="left"?-1:1),mt=Bt==="left"?Oe.current.left+We+10:Oe.current.right-Oe.current.scrollBarWidth-10}if(Oe.current.top>=Le.clientY||Le.clientY>=Oe.current.bottom-Oe.current.scrollBarHeight){const Bt=Le.clientY<=Oe.current.top?"top":"bottom";(Bt==="top"&&Le.movementY<0||Bt==="bottom"&&Le.movementY>0)&&(Pe=Bt==="top"?-1:1),He=Bt==="top"?Oe.current.top+y+10:Oe.current.bottom-Oe.current.scrollBarHeight-10}await new Promise(requestAnimationFrame);const bt=document.elementFromPoint(mt,He);if(!bt)return;const{gridRow:xt,gridColumn:Xt}=bt.dataset;if(!xt||!Xt)return;const Qt=Number(xt)+Pe,fn=Number(Xt)+ct;yt(Qt,fn)},[y,yt,H,We]),Vt=({scrollLeft:Le,scrollTop:Pe})=>{xe(Pe>0),Te(Le>0)},xn=p.useCallback(({height:Le,width:Pe})=>{setTimeout(()=>{if(!Fe.current)return;const{top:ct,bottom:mt,left:He,right:bt}=Fe.current.getBoundingClientRect()??{};Oe.current={top:ct,bottom:mt,left:He,right:bt,scrollBarWidth:Pe-Fe.current.clientWidth,scrollBarHeight:Le-Fe.current.clientHeight,width:Pe,height:Le},Rt(Fe.current.clientWidth-We)},0)},[Rt,We]),wn=p.useCallback(async Le=>{var bt;typeof R=="function"&&R(Le),Le.defaultPrevented||(Le.preventDefault(),Le.stopPropagation());const Pe=Le.shiftKey,{row:ct,column:mt}=s??fe,He=xt=>{xt&&tt({...xt,event:"keypress"}),(xt==null?void 0:xt.type)==="normal"&&Xe(xt.row,xt.column)};if((Le.ctrlKey||Le.metaKey)&&Le.key==="c"){me();return}switch(Le.key){case"ArrowLeft":He(rn(-1,0,Pe,"keypress"));break;case"ArrowRight":He(rn(1,0,Pe,"keypress"));break;case"ArrowUp":He(rn(0,-1,Pe,"keypress"));break;case"ArrowDown":He(rn(0,1,Pe,"keypress"));break;case"Enter":tt({type:"normal",row:ct,column:mt,event:"keypress"}),Xe(ct,mt);break;case"Escape":Ue(!0);break}(bt=Ce.current)==null||bt.focus()},[R,s,fe,tt,Xe,me,rn,Ue]),ar=Le=>{if(hn(Le),typeof K=="function"&&K(Le),typeof j=="function"){const Pe=j(ge,s??fe);Me([...ye,...Pe])}};return r.jsxs(Ir,{modal:!1,onOpenChange:De,children:[r.jsx(LL,{as:Ir.Trigger,ref:Ko([se,Ce]),tabIndex:0,onMouseDown:hn,onMouseMove:dt,onKeyDown:wn,onPointerDown:Ae,onPointerUp:et,onPointerLeave:Be,onPointerEnter:Be,onContextMenu:ar,$rounded:i,$height:t?E*u+(a?y:0)+Oe.current.scrollBarHeight:void 0,$showBorder:A,children:r.jsx(zk,{onResize:xn,children:({height:Le,width:Pe})=>r.jsx(Bk,{ref:Q?Ko([Q,gt]):gt,height:Le,width:Pe,columnCount:g,rowHeight:()=>u,useIsScrolling:c,innerElementType:jt,itemData:qt,initialScrollTop:0,initialScrollLeft:0,columnWidth:ln,rowCount:E,onScroll:Vt,outerRef:Fe,outerElementType:$L,...le,children:uL})})}),r.jsx(Ir.Content,{children:pe.map((Le,Pe)=>r.jsx(Ir.Item,{onSelect:Le.onSelect,children:Le.label},`grid-${Pe}`))})]})});let O0;const l8="HoverCard",[s8,RA]=pn(l8,[Yo]),Ec=Yo(),[jL,_c]=s8(l8),EL=e=>{const{__scopeHoverCard:t,children:n,open:o,defaultOpen:i,onOpenChange:a,openDelay:s=700,closeDelay:c=300}=e,u=Ec(t),g=p.useRef(0),C=p.useRef(0),v=p.useRef(!1),y=p.useRef(!1),[E=!1,M]=_n({prop:o,defaultProp:i,onChange:a}),_=p.useCallback(()=>{clearTimeout(C.current),g.current=window.setTimeout(()=>M(!0),s)},[s,M]),I=p.useCallback(()=>{clearTimeout(g.current),!v.current&&!y.current&&(C.current=window.setTimeout(()=>M(!1),c))},[c,M]),j=p.useCallback(()=>M(!1),[M]);return p.useEffect(()=>()=>{clearTimeout(g.current),clearTimeout(C.current)},[]),p.createElement(jL,{scope:t,open:E,onOpenChange:M,onOpen:_,onClose:I,onDismiss:j,hasSelectionRef:v,isPointerDownOnContentRef:y},p.createElement(el,u,n))},_L="HoverCardTrigger",IL=p.forwardRef((e,t)=>{const{__scopeHoverCard:n,...o}=e,i=_c(_L,n),a=Ec(n);return p.createElement(tl,ue({asChild:!0},a),p.createElement(ot.a,ue({"data-state":i.open?"open":"closed"},o,{ref:t,onPointerEnter:Ee(e.onPointerEnter,Ic(i.onOpen)),onPointerLeave:Ee(e.onPointerLeave,Ic(i.onClose)),onFocus:Ee(e.onFocus,i.onOpen),onBlur:Ee(e.onBlur,i.onClose),onTouchStart:Ee(e.onTouchStart,s=>s.preventDefault())})))}),c8="HoverCardPortal",[TL,FL]=s8(c8,{forceMount:void 0}),OL=e=>{const{__scopeHoverCard:t,forceMount:n,children:o,container:i}=e,a=_c(c8,t);return p.createElement(TL,{scope:t,forceMount:n},p.createElement(Cn,{present:n||a.open},p.createElement($1,{asChild:!0,container:i},o)))},P0="HoverCardContent",PL=p.forwardRef((e,t)=>{const n=FL(P0,e.__scopeHoverCard),{forceMount:o=n.forceMount,...i}=e,a=_c(P0,e.__scopeHoverCard);return p.createElement(Cn,{present:o||a.open},p.createElement(HL,ue({"data-state":a.open?"open":"closed"},i,{onPointerEnter:Ee(e.onPointerEnter,Ic(a.onOpen)),onPointerLeave:Ee(e.onPointerLeave,Ic(a.onClose)),ref:t})))}),HL=p.forwardRef((e,t)=>{const{__scopeHoverCard:n,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,...c}=e,u=_c(P0,n),g=Ec(n),C=p.useRef(null),v=_t(t,C),[y,E]=p.useState(!1);return p.useEffect(()=>{if(y){const M=document.body;return O0=M.style.userSelect||M.style.webkitUserSelect,M.style.userSelect="none",M.style.webkitUserSelect="none",()=>{M.style.userSelect=O0,M.style.webkitUserSelect=O0}}},[y]),p.useEffect(()=>{if(C.current){const M=()=>{E(!1),u.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var _;((_=document.getSelection())===null||_===void 0?void 0:_.toString())!==""&&(u.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",M),()=>{document.removeEventListener("pointerup",M),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!1}}},[u.isPointerDownOnContentRef,u.hasSelectionRef]),p.useEffect(()=>{C.current&&AL(C.current).forEach(_=>_.setAttribute("tabindex","-1"))}),p.createElement(w1,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:s,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:Ee(a,M=>{M.preventDefault()}),onDismiss:u.onDismiss},p.createElement(Gs,ue({},g,c,{onPointerDown:Ee(c.onPointerDown,M=>{M.currentTarget.contains(M.target)&&E(!0),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!0}),ref:v,style:{...c.style,userSelect:y?"text":void 0,WebkitUserSelect:y?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))}),DL=p.forwardRef((e,t)=>{const{__scopeHoverCard:n,...o}=e,i=Ec(n);return p.createElement(Ys,ue({},i,o,{ref:t}))});function Ic(e){return t=>t.pointerType==="touch"?void 0:e()}function AL(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}const RL=EL,VL=IL,BL=OL,NL=PL,ZL=DL,H0=({children:e,...t})=>r.jsx(RL,{...t,children:e}),UL=W(VL).withConfig({componentId:"sc-1ect7b6-0"})(["width:fit-content;"]),d8=({children:e,...t})=>r.jsx(UL,{...t,children:e});d8.displayName="HoverCardTrigger",H0.Trigger=d8;const u8=({children:e,showArrow:t,forceMount:n,container:o,...i})=>r.jsx(BL,{forceMount:n,container:o,children:r.jsxs(Um,{as:NL,$type:"hover-card",$showArrow:t,...i,children:[t&&r.jsx(ac,{asChild:!0,as:ZL,width:15,height:10,children:r.jsx(lc,{})}),e]})});u8.displayName="HoverCardContent",H0.Content=u8;const WL=W.a.withConfig({componentId:"sc-1bwz77u-0"})(["font:",";color:",";margin:0;text-decoration:none;display:inline-flex;gap:",";margin-right:",";align-items:center;&:hover,&:focus{color:",";transition:",";text-decoration:underline;cursor:pointer;}&:visited{color:",";}"],({$size:e,$weight:t="normal",theme:n})=>n.typography.styles.product.text[t][e],({theme:e})=>e.click.global.color.text.link.default,({$size:e,theme:t})=>e==="xs"||e==="sm"?t.click.link.space.sm.gap:t.click.link.space.md.gap,({$size:e,theme:t})=>e==="xs"||e==="sm"?t.click.link.space.sm.gap:t.click.link.space.md.gap,({theme:e})=>e.click.global.color.text.link.hover,({theme:e})=>e.transition.default,({theme:e})=>e.click.global.color.text.link.default),zL=W.span.withConfig({componentId:"sc-1bwz77u-1"})([".external-icon{height:",";width:",";}"],({$size:e,theme:t})=>e==="xs"||e==="sm"?t.click.link.icon.size.sm.height:t.click.link.icon.size.md.height,({$size:e,theme:t})=>e==="xs"||e==="sm"?t.click.link.icon.size.sm.width:t.click.link.icon.size.md.width),GL=({size:e="md",weight:t="normal",onClick:n,icon:o,children:i,component:a,...s},c)=>r.jsxs(WL,{ref:c,$size:e,$weight:t,as:a??"a",onClick:n,...s,children:[i,o&&r.jsx(zL,{$size:e,children:r.jsx(rt,{name:o,className:"external-icon","data-testid":o})})]}),YL=p.forwardRef(GL),XL=W.div.withConfig({componentId:"sc-1pvd2nj-0"})(["width:inherit;display:flex;align-items:center;justify-content:space-between;align-items:center;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}",""],({theme:e,$error:t,$resize:n})=>`
699
+ `),LL=W.div.withConfig({componentId:"sc-175eneg-2"})(["outline:none;overflow:hidden;height:",";width:100%;background:",";border-radius:",";",";"],({$height:e})=>e?`${e}px`:"100%",({theme:e})=>e.click.grid.body.cell.color.background.default,({theme:e,$rounded:t})=>e.click.grid.radii[t],({$showBorder:e,theme:t})=>e&&`border: 1px solid ${t.click.grid.header.cell.color.stroke.default}`),$L=p.forwardRef((e,t)=>r.jsx("div",{ref:t,"data-testid":"grid-outer-element",...e})),ML=p.forwardRef(({autoFocus:e,autoHeight:t=!1,rowStart:n=0,showRowNumber:o=!0,rounded:i="none",showHeader:a=!0,focus:s,useIsScrolling:c=!0,rowHeight:u=33,columnCount:g,columnWidth:C,onSelect:v,headerHeight:y=33,rowCount:_,cell:M,onColumnResize:E,onFocusChange:I,getMenuOptions:j,onKeyDown:R,selection:P,showToast:B,onMouseDown:D,onMouseMove:H,showBorder:A=!1,onCopy:G,onContextMenu:K,forwardedGridRef:Q,...le},se)=>{const[fe,te]=p.useState(s??{row:n,column:0}),[ge,ie]=p.useState(P??{type:"empty"}),me=p.useCallback(async()=>{let Le=!1;try{await bL({cell:M,selection:ge,focus:s??fe,rowCount:_,columnCount:g,outerRef:Fe}),Le=!0,B&&w4({title:"Copied successfully",description:"Now you can copy the content",type:"success"})}catch(Pe){console.error(Pe),B&&w4({title:"Failed to copy",description:"Encountered an error while copying. Try again after sometime",type:"danger"}),typeof G=="function"&&G(Le)}},[M,g,fe,s,G,_,ge,B]),ye=[{label:"Copy",onSelect:me}],[pe,Me]=p.useState(ye),[Se,De]=p.useState(!1),[de,xe]=p.useState(!1),[Ie,Te]=p.useState(!1),Ge=p.useRef(!1),gt=p.useRef(null),Ce=p.useRef(null),Fe=p.useRef(null),Oe=p.useRef({top:0,bottom:0,left:0,right:0,scrollBarWidth:0,scrollBarHeight:0,width:0,height:0}),Ye=p.useCallback((Le,Pe,ct)=>{ie(Pe),typeof v=="function"&&v(Le,Pe,ct)},[v]),Xe=p.useCallback((Le,Pe)=>{te(ct=>({row:Le??(s==null?void 0:s.row)??ct.row,column:Pe??(s==null?void 0:s.column)??ct.column})),typeof I=="function"&&I(Le,Pe)},[I,s]),We=(_.toString().length+2)*8+3,{getColumnHorizontalPosition:Lt,onColumnResize:nn,columnWidth:ln,initColumnSize:Rt}=CL({columnCount:g,columnWidth:C,outerGridRef:Fe,gridRef:gt,onColumnResize:E}),Tt=p.useCallback(async({row:Le,column:Pe})=>{var Xt,Qt,fn;if(!Fe.current||!gt.current)return;const ct=Le??0,mt=Pe??0;let He=(Xt=Fe.current)==null?void 0:Xt.querySelector(`[data-row="${ct}"][data-column="${mt}"]`);if(!He)return;const{scrollTop:bt,scrollLeft:xt}=Fe.current;typeof(He==null?void 0:He.scrollIntoView)=="function"&&(He==null||He.scrollIntoView({block:"nearest",inline:"nearest"}),await new Promise(requestAnimationFrame)),He=(Qt=Fe.current)==null?void 0:Qt.querySelector(`[data-row="${ct}"][data-column="${mt}"]`),He&&(xt>He.offsetLeft||bt>He.offsetTop)&&((fn=Fe.current)==null||fn.scrollBy(xt>He.offsetLeft?-We:0,bt>He.offsetTop?-y:0))},[y,We]),un=p.useCallback((Le,Pe,ct)=>{var fn;const mt=Lt(ct),He=mt+Pe,{width:bt,left:xt,scrollBarWidth:Xt}=Oe.current,Qt=((fn=Fe.current)==null?void 0:fn.scrollLeft)??0;return Le+We-xt>bt+Xt?Qt+bt-Xt-4:Pe<50?mt+We+50:He+We-4},[Lt,We]),sn=p.useCallback((Le,Pe,ct,mt)=>{Le.style.left=`${un(Pe,ct,mt)}px`,Fe.current&&(Le.style.top=`${Fe.current.scrollTop}px`)},[un]),Ue=p.useCallback(Le=>{ie(ct=>ct.type==="columns"&&!Le?ct:{type:"empty"});const Pe=s??fe;Xe(Pe.row,Pe.column),Tt(Pe)},[fe,s,Xe,Tt]);p.useEffect(()=>{Ue(!0)},[n]);const{getSelectionType:Ft,onSelection:tt,mouseMoveCellSelect:yt,moveSelection:rn}=dL({onCellSelect:Ye,focus:s??fe,columnCount:g,rowCount:_,onFocusChange:Xe,scrollGridTo:Tt,selection:P??ge,rowStart:n}),qt={showRowNumber:o,cell:M,rowCount:_,columnCount:g,showHeader:a,focus:s??fe,getSelectionType:Ft,rowHeight:u,headerHeight:y,rowNumberWidth:We,rowStart:n},jt=p.forwardRef(({children:Le,...Pe},ct)=>{const[mt,He,bt,xt]=kL(Le);return r.jsxs(yL,{...Pe,className:`sticky-grid__container grid-outer ${le.className??""}`,children:[r.jsx(SL,{$top:a?y:0,$left:o?We:0,ref:ct,children:Le}),o&&r.jsx(Kk,{scrolledHorizontal:Ie,minRow:mt,maxRow:He,rowHeight:u,headerHeight:y,rowWidth:We,rowCount:_,getSelectionType:Ft,showHeader:a,rowStart:n,showBorder:A}),a&&r.jsx(aL,{scrolledVertical:de,scrolledHorizontal:Ie,showRowNumber:o,minColumn:bt,maxColumn:xt,height:y,columnWidth:ln,cell:M,rowNumberWidth:We,getSelectionType:Ft,columnCount:g,onColumnResize:nn,getColumnHorizontalPosition:Lt,setResizeCursorPosition:sn,showBorder:A})]})});p.useEffect(()=>{var Le;e&&((Le=Ce.current)==null||Le.focus())},[e]);const hn=p.useCallback(Le=>{var Xt;(Xt=Ce.current)==null||Xt.focus(),typeof D=="function"&&Le.buttons===xL&&D(Le);const Pe=Le.target.closest("[data-grid-row][data-grid-column]");if(!Pe||Pe.dataset.gridRow===void 0||Pe.dataset.gridColumn===void 0||Le.buttons===wL&&Pe.dataset.selected==="true")return;const{gridRow:ct,gridColumn:mt}=Pe.dataset,He=parseInt(ct),bt=parseInt(mt);if(He===-1&&bt===-1){tt({type:"all"});return}const xt=Le.shiftKey;if(He===-1){tt({type:xt?"shiftColumnSelection":"columnSelection",column:bt,event:"click"}),xt||Xe(n,bt);return}if(bt===-1){tt({type:xt?"shiftRowSelection":"rowSelection",row:He,event:"click"}),xt||Xe(He,0);return}tt({type:xt?"shiftSelection":"normal",row:He,column:bt,event:"click"}),xt||Xe(He,bt)},[Xe,D,tt,n]),Ae=p.useCallback(Le=>{Ge.current=Le.pointerId},[]),Be=p.useCallback(Le=>{var Pe;Le.buttons===a8||Ge.current===!1||(Pe=Ce.current)==null||Pe.setPointerCapture(Ge.current)},[]),et=p.useCallback(Le=>{Ce.current&&(Ce.current.releasePointerCapture(Le.pointerId),Se||Ce.current.focus()),Ge.current=!1;const Pe=s??fe;Xe(Pe.row,Pe.column)},[Se,fe,s,Xe]),dt=p.useCallback(async Le=>{if(Le.preventDefault(),Le.stopPropagation(),typeof H=="function"&&H(Le),Ge.current===!1||Le.buttons===a8||!Ce.current||!Fe.current)return;Ce.current.setPointerCapture(Ge.current);let Pe=0,ct=0,mt=Le.clientX,He=Le.clientY;if(Oe.current.left>=Le.clientX||Le.clientX>=Oe.current.right-Oe.current.scrollBarWidth){const Bt=Le.clientX<=Oe.current.left?"left":"right";(Bt==="left"&&Le.movementX<0||Bt==="right"&&Le.movementX>0)&&(ct=Bt==="left"?-1:1),mt=Bt==="left"?Oe.current.left+We+10:Oe.current.right-Oe.current.scrollBarWidth-10}if(Oe.current.top>=Le.clientY||Le.clientY>=Oe.current.bottom-Oe.current.scrollBarHeight){const Bt=Le.clientY<=Oe.current.top?"top":"bottom";(Bt==="top"&&Le.movementY<0||Bt==="bottom"&&Le.movementY>0)&&(Pe=Bt==="top"?-1:1),He=Bt==="top"?Oe.current.top+y+10:Oe.current.bottom-Oe.current.scrollBarHeight-10}await new Promise(requestAnimationFrame);const bt=document.elementFromPoint(mt,He);if(!bt)return;const{gridRow:xt,gridColumn:Xt}=bt.dataset;if(!xt||!Xt)return;const Qt=Number(xt)+Pe,fn=Number(Xt)+ct;yt(Qt,fn)},[y,yt,H,We]),Vt=({scrollLeft:Le,scrollTop:Pe})=>{xe(Pe>0),Te(Le>0)},xn=p.useCallback(({height:Le,width:Pe})=>{setTimeout(()=>{if(!Fe.current)return;const{top:ct,bottom:mt,left:He,right:bt}=Fe.current.getBoundingClientRect()??{};Oe.current={top:ct,bottom:mt,left:He,right:bt,scrollBarWidth:Pe-Fe.current.clientWidth,scrollBarHeight:Le-Fe.current.clientHeight,width:Pe,height:Le},Rt(Fe.current.clientWidth-We)},0)},[Rt,We]),wn=p.useCallback(async Le=>{var bt;typeof R=="function"&&R(Le),Le.defaultPrevented||(Le.preventDefault(),Le.stopPropagation());const Pe=Le.shiftKey,{row:ct,column:mt}=s??fe,He=xt=>{xt&&tt({...xt,event:"keypress"}),(xt==null?void 0:xt.type)==="normal"&&Xe(xt.row,xt.column)};if((Le.ctrlKey||Le.metaKey)&&Le.key==="c"){me();return}switch(Le.key){case"ArrowLeft":He(rn(-1,0,Pe,"keypress"));break;case"ArrowRight":He(rn(1,0,Pe,"keypress"));break;case"ArrowUp":He(rn(0,-1,Pe,"keypress"));break;case"ArrowDown":He(rn(0,1,Pe,"keypress"));break;case"Enter":tt({type:"normal",row:ct,column:mt,event:"keypress"}),Xe(ct,mt);break;case"Escape":Ue(!0);break}(bt=Ce.current)==null||bt.focus()},[R,s,fe,tt,Xe,me,rn,Ue]),ar=Le=>{if(hn(Le),typeof K=="function"&&K(Le),typeof j=="function"){const Pe=j(ge,s??fe);Me([...ye,...Pe])}};return r.jsxs(Ir,{modal:!1,onOpenChange:De,children:[r.jsx(LL,{as:Ir.Trigger,ref:Ko([se,Ce]),tabIndex:0,onMouseDown:hn,onMouseMove:dt,onKeyDown:wn,onPointerDown:Ae,onPointerUp:et,onPointerLeave:Be,onPointerEnter:Be,onContextMenu:ar,$rounded:i,$height:t?_*u+(a?y:0)+Oe.current.scrollBarHeight:void 0,$showBorder:A,children:r.jsx(zk,{onResize:xn,children:({height:Le,width:Pe})=>r.jsx(Bk,{ref:Q?Ko([Q,gt]):gt,height:Le,width:Pe,columnCount:g,rowHeight:()=>u,useIsScrolling:c,innerElementType:jt,itemData:qt,initialScrollTop:0,initialScrollLeft:0,columnWidth:ln,rowCount:_,onScroll:Vt,outerRef:Fe,outerElementType:$L,...le,children:uL})})}),r.jsx(Ir.Content,{children:pe.map((Le,Pe)=>r.jsx(Ir.Item,{onSelect:Le.onSelect,children:Le.label},`grid-${Pe}`))})]})});let O0;const l8="HoverCard",[s8,RA]=pn(l8,[Yo]),Ec=Yo(),[jL,_c]=s8(l8),EL=e=>{const{__scopeHoverCard:t,children:n,open:o,defaultOpen:i,onOpenChange:a,openDelay:s=700,closeDelay:c=300}=e,u=Ec(t),g=p.useRef(0),C=p.useRef(0),v=p.useRef(!1),y=p.useRef(!1),[_=!1,M]=_n({prop:o,defaultProp:i,onChange:a}),E=p.useCallback(()=>{clearTimeout(C.current),g.current=window.setTimeout(()=>M(!0),s)},[s,M]),I=p.useCallback(()=>{clearTimeout(g.current),!v.current&&!y.current&&(C.current=window.setTimeout(()=>M(!1),c))},[c,M]),j=p.useCallback(()=>M(!1),[M]);return p.useEffect(()=>()=>{clearTimeout(g.current),clearTimeout(C.current)},[]),p.createElement(jL,{scope:t,open:_,onOpenChange:M,onOpen:E,onClose:I,onDismiss:j,hasSelectionRef:v,isPointerDownOnContentRef:y},p.createElement(el,u,n))},_L="HoverCardTrigger",IL=p.forwardRef((e,t)=>{const{__scopeHoverCard:n,...o}=e,i=_c(_L,n),a=Ec(n);return p.createElement(tl,ue({asChild:!0},a),p.createElement(ot.a,ue({"data-state":i.open?"open":"closed"},o,{ref:t,onPointerEnter:Ee(e.onPointerEnter,Ic(i.onOpen)),onPointerLeave:Ee(e.onPointerLeave,Ic(i.onClose)),onFocus:Ee(e.onFocus,i.onOpen),onBlur:Ee(e.onBlur,i.onClose),onTouchStart:Ee(e.onTouchStart,s=>s.preventDefault())})))}),c8="HoverCardPortal",[TL,FL]=s8(c8,{forceMount:void 0}),OL=e=>{const{__scopeHoverCard:t,forceMount:n,children:o,container:i}=e,a=_c(c8,t);return p.createElement(TL,{scope:t,forceMount:n},p.createElement(Cn,{present:n||a.open},p.createElement($1,{asChild:!0,container:i},o)))},P0="HoverCardContent",PL=p.forwardRef((e,t)=>{const n=FL(P0,e.__scopeHoverCard),{forceMount:o=n.forceMount,...i}=e,a=_c(P0,e.__scopeHoverCard);return p.createElement(Cn,{present:o||a.open},p.createElement(HL,ue({"data-state":a.open?"open":"closed"},i,{onPointerEnter:Ee(e.onPointerEnter,Ic(a.onOpen)),onPointerLeave:Ee(e.onPointerLeave,Ic(a.onClose)),ref:t})))}),HL=p.forwardRef((e,t)=>{const{__scopeHoverCard:n,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,...c}=e,u=_c(P0,n),g=Ec(n),C=p.useRef(null),v=_t(t,C),[y,_]=p.useState(!1);return p.useEffect(()=>{if(y){const M=document.body;return O0=M.style.userSelect||M.style.webkitUserSelect,M.style.userSelect="none",M.style.webkitUserSelect="none",()=>{M.style.userSelect=O0,M.style.webkitUserSelect=O0}}},[y]),p.useEffect(()=>{if(C.current){const M=()=>{_(!1),u.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var E;((E=document.getSelection())===null||E===void 0?void 0:E.toString())!==""&&(u.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",M),()=>{document.removeEventListener("pointerup",M),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!1}}},[u.isPointerDownOnContentRef,u.hasSelectionRef]),p.useEffect(()=>{C.current&&AL(C.current).forEach(E=>E.setAttribute("tabindex","-1"))}),p.createElement(w1,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:s,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:Ee(a,M=>{M.preventDefault()}),onDismiss:u.onDismiss},p.createElement(Gs,ue({},g,c,{onPointerDown:Ee(c.onPointerDown,M=>{M.currentTarget.contains(M.target)&&_(!0),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!0}),ref:v,style:{...c.style,userSelect:y?"text":void 0,WebkitUserSelect:y?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))}),DL=p.forwardRef((e,t)=>{const{__scopeHoverCard:n,...o}=e,i=Ec(n);return p.createElement(Ys,ue({},i,o,{ref:t}))});function Ic(e){return t=>t.pointerType==="touch"?void 0:e()}function AL(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}const RL=EL,VL=IL,BL=OL,NL=PL,ZL=DL,H0=({children:e,...t})=>r.jsx(RL,{...t,children:e}),UL=W(VL).withConfig({componentId:"sc-1ect7b6-0"})(["width:fit-content;"]),d8=({children:e,...t})=>r.jsx(UL,{...t,children:e});d8.displayName="HoverCardTrigger",H0.Trigger=d8;const u8=({children:e,showArrow:t,forceMount:n,container:o,...i})=>r.jsx(BL,{forceMount:n,container:o,children:r.jsxs(Um,{as:NL,$type:"hover-card",$showArrow:t,...i,children:[t&&r.jsx(ac,{asChild:!0,as:ZL,width:15,height:10,children:r.jsx(lc,{})}),e]})});u8.displayName="HoverCardContent",H0.Content=u8;const WL=W.a.withConfig({componentId:"sc-1bwz77u-0"})(["font:",";color:",";margin:0;text-decoration:none;display:inline-flex;gap:",";margin-right:",";align-items:center;&:hover,&:focus{color:",";transition:",";text-decoration:underline;cursor:pointer;}&:visited{color:",";}"],({$size:e,$weight:t="normal",theme:n})=>n.typography.styles.product.text[t][e],({theme:e})=>e.click.global.color.text.link.default,({$size:e,theme:t})=>e==="xs"||e==="sm"?t.click.link.space.sm.gap:t.click.link.space.md.gap,({$size:e,theme:t})=>e==="xs"||e==="sm"?t.click.link.space.sm.gap:t.click.link.space.md.gap,({theme:e})=>e.click.global.color.text.link.hover,({theme:e})=>e.transition.default,({theme:e})=>e.click.global.color.text.link.default),zL=W.span.withConfig({componentId:"sc-1bwz77u-1"})([".external-icon{height:",";width:",";}"],({$size:e,theme:t})=>e==="xs"||e==="sm"?t.click.link.icon.size.sm.height:t.click.link.icon.size.md.height,({$size:e,theme:t})=>e==="xs"||e==="sm"?t.click.link.icon.size.sm.width:t.click.link.icon.size.md.width),GL=({size:e="md",weight:t="normal",onClick:n,icon:o,children:i,component:a,...s},c)=>r.jsxs(WL,{ref:c,$size:e,$weight:t,as:a??"a",onClick:n,...s,children:[i,o&&r.jsx(zL,{$size:e,children:r.jsx(rt,{name:o,className:"external-icon","data-testid":o})})]}),YL=p.forwardRef(GL),XL=W.div.withConfig({componentId:"sc-1pvd2nj-0"})(["width:inherit;display:flex;align-items:center;justify-content:space-between;align-items:center;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}",""],({theme:e,$error:t,$resize:n})=>`
700
700
  gap: ${e.click.field.space.gap};
701
701
  border-radius: ${e.click.field.radii.all};
702
702
  font: ${e.click.field.typography.fieldText.default};
@@ -758,7 +758,7 @@ Error generating stack: `+$.message+`
758
758
  &:last-of-type {
759
759
  padding-right: ${e.click.field.space.x};
760
760
  }
761
- `);const f8=p.forwardRef(({disabled:e,label:t,error:n,id:o,loading:i,onChange:a,orientation:s,dir:c,...u},g)=>{const C=p.useId(),v=y=>{a(y.target.value,y)};return r.jsxs(H1,{disabled:e,id:o??C,label:t,error:n,orientation:s,dir:c,children:[r.jsx(Tc,{ref:g,type:"number",id:o??C,disabled:e,onChange:v,...u}),i&&r.jsx(rt,{name:"loading-animated",size:"sm"})]})}),JL=p.forwardRef(({disabled:e,label:t,error:n,id:o,value:i="",onChange:a,orientation:s,dir:c,...u},g)=>{const C=p.useId(),[v,y]=p.useState(!1),E=()=>{y(_=>!_)},M=_=>{a(_.target.value,_)};return r.jsxs(H1,{disabled:e,id:o??C,label:t,error:n,orientation:s,dir:c,children:[r.jsx(Tc,{ref:g,type:v?"text":"password",id:o??C,disabled:e,value:i,onChange:M,...u}),r.jsx(D0,{disabled:e,onClick:E,$show:i.length>0,children:r.jsx(rt,{name:v?"eye-closed":"eye",size:"md"})})]})}),A0=({children:e,...t})=>r.jsx(Y3,{...t,children:e}),qL=W(X3).withConfig({componentId:"sc-1dii14g-0"})(["width:fit-content;font:inherit;color:inherit;background:inherit;border:none;"]),p8=({anchor:e,children:t,...n})=>r.jsxs(r.Fragment,{children:[r.jsx(qL,{asChild:!0,...n,children:r.jsx("div",{children:t})}),e&&r.jsx(tC,{asChild:!0,children:e})]});p8.displayName="PopoverTrigger",A0.Trigger=p8;const QL=W(B3).withConfig({componentId:"sc-1dii14g-1"})(["display:block;padding:"," ",";background-color:",";border:1px solid ",";border-radius:",";box-shadow:",";",";"],({theme:e})=>e.click.popover.space.y,({theme:e})=>e.click.popover.space.x,({theme:e})=>e.click.popover.color.panel.background.default,({theme:e})=>e.click.popover.color.panel.stroke.default,({theme:e})=>e.click.popover.radii.all,({theme:e})=>e.click.popover.shadow.default,({$showClose:e})=>e?"padding-top: 1rem;":""),e$=W(Os).withConfig({componentId:"sc-1dii14g-2"})(["position:absolute;top:",";right:",";width:",";height:",";"],({theme:e})=>e.click.popover.space.y,({theme:e})=>e.click.popover.space.x,({theme:e})=>e.click.popover.icon.size.width,({theme:e})=>e.click.popover.icon.size.height),h8=({children:e,showArrow:t,showClose:n,forceMount:o,container:i,...a})=>r.jsx(K3,{forceMount:o,container:i,children:r.jsxs(QL,{as:J3,$type:"popover",$showClose:n,$showArrow:t,sideOffset:4,...a,children:[n&&r.jsx(e$,{as:nC,asChild:!0,children:r.jsx(rt,{name:"cross"})}),t&&r.jsx(ac,{asChild:!0,as:rC,width:20,height:10,children:r.jsx(lc,{})}),e]})});h8.displayName="PopoverContent",A0.Content=h8;const t$=W.div.withConfig({componentId:"sc-dicnqe-0"})(["width:150px;"]),n$=({totalPages:e,currentPage:t,maxRowsPerPageList:n=[],rowCount:o,onChange:i,onPageSizeChange:a,pageSize:s=-1,fillWidth:c=!0,gap:u="md",justifyContent:g,onNextPageClick:C,onPrevPageClick:v,onPageNumberFocus:y,onPageNumberBlur:E,...M})=>{const _=["number","string"].includes(typeof o),I=H=>new Intl.NumberFormat("en").format(H),j=H=>{H.key==="ArrowUp"||H.key==="ArrowRight"?i(t+1):(H.key==="ArrowDown"||H.key==="ArrowLeft")&&i(t-1)},R=H=>{i(Number(H))},P=H=>{typeof a=="function"&&a(Number(H))},B=p.useCallback(H=>{i(t-1),typeof v=="function"&&v(H)},[t,i,v]),D=p.useCallback(H=>{i(t+1),typeof C=="function"&&C(H)},[t,i,C]);return r.jsxs(hr,{gap:u,justifyContent:g??(o||n.length>0?"space-between":"center"),fillWidth:c,...M,children:[_&&r.jsxs(bo,{component:"div",color:"muted",size:"sm",children:[typeof o=="number"?I(o):o," rows"]}),r.jsxs(hr,{gap:"xxs",fillWidth:!1,children:[r.jsx(ur,{icon:"chevron-left",type:"ghost",disabled:t===1,onClick:B,"data-testid":"prev-btn"}),r.jsx(hr,{maxWidth:"50px",fillWidth:!1,children:r.jsx(f8,{onChange:R,value:t,loading:!1,onKeyDown:j,min:1,max:e,onFocus:y,onBlur:E})}),!!e&&r.jsxs(bo,{component:"div",color:"muted",size:"sm",children:["of ",I(e)]}),r.jsx(ur,{icon:"chevron-right",type:"ghost",disabled:!!e&&t===e,onClick:D,"data-testid":"next-btn"})]}),n.length>0&&r.jsxs(t$,{as:Z1,onSelect:P,value:s.toString(),children:[r.jsx(Z1.Item,{value:"-1",children:"All rows"}),n.map(H=>r.jsxs(Z1.Item,{value:H.toString(),children:[H," rows"]},H))]})]})},r$=({hasBorder:e,hasShadow:t,color:n,padding:o,gap:i,children:a,orientation:s="horizontal",width:c,radii:u="sm",fillWidth:g,height:C,fillHeight:v,alignItems:y="center",...E})=>r.jsx(o$,{$hasBorder:e,$hasShadow:t,$color:n,$padding:o,$gap:i,$width:c,$radii:u,$orientation:s,$fillWidth:g,$height:C,$fillHeight:v,$alignItems:y,...E,children:a}),o$=W.div.withConfig({componentId:"sc-1q78udp-0"})(["display:flex;flex-flow:",";align-items:",";width:",";height:",";background-color:",";border-radius:",";padding:",";border:",";box-shadow:",";gap:",";"],({$orientation:e="horizontal"})=>e==="horizontal"?"row wrap":"column",({$alignItems:e="center"})=>e==="center"?"center":`flex-${e}`,({$width:e,$fillWidth:t})=>t?"100%":e,({$height:e,$fillHeight:t})=>t?"100%":e,({$color:e="default",theme:t})=>t.click.panel.color.background[e],({$radii:e="sm",theme:t})=>t.click.panel.radii[e],({$padding:e="md",theme:t})=>t.click.panel.space.y[e],({$hasBorder:e,theme:t})=>e?`1px solid ${t.click.global.color.stroke.default}`:"none",({$hasShadow:e,theme:t})=>e?t.shadow[1]:"none",({$gap:e="sm",theme:t})=>t.click.panel.space.gap[e]),i$=W.div.withConfig({componentId:"sc-16gr3cg-0"})(["display:flex;justify-content:space-between;align-items:center;overflow:hidden;transition:all 100ms ease-in-out;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;min-height:2px;",";"],({theme:e,$completed:t,$progress:n,$type:o})=>`
761
+ `);const f8=p.forwardRef(({disabled:e,label:t,error:n,id:o,loading:i,onChange:a,orientation:s,dir:c,...u},g)=>{const C=p.useId(),v=y=>{a(y.target.value,y)};return r.jsxs(H1,{disabled:e,id:o??C,label:t,error:n,orientation:s,dir:c,children:[r.jsx(Tc,{ref:g,type:"number",id:o??C,disabled:e,onChange:v,...u}),i&&r.jsx(rt,{name:"loading-animated",size:"sm"})]})}),JL=p.forwardRef(({disabled:e,label:t,error:n,id:o,value:i="",onChange:a,orientation:s,dir:c,...u},g)=>{const C=p.useId(),[v,y]=p.useState(!1),_=()=>{y(E=>!E)},M=E=>{a(E.target.value,E)};return r.jsxs(H1,{disabled:e,id:o??C,label:t,error:n,orientation:s,dir:c,children:[r.jsx(Tc,{ref:g,type:v?"text":"password",id:o??C,disabled:e,value:i,onChange:M,...u}),r.jsx(D0,{disabled:e,onClick:_,$show:i.length>0,children:r.jsx(rt,{name:v?"eye-closed":"eye",size:"md"})})]})}),A0=({children:e,...t})=>r.jsx(Y3,{...t,children:e}),qL=W(X3).withConfig({componentId:"sc-1dii14g-0"})(["width:fit-content;font:inherit;color:inherit;background:inherit;border:none;"]),p8=({anchor:e,children:t,...n})=>r.jsxs(r.Fragment,{children:[r.jsx(qL,{asChild:!0,...n,children:r.jsx("div",{children:t})}),e&&r.jsx(tC,{asChild:!0,children:e})]});p8.displayName="PopoverTrigger",A0.Trigger=p8;const QL=W(B3).withConfig({componentId:"sc-1dii14g-1"})(["display:block;padding:"," ",";background-color:",";border:1px solid ",";border-radius:",";box-shadow:",";",";"],({theme:e})=>e.click.popover.space.y,({theme:e})=>e.click.popover.space.x,({theme:e})=>e.click.popover.color.panel.background.default,({theme:e})=>e.click.popover.color.panel.stroke.default,({theme:e})=>e.click.popover.radii.all,({theme:e})=>e.click.popover.shadow.default,({$showClose:e})=>e?"padding-top: 1rem;":""),e$=W(Os).withConfig({componentId:"sc-1dii14g-2"})(["position:absolute;top:",";right:",";width:",";height:",";"],({theme:e})=>e.click.popover.space.y,({theme:e})=>e.click.popover.space.x,({theme:e})=>e.click.popover.icon.size.width,({theme:e})=>e.click.popover.icon.size.height),h8=({children:e,showArrow:t,showClose:n,forceMount:o,container:i,...a})=>r.jsx(K3,{forceMount:o,container:i,children:r.jsxs(QL,{as:J3,$type:"popover",$showClose:n,$showArrow:t,sideOffset:4,...a,children:[n&&r.jsx(e$,{as:nC,asChild:!0,children:r.jsx(rt,{name:"cross"})}),t&&r.jsx(ac,{asChild:!0,as:rC,width:20,height:10,children:r.jsx(lc,{})}),e]})});h8.displayName="PopoverContent",A0.Content=h8;const t$=W.div.withConfig({componentId:"sc-dicnqe-0"})(["width:150px;"]),n$=({totalPages:e,currentPage:t,maxRowsPerPageList:n=[],rowCount:o,onChange:i,onPageSizeChange:a,pageSize:s=-1,fillWidth:c=!0,gap:u="md",justifyContent:g,onNextPageClick:C,onPrevPageClick:v,onPageNumberFocus:y,onPageNumberBlur:_,...M})=>{const E=["number","string"].includes(typeof o),I=H=>new Intl.NumberFormat("en").format(H),j=H=>{H.key==="ArrowUp"||H.key==="ArrowRight"?i(t+1):(H.key==="ArrowDown"||H.key==="ArrowLeft")&&i(t-1)},R=H=>{i(Number(H))},P=H=>{typeof a=="function"&&a(Number(H))},B=p.useCallback(H=>{i(t-1),typeof v=="function"&&v(H)},[t,i,v]),D=p.useCallback(H=>{i(t+1),typeof C=="function"&&C(H)},[t,i,C]);return r.jsxs(hr,{gap:u,justifyContent:g??(o||n.length>0?"space-between":"center"),fillWidth:c,...M,children:[E&&r.jsxs(bo,{component:"div",color:"muted",size:"sm",children:[typeof o=="number"?I(o):o," rows"]}),r.jsxs(hr,{gap:"xxs",fillWidth:!1,children:[r.jsx(ur,{icon:"chevron-left",type:"ghost",disabled:t===1,onClick:B,"data-testid":"prev-btn"}),r.jsx(hr,{maxWidth:"50px",fillWidth:!1,children:r.jsx(f8,{onChange:R,value:t,loading:!1,onKeyDown:j,min:1,max:e,onFocus:y,onBlur:_})}),!!e&&r.jsxs(bo,{component:"div",color:"muted",size:"sm",children:["of ",I(e)]}),r.jsx(ur,{icon:"chevron-right",type:"ghost",disabled:!!e&&t===e,onClick:D,"data-testid":"next-btn"})]}),n.length>0&&r.jsxs(t$,{as:Z1,onSelect:P,value:s.toString(),children:[r.jsx(Z1.Item,{value:"-1",children:"All rows"}),n.map(H=>r.jsxs(Z1.Item,{value:H.toString(),children:[H," rows"]},H))]})]})},r$=({hasBorder:e,hasShadow:t,color:n,padding:o,gap:i,children:a,orientation:s="horizontal",width:c,radii:u="sm",fillWidth:g,height:C,fillHeight:v,alignItems:y="center",..._})=>r.jsx(o$,{$hasBorder:e,$hasShadow:t,$color:n,$padding:o,$gap:i,$width:c,$radii:u,$orientation:s,$fillWidth:g,$height:C,$fillHeight:v,$alignItems:y,..._,children:a}),o$=W.div.withConfig({componentId:"sc-1q78udp-0"})(["display:flex;flex-flow:",";align-items:",";width:",";height:",";background-color:",";border-radius:",";padding:",";border:",";box-shadow:",";gap:",";"],({$orientation:e="horizontal"})=>e==="horizontal"?"row wrap":"column",({$alignItems:e="center"})=>e==="center"?"center":`flex-${e}`,({$width:e,$fillWidth:t})=>t?"100%":e,({$height:e,$fillHeight:t})=>t?"100%":e,({$color:e="default",theme:t})=>t.click.panel.color.background[e],({$radii:e="sm",theme:t})=>t.click.panel.radii[e],({$padding:e="md",theme:t})=>t.click.panel.space.y[e],({$hasBorder:e,theme:t})=>e?`1px solid ${t.click.global.color.stroke.default}`:"none",({$hasShadow:e,theme:t})=>e?t.shadow[1]:"none",({$gap:e="sm",theme:t})=>t.click.panel.space.gap[e]),i$=W.div.withConfig({componentId:"sc-16gr3cg-0"})(["display:flex;justify-content:space-between;align-items:center;overflow:hidden;transition:all 100ms ease-in-out;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;min-height:2px;",";"],({theme:e,$completed:t,$progress:n,$type:o})=>`
762
762
  background: ${t?e.click.field.color.background.default:`linear-gradient(to right, ${e.global.color.accent.default} 0%, ${e.global.color.accent.default} ${n}%, ${e.click.field.color.background.default} ${n}%, ${e.click.field.color.background.default} 100%)`};
763
763
  background-size: calc(100% + 2px);
764
764
  background-position: center;
@@ -781,7 +781,7 @@ Error generating stack: `+$.message+`
781
781
  background-size: calc(100% + 2px);
782
782
  background-position: center;
783
783
  }
784
- `),a$=W.span.withConfig({componentId:"sc-16gr3cg-1"})(["width:100%;font:inherit;mix-blend-mode:difference;"]),l$=W.button.withConfig({componentId:"sc-16gr3cg-2"})(["mix-blend-mode:difference;border:0;visibility:",";"],({$dismissable:e})=>e?"visible":"hidden"),s$=({progress:e,type:t="default",dismissable:n=!1,onCancel:o,successMessage:i,...a})=>{const s=e===100;return r.jsx(i$,{$completed:s,$progress:e,$type:t,...a,children:t==="default"&&r.jsxs(r.Fragment,{children:[r.jsx(a$,{$completed:s,children:i&&s?i:`${e}%`}),r.jsx(l$,{as:ur,size:"sm",type:"ghost",icon:"cross",$dismissable:n,onClick:o,"data-testid":"progressbar-close"})]})})},g8="Radio",[c$,v8]=pn(g8),[d$,u$]=c$(g8),f$=p.forwardRef((e,t)=>{const{__scopeRadio:n,name:o,checked:i=!1,required:a,disabled:s,value:c="on",onCheck:u,...g}=e,[C,v]=p.useState(null),y=_t(t,_=>v(_)),E=p.useRef(!1),M=C?!!C.closest("form"):!0;return p.createElement(d$,{scope:n,checked:i,disabled:s},p.createElement(ot.button,ue({type:"button",role:"radio","aria-checked":i,"data-state":m8(i),"data-disabled":s?"":void 0,disabled:s,value:c},g,{ref:y,onClick:Ee(e.onClick,_=>{i||u==null||u(),M&&(E.current=_.isPropagationStopped(),E.current||_.stopPropagation())})})),M&&p.createElement(g$,{control:C,bubbles:!E.current,name:o,value:c,checked:i,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),p$="RadioIndicator",h$=p.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:o,...i}=e,a=u$(p$,n);return p.createElement(Cn,{present:o||a.checked},p.createElement(ot.span,ue({"data-state":m8(a.checked),"data-disabled":a.disabled?"":void 0},i,{ref:t})))}),g$=e=>{const{control:t,checked:n,bubbles:o=!0,...i}=e,a=p.useRef(null),s=i0(n),c=zs(t);return p.useEffect(()=>{const u=a.current,g=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(g,"checked").set;if(s!==n&&v){const y=new Event("click",{bubbles:o});v.call(u,n),u.dispatchEvent(y)}},[s,n,o]),p.createElement("input",ue({type:"radio","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function m8(e){return e?"checked":"unchecked"}const v$=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],b8="RadioGroup",[m$,VA]=pn(b8,[M1,v8]),C8=M1(),x8=v8(),[b$,C$]=m$(b8),x$=p.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:o,defaultValue:i,value:a,required:s=!1,disabled:c=!1,orientation:u,dir:g,loop:C=!0,onValueChange:v,...y}=e,E=C8(n),M=Ka(g),[_,I]=_n({prop:a,defaultProp:i,onChange:v});return p.createElement(b$,{scope:n,name:o,required:s,disabled:c,value:_,onValueChange:I},p.createElement(E3,ue({asChild:!0},E,{orientation:u,dir:M,loop:C}),p.createElement(ot.div,ue({role:"radiogroup","aria-required":s,"aria-orientation":u,"data-disabled":c?"":void 0,dir:M},y,{ref:t}))))}),w$="RadioGroupItem",y$=p.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:o,...i}=e,a=C$(w$,n),s=a.disabled||o,c=C8(n),u=x8(n),g=p.useRef(null),C=_t(t,g),v=a.value===i.value,y=p.useRef(!1);return p.useEffect(()=>{const E=_=>{v$.includes(_.key)&&(y.current=!0)},M=()=>y.current=!1;return document.addEventListener("keydown",E),document.addEventListener("keyup",M),()=>{document.removeEventListener("keydown",E),document.removeEventListener("keyup",M)}},[]),p.createElement(_3,ue({asChild:!0},c,{focusable:!s,active:v}),p.createElement(f$,ue({disabled:s,required:a.required,checked:v},u,i,{name:a.name,ref:C,onCheck:()=>a.onValueChange(i.value),onKeyDown:Ee(E=>{E.key==="Enter"&&E.preventDefault()}),onFocus:Ee(i.onFocus,()=>{var E;y.current&&((E=g.current)===null||E===void 0||E.click())})})))}),k$=p.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...o}=e,i=x8(n);return p.createElement(h$,ue({},i,o,{ref:t}))}),S$=x$,L$=y$,$$=k$,M$=W(S$).withConfig({componentId:"sc-p6cydr-0"})(["display:flex;flex-wrap:wrap;gap:",";flex-direction:",";label{","}"],({theme:e})=>e.click.checkbox.space.gap,({$inline:e=!0})=>e===!0?"row":"column",({$error:e,theme:t})=>e?`color: ${t.click.field.color.label.error};`:""),w8=({children:e,inline:t,orientation:n,dir:o,error:i,itemDir:a,label:s,disabled:c,id:u,...g})=>r.jsxs(Li,{$orientation:n,$dir:o,$addLabelPadding:!0,children:[r.jsxs(Ps,{children:[r.jsx(M$,{orientation:t?"horizontal":"vertical",disabled:c,id:u,$error:!!i,dir:a,$inline:t,...g,children:e}),!!i&&i!==!0&&r.jsx(Fs,{children:i})]}),s&&r.jsx(Zo,{htmlFor:u,disabled:c,error:!!i,children:s})]}),y8=({id:e,label:t,value:n,disabled:o,required:i,...a})=>{const s=p.useId();return r.jsxs(j$,{$orientation:"horizontal",$dir:"end",$addLabelPadding:!1,...a,children:[r.jsx(E$,{value:n,id:e??s,disabled:o,required:i,children:r.jsx(_$,{})}),t&&r.jsx(Zo,{htmlFor:e??s,disabled:o,children:t})]})};y8.displayName="RadioGroupItem",w8.Item=y8;const j$=W(Li).withConfig({componentId:"sc-p6cydr-1"})(["padding:",";display:flex;align-items:center;gap:",";width:auto;"],({theme:e})=>e.click.checkbox.space.all,({theme:e})=>e.click.checkbox.space.gap),E$=W(L$).withConfig({componentId:"sc-p6cydr-2"})(["display:flex;align-items:center;justify-content:center;outline:none;cursor:pointer;",";"],({theme:e})=>`
784
+ `),a$=W.span.withConfig({componentId:"sc-16gr3cg-1"})(["width:100%;font:inherit;mix-blend-mode:difference;"]),l$=W.button.withConfig({componentId:"sc-16gr3cg-2"})(["mix-blend-mode:difference;border:0;visibility:",";"],({$dismissable:e})=>e?"visible":"hidden"),s$=({progress:e,type:t="default",dismissable:n=!1,onCancel:o,successMessage:i,...a})=>{const s=e===100;return r.jsx(i$,{$completed:s,$progress:e,$type:t,...a,children:t==="default"&&r.jsxs(r.Fragment,{children:[r.jsx(a$,{$completed:s,children:i&&s?i:`${e}%`}),r.jsx(l$,{as:ur,size:"sm",type:"ghost",icon:"cross",$dismissable:n,onClick:o,"data-testid":"progressbar-close"})]})})},g8="Radio",[c$,v8]=pn(g8),[d$,u$]=c$(g8),f$=p.forwardRef((e,t)=>{const{__scopeRadio:n,name:o,checked:i=!1,required:a,disabled:s,value:c="on",onCheck:u,...g}=e,[C,v]=p.useState(null),y=_t(t,E=>v(E)),_=p.useRef(!1),M=C?!!C.closest("form"):!0;return p.createElement(d$,{scope:n,checked:i,disabled:s},p.createElement(ot.button,ue({type:"button",role:"radio","aria-checked":i,"data-state":m8(i),"data-disabled":s?"":void 0,disabled:s,value:c},g,{ref:y,onClick:Ee(e.onClick,E=>{i||u==null||u(),M&&(_.current=E.isPropagationStopped(),_.current||E.stopPropagation())})})),M&&p.createElement(g$,{control:C,bubbles:!_.current,name:o,value:c,checked:i,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),p$="RadioIndicator",h$=p.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:o,...i}=e,a=u$(p$,n);return p.createElement(Cn,{present:o||a.checked},p.createElement(ot.span,ue({"data-state":m8(a.checked),"data-disabled":a.disabled?"":void 0},i,{ref:t})))}),g$=e=>{const{control:t,checked:n,bubbles:o=!0,...i}=e,a=p.useRef(null),s=i0(n),c=zs(t);return p.useEffect(()=>{const u=a.current,g=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(g,"checked").set;if(s!==n&&v){const y=new Event("click",{bubbles:o});v.call(u,n),u.dispatchEvent(y)}},[s,n,o]),p.createElement("input",ue({type:"radio","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function m8(e){return e?"checked":"unchecked"}const v$=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],b8="RadioGroup",[m$,VA]=pn(b8,[M1,v8]),C8=M1(),x8=v8(),[b$,C$]=m$(b8),x$=p.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:o,defaultValue:i,value:a,required:s=!1,disabled:c=!1,orientation:u,dir:g,loop:C=!0,onValueChange:v,...y}=e,_=C8(n),M=Ka(g),[E,I]=_n({prop:a,defaultProp:i,onChange:v});return p.createElement(b$,{scope:n,name:o,required:s,disabled:c,value:E,onValueChange:I},p.createElement(E3,ue({asChild:!0},_,{orientation:u,dir:M,loop:C}),p.createElement(ot.div,ue({role:"radiogroup","aria-required":s,"aria-orientation":u,"data-disabled":c?"":void 0,dir:M},y,{ref:t}))))}),w$="RadioGroupItem",y$=p.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:o,...i}=e,a=C$(w$,n),s=a.disabled||o,c=C8(n),u=x8(n),g=p.useRef(null),C=_t(t,g),v=a.value===i.value,y=p.useRef(!1);return p.useEffect(()=>{const _=E=>{v$.includes(E.key)&&(y.current=!0)},M=()=>y.current=!1;return document.addEventListener("keydown",_),document.addEventListener("keyup",M),()=>{document.removeEventListener("keydown",_),document.removeEventListener("keyup",M)}},[]),p.createElement(_3,ue({asChild:!0},c,{focusable:!s,active:v}),p.createElement(f$,ue({disabled:s,required:a.required,checked:v},u,i,{name:a.name,ref:C,onCheck:()=>a.onValueChange(i.value),onKeyDown:Ee(_=>{_.key==="Enter"&&_.preventDefault()}),onFocus:Ee(i.onFocus,()=>{var _;y.current&&((_=g.current)===null||_===void 0||_.click())})})))}),k$=p.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...o}=e,i=x8(n);return p.createElement(h$,ue({},i,o,{ref:t}))}),S$=x$,L$=y$,$$=k$,M$=W(S$).withConfig({componentId:"sc-p6cydr-0"})(["display:flex;flex-wrap:wrap;gap:",";flex-direction:",";label{","}"],({theme:e})=>e.click.checkbox.space.gap,({$inline:e=!0})=>e===!0?"row":"column",({$error:e,theme:t})=>e?`color: ${t.click.field.color.label.error};`:""),w8=({children:e,inline:t,orientation:n,dir:o,error:i,itemDir:a,label:s,disabled:c,id:u,...g})=>r.jsxs(Li,{$orientation:n,$dir:o,$addLabelPadding:!0,children:[r.jsxs(Ps,{children:[r.jsx(M$,{orientation:t?"horizontal":"vertical",disabled:c,id:u,$error:!!i,dir:a,$inline:t,...g,children:e}),!!i&&i!==!0&&r.jsx(Fs,{children:i})]}),s&&r.jsx(Zo,{htmlFor:u,disabled:c,error:!!i,children:s})]}),y8=({id:e,label:t,value:n,disabled:o,required:i,...a})=>{const s=p.useId();return r.jsxs(j$,{$orientation:"horizontal",$dir:"end",$addLabelPadding:!1,...a,children:[r.jsx(E$,{value:n,id:e??s,disabled:o,required:i,children:r.jsx(_$,{})}),t&&r.jsx(Zo,{htmlFor:e??s,disabled:o,children:t})]})};y8.displayName="RadioGroupItem",w8.Item=y8;const j$=W(Li).withConfig({componentId:"sc-p6cydr-1"})(["padding:",";display:flex;align-items:center;gap:",";width:auto;"],({theme:e})=>e.click.checkbox.space.all,({theme:e})=>e.click.checkbox.space.gap),E$=W(L$).withConfig({componentId:"sc-p6cydr-2"})(["display:flex;align-items:center;justify-content:center;outline:none;cursor:pointer;",";"],({theme:e})=>`
785
785
  border-radius: ${e.click.radio.radii.all};
786
786
  width: 1rem;
787
787
  height: 1rem;
@@ -827,7 +827,7 @@ Error generating stack: `+$.message+`
827
827
  background: ${e.click.radio.color.indicator.disabled};
828
828
  }
829
829
  }
830
- `),k8=p.forwardRef(({disabled:e,label:t,error:n,id:o,loading:i,clear:a=!0,value:s="",onChange:c,orientation:u,dir:g,...C},v)=>{const y=p.useRef(null),E=p.useId(),M=I=>{c(I.target.value,I)},_=()=>{c("")};return r.jsxs(H1,{disabled:e,id:o??E,label:t,error:n,orientation:u,dir:g,children:[r.jsx(rt,{name:"search",size:"sm"}),r.jsx(Tc,{ref:Ko([y,v]),type:"text",id:o??E,disabled:e,value:s,onChange:M,...C}),a&&r.jsx(D0,{disabled:e,onClick:_,$show:s.length>0,"aria-label":"clear input","data-testid":"search-close",children:r.jsx(rt,{name:"cross",size:"sm"})}),i&&r.jsx(rt,{name:"loading-animated",size:"sm"})]})}),I$=W(Y3).withConfig({componentId:"sc-oudbwg-0"})(["width:100%;"]),T$=W.div.withConfig({componentId:"sc-oudbwg-1"})(["text-align:left;flex:1;gap:inherit;color:inherit;font:inherit;overflow:hidden;"]),F$=W(X3).withConfig({componentId:"sc-oudbwg-2"})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}"," [data-hide-in-trigger]{display:none;}"],({theme:e,$error:t})=>`
830
+ `),k8=p.forwardRef(({disabled:e,label:t,error:n,id:o,loading:i,clear:a=!0,value:s="",onChange:c,orientation:u,dir:g,isFilter:C=!1,...v},y)=>{const _=p.useRef(null),M=p.useId(),E=j=>{c(j.target.value,j)},I=()=>{c("")};return r.jsxs(H1,{disabled:e,id:o??M,label:t,error:n,orientation:u,dir:g,children:[r.jsx(rt,{name:C?"filter":"search",size:"sm"}),r.jsx(Tc,{ref:Ko([_,y]),type:"text",id:o??M,disabled:e,value:s,onChange:E,...v}),a&&r.jsx(D0,{disabled:e,onClick:I,$show:s.length>0,"aria-label":"clear input","data-testid":"search-close",children:r.jsx(rt,{name:"cross",size:"sm"})}),i&&r.jsx(rt,{name:"loading-animated",size:"sm"})]})}),I$=W(Y3).withConfig({componentId:"sc-oudbwg-0"})(["width:100%;"]),T$=W.div.withConfig({componentId:"sc-oudbwg-1"})(["text-align:left;flex:1;gap:inherit;color:inherit;font:inherit;overflow:hidden;"]),F$=W(X3).withConfig({componentId:"sc-oudbwg-2"})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}"," [data-hide-in-trigger]{display:none;}"],({theme:e,$error:t})=>`
831
831
  border-radius: ${e.click.field.radii.all};
832
832
  padding: ${e.click.field.space.y} ${e.click.field.space.x};
833
833
  gap: ${e.click.field.space.gap};
@@ -917,16 +917,16 @@ Error generating stack: `+$.message+`
917
917
  * @author owenm <owen23355@gmail.com>
918
918
  * @license MIT
919
919
  */function $8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function eo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$8(Object(n),!0).forEach(function(o){W$(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$8(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Fc(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fc=function(t){return typeof t}:Fc=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fc(e)}function W$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vr(){return vr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},vr.apply(this,arguments)}function z$(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function G$(e,t){if(e==null)return{};var n=z$(e,t),o,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)o=a[i],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function Y$(e){return X$(e)||K$(e)||J$(e)||q$()}function X$(e){if(Array.isArray(e))return R0(e)}function K$(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function J$(e,t){if(e){if(typeof e=="string")return R0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R0(e,t)}}function R0(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function q$(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
920
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Q$="1.15.1";function yo(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var ko=yo(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),bl=yo(/Edge/i),M8=yo(/firefox/i),Cl=yo(/safari/i)&&!yo(/chrome/i)&&!yo(/android/i),j8=yo(/iP(ad|od|hone)/i),E8=yo(/chrome/i)&&yo(/android/i),_8={capture:!1,passive:!1};function wt(e,t,n){e.addEventListener(t,n,!ko&&_8)}function Ct(e,t,n){e.removeEventListener(t,n,!ko&&_8)}function Oc(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function eM(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Tr(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Oc(e,t):Oc(e,t))||o&&e===n)return e;if(e===n)break}while(e=eM(e))}return null}var I8=/\s+/g;function en(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(I8," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(I8," ")}}function Ve(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function Hi(e,t){var n="";if(typeof e=="string")n=e;else do{var o=Ve(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function T8(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,a=o.length;if(n)for(;i<a;i++)n(o[i],i);return o}return[]}function to(){var e=document.scrollingElement;return e||document.documentElement}function Gt(e,t,n,o,i){if(!(!e.getBoundingClientRect&&e!==window)){var a,s,c,u,g,C,v;if(e!==window&&e.parentNode&&e!==to()?(a=e.getBoundingClientRect(),s=a.top,c=a.left,u=a.bottom,g=a.right,C=a.height,v=a.width):(s=0,c=0,u=window.innerHeight,g=window.innerWidth,C=window.innerHeight,v=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!ko))do if(i&&i.getBoundingClientRect&&(Ve(i,"transform")!=="none"||n&&Ve(i,"position")!=="static")){var y=i.getBoundingClientRect();s-=y.top+parseInt(Ve(i,"border-top-width")),c-=y.left+parseInt(Ve(i,"border-left-width")),u=s+a.height,g=c+a.width;break}while(i=i.parentNode);if(o&&e!==window){var E=Hi(i||e),M=E&&E.a,_=E&&E.d;E&&(s/=_,c/=M,v/=M,C/=_,u=s+C,g=c+v)}return{top:s,left:c,bottom:u,right:g,width:v,height:C}}}function F8(e){var t=Gt(e),n=parseInt(Ve(e,"padding-left")),o=parseInt(Ve(e,"padding-top")),i=parseInt(Ve(e,"padding-right")),a=parseInt(Ve(e,"padding-bottom"));return t.top+=o+parseInt(Ve(e,"border-top-width")),t.left+=n+parseInt(Ve(e,"border-left-width")),t.width=e.clientWidth-n-i,t.height=e.clientHeight-o-a,t.bottom=t.top+t.height,t.right=t.left+t.width,t}function O8(e,t,n){for(var o=ni(e,!0),i=Gt(e)[t];o;){var a=Gt(o)[n],s=void 0;if(n==="top"||n==="left"?s=i>=a:s=i<=a,!s)return o;if(o===to())break;o=ni(o,!1)}return!1}function D1(e,t,n,o){for(var i=0,a=0,s=e.children;a<s.length;){if(s[a].style.display!=="none"&&s[a]!==nt.ghost&&(o||s[a]!==nt.dragged)&&Tr(s[a],n.draggable,e,!1)){if(i===t)return s[a];i++}a++}return null}function V0(e,t){for(var n=e.lastElementChild;n&&(n===nt.ghost||Ve(n,"display")==="none"||t&&!Oc(n,t));)n=n.previousElementSibling;return n||null}function on(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==nt.clone&&(!t||Oc(e,t))&&n++;return n}function P8(e){var t=0,n=0,o=to();if(e)do{var i=Hi(e),a=i.a,s=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*s}while(e!==o&&(e=e.parentNode));return[t,n]}function tM(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function ni(e,t){if(!e||!e.getBoundingClientRect)return to();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=Ve(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return to();if(o||t)return n;o=!0}}while(n=n.parentNode);return to()}function nM(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function B0(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var xl;function H8(e,t){return function(){if(!xl){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),xl=setTimeout(function(){xl=void 0},t)}}}function rM(){clearTimeout(xl),xl=void 0}function D8(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function N0(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function A8(e,t){Ve(e,"position","absolute"),Ve(e,"top",t.top),Ve(e,"left",t.left),Ve(e,"width",t.width),Ve(e,"height",t.height)}function Z0(e){Ve(e,"position",""),Ve(e,"top",""),Ve(e,"left",""),Ve(e,"width",""),Ve(e,"height","")}var In="Sortable"+new Date().getTime();function oM(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(Ve(i,"display")==="none"||i===nt.ghost)){e.push({target:i,rect:Gt(i)});var a=eo({},e[e.length-1].rect);if(i.thisAnimationDuration){var s=Hi(i,!0);s&&(a.top-=s.f,a.left-=s.e)}i.fromRect=a}})}},addAnimationState:function(o){e.push(o)},removeAnimationState:function(o){e.splice(tM(e,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(t),typeof o=="function"&&o();return}var a=!1,s=0;e.forEach(function(c){var u=0,g=c.target,C=g.fromRect,v=Gt(g),y=g.prevFromRect,E=g.prevToRect,M=c.rect,_=Hi(g,!0);_&&(v.top-=_.f,v.left-=_.e),g.toRect=v,g.thisAnimationDuration&&B0(y,v)&&!B0(C,v)&&(M.top-v.top)/(M.left-v.left)===(C.top-v.top)/(C.left-v.left)&&(u=aM(M,y,E,i.options)),B0(v,C)||(g.prevFromRect=C,g.prevToRect=v,u||(u=i.options.animation),i.animate(g,M,v,u)),u&&(a=!0,s=Math.max(s,u),clearTimeout(g.animationResetTimer),g.animationResetTimer=setTimeout(function(){g.animationTime=0,g.prevFromRect=null,g.fromRect=null,g.prevToRect=null,g.thisAnimationDuration=null},u),g.thisAnimationDuration=u)}),clearTimeout(t),a?t=setTimeout(function(){typeof o=="function"&&o()},s):typeof o=="function"&&o(),e=[]},animate:function(o,i,a,s){if(s){Ve(o,"transition",""),Ve(o,"transform","");var c=Hi(this.el),u=c&&c.a,g=c&&c.d,C=(i.left-a.left)/(u||1),v=(i.top-a.top)/(g||1);o.animatingX=!!C,o.animatingY=!!v,Ve(o,"transform","translate3d("+C+"px,"+v+"px,0)"),this.forRepaintDummy=iM(o),Ve(o,"transition","transform "+s+"ms"+(this.options.easing?" "+this.options.easing:"")),Ve(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){Ve(o,"transition",""),Ve(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},s)}}}}function iM(e){return e.offsetWidth}function aM(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var A1=[],U0={initializeByDefault:!0},wl={mount:function(t){for(var n in U0)U0.hasOwnProperty(n)&&!(n in t)&&(t[n]=U0[n]);A1.forEach(function(o){if(o.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),A1.push(t)},pluginEvent:function(t,n,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var a=t+"Global";A1.forEach(function(s){n[s.pluginName]&&(n[s.pluginName][a]&&n[s.pluginName][a](eo({sortable:n},o)),n.options[s.pluginName]&&n[s.pluginName][t]&&n[s.pluginName][t](eo({sortable:n},o)))})},initializePlugins:function(t,n,o,i){A1.forEach(function(c){var u=c.pluginName;if(!(!t.options[u]&&!c.initializeByDefault)){var g=new c(t,n,t.options);g.sortable=t,g.options=t.options,t[u]=g,vr(o,g.defaults)}});for(var a in t.options)if(t.options.hasOwnProperty(a)){var s=this.modifyOption(t,a,t.options[a]);typeof s<"u"&&(t.options[a]=s)}},getEventProperties:function(t,n){var o={};return A1.forEach(function(i){typeof i.eventProperties=="function"&&vr(o,i.eventProperties.call(n[i.pluginName],t))}),o},modifyOption:function(t,n,o){var i;return A1.forEach(function(a){t[a.pluginName]&&a.optionListeners&&typeof a.optionListeners[n]=="function"&&(i=a.optionListeners[n].call(t[a.pluginName],o))}),i}};function yl(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,a=e.cloneEl,s=e.toEl,c=e.fromEl,u=e.oldIndex,g=e.newIndex,C=e.oldDraggableIndex,v=e.newDraggableIndex,y=e.originalEvent,E=e.putSortable,M=e.extraEventProperties;if(t=t||n&&n[In],!!t){var _,I=t.options,j="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!ko&&!bl?_=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(o,!0,!0)),_.to=s||n,_.from=c||n,_.item=i||n,_.clone=a,_.oldIndex=u,_.newIndex=g,_.oldDraggableIndex=C,_.newDraggableIndex=v,_.originalEvent=y,_.pullMode=E?E.lastPutMode:void 0;var R=eo(eo({},M),wl.getEventProperties(o,t));for(var P in R)_[P]=R[P];n&&n.dispatchEvent(_),I[j]&&I[j].call(t,_)}}var lM=["evt"],Un=function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,a=G$(o,lM);wl.pluginEvent.bind(nt)(t,n,eo({dragEl:_e,parentEl:an,ghostEl:pt,rootEl:Jt,nextEl:Di,lastDownEl:Pc,cloneEl:tn,cloneHidden:ri,dragStarted:Sl,putSortable:Ln,activeSortable:nt.active,originalEvent:i,oldIndex:R1,oldDraggableIndex:kl,newIndex:or,newDraggableIndex:oi,hideGhostForTarget:W8,unhideGhostForTarget:z8,cloneNowHidden:function(){ri=!0},cloneNowShown:function(){ri=!1},dispatchSortableEvent:function(c){Fn({sortable:n,name:c,originalEvent:i})}},a))};function Fn(e){yl(eo({putSortable:Ln,cloneEl:tn,targetEl:_e,rootEl:Jt,oldIndex:R1,oldDraggableIndex:kl,newIndex:or,newDraggableIndex:oi},e))}var _e,an,pt,Jt,Di,Pc,tn,ri,R1,or,kl,oi,Hc,Ln,V1=!1,Dc=!1,Ac=[],Ai,Fr,W0,z0,R8,V8,Sl,B1,Ll,$l=!1,Rc=!1,Vc,Tn,G0=[],Y0=!1,Bc=[],Nc=typeof document<"u",Zc=j8,B8=bl||ko?"cssFloat":"float",sM=Nc&&!E8&&!j8&&"draggable"in document.createElement("div"),N8=function(){if(Nc){if(ko)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Z8=function(t,n){var o=Ve(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),a=D1(t,0,n),s=D1(t,1,n),c=a&&Ve(a),u=s&&Ve(s),g=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+Gt(a).width,C=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+Gt(s).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&c.float&&c.float!=="none"){var v=c.float==="left"?"left":"right";return s&&(u.clear==="both"||u.clear===v)?"vertical":"horizontal"}return a&&(c.display==="block"||c.display==="flex"||c.display==="table"||c.display==="grid"||g>=i&&o[B8]==="none"||s&&o[B8]==="none"&&g+C>i)?"vertical":"horizontal"},cM=function(t,n,o){var i=o?t.left:t.top,a=o?t.right:t.bottom,s=o?t.width:t.height,c=o?n.left:n.top,u=o?n.right:n.bottom,g=o?n.width:n.height;return i===c||a===u||i+s/2===c+g/2},dM=function(t,n){var o;return Ac.some(function(i){var a=i[In].options.emptyInsertThreshold;if(!(!a||V0(i))){var s=Gt(i),c=t>=s.left-a&&t<=s.right+a,u=n>=s.top-a&&n<=s.bottom+a;if(c&&u)return o=i}}),o},U8=function(t){function n(a,s){return function(c,u,g,C){var v=c.options.group.name&&u.options.group.name&&c.options.group.name===u.options.group.name;if(a==null&&(s||v))return!0;if(a==null||a===!1)return!1;if(s&&a==="clone")return a;if(typeof a=="function")return n(a(c,u,g,C),s)(c,u,g,C);var y=(s?c:u).options.group.name;return a===!0||typeof a=="string"&&a===y||a.join&&a.indexOf(y)>-1}}var o={},i=t.group;(!i||Fc(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=n(i.pull,!0),o.checkPut=n(i.put),o.revertClone=i.revertClone,t.group=o},W8=function(){!N8&&pt&&Ve(pt,"display","none")},z8=function(){!N8&&pt&&Ve(pt,"display","")};Nc&&!E8&&document.addEventListener("click",function(e){if(Dc)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Dc=!1,!1},!0);var Ri=function(t){if(_e){t=t.touches?t.touches[0]:t;var n=dM(t.clientX,t.clientY);if(n){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=n,o.preventDefault=void 0,o.stopPropagation=void 0,n[In]._onDragOver(o)}}},uM=function(t){_e&&_e.parentNode[In]._isOutsideThisEl(t.target)};function nt(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=vr({},t),e[In]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Z8(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(s,c){s.setData("Text",c.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:nt.supportPointer!==!1&&"PointerEvent"in window&&!Cl,emptyInsertThreshold:5};wl.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);U8(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:sM,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?wt(e,"pointerdown",this._onTapStart):(wt(e,"mousedown",this._onTapStart),wt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(wt(e,"dragover",this),wt(e,"dragenter",this)),Ac.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),vr(this,oM())}nt.prototype={constructor:nt,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(B1=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,_e):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,o=this.el,i=this.options,a=i.preventOnFilter,s=t.type,c=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,u=(c||t).target,g=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,C=i.filter;if(CM(o),!_e&&!(/mousedown|pointerdown/.test(s)&&t.button!==0||i.disabled)&&!g.isContentEditable&&!(!this.nativeDraggable&&Cl&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=Tr(u,i.draggable,o,!1),!(u&&u.animated)&&Pc!==u)){if(R1=on(u),kl=on(u,i.draggable),typeof C=="function"){if(C.call(this,t,u,this)){Fn({sortable:n,rootEl:g,name:"filter",targetEl:u,toEl:o,fromEl:o}),Un("filter",n,{evt:t}),a&&t.cancelable&&t.preventDefault();return}}else if(C&&(C=C.split(",").some(function(v){if(v=Tr(g,v.trim(),o,!1),v)return Fn({sortable:n,rootEl:v,name:"filter",targetEl:u,fromEl:o,toEl:o}),Un("filter",n,{evt:t}),!0}),C)){a&&t.cancelable&&t.preventDefault();return}i.handle&&!Tr(g,i.handle,o,!1)||this._prepareDragStart(t,c,u)}}},_prepareDragStart:function(t,n,o){var i=this,a=i.el,s=i.options,c=a.ownerDocument,u;if(o&&!_e&&o.parentNode===a){var g=Gt(o);if(Jt=a,_e=o,an=_e.parentNode,Di=_e.nextSibling,Pc=o,Hc=s.group,nt.dragged=_e,Ai={target:_e,clientX:(n||t).clientX,clientY:(n||t).clientY},R8=Ai.clientX-g.left,V8=Ai.clientY-g.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,_e.style["will-change"]="all",u=function(){if(Un("delayEnded",i,{evt:t}),nt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!M8&&i.nativeDraggable&&(_e.draggable=!0),i._triggerDragStart(t,n),Fn({sortable:i,name:"choose",originalEvent:t}),en(_e,s.chosenClass,!0)},s.ignore.split(",").forEach(function(C){T8(_e,C.trim(),X0)}),wt(c,"dragover",Ri),wt(c,"mousemove",Ri),wt(c,"touchmove",Ri),wt(c,"mouseup",i._onDrop),wt(c,"touchend",i._onDrop),wt(c,"touchcancel",i._onDrop),M8&&this.nativeDraggable&&(this.options.touchStartThreshold=4,_e.draggable=!0),Un("delayStart",this,{evt:t}),s.delay&&(!s.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(bl||ko))){if(nt.eventCanceled){this._onDrop();return}wt(c,"mouseup",i._disableDelayedDrag),wt(c,"touchend",i._disableDelayedDrag),wt(c,"touchcancel",i._disableDelayedDrag),wt(c,"mousemove",i._delayedDragTouchMoveHandler),wt(c,"touchmove",i._delayedDragTouchMoveHandler),s.supportPointer&&wt(c,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(u,s.delay)}else u()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){_e&&X0(_e),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Ct(t,"mouseup",this._disableDelayedDrag),Ct(t,"touchend",this._disableDelayedDrag),Ct(t,"touchcancel",this._disableDelayedDrag),Ct(t,"mousemove",this._delayedDragTouchMoveHandler),Ct(t,"touchmove",this._delayedDragTouchMoveHandler),Ct(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?wt(document,"pointermove",this._onTouchMove):n?wt(document,"touchmove",this._onTouchMove):wt(document,"mousemove",this._onTouchMove):(wt(_e,"dragend",this),wt(Jt,"dragstart",this._onDragStart));try{document.selection?Wc(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(V1=!1,Jt&&_e){Un("dragStarted",this,{evt:n}),this.nativeDraggable&&wt(document,"dragover",uM);var o=this.options;!t&&en(_e,o.dragClass,!1),en(_e,o.ghostClass,!0),nt.active=this,t&&this._appendGhost(),Fn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Fr){this._lastX=Fr.clientX,this._lastY=Fr.clientY,W8();for(var t=document.elementFromPoint(Fr.clientX,Fr.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Fr.clientX,Fr.clientY),t!==n);)n=t;if(_e.parentNode[In]._isOutsideThisEl(t),n)do{if(n[In]){var o=void 0;if(o=n[In]._onDragOver({clientX:Fr.clientX,clientY:Fr.clientY,target:t,rootEl:n}),o&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);z8()}},_onTouchMove:function(t){if(Ai){var n=this.options,o=n.fallbackTolerance,i=n.fallbackOffset,a=t.touches?t.touches[0]:t,s=pt&&Hi(pt,!0),c=pt&&s&&s.a,u=pt&&s&&s.d,g=Zc&&Tn&&P8(Tn),C=(a.clientX-Ai.clientX+i.x)/(c||1)+(g?g[0]-G0[0]:0)/(c||1),v=(a.clientY-Ai.clientY+i.y)/(u||1)+(g?g[1]-G0[1]:0)/(u||1);if(!nt.active&&!V1){if(o&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<o)return;this._onDragStart(t,!0)}if(pt){s?(s.e+=C-(W0||0),s.f+=v-(z0||0)):s={a:1,b:0,c:0,d:1,e:C,f:v};var y="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");Ve(pt,"webkitTransform",y),Ve(pt,"mozTransform",y),Ve(pt,"msTransform",y),Ve(pt,"transform",y),W0=C,z0=v,Fr=a}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!pt){var t=this.options.fallbackOnBody?document.body:Jt,n=Gt(_e,!0,Zc,!0,t),o=this.options;if(Zc){for(Tn=t;Ve(Tn,"position")==="static"&&Ve(Tn,"transform")==="none"&&Tn!==document;)Tn=Tn.parentNode;Tn!==document.body&&Tn!==document.documentElement?(Tn===document&&(Tn=to()),n.top+=Tn.scrollTop,n.left+=Tn.scrollLeft):Tn=to(),G0=P8(Tn)}pt=_e.cloneNode(!0),en(pt,o.ghostClass,!1),en(pt,o.fallbackClass,!0),en(pt,o.dragClass,!0),Ve(pt,"transition",""),Ve(pt,"transform",""),Ve(pt,"box-sizing","border-box"),Ve(pt,"margin",0),Ve(pt,"top",n.top),Ve(pt,"left",n.left),Ve(pt,"width",n.width),Ve(pt,"height",n.height),Ve(pt,"opacity","0.8"),Ve(pt,"position",Zc?"absolute":"fixed"),Ve(pt,"zIndex","100000"),Ve(pt,"pointerEvents","none"),nt.ghost=pt,t.appendChild(pt),Ve(pt,"transform-origin",R8/parseInt(pt.style.width)*100+"% "+V8/parseInt(pt.style.height)*100+"%")}},_onDragStart:function(t,n){var o=this,i=t.dataTransfer,a=o.options;if(Un("dragStart",this,{evt:t}),nt.eventCanceled){this._onDrop();return}Un("setupClone",this),nt.eventCanceled||(tn=N0(_e),tn.removeAttribute("id"),tn.draggable=!1,tn.style["will-change"]="",this._hideClone(),en(tn,this.options.chosenClass,!1),nt.clone=tn),o.cloneId=Wc(function(){Un("clone",o),!nt.eventCanceled&&(o.options.removeCloneOnHide||Jt.insertBefore(tn,_e),o._hideClone(),Fn({sortable:o,name:"clone"}))}),!n&&en(_e,a.dragClass,!0),n?(Dc=!0,o._loopId=setInterval(o._emulateDragOver,50)):(Ct(document,"mouseup",o._onDrop),Ct(document,"touchend",o._onDrop),Ct(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",a.setData&&a.setData.call(o,i,_e)),wt(document,"drop",o),Ve(_e,"transform","translateZ(0)")),V1=!0,o._dragStartId=Wc(o._dragStarted.bind(o,n,t)),wt(document,"selectstart",o),Sl=!0,Cl&&Ve(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,o=t.target,i,a,s,c=this.options,u=c.group,g=nt.active,C=Hc===u,v=c.sort,y=Ln||g,E,M=this,_=!1;if(Y0)return;function I(ye,pe){Un(ye,M,eo({evt:t,isOwner:C,axis:E?"vertical":"horizontal",revert:s,dragRect:i,targetRect:a,canSort:v,fromSortable:y,target:o,completed:R,onMove:function(Se,De){return Uc(Jt,n,_e,i,Se,Gt(Se),t,De)},changed:P},pe))}function j(){I("dragOverAnimationCapture"),M.captureAnimationState(),M!==y&&y.captureAnimationState()}function R(ye){return I("dragOverCompleted",{insertion:ye}),ye&&(C?g._hideClone():g._showClone(M),M!==y&&(en(_e,Ln?Ln.options.ghostClass:g.options.ghostClass,!1),en(_e,c.ghostClass,!0)),Ln!==M&&M!==nt.active?Ln=M:M===nt.active&&Ln&&(Ln=null),y===M&&(M._ignoreWhileAnimating=o),M.animateAll(function(){I("dragOverAnimationComplete"),M._ignoreWhileAnimating=null}),M!==y&&(y.animateAll(),y._ignoreWhileAnimating=null)),(o===_e&&!_e.animated||o===n&&!o.animated)&&(B1=null),!c.dragoverBubble&&!t.rootEl&&o!==document&&(_e.parentNode[In]._isOutsideThisEl(t.target),!ye&&Ri(t)),!c.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function P(){or=on(_e),oi=on(_e,c.draggable),Fn({sortable:M,name:"change",toEl:n,newIndex:or,newDraggableIndex:oi,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),o=Tr(o,c.draggable,n,!0),I("dragOver"),nt.eventCanceled)return _;if(_e.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||M._ignoreWhileAnimating===o)return R(!1);if(Dc=!1,g&&!c.disabled&&(C?v||(s=an!==Jt):Ln===this||(this.lastPutMode=Hc.checkPull(this,g,_e,t))&&u.checkPut(this,g,_e,t))){if(E=this._getDirection(t,o)==="vertical",i=Gt(_e),I("dragOverValid"),nt.eventCanceled)return _;if(s)return an=Jt,j(),this._hideClone(),I("revert"),nt.eventCanceled||(Di?Jt.insertBefore(_e,Di):Jt.appendChild(_e)),R(!0);var B=V0(n,c.draggable);if(!B||gM(t,E,this)&&!B.animated){if(B===_e)return R(!1);if(B&&n===t.target&&(o=B),o&&(a=Gt(o)),Uc(Jt,n,_e,i,o,a,t,!!o)!==!1)return j(),B&&B.nextSibling?n.insertBefore(_e,B.nextSibling):n.appendChild(_e),an=n,P(),R(!0)}else if(B&&hM(t,E,this)){var D=D1(n,0,c,!0);if(D===_e)return R(!1);if(o=D,a=Gt(o),Uc(Jt,n,_e,i,o,a,t,!1)!==!1)return j(),n.insertBefore(_e,D),an=n,P(),R(!0)}else if(o.parentNode===n){a=Gt(o);var H=0,A,G=_e.parentNode!==n,K=!cM(_e.animated&&_e.toRect||i,o.animated&&o.toRect||a,E),Q=E?"top":"left",le=O8(o,"top","top")||O8(_e,"top","top"),se=le?le.scrollTop:void 0;B1!==o&&(A=a[Q],$l=!1,Rc=!K&&c.invertSwap||G),H=vM(t,o,a,E,K?1:c.swapThreshold,c.invertedSwapThreshold==null?c.swapThreshold:c.invertedSwapThreshold,Rc,B1===o);var fe;if(H!==0){var te=on(_e);do te-=H,fe=an.children[te];while(fe&&(Ve(fe,"display")==="none"||fe===pt))}if(H===0||fe===o)return R(!1);B1=o,Ll=H;var ge=o.nextElementSibling,ie=!1;ie=H===1;var me=Uc(Jt,n,_e,i,o,a,t,ie);if(me!==!1)return(me===1||me===-1)&&(ie=me===1),Y0=!0,setTimeout(pM,30),j(),ie&&!ge?n.appendChild(_e):o.parentNode.insertBefore(_e,ie?ge:o),le&&D8(le,0,se-le.scrollTop),an=_e.parentNode,A!==void 0&&!Rc&&(Vc=Math.abs(A-Gt(o)[Q])),P(),R(!0)}if(n.contains(_e))return R(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ct(document,"mousemove",this._onTouchMove),Ct(document,"touchmove",this._onTouchMove),Ct(document,"pointermove",this._onTouchMove),Ct(document,"dragover",Ri),Ct(document,"mousemove",Ri),Ct(document,"touchmove",Ri)},_offUpEvents:function(){var t=this.el.ownerDocument;Ct(t,"mouseup",this._onDrop),Ct(t,"touchend",this._onDrop),Ct(t,"pointerup",this._onDrop),Ct(t,"touchcancel",this._onDrop),Ct(document,"selectstart",this)},_onDrop:function(t){var n=this.el,o=this.options;if(or=on(_e),oi=on(_e,o.draggable),Un("drop",this,{evt:t}),an=_e&&_e.parentNode,or=on(_e),oi=on(_e,o.draggable),nt.eventCanceled){this._nulling();return}V1=!1,Rc=!1,$l=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),K0(this.cloneId),K0(this._dragStartId),this.nativeDraggable&&(Ct(document,"drop",this),Ct(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Cl&&Ve(document.body,"user-select",""),Ve(_e,"transform",""),t&&(Sl&&(t.cancelable&&t.preventDefault(),!o.dropBubble&&t.stopPropagation()),pt&&pt.parentNode&&pt.parentNode.removeChild(pt),(Jt===an||Ln&&Ln.lastPutMode!=="clone")&&tn&&tn.parentNode&&tn.parentNode.removeChild(tn),_e&&(this.nativeDraggable&&Ct(_e,"dragend",this),X0(_e),_e.style["will-change"]="",Sl&&!V1&&en(_e,Ln?Ln.options.ghostClass:this.options.ghostClass,!1),en(_e,this.options.chosenClass,!1),Fn({sortable:this,name:"unchoose",toEl:an,newIndex:null,newDraggableIndex:null,originalEvent:t}),Jt!==an?(or>=0&&(Fn({rootEl:an,name:"add",toEl:an,fromEl:Jt,originalEvent:t}),Fn({sortable:this,name:"remove",toEl:an,originalEvent:t}),Fn({rootEl:an,name:"sort",toEl:an,fromEl:Jt,originalEvent:t}),Fn({sortable:this,name:"sort",toEl:an,originalEvent:t})),Ln&&Ln.save()):or!==R1&&or>=0&&(Fn({sortable:this,name:"update",toEl:an,originalEvent:t}),Fn({sortable:this,name:"sort",toEl:an,originalEvent:t})),nt.active&&((or==null||or===-1)&&(or=R1,oi=kl),Fn({sortable:this,name:"end",toEl:an,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Un("nulling",this),Jt=_e=an=pt=Di=tn=Pc=ri=Ai=Fr=Sl=or=oi=R1=kl=B1=Ll=Ln=Hc=nt.dragged=nt.ghost=nt.clone=nt.active=null,Bc.forEach(function(t){t.checked=!0}),Bc.length=W0=z0=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":_e&&(this._onDragOver(t),fM(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,o=this.el.children,i=0,a=o.length,s=this.options;i<a;i++)n=o[i],Tr(n,s.draggable,this.el,!1)&&t.push(n.getAttribute(s.dataIdAttr)||bM(n));return t},sort:function(t,n){var o={},i=this.el;this.toArray().forEach(function(a,s){var c=i.children[s];Tr(c,this.options.draggable,i,!1)&&(o[a]=c)},this),n&&this.captureAnimationState(),t.forEach(function(a){o[a]&&(i.removeChild(o[a]),i.appendChild(o[a]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Tr(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var o=this.options;if(n===void 0)return o[t];var i=wl.modifyOption(this,t,n);typeof i<"u"?o[t]=i:o[t]=n,t==="group"&&U8(o)},destroy:function(){Un("destroy",this);var t=this.el;t[In]=null,Ct(t,"mousedown",this._onTapStart),Ct(t,"touchstart",this._onTapStart),Ct(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ct(t,"dragover",this),Ct(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ac.splice(Ac.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ri){if(Un("hideClone",this),nt.eventCanceled)return;Ve(tn,"display","none"),this.options.removeCloneOnHide&&tn.parentNode&&tn.parentNode.removeChild(tn),ri=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(ri){if(Un("showClone",this),nt.eventCanceled)return;_e.parentNode==Jt&&!this.options.group.revertClone?Jt.insertBefore(tn,_e):Di?Jt.insertBefore(tn,Di):Jt.appendChild(tn),this.options.group.revertClone&&this.animate(_e,tn),Ve(tn,"display",""),ri=!1}}};function fM(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Uc(e,t,n,o,i,a,s,c){var u,g=e[In],C=g.options.onMove,v;return window.CustomEvent&&!ko&&!bl?u=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(u=document.createEvent("Event"),u.initEvent("move",!0,!0)),u.to=t,u.from=e,u.dragged=n,u.draggedRect=o,u.related=i||t,u.relatedRect=a||Gt(t),u.willInsertAfter=c,u.originalEvent=s,e.dispatchEvent(u),C&&(v=C.call(g,u,s)),v}function X0(e){e.draggable=!1}function pM(){Y0=!1}function hM(e,t,n){var o=Gt(D1(n.el,0,n.options,!0)),i=F8(n.el),a=10;return t?e.clientX<i.left-a||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-a||e.clientY<o.bottom&&e.clientX<o.left}function gM(e,t,n){var o=Gt(V0(n.el,n.options.draggable)),i=F8(n.el),a=10;return t?e.clientX>i.right+a||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+a||e.clientX>o.right&&e.clientY>o.top}function vM(e,t,n,o,i,a,s,c){var u=o?e.clientY:e.clientX,g=o?n.height:n.width,C=o?n.top:n.left,v=o?n.bottom:n.right,y=!1;if(!s){if(c&&Vc<g*i){if(!$l&&(Ll===1?u>C+g*a/2:u<v-g*a/2)&&($l=!0),$l)y=!0;else if(Ll===1?u<C+Vc:u>v-Vc)return-Ll}else if(u>C+g*(1-i)/2&&u<v-g*(1-i)/2)return mM(t)}return y=y||s,y&&(u<C+g*a/2||u>v-g*a/2)?u>C+g/2?1:-1:0}function mM(e){return on(_e)<on(e)?1:-1}function bM(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function CM(e){Bc.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&Bc.push(o)}}function Wc(e){return setTimeout(e,0)}function K0(e){return clearTimeout(e)}Nc&&wt(document,"touchmove",function(e){(nt.active||V1)&&e.cancelable&&e.preventDefault()}),nt.utils={on:wt,off:Ct,css:Ve,find:T8,is:function(t,n){return!!Tr(t,n,t,!1)},extend:nM,throttle:H8,closest:Tr,toggleClass:en,clone:N0,index:on,nextTick:Wc,cancelNextTick:K0,detectDirection:Z8,getChild:D1},nt.get=function(e){return e[In]},nt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(nt.utils=eo(eo({},nt.utils),o.utils)),wl.mount(o)})},nt.create=function(e,t){return new nt(e,t)},nt.version=Q$;var dn=[],Ml,J0,q0=!1,Q0,e4,zc,jl;function xM(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var o=n.originalEvent;this.sortable.nativeDraggable?wt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?wt(document,"pointermove",this._handleFallbackAutoScroll):o.touches?wt(document,"touchmove",this._handleFallbackAutoScroll):wt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var o=n.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?Ct(document,"dragover",this._handleAutoScroll):(Ct(document,"pointermove",this._handleFallbackAutoScroll),Ct(document,"touchmove",this._handleFallbackAutoScroll),Ct(document,"mousemove",this._handleFallbackAutoScroll)),G8(),Gc(),rM()},nulling:function(){zc=J0=Ml=q0=jl=Q0=e4=null,dn.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,o){var i=this,a=(n.touches?n.touches[0]:n).clientX,s=(n.touches?n.touches[0]:n).clientY,c=document.elementFromPoint(a,s);if(zc=n,o||this.options.forceAutoScrollFallback||bl||ko||Cl){t4(n,this.options,c,o);var u=ni(c,!0);q0&&(!jl||a!==Q0||s!==e4)&&(jl&&G8(),jl=setInterval(function(){var g=ni(document.elementFromPoint(a,s),!0);g!==u&&(u=g,Gc()),t4(n,i.options,g,o)},10),Q0=a,e4=s)}else{if(!this.options.bubbleScroll||ni(c,!0)===to()){Gc();return}t4(n,this.options,ni(c,!1),!1)}}},vr(e,{pluginName:"scroll",initializeByDefault:!0})}function Gc(){dn.forEach(function(e){clearInterval(e.pid)}),dn=[]}function G8(){clearInterval(jl)}var t4=H8(function(e,t,n,o){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,c=t.scrollSpeed,u=to(),g=!1,C;J0!==n&&(J0=n,Gc(),Ml=t.scroll,C=t.scrollFn,Ml===!0&&(Ml=ni(n,!0)));var v=0,y=Ml;do{var E=y,M=Gt(E),_=M.top,I=M.bottom,j=M.left,R=M.right,P=M.width,B=M.height,D=void 0,H=void 0,A=E.scrollWidth,G=E.scrollHeight,K=Ve(E),Q=E.scrollLeft,le=E.scrollTop;E===u?(D=P<A&&(K.overflowX==="auto"||K.overflowX==="scroll"||K.overflowX==="visible"),H=B<G&&(K.overflowY==="auto"||K.overflowY==="scroll"||K.overflowY==="visible")):(D=P<A&&(K.overflowX==="auto"||K.overflowX==="scroll"),H=B<G&&(K.overflowY==="auto"||K.overflowY==="scroll"));var se=D&&(Math.abs(R-i)<=s&&Q+P<A)-(Math.abs(j-i)<=s&&!!Q),fe=H&&(Math.abs(I-a)<=s&&le+B<G)-(Math.abs(_-a)<=s&&!!le);if(!dn[v])for(var te=0;te<=v;te++)dn[te]||(dn[te]={});(dn[v].vx!=se||dn[v].vy!=fe||dn[v].el!==E)&&(dn[v].el=E,dn[v].vx=se,dn[v].vy=fe,clearInterval(dn[v].pid),(se!=0||fe!=0)&&(g=!0,dn[v].pid=setInterval((function(){o&&this.layer===0&&nt.active._onTouchMove(zc);var ge=dn[this.layer].vy?dn[this.layer].vy*c:0,ie=dn[this.layer].vx?dn[this.layer].vx*c:0;typeof C=="function"&&C.call(nt.dragged.parentNode[In],ie,ge,e,zc,dn[this.layer].el)!=="continue"||D8(dn[this.layer].el,ie,ge)}).bind({layer:v}),24))),v++}while(t.bubbleScroll&&y!==u&&(y=ni(y,!1)));q0=g}},30),Y8=function(t){var n=t.originalEvent,o=t.putSortable,i=t.dragEl,a=t.activeSortable,s=t.dispatchSortableEvent,c=t.hideGhostForTarget,u=t.unhideGhostForTarget;if(n){var g=o||a;c();var C=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,v=document.elementFromPoint(C.clientX,C.clientY);u(),g&&!g.el.contains(v)&&(s("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function n4(){}n4.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,o=t.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=D1(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),o&&o.animateAll()},drop:Y8},vr(n4,{pluginName:"revertOnSpill"});function r4(){}r4.prototype={onSpill:function(t){var n=t.dragEl,o=t.putSortable,i=o||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:Y8},vr(r4,{pluginName:"removeOnSpill"});var mr;function wM(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var o=n.dragEl;mr=o},dragOverValid:function(n){var o=n.completed,i=n.target,a=n.onMove,s=n.activeSortable,c=n.changed,u=n.cancel;if(s.options.swap){var g=this.sortable.el,C=this.options;if(i&&i!==g){var v=mr;a(i)!==!1?(en(i,C.swapClass,!0),mr=i):mr=null,v&&v!==mr&&en(v,C.swapClass,!1)}c(),o(!0),u()}},drop:function(n){var o=n.activeSortable,i=n.putSortable,a=n.dragEl,s=i||this.sortable,c=this.options;mr&&en(mr,c.swapClass,!1),mr&&(c.swap||i&&i.options.swap)&&a!==mr&&(s.captureAnimationState(),s!==o&&o.captureAnimationState(),yM(a,mr),s.animateAll(),s!==o&&o.animateAll())},nulling:function(){mr=null}},vr(e,{pluginName:"swap",eventProperties:function(){return{swapItem:mr}}})}function yM(e,t){var n=e.parentNode,o=t.parentNode,i,a;!n||!o||n.isEqualNode(t)||o.isEqualNode(e)||(i=on(e),a=on(t),n.isEqualNode(o)&&i<a&&a++,n.insertBefore(t,n.children[i]),o.insertBefore(e,o.children[a]))}var st=[],ir=[],El,Or,_l=!1,Wn=!1,N1=!1,At,Il,Yc;function kM(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.avoidImplicitDeselect||(t.options.supportPointer?wt(document,"pointerup",this._deselectMultiDrag):(wt(document,"mouseup",this._deselectMultiDrag),wt(document,"touchend",this._deselectMultiDrag))),wt(document,"keydown",this._checkKeyDown),wt(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(i,a){var s="";st.length&&Or===t?st.forEach(function(c,u){s+=(u?", ":"")+c.textContent}):s=a.textContent,i.setData("Text",s)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var o=n.dragEl;At=o},delayEnded:function(){this.isMultiDrag=~st.indexOf(At)},setupClone:function(n){var o=n.sortable,i=n.cancel;if(this.isMultiDrag){for(var a=0;a<st.length;a++)ir.push(N0(st[a])),ir[a].sortableIndex=st[a].sortableIndex,ir[a].draggable=!1,ir[a].style["will-change"]="",en(ir[a],this.options.selectedClass,!1),st[a]===At&&en(ir[a],this.options.chosenClass,!1);o._hideClone(),i()}},clone:function(n){var o=n.sortable,i=n.rootEl,a=n.dispatchSortableEvent,s=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||st.length&&Or===o&&(X8(!0,i),a("clone"),s()))},showClone:function(n){var o=n.cloneNowShown,i=n.rootEl,a=n.cancel;this.isMultiDrag&&(X8(!1,i),ir.forEach(function(s){Ve(s,"display","")}),o(),Yc=!1,a())},hideClone:function(n){var o=this;n.sortable;var i=n.cloneNowHidden,a=n.cancel;this.isMultiDrag&&(ir.forEach(function(s){Ve(s,"display","none"),o.options.removeCloneOnHide&&s.parentNode&&s.parentNode.removeChild(s)}),i(),Yc=!0,a())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Or&&Or.multiDrag._deselectMultiDrag(),st.forEach(function(o){o.sortableIndex=on(o)}),st=st.sort(function(o,i){return o.sortableIndex-i.sortableIndex}),N1=!0},dragStarted:function(n){var o=this,i=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){st.forEach(function(s){s!==At&&Ve(s,"position","absolute")});var a=Gt(At,!1,!0,!0);st.forEach(function(s){s!==At&&A8(s,a)}),Wn=!0,_l=!0}i.animateAll(function(){Wn=!1,_l=!1,o.options.animation&&st.forEach(function(s){Z0(s)}),o.options.sort&&Xc()})}},dragOver:function(n){var o=n.target,i=n.completed,a=n.cancel;Wn&&~st.indexOf(o)&&(i(!1),a())},revert:function(n){var o=n.fromSortable,i=n.rootEl,a=n.sortable,s=n.dragRect;st.length>1&&(st.forEach(function(c){a.addAnimationState({target:c,rect:Wn?Gt(c):s}),Z0(c),c.fromRect=s,o.removeAnimationState(c)}),Wn=!1,SM(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(n){var o=n.sortable,i=n.isOwner,a=n.insertion,s=n.activeSortable,c=n.parentEl,u=n.putSortable,g=this.options;if(a){if(i&&s._hideClone(),_l=!1,g.animation&&st.length>1&&(Wn||!i&&!s.options.sort&&!u)){var C=Gt(At,!1,!0,!0);st.forEach(function(y){y!==At&&(A8(y,C),c.appendChild(y))}),Wn=!0}if(!i)if(Wn||Xc(),st.length>1){var v=Yc;s._showClone(o),s.options.animation&&!Yc&&v&&ir.forEach(function(y){s.addAnimationState({target:y,rect:Il}),y.fromRect=Il,y.thisAnimationDuration=null})}else s._showClone(o)}},dragOverAnimationCapture:function(n){var o=n.dragRect,i=n.isOwner,a=n.activeSortable;if(st.forEach(function(c){c.thisAnimationDuration=null}),a.options.animation&&!i&&a.multiDrag.isMultiDrag){Il=vr({},o);var s=Hi(At,!0);Il.top-=s.f,Il.left-=s.e}},dragOverAnimationComplete:function(){Wn&&(Wn=!1,Xc())},drop:function(n){var o=n.originalEvent,i=n.rootEl,a=n.parentEl,s=n.sortable,c=n.dispatchSortableEvent,u=n.oldIndex,g=n.putSortable,C=g||this.sortable;if(o){var v=this.options,y=a.children;if(!N1)if(v.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),en(At,v.selectedClass,!~st.indexOf(At)),~st.indexOf(At))st.splice(st.indexOf(At),1),El=null,yl({sortable:s,rootEl:i,name:"deselect",targetEl:At,originalEvent:o});else{if(st.push(At),yl({sortable:s,rootEl:i,name:"select",targetEl:At,originalEvent:o}),o.shiftKey&&El&&s.el.contains(El)){var E=on(El),M=on(At);if(~E&&~M&&E!==M){var _,I;for(M>E?(I=E,_=M):(I=M,_=E+1);I<_;I++)~st.indexOf(y[I])||(en(y[I],v.selectedClass,!0),st.push(y[I]),yl({sortable:s,rootEl:i,name:"select",targetEl:y[I],originalEvent:o}))}}else El=At;Or=C}if(N1&&this.isMultiDrag){if(Wn=!1,(a[In].options.sort||a!==i)&&st.length>1){var j=Gt(At),R=on(At,":not(."+this.options.selectedClass+")");if(!_l&&v.animation&&(At.thisAnimationDuration=null),C.captureAnimationState(),!_l&&(v.animation&&(At.fromRect=j,st.forEach(function(B){if(B.thisAnimationDuration=null,B!==At){var D=Wn?Gt(B):j;B.fromRect=D,C.addAnimationState({target:B,rect:D})}})),Xc(),st.forEach(function(B){y[R]?a.insertBefore(B,y[R]):a.appendChild(B),R++}),u===on(At))){var P=!1;st.forEach(function(B){if(B.sortableIndex!==on(B)){P=!0;return}}),P&&(c("update"),c("sort"))}st.forEach(function(B){Z0(B)}),C.animateAll()}Or=C}(i===a||g&&g.lastPutMode!=="clone")&&ir.forEach(function(B){B.parentNode&&B.parentNode.removeChild(B)})}},nullingGlobal:function(){this.isMultiDrag=N1=!1,ir.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Ct(document,"pointerup",this._deselectMultiDrag),Ct(document,"mouseup",this._deselectMultiDrag),Ct(document,"touchend",this._deselectMultiDrag),Ct(document,"keydown",this._checkKeyDown),Ct(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof N1<"u"&&N1)&&Or===this.sortable&&!(n&&Tr(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;st.length;){var o=st[0];en(o,this.options.selectedClass,!1),st.shift(),yl({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:o,originalEvent:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},vr(e,{pluginName:"multiDrag",utils:{select:function(n){var o=n.parentNode[In];!o||!o.options.multiDrag||~st.indexOf(n)||(Or&&Or!==o&&(Or.multiDrag._deselectMultiDrag(),Or=o),en(n,o.options.selectedClass,!0),st.push(n))},deselect:function(n){var o=n.parentNode[In],i=st.indexOf(n);!o||!o.options.multiDrag||!~i||(en(n,o.options.selectedClass,!1),st.splice(i,1))}},eventProperties:function(){var n=this,o=[],i=[];return st.forEach(function(a){o.push({multiDragElement:a,index:a.sortableIndex});var s;Wn&&a!==At?s=-1:Wn?s=on(a,":not(."+n.options.selectedClass+")"):s=on(a),i.push({multiDragElement:a,index:s})}),{items:Y$(st),clones:[].concat(ir),oldIndicies:o,newIndicies:i}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function SM(e,t){st.forEach(function(n,o){var i=t.children[n.sortableIndex+(e?Number(o):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function X8(e,t){ir.forEach(function(n,o){var i=t.children[n.sortableIndex+(e?Number(o):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function Xc(){st.forEach(function(e){e!==At&&e.parentNode&&e.parentNode.removeChild(e)})}nt.mount(new xM),nt.mount(r4,n4);const LM=k5(Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:kM,Sortable:nt,Swap:wM,default:nt},Symbol.toStringTag,{value:"Module"})));var K8={exports:{}};/*!
920
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Q$="1.15.1";function yo(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var ko=yo(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),bl=yo(/Edge/i),M8=yo(/firefox/i),Cl=yo(/safari/i)&&!yo(/chrome/i)&&!yo(/android/i),j8=yo(/iP(ad|od|hone)/i),E8=yo(/chrome/i)&&yo(/android/i),_8={capture:!1,passive:!1};function wt(e,t,n){e.addEventListener(t,n,!ko&&_8)}function Ct(e,t,n){e.removeEventListener(t,n,!ko&&_8)}function Oc(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function eM(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Tr(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Oc(e,t):Oc(e,t))||o&&e===n)return e;if(e===n)break}while(e=eM(e))}return null}var I8=/\s+/g;function en(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(I8," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(I8," ")}}function Ve(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function Hi(e,t){var n="";if(typeof e=="string")n=e;else do{var o=Ve(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function T8(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,a=o.length;if(n)for(;i<a;i++)n(o[i],i);return o}return[]}function to(){var e=document.scrollingElement;return e||document.documentElement}function Gt(e,t,n,o,i){if(!(!e.getBoundingClientRect&&e!==window)){var a,s,c,u,g,C,v;if(e!==window&&e.parentNode&&e!==to()?(a=e.getBoundingClientRect(),s=a.top,c=a.left,u=a.bottom,g=a.right,C=a.height,v=a.width):(s=0,c=0,u=window.innerHeight,g=window.innerWidth,C=window.innerHeight,v=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!ko))do if(i&&i.getBoundingClientRect&&(Ve(i,"transform")!=="none"||n&&Ve(i,"position")!=="static")){var y=i.getBoundingClientRect();s-=y.top+parseInt(Ve(i,"border-top-width")),c-=y.left+parseInt(Ve(i,"border-left-width")),u=s+a.height,g=c+a.width;break}while(i=i.parentNode);if(o&&e!==window){var _=Hi(i||e),M=_&&_.a,E=_&&_.d;_&&(s/=E,c/=M,v/=M,C/=E,u=s+C,g=c+v)}return{top:s,left:c,bottom:u,right:g,width:v,height:C}}}function F8(e){var t=Gt(e),n=parseInt(Ve(e,"padding-left")),o=parseInt(Ve(e,"padding-top")),i=parseInt(Ve(e,"padding-right")),a=parseInt(Ve(e,"padding-bottom"));return t.top+=o+parseInt(Ve(e,"border-top-width")),t.left+=n+parseInt(Ve(e,"border-left-width")),t.width=e.clientWidth-n-i,t.height=e.clientHeight-o-a,t.bottom=t.top+t.height,t.right=t.left+t.width,t}function O8(e,t,n){for(var o=ni(e,!0),i=Gt(e)[t];o;){var a=Gt(o)[n],s=void 0;if(n==="top"||n==="left"?s=i>=a:s=i<=a,!s)return o;if(o===to())break;o=ni(o,!1)}return!1}function D1(e,t,n,o){for(var i=0,a=0,s=e.children;a<s.length;){if(s[a].style.display!=="none"&&s[a]!==nt.ghost&&(o||s[a]!==nt.dragged)&&Tr(s[a],n.draggable,e,!1)){if(i===t)return s[a];i++}a++}return null}function V0(e,t){for(var n=e.lastElementChild;n&&(n===nt.ghost||Ve(n,"display")==="none"||t&&!Oc(n,t));)n=n.previousElementSibling;return n||null}function on(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==nt.clone&&(!t||Oc(e,t))&&n++;return n}function P8(e){var t=0,n=0,o=to();if(e)do{var i=Hi(e),a=i.a,s=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*s}while(e!==o&&(e=e.parentNode));return[t,n]}function tM(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function ni(e,t){if(!e||!e.getBoundingClientRect)return to();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=Ve(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return to();if(o||t)return n;o=!0}}while(n=n.parentNode);return to()}function nM(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function B0(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var xl;function H8(e,t){return function(){if(!xl){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),xl=setTimeout(function(){xl=void 0},t)}}}function rM(){clearTimeout(xl),xl=void 0}function D8(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function N0(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function A8(e,t){Ve(e,"position","absolute"),Ve(e,"top",t.top),Ve(e,"left",t.left),Ve(e,"width",t.width),Ve(e,"height",t.height)}function Z0(e){Ve(e,"position",""),Ve(e,"top",""),Ve(e,"left",""),Ve(e,"width",""),Ve(e,"height","")}var In="Sortable"+new Date().getTime();function oM(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(Ve(i,"display")==="none"||i===nt.ghost)){e.push({target:i,rect:Gt(i)});var a=eo({},e[e.length-1].rect);if(i.thisAnimationDuration){var s=Hi(i,!0);s&&(a.top-=s.f,a.left-=s.e)}i.fromRect=a}})}},addAnimationState:function(o){e.push(o)},removeAnimationState:function(o){e.splice(tM(e,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(t),typeof o=="function"&&o();return}var a=!1,s=0;e.forEach(function(c){var u=0,g=c.target,C=g.fromRect,v=Gt(g),y=g.prevFromRect,_=g.prevToRect,M=c.rect,E=Hi(g,!0);E&&(v.top-=E.f,v.left-=E.e),g.toRect=v,g.thisAnimationDuration&&B0(y,v)&&!B0(C,v)&&(M.top-v.top)/(M.left-v.left)===(C.top-v.top)/(C.left-v.left)&&(u=aM(M,y,_,i.options)),B0(v,C)||(g.prevFromRect=C,g.prevToRect=v,u||(u=i.options.animation),i.animate(g,M,v,u)),u&&(a=!0,s=Math.max(s,u),clearTimeout(g.animationResetTimer),g.animationResetTimer=setTimeout(function(){g.animationTime=0,g.prevFromRect=null,g.fromRect=null,g.prevToRect=null,g.thisAnimationDuration=null},u),g.thisAnimationDuration=u)}),clearTimeout(t),a?t=setTimeout(function(){typeof o=="function"&&o()},s):typeof o=="function"&&o(),e=[]},animate:function(o,i,a,s){if(s){Ve(o,"transition",""),Ve(o,"transform","");var c=Hi(this.el),u=c&&c.a,g=c&&c.d,C=(i.left-a.left)/(u||1),v=(i.top-a.top)/(g||1);o.animatingX=!!C,o.animatingY=!!v,Ve(o,"transform","translate3d("+C+"px,"+v+"px,0)"),this.forRepaintDummy=iM(o),Ve(o,"transition","transform "+s+"ms"+(this.options.easing?" "+this.options.easing:"")),Ve(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){Ve(o,"transition",""),Ve(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},s)}}}}function iM(e){return e.offsetWidth}function aM(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var A1=[],U0={initializeByDefault:!0},wl={mount:function(t){for(var n in U0)U0.hasOwnProperty(n)&&!(n in t)&&(t[n]=U0[n]);A1.forEach(function(o){if(o.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),A1.push(t)},pluginEvent:function(t,n,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var a=t+"Global";A1.forEach(function(s){n[s.pluginName]&&(n[s.pluginName][a]&&n[s.pluginName][a](eo({sortable:n},o)),n.options[s.pluginName]&&n[s.pluginName][t]&&n[s.pluginName][t](eo({sortable:n},o)))})},initializePlugins:function(t,n,o,i){A1.forEach(function(c){var u=c.pluginName;if(!(!t.options[u]&&!c.initializeByDefault)){var g=new c(t,n,t.options);g.sortable=t,g.options=t.options,t[u]=g,vr(o,g.defaults)}});for(var a in t.options)if(t.options.hasOwnProperty(a)){var s=this.modifyOption(t,a,t.options[a]);typeof s<"u"&&(t.options[a]=s)}},getEventProperties:function(t,n){var o={};return A1.forEach(function(i){typeof i.eventProperties=="function"&&vr(o,i.eventProperties.call(n[i.pluginName],t))}),o},modifyOption:function(t,n,o){var i;return A1.forEach(function(a){t[a.pluginName]&&a.optionListeners&&typeof a.optionListeners[n]=="function"&&(i=a.optionListeners[n].call(t[a.pluginName],o))}),i}};function yl(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,a=e.cloneEl,s=e.toEl,c=e.fromEl,u=e.oldIndex,g=e.newIndex,C=e.oldDraggableIndex,v=e.newDraggableIndex,y=e.originalEvent,_=e.putSortable,M=e.extraEventProperties;if(t=t||n&&n[In],!!t){var E,I=t.options,j="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!ko&&!bl?E=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(o,!0,!0)),E.to=s||n,E.from=c||n,E.item=i||n,E.clone=a,E.oldIndex=u,E.newIndex=g,E.oldDraggableIndex=C,E.newDraggableIndex=v,E.originalEvent=y,E.pullMode=_?_.lastPutMode:void 0;var R=eo(eo({},M),wl.getEventProperties(o,t));for(var P in R)E[P]=R[P];n&&n.dispatchEvent(E),I[j]&&I[j].call(t,E)}}var lM=["evt"],Un=function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,a=G$(o,lM);wl.pluginEvent.bind(nt)(t,n,eo({dragEl:_e,parentEl:an,ghostEl:pt,rootEl:Jt,nextEl:Di,lastDownEl:Pc,cloneEl:tn,cloneHidden:ri,dragStarted:Sl,putSortable:Ln,activeSortable:nt.active,originalEvent:i,oldIndex:R1,oldDraggableIndex:kl,newIndex:or,newDraggableIndex:oi,hideGhostForTarget:W8,unhideGhostForTarget:z8,cloneNowHidden:function(){ri=!0},cloneNowShown:function(){ri=!1},dispatchSortableEvent:function(c){Fn({sortable:n,name:c,originalEvent:i})}},a))};function Fn(e){yl(eo({putSortable:Ln,cloneEl:tn,targetEl:_e,rootEl:Jt,oldIndex:R1,oldDraggableIndex:kl,newIndex:or,newDraggableIndex:oi},e))}var _e,an,pt,Jt,Di,Pc,tn,ri,R1,or,kl,oi,Hc,Ln,V1=!1,Dc=!1,Ac=[],Ai,Fr,W0,z0,R8,V8,Sl,B1,Ll,$l=!1,Rc=!1,Vc,Tn,G0=[],Y0=!1,Bc=[],Nc=typeof document<"u",Zc=j8,B8=bl||ko?"cssFloat":"float",sM=Nc&&!E8&&!j8&&"draggable"in document.createElement("div"),N8=function(){if(Nc){if(ko)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Z8=function(t,n){var o=Ve(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),a=D1(t,0,n),s=D1(t,1,n),c=a&&Ve(a),u=s&&Ve(s),g=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+Gt(a).width,C=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+Gt(s).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&c.float&&c.float!=="none"){var v=c.float==="left"?"left":"right";return s&&(u.clear==="both"||u.clear===v)?"vertical":"horizontal"}return a&&(c.display==="block"||c.display==="flex"||c.display==="table"||c.display==="grid"||g>=i&&o[B8]==="none"||s&&o[B8]==="none"&&g+C>i)?"vertical":"horizontal"},cM=function(t,n,o){var i=o?t.left:t.top,a=o?t.right:t.bottom,s=o?t.width:t.height,c=o?n.left:n.top,u=o?n.right:n.bottom,g=o?n.width:n.height;return i===c||a===u||i+s/2===c+g/2},dM=function(t,n){var o;return Ac.some(function(i){var a=i[In].options.emptyInsertThreshold;if(!(!a||V0(i))){var s=Gt(i),c=t>=s.left-a&&t<=s.right+a,u=n>=s.top-a&&n<=s.bottom+a;if(c&&u)return o=i}}),o},U8=function(t){function n(a,s){return function(c,u,g,C){var v=c.options.group.name&&u.options.group.name&&c.options.group.name===u.options.group.name;if(a==null&&(s||v))return!0;if(a==null||a===!1)return!1;if(s&&a==="clone")return a;if(typeof a=="function")return n(a(c,u,g,C),s)(c,u,g,C);var y=(s?c:u).options.group.name;return a===!0||typeof a=="string"&&a===y||a.join&&a.indexOf(y)>-1}}var o={},i=t.group;(!i||Fc(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=n(i.pull,!0),o.checkPut=n(i.put),o.revertClone=i.revertClone,t.group=o},W8=function(){!N8&&pt&&Ve(pt,"display","none")},z8=function(){!N8&&pt&&Ve(pt,"display","")};Nc&&!E8&&document.addEventListener("click",function(e){if(Dc)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Dc=!1,!1},!0);var Ri=function(t){if(_e){t=t.touches?t.touches[0]:t;var n=dM(t.clientX,t.clientY);if(n){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=n,o.preventDefault=void 0,o.stopPropagation=void 0,n[In]._onDragOver(o)}}},uM=function(t){_e&&_e.parentNode[In]._isOutsideThisEl(t.target)};function nt(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=vr({},t),e[In]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Z8(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(s,c){s.setData("Text",c.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:nt.supportPointer!==!1&&"PointerEvent"in window&&!Cl,emptyInsertThreshold:5};wl.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);U8(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:sM,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?wt(e,"pointerdown",this._onTapStart):(wt(e,"mousedown",this._onTapStart),wt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(wt(e,"dragover",this),wt(e,"dragenter",this)),Ac.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),vr(this,oM())}nt.prototype={constructor:nt,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(B1=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,_e):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,o=this.el,i=this.options,a=i.preventOnFilter,s=t.type,c=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,u=(c||t).target,g=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,C=i.filter;if(CM(o),!_e&&!(/mousedown|pointerdown/.test(s)&&t.button!==0||i.disabled)&&!g.isContentEditable&&!(!this.nativeDraggable&&Cl&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=Tr(u,i.draggable,o,!1),!(u&&u.animated)&&Pc!==u)){if(R1=on(u),kl=on(u,i.draggable),typeof C=="function"){if(C.call(this,t,u,this)){Fn({sortable:n,rootEl:g,name:"filter",targetEl:u,toEl:o,fromEl:o}),Un("filter",n,{evt:t}),a&&t.cancelable&&t.preventDefault();return}}else if(C&&(C=C.split(",").some(function(v){if(v=Tr(g,v.trim(),o,!1),v)return Fn({sortable:n,rootEl:v,name:"filter",targetEl:u,fromEl:o,toEl:o}),Un("filter",n,{evt:t}),!0}),C)){a&&t.cancelable&&t.preventDefault();return}i.handle&&!Tr(g,i.handle,o,!1)||this._prepareDragStart(t,c,u)}}},_prepareDragStart:function(t,n,o){var i=this,a=i.el,s=i.options,c=a.ownerDocument,u;if(o&&!_e&&o.parentNode===a){var g=Gt(o);if(Jt=a,_e=o,an=_e.parentNode,Di=_e.nextSibling,Pc=o,Hc=s.group,nt.dragged=_e,Ai={target:_e,clientX:(n||t).clientX,clientY:(n||t).clientY},R8=Ai.clientX-g.left,V8=Ai.clientY-g.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,_e.style["will-change"]="all",u=function(){if(Un("delayEnded",i,{evt:t}),nt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!M8&&i.nativeDraggable&&(_e.draggable=!0),i._triggerDragStart(t,n),Fn({sortable:i,name:"choose",originalEvent:t}),en(_e,s.chosenClass,!0)},s.ignore.split(",").forEach(function(C){T8(_e,C.trim(),X0)}),wt(c,"dragover",Ri),wt(c,"mousemove",Ri),wt(c,"touchmove",Ri),wt(c,"mouseup",i._onDrop),wt(c,"touchend",i._onDrop),wt(c,"touchcancel",i._onDrop),M8&&this.nativeDraggable&&(this.options.touchStartThreshold=4,_e.draggable=!0),Un("delayStart",this,{evt:t}),s.delay&&(!s.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(bl||ko))){if(nt.eventCanceled){this._onDrop();return}wt(c,"mouseup",i._disableDelayedDrag),wt(c,"touchend",i._disableDelayedDrag),wt(c,"touchcancel",i._disableDelayedDrag),wt(c,"mousemove",i._delayedDragTouchMoveHandler),wt(c,"touchmove",i._delayedDragTouchMoveHandler),s.supportPointer&&wt(c,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(u,s.delay)}else u()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){_e&&X0(_e),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Ct(t,"mouseup",this._disableDelayedDrag),Ct(t,"touchend",this._disableDelayedDrag),Ct(t,"touchcancel",this._disableDelayedDrag),Ct(t,"mousemove",this._delayedDragTouchMoveHandler),Ct(t,"touchmove",this._delayedDragTouchMoveHandler),Ct(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?wt(document,"pointermove",this._onTouchMove):n?wt(document,"touchmove",this._onTouchMove):wt(document,"mousemove",this._onTouchMove):(wt(_e,"dragend",this),wt(Jt,"dragstart",this._onDragStart));try{document.selection?Wc(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(V1=!1,Jt&&_e){Un("dragStarted",this,{evt:n}),this.nativeDraggable&&wt(document,"dragover",uM);var o=this.options;!t&&en(_e,o.dragClass,!1),en(_e,o.ghostClass,!0),nt.active=this,t&&this._appendGhost(),Fn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Fr){this._lastX=Fr.clientX,this._lastY=Fr.clientY,W8();for(var t=document.elementFromPoint(Fr.clientX,Fr.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Fr.clientX,Fr.clientY),t!==n);)n=t;if(_e.parentNode[In]._isOutsideThisEl(t),n)do{if(n[In]){var o=void 0;if(o=n[In]._onDragOver({clientX:Fr.clientX,clientY:Fr.clientY,target:t,rootEl:n}),o&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);z8()}},_onTouchMove:function(t){if(Ai){var n=this.options,o=n.fallbackTolerance,i=n.fallbackOffset,a=t.touches?t.touches[0]:t,s=pt&&Hi(pt,!0),c=pt&&s&&s.a,u=pt&&s&&s.d,g=Zc&&Tn&&P8(Tn),C=(a.clientX-Ai.clientX+i.x)/(c||1)+(g?g[0]-G0[0]:0)/(c||1),v=(a.clientY-Ai.clientY+i.y)/(u||1)+(g?g[1]-G0[1]:0)/(u||1);if(!nt.active&&!V1){if(o&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<o)return;this._onDragStart(t,!0)}if(pt){s?(s.e+=C-(W0||0),s.f+=v-(z0||0)):s={a:1,b:0,c:0,d:1,e:C,f:v};var y="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");Ve(pt,"webkitTransform",y),Ve(pt,"mozTransform",y),Ve(pt,"msTransform",y),Ve(pt,"transform",y),W0=C,z0=v,Fr=a}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!pt){var t=this.options.fallbackOnBody?document.body:Jt,n=Gt(_e,!0,Zc,!0,t),o=this.options;if(Zc){for(Tn=t;Ve(Tn,"position")==="static"&&Ve(Tn,"transform")==="none"&&Tn!==document;)Tn=Tn.parentNode;Tn!==document.body&&Tn!==document.documentElement?(Tn===document&&(Tn=to()),n.top+=Tn.scrollTop,n.left+=Tn.scrollLeft):Tn=to(),G0=P8(Tn)}pt=_e.cloneNode(!0),en(pt,o.ghostClass,!1),en(pt,o.fallbackClass,!0),en(pt,o.dragClass,!0),Ve(pt,"transition",""),Ve(pt,"transform",""),Ve(pt,"box-sizing","border-box"),Ve(pt,"margin",0),Ve(pt,"top",n.top),Ve(pt,"left",n.left),Ve(pt,"width",n.width),Ve(pt,"height",n.height),Ve(pt,"opacity","0.8"),Ve(pt,"position",Zc?"absolute":"fixed"),Ve(pt,"zIndex","100000"),Ve(pt,"pointerEvents","none"),nt.ghost=pt,t.appendChild(pt),Ve(pt,"transform-origin",R8/parseInt(pt.style.width)*100+"% "+V8/parseInt(pt.style.height)*100+"%")}},_onDragStart:function(t,n){var o=this,i=t.dataTransfer,a=o.options;if(Un("dragStart",this,{evt:t}),nt.eventCanceled){this._onDrop();return}Un("setupClone",this),nt.eventCanceled||(tn=N0(_e),tn.removeAttribute("id"),tn.draggable=!1,tn.style["will-change"]="",this._hideClone(),en(tn,this.options.chosenClass,!1),nt.clone=tn),o.cloneId=Wc(function(){Un("clone",o),!nt.eventCanceled&&(o.options.removeCloneOnHide||Jt.insertBefore(tn,_e),o._hideClone(),Fn({sortable:o,name:"clone"}))}),!n&&en(_e,a.dragClass,!0),n?(Dc=!0,o._loopId=setInterval(o._emulateDragOver,50)):(Ct(document,"mouseup",o._onDrop),Ct(document,"touchend",o._onDrop),Ct(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",a.setData&&a.setData.call(o,i,_e)),wt(document,"drop",o),Ve(_e,"transform","translateZ(0)")),V1=!0,o._dragStartId=Wc(o._dragStarted.bind(o,n,t)),wt(document,"selectstart",o),Sl=!0,Cl&&Ve(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,o=t.target,i,a,s,c=this.options,u=c.group,g=nt.active,C=Hc===u,v=c.sort,y=Ln||g,_,M=this,E=!1;if(Y0)return;function I(ye,pe){Un(ye,M,eo({evt:t,isOwner:C,axis:_?"vertical":"horizontal",revert:s,dragRect:i,targetRect:a,canSort:v,fromSortable:y,target:o,completed:R,onMove:function(Se,De){return Uc(Jt,n,_e,i,Se,Gt(Se),t,De)},changed:P},pe))}function j(){I("dragOverAnimationCapture"),M.captureAnimationState(),M!==y&&y.captureAnimationState()}function R(ye){return I("dragOverCompleted",{insertion:ye}),ye&&(C?g._hideClone():g._showClone(M),M!==y&&(en(_e,Ln?Ln.options.ghostClass:g.options.ghostClass,!1),en(_e,c.ghostClass,!0)),Ln!==M&&M!==nt.active?Ln=M:M===nt.active&&Ln&&(Ln=null),y===M&&(M._ignoreWhileAnimating=o),M.animateAll(function(){I("dragOverAnimationComplete"),M._ignoreWhileAnimating=null}),M!==y&&(y.animateAll(),y._ignoreWhileAnimating=null)),(o===_e&&!_e.animated||o===n&&!o.animated)&&(B1=null),!c.dragoverBubble&&!t.rootEl&&o!==document&&(_e.parentNode[In]._isOutsideThisEl(t.target),!ye&&Ri(t)),!c.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),E=!0}function P(){or=on(_e),oi=on(_e,c.draggable),Fn({sortable:M,name:"change",toEl:n,newIndex:or,newDraggableIndex:oi,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),o=Tr(o,c.draggable,n,!0),I("dragOver"),nt.eventCanceled)return E;if(_e.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||M._ignoreWhileAnimating===o)return R(!1);if(Dc=!1,g&&!c.disabled&&(C?v||(s=an!==Jt):Ln===this||(this.lastPutMode=Hc.checkPull(this,g,_e,t))&&u.checkPut(this,g,_e,t))){if(_=this._getDirection(t,o)==="vertical",i=Gt(_e),I("dragOverValid"),nt.eventCanceled)return E;if(s)return an=Jt,j(),this._hideClone(),I("revert"),nt.eventCanceled||(Di?Jt.insertBefore(_e,Di):Jt.appendChild(_e)),R(!0);var B=V0(n,c.draggable);if(!B||gM(t,_,this)&&!B.animated){if(B===_e)return R(!1);if(B&&n===t.target&&(o=B),o&&(a=Gt(o)),Uc(Jt,n,_e,i,o,a,t,!!o)!==!1)return j(),B&&B.nextSibling?n.insertBefore(_e,B.nextSibling):n.appendChild(_e),an=n,P(),R(!0)}else if(B&&hM(t,_,this)){var D=D1(n,0,c,!0);if(D===_e)return R(!1);if(o=D,a=Gt(o),Uc(Jt,n,_e,i,o,a,t,!1)!==!1)return j(),n.insertBefore(_e,D),an=n,P(),R(!0)}else if(o.parentNode===n){a=Gt(o);var H=0,A,G=_e.parentNode!==n,K=!cM(_e.animated&&_e.toRect||i,o.animated&&o.toRect||a,_),Q=_?"top":"left",le=O8(o,"top","top")||O8(_e,"top","top"),se=le?le.scrollTop:void 0;B1!==o&&(A=a[Q],$l=!1,Rc=!K&&c.invertSwap||G),H=vM(t,o,a,_,K?1:c.swapThreshold,c.invertedSwapThreshold==null?c.swapThreshold:c.invertedSwapThreshold,Rc,B1===o);var fe;if(H!==0){var te=on(_e);do te-=H,fe=an.children[te];while(fe&&(Ve(fe,"display")==="none"||fe===pt))}if(H===0||fe===o)return R(!1);B1=o,Ll=H;var ge=o.nextElementSibling,ie=!1;ie=H===1;var me=Uc(Jt,n,_e,i,o,a,t,ie);if(me!==!1)return(me===1||me===-1)&&(ie=me===1),Y0=!0,setTimeout(pM,30),j(),ie&&!ge?n.appendChild(_e):o.parentNode.insertBefore(_e,ie?ge:o),le&&D8(le,0,se-le.scrollTop),an=_e.parentNode,A!==void 0&&!Rc&&(Vc=Math.abs(A-Gt(o)[Q])),P(),R(!0)}if(n.contains(_e))return R(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ct(document,"mousemove",this._onTouchMove),Ct(document,"touchmove",this._onTouchMove),Ct(document,"pointermove",this._onTouchMove),Ct(document,"dragover",Ri),Ct(document,"mousemove",Ri),Ct(document,"touchmove",Ri)},_offUpEvents:function(){var t=this.el.ownerDocument;Ct(t,"mouseup",this._onDrop),Ct(t,"touchend",this._onDrop),Ct(t,"pointerup",this._onDrop),Ct(t,"touchcancel",this._onDrop),Ct(document,"selectstart",this)},_onDrop:function(t){var n=this.el,o=this.options;if(or=on(_e),oi=on(_e,o.draggable),Un("drop",this,{evt:t}),an=_e&&_e.parentNode,or=on(_e),oi=on(_e,o.draggable),nt.eventCanceled){this._nulling();return}V1=!1,Rc=!1,$l=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),K0(this.cloneId),K0(this._dragStartId),this.nativeDraggable&&(Ct(document,"drop",this),Ct(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Cl&&Ve(document.body,"user-select",""),Ve(_e,"transform",""),t&&(Sl&&(t.cancelable&&t.preventDefault(),!o.dropBubble&&t.stopPropagation()),pt&&pt.parentNode&&pt.parentNode.removeChild(pt),(Jt===an||Ln&&Ln.lastPutMode!=="clone")&&tn&&tn.parentNode&&tn.parentNode.removeChild(tn),_e&&(this.nativeDraggable&&Ct(_e,"dragend",this),X0(_e),_e.style["will-change"]="",Sl&&!V1&&en(_e,Ln?Ln.options.ghostClass:this.options.ghostClass,!1),en(_e,this.options.chosenClass,!1),Fn({sortable:this,name:"unchoose",toEl:an,newIndex:null,newDraggableIndex:null,originalEvent:t}),Jt!==an?(or>=0&&(Fn({rootEl:an,name:"add",toEl:an,fromEl:Jt,originalEvent:t}),Fn({sortable:this,name:"remove",toEl:an,originalEvent:t}),Fn({rootEl:an,name:"sort",toEl:an,fromEl:Jt,originalEvent:t}),Fn({sortable:this,name:"sort",toEl:an,originalEvent:t})),Ln&&Ln.save()):or!==R1&&or>=0&&(Fn({sortable:this,name:"update",toEl:an,originalEvent:t}),Fn({sortable:this,name:"sort",toEl:an,originalEvent:t})),nt.active&&((or==null||or===-1)&&(or=R1,oi=kl),Fn({sortable:this,name:"end",toEl:an,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Un("nulling",this),Jt=_e=an=pt=Di=tn=Pc=ri=Ai=Fr=Sl=or=oi=R1=kl=B1=Ll=Ln=Hc=nt.dragged=nt.ghost=nt.clone=nt.active=null,Bc.forEach(function(t){t.checked=!0}),Bc.length=W0=z0=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":_e&&(this._onDragOver(t),fM(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,o=this.el.children,i=0,a=o.length,s=this.options;i<a;i++)n=o[i],Tr(n,s.draggable,this.el,!1)&&t.push(n.getAttribute(s.dataIdAttr)||bM(n));return t},sort:function(t,n){var o={},i=this.el;this.toArray().forEach(function(a,s){var c=i.children[s];Tr(c,this.options.draggable,i,!1)&&(o[a]=c)},this),n&&this.captureAnimationState(),t.forEach(function(a){o[a]&&(i.removeChild(o[a]),i.appendChild(o[a]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Tr(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var o=this.options;if(n===void 0)return o[t];var i=wl.modifyOption(this,t,n);typeof i<"u"?o[t]=i:o[t]=n,t==="group"&&U8(o)},destroy:function(){Un("destroy",this);var t=this.el;t[In]=null,Ct(t,"mousedown",this._onTapStart),Ct(t,"touchstart",this._onTapStart),Ct(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ct(t,"dragover",this),Ct(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ac.splice(Ac.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ri){if(Un("hideClone",this),nt.eventCanceled)return;Ve(tn,"display","none"),this.options.removeCloneOnHide&&tn.parentNode&&tn.parentNode.removeChild(tn),ri=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(ri){if(Un("showClone",this),nt.eventCanceled)return;_e.parentNode==Jt&&!this.options.group.revertClone?Jt.insertBefore(tn,_e):Di?Jt.insertBefore(tn,Di):Jt.appendChild(tn),this.options.group.revertClone&&this.animate(_e,tn),Ve(tn,"display",""),ri=!1}}};function fM(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Uc(e,t,n,o,i,a,s,c){var u,g=e[In],C=g.options.onMove,v;return window.CustomEvent&&!ko&&!bl?u=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(u=document.createEvent("Event"),u.initEvent("move",!0,!0)),u.to=t,u.from=e,u.dragged=n,u.draggedRect=o,u.related=i||t,u.relatedRect=a||Gt(t),u.willInsertAfter=c,u.originalEvent=s,e.dispatchEvent(u),C&&(v=C.call(g,u,s)),v}function X0(e){e.draggable=!1}function pM(){Y0=!1}function hM(e,t,n){var o=Gt(D1(n.el,0,n.options,!0)),i=F8(n.el),a=10;return t?e.clientX<i.left-a||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-a||e.clientY<o.bottom&&e.clientX<o.left}function gM(e,t,n){var o=Gt(V0(n.el,n.options.draggable)),i=F8(n.el),a=10;return t?e.clientX>i.right+a||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+a||e.clientX>o.right&&e.clientY>o.top}function vM(e,t,n,o,i,a,s,c){var u=o?e.clientY:e.clientX,g=o?n.height:n.width,C=o?n.top:n.left,v=o?n.bottom:n.right,y=!1;if(!s){if(c&&Vc<g*i){if(!$l&&(Ll===1?u>C+g*a/2:u<v-g*a/2)&&($l=!0),$l)y=!0;else if(Ll===1?u<C+Vc:u>v-Vc)return-Ll}else if(u>C+g*(1-i)/2&&u<v-g*(1-i)/2)return mM(t)}return y=y||s,y&&(u<C+g*a/2||u>v-g*a/2)?u>C+g/2?1:-1:0}function mM(e){return on(_e)<on(e)?1:-1}function bM(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function CM(e){Bc.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&Bc.push(o)}}function Wc(e){return setTimeout(e,0)}function K0(e){return clearTimeout(e)}Nc&&wt(document,"touchmove",function(e){(nt.active||V1)&&e.cancelable&&e.preventDefault()}),nt.utils={on:wt,off:Ct,css:Ve,find:T8,is:function(t,n){return!!Tr(t,n,t,!1)},extend:nM,throttle:H8,closest:Tr,toggleClass:en,clone:N0,index:on,nextTick:Wc,cancelNextTick:K0,detectDirection:Z8,getChild:D1},nt.get=function(e){return e[In]},nt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(nt.utils=eo(eo({},nt.utils),o.utils)),wl.mount(o)})},nt.create=function(e,t){return new nt(e,t)},nt.version=Q$;var dn=[],Ml,J0,q0=!1,Q0,e4,zc,jl;function xM(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var o=n.originalEvent;this.sortable.nativeDraggable?wt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?wt(document,"pointermove",this._handleFallbackAutoScroll):o.touches?wt(document,"touchmove",this._handleFallbackAutoScroll):wt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var o=n.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?Ct(document,"dragover",this._handleAutoScroll):(Ct(document,"pointermove",this._handleFallbackAutoScroll),Ct(document,"touchmove",this._handleFallbackAutoScroll),Ct(document,"mousemove",this._handleFallbackAutoScroll)),G8(),Gc(),rM()},nulling:function(){zc=J0=Ml=q0=jl=Q0=e4=null,dn.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,o){var i=this,a=(n.touches?n.touches[0]:n).clientX,s=(n.touches?n.touches[0]:n).clientY,c=document.elementFromPoint(a,s);if(zc=n,o||this.options.forceAutoScrollFallback||bl||ko||Cl){t4(n,this.options,c,o);var u=ni(c,!0);q0&&(!jl||a!==Q0||s!==e4)&&(jl&&G8(),jl=setInterval(function(){var g=ni(document.elementFromPoint(a,s),!0);g!==u&&(u=g,Gc()),t4(n,i.options,g,o)},10),Q0=a,e4=s)}else{if(!this.options.bubbleScroll||ni(c,!0)===to()){Gc();return}t4(n,this.options,ni(c,!1),!1)}}},vr(e,{pluginName:"scroll",initializeByDefault:!0})}function Gc(){dn.forEach(function(e){clearInterval(e.pid)}),dn=[]}function G8(){clearInterval(jl)}var t4=H8(function(e,t,n,o){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,c=t.scrollSpeed,u=to(),g=!1,C;J0!==n&&(J0=n,Gc(),Ml=t.scroll,C=t.scrollFn,Ml===!0&&(Ml=ni(n,!0)));var v=0,y=Ml;do{var _=y,M=Gt(_),E=M.top,I=M.bottom,j=M.left,R=M.right,P=M.width,B=M.height,D=void 0,H=void 0,A=_.scrollWidth,G=_.scrollHeight,K=Ve(_),Q=_.scrollLeft,le=_.scrollTop;_===u?(D=P<A&&(K.overflowX==="auto"||K.overflowX==="scroll"||K.overflowX==="visible"),H=B<G&&(K.overflowY==="auto"||K.overflowY==="scroll"||K.overflowY==="visible")):(D=P<A&&(K.overflowX==="auto"||K.overflowX==="scroll"),H=B<G&&(K.overflowY==="auto"||K.overflowY==="scroll"));var se=D&&(Math.abs(R-i)<=s&&Q+P<A)-(Math.abs(j-i)<=s&&!!Q),fe=H&&(Math.abs(I-a)<=s&&le+B<G)-(Math.abs(E-a)<=s&&!!le);if(!dn[v])for(var te=0;te<=v;te++)dn[te]||(dn[te]={});(dn[v].vx!=se||dn[v].vy!=fe||dn[v].el!==_)&&(dn[v].el=_,dn[v].vx=se,dn[v].vy=fe,clearInterval(dn[v].pid),(se!=0||fe!=0)&&(g=!0,dn[v].pid=setInterval((function(){o&&this.layer===0&&nt.active._onTouchMove(zc);var ge=dn[this.layer].vy?dn[this.layer].vy*c:0,ie=dn[this.layer].vx?dn[this.layer].vx*c:0;typeof C=="function"&&C.call(nt.dragged.parentNode[In],ie,ge,e,zc,dn[this.layer].el)!=="continue"||D8(dn[this.layer].el,ie,ge)}).bind({layer:v}),24))),v++}while(t.bubbleScroll&&y!==u&&(y=ni(y,!1)));q0=g}},30),Y8=function(t){var n=t.originalEvent,o=t.putSortable,i=t.dragEl,a=t.activeSortable,s=t.dispatchSortableEvent,c=t.hideGhostForTarget,u=t.unhideGhostForTarget;if(n){var g=o||a;c();var C=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,v=document.elementFromPoint(C.clientX,C.clientY);u(),g&&!g.el.contains(v)&&(s("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function n4(){}n4.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,o=t.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=D1(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),o&&o.animateAll()},drop:Y8},vr(n4,{pluginName:"revertOnSpill"});function r4(){}r4.prototype={onSpill:function(t){var n=t.dragEl,o=t.putSortable,i=o||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:Y8},vr(r4,{pluginName:"removeOnSpill"});var mr;function wM(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var o=n.dragEl;mr=o},dragOverValid:function(n){var o=n.completed,i=n.target,a=n.onMove,s=n.activeSortable,c=n.changed,u=n.cancel;if(s.options.swap){var g=this.sortable.el,C=this.options;if(i&&i!==g){var v=mr;a(i)!==!1?(en(i,C.swapClass,!0),mr=i):mr=null,v&&v!==mr&&en(v,C.swapClass,!1)}c(),o(!0),u()}},drop:function(n){var o=n.activeSortable,i=n.putSortable,a=n.dragEl,s=i||this.sortable,c=this.options;mr&&en(mr,c.swapClass,!1),mr&&(c.swap||i&&i.options.swap)&&a!==mr&&(s.captureAnimationState(),s!==o&&o.captureAnimationState(),yM(a,mr),s.animateAll(),s!==o&&o.animateAll())},nulling:function(){mr=null}},vr(e,{pluginName:"swap",eventProperties:function(){return{swapItem:mr}}})}function yM(e,t){var n=e.parentNode,o=t.parentNode,i,a;!n||!o||n.isEqualNode(t)||o.isEqualNode(e)||(i=on(e),a=on(t),n.isEqualNode(o)&&i<a&&a++,n.insertBefore(t,n.children[i]),o.insertBefore(e,o.children[a]))}var st=[],ir=[],El,Or,_l=!1,Wn=!1,N1=!1,At,Il,Yc;function kM(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.avoidImplicitDeselect||(t.options.supportPointer?wt(document,"pointerup",this._deselectMultiDrag):(wt(document,"mouseup",this._deselectMultiDrag),wt(document,"touchend",this._deselectMultiDrag))),wt(document,"keydown",this._checkKeyDown),wt(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(i,a){var s="";st.length&&Or===t?st.forEach(function(c,u){s+=(u?", ":"")+c.textContent}):s=a.textContent,i.setData("Text",s)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var o=n.dragEl;At=o},delayEnded:function(){this.isMultiDrag=~st.indexOf(At)},setupClone:function(n){var o=n.sortable,i=n.cancel;if(this.isMultiDrag){for(var a=0;a<st.length;a++)ir.push(N0(st[a])),ir[a].sortableIndex=st[a].sortableIndex,ir[a].draggable=!1,ir[a].style["will-change"]="",en(ir[a],this.options.selectedClass,!1),st[a]===At&&en(ir[a],this.options.chosenClass,!1);o._hideClone(),i()}},clone:function(n){var o=n.sortable,i=n.rootEl,a=n.dispatchSortableEvent,s=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||st.length&&Or===o&&(X8(!0,i),a("clone"),s()))},showClone:function(n){var o=n.cloneNowShown,i=n.rootEl,a=n.cancel;this.isMultiDrag&&(X8(!1,i),ir.forEach(function(s){Ve(s,"display","")}),o(),Yc=!1,a())},hideClone:function(n){var o=this;n.sortable;var i=n.cloneNowHidden,a=n.cancel;this.isMultiDrag&&(ir.forEach(function(s){Ve(s,"display","none"),o.options.removeCloneOnHide&&s.parentNode&&s.parentNode.removeChild(s)}),i(),Yc=!0,a())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Or&&Or.multiDrag._deselectMultiDrag(),st.forEach(function(o){o.sortableIndex=on(o)}),st=st.sort(function(o,i){return o.sortableIndex-i.sortableIndex}),N1=!0},dragStarted:function(n){var o=this,i=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){st.forEach(function(s){s!==At&&Ve(s,"position","absolute")});var a=Gt(At,!1,!0,!0);st.forEach(function(s){s!==At&&A8(s,a)}),Wn=!0,_l=!0}i.animateAll(function(){Wn=!1,_l=!1,o.options.animation&&st.forEach(function(s){Z0(s)}),o.options.sort&&Xc()})}},dragOver:function(n){var o=n.target,i=n.completed,a=n.cancel;Wn&&~st.indexOf(o)&&(i(!1),a())},revert:function(n){var o=n.fromSortable,i=n.rootEl,a=n.sortable,s=n.dragRect;st.length>1&&(st.forEach(function(c){a.addAnimationState({target:c,rect:Wn?Gt(c):s}),Z0(c),c.fromRect=s,o.removeAnimationState(c)}),Wn=!1,SM(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(n){var o=n.sortable,i=n.isOwner,a=n.insertion,s=n.activeSortable,c=n.parentEl,u=n.putSortable,g=this.options;if(a){if(i&&s._hideClone(),_l=!1,g.animation&&st.length>1&&(Wn||!i&&!s.options.sort&&!u)){var C=Gt(At,!1,!0,!0);st.forEach(function(y){y!==At&&(A8(y,C),c.appendChild(y))}),Wn=!0}if(!i)if(Wn||Xc(),st.length>1){var v=Yc;s._showClone(o),s.options.animation&&!Yc&&v&&ir.forEach(function(y){s.addAnimationState({target:y,rect:Il}),y.fromRect=Il,y.thisAnimationDuration=null})}else s._showClone(o)}},dragOverAnimationCapture:function(n){var o=n.dragRect,i=n.isOwner,a=n.activeSortable;if(st.forEach(function(c){c.thisAnimationDuration=null}),a.options.animation&&!i&&a.multiDrag.isMultiDrag){Il=vr({},o);var s=Hi(At,!0);Il.top-=s.f,Il.left-=s.e}},dragOverAnimationComplete:function(){Wn&&(Wn=!1,Xc())},drop:function(n){var o=n.originalEvent,i=n.rootEl,a=n.parentEl,s=n.sortable,c=n.dispatchSortableEvent,u=n.oldIndex,g=n.putSortable,C=g||this.sortable;if(o){var v=this.options,y=a.children;if(!N1)if(v.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),en(At,v.selectedClass,!~st.indexOf(At)),~st.indexOf(At))st.splice(st.indexOf(At),1),El=null,yl({sortable:s,rootEl:i,name:"deselect",targetEl:At,originalEvent:o});else{if(st.push(At),yl({sortable:s,rootEl:i,name:"select",targetEl:At,originalEvent:o}),o.shiftKey&&El&&s.el.contains(El)){var _=on(El),M=on(At);if(~_&&~M&&_!==M){var E,I;for(M>_?(I=_,E=M):(I=M,E=_+1);I<E;I++)~st.indexOf(y[I])||(en(y[I],v.selectedClass,!0),st.push(y[I]),yl({sortable:s,rootEl:i,name:"select",targetEl:y[I],originalEvent:o}))}}else El=At;Or=C}if(N1&&this.isMultiDrag){if(Wn=!1,(a[In].options.sort||a!==i)&&st.length>1){var j=Gt(At),R=on(At,":not(."+this.options.selectedClass+")");if(!_l&&v.animation&&(At.thisAnimationDuration=null),C.captureAnimationState(),!_l&&(v.animation&&(At.fromRect=j,st.forEach(function(B){if(B.thisAnimationDuration=null,B!==At){var D=Wn?Gt(B):j;B.fromRect=D,C.addAnimationState({target:B,rect:D})}})),Xc(),st.forEach(function(B){y[R]?a.insertBefore(B,y[R]):a.appendChild(B),R++}),u===on(At))){var P=!1;st.forEach(function(B){if(B.sortableIndex!==on(B)){P=!0;return}}),P&&(c("update"),c("sort"))}st.forEach(function(B){Z0(B)}),C.animateAll()}Or=C}(i===a||g&&g.lastPutMode!=="clone")&&ir.forEach(function(B){B.parentNode&&B.parentNode.removeChild(B)})}},nullingGlobal:function(){this.isMultiDrag=N1=!1,ir.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Ct(document,"pointerup",this._deselectMultiDrag),Ct(document,"mouseup",this._deselectMultiDrag),Ct(document,"touchend",this._deselectMultiDrag),Ct(document,"keydown",this._checkKeyDown),Ct(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof N1<"u"&&N1)&&Or===this.sortable&&!(n&&Tr(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;st.length;){var o=st[0];en(o,this.options.selectedClass,!1),st.shift(),yl({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:o,originalEvent:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},vr(e,{pluginName:"multiDrag",utils:{select:function(n){var o=n.parentNode[In];!o||!o.options.multiDrag||~st.indexOf(n)||(Or&&Or!==o&&(Or.multiDrag._deselectMultiDrag(),Or=o),en(n,o.options.selectedClass,!0),st.push(n))},deselect:function(n){var o=n.parentNode[In],i=st.indexOf(n);!o||!o.options.multiDrag||!~i||(en(n,o.options.selectedClass,!1),st.splice(i,1))}},eventProperties:function(){var n=this,o=[],i=[];return st.forEach(function(a){o.push({multiDragElement:a,index:a.sortableIndex});var s;Wn&&a!==At?s=-1:Wn?s=on(a,":not(."+n.options.selectedClass+")"):s=on(a),i.push({multiDragElement:a,index:s})}),{items:Y$(st),clones:[].concat(ir),oldIndicies:o,newIndicies:i}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function SM(e,t){st.forEach(function(n,o){var i=t.children[n.sortableIndex+(e?Number(o):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function X8(e,t){ir.forEach(function(n,o){var i=t.children[n.sortableIndex+(e?Number(o):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function Xc(){st.forEach(function(e){e!==At&&e.parentNode&&e.parentNode.removeChild(e)})}nt.mount(new xM),nt.mount(r4,n4);const LM=k5(Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:kM,Sortable:nt,Swap:wM,default:nt},Symbol.toStringTag,{value:"Module"})));var K8={exports:{}};/*!
921
921
  Copyright (c) 2018 Jed Watson.
922
922
  Licensed under the MIT License (MIT), see
923
923
  http://jedwatson.github.io/classnames
924
- */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o=[],i=0;i<arguments.length;i++){var a=arguments[i];if(a){var s=typeof a;if(s==="string"||s==="number")o.push(a);else if(Array.isArray(a)){if(a.length){var c=n.apply(null,a);c&&o.push(c)}}else if(s==="object")if(a.toString===Object.prototype.toString)for(var u in a)t.call(a,u)&&a[u]&&o.push(u);else o.push(a.toString())}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(K8);var $M=K8.exports,MM=process.env.NODE_ENV==="production",o4="Invariant failed";function jM(e,t){if(!e){if(MM)throw new Error(o4);var n=typeof t=="function"?t():t,o=n?o4+": "+n:o4;throw new Error(o)}}const EM=k5(Object.freeze(Object.defineProperty({__proto__:null,default:jM},Symbol.toStringTag,{value:"Module"})));(function(e){var t=LM,n=$M,o=p,i=EM;function a(H){return H&&H.__esModule?H.default:H}function s(H,A,G,K){Object.defineProperty(H,A,{get:G,set:K,enumerable:!0,configurable:!0})}function c(H,A){return Object.keys(A).forEach(function(G){G==="default"||G==="__esModule"||H.hasOwnProperty(G)||Object.defineProperty(H,G,{enumerable:!0,get:function(){return A[G]}})}),H}s(e.exports,"Sortable",()=>$882b6d93070905b3$re_export$Sortable),s(e.exports,"Direction",()=>$882b6d93070905b3$re_export$Direction),s(e.exports,"DOMRect",()=>$882b6d93070905b3$re_export$DOMRect),s(e.exports,"GroupOptions",()=>$882b6d93070905b3$re_export$GroupOptions),s(e.exports,"MoveEvent",()=>$882b6d93070905b3$re_export$MoveEvent),s(e.exports,"Options",()=>$882b6d93070905b3$re_export$Options),s(e.exports,"PullResult",()=>$882b6d93070905b3$re_export$PullResult),s(e.exports,"PutResult",()=>$882b6d93070905b3$re_export$PutResult),s(e.exports,"SortableEvent",()=>$882b6d93070905b3$re_export$SortableEvent),s(e.exports,"SortableOptions",()=>$882b6d93070905b3$re_export$SortableOptions),s(e.exports,"Utils",()=>$882b6d93070905b3$re_export$Utils),s(e.exports,"ReactSortable",()=>B);function u(H){H.parentElement!==null&&H.parentElement.removeChild(H)}function g(H,A,G){const K=H.children[G]||null;H.insertBefore(A,K)}function C(H){H.forEach(A=>u(A.element))}function v(H){H.forEach(A=>{g(A.parentElement,A.element,A.oldIndex)})}function y(H,A){const G=I(H),K={parentElement:H.from};let Q=[];switch(G){case"normal":Q=[{element:H.item,newIndex:H.newIndex,oldIndex:H.oldIndex,parentElement:H.from}];break;case"swap":const fe={element:H.item,oldIndex:H.oldIndex,newIndex:H.newIndex,...K},te={element:H.swapItem,oldIndex:H.newIndex,newIndex:H.oldIndex,...K};Q=[fe,te];break;case"multidrag":Q=H.oldIndicies.map((ge,ie)=>({element:ge.multiDragElement,oldIndex:ge.index,newIndex:H.newIndicies[ie].index,...K}));break}return j(Q,A)}function E(H,A){const G=M(H,A);return _(H,G)}function M(H,A){const G=[...A];return H.concat().reverse().forEach(K=>G.splice(K.oldIndex,1)),G}function _(H,A,G,K){const Q=[...A];return H.forEach(le=>{const se=K&&G&&K(le.item,G);Q.splice(le.newIndex,0,se||le.item)}),Q}function I(H){return H.oldIndicies&&H.oldIndicies.length>0?"multidrag":H.swapItem?"swap":"normal"}function j(H,A){return H.map(K=>({...K,item:A[K.oldIndex]})).sort((K,Q)=>K.oldIndex-Q.oldIndex)}function R(H){const{list:A,setList:G,children:K,tag:Q,style:le,className:se,clone:fe,onAdd:te,onChange:ge,onChoose:ie,onClone:me,onEnd:ye,onFilter:pe,onRemove:Me,onSort:Se,onStart:De,onUnchoose:de,onUpdate:xe,onMove:Ie,onSpill:Te,onSelect:Ge,onDeselect:gt,...Ce}=H;return Ce}const P={dragging:null};class B extends o.Component{constructor(A){super(A),this.ref=(0,o.createRef)();const G=[...A.list].map(K=>Object.assign(K,{chosen:!1,selected:!1}));A.setList(G,this.sortable,P),a(i)(!A.plugins,`
924
+ */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o=[],i=0;i<arguments.length;i++){var a=arguments[i];if(a){var s=typeof a;if(s==="string"||s==="number")o.push(a);else if(Array.isArray(a)){if(a.length){var c=n.apply(null,a);c&&o.push(c)}}else if(s==="object")if(a.toString===Object.prototype.toString)for(var u in a)t.call(a,u)&&a[u]&&o.push(u);else o.push(a.toString())}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(K8);var $M=K8.exports,MM=process.env.NODE_ENV==="production",o4="Invariant failed";function jM(e,t){if(!e){if(MM)throw new Error(o4);var n=typeof t=="function"?t():t,o=n?o4+": "+n:o4;throw new Error(o)}}const EM=k5(Object.freeze(Object.defineProperty({__proto__:null,default:jM},Symbol.toStringTag,{value:"Module"})));(function(e){var t=LM,n=$M,o=p,i=EM;function a(H){return H&&H.__esModule?H.default:H}function s(H,A,G,K){Object.defineProperty(H,A,{get:G,set:K,enumerable:!0,configurable:!0})}function c(H,A){return Object.keys(A).forEach(function(G){G==="default"||G==="__esModule"||H.hasOwnProperty(G)||Object.defineProperty(H,G,{enumerable:!0,get:function(){return A[G]}})}),H}s(e.exports,"Sortable",()=>$882b6d93070905b3$re_export$Sortable),s(e.exports,"Direction",()=>$882b6d93070905b3$re_export$Direction),s(e.exports,"DOMRect",()=>$882b6d93070905b3$re_export$DOMRect),s(e.exports,"GroupOptions",()=>$882b6d93070905b3$re_export$GroupOptions),s(e.exports,"MoveEvent",()=>$882b6d93070905b3$re_export$MoveEvent),s(e.exports,"Options",()=>$882b6d93070905b3$re_export$Options),s(e.exports,"PullResult",()=>$882b6d93070905b3$re_export$PullResult),s(e.exports,"PutResult",()=>$882b6d93070905b3$re_export$PutResult),s(e.exports,"SortableEvent",()=>$882b6d93070905b3$re_export$SortableEvent),s(e.exports,"SortableOptions",()=>$882b6d93070905b3$re_export$SortableOptions),s(e.exports,"Utils",()=>$882b6d93070905b3$re_export$Utils),s(e.exports,"ReactSortable",()=>B);function u(H){H.parentElement!==null&&H.parentElement.removeChild(H)}function g(H,A,G){const K=H.children[G]||null;H.insertBefore(A,K)}function C(H){H.forEach(A=>u(A.element))}function v(H){H.forEach(A=>{g(A.parentElement,A.element,A.oldIndex)})}function y(H,A){const G=I(H),K={parentElement:H.from};let Q=[];switch(G){case"normal":Q=[{element:H.item,newIndex:H.newIndex,oldIndex:H.oldIndex,parentElement:H.from}];break;case"swap":const fe={element:H.item,oldIndex:H.oldIndex,newIndex:H.newIndex,...K},te={element:H.swapItem,oldIndex:H.newIndex,newIndex:H.oldIndex,...K};Q=[fe,te];break;case"multidrag":Q=H.oldIndicies.map((ge,ie)=>({element:ge.multiDragElement,oldIndex:ge.index,newIndex:H.newIndicies[ie].index,...K}));break}return j(Q,A)}function _(H,A){const G=M(H,A);return E(H,G)}function M(H,A){const G=[...A];return H.concat().reverse().forEach(K=>G.splice(K.oldIndex,1)),G}function E(H,A,G,K){const Q=[...A];return H.forEach(le=>{const se=K&&G&&K(le.item,G);Q.splice(le.newIndex,0,se||le.item)}),Q}function I(H){return H.oldIndicies&&H.oldIndicies.length>0?"multidrag":H.swapItem?"swap":"normal"}function j(H,A){return H.map(K=>({...K,item:A[K.oldIndex]})).sort((K,Q)=>K.oldIndex-Q.oldIndex)}function R(H){const{list:A,setList:G,children:K,tag:Q,style:le,className:se,clone:fe,onAdd:te,onChange:ge,onChoose:ie,onClone:me,onEnd:ye,onFilter:pe,onRemove:Me,onSort:Se,onStart:De,onUnchoose:de,onUpdate:xe,onMove:Ie,onSpill:Te,onSelect:Ge,onDeselect:gt,...Ce}=H;return Ce}const P={dragging:null};class B extends o.Component{constructor(A){super(A),this.ref=(0,o.createRef)();const G=[...A.list].map(K=>Object.assign(K,{chosen:!1,selected:!1}));A.setList(G,this.sortable,P),a(i)(!A.plugins,`
925
925
  Plugins prop is no longer supported.
926
926
  Instead, mount it with "Sortable.mount(new MultiDrag())"
927
927
  Please read the updated README.md at https://github.com/SortableJS/react-sortablejs.
928
- `)}componentDidMount(){if(this.ref.current===null)return;const A=this.makeOptions();a(t).create(this.ref.current,A)}componentDidUpdate(A){A.disabled!==this.props.disabled&&this.sortable&&this.sortable.option("disabled",this.props.disabled)}render(){const{tag:A,style:G,className:K,id:Q}=this.props,le={style:G,className:K,id:Q},se=!A||A===null?"div":A;return(0,o.createElement)(se,{ref:this.ref,...le},this.getChildren())}getChildren(){const{children:A,dataIdAttr:G,selectedClass:K="sortable-selected",chosenClass:Q="sortable-chosen",dragClass:le="sortable-drag",fallbackClass:se="sortable-falback",ghostClass:fe="sortable-ghost",swapClass:te="sortable-swap-highlight",filter:ge="sortable-filter",list:ie}=this.props;if(!A||A==null)return null;const me=G||"data-id";return o.Children.map(A,(ye,pe)=>{if(ye===void 0)return;const Me=ie[pe]||{},{className:Se}=ye.props,De=typeof ge=="string"&&{[ge.replace(".","")]:!!Me.filtered},de=a(n)(Se,{[K]:Me.selected,[Q]:Me.chosen,...De});return(0,o.cloneElement)(ye,{[me]:ye.key,className:de})})}get sortable(){const A=this.ref.current;if(A===null)return null;const G=Object.keys(A).find(K=>K.includes("Sortable"));return G?A[G]:null}makeOptions(){const A=["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"],G=["onChange","onClone","onFilter","onSort"],K=R(this.props);return A.forEach(le=>K[le]=this.prepareOnHandlerPropAndDOM(le)),G.forEach(le=>K[le]=this.prepareOnHandlerProp(le)),{...K,onMove:(le,se)=>{const{onMove:fe}=this.props,te=le.willInsertAfter||-1;if(!fe)return te;const ge=fe(le,se,this.sortable,P);return typeof ge>"u"?!1:ge}}}prepareOnHandlerPropAndDOM(A){return G=>{this.callOnHandlerProp(G,A),this[A](G)}}prepareOnHandlerProp(A){return G=>{this.callOnHandlerProp(G,A)}}callOnHandlerProp(A,G){const K=this.props[G];K&&K(A,this.sortable,P)}onAdd(A){const{list:G,setList:K,clone:Q}=this.props,le=[...P.dragging.props.list],se=y(A,le);C(se);const fe=_(se,G,A,Q).map(te=>Object.assign(te,{selected:!1}));K(fe,this.sortable,P)}onRemove(A){const{list:G,setList:K}=this.props,Q=I(A),le=y(A,G);v(le);let se=[...G];if(A.pullMode!=="clone")se=M(le,se);else{let fe=le;switch(Q){case"multidrag":fe=le.map((te,ge)=>({...te,element:A.clones[ge]}));break;case"normal":fe=le.map(te=>({...te,element:A.clone}));break;case"swap":default:a(i)(!0,`mode "${Q}" cannot clone. Please remove "props.clone" from <ReactSortable/> when using the "${Q}" plugin`)}C(fe),le.forEach(te=>{const ge=te.oldIndex,ie=this.props.clone(te.item,A);se.splice(ge,1,ie)})}se=se.map(fe=>Object.assign(fe,{selected:!1})),K(se,this.sortable,P)}onUpdate(A){const{list:G,setList:K}=this.props,Q=y(A,G);C(Q),v(Q);const le=E(Q,G);return K(le,this.sortable,P)}onStart(){P.dragging=this}onEnd(){P.dragging=null}onChoose(A){const{list:G,setList:K}=this.props,Q=G.map((le,se)=>{let fe=le;return se===A.oldIndex&&(fe=Object.assign(le,{chosen:!0})),fe});K(Q,this.sortable,P)}onUnchoose(A){const{list:G,setList:K}=this.props,Q=G.map((le,se)=>{let fe=le;return se===A.oldIndex&&(fe=Object.assign(fe,{chosen:!1})),fe});K(Q,this.sortable,P)}onSpill(A){const{removeOnSpill:G,revertOnSpill:K}=this.props;G&&!K&&u(A.item)}onSelect(A){const{list:G,setList:K}=this.props,Q=G.map(le=>Object.assign(le,{selected:!1}));A.newIndicies.forEach(le=>{const se=le.index;if(se===-1){console.log(`"${A.type}" had indice of "${le.index}", which is probably -1 and doesn't usually happen here.`),console.log(A);return}Q[se].selected=!0}),K(Q,this.sortable,P)}onDeselect(A){const{list:G,setList:K}=this.props,Q=G.map(le=>Object.assign(le,{selected:!1}));A.newIndicies.forEach(le=>{const se=le.index;se!==-1&&(Q[se].selected=!0)}),K(Q,this.sortable,P)}}Wa(B,"defaultProps",{clone:A=>A});var D={};c(e.exports,D)})(L8);var J8=L8.exports;const _M=W.div.withConfig({componentId:"sc-1ryyiol-0"})(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:inherit;font:inherit;color:inherit;"]),IM=W.div.withConfig({componentId:"sc-1ryyiol-1"})(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;max-width:fit-content;"]),TM=({selectedValues:e,valueNode:t,onChange:n,sortable:o,onSelect:i,disabled:a})=>{const s=p.useId(),[c,u]=p.useState(e.map(g=>({id:`multi-select-${s}-${g}`,value:g})));return p.useEffect(()=>{u(e.map(g=>({id:`multi-select-${s}-${g}`,value:g})))},[s,e]),e.length===0?null:r.jsx(_M,{as:J8.ReactSortable,disabled:!o,list:c,setList:u,onEnd:g=>{const{newDraggableIndex:C,oldDraggableIndex:v}=g;if(typeof C=="number"&&typeof v=="number"&&v!==C){const y=e[v];e[v]=e[C],e[C]=y,n(e)}},revertOnSpill:!0,children:e.map(g=>{const C=t.get(g)??{children:g,value:g};let v={text:C.label??C.children,icon:C==null?void 0:C.icon,iconDir:C==null?void 0:C.iconDir};return!a&&!C.disabled&&(v={...v,dismissible:!0,onClose:y=>{y.preventDefault(),y.stopPropagation(),i(C.value)}}),r.jsx(IM,{as:t0,size:"sm",state:a?"disabled":"default",...v},`multi-select-${s}-${g}`)})})},FM=W.div.withConfig({componentId:"sc-1bceuv1-0"})(["display:flex;width:100%;align-items:center;cursor:inherit;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:inherit;"]),OM=({valueNode:e,value:t})=>{const{icon:n,iconDir:o,children:i,label:a}=e??{};return t?r.jsx(FM,{children:r.jsx(Er,{icon:n,iconDir:o,children:a??i??t})}):null},q8=()=>{const e=p.useContext(S8);if(!e)throw new Error("Context used outside of its Provider!");return e},PM=()=>{const{search:e}=q8();return e},i4=(e,t,n)=>p.Children.toArray(e).flatMap(o=>{if(p.isValidElement(o)&&o&&typeof o=="object"){const i=o.type;if(i.displayName==="Select.Group"){const a=o.props.children;return i4(a,t,Zn(o.props.heading).toLowerCase())}else if(i.displayName==="Select.Item"){const a=Zn(o).toLowerCase(),s=o.props.value,c=o.props.disabled;return t({disabled:c,value:s,title:a,heading:n,nodeProps:o.props}),{disabled:c,value:s,title:a,heading:n}}else if("props"in o&&o.props.children)return i4(o.props.children,t,n)}return[]}),Q8=({label:e,children:t,orientation:n,dir:o,disabled:i,id:a,error:s,value:c,onChange:u,onSelect:g,open:C,onOpenChange:v,name:y,form:E,allowCreateOption:M=!1,customText:_="",options:I,sortable:j=!1,placeholder:R="Select an option",multiple:P,showSearch:B=!1,container:D,...H})=>{const A=p.useId(),[G,K]=p.useState(""),[Q,le]=p.useState(),se=p.useRef([]),fe=p.useRef([]),te=p.useRef(new Map),[ge,ie]=p.useState(!1),[me,ye]=p.useState([]),pe=p.useCallback(({disabled:Ce,value:Fe,title:Oe,heading:Ye,nodeProps:Xe})=>{(Oe.includes(G)||Ye!=null&&Ye.includes(G))&&(se.current.push(Fe),Ce||fe.current.push(Fe)),te.current.set(Fe,Xe)},[G]),Me=p.useCallback(Ce=>{K(Ce);let Fe=!1;const Oe=[],Ye=[],Xe=Ce.toLowerCase();me.forEach(We=>{var Lt;(We.title.includes(Xe)||(Lt=We.heading)!=null&&Lt.includes(Xe))&&(We.value===Q&&(Fe=!0),Oe.push(We.value),We.disabled||Ye.push(We.value))}),fe.current=Ye,se.current=Oe,Fe||le(Ye[0]??null)},[Q,me]),Se=p.useCallback((Ce,Fe)=>{const Oe=G.toLowerCase();Fe?ye(Fe.flatMap(Ye=>{if("options"in Ye){const Xe=Zn(Ye.heading).toLowerCase();return(Ye.options??[]).map(We=>{te.current.set(We.value,We);const Lt=Zn(We.label).toLowerCase();return(Lt.includes(Oe)||Xe!=null&&Xe.includes(Oe))&&(se.current.push(We.value),i||fe.current.push(We.value)),{heading:Xe,disabled:We.disabled,value:We.value,title:Lt}})}else return te.current.set(Ye.value,Ye),Zn(Ye.label).toLowerCase().includes(Oe)&&(se.current.push(Ye.value),i||fe.current.push(Ye.value)),{disabled:Ye.disabled,value:Ye.value,title:Zn(Ye.label)}})):Ce&&ye(i4(Ce,pe))},[i,G,pe]);p.useEffect(()=>{Se(t,I),ie(!0)},[t,I,Se]);const De=p.useRef(null),de=()=>{var Ce;(Ce=De.current)==null||Ce.focus()},xe=()=>{Me("")},Ie=Ce=>{if(!Ce.defaultPrevented){if(Ce.key==="Enter")Ce.preventDefault(),Q?g(Q):se.current.length===0&&M&&g(G,"custom");else if(["ArrowUp","ArrowDown","Home","End"].includes(Ce.key)){Ce.preventDefault();let Fe=Q;const Oe=fe.current.findIndex(Ye=>Ye===Q);Ce.key==="ArrowUp"?Oe===0?Fe=fe.current[fe.current.length-1]:Fe=fe.current[Oe-1]:Ce.key==="ArrowDown"?(Ce.preventDefault(),Oe===fe.current.length-1?Fe=fe.current[0]:Fe=fe.current[Oe+1]):Ce.key==="End"?(Ce.preventDefault(),Fe=fe.current[fe.current.length-1]):Ce.key==="Home"&&(Fe=fe.current[0],Ce.preventDefault()),le(Fe)}}},Te=p.useCallback(Ce=>!se.current.includes(Ce??""),[se]),Ge=p.useMemo(()=>({search:G,updateHighlighted:le,highlighted:Q,isHidden:Te,onSelect:g,selectedValues:c}),[G,Q,Te,g,c]),gt=Ce=>{Ce.preventDefault(),Ce.stopPropagation(),M&&g(G,"custom")};return r.jsxs(Li,{$orientation:n,$dir:o,$addLabelPadding:!0,...H,children:[r.jsxs(Ps,{children:[r.jsxs(I$,{open:C,onOpenChange:v,modal:!0,children:[r.jsxs(F$,{id:a??A,$error:!!s,disabled:i,"data-testid":"select-trigger",children:[ge&&r.jsx(T$,{children:c.length===0?R:P?r.jsx(TM,{disabled:i??!1,onSelect:g,selectedValues:c,sortable:!i&&j,valueNode:te.current,onChange:u}):r.jsx(OM,{valueNode:te.current.get(c[0]),value:c[0]})}),r.jsx(rt,{name:"sort",size:"sm"})]}),E&&r.jsx(V$,{multiple:P,name:y,form:E,value:c,onChange:()=>null,children:me.map(Ce=>r.jsx("option",{value:Ce.value,disabled:Ce.disabled,children:Ce.value},Ce.value))}),r.jsx(K3,{container:D,children:r.jsx(O$,{sideOffset:5,onFocus:de,onCloseAutoFocus:()=>{Me("")},onOpenAutoFocus:()=>{le(se.current[0])},align:"start",children:r.jsxs(A$,{children:[r.jsxs(P$,{$showSearch:B,children:[r.jsx(H$,{ref:De,value:G,onChange:Ce=>Me(Ce.target.value),"data-testid":"select-search-input",onKeyDown:Ie,$showSearch:B}),r.jsx(D$,{as:ur,icon:"cross",onClick:xe,"data-testid":"select-search-close",$showClose:G.length>0,size:"xs"})]}),r.jsx(R$,{children:r.jsx(S8.Provider,{value:Ge,children:I&&I.length>0?I.map((Ce,Fe)=>{if("options"in Ce){const{options:Oe=[],...Ye}=Ce;return r.jsx(Kc,{...Ye,children:Oe.map(({label:Xe,...We},Lt)=>r.jsx(Tl,{...We,children:Xe},`select-${a}-group-${Fe}-item-${Lt}`))},`select-${a}-group-${Fe}`)}else return r.jsx(Tl,{...Ce},`select-${a}-item-${Fe}`)}):t})}),se.current.length===0&&r.jsx(U$,{onClick:gt,$clickable:M,...H,children:_.length>0?_.replaceAll("{search}",G):M?`Add ${G}`:`No Options found${G.length>0?` for "${G}" `:""}
929
- `})]})})})]}),!!s&&s!==!0&&r.jsx(Fs,{children:s})]}),e&&r.jsx(Zo,{htmlFor:a??A,disabled:i,error:!!s,children:e})]})},Kc=p.forwardRef(({children:e,heading:t,...n},o)=>(PM(),r.jsxs(B$,{...n,ref:Ko([o,i=>{const a=(i==null?void 0:i.querySelectorAll("[cui-select-item]").length)===0;a?i==null||i.setAttribute("hidden",""):i==null||i.removeAttribute("hidden"),i==null||i.setAttribute("aria-hidden",a.toString())}]),children:[r.jsx(N$,{children:t}),r.jsx(Z$,{children:e})]})));Kc.displayName="Select.Group";const HM=W.svg.withConfig({componentId:"sc-howzwz-0"})(["opacity:",";"],({$showCheck:e})=>e?1:0),Tl=p.forwardRef(({disabled:e=!1,children:t,label:n,separator:o,onSelect:i,value:a="",icon:s,iconDir:c,onMouseOver:u,...g},C)=>{const{highlighted:v,updateHighlighted:y,isHidden:E,selectedValues:M,onSelect:_}=q8(),I=()=>{e||(_(a),typeof i=="function"&&i(a))},j=P=>{u&&u(P),e||y(a)};if(E(a))return null;const R=M.includes(a);return r.jsxs(r.Fragment,{children:[r.jsxs(al,{...g,"data-value":a,onClick:I,onMouseOver:j,ref:C,"data-state":R?"checked":"unchecked","data-disabled":e?!0:void 0,"data-highlighted":v==a?"true":void 0,"cui-select-item":"",children:[r.jsx(Er,{icon:s,iconDir:c,children:n??t}),r.jsx(HM,{as:rt,name:"check",size:"sm",$showCheck:R})]}),o&&r.jsx(Vi,{size:"sm"})]})});Tl.displayName="Select.Item";const Z1=({value:e,defaultValue:t,onSelect:n,options:o,children:i,onOpenChange:a,...s})=>{const[c,u]=p.useState(e?[e]:t?[t]:[]),[g,C]=p.useState(!1),v=p.useCallback(_=>{C(_),typeof a=="function"&&a(_)},[a]),y=p.useCallback((_,I)=>{u(j=>j[0]!==_?[_]:j),v(!1),typeof n=="function"&&n(_,I)},[n,v]),E=p.useCallback(_=>{_[0]!==c[0]&&y(_[0])},[c,y]);p.useEffect(()=>{u(e?[e]:[])},[e]);const M={};return o?M.options=o:M.children=i,r.jsx(Q8,{onChange:E,value:e?[e]:c,open:g,onOpenChange:v,onSelect:y,...M,...s})};Z1.Group=Kc,Z1.Item=Tl;const a4=({value:e,defaultValue:t,onSelect:n,options:o,children:i,onOpenChange:a,...s})=>{const[c,u]=p.useState(e??t??[]),[g,C]=p.useState(!1),v=p.useCallback(_=>{C(_),typeof a=="function"&&a(_)},[a]);p.useEffect(()=>{u(e??[])},[e]);const y=p.useCallback((_,I)=>{u(_),typeof n=="function"&&n(_,I)},[n]),E=p.useCallback((_,I)=>{let j=[];c.includes(_)?j=c.filter(R=>R!==_):j=[...c,_],y(j,I)},[y,c]),M={};return o?M.options=o:M.children=i,r.jsx(Q8,{onChange:y,value:e??c,open:g,onOpenChange:v,onSelect:E,multiple:!0,...M,...s})};a4.Group=Kc,a4.Item=Tl;const l4="horizontal",DM=["horizontal","vertical"],ef=p.forwardRef((e,t)=>{const{decorative:n,orientation:o=l4,...i}=e,a=tf(o)?o:l4,c=n?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return p.createElement(ot.div,ue({"data-orientation":a},c,i,{ref:t}))});ef.propTypes={orientation(e,t,n){const o=e[t],i=String(o);return o&&!tf(o)?new Error(AM(i,n)):null}};function AM(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
928
+ `)}componentDidMount(){if(this.ref.current===null)return;const A=this.makeOptions();a(t).create(this.ref.current,A)}componentDidUpdate(A){A.disabled!==this.props.disabled&&this.sortable&&this.sortable.option("disabled",this.props.disabled)}render(){const{tag:A,style:G,className:K,id:Q}=this.props,le={style:G,className:K,id:Q},se=!A||A===null?"div":A;return(0,o.createElement)(se,{ref:this.ref,...le},this.getChildren())}getChildren(){const{children:A,dataIdAttr:G,selectedClass:K="sortable-selected",chosenClass:Q="sortable-chosen",dragClass:le="sortable-drag",fallbackClass:se="sortable-falback",ghostClass:fe="sortable-ghost",swapClass:te="sortable-swap-highlight",filter:ge="sortable-filter",list:ie}=this.props;if(!A||A==null)return null;const me=G||"data-id";return o.Children.map(A,(ye,pe)=>{if(ye===void 0)return;const Me=ie[pe]||{},{className:Se}=ye.props,De=typeof ge=="string"&&{[ge.replace(".","")]:!!Me.filtered},de=a(n)(Se,{[K]:Me.selected,[Q]:Me.chosen,...De});return(0,o.cloneElement)(ye,{[me]:ye.key,className:de})})}get sortable(){const A=this.ref.current;if(A===null)return null;const G=Object.keys(A).find(K=>K.includes("Sortable"));return G?A[G]:null}makeOptions(){const A=["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"],G=["onChange","onClone","onFilter","onSort"],K=R(this.props);return A.forEach(le=>K[le]=this.prepareOnHandlerPropAndDOM(le)),G.forEach(le=>K[le]=this.prepareOnHandlerProp(le)),{...K,onMove:(le,se)=>{const{onMove:fe}=this.props,te=le.willInsertAfter||-1;if(!fe)return te;const ge=fe(le,se,this.sortable,P);return typeof ge>"u"?!1:ge}}}prepareOnHandlerPropAndDOM(A){return G=>{this.callOnHandlerProp(G,A),this[A](G)}}prepareOnHandlerProp(A){return G=>{this.callOnHandlerProp(G,A)}}callOnHandlerProp(A,G){const K=this.props[G];K&&K(A,this.sortable,P)}onAdd(A){const{list:G,setList:K,clone:Q}=this.props,le=[...P.dragging.props.list],se=y(A,le);C(se);const fe=E(se,G,A,Q).map(te=>Object.assign(te,{selected:!1}));K(fe,this.sortable,P)}onRemove(A){const{list:G,setList:K}=this.props,Q=I(A),le=y(A,G);v(le);let se=[...G];if(A.pullMode!=="clone")se=M(le,se);else{let fe=le;switch(Q){case"multidrag":fe=le.map((te,ge)=>({...te,element:A.clones[ge]}));break;case"normal":fe=le.map(te=>({...te,element:A.clone}));break;case"swap":default:a(i)(!0,`mode "${Q}" cannot clone. Please remove "props.clone" from <ReactSortable/> when using the "${Q}" plugin`)}C(fe),le.forEach(te=>{const ge=te.oldIndex,ie=this.props.clone(te.item,A);se.splice(ge,1,ie)})}se=se.map(fe=>Object.assign(fe,{selected:!1})),K(se,this.sortable,P)}onUpdate(A){const{list:G,setList:K}=this.props,Q=y(A,G);C(Q),v(Q);const le=_(Q,G);return K(le,this.sortable,P)}onStart(){P.dragging=this}onEnd(){P.dragging=null}onChoose(A){const{list:G,setList:K}=this.props,Q=G.map((le,se)=>{let fe=le;return se===A.oldIndex&&(fe=Object.assign(le,{chosen:!0})),fe});K(Q,this.sortable,P)}onUnchoose(A){const{list:G,setList:K}=this.props,Q=G.map((le,se)=>{let fe=le;return se===A.oldIndex&&(fe=Object.assign(fe,{chosen:!1})),fe});K(Q,this.sortable,P)}onSpill(A){const{removeOnSpill:G,revertOnSpill:K}=this.props;G&&!K&&u(A.item)}onSelect(A){const{list:G,setList:K}=this.props,Q=G.map(le=>Object.assign(le,{selected:!1}));A.newIndicies.forEach(le=>{const se=le.index;if(se===-1){console.log(`"${A.type}" had indice of "${le.index}", which is probably -1 and doesn't usually happen here.`),console.log(A);return}Q[se].selected=!0}),K(Q,this.sortable,P)}onDeselect(A){const{list:G,setList:K}=this.props,Q=G.map(le=>Object.assign(le,{selected:!1}));A.newIndicies.forEach(le=>{const se=le.index;se!==-1&&(Q[se].selected=!0)}),K(Q,this.sortable,P)}}Wa(B,"defaultProps",{clone:A=>A});var D={};c(e.exports,D)})(L8);var J8=L8.exports;const _M=W.div.withConfig({componentId:"sc-1ryyiol-0"})(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:inherit;font:inherit;color:inherit;"]),IM=W.div.withConfig({componentId:"sc-1ryyiol-1"})(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;max-width:fit-content;"]),TM=({selectedValues:e,valueNode:t,onChange:n,sortable:o,onSelect:i,disabled:a})=>{const s=p.useId(),[c,u]=p.useState(e.map(g=>({id:`multi-select-${s}-${g}`,value:g})));return p.useEffect(()=>{u(e.map(g=>({id:`multi-select-${s}-${g}`,value:g})))},[s,e]),e.length===0?null:r.jsx(_M,{as:J8.ReactSortable,disabled:!o,list:c,setList:u,onEnd:g=>{const{newDraggableIndex:C,oldDraggableIndex:v}=g;if(typeof C=="number"&&typeof v=="number"&&v!==C){const y=e[v];e[v]=e[C],e[C]=y,n(e)}},revertOnSpill:!0,children:e.map(g=>{const C=t.get(g)??{children:g,value:g};let v={text:C.label??C.children,icon:C==null?void 0:C.icon,iconDir:C==null?void 0:C.iconDir};return!a&&!C.disabled&&(v={...v,dismissible:!0,onClose:y=>{y.preventDefault(),y.stopPropagation(),i(C.value)}}),r.jsx(IM,{as:t0,size:"sm",state:a?"disabled":"default",...v},`multi-select-${s}-${g}`)})})},FM=W.div.withConfig({componentId:"sc-1bceuv1-0"})(["display:flex;width:100%;align-items:center;cursor:inherit;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:inherit;"]),OM=({valueNode:e,value:t})=>{const{icon:n,iconDir:o,children:i,label:a}=e??{};return t?r.jsx(FM,{children:r.jsx(Er,{icon:n,iconDir:o,children:a??i??t})}):null},q8=()=>{const e=p.useContext(S8);if(!e)throw new Error("Context used outside of its Provider!");return e},PM=()=>{const{search:e}=q8();return e},i4=(e,t,n)=>p.Children.toArray(e).flatMap(o=>{if(p.isValidElement(o)&&o&&typeof o=="object"){const i=o.type;if(i.displayName==="Select.Group"){const a=o.props.children;return i4(a,t,Zn(o.props.heading).toLowerCase())}else if(i.displayName==="Select.Item"){const a=Zn(o).toLowerCase(),s=o.props.value,c=o.props.disabled;return t({disabled:c,value:s,title:a,heading:n,nodeProps:o.props}),{disabled:c,value:s,title:a,heading:n}}else if("props"in o&&o.props.children)return i4(o.props.children,t,n)}return[]}),Q8=({label:e,children:t,orientation:n,dir:o,disabled:i,id:a,error:s,value:c,onChange:u,onSelect:g,open:C,onOpenChange:v,name:y,form:_,allowCreateOption:M=!1,customText:E="",options:I,sortable:j=!1,placeholder:R="Select an option",multiple:P,showSearch:B=!1,container:D,...H})=>{const A=p.useId(),[G,K]=p.useState(""),[Q,le]=p.useState(),se=p.useRef([]),fe=p.useRef([]),te=p.useRef(new Map),[ge,ie]=p.useState(!1),[me,ye]=p.useState([]),pe=p.useCallback(({disabled:Ce,value:Fe,title:Oe,heading:Ye,nodeProps:Xe})=>{(Oe.includes(G)||Ye!=null&&Ye.includes(G))&&(se.current.push(Fe),Ce||fe.current.push(Fe)),te.current.set(Fe,Xe)},[G]),Me=p.useCallback(Ce=>{K(Ce);let Fe=!1;const Oe=[],Ye=[],Xe=Ce.toLowerCase();me.forEach(We=>{var Lt;(We.title.includes(Xe)||(Lt=We.heading)!=null&&Lt.includes(Xe))&&(We.value===Q&&(Fe=!0),Oe.push(We.value),We.disabled||Ye.push(We.value))}),fe.current=Ye,se.current=Oe,Fe||le(Ye[0]??null)},[Q,me]),Se=p.useCallback((Ce,Fe)=>{const Oe=G.toLowerCase();Fe?ye(Fe.flatMap(Ye=>{if("options"in Ye){const Xe=Zn(Ye.heading).toLowerCase();return(Ye.options??[]).map(We=>{te.current.set(We.value,We);const Lt=Zn(We.label).toLowerCase();return(Lt.includes(Oe)||Xe!=null&&Xe.includes(Oe))&&(se.current.push(We.value),i||fe.current.push(We.value)),{heading:Xe,disabled:We.disabled,value:We.value,title:Lt}})}else return te.current.set(Ye.value,Ye),Zn(Ye.label).toLowerCase().includes(Oe)&&(se.current.push(Ye.value),i||fe.current.push(Ye.value)),{disabled:Ye.disabled,value:Ye.value,title:Zn(Ye.label)}})):Ce&&ye(i4(Ce,pe))},[i,G,pe]);p.useEffect(()=>{Se(t,I),ie(!0)},[t,I,Se]);const De=p.useRef(null),de=()=>{var Ce;(Ce=De.current)==null||Ce.focus()},xe=()=>{Me("")},Ie=Ce=>{if(!Ce.defaultPrevented){if(Ce.key==="Enter")Ce.preventDefault(),Q?g(Q):se.current.length===0&&M&&g(G,"custom");else if(["ArrowUp","ArrowDown","Home","End"].includes(Ce.key)){Ce.preventDefault();let Fe=Q;const Oe=fe.current.findIndex(Ye=>Ye===Q);Ce.key==="ArrowUp"?Oe===0?Fe=fe.current[fe.current.length-1]:Fe=fe.current[Oe-1]:Ce.key==="ArrowDown"?(Ce.preventDefault(),Oe===fe.current.length-1?Fe=fe.current[0]:Fe=fe.current[Oe+1]):Ce.key==="End"?(Ce.preventDefault(),Fe=fe.current[fe.current.length-1]):Ce.key==="Home"&&(Fe=fe.current[0],Ce.preventDefault()),le(Fe)}}},Te=p.useCallback(Ce=>!se.current.includes(Ce??""),[se]),Ge=p.useMemo(()=>({search:G,updateHighlighted:le,highlighted:Q,isHidden:Te,onSelect:g,selectedValues:c}),[G,Q,Te,g,c]),gt=Ce=>{Ce.preventDefault(),Ce.stopPropagation(),M&&g(G,"custom")};return r.jsxs(Li,{$orientation:n,$dir:o,$addLabelPadding:!0,...H,children:[r.jsxs(Ps,{children:[r.jsxs(I$,{open:C,onOpenChange:v,modal:!0,children:[r.jsxs(F$,{id:a??A,$error:!!s,disabled:i,"data-testid":"select-trigger",children:[ge&&r.jsx(T$,{children:c.length===0?R:P?r.jsx(TM,{disabled:i??!1,onSelect:g,selectedValues:c,sortable:!i&&j,valueNode:te.current,onChange:u}):r.jsx(OM,{valueNode:te.current.get(c[0]),value:c[0]})}),r.jsx(rt,{name:"sort",size:"sm"})]}),_&&r.jsx(V$,{multiple:P,name:y,form:_,value:c,onChange:()=>null,children:me.map(Ce=>r.jsx("option",{value:Ce.value,disabled:Ce.disabled,children:Ce.value},Ce.value))}),r.jsx(K3,{container:D,children:r.jsx(O$,{sideOffset:5,onFocus:de,onCloseAutoFocus:()=>{Me("")},onOpenAutoFocus:()=>{le(se.current[0])},align:"start",children:r.jsxs(A$,{children:[r.jsxs(P$,{$showSearch:B,children:[r.jsx(H$,{ref:De,value:G,onChange:Ce=>Me(Ce.target.value),"data-testid":"select-search-input",onKeyDown:Ie,$showSearch:B}),r.jsx(D$,{as:ur,icon:"cross",onClick:xe,"data-testid":"select-search-close",$showClose:G.length>0,size:"xs"})]}),r.jsx(R$,{children:r.jsx(S8.Provider,{value:Ge,children:I&&I.length>0?I.map((Ce,Fe)=>{if("options"in Ce){const{options:Oe=[],...Ye}=Ce;return r.jsx(Kc,{...Ye,children:Oe.map(({label:Xe,...We},Lt)=>r.jsx(Tl,{...We,children:Xe},`select-${a}-group-${Fe}-item-${Lt}`))},`select-${a}-group-${Fe}`)}else return r.jsx(Tl,{...Ce},`select-${a}-item-${Fe}`)}):t})}),se.current.length===0&&r.jsx(U$,{onClick:gt,$clickable:M,...H,children:E.length>0?E.replaceAll("{search}",G):M?`Add ${G}`:`No Options found${G.length>0?` for "${G}" `:""}
929
+ `})]})})})]}),!!s&&s!==!0&&r.jsx(Fs,{children:s})]}),e&&r.jsx(Zo,{htmlFor:a??A,disabled:i,error:!!s,children:e})]})},Kc=p.forwardRef(({children:e,heading:t,...n},o)=>(PM(),r.jsxs(B$,{...n,ref:Ko([o,i=>{const a=(i==null?void 0:i.querySelectorAll("[cui-select-item]").length)===0;a?i==null||i.setAttribute("hidden",""):i==null||i.removeAttribute("hidden"),i==null||i.setAttribute("aria-hidden",a.toString())}]),children:[r.jsx(N$,{children:t}),r.jsx(Z$,{children:e})]})));Kc.displayName="Select.Group";const HM=W.svg.withConfig({componentId:"sc-howzwz-0"})(["opacity:",";"],({$showCheck:e})=>e?1:0),Tl=p.forwardRef(({disabled:e=!1,children:t,label:n,separator:o,onSelect:i,value:a="",icon:s,iconDir:c,onMouseOver:u,...g},C)=>{const{highlighted:v,updateHighlighted:y,isHidden:_,selectedValues:M,onSelect:E}=q8(),I=()=>{e||(E(a),typeof i=="function"&&i(a))},j=P=>{u&&u(P),e||y(a)};if(_(a))return null;const R=M.includes(a);return r.jsxs(r.Fragment,{children:[r.jsxs(al,{...g,"data-value":a,onClick:I,onMouseOver:j,ref:C,"data-state":R?"checked":"unchecked","data-disabled":e?!0:void 0,"data-highlighted":v==a?"true":void 0,"cui-select-item":"",children:[r.jsx(Er,{icon:s,iconDir:c,children:n??t}),r.jsx(HM,{as:rt,name:"check",size:"sm",$showCheck:R})]}),o&&r.jsx(Vi,{size:"sm"})]})});Tl.displayName="Select.Item";const Z1=({value:e,defaultValue:t,onSelect:n,options:o,children:i,onOpenChange:a,...s})=>{const[c,u]=p.useState(e?[e]:t?[t]:[]),[g,C]=p.useState(!1),v=p.useCallback(E=>{C(E),typeof a=="function"&&a(E)},[a]),y=p.useCallback((E,I)=>{u(j=>j[0]!==E?[E]:j),v(!1),typeof n=="function"&&n(E,I)},[n,v]),_=p.useCallback(E=>{E[0]!==c[0]&&y(E[0])},[c,y]);p.useEffect(()=>{u(e?[e]:[])},[e]);const M={};return o?M.options=o:M.children=i,r.jsx(Q8,{onChange:_,value:e?[e]:c,open:g,onOpenChange:v,onSelect:y,...M,...s})};Z1.Group=Kc,Z1.Item=Tl;const a4=({value:e,defaultValue:t,onSelect:n,options:o,children:i,onOpenChange:a,...s})=>{const[c,u]=p.useState(e??t??[]),[g,C]=p.useState(!1),v=p.useCallback(E=>{C(E),typeof a=="function"&&a(E)},[a]);p.useEffect(()=>{u(e??[])},[e]);const y=p.useCallback((E,I)=>{u(E),typeof n=="function"&&n(E,I)},[n]),_=p.useCallback((E,I)=>{let j=[];c.includes(E)?j=c.filter(R=>R!==E):j=[...c,E],y(j,I)},[y,c]),M={};return o?M.options=o:M.children=i,r.jsx(Q8,{onChange:y,value:e??c,open:g,onOpenChange:v,onSelect:_,multiple:!0,...M,...s})};a4.Group=Kc,a4.Item=Tl;const l4="horizontal",DM=["horizontal","vertical"],ef=p.forwardRef((e,t)=>{const{decorative:n,orientation:o=l4,...i}=e,a=tf(o)?o:l4,c=n?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return p.createElement(ot.div,ue({"data-orientation":a},c,i,{ref:t}))});ef.propTypes={orientation(e,t,n){const o=e[t],i=String(o);return o&&!tf(o)?new Error(AM(i,n)):null}};function AM(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
930
930
  - horizontal
931
931
  - vertical
932
932
 
@@ -985,7 +985,7 @@ Defaulting to \`${l4}\`.`}function tf(e){return DM.includes(e)}const RM=W(ef).wi
985
985
  font: ${e.click.sidebar.navigation.title.typography.active};
986
986
  color: ${e.click.sidebar[n].navigation.title.color.active};
987
987
  }
988
- `),YM=({label:e,children:t,open:n,onOpenChange:o,iconDir:i,icon:a,selected:s,type:c="main",...u})=>{if(e)return r.jsxs(Pr,{open:n,onOpenChange:o,children:[r.jsxs(lf,{as:Pr.Trigger,$collapsible:!0,iconDir:i,"data-selected":s,$type:c,...u,children:[a&&r.jsx(rt,{name:a,size:"sm"}),e]}),r.jsx(Pr.Content,{children:t})]})},XM=W.div.withConfig({componentId:"sc-6ga865-0"})(["background:transparent;display:flex;padding:",";"],({theme:e,$size:t="md"})=>`${e.click.spacer.horizontal.space.y[t]} ${e.click.spacer.horizontal.space.x.all}`),Qc=({size:e})=>r.jsx(XM,{$size:e}),KM=({type:e="primary",disabled:t,menu:n,dir:o,open:i,defaultOpen:a,onOpenChange:s,modal:c,side:u,fillWidth:g,children:C,icon:v,iconDir:y="start",...E})=>{const M=p.useRef(null),[_,I]=p.useState(0);return p.useEffect(()=>{const j=M.current;if(!j)return;const R=new ResizeObserver(P=>{for(const B of P)I(B.target.clientWidth)});return R.observe(j),()=>{R.unobserve(j)}},[]),r.jsxs(Nn,{dir:o,open:i,defaultOpen:a,onOpenChange:s,modal:c,children:[r.jsxs(qM,{$disabled:t,$fillWidth:g,ref:M,$type:e,children:[r.jsx(QM,{disabled:t,$type:e,$fillWidth:g,...E,children:r.jsx(tj,{as:Er,icon:v,iconDir:y,children:C})}),r.jsx(ej,{as:Nn.Trigger,disabled:t,$type:e,asChild:!0,"data-testid":"split-button-dropdown",children:r.jsx("span",{children:r.jsx(rt,{name:"chevron-down",size:"sm"})})})]}),r.jsx(JM,{as:Nn.Content,side:u,$width:_,sideOffset:4,align:"end",children:n.map((j,R)=>r.jsx(s4,{parentKey:`split-menu-option-${R}`,...j},`split-menu-option-${R}`))})]})},JM=W.div.withConfig({componentId:"sc-85zs9e-0"})(["min-width:","px;"],({$width:e})=>e),s4=({items:e=[],type:t="item",label:n,icon:o,iconDir:i="start",parentKey:a,...s})=>{if(t==="item")return r.jsx(Nn.Item,{...s,children:r.jsx(Er,{icon:o,iconDir:i,children:n})});if(t==="group")return r.jsx(Nn.Group,{children:e.map((c,u)=>r.jsx(s4,{parentKey:`${a}-group-${u}`,...c},`${a}-group-${u}`))});if(t==="sub-menu")return r.jsxs(Nn.Sub,{children:[r.jsx(Nn.Trigger,{sub:!0,...s,children:r.jsx(Er,{icon:o,iconDir:i,children:n})}),r.jsx(Nn.Content,{sub:!0,children:e.map((c,u)=>r.jsx(s4,{parentKey:`${a}-sub-menu-${u}`,...c},`${a}-sub-menu-${u}`))})]})},qM=W.div.withConfig({componentId:"sc-85zs9e-1"})(["display:inline-flex;align-items:center;overflow:hidden;user-select:none;",""],({theme:e,$disabled:t=!1,$type:n,$fillWidth:o})=>`
988
+ `),YM=({label:e,children:t,open:n,onOpenChange:o,iconDir:i,icon:a,selected:s,type:c="main",...u})=>{if(e)return r.jsxs(Pr,{open:n,onOpenChange:o,children:[r.jsxs(lf,{as:Pr.Trigger,$collapsible:!0,iconDir:i,"data-selected":s,$type:c,...u,children:[a&&r.jsx(rt,{name:a,size:"sm"}),e]}),r.jsx(Pr.Content,{children:t})]})},XM=W.div.withConfig({componentId:"sc-6ga865-0"})(["background:transparent;display:flex;padding:",";"],({theme:e,$size:t="md"})=>`${e.click.spacer.horizontal.space.y[t]} ${e.click.spacer.horizontal.space.x.all}`),Qc=({size:e})=>r.jsx(XM,{$size:e}),KM=({type:e="primary",disabled:t,menu:n,dir:o,open:i,defaultOpen:a,onOpenChange:s,modal:c,side:u,fillWidth:g,children:C,icon:v,iconDir:y="start",..._})=>{const M=p.useRef(null),[E,I]=p.useState(0);return p.useEffect(()=>{const j=M.current;if(!j)return;const R=new ResizeObserver(P=>{for(const B of P)I(B.target.clientWidth)});return R.observe(j),()=>{R.unobserve(j)}},[]),r.jsxs(Nn,{dir:o,open:i,defaultOpen:a,onOpenChange:s,modal:c,children:[r.jsxs(qM,{$disabled:t,$fillWidth:g,ref:M,$type:e,children:[r.jsx(QM,{disabled:t,$type:e,$fillWidth:g,..._,children:r.jsx(tj,{as:Er,icon:v,iconDir:y,children:C})}),r.jsx(ej,{as:Nn.Trigger,disabled:t,$type:e,asChild:!0,"data-testid":"split-button-dropdown",children:r.jsx("span",{children:r.jsx(rt,{name:"chevron-down",size:"sm"})})})]}),r.jsx(JM,{as:Nn.Content,side:u,$width:E,sideOffset:4,align:"end",children:n.map((j,R)=>r.jsx(s4,{parentKey:`split-menu-option-${R}`,...j},`split-menu-option-${R}`))})]})},JM=W.div.withConfig({componentId:"sc-85zs9e-0"})(["min-width:","px;"],({$width:e})=>e),s4=({items:e=[],type:t="item",label:n,icon:o,iconDir:i="start",parentKey:a,...s})=>{if(t==="item")return r.jsx(Nn.Item,{...s,children:r.jsx(Er,{icon:o,iconDir:i,children:n})});if(t==="group")return r.jsx(Nn.Group,{children:e.map((c,u)=>r.jsx(s4,{parentKey:`${a}-group-${u}`,...c},`${a}-group-${u}`))});if(t==="sub-menu")return r.jsxs(Nn.Sub,{children:[r.jsx(Nn.Trigger,{sub:!0,...s,children:r.jsx(Er,{icon:o,iconDir:i,children:n})}),r.jsx(Nn.Content,{sub:!0,children:e.map((c,u)=>r.jsx(s4,{parentKey:`${a}-sub-menu-${u}`,...c},`${a}-sub-menu-${u}`))})]})},qM=W.div.withConfig({componentId:"sc-85zs9e-1"})(["display:inline-flex;align-items:center;overflow:hidden;user-select:none;",""],({theme:e,$disabled:t=!1,$type:n,$fillWidth:o})=>`
989
989
  width: ${o?"100%":"revert"};
990
990
  border-radius: ${e.click.button.radii.all};
991
991
  border: 1px solid ${e.click.button.split[n].stroke.default};
@@ -1037,7 +1037,7 @@ Defaulting to \`${l4}\`.`}function tf(e){return DM.includes(e)}const RM=W(ef).wi
1037
1037
  background: ${e.click.button.split[t].background.action.disabled};
1038
1038
  color: ${e.click.button.split[t].text.disabled};
1039
1039
  }
1040
- `),tj=W.div.withConfig({componentId:"sc-85zs9e-4"})(["width:auto;"]),sf="Switch",[nj,WA]=pn(sf),[rj,oj]=nj(sf),ij=p.forwardRef((e,t)=>{const{__scopeSwitch:n,name:o,checked:i,defaultChecked:a,required:s,disabled:c,value:u="on",onCheckedChange:g,...C}=e,[v,y]=p.useState(null),E=_t(t,R=>y(R)),M=p.useRef(!1),_=v?!!v.closest("form"):!0,[I=!1,j]=_n({prop:i,defaultProp:a,onChange:g});return p.createElement(rj,{scope:n,checked:I,disabled:c},p.createElement(ot.button,ue({type:"button",role:"switch","aria-checked":I,"aria-required":s,"data-state":cf(I),"data-disabled":c?"":void 0,disabled:c,value:u},C,{ref:E,onClick:Ee(e.onClick,R=>{j(P=>!P),_&&(M.current=R.isPropagationStopped(),M.current||R.stopPropagation())})})),_&&p.createElement(sj,{control:v,bubbles:!M.current,name:o,value:u,checked:I,required:s,disabled:c,style:{transform:"translateX(-100%)"}}))}),aj="SwitchThumb",lj=p.forwardRef((e,t)=>{const{__scopeSwitch:n,...o}=e,i=oj(aj,n);return p.createElement(ot.span,ue({"data-state":cf(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t}))}),sj=e=>{const{control:t,checked:n,bubbles:o=!0,...i}=e,a=p.useRef(null),s=i0(n),c=zs(t);return p.useEffect(()=>{const u=a.current,g=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(g,"checked").set;if(s!==n&&v){const y=new Event("click",{bubbles:o});v.call(u,n),u.dispatchEvent(y)}},[s,n,o]),p.createElement("input",ue({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function cf(e){return e?"checked":"unchecked"}const cj=ij,dj=lj,uj=W(Li).withConfig({componentId:"sc-egkkgl-0"})(["max-width:fit-content;"]),fj=p.forwardRef(({checked:e,disabled:t,orientation:n,dir:o,label:i,id:a,...s},c)=>{const u=p.useId();return r.jsxs(uj,{$orientation:n,$dir:o,children:[r.jsx(gj,{ref:c,id:a??u,disabled:t,checked:e,...s,children:r.jsx(vj,{$checked:e})}),i&&r.jsx(Zo,{htmlFor:a??u,disabled:t,children:i})]})}),pj=(e,t,n)=>{const o={};return t?{...o,backgroundColor:e.click.switch.color.background.disabled,border:`1px solid ${e.click.switch.color.stroke.disabled}`}:n?{...o,backgroundColor:e.click.switch.color.background.active,border:`1px solid ${e.click.switch.color.stroke.active}`}:{...o,backgroundColor:e.click.switch.color.background.default,border:`1px solid ${e.click.switch.color.stroke.default}`}},hj=(e,t,n)=>{const o={};return t?{...o,backgroundColor:e.click.switch.color.indicator.disabled}:n?{...o,backgroundColor:e.click.switch.color.indicator.active}:{...o,backgroundColor:e.click.switch.color.indicator.default}},gj=W(cj).withConfig({componentId:"sc-egkkgl-1"})(e=>{const t=pj(e.theme,e.disabled,e.checked);return{width:e.theme.click.switch.size.width,height:e.theme.click.switch.size.height,backgroundColor:t.backgroundColor,border:t.border,borderRadius:e.theme.click.switch.radii.all,position:"relative",padding:0}}),vj=W(dj).withConfig({componentId:"sc-egkkgl-2"})(e=>({display:"block",width:"12px",height:"12px",backgroundColor:hj(e.theme,e.$disabled,e.$checked).backgroundColor,borderRadius:e.theme.click.switch.radii.all,transition:"transform 100ms",transform:e.$checked?"translateX(15px)":"translateX(2px)",willChange:"transform"})),df="Tabs",[mj,zA]=pn(df,[M1]),uf=M1(),[bj,c4]=mj(df),Cj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:o,onValueChange:i,defaultValue:a,orientation:s="horizontal",dir:c,activationMode:u="automatic",...g}=e,C=Ka(c),[v,y]=_n({prop:o,onChange:i,defaultProp:a});return p.createElement(bj,{scope:n,baseId:tr(),value:v,onValueChange:y,orientation:s,dir:C,activationMode:u},p.createElement(ot.div,ue({dir:C,"data-orientation":s},g,{ref:t})))}),xj="TabsList",wj=p.forwardRef((e,t)=>{const{__scopeTabs:n,loop:o=!0,...i}=e,a=c4(xj,n),s=uf(n);return p.createElement(E3,ue({asChild:!0},s,{orientation:a.orientation,dir:a.dir,loop:o}),p.createElement(ot.div,ue({role:"tablist","aria-orientation":a.orientation},i,{ref:t})))}),yj="TabsTrigger",kj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:o,disabled:i=!1,...a}=e,s=c4(yj,n),c=uf(n),u=ff(s.baseId,o),g=pf(s.baseId,o),C=o===s.value;return p.createElement(_3,ue({asChild:!0},c,{focusable:!i,active:C}),p.createElement(ot.button,ue({type:"button",role:"tab","aria-selected":C,"aria-controls":g,"data-state":C?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:u},a,{ref:t,onMouseDown:Ee(e.onMouseDown,v=>{!i&&v.button===0&&v.ctrlKey===!1?s.onValueChange(o):v.preventDefault()}),onKeyDown:Ee(e.onKeyDown,v=>{[" ","Enter"].includes(v.key)&&s.onValueChange(o)}),onFocus:Ee(e.onFocus,()=>{const v=s.activationMode!=="manual";!C&&!i&&v&&s.onValueChange(o)})})))}),Sj="TabsContent",Lj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:o,forceMount:i,children:a,...s}=e,c=c4(Sj,n),u=ff(c.baseId,o),g=pf(c.baseId,o),C=o===c.value,v=p.useRef(C);return p.useEffect(()=>{const y=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(y)},[]),p.createElement(Cn,{present:i||C},({present:y})=>p.createElement(ot.div,ue({"data-state":C?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!y,id:g,tabIndex:0},s,{ref:t,style:{...e.style,animationDuration:v.current?"0s":void 0}}),y&&a))});function ff(e,t){return`${e}-trigger-${t}`}function pf(e,t){return`${e}-content-${t}`}const $j=Cj,Mj=wj,jj=kj,Ej=Lj,_j=W(jj).withConfig({componentId:"sc-tj736u-0"})(["padding:",";border-top-left-radius:",";border-top-right-radius:",";border:none;border-bottom:2px solid ",";background-color:",";color:",";font:",';cursor:pointer;&[data-state="active"]{border-bottom:2px solid ',";color:",";font:",";&:hover{font:",";}}&:hover{border-bottom:2px solid ",";background-color:",";color:",";font:",';}&:hover[data-state="active"]{border-bottom:2px solid ',";}"],e=>`${e.theme.click.tabs.space.y} ${e.theme.click.tabs.space.x}`,e=>e.theme.click.tabs.radii.all,e=>e.theme.click.tabs.radii.all,e=>e.theme.click.tabs.basic.color.stroke.default,e=>e.theme.click.tabs.basic.color.background.default,e=>e.theme.click.tabs.basic.color.text.default,e=>e.theme.click.tabs.typography.label.default,e=>e.theme.click.tabs.basic.color.stroke.active,e=>e.theme.click.tabs.basic.color.text.active,e=>e.theme.click.tabs.typography.label.active,e=>e.theme.click.tabs.typography.label.active,e=>e.theme.click.tabs.basic.color.stroke.hover,e=>e.theme.click.tabs.basic.color.background.hover,e=>e.theme.click.tabs.basic.color.text.hover,e=>e.theme.click.tabs.typography.label.hover,e=>e.theme.click.tabs.basic.color.stroke.active),Ij=W(Ej).withConfig({componentId:"sc-tj736u-1"})([""]),Tj=W(Mj).withConfig({componentId:"sc-tj736u-2"})(["border-bottom:1px solid ",";display:flex;"],e=>e.theme.click.global.color.stroke.default),e2=({defaultValue:e,children:t,ariaLabel:n,onValueChange:o,...i})=>r.jsx($j,{"aria-label":n,defaultValue:e,onValueChange:o,...i,children:t});e2.TriggersList=Tj,e2.Trigger=_j,e2.Content=Ij;const Fj=W.div.withConfig({componentId:"sc-137ymle-0"})(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;max-width:",";&::-webkit-scrollbar{height:0;}"],({$count:e})=>`${e*200}px`),Oj=W.div.withConfig({componentId:"sc-137ymle-1"})(["display:flex;& > div{height:100%;outline:none;min-width:100px;width:clamp(100px,100%,200px);&.sortable-ghost{opacity:0;}}"]),hf=p.createContext({selectedIndex:void 0,onClose:()=>null}),Pj=()=>{const e=p.useContext(hf);if(!e)throw new Error("Context used outside of its Provider!");return e},gf=({selectedIndex:e,children:t,onReorderTab:n,onClose:o,onSelect:i,list:a,setList:s,onEnd:c,direction:u,group:g,...C})=>{const v=p.useRef(null),[y,E]=p.useState(p.Children.map(t,(R,P)=>({id:`tab-element-${P}`})));p.useEffect(()=>{E(p.Children.map(t,(R,P)=>({id:`tab-element-${P}`})))},[t]);const M=R=>{o(R),E(P=>(P.splice(R,1),[...P]))},_=R=>()=>{i(R)},I={selectedIndex:e,onClose:M},j=R=>{v.current&&(v.current.scrollLeft+=R.deltaY)};return r.jsx(hf.Provider,{value:I,children:r.jsx(Fj,{ref:v,onWheel:j,onScroll:R=>{R.preventDefault(),R.stopPropagation()},$count:(a??y).length,children:r.jsx(Oj,{as:J8.ReactSortable,direction:u??"horizontal",group:g??"tabbar",list:a??y,setList:s??E,onEnd:(R,P,B)=>{const{newDraggableIndex:D,oldDraggableIndex:H}=R;typeof D=="number"&&typeof H=="number"&&H!==D&&n(H,D),typeof c=="function"&&c(R,P,B)},revertOnSpill:!0,...C,children:p.Children.map(t,(R,P)=>r.jsx("div",{tabIndex:P,role:"tab",onClick:_(P),children:R},`tab-element-${P}`))})})})},vf=W.div.withConfig({componentId:"sc-137ymle-2"})(["display:grid;justify-content:flex-start;align-items:center;outline:none;max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;border:none;cursor:pointer;height:100%;max-height:100%;box-sizing:border-box;",' [data-type="close"]{display:none;}[data-indicator]{display:block;}&:hover{[data-type="close"]{display:block;}[data-indicator]{display:none;}}'],({theme:e,$active:t,$preview:n,$dismissable:o,$fixedTabElement:i})=>`
1040
+ `),tj=W.div.withConfig({componentId:"sc-85zs9e-4"})(["width:auto;"]),sf="Switch",[nj,WA]=pn(sf),[rj,oj]=nj(sf),ij=p.forwardRef((e,t)=>{const{__scopeSwitch:n,name:o,checked:i,defaultChecked:a,required:s,disabled:c,value:u="on",onCheckedChange:g,...C}=e,[v,y]=p.useState(null),_=_t(t,R=>y(R)),M=p.useRef(!1),E=v?!!v.closest("form"):!0,[I=!1,j]=_n({prop:i,defaultProp:a,onChange:g});return p.createElement(rj,{scope:n,checked:I,disabled:c},p.createElement(ot.button,ue({type:"button",role:"switch","aria-checked":I,"aria-required":s,"data-state":cf(I),"data-disabled":c?"":void 0,disabled:c,value:u},C,{ref:_,onClick:Ee(e.onClick,R=>{j(P=>!P),E&&(M.current=R.isPropagationStopped(),M.current||R.stopPropagation())})})),E&&p.createElement(sj,{control:v,bubbles:!M.current,name:o,value:u,checked:I,required:s,disabled:c,style:{transform:"translateX(-100%)"}}))}),aj="SwitchThumb",lj=p.forwardRef((e,t)=>{const{__scopeSwitch:n,...o}=e,i=oj(aj,n);return p.createElement(ot.span,ue({"data-state":cf(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t}))}),sj=e=>{const{control:t,checked:n,bubbles:o=!0,...i}=e,a=p.useRef(null),s=i0(n),c=zs(t);return p.useEffect(()=>{const u=a.current,g=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(g,"checked").set;if(s!==n&&v){const y=new Event("click",{bubbles:o});v.call(u,n),u.dispatchEvent(y)}},[s,n,o]),p.createElement("input",ue({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function cf(e){return e?"checked":"unchecked"}const cj=ij,dj=lj,uj=W(Li).withConfig({componentId:"sc-egkkgl-0"})(["max-width:fit-content;"]),fj=p.forwardRef(({checked:e,disabled:t,orientation:n,dir:o,label:i,id:a,...s},c)=>{const u=p.useId();return r.jsxs(uj,{$orientation:n,$dir:o,children:[r.jsx(gj,{ref:c,id:a??u,disabled:t,checked:e,...s,children:r.jsx(vj,{$checked:e})}),i&&r.jsx(Zo,{htmlFor:a??u,disabled:t,children:i})]})}),pj=(e,t,n)=>{const o={};return t?{...o,backgroundColor:e.click.switch.color.background.disabled,border:`1px solid ${e.click.switch.color.stroke.disabled}`}:n?{...o,backgroundColor:e.click.switch.color.background.active,border:`1px solid ${e.click.switch.color.stroke.active}`}:{...o,backgroundColor:e.click.switch.color.background.default,border:`1px solid ${e.click.switch.color.stroke.default}`}},hj=(e,t,n)=>{const o={};return t?{...o,backgroundColor:e.click.switch.color.indicator.disabled}:n?{...o,backgroundColor:e.click.switch.color.indicator.active}:{...o,backgroundColor:e.click.switch.color.indicator.default}},gj=W(cj).withConfig({componentId:"sc-egkkgl-1"})(e=>{const t=pj(e.theme,e.disabled,e.checked);return{width:e.theme.click.switch.size.width,height:e.theme.click.switch.size.height,backgroundColor:t.backgroundColor,border:t.border,borderRadius:e.theme.click.switch.radii.all,position:"relative",padding:0}}),vj=W(dj).withConfig({componentId:"sc-egkkgl-2"})(e=>({display:"block",width:"12px",height:"12px",backgroundColor:hj(e.theme,e.$disabled,e.$checked).backgroundColor,borderRadius:e.theme.click.switch.radii.all,transition:"transform 100ms",transform:e.$checked?"translateX(15px)":"translateX(2px)",willChange:"transform"})),df="Tabs",[mj,zA]=pn(df,[M1]),uf=M1(),[bj,c4]=mj(df),Cj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:o,onValueChange:i,defaultValue:a,orientation:s="horizontal",dir:c,activationMode:u="automatic",...g}=e,C=Ka(c),[v,y]=_n({prop:o,onChange:i,defaultProp:a});return p.createElement(bj,{scope:n,baseId:tr(),value:v,onValueChange:y,orientation:s,dir:C,activationMode:u},p.createElement(ot.div,ue({dir:C,"data-orientation":s},g,{ref:t})))}),xj="TabsList",wj=p.forwardRef((e,t)=>{const{__scopeTabs:n,loop:o=!0,...i}=e,a=c4(xj,n),s=uf(n);return p.createElement(E3,ue({asChild:!0},s,{orientation:a.orientation,dir:a.dir,loop:o}),p.createElement(ot.div,ue({role:"tablist","aria-orientation":a.orientation},i,{ref:t})))}),yj="TabsTrigger",kj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:o,disabled:i=!1,...a}=e,s=c4(yj,n),c=uf(n),u=ff(s.baseId,o),g=pf(s.baseId,o),C=o===s.value;return p.createElement(_3,ue({asChild:!0},c,{focusable:!i,active:C}),p.createElement(ot.button,ue({type:"button",role:"tab","aria-selected":C,"aria-controls":g,"data-state":C?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:u},a,{ref:t,onMouseDown:Ee(e.onMouseDown,v=>{!i&&v.button===0&&v.ctrlKey===!1?s.onValueChange(o):v.preventDefault()}),onKeyDown:Ee(e.onKeyDown,v=>{[" ","Enter"].includes(v.key)&&s.onValueChange(o)}),onFocus:Ee(e.onFocus,()=>{const v=s.activationMode!=="manual";!C&&!i&&v&&s.onValueChange(o)})})))}),Sj="TabsContent",Lj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:o,forceMount:i,children:a,...s}=e,c=c4(Sj,n),u=ff(c.baseId,o),g=pf(c.baseId,o),C=o===c.value,v=p.useRef(C);return p.useEffect(()=>{const y=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(y)},[]),p.createElement(Cn,{present:i||C},({present:y})=>p.createElement(ot.div,ue({"data-state":C?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!y,id:g,tabIndex:0},s,{ref:t,style:{...e.style,animationDuration:v.current?"0s":void 0}}),y&&a))});function ff(e,t){return`${e}-trigger-${t}`}function pf(e,t){return`${e}-content-${t}`}const $j=Cj,Mj=wj,jj=kj,Ej=Lj,_j=W(jj).withConfig({componentId:"sc-tj736u-0"})(["padding:",";border-top-left-radius:",";border-top-right-radius:",";border:none;border-bottom:2px solid ",";background-color:",";color:",";font:",';cursor:pointer;&[data-state="active"]{border-bottom:2px solid ',";color:",";font:",";&:hover{font:",";}}&:hover{border-bottom:2px solid ",";background-color:",";color:",";font:",';}&:hover[data-state="active"]{border-bottom:2px solid ',";}"],e=>`${e.theme.click.tabs.space.y} ${e.theme.click.tabs.space.x}`,e=>e.theme.click.tabs.radii.all,e=>e.theme.click.tabs.radii.all,e=>e.theme.click.tabs.basic.color.stroke.default,e=>e.theme.click.tabs.basic.color.background.default,e=>e.theme.click.tabs.basic.color.text.default,e=>e.theme.click.tabs.typography.label.default,e=>e.theme.click.tabs.basic.color.stroke.active,e=>e.theme.click.tabs.basic.color.text.active,e=>e.theme.click.tabs.typography.label.active,e=>e.theme.click.tabs.typography.label.active,e=>e.theme.click.tabs.basic.color.stroke.hover,e=>e.theme.click.tabs.basic.color.background.hover,e=>e.theme.click.tabs.basic.color.text.hover,e=>e.theme.click.tabs.typography.label.hover,e=>e.theme.click.tabs.basic.color.stroke.active),Ij=W(Ej).withConfig({componentId:"sc-tj736u-1"})([""]),Tj=W(Mj).withConfig({componentId:"sc-tj736u-2"})(["border-bottom:1px solid ",";display:flex;"],e=>e.theme.click.global.color.stroke.default),e2=({defaultValue:e,children:t,ariaLabel:n,onValueChange:o,...i})=>r.jsx($j,{"aria-label":n,defaultValue:e,onValueChange:o,...i,children:t});e2.TriggersList=Tj,e2.Trigger=_j,e2.Content=Ij;const Fj=W.div.withConfig({componentId:"sc-137ymle-0"})(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;max-width:",";&::-webkit-scrollbar{height:0;}"],({$count:e})=>`${e*200}px`),Oj=W.div.withConfig({componentId:"sc-137ymle-1"})(["display:flex;& > div{height:100%;outline:none;min-width:100px;width:clamp(100px,100%,200px);&.sortable-ghost{opacity:0;}}"]),hf=p.createContext({selectedIndex:void 0,onClose:()=>null}),Pj=()=>{const e=p.useContext(hf);if(!e)throw new Error("Context used outside of its Provider!");return e},gf=({selectedIndex:e,children:t,onReorderTab:n,onClose:o,onSelect:i,list:a,setList:s,onEnd:c,direction:u,group:g,...C})=>{const v=p.useRef(null),[y,_]=p.useState(p.Children.map(t,(R,P)=>({id:`tab-element-${P}`})));p.useEffect(()=>{_(p.Children.map(t,(R,P)=>({id:`tab-element-${P}`})))},[t]);const M=R=>{o(R),_(P=>(P.splice(R,1),[...P]))},E=R=>()=>{i(R)},I={selectedIndex:e,onClose:M},j=R=>{v.current&&(v.current.scrollLeft+=R.deltaY)};return r.jsx(hf.Provider,{value:I,children:r.jsx(Fj,{ref:v,onWheel:j,onScroll:R=>{R.preventDefault(),R.stopPropagation()},$count:(a??y).length,children:r.jsx(Oj,{as:J8.ReactSortable,direction:u??"horizontal",group:g??"tabbar",list:a??y,setList:s??_,onEnd:(R,P,B)=>{const{newDraggableIndex:D,oldDraggableIndex:H}=R;typeof D=="number"&&typeof H=="number"&&H!==D&&n(H,D),typeof c=="function"&&c(R,P,B)},revertOnSpill:!0,...C,children:p.Children.map(t,(R,P)=>r.jsx("div",{tabIndex:P,role:"tab",onClick:E(P),children:R},`tab-element-${P}`))})})})},vf=W.div.withConfig({componentId:"sc-137ymle-2"})(["display:grid;justify-content:flex-start;align-items:center;outline:none;max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;border:none;cursor:pointer;height:100%;max-height:100%;box-sizing:border-box;",' [data-type="close"]{display:none;}[data-indicator]{display:block;}&:hover{[data-type="close"]{display:block;}[data-indicator]{display:none;}}'],({theme:e,$active:t,$preview:n,$dismissable:o,$fixedTabElement:i})=>`
1041
1041
  width:${i?"auto":"100%"};
1042
1042
  grid-template-columns: 1fr ${o?e.click.tabs.fileTabs.icon.size.width:""};
1043
1043
  padding: ${e.click.tabs.fileTabs.space.y} ${e.click.tabs.fileTabs.space.x};
@@ -1113,10 +1113,10 @@ Defaulting to \`${l4}\`.`}function tf(e){return DM.includes(e)}const RM=W(ef).wi
1113
1113
  border-left: 1px solid ${e.click.table.row.color.stroke.default};
1114
1114
  `),Xj=W.div.withConfig({componentId:"sc-1q458rb-11"})(["display:flex;flex-wrap:wrap;gap:0.5rem;overflow:hidden;@media (max-width:768px){flex-direction:column;overflow:auto;flex-wrap:nowrap;}"]),Kj=W.div.withConfig({componentId:"sc-1q458rb-12"})(["width:100%;height:100%;overflow:auto;"]),Jj=W.div.withConfig({componentId:"sc-1q458rb-13"})(["display:flex;flex-direction:column;gap:1rem;width:100%;"]),qj=W.div.withConfig({componentId:"sc-1q458rb-14"})(["display:none;@media (max-width:768px){display:flex;justify-content:space-between;align-items:center;padding:0 ",";}"],({theme:e})=>e.click.table.body.cell.space.sm.x),Qj=W.button.withConfig({componentId:"sc-1q458rb-15"})(["&:disabled{background:transparent;}"]),eE=W.button.withConfig({componentId:"sc-1q458rb-16"})(["svg{transition:transform 200ms;","}&:disabled{background:transparent;}"],({$isDeleted:e})=>`
1115
1115
  ${e?"transform: rotate(45deg)":""};
1116
- `),tE=W.div.withConfig({componentId:"sc-1q458rb-17"})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),nE=({headers:e,items:t,onSelect:n,isSelectable:o,isSelected:i,onDelete:a,onEdit:s,isDeleted:c,isDisabled:u,size:g,actionsList:C,rowHeight:v,...y})=>{const E=typeof a=="function",M=typeof s=="function";return r.jsxs(xf,{$isSelectable:o,$isDeleted:c,$isDisabled:u,$showActions:E||M,$rowHeight:v,...y,children:[o&&r.jsx(Gj,{$size:g,children:r.jsx(fc,{checked:i,onCheckedChange:n})}),t.map(({label:_,...I},j)=>r.jsxs(wf,{$size:g,...I,children:[e[j]&&r.jsx(Wj,{children:e[j].label}),r.jsx(tE,{children:_})]},`table-cell-${j}`)),C.length>0&&r.jsx(Yj,{$size:g,children:r.jsxs(Xj,{children:[C.includes("editAction")&&r.jsx(Qj,{as:ur,type:"ghost",disabled:u||c||!M,icon:"pencil",onClick:s,"data-testid":"table-row-edit"}),C.includes("deleteAction")&&r.jsx(eE,{as:ur,disabled:u||!E,$isDeleted:c,type:"ghost",icon:"cross",onClick:a,"data-testid":"table-row-delete"})]})})]})},rE=W(wf).withConfig({componentId:"sc-1q458rb-18"})(["text-align:center;"]),oE=W.div.withConfig({componentId:"sc-1q458rb-19"})(["display:flex;gap:0.5rem;justify-content:center;"]),iE=()=>r.jsxs(r.Fragment,{children:[r.jsx(rt,{name:"loading-animated",size:"sm"}),r.jsx(bo,{size:"sm",children:"Loading data"})]}),aE=({loading:e,noDataMessage:t,colSpan:n,size:o})=>r.jsx(xf,{children:r.jsx(rE,{$size:o,colSpan:n,children:r.jsx(oE,{children:e?r.jsx(iE,{}):t??"No Data available"})})}),lE=p.forwardRef(({headers:e,rows:t,isSelectable:n,selectedIds:o=[],onSelect:i,onDelete:a,onEdit:s,onSort:c,loading:u,noDataMessage:g,size:C="sm",showHeader:v=!0,rowHeight:y,...E},M)=>{const _=typeof a=="function",I=typeof s=="function",j=D=>{if(typeof i=="function"){const H=D?t.map((A,G)=>({item:A,index:G})):[];i(H)}},R=D=>H=>{if(typeof i=="function"){const A=t.flatMap((G,K)=>D===G.id&&H||o.includes(D)&&D!==G.id?{item:G,index:K}:[]);i(A)}},P=t.length>0,B=[];return _&&B.push("deleteAction"),I&&B.push("editAction"),r.jsxs(Jj,{children:[P&&v&&r.jsx(qj,{children:n&&r.jsx(fc,{label:"Select All",checked:o.length===t.length,onCheckedChange:j})}),r.jsx(Kj,{children:r.jsxs(sE,{ref:M,...E,children:[v&&r.jsx(Nj,{headers:e,isSelectable:n,onSelectAll:j,actionsList:B,onSort:c,hasRows:P,size:C}),r.jsxs(zj,{children:[(u||!P)&&r.jsx(aE,{colSpan:e.length+(I||_?1:0)+(n?1:0),loading:u,noDataMessage:g,size:C}),t.map(({id:D,...H},A)=>r.jsx(nE,{headers:e,isSelectable:n,isSelected:o==null?void 0:o.includes(D),onSelect:R(D),actionsList:B,onDelete:_?()=>a({id:D,...H,isDeleted:!H.isDeleted},A):void 0,onEdit:I?()=>s({id:D,...H},A):void 0,size:C,rowHeight:y,...H},`table-body-row-${A}`))]})]})})]})}),sE=W.table.withConfig({componentId:"sc-1q458rb-20"})(["width:100%;border-spacing:0;overflow:hidden;table-layout:fixed;"," @media (max-width:768px){border:none;table-layout:auto;}"],({theme:e})=>`
1116
+ `),tE=W.div.withConfig({componentId:"sc-1q458rb-17"})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),nE=({headers:e,items:t,onSelect:n,isSelectable:o,isSelected:i,onDelete:a,onEdit:s,isDeleted:c,isDisabled:u,size:g,actionsList:C,rowHeight:v,...y})=>{const _=typeof a=="function",M=typeof s=="function";return r.jsxs(xf,{$isSelectable:o,$isDeleted:c,$isDisabled:u,$showActions:_||M,$rowHeight:v,...y,children:[o&&r.jsx(Gj,{$size:g,children:r.jsx(fc,{checked:i,onCheckedChange:n})}),t.map(({label:E,...I},j)=>r.jsxs(wf,{$size:g,...I,children:[e[j]&&r.jsx(Wj,{children:e[j].label}),r.jsx(tE,{children:E})]},`table-cell-${j}`)),C.length>0&&r.jsx(Yj,{$size:g,children:r.jsxs(Xj,{children:[C.includes("editAction")&&r.jsx(Qj,{as:ur,type:"ghost",disabled:u||c||!M,icon:"pencil",onClick:s,"data-testid":"table-row-edit"}),C.includes("deleteAction")&&r.jsx(eE,{as:ur,disabled:u||!_,$isDeleted:c,type:"ghost",icon:"cross",onClick:a,"data-testid":"table-row-delete"})]})})]})},rE=W(wf).withConfig({componentId:"sc-1q458rb-18"})(["text-align:center;"]),oE=W.div.withConfig({componentId:"sc-1q458rb-19"})(["display:flex;gap:0.5rem;justify-content:center;"]),iE=()=>r.jsxs(r.Fragment,{children:[r.jsx(rt,{name:"loading-animated",size:"sm"}),r.jsx(bo,{size:"sm",children:"Loading data"})]}),aE=({loading:e,noDataMessage:t,colSpan:n,size:o})=>r.jsx(xf,{children:r.jsx(rE,{$size:o,colSpan:n,children:r.jsx(oE,{children:e?r.jsx(iE,{}):t??"No Data available"})})}),lE=p.forwardRef(({headers:e,rows:t,isSelectable:n,selectedIds:o=[],onSelect:i,onDelete:a,onEdit:s,onSort:c,loading:u,noDataMessage:g,size:C="sm",showHeader:v=!0,rowHeight:y,..._},M)=>{const E=typeof a=="function",I=typeof s=="function",j=D=>{if(typeof i=="function"){const H=D?t.map((A,G)=>({item:A,index:G})):[];i(H)}},R=D=>H=>{if(typeof i=="function"){const A=t.flatMap((G,K)=>D===G.id&&H||o.includes(D)&&D!==G.id?{item:G,index:K}:[]);i(A)}},P=t.length>0,B=[];return E&&B.push("deleteAction"),I&&B.push("editAction"),r.jsxs(Jj,{children:[P&&v&&r.jsx(qj,{children:n&&r.jsx(fc,{label:"Select All",checked:o.length===t.length,onCheckedChange:j})}),r.jsx(Kj,{children:r.jsxs(sE,{ref:M,..._,children:[v&&r.jsx(Nj,{headers:e,isSelectable:n,onSelectAll:j,actionsList:B,onSort:c,hasRows:P,size:C}),r.jsxs(zj,{children:[(u||!P)&&r.jsx(aE,{colSpan:e.length+(I||E?1:0)+(n?1:0),loading:u,noDataMessage:g,size:C}),t.map(({id:D,...H},A)=>r.jsx(nE,{headers:e,isSelectable:n,isSelected:o==null?void 0:o.includes(D),onSelect:R(D),actionsList:B,onDelete:E?()=>a({id:D,...H,isDeleted:!H.isDeleted},A):void 0,onEdit:I?()=>s({id:D,...H},A):void 0,size:C,rowHeight:y,...H},`table-body-row-${A}`))]})]})})]})}),sE=W.table.withConfig({componentId:"sc-1q458rb-20"})(["width:100%;border-spacing:0;overflow:hidden;table-layout:fixed;"," @media (max-width:768px){border:none;table-layout:auto;}"],({theme:e})=>`
1117
1117
  border-radius: ${e.click.table.radii.all};
1118
1118
  border: ${e.click.table.cell.stroke} solid ${e.click.table.global.color.stroke.default};
1119
- `),cE=p.forwardRef(({rows:e,disabled:t,label:n,error:o,id:i,value:a="",onChange:s,orientation:c,dir:u,...g},C)=>{const v=p.useRef(null),y=p.useId(),E=M=>{s(M.target.value,M)};return r.jsx(H1,{disabled:t,id:i??y,label:n,error:o,orientation:c,dir:u,resize:"vertical",children:r.jsx(KL,{ref:Ko([v,C]),rows:e??5,id:i??y,disabled:t,value:a,onInput:E,...g})})}),dE=p.forwardRef(({clear:e,type:t,disabled:n,label:o,error:i,id:a,loading:s,value:c="",onChange:u,orientation:g,dir:C,...v},y)=>{const E=p.useRef(null),M=p.useId(),_=j=>{u(j.target.value,j)},I=()=>{u("")};return r.jsxs(H1,{disabled:n,id:a??M,label:o,error:i,orientation:g,dir:C,children:[r.jsx(Tc,{ref:Ko([E,y]),type:t,id:a??M,disabled:n,value:c,onChange:_,...v}),e&&r.jsx(D0,{disabled:n,onClick:I,$show:c.length>0,"aria-label":"clear input",children:r.jsx(rt,{name:"cross",size:"sm"})}),s&&r.jsx(rt,{name:"loading-animated",size:"sm"})]})}),u4=p.forwardRef((e,t)=>p.createElement(ot.span,ue({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),uE=u4,[t2,GA]=pn("Tooltip",[Yo]),n2=Yo(),fE="TooltipProvider",pE=700,f4="tooltip.open",[hE,p4]=t2(fE),gE=e=>{const{__scopeTooltip:t,delayDuration:n=pE,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:a}=e,[s,c]=p.useState(!0),u=p.useRef(!1),g=p.useRef(0);return p.useEffect(()=>{const C=g.current;return()=>window.clearTimeout(C)},[]),p.createElement(hE,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:p.useCallback(()=>{window.clearTimeout(g.current),c(!1)},[]),onClose:p.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>c(!0),o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:p.useCallback(C=>{u.current=C},[]),disableHoverableContent:i},a)},h4="Tooltip",[vE,Fl]=t2(h4),mE=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:c}=e,u=p4(h4,e.__scopeTooltip),g=n2(t),[C,v]=p.useState(null),y=tr(),E=p.useRef(0),M=s??u.disableHoverableContent,_=c??u.delayDuration,I=p.useRef(!1),[j=!1,R]=_n({prop:o,defaultProp:i,onChange:A=>{A?(u.onOpen(),document.dispatchEvent(new CustomEvent(f4))):u.onClose(),a==null||a(A)}}),P=p.useMemo(()=>j?I.current?"delayed-open":"instant-open":"closed",[j]),B=p.useCallback(()=>{window.clearTimeout(E.current),I.current=!1,R(!0)},[R]),D=p.useCallback(()=>{window.clearTimeout(E.current),R(!1)},[R]),H=p.useCallback(()=>{window.clearTimeout(E.current),E.current=window.setTimeout(()=>{I.current=!0,R(!0)},_)},[_,R]);return p.useEffect(()=>()=>window.clearTimeout(E.current),[]),p.createElement(el,g,p.createElement(vE,{scope:t,contentId:y,open:j,stateAttribute:P,trigger:C,onTriggerChange:v,onTriggerEnter:p.useCallback(()=>{u.isOpenDelayed?H():B()},[u.isOpenDelayed,H,B]),onTriggerLeave:p.useCallback(()=>{M?D():window.clearTimeout(E.current)},[D,M]),onOpen:B,onClose:D,disableHoverableContent:M},n))},yf="TooltipTrigger",bE=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,i=Fl(yf,n),a=p4(yf,n),s=n2(n),c=p.useRef(null),u=_t(t,c,i.onTriggerChange),g=p.useRef(!1),C=p.useRef(!1),v=p.useCallback(()=>g.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),p.createElement(tl,ue({asChild:!0},s),p.createElement(ot.button,ue({"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute},o,{ref:u,onPointerMove:Ee(e.onPointerMove,y=>{y.pointerType!=="touch"&&!C.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),C.current=!0)}),onPointerLeave:Ee(e.onPointerLeave,()=>{i.onTriggerLeave(),C.current=!1}),onPointerDown:Ee(e.onPointerDown,()=>{g.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:Ee(e.onFocus,()=>{g.current||i.onOpen()}),onBlur:Ee(e.onBlur,i.onClose),onClick:Ee(e.onClick,i.onClose)})))}),kf="TooltipPortal",[CE,xE]=t2(kf,{forceMount:void 0}),wE=e=>{const{__scopeTooltip:t,forceMount:n,children:o,container:i}=e,a=Fl(kf,t);return p.createElement(CE,{scope:t,forceMount:n},p.createElement(Cn,{present:n||a.open},p.createElement($1,{asChild:!0,container:i},o)))},Ol="TooltipContent",yE=p.forwardRef((e,t)=>{const n=xE(Ol,e.__scopeTooltip),{forceMount:o=n.forceMount,side:i="top",...a}=e,s=Fl(Ol,e.__scopeTooltip);return p.createElement(Cn,{present:o||s.open},s.disableHoverableContent?p.createElement(Sf,ue({side:i},a,{ref:t})):p.createElement(kE,ue({side:i},a,{ref:t})))}),kE=p.forwardRef((e,t)=>{const n=Fl(Ol,e.__scopeTooltip),o=p4(Ol,e.__scopeTooltip),i=p.useRef(null),a=_t(t,i),[s,c]=p.useState(null),{trigger:u,onClose:g}=n,C=i.current,{onPointerInTransitChange:v}=o,y=p.useCallback(()=>{c(null),v(!1)},[v]),E=p.useCallback((M,_)=>{const I=M.currentTarget,j={x:M.clientX,y:M.clientY},R=jE(j,I.getBoundingClientRect()),P=EE(j,R),B=_E(_.getBoundingClientRect()),D=TE([...P,...B]);c(D),v(!0)},[v]);return p.useEffect(()=>()=>y(),[y]),p.useEffect(()=>{if(u&&C){const M=I=>E(I,C),_=I=>E(I,u);return u.addEventListener("pointerleave",M),C.addEventListener("pointerleave",_),()=>{u.removeEventListener("pointerleave",M),C.removeEventListener("pointerleave",_)}}},[u,C,E,y]),p.useEffect(()=>{if(s){const M=_=>{const I=_.target,j={x:_.clientX,y:_.clientY},R=(u==null?void 0:u.contains(I))||(C==null?void 0:C.contains(I)),P=!IE(j,s);R?y():P&&(y(),g())};return document.addEventListener("pointermove",M),()=>document.removeEventListener("pointermove",M)}},[u,C,s,g,y]),p.createElement(Sf,ue({},e,{ref:a}))}),[SE,LE]=t2(h4,{isInside:!1}),Sf=p.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:s,...c}=e,u=Fl(Ol,n),g=n2(n),{onClose:C}=u;return p.useEffect(()=>(document.addEventListener(f4,C),()=>document.removeEventListener(f4,C)),[C]),p.useEffect(()=>{if(u.trigger){const v=y=>{const E=y.target;E!=null&&E.contains(u.trigger)&&C()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[u.trigger,C]),p.createElement(w1,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:v=>v.preventDefault(),onDismiss:C},p.createElement(Gs,ue({"data-state":u.stateAttribute},g,c,{ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),p.createElement(wd,null,o),p.createElement(SE,{scope:n,isInside:!0},p.createElement(uE,{id:u.contentId,role:"tooltip"},i||o))))}),$E="TooltipArrow",ME=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,i=n2(n);return LE($E,n).isInside?null:p.createElement(Ys,ue({},i,o,{ref:t}))});function jE(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,o,i,a)){case a:return"left";case i:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function EE(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function _E(e){const{top:t,right:n,bottom:o,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:o},{x:i,y:o}]}function IE(e,t){const{x:n,y:o}=e;let i=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){const c=t[a].x,u=t[a].y,g=t[s].x,C=t[s].y;u>o!=C>o&&n<(g-c)*(o-u)/(C-u)+c&&(i=!i)}return i}function TE(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),FE(t)}function FE(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const i=e[o];for(;t.length>=2;){const a=t[t.length-1],s=t[t.length-2];if((a.x-s.x)*(i.y-s.y)>=(a.y-s.y)*(i.x-s.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const i=e[o];for(;n.length>=2;){const a=n[n.length-1],s=n[n.length-2];if((a.x-s.x)*(i.y-s.y)>=(a.y-s.y)*(i.x-s.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const OE=gE,PE=mE,HE=bE,DE=wE,AE=yE,RE=ME,g4=({children:e,open:t,disabled:n,...o})=>r.jsx(PE,{open:n?!1:t,...o,children:e}),Lf=e=>r.jsx(HE,{asChild:!0,children:r.jsx("div",{...e})});Lf.displayName="TooltipTrigger",g4.Trigger=Lf;const VE=W(AE).withConfig({componentId:"sc-ymqkp1-0"})(["display:flex;align-items:flex-start;",""],({theme:e})=>`
1119
+ `),cE=p.forwardRef(({rows:e,disabled:t,label:n,error:o,id:i,value:a="",onChange:s,orientation:c,dir:u,...g},C)=>{const v=p.useRef(null),y=p.useId(),_=M=>{s(M.target.value,M)};return r.jsx(H1,{disabled:t,id:i??y,label:n,error:o,orientation:c,dir:u,resize:"vertical",children:r.jsx(KL,{ref:Ko([v,C]),rows:e??5,id:i??y,disabled:t,value:a,onInput:_,...g})})}),dE=p.forwardRef(({clear:e,type:t,disabled:n,label:o,error:i,id:a,loading:s,value:c="",onChange:u,orientation:g,dir:C,...v},y)=>{const _=p.useRef(null),M=p.useId(),E=j=>{u(j.target.value,j)},I=()=>{u("")};return r.jsxs(H1,{disabled:n,id:a??M,label:o,error:i,orientation:g,dir:C,children:[r.jsx(Tc,{ref:Ko([_,y]),type:t,id:a??M,disabled:n,value:c,onChange:E,...v}),e&&r.jsx(D0,{disabled:n,onClick:I,$show:c.length>0,"aria-label":"clear input",children:r.jsx(rt,{name:"cross",size:"sm"})}),s&&r.jsx(rt,{name:"loading-animated",size:"sm"})]})}),u4=p.forwardRef((e,t)=>p.createElement(ot.span,ue({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),uE=u4,[t2,GA]=pn("Tooltip",[Yo]),n2=Yo(),fE="TooltipProvider",pE=700,f4="tooltip.open",[hE,p4]=t2(fE),gE=e=>{const{__scopeTooltip:t,delayDuration:n=pE,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:a}=e,[s,c]=p.useState(!0),u=p.useRef(!1),g=p.useRef(0);return p.useEffect(()=>{const C=g.current;return()=>window.clearTimeout(C)},[]),p.createElement(hE,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:p.useCallback(()=>{window.clearTimeout(g.current),c(!1)},[]),onClose:p.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>c(!0),o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:p.useCallback(C=>{u.current=C},[]),disableHoverableContent:i},a)},h4="Tooltip",[vE,Fl]=t2(h4),mE=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:c}=e,u=p4(h4,e.__scopeTooltip),g=n2(t),[C,v]=p.useState(null),y=tr(),_=p.useRef(0),M=s??u.disableHoverableContent,E=c??u.delayDuration,I=p.useRef(!1),[j=!1,R]=_n({prop:o,defaultProp:i,onChange:A=>{A?(u.onOpen(),document.dispatchEvent(new CustomEvent(f4))):u.onClose(),a==null||a(A)}}),P=p.useMemo(()=>j?I.current?"delayed-open":"instant-open":"closed",[j]),B=p.useCallback(()=>{window.clearTimeout(_.current),I.current=!1,R(!0)},[R]),D=p.useCallback(()=>{window.clearTimeout(_.current),R(!1)},[R]),H=p.useCallback(()=>{window.clearTimeout(_.current),_.current=window.setTimeout(()=>{I.current=!0,R(!0)},E)},[E,R]);return p.useEffect(()=>()=>window.clearTimeout(_.current),[]),p.createElement(el,g,p.createElement(vE,{scope:t,contentId:y,open:j,stateAttribute:P,trigger:C,onTriggerChange:v,onTriggerEnter:p.useCallback(()=>{u.isOpenDelayed?H():B()},[u.isOpenDelayed,H,B]),onTriggerLeave:p.useCallback(()=>{M?D():window.clearTimeout(_.current)},[D,M]),onOpen:B,onClose:D,disableHoverableContent:M},n))},yf="TooltipTrigger",bE=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,i=Fl(yf,n),a=p4(yf,n),s=n2(n),c=p.useRef(null),u=_t(t,c,i.onTriggerChange),g=p.useRef(!1),C=p.useRef(!1),v=p.useCallback(()=>g.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),p.createElement(tl,ue({asChild:!0},s),p.createElement(ot.button,ue({"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute},o,{ref:u,onPointerMove:Ee(e.onPointerMove,y=>{y.pointerType!=="touch"&&!C.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),C.current=!0)}),onPointerLeave:Ee(e.onPointerLeave,()=>{i.onTriggerLeave(),C.current=!1}),onPointerDown:Ee(e.onPointerDown,()=>{g.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:Ee(e.onFocus,()=>{g.current||i.onOpen()}),onBlur:Ee(e.onBlur,i.onClose),onClick:Ee(e.onClick,i.onClose)})))}),kf="TooltipPortal",[CE,xE]=t2(kf,{forceMount:void 0}),wE=e=>{const{__scopeTooltip:t,forceMount:n,children:o,container:i}=e,a=Fl(kf,t);return p.createElement(CE,{scope:t,forceMount:n},p.createElement(Cn,{present:n||a.open},p.createElement($1,{asChild:!0,container:i},o)))},Ol="TooltipContent",yE=p.forwardRef((e,t)=>{const n=xE(Ol,e.__scopeTooltip),{forceMount:o=n.forceMount,side:i="top",...a}=e,s=Fl(Ol,e.__scopeTooltip);return p.createElement(Cn,{present:o||s.open},s.disableHoverableContent?p.createElement(Sf,ue({side:i},a,{ref:t})):p.createElement(kE,ue({side:i},a,{ref:t})))}),kE=p.forwardRef((e,t)=>{const n=Fl(Ol,e.__scopeTooltip),o=p4(Ol,e.__scopeTooltip),i=p.useRef(null),a=_t(t,i),[s,c]=p.useState(null),{trigger:u,onClose:g}=n,C=i.current,{onPointerInTransitChange:v}=o,y=p.useCallback(()=>{c(null),v(!1)},[v]),_=p.useCallback((M,E)=>{const I=M.currentTarget,j={x:M.clientX,y:M.clientY},R=jE(j,I.getBoundingClientRect()),P=EE(j,R),B=_E(E.getBoundingClientRect()),D=TE([...P,...B]);c(D),v(!0)},[v]);return p.useEffect(()=>()=>y(),[y]),p.useEffect(()=>{if(u&&C){const M=I=>_(I,C),E=I=>_(I,u);return u.addEventListener("pointerleave",M),C.addEventListener("pointerleave",E),()=>{u.removeEventListener("pointerleave",M),C.removeEventListener("pointerleave",E)}}},[u,C,_,y]),p.useEffect(()=>{if(s){const M=E=>{const I=E.target,j={x:E.clientX,y:E.clientY},R=(u==null?void 0:u.contains(I))||(C==null?void 0:C.contains(I)),P=!IE(j,s);R?y():P&&(y(),g())};return document.addEventListener("pointermove",M),()=>document.removeEventListener("pointermove",M)}},[u,C,s,g,y]),p.createElement(Sf,ue({},e,{ref:a}))}),[SE,LE]=t2(h4,{isInside:!1}),Sf=p.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:s,...c}=e,u=Fl(Ol,n),g=n2(n),{onClose:C}=u;return p.useEffect(()=>(document.addEventListener(f4,C),()=>document.removeEventListener(f4,C)),[C]),p.useEffect(()=>{if(u.trigger){const v=y=>{const _=y.target;_!=null&&_.contains(u.trigger)&&C()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[u.trigger,C]),p.createElement(w1,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:v=>v.preventDefault(),onDismiss:C},p.createElement(Gs,ue({"data-state":u.stateAttribute},g,c,{ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),p.createElement(wd,null,o),p.createElement(SE,{scope:n,isInside:!0},p.createElement(uE,{id:u.contentId,role:"tooltip"},i||o))))}),$E="TooltipArrow",ME=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,i=n2(n);return LE($E,n).isInside?null:p.createElement(Ys,ue({},i,o,{ref:t}))});function jE(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,o,i,a)){case a:return"left";case i:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function EE(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function _E(e){const{top:t,right:n,bottom:o,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:o},{x:i,y:o}]}function IE(e,t){const{x:n,y:o}=e;let i=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){const c=t[a].x,u=t[a].y,g=t[s].x,C=t[s].y;u>o!=C>o&&n<(g-c)*(o-u)/(C-u)+c&&(i=!i)}return i}function TE(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),FE(t)}function FE(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const i=e[o];for(;t.length>=2;){const a=t[t.length-1],s=t[t.length-2];if((a.x-s.x)*(i.y-s.y)>=(a.y-s.y)*(i.x-s.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const i=e[o];for(;n.length>=2;){const a=n[n.length-1],s=n[n.length-2];if((a.x-s.x)*(i.y-s.y)>=(a.y-s.y)*(i.x-s.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const OE=gE,PE=mE,HE=bE,DE=wE,AE=yE,RE=ME,g4=({children:e,open:t,disabled:n,...o})=>r.jsx(PE,{open:n?!1:t,...o,children:e}),Lf=e=>r.jsx(HE,{asChild:!0,children:r.jsx("div",{...e})});Lf.displayName="TooltipTrigger",g4.Trigger=Lf;const VE=W(AE).withConfig({componentId:"sc-ymqkp1-0"})(["display:flex;align-items:flex-start;",""],({theme:e})=>`
1120
1120
  padding: ${e.click.tooltip.space.y} ${e.click.tooltip.space.x};
1121
1121
  color: ${e.click.tooltip.color.label.default};
1122
1122
  background: ${e.click.tooltip.color.background.default};
@@ -1124,7 +1124,7 @@ Defaulting to \`${l4}\`.`}function tf(e){return DM.includes(e)}const RM=W(ef).wi
1124
1124
  font: ${e.click.tooltip.typography.label.default};
1125
1125
  `),BE=W.svg.withConfig({componentId:"sc-ymqkp1-1"})(["",";"],({theme:e})=>`
1126
1126
  fill: ${e.click.tooltip.color.background.default};
1127
- `),$f=({showArrow:e,children:t,sideOffset:n=6,...o})=>r.jsx(DE,{children:r.jsxs(VE,{sideOffset:n,...o,children:[e&&r.jsx(BE,{as:RE,width:20,height:8}),t]})});$f.displayName="TooltipContent",g4.Content=$f;const Mf="ToastProvider",[v4,NE,ZE]=Ds("Toast"),[jf,YA]=pn("Toast",[ZE]),[UE,r2]=jf(Mf),Ef=e=>{const{__scopeToast:t,label:n="Notification",duration:o=5e3,swipeDirection:i="right",swipeThreshold:a=50,children:s}=e,[c,u]=p.useState(null),[g,C]=p.useState(0),v=p.useRef(!1),y=p.useRef(!1);return p.createElement(v4.Provider,{scope:t},p.createElement(UE,{scope:t,label:n,duration:o,swipeDirection:i,swipeThreshold:a,toastCount:g,viewport:c,onViewportChange:u,onToastAdd:p.useCallback(()=>C(E=>E+1),[]),onToastRemove:p.useCallback(()=>C(E=>E-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:y},s))};Ef.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${Mf}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const WE="ToastViewport",zE=["F8"],m4="toast.viewportPause",b4="toast.viewportResume",GE=p.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:o=zE,label:i="Notifications ({hotkey})",...a}=e,s=r2(WE,n),c=NE(n),u=p.useRef(null),g=p.useRef(null),C=p.useRef(null),v=p.useRef(null),y=_t(t,v,s.onViewportChange),E=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=s.toastCount>0;p.useEffect(()=>{const I=j=>{var R;o.every(B=>j[B]||j.code===B)&&((R=v.current)===null||R===void 0||R.focus())};return document.addEventListener("keydown",I),()=>document.removeEventListener("keydown",I)},[o]),p.useEffect(()=>{const I=u.current,j=v.current;if(M&&I&&j){const R=()=>{if(!s.isClosePausedRef.current){const H=new CustomEvent(m4);j.dispatchEvent(H),s.isClosePausedRef.current=!0}},P=()=>{if(s.isClosePausedRef.current){const H=new CustomEvent(b4);j.dispatchEvent(H),s.isClosePausedRef.current=!1}},B=H=>{!I.contains(H.relatedTarget)&&P()},D=()=>{I.contains(document.activeElement)||P()};return I.addEventListener("focusin",R),I.addEventListener("focusout",B),I.addEventListener("pointermove",R),I.addEventListener("pointerleave",D),window.addEventListener("blur",R),window.addEventListener("focus",P),()=>{I.removeEventListener("focusin",R),I.removeEventListener("focusout",B),I.removeEventListener("pointermove",R),I.removeEventListener("pointerleave",D),window.removeEventListener("blur",R),window.removeEventListener("focus",P)}}},[M,s.isClosePausedRef]);const _=p.useCallback(({tabbingDirection:I})=>{const R=c().map(P=>{const B=P.ref.current,D=[B,...c_(B)];return I==="forwards"?D:D.reverse()});return(I==="forwards"?R.reverse():R).flat()},[c]);return p.useEffect(()=>{const I=v.current;if(I){const j=R=>{const P=R.altKey||R.ctrlKey||R.metaKey;if(R.key==="Tab"&&!P){const G=document.activeElement,K=R.shiftKey;if(R.target===I&&K){var D;(D=g.current)===null||D===void 0||D.focus();return}const se=_({tabbingDirection:K?"backwards":"forwards"}),fe=se.findIndex(te=>te===G);if(C4(se.slice(fe+1)))R.preventDefault();else{var H,A;K?(H=g.current)===null||H===void 0||H.focus():(A=C.current)===null||A===void 0||A.focus()}}};return I.addEventListener("keydown",j),()=>I.removeEventListener("keydown",j)}},[c,_]),p.createElement(Uh,{ref:u,role:"region","aria-label":i.replace("{hotkey}",E),tabIndex:-1,style:{pointerEvents:M?void 0:"none"}},M&&p.createElement(_f,{ref:g,onFocusFromOutsideViewport:()=>{const I=_({tabbingDirection:"forwards"});C4(I)}}),p.createElement(v4.Slot,{scope:n},p.createElement(ot.ol,ue({tabIndex:-1},a,{ref:y}))),M&&p.createElement(_f,{ref:C,onFocusFromOutsideViewport:()=>{const I=_({tabbingDirection:"backwards"});C4(I)}}))}),YE="ToastFocusProxy",_f=p.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:o,...i}=e,a=r2(YE,n);return p.createElement(u4,ue({"aria-hidden":!0,tabIndex:0},i,{ref:t,style:{position:"fixed"},onFocus:s=>{var c;const u=s.relatedTarget;!((c=a.viewport)!==null&&c!==void 0&&c.contains(u))&&o()}}))}),o2="Toast",XE="toast.swipeStart",KE="toast.swipeMove",JE="toast.swipeCancel",qE="toast.swipeEnd",QE=p.forwardRef((e,t)=>{const{forceMount:n,open:o,defaultOpen:i,onOpenChange:a,...s}=e,[c=!0,u]=_n({prop:o,defaultProp:i,onChange:a});return p.createElement(Cn,{present:n||c},p.createElement(If,ue({open:c},s,{ref:t,onClose:()=>u(!1),onPause:Sn(e.onPause),onResume:Sn(e.onResume),onSwipeStart:Ee(e.onSwipeStart,g=>{g.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ee(e.onSwipeMove,g=>{const{x:C,y:v}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","move"),g.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${C}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:Ee(e.onSwipeCancel,g=>{g.currentTarget.setAttribute("data-swipe","cancel"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ee(e.onSwipeEnd,g=>{const{x:C,y:v}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","end"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${C}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),u(!1)})})))}),[e_,t_]=jf(o2,{onClose(){}}),If=p.forwardRef((e,t)=>{const{__scopeToast:n,type:o="foreground",duration:i,open:a,onClose:s,onEscapeKeyDown:c,onPause:u,onResume:g,onSwipeStart:C,onSwipeMove:v,onSwipeCancel:y,onSwipeEnd:E,...M}=e,_=r2(o2,n),[I,j]=p.useState(null),R=_t(t,te=>j(te)),P=p.useRef(null),B=p.useRef(null),D=i||_.duration,H=p.useRef(0),A=p.useRef(D),G=p.useRef(0),{onToastAdd:K,onToastRemove:Q}=_,le=Sn(()=>{var te;(I==null?void 0:I.contains(document.activeElement))&&((te=_.viewport)===null||te===void 0||te.focus()),s()}),se=p.useCallback(te=>{!te||te===1/0||(window.clearTimeout(G.current),H.current=new Date().getTime(),G.current=window.setTimeout(le,te))},[le]);p.useEffect(()=>{const te=_.viewport;if(te){const ge=()=>{se(A.current),g==null||g()},ie=()=>{const me=new Date().getTime()-H.current;A.current=A.current-me,window.clearTimeout(G.current),u==null||u()};return te.addEventListener(m4,ie),te.addEventListener(b4,ge),()=>{te.removeEventListener(m4,ie),te.removeEventListener(b4,ge)}}},[_.viewport,D,u,g,se]),p.useEffect(()=>{a&&!_.isClosePausedRef.current&&se(D)},[a,D,_.isClosePausedRef,se]),p.useEffect(()=>(K(),()=>Q()),[K,Q]);const fe=p.useMemo(()=>I?Pf(I):null,[I]);return _.viewport?p.createElement(p.Fragment,null,fe&&p.createElement(n_,{__scopeToast:n,role:"status","aria-live":o==="foreground"?"assertive":"polite","aria-atomic":!0},fe),p.createElement(e_,{scope:n,onClose:le},za.createPortal(p.createElement(v4.ItemSlot,{scope:n},p.createElement(Zh,{asChild:!0,onEscapeKeyDown:Ee(c,()=>{_.isFocusedToastEscapeKeyDownRef.current||le(),_.isFocusedToastEscapeKeyDownRef.current=!1})},p.createElement(ot.li,ue({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":_.swipeDirection},M,{ref:R,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ee(e.onKeyDown,te=>{te.key==="Escape"&&(c==null||c(te.nativeEvent),te.nativeEvent.defaultPrevented||(_.isFocusedToastEscapeKeyDownRef.current=!0,le()))}),onPointerDown:Ee(e.onPointerDown,te=>{te.button===0&&(P.current={x:te.clientX,y:te.clientY})}),onPointerMove:Ee(e.onPointerMove,te=>{if(!P.current)return;const ge=te.clientX-P.current.x,ie=te.clientY-P.current.y,me=!!B.current,ye=["left","right"].includes(_.swipeDirection),pe=["left","up"].includes(_.swipeDirection)?Math.min:Math.max,Me=ye?pe(0,ge):0,Se=ye?0:pe(0,ie),De=te.pointerType==="touch"?10:2,de={x:Me,y:Se},xe={originalEvent:te,delta:de};me?(B.current=de,i2(KE,v,xe,{discrete:!1})):Hf(de,_.swipeDirection,De)?(B.current=de,i2(XE,C,xe,{discrete:!1}),te.target.setPointerCapture(te.pointerId)):(Math.abs(ge)>De||Math.abs(ie)>De)&&(P.current=null)}),onPointerUp:Ee(e.onPointerUp,te=>{const ge=B.current,ie=te.target;if(ie.hasPointerCapture(te.pointerId)&&ie.releasePointerCapture(te.pointerId),B.current=null,P.current=null,ge){const me=te.currentTarget,ye={originalEvent:te,delta:ge};Hf(ge,_.swipeDirection,_.swipeThreshold)?i2(qE,E,ye,{discrete:!0}):i2(JE,y,ye,{discrete:!0}),me.addEventListener("click",pe=>pe.preventDefault(),{once:!0})}})})))),_.viewport))):null});If.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${o2}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const n_=e=>{const{__scopeToast:t,children:n,...o}=e,i=r2(o2,t),[a,s]=p.useState(!1),[c,u]=p.useState(!1);return l_(()=>s(!0)),p.useEffect(()=>{const g=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(g)},[]),c?null:p.createElement($1,{asChild:!0},p.createElement(u4,o,a&&p.createElement(p.Fragment,null,i.label," ",n)))},r_=p.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return p.createElement(ot.div,ue({},o,{ref:t}))}),o_=p.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return p.createElement(ot.div,ue({},o,{ref:t}))}),i_="ToastAction",Tf=p.forwardRef((e,t)=>{const{altText:n,...o}=e;return n?p.createElement(Of,{altText:n,asChild:!0},p.createElement(Ff,ue({},o,{ref:t}))):null});Tf.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${i_}\``)}};const a_="ToastClose",Ff=p.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e,i=t_(a_,n);return p.createElement(Of,{asChild:!0},p.createElement(ot.button,ue({type:"button"},o,{ref:t,onClick:Ee(e.onClick,i.onClose)})))}),Of=p.forwardRef((e,t)=>{const{__scopeToast:n,altText:o,...i}=e;return p.createElement(ot.div,ue({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0},i,{ref:t}))});function Pf(e){const t=[];return Array.from(e.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&t.push(o.textContent),s_(o)){const i=o.ariaHidden||o.hidden||o.style.display==="none",a=o.dataset.radixToastAnnounceExclude==="";if(!i)if(a){const s=o.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Pf(o))}}),t}function i2(e,t,n,{discrete:o}){const i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?u3(i,a):i.dispatchEvent(a)}const Hf=(e,t,n=0)=>{const o=Math.abs(e.x),i=Math.abs(e.y),a=o>i;return t==="left"||t==="right"?a&&o>n:!a&&i>n};function l_(e=()=>{}){const t=Sn(e);zr(()=>{let n=0,o=0;return n=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(o)}},[t])}function s_(e){return e.nodeType===e.ELEMENT_NODE}function c_(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function C4(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}const d_=Ef,u_=GE,f_=QE,p_=r_,h_=o_,g_=Tf,v_=Ff;class m_{constructor(){Wa(this,"listeners",[]);Wa(this,"on",t=>(this.listeners.push(t),{dispose:()=>this.off(t)}));Wa(this,"off",t=>{const n=this.listeners.indexOf(t);n>-1&&this.listeners.splice(n,1)});Wa(this,"emit",t=>{this.listeners.forEach(n=>n(t))})}}const x4=new m_,w4=e=>{x4.emit(e)},Df=p.createContext({createToast:()=>null}),b_=W(rt).withConfig({componentId:"sc-tmc8vl-0"})(["",""],({theme:e,$type:t="default"})=>`
1127
+ `),$f=({showArrow:e,children:t,sideOffset:n=6,...o})=>r.jsx(DE,{children:r.jsxs(VE,{sideOffset:n,...o,children:[e&&r.jsx(BE,{as:RE,width:20,height:8}),t]})});$f.displayName="TooltipContent",g4.Content=$f;const Mf="ToastProvider",[v4,NE,ZE]=Ds("Toast"),[jf,YA]=pn("Toast",[ZE]),[UE,r2]=jf(Mf),Ef=e=>{const{__scopeToast:t,label:n="Notification",duration:o=5e3,swipeDirection:i="right",swipeThreshold:a=50,children:s}=e,[c,u]=p.useState(null),[g,C]=p.useState(0),v=p.useRef(!1),y=p.useRef(!1);return p.createElement(v4.Provider,{scope:t},p.createElement(UE,{scope:t,label:n,duration:o,swipeDirection:i,swipeThreshold:a,toastCount:g,viewport:c,onViewportChange:u,onToastAdd:p.useCallback(()=>C(_=>_+1),[]),onToastRemove:p.useCallback(()=>C(_=>_-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:y},s))};Ef.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${Mf}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const WE="ToastViewport",zE=["F8"],m4="toast.viewportPause",b4="toast.viewportResume",GE=p.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:o=zE,label:i="Notifications ({hotkey})",...a}=e,s=r2(WE,n),c=NE(n),u=p.useRef(null),g=p.useRef(null),C=p.useRef(null),v=p.useRef(null),y=_t(t,v,s.onViewportChange),_=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=s.toastCount>0;p.useEffect(()=>{const I=j=>{var R;o.every(B=>j[B]||j.code===B)&&((R=v.current)===null||R===void 0||R.focus())};return document.addEventListener("keydown",I),()=>document.removeEventListener("keydown",I)},[o]),p.useEffect(()=>{const I=u.current,j=v.current;if(M&&I&&j){const R=()=>{if(!s.isClosePausedRef.current){const H=new CustomEvent(m4);j.dispatchEvent(H),s.isClosePausedRef.current=!0}},P=()=>{if(s.isClosePausedRef.current){const H=new CustomEvent(b4);j.dispatchEvent(H),s.isClosePausedRef.current=!1}},B=H=>{!I.contains(H.relatedTarget)&&P()},D=()=>{I.contains(document.activeElement)||P()};return I.addEventListener("focusin",R),I.addEventListener("focusout",B),I.addEventListener("pointermove",R),I.addEventListener("pointerleave",D),window.addEventListener("blur",R),window.addEventListener("focus",P),()=>{I.removeEventListener("focusin",R),I.removeEventListener("focusout",B),I.removeEventListener("pointermove",R),I.removeEventListener("pointerleave",D),window.removeEventListener("blur",R),window.removeEventListener("focus",P)}}},[M,s.isClosePausedRef]);const E=p.useCallback(({tabbingDirection:I})=>{const R=c().map(P=>{const B=P.ref.current,D=[B,...c_(B)];return I==="forwards"?D:D.reverse()});return(I==="forwards"?R.reverse():R).flat()},[c]);return p.useEffect(()=>{const I=v.current;if(I){const j=R=>{const P=R.altKey||R.ctrlKey||R.metaKey;if(R.key==="Tab"&&!P){const G=document.activeElement,K=R.shiftKey;if(R.target===I&&K){var D;(D=g.current)===null||D===void 0||D.focus();return}const se=E({tabbingDirection:K?"backwards":"forwards"}),fe=se.findIndex(te=>te===G);if(C4(se.slice(fe+1)))R.preventDefault();else{var H,A;K?(H=g.current)===null||H===void 0||H.focus():(A=C.current)===null||A===void 0||A.focus()}}};return I.addEventListener("keydown",j),()=>I.removeEventListener("keydown",j)}},[c,E]),p.createElement(Uh,{ref:u,role:"region","aria-label":i.replace("{hotkey}",_),tabIndex:-1,style:{pointerEvents:M?void 0:"none"}},M&&p.createElement(_f,{ref:g,onFocusFromOutsideViewport:()=>{const I=E({tabbingDirection:"forwards"});C4(I)}}),p.createElement(v4.Slot,{scope:n},p.createElement(ot.ol,ue({tabIndex:-1},a,{ref:y}))),M&&p.createElement(_f,{ref:C,onFocusFromOutsideViewport:()=>{const I=E({tabbingDirection:"backwards"});C4(I)}}))}),YE="ToastFocusProxy",_f=p.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:o,...i}=e,a=r2(YE,n);return p.createElement(u4,ue({"aria-hidden":!0,tabIndex:0},i,{ref:t,style:{position:"fixed"},onFocus:s=>{var c;const u=s.relatedTarget;!((c=a.viewport)!==null&&c!==void 0&&c.contains(u))&&o()}}))}),o2="Toast",XE="toast.swipeStart",KE="toast.swipeMove",JE="toast.swipeCancel",qE="toast.swipeEnd",QE=p.forwardRef((e,t)=>{const{forceMount:n,open:o,defaultOpen:i,onOpenChange:a,...s}=e,[c=!0,u]=_n({prop:o,defaultProp:i,onChange:a});return p.createElement(Cn,{present:n||c},p.createElement(If,ue({open:c},s,{ref:t,onClose:()=>u(!1),onPause:Sn(e.onPause),onResume:Sn(e.onResume),onSwipeStart:Ee(e.onSwipeStart,g=>{g.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ee(e.onSwipeMove,g=>{const{x:C,y:v}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","move"),g.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${C}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:Ee(e.onSwipeCancel,g=>{g.currentTarget.setAttribute("data-swipe","cancel"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ee(e.onSwipeEnd,g=>{const{x:C,y:v}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","end"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${C}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),u(!1)})})))}),[e_,t_]=jf(o2,{onClose(){}}),If=p.forwardRef((e,t)=>{const{__scopeToast:n,type:o="foreground",duration:i,open:a,onClose:s,onEscapeKeyDown:c,onPause:u,onResume:g,onSwipeStart:C,onSwipeMove:v,onSwipeCancel:y,onSwipeEnd:_,...M}=e,E=r2(o2,n),[I,j]=p.useState(null),R=_t(t,te=>j(te)),P=p.useRef(null),B=p.useRef(null),D=i||E.duration,H=p.useRef(0),A=p.useRef(D),G=p.useRef(0),{onToastAdd:K,onToastRemove:Q}=E,le=Sn(()=>{var te;(I==null?void 0:I.contains(document.activeElement))&&((te=E.viewport)===null||te===void 0||te.focus()),s()}),se=p.useCallback(te=>{!te||te===1/0||(window.clearTimeout(G.current),H.current=new Date().getTime(),G.current=window.setTimeout(le,te))},[le]);p.useEffect(()=>{const te=E.viewport;if(te){const ge=()=>{se(A.current),g==null||g()},ie=()=>{const me=new Date().getTime()-H.current;A.current=A.current-me,window.clearTimeout(G.current),u==null||u()};return te.addEventListener(m4,ie),te.addEventListener(b4,ge),()=>{te.removeEventListener(m4,ie),te.removeEventListener(b4,ge)}}},[E.viewport,D,u,g,se]),p.useEffect(()=>{a&&!E.isClosePausedRef.current&&se(D)},[a,D,E.isClosePausedRef,se]),p.useEffect(()=>(K(),()=>Q()),[K,Q]);const fe=p.useMemo(()=>I?Pf(I):null,[I]);return E.viewport?p.createElement(p.Fragment,null,fe&&p.createElement(n_,{__scopeToast:n,role:"status","aria-live":o==="foreground"?"assertive":"polite","aria-atomic":!0},fe),p.createElement(e_,{scope:n,onClose:le},za.createPortal(p.createElement(v4.ItemSlot,{scope:n},p.createElement(Zh,{asChild:!0,onEscapeKeyDown:Ee(c,()=>{E.isFocusedToastEscapeKeyDownRef.current||le(),E.isFocusedToastEscapeKeyDownRef.current=!1})},p.createElement(ot.li,ue({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":E.swipeDirection},M,{ref:R,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ee(e.onKeyDown,te=>{te.key==="Escape"&&(c==null||c(te.nativeEvent),te.nativeEvent.defaultPrevented||(E.isFocusedToastEscapeKeyDownRef.current=!0,le()))}),onPointerDown:Ee(e.onPointerDown,te=>{te.button===0&&(P.current={x:te.clientX,y:te.clientY})}),onPointerMove:Ee(e.onPointerMove,te=>{if(!P.current)return;const ge=te.clientX-P.current.x,ie=te.clientY-P.current.y,me=!!B.current,ye=["left","right"].includes(E.swipeDirection),pe=["left","up"].includes(E.swipeDirection)?Math.min:Math.max,Me=ye?pe(0,ge):0,Se=ye?0:pe(0,ie),De=te.pointerType==="touch"?10:2,de={x:Me,y:Se},xe={originalEvent:te,delta:de};me?(B.current=de,i2(KE,v,xe,{discrete:!1})):Hf(de,E.swipeDirection,De)?(B.current=de,i2(XE,C,xe,{discrete:!1}),te.target.setPointerCapture(te.pointerId)):(Math.abs(ge)>De||Math.abs(ie)>De)&&(P.current=null)}),onPointerUp:Ee(e.onPointerUp,te=>{const ge=B.current,ie=te.target;if(ie.hasPointerCapture(te.pointerId)&&ie.releasePointerCapture(te.pointerId),B.current=null,P.current=null,ge){const me=te.currentTarget,ye={originalEvent:te,delta:ge};Hf(ge,E.swipeDirection,E.swipeThreshold)?i2(qE,_,ye,{discrete:!0}):i2(JE,y,ye,{discrete:!0}),me.addEventListener("click",pe=>pe.preventDefault(),{once:!0})}})})))),E.viewport))):null});If.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${o2}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const n_=e=>{const{__scopeToast:t,children:n,...o}=e,i=r2(o2,t),[a,s]=p.useState(!1),[c,u]=p.useState(!1);return l_(()=>s(!0)),p.useEffect(()=>{const g=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(g)},[]),c?null:p.createElement($1,{asChild:!0},p.createElement(u4,o,a&&p.createElement(p.Fragment,null,i.label," ",n)))},r_=p.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return p.createElement(ot.div,ue({},o,{ref:t}))}),o_=p.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return p.createElement(ot.div,ue({},o,{ref:t}))}),i_="ToastAction",Tf=p.forwardRef((e,t)=>{const{altText:n,...o}=e;return n?p.createElement(Of,{altText:n,asChild:!0},p.createElement(Ff,ue({},o,{ref:t}))):null});Tf.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${i_}\``)}};const a_="ToastClose",Ff=p.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e,i=t_(a_,n);return p.createElement(Of,{asChild:!0},p.createElement(ot.button,ue({type:"button"},o,{ref:t,onClick:Ee(e.onClick,i.onClose)})))}),Of=p.forwardRef((e,t)=>{const{__scopeToast:n,altText:o,...i}=e;return p.createElement(ot.div,ue({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0},i,{ref:t}))});function Pf(e){const t=[];return Array.from(e.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&t.push(o.textContent),s_(o)){const i=o.ariaHidden||o.hidden||o.style.display==="none",a=o.dataset.radixToastAnnounceExclude==="";if(!i)if(a){const s=o.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Pf(o))}}),t}function i2(e,t,n,{discrete:o}){const i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?u3(i,a):i.dispatchEvent(a)}const Hf=(e,t,n=0)=>{const o=Math.abs(e.x),i=Math.abs(e.y),a=o>i;return t==="left"||t==="right"?a&&o>n:!a&&i>n};function l_(e=()=>{}){const t=Sn(e);zr(()=>{let n=0,o=0;return n=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(o)}},[t])}function s_(e){return e.nodeType===e.ELEMENT_NODE}function c_(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function C4(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}const d_=Ef,u_=GE,f_=QE,p_=r_,h_=o_,g_=Tf,v_=Ff;class m_{constructor(){Wa(this,"listeners",[]);Wa(this,"on",t=>(this.listeners.push(t),{dispose:()=>this.off(t)}));Wa(this,"off",t=>{const n=this.listeners.indexOf(t);n>-1&&this.listeners.splice(n,1)});Wa(this,"emit",t=>{this.listeners.forEach(n=>n(t))})}}const x4=new m_,w4=e=>{x4.emit(e)},Df=p.createContext({createToast:()=>null}),b_=W(rt).withConfig({componentId:"sc-tmc8vl-0"})(["",""],({theme:e,$type:t="default"})=>`
1128
1128
  width: ${e.click.toast.icon.size.width};
1129
1129
  height: ${e.click.toast.icon.size.height};
1130
1130
  color: ${e.click.toast.color.icon[t]}
@@ -1144,7 +1144,7 @@ Defaulting to \`${l4}\`.`}function tf(e){return DM.includes(e)}const RM=W(ef).wi
1144
1144
  `),Af=W.div.withConfig({componentId:"sc-tmc8vl-4"})(["display:flex;align-self:stretch;gap:inherit;",""],({theme:e})=>`
1145
1145
  font: ${e.click.toast.typography.description.default};
1146
1146
  color: ${e.click.toast.color.description.default};
1147
- `),L_=W.div.withConfig({componentId:"sc-tmc8vl-5"})(["flex:1;"]),$_=({type:e,title:t,description:n,actions:o=[],duration:i,onClose:a})=>{let s="";return e==="default"?s="info-in-circle":e==="success"?s="check":e&&["danger","warning"].includes(e)&&(s="warning"),r.jsxs(y_,{onOpenChange:a,duration:i,children:[r.jsxs(k_,{children:[s.length>0&&r.jsx(b_,{name:s,$type:e}),r.jsx(L_,{children:t}),r.jsx(v_,{asChild:!0,children:r.jsx(ur,{icon:"cross",type:"ghost"})})]}),(n||o.length>0)&&r.jsxs(S_,{children:[r.jsx(Af,{as:h_,children:n}),o.length>0&&r.jsx(Af,{children:o.map(({altText:c,...u})=>r.jsx(g_,{altText:c,children:r.jsx(ul,{...u})}))})]})]})},M_=W(u_).withConfig({componentId:"sc-tmc8vl-6"})(["--viewport-padding:25px;position:fixed;bottom:0;right:0;display:flex;flex-direction:column;padding:var(--viewport-padding);gap:",";width:",";max-width:100vw;margin:0;list-style:none;z-index:2147483647;outline:none;"],({theme:e})=>e.click.toast.space.gap,({theme:e})=>e.click.toast.size.width),j_=({children:e,...t})=>{const[n,o]=p.useState(new Map);p.useEffect(()=>{const s=c=>{o(u=>{const g=new Map(u);return g.set((c==null?void 0:c.id)??String(Date.now()),c),g})};return x4.on(s),()=>x4.off(s)},[]);const i=s=>c=>{c||o(u=>{const g=new Map(u);return g.delete(s),g})},a={createToast:s=>{o(c=>{const u=new Map(c);return u.set((s==null?void 0:s.id)??String(Date.now()),s),u})}};return r.jsxs(d_,{swipeDirection:"right",...t,children:[r.jsxs(Df.Provider,{value:a,children:[e,Array.from(n).map(([s,c])=>r.jsx($_,{...c,onClose:i(s)},s))]}),r.jsx(M_,{})]})};function E_(){this.__data__=[],this.size=0}var __=E_;function I_(e,t){return e===t||e!==e&&t!==t}var a2=I_,T_=a2;function F_(e,t){for(var n=e.length;n--;)if(T_(e[n][0],t))return n;return-1}var l2=F_,O_=l2,P_=Array.prototype,H_=P_.splice;function D_(e){var t=this.__data__,n=O_(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():H_.call(t,n,1),--this.size,!0}var A_=D_,R_=l2;function V_(e){var t=this.__data__,n=R_(t,e);return n<0?void 0:t[n][1]}var B_=V_,N_=l2;function Z_(e){return N_(this.__data__,e)>-1}var U_=Z_,W_=l2;function z_(e,t){var n=this.__data__,o=W_(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var G_=z_,Y_=__,X_=A_,K_=B_,J_=U_,q_=G_;function U1(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}U1.prototype.clear=Y_,U1.prototype.delete=X_,U1.prototype.get=K_,U1.prototype.has=J_,U1.prototype.set=q_;var s2=U1,Q_=s2;function eI(){this.__data__=new Q_,this.size=0}var tI=eI;function nI(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var rI=nI;function oI(e){return this.__data__.get(e)}var iI=oI;function aI(e){return this.__data__.has(e)}var lI=aI,sI=ml,cI=Qr,dI="[object AsyncFunction]",uI="[object Function]",fI="[object GeneratorFunction]",pI="[object Proxy]";function hI(e){if(!cI(e))return!1;var t=sI(e);return t==uI||t==fI||t==dI||t==pI}var y4=hI,gI=Ti,vI=gI["__core-js_shared__"],mI=vI,k4=mI,Rf=function(){var e=/[^.]+$/.exec(k4&&k4.keys&&k4.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function bI(e){return!!Rf&&Rf in e}var CI=bI,xI=Function.prototype,wI=xI.toString;function yI(e){if(e!=null){try{return wI.call(e)}catch{}try{return e+""}catch{}}return""}var kI=yI,SI=y4,LI=CI,$I=Qr,MI=kI,jI=/[\\^$.*+?()[\]{}|]/g,EI=/^\[object .+?Constructor\]$/,_I=Function.prototype,II=Object.prototype,TI=_I.toString,FI=II.hasOwnProperty,OI=RegExp("^"+TI.call(FI).replace(jI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function PI(e){if(!$I(e)||LI(e))return!1;var t=SI(e)?OI:EI;return t.test(MI(e))}var HI=PI;function DI(e,t){return e==null?void 0:e[t]}var AI=DI,RI=HI,VI=AI;function BI(e,t){var n=VI(e,t);return RI(n)?n:void 0}var S4=BI,NI=S4,ZI=Ti,UI=NI(ZI,"Map"),Vf=UI,WI=S4,zI=WI(Object,"create"),c2=zI,Bf=c2;function GI(){this.__data__=Bf?Bf(null):{},this.size=0}var YI=GI;function XI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var KI=XI,JI=c2,qI="__lodash_hash_undefined__",QI=Object.prototype,eT=QI.hasOwnProperty;function tT(e){var t=this.__data__;if(JI){var n=t[e];return n===qI?void 0:n}return eT.call(t,e)?t[e]:void 0}var nT=tT,rT=c2,oT=Object.prototype,iT=oT.hasOwnProperty;function aT(e){var t=this.__data__;return rT?t[e]!==void 0:iT.call(t,e)}var lT=aT,sT=c2,cT="__lodash_hash_undefined__";function dT(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=sT&&t===void 0?cT:t,this}var uT=dT,fT=YI,pT=KI,hT=nT,gT=lT,vT=uT;function W1(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}W1.prototype.clear=fT,W1.prototype.delete=pT,W1.prototype.get=hT,W1.prototype.has=gT,W1.prototype.set=vT;var mT=W1,Nf=mT,bT=s2,CT=Vf;function xT(){this.size=0,this.__data__={hash:new Nf,map:new(CT||bT),string:new Nf}}var wT=xT;function yT(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var kT=yT,ST=kT;function LT(e,t){var n=e.__data__;return ST(t)?n[typeof t=="string"?"string":"hash"]:n.map}var d2=LT,$T=d2;function MT(e){var t=$T(this,e).delete(e);return this.size-=t?1:0,t}var jT=MT,ET=d2;function _T(e){return ET(this,e).get(e)}var IT=_T,TT=d2;function FT(e){return TT(this,e).has(e)}var OT=FT,PT=d2;function HT(e,t){var n=PT(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var DT=HT,AT=wT,RT=jT,VT=IT,BT=OT,NT=DT;function z1(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}z1.prototype.clear=AT,z1.prototype.delete=RT,z1.prototype.get=VT,z1.prototype.has=BT,z1.prototype.set=NT;var ZT=z1,UT=s2,WT=Vf,zT=ZT,GT=200;function YT(e,t){var n=this.__data__;if(n instanceof UT){var o=n.__data__;if(!WT||o.length<GT-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new zT(o)}return n.set(e,t),this.size=n.size,this}var XT=YT,KT=s2,JT=tI,qT=rI,QT=iI,eF=lI,tF=XT;function G1(e){var t=this.__data__=new KT(e);this.size=t.size}G1.prototype.clear=JT,G1.prototype.delete=qT,G1.prototype.get=QT,G1.prototype.has=eF,G1.prototype.set=tF;var nF=G1,rF=S4,oF=function(){try{var e=rF(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Zf=oF,Uf=Zf;function iF(e,t,n){t=="__proto__"&&Uf?Uf(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var L4=iF,aF=L4,lF=a2;function sF(e,t,n){(n!==void 0&&!lF(e[t],n)||n===void 0&&!(t in e))&&aF(e,t,n)}var Wf=sF;function cF(e){return function(t,n,o){for(var i=-1,a=Object(t),s=o(t),c=s.length;c--;){var u=s[e?c:++i];if(n(a[u],u,a)===!1)break}return t}}var dF=cF,uF=dF,fF=uF(),pF=fF,u2={exports:{}};u2.exports,function(e,t){var n=Ti,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?n.Buffer:void 0,c=s?s.allocUnsafe:void 0;function u(g,C){if(C)return g.slice();var v=g.length,y=c?c(v):new g.constructor(v);return g.copy(y),y}e.exports=u}(u2,u2.exports);var hF=u2.exports,gF=Ti,vF=gF.Uint8Array,mF=vF,zf=mF;function bF(e){var t=new e.constructor(e.byteLength);return new zf(t).set(new zf(e)),t}var CF=bF,xF=CF;function wF(e,t){var n=t?xF(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var yF=wF;function kF(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var SF=kF,LF=Qr,Gf=Object.create,$F=function(){function e(){}return function(t){if(!LF(t))return{};if(Gf)return Gf(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),MF=$F;function jF(e,t){return function(n){return e(t(n))}}var EF=jF,_F=EF,IF=_F(Object.getPrototypeOf,Object),Yf=IF,TF=Object.prototype;function FF(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||TF;return e===n}var Xf=FF,OF=MF,PF=Yf,HF=Xf;function DF(e){return typeof e.constructor=="function"&&!HF(e)?OF(PF(e)):{}}var AF=DF,RF=ml,VF=P1,BF="[object Arguments]";function NF(e){return VF(e)&&RF(e)==BF}var ZF=NF,Kf=ZF,UF=P1,Jf=Object.prototype,WF=Jf.hasOwnProperty,zF=Jf.propertyIsEnumerable,GF=Kf(function(){return arguments}())?Kf:function(e){return UF(e)&&WF.call(e,"callee")&&!zF.call(e,"callee")},qf=GF,YF=Array.isArray,Qf=YF,XF=9007199254740991;function KF(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=XF}var e9=KF,JF=y4,qF=e9;function QF(e){return e!=null&&qF(e.length)&&!JF(e)}var $4=QF,eO=$4,tO=P1;function nO(e){return tO(e)&&eO(e)}var rO=nO,f2={exports:{}};function oO(){return!1}var iO=oO;f2.exports,function(e,t){var n=Ti,o=iO,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,c=s?n.Buffer:void 0,u=c?c.isBuffer:void 0,g=u||o;e.exports=g}(f2,f2.exports);var t9=f2.exports,aO=ml,lO=Yf,sO=P1,cO="[object Object]",dO=Function.prototype,uO=Object.prototype,n9=dO.toString,fO=uO.hasOwnProperty,pO=n9.call(Object);function hO(e){if(!sO(e)||aO(e)!=cO)return!1;var t=lO(e);if(t===null)return!0;var n=fO.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&n9.call(n)==pO}var gO=hO,vO=ml,mO=e9,bO=P1,CO="[object Arguments]",xO="[object Array]",wO="[object Boolean]",yO="[object Date]",kO="[object Error]",SO="[object Function]",LO="[object Map]",$O="[object Number]",MO="[object Object]",jO="[object RegExp]",EO="[object Set]",_O="[object String]",IO="[object WeakMap]",TO="[object ArrayBuffer]",FO="[object DataView]",OO="[object Float32Array]",PO="[object Float64Array]",HO="[object Int8Array]",DO="[object Int16Array]",AO="[object Int32Array]",RO="[object Uint8Array]",VO="[object Uint8ClampedArray]",BO="[object Uint16Array]",NO="[object Uint32Array]",Yt={};Yt[OO]=Yt[PO]=Yt[HO]=Yt[DO]=Yt[AO]=Yt[RO]=Yt[VO]=Yt[BO]=Yt[NO]=!0,Yt[CO]=Yt[xO]=Yt[TO]=Yt[wO]=Yt[FO]=Yt[yO]=Yt[kO]=Yt[SO]=Yt[LO]=Yt[$O]=Yt[MO]=Yt[jO]=Yt[EO]=Yt[_O]=Yt[IO]=!1;function ZO(e){return bO(e)&&mO(e.length)&&!!Yt[vO(e)]}var UO=ZO;function WO(e){return function(t){return e(t)}}var zO=WO,p2={exports:{}};p2.exports,function(e,t){var n=N7,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&n.process,c=function(){try{var u=i&&i.require&&i.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=c}(p2,p2.exports);var GO=p2.exports,YO=UO,XO=zO,r9=GO,o9=r9&&r9.isTypedArray,KO=o9?XO(o9):YO,i9=KO;function JO(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var a9=JO,qO=L4,QO=a2,eP=Object.prototype,tP=eP.hasOwnProperty;function nP(e,t,n){var o=e[t];(!(tP.call(e,t)&&QO(o,n))||n===void 0&&!(t in e))&&qO(e,t,n)}var rP=nP,oP=rP,iP=L4;function aP(e,t,n,o){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var c=t[a],u=o?o(n[c],e[c],c,n,e):void 0;u===void 0&&(u=e[c]),i?iP(n,c,u):oP(n,c,u)}return n}var lP=aP;function sP(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var cP=sP,dP=9007199254740991,uP=/^(?:0|[1-9]\d*)$/;function fP(e,t){var n=typeof e;return t=t??dP,!!t&&(n=="number"||n!="symbol"&&uP.test(e))&&e>-1&&e%1==0&&e<t}var l9=fP,pP=cP,hP=qf,gP=Qf,vP=t9,mP=l9,bP=i9,CP=Object.prototype,xP=CP.hasOwnProperty;function wP(e,t){var n=gP(e),o=!n&&hP(e),i=!n&&!o&&vP(e),a=!n&&!o&&!i&&bP(e),s=n||o||i||a,c=s?pP(e.length,String):[],u=c.length;for(var g in e)(t||xP.call(e,g))&&!(s&&(g=="length"||i&&(g=="offset"||g=="parent")||a&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||mP(g,u)))&&c.push(g);return c}var yP=wP;function kP(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var SP=kP,LP=Qr,$P=Xf,MP=SP,jP=Object.prototype,EP=jP.hasOwnProperty;function _P(e){if(!LP(e))return MP(e);var t=$P(e),n=[];for(var o in e)o=="constructor"&&(t||!EP.call(e,o))||n.push(o);return n}var IP=_P,TP=yP,FP=IP,OP=$4;function PP(e){return OP(e)?TP(e,!0):FP(e)}var s9=PP,HP=lP,DP=s9;function AP(e){return HP(e,DP(e))}var RP=AP,c9=Wf,VP=hF,BP=yF,NP=SF,ZP=AF,d9=qf,u9=Qf,UP=rO,WP=t9,zP=y4,GP=Qr,YP=gO,XP=i9,f9=a9,KP=RP;function JP(e,t,n,o,i,a,s){var c=f9(e,n),u=f9(t,n),g=s.get(u);if(g){c9(e,n,g);return}var C=a?a(c,u,n+"",e,t,s):void 0,v=C===void 0;if(v){var y=u9(u),E=!y&&WP(u),M=!y&&!E&&XP(u);C=u,y||E||M?u9(c)?C=c:UP(c)?C=NP(c):E?(v=!1,C=VP(u,!0)):M?(v=!1,C=BP(u,!0)):C=[]:YP(u)||d9(u)?(C=c,d9(c)?C=KP(c):(!GP(c)||zP(c))&&(C=ZP(u))):v=!1}v&&(s.set(u,C),i(C,u,o,a,s),s.delete(u)),c9(e,n,C)}var qP=JP,QP=nF,eH=Wf,tH=pF,nH=qP,rH=Qr,oH=s9,iH=a9;function p9(e,t,n,o,i){e!==t&&tH(t,function(a,s){if(i||(i=new QP),rH(a))nH(e,t,s,n,p9,o,i);else{var c=o?o(iH(e,s),a,s+"",e,t,i):void 0;c===void 0&&(c=a),eH(e,s,c)}},oH)}var aH=p9;function lH(e){return e}var h9=lH;function sH(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var cH=sH,dH=cH,g9=Math.max;function uH(e,t,n){return t=g9(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=g9(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),dH(e,this,c)}}var fH=uH;function pH(e){return function(){return e}}var hH=pH,gH=hH,v9=Zf,vH=h9,mH=v9?function(e,t){return v9(e,"toString",{configurable:!0,enumerable:!1,value:gH(t),writable:!0})}:vH,bH=mH,CH=800,xH=16,wH=Date.now;function yH(e){var t=0,n=0;return function(){var o=wH(),i=xH-(o-n);if(n=o,i>0){if(++t>=CH)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var kH=yH,SH=bH,LH=kH,$H=LH(SH),MH=$H,jH=h9,EH=fH,_H=MH;function IH(e,t){return _H(EH(e,t,jH),e+"")}var TH=IH,FH=a2,OH=$4,PH=l9,HH=Qr;function DH(e,t,n){if(!HH(n))return!1;var o=typeof t;return(o=="number"?OH(n)&&PH(t,n.length):o=="string"&&t in n)?FH(n[t],e):!1}var AH=DH,RH=TH,VH=AH;function BH(e){return RH(function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,s&&VH(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o<i;){var c=n[o];c&&e(t,c,o,a)}return t})}var NH=BH,ZH=aH,UH=NH,WH=UH(function(e,t,n){ZH(e,t,n)}),zH=WH;const M4=Ga(zH),m9={button:{basic:{size:{icon:{height:"0.75rem",width:"0.75rem"}},color:{primary:{background:{default:"#FFC029",hover:"lch(89.3 45.8 82.1)",active:"lch(82.6 42.4 82.1)"},text:{default:"#151515"},stroke:{default:"#FFC029",hover:"lch(89.3 45.8 82.1)",active:"lch(82.6 42.4 82.1)"}},secondary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"lch(83.8 2.3 258)"},text:{default:"#161517"}},danger:{background:{default:"#ffdddd",hover:"#ff9898",active:"lch(78 26.3 22)"},text:{default:"#c10000"}},empty:{text:{default:"#C78F0F",hover:"#C78F0F",active:"#C78F0F",disabled:"#a0a0a0"},background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"}},disabled:{background:{default:"#dfdfdf"},text:{default:"#a0a0a0"}}}},iconButton:{size:{small:"0.75rem",medium:"1rem",large:"1.25rem"},color:{primary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"rgb(86.8% 87.2% 88.2%)"},text:{default:"#161517",hover:"#161517",active:"#161517"}},secondary:{background:{default:"#FFC029",hover:"lch(89.3 45.8 82.1)",active:"lch(78.5 40.3 82.1)"},stroke:{default:"rgba(0,0,0,0)",hover:"lch(89.3 45.8 82.1)",active:"lch(78.5 40.3 82.1)"},text:{default:"#151515",hover:"#151515",active:"#151515"}},disabled:{background:{default:"#dfdfdf"},text:{default:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ff9898",active:"#ffbaba"},text:{default:"#c10000",hover:"#c10000",active:"#c10000"},stroke:{default:"#ffdddd",hover:"#ff9898",active:"lch(78 26.3 22)"}},ghost:{background:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgb(0% 0% 0% / 0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"}},info:{background:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"},text:{default:"#135be6",hover:"#135be6",active:"#135be6"},stroke:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"}}}},split:{primary:{background:{main:{default:"#FFC029",hover:"lch(81.7 41.9 82.1)",active:"lch(75.6 38.8 82.1)",disabled:"lch(81.3 0 0)"},action:{default:"lch(77.8 74.1 79.3)",hover:"lch(77.6 39.8 82.1)",active:"lch(69.2 35.5 82.1)",disabled:"lch(74.4 0 0)"}},text:{default:"#151515",hover:"#151515",active:"#151515",disabled:"#a0a0a0"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},divide:{default:"lch(68.1 64.8 79.3)",hover:"lch(71.5 36.7 82.1)",active:"lch(66.1 33.9 82.1)",disabled:"lch(71.1 0 0)"}},secondary:{divide:{default:"lch(92 1.05 266)",hover:"lch(79.8 35.8 82.1)",active:"lch(69.6 66.3 79.3)",disabled:"lch(75.5 0 0)"},background:{main:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},action:{default:"#f6f7fa",hover:"lch(94.8 1.53 272)",active:"lch(92.9 1.5 272)",disabled:"lch(77.2 0 0)"}},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(84 2.28 258)",disabled:"rgba(0,0,0,0)"}}},mobile:{basic:{size:{icon:{all:"1.25rem"}}}},group:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(97.3 1.53 272)",disabled:"#dfdfdf","disabled-active":"lch(71.1 0 0)",panel:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#ffffff",disabled:"#a0a0a0","disabled-active":"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)","disabled-active":"rgba(0,0,0,0)",panel:"lch(91.6 1.1 266)"},panel:{stroke:{default:"lch(91.6 1.1 266)"}}}},alignedLeft:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"#cccfd3"},text:{default:"#161517",hover:"#161517",active:"#161517"}}}},card:{secondary:{color:{link:{default:"#161517",hover:"#C78F0F",active:"#161517",disabled:"#a0a0a0"}}},primary:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(92.4 1.49 272)",disabled:"#dfdfdf"},title:{default:"lch(10.2 1.39 305)",hover:"lch(10.2 1.39 305)",active:"lch(10.2 1.39 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},horizontal:{default:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(10.2 1.39 305)",hover:"lch(10.2 1.39 305)",active:"lch(10.2 1.39 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},muted:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(10.2 1.39 305)",hover:"lch(10.2 1.39 305)",active:"lch(10.2 1.39 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}}},promotion:{color:{text:{default:"#161517",hover:"#161517",active:"#161517"},icon:{default:"#161517",hover:"#161517",active:"#161517"},background:{default:"lch(97.2 1.57 272 / 0.9)",hover:"lch(91.8 1.07 266)",active:"lch(89.3 1.07 266)"},stroke:{default:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",hover:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",active:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",focus:"#151515"}}}},sidebar:{main:{color:{background:{default:"#2f2c3a"},text:{default:"#ffffff",muted:"#ada8bd"},stroke:{default:"#474257"}},navigation:{item:{color:{background:{active:"lch(38.8 16.8 296 / 0.6)",hover:"lch(40.9 16.2 296)",default:"rgba(0,0,0,0)"},text:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff",muted:"#696e79"},icon:{default:"#e4e2e9"}},background:{default:"rgba(0,0,0,0)",active:"#474257",hover:"#f6f7fa"},text:{default:"#ffffff",muted:"#ada8bd"}},title:{color:{default:"#ada8bd",hover:"#ada8bd",active:"#ada8bd"}},subItem:{color:{text:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff"},background:{default:"rgba(0,0,0,0)",hover:"lch(40.9 16.2 296)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#FFC029"}}}}},sqlSidebar:{color:{background:{default:"#f6f7fa"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#151515",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}}},stepper:{vertical:{numbered:{connector:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#1F1F1C"},icon:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}},bulleted:{connector:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#ffffff"},icon:{incomplete:"#ffffff",complete:"#1F1F1C",active:"#ffffff"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}}}},tabs:{basic:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"#FFC029"},global:{default:"lch(91.6 1.1 266)"}}},fileTabs:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(91.6 1.1 266)"}}}},dialog:{typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},flyout:{typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#ffffff"},title:{default:"lch(10.2 1.39 305)"},description:{default:"#696e79"},opaqueBackground:{default:"lch(6.77 0 0 / 0.45)"},stroke:{default:"lch(91.6 1.1 266)"}}},grid:{header:{cell:{color:{background:{default:"#f6f7fa",selectIndirect:"lch(99.6 3.76 101)",selectDirect:"lch(97.5 12 97.4)"},title:{default:"#696e79",selectIndirect:"#161517",selectDirect:"#161517"},stroke:{default:"lch(89.3 1.07 266)",selectIndirect:"lch(92.8 31.1 85.9)",selectDirect:"lch(90.9 28.1 85.9)"}}}},body:{cell:{color:{background:{default:"#ffffff",selectIndirect:"lch(99.4 8.48 102 / 0.2)",selectDirect:"lch(99.4 8.48 102 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)",selectIndirect:"lch(74.1 25.6 85.9)",selectDirect:"#FFC029"},text:{default:"lch(7.17 1.44 305)",selectIndirect:"#161517",selectDirect:"#161517"}}}},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},global:{color:{text:{link:{default:"#C78F0F",hover:"#C78F0F"}},title:{default:"lch(10.2 1.39 305)",muted:"#696e79"}}},storybook:{global:{background:"#ffffff"}},chart:{bars:{color:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}}}},b9="classic",C9={color:{background:{default:"#ffffff",muted:"#f6f7fa",sidebar:"#2f2c3a",split:"#ffffff"},text:{default:"#161517",muted:"#696e79",link:{default:"#C78F0F",hover:"#C78F0F"}},stroke:{default:"lch(91.6 1.1 266 / 0.3)",muted:"lch(91.6 1.1 266 / 0.3)",intense:"#b3b6bd",split:"#ffffff"},accent:{default:"#FFC029"},outline:{default:"#C78F0F"},shadow:{default:"lch(6.77 0 0 / 0.15)"},feedback:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#e6e7e9",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}},chart:{bars:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}},iconButton:{badge:{foreground:"#1d1d1d",background:"#FFC029"}}}},GH=Object.freeze(Object.defineProperty({__proto__:null,click:m9,default:{click:m9,name:b9,global:C9},global:C9,name:b9},Symbol.toStringTag,{value:"Module"})),x9={accordion:{color:{default:{label:{default:"#ffffff",hover:"lch(100 0 0)",active:"#ffffff"},icon:{default:"#ffffff",hover:"lch(100 0 0)",active:"#ffffff"}},link:{label:{default:"#FAFF69",hover:"#feffba",active:"#FAFF69"},icon:{default:"#FAFF69",hover:"lch(98.8 31.4 104)",active:"#FAFF69"}}}},alert:{color:{background:{default:"#1F1F1C",success:"#004206",neutral:"#414141",danger:"#610000",warning:"#4f2b00",info:"#09255B"},text:{default:"#b3b6bd",success:"#CCFFD0",neutral:"#c0c0c0",danger:"#ffbaba",warning:"#ffca8b",info:"#b5cdf9"},iconBackground:{default:"#1F1F1C",success:"#004206",neutral:"#414141",danger:"#610000",warning:"#4f2b00",info:"#09255B"},iconForeground:{default:"#b3b6bd",success:"lch(95.6 28.9 144 / 0.75)",neutral:"lch(77.7 0 0 / 0.75)",danger:"lch(82.1 27.7 22 / 0.75)",warning:"lch(85.1 41.3 70.5 / 0.75)",info:"lch(81.7 24.6 268 / 0.75)"}}},avatar:{color:{background:{default:"#696e79",hover:"#53575f",active:"#53575f"},text:{default:"#1F1F1C",hover:"#1F1F1C",active:"#1F1F1C"}}},badge:{color:{background:{default:"#1F1F1C",success:"#004206",neutral:"#414141",danger:"#610000",disabled:"#414141",info:"#09255B",warning:"#4f2b00"},text:{default:"#b3b6bd",success:"#CCFFD0",neutral:"#c0c0c0",danger:"#ffbaba",disabled:"#808080",info:"#b5cdf9",warning:"#ffca8b"},stroke:{default:"lch(27.5 0 0 / 0.3)",success:"#004206",neutral:"#414141",danger:"#610000",disabled:"lch(26.2 0 0)",info:"#09255B",warning:"#4f2b00"}}},bigStat:{color:{stroke:{default:"lch(27.5 0 0 / 0.3)",muted:"lch(27.5 0 0 / 0.3)"},background:{default:"#1F1F1C",muted:"#282828"},label:{default:"#b3b6bd",muted:"#b3b6bd"},title:{default:"lch(97.5 0 0)",muted:"lch(97.5 0 0)"}}},button:{basic:{color:{primary:{background:{default:"#FAFF69",hover:"lch(98.3 49.3 103)",active:"lch(90.2 65.2 103)",disabled:"#414141"},text:{default:"#1F1F1C",hover:"#1F1F1C",active:"#1F1F1C",disabled:"#808080"},stroke:{default:"#FAFF69",hover:"#FAFF69",active:"lch(82.5 59.7 103)",disabled:"#414141"}},secondary:{background:{default:"#1F1F1C",hover:"#282828",active:"lch(20.3 0 0)",disabled:"#414141"},stroke:{default:"#414141",hover:"#53575f",active:"lch(23.3 2.63 306)",disabled:"#414141"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#808080"}},danger:{background:{default:"#610000",hover:"#910000",active:"lch(28.6 65.8 40)",disabled:"#414141"},text:{default:"#ffbaba",hover:"#ffbaba",active:"#ffbaba",disabled:"#808080"},stroke:{default:"#610000",hover:"#910000",active:"lch(28.6 65.8 40)",disabled:"#414141"}},empty:{text:{default:"#FAFF69",hover:"#feffba",active:"#FAFF69",disabled:"#a0a0a0"},background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"}}}},iconButton:{color:{primary:{background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"rgb(14.1% 14.1% 14.1%)"},stroke:{default:"rgba(0,0,0,0)",hover:"#282828",active:"rgb(14.1% 14.1% 14.1%)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}},secondary:{background:{default:"#FAFF69",hover:"lch(98.3 49.3 103)",active:"lch(85.7 61.9 103)"},stroke:{default:"rgba(0,0,0,0)",hover:"lch(98.3 49.3 103)",active:"lch(85.7 61.9 103)"},text:{default:"#1F1F1C",hover:"#1F1F1C",active:"#1F1F1C"}},disabled:{background:{default:"#414141"},text:{default:"#808080"}},danger:{background:{default:"#610000",hover:"#ff9898",active:"#ffbaba"},text:{default:"#ffbaba",hover:"#ffbaba",active:"#ffbaba"},stroke:{default:"#610000",hover:"#910000",active:"lch(28.6 65.8 40)"}},ghost:{background:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgb(0% 0% 0% / 0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)"},text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"}},info:{background:{default:"#09255B",hover:"#0e44ad",active:"#135be6"},text:{default:"#b5cdf9",hover:"#b5cdf9",active:"#b5cdf9"},stroke:{default:"#09255B",hover:"#0e44ad",active:"#135be6"}}}},split:{primary:{background:{main:{default:"#FAFF69",hover:"lch(89.9 45.1 103)",active:"lch(82.5 59.7 103)",disabled:"lch(25.2 0 0)"},action:{default:"lch(87.8 63.4 103)",hover:"lch(82.7 41.5 103)",active:"lch(72.6 52.5 103)",disabled:"lch(22.2 0 0)"}},text:{default:"#1F1F1C",hover:"#1F1F1C",active:"#1F1F1C",disabled:"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},divide:{default:"lch(85.4 61.7 103)",hover:"lch(78.7 39.5 103)",active:"lch(72.2 52.2 103)",disabled:"lch(23.1 0 0)"}},secondary:{divide:{default:"lch(31.2 0 0)",hover:"lch(34.8 0 0)",active:"lch(24.1 2.6 306)",disabled:"lch(23.4 0 0)"},background:{main:{default:"#1F1F1C",hover:"#282828",active:"lch(20.3 0 0)",disabled:"#414141"},action:{default:"#282828",hover:"lch(18.2 0 0)",active:"lch(21.1 0 0)",disabled:"lch(23.9 0 0)"}},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#808080"},stroke:{default:"#414141",hover:"#414141",active:"lch(24.1 2.6 306)",disabled:"rgba(0,0,0,0)"}}},group:{color:{background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"lch(18.2 0 0)",disabled:"#414141","disabled-active":"lch(22 0 0)",panel:"rgba(0,0,0,0)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#808080","disabled-active":"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)","disabled-active":"rgba(0,0,0,0)",panel:"lch(27.5 0 0 / 0.3)"},panel:{stroke:{default:"lch(27.5 0 0 / 0.3)",borderless:"rgba(0,0,0,0)"}}}},alignedLeft:{color:{background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"lch(15.8 0 0)"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"#53575f",active:"lch(23.3 2.63 306)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}}}},card:{secondary:{color:{background:{default:"#1F1F1C",hover:"#282828",active:"lch(15.3 0 0)",disabled:"#414141"},title:{default:"lch(97.5 0 0)",hover:"lch(97.5 0 0)",active:"lch(97.5 0 0)",disabled:"#808080"},description:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#808080"},link:{default:"#ffffff",hover:"#FAFF69",active:"#ffffff",disabled:"#808080"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"lch(26.1 0 0 / 0.3)",disabled:"#414141"}}},primary:{color:{background:{default:"#1F1F1C",hover:"#282828",active:"lch(15.3 0 0)",disabled:"#414141"},title:{default:"lch(97.5 0 0)",hover:"lch(97.5 0 0)",active:"lch(97.5 0 0)",disabled:"#808080"},description:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#808080"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"#FAFF69",disabled:"#414141"}}},horizontal:{default:{color:{background:{default:"#1F1F1C",hover:"#282828",active:"#282828",disabled:"#414141"},title:{default:"lch(97.5 0 0)",hover:"lch(97.5 0 0)",active:"lch(97.5 0 0)",disabled:"#808080"},description:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#808080"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"#FAFF69",disabled:"#414141"}}},muted:{color:{background:{default:"#282828",hover:"#1F1F1C",active:"#282828",disabled:"#414141"},title:{default:"lch(97.5 0 0)",hover:"lch(97.5 0 0)",active:"lch(97.5 0 0)",disabled:"#808080"},description:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#808080"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"#FAFF69",disabled:"#414141"}}}},promotion:{color:{text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"},icon:{default:"#FAFF69",hover:"#FAFF69",active:"#FAFF69"},background:{default:"lch(16.1 0 0 / 0.9)",hover:"lch(18.2 0 0 / 0.9)",active:"lch(20.2 0 0 / 0.9)"},stroke:{default:"linear-gradient(174deg, #FAFF69 8.31%, #2C2E31 22.92%)",hover:"linear-gradient(174deg, #FAFF69 8.31%, #2C2E31 22.92%)",active:"linear-gradient(174deg, #FAFF69 8.31%, #2C2E31 22.92%)",focus:"#FAFF69"}}}},checkbox:{color:{background:{default:"lch(18.2 0 0)",hover:"lch(18.2 0 0)",active:"#FAFF69",disabled:"#414141"},stroke:{default:"#414141",hover:"#414141",active:"#FAFF69",disabled:"#606060"},check:{default:"#ffffff",hover:"#ffffff",active:"#151515",disabled:"#808080"},label:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},codeblock:{darkMode:{color:{background:{default:"#282828"},text:{default:"#ffffff"},numbers:{default:"#c0c0c0"},button:{background:{default:"#282828",hover:"#53575f"},foreground:{default:"#ffffff"}},stroke:{default:"#282828"}}},lightMode:{color:{background:{default:"#f6f7fa"},text:{default:"#282828"},numbers:{default:"#808080"},button:{background:{default:"#f6f7fa",hover:"#53575f"},foreground:{default:"#a0a0a0"}},stroke:{default:"#282828"}}},monacoTheme:{parameter:{foreground:"#c0c0c0",background:"#414141"}}},codeInline:{color:{background:{default:"#282828"},text:{default:"#ffffff"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}},field:{color:{background:{default:"lch(18.2 0 0)",hover:"lch(20.2 0 0)",active:"lch(20.2 0 0)",disabled:"#414141",error:"lch(20.2 0 0)"},text:{default:"#e6e7e9",hover:"#e6e7e9",active:"#ffffff",disabled:"#808080",error:"#ffbaba"},stroke:{default:"lch(31.1 0 0 / 0.3)",hover:"lch(34.5 0 0 / 0.3)",active:"#FAFF69",disabled:"#414141",error:"#ffbaba"},label:{default:"#b3b6bd",hover:"#b3b6bd",active:"#ffffff",disabled:"#a0a0a0",error:"#ffbaba"},format:{default:"lch(79.2 3.16 269)",hover:"lch(79.2 3.16 269)",active:"lch(79.2 3.16 269)",disabled:"#808080",error:"lch(79.2 3.16 269)"},genericLabel:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},genericMenu:{item:{color:{text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#c0c0c0",muted:"#b3b6bd"},background:{default:"#282828",hover:"lch(23.5 0 0)",active:"#282828",disabled:"#414141"},format:{default:"lch(79.2 3.16 269)",hover:"lch(79.2 3.16 269)",active:"lch(79.2 3.16 269)",disabled:"#808080",error:"lch(79.2 3.16 269)"},stroke:{default:"lch(27.5 0 0 / 0.3)"},subtext:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#c0c0c0"}}},button:{color:{background:{default:"#282828"},label:{default:"#b3b6bd"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}},panel:{color:{background:{default:"#282828"},stroke:{default:"#414141"}}},autocomplete:{color:{placeholder:{default:"#b3b6bd"},searchTerm:{default:"#ffffff"},background:{default:"#282828"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}}},image:{color:{stroke:"#ffffff"}},panel:{color:{background:{default:"#1F1F1C",muted:"#282828",transparent:"rgba(0,0,0,0)"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}},popover:{color:{panel:{background:{default:"#282828"},stroke:{default:"#414141"}}}},radio:{color:{background:{default:"lch(18.2 0 0)",hover:"lch(18.2 0 0)",active:"#FAFF69",disabled:"#414141"},stroke:{default:"#414141",hover:"#414141",active:"#151515",disabled:"#606060"},indicator:{default:"#1F1F1C",hover:"lch(18.2 0 0)",active:"#151515",disabled:"#808080"}}},separator:{color:{stroke:{default:"lch(27.5 0 0 / 0.3)"}}},sidebar:{main:{color:{background:{default:"#1F1F1C"},text:{default:"#ffffff",muted:"#b3b6bd"},stroke:{default:"lch(27.5 0 0 / 0.3)"}},navigation:{item:{color:{background:{active:"lch(27.5 0 0 / 0.6)",hover:"lch(19.1 0 0)",default:"rgba(0,0,0,0)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",muted:"#b3b6bd"},icon:{default:"#b3b6bd"}}},title:{color:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd"}},subItem:{color:{text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"},background:{default:"rgba(0,0,0,0)",hover:"lch(19.1 0 0)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#FAFF69"}}}}},sqlSidebar:{color:{background:{default:"#282828"},stroke:{default:"lch(27.5 0 0 / 0.3)"}},navigation:{item:{color:{background:{active:"lch(27.5 0 0 / 0.6)",hover:"lch(19.1 0 0)",default:"rgba(0,0,0,0)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",muted:"#b3b6bd"},icon:{default:"#b3b6bd"}}},title:{color:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd"}},subItem:{color:{text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"},background:{default:"rgba(0,0,0,0)",hover:"lch(19.1 0 0)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#FAFF69"}}}}}},stepper:{vertical:{numbered:{connector:{color:{stroke:{incomplete:"#606060",complete:"#ffffff",active:"#606060"}}},step:{color:{stroke:{incomplete:"#606060",complete:"#ffffff",active:"#ffffff"},background:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"},icon:{incomplete:"#ffffff",complete:"#ffffff",active:"#1F1F1C"}}},color:{title:{incomplete:"#606060",complete:"#b3b6bd",active:"#ffffff"}}},bulleted:{connector:{color:{stroke:{incomplete:"#606060",complete:"#ffffff",active:"#606060"}}},step:{color:{stroke:{incomplete:"#606060",complete:"#ffffff",active:"#ffffff"},background:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"},icon:{incomplete:"#1F1F1C",complete:"#ffffff",active:"#ffffff"}}},color:{title:{incomplete:"#606060",complete:"#b3b6bd",active:"#ffffff"}}}}},switch:{color:{background:{default:"#606060",active:"#FAFF69",disabled:"#808080"},stroke:{default:"#606060",active:"#FAFF69",disabled:"#808080"},indicator:{default:"#151515",active:"#161517",disabled:"#606060"}}},table:{header:{color:{background:{default:"#282828",hover:"#282828",active:"lch(18.2 0 0)"},title:{default:"lch(97.5 0 0)"},icon:{default:"#ffffff"},checkbox:{background:{default:"#cccfd3"},border:{default:"#808691"}}}},row:{color:{background:{default:"#1F1F1C",hover:"#1F1F1C",active:"lch(13.9 2.07 105)"},stroke:{default:"lch(27.5 0 0 / 0.3)"},text:{default:"#ffffff"},link:{default:"#FAFF69"},label:{default:"#b3b6bd"}}},global:{color:{stroke:{default:"lch(27.5 0 0 / 0.3)"},background:{default:"#1F1F1C"}}}},tabs:{basic:{color:{background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"rgba(0,0,0,0)"},text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"#FAFF69"},global:{default:"lch(27.5 0 0 / 0.3)"}}},fileTabs:{color:{background:{default:"#1F1F1C",hover:"#282828",active:"#282828"},text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"lch(27.5 0 0 / 0.3)"},closeButton:{background:{default:"rgba(0,0,0,0)",hover:"#414141"}}}}},toast:{color:{title:{default:"lch(97.5 0 0)"},description:{default:"#b3b6bd"},stroke:{default:"#414141"},icon:{default:"lch(97.5 0 0)",success:"#CCFFD0",warning:"#ffca8b",danger:"#ffbaba"}}},tooltip:{color:{background:{default:"lch(16.1 0 0 / 0.95)"},label:{default:"#ffffff"}}},dialog:{color:{background:{default:"#1F1F1C"},title:{default:"lch(97.5 0 0)"},description:{default:"#b3b6bd"},opaqueBackground:{default:"lch(40.7 0 0 / 0.75)"}}},flyout:{color:{background:{default:"#282828"},title:{default:"lch(97.5 0 0)"},description:{default:"#b3b6bd"},opaqueBackground:{default:"lch(6.77 0 0 / 0.45)"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}},grid:{header:{cell:{color:{background:{default:"#282828",selectIndirect:"lch(19.5 0 0)",selectDirect:"lch(27.3 0 0)"},title:{default:"#b3b6bd",selectIndirect:"#ffffff",selectDirect:"#ffffff"},stroke:{default:"lch(26.8 0 0 / 0.3)",selectIndirect:"lch(26.8 0 0)",selectDirect:"lch(29.4 0 0)"}}}},body:{cell:{color:{background:{default:"#1F1F1C",selectIndirect:"lch(15.8 0 0)",selectDirect:"lch(15.8 0 0)"},stroke:{default:"lch(27.5 0 0 / 0.3)",selectIndirect:"lch(22 0 0)",selectDirect:"#FAFF69"},text:{default:"lch(100 0 0)",selectIndirect:"#ffffff",selectDirect:"#ffffff"}}}},global:{color:{stroke:{default:"lch(27.5 0 0 / 0.3)"},background:{default:"#1F1F1C"}}}},global:{color:{background:{default:"#1F1F1C",muted:"#282828"},text:{default:"#ffffff",muted:"#b3b6bd",link:{default:"#FAFF69",hover:"#feffba"}},stroke:{default:"lch(27.5 0 0 / 0.3)",muted:"lch(27.5 0 0 / 0.3)",intense:"#414141"},accent:{default:"#FAFF69"},outline:{default:"#FAFF69"},shadow:{default:"lch(6.77 0 0 / 0.6)"},title:{default:"lch(97.5 0 0)",muted:"#b3b6bd"}}},feedback:{color:{info:{background:"#09255B",foreground:"#b5cdf9"},success:{background:"#004206",foreground:"#CCFFD0"},warning:{background:"#4f2b00",foreground:"#ffca8b"},danger:{background:"#610000",foreground:"#ffbaba"},neutral:{background:"#414141",foreground:"#c0c0c0",stroke:"lch(27.5 0 0 / 0.3)"}}},storybook:{global:{background:"rgb(27,28,29)"}},chart:{bars:{color:{green:"#66FF73",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#FAFF69",violet:"#BB33FF",teal:"#66FFE5"}}}},w9="dark",y9={color:{background:{default:"#1F1F1C",muted:"#282828",sidebar:"#1F1F1C",split:"#282828"},text:{default:"#ffffff",muted:"#b3b6bd",link:{default:"#FAFF69",hover:"#feffba"}},stroke:{default:"lch(27.5 0 0 / 0.3)",muted:"lch(27.5 0 0 / 0.3)",intense:"#414141",split:"#414141"},accent:{default:"#FAFF69"},outline:{default:"#FAFF69"},shadow:{default:"lch(6.77 0 0 / 0.6)"},feedback:{info:{background:"#09255B",foreground:"#b5cdf9"},success:{background:"#004206",foreground:"#CCFFD0"},warning:{background:"#4f2b00",foreground:"#ffca8b"},danger:{background:"#610000",foreground:"#ffbaba"},neutral:{background:"#414141",foreground:"#f9f9f9",stroke:"lch(27.5 0 0 / 0.3)"}},chart:{bars:{green:"#66FF73",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#FAFF69",violet:"#BB33FF",teal:"#66FFE5"}},iconButton:{badge:{foreground:"#1d1d1d",background:"#FAFF69"}}}},YH=Object.freeze(Object.defineProperty({__proto__:null,click:x9,default:{click:x9,name:w9,global:y9},global:y9,name:w9},Symbol.toStringTag,{value:"Module"})),k9={accordion:{color:{default:{label:{default:"#161517",hover:"lch(13.9 1.33 305)",active:"#161517"},icon:{default:"#161517",hover:"lch(13.9 1.33 305)",active:"#161517"}},link:{label:{default:"#135be6",hover:"#092e73",active:"#135be6"},icon:{default:"#135be6",hover:"lch(26.3 42.1 284)",active:"#135be6"}}}},alert:{color:{background:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",warning:"#ffedd8",info:"#dae6fc"},text:{default:"#696e79",success:"#00990D",neutral:"#53575f",danger:"#c10000",warning:"#9e5600",info:"#135be6"},iconBackground:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",warning:"#ffedd8",info:"#dae6fc"},iconForeground:{default:"#696e79",success:"lch(54.9 75.8 135 / 0.75)",neutral:"lch(36.8 5.23 267 / 0.75)",danger:"lch(41 86.6 40.9 / 0.75)",warning:"lch(44.6 59.8 63.2 / 0.75)",info:"lch(41.9 80.9 287 / 0.75)"}}},avatar:{color:{background:{default:"#696e79",hover:"#9a9ea7",active:"#9a9ea7"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}}},badge:{color:{background:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",disabled:"#dfdfdf",info:"#dae6fc",warning:"#ffedd8"},text:{default:"#696e79",success:"#00990D",neutral:"#53575f",danger:"#c10000",disabled:"#a0a0a0",info:"#135be6",warning:"#9e5600"},stroke:{default:"lch(91.6 1.1 266)",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",disabled:"lch(84.4 0 0)",info:"#dae6fc",warning:"#ffedd8"}}},bigStat:{color:{stroke:{default:"lch(91.6 1.1 266)",muted:"lch(91.6 1.1 266)"},background:{default:"#ffffff",muted:"#f6f7fa"},label:{default:"#696e79",muted:"#696e79"},title:{default:"lch(11.1 1.37 305)",muted:"lch(11.1 1.37 305)"}}},button:{basic:{color:{primary:{background:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.42 1.33 305)",disabled:"#dfdfdf"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},stroke:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.42 1.33 305)",disabled:"#dfdfdf"}},secondary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"lch(83.8 2.3 258)",disabled:"#dfdfdf"},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)",disabled:"#dfdfdf"},text:{default:"#c10000",hover:"#c10000",active:"#c10000",disabled:"#a0a0a0"},stroke:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)",disabled:"#dfdfdf"}},empty:{text:{default:"#135be6",hover:"#092e73",active:"#135be6",disabled:"#a0a0a0"},background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"}}}},iconButton:{color:{primary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},stroke:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},text:{default:"#161517",hover:"#161517",active:"#161517"}},secondary:{background:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.1 1.26 305)"},stroke:{default:"rgba(0,0,0,0)",hover:"lch(29.5 4.18 267)",active:"lch(6.1 1.26 305)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}},disabled:{background:{default:"#dfdfdf"},text:{default:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)"},text:{default:"#c10000",hover:"#c10000",active:"#c10000"},stroke:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)"}},ghost:{background:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgb(0% 0% 0% / 0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"}},info:{background:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"},text:{default:"#135be6",hover:"#135be6",active:"#135be6"},stroke:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"}}}},split:{primary:{background:{main:{default:"#302e32",hover:"lch(27 3.82 267)",active:"lch(5.87 1.22 305)",disabled:"lch(81.3 0 0)"},action:{default:"lch(6.24 1.29 305)",hover:"lch(25.6 3.63 267)",active:"lch(3.47 0.72 305)",disabled:"lch(77.2 0 0)"}},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},divide:{default:"lch(23.3 2.63 306)",hover:"lch(33 3.27 267)",active:"lch(16.4 2.36 306)",disabled:"lch(75.5 0 0)"}},secondary:{divide:{default:"lch(92 1.05 266)",hover:"lch(92.4 0.99 266)",active:"lch(83.8 2.3 258)",disabled:"lch(75.5 0 0)"},background:{main:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},action:{default:"#f6f7fa",hover:"lch(94.8 1.53 272)",active:"lch(92.9 1.5 272)",disabled:"lch(77.2 0 0)"}},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(84 2.28 258)",disabled:"rgba(0,0,0,0)"}}},group:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(97.3 1.53 272)",disabled:"#dfdfdf","disabled-active":"lch(71.1 0 0)",panel:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0","disabled-active":"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)","disabled-active":"rgba(0,0,0,0)",panel:"lch(91.6 1.1 266)"},panel:{stroke:{default:"lch(91.6 1.1 266)",borderless:"rgba(0,0,0,0)"}}}},alignedLeft:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"#cccfd3"},text:{default:"#161517",hover:"#161517",active:"#161517"}}}},card:{secondary:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(92.4 1.49 272)",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},link:{default:"#161517",hover:"#135be6",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(87 1.05 266)",disabled:"#dfdfdf"}}},primary:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(95 0 0)",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},horizontal:{default:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},muted:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}}},promotion:{color:{text:{default:"#161517",hover:"#161517",active:"#161517"},icon:{default:"#161517",hover:"#161517",active:"#161517"},background:{default:"lch(97.2 1.57 272 / 0.9)",hover:"lch(91.8 1.07 266)",active:"lch(89.8 1.08 266)"},stroke:{default:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",hover:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",active:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",focus:"#151515"}}}},checkbox:{color:{background:{default:"#f6f7fa",hover:"#f6f7fa",active:"#161517",disabled:"#dfdfdf"},stroke:{default:"#b3b6bd",hover:"#b3b6bd",active:"#161517",disabled:"#c0c0c0"},check:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},codeblock:{darkMode:{color:{background:{default:"#282828"},text:{default:"#ffffff"},numbers:{default:"#c0c0c0"},button:{background:{default:"#282828",hover:"#53575f"},foreground:{default:"#ffffff"}},stroke:{default:"#282828"}}},lightMode:{color:{background:{default:"#f6f7fa"},text:{default:"#282828"},numbers:{default:"#808080"},button:{background:{default:"#f6f7fa",hover:"#53575f"},foreground:{default:"#a0a0a0"}},stroke:{default:"#282828"}}},monacoTheme:{parameter:{foreground:"#53575f",background:"#e6e7e9"}}},codeInline:{color:{background:{default:"#f6f7fa"},text:{default:"#161517"},stroke:{default:"lch(91.6 1.1 266)"}}},field:{color:{background:{default:"lch(97.3 1.53 272)",hover:"lch(97.3 1.53 272)",active:"#ffffff",disabled:"#dfdfdf",error:"#ffffff"},text:{default:"#302e32",hover:"#302e32",active:"#161517",disabled:"#a0a0a0",error:"#c10000"},stroke:{default:"lch(92 1.05 266)",hover:"lch(83.8 2.3 258)",active:"#161517",disabled:"#dfdfdf",error:"#c10000"},label:{default:"#696e79",hover:"#696e79",active:"#161517",disabled:"#a0a0a0",error:"#c10000"},format:{default:"lch(57 5.46 269)",hover:"lch(57 5.46 269)",active:"lch(57 5.46 269)",disabled:"#a0a0a0",error:"lch(57 5.46 269)"},genericLabel:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},placeholder:{default:"#696e79"}}},genericMenu:{item:{color:{text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#c0c0c0",muted:"#696e79"},background:{default:"#ffffff",hover:"lch(97.5 1.43 272)",active:"#ffffff",disabled:"#ffffff"},format:{default:"lch(57 5.46 269)",hover:"lch(57 5.46 269)",active:"lch(57 5.46 269)",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)"},subtext:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#c0c0c0"}}},button:{color:{background:{default:"#f6f7fa"},label:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}}},panel:{color:{background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}},autocomplete:{color:{placeholder:{default:"#696e79"},searchTerm:{default:"#161517"},background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}}},image:{color:{stroke:"#161517"}},panel:{color:{background:{default:"#ffffff",muted:"#f6f7fa",transparent:"rgba(0,0,0,0)"},stroke:{default:"lch(91.6 1.1 266)"}}},popover:{color:{panel:{background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}}},radio:{color:{background:{default:"#f6f7fa",hover:"#f6f7fa",active:"#161517",disabled:"#dfdfdf"},stroke:{default:"#b3b6bd",hover:"#b3b6bd",active:"#151515",disabled:"#c0c0c0"},indicator:{default:"#ffffff",hover:"#f6f7fa",active:"#ffffff",disabled:"#a0a0a0"}}},separator:{color:{stroke:{default:"lch(91.6 1.1 266)"}}},sidebar:{main:{color:{background:{default:"#ffffff"},text:{default:"#161517",muted:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#161517",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}},sqlSidebar:{color:{background:{default:"#f6f7fa"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#161517",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}}},stepper:{vertical:{numbered:{connector:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#1F1F1C"},icon:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}},bulleted:{connector:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#ffffff"},icon:{incomplete:"#ffffff",complete:"#1F1F1C",active:"#ffffff"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}}}},switch:{color:{background:{default:"#cccfd3",active:"#151515",disabled:"#dfdfdf"},stroke:{default:"#cccfd3",active:"#161517",disabled:"#dfdfdf"},indicator:{default:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},table:{header:{color:{background:{default:"#f6f7fa",hover:"lch(93.2 9.14 266)",active:"lch(93.4 8.91 266)"},title:{default:"#161517"},icon:{default:"#161517"},checkbox:{background:{default:"#cccfd3"},border:{default:"#808691"}}}},row:{color:{background:{default:"#ffffff",hover:"lch(90.9 12.2 266 / 0.2)",active:"lch(91.1 11.9 266 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)"},text:{default:"#161517"},link:{default:"#135be6"},label:{default:"#696e79"}}},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},tabs:{basic:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"#151515"},global:{default:"lch(91.6 1.1 266)"}}},fileTabs:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(91.6 1.1 266)"},closeButton:{background:{default:"rgba(0,0,0,0)",hover:"#e6e7e9"}}}}},toast:{color:{title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"},icon:{default:"lch(11.1 1.37 305)",success:"#00990D",warning:"#9e5600",danger:"#c10000"}}},tooltip:{color:{background:{default:"lch(10.8 0 0 / 0.85)"},label:{default:"#ffffff"}}},dialog:{color:{background:{default:"#ffffff"},title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},opaqueBackground:{default:"lch(6.77 0 0 / 0.75)"}}},flyout:{color:{background:{default:"#ffffff"},title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}}},grid:{header:{cell:{color:{background:{default:"#f6f7fa",selectIndirect:"lch(93.2 9.14 266)",selectDirect:"lch(90 12.1 266)"},title:{default:"#696e79",selectIndirect:"#161517",selectDirect:"#161517"},stroke:{default:"lch(89.3 1.07 266)",selectIndirect:"lch(88.6 11.9 266)",selectDirect:"lch(79.7 24 268)"}}}},body:{cell:{color:{background:{default:"#ffffff",selectIndirect:"lch(90.9 12.2 266 / 0.2)",selectDirect:"lch(90.9 12.2 266 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)",selectIndirect:"lch(65.4 19.7 268)",selectDirect:"#135be6"},text:{default:"lch(7.17 1.44 305)",selectIndirect:"#161517",selectDirect:"#161517"}}}},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},global:{color:{background:{default:"#ffffff",muted:"#f6f7fa"},text:{default:"#161517",muted:"#696e79",link:{default:"#135be6",hover:"#092e73"}},stroke:{default:"lch(91.6 1.1 266)",muted:"lch(91.6 1.1 266)",intense:"#b3b6bd"},accent:{default:"#151515"},outline:{default:"#135be6"},shadow:{default:"lch(6.77 0 0 / 0.15)"},title:{default:"lch(11.1 1.37 305)",muted:"#696e79"}}},feedback:{color:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#e6e7e9",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}}},storybook:{global:{background:"#ffffff"}},chart:{bars:{color:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}}}},S9="light",L9={color:{background:{default:"#ffffff",muted:"#f6f7fa",sidebar:"#ffffff",split:"#f6f7fa"},text:{default:"#161517",muted:"#696e79",link:{default:"#135be6",hover:"#092e73"}},stroke:{default:"lch(91.6 1.1 266 / 0.3)",muted:"lch(91.6 1.1 266 / 0.3)",intense:"#b3b6bd",split:"#e6e7e9"},accent:{default:"#151515"},outline:{default:"#135be6"},shadow:{default:"lch(6.77 0 0 / 0.15)"},feedback:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#f6f7fa",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}},chart:{bars:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}},iconButton:{badge:{foreground:"#135be6",background:"#dae6fc"}}}},XH=Object.freeze(Object.defineProperty({__proto__:null,click:k9,default:{click:k9,name:S9,global:L9},global:L9,name:S9},Symbol.toStringTag,{value:"Module"})),$9={accordion:{sm:{icon:{size:{height:"1rem",width:"1rem"}},space:{gap:"0.25rem"},typography:{label:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},md:{icon:{size:{height:"1.25rem",width:"1.25rem"}},space:{gap:"0.25rem"},typography:{label:{default:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},lg:{icon:{size:{height:"1.5rem",width:"1.5rem"}},space:{gap:"0.25rem"},typography:{label:{default:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},color:{default:{label:{default:"#161517",hover:"lch(13.9 1.33 305)",active:"#161517"},icon:{default:"#161517",hover:"lch(13.9 1.33 305)",active:"#161517"}},link:{label:{default:"#135be6",hover:"#092e73",active:"#135be6"},icon:{default:"#135be6",hover:"lch(26.3 42.1 284)",active:"#135be6"}}}},alert:{medium:{space:{y:"0.75rem",x:"0.75rem",gap:"0.5rem"},typography:{title:{default:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},text:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},icon:{height:"1.25rem",width:"1.25rem"}},small:{space:{y:"0.5rem",x:"0.5rem",gap:"0.25rem"},icon:{height:"1rem",width:"1rem"},typography:{title:{default:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},text:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},radii:{center:"0",end:"0.25rem"},color:{background:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",warning:"#ffedd8",info:"#dae6fc"},text:{default:"#696e79",success:"#00990D",neutral:"#53575f",danger:"#c10000",warning:"#9e5600",info:"#135be6"},iconBackground:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",warning:"#ffedd8",info:"#dae6fc"},iconForeground:{default:"#696e79",success:"lch(54.9 75.8 135 / 0.75)",neutral:"lch(36.8 5.23 267 / 0.75)",danger:"lch(41 86.6 40.9 / 0.75)",warning:"lch(44.6 59.8 63.2 / 0.75)",info:"lch(41.9 80.9 287 / 0.75)"}}},avatar:{typography:{label:{sm:{default:`600 0.688rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`600 0.688rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.688rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},md:{default:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},size:{label:{width:"1.5rem"},width:"1.5rem",height:"1.5rem"},radii:{all:"9999px"},color:{background:{default:"#696e79",hover:"#9a9ea7",active:"#9a9ea7"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}}},badge:{space:{md:{x:"0.75rem",y:"0.125rem",gap:"0.25rem"},sm:{x:"0.5rem",y:"0.156rem",gap:"0.125rem"}},typography:{label:{md:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},sm:{default:`500 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},radii:{all:"9999px"},stroke:"1px",icon:{md:{size:{height:"0.75rem",width:"0.75rem"}},sm:{size:{height:"0.625rem",width:"0.625rem"}}},color:{background:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",disabled:"#dfdfdf",info:"#dae6fc",warning:"#ffedd8"},text:{default:"#696e79",success:"#00990D",neutral:"#53575f",danger:"#c10000",disabled:"#a0a0a0",info:"#135be6",warning:"#9e5600"},stroke:{default:"lch(91.6 1.1 266)",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",disabled:"lch(84.4 0 0)",info:"#dae6fc",warning:"#ffedd8"}}},bigStat:{space:{all:"1rem",sm:{gap:"0"},lg:{gap:"0.5rem"}},radii:{all:"0.25rem"},stroke:"1px",typography:{lg:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,muted:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},title:{default:`700 2rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,muted:`700 2rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},sm:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,muted:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},title:{default:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,muted:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},color:{stroke:{default:"lch(91.6 1.1 266)",muted:"lch(91.6 1.1 266)"},background:{default:"#ffffff",muted:"#f6f7fa"},label:{default:"#696e79",muted:"#696e79"},title:{default:"lch(11.1 1.37 305)",muted:"lch(11.1 1.37 305)"}}},button:{radii:{all:"0.25rem"},basic:{space:{x:"1rem",y:"0.281rem",gap:"0.5rem",group:"0.5rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{label:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},size:{icon:{height:"0.969rem",all:"0.969rem",width:"0.969rem"}},color:{primary:{background:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.42 1.33 305)",disabled:"#dfdfdf"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},stroke:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.42 1.33 305)",disabled:"#dfdfdf"}},secondary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"lch(83.8 2.3 258)",disabled:"#dfdfdf"},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)",disabled:"#dfdfdf"},text:{default:"#c10000",hover:"#c10000",active:"#c10000",disabled:"#a0a0a0"},stroke:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)",disabled:"#dfdfdf"}},empty:{text:{default:"#135be6",hover:"#092e73",active:"#135be6",disabled:"#a0a0a0"},background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"}}}},iconButton:{default:{space:{x:"0.438rem",y:"0.438rem"}},size:{small:"0.75rem",medium:"1rem",large:"1.25rem"},radii:{all:"0.25rem"},sm:{space:{x:"0.25rem",y:"0.25rem"}},xs:{space:{x:"0",y:"0"}},color:{primary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},stroke:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},text:{default:"#161517",hover:"#161517",active:"#161517"}},secondary:{background:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.1 1.26 305)"},stroke:{default:"rgba(0,0,0,0)",hover:"lch(29.5 4.18 267)",active:"lch(6.1 1.26 305)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}},disabled:{background:{default:"#dfdfdf"},text:{default:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)"},text:{default:"#c10000",hover:"#c10000",active:"#c10000"},stroke:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)"}},ghost:{background:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgb(0% 0% 0% / 0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"}},info:{background:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"},text:{default:"#135be6",hover:"#135be6",active:"#135be6"},stroke:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"}}}},stroke:"1px",split:{icon:{space:{y:"0.438rem",x:"0.344rem"}},space:{x:"1rem",y:"0.281rem",gap:"0.5rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{label:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},primary:{background:{main:{default:"#302e32",hover:"lch(27 3.82 267)",active:"lch(5.87 1.22 305)",disabled:"lch(81.3 0 0)"},action:{default:"lch(6.24 1.29 305)",hover:"lch(25.6 3.63 267)",active:"lch(3.47 0.72 305)",disabled:"lch(77.2 0 0)"}},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},divide:{default:"lch(23.3 2.63 306)",hover:"lch(33 3.27 267)",active:"lch(16.4 2.36 306)",disabled:"lch(75.5 0 0)"}},secondary:{divide:{default:"lch(92 1.05 266)",hover:"lch(92.4 0.99 266)",active:"lch(83.8 2.3 258)",disabled:"lch(75.5 0 0)"},background:{main:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},action:{default:"#f6f7fa",hover:"lch(94.8 1.53 272)",active:"lch(92.9 1.5 272)",disabled:"lch(77.2 0 0)"}},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(84 2.28 258)",disabled:"rgba(0,0,0,0)"}}},mobile:{button:{space:{x:"0.75rem",y:"0.5rem",gap:"0.5rem"}},basic:{size:{icon:{all:"1.25rem"}}}},group:{radii:{all:"0.25rem",end:"0"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{label:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},space:{gap:{default:"0",borderless:"0.25rem"}},color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(97.3 1.53 272)",disabled:"#dfdfdf","disabled-active":"lch(71.1 0 0)",panel:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0","disabled-active":"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)","disabled-active":"rgba(0,0,0,0)",panel:"lch(91.6 1.1 266)"},panel:{stroke:{default:"lch(91.6 1.1 266)",borderless:"rgba(0,0,0,0)"}}}},alignLeft:{size:{icon:{all:"0.969rem"}},space:{x:"1rem",y:"0.344rem",gap:"0.5rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{label:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}}},alignedLeft:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"#cccfd3"},text:{default:"#161517",hover:"#161517",active:"#161517"}}}},card:{secondary:{space:{all:"1rem",gap:"1rem"},radii:{all:"0.25rem"},icon:{size:{all:"2rem"}},stroke:"1px",color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(92.4 1.49 272)",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},link:{default:"#161517",hover:"#135be6",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(87 1.05 266)",disabled:"#dfdfdf"}}},typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},link:{default:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},primary:{size:{icon:{sm:{all:"2rem"},md:{all:"4rem"}}},space:{md:{y:"1.5rem",x:"1.5rem",gap:"0.75rem"},sm:{y:"1.5rem",x:"1.5rem",gap:"0.25rem"}},radii:{all:"0.25rem"},stroke:"1px",color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(95 0 0)",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},shadow:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)",horizontal:{radii:{all:"0.25rem"},typography:{title:{default:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},icon:{size:{all:"1.5rem"}},space:{y:"0.75rem",x:"1.5rem",gap:"1rem"},default:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},muted:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}}},promotion:{radii:{all:"0.25rem"},typography:{text:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},space:{y:"5.5px",x:"0.75rem",gap:"0.75rem"},icon:{size:{all:"1rem"}},color:{text:{default:"#161517",hover:"#161517",active:"#161517"},icon:{default:"#161517",hover:"#161517",active:"#161517"},background:{default:"lch(97.2 1.57 272 / 0.9)",hover:"lch(91.8 1.07 266)",active:"lch(89.8 1.08 266)"},stroke:{default:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",hover:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",active:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",focus:"#151515"}}}},checkbox:{radii:{all:"0.125rem"},space:{all:"1px",gap:"0.5rem"},size:{all:"1rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#f6f7fa",hover:"#f6f7fa",active:"#161517",disabled:"#dfdfdf"},stroke:{default:"#b3b6bd",hover:"#b3b6bd",active:"#161517",disabled:"#c0c0c0"},check:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},label:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"}}},codeblock:{space:{x:"1rem",y:"1rem",gap:"1.5rem"},radii:{all:"0.25rem"},stroke:"1px",typography:{text:{default:`500 0.875rem/1.7 "Inconsolata", '"SFMono Regular"', monospace`}},numbers:{size:{width:"1.5rem"}},darkMode:{color:{background:{default:"#282828"},text:{default:"#ffffff"},numbers:{default:"#c0c0c0"},button:{background:{default:"#282828",hover:"#53575f"},foreground:{default:"#ffffff"}},stroke:{default:"#282828"}}},lightMode:{color:{background:{default:"#f6f7fa"},text:{default:"#282828"},numbers:{default:"#808080"},button:{background:{default:"#f6f7fa",hover:"#53575f"},foreground:{default:"#a0a0a0"}},stroke:{default:"#282828"}}},monacoTheme:{parameter:{foreground:"#53575f",background:"#e6e7e9"}}},codeInline:{space:{x:"0.25rem"},stroke:"1px",typography:{text:{default:`500 0.875rem/1.7 "Inconsolata", '"SFMono Regular"', monospace`}},radii:{all:"0.25rem"},color:{background:{default:"#f6f7fa"},text:{default:"#161517"},stroke:{default:"lch(91.6 1.1 266)"}}},docs:{typography:{titles:{lg:`600 2rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`700 1.25rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},text:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},breadcrumbs:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},toc:{title:{default:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},item:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}}},field:{typography:{label:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,error:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},fieldText:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,error:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},placeholder:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},format:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,error:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},genericLabel:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,error:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},type:{mobile:{label:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,"field-value":`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},space:{x:"0.75rem",y:"0.281rem",gap:"0.5rem"},size:{icon:"1rem"},radii:{all:"0.25rem"},mobile:{space:{x:"0.75rem",y:"0.5rem",gap:"0.5rem"}},color:{background:{default:"lch(97.3 1.53 272)",hover:"lch(97.3 1.53 272)",active:"#ffffff",disabled:"#dfdfdf",error:"#ffffff"},text:{default:"#302e32",hover:"#302e32",active:"#161517",disabled:"#a0a0a0",error:"#c10000"},stroke:{default:"lch(92 1.05 266)",hover:"lch(83.8 2.3 258)",active:"#161517",disabled:"#dfdfdf",error:"#c10000"},label:{default:"#696e79",hover:"#696e79",active:"#161517",disabled:"#a0a0a0",error:"#c10000"},format:{default:"lch(57 5.46 269)",hover:"lch(57 5.46 269)",active:"lch(57 5.46 269)",disabled:"#a0a0a0",error:"lch(57 5.46 269)"},genericLabel:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},placeholder:{default:"#696e79"}}},genericMenu:{item:{space:{x:"1rem",y:"0.344rem",gap:"0.5rem"},icon:{size:{height:"0.969rem",width:"0.969rem"}},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},sectionHeader:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},subtext:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},"two-lines":{space:{x:"1rem",y:"0.344rem",gap:"0.75rem"}},size:{minWidth:"180px"},color:{text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#c0c0c0",muted:"#696e79"},background:{default:"#ffffff",hover:"lch(97.5 1.43 272)",active:"#ffffff",disabled:"#ffffff"},format:{default:"lch(57 5.46 269)",hover:"lch(57 5.46 269)",active:"lch(57 5.46 269)",disabled:"#a0a0a0",error:"lch(57 5.46 269)"},stroke:{default:"lch(91.6 1.1 266)"},subtext:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#c0c0c0"}}},itemCustom:{typography:{label:{sm:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},button:{space:{gap:"0.25rem",y:"0.5rem"},typography:{label:{default:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#f6f7fa"},label:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}}},panel:{radii:{all:"0.25rem"},shadow:{default:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"},color:{background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}},autocomplete:{typography:{results:{label:{default:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},search:{placeholder:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},term:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},search:{stroke:{default:"2px solid lch(91.6 1.1 266)"}},color:{placeholder:{default:"#696e79"},searchTerm:{default:"#161517"},background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}},sectionHeader:{space:{bottom:"0.344rem",top:"0.5rem"}},placeholder:{space:{gap:"0.5rem"}}},image:{sm:{size:{height:"1rem",width:"1rem"}},xs:{size:{height:"0.75rem",width:"0.75rem"}},md:{size:{height:"1.25rem",width:"1.25rem"}},lg:{size:{height:"1.5rem",width:"1.5rem"}},xl:{size:{height:"2rem",width:"2rem"}},xxl:{size:{height:"4rem",width:"4rem"}},color:{stroke:"#161517"}},panel:{strokeWidth:{default:"1px"},radii:{none:"0",sm:"0.25rem",md:"0.5rem",lg:"0.75rem"},stroke:{default:"1px solid lch(91.6 1.1 266)"},shadow:{default:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"},space:{y:{none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem"},x:{none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem"},gap:{none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem"}},color:{background:{default:"#ffffff",muted:"#f6f7fa",transparent:"rgba(0,0,0,0)"},stroke:{default:"lch(91.6 1.1 266)"}}},popover:{space:{y:"1rem",x:"1.5rem",gap:"0.75rem"},radii:{all:"0.25rem"},shadow:{default:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"},icon:{size:{height:"1.25rem",width:"1.25rem"}},color:{panel:{background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}}},radio:{radii:{all:"9999px"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#f6f7fa",hover:"#f6f7fa",active:"#161517",disabled:"#dfdfdf"},stroke:{default:"#b3b6bd",hover:"#b3b6bd",active:"#151515",disabled:"#c0c0c0"},indicator:{default:"#ffffff",hover:"#f6f7fa",active:"#ffffff",disabled:"#a0a0a0"}}},separator:{horizontal:{space:{y:{xs:"0",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"1.5rem",xxl:"2rem"},x:{all:"0"}}},vertical:{space:{x:{xs:"0",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"1.5rem",xxl:"2rem"},y:{all:"0"}}},color:{stroke:{default:"lch(91.6 1.1 266)"}}},sidebar:{navigation:{item:{radii:{all:"0.25rem"},default:{space:{right:"0.75rem",y:"0.281rem",gap:"0.75rem",left:"0"}},typography:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{typography:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},space:{left:"0",right:"0.75rem",y:"0.75rem",gap:"0.75rem"}},collapsible:{space:{left:"0",right:"0.75rem",y:"0.281rem",gap:"0.75rem"}},icon:{size:{height:"1rem",width:"1rem"}}},title:{typography:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},subItem:{default:{space:{left:"2.75rem",right:"0.75rem",y:"0.281rem"}},mobile:{space:{left:"2.75rem",right:"0.75rem",y:"0.75rem",gap:"0.75rem"},typography:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},radii:{all:"0.25rem"},typography:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},dragControl:{separator:{size:{height:"0.125rem"}}}},main:{color:{background:{default:"#ffffff"},text:{default:"#161517",muted:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#161517",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}},sqlSidebar:{color:{background:{default:"#f6f7fa"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#161517",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}}},spacer:{horizontal:{space:{y:{xs:"0",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"1.5rem",xxl:"2rem"},x:{all:"0"}}}},stepper:{vertical:{numbered:{connector:{size:{width:"0.188rem"},stroke:{default:"2px"},color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},step:{typography:{number:{default:`700 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},size:{height:"1.5rem",width:"1.5rem",icon:{height:"0.75rem",width:"0.75rem"}},stroke:{default:"2px"},radii:{default:"9999px"},color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#1F1F1C"},icon:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"}}},content:{space:{gap:{x:"1rem",y:"0.5rem"},left:"2.75rem",bottom:{default:"2.5rem",active:"1.5rem"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}},bulleted:{connector:{size:{width:"0.188rem"},stroke:{default:"2px"},color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{size:{height:"1rem",width:"1rem",icon:{height:"0.75rem",width:"0.75rem"}},radii:{default:"9999px"},stroke:{default:"2px"},color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#ffffff"},icon:{incomplete:"#ffffff",complete:"#1F1F1C",active:"#ffffff"}}},typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},content:{space:{gap:{x:"1rem",y:"0.5rem"},left:"2.25rem",bottom:{default:"2.5rem",active:"1.5rem"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}}}},switch:{space:{gap:"0.5rem"},radii:{all:"9999px"},size:{width:"2rem",height:"1rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#cccfd3",active:"#151515",disabled:"#dfdfdf"},stroke:{default:"#cccfd3",active:"#161517",disabled:"#dfdfdf"},indicator:{default:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},table:{header:{title:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},cell:{space:{md:{y:"0.75rem",x:"1rem"},sm:{y:"0.5rem",x:"1rem"}}},color:{background:{default:"#f6f7fa",hover:"lch(93.2 9.14 266)",active:"lch(93.4 8.91 266)"},title:{default:"#161517"},icon:{default:"#161517"},checkbox:{background:{default:"#cccfd3"},border:{default:"#808691"}}}},cell:{text:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},label:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},stroke:"1px"},radii:{all:"0.25rem"},body:{cell:{space:{md:{y:"1rem",x:"1rem"},sm:{y:"0.5rem",x:"1rem"}}}},mobile:{cell:{space:{y:"1rem",x:"1rem",gap:"0.5rem"}}},row:{color:{background:{default:"#ffffff",hover:"lch(90.9 12.2 266 / 0.2)",active:"lch(91.1 11.9 266 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)"},text:{default:"#161517"},link:{default:"#135be6"},label:{default:"#696e79"}}},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},tabs:{space:{y:"0.5rem",x:"0.75rem"},radii:{all:"0.25rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},basic:{strokeWidth:{default:"1px",hover:"1px",active:"2px",global:"1px"},color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"#151515"},global:{default:"lch(91.6 1.1 266)"}}},fileTabs:{icon:{size:{height:"1rem",width:"1rem"}},space:{y:"1.063rem",x:"1rem",gap:"0.75rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},radii:{all:"0"},color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(91.6 1.1 266)"},closeButton:{background:{default:"rgba(0,0,0,0)",hover:"#e6e7e9"}}}}},toast:{icon:{size:{height:"1rem",width:"1rem"}},space:{title:{gap:"0.5rem"},y:"0.75rem",x:"0.75rem",gap:"0.5rem"},radii:{all:"0.25rem"},shadow:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)",typography:{title:{default:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},description:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},size:{width:"20.75rem"},color:{title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"},icon:{default:"lch(11.1 1.37 305)",success:"#00990D",warning:"#9e5600",danger:"#c10000"}}},tooltip:{radii:{all:"0.25rem"},space:{x:"0.75rem",y:"0.5rem"},typography:{label:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"lch(10.8 0 0 / 0.85)"},label:{default:"#ffffff"}}},dialog:{space:{y:"1.5rem",x:"2rem",gap:"1rem"},title:{space:{gap:"0.25rem"}},radii:{all:"0.5rem"},shadow:{default:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"},stroke:{default:"1px solid lch(91.6 1.1 266)"},typography:{title:{default:`700 1.25rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#ffffff"},title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},opaqueBackground:{default:"lch(6.77 0 0 / 0.75)"}}},link:{space:{md:{gap:"0.25rem"},sm:{gap:"2px"}},icon:{size:{sm:{height:"0.75rem",width:"0.75rem"},md:{height:"1rem",width:"1rem"}}}},flyout:{space:{default:{x:"0",y:"1.5rem",gap:"1rem",top:"0",content:{x:"1.5rem",y:"1.5rem","row-gap":"0.25rem","column-gap":"1rem"}},inline:{x:"0",y:"0.75rem",gap:"0.75rem",top:"3.5rem",content:{x:"0.75rem",y:"0.75rem","row-gap":"0.25rem","column-gap":"0.75rem"}}},shadow:{default:"-5px 0 20px 0 rgba(0, 0, 0, 0.08), -6px 0 10px 0 rgba(0, 0, 0, 0.08)"},size:{default:{width:"27.5rem",height:"100%"},wide:{width:"37.5rem",height:"100vh"},narrow:{width:"21rem",height:"100%"}},typography:{default:{description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},title:{default:`700 1.25rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},inline:{description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},color:{background:{default:"#ffffff"},title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},opaqueBackground:{default:"lch(6.77 0 0 / 0.45)"},stroke:{default:"lch(91.6 1.1 266)"}}},grid:{header:{cell:{space:{y:"0.438rem",x:"0.5rem"},size:{height:"2rem"},color:{background:{default:"#f6f7fa",selectIndirect:"lch(93.2 9.14 266)",selectDirect:"lch(90 12.1 266)"},title:{default:"#696e79",selectIndirect:"#161517",selectDirect:"#161517"},stroke:{default:"lch(89.3 1.07 266)",selectIndirect:"lch(88.6 11.9 266)",selectDirect:"lch(79.7 24 268)"}}},title:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},body:{cell:{space:{y:"5.5px",x:"0.5rem"},size:{height:"2rem"},color:{background:{default:"#ffffff",selectIndirect:"lch(90.9 12.2 266 / 0.2)",selectDirect:"lch(90.9 12.2 266 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)",selectIndirect:"lch(65.4 19.7 268)",selectDirect:"#135be6"},text:{default:"lch(7.17 1.44 305)",selectIndirect:"#161517",selectDirect:"#161517"}}}},cell:{text:{default:`500 0.875rem/1.5 "Inconsolata", '"SFMono Regular"', monospace`}},radii:{none:"0",sm:"0.25rem",md:"0.5rem",lg:"0.75rem"},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},container:{space:{none:"0",xxs:"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem",xxl:"4rem"},gap:{none:"0",xxs:"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem",xxl:"4rem"}},gridContainer:{gap:{none:"0",xxs:"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem",xxl:"4rem",unset:""}},global:{color:{background:{default:"#ffffff",muted:"#f6f7fa"},text:{default:"#161517",muted:"#696e79",link:{default:"#135be6",hover:"#092e73"}},stroke:{default:"lch(91.6 1.1 266)",muted:"lch(91.6 1.1 266)",intense:"#b3b6bd"},accent:{default:"#151515"},outline:{default:"#135be6"},shadow:{default:"lch(6.77 0 0 / 0.15)"},title:{default:"lch(11.1 1.37 305)",muted:"#696e79"}}},feedback:{color:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#e6e7e9",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}}},storybook:{global:{background:"#ffffff"}},chart:{bars:{color:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}}}},M9={default:"all 100ms ease-in 0ms",duration:{slow:"300ms",medium:"100ms",fast:"50ms"},delay:{slow:"100ms",fast:"0ms"},function:{ease:"ease","ease-in":"ease-in","ease-in-out":"ease-in-out",linear:"linear"}},j9={header:{cell:{borderWidth:{default:"1px",selectIndirect:"1px",selectDirect:"1px"}}},body:{cell:{borderWidth:{default:"1px",selectIndirect:"1px",selectDirect:"2px"}}}},E9="light",_9={color:{background:{default:"#ffffff",muted:"#f6f7fa",sidebar:"#ffffff",split:"#f6f7fa"},text:{default:"#161517",muted:"#696e79",link:{default:"#135be6",hover:"#092e73"}},stroke:{default:"lch(91.6 1.1 266 / 0.3)",muted:"lch(91.6 1.1 266 / 0.3)",intense:"#b3b6bd",split:"#e6e7e9"},accent:{default:"#151515"},outline:{default:"#135be6"},shadow:{default:"lch(6.77 0 0 / 0.15)"},feedback:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#f6f7fa",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}},chart:{bars:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}},iconButton:{badge:{foreground:"#135be6",background:"#dae6fc"}}}},I9={brand:{50:"#ffffe8",100:"#feffba",200:"#fdffa3",300:"#FAFF69",400:"#eef400",500:"#9fa300",600:"#4f5100",700:"#27291B",800:"#161600",base:"#fbff46"},neutral:{0:"#ffffff",100:"#f9f9f9",200:"#dfdfdf",300:"#c0c0c0",400:"#a0a0a0",500:"#808080",600:"#606060",700:"#414141",725:"#282828",750:"#1F1F1C",800:"#1d1d1d",900:"#151515",base:"#212121"},slate:{50:"#f6f7fa",100:"#e6e7e9",200:"#cccfd3",300:"#b3b6bd",400:"#9a9ea7",500:"#808691",600:"#696e79",700:"#53575f",800:"#302e32",900:"#161517",base:"#373439"},indigo:{50:"#f4f1fc",100:"#e4e2e9",200:"#c8c5d3",300:"#ada8bd",400:"#918ba7",500:"#766e91",600:"#5e5874",700:"#474257",800:"#23212c",900:"#18161d",base:"#2f2c3a"},info:{50:"#dae6fc",100:"#b5cdf9",200:"#91b3f6",300:"#6c9af3",400:"#135be6",500:"#0e44ad",600:"#092e73",650:"#09255B",700:"#061d48",800:"#05173a",900:"#041330",base:"#4781f0"},success:{50:"#E5FFE8",100:"#CCFFD0",200:"#99FFA1",300:"#66FF73",400:"#33FF44",500:"#00FF15",600:"#00CC11",700:"#00990D",800:"#006609",850:"#004206",900:"#004206",base:"#62de85"},warning:{50:"#ffedd8",100:"#ffdbb1",200:"#ffca8b",300:"#ffb864",400:"#ff9416",500:"#ed8000",600:"#c66b00",700:"#9e5600",800:"#4f2b00",900:"#271500",base:"#ffa63d"},danger:{50:"#ffdddd",100:"#ffbaba",200:"#ff9898",300:"#ff7575",400:"#ff2323",500:"#f10000",600:"#c10000",700:"#910000",800:"#610000",900:"#300000",base:"#FF5353"},gradients:{base:"linear-gradient(229.65deg, #292924 15.78%, #0F0F0F 88.39%)",transparent:"rgba(0,0,0,0)"},utility:{transparent:"rgba(0,0,0,0)"},teal:{50:"#E5FFFB",100:"#CCFFF6",200:"#99FFEE",300:"#66FFE5",400:"#33FFDD",500:"#00FFD4",600:"#00CCAA",700:"#009980",800:"#006655",850:"#004237",900:"#00332A"},violet:{50:"#F6E5FF",100:"#EECCFF",200:"#DD99FF",300:"#CC66FF",400:"#BB33FF",500:"#AA00FF",600:"#8800CC",700:"#660099",800:"#440066",850:"#33004D",900:"#220033"},fuchsia:{50:"#FBEFF8",100:"#FBC9EF",200:"#FB97E2",300:"#FB64D6",400:"#FB32C9",500:"#FB00BC",600:"#CC0099",700:"#990073",800:"#66004D",850:"#4D0039",900:"#330026"}},T9={0:"0",1:"1px",2:"0.25rem",3:"0.5rem",4:"0.75rem",5:"1rem",6:"1.25rem",7:"1.5rem",8:"1.75rem",9:"2rem",10:"2.5rem",11:"4rem"},F9={font:{families:{regular:`"Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,mono:`"Inconsolata", '"SFMono Regular"', monospace`,display:`'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},weights:{1:"400",2:"500",3:"600",4:"700"},sizes:{0:"0.625rem",1:"0.75rem",2:"0.875rem",3:"1rem",4:"1.25rem",6:"2rem",base:"16px"},"line-height":{1:1.5,2:1.6,3:1.7,4:1.3}},styles:{product:{titles:{xs:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,xl:`700 1.25rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,"2xl":`600 2rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},text:{normal:{xs:`400 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},medium:{xs:`500 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},semibold:{xs:`600 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mono:{xs:`500 0.625rem/1.6 "Inconsolata", '"SFMono Regular"', monospace`,sm:`500 0.75rem/1.6 "Inconsolata", '"SFMono Regular"', monospace`,md:`500 0.875rem/1.7 "Inconsolata", '"SFMono Regular"', monospace`,lg:`500 1rem/1.6 "Inconsolata", '"SFMono Regular"', monospace`},bold:{xs:`700 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`700 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`700 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},brand:{titles:{xs:`600 20px/1.5 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`600 24px/1.5 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`600 36px/1.3 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`600 56px/1.3 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,xl:`700 64px/1.3 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,"2xl":`700 80px/1.3 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},field:{md:`400 0.875rem/1.6 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},O9={radii:{0:"0",1:"0.25rem",2:"0.5rem",3:"0.75rem",full:"9999px"},width:{1:"1px",2:"2px"}},P9={0:"0",1:"0.25rem",2:"0.5rem",3:"0.75rem",4:"1rem",5:"1.5rem",6:"2rem",7:"2.5rem",8:"4rem"},H9={1:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)",2:"0 4px 4px 0 rgba(88, 92, 98, 0.06), inset 5px 0 10px 0 rgba(104, 105, 111, 0.1)",3:"-5px 0 20px 0 rgba(0, 0, 0, 0.08), -6px 0 10px 0 rgba(0, 0, 0, 0.08)"},D9={sizes:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},j4=Object.freeze(Object.defineProperty({__proto__:null,border:O9,breakpoint:D9,click:$9,default:{click:$9,transition:M9,grid:j9,name:E9,global:_9,palette:I9,sizes:T9,typography:F9,border:O9,spaces:P9,shadow:H9,breakpoint:D9},global:_9,grid:j9,name:E9,palette:I9,shadow:H9,sizes:T9,spaces:P9,transition:M9,typography:F9},Symbol.toStringTag,{value:"Module"})),A9={dark:M4({},j4,YH),light:M4({},j4,XH),classic:M4({},j4,GH)},KH=()=>{const e=W.useTheme();return{name:e.name,global:e.global,sizes:e.sizes}},JH=W.createGlobalStyle(["body{color:",";background-color:","}"],e=>e.theme.click.global.color.text.default,e=>e.theme.click.global.color.background.default),qH=({theme:e,children:t})=>r.jsxs(W.ThemeProvider,{theme:A9[e],children:[r.jsx(JH,{}),t]}),QH=({children:e,theme:t,config:n={}})=>{const{toast:o={},tooltip:i={}}=n;return r.jsx(qH,{theme:t,children:r.jsx(j_,{...o,children:r.jsx(OE,{...i,children:e})})})},eD=()=>{const e=p.useContext(Df);if(!e)throw new Error("Context used outside of its Provider!");return e},R9=p.createContext({type:"numbered"}),tD=W.div.withConfig({componentId:"sc-xro1ly-0"})(["display:flex;flex-direction:column;align-items:flex-start;counter-reset:vertical-stepper;width:100%;"]),V9=({children:e,type:t="numbered",...n})=>{const o={type:t};return r.jsx(tD,{...n,children:r.jsx(R9.Provider,{value:o,children:e})})},nD=W.div.withConfig({componentId:"sc-xro1ly-1"})(["display:flex;flex-direction:column;position:relative;width:100%;padding:0;",""],({theme:e,$type:t,$status:n,$isOpen:o})=>`
1147
+ `),L_=W.div.withConfig({componentId:"sc-tmc8vl-5"})(["flex:1;"]),$_=({type:e,title:t,description:n,actions:o=[],duration:i,onClose:a})=>{let s="";return e==="default"?s="info-in-circle":e==="success"?s="check":e&&["danger","warning"].includes(e)&&(s="warning"),r.jsxs(y_,{onOpenChange:a,duration:i,children:[r.jsxs(k_,{children:[s.length>0&&r.jsx(b_,{name:s,$type:e}),r.jsx(L_,{children:t}),r.jsx(v_,{asChild:!0,children:r.jsx(ur,{icon:"cross",type:"ghost"})})]}),(n||o.length>0)&&r.jsxs(S_,{children:[r.jsx(Af,{as:h_,children:n}),o.length>0&&r.jsx(Af,{children:o.map(({altText:c,...u})=>r.jsx(g_,{altText:c,children:r.jsx(ul,{...u})}))})]})]})},M_=W(u_).withConfig({componentId:"sc-tmc8vl-6"})(["--viewport-padding:25px;position:fixed;bottom:0;right:0;display:flex;flex-direction:column;padding:var(--viewport-padding);gap:",";width:",";max-width:100vw;margin:0;list-style:none;z-index:2147483647;outline:none;"],({theme:e})=>e.click.toast.space.gap,({theme:e})=>e.click.toast.size.width),j_=({children:e,...t})=>{const[n,o]=p.useState(new Map);p.useEffect(()=>{const s=c=>{o(u=>{const g=new Map(u);return g.set((c==null?void 0:c.id)??String(Date.now()),c),g})};return x4.on(s),()=>x4.off(s)},[]);const i=s=>c=>{c||o(u=>{const g=new Map(u);return g.delete(s),g})},a={createToast:s=>{o(c=>{const u=new Map(c);return u.set((s==null?void 0:s.id)??String(Date.now()),s),u})}};return r.jsxs(d_,{swipeDirection:"right",...t,children:[r.jsxs(Df.Provider,{value:a,children:[e,Array.from(n).map(([s,c])=>r.jsx($_,{...c,onClose:i(s)},s))]}),r.jsx(M_,{})]})};function E_(){this.__data__=[],this.size=0}var __=E_;function I_(e,t){return e===t||e!==e&&t!==t}var a2=I_,T_=a2;function F_(e,t){for(var n=e.length;n--;)if(T_(e[n][0],t))return n;return-1}var l2=F_,O_=l2,P_=Array.prototype,H_=P_.splice;function D_(e){var t=this.__data__,n=O_(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():H_.call(t,n,1),--this.size,!0}var A_=D_,R_=l2;function V_(e){var t=this.__data__,n=R_(t,e);return n<0?void 0:t[n][1]}var B_=V_,N_=l2;function Z_(e){return N_(this.__data__,e)>-1}var U_=Z_,W_=l2;function z_(e,t){var n=this.__data__,o=W_(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var G_=z_,Y_=__,X_=A_,K_=B_,J_=U_,q_=G_;function U1(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}U1.prototype.clear=Y_,U1.prototype.delete=X_,U1.prototype.get=K_,U1.prototype.has=J_,U1.prototype.set=q_;var s2=U1,Q_=s2;function eI(){this.__data__=new Q_,this.size=0}var tI=eI;function nI(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var rI=nI;function oI(e){return this.__data__.get(e)}var iI=oI;function aI(e){return this.__data__.has(e)}var lI=aI,sI=ml,cI=Qr,dI="[object AsyncFunction]",uI="[object Function]",fI="[object GeneratorFunction]",pI="[object Proxy]";function hI(e){if(!cI(e))return!1;var t=sI(e);return t==uI||t==fI||t==dI||t==pI}var y4=hI,gI=Ti,vI=gI["__core-js_shared__"],mI=vI,k4=mI,Rf=function(){var e=/[^.]+$/.exec(k4&&k4.keys&&k4.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function bI(e){return!!Rf&&Rf in e}var CI=bI,xI=Function.prototype,wI=xI.toString;function yI(e){if(e!=null){try{return wI.call(e)}catch{}try{return e+""}catch{}}return""}var kI=yI,SI=y4,LI=CI,$I=Qr,MI=kI,jI=/[\\^$.*+?()[\]{}|]/g,EI=/^\[object .+?Constructor\]$/,_I=Function.prototype,II=Object.prototype,TI=_I.toString,FI=II.hasOwnProperty,OI=RegExp("^"+TI.call(FI).replace(jI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function PI(e){if(!$I(e)||LI(e))return!1;var t=SI(e)?OI:EI;return t.test(MI(e))}var HI=PI;function DI(e,t){return e==null?void 0:e[t]}var AI=DI,RI=HI,VI=AI;function BI(e,t){var n=VI(e,t);return RI(n)?n:void 0}var S4=BI,NI=S4,ZI=Ti,UI=NI(ZI,"Map"),Vf=UI,WI=S4,zI=WI(Object,"create"),c2=zI,Bf=c2;function GI(){this.__data__=Bf?Bf(null):{},this.size=0}var YI=GI;function XI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var KI=XI,JI=c2,qI="__lodash_hash_undefined__",QI=Object.prototype,eT=QI.hasOwnProperty;function tT(e){var t=this.__data__;if(JI){var n=t[e];return n===qI?void 0:n}return eT.call(t,e)?t[e]:void 0}var nT=tT,rT=c2,oT=Object.prototype,iT=oT.hasOwnProperty;function aT(e){var t=this.__data__;return rT?t[e]!==void 0:iT.call(t,e)}var lT=aT,sT=c2,cT="__lodash_hash_undefined__";function dT(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=sT&&t===void 0?cT:t,this}var uT=dT,fT=YI,pT=KI,hT=nT,gT=lT,vT=uT;function W1(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}W1.prototype.clear=fT,W1.prototype.delete=pT,W1.prototype.get=hT,W1.prototype.has=gT,W1.prototype.set=vT;var mT=W1,Nf=mT,bT=s2,CT=Vf;function xT(){this.size=0,this.__data__={hash:new Nf,map:new(CT||bT),string:new Nf}}var wT=xT;function yT(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var kT=yT,ST=kT;function LT(e,t){var n=e.__data__;return ST(t)?n[typeof t=="string"?"string":"hash"]:n.map}var d2=LT,$T=d2;function MT(e){var t=$T(this,e).delete(e);return this.size-=t?1:0,t}var jT=MT,ET=d2;function _T(e){return ET(this,e).get(e)}var IT=_T,TT=d2;function FT(e){return TT(this,e).has(e)}var OT=FT,PT=d2;function HT(e,t){var n=PT(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var DT=HT,AT=wT,RT=jT,VT=IT,BT=OT,NT=DT;function z1(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}z1.prototype.clear=AT,z1.prototype.delete=RT,z1.prototype.get=VT,z1.prototype.has=BT,z1.prototype.set=NT;var ZT=z1,UT=s2,WT=Vf,zT=ZT,GT=200;function YT(e,t){var n=this.__data__;if(n instanceof UT){var o=n.__data__;if(!WT||o.length<GT-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new zT(o)}return n.set(e,t),this.size=n.size,this}var XT=YT,KT=s2,JT=tI,qT=rI,QT=iI,eF=lI,tF=XT;function G1(e){var t=this.__data__=new KT(e);this.size=t.size}G1.prototype.clear=JT,G1.prototype.delete=qT,G1.prototype.get=QT,G1.prototype.has=eF,G1.prototype.set=tF;var nF=G1,rF=S4,oF=function(){try{var e=rF(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Zf=oF,Uf=Zf;function iF(e,t,n){t=="__proto__"&&Uf?Uf(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var L4=iF,aF=L4,lF=a2;function sF(e,t,n){(n!==void 0&&!lF(e[t],n)||n===void 0&&!(t in e))&&aF(e,t,n)}var Wf=sF;function cF(e){return function(t,n,o){for(var i=-1,a=Object(t),s=o(t),c=s.length;c--;){var u=s[e?c:++i];if(n(a[u],u,a)===!1)break}return t}}var dF=cF,uF=dF,fF=uF(),pF=fF,u2={exports:{}};u2.exports,function(e,t){var n=Ti,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?n.Buffer:void 0,c=s?s.allocUnsafe:void 0;function u(g,C){if(C)return g.slice();var v=g.length,y=c?c(v):new g.constructor(v);return g.copy(y),y}e.exports=u}(u2,u2.exports);var hF=u2.exports,gF=Ti,vF=gF.Uint8Array,mF=vF,zf=mF;function bF(e){var t=new e.constructor(e.byteLength);return new zf(t).set(new zf(e)),t}var CF=bF,xF=CF;function wF(e,t){var n=t?xF(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var yF=wF;function kF(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var SF=kF,LF=Qr,Gf=Object.create,$F=function(){function e(){}return function(t){if(!LF(t))return{};if(Gf)return Gf(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),MF=$F;function jF(e,t){return function(n){return e(t(n))}}var EF=jF,_F=EF,IF=_F(Object.getPrototypeOf,Object),Yf=IF,TF=Object.prototype;function FF(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||TF;return e===n}var Xf=FF,OF=MF,PF=Yf,HF=Xf;function DF(e){return typeof e.constructor=="function"&&!HF(e)?OF(PF(e)):{}}var AF=DF,RF=ml,VF=P1,BF="[object Arguments]";function NF(e){return VF(e)&&RF(e)==BF}var ZF=NF,Kf=ZF,UF=P1,Jf=Object.prototype,WF=Jf.hasOwnProperty,zF=Jf.propertyIsEnumerable,GF=Kf(function(){return arguments}())?Kf:function(e){return UF(e)&&WF.call(e,"callee")&&!zF.call(e,"callee")},qf=GF,YF=Array.isArray,Qf=YF,XF=9007199254740991;function KF(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=XF}var e9=KF,JF=y4,qF=e9;function QF(e){return e!=null&&qF(e.length)&&!JF(e)}var $4=QF,eO=$4,tO=P1;function nO(e){return tO(e)&&eO(e)}var rO=nO,f2={exports:{}};function oO(){return!1}var iO=oO;f2.exports,function(e,t){var n=Ti,o=iO,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,c=s?n.Buffer:void 0,u=c?c.isBuffer:void 0,g=u||o;e.exports=g}(f2,f2.exports);var t9=f2.exports,aO=ml,lO=Yf,sO=P1,cO="[object Object]",dO=Function.prototype,uO=Object.prototype,n9=dO.toString,fO=uO.hasOwnProperty,pO=n9.call(Object);function hO(e){if(!sO(e)||aO(e)!=cO)return!1;var t=lO(e);if(t===null)return!0;var n=fO.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&n9.call(n)==pO}var gO=hO,vO=ml,mO=e9,bO=P1,CO="[object Arguments]",xO="[object Array]",wO="[object Boolean]",yO="[object Date]",kO="[object Error]",SO="[object Function]",LO="[object Map]",$O="[object Number]",MO="[object Object]",jO="[object RegExp]",EO="[object Set]",_O="[object String]",IO="[object WeakMap]",TO="[object ArrayBuffer]",FO="[object DataView]",OO="[object Float32Array]",PO="[object Float64Array]",HO="[object Int8Array]",DO="[object Int16Array]",AO="[object Int32Array]",RO="[object Uint8Array]",VO="[object Uint8ClampedArray]",BO="[object Uint16Array]",NO="[object Uint32Array]",Yt={};Yt[OO]=Yt[PO]=Yt[HO]=Yt[DO]=Yt[AO]=Yt[RO]=Yt[VO]=Yt[BO]=Yt[NO]=!0,Yt[CO]=Yt[xO]=Yt[TO]=Yt[wO]=Yt[FO]=Yt[yO]=Yt[kO]=Yt[SO]=Yt[LO]=Yt[$O]=Yt[MO]=Yt[jO]=Yt[EO]=Yt[_O]=Yt[IO]=!1;function ZO(e){return bO(e)&&mO(e.length)&&!!Yt[vO(e)]}var UO=ZO;function WO(e){return function(t){return e(t)}}var zO=WO,p2={exports:{}};p2.exports,function(e,t){var n=N7,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&n.process,c=function(){try{var u=i&&i.require&&i.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=c}(p2,p2.exports);var GO=p2.exports,YO=UO,XO=zO,r9=GO,o9=r9&&r9.isTypedArray,KO=o9?XO(o9):YO,i9=KO;function JO(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var a9=JO,qO=L4,QO=a2,eP=Object.prototype,tP=eP.hasOwnProperty;function nP(e,t,n){var o=e[t];(!(tP.call(e,t)&&QO(o,n))||n===void 0&&!(t in e))&&qO(e,t,n)}var rP=nP,oP=rP,iP=L4;function aP(e,t,n,o){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var c=t[a],u=o?o(n[c],e[c],c,n,e):void 0;u===void 0&&(u=e[c]),i?iP(n,c,u):oP(n,c,u)}return n}var lP=aP;function sP(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var cP=sP,dP=9007199254740991,uP=/^(?:0|[1-9]\d*)$/;function fP(e,t){var n=typeof e;return t=t??dP,!!t&&(n=="number"||n!="symbol"&&uP.test(e))&&e>-1&&e%1==0&&e<t}var l9=fP,pP=cP,hP=qf,gP=Qf,vP=t9,mP=l9,bP=i9,CP=Object.prototype,xP=CP.hasOwnProperty;function wP(e,t){var n=gP(e),o=!n&&hP(e),i=!n&&!o&&vP(e),a=!n&&!o&&!i&&bP(e),s=n||o||i||a,c=s?pP(e.length,String):[],u=c.length;for(var g in e)(t||xP.call(e,g))&&!(s&&(g=="length"||i&&(g=="offset"||g=="parent")||a&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||mP(g,u)))&&c.push(g);return c}var yP=wP;function kP(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var SP=kP,LP=Qr,$P=Xf,MP=SP,jP=Object.prototype,EP=jP.hasOwnProperty;function _P(e){if(!LP(e))return MP(e);var t=$P(e),n=[];for(var o in e)o=="constructor"&&(t||!EP.call(e,o))||n.push(o);return n}var IP=_P,TP=yP,FP=IP,OP=$4;function PP(e){return OP(e)?TP(e,!0):FP(e)}var s9=PP,HP=lP,DP=s9;function AP(e){return HP(e,DP(e))}var RP=AP,c9=Wf,VP=hF,BP=yF,NP=SF,ZP=AF,d9=qf,u9=Qf,UP=rO,WP=t9,zP=y4,GP=Qr,YP=gO,XP=i9,f9=a9,KP=RP;function JP(e,t,n,o,i,a,s){var c=f9(e,n),u=f9(t,n),g=s.get(u);if(g){c9(e,n,g);return}var C=a?a(c,u,n+"",e,t,s):void 0,v=C===void 0;if(v){var y=u9(u),_=!y&&WP(u),M=!y&&!_&&XP(u);C=u,y||_||M?u9(c)?C=c:UP(c)?C=NP(c):_?(v=!1,C=VP(u,!0)):M?(v=!1,C=BP(u,!0)):C=[]:YP(u)||d9(u)?(C=c,d9(c)?C=KP(c):(!GP(c)||zP(c))&&(C=ZP(u))):v=!1}v&&(s.set(u,C),i(C,u,o,a,s),s.delete(u)),c9(e,n,C)}var qP=JP,QP=nF,eH=Wf,tH=pF,nH=qP,rH=Qr,oH=s9,iH=a9;function p9(e,t,n,o,i){e!==t&&tH(t,function(a,s){if(i||(i=new QP),rH(a))nH(e,t,s,n,p9,o,i);else{var c=o?o(iH(e,s),a,s+"",e,t,i):void 0;c===void 0&&(c=a),eH(e,s,c)}},oH)}var aH=p9;function lH(e){return e}var h9=lH;function sH(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var cH=sH,dH=cH,g9=Math.max;function uH(e,t,n){return t=g9(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=g9(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),dH(e,this,c)}}var fH=uH;function pH(e){return function(){return e}}var hH=pH,gH=hH,v9=Zf,vH=h9,mH=v9?function(e,t){return v9(e,"toString",{configurable:!0,enumerable:!1,value:gH(t),writable:!0})}:vH,bH=mH,CH=800,xH=16,wH=Date.now;function yH(e){var t=0,n=0;return function(){var o=wH(),i=xH-(o-n);if(n=o,i>0){if(++t>=CH)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var kH=yH,SH=bH,LH=kH,$H=LH(SH),MH=$H,jH=h9,EH=fH,_H=MH;function IH(e,t){return _H(EH(e,t,jH),e+"")}var TH=IH,FH=a2,OH=$4,PH=l9,HH=Qr;function DH(e,t,n){if(!HH(n))return!1;var o=typeof t;return(o=="number"?OH(n)&&PH(t,n.length):o=="string"&&t in n)?FH(n[t],e):!1}var AH=DH,RH=TH,VH=AH;function BH(e){return RH(function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,s&&VH(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o<i;){var c=n[o];c&&e(t,c,o,a)}return t})}var NH=BH,ZH=aH,UH=NH,WH=UH(function(e,t,n){ZH(e,t,n)}),zH=WH;const M4=Ga(zH),m9={button:{basic:{size:{icon:{height:"0.75rem",width:"0.75rem"}},color:{primary:{background:{default:"#FFC029",hover:"lch(89.3 45.8 82.1)",active:"lch(82.6 42.4 82.1)"},text:{default:"#151515"},stroke:{default:"#FFC029",hover:"lch(89.3 45.8 82.1)",active:"lch(82.6 42.4 82.1)"}},secondary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"lch(83.8 2.3 258)"},text:{default:"#161517"}},danger:{background:{default:"#ffdddd",hover:"#ff9898",active:"lch(78 26.3 22)"},text:{default:"#c10000"}},empty:{text:{default:"#C78F0F",hover:"#C78F0F",active:"#C78F0F",disabled:"#a0a0a0"},background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"}},disabled:{background:{default:"#dfdfdf"},text:{default:"#a0a0a0"}}}},iconButton:{size:{small:"0.75rem",medium:"1rem",large:"1.25rem"},color:{primary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"rgb(86.8% 87.2% 88.2%)"},text:{default:"#161517",hover:"#161517",active:"#161517"}},secondary:{background:{default:"#FFC029",hover:"lch(89.3 45.8 82.1)",active:"lch(78.5 40.3 82.1)"},stroke:{default:"rgba(0,0,0,0)",hover:"lch(89.3 45.8 82.1)",active:"lch(78.5 40.3 82.1)"},text:{default:"#151515",hover:"#151515",active:"#151515"}},disabled:{background:{default:"#dfdfdf"},text:{default:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ff9898",active:"#ffbaba"},text:{default:"#c10000",hover:"#c10000",active:"#c10000"},stroke:{default:"#ffdddd",hover:"#ff9898",active:"lch(78 26.3 22)"}},ghost:{background:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgb(0% 0% 0% / 0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"}},info:{background:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"},text:{default:"#135be6",hover:"#135be6",active:"#135be6"},stroke:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"}}}},split:{primary:{background:{main:{default:"#FFC029",hover:"lch(81.7 41.9 82.1)",active:"lch(75.6 38.8 82.1)",disabled:"lch(81.3 0 0)"},action:{default:"lch(77.8 74.1 79.3)",hover:"lch(77.6 39.8 82.1)",active:"lch(69.2 35.5 82.1)",disabled:"lch(74.4 0 0)"}},text:{default:"#151515",hover:"#151515",active:"#151515",disabled:"#a0a0a0"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},divide:{default:"lch(68.1 64.8 79.3)",hover:"lch(71.5 36.7 82.1)",active:"lch(66.1 33.9 82.1)",disabled:"lch(71.1 0 0)"}},secondary:{divide:{default:"lch(92 1.05 266)",hover:"lch(79.8 35.8 82.1)",active:"lch(69.6 66.3 79.3)",disabled:"lch(75.5 0 0)"},background:{main:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},action:{default:"#f6f7fa",hover:"lch(94.8 1.53 272)",active:"lch(92.9 1.5 272)",disabled:"lch(77.2 0 0)"}},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(84 2.28 258)",disabled:"rgba(0,0,0,0)"}}},mobile:{basic:{size:{icon:{all:"1.25rem"}}}},group:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(97.3 1.53 272)",disabled:"#dfdfdf","disabled-active":"lch(71.1 0 0)",panel:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#ffffff",disabled:"#a0a0a0","disabled-active":"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)","disabled-active":"rgba(0,0,0,0)",panel:"lch(91.6 1.1 266)"},panel:{stroke:{default:"lch(91.6 1.1 266)"}}}},alignedLeft:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"#cccfd3"},text:{default:"#161517",hover:"#161517",active:"#161517"}}}},card:{secondary:{color:{link:{default:"#161517",hover:"#C78F0F",active:"#161517",disabled:"#a0a0a0"}}},primary:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(92.4 1.49 272)",disabled:"#dfdfdf"},title:{default:"lch(10.2 1.39 305)",hover:"lch(10.2 1.39 305)",active:"lch(10.2 1.39 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},horizontal:{default:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(10.2 1.39 305)",hover:"lch(10.2 1.39 305)",active:"lch(10.2 1.39 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},muted:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(10.2 1.39 305)",hover:"lch(10.2 1.39 305)",active:"lch(10.2 1.39 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}}},promotion:{color:{text:{default:"#161517",hover:"#161517",active:"#161517"},icon:{default:"#161517",hover:"#161517",active:"#161517"},background:{default:"lch(97.2 1.57 272 / 0.9)",hover:"lch(91.8 1.07 266)",active:"lch(89.3 1.07 266)"},stroke:{default:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",hover:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",active:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",focus:"#151515"}}}},sidebar:{main:{color:{background:{default:"#2f2c3a"},text:{default:"#ffffff",muted:"#ada8bd"},stroke:{default:"#474257"}},navigation:{item:{color:{background:{active:"lch(38.8 16.8 296 / 0.6)",hover:"lch(40.9 16.2 296)",default:"rgba(0,0,0,0)"},text:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff",muted:"#696e79"},icon:{default:"#e4e2e9"}},background:{default:"rgba(0,0,0,0)",active:"#474257",hover:"#f6f7fa"},text:{default:"#ffffff",muted:"#ada8bd"}},title:{color:{default:"#ada8bd",hover:"#ada8bd",active:"#ada8bd"}},subItem:{color:{text:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff"},background:{default:"rgba(0,0,0,0)",hover:"lch(40.9 16.2 296)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#FFC029"}}}}},sqlSidebar:{color:{background:{default:"#f6f7fa"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#151515",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}}},stepper:{vertical:{numbered:{connector:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#1F1F1C"},icon:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}},bulleted:{connector:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#ffffff"},icon:{incomplete:"#ffffff",complete:"#1F1F1C",active:"#ffffff"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}}}},tabs:{basic:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"#FFC029"},global:{default:"lch(91.6 1.1 266)"}}},fileTabs:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(91.6 1.1 266)"}}}},dialog:{typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},flyout:{typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#ffffff"},title:{default:"lch(10.2 1.39 305)"},description:{default:"#696e79"},opaqueBackground:{default:"lch(6.77 0 0 / 0.45)"},stroke:{default:"lch(91.6 1.1 266)"}}},grid:{header:{cell:{color:{background:{default:"#f6f7fa",selectIndirect:"lch(99.6 3.76 101)",selectDirect:"lch(97.5 12 97.4)"},title:{default:"#696e79",selectIndirect:"#161517",selectDirect:"#161517"},stroke:{default:"lch(89.3 1.07 266)",selectIndirect:"lch(92.8 31.1 85.9)",selectDirect:"lch(90.9 28.1 85.9)"}}}},body:{cell:{color:{background:{default:"#ffffff",selectIndirect:"lch(99.4 8.48 102 / 0.2)",selectDirect:"lch(99.4 8.48 102 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)",selectIndirect:"lch(74.1 25.6 85.9)",selectDirect:"#FFC029"},text:{default:"lch(7.17 1.44 305)",selectIndirect:"#161517",selectDirect:"#161517"}}}},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},global:{color:{text:{link:{default:"#C78F0F",hover:"#C78F0F"}},title:{default:"lch(10.2 1.39 305)",muted:"#696e79"}}},storybook:{global:{background:"#ffffff"}},chart:{bars:{color:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}}}},b9="classic",C9={color:{background:{default:"#ffffff",muted:"#f6f7fa",sidebar:"#2f2c3a",split:"#ffffff"},text:{default:"#161517",muted:"#696e79",link:{default:"#C78F0F",hover:"#C78F0F"}},stroke:{default:"lch(91.6 1.1 266 / 0.3)",muted:"lch(91.6 1.1 266 / 0.3)",intense:"#b3b6bd",split:"#ffffff"},accent:{default:"#FFC029"},outline:{default:"#C78F0F"},shadow:{default:"lch(6.77 0 0 / 0.15)"},feedback:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#e6e7e9",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}},chart:{bars:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}},iconButton:{badge:{foreground:"#1d1d1d",background:"#FFC029"}}}},GH=Object.freeze(Object.defineProperty({__proto__:null,click:m9,default:{click:m9,name:b9,global:C9},global:C9,name:b9},Symbol.toStringTag,{value:"Module"})),x9={accordion:{color:{default:{label:{default:"#ffffff",hover:"lch(100 0 0)",active:"#ffffff"},icon:{default:"#ffffff",hover:"lch(100 0 0)",active:"#ffffff"}},link:{label:{default:"#FAFF69",hover:"#feffba",active:"#FAFF69"},icon:{default:"#FAFF69",hover:"lch(98.8 31.4 104)",active:"#FAFF69"}}}},alert:{color:{background:{default:"#1F1F1C",success:"#004206",neutral:"#414141",danger:"#610000",warning:"#4f2b00",info:"#09255B"},text:{default:"#b3b6bd",success:"#CCFFD0",neutral:"#c0c0c0",danger:"#ffbaba",warning:"#ffca8b",info:"#b5cdf9"},iconBackground:{default:"#1F1F1C",success:"#004206",neutral:"#414141",danger:"#610000",warning:"#4f2b00",info:"#09255B"},iconForeground:{default:"#b3b6bd",success:"lch(95.6 28.9 144 / 0.75)",neutral:"lch(77.7 0 0 / 0.75)",danger:"lch(82.1 27.7 22 / 0.75)",warning:"lch(85.1 41.3 70.5 / 0.75)",info:"lch(81.7 24.6 268 / 0.75)"}}},avatar:{color:{background:{default:"#696e79",hover:"#53575f",active:"#53575f"},text:{default:"#1F1F1C",hover:"#1F1F1C",active:"#1F1F1C"}}},badge:{color:{background:{default:"#1F1F1C",success:"#004206",neutral:"#414141",danger:"#610000",disabled:"#414141",info:"#09255B",warning:"#4f2b00"},text:{default:"#b3b6bd",success:"#CCFFD0",neutral:"#c0c0c0",danger:"#ffbaba",disabled:"#808080",info:"#b5cdf9",warning:"#ffca8b"},stroke:{default:"lch(27.5 0 0 / 0.3)",success:"#004206",neutral:"#414141",danger:"#610000",disabled:"lch(26.2 0 0)",info:"#09255B",warning:"#4f2b00"}}},bigStat:{color:{stroke:{default:"lch(27.5 0 0 / 0.3)",muted:"lch(27.5 0 0 / 0.3)"},background:{default:"#1F1F1C",muted:"#282828"},label:{default:"#b3b6bd",muted:"#b3b6bd"},title:{default:"lch(97.5 0 0)",muted:"lch(97.5 0 0)"}}},button:{basic:{color:{primary:{background:{default:"#FAFF69",hover:"lch(98.3 49.3 103)",active:"lch(90.2 65.2 103)",disabled:"#414141"},text:{default:"#1F1F1C",hover:"#1F1F1C",active:"#1F1F1C",disabled:"#808080"},stroke:{default:"#FAFF69",hover:"#FAFF69",active:"lch(82.5 59.7 103)",disabled:"#414141"}},secondary:{background:{default:"#1F1F1C",hover:"#282828",active:"lch(20.3 0 0)",disabled:"#414141"},stroke:{default:"#414141",hover:"#53575f",active:"lch(23.3 2.63 306)",disabled:"#414141"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#808080"}},danger:{background:{default:"#610000",hover:"#910000",active:"lch(28.6 65.8 40)",disabled:"#414141"},text:{default:"#ffbaba",hover:"#ffbaba",active:"#ffbaba",disabled:"#808080"},stroke:{default:"#610000",hover:"#910000",active:"lch(28.6 65.8 40)",disabled:"#414141"}},empty:{text:{default:"#FAFF69",hover:"#feffba",active:"#FAFF69",disabled:"#a0a0a0"},background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"}}}},iconButton:{color:{primary:{background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"rgb(14.1% 14.1% 14.1%)"},stroke:{default:"rgba(0,0,0,0)",hover:"#282828",active:"rgb(14.1% 14.1% 14.1%)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}},secondary:{background:{default:"#FAFF69",hover:"lch(98.3 49.3 103)",active:"lch(85.7 61.9 103)"},stroke:{default:"rgba(0,0,0,0)",hover:"lch(98.3 49.3 103)",active:"lch(85.7 61.9 103)"},text:{default:"#1F1F1C",hover:"#1F1F1C",active:"#1F1F1C"}},disabled:{background:{default:"#414141"},text:{default:"#808080"}},danger:{background:{default:"#610000",hover:"#ff9898",active:"#ffbaba"},text:{default:"#ffbaba",hover:"#ffbaba",active:"#ffbaba"},stroke:{default:"#610000",hover:"#910000",active:"lch(28.6 65.8 40)"}},ghost:{background:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgb(0% 0% 0% / 0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)"},text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"}},info:{background:{default:"#09255B",hover:"#0e44ad",active:"#135be6"},text:{default:"#b5cdf9",hover:"#b5cdf9",active:"#b5cdf9"},stroke:{default:"#09255B",hover:"#0e44ad",active:"#135be6"}}}},split:{primary:{background:{main:{default:"#FAFF69",hover:"lch(89.9 45.1 103)",active:"lch(82.5 59.7 103)",disabled:"lch(25.2 0 0)"},action:{default:"lch(87.8 63.4 103)",hover:"lch(82.7 41.5 103)",active:"lch(72.6 52.5 103)",disabled:"lch(22.2 0 0)"}},text:{default:"#1F1F1C",hover:"#1F1F1C",active:"#1F1F1C",disabled:"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},divide:{default:"lch(85.4 61.7 103)",hover:"lch(78.7 39.5 103)",active:"lch(72.2 52.2 103)",disabled:"lch(23.1 0 0)"}},secondary:{divide:{default:"lch(31.2 0 0)",hover:"lch(34.8 0 0)",active:"lch(24.1 2.6 306)",disabled:"lch(23.4 0 0)"},background:{main:{default:"#1F1F1C",hover:"#282828",active:"lch(20.3 0 0)",disabled:"#414141"},action:{default:"#282828",hover:"lch(18.2 0 0)",active:"lch(21.1 0 0)",disabled:"lch(23.9 0 0)"}},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#808080"},stroke:{default:"#414141",hover:"#414141",active:"lch(24.1 2.6 306)",disabled:"rgba(0,0,0,0)"}}},group:{color:{background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"lch(18.2 0 0)",disabled:"#414141","disabled-active":"lch(22 0 0)",panel:"rgba(0,0,0,0)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#808080","disabled-active":"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)","disabled-active":"rgba(0,0,0,0)",panel:"lch(27.5 0 0 / 0.3)"},panel:{stroke:{default:"lch(27.5 0 0 / 0.3)",borderless:"rgba(0,0,0,0)"}}}},alignedLeft:{color:{background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"lch(15.8 0 0)"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"#53575f",active:"lch(23.3 2.63 306)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}}}},card:{secondary:{color:{background:{default:"#1F1F1C",hover:"#282828",active:"lch(15.3 0 0)",disabled:"#414141"},title:{default:"lch(97.5 0 0)",hover:"lch(97.5 0 0)",active:"lch(97.5 0 0)",disabled:"#808080"},description:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#808080"},link:{default:"#ffffff",hover:"#FAFF69",active:"#ffffff",disabled:"#808080"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"lch(26.1 0 0 / 0.3)",disabled:"#414141"}}},primary:{color:{background:{default:"#1F1F1C",hover:"#282828",active:"lch(15.3 0 0)",disabled:"#414141"},title:{default:"lch(97.5 0 0)",hover:"lch(97.5 0 0)",active:"lch(97.5 0 0)",disabled:"#808080"},description:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#808080"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"#FAFF69",disabled:"#414141"}}},horizontal:{default:{color:{background:{default:"#1F1F1C",hover:"#282828",active:"#282828",disabled:"#414141"},title:{default:"lch(97.5 0 0)",hover:"lch(97.5 0 0)",active:"lch(97.5 0 0)",disabled:"#808080"},description:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#808080"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"#FAFF69",disabled:"#414141"}}},muted:{color:{background:{default:"#282828",hover:"#1F1F1C",active:"#282828",disabled:"#414141"},title:{default:"lch(97.5 0 0)",hover:"lch(97.5 0 0)",active:"lch(97.5 0 0)",disabled:"#808080"},description:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#808080"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"#FAFF69",disabled:"#414141"}}}},promotion:{color:{text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"},icon:{default:"#FAFF69",hover:"#FAFF69",active:"#FAFF69"},background:{default:"lch(16.1 0 0 / 0.9)",hover:"lch(18.2 0 0 / 0.9)",active:"lch(20.2 0 0 / 0.9)"},stroke:{default:"linear-gradient(174deg, #FAFF69 8.31%, #2C2E31 22.92%)",hover:"linear-gradient(174deg, #FAFF69 8.31%, #2C2E31 22.92%)",active:"linear-gradient(174deg, #FAFF69 8.31%, #2C2E31 22.92%)",focus:"#FAFF69"}}}},checkbox:{color:{background:{default:"lch(18.2 0 0)",hover:"lch(18.2 0 0)",active:"#FAFF69",disabled:"#414141"},stroke:{default:"#414141",hover:"#414141",active:"#FAFF69",disabled:"#606060"},check:{default:"#ffffff",hover:"#ffffff",active:"#151515",disabled:"#808080"},label:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},codeblock:{darkMode:{color:{background:{default:"#282828"},text:{default:"#ffffff"},numbers:{default:"#c0c0c0"},button:{background:{default:"#282828",hover:"#53575f"},foreground:{default:"#ffffff"}},stroke:{default:"#282828"}}},lightMode:{color:{background:{default:"#f6f7fa"},text:{default:"#282828"},numbers:{default:"#808080"},button:{background:{default:"#f6f7fa",hover:"#53575f"},foreground:{default:"#a0a0a0"}},stroke:{default:"#282828"}}},monacoTheme:{parameter:{foreground:"#c0c0c0",background:"#414141"}}},codeInline:{color:{background:{default:"#282828"},text:{default:"#ffffff"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}},field:{color:{background:{default:"lch(18.2 0 0)",hover:"lch(20.2 0 0)",active:"lch(20.2 0 0)",disabled:"#414141",error:"lch(20.2 0 0)"},text:{default:"#e6e7e9",hover:"#e6e7e9",active:"#ffffff",disabled:"#808080",error:"#ffbaba"},stroke:{default:"lch(31.1 0 0 / 0.3)",hover:"lch(34.5 0 0 / 0.3)",active:"#FAFF69",disabled:"#414141",error:"#ffbaba"},label:{default:"#b3b6bd",hover:"#b3b6bd",active:"#ffffff",disabled:"#a0a0a0",error:"#ffbaba"},format:{default:"lch(79.2 3.16 269)",hover:"lch(79.2 3.16 269)",active:"lch(79.2 3.16 269)",disabled:"#808080",error:"lch(79.2 3.16 269)"},genericLabel:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},genericMenu:{item:{color:{text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#c0c0c0",muted:"#b3b6bd"},background:{default:"#282828",hover:"lch(23.5 0 0)",active:"#282828",disabled:"#414141"},format:{default:"lch(79.2 3.16 269)",hover:"lch(79.2 3.16 269)",active:"lch(79.2 3.16 269)",disabled:"#808080",error:"lch(79.2 3.16 269)"},stroke:{default:"lch(27.5 0 0 / 0.3)"},subtext:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd",disabled:"#c0c0c0"}}},button:{color:{background:{default:"#282828"},label:{default:"#b3b6bd"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}},panel:{color:{background:{default:"#282828"},stroke:{default:"#414141"}}},autocomplete:{color:{placeholder:{default:"#b3b6bd"},searchTerm:{default:"#ffffff"},background:{default:"#282828"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}}},image:{color:{stroke:"#ffffff"}},panel:{color:{background:{default:"#1F1F1C",muted:"#282828",transparent:"rgba(0,0,0,0)"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}},popover:{color:{panel:{background:{default:"#282828"},stroke:{default:"#414141"}}}},radio:{color:{background:{default:"lch(18.2 0 0)",hover:"lch(18.2 0 0)",active:"#FAFF69",disabled:"#414141"},stroke:{default:"#414141",hover:"#414141",active:"#151515",disabled:"#606060"},indicator:{default:"#1F1F1C",hover:"lch(18.2 0 0)",active:"#151515",disabled:"#808080"}}},separator:{color:{stroke:{default:"lch(27.5 0 0 / 0.3)"}}},sidebar:{main:{color:{background:{default:"#1F1F1C"},text:{default:"#ffffff",muted:"#b3b6bd"},stroke:{default:"lch(27.5 0 0 / 0.3)"}},navigation:{item:{color:{background:{active:"lch(27.5 0 0 / 0.6)",hover:"lch(19.1 0 0)",default:"rgba(0,0,0,0)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",muted:"#b3b6bd"},icon:{default:"#b3b6bd"}}},title:{color:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd"}},subItem:{color:{text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"},background:{default:"rgba(0,0,0,0)",hover:"lch(19.1 0 0)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#FAFF69"}}}}},sqlSidebar:{color:{background:{default:"#282828"},stroke:{default:"lch(27.5 0 0 / 0.3)"}},navigation:{item:{color:{background:{active:"lch(27.5 0 0 / 0.6)",hover:"lch(19.1 0 0)",default:"rgba(0,0,0,0)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",muted:"#b3b6bd"},icon:{default:"#b3b6bd"}}},title:{color:{default:"#b3b6bd",hover:"#b3b6bd",active:"#b3b6bd"}},subItem:{color:{text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"},background:{default:"rgba(0,0,0,0)",hover:"lch(19.1 0 0)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#FAFF69"}}}}}},stepper:{vertical:{numbered:{connector:{color:{stroke:{incomplete:"#606060",complete:"#ffffff",active:"#606060"}}},step:{color:{stroke:{incomplete:"#606060",complete:"#ffffff",active:"#ffffff"},background:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"},icon:{incomplete:"#ffffff",complete:"#ffffff",active:"#1F1F1C"}}},color:{title:{incomplete:"#606060",complete:"#b3b6bd",active:"#ffffff"}}},bulleted:{connector:{color:{stroke:{incomplete:"#606060",complete:"#ffffff",active:"#606060"}}},step:{color:{stroke:{incomplete:"#606060",complete:"#ffffff",active:"#ffffff"},background:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"},icon:{incomplete:"#1F1F1C",complete:"#ffffff",active:"#ffffff"}}},color:{title:{incomplete:"#606060",complete:"#b3b6bd",active:"#ffffff"}}}}},switch:{color:{background:{default:"#606060",active:"#FAFF69",disabled:"#808080"},stroke:{default:"#606060",active:"#FAFF69",disabled:"#808080"},indicator:{default:"#151515",active:"#161517",disabled:"#606060"}}},table:{header:{color:{background:{default:"#282828",hover:"#282828",active:"lch(18.2 0 0)"},title:{default:"lch(97.5 0 0)"},icon:{default:"#ffffff"},checkbox:{background:{default:"#cccfd3"},border:{default:"#808691"}}}},row:{color:{background:{default:"#1F1F1C",hover:"#1F1F1C",active:"lch(13.9 2.07 105)"},stroke:{default:"lch(27.5 0 0 / 0.3)"},text:{default:"#ffffff"},link:{default:"#FAFF69"},label:{default:"#b3b6bd"}}},global:{color:{stroke:{default:"lch(27.5 0 0 / 0.3)"},background:{default:"#1F1F1C"}}}},tabs:{basic:{color:{background:{default:"rgba(0,0,0,0)",hover:"#282828",active:"rgba(0,0,0,0)"},text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"#FAFF69"},global:{default:"lch(27.5 0 0 / 0.3)"}}},fileTabs:{color:{background:{default:"#1F1F1C",hover:"#282828",active:"#282828"},text:{default:"#b3b6bd",hover:"#ffffff",active:"#ffffff"},stroke:{default:"lch(27.5 0 0 / 0.3)",hover:"lch(27.5 0 0 / 0.3)",active:"lch(27.5 0 0 / 0.3)"},closeButton:{background:{default:"rgba(0,0,0,0)",hover:"#414141"}}}}},toast:{color:{title:{default:"lch(97.5 0 0)"},description:{default:"#b3b6bd"},stroke:{default:"#414141"},icon:{default:"lch(97.5 0 0)",success:"#CCFFD0",warning:"#ffca8b",danger:"#ffbaba"}}},tooltip:{color:{background:{default:"lch(16.1 0 0 / 0.95)"},label:{default:"#ffffff"}}},dialog:{color:{background:{default:"#1F1F1C"},title:{default:"lch(97.5 0 0)"},description:{default:"#b3b6bd"},opaqueBackground:{default:"lch(40.7 0 0 / 0.75)"}}},flyout:{color:{background:{default:"#282828"},title:{default:"lch(97.5 0 0)"},description:{default:"#b3b6bd"},opaqueBackground:{default:"lch(6.77 0 0 / 0.45)"},stroke:{default:"lch(27.5 0 0 / 0.3)"}}},grid:{header:{cell:{color:{background:{default:"#282828",selectIndirect:"lch(19.5 0 0)",selectDirect:"lch(27.3 0 0)"},title:{default:"#b3b6bd",selectIndirect:"#ffffff",selectDirect:"#ffffff"},stroke:{default:"lch(26.8 0 0 / 0.3)",selectIndirect:"lch(26.8 0 0)",selectDirect:"lch(29.4 0 0)"}}}},body:{cell:{color:{background:{default:"#1F1F1C",selectIndirect:"lch(15.8 0 0)",selectDirect:"lch(15.8 0 0)"},stroke:{default:"lch(27.5 0 0 / 0.3)",selectIndirect:"lch(22 0 0)",selectDirect:"#FAFF69"},text:{default:"lch(100 0 0)",selectIndirect:"#ffffff",selectDirect:"#ffffff"}}}},global:{color:{stroke:{default:"lch(27.5 0 0 / 0.3)"},background:{default:"#1F1F1C"}}}},global:{color:{background:{default:"#1F1F1C",muted:"#282828"},text:{default:"#ffffff",muted:"#b3b6bd",link:{default:"#FAFF69",hover:"#feffba"}},stroke:{default:"lch(27.5 0 0 / 0.3)",muted:"lch(27.5 0 0 / 0.3)",intense:"#414141"},accent:{default:"#FAFF69"},outline:{default:"#FAFF69"},shadow:{default:"lch(6.77 0 0 / 0.6)"},title:{default:"lch(97.5 0 0)",muted:"#b3b6bd"}}},feedback:{color:{info:{background:"#09255B",foreground:"#b5cdf9"},success:{background:"#004206",foreground:"#CCFFD0"},warning:{background:"#4f2b00",foreground:"#ffca8b"},danger:{background:"#610000",foreground:"#ffbaba"},neutral:{background:"#414141",foreground:"#c0c0c0",stroke:"lch(27.5 0 0 / 0.3)"}}},storybook:{global:{background:"rgb(27,28,29)"}},chart:{bars:{color:{green:"#66FF73",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#FAFF69",violet:"#BB33FF",teal:"#66FFE5"}}}},w9="dark",y9={color:{background:{default:"#1F1F1C",muted:"#282828",sidebar:"#1F1F1C",split:"#282828"},text:{default:"#ffffff",muted:"#b3b6bd",link:{default:"#FAFF69",hover:"#feffba"}},stroke:{default:"lch(27.5 0 0 / 0.3)",muted:"lch(27.5 0 0 / 0.3)",intense:"#414141",split:"#414141"},accent:{default:"#FAFF69"},outline:{default:"#FAFF69"},shadow:{default:"lch(6.77 0 0 / 0.6)"},feedback:{info:{background:"#09255B",foreground:"#b5cdf9"},success:{background:"#004206",foreground:"#CCFFD0"},warning:{background:"#4f2b00",foreground:"#ffca8b"},danger:{background:"#610000",foreground:"#ffbaba"},neutral:{background:"#414141",foreground:"#f9f9f9",stroke:"lch(27.5 0 0 / 0.3)"}},chart:{bars:{green:"#66FF73",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#FAFF69",violet:"#BB33FF",teal:"#66FFE5"}},iconButton:{badge:{foreground:"#1d1d1d",background:"#FAFF69"}}}},YH=Object.freeze(Object.defineProperty({__proto__:null,click:x9,default:{click:x9,name:w9,global:y9},global:y9,name:w9},Symbol.toStringTag,{value:"Module"})),k9={accordion:{color:{default:{label:{default:"#161517",hover:"lch(13.9 1.33 305)",active:"#161517"},icon:{default:"#161517",hover:"lch(13.9 1.33 305)",active:"#161517"}},link:{label:{default:"#135be6",hover:"#092e73",active:"#135be6"},icon:{default:"#135be6",hover:"lch(26.3 42.1 284)",active:"#135be6"}}}},alert:{color:{background:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",warning:"#ffedd8",info:"#dae6fc"},text:{default:"#696e79",success:"#00990D",neutral:"#53575f",danger:"#c10000",warning:"#9e5600",info:"#135be6"},iconBackground:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",warning:"#ffedd8",info:"#dae6fc"},iconForeground:{default:"#696e79",success:"lch(54.9 75.8 135 / 0.75)",neutral:"lch(36.8 5.23 267 / 0.75)",danger:"lch(41 86.6 40.9 / 0.75)",warning:"lch(44.6 59.8 63.2 / 0.75)",info:"lch(41.9 80.9 287 / 0.75)"}}},avatar:{color:{background:{default:"#696e79",hover:"#9a9ea7",active:"#9a9ea7"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}}},badge:{color:{background:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",disabled:"#dfdfdf",info:"#dae6fc",warning:"#ffedd8"},text:{default:"#696e79",success:"#00990D",neutral:"#53575f",danger:"#c10000",disabled:"#a0a0a0",info:"#135be6",warning:"#9e5600"},stroke:{default:"lch(91.6 1.1 266)",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",disabled:"lch(84.4 0 0)",info:"#dae6fc",warning:"#ffedd8"}}},bigStat:{color:{stroke:{default:"lch(91.6 1.1 266)",muted:"lch(91.6 1.1 266)"},background:{default:"#ffffff",muted:"#f6f7fa"},label:{default:"#696e79",muted:"#696e79"},title:{default:"lch(11.1 1.37 305)",muted:"lch(11.1 1.37 305)"}}},button:{basic:{color:{primary:{background:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.42 1.33 305)",disabled:"#dfdfdf"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},stroke:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.42 1.33 305)",disabled:"#dfdfdf"}},secondary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"lch(83.8 2.3 258)",disabled:"#dfdfdf"},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)",disabled:"#dfdfdf"},text:{default:"#c10000",hover:"#c10000",active:"#c10000",disabled:"#a0a0a0"},stroke:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)",disabled:"#dfdfdf"}},empty:{text:{default:"#135be6",hover:"#092e73",active:"#135be6",disabled:"#a0a0a0"},background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"}}}},iconButton:{color:{primary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},stroke:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},text:{default:"#161517",hover:"#161517",active:"#161517"}},secondary:{background:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.1 1.26 305)"},stroke:{default:"rgba(0,0,0,0)",hover:"lch(29.5 4.18 267)",active:"lch(6.1 1.26 305)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}},disabled:{background:{default:"#dfdfdf"},text:{default:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)"},text:{default:"#c10000",hover:"#c10000",active:"#c10000"},stroke:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)"}},ghost:{background:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgb(0% 0% 0% / 0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"}},info:{background:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"},text:{default:"#135be6",hover:"#135be6",active:"#135be6"},stroke:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"}}}},split:{primary:{background:{main:{default:"#302e32",hover:"lch(27 3.82 267)",active:"lch(5.87 1.22 305)",disabled:"lch(81.3 0 0)"},action:{default:"lch(6.24 1.29 305)",hover:"lch(25.6 3.63 267)",active:"lch(3.47 0.72 305)",disabled:"lch(77.2 0 0)"}},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},divide:{default:"lch(23.3 2.63 306)",hover:"lch(33 3.27 267)",active:"lch(16.4 2.36 306)",disabled:"lch(75.5 0 0)"}},secondary:{divide:{default:"lch(92 1.05 266)",hover:"lch(92.4 0.99 266)",active:"lch(83.8 2.3 258)",disabled:"lch(75.5 0 0)"},background:{main:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},action:{default:"#f6f7fa",hover:"lch(94.8 1.53 272)",active:"lch(92.9 1.5 272)",disabled:"lch(77.2 0 0)"}},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(84 2.28 258)",disabled:"rgba(0,0,0,0)"}}},group:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(97.3 1.53 272)",disabled:"#dfdfdf","disabled-active":"lch(71.1 0 0)",panel:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0","disabled-active":"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)","disabled-active":"rgba(0,0,0,0)",panel:"lch(91.6 1.1 266)"},panel:{stroke:{default:"lch(91.6 1.1 266)",borderless:"rgba(0,0,0,0)"}}}},alignedLeft:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"#cccfd3"},text:{default:"#161517",hover:"#161517",active:"#161517"}}}},card:{secondary:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(92.4 1.49 272)",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},link:{default:"#161517",hover:"#135be6",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(87 1.05 266)",disabled:"#dfdfdf"}}},primary:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(95 0 0)",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},horizontal:{default:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},muted:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}}},promotion:{color:{text:{default:"#161517",hover:"#161517",active:"#161517"},icon:{default:"#161517",hover:"#161517",active:"#161517"},background:{default:"lch(97.2 1.57 272 / 0.9)",hover:"lch(91.8 1.07 266)",active:"lch(89.8 1.08 266)"},stroke:{default:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",hover:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",active:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",focus:"#151515"}}}},checkbox:{color:{background:{default:"#f6f7fa",hover:"#f6f7fa",active:"#161517",disabled:"#dfdfdf"},stroke:{default:"#b3b6bd",hover:"#b3b6bd",active:"#161517",disabled:"#c0c0c0"},check:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},codeblock:{darkMode:{color:{background:{default:"#282828"},text:{default:"#ffffff"},numbers:{default:"#c0c0c0"},button:{background:{default:"#282828",hover:"#53575f"},foreground:{default:"#ffffff"}},stroke:{default:"#282828"}}},lightMode:{color:{background:{default:"#f6f7fa"},text:{default:"#282828"},numbers:{default:"#808080"},button:{background:{default:"#f6f7fa",hover:"#53575f"},foreground:{default:"#a0a0a0"}},stroke:{default:"#282828"}}},monacoTheme:{parameter:{foreground:"#53575f",background:"#e6e7e9"}}},codeInline:{color:{background:{default:"#f6f7fa"},text:{default:"#161517"},stroke:{default:"lch(91.6 1.1 266)"}}},field:{color:{background:{default:"lch(97.3 1.53 272)",hover:"lch(97.3 1.53 272)",active:"#ffffff",disabled:"#dfdfdf",error:"#ffffff"},text:{default:"#302e32",hover:"#302e32",active:"#161517",disabled:"#a0a0a0",error:"#c10000"},stroke:{default:"lch(92 1.05 266)",hover:"lch(83.8 2.3 258)",active:"#161517",disabled:"#dfdfdf",error:"#c10000"},label:{default:"#696e79",hover:"#696e79",active:"#161517",disabled:"#a0a0a0",error:"#c10000"},format:{default:"lch(57 5.46 269)",hover:"lch(57 5.46 269)",active:"lch(57 5.46 269)",disabled:"#a0a0a0",error:"lch(57 5.46 269)"},genericLabel:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},placeholder:{default:"#696e79"}}},genericMenu:{item:{color:{text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#c0c0c0",muted:"#696e79"},background:{default:"#ffffff",hover:"lch(97.5 1.43 272)",active:"#ffffff",disabled:"#ffffff"},format:{default:"lch(57 5.46 269)",hover:"lch(57 5.46 269)",active:"lch(57 5.46 269)",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)"},subtext:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#c0c0c0"}}},button:{color:{background:{default:"#f6f7fa"},label:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}}},panel:{color:{background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}},autocomplete:{color:{placeholder:{default:"#696e79"},searchTerm:{default:"#161517"},background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}}},image:{color:{stroke:"#161517"}},panel:{color:{background:{default:"#ffffff",muted:"#f6f7fa",transparent:"rgba(0,0,0,0)"},stroke:{default:"lch(91.6 1.1 266)"}}},popover:{color:{panel:{background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}}},radio:{color:{background:{default:"#f6f7fa",hover:"#f6f7fa",active:"#161517",disabled:"#dfdfdf"},stroke:{default:"#b3b6bd",hover:"#b3b6bd",active:"#151515",disabled:"#c0c0c0"},indicator:{default:"#ffffff",hover:"#f6f7fa",active:"#ffffff",disabled:"#a0a0a0"}}},separator:{color:{stroke:{default:"lch(91.6 1.1 266)"}}},sidebar:{main:{color:{background:{default:"#ffffff"},text:{default:"#161517",muted:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#161517",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}},sqlSidebar:{color:{background:{default:"#f6f7fa"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#161517",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}}},stepper:{vertical:{numbered:{connector:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#1F1F1C"},icon:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}},bulleted:{connector:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#ffffff"},icon:{incomplete:"#ffffff",complete:"#1F1F1C",active:"#ffffff"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}}}},switch:{color:{background:{default:"#cccfd3",active:"#151515",disabled:"#dfdfdf"},stroke:{default:"#cccfd3",active:"#161517",disabled:"#dfdfdf"},indicator:{default:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},table:{header:{color:{background:{default:"#f6f7fa",hover:"lch(93.2 9.14 266)",active:"lch(93.4 8.91 266)"},title:{default:"#161517"},icon:{default:"#161517"},checkbox:{background:{default:"#cccfd3"},border:{default:"#808691"}}}},row:{color:{background:{default:"#ffffff",hover:"lch(90.9 12.2 266 / 0.2)",active:"lch(91.1 11.9 266 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)"},text:{default:"#161517"},link:{default:"#135be6"},label:{default:"#696e79"}}},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},tabs:{basic:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"#151515"},global:{default:"lch(91.6 1.1 266)"}}},fileTabs:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(91.6 1.1 266)"},closeButton:{background:{default:"rgba(0,0,0,0)",hover:"#e6e7e9"}}}}},toast:{color:{title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"},icon:{default:"lch(11.1 1.37 305)",success:"#00990D",warning:"#9e5600",danger:"#c10000"}}},tooltip:{color:{background:{default:"lch(10.8 0 0 / 0.85)"},label:{default:"#ffffff"}}},dialog:{color:{background:{default:"#ffffff"},title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},opaqueBackground:{default:"lch(6.77 0 0 / 0.75)"}}},flyout:{color:{background:{default:"#ffffff"},title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}}},grid:{header:{cell:{color:{background:{default:"#f6f7fa",selectIndirect:"lch(93.2 9.14 266)",selectDirect:"lch(90 12.1 266)"},title:{default:"#696e79",selectIndirect:"#161517",selectDirect:"#161517"},stroke:{default:"lch(89.3 1.07 266)",selectIndirect:"lch(88.6 11.9 266)",selectDirect:"lch(79.7 24 268)"}}}},body:{cell:{color:{background:{default:"#ffffff",selectIndirect:"lch(90.9 12.2 266 / 0.2)",selectDirect:"lch(90.9 12.2 266 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)",selectIndirect:"lch(65.4 19.7 268)",selectDirect:"#135be6"},text:{default:"lch(7.17 1.44 305)",selectIndirect:"#161517",selectDirect:"#161517"}}}},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},global:{color:{background:{default:"#ffffff",muted:"#f6f7fa"},text:{default:"#161517",muted:"#696e79",link:{default:"#135be6",hover:"#092e73"}},stroke:{default:"lch(91.6 1.1 266)",muted:"lch(91.6 1.1 266)",intense:"#b3b6bd"},accent:{default:"#151515"},outline:{default:"#135be6"},shadow:{default:"lch(6.77 0 0 / 0.15)"},title:{default:"lch(11.1 1.37 305)",muted:"#696e79"}}},feedback:{color:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#e6e7e9",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}}},storybook:{global:{background:"#ffffff"}},chart:{bars:{color:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}}}},S9="light",L9={color:{background:{default:"#ffffff",muted:"#f6f7fa",sidebar:"#ffffff",split:"#f6f7fa"},text:{default:"#161517",muted:"#696e79",link:{default:"#135be6",hover:"#092e73"}},stroke:{default:"lch(91.6 1.1 266 / 0.3)",muted:"lch(91.6 1.1 266 / 0.3)",intense:"#b3b6bd",split:"#e6e7e9"},accent:{default:"#151515"},outline:{default:"#135be6"},shadow:{default:"lch(6.77 0 0 / 0.15)"},feedback:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#f6f7fa",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}},chart:{bars:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}},iconButton:{badge:{foreground:"#135be6",background:"#dae6fc"}}}},XH=Object.freeze(Object.defineProperty({__proto__:null,click:k9,default:{click:k9,name:S9,global:L9},global:L9,name:S9},Symbol.toStringTag,{value:"Module"})),$9={accordion:{sm:{icon:{size:{height:"1rem",width:"1rem"}},space:{gap:"0.25rem"},typography:{label:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},md:{icon:{size:{height:"1.25rem",width:"1.25rem"}},space:{gap:"0.25rem"},typography:{label:{default:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},lg:{icon:{size:{height:"1.5rem",width:"1.5rem"}},space:{gap:"0.25rem"},typography:{label:{default:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},color:{default:{label:{default:"#161517",hover:"lch(13.9 1.33 305)",active:"#161517"},icon:{default:"#161517",hover:"lch(13.9 1.33 305)",active:"#161517"}},link:{label:{default:"#135be6",hover:"#092e73",active:"#135be6"},icon:{default:"#135be6",hover:"lch(26.3 42.1 284)",active:"#135be6"}}}},alert:{medium:{space:{y:"0.75rem",x:"0.75rem",gap:"0.5rem"},typography:{title:{default:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},text:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},icon:{height:"1.25rem",width:"1.25rem"}},small:{space:{y:"0.5rem",x:"0.5rem",gap:"0.25rem"},icon:{height:"1rem",width:"1rem"},typography:{title:{default:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},text:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},radii:{center:"0",end:"0.25rem"},color:{background:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",warning:"#ffedd8",info:"#dae6fc"},text:{default:"#696e79",success:"#00990D",neutral:"#53575f",danger:"#c10000",warning:"#9e5600",info:"#135be6"},iconBackground:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",warning:"#ffedd8",info:"#dae6fc"},iconForeground:{default:"#696e79",success:"lch(54.9 75.8 135 / 0.75)",neutral:"lch(36.8 5.23 267 / 0.75)",danger:"lch(41 86.6 40.9 / 0.75)",warning:"lch(44.6 59.8 63.2 / 0.75)",info:"lch(41.9 80.9 287 / 0.75)"}}},avatar:{typography:{label:{sm:{default:`600 0.688rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`600 0.688rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.688rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},md:{default:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},size:{label:{width:"1.5rem"},width:"1.5rem",height:"1.5rem"},radii:{all:"9999px"},color:{background:{default:"#696e79",hover:"#9a9ea7",active:"#9a9ea7"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}}},badge:{space:{md:{x:"0.75rem",y:"0.125rem",gap:"0.25rem"},sm:{x:"0.5rem",y:"0.156rem",gap:"0.125rem"}},typography:{label:{md:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},sm:{default:`500 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},radii:{all:"9999px"},stroke:"1px",icon:{md:{size:{height:"0.75rem",width:"0.75rem"}},sm:{size:{height:"0.625rem",width:"0.625rem"}}},color:{background:{default:"#ffffff",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",disabled:"#dfdfdf",info:"#dae6fc",warning:"#ffedd8"},text:{default:"#696e79",success:"#00990D",neutral:"#53575f",danger:"#c10000",disabled:"#a0a0a0",info:"#135be6",warning:"#9e5600"},stroke:{default:"lch(91.6 1.1 266)",success:"#E5FFE8",neutral:"#e6e7e9",danger:"#ffdddd",disabled:"lch(84.4 0 0)",info:"#dae6fc",warning:"#ffedd8"}}},bigStat:{space:{all:"1rem",sm:{gap:"0"},lg:{gap:"0.5rem"}},radii:{all:"0.25rem"},stroke:"1px",typography:{lg:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,muted:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},title:{default:`700 2rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,muted:`700 2rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},sm:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,muted:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},title:{default:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,muted:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},color:{stroke:{default:"lch(91.6 1.1 266)",muted:"lch(91.6 1.1 266)"},background:{default:"#ffffff",muted:"#f6f7fa"},label:{default:"#696e79",muted:"#696e79"},title:{default:"lch(11.1 1.37 305)",muted:"lch(11.1 1.37 305)"}}},button:{radii:{all:"0.25rem"},basic:{space:{x:"1rem",y:"0.281rem",gap:"0.5rem",group:"0.5rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{label:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},size:{icon:{height:"0.969rem",all:"0.969rem",width:"0.969rem"}},color:{primary:{background:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.42 1.33 305)",disabled:"#dfdfdf"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},stroke:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.42 1.33 305)",disabled:"#dfdfdf"}},secondary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"lch(83.8 2.3 258)",disabled:"#dfdfdf"},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)",disabled:"#dfdfdf"},text:{default:"#c10000",hover:"#c10000",active:"#c10000",disabled:"#a0a0a0"},stroke:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)",disabled:"#dfdfdf"}},empty:{text:{default:"#135be6",hover:"#092e73",active:"#135be6",disabled:"#a0a0a0"},background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"}}}},iconButton:{default:{space:{x:"0.438rem",y:"0.438rem"}},size:{small:"0.75rem",medium:"1rem",large:"1.25rem"},radii:{all:"0.25rem"},sm:{space:{x:"0.25rem",y:"0.25rem"}},xs:{space:{x:"0",y:"0"}},color:{primary:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},stroke:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgb(86.8% 87.2% 88.2%)"},text:{default:"#161517",hover:"#161517",active:"#161517"}},secondary:{background:{default:"#302e32",hover:"lch(29.5 4.18 267)",active:"lch(6.1 1.26 305)"},stroke:{default:"rgba(0,0,0,0)",hover:"lch(29.5 4.18 267)",active:"lch(6.1 1.26 305)"},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff"}},disabled:{background:{default:"#dfdfdf"},text:{default:"#a0a0a0"}},danger:{background:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)"},text:{default:"#c10000",hover:"#c10000",active:"#c10000"},stroke:{default:"#ffdddd",hover:"#ffbaba",active:"lch(70.3 41.1 23.9)"}},ghost:{background:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgb(0% 0% 0% / 0)"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"}},info:{background:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"},text:{default:"#135be6",hover:"#135be6",active:"#135be6"},stroke:{default:"#dae6fc",hover:"#b5cdf9",active:"#91b3f6"}}}},stroke:"1px",split:{icon:{space:{y:"0.438rem",x:"0.344rem"}},space:{x:"1rem",y:"0.281rem",gap:"0.5rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{label:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},primary:{background:{main:{default:"#302e32",hover:"lch(27 3.82 267)",active:"lch(5.87 1.22 305)",disabled:"lch(81.3 0 0)"},action:{default:"lch(6.24 1.29 305)",hover:"lch(25.6 3.63 267)",active:"lch(3.47 0.72 305)",disabled:"lch(77.2 0 0)"}},text:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)"},divide:{default:"lch(23.3 2.63 306)",hover:"lch(33 3.27 267)",active:"lch(16.4 2.36 306)",disabled:"lch(75.5 0 0)"}},secondary:{divide:{default:"lch(92 1.05 266)",hover:"lch(92.4 0.99 266)",active:"lch(83.8 2.3 258)",disabled:"lch(75.5 0 0)"},background:{main:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)",disabled:"#dfdfdf"},action:{default:"#f6f7fa",hover:"lch(94.8 1.53 272)",active:"lch(92.9 1.5 272)",disabled:"lch(77.2 0 0)"}},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(84 2.28 258)",disabled:"rgba(0,0,0,0)"}}},mobile:{button:{space:{x:"0.75rem",y:"0.5rem",gap:"0.5rem"}},basic:{size:{icon:{all:"1.25rem"}}}},group:{radii:{all:"0.25rem",end:"0"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{label:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},space:{gap:{default:"0",borderless:"0.25rem"}},color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(97.3 1.53 272)",disabled:"#dfdfdf","disabled-active":"lch(71.1 0 0)",panel:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0","disabled-active":"#808080"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"rgba(0,0,0,0)",disabled:"rgba(0,0,0,0)","disabled-active":"rgba(0,0,0,0)",panel:"lch(91.6 1.1 266)"},panel:{stroke:{default:"lch(91.6 1.1 266)",borderless:"rgba(0,0,0,0)"}}}},alignLeft:{size:{icon:{all:"0.969rem"}},space:{x:"1rem",y:"0.344rem",gap:"0.5rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{label:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}}},alignedLeft:{color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"lch(95.3 1.54 272)"},stroke:{default:"lch(91.6 1.1 266)",hover:"#e6e7e9",active:"#cccfd3"},text:{default:"#161517",hover:"#161517",active:"#161517"}}}},card:{secondary:{space:{all:"1rem",gap:"1rem"},radii:{all:"0.25rem"},icon:{size:{all:"2rem"}},stroke:"1px",color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(92.4 1.49 272)",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},link:{default:"#161517",hover:"#135be6",active:"#161517",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(87 1.05 266)",disabled:"#dfdfdf"}}},typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},link:{default:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},primary:{size:{icon:{sm:{all:"2rem"},md:{all:"4rem"}}},space:{md:{y:"1.5rem",x:"1.5rem",gap:"0.75rem"},sm:{y:"1.5rem",x:"1.5rem",gap:"0.25rem"}},radii:{all:"0.25rem"},stroke:"1px",color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"lch(95 0 0)",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},shadow:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)",horizontal:{radii:{all:"0.25rem"},typography:{title:{default:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},icon:{size:{all:"1.5rem"}},space:{y:"0.75rem",x:"1.5rem",gap:"1rem"},default:{color:{background:{default:"#ffffff",hover:"#f6f7fa",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}},muted:{color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#f6f7fa",disabled:"#dfdfdf"},title:{default:"lch(11.1 1.37 305)",hover:"lch(11.1 1.37 305)",active:"lch(11.1 1.37 305)",disabled:"#a0a0a0"},description:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#a0a0a0"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"#151515",disabled:"#dfdfdf"}}}},promotion:{radii:{all:"0.25rem"},typography:{text:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},space:{y:"5.5px",x:"0.75rem",gap:"0.75rem"},icon:{size:{all:"1rem"}},color:{text:{default:"#161517",hover:"#161517",active:"#161517"},icon:{default:"#161517",hover:"#161517",active:"#161517"},background:{default:"lch(97.2 1.57 272 / 0.9)",hover:"lch(91.8 1.07 266)",active:"lch(89.8 1.08 266)"},stroke:{default:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",hover:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",active:"linear-gradient(174deg, #ABABAB 7.59%, #D4D4D4 30.01%)",focus:"#151515"}}}},checkbox:{radii:{all:"0.125rem"},space:{all:"1px",gap:"0.5rem"},size:{all:"1rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#f6f7fa",hover:"#f6f7fa",active:"#161517",disabled:"#dfdfdf"},stroke:{default:"#b3b6bd",hover:"#b3b6bd",active:"#161517",disabled:"#c0c0c0"},check:{default:"#ffffff",hover:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"},label:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"}}},codeblock:{space:{x:"1rem",y:"1rem",gap:"1.5rem"},radii:{all:"0.25rem"},stroke:"1px",typography:{text:{default:`500 0.875rem/1.7 "Inconsolata", '"SFMono Regular"', monospace`}},numbers:{size:{width:"1.5rem"}},darkMode:{color:{background:{default:"#282828"},text:{default:"#ffffff"},numbers:{default:"#c0c0c0"},button:{background:{default:"#282828",hover:"#53575f"},foreground:{default:"#ffffff"}},stroke:{default:"#282828"}}},lightMode:{color:{background:{default:"#f6f7fa"},text:{default:"#282828"},numbers:{default:"#808080"},button:{background:{default:"#f6f7fa",hover:"#53575f"},foreground:{default:"#a0a0a0"}},stroke:{default:"#282828"}}},monacoTheme:{parameter:{foreground:"#53575f",background:"#e6e7e9"}}},codeInline:{space:{x:"0.25rem"},stroke:"1px",typography:{text:{default:`500 0.875rem/1.7 "Inconsolata", '"SFMono Regular"', monospace`}},radii:{all:"0.25rem"},color:{background:{default:"#f6f7fa"},text:{default:"#161517"},stroke:{default:"lch(91.6 1.1 266)"}}},docs:{typography:{titles:{lg:`600 2rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`700 1.25rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},text:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},breadcrumbs:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},toc:{title:{default:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},item:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}}},field:{typography:{label:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,error:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},fieldText:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,error:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},placeholder:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},format:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,error:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},genericLabel:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,error:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},type:{mobile:{label:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,"field-value":`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},space:{x:"0.75rem",y:"0.281rem",gap:"0.5rem"},size:{icon:"1rem"},radii:{all:"0.25rem"},mobile:{space:{x:"0.75rem",y:"0.5rem",gap:"0.5rem"}},color:{background:{default:"lch(97.3 1.53 272)",hover:"lch(97.3 1.53 272)",active:"#ffffff",disabled:"#dfdfdf",error:"#ffffff"},text:{default:"#302e32",hover:"#302e32",active:"#161517",disabled:"#a0a0a0",error:"#c10000"},stroke:{default:"lch(92 1.05 266)",hover:"lch(83.8 2.3 258)",active:"#161517",disabled:"#dfdfdf",error:"#c10000"},label:{default:"#696e79",hover:"#696e79",active:"#161517",disabled:"#a0a0a0",error:"#c10000"},format:{default:"lch(57 5.46 269)",hover:"lch(57 5.46 269)",active:"lch(57 5.46 269)",disabled:"#a0a0a0",error:"lch(57 5.46 269)"},genericLabel:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#a0a0a0"},placeholder:{default:"#696e79"}}},genericMenu:{item:{space:{x:"1rem",y:"0.344rem",gap:"0.5rem"},icon:{size:{height:"0.969rem",width:"0.969rem"}},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},sectionHeader:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},subtext:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},"two-lines":{space:{x:"1rem",y:"0.344rem",gap:"0.75rem"}},size:{minWidth:"180px"},color:{text:{default:"#161517",hover:"#161517",active:"#161517",disabled:"#c0c0c0",muted:"#696e79"},background:{default:"#ffffff",hover:"lch(97.5 1.43 272)",active:"#ffffff",disabled:"#ffffff"},format:{default:"lch(57 5.46 269)",hover:"lch(57 5.46 269)",active:"lch(57 5.46 269)",disabled:"#a0a0a0",error:"lch(57 5.46 269)"},stroke:{default:"lch(91.6 1.1 266)"},subtext:{default:"#696e79",hover:"#696e79",active:"#696e79",disabled:"#c0c0c0"}}},itemCustom:{typography:{label:{sm:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},button:{space:{gap:"0.25rem",y:"0.5rem"},typography:{label:{default:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#f6f7fa"},label:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}}},panel:{radii:{all:"0.25rem"},shadow:{default:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"},color:{background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}},autocomplete:{typography:{results:{label:{default:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},search:{placeholder:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},term:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},search:{stroke:{default:"2px solid lch(91.6 1.1 266)"}},color:{placeholder:{default:"#696e79"},searchTerm:{default:"#161517"},background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}},sectionHeader:{space:{bottom:"0.344rem",top:"0.5rem"}},placeholder:{space:{gap:"0.5rem"}}},image:{sm:{size:{height:"1rem",width:"1rem"}},xs:{size:{height:"0.75rem",width:"0.75rem"}},md:{size:{height:"1.25rem",width:"1.25rem"}},lg:{size:{height:"1.5rem",width:"1.5rem"}},xl:{size:{height:"2rem",width:"2rem"}},xxl:{size:{height:"4rem",width:"4rem"}},color:{stroke:"#161517"}},panel:{strokeWidth:{default:"1px"},radii:{none:"0",sm:"0.25rem",md:"0.5rem",lg:"0.75rem"},stroke:{default:"1px solid lch(91.6 1.1 266)"},shadow:{default:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"},space:{y:{none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem"},x:{none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem"},gap:{none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem"}},color:{background:{default:"#ffffff",muted:"#f6f7fa",transparent:"rgba(0,0,0,0)"},stroke:{default:"lch(91.6 1.1 266)"}}},popover:{space:{y:"1rem",x:"1.5rem",gap:"0.75rem"},radii:{all:"0.25rem"},shadow:{default:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"},icon:{size:{height:"1.25rem",width:"1.25rem"}},color:{panel:{background:{default:"#ffffff"},stroke:{default:"lch(91.6 1.1 266)"}}}},radio:{radii:{all:"9999px"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#f6f7fa",hover:"#f6f7fa",active:"#161517",disabled:"#dfdfdf"},stroke:{default:"#b3b6bd",hover:"#b3b6bd",active:"#151515",disabled:"#c0c0c0"},indicator:{default:"#ffffff",hover:"#f6f7fa",active:"#ffffff",disabled:"#a0a0a0"}}},separator:{horizontal:{space:{y:{xs:"0",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"1.5rem",xxl:"2rem"},x:{all:"0"}}},vertical:{space:{x:{xs:"0",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"1.5rem",xxl:"2rem"},y:{all:"0"}}},color:{stroke:{default:"lch(91.6 1.1 266)"}}},sidebar:{navigation:{item:{radii:{all:"0.25rem"},default:{space:{right:"0.75rem",y:"0.281rem",gap:"0.75rem",left:"0"}},typography:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mobile:{typography:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},space:{left:"0",right:"0.75rem",y:"0.75rem",gap:"0.75rem"}},collapsible:{space:{left:"0",right:"0.75rem",y:"0.281rem",gap:"0.75rem"}},icon:{size:{height:"1rem",width:"1rem"}}},title:{typography:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},subItem:{default:{space:{left:"2.75rem",right:"0.75rem",y:"0.281rem"}},mobile:{space:{left:"2.75rem",right:"0.75rem",y:"0.75rem",gap:"0.75rem"},typography:{default:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},radii:{all:"0.25rem"},typography:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},dragControl:{separator:{size:{height:"0.125rem"}}}},main:{color:{background:{default:"#ffffff"},text:{default:"#161517",muted:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#161517",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}},sqlSidebar:{color:{background:{default:"#f6f7fa"},stroke:{default:"lch(91.6 1.1 266)"}},navigation:{item:{color:{background:{active:"lch(91.6 1.1 266 / 0.6)",hover:"lch(91.6 1.1 266 / 0.6)",default:"rgba(0,0,0,0)"},text:{default:"#161517",hover:"#161517",active:"#161517",muted:"#696e79"},icon:{default:"#696e79"}}},title:{color:{default:"#696e79",hover:"#696e79",active:"#696e79"}},subItem:{color:{text:{default:"#696e79",hover:"#161517",active:"#161517"},background:{default:"rgba(0,0,0,0)",hover:"lch(91.6 1.1 266 / 0.6)",active:"rgba(0,0,0,0)"}}},dragControl:{separator:{color:{default:"#161517"}}}}}},spacer:{horizontal:{space:{y:{xs:"0",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"1.5rem",xxl:"2rem"},x:{all:"0"}}}},stepper:{vertical:{numbered:{connector:{size:{width:"0.188rem"},stroke:{default:"2px"},color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},step:{typography:{number:{default:`700 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},size:{height:"1.5rem",width:"1.5rem",icon:{height:"0.75rem",width:"0.75rem"}},stroke:{default:"2px"},radii:{default:"9999px"},color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#1F1F1C"},icon:{incomplete:"#1F1F1C",complete:"#1F1F1C",active:"#ffffff"}}},content:{space:{gap:{x:"1rem",y:"0.5rem"},left:"2.75rem",bottom:{default:"2.5rem",active:"1.5rem"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}},bulleted:{connector:{size:{width:"0.188rem"},stroke:{default:"2px"},color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#c0c0c0"}}},step:{size:{height:"1rem",width:"1rem",icon:{height:"0.75rem",width:"0.75rem"}},radii:{default:"9999px"},stroke:{default:"2px"},color:{stroke:{incomplete:"#c0c0c0",complete:"#1F1F1C",active:"#1F1F1C"},background:{incomplete:"#ffffff",complete:"#ffffff",active:"#ffffff"},icon:{incomplete:"#ffffff",complete:"#1F1F1C",active:"#ffffff"}}},typography:{title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},content:{space:{gap:{x:"1rem",y:"0.5rem"},left:"2.25rem",bottom:{default:"2.5rem",active:"1.5rem"}}},color:{title:{incomplete:"#c0c0c0",complete:"#696e79",active:"#161517"}}}}},switch:{space:{gap:"0.5rem"},radii:{all:"9999px"},size:{width:"2rem",height:"1rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,disabled:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#cccfd3",active:"#151515",disabled:"#dfdfdf"},stroke:{default:"#cccfd3",active:"#161517",disabled:"#dfdfdf"},indicator:{default:"#ffffff",active:"#ffffff",disabled:"#a0a0a0"}}},table:{header:{title:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},cell:{space:{md:{y:"0.75rem",x:"1rem"},sm:{y:"0.5rem",x:"1rem"}}},color:{background:{default:"#f6f7fa",hover:"lch(93.2 9.14 266)",active:"lch(93.4 8.91 266)"},title:{default:"#161517"},icon:{default:"#161517"},checkbox:{background:{default:"#cccfd3"},border:{default:"#808691"}}}},cell:{text:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},label:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},stroke:"1px"},radii:{all:"0.25rem"},body:{cell:{space:{md:{y:"1rem",x:"1rem"},sm:{y:"0.5rem",x:"1rem"}}}},mobile:{cell:{space:{y:"1rem",x:"1rem",gap:"0.5rem"}}},row:{color:{background:{default:"#ffffff",hover:"lch(90.9 12.2 266 / 0.2)",active:"lch(91.1 11.9 266 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)"},text:{default:"#161517"},link:{default:"#135be6"},label:{default:"#696e79"}}},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},tabs:{space:{y:"0.5rem",x:"0.75rem"},radii:{all:"0.25rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},basic:{strokeWidth:{default:"1px",hover:"1px",active:"2px",global:"1px"},color:{background:{default:"rgba(0,0,0,0)",hover:"#f6f7fa",active:"rgba(0,0,0,0)"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"rgba(0,0,0,0)",hover:"rgba(0,0,0,0)",active:"#151515"},global:{default:"lch(91.6 1.1 266)"}}},fileTabs:{icon:{size:{height:"1rem",width:"1rem"}},space:{y:"1.063rem",x:"1rem",gap:"0.75rem"},typography:{label:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,hover:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,active:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},radii:{all:"0"},color:{background:{default:"#f6f7fa",hover:"#ffffff",active:"#ffffff"},text:{default:"#696e79",hover:"#161517",active:"#161517"},stroke:{default:"lch(91.6 1.1 266)",hover:"lch(91.6 1.1 266)",active:"lch(91.6 1.1 266)"},closeButton:{background:{default:"rgba(0,0,0,0)",hover:"#e6e7e9"}}}}},toast:{icon:{size:{height:"1rem",width:"1rem"}},space:{title:{gap:"0.5rem"},y:"0.75rem",x:"0.75rem",gap:"0.5rem"},radii:{all:"0.25rem"},shadow:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)",typography:{title:{default:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},description:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},size:{width:"20.75rem"},color:{title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},stroke:{default:"lch(91.6 1.1 266)"},icon:{default:"lch(11.1 1.37 305)",success:"#00990D",warning:"#9e5600",danger:"#c10000"}}},tooltip:{radii:{all:"0.25rem"},space:{x:"0.75rem",y:"0.5rem"},typography:{label:{default:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"lch(10.8 0 0 / 0.85)"},label:{default:"#ffffff"}}},dialog:{space:{y:"1.5rem",x:"2rem",gap:"1rem"},title:{space:{gap:"0.25rem"}},radii:{all:"0.5rem"},shadow:{default:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"},stroke:{default:"1px solid lch(91.6 1.1 266)"},typography:{title:{default:`700 1.25rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},color:{background:{default:"#ffffff"},title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},opaqueBackground:{default:"lch(6.77 0 0 / 0.75)"}}},link:{space:{md:{gap:"0.25rem"},sm:{gap:"2px"}},icon:{size:{sm:{height:"0.75rem",width:"0.75rem"},md:{height:"1rem",width:"1rem"}}}},flyout:{space:{default:{x:"0",y:"1.5rem",gap:"1rem",top:"0",content:{x:"1.5rem",y:"1.5rem","row-gap":"0.25rem","column-gap":"1rem"}},inline:{x:"0",y:"0.75rem",gap:"0.75rem",top:"3.5rem",content:{x:"0.75rem",y:"0.75rem","row-gap":"0.25rem","column-gap":"0.75rem"}}},shadow:{default:"-5px 0 20px 0 rgba(0, 0, 0, 0.08), -6px 0 10px 0 rgba(0, 0, 0, 0.08)"},size:{default:{width:"27.5rem",height:"100%"},wide:{width:"37.5rem",height:"100vh"},narrow:{width:"21rem",height:"100%"}},typography:{default:{description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},title:{default:`700 1.25rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},inline:{description:{default:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},title:{default:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},color:{background:{default:"#ffffff"},title:{default:"lch(11.1 1.37 305)"},description:{default:"#696e79"},opaqueBackground:{default:"lch(6.77 0 0 / 0.45)"},stroke:{default:"lch(91.6 1.1 266)"}}},grid:{header:{cell:{space:{y:"0.438rem",x:"0.5rem"},size:{height:"2rem"},color:{background:{default:"#f6f7fa",selectIndirect:"lch(93.2 9.14 266)",selectDirect:"lch(90 12.1 266)"},title:{default:"#696e79",selectIndirect:"#161517",selectDirect:"#161517"},stroke:{default:"lch(89.3 1.07 266)",selectIndirect:"lch(88.6 11.9 266)",selectDirect:"lch(79.7 24 268)"}}},title:{default:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},body:{cell:{space:{y:"5.5px",x:"0.5rem"},size:{height:"2rem"},color:{background:{default:"#ffffff",selectIndirect:"lch(90.9 12.2 266 / 0.2)",selectDirect:"lch(90.9 12.2 266 / 0.2)"},stroke:{default:"lch(91.6 1.1 266)",selectIndirect:"lch(65.4 19.7 268)",selectDirect:"#135be6"},text:{default:"lch(7.17 1.44 305)",selectIndirect:"#161517",selectDirect:"#161517"}}}},cell:{text:{default:`500 0.875rem/1.5 "Inconsolata", '"SFMono Regular"', monospace`}},radii:{none:"0",sm:"0.25rem",md:"0.5rem",lg:"0.75rem"},global:{color:{stroke:{default:"lch(91.6 1.1 266)"},background:{default:"#ffffff"}}}},container:{space:{none:"0",xxs:"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem",xxl:"4rem"},gap:{none:"0",xxs:"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem",xxl:"4rem"}},gridContainer:{gap:{none:"0",xxs:"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem",xxl:"4rem",unset:""}},global:{color:{background:{default:"#ffffff",muted:"#f6f7fa"},text:{default:"#161517",muted:"#696e79",link:{default:"#135be6",hover:"#092e73"}},stroke:{default:"lch(91.6 1.1 266)",muted:"lch(91.6 1.1 266)",intense:"#b3b6bd"},accent:{default:"#151515"},outline:{default:"#135be6"},shadow:{default:"lch(6.77 0 0 / 0.15)"},title:{default:"lch(11.1 1.37 305)",muted:"#696e79"}}},feedback:{color:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#e6e7e9",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}}},storybook:{global:{background:"#ffffff"}},chart:{bars:{color:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}}}},M9={default:"all 100ms ease-in 0ms",duration:{slow:"300ms",medium:"100ms",fast:"50ms"},delay:{slow:"100ms",fast:"0ms"},function:{ease:"ease","ease-in":"ease-in","ease-in-out":"ease-in-out",linear:"linear"}},j9={header:{cell:{borderWidth:{default:"1px",selectIndirect:"1px",selectDirect:"1px"}}},body:{cell:{borderWidth:{default:"1px",selectIndirect:"1px",selectDirect:"2px"}}}},E9="light",_9={color:{background:{default:"#ffffff",muted:"#f6f7fa",sidebar:"#ffffff",split:"#f6f7fa"},text:{default:"#161517",muted:"#696e79",link:{default:"#135be6",hover:"#092e73"}},stroke:{default:"lch(91.6 1.1 266 / 0.3)",muted:"lch(91.6 1.1 266 / 0.3)",intense:"#b3b6bd",split:"#e6e7e9"},accent:{default:"#151515"},outline:{default:"#135be6"},shadow:{default:"lch(6.77 0 0 / 0.15)"},feedback:{info:{background:"#dae6fc",foreground:"#135be6"},success:{background:"#E5FFE8",foreground:"#00990D"},warning:{background:"#ffedd8",foreground:"#9e5600"},danger:{background:"#ffdddd",foreground:"#c10000"},neutral:{background:"#f6f7fa",foreground:"#53575f",stroke:"lch(91.6 1.1 266)"}},chart:{bars:{green:"#00FF15",blue:"#6c9af3",fuchsia:"#FB64D6",orange:"#ffb864",violet:"#CC66FF",teal:"#00CCAA"}},iconButton:{badge:{foreground:"#135be6",background:"#dae6fc"}}}},I9={brand:{50:"#ffffe8",100:"#feffba",200:"#fdffa3",300:"#FAFF69",400:"#eef400",500:"#9fa300",600:"#4f5100",700:"#27291B",800:"#161600",base:"#fbff46"},neutral:{0:"#ffffff",100:"#f9f9f9",200:"#dfdfdf",300:"#c0c0c0",400:"#a0a0a0",500:"#808080",600:"#606060",700:"#414141",725:"#282828",750:"#1F1F1C",800:"#1d1d1d",900:"#151515",base:"#212121"},slate:{50:"#f6f7fa",100:"#e6e7e9",200:"#cccfd3",300:"#b3b6bd",400:"#9a9ea7",500:"#808691",600:"#696e79",700:"#53575f",800:"#302e32",900:"#161517",base:"#373439"},indigo:{50:"#f4f1fc",100:"#e4e2e9",200:"#c8c5d3",300:"#ada8bd",400:"#918ba7",500:"#766e91",600:"#5e5874",700:"#474257",800:"#23212c",900:"#18161d",base:"#2f2c3a"},info:{50:"#dae6fc",100:"#b5cdf9",200:"#91b3f6",300:"#6c9af3",400:"#135be6",500:"#0e44ad",600:"#092e73",650:"#09255B",700:"#061d48",800:"#05173a",900:"#041330",base:"#4781f0"},success:{50:"#E5FFE8",100:"#CCFFD0",200:"#99FFA1",300:"#66FF73",400:"#33FF44",500:"#00FF15",600:"#00CC11",700:"#00990D",800:"#006609",850:"#004206",900:"#004206",base:"#62de85"},warning:{50:"#ffedd8",100:"#ffdbb1",200:"#ffca8b",300:"#ffb864",400:"#ff9416",500:"#ed8000",600:"#c66b00",700:"#9e5600",800:"#4f2b00",900:"#271500",base:"#ffa63d"},danger:{50:"#ffdddd",100:"#ffbaba",200:"#ff9898",300:"#ff7575",400:"#ff2323",500:"#f10000",600:"#c10000",700:"#910000",800:"#610000",900:"#300000",base:"#FF5353"},gradients:{base:"linear-gradient(229.65deg, #292924 15.78%, #0F0F0F 88.39%)",transparent:"rgba(0,0,0,0)"},utility:{transparent:"rgba(0,0,0,0)"},teal:{50:"#E5FFFB",100:"#CCFFF6",200:"#99FFEE",300:"#66FFE5",400:"#33FFDD",500:"#00FFD4",600:"#00CCAA",700:"#009980",800:"#006655",850:"#004237",900:"#00332A"},violet:{50:"#F6E5FF",100:"#EECCFF",200:"#DD99FF",300:"#CC66FF",400:"#BB33FF",500:"#AA00FF",600:"#8800CC",700:"#660099",800:"#440066",850:"#33004D",900:"#220033"},fuchsia:{50:"#FBEFF8",100:"#FBC9EF",200:"#FB97E2",300:"#FB64D6",400:"#FB32C9",500:"#FB00BC",600:"#CC0099",700:"#990073",800:"#66004D",850:"#4D0039",900:"#330026"}},T9={0:"0",1:"1px",2:"0.25rem",3:"0.5rem",4:"0.75rem",5:"1rem",6:"1.25rem",7:"1.5rem",8:"1.75rem",9:"2rem",10:"2.5rem",11:"4rem"},F9={font:{families:{regular:`"Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,mono:`"Inconsolata", '"SFMono Regular"', monospace`,display:`'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},weights:{1:"400",2:"500",3:"600",4:"700"},sizes:{0:"0.625rem",1:"0.75rem",2:"0.875rem",3:"1rem",4:"1.25rem",6:"2rem",base:"16px"},"line-height":{1:1.5,2:1.6,3:1.7,4:1.3}},styles:{product:{titles:{xs:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,xl:`700 1.25rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,"2xl":`600 2rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},text:{normal:{xs:`400 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`400 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`400 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},medium:{xs:`500 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`500 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`500 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},semibold:{xs:`600 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`600 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`},mono:{xs:`500 0.625rem/1.6 "Inconsolata", '"SFMono Regular"', monospace`,sm:`500 0.75rem/1.6 "Inconsolata", '"SFMono Regular"', monospace`,md:`500 0.875rem/1.7 "Inconsolata", '"SFMono Regular"', monospace`,lg:`500 1rem/1.6 "Inconsolata", '"SFMono Regular"', monospace`},bold:{xs:`700 0.625rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`700 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`700 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`700 1rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},brand:{titles:{xs:`600 20px/1.5 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,sm:`600 24px/1.5 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,md:`600 36px/1.3 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,lg:`600 56px/1.3 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,xl:`700 64px/1.3 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,"2xl":`700 80px/1.3 'Basier Square', "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}},field:{md:`400 0.875rem/1.6 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`}}},O9={radii:{0:"0",1:"0.25rem",2:"0.5rem",3:"0.75rem",full:"9999px"},width:{1:"1px",2:"2px"}},P9={0:"0",1:"0.25rem",2:"0.5rem",3:"0.75rem",4:"1rem",5:"1.5rem",6:"2rem",7:"2.5rem",8:"4rem"},H9={1:"0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)",2:"0 4px 4px 0 rgba(88, 92, 98, 0.06), inset 5px 0 10px 0 rgba(104, 105, 111, 0.1)",3:"-5px 0 20px 0 rgba(0, 0, 0, 0.08), -6px 0 10px 0 rgba(0, 0, 0, 0.08)"},D9={sizes:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},j4=Object.freeze(Object.defineProperty({__proto__:null,border:O9,breakpoint:D9,click:$9,default:{click:$9,transition:M9,grid:j9,name:E9,global:_9,palette:I9,sizes:T9,typography:F9,border:O9,spaces:P9,shadow:H9,breakpoint:D9},global:_9,grid:j9,name:E9,palette:I9,shadow:H9,sizes:T9,spaces:P9,transition:M9,typography:F9},Symbol.toStringTag,{value:"Module"})),A9={dark:M4({},j4,YH),light:M4({},j4,XH),classic:M4({},j4,GH)},KH=()=>{const e=W.useTheme();return{name:e.name,global:e.global,sizes:e.sizes}},JH=W.createGlobalStyle(["body{color:",";background-color:","}"],e=>e.theme.click.global.color.text.default,e=>e.theme.click.global.color.background.default),qH=({theme:e,children:t})=>r.jsxs(W.ThemeProvider,{theme:A9[e],children:[r.jsx(JH,{}),t]}),QH=({children:e,theme:t,config:n={}})=>{const{toast:o={},tooltip:i={}}=n;return r.jsx(qH,{theme:t,children:r.jsx(j_,{...o,children:r.jsx(OE,{...i,children:e})})})},eD=()=>{const e=p.useContext(Df);if(!e)throw new Error("Context used outside of its Provider!");return e},R9=p.createContext({type:"numbered"}),tD=W.div.withConfig({componentId:"sc-xro1ly-0"})(["display:flex;flex-direction:column;align-items:flex-start;counter-reset:vertical-stepper;width:100%;"]),V9=({children:e,type:t="numbered",...n})=>{const o={type:t};return r.jsx(tD,{...n,children:r.jsx(R9.Provider,{value:o,children:e})})},nD=W.div.withConfig({componentId:"sc-xro1ly-1"})(["display:flex;flex-direction:column;position:relative;width:100%;padding:0;",""],({theme:e,$type:t,$status:n,$isOpen:o})=>`
1148
1148
  row-gap: ${e.click.stepper.vertical[t].content.space.gap.y};
1149
1149
  column-gap: ${e.click.stepper.vertical[t].content.space.gap.x};
1150
1150
  padding-bottom: ${e.click.stepper.vertical[t].content.space.bottom[o?"active":"default"]};