design-system-silkhaus 3.2.0-beta.dropdown.5 → 3.2.0-beta.dropdown.7

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.
@@ -14,20 +14,20 @@
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 yn;function ro(){return yn||(yn=1,process.env.NODE_ENV!=="production"&&function(){var e=te,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=Symbol.iterator,m="@@iterator";function w(s){if(s===null||typeof s!="object")return null;var v=h&&s[h]||s[m];return typeof v=="function"?v:null}var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(s){{for(var v=arguments.length,R=new Array(v>1?v-1:0),O=1;O<v;O++)R[O-1]=arguments[O];E("error",s,R)}}function E(s,v,R){{var O=y.ReactDebugCurrentFrame,$=O.getStackAddendum();$!==""&&(v+="%s",R=R.concat([$]));var K=R.map(function(B){return String(B)});K.unshift("Warning: "+v),Function.prototype.apply.call(console[s],console,K)}}var z=!1,M=!1,j=!1,U=!1,q=!1,Z;Z=Symbol.for("react.module.reference");function V(s){return!!(typeof s=="string"||typeof s=="function"||s===r||s===a||q||s===o||s===u||s===d||U||s===f||z||M||j||typeof s=="object"&&s!==null&&(s.$$typeof===b||s.$$typeof===g||s.$$typeof===i||s.$$typeof===l||s.$$typeof===c||s.$$typeof===Z||s.getModuleId!==void 0))}function N(s,v,R){var O=s.displayName;if(O)return O;var $=v.displayName||v.name||"";return $!==""?R+"("+$+")":R}function P(s){return s.displayName||"Context"}function Y(s){if(s==null)return null;if(typeof s.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case l:var v=s;return P(v)+".Consumer";case i:var R=s;return P(R._context)+".Provider";case c:return N(s,s.render,"ForwardRef");case g:var O=s.displayName||null;return O!==null?O:Y(s.type)||"Memo";case b:{var $=s,K=$._payload,B=$._init;try{return Y(B(K))}catch(D){return null}}}return null}var H=Object.assign,T=0,S,C,k,I,A,_,ve;function ke(){}ke.__reactDisabledLog=!0;function et(){{if(T===0){S=console.log,C=console.info,k=console.warn,I=console.error,A=console.group,_=console.groupCollapsed,ve=console.groupEnd;var s={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}T++}}function re(){{if(T--,T===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},s,{value:S}),info:H({},s,{value:C}),warn:H({},s,{value:k}),error:H({},s,{value:I}),group:H({},s,{value:A}),groupCollapsed:H({},s,{value:_}),groupEnd:H({},s,{value:ve})})}T<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var se=y.ReactCurrentDispatcher,fe;function Ie(s,v,R){{if(fe===void 0)try{throw Error()}catch($){var O=$.stack.trim().match(/\n( *(at )?)/);fe=O&&O[1]||""}return`
18
- `+fe+s}}var pt=!1,tt;{var Lr=typeof WeakMap=="function"?WeakMap:Map;tt=new Lr}function en(s,v){if(!s||pt)return"";{var R=tt.get(s);if(R!==void 0)return R}var O;pt=!0;var $=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var K;K=se.current,se.current=null,et();try{if(v){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(oe){O=oe}Reflect.construct(s,[],B)}else{try{B.call()}catch(oe){O=oe}s.call(B.prototype)}}else{try{throw Error()}catch(oe){O=oe}s()}}catch(oe){if(oe&&O&&typeof oe.stack=="string"){for(var D=oe.stack.split(`
17
+ */var yn;function ro(){return yn||(yn=1,process.env.NODE_ENV!=="production"&&function(){var e=te,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=Symbol.iterator,m="@@iterator";function w(s){if(s===null||typeof s!="object")return null;var v=h&&s[h]||s[m];return typeof v=="function"?v:null}var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(s){{for(var v=arguments.length,R=new Array(v>1?v-1:0),O=1;O<v;O++)R[O-1]=arguments[O];E("error",s,R)}}function E(s,v,R){{var O=y.ReactDebugCurrentFrame,$=O.getStackAddendum();$!==""&&(v+="%s",R=R.concat([$]));var K=R.map(function(I){return String(I)});K.unshift("Warning: "+v),Function.prototype.apply.call(console[s],console,K)}}var z=!1,M=!1,j=!1,U=!1,q=!1,Z;Z=Symbol.for("react.module.reference");function V(s){return!!(typeof s=="string"||typeof s=="function"||s===r||s===a||q||s===o||s===u||s===d||U||s===f||z||M||j||typeof s=="object"&&s!==null&&(s.$$typeof===b||s.$$typeof===g||s.$$typeof===i||s.$$typeof===l||s.$$typeof===c||s.$$typeof===Z||s.getModuleId!==void 0))}function N(s,v,R){var O=s.displayName;if(O)return O;var $=v.displayName||v.name||"";return $!==""?R+"("+$+")":R}function P(s){return s.displayName||"Context"}function Y(s){if(s==null)return null;if(typeof s.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case l:var v=s;return P(v)+".Consumer";case i:var R=s;return P(R._context)+".Provider";case c:return N(s,s.render,"ForwardRef");case g:var O=s.displayName||null;return O!==null?O:Y(s.type)||"Memo";case b:{var $=s,K=$._payload,I=$._init;try{return Y(I(K))}catch(D){return null}}}return null}var H=Object.assign,T=0,S,C,k,B,A,_,ve;function ke(){}ke.__reactDisabledLog=!0;function et(){{if(T===0){S=console.log,C=console.info,k=console.warn,B=console.error,A=console.group,_=console.groupCollapsed,ve=console.groupEnd;var s={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}T++}}function re(){{if(T--,T===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},s,{value:S}),info:H({},s,{value:C}),warn:H({},s,{value:k}),error:H({},s,{value:B}),group:H({},s,{value:A}),groupCollapsed:H({},s,{value:_}),groupEnd:H({},s,{value:ve})})}T<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var se=y.ReactCurrentDispatcher,fe;function Be(s,v,R){{if(fe===void 0)try{throw Error()}catch($){var O=$.stack.trim().match(/\n( *(at )?)/);fe=O&&O[1]||""}return`
18
+ `+fe+s}}var pt=!1,tt;{var Lr=typeof WeakMap=="function"?WeakMap:Map;tt=new Lr}function en(s,v){if(!s||pt)return"";{var R=tt.get(s);if(R!==void 0)return R}var O;pt=!0;var $=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var K;K=se.current,se.current=null,et();try{if(v){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(oe){O=oe}Reflect.construct(s,[],I)}else{try{I.call()}catch(oe){O=oe}s.call(I.prototype)}}else{try{throw Error()}catch(oe){O=oe}s()}}catch(oe){if(oe&&O&&typeof oe.stack=="string"){for(var D=oe.stack.split(`
19
19
  `),ne=O.stack.split(`
20
20
  `),Q=D.length-1,ee=ne.length-1;Q>=1&&ee>=0&&D[Q]!==ne[ee];)ee--;for(;Q>=1&&ee>=0;Q--,ee--)if(D[Q]!==ne[ee]){if(Q!==1||ee!==1)do if(Q--,ee--,ee<0||D[Q]!==ne[ee]){var ce=`
21
- `+D[Q].replace(" at new "," at ");return s.displayName&&ce.includes("<anonymous>")&&(ce=ce.replace("<anonymous>",s.displayName)),typeof s=="function"&&tt.set(s,ce),ce}while(Q>=1&&ee>=0);break}}}finally{pt=!1,se.current=K,re(),Error.prepareStackTrace=$}var Ae=s?s.displayName||s.name:"",Le=Ae?Ie(Ae):"";return typeof s=="function"&&tt.set(s,Le),Le}function zr(s,v,R){return en(s,!1)}function Mr(s){var v=s.prototype;return!!(v&&v.isReactComponent)}function nt(s,v,R){if(s==null)return"";if(typeof s=="function")return en(s,Mr(s));if(typeof s=="string")return Ie(s);switch(s){case u:return Ie("Suspense");case d:return Ie("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case c:return zr(s.render);case g:return nt(s.type,v,R);case b:{var O=s,$=O._payload,K=O._init;try{return nt(K($),v,R)}catch(B){}}}return""}var je=Object.prototype.hasOwnProperty,tn={},nn=y.ReactDebugCurrentFrame;function rt(s){if(s){var v=s._owner,R=nt(s.type,s._source,v?v.type:null);nn.setExtraStackFrame(R)}else nn.setExtraStackFrame(null)}function Pr(s,v,R,O,$){{var K=Function.call.bind(je);for(var B in s)if(K(s,B)){var D=void 0;try{if(typeof s[B]!="function"){var ne=Error((O||"React class")+": "+R+" type `"+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[B]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ne.name="Invariant Violation",ne}D=s[B](v,B,O,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Q){D=Q}D&&!(D instanceof Error)&&(rt($),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).",O||"React class",R,B,typeof D),rt(null)),D instanceof Error&&!(D.message in tn)&&(tn[D.message]=!0,rt($),x("Failed %s type: %s",R,D.message),rt(null))}}}var Hr=Array.isArray;function vt(s){return Hr(s)}function Ar(s){{var v=typeof Symbol=="function"&&Symbol.toStringTag,R=v&&s[Symbol.toStringTag]||s.constructor.name||"Object";return R}}function Or(s){try{return rn(s),!1}catch(v){return!0}}function rn(s){return""+s}function on(s){if(Or(s))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ar(s)),rn(s)}var an=y.ReactCurrentOwner,Wr={key:!0,ref:!0,__self:!0,__source:!0},ln,sn;function _r(s){if(je.call(s,"ref")){var v=Object.getOwnPropertyDescriptor(s,"ref").get;if(v&&v.isReactWarning)return!1}return s.ref!==void 0}function Dr(s){if(je.call(s,"key")){var v=Object.getOwnPropertyDescriptor(s,"key").get;if(v&&v.isReactWarning)return!1}return s.key!==void 0}function Fr(s,v){typeof s.ref=="string"&&an.current}function Br(s,v){{var R=function(){ln||(ln=!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)",v))};R.isReactWarning=!0,Object.defineProperty(s,"key",{get:R,configurable:!0})}}function Ir(s,v){{var R=function(){sn||(sn=!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)",v))};R.isReactWarning=!0,Object.defineProperty(s,"ref",{get:R,configurable:!0})}}var jr=function(s,v,R,O,$,K,B){var D={$$typeof:t,type:s,key:v,ref:R,props:B,_owner:K};return D._store={},Object.defineProperty(D._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(D,"_self",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.defineProperty(D,"_source",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.freeze&&(Object.freeze(D.props),Object.freeze(D)),D};function Nr(s,v,R,O,$){{var K,B={},D=null,ne=null;R!==void 0&&(on(R),D=""+R),Dr(v)&&(on(v.key),D=""+v.key),_r(v)&&(ne=v.ref,Fr(v,$));for(K in v)je.call(v,K)&&!Wr.hasOwnProperty(K)&&(B[K]=v[K]);if(s&&s.defaultProps){var Q=s.defaultProps;for(K in Q)B[K]===void 0&&(B[K]=Q[K])}if(D||ne){var ee=typeof s=="function"?s.displayName||s.name||"Unknown":s;D&&Br(B,ee),ne&&Ir(B,ee)}return jr(s,D,ne,$,O,an.current,B)}}var bt=y.ReactCurrentOwner,cn=y.ReactDebugCurrentFrame;function He(s){if(s){var v=s._owner,R=nt(s.type,s._source,v?v.type:null);cn.setExtraStackFrame(R)}else cn.setExtraStackFrame(null)}var xt;xt=!1;function yt(s){return typeof s=="object"&&s!==null&&s.$$typeof===t}function un(){{if(bt.current){var s=Y(bt.current.type);if(s)return`
21
+ `+D[Q].replace(" at new "," at ");return s.displayName&&ce.includes("<anonymous>")&&(ce=ce.replace("<anonymous>",s.displayName)),typeof s=="function"&&tt.set(s,ce),ce}while(Q>=1&&ee>=0);break}}}finally{pt=!1,se.current=K,re(),Error.prepareStackTrace=$}var Ae=s?s.displayName||s.name:"",Le=Ae?Be(Ae):"";return typeof s=="function"&&tt.set(s,Le),Le}function zr(s,v,R){return en(s,!1)}function Mr(s){var v=s.prototype;return!!(v&&v.isReactComponent)}function nt(s,v,R){if(s==null)return"";if(typeof s=="function")return en(s,Mr(s));if(typeof s=="string")return Be(s);switch(s){case u:return Be("Suspense");case d:return Be("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case c:return zr(s.render);case g:return nt(s.type,v,R);case b:{var O=s,$=O._payload,K=O._init;try{return nt(K($),v,R)}catch(I){}}}return""}var je=Object.prototype.hasOwnProperty,tn={},nn=y.ReactDebugCurrentFrame;function rt(s){if(s){var v=s._owner,R=nt(s.type,s._source,v?v.type:null);nn.setExtraStackFrame(R)}else nn.setExtraStackFrame(null)}function Pr(s,v,R,O,$){{var K=Function.call.bind(je);for(var I in s)if(K(s,I)){var D=void 0;try{if(typeof s[I]!="function"){var ne=Error((O||"React class")+": "+R+" type `"+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[I]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ne.name="Invariant Violation",ne}D=s[I](v,I,O,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Q){D=Q}D&&!(D instanceof Error)&&(rt($),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).",O||"React class",R,I,typeof D),rt(null)),D instanceof Error&&!(D.message in tn)&&(tn[D.message]=!0,rt($),x("Failed %s type: %s",R,D.message),rt(null))}}}var Hr=Array.isArray;function vt(s){return Hr(s)}function Ar(s){{var v=typeof Symbol=="function"&&Symbol.toStringTag,R=v&&s[Symbol.toStringTag]||s.constructor.name||"Object";return R}}function Or(s){try{return rn(s),!1}catch(v){return!0}}function rn(s){return""+s}function on(s){if(Or(s))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ar(s)),rn(s)}var an=y.ReactCurrentOwner,Wr={key:!0,ref:!0,__self:!0,__source:!0},ln,sn;function _r(s){if(je.call(s,"ref")){var v=Object.getOwnPropertyDescriptor(s,"ref").get;if(v&&v.isReactWarning)return!1}return s.ref!==void 0}function Dr(s){if(je.call(s,"key")){var v=Object.getOwnPropertyDescriptor(s,"key").get;if(v&&v.isReactWarning)return!1}return s.key!==void 0}function Fr(s,v){typeof s.ref=="string"&&an.current}function Ir(s,v){{var R=function(){ln||(ln=!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)",v))};R.isReactWarning=!0,Object.defineProperty(s,"key",{get:R,configurable:!0})}}function Br(s,v){{var R=function(){sn||(sn=!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)",v))};R.isReactWarning=!0,Object.defineProperty(s,"ref",{get:R,configurable:!0})}}var jr=function(s,v,R,O,$,K,I){var D={$$typeof:t,type:s,key:v,ref:R,props:I,_owner:K};return D._store={},Object.defineProperty(D._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(D,"_self",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.defineProperty(D,"_source",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.freeze&&(Object.freeze(D.props),Object.freeze(D)),D};function Nr(s,v,R,O,$){{var K,I={},D=null,ne=null;R!==void 0&&(on(R),D=""+R),Dr(v)&&(on(v.key),D=""+v.key),_r(v)&&(ne=v.ref,Fr(v,$));for(K in v)je.call(v,K)&&!Wr.hasOwnProperty(K)&&(I[K]=v[K]);if(s&&s.defaultProps){var Q=s.defaultProps;for(K in Q)I[K]===void 0&&(I[K]=Q[K])}if(D||ne){var ee=typeof s=="function"?s.displayName||s.name||"Unknown":s;D&&Ir(I,ee),ne&&Br(I,ee)}return jr(s,D,ne,$,O,an.current,I)}}var bt=y.ReactCurrentOwner,cn=y.ReactDebugCurrentFrame;function He(s){if(s){var v=s._owner,R=nt(s.type,s._source,v?v.type:null);cn.setExtraStackFrame(R)}else cn.setExtraStackFrame(null)}var xt;xt=!1;function yt(s){return typeof s=="object"&&s!==null&&s.$$typeof===t}function un(){{if(bt.current){var s=Y(bt.current.type);if(s)return`
22
22
 
23
23
  Check the render method of \``+s+"`."}return""}}function $r(s){return""}var dn={};function Vr(s){{var v=un();if(!v){var R=typeof s=="string"?s:s.displayName||s.name;R&&(v=`
24
24
 
25
- Check the top-level render call using <`+R+">.")}return v}}function fn(s,v){{if(!s._store||s._store.validated||s.key!=null)return;s._store.validated=!0;var R=Vr(v);if(dn[R])return;dn[R]=!0;var O="";s&&s._owner&&s._owner!==bt.current&&(O=" It was passed a child from "+Y(s._owner.type)+"."),He(s),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,O),He(null)}}function gn(s,v){{if(typeof s!="object")return;if(vt(s))for(var R=0;R<s.length;R++){var O=s[R];yt(O)&&fn(O,v)}else if(yt(s))s._store&&(s._store.validated=!0);else if(s){var $=w(s);if(typeof $=="function"&&$!==s.entries)for(var K=$.call(s),B;!(B=K.next()).done;)yt(B.value)&&fn(B.value,v)}}}function Gr(s){{var v=s.type;if(v==null||typeof v=="string")return;var R;if(typeof v=="function")R=v.propTypes;else if(typeof v=="object"&&(v.$$typeof===c||v.$$typeof===g))R=v.propTypes;else return;if(R){var O=Y(v);Pr(R,s.props,"prop",O,s)}else if(v.PropTypes!==void 0&&!xt){xt=!0;var $=Y(v);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$||"Unknown")}typeof v.getDefaultProps=="function"&&!v.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ur(s){{for(var v=Object.keys(s.props),R=0;R<v.length;R++){var O=v[R];if(O!=="children"&&O!=="key"){He(s),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O),He(null);break}}s.ref!==null&&(He(s),x("Invalid attribute `ref` supplied to `React.Fragment`."),He(null))}}var hn={};function mn(s,v,R,O,$,K){{var B=V(s);if(!B){var D="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(D+=" 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 ne=$r();ne?D+=ne:D+=un();var Q;s===null?Q="null":vt(s)?Q="array":s!==void 0&&s.$$typeof===t?(Q="<"+(Y(s.type)||"Unknown")+" />",D=" Did you accidentally export a JSX literal instead of a component?"):Q=typeof s,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Q,D)}var ee=Nr(s,v,R,$,K);if(ee==null)return ee;if(B){var ce=v.children;if(ce!==void 0)if(O)if(vt(ce)){for(var Ae=0;Ae<ce.length;Ae++)gn(ce[Ae],s);Object.freeze&&Object.freeze(ce)}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 gn(ce,s)}if(je.call(v,"key")){var Le=Y(s),oe=Object.keys(v).filter(function(Zr){return Zr!=="key"}),wt=oe.length>0?"{key: someKey, "+oe.join(": ..., ")+": ...}":"{key: someKey}";if(!hn[Le+wt]){var Jr=oe.length>0?"{"+oe.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+R+">.")}return v}}function fn(s,v){{if(!s._store||s._store.validated||s.key!=null)return;s._store.validated=!0;var R=Vr(v);if(dn[R])return;dn[R]=!0;var O="";s&&s._owner&&s._owner!==bt.current&&(O=" It was passed a child from "+Y(s._owner.type)+"."),He(s),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,O),He(null)}}function gn(s,v){{if(typeof s!="object")return;if(vt(s))for(var R=0;R<s.length;R++){var O=s[R];yt(O)&&fn(O,v)}else if(yt(s))s._store&&(s._store.validated=!0);else if(s){var $=w(s);if(typeof $=="function"&&$!==s.entries)for(var K=$.call(s),I;!(I=K.next()).done;)yt(I.value)&&fn(I.value,v)}}}function Gr(s){{var v=s.type;if(v==null||typeof v=="string")return;var R;if(typeof v=="function")R=v.propTypes;else if(typeof v=="object"&&(v.$$typeof===c||v.$$typeof===g))R=v.propTypes;else return;if(R){var O=Y(v);Pr(R,s.props,"prop",O,s)}else if(v.PropTypes!==void 0&&!xt){xt=!0;var $=Y(v);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$||"Unknown")}typeof v.getDefaultProps=="function"&&!v.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ur(s){{for(var v=Object.keys(s.props),R=0;R<v.length;R++){var O=v[R];if(O!=="children"&&O!=="key"){He(s),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O),He(null);break}}s.ref!==null&&(He(s),x("Invalid attribute `ref` supplied to `React.Fragment`."),He(null))}}var hn={};function mn(s,v,R,O,$,K){{var I=V(s);if(!I){var D="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(D+=" 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 ne=$r();ne?D+=ne:D+=un();var Q;s===null?Q="null":vt(s)?Q="array":s!==void 0&&s.$$typeof===t?(Q="<"+(Y(s.type)||"Unknown")+" />",D=" Did you accidentally export a JSX literal instead of a component?"):Q=typeof s,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Q,D)}var ee=Nr(s,v,R,$,K);if(ee==null)return ee;if(I){var ce=v.children;if(ce!==void 0)if(O)if(vt(ce)){for(var Ae=0;Ae<ce.length;Ae++)gn(ce[Ae],s);Object.freeze&&Object.freeze(ce)}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 gn(ce,s)}if(je.call(v,"key")){var Le=Y(s),oe=Object.keys(v).filter(function(Zr){return Zr!=="key"}),wt=oe.length>0?"{key: someKey, "+oe.join(": ..., ")+": ...}":"{key: someKey}";if(!hn[Le+wt]){var Jr=oe.length>0?"{"+oe.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,wt,Le,Jr,Le),hn[Le+wt]=!0}}return s===r?Ur(ee):Gr(ee),ee}}function Yr(s,v,R){return mn(s,v,R,!0)}function qr(s,v,R){return mn(s,v,R,!1)}var Kr=qr,Xr=Yr;$e.Fragment=r,$e.jsx=Kr,$e.jsxs=Xr}()),$e}process.env.NODE_ENV==="production"?At.exports=no():At.exports=ro();var F=At.exports;const Gt="-",oo=e=>{const t=ao(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const l=i.split(Gt);return l[0]===""&&l.length!==1&&l.shift(),Gn(l,t)||io(i)},getConflictingClassGroupIds:(i,l)=>{const c=n[i]||[];return l&&r[i]?[...c,...r[i]]:c}}},Gn=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Gn(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const a=e.join(Gt);return(i=t.validators.find(({validator:l})=>l(a)))==null?void 0:i.classGroupId},wn=/^\[(.+)\]$/,io=e=>{if(wn.test(e)){const t=wn.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},ao=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return so(Object.entries(e.classGroups),n).forEach(([a,i])=>{Ot(i,r,a,t)}),r},Ot=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const a=o===""?t:Rn(t,o);a.classGroupId=n;return}if(typeof o=="function"){if(lo(o)){Ot(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([a,i])=>{Ot(i,Rn(t,a),n,r)})})},Rn=(e,t)=>{let n=e;return t.split(Gt).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},lo=e=>e.isThemeGetter,so=(e,t)=>t?e.map(([n,r])=>{const o=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,l])=>[t+i,l])):a);return[n,o]}):e,co=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(a,i)=>{n.set(a,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let i=n.get(a);if(i!==void 0)return i;if((i=r.get(a))!==void 0)return o(a,i),i},set(a,i){n.has(a)?n.set(a,i):o(a,i)}}},Un="!",uo=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],a=t.length,i=l=>{const c=[];let u=0,d=0,g;for(let w=0;w<l.length;w++){let y=l[w];if(u===0){if(y===o&&(r||l.slice(w,w+a)===t)){c.push(l.slice(d,w)),d=w+a;continue}if(y==="/"){g=w;continue}}y==="["?u++:y==="]"&&u--}const b=c.length===0?l:l.substring(d),f=b.startsWith(Un),h=f?b.substring(1):b,m=g&&g>d?g-d:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:m}};return n?l=>n({className:l,parseClassName:i}):i},fo=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},go=e=>L({cache:co(e.cacheSize),parseClassName:uo(e)},oo(e)),ho=/\s+/,mo=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,a=[],i=e.trim().split(ho);let l="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:d,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:f}=n(u);let h=!!f,m=r(h?b.substring(0,f):b);if(!m){if(!h){l=u+(l.length>0?" "+l:l);continue}if(m=r(b),!m){l=u+(l.length>0?" "+l:l);continue}h=!1}const w=fo(d).join(":"),y=g?w+Un:w,x=y+m;if(a.includes(x))continue;a.push(x);const E=o(m,h);for(let z=0;z<E.length;++z){const M=E[z];a.push(y+M)}l=u+(l.length>0?" "+l:l)}return l};function po(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Yn(t))&&(r&&(r+=" "),r+=n);return r}const Yn=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Yn(e[r]))&&(n&&(n+=" "),n+=t);return n};function Wt(e,...t){let n,r,o,a=i;function i(c){const u=t.reduce((d,g)=>g(d),e());return n=go(u),r=n.cache.get,o=n.cache.set,a=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=mo(c,n);return o(c,d),d}return function(){return a(po.apply(null,arguments))}}const J=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},qn=/^\[(?:([a-z-]+):)?(.+)\]$/i,vo=/^\d+\/\d+$/,bo=new Set(["px","full","screen"]),xo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,wo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ro=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Eo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,he=e=>We(e)||bo.has(e)||vo.test(e),be=e=>Fe(e,"length",Po),We=e=>!!e&&!Number.isNaN(Number(e)),Et=e=>Fe(e,"number",We),Ve=e=>!!e&&Number.isInteger(Number(e)),So=e=>e.endsWith("%")&&We(e.slice(0,-1)),W=e=>qn.test(e),xe=e=>xo.test(e),To=new Set(["length","size","percentage"]),Co=e=>Fe(e,To,Kn),ko=e=>Fe(e,"position",Kn),Lo=new Set(["image","url"]),zo=e=>Fe(e,Lo,Ao),Mo=e=>Fe(e,"",Ho),Ge=()=>!0,Fe=(e,t,n)=>{const r=qn.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Po=e=>yo.test(e)&&!wo.test(e),Kn=()=>!1,Ho=e=>Ro.test(e),Ao=e=>Eo.test(e),_t=()=>{const e=J("colors"),t=J("spacing"),n=J("blur"),r=J("brightness"),o=J("borderColor"),a=J("borderRadius"),i=J("borderSpacing"),l=J("borderWidth"),c=J("contrast"),u=J("grayscale"),d=J("hueRotate"),g=J("invert"),b=J("gap"),f=J("gradientColorStops"),h=J("gradientColorStopPositions"),m=J("inset"),w=J("margin"),y=J("opacity"),x=J("padding"),E=J("saturate"),z=J("scale"),M=J("sepia"),j=J("skew"),U=J("space"),q=J("translate"),Z=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",W,t],P=()=>[W,t],Y=()=>["",he,be],H=()=>["auto",We,W],T=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],S=()=>["solid","dashed","dotted","double","none"],C=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",W],A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[We,W];return{cacheSize:500,separator:":",theme:{colors:[Ge],spacing:[he,be],blur:["none","",xe,W],brightness:_(),borderColor:[e],borderRadius:["none","","full",xe,W],borderSpacing:P(),borderWidth:Y(),contrast:_(),grayscale:I(),hueRotate:_(),invert:I(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[So,be],inset:N(),margin:N(),opacity:_(),padding:P(),saturate:_(),scale:_(),sepia:I(),skew:_(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",W]}],container:["container"],columns:[{columns:[xe]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...T(),W]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ve,W]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",W]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",Ve,W]}],"grid-cols":[{"grid-cols":[Ge]}],"col-start-end":[{col:["auto",{span:["full",Ve,W]},W]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[Ge]}],"row-start-end":[{row:["auto",{span:[Ve,W]},W]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",W]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",W]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[U]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[U]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",W,t]}],"min-w":[{"min-w":[W,t,"min","max","fit"]}],"max-w":[{"max-w":[W,t,"none","full","min","max","fit","prose",{screen:[xe]},xe]}],h:[{h:[W,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[W,t,"auto","min","max","fit"]}],"font-size":[{text:["base",xe,be]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Et]}],"font-family":[{font:[Ge]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",W]}],"line-clamp":[{"line-clamp":["none",We,Et]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",he,W]}],"list-image":[{"list-image":["none",W]}],"list-style-type":[{list:["none","disc","decimal",W]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...S(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",he,be]}],"underline-offset":[{"underline-offset":["auto",he,W]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...T(),ko]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Co]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},zo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...S(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:S()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...S()]}],"outline-offset":[{"outline-offset":[he,W]}],"outline-w":[{outline:[he,be]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[he,be]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",xe,Mo]}],"shadow-color":[{shadow:[Ge]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...C(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":C()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",xe,W]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[g]}],saturate:[{saturate:[E]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",W]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",W]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",W]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[Ve,W]}],"translate-x":[{"translate-x":[q]}],"translate-y":[{"translate-y":[q]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",W]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",W]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",W]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[he,be,Et]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Oo=(e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:o,extend:a={},override:i={}})=>{Ue(e,"cacheSize",t),Ue(e,"prefix",n),Ue(e,"separator",r),Ue(e,"experimentalParseClassName",o);for(const l in i)Wo(e[l],i[l]);for(const l in a)_o(e[l],a[l]);return e},Ue=(e,t,n)=>{n!==void 0&&(e[t]=n)},Wo=(e,t)=>{if(t)for(const n in t)Ue(e,n,t[n])},_o=(e,t)=>{if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}},Do=(e,...t)=>typeof e=="function"?Wt(_t,e,...t):Wt(()=>Oo(_t(),e),...t),lt=Wt(_t),Dt=({children:e,size:t="small"})=>F.jsx("div",{className:`ds-flex ds-items-center ds-justify-center ${t==="small"?"ds-h-5 ds-w-5":"ds-h-6 ds-w-6"}`,children:e});function Xn(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Xn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Jn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Xn(e))&&(r&&(r+=" "),r+=t);return r}const Ut={content:["./lib/**/*.{ts,tsx}"],important:!0,prefix:"ds-",theme:{screens:{"ds-zero":{max:"374px"},"ds-mobile":{min:"375px"},"ds-tablet":{min:"768px"},"ds-desktop":{min:"1024px"},"ds-wide_desktop":{min:"1440px"}},extend:{colors:{white:"var(--white)",black:"var(--black)",accentEggplant:{100:"var(--accent-eggplant-100)",50:"var(--accent-eggplant-50)",20:"var(--accent-eggplant-20)",5:"var(--accent-eggplant-5)",highlight:"var(--accent-eggplant-highlight)",darkened:"var(--accent-eggplant-darkened)"},Fills:{black:"var(--fills-black)",white:"var(--fills-white)",secondary:"var(--fills-secondary)",terciary:"var(--fills-terciary)",quadrutery:"var(--fills-quadrutery)",quintiary:"var(--fills-quintiary)"},Text:{primary:"var(--text-primary)",secondary:"var(--text-secondary)",tertiary:"var(--text-tertiary)",secondaryDark:"var(--text-secondary-dark)",textTertiaryDark:"var(--text-tertiary-dark)",textSecondaryPlusDark:"var(--text-secondary-plus-dark)",textPrimaryDark:"var(--text-primary-dark)"},Background:{accentEggplant:{100:"var(--accent-eggplant-100)",50:"var(--accent-eggplant-50)",20:"var(--accent-eggplant-20)",5:"var(--accent-eggplant-5)",highlight:"var(--accent-eggplant-highlight)",darkened:"var(--accent-eggplant-darkened)"},accentMustard:{100:"var(--accent-mustard-100)",50:"var(--accent-mustard-50)",25:"var(--accent-mustard-25)"},accentTeal:{100:"var(--accent-teal-100)",50:"var(--accent-teal-50)",25:"var(--accent-teal-25)"},accentCarrot:{100:"var(--accent-carrot-100)",50:"var(--accent-carrot-50)",25:"var(--accent-carrot-25)"},enabled:"var(--accent-eggplant-100)",hover:"rgba(109, 54, 169, 1)",active:"rgba(52, 26, 83, 1)",focus:"var(--accent-eggplant-100)"},System:{red:"#FF453A",green:"#28CD41"}},spacing:{space0:"var(--space-0)",space025:"var(--space-025)",space050:"var(--space-050)",space075:"var(--space-075)",space100:"var(--space-100)",space150:"var(--space-150)",space200:"var(--space-200)",space250:"var(--space-250)",space300:"var(--space-300)",space400:"var(--space-400)",space500:"var(--space-500)",space600:"var(--space-600)",space800:"var(--space-800)",space1000:"var(--space-1000)",space1200:"var(--space-1200)",space1600:"var(--space-1600)"},fontFamily:{sans:"var(--font-family-default)",serif:"var(--font-family-hero)",default:"var(--font-family-default)",hero:"var(--font-family-hero)"},fontSize:{xLargeHeroTitleRegular:["var(--xLargeHero-TitleRegular-font-size)",{lineHeight:"var(--xLargeHero-TitleRegular-line-height)",fontWeight:"var(--xLargeHero-TitleRegular-font-weight)"}],xLargeHeroTitleEmphasized:["var(--xLargeHero-TitleEmphasized-font-size)",{lineHeight:"var(--xLargeHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeTitle1Regular:["var(--xLargeTitle-1Regular-font-size)",{lineHeight:"var(--xLargeTitle-1Regular-line-height)",fontWeight:"var(--xLargeTitle-1Regular-font-weight)"}],xLargeTitle1Emphasized:["var(--xLargeTitle-1Emphasized-font-size)",{lineHeight:"var(--xLargeTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeTitle2Regular:["var(--xLargeTitle-2Regular-font-size)",{lineHeight:"var(--xLargeTitle-2Regular-line-height)",fontWeight:"var(--xLargeTitle-2Regular-font-weight)"}],xLargeTitle2Emphasized:["var(--xLargeTitle-2Emphasized-font-size)",{lineHeight:"var(--xLargeTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeTitle3Regular:["var(--xLargeTitle-3Regular-font-size)",{lineHeight:"var(--xLargeTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xLargeTitle3Emphasized:["var(--xLargeTitle-3Regular-font-size)",{lineHeight:"var(--xLargeTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeBody1Regular:["var(--xLargeBody-1Regular-font-size)",{lineHeight:"var(--xLargeBody-1Regular-line-height)",fontWeight:"var(--xLargeBody-1Regular-font-weight)"}],xLargeBody2Regular:["var(--xLargeBody-2Regular-font-size)",{lineHeight:"var(--xLargeBody-2Regular-line-height)",fontWeight:"var(--xLargeBody-2Regular-font-weight)"}],xLargeHeadLineRegular:["var(--xLargeHeadLine-Regular-font-size)",{lineHeight:"var(--xLargeHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeHeadLineEmphasized:["var(--xLargeHeadLine-Regular-font-size)",{lineHeight:"var(--xLargeHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],xLargeCalloutRegular:["var(--xLargeCallout-Regular-font-size)",{lineHeight:"var(--xLargeCallout-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xLargeCalloutEmphasized:["var(--xLargeCallout-Regular-font-size)",{lineHeight:"var(--xLargeCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeFootnoteRegular:["15px",{lineHeight:"20px",fontWeight:"var(--font-weight-normal)"}],xLargeFootnoteEmphasized:["15px",{lineHeight:"20px",fontWeight:"var(--font-weight-semibold)"}],largeHeroTitleRegular:["var(--LargeHero-TitleRegular-font-size)",{lineHeight:"var(--LargeHero-TitleRegular-line-height)",fontWeight:"var(--LargeHero-TitleRegular-font-weight)"}],largeHeroTitleEmphasized:["var(--LargeHero-TitleEmphasized-font-size)",{lineHeight:"var(--LargeHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeTitle1Regular:["var(--LargeTitle-1Regular-font-size)",{lineHeight:"var(--LargeTitle-1Regular-line-height)",fontWeight:"var(--LargeTitle-1Regular-font-weight)"}],largeTitle1Emphasized:["var(--LargeTitle-1Emphasized-font-size)",{lineHeight:"var(--LargeTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeTitle2Regular:["var(--LargeTitle-2Regular-font-size)",{lineHeight:"var(--LargeTitle-2Regular-line-height)",fontWeight:"var(--LargeTitle-2Regular-font-weight)"}],largeTitle2Emphasized:["var(--LargeTitle-2Emphasized-font-size)",{lineHeight:"var(--LargeTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeTitle3Regular:["var(--LargeTitle-3Regular-font-size)",{lineHeight:"var(--LargeTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],largeTitle3Emphasized:["var(--LargeTitle-3Regular-font-size)",{lineHeight:"var(--LargeTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeBody1Regular:["var(--LargeBody-1Regular-font-size)",{lineHeight:"var(--LargeBody-1Regular-line-height)",fontWeight:"var(--LargeBody-1Regular-font-weight)"}],largeBody2Regular:["var(--LargeBody-2Regular-font-size)",{lineHeight:"var(--LargeBody-2Regular-line-height)",fontWeight:"var(--LargeBody-2Regular-font-weight)"}],largeHeadLineRegular:["var(--LargeHeadLine-Regular-font-size)",{lineHeight:"var(--LargeHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeHeadLineEmphasized:["var(--LargeHeadLine-Regular-font-size)",{lineHeight:"var(--LargeHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],largeCalloutRegular:["var(--LargeCallout-Regular-font-size)",{lineHeight:"var(--LargeCallout-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],largeCalloutEmphasized:["var(--LargeCallout-Regular-font-size)",{lineHeight:"var(--LargeCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeFootnoteRegular:["13px",{lineHeight:"18px",fontWeight:"var(--font-weight-normal)"}],largeFootnoteEmphasized:["13px",{lineHeight:"18px",fontWeight:"var(--font-weight-semibold)"}],mediumHeroTitleRegular:["var(--MediumHero-TitleRegular-font-size)",{lineHeight:"var(--MediumHero-TitleRegular-line-height)",fontWeight:"var(--MediumHero-TitleRegular-font-weight)"}],mediumHeroTitleEmphasized:["var(--MediumHero-TitleEmphasized-font-size)",{lineHeight:"var(--MediumHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumTitle1Regular:["var(--MediumTitle-1Regular-font-size)",{lineHeight:"var(--MediumTitle-1Regular-line-height)",fontWeight:"var(--MediumTitle-1Regular-font-weight)"}],mediumTitle1Emphasized:["var(--MediumTitle-1Emphasized-font-size)",{lineHeight:"var(--MediumTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumTitle2Regular:["var(--MediumTitle-2Regular-font-size)",{lineHeight:"var(--MediumTitle-2Regular-line-height)",fontWeight:"var(--MediumTitle-2Regular-font-weight)"}],mediumTitle2Emphasized:["var(--MediumTitle-2Emphasized-font-size)",{lineHeight:"var(--MediumTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumTitle3Regular:["var(--MediumTitle-3Regular-font-size)",{lineHeight:"var(--MediumTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumTitle3Emphasized:["var(--MediumTitle-3Regular-font-size)",{lineHeight:"var(--MediumTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumBodyRegular:["var(--MediumBody-Regular-font-size)",{lineHeight:"var(--MediumBody-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumBodyEmphasized:["var(--MediumBody-Emphasized-font-size)",{lineHeight:"var(--MediumBody-Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumBody1Regular:["var(--MediumBody-1Regular-font-size)",{lineHeight:"var(--MediumBody-1Regular-line-height)",fontWeight:"var(--MediumBody-1Regular-font-weight)"}],mediumBody2Regular:["var(--MediumBody-2Regular-font-size)",{lineHeight:"var(--MediumBody-2Regular-line-height)",fontWeight:"var(--MediumBody-2Regular-font-weight)"}],mediumHeadLineRegular:["var(--MediumHeadLine-Regular-font-size)",{lineHeight:"var(--MediumHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumHeadLineEmphasized:["var(--MediumHeadLine-Regular-font-size)",{lineHeight:"var(--MediumHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],mediumSubHeadRegular:["var(--MediumSubHead-Regular-font-size)",{lineHeight:"var(--MediumSubHead-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumSubHeadEmphasized:["var(--MediumSubHead-Regular-font-size)",{lineHeight:"var(--MediumSubHead-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumCaption1Regular:["var(--MediumCaption-1Regular-font-size)",{lineHeight:"var(--MediumCaption-1Regular-line-height)",fontWeight:"var(--MediumCaption-1Regular-font-weight)"}],mediumCaption1Emphasized:["var(--MediumCaption-1Regular-font-size)",{lineHeight:"var(--MediumCaption-1Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumCaption2Regular:["var(--MediumCaption-2Regular-font-size)",{lineHeight:"var(--MediumCaption-2Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumCaption2Emphasized:["var(--MediumCaption-2Regular-font-size)",{lineHeight:"var(--MediumCaption-2Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumFootnoteRegular:["var(--MediumFootnote-Regular-font-size)",{lineHeight:"var(--MediumFootnote-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumFootnoteEmphasized:["var(--MediumFootnote-Regular-font-size)",{lineHeight:"var(--MediumFootnote-Regular-line-height)",fontWeight:"var( --font-weight-semibold)"}],mediumCalloutRegular:["var(--MediumCallout-Regular-font-size)",{lineHeight:"var(--MediumCallout-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumCalloutEmphasized:["var(--MediumCallout-Regular-font-size)",{lineHeight:"var(--MediumCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallHeroTitleRegular:["var(--SmallHero-TitleRegular-font-size)",{lineHeight:"var(--SmallHero-TitleRegular-line-height)",fontWeight:"var(--SmallHero-TitleRegular-font-weight)"}],smallHeroTitleEmphasized:["var(--SmallHero-TitleEmphasized-font-size)",{lineHeight:"var(--SmallHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallTitle1Regular:["var(--SmallTitle-1Regular-font-size)",{lineHeight:"var(--SmallTitle-1Regular-line-height)",fontWeight:"var(--SmallTitle-1Regular-font-weight)"}],smallTitle1Emphasized:["var(--SmallTitle-1Emphasized-font-size)",{lineHeight:"var(--SmallTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallTitle2Regular:["var(--SmallTitle-2Regular-font-size)",{lineHeight:"var(--SmallTitle-2Regular-line-height)",fontWeight:"var(--SmallTitle-2Regular-font-weight)"}],smallTitle2Emphasized:["var(--SmallTitle-2Emphasized-font-size)",{lineHeight:"var(--SmallTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallTitle3Regular:["var(--SmallTitle-3Regular-font-size)",{lineHeight:"var(--SmallTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],smallTitle3Emphasized:["var(--SmallTitle-3Regular-font-size)",{lineHeight:"var(--SmallTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallBody1Regular:["var(--SmallBody-1Regular-font-size)",{lineHeight:"var(--SmallBody-1Regular-line-height)",fontWeight:"var(--SmallBody-1Regular-font-weight)"}],smallBody2Regular:["var(--SmallBody-2Regular-font-size)",{lineHeight:"var(--SmallBody-2Regular-line-height)",fontWeight:"var(--SmallBody-2Regular-font-weight)"}],smallSubheadRegular:["var(--SmallSubhead-Regular-font-size)",{lineHeight:"var(--SmallSubhead-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],smallSubheadEmphasized:["var(--SmallSubhead-Regular-font-size)",{lineHeight:"var(--SmallSubhead-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallCaption1Regular:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],smallCaption1Emphasized:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallHeadLineRegular:["var(--SmallHeadLine-Regular-font-size)",{lineHeight:"var(--SmallHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallHeadLineEmphasized:["var(--SmallHeadLine-Regular-font-size)",{lineHeight:"var(--SmallHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],smallCalloutRegular:["var(--SmallCallout-Regular-font-size)",{lineHeight:"var(--SmallCallout-Regular-line-height)",fontWeight:"var(--font-weight-regular)"}],smallCalloutEmphasized:["var(--SmallCallout-Regular-font-size)",{lineHeight:"var(--SmallCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallFootnoteRegular:["12px",{lineHeight:"20px",fontWeight:"var(--font-weight-normal)"}],smallFootnoteEmphasized:["12px",{lineHeight:"20px",fontWeight:"var(--font-weight-semibold)"}],xSmallHeroTitleRegular:["var(--xSmallHero-TitleRegular-font-size)",{lineHeight:"var(--xSmallHero-TitleRegular-line-height)",fontWeight:"var(--xSmallHero-TitleRegular-font-weight)"}],xSmallHeroTitleEmphasized:["var(--xSmallHero-TitleEmphasized-font-size)",{lineHeight:"var(--xSmallHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallTitle1Regular:["var(--xSmallTitle-1Regular-font-size)",{lineHeight:"var(--xSmallTitle-1Regular-line-height)",fontWeight:"var(--xSmallTitle-1Regular-font-weight)"}],xSmallTitle1Emphasized:["var(--xSmallTitle-1Emphasized-font-size)",{lineHeight:"var(--xSmallTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallTitle2Regular:["var(--xSmallTitle-2Regular-font-size)",{lineHeight:"var(--xSmallTitle-2Regular-line-height)",fontWeight:"var(--xSmallTitle-2Regular-font-weight)"}],xSmallTitle2Emphasized:["var(--xSmallTitle-2Emphasized-font-size)",{lineHeight:"var(--xSmallTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallTitle3Regular:["var(--xSmallTitle-3Regular-font-size)",{lineHeight:"var(--xSmallTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallTitle3Emphasized:["var(--xSmallTitle-3Regular-font-size)",{lineHeight:"var(--xSmallTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallBodyRegular:["var(--xSmallBody-Regular-font-size)",{lineHeight:"var(--xSmallBody-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallBodyEmphasized:["var(--xSmallBody-Regular-font-size)",{lineHeight:"var(--xSmallBody-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallBody1Regular:["var(--xSmallBody-1Regular-font-size)",{lineHeight:"var(--xSmallBody-1Regular-line-height)",fontWeight:"var(--xSmallBody-1Regular-font-weight)"}],xSmallBody2Regular:["var(--xSmallBody-2Regular-font-size)",{lineHeight:"var(--xSmallBody-2Regular-line-height)",fontWeight:"var(--xSmallBody-2Regular-font-weight)"}],xSmallSubheadRegular:["var(--xSmallSubhead-Regular-font-size)",{lineHeight:"var(--xSmallSubhead-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallSubheadEmphasized:["var(--xSmallSubhead-Regular-font-size)",{lineHeight:"var(--xSmallSubhead-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallCalloutRegular:["var(--xSmallCallout-Regular-font-size)",{lineHeight:"var(--xSmallCallout-Regular-line-height)",fontWeight:"var(--font-weight-regular)"}],xSmallCalloutEmphasized:["var(--xSmallCallout-Regular-font-size)",{lineHeight:"var(--xSmallCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallCaption1Regular:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallCaption1Emphasized:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallCaption2Regular:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallCaption2Emphasized:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallHeadLineRegular:["var(--xSmallHeadLine-Regular-font-size)",{lineHeight:"var(--xSmallHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallHeadLineEmphasized:["var(--xSmallHeadLine-Regular-font-size)",{lineHeight:"var(--xSmallHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],xSmallFootnoteRegular:["12px",{lineHeight:"18px",fontWeight:"var(--font-weight-normal)"}],xSmallFootnoteEmphasized:["12px",{lineHeight:"18px",fontWeight:"var(--font-weight-semibold)"}],calloutRegular:["var(--callout-Regular-font-size)",{lineHeight:"var(--callout-Regular-line-height)",fontWeight:"var(--callout-Regular-font-weight)"}]},boxShadow:{DEFAULT:"var(--shadow-default)",sm:"0px 1px 4px 0px rgba(0, 0, 0, 0.16)",md:"0px 6px 16px 0px rgba(0, 0, 0, 0.12)",lg:"0px 4px 18px 0px rgba(0, 0, 0, 0.17)"}}},plugins:[]},Fo=Do(L({},Ut));function Ye(...e){return Fo(Jn(e))}const Bo=(e,t="AED")=>{const n=Math.round(e)===e?Number(e):Number(e.toFixed(2)),r=n?n.toLocaleString(void 0,{minimumFractionDigits:Math.round(n)===n?0:2}):"";return`${t} ${r}`},En={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-rounded-none focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Background-accentEggplant-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentEggplant-100 hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-Background-accentEggplant-100 active:ds-border active:ds-border-Fills-Background-accentEggplant-100 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border-2 focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-terciary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",tertiary:"ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",quaternary:"ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",small:"ds-py-1.5 ds-px-8 ds_SmallBodyEmphasized",large:"ds-py-3 ds-px-8 ds_MediumBodyEmphasized"},Io={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-none ds-border ds-border-white ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)]",secondary:"ds-rounded-sm ds-border ds-bg-Background-accentEggplant-5 ds-text-accentEggplant-100 ds-border-2 ds-border-Background-accentEggplant-100",tertiary:"ds-text-Text-secondary ds-rounded-sm ds-bg-Fills-quadrutery",quaternary:"ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark"},Zn=te.forwardRef((h,f)=>{var m=h,{color:e="primary",size:t="small",disabled:n=!1,className:r,children:o,startIcon:a,selected:i,endIcon:l,trackingId:c,helperText:u,helpterTextClassName:d,buttonClassName:g}=m,b=ze(m,["color","size","disabled","className","children","startIcon","selected","endIcon","trackingId","helperText","helpterTextClassName","buttonClassName"]);return F.jsxs("div",{className:Ye("ds-flex ds-flex-col ds-gap-1",r),children:[F.jsxs("button",G(L({"data-tracking-id":c,ref:f,disabled:n,className:lt(Ye({[Io[e]]:i,[En[e]]:!i},En[t],"ds-flex ds-w-full ds-flex-1 ds-items-center ds-justify-center",g))},b),{children:[a&&F.jsx(Dt,{size:t,children:a}),o&&F.jsx("div",{className:`${a?"ds-ml-2":""} ${l?"ds-mr-2":""}`,children:o}),l&&F.jsx(Dt,{size:t,children:l})]})),u&&F.jsx("div",{className:Ye("ds-w-full ds-text-right ds-text-mediumFootnoteRegular",d),children:u})]})});Zn.displayName="Button";const jo=({className:e})=>F.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[F.jsx("g",{clipPath:"url(#hei1mmknga)",children:F.jsx("path",{d:"M3.261 14.356a.664.664 0 0 0 .92 0l4.629-4.63 4.63 4.63a.657.657 0 0 0 .918 0 .655.655 0 0 0 0-.911l-4.63-4.637 4.63-4.63a.648.648 0 0 0 0-.911.65.65 0 0 0-.919 0l-4.63 4.63-4.629-4.63a.644.644 0 0 0-.919 0 .655.655 0 0 0 0 .911l4.63 4.63-4.63 4.637a.648.648 0 0 0 0 .911z",fill:"currentColor"})}),F.jsx("defs",{children:F.jsx("clipPath",{id:"hei1mmknga",children:F.jsx("path",{fill:"currentColor",transform:"translate(.11 .111)",d:"M0 0h17.778v17.778H0z"})})})]}),No=({className:e})=>F.jsx(F.Fragment,{children:F.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[F.jsx("g",{clipPath:"url(#clip0_4866_5637)",children:F.jsx("path",{d:"M6.52428 13.4203C6.90774 13.4203 7.20983 13.2655 7.41784 12.9501L13.5122 3.52347C13.6646 3.28912 13.7267 3.08171 13.7267 2.88436C13.7267 2.36687 13.3495 2 12.8237 2C12.4557 2 12.2359 2.12604 12.0113 2.47695L6.49823 11.2137L3.67348 7.63567C3.4631 7.36641 3.23617 7.25042 2.91898 7.25042C2.38226 7.25042 2 7.63061 2 8.15017C2 8.3765 2.07753 8.59131 2.26954 8.82004L5.6381 12.9764C5.88517 13.278 6.15945 13.4203 6.52428 13.4203Z",fill:"currentColor"})}),F.jsx("defs",{children:F.jsx("clipPath",{id:"clip0_4866_5637",children:F.jsx("rect",{width:"16",height:"16",fill:"white"})})})]})}),$o=({className:e})=>F.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[F.jsx("g",{clipPath:"url(#clip0_4866_6306)",children:F.jsx("path",{d:"M8.00315 10.6667C8.15667 10.6667 8.31019 10.6053 8.41458 10.4888L13.1676 5.62374C13.272 5.51945 13.3334 5.38448 13.3334 5.23111C13.3334 4.91208 13.0939 4.66669 12.7746 4.66669C12.6211 4.66669 12.4798 4.72804 12.3755 4.8262L7.67154 9.62987H8.32862L3.62472 4.8262C3.52647 4.72804 3.38523 4.66669 3.22557 4.66669C2.90624 4.66669 2.66675 4.91208 2.66675 5.23111C2.66675 5.38448 2.72816 5.51945 2.83255 5.62988L7.58557 10.4888C7.70225 10.6053 7.84349 10.6667 8.00315 10.6667Z",fill:"currentColor"})}),F.jsx("defs",{children:F.jsx("clipPath",{id:"clip0_4866_6306",children:F.jsx("rect",{width:"16",height:"16",fill:"white"})})})]});function Be(e){return Qn(e)?(e.nodeName||"").toLowerCase():"#document"}function ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pe(e){var t;return(t=(Qn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Qn(e){return e instanceof Node||e instanceof ie(e).Node}function X(e){return e instanceof Element||e instanceof ie(e).Element}function ae(e){return e instanceof HTMLElement||e instanceof ie(e).HTMLElement}function Ft(e){return typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof ie(e).ShadowRoot}function Xe(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ue(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Vo(e){return["table","td","th"].includes(Be(e))}function ht(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(n){return!1}})}function Yt(e){const t=qt(),n=X(e)?ue(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Go(e){let t=me(e);for(;ae(t)&&!Se(t);){if(Yt(t))return t;if(ht(t))return null;t=me(t)}return null}function qt(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Se(e){return["html","body","#document"].includes(Be(e))}function ue(e){return ie(e).getComputedStyle(e)}function mt(e){return X(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function me(e){if(Be(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ft(e)&&e.host||pe(e);return Ft(t)?t.host:t}function er(e){const t=me(e);return Se(t)?e.ownerDocument?e.ownerDocument.body:e.body:ae(t)&&Xe(t)?t:er(t)}function Ee(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=er(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=ie(o);return a?t.concat(i,i.visualViewport||[],Xe(o)?o:[],i.frameElement&&n?Ee(i.frameElement):[]):t.concat(o,Ee(o,[],n))}function Bt(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function De(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Ft(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function tr(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function nr(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function Uo(e){return qo()?!1:!Sn()&&e.width===0&&e.height===0||Sn()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function rr(){return/apple/i.test(navigator.vendor)}function Sn(){const e=/android/i;return e.test(tr())||e.test(nr())}function Yo(){return tr().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function qo(){return nr().includes("jsdom/")}function qe(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function Ko(e){return"nativeEvent"in e}function Xo(e){return e.matches("html,body")}function we(e){return(e==null?void 0:e.ownerDocument)||document}function St(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function Oe(e){return"composedPath"in e?e.composedPath()[0]:e.target}const Jo="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function or(e){return ae(e)&&e.matches(Jo)}const Re=Math.min,le=Math.max,st=Math.round,it=Math.floor,Te=e=>({x:e,y:e}),Zo={left:"right",right:"left",bottom:"top",top:"bottom"},Qo={start:"end",end:"start"};function Tn(e,t,n){return le(e,Re(t,n))}function Je(e,t){return typeof e=="function"?e(t):e}function Ce(e){return e.split("-")[0]}function Ze(e){return e.split("-")[1]}function ir(e){return e==="x"?"y":"x"}function ar(e){return e==="y"?"height":"width"}function Me(e){return["top","bottom"].includes(Ce(e))?"y":"x"}function lr(e){return ir(Me(e))}function ei(e,t,n){n===void 0&&(n=!1);const r=Ze(e),o=lr(e),a=ar(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=ct(i)),[i,ct(i)]}function ti(e){const t=ct(e);return[It(e),t,It(t)]}function It(e){return e.replace(/start|end/g,t=>Qo[t])}function ni(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}function ri(e,t,n,r){const o=Ze(e);let a=ni(Ce(e),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(It)))),a}function ct(e){return e.replace(/left|right|bottom|top/g,t=>Zo[t])}function oi(e){return L({top:0,right:0,bottom:0,left:0},e)}function ii(e){return typeof e!="number"?oi(e):{top:e,right:e,bottom:e,left:e}}function ut(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}/*!
30
+ <%s key={someKey} {...props} />`,wt,Le,Jr,Le),hn[Le+wt]=!0}}return s===r?Ur(ee):Gr(ee),ee}}function Yr(s,v,R){return mn(s,v,R,!0)}function qr(s,v,R){return mn(s,v,R,!1)}var Kr=qr,Xr=Yr;$e.Fragment=r,$e.jsx=Kr,$e.jsxs=Xr}()),$e}process.env.NODE_ENV==="production"?At.exports=no():At.exports=ro();var F=At.exports;const Gt="-",oo=e=>{const t=ao(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const l=i.split(Gt);return l[0]===""&&l.length!==1&&l.shift(),Gn(l,t)||io(i)},getConflictingClassGroupIds:(i,l)=>{const c=n[i]||[];return l&&r[i]?[...c,...r[i]]:c}}},Gn=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Gn(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const a=e.join(Gt);return(i=t.validators.find(({validator:l})=>l(a)))==null?void 0:i.classGroupId},wn=/^\[(.+)\]$/,io=e=>{if(wn.test(e)){const t=wn.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},ao=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return so(Object.entries(e.classGroups),n).forEach(([a,i])=>{Ot(i,r,a,t)}),r},Ot=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const a=o===""?t:Rn(t,o);a.classGroupId=n;return}if(typeof o=="function"){if(lo(o)){Ot(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([a,i])=>{Ot(i,Rn(t,a),n,r)})})},Rn=(e,t)=>{let n=e;return t.split(Gt).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},lo=e=>e.isThemeGetter,so=(e,t)=>t?e.map(([n,r])=>{const o=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,l])=>[t+i,l])):a);return[n,o]}):e,co=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(a,i)=>{n.set(a,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let i=n.get(a);if(i!==void 0)return i;if((i=r.get(a))!==void 0)return o(a,i),i},set(a,i){n.has(a)?n.set(a,i):o(a,i)}}},Un="!",uo=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],a=t.length,i=l=>{const c=[];let u=0,d=0,g;for(let w=0;w<l.length;w++){let y=l[w];if(u===0){if(y===o&&(r||l.slice(w,w+a)===t)){c.push(l.slice(d,w)),d=w+a;continue}if(y==="/"){g=w;continue}}y==="["?u++:y==="]"&&u--}const b=c.length===0?l:l.substring(d),f=b.startsWith(Un),h=f?b.substring(1):b,m=g&&g>d?g-d:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:m}};return n?l=>n({className:l,parseClassName:i}):i},fo=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},go=e=>L({cache:co(e.cacheSize),parseClassName:uo(e)},oo(e)),ho=/\s+/,mo=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,a=[],i=e.trim().split(ho);let l="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:d,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:f}=n(u);let h=!!f,m=r(h?b.substring(0,f):b);if(!m){if(!h){l=u+(l.length>0?" "+l:l);continue}if(m=r(b),!m){l=u+(l.length>0?" "+l:l);continue}h=!1}const w=fo(d).join(":"),y=g?w+Un:w,x=y+m;if(a.includes(x))continue;a.push(x);const E=o(m,h);for(let z=0;z<E.length;++z){const M=E[z];a.push(y+M)}l=u+(l.length>0?" "+l:l)}return l};function po(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Yn(t))&&(r&&(r+=" "),r+=n);return r}const Yn=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Yn(e[r]))&&(n&&(n+=" "),n+=t);return n};function Wt(e,...t){let n,r,o,a=i;function i(c){const u=t.reduce((d,g)=>g(d),e());return n=go(u),r=n.cache.get,o=n.cache.set,a=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=mo(c,n);return o(c,d),d}return function(){return a(po.apply(null,arguments))}}const J=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},qn=/^\[(?:([a-z-]+):)?(.+)\]$/i,vo=/^\d+\/\d+$/,bo=new Set(["px","full","screen"]),xo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,wo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ro=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Eo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,he=e=>We(e)||bo.has(e)||vo.test(e),be=e=>Fe(e,"length",Po),We=e=>!!e&&!Number.isNaN(Number(e)),Et=e=>Fe(e,"number",We),Ve=e=>!!e&&Number.isInteger(Number(e)),So=e=>e.endsWith("%")&&We(e.slice(0,-1)),W=e=>qn.test(e),xe=e=>xo.test(e),To=new Set(["length","size","percentage"]),Co=e=>Fe(e,To,Kn),ko=e=>Fe(e,"position",Kn),Lo=new Set(["image","url"]),zo=e=>Fe(e,Lo,Ao),Mo=e=>Fe(e,"",Ho),Ge=()=>!0,Fe=(e,t,n)=>{const r=qn.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Po=e=>yo.test(e)&&!wo.test(e),Kn=()=>!1,Ho=e=>Ro.test(e),Ao=e=>Eo.test(e),_t=()=>{const e=J("colors"),t=J("spacing"),n=J("blur"),r=J("brightness"),o=J("borderColor"),a=J("borderRadius"),i=J("borderSpacing"),l=J("borderWidth"),c=J("contrast"),u=J("grayscale"),d=J("hueRotate"),g=J("invert"),b=J("gap"),f=J("gradientColorStops"),h=J("gradientColorStopPositions"),m=J("inset"),w=J("margin"),y=J("opacity"),x=J("padding"),E=J("saturate"),z=J("scale"),M=J("sepia"),j=J("skew"),U=J("space"),q=J("translate"),Z=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",W,t],P=()=>[W,t],Y=()=>["",he,be],H=()=>["auto",We,W],T=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],S=()=>["solid","dashed","dotted","double","none"],C=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",W],A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[We,W];return{cacheSize:500,separator:":",theme:{colors:[Ge],spacing:[he,be],blur:["none","",xe,W],brightness:_(),borderColor:[e],borderRadius:["none","","full",xe,W],borderSpacing:P(),borderWidth:Y(),contrast:_(),grayscale:B(),hueRotate:_(),invert:B(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[So,be],inset:N(),margin:N(),opacity:_(),padding:P(),saturate:_(),scale:_(),sepia:B(),skew:_(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",W]}],container:["container"],columns:[{columns:[xe]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...T(),W]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ve,W]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",W]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",Ve,W]}],"grid-cols":[{"grid-cols":[Ge]}],"col-start-end":[{col:["auto",{span:["full",Ve,W]},W]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[Ge]}],"row-start-end":[{row:["auto",{span:[Ve,W]},W]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",W]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",W]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[U]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[U]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",W,t]}],"min-w":[{"min-w":[W,t,"min","max","fit"]}],"max-w":[{"max-w":[W,t,"none","full","min","max","fit","prose",{screen:[xe]},xe]}],h:[{h:[W,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[W,t,"auto","min","max","fit"]}],"font-size":[{text:["base",xe,be]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Et]}],"font-family":[{font:[Ge]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",W]}],"line-clamp":[{"line-clamp":["none",We,Et]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",he,W]}],"list-image":[{"list-image":["none",W]}],"list-style-type":[{list:["none","disc","decimal",W]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...S(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",he,be]}],"underline-offset":[{"underline-offset":["auto",he,W]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...T(),ko]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Co]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},zo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...S(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:S()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...S()]}],"outline-offset":[{"outline-offset":[he,W]}],"outline-w":[{outline:[he,be]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[he,be]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",xe,Mo]}],"shadow-color":[{shadow:[Ge]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...C(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":C()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",xe,W]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[g]}],saturate:[{saturate:[E]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",W]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",W]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",W]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[Ve,W]}],"translate-x":[{"translate-x":[q]}],"translate-y":[{"translate-y":[q]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",W]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",W]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",W]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[he,be,Et]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Oo=(e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:o,extend:a={},override:i={}})=>{Ue(e,"cacheSize",t),Ue(e,"prefix",n),Ue(e,"separator",r),Ue(e,"experimentalParseClassName",o);for(const l in i)Wo(e[l],i[l]);for(const l in a)_o(e[l],a[l]);return e},Ue=(e,t,n)=>{n!==void 0&&(e[t]=n)},Wo=(e,t)=>{if(t)for(const n in t)Ue(e,n,t[n])},_o=(e,t)=>{if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}},Do=(e,...t)=>typeof e=="function"?Wt(_t,e,...t):Wt(()=>Oo(_t(),e),...t),lt=Wt(_t),Dt=({children:e,size:t="small"})=>F.jsx("div",{className:`ds-flex ds-items-center ds-justify-center ${t==="small"?"ds-h-5 ds-w-5":"ds-h-6 ds-w-6"}`,children:e});function Xn(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Xn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Jn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Xn(e))&&(r&&(r+=" "),r+=t);return r}const Ut={content:["./lib/**/*.{ts,tsx}"],important:!0,prefix:"ds-",theme:{screens:{"ds-zero":{max:"374px"},"ds-mobile":{min:"375px"},"ds-tablet":{min:"768px"},"ds-desktop":{min:"1024px"},"ds-wide_desktop":{min:"1440px"}},extend:{colors:{white:"var(--white)",black:"var(--black)",accentEggplant:{100:"var(--accent-eggplant-100)",50:"var(--accent-eggplant-50)",20:"var(--accent-eggplant-20)",5:"var(--accent-eggplant-5)",highlight:"var(--accent-eggplant-highlight)",darkened:"var(--accent-eggplant-darkened)"},Fills:{black:"var(--fills-black)",white:"var(--fills-white)",secondary:"var(--fills-secondary)",terciary:"var(--fills-terciary)",quadrutery:"var(--fills-quadrutery)",quintiary:"var(--fills-quintiary)"},Text:{primary:"var(--text-primary)",secondary:"var(--text-secondary)",tertiary:"var(--text-tertiary)",secondaryDark:"var(--text-secondary-dark)",textTertiaryDark:"var(--text-tertiary-dark)",textSecondaryPlusDark:"var(--text-secondary-plus-dark)",textPrimaryDark:"var(--text-primary-dark)"},Background:{accentEggplant:{100:"var(--accent-eggplant-100)",50:"var(--accent-eggplant-50)",20:"var(--accent-eggplant-20)",5:"var(--accent-eggplant-5)",highlight:"var(--accent-eggplant-highlight)",darkened:"var(--accent-eggplant-darkened)"},accentMustard:{100:"var(--accent-mustard-100)",50:"var(--accent-mustard-50)",25:"var(--accent-mustard-25)"},accentTeal:{100:"var(--accent-teal-100)",50:"var(--accent-teal-50)",25:"var(--accent-teal-25)"},accentCarrot:{100:"var(--accent-carrot-100)",50:"var(--accent-carrot-50)",25:"var(--accent-carrot-25)"},enabled:"var(--accent-eggplant-100)",hover:"rgba(109, 54, 169, 1)",active:"rgba(52, 26, 83, 1)",focus:"var(--accent-eggplant-100)"},System:{red:"#FF453A",green:"#28CD41"}},spacing:{space0:"var(--space-0)",space025:"var(--space-025)",space050:"var(--space-050)",space075:"var(--space-075)",space100:"var(--space-100)",space150:"var(--space-150)",space200:"var(--space-200)",space250:"var(--space-250)",space300:"var(--space-300)",space400:"var(--space-400)",space500:"var(--space-500)",space600:"var(--space-600)",space800:"var(--space-800)",space1000:"var(--space-1000)",space1200:"var(--space-1200)",space1600:"var(--space-1600)"},fontFamily:{sans:"var(--font-family-default)",serif:"var(--font-family-hero)",default:"var(--font-family-default)",hero:"var(--font-family-hero)"},fontSize:{xLargeHeroTitleRegular:["var(--xLargeHero-TitleRegular-font-size)",{lineHeight:"var(--xLargeHero-TitleRegular-line-height)",fontWeight:"var(--xLargeHero-TitleRegular-font-weight)"}],xLargeHeroTitleEmphasized:["var(--xLargeHero-TitleEmphasized-font-size)",{lineHeight:"var(--xLargeHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeTitle1Regular:["var(--xLargeTitle-1Regular-font-size)",{lineHeight:"var(--xLargeTitle-1Regular-line-height)",fontWeight:"var(--xLargeTitle-1Regular-font-weight)"}],xLargeTitle1Emphasized:["var(--xLargeTitle-1Emphasized-font-size)",{lineHeight:"var(--xLargeTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeTitle2Regular:["var(--xLargeTitle-2Regular-font-size)",{lineHeight:"var(--xLargeTitle-2Regular-line-height)",fontWeight:"var(--xLargeTitle-2Regular-font-weight)"}],xLargeTitle2Emphasized:["var(--xLargeTitle-2Emphasized-font-size)",{lineHeight:"var(--xLargeTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeTitle3Regular:["var(--xLargeTitle-3Regular-font-size)",{lineHeight:"var(--xLargeTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xLargeTitle3Emphasized:["var(--xLargeTitle-3Regular-font-size)",{lineHeight:"var(--xLargeTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeBody1Regular:["var(--xLargeBody-1Regular-font-size)",{lineHeight:"var(--xLargeBody-1Regular-line-height)",fontWeight:"var(--xLargeBody-1Regular-font-weight)"}],xLargeBody2Regular:["var(--xLargeBody-2Regular-font-size)",{lineHeight:"var(--xLargeBody-2Regular-line-height)",fontWeight:"var(--xLargeBody-2Regular-font-weight)"}],xLargeHeadLineRegular:["var(--xLargeHeadLine-Regular-font-size)",{lineHeight:"var(--xLargeHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeHeadLineEmphasized:["var(--xLargeHeadLine-Regular-font-size)",{lineHeight:"var(--xLargeHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],xLargeCalloutRegular:["var(--xLargeCallout-Regular-font-size)",{lineHeight:"var(--xLargeCallout-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xLargeCalloutEmphasized:["var(--xLargeCallout-Regular-font-size)",{lineHeight:"var(--xLargeCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xLargeFootnoteRegular:["15px",{lineHeight:"20px",fontWeight:"var(--font-weight-normal)"}],xLargeFootnoteEmphasized:["15px",{lineHeight:"20px",fontWeight:"var(--font-weight-semibold)"}],largeHeroTitleRegular:["var(--LargeHero-TitleRegular-font-size)",{lineHeight:"var(--LargeHero-TitleRegular-line-height)",fontWeight:"var(--LargeHero-TitleRegular-font-weight)"}],largeHeroTitleEmphasized:["var(--LargeHero-TitleEmphasized-font-size)",{lineHeight:"var(--LargeHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeTitle1Regular:["var(--LargeTitle-1Regular-font-size)",{lineHeight:"var(--LargeTitle-1Regular-line-height)",fontWeight:"var(--LargeTitle-1Regular-font-weight)"}],largeTitle1Emphasized:["var(--LargeTitle-1Emphasized-font-size)",{lineHeight:"var(--LargeTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeTitle2Regular:["var(--LargeTitle-2Regular-font-size)",{lineHeight:"var(--LargeTitle-2Regular-line-height)",fontWeight:"var(--LargeTitle-2Regular-font-weight)"}],largeTitle2Emphasized:["var(--LargeTitle-2Emphasized-font-size)",{lineHeight:"var(--LargeTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeTitle3Regular:["var(--LargeTitle-3Regular-font-size)",{lineHeight:"var(--LargeTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],largeTitle3Emphasized:["var(--LargeTitle-3Regular-font-size)",{lineHeight:"var(--LargeTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeBody1Regular:["var(--LargeBody-1Regular-font-size)",{lineHeight:"var(--LargeBody-1Regular-line-height)",fontWeight:"var(--LargeBody-1Regular-font-weight)"}],largeBody2Regular:["var(--LargeBody-2Regular-font-size)",{lineHeight:"var(--LargeBody-2Regular-line-height)",fontWeight:"var(--LargeBody-2Regular-font-weight)"}],largeHeadLineRegular:["var(--LargeHeadLine-Regular-font-size)",{lineHeight:"var(--LargeHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeHeadLineEmphasized:["var(--LargeHeadLine-Regular-font-size)",{lineHeight:"var(--LargeHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],largeCalloutRegular:["var(--LargeCallout-Regular-font-size)",{lineHeight:"var(--LargeCallout-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],largeCalloutEmphasized:["var(--LargeCallout-Regular-font-size)",{lineHeight:"var(--LargeCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],largeFootnoteRegular:["13px",{lineHeight:"18px",fontWeight:"var(--font-weight-normal)"}],largeFootnoteEmphasized:["13px",{lineHeight:"18px",fontWeight:"var(--font-weight-semibold)"}],mediumHeroTitleRegular:["var(--MediumHero-TitleRegular-font-size)",{lineHeight:"var(--MediumHero-TitleRegular-line-height)",fontWeight:"var(--MediumHero-TitleRegular-font-weight)"}],mediumHeroTitleEmphasized:["var(--MediumHero-TitleEmphasized-font-size)",{lineHeight:"var(--MediumHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumTitle1Regular:["var(--MediumTitle-1Regular-font-size)",{lineHeight:"var(--MediumTitle-1Regular-line-height)",fontWeight:"var(--MediumTitle-1Regular-font-weight)"}],mediumTitle1Emphasized:["var(--MediumTitle-1Emphasized-font-size)",{lineHeight:"var(--MediumTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumTitle2Regular:["var(--MediumTitle-2Regular-font-size)",{lineHeight:"var(--MediumTitle-2Regular-line-height)",fontWeight:"var(--MediumTitle-2Regular-font-weight)"}],mediumTitle2Emphasized:["var(--MediumTitle-2Emphasized-font-size)",{lineHeight:"var(--MediumTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumTitle3Regular:["var(--MediumTitle-3Regular-font-size)",{lineHeight:"var(--MediumTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumTitle3Emphasized:["var(--MediumTitle-3Regular-font-size)",{lineHeight:"var(--MediumTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumBodyRegular:["var(--MediumBody-Regular-font-size)",{lineHeight:"var(--MediumBody-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumBodyEmphasized:["var(--MediumBody-Emphasized-font-size)",{lineHeight:"var(--MediumBody-Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumBody1Regular:["var(--MediumBody-1Regular-font-size)",{lineHeight:"var(--MediumBody-1Regular-line-height)",fontWeight:"var(--MediumBody-1Regular-font-weight)"}],mediumBody2Regular:["var(--MediumBody-2Regular-font-size)",{lineHeight:"var(--MediumBody-2Regular-line-height)",fontWeight:"var(--MediumBody-2Regular-font-weight)"}],mediumHeadLineRegular:["var(--MediumHeadLine-Regular-font-size)",{lineHeight:"var(--MediumHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumHeadLineEmphasized:["var(--MediumHeadLine-Regular-font-size)",{lineHeight:"var(--MediumHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],mediumSubHeadRegular:["var(--MediumSubHead-Regular-font-size)",{lineHeight:"var(--MediumSubHead-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumSubHeadEmphasized:["var(--MediumSubHead-Regular-font-size)",{lineHeight:"var(--MediumSubHead-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumCaption1Regular:["var(--MediumCaption-1Regular-font-size)",{lineHeight:"var(--MediumCaption-1Regular-line-height)",fontWeight:"var(--MediumCaption-1Regular-font-weight)"}],mediumCaption1Emphasized:["var(--MediumCaption-1Regular-font-size)",{lineHeight:"var(--MediumCaption-1Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumCaption2Regular:["var(--MediumCaption-2Regular-font-size)",{lineHeight:"var(--MediumCaption-2Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumCaption2Emphasized:["var(--MediumCaption-2Regular-font-size)",{lineHeight:"var(--MediumCaption-2Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],mediumFootnoteRegular:["var(--MediumFootnote-Regular-font-size)",{lineHeight:"var(--MediumFootnote-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumFootnoteEmphasized:["var(--MediumFootnote-Regular-font-size)",{lineHeight:"var(--MediumFootnote-Regular-line-height)",fontWeight:"var( --font-weight-semibold)"}],mediumCalloutRegular:["var(--MediumCallout-Regular-font-size)",{lineHeight:"var(--MediumCallout-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],mediumCalloutEmphasized:["var(--MediumCallout-Regular-font-size)",{lineHeight:"var(--MediumCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallHeroTitleRegular:["var(--SmallHero-TitleRegular-font-size)",{lineHeight:"var(--SmallHero-TitleRegular-line-height)",fontWeight:"var(--SmallHero-TitleRegular-font-weight)"}],smallHeroTitleEmphasized:["var(--SmallHero-TitleEmphasized-font-size)",{lineHeight:"var(--SmallHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallTitle1Regular:["var(--SmallTitle-1Regular-font-size)",{lineHeight:"var(--SmallTitle-1Regular-line-height)",fontWeight:"var(--SmallTitle-1Regular-font-weight)"}],smallTitle1Emphasized:["var(--SmallTitle-1Emphasized-font-size)",{lineHeight:"var(--SmallTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallTitle2Regular:["var(--SmallTitle-2Regular-font-size)",{lineHeight:"var(--SmallTitle-2Regular-line-height)",fontWeight:"var(--SmallTitle-2Regular-font-weight)"}],smallTitle2Emphasized:["var(--SmallTitle-2Emphasized-font-size)",{lineHeight:"var(--SmallTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallTitle3Regular:["var(--SmallTitle-3Regular-font-size)",{lineHeight:"var(--SmallTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],smallTitle3Emphasized:["var(--SmallTitle-3Regular-font-size)",{lineHeight:"var(--SmallTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallBody1Regular:["var(--SmallBody-1Regular-font-size)",{lineHeight:"var(--SmallBody-1Regular-line-height)",fontWeight:"var(--SmallBody-1Regular-font-weight)"}],smallBody2Regular:["var(--SmallBody-2Regular-font-size)",{lineHeight:"var(--SmallBody-2Regular-line-height)",fontWeight:"var(--SmallBody-2Regular-font-weight)"}],smallSubheadRegular:["var(--SmallSubhead-Regular-font-size)",{lineHeight:"var(--SmallSubhead-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],smallSubheadEmphasized:["var(--SmallSubhead-Regular-font-size)",{lineHeight:"var(--SmallSubhead-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallCaption1Regular:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],smallCaption1Emphasized:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallHeadLineRegular:["var(--SmallHeadLine-Regular-font-size)",{lineHeight:"var(--SmallHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallHeadLineEmphasized:["var(--SmallHeadLine-Regular-font-size)",{lineHeight:"var(--SmallHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],smallCalloutRegular:["var(--SmallCallout-Regular-font-size)",{lineHeight:"var(--SmallCallout-Regular-line-height)",fontWeight:"var(--font-weight-regular)"}],smallCalloutEmphasized:["var(--SmallCallout-Regular-font-size)",{lineHeight:"var(--SmallCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],smallFootnoteRegular:["12px",{lineHeight:"20px",fontWeight:"var(--font-weight-normal)"}],smallFootnoteEmphasized:["12px",{lineHeight:"20px",fontWeight:"var(--font-weight-semibold)"}],xSmallHeroTitleRegular:["var(--xSmallHero-TitleRegular-font-size)",{lineHeight:"var(--xSmallHero-TitleRegular-line-height)",fontWeight:"var(--xSmallHero-TitleRegular-font-weight)"}],xSmallHeroTitleEmphasized:["var(--xSmallHero-TitleEmphasized-font-size)",{lineHeight:"var(--xSmallHero-TitleEmphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallTitle1Regular:["var(--xSmallTitle-1Regular-font-size)",{lineHeight:"var(--xSmallTitle-1Regular-line-height)",fontWeight:"var(--xSmallTitle-1Regular-font-weight)"}],xSmallTitle1Emphasized:["var(--xSmallTitle-1Emphasized-font-size)",{lineHeight:"var(--xSmallTitle-1Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallTitle2Regular:["var(--xSmallTitle-2Regular-font-size)",{lineHeight:"var(--xSmallTitle-2Regular-line-height)",fontWeight:"var(--xSmallTitle-2Regular-font-weight)"}],xSmallTitle2Emphasized:["var(--xSmallTitle-2Emphasized-font-size)",{lineHeight:"var(--xSmallTitle-2Emphasized-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallTitle3Regular:["var(--xSmallTitle-3Regular-font-size)",{lineHeight:"var(--xSmallTitle-3Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallTitle3Emphasized:["var(--xSmallTitle-3Regular-font-size)",{lineHeight:"var(--xSmallTitle-3Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallBodyRegular:["var(--xSmallBody-Regular-font-size)",{lineHeight:"var(--xSmallBody-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallBodyEmphasized:["var(--xSmallBody-Regular-font-size)",{lineHeight:"var(--xSmallBody-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallBody1Regular:["var(--xSmallBody-1Regular-font-size)",{lineHeight:"var(--xSmallBody-1Regular-line-height)",fontWeight:"var(--xSmallBody-1Regular-font-weight)"}],xSmallBody2Regular:["var(--xSmallBody-2Regular-font-size)",{lineHeight:"var(--xSmallBody-2Regular-line-height)",fontWeight:"var(--xSmallBody-2Regular-font-weight)"}],xSmallSubheadRegular:["var(--xSmallSubhead-Regular-font-size)",{lineHeight:"var(--xSmallSubhead-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallSubheadEmphasized:["var(--xSmallSubhead-Regular-font-size)",{lineHeight:"var(--xSmallSubhead-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallCalloutRegular:["var(--xSmallCallout-Regular-font-size)",{lineHeight:"var(--xSmallCallout-Regular-line-height)",fontWeight:"var(--font-weight-regular)"}],xSmallCalloutEmphasized:["var(--xSmallCallout-Regular-font-size)",{lineHeight:"var(--xSmallCallout-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallCaption1Regular:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallCaption1Emphasized:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallCaption2Regular:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-Regular-line-height)",fontWeight:"var(--font-weight-normal)"}],xSmallCaption2Emphasized:["var(--SmallCaption-1Regular-font-size)",{lineHeight:"var(--SmallCaption-1Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallHeadLineRegular:["var(--xSmallHeadLine-Regular-font-size)",{lineHeight:"var(--xSmallHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-semibold)"}],xSmallHeadLineEmphasized:["var(--xSmallHeadLine-Regular-font-size)",{lineHeight:"var(--xSmallHeadLine-Regular-line-height)",fontWeight:"var(--font-weight-bold)"}],xSmallFootnoteRegular:["12px",{lineHeight:"18px",fontWeight:"var(--font-weight-normal)"}],xSmallFootnoteEmphasized:["12px",{lineHeight:"18px",fontWeight:"var(--font-weight-semibold)"}],calloutRegular:["var(--callout-Regular-font-size)",{lineHeight:"var(--callout-Regular-line-height)",fontWeight:"var(--callout-Regular-font-weight)"}]},boxShadow:{DEFAULT:"var(--shadow-default)",sm:"0px 1px 4px 0px rgba(0, 0, 0, 0.16)",md:"0px 6px 16px 0px rgba(0, 0, 0, 0.12)",lg:"0px 4px 18px 0px rgba(0, 0, 0, 0.17)"}}},plugins:[]},Fo=Do(L({},Ut));function Ye(...e){return Fo(Jn(e))}const Io=(e,t="AED")=>{const n=Math.round(e)===e?Number(e):Number(e.toFixed(2)),r=n?n.toLocaleString(void 0,{minimumFractionDigits:Math.round(n)===n?0:2}):"";return`${t} ${r}`},En={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-rounded-none focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Background-accentEggplant-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentEggplant-100 hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-Background-accentEggplant-100 active:ds-border active:ds-border-Fills-Background-accentEggplant-100 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border-2 focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-terciary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",tertiary:"ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",quaternary:"ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",small:"ds-py-1.5 ds-px-8 ds_SmallBodyEmphasized",large:"ds-py-3 ds-px-8 ds_MediumBodyEmphasized"},Bo={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-none ds-border ds-border-white ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)]",secondary:"ds-rounded-sm ds-border ds-bg-Background-accentEggplant-5 ds-text-accentEggplant-100 ds-border-2 ds-border-Background-accentEggplant-100",tertiary:"ds-text-Text-secondary ds-rounded-sm ds-bg-Fills-quadrutery",quaternary:"ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark"},Zn=te.forwardRef((h,f)=>{var m=h,{color:e="primary",size:t="small",disabled:n=!1,className:r,children:o,startIcon:a,selected:i,endIcon:l,trackingId:c,helperText:u,helpterTextClassName:d,buttonClassName:g}=m,b=ze(m,["color","size","disabled","className","children","startIcon","selected","endIcon","trackingId","helperText","helpterTextClassName","buttonClassName"]);return F.jsxs("div",{className:Ye("ds-flex ds-flex-col ds-gap-1",r),children:[F.jsxs("button",G(L({"data-tracking-id":c,ref:f,disabled:n,className:lt(Ye({[Bo[e]]:i,[En[e]]:!i},En[t],"ds-flex ds-w-full ds-flex-1 ds-items-center ds-justify-center",g))},b),{children:[a&&F.jsx(Dt,{size:t,children:a}),o&&F.jsx("div",{className:`${a?"ds-ml-2":""} ${l?"ds-mr-2":""}`,children:o}),l&&F.jsx(Dt,{size:t,children:l})]})),u&&F.jsx("div",{className:Ye("ds-w-full ds-text-right ds-text-mediumFootnoteRegular",d),children:u})]})});Zn.displayName="Button";const jo=({className:e})=>F.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[F.jsx("g",{clipPath:"url(#hei1mmknga)",children:F.jsx("path",{d:"M3.261 14.356a.664.664 0 0 0 .92 0l4.629-4.63 4.63 4.63a.657.657 0 0 0 .918 0 .655.655 0 0 0 0-.911l-4.63-4.637 4.63-4.63a.648.648 0 0 0 0-.911.65.65 0 0 0-.919 0l-4.63 4.63-4.629-4.63a.644.644 0 0 0-.919 0 .655.655 0 0 0 0 .911l4.63 4.63-4.63 4.637a.648.648 0 0 0 0 .911z",fill:"currentColor"})}),F.jsx("defs",{children:F.jsx("clipPath",{id:"hei1mmknga",children:F.jsx("path",{fill:"currentColor",transform:"translate(.11 .111)",d:"M0 0h17.778v17.778H0z"})})})]}),No=({className:e})=>F.jsx(F.Fragment,{children:F.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[F.jsx("g",{clipPath:"url(#clip0_4866_5637)",children:F.jsx("path",{d:"M6.52428 13.4203C6.90774 13.4203 7.20983 13.2655 7.41784 12.9501L13.5122 3.52347C13.6646 3.28912 13.7267 3.08171 13.7267 2.88436C13.7267 2.36687 13.3495 2 12.8237 2C12.4557 2 12.2359 2.12604 12.0113 2.47695L6.49823 11.2137L3.67348 7.63567C3.4631 7.36641 3.23617 7.25042 2.91898 7.25042C2.38226 7.25042 2 7.63061 2 8.15017C2 8.3765 2.07753 8.59131 2.26954 8.82004L5.6381 12.9764C5.88517 13.278 6.15945 13.4203 6.52428 13.4203Z",fill:"currentColor"})}),F.jsx("defs",{children:F.jsx("clipPath",{id:"clip0_4866_5637",children:F.jsx("rect",{width:"16",height:"16",fill:"white"})})})]})}),$o=({className:e})=>F.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[F.jsx("g",{clipPath:"url(#clip0_4866_6306)",children:F.jsx("path",{d:"M8.00315 10.6667C8.15667 10.6667 8.31019 10.6053 8.41458 10.4888L13.1676 5.62374C13.272 5.51945 13.3334 5.38448 13.3334 5.23111C13.3334 4.91208 13.0939 4.66669 12.7746 4.66669C12.6211 4.66669 12.4798 4.72804 12.3755 4.8262L7.67154 9.62987H8.32862L3.62472 4.8262C3.52647 4.72804 3.38523 4.66669 3.22557 4.66669C2.90624 4.66669 2.66675 4.91208 2.66675 5.23111C2.66675 5.38448 2.72816 5.51945 2.83255 5.62988L7.58557 10.4888C7.70225 10.6053 7.84349 10.6667 8.00315 10.6667Z",fill:"currentColor"})}),F.jsx("defs",{children:F.jsx("clipPath",{id:"clip0_4866_6306",children:F.jsx("rect",{width:"16",height:"16",fill:"white"})})})]});function Ie(e){return Qn(e)?(e.nodeName||"").toLowerCase():"#document"}function ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pe(e){var t;return(t=(Qn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Qn(e){return e instanceof Node||e instanceof ie(e).Node}function X(e){return e instanceof Element||e instanceof ie(e).Element}function ae(e){return e instanceof HTMLElement||e instanceof ie(e).HTMLElement}function Ft(e){return typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof ie(e).ShadowRoot}function Xe(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ue(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Vo(e){return["table","td","th"].includes(Ie(e))}function ht(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(n){return!1}})}function Yt(e){const t=qt(),n=X(e)?ue(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Go(e){let t=me(e);for(;ae(t)&&!Se(t);){if(Yt(t))return t;if(ht(t))return null;t=me(t)}return null}function qt(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Se(e){return["html","body","#document"].includes(Ie(e))}function ue(e){return ie(e).getComputedStyle(e)}function mt(e){return X(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function me(e){if(Ie(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ft(e)&&e.host||pe(e);return Ft(t)?t.host:t}function er(e){const t=me(e);return Se(t)?e.ownerDocument?e.ownerDocument.body:e.body:ae(t)&&Xe(t)?t:er(t)}function Ee(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=er(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=ie(o);return a?t.concat(i,i.visualViewport||[],Xe(o)?o:[],i.frameElement&&n?Ee(i.frameElement):[]):t.concat(o,Ee(o,[],n))}function It(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function De(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Ft(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function tr(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function nr(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function Uo(e){return qo()?!1:!Sn()&&e.width===0&&e.height===0||Sn()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function rr(){return/apple/i.test(navigator.vendor)}function Sn(){const e=/android/i;return e.test(tr())||e.test(nr())}function Yo(){return tr().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function qo(){return nr().includes("jsdom/")}function qe(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function Ko(e){return"nativeEvent"in e}function Xo(e){return e.matches("html,body")}function we(e){return(e==null?void 0:e.ownerDocument)||document}function St(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function Oe(e){return"composedPath"in e?e.composedPath()[0]:e.target}const Jo="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function or(e){return ae(e)&&e.matches(Jo)}const Re=Math.min,le=Math.max,st=Math.round,it=Math.floor,Te=e=>({x:e,y:e}),Zo={left:"right",right:"left",bottom:"top",top:"bottom"},Qo={start:"end",end:"start"};function Tn(e,t,n){return le(e,Re(t,n))}function Je(e,t){return typeof e=="function"?e(t):e}function Ce(e){return e.split("-")[0]}function Ze(e){return e.split("-")[1]}function ir(e){return e==="x"?"y":"x"}function ar(e){return e==="y"?"height":"width"}function Me(e){return["top","bottom"].includes(Ce(e))?"y":"x"}function lr(e){return ir(Me(e))}function ei(e,t,n){n===void 0&&(n=!1);const r=Ze(e),o=lr(e),a=ar(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=ct(i)),[i,ct(i)]}function ti(e){const t=ct(e);return[Bt(e),t,Bt(t)]}function Bt(e){return e.replace(/start|end/g,t=>Qo[t])}function ni(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}function ri(e,t,n,r){const o=Ze(e);let a=ni(Ce(e),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(Bt)))),a}function ct(e){return e.replace(/left|right|bottom|top/g,t=>Zo[t])}function oi(e){return L({top:0,right:0,bottom:0,left:0},e)}function ii(e){return typeof e!="number"?oi(e):{top:e,right:e,bottom:e,left:e}}function ut(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}/*!
31
31
  * tabbable 6.2.0
32
32
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
33
- */var ai=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],jt=ai.join(","),sr=typeof Element=="undefined",Ke=sr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,dt=!sr&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},ft=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),a=o===""||o==="true",i=a||n&&t&&e(t.parentNode);return i},li=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},si=function(t,n,r){if(ft(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(jt));return n&&Ke.call(t,jt)&&o.unshift(t),o=o.filter(r),o},ci=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!ft(i,!1))if(i.tagName==="SLOT"){var l=i.assignedElements(),c=l.length?l:i.children,u=e(c,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:i,candidates:u})}else{var d=Ke.call(i,jt);d&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var g=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),b=!ft(g,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(g&&b){var f=e(g===!0?i.children:g.children,!0,r);r.flatten?o.push.apply(o,f):o.push({scopeParent:i,candidates:f})}else a.unshift.apply(a,i.children)}}return o},cr=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},ur=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||li(t))&&!cr(t)?0:t.tabIndex},ui=function(t,n){var r=ur(t);return r<0&&n&&!cr(t)?0:r},di=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},dr=function(t){return t.tagName==="INPUT"},fi=function(t){return dr(t)&&t.type==="hidden"},gi=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},hi=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},mi=function(t){if(!t.name)return!0;var n=t.form||dt(t),r=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},o;if(typeof window!="undefined"&&typeof window.CSS!="undefined"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(t.name));else try{o=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var a=hi(o,t.form);return!a||a===t},pi=function(t){return dr(t)&&t.type==="radio"},vi=function(t){return pi(t)&&!mi(t)},bi=function(t){var n,r=t&&dt(t),o=(n=r)===null||n===void 0?void 0:n.host,a=!1;if(r&&r!==t){var i,l,c;for(a=!!((i=o)!==null&&i!==void 0&&(l=i.ownerDocument)!==null&&l!==void 0&&l.contains(o)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!a&&o;){var u,d,g;r=dt(o),o=(u=r)===null||u===void 0?void 0:u.host,a=!!((d=o)!==null&&d!==void 0&&(g=d.ownerDocument)!==null&&g!==void 0&&g.contains(o))}}return a},Cn=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},xi=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var a=Ke.call(t,"details>summary:first-of-type"),i=a?t.parentElement:t;if(Ke.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var l=t;t;){var c=t.parentElement,u=dt(t);if(c&&!c.shadowRoot&&o(c)===!0)return Cn(t);t.assignedSlot?t=t.assignedSlot:!c&&u!==t.ownerDocument?t=u.host:t=c}t=l}if(bi(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Cn(t);return!1},yi=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return Ke.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},wi=function(t,n){return!(n.disabled||ft(n)||fi(n)||xi(n,t)||gi(n)||yi(n))},kn=function(t,n){return!(vi(n)||ur(n)<0||!wi(t,n))},Ri=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},Ei=function e(t){var n=[],r=[];return t.forEach(function(o,a){var i=!!o.scopeParent,l=i?o.scopeParent:o,c=ui(l,i),u=i?e(o.candidates):l;c===0?i?n.push.apply(n,u):n.push(l):r.push({documentOrder:a,tabIndex:c,item:o,isScope:i,content:u})}),r.sort(di).reduce(function(o,a){return a.isScope?o.push.apply(o,a.content):o.push(a.content),o},[]).concat(n)},fr=function(t,n){n=n||{};var r;return n.getShadowRoot?r=ci([t],n.includeContainer,{filter:kn.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Ri}):r=si(t,n.includeContainer,kn.bind(null,n)),Ei(r)};function Ln(e,t,n){let{reference:r,floating:o}=e;const a=Me(t),i=lr(t),l=ar(i),c=Ce(t),u=a==="y",d=r.x+r.width/2-o.width/2,g=r.y+r.height/2-o.height/2,b=r[l]/2-o[l]/2;let f;switch(c){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:g};break;case"left":f={x:r.x-o.width,y:g};break;default:f={x:r.x,y:r.y}}switch(Ze(t)){case"start":f[i]-=b*(n&&u?-1:1);break;case"end":f[i]+=b*(n&&u?-1:1);break}return f}const Si=(e,t,n)=>ge(exports,null,function*(){const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),c=yield i.isRTL==null?void 0:i.isRTL(t);let u=yield i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:g}=Ln(u,r,c),b=r,f={},h=0;for(let m=0;m<l.length;m++){const{name:w,fn:y}=l[m],{x,y:E,data:z,reset:M}=yield y({x:d,y:g,initialPlacement:r,placement:b,strategy:o,middlewareData:f,rects:u,platform:i,elements:{reference:e,floating:t}});d=x!=null?x:d,g=E!=null?E:g,f=G(L({},f),{[w]:L(L({},f[w]),z)}),M&&h<=50&&(h++,typeof M=="object"&&(M.placement&&(b=M.placement),M.rects&&(u=M.rects===!0?yield i.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:d,y:g}=Ln(u,b,c)),m=-1)}return{x:d,y:g,placement:b,strategy:o,middlewareData:f}});function Kt(e,t){return ge(this,null,function*(){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:i,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:g="floating",altBoundary:b=!1,padding:f=0}=Je(t,e),h=ii(f),w=l[b?g==="floating"?"reference":"floating":g],y=ut(yield a.getClippingRect({element:(n=yield a.isElement==null?void 0:a.isElement(w))==null||n?w:w.contextElement||(yield a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),x=g==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,E=yield a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating),z=(yield a.isElement==null?void 0:a.isElement(E))?(yield a.getScale==null?void 0:a.getScale(E))||{x:1,y:1}:{x:1,y:1},M=ut(a.convertOffsetParentRelativeRectToViewportRelativeRect?yield a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:E,strategy:c}):x);return{top:(y.top-M.top+h.top)/z.y,bottom:(M.bottom-y.bottom+h.bottom)/z.y,left:(y.left-M.left+h.left)/z.x,right:(M.right-y.right+h.right)/z.x}})}const Ti=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return ge(this,null,function*(){var r,o;const{placement:a,middlewareData:i,rects:l,initialPlacement:c,platform:u,elements:d}=n,T=Je(e,n),{mainAxis:g=!0,crossAxis:b=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:w=!0}=T,y=ze(T,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const x=Ce(a),E=Me(c),z=Ce(c)===c,M=yield u.isRTL==null?void 0:u.isRTL(d.floating),j=f||(z||!w?[ct(c)]:ti(c)),U=m!=="none";!f&&U&&j.push(...ri(c,w,m,M));const q=[c,...j],Z=yield Kt(n,y),V=[];let N=((o=i.flip)==null?void 0:o.overflows)||[];if(g&&V.push(Z[x]),b){const S=ei(a,l,M);V.push(Z[S[0]],Z[S[1]])}if(N=[...N,{placement:a,overflows:V}],!V.every(S=>S<=0)){var P,Y;const S=(((P=i.flip)==null?void 0:P.index)||0)+1,C=q[S];if(C)return{data:{index:S,overflows:N},reset:{placement:C}};let k=(Y=N.filter(I=>I.overflows[0]<=0).sort((I,A)=>I.overflows[1]-A.overflows[1])[0])==null?void 0:Y.placement;if(!k)switch(h){case"bestFit":{var H;const I=(H=N.filter(A=>{if(U){const _=Me(A.placement);return _===E||_==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(_=>_>0).reduce((_,ve)=>_+ve,0)]).sort((A,_)=>A[1]-_[1])[0])==null?void 0:H[0];I&&(k=I);break}case"initialPlacement":k=c;break}if(a!==k)return{reset:{placement:k}}}return{}})}}};function Ci(e,t){return ge(this,null,function*(){const{placement:n,platform:r,elements:o}=e,a=yield r.isRTL==null?void 0:r.isRTL(o.floating),i=Ce(n),l=Ze(n),c=Me(n)==="y",u=["left","top"].includes(i)?-1:1,d=a&&c?-1:1,g=Je(t,e);let{mainAxis:b,crossAxis:f,alignmentAxis:h}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:L({mainAxis:0,crossAxis:0,alignmentAxis:null},g);return l&&typeof h=="number"&&(f=l==="end"?h*-1:h),c?{x:f*d,y:b*u}:{x:b*u,y:f*d}})}const ki=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return ge(this,null,function*(){var r,o;const{x:a,y:i,placement:l,middlewareData:c}=n,u=yield Ci(n,e);return l===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:G(L({},u),{placement:l})}})}}},Li=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return ge(this,null,function*(){const{x:r,y:o,placement:a}=n,y=Je(e,n),{mainAxis:i=!0,crossAxis:l=!1,limiter:c={fn:x=>{let{x:E,y:z}=x;return{x:E,y:z}}}}=y,u=ze(y,["mainAxis","crossAxis","limiter"]),d={x:r,y:o},g=yield Kt(n,u),b=Me(Ce(a)),f=ir(b);let h=d[f],m=d[b];if(i){const x=f==="y"?"top":"left",E=f==="y"?"bottom":"right",z=h+g[x],M=h-g[E];h=Tn(z,h,M)}if(l){const x=b==="y"?"top":"left",E=b==="y"?"bottom":"right",z=m+g[x],M=m-g[E];m=Tn(z,m,M)}const w=c.fn(G(L({},n),{[f]:h,[b]:m}));return G(L({},w),{data:{x:w.x-r,y:w.y-o}})})}}},zi=function(e){return e===void 0&&(e={}),{name:"size",options:e,fn(n){return ge(this,null,function*(){const{placement:r,rects:o,platform:a,elements:i}=n,Z=Je(e,n),{apply:l=()=>{}}=Z,c=ze(Z,["apply"]),u=yield Kt(n,c),d=Ce(r),g=Ze(r),b=Me(r)==="y",{width:f,height:h}=o.floating;let m,w;d==="top"||d==="bottom"?(m=d,w=g===((yield a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(w=d,m=g==="end"?"top":"bottom");const y=h-u.top-u.bottom,x=f-u.left-u.right,E=Re(h-u[m],y),z=Re(f-u[w],x),M=!n.middlewareData.shift;let j=E,U=z;if(b?U=g||M?Re(z,x):x:j=g||M?Re(E,y):y,M&&!g){const V=le(u.left,0),N=le(u.right,0),P=le(u.top,0),Y=le(u.bottom,0);b?U=f-2*(V!==0||N!==0?V+N:le(u.left,u.right)):j=h-2*(P!==0||Y!==0?P+Y:le(u.top,u.bottom))}yield l(G(L({},n),{availableWidth:U,availableHeight:j}));const q=yield a.getDimensions(i.floating);return f!==q.width||h!==q.height?{reset:{rects:!0}}:{}})}}};function gr(e){const t=ue(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ae(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=st(n)!==a||st(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function Xt(e){return X(e)?e:e.contextElement}function _e(e){const t=Xt(e);if(!ae(t))return Te(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=gr(t);let i=(a?st(n.width):n.width)/r,l=(a?st(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const Mi=Te(0);function hr(e){const t=ie(e);return!qt()||!t.visualViewport?Mi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Pi(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ie(e)?!1:t}function Pe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Xt(e);let i=Te(1);t&&(r?X(r)&&(i=_e(r)):i=_e(e));const l=Pi(a,n,r)?hr(a):Te(0);let c=(o.left+l.x)/i.x,u=(o.top+l.y)/i.y,d=o.width/i.x,g=o.height/i.y;if(a){const b=ie(a),f=r&&X(r)?ie(r):r;let h=b,m=h.frameElement;for(;m&&r&&f!==h;){const w=_e(m),y=m.getBoundingClientRect(),x=ue(m),E=y.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,z=y.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,g*=w.y,c+=E,u+=z,h=ie(m),m=h.frameElement}}return ut({width:d,height:g,x:c,y:u})}function Hi(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a=o==="fixed",i=pe(r),l=t?ht(t.floating):!1;if(r===i||l&&a)return n;let c={scrollLeft:0,scrollTop:0},u=Te(1);const d=Te(0),g=ae(r);if((g||!g&&!a)&&((Be(r)!=="body"||Xe(i))&&(c=mt(r)),ae(r))){const b=Pe(r);u=_e(r),d.x=b.x+r.clientLeft,d.y=b.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x,y:n.y*u.y-c.scrollTop*u.y+d.y}}function Ai(e){return Array.from(e.getClientRects())}function mr(e){return Pe(pe(e)).left+mt(e).scrollLeft}function Oi(e){const t=pe(e),n=mt(e),r=e.ownerDocument.body,o=le(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=le(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+mr(e);const l=-n.scrollTop;return ue(r).direction==="rtl"&&(i+=le(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:l}}function Wi(e,t){const n=ie(e),r=pe(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,l=0,c=0;if(o){a=o.width,i=o.height;const u=qt();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:a,height:i,x:l,y:c}}function _i(e,t){const n=Pe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=ae(e)?_e(e):Te(1),i=e.clientWidth*a.x,l=e.clientHeight*a.y,c=o*a.x,u=r*a.y;return{width:i,height:l,x:c,y:u}}function zn(e,t,n){let r;if(t==="viewport")r=Wi(e,n);else if(t==="document")r=Oi(pe(e));else if(X(t))r=_i(t,n);else{const o=hr(e);r=G(L({},t),{x:t.x-o.x,y:t.y-o.y})}return ut(r)}function pr(e,t){const n=me(e);return n===t||!X(n)||Se(n)?!1:ue(n).position==="fixed"||pr(n,t)}function Di(e,t){const n=t.get(e);if(n)return n;let r=Ee(e,[],!1).filter(l=>X(l)&&Be(l)!=="body"),o=null;const a=ue(e).position==="fixed";let i=a?me(e):e;for(;X(i)&&!Se(i);){const l=ue(i),c=Yt(i);!c&&l.position==="fixed"&&(o=null),(a?!c&&!o:!c&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Xe(i)&&!c&&pr(e,i))?r=r.filter(d=>d!==i):o=l,i=me(i)}return t.set(e,r),r}function Fi(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?ht(t)?[]:Di(t,this._c):[].concat(n),r],l=i[0],c=i.reduce((u,d)=>{const g=zn(t,d,o);return u.top=le(g.top,u.top),u.right=Re(g.right,u.right),u.bottom=Re(g.bottom,u.bottom),u.left=le(g.left,u.left),u},zn(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Bi(e){const{width:t,height:n}=gr(e);return{width:t,height:n}}function Ii(e,t,n){const r=ae(t),o=pe(t),a=n==="fixed",i=Pe(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const c=Te(0);if(r||!r&&!a)if((Be(t)!=="body"||Xe(o))&&(l=mt(t)),r){const g=Pe(t,!0,a,t);c.x=g.x+t.clientLeft,c.y=g.y+t.clientTop}else o&&(c.x=mr(o));const u=i.left+l.scrollLeft-c.x,d=i.top+l.scrollTop-c.y;return{x:u,y:d,width:i.width,height:i.height}}function Tt(e){return ue(e).position==="static"}function Mn(e,t){return!ae(e)||ue(e).position==="fixed"?null:t?t(e):e.offsetParent}function vr(e,t){const n=ie(e);if(ht(e))return n;if(!ae(e)){let o=me(e);for(;o&&!Se(o);){if(X(o)&&!Tt(o))return o;o=me(o)}return n}let r=Mn(e,t);for(;r&&Vo(r)&&Tt(r);)r=Mn(r,t);return r&&Se(r)&&Tt(r)&&!Yt(r)?n:r||Go(e)||n}const ji=function(e){return ge(this,null,function*(){const t=this.getOffsetParent||vr,n=this.getDimensions,r=yield n(e.floating);return{reference:Ii(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function Ni(e){return ue(e).direction==="rtl"}const $i={convertOffsetParentRelativeRectToViewportRelativeRect:Hi,getDocumentElement:pe,getClippingRect:Fi,getOffsetParent:vr,getElementRects:ji,getClientRects:Ai,getDimensions:Bi,getScale:_e,isElement:X,isRTL:Ni};function Vi(e,t){let n=null,r;const o=pe(e);function a(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function i(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),a();const{left:u,top:d,width:g,height:b}=e.getBoundingClientRect();if(l||t(),!g||!b)return;const f=it(d),h=it(o.clientWidth-(u+g)),m=it(o.clientHeight-(d+b)),w=it(u),x={rootMargin:-f+"px "+-h+"px "+-m+"px "+-w+"px",threshold:le(0,Re(1,c))||1};let E=!0;function z(M){const j=M[0].intersectionRatio;if(j!==c){if(!E)return i();j?i(!1,j):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E=!1}try{n=new IntersectionObserver(z,G(L({},x),{root:o.ownerDocument}))}catch(M){n=new IntersectionObserver(z,x)}n.observe(e)}return i(!0),a}function Gi(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Xt(e),d=o||a?[...u?Ee(u):[],...Ee(t)]:[];d.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),a&&y.addEventListener("resize",n)});const g=u&&l?Vi(u,n):null;let b=-1,f=null;i&&(f=new ResizeObserver(y=>{let[x]=y;x&&x.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var E;(E=f)==null||E.observe(t)})),n()}),u&&!c&&f.observe(u),f.observe(t));let h,m=c?Pe(e):null;c&&w();function w(){const y=Pe(e);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&n(),m=y,h=requestAnimationFrame(w)}return n(),()=>{var y;d.forEach(x=>{o&&x.removeEventListener("scroll",n),a&&x.removeEventListener("resize",n)}),g==null||g(),(y=f)==null||y.disconnect(),f=null,c&&cancelAnimationFrame(h)}}const Ui=ki,Yi=Li,qi=Ti,Ki=zi,Xi=(e,t,n)=>{const r=new Map,o=L({platform:$i},n),a=G(L({},o.platform),{_c:r});return Si(e,t,G(L({},o),{platform:a}))};var at=typeof document!="undefined"?te.useLayoutEffect:te.useEffect;function gt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!gt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!gt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function br(e){return typeof window=="undefined"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pn(e,t){const n=br(e);return Math.round(t*n)/n}function Hn(e){const t=p.useRef(e);return at(()=>{t.current=e}),t}function Ji(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,g]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,f]=p.useState(r);gt(b,r)||f(r);const[h,m]=p.useState(null),[w,y]=p.useState(null),x=p.useCallback(C=>{C!==j.current&&(j.current=C,m(C))},[]),E=p.useCallback(C=>{C!==U.current&&(U.current=C,y(C))},[]),z=a||h,M=i||w,j=p.useRef(null),U=p.useRef(null),q=p.useRef(d),Z=c!=null,V=Hn(c),N=Hn(o),P=p.useCallback(()=>{if(!j.current||!U.current)return;const C={placement:t,strategy:n,middleware:b};N.current&&(C.platform=N.current),Xi(j.current,U.current,C).then(k=>{const I=G(L({},k),{isPositioned:!0});Y.current&&!gt(q.current,I)&&(q.current=I,Vn.flushSync(()=>{g(I)}))})},[b,t,n,N]);at(()=>{u===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,g(C=>G(L({},C),{isPositioned:!1})))},[u]);const Y=p.useRef(!1);at(()=>(Y.current=!0,()=>{Y.current=!1}),[]),at(()=>{if(z&&(j.current=z),M&&(U.current=M),z&&M){if(V.current)return V.current(z,M,P);P()}},[z,M,P,V,Z]);const H=p.useMemo(()=>({reference:j,floating:U,setReference:x,setFloating:E}),[x,E]),T=p.useMemo(()=>({reference:z,floating:M}),[z,M]),S=p.useMemo(()=>{const C={position:n,left:0,top:0};if(!T.floating)return C;const k=Pn(T.floating,d.x),I=Pn(T.floating,d.y);return l?L(G(L({},C),{transform:"translate("+k+"px, "+I+"px)"}),br(T.floating)>=1.5&&{willChange:"transform"}):{position:n,left:k,top:I}},[n,l,T.floating,d.x,d.y]);return p.useMemo(()=>G(L({},d),{update:P,refs:H,elements:T,floatingStyles:S}),[d,P,H,T,S])}const Zi=(e,t)=>G(L({},Ui(e)),{options:[e,t]}),Qi=(e,t)=>G(L({},Yi(e)),{options:[e,t]}),ea=(e,t)=>G(L({},qi(e)),{options:[e,t]}),ta=(e,t)=>G(L({},Ki(e)),{options:[e,t]}),xr=L({},p),na=xr.useInsertionEffect,ra=na||(e=>e());function ye(e){const t=p.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return ra(()=>{t.current=e}),p.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}var de=typeof document!="undefined"?te.useLayoutEffect:te.useEffect;function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nt.apply(this,arguments)}let An=!1,oa=0;const On=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+oa++;function ia(){const[e,t]=p.useState(()=>An?On():void 0);return de(()=>{e==null&&t(On())},[]),p.useEffect(()=>{An=!0},[]),e}const aa=xr.useId,Jt=aa||ia;let $t;process.env.NODE_ENV!=="production"&&($t=new Set);function la(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=$t)!=null&&e.has(o))){var a;(a=$t)==null||a.add(o),console.error(o)}}function sa(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const ca=p.createContext(null),ua=p.createContext(null),Zt=()=>{var e;return((e=p.useContext(ca))==null?void 0:e.id)||null},Qt=()=>p.useContext(ua);function Qe(e){return"data-floating-ui-"+e}function Ct(e){const t=te.useRef(e);return de(()=>{t.current=e}),t}const Wn=Qe("safe-polygon");function kt(e,t,n){return n&&!qe(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function da(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:a,elements:i}=e,{enabled:l=!0,delay:c=0,handleClose:u=null,mouseOnly:d=!1,restMs:g=0,move:b=!0}=t,f=Qt(),h=Zt(),m=Ct(u),w=Ct(c),y=Ct(n),x=p.useRef(),E=p.useRef(-1),z=p.useRef(),M=p.useRef(-1),j=p.useRef(!0),U=p.useRef(!1),q=p.useRef(()=>{}),Z=p.useCallback(()=>{var T;const S=(T=o.current.openEvent)==null?void 0:T.type;return(S==null?void 0:S.includes("mouse"))&&S!=="mousedown"},[o]);p.useEffect(()=>{if(!l)return;function T(S){let{open:C}=S;C||(clearTimeout(E.current),clearTimeout(M.current),j.current=!0)}return a.on("openchange",T),()=>{a.off("openchange",T)}},[l,a]),p.useEffect(()=>{if(!l||!m.current||!n)return;function T(C){Z()&&r(!1,C,"hover")}const S=we(i.floating).documentElement;return S.addEventListener("mouseleave",T),()=>{S.removeEventListener("mouseleave",T)}},[i.floating,n,r,l,m,Z]);const V=p.useCallback(function(T,S,C){S===void 0&&(S=!0),C===void 0&&(C="hover");const k=kt(w.current,"close",x.current);k&&!z.current?(clearTimeout(E.current),E.current=window.setTimeout(()=>r(!1,T,C),k)):S&&(clearTimeout(E.current),r(!1,T,C))},[w,r]),N=ye(()=>{q.current(),z.current=void 0}),P=ye(()=>{if(U.current){const T=we(i.floating).body;T.style.pointerEvents="",T.removeAttribute(Wn),U.current=!1}});p.useEffect(()=>{if(!l)return;function T(){return o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1}function S(A){if(clearTimeout(E.current),j.current=!1,d&&!qe(x.current)||g>0&&!kt(w.current,"open"))return;const _=kt(w.current,"open",x.current);_?E.current=window.setTimeout(()=>{y.current||r(!0,A,"hover")},_):r(!0,A,"hover")}function C(A){if(T())return;q.current();const _=we(i.floating);if(clearTimeout(M.current),m.current&&o.current.floatingContext){n||clearTimeout(E.current),z.current=m.current(G(L({},o.current.floatingContext),{tree:f,x:A.clientX,y:A.clientY,onClose(){P(),N(),V(A,!0,"safe-polygon")}}));const ke=z.current;_.addEventListener("mousemove",ke),q.current=()=>{_.removeEventListener("mousemove",ke)};return}(x.current==="touch"?!De(i.floating,A.relatedTarget):!0)&&V(A)}function k(A){T()||o.current.floatingContext&&(m.current==null||m.current(G(L({},o.current.floatingContext),{tree:f,x:A.clientX,y:A.clientY,onClose(){P(),N(),V(A)}}))(A))}if(X(i.domReference)){var I;const A=i.domReference;return n&&A.addEventListener("mouseleave",k),(I=i.floating)==null||I.addEventListener("mouseleave",k),b&&A.addEventListener("mousemove",S,{once:!0}),A.addEventListener("mouseenter",S),A.addEventListener("mouseleave",C),()=>{var _;n&&A.removeEventListener("mouseleave",k),(_=i.floating)==null||_.removeEventListener("mouseleave",k),b&&A.removeEventListener("mousemove",S),A.removeEventListener("mouseenter",S),A.removeEventListener("mouseleave",C)}}},[i,l,e,d,g,b,V,N,P,r,n,y,f,w,m,o]),de(()=>{var T;if(l&&n&&(T=m.current)!=null&&T.__options.blockPointerEvents&&Z()){const C=we(i.floating).body;C.setAttribute(Wn,""),C.style.pointerEvents="none",U.current=!0;const k=i.floating;if(X(i.domReference)&&k){var S;const I=i.domReference,A=f==null||(S=f.nodesRef.current.find(_=>_.id===h))==null||(S=S.context)==null?void 0:S.elements.floating;return A&&(A.style.pointerEvents=""),I.style.pointerEvents="auto",k.style.pointerEvents="auto",()=>{I.style.pointerEvents="",k.style.pointerEvents=""}}}},[l,n,h,i,f,m,Z]),de(()=>{n||(x.current=void 0,N(),P())},[n,N,P]),p.useEffect(()=>()=>{N(),clearTimeout(E.current),clearTimeout(M.current),P()},[l,i.domReference,N,P]);const Y=p.useMemo(()=>{function T(S){x.current=S.pointerType}return{onPointerDown:T,onPointerEnter:T,onMouseMove(S){const{nativeEvent:C}=S;function k(){!j.current&&!y.current&&r(!0,C,"hover")}d&&!qe(x.current)||n||g===0||(clearTimeout(M.current),x.current==="touch"?k():M.current=window.setTimeout(k,g))}}},[d,r,n,y,g]),H=p.useMemo(()=>({onMouseEnter(){clearTimeout(E.current)},onMouseLeave(T){V(T.nativeEvent,!1)}}),[V]);return p.useMemo(()=>l?{reference:Y,floating:H}:{},[l,Y,H])}function Lt(e,t){let n=e.filter(o=>{var a;return o.parentId===t&&((a=o.context)==null?void 0:a.open)}),r=n;for(;r.length;)r=e.filter(o=>{var a;return(a=r)==null?void 0:a.some(i=>{var l;return o.parentId===i.id&&((l=o.context)==null?void 0:l.open)})}),n=n.concat(r);return n}const yr=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function wr(e,t){const n=fr(e,yr());t==="prev"&&n.reverse();const r=n.indexOf(Bt(we(e)));return n.slice(r+1)[0]}function fa(){return wr(document.body,"next")}function ga(){return wr(document.body,"prev")}function zt(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!De(n,r)}function ha(e){fr(e,yr()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function ma(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const Rr={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let pa;function _n(e){e.key==="Tab"&&(e.target,clearTimeout(pa))}const Dn=p.forwardRef(function(t,n){const[r,o]=p.useState();de(()=>(rr()&&o("button"),document.addEventListener("keydown",_n),()=>{document.removeEventListener("keydown",_n)}),[]);const a={ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,[Qe("focus-guard")]:"",style:Rr};return p.createElement("span",Nt({},t,a))}),Er=p.createContext(null),Fn=Qe("portal");function va(e){e===void 0&&(e={});const{id:t,root:n}=e,r=Jt(),o=xa(),[a,i]=p.useState(null),l=p.useRef(null);return de(()=>()=>{a==null||a.remove(),queueMicrotask(()=>{l.current=null})},[a]),de(()=>{if(!r||l.current)return;const c=t?document.getElementById(t):null;if(!c)return;const u=document.createElement("div");u.id=r,u.setAttribute(Fn,""),c.appendChild(u),l.current=u,i(u)},[t,r]),de(()=>{if(!r||l.current)return;let c=n||(o==null?void 0:o.portalNode);c&&!X(c)&&(c=c.current),c=c||document.body;let u=null;t&&(u=document.createElement("div"),u.id=t,c.appendChild(u));const d=document.createElement("div");d.id=r,d.setAttribute(Fn,""),c=u||c,c.appendChild(d),l.current=d,i(d)},[t,n,r,o]),a}function ba(e){const{children:t,id:n,root:r=null,preserveTabOrder:o=!0}=e,a=va({id:n,root:r}),[i,l]=p.useState(null),c=p.useRef(null),u=p.useRef(null),d=p.useRef(null),g=p.useRef(null),b=!!i&&!i.modal&&i.open&&o&&!!(r||a);return p.useEffect(()=>{if(!a||!o||i!=null&&i.modal)return;function f(h){a&&zt(h)&&(h.type==="focusin"?ma:ha)(a)}return a.addEventListener("focusin",f,!0),a.addEventListener("focusout",f,!0),()=>{a.removeEventListener("focusin",f,!0),a.removeEventListener("focusout",f,!0)}},[a,o,i==null?void 0:i.modal]),p.createElement(Er.Provider,{value:p.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:d,afterInsideRef:g,portalNode:a,setFocusManagerState:l}),[o,a])},b&&a&&p.createElement(Dn,{"data-type":"outside",ref:c,onFocus:f=>{if(zt(f,a)){var h;(h=d.current)==null||h.focus()}else{const m=ga()||(i==null?void 0:i.refs.domReference.current);m==null||m.focus()}}}),b&&a&&p.createElement("span",{"aria-owns":a.id,style:Rr}),a&&Vn.createPortal(t,a),b&&a&&p.createElement(Dn,{"data-type":"outside",ref:u,onFocus:f=>{if(zt(f,a)){var h;(h=g.current)==null||h.focus()}else{const m=fa()||(i==null?void 0:i.refs.domReference.current);m==null||m.focus(),i!=null&&i.closeOnFocusOut&&(i==null||i.onOpenChange(!1,f.nativeEvent))}}}))}const xa=()=>p.useContext(Er);function Bn(e){return ae(e.target)&&e.target.tagName==="BUTTON"}function In(e){return or(e)}function ya(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,elements:{domReference:a}}=e,{enabled:i=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0}=t,g=p.useRef(),b=p.useRef(!1),f=p.useMemo(()=>({onPointerDown(h){g.current=h.pointerType},onMouseDown(h){const m=g.current;h.button===0&&l!=="click"&&(qe(m,!0)&&u||(n&&c&&(!o.current.openEvent||o.current.openEvent.type==="mousedown")?r(!1,h.nativeEvent,"click"):(h.preventDefault(),r(!0,h.nativeEvent,"click"))))},onClick(h){const m=g.current;if(l==="mousedown"&&g.current){g.current=void 0;return}qe(m,!0)&&u||(n&&c&&(!o.current.openEvent||o.current.openEvent.type==="click")?r(!1,h.nativeEvent,"click"):r(!0,h.nativeEvent,"click"))},onKeyDown(h){g.current=void 0,!(h.defaultPrevented||!d||Bn(h))&&(h.key===" "&&!In(a)&&(h.preventDefault(),b.current=!0),h.key==="Enter"&&r(!(n&&c),h.nativeEvent,"click"))},onKeyUp(h){h.defaultPrevented||!d||Bn(h)||In(a)||h.key===" "&&b.current&&(b.current=!1,r(!(n&&c),h.nativeEvent,"click"))}}),[o,a,l,u,d,r,n,c]);return p.useMemo(()=>i?{reference:f}:{},[i,f])}const wa={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Ra={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},jn=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}};function Ea(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:a}=e,{enabled:i=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:d=!1,referencePressEvent:g="pointerdown",ancestorScroll:b=!1,bubbles:f,capture:h}=t,m=Qt(),w=ye(typeof c=="function"?c:()=>!1),y=typeof c=="function"?w:c,x=p.useRef(!1),E=p.useRef(!1),{escapeKey:z,outsidePress:M}=jn(f),{escapeKey:j,outsidePress:U}=jn(h),q=ye(H=>{var T;if(!n||!i||!l||H.key!=="Escape")return;const S=(T=a.current.floatingContext)==null?void 0:T.nodeId,C=m?Lt(m.nodesRef.current,S):[];if(!z&&(H.stopPropagation(),C.length>0)){let k=!0;if(C.forEach(I=>{var A;if((A=I.context)!=null&&A.open&&!I.context.dataRef.current.__escapeKeyBubbles){k=!1;return}}),!k)return}r(!1,Ko(H)?H.nativeEvent:H,"escape-key")}),Z=ye(H=>{var T;const S=()=>{var C;q(H),(C=Oe(H))==null||C.removeEventListener("keydown",S)};(T=Oe(H))==null||T.addEventListener("keydown",S)}),V=ye(H=>{var T;const S=x.current;x.current=!1;const C=E.current;if(E.current=!1,u==="click"&&C||S||typeof y=="function"&&!y(H))return;const k=Oe(H),I="["+Qe("inert")+"]",A=we(o.floating).querySelectorAll(I);let _=X(k)?k:null;for(;_&&!Se(_);){const re=me(_);if(Se(re)||!X(re))break;_=re}if(A.length&&X(k)&&!Xo(k)&&!De(k,o.floating)&&Array.from(A).every(re=>!De(_,re)))return;if(ae(k)&&Y){const re=k.clientWidth>0&&k.scrollWidth>k.clientWidth,se=k.clientHeight>0&&k.scrollHeight>k.clientHeight;let fe=se&&H.offsetX>k.clientWidth;if(se&&ue(k).direction==="rtl"&&(fe=H.offsetX<=k.offsetWidth-k.clientWidth),fe||re&&H.offsetY>k.clientHeight)return}const ve=(T=a.current.floatingContext)==null?void 0:T.nodeId,ke=m&&Lt(m.nodesRef.current,ve).some(re=>{var se;return St(H,(se=re.context)==null?void 0:se.elements.floating)});if(St(H,o.floating)||St(H,o.domReference)||ke)return;const et=m?Lt(m.nodesRef.current,ve):[];if(et.length>0){let re=!0;if(et.forEach(se=>{var fe;if((fe=se.context)!=null&&fe.open&&!se.context.dataRef.current.__outsidePressBubbles){re=!1;return}}),!re)return}r(!1,H,"outside-press")}),N=ye(H=>{var T;const S=()=>{var C;V(H),(C=Oe(H))==null||C.removeEventListener(u,S)};(T=Oe(H))==null||T.addEventListener(u,S)});p.useEffect(()=>{if(!n||!i)return;a.current.__escapeKeyBubbles=z,a.current.__outsidePressBubbles=M;function H(C){r(!1,C,"ancestor-scroll")}const T=we(o.floating);l&&T.addEventListener("keydown",j?Z:q,j),y&&T.addEventListener(u,U?N:V,U);let S=[];return b&&(X(o.domReference)&&(S=Ee(o.domReference)),X(o.floating)&&(S=S.concat(Ee(o.floating))),!X(o.reference)&&o.reference&&o.reference.contextElement&&(S=S.concat(Ee(o.reference.contextElement)))),S=S.filter(C=>{var k;return C!==((k=T.defaultView)==null?void 0:k.visualViewport)}),S.forEach(C=>{C.addEventListener("scroll",H,{passive:!0})}),()=>{l&&T.removeEventListener("keydown",j?Z:q,j),y&&T.removeEventListener(u,U?N:V,U),S.forEach(C=>{C.removeEventListener("scroll",H)})}},[a,o,l,y,u,n,r,b,i,z,M,q,j,Z,V,U,N]),p.useEffect(()=>{x.current=!1},[y,u]);const P=p.useMemo(()=>({onKeyDown:q,[wa[g]]:H=>{d&&r(!1,H.nativeEvent,"reference-press")}}),[q,r,d,g]),Y=p.useMemo(()=>({onKeyDown:q,onMouseDown(){E.current=!0},onMouseUp(){E.current=!0},[Ra[u]]:()=>{x.current=!0}}),[q,u]);return p.useMemo(()=>i?{reference:P,floating:Y}:{},[i,P,Y])}function Sa(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=Jt(),a=p.useRef({}),[i]=p.useState(()=>sa()),l=Zt()!=null;if(process.env.NODE_ENV!=="production"){const f=r.reference;f&&!X(f)&&la("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,u]=p.useState(r.reference),d=ye((f,h,m)=>{a.current.openEvent=f?h:void 0,i.emit("openchange",{open:f,event:h,reason:m,nested:l}),n==null||n(f,h,m)}),g=p.useMemo(()=>({setPositionReference:u}),[]),b=p.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return p.useMemo(()=>({dataRef:a,open:t,onOpenChange:d,elements:b,events:i,floatingId:o,refs:g}),[t,d,b,i,o,g])}function Ta(e){e===void 0&&(e={});const{nodeId:t}=e,n=Sa(G(L({},e),{elements:L({reference:null,floating:null},e.elements)})),r=e.rootContext||n,o=r.elements,[a,i]=p.useState(null),[l,c]=p.useState(null),d=(o==null?void 0:o.reference)||a,g=p.useRef(null),b=Qt();de(()=>{d&&(g.current=d)},[d]);const f=Ji(G(L({},e),{elements:L(L({},o),l&&{reference:l})})),h=p.useCallback(E=>{const z=X(E)?{getBoundingClientRect:()=>E.getBoundingClientRect(),contextElement:E}:E;c(z),f.refs.setReference(z)},[f.refs]),m=p.useCallback(E=>{(X(E)||E===null)&&(g.current=E,i(E)),(X(f.refs.reference.current)||f.refs.reference.current===null||E!==null&&!X(E))&&f.refs.setReference(E)},[f.refs]),w=p.useMemo(()=>G(L({},f.refs),{setReference:m,setPositionReference:h,domReference:g}),[f.refs,m,h]),y=p.useMemo(()=>G(L({},f.elements),{domReference:d}),[f.elements,d]),x=p.useMemo(()=>G(L(L({},f),r),{refs:w,elements:y,nodeId:t}),[f,w,y,t,r]);return de(()=>{r.dataRef.current.floatingContext=x;const E=b==null?void 0:b.nodesRef.current.find(z=>z.id===t);E&&(E.context=x)}),p.useMemo(()=>G(L({},f),{context:x,refs:w,elements:y}),[f,w,y,x])}function Ca(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,events:o,dataRef:a,elements:i}=e,{enabled:l=!0,visibleOnly:c=!0}=t,u=p.useRef(!1),d=p.useRef(),g=p.useRef(!0);p.useEffect(()=>{if(!l)return;const f=ie(i.domReference);function h(){!n&&ae(i.domReference)&&i.domReference===Bt(we(i.domReference))&&(u.current=!0)}function m(){g.current=!0}return f.addEventListener("blur",h),f.addEventListener("keydown",m,!0),()=>{f.removeEventListener("blur",h),f.removeEventListener("keydown",m,!0)}},[i.domReference,n,l]),p.useEffect(()=>{if(!l)return;function f(h){let{reason:m}=h;(m==="reference-press"||m==="escape-key")&&(u.current=!0)}return o.on("openchange",f),()=>{o.off("openchange",f)}},[o,l]),p.useEffect(()=>()=>{clearTimeout(d.current)},[]);const b=p.useMemo(()=>({onPointerDown(f){Uo(f.nativeEvent)||(g.current=!1)},onMouseLeave(){u.current=!1},onFocus(f){if(u.current)return;const h=Oe(f.nativeEvent);if(c&&X(h))try{if(rr()&&Yo())throw Error();if(!h.matches(":focus-visible"))return}catch(m){if(!g.current&&!or(h))return}r(!0,f.nativeEvent,"focus")},onBlur(f){u.current=!1;const h=f.relatedTarget,m=f.nativeEvent,w=X(h)&&h.hasAttribute(Qe("focus-guard"))&&h.getAttribute("data-type")==="outside";d.current=window.setTimeout(()=>{var y;const x=Bt(i.domReference?i.domReference.ownerDocument:document);!h&&x===i.domReference||De((y=a.current.floatingContext)==null?void 0:y.refs.floating.current,x)||De(i.domReference,x)||w||r(!1,m,"focus")})}}),[a,i.domReference,r,c]);return p.useMemo(()=>l?{reference:b}:{},[l,b])}const Mt="active",Pt="selected";function Ht(e,t,n){const r=new Map,o=n==="item";let a=e;if(o&&e){const i=e,{[Mt]:l,[Pt]:c}=i;a=ze(i,[Rt(Mt),Rt(Pt)])}return L(L(L({},n==="floating"&&{tabIndex:-1}),a),t.map(l=>{const c=l?l[n]:null;return typeof c=="function"?e?c(e):null:c}).concat(e).reduce((l,c)=>(c&&Object.entries(c).forEach(u=>{let[d,g]=u;if(!(o&&[Mt,Pt].includes(d)))if(d.indexOf("on")===0){if(r.has(d)||r.set(d,[]),typeof g=="function"){var b;(b=r.get(d))==null||b.push(g),l[d]=function(){for(var f,h=arguments.length,m=new Array(h),w=0;w<h;w++)m[w]=arguments[w];return(f=r.get(d))==null?void 0:f.map(y=>y(...m)).find(y=>y!==void 0)}}}else l[d]=g}),l),{}))}function ka(e){e===void 0&&(e=[]);const t=e.map(l=>l==null?void 0:l.reference),n=e.map(l=>l==null?void 0:l.floating),r=e.map(l=>l==null?void 0:l.item),o=p.useCallback(l=>Ht(l,e,"reference"),t),a=p.useCallback(l=>Ht(l,e,"floating"),n),i=p.useCallback(l=>Ht(l,e,"item"),r);return p.useMemo(()=>({getReferenceProps:o,getFloatingProps:a,getItemProps:i}),[o,a,i])}const La=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function za(e,t){var n;t===void 0&&(t={});const{open:r,floatingId:o}=e,{enabled:a=!0,role:i="dialog"}=t,l=(n=La.get(i))!=null?n:i,c=Jt(),d=Zt()!=null,g=p.useMemo(()=>l==="tooltip"||i==="label"?{["aria-"+(i==="label"?"labelledby":"describedby")]:r?o:void 0}:L(L(L(L(L({"aria-expanded":r?"true":"false","aria-haspopup":l==="alertdialog"?"dialog":l,"aria-controls":r?o:void 0},l==="listbox"&&{role:"combobox"}),l==="menu"&&{id:c}),l==="menu"&&d&&{role:"menuitem"}),i==="select"&&{"aria-autocomplete":"none"}),i==="combobox"&&{"aria-autocomplete":"list"}),[l,o,d,r,c,i]),b=p.useMemo(()=>{const h=L({id:o},l&&{role:l});return l==="tooltip"||i==="label"?h:L(L({},h),l==="menu"&&{"aria-labelledby":c})},[l,o,c,i]),f=p.useCallback(h=>{let{active:m,selected:w}=h;const y=L({role:"option"},m&&{id:o+"-option"});switch(i){case"select":return G(L({},y),{"aria-selected":m&&w});case"combobox":return L(L({},y),m&&{"aria-selected":!0})}return{}},[o,i]);return p.useMemo(()=>a?{reference:g,floating:b,item:f}:{},[a,g,b,f])}const Ma={slideUp:"slideDown",slideDown:"slideUp",slideLeft:"slideRight",slideRight:"slideLeft",fadeIn:"fadeOut"},Sr=te.forwardRef((e,t)=>{const y=e,{show:n,handleClose:r,animation:o="slideDown",marginTop:a,maxWidth:i,children:l,className:c,contentClassName:u}=y,d=ze(y,["show","handleClose","animation","marginTop","maxWidth","children","className","contentClassName"]),[g,b]=te.useState(n),f=Ma[o];te.useEffect(()=>{const x=document.documentElement;return n?x.classList.add("modal-animated-open"):x.classList.remove("modal-animated-open"),()=>{x.classList.remove("modal-animated-open")}},[n]);const h=()=>{b(n)},m={marginTop:a?`${a}`:void 0,maxWidth:i?`${i}`:void 0},w=F.jsxs("div",G(L({ref:t,className:lt("modal-animated",n||g?"show":"hide",c)},d),{children:[F.jsx("div",{className:"modal-animated-backdrop",onClick:r}),F.jsx("div",{className:lt("modal-animated-content",n?o+"Open":f+"Close",u),style:m,onClick:x=>x.stopPropagation(),onAnimationEnd:h,children:l})]}));return Nn.createPortal(w,document.body)});Sr.displayName="AnimatedModal";const Tr=Number(Ut.theme.screens["ds-tablet"].min.replace("px","")),Cr=Number(Ut.theme.screens["ds-desktop"].min.replace("px","")),Vt=e=>e<Tr?"mobile":e<Cr?"tablet":"desktop",Pa=()=>{const[e,t]=te.useState(document.documentElement.clientWidth),[n,r]=te.useState(document.documentElement.clientHeight),[o,a]=te.useState(Vt(document.documentElement.clientWidth));return te.useEffect(()=>{const i=()=>{t(document.documentElement.clientWidth),r(document.documentElement.clientHeight),a(Vt(document.documentElement.clientWidth))};return window.addEventListener("resize",i),i(),()=>{window.removeEventListener("resize",i)}},[]),{documentWidth:e,documentHeight:n,screenSize:o}},kr=te.forwardRef(({label:e,isChecked:t,onSelectionChange:n,onClick:r,disabled:o,className:a},i)=>F.jsxs("label",{className:Ye("custom-checkbox ds-flex ds-cursor-pointer ds-items-center ds-gap-2 ds-text-xSmallBodyRegular ds-tablet:ds-text-xSmallBodyRegular ds-desktop:ds-text-mediumBodyRegular",o&&"ds-cursor-default",a),children:[F.jsx("input",{className:"ds-hidden",id:"checkBox",name:"checkBox",type:"checkbox",checked:t,onChange:n,disabled:o,ref:i}),e&&F.jsx("div",{className:"ds-flex-grow",children:e}),F.jsx("div",{className:"checkmark ds-flex-shrink-0",onClick:r})]}));kr.displayName="Checkbox";exports.AnimatedModal=Sr;exports.Button=Zn;exports.ButtonIconWrapper=Dt;exports.Checkbox=kr;exports.CheckmarkIcon=No;exports.ChevronDownRegularIcon=$o;exports.CloseIcon=jo;exports.FloatingPortal=ba;exports.autoUpdate=Gi;exports.clsx=Jn;exports.cn=Ye;exports.desktopMinWidth=Cr;exports.flip=ea;exports.formatCurrency=Bo;exports.getScreenSize=Vt;exports.jsxRuntimeExports=F;exports.offset=Zi;exports.shift=Qi;exports.size=ta;exports.tabletMinWidth=Tr;exports.twMerge=lt;exports.useClick=ya;exports.useDismiss=Ea;exports.useDocumentSize=Pa;exports.useFloating=Ta;exports.useFocus=Ca;exports.useHover=da;exports.useInteractions=ka;exports.useRole=za;
33
+ */var ai=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],jt=ai.join(","),sr=typeof Element=="undefined",Ke=sr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,dt=!sr&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},ft=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),a=o===""||o==="true",i=a||n&&t&&e(t.parentNode);return i},li=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},si=function(t,n,r){if(ft(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(jt));return n&&Ke.call(t,jt)&&o.unshift(t),o=o.filter(r),o},ci=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!ft(i,!1))if(i.tagName==="SLOT"){var l=i.assignedElements(),c=l.length?l:i.children,u=e(c,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:i,candidates:u})}else{var d=Ke.call(i,jt);d&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var g=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),b=!ft(g,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(g&&b){var f=e(g===!0?i.children:g.children,!0,r);r.flatten?o.push.apply(o,f):o.push({scopeParent:i,candidates:f})}else a.unshift.apply(a,i.children)}}return o},cr=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},ur=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||li(t))&&!cr(t)?0:t.tabIndex},ui=function(t,n){var r=ur(t);return r<0&&n&&!cr(t)?0:r},di=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},dr=function(t){return t.tagName==="INPUT"},fi=function(t){return dr(t)&&t.type==="hidden"},gi=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},hi=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},mi=function(t){if(!t.name)return!0;var n=t.form||dt(t),r=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},o;if(typeof window!="undefined"&&typeof window.CSS!="undefined"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(t.name));else try{o=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var a=hi(o,t.form);return!a||a===t},pi=function(t){return dr(t)&&t.type==="radio"},vi=function(t){return pi(t)&&!mi(t)},bi=function(t){var n,r=t&&dt(t),o=(n=r)===null||n===void 0?void 0:n.host,a=!1;if(r&&r!==t){var i,l,c;for(a=!!((i=o)!==null&&i!==void 0&&(l=i.ownerDocument)!==null&&l!==void 0&&l.contains(o)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!a&&o;){var u,d,g;r=dt(o),o=(u=r)===null||u===void 0?void 0:u.host,a=!!((d=o)!==null&&d!==void 0&&(g=d.ownerDocument)!==null&&g!==void 0&&g.contains(o))}}return a},Cn=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},xi=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var a=Ke.call(t,"details>summary:first-of-type"),i=a?t.parentElement:t;if(Ke.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var l=t;t;){var c=t.parentElement,u=dt(t);if(c&&!c.shadowRoot&&o(c)===!0)return Cn(t);t.assignedSlot?t=t.assignedSlot:!c&&u!==t.ownerDocument?t=u.host:t=c}t=l}if(bi(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Cn(t);return!1},yi=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return Ke.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},wi=function(t,n){return!(n.disabled||ft(n)||fi(n)||xi(n,t)||gi(n)||yi(n))},kn=function(t,n){return!(vi(n)||ur(n)<0||!wi(t,n))},Ri=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},Ei=function e(t){var n=[],r=[];return t.forEach(function(o,a){var i=!!o.scopeParent,l=i?o.scopeParent:o,c=ui(l,i),u=i?e(o.candidates):l;c===0?i?n.push.apply(n,u):n.push(l):r.push({documentOrder:a,tabIndex:c,item:o,isScope:i,content:u})}),r.sort(di).reduce(function(o,a){return a.isScope?o.push.apply(o,a.content):o.push(a.content),o},[]).concat(n)},fr=function(t,n){n=n||{};var r;return n.getShadowRoot?r=ci([t],n.includeContainer,{filter:kn.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Ri}):r=si(t,n.includeContainer,kn.bind(null,n)),Ei(r)};function Ln(e,t,n){let{reference:r,floating:o}=e;const a=Me(t),i=lr(t),l=ar(i),c=Ce(t),u=a==="y",d=r.x+r.width/2-o.width/2,g=r.y+r.height/2-o.height/2,b=r[l]/2-o[l]/2;let f;switch(c){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:g};break;case"left":f={x:r.x-o.width,y:g};break;default:f={x:r.x,y:r.y}}switch(Ze(t)){case"start":f[i]-=b*(n&&u?-1:1);break;case"end":f[i]+=b*(n&&u?-1:1);break}return f}const Si=(e,t,n)=>ge(exports,null,function*(){const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),c=yield i.isRTL==null?void 0:i.isRTL(t);let u=yield i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:g}=Ln(u,r,c),b=r,f={},h=0;for(let m=0;m<l.length;m++){const{name:w,fn:y}=l[m],{x,y:E,data:z,reset:M}=yield y({x:d,y:g,initialPlacement:r,placement:b,strategy:o,middlewareData:f,rects:u,platform:i,elements:{reference:e,floating:t}});d=x!=null?x:d,g=E!=null?E:g,f=G(L({},f),{[w]:L(L({},f[w]),z)}),M&&h<=50&&(h++,typeof M=="object"&&(M.placement&&(b=M.placement),M.rects&&(u=M.rects===!0?yield i.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:d,y:g}=Ln(u,b,c)),m=-1)}return{x:d,y:g,placement:b,strategy:o,middlewareData:f}});function Kt(e,t){return ge(this,null,function*(){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:i,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:g="floating",altBoundary:b=!1,padding:f=0}=Je(t,e),h=ii(f),w=l[b?g==="floating"?"reference":"floating":g],y=ut(yield a.getClippingRect({element:(n=yield a.isElement==null?void 0:a.isElement(w))==null||n?w:w.contextElement||(yield a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),x=g==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,E=yield a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating),z=(yield a.isElement==null?void 0:a.isElement(E))?(yield a.getScale==null?void 0:a.getScale(E))||{x:1,y:1}:{x:1,y:1},M=ut(a.convertOffsetParentRelativeRectToViewportRelativeRect?yield a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:E,strategy:c}):x);return{top:(y.top-M.top+h.top)/z.y,bottom:(M.bottom-y.bottom+h.bottom)/z.y,left:(y.left-M.left+h.left)/z.x,right:(M.right-y.right+h.right)/z.x}})}const Ti=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return ge(this,null,function*(){var r,o;const{placement:a,middlewareData:i,rects:l,initialPlacement:c,platform:u,elements:d}=n,T=Je(e,n),{mainAxis:g=!0,crossAxis:b=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:w=!0}=T,y=ze(T,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const x=Ce(a),E=Me(c),z=Ce(c)===c,M=yield u.isRTL==null?void 0:u.isRTL(d.floating),j=f||(z||!w?[ct(c)]:ti(c)),U=m!=="none";!f&&U&&j.push(...ri(c,w,m,M));const q=[c,...j],Z=yield Kt(n,y),V=[];let N=((o=i.flip)==null?void 0:o.overflows)||[];if(g&&V.push(Z[x]),b){const S=ei(a,l,M);V.push(Z[S[0]],Z[S[1]])}if(N=[...N,{placement:a,overflows:V}],!V.every(S=>S<=0)){var P,Y;const S=(((P=i.flip)==null?void 0:P.index)||0)+1,C=q[S];if(C)return{data:{index:S,overflows:N},reset:{placement:C}};let k=(Y=N.filter(B=>B.overflows[0]<=0).sort((B,A)=>B.overflows[1]-A.overflows[1])[0])==null?void 0:Y.placement;if(!k)switch(h){case"bestFit":{var H;const B=(H=N.filter(A=>{if(U){const _=Me(A.placement);return _===E||_==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(_=>_>0).reduce((_,ve)=>_+ve,0)]).sort((A,_)=>A[1]-_[1])[0])==null?void 0:H[0];B&&(k=B);break}case"initialPlacement":k=c;break}if(a!==k)return{reset:{placement:k}}}return{}})}}};function Ci(e,t){return ge(this,null,function*(){const{placement:n,platform:r,elements:o}=e,a=yield r.isRTL==null?void 0:r.isRTL(o.floating),i=Ce(n),l=Ze(n),c=Me(n)==="y",u=["left","top"].includes(i)?-1:1,d=a&&c?-1:1,g=Je(t,e);let{mainAxis:b,crossAxis:f,alignmentAxis:h}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:L({mainAxis:0,crossAxis:0,alignmentAxis:null},g);return l&&typeof h=="number"&&(f=l==="end"?h*-1:h),c?{x:f*d,y:b*u}:{x:b*u,y:f*d}})}const ki=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return ge(this,null,function*(){var r,o;const{x:a,y:i,placement:l,middlewareData:c}=n,u=yield Ci(n,e);return l===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:G(L({},u),{placement:l})}})}}},Li=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return ge(this,null,function*(){const{x:r,y:o,placement:a}=n,y=Je(e,n),{mainAxis:i=!0,crossAxis:l=!1,limiter:c={fn:x=>{let{x:E,y:z}=x;return{x:E,y:z}}}}=y,u=ze(y,["mainAxis","crossAxis","limiter"]),d={x:r,y:o},g=yield Kt(n,u),b=Me(Ce(a)),f=ir(b);let h=d[f],m=d[b];if(i){const x=f==="y"?"top":"left",E=f==="y"?"bottom":"right",z=h+g[x],M=h-g[E];h=Tn(z,h,M)}if(l){const x=b==="y"?"top":"left",E=b==="y"?"bottom":"right",z=m+g[x],M=m-g[E];m=Tn(z,m,M)}const w=c.fn(G(L({},n),{[f]:h,[b]:m}));return G(L({},w),{data:{x:w.x-r,y:w.y-o}})})}}},zi=function(e){return e===void 0&&(e={}),{name:"size",options:e,fn(n){return ge(this,null,function*(){const{placement:r,rects:o,platform:a,elements:i}=n,Z=Je(e,n),{apply:l=()=>{}}=Z,c=ze(Z,["apply"]),u=yield Kt(n,c),d=Ce(r),g=Ze(r),b=Me(r)==="y",{width:f,height:h}=o.floating;let m,w;d==="top"||d==="bottom"?(m=d,w=g===((yield a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(w=d,m=g==="end"?"top":"bottom");const y=h-u.top-u.bottom,x=f-u.left-u.right,E=Re(h-u[m],y),z=Re(f-u[w],x),M=!n.middlewareData.shift;let j=E,U=z;if(b?U=g||M?Re(z,x):x:j=g||M?Re(E,y):y,M&&!g){const V=le(u.left,0),N=le(u.right,0),P=le(u.top,0),Y=le(u.bottom,0);b?U=f-2*(V!==0||N!==0?V+N:le(u.left,u.right)):j=h-2*(P!==0||Y!==0?P+Y:le(u.top,u.bottom))}yield l(G(L({},n),{availableWidth:U,availableHeight:j}));const q=yield a.getDimensions(i.floating);return f!==q.width||h!==q.height?{reset:{rects:!0}}:{}})}}};function gr(e){const t=ue(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ae(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=st(n)!==a||st(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function Xt(e){return X(e)?e:e.contextElement}function _e(e){const t=Xt(e);if(!ae(t))return Te(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=gr(t);let i=(a?st(n.width):n.width)/r,l=(a?st(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const Mi=Te(0);function hr(e){const t=ie(e);return!qt()||!t.visualViewport?Mi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Pi(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ie(e)?!1:t}function Pe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Xt(e);let i=Te(1);t&&(r?X(r)&&(i=_e(r)):i=_e(e));const l=Pi(a,n,r)?hr(a):Te(0);let c=(o.left+l.x)/i.x,u=(o.top+l.y)/i.y,d=o.width/i.x,g=o.height/i.y;if(a){const b=ie(a),f=r&&X(r)?ie(r):r;let h=b,m=h.frameElement;for(;m&&r&&f!==h;){const w=_e(m),y=m.getBoundingClientRect(),x=ue(m),E=y.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,z=y.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,g*=w.y,c+=E,u+=z,h=ie(m),m=h.frameElement}}return ut({width:d,height:g,x:c,y:u})}function Hi(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a=o==="fixed",i=pe(r),l=t?ht(t.floating):!1;if(r===i||l&&a)return n;let c={scrollLeft:0,scrollTop:0},u=Te(1);const d=Te(0),g=ae(r);if((g||!g&&!a)&&((Ie(r)!=="body"||Xe(i))&&(c=mt(r)),ae(r))){const b=Pe(r);u=_e(r),d.x=b.x+r.clientLeft,d.y=b.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x,y:n.y*u.y-c.scrollTop*u.y+d.y}}function Ai(e){return Array.from(e.getClientRects())}function mr(e){return Pe(pe(e)).left+mt(e).scrollLeft}function Oi(e){const t=pe(e),n=mt(e),r=e.ownerDocument.body,o=le(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=le(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+mr(e);const l=-n.scrollTop;return ue(r).direction==="rtl"&&(i+=le(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:l}}function Wi(e,t){const n=ie(e),r=pe(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,l=0,c=0;if(o){a=o.width,i=o.height;const u=qt();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:a,height:i,x:l,y:c}}function _i(e,t){const n=Pe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=ae(e)?_e(e):Te(1),i=e.clientWidth*a.x,l=e.clientHeight*a.y,c=o*a.x,u=r*a.y;return{width:i,height:l,x:c,y:u}}function zn(e,t,n){let r;if(t==="viewport")r=Wi(e,n);else if(t==="document")r=Oi(pe(e));else if(X(t))r=_i(t,n);else{const o=hr(e);r=G(L({},t),{x:t.x-o.x,y:t.y-o.y})}return ut(r)}function pr(e,t){const n=me(e);return n===t||!X(n)||Se(n)?!1:ue(n).position==="fixed"||pr(n,t)}function Di(e,t){const n=t.get(e);if(n)return n;let r=Ee(e,[],!1).filter(l=>X(l)&&Ie(l)!=="body"),o=null;const a=ue(e).position==="fixed";let i=a?me(e):e;for(;X(i)&&!Se(i);){const l=ue(i),c=Yt(i);!c&&l.position==="fixed"&&(o=null),(a?!c&&!o:!c&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Xe(i)&&!c&&pr(e,i))?r=r.filter(d=>d!==i):o=l,i=me(i)}return t.set(e,r),r}function Fi(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?ht(t)?[]:Di(t,this._c):[].concat(n),r],l=i[0],c=i.reduce((u,d)=>{const g=zn(t,d,o);return u.top=le(g.top,u.top),u.right=Re(g.right,u.right),u.bottom=Re(g.bottom,u.bottom),u.left=le(g.left,u.left),u},zn(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ii(e){const{width:t,height:n}=gr(e);return{width:t,height:n}}function Bi(e,t,n){const r=ae(t),o=pe(t),a=n==="fixed",i=Pe(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const c=Te(0);if(r||!r&&!a)if((Ie(t)!=="body"||Xe(o))&&(l=mt(t)),r){const g=Pe(t,!0,a,t);c.x=g.x+t.clientLeft,c.y=g.y+t.clientTop}else o&&(c.x=mr(o));const u=i.left+l.scrollLeft-c.x,d=i.top+l.scrollTop-c.y;return{x:u,y:d,width:i.width,height:i.height}}function Tt(e){return ue(e).position==="static"}function Mn(e,t){return!ae(e)||ue(e).position==="fixed"?null:t?t(e):e.offsetParent}function vr(e,t){const n=ie(e);if(ht(e))return n;if(!ae(e)){let o=me(e);for(;o&&!Se(o);){if(X(o)&&!Tt(o))return o;o=me(o)}return n}let r=Mn(e,t);for(;r&&Vo(r)&&Tt(r);)r=Mn(r,t);return r&&Se(r)&&Tt(r)&&!Yt(r)?n:r||Go(e)||n}const ji=function(e){return ge(this,null,function*(){const t=this.getOffsetParent||vr,n=this.getDimensions,r=yield n(e.floating);return{reference:Bi(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function Ni(e){return ue(e).direction==="rtl"}const $i={convertOffsetParentRelativeRectToViewportRelativeRect:Hi,getDocumentElement:pe,getClippingRect:Fi,getOffsetParent:vr,getElementRects:ji,getClientRects:Ai,getDimensions:Ii,getScale:_e,isElement:X,isRTL:Ni};function Vi(e,t){let n=null,r;const o=pe(e);function a(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function i(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),a();const{left:u,top:d,width:g,height:b}=e.getBoundingClientRect();if(l||t(),!g||!b)return;const f=it(d),h=it(o.clientWidth-(u+g)),m=it(o.clientHeight-(d+b)),w=it(u),x={rootMargin:-f+"px "+-h+"px "+-m+"px "+-w+"px",threshold:le(0,Re(1,c))||1};let E=!0;function z(M){const j=M[0].intersectionRatio;if(j!==c){if(!E)return i();j?i(!1,j):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E=!1}try{n=new IntersectionObserver(z,G(L({},x),{root:o.ownerDocument}))}catch(M){n=new IntersectionObserver(z,x)}n.observe(e)}return i(!0),a}function Gi(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Xt(e),d=o||a?[...u?Ee(u):[],...Ee(t)]:[];d.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),a&&y.addEventListener("resize",n)});const g=u&&l?Vi(u,n):null;let b=-1,f=null;i&&(f=new ResizeObserver(y=>{let[x]=y;x&&x.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var E;(E=f)==null||E.observe(t)})),n()}),u&&!c&&f.observe(u),f.observe(t));let h,m=c?Pe(e):null;c&&w();function w(){const y=Pe(e);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&n(),m=y,h=requestAnimationFrame(w)}return n(),()=>{var y;d.forEach(x=>{o&&x.removeEventListener("scroll",n),a&&x.removeEventListener("resize",n)}),g==null||g(),(y=f)==null||y.disconnect(),f=null,c&&cancelAnimationFrame(h)}}const Ui=ki,Yi=Li,qi=Ti,Ki=zi,Xi=(e,t,n)=>{const r=new Map,o=L({platform:$i},n),a=G(L({},o.platform),{_c:r});return Si(e,t,G(L({},o),{platform:a}))};var at=typeof document!="undefined"?te.useLayoutEffect:te.useEffect;function gt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!gt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!gt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function br(e){return typeof window=="undefined"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pn(e,t){const n=br(e);return Math.round(t*n)/n}function Hn(e){const t=p.useRef(e);return at(()=>{t.current=e}),t}function Ji(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,g]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,f]=p.useState(r);gt(b,r)||f(r);const[h,m]=p.useState(null),[w,y]=p.useState(null),x=p.useCallback(C=>{C!==j.current&&(j.current=C,m(C))},[]),E=p.useCallback(C=>{C!==U.current&&(U.current=C,y(C))},[]),z=a||h,M=i||w,j=p.useRef(null),U=p.useRef(null),q=p.useRef(d),Z=c!=null,V=Hn(c),N=Hn(o),P=p.useCallback(()=>{if(!j.current||!U.current)return;const C={placement:t,strategy:n,middleware:b};N.current&&(C.platform=N.current),Xi(j.current,U.current,C).then(k=>{const B=G(L({},k),{isPositioned:!0});Y.current&&!gt(q.current,B)&&(q.current=B,Vn.flushSync(()=>{g(B)}))})},[b,t,n,N]);at(()=>{u===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,g(C=>G(L({},C),{isPositioned:!1})))},[u]);const Y=p.useRef(!1);at(()=>(Y.current=!0,()=>{Y.current=!1}),[]),at(()=>{if(z&&(j.current=z),M&&(U.current=M),z&&M){if(V.current)return V.current(z,M,P);P()}},[z,M,P,V,Z]);const H=p.useMemo(()=>({reference:j,floating:U,setReference:x,setFloating:E}),[x,E]),T=p.useMemo(()=>({reference:z,floating:M}),[z,M]),S=p.useMemo(()=>{const C={position:n,left:0,top:0};if(!T.floating)return C;const k=Pn(T.floating,d.x),B=Pn(T.floating,d.y);return l?L(G(L({},C),{transform:"translate("+k+"px, "+B+"px)"}),br(T.floating)>=1.5&&{willChange:"transform"}):{position:n,left:k,top:B}},[n,l,T.floating,d.x,d.y]);return p.useMemo(()=>G(L({},d),{update:P,refs:H,elements:T,floatingStyles:S}),[d,P,H,T,S])}const Zi=(e,t)=>G(L({},Ui(e)),{options:[e,t]}),Qi=(e,t)=>G(L({},Yi(e)),{options:[e,t]}),ea=(e,t)=>G(L({},qi(e)),{options:[e,t]}),ta=(e,t)=>G(L({},Ki(e)),{options:[e,t]}),xr=L({},p),na=xr.useInsertionEffect,ra=na||(e=>e());function ye(e){const t=p.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return ra(()=>{t.current=e}),p.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}var de=typeof document!="undefined"?te.useLayoutEffect:te.useEffect;function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nt.apply(this,arguments)}let An=!1,oa=0;const On=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+oa++;function ia(){const[e,t]=p.useState(()=>An?On():void 0);return de(()=>{e==null&&t(On())},[]),p.useEffect(()=>{An=!0},[]),e}const aa=xr.useId,Jt=aa||ia;let $t;process.env.NODE_ENV!=="production"&&($t=new Set);function la(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=$t)!=null&&e.has(o))){var a;(a=$t)==null||a.add(o),console.error(o)}}function sa(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const ca=p.createContext(null),ua=p.createContext(null),Zt=()=>{var e;return((e=p.useContext(ca))==null?void 0:e.id)||null},Qt=()=>p.useContext(ua);function Qe(e){return"data-floating-ui-"+e}function Ct(e){const t=te.useRef(e);return de(()=>{t.current=e}),t}const Wn=Qe("safe-polygon");function kt(e,t,n){return n&&!qe(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function da(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:a,elements:i}=e,{enabled:l=!0,delay:c=0,handleClose:u=null,mouseOnly:d=!1,restMs:g=0,move:b=!0}=t,f=Qt(),h=Zt(),m=Ct(u),w=Ct(c),y=Ct(n),x=p.useRef(),E=p.useRef(-1),z=p.useRef(),M=p.useRef(-1),j=p.useRef(!0),U=p.useRef(!1),q=p.useRef(()=>{}),Z=p.useCallback(()=>{var T;const S=(T=o.current.openEvent)==null?void 0:T.type;return(S==null?void 0:S.includes("mouse"))&&S!=="mousedown"},[o]);p.useEffect(()=>{if(!l)return;function T(S){let{open:C}=S;C||(clearTimeout(E.current),clearTimeout(M.current),j.current=!0)}return a.on("openchange",T),()=>{a.off("openchange",T)}},[l,a]),p.useEffect(()=>{if(!l||!m.current||!n)return;function T(C){Z()&&r(!1,C,"hover")}const S=we(i.floating).documentElement;return S.addEventListener("mouseleave",T),()=>{S.removeEventListener("mouseleave",T)}},[i.floating,n,r,l,m,Z]);const V=p.useCallback(function(T,S,C){S===void 0&&(S=!0),C===void 0&&(C="hover");const k=kt(w.current,"close",x.current);k&&!z.current?(clearTimeout(E.current),E.current=window.setTimeout(()=>r(!1,T,C),k)):S&&(clearTimeout(E.current),r(!1,T,C))},[w,r]),N=ye(()=>{q.current(),z.current=void 0}),P=ye(()=>{if(U.current){const T=we(i.floating).body;T.style.pointerEvents="",T.removeAttribute(Wn),U.current=!1}});p.useEffect(()=>{if(!l)return;function T(){return o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1}function S(A){if(clearTimeout(E.current),j.current=!1,d&&!qe(x.current)||g>0&&!kt(w.current,"open"))return;const _=kt(w.current,"open",x.current);_?E.current=window.setTimeout(()=>{y.current||r(!0,A,"hover")},_):r(!0,A,"hover")}function C(A){if(T())return;q.current();const _=we(i.floating);if(clearTimeout(M.current),m.current&&o.current.floatingContext){n||clearTimeout(E.current),z.current=m.current(G(L({},o.current.floatingContext),{tree:f,x:A.clientX,y:A.clientY,onClose(){P(),N(),V(A,!0,"safe-polygon")}}));const ke=z.current;_.addEventListener("mousemove",ke),q.current=()=>{_.removeEventListener("mousemove",ke)};return}(x.current==="touch"?!De(i.floating,A.relatedTarget):!0)&&V(A)}function k(A){T()||o.current.floatingContext&&(m.current==null||m.current(G(L({},o.current.floatingContext),{tree:f,x:A.clientX,y:A.clientY,onClose(){P(),N(),V(A)}}))(A))}if(X(i.domReference)){var B;const A=i.domReference;return n&&A.addEventListener("mouseleave",k),(B=i.floating)==null||B.addEventListener("mouseleave",k),b&&A.addEventListener("mousemove",S,{once:!0}),A.addEventListener("mouseenter",S),A.addEventListener("mouseleave",C),()=>{var _;n&&A.removeEventListener("mouseleave",k),(_=i.floating)==null||_.removeEventListener("mouseleave",k),b&&A.removeEventListener("mousemove",S),A.removeEventListener("mouseenter",S),A.removeEventListener("mouseleave",C)}}},[i,l,e,d,g,b,V,N,P,r,n,y,f,w,m,o]),de(()=>{var T;if(l&&n&&(T=m.current)!=null&&T.__options.blockPointerEvents&&Z()){const C=we(i.floating).body;C.setAttribute(Wn,""),C.style.pointerEvents="none",U.current=!0;const k=i.floating;if(X(i.domReference)&&k){var S;const B=i.domReference,A=f==null||(S=f.nodesRef.current.find(_=>_.id===h))==null||(S=S.context)==null?void 0:S.elements.floating;return A&&(A.style.pointerEvents=""),B.style.pointerEvents="auto",k.style.pointerEvents="auto",()=>{B.style.pointerEvents="",k.style.pointerEvents=""}}}},[l,n,h,i,f,m,Z]),de(()=>{n||(x.current=void 0,N(),P())},[n,N,P]),p.useEffect(()=>()=>{N(),clearTimeout(E.current),clearTimeout(M.current),P()},[l,i.domReference,N,P]);const Y=p.useMemo(()=>{function T(S){x.current=S.pointerType}return{onPointerDown:T,onPointerEnter:T,onMouseMove(S){const{nativeEvent:C}=S;function k(){!j.current&&!y.current&&r(!0,C,"hover")}d&&!qe(x.current)||n||g===0||(clearTimeout(M.current),x.current==="touch"?k():M.current=window.setTimeout(k,g))}}},[d,r,n,y,g]),H=p.useMemo(()=>({onMouseEnter(){clearTimeout(E.current)},onMouseLeave(T){V(T.nativeEvent,!1)}}),[V]);return p.useMemo(()=>l?{reference:Y,floating:H}:{},[l,Y,H])}function Lt(e,t){let n=e.filter(o=>{var a;return o.parentId===t&&((a=o.context)==null?void 0:a.open)}),r=n;for(;r.length;)r=e.filter(o=>{var a;return(a=r)==null?void 0:a.some(i=>{var l;return o.parentId===i.id&&((l=o.context)==null?void 0:l.open)})}),n=n.concat(r);return n}const yr=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function wr(e,t){const n=fr(e,yr());t==="prev"&&n.reverse();const r=n.indexOf(It(we(e)));return n.slice(r+1)[0]}function fa(){return wr(document.body,"next")}function ga(){return wr(document.body,"prev")}function zt(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!De(n,r)}function ha(e){fr(e,yr()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function ma(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const Rr={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let pa;function _n(e){e.key==="Tab"&&(e.target,clearTimeout(pa))}const Dn=p.forwardRef(function(t,n){const[r,o]=p.useState();de(()=>(rr()&&o("button"),document.addEventListener("keydown",_n),()=>{document.removeEventListener("keydown",_n)}),[]);const a={ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,[Qe("focus-guard")]:"",style:Rr};return p.createElement("span",Nt({},t,a))}),Er=p.createContext(null),Fn=Qe("portal");function va(e){e===void 0&&(e={});const{id:t,root:n}=e,r=Jt(),o=xa(),[a,i]=p.useState(null),l=p.useRef(null);return de(()=>()=>{a==null||a.remove(),queueMicrotask(()=>{l.current=null})},[a]),de(()=>{if(!r||l.current)return;const c=t?document.getElementById(t):null;if(!c)return;const u=document.createElement("div");u.id=r,u.setAttribute(Fn,""),c.appendChild(u),l.current=u,i(u)},[t,r]),de(()=>{if(!r||l.current)return;let c=n||(o==null?void 0:o.portalNode);c&&!X(c)&&(c=c.current),c=c||document.body;let u=null;t&&(u=document.createElement("div"),u.id=t,c.appendChild(u));const d=document.createElement("div");d.id=r,d.setAttribute(Fn,""),c=u||c,c.appendChild(d),l.current=d,i(d)},[t,n,r,o]),a}function ba(e){const{children:t,id:n,root:r=null,preserveTabOrder:o=!0}=e,a=va({id:n,root:r}),[i,l]=p.useState(null),c=p.useRef(null),u=p.useRef(null),d=p.useRef(null),g=p.useRef(null),b=!!i&&!i.modal&&i.open&&o&&!!(r||a);return p.useEffect(()=>{if(!a||!o||i!=null&&i.modal)return;function f(h){a&&zt(h)&&(h.type==="focusin"?ma:ha)(a)}return a.addEventListener("focusin",f,!0),a.addEventListener("focusout",f,!0),()=>{a.removeEventListener("focusin",f,!0),a.removeEventListener("focusout",f,!0)}},[a,o,i==null?void 0:i.modal]),p.createElement(Er.Provider,{value:p.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:d,afterInsideRef:g,portalNode:a,setFocusManagerState:l}),[o,a])},b&&a&&p.createElement(Dn,{"data-type":"outside",ref:c,onFocus:f=>{if(zt(f,a)){var h;(h=d.current)==null||h.focus()}else{const m=ga()||(i==null?void 0:i.refs.domReference.current);m==null||m.focus()}}}),b&&a&&p.createElement("span",{"aria-owns":a.id,style:Rr}),a&&Vn.createPortal(t,a),b&&a&&p.createElement(Dn,{"data-type":"outside",ref:u,onFocus:f=>{if(zt(f,a)){var h;(h=g.current)==null||h.focus()}else{const m=fa()||(i==null?void 0:i.refs.domReference.current);m==null||m.focus(),i!=null&&i.closeOnFocusOut&&(i==null||i.onOpenChange(!1,f.nativeEvent))}}}))}const xa=()=>p.useContext(Er);function In(e){return ae(e.target)&&e.target.tagName==="BUTTON"}function Bn(e){return or(e)}function ya(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,elements:{domReference:a}}=e,{enabled:i=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0}=t,g=p.useRef(),b=p.useRef(!1),f=p.useMemo(()=>({onPointerDown(h){g.current=h.pointerType},onMouseDown(h){const m=g.current;h.button===0&&l!=="click"&&(qe(m,!0)&&u||(n&&c&&(!o.current.openEvent||o.current.openEvent.type==="mousedown")?r(!1,h.nativeEvent,"click"):(h.preventDefault(),r(!0,h.nativeEvent,"click"))))},onClick(h){const m=g.current;if(l==="mousedown"&&g.current){g.current=void 0;return}qe(m,!0)&&u||(n&&c&&(!o.current.openEvent||o.current.openEvent.type==="click")?r(!1,h.nativeEvent,"click"):r(!0,h.nativeEvent,"click"))},onKeyDown(h){g.current=void 0,!(h.defaultPrevented||!d||In(h))&&(h.key===" "&&!Bn(a)&&(h.preventDefault(),b.current=!0),h.key==="Enter"&&r(!(n&&c),h.nativeEvent,"click"))},onKeyUp(h){h.defaultPrevented||!d||In(h)||Bn(a)||h.key===" "&&b.current&&(b.current=!1,r(!(n&&c),h.nativeEvent,"click"))}}),[o,a,l,u,d,r,n,c]);return p.useMemo(()=>i?{reference:f}:{},[i,f])}const wa={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Ra={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},jn=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}};function Ea(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:a}=e,{enabled:i=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:d=!1,referencePressEvent:g="pointerdown",ancestorScroll:b=!1,bubbles:f,capture:h}=t,m=Qt(),w=ye(typeof c=="function"?c:()=>!1),y=typeof c=="function"?w:c,x=p.useRef(!1),E=p.useRef(!1),{escapeKey:z,outsidePress:M}=jn(f),{escapeKey:j,outsidePress:U}=jn(h),q=ye(H=>{var T;if(!n||!i||!l||H.key!=="Escape")return;const S=(T=a.current.floatingContext)==null?void 0:T.nodeId,C=m?Lt(m.nodesRef.current,S):[];if(!z&&(H.stopPropagation(),C.length>0)){let k=!0;if(C.forEach(B=>{var A;if((A=B.context)!=null&&A.open&&!B.context.dataRef.current.__escapeKeyBubbles){k=!1;return}}),!k)return}r(!1,Ko(H)?H.nativeEvent:H,"escape-key")}),Z=ye(H=>{var T;const S=()=>{var C;q(H),(C=Oe(H))==null||C.removeEventListener("keydown",S)};(T=Oe(H))==null||T.addEventListener("keydown",S)}),V=ye(H=>{var T;const S=x.current;x.current=!1;const C=E.current;if(E.current=!1,u==="click"&&C||S||typeof y=="function"&&!y(H))return;const k=Oe(H),B="["+Qe("inert")+"]",A=we(o.floating).querySelectorAll(B);let _=X(k)?k:null;for(;_&&!Se(_);){const re=me(_);if(Se(re)||!X(re))break;_=re}if(A.length&&X(k)&&!Xo(k)&&!De(k,o.floating)&&Array.from(A).every(re=>!De(_,re)))return;if(ae(k)&&Y){const re=k.clientWidth>0&&k.scrollWidth>k.clientWidth,se=k.clientHeight>0&&k.scrollHeight>k.clientHeight;let fe=se&&H.offsetX>k.clientWidth;if(se&&ue(k).direction==="rtl"&&(fe=H.offsetX<=k.offsetWidth-k.clientWidth),fe||re&&H.offsetY>k.clientHeight)return}const ve=(T=a.current.floatingContext)==null?void 0:T.nodeId,ke=m&&Lt(m.nodesRef.current,ve).some(re=>{var se;return St(H,(se=re.context)==null?void 0:se.elements.floating)});if(St(H,o.floating)||St(H,o.domReference)||ke)return;const et=m?Lt(m.nodesRef.current,ve):[];if(et.length>0){let re=!0;if(et.forEach(se=>{var fe;if((fe=se.context)!=null&&fe.open&&!se.context.dataRef.current.__outsidePressBubbles){re=!1;return}}),!re)return}r(!1,H,"outside-press")}),N=ye(H=>{var T;const S=()=>{var C;V(H),(C=Oe(H))==null||C.removeEventListener(u,S)};(T=Oe(H))==null||T.addEventListener(u,S)});p.useEffect(()=>{if(!n||!i)return;a.current.__escapeKeyBubbles=z,a.current.__outsidePressBubbles=M;function H(C){r(!1,C,"ancestor-scroll")}const T=we(o.floating);l&&T.addEventListener("keydown",j?Z:q,j),y&&T.addEventListener(u,U?N:V,U);let S=[];return b&&(X(o.domReference)&&(S=Ee(o.domReference)),X(o.floating)&&(S=S.concat(Ee(o.floating))),!X(o.reference)&&o.reference&&o.reference.contextElement&&(S=S.concat(Ee(o.reference.contextElement)))),S=S.filter(C=>{var k;return C!==((k=T.defaultView)==null?void 0:k.visualViewport)}),S.forEach(C=>{C.addEventListener("scroll",H,{passive:!0})}),()=>{l&&T.removeEventListener("keydown",j?Z:q,j),y&&T.removeEventListener(u,U?N:V,U),S.forEach(C=>{C.removeEventListener("scroll",H)})}},[a,o,l,y,u,n,r,b,i,z,M,q,j,Z,V,U,N]),p.useEffect(()=>{x.current=!1},[y,u]);const P=p.useMemo(()=>({onKeyDown:q,[wa[g]]:H=>{d&&r(!1,H.nativeEvent,"reference-press")}}),[q,r,d,g]),Y=p.useMemo(()=>({onKeyDown:q,onMouseDown(){E.current=!0},onMouseUp(){E.current=!0},[Ra[u]]:()=>{x.current=!0}}),[q,u]);return p.useMemo(()=>i?{reference:P,floating:Y}:{},[i,P,Y])}function Sa(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=Jt(),a=p.useRef({}),[i]=p.useState(()=>sa()),l=Zt()!=null;if(process.env.NODE_ENV!=="production"){const f=r.reference;f&&!X(f)&&la("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,u]=p.useState(r.reference),d=ye((f,h,m)=>{a.current.openEvent=f?h:void 0,i.emit("openchange",{open:f,event:h,reason:m,nested:l}),n==null||n(f,h,m)}),g=p.useMemo(()=>({setPositionReference:u}),[]),b=p.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return p.useMemo(()=>({dataRef:a,open:t,onOpenChange:d,elements:b,events:i,floatingId:o,refs:g}),[t,d,b,i,o,g])}function Ta(e){e===void 0&&(e={});const{nodeId:t}=e,n=Sa(G(L({},e),{elements:L({reference:null,floating:null},e.elements)})),r=e.rootContext||n,o=r.elements,[a,i]=p.useState(null),[l,c]=p.useState(null),d=(o==null?void 0:o.reference)||a,g=p.useRef(null),b=Qt();de(()=>{d&&(g.current=d)},[d]);const f=Ji(G(L({},e),{elements:L(L({},o),l&&{reference:l})})),h=p.useCallback(E=>{const z=X(E)?{getBoundingClientRect:()=>E.getBoundingClientRect(),contextElement:E}:E;c(z),f.refs.setReference(z)},[f.refs]),m=p.useCallback(E=>{(X(E)||E===null)&&(g.current=E,i(E)),(X(f.refs.reference.current)||f.refs.reference.current===null||E!==null&&!X(E))&&f.refs.setReference(E)},[f.refs]),w=p.useMemo(()=>G(L({},f.refs),{setReference:m,setPositionReference:h,domReference:g}),[f.refs,m,h]),y=p.useMemo(()=>G(L({},f.elements),{domReference:d}),[f.elements,d]),x=p.useMemo(()=>G(L(L({},f),r),{refs:w,elements:y,nodeId:t}),[f,w,y,t,r]);return de(()=>{r.dataRef.current.floatingContext=x;const E=b==null?void 0:b.nodesRef.current.find(z=>z.id===t);E&&(E.context=x)}),p.useMemo(()=>G(L({},f),{context:x,refs:w,elements:y}),[f,w,y,x])}function Ca(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,events:o,dataRef:a,elements:i}=e,{enabled:l=!0,visibleOnly:c=!0}=t,u=p.useRef(!1),d=p.useRef(),g=p.useRef(!0);p.useEffect(()=>{if(!l)return;const f=ie(i.domReference);function h(){!n&&ae(i.domReference)&&i.domReference===It(we(i.domReference))&&(u.current=!0)}function m(){g.current=!0}return f.addEventListener("blur",h),f.addEventListener("keydown",m,!0),()=>{f.removeEventListener("blur",h),f.removeEventListener("keydown",m,!0)}},[i.domReference,n,l]),p.useEffect(()=>{if(!l)return;function f(h){let{reason:m}=h;(m==="reference-press"||m==="escape-key")&&(u.current=!0)}return o.on("openchange",f),()=>{o.off("openchange",f)}},[o,l]),p.useEffect(()=>()=>{clearTimeout(d.current)},[]);const b=p.useMemo(()=>({onPointerDown(f){Uo(f.nativeEvent)||(g.current=!1)},onMouseLeave(){u.current=!1},onFocus(f){if(u.current)return;const h=Oe(f.nativeEvent);if(c&&X(h))try{if(rr()&&Yo())throw Error();if(!h.matches(":focus-visible"))return}catch(m){if(!g.current&&!or(h))return}r(!0,f.nativeEvent,"focus")},onBlur(f){u.current=!1;const h=f.relatedTarget,m=f.nativeEvent,w=X(h)&&h.hasAttribute(Qe("focus-guard"))&&h.getAttribute("data-type")==="outside";d.current=window.setTimeout(()=>{var y;const x=It(i.domReference?i.domReference.ownerDocument:document);!h&&x===i.domReference||De((y=a.current.floatingContext)==null?void 0:y.refs.floating.current,x)||De(i.domReference,x)||w||r(!1,m,"focus")})}}),[a,i.domReference,r,c]);return p.useMemo(()=>l?{reference:b}:{},[l,b])}const Mt="active",Pt="selected";function Ht(e,t,n){const r=new Map,o=n==="item";let a=e;if(o&&e){const i=e,{[Mt]:l,[Pt]:c}=i;a=ze(i,[Rt(Mt),Rt(Pt)])}return L(L(L({},n==="floating"&&{tabIndex:-1}),a),t.map(l=>{const c=l?l[n]:null;return typeof c=="function"?e?c(e):null:c}).concat(e).reduce((l,c)=>(c&&Object.entries(c).forEach(u=>{let[d,g]=u;if(!(o&&[Mt,Pt].includes(d)))if(d.indexOf("on")===0){if(r.has(d)||r.set(d,[]),typeof g=="function"){var b;(b=r.get(d))==null||b.push(g),l[d]=function(){for(var f,h=arguments.length,m=new Array(h),w=0;w<h;w++)m[w]=arguments[w];return(f=r.get(d))==null?void 0:f.map(y=>y(...m)).find(y=>y!==void 0)}}}else l[d]=g}),l),{}))}function ka(e){e===void 0&&(e=[]);const t=e.map(l=>l==null?void 0:l.reference),n=e.map(l=>l==null?void 0:l.floating),r=e.map(l=>l==null?void 0:l.item),o=p.useCallback(l=>Ht(l,e,"reference"),t),a=p.useCallback(l=>Ht(l,e,"floating"),n),i=p.useCallback(l=>Ht(l,e,"item"),r);return p.useMemo(()=>({getReferenceProps:o,getFloatingProps:a,getItemProps:i}),[o,a,i])}const La=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function za(e,t){var n;t===void 0&&(t={});const{open:r,floatingId:o}=e,{enabled:a=!0,role:i="dialog"}=t,l=(n=La.get(i))!=null?n:i,c=Jt(),d=Zt()!=null,g=p.useMemo(()=>l==="tooltip"||i==="label"?{["aria-"+(i==="label"?"labelledby":"describedby")]:r?o:void 0}:L(L(L(L(L({"aria-expanded":r?"true":"false","aria-haspopup":l==="alertdialog"?"dialog":l,"aria-controls":r?o:void 0},l==="listbox"&&{role:"combobox"}),l==="menu"&&{id:c}),l==="menu"&&d&&{role:"menuitem"}),i==="select"&&{"aria-autocomplete":"none"}),i==="combobox"&&{"aria-autocomplete":"list"}),[l,o,d,r,c,i]),b=p.useMemo(()=>{const h=L({id:o},l&&{role:l});return l==="tooltip"||i==="label"?h:L(L({},h),l==="menu"&&{"aria-labelledby":c})},[l,o,c,i]),f=p.useCallback(h=>{let{active:m,selected:w}=h;const y=L({role:"option"},m&&{id:o+"-option"});switch(i){case"select":return G(L({},y),{"aria-selected":m&&w});case"combobox":return L(L({},y),m&&{"aria-selected":!0})}return{}},[o,i]);return p.useMemo(()=>a?{reference:g,floating:b,item:f}:{},[a,g,b,f])}const Ma={slideUp:"slideDown",slideDown:"slideUp",slideLeft:"slideRight",slideRight:"slideLeft",fadeIn:"fadeOut"},Sr=te.forwardRef((e,t)=>{const y=e,{show:n,handleClose:r,animation:o="slideDown",marginTop:a,maxWidth:i,children:l,className:c,contentClassName:u}=y,d=ze(y,["show","handleClose","animation","marginTop","maxWidth","children","className","contentClassName"]),[g,b]=te.useState(n),f=Ma[o];te.useEffect(()=>{const x=document.documentElement;return n?x.classList.add("modal-animated-open"):x.classList.remove("modal-animated-open"),()=>{x.classList.remove("modal-animated-open")}},[n]);const h=()=>{b(n)},m={marginTop:a?`${a}`:void 0,maxWidth:i?`${i}`:void 0},w=F.jsxs("div",G(L({ref:t,className:lt("modal-animated",n||g?"show":"hide",c)},d),{children:[F.jsx("div",{className:"modal-animated-backdrop",onClick:r}),F.jsx("div",{className:lt("modal-animated-content",n?o+"Open":f+"Close",u),style:m,onClick:x=>x.stopPropagation(),onAnimationEnd:h,children:l})]}));return Nn.createPortal(w,document.body)});Sr.displayName="AnimatedModal";const Tr=Number(Ut.theme.screens["ds-tablet"].min.replace("px","")),Cr=Number(Ut.theme.screens["ds-desktop"].min.replace("px","")),Vt=e=>e<Tr?"mobile":e<Cr?"tablet":"desktop",Pa=()=>{const[e,t]=te.useState(document.documentElement.clientWidth),[n,r]=te.useState(document.documentElement.clientHeight),[o,a]=te.useState(Vt(document.documentElement.clientWidth));return te.useEffect(()=>{const i=()=>{t(document.documentElement.clientWidth),r(document.documentElement.clientHeight),a(Vt(document.documentElement.clientWidth))};return window.addEventListener("resize",i),i(),()=>{window.removeEventListener("resize",i)}},[]),{documentWidth:e,documentHeight:n,screenSize:o}},kr=te.forwardRef(({label:e,isChecked:t,onSelectionChange:n,onClick:r,disabled:o,className:a,labelPosition:i="right"},l)=>F.jsxs("label",{className:Ye("custom-checkbox ds-flex ds-cursor-pointer ds-items-center ds-gap-2 ds-text-xSmallSubheadRegular ds-tablet:ds-text-xSmallSubheadRegular ds-desktop:ds-text-mediumSubHeadRegular",o&&"ds-cursor-default",i==="left"&&"ds-flex-row-reverse",a),children:[F.jsx("input",{className:"ds-hidden",id:"checkBox",name:"checkBox",type:"checkbox",checked:t,onChange:n,disabled:o,ref:l}),F.jsx("div",{className:"checkmark ds-flex-shrink-0",onClick:r}),e&&F.jsx("div",{className:"ds-flex-grow",children:e})]}));kr.displayName="Checkbox";exports.AnimatedModal=Sr;exports.Button=Zn;exports.ButtonIconWrapper=Dt;exports.Checkbox=kr;exports.CheckmarkIcon=No;exports.ChevronDownRegularIcon=$o;exports.CloseIcon=jo;exports.FloatingPortal=ba;exports.autoUpdate=Gi;exports.clsx=Jn;exports.cn=Ye;exports.desktopMinWidth=Cr;exports.flip=ea;exports.formatCurrency=Io;exports.getScreenSize=Vt;exports.jsxRuntimeExports=F;exports.offset=Zi;exports.shift=Qi;exports.size=ta;exports.tabletMinWidth=Tr;exports.twMerge=lt;exports.useClick=ya;exports.useDismiss=Ea;exports.useDocumentSize=Pa;exports.useFloating=Ta;exports.useFocus=Ca;exports.useHover=da;exports.useInteractions=ka;exports.useRole=za;