reshaped 2.3.1 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,19 +1,3 @@
1
- 2.3
1
+ 2.4
2
2
 
3
- - Runtime theming
4
- - Button.Group
5
-
6
- - Remove tap-highlight for checkbox, radio and switch on mobile devices
7
- - Select: Fixed disabled icon color
8
-
9
- - Actionable: Fixed repeating onClicks for Enter
10
- - Popover, DropdownMenu, Autocomplete: Added rendering support inside scrollable areas
11
- - Popover, DropdownMenu, Autocomplete: Added trapFocus support for dynamic data rendering
12
-
13
- - Tabs: Added support for custom Tabs.Item wrappers, including router link components
14
- - Tabs: Added href support for Tabs.Item
15
- - Tabs: Added attributes support for Tabs.Item
16
-
17
- - Toast: Fixed immediate close
18
-
19
- - Figma: Fixed dark mode relations
3
+ - SSR system/ls color mode
package/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(N,c){typeof exports=="object"&&typeof module!="undefined"?c(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],c):(N=typeof globalThis!="undefined"?globalThis:N||self,c(N.Reshaped={},N.React,N.ReactDOM))})(this,function(N,c,_e){"use strict";var ea=Object.defineProperty,ta=Object.defineProperties;var na=Object.getOwnPropertyDescriptors;var on=Object.getOwnPropertySymbols;var co=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable;var lo=(N,c,_e)=>c in N?ea(N,c,{enumerable:!0,configurable:!0,writable:!0,value:_e}):N[c]=_e,p=(N,c)=>{for(var _e in c||(c={}))co.call(c,_e)&&lo(N,_e,c[_e]);if(on)for(var _e of on(c))uo.call(c,_e)&&lo(N,_e,c[_e]);return N},k=(N,c)=>ta(N,na(c));var Ae=(N,c)=>{var _e={};for(var be in N)co.call(N,be)&&c.indexOf(be)<0&&(_e[be]=N[be]);if(N!=null&&on)for(var be of on(N))c.indexOf(be)<0&&uo.call(N,be)&&(_e[be]=N[be]);return _e};var be={exports:{}},bt={};/**
1
+ (function(N,c){typeof exports=="object"&&typeof module!="undefined"?c(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],c):(N=typeof globalThis!="undefined"?globalThis:N||self,c(N.Reshaped={},N.React,N.ReactDOM))})(this,function(N,c,_e){"use strict";var ea=Object.defineProperty,ta=Object.defineProperties;var na=Object.getOwnPropertyDescriptors;var on=Object.getOwnPropertySymbols;var co=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable;var lo=(N,c,_e)=>c in N?ea(N,c,{enumerable:!0,configurable:!0,writable:!0,value:_e}):N[c]=_e,p=(N,c)=>{for(var _e in c||(c={}))co.call(c,_e)&&lo(N,_e,c[_e]);if(on)for(var _e of on(c))uo.call(c,_e)&&lo(N,_e,c[_e]);return N},k=(N,c)=>ta(N,na(c));var Fe=(N,c)=>{var _e={};for(var be in N)co.call(N,be)&&c.indexOf(be)<0&&(_e[be]=N[be]);if(N!=null&&on)for(var be of on(N))c.indexOf(be)<0&&uo.call(N,be)&&(_e[be]=N[be]);return _e};var be={exports:{}},bt={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -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 Wn;function _o(){if(Wn)return bt;Wn=1;var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(l,u,m){var _,h={},f=null,v=null;m!==void 0&&(f=""+m),u.key!==void 0&&(f=""+u.key),u.ref!==void 0&&(v=u.ref);for(_ in u)r.call(u,_)&&!s.hasOwnProperty(_)&&(h[_]=u[_]);if(l&&l.defaultProps)for(_ in u=l.defaultProps,u)h[_]===void 0&&(h[_]=u[_]);return{$$typeof:t,type:l,key:f,ref:v,props:h,_owner:o.current}}return bt.Fragment=n,bt.jsx=a,bt.jsxs=a,bt}var xt={};/**
9
+ */var Wn;function _o(){if(Wn)return bt;Wn=1;var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(l,u,f){var _,h={},m=null,v=null;f!==void 0&&(m=""+f),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(v=u.ref);for(_ in u)r.call(u,_)&&!s.hasOwnProperty(_)&&(h[_]=u[_]);if(l&&l.defaultProps)for(_ in u=l.defaultProps,u)h[_]===void 0&&(h[_]=u[_]);return{$$typeof:t,type:l,key:m,ref:v,props:h,_owner:o.current}}return bt.Fragment=n,bt.jsx=a,bt.jsxs=a,bt}var xt={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,14 +14,14 @@
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 Hn;function mo(){return Hn||(Hn=1,process.env.NODE_ENV!=="production"&&function(){var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),b=Symbol.iterator,w="@@iterator";function g(d){if(d===null||typeof d!="object")return null;var j=b&&d[b]||d[w];return typeof j=="function"?j:null}var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(d){{for(var j=arguments.length,T=new Array(j>1?j-1:0),A=1;A<j;A++)T[A-1]=arguments[A];C("error",d,T)}}function C(d,j,T){{var A=y.ReactDebugCurrentFrame,R=A.getStackAddendum();R!==""&&(j+="%s",T=T.concat([R]));var J=T.map(function(q){return String(q)});J.unshift("Warning: "+j),Function.prototype.apply.call(console[d],console,J)}}var $=!1,E=!1,z=!1,P=!1,I=!1,D;D=Symbol.for("react.module.reference");function S(d){return!!(typeof d=="string"||typeof d=="function"||d===r||d===s||I||d===o||d===m||d===_||P||d===v||$||E||z||typeof d=="object"&&d!==null&&(d.$$typeof===f||d.$$typeof===h||d.$$typeof===a||d.$$typeof===l||d.$$typeof===u||d.$$typeof===D||d.getModuleId!==void 0))}function F(d,j,T){var A=d.displayName;if(A)return A;var R=j.displayName||j.name||"";return R!==""?T+"("+R+")":T}function W(d){return d.displayName||"Context"}function O(d){if(d==null)return null;if(typeof d.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case r:return"Fragment";case n:return"Portal";case s:return"Profiler";case o:return"StrictMode";case m:return"Suspense";case _:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case l:var j=d;return W(j)+".Consumer";case a:var T=d;return W(T._context)+".Provider";case u:return F(d,d.render,"ForwardRef");case h:var A=d.displayName||null;return A!==null?A:O(d.type)||"Memo";case f:{var R=d,J=R._payload,q=R._init;try{return O(q(J))}catch(V){return null}}}return null}var L=Object.assign,te=0,je,fe,oe,Q,He,Ce,se;function H(){}H.__reactDisabledLog=!0;function K(){{if(te===0){je=console.log,fe=console.info,oe=console.warn,Q=console.error,He=console.group,Ce=console.groupCollapsed,se=console.groupEnd;var d={configurable:!0,enumerable:!0,value:H,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}te++}}function Y(){{if(te--,te===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},d,{value:je}),info:L({},d,{value:fe}),warn:L({},d,{value:oe}),error:L({},d,{value:Q}),group:L({},d,{value:He}),groupCollapsed:L({},d,{value:Ce}),groupEnd:L({},d,{value:se})})}te<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=y.ReactCurrentDispatcher,ye;function G(d,j,T){{if(ye===void 0)try{throw Error()}catch(R){var A=R.stack.trim().match(/\n( *(at )?)/);ye=A&&A[1]||""}return`
18
- `+ye+d}}var ge=!1,he;{var Me=typeof WeakMap=="function"?WeakMap:Map;he=new Me}function Re(d,j){if(!d||ge)return"";{var T=he.get(d);if(T!==void 0)return T}var A;ge=!0;var R=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var J;J=ie.current,ie.current=null,K();try{if(j){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(Ke){A=Ke}Reflect.construct(d,[],q)}else{try{q.call()}catch(Ke){A=Ke}d.call(q.prototype)}}else{try{throw Error()}catch(Ke){A=Ke}d()}}catch(Ke){if(Ke&&A&&typeof Ke.stack=="string"){for(var V=Ke.stack.split(`
19
- `),pe=A.stack.split(`
17
+ */var Hn;function mo(){return Hn||(Hn=1,process.env.NODE_ENV!=="production"&&function(){var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),x=Symbol.iterator,w="@@iterator";function g(d){if(d===null||typeof d!="object")return null;var C=x&&d[x]||d[w];return typeof C=="function"?C:null}var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(d){{for(var C=arguments.length,T=new Array(C>1?C-1:0),F=1;F<C;F++)T[F-1]=arguments[F];j("error",d,T)}}function j(d,C,T){{var F=y.ReactDebugCurrentFrame,R=F.getStackAddendum();R!==""&&(C+="%s",T=T.concat([R]));var J=T.map(function(q){return String(q)});J.unshift("Warning: "+C),Function.prototype.apply.call(console[d],console,J)}}var $=!1,E=!1,z=!1,P=!1,I=!1,D;D=Symbol.for("react.module.reference");function S(d){return!!(typeof d=="string"||typeof d=="function"||d===r||d===s||I||d===o||d===f||d===_||P||d===v||$||E||z||typeof d=="object"&&d!==null&&(d.$$typeof===m||d.$$typeof===h||d.$$typeof===a||d.$$typeof===l||d.$$typeof===u||d.$$typeof===D||d.getModuleId!==void 0))}function A(d,C,T){var F=d.displayName;if(F)return F;var R=C.displayName||C.name||"";return R!==""?T+"("+R+")":T}function W(d){return d.displayName||"Context"}function O(d){if(d==null)return null;if(typeof d.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case r:return"Fragment";case n:return"Portal";case s:return"Profiler";case o:return"StrictMode";case f:return"Suspense";case _:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case l:var C=d;return W(C)+".Consumer";case a:var T=d;return W(T._context)+".Provider";case u:return A(d,d.render,"ForwardRef");case h:var F=d.displayName||null;return F!==null?F:O(d.type)||"Memo";case m:{var R=d,J=R._payload,q=R._init;try{return O(q(J))}catch(V){return null}}}return null}var L=Object.assign,te=0,je,fe,oe,Q,He,Ce,se;function H(){}H.__reactDisabledLog=!0;function K(){{if(te===0){je=console.log,fe=console.info,oe=console.warn,Q=console.error,He=console.group,Ce=console.groupCollapsed,se=console.groupEnd;var d={configurable:!0,enumerable:!0,value:H,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}te++}}function Y(){{if(te--,te===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},d,{value:je}),info:L({},d,{value:fe}),warn:L({},d,{value:oe}),error:L({},d,{value:Q}),group:L({},d,{value:He}),groupCollapsed:L({},d,{value:Ce}),groupEnd:L({},d,{value:se})})}te<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=y.ReactCurrentDispatcher,ye;function G(d,C,T){{if(ye===void 0)try{throw Error()}catch(R){var F=R.stack.trim().match(/\n( *(at )?)/);ye=F&&F[1]||""}return`
18
+ `+ye+d}}var ge=!1,he;{var Me=typeof WeakMap=="function"?WeakMap:Map;he=new Me}function Re(d,C){if(!d||ge)return"";{var T=he.get(d);if(T!==void 0)return T}var F;ge=!0;var R=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var J;J=ie.current,ie.current=null,K();try{if(C){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(Ke){F=Ke}Reflect.construct(d,[],q)}else{try{q.call()}catch(Ke){F=Ke}d.call(q.prototype)}}else{try{throw Error()}catch(Ke){F=Ke}d()}}catch(Ke){if(Ke&&F&&typeof Ke.stack=="string"){for(var V=Ke.stack.split(`
19
+ `),pe=F.stack.split(`
20
20
  `),ne=V.length-1,ae=pe.length-1;ne>=1&&ae>=0&&V[ne]!==pe[ae];)ae--;for(;ne>=1&&ae>=0;ne--,ae--)if(V[ne]!==pe[ae]){if(ne!==1||ae!==1)do if(ne--,ae--,ae<0||V[ne]!==pe[ae]){var Ne=`
21
- `+V[ne].replace(" at new "," at ");return d.displayName&&Ne.includes("<anonymous>")&&(Ne=Ne.replace("<anonymous>",d.displayName)),typeof d=="function"&&he.set(d,Ne),Ne}while(ne>=1&&ae>=0);break}}}finally{ge=!1,ie.current=J,Y(),Error.prepareStackTrace=R}var gt=d?d.displayName||d.name:"",ao=gt?G(gt):"";return typeof d=="function"&&he.set(d,ao),ao}function Ze(d,j,T){return Re(d,!1)}function et(d){var j=d.prototype;return!!(j&&j.isReactComponent)}function Se(d,j,T){if(d==null)return"";if(typeof d=="function")return Re(d,et(d));if(typeof d=="string")return G(d);switch(d){case m:return G("Suspense");case _:return G("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case u:return Ze(d.render);case h:return Se(d.type,j,T);case f:{var A=d,R=A._payload,J=A._init;try{return Se(J(R),j,T)}catch(q){}}}return""}var Pe=Object.prototype.hasOwnProperty,St={},ot=y.ReactDebugCurrentFrame;function vt(d){if(d){var j=d._owner,T=Se(d.type,d._source,j?j.type:null);ot.setExtraStackFrame(T)}else ot.setExtraStackFrame(null)}function nn(d,j,T,A,R){{var J=Function.call.bind(Pe);for(var q in d)if(J(d,q)){var V=void 0;try{if(typeof d[q]!="function"){var pe=Error((A||"React class")+": "+T+" type `"+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw pe.name="Invariant Violation",pe}V=d[q](j,q,A,T,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ne){V=ne}V&&!(V instanceof Error)&&(vt(R),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",A||"React class",T,q,typeof V),vt(null)),V instanceof Error&&!(V.message in St)&&(St[V.message]=!0,vt(R),x("Failed %s type: %s",T,V.message),vt(null))}}}var On=Array.isArray;function Pt(d){return On(d)}function Vn(d){{var j=typeof Symbol=="function"&&Symbol.toStringTag,T=j&&d[Symbol.toStringTag]||d.constructor.name||"Object";return T}}function ve(d){try{return de(d),!1}catch(j){return!0}}function de(d){return""+d}function qe(d){if(ve(d))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Vn(d)),de(d)}var me=y.ReactCurrentOwner,st={key:!0,ref:!0,__self:!0,__source:!0},Ue,ke,Fe;Fe={};function rn(d){if(Pe.call(d,"ref")){var j=Object.getOwnPropertyDescriptor(d,"ref").get;if(j&&j.isReactWarning)return!1}return d.ref!==void 0}function Di(d){if(Pe.call(d,"key")){var j=Object.getOwnPropertyDescriptor(d,"key").get;if(j&&j.isReactWarning)return!1}return d.key!==void 0}function qi(d,j){if(typeof d.ref=="string"&&me.current&&j&&me.current.stateNode!==j){var T=O(me.current.type);Fe[T]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',O(me.current.type),d.ref),Fe[T]=!0)}}function Bi(d,j){{var T=function(){Ue||(Ue=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",j))};T.isReactWarning=!0,Object.defineProperty(d,"key",{get:T,configurable:!0})}}function Wi(d,j){{var T=function(){ke||(ke=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",j))};T.isReactWarning=!0,Object.defineProperty(d,"ref",{get:T,configurable:!0})}}var Hi=function(d,j,T,A,R,J,q){var V={$$typeof:t,type:d,key:j,ref:T,props:q,_owner:J};return V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(V,"_self",{configurable:!1,enumerable:!1,writable:!1,value:A}),Object.defineProperty(V,"_source",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V};function Ri(d,j,T,A,R){{var J,q={},V=null,pe=null;T!==void 0&&(qe(T),V=""+T),Di(j)&&(qe(j.key),V=""+j.key),rn(j)&&(pe=j.ref,qi(j,R));for(J in j)Pe.call(j,J)&&!st.hasOwnProperty(J)&&(q[J]=j[J]);if(d&&d.defaultProps){var ne=d.defaultProps;for(J in ne)q[J]===void 0&&(q[J]=ne[J])}if(V||pe){var ae=typeof d=="function"?d.displayName||d.name||"Unknown":d;V&&Bi(q,ae),pe&&Wi(q,ae)}return Hi(d,V,pe,R,A,me.current,q)}}var Dn=y.ReactCurrentOwner,to=y.ReactDebugCurrentFrame;function pt(d){if(d){var j=d._owner,T=Se(d.type,d._source,j?j.type:null);to.setExtraStackFrame(T)}else to.setExtraStackFrame(null)}var qn;qn=!1;function Bn(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function no(){{if(Dn.current){var d=O(Dn.current.type);if(d)return`
21
+ `+V[ne].replace(" at new "," at ");return d.displayName&&Ne.includes("<anonymous>")&&(Ne=Ne.replace("<anonymous>",d.displayName)),typeof d=="function"&&he.set(d,Ne),Ne}while(ne>=1&&ae>=0);break}}}finally{ge=!1,ie.current=J,Y(),Error.prepareStackTrace=R}var gt=d?d.displayName||d.name:"",ao=gt?G(gt):"";return typeof d=="function"&&he.set(d,ao),ao}function Ze(d,C,T){return Re(d,!1)}function et(d){var C=d.prototype;return!!(C&&C.isReactComponent)}function Se(d,C,T){if(d==null)return"";if(typeof d=="function")return Re(d,et(d));if(typeof d=="string")return G(d);switch(d){case f:return G("Suspense");case _:return G("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case u:return Ze(d.render);case h:return Se(d.type,C,T);case m:{var F=d,R=F._payload,J=F._init;try{return Se(J(R),C,T)}catch(q){}}}return""}var Pe=Object.prototype.hasOwnProperty,St={},ot=y.ReactDebugCurrentFrame;function vt(d){if(d){var C=d._owner,T=Se(d.type,d._source,C?C.type:null);ot.setExtraStackFrame(T)}else ot.setExtraStackFrame(null)}function nn(d,C,T,F,R){{var J=Function.call.bind(Pe);for(var q in d)if(J(d,q)){var V=void 0;try{if(typeof d[q]!="function"){var pe=Error((F||"React class")+": "+T+" type `"+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw pe.name="Invariant Violation",pe}V=d[q](C,q,F,T,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ne){V=ne}V&&!(V instanceof Error)&&(vt(R),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",F||"React class",T,q,typeof V),vt(null)),V instanceof Error&&!(V.message in St)&&(St[V.message]=!0,vt(R),b("Failed %s type: %s",T,V.message),vt(null))}}}var On=Array.isArray;function Pt(d){return On(d)}function Vn(d){{var C=typeof Symbol=="function"&&Symbol.toStringTag,T=C&&d[Symbol.toStringTag]||d.constructor.name||"Object";return T}}function ve(d){try{return ue(d),!1}catch(C){return!0}}function ue(d){return""+d}function qe(d){if(ve(d))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Vn(d)),ue(d)}var me=y.ReactCurrentOwner,st={key:!0,ref:!0,__self:!0,__source:!0},Ue,ke,Ae;Ae={};function rn(d){if(Pe.call(d,"ref")){var C=Object.getOwnPropertyDescriptor(d,"ref").get;if(C&&C.isReactWarning)return!1}return d.ref!==void 0}function Di(d){if(Pe.call(d,"key")){var C=Object.getOwnPropertyDescriptor(d,"key").get;if(C&&C.isReactWarning)return!1}return d.key!==void 0}function qi(d,C){if(typeof d.ref=="string"&&me.current&&C&&me.current.stateNode!==C){var T=O(me.current.type);Ae[T]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',O(me.current.type),d.ref),Ae[T]=!0)}}function Bi(d,C){{var T=function(){Ue||(Ue=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",C))};T.isReactWarning=!0,Object.defineProperty(d,"key",{get:T,configurable:!0})}}function Wi(d,C){{var T=function(){ke||(ke=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",C))};T.isReactWarning=!0,Object.defineProperty(d,"ref",{get:T,configurable:!0})}}var Hi=function(d,C,T,F,R,J,q){var V={$$typeof:t,type:d,key:C,ref:T,props:q,_owner:J};return V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(V,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(V,"_source",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V};function Ri(d,C,T,F,R){{var J,q={},V=null,pe=null;T!==void 0&&(qe(T),V=""+T),Di(C)&&(qe(C.key),V=""+C.key),rn(C)&&(pe=C.ref,qi(C,R));for(J in C)Pe.call(C,J)&&!st.hasOwnProperty(J)&&(q[J]=C[J]);if(d&&d.defaultProps){var ne=d.defaultProps;for(J in ne)q[J]===void 0&&(q[J]=ne[J])}if(V||pe){var ae=typeof d=="function"?d.displayName||d.name||"Unknown":d;V&&Bi(q,ae),pe&&Wi(q,ae)}return Hi(d,V,pe,R,F,me.current,q)}}var Dn=y.ReactCurrentOwner,to=y.ReactDebugCurrentFrame;function pt(d){if(d){var C=d._owner,T=Se(d.type,d._source,C?C.type:null);to.setExtraStackFrame(T)}else to.setExtraStackFrame(null)}var qn;qn=!1;function Bn(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function no(){{if(Dn.current){var d=O(Dn.current.type);if(d)return`
22
22
 
23
- Check the render method of \``+d+"`."}return""}}function Ui(d){{if(d!==void 0){var j=d.fileName.replace(/^.*[\\\/]/,""),T=d.lineNumber;return`
23
+ Check the render method of \``+d+"`."}return""}}function Ui(d){{if(d!==void 0){var C=d.fileName.replace(/^.*[\\\/]/,""),T=d.lineNumber;return`
24
24
 
25
- Check your code at `+j+":"+T+"."}return""}}var ro={};function Ki(d){{var j=no();if(!j){var T=typeof d=="string"?d:d.displayName||d.name;T&&(j=`
25
+ Check your code at `+C+":"+T+"."}return""}}var ro={};function Ki(d){{var C=no();if(!C){var T=typeof d=="string"?d:d.displayName||d.name;T&&(C=`
26
26
 
27
- Check the top-level render call using <`+T+">.")}return j}}function oo(d,j){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var T=Ki(j);if(ro[T])return;ro[T]=!0;var A="";d&&d._owner&&d._owner!==Dn.current&&(A=" It was passed a child from "+O(d._owner.type)+"."),pt(d),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',T,A),pt(null)}}function so(d,j){{if(typeof d!="object")return;if(Pt(d))for(var T=0;T<d.length;T++){var A=d[T];Bn(A)&&oo(A,j)}else if(Bn(d))d._store&&(d._store.validated=!0);else if(d){var R=g(d);if(typeof R=="function"&&R!==d.entries)for(var J=R.call(d),q;!(q=J.next()).done;)Bn(q.value)&&oo(q.value,j)}}}function Yi(d){{var j=d.type;if(j==null||typeof j=="string")return;var T;if(typeof j=="function")T=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===u||j.$$typeof===h))T=j.propTypes;else return;if(T){var A=O(j);nn(T,d.props,"prop",A,d)}else if(j.PropTypes!==void 0&&!qn){qn=!0;var R=O(j);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Gi(d){{for(var j=Object.keys(d.props),T=0;T<j.length;T++){var A=j[T];if(A!=="children"&&A!=="key"){pt(d),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",A),pt(null);break}}d.ref!==null&&(pt(d),x("Invalid attribute `ref` supplied to `React.Fragment`."),pt(null))}}function io(d,j,T,A,R,J){{var q=S(d);if(!q){var V="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(V+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var pe=Ui(R);pe?V+=pe:V+=no();var ne;d===null?ne="null":Pt(d)?ne="array":d!==void 0&&d.$$typeof===t?(ne="<"+(O(d.type)||"Unknown")+" />",V=" Did you accidentally export a JSX literal instead of a component?"):ne=typeof d,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ne,V)}var ae=Ri(d,j,T,R,J);if(ae==null)return ae;if(q){var Ne=j.children;if(Ne!==void 0)if(A)if(Pt(Ne)){for(var gt=0;gt<Ne.length;gt++)so(Ne[gt],d);Object.freeze&&Object.freeze(Ne)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else so(Ne,d)}return d===r?Gi(ae):Yi(ae),ae}}function Xi(d,j,T){return io(d,j,T,!0)}function Ji(d,j,T){return io(d,j,T,!1)}var Qi=Ji,Zi=Xi;xt.Fragment=r,xt.jsx=Qi,xt.jsxs=Zi}()),xt}process.env.NODE_ENV==="production"?be.exports=_o():be.exports=mo();var i=be.exports;const Rn=(e,t=20)=>{let n;return(...o)=>{clearTimeout(n),n=setTimeout(()=>e(...o),t)}};function fo(e,t){const n=Rn(e,t);return r=>("persist"in r&&r.persist(),n(r))}const ho=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>{n=!1,setTimeout(()=>{n||e(...r)},t)},t))}},M=(...e)=>e.reduce((t,n)=>{if(Array.isArray(n)){const r=M(...n);return r?`${t} ${r}`:t}return n?`${t} ${n}`:t},""),Un=(e,t,n)=>{const{base:r,excludeValueFromClassName:o}=n||{},s=typeof e=="string"?e:e(t);return t===!0&&r||o?s:t===!0&&!r?`${s}-true`:t===!1&&!r?`${s}-false`:t!==void 0?`${s}-${t}`:null},B=(e,t,n,r)=>{if(typeof n!="object"){const o=Un(t,n,{base:!0,excludeValueFromClassName:r==null?void 0:r.excludeValueFromClassName});return o?[e[o]]:[]}return Object.keys(n).reduce((o,s)=>{const a=s==="s",l=Un(t,n[s],{base:a,excludeValueFromClassName:r==null?void 0:r.excludeValueFromClassName}),u=a?"":`--${s}`;return[...o,e[`${l}${u}`]]},[])},re=(e,t)=>t===void 0?{}:typeof t!="object"?{[`${e}-s`]:t}:Object.keys(t).reduce((n,r)=>{const o=t[r];return o===void 0||o===!1?n:k(p({},n),{[`${e}-${r}`]:o})},{}),vo=e=>e===null?!1:typeof e=="object"&&e!==null&&"s"in e,Le=(e,t)=>vo(e)?Object.keys(e).reduce((r,o)=>{const s=e[o];return s==null?r:k(p({},r),{[o]:t(s,o)})},{}):t(e,"s"),$e=e=>{const t=c.useId();return e||t},sn=c.createContext({active:!1,onToggle:()=>{},triggerId:"",contentId:""}),Kn=e=>{const{children:t,onToggle:n,active:r,iconPosition:o,iconSize:s,className:a,attributes:l}=e,u=M(a),m=$e(),_=c.useMemo(()=>({triggerId:`${m}-trigger`,contentId:`${m}-content`,active:r,onToggle:n,iconPosition:o,iconSize:s}),[r]);return i.jsx("div",k(p({},l),{className:u,children:i.jsx(sn.Provider,{value:_,children:t})}))},po=e=>{const l=e,{defaultActive:t,onToggle:n}=l,r=Ae(l,["defaultActive","onToggle"]),[o,s]=c.useState(t||!1),a=u=>{s(u),n==null||n(u)};return i.jsx(Kn,k(p({},r),{onToggle:a,active:o}))},yt={root:"_root_1e7nv_1","--disabled":"_--disabled_1e7nv_28","--full-width":"_--full-width_1e7nv_37","--inset":"_--inset_1e7nv_45","--radius-inherit":"_--radius-inherit_1e7nv_49"},go=(e,t)=>{const{children:n,href:r,onClick:o,type:s,disabled:a,insetFocus:l,borderRadius:u,as:m,fullWidth:_,className:h,attributes:f}=e,v=M(yt.root,h,a&&yt["--disabled"],u&&yt[`--radius-${u}`],l&&yt["--inset"],_&&yt["--full-width"]),b=p({},f),w=c.useRef(!1),g=o||(f==null?void 0:f.onClick),y=(f==null?void 0:f.onFocus)||(f==null?void 0:f.onBlur),x=!!(r||f!=null&&f.href),C=!!(g||y||s);let $;if(x)b.href=a?void 0:r||(f==null?void 0:f.href),$="a";else if(C&&(!m||m==="button"))$="button",b.type=s||(f==null?void 0:f.type)||"button",b.disabled=a||(f==null?void 0:f.disabled);else if(C){const D=!(m==="label")||g||y;$=m||"span",b.role=D?"button":void 0,b.tabIndex=D?0:void 0}else $=m||"span";const E=I=>{var D;a||w.current||(o==null||o(I),(D=f==null?void 0:f.onClick)==null||D.call(f,I))},z=I=>{if(b.role==="button"||x)return;const S=I.key===" ",F=I.key==="Enter";!S&&!F||(I.preventDefault(),E(I),w.current=!0)},P=()=>{w.current=!1};return i.jsx($,k(p({ref:t},b),{className:v,onClick:E,onKeyDown:z,onKeyUp:P,children:n}))},Oe=c.forwardRef(go),an={root:"_root_m2bn1_1","--blank":"_--blank_m2bn1_8","--vertical":"_--vertical_m2bn1_15","--vertical-true--m":"_--vertical-true--m_m2bn1_1","--vertical-false--m":"_--vertical-false--m_m2bn1_1","--vertical-true--l":"_--vertical-true--l_m2bn1_1","--vertical-false--l":"_--vertical-false--l_m2bn1_1","--vertical-true--xl":"_--vertical-true--xl_m2bn1_1","--vertical-false--xl":"_--vertical-false--xl_m2bn1_1"},Yn=e=>{const{vertical:t,blank:n,className:r,attributes:o}=e,s=M(an.root,r,n&&an["--blank"],...B(an,"--vertical",t));let a;return(typeof t=="boolean"||t===void 0)&&(a=t?"vertical":"horizontal"),i.jsx("div",k(p({},o),{role:"separator","aria-orientation":a,className:s}))},Ft={root:"_root_1sx8x_6","--display-inline":"_--display-inline_1sx8x_12","--display-flex":"_--display-flex_1sx8x_16","--hidden":"_--hidden_1sx8x_20","--visibility":"_--visibility_1sx8x_24","--hidden-true--m":"_--hidden-true--m_1sx8x_1","--hidden-false--m":"_--hidden-false--m_1sx8x_1","--hidden-true--l":"_--hidden-true--l_1sx8x_1","--hidden-false--l":"_--hidden-false--l_1sx8x_1","--hidden-true--xl":"_--hidden-true--xl_1sx8x_1","--hidden-false--xl":"_--hidden-false--xl_1sx8x_1"},ln=e=>{const{as:t="div",children:n,visibility:r,hide:o,displayStyle:s}=e,a=M(Ft.root,...B(Ft,"--hidden",o),r&&Ft["--visibility"],s&&Ft[`--display-${s}`]);return typeof n=="function"?i.jsx(i.Fragment,{children:n(a)}):i.jsx(t,{className:a,children:n})},X={root:"_root_18paf_1",item:"_item_18paf_10","--padding":"_--padding_18paf_18","--padding-top":"_--padding-top_18paf_23","--padding-bottom":"_--padding-bottom_18paf_27","--padding-start":"_--padding-start_18paf_31","--padding-end":"_--padding-end_18paf_35","--animated":"_--animated_18paf_39","--align-text-start":"_--align-text-start_18paf_1","--align-text-center":"_--align-text-center_18paf_1","--align-text-end":"_--align-text-end_18paf_1","--bg-neutral":"_--bg-neutral_18paf_1","--bg-positive":"_--bg-positive_18paf_1","--bg-critical":"_--bg-critical_18paf_1","--bg-primary":"_--bg-primary_18paf_1","--bg-neutral-faded":"_--bg-neutral-faded_18paf_1","--bg-positive-faded":"_--bg-positive-faded_18paf_1","--bg-critical-faded":"_--bg-critical-faded_18paf_1","--bg-primary-faded":"_--bg-primary-faded_18paf_1","--bg-page":"_--bg-page_18paf_1","--bg-page-faded":"_--bg-page-faded_18paf_1","--bg-disabled":"_--bg-disabled_18paf_1","--bg-disabled-faded":"_--bg-disabled-faded_18paf_1","--bg-elevation-base":"_--bg-elevation-base_18paf_1","--bg-elevation-raised":"_--bg-elevation-raised_18paf_1","--bg-elevation-overlay":"_--bg-elevation-overlay_18paf_1","--bg-white":"_--bg-white_18paf_66","--bg-black":"_--bg-black_18paf_71","--shadow-raised":"_--shadow-raised_18paf_76","--shadow-overlay":"_--shadow-overlay_18paf_80","--bd":"_--bd_18paf_84","--bd-neutral-faded":"_--bd-neutral-faded_18paf_1","--bd-neutral":"_--bd-neutral_18paf_1","--bd-positive":"_--bd-positive_18paf_1","--bd-positive-faded":"_--bd-positive-faded_18paf_1","--bd-critical":"_--bd-critical_18paf_1","--bd-critical-faded":"_--bd-critical-faded_18paf_1","--bd-primary":"_--bd-primary_18paf_1","--bd-primary-faded":"_--bd-primary-faded_18paf_1","--bd-transparent":"_--bd-transparent_18paf_96","--overflow-hidden":"_--overflow-hidden_18paf_100","--divided":"_--divided_18paf_104","--flex":"_--flex_18paf_108","--direction-column":"_--direction-column_18paf_1","item--gap-before":"_item--gap-before_18paf_120","item--gap-auto":"_item--gap-auto_18paf_124","--direction-column-reverse":"_--direction-column-reverse_18paf_1","--direction-row":"_--direction-row_18paf_1","--direction-row-reverse":"_--direction-row-reverse_18paf_1","--nowrap":"_--nowrap_18paf_179","--wrap":"_--wrap_18paf_187","--nowrap-false--m":"_--nowrap-false--m_18paf_1","--wrap-true--m":"_--wrap-true--m_18paf_1","--nowrap-true--m":"_--nowrap-true--m_18paf_1","--wrap-false--m":"_--wrap-false--m_18paf_1","--nowrap-false--l":"_--nowrap-false--l_18paf_1","--wrap-true--l":"_--wrap-true--l_18paf_1","--nowrap-true--l":"_--nowrap-true--l_18paf_1","--wrap-false--l":"_--wrap-false--l_18paf_1","--nowrap-false--xl":"_--nowrap-false--xl_18paf_1","--wrap-true--xl":"_--wrap-true--xl_18paf_1","--nowrap-true--xl":"_--nowrap-true--xl_18paf_1","--wrap-false--xl":"_--wrap-false--xl_18paf_1","--align-start":"_--align-start_18paf_1","--align-end":"_--align-end_18paf_1","--align-center":"_--align-center_18paf_1","--align-stretch":"_--align-stretch_18paf_1","--align-baseline":"_--align-baseline_18paf_1","--justify-start":"_--justify-start_18paf_1","--justify-end":"_--justify-end_18paf_1","--justify-center":"_--justify-center_18paf_1",divider:"_divider_18paf_242","item--grow":"_item--grow_18paf_246","item--columns-1":"_item--columns-1_18paf_1","item--columns-2":"_item--columns-2_18paf_1","item--columns-3":"_item--columns-3_18paf_1","item--columns-4":"_item--columns-4_18paf_1","item--columns-5":"_item--columns-5_18paf_1","item--columns-6":"_item--columns-6_18paf_1","item--columns-7":"_item--columns-7_18paf_1","item--columns-8":"_item--columns-8_18paf_1","item--columns-9":"_item--columns-9_18paf_1","item--columns-10":"_item--columns-10_18paf_1","item--columns-11":"_item--columns-11_18paf_1","item--columns-12":"_item--columns-12_18paf_1","item--columns-auto":"_item--columns-auto_18paf_279","item--columns-1--m":"_item--columns-1--m_18paf_1","item--columns-auto--m":"_item--columns-auto--m_18paf_1","item--columns-2--m":"_item--columns-2--m_18paf_1","item--columns-3--m":"_item--columns-3--m_18paf_1","item--columns-4--m":"_item--columns-4--m_18paf_1","item--columns-5--m":"_item--columns-5--m_18paf_1","item--columns-6--m":"_item--columns-6--m_18paf_1","item--columns-7--m":"_item--columns-7--m_18paf_1","item--columns-8--m":"_item--columns-8--m_18paf_1","item--columns-9--m":"_item--columns-9--m_18paf_1","item--columns-10--m":"_item--columns-10--m_18paf_1","item--columns-11--m":"_item--columns-11--m_18paf_1","item--columns-12--m":"_item--columns-12--m_18paf_1","item--columns-1--l":"_item--columns-1--l_18paf_1","item--columns-auto--l":"_item--columns-auto--l_18paf_1","item--columns-2--l":"_item--columns-2--l_18paf_1","item--columns-3--l":"_item--columns-3--l_18paf_1","item--columns-4--l":"_item--columns-4--l_18paf_1","item--columns-5--l":"_item--columns-5--l_18paf_1","item--columns-6--l":"_item--columns-6--l_18paf_1","item--columns-7--l":"_item--columns-7--l_18paf_1","item--columns-8--l":"_item--columns-8--l_18paf_1","item--columns-9--l":"_item--columns-9--l_18paf_1","item--columns-10--l":"_item--columns-10--l_18paf_1","item--columns-11--l":"_item--columns-11--l_18paf_1","item--columns-12--l":"_item--columns-12--l_18paf_1","item--columns-1--xl":"_item--columns-1--xl_18paf_1","item--columns-auto--xl":"_item--columns-auto--xl_18paf_1","item--columns-2--xl":"_item--columns-2--xl_18paf_1","item--columns-3--xl":"_item--columns-3--xl_18paf_1","item--columns-4--xl":"_item--columns-4--xl_18paf_1","item--columns-5--xl":"_item--columns-5--xl_18paf_1","item--columns-6--xl":"_item--columns-6--xl_18paf_1","item--columns-7--xl":"_item--columns-7--xl_18paf_1","item--columns-8--xl":"_item--columns-8--xl_18paf_1","item--columns-9--xl":"_item--columns-9--xl_18paf_1","item--columns-10--xl":"_item--columns-10--xl_18paf_1","item--columns-11--xl":"_item--columns-11--xl_18paf_1","item--columns-12--xl":"_item--columns-12--xl_18paf_1","--direction-column--m":"_--direction-column--m_18paf_1","--direction-column-reverse--m":"_--direction-column-reverse--m_18paf_1","--direction-row--m":"_--direction-row--m_18paf_1","--direction-row-reverse--m":"_--direction-row-reverse--m_18paf_1","--align-start--m":"_--align-start--m_18paf_1","--align-end--m":"_--align-end--m_18paf_1","--align-center--m":"_--align-center--m_18paf_1","--align-stretch--m":"_--align-stretch--m_18paf_1","--align-baseline--m":"_--align-baseline--m_18paf_1","--justify-start--m":"_--justify-start--m_18paf_1","--justify-end--m":"_--justify-end--m_18paf_1","--justify-center--m":"_--justify-center--m_18paf_1","item--grow-true--m":"_item--grow-true--m_18paf_1","item--grow-false--m":"_item--grow-false--m_18paf_1","--direction-column--l":"_--direction-column--l_18paf_1","--direction-column-reverse--l":"_--direction-column-reverse--l_18paf_1","--direction-row--l":"_--direction-row--l_18paf_1","--direction-row-reverse--l":"_--direction-row-reverse--l_18paf_1","--align-start--l":"_--align-start--l_18paf_1","--align-end--l":"_--align-end--l_18paf_1","--align-center--l":"_--align-center--l_18paf_1","--align-stretch--l":"_--align-stretch--l_18paf_1","--align-baseline--l":"_--align-baseline--l_18paf_1","--justify-start--l":"_--justify-start--l_18paf_1","--justify-end--l":"_--justify-end--l_18paf_1","--justify-center--l":"_--justify-center--l_18paf_1","item--grow-true--l":"_item--grow-true--l_18paf_1","item--grow-false--l":"_item--grow-false--l_18paf_1","--direction-column--xl":"_--direction-column--xl_18paf_1","--direction-column-reverse--xl":"_--direction-column-reverse--xl_18paf_1","--direction-row--xl":"_--direction-row--xl_18paf_1","--direction-row-reverse--xl":"_--direction-row-reverse--xl_18paf_1","--align-start--xl":"_--align-start--xl_18paf_1","--align-end--xl":"_--align-end--xl_18paf_1","--align-center--xl":"_--align-center--xl_18paf_1","--align-stretch--xl":"_--align-stretch--xl_18paf_1","--align-baseline--xl":"_--align-baseline--xl_18paf_1","--justify-start--xl":"_--justify-start--xl_18paf_1","--justify-end--xl":"_--justify-end--xl_18paf_1","--justify-center--xl":"_--justify-center--xl_18paf_1","item--grow-true--xl":"_item--grow-true--xl_18paf_1","item--grow-false--xl":"_item--grow-false--xl_18paf_1"},Gn={root:"_root_fjri8_1","--radius-none":"_--radius-none_fjri8_1","--radius-small":"_--radius-small_fjri8_1","--radius-medium":"_--radius-medium_fjri8_1","--radius-large":"_--radius-large_fjri8_1","--radius-circular":"_--radius-circular_fjri8_1","--radius-none--m":"_--radius-none--m_fjri8_1","--radius-small--m":"_--radius-small--m_fjri8_1","--radius-medium--m":"_--radius-medium--m_fjri8_1","--radius-large--m":"_--radius-large--m_fjri8_1","--radius-circular--m":"_--radius-circular--m_fjri8_1","--radius-none--l":"_--radius-none--l_fjri8_1","--radius-small--l":"_--radius-small--l_fjri8_1","--radius-medium--l":"_--radius-medium--l_fjri8_1","--radius-large--l":"_--radius-large--l_fjri8_1","--radius-circular--l":"_--radius-circular--l_fjri8_1","--radius-none--xl":"_--radius-none--xl_fjri8_1","--radius-small--xl":"_--radius-small--xl_fjri8_1","--radius-medium--xl":"_--radius-medium--xl_fjri8_1","--radius-large--xl":"_--radius-large--xl_fjri8_1","--radius-circular--xl":"_--radius-circular--xl_fjri8_1"},cn=e=>e?{classNames:[Gn.root,...B(Gn,"--radius",e)]}:null,Xn={root:"_root_o5mer_1","--bleed":"_--bleed_o5mer_10","--bleed-true--m":"_--bleed-true--m_o5mer_1","--bleed-false--m":"_--bleed-false--m_o5mer_1","--bleed-true--l":"_--bleed-true--l_o5mer_1","--bleed-false--l":"_--bleed-false--l_o5mer_1","--bleed-true--xl":"_--bleed-true--xl_o5mer_1","--bleed-false--xl":"_--bleed-false--xl_o5mer_1"},Jn=e=>{if(e===void 0)return null;const t=[Xn.root,...B(Xn,"--bleed",Le(e,r=>typeof r=="number"&&r>0))],n=re("--rs-bleed",e);return{classNames:t,variables:n}},bo={literal:"_literal_1a6gk_1",unit:"_unit_1a6gk_5","literal--m":"_literal--m_1a6gk_1","unit--m":"_unit--m_1a6gk_1","literal--l":"_literal--l_1a6gk_1","unit--l":"_unit--l_1a6gk_1","literal--xl":"_literal--xl_1a6gk_1","unit--xl":"_unit--xl_1a6gk_1"},Qn=e=>{if(!e)return null;const t=re("--rs-w",e);return{classNames:B(bo,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},xo={literal:"_literal_ea0g1_1",unit:"_unit_ea0g1_2","literal--m":"_literal--m_ea0g1_1","unit--m":"_unit--m_ea0g1_1","literal--l":"_literal--l_ea0g1_1","unit--l":"_unit--l_ea0g1_1","literal--xl":"_literal--xl_ea0g1_1","unit--xl":"_unit--xl_ea0g1_1"},wt=e=>{if(!e)return null;const t=re("--rs-h",e);return{classNames:B(xo,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},yo={literal:"_literal_ezw0c_1",unit:"_unit_ezw0c_5","literal--m":"_literal--m_ezw0c_1","unit--m":"_unit--m_ezw0c_1","literal--l":"_literal--l_ezw0c_1","unit--l":"_unit--l_ezw0c_1","literal--xl":"_literal--xl_ezw0c_1","unit--xl":"_unit--xl_ezw0c_1"},wo=e=>{if(!e)return null;const t=re("--rs-max-w",e);return{classNames:B(yo,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},jo={literal:"_literal_kt8jw_1",unit:"_unit_kt8jw_5","literal--m":"_literal--m_kt8jw_1","unit--m":"_unit--m_kt8jw_1","literal--l":"_literal--l_kt8jw_1","unit--l":"_unit--l_kt8jw_1","literal--xl":"_literal--xl_kt8jw_1","unit--xl":"_unit--xl_kt8jw_1"},Co=e=>{if(!e)return null;const t=re("--rs-max-h",e);return{classNames:B(jo,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},ko={"--position-relative":"_--position-relative_eidrq_1","--position-absolute":"_--position-absolute_eidrq_1","--position-fixed":"_--position-fixed_eidrq_1","--position-sticky":"_--position-sticky_eidrq_1","--position-relative--m":"_--position-relative--m_eidrq_1","--position-absolute--m":"_--position-absolute--m_eidrq_1","--position-fixed--m":"_--position-fixed--m_eidrq_1","--position-sticky--m":"_--position-sticky--m_eidrq_1","--position-relative--l":"_--position-relative--l_eidrq_1","--position-absolute--l":"_--position-absolute--l_eidrq_1","--position-fixed--l":"_--position-fixed--l_eidrq_1","--position-sticky--l":"_--position-sticky--l_eidrq_1","--position-relative--xl":"_--position-relative--xl_eidrq_1","--position-absolute--xl":"_--position-absolute--xl_eidrq_1","--position-fixed--xl":"_--position-fixed--xl_eidrq_1","--position-sticky--xl":"_--position-sticky--xl_eidrq_1"},No=e=>e?{classNames:B(ko,"--position",e)}:null,$o={"--inset":"_--inset_17xwz_1","--inset-end":"_--inset-end_17xwz_27","--inset-start":"_--inset-start_17xwz_31","--inset-top":"_--inset-top_17xwz_35","--inset-bottom":"_--inset-bottom_17xwz_39","--inset-end--m":"_--inset-end--m_17xwz_1","--inset-start--m":"_--inset-start--m_17xwz_1","--inset-top--m":"_--inset-top--m_17xwz_1","--inset-bottom--m":"_--inset-bottom--m_17xwz_1","--inset-end--l":"_--inset-end--l_17xwz_1","--inset-start--l":"_--inset-start--l_17xwz_1","--inset-top--l":"_--inset-top--l_17xwz_1","--inset-bottom--l":"_--inset-bottom--l_17xwz_1","--inset-end--xl":"_--inset-end--xl_17xwz_1","--inset-start--xl":"_--inset-start--xl_17xwz_1","--inset-top--xl":"_--inset-top--xl_17xwz_1","--inset-bottom--xl":"_--inset-bottom--xl_17xwz_1"},jt=(e,t)=>{if(e===void 0)return null;const n=t?`-${t}`:"",r=`--rs-inset${n}`,o=re(r,e);return{classNames:B($o,`--inset${n}`,e,{excludeValueFromClassName:!0}),variables:o}},Eo={root:"_root_i342i_1"},zo=e=>{if(!e)return null;const t=re("--rs-ratio",e);return{classNames:Eo.root,variables:t}},Zn=e=>{const{columns:t,grow:n,gapBefore:r,as:o="div",order:s,children:a,className:l,attributes:u}=e,m=M(X.item,l,r==="auto"&&X["item--gap-auto"],r!==void 0&&X["item--gap-before"],...B(X,"item--grow",n),...B(X,"item--columns",t)),_=p(p({},re("--rs-view-item-order",s)),re("--rs-view-item-gap-before",r));return i.jsx(o,k(p({},u),{style:p(p({},u==null?void 0:u.style),_),className:m,children:a}))},U=e=>{const{align:t,justify:n,wrap:r,gap:o,height:s,width:a,aspectRatio:l,maxHeight:u,maxWidth:m,padding:_,paddingInline:h,paddingBlock:f,paddingBottom:v,paddingEnd:b,paddingStart:w,paddingTop:g,bleed:y,animated:x,backgroundColor:C,borderColor:$,borderRadius:E,shadow:z,textAlign:P,overflow:I,position:D="relative",inset:S,insetTop:F,insetBottom:W,insetStart:O,insetEnd:L,zIndex:te,grow:je,as:fe="div",children:oe,divided:Q,className:He,attributes:Ce}=e,se=!!t||!!n||!!o||!!e.direction,H=e.direction||(se?"column":void 0),K=cn(E),Y=Jn(y),ie=Qn(a),ye=wt(s),G=wo(m),ge=Co(u),he=No(D),Me=jt(S),Re=jt(F,"top"),Ze=jt(W,"bottom"),et=jt(O,"start"),Se=jt(L,"end"),Pe=zo(l);let St=0,ot;const vt=({className:ve,key:de})=>{const qe=M(X.divider,ve);let me=!1;return typeof H=="string"&&H.startsWith("row")?me=!0:H&&(me=Object.keys(H).reduce((Ue,ke)=>{const Fe=H[ke];return Fe?k(p({},Ue),{[ke]:Fe.startsWith("row")}):Ue},{})),i.jsx("div",{className:qe,children:i.jsx(Yn,{vertical:me,blank:!0})},`${de}-divider`)},nn=({className:ve,child:de,index:qe})=>{var Fe,rn;const me=de.type===Zn,st=de.key||qe,Ue=!!qe&&Q&&vt({className:ve,key:st});let ke;return me?ke=c.cloneElement(de,{className:M(ve,de.props.className)}):ve||!c.isValidElement(de)?ke=i.jsx("div",{className:ve,children:de},st):ke=de,me&&((Fe=de.props)!=null&&Fe.grow)&&(ot=de.props.grow),me&&((rn=de.props)==null?void 0:rn.gap)==="auto"&&(ot=!0),[Ue,ke]},On=c.Children.map(oe,(ve,de)=>{if(!ve)return null;const qe=St;if(St+=1,ve.type===ln&&typeof ve.props.children!="function"){const me=ve.props,{children:st}=me,Ue=Ae(me,["children"]),ke=ve.key||de;return c.createElement(ln,k(p({},Ue),{key:ke}),Fe=>nn({className:Fe,child:st,index:qe}))}return nn({child:ve,index:qe})}),Pt=M(X.root,He,K==null?void 0:K.classNames,he==null?void 0:he.classNames,Y==null?void 0:Y.classNames,ie==null?void 0:ie.classNames,ye==null?void 0:ye.classNames,Pe==null?void 0:Pe.classNames,G==null?void 0:G.classNames,ge==null?void 0:ge.classNames,Me==null?void 0:Me.classNames,Re==null?void 0:Re.classNames,Ze==null?void 0:Ze.classNames,et==null?void 0:et.classNames,Se==null?void 0:Se.classNames,P&&X[`--align-text-${P}`],C&&X[`--bg-${C}`],$&&X[`--bd-${$}`],$&&X["--bd"],z&&X[`--shadow-${z}`],I&&X[`--overflow-${I}`],x&&X["--animated"],Q&&X["--divided"],(_!==void 0||h!==void 0||f!==void 0)&&X["--padding"],v!==void 0&&X["--padding-bottom"],b!==void 0&&X["--padding-end"],w!==void 0&&X["--padding-start"],g!==void 0&&X["--padding-top"],(se||ot)&&X["--flex"],...B(X,"--direction",H),...B(X,"--align",t),...B(X,"--justify",n),...B(X,"--nowrap",ot||r===!1),...B(X,"--wrap",r),...B(X,"item--grow",je)),Vn=p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p({},Ce==null?void 0:Ce.style),re("--rs-view-gap",o)),re("--rs-view-p-vertical",f||_)),re("--rs-view-p-horizontal",h||_)),re("--rs-view-p-bottom",v)),re("--rs-view-p-top",g)),re("--rs-view-p-start",w)),re("--rs-view-p-end",b)),Y==null?void 0:Y.variables),ie==null?void 0:ie.variables),ye==null?void 0:ye.variables),Pe==null?void 0:Pe.variables),G==null?void 0:G.variables),ge==null?void 0:ge.variables),Me==null?void 0:Me.variables),Re==null?void 0:Re.variables),Ze==null?void 0:Ze.variables),et==null?void 0:et.variables),Se==null?void 0:Se.variables),te?{"--rs-view-z":te}:{});return i.jsx(fe,k(p({},Ce),{className:Pt,style:Vn,children:On}))};U.Item=Zn;const un={root:"_root_1f0uh_1","--auto":"_--auto_1f0uh_8","--color-neutral":"_--color-neutral_1f0uh_1","--color-neutral-faded":"_--color-neutral-faded_1f0uh_1","--color-primary":"_--color-primary_1f0uh_1","--color-positive":"_--color-positive_1f0uh_1","--color-critical":"_--color-critical_1f0uh_1","--color-disabled":"_--color-disabled_1f0uh_1"},ce=e=>{const{svg:t,className:n,color:r,size:o="1em",autoWidth:s,attributes:a}=e,l=wt(o),u=M(un.root,n,l==null?void 0:l.classNames,r&&un[`--color-${r}`],s&&un["--auto"]),m=typeof t=="object"?t:i.jsx(t,{}),_=p(p({},a==null?void 0:a.style),l==null?void 0:l.variables);return i.jsx("span",k(p({},a),{"aria-hidden":"true",className:u,style:_,children:c.cloneElement(m,{focusable:!1})}))},To=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"6 9 12 15 18 9"})}),Ct={content:"_content_fcvpf_1","content--animated":"_content--animated_fcvpf_6",icon:"_icon_fcvpf_13","icon--active":"_icon--active_fcvpf_17"},Io=e=>{const{children:t}=e,{active:n,onToggle:r,triggerId:o,contentId:s,iconPosition:a="end",iconSize:l}=c.useContext(sn),u=M(Ct.icon,n&&Ct["icon--active"]),m=()=>{r==null||r(!n)},_={"aria-expanded":n,"aria-controls":s,id:o};return typeof t=="function"?i.jsx(i.Fragment,{children:t(k(p({},_),{onClick:m}),{active:n})}):i.jsx(Oe,{onClick:m,fullWidth:!0,attributes:_,children:i.jsxs(U,{gap:2,direction:a==="start"?"row-reverse":"row",align:"center",children:[i.jsx(U.Item,{grow:!0,children:t}),i.jsx(ce,{size:l||4,svg:To,className:u})]})})},kt=e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>e())})},dn="data-rs-no-transition",Mo=()=>{document.documentElement.setAttribute(dn,"true")},So=()=>{document.documentElement.removeAttribute(dn)},Po=()=>!document.documentElement.hasAttribute(dn),Fo=e=>{const{children:t}=e,{active:n,triggerId:r,contentId:o}=c.useContext(sn),s=c.useRef(null),a=c.useRef(!1),[l,u]=c.useState(n?"auto":null),m=M(Ct.content,a.current&&l!=="auto"&&Ct["content--animated"],n&&Ct["content--active"]),_=h=>{h.propertyName==="height"&&u(n?"auto":null)};return c.useEffect(()=>{kt(()=>{a.current=!0})},[]),c.useEffect(()=>{const h=s.current;if(!h||!a.current)return;let f=0;n&&(h.style.height="auto",f=h.clientHeight,h.style.height="0"),n||(h.style.height=`${h.clientHeight}px`),u(f)},[n]),i.jsx("div",{className:m,ref:s,style:l!==null?{height:l}:void 0,onTransitionEnd:_,"aria-labelledby":r,id:o,role:"region",hidden:!n&&l===null,children:t})},_n=e=>{const{active:t}=e;return t!==void 0?i.jsx(Kn,p({},e)):i.jsx(po,p({},e))};_n.Trigger=Io,_n.Content=Fo;const mn={root:"_root_dv5cm_1","--position-bottom":"_--position-bottom_dv5cm_32","--position-top":"_--position-top_dv5cm_1","--elevated":"_--elevated_dv5cm_16"},Ao=e=>{const{position:t="bottom",padding:n,paddingBlock:r=3,paddingInline:o=4,children:s,elevated:a,className:l,attributes:u}=e,m=M(mn.root,a&&mn["--elevated"],t&&mn[`--position-${t}`],l);return i.jsx(U,{className:m,attributes:u,paddingBlock:n||r,paddingInline:n||o,children:s})},tt={root:"_root_gm5sj_1","--clamp":"_--clamp_gm5sj_6","--align-start":"_--align-start_gm5sj_1","--align-center":"_--align-center_gm5sj_1","--align-end":"_--align-end_gm5sj_1","--variant-title-1":"_--variant-title-1_gm5sj_1","--variant-title-2":"_--variant-title-2_gm5sj_1","--variant-title-3":"_--variant-title-3_gm5sj_1","--variant-title-4":"_--variant-title-4_gm5sj_1","--variant-title-5":"_--variant-title-5_gm5sj_1","--variant-title-6":"_--variant-title-6_gm5sj_1","--variant-featured-1":"_--variant-featured-1_gm5sj_1","--variant-featured-2":"_--variant-featured-2_gm5sj_1","--variant-featured-3":"_--variant-featured-3_gm5sj_1","--variant-body-1":"_--variant-body-1_gm5sj_1","--variant-body-2":"_--variant-body-2_gm5sj_1","--variant-body-3":"_--variant-body-3_gm5sj_1","--variant-caption-1":"_--variant-caption-1_gm5sj_1","--variant-caption-2":"_--variant-caption-2_gm5sj_1","--weight-regular":"_--weight-regular_gm5sj_1","--weight-medium":"_--weight-medium_gm5sj_1","--weight-bold":"_--weight-bold_gm5sj_1","--color-neutral":"_--color-neutral_gm5sj_1","--color-neutral-faded":"_--color-neutral-faded_gm5sj_1","--color-primary":"_--color-primary_gm5sj_1","--color-positive":"_--color-positive_gm5sj_1","--color-critical":"_--color-critical_gm5sj_1","--color-disabled":"_--color-disabled_gm5sj_1","--decoration-line-through":"_--decoration-line-through_gm5sj_139","--align-start--m":"_--align-start--m_gm5sj_1","--align-center--m":"_--align-center--m_gm5sj_1","--align-end--m":"_--align-end--m_gm5sj_1","--variant-title-1--m":"_--variant-title-1--m_gm5sj_1","--variant-title-2--m":"_--variant-title-2--m_gm5sj_1","--variant-title-3--m":"_--variant-title-3--m_gm5sj_1","--variant-title-4--m":"_--variant-title-4--m_gm5sj_1","--variant-title-5--m":"_--variant-title-5--m_gm5sj_1","--variant-title-6--m":"_--variant-title-6--m_gm5sj_1","--variant-featured-1--m":"_--variant-featured-1--m_gm5sj_1","--variant-featured-2--m":"_--variant-featured-2--m_gm5sj_1","--variant-featured-3--m":"_--variant-featured-3--m_gm5sj_1","--variant-body-1--m":"_--variant-body-1--m_gm5sj_1","--variant-body-2--m":"_--variant-body-2--m_gm5sj_1","--variant-body-3--m":"_--variant-body-3--m_gm5sj_1","--variant-caption-1--m":"_--variant-caption-1--m_gm5sj_1","--variant-caption-2--m":"_--variant-caption-2--m_gm5sj_1","--align-start--l":"_--align-start--l_gm5sj_1","--align-center--l":"_--align-center--l_gm5sj_1","--align-end--l":"_--align-end--l_gm5sj_1","--variant-title-1--l":"_--variant-title-1--l_gm5sj_1","--variant-title-2--l":"_--variant-title-2--l_gm5sj_1","--variant-title-3--l":"_--variant-title-3--l_gm5sj_1","--variant-title-4--l":"_--variant-title-4--l_gm5sj_1","--variant-title-5--l":"_--variant-title-5--l_gm5sj_1","--variant-title-6--l":"_--variant-title-6--l_gm5sj_1","--variant-featured-1--l":"_--variant-featured-1--l_gm5sj_1","--variant-featured-2--l":"_--variant-featured-2--l_gm5sj_1","--variant-featured-3--l":"_--variant-featured-3--l_gm5sj_1","--variant-body-1--l":"_--variant-body-1--l_gm5sj_1","--variant-body-2--l":"_--variant-body-2--l_gm5sj_1","--variant-body-3--l":"_--variant-body-3--l_gm5sj_1","--variant-caption-1--l":"_--variant-caption-1--l_gm5sj_1","--variant-caption-2--l":"_--variant-caption-2--l_gm5sj_1","--align-start--xl":"_--align-start--xl_gm5sj_1","--align-center--xl":"_--align-center--xl_gm5sj_1","--align-end--xl":"_--align-end--xl_gm5sj_1","--variant-title-1--xl":"_--variant-title-1--xl_gm5sj_1","--variant-title-2--xl":"_--variant-title-2--xl_gm5sj_1","--variant-title-3--xl":"_--variant-title-3--xl_gm5sj_1","--variant-title-4--xl":"_--variant-title-4--xl_gm5sj_1","--variant-title-5--xl":"_--variant-title-5--xl_gm5sj_1","--variant-title-6--xl":"_--variant-title-6--xl_gm5sj_1","--variant-featured-1--xl":"_--variant-featured-1--xl_gm5sj_1","--variant-featured-2--xl":"_--variant-featured-2--xl_gm5sj_1","--variant-featured-3--xl":"_--variant-featured-3--xl_gm5sj_1","--variant-body-1--xl":"_--variant-body-1--xl_gm5sj_1","--variant-body-2--xl":"_--variant-body-2--xl_gm5sj_1","--variant-body-3--xl":"_--variant-body-3--xl_gm5sj_1","--variant-caption-1--xl":"_--variant-caption-1--xl_gm5sj_1","--variant-caption-2--xl":"_--variant-caption-2--xl_gm5sj_1"},Lo={"title-1":"h1","title-2":"h2","title-3":"h3","title-4":"h4","title-5":"h5","title-6":"h6"},Z=e=>{const{variant:t,color:n,weight:r,align:o,decoration:s,maxLines:a,children:l,className:u,attributes:m}=e,_=typeof t=="string"?t:(t==null?void 0:t.xl)||(t==null?void 0:t.l)||(t==null?void 0:t.m)||(t==null?void 0:t.s),h=e.as||_&&Lo[_]||"div",f=M(tt.root,n&&tt[`--color-${n}`],...B(tt,"--variant",t),...B(tt,"--align",o),r&&tt[`--weight-${r}`],s&&tt[`--decoration-${s}`],a!==void 0&&tt["--clamp"],u),v=k(p({},m==null?void 0:m.style),{"--rs-text-lines":a});return i.jsx(h,k(p({},m),{className:f,style:v,children:l}))},Oo=e=>{const{title:t,children:n,icon:r,actionsSlot:o,color:s="neutral",inline:a,bleed:l,className:u,attributes:m}=e,_=s==="neutral",h=()=>a?i.jsxs(i.Fragment,{children:[t&&i.jsx(Z,{variant:"body-3",weight:"medium",as:"span",children:t}),t&&n&&" ",n&&i.jsx(Z,{variant:"body-3",as:"span",children:n})]}):i.jsxs(U,{gap:1,children:[t&&i.jsx(Z,{variant:"body-3",weight:"medium",children:t}),n&&i.jsx(Z,{variant:"body-3",children:n})]}),f=v=>o?i.jsxs(U,{gap:2,direction:a?"row":"column",children:[a?i.jsx(U.Item,{grow:!0,children:v}):v,o&&i.jsx(Z,{variant:"body-3",weight:"medium",children:i.jsx(U,{direction:"row",gap:3,children:o})})]}):v;return i.jsx(U,{direction:"row",gap:3,padding:4,bleed:l,borderRadius:"medium",borderColor:`${s}-faded`,backgroundColor:`${s}-faded`,className:u,attributes:k(p({},m),{role:s==="critical"?"alert":"status"}),children:r?i.jsxs(i.Fragment,{children:[i.jsx(ce,{svg:r,size:5,color:_?"primary":s}),i.jsx(U.Item,{grow:!0,children:f(h())})]}):f(h())})},er=c.createContext({attributes:{id:"","aria-describedby":""},required:void 0,hasError:!1,errorRef:()=>{},helperRef:()=>{}}),Vo=er.Provider,Nt=()=>c.useContext(er),Ye=()=>{const{attributes:e,required:t,hasError:n,disabled:r}=Nt();return{attributes:e,required:t,hasError:n,disabled:r}},tr={root:"_root_1ni0x_1",label:"_label_1ni0x_5",caption:"_caption_1ni0x_10"},fn=(e,t)=>`${e}-${t||"caption"}`,At=e=>{const{children:t,id:n,required:r,hasError:o,group:s,disabled:a,size:l}=e,u=$e(n),m=s?"fieldset":"div",[_,h]=c.useState(!1),[f,v]=c.useState(!1),b=[_&&fn(u),f&&fn(u,"error")].filter(Boolean).join(" "),w={id:u,"aria-describedby":b},g=()=>{v(!0)},y=()=>{h(!0)};return i.jsx(m,{children:i.jsx(Vo,{value:{required:r,hasError:o,errorRef:g,helperRef:y,attributes:w,group:s,disabled:a,size:l},children:t})})},Do=e=>{const{children:t}=e,{attributes:n,required:r,group:o,disabled:s,size:a}=Nt(),l=`${n.id}-label`,u=o?{as:"legend",attributes:{id:l}}:{as:"label",attributes:{id:l,htmlFor:n.id}};return i.jsxs(Z,k(p({},u),{variant:a==="large"?"body-2":"body-3",weight:"medium",className:tr.label,color:s?"disabled":void 0,children:[t,r&&i.jsx(Z,{color:s?"disabled":"critical",as:"span",children:"*"})]}))},nr=e=>{const{children:t,variant:n,disabled:r}=e,{attributes:o,size:s,helperRef:a,errorRef:l}=Nt(),u=fn(o.id,n),m=n==="error"?"critical":"neutral-faded",_=n==="error"?l:a;return i.jsx(Z,{as:"span",variant:s==="large"?"body-3":"caption-1",color:r&&!n?"disabled":m,attributes:{id:u,role:m?"alert":void 0,ref:_},className:tr.caption,children:t})},qo=e=>{const{children:t}=e,{disabled:n}=Nt();return i.jsx(nr,{disabled:n,children:t})},Bo=e=>{const{children:t}=e,{hasError:n}=Nt();return n?i.jsx(nr,{variant:"error",children:t}):null};At.Label=Do,At.Helper=qo,At.Error=Bo;const Ee={root:"_root_v29im_1",input:"_input_v29im_16",slot:"_slot_v29im_37",icon:"_icon_v29im_38",affix:"_affix_v29im_39",attachment:"_attachment_v29im_55","attachment--position-start":"_attachment--position-start_v29im_60","attachment--position-end":"_attachment--position-end_v29im_73","--disabled":"_--disabled_v29im_86","--size-medium":"_--size-medium_v29im_1","--size-large":"_--size-large_v29im_1","--size-xlarge":"_--size-xlarge_v29im_1","--variant-faded":"_--variant-faded_v29im_150","--variant-headless":"_--variant-headless_v29im_159","--status-error":"_--status-error_v29im_164","--size-medium--m":"_--size-medium--m_v29im_1","--size-large--m":"_--size-large--m_v29im_1","--size-xlarge--m":"_--size-xlarge--m_v29im_1","--size-medium--l":"_--size-medium--l_v29im_1","--size-large--l":"_--size-large--l_v29im_1","--size-xlarge--l":"_--size-xlarge--l_v29im_1","--size-medium--xl":"_--size-medium--xl_v29im_1","--size-large--xl":"_--size-large--xl_v29im_1","--size-xlarge--xl":"_--size-xlarge--xl_v29im_1"},rr=e=>{const{slot:t,icon:n,size:r,affix:o,position:s}=e;if(!n&&!t&&!o)return null;const a=M(Ee.attachment,Ee[`attachment--position-${s}`]),l=[t&&i.jsx("div",{className:Ee.slot,children:t},"slot"),n&&i.jsx("div",{className:Ee.icon,children:i.jsx(ce,{size:Le(r,u=>u==="large"?5:u==="xlarge"?6:4),svg:n})},"icon"),o&&i.jsx("div",{className:Ee.affix,children:o},"affix")].filter(Boolean);return i.jsx("span",{className:a,children:s==="end"?l.reverse():l})},or=e=>{var S;const{onChange:t,onFocus:n,onBlur:r,name:o,value:s,defaultValue:a,placeholder:l,icon:u,endIcon:m,startSlot:_,endSlot:h,prefix:f,suffix:v,size:b="medium",variant:w="outline",className:g,attributes:y}=e,x=Ye(),C=$e(e.id),$=(x==null?void 0:x.attributes.id)||((S=e.inputAttributes)==null?void 0:S.id)||C,E=(x==null?void 0:x.disabled)||e.disabled,z=(x==null?void 0:x.hasError)||e.hasError,P=p(p({},e.inputAttributes),x==null?void 0:x.attributes),I=M(Ee.root,g,b&&B(Ee,"--size",b),z&&Ee["--status-error"],E&&Ee["--disabled"],w&&Ee[`--variant-${w}`]),D=F=>{t&&t({name:o,value:F.target.value,event:F})};return i.jsxs("div",k(p({},y),{className:I,children:[i.jsx(rr,{position:"start",icon:u,slot:_,size:b,affix:f}),i.jsx("input",k(p({},P),{className:Ee.input,disabled:E,name:o,placeholder:l,value:s,defaultValue:a,onChange:D,onFocus:n||(P==null?void 0:P.onFocus),onBlur:r||(P==null?void 0:P.onBlur),id:$})),i.jsx(rr,{position:"end",icon:m,slot:h,size:b,affix:v})]}))},Wo="Enter",Ho="Tab",sr="ArrowUp",ir="ArrowDown",ar="ArrowRight",lr="ArrowLeft",hn="data-rs-keyboard",Lt="data-rs-focus";class Ro{constructor(){this.chain={},this.tailId=null,this.idCounter=0}generateId(){return this.idCounter+=1,this.idCounter}getAll(){return this.chain}get(t){return this.chain[t]}isLast(t){return this.tailId!==null&&t===this.tailId}isEmpty(){return typeof this.tailId!="number"}add(t){const n=this.tailId,r=n&&this.get(n),o=this.generateId();return this.chain[o]={previousId:n,data:t},r&&(r.nextId=o),this.tailId=o,o}remove(t){var u,m;const n=this.chain[t];if(!n)return;const r=n.previousId,o=r&&this.get(r),s=n.nextId,a=s&&this.get(s);o&&(o.nextId=(u=n.nextId)!=null?u:null),a&&(a.previousId=(m=n.previousId)!=null?m:null),s||(this.tailId=r!=null?r:null);const l=this.get(t).data;return delete this.chain[t],l}removePreviousTill(t,n){const r=this.get(t),o=this.remove(t);return!r||!r.previousId||n(r)?o:this.removePreviousTill(r.previousId,n)}}const cr=()=>document.documentElement.hasAttribute(hn),ur='a,button,input:not([type="hidden"]),textarea,select,details,[tabindex]:not([tabindex="-1"])',Ot=()=>document.querySelector(`[${Lt}]`)||document.activeElement,vn=(e,t)=>{const r=Array.from(e.querySelectorAll(ur)).filter(o=>!o.hasAttribute("disabled")&&o.clientHeight>0);return t&&r.length&&r.unshift(t),r},dr=e=>{const{root:t,extraElement:n,target:r,mode:o}=e,s=vn(t,n),a=s.length-1,l=Ot(),u=s.indexOf(l),m={next:u+1,prev:u-1,first:0,last:a};let _=m[r];const h=_>a||_<0;return h&&(o==="action-menu"?_=r==="prev"?m.first:m.last:_=r==="prev"?m.last:m.first),{overflow:h,el:s[_]}},Vt=(e,t)=>{var n;(n=document.querySelector(`[${Lt}]`))==null||n.removeAttribute(Lt),t==="selection-menu"?e.setAttribute(Lt,"true"):e.focus()},Dt=(e,t)=>{const n=dr({root:e,target:t});Vt(n.el)},Uo=e=>Dt(e,"next"),Ko=e=>Dt(e,"prev"),Yo=e=>Dt(e,"first"),Go=e=>Dt(e,"last"),Xo=(()=>{let e=[];const t=r=>{let o=r.parentNode&&r.parentNode.firstChild;for(;o;){const s=o!==r,a=o.nodeType===1&&!o.hasAttribute("aria-hidden");s&&a&&(o.setAttribute("aria-hidden","true"),e.push(o)),o=o.nextSibling}},n=()=>{e.forEach(r=>{r.removeAttribute("aria-hidden")}),e=[]};return r=>{let o=r;for(e.length&&n();o!==document.body;)t(o),o=o.parentElement;return{release:n}}})(),qt=(()=>{let e=null,t=null;const n=new Ro;return(r,o={})=>{const{mode:s="dialog",onNavigateOutside:a,includeTrigger:l}=o,u=Ot(),m=s==="dialog",_=s==="content-menu",h=s==="selection-menu",f=m||_,v=s==="action-menu"||h,b=vn(r,l?u:void 0);let w;const g=new MutationObserver(()=>{const $=vn(r,l?u:void 0);$.length&&Vt($[0],s)}),y=($={})=>{const{withoutFocusReturn:E}=$;n.removePreviousTill(w,P=>document.body.contains(P.data.trigger)),g.disconnect(),u&&u.focus({preventScroll:E||!cr()}),e&&(e(),t&&t.release(),e=null,t=null);const z=n.tailId&&n.get(n.tailId);z&&qt(z.data.root,z.data.options)},x=$=>{const E=$.key,z=E===Ho,P=z&&!$.shiftKey,I=z&&$.shiftKey,D=v&&E===sr,S=v&&E===ir,F=I&&f||D,W=P&&f||S,O=Ot()===u,L=dr({root:r,target:F?"prev":"next",extraElement:l?u:void 0,mode:s});if(z&&v||_&&z&&L.overflow){I&&!O&&$.preventDefault(),y(),a==null||a();return}!F&&!W||($.preventDefault(),L.el&&Vt(L.el,s))};if(e&&e(),m&&(t=Xo(r)),g.observe(r,{childList:!0,subtree:!0}),!b.length)return null;document.addEventListener("keydown",x),e=()=>document.removeEventListener("keydown",x);const C=n.tailId&&n.get(n.tailId);return(!C||r!==C.data.root)&&(w=n.add({root:r,trigger:u,options:o}),Vt(b[0],s)),y}})(),Jo=100,Qo=150;let it={},Ve=null;const _r=e=>{it[e]&&(e===Ve&&(Ve=it[e].parentId),delete it[e],Ve===null&&(it={}))},Zo=(e,t,n)=>{var s;const r=Ve?it[Ve]:void 0;!((n==null?void 0:n.current)&&r&&((s=r.contentRef.current)==null?void 0:s.contains(n.current)))&&n&&Ve&&_r(Ve),it[e]={parentId:Ve,triggerRef:n,contentRef:t},Ve=e},mr=(e=!1,t,n)=>{const r=$e(),o=c.useCallback(()=>Ve===r,[r]);return c.useEffect(()=>{e?Zo(r,t,n):_r(r)},[e,r,t,n]),o},ue=typeof window!="undefined"?c.useLayoutEffect:c.useEffect,at="+",ze={},pn=[],fr=e=>e===" "?e:e.replace(/\s/g,"").toLowerCase(),gn=e=>fr(e).split(at).sort().join(at),hr=e=>e.altKey&&e.key!=="Alt"?e.code.toLowerCase().replace(/key|digit|numpad/,""):e.key.toLowerCase(),es=e=>{const t=[],n=e.join(at),o=gn(n).split(at),s=(a,l)=>{l.forEach((u,m)=>{const _=a?`${a}+${u}`:u;t.push(_),s(_,l.slice(m+1))})};return s("",o),t},ts=(e,t)=>{const n=Object.keys(e);n.length&&es(n).forEach(r=>{t(r)})},bn=(e,t)=>{Object.keys(e).forEach(n=>{n.split(",").forEach(r=>{const o=e[n];o&&t(gn(r),o)})})};class ns{constructor(){this.hotkeyMap={},this.getSize=()=>Object.keys(this.hotkeyMap).length,this.bindHotkeys=(t,n)=>{bn(t,(r,o)=>{o&&(this.hotkeyMap[r]||(this.hotkeyMap[r]={data:new Set,used:!1}),this.hotkeyMap[r].data.add({callback:o,ref:n}))})},this.unbindHotkeys=t=>{bn(t,(n,r)=>{var o,s;r&&((o=this.hotkeyMap[n])==null||o.data.forEach(a=>{a.callback===r&&this.hotkeyMap[n].data.delete(a)}),(s=this.hotkeyMap[n])!=null&&s.data.size||delete this.hotkeyMap[n])})},this.handleKeyDown=(t,n)=>{ts(t,r=>{const o=this.hotkeyMap[r];!o||o.used||o!=null&&o.data.size&&o.data.forEach(s=>{var a;(a=s.ref)!=null&&a.current&&!(n.target===s.ref.current||s.ref.current.contains(n.target))||(s.callback(t[r]),this.hotkeyMap[r].used=!0)})})},this.handleKeyUp=t=>{const n=gn(t.key);bn(this.hotkeyMap,(r,o)=>{r.split(at).includes(n)&&(o.used=!1)})}}}const Bt=new ns,vr=c.createContext({}),rs=e=>{const{children:t}=e,[n,r]=c.useState(0),[o,s]=c.useState(0),a=c.useCallback(f=>{if(f.repeat||o===0)return;const v=hr(f);ze[v]=f,(v==="meta"||v==="control")&&(ze.mod=f),r(Object.keys(ze).length),v==="meta"&&pn.push(...Object.keys(ze)),ze.Meta&&pn.push(v)},[o]),l=c.useCallback(f=>{if(o===0)return;const v=hr(f);delete ze[v],(v==="meta"||v==="control")&&delete ze.mod,v==="meta"&&pn.forEach(b=>{delete ze[b]}),r(Object.keys(ze).length)},[o]),u=f=>!fr(f).split(at).some(b=>!ze[b]),m=c.useCallback((f,v)=>(s(b=>b+1),Bt.bindHotkeys(f,v),()=>{s(b=>b-1),Bt.unbindHotkeys(f)}),[]),_=c.useCallback(f=>{a(f),Bt.handleKeyDown(ze,f)},[a]),h=c.useCallback(f=>{l(f),Bt.handleKeyUp(f)},[l]);return c.useEffect(()=>(window.addEventListener("keydown",_),window.addEventListener("keyup",h),()=>{window.removeEventListener("keydown",_),window.removeEventListener("keyup",h)}),[_,h]),i.jsx(vr.Provider,{value:{addHotkeys:m,isPressed:u},children:t})},os=()=>c.useContext(vr),nt=(e,t=[],n)=>{const{addHotkeys:r,isPressed:o}=os(),s=c.useRef(null),a=(n==null?void 0:n.ref)||s;return c.useEffect(()=>{const l=r(e,a);return()=>l==null?void 0:l()},[r,Object.keys(e).join(","),...t]),{ref:a,checkHotkeyState:o}},xn=c.createContext({rtl:[!1,()=>{}],defaultViewport:"s"}),ss=e=>{const t=c.useState(e||!1),[n,r]=t;return ue(()=>{const o=new MutationObserver(s=>{s.forEach(a=>{if(a.attributeName!=="dir")return;const l=a.target.dir==="rtl";n!==l&&r(l)})});return o.observe(document.documentElement,{attributes:!0}),()=>o.disconnect()},[n]),ue(()=>{document.documentElement.setAttribute("dir",n?"rtl":"ltr")},[n]),t},Ge=()=>c.useContext(xn).rtl,yn=e=>{const t=e&&window.getComputedStyle(e).overflowY,n=t==null?void 0:t.includes("scroll");return e===document.body||!e?document.body:n&&e.scrollHeight>e.clientHeight?e:yn(e.parentElement)},pr=16,Wt=["top-start","top","top-end"],Ht=["bottom-start","bottom","bottom-end"],Rt=["start","start-bottom","start-top"],Ut=["end","end-bottom","end-top"],is={top:[...Wt,...Ht,...Ut,...Rt],bottom:[...Ht,...Wt,...Ut,...Rt],start:[...Rt,...Ut,...Wt,...Ht],end:[...Ut,...Rt,...Wt,...Ht]},as=e=>e.includes("start")?e.replace("start","end"):e.includes("end")?e.replace("end","start"):e,gr=(e,t)=>Math.floor(e/2-t/2),ls=e=>{const n=["top","bottom","start","end"].find(r=>e.startsWith(r))||"bottom";return is[n]},wn=e=>{const t=document.documentElement,n=t.scrollLeft,r=n+t.clientWidth,o=t.scrollTop,s=o+t.clientHeight;return e.left>=n&&e.left+e.width<=r&&e.top>=o&&e.top+e.height<=s},br=(e,t,n,r)=>{const{position:o,rtl:s,width:a}=r;let l=0,u=0,m=o;switch(s&&(m=as(m)),(a==="full"||a==="trigger")&&(m=m.includes("top")?"top":"bottom"),m){case"bottom":case"top":l=gr(e.width,t.width)+e.left;break;case"start":case"start-top":case"start-bottom":l=e.left-t.width;break;case"end":case"end-top":case"end-bottom":l=e.right;break;case"top-start":case"bottom-start":l=e.left;break;case"top-end":case"bottom-end":l=e.right-t.width;break}switch(m){case"top":case"top-start":case"top-end":u=e.top-t.height;break;case"bottom":case"bottom-start":case"bottom-end":u=e.bottom;break;case"start":case"end":u=gr(e.height,t.height)+e.top;break;case"start-top":case"end-top":u=e.top;break;case"start-bottom":case"end-bottom":u=e.bottom-t.height;break}if(u===void 0||l===void 0)throw Error(`[Reshaped, flyout]: ${m} position is not valid`);u=Math.round(u+(window.scrollY||0)-n.top),l=Math.round(l+(window.scrollX||0)-n.left);let _=Math.ceil(t.width);const h=Math.ceil(t.height);return a==="full"?(l=pr,_=window.innerWidth-pr*2):a==="trigger"&&(_=e.width),{styles:{left:l,top:u,width:_,height:h},position:m}},xr={left:0,top:0,width:"auto",height:"auto",position:"absolute",zIndex:"var(--rs-z-index-flyout)"},jn={left:0,top:0,position:"fixed",opacity:0,animation:"none",transition:"none",zIndex:"var(--rs-z-index-tooltip)"},cs=(e,t,n)=>{const{position:r,forcePosition:o,width:s}=n,a=t.cloneNode(!0),l=e.getBoundingClientRect();a.style="",Object.keys(jn).forEach(v=>{const b=jn[v];a.style[v]=b.toString()}),s&&(s==="trigger"?a.style.width=`${l.width}px`:s!=="full"&&(a.style.width=s)),document.body.appendChild(a);const u=a.getBoundingClientRect(),m=yn(e),_=m.getBoundingClientRect(),h={top:_.top+document.documentElement.scrollTop-m.scrollTop,left:_.left+document.documentElement.scrollLeft-m.scrollLeft};let f=br(l,u,h,n);if(!wn(f.styles)&&!o){const v=ls(r),b=v.filter(g=>g==="top"||g==="bottom"),w=(g,y={})=>{const{fullWidth:x}=y;g.some(C=>{const $=k(p({},n),{width:x?"full":n.width,position:C}),E=br(l,u,h,$);return wn(E.styles)?(f=E,!0):!1})};w(v),wn(f.styles)||w(b,{fullWidth:!0})}return a.parentNode.removeChild(a),f},us=(e,t)=>{switch(t.type){case"render":return k(p({},e),{status:"rendered",styles:{pointerEvents:"none"}});case"position":return k(p({},e),{status:e.status==="visible"?"visible":"positioned",position:t.payload.position,styles:p(p({},xr),t.payload.styles)});case"show":return k(p({},e),{status:"visible"});case"hide":return k(p({},e),{status:e.status==="idle"?"idle":"hidden"});case"remove":return k(p({},e),{status:"idle",styles:jn});default:throw new Error("Invalid reducer type")}},ds=(e,t,n)=>{const{position:r="bottom",forcePosition:o,width:s}=n,[a]=Ge(),[l,u]=c.useReducer(us,{position:r,styles:xr,status:"idle"}),m=c.useCallback(()=>{u({type:"render"})},[]),_=c.useCallback(()=>{u({type:"show"})},[]),h=c.useCallback(()=>{u({type:"hide"})},[]),f=c.useCallback(()=>{u({type:"remove"})},[]),v=c.useCallback(()=>{if(!e.current||!t.current)return;const b=cs(e.current,t.current,{width:s,position:r,forcePosition:o,rtl:a});u({type:"position",payload:b})},[e,t,r,a,o,s]);return c.useEffect(()=>{l.status==="rendered"&&v(),l.status==="positioned"&&kt(()=>_())},[l.status,v,_]),c.useMemo(()=>({position:l.position,styles:l.styles,status:l.status,updatePosition:v,render:m,hide:h,remove:f}),[m,v,h,f,l.position,l.styles,l.status])},_s=(e,t)=>{c.useEffect(()=>{if(!t)return;const n=r=>{let o=!1;e.forEach(s=>{(!s.current||s.current===r.target||s.current.contains(r.target))&&(o=!0)}),!o&&t(r)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[t,...e])},yr=c.createContext({}),Kt=()=>c.useContext(yr),ms=yr.Provider,wr=e=>{const{triggerType:t="click",onOpen:n,onClose:r,children:o,forcePosition:s,trapFocusMode:a,width:l,disableHideAnimation:u,contentGap:m,contentClassName:_,contentAttributes:h,position:f,active:v,id:b,instanceRef:w}=e,[g]=Ge(),y=c.useRef(null),x=c.useRef(null),C=$e(b),$=c.useRef(),E=c.useRef(null),z=c.useRef(!1),P=c.useRef(!1),I=c.useRef(!0),D=ds(y,x,{width:l,position:f,defaultActive:v,forcePosition:s}),S=Kt(),{status:F,updatePosition:W,render:O,hide:L,remove:te}=D,je=mr(t!=="hover"&&F!=="idle",x,y),fe=c.useCallback(()=>{$.current&&clearTimeout($.current)},[$]),oe=c.useCallback(()=>{!z.current&&F==="idle"&&(n==null||n())},[F]),Q=c.useCallback(G=>{var Me;!(t==="click"&&!je())&&F!=="idle"&&(r==null||r(),G!=null&&G.closeParents&&((Me=S==null?void 0:S.handleClose)==null||Me.call(S)))},[F,je,t]),He=c.useCallback(G=>{var he;(he=x.current)!=null&&he.contains(G.relatedTarget)||t==="hover"&&a==="content-menu"||P.current||Q()},[Q,t,a]),Ce=c.useCallback(()=>{oe()},[oe]),se=c.useCallback(()=>{fe(),$.current=setTimeout(oe,Jo)},[fe,$,oe]),H=c.useCallback(()=>{fe(),$.current=setTimeout(()=>Q(),Qo)},[fe,$,Q]),K=c.useCallback(()=>{F==="idle"?oe():Q()},[F,oe,Q]),Y=()=>P.current=!0,ie=()=>P.current=!1;ue(()=>{if(v){O();return}Po()&&!u?L():te()},[v,O,L,u]);const ye=c.useCallback(G=>{x.current!==G.currentTarget||G.propertyName!=="transform"||F==="hidden"&&te()},[te,F]);return ue(()=>{F!=="visible"||!x.current||(E.current=qt(x.current,{mode:a,includeTrigger:t==="hover"&&a==="content-menu",onNavigateOutside:()=>{E.current=null,Q()}}))},[F,t,Q,a]),c.useEffect(()=>{!u&&F!=="hidden"||u&&F!=="idle"||E.current&&(t==="hover"&&(z.current=!0,setTimeout(()=>{z.current=!1},100)),E.current({withoutFocusReturn:!I.current}),E.current=null,I.current=!0)},[F,t,u]),c.useEffect(()=>()=>{E.current&&E.current(),E.current=null},[]),c.useEffect(()=>{const G=Rn(W,10);return window.addEventListener("resize",G),()=>window.removeEventListener("resize",G)},[W]),c.useEffect(()=>{W()},[g,W]),c.useImperativeHandle(w,()=>({open:oe,close:Q}),[oe,Q]),nt({Escape:()=>Q()},[Q]),_s([x,y],()=>{I.current=!1,Q()}),i.jsx(ms,{value:{id:C,flyout:D,triggerElRef:y,flyoutElRef:x,handleClose:Q,handleOpen:oe,handleFocus:Ce,handleBlur:He,handleMouseEnter:se,handleMouseLeave:H,handleTransitionEnd:ye,handleClick:K,handleContentMouseDown:Y,handleContentMouseUp:ie,triggerType:t,trapFocusMode:a,contentGap:m,contentClassName:_,contentAttributes:h},children:o})},fs=e=>{const{defaultActive:t,onClose:n,onOpen:r}=e,[o,s]=c.useState(t||!1),a=()=>{s(!1),n&&n()},l=()=>{s(!0),r&&r()};return i.jsx(wr,k(p({},e),{defaultActive:void 0,active:o,onClose:a,onOpen:l}))},hs=e=>{const{children:t}=e,{id:n,triggerElRef:r,triggerType:o,flyout:s,handleFocus:a,handleBlur:l,handleMouseEnter:u,handleMouseLeave:m,handleClick:_,handleOpen:h,trapFocusMode:f}=Kt();nt({[`${sr},${ir}`]:()=>{s.status==="idle"&&h()}},[h,s.status],{ref:r});let v={onBlur:l,ref:r};return o==="click"&&(v.onClick=_),o==="hover"&&(v.onMouseEnter=u,v.onMouseLeave=m),(o==="hover"||o==="focus")&&(v.onFocus=a,v["aria-describedby"]=n),(o==="click"||o==="focus"||f==="action-menu")&&(f==="dialog"?v["aria-haspopup"]="dialog":f==="selection-menu"?(v["aria-haspopup"]="listbox",v["aria-autocomplete"]="list"):v["aria-haspopup"]="menu",v["aria-expanded"]=s.status!=="idle",v["aria-controls"]=s.status!=="idle"?n:void 0),i.jsx(i.Fragment,{children:t(v)})},jr=c.createContext({theme:"",colorMode:"light",setTheme:()=>{}}),Cn=c.createContext({mode:"light",setMode:()=>{},invertMode:()=>{}}),vs=()=>{const{mode:e}=c.useContext(Cn);return e},Cr=()=>{const{colorMode:e,theme:t,setTheme:n}=c.useContext(jr),{mode:r,setMode:o,invertMode:s}=c.useContext(Cn);return c.useMemo(()=>({theme:t,setTheme:n,colorMode:e||r,setColorMode:o,invertColorMode:s}),[e,r,o,s,t,n])},ps={root:"_root_r30zs_1"},lt=e=>{const{name:t,defaultName:n,colorMode:r,children:o,className:s}=e,[a,l]=c.useState(n),u=vs(),m=Cr(),_=!m.theme,h=t||a||m.theme,f=_?u:m.colorMode,b=r==="inverted"?f==="light"?"dark":"light":r||f,w=M(ps.root,s),g=y=>{l(y)};return ue(()=>{if(!(!document||!_))return document.documentElement.setAttribute("data-rs-theme",h),document.documentElement.setAttribute("data-rs-color-mode",b),()=>{document.documentElement.removeAttribute("data-rs-theme"),document.documentElement.removeAttribute("data-rs-color-mode")}},[h,b,_]),i.jsx(jr.Provider,{value:{theme:h,colorMode:b,setTheme:g},children:i.jsx("div",{className:w,"data-rs-theme":_?void 0:h,"data-rs-color-mode":_?void 0:b,children:o})})},gs=e=>{const{defaultMode:t,children:n}=e,[r,o]=c.useState(t||"light"),s=c.useCallback(l=>{o(u=>(u!==l&&Mo(),l))},[]);ue(()=>{kt(()=>{So()})},[r]);const a=c.useMemo(()=>({mode:r,setMode:s,invertMode:()=>{s(r==="light"?"dark":"light")}}),[r,s]);return i.jsx(Cn.Provider,{value:a,children:n})},kr=c.createContext({}),bs=()=>c.useContext(kr),Yt=e=>{const{children:t,targetRef:n}=e,r=bs(),o=n||r.scopeRef;return _e.createPortal(i.jsx(lt,{children:t}),(o==null?void 0:o.current)||document.body)};function xs(e){const{children:t}=e,n=c.useRef(null);return i.jsx(kr.Provider,{value:{scopeRef:n},children:t(n)})}Yt.Scope=xs;const $t={content:"_content_u88xy_1",inner:"_inner_u88xy_5","--position-top":"_--position-top_u88xy_9","--position-top-end":"_--position-top-end_u88xy_10","--position-top-start":"_--position-top-start_u88xy_11","--position-bottom":"_--position-bottom_u88xy_15","--position-bottom-end":"_--position-bottom-end_u88xy_16","--position-bottom-start":"_--position-bottom-start_u88xy_17","--position-start":"_--position-start_u88xy_21","--position-start-top":"_--position-start-top_u88xy_22","--position-start-bottom":"_--position-start-bottom_u88xy_23","--position-end":"_--position-end_u88xy_27","--position-end-top":"_--position-end-top_u88xy_28","--position-end-bottom":"_--position-end-bottom_u88xy_29","--visible":"_--visible_u88xy_57","--animated":"_--animated_u88xy_62"},ys=e=>{const{children:t,className:n,attributes:r}=e,{flyout:o,id:s,flyoutElRef:a,triggerElRef:l,handleTransitionEnd:u,triggerType:m,handleMouseEnter:_,handleMouseLeave:h,handleContentMouseDown:f,handleContentMouseUp:v,contentGap:b,contentClassName:w,contentAttributes:g,trapFocusMode:y}=Kt(),{styles:x,status:C,position:$}=o,[E,z]=c.useState(!1);if(ue(()=>{z(!0)},[]),C==="idle"||!E)return null;const P=M($t.content,C==="visible"&&$t["--visible"],["visible","hidden"].includes(C)&&$t["--animated"],$&&$t[`--position-${$}`]),I=M($t.inner,n,w);let D;m==="hover"?D="tooltip":y==="dialog"?D="dialog":y==="selection-menu"?D="listbox":y==="action-menu"&&(D="menu");const S=i.jsx("div",{className:P,style:k(p({},x),{"--rs-flyout-gap":b}),ref:a,onTransitionEnd:u,onMouseEnter:m==="hover"?_:void 0,onMouseLeave:m==="hover"?h:void 0,onMouseDown:f,onTouchStart:f,onMouseUp:v,onTouchEnd:v,children:i.jsx("div",k(p({role:D},r),{id:s,"aria-modal":m==="click",style:g==null?void 0:g.style,className:I,children:t}))}),F=yn(l.current);return i.jsx(Yt,{targetRef:F===document.body?void 0:{current:F},children:S})},Xe=e=>{const{active:t}=e;return typeof t=="boolean"?i.jsx(wr,p({},e)):i.jsx(fs,p({},e))};Xe.Trigger=hs,Xe.Content=ys;const kn={content:"_content_kjjlu_1","content--variant-elevated":"_content--variant-elevated_kjjlu_5","content--has-width":"_content--has-width_kjjlu_15"},ws={root:"_root_e7w6q_1"},Nn=e=>{if(!e)return null;const t=re("--rs-p",e);return{classNames:ws.root,variables:t}},ct=e=>{var C;const{id:t,forcePosition:n,onOpen:r,onClose:o,active:s,defaultActive:a,children:l,width:u,contentGap:m,variant:_="elevated",triggerType:h="click",position:f="bottom",disableHideAnimation:v,instanceRef:b}=e,w=(C=e.padding)!=null?C:_==="headless"?0:4,g=e.trapFocusMode||(h==="hover"?"content-menu":void 0),y=Nn(w),x=M(kn.content,!!u&&kn["content--has-width"],_&&kn[`content--variant-${_}`],y==null?void 0:y.classNames);return i.jsx(Xe,{id:t,instanceRef:b,position:f,forcePosition:n,onOpen:r,onClose:o,trapFocusMode:g,triggerType:h,active:s,defaultActive:a,width:u,disableHideAnimation:v,contentGap:m,contentClassName:x,contentAttributes:{style:p({},y==null?void 0:y.variables)},children:l})};ct.Trigger=Xe.Trigger,ct.Content=Xe.Content;const Be={root:"_root_177la_1",icon:"_icon_177la_17",content:"_content_177la_22","--rounded-corners":"_--rounded-corners_177la_27","--size-small":"_--size-small_177la_1","--size-medium":"_--size-medium_177la_1","--size-large":"_--size-large_177la_1","--color-neutral":"_--color-neutral_177la_66","--selected":"_--selected_177la_70","--color-critical":"_--color-critical_177la_76","--color-primary":"_--color-primary_177la_86","--disabled":"_--disabled_177la_107",aligner:"_aligner_177la_115","--rounded-corners-true--m":"_--rounded-corners-true--m_177la_1","--rounded-corners-false--m":"_--rounded-corners-false--m_177la_1","--size-small--m":"_--size-small--m_177la_1","--size-medium--m":"_--size-medium--m_177la_1","--size-large--m":"_--size-large--m_177la_1","--rounded-corners-true--l":"_--rounded-corners-true--l_177la_1","--rounded-corners-false--l":"_--rounded-corners-false--l_177la_1","--size-small--l":"_--size-small--l_177la_1","--size-medium--l":"_--size-medium--l_177la_1","--size-large--l":"_--size-large--l_177la_1","--rounded-corners-true--xl":"_--rounded-corners-true--xl_177la_1","--rounded-corners-false--xl":"_--rounded-corners-false--xl_177la_1","--size-small--xl":"_--size-small--xl_177la_1","--size-medium--xl":"_--size-medium--xl_177la_1","--size-large--xl":"_--size-large--xl_177la_1"},js=e=>{const{children:t,className:n,attributes:r}=e,o=M(Be.aligner,n);return i.jsx("div",k(p({},r),{className:o,children:t}))},Cs=(e,t)=>{const{icon:n,startSlot:r,endSlot:o,children:s,color:a="primary",selected:l,disabled:u,onClick:m,href:_,size:h="medium",roundedCorners:f,className:v,attributes:b}=e,w=M(Be.root,v,B(Be,"--size",h),B(Be,"--rounded-corners",f),a&&Be[`--color-${a}`],l&&Be["--selected"],u&&Be["--disabled"]),g=Le(h,x=>x==="large"?3:2),y=Le(h,x=>x==="large"?5:4);return i.jsx(Oe,{disabled:u,className:w,attributes:b,onClick:m,href:_,ref:t,children:i.jsxs(U,{direction:"row",gap:g,align:"center",children:[n&&i.jsx(ce,{svg:n,className:Be.icon,size:y}),!n&&r,s&&i.jsx(U.Item,{grow:!0,className:Be.content,children:s}),o]})})},$n=c.forwardRef(Cs);$n.Aligner=js;const Gt=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"9 18 15 12 9 6"})}),Xt={menu:"_menu_tat3a_1",section:"_section_tat3a_5",item:"_item_tat3a_11",arrow:"_arrow_tat3a_15"},En=c.createContext(null),xe=e=>{const a=e,{children:t,position:n="bottom-start",triggerType:r="click",trapFocusMode:o="action-menu"}=a,s=Ae(a,["children","position","triggerType","trapFocusMode"]);return i.jsx(ct,k(p({},s),{position:n,padding:0,trapFocusMode:o,triggerType:r,children:t}))},ks=e=>{const{children:t,attributes:n,className:r}=e,o=c.useContext(En),[s]=Ge(),{ref:a}=nt({[s?ar:lr]:()=>{var u;(u=o==null?void 0:o.current)==null||u.close()},[Wo]:()=>{const u=Ot();u==null||u.click()}},[o==null?void 0:o.current]),l=M(Xt.menu,r);return i.jsx(ct.Content,{className:l,attributes:k(p({},n),{ref:a}),children:t})},Ns=e=>{const{children:t}=e;return i.jsx("div",{className:Xt.section,role:"group",children:t})},Nr=e=>{const{onClick:t}=e,{handleClose:n}=Kt(),r=o=>{n&&n({closeParents:!0}),t&&t(o)};return i.jsx($n,k(p({},e),{roundedCorners:!0,className:Xt.item,attributes:p({role:"menuitem"},e.attributes),onClick:r}))},$s=e=>{const{children:t}=e,n=c.useRef();return i.jsx(En.Provider,{value:n,children:i.jsx(xe,{triggerType:"hover",position:"end-top",contentGap:.5,instanceRef:n,children:t})})},Es=e=>{const l=e,{children:t,attributes:n}=l,r=Ae(l,["children","attributes"]),o=c.useContext(En),[s]=Ge(),{ref:a}=nt({[s?lr:ar]:()=>{var u;(u=o==null?void 0:o.current)==null||u.open()}},[],{ref:n==null?void 0:n.ref});return i.jsx(Nr,k(p({},r),{attributes:k(p({},n),{ref:a}),endSlot:i.jsx(ce,{autoWidth:!0,svg:Gt,className:Xt.arrow}),children:t}))},zs=e=>{const{children:t}=e;return i.jsx(xe.Trigger,{children:n=>i.jsx(Es,{attributes:n,children:t})})};xe.Trigger=ct.Trigger,xe.Content=ks,xe.Section=Ns,xe.Item=Nr,xe.SubMenu=$s,xe.SubTrigger=zs;const $r=c.createContext({}),Er=e=>{const g=e,{children:t,onChange:n,onItemSelect:r,name:o}=g,s=Ae(g,["children","onChange","onItemSelect","name"]),[a,l]=c.useState(!1),[u,m]=c.useState(!1),_=!!c.Children.toArray(t).filter(Boolean).length,h=()=>l(!0),f=()=>l(!1),v=y=>{n==null||n(y),m(!1),h()},b=y=>{n==null||n({value:y.value,name:o}),r==null||r({value:y.value}),m(!0)},w=y=>{var x;requestAnimationFrame(()=>{u&&(l(!1),m(!1))}),(x=s.onFocus)==null||x.call(s,y)};return i.jsx($r.Provider,{value:{onItemClick:b},children:i.jsxs(xe,{position:"bottom",width:"trigger",triggerType:"focus",trapFocusMode:"selection-menu",active:!u&&_&&a,onClose:f,onOpen:h,disableHideAnimation:!0,children:[i.jsx(xe.Trigger,{children:C=>{var $=C,{ref:y}=$,x=Ae($,["ref"]);return i.jsx(or,k(p({},s),{name:o,onChange:v,attributes:k(p({},s.attributes),{ref:y}),inputAttributes:k(p({},x),{onFocus:E=>{var z;(z=x.onFocus)==null||z.call(x),w(E)},role:"combobox"})}))}}),i.jsx(xe.Content,{children:t})]})})},Ts=e=>{const a=e,{value:t,onClick:n}=a,r=Ae(a,["value","onClick"]),{onItemClick:o}=c.useContext($r),s=l=>{n==null||n(l),o({value:t})};return i.jsx(xe.Item,k(p({},r),{attributes:k(p({},r.attributes),{role:"option"}),onClick:s}))};Er.Item=Ts;const Jt={root:"_root_1m0a1_1",img:"_img_1m0a1_13","--variant-faded":"_--variant-faded_1m0a1_20","--color-neutral":"_--color-neutral_1m0a1_21","--color-critical":"_--color-critical_1m0a1_25","--color-positive":"_--color-positive_1m0a1_29","--color-primary":"_--color-primary_1m0a1_33"},Is=e=>{const{color:t="neutral",variant:n,src:r,size:o=12,squared:s,initials:a,icon:l,alt:u,className:m,attributes:_}=e,h=s?Le(o,w=>w>=24?"large":w>=12?"medium":"small"):"circular",f=wt(o),v=M(Jt.root,m,f==null?void 0:f.classNames,t&&Jt[`--color-${t}`],n&&Jt[`--variant-${n}`]),b=()=>r?i.jsx("img",{role:a?void 0:"presentation",src:r,alt:u,className:Jt.img}):l?i.jsx(ce,{svg:l,size:Le(o,w=>Math.ceil(w*.4))}):a;return i.jsx(U,{borderRadius:h,attributes:k(p({},_),{style:p({},f==null?void 0:f.variables)}),backgroundColor:n==="faded"?`${t}-${n}`:t,className:v,children:b()})},zr=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[i.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),Te={root:"_root_xbb1o_1",dismiss:"_dismiss_xbb1o_21","--actionable":"_--actionable_xbb1o_26","--variant-faded":"_--variant-faded_xbb1o_1","--variant-outline":"_--variant-outline_xbb1o_1","--color-positive":"_--color-positive_xbb1o_47","--color-critical":"_--color-critical_xbb1o_67","--color-primary":"_--color-primary_xbb1o_87","--size-small":"_--size-small_xbb1o_1","--size-medium":"_--size-medium_xbb1o_1","--size-large":"_--size-large_xbb1o_1","--rounded":"_--rounded_xbb1o_133","--hidden":"_--hidden_xbb1o_145",container:"_container_xbb1o_152","--container-overlap":"_--container-overlap_xbb1o_177","--container-position-top-end":"_--container-position-top-end_xbb1o_181","--container-position-bottom-end":"_--container-position-bottom-end_xbb1o_193"},Ms=e=>{const{children:t,position:n="top-end",overlap:r,className:o,attributes:s}=e,a=M(Te.container,o,r&&Te["--container-overlap"],n&&Te[`--container-position-${n}`]);return i.jsx("div",k(p({},s),{className:a,children:t}))},Tr=e=>{const{children:t,color:n,rounded:r,size:o="medium",icon:s,endIcon:a,variant:l,hidden:u,href:m,onClick:_,onDismiss:h,dismissAriaLabel:f,className:v,attributes:b}=e,w=!!(_||m),g=o==="large"?4:3.5,y=M(Te.root,v,r&&Te["--rounded"],u&&Te["--hidden"],o&&Te[`--size-${o}`],n&&Te[`--color-${n}`],l&&Te[`--variant-${l}`],w&&Te["--actionable"]);return i.jsxs(Oe,{onClick:_,href:m,className:y,attributes:b,children:[s&&i.jsx(ce,{svg:s,autoWidth:!0,size:g}),t&&i.jsx(Z,{variant:o==="large"?"body-3":"caption-1",weight:"medium",attributes:{"aria-hidden":u?"true":void 0},children:t}),a&&i.jsx(ce,{svg:a,autoWidth:!0,size:g}),h&&i.jsx(Oe,{onClick:h,className:Te.dismiss,as:"span",attributes:{"aria-label":f},children:i.jsx(ce,{svg:zr,size:g})})]})};Tr.Container=Ms;const Qt={root:"_root_1ty16_15","rs-reshaped-loader":"_rs-reshaped-loader_1ty16_1",inner:"_inner_1ty16_44","--color-inherit":"_--color-inherit_1ty16_63","--color-primary":"_--color-primary_1ty16_67","--color-positive":"_--color-positive_1ty16_71","--color-critical":"_--color-critical_1ty16_75","--size-small":"_--size-small_1ty16_1","--size-medium":"_--size-medium_1ty16_1","--size-small--m":"_--size-small--m_1ty16_1","--size-medium--m":"_--size-medium--m_1ty16_1","--size-small--l":"_--size-small--l_1ty16_1","--size-medium--l":"_--size-medium--l_1ty16_1","--size-small--xl":"_--size-small--xl_1ty16_1","--size-medium--xl":"_--size-medium--xl_1ty16_1"},Ir=e=>{const{size:t="small",color:n="primary",className:r,attributes:o}=e,s=o==null?void 0:o["aria-label"],a=M(Qt.root,r,B(Qt,"--size",t),n&&Qt[`--color-${n}`]);return i.jsx("span",k(p({},o),{role:"progressbar","aria-live":s?"assertive":void 0,"aria-label":s,className:a,children:i.jsx("span",{className:Qt.inner})}))},le={root:"_root_1rnr5_1",loader:"_loader_1rnr5_33",icon:"_icon_1rnr5_41","--icon-position-end":"_--icon-position-end_1rnr5_45",text:"_text_1rnr5_56","--loading":"_--loading_1rnr5_62","--elevated":"_--elevated_1rnr5_79","--icon-only":"_--icon-only_1rnr5_83","--rounded":"_--rounded_1rnr5_89","--size-small":"_--size-small_1rnr5_1","--size-medium":"_--size-medium_1rnr5_1","--size-large":"_--size-large_1rnr5_1","--size-xlarge":"_--size-xlarge_1rnr5_1","--full-width":"_--full-width_1rnr5_135","--variant-solid":"_--variant-solid_1rnr5_149","--color-black":"_--color-black_1rnr5_149","--color-white":"_--color-white_1rnr5_150","--variant-faded":"_--variant-faded_1rnr5_151","--color-neutral":"_--color-neutral_1rnr5_151","--color-primary":"_--color-primary_1rnr5_152","--color-critical":"_--color-critical_1rnr5_153","--color-positive":"_--color-positive_1rnr5_154","--color-inherit":"_--color-inherit_1rnr5_155","--variant-outline":"_--variant-outline_1rnr5_156","--variant-ghost":"_--variant-ghost_1rnr5_157","--highlighted":"_--highlighted_1rnr5_176","--disabled":"_--disabled_1rnr5_531",group:"_group_1rnr5_563",aligner:"_aligner_1rnr5_624","--aligner-position-all":"_--aligner-position-all_1rnr5_628","--aligner-position-start":"_--aligner-position-start_1rnr5_632","--aligner-position-end":"_--aligner-position-end_1rnr5_636","--aligner-position-top":"_--aligner-position-top_1rnr5_640","--aligner-position-bottom":"_--aligner-position-bottom_1rnr5_644","--size-small--m":"_--size-small--m_1rnr5_1","--size-medium--m":"_--size-medium--m_1rnr5_1","--size-large--m":"_--size-large--m_1rnr5_1","--size-xlarge--m":"_--size-xlarge--m_1rnr5_1","--full-width-true--m":"_--full-width-true--m_1rnr5_1","--full-width-false--m":"_--full-width-false--m_1rnr5_1","--size-small--l":"_--size-small--l_1rnr5_1","--size-medium--l":"_--size-medium--l_1rnr5_1","--size-large--l":"_--size-large--l_1rnr5_1","--size-xlarge--l":"_--size-xlarge--l_1rnr5_1","--full-width-true--l":"_--full-width-true--l_1rnr5_1","--full-width-false--l":"_--full-width-false--l_1rnr5_1","--size-small--xl":"_--size-small--xl_1rnr5_1","--size-medium--xl":"_--size-medium--xl_1rnr5_1","--size-large--xl":"_--size-large--xl_1rnr5_1","--size-xlarge--xl":"_--size-xlarge--xl_1rnr5_1","--full-width-true--xl":"_--full-width-true--xl_1rnr5_1","--full-width-false--xl":"_--full-width-false--xl_1rnr5_1"},Ss=e=>{const{children:t,className:n,attributes:r}=e,o=M(le.group,n);return i.jsx("div",k(p({},r),{className:o,role:"group",children:t}))},Ps=e=>{const{children:t,position:n,className:r,attributes:o}=e,s=typeof n=="string"?[n]:n,a=s?s.map(u=>le[`--aligner-position-${u}`]):[le["--aligner-position-all"]],l=M(le.aligner,r,...a);return i.jsx("div",k(p({},o),{className:l,children:t}))},Fs=(e,t)=>{const{variant:n="solid",color:r="neutral",elevated:o,highlighted:s,fullWidth:a,loading:l,disabled:u,type:m,href:_,size:h="medium",className:f,children:v,rounded:b,attributes:w,onClick:g,icon:y,endIcon:x}=e,C=(y||x)&&!v,$=M(le.root,f,r&&le[`--color-${r}`],n&&le[`--variant-${n}`],B(le,"--size",h),B(le,"--full-width",a),o&&n!=="ghost"&&le["--elevated"],b&&le["--rounded"],u&&le["--disabled"],l&&le["--loading"],s&&le["--highlighted"],C&&le["--icon-only"]),E=z=>{if(!(z==="start"&&y||z==="end"&&x))return null;const S=M(le.icon,z==="end"&&le["--icon-position-end"]),F=Le(h,W=>W==="large"?5:W==="xlarge"?6:4);return i.jsx(ce,{className:S,svg:z==="start"?y:x,size:F,autoWidth:!0})};return i.jsxs(Oe,{disabled:u||l,className:$,attributes:w,type:m,onClick:g,href:_,ref:t,children:[l&&i.jsx("div",{className:le.loader,children:i.jsx(Ir,{size:"small",color:"inherit"})}),E("start"),v&&i.jsx("span",{className:le.text,children:v}),E("end")]})},we=c.forwardRef(Fs);we.Group=Ss,we.Aligner=Ps;const Et={root:"_root_def7r_1","--color-primary":"_--color-primary_def7r_6","--color-critical":"_--color-critical_def7r_10","--color-positive":"_--color-positive_def7r_14","--color-inherit":"_--color-inherit_def7r_18","--variant-plain":"_--variant-plain_def7r_22","--disabled":"_--disabled_def7r_26","--variant-underline":"_--variant-underline_def7r_32","--with-icon":"_--with-icon_def7r_48"},As=(e,t)=>{const{icon:n,disabled:r,href:o,color:s="primary",variant:a="underline",className:l,children:u,attributes:m,type:_,onClick:h}=e,f=M(Et.root,l,r&&Et["--disabled"],a&&Et[`--variant-${a}`],s&&Et[`--color-${s}`],n&&Et["--with-icon"]);return i.jsxs(Oe,{href:o,disabled:r,className:f,attributes:m,type:_,onClick:h,ref:t,children:[n&&i.jsx(ce,{svg:n}),u]})},Mr=c.forwardRef(As),Ls=()=>i.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("path",{d:"M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z",fill:"currentColor"}),i.jsx("path",{d:"M12 9C12.5523 9 13 8.55228 13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9Z",fill:"currentColor"}),i.jsx("path",{d:"M4 9C4.55228 9 5 8.55228 5 8C5 7.44772 4.55228 7 4 7C3.44772 7 3 7.44772 3 8C3 8.55228 3.44772 9 4 9Z",fill:"currentColor"})]}),Os=e=>{const{children:t,onClick:n,href:r,icon:o,disabled:s}=e;return!r&&!n&&!s?i.jsx(Z,{variant:"body-3",weight:"medium",color:"neutral",children:t}):i.jsx(Mr,{onClick:n,href:r,icon:o,disabled:s,variant:"plain",color:"inherit",children:t})},Sr=e=>{const{children:t,separator:n,color:r,defaultVisibleItems:o,ariaLabel:s,className:a,attributes:l}=e,u=o&&o>=2?o:null,[m,_]=c.useState(!1),h=M(a),f=c.Children.count(t);let v=0;const b=()=>{_(!0)};return i.jsx("nav",k(p({},l),{"aria-label":s||(l==null?void 0:l["aria-label"]),className:h,children:i.jsx(U,{as:"ol",direction:"row",gap:2,align:"center",children:c.Children.map(t,(w,g)=>{if(!w)return null;const y=f-(u||0),x=v===0,C=v>y,$=!u||x||C||m,E=v===y;v+=1;let z=null;return $?z=w:E&&(z=i.jsx(we.Aligner,{children:i.jsx(we,{variant:"ghost",size:"small",icon:Ls,onClick:b})})),z===null?null:i.jsxs(U,{as:"li",gap:2,direction:"row",align:"center",children:[g>0&&($||E)&&i.jsx(Z,{color:"neutral-faded",children:n||i.jsx(ce,{svg:Gt,size:3})}),i.jsx(Z,{variant:"body-3",color:r==="primary"?"primary":"neutral-faded",children:z})]},g)})})}))};Sr.Item=Os;const ut={root:"_root_10bg5_1",content:"_content_10bg5_11","--selected":"_--selected_10bg5_16","--elevated":"_--elevated_10bg5_21","--actionable":"_--actionable_10bg5_26"},Vs=(e,t)=>{const{padding:n=4}=e,{selected:r,elevated:o,bleed:s,height:a,onClick:l,href:u,children:m,className:_,attributes:h,as:f="div"}=e,v=!!u||!!l,b=cn("medium"),w=Jn(s),g=Nn(n),y=wt(a),x=M(ut.root,b==null?void 0:b.classNames,w==null?void 0:w.classNames,g==null?void 0:g.classNames,y==null?void 0:y.classNames,v&&ut["--actionable"],o&&ut["--elevated"],r&&ut["--selected"],_),C=p(p(p(p({},h==null?void 0:h.style),w==null?void 0:w.variables),g==null?void 0:g.variables),y==null?void 0:y.variables);return v?i.jsx(Oe,{className:x,attributes:k(p({},h),{style:C}),href:u,as:f,onClick:l,ref:t,children:i.jsx("span",{className:ut.content,children:m})}):i.jsx(f,k(p({},h),{onClick:l,href:u,ref:t,className:x,style:C,children:i.jsx("span",{className:ut.content,children:m})}))},Ds=c.forwardRef(Vs),Pr=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"15 18 9 12 15 6"})});var dt=(e=>(e.back="back",e.forward="forward",e))(dt||{});const We={root:"_root_xql9y_1",control:"_control_xql9y_5","--control-prev":"_--control-prev_xql9y_17","--control-next":"_--control-next_xql9y_21","--control-visible":"_--control-visible_xql9y_25",scroll:"_scroll_xql9y_30",item:"_item_xql9y_51","--control-rendered":"_--control-rendered_xql9y_63","--bleed":"_--bleed_xql9y_69","--bleed-true--m":"_--bleed-true--m_xql9y_1","--bleed-false--m":"_--bleed-false--m_xql9y_1","--bleed-true--l":"_--bleed-true--l_xql9y_1","--bleed-false--l":"_--bleed-false--l_xql9y_1","--bleed-true--xl":"_--bleed-true--xl_xql9y_1","--bleed-false--xl":"_--bleed-false--xl_xql9y_1"},Fr=e=>{const{type:t,scrollElRef:n,scrollPosition:r,onClick:o,isRTL:s,mounted:a}=e,[l,u]=c.useState(!1),[m,_]=c.useState(!1),h=t===dt.forward,f=t===(s?dt.back:dt.forward),v=M(We.control,f?We["--control-next"]:We["--control-prev"],l&&We["--control-visible"],m&&We["--control-rendered"]);return ue(()=>{const b=n.current;if(!b||!a)return;let w;const g=Math.abs(r),y=g<=0,x=g+b.clientWidth>=b.scrollWidth-1;return(h?x:y)?(u(!1),w=setTimeout(()=>_(!1),1500)):(_(!0),u(!0)),()=>{w&&clearTimeout(w)}},[r,n.current,a]),i.jsx("div",{className:v,"aria-hidden":"true",children:i.jsx(we,{onClick:o,icon:f?Gt:Pr,rounded:!0,variant:"faded",elevated:!0,attributes:{"aria-disabled":!l}})})},qs=e=>{const{children:t,gap:n=3,visibleItems:r,bleed:o,navigationDisplay:s,instanceRef:a,className:l,attributes:u}=e,[m,_]=c.useState(!1),[h,f]=c.useState(0),[v]=Ge(),b=c.useRef(null),w={};typeof o=="object"&&Object.entries(o).forEach(([P,I])=>{w[P]=typeof I=="number"&&I>0});const g=M(We.root,l,...B(We,"--bleed",typeof o=="number"?!0:w)),y=fo(P=>{const I=P.target;f(I.scrollLeft)},16),x=()=>{const I=getComputedStyle(b.current).gap.split(" ")[0];return Number(I.replace("px",""))},C=()=>{const P=b.current;P.scrollBy({left:P.clientWidth+x(),top:0,behavior:"smooth"})},$=()=>{const P=b.current;P.scrollBy({left:-P.clientWidth-x(),top:0,behavior:"smooth"})},E=v?C:$,z=v?$:C;return c.useImperativeHandle(a,()=>({navigateBack:E,navigateForward:z})),ue(()=>{_(!0)},[]),i.jsxs("section",k(p({},u),{className:g,style:p(p({},re("--rs-carousel-items",r)),re("--rs-carousel-bleed",o)),children:[s!=="hidden"&&i.jsxs(i.Fragment,{children:[i.jsx(Fr,{isRTL:v,type:dt.back,scrollElRef:b,scrollPosition:h,onClick:E,mounted:m}),i.jsx(Fr,{isRTL:v,type:dt.forward,scrollElRef:b,scrollPosition:h,onClick:z,mounted:m})]}),i.jsx(U,{as:"ul",direction:"row",wrap:!1,gap:n,className:We.scroll,attributes:{ref:b,onScroll:y},children:c.Children.map(t,P=>i.jsx(U.Item,{className:We.item,as:"li",children:P}))})]}))},Bs={root:"_root_1feer_1"},zn=e=>{const{name:t,value:n,type:r,onChange:o,onFocus:s,onBlur:a,checked:l,defaultChecked:u,disabled:m,className:_,attributes:h}=e,f=M(Bs.root,_);return i.jsx("input",k(p({},h),{className:f,type:r,name:t,value:n,checked:l,defaultChecked:u,disabled:m,onChange:o,onFocus:s||(h==null?void 0:h.onFocus),onBlur:a||(h==null?void 0:h.onBlur)}))},Ar=c.createContext(null),Ws=()=>c.useContext(Ar),Lr=e=>{const{onChange:t,name:n,disabled:r,value:o,children:s,hasError:a}=e,l=u=>{const{event:m,value:_,checked:h}=u;if(!_)return;let f=[...o];h?f.push(_):f=f.filter(v=>v!==_),t&&t({name:n,value:f,event:m})};return i.jsx(Ar.Provider,{value:{onChange:l,disabled:r,value:o,name:n,hasError:a},children:s})},Hs=e=>{const{defaultValue:t,onChange:n}=e,[r,o]=c.useState(t||[]),s=a=>{a.value&&(o(a.value),n&&n(a))};return i.jsx(Lr,k(p({},e),{value:r,defaultValue:void 0,onChange:s}))},Rs=e=>{const{value:t}=e;return t!==void 0?i.jsx(Lr,p({},e)):i.jsx(Hs,p({},e))},Us=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"20 6 9 17 4 12"})}),Je={root:"_root_mh3xy_1",decorator:"_decorator_mh3xy_11",field:"_field_mh3xy_15",icon:"_icon_mh3xy_29",input:"_input_mh3xy_39","--error":"_--error_mh3xy_45","--disabled":"_--disabled_mh3xy_83"},Ks=e=>{var E;const{children:t,value:n,onChange:r,onFocus:o,onBlur:s,indeterminate:a,className:l,attributes:u,inputAttributes:m}=e,_=Ws(),h=Ye(),f=(h==null?void 0:h.hasError)||e.hasError||(_==null?void 0:_.hasError),v=(h==null?void 0:h.disabled)||e.disabled||(_==null?void 0:_.disabled),b=_?(E=_.value)==null?void 0:E.includes(n):e.checked,w=_?void 0:e.defaultChecked,g=_?_.name:e.name,y=c.useRef(null),x=t?"label":"span",C=M(Je.root,l,f&&Je["--error"],v&&Je["--disabled"]),$=z=>{if(!g)return;const{checked:P}=z.target,I={name:g,value:n,checked:P,event:z};r&&r(I),_!=null&&_.onChange&&_.onChange(I)};return ue(()=>{y.current.indeterminate=a||!1},[a]),i.jsxs(x,k(p({},u),{className:C,children:[i.jsxs("span",{className:Je.field,children:[i.jsx(zn,{className:Je.input,type:"checkbox",checked:b,defaultChecked:w,name:g,disabled:v,value:n,onChange:$,onFocus:o,onBlur:s,attributes:k(p({},m),{ref:y})}),i.jsx("div",{className:Je.decorator,children:i.jsx(ce,{svg:Us,className:Je.icon})})]}),t&&i.jsx("span",{className:Je.text,children:t})]}))},Ys={root:"_root_1c40o_1"},Gs=e=>{const{children:t,padding:n=4,width:r,className:o,attributes:s}=e,a=M(Ys.root,o);return i.jsx(U,{attributes:s,className:a,paddingInline:n,width:r,maxWidth:"100%",children:t})},zt={root:"_root_1md53_1",close:"_close_1md53_7","--variant-media":"_--variant-media_1md53_14","--hide-close":"_--hide-close_1md53_15","--align-center":"_--align-center_1md53_24"},Xs=e=>{const{children:t,align:n,onClose:r,hideCloseButton:o,variant:s,closeAriaLabel:a,className:l,attributes:u}=e,m=M(zt.root,l,s&&zt[`--variant-${s}`],n&&zt[`--align-${n}`],o&&zt["--hide-close"]),_=s==="media"?"div":we.Aligner;return i.jsxs("div",k(p({},u),{className:m,children:[t,!o&&i.jsx(_,{className:zt.close,children:i.jsx(we,k(p({size:"small"},s==="media"?{color:"black",variant:"faded"}:{variant:"ghost"}),{onClick:r,attributes:{"aria-label":r?a:void 0},icon:zr}))})]}))},Js={root:"_root_r7flr_1"},Qs=e=>{const{children:t}=e;return i.jsx("div",{className:Js.root,children:t})},Or={root:"_root_y4hmt_1","--active":"_--active_y4hmt_15"},Zs=e=>{const{children:t,active:n,className:r,attributes:o}=e,s=M(Or.root,n&&Or["--active"],r);return i.jsx(Z,{as:"kbd",variant:"caption-1",weight:"medium",color:"neutral-faded",className:s,attributes:o,children:t})},Zt={root:"_root_qqeu9_1",fallback:"_fallback_qqeu9_6","--display-mode-cover":"_--display-mode-cover_qqeu9_15","--display-mode-contain":"_--display-mode-contain_qqeu9_19"},ei=e=>{const{src:t,alt:n,width:r,height:o,onLoad:s,onError:a,fallback:l,displayMode:u="cover",borderRadius:m,className:_,attributes:h,imageAttributes:f}=e,[v,b]=c.useState("loading"),w=cn(m),g=Qn(r),y=wt(o),x=M(Zt.root,w==null?void 0:w.classNames,g==null?void 0:g.classNames,y==null?void 0:y.classNames,u&&Zt[`--display-mode-${u}`],_),C=M(Zt.image,x),$=M(Zt.fallback,x),E=p(p({},g==null?void 0:g.variables),y==null?void 0:y.variables),z=I=>{b("success"),s==null||s(I)},P=I=>{b("error"),a==null||a(I)};return c.useEffect(()=>{b("loading")},[t]),(v==="error"||!t)&&l?typeof l=="string"?i.jsx("img",k(p({},h),{src:l,alt:n,role:n?void 0:"presentation",className:$,style:E})):i.jsx("div",k(p({},h),{className:$,style:E,children:l})):i.jsx("img",k(p(p({},h),f),{src:t,alt:n,role:n?void 0:"presentation",onLoad:z,onError:P,className:C,style:E}))},Tn=e=>{const[t,n]=c.useState(e||!1),r=c.useCallback(()=>{n(!0)},[]),o=c.useCallback(()=>{n(!1)},[]),s=c.useCallback(()=>{n(a=>!a)},[]);return{active:t,activate:r,deactivate:o,toggle:s}},ti=(()=>{let e;return()=>{if(e)return e;const t=document.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),e=t.getBoundingClientRect().width-t.clientWidth,document.body.removeChild(t),e}})(),Vr=()=>{const[e,t]=c.useState(!1),n=c.useRef(),r=c.useRef(!1),o=c.useCallback(()=>{const{body:a}=document,l=a.getBoundingClientRect();if(r.current=l.left+l.right<window.innerWidth,n.current=a.style.overflow,a.style.overflow="hidden",r.current){const u=ti();document.body.style.paddingRight=`${u}px`}t(!0)},[t,r,n]),s=c.useCallback(()=>{document.body.style.overflow=n.current||"",r.current&&(document.body.style.paddingRight=""),t(!1)},[t,r,n]);return{scrollLocked:e,lockScroll:o,unlockScroll:s}},_t={root:"_root_twcer_1",wrapper:"_wrapper_twcer_20",inner:"_inner_twcer_26",content:"_content_twcer_32","--visible":"_--visible_twcer_40","--transparent":"_--transparent_twcer_44"},Dr=e=>{const{active:t,children:n,transparent:r,onClose:o,className:s,attributes:a}=e,[l,u]=c.useState(!1),m=c.useRef(null),_=c.useRef(!1),h=c.useRef(null),{lockScroll:f,unlockScroll:v}=Vr(),{active:b,activate:w,deactivate:g}=Tn(t||!1),{active:y,activate:x,deactivate:C}=Tn(t||!1),$=mr(t,m),E=M(_t.root,y&&_t["--visible"],r&&_t["--transparent"],s),z=O=>{if(!m.current)return;const L=m.current.firstChild;if(L)return L.contains(O)},P=()=>{m.current&&(h.current=qt(m.current))},I=()=>{h.current&&(h.current(),h.current=null)},D=c.useCallback(()=>{!y||!$()||o&&o()},[y,$]),S=O=>{_.current=!z(O.target)},F=O=>{const L=!z(O.target);_.current&&L&&!r&&D()},W=O=>{O.propertyName!=="opacity"||O.target!==O.currentTarget||y||(r||v(),g())};return nt({Escape:D},[D]),c.useEffect(()=>{t&&!b&&w(),!t&&b&&C()},[t,w,C,b]),c.useEffect(()=>{b&&(r||f(),kt(()=>x()))},[b,x,f,r]),c.useEffect(()=>{if(b)return P(),()=>I()},[b]),c.useEffect(()=>()=>{r||v()},[v,r]),ue(()=>{u(!0)},[]),!b||!l?null:i.jsx(Yt,{children:i.jsx(Yt.Scope,{children:O=>i.jsx("div",k(p({},a),{ref:O,role:"button",tabIndex:-1,className:E,onMouseDown:S,onMouseUp:F,onTransitionEnd:W,children:i.jsx("div",{className:_t.wrapper,children:i.jsx("div",{className:_t.inner,children:i.jsx("div",{className:_t.content,ref:m,children:typeof n=="function"?n({active:y}):n})})})}))})})},In={root:"_root_1cqfg_1","--position-center":"_--position-center_1cqfg_1","--position-bottom":"_--position-bottom_1cqfg_1","--position-start":"_--position-start_1cqfg_1","--position-end":"_--position-end_1cqfg_1","--active":"_--active_1cqfg_88","--position-center--m":"_--position-center--m_1cqfg_1","--position-bottom--m":"_--position-bottom--m_1cqfg_1","--position-start--m":"_--position-start--m_1cqfg_1","--position-end--m":"_--position-end--m_1cqfg_1","--position-center--l":"_--position-center--l_1cqfg_1","--position-bottom--l":"_--position-bottom--l_1cqfg_1","--position-start--l":"_--position-start--l_1cqfg_1","--position-end--l":"_--position-end--l_1cqfg_1","--position-center--xl":"_--position-center--xl_1cqfg_1","--position-bottom--xl":"_--position-bottom--xl_1cqfg_1","--position-start--xl":"_--position-start--xl_1cqfg_1","--position-end--xl":"_--position-end--xl_1cqfg_1"},qr=c.createContext({id:"",titleMounted:!1,setTitleMounted:()=>{},subtitleMounted:!1,setSubtitleMounted:()=>{}}),Br=()=>c.useContext(qr),ni=e=>{const{children:t}=e,{id:n,setTitleMounted:r}=Br();return c.useEffect(()=>(r(!0),()=>r(!1)),[r]),i.jsx(Z,{variant:"featured-3",weight:"bold",attributes:{id:`${n}-title`},children:t})},ri=e=>{const{children:t}=e,{id:n,setSubtitleMounted:r}=Br();return c.useEffect(()=>(r(!0),()=>r(!1)),[r]),i.jsx(Z,{variant:"body-3",color:"neutral-faded",attributes:{id:`${n}-subtitle`},children:t})},Mn=e=>{const{children:t,onClose:n,active:r,size:o,padding:s=4,position:a="center",transparentOverlay:l,className:u,attributes:m}=e,_=$e(),[h,f]=c.useState(!1),[v,b]=c.useState(!1),w=Nn(s),g=c.useMemo(()=>({titleMounted:h,setTitleMounted:f,subtitleMounted:v,setSubtitleMounted:b,id:_}),[_,v,h]);return i.jsx(Dr,{onClose:n,active:r,transparent:l,children:({active:y})=>{const x=M(In.root,u,w==null?void 0:w.classNames,y&&In["--active"],B(In,"--position",a));return i.jsx(qr.Provider,{value:g,children:i.jsx("div",k(p({},m),{style:p(p({},w==null?void 0:w.variables),re("--rs-modal-size",o)),"aria-labelledby":h?`${_}-title`:void 0,"aria-describedby":v?`${_}-subtitle`:void 0,className:x,"aria-modal":"true",role:"dialog",children:t}))})}})};Mn.Title=ni,Mn.Subtitle=ri;const Tt={root:"_root_1ux6v_1",value:"_value_1ux6v_9","--duration":"_--duration_1ux6v_23","--size-small":"_--size-small_1ux6v_27","--size-medium":"_--size-medium_1ux6v_31","--color-primary":"_--color-primary_1ux6v_35","--color-critical":"_--color-critical_1ux6v_39","--color-positive":"_--color-positive_1ux6v_43","--color-white":"_--color-white_1ux6v_47"},oi=e=>{const{value:t=0,min:n=0,max:r=100,color:o="primary",size:s="medium",duration:a,className:l,attributes:u}=e,m=M(Tt.root,l,o&&Tt[`--color-${o}`],s&&Tt[`--size-${s}`],!!a&&Tt["--duration"]),_=r-n,h=t-n,b=`${Math.max(n,Math.min(r,h))/_*100-100}%`;return i.jsx("div",k(p({role:"progressbar"},u),{className:m,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":t,children:i.jsx("div",{className:Tt.value,style:{"--rs-progress-value":b,"--rs-progress-duration":a?`${a}ms`:void 0}})}))},Wr=c.createContext(null),si=()=>c.useContext(Wr),Hr=e=>{const{onChange:t,name:n,disabled:r,value:o,children:s,hasError:a}=e,l=({event:u,value:m})=>{m&&t&&t({name:n,value:m,event:u})};return i.jsx(Wr.Provider,{value:{onChange:l,disabled:r,value:o,name:n,hasError:a},children:s})},ii=e=>{const{defaultValue:t,onChange:n}=e,[r,o]=c.useState(t||null),s=a=>{a.value&&(o(a.value),n&&n(a))};return i.jsx(Hr,k(p({},e),{value:r,defaultValue:void 0,onChange:s}))},ai=e=>{const{value:t}=e;return t!==void 0?i.jsx(Hr,p({},e)):i.jsx(ii,p({},e))},rt={root:"_root_1o7zq_1",input:"_input_1o7zq_10",decorator:"_decorator_1o7zq_10",field:"_field_1o7zq_14","--error":"_--error_1o7zq_48",text:"_text_1o7zq_60","--disabled":"_--disabled_1o7zq_71"},li=e=>{const{children:t,value:n,onChange:r,onFocus:o,onBlur:s,className:a,attributes:l,inputAttributes:u}=e,m=Ye(),_=si(),h=(m==null?void 0:m.hasError)||e.hasError||(_==null?void 0:_.hasError),f=(m==null?void 0:m.disabled)||e.disabled||(_==null?void 0:_.disabled),v=_?_.value===n:e.checked,b=_?void 0:e.defaultChecked,w=_?_.name:e.name,g=t?"label":"span",y=M(rt.root,a,h&&rt["--error"],f&&rt["--disabled"]),x=C=>{if(!w)return;const{checked:$}=C.target,E={name:w,value:n,checked:$,event:C};r&&r(E),_!=null&&_.onChange&&_.onChange(E)};return i.jsxs(g,k(p({},l),{className:y,children:[i.jsxs("span",{className:rt.field,children:[i.jsx(zn,{className:rt.input,type:"radio",checked:v,defaultChecked:b,name:w,disabled:f,value:n,onChange:x,onFocus:o,onBlur:s,attributes:u}),i.jsx("div",{className:rt.decorator})]}),t&&i.jsx("span",{className:rt.text,children:t})]}))},Rr={short:4e3,long:8e3},It=["top-start","top","top-end","bottom-start","bottom","bottom-end"],Ur={queues:It.reduce((e,t)=>p({[t]:[]},e),{}),show:()=>{},hide:()=>{},remove:()=>{},add:()=>""},en=c.createContext(Ur),ci=()=>{const{add:e,hide:t}=c.useContext(en);return c.useMemo(()=>({show:e,hide:t}),[e,t])},De={container:"_container_gthtf_1","container--visible":"_container--visible_gthtf_1",wrapper:"_wrapper_gthtf_12","container--index-0":"_container--index-0_gthtf_1","container--index-1":"_container--index-1_gthtf_1","container--index-2":"_container--index-2_gthtf_104","container--index-overflow":"_container--index-overflow_gthtf_108",region:"_region_gthtf_64","region--position-top":"_region--position-top_gthtf_1","region--position-top-start":"_region--position-top-start_gthtf_1","region--position-top-end":"_region--position-top-end_gthtf_1","region--position-bottom":"_region--position-bottom_gthtf_1","region--position-bottom-start":"_region--position-bottom-start_gthtf_1","region--position-bottom-end":"_region--position-bottom-end_gthtf_1"},ui=e=>{const{size:t="small",text:n,children:r,color:o="inverted",icon:s,title:a,actionsSlot:l,startSlot:u,collapsed:m,attributes:_}=e;let h=o==="inverted"||o==="neutral"?"elevation-overlay":o;o==="neutral"&&(h=m?"neutral":"elevation-overlay");const f=o==="neutral"?"neutral-faded":"transparent",v=t==="small"?"span":"div",b=t==="large";let w=[];l&&(w=Array.isArray(l)?l:[l]);const g=(a||n)&&i.jsxs(i.Fragment,{children:[a&&i.jsxs(Z,{variant:"body-3",weight:"bold",as:v,children:[a," "]}),i.jsx(Z,{variant:"body-3",as:v,children:n})]}),y=i.jsxs(U,{backgroundColor:h,borderColor:f,padding:4,borderRadius:"medium",animated:!0,direction:"row",gap:3,align:b?"start":"center",className:De.toast,attributes:_,children:[s&&i.jsx(ce,{size:5,svg:s,className:De.icon}),u&&!s&&i.jsx(U.Item,{children:u}),i.jsx(U.Item,{grow:!0,children:i.jsxs(U,{direction:b?"column":"row",align:b?"start":"center",gap:3,children:[i.jsx(U.Item,{grow:!0,children:g&&r||t!=="small"?i.jsxs(U,{gap:.5,children:[g,r&&i.jsx(U,{gap:3,children:r})]}):g||r}),w.length&&i.jsx(U,{direction:"row",align:"center",gap:2,children:w.map((x,C)=>{const $=t==="large"?C===0:C===w.length-1,z={variant:$?"solid":"ghost",size:"small",color:$?o==="neutral"||o==="inverted"?"neutral":"white":"inherit",elevated:o!=="neutral"};return x.type===we?c.createElement(we,k(p(p({},z),x.props),{key:C})):x})})]})})]});return o==="inverted"?i.jsx(lt,{colorMode:"inverted",children:y}):y},di=e=>{const{toastProps:t,id:n,status:r,inspected:o,index:s}=e,{timeout:a="short"}=t,{show:l,hide:u,remove:m}=c.useContext(en),[_,h]=c.useState(),f=c.useRef(),v=c.useRef(!1),b=c.useRef(null),w=c.useRef(null),g=r==="entered",y=M(De.container,g&&De["container--visible"],s===0&&De[`container--index-${s}`],!o&&(s===1||s===2)&&De[`container--index-${s}`],!o&&s>=3&&De["container--index-overflow"]),x=c.useCallback(()=>{f.current&&clearTimeout(f.current)},[]),C=c.useCallback(()=>{x();const E=typeof a=="string"?Rr[a]:a;a!==0&&(f.current=setTimeout(()=>{u(n)},E!=null?E:Rr.short))},[u,n,a,x]),$=E=>{E.propertyName==="height"&&(g||m(n))};return c.useEffect(()=>{g&&(o?x():C())},[o,C,x,g]),c.useEffect(()=>{w.current&&h(w.current.clientHeight),console.log("show"),l(n),C()},[l,n,C]),c.useEffect(()=>{w.current&&(g?b.current=qt(w.current,{includeTrigger:!0,mode:"content-menu"}):b.current&&cr()&&(b.current(),b.current=null))},[g]),c.useEffect(()=>{if(!g||s>0)return;const E=()=>{v.current=!0,kt(()=>{v.current=!1}),w.current&&h(w.current.clientHeight)};return window.addEventListener("resize",E),()=>window.removeEventListener("resize",E)},[g,s]),i.jsx("li",{className:y,style:{height:r==="entered"?`calc(${_}px + var(--rs-unit-x2) + 2px)`:0,transitionDuration:v.current?"0s":void 0},onTransitionEnd:$,onFocus:x,onBlur:C,children:i.jsx("span",{className:De.wrapper,children:i.jsx(ui,k(p({},t),{collapsed:s>0&&!o,attributes:{ref:w}}))})})},_i=e=>{const{position:t}=e,{queues:n,options:r}=c.useContext(en),[o,s]=c.useState(!1),a=c.useRef(!1),l=c.useRef(null),u=n[t],{width:m,expanded:_}=(r==null?void 0:r[t])||{},h=M(De.region,De[`region--position-${t}`]),f=u.filter(x=>x.status==="entered").length;let v=0;const b=()=>{a.current=!0},w=x=>{let C=x.target,$=!1;for(;C&&C!==l.current&&!$;)$=C.matches(ur),C=C.parentElement;$||s(E=>!E),a.current=!1},g=()=>{a.current||s(!0)},y=()=>{a.current||s(!1)};return c.useEffect(()=>{u.length===0&&s(!1)},[u.length]),u.length?i.jsx("ul",{role:"region","aria-live":"polite",className:h,ref:l,onTouchStart:b,onClick:w,onMouseEnter:g,onMouseLeave:y,style:{width:m},children:u.map((x,C)=>{const $=f-C+v-1;return x.status!=="entered"&&(v+=1),i.jsx(di,k(p({},x),{index:$,inspected:o||!!_}),x.id)})}):null};let mi=0;const fi=()=>`__rs-toast-${mi++}`,hi=(e,t)=>{let n;switch(t.type){case"add":const r=t.payload.toastProps||{},{position:o="bottom-end"}=r,s=Ae(r,["position"]);return k(p({},e),{[o]:[...e[o],{id:t.payload.id,toastProps:s,status:"entering"}]});case"show":const{id:a}=t.payload;return n=p({},e),It.forEach(m=>{n[m]=n[m].map(_=>_.status!=="entering"?_:_.id===a?k(p({},_),{status:"entered"}):_)}),n;case"hide":const{id:l}=t.payload;return n=p({},e),It.forEach(m=>{n[m]=n[m].map(_=>_.id===l?k(p({},_),{status:"exiting"}):_)}),n;case"remove":const{id:u}=t.payload;return n=p({},e),It.forEach(m=>{n[m]=n[m].filter(_=>_.id!==u)}),n}},vi=e=>{const{children:t,options:n}=e,[r,o]=c.useReducer(hi,Ur.queues),s=c.useCallback(_=>{const h=fi();return console.log("add"),o({type:"add",payload:{toastProps:_,id:h}}),h},[]),a=c.useCallback(_=>{o({type:"show",payload:{id:_}})},[]),l=c.useCallback(_=>{console.log("hide"),o({type:"hide",payload:{id:_}})},[]),u=c.useCallback(_=>{o({type:"remove",payload:{id:_}})},[]),m=c.useMemo(()=>({queues:r,add:s,show:a,hide:l,remove:u,inspecting:!1,options:n}),[r,a,l,s,u,n]);return i.jsxs(en.Provider,{value:m,children:[t,It.map(_=>i.jsx(_i,{position:_},_))]})},pi=()=>{c.useEffect(()=>{const e=n=>{n.metaKey||n.altKey||n.ctrlKey||document.documentElement.setAttribute(hn,"true")},t=()=>{document.documentElement.removeAttribute(hn)};return window.addEventListener("keydown",e),window.addEventListener("mousedown",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("mousedown",t)}},[])},Bl="",gi={root:"_root_18j53_1"},bi=e=>{const{children:t,defaultRTL:n,defaultViewport:r="s",toastOptions:o}=e,s=ss(n);return pi(),i.jsx(xn.Provider,{value:{rtl:s,defaultViewport:r},children:i.jsx(rs,{children:i.jsx(vi,{options:o,children:t})})})},xi=e=>{const{theme:t,defaultTheme:n="reshaped",defaultColorMode:r,className:o}=e,s=M(gi.root,o);return i.jsx(gs,{defaultMode:r,children:i.jsx(lt,{name:t,defaultName:n,className:s,children:i.jsx(bi,k(p({},e),{children:e.children}))})})},Mt={root:"_root_f2om1_1",scrim:"_scrim_f2om1_2",content:"_content_f2om1_31","--position-cover":"_--position-cover_f2om1_37","--position-top":"_--position-top_f2om1_56","--position-bottom":"_--position-bottom_f2om1_57","--position-start":"_--position-start_f2om1_61","--position-end":"_--position-end_f2om1_62","--with-background":"_--with-background_f2om1_100"},yi=e=>{const{children:t,backgroundSlot:n,position:r="cover",attributes:o,className:s,scrimClassName:a}=e,l=M(Mt.root,!!n&&Mt["--with-background"],r&&Mt[`--position-${r}`],s),u=M(Mt.scrim,a);return i.jsxs("div",k(p({},o),{className:l,children:[n,i.jsx("div",{className:u,children:i.jsx("div",{className:Mt.content,children:t})})]}))},wi=()=>i.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("path",{d:"M7 16L12 21L17 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17 8L12 3L7 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Ie={root:"_root_t5eyu_1",input:"_input_t5eyu_18",slot:"_slot_t5eyu_48",icon:"_icon_t5eyu_56",arrow:"_arrow_t5eyu_68","--size-medium":"_--size-medium_t5eyu_1","--size-large":"_--size-large_t5eyu_1","--size-xlarge":"_--size-xlarge_t5eyu_1","--variant-faded":"_--variant-faded_t5eyu_123","--variant-headless":"_--variant-headless_t5eyu_132","--status-error":"_--status-error_t5eyu_137","--placeholder":"_--placeholder_t5eyu_152","--disabled":"_--disabled_t5eyu_156","--size-medium--m":"_--size-medium--m_t5eyu_1","--size-large--m":"_--size-large--m_t5eyu_1","--size-xlarge--m":"_--size-xlarge--m_t5eyu_1","--size-medium--l":"_--size-medium--l_t5eyu_1","--size-large--l":"_--size-large--l_t5eyu_1","--size-xlarge--l":"_--size-xlarge--l_t5eyu_1","--size-medium--xl":"_--size-medium--xl_t5eyu_1","--size-large--xl":"_--size-large--xl_t5eyu_1","--size-xlarge--xl":"_--size-xlarge--xl_t5eyu_1"},ji=e=>{var W,O;const{onChange:t,onClick:n,onFocus:r,onBlur:o,name:s,value:a,defaultValue:l,placeholder:u,options:m,children:_,icon:h,startSlot:f,size:v="medium",variant:b="outline",className:w,attributes:g}=e,[y,x]=c.useState(a===void 0?!l:!a),C=Ye(),$=$e(e.id),E=((W=C==null?void 0:C.attributes)==null?void 0:W.id)||((O=e.inputAttributes)==null?void 0:O.id)||$,z=(C==null?void 0:C.disabled)||e.disabled,P=(C==null?void 0:C.hasError)||e.hasError,I=p(p({},e.inputAttributes),C==null?void 0:C.attributes),D=M(Ie.root,w,v&&B(Ie,"--size",v),P&&Ie["--status-error"],z&&Ie["--disabled"],y&&m&&Ie["--placeholder"],b&&Ie[`--variant-${b}`]),S=L=>{const te=L.target.value;a===void 0&&x(!te),t&&t({name:s,value:te,event:L})};c.useEffect(()=>{a!==void 0&&x(!a)},[a]);const F=(f||h)&&i.jsx("div",{className:Ie.slot,children:h?i.jsx(ce,{size:Le(v,L=>L==="large"?5:L==="xlarge"?6:4),svg:h,className:Ie.icon}):f});return i.jsxs("div",k(p({},g),{className:D,children:[m?i.jsxs(i.Fragment,{children:[F,i.jsxs("select",k(p({},I),{className:Ie.input,disabled:z,name:s,value:a,defaultValue:l,onChange:S,onFocus:r||(I==null?void 0:I.onFocus),onBlur:o||(I==null?void 0:I.onBlur),id:E,children:[u&&i.jsx("option",{value:"",children:u}),m.map(L=>i.jsx("option",{value:L.value,disabled:L.disabled,children:L.label},L.value))]}))]}):i.jsxs(i.Fragment,{children:[i.jsxs(Oe,{className:Ie.input,disabled:z,onClick:n,attributes:k(p({},I),{onFocus:r||(I==null?void 0:I.onFocus),onBlur:o||(I==null?void 0:I.onBlur)}),children:[F,_||(u?i.jsx(Z,{color:"neutral-faded",children:u}):null)]}),i.jsx("input",{type:"hidden",value:a,name:s})]}),i.jsx("div",{className:Ie.arrow,children:i.jsx(ce,{svg:wi,color:z?"disabled":"neutral-faded",size:Le(v,L=>L==="large"||L==="xlarge"?5:4)})})]}))},Ci={root:"_root_xavah_1","rs-skeleton-pulse":"_rs-skeleton-pulse_xavah_1"},ki=e=>{const{borderRadius:t="small",width:n,height:r,className:o,attributes:s}=e,a=M(Ci.root,o);return i.jsx(U,{backgroundColor:"disabled",width:n,height:r,borderRadius:t,className:a,attributes:s})},Qe={root:"_root_k9a0x_1",bar:"_bar_k9a0x_10",input:"_input_k9a0x_19",selection:"_selection_k9a0x_28",tooltip:"_tooltip_k9a0x_34",thumb:"_thumb_k9a0x_50","thumb--active":"_thumb--active_k9a0x_1","--disabled":"_--disabled_k9a0x_104"},Ni=(e,t)=>{const{name:n,value:r,disabled:o,active:s,position:a,max:l,min:u,onChange:m,onDragStart:_,renderValue:h}=e,f=c.useId(),v=M(Qe.thumb,s&&Qe["thumb--active"]),b=h?h({value:r}):r,w=g=>{m(+g.target.value)};return i.jsxs(i.Fragment,{children:[i.jsx("input",{className:Qe.input,type:"range",name:n,value:r,onChange:w,disabled:o,max:l,min:u,"aria-labelledby":f}),i.jsx("div",{ref:t,className:v,onMouseDown:_,onTouchStart:_,style:{insetInlineStart:`${a}%`},id:f,"aria-hidden":"true",children:i.jsx(lt,{className:Qe.tooltip,colorMode:"inverted",children:i.jsx(Z,{variant:"caption-1",weight:"medium",children:b})})})]})},Kr=c.forwardRef(Ni),Yr=e=>e instanceof MouseEvent?e.pageX||e.screenX:e.changedTouches[0].pageX,Sn=(e,t)=>Math.round(e/t)*t,Pn=e=>{var Ce;const{name:t,range:n,max:r,min:o,step:s=1,onChange:a,onChangeCommit:l,renderValue:u,className:m,attributes:_}=e,h=n&&e.minValue!==void 0?Sn(e.minValue,s):void 0,f=Sn(n?e.maxValue:e.value,s),v=c.useRef(null),b=c.useRef(null),w=c.useRef(null),[g,y]=c.useState(null),[x]=Ge(),C=Ye(),$=$e(),E=((Ce=C==null?void 0:C.attributes)==null?void 0:Ce.id)||$,z=`${E}-min`,P=`${E}-max`,I=(C==null?void 0:C.disabled)||e.disabled,D=M(Qe.root,I&&Qe["--disabled"],m),S=c.useCallback(se=>{if(!v.current)return;const H=v.current.clientWidth;let Y=(se-v.current.getBoundingClientRect().left)/H;x&&(Y=1-Y);let ie=(r-o)*Y+o;return ie=Math.max(o,Math.min(r,ie)),Sn(ie,s)},[r,o,x,s]),F=se=>(se-o)/(r-o)*100,W=c.useCallback((se,H)=>{if(!n)return;const K=H!=null&&H.commit?l:a;K==null||K({minValue:se,maxValue:f,name:t})},[f,t,n]),O=c.useCallback((se,H)=>{if(n){const Y=H!=null&&H.commit?l:a;Y==null||Y({minValue:h,maxValue:se,name:t});return}const K=H!=null&&H.commit?l:a;K==null||K({value:se,name:t})},[h,t,n]),L=({nativeEvent:se})=>{if(I)return;let H,K;const Y=Yr(se),ie=S(Y);[{ref:b,id:z},{ref:w,id:P}].forEach(G=>{if(!G.ref.current)return;const ge=G.ref.current,he=Math.abs(ge.getBoundingClientRect().left-Y);(H===void 0||he<=H)&&(H=he,K=G.id)}),!(!K||ie===void 0)&&(K===z&&W(ie),K===P&&O(ie),y(K))},te=()=>{I||y(z)},je=()=>{I||y(P)},fe=c.useCallback(()=>{g===z&&h!==void 0&&W(h,{commit:!0}),g===P&&O(f,{commit:!0}),y(null)},[h,f,W,O,g,z,P]),oe=c.useCallback(se=>{if(!g)return;const H=Yr(se),K=S(H);if(K===void 0)return;let Y=g;g===z&&K>f&&(Y=P),g===P&&h&&K<h&&(Y=z),Y===z&&W(K),Y===P&&O(K),g!==Y&&y(Y)},[g,h,f,S,O,W,P,z]);c.useEffect(()=>(window.addEventListener("mouseup",fe),window.addEventListener("touchend",fe),window.addEventListener("mousemove",oe),window.addEventListener("touchmove",oe),()=>{window.removeEventListener("mouseup",fe),window.removeEventListener("touchend",fe),window.removeEventListener("mousemove",oe),window.removeEventListener("touchmove",oe)}),[fe,oe]);const Q=h&&F(h),He=F(f);return i.jsxs("div",k(p({},_),{className:D,onMouseDown:L,onTouchStart:L,children:[i.jsx("div",{className:Qe.bar,ref:v,children:i.jsx("div",{className:Qe.selection,style:{insetInlineStart:`${Q||0}%`,width:`${He-(Q||0)}%`}})}),h!==void 0&&Q!==void 0&&i.jsx(Kr,{id:z,active:z===g,name:t,disabled:I,onChange:W,value:h,onDragStart:te,position:Q,max:r,min:o,ref:b,renderValue:u}),i.jsx(Kr,{id:P,active:P===g,name:t,disabled:I,onChange:O,value:f,onDragStart:je,position:He,max:r,min:o,ref:w,renderValue:u})]}))},$i=e=>{const{min:t,max:n,onChange:r,range:o}=e,s="defaultMinValue"in e&&e.defaultMinValue!==void 0&&e.defaultMinValue||"defaultValue"in e&&e.defaultValue!==void 0&&e.defaultValue||t,a="defaultMaxValue"in e&&e.defaultMaxValue!==void 0&&e.defaultMaxValue||"defaultValue"in e&&e.defaultValue!==void 0&&e.defaultValue||(o?n:t),[l,u]=c.useState(s),[m,_]=c.useState(a),h=v=>{o||(_(v.value),r==null||r(v))},f=v=>{o&&(u(v.minValue),_(v.maxValue),r==null||r(v))};return o?i.jsx(Pn,k(p({},e),{min:t,max:n,minValue:l,maxValue:m,defaultMinValue:void 0,defaultMaxValue:void 0,onChange:f})):i.jsx(Pn,k(p({},e),{min:t,max:n,value:m,defaultValue:void 0,onChange:h}))},Ei=e=>{const o=e,{min:t=0,max:n=100}=o,r=Ae(o,["min","max"]);return"value"in e&&e.value!==void 0||"minValue"in e&&"maxValue"in e&&e.minValue!==void 0&&e.maxValue!==void 0?i.jsx(Pn,k(p({},r),{min:t,max:n})):i.jsx($i,k(p({},r),{min:t,max:n}))},mt={root:"_root_1zzd0_1",input:"_input_1zzd0_10",area:"_area_1zzd0_22",thumb:"_thumb_1zzd0_26","root--size-small":"_root--size-small_1zzd0_82","root--reversed":"_root--reversed_1zzd0_102"},zi=e=>{var x;const{children:t,name:n,checked:r,size:o,reversed:s,defaultChecked:a,onChange:l,onFocus:u,onBlur:m,className:_,attributes:h}=e,f=M(mt.root,o&&mt[`root--size-${o}`],s&&mt["root--reversed"],_),v=Ye(),b=$e((v==null?void 0:v.attributes.id)||e.id||((x=e.inputAttributes)==null?void 0:x.id)),w=p(p({},e.inputAttributes),v==null?void 0:v.attributes),g=(v==null?void 0:v.disabled)||e.disabled,y=C=>{l&&l({name:n,event:C,checked:C.target.checked})};return i.jsxs("label",k(p({},h),{className:f,children:[i.jsx("input",k(p({type:"checkbox"},w),{className:mt.input,name:n,checked:r,defaultChecked:a,disabled:g,onChange:y,onFocus:u||(w==null?void 0:w.onFocus),onBlur:m||(w==null?void 0:w.onBlur),id:b})),i.jsx("span",{className:mt.area,"aria-hidden":"true",children:i.jsx("span",{className:mt.thumb})}),t&&i.jsx(Z,{variant:"body-3",weight:"medium",children:t})]}))},Gr=c.createContext({}),Ti=Gr.Provider,Fn=e=>{const r=c.useContext(Gr),{id:t}=r,n=Ae(r,["id"]);return k(p({},n),{panelId:e!==void 0?`${t}-tabs-panel-${e}`:void 0,buttonId:e!==void 0?`${t}-tabs-button-${e}`:void 0})},Xr=e=>{const{children:t,value:n,onChange:r,onSilentChange:o,itemWidth:s,variant:a,name:l,direction:u="row",size:m="medium"}=e,_=$e(),h=c.useRef(null),f=c.useRef(h.current),[v,b]=c.useState({scaleX:0,scaleY:0,left:0,top:0,status:"idle"}),w=g=>{g!==void 0&&o&&o({value:g,name:l})};return i.jsx(Ti,{value:{value:n,name:l,size:m,direction:u,itemWidth:s,variant:a,onChange:r,id:_,setDefaultValue:w,elActiveRef:h,elPrevActiveRef:f,selection:v,setSelection:b},children:t})},Ii=e=>{const{defaultValue:t,onChange:n}=e,[r,o]=c.useState(t),s=({value:l})=>{o(l),n&&n({value:l})},a=({value:l})=>{o(l)};return i.jsx(Xr,k(p({},e),{onChange:s,onSilentChange:a,value:r,defaultValue:void 0}))},ee={root:"_root_mz4y6_1",list:"_list_mz4y6_12",inner:"_inner_mz4y6_16",listItem:"_listItem_mz4y6_23",button:"_button_mz4y6_30",buttonContent:"_buttonContent_mz4y6_46",icon:"_icon_mz4y6_59",radio:"_radio_mz4y6_64","--item-active":"_--item-active_mz4y6_72",selector:"_selector_mz4y6_77","--selector-hidden":"_--selector-hidden_mz4y6_95","--selector-animated":"_--selector-animated_mz4y6_99",next:"_next_mz4y6_104",prev:"_prev_mz4y6_105",panel:"_panel_mz4y6_125","--panel-hidden":"_--panel-hidden_mz4y6_133","--direction-row":"_--direction-row_mz4y6_137","--direction-column":"_--direction-column_mz4y6_205",item:"_item_mz4y6_223","--variant-borderless":"_--variant-borderless_mz4y6_258","--variant-pills":"_--variant-pills_mz4y6_259","--variant-pills-elevated":"_--variant-pills-elevated_mz4y6_260","--size-medium":"_--size-medium_mz4y6_331","--size-large":"_--size-large_mz4y6_336","--item-width-equal":"_--item-width-equal_mz4y6_341","--cut-off-start":"_--cut-off-start_mz4y6_360","--cut-off-end":"_--cut-off-end_mz4y6_361","--cut-off-both":"_--cut-off-both_mz4y6_382"},Mi=(e,t)=>{const{value:n,children:r,icon:o,href:s,attributes:a}=e,{onChange:l,panelId:u,name:m,size:_,value:h,selection:f,elActiveRef:v,elPrevActiveRef:b}=Fn(n),w=c.useRef(null),g=h===n,y=g&&f.status==="idle",x=M(ee.item,y&&ee["--item-active"]),C=!!m,$={role:"tab",tabIndex:g?0:-1,"aria-selected":g},E=c.useCallback(()=>{if(!("current"in w))throw new Error("Reshaped, Tabs: TabItem is expecting an object ref format but received a function ref");b.current=v.current,v.current=w.current},[v,b]),z=()=>{s&&!l||(E(),l&&l({value:n,name:m}))};return c.useEffect(()=>{g&&E()},[g,E]),i.jsx("div",k(p({},a),{className:x,ref:w,role:"presentation",children:i.jsxs(Oe,{ref:t,href:s,insetFocus:!0,onClick:m?void 0:z,className:ee.button,as:m?"label":void 0,attributes:k(p({},!C&&$),{"aria-controls":u}),children:[m&&i.jsx(zn,{type:"radio",name:m,value:n,checked:y,onChange:z,className:ee.radio}),i.jsxs("span",{className:ee.buttonContent,children:[o&&i.jsx(ce,{svg:o,className:ee.icon,size:4}),r&&i.jsx(Z,{variant:_==="large"?"body-2":"body-3",children:r})]})]})}))},Jr=c.forwardRef(Mi),Qr=(e,t)=>e===t||!e?null:e.classList.contains(ee.listItem)?e:Qr(e.parentElement,t),Si=e=>{const{children:t,className:n,attributes:r}=e,{value:o,setDefaultValue:s,itemWidth:a,variant:l,name:u,direction:m,size:_,selection:h,setSelection:f,elActiveRef:v,elPrevActiveRef:b}=Fn(),[w]=Ge(),g=c.useRef(null),[y,x]=c.useState(null),C=M(ee.root,_&&ee[`--size-${_}`],m&&ee[`--direction-${m}`],a&&ee[`--item-width-${a}`],l&&ee[`--variant-${l}`],y&&ee[`--cut-off-${y}`],n),$=M(ee.selector,h.status==="idle"&&ee["--selector-hidden"],h.status==="animated"&&ee["--selector-animated"]),E=()=>{g.current.scrollBy({left:Math.ceil(g.current.clientWidth/2)*(w?-1:1),behavior:"smooth"})},z=()=>{g.current.scrollBy({left:Math.ceil(g.current.clientWidth/2)*(w?1:-1),behavior:"smooth"})},P=()=>{f(S=>k(p({},S),{status:"idle"}))},I=c.useCallback(S=>{if(!g.current)return null;const F=Qr(S,g.current);return F?{scaleX:F.clientWidth,scaleY:F.clientHeight,top:F.offsetTop,left:F.offsetLeft}:null},[]),{ref:D}=nt({"ArrowLeft, ArrowUp":S=>{u||(S.preventDefault(),Ko(g.current))},"ArrowRight, ArrowDown":S=>{u||(S.preventDefault(),Uo(g.current))},Home:S=>{u||(S.preventDefault(),Yo(g.current))},End:S=>{u||(S.preventDefault(),Go(g.current))}});return ue(()=>{if(o)return;const S=c.Children.toArray(t)[0];!S||S.type!==Jr||s(S.props.value)},[o]),ue(()=>{if(!b.current||b.current===v.current)return;const S=I(b.current);S&&f(k(p({},S),{status:"prepared"}))},[o,I]),ue(()=>{if(h.status!=="prepared"||!v.current)return;const S=I(v.current);S&&f(k(p({},S),{status:"animated"}))},[h]),ue(()=>{const S=g.current;if(!S||m==="column")return;const F=()=>{S.clientWidth<S.scrollWidth||x(null);const L=S.scrollLeft*(w?-1:1),te=L>1,je=L+S.clientWidth<S.scrollWidth-1;if(je&&te)return x("both");if(te)return x("start");if(je)return x("end")},W=ho(F,100);return requestAnimationFrame(()=>{F()}),window.addEventListener("resize",W),S.addEventListener("scroll",W),()=>{window.removeEventListener("resize",W),S.removeEventListener("scroll",W)}},[w]),i.jsxs("div",k(p({},r),{className:C,children:[i.jsx("div",{className:ee.inner,ref:g,children:i.jsxs("div",{className:ee.list,role:"tablist",ref:D,children:[c.Children.map(t,(S,F)=>S?i.jsx("div",{className:ee.listItem,children:S},S.props.value||S.key||F):null),i.jsx("div",{onTransitionEnd:P,className:$,style:{"--rs-tab-selection-x":h.left,"--rs-tab-selection-y":h.top,"--rs-tab-selection-scale-x":h.scaleX,"--rs-tab-selection-scale-y":h.scaleY}})]})}),(y==="start"||y==="both")&&i.jsx("span",{className:ee.prev,children:i.jsx(we,{onClick:z,size:"small",icon:Pr,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})}),(y==="end"||y==="both")&&i.jsx("span",{className:ee.next,children:i.jsx(we,{onClick:E,size:"small",icon:Gt,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})})]}))},Pi=e=>{const{value:t,children:n}=e,{value:r,panelId:o,buttonId:s}=Fn(t),a=t===r,l=M(ee.panel,!a&&ee["--panel-hidden"]);return i.jsx("div",{className:l,tabIndex:0,role:"tabpanel",id:o,"aria-labelledby":s,children:a&&n})},tn=e=>{const{value:t}=e;return t!==void 0?i.jsx(Xr,p({},e)):i.jsx(Ii,p({},e))};tn.Item=Jr,tn.List=Si,tn.Panel=Pi;const ft={root:"_root_16y23_1",input:"_input_16y23_5","--size-medium":"_--size-medium_16y23_1","--size-large":"_--size-large_16y23_1","--size-xlarge":"_--size-xlarge_16y23_1","--variant-faded":"_--variant-faded_16y23_69","--variant-headless":"_--variant-headless_16y23_80","--status-error":"_--status-error_16y23_87","--size-medium--m":"_--size-medium--m_16y23_1","--size-large--m":"_--size-large--m_16y23_1","--size-xlarge--m":"_--size-xlarge--m_16y23_1","--size-medium--l":"_--size-medium--l_16y23_1","--size-large--l":"_--size-large--l_16y23_1","--size-xlarge--l":"_--size-xlarge--l_16y23_1","--size-medium--xl":"_--size-medium--xl_16y23_1","--size-large--xl":"_--size-large--xl_16y23_1","--size-xlarge--xl":"_--size-xlarge--xl_16y23_1"},Fi=e=>{var $,E;const{onChange:t,onFocus:n,onBlur:r,name:o,value:s,defaultValue:a,placeholder:l,size:u="medium",variant:m="outline",className:_,attributes:h}=e,f=Ye(),v=$e(e.id),b=(($=f==null?void 0:f.attributes)==null?void 0:$.id)||((E=e.inputAttributes)==null?void 0:E.id)||v,w=(f==null?void 0:f.disabled)||e.disabled,g=(f==null?void 0:f.hasError)||e.hasError,y=p(p({},e.inputAttributes),f==null?void 0:f.attributes),x=M(ft.root,u&&B(ft,"--size",u),g&&ft["--status-error"],w&&ft["--disabled"],m&&ft[`--variant-${m}`],_),C=z=>{t&&t({name:o,value:z.target.value,event:z})};return i.jsx("div",k(p({},h),{className:x,children:i.jsx("textarea",k(p({},y),{className:ft.input,rows:3,disabled:w,name:o,placeholder:l,value:s,defaultValue:a,onChange:C,onFocus:n||(y==null?void 0:y.onFocus),onBlur:r||(y==null?void 0:y.onBlur),id:b}))}))},An={item:"_item_gwbgg_1","item--full-width":"_item--full-width_gwbgg_1",marker:"_marker_gwbgg_36"},Ln=e=>{const{children:t,markerSlot:n,className:r,attributes:o}=e,s=n!==null,a=M(An.item,!s&&An["item--full-width"],r);return i.jsxs(U,{as:"li",direction:"row",align:"stretch",gap:3,attributes:o,className:a,children:[s&&i.jsx("span",{className:An.marker,children:n}),i.jsx(U.Item,{grow:!0,children:t})]})},Zr=e=>{const{children:t,className:n,attributes:r}=e,o=M(n);return i.jsx("ul",k(p({},r),{className:o,children:c.Children.map(t,(s,a)=>(s==null?void 0:s.type)===Ln?s:i.jsx(Ln,{children:s},a))}))};Zr.Item=Ln;const Ai={root:"_root_9090g_1"},Li=e=>{const{id:t,text:n,children:r,onOpen:o,onClose:s,position:a="bottom",active:l}=e;return i.jsxs(Xe,{id:t,active:l,position:a,onOpen:o,onClose:s,triggerType:"hover",children:[i.jsx(Xe.Trigger,{children:r}),i.jsx(Xe.Content,{children:i.jsx(lt,{colorMode:"inverted",children:i.jsx(Z,{variant:"caption-1",className:Ai.root,children:n})})})]})},ht={m:660,l:900,xl:1280},eo={s:`(max-width: ${ht.m-1}px)`,m:`(min-width: ${ht.m}px) and (max-width: ${ht.l-1}px)`,l:`(min-width: ${ht.l}px) and (max-width: ${ht.xl-1}px)`,xl:`(min-width: ${ht.xl}px)`},Oi=e=>{const{defaultViewport:t}=c.useContext(xn),[n,r]=c.useState(t);return ue(()=>{const s=Object.keys(eo).map(a=>{const l=window.matchMedia(eo[a]);return{mq:l,handler:()=>l.matches&&r(a)}});return s.forEach(({handler:a,mq:l})=>{a(),l.addEventListener("change",a)}),()=>{s.forEach(({handler:a,mq:l})=>{l.removeEventListener("change",a)})}},[]),n==="xl"?e.xl||e.l||e.m||e.s:n==="l"?e.l||e.m||e.s:n==="m"&&e.m||e.s},Vi=e=>{const{w:t="auto",h:n=50,children:r}=e;return i.jsx("div",{style:{width:t,height:n,minWidth:n,padding:"var(--rs-unit-x2)",background:"rgba(var(--rs-color-rgb-background-neutral), 0.32)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--rs-unit-radius-small)"},children:r})};N.Accordion=_n,N.ActionBar=Ao,N.Actionable=Oe,N.Alert=Oo,N.Autocomplete=Er,N.Avatar=Is,N.Badge=Tr,N.Breadcrumbs=Sr,N.Button=we,N.Card=Ds,N.Carousel=qs,N.Checkbox=Ks,N.CheckboxGroup=Rs,N.Container=Gs,N.Dismissible=Xs,N.Divider=Yn,N.DropdownMenu=xe,N.FormControl=At,N.Hidden=ln,N.HiddenVisually=Qs,N.Hotkey=Zs,N.Icon=ce,N.Image=ei,N.Link=Mr,N.Loader=Ir,N.MenuItem=$n,N.Modal=Mn,N.Overlay=Dr,N.Placeholder=Vi,N.Popover=ct,N.Progress=oi,N.Radio=li,N.RadioGroup=ai,N.Reshaped=xi,N.Scrim=yi,N.Select=ji,N.Skeleton=ki,N.Slider=Ei,N.Switch=zi,N.Tabs=tn,N.Text=Z,N.TextArea=Fi,N.TextField=or,N.Theme=lt,N.Timeline=Zr,N.Tooltip=Li,N.View=U,N.classNames=M,N.responsiveClassNames=B,N.responsivePropDependency=Le,N.useFormControl=Ye,N.useHotkeys=nt,N.useIsomorphicLayoutEffect=ue,N.useRTL=Ge,N.useResponsiveClientValue=Oi,N.useScrollLock=Vr,N.useTheme=Cr,N.useToast=ci,N.useToggle=Tn,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
27
+ Check the top-level render call using <`+T+">.")}return C}}function oo(d,C){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var T=Ki(C);if(ro[T])return;ro[T]=!0;var F="";d&&d._owner&&d._owner!==Dn.current&&(F=" It was passed a child from "+O(d._owner.type)+"."),pt(d),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',T,F),pt(null)}}function so(d,C){{if(typeof d!="object")return;if(Pt(d))for(var T=0;T<d.length;T++){var F=d[T];Bn(F)&&oo(F,C)}else if(Bn(d))d._store&&(d._store.validated=!0);else if(d){var R=g(d);if(typeof R=="function"&&R!==d.entries)for(var J=R.call(d),q;!(q=J.next()).done;)Bn(q.value)&&oo(q.value,C)}}}function Yi(d){{var C=d.type;if(C==null||typeof C=="string")return;var T;if(typeof C=="function")T=C.propTypes;else if(typeof C=="object"&&(C.$$typeof===u||C.$$typeof===h))T=C.propTypes;else return;if(T){var F=O(C);nn(T,d.props,"prop",F,d)}else if(C.PropTypes!==void 0&&!qn){qn=!0;var R=O(C);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R||"Unknown")}typeof C.getDefaultProps=="function"&&!C.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Gi(d){{for(var C=Object.keys(d.props),T=0;T<C.length;T++){var F=C[T];if(F!=="children"&&F!=="key"){pt(d),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),pt(null);break}}d.ref!==null&&(pt(d),b("Invalid attribute `ref` supplied to `React.Fragment`."),pt(null))}}function io(d,C,T,F,R,J){{var q=S(d);if(!q){var V="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(V+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var pe=Ui(R);pe?V+=pe:V+=no();var ne;d===null?ne="null":Pt(d)?ne="array":d!==void 0&&d.$$typeof===t?(ne="<"+(O(d.type)||"Unknown")+" />",V=" Did you accidentally export a JSX literal instead of a component?"):ne=typeof d,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ne,V)}var ae=Ri(d,C,T,R,J);if(ae==null)return ae;if(q){var Ne=C.children;if(Ne!==void 0)if(F)if(Pt(Ne)){for(var gt=0;gt<Ne.length;gt++)so(Ne[gt],d);Object.freeze&&Object.freeze(Ne)}else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else so(Ne,d)}return d===r?Gi(ae):Yi(ae),ae}}function Xi(d,C,T){return io(d,C,T,!0)}function Ji(d,C,T){return io(d,C,T,!1)}var Qi=Ji,Zi=Xi;xt.Fragment=r,xt.jsx=Qi,xt.jsxs=Zi}()),xt}process.env.NODE_ENV==="production"?be.exports=_o():be.exports=mo();var i=be.exports;const Rn=(e,t=20)=>{let n;return(...o)=>{clearTimeout(n),n=setTimeout(()=>e(...o),t)}};function fo(e,t){const n=Rn(e,t);return r=>("persist"in r&&r.persist(),n(r))}const ho=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>{n=!1,setTimeout(()=>{n||e(...r)},t)},t))}},M=(...e)=>e.reduce((t,n)=>{if(Array.isArray(n)){const r=M(...n);return r?`${t} ${r}`:t}return n?`${t} ${n}`:t},""),Un=(e,t,n)=>{const{base:r,excludeValueFromClassName:o}=n||{},s=typeof e=="string"?e:e(t);return t===!0&&r||o?s:t===!0&&!r?`${s}-true`:t===!1&&!r?`${s}-false`:t!==void 0?`${s}-${t}`:null},B=(e,t,n,r)=>{if(typeof n!="object"){const o=Un(t,n,{base:!0,excludeValueFromClassName:r==null?void 0:r.excludeValueFromClassName});return o?[e[o]]:[]}return Object.keys(n).reduce((o,s)=>{const a=s==="s",l=Un(t,n[s],{base:a,excludeValueFromClassName:r==null?void 0:r.excludeValueFromClassName}),u=a?"":`--${s}`;return[...o,e[`${l}${u}`]]},[])},re=(e,t)=>t===void 0?{}:typeof t!="object"?{[`${e}-s`]:t}:Object.keys(t).reduce((n,r)=>{const o=t[r];return o===void 0||o===!1?n:k(p({},n),{[`${e}-${r}`]:o})},{}),vo=e=>e===null?!1:typeof e=="object"&&e!==null&&"s"in e,Le=(e,t)=>vo(e)?Object.keys(e).reduce((r,o)=>{const s=e[o];return s==null?r:k(p({},r),{[o]:t(s,o)})},{}):t(e,"s"),$e=e=>{const t=c.useId();return e||t},sn=c.createContext({active:!1,onToggle:()=>{},triggerId:"",contentId:""}),Kn=e=>{const{children:t,onToggle:n,active:r,iconPosition:o,iconSize:s,className:a,attributes:l}=e,u=M(a),f=$e(),_=c.useMemo(()=>({triggerId:`${f}-trigger`,contentId:`${f}-content`,active:r,onToggle:n,iconPosition:o,iconSize:s}),[r]);return i.jsx("div",k(p({},l),{className:u,children:i.jsx(sn.Provider,{value:_,children:t})}))},po=e=>{const l=e,{defaultActive:t,onToggle:n}=l,r=Fe(l,["defaultActive","onToggle"]),[o,s]=c.useState(t||!1),a=u=>{s(u),n==null||n(u)};return i.jsx(Kn,k(p({},r),{onToggle:a,active:o}))},yt={root:"_root_1e7nv_1","--disabled":"_--disabled_1e7nv_28","--full-width":"_--full-width_1e7nv_37","--inset":"_--inset_1e7nv_45","--radius-inherit":"_--radius-inherit_1e7nv_49"},go=(e,t)=>{const{children:n,href:r,onClick:o,type:s,disabled:a,insetFocus:l,borderRadius:u,as:f,fullWidth:_,className:h,attributes:m}=e,v=M(yt.root,h,a&&yt["--disabled"],u&&yt[`--radius-${u}`],l&&yt["--inset"],_&&yt["--full-width"]),x=p({},m),w=c.useRef(!1),g=o||(m==null?void 0:m.onClick),y=(m==null?void 0:m.onFocus)||(m==null?void 0:m.onBlur),b=!!(r||m!=null&&m.href),j=!!(g||y||s);let $;if(b)x.href=a?void 0:r||(m==null?void 0:m.href),$="a";else if(j&&(!f||f==="button"))$="button",x.type=s||(m==null?void 0:m.type)||"button",x.disabled=a||(m==null?void 0:m.disabled);else if(j){const D=!(f==="label")||g||y;$=f||"span",x.role=D?"button":void 0,x.tabIndex=D?0:void 0}else $=f||"span";const E=I=>{var D;a||w.current||(o==null||o(I),(D=m==null?void 0:m.onClick)==null||D.call(m,I))},z=I=>{if(x.role==="button"||b)return;const S=I.key===" ",A=I.key==="Enter";!S&&!A||(I.preventDefault(),E(I),w.current=!0)},P=()=>{w.current=!1};return i.jsx($,k(p({ref:t},x),{className:v,onClick:E,onKeyDown:z,onKeyUp:P,children:n}))},Oe=c.forwardRef(go),an={root:"_root_m2bn1_1","--blank":"_--blank_m2bn1_8","--vertical":"_--vertical_m2bn1_15","--vertical-true--m":"_--vertical-true--m_m2bn1_1","--vertical-false--m":"_--vertical-false--m_m2bn1_1","--vertical-true--l":"_--vertical-true--l_m2bn1_1","--vertical-false--l":"_--vertical-false--l_m2bn1_1","--vertical-true--xl":"_--vertical-true--xl_m2bn1_1","--vertical-false--xl":"_--vertical-false--xl_m2bn1_1"},Yn=e=>{const{vertical:t,blank:n,className:r,attributes:o}=e,s=M(an.root,r,n&&an["--blank"],...B(an,"--vertical",t));let a;return(typeof t=="boolean"||t===void 0)&&(a=t?"vertical":"horizontal"),i.jsx("div",k(p({},o),{role:"separator","aria-orientation":a,className:s}))},At={root:"_root_1sx8x_6","--display-inline":"_--display-inline_1sx8x_12","--display-flex":"_--display-flex_1sx8x_16","--hidden":"_--hidden_1sx8x_20","--visibility":"_--visibility_1sx8x_24","--hidden-true--m":"_--hidden-true--m_1sx8x_1","--hidden-false--m":"_--hidden-false--m_1sx8x_1","--hidden-true--l":"_--hidden-true--l_1sx8x_1","--hidden-false--l":"_--hidden-false--l_1sx8x_1","--hidden-true--xl":"_--hidden-true--xl_1sx8x_1","--hidden-false--xl":"_--hidden-false--xl_1sx8x_1"},ln=e=>{const{as:t="div",children:n,visibility:r,hide:o,displayStyle:s}=e,a=M(At.root,...B(At,"--hidden",o),r&&At["--visibility"],s&&At[`--display-${s}`]);return typeof n=="function"?i.jsx(i.Fragment,{children:n(a)}):i.jsx(t,{className:a,children:n})},X={root:"_root_18paf_1",item:"_item_18paf_10","--padding":"_--padding_18paf_18","--padding-top":"_--padding-top_18paf_23","--padding-bottom":"_--padding-bottom_18paf_27","--padding-start":"_--padding-start_18paf_31","--padding-end":"_--padding-end_18paf_35","--animated":"_--animated_18paf_39","--align-text-start":"_--align-text-start_18paf_1","--align-text-center":"_--align-text-center_18paf_1","--align-text-end":"_--align-text-end_18paf_1","--bg-neutral":"_--bg-neutral_18paf_1","--bg-positive":"_--bg-positive_18paf_1","--bg-critical":"_--bg-critical_18paf_1","--bg-primary":"_--bg-primary_18paf_1","--bg-neutral-faded":"_--bg-neutral-faded_18paf_1","--bg-positive-faded":"_--bg-positive-faded_18paf_1","--bg-critical-faded":"_--bg-critical-faded_18paf_1","--bg-primary-faded":"_--bg-primary-faded_18paf_1","--bg-page":"_--bg-page_18paf_1","--bg-page-faded":"_--bg-page-faded_18paf_1","--bg-disabled":"_--bg-disabled_18paf_1","--bg-disabled-faded":"_--bg-disabled-faded_18paf_1","--bg-elevation-base":"_--bg-elevation-base_18paf_1","--bg-elevation-raised":"_--bg-elevation-raised_18paf_1","--bg-elevation-overlay":"_--bg-elevation-overlay_18paf_1","--bg-white":"_--bg-white_18paf_66","--bg-black":"_--bg-black_18paf_71","--shadow-raised":"_--shadow-raised_18paf_76","--shadow-overlay":"_--shadow-overlay_18paf_80","--bd":"_--bd_18paf_84","--bd-neutral-faded":"_--bd-neutral-faded_18paf_1","--bd-neutral":"_--bd-neutral_18paf_1","--bd-positive":"_--bd-positive_18paf_1","--bd-positive-faded":"_--bd-positive-faded_18paf_1","--bd-critical":"_--bd-critical_18paf_1","--bd-critical-faded":"_--bd-critical-faded_18paf_1","--bd-primary":"_--bd-primary_18paf_1","--bd-primary-faded":"_--bd-primary-faded_18paf_1","--bd-transparent":"_--bd-transparent_18paf_96","--overflow-hidden":"_--overflow-hidden_18paf_100","--divided":"_--divided_18paf_104","--flex":"_--flex_18paf_108","--direction-column":"_--direction-column_18paf_1","item--gap-before":"_item--gap-before_18paf_120","item--gap-auto":"_item--gap-auto_18paf_124","--direction-column-reverse":"_--direction-column-reverse_18paf_1","--direction-row":"_--direction-row_18paf_1","--direction-row-reverse":"_--direction-row-reverse_18paf_1","--nowrap":"_--nowrap_18paf_179","--wrap":"_--wrap_18paf_187","--nowrap-false--m":"_--nowrap-false--m_18paf_1","--wrap-true--m":"_--wrap-true--m_18paf_1","--nowrap-true--m":"_--nowrap-true--m_18paf_1","--wrap-false--m":"_--wrap-false--m_18paf_1","--nowrap-false--l":"_--nowrap-false--l_18paf_1","--wrap-true--l":"_--wrap-true--l_18paf_1","--nowrap-true--l":"_--nowrap-true--l_18paf_1","--wrap-false--l":"_--wrap-false--l_18paf_1","--nowrap-false--xl":"_--nowrap-false--xl_18paf_1","--wrap-true--xl":"_--wrap-true--xl_18paf_1","--nowrap-true--xl":"_--nowrap-true--xl_18paf_1","--wrap-false--xl":"_--wrap-false--xl_18paf_1","--align-start":"_--align-start_18paf_1","--align-end":"_--align-end_18paf_1","--align-center":"_--align-center_18paf_1","--align-stretch":"_--align-stretch_18paf_1","--align-baseline":"_--align-baseline_18paf_1","--justify-start":"_--justify-start_18paf_1","--justify-end":"_--justify-end_18paf_1","--justify-center":"_--justify-center_18paf_1",divider:"_divider_18paf_242","item--grow":"_item--grow_18paf_246","item--columns-1":"_item--columns-1_18paf_1","item--columns-2":"_item--columns-2_18paf_1","item--columns-3":"_item--columns-3_18paf_1","item--columns-4":"_item--columns-4_18paf_1","item--columns-5":"_item--columns-5_18paf_1","item--columns-6":"_item--columns-6_18paf_1","item--columns-7":"_item--columns-7_18paf_1","item--columns-8":"_item--columns-8_18paf_1","item--columns-9":"_item--columns-9_18paf_1","item--columns-10":"_item--columns-10_18paf_1","item--columns-11":"_item--columns-11_18paf_1","item--columns-12":"_item--columns-12_18paf_1","item--columns-auto":"_item--columns-auto_18paf_279","item--columns-1--m":"_item--columns-1--m_18paf_1","item--columns-auto--m":"_item--columns-auto--m_18paf_1","item--columns-2--m":"_item--columns-2--m_18paf_1","item--columns-3--m":"_item--columns-3--m_18paf_1","item--columns-4--m":"_item--columns-4--m_18paf_1","item--columns-5--m":"_item--columns-5--m_18paf_1","item--columns-6--m":"_item--columns-6--m_18paf_1","item--columns-7--m":"_item--columns-7--m_18paf_1","item--columns-8--m":"_item--columns-8--m_18paf_1","item--columns-9--m":"_item--columns-9--m_18paf_1","item--columns-10--m":"_item--columns-10--m_18paf_1","item--columns-11--m":"_item--columns-11--m_18paf_1","item--columns-12--m":"_item--columns-12--m_18paf_1","item--columns-1--l":"_item--columns-1--l_18paf_1","item--columns-auto--l":"_item--columns-auto--l_18paf_1","item--columns-2--l":"_item--columns-2--l_18paf_1","item--columns-3--l":"_item--columns-3--l_18paf_1","item--columns-4--l":"_item--columns-4--l_18paf_1","item--columns-5--l":"_item--columns-5--l_18paf_1","item--columns-6--l":"_item--columns-6--l_18paf_1","item--columns-7--l":"_item--columns-7--l_18paf_1","item--columns-8--l":"_item--columns-8--l_18paf_1","item--columns-9--l":"_item--columns-9--l_18paf_1","item--columns-10--l":"_item--columns-10--l_18paf_1","item--columns-11--l":"_item--columns-11--l_18paf_1","item--columns-12--l":"_item--columns-12--l_18paf_1","item--columns-1--xl":"_item--columns-1--xl_18paf_1","item--columns-auto--xl":"_item--columns-auto--xl_18paf_1","item--columns-2--xl":"_item--columns-2--xl_18paf_1","item--columns-3--xl":"_item--columns-3--xl_18paf_1","item--columns-4--xl":"_item--columns-4--xl_18paf_1","item--columns-5--xl":"_item--columns-5--xl_18paf_1","item--columns-6--xl":"_item--columns-6--xl_18paf_1","item--columns-7--xl":"_item--columns-7--xl_18paf_1","item--columns-8--xl":"_item--columns-8--xl_18paf_1","item--columns-9--xl":"_item--columns-9--xl_18paf_1","item--columns-10--xl":"_item--columns-10--xl_18paf_1","item--columns-11--xl":"_item--columns-11--xl_18paf_1","item--columns-12--xl":"_item--columns-12--xl_18paf_1","--direction-column--m":"_--direction-column--m_18paf_1","--direction-column-reverse--m":"_--direction-column-reverse--m_18paf_1","--direction-row--m":"_--direction-row--m_18paf_1","--direction-row-reverse--m":"_--direction-row-reverse--m_18paf_1","--align-start--m":"_--align-start--m_18paf_1","--align-end--m":"_--align-end--m_18paf_1","--align-center--m":"_--align-center--m_18paf_1","--align-stretch--m":"_--align-stretch--m_18paf_1","--align-baseline--m":"_--align-baseline--m_18paf_1","--justify-start--m":"_--justify-start--m_18paf_1","--justify-end--m":"_--justify-end--m_18paf_1","--justify-center--m":"_--justify-center--m_18paf_1","item--grow-true--m":"_item--grow-true--m_18paf_1","item--grow-false--m":"_item--grow-false--m_18paf_1","--direction-column--l":"_--direction-column--l_18paf_1","--direction-column-reverse--l":"_--direction-column-reverse--l_18paf_1","--direction-row--l":"_--direction-row--l_18paf_1","--direction-row-reverse--l":"_--direction-row-reverse--l_18paf_1","--align-start--l":"_--align-start--l_18paf_1","--align-end--l":"_--align-end--l_18paf_1","--align-center--l":"_--align-center--l_18paf_1","--align-stretch--l":"_--align-stretch--l_18paf_1","--align-baseline--l":"_--align-baseline--l_18paf_1","--justify-start--l":"_--justify-start--l_18paf_1","--justify-end--l":"_--justify-end--l_18paf_1","--justify-center--l":"_--justify-center--l_18paf_1","item--grow-true--l":"_item--grow-true--l_18paf_1","item--grow-false--l":"_item--grow-false--l_18paf_1","--direction-column--xl":"_--direction-column--xl_18paf_1","--direction-column-reverse--xl":"_--direction-column-reverse--xl_18paf_1","--direction-row--xl":"_--direction-row--xl_18paf_1","--direction-row-reverse--xl":"_--direction-row-reverse--xl_18paf_1","--align-start--xl":"_--align-start--xl_18paf_1","--align-end--xl":"_--align-end--xl_18paf_1","--align-center--xl":"_--align-center--xl_18paf_1","--align-stretch--xl":"_--align-stretch--xl_18paf_1","--align-baseline--xl":"_--align-baseline--xl_18paf_1","--justify-start--xl":"_--justify-start--xl_18paf_1","--justify-end--xl":"_--justify-end--xl_18paf_1","--justify-center--xl":"_--justify-center--xl_18paf_1","item--grow-true--xl":"_item--grow-true--xl_18paf_1","item--grow-false--xl":"_item--grow-false--xl_18paf_1"},Gn={root:"_root_fjri8_1","--radius-none":"_--radius-none_fjri8_1","--radius-small":"_--radius-small_fjri8_1","--radius-medium":"_--radius-medium_fjri8_1","--radius-large":"_--radius-large_fjri8_1","--radius-circular":"_--radius-circular_fjri8_1","--radius-none--m":"_--radius-none--m_fjri8_1","--radius-small--m":"_--radius-small--m_fjri8_1","--radius-medium--m":"_--radius-medium--m_fjri8_1","--radius-large--m":"_--radius-large--m_fjri8_1","--radius-circular--m":"_--radius-circular--m_fjri8_1","--radius-none--l":"_--radius-none--l_fjri8_1","--radius-small--l":"_--radius-small--l_fjri8_1","--radius-medium--l":"_--radius-medium--l_fjri8_1","--radius-large--l":"_--radius-large--l_fjri8_1","--radius-circular--l":"_--radius-circular--l_fjri8_1","--radius-none--xl":"_--radius-none--xl_fjri8_1","--radius-small--xl":"_--radius-small--xl_fjri8_1","--radius-medium--xl":"_--radius-medium--xl_fjri8_1","--radius-large--xl":"_--radius-large--xl_fjri8_1","--radius-circular--xl":"_--radius-circular--xl_fjri8_1"},cn=e=>e?{classNames:[Gn.root,...B(Gn,"--radius",e)]}:null,Xn={root:"_root_o5mer_1","--bleed":"_--bleed_o5mer_10","--bleed-true--m":"_--bleed-true--m_o5mer_1","--bleed-false--m":"_--bleed-false--m_o5mer_1","--bleed-true--l":"_--bleed-true--l_o5mer_1","--bleed-false--l":"_--bleed-false--l_o5mer_1","--bleed-true--xl":"_--bleed-true--xl_o5mer_1","--bleed-false--xl":"_--bleed-false--xl_o5mer_1"},Jn=e=>{if(e===void 0)return null;const t=[Xn.root,...B(Xn,"--bleed",Le(e,r=>typeof r=="number"&&r>0))],n=re("--rs-bleed",e);return{classNames:t,variables:n}},bo={literal:"_literal_1a6gk_1",unit:"_unit_1a6gk_5","literal--m":"_literal--m_1a6gk_1","unit--m":"_unit--m_1a6gk_1","literal--l":"_literal--l_1a6gk_1","unit--l":"_unit--l_1a6gk_1","literal--xl":"_literal--xl_1a6gk_1","unit--xl":"_unit--xl_1a6gk_1"},Qn=e=>{if(!e)return null;const t=re("--rs-w",e);return{classNames:B(bo,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},xo={literal:"_literal_ea0g1_1",unit:"_unit_ea0g1_2","literal--m":"_literal--m_ea0g1_1","unit--m":"_unit--m_ea0g1_1","literal--l":"_literal--l_ea0g1_1","unit--l":"_unit--l_ea0g1_1","literal--xl":"_literal--xl_ea0g1_1","unit--xl":"_unit--xl_ea0g1_1"},wt=e=>{if(!e)return null;const t=re("--rs-h",e);return{classNames:B(xo,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},yo={literal:"_literal_ezw0c_1",unit:"_unit_ezw0c_5","literal--m":"_literal--m_ezw0c_1","unit--m":"_unit--m_ezw0c_1","literal--l":"_literal--l_ezw0c_1","unit--l":"_unit--l_ezw0c_1","literal--xl":"_literal--xl_ezw0c_1","unit--xl":"_unit--xl_ezw0c_1"},wo=e=>{if(!e)return null;const t=re("--rs-max-w",e);return{classNames:B(yo,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},jo={literal:"_literal_kt8jw_1",unit:"_unit_kt8jw_5","literal--m":"_literal--m_kt8jw_1","unit--m":"_unit--m_kt8jw_1","literal--l":"_literal--l_kt8jw_1","unit--l":"_unit--l_kt8jw_1","literal--xl":"_literal--xl_kt8jw_1","unit--xl":"_unit--xl_kt8jw_1"},Co=e=>{if(!e)return null;const t=re("--rs-max-h",e);return{classNames:B(jo,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},ko={"--position-relative":"_--position-relative_eidrq_1","--position-absolute":"_--position-absolute_eidrq_1","--position-fixed":"_--position-fixed_eidrq_1","--position-sticky":"_--position-sticky_eidrq_1","--position-relative--m":"_--position-relative--m_eidrq_1","--position-absolute--m":"_--position-absolute--m_eidrq_1","--position-fixed--m":"_--position-fixed--m_eidrq_1","--position-sticky--m":"_--position-sticky--m_eidrq_1","--position-relative--l":"_--position-relative--l_eidrq_1","--position-absolute--l":"_--position-absolute--l_eidrq_1","--position-fixed--l":"_--position-fixed--l_eidrq_1","--position-sticky--l":"_--position-sticky--l_eidrq_1","--position-relative--xl":"_--position-relative--xl_eidrq_1","--position-absolute--xl":"_--position-absolute--xl_eidrq_1","--position-fixed--xl":"_--position-fixed--xl_eidrq_1","--position-sticky--xl":"_--position-sticky--xl_eidrq_1"},No=e=>e?{classNames:B(ko,"--position",e)}:null,$o={"--inset":"_--inset_17xwz_1","--inset-end":"_--inset-end_17xwz_27","--inset-start":"_--inset-start_17xwz_31","--inset-top":"_--inset-top_17xwz_35","--inset-bottom":"_--inset-bottom_17xwz_39","--inset-end--m":"_--inset-end--m_17xwz_1","--inset-start--m":"_--inset-start--m_17xwz_1","--inset-top--m":"_--inset-top--m_17xwz_1","--inset-bottom--m":"_--inset-bottom--m_17xwz_1","--inset-end--l":"_--inset-end--l_17xwz_1","--inset-start--l":"_--inset-start--l_17xwz_1","--inset-top--l":"_--inset-top--l_17xwz_1","--inset-bottom--l":"_--inset-bottom--l_17xwz_1","--inset-end--xl":"_--inset-end--xl_17xwz_1","--inset-start--xl":"_--inset-start--xl_17xwz_1","--inset-top--xl":"_--inset-top--xl_17xwz_1","--inset-bottom--xl":"_--inset-bottom--xl_17xwz_1"},jt=(e,t)=>{if(e===void 0)return null;const n=t?`-${t}`:"",r=`--rs-inset${n}`,o=re(r,e);return{classNames:B($o,`--inset${n}`,e,{excludeValueFromClassName:!0}),variables:o}},Eo={root:"_root_i342i_1"},zo=e=>{if(!e)return null;const t=re("--rs-ratio",e);return{classNames:Eo.root,variables:t}},Zn=e=>{const{columns:t,grow:n,gapBefore:r,as:o="div",order:s,children:a,className:l,attributes:u}=e,f=M(X.item,l,r==="auto"&&X["item--gap-auto"],r!==void 0&&X["item--gap-before"],...B(X,"item--grow",n),...B(X,"item--columns",t)),_=p(p({},re("--rs-view-item-order",s)),re("--rs-view-item-gap-before",r));return i.jsx(o,k(p({},u),{style:p(p({},u==null?void 0:u.style),_),className:f,children:a}))},U=e=>{const{align:t,justify:n,wrap:r,gap:o,height:s,width:a,aspectRatio:l,maxHeight:u,maxWidth:f,padding:_,paddingInline:h,paddingBlock:m,paddingBottom:v,paddingEnd:x,paddingStart:w,paddingTop:g,bleed:y,animated:b,backgroundColor:j,borderColor:$,borderRadius:E,shadow:z,textAlign:P,overflow:I,position:D="relative",inset:S,insetTop:A,insetBottom:W,insetStart:O,insetEnd:L,zIndex:te,grow:je,as:fe="div",children:oe,divided:Q,className:He,attributes:Ce}=e,se=!!t||!!n||!!o||!!e.direction,H=e.direction||(se?"column":void 0),K=cn(E),Y=Jn(y),ie=Qn(a),ye=wt(s),G=wo(f),ge=Co(u),he=No(D),Me=jt(S),Re=jt(A,"top"),Ze=jt(W,"bottom"),et=jt(O,"start"),Se=jt(L,"end"),Pe=zo(l);let St=0,ot;const vt=({className:ve,key:ue})=>{const qe=M(X.divider,ve);let me=!1;return typeof H=="string"&&H.startsWith("row")?me=!0:H&&(me=Object.keys(H).reduce((Ue,ke)=>{const Ae=H[ke];return Ae?k(p({},Ue),{[ke]:Ae.startsWith("row")}):Ue},{})),i.jsx("div",{className:qe,children:i.jsx(Yn,{vertical:me,blank:!0})},`${ue}-divider`)},nn=({className:ve,child:ue,index:qe})=>{var Ae,rn;const me=ue.type===Zn,st=ue.key||qe,Ue=!!qe&&Q&&vt({className:ve,key:st});let ke;return me?ke=c.cloneElement(ue,{className:M(ve,ue.props.className)}):ve||!c.isValidElement(ue)?ke=i.jsx("div",{className:ve,children:ue},st):ke=ue,me&&((Ae=ue.props)!=null&&Ae.grow)&&(ot=ue.props.grow),me&&((rn=ue.props)==null?void 0:rn.gap)==="auto"&&(ot=!0),[Ue,ke]},On=c.Children.map(oe,(ve,ue)=>{if(!ve)return null;const qe=St;if(St+=1,ve.type===ln&&typeof ve.props.children!="function"){const me=ve.props,{children:st}=me,Ue=Fe(me,["children"]),ke=ve.key||ue;return c.createElement(ln,k(p({},Ue),{key:ke}),Ae=>nn({className:Ae,child:st,index:qe}))}return nn({child:ve,index:qe})}),Pt=M(X.root,He,K==null?void 0:K.classNames,he==null?void 0:he.classNames,Y==null?void 0:Y.classNames,ie==null?void 0:ie.classNames,ye==null?void 0:ye.classNames,Pe==null?void 0:Pe.classNames,G==null?void 0:G.classNames,ge==null?void 0:ge.classNames,Me==null?void 0:Me.classNames,Re==null?void 0:Re.classNames,Ze==null?void 0:Ze.classNames,et==null?void 0:et.classNames,Se==null?void 0:Se.classNames,P&&X[`--align-text-${P}`],j&&X[`--bg-${j}`],$&&X[`--bd-${$}`],$&&X["--bd"],z&&X[`--shadow-${z}`],I&&X[`--overflow-${I}`],b&&X["--animated"],Q&&X["--divided"],(_!==void 0||h!==void 0||m!==void 0)&&X["--padding"],v!==void 0&&X["--padding-bottom"],x!==void 0&&X["--padding-end"],w!==void 0&&X["--padding-start"],g!==void 0&&X["--padding-top"],(se||ot)&&X["--flex"],...B(X,"--direction",H),...B(X,"--align",t),...B(X,"--justify",n),...B(X,"--nowrap",ot||r===!1),...B(X,"--wrap",r),...B(X,"item--grow",je)),Vn=p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p({},Ce==null?void 0:Ce.style),re("--rs-view-gap",o)),re("--rs-view-p-vertical",m||_)),re("--rs-view-p-horizontal",h||_)),re("--rs-view-p-bottom",v)),re("--rs-view-p-top",g)),re("--rs-view-p-start",w)),re("--rs-view-p-end",x)),Y==null?void 0:Y.variables),ie==null?void 0:ie.variables),ye==null?void 0:ye.variables),Pe==null?void 0:Pe.variables),G==null?void 0:G.variables),ge==null?void 0:ge.variables),Me==null?void 0:Me.variables),Re==null?void 0:Re.variables),Ze==null?void 0:Ze.variables),et==null?void 0:et.variables),Se==null?void 0:Se.variables),te?{"--rs-view-z":te}:{});return i.jsx(fe,k(p({},Ce),{className:Pt,style:Vn,children:On}))};U.Item=Zn;const dn={root:"_root_1f0uh_1","--auto":"_--auto_1f0uh_8","--color-neutral":"_--color-neutral_1f0uh_1","--color-neutral-faded":"_--color-neutral-faded_1f0uh_1","--color-primary":"_--color-primary_1f0uh_1","--color-positive":"_--color-positive_1f0uh_1","--color-critical":"_--color-critical_1f0uh_1","--color-disabled":"_--color-disabled_1f0uh_1"},de=e=>{const{svg:t,className:n,color:r,size:o="1em",autoWidth:s,attributes:a}=e,l=wt(o),u=M(dn.root,n,l==null?void 0:l.classNames,r&&dn[`--color-${r}`],s&&dn["--auto"]),f=typeof t=="object"?t:i.jsx(t,{}),_=p(p({},a==null?void 0:a.style),l==null?void 0:l.variables);return i.jsx("span",k(p({},a),{"aria-hidden":"true",className:u,style:_,children:c.cloneElement(f,{focusable:!1})}))},To=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"6 9 12 15 18 9"})}),Ct={content:"_content_fcvpf_1","content--animated":"_content--animated_fcvpf_6",icon:"_icon_fcvpf_13","icon--active":"_icon--active_fcvpf_17"},Io=e=>{const{children:t}=e,{active:n,onToggle:r,triggerId:o,contentId:s,iconPosition:a="end",iconSize:l}=c.useContext(sn),u=M(Ct.icon,n&&Ct["icon--active"]),f=()=>{r==null||r(!n)},_={"aria-expanded":n,"aria-controls":s,id:o};return typeof t=="function"?i.jsx(i.Fragment,{children:t(k(p({},_),{onClick:f}),{active:n})}):i.jsx(Oe,{onClick:f,fullWidth:!0,attributes:_,children:i.jsxs(U,{gap:2,direction:a==="start"?"row-reverse":"row",align:"center",children:[i.jsx(U.Item,{grow:!0,children:t}),i.jsx(de,{size:l||4,svg:To,className:u})]})})},kt=e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>e())})},un="data-rs-no-transition",Mo=()=>{document.documentElement.setAttribute(un,"true")},So=()=>{document.documentElement.removeAttribute(un)},Po=()=>!document.documentElement.hasAttribute(un),Ao=e=>{const{children:t}=e,{active:n,triggerId:r,contentId:o}=c.useContext(sn),s=c.useRef(null),a=c.useRef(!1),[l,u]=c.useState(n?"auto":null),f=M(Ct.content,a.current&&l!=="auto"&&Ct["content--animated"],n&&Ct["content--active"]),_=h=>{h.propertyName==="height"&&u(n?"auto":null)};return c.useEffect(()=>{kt(()=>{a.current=!0})},[]),c.useEffect(()=>{const h=s.current;if(!h||!a.current)return;let m=0;n&&(h.style.height="auto",m=h.clientHeight,h.style.height="0"),n||(h.style.height=`${h.clientHeight}px`),u(m)},[n]),i.jsx("div",{className:f,ref:s,style:l!==null?{height:l}:void 0,onTransitionEnd:_,"aria-labelledby":r,id:o,role:"region",hidden:!n&&l===null,children:t})},_n=e=>{const{active:t}=e;return t!==void 0?i.jsx(Kn,p({},e)):i.jsx(po,p({},e))};_n.Trigger=Io,_n.Content=Ao;const mn={root:"_root_dv5cm_1","--position-bottom":"_--position-bottom_dv5cm_32","--position-top":"_--position-top_dv5cm_1","--elevated":"_--elevated_dv5cm_16"},Fo=e=>{const{position:t="bottom",padding:n,paddingBlock:r=3,paddingInline:o=4,children:s,elevated:a,className:l,attributes:u}=e,f=M(mn.root,a&&mn["--elevated"],t&&mn[`--position-${t}`],l);return i.jsx(U,{className:f,attributes:u,paddingBlock:n||r,paddingInline:n||o,children:s})},tt={root:"_root_gm5sj_1","--clamp":"_--clamp_gm5sj_6","--align-start":"_--align-start_gm5sj_1","--align-center":"_--align-center_gm5sj_1","--align-end":"_--align-end_gm5sj_1","--variant-title-1":"_--variant-title-1_gm5sj_1","--variant-title-2":"_--variant-title-2_gm5sj_1","--variant-title-3":"_--variant-title-3_gm5sj_1","--variant-title-4":"_--variant-title-4_gm5sj_1","--variant-title-5":"_--variant-title-5_gm5sj_1","--variant-title-6":"_--variant-title-6_gm5sj_1","--variant-featured-1":"_--variant-featured-1_gm5sj_1","--variant-featured-2":"_--variant-featured-2_gm5sj_1","--variant-featured-3":"_--variant-featured-3_gm5sj_1","--variant-body-1":"_--variant-body-1_gm5sj_1","--variant-body-2":"_--variant-body-2_gm5sj_1","--variant-body-3":"_--variant-body-3_gm5sj_1","--variant-caption-1":"_--variant-caption-1_gm5sj_1","--variant-caption-2":"_--variant-caption-2_gm5sj_1","--weight-regular":"_--weight-regular_gm5sj_1","--weight-medium":"_--weight-medium_gm5sj_1","--weight-bold":"_--weight-bold_gm5sj_1","--color-neutral":"_--color-neutral_gm5sj_1","--color-neutral-faded":"_--color-neutral-faded_gm5sj_1","--color-primary":"_--color-primary_gm5sj_1","--color-positive":"_--color-positive_gm5sj_1","--color-critical":"_--color-critical_gm5sj_1","--color-disabled":"_--color-disabled_gm5sj_1","--decoration-line-through":"_--decoration-line-through_gm5sj_139","--align-start--m":"_--align-start--m_gm5sj_1","--align-center--m":"_--align-center--m_gm5sj_1","--align-end--m":"_--align-end--m_gm5sj_1","--variant-title-1--m":"_--variant-title-1--m_gm5sj_1","--variant-title-2--m":"_--variant-title-2--m_gm5sj_1","--variant-title-3--m":"_--variant-title-3--m_gm5sj_1","--variant-title-4--m":"_--variant-title-4--m_gm5sj_1","--variant-title-5--m":"_--variant-title-5--m_gm5sj_1","--variant-title-6--m":"_--variant-title-6--m_gm5sj_1","--variant-featured-1--m":"_--variant-featured-1--m_gm5sj_1","--variant-featured-2--m":"_--variant-featured-2--m_gm5sj_1","--variant-featured-3--m":"_--variant-featured-3--m_gm5sj_1","--variant-body-1--m":"_--variant-body-1--m_gm5sj_1","--variant-body-2--m":"_--variant-body-2--m_gm5sj_1","--variant-body-3--m":"_--variant-body-3--m_gm5sj_1","--variant-caption-1--m":"_--variant-caption-1--m_gm5sj_1","--variant-caption-2--m":"_--variant-caption-2--m_gm5sj_1","--align-start--l":"_--align-start--l_gm5sj_1","--align-center--l":"_--align-center--l_gm5sj_1","--align-end--l":"_--align-end--l_gm5sj_1","--variant-title-1--l":"_--variant-title-1--l_gm5sj_1","--variant-title-2--l":"_--variant-title-2--l_gm5sj_1","--variant-title-3--l":"_--variant-title-3--l_gm5sj_1","--variant-title-4--l":"_--variant-title-4--l_gm5sj_1","--variant-title-5--l":"_--variant-title-5--l_gm5sj_1","--variant-title-6--l":"_--variant-title-6--l_gm5sj_1","--variant-featured-1--l":"_--variant-featured-1--l_gm5sj_1","--variant-featured-2--l":"_--variant-featured-2--l_gm5sj_1","--variant-featured-3--l":"_--variant-featured-3--l_gm5sj_1","--variant-body-1--l":"_--variant-body-1--l_gm5sj_1","--variant-body-2--l":"_--variant-body-2--l_gm5sj_1","--variant-body-3--l":"_--variant-body-3--l_gm5sj_1","--variant-caption-1--l":"_--variant-caption-1--l_gm5sj_1","--variant-caption-2--l":"_--variant-caption-2--l_gm5sj_1","--align-start--xl":"_--align-start--xl_gm5sj_1","--align-center--xl":"_--align-center--xl_gm5sj_1","--align-end--xl":"_--align-end--xl_gm5sj_1","--variant-title-1--xl":"_--variant-title-1--xl_gm5sj_1","--variant-title-2--xl":"_--variant-title-2--xl_gm5sj_1","--variant-title-3--xl":"_--variant-title-3--xl_gm5sj_1","--variant-title-4--xl":"_--variant-title-4--xl_gm5sj_1","--variant-title-5--xl":"_--variant-title-5--xl_gm5sj_1","--variant-title-6--xl":"_--variant-title-6--xl_gm5sj_1","--variant-featured-1--xl":"_--variant-featured-1--xl_gm5sj_1","--variant-featured-2--xl":"_--variant-featured-2--xl_gm5sj_1","--variant-featured-3--xl":"_--variant-featured-3--xl_gm5sj_1","--variant-body-1--xl":"_--variant-body-1--xl_gm5sj_1","--variant-body-2--xl":"_--variant-body-2--xl_gm5sj_1","--variant-body-3--xl":"_--variant-body-3--xl_gm5sj_1","--variant-caption-1--xl":"_--variant-caption-1--xl_gm5sj_1","--variant-caption-2--xl":"_--variant-caption-2--xl_gm5sj_1"},Lo={"title-1":"h1","title-2":"h2","title-3":"h3","title-4":"h4","title-5":"h5","title-6":"h6"},Z=e=>{const{variant:t,color:n,weight:r,align:o,decoration:s,maxLines:a,children:l,className:u,attributes:f}=e,_=typeof t=="string"?t:(t==null?void 0:t.xl)||(t==null?void 0:t.l)||(t==null?void 0:t.m)||(t==null?void 0:t.s),h=e.as||_&&Lo[_]||"div",m=M(tt.root,n&&tt[`--color-${n}`],...B(tt,"--variant",t),...B(tt,"--align",o),r&&tt[`--weight-${r}`],s&&tt[`--decoration-${s}`],a!==void 0&&tt["--clamp"],u),v=k(p({},f==null?void 0:f.style),{"--rs-text-lines":a});return i.jsx(h,k(p({},f),{className:m,style:v,children:l}))},Oo=e=>{const{title:t,children:n,icon:r,actionsSlot:o,color:s="neutral",inline:a,bleed:l,className:u,attributes:f}=e,_=s==="neutral",h=()=>a?i.jsxs(i.Fragment,{children:[t&&i.jsx(Z,{variant:"body-3",weight:"medium",as:"span",children:t}),t&&n&&" ",n&&i.jsx(Z,{variant:"body-3",as:"span",children:n})]}):i.jsxs(U,{gap:1,children:[t&&i.jsx(Z,{variant:"body-3",weight:"medium",children:t}),n&&i.jsx(Z,{variant:"body-3",children:n})]}),m=v=>o?i.jsxs(U,{gap:2,direction:a?"row":"column",children:[a?i.jsx(U.Item,{grow:!0,children:v}):v,o&&i.jsx(Z,{variant:"body-3",weight:"medium",children:i.jsx(U,{direction:"row",gap:3,children:o})})]}):v;return i.jsx(U,{direction:"row",gap:3,padding:4,bleed:l,borderRadius:"medium",borderColor:`${s}-faded`,backgroundColor:`${s}-faded`,className:u,attributes:k(p({},f),{role:s==="critical"?"alert":"status"}),children:r?i.jsxs(i.Fragment,{children:[i.jsx(de,{svg:r,size:5,color:_?"primary":s}),i.jsx(U.Item,{grow:!0,children:m(h())})]}):m(h())})},er=c.createContext({attributes:{id:"","aria-describedby":""},required:void 0,hasError:!1,errorRef:()=>{},helperRef:()=>{}}),Vo=er.Provider,Nt=()=>c.useContext(er),Ye=()=>{const{attributes:e,required:t,hasError:n,disabled:r}=Nt();return{attributes:e,required:t,hasError:n,disabled:r}},tr={root:"_root_1ni0x_1",label:"_label_1ni0x_5",caption:"_caption_1ni0x_10"},fn=(e,t)=>`${e}-${t||"caption"}`,Ft=e=>{const{children:t,id:n,required:r,hasError:o,group:s,disabled:a,size:l}=e,u=$e(n),f=s?"fieldset":"div",[_,h]=c.useState(!1),[m,v]=c.useState(!1),x=[_&&fn(u),m&&fn(u,"error")].filter(Boolean).join(" "),w={id:u,"aria-describedby":x},g=()=>{v(!0)},y=()=>{h(!0)};return i.jsx(f,{children:i.jsx(Vo,{value:{required:r,hasError:o,errorRef:g,helperRef:y,attributes:w,group:s,disabled:a,size:l},children:t})})},Do=e=>{const{children:t}=e,{attributes:n,required:r,group:o,disabled:s,size:a}=Nt(),l=`${n.id}-label`,u=o?{as:"legend",attributes:{id:l}}:{as:"label",attributes:{id:l,htmlFor:n.id}};return i.jsxs(Z,k(p({},u),{variant:a==="large"?"body-2":"body-3",weight:"medium",className:tr.label,color:s?"disabled":void 0,children:[t,r&&i.jsx(Z,{color:s?"disabled":"critical",as:"span",children:"*"})]}))},nr=e=>{const{children:t,variant:n,disabled:r}=e,{attributes:o,size:s,helperRef:a,errorRef:l}=Nt(),u=fn(o.id,n),f=n==="error"?"critical":"neutral-faded",_=n==="error"?l:a;return i.jsx(Z,{as:"span",variant:s==="large"?"body-3":"caption-1",color:r&&!n?"disabled":f,attributes:{id:u,role:f?"alert":void 0,ref:_},className:tr.caption,children:t})},qo=e=>{const{children:t}=e,{disabled:n}=Nt();return i.jsx(nr,{disabled:n,children:t})},Bo=e=>{const{children:t}=e,{hasError:n}=Nt();return n?i.jsx(nr,{variant:"error",children:t}):null};Ft.Label=Do,Ft.Helper=qo,Ft.Error=Bo;const Ee={root:"_root_v29im_1",input:"_input_v29im_16",slot:"_slot_v29im_37",icon:"_icon_v29im_38",affix:"_affix_v29im_39",attachment:"_attachment_v29im_55","attachment--position-start":"_attachment--position-start_v29im_60","attachment--position-end":"_attachment--position-end_v29im_73","--disabled":"_--disabled_v29im_86","--size-medium":"_--size-medium_v29im_1","--size-large":"_--size-large_v29im_1","--size-xlarge":"_--size-xlarge_v29im_1","--variant-faded":"_--variant-faded_v29im_150","--variant-headless":"_--variant-headless_v29im_159","--status-error":"_--status-error_v29im_164","--size-medium--m":"_--size-medium--m_v29im_1","--size-large--m":"_--size-large--m_v29im_1","--size-xlarge--m":"_--size-xlarge--m_v29im_1","--size-medium--l":"_--size-medium--l_v29im_1","--size-large--l":"_--size-large--l_v29im_1","--size-xlarge--l":"_--size-xlarge--l_v29im_1","--size-medium--xl":"_--size-medium--xl_v29im_1","--size-large--xl":"_--size-large--xl_v29im_1","--size-xlarge--xl":"_--size-xlarge--xl_v29im_1"},rr=e=>{const{slot:t,icon:n,size:r,affix:o,position:s}=e;if(!n&&!t&&!o)return null;const a=M(Ee.attachment,Ee[`attachment--position-${s}`]),l=[t&&i.jsx("div",{className:Ee.slot,children:t},"slot"),n&&i.jsx("div",{className:Ee.icon,children:i.jsx(de,{size:Le(r,u=>u==="large"?5:u==="xlarge"?6:4),svg:n})},"icon"),o&&i.jsx("div",{className:Ee.affix,children:o},"affix")].filter(Boolean);return i.jsx("span",{className:a,children:s==="end"?l.reverse():l})},or=e=>{var S;const{onChange:t,onFocus:n,onBlur:r,name:o,value:s,defaultValue:a,placeholder:l,icon:u,endIcon:f,startSlot:_,endSlot:h,prefix:m,suffix:v,size:x="medium",variant:w="outline",className:g,attributes:y}=e,b=Ye(),j=$e(e.id),$=(b==null?void 0:b.attributes.id)||((S=e.inputAttributes)==null?void 0:S.id)||j,E=(b==null?void 0:b.disabled)||e.disabled,z=(b==null?void 0:b.hasError)||e.hasError,P=p(p({},e.inputAttributes),b==null?void 0:b.attributes),I=M(Ee.root,g,x&&B(Ee,"--size",x),z&&Ee["--status-error"],E&&Ee["--disabled"],w&&Ee[`--variant-${w}`]),D=A=>{t&&t({name:o,value:A.target.value,event:A})};return i.jsxs("div",k(p({},y),{className:I,children:[i.jsx(rr,{position:"start",icon:u,slot:_,size:x,affix:m}),i.jsx("input",k(p({},P),{className:Ee.input,disabled:E,name:o,placeholder:l,value:s,defaultValue:a,onChange:D,onFocus:n||(P==null?void 0:P.onFocus),onBlur:r||(P==null?void 0:P.onBlur),id:$})),i.jsx(rr,{position:"end",icon:f,slot:h,size:x,affix:v})]}))},Wo="Enter",Ho="Tab",sr="ArrowUp",ir="ArrowDown",ar="ArrowRight",lr="ArrowLeft",hn="data-rs-keyboard",Lt="data-rs-focus";class Ro{constructor(){this.chain={},this.tailId=null,this.idCounter=0}generateId(){return this.idCounter+=1,this.idCounter}getAll(){return this.chain}get(t){return this.chain[t]}isLast(t){return this.tailId!==null&&t===this.tailId}isEmpty(){return typeof this.tailId!="number"}add(t){const n=this.tailId,r=n&&this.get(n),o=this.generateId();return this.chain[o]={previousId:n,data:t},r&&(r.nextId=o),this.tailId=o,o}remove(t){var u,f;const n=this.chain[t];if(!n)return;const r=n.previousId,o=r&&this.get(r),s=n.nextId,a=s&&this.get(s);o&&(o.nextId=(u=n.nextId)!=null?u:null),a&&(a.previousId=(f=n.previousId)!=null?f:null),s||(this.tailId=r!=null?r:null);const l=this.get(t).data;return delete this.chain[t],l}removePreviousTill(t,n){const r=this.get(t),o=this.remove(t);return!r||!r.previousId||n(r)?o:this.removePreviousTill(r.previousId,n)}}const cr=()=>document.documentElement.hasAttribute(hn),dr='a,button,input:not([type="hidden"]),textarea,select,details,[tabindex]:not([tabindex="-1"])',Ot=()=>document.querySelector(`[${Lt}]`)||document.activeElement,vn=(e,t)=>{const r=Array.from(e.querySelectorAll(dr)).filter(o=>!o.hasAttribute("disabled")&&o.clientHeight>0);return t&&r.length&&r.unshift(t),r},ur=e=>{const{root:t,extraElement:n,target:r,mode:o}=e,s=vn(t,n),a=s.length-1,l=Ot(),u=s.indexOf(l),f={next:u+1,prev:u-1,first:0,last:a};let _=f[r];const h=_>a||_<0;return h&&(o==="action-menu"?_=r==="prev"?f.first:f.last:_=r==="prev"?f.last:f.first),{overflow:h,el:s[_]}},Vt=(e,t)=>{var n;(n=document.querySelector(`[${Lt}]`))==null||n.removeAttribute(Lt),t==="selection-menu"?e.setAttribute(Lt,"true"):e.focus()},Dt=(e,t)=>{const n=ur({root:e,target:t});Vt(n.el)},Uo=e=>Dt(e,"next"),Ko=e=>Dt(e,"prev"),Yo=e=>Dt(e,"first"),Go=e=>Dt(e,"last"),Xo=(()=>{let e=[];const t=r=>{let o=r.parentNode&&r.parentNode.firstChild;for(;o;){const s=o!==r,a=o.nodeType===1&&!o.hasAttribute("aria-hidden");s&&a&&(o.setAttribute("aria-hidden","true"),e.push(o)),o=o.nextSibling}},n=()=>{e.forEach(r=>{r.removeAttribute("aria-hidden")}),e=[]};return r=>{let o=r;for(e.length&&n();o!==document.body;)t(o),o=o.parentElement;return{release:n}}})(),qt=(()=>{let e=null,t=null;const n=new Ro;return(r,o={})=>{const{mode:s="dialog",onNavigateOutside:a,includeTrigger:l}=o,u=Ot(),f=s==="dialog",_=s==="content-menu",h=s==="selection-menu",m=f||_,v=s==="action-menu"||h,x=vn(r,l?u:void 0);let w;const g=new MutationObserver(()=>{const $=vn(r,l?u:void 0);$.length&&Vt($[0],s)}),y=($={})=>{const{withoutFocusReturn:E}=$;n.removePreviousTill(w,P=>document.body.contains(P.data.trigger)),g.disconnect(),u&&u.focus({preventScroll:E||!cr()}),e&&(e(),t&&t.release(),e=null,t=null);const z=n.tailId&&n.get(n.tailId);z&&qt(z.data.root,z.data.options)},b=$=>{const E=$.key,z=E===Ho,P=z&&!$.shiftKey,I=z&&$.shiftKey,D=v&&E===sr,S=v&&E===ir,A=I&&m||D,W=P&&m||S,O=Ot()===u,L=ur({root:r,target:A?"prev":"next",extraElement:l?u:void 0,mode:s});if(z&&v||_&&z&&L.overflow){I&&!O&&$.preventDefault(),y(),a==null||a();return}!A&&!W||($.preventDefault(),L.el&&Vt(L.el,s))};if(e&&e(),f&&(t=Xo(r)),g.observe(r,{childList:!0,subtree:!0}),!x.length)return null;document.addEventListener("keydown",b),e=()=>document.removeEventListener("keydown",b);const j=n.tailId&&n.get(n.tailId);return(!j||r!==j.data.root)&&(w=n.add({root:r,trigger:u,options:o}),Vt(x[0],s)),y}})(),Jo=100,Qo=150;let it={},Ve=null;const _r=e=>{it[e]&&(e===Ve&&(Ve=it[e].parentId),delete it[e],Ve===null&&(it={}))},Zo=(e,t,n)=>{var s;const r=Ve?it[Ve]:void 0;!((n==null?void 0:n.current)&&r&&((s=r.contentRef.current)==null?void 0:s.contains(n.current)))&&n&&Ve&&_r(Ve),it[e]={parentId:Ve,triggerRef:n,contentRef:t},Ve=e},mr=(e=!1,t,n)=>{const r=$e(),o=c.useCallback(()=>Ve===r,[r]);return c.useEffect(()=>{e?Zo(r,t,n):_r(r)},[e,r,t,n]),o},le=typeof window!="undefined"?c.useLayoutEffect:c.useEffect,at="+",ze={},pn=[],fr=e=>e===" "?e:e.replace(/\s/g,"").toLowerCase(),gn=e=>fr(e).split(at).sort().join(at),hr=e=>e.altKey&&e.key!=="Alt"?e.code.toLowerCase().replace(/key|digit|numpad/,""):e.key.toLowerCase(),es=e=>{const t=[],n=e.join(at),o=gn(n).split(at),s=(a,l)=>{l.forEach((u,f)=>{const _=a?`${a}+${u}`:u;t.push(_),s(_,l.slice(f+1))})};return s("",o),t},ts=(e,t)=>{const n=Object.keys(e);n.length&&es(n).forEach(r=>{t(r)})},bn=(e,t)=>{Object.keys(e).forEach(n=>{n.split(",").forEach(r=>{const o=e[n];o&&t(gn(r),o)})})};class ns{constructor(){this.hotkeyMap={},this.getSize=()=>Object.keys(this.hotkeyMap).length,this.bindHotkeys=(t,n)=>{bn(t,(r,o)=>{o&&(this.hotkeyMap[r]||(this.hotkeyMap[r]={data:new Set,used:!1}),this.hotkeyMap[r].data.add({callback:o,ref:n}))})},this.unbindHotkeys=t=>{bn(t,(n,r)=>{var o,s;r&&((o=this.hotkeyMap[n])==null||o.data.forEach(a=>{a.callback===r&&this.hotkeyMap[n].data.delete(a)}),(s=this.hotkeyMap[n])!=null&&s.data.size||delete this.hotkeyMap[n])})},this.handleKeyDown=(t,n)=>{ts(t,r=>{const o=this.hotkeyMap[r];!o||o.used||o!=null&&o.data.size&&o.data.forEach(s=>{var a;(a=s.ref)!=null&&a.current&&!(n.target===s.ref.current||s.ref.current.contains(n.target))||(s.callback(t[r]),this.hotkeyMap[r].used=!0)})})},this.handleKeyUp=t=>{const n=gn(t.key);bn(this.hotkeyMap,(r,o)=>{r.split(at).includes(n)&&(o.used=!1)})}}}const Bt=new ns,vr=c.createContext({}),rs=e=>{const{children:t}=e,[n,r]=c.useState(0),[o,s]=c.useState(0),a=c.useCallback(m=>{if(m.repeat||o===0)return;const v=hr(m);ze[v]=m,(v==="meta"||v==="control")&&(ze.mod=m),r(Object.keys(ze).length),v==="meta"&&pn.push(...Object.keys(ze)),ze.Meta&&pn.push(v)},[o]),l=c.useCallback(m=>{if(o===0)return;const v=hr(m);delete ze[v],(v==="meta"||v==="control")&&delete ze.mod,v==="meta"&&pn.forEach(x=>{delete ze[x]}),r(Object.keys(ze).length)},[o]),u=m=>!fr(m).split(at).some(x=>!ze[x]),f=c.useCallback((m,v)=>(s(x=>x+1),Bt.bindHotkeys(m,v),()=>{s(x=>x-1),Bt.unbindHotkeys(m)}),[]),_=c.useCallback(m=>{a(m),Bt.handleKeyDown(ze,m)},[a]),h=c.useCallback(m=>{l(m),Bt.handleKeyUp(m)},[l]);return c.useEffect(()=>(window.addEventListener("keydown",_),window.addEventListener("keyup",h),()=>{window.removeEventListener("keydown",_),window.removeEventListener("keyup",h)}),[_,h]),i.jsx(vr.Provider,{value:{addHotkeys:f,isPressed:u},children:t})},os=()=>c.useContext(vr),nt=(e,t=[],n)=>{const{addHotkeys:r,isPressed:o}=os(),s=c.useRef(null),a=(n==null?void 0:n.ref)||s;return c.useEffect(()=>{const l=r(e,a);return()=>l==null?void 0:l()},[r,Object.keys(e).join(","),...t]),{ref:a,checkHotkeyState:o}},xn=c.createContext({rtl:[!1,()=>{}],defaultViewport:"s"}),ss=e=>{const t=c.useState(e||!1),[n,r]=t;return le(()=>{const o=new MutationObserver(s=>{s.forEach(a=>{if(a.attributeName!=="dir")return;const l=a.target.dir==="rtl";n!==l&&r(l)})});return o.observe(document.documentElement,{attributes:!0}),()=>o.disconnect()},[n]),le(()=>{document.documentElement.setAttribute("dir",n?"rtl":"ltr")},[n]),t},Ge=()=>c.useContext(xn).rtl,yn=e=>{const t=e&&window.getComputedStyle(e).overflowY,n=t==null?void 0:t.includes("scroll");return e===document.body||!e?document.body:n&&e.scrollHeight>e.clientHeight?e:yn(e.parentElement)},pr=16,Wt=["top-start","top","top-end"],Ht=["bottom-start","bottom","bottom-end"],Rt=["start","start-bottom","start-top"],Ut=["end","end-bottom","end-top"],is={top:[...Wt,...Ht,...Ut,...Rt],bottom:[...Ht,...Wt,...Ut,...Rt],start:[...Rt,...Ut,...Wt,...Ht],end:[...Ut,...Rt,...Wt,...Ht]},as=e=>e.includes("start")?e.replace("start","end"):e.includes("end")?e.replace("end","start"):e,gr=(e,t)=>Math.floor(e/2-t/2),ls=e=>{const n=["top","bottom","start","end"].find(r=>e.startsWith(r))||"bottom";return is[n]},wn=e=>{const t=document.documentElement,n=t.scrollLeft,r=n+t.clientWidth,o=t.scrollTop,s=o+t.clientHeight;return e.left>=n&&e.left+e.width<=r&&e.top>=o&&e.top+e.height<=s},br=(e,t,n,r)=>{const{position:o,rtl:s,width:a}=r;let l=0,u=0,f=o;switch(s&&(f=as(f)),(a==="full"||a==="trigger")&&(f=f.includes("top")?"top":"bottom"),f){case"bottom":case"top":l=gr(e.width,t.width)+e.left;break;case"start":case"start-top":case"start-bottom":l=e.left-t.width;break;case"end":case"end-top":case"end-bottom":l=e.right;break;case"top-start":case"bottom-start":l=e.left;break;case"top-end":case"bottom-end":l=e.right-t.width;break}switch(f){case"top":case"top-start":case"top-end":u=e.top-t.height;break;case"bottom":case"bottom-start":case"bottom-end":u=e.bottom;break;case"start":case"end":u=gr(e.height,t.height)+e.top;break;case"start-top":case"end-top":u=e.top;break;case"start-bottom":case"end-bottom":u=e.bottom-t.height;break}if(u===void 0||l===void 0)throw Error(`[Reshaped, flyout]: ${f} position is not valid`);u=Math.round(u+(window.scrollY||0)-n.top),l=Math.round(l+(window.scrollX||0)-n.left);let _=Math.ceil(t.width);const h=Math.ceil(t.height);return a==="full"?(l=pr,_=window.innerWidth-pr*2):a==="trigger"&&(_=e.width),{styles:{left:l,top:u,width:_,height:h},position:f}},xr={left:0,top:0,width:"auto",height:"auto",position:"absolute",zIndex:"var(--rs-z-index-flyout)"},jn={left:0,top:0,position:"fixed",opacity:0,animation:"none",transition:"none",zIndex:"var(--rs-z-index-tooltip)"},cs=(e,t,n)=>{const{position:r,forcePosition:o,width:s}=n,a=t.cloneNode(!0),l=e.getBoundingClientRect();a.style="",Object.keys(jn).forEach(v=>{const x=jn[v];a.style[v]=x.toString()}),s&&(s==="trigger"?a.style.width=`${l.width}px`:s!=="full"&&(a.style.width=s)),document.body.appendChild(a);const u=a.getBoundingClientRect(),f=yn(e),_=f.getBoundingClientRect(),h={top:_.top+document.documentElement.scrollTop-f.scrollTop,left:_.left+document.documentElement.scrollLeft-f.scrollLeft};let m=br(l,u,h,n);if(!wn(m.styles)&&!o){const v=ls(r),x=v.filter(g=>g==="top"||g==="bottom"),w=(g,y={})=>{const{fullWidth:b}=y;g.some(j=>{const $=k(p({},n),{width:b?"full":n.width,position:j}),E=br(l,u,h,$);return wn(E.styles)?(m=E,!0):!1})};w(v),wn(m.styles)||w(x,{fullWidth:!0})}return a.parentNode.removeChild(a),m},ds=(e,t)=>{switch(t.type){case"render":return k(p({},e),{status:"rendered",styles:{pointerEvents:"none"}});case"position":return k(p({},e),{status:e.status==="visible"?"visible":"positioned",position:t.payload.position,styles:p(p({},xr),t.payload.styles)});case"show":return k(p({},e),{status:"visible"});case"hide":return k(p({},e),{status:e.status==="idle"?"idle":"hidden"});case"remove":return k(p({},e),{status:"idle",styles:jn});default:throw new Error("Invalid reducer type")}},us=(e,t,n)=>{const{position:r="bottom",forcePosition:o,width:s}=n,[a]=Ge(),[l,u]=c.useReducer(ds,{position:r,styles:xr,status:"idle"}),f=c.useCallback(()=>{u({type:"render"})},[]),_=c.useCallback(()=>{u({type:"show"})},[]),h=c.useCallback(()=>{u({type:"hide"})},[]),m=c.useCallback(()=>{u({type:"remove"})},[]),v=c.useCallback(()=>{if(!e.current||!t.current)return;const x=cs(e.current,t.current,{width:s,position:r,forcePosition:o,rtl:a});u({type:"position",payload:x})},[e,t,r,a,o,s]);return c.useEffect(()=>{l.status==="rendered"&&v(),l.status==="positioned"&&kt(()=>_())},[l.status,v,_]),c.useMemo(()=>({position:l.position,styles:l.styles,status:l.status,updatePosition:v,render:f,hide:h,remove:m}),[f,v,h,m,l.position,l.styles,l.status])},_s=(e,t)=>{c.useEffect(()=>{if(!t)return;const n=r=>{let o=!1;e.forEach(s=>{(!s.current||s.current===r.target||s.current.contains(r.target))&&(o=!0)}),!o&&t(r)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[t,...e])},yr=c.createContext({}),Kt=()=>c.useContext(yr),ms=yr.Provider,wr=e=>{const{triggerType:t="click",onOpen:n,onClose:r,children:o,forcePosition:s,trapFocusMode:a,width:l,disableHideAnimation:u,contentGap:f,contentClassName:_,contentAttributes:h,position:m,active:v,id:x,instanceRef:w}=e,[g]=Ge(),y=c.useRef(null),b=c.useRef(null),j=$e(x),$=c.useRef(),E=c.useRef(null),z=c.useRef(!1),P=c.useRef(!1),I=c.useRef(!0),D=us(y,b,{width:l,position:m,defaultActive:v,forcePosition:s}),S=Kt(),{status:A,updatePosition:W,render:O,hide:L,remove:te}=D,je=mr(t!=="hover"&&A!=="idle",b,y),fe=c.useCallback(()=>{$.current&&clearTimeout($.current)},[$]),oe=c.useCallback(()=>{!z.current&&A==="idle"&&(n==null||n())},[A]),Q=c.useCallback(G=>{var Me;!(t==="click"&&!je())&&A!=="idle"&&(r==null||r(),G!=null&&G.closeParents&&((Me=S==null?void 0:S.handleClose)==null||Me.call(S)))},[A,je,t]),He=c.useCallback(G=>{var he;(he=b.current)!=null&&he.contains(G.relatedTarget)||t==="hover"&&a==="content-menu"||P.current||Q()},[Q,t,a]),Ce=c.useCallback(()=>{oe()},[oe]),se=c.useCallback(()=>{fe(),$.current=setTimeout(oe,Jo)},[fe,$,oe]),H=c.useCallback(()=>{fe(),$.current=setTimeout(()=>Q(),Qo)},[fe,$,Q]),K=c.useCallback(()=>{A==="idle"?oe():Q()},[A,oe,Q]),Y=()=>P.current=!0,ie=()=>P.current=!1;le(()=>{if(v){O();return}Po()&&!u?L():te()},[v,O,L,u]);const ye=c.useCallback(G=>{b.current!==G.currentTarget||G.propertyName!=="transform"||A==="hidden"&&te()},[te,A]);return le(()=>{A!=="visible"||!b.current||(E.current=qt(b.current,{mode:a,includeTrigger:t==="hover"&&a==="content-menu",onNavigateOutside:()=>{E.current=null,Q()}}))},[A,t,Q,a]),c.useEffect(()=>{!u&&A!=="hidden"||u&&A!=="idle"||E.current&&(t==="hover"&&(z.current=!0,setTimeout(()=>{z.current=!1},100)),E.current({withoutFocusReturn:!I.current}),E.current=null,I.current=!0)},[A,t,u]),c.useEffect(()=>()=>{E.current&&E.current(),E.current=null},[]),c.useEffect(()=>{const G=Rn(W,10);return window.addEventListener("resize",G),()=>window.removeEventListener("resize",G)},[W]),c.useEffect(()=>{W()},[g,W]),c.useImperativeHandle(w,()=>({open:oe,close:Q}),[oe,Q]),nt({Escape:()=>Q()},[Q]),_s([b,y],()=>{I.current=!1,Q()}),i.jsx(ms,{value:{id:j,flyout:D,triggerElRef:y,flyoutElRef:b,handleClose:Q,handleOpen:oe,handleFocus:Ce,handleBlur:He,handleMouseEnter:se,handleMouseLeave:H,handleTransitionEnd:ye,handleClick:K,handleContentMouseDown:Y,handleContentMouseUp:ie,triggerType:t,trapFocusMode:a,contentGap:f,contentClassName:_,contentAttributes:h},children:o})},fs=e=>{const{defaultActive:t,onClose:n,onOpen:r}=e,[o,s]=c.useState(t||!1),a=()=>{s(!1),n&&n()},l=()=>{s(!0),r&&r()};return i.jsx(wr,k(p({},e),{defaultActive:void 0,active:o,onClose:a,onOpen:l}))},hs=e=>{const{children:t}=e,{id:n,triggerElRef:r,triggerType:o,flyout:s,handleFocus:a,handleBlur:l,handleMouseEnter:u,handleMouseLeave:f,handleClick:_,handleOpen:h,trapFocusMode:m}=Kt();nt({[`${sr},${ir}`]:()=>{s.status==="idle"&&h()}},[h,s.status],{ref:r});let v={onBlur:l,ref:r};return o==="click"&&(v.onClick=_),o==="hover"&&(v.onMouseEnter=u,v.onMouseLeave=f),(o==="hover"||o==="focus")&&(v.onFocus=a,v["aria-describedby"]=n),(o==="click"||o==="focus"||m==="action-menu")&&(m==="dialog"?v["aria-haspopup"]="dialog":m==="selection-menu"?(v["aria-haspopup"]="listbox",v["aria-autocomplete"]="list"):v["aria-haspopup"]="menu",v["aria-expanded"]=s.status!=="idle",v["aria-controls"]=s.status!=="idle"?n:void 0),i.jsx(i.Fragment,{children:t(v)})},jr=c.createContext({theme:"",colorMode:"light",setTheme:()=>{}}),Cn=c.createContext({mode:"light",setMode:()=>{},invertMode:()=>{}}),vs=()=>{const{mode:e}=c.useContext(Cn);return e},Cr=()=>{const{colorMode:e,theme:t,setTheme:n}=c.useContext(jr),{mode:r,setMode:o,invertMode:s}=c.useContext(Cn);return c.useMemo(()=>({theme:t,setTheme:n,colorMode:e||r,setColorMode:o,invertColorMode:s}),[e,r,o,s,t,n])},ps={root:"_root_r30zs_1"},lt=e=>{const{name:t,defaultName:n,colorMode:r,children:o,className:s}=e,[a,l]=c.useState(!1),[u,f]=c.useState(n),_=vs(),h=Cr(),m=!h.theme,v=t||u||h.theme,x=m?_:h.colorMode,g=r==="inverted"?x==="light"?"dark":"light":r||x,y=M(ps.root,s),b=j=>{f(j)};return le(()=>{l(!0)},[]),le(()=>{if(!document||!m)return;const j=document.documentElement.getAttribute("data-rs-color-mode");return document.documentElement.setAttribute("data-rs-theme",v),j||document.documentElement.setAttribute("data-rs-color-mode",g),()=>{document.documentElement.removeAttribute("data-rs-theme"),j||document.documentElement.removeAttribute("data-rs-color-mode")}},[v,g,m]),i.jsx(jr.Provider,{value:{theme:v,colorMode:g,setTheme:b},children:i.jsx("div",{className:y,"data-rs-theme":m?void 0:v,"data-rs-color-mode":m||!r&&!a?void 0:g,children:o})})},gs=e=>{const{defaultMode:t,children:n}=e,[r,o]=c.useState(t||"light"),s=c.useCallback(l=>{Mo(),document.documentElement.setAttribute("data-rs-color-mode",l),o(l)},[]);le(()=>{kt(()=>{So()})},[r]),le(()=>{const l=document.documentElement.getAttribute("data-rs-color-mode");l&&s(l)},[]);const a=c.useMemo(()=>({mode:r,setMode:s,invertMode:()=>{s(r==="light"?"dark":"light")}}),[r,s]);return i.jsx(Cn.Provider,{value:a,children:n})},kr=c.createContext({}),bs=()=>c.useContext(kr),Yt=e=>{const{children:t,targetRef:n}=e,r=bs(),o=n||r.scopeRef;return _e.createPortal(i.jsx(lt,{children:t}),(o==null?void 0:o.current)||document.body)};function xs(e){const{children:t}=e,n=c.useRef(null);return i.jsx(kr.Provider,{value:{scopeRef:n},children:t(n)})}Yt.Scope=xs;const $t={content:"_content_u88xy_1",inner:"_inner_u88xy_5","--position-top":"_--position-top_u88xy_9","--position-top-end":"_--position-top-end_u88xy_10","--position-top-start":"_--position-top-start_u88xy_11","--position-bottom":"_--position-bottom_u88xy_15","--position-bottom-end":"_--position-bottom-end_u88xy_16","--position-bottom-start":"_--position-bottom-start_u88xy_17","--position-start":"_--position-start_u88xy_21","--position-start-top":"_--position-start-top_u88xy_22","--position-start-bottom":"_--position-start-bottom_u88xy_23","--position-end":"_--position-end_u88xy_27","--position-end-top":"_--position-end-top_u88xy_28","--position-end-bottom":"_--position-end-bottom_u88xy_29","--visible":"_--visible_u88xy_57","--animated":"_--animated_u88xy_62"},ys=e=>{const{children:t,className:n,attributes:r}=e,{flyout:o,id:s,flyoutElRef:a,triggerElRef:l,handleTransitionEnd:u,triggerType:f,handleMouseEnter:_,handleMouseLeave:h,handleContentMouseDown:m,handleContentMouseUp:v,contentGap:x,contentClassName:w,contentAttributes:g,trapFocusMode:y}=Kt(),{styles:b,status:j,position:$}=o,[E,z]=c.useState(!1);if(le(()=>{z(!0)},[]),j==="idle"||!E)return null;const P=M($t.content,j==="visible"&&$t["--visible"],["visible","hidden"].includes(j)&&$t["--animated"],$&&$t[`--position-${$}`]),I=M($t.inner,n,w);let D;f==="hover"?D="tooltip":y==="dialog"?D="dialog":y==="selection-menu"?D="listbox":y==="action-menu"&&(D="menu");const S=i.jsx("div",{className:P,style:k(p({},b),{"--rs-flyout-gap":x}),ref:a,onTransitionEnd:u,onMouseEnter:f==="hover"?_:void 0,onMouseLeave:f==="hover"?h:void 0,onMouseDown:m,onTouchStart:m,onMouseUp:v,onTouchEnd:v,children:i.jsx("div",k(p({role:D},r),{id:s,"aria-modal":f==="click",style:g==null?void 0:g.style,className:I,children:t}))}),A=yn(l.current);return i.jsx(Yt,{targetRef:A===document.body?void 0:{current:A},children:S})},Xe=e=>{const{active:t}=e;return typeof t=="boolean"?i.jsx(wr,p({},e)):i.jsx(fs,p({},e))};Xe.Trigger=hs,Xe.Content=ys;const kn={content:"_content_kjjlu_1","content--variant-elevated":"_content--variant-elevated_kjjlu_5","content--has-width":"_content--has-width_kjjlu_15"},ws={root:"_root_e7w6q_1"},Nn=e=>{if(!e)return null;const t=re("--rs-p",e);return{classNames:ws.root,variables:t}},ct=e=>{var j;const{id:t,forcePosition:n,onOpen:r,onClose:o,active:s,defaultActive:a,children:l,width:u,contentGap:f,variant:_="elevated",triggerType:h="click",position:m="bottom",disableHideAnimation:v,instanceRef:x}=e,w=(j=e.padding)!=null?j:_==="headless"?0:4,g=e.trapFocusMode||(h==="hover"?"content-menu":void 0),y=Nn(w),b=M(kn.content,!!u&&kn["content--has-width"],_&&kn[`content--variant-${_}`],y==null?void 0:y.classNames);return i.jsx(Xe,{id:t,instanceRef:x,position:m,forcePosition:n,onOpen:r,onClose:o,trapFocusMode:g,triggerType:h,active:s,defaultActive:a,width:u,disableHideAnimation:v,contentGap:f,contentClassName:b,contentAttributes:{style:p({},y==null?void 0:y.variables)},children:l})};ct.Trigger=Xe.Trigger,ct.Content=Xe.Content;const Be={root:"_root_177la_1",icon:"_icon_177la_17",content:"_content_177la_22","--rounded-corners":"_--rounded-corners_177la_27","--size-small":"_--size-small_177la_1","--size-medium":"_--size-medium_177la_1","--size-large":"_--size-large_177la_1","--color-neutral":"_--color-neutral_177la_66","--selected":"_--selected_177la_70","--color-critical":"_--color-critical_177la_76","--color-primary":"_--color-primary_177la_86","--disabled":"_--disabled_177la_107",aligner:"_aligner_177la_115","--rounded-corners-true--m":"_--rounded-corners-true--m_177la_1","--rounded-corners-false--m":"_--rounded-corners-false--m_177la_1","--size-small--m":"_--size-small--m_177la_1","--size-medium--m":"_--size-medium--m_177la_1","--size-large--m":"_--size-large--m_177la_1","--rounded-corners-true--l":"_--rounded-corners-true--l_177la_1","--rounded-corners-false--l":"_--rounded-corners-false--l_177la_1","--size-small--l":"_--size-small--l_177la_1","--size-medium--l":"_--size-medium--l_177la_1","--size-large--l":"_--size-large--l_177la_1","--rounded-corners-true--xl":"_--rounded-corners-true--xl_177la_1","--rounded-corners-false--xl":"_--rounded-corners-false--xl_177la_1","--size-small--xl":"_--size-small--xl_177la_1","--size-medium--xl":"_--size-medium--xl_177la_1","--size-large--xl":"_--size-large--xl_177la_1"},js=e=>{const{children:t,className:n,attributes:r}=e,o=M(Be.aligner,n);return i.jsx("div",k(p({},r),{className:o,children:t}))},Cs=(e,t)=>{const{icon:n,startSlot:r,endSlot:o,children:s,color:a="primary",selected:l,disabled:u,onClick:f,href:_,size:h="medium",roundedCorners:m,className:v,attributes:x}=e,w=M(Be.root,v,B(Be,"--size",h),B(Be,"--rounded-corners",m),a&&Be[`--color-${a}`],l&&Be["--selected"],u&&Be["--disabled"]),g=Le(h,b=>b==="large"?3:2),y=Le(h,b=>b==="large"?5:4);return i.jsx(Oe,{disabled:u,className:w,attributes:x,onClick:f,href:_,ref:t,children:i.jsxs(U,{direction:"row",gap:g,align:"center",children:[n&&i.jsx(de,{svg:n,className:Be.icon,size:y}),!n&&r,s&&i.jsx(U.Item,{grow:!0,className:Be.content,children:s}),o]})})},$n=c.forwardRef(Cs);$n.Aligner=js;const Gt=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"9 18 15 12 9 6"})}),Xt={menu:"_menu_tat3a_1",section:"_section_tat3a_5",item:"_item_tat3a_11",arrow:"_arrow_tat3a_15"},En=c.createContext(null),xe=e=>{const a=e,{children:t,position:n="bottom-start",triggerType:r="click",trapFocusMode:o="action-menu"}=a,s=Fe(a,["children","position","triggerType","trapFocusMode"]);return i.jsx(ct,k(p({},s),{position:n,padding:0,trapFocusMode:o,triggerType:r,children:t}))},ks=e=>{const{children:t,attributes:n,className:r}=e,o=c.useContext(En),[s]=Ge(),{ref:a}=nt({[s?ar:lr]:()=>{var u;(u=o==null?void 0:o.current)==null||u.close()},[Wo]:()=>{const u=Ot();u==null||u.click()}},[o==null?void 0:o.current]),l=M(Xt.menu,r);return i.jsx(ct.Content,{className:l,attributes:k(p({},n),{ref:a}),children:t})},Ns=e=>{const{children:t}=e;return i.jsx("div",{className:Xt.section,role:"group",children:t})},Nr=e=>{const{onClick:t}=e,{handleClose:n}=Kt(),r=o=>{n&&n({closeParents:!0}),t&&t(o)};return i.jsx($n,k(p({},e),{roundedCorners:!0,className:Xt.item,attributes:p({role:"menuitem"},e.attributes),onClick:r}))},$s=e=>{const{children:t}=e,n=c.useRef();return i.jsx(En.Provider,{value:n,children:i.jsx(xe,{triggerType:"hover",position:"end-top",contentGap:.5,instanceRef:n,children:t})})},Es=e=>{const l=e,{children:t,attributes:n}=l,r=Fe(l,["children","attributes"]),o=c.useContext(En),[s]=Ge(),{ref:a}=nt({[s?lr:ar]:()=>{var u;(u=o==null?void 0:o.current)==null||u.open()}},[],{ref:n==null?void 0:n.ref});return i.jsx(Nr,k(p({},r),{attributes:k(p({},n),{ref:a}),endSlot:i.jsx(de,{autoWidth:!0,svg:Gt,className:Xt.arrow}),children:t}))},zs=e=>{const{children:t}=e;return i.jsx(xe.Trigger,{children:n=>i.jsx(Es,{attributes:n,children:t})})};xe.Trigger=ct.Trigger,xe.Content=ks,xe.Section=Ns,xe.Item=Nr,xe.SubMenu=$s,xe.SubTrigger=zs;const $r=c.createContext({}),Er=e=>{const g=e,{children:t,onChange:n,onItemSelect:r,name:o}=g,s=Fe(g,["children","onChange","onItemSelect","name"]),[a,l]=c.useState(!1),[u,f]=c.useState(!1),_=!!c.Children.toArray(t).filter(Boolean).length,h=()=>l(!0),m=()=>l(!1),v=y=>{n==null||n(y),f(!1),h()},x=y=>{n==null||n({value:y.value,name:o}),r==null||r({value:y.value}),f(!0)},w=y=>{var b;requestAnimationFrame(()=>{u&&(l(!1),f(!1))}),(b=s.onFocus)==null||b.call(s,y)};return i.jsx($r.Provider,{value:{onItemClick:x},children:i.jsxs(xe,{position:"bottom",width:"trigger",triggerType:"focus",trapFocusMode:"selection-menu",active:!u&&_&&a,onClose:m,onOpen:h,disableHideAnimation:!0,children:[i.jsx(xe.Trigger,{children:j=>{var $=j,{ref:y}=$,b=Fe($,["ref"]);return i.jsx(or,k(p({},s),{name:o,onChange:v,attributes:k(p({},s.attributes),{ref:y}),inputAttributes:k(p({},b),{onFocus:E=>{var z;(z=b.onFocus)==null||z.call(b),w(E)},role:"combobox"})}))}}),i.jsx(xe.Content,{children:t})]})})},Ts=e=>{const a=e,{value:t,onClick:n}=a,r=Fe(a,["value","onClick"]),{onItemClick:o}=c.useContext($r),s=l=>{n==null||n(l),o({value:t})};return i.jsx(xe.Item,k(p({},r),{attributes:k(p({},r.attributes),{role:"option"}),onClick:s}))};Er.Item=Ts;const Jt={root:"_root_1m0a1_1",img:"_img_1m0a1_13","--variant-faded":"_--variant-faded_1m0a1_20","--color-neutral":"_--color-neutral_1m0a1_21","--color-critical":"_--color-critical_1m0a1_25","--color-positive":"_--color-positive_1m0a1_29","--color-primary":"_--color-primary_1m0a1_33"},Is=e=>{const{color:t="neutral",variant:n,src:r,size:o=12,squared:s,initials:a,icon:l,alt:u,className:f,attributes:_}=e,h=s?Le(o,w=>w>=24?"large":w>=12?"medium":"small"):"circular",m=wt(o),v=M(Jt.root,f,m==null?void 0:m.classNames,t&&Jt[`--color-${t}`],n&&Jt[`--variant-${n}`]),x=()=>r?i.jsx("img",{role:a?void 0:"presentation",src:r,alt:u,className:Jt.img}):l?i.jsx(de,{svg:l,size:Le(o,w=>Math.ceil(w*.4))}):a;return i.jsx(U,{borderRadius:h,attributes:k(p({},_),{style:p({},m==null?void 0:m.variables)}),backgroundColor:n==="faded"?`${t}-${n}`:t,className:v,children:x()})},zr=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[i.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),Te={root:"_root_xbb1o_1",dismiss:"_dismiss_xbb1o_21","--actionable":"_--actionable_xbb1o_26","--variant-faded":"_--variant-faded_xbb1o_1","--variant-outline":"_--variant-outline_xbb1o_1","--color-positive":"_--color-positive_xbb1o_47","--color-critical":"_--color-critical_xbb1o_67","--color-primary":"_--color-primary_xbb1o_87","--size-small":"_--size-small_xbb1o_1","--size-medium":"_--size-medium_xbb1o_1","--size-large":"_--size-large_xbb1o_1","--rounded":"_--rounded_xbb1o_133","--hidden":"_--hidden_xbb1o_145",container:"_container_xbb1o_152","--container-overlap":"_--container-overlap_xbb1o_177","--container-position-top-end":"_--container-position-top-end_xbb1o_181","--container-position-bottom-end":"_--container-position-bottom-end_xbb1o_193"},Ms=e=>{const{children:t,position:n="top-end",overlap:r,className:o,attributes:s}=e,a=M(Te.container,o,r&&Te["--container-overlap"],n&&Te[`--container-position-${n}`]);return i.jsx("div",k(p({},s),{className:a,children:t}))},Tr=e=>{const{children:t,color:n,rounded:r,size:o="medium",icon:s,endIcon:a,variant:l,hidden:u,href:f,onClick:_,onDismiss:h,dismissAriaLabel:m,className:v,attributes:x}=e,w=!!(_||f),g=o==="large"?4:3.5,y=M(Te.root,v,r&&Te["--rounded"],u&&Te["--hidden"],o&&Te[`--size-${o}`],n&&Te[`--color-${n}`],l&&Te[`--variant-${l}`],w&&Te["--actionable"]);return i.jsxs(Oe,{onClick:_,href:f,className:y,attributes:x,children:[s&&i.jsx(de,{svg:s,autoWidth:!0,size:g}),t&&i.jsx(Z,{variant:o==="large"?"body-3":"caption-1",weight:"medium",attributes:{"aria-hidden":u?"true":void 0},children:t}),a&&i.jsx(de,{svg:a,autoWidth:!0,size:g}),h&&i.jsx(Oe,{onClick:h,className:Te.dismiss,as:"span",attributes:{"aria-label":m},children:i.jsx(de,{svg:zr,size:g})})]})};Tr.Container=Ms;const Qt={root:"_root_1ty16_15","rs-reshaped-loader":"_rs-reshaped-loader_1ty16_1",inner:"_inner_1ty16_44","--color-inherit":"_--color-inherit_1ty16_63","--color-primary":"_--color-primary_1ty16_67","--color-positive":"_--color-positive_1ty16_71","--color-critical":"_--color-critical_1ty16_75","--size-small":"_--size-small_1ty16_1","--size-medium":"_--size-medium_1ty16_1","--size-small--m":"_--size-small--m_1ty16_1","--size-medium--m":"_--size-medium--m_1ty16_1","--size-small--l":"_--size-small--l_1ty16_1","--size-medium--l":"_--size-medium--l_1ty16_1","--size-small--xl":"_--size-small--xl_1ty16_1","--size-medium--xl":"_--size-medium--xl_1ty16_1"},Ir=e=>{const{size:t="small",color:n="primary",className:r,attributes:o}=e,s=o==null?void 0:o["aria-label"],a=M(Qt.root,r,B(Qt,"--size",t),n&&Qt[`--color-${n}`]);return i.jsx("span",k(p({},o),{role:"progressbar","aria-live":s?"assertive":void 0,"aria-label":s,className:a,children:i.jsx("span",{className:Qt.inner})}))},ce={root:"_root_1rnr5_1",loader:"_loader_1rnr5_33",icon:"_icon_1rnr5_41","--icon-position-end":"_--icon-position-end_1rnr5_45",text:"_text_1rnr5_56","--loading":"_--loading_1rnr5_62","--elevated":"_--elevated_1rnr5_79","--icon-only":"_--icon-only_1rnr5_83","--rounded":"_--rounded_1rnr5_89","--size-small":"_--size-small_1rnr5_1","--size-medium":"_--size-medium_1rnr5_1","--size-large":"_--size-large_1rnr5_1","--size-xlarge":"_--size-xlarge_1rnr5_1","--full-width":"_--full-width_1rnr5_135","--variant-solid":"_--variant-solid_1rnr5_149","--color-black":"_--color-black_1rnr5_149","--color-white":"_--color-white_1rnr5_150","--variant-faded":"_--variant-faded_1rnr5_151","--color-neutral":"_--color-neutral_1rnr5_151","--color-primary":"_--color-primary_1rnr5_152","--color-critical":"_--color-critical_1rnr5_153","--color-positive":"_--color-positive_1rnr5_154","--color-inherit":"_--color-inherit_1rnr5_155","--variant-outline":"_--variant-outline_1rnr5_156","--variant-ghost":"_--variant-ghost_1rnr5_157","--highlighted":"_--highlighted_1rnr5_176","--disabled":"_--disabled_1rnr5_531",group:"_group_1rnr5_563",aligner:"_aligner_1rnr5_624","--aligner-position-all":"_--aligner-position-all_1rnr5_628","--aligner-position-start":"_--aligner-position-start_1rnr5_632","--aligner-position-end":"_--aligner-position-end_1rnr5_636","--aligner-position-top":"_--aligner-position-top_1rnr5_640","--aligner-position-bottom":"_--aligner-position-bottom_1rnr5_644","--size-small--m":"_--size-small--m_1rnr5_1","--size-medium--m":"_--size-medium--m_1rnr5_1","--size-large--m":"_--size-large--m_1rnr5_1","--size-xlarge--m":"_--size-xlarge--m_1rnr5_1","--full-width-true--m":"_--full-width-true--m_1rnr5_1","--full-width-false--m":"_--full-width-false--m_1rnr5_1","--size-small--l":"_--size-small--l_1rnr5_1","--size-medium--l":"_--size-medium--l_1rnr5_1","--size-large--l":"_--size-large--l_1rnr5_1","--size-xlarge--l":"_--size-xlarge--l_1rnr5_1","--full-width-true--l":"_--full-width-true--l_1rnr5_1","--full-width-false--l":"_--full-width-false--l_1rnr5_1","--size-small--xl":"_--size-small--xl_1rnr5_1","--size-medium--xl":"_--size-medium--xl_1rnr5_1","--size-large--xl":"_--size-large--xl_1rnr5_1","--size-xlarge--xl":"_--size-xlarge--xl_1rnr5_1","--full-width-true--xl":"_--full-width-true--xl_1rnr5_1","--full-width-false--xl":"_--full-width-false--xl_1rnr5_1"},Ss=e=>{const{children:t,className:n,attributes:r}=e,o=M(ce.group,n);return i.jsx("div",k(p({},r),{className:o,role:"group",children:t}))},Ps=e=>{const{children:t,position:n,className:r,attributes:o}=e,s=typeof n=="string"?[n]:n,a=s?s.map(u=>ce[`--aligner-position-${u}`]):[ce["--aligner-position-all"]],l=M(ce.aligner,r,...a);return i.jsx("div",k(p({},o),{className:l,children:t}))},As=(e,t)=>{const{variant:n="solid",color:r="neutral",elevated:o,highlighted:s,fullWidth:a,loading:l,disabled:u,type:f,href:_,size:h="medium",className:m,children:v,rounded:x,attributes:w,onClick:g,icon:y,endIcon:b}=e,j=(y||b)&&!v,$=M(ce.root,m,r&&ce[`--color-${r}`],n&&ce[`--variant-${n}`],B(ce,"--size",h),B(ce,"--full-width",a),o&&n!=="ghost"&&ce["--elevated"],x&&ce["--rounded"],u&&ce["--disabled"],l&&ce["--loading"],s&&ce["--highlighted"],j&&ce["--icon-only"]),E=z=>{if(!(z==="start"&&y||z==="end"&&b))return null;const S=M(ce.icon,z==="end"&&ce["--icon-position-end"]),A=Le(h,W=>W==="large"?5:W==="xlarge"?6:4);return i.jsx(de,{className:S,svg:z==="start"?y:b,size:A,autoWidth:!0})};return i.jsxs(Oe,{disabled:u||l,className:$,attributes:w,type:f,onClick:g,href:_,ref:t,children:[l&&i.jsx("div",{className:ce.loader,children:i.jsx(Ir,{size:"small",color:"inherit"})}),E("start"),v&&i.jsx("span",{className:ce.text,children:v}),E("end")]})},we=c.forwardRef(As);we.Group=Ss,we.Aligner=Ps;const Et={root:"_root_def7r_1","--color-primary":"_--color-primary_def7r_6","--color-critical":"_--color-critical_def7r_10","--color-positive":"_--color-positive_def7r_14","--color-inherit":"_--color-inherit_def7r_18","--variant-plain":"_--variant-plain_def7r_22","--disabled":"_--disabled_def7r_26","--variant-underline":"_--variant-underline_def7r_32","--with-icon":"_--with-icon_def7r_48"},Fs=(e,t)=>{const{icon:n,disabled:r,href:o,color:s="primary",variant:a="underline",className:l,children:u,attributes:f,type:_,onClick:h}=e,m=M(Et.root,l,r&&Et["--disabled"],a&&Et[`--variant-${a}`],s&&Et[`--color-${s}`],n&&Et["--with-icon"]);return i.jsxs(Oe,{href:o,disabled:r,className:m,attributes:f,type:_,onClick:h,ref:t,children:[n&&i.jsx(de,{svg:n}),u]})},Mr=c.forwardRef(Fs),Ls=()=>i.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("path",{d:"M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z",fill:"currentColor"}),i.jsx("path",{d:"M12 9C12.5523 9 13 8.55228 13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9Z",fill:"currentColor"}),i.jsx("path",{d:"M4 9C4.55228 9 5 8.55228 5 8C5 7.44772 4.55228 7 4 7C3.44772 7 3 7.44772 3 8C3 8.55228 3.44772 9 4 9Z",fill:"currentColor"})]}),Os=e=>{const{children:t,onClick:n,href:r,icon:o,disabled:s}=e;return!r&&!n&&!s?i.jsx(Z,{variant:"body-3",weight:"medium",color:"neutral",children:t}):i.jsx(Mr,{onClick:n,href:r,icon:o,disabled:s,variant:"plain",color:"inherit",children:t})},Sr=e=>{const{children:t,separator:n,color:r,defaultVisibleItems:o,ariaLabel:s,className:a,attributes:l}=e,u=o&&o>=2?o:null,[f,_]=c.useState(!1),h=M(a),m=c.Children.count(t);let v=0;const x=()=>{_(!0)};return i.jsx("nav",k(p({},l),{"aria-label":s||(l==null?void 0:l["aria-label"]),className:h,children:i.jsx(U,{as:"ol",direction:"row",gap:2,align:"center",children:c.Children.map(t,(w,g)=>{if(!w)return null;const y=m-(u||0),b=v===0,j=v>y,$=!u||b||j||f,E=v===y;v+=1;let z=null;return $?z=w:E&&(z=i.jsx(we.Aligner,{children:i.jsx(we,{variant:"ghost",size:"small",icon:Ls,onClick:x})})),z===null?null:i.jsxs(U,{as:"li",gap:2,direction:"row",align:"center",children:[g>0&&($||E)&&i.jsx(Z,{color:"neutral-faded",children:n||i.jsx(de,{svg:Gt,size:3})}),i.jsx(Z,{variant:"body-3",color:r==="primary"?"primary":"neutral-faded",children:z})]},g)})})}))};Sr.Item=Os;const dt={root:"_root_10bg5_1",content:"_content_10bg5_11","--selected":"_--selected_10bg5_16","--elevated":"_--elevated_10bg5_21","--actionable":"_--actionable_10bg5_26"},Vs=(e,t)=>{const{padding:n=4}=e,{selected:r,elevated:o,bleed:s,height:a,onClick:l,href:u,children:f,className:_,attributes:h,as:m="div"}=e,v=!!u||!!l,x=cn("medium"),w=Jn(s),g=Nn(n),y=wt(a),b=M(dt.root,x==null?void 0:x.classNames,w==null?void 0:w.classNames,g==null?void 0:g.classNames,y==null?void 0:y.classNames,v&&dt["--actionable"],o&&dt["--elevated"],r&&dt["--selected"],_),j=p(p(p(p({},h==null?void 0:h.style),w==null?void 0:w.variables),g==null?void 0:g.variables),y==null?void 0:y.variables);return v?i.jsx(Oe,{className:b,attributes:k(p({},h),{style:j}),href:u,as:m,onClick:l,ref:t,children:i.jsx("span",{className:dt.content,children:f})}):i.jsx(m,k(p({},h),{onClick:l,href:u,ref:t,className:b,style:j,children:i.jsx("span",{className:dt.content,children:f})}))},Ds=c.forwardRef(Vs),Pr=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"15 18 9 12 15 6"})});var ut=(e=>(e.back="back",e.forward="forward",e))(ut||{});const We={root:"_root_xql9y_1",control:"_control_xql9y_5","--control-prev":"_--control-prev_xql9y_17","--control-next":"_--control-next_xql9y_21","--control-visible":"_--control-visible_xql9y_25",scroll:"_scroll_xql9y_30",item:"_item_xql9y_51","--control-rendered":"_--control-rendered_xql9y_63","--bleed":"_--bleed_xql9y_69","--bleed-true--m":"_--bleed-true--m_xql9y_1","--bleed-false--m":"_--bleed-false--m_xql9y_1","--bleed-true--l":"_--bleed-true--l_xql9y_1","--bleed-false--l":"_--bleed-false--l_xql9y_1","--bleed-true--xl":"_--bleed-true--xl_xql9y_1","--bleed-false--xl":"_--bleed-false--xl_xql9y_1"},Ar=e=>{const{type:t,scrollElRef:n,scrollPosition:r,onClick:o,isRTL:s,mounted:a}=e,[l,u]=c.useState(!1),[f,_]=c.useState(!1),h=t===ut.forward,m=t===(s?ut.back:ut.forward),v=M(We.control,m?We["--control-next"]:We["--control-prev"],l&&We["--control-visible"],f&&We["--control-rendered"]);return le(()=>{const x=n.current;if(!x||!a)return;let w;const g=Math.abs(r),y=g<=0,b=g+x.clientWidth>=x.scrollWidth-1;return(h?b:y)?(u(!1),w=setTimeout(()=>_(!1),1500)):(_(!0),u(!0)),()=>{w&&clearTimeout(w)}},[r,n.current,a]),i.jsx("div",{className:v,"aria-hidden":"true",children:i.jsx(we,{onClick:o,icon:m?Gt:Pr,rounded:!0,variant:"faded",elevated:!0,attributes:{"aria-disabled":!l}})})},qs=e=>{const{children:t,gap:n=3,visibleItems:r,bleed:o,navigationDisplay:s,instanceRef:a,className:l,attributes:u}=e,[f,_]=c.useState(!1),[h,m]=c.useState(0),[v]=Ge(),x=c.useRef(null),w={};typeof o=="object"&&Object.entries(o).forEach(([P,I])=>{w[P]=typeof I=="number"&&I>0});const g=M(We.root,l,...B(We,"--bleed",typeof o=="number"?!0:w)),y=fo(P=>{const I=P.target;m(I.scrollLeft)},16),b=()=>{const I=getComputedStyle(x.current).gap.split(" ")[0];return Number(I.replace("px",""))},j=()=>{const P=x.current;P.scrollBy({left:P.clientWidth+b(),top:0,behavior:"smooth"})},$=()=>{const P=x.current;P.scrollBy({left:-P.clientWidth-b(),top:0,behavior:"smooth"})},E=v?j:$,z=v?$:j;return c.useImperativeHandle(a,()=>({navigateBack:E,navigateForward:z})),le(()=>{_(!0)},[]),i.jsxs("section",k(p({},u),{className:g,style:p(p({},re("--rs-carousel-items",r)),re("--rs-carousel-bleed",o)),children:[s!=="hidden"&&i.jsxs(i.Fragment,{children:[i.jsx(Ar,{isRTL:v,type:ut.back,scrollElRef:x,scrollPosition:h,onClick:E,mounted:f}),i.jsx(Ar,{isRTL:v,type:ut.forward,scrollElRef:x,scrollPosition:h,onClick:z,mounted:f})]}),i.jsx(U,{as:"ul",direction:"row",wrap:!1,gap:n,className:We.scroll,attributes:{ref:x,onScroll:y},children:c.Children.map(t,P=>i.jsx(U.Item,{className:We.item,as:"li",children:P}))})]}))},Bs={root:"_root_1feer_1"},zn=e=>{const{name:t,value:n,type:r,onChange:o,onFocus:s,onBlur:a,checked:l,defaultChecked:u,disabled:f,className:_,attributes:h}=e,m=M(Bs.root,_);return i.jsx("input",k(p({},h),{className:m,type:r,name:t,value:n,checked:l,defaultChecked:u,disabled:f,onChange:o,onFocus:s||(h==null?void 0:h.onFocus),onBlur:a||(h==null?void 0:h.onBlur)}))},Fr=c.createContext(null),Ws=()=>c.useContext(Fr),Lr=e=>{const{onChange:t,name:n,disabled:r,value:o,children:s,hasError:a}=e,l=u=>{const{event:f,value:_,checked:h}=u;if(!_)return;let m=[...o];h?m.push(_):m=m.filter(v=>v!==_),t&&t({name:n,value:m,event:f})};return i.jsx(Fr.Provider,{value:{onChange:l,disabled:r,value:o,name:n,hasError:a},children:s})},Hs=e=>{const{defaultValue:t,onChange:n}=e,[r,o]=c.useState(t||[]),s=a=>{a.value&&(o(a.value),n&&n(a))};return i.jsx(Lr,k(p({},e),{value:r,defaultValue:void 0,onChange:s}))},Rs=e=>{const{value:t}=e;return t!==void 0?i.jsx(Lr,p({},e)):i.jsx(Hs,p({},e))},Us=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"20 6 9 17 4 12"})}),Je={root:"_root_mh3xy_1",decorator:"_decorator_mh3xy_11",field:"_field_mh3xy_15",icon:"_icon_mh3xy_29",input:"_input_mh3xy_39","--error":"_--error_mh3xy_45","--disabled":"_--disabled_mh3xy_83"},Ks=e=>{var E;const{children:t,value:n,onChange:r,onFocus:o,onBlur:s,indeterminate:a,className:l,attributes:u,inputAttributes:f}=e,_=Ws(),h=Ye(),m=(h==null?void 0:h.hasError)||e.hasError||(_==null?void 0:_.hasError),v=(h==null?void 0:h.disabled)||e.disabled||(_==null?void 0:_.disabled),x=_?(E=_.value)==null?void 0:E.includes(n):e.checked,w=_?void 0:e.defaultChecked,g=_?_.name:e.name,y=c.useRef(null),b=t?"label":"span",j=M(Je.root,l,m&&Je["--error"],v&&Je["--disabled"]),$=z=>{if(!g)return;const{checked:P}=z.target,I={name:g,value:n,checked:P,event:z};r&&r(I),_!=null&&_.onChange&&_.onChange(I)};return le(()=>{y.current.indeterminate=a||!1},[a]),i.jsxs(b,k(p({},u),{className:j,children:[i.jsxs("span",{className:Je.field,children:[i.jsx(zn,{className:Je.input,type:"checkbox",checked:x,defaultChecked:w,name:g,disabled:v,value:n,onChange:$,onFocus:o,onBlur:s,attributes:k(p({},f),{ref:y})}),i.jsx("div",{className:Je.decorator,children:i.jsx(de,{svg:Us,className:Je.icon})})]}),t&&i.jsx("span",{className:Je.text,children:t})]}))},Ys={root:"_root_1c40o_1"},Gs=e=>{const{children:t,padding:n=4,width:r,className:o,attributes:s}=e,a=M(Ys.root,o);return i.jsx(U,{attributes:s,className:a,paddingInline:n,width:r,maxWidth:"100%",children:t})},zt={root:"_root_1md53_1",close:"_close_1md53_7","--variant-media":"_--variant-media_1md53_14","--hide-close":"_--hide-close_1md53_15","--align-center":"_--align-center_1md53_24"},Xs=e=>{const{children:t,align:n,onClose:r,hideCloseButton:o,variant:s,closeAriaLabel:a,className:l,attributes:u}=e,f=M(zt.root,l,s&&zt[`--variant-${s}`],n&&zt[`--align-${n}`],o&&zt["--hide-close"]),_=s==="media"?"div":we.Aligner;return i.jsxs("div",k(p({},u),{className:f,children:[t,!o&&i.jsx(_,{className:zt.close,children:i.jsx(we,k(p({size:"small"},s==="media"?{color:"black",variant:"faded"}:{variant:"ghost"}),{onClick:r,attributes:{"aria-label":r?a:void 0},icon:zr}))})]}))},Js={root:"_root_r7flr_1"},Qs=e=>{const{children:t}=e;return i.jsx("div",{className:Js.root,children:t})},Or={root:"_root_y4hmt_1","--active":"_--active_y4hmt_15"},Zs=e=>{const{children:t,active:n,className:r,attributes:o}=e,s=M(Or.root,n&&Or["--active"],r);return i.jsx(Z,{as:"kbd",variant:"caption-1",weight:"medium",color:"neutral-faded",className:s,attributes:o,children:t})},Zt={root:"_root_qqeu9_1",fallback:"_fallback_qqeu9_6","--display-mode-cover":"_--display-mode-cover_qqeu9_15","--display-mode-contain":"_--display-mode-contain_qqeu9_19"},ei=e=>{const{src:t,alt:n,width:r,height:o,onLoad:s,onError:a,fallback:l,displayMode:u="cover",borderRadius:f,className:_,attributes:h,imageAttributes:m}=e,[v,x]=c.useState("loading"),w=cn(f),g=Qn(r),y=wt(o),b=M(Zt.root,w==null?void 0:w.classNames,g==null?void 0:g.classNames,y==null?void 0:y.classNames,u&&Zt[`--display-mode-${u}`],_),j=M(Zt.image,b),$=M(Zt.fallback,b),E=p(p({},g==null?void 0:g.variables),y==null?void 0:y.variables),z=I=>{x("success"),s==null||s(I)},P=I=>{x("error"),a==null||a(I)};return c.useEffect(()=>{x("loading")},[t]),(v==="error"||!t)&&l?typeof l=="string"?i.jsx("img",k(p({},h),{src:l,alt:n,role:n?void 0:"presentation",className:$,style:E})):i.jsx("div",k(p({},h),{className:$,style:E,children:l})):i.jsx("img",k(p(p({},h),m),{src:t,alt:n,role:n?void 0:"presentation",onLoad:z,onError:P,className:j,style:E}))},Tn=e=>{const[t,n]=c.useState(e||!1),r=c.useCallback(()=>{n(!0)},[]),o=c.useCallback(()=>{n(!1)},[]),s=c.useCallback(()=>{n(a=>!a)},[]);return{active:t,activate:r,deactivate:o,toggle:s}},ti=(()=>{let e;return()=>{if(e)return e;const t=document.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),e=t.getBoundingClientRect().width-t.clientWidth,document.body.removeChild(t),e}})(),Vr=()=>{const[e,t]=c.useState(!1),n=c.useRef(),r=c.useRef(!1),o=c.useCallback(()=>{const{body:a}=document,l=a.getBoundingClientRect();if(r.current=l.left+l.right<window.innerWidth,n.current=a.style.overflow,a.style.overflow="hidden",r.current){const u=ti();document.body.style.paddingRight=`${u}px`}t(!0)},[t,r,n]),s=c.useCallback(()=>{document.body.style.overflow=n.current||"",r.current&&(document.body.style.paddingRight=""),t(!1)},[t,r,n]);return{scrollLocked:e,lockScroll:o,unlockScroll:s}},_t={root:"_root_twcer_1",wrapper:"_wrapper_twcer_20",inner:"_inner_twcer_26",content:"_content_twcer_32","--visible":"_--visible_twcer_40","--transparent":"_--transparent_twcer_44"},Dr=e=>{const{active:t,children:n,transparent:r,onClose:o,className:s,attributes:a}=e,[l,u]=c.useState(!1),f=c.useRef(null),_=c.useRef(!1),h=c.useRef(null),{lockScroll:m,unlockScroll:v}=Vr(),{active:x,activate:w,deactivate:g}=Tn(t||!1),{active:y,activate:b,deactivate:j}=Tn(t||!1),$=mr(t,f),E=M(_t.root,y&&_t["--visible"],r&&_t["--transparent"],s),z=O=>{if(!f.current)return;const L=f.current.firstChild;if(L)return L.contains(O)},P=()=>{f.current&&(h.current=qt(f.current))},I=()=>{h.current&&(h.current(),h.current=null)},D=c.useCallback(()=>{!y||!$()||o&&o()},[y,$]),S=O=>{_.current=!z(O.target)},A=O=>{const L=!z(O.target);_.current&&L&&!r&&D()},W=O=>{O.propertyName!=="opacity"||O.target!==O.currentTarget||y||(r||v(),g())};return nt({Escape:D},[D]),c.useEffect(()=>{t&&!x&&w(),!t&&x&&j()},[t,w,j,x]),c.useEffect(()=>{x&&(r||m(),kt(()=>b()))},[x,b,m,r]),c.useEffect(()=>{if(x)return P(),()=>I()},[x]),c.useEffect(()=>()=>{r||v()},[v,r]),le(()=>{u(!0)},[]),!x||!l?null:i.jsx(Yt,{children:i.jsx(Yt.Scope,{children:O=>i.jsx("div",k(p({},a),{ref:O,role:"button",tabIndex:-1,className:E,onMouseDown:S,onMouseUp:A,onTransitionEnd:W,children:i.jsx("div",{className:_t.wrapper,children:i.jsx("div",{className:_t.inner,children:i.jsx("div",{className:_t.content,ref:f,children:typeof n=="function"?n({active:y}):n})})})}))})})},In={root:"_root_1cqfg_1","--position-center":"_--position-center_1cqfg_1","--position-bottom":"_--position-bottom_1cqfg_1","--position-start":"_--position-start_1cqfg_1","--position-end":"_--position-end_1cqfg_1","--active":"_--active_1cqfg_88","--position-center--m":"_--position-center--m_1cqfg_1","--position-bottom--m":"_--position-bottom--m_1cqfg_1","--position-start--m":"_--position-start--m_1cqfg_1","--position-end--m":"_--position-end--m_1cqfg_1","--position-center--l":"_--position-center--l_1cqfg_1","--position-bottom--l":"_--position-bottom--l_1cqfg_1","--position-start--l":"_--position-start--l_1cqfg_1","--position-end--l":"_--position-end--l_1cqfg_1","--position-center--xl":"_--position-center--xl_1cqfg_1","--position-bottom--xl":"_--position-bottom--xl_1cqfg_1","--position-start--xl":"_--position-start--xl_1cqfg_1","--position-end--xl":"_--position-end--xl_1cqfg_1"},qr=c.createContext({id:"",titleMounted:!1,setTitleMounted:()=>{},subtitleMounted:!1,setSubtitleMounted:()=>{}}),Br=()=>c.useContext(qr),ni=e=>{const{children:t}=e,{id:n,setTitleMounted:r}=Br();return c.useEffect(()=>(r(!0),()=>r(!1)),[r]),i.jsx(Z,{variant:"featured-3",weight:"bold",attributes:{id:`${n}-title`},children:t})},ri=e=>{const{children:t}=e,{id:n,setSubtitleMounted:r}=Br();return c.useEffect(()=>(r(!0),()=>r(!1)),[r]),i.jsx(Z,{variant:"body-3",color:"neutral-faded",attributes:{id:`${n}-subtitle`},children:t})},Mn=e=>{const{children:t,onClose:n,active:r,size:o,padding:s=4,position:a="center",transparentOverlay:l,className:u,attributes:f}=e,_=$e(),[h,m]=c.useState(!1),[v,x]=c.useState(!1),w=Nn(s),g=c.useMemo(()=>({titleMounted:h,setTitleMounted:m,subtitleMounted:v,setSubtitleMounted:x,id:_}),[_,v,h]);return i.jsx(Dr,{onClose:n,active:r,transparent:l,children:({active:y})=>{const b=M(In.root,u,w==null?void 0:w.classNames,y&&In["--active"],B(In,"--position",a));return i.jsx(qr.Provider,{value:g,children:i.jsx("div",k(p({},f),{style:p(p({},w==null?void 0:w.variables),re("--rs-modal-size",o)),"aria-labelledby":h?`${_}-title`:void 0,"aria-describedby":v?`${_}-subtitle`:void 0,className:b,"aria-modal":"true",role:"dialog",children:t}))})}})};Mn.Title=ni,Mn.Subtitle=ri;const Tt={root:"_root_1ux6v_1",value:"_value_1ux6v_9","--duration":"_--duration_1ux6v_23","--size-small":"_--size-small_1ux6v_27","--size-medium":"_--size-medium_1ux6v_31","--color-primary":"_--color-primary_1ux6v_35","--color-critical":"_--color-critical_1ux6v_39","--color-positive":"_--color-positive_1ux6v_43","--color-white":"_--color-white_1ux6v_47"},oi=e=>{const{value:t=0,min:n=0,max:r=100,color:o="primary",size:s="medium",duration:a,className:l,attributes:u}=e,f=M(Tt.root,l,o&&Tt[`--color-${o}`],s&&Tt[`--size-${s}`],!!a&&Tt["--duration"]),_=r-n,h=t-n,x=`${Math.max(n,Math.min(r,h))/_*100-100}%`;return i.jsx("div",k(p({role:"progressbar"},u),{className:f,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":t,children:i.jsx("div",{className:Tt.value,style:{"--rs-progress-value":x,"--rs-progress-duration":a?`${a}ms`:void 0}})}))},Wr=c.createContext(null),si=()=>c.useContext(Wr),Hr=e=>{const{onChange:t,name:n,disabled:r,value:o,children:s,hasError:a}=e,l=({event:u,value:f})=>{f&&t&&t({name:n,value:f,event:u})};return i.jsx(Wr.Provider,{value:{onChange:l,disabled:r,value:o,name:n,hasError:a},children:s})},ii=e=>{const{defaultValue:t,onChange:n}=e,[r,o]=c.useState(t||null),s=a=>{a.value&&(o(a.value),n&&n(a))};return i.jsx(Hr,k(p({},e),{value:r,defaultValue:void 0,onChange:s}))},ai=e=>{const{value:t}=e;return t!==void 0?i.jsx(Hr,p({},e)):i.jsx(ii,p({},e))},rt={root:"_root_1o7zq_1",input:"_input_1o7zq_10",decorator:"_decorator_1o7zq_10",field:"_field_1o7zq_14","--error":"_--error_1o7zq_48",text:"_text_1o7zq_60","--disabled":"_--disabled_1o7zq_71"},li=e=>{const{children:t,value:n,onChange:r,onFocus:o,onBlur:s,className:a,attributes:l,inputAttributes:u}=e,f=Ye(),_=si(),h=(f==null?void 0:f.hasError)||e.hasError||(_==null?void 0:_.hasError),m=(f==null?void 0:f.disabled)||e.disabled||(_==null?void 0:_.disabled),v=_?_.value===n:e.checked,x=_?void 0:e.defaultChecked,w=_?_.name:e.name,g=t?"label":"span",y=M(rt.root,a,h&&rt["--error"],m&&rt["--disabled"]),b=j=>{if(!w)return;const{checked:$}=j.target,E={name:w,value:n,checked:$,event:j};r&&r(E),_!=null&&_.onChange&&_.onChange(E)};return i.jsxs(g,k(p({},l),{className:y,children:[i.jsxs("span",{className:rt.field,children:[i.jsx(zn,{className:rt.input,type:"radio",checked:v,defaultChecked:x,name:w,disabled:m,value:n,onChange:b,onFocus:o,onBlur:s,attributes:u}),i.jsx("div",{className:rt.decorator})]}),t&&i.jsx("span",{className:rt.text,children:t})]}))},Rr={short:4e3,long:8e3},It=["top-start","top","top-end","bottom-start","bottom","bottom-end"],Ur={queues:It.reduce((e,t)=>p({[t]:[]},e),{}),show:()=>{},hide:()=>{},remove:()=>{},add:()=>""},en=c.createContext(Ur),ci=()=>{const{add:e,hide:t}=c.useContext(en);return c.useMemo(()=>({show:e,hide:t}),[e,t])},De={container:"_container_gthtf_1","container--visible":"_container--visible_gthtf_1",wrapper:"_wrapper_gthtf_12","container--index-0":"_container--index-0_gthtf_1","container--index-1":"_container--index-1_gthtf_1","container--index-2":"_container--index-2_gthtf_104","container--index-overflow":"_container--index-overflow_gthtf_108",region:"_region_gthtf_64","region--position-top":"_region--position-top_gthtf_1","region--position-top-start":"_region--position-top-start_gthtf_1","region--position-top-end":"_region--position-top-end_gthtf_1","region--position-bottom":"_region--position-bottom_gthtf_1","region--position-bottom-start":"_region--position-bottom-start_gthtf_1","region--position-bottom-end":"_region--position-bottom-end_gthtf_1"},di=e=>{const{size:t="small",text:n,children:r,color:o="inverted",icon:s,title:a,actionsSlot:l,startSlot:u,collapsed:f,attributes:_}=e;let h=o==="inverted"||o==="neutral"?"elevation-overlay":o;o==="neutral"&&(h=f?"neutral":"elevation-overlay");const m=o==="neutral"?"neutral-faded":"transparent",v=t==="small"?"span":"div",x=t==="large";let w=[];l&&(w=Array.isArray(l)?l:[l]);const g=(a||n)&&i.jsxs(i.Fragment,{children:[a&&i.jsxs(Z,{variant:"body-3",weight:"bold",as:v,children:[a," "]}),i.jsx(Z,{variant:"body-3",as:v,children:n})]}),y=i.jsxs(U,{backgroundColor:h,borderColor:m,padding:4,borderRadius:"medium",animated:!0,direction:"row",gap:3,align:x?"start":"center",className:De.toast,attributes:_,children:[s&&i.jsx(de,{size:5,svg:s,className:De.icon}),u&&!s&&i.jsx(U.Item,{children:u}),i.jsx(U.Item,{grow:!0,children:i.jsxs(U,{direction:x?"column":"row",align:x?"start":"center",gap:3,children:[i.jsx(U.Item,{grow:!0,children:g&&r||t!=="small"?i.jsxs(U,{gap:.5,children:[g,r&&i.jsx(U,{gap:3,children:r})]}):g||r}),w.length&&i.jsx(U,{direction:"row",align:"center",gap:2,children:w.map((b,j)=>{const $=t==="large"?j===0:j===w.length-1,z={variant:$?"solid":"ghost",size:"small",color:$?o==="neutral"||o==="inverted"?"neutral":"white":"inherit",elevated:o!=="neutral"};return b.type===we?c.createElement(we,k(p(p({},z),b.props),{key:j})):b})})]})})]});return o==="inverted"?i.jsx(lt,{colorMode:"inverted",children:y}):y},ui=e=>{const{toastProps:t,id:n,status:r,inspected:o,index:s}=e,{timeout:a="short"}=t,{show:l,hide:u,remove:f}=c.useContext(en),[_,h]=c.useState(),m=c.useRef(),v=c.useRef(!1),x=c.useRef(null),w=c.useRef(null),g=r==="entered",y=M(De.container,g&&De["container--visible"],s===0&&De[`container--index-${s}`],!o&&(s===1||s===2)&&De[`container--index-${s}`],!o&&s>=3&&De["container--index-overflow"]),b=c.useCallback(()=>{m.current&&clearTimeout(m.current)},[]),j=c.useCallback(()=>{b();const E=typeof a=="string"?Rr[a]:a;a!==0&&(m.current=setTimeout(()=>{u(n)},E!=null?E:Rr.short))},[u,n,a,b]),$=E=>{E.propertyName==="height"&&(g||f(n))};return c.useEffect(()=>{g&&(o?b():j())},[o,j,b,g]),c.useEffect(()=>{w.current&&h(w.current.clientHeight),console.log("show"),l(n),j()},[l,n,j]),c.useEffect(()=>{w.current&&(g?x.current=qt(w.current,{includeTrigger:!0,mode:"content-menu"}):x.current&&cr()&&(x.current(),x.current=null))},[g]),c.useEffect(()=>{if(!g||s>0)return;const E=()=>{v.current=!0,kt(()=>{v.current=!1}),w.current&&h(w.current.clientHeight)};return window.addEventListener("resize",E),()=>window.removeEventListener("resize",E)},[g,s]),i.jsx("li",{className:y,style:{height:r==="entered"?`calc(${_}px + var(--rs-unit-x2) + 2px)`:0,transitionDuration:v.current?"0s":void 0},onTransitionEnd:$,onFocus:b,onBlur:j,children:i.jsx("span",{className:De.wrapper,children:i.jsx(di,k(p({},t),{collapsed:s>0&&!o,attributes:{ref:w}}))})})},_i=e=>{const{position:t}=e,{queues:n,options:r}=c.useContext(en),[o,s]=c.useState(!1),a=c.useRef(!1),l=c.useRef(null),u=n[t],{width:f,expanded:_}=(r==null?void 0:r[t])||{},h=M(De.region,De[`region--position-${t}`]),m=u.filter(b=>b.status==="entered").length;let v=0;const x=()=>{a.current=!0},w=b=>{let j=b.target,$=!1;for(;j&&j!==l.current&&!$;)$=j.matches(dr),j=j.parentElement;$||s(E=>!E),a.current=!1},g=()=>{a.current||s(!0)},y=()=>{a.current||s(!1)};return c.useEffect(()=>{u.length===0&&s(!1)},[u.length]),u.length?i.jsx("ul",{role:"region","aria-live":"polite",className:h,ref:l,onTouchStart:x,onClick:w,onMouseEnter:g,onMouseLeave:y,style:{width:f},children:u.map((b,j)=>{const $=m-j+v-1;return b.status!=="entered"&&(v+=1),i.jsx(ui,k(p({},b),{index:$,inspected:o||!!_}),b.id)})}):null};let mi=0;const fi=()=>`__rs-toast-${mi++}`,hi=(e,t)=>{let n;switch(t.type){case"add":const r=t.payload.toastProps||{},{position:o="bottom-end"}=r,s=Fe(r,["position"]);return k(p({},e),{[o]:[...e[o],{id:t.payload.id,toastProps:s,status:"entering"}]});case"show":const{id:a}=t.payload;return n=p({},e),It.forEach(f=>{n[f]=n[f].map(_=>_.status!=="entering"?_:_.id===a?k(p({},_),{status:"entered"}):_)}),n;case"hide":const{id:l}=t.payload;return n=p({},e),It.forEach(f=>{n[f]=n[f].map(_=>_.id===l?k(p({},_),{status:"exiting"}):_)}),n;case"remove":const{id:u}=t.payload;return n=p({},e),It.forEach(f=>{n[f]=n[f].filter(_=>_.id!==u)}),n}},vi=e=>{const{children:t,options:n}=e,[r,o]=c.useReducer(hi,Ur.queues),s=c.useCallback(_=>{const h=fi();return console.log("add"),o({type:"add",payload:{toastProps:_,id:h}}),h},[]),a=c.useCallback(_=>{o({type:"show",payload:{id:_}})},[]),l=c.useCallback(_=>{console.log("hide"),o({type:"hide",payload:{id:_}})},[]),u=c.useCallback(_=>{o({type:"remove",payload:{id:_}})},[]),f=c.useMemo(()=>({queues:r,add:s,show:a,hide:l,remove:u,inspecting:!1,options:n}),[r,a,l,s,u,n]);return i.jsxs(en.Provider,{value:f,children:[t,It.map(_=>i.jsx(_i,{position:_},_))]})},pi=()=>{c.useEffect(()=>{const e=n=>{n.metaKey||n.altKey||n.ctrlKey||document.documentElement.setAttribute(hn,"true")},t=()=>{document.documentElement.removeAttribute(hn)};return window.addEventListener("keydown",e),window.addEventListener("mousedown",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("mousedown",t)}},[])},Bl="",gi={root:"_root_18j53_1"},bi=e=>{const{children:t,defaultRTL:n,defaultViewport:r="s",toastOptions:o}=e,s=ss(n);return pi(),i.jsx(xn.Provider,{value:{rtl:s,defaultViewport:r},children:i.jsx(rs,{children:i.jsx(vi,{options:o,children:t})})})},xi=e=>{const{theme:t,defaultTheme:n="reshaped",defaultColorMode:r,className:o}=e,s=M(gi.root,o);return i.jsx(gs,{defaultMode:r,children:i.jsx(lt,{name:t,defaultName:n,className:s,children:i.jsx(bi,k(p({},e),{children:e.children}))})})},Mt={root:"_root_f2om1_1",scrim:"_scrim_f2om1_2",content:"_content_f2om1_31","--position-cover":"_--position-cover_f2om1_37","--position-top":"_--position-top_f2om1_56","--position-bottom":"_--position-bottom_f2om1_57","--position-start":"_--position-start_f2om1_61","--position-end":"_--position-end_f2om1_62","--with-background":"_--with-background_f2om1_100"},yi=e=>{const{children:t,backgroundSlot:n,position:r="cover",attributes:o,className:s,scrimClassName:a}=e,l=M(Mt.root,!!n&&Mt["--with-background"],r&&Mt[`--position-${r}`],s),u=M(Mt.scrim,a);return i.jsxs("div",k(p({},o),{className:l,children:[n,i.jsx("div",{className:u,children:i.jsx("div",{className:Mt.content,children:t})})]}))},wi=()=>i.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("path",{d:"M7 16L12 21L17 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17 8L12 3L7 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Ie={root:"_root_t5eyu_1",input:"_input_t5eyu_18",slot:"_slot_t5eyu_48",icon:"_icon_t5eyu_56",arrow:"_arrow_t5eyu_68","--size-medium":"_--size-medium_t5eyu_1","--size-large":"_--size-large_t5eyu_1","--size-xlarge":"_--size-xlarge_t5eyu_1","--variant-faded":"_--variant-faded_t5eyu_123","--variant-headless":"_--variant-headless_t5eyu_132","--status-error":"_--status-error_t5eyu_137","--placeholder":"_--placeholder_t5eyu_152","--disabled":"_--disabled_t5eyu_156","--size-medium--m":"_--size-medium--m_t5eyu_1","--size-large--m":"_--size-large--m_t5eyu_1","--size-xlarge--m":"_--size-xlarge--m_t5eyu_1","--size-medium--l":"_--size-medium--l_t5eyu_1","--size-large--l":"_--size-large--l_t5eyu_1","--size-xlarge--l":"_--size-xlarge--l_t5eyu_1","--size-medium--xl":"_--size-medium--xl_t5eyu_1","--size-large--xl":"_--size-large--xl_t5eyu_1","--size-xlarge--xl":"_--size-xlarge--xl_t5eyu_1"},ji=e=>{var W,O;const{onChange:t,onClick:n,onFocus:r,onBlur:o,name:s,value:a,defaultValue:l,placeholder:u,options:f,children:_,icon:h,startSlot:m,size:v="medium",variant:x="outline",className:w,attributes:g}=e,[y,b]=c.useState(a===void 0?!l:!a),j=Ye(),$=$e(e.id),E=((W=j==null?void 0:j.attributes)==null?void 0:W.id)||((O=e.inputAttributes)==null?void 0:O.id)||$,z=(j==null?void 0:j.disabled)||e.disabled,P=(j==null?void 0:j.hasError)||e.hasError,I=p(p({},e.inputAttributes),j==null?void 0:j.attributes),D=M(Ie.root,w,v&&B(Ie,"--size",v),P&&Ie["--status-error"],z&&Ie["--disabled"],y&&f&&Ie["--placeholder"],x&&Ie[`--variant-${x}`]),S=L=>{const te=L.target.value;a===void 0&&b(!te),t&&t({name:s,value:te,event:L})};c.useEffect(()=>{a!==void 0&&b(!a)},[a]);const A=(m||h)&&i.jsx("div",{className:Ie.slot,children:h?i.jsx(de,{size:Le(v,L=>L==="large"?5:L==="xlarge"?6:4),svg:h,className:Ie.icon}):m});return i.jsxs("div",k(p({},g),{className:D,children:[f?i.jsxs(i.Fragment,{children:[A,i.jsxs("select",k(p({},I),{className:Ie.input,disabled:z,name:s,value:a,defaultValue:l,onChange:S,onFocus:r||(I==null?void 0:I.onFocus),onBlur:o||(I==null?void 0:I.onBlur),id:E,children:[u&&i.jsx("option",{value:"",children:u}),f.map(L=>i.jsx("option",{value:L.value,disabled:L.disabled,children:L.label},L.value))]}))]}):i.jsxs(i.Fragment,{children:[i.jsxs(Oe,{className:Ie.input,disabled:z,onClick:n,attributes:k(p({},I),{onFocus:r||(I==null?void 0:I.onFocus),onBlur:o||(I==null?void 0:I.onBlur)}),children:[A,_||(u?i.jsx(Z,{color:"neutral-faded",children:u}):null)]}),i.jsx("input",{type:"hidden",value:a,name:s})]}),i.jsx("div",{className:Ie.arrow,children:i.jsx(de,{svg:wi,color:z?"disabled":"neutral-faded",size:Le(v,L=>L==="large"||L==="xlarge"?5:4)})})]}))},Ci={root:"_root_xavah_1","rs-skeleton-pulse":"_rs-skeleton-pulse_xavah_1"},ki=e=>{const{borderRadius:t="small",width:n,height:r,className:o,attributes:s}=e,a=M(Ci.root,o);return i.jsx(U,{backgroundColor:"disabled",width:n,height:r,borderRadius:t,className:a,attributes:s})},Qe={root:"_root_k9a0x_1",bar:"_bar_k9a0x_10",input:"_input_k9a0x_19",selection:"_selection_k9a0x_28",tooltip:"_tooltip_k9a0x_34",thumb:"_thumb_k9a0x_50","thumb--active":"_thumb--active_k9a0x_1","--disabled":"_--disabled_k9a0x_104"},Ni=(e,t)=>{const{name:n,value:r,disabled:o,active:s,position:a,max:l,min:u,onChange:f,onDragStart:_,renderValue:h}=e,m=c.useId(),v=M(Qe.thumb,s&&Qe["thumb--active"]),x=h?h({value:r}):r,w=g=>{f(+g.target.value)};return i.jsxs(i.Fragment,{children:[i.jsx("input",{className:Qe.input,type:"range",name:n,value:r,onChange:w,disabled:o,max:l,min:u,"aria-labelledby":m}),i.jsx("div",{ref:t,className:v,onMouseDown:_,onTouchStart:_,style:{insetInlineStart:`${a}%`},id:m,"aria-hidden":"true",children:i.jsx(lt,{className:Qe.tooltip,colorMode:"inverted",children:i.jsx(Z,{variant:"caption-1",weight:"medium",children:x})})})]})},Kr=c.forwardRef(Ni),Yr=e=>e instanceof MouseEvent?e.pageX||e.screenX:e.changedTouches[0].pageX,Sn=(e,t)=>Math.round(e/t)*t,Pn=e=>{var Ce;const{name:t,range:n,max:r,min:o,step:s=1,onChange:a,onChangeCommit:l,renderValue:u,className:f,attributes:_}=e,h=n&&e.minValue!==void 0?Sn(e.minValue,s):void 0,m=Sn(n?e.maxValue:e.value,s),v=c.useRef(null),x=c.useRef(null),w=c.useRef(null),[g,y]=c.useState(null),[b]=Ge(),j=Ye(),$=$e(),E=((Ce=j==null?void 0:j.attributes)==null?void 0:Ce.id)||$,z=`${E}-min`,P=`${E}-max`,I=(j==null?void 0:j.disabled)||e.disabled,D=M(Qe.root,I&&Qe["--disabled"],f),S=c.useCallback(se=>{if(!v.current)return;const H=v.current.clientWidth;let Y=(se-v.current.getBoundingClientRect().left)/H;b&&(Y=1-Y);let ie=(r-o)*Y+o;return ie=Math.max(o,Math.min(r,ie)),Sn(ie,s)},[r,o,b,s]),A=se=>(se-o)/(r-o)*100,W=c.useCallback((se,H)=>{if(!n)return;const K=H!=null&&H.commit?l:a;K==null||K({minValue:se,maxValue:m,name:t})},[m,t,n]),O=c.useCallback((se,H)=>{if(n){const Y=H!=null&&H.commit?l:a;Y==null||Y({minValue:h,maxValue:se,name:t});return}const K=H!=null&&H.commit?l:a;K==null||K({value:se,name:t})},[h,t,n]),L=({nativeEvent:se})=>{if(I)return;let H,K;const Y=Yr(se),ie=S(Y);[{ref:x,id:z},{ref:w,id:P}].forEach(G=>{if(!G.ref.current)return;const ge=G.ref.current,he=Math.abs(ge.getBoundingClientRect().left-Y);(H===void 0||he<=H)&&(H=he,K=G.id)}),!(!K||ie===void 0)&&(K===z&&W(ie),K===P&&O(ie),y(K))},te=()=>{I||y(z)},je=()=>{I||y(P)},fe=c.useCallback(()=>{g===z&&h!==void 0&&W(h,{commit:!0}),g===P&&O(m,{commit:!0}),y(null)},[h,m,W,O,g,z,P]),oe=c.useCallback(se=>{if(!g)return;const H=Yr(se),K=S(H);if(K===void 0)return;let Y=g;g===z&&K>m&&(Y=P),g===P&&h&&K<h&&(Y=z),Y===z&&W(K),Y===P&&O(K),g!==Y&&y(Y)},[g,h,m,S,O,W,P,z]);c.useEffect(()=>(window.addEventListener("mouseup",fe),window.addEventListener("touchend",fe),window.addEventListener("mousemove",oe),window.addEventListener("touchmove",oe),()=>{window.removeEventListener("mouseup",fe),window.removeEventListener("touchend",fe),window.removeEventListener("mousemove",oe),window.removeEventListener("touchmove",oe)}),[fe,oe]);const Q=h&&A(h),He=A(m);return i.jsxs("div",k(p({},_),{className:D,onMouseDown:L,onTouchStart:L,children:[i.jsx("div",{className:Qe.bar,ref:v,children:i.jsx("div",{className:Qe.selection,style:{insetInlineStart:`${Q||0}%`,width:`${He-(Q||0)}%`}})}),h!==void 0&&Q!==void 0&&i.jsx(Kr,{id:z,active:z===g,name:t,disabled:I,onChange:W,value:h,onDragStart:te,position:Q,max:r,min:o,ref:x,renderValue:u}),i.jsx(Kr,{id:P,active:P===g,name:t,disabled:I,onChange:O,value:m,onDragStart:je,position:He,max:r,min:o,ref:w,renderValue:u})]}))},$i=e=>{const{min:t,max:n,onChange:r,range:o}=e,s="defaultMinValue"in e&&e.defaultMinValue!==void 0&&e.defaultMinValue||"defaultValue"in e&&e.defaultValue!==void 0&&e.defaultValue||t,a="defaultMaxValue"in e&&e.defaultMaxValue!==void 0&&e.defaultMaxValue||"defaultValue"in e&&e.defaultValue!==void 0&&e.defaultValue||(o?n:t),[l,u]=c.useState(s),[f,_]=c.useState(a),h=v=>{o||(_(v.value),r==null||r(v))},m=v=>{o&&(u(v.minValue),_(v.maxValue),r==null||r(v))};return o?i.jsx(Pn,k(p({},e),{min:t,max:n,minValue:l,maxValue:f,defaultMinValue:void 0,defaultMaxValue:void 0,onChange:m})):i.jsx(Pn,k(p({},e),{min:t,max:n,value:f,defaultValue:void 0,onChange:h}))},Ei=e=>{const o=e,{min:t=0,max:n=100}=o,r=Fe(o,["min","max"]);return"value"in e&&e.value!==void 0||"minValue"in e&&"maxValue"in e&&e.minValue!==void 0&&e.maxValue!==void 0?i.jsx(Pn,k(p({},r),{min:t,max:n})):i.jsx($i,k(p({},r),{min:t,max:n}))},mt={root:"_root_1zzd0_1",input:"_input_1zzd0_10",area:"_area_1zzd0_22",thumb:"_thumb_1zzd0_26","root--size-small":"_root--size-small_1zzd0_82","root--reversed":"_root--reversed_1zzd0_102"},zi=e=>{var b;const{children:t,name:n,checked:r,size:o,reversed:s,defaultChecked:a,onChange:l,onFocus:u,onBlur:f,className:_,attributes:h}=e,m=M(mt.root,o&&mt[`root--size-${o}`],s&&mt["root--reversed"],_),v=Ye(),x=$e((v==null?void 0:v.attributes.id)||e.id||((b=e.inputAttributes)==null?void 0:b.id)),w=p(p({},e.inputAttributes),v==null?void 0:v.attributes),g=(v==null?void 0:v.disabled)||e.disabled,y=j=>{l&&l({name:n,event:j,checked:j.target.checked})};return i.jsxs("label",k(p({},h),{className:m,children:[i.jsx("input",k(p({type:"checkbox"},w),{className:mt.input,name:n,checked:r,defaultChecked:a,disabled:g,onChange:y,onFocus:u||(w==null?void 0:w.onFocus),onBlur:f||(w==null?void 0:w.onBlur),id:x})),i.jsx("span",{className:mt.area,"aria-hidden":"true",children:i.jsx("span",{className:mt.thumb})}),t&&i.jsx(Z,{variant:"body-3",weight:"medium",children:t})]}))},Gr=c.createContext({}),Ti=Gr.Provider,An=e=>{const r=c.useContext(Gr),{id:t}=r,n=Fe(r,["id"]);return k(p({},n),{panelId:e!==void 0?`${t}-tabs-panel-${e}`:void 0,buttonId:e!==void 0?`${t}-tabs-button-${e}`:void 0})},Xr=e=>{const{children:t,value:n,onChange:r,onSilentChange:o,itemWidth:s,variant:a,name:l,direction:u="row",size:f="medium"}=e,_=$e(),h=c.useRef(null),m=c.useRef(h.current),[v,x]=c.useState({scaleX:0,scaleY:0,left:0,top:0,status:"idle"}),w=g=>{g!==void 0&&o&&o({value:g,name:l})};return i.jsx(Ti,{value:{value:n,name:l,size:f,direction:u,itemWidth:s,variant:a,onChange:r,id:_,setDefaultValue:w,elActiveRef:h,elPrevActiveRef:m,selection:v,setSelection:x},children:t})},Ii=e=>{const{defaultValue:t,onChange:n}=e,[r,o]=c.useState(t),s=({value:l})=>{o(l),n&&n({value:l})},a=({value:l})=>{o(l)};return i.jsx(Xr,k(p({},e),{onChange:s,onSilentChange:a,value:r,defaultValue:void 0}))},ee={root:"_root_mz4y6_1",list:"_list_mz4y6_12",inner:"_inner_mz4y6_16",listItem:"_listItem_mz4y6_23",button:"_button_mz4y6_30",buttonContent:"_buttonContent_mz4y6_46",icon:"_icon_mz4y6_59",radio:"_radio_mz4y6_64","--item-active":"_--item-active_mz4y6_72",selector:"_selector_mz4y6_77","--selector-hidden":"_--selector-hidden_mz4y6_95","--selector-animated":"_--selector-animated_mz4y6_99",next:"_next_mz4y6_104",prev:"_prev_mz4y6_105",panel:"_panel_mz4y6_125","--panel-hidden":"_--panel-hidden_mz4y6_133","--direction-row":"_--direction-row_mz4y6_137","--direction-column":"_--direction-column_mz4y6_205",item:"_item_mz4y6_223","--variant-borderless":"_--variant-borderless_mz4y6_258","--variant-pills":"_--variant-pills_mz4y6_259","--variant-pills-elevated":"_--variant-pills-elevated_mz4y6_260","--size-medium":"_--size-medium_mz4y6_331","--size-large":"_--size-large_mz4y6_336","--item-width-equal":"_--item-width-equal_mz4y6_341","--cut-off-start":"_--cut-off-start_mz4y6_360","--cut-off-end":"_--cut-off-end_mz4y6_361","--cut-off-both":"_--cut-off-both_mz4y6_382"},Mi=(e,t)=>{const{value:n,children:r,icon:o,href:s,attributes:a}=e,{onChange:l,panelId:u,name:f,size:_,value:h,selection:m,elActiveRef:v,elPrevActiveRef:x}=An(n),w=c.useRef(null),g=h===n,y=g&&m.status==="idle",b=M(ee.item,y&&ee["--item-active"]),j=!!f,$={role:"tab",tabIndex:g?0:-1,"aria-selected":g},E=c.useCallback(()=>{if(!("current"in w))throw new Error("Reshaped, Tabs: TabItem is expecting an object ref format but received a function ref");x.current=v.current,v.current=w.current},[v,x]),z=()=>{s&&!l||(E(),l&&l({value:n,name:f}))};return c.useEffect(()=>{g&&E()},[g,E]),i.jsx("div",k(p({},a),{className:b,ref:w,role:"presentation",children:i.jsxs(Oe,{ref:t,href:s,insetFocus:!0,onClick:f?void 0:z,className:ee.button,as:f?"label":void 0,attributes:k(p({},!j&&$),{"aria-controls":u}),children:[f&&i.jsx(zn,{type:"radio",name:f,value:n,checked:y,onChange:z,className:ee.radio}),i.jsxs("span",{className:ee.buttonContent,children:[o&&i.jsx(de,{svg:o,className:ee.icon,size:4}),r&&i.jsx(Z,{variant:_==="large"?"body-2":"body-3",children:r})]})]})}))},Jr=c.forwardRef(Mi),Qr=(e,t)=>e===t||!e?null:e.classList.contains(ee.listItem)?e:Qr(e.parentElement,t),Si=e=>{const{children:t,className:n,attributes:r}=e,{value:o,setDefaultValue:s,itemWidth:a,variant:l,name:u,direction:f,size:_,selection:h,setSelection:m,elActiveRef:v,elPrevActiveRef:x}=An(),[w]=Ge(),g=c.useRef(null),[y,b]=c.useState(null),j=M(ee.root,_&&ee[`--size-${_}`],f&&ee[`--direction-${f}`],a&&ee[`--item-width-${a}`],l&&ee[`--variant-${l}`],y&&ee[`--cut-off-${y}`],n),$=M(ee.selector,h.status==="idle"&&ee["--selector-hidden"],h.status==="animated"&&ee["--selector-animated"]),E=()=>{g.current.scrollBy({left:Math.ceil(g.current.clientWidth/2)*(w?-1:1),behavior:"smooth"})},z=()=>{g.current.scrollBy({left:Math.ceil(g.current.clientWidth/2)*(w?1:-1),behavior:"smooth"})},P=()=>{m(S=>k(p({},S),{status:"idle"}))},I=c.useCallback(S=>{if(!g.current)return null;const A=Qr(S,g.current);return A?{scaleX:A.clientWidth,scaleY:A.clientHeight,top:A.offsetTop,left:A.offsetLeft}:null},[]),{ref:D}=nt({"ArrowLeft, ArrowUp":S=>{u||(S.preventDefault(),Ko(g.current))},"ArrowRight, ArrowDown":S=>{u||(S.preventDefault(),Uo(g.current))},Home:S=>{u||(S.preventDefault(),Yo(g.current))},End:S=>{u||(S.preventDefault(),Go(g.current))}});return le(()=>{if(o)return;const S=c.Children.toArray(t)[0];!S||S.type!==Jr||s(S.props.value)},[o]),le(()=>{if(!x.current||x.current===v.current)return;const S=I(x.current);S&&m(k(p({},S),{status:"prepared"}))},[o,I]),le(()=>{if(h.status!=="prepared"||!v.current)return;const S=I(v.current);S&&m(k(p({},S),{status:"animated"}))},[h]),le(()=>{const S=g.current;if(!S||f==="column")return;const A=()=>{S.clientWidth<S.scrollWidth||b(null);const L=S.scrollLeft*(w?-1:1),te=L>1,je=L+S.clientWidth<S.scrollWidth-1;if(je&&te)return b("both");if(te)return b("start");if(je)return b("end")},W=ho(A,100);return requestAnimationFrame(()=>{A()}),window.addEventListener("resize",W),S.addEventListener("scroll",W),()=>{window.removeEventListener("resize",W),S.removeEventListener("scroll",W)}},[w]),i.jsxs("div",k(p({},r),{className:j,children:[i.jsx("div",{className:ee.inner,ref:g,children:i.jsxs("div",{className:ee.list,role:"tablist",ref:D,children:[c.Children.map(t,(S,A)=>S?i.jsx("div",{className:ee.listItem,children:S},S.props.value||S.key||A):null),i.jsx("div",{onTransitionEnd:P,className:$,style:{"--rs-tab-selection-x":h.left,"--rs-tab-selection-y":h.top,"--rs-tab-selection-scale-x":h.scaleX,"--rs-tab-selection-scale-y":h.scaleY}})]})}),(y==="start"||y==="both")&&i.jsx("span",{className:ee.prev,children:i.jsx(we,{onClick:z,size:"small",icon:Pr,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})}),(y==="end"||y==="both")&&i.jsx("span",{className:ee.next,children:i.jsx(we,{onClick:E,size:"small",icon:Gt,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})})]}))},Pi=e=>{const{value:t,children:n}=e,{value:r,panelId:o,buttonId:s}=An(t),a=t===r,l=M(ee.panel,!a&&ee["--panel-hidden"]);return i.jsx("div",{className:l,tabIndex:0,role:"tabpanel",id:o,"aria-labelledby":s,children:a&&n})},tn=e=>{const{value:t}=e;return t!==void 0?i.jsx(Xr,p({},e)):i.jsx(Ii,p({},e))};tn.Item=Jr,tn.List=Si,tn.Panel=Pi;const ft={root:"_root_16y23_1",input:"_input_16y23_5","--size-medium":"_--size-medium_16y23_1","--size-large":"_--size-large_16y23_1","--size-xlarge":"_--size-xlarge_16y23_1","--variant-faded":"_--variant-faded_16y23_69","--variant-headless":"_--variant-headless_16y23_80","--status-error":"_--status-error_16y23_87","--size-medium--m":"_--size-medium--m_16y23_1","--size-large--m":"_--size-large--m_16y23_1","--size-xlarge--m":"_--size-xlarge--m_16y23_1","--size-medium--l":"_--size-medium--l_16y23_1","--size-large--l":"_--size-large--l_16y23_1","--size-xlarge--l":"_--size-xlarge--l_16y23_1","--size-medium--xl":"_--size-medium--xl_16y23_1","--size-large--xl":"_--size-large--xl_16y23_1","--size-xlarge--xl":"_--size-xlarge--xl_16y23_1"},Ai=e=>{var $,E;const{onChange:t,onFocus:n,onBlur:r,name:o,value:s,defaultValue:a,placeholder:l,size:u="medium",variant:f="outline",className:_,attributes:h}=e,m=Ye(),v=$e(e.id),x=(($=m==null?void 0:m.attributes)==null?void 0:$.id)||((E=e.inputAttributes)==null?void 0:E.id)||v,w=(m==null?void 0:m.disabled)||e.disabled,g=(m==null?void 0:m.hasError)||e.hasError,y=p(p({},e.inputAttributes),m==null?void 0:m.attributes),b=M(ft.root,u&&B(ft,"--size",u),g&&ft["--status-error"],w&&ft["--disabled"],f&&ft[`--variant-${f}`],_),j=z=>{t&&t({name:o,value:z.target.value,event:z})};return i.jsx("div",k(p({},h),{className:b,children:i.jsx("textarea",k(p({},y),{className:ft.input,rows:3,disabled:w,name:o,placeholder:l,value:s,defaultValue:a,onChange:j,onFocus:n||(y==null?void 0:y.onFocus),onBlur:r||(y==null?void 0:y.onBlur),id:x}))}))},Fn={item:"_item_gwbgg_1","item--full-width":"_item--full-width_gwbgg_1",marker:"_marker_gwbgg_36"},Ln=e=>{const{children:t,markerSlot:n,className:r,attributes:o}=e,s=n!==null,a=M(Fn.item,!s&&Fn["item--full-width"],r);return i.jsxs(U,{as:"li",direction:"row",align:"stretch",gap:3,attributes:o,className:a,children:[s&&i.jsx("span",{className:Fn.marker,children:n}),i.jsx(U.Item,{grow:!0,children:t})]})},Zr=e=>{const{children:t,className:n,attributes:r}=e,o=M(n);return i.jsx("ul",k(p({},r),{className:o,children:c.Children.map(t,(s,a)=>(s==null?void 0:s.type)===Ln?s:i.jsx(Ln,{children:s},a))}))};Zr.Item=Ln;const Fi={root:"_root_9090g_1"},Li=e=>{const{id:t,text:n,children:r,onOpen:o,onClose:s,position:a="bottom",active:l}=e;return i.jsxs(Xe,{id:t,active:l,position:a,onOpen:o,onClose:s,triggerType:"hover",children:[i.jsx(Xe.Trigger,{children:r}),i.jsx(Xe.Content,{children:i.jsx(lt,{colorMode:"inverted",children:i.jsx(Z,{variant:"caption-1",className:Fi.root,children:n})})})]})},ht={m:660,l:900,xl:1280},eo={s:`(max-width: ${ht.m-1}px)`,m:`(min-width: ${ht.m}px) and (max-width: ${ht.l-1}px)`,l:`(min-width: ${ht.l}px) and (max-width: ${ht.xl-1}px)`,xl:`(min-width: ${ht.xl}px)`},Oi=e=>{const{defaultViewport:t}=c.useContext(xn),[n,r]=c.useState(t);return le(()=>{const s=Object.keys(eo).map(a=>{const l=window.matchMedia(eo[a]);return{mq:l,handler:()=>l.matches&&r(a)}});return s.forEach(({handler:a,mq:l})=>{a(),l.addEventListener("change",a)}),()=>{s.forEach(({handler:a,mq:l})=>{l.removeEventListener("change",a)})}},[]),n==="xl"?e.xl||e.l||e.m||e.s:n==="l"?e.l||e.m||e.s:n==="m"&&e.m||e.s},Vi=e=>{const{w:t="auto",h:n=50,children:r}=e;return i.jsx("div",{style:{width:t,height:n,minWidth:n,padding:"var(--rs-unit-x2)",background:"rgba(var(--rs-color-rgb-background-neutral), 0.32)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--rs-unit-radius-small)"},children:r})};N.Accordion=_n,N.ActionBar=Fo,N.Actionable=Oe,N.Alert=Oo,N.Autocomplete=Er,N.Avatar=Is,N.Badge=Tr,N.Breadcrumbs=Sr,N.Button=we,N.Card=Ds,N.Carousel=qs,N.Checkbox=Ks,N.CheckboxGroup=Rs,N.Container=Gs,N.Dismissible=Xs,N.Divider=Yn,N.DropdownMenu=xe,N.FormControl=Ft,N.Hidden=ln,N.HiddenVisually=Qs,N.Hotkey=Zs,N.Icon=de,N.Image=ei,N.Link=Mr,N.Loader=Ir,N.MenuItem=$n,N.Modal=Mn,N.Overlay=Dr,N.Placeholder=Vi,N.Popover=ct,N.Progress=oi,N.Radio=li,N.RadioGroup=ai,N.Reshaped=xi,N.Scrim=yi,N.Select=ji,N.Skeleton=ki,N.Slider=Ei,N.Switch=zi,N.Tabs=tn,N.Text=Z,N.TextArea=Ai,N.TextField=or,N.Theme=lt,N.Timeline=Zr,N.Tooltip=Li,N.View=U,N.classNames=M,N.responsiveClassNames=B,N.responsivePropDependency=Le,N.useFormControl=Ye,N.useHotkeys=nt,N.useIsomorphicLayoutEffect=le,N.useRTL=Ge,N.useResponsiveClientValue=Oi,N.useScrollLock=Vr,N.useTheme=Cr,N.useToast=ci,N.useToggle=Tn,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
@@ -7,18 +7,25 @@ const GlobalColorMode = (props) => {
7
7
  const { defaultMode, children } = props;
8
8
  const [mode, setMode] = React.useState(defaultMode || "light");
9
9
  const changeColorMode = React.useCallback((targetMode) => {
10
- setMode((prevMode) => {
11
- // Avoid components styles animating when switching to another color mode
12
- if (prevMode !== targetMode)
13
- disableTransitions();
14
- return targetMode;
15
- });
10
+ // Avoid components styles animating when switching to another color mode
11
+ disableTransitions();
12
+ document.documentElement.setAttribute("data-rs-color-mode", targetMode);
13
+ setMode(targetMode);
16
14
  }, []);
17
15
  useIsomorphicLayoutEffect(() => {
18
16
  onNextFrame(() => {
19
17
  enableTransitions();
20
18
  });
21
19
  }, [mode]);
20
+ /**
21
+ * In case color mode was set in html but was not provided to the provider - hydrate the state
22
+ * This could happen if we're receiving the mode on the client but before React hydration
23
+ */
24
+ useIsomorphicLayoutEffect(() => {
25
+ const nextColorMode = document.documentElement.getAttribute("data-rs-color-mode");
26
+ if (nextColorMode)
27
+ changeColorMode(nextColorMode);
28
+ }, []);
22
29
  const value = React.useMemo(() => ({
23
30
  mode,
24
31
  setMode: changeColorMode,
@@ -7,6 +7,7 @@ import { useTheme, useGlobalColorMode } from "./useTheme.js";
7
7
  import s from "./Theme.module.css";
8
8
  const Theme = (props) => {
9
9
  const { name, defaultName, colorMode, children, className } = props;
10
+ const [mounted, setMounted] = React.useState(false);
10
11
  const [stateTheme, setStateTheme] = React.useState(defaultName);
11
12
  const globalColorMode = useGlobalColorMode();
12
13
  const parentTheme = useTheme();
@@ -19,14 +20,22 @@ const Theme = (props) => {
19
20
  const setTheme = (theme) => {
20
21
  setStateTheme(theme);
21
22
  };
23
+ useIsomorphicLayoutEffect(() => {
24
+ setMounted(true);
25
+ }, []);
22
26
  useIsomorphicLayoutEffect(() => {
23
27
  if (!document || !isRootProvider)
24
28
  return;
29
+ const hasColorModeApplied = document.documentElement.getAttribute("data-rs-color-mode");
25
30
  document.documentElement.setAttribute("data-rs-theme", usedTheme);
26
- document.documentElement.setAttribute("data-rs-color-mode", usedColorMode);
31
+ if (!hasColorModeApplied) {
32
+ document.documentElement.setAttribute("data-rs-color-mode", usedColorMode);
33
+ }
27
34
  return () => {
28
35
  document.documentElement.removeAttribute("data-rs-theme");
29
- document.documentElement.removeAttribute("data-rs-color-mode");
36
+ if (!hasColorModeApplied) {
37
+ document.documentElement.removeAttribute("data-rs-color-mode");
38
+ }
30
39
  };
31
40
  }, [usedTheme, usedColorMode, isRootProvider]);
32
41
  return (React.createElement(ThemeContext.Provider, { value: {
@@ -34,6 +43,6 @@ const Theme = (props) => {
34
43
  colorMode: usedColorMode,
35
44
  setTheme,
36
45
  } },
37
- React.createElement("div", { className: rootClassNames, "data-rs-theme": isRootProvider ? undefined : usedTheme, "data-rs-color-mode": isRootProvider ? undefined : usedColorMode }, children)));
46
+ React.createElement("div", { className: rootClassNames, "data-rs-theme": isRootProvider ? undefined : usedTheme, "data-rs-color-mode": isRootProvider || (!colorMode && !mounted) ? undefined : usedColorMode }, children)));
38
47
  };
39
48
  export default Theme;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "reshaped",
3
3
  "description": "Professionally crafted design system in React & Figma for building products of any scale and complexity",
4
- "version": "2.3.1",
4
+ "version": "2.3.2",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "email": "hello@reshaped.so",
7
7
  "homepage": "https://reshaped.so",
@@ -33,7 +33,7 @@ const variablesTemplate = (themeName, tokens) => {
33
33
  let code = "";
34
34
  Object.entries(filteredTokens).forEach(([type, tokens]) => {
35
35
  const selector = type === "root"
36
- ? `[data-rs-theme="${themeName}"][data-rs-color-mode="light"], [data-rs-theme="${themeName}"][data-rs-color-mode="dark"]`
36
+ ? `[data-rs-theme="${themeName}"]`
37
37
  : `[data-rs-theme="${themeName}"][data-rs-color-mode="${type}"]`;
38
38
  if (!tokens.length)
39
39
  return;
@@ -1 +1 @@
1
- [data-rs-theme=figma][data-rs-color-mode=dark],[data-rs-theme=figma][data-rs-color-mode=light]{--rs-font-family-title:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-family-body:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-weight-regular:400;--rs-font-weight-medium:500;--rs-font-weight-semibold:600;--rs-font-weight-bold:700;--rs-font-weight-heavy:800;--rs-font-weight-black:900;--rs-font-size-title-1:80px;--rs-line-height-title-1:84px;--rs-font-family-title-1:var(--rs-font-family-title);--rs-font-weight-title-1:var(--rs-font-weight-semibold);--rs-font-size-title-2:64px;--rs-line-height-title-2:68px;--rs-font-family-title-2:var(--rs-font-family-title);--rs-font-weight-title-2:var(--rs-font-weight-semibold);--rs-font-size-title-3:56px;--rs-line-height-title-3:60px;--rs-font-family-title-3:var(--rs-font-family-title);--rs-font-weight-title-3:var(--rs-font-weight-semibold);--rs-font-size-title-4:40px;--rs-line-height-title-4:44px;--rs-font-family-title-4:var(--rs-font-family-title);--rs-font-weight-title-4:var(--rs-font-weight-semibold);--rs-font-size-title-5:36px;--rs-line-height-title-5:40px;--rs-font-family-title-5:var(--rs-font-family-title);--rs-font-weight-title-5:var(--rs-font-weight-semibold);--rs-font-size-title-6:24px;--rs-line-height-title-6:28px;--rs-font-family-title-6:var(--rs-font-family-title);--rs-font-weight-title-6:var(--rs-font-weight-semibold);--rs-font-size-featured-1:22px;--rs-line-height-featured-1:28px;--rs-font-family-featured-1:var(--rs-font-family-body);--rs-font-size-featured-2:20px;--rs-line-height-featured-2:28px;--rs-font-family-featured-2:var(--rs-font-family-body);--rs-font-size-featured-3:18px;--rs-line-height-featured-3:24px;--rs-font-family-featured-3:var(--rs-font-family-body);--rs-font-size-body-1:14px;--rs-line-height-body-1:20px;--rs-font-family-body-1:var(--rs-font-family-body);--rs-font-size-body-2:13px;--rs-line-height-body-2:20px;--rs-font-family-body-2:var(--rs-font-family-body);--rs-font-size-body-3:11px;--rs-line-height-body-3:16px;--rs-font-family-body-3:var(--rs-font-family-body);--rs-font-size-caption-1:11px;--rs-line-height-caption-1:16px;--rs-font-family-caption-1:var(--rs-font-family-body);--rs-font-size-caption-2:10px;--rs-line-height-caption-2:12px;--rs-font-family-caption-2:var(--rs-font-family-body);--rs-unit-base:4px;--rs-unit-radius-small:4px;--rs-unit-radius-medium:4px;--rs-unit-radius-large:4px;--rs-unit-x1:4px;--rs-unit-x2:8px;--rs-unit-x3:12px;--rs-unit-x4:16px;--rs-unit-x5:20px;--rs-unit-x6:24px;--rs-unit-x7:28px;--rs-unit-x8:32px;--rs-unit-x9:36px;--rs-unit-x10:40px;--rs-color-black:#000;--rs-color-white:#fff;--rs-color-on-background-primary:#fff;--rs-color-on-background-positive:#fff;--rs-color-on-background-critical:#fff;--rs-color-rgb-black:0,0,0;--rs-color-rgb-white:255,255,255;--rs-duration-fast:200ms;--rs-duration-medium:300ms;--rs-duration-slow:400ms;--rs-easing-standard:cubic-bezier(0.4,0,0.2,1);--rs-easing-accelerate:cubic-bezier(0.4,0,1,1);--rs-easing-decelerate:cubic-bezier(0,0,0.2,1);--rs-shadow-raised:0px 1px 3px rgba(0,0,0,.15);--rs-shadow-overlay:0px 10px 24px rgba(0,0,0,.1),0px 2px 5px rgba(0,0,0,.04)}[data-rs-theme=figma][data-rs-color-mode=light]{--rs-color-foreground-neutral:#191919;--rs-color-foreground-neutral-faded:#474747;--rs-color-foreground-disabled:#b2b2b2;--rs-color-foreground-primary:#007be5;--rs-color-foreground-positive:#009951;--rs-color-foreground-critical:#dc3412;--rs-color-background-neutral:#dfe2ea;--rs-color-background-neutral-faded:#f5f5f5;--rs-color-background-neutral-highlighted:#d4d8e3;--rs-color-background-disabled:#e4e4e4;--rs-color-background-disabled-faded:#f5f5f5;--rs-color-background-primary:#0d99ff;--rs-color-background-primary-highlighted:#007be5;--rs-color-background-primary-faded:#e5f4ff;--rs-color-background-positive:#14ae5c;--rs-color-background-positive-faded:#daecdf;--rs-color-background-positive-highlighted:#009951;--rs-color-background-critical:#f24822;--rs-color-background-critical-faded:#ffe2e0;--rs-color-background-critical-highlighted:#dc3412;--rs-color-border-neutral:#e6e6e6;--rs-color-border-neutral-faded:#e6e6e6;--rs-color-border-disabled:#e6e6e6;--rs-color-border-primary:#007be5;--rs-color-border-primary-faded:#bde3ff;--rs-color-border-positive:#009951;--rs-color-border-positive-faded:#bbddc6;--rs-color-border-critical:#dc3412;--rs-color-border-critical-faded:#ffc7c2;--rs-color-background-page:#fff;--rs-color-background-page-faded:#fafafa;--rs-color-background-elevation-base:#fff;--rs-color-background-elevation-raised:#fff;--rs-color-background-elevation-overlay:#fff;--rs-color-on-background-neutral:#000;--rs-color-rgb-background-neutral:223,226,234;--rs-color-rgb-background-neutral-faded:245,245,245;--rs-color-rgb-background-neutral-highlighted:212,216,227;--rs-color-rgb-background-disabled:228,228,228;--rs-color-rgb-background-disabled-faded:245,245,245;--rs-color-rgb-background-primary:13,153,255;--rs-color-rgb-background-primary-highlighted:0,123,229;--rs-color-rgb-background-primary-faded:229,244,255;--rs-color-rgb-background-positive:20,174,92;--rs-color-rgb-background-positive-faded:218,236,223;--rs-color-rgb-background-positive-highlighted:0,153,81;--rs-color-rgb-background-critical:242,72,34;--rs-color-rgb-background-critical-faded:255,226,224;--rs-color-rgb-background-critical-highlighted:220,52,18;--rs-color-rgb-background-page:255,255,255;--rs-color-rgb-background-page-faded:250,250,250;--rs-color-rgb-background-elevation-base:255,255,255;--rs-color-rgb-background-elevation-raised:255,255,255;--rs-color-rgb-background-elevation-overlay:255,255,255}[data-rs-theme=figma][data-rs-color-mode=dark]{--rs-color-foreground-neutral:#fff;--rs-color-foreground-neutral-faded:#b2b2b2;--rs-color-foreground-disabled:#656565;--rs-color-foreground-primary:#7cc4f8;--rs-color-foreground-positive:#79d297;--rs-color-foreground-critical:#fca397;--rs-color-background-neutral:#444;--rs-color-background-neutral-faded:#383838;--rs-color-background-neutral-highlighted:#525252;--rs-color-background-disabled:#474747;--rs-color-background-disabled-faded:#3a3a3a;--rs-color-background-primary:#0c8ce9;--rs-color-background-primary-highlighted:#0a6dc2;--rs-color-background-primary-faded:#394360;--rs-color-background-positive:#198f51;--rs-color-background-positive-faded:#3d5749;--rs-color-background-positive-highlighted:#078348;--rs-color-background-critical:#e03e1a;--rs-color-background-critical-faded:#60332a;--rs-color-background-critical-highlighted:#c4381c;--rs-color-border-neutral:#444;--rs-color-border-neutral-faded:#444;--rs-color-border-disabled:#3e3e3e;--rs-color-border-primary:#7cc4f8;--rs-color-border-primary-faded:#2a4d72;--rs-color-border-positive:#79d297;--rs-color-border-positive-faded:#086338;--rs-color-border-critical:#fca397;--rs-color-border-critical-faded:#803226;--rs-color-background-page:#2c2c2c;--rs-color-background-page-faded:#1e1e1e;--rs-color-background-elevation-base:#2c2c2c;--rs-color-background-elevation-raised:#2c2c2c;--rs-color-background-elevation-overlay:#2c2c2c;--rs-color-on-background-neutral:#fff;--rs-color-rgb-background-neutral:68,68,68;--rs-color-rgb-background-neutral-faded:56,56,56;--rs-color-rgb-background-neutral-highlighted:82,82,82;--rs-color-rgb-background-disabled:71,71,71;--rs-color-rgb-background-disabled-faded:58,58,58;--rs-color-rgb-background-primary:12,140,233;--rs-color-rgb-background-primary-highlighted:10,109,194;--rs-color-rgb-background-primary-faded:57,67,96;--rs-color-rgb-background-positive:25,143,81;--rs-color-rgb-background-positive-faded:61,87,73;--rs-color-rgb-background-positive-highlighted:7,131,72;--rs-color-rgb-background-critical:224,62,26;--rs-color-rgb-background-critical-faded:96,51,42;--rs-color-rgb-background-critical-highlighted:196,56,28;--rs-color-rgb-background-page:44,44,44;--rs-color-rgb-background-page-faded:30,30,30;--rs-color-rgb-background-elevation-base:44,44,44;--rs-color-rgb-background-elevation-raised:44,44,44;--rs-color-rgb-background-elevation-overlay:44,44,44}
1
+ [data-rs-theme=figma]{--rs-font-family-title:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-family-body:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-weight-regular:400;--rs-font-weight-medium:500;--rs-font-weight-semibold:600;--rs-font-weight-bold:700;--rs-font-weight-heavy:800;--rs-font-weight-black:900;--rs-font-size-title-1:80px;--rs-line-height-title-1:84px;--rs-font-family-title-1:var(--rs-font-family-title);--rs-font-weight-title-1:var(--rs-font-weight-semibold);--rs-font-size-title-2:64px;--rs-line-height-title-2:68px;--rs-font-family-title-2:var(--rs-font-family-title);--rs-font-weight-title-2:var(--rs-font-weight-semibold);--rs-font-size-title-3:56px;--rs-line-height-title-3:60px;--rs-font-family-title-3:var(--rs-font-family-title);--rs-font-weight-title-3:var(--rs-font-weight-semibold);--rs-font-size-title-4:40px;--rs-line-height-title-4:44px;--rs-font-family-title-4:var(--rs-font-family-title);--rs-font-weight-title-4:var(--rs-font-weight-semibold);--rs-font-size-title-5:36px;--rs-line-height-title-5:40px;--rs-font-family-title-5:var(--rs-font-family-title);--rs-font-weight-title-5:var(--rs-font-weight-semibold);--rs-font-size-title-6:24px;--rs-line-height-title-6:28px;--rs-font-family-title-6:var(--rs-font-family-title);--rs-font-weight-title-6:var(--rs-font-weight-semibold);--rs-font-size-featured-1:22px;--rs-line-height-featured-1:28px;--rs-font-family-featured-1:var(--rs-font-family-body);--rs-font-size-featured-2:20px;--rs-line-height-featured-2:28px;--rs-font-family-featured-2:var(--rs-font-family-body);--rs-font-size-featured-3:18px;--rs-line-height-featured-3:24px;--rs-font-family-featured-3:var(--rs-font-family-body);--rs-font-size-body-1:14px;--rs-line-height-body-1:20px;--rs-font-family-body-1:var(--rs-font-family-body);--rs-font-size-body-2:13px;--rs-line-height-body-2:20px;--rs-font-family-body-2:var(--rs-font-family-body);--rs-font-size-body-3:11px;--rs-line-height-body-3:16px;--rs-font-family-body-3:var(--rs-font-family-body);--rs-font-size-caption-1:11px;--rs-line-height-caption-1:16px;--rs-font-family-caption-1:var(--rs-font-family-body);--rs-font-size-caption-2:10px;--rs-line-height-caption-2:12px;--rs-font-family-caption-2:var(--rs-font-family-body);--rs-unit-base:4px;--rs-unit-radius-small:4px;--rs-unit-radius-medium:4px;--rs-unit-radius-large:4px;--rs-unit-x1:4px;--rs-unit-x2:8px;--rs-unit-x3:12px;--rs-unit-x4:16px;--rs-unit-x5:20px;--rs-unit-x6:24px;--rs-unit-x7:28px;--rs-unit-x8:32px;--rs-unit-x9:36px;--rs-unit-x10:40px;--rs-color-black:#000;--rs-color-white:#fff;--rs-color-on-background-primary:#fff;--rs-color-on-background-positive:#fff;--rs-color-on-background-critical:#fff;--rs-color-rgb-black:0,0,0;--rs-color-rgb-white:255,255,255;--rs-duration-fast:200ms;--rs-duration-medium:300ms;--rs-duration-slow:400ms;--rs-easing-standard:cubic-bezier(0.4,0,0.2,1);--rs-easing-accelerate:cubic-bezier(0.4,0,1,1);--rs-easing-decelerate:cubic-bezier(0,0,0.2,1);--rs-shadow-raised:0px 1px 3px rgba(0,0,0,.15);--rs-shadow-overlay:0px 10px 24px rgba(0,0,0,.1),0px 2px 5px rgba(0,0,0,.04)}[data-rs-theme=figma][data-rs-color-mode=light]{--rs-color-foreground-neutral:#191919;--rs-color-foreground-neutral-faded:#474747;--rs-color-foreground-disabled:#b2b2b2;--rs-color-foreground-primary:#007be5;--rs-color-foreground-positive:#009951;--rs-color-foreground-critical:#dc3412;--rs-color-background-neutral:#dfe2ea;--rs-color-background-neutral-faded:#f5f5f5;--rs-color-background-neutral-highlighted:#d4d8e3;--rs-color-background-disabled:#e4e4e4;--rs-color-background-disabled-faded:#f5f5f5;--rs-color-background-primary:#0d99ff;--rs-color-background-primary-highlighted:#007be5;--rs-color-background-primary-faded:#e5f4ff;--rs-color-background-positive:#14ae5c;--rs-color-background-positive-faded:#daecdf;--rs-color-background-positive-highlighted:#009951;--rs-color-background-critical:#f24822;--rs-color-background-critical-faded:#ffe2e0;--rs-color-background-critical-highlighted:#dc3412;--rs-color-border-neutral:#e6e6e6;--rs-color-border-neutral-faded:#e6e6e6;--rs-color-border-disabled:#e6e6e6;--rs-color-border-primary:#007be5;--rs-color-border-primary-faded:#bde3ff;--rs-color-border-positive:#009951;--rs-color-border-positive-faded:#bbddc6;--rs-color-border-critical:#dc3412;--rs-color-border-critical-faded:#ffc7c2;--rs-color-background-page:#fff;--rs-color-background-page-faded:#fafafa;--rs-color-background-elevation-base:#fff;--rs-color-background-elevation-raised:#fff;--rs-color-background-elevation-overlay:#fff;--rs-color-on-background-neutral:#000;--rs-color-rgb-background-neutral:223,226,234;--rs-color-rgb-background-neutral-faded:245,245,245;--rs-color-rgb-background-neutral-highlighted:212,216,227;--rs-color-rgb-background-disabled:228,228,228;--rs-color-rgb-background-disabled-faded:245,245,245;--rs-color-rgb-background-primary:13,153,255;--rs-color-rgb-background-primary-highlighted:0,123,229;--rs-color-rgb-background-primary-faded:229,244,255;--rs-color-rgb-background-positive:20,174,92;--rs-color-rgb-background-positive-faded:218,236,223;--rs-color-rgb-background-positive-highlighted:0,153,81;--rs-color-rgb-background-critical:242,72,34;--rs-color-rgb-background-critical-faded:255,226,224;--rs-color-rgb-background-critical-highlighted:220,52,18;--rs-color-rgb-background-page:255,255,255;--rs-color-rgb-background-page-faded:250,250,250;--rs-color-rgb-background-elevation-base:255,255,255;--rs-color-rgb-background-elevation-raised:255,255,255;--rs-color-rgb-background-elevation-overlay:255,255,255}[data-rs-theme=figma][data-rs-color-mode=dark]{--rs-color-foreground-neutral:#fff;--rs-color-foreground-neutral-faded:#b2b2b2;--rs-color-foreground-disabled:#656565;--rs-color-foreground-primary:#7cc4f8;--rs-color-foreground-positive:#79d297;--rs-color-foreground-critical:#fca397;--rs-color-background-neutral:#444;--rs-color-background-neutral-faded:#383838;--rs-color-background-neutral-highlighted:#525252;--rs-color-background-disabled:#474747;--rs-color-background-disabled-faded:#3a3a3a;--rs-color-background-primary:#0c8ce9;--rs-color-background-primary-highlighted:#0a6dc2;--rs-color-background-primary-faded:#394360;--rs-color-background-positive:#198f51;--rs-color-background-positive-faded:#3d5749;--rs-color-background-positive-highlighted:#078348;--rs-color-background-critical:#e03e1a;--rs-color-background-critical-faded:#60332a;--rs-color-background-critical-highlighted:#c4381c;--rs-color-border-neutral:#444;--rs-color-border-neutral-faded:#444;--rs-color-border-disabled:#3e3e3e;--rs-color-border-primary:#7cc4f8;--rs-color-border-primary-faded:#2a4d72;--rs-color-border-positive:#79d297;--rs-color-border-positive-faded:#086338;--rs-color-border-critical:#fca397;--rs-color-border-critical-faded:#803226;--rs-color-background-page:#2c2c2c;--rs-color-background-page-faded:#1e1e1e;--rs-color-background-elevation-base:#2c2c2c;--rs-color-background-elevation-raised:#2c2c2c;--rs-color-background-elevation-overlay:#2c2c2c;--rs-color-on-background-neutral:#fff;--rs-color-rgb-background-neutral:68,68,68;--rs-color-rgb-background-neutral-faded:56,56,56;--rs-color-rgb-background-neutral-highlighted:82,82,82;--rs-color-rgb-background-disabled:71,71,71;--rs-color-rgb-background-disabled-faded:58,58,58;--rs-color-rgb-background-primary:12,140,233;--rs-color-rgb-background-primary-highlighted:10,109,194;--rs-color-rgb-background-primary-faded:57,67,96;--rs-color-rgb-background-positive:25,143,81;--rs-color-rgb-background-positive-faded:61,87,73;--rs-color-rgb-background-positive-highlighted:7,131,72;--rs-color-rgb-background-critical:224,62,26;--rs-color-rgb-background-critical-faded:96,51,42;--rs-color-rgb-background-critical-highlighted:196,56,28;--rs-color-rgb-background-page:44,44,44;--rs-color-rgb-background-page-faded:30,30,30;--rs-color-rgb-background-elevation-base:44,44,44;--rs-color-rgb-background-elevation-raised:44,44,44;--rs-color-rgb-background-elevation-overlay:44,44,44}
@@ -1 +1 @@
1
- [data-rs-theme=twitter][data-rs-color-mode=dark],[data-rs-theme=twitter][data-rs-color-mode=light]{--rs-color-background-primary:#1da1f2;--rs-color-background-primary-highlighted:#1a90da;--rs-color-on-background-primary:#fff;--rs-color-rgb-background-primary:29,161,242;--rs-color-rgb-background-primary-highlighted:26,144,218}
1
+ [data-rs-theme=twitter]{--rs-color-background-primary:#1da1f2;--rs-color-background-primary-highlighted:#1a90da;--rs-color-on-background-primary:#fff;--rs-color-rgb-background-primary:29,161,242;--rs-color-rgb-background-primary-highlighted:26,144,218}
@@ -1 +1 @@
1
- [data-rs-theme=reshaped][data-rs-color-mode=dark],[data-rs-theme=reshaped][data-rs-color-mode=light]{--rs-font-family-title:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-family-body:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-weight-regular:400;--rs-font-weight-medium:500;--rs-font-weight-semibold:600;--rs-font-weight-bold:700;--rs-font-weight-heavy:800;--rs-font-weight-black:900;--rs-font-size-title-1:96px;--rs-line-height-title-1:100px;--rs-font-family-title-1:var(--rs-font-family-title);--rs-font-weight-title-1:var(--rs-font-weight-heavy);--rs-font-size-title-2:80px;--rs-line-height-title-2:84px;--rs-font-family-title-2:var(--rs-font-family-title);--rs-font-weight-title-2:var(--rs-font-weight-heavy);--rs-font-size-title-3:64px;--rs-line-height-title-3:68px;--rs-font-family-title-3:var(--rs-font-family-title);--rs-font-weight-title-3:var(--rs-font-weight-heavy);--rs-font-size-title-4:56px;--rs-line-height-title-4:60px;--rs-font-family-title-4:var(--rs-font-family-title);--rs-font-weight-title-4:var(--rs-font-weight-bold);--rs-font-size-title-5:48px;--rs-line-height-title-5:52px;--rs-font-family-title-5:var(--rs-font-family-title);--rs-font-weight-title-5:var(--rs-font-weight-bold);--rs-font-size-title-6:36px;--rs-line-height-title-6:40px;--rs-font-family-title-6:var(--rs-font-family-title);--rs-font-weight-title-6:var(--rs-font-weight-bold);--rs-font-size-featured-1:32px;--rs-line-height-featured-1:40px;--rs-font-family-featured-1:var(--rs-font-family-body);--rs-font-size-featured-2:24px;--rs-line-height-featured-2:32px;--rs-font-family-featured-2:var(--rs-font-family-body);--rs-font-size-featured-3:20px;--rs-line-height-featured-3:28px;--rs-font-family-featured-3:var(--rs-font-family-body);--rs-font-size-body-1:18px;--rs-line-height-body-1:28px;--rs-font-family-body-1:var(--rs-font-family-body);--rs-font-size-body-2:16px;--rs-line-height-body-2:24px;--rs-font-family-body-2:var(--rs-font-family-body);--rs-font-size-body-3:14px;--rs-line-height-body-3:20px;--rs-font-family-body-3:var(--rs-font-family-body);--rs-font-size-caption-1:12px;--rs-line-height-caption-1:16px;--rs-font-family-caption-1:var(--rs-font-family-body);--rs-font-size-caption-2:10px;--rs-line-height-caption-2:12px;--rs-font-family-caption-2:var(--rs-font-family-body);--rs-unit-base:4px;--rs-unit-radius-small:4px;--rs-unit-radius-medium:8px;--rs-unit-radius-large:12px;--rs-unit-x1:4px;--rs-unit-x2:8px;--rs-unit-x3:12px;--rs-unit-x4:16px;--rs-unit-x5:20px;--rs-unit-x6:24px;--rs-unit-x7:28px;--rs-unit-x8:32px;--rs-unit-x9:36px;--rs-unit-x10:40px;--rs-color-black:#000;--rs-color-white:#fff;--rs-color-on-background-primary:#fff;--rs-color-on-background-positive:#fff;--rs-color-on-background-critical:#fff;--rs-color-rgb-black:0,0,0;--rs-color-rgb-white:255,255,255;--rs-duration-fast:200ms;--rs-duration-medium:300ms;--rs-duration-slow:400ms;--rs-easing-standard:cubic-bezier(0.4,0,0.2,1);--rs-easing-accelerate:cubic-bezier(0.4,0,1,1);--rs-easing-decelerate:cubic-bezier(0,0,0.2,1);--rs-shadow-raised:0px 2px 3px rgba(0,0,0,.1),0px 1px 2px -1px rgba(0,0,0,.1);--rs-shadow-overlay:0px 5px 10px rgba(0,0,0,.05),0px 15px 25px rgba(0,0,0,.07)}[data-rs-theme=reshaped][data-rs-color-mode=light]{--rs-color-foreground-neutral:#14171f;--rs-color-foreground-neutral-faded:#4d5874;--rs-color-foreground-disabled:#c7cddb;--rs-color-foreground-primary:#4d4be7;--rs-color-foreground-positive:#05751f;--rs-color-foreground-critical:#cb101d;--rs-color-background-neutral:#dfe2ea;--rs-color-background-neutral-faded:#f3f4f6;--rs-color-background-neutral-highlighted:#d4d8e3;--rs-color-background-disabled:#eceef3;--rs-color-background-disabled-faded:#f4f5f7;--rs-color-background-primary:#5a58f2;--rs-color-background-primary-highlighted:#6d6bf5;--rs-color-background-primary-faded:#edecfd;--rs-color-background-positive:#118850;--rs-color-background-positive-faded:#ebfef6;--rs-color-background-positive-highlighted:#009950;--rs-color-background-critical:#e22c2c;--rs-color-background-critical-faded:#fef1f2;--rs-color-background-critical-highlighted:#eb4747;--rs-color-border-neutral:#bbc1d3;--rs-color-border-neutral-faded:#dfe2ea;--rs-color-border-disabled:#dfe2ea;--rs-color-border-primary:#4d4be7;--rs-color-border-primary-faded:#d7d5fb;--rs-color-border-positive:#05751f;--rs-color-border-positive-faded:#cdedd5;--rs-color-border-critical:#cb101d;--rs-color-border-critical-faded:#fbd5d8;--rs-color-background-page:#fff;--rs-color-background-page-faded:#fafafa;--rs-color-background-elevation-base:#fff;--rs-color-background-elevation-raised:#fff;--rs-color-background-elevation-overlay:#fff;--rs-color-on-background-neutral:#000;--rs-color-rgb-background-neutral:223,226,234;--rs-color-rgb-background-neutral-faded:243,244,246;--rs-color-rgb-background-neutral-highlighted:212,216,227;--rs-color-rgb-background-disabled:236,238,243;--rs-color-rgb-background-disabled-faded:244,245,247;--rs-color-rgb-background-primary:90,88,242;--rs-color-rgb-background-primary-highlighted:109,107,245;--rs-color-rgb-background-primary-faded:237,236,253;--rs-color-rgb-background-positive:17,136,80;--rs-color-rgb-background-positive-faded:235,254,246;--rs-color-rgb-background-positive-highlighted:0,153,80;--rs-color-rgb-background-critical:226,44,44;--rs-color-rgb-background-critical-faded:254,241,242;--rs-color-rgb-background-critical-highlighted:235,71,71;--rs-color-rgb-background-page:255,255,255;--rs-color-rgb-background-page-faded:250,250,250;--rs-color-rgb-background-elevation-base:255,255,255;--rs-color-rgb-background-elevation-raised:255,255,255;--rs-color-rgb-background-elevation-overlay:255,255,255}[data-rs-theme=reshaped][data-rs-color-mode=dark]{--rs-color-foreground-neutral:#eff0f1;--rs-color-foreground-neutral-faded:#c2c8d6;--rs-color-foreground-disabled:#404a63;--rs-color-foreground-primary:#9d9cf7;--rs-color-foreground-positive:#03ab5f;--rs-color-foreground-critical:#eb6666;--rs-color-background-neutral:#384056;--rs-color-background-neutral-faded:#242838;--rs-color-background-neutral-highlighted:#404a63;--rs-color-background-disabled:#1c202b;--rs-color-background-disabled-faded:#161922;--rs-color-background-primary:#5250f2;--rs-color-background-primary-highlighted:#5f5df4;--rs-color-background-primary-faded:#24254c;--rs-color-background-positive:#06743f;--rs-color-background-positive-faded:#0f2921;--rs-color-background-positive-highlighted:#008545;--rs-color-background-critical:#ab1717;--rs-color-background-critical-faded:#2f1e1f;--rs-color-background-critical-highlighted:#c11515;--rs-color-border-neutral:#49536f;--rs-color-border-neutral-faded:#313649;--rs-color-border-disabled:#242938;--rs-color-border-primary:#7d7bf4;--rs-color-border-primary-faded:#2e3160;--rs-color-border-positive:#03a059;--rs-color-border-positive-faded:#163c30;--rs-color-border-critical:#e95454;--rs-color-border-critical-faded:#412a2b;--rs-color-background-page:#0d1117;--rs-color-background-page-faded:#0f131a;--rs-color-background-elevation-base:#14181f;--rs-color-background-elevation-raised:#181d25;--rs-color-background-elevation-overlay:#1c212b;--rs-color-on-background-neutral:#fff;--rs-color-rgb-background-neutral:56,64,86;--rs-color-rgb-background-neutral-faded:36,40,56;--rs-color-rgb-background-neutral-highlighted:64,74,99;--rs-color-rgb-background-disabled:28,32,43;--rs-color-rgb-background-disabled-faded:22,25,34;--rs-color-rgb-background-primary:82,80,242;--rs-color-rgb-background-primary-highlighted:95,93,244;--rs-color-rgb-background-primary-faded:36,37,76;--rs-color-rgb-background-positive:6,116,63;--rs-color-rgb-background-positive-faded:15,41,33;--rs-color-rgb-background-positive-highlighted:0,133,69;--rs-color-rgb-background-critical:171,23,23;--rs-color-rgb-background-critical-faded:47,30,31;--rs-color-rgb-background-critical-highlighted:193,21,21;--rs-color-rgb-background-page:13,17,23;--rs-color-rgb-background-page-faded:15,19,26;--rs-color-rgb-background-elevation-base:20,24,31;--rs-color-rgb-background-elevation-raised:24,29,37;--rs-color-rgb-background-elevation-overlay:28,33,43}
1
+ [data-rs-theme=reshaped]{--rs-font-family-title:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-family-body:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-weight-regular:400;--rs-font-weight-medium:500;--rs-font-weight-semibold:600;--rs-font-weight-bold:700;--rs-font-weight-heavy:800;--rs-font-weight-black:900;--rs-font-size-title-1:96px;--rs-line-height-title-1:100px;--rs-font-family-title-1:var(--rs-font-family-title);--rs-font-weight-title-1:var(--rs-font-weight-heavy);--rs-font-size-title-2:80px;--rs-line-height-title-2:84px;--rs-font-family-title-2:var(--rs-font-family-title);--rs-font-weight-title-2:var(--rs-font-weight-heavy);--rs-font-size-title-3:64px;--rs-line-height-title-3:68px;--rs-font-family-title-3:var(--rs-font-family-title);--rs-font-weight-title-3:var(--rs-font-weight-heavy);--rs-font-size-title-4:56px;--rs-line-height-title-4:60px;--rs-font-family-title-4:var(--rs-font-family-title);--rs-font-weight-title-4:var(--rs-font-weight-bold);--rs-font-size-title-5:48px;--rs-line-height-title-5:52px;--rs-font-family-title-5:var(--rs-font-family-title);--rs-font-weight-title-5:var(--rs-font-weight-bold);--rs-font-size-title-6:36px;--rs-line-height-title-6:40px;--rs-font-family-title-6:var(--rs-font-family-title);--rs-font-weight-title-6:var(--rs-font-weight-bold);--rs-font-size-featured-1:32px;--rs-line-height-featured-1:40px;--rs-font-family-featured-1:var(--rs-font-family-body);--rs-font-size-featured-2:24px;--rs-line-height-featured-2:32px;--rs-font-family-featured-2:var(--rs-font-family-body);--rs-font-size-featured-3:20px;--rs-line-height-featured-3:28px;--rs-font-family-featured-3:var(--rs-font-family-body);--rs-font-size-body-1:18px;--rs-line-height-body-1:28px;--rs-font-family-body-1:var(--rs-font-family-body);--rs-font-size-body-2:16px;--rs-line-height-body-2:24px;--rs-font-family-body-2:var(--rs-font-family-body);--rs-font-size-body-3:14px;--rs-line-height-body-3:20px;--rs-font-family-body-3:var(--rs-font-family-body);--rs-font-size-caption-1:12px;--rs-line-height-caption-1:16px;--rs-font-family-caption-1:var(--rs-font-family-body);--rs-font-size-caption-2:10px;--rs-line-height-caption-2:12px;--rs-font-family-caption-2:var(--rs-font-family-body);--rs-unit-base:4px;--rs-unit-radius-small:4px;--rs-unit-radius-medium:8px;--rs-unit-radius-large:12px;--rs-unit-x1:4px;--rs-unit-x2:8px;--rs-unit-x3:12px;--rs-unit-x4:16px;--rs-unit-x5:20px;--rs-unit-x6:24px;--rs-unit-x7:28px;--rs-unit-x8:32px;--rs-unit-x9:36px;--rs-unit-x10:40px;--rs-color-black:#000;--rs-color-white:#fff;--rs-color-on-background-primary:#fff;--rs-color-on-background-positive:#fff;--rs-color-on-background-critical:#fff;--rs-color-rgb-black:0,0,0;--rs-color-rgb-white:255,255,255;--rs-duration-fast:200ms;--rs-duration-medium:300ms;--rs-duration-slow:400ms;--rs-easing-standard:cubic-bezier(0.4,0,0.2,1);--rs-easing-accelerate:cubic-bezier(0.4,0,1,1);--rs-easing-decelerate:cubic-bezier(0,0,0.2,1);--rs-shadow-raised:0px 2px 3px rgba(0,0,0,.1),0px 1px 2px -1px rgba(0,0,0,.1);--rs-shadow-overlay:0px 5px 10px rgba(0,0,0,.05),0px 15px 25px rgba(0,0,0,.07)}[data-rs-theme=reshaped][data-rs-color-mode=light]{--rs-color-foreground-neutral:#14171f;--rs-color-foreground-neutral-faded:#4d5874;--rs-color-foreground-disabled:#c7cddb;--rs-color-foreground-primary:#4d4be7;--rs-color-foreground-positive:#05751f;--rs-color-foreground-critical:#cb101d;--rs-color-background-neutral:#dfe2ea;--rs-color-background-neutral-faded:#f3f4f6;--rs-color-background-neutral-highlighted:#d4d8e3;--rs-color-background-disabled:#eceef3;--rs-color-background-disabled-faded:#f4f5f7;--rs-color-background-primary:#5a58f2;--rs-color-background-primary-highlighted:#6d6bf5;--rs-color-background-primary-faded:#edecfd;--rs-color-background-positive:#118850;--rs-color-background-positive-faded:#ebfef6;--rs-color-background-positive-highlighted:#009950;--rs-color-background-critical:#e22c2c;--rs-color-background-critical-faded:#fef1f2;--rs-color-background-critical-highlighted:#eb4747;--rs-color-border-neutral:#bbc1d3;--rs-color-border-neutral-faded:#dfe2ea;--rs-color-border-disabled:#dfe2ea;--rs-color-border-primary:#4d4be7;--rs-color-border-primary-faded:#d7d5fb;--rs-color-border-positive:#05751f;--rs-color-border-positive-faded:#cdedd5;--rs-color-border-critical:#cb101d;--rs-color-border-critical-faded:#fbd5d8;--rs-color-background-page:#fff;--rs-color-background-page-faded:#fafafa;--rs-color-background-elevation-base:#fff;--rs-color-background-elevation-raised:#fff;--rs-color-background-elevation-overlay:#fff;--rs-color-on-background-neutral:#000;--rs-color-rgb-background-neutral:223,226,234;--rs-color-rgb-background-neutral-faded:243,244,246;--rs-color-rgb-background-neutral-highlighted:212,216,227;--rs-color-rgb-background-disabled:236,238,243;--rs-color-rgb-background-disabled-faded:244,245,247;--rs-color-rgb-background-primary:90,88,242;--rs-color-rgb-background-primary-highlighted:109,107,245;--rs-color-rgb-background-primary-faded:237,236,253;--rs-color-rgb-background-positive:17,136,80;--rs-color-rgb-background-positive-faded:235,254,246;--rs-color-rgb-background-positive-highlighted:0,153,80;--rs-color-rgb-background-critical:226,44,44;--rs-color-rgb-background-critical-faded:254,241,242;--rs-color-rgb-background-critical-highlighted:235,71,71;--rs-color-rgb-background-page:255,255,255;--rs-color-rgb-background-page-faded:250,250,250;--rs-color-rgb-background-elevation-base:255,255,255;--rs-color-rgb-background-elevation-raised:255,255,255;--rs-color-rgb-background-elevation-overlay:255,255,255}[data-rs-theme=reshaped][data-rs-color-mode=dark]{--rs-color-foreground-neutral:#eff0f1;--rs-color-foreground-neutral-faded:#c2c8d6;--rs-color-foreground-disabled:#404a63;--rs-color-foreground-primary:#9d9cf7;--rs-color-foreground-positive:#03ab5f;--rs-color-foreground-critical:#eb6666;--rs-color-background-neutral:#384056;--rs-color-background-neutral-faded:#242838;--rs-color-background-neutral-highlighted:#404a63;--rs-color-background-disabled:#1c202b;--rs-color-background-disabled-faded:#161922;--rs-color-background-primary:#5250f2;--rs-color-background-primary-highlighted:#5f5df4;--rs-color-background-primary-faded:#24254c;--rs-color-background-positive:#06743f;--rs-color-background-positive-faded:#0f2921;--rs-color-background-positive-highlighted:#008545;--rs-color-background-critical:#ab1717;--rs-color-background-critical-faded:#2f1e1f;--rs-color-background-critical-highlighted:#c11515;--rs-color-border-neutral:#49536f;--rs-color-border-neutral-faded:#313649;--rs-color-border-disabled:#242938;--rs-color-border-primary:#7d7bf4;--rs-color-border-primary-faded:#2e3160;--rs-color-border-positive:#03a059;--rs-color-border-positive-faded:#163c30;--rs-color-border-critical:#e95454;--rs-color-border-critical-faded:#412a2b;--rs-color-background-page:#0d1117;--rs-color-background-page-faded:#0f131a;--rs-color-background-elevation-base:#14181f;--rs-color-background-elevation-raised:#181d25;--rs-color-background-elevation-overlay:#1c212b;--rs-color-on-background-neutral:#fff;--rs-color-rgb-background-neutral:56,64,86;--rs-color-rgb-background-neutral-faded:36,40,56;--rs-color-rgb-background-neutral-highlighted:64,74,99;--rs-color-rgb-background-disabled:28,32,43;--rs-color-rgb-background-disabled-faded:22,25,34;--rs-color-rgb-background-primary:82,80,242;--rs-color-rgb-background-primary-highlighted:95,93,244;--rs-color-rgb-background-primary-faded:36,37,76;--rs-color-rgb-background-positive:6,116,63;--rs-color-rgb-background-positive-faded:15,41,33;--rs-color-rgb-background-positive-highlighted:0,133,69;--rs-color-rgb-background-critical:171,23,23;--rs-color-rgb-background-critical-faded:47,30,31;--rs-color-rgb-background-critical-highlighted:193,21,21;--rs-color-rgb-background-page:13,17,23;--rs-color-rgb-background-page-faded:15,19,26;--rs-color-rgb-background-elevation-base:20,24,31;--rs-color-rgb-background-elevation-raised:24,29,37;--rs-color-rgb-background-elevation-overlay:28,33,43}
@@ -1 +1 @@
1
- [data-rs-theme=slate][data-rs-color-mode=dark],[data-rs-theme=slate][data-rs-color-mode=light]{--rs-font-family-title:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-family-body:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-weight-regular:400;--rs-font-weight-medium:500;--rs-font-weight-semibold:600;--rs-font-weight-bold:700;--rs-font-weight-heavy:800;--rs-font-weight-black:900;--rs-font-size-title-1:96px;--rs-line-height-title-1:100px;--rs-font-family-title-1:var(--rs-font-family-title);--rs-font-weight-title-1:var(--rs-font-weight-heavy);--rs-font-size-title-2:80px;--rs-line-height-title-2:84px;--rs-font-family-title-2:var(--rs-font-family-title);--rs-font-weight-title-2:var(--rs-font-weight-heavy);--rs-font-size-title-3:64px;--rs-line-height-title-3:68px;--rs-font-family-title-3:var(--rs-font-family-title);--rs-font-weight-title-3:var(--rs-font-weight-heavy);--rs-font-size-title-4:56px;--rs-line-height-title-4:60px;--rs-font-family-title-4:var(--rs-font-family-title);--rs-font-weight-title-4:var(--rs-font-weight-bold);--rs-font-size-title-5:48px;--rs-line-height-title-5:52px;--rs-font-family-title-5:var(--rs-font-family-title);--rs-font-weight-title-5:var(--rs-font-weight-bold);--rs-font-size-title-6:36px;--rs-line-height-title-6:40px;--rs-font-family-title-6:var(--rs-font-family-title);--rs-font-weight-title-6:var(--rs-font-weight-bold);--rs-font-size-featured-1:32px;--rs-line-height-featured-1:40px;--rs-font-family-featured-1:var(--rs-font-family-body);--rs-font-size-featured-2:24px;--rs-line-height-featured-2:32px;--rs-font-family-featured-2:var(--rs-font-family-body);--rs-font-size-featured-3:20px;--rs-line-height-featured-3:28px;--rs-font-family-featured-3:var(--rs-font-family-body);--rs-font-size-body-1:18px;--rs-line-height-body-1:28px;--rs-font-family-body-1:var(--rs-font-family-body);--rs-font-size-body-2:16px;--rs-line-height-body-2:24px;--rs-font-family-body-2:var(--rs-font-family-body);--rs-font-size-body-3:14px;--rs-line-height-body-3:20px;--rs-font-family-body-3:var(--rs-font-family-body);--rs-font-size-caption-1:12px;--rs-line-height-caption-1:16px;--rs-font-family-caption-1:var(--rs-font-family-body);--rs-font-size-caption-2:10px;--rs-line-height-caption-2:12px;--rs-font-family-caption-2:var(--rs-font-family-body);--rs-unit-base:4px;--rs-unit-radius-small:2px;--rs-unit-radius-medium:4px;--rs-unit-radius-large:6px;--rs-unit-x1:4px;--rs-unit-x2:8px;--rs-unit-x3:12px;--rs-unit-x4:16px;--rs-unit-x5:20px;--rs-unit-x6:24px;--rs-unit-x7:28px;--rs-unit-x8:32px;--rs-unit-x9:36px;--rs-unit-x10:40px;--rs-color-black:#000;--rs-color-white:#fff;--rs-color-on-background-primary:#fff;--rs-color-on-background-positive:#fff;--rs-color-on-background-critical:#fff;--rs-color-rgb-black:0,0,0;--rs-color-rgb-white:255,255,255;--rs-duration-fast:200ms;--rs-duration-medium:300ms;--rs-duration-slow:400ms;--rs-easing-standard:cubic-bezier(0.4,0,0.2,1);--rs-easing-accelerate:cubic-bezier(0.4,0,1,1);--rs-easing-decelerate:cubic-bezier(0,0,0.2,1);--rs-shadow-raised:0px 2px 3px rgba(0,0,0,.1),0px 1px 2px -1px rgba(0,0,0,.1);--rs-shadow-overlay:0px 5px 10px rgba(0,0,0,.05),0px 15px 25px rgba(0,0,0,.07)}[data-rs-theme=slate][data-rs-color-mode=light]{--rs-color-foreground-neutral:#161a26;--rs-color-foreground-neutral-faded:#717787;--rs-color-foreground-disabled:#d4d0d0;--rs-color-foreground-primary:#2383e2;--rs-color-foreground-positive:#05751f;--rs-color-foreground-critical:#cb101d;--rs-color-background-neutral:#e3e3e5;--rs-color-background-neutral-faded:#f2f3f5;--rs-color-background-neutral-highlighted:#dedee1;--rs-color-background-disabled:#eceef3;--rs-color-background-disabled-faded:#f4f5f7;--rs-color-background-primary:#2383e2;--rs-color-background-primary-highlighted:#3273cc;--rs-color-background-primary-faded:#e5f4fb;--rs-color-background-positive:#118850;--rs-color-background-positive-faded:#ebfef6;--rs-color-background-positive-highlighted:#009950;--rs-color-background-critical:#e22c2c;--rs-color-background-critical-faded:#fef1f2;--rs-color-background-critical-highlighted:#eb4747;--rs-color-border-neutral:#d2d2d2;--rs-color-border-neutral-faded:#e2e2e2;--rs-color-border-disabled:#e2e2e2;--rs-color-border-primary:#3d76c7;--rs-color-border-primary-faded:#c6d9f4;--rs-color-border-positive:#05751f;--rs-color-border-positive-faded:#cdedd5;--rs-color-border-critical:#cb101d;--rs-color-border-critical-faded:#fbd5d8;--rs-color-background-page:#fff;--rs-color-background-page-faded:#f7f7f5;--rs-color-background-elevation-base:#fff;--rs-color-background-elevation-raised:#fff;--rs-color-background-elevation-overlay:#fff;--rs-color-on-background-neutral:#000;--rs-color-rgb-background-neutral:227,227,229;--rs-color-rgb-background-neutral-faded:242,243,245;--rs-color-rgb-background-neutral-highlighted:222,222,225;--rs-color-rgb-background-disabled:236,238,243;--rs-color-rgb-background-disabled-faded:244,245,247;--rs-color-rgb-background-primary:35,131,226;--rs-color-rgb-background-primary-highlighted:50,115,204;--rs-color-rgb-background-primary-faded:229,244,251;--rs-color-rgb-background-positive:17,136,80;--rs-color-rgb-background-positive-faded:235,254,246;--rs-color-rgb-background-positive-highlighted:0,153,80;--rs-color-rgb-background-critical:226,44,44;--rs-color-rgb-background-critical-faded:254,241,242;--rs-color-rgb-background-critical-highlighted:235,71,71;--rs-color-rgb-background-page:255,255,255;--rs-color-rgb-background-page-faded:247,247,245;--rs-color-rgb-background-elevation-base:255,255,255;--rs-color-rgb-background-elevation-raised:255,255,255;--rs-color-rgb-background-elevation-overlay:255,255,255}[data-rs-theme=slate][data-rs-color-mode=dark]{--rs-color-foreground-neutral:#f2f3f5;--rs-color-foreground-neutral-faded:#9f9e9e;--rs-color-foreground-disabled:#656565;--rs-color-foreground-primary:#5098ff;--rs-color-foreground-positive:#03ab5f;--rs-color-foreground-critical:#eb6666;--rs-color-background-neutral:#4f5155;--rs-color-background-neutral-faded:#34363f;--rs-color-background-neutral-highlighted:#595c60;--rs-color-background-disabled:#313131;--rs-color-background-disabled-faded:#262626;--rs-color-background-primary:#4281db;--rs-color-background-primary-highlighted:#3273cc;--rs-color-background-primary-faded:#1e2c45;--rs-color-background-positive:#06743f;--rs-color-background-positive-faded:#0f2921;--rs-color-background-positive-highlighted:#008545;--rs-color-background-critical:#ab1717;--rs-color-background-critical-faded:#2f1e1f;--rs-color-background-critical-highlighted:#c11515;--rs-color-border-neutral:#414141;--rs-color-border-neutral-faded:#464646;--rs-color-border-disabled:#404040;--rs-color-border-primary:#5a91e0;--rs-color-border-primary-faded:#163a6a;--rs-color-border-positive:#03a059;--rs-color-border-positive-faded:#163c30;--rs-color-border-critical:#e95454;--rs-color-border-critical-faded:#412a2b;--rs-color-background-page:#191919;--rs-color-background-page-faded:#202020;--rs-color-background-elevation-base:#232323;--rs-color-background-elevation-raised:#262626;--rs-color-background-elevation-overlay:#292929;--rs-color-on-background-neutral:#fff;--rs-color-rgb-background-neutral:79,81,85;--rs-color-rgb-background-neutral-faded:52,54,63;--rs-color-rgb-background-neutral-highlighted:89,92,96;--rs-color-rgb-background-disabled:49,49,49;--rs-color-rgb-background-disabled-faded:38,38,38;--rs-color-rgb-background-primary:66,129,219;--rs-color-rgb-background-primary-highlighted:50,115,204;--rs-color-rgb-background-primary-faded:30,44,69;--rs-color-rgb-background-positive:6,116,63;--rs-color-rgb-background-positive-faded:15,41,33;--rs-color-rgb-background-positive-highlighted:0,133,69;--rs-color-rgb-background-critical:171,23,23;--rs-color-rgb-background-critical-faded:47,30,31;--rs-color-rgb-background-critical-highlighted:193,21,21;--rs-color-rgb-background-page:25,25,25;--rs-color-rgb-background-page-faded:32,32,32;--rs-color-rgb-background-elevation-base:35,35,35;--rs-color-rgb-background-elevation-raised:38,38,38;--rs-color-rgb-background-elevation-overlay:41,41,41}
1
+ [data-rs-theme=slate]{--rs-font-family-title:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-family-body:Inter,BlinkMacSystemFont,-apple-system,Roboto,Helvetica,Arial,sans-serif;--rs-font-weight-regular:400;--rs-font-weight-medium:500;--rs-font-weight-semibold:600;--rs-font-weight-bold:700;--rs-font-weight-heavy:800;--rs-font-weight-black:900;--rs-font-size-title-1:96px;--rs-line-height-title-1:100px;--rs-font-family-title-1:var(--rs-font-family-title);--rs-font-weight-title-1:var(--rs-font-weight-heavy);--rs-font-size-title-2:80px;--rs-line-height-title-2:84px;--rs-font-family-title-2:var(--rs-font-family-title);--rs-font-weight-title-2:var(--rs-font-weight-heavy);--rs-font-size-title-3:64px;--rs-line-height-title-3:68px;--rs-font-family-title-3:var(--rs-font-family-title);--rs-font-weight-title-3:var(--rs-font-weight-heavy);--rs-font-size-title-4:56px;--rs-line-height-title-4:60px;--rs-font-family-title-4:var(--rs-font-family-title);--rs-font-weight-title-4:var(--rs-font-weight-bold);--rs-font-size-title-5:48px;--rs-line-height-title-5:52px;--rs-font-family-title-5:var(--rs-font-family-title);--rs-font-weight-title-5:var(--rs-font-weight-bold);--rs-font-size-title-6:36px;--rs-line-height-title-6:40px;--rs-font-family-title-6:var(--rs-font-family-title);--rs-font-weight-title-6:var(--rs-font-weight-bold);--rs-font-size-featured-1:32px;--rs-line-height-featured-1:40px;--rs-font-family-featured-1:var(--rs-font-family-body);--rs-font-size-featured-2:24px;--rs-line-height-featured-2:32px;--rs-font-family-featured-2:var(--rs-font-family-body);--rs-font-size-featured-3:20px;--rs-line-height-featured-3:28px;--rs-font-family-featured-3:var(--rs-font-family-body);--rs-font-size-body-1:18px;--rs-line-height-body-1:28px;--rs-font-family-body-1:var(--rs-font-family-body);--rs-font-size-body-2:16px;--rs-line-height-body-2:24px;--rs-font-family-body-2:var(--rs-font-family-body);--rs-font-size-body-3:14px;--rs-line-height-body-3:20px;--rs-font-family-body-3:var(--rs-font-family-body);--rs-font-size-caption-1:12px;--rs-line-height-caption-1:16px;--rs-font-family-caption-1:var(--rs-font-family-body);--rs-font-size-caption-2:10px;--rs-line-height-caption-2:12px;--rs-font-family-caption-2:var(--rs-font-family-body);--rs-unit-base:4px;--rs-unit-radius-small:2px;--rs-unit-radius-medium:4px;--rs-unit-radius-large:6px;--rs-unit-x1:4px;--rs-unit-x2:8px;--rs-unit-x3:12px;--rs-unit-x4:16px;--rs-unit-x5:20px;--rs-unit-x6:24px;--rs-unit-x7:28px;--rs-unit-x8:32px;--rs-unit-x9:36px;--rs-unit-x10:40px;--rs-color-black:#000;--rs-color-white:#fff;--rs-color-on-background-primary:#fff;--rs-color-on-background-positive:#fff;--rs-color-on-background-critical:#fff;--rs-color-rgb-black:0,0,0;--rs-color-rgb-white:255,255,255;--rs-duration-fast:200ms;--rs-duration-medium:300ms;--rs-duration-slow:400ms;--rs-easing-standard:cubic-bezier(0.4,0,0.2,1);--rs-easing-accelerate:cubic-bezier(0.4,0,1,1);--rs-easing-decelerate:cubic-bezier(0,0,0.2,1);--rs-shadow-raised:0px 2px 3px rgba(0,0,0,.1),0px 1px 2px -1px rgba(0,0,0,.1);--rs-shadow-overlay:0px 5px 10px rgba(0,0,0,.05),0px 15px 25px rgba(0,0,0,.07)}[data-rs-theme=slate][data-rs-color-mode=light]{--rs-color-foreground-neutral:#161a26;--rs-color-foreground-neutral-faded:#717787;--rs-color-foreground-disabled:#d4d0d0;--rs-color-foreground-primary:#2383e2;--rs-color-foreground-positive:#05751f;--rs-color-foreground-critical:#cb101d;--rs-color-background-neutral:#e3e3e5;--rs-color-background-neutral-faded:#f2f3f5;--rs-color-background-neutral-highlighted:#dedee1;--rs-color-background-disabled:#eceef3;--rs-color-background-disabled-faded:#f4f5f7;--rs-color-background-primary:#2383e2;--rs-color-background-primary-highlighted:#3273cc;--rs-color-background-primary-faded:#e5f4fb;--rs-color-background-positive:#118850;--rs-color-background-positive-faded:#ebfef6;--rs-color-background-positive-highlighted:#009950;--rs-color-background-critical:#e22c2c;--rs-color-background-critical-faded:#fef1f2;--rs-color-background-critical-highlighted:#eb4747;--rs-color-border-neutral:#d2d2d2;--rs-color-border-neutral-faded:#e2e2e2;--rs-color-border-disabled:#e2e2e2;--rs-color-border-primary:#3d76c7;--rs-color-border-primary-faded:#c6d9f4;--rs-color-border-positive:#05751f;--rs-color-border-positive-faded:#cdedd5;--rs-color-border-critical:#cb101d;--rs-color-border-critical-faded:#fbd5d8;--rs-color-background-page:#fff;--rs-color-background-page-faded:#f7f7f5;--rs-color-background-elevation-base:#fff;--rs-color-background-elevation-raised:#fff;--rs-color-background-elevation-overlay:#fff;--rs-color-on-background-neutral:#000;--rs-color-rgb-background-neutral:227,227,229;--rs-color-rgb-background-neutral-faded:242,243,245;--rs-color-rgb-background-neutral-highlighted:222,222,225;--rs-color-rgb-background-disabled:236,238,243;--rs-color-rgb-background-disabled-faded:244,245,247;--rs-color-rgb-background-primary:35,131,226;--rs-color-rgb-background-primary-highlighted:50,115,204;--rs-color-rgb-background-primary-faded:229,244,251;--rs-color-rgb-background-positive:17,136,80;--rs-color-rgb-background-positive-faded:235,254,246;--rs-color-rgb-background-positive-highlighted:0,153,80;--rs-color-rgb-background-critical:226,44,44;--rs-color-rgb-background-critical-faded:254,241,242;--rs-color-rgb-background-critical-highlighted:235,71,71;--rs-color-rgb-background-page:255,255,255;--rs-color-rgb-background-page-faded:247,247,245;--rs-color-rgb-background-elevation-base:255,255,255;--rs-color-rgb-background-elevation-raised:255,255,255;--rs-color-rgb-background-elevation-overlay:255,255,255}[data-rs-theme=slate][data-rs-color-mode=dark]{--rs-color-foreground-neutral:#f2f3f5;--rs-color-foreground-neutral-faded:#9f9e9e;--rs-color-foreground-disabled:#656565;--rs-color-foreground-primary:#5098ff;--rs-color-foreground-positive:#03ab5f;--rs-color-foreground-critical:#eb6666;--rs-color-background-neutral:#4f5155;--rs-color-background-neutral-faded:#34363f;--rs-color-background-neutral-highlighted:#595c60;--rs-color-background-disabled:#313131;--rs-color-background-disabled-faded:#262626;--rs-color-background-primary:#4281db;--rs-color-background-primary-highlighted:#3273cc;--rs-color-background-primary-faded:#1e2c45;--rs-color-background-positive:#06743f;--rs-color-background-positive-faded:#0f2921;--rs-color-background-positive-highlighted:#008545;--rs-color-background-critical:#ab1717;--rs-color-background-critical-faded:#2f1e1f;--rs-color-background-critical-highlighted:#c11515;--rs-color-border-neutral:#414141;--rs-color-border-neutral-faded:#464646;--rs-color-border-disabled:#404040;--rs-color-border-primary:#5a91e0;--rs-color-border-primary-faded:#163a6a;--rs-color-border-positive:#03a059;--rs-color-border-positive-faded:#163c30;--rs-color-border-critical:#e95454;--rs-color-border-critical-faded:#412a2b;--rs-color-background-page:#191919;--rs-color-background-page-faded:#202020;--rs-color-background-elevation-base:#232323;--rs-color-background-elevation-raised:#262626;--rs-color-background-elevation-overlay:#292929;--rs-color-on-background-neutral:#fff;--rs-color-rgb-background-neutral:79,81,85;--rs-color-rgb-background-neutral-faded:52,54,63;--rs-color-rgb-background-neutral-highlighted:89,92,96;--rs-color-rgb-background-disabled:49,49,49;--rs-color-rgb-background-disabled-faded:38,38,38;--rs-color-rgb-background-primary:66,129,219;--rs-color-rgb-background-primary-highlighted:50,115,204;--rs-color-rgb-background-primary-faded:30,44,69;--rs-color-rgb-background-positive:6,116,63;--rs-color-rgb-background-positive-faded:15,41,33;--rs-color-rgb-background-positive-highlighted:0,133,69;--rs-color-rgb-background-critical:171,23,23;--rs-color-rgb-background-critical-faded:47,30,31;--rs-color-rgb-background-critical-highlighted:193,21,21;--rs-color-rgb-background-page:25,25,25;--rs-color-rgb-background-page-faded:32,32,32;--rs-color-rgb-background-elevation-base:35,35,35;--rs-color-rgb-background-elevation-raised:38,38,38;--rs-color-rgb-background-elevation-overlay:41,41,41}