@hxtos/hx-components 0.37.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +5961 -5932
- package/dist/index.umd.js +42 -42
- package/dist/src/components/UserMenu/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Me,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],b):(Me=typeof globalThis<"u"?globalThis:Me||self,b(Me["@hxtos/hx-components"]={},Me.React,Me.ReactDOM))})(this,function(Me,b,Uu){"use strict";function
|
|
1
|
+
(function(Me,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],b):(Me=typeof globalThis<"u"?globalThis:Me||self,b(Me["@hxtos/hx-components"]={},Me.React,Me.ReactDOM))})(this,function(Me,b,Uu){"use strict";function H4(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const ae=H4(b);var ar=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ju={exports:{}},Ko={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Yh;function W4(){if(Yh)return Ko;Yh=1;var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(u,c,f){var h,p={},m=null,v=null;f!==void 0&&(m=""+f),c.key!==void 0&&(m=""+c.key),c.ref!==void 0&&(v=c.ref);for(h in c)r.call(c,h)&&!a.hasOwnProperty(h)&&(p[h]=c[h]);if(u&&u.defaultProps)for(h in c=u.defaultProps,c)p[h]===void 0&&(p[h]=c[h]);return{$$typeof:t,type:u,key:m,ref:v,props:p,_owner:i.current}}return Ko.Fragment=n,Ko.jsx=l,Ko.jsxs=l,Ko}var qo={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -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
|
|
18
|
-
`+
|
|
17
|
+
*/var Jh;function X4(){return Jh||(Jh=1,process.env.NODE_ENV!=="production"&&function(){var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),I=Symbol.iterator,x="@@iterator";function E(C){if(C===null||typeof C!="object")return null;var N=I&&C[I]||C[x];return typeof N=="function"?N:null}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function F(C){{for(var N=arguments.length,X=new Array(N>1?N-1:0),ce=1;ce<N;ce++)X[ce-1]=arguments[ce];M("error",C,X)}}function M(C,N,X){{var ce=_.ReactDebugCurrentFrame,we=ce.getStackAddendum();we!==""&&(N+="%s",X=X.concat([we]));var _e=X.map(function(ve){return String(ve)});_e.unshift("Warning: "+N),Function.prototype.apply.call(console[C],console,_e)}}var $=!1,D=!1,H=!1,z=!1,U=!1,se;se=Symbol.for("react.module.reference");function Ae(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||U||C===i||C===f||C===h||z||C===v||$||D||H||typeof C=="object"&&C!==null&&(C.$$typeof===m||C.$$typeof===p||C.$$typeof===l||C.$$typeof===u||C.$$typeof===c||C.$$typeof===se||C.getModuleId!==void 0))}function Xe(C,N,X){var ce=C.displayName;if(ce)return ce;var we=N.displayName||N.name||"";return we!==""?X+"("+we+")":X}function Ge(C){return C.displayName||"Context"}function pe(C){if(C==null)return null;if(typeof C.tag=="number"&&F("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case h:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case u:var N=C;return Ge(N)+".Consumer";case l:var X=C;return Ge(X._context)+".Provider";case c:return Xe(C,C.render,"ForwardRef");case p:var ce=C.displayName||null;return ce!==null?ce:pe(C.type)||"Memo";case m:{var we=C,_e=we._payload,ve=we._init;try{return pe(ve(_e))}catch{return null}}}return null}var Se=Object.assign,Te=0,be,Ve,ze,O,T,V,R;function y(){}y.__reactDisabledLog=!0;function k(){{if(Te===0){be=console.log,Ve=console.info,ze=console.warn,O=console.error,T=console.group,V=console.groupCollapsed,R=console.groupEnd;var C={configurable:!0,enumerable:!0,value:y,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}Te++}}function ee(){{if(Te--,Te===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Se({},C,{value:be}),info:Se({},C,{value:Ve}),warn:Se({},C,{value:ze}),error:Se({},C,{value:O}),group:Se({},C,{value:T}),groupCollapsed:Se({},C,{value:V}),groupEnd:Se({},C,{value:R})})}Te<0&&F("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var oe=_.ReactCurrentDispatcher,Z;function J(C,N,X){{if(Z===void 0)try{throw Error()}catch(we){var ce=we.stack.trim().match(/\n( *(at )?)/);Z=ce&&ce[1]||""}return`
|
|
18
|
+
`+Z+C}}var re=!1,ie;{var ue=typeof WeakMap=="function"?WeakMap:Map;ie=new ue}function K(C,N){if(!C||re)return"";{var X=ie.get(C);if(X!==void 0)return X}var ce;re=!0;var we=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _e;_e=oe.current,oe.current=null,k();try{if(N){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(ot){ce=ot}Reflect.construct(C,[],ve)}else{try{ve.call()}catch(ot){ce=ot}C.call(ve.prototype)}}else{try{throw Error()}catch(ot){ce=ot}C()}}catch(ot){if(ot&&ce&&typeof ot.stack=="string"){for(var me=ot.stack.split(`
|
|
19
19
|
`),st=ce.stack.split(`
|
|
20
20
|
`),We=me.length-1,Ue=st.length-1;We>=1&&Ue>=0&&me[We]!==st[Ue];)Ue--;for(;We>=1&&Ue>=0;We--,Ue--)if(me[We]!==st[Ue]){if(We!==1||Ue!==1)do if(We--,Ue--,Ue<0||me[We]!==st[Ue]){var mt=`
|
|
21
|
-
`+me[We].replace(" at new "," at ");return C.displayName&&mt.includes("<anonymous>")&&(mt=mt.replace("<anonymous>",C.displayName)),typeof C=="function"&&ie.set(C,mt),mt}while(We>=1&&Ue>=0);break}}}finally{re=!1,oe.current=_e,ee(),Error.prepareStackTrace=we}var kt=C?C.displayName||C.name:"",Wt=kt?J(kt):"";return typeof C=="function"&&ie.set(C,Wt),Wt}function fe(C,
|
|
21
|
+
`+me[We].replace(" at new "," at ");return C.displayName&&mt.includes("<anonymous>")&&(mt=mt.replace("<anonymous>",C.displayName)),typeof C=="function"&&ie.set(C,mt),mt}while(We>=1&&Ue>=0);break}}}finally{re=!1,oe.current=_e,ee(),Error.prepareStackTrace=we}var kt=C?C.displayName||C.name:"",Wt=kt?J(kt):"";return typeof C=="function"&&ie.set(C,Wt),Wt}function fe(C,N,X){return K(C,!1)}function q(C){var N=C.prototype;return!!(N&&N.isReactComponent)}function de(C,N,X){if(C==null)return"";if(typeof C=="function")return K(C,q(C));if(typeof C=="string")return J(C);switch(C){case f:return J("Suspense");case h:return J("SuspenseList")}if(typeof C=="object")switch(C.$$typeof){case c:return fe(C.render);case p:return de(C.type,N,X);case m:{var ce=C,we=ce._payload,_e=ce._init;try{return de(_e(we),N,X)}catch{}}}return""}var xe=Object.prototype.hasOwnProperty,ye={},je=_.ReactDebugCurrentFrame;function He(C){if(C){var N=C._owner,X=de(C.type,C._source,N?N.type:null);je.setExtraStackFrame(X)}else je.setExtraStackFrame(null)}function Qe(C,N,X,ce,we){{var _e=Function.call.bind(xe);for(var ve in C)if(_e(C,ve)){var me=void 0;try{if(typeof C[ve]!="function"){var st=Error((ce||"React class")+": "+X+" type `"+ve+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof C[ve]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw st.name="Invariant Violation",st}me=C[ve](N,ve,ce,X,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(We){me=We}me&&!(me instanceof Error)&&(He(we),F("%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).",ce||"React class",X,ve,typeof me),He(null)),me instanceof Error&&!(me.message in ye)&&(ye[me.message]=!0,He(we),F("Failed %s type: %s",X,me.message),He(null))}}}var at=Array.isArray;function lt(C){return at(C)}function Et(C){{var N=typeof Symbol=="function"&&Symbol.toStringTag,X=N&&C[Symbol.toStringTag]||C.constructor.name||"Object";return X}}function Jt(C){try{return Vt(C),!1}catch{return!0}}function Vt(C){return""+C}function Hn(C){if(Jt(C))return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Et(C)),Vt(C)}var un=_.ReactCurrentOwner,er={key:!0,ref:!0,__self:!0,__source:!0},xr,wr;function wi(C){if(xe.call(C,"ref")){var N=Object.getOwnPropertyDescriptor(C,"ref").get;if(N&&N.isReactWarning)return!1}return C.ref!==void 0}function Si(C){if(xe.call(C,"key")){var N=Object.getOwnPropertyDescriptor(C,"key").get;if(N&&N.isReactWarning)return!1}return C.key!==void 0}function Ii(C,N){typeof C.ref=="string"&&un.current}function Ei(C,N){{var X=function(){xr||(xr=!0,F("%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)",N))};X.isReactWarning=!0,Object.defineProperty(C,"key",{get:X,configurable:!0})}}function Ai(C,N){{var X=function(){wr||(wr=!0,F("%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)",N))};X.isReactWarning=!0,Object.defineProperty(C,"ref",{get:X,configurable:!0})}}var _i=function(C,N,X,ce,we,_e,ve){var me={$$typeof:t,type:C,key:N,ref:X,props:ve,_owner:_e};return me._store={},Object.defineProperty(me._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(me,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ce}),Object.defineProperty(me,"_source",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.freeze&&(Object.freeze(me.props),Object.freeze(me)),me};function Pi(C,N,X,ce,we){{var _e,ve={},me=null,st=null;X!==void 0&&(Hn(X),me=""+X),Si(N)&&(Hn(N.key),me=""+N.key),wi(N)&&(st=N.ref,Ii(N,we));for(_e in N)xe.call(N,_e)&&!er.hasOwnProperty(_e)&&(ve[_e]=N[_e]);if(C&&C.defaultProps){var We=C.defaultProps;for(_e in We)ve[_e]===void 0&&(ve[_e]=We[_e])}if(me||st){var Ue=typeof C=="function"?C.displayName||C.name||"Unknown":C;me&&Ei(ve,Ue),st&&Ai(ve,Ue)}return _i(C,me,st,we,ce,un.current,ve)}}var Sr=_.ReactCurrentOwner,Ti=_.ReactDebugCurrentFrame;function en(C){if(C){var N=C._owner,X=de(C.type,C._source,N?N.type:null);Ti.setExtraStackFrame(X)}else Ti.setExtraStackFrame(null)}var tr;tr=!1;function nr(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function Mi(){{if(Sr.current){var C=pe(Sr.current.type);if(C)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+C+"`."}return""}}function Ya(C){return""}var Oi={};function Ja(C){{var
|
|
23
|
+
Check the render method of \``+C+"`."}return""}}function Ya(C){return""}var Oi={};function Ja(C){{var N=Mi();if(!N){var X=typeof C=="string"?C:C.displayName||C.name;X&&(N=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+
|
|
25
|
+
Check the top-level render call using <`+X+">.")}return N}}function Yr(C,N){{if(!C._store||C._store.validated||C.key!=null)return;C._store.validated=!0;var X=Ja(N);if(Oi[X])return;Oi[X]=!0;var ce="";C&&C._owner&&C._owner!==Sr.current&&(ce=" It was passed a child from "+pe(C._owner.type)+"."),en(C),F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',X,ce),en(null)}}function Fi(C,N){{if(typeof C!="object")return;if(lt(C))for(var X=0;X<C.length;X++){var ce=C[X];nr(ce)&&Yr(ce,N)}else if(nr(C))C._store&&(C._store.validated=!0);else if(C){var we=E(C);if(typeof we=="function"&&we!==C.entries)for(var _e=we.call(C),ve;!(ve=_e.next()).done;)nr(ve.value)&&Yr(ve.value,N)}}}function Ka(C){{var N=C.type;if(N==null||typeof N=="string")return;var X;if(typeof N=="function")X=N.propTypes;else if(typeof N=="object"&&(N.$$typeof===c||N.$$typeof===p))X=N.propTypes;else return;if(X){var ce=pe(N);Qe(X,C.props,"prop",ce,C)}else if(N.PropTypes!==void 0&&!tr){tr=!0;var we=pe(N);F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",we||"Unknown")}typeof N.getDefaultProps=="function"&&!N.getDefaultProps.isReactClassApproved&&F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function qa(C){{for(var N=Object.keys(C.props),X=0;X<N.length;X++){var ce=N[X];if(ce!=="children"&&ce!=="key"){en(C),F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ce),en(null);break}}C.ref!==null&&(en(C),F("Invalid attribute `ref` supplied to `React.Fragment`."),en(null))}}var Ir={};function Ri(C,N,X,ce,we,_e){{var ve=Ae(C);if(!ve){var me="";(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(me+=" 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 st=Ya();st?me+=st:me+=Mi();var We;C===null?We="null":lt(C)?We="array":C!==void 0&&C.$$typeof===t?(We="<"+(pe(C.type)||"Unknown")+" />",me=" Did you accidentally export a JSX literal instead of a component?"):We=typeof C,F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,me)}var Ue=Pi(C,N,X,we,_e);if(Ue==null)return Ue;if(ve){var mt=N.children;if(mt!==void 0)if(ce)if(lt(mt)){for(var kt=0;kt<mt.length;kt++)Fi(mt[kt],C);Object.freeze&&Object.freeze(mt)}else F("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 Fi(mt,C)}if(xe.call(N,"key")){var Wt=pe(C),ot=Object.keys(N).filter(function(rs){return rs!=="key"}),Er=ot.length>0?"{key: someKey, "+ot.join(": ..., ")+": ...}":"{key: someKey}";if(!Ir[Wt+Er]){var ns=ot.length>0?"{"+ot.join(": ..., ")+": ...}":"{}";F(`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} />`,Er,Wt,ns,Wt),Ir[Wt+Er]=!0}}return C===r?qa(Ue):Ka(Ue),Ue}}function Vi(C,
|
|
30
|
+
<%s key={someKey} {...props} />`,Er,Wt,ns,Wt),Ir[Wt+Er]=!0}}return C===r?qa(Ue):Ka(Ue),Ue}}function Vi(C,N,X){return Ri(C,N,X,!0)}function Qa(C,N,X){return Ri(C,N,X,!1)}var es=Qa,ts=Vi;qo.Fragment=r,qo.jsx=es,qo.jsxs=ts}()),qo}process.env.NODE_ENV==="production"?Ju.exports=W4():Ju.exports=X4();var w=Ju.exports,Ku={exports:{}},Qo={};/**
|
|
31
31
|
* @license React
|
|
32
32
|
* react-jsx-runtime.production.min.js
|
|
33
33
|
*
|
|
@@ -35,7 +35,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
35
35
|
*
|
|
36
36
|
* This source code is licensed under the MIT license found in the
|
|
37
37
|
* LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/var
|
|
38
|
+
*/var Kh;function z4(){if(Kh)return Qo;Kh=1;var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(u,c,f){var h,p={},m=null,v=null;f!==void 0&&(m=""+f),c.key!==void 0&&(m=""+c.key),c.ref!==void 0&&(v=c.ref);for(h in c)r.call(c,h)&&!a.hasOwnProperty(h)&&(p[h]=c[h]);if(u&&u.defaultProps)for(h in c=u.defaultProps,c)p[h]===void 0&&(p[h]=c[h]);return{$$typeof:t,type:u,key:m,ref:v,props:p,_owner:i.current}}return Qo.Fragment=n,Qo.jsx=l,Qo.jsxs=l,Qo}var ys={};/**
|
|
39
39
|
* @license React
|
|
40
40
|
* react-jsx-runtime.development.js
|
|
41
41
|
*
|
|
@@ -43,24 +43,24 @@ React keys must be passed directly to JSX without using spread:
|
|
|
43
43
|
*
|
|
44
44
|
* This source code is licensed under the MIT license found in the
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/var
|
|
47
|
-
`+
|
|
46
|
+
*/var qh;function Z4(){return qh||(qh=1,process.env.NODE_ENV!=="production"&&function(){var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),I=Symbol.iterator,x="@@iterator";function E(C){if(C===null||typeof C!="object")return null;var N=I&&C[I]||C[x];return typeof N=="function"?N:null}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function F(C){{for(var N=arguments.length,X=new Array(N>1?N-1:0),ce=1;ce<N;ce++)X[ce-1]=arguments[ce];M("error",C,X)}}function M(C,N,X){{var ce=_.ReactDebugCurrentFrame,we=ce.getStackAddendum();we!==""&&(N+="%s",X=X.concat([we]));var _e=X.map(function(ve){return String(ve)});_e.unshift("Warning: "+N),Function.prototype.apply.call(console[C],console,_e)}}var $=!1,D=!1,H=!1,z=!1,U=!1,se;se=Symbol.for("react.module.reference");function Ae(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||U||C===i||C===f||C===h||z||C===v||$||D||H||typeof C=="object"&&C!==null&&(C.$$typeof===m||C.$$typeof===p||C.$$typeof===l||C.$$typeof===u||C.$$typeof===c||C.$$typeof===se||C.getModuleId!==void 0))}function Xe(C,N,X){var ce=C.displayName;if(ce)return ce;var we=N.displayName||N.name||"";return we!==""?X+"("+we+")":X}function Ge(C){return C.displayName||"Context"}function pe(C){if(C==null)return null;if(typeof C.tag=="number"&&F("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case h:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case u:var N=C;return Ge(N)+".Consumer";case l:var X=C;return Ge(X._context)+".Provider";case c:return Xe(C,C.render,"ForwardRef");case p:var ce=C.displayName||null;return ce!==null?ce:pe(C.type)||"Memo";case m:{var we=C,_e=we._payload,ve=we._init;try{return pe(ve(_e))}catch{return null}}}return null}var Se=Object.assign,Te=0,be,Ve,ze,O,T,V,R;function y(){}y.__reactDisabledLog=!0;function k(){{if(Te===0){be=console.log,Ve=console.info,ze=console.warn,O=console.error,T=console.group,V=console.groupCollapsed,R=console.groupEnd;var C={configurable:!0,enumerable:!0,value:y,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}Te++}}function ee(){{if(Te--,Te===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Se({},C,{value:be}),info:Se({},C,{value:Ve}),warn:Se({},C,{value:ze}),error:Se({},C,{value:O}),group:Se({},C,{value:T}),groupCollapsed:Se({},C,{value:V}),groupEnd:Se({},C,{value:R})})}Te<0&&F("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var oe=_.ReactCurrentDispatcher,Z;function J(C,N,X){{if(Z===void 0)try{throw Error()}catch(we){var ce=we.stack.trim().match(/\n( *(at )?)/);Z=ce&&ce[1]||""}return`
|
|
47
|
+
`+Z+C}}var re=!1,ie;{var ue=typeof WeakMap=="function"?WeakMap:Map;ie=new ue}function K(C,N){if(!C||re)return"";{var X=ie.get(C);if(X!==void 0)return X}var ce;re=!0;var we=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _e;_e=oe.current,oe.current=null,k();try{if(N){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(ot){ce=ot}Reflect.construct(C,[],ve)}else{try{ve.call()}catch(ot){ce=ot}C.call(ve.prototype)}}else{try{throw Error()}catch(ot){ce=ot}C()}}catch(ot){if(ot&&ce&&typeof ot.stack=="string"){for(var me=ot.stack.split(`
|
|
48
48
|
`),st=ce.stack.split(`
|
|
49
49
|
`),We=me.length-1,Ue=st.length-1;We>=1&&Ue>=0&&me[We]!==st[Ue];)Ue--;for(;We>=1&&Ue>=0;We--,Ue--)if(me[We]!==st[Ue]){if(We!==1||Ue!==1)do if(We--,Ue--,Ue<0||me[We]!==st[Ue]){var mt=`
|
|
50
|
-
`+me[We].replace(" at new "," at ");return C.displayName&&mt.includes("<anonymous>")&&(mt=mt.replace("<anonymous>",C.displayName)),typeof C=="function"&&ie.set(C,mt),mt}while(We>=1&&Ue>=0);break}}}finally{re=!1,oe.current=_e,ee(),Error.prepareStackTrace=we}var kt=C?C.displayName||C.name:"",Wt=kt?J(kt):"";return typeof C=="function"&&ie.set(C,Wt),Wt}function fe(C,
|
|
50
|
+
`+me[We].replace(" at new "," at ");return C.displayName&&mt.includes("<anonymous>")&&(mt=mt.replace("<anonymous>",C.displayName)),typeof C=="function"&&ie.set(C,mt),mt}while(We>=1&&Ue>=0);break}}}finally{re=!1,oe.current=_e,ee(),Error.prepareStackTrace=we}var kt=C?C.displayName||C.name:"",Wt=kt?J(kt):"";return typeof C=="function"&&ie.set(C,Wt),Wt}function fe(C,N,X){return K(C,!1)}function q(C){var N=C.prototype;return!!(N&&N.isReactComponent)}function de(C,N,X){if(C==null)return"";if(typeof C=="function")return K(C,q(C));if(typeof C=="string")return J(C);switch(C){case f:return J("Suspense");case h:return J("SuspenseList")}if(typeof C=="object")switch(C.$$typeof){case c:return fe(C.render);case p:return de(C.type,N,X);case m:{var ce=C,we=ce._payload,_e=ce._init;try{return de(_e(we),N,X)}catch{}}}return""}var xe=Object.prototype.hasOwnProperty,ye={},je=_.ReactDebugCurrentFrame;function He(C){if(C){var N=C._owner,X=de(C.type,C._source,N?N.type:null);je.setExtraStackFrame(X)}else je.setExtraStackFrame(null)}function Qe(C,N,X,ce,we){{var _e=Function.call.bind(xe);for(var ve in C)if(_e(C,ve)){var me=void 0;try{if(typeof C[ve]!="function"){var st=Error((ce||"React class")+": "+X+" type `"+ve+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof C[ve]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw st.name="Invariant Violation",st}me=C[ve](N,ve,ce,X,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(We){me=We}me&&!(me instanceof Error)&&(He(we),F("%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).",ce||"React class",X,ve,typeof me),He(null)),me instanceof Error&&!(me.message in ye)&&(ye[me.message]=!0,He(we),F("Failed %s type: %s",X,me.message),He(null))}}}var at=Array.isArray;function lt(C){return at(C)}function Et(C){{var N=typeof Symbol=="function"&&Symbol.toStringTag,X=N&&C[Symbol.toStringTag]||C.constructor.name||"Object";return X}}function Jt(C){try{return Vt(C),!1}catch{return!0}}function Vt(C){return""+C}function Hn(C){if(Jt(C))return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Et(C)),Vt(C)}var un=_.ReactCurrentOwner,er={key:!0,ref:!0,__self:!0,__source:!0},xr,wr;function wi(C){if(xe.call(C,"ref")){var N=Object.getOwnPropertyDescriptor(C,"ref").get;if(N&&N.isReactWarning)return!1}return C.ref!==void 0}function Si(C){if(xe.call(C,"key")){var N=Object.getOwnPropertyDescriptor(C,"key").get;if(N&&N.isReactWarning)return!1}return C.key!==void 0}function Ii(C,N){typeof C.ref=="string"&&un.current}function Ei(C,N){{var X=function(){xr||(xr=!0,F("%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)",N))};X.isReactWarning=!0,Object.defineProperty(C,"key",{get:X,configurable:!0})}}function Ai(C,N){{var X=function(){wr||(wr=!0,F("%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)",N))};X.isReactWarning=!0,Object.defineProperty(C,"ref",{get:X,configurable:!0})}}var _i=function(C,N,X,ce,we,_e,ve){var me={$$typeof:t,type:C,key:N,ref:X,props:ve,_owner:_e};return me._store={},Object.defineProperty(me._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(me,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ce}),Object.defineProperty(me,"_source",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.freeze&&(Object.freeze(me.props),Object.freeze(me)),me};function Pi(C,N,X,ce,we){{var _e,ve={},me=null,st=null;X!==void 0&&(Hn(X),me=""+X),Si(N)&&(Hn(N.key),me=""+N.key),wi(N)&&(st=N.ref,Ii(N,we));for(_e in N)xe.call(N,_e)&&!er.hasOwnProperty(_e)&&(ve[_e]=N[_e]);if(C&&C.defaultProps){var We=C.defaultProps;for(_e in We)ve[_e]===void 0&&(ve[_e]=We[_e])}if(me||st){var Ue=typeof C=="function"?C.displayName||C.name||"Unknown":C;me&&Ei(ve,Ue),st&&Ai(ve,Ue)}return _i(C,me,st,we,ce,un.current,ve)}}var Sr=_.ReactCurrentOwner,Ti=_.ReactDebugCurrentFrame;function en(C){if(C){var N=C._owner,X=de(C.type,C._source,N?N.type:null);Ti.setExtraStackFrame(X)}else Ti.setExtraStackFrame(null)}var tr;tr=!1;function nr(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function Mi(){{if(Sr.current){var C=pe(Sr.current.type);if(C)return`
|
|
51
51
|
|
|
52
|
-
Check the render method of \``+C+"`."}return""}}function Ya(C){return""}var Oi={};function Ja(C){{var
|
|
52
|
+
Check the render method of \``+C+"`."}return""}}function Ya(C){return""}var Oi={};function Ja(C){{var N=Mi();if(!N){var X=typeof C=="string"?C:C.displayName||C.name;X&&(N=`
|
|
53
53
|
|
|
54
|
-
Check the top-level render call using <`+
|
|
54
|
+
Check the top-level render call using <`+X+">.")}return N}}function Yr(C,N){{if(!C._store||C._store.validated||C.key!=null)return;C._store.validated=!0;var X=Ja(N);if(Oi[X])return;Oi[X]=!0;var ce="";C&&C._owner&&C._owner!==Sr.current&&(ce=" It was passed a child from "+pe(C._owner.type)+"."),en(C),F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',X,ce),en(null)}}function Fi(C,N){{if(typeof C!="object")return;if(lt(C))for(var X=0;X<C.length;X++){var ce=C[X];nr(ce)&&Yr(ce,N)}else if(nr(C))C._store&&(C._store.validated=!0);else if(C){var we=E(C);if(typeof we=="function"&&we!==C.entries)for(var _e=we.call(C),ve;!(ve=_e.next()).done;)nr(ve.value)&&Yr(ve.value,N)}}}function Ka(C){{var N=C.type;if(N==null||typeof N=="string")return;var X;if(typeof N=="function")X=N.propTypes;else if(typeof N=="object"&&(N.$$typeof===c||N.$$typeof===p))X=N.propTypes;else return;if(X){var ce=pe(N);Qe(X,C.props,"prop",ce,C)}else if(N.PropTypes!==void 0&&!tr){tr=!0;var we=pe(N);F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",we||"Unknown")}typeof N.getDefaultProps=="function"&&!N.getDefaultProps.isReactClassApproved&&F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function qa(C){{for(var N=Object.keys(C.props),X=0;X<N.length;X++){var ce=N[X];if(ce!=="children"&&ce!=="key"){en(C),F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ce),en(null);break}}C.ref!==null&&(en(C),F("Invalid attribute `ref` supplied to `React.Fragment`."),en(null))}}var Ir={};function Ri(C,N,X,ce,we,_e){{var ve=Ae(C);if(!ve){var me="";(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(me+=" 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 st=Ya();st?me+=st:me+=Mi();var We;C===null?We="null":lt(C)?We="array":C!==void 0&&C.$$typeof===t?(We="<"+(pe(C.type)||"Unknown")+" />",me=" Did you accidentally export a JSX literal instead of a component?"):We=typeof C,F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,me)}var Ue=Pi(C,N,X,we,_e);if(Ue==null)return Ue;if(ve){var mt=N.children;if(mt!==void 0)if(ce)if(lt(mt)){for(var kt=0;kt<mt.length;kt++)Fi(mt[kt],C);Object.freeze&&Object.freeze(mt)}else F("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 Fi(mt,C)}if(xe.call(N,"key")){var Wt=pe(C),ot=Object.keys(N).filter(function(rs){return rs!=="key"}),Er=ot.length>0?"{key: someKey, "+ot.join(": ..., ")+": ...}":"{key: someKey}";if(!Ir[Wt+Er]){var ns=ot.length>0?"{"+ot.join(": ..., ")+": ...}":"{}";F(`A props object containing a "key" prop is being spread into JSX:
|
|
55
55
|
let props = %s;
|
|
56
56
|
<%s {...props} />
|
|
57
57
|
React keys must be passed directly to JSX without using spread:
|
|
58
58
|
let props = %s;
|
|
59
|
-
<%s key={someKey} {...props} />`,Er,Wt,ns,Wt),Ir[Wt+Er]=!0}}return C===r?qa(Ue):Ka(Ue),Ue}}function Vi(C,L,W){return Ri(C,L,W,!0)}function Qa(C,L,W){return Ri(C,L,W,!1)}var es=Qa,ts=Vi;ys.Fragment=r,ys.jsx=es,ys.jsxs=ts}()),ys}process.env.NODE_ENV==="production"?Ku.exports=X4():Ku.exports=z4();var Q=Ku.exports;function Z4(e){return Q.jsx("svg",{...e,width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.9625 13.0227L0.5375 8.45455C0.5 8.31818 0.515625 8.15909 0.584375 7.97727C0.653125 7.79545 0.8 7.67045 1.025 7.60227L2 7.29545V4.15909C2 3.78409 2.14688 3.46307 2.44063 3.19602C2.73438 2.92898 3.0875 2.79545 3.5 2.79545H5.75V0.75H10.25V2.79545H12.5C12.9125 2.79545 13.2656 2.92898 13.5594 3.19602C13.8531 3.46307 14 3.78409 14 4.15909V7.29545L14.975 7.60227C15.2375 7.69318 15.3938 7.8267 15.4438 8.00284C15.4938 8.17898 15.5 8.32955 15.4625 8.45455L14.0375 13.0227C13.4125 13.0227 12.8438 12.8892 12.3313 12.6222C11.8188 12.3551 11.375 12.0341 11 11.6591C10.625 12.0341 10.1813 12.3551 9.66875 12.6222C9.15625 12.8892 8.6 13.0227 8 13.0227C7.4 13.0227 6.84375 12.8892 6.33125 12.6222C5.81875 12.3551 5.375 12.0341 5 11.6591C4.625 12.0341 4.18125 12.3551 3.66875 12.6222C3.15625 12.8892 2.5875 13.0227 1.9625 13.0227ZM0.5 15.75V14.3864H2C2.525 14.3864 3.04375 14.3125 3.55625 14.1648C4.06875 14.017 4.55 13.7955 5 13.5C5.45 13.7955 5.93125 14.0114 6.44375 14.1477C6.95625 14.2841 7.475 14.3523 8 14.3523C8.525 14.3523 9.04375 14.2841 9.55625 14.1477C10.0687 14.0114 10.55 13.7955 11 13.5C11.45 13.7955 11.9313 14.017 12.4438 14.1648C12.9563 14.3125 13.475 14.3864 14 14.3864H15.5V15.75H14C13.475 15.75 12.9625 15.6932 12.4625 15.5795C11.9625 15.4659 11.475 15.2955 11 15.0682C10.525 15.2955 10.0344 15.4659 9.52813 15.5795C9.02188 15.6932 8.5125 15.75 8 15.75C7.4875 15.75 6.97813 15.6932 6.47188 15.5795C5.96563 15.4659 5.475 15.2955 5 15.0682C4.525 15.2955 4.0375 15.4659 3.5375 15.5795C3.0375 15.6932 2.525 15.75 2 15.75H0.5ZM3.5 6.85227L8 5.52273L12.5 6.85227V4.15909H3.5V6.85227Z",fill:"currentColor"})})}function U4(e){return Q.jsx("svg",{...e,width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M5 16H11C11.2833 16 11.5208 15.9042 11.7125 15.7125C11.9042 15.5208 12 15.2833 12 15C12 14.7167 11.9042 14.4792 11.7125 14.2875C11.5208 14.0958 11.2833 14 11 14H5C4.71667 14 4.47917 14.0958 4.2875 14.2875C4.09583 14.4792 4 14.7167 4 15C4 15.2833 4.09583 15.5208 4.2875 15.7125C4.47917 15.9042 4.71667 16 5 16ZM5 12H11C11.2833 12 11.5208 11.9042 11.7125 11.7125C11.9042 11.5208 12 11.2833 12 11C12 10.7167 11.9042 10.4792 11.7125 10.2875C11.5208 10.0958 11.2833 10 11 10H5C4.71667 10 4.47917 10.0958 4.2875 10.2875C4.09583 10.4792 4 10.7167 4 11C4 11.2833 4.09583 11.5208 4.2875 11.7125C4.47917 11.9042 4.71667 12 5 12ZM2 20C1.45 20 0.979167 19.8042 0.5875 19.4125C0.195833 19.0208 0 18.55 0 18V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H9.175C9.44167 0 9.69583 0.05 9.9375 0.15C10.1792 0.25 10.3917 0.391667 10.575 0.575L15.425 5.425C15.6083 5.60833 15.75 5.82083 15.85 6.0625C15.95 6.30417 16 6.55833 16 6.825V18C16 18.55 15.8042 19.0208 15.4125 19.4125C15.0208 19.8042 14.55 20 14 20H2ZM9 6V2H2V18H14V7H10C9.71667 7 9.47917 6.90417 9.2875 6.7125C9.09583 6.52083 9 6.28333 9 6Z",fill:"currentColor"})})}function Y4(e){return Q.jsx("svg",{...e,width:"25",height:"15",viewBox:"0 0 25 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.38889 15H23.6111C24.375 15 25 14.4375 25 13.75C25 13.0625 24.375 12.5 23.6111 12.5H1.38889C0.625 12.5 0 13.0625 0 13.75C0 14.4375 0.625 15 1.38889 15ZM1.38889 8.75H23.6111C24.375 8.75 25 8.1875 25 7.5C25 6.8125 24.375 6.25 23.6111 6.25H1.38889C0.625 6.25 0 6.8125 0 7.5C0 8.1875 0.625 8.75 1.38889 8.75ZM0 1.25C0 1.9375 0.625 2.5 1.38889 2.5H23.6111C24.375 2.5 25 1.9375 25 1.25C25 0.5625 24.375 0 23.6111 0H1.38889C0.625 0 0 0.5625 0 1.25Z",fill:"currentColor"})})}function J4(e){return Q.jsx("svg",{...e,width:"23",height:"22",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.625 0.125V9.79167H10.2917V0.125H0.625ZM7.875 7.375H3.04167V2.54167H7.875V7.375ZM0.625 12.2083V21.875H10.2917V12.2083H0.625ZM7.875 19.4583H3.04167V14.625H7.875V19.4583ZM12.7083 0.125V9.79167H22.375V0.125H12.7083ZM19.9583 7.375H15.125V2.54167H19.9583V7.375ZM12.7083 12.2083V21.875H22.375V12.2083H12.7083ZM19.9583 19.4583H15.125V14.625H19.9583V19.4583Z",fill:"currentColor"})})}function K4(e){return Q.jsx("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M12 12C15.315 12 18 9.315 18 6C18 2.685 15.315 0 12 0C8.685 0 6 2.685 6 6C6 9.315 8.685 12 12 12ZM12 15C7.995 15 0 17.01 0 21V22.5C0 23.325 0.675 24 1.5 24H22.5C23.325 24 24 23.325 24 22.5V21C24 17.01 16.005 15 12 15Z",fill:"currentColor"})})}function q4(e){return Q.jsx("svg",{...e,width:"16",height:"21",viewBox:"0 0 16 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M8 20.325C5.68333 19.7416 3.77083 18.4125 2.2625 16.3375C0.754167 14.2625 0 11.9583 0 9.42495V3.32495L8 0.324951L16 3.32495V9.42495C16 11.9583 15.2458 14.2625 13.7375 16.3375C12.2292 18.4125 10.3167 19.7416 8 20.325Z",fill:"currentColor"})})}function Q4(e){return Q.jsxs("svg",{...e,width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("path",{d:"M1.54167 1.54167H5.79167C6.18125 1.54167 6.5 1.22292 6.5 0.833333C6.5 0.44375 6.18125 0.125 5.79167 0.125H1.54167C0.7625 0.125 0.125 0.7625 0.125 1.54167V11.4583C0.125 12.2375 0.7625 12.875 1.54167 12.875H5.79167C6.18125 12.875 6.5 12.5562 6.5 12.1667C6.5 11.7771 6.18125 11.4583 5.79167 11.4583H1.54167V1.54167Z",fill:"currentColor"}),Q.jsx("path",{d:"M12.6271 6.25205L10.6508 4.2758C10.6016 4.22519 10.5383 4.19043 10.4692 4.17597C10.4001 4.16151 10.3282 4.16801 10.2628 4.19464C10.1974 4.22126 10.1414 4.2668 10.102 4.32542C10.0626 4.38405 10.0416 4.45309 10.0417 4.52372V5.79163H5.08333C4.69375 5.79163 4.375 6.11038 4.375 6.49997C4.375 6.88955 4.69375 7.2083 5.08333 7.2083H10.0417V8.47622C10.0417 8.79497 10.4242 8.9508 10.6437 8.72413L12.62 6.74788C12.7617 6.6133 12.7617 6.38663 12.6271 6.25205Z",fill:"currentColor"})]})}function ey(e){return Q.jsxs("svg",{...e,width:"11",height:"7",viewBox:"0 0 11 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("g",{clipPath:"url(#clip0_38_137)",children:Q.jsx("path",{d:"M1.86625 0.800537L5.5 4.42637L9.13375 0.800537L10.25 1.91679L5.5 6.66679L0.75 1.91679L1.86625 0.800537Z",fill:"currentColor"})}),Q.jsx("defs",{children:Q.jsx("clipPath",{id:"clip0_38_137",children:Q.jsx("rect",{width:"11",height:"7",fill:"white"})})})]})}function ty(e){return Q.jsxs("svg",{...e,width:"11",height:"7",viewBox:"0 0 11 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("g",{clipPath:"url(#clip0_38_137)",children:Q.jsx("path",{d:"M9.13375 6.19946L5.5 2.57363L1.86625 6.19946L0.75 5.08321L5.5 0.333209L10.25 5.08321L9.13375 6.19946Z",fill:"currentColor"})}),Q.jsx("defs",{children:Q.jsx("clipPath",{id:"clip0_38_137",children:Q.jsx("rect",{width:"11",height:"7",fill:"white",transform:"matrix(-1 0 0 -1 11 7)"})})})]})}function qu(e){return Q.jsx("svg",{...e,width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10.5 5L5.5 0L0.5 5L10.5 5Z",fill:"currentColor"})})}function Qu(e){return Q.jsx("svg",{...e,width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M0.5 0.5L5.5 5.5L10.5 0.5H0.5Z",fill:"currentColor"})})}function Kh(e){return Q.jsx("svg",{...e,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M6.9998 8.39999L2.0998 13.3C1.91647 13.4833 1.68314 13.575 1.3998 13.575C1.11647 13.575 0.883138 13.4833 0.699805 13.3C0.516471 13.1167 0.424805 12.8833 0.424805 12.6C0.424805 12.3167 0.516471 12.0833 0.699805 11.9L5.5998 6.99999L0.699805 2.09999C0.516471 1.91665 0.424805 1.68332 0.424805 1.39999C0.424805 1.11665 0.516471 0.883321 0.699805 0.699988C0.883138 0.516654 1.11647 0.424988 1.3998 0.424988C1.68314 0.424988 1.91647 0.516654 2.0998 0.699988L6.9998 5.59999L11.8998 0.699988C12.0831 0.516654 12.3165 0.424988 12.5998 0.424988C12.8831 0.424988 13.1165 0.516654 13.2998 0.699988C13.4831 0.883321 13.5748 1.11665 13.5748 1.39999C13.5748 1.68332 13.4831 1.91665 13.2998 2.09999L8.3998 6.99999L13.2998 11.9C13.4831 12.0833 13.5748 12.3167 13.5748 12.6C13.5748 12.8833 13.4831 13.1167 13.2998 13.3C13.1165 13.4833 12.8831 13.575 12.5998 13.575C12.3165 13.575 12.0831 13.4833 11.8998 13.3L6.9998 8.39999Z",fill:"currentColor"})})}function qh(e){return Q.jsx("svg",{...e,width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M6 10.6667L1.33333 6.00002L6 1.33335",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})})}function Qh(e){return Q.jsx("svg",{...e,width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1 1.33331L5.66667 5.99998L1 10.6666",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})})}function ny(e){return Q.jsx("svg",{...e,width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M6.33334 10.6667L1.66667 6.00002L6.33334 1.33335M11.6667 10.6667L7 6.00002L11.6667 1.33335",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})})}function ry(e){return Q.jsx("svg",{...e,width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M6.66668 1.33331L11.3333 5.99998L6.66668 10.6666M1.33334 1.33331L6.00001 5.99998L1.33334 10.6666",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})})}function iy(e){return Q.jsx("svg",{...e,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M11.9246 3.81796L9.09596 0.989257C8.99538 0.888678 8.8323 0.888678 8.73176 0.989223L8.2461 1.47485C8.19778 1.52316 8.17065 1.58865 8.17065 1.65698C8.17065 1.72529 8.19778 1.79077 8.24606 1.83909L9.80606 3.39912H2.19401L3.754 1.83915C3.80229 1.79087 3.82941 1.72535 3.82941 1.65705C3.82941 1.58875 3.80229 1.52323 3.754 1.47495L3.26834 0.989257C3.16776 0.888712 3.00472 0.888643 2.90411 0.989257L0.0754091 3.81792C0.027128 3.8662 0 3.93172 0 4.00002C0 4.06832 0.027128 4.13384 0.0754091 4.18212L2.90414 7.01082C2.95445 7.0611 3.02038 7.08627 3.08628 7.08627C3.15217 7.08627 3.21811 7.06113 3.26841 7.01082L3.75407 6.52516C3.80235 6.47688 3.82948 6.41136 3.82948 6.34306C3.82948 6.27476 3.80235 6.20924 3.75407 6.16096L2.19404 4.60096H9.8061L8.24606 6.16096C8.19778 6.20924 8.17065 6.27476 8.17065 6.34306C8.17065 6.41136 8.19778 6.47688 8.24606 6.52516L8.73172 7.01082C8.78004 7.05914 8.84552 7.08627 8.91386 7.08627C8.98216 7.08627 9.04768 7.05914 9.09599 7.01082L11.9246 4.18216C12.0251 4.08158 12.0251 3.9185 11.9246 3.81796Z",fill:"currentColor"})})}function ec(e){return Q.jsx("svg",{...e,width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10.999 9.67361H10.304L10.0576 9.4362C10.6075 8.7978 11.0093 8.04582 11.2344 7.23408C11.4595 6.42235 11.5023 5.57092 11.3597 4.74072C10.9462 2.29625 8.90505 0.344195 6.44155 0.0452311C5.57547 -0.0642724 4.6958 0.0256856 3.86986 0.308221C3.04392 0.590757 2.29359 1.05838 1.6763 1.67531C1.059 2.29224 0.591104 3.04213 0.308402 3.86759C0.0257007 4.69305 -0.0643101 5.5722 0.0452576 6.43777C0.344397 8.89983 2.2976 10.9398 4.7435 11.3531C5.57418 11.4956 6.42611 11.4528 7.23833 11.2278C8.05054 11.0029 8.80296 10.6012 9.44174 10.0517L9.67929 10.2979V10.9926L13.4185 14.7296C13.7793 15.0901 14.3687 15.0901 14.7295 14.7296C15.0902 14.3691 15.0902 13.78 14.7295 13.4195L10.999 9.67361ZM5.7201 9.67361C3.52935 9.67361 1.76091 7.90621 1.76091 5.71674C1.76091 3.52728 3.52935 1.75987 5.7201 1.75987C7.91085 1.75987 9.67929 3.52728 9.67929 5.71674C9.67929 7.90621 7.91085 9.67361 5.7201 9.67361Z",fill:"currentColor"})})}function e0(e){return Q.jsx("svg",{...e,width:"10",height:"14",viewBox:"0 0 10 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Q.jsxs("g",{children:[Q.jsx("path",{d:"M9.97214 5.00009L-0.0278625 5.00009L4.97214 9.14335e-05L9.97214 5.00009Z",fill:"currentColor"}),Q.jsx("path",{d:"M10.0279 8.99992L5.02786 13.9999L0.0278625 8.99992L10.0279 8.99992ZM7.43858 10.0713L2.61715 10.0713L5.02786 12.4821L7.43858 10.0713Z",fill:"currentColor"})]})})}function t0(e){return Q.jsx("svg",{...e,width:"10",height:"14",viewBox:"0 0 10 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Q.jsxs("g",{children:[Q.jsx("path",{d:"M-2.38419e-07 9H10L5 14L-2.38419e-07 9Z",fill:"currentColor"}),Q.jsx("path",{d:"M-2.38419e-07 5L5 0L10 5L-2.38419e-07 5ZM2.58929 3.92857L7.41071 3.92857L5 1.51786L2.58929 3.92857Z",fill:"currentColor"})]})})}function n0(e){return Q.jsx("svg",{...e,width:"10",height:"14",viewBox:"0 0 10 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Q.jsxs("g",{children:[Q.jsx("path",{d:"M-2.38419e-07 9H10L5 14L-2.38419e-07 9ZM2.58929 10.0714L5 12.4821L7.41071 10.0714H2.58929Z",fill:"currentColor"}),Q.jsx("path",{d:"M10 5L0 5L5 -1.19209e-07L10 5ZM7.41071 3.92857L5 1.51786L2.58929 3.92857L7.41071 3.92857Z",fill:"currentColor"})]})})}function oy(e){return Q.jsx("svg",{...e,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M0 1C0 0.734784 0.105357 0.48043 0.292893 0.292893C0.48043 0.105357 0.734784 0 1 0H13C13.2652 0 13.5196 0.105357 13.7071 0.292893C13.8946 0.48043 14 0.734784 14 1V3C14 3.26522 13.8946 3.51957 13.7071 3.70711C13.5196 3.89464 13.2652 4 13 4H1C0.734784 4 0.48043 3.89464 0.292893 3.70711C0.105357 3.51957 0 3.26522 0 3V1ZM0 7C0 6.73478 0.105357 6.48043 0.292893 6.29289C0.48043 6.10536 0.734784 6 1 6H7C7.26522 6 7.51957 6.10536 7.70711 6.29289C7.89464 6.48043 8 6.73478 8 7V13C8 13.2652 7.89464 13.5196 7.70711 13.7071C7.51957 13.8946 7.26522 14 7 14H1C0.734784 14 0.48043 13.8946 0.292893 13.7071C0.105357 13.5196 0 13.2652 0 13V7ZM11 6C10.7348 6 10.4804 6.10536 10.2929 6.29289C10.1054 6.48043 10 6.73478 10 7V13C10 13.2652 10.1054 13.5196 10.2929 13.7071C10.4804 13.8946 10.7348 14 11 14H13C13.2652 14 13.5196 13.8946 13.7071 13.7071C13.8946 13.5196 14 13.2652 14 13V7C14 6.73478 13.8946 6.48043 13.7071 6.29289C13.5196 6.10536 13.2652 6 13 6H11Z",fill:"currentColor"})})}function ay(e){return Q.jsx("svg",{...e,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M8 15C8.00009 15.1704 8.04372 15.3379 8.12674 15.4867C8.20977 15.6355 8.32944 15.7607 8.47439 15.8502C8.61935 15.9398 8.78479 15.9908 8.95501 15.9985C9.12523 16.0061 9.29458 15.9702 9.447 15.894L13.447 13.894C13.6131 13.811 13.7528 13.6834 13.8504 13.5255C13.9481 13.3676 13.9999 13.1857 14 13V7.23602C13.9999 7.06562 13.9563 6.89808 13.8733 6.74929C13.7902 6.60049 13.6706 6.47538 13.5256 6.38582C13.3806 6.29626 13.2152 6.24523 13.045 6.23756C12.8748 6.2299 12.7054 6.26585 12.553 6.34202L8.553 8.34202C8.38692 8.42501 8.24722 8.55259 8.14955 8.71049C8.05188 8.86838 8.0001 9.05035 8 9.23602V15ZM12.211 4.27602C12.3769 4.19288 12.5164 4.06523 12.6138 3.90734C12.7113 3.74946 12.7629 3.56757 12.7629 3.38202C12.7629 3.19647 12.7113 3.01457 12.6138 2.85669C12.5164 2.69881 12.3769 2.57115 12.211 2.48802L7.447 0.106015C7.3082 0.0366567 7.15516 0.000549316 7 0.000549316C6.84484 0.000549316 6.6918 0.0366567 6.553 0.106015L1.789 2.48802C1.62312 2.57115 1.48364 2.69881 1.38617 2.85669C1.28869 3.01457 1.23707 3.19647 1.23707 3.38202C1.23707 3.56757 1.28869 3.74946 1.38617 3.90734C1.48364 4.06523 1.62312 4.19288 1.789 4.27602L6.553 6.65802C6.6918 6.72737 6.84484 6.76348 7 6.76348C7.15516 6.76348 7.3082 6.72737 7.447 6.65802L12.211 4.27602ZM1.447 6.34202C1.29458 6.26585 1.12522 6.2299 0.955006 6.23756C0.784787 6.24523 0.619351 6.29626 0.474394 6.38582C0.329438 6.47538 0.209769 6.60049 0.126744 6.74929C0.0437189 6.89808 9.09694e-05 7.06562 0 7.23602V13C9.91486e-05 13.1857 0.0518831 13.3676 0.149552 13.5255C0.247222 13.6834 0.386919 13.811 0.553 13.894L4.553 15.894C4.70542 15.9702 4.87477 16.0061 5.04499 15.9985C5.21521 15.9908 5.38065 15.9398 5.52561 15.8502C5.67056 15.7607 5.79023 15.6355 5.87326 15.4867C5.95628 15.3379 5.99991 15.1704 6 15V9.23602C5.9999 9.05035 5.94812 8.86838 5.85045 8.71049C5.75278 8.55259 5.61308 8.42501 5.447 8.34202L1.447 6.34202Z",fill:"currentColor"})})}function sy(e){return Q.jsx("svg",{...e,width:"19",height:"14",viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M9.50007 11C10.5938 11 11.5235 10.6172 12.2891 9.85156C13.0548 9.08594 13.4376 8.15625 13.4376 7.0625C13.4376 5.96875 13.0548 5.03906 12.2891 4.27344C11.5235 3.50781 10.5938 3.125 9.50007 3.125C8.40632 3.125 7.47664 3.50781 6.71101 4.27344C5.94539 5.03906 5.56257 5.96875 5.56257 7.0625C5.56257 8.15625 5.94539 9.08594 6.71101 9.85156C7.47664 10.6172 8.40632 11 9.50007 11ZM9.50007 9.425C8.84382 9.425 8.28601 9.19531 7.82664 8.73594C7.36726 8.27656 7.13757 7.71875 7.13757 7.0625C7.13757 6.40625 7.36726 5.84844 7.82664 5.38906C8.28601 4.92969 8.84382 4.7 9.50007 4.7C10.1563 4.7 10.7141 4.92969 11.1735 5.38906C11.6329 5.84844 11.8626 6.40625 11.8626 7.0625C11.8626 7.71875 11.6329 8.27656 11.1735 8.73594C10.7141 9.19531 10.1563 9.425 9.50007 9.425ZM9.50007 13.625C7.47299 13.625 5.62091 13.0891 3.94382 12.0172C2.26674 10.9453 0.99799 9.49792 0.137573 7.675C0.0938232 7.60208 0.0646566 7.51094 0.0500732 7.40156C0.0354899 7.29219 0.0281982 7.17917 0.0281982 7.0625C0.0281982 6.94583 0.0354899 6.83281 0.0500732 6.72344C0.0646566 6.61406 0.0938232 6.52292 0.137573 6.45C0.99799 4.62708 2.26674 3.17969 3.94382 2.10781C5.62091 1.03594 7.47299 0.5 9.50007 0.5C11.5272 0.5 13.3792 1.03594 15.0563 2.10781C16.7334 3.17969 18.0022 4.62708 18.8626 6.45C18.9063 6.52292 18.9355 6.61406 18.9501 6.72344C18.9647 6.83281 18.9719 6.94583 18.9719 7.0625C18.9719 7.17917 18.9647 7.29219 18.9501 7.40156C18.9355 7.51094 18.9063 7.60208 18.8626 7.675C18.0022 9.49792 16.7334 10.9453 15.0563 12.0172C13.3792 13.0891 11.5272 13.625 9.50007 13.625Z",fill:"currentColor"})})}function ly(e){return Q.jsx("svg",{...e,width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M8.50008 0.166748C3.90008 0.166748 0.166748 3.90008 0.166748 8.50008C0.166748 13.1001 3.90008 16.8334 8.50008 16.8334C13.1001 16.8334 16.8334 13.1001 16.8334 8.50008C16.8334 3.90008 13.1001 0.166748 8.50008 0.166748ZM12.6667 9.33341H9.33341V12.6668H7.66675V9.33341H4.33341V7.66675H7.66675V4.33341H9.33341V7.66675H12.6667V9.33341Z",fill:"currentColor"})})}function uy(e){return Q.jsx("svg",{...e,width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M3.98667 15.3742H9.48667V14.9617C9.48667 14.702 9.4141 14.4613 9.26897 14.2398C9.12383 14.0183 8.9214 13.8464 8.66167 13.7242C8.35612 13.5867 8.04674 13.4836 7.73355 13.4148C7.42036 13.3461 7.08806 13.3117 6.73667 13.3117C6.38529 13.3117 6.05299 13.3461 5.7398 13.4148C5.4266 13.4836 5.11723 13.5867 4.81167 13.7242C4.55195 13.8464 4.34952 14.0183 4.20438 14.2398C4.05924 14.4613 3.98667 14.702 3.98667 14.9617V15.3742ZM12.0075 13.9992H14.2992C14.4978 13.9992 14.662 13.9343 14.7919 13.8044C14.9217 13.6745 14.9867 13.5103 14.9867 13.3117C14.9867 13.1131 14.9217 12.9488 14.7919 12.819C14.662 12.6891 14.4978 12.6242 14.2992 12.6242H12.0075C11.8089 12.6242 11.6447 12.6891 11.5148 12.819C11.3849 12.9488 11.32 13.1131 11.32 13.3117C11.32 13.5103 11.3849 13.6745 11.5148 13.8044C11.6447 13.9343 11.8089 13.9992 12.0075 13.9992ZM6.73667 12.6242C7.11862 12.6242 7.44327 12.4905 7.71063 12.2231C7.97799 11.9558 8.11167 11.6311 8.11167 11.2492C8.11167 10.8672 7.97799 10.5426 7.71063 10.2752C7.44327 10.0079 7.11862 9.87419 6.73667 9.87419C6.35473 9.87419 6.03008 10.0079 5.76272 10.2752C5.49535 10.5426 5.36167 10.8672 5.36167 11.2492C5.36167 11.6311 5.49535 11.9558 5.76272 12.2231C6.03008 12.4905 6.35473 12.6242 6.73667 12.6242ZM12.0075 11.2492H14.2992C14.4978 11.2492 14.662 11.1843 14.7919 11.0544C14.9217 10.9245 14.9867 10.7603 14.9867 10.5617C14.9867 10.3631 14.9217 10.1988 14.7919 10.069C14.662 9.93912 14.4978 9.87419 14.2992 9.87419H12.0075C11.8089 9.87419 11.6447 9.93912 11.5148 10.069C11.3849 10.1988 11.32 10.3631 11.32 10.5617C11.32 10.7603 11.3849 10.9245 11.5148 11.0544C11.6447 11.1843 11.8089 11.2492 12.0075 11.2492ZM2.15334 19.0409C1.64917 19.0409 1.21758 18.8613 0.858549 18.5023C0.499521 18.1433 0.320007 17.7117 0.320007 17.2075V7.12419C0.320007 6.62002 0.499521 6.18842 0.858549 5.82939C1.21758 5.47037 1.64917 5.29085 2.15334 5.29085H6.73667V2.54085C6.73667 2.03669 6.91619 1.60509 7.27522 1.24606C7.63424 0.887033 8.06584 0.70752 8.57001 0.70752H10.4033C10.9075 0.70752 11.3391 0.887033 11.6981 1.24606C12.0572 1.60509 12.2367 2.03669 12.2367 2.54085V5.29085H16.82C17.3242 5.29085 17.7558 5.47037 18.1148 5.82939C18.4738 6.18842 18.6533 6.62002 18.6533 7.12419V17.2075C18.6533 17.7117 18.4738 18.1433 18.1148 18.5023C17.7558 18.8613 17.3242 19.0409 16.82 19.0409H2.15334ZM8.57001 7.12419H10.4033V2.54085H8.57001V7.12419Z",fill:"currentColor"})})}function Cs(e){return Q.jsx("svg",{...e,width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M11.5 0.25C5.27875 0.25 0.25 5.27875 0.25 11.5C0.25 17.7213 5.27875 22.75 11.5 22.75C17.7213 22.75 22.75 17.7213 22.75 11.5C22.75 5.27875 17.7213 0.25 11.5 0.25ZM17.125 15.5388L15.5388 17.125L11.5 13.0862L7.46125 17.125L5.875 15.5388L9.91375 11.5L5.875 7.46125L7.46125 5.875L11.5 9.91375L15.5388 5.875L17.125 7.46125L13.0862 11.5L17.125 15.5388Z",fill:"currentColor"})})}function cy(e){return Q.jsx("svg",{...e,width:"20",height:"14",viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M16.125 5.36665C15.8451 3.94808 15.0813 2.6707 13.9642 1.75268C12.8471 0.834674 11.4459 0.332986 10 0.333313C7.59167 0.333313 5.5 1.69998 4.45833 3.69998C3.23353 3.83234 2.10084 4.41265 1.27791 5.32941C0.454976 6.24617 -0.000143085 7.43471 3.3744e-08 8.66665C3.3744e-08 11.425 2.24167 13.6666 5 13.6666H15.8333C18.1333 13.6666 20 11.8 20 9.49998C20 7.29998 18.2917 5.51665 16.125 5.36665ZM11.6667 7.83331V11.1666H8.33333V7.83331H5.83333L10 3.66665L14.1667 7.83331H11.6667Z",fill:"currentColor"})})}function fy(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.80042 9.08333H3.58333C4.06956 9.08333 4.53588 9.27649 4.8797 9.6203C5.22351 9.96412 5.41667 10.4304 5.41667 10.9167V11.8333C5.41667 12.3196 5.60982 12.7859 5.95364 13.1297C6.29745 13.4735 6.76377 13.6667 7.25 13.6667C7.73623 13.6667 8.20255 13.8598 8.54636 14.2036C8.89018 14.5475 9.08333 15.0138 9.08333 15.5V18.1996M6.33333 2.60708V4.04167C6.33333 4.64945 6.57478 5.23235 7.00455 5.66212C7.43432 6.09189 8.01721 6.33333 8.625 6.33333H9.08333C9.56956 6.33333 10.0359 6.52649 10.3797 6.8703C10.7235 7.21412 10.9167 7.68044 10.9167 8.16667C10.9167 8.6529 11.1098 9.11921 11.4536 9.46303C11.7975 9.80685 12.2638 10 12.75 10C13.2362 10 13.7025 9.80685 14.0464 9.46303C14.3902 9.11921 14.5833 8.6529 14.5833 8.16667C14.5833 7.68044 14.7765 7.21412 15.1203 6.8703C15.4641 6.52649 15.9304 6.33333 16.4167 6.33333H17.392M12.75 17.7807V15.5C12.75 15.0138 12.9432 14.5475 13.287 14.2036C13.6308 13.8598 14.0971 13.6667 14.5833 13.6667H17.392M18.25 10C18.25 11.0834 18.0366 12.1562 17.622 13.1571C17.2074 14.1581 16.5997 15.0675 15.8336 15.8336C15.0675 16.5997 14.1581 17.2074 13.1571 17.622C12.1562 18.0366 11.0834 18.25 10 18.25C8.91659 18.25 7.8438 18.0366 6.84286 17.622C5.84193 17.2074 4.93245 16.5997 4.16637 15.8336C3.40029 15.0675 2.7926 14.1581 2.37799 13.1571C1.96339 12.1562 1.75 11.0834 1.75 10C1.75 7.81196 2.61919 5.71354 4.16637 4.16637C5.71354 2.61919 7.81196 1.75 10 1.75C12.188 1.75 14.2865 2.61919 15.8336 4.16637C17.3808 5.71354 18.25 7.81196 18.25 10Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function dy(e){return Q.jsx("svg",{...e,width:"16",height:"15",viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M12.875 14.6253L9.1875 10.9378L10.9375 9.18783L14.625 12.8753C14.8611 13.1114 14.9792 13.4031 14.9792 13.7503C14.9792 14.0975 14.8611 14.3892 14.625 14.6253C14.3889 14.8614 14.0972 14.9795 13.75 14.9795C13.4028 14.9795 13.1111 14.8614 12.875 14.6253ZM1.375 14.6253C1.13889 14.3892 1.02083 14.0975 1.02083 13.7503C1.02083 13.4031 1.13889 13.1114 1.375 12.8753L6.25 8.00033L4.83333 6.58366C4.68056 6.73644 4.48611 6.81283 4.25 6.81283C4.01389 6.81283 3.81945 6.73644 3.66667 6.58366L3.1875 6.10449V7.97949C3.1875 8.17394 3.10417 8.30588 2.9375 8.37533C2.77083 8.44477 2.61806 8.41005 2.47917 8.27116L0.208334 6.00033C0.0694447 5.86144 0.0347224 5.70866 0.104167 5.54199C0.173611 5.37533 0.305556 5.29199 0.5 5.29199H2.375L1.91667 4.83366C1.75 4.66699 1.66667 4.47255 1.66667 4.25033C1.66667 4.0281 1.75 3.83366 1.91667 3.66699L4.29167 1.29199C4.56945 1.01421 4.86806 0.812826 5.1875 0.687826C5.50695 0.562826 5.83333 0.500326 6.16667 0.500326C6.44445 0.500326 6.70486 0.541992 6.94792 0.625326C7.19097 0.708659 7.43056 0.833659 7.66667 1.00033C7.77778 1.06977 7.83681 1.16699 7.84375 1.29199C7.85069 1.41699 7.80556 1.5281 7.70833 1.62533L6.125 3.20866L6.58333 3.66699C6.73611 3.81977 6.8125 4.01421 6.8125 4.25033C6.8125 4.48644 6.73611 4.68088 6.58333 4.83366L8 6.25033L9.875 4.37533C9.81944 4.22255 9.77431 4.06283 9.73958 3.89616C9.70486 3.72949 9.6875 3.56283 9.6875 3.39616C9.6875 2.57671 9.96875 1.88574 10.5313 1.32324C11.0938 0.760742 11.7847 0.479492 12.6042 0.479492C12.7153 0.479492 12.8194 0.482964 12.9167 0.489909C13.0139 0.496853 13.1111 0.514214 13.2083 0.541992C13.3333 0.583659 13.4132 0.670464 13.4479 0.802409C13.4826 0.934353 13.4514 1.04894 13.3542 1.14616L12 2.50033C11.9167 2.58366 11.875 2.68088 11.875 2.79199C11.875 2.9031 11.9167 3.00033 12 3.08366L12.9167 4.00033C13 4.08366 13.0972 4.12533 13.2083 4.12533C13.3194 4.12533 13.4167 4.08366 13.5 4.00033L14.8542 2.64616C14.9514 2.54894 15.066 2.51421 15.1979 2.54199C15.3299 2.56977 15.4167 2.6531 15.4583 2.79199C15.4861 2.88921 15.5035 2.98644 15.5104 3.08366C15.5174 3.18088 15.5208 3.28505 15.5208 3.39616C15.5208 4.2156 15.2396 4.90658 14.6771 5.46908C14.1146 6.03158 13.4236 6.31283 12.6042 6.31283C12.4375 6.31283 12.2708 6.29894 12.1042 6.27116C11.9375 6.24338 11.7778 6.19477 11.625 6.12533L3.125 14.6253C2.88889 14.8614 2.59722 14.9795 2.25 14.9795C1.90278 14.9795 1.61111 14.8614 1.375 14.6253Z",fill:"currentColor"})})}function hy(e){return Q.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M4.02279 11.799H7.35612C7.59223 11.799 7.79015 11.7191 7.94987 11.5594C8.10959 11.3997 8.18945 11.2018 8.18945 10.9657C8.18945 10.7295 8.10959 10.5316 7.94987 10.3719C7.79015 10.2122 7.59223 10.1323 7.35612 10.1323H4.02279C3.78668 10.1323 3.58876 10.2122 3.42904 10.3719C3.26931 10.5316 3.18945 10.7295 3.18945 10.9657C3.18945 11.2018 3.26931 11.3997 3.42904 11.5594C3.58876 11.7191 3.78668 11.799 4.02279 11.799ZM6.52279 8.46566H9.85612C10.0922 8.46566 10.2901 8.3858 10.4499 8.22607C10.6096 8.06635 10.6895 7.86844 10.6895 7.63232C10.6895 7.39621 10.6096 7.1983 10.4499 7.03857C10.2901 6.87885 10.0922 6.79899 9.85612 6.79899H6.52279C6.28668 6.79899 6.08876 6.87885 5.92904 7.03857C5.76931 7.1983 5.68945 7.39621 5.68945 7.63232C5.68945 7.86844 5.76931 8.06635 5.92904 8.22607C6.08876 8.3858 6.28668 8.46566 6.52279 8.46566ZM9.02279 5.13232H12.3561C12.5922 5.13232 12.7901 5.05246 12.9499 4.89274C13.1096 4.73302 13.1895 4.5351 13.1895 4.29899C13.1895 4.06288 13.1096 3.86496 12.9499 3.70524C12.7901 3.54552 12.5922 3.46566 12.3561 3.46566H9.02279C8.78668 3.46566 8.58876 3.54552 8.42904 3.70524C8.26931 3.86496 8.18945 4.06288 8.18945 4.29899C8.18945 4.5351 8.26931 4.73302 8.42904 4.89274C8.58876 5.05246 8.78668 5.13232 9.02279 5.13232ZM2.35612 15.1323C1.89779 15.1323 1.50543 14.9691 1.17904 14.6427C0.852648 14.3164 0.689453 13.924 0.689453 13.4657V1.79899C0.689453 1.34066 0.852648 0.948296 1.17904 0.621908C1.50543 0.295519 1.89779 0.132324 2.35612 0.132324H14.0228C14.4811 0.132324 14.8735 0.295519 15.1999 0.621908C15.5263 0.948296 15.6895 1.34066 15.6895 1.79899V13.4657C15.6895 13.924 15.5263 14.3164 15.1999 14.6427C14.8735 14.9691 14.4811 15.1323 14.0228 15.1323H2.35612Z",fill:"currentColor"})})}function py(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M11.8748 20H8.12485C7.87485 20 7.65818 19.9167 7.47485 19.75C7.29152 19.5833 7.18318 19.375 7.14985 19.125L6.84985 16.8C6.63318 16.7167 6.42902 16.6167 6.23735 16.5C6.04568 16.3833 5.85818 16.2583 5.67485 16.125L3.49985 17.025C3.26652 17.1083 3.03318 17.1167 2.79985 17.05C2.56652 16.9833 2.38318 16.8417 2.24985 16.625L0.399849 13.4C0.266516 13.1833 0.224849 12.95 0.274849 12.7C0.324849 12.45 0.449849 12.25 0.649849 12.1L2.52485 10.675C2.50818 10.5583 2.49985 10.4458 2.49985 10.3375V9.6625C2.49985 9.55417 2.50818 9.44167 2.52485 9.325L0.649849 7.9C0.449849 7.75 0.324849 7.55 0.274849 7.3C0.224849 7.05 0.266516 6.81667 0.399849 6.6L2.24985 3.375C2.36652 3.14167 2.54568 2.99583 2.78735 2.9375C3.02902 2.87917 3.26652 2.89167 3.49985 2.975L5.67485 3.875C5.85818 3.74167 6.04985 3.61667 6.24985 3.5C6.44985 3.38333 6.64985 3.28333 6.84985 3.2L7.14985 0.875C7.18318 0.625 7.29152 0.416667 7.47485 0.25C7.65818 0.0833333 7.87485 0 8.12485 0H11.8748C12.1248 0 12.3415 0.0833333 12.5248 0.25C12.7082 0.416667 12.8165 0.625 12.8498 0.875L13.1498 3.2C13.3665 3.28333 13.5707 3.38333 13.7623 3.5C13.954 3.61667 14.1415 3.74167 14.3248 3.875L16.4998 2.975C16.7332 2.89167 16.9665 2.88333 17.1999 2.95C17.4332 3.01667 17.6165 3.15833 17.7498 3.375L19.5998 6.6C19.7332 6.81667 19.7748 7.05 19.7248 7.3C19.6749 7.55 19.5499 7.75 19.3498 7.9L17.4748 9.325C17.4915 9.44167 17.4998 9.55417 17.4998 9.6625V10.3375C17.4998 10.4458 17.4832 10.5583 17.4499 10.675L19.3249 12.1C19.5249 12.25 19.6499 12.45 19.6999 12.7C19.7498 12.95 19.7082 13.1833 19.5749 13.4L17.7248 16.6C17.5915 16.8167 17.404 16.9625 17.1623 17.0375C16.9207 17.1125 16.6832 17.1083 16.4499 17.025L14.3248 16.125C14.1415 16.2583 13.9498 16.3833 13.7498 16.5C13.5498 16.6167 13.3498 16.7167 13.1498 16.8L12.8498 19.125C12.8165 19.375 12.7082 19.5833 12.5248 19.75C12.3415 19.9167 12.1248 20 11.8748 20ZM10.0498 13.5C11.0165 13.5 11.8415 13.1583 12.5248 12.475C13.2082 11.7917 13.5498 10.9667 13.5498 10C13.5498 9.03333 13.2082 8.20833 12.5248 7.525C11.8415 6.84167 11.0165 6.5 10.0498 6.5C9.06652 6.5 8.23735 6.84167 7.56235 7.525C6.88735 8.20833 6.54985 9.03333 6.54985 10C6.54985 10.9667 6.88735 11.7917 7.56235 12.475C8.23735 13.1583 9.06652 13.5 10.0498 13.5Z",fill:"currentColor"})})}function gy(e){return Q.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 0C3.73478 0 3.48043 0.105357 3.29289 0.292893C3.10536 0.48043 3 0.734784 3 1V2H2C1.46957 2 0.960859 2.21071 0.585786 2.58579C0.210714 2.96086 0 3.46957 0 4V14C0 14.5304 0.210714 15.0391 0.585786 15.4142C0.960859 15.7893 1.46957 16 2 16H14C14.5304 16 15.0391 15.7893 15.4142 15.4142C15.7893 15.0391 16 14.5304 16 14V4C16 3.46957 15.7893 2.96086 15.4142 2.58579C15.0391 2.21071 14.5304 2 14 2H13V1C13 0.734784 12.8946 0.48043 12.7071 0.292893C12.5196 0.105357 12.2652 0 12 0C11.7348 0 11.4804 0.105357 11.2929 0.292893C11.1054 0.48043 11 0.734784 11 1V2H5V1C5 0.734784 4.89464 0.48043 4.70711 0.292893C4.51957 0.105357 4.26522 0 4 0ZM4 5C3.73478 5 3.48043 5.10536 3.29289 5.29289C3.10536 5.48043 3 5.73478 3 6C3 6.26522 3.10536 6.51957 3.29289 6.70711C3.48043 6.89464 3.73478 7 4 7H12C12.2652 7 12.5196 6.89464 12.7071 6.70711C12.8946 6.51957 13 6.26522 13 6C13 5.73478 12.8946 5.48043 12.7071 5.29289C12.5196 5.10536 12.2652 5 12 5H4Z",fill:"currentColor"})})}function my(e){return Q.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M4.44694 7.5191C4.21083 7.5191 4.01291 7.59897 3.85319 7.75869C3.69347 7.91841 3.61361 8.11633 3.61361 8.35244V10.8524C3.61361 11.0885 3.69347 11.2865 3.85319 11.4462C4.01291 11.6059 4.21083 11.6858 4.44694 11.6858C4.68305 11.6858 4.88097 11.6059 5.04069 11.4462C5.20041 11.2865 5.28027 11.0885 5.28027 10.8524V8.35244C5.28027 8.11633 5.20041 7.91841 5.04069 7.75869C4.88097 7.59897 4.68305 7.5191 4.44694 7.5191ZM11.1136 3.35244C10.8775 3.35244 10.6796 3.4323 10.5199 3.59202C10.3601 3.75174 10.2803 3.94966 10.2803 4.18577V10.8524C10.2803 11.0885 10.3601 11.2865 10.5199 11.4462C10.6796 11.6059 10.8775 11.6858 11.1136 11.6858C11.3497 11.6858 11.5476 11.6059 11.7074 11.4462C11.8671 11.2865 11.9469 11.0885 11.9469 10.8524V4.18577C11.9469 3.94966 11.8671 3.75174 11.7074 3.59202C11.5476 3.4323 11.3497 3.35244 11.1136 3.35244ZM7.78027 9.18577C7.54416 9.18577 7.34625 9.26563 7.18652 9.42535C7.0268 9.58508 6.94694 9.78299 6.94694 10.0191V10.8524C6.94694 11.0885 7.0268 11.2865 7.18652 11.4462C7.34625 11.6059 7.54416 11.6858 7.78027 11.6858C8.01638 11.6858 8.2143 11.6059 8.37402 11.4462C8.53375 11.2865 8.61361 11.0885 8.61361 10.8524V10.0191C8.61361 9.78299 8.53375 9.58508 8.37402 9.42535C8.2143 9.26563 8.01638 9.18577 7.78027 9.18577ZM1.94694 15.0191C1.48861 15.0191 1.09625 14.8559 0.769857 14.5295C0.443468 14.2031 0.280273 13.8108 0.280273 13.3524V1.68577C0.280273 1.22744 0.443468 0.835076 0.769857 0.508687C1.09625 0.182298 1.48861 0.019104 1.94694 0.019104H13.6136C14.0719 0.019104 14.4643 0.182298 14.7907 0.508687C15.1171 0.835076 15.2803 1.22744 15.2803 1.68577V13.3524C15.2803 13.8108 15.1171 14.2031 14.7907 14.5295C14.4643 14.8559 14.0719 15.0191 13.6136 15.0191H1.94694ZM7.78027 7.5191C8.01638 7.5191 8.2143 7.43924 8.37402 7.27952C8.53375 7.1198 8.61361 6.92188 8.61361 6.68577C8.61361 6.44966 8.53375 6.25174 8.37402 6.09202C8.2143 5.9323 8.01638 5.85244 7.78027 5.85244C7.54416 5.85244 7.34625 5.9323 7.18652 6.09202C7.0268 6.25174 6.94694 6.44966 6.94694 6.68577C6.94694 6.92188 7.0268 7.1198 7.18652 7.27952C7.34625 7.43924 7.54416 7.5191 7.78027 7.5191Z",fill:"currentColor"})})}function vy(e){return Q.jsx("svg",{...e,width:"22",height:"18",viewBox:"0 0 22 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.72497 18C1.54164 18 1.37497 17.9542 1.22497 17.8625C1.07497 17.7708 0.958306 17.65 0.874973 17.5C0.791639 17.35 0.745806 17.1875 0.737473 17.0125C0.729139 16.8375 0.774973 16.6667 0.874973 16.5L10.125 0.5C10.225 0.333333 10.3541 0.208333 10.5125 0.125C10.6708 0.0416667 10.8333 0 11 0C11.1666 0 11.3291 0.0416667 11.4875 0.125C11.6458 0.208333 11.775 0.333333 11.875 0.5L21.125 16.5C21.225 16.6667 21.2708 16.8375 21.2625 17.0125C21.2541 17.1875 21.2083 17.35 21.125 17.5C21.0416 17.65 20.925 17.7708 20.775 17.8625C20.625 17.9542 20.4583 18 20.275 18H1.72497ZM11 15C11.2833 15 11.5208 14.9042 11.7125 14.7125C11.9041 14.5208 12 14.2833 12 14C12 13.7167 11.9041 13.4792 11.7125 13.2875C11.5208 13.0958 11.2833 13 11 13C10.7166 13 10.4791 13.0958 10.2875 13.2875C10.0958 13.4792 9.99997 13.7167 9.99997 14C9.99997 14.2833 10.0958 14.5208 10.2875 14.7125C10.4791 14.9042 10.7166 15 11 15ZM11 12C11.2833 12 11.5208 11.9042 11.7125 11.7125C11.9041 11.5208 12 11.2833 12 11V8C12 7.71667 11.9041 7.47917 11.7125 7.2875C11.5208 7.09583 11.2833 7 11 7C10.7166 7 10.4791 7.09583 10.2875 7.2875C10.0958 7.47917 9.99997 7.71667 9.99997 8V11C9.99997 11.2833 10.0958 11.5208 10.2875 11.7125C10.4791 11.9042 10.7166 12 11 12Z",fill:"currentColor"})})}function by(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M8.71671 11.6502L6.74587 9.67933C6.57782 9.51127 6.36393 9.42725 6.10421 9.42725C5.84449 9.42725 5.6306 9.51127 5.46254 9.67933C5.29449 9.84739 5.21046 10.0613 5.21046 10.321C5.21046 10.5807 5.29449 10.7946 5.46254 10.9627L8.07504 13.5752C8.25837 13.7585 8.47226 13.8502 8.71671 13.8502C8.96115 13.8502 9.17504 13.7585 9.35837 13.5752L14.5375 8.396C14.7056 8.22794 14.7896 8.01405 14.7896 7.75433C14.7896 7.49461 14.7056 7.28072 14.5375 7.11266C14.3695 6.94461 14.1556 6.86058 13.8959 6.86058C13.6362 6.86058 13.4223 6.94461 13.2542 7.11266L8.71671 11.6502ZM10 19.1668C8.73199 19.1668 7.54032 18.9262 6.42504 18.445C5.30976 17.9637 4.33962 17.3106 3.51462 16.4856C2.68962 15.6606 2.0365 14.6904 1.55525 13.5752C1.074 12.4599 0.833374 11.2682 0.833374 10.0002C0.833374 8.73211 1.074 7.54044 1.55525 6.42516C2.0365 5.30988 2.68962 4.33975 3.51462 3.51475C4.33962 2.68975 5.30976 2.03662 6.42504 1.55537C7.54032 1.07412 8.73199 0.833496 10 0.833496C11.2681 0.833496 12.4598 1.07412 13.575 1.55537C14.6903 2.03662 15.6605 2.68975 16.4855 3.51475C17.3105 4.33975 17.9636 5.30988 18.4448 6.42516C18.9261 7.54044 19.1667 8.73211 19.1667 10.0002C19.1667 11.2682 18.9261 12.4599 18.4448 13.5752C17.9636 14.6904 17.3105 15.6606 16.4855 16.4856C15.6605 17.3106 14.6903 17.9637 13.575 18.445C12.4598 18.9262 11.2681 19.1668 10 19.1668Z",fill:"currentColor"})})}function yy(e){return Q.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.33333 7.16667C1.09722 7.16667 0.899306 7.08681 0.739583 6.92708C0.579861 6.76736 0.5 6.56944 0.5 6.33333V1.33333C0.5 1.09722 0.579861 0.899306 0.739583 0.739583C0.899306 0.579861 1.09722 0.5 1.33333 0.5H6.33333C6.56944 0.5 6.76736 0.579861 6.92708 0.739583C7.08681 0.899306 7.16667 1.09722 7.16667 1.33333V6.33333C7.16667 6.56944 7.08681 6.76736 6.92708 6.92708C6.76736 7.08681 6.56944 7.16667 6.33333 7.16667H1.33333ZM9.66667 7.16667C9.43056 7.16667 9.23264 7.08681 9.07292 6.92708C8.91319 6.76736 8.83333 6.56944 8.83333 6.33333V1.33333C8.83333 1.09722 8.91319 0.899306 9.07292 0.739583C9.23264 0.579861 9.43056 0.5 9.66667 0.5H14.6667C14.9028 0.5 15.1007 0.579861 15.2604 0.739583C15.4201 0.899306 15.5 1.09722 15.5 1.33333V6.33333C15.5 6.56944 15.4201 6.76736 15.2604 6.92708C15.1007 7.08681 14.9028 7.16667 14.6667 7.16667H9.66667ZM1.33333 15.5C1.09722 15.5 0.899306 15.4201 0.739583 15.2604C0.579861 15.1007 0.5 14.9028 0.5 14.6667V9.66667C0.5 9.43056 0.579861 9.23264 0.739583 9.07292C0.899306 8.91319 1.09722 8.83333 1.33333 8.83333H6.33333C6.56944 8.83333 6.76736 8.91319 6.92708 9.07292C7.08681 9.23264 7.16667 9.43056 7.16667 9.66667V14.6667C7.16667 14.9028 7.08681 15.1007 6.92708 15.2604C6.76736 15.4201 6.56944 15.5 6.33333 15.5H1.33333ZM12.1667 15.5C11.9306 15.5 11.7326 15.4201 11.5729 15.2604C11.4132 15.1007 11.3333 14.9028 11.3333 14.6667V13H9.64583C9.40972 13 9.21528 12.9201 9.0625 12.7604C8.90972 12.6007 8.83333 12.4028 8.83333 12.1667C8.83333 11.9306 8.91319 11.7326 9.07292 11.5729C9.23264 11.4132 9.43056 11.3333 9.66667 11.3333H11.3333V9.64583C11.3333 9.40972 11.4132 9.21528 11.5729 9.0625C11.7326 8.90972 11.9306 8.83333 12.1667 8.83333C12.4028 8.83333 12.6007 8.91319 12.7604 9.07292C12.9201 9.23264 13 9.43056 13 9.66667V11.3333H14.6875C14.9236 11.3333 15.1181 11.4132 15.2708 11.5729C15.4236 11.7326 15.5 11.9306 15.5 12.1667C15.5 12.4028 15.4201 12.6007 15.2604 12.7604C15.1007 12.9201 14.9028 13 14.6667 13H13V14.6875C13 14.9236 12.9201 15.1181 12.7604 15.2708C12.6007 15.4236 12.4028 15.5 12.1667 15.5Z",fill:"currentColor"})})}function r0(e){return Q.jsx("svg",{...e,width:"25",height:"22",viewBox:"0 0 25 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M4.49986 22C3.33319 22 2.40472 21.5479 1.71444 20.6437C1.02416 19.7396 0.824856 18.7333 1.11652 17.625L3.21652 9.69166C2.57486 9.28333 2.04499 8.72916 1.62694 8.02916C1.20888 7.32916 0.999856 6.54166 0.999856 5.66666C0.999856 4.38333 1.4568 3.28472 2.37069 2.37083C3.28458 1.45694 4.38319 0.999997 5.66652 0.999997H14.9999C15.8749 0.999997 16.536 1.36944 16.9832 2.10833C17.4304 2.84722 17.4596 3.60555 17.0707 4.38333L14.7374 9.05C14.5235 9.43889 14.2367 9.75 13.8769 9.98333C13.5172 10.2167 13.1137 10.3333 12.6665 10.3333H10.304L9.98319 11.5H10.3332C10.6637 11.5 10.9408 11.6118 11.1644 11.8354C11.3881 12.059 11.4999 12.3361 11.4999 12.6667V15C11.4999 15.3306 11.3881 15.6076 11.1644 15.8312C10.9408 16.0549 10.6637 16.1667 10.3332 16.1667H8.75819L7.88319 19.4333C7.6693 20.1917 7.25125 20.809 6.62902 21.2854C6.0068 21.7618 5.29708 22 4.49986 22ZM23.079 1.7875L20.454 2.98333C20.2401 3.08055 20.0214 3.08541 19.7978 2.99791C19.5742 2.91041 19.4137 2.75972 19.3165 2.54583C19.2193 2.33194 19.2096 2.11319 19.2874 1.88958C19.3651 1.66597 19.511 1.50555 19.7249 1.40833L22.3499 0.212497C22.5637 0.115274 22.7874 0.110413 23.0207 0.197913C23.254 0.285413 23.4193 0.436108 23.5165 0.649997C23.6137 0.863885 23.6186 1.08264 23.5311 1.30625C23.4436 1.52986 23.2929 1.69027 23.079 1.7875ZM19.754 9.95416C19.5401 9.85694 19.3846 9.69166 19.2874 9.45833C19.1901 9.225 19.1901 9.00139 19.2874 8.7875C19.3846 8.55416 19.5499 8.39861 19.7832 8.32083C20.0165 8.24305 20.2499 8.25278 20.4832 8.35L23.1082 9.575C23.3221 9.67222 23.4679 9.83264 23.5457 10.0562C23.6235 10.2799 23.6137 10.4986 23.5165 10.7125C23.4193 10.9264 23.2589 11.0771 23.0353 11.1646C22.8117 11.2521 22.5929 11.2472 22.379 11.15L19.754 9.95416ZM23.4582 6.54166H20.5415C20.2887 6.54166 20.0797 6.45902 19.9144 6.29375C19.7492 6.12847 19.6665 5.91944 19.6665 5.66666C19.6665 5.41389 19.7492 5.20486 19.9144 5.03958C20.0797 4.8743 20.2887 4.79166 20.5415 4.79166H23.4582C23.711 4.79166 23.92 4.8743 24.0853 5.03958C24.2506 5.20486 24.3332 5.41389 24.3332 5.66666C24.3332 5.91944 24.2506 6.12847 24.0853 6.29375C23.92 6.45902 23.711 6.54166 23.4582 6.54166Z",fill:"currentColor"})})}function Cy(e){return Q.jsx("svg",{...e,width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.48669 19.8743C1.20336 19.8743 0.965861 19.7784 0.774194 19.5868C0.582528 19.3951 0.486694 19.1576 0.486694 18.8743C0.486694 18.5909 0.582528 18.3534 0.774194 18.1618C0.965861 17.9701 1.20336 17.8743 1.48669 17.8743H9.48669V6.69927C9.05336 6.54927 8.67836 6.31593 8.36169 5.99927C8.04503 5.6826 7.81169 5.3076 7.66169 4.87427H4.48669L7.23669 11.3243C7.32003 11.5076 7.37003 11.6951 7.38669 11.8868C7.40336 12.0784 7.39503 12.2743 7.36169 12.4743C7.21169 13.2409 6.79919 13.8326 6.12419 14.2493C5.44919 14.6659 4.73669 14.8743 3.98669 14.8743C3.23669 14.8743 2.52419 14.6659 1.84919 14.2493C1.17419 13.8326 0.761694 13.2409 0.611694 12.4743C0.578361 12.2743 0.570028 12.0784 0.586694 11.8868C0.603361 11.6951 0.653361 11.5076 0.736694 11.3243L3.48669 4.87427H2.48669C2.20336 4.87427 1.96586 4.77843 1.77419 4.58677C1.58253 4.3951 1.48669 4.1576 1.48669 3.87427C1.48669 3.59093 1.58253 3.35343 1.77419 3.16177C1.96586 2.9701 2.20336 2.87427 2.48669 2.87427H7.66169C7.86169 2.29093 8.22003 1.81177 8.73669 1.43677C9.25336 1.06177 9.83669 0.874268 10.4867 0.874268C11.1367 0.874268 11.72 1.06177 12.2367 1.43677C12.7534 1.81177 13.1117 2.29093 13.3117 2.87427H18.4867C18.77 2.87427 19.0075 2.9701 19.1992 3.16177C19.3909 3.35343 19.4867 3.59093 19.4867 3.87427C19.4867 4.1576 19.3909 4.3951 19.1992 4.58677C19.0075 4.77843 18.77 4.87427 18.4867 4.87427H17.4867L20.2367 11.3243C20.32 11.5076 20.37 11.6951 20.3867 11.8868C20.4034 12.0784 20.395 12.2743 20.3617 12.4743C20.2117 13.2409 19.7992 13.8326 19.1242 14.2493C18.4492 14.6659 17.7367 14.8743 16.9867 14.8743C16.2367 14.8743 15.5242 14.6659 14.8492 14.2493C14.1742 13.8326 13.7617 13.2409 13.6117 12.4743C13.5784 12.2743 13.57 12.0784 13.5867 11.8868C13.6034 11.6951 13.6534 11.5076 13.7367 11.3243L16.4867 4.87427H13.3117C13.1617 5.3076 12.9284 5.6826 12.6117 5.99927C12.295 6.31593 11.92 6.54927 11.4867 6.69927V17.8743H19.4867C19.77 17.8743 20.0075 17.9701 20.1992 18.1618C20.3909 18.3534 20.4867 18.5909 20.4867 18.8743C20.4867 19.1576 20.3909 19.3951 20.1992 19.5868C20.0075 19.7784 19.77 19.8743 19.4867 19.8743H1.48669ZM15.1117 11.8743H18.8617L16.9867 7.52427L15.1117 11.8743ZM2.11169 11.8743H5.86169L3.98669 7.52427L2.11169 11.8743ZM10.4867 4.87427C10.77 4.87427 11.0075 4.77843 11.1992 4.58677C11.3909 4.3951 11.4867 4.1576 11.4867 3.87427C11.4867 3.59093 11.3909 3.35343 11.1992 3.16177C11.0075 2.9701 10.77 2.87427 10.4867 2.87427C10.2034 2.87427 9.96586 2.9701 9.77419 3.16177C9.58253 3.35343 9.48669 3.59093 9.48669 3.87427C9.48669 4.1576 9.58253 4.3951 9.77419 4.58677C9.96586 4.77843 10.2034 4.87427 10.4867 4.87427Z",fill:"currentColor"})})}function xy(e){return Q.jsx("svg",{...e,width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.9001 0.899902C1.55532 0.899902 1.22466 1.03687 0.980859 1.28066C0.737062 1.52446 0.600098 1.85512 0.600098 2.1999C0.600098 2.54468 0.737062 2.87534 0.980859 3.11914C1.22466 3.36294 1.55532 3.4999 1.9001 3.4999V13.8999C1.9001 14.5895 2.17403 15.2508 2.66162 15.7384C3.14921 16.226 3.81053 16.4999 4.5001 16.4999H7.8619L6.181 18.1808C6.05683 18.3007 5.9578 18.4442 5.88967 18.6028C5.82153 18.7614 5.78567 18.932 5.78417 19.1046C5.78267 19.2772 5.81556 19.4484 5.88093 19.6081C5.94629 19.7679 6.04282 19.9131 6.16488 20.0351C6.28694 20.1572 6.43209 20.2537 6.59186 20.3191C6.75162 20.3844 6.92281 20.4173 7.09542 20.4158C7.26803 20.4143 7.43862 20.3785 7.59722 20.3103C7.75583 20.2422 7.89928 20.1432 8.0192 20.019L11.0001 17.0381L13.981 20.019C14.2262 20.2558 14.5546 20.3868 14.8954 20.3839C15.2363 20.3809 15.5623 20.2442 15.8034 20.0032C16.0444 19.7621 16.1811 19.4361 16.1841 19.0952C16.187 18.7544 16.056 18.426 15.8192 18.1808L14.1383 16.4999H17.5001C18.1897 16.4999 18.851 16.226 19.3386 15.7384C19.8262 15.2508 20.1001 14.5895 20.1001 13.8999V3.4999C20.4449 3.4999 20.7755 3.36294 21.0193 3.11914C21.2631 2.87534 21.4001 2.54468 21.4001 2.1999C21.4001 1.85512 21.2631 1.52446 21.0193 1.28066C20.7755 1.03687 20.4449 0.899902 20.1001 0.899902H1.9001ZM17.1192 7.019C17.356 6.77382 17.487 6.44544 17.4841 6.10458C17.4811 5.76373 17.3444 5.43767 17.1034 5.19664C16.8623 4.95561 16.5363 4.81889 16.1954 4.81593C15.8546 4.81296 15.5262 4.944 15.281 5.1808L11.0001 9.4617L9.3192 7.7808C9.07541 7.53709 8.74481 7.40018 8.4001 7.40018C8.05538 7.40018 7.72478 7.53709 7.481 7.7808L4.881 10.3808C4.75683 10.5007 4.6578 10.6442 4.58967 10.8028C4.52153 10.9614 4.48567 11.132 4.48417 11.3046C4.48267 11.4772 4.51556 11.6484 4.58093 11.8081C4.64629 11.9679 4.74282 12.1131 4.86488 12.2351C4.98694 12.3572 5.13209 12.4537 5.29186 12.5191C5.45162 12.5844 5.62281 12.6173 5.79542 12.6158C5.96803 12.6143 6.13862 12.5785 6.29722 12.5103C6.45583 12.4422 6.59928 12.3432 6.7192 12.219L8.4001 10.5381L10.081 12.219C10.3248 12.4627 10.6554 12.5996 11.0001 12.5996C11.3448 12.5996 11.6754 12.4627 11.9192 12.219L17.1192 7.019Z",fill:"currentColor"})})}function i0(e){return Q.jsx("svg",{...e,width:"25",height:"17",viewBox:"0 0 25 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M22.2222 6.8C22.9861 6.8 23.64 6.46708 24.184 5.80125C24.728 5.13542 25 4.335 25 3.4C25 2.465 24.728 1.66458 24.184 0.99875C23.64 0.332917 22.9861 0 22.2222 0H2.77778C2.01389 0 1.35995 0.332917 0.815973 0.99875C0.271991 1.66458 9.53674e-07 2.465 9.53674e-07 3.4C9.53674e-07 4.335 0.271991 5.13542 0.815973 5.80125C1.35995 6.46708 2.01389 6.8 2.77778 6.8H22.2222ZM22.2222 17C22.9861 17 23.64 16.6671 24.184 16.0013C24.728 15.3354 25 14.535 25 13.6C25 12.665 24.728 11.8646 24.184 11.1988C23.64 10.5329 22.9861 10.2 22.2222 10.2H2.77778C2.01389 10.2 1.35995 10.5329 0.815973 11.1988C0.271991 11.8646 9.53674e-07 12.665 9.53674e-07 13.6C9.53674e-07 14.535 0.271991 15.3354 0.815973 16.0013C1.35995 16.6671 2.01389 17 2.77778 17H22.2222ZM20.8333 5.1C20.4398 5.1 20.11 4.93708 19.8438 4.61125C19.5775 4.28542 19.4444 3.88167 19.4444 3.4C19.4444 2.91833 19.5775 2.51458 19.8438 2.18875C20.11 1.86292 20.4398 1.7 20.8333 1.7C21.2269 1.7 21.5567 1.86292 21.8229 2.18875C22.0891 2.51458 22.2222 2.91833 22.2222 3.4C22.2222 3.88167 22.0891 4.28542 21.8229 4.61125C21.5567 4.93708 21.2269 5.1 20.8333 5.1ZM20.8333 15.3C20.4398 15.3 20.11 15.1371 19.8438 14.8113C19.5775 14.4854 19.4444 14.0817 19.4444 13.6C19.4444 13.1183 19.5775 12.7146 19.8438 12.3888C20.11 12.0629 20.4398 11.9 20.8333 11.9C21.2269 11.9 21.5567 12.0629 21.8229 12.3888C22.0891 12.7146 22.2222 13.1183 22.2222 13.6C22.2222 14.0817 22.0891 14.4854 21.8229 14.8113C21.5567 15.1371 21.2269 15.3 20.8333 15.3Z",fill:"currentColor"})})}function wy(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.84017 0.0917866L19.8356 3.50325C19.9235 3.52873 19.9984 3.6179 19.9984 3.75803V16.2039C19.9984 16.3441 19.9235 16.4358 19.8356 16.4587L7.84017 19.8906C7.75228 19.916 7.67741 19.7759 7.67741 19.6358V0.346564C7.67741 0.206436 7.75228 0.0663089 7.84017 0.0917866ZM0.112305 1.79879L1.74479 1.37331V18.5937L0.112305 18.1606C0.0504557 18.1428 0 18.0816 0 17.9848V1.97459C0 1.87777 0.0504557 1.81663 0.112305 1.79879ZM2.3763 1.20771L4.23828 0.721086V19.2562L2.3763 18.7644V1.20771ZM4.87142 0.558029L7.00521 0.00261466C7.06543 -0.012672 7.11751 0.0815955 7.11751 0.178411V19.8218C7.11751 19.9186 7.06706 20.0128 7.00521 19.9976L4.87142 19.4294V0.624271V0.558029ZM19.4238 4.63701V15.3504H19.2122V4.63701H19.4238ZM9.37988 2.50452V17.8065H8.74675V2.19879L9.37988 2.50452ZM11.1133 2.75675V17.4014H10.5322V2.63956L11.1133 2.75675ZM12.6644 3.14911V16.9912H12.137V2.9937L12.6644 3.14911ZM14.0479 3.48796V16.6931H13.5726V3.31472L14.0479 3.48796ZM15.3239 3.80898V16.3262H14.9007V3.6714L15.3239 3.80898ZM16.5007 4.04083V16.0434H16.1312V3.90835L16.5007 4.04083ZM17.5553 4.34147V15.7861H17.238V4.18605L17.5553 4.34147ZM18.5384 4.60134V15.5492H18.2747V4.41026L18.5384 4.60134Z",fill:"currentColor"})})}function Sy(e){return Q.jsx("svg",{...e,width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M3.43286 15.1467V10.1467C3.43286 9.8634 3.52869 9.6259 3.72036 9.43423C3.91203 9.24256 4.14953 9.14673 4.43286 9.14673C4.71619 9.14673 4.95369 9.24256 5.14536 9.43423C5.33703 9.6259 5.43286 9.8634 5.43286 10.1467V15.1467C5.43286 15.4301 5.33703 15.6676 5.14536 15.8592C4.95369 16.0509 4.71619 16.1467 4.43286 16.1467C4.14953 16.1467 3.91203 16.0509 3.72036 15.8592C3.52869 15.6676 3.43286 15.4301 3.43286 15.1467ZM9.43286 15.1467V10.1467C9.43286 9.8634 9.5287 9.6259 9.72036 9.43423C9.91203 9.24256 10.1495 9.14673 10.4329 9.14673C10.7162 9.14673 10.9537 9.24256 11.1454 9.43423C11.337 9.6259 11.4329 9.8634 11.4329 10.1467V15.1467C11.4329 15.4301 11.337 15.6676 11.1454 15.8592C10.9537 16.0509 10.7162 16.1467 10.4329 16.1467C10.1495 16.1467 9.91203 16.0509 9.72036 15.8592C9.5287 15.6676 9.43286 15.4301 9.43286 15.1467ZM1.43286 20.1467C1.14953 20.1467 0.912028 20.0509 0.720361 19.8592C0.528695 19.6676 0.432861 19.4301 0.432861 19.1467C0.432861 18.8634 0.528695 18.6259 0.720361 18.4342C0.912028 18.2426 1.14953 18.1467 1.43286 18.1467H19.4329C19.7162 18.1467 19.9537 18.2426 20.1454 18.4342C20.337 18.6259 20.4329 18.8634 20.4329 19.1467C20.4329 19.4301 20.337 19.6676 20.1454 19.8592C19.9537 20.0509 19.7162 20.1467 19.4329 20.1467H1.43286ZM15.4329 15.1467V10.1467C15.4329 9.8634 15.5287 9.6259 15.7204 9.43423C15.912 9.24256 16.1495 9.14673 16.4329 9.14673C16.7162 9.14673 16.9537 9.24256 17.1454 9.43423C17.337 9.6259 17.4329 9.8634 17.4329 10.1467V15.1467C17.4329 15.4301 17.337 15.6676 17.1454 15.8592C16.9537 16.0509 16.7162 16.1467 16.4329 16.1467C16.1495 16.1467 15.912 16.0509 15.7204 15.8592C15.5287 15.6676 15.4329 15.4301 15.4329 15.1467ZM19.4329 7.14673H1.33286C1.08286 7.14673 0.870361 7.05923 0.695361 6.88423C0.520361 6.70923 0.432861 6.49673 0.432861 6.24673V5.69673C0.432861 5.5134 0.478695 5.35506 0.570361 5.22173C0.662028 5.0884 0.782861 4.98006 0.932861 4.89673L9.53286 0.596729C9.8162 0.463395 10.1162 0.396729 10.4329 0.396729C10.7495 0.396729 11.0495 0.463395 11.3329 0.596729L19.8829 4.87173C20.0662 4.95506 20.2037 5.08006 20.2954 5.24673C20.387 5.4134 20.4329 5.5884 20.4329 5.77173V6.14673C20.4329 6.43006 20.337 6.66756 20.1454 6.85923C19.9537 7.0509 19.7162 7.14673 19.4329 7.14673Z",fill:"currentColor"})})}function Iy(e){return Q.jsx("svg",{...e,width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.4112 15.8534C13.7679 15.8534 12.4358 14.5352 12.4358 12.9093C12.4358 11.2831 13.7679 9.96484 15.4112 9.96484C17.0544 9.96484 18.3865 11.2831 18.3865 12.9093C18.3865 14.5352 17.0544 15.8534 15.4112 15.8534ZM16.3019 7.24076V4.6215C16.9928 4.29858 17.4767 3.60696 17.4767 2.80432V2.74386C17.4767 1.63609 16.5608 0.729756 15.4414 0.729756H15.3806C14.2612 0.729756 13.3454 1.63609 13.3454 2.74386V2.80432C13.3454 3.60696 13.8293 4.29886 14.5202 4.62178V7.24076C13.4916 7.39813 12.5517 7.81795 11.7766 8.43583L4.50956 2.84161C4.55752 2.65938 4.59121 2.47179 4.5915 2.27459C4.59264 1.02019 3.5666 0.0016966 2.29846 1.47173e-06C1.0309 -0.00141114 0.00142892 1.01426 1.48759e-06 2.26894C-0.00142595 3.52362 1.02462 4.54211 2.29275 4.54352C2.70585 4.54409 3.0884 4.42797 3.42357 4.23925L10.5719 9.74249C9.96408 10.6505 9.60779 11.7382 9.60779 12.9093C9.60779 14.1351 9.9992 15.2692 10.6604 16.2018L8.48669 18.3532C8.31482 18.3021 8.13668 18.2665 7.94769 18.2665C6.90594 18.2665 6.06118 19.1022 6.06118 20.1331C6.06118 21.1643 6.90594 22 7.94769 22C8.98971 22 9.83419 21.1643 9.83419 20.1331C9.83419 19.9466 9.79822 19.7701 9.74654 19.6L11.8968 17.472C12.8729 18.2091 14.0885 18.6521 15.4112 18.6521C18.6163 18.6521 21.2143 16.0809 21.2143 12.9093C21.2143 10.038 19.0828 7.66596 16.3019 7.24076Z",fill:"currentColor"})})}function Ey(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10 15C10.2833 15 10.5208 14.9042 10.7125 14.7125C10.9042 14.5208 11 14.2833 11 14V10C11 9.71667 10.9042 9.47917 10.7125 9.2875C10.5208 9.09583 10.2833 9 10 9C9.71667 9 9.47917 9.09583 9.2875 9.2875C9.09583 9.47917 9 9.71667 9 10V14C9 14.2833 9.09583 14.5208 9.2875 14.7125C9.47917 14.9042 9.71667 15 10 15ZM10 7C10.2833 7 10.5208 6.90417 10.7125 6.7125C10.9042 6.52083 11 6.28333 11 6C11 5.71667 10.9042 5.47917 10.7125 5.2875C10.5208 5.09583 10.2833 5 10 5C9.71667 5 9.47917 5.09583 9.2875 5.2875C9.09583 5.47917 9 5.71667 9 6C9 6.28333 9.09583 6.52083 9.2875 6.7125C9.47917 6.90417 9.71667 7 10 7ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20Z",fill:"currentColor"})})}function Ay(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10 15C10.2833 15 10.5208 14.9042 10.7125 14.7125C10.9042 14.5208 11 14.2833 11 14C11 13.7167 10.9042 13.4792 10.7125 13.2875C10.5208 13.0958 10.2833 13 10 13C9.71667 13 9.47917 13.0958 9.2875 13.2875C9.09583 13.4792 9 13.7167 9 14C9 14.2833 9.09583 14.5208 9.2875 14.7125C9.47917 14.9042 9.71667 15 10 15ZM10 11C10.2833 11 10.5208 10.9042 10.7125 10.7125C10.9042 10.5208 11 10.2833 11 10V6C11 5.71667 10.9042 5.47917 10.7125 5.2875C10.5208 5.09583 10.2833 5 10 5C9.71667 5 9.47917 5.09583 9.2875 5.2875C9.09583 5.47917 9 5.71667 9 6V10C9 10.2833 9.09583 10.5208 9.2875 10.7125C9.47917 10.9042 9.71667 11 10 11ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20Z",fill:"currentColor"})})}function _y(e){return Q.jsx("svg",{...e,width:"20",height:"17",viewBox:"0 0 20 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10.1137 16.777C9.85397 16.777 9.63626 16.6892 9.46056 16.5135C9.28487 16.3378 9.19702 16.1201 9.19702 15.8603C9.19702 15.6006 9.28487 15.3829 9.46056 15.2072C9.63626 15.0315 9.85397 14.9437 10.1137 14.9437H16.5304V8.43534C16.5304 6.64784 15.9078 5.13152 14.6626 3.88638C13.4175 2.64124 11.9012 2.01867 10.1137 2.01867C8.32619 2.01867 6.80987 2.64124 5.56473 3.88638C4.31959 5.13152 3.69702 6.64784 3.69702 8.43534V13.1103C3.69702 13.3701 3.60917 13.5878 3.43348 13.7635C3.25779 13.9392 3.04008 14.027 2.78035 14.027C2.27619 14.027 1.84459 13.8475 1.48556 13.4885C1.12654 13.1294 0.947021 12.6978 0.947021 12.1937V10.3603C0.947021 10.0395 1.02723 9.73777 1.18765 9.45513C1.34806 9.17249 1.57341 8.94715 1.86369 8.77909L1.93244 7.56451C2.05466 6.52562 2.3564 5.56312 2.83765 4.67701C3.3189 3.7909 3.92237 3.01937 4.64806 2.36242C5.37376 1.70548 6.2064 1.19367 7.14598 0.827008C8.08556 0.460341 9.0748 0.277008 10.1137 0.277008C11.1526 0.277008 12.138 0.460341 13.0699 0.827008C14.0019 1.19367 14.8345 1.70166 15.5679 2.35097C16.3012 3.00027 16.9047 3.76798 17.3783 4.65409C17.8519 5.5402 18.1574 6.5027 18.2949 7.54159L18.3637 8.73326C18.654 8.87076 18.8793 9.07701 19.0397 9.35201C19.2001 9.62701 19.2804 9.91729 19.2804 10.2228V12.3312C19.2804 12.6367 19.2001 12.927 19.0397 13.202C18.8793 13.477 18.654 13.6833 18.3637 13.8208V14.9437C18.3637 15.4478 18.1842 15.8794 17.8251 16.2385C17.4661 16.5975 17.0345 16.777 16.5304 16.777H10.1137ZM7.36369 10.3603C7.10397 10.3603 6.88626 10.2725 6.71056 10.0968C6.53487 9.92111 6.44702 9.7034 6.44702 9.44368C6.44702 9.18395 6.53487 8.96624 6.71056 8.79055C6.88626 8.61486 7.10397 8.52701 7.36369 8.52701C7.62341 8.52701 7.84112 8.61486 8.01681 8.79055C8.19251 8.96624 8.28035 9.18395 8.28035 9.44368C8.28035 9.7034 8.19251 9.92111 8.01681 10.0968C7.84112 10.2725 7.62341 10.3603 7.36369 10.3603ZM12.8637 10.3603C12.604 10.3603 12.3863 10.2725 12.2106 10.0968C12.0349 9.92111 11.947 9.7034 11.947 9.44368C11.947 9.18395 12.0349 8.96624 12.2106 8.79055C12.3863 8.61486 12.604 8.52701 12.8637 8.52701C13.1234 8.52701 13.3411 8.61486 13.5168 8.79055C13.6925 8.96624 13.7804 9.18395 13.7804 9.44368C13.7804 9.7034 13.6925 9.92111 13.5168 10.0968C13.3411 10.2725 13.1234 10.3603 12.8637 10.3603ZM4.6366 8.93951C4.52966 7.32006 5.01855 5.92979 6.10327 4.76867C7.18799 3.60756 8.54008 3.02701 10.1595 3.02701C11.5192 3.02701 12.7147 3.45861 13.746 4.3218C14.7772 5.18499 15.3998 6.28881 15.6137 7.63326C14.2234 7.61798 12.9439 7.24368 11.7751 6.51034C10.6064 5.77701 9.70883 4.78395 9.08244 3.53117C8.83799 4.7534 8.32237 5.84194 7.53556 6.7968C6.74876 7.75166 5.78244 8.4659 4.6366 8.93951Z",fill:"currentColor"})})}function Py(e){return Q.jsx("svg",{...e,width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M12.5002 2.08334C10.4399 2.08334 8.42599 2.69427 6.71298 3.83887C4.99997 4.98347 3.66484 6.61033 2.87642 8.51372C2.08801 10.4171 1.88172 12.5116 2.28365 14.5322C2.68558 16.5528 3.67767 18.4089 5.13447 19.8657C6.59127 21.3225 8.44734 22.3146 10.468 22.7165C12.4886 23.1185 14.5831 22.9122 16.4865 22.1238C18.3899 21.3353 20.0167 20.0002 21.1613 18.2872C22.3059 16.5742 22.9168 14.5602 22.9168 12.5C22.9168 11.1321 22.6474 9.77753 22.1239 8.51372C21.6004 7.24992 20.8331 6.10159 19.8659 5.13431C18.8986 4.16704 17.7503 3.39975 16.4865 2.87627C15.2226 2.35278 13.8681 2.08334 12.5002 2.08334ZM12.5002 20.8333C10.9632 20.833 9.45627 20.4076 8.146 19.6042L11.8752 17.4479V12.7604L7.82308 10.4167V15.125L10.6877 16.7813L7.0835 18.8646C6.05193 17.994 5.24728 16.8858 4.73877 15.6354C4.23027 14.385 4.03312 13.0298 4.16429 11.6864C4.29546 10.3429 4.75102 9.05141 5.49178 7.92299C6.23255 6.79456 7.23635 5.86297 8.41683 5.20834V9.37501L12.5002 11.75L16.5627 9.37501L12.5002 7.05209L9.62517 8.70834V4.65626C10.6517 4.27084 11.7441 4.09179 12.8399 4.12935C13.9358 4.16692 15.0134 4.42038 16.0111 4.87519C17.0088 5.33 17.9069 5.97724 18.654 6.77979C19.4011 7.58234 19.9824 8.52444 20.3647 9.55209C20.7162 10.4952 20.8962 11.4936 20.896 12.5V12.5729L17.146 10.4167L13.0835 12.7708V17.4688L17.146 15.125V11.8125L20.7397 13.8958C20.4094 15.8402 19.4001 17.6044 17.8914 18.8747C16.3827 20.145 14.4724 20.839 12.5002 20.8333Z",fill:"currentColor"})})}function Ty(e){return Q.jsx("svg",{...e,width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M3.531 15.573c-1.385-2.417-1.667-4.672-0.682-6.375 1.318-2.286 4.625-3.083 8.807-2.323 0.24 0.036 0.406 0.266 0.365 0.505-0.047 0.24-0.281 0.396-0.521 0.339-3.865-0.703-6.813 0.010-7.906 1.906-0.807 1.396-0.568 3.344 0.682 5.521 0.13 0.208 0.063 0.479-0.151 0.604-0.214 0.12-0.484 0.042-0.594-0.177zM23.422 7.479c2.448 0.031 4.208 0.792 5.005 2.167 1.094 1.891 0.24 4.792-2.292 7.781-0.172 0.182-0.156 0.469 0.031 0.625 0.188 0.161 0.474 0.13 0.62-0.068 2.74-3.234 3.698-6.49 2.38-8.766-0.969-1.677-3.010-2.563-5.729-2.599-0.245-0.016-0.458 0.177-0.458 0.427-0.005 0.245 0.198 0.443 0.448 0.432zM20.953 27.797c-0.203-0.12-0.469-0.057-0.589 0.146-1.245 2.073-2.776 3.198-4.349 3.198-2.188 0-4.276-2.193-5.599-5.891-0.073-0.229-0.328-0.354-0.552-0.271-0.229 0.083-0.344 0.339-0.255 0.563 1.427 3.995 3.771 6.458 6.406 6.458 1.917 0 3.693-1.307 5.083-3.615 0.12-0.203 0.057-0.464-0.146-0.589zM30.76 24.339c-0.005 1.672-1.891 2.635-3.25 1.667-3.271 1.927-9.526 0.948-15.411-2.453-2.505-1.448-4.703-3.188-6.396-5.047-0.167-0.172-0.161-0.453 0.021-0.62 0.177-0.161 0.458-0.146 0.615 0.042 1.63 1.792 3.755 3.479 6.187 4.88 5.557 3.208 11.406 4.161 14.396 2.542-0.667-1.172-0.042-2.656 1.26-3 1.307-0.344 2.583 0.641 2.578 1.99zM5.344 24.339c0.005 1.589-1.724 2.578-3.094 1.771-1.37-0.802-1.344-2.797 0.047-3.563-0.313-3.839 3.719-8.979 9.813-12.5 2.531-1.458 5.167-2.495 7.641-3.026 0.531-0.073 0.693 0.688 0.182 0.839-2.385 0.51-4.938 1.516-7.396 2.932-5.734 3.313-9.526 8.089-9.396 11.505 0.052-0.005 0.099-0.010 0.151-0.010 1.135 0 2.052 0.922 2.052 2.052zM13.964 2.052c0.094-2.635 4.010-2.635 4.104 0 0 0.031-0.005 0.063-0.005 0.089 3.401 1.76 5.76 7.75 5.76 14.672 0 2.849-0.396 5.578-1.141 7.948-0.063 0.234-0.307 0.375-0.542 0.302s-0.359-0.328-0.276-0.557c0.714-2.286 1.099-4.932 1.099-7.693 0-6.521-2.167-12.125-5.125-13.818-0.99 1.911-3.88 1.208-3.875-0.943zM15.703 15.359c-0.802 0.177-1.313 0.964-1.141 1.766s0.964 1.313 1.766 1.141c1.938-0.417 1.307-3.323-0.625-2.906z",fill:"currentColor"})})}function My(e){return Q.jsxs("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("mask",{id:"mask0_1907_530",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:Q.jsx("rect",{width:"24",height:"24",fill:"currentColor"})}),Q.jsx("g",{mask:"url(#mask0_1907_530)",children:Q.jsx("path",{d:"M3 20C2.45 20 1.97917 19.8042 1.5875 19.4125C1.19583 19.0208 1 18.55 1 18V8C1 7.71667 1.09583 7.47917 1.2875 7.2875C1.47917 7.09583 1.71667 7 2 7C2.28333 7 2.52083 7.09583 2.7125 7.2875C2.90417 7.47917 3 7.71667 3 8V18H19C19.2833 18 19.5208 18.0958 19.7125 18.2875C19.9042 18.4792 20 18.7167 20 19C20 19.2833 19.9042 19.5208 19.7125 19.7125C19.5208 19.9042 19.2833 20 19 20H3ZM7 16C6.45 16 5.97917 15.8042 5.5875 15.4125C5.19583 15.0208 5 14.55 5 14V6C5 5.45 5.19583 4.97917 5.5875 4.5875C5.97917 4.19583 6.45 4 7 4H21C21.55 4 22.0208 4.19583 22.4125 4.5875C22.8042 4.97917 23 5.45 23 6V14C23 14.55 22.8042 15.0208 22.4125 15.4125C22.0208 15.8042 21.55 16 21 16H7ZM9 14C9 13.45 8.80417 12.9792 8.4125 12.5875C8.02083 12.1958 7.55 12 7 12V14H9ZM19 14H21V12C20.45 12 19.9792 12.1958 19.5875 12.5875C19.1958 12.9792 19 13.45 19 14ZM14 13C14.8333 13 15.5417 12.7083 16.125 12.125C16.7083 11.5417 17 10.8333 17 10C17 9.16667 16.7083 8.45833 16.125 7.875C15.5417 7.29167 14.8333 7 14 7C13.1667 7 12.4583 7.29167 11.875 7.875C11.2917 8.45833 11 9.16667 11 10C11 10.8333 11.2917 11.5417 11.875 12.125C12.4583 12.7083 13.1667 13 14 13ZM7 8C7.55 8 8.02083 7.80417 8.4125 7.4125C8.80417 7.02083 9 6.55 9 6H7V8ZM21 8V6H19C19 6.55 19.1958 7.02083 19.5875 7.4125C19.9792 7.80417 20.45 8 21 8Z",fill:"currentColor"})})]})}var o0={exports:{}};/*!
|
|
59
|
+
<%s key={someKey} {...props} />`,Er,Wt,ns,Wt),Ir[Wt+Er]=!0}}return C===r?qa(Ue):Ka(Ue),Ue}}function Vi(C,N,X){return Ri(C,N,X,!0)}function Qa(C,N,X){return Ri(C,N,X,!1)}var es=Qa,ts=Vi;ys.Fragment=r,ys.jsx=es,ys.jsxs=ts}()),ys}process.env.NODE_ENV==="production"?Ku.exports=z4():Ku.exports=Z4();var Q=Ku.exports;function U4(e){return Q.jsx("svg",{...e,width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.9625 13.0227L0.5375 8.45455C0.5 8.31818 0.515625 8.15909 0.584375 7.97727C0.653125 7.79545 0.8 7.67045 1.025 7.60227L2 7.29545V4.15909C2 3.78409 2.14688 3.46307 2.44063 3.19602C2.73438 2.92898 3.0875 2.79545 3.5 2.79545H5.75V0.75H10.25V2.79545H12.5C12.9125 2.79545 13.2656 2.92898 13.5594 3.19602C13.8531 3.46307 14 3.78409 14 4.15909V7.29545L14.975 7.60227C15.2375 7.69318 15.3938 7.8267 15.4438 8.00284C15.4938 8.17898 15.5 8.32955 15.4625 8.45455L14.0375 13.0227C13.4125 13.0227 12.8438 12.8892 12.3313 12.6222C11.8188 12.3551 11.375 12.0341 11 11.6591C10.625 12.0341 10.1813 12.3551 9.66875 12.6222C9.15625 12.8892 8.6 13.0227 8 13.0227C7.4 13.0227 6.84375 12.8892 6.33125 12.6222C5.81875 12.3551 5.375 12.0341 5 11.6591C4.625 12.0341 4.18125 12.3551 3.66875 12.6222C3.15625 12.8892 2.5875 13.0227 1.9625 13.0227ZM0.5 15.75V14.3864H2C2.525 14.3864 3.04375 14.3125 3.55625 14.1648C4.06875 14.017 4.55 13.7955 5 13.5C5.45 13.7955 5.93125 14.0114 6.44375 14.1477C6.95625 14.2841 7.475 14.3523 8 14.3523C8.525 14.3523 9.04375 14.2841 9.55625 14.1477C10.0687 14.0114 10.55 13.7955 11 13.5C11.45 13.7955 11.9313 14.017 12.4438 14.1648C12.9563 14.3125 13.475 14.3864 14 14.3864H15.5V15.75H14C13.475 15.75 12.9625 15.6932 12.4625 15.5795C11.9625 15.4659 11.475 15.2955 11 15.0682C10.525 15.2955 10.0344 15.4659 9.52813 15.5795C9.02188 15.6932 8.5125 15.75 8 15.75C7.4875 15.75 6.97813 15.6932 6.47188 15.5795C5.96563 15.4659 5.475 15.2955 5 15.0682C4.525 15.2955 4.0375 15.4659 3.5375 15.5795C3.0375 15.6932 2.525 15.75 2 15.75H0.5ZM3.5 6.85227L8 5.52273L12.5 6.85227V4.15909H3.5V6.85227Z",fill:"currentColor"})})}function Y4(e){return Q.jsx("svg",{...e,width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M5 16H11C11.2833 16 11.5208 15.9042 11.7125 15.7125C11.9042 15.5208 12 15.2833 12 15C12 14.7167 11.9042 14.4792 11.7125 14.2875C11.5208 14.0958 11.2833 14 11 14H5C4.71667 14 4.47917 14.0958 4.2875 14.2875C4.09583 14.4792 4 14.7167 4 15C4 15.2833 4.09583 15.5208 4.2875 15.7125C4.47917 15.9042 4.71667 16 5 16ZM5 12H11C11.2833 12 11.5208 11.9042 11.7125 11.7125C11.9042 11.5208 12 11.2833 12 11C12 10.7167 11.9042 10.4792 11.7125 10.2875C11.5208 10.0958 11.2833 10 11 10H5C4.71667 10 4.47917 10.0958 4.2875 10.2875C4.09583 10.4792 4 10.7167 4 11C4 11.2833 4.09583 11.5208 4.2875 11.7125C4.47917 11.9042 4.71667 12 5 12ZM2 20C1.45 20 0.979167 19.8042 0.5875 19.4125C0.195833 19.0208 0 18.55 0 18V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H9.175C9.44167 0 9.69583 0.05 9.9375 0.15C10.1792 0.25 10.3917 0.391667 10.575 0.575L15.425 5.425C15.6083 5.60833 15.75 5.82083 15.85 6.0625C15.95 6.30417 16 6.55833 16 6.825V18C16 18.55 15.8042 19.0208 15.4125 19.4125C15.0208 19.8042 14.55 20 14 20H2ZM9 6V2H2V18H14V7H10C9.71667 7 9.47917 6.90417 9.2875 6.7125C9.09583 6.52083 9 6.28333 9 6Z",fill:"currentColor"})})}function J4(e){return Q.jsx("svg",{...e,width:"25",height:"15",viewBox:"0 0 25 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.38889 15H23.6111C24.375 15 25 14.4375 25 13.75C25 13.0625 24.375 12.5 23.6111 12.5H1.38889C0.625 12.5 0 13.0625 0 13.75C0 14.4375 0.625 15 1.38889 15ZM1.38889 8.75H23.6111C24.375 8.75 25 8.1875 25 7.5C25 6.8125 24.375 6.25 23.6111 6.25H1.38889C0.625 6.25 0 6.8125 0 7.5C0 8.1875 0.625 8.75 1.38889 8.75ZM0 1.25C0 1.9375 0.625 2.5 1.38889 2.5H23.6111C24.375 2.5 25 1.9375 25 1.25C25 0.5625 24.375 0 23.6111 0H1.38889C0.625 0 0 0.5625 0 1.25Z",fill:"currentColor"})})}function K4(e){return Q.jsx("svg",{...e,width:"23",height:"22",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.625 0.125V9.79167H10.2917V0.125H0.625ZM7.875 7.375H3.04167V2.54167H7.875V7.375ZM0.625 12.2083V21.875H10.2917V12.2083H0.625ZM7.875 19.4583H3.04167V14.625H7.875V19.4583ZM12.7083 0.125V9.79167H22.375V0.125H12.7083ZM19.9583 7.375H15.125V2.54167H19.9583V7.375ZM12.7083 12.2083V21.875H22.375V12.2083H12.7083ZM19.9583 19.4583H15.125V14.625H19.9583V19.4583Z",fill:"currentColor"})})}function q4(e){return Q.jsx("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M12 12C15.315 12 18 9.315 18 6C18 2.685 15.315 0 12 0C8.685 0 6 2.685 6 6C6 9.315 8.685 12 12 12ZM12 15C7.995 15 0 17.01 0 21V22.5C0 23.325 0.675 24 1.5 24H22.5C23.325 24 24 23.325 24 22.5V21C24 17.01 16.005 15 12 15Z",fill:"currentColor"})})}function Q4(e){return Q.jsx("svg",{...e,width:"16",height:"21",viewBox:"0 0 16 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M8 20.325C5.68333 19.7416 3.77083 18.4125 2.2625 16.3375C0.754167 14.2625 0 11.9583 0 9.42495V3.32495L8 0.324951L16 3.32495V9.42495C16 11.9583 15.2458 14.2625 13.7375 16.3375C12.2292 18.4125 10.3167 19.7416 8 20.325Z",fill:"currentColor"})})}function ey(e){return Q.jsxs("svg",{...e,width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("path",{d:"M1.54167 1.54167H5.79167C6.18125 1.54167 6.5 1.22292 6.5 0.833333C6.5 0.44375 6.18125 0.125 5.79167 0.125H1.54167C0.7625 0.125 0.125 0.7625 0.125 1.54167V11.4583C0.125 12.2375 0.7625 12.875 1.54167 12.875H5.79167C6.18125 12.875 6.5 12.5562 6.5 12.1667C6.5 11.7771 6.18125 11.4583 5.79167 11.4583H1.54167V1.54167Z",fill:"currentColor"}),Q.jsx("path",{d:"M12.6271 6.25205L10.6508 4.2758C10.6016 4.22519 10.5383 4.19043 10.4692 4.17597C10.4001 4.16151 10.3282 4.16801 10.2628 4.19464C10.1974 4.22126 10.1414 4.2668 10.102 4.32542C10.0626 4.38405 10.0416 4.45309 10.0417 4.52372V5.79163H5.08333C4.69375 5.79163 4.375 6.11038 4.375 6.49997C4.375 6.88955 4.69375 7.2083 5.08333 7.2083H10.0417V8.47622C10.0417 8.79497 10.4242 8.9508 10.6437 8.72413L12.62 6.74788C12.7617 6.6133 12.7617 6.38663 12.6271 6.25205Z",fill:"currentColor"})]})}function ty(e){return Q.jsxs("svg",{...e,width:"11",height:"7",viewBox:"0 0 11 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("g",{clipPath:"url(#clip0_38_137)",children:Q.jsx("path",{d:"M1.86625 0.800537L5.5 4.42637L9.13375 0.800537L10.25 1.91679L5.5 6.66679L0.75 1.91679L1.86625 0.800537Z",fill:"currentColor"})}),Q.jsx("defs",{children:Q.jsx("clipPath",{id:"clip0_38_137",children:Q.jsx("rect",{width:"11",height:"7",fill:"white"})})})]})}function ny(e){return Q.jsxs("svg",{...e,width:"11",height:"7",viewBox:"0 0 11 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("g",{clipPath:"url(#clip0_38_137)",children:Q.jsx("path",{d:"M9.13375 6.19946L5.5 2.57363L1.86625 6.19946L0.75 5.08321L5.5 0.333209L10.25 5.08321L9.13375 6.19946Z",fill:"currentColor"})}),Q.jsx("defs",{children:Q.jsx("clipPath",{id:"clip0_38_137",children:Q.jsx("rect",{width:"11",height:"7",fill:"white",transform:"matrix(-1 0 0 -1 11 7)"})})})]})}function qu(e){return Q.jsx("svg",{...e,width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10.5 5L5.5 0L0.5 5L10.5 5Z",fill:"currentColor"})})}function Qu(e){return Q.jsx("svg",{...e,width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M0.5 0.5L5.5 5.5L10.5 0.5H0.5Z",fill:"currentColor"})})}function Qh(e){return Q.jsx("svg",{...e,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M6.9998 8.39999L2.0998 13.3C1.91647 13.4833 1.68314 13.575 1.3998 13.575C1.11647 13.575 0.883138 13.4833 0.699805 13.3C0.516471 13.1167 0.424805 12.8833 0.424805 12.6C0.424805 12.3167 0.516471 12.0833 0.699805 11.9L5.5998 6.99999L0.699805 2.09999C0.516471 1.91665 0.424805 1.68332 0.424805 1.39999C0.424805 1.11665 0.516471 0.883321 0.699805 0.699988C0.883138 0.516654 1.11647 0.424988 1.3998 0.424988C1.68314 0.424988 1.91647 0.516654 2.0998 0.699988L6.9998 5.59999L11.8998 0.699988C12.0831 0.516654 12.3165 0.424988 12.5998 0.424988C12.8831 0.424988 13.1165 0.516654 13.2998 0.699988C13.4831 0.883321 13.5748 1.11665 13.5748 1.39999C13.5748 1.68332 13.4831 1.91665 13.2998 2.09999L8.3998 6.99999L13.2998 11.9C13.4831 12.0833 13.5748 12.3167 13.5748 12.6C13.5748 12.8833 13.4831 13.1167 13.2998 13.3C13.1165 13.4833 12.8831 13.575 12.5998 13.575C12.3165 13.575 12.0831 13.4833 11.8998 13.3L6.9998 8.39999Z",fill:"currentColor"})})}function e0(e){return Q.jsx("svg",{...e,width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M6 10.6667L1.33333 6.00002L6 1.33335",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})})}function t0(e){return Q.jsx("svg",{...e,width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1 1.33331L5.66667 5.99998L1 10.6666",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})})}function ry(e){return Q.jsx("svg",{...e,width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M6.33334 10.6667L1.66667 6.00002L6.33334 1.33335M11.6667 10.6667L7 6.00002L11.6667 1.33335",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})})}function iy(e){return Q.jsx("svg",{...e,width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M6.66668 1.33331L11.3333 5.99998L6.66668 10.6666M1.33334 1.33331L6.00001 5.99998L1.33334 10.6666",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})})}function oy(e){return Q.jsx("svg",{...e,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M11.9246 3.81796L9.09596 0.989257C8.99538 0.888678 8.8323 0.888678 8.73176 0.989223L8.2461 1.47485C8.19778 1.52316 8.17065 1.58865 8.17065 1.65698C8.17065 1.72529 8.19778 1.79077 8.24606 1.83909L9.80606 3.39912H2.19401L3.754 1.83915C3.80229 1.79087 3.82941 1.72535 3.82941 1.65705C3.82941 1.58875 3.80229 1.52323 3.754 1.47495L3.26834 0.989257C3.16776 0.888712 3.00472 0.888643 2.90411 0.989257L0.0754091 3.81792C0.027128 3.8662 0 3.93172 0 4.00002C0 4.06832 0.027128 4.13384 0.0754091 4.18212L2.90414 7.01082C2.95445 7.0611 3.02038 7.08627 3.08628 7.08627C3.15217 7.08627 3.21811 7.06113 3.26841 7.01082L3.75407 6.52516C3.80235 6.47688 3.82948 6.41136 3.82948 6.34306C3.82948 6.27476 3.80235 6.20924 3.75407 6.16096L2.19404 4.60096H9.8061L8.24606 6.16096C8.19778 6.20924 8.17065 6.27476 8.17065 6.34306C8.17065 6.41136 8.19778 6.47688 8.24606 6.52516L8.73172 7.01082C8.78004 7.05914 8.84552 7.08627 8.91386 7.08627C8.98216 7.08627 9.04768 7.05914 9.09599 7.01082L11.9246 4.18216C12.0251 4.08158 12.0251 3.9185 11.9246 3.81796Z",fill:"currentColor"})})}function ec(e){return Q.jsx("svg",{...e,width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10.999 9.67361H10.304L10.0576 9.4362C10.6075 8.7978 11.0093 8.04582 11.2344 7.23408C11.4595 6.42235 11.5023 5.57092 11.3597 4.74072C10.9462 2.29625 8.90505 0.344195 6.44155 0.0452311C5.57547 -0.0642724 4.6958 0.0256856 3.86986 0.308221C3.04392 0.590757 2.29359 1.05838 1.6763 1.67531C1.059 2.29224 0.591104 3.04213 0.308402 3.86759C0.0257007 4.69305 -0.0643101 5.5722 0.0452576 6.43777C0.344397 8.89983 2.2976 10.9398 4.7435 11.3531C5.57418 11.4956 6.42611 11.4528 7.23833 11.2278C8.05054 11.0029 8.80296 10.6012 9.44174 10.0517L9.67929 10.2979V10.9926L13.4185 14.7296C13.7793 15.0901 14.3687 15.0901 14.7295 14.7296C15.0902 14.3691 15.0902 13.78 14.7295 13.4195L10.999 9.67361ZM5.7201 9.67361C3.52935 9.67361 1.76091 7.90621 1.76091 5.71674C1.76091 3.52728 3.52935 1.75987 5.7201 1.75987C7.91085 1.75987 9.67929 3.52728 9.67929 5.71674C9.67929 7.90621 7.91085 9.67361 5.7201 9.67361Z",fill:"currentColor"})})}function n0(e){return Q.jsx("svg",{...e,width:"10",height:"14",viewBox:"0 0 10 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Q.jsxs("g",{children:[Q.jsx("path",{d:"M9.97214 5.00009L-0.0278625 5.00009L4.97214 9.14335e-05L9.97214 5.00009Z",fill:"currentColor"}),Q.jsx("path",{d:"M10.0279 8.99992L5.02786 13.9999L0.0278625 8.99992L10.0279 8.99992ZM7.43858 10.0713L2.61715 10.0713L5.02786 12.4821L7.43858 10.0713Z",fill:"currentColor"})]})})}function r0(e){return Q.jsx("svg",{...e,width:"10",height:"14",viewBox:"0 0 10 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Q.jsxs("g",{children:[Q.jsx("path",{d:"M-2.38419e-07 9H10L5 14L-2.38419e-07 9Z",fill:"currentColor"}),Q.jsx("path",{d:"M-2.38419e-07 5L5 0L10 5L-2.38419e-07 5ZM2.58929 3.92857L7.41071 3.92857L5 1.51786L2.58929 3.92857Z",fill:"currentColor"})]})})}function i0(e){return Q.jsx("svg",{...e,width:"10",height:"14",viewBox:"0 0 10 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Q.jsxs("g",{children:[Q.jsx("path",{d:"M-2.38419e-07 9H10L5 14L-2.38419e-07 9ZM2.58929 10.0714L5 12.4821L7.41071 10.0714H2.58929Z",fill:"currentColor"}),Q.jsx("path",{d:"M10 5L0 5L5 -1.19209e-07L10 5ZM7.41071 3.92857L5 1.51786L2.58929 3.92857L7.41071 3.92857Z",fill:"currentColor"})]})})}function ay(e){return Q.jsx("svg",{...e,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M0 1C0 0.734784 0.105357 0.48043 0.292893 0.292893C0.48043 0.105357 0.734784 0 1 0H13C13.2652 0 13.5196 0.105357 13.7071 0.292893C13.8946 0.48043 14 0.734784 14 1V3C14 3.26522 13.8946 3.51957 13.7071 3.70711C13.5196 3.89464 13.2652 4 13 4H1C0.734784 4 0.48043 3.89464 0.292893 3.70711C0.105357 3.51957 0 3.26522 0 3V1ZM0 7C0 6.73478 0.105357 6.48043 0.292893 6.29289C0.48043 6.10536 0.734784 6 1 6H7C7.26522 6 7.51957 6.10536 7.70711 6.29289C7.89464 6.48043 8 6.73478 8 7V13C8 13.2652 7.89464 13.5196 7.70711 13.7071C7.51957 13.8946 7.26522 14 7 14H1C0.734784 14 0.48043 13.8946 0.292893 13.7071C0.105357 13.5196 0 13.2652 0 13V7ZM11 6C10.7348 6 10.4804 6.10536 10.2929 6.29289C10.1054 6.48043 10 6.73478 10 7V13C10 13.2652 10.1054 13.5196 10.2929 13.7071C10.4804 13.8946 10.7348 14 11 14H13C13.2652 14 13.5196 13.8946 13.7071 13.7071C13.8946 13.5196 14 13.2652 14 13V7C14 6.73478 13.8946 6.48043 13.7071 6.29289C13.5196 6.10536 13.2652 6 13 6H11Z",fill:"currentColor"})})}function sy(e){return Q.jsx("svg",{...e,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M8 15C8.00009 15.1704 8.04372 15.3379 8.12674 15.4867C8.20977 15.6355 8.32944 15.7607 8.47439 15.8502C8.61935 15.9398 8.78479 15.9908 8.95501 15.9985C9.12523 16.0061 9.29458 15.9702 9.447 15.894L13.447 13.894C13.6131 13.811 13.7528 13.6834 13.8504 13.5255C13.9481 13.3676 13.9999 13.1857 14 13V7.23602C13.9999 7.06562 13.9563 6.89808 13.8733 6.74929C13.7902 6.60049 13.6706 6.47538 13.5256 6.38582C13.3806 6.29626 13.2152 6.24523 13.045 6.23756C12.8748 6.2299 12.7054 6.26585 12.553 6.34202L8.553 8.34202C8.38692 8.42501 8.24722 8.55259 8.14955 8.71049C8.05188 8.86838 8.0001 9.05035 8 9.23602V15ZM12.211 4.27602C12.3769 4.19288 12.5164 4.06523 12.6138 3.90734C12.7113 3.74946 12.7629 3.56757 12.7629 3.38202C12.7629 3.19647 12.7113 3.01457 12.6138 2.85669C12.5164 2.69881 12.3769 2.57115 12.211 2.48802L7.447 0.106015C7.3082 0.0366567 7.15516 0.000549316 7 0.000549316C6.84484 0.000549316 6.6918 0.0366567 6.553 0.106015L1.789 2.48802C1.62312 2.57115 1.48364 2.69881 1.38617 2.85669C1.28869 3.01457 1.23707 3.19647 1.23707 3.38202C1.23707 3.56757 1.28869 3.74946 1.38617 3.90734C1.48364 4.06523 1.62312 4.19288 1.789 4.27602L6.553 6.65802C6.6918 6.72737 6.84484 6.76348 7 6.76348C7.15516 6.76348 7.3082 6.72737 7.447 6.65802L12.211 4.27602ZM1.447 6.34202C1.29458 6.26585 1.12522 6.2299 0.955006 6.23756C0.784787 6.24523 0.619351 6.29626 0.474394 6.38582C0.329438 6.47538 0.209769 6.60049 0.126744 6.74929C0.0437189 6.89808 9.09694e-05 7.06562 0 7.23602V13C9.91486e-05 13.1857 0.0518831 13.3676 0.149552 13.5255C0.247222 13.6834 0.386919 13.811 0.553 13.894L4.553 15.894C4.70542 15.9702 4.87477 16.0061 5.04499 15.9985C5.21521 15.9908 5.38065 15.9398 5.52561 15.8502C5.67056 15.7607 5.79023 15.6355 5.87326 15.4867C5.95628 15.3379 5.99991 15.1704 6 15V9.23602C5.9999 9.05035 5.94812 8.86838 5.85045 8.71049C5.75278 8.55259 5.61308 8.42501 5.447 8.34202L1.447 6.34202Z",fill:"currentColor"})})}function ly(e){return Q.jsx("svg",{...e,width:"19",height:"14",viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M9.50007 11C10.5938 11 11.5235 10.6172 12.2891 9.85156C13.0548 9.08594 13.4376 8.15625 13.4376 7.0625C13.4376 5.96875 13.0548 5.03906 12.2891 4.27344C11.5235 3.50781 10.5938 3.125 9.50007 3.125C8.40632 3.125 7.47664 3.50781 6.71101 4.27344C5.94539 5.03906 5.56257 5.96875 5.56257 7.0625C5.56257 8.15625 5.94539 9.08594 6.71101 9.85156C7.47664 10.6172 8.40632 11 9.50007 11ZM9.50007 9.425C8.84382 9.425 8.28601 9.19531 7.82664 8.73594C7.36726 8.27656 7.13757 7.71875 7.13757 7.0625C7.13757 6.40625 7.36726 5.84844 7.82664 5.38906C8.28601 4.92969 8.84382 4.7 9.50007 4.7C10.1563 4.7 10.7141 4.92969 11.1735 5.38906C11.6329 5.84844 11.8626 6.40625 11.8626 7.0625C11.8626 7.71875 11.6329 8.27656 11.1735 8.73594C10.7141 9.19531 10.1563 9.425 9.50007 9.425ZM9.50007 13.625C7.47299 13.625 5.62091 13.0891 3.94382 12.0172C2.26674 10.9453 0.99799 9.49792 0.137573 7.675C0.0938232 7.60208 0.0646566 7.51094 0.0500732 7.40156C0.0354899 7.29219 0.0281982 7.17917 0.0281982 7.0625C0.0281982 6.94583 0.0354899 6.83281 0.0500732 6.72344C0.0646566 6.61406 0.0938232 6.52292 0.137573 6.45C0.99799 4.62708 2.26674 3.17969 3.94382 2.10781C5.62091 1.03594 7.47299 0.5 9.50007 0.5C11.5272 0.5 13.3792 1.03594 15.0563 2.10781C16.7334 3.17969 18.0022 4.62708 18.8626 6.45C18.9063 6.52292 18.9355 6.61406 18.9501 6.72344C18.9647 6.83281 18.9719 6.94583 18.9719 7.0625C18.9719 7.17917 18.9647 7.29219 18.9501 7.40156C18.9355 7.51094 18.9063 7.60208 18.8626 7.675C18.0022 9.49792 16.7334 10.9453 15.0563 12.0172C13.3792 13.0891 11.5272 13.625 9.50007 13.625Z",fill:"currentColor"})})}function uy(e){return Q.jsx("svg",{...e,width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M8.50008 0.166748C3.90008 0.166748 0.166748 3.90008 0.166748 8.50008C0.166748 13.1001 3.90008 16.8334 8.50008 16.8334C13.1001 16.8334 16.8334 13.1001 16.8334 8.50008C16.8334 3.90008 13.1001 0.166748 8.50008 0.166748ZM12.6667 9.33341H9.33341V12.6668H7.66675V9.33341H4.33341V7.66675H7.66675V4.33341H9.33341V7.66675H12.6667V9.33341Z",fill:"currentColor"})})}function cy(e){return Q.jsx("svg",{...e,width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M3.98667 15.3742H9.48667V14.9617C9.48667 14.702 9.4141 14.4613 9.26897 14.2398C9.12383 14.0183 8.9214 13.8464 8.66167 13.7242C8.35612 13.5867 8.04674 13.4836 7.73355 13.4148C7.42036 13.3461 7.08806 13.3117 6.73667 13.3117C6.38529 13.3117 6.05299 13.3461 5.7398 13.4148C5.4266 13.4836 5.11723 13.5867 4.81167 13.7242C4.55195 13.8464 4.34952 14.0183 4.20438 14.2398C4.05924 14.4613 3.98667 14.702 3.98667 14.9617V15.3742ZM12.0075 13.9992H14.2992C14.4978 13.9992 14.662 13.9343 14.7919 13.8044C14.9217 13.6745 14.9867 13.5103 14.9867 13.3117C14.9867 13.1131 14.9217 12.9488 14.7919 12.819C14.662 12.6891 14.4978 12.6242 14.2992 12.6242H12.0075C11.8089 12.6242 11.6447 12.6891 11.5148 12.819C11.3849 12.9488 11.32 13.1131 11.32 13.3117C11.32 13.5103 11.3849 13.6745 11.5148 13.8044C11.6447 13.9343 11.8089 13.9992 12.0075 13.9992ZM6.73667 12.6242C7.11862 12.6242 7.44327 12.4905 7.71063 12.2231C7.97799 11.9558 8.11167 11.6311 8.11167 11.2492C8.11167 10.8672 7.97799 10.5426 7.71063 10.2752C7.44327 10.0079 7.11862 9.87419 6.73667 9.87419C6.35473 9.87419 6.03008 10.0079 5.76272 10.2752C5.49535 10.5426 5.36167 10.8672 5.36167 11.2492C5.36167 11.6311 5.49535 11.9558 5.76272 12.2231C6.03008 12.4905 6.35473 12.6242 6.73667 12.6242ZM12.0075 11.2492H14.2992C14.4978 11.2492 14.662 11.1843 14.7919 11.0544C14.9217 10.9245 14.9867 10.7603 14.9867 10.5617C14.9867 10.3631 14.9217 10.1988 14.7919 10.069C14.662 9.93912 14.4978 9.87419 14.2992 9.87419H12.0075C11.8089 9.87419 11.6447 9.93912 11.5148 10.069C11.3849 10.1988 11.32 10.3631 11.32 10.5617C11.32 10.7603 11.3849 10.9245 11.5148 11.0544C11.6447 11.1843 11.8089 11.2492 12.0075 11.2492ZM2.15334 19.0409C1.64917 19.0409 1.21758 18.8613 0.858549 18.5023C0.499521 18.1433 0.320007 17.7117 0.320007 17.2075V7.12419C0.320007 6.62002 0.499521 6.18842 0.858549 5.82939C1.21758 5.47037 1.64917 5.29085 2.15334 5.29085H6.73667V2.54085C6.73667 2.03669 6.91619 1.60509 7.27522 1.24606C7.63424 0.887033 8.06584 0.70752 8.57001 0.70752H10.4033C10.9075 0.70752 11.3391 0.887033 11.6981 1.24606C12.0572 1.60509 12.2367 2.03669 12.2367 2.54085V5.29085H16.82C17.3242 5.29085 17.7558 5.47037 18.1148 5.82939C18.4738 6.18842 18.6533 6.62002 18.6533 7.12419V17.2075C18.6533 17.7117 18.4738 18.1433 18.1148 18.5023C17.7558 18.8613 17.3242 19.0409 16.82 19.0409H2.15334ZM8.57001 7.12419H10.4033V2.54085H8.57001V7.12419Z",fill:"currentColor"})})}function Cs(e){return Q.jsx("svg",{...e,width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M11.5 0.25C5.27875 0.25 0.25 5.27875 0.25 11.5C0.25 17.7213 5.27875 22.75 11.5 22.75C17.7213 22.75 22.75 17.7213 22.75 11.5C22.75 5.27875 17.7213 0.25 11.5 0.25ZM17.125 15.5388L15.5388 17.125L11.5 13.0862L7.46125 17.125L5.875 15.5388L9.91375 11.5L5.875 7.46125L7.46125 5.875L11.5 9.91375L15.5388 5.875L17.125 7.46125L13.0862 11.5L17.125 15.5388Z",fill:"currentColor"})})}function fy(e){return Q.jsx("svg",{...e,width:"20",height:"14",viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M16.125 5.36665C15.8451 3.94808 15.0813 2.6707 13.9642 1.75268C12.8471 0.834674 11.4459 0.332986 10 0.333313C7.59167 0.333313 5.5 1.69998 4.45833 3.69998C3.23353 3.83234 2.10084 4.41265 1.27791 5.32941C0.454976 6.24617 -0.000143085 7.43471 3.3744e-08 8.66665C3.3744e-08 11.425 2.24167 13.6666 5 13.6666H15.8333C18.1333 13.6666 20 11.8 20 9.49998C20 7.29998 18.2917 5.51665 16.125 5.36665ZM11.6667 7.83331V11.1666H8.33333V7.83331H5.83333L10 3.66665L14.1667 7.83331H11.6667Z",fill:"currentColor"})})}function dy(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.80042 9.08333H3.58333C4.06956 9.08333 4.53588 9.27649 4.8797 9.6203C5.22351 9.96412 5.41667 10.4304 5.41667 10.9167V11.8333C5.41667 12.3196 5.60982 12.7859 5.95364 13.1297C6.29745 13.4735 6.76377 13.6667 7.25 13.6667C7.73623 13.6667 8.20255 13.8598 8.54636 14.2036C8.89018 14.5475 9.08333 15.0138 9.08333 15.5V18.1996M6.33333 2.60708V4.04167C6.33333 4.64945 6.57478 5.23235 7.00455 5.66212C7.43432 6.09189 8.01721 6.33333 8.625 6.33333H9.08333C9.56956 6.33333 10.0359 6.52649 10.3797 6.8703C10.7235 7.21412 10.9167 7.68044 10.9167 8.16667C10.9167 8.6529 11.1098 9.11921 11.4536 9.46303C11.7975 9.80685 12.2638 10 12.75 10C13.2362 10 13.7025 9.80685 14.0464 9.46303C14.3902 9.11921 14.5833 8.6529 14.5833 8.16667C14.5833 7.68044 14.7765 7.21412 15.1203 6.8703C15.4641 6.52649 15.9304 6.33333 16.4167 6.33333H17.392M12.75 17.7807V15.5C12.75 15.0138 12.9432 14.5475 13.287 14.2036C13.6308 13.8598 14.0971 13.6667 14.5833 13.6667H17.392M18.25 10C18.25 11.0834 18.0366 12.1562 17.622 13.1571C17.2074 14.1581 16.5997 15.0675 15.8336 15.8336C15.0675 16.5997 14.1581 17.2074 13.1571 17.622C12.1562 18.0366 11.0834 18.25 10 18.25C8.91659 18.25 7.8438 18.0366 6.84286 17.622C5.84193 17.2074 4.93245 16.5997 4.16637 15.8336C3.40029 15.0675 2.7926 14.1581 2.37799 13.1571C1.96339 12.1562 1.75 11.0834 1.75 10C1.75 7.81196 2.61919 5.71354 4.16637 4.16637C5.71354 2.61919 7.81196 1.75 10 1.75C12.188 1.75 14.2865 2.61919 15.8336 4.16637C17.3808 5.71354 18.25 7.81196 18.25 10Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function hy(e){return Q.jsx("svg",{...e,width:"16",height:"15",viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M12.875 14.6253L9.1875 10.9378L10.9375 9.18783L14.625 12.8753C14.8611 13.1114 14.9792 13.4031 14.9792 13.7503C14.9792 14.0975 14.8611 14.3892 14.625 14.6253C14.3889 14.8614 14.0972 14.9795 13.75 14.9795C13.4028 14.9795 13.1111 14.8614 12.875 14.6253ZM1.375 14.6253C1.13889 14.3892 1.02083 14.0975 1.02083 13.7503C1.02083 13.4031 1.13889 13.1114 1.375 12.8753L6.25 8.00033L4.83333 6.58366C4.68056 6.73644 4.48611 6.81283 4.25 6.81283C4.01389 6.81283 3.81945 6.73644 3.66667 6.58366L3.1875 6.10449V7.97949C3.1875 8.17394 3.10417 8.30588 2.9375 8.37533C2.77083 8.44477 2.61806 8.41005 2.47917 8.27116L0.208334 6.00033C0.0694447 5.86144 0.0347224 5.70866 0.104167 5.54199C0.173611 5.37533 0.305556 5.29199 0.5 5.29199H2.375L1.91667 4.83366C1.75 4.66699 1.66667 4.47255 1.66667 4.25033C1.66667 4.0281 1.75 3.83366 1.91667 3.66699L4.29167 1.29199C4.56945 1.01421 4.86806 0.812826 5.1875 0.687826C5.50695 0.562826 5.83333 0.500326 6.16667 0.500326C6.44445 0.500326 6.70486 0.541992 6.94792 0.625326C7.19097 0.708659 7.43056 0.833659 7.66667 1.00033C7.77778 1.06977 7.83681 1.16699 7.84375 1.29199C7.85069 1.41699 7.80556 1.5281 7.70833 1.62533L6.125 3.20866L6.58333 3.66699C6.73611 3.81977 6.8125 4.01421 6.8125 4.25033C6.8125 4.48644 6.73611 4.68088 6.58333 4.83366L8 6.25033L9.875 4.37533C9.81944 4.22255 9.77431 4.06283 9.73958 3.89616C9.70486 3.72949 9.6875 3.56283 9.6875 3.39616C9.6875 2.57671 9.96875 1.88574 10.5313 1.32324C11.0938 0.760742 11.7847 0.479492 12.6042 0.479492C12.7153 0.479492 12.8194 0.482964 12.9167 0.489909C13.0139 0.496853 13.1111 0.514214 13.2083 0.541992C13.3333 0.583659 13.4132 0.670464 13.4479 0.802409C13.4826 0.934353 13.4514 1.04894 13.3542 1.14616L12 2.50033C11.9167 2.58366 11.875 2.68088 11.875 2.79199C11.875 2.9031 11.9167 3.00033 12 3.08366L12.9167 4.00033C13 4.08366 13.0972 4.12533 13.2083 4.12533C13.3194 4.12533 13.4167 4.08366 13.5 4.00033L14.8542 2.64616C14.9514 2.54894 15.066 2.51421 15.1979 2.54199C15.3299 2.56977 15.4167 2.6531 15.4583 2.79199C15.4861 2.88921 15.5035 2.98644 15.5104 3.08366C15.5174 3.18088 15.5208 3.28505 15.5208 3.39616C15.5208 4.2156 15.2396 4.90658 14.6771 5.46908C14.1146 6.03158 13.4236 6.31283 12.6042 6.31283C12.4375 6.31283 12.2708 6.29894 12.1042 6.27116C11.9375 6.24338 11.7778 6.19477 11.625 6.12533L3.125 14.6253C2.88889 14.8614 2.59722 14.9795 2.25 14.9795C1.90278 14.9795 1.61111 14.8614 1.375 14.6253Z",fill:"currentColor"})})}function py(e){return Q.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M4.02279 11.799H7.35612C7.59223 11.799 7.79015 11.7191 7.94987 11.5594C8.10959 11.3997 8.18945 11.2018 8.18945 10.9657C8.18945 10.7295 8.10959 10.5316 7.94987 10.3719C7.79015 10.2122 7.59223 10.1323 7.35612 10.1323H4.02279C3.78668 10.1323 3.58876 10.2122 3.42904 10.3719C3.26931 10.5316 3.18945 10.7295 3.18945 10.9657C3.18945 11.2018 3.26931 11.3997 3.42904 11.5594C3.58876 11.7191 3.78668 11.799 4.02279 11.799ZM6.52279 8.46566H9.85612C10.0922 8.46566 10.2901 8.3858 10.4499 8.22607C10.6096 8.06635 10.6895 7.86844 10.6895 7.63232C10.6895 7.39621 10.6096 7.1983 10.4499 7.03857C10.2901 6.87885 10.0922 6.79899 9.85612 6.79899H6.52279C6.28668 6.79899 6.08876 6.87885 5.92904 7.03857C5.76931 7.1983 5.68945 7.39621 5.68945 7.63232C5.68945 7.86844 5.76931 8.06635 5.92904 8.22607C6.08876 8.3858 6.28668 8.46566 6.52279 8.46566ZM9.02279 5.13232H12.3561C12.5922 5.13232 12.7901 5.05246 12.9499 4.89274C13.1096 4.73302 13.1895 4.5351 13.1895 4.29899C13.1895 4.06288 13.1096 3.86496 12.9499 3.70524C12.7901 3.54552 12.5922 3.46566 12.3561 3.46566H9.02279C8.78668 3.46566 8.58876 3.54552 8.42904 3.70524C8.26931 3.86496 8.18945 4.06288 8.18945 4.29899C8.18945 4.5351 8.26931 4.73302 8.42904 4.89274C8.58876 5.05246 8.78668 5.13232 9.02279 5.13232ZM2.35612 15.1323C1.89779 15.1323 1.50543 14.9691 1.17904 14.6427C0.852648 14.3164 0.689453 13.924 0.689453 13.4657V1.79899C0.689453 1.34066 0.852648 0.948296 1.17904 0.621908C1.50543 0.295519 1.89779 0.132324 2.35612 0.132324H14.0228C14.4811 0.132324 14.8735 0.295519 15.1999 0.621908C15.5263 0.948296 15.6895 1.34066 15.6895 1.79899V13.4657C15.6895 13.924 15.5263 14.3164 15.1999 14.6427C14.8735 14.9691 14.4811 15.1323 14.0228 15.1323H2.35612Z",fill:"currentColor"})})}function gy(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M11.8748 20H8.12485C7.87485 20 7.65818 19.9167 7.47485 19.75C7.29152 19.5833 7.18318 19.375 7.14985 19.125L6.84985 16.8C6.63318 16.7167 6.42902 16.6167 6.23735 16.5C6.04568 16.3833 5.85818 16.2583 5.67485 16.125L3.49985 17.025C3.26652 17.1083 3.03318 17.1167 2.79985 17.05C2.56652 16.9833 2.38318 16.8417 2.24985 16.625L0.399849 13.4C0.266516 13.1833 0.224849 12.95 0.274849 12.7C0.324849 12.45 0.449849 12.25 0.649849 12.1L2.52485 10.675C2.50818 10.5583 2.49985 10.4458 2.49985 10.3375V9.6625C2.49985 9.55417 2.50818 9.44167 2.52485 9.325L0.649849 7.9C0.449849 7.75 0.324849 7.55 0.274849 7.3C0.224849 7.05 0.266516 6.81667 0.399849 6.6L2.24985 3.375C2.36652 3.14167 2.54568 2.99583 2.78735 2.9375C3.02902 2.87917 3.26652 2.89167 3.49985 2.975L5.67485 3.875C5.85818 3.74167 6.04985 3.61667 6.24985 3.5C6.44985 3.38333 6.64985 3.28333 6.84985 3.2L7.14985 0.875C7.18318 0.625 7.29152 0.416667 7.47485 0.25C7.65818 0.0833333 7.87485 0 8.12485 0H11.8748C12.1248 0 12.3415 0.0833333 12.5248 0.25C12.7082 0.416667 12.8165 0.625 12.8498 0.875L13.1498 3.2C13.3665 3.28333 13.5707 3.38333 13.7623 3.5C13.954 3.61667 14.1415 3.74167 14.3248 3.875L16.4998 2.975C16.7332 2.89167 16.9665 2.88333 17.1999 2.95C17.4332 3.01667 17.6165 3.15833 17.7498 3.375L19.5998 6.6C19.7332 6.81667 19.7748 7.05 19.7248 7.3C19.6749 7.55 19.5499 7.75 19.3498 7.9L17.4748 9.325C17.4915 9.44167 17.4998 9.55417 17.4998 9.6625V10.3375C17.4998 10.4458 17.4832 10.5583 17.4499 10.675L19.3249 12.1C19.5249 12.25 19.6499 12.45 19.6999 12.7C19.7498 12.95 19.7082 13.1833 19.5749 13.4L17.7248 16.6C17.5915 16.8167 17.404 16.9625 17.1623 17.0375C16.9207 17.1125 16.6832 17.1083 16.4499 17.025L14.3248 16.125C14.1415 16.2583 13.9498 16.3833 13.7498 16.5C13.5498 16.6167 13.3498 16.7167 13.1498 16.8L12.8498 19.125C12.8165 19.375 12.7082 19.5833 12.5248 19.75C12.3415 19.9167 12.1248 20 11.8748 20ZM10.0498 13.5C11.0165 13.5 11.8415 13.1583 12.5248 12.475C13.2082 11.7917 13.5498 10.9667 13.5498 10C13.5498 9.03333 13.2082 8.20833 12.5248 7.525C11.8415 6.84167 11.0165 6.5 10.0498 6.5C9.06652 6.5 8.23735 6.84167 7.56235 7.525C6.88735 8.20833 6.54985 9.03333 6.54985 10C6.54985 10.9667 6.88735 11.7917 7.56235 12.475C8.23735 13.1583 9.06652 13.5 10.0498 13.5Z",fill:"currentColor"})})}function my(e){return Q.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 0C3.73478 0 3.48043 0.105357 3.29289 0.292893C3.10536 0.48043 3 0.734784 3 1V2H2C1.46957 2 0.960859 2.21071 0.585786 2.58579C0.210714 2.96086 0 3.46957 0 4V14C0 14.5304 0.210714 15.0391 0.585786 15.4142C0.960859 15.7893 1.46957 16 2 16H14C14.5304 16 15.0391 15.7893 15.4142 15.4142C15.7893 15.0391 16 14.5304 16 14V4C16 3.46957 15.7893 2.96086 15.4142 2.58579C15.0391 2.21071 14.5304 2 14 2H13V1C13 0.734784 12.8946 0.48043 12.7071 0.292893C12.5196 0.105357 12.2652 0 12 0C11.7348 0 11.4804 0.105357 11.2929 0.292893C11.1054 0.48043 11 0.734784 11 1V2H5V1C5 0.734784 4.89464 0.48043 4.70711 0.292893C4.51957 0.105357 4.26522 0 4 0ZM4 5C3.73478 5 3.48043 5.10536 3.29289 5.29289C3.10536 5.48043 3 5.73478 3 6C3 6.26522 3.10536 6.51957 3.29289 6.70711C3.48043 6.89464 3.73478 7 4 7H12C12.2652 7 12.5196 6.89464 12.7071 6.70711C12.8946 6.51957 13 6.26522 13 6C13 5.73478 12.8946 5.48043 12.7071 5.29289C12.5196 5.10536 12.2652 5 12 5H4Z",fill:"currentColor"})})}function vy(e){return Q.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M4.44694 7.5191C4.21083 7.5191 4.01291 7.59897 3.85319 7.75869C3.69347 7.91841 3.61361 8.11633 3.61361 8.35244V10.8524C3.61361 11.0885 3.69347 11.2865 3.85319 11.4462C4.01291 11.6059 4.21083 11.6858 4.44694 11.6858C4.68305 11.6858 4.88097 11.6059 5.04069 11.4462C5.20041 11.2865 5.28027 11.0885 5.28027 10.8524V8.35244C5.28027 8.11633 5.20041 7.91841 5.04069 7.75869C4.88097 7.59897 4.68305 7.5191 4.44694 7.5191ZM11.1136 3.35244C10.8775 3.35244 10.6796 3.4323 10.5199 3.59202C10.3601 3.75174 10.2803 3.94966 10.2803 4.18577V10.8524C10.2803 11.0885 10.3601 11.2865 10.5199 11.4462C10.6796 11.6059 10.8775 11.6858 11.1136 11.6858C11.3497 11.6858 11.5476 11.6059 11.7074 11.4462C11.8671 11.2865 11.9469 11.0885 11.9469 10.8524V4.18577C11.9469 3.94966 11.8671 3.75174 11.7074 3.59202C11.5476 3.4323 11.3497 3.35244 11.1136 3.35244ZM7.78027 9.18577C7.54416 9.18577 7.34625 9.26563 7.18652 9.42535C7.0268 9.58508 6.94694 9.78299 6.94694 10.0191V10.8524C6.94694 11.0885 7.0268 11.2865 7.18652 11.4462C7.34625 11.6059 7.54416 11.6858 7.78027 11.6858C8.01638 11.6858 8.2143 11.6059 8.37402 11.4462C8.53375 11.2865 8.61361 11.0885 8.61361 10.8524V10.0191C8.61361 9.78299 8.53375 9.58508 8.37402 9.42535C8.2143 9.26563 8.01638 9.18577 7.78027 9.18577ZM1.94694 15.0191C1.48861 15.0191 1.09625 14.8559 0.769857 14.5295C0.443468 14.2031 0.280273 13.8108 0.280273 13.3524V1.68577C0.280273 1.22744 0.443468 0.835076 0.769857 0.508687C1.09625 0.182298 1.48861 0.019104 1.94694 0.019104H13.6136C14.0719 0.019104 14.4643 0.182298 14.7907 0.508687C15.1171 0.835076 15.2803 1.22744 15.2803 1.68577V13.3524C15.2803 13.8108 15.1171 14.2031 14.7907 14.5295C14.4643 14.8559 14.0719 15.0191 13.6136 15.0191H1.94694ZM7.78027 7.5191C8.01638 7.5191 8.2143 7.43924 8.37402 7.27952C8.53375 7.1198 8.61361 6.92188 8.61361 6.68577C8.61361 6.44966 8.53375 6.25174 8.37402 6.09202C8.2143 5.9323 8.01638 5.85244 7.78027 5.85244C7.54416 5.85244 7.34625 5.9323 7.18652 6.09202C7.0268 6.25174 6.94694 6.44966 6.94694 6.68577C6.94694 6.92188 7.0268 7.1198 7.18652 7.27952C7.34625 7.43924 7.54416 7.5191 7.78027 7.5191Z",fill:"currentColor"})})}function by(e){return Q.jsx("svg",{...e,width:"22",height:"18",viewBox:"0 0 22 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.72497 18C1.54164 18 1.37497 17.9542 1.22497 17.8625C1.07497 17.7708 0.958306 17.65 0.874973 17.5C0.791639 17.35 0.745806 17.1875 0.737473 17.0125C0.729139 16.8375 0.774973 16.6667 0.874973 16.5L10.125 0.5C10.225 0.333333 10.3541 0.208333 10.5125 0.125C10.6708 0.0416667 10.8333 0 11 0C11.1666 0 11.3291 0.0416667 11.4875 0.125C11.6458 0.208333 11.775 0.333333 11.875 0.5L21.125 16.5C21.225 16.6667 21.2708 16.8375 21.2625 17.0125C21.2541 17.1875 21.2083 17.35 21.125 17.5C21.0416 17.65 20.925 17.7708 20.775 17.8625C20.625 17.9542 20.4583 18 20.275 18H1.72497ZM11 15C11.2833 15 11.5208 14.9042 11.7125 14.7125C11.9041 14.5208 12 14.2833 12 14C12 13.7167 11.9041 13.4792 11.7125 13.2875C11.5208 13.0958 11.2833 13 11 13C10.7166 13 10.4791 13.0958 10.2875 13.2875C10.0958 13.4792 9.99997 13.7167 9.99997 14C9.99997 14.2833 10.0958 14.5208 10.2875 14.7125C10.4791 14.9042 10.7166 15 11 15ZM11 12C11.2833 12 11.5208 11.9042 11.7125 11.7125C11.9041 11.5208 12 11.2833 12 11V8C12 7.71667 11.9041 7.47917 11.7125 7.2875C11.5208 7.09583 11.2833 7 11 7C10.7166 7 10.4791 7.09583 10.2875 7.2875C10.0958 7.47917 9.99997 7.71667 9.99997 8V11C9.99997 11.2833 10.0958 11.5208 10.2875 11.7125C10.4791 11.9042 10.7166 12 11 12Z",fill:"currentColor"})})}function yy(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M8.71671 11.6502L6.74587 9.67933C6.57782 9.51127 6.36393 9.42725 6.10421 9.42725C5.84449 9.42725 5.6306 9.51127 5.46254 9.67933C5.29449 9.84739 5.21046 10.0613 5.21046 10.321C5.21046 10.5807 5.29449 10.7946 5.46254 10.9627L8.07504 13.5752C8.25837 13.7585 8.47226 13.8502 8.71671 13.8502C8.96115 13.8502 9.17504 13.7585 9.35837 13.5752L14.5375 8.396C14.7056 8.22794 14.7896 8.01405 14.7896 7.75433C14.7896 7.49461 14.7056 7.28072 14.5375 7.11266C14.3695 6.94461 14.1556 6.86058 13.8959 6.86058C13.6362 6.86058 13.4223 6.94461 13.2542 7.11266L8.71671 11.6502ZM10 19.1668C8.73199 19.1668 7.54032 18.9262 6.42504 18.445C5.30976 17.9637 4.33962 17.3106 3.51462 16.4856C2.68962 15.6606 2.0365 14.6904 1.55525 13.5752C1.074 12.4599 0.833374 11.2682 0.833374 10.0002C0.833374 8.73211 1.074 7.54044 1.55525 6.42516C2.0365 5.30988 2.68962 4.33975 3.51462 3.51475C4.33962 2.68975 5.30976 2.03662 6.42504 1.55537C7.54032 1.07412 8.73199 0.833496 10 0.833496C11.2681 0.833496 12.4598 1.07412 13.575 1.55537C14.6903 2.03662 15.6605 2.68975 16.4855 3.51475C17.3105 4.33975 17.9636 5.30988 18.4448 6.42516C18.9261 7.54044 19.1667 8.73211 19.1667 10.0002C19.1667 11.2682 18.9261 12.4599 18.4448 13.5752C17.9636 14.6904 17.3105 15.6606 16.4855 16.4856C15.6605 17.3106 14.6903 17.9637 13.575 18.445C12.4598 18.9262 11.2681 19.1668 10 19.1668Z",fill:"currentColor"})})}function Cy(e){return Q.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.33333 7.16667C1.09722 7.16667 0.899306 7.08681 0.739583 6.92708C0.579861 6.76736 0.5 6.56944 0.5 6.33333V1.33333C0.5 1.09722 0.579861 0.899306 0.739583 0.739583C0.899306 0.579861 1.09722 0.5 1.33333 0.5H6.33333C6.56944 0.5 6.76736 0.579861 6.92708 0.739583C7.08681 0.899306 7.16667 1.09722 7.16667 1.33333V6.33333C7.16667 6.56944 7.08681 6.76736 6.92708 6.92708C6.76736 7.08681 6.56944 7.16667 6.33333 7.16667H1.33333ZM9.66667 7.16667C9.43056 7.16667 9.23264 7.08681 9.07292 6.92708C8.91319 6.76736 8.83333 6.56944 8.83333 6.33333V1.33333C8.83333 1.09722 8.91319 0.899306 9.07292 0.739583C9.23264 0.579861 9.43056 0.5 9.66667 0.5H14.6667C14.9028 0.5 15.1007 0.579861 15.2604 0.739583C15.4201 0.899306 15.5 1.09722 15.5 1.33333V6.33333C15.5 6.56944 15.4201 6.76736 15.2604 6.92708C15.1007 7.08681 14.9028 7.16667 14.6667 7.16667H9.66667ZM1.33333 15.5C1.09722 15.5 0.899306 15.4201 0.739583 15.2604C0.579861 15.1007 0.5 14.9028 0.5 14.6667V9.66667C0.5 9.43056 0.579861 9.23264 0.739583 9.07292C0.899306 8.91319 1.09722 8.83333 1.33333 8.83333H6.33333C6.56944 8.83333 6.76736 8.91319 6.92708 9.07292C7.08681 9.23264 7.16667 9.43056 7.16667 9.66667V14.6667C7.16667 14.9028 7.08681 15.1007 6.92708 15.2604C6.76736 15.4201 6.56944 15.5 6.33333 15.5H1.33333ZM12.1667 15.5C11.9306 15.5 11.7326 15.4201 11.5729 15.2604C11.4132 15.1007 11.3333 14.9028 11.3333 14.6667V13H9.64583C9.40972 13 9.21528 12.9201 9.0625 12.7604C8.90972 12.6007 8.83333 12.4028 8.83333 12.1667C8.83333 11.9306 8.91319 11.7326 9.07292 11.5729C9.23264 11.4132 9.43056 11.3333 9.66667 11.3333H11.3333V9.64583C11.3333 9.40972 11.4132 9.21528 11.5729 9.0625C11.7326 8.90972 11.9306 8.83333 12.1667 8.83333C12.4028 8.83333 12.6007 8.91319 12.7604 9.07292C12.9201 9.23264 13 9.43056 13 9.66667V11.3333H14.6875C14.9236 11.3333 15.1181 11.4132 15.2708 11.5729C15.4236 11.7326 15.5 11.9306 15.5 12.1667C15.5 12.4028 15.4201 12.6007 15.2604 12.7604C15.1007 12.9201 14.9028 13 14.6667 13H13V14.6875C13 14.9236 12.9201 15.1181 12.7604 15.2708C12.6007 15.4236 12.4028 15.5 12.1667 15.5Z",fill:"currentColor"})})}function o0(e){return Q.jsx("svg",{...e,width:"25",height:"22",viewBox:"0 0 25 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M4.49986 22C3.33319 22 2.40472 21.5479 1.71444 20.6437C1.02416 19.7396 0.824856 18.7333 1.11652 17.625L3.21652 9.69166C2.57486 9.28333 2.04499 8.72916 1.62694 8.02916C1.20888 7.32916 0.999856 6.54166 0.999856 5.66666C0.999856 4.38333 1.4568 3.28472 2.37069 2.37083C3.28458 1.45694 4.38319 0.999997 5.66652 0.999997H14.9999C15.8749 0.999997 16.536 1.36944 16.9832 2.10833C17.4304 2.84722 17.4596 3.60555 17.0707 4.38333L14.7374 9.05C14.5235 9.43889 14.2367 9.75 13.8769 9.98333C13.5172 10.2167 13.1137 10.3333 12.6665 10.3333H10.304L9.98319 11.5H10.3332C10.6637 11.5 10.9408 11.6118 11.1644 11.8354C11.3881 12.059 11.4999 12.3361 11.4999 12.6667V15C11.4999 15.3306 11.3881 15.6076 11.1644 15.8312C10.9408 16.0549 10.6637 16.1667 10.3332 16.1667H8.75819L7.88319 19.4333C7.6693 20.1917 7.25125 20.809 6.62902 21.2854C6.0068 21.7618 5.29708 22 4.49986 22ZM23.079 1.7875L20.454 2.98333C20.2401 3.08055 20.0214 3.08541 19.7978 2.99791C19.5742 2.91041 19.4137 2.75972 19.3165 2.54583C19.2193 2.33194 19.2096 2.11319 19.2874 1.88958C19.3651 1.66597 19.511 1.50555 19.7249 1.40833L22.3499 0.212497C22.5637 0.115274 22.7874 0.110413 23.0207 0.197913C23.254 0.285413 23.4193 0.436108 23.5165 0.649997C23.6137 0.863885 23.6186 1.08264 23.5311 1.30625C23.4436 1.52986 23.2929 1.69027 23.079 1.7875ZM19.754 9.95416C19.5401 9.85694 19.3846 9.69166 19.2874 9.45833C19.1901 9.225 19.1901 9.00139 19.2874 8.7875C19.3846 8.55416 19.5499 8.39861 19.7832 8.32083C20.0165 8.24305 20.2499 8.25278 20.4832 8.35L23.1082 9.575C23.3221 9.67222 23.4679 9.83264 23.5457 10.0562C23.6235 10.2799 23.6137 10.4986 23.5165 10.7125C23.4193 10.9264 23.2589 11.0771 23.0353 11.1646C22.8117 11.2521 22.5929 11.2472 22.379 11.15L19.754 9.95416ZM23.4582 6.54166H20.5415C20.2887 6.54166 20.0797 6.45902 19.9144 6.29375C19.7492 6.12847 19.6665 5.91944 19.6665 5.66666C19.6665 5.41389 19.7492 5.20486 19.9144 5.03958C20.0797 4.8743 20.2887 4.79166 20.5415 4.79166H23.4582C23.711 4.79166 23.92 4.8743 24.0853 5.03958C24.2506 5.20486 24.3332 5.41389 24.3332 5.66666C24.3332 5.91944 24.2506 6.12847 24.0853 6.29375C23.92 6.45902 23.711 6.54166 23.4582 6.54166Z",fill:"currentColor"})})}function xy(e){return Q.jsx("svg",{...e,width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M1.48669 19.8743C1.20336 19.8743 0.965861 19.7784 0.774194 19.5868C0.582528 19.3951 0.486694 19.1576 0.486694 18.8743C0.486694 18.5909 0.582528 18.3534 0.774194 18.1618C0.965861 17.9701 1.20336 17.8743 1.48669 17.8743H9.48669V6.69927C9.05336 6.54927 8.67836 6.31593 8.36169 5.99927C8.04503 5.6826 7.81169 5.3076 7.66169 4.87427H4.48669L7.23669 11.3243C7.32003 11.5076 7.37003 11.6951 7.38669 11.8868C7.40336 12.0784 7.39503 12.2743 7.36169 12.4743C7.21169 13.2409 6.79919 13.8326 6.12419 14.2493C5.44919 14.6659 4.73669 14.8743 3.98669 14.8743C3.23669 14.8743 2.52419 14.6659 1.84919 14.2493C1.17419 13.8326 0.761694 13.2409 0.611694 12.4743C0.578361 12.2743 0.570028 12.0784 0.586694 11.8868C0.603361 11.6951 0.653361 11.5076 0.736694 11.3243L3.48669 4.87427H2.48669C2.20336 4.87427 1.96586 4.77843 1.77419 4.58677C1.58253 4.3951 1.48669 4.1576 1.48669 3.87427C1.48669 3.59093 1.58253 3.35343 1.77419 3.16177C1.96586 2.9701 2.20336 2.87427 2.48669 2.87427H7.66169C7.86169 2.29093 8.22003 1.81177 8.73669 1.43677C9.25336 1.06177 9.83669 0.874268 10.4867 0.874268C11.1367 0.874268 11.72 1.06177 12.2367 1.43677C12.7534 1.81177 13.1117 2.29093 13.3117 2.87427H18.4867C18.77 2.87427 19.0075 2.9701 19.1992 3.16177C19.3909 3.35343 19.4867 3.59093 19.4867 3.87427C19.4867 4.1576 19.3909 4.3951 19.1992 4.58677C19.0075 4.77843 18.77 4.87427 18.4867 4.87427H17.4867L20.2367 11.3243C20.32 11.5076 20.37 11.6951 20.3867 11.8868C20.4034 12.0784 20.395 12.2743 20.3617 12.4743C20.2117 13.2409 19.7992 13.8326 19.1242 14.2493C18.4492 14.6659 17.7367 14.8743 16.9867 14.8743C16.2367 14.8743 15.5242 14.6659 14.8492 14.2493C14.1742 13.8326 13.7617 13.2409 13.6117 12.4743C13.5784 12.2743 13.57 12.0784 13.5867 11.8868C13.6034 11.6951 13.6534 11.5076 13.7367 11.3243L16.4867 4.87427H13.3117C13.1617 5.3076 12.9284 5.6826 12.6117 5.99927C12.295 6.31593 11.92 6.54927 11.4867 6.69927V17.8743H19.4867C19.77 17.8743 20.0075 17.9701 20.1992 18.1618C20.3909 18.3534 20.4867 18.5909 20.4867 18.8743C20.4867 19.1576 20.3909 19.3951 20.1992 19.5868C20.0075 19.7784 19.77 19.8743 19.4867 19.8743H1.48669ZM15.1117 11.8743H18.8617L16.9867 7.52427L15.1117 11.8743ZM2.11169 11.8743H5.86169L3.98669 7.52427L2.11169 11.8743ZM10.4867 4.87427C10.77 4.87427 11.0075 4.77843 11.1992 4.58677C11.3909 4.3951 11.4867 4.1576 11.4867 3.87427C11.4867 3.59093 11.3909 3.35343 11.1992 3.16177C11.0075 2.9701 10.77 2.87427 10.4867 2.87427C10.2034 2.87427 9.96586 2.9701 9.77419 3.16177C9.58253 3.35343 9.48669 3.59093 9.48669 3.87427C9.48669 4.1576 9.58253 4.3951 9.77419 4.58677C9.96586 4.77843 10.2034 4.87427 10.4867 4.87427Z",fill:"currentColor"})})}function wy(e){return Q.jsx("svg",{...e,width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.9001 0.899902C1.55532 0.899902 1.22466 1.03687 0.980859 1.28066C0.737062 1.52446 0.600098 1.85512 0.600098 2.1999C0.600098 2.54468 0.737062 2.87534 0.980859 3.11914C1.22466 3.36294 1.55532 3.4999 1.9001 3.4999V13.8999C1.9001 14.5895 2.17403 15.2508 2.66162 15.7384C3.14921 16.226 3.81053 16.4999 4.5001 16.4999H7.8619L6.181 18.1808C6.05683 18.3007 5.9578 18.4442 5.88967 18.6028C5.82153 18.7614 5.78567 18.932 5.78417 19.1046C5.78267 19.2772 5.81556 19.4484 5.88093 19.6081C5.94629 19.7679 6.04282 19.9131 6.16488 20.0351C6.28694 20.1572 6.43209 20.2537 6.59186 20.3191C6.75162 20.3844 6.92281 20.4173 7.09542 20.4158C7.26803 20.4143 7.43862 20.3785 7.59722 20.3103C7.75583 20.2422 7.89928 20.1432 8.0192 20.019L11.0001 17.0381L13.981 20.019C14.2262 20.2558 14.5546 20.3868 14.8954 20.3839C15.2363 20.3809 15.5623 20.2442 15.8034 20.0032C16.0444 19.7621 16.1811 19.4361 16.1841 19.0952C16.187 18.7544 16.056 18.426 15.8192 18.1808L14.1383 16.4999H17.5001C18.1897 16.4999 18.851 16.226 19.3386 15.7384C19.8262 15.2508 20.1001 14.5895 20.1001 13.8999V3.4999C20.4449 3.4999 20.7755 3.36294 21.0193 3.11914C21.2631 2.87534 21.4001 2.54468 21.4001 2.1999C21.4001 1.85512 21.2631 1.52446 21.0193 1.28066C20.7755 1.03687 20.4449 0.899902 20.1001 0.899902H1.9001ZM17.1192 7.019C17.356 6.77382 17.487 6.44544 17.4841 6.10458C17.4811 5.76373 17.3444 5.43767 17.1034 5.19664C16.8623 4.95561 16.5363 4.81889 16.1954 4.81593C15.8546 4.81296 15.5262 4.944 15.281 5.1808L11.0001 9.4617L9.3192 7.7808C9.07541 7.53709 8.74481 7.40018 8.4001 7.40018C8.05538 7.40018 7.72478 7.53709 7.481 7.7808L4.881 10.3808C4.75683 10.5007 4.6578 10.6442 4.58967 10.8028C4.52153 10.9614 4.48567 11.132 4.48417 11.3046C4.48267 11.4772 4.51556 11.6484 4.58093 11.8081C4.64629 11.9679 4.74282 12.1131 4.86488 12.2351C4.98694 12.3572 5.13209 12.4537 5.29186 12.5191C5.45162 12.5844 5.62281 12.6173 5.79542 12.6158C5.96803 12.6143 6.13862 12.5785 6.29722 12.5103C6.45583 12.4422 6.59928 12.3432 6.7192 12.219L8.4001 10.5381L10.081 12.219C10.3248 12.4627 10.6554 12.5996 11.0001 12.5996C11.3448 12.5996 11.6754 12.4627 11.9192 12.219L17.1192 7.019Z",fill:"currentColor"})})}function a0(e){return Q.jsx("svg",{...e,width:"25",height:"17",viewBox:"0 0 25 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M22.2222 6.8C22.9861 6.8 23.64 6.46708 24.184 5.80125C24.728 5.13542 25 4.335 25 3.4C25 2.465 24.728 1.66458 24.184 0.99875C23.64 0.332917 22.9861 0 22.2222 0H2.77778C2.01389 0 1.35995 0.332917 0.815973 0.99875C0.271991 1.66458 9.53674e-07 2.465 9.53674e-07 3.4C9.53674e-07 4.335 0.271991 5.13542 0.815973 5.80125C1.35995 6.46708 2.01389 6.8 2.77778 6.8H22.2222ZM22.2222 17C22.9861 17 23.64 16.6671 24.184 16.0013C24.728 15.3354 25 14.535 25 13.6C25 12.665 24.728 11.8646 24.184 11.1988C23.64 10.5329 22.9861 10.2 22.2222 10.2H2.77778C2.01389 10.2 1.35995 10.5329 0.815973 11.1988C0.271991 11.8646 9.53674e-07 12.665 9.53674e-07 13.6C9.53674e-07 14.535 0.271991 15.3354 0.815973 16.0013C1.35995 16.6671 2.01389 17 2.77778 17H22.2222ZM20.8333 5.1C20.4398 5.1 20.11 4.93708 19.8438 4.61125C19.5775 4.28542 19.4444 3.88167 19.4444 3.4C19.4444 2.91833 19.5775 2.51458 19.8438 2.18875C20.11 1.86292 20.4398 1.7 20.8333 1.7C21.2269 1.7 21.5567 1.86292 21.8229 2.18875C22.0891 2.51458 22.2222 2.91833 22.2222 3.4C22.2222 3.88167 22.0891 4.28542 21.8229 4.61125C21.5567 4.93708 21.2269 5.1 20.8333 5.1ZM20.8333 15.3C20.4398 15.3 20.11 15.1371 19.8438 14.8113C19.5775 14.4854 19.4444 14.0817 19.4444 13.6C19.4444 13.1183 19.5775 12.7146 19.8438 12.3888C20.11 12.0629 20.4398 11.9 20.8333 11.9C21.2269 11.9 21.5567 12.0629 21.8229 12.3888C22.0891 12.7146 22.2222 13.1183 22.2222 13.6C22.2222 14.0817 22.0891 14.4854 21.8229 14.8113C21.5567 15.1371 21.2269 15.3 20.8333 15.3Z",fill:"currentColor"})})}function Sy(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.84017 0.0917866L19.8356 3.50325C19.9235 3.52873 19.9984 3.6179 19.9984 3.75803V16.2039C19.9984 16.3441 19.9235 16.4358 19.8356 16.4587L7.84017 19.8906C7.75228 19.916 7.67741 19.7759 7.67741 19.6358V0.346564C7.67741 0.206436 7.75228 0.0663089 7.84017 0.0917866ZM0.112305 1.79879L1.74479 1.37331V18.5937L0.112305 18.1606C0.0504557 18.1428 0 18.0816 0 17.9848V1.97459C0 1.87777 0.0504557 1.81663 0.112305 1.79879ZM2.3763 1.20771L4.23828 0.721086V19.2562L2.3763 18.7644V1.20771ZM4.87142 0.558029L7.00521 0.00261466C7.06543 -0.012672 7.11751 0.0815955 7.11751 0.178411V19.8218C7.11751 19.9186 7.06706 20.0128 7.00521 19.9976L4.87142 19.4294V0.624271V0.558029ZM19.4238 4.63701V15.3504H19.2122V4.63701H19.4238ZM9.37988 2.50452V17.8065H8.74675V2.19879L9.37988 2.50452ZM11.1133 2.75675V17.4014H10.5322V2.63956L11.1133 2.75675ZM12.6644 3.14911V16.9912H12.137V2.9937L12.6644 3.14911ZM14.0479 3.48796V16.6931H13.5726V3.31472L14.0479 3.48796ZM15.3239 3.80898V16.3262H14.9007V3.6714L15.3239 3.80898ZM16.5007 4.04083V16.0434H16.1312V3.90835L16.5007 4.04083ZM17.5553 4.34147V15.7861H17.238V4.18605L17.5553 4.34147ZM18.5384 4.60134V15.5492H18.2747V4.41026L18.5384 4.60134Z",fill:"currentColor"})})}function Iy(e){return Q.jsx("svg",{...e,width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M3.43286 15.1467V10.1467C3.43286 9.8634 3.52869 9.6259 3.72036 9.43423C3.91203 9.24256 4.14953 9.14673 4.43286 9.14673C4.71619 9.14673 4.95369 9.24256 5.14536 9.43423C5.33703 9.6259 5.43286 9.8634 5.43286 10.1467V15.1467C5.43286 15.4301 5.33703 15.6676 5.14536 15.8592C4.95369 16.0509 4.71619 16.1467 4.43286 16.1467C4.14953 16.1467 3.91203 16.0509 3.72036 15.8592C3.52869 15.6676 3.43286 15.4301 3.43286 15.1467ZM9.43286 15.1467V10.1467C9.43286 9.8634 9.5287 9.6259 9.72036 9.43423C9.91203 9.24256 10.1495 9.14673 10.4329 9.14673C10.7162 9.14673 10.9537 9.24256 11.1454 9.43423C11.337 9.6259 11.4329 9.8634 11.4329 10.1467V15.1467C11.4329 15.4301 11.337 15.6676 11.1454 15.8592C10.9537 16.0509 10.7162 16.1467 10.4329 16.1467C10.1495 16.1467 9.91203 16.0509 9.72036 15.8592C9.5287 15.6676 9.43286 15.4301 9.43286 15.1467ZM1.43286 20.1467C1.14953 20.1467 0.912028 20.0509 0.720361 19.8592C0.528695 19.6676 0.432861 19.4301 0.432861 19.1467C0.432861 18.8634 0.528695 18.6259 0.720361 18.4342C0.912028 18.2426 1.14953 18.1467 1.43286 18.1467H19.4329C19.7162 18.1467 19.9537 18.2426 20.1454 18.4342C20.337 18.6259 20.4329 18.8634 20.4329 19.1467C20.4329 19.4301 20.337 19.6676 20.1454 19.8592C19.9537 20.0509 19.7162 20.1467 19.4329 20.1467H1.43286ZM15.4329 15.1467V10.1467C15.4329 9.8634 15.5287 9.6259 15.7204 9.43423C15.912 9.24256 16.1495 9.14673 16.4329 9.14673C16.7162 9.14673 16.9537 9.24256 17.1454 9.43423C17.337 9.6259 17.4329 9.8634 17.4329 10.1467V15.1467C17.4329 15.4301 17.337 15.6676 17.1454 15.8592C16.9537 16.0509 16.7162 16.1467 16.4329 16.1467C16.1495 16.1467 15.912 16.0509 15.7204 15.8592C15.5287 15.6676 15.4329 15.4301 15.4329 15.1467ZM19.4329 7.14673H1.33286C1.08286 7.14673 0.870361 7.05923 0.695361 6.88423C0.520361 6.70923 0.432861 6.49673 0.432861 6.24673V5.69673C0.432861 5.5134 0.478695 5.35506 0.570361 5.22173C0.662028 5.0884 0.782861 4.98006 0.932861 4.89673L9.53286 0.596729C9.8162 0.463395 10.1162 0.396729 10.4329 0.396729C10.7495 0.396729 11.0495 0.463395 11.3329 0.596729L19.8829 4.87173C20.0662 4.95506 20.2037 5.08006 20.2954 5.24673C20.387 5.4134 20.4329 5.5884 20.4329 5.77173V6.14673C20.4329 6.43006 20.337 6.66756 20.1454 6.85923C19.9537 7.0509 19.7162 7.14673 19.4329 7.14673Z",fill:"currentColor"})})}function Ey(e){return Q.jsx("svg",{...e,width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.4112 15.8534C13.7679 15.8534 12.4358 14.5352 12.4358 12.9093C12.4358 11.2831 13.7679 9.96484 15.4112 9.96484C17.0544 9.96484 18.3865 11.2831 18.3865 12.9093C18.3865 14.5352 17.0544 15.8534 15.4112 15.8534ZM16.3019 7.24076V4.6215C16.9928 4.29858 17.4767 3.60696 17.4767 2.80432V2.74386C17.4767 1.63609 16.5608 0.729756 15.4414 0.729756H15.3806C14.2612 0.729756 13.3454 1.63609 13.3454 2.74386V2.80432C13.3454 3.60696 13.8293 4.29886 14.5202 4.62178V7.24076C13.4916 7.39813 12.5517 7.81795 11.7766 8.43583L4.50956 2.84161C4.55752 2.65938 4.59121 2.47179 4.5915 2.27459C4.59264 1.02019 3.5666 0.0016966 2.29846 1.47173e-06C1.0309 -0.00141114 0.00142892 1.01426 1.48759e-06 2.26894C-0.00142595 3.52362 1.02462 4.54211 2.29275 4.54352C2.70585 4.54409 3.0884 4.42797 3.42357 4.23925L10.5719 9.74249C9.96408 10.6505 9.60779 11.7382 9.60779 12.9093C9.60779 14.1351 9.9992 15.2692 10.6604 16.2018L8.48669 18.3532C8.31482 18.3021 8.13668 18.2665 7.94769 18.2665C6.90594 18.2665 6.06118 19.1022 6.06118 20.1331C6.06118 21.1643 6.90594 22 7.94769 22C8.98971 22 9.83419 21.1643 9.83419 20.1331C9.83419 19.9466 9.79822 19.7701 9.74654 19.6L11.8968 17.472C12.8729 18.2091 14.0885 18.6521 15.4112 18.6521C18.6163 18.6521 21.2143 16.0809 21.2143 12.9093C21.2143 10.038 19.0828 7.66596 16.3019 7.24076Z",fill:"currentColor"})})}function Ay(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10 15C10.2833 15 10.5208 14.9042 10.7125 14.7125C10.9042 14.5208 11 14.2833 11 14V10C11 9.71667 10.9042 9.47917 10.7125 9.2875C10.5208 9.09583 10.2833 9 10 9C9.71667 9 9.47917 9.09583 9.2875 9.2875C9.09583 9.47917 9 9.71667 9 10V14C9 14.2833 9.09583 14.5208 9.2875 14.7125C9.47917 14.9042 9.71667 15 10 15ZM10 7C10.2833 7 10.5208 6.90417 10.7125 6.7125C10.9042 6.52083 11 6.28333 11 6C11 5.71667 10.9042 5.47917 10.7125 5.2875C10.5208 5.09583 10.2833 5 10 5C9.71667 5 9.47917 5.09583 9.2875 5.2875C9.09583 5.47917 9 5.71667 9 6C9 6.28333 9.09583 6.52083 9.2875 6.7125C9.47917 6.90417 9.71667 7 10 7ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20Z",fill:"currentColor"})})}function _y(e){return Q.jsx("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10 15C10.2833 15 10.5208 14.9042 10.7125 14.7125C10.9042 14.5208 11 14.2833 11 14C11 13.7167 10.9042 13.4792 10.7125 13.2875C10.5208 13.0958 10.2833 13 10 13C9.71667 13 9.47917 13.0958 9.2875 13.2875C9.09583 13.4792 9 13.7167 9 14C9 14.2833 9.09583 14.5208 9.2875 14.7125C9.47917 14.9042 9.71667 15 10 15ZM10 11C10.2833 11 10.5208 10.9042 10.7125 10.7125C10.9042 10.5208 11 10.2833 11 10V6C11 5.71667 10.9042 5.47917 10.7125 5.2875C10.5208 5.09583 10.2833 5 10 5C9.71667 5 9.47917 5.09583 9.2875 5.2875C9.09583 5.47917 9 5.71667 9 6V10C9 10.2833 9.09583 10.5208 9.2875 10.7125C9.47917 10.9042 9.71667 11 10 11ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20Z",fill:"currentColor"})})}function Py(e){return Q.jsx("svg",{...e,width:"20",height:"17",viewBox:"0 0 20 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M10.1137 16.777C9.85397 16.777 9.63626 16.6892 9.46056 16.5135C9.28487 16.3378 9.19702 16.1201 9.19702 15.8603C9.19702 15.6006 9.28487 15.3829 9.46056 15.2072C9.63626 15.0315 9.85397 14.9437 10.1137 14.9437H16.5304V8.43534C16.5304 6.64784 15.9078 5.13152 14.6626 3.88638C13.4175 2.64124 11.9012 2.01867 10.1137 2.01867C8.32619 2.01867 6.80987 2.64124 5.56473 3.88638C4.31959 5.13152 3.69702 6.64784 3.69702 8.43534V13.1103C3.69702 13.3701 3.60917 13.5878 3.43348 13.7635C3.25779 13.9392 3.04008 14.027 2.78035 14.027C2.27619 14.027 1.84459 13.8475 1.48556 13.4885C1.12654 13.1294 0.947021 12.6978 0.947021 12.1937V10.3603C0.947021 10.0395 1.02723 9.73777 1.18765 9.45513C1.34806 9.17249 1.57341 8.94715 1.86369 8.77909L1.93244 7.56451C2.05466 6.52562 2.3564 5.56312 2.83765 4.67701C3.3189 3.7909 3.92237 3.01937 4.64806 2.36242C5.37376 1.70548 6.2064 1.19367 7.14598 0.827008C8.08556 0.460341 9.0748 0.277008 10.1137 0.277008C11.1526 0.277008 12.138 0.460341 13.0699 0.827008C14.0019 1.19367 14.8345 1.70166 15.5679 2.35097C16.3012 3.00027 16.9047 3.76798 17.3783 4.65409C17.8519 5.5402 18.1574 6.5027 18.2949 7.54159L18.3637 8.73326C18.654 8.87076 18.8793 9.07701 19.0397 9.35201C19.2001 9.62701 19.2804 9.91729 19.2804 10.2228V12.3312C19.2804 12.6367 19.2001 12.927 19.0397 13.202C18.8793 13.477 18.654 13.6833 18.3637 13.8208V14.9437C18.3637 15.4478 18.1842 15.8794 17.8251 16.2385C17.4661 16.5975 17.0345 16.777 16.5304 16.777H10.1137ZM7.36369 10.3603C7.10397 10.3603 6.88626 10.2725 6.71056 10.0968C6.53487 9.92111 6.44702 9.7034 6.44702 9.44368C6.44702 9.18395 6.53487 8.96624 6.71056 8.79055C6.88626 8.61486 7.10397 8.52701 7.36369 8.52701C7.62341 8.52701 7.84112 8.61486 8.01681 8.79055C8.19251 8.96624 8.28035 9.18395 8.28035 9.44368C8.28035 9.7034 8.19251 9.92111 8.01681 10.0968C7.84112 10.2725 7.62341 10.3603 7.36369 10.3603ZM12.8637 10.3603C12.604 10.3603 12.3863 10.2725 12.2106 10.0968C12.0349 9.92111 11.947 9.7034 11.947 9.44368C11.947 9.18395 12.0349 8.96624 12.2106 8.79055C12.3863 8.61486 12.604 8.52701 12.8637 8.52701C13.1234 8.52701 13.3411 8.61486 13.5168 8.79055C13.6925 8.96624 13.7804 9.18395 13.7804 9.44368C13.7804 9.7034 13.6925 9.92111 13.5168 10.0968C13.3411 10.2725 13.1234 10.3603 12.8637 10.3603ZM4.6366 8.93951C4.52966 7.32006 5.01855 5.92979 6.10327 4.76867C7.18799 3.60756 8.54008 3.02701 10.1595 3.02701C11.5192 3.02701 12.7147 3.45861 13.746 4.3218C14.7772 5.18499 15.3998 6.28881 15.6137 7.63326C14.2234 7.61798 12.9439 7.24368 11.7751 6.51034C10.6064 5.77701 9.70883 4.78395 9.08244 3.53117C8.83799 4.7534 8.32237 5.84194 7.53556 6.7968C6.74876 7.75166 5.78244 8.4659 4.6366 8.93951Z",fill:"currentColor"})})}function Ty(e){return Q.jsx("svg",{...e,width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M12.5002 2.08334C10.4399 2.08334 8.42599 2.69427 6.71298 3.83887C4.99997 4.98347 3.66484 6.61033 2.87642 8.51372C2.08801 10.4171 1.88172 12.5116 2.28365 14.5322C2.68558 16.5528 3.67767 18.4089 5.13447 19.8657C6.59127 21.3225 8.44734 22.3146 10.468 22.7165C12.4886 23.1185 14.5831 22.9122 16.4865 22.1238C18.3899 21.3353 20.0167 20.0002 21.1613 18.2872C22.3059 16.5742 22.9168 14.5602 22.9168 12.5C22.9168 11.1321 22.6474 9.77753 22.1239 8.51372C21.6004 7.24992 20.8331 6.10159 19.8659 5.13431C18.8986 4.16704 17.7503 3.39975 16.4865 2.87627C15.2226 2.35278 13.8681 2.08334 12.5002 2.08334ZM12.5002 20.8333C10.9632 20.833 9.45627 20.4076 8.146 19.6042L11.8752 17.4479V12.7604L7.82308 10.4167V15.125L10.6877 16.7813L7.0835 18.8646C6.05193 17.994 5.24728 16.8858 4.73877 15.6354C4.23027 14.385 4.03312 13.0298 4.16429 11.6864C4.29546 10.3429 4.75102 9.05141 5.49178 7.92299C6.23255 6.79456 7.23635 5.86297 8.41683 5.20834V9.37501L12.5002 11.75L16.5627 9.37501L12.5002 7.05209L9.62517 8.70834V4.65626C10.6517 4.27084 11.7441 4.09179 12.8399 4.12935C13.9358 4.16692 15.0134 4.42038 16.0111 4.87519C17.0088 5.33 17.9069 5.97724 18.654 6.77979C19.4011 7.58234 19.9824 8.52444 20.3647 9.55209C20.7162 10.4952 20.8962 11.4936 20.896 12.5V12.5729L17.146 10.4167L13.0835 12.7708V17.4688L17.146 15.125V11.8125L20.7397 13.8958C20.4094 15.8402 19.4001 17.6044 17.8914 18.8747C16.3827 20.145 14.4724 20.839 12.5002 20.8333Z",fill:"currentColor"})})}function My(e){return Q.jsx("svg",{...e,width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("path",{d:"M3.531 15.573c-1.385-2.417-1.667-4.672-0.682-6.375 1.318-2.286 4.625-3.083 8.807-2.323 0.24 0.036 0.406 0.266 0.365 0.505-0.047 0.24-0.281 0.396-0.521 0.339-3.865-0.703-6.813 0.010-7.906 1.906-0.807 1.396-0.568 3.344 0.682 5.521 0.13 0.208 0.063 0.479-0.151 0.604-0.214 0.12-0.484 0.042-0.594-0.177zM23.422 7.479c2.448 0.031 4.208 0.792 5.005 2.167 1.094 1.891 0.24 4.792-2.292 7.781-0.172 0.182-0.156 0.469 0.031 0.625 0.188 0.161 0.474 0.13 0.62-0.068 2.74-3.234 3.698-6.49 2.38-8.766-0.969-1.677-3.010-2.563-5.729-2.599-0.245-0.016-0.458 0.177-0.458 0.427-0.005 0.245 0.198 0.443 0.448 0.432zM20.953 27.797c-0.203-0.12-0.469-0.057-0.589 0.146-1.245 2.073-2.776 3.198-4.349 3.198-2.188 0-4.276-2.193-5.599-5.891-0.073-0.229-0.328-0.354-0.552-0.271-0.229 0.083-0.344 0.339-0.255 0.563 1.427 3.995 3.771 6.458 6.406 6.458 1.917 0 3.693-1.307 5.083-3.615 0.12-0.203 0.057-0.464-0.146-0.589zM30.76 24.339c-0.005 1.672-1.891 2.635-3.25 1.667-3.271 1.927-9.526 0.948-15.411-2.453-2.505-1.448-4.703-3.188-6.396-5.047-0.167-0.172-0.161-0.453 0.021-0.62 0.177-0.161 0.458-0.146 0.615 0.042 1.63 1.792 3.755 3.479 6.187 4.88 5.557 3.208 11.406 4.161 14.396 2.542-0.667-1.172-0.042-2.656 1.26-3 1.307-0.344 2.583 0.641 2.578 1.99zM5.344 24.339c0.005 1.589-1.724 2.578-3.094 1.771-1.37-0.802-1.344-2.797 0.047-3.563-0.313-3.839 3.719-8.979 9.813-12.5 2.531-1.458 5.167-2.495 7.641-3.026 0.531-0.073 0.693 0.688 0.182 0.839-2.385 0.51-4.938 1.516-7.396 2.932-5.734 3.313-9.526 8.089-9.396 11.505 0.052-0.005 0.099-0.010 0.151-0.010 1.135 0 2.052 0.922 2.052 2.052zM13.964 2.052c0.094-2.635 4.010-2.635 4.104 0 0 0.031-0.005 0.063-0.005 0.089 3.401 1.76 5.76 7.75 5.76 14.672 0 2.849-0.396 5.578-1.141 7.948-0.063 0.234-0.307 0.375-0.542 0.302s-0.359-0.328-0.276-0.557c0.714-2.286 1.099-4.932 1.099-7.693 0-6.521-2.167-12.125-5.125-13.818-0.99 1.911-3.88 1.208-3.875-0.943zM15.703 15.359c-0.802 0.177-1.313 0.964-1.141 1.766s0.964 1.313 1.766 1.141c1.938-0.417 1.307-3.323-0.625-2.906z",fill:"currentColor"})})}function Oy(e){return Q.jsxs("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("mask",{id:"mask0_1907_530",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:Q.jsx("rect",{width:"24",height:"24",fill:"currentColor"})}),Q.jsx("g",{mask:"url(#mask0_1907_530)",children:Q.jsx("path",{d:"M3 20C2.45 20 1.97917 19.8042 1.5875 19.4125C1.19583 19.0208 1 18.55 1 18V8C1 7.71667 1.09583 7.47917 1.2875 7.2875C1.47917 7.09583 1.71667 7 2 7C2.28333 7 2.52083 7.09583 2.7125 7.2875C2.90417 7.47917 3 7.71667 3 8V18H19C19.2833 18 19.5208 18.0958 19.7125 18.2875C19.9042 18.4792 20 18.7167 20 19C20 19.2833 19.9042 19.5208 19.7125 19.7125C19.5208 19.9042 19.2833 20 19 20H3ZM7 16C6.45 16 5.97917 15.8042 5.5875 15.4125C5.19583 15.0208 5 14.55 5 14V6C5 5.45 5.19583 4.97917 5.5875 4.5875C5.97917 4.19583 6.45 4 7 4H21C21.55 4 22.0208 4.19583 22.4125 4.5875C22.8042 4.97917 23 5.45 23 6V14C23 14.55 22.8042 15.0208 22.4125 15.4125C22.0208 15.8042 21.55 16 21 16H7ZM9 14C9 13.45 8.80417 12.9792 8.4125 12.5875C8.02083 12.1958 7.55 12 7 12V14H9ZM19 14H21V12C20.45 12 19.9792 12.1958 19.5875 12.5875C19.1958 12.9792 19 13.45 19 14ZM14 13C14.8333 13 15.5417 12.7083 16.125 12.125C16.7083 11.5417 17 10.8333 17 10C17 9.16667 16.7083 8.45833 16.125 7.875C15.5417 7.29167 14.8333 7 14 7C13.1667 7 12.4583 7.29167 11.875 7.875C11.2917 8.45833 11 9.16667 11 10C11 10.8333 11.2917 11.5417 11.875 12.125C12.4583 12.7083 13.1667 13 14 13ZM7 8C7.55 8 8.02083 7.80417 8.4125 7.4125C8.80417 7.02083 9 6.55 9 6H7V8ZM21 8V6H19C19 6.55 19.1958 7.02083 19.5875 7.4125C19.9792 7.80417 20.45 8 21 8Z",fill:"currentColor"})})]})}var s0={exports:{}};/*!
|
|
60
60
|
Copyright (c) 2018 Jed Watson.
|
|
61
61
|
Licensed under the MIT License (MIT), see
|
|
62
62
|
http://jedwatson.github.io/classnames
|
|
63
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",l=0;l<arguments.length;l++){var u=arguments[l];u&&(a=i(a,r(u)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var l="";for(var u in a)t.call(a,u)&&a[u]&&(l=i(l,u));return l}function i(a,l){return l?a?a+" "+l:a+l:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(o0);var Oy=o0.exports;const Ke=Yu(Oy);function a0({size:e="md",...t}){return w.jsx("div",{className:`${Ke("bg-brand-primary rounded-full flex items-center justify-center",{"h-8 w-8":e==="sm","h-12 w-12":e==="md","h-16 w-16":e==="lg"})}`,...t,children:w.jsx(K4,{className:Ke("text-brand-background",{"h-4 w-4":e==="sm","h-6 w-6":e==="md","h-8 w-8":e==="lg"})})})}const s0=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),xs=b.createContext({}),ws=b.createContext(null),Ss=typeof document<"u",tc=Ss?b.useLayoutEffect:b.useEffect,l0=b.createContext({strict:!1}),nc=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),u0="data-"+nc("framerAppearId");function Fy(e,t,n,r){const{visualElement:i}=b.useContext(xs),a=b.useContext(l0),l=b.useContext(ws),u=b.useContext(s0).reducedMotion,c=b.useRef();r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const f=c.current;b.useInsertionEffect(()=>{f&&f.update(n,l)});const h=b.useRef(!!(n[u0]&&!window.HandoffComplete));return tc(()=>{f&&(f.render(),h.current&&f.animationState&&f.animationState.animateChanges())}),b.useEffect(()=>{f&&(f.updateFeatures(),!h.current&&f.animationState&&f.animationState.animateChanges(),h.current&&(h.current=!1,window.HandoffComplete=!0))}),f}function Wi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Ry(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Wi(n)&&(n.current=r))},[t])}function ea(e){return typeof e=="string"||Array.isArray(e)}function Is(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const rc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ic=["initial",...rc];function Es(e){return Is(e.animate)||ic.some(t=>ea(e[t]))}function c0(e){return!!(Es(e)||e.variants)}function Vy(e,t){if(Es(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ea(n)?n:void 0,animate:ea(r)?r:void 0}}return e.inherit!==!1?t:{}}function By(e){const{initial:t,animate:n}=Vy(e,b.useContext(xs));return b.useMemo(()=>({initial:t,animate:n}),[f0(t),f0(n)])}function f0(e){return Array.isArray(e)?e.join(" "):e}const d0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ta={};for(const e in d0)ta[e]={isEnabled:t=>d0[e].some(n=>!!t[n])};function $y(e){for(const t in e)ta[t]={...ta[t],...e[t]}}const oc=b.createContext({}),h0=b.createContext({}),Dy=Symbol.for("motionComponentSymbol");function Ny({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&$y(e);function a(u,c){let f;const h={...b.useContext(s0),...u,layoutId:Ly(u)},{isStatic:p}=h,m=By(u),v=r(u,p);if(!p&&Ss){m.visualElement=Fy(i,v,h,t);const S=b.useContext(h0),x=b.useContext(l0).strict;m.visualElement&&(f=m.visualElement.loadFeatures(h,x,e,S))}return ae.createElement(xs.Provider,{value:m},f&&m.visualElement?ae.createElement(f,{visualElement:m.visualElement,...h}):null,n(i,u,Ry(v,m.visualElement,c),v,p,m.visualElement))}const l=b.forwardRef(a);return l[Dy]=i,l}function Ly({layoutId:e}){const t=b.useContext(oc).id;return t&&e!==void 0?t+"-"+e:e}function jy(e){function t(r,i={}){return Ny(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const ky=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ac(e){return typeof e!="string"||e.includes("-")?!1:!!(ky.indexOf(e)>-1||/[A-Z]/.test(e))}const As={};function Gy(e){Object.assign(As,e)}const na=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],oi=new Set(na);function p0(e,{layout:t,layoutId:n}){return oi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!As[e]||e==="opacity")}const on=e=>!!(e&&e.getVelocity),Hy={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Wy=na.length;function Xy(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let a="";for(let l=0;l<Wy;l++){const u=na[l];if(e[u]!==void 0){const c=Hy[u]||u;a+=`${c}(${e[u]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),i?a=i(e,r?"":a):n&&r&&(a="none"),a}const g0=e=>t=>typeof t=="string"&&t.startsWith(e),m0=g0("--"),sc=g0("var(--"),zy=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Zy=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Br=(e,t,n)=>Math.min(Math.max(n,e),t),ai={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ra={...ai,transform:e=>Br(0,1,e)},_s={...ai,default:1},ia=e=>Math.round(e*1e5)/1e5,Ps=/(-)?([\d]*\.?[\d])+/g,v0=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Uy=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function oa(e){return typeof e=="string"}const aa=e=>({test:t=>oa(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$r=aa("deg"),Un=aa("%"),Le=aa("px"),Yy=aa("vh"),Jy=aa("vw"),b0={...Un,parse:e=>Un.parse(e)/100,transform:e=>Un.transform(e*100)},y0={...ai,transform:Math.round},C0={borderWidth:Le,borderTopWidth:Le,borderRightWidth:Le,borderBottomWidth:Le,borderLeftWidth:Le,borderRadius:Le,radius:Le,borderTopLeftRadius:Le,borderTopRightRadius:Le,borderBottomRightRadius:Le,borderBottomLeftRadius:Le,width:Le,maxWidth:Le,height:Le,maxHeight:Le,size:Le,top:Le,right:Le,bottom:Le,left:Le,padding:Le,paddingTop:Le,paddingRight:Le,paddingBottom:Le,paddingLeft:Le,margin:Le,marginTop:Le,marginRight:Le,marginBottom:Le,marginLeft:Le,rotate:$r,rotateX:$r,rotateY:$r,rotateZ:$r,scale:_s,scaleX:_s,scaleY:_s,scaleZ:_s,skew:$r,skewX:$r,skewY:$r,distance:Le,translateX:Le,translateY:Le,translateZ:Le,x:Le,y:Le,z:Le,perspective:Le,transformPerspective:Le,opacity:ra,originX:b0,originY:b0,originZ:Le,zIndex:y0,fillOpacity:ra,strokeOpacity:ra,numOctaves:y0};function lc(e,t,n,r){const{style:i,vars:a,transform:l,transformOrigin:u}=e;let c=!1,f=!1,h=!0;for(const p in t){const m=t[p];if(m0(p)){a[p]=m;continue}const v=C0[p],S=Zy(m,v);if(oi.has(p)){if(c=!0,l[p]=S,!h)continue;m!==(v.default||0)&&(h=!1)}else p.startsWith("origin")?(f=!0,u[p]=S):i[p]=S}if(t.transform||(c||r?i.transform=Xy(e.transform,n,h,r):i.transform&&(i.transform="none")),f){const{originX:p="50%",originY:m="50%",originZ:v=0}=u;i.transformOrigin=`${p} ${m} ${v}`}}const uc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function x0(e,t,n){for(const r in t)!on(t[r])&&!p0(r,n)&&(e[r]=t[r])}function Ky({transformTemplate:e},t,n){return b.useMemo(()=>{const r=uc();return lc(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function qy(e,t,n){const r=e.style||{},i={};return x0(i,r,e),Object.assign(i,Ky(e,t,n)),e.transformValues?e.transformValues(i):i}function Qy(e,t,n){const r={},i=qy(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const e6=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Ts(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||e6.has(e)}let w0=e=>!Ts(e);function t6(e){e&&(w0=t=>t.startsWith("on")?!Ts(t):e(t))}try{t6(require("@emotion/is-prop-valid").default)}catch{}function n6(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(w0(i)||n===!0&&Ts(i)||!t&&!Ts(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function S0(e,t,n){return typeof e=="string"?e:Le.transform(t+n*e)}function r6(e,t,n){const r=S0(t,e.x,e.width),i=S0(n,e.y,e.height);return`${r} ${i}`}const i6={offset:"stroke-dashoffset",array:"stroke-dasharray"},o6={offset:"strokeDashoffset",array:"strokeDasharray"};function a6(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?i6:o6;e[a.offset]=Le.transform(-r);const l=Le.transform(t),u=Le.transform(n);e[a.array]=`${l} ${u}`}function cc(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...f},h,p,m){if(lc(e,f,h,m),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:S,dimensions:x}=e;v.transform&&(x&&(S.transform=v.transform),delete v.transform),x&&(i!==void 0||a!==void 0||S.transform)&&(S.transformOrigin=r6(x,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),l!==void 0&&a6(v,l,u,c,!1)}const I0=()=>({...uc(),attrs:{}}),fc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function s6(e,t,n,r){const i=b.useMemo(()=>{const a=I0();return cc(a,t,{enableHardwareAcceleration:!1},fc(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};x0(a,e.style,e),i.style={...a,...i.style}}return i}function l6(e=!1){return(n,r,i,{latestValues:a},l)=>{const c=(ac(n)?s6:Qy)(r,a,l,n),h={...n6(r,typeof n=="string",e),...c,ref:i},{children:p}=r,m=b.useMemo(()=>on(p)?p.get():p,[p]);return b.createElement(n,{...h,children:m})}}function E0(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const A0=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function _0(e,t,n,r){E0(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(A0.has(i)?i:nc(i),t.attrs[i])}function dc(e,t){const{style:n}=e,r={};for(const i in n)(on(n[i])||t.style&&on(t.style[i])||p0(i,e))&&(r[i]=n[i]);return r}function P0(e,t){const n=dc(e,t);for(const r in e)if(on(e[r])||on(t[r])){const i=na.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function hc(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function T0(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ms=e=>Array.isArray(e),u6=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),c6=e=>Ms(e)?e[e.length-1]||0:e;function Os(e){const t=on(e)?e.get():e;return u6(t)?t.toValue():t}function f6({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const l={latestValues:d6(r,i,a,e),renderState:t()};return n&&(l.mount=u=>n(r,u,l)),l}const M0=e=>(t,n)=>{const r=b.useContext(xs),i=b.useContext(ws),a=()=>f6(e,t,r,i);return n?a():T0(a)};function d6(e,t,n,r){const i={},a=r(e,{});for(const m in a)i[m]=Os(a[m]);let{initial:l,animate:u}=e;const c=Es(e),f=c0(e);t&&f&&!c&&e.inherit!==!1&&(l===void 0&&(l=t.initial),u===void 0&&(u=t.animate));let h=n?n.initial===!1:!1;h=h||l===!1;const p=h?u:l;return p&&typeof p!="boolean"&&!Is(p)&&(Array.isArray(p)?p:[p]).forEach(v=>{const S=hc(e,v);if(!S)return;const{transitionEnd:x,transition:E,...A}=S;for(const O in A){let R=A[O];if(Array.isArray(R)){const $=h?R.length-1:0;R=R[$]}R!==null&&(i[O]=R)}for(const O in x)i[O]=x[O]}),i}const Tt=e=>e;class O0{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function h6(e){let t=new O0,n=new O0,r=0,i=!1,a=!1;const l=new WeakSet,u={schedule:(c,f=!1,h=!1)=>{const p=h&&i,m=p?t:n;return f&&l.add(c),m.add(c)&&p&&i&&(r=t.order.length),c},cancel:c=>{n.remove(c),l.delete(c)},process:c=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let f=0;f<r;f++){const h=t.order[f];h(c),l.has(h)&&(u.schedule(h),e())}i=!1,a&&(a=!1,u.process(c))}};return u}const Fs=["prepare","read","update","preRender","render","postRender"],p6=40;function g6(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=Fs.reduce((p,m)=>(p[m]=h6(()=>n=!0),p),{}),l=p=>a[p].process(i),u=()=>{const p=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,p6),1),i.timestamp=p,i.isProcessing=!0,Fs.forEach(l),i.isProcessing=!1,n&&t&&(r=!1,e(u))},c=()=>{n=!0,r=!0,i.isProcessing||e(u)};return{schedule:Fs.reduce((p,m)=>{const v=a[m];return p[m]=(S,x=!1,E=!1)=>(n||c(),v.schedule(S,x,E)),p},{}),cancel:p=>Fs.forEach(m=>a[m].cancel(p)),state:i,steps:a}}const{schedule:bt,cancel:sr,state:Zt,steps:pc}=g6(typeof requestAnimationFrame<"u"?requestAnimationFrame:Tt,!0),m6={useVisualState:M0({scrapeMotionValuesFromProps:P0,createRenderState:I0,onMount:(e,t,{renderState:n,latestValues:r})=>{bt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),bt.render(()=>{cc(n,r,{enableHardwareAcceleration:!1},fc(t.tagName),e.transformTemplate),_0(t,n)})}})},v6={useVisualState:M0({scrapeMotionValuesFromProps:dc,createRenderState:uc})};function b6(e,{forwardMotionProps:t=!1},n,r){return{...ac(e)?m6:v6,preloadedFeatures:n,useRender:l6(t),createVisualElement:r,Component:e}}function lr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const F0=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Rs(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const y6=e=>t=>F0(t)&&e(t,Rs(t));function ur(e,t,n,r){return lr(e,t,y6(n),r)}const C6=(e,t)=>n=>t(e(n)),Dr=(...e)=>e.reduce(C6);function R0(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const V0=R0("dragHorizontal"),B0=R0("dragVertical");function $0(e){let t=!1;if(e==="y")t=B0();else if(e==="x")t=V0();else{const n=V0(),r=B0();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function D0(){const e=$0(!0);return e?(e(),!1):!0}class Nr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function N0(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(a,l)=>{if(a.pointerType==="touch"||D0())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t),u[r]&&bt.update(()=>u[r](a,l))};return ur(e.current,n,i,{passive:!e.getProps()[r]})}class x6 extends Nr{mount(){this.unmount=Dr(N0(this.node,!0),N0(this.node,!1))}unmount(){}}class w6 extends Nr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Dr(lr(this.node.current,"focus",()=>this.onFocus()),lr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const L0=(e,t)=>t?e===t?!0:L0(e,t.parentElement):!1;function gc(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Rs(n))}class S6 extends Nr{constructor(){super(...arguments),this.removeStartListeners=Tt,this.removeEndListeners=Tt,this.removeAccessibleListeners=Tt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),a=ur(window,"pointerup",(u,c)=>{if(!this.checkPressEnd())return;const{onTap:f,onTapCancel:h,globalTapTarget:p}=this.node.getProps();bt.update(()=>{!p&&!L0(this.node.current,u.target)?h&&h(u,c):f&&f(u,c)})},{passive:!(r.onTap||r.onPointerUp)}),l=ur(window,"pointercancel",(u,c)=>this.cancelPress(u,c),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Dr(a,l),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const l=u=>{u.key!=="Enter"||!this.checkPressEnd()||gc("up",(c,f)=>{const{onTap:h}=this.node.getProps();h&&bt.update(()=>h(c,f))})};this.removeEndListeners(),this.removeEndListeners=lr(this.node.current,"keyup",l),gc("down",(u,c)=>{this.startPress(u,c)})},n=lr(this.node.current,"keydown",t),r=()=>{this.isPressing&&gc("cancel",(a,l)=>this.cancelPress(a,l))},i=lr(this.node.current,"blur",r);this.removeAccessibleListeners=Dr(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&bt.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!D0()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&bt.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=ur(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=lr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Dr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const mc=new WeakMap,vc=new WeakMap,I6=e=>{const t=mc.get(e.target);t&&t(e)},E6=e=>{e.forEach(I6)};function A6({root:e,...t}){const n=e||document;vc.has(n)||vc.set(n,{});const r=vc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(E6,{root:e,...t})),r[i]}function _6(e,t,n){const r=A6(t);return mc.set(e,n),r.observe(e),()=>{mc.delete(e),r.unobserve(e)}}const P6={some:0,all:1};class T6 extends Nr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:P6[i]},u=c=>{const{isIntersecting:f}=c;if(this.isInView===f||(this.isInView=f,a&&!f&&this.hasEnteredView))return;f&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",f);const{onViewportEnter:h,onViewportLeave:p}=this.node.getProps(),m=f?h:p;m&&m(c)};return _6(this.node.current,l,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(M6(t,n))&&this.startObserver()}unmount(){}}function M6({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const O6={inView:{Feature:T6},tap:{Feature:S6},focus:{Feature:w6},hover:{Feature:x6}};function j0(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function F6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function R6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Vs(e,t,n){const r=e.getProps();return hc(r,t,n!==void 0?n:r.custom,F6(e),R6(e))}let sa=Tt,En=Tt;process.env.NODE_ENV!=="production"&&(sa=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},En=(e,t)=>{if(!e)throw new Error(t)});const Lr=e=>e*1e3,cr=e=>e/1e3,V6={current:!1},k0=e=>Array.isArray(e)&&typeof e[0]=="number";function G0(e){return!!(!e||typeof e=="string"&&H0[e]||k0(e)||Array.isArray(e)&&e.every(G0))}const la=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,H0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:la([0,.65,.55,1]),circOut:la([.55,0,1,.45]),backIn:la([.31,.01,.66,-.59]),backOut:la([.33,1.53,.69,.99])};function W0(e){if(e)return k0(e)?la(e):Array.isArray(e)?e.map(W0):H0[e]}function B6(e,t,n,{delay:r=0,duration:i,repeat:a=0,repeatType:l="loop",ease:u,times:c}={}){const f={[t]:n};c&&(f.offset=c);const h=W0(u);return Array.isArray(h)&&(f.easing=h),e.animate(f,{delay:r,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:a+1,direction:l==="reverse"?"alternate":"normal"})}function $6(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const X0=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,D6=1e-7,N6=12;function L6(e,t,n,r,i){let a,l,u=0;do l=t+(n-t)/2,a=X0(l,r,i)-e,a>0?n=l:t=l;while(Math.abs(a)>D6&&++u<N6);return l}function ua(e,t,n,r){if(e===t&&n===r)return Tt;const i=a=>L6(a,0,1,e,n);return a=>a===0||a===1?a:X0(i(a),t,r)}const j6=ua(.42,0,1,1),k6=ua(0,0,.58,1),z0=ua(.42,0,.58,1),G6=e=>Array.isArray(e)&&typeof e[0]!="number",Z0=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,U0=e=>t=>1-e(1-t),bc=e=>1-Math.sin(Math.acos(e)),Y0=U0(bc),H6=Z0(bc),J0=ua(.33,1.53,.69,.99),yc=U0(J0),W6=Z0(yc),K0={linear:Tt,easeIn:j6,easeInOut:z0,easeOut:k6,circIn:bc,circInOut:H6,circOut:Y0,backIn:yc,backInOut:W6,backOut:J0,anticipate:e=>(e*=2)<1?.5*yc(e):.5*(2-Math.pow(2,-10*(e-1)))},q0=e=>{if(Array.isArray(e)){En(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return ua(t,n,r,i)}else if(typeof e=="string")return En(K0[e]!==void 0,`Invalid easing type '${e}'`),K0[e];return e},Cc=(e,t)=>n=>!!(oa(n)&&Uy.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Q0=(e,t,n)=>r=>{if(!oa(r))return r;const[i,a,l,u]=r.match(Ps);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(l),alpha:u!==void 0?parseFloat(u):1}},X6=e=>Br(0,255,e),xc={...ai,transform:e=>Math.round(X6(e))},si={test:Cc("rgb","red"),parse:Q0("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+xc.transform(e)+", "+xc.transform(t)+", "+xc.transform(n)+", "+ia(ra.transform(r))+")"};function z6(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const wc={test:Cc("#"),parse:z6,transform:si.transform},Xi={test:Cc("hsl","hue"),parse:Q0("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Un.transform(ia(t))+", "+Un.transform(ia(n))+", "+ia(ra.transform(r))+")"},Qt={test:e=>si.test(e)||wc.test(e)||Xi.test(e),parse:e=>si.test(e)?si.parse(e):Xi.test(e)?Xi.parse(e):wc.parse(e),transform:e=>oa(e)?e:e.hasOwnProperty("red")?si.transform(e):Xi.transform(e)},_t=(e,t,n)=>-n*e+n*t+e;function Sc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Z6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,l=0;if(!t)i=a=l=n;else{const u=n<.5?n*(1+t):n+t-n*t,c=2*n-u;i=Sc(c,u,e+1/3),a=Sc(c,u,e),l=Sc(c,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(l*255),alpha:r}}const Ic=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},U6=[wc,si,Xi],Y6=e=>U6.find(t=>t.test(e));function ep(e){const t=Y6(e);En(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Xi&&(n=Z6(n)),n}const tp=(e,t)=>{const n=ep(e),r=ep(t),i={...n};return a=>(i.red=Ic(n.red,r.red,a),i.green=Ic(n.green,r.green,a),i.blue=Ic(n.blue,r.blue,a),i.alpha=_t(n.alpha,r.alpha,a),si.transform(i))};function J6(e){var t,n;return isNaN(e)&&oa(e)&&(((t=e.match(Ps))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(v0))===null||n===void 0?void 0:n.length)||0)>0}const np={regex:zy,countKey:"Vars",token:"${v}",parse:Tt},rp={regex:v0,countKey:"Colors",token:"${c}",parse:Qt.parse},ip={regex:Ps,countKey:"Numbers",token:"${n}",parse:ai.parse};function Ec(e,{regex:t,countKey:n,token:r,parse:i}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(i)))}function Bs(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ec(n,np),Ec(n,rp),Ec(n,ip),n}function op(e){return Bs(e).values}function ap(e){const{values:t,numColors:n,numVars:r,tokenised:i}=Bs(e),a=t.length;return l=>{let u=i;for(let c=0;c<a;c++)c<r?u=u.replace(np.token,l[c]):c<r+n?u=u.replace(rp.token,Qt.transform(l[c])):u=u.replace(ip.token,ia(l[c]));return u}}const K6=e=>typeof e=="number"?0:e;function q6(e){const t=op(e);return ap(e)(t.map(K6))}const jr={test:J6,parse:op,createTransformer:ap,getAnimatableNone:q6},sp=(e,t)=>n=>`${n>0?t:e}`;function lp(e,t){return typeof e=="number"?n=>_t(e,t,n):Qt.test(e)?tp(e,t):e.startsWith("var(")?sp(e,t):cp(e,t)}const up=(e,t)=>{const n=[...e],r=n.length,i=e.map((a,l)=>lp(a,t[l]));return a=>{for(let l=0;l<r;l++)n[l]=i[l](a);return n}},Q6=(e,t)=>{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=lp(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}},cp=(e,t)=>{const n=jr.createTransformer(t),r=Bs(e),i=Bs(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Dr(up(r.values,i.values),n):(sa(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),sp(e,t))},ca=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},fp=(e,t)=>n=>_t(e,t,n);function eC(e){return typeof e=="number"?fp:typeof e=="string"?Qt.test(e)?tp:cp:Array.isArray(e)?up:typeof e=="object"?Q6:fp}function tC(e,t,n){const r=[],i=n||eC(e[0]),a=e.length-1;for(let l=0;l<a;l++){let u=i(e[l],e[l+1]);if(t){const c=Array.isArray(t)?t[l]||Tt:t;u=Dr(c,u)}r.push(u)}return r}function dp(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(En(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=tC(t,r,i),u=l.length,c=f=>{let h=0;if(u>1)for(;h<e.length-2&&!(f<e[h+1]);h++);const p=ca(e[h],e[h+1],f);return l[h](p)};return n?f=>c(Br(e[0],e[a-1],f)):c}function nC(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ca(0,t,r);e.push(_t(n,1,i))}}function rC(e){const t=[0];return nC(t,e.length-1),t}function iC(e,t){return e.map(n=>n*t)}function oC(e,t){return e.map(()=>t||z0).splice(0,e.length-1)}function $s({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=G6(r)?r.map(q0):q0(r),a={done:!1,value:t[0]},l=iC(n&&n.length===t.length?n:rC(t),e),u=dp(l,t,{ease:Array.isArray(i)?i:oC(t,i)});return{calculatedDuration:e,next:c=>(a.value=u(c),a.done=c>=e,a)}}function hp(e,t){return t?e*(1e3/t):0}const aC=5;function pp(e,t,n){const r=Math.max(t-aC,0);return hp(n-e(r),t-r)}const Ac=.001,sC=.01,gp=10,lC=.05,uC=1;function cC({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a;sa(e<=Lr(gp),"Spring duration must be 10 seconds or less");let l=1-t;l=Br(lC,uC,l),e=Br(sC,gp,cr(e)),l<1?(i=f=>{const h=f*l,p=h*e,m=h-n,v=_c(f,l),S=Math.exp(-p);return Ac-m/v*S},a=f=>{const p=f*l*e,m=p*n+n,v=Math.pow(l,2)*Math.pow(f,2)*e,S=Math.exp(-p),x=_c(Math.pow(f,2),l);return(-i(f)+Ac>0?-1:1)*((m-v)*S)/x}):(i=f=>{const h=Math.exp(-f*e),p=(f-n)*e+1;return-Ac+h*p},a=f=>{const h=Math.exp(-f*e),p=(n-f)*(e*e);return h*p});const u=5/e,c=dC(i,a,u);if(e=Lr(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const f=Math.pow(c,2)*r;return{stiffness:f,damping:l*2*Math.sqrt(r*f),duration:e}}}const fC=12;function dC(e,t,n){let r=n;for(let i=1;i<fC;i++)r=r-e(r)/t(r);return r}function _c(e,t){return e*Math.sqrt(1-t*t)}const hC=["duration","bounce"],pC=["stiffness","damping","mass"];function mp(e,t){return t.some(n=>e[n]!==void 0)}function gC(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!mp(e,pC)&&mp(e,hC)){const n=cC(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function vp({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],a=e[e.length-1],l={done:!1,value:i},{stiffness:u,damping:c,mass:f,duration:h,velocity:p,isResolvedFromDuration:m}=gC({...r,velocity:-cr(r.velocity||0)}),v=p||0,S=c/(2*Math.sqrt(u*f)),x=a-i,E=cr(Math.sqrt(u/f)),A=Math.abs(x)<5;n||(n=A?.01:2),t||(t=A?.005:.5);let O;if(S<1){const R=_c(E,S);O=$=>{const N=Math.exp(-S*E*$);return a-N*((v+S*E*x)/R*Math.sin(R*$)+x*Math.cos(R*$))}}else if(S===1)O=R=>a-Math.exp(-E*R)*(x+(v+E*x)*R);else{const R=E*Math.sqrt(S*S-1);O=$=>{const N=Math.exp(-S*E*$),X=Math.min(R*$,300);return a-N*((v+S*E*x)*Math.sinh(X)+R*x*Math.cosh(X))/R}}return{calculatedDuration:m&&h||null,next:R=>{const $=O(R);if(m)l.done=R>=h;else{let N=v;R!==0&&(S<1?N=pp(O,R,$):N=0);const X=Math.abs(N)<=n,Z=Math.abs(a-$)<=t;l.done=X&&Z}return l.value=l.done?a:$,l}}}function bp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:c,restDelta:f=.5,restSpeed:h}){const p=e[0],m={done:!1,value:p},v=U=>u!==void 0&&U<u||c!==void 0&&U>c,S=U=>u===void 0?c:c===void 0||Math.abs(u-U)<Math.abs(c-U)?u:c;let x=n*t;const E=p+x,A=l===void 0?E:l(E);A!==E&&(x=A-p);const O=U=>-x*Math.exp(-U/r),R=U=>A+O(U),$=U=>{const se=O(U),Ae=R(U);m.done=Math.abs(se)<=f,m.value=m.done?A:Ae};let N,X;const Z=U=>{v(m.value)&&(N=U,X=vp({keyframes:[m.value,S(m.value)],velocity:pp(R,U,m.value),damping:i,stiffness:a,restDelta:f,restSpeed:h}))};return Z(0),{calculatedDuration:null,next:U=>{let se=!1;return!X&&N===void 0&&(se=!0,$(U),Z(U)),N!==void 0&&U>N?X.next(U-N):(!se&&$(U),m)}}}const mC=e=>{const t=({timestamp:n})=>e(n);return{start:()=>bt.update(t,!0),stop:()=>sr(t),now:()=>Zt.isProcessing?Zt.timestamp:performance.now()}},yp=2e4;function Cp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<yp;)t+=n,r=e.next(t);return t>=yp?1/0:t}const vC={decay:bp,inertia:bp,tween:$s,keyframes:$s,spring:vp};function Ds({autoplay:e=!0,delay:t=0,driver:n=mC,keyframes:r,type:i="keyframes",repeat:a=0,repeatDelay:l=0,repeatType:u="loop",onPlay:c,onStop:f,onComplete:h,onUpdate:p,...m}){let v=1,S=!1,x,E;const A=()=>{E=new Promise(V=>{x=V})};A();let O;const R=vC[i]||$s;let $;R!==$s&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&En(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),$=dp([0,100],r,{clamp:!1}),r=[0,100]);const N=R({...m,keyframes:r});let X;u==="mirror"&&(X=R({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let Z="idle",U=null,se=null,Ae=null;N.calculatedDuration===null&&a&&(N.calculatedDuration=Cp(N));const{calculatedDuration:Xe}=N;let Ge=1/0,pe=1/0;Xe!==null&&(Ge=Xe+l,pe=Ge*(a+1)-l);let Se=0;const Te=V=>{if(se===null)return;v>0&&(se=Math.min(se,V)),v<0&&(se=Math.min(V-pe/v,se)),U!==null?Se=U:Se=Math.round(V-se)*v;const F=Se-t*(v>=0?1:-1),y=v>=0?F<0:F>pe;Se=Math.max(F,0),Z==="finished"&&U===null&&(Se=pe);let k=Se,ee=N;if(a){const re=Math.min(Se,pe)/Ge;let ie=Math.floor(re),ue=re%1;!ue&&re>=1&&(ue=1),ue===1&&ie--,ie=Math.min(ie,a+1),!!(ie%2)&&(u==="reverse"?(ue=1-ue,l&&(ue-=l/Ge)):u==="mirror"&&(ee=X)),k=Br(0,1,ue)*Ge}const oe=y?{done:!1,value:r[0]}:ee.next(k);$&&(oe.value=$(oe.value));let{done:z}=oe;!y&&Xe!==null&&(z=v>=0?Se>=pe:Se<=0);const J=U===null&&(Z==="finished"||Z==="running"&&z);return p&&p(oe.value),J&&ze(),oe},be=()=>{O&&O.stop(),O=void 0},Ve=()=>{Z="idle",be(),x(),A(),se=Ae=null},ze=()=>{Z="finished",h&&h(),be(),x()},M=()=>{if(S)return;O||(O=n(Te));const V=O.now();c&&c(),U!==null?se=V-U:(!se||Z==="finished")&&(se=V),Z==="finished"&&A(),Ae=se,U=null,Z="running",O.start()};e&&M();const T={then(V,F){return E.then(V,F)},get time(){return cr(Se)},set time(V){V=Lr(V),Se=V,U!==null||!O||v===0?U=V:se=O.now()-V/v},get duration(){const V=N.calculatedDuration===null?Cp(N):N.calculatedDuration;return cr(V)},get speed(){return v},set speed(V){V===v||!O||(v=V,T.time=cr(Se))},get state(){return Z},play:M,pause:()=>{Z="paused",U=Se},stop:()=>{S=!0,Z!=="idle"&&(Z="idle",f&&f(),Ve())},cancel:()=>{Ae!==null&&Te(Ae),Ve()},complete:()=>{Z="finished"},sample:V=>(se=0,Te(V))};return T}function bC(e){let t;return()=>(t===void 0&&(t=e()),t)}const yC=bC(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),CC=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ns=10,xC=2e4,wC=(e,t)=>t.type==="spring"||e==="backgroundColor"||!G0(t.ease);function SC(e,t,{onUpdate:n,onComplete:r,...i}){if(!(yC()&&CC.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let l=!1,u,c,f=!1;const h=()=>{c=new Promise(R=>{u=R})};h();let{keyframes:p,duration:m=300,ease:v,times:S}=i;if(wC(t,i)){const R=Ds({...i,repeat:0,delay:0});let $={done:!1,value:p[0]};const N=[];let X=0;for(;!$.done&&X<xC;)$=R.sample(X),N.push($.value),X+=Ns;S=void 0,p=N,m=X-Ns,v="linear"}const x=B6(e.owner.current,t,p,{...i,duration:m,ease:v,times:S}),E=()=>{f=!1,x.cancel()},A=()=>{f=!0,bt.update(E),u(),h()};return x.onfinish=()=>{f||(e.set($6(p,i)),r&&r(),A())},{then(R,$){return c.then(R,$)},attachTimeline(R){return x.timeline=R,x.onfinish=null,Tt},get time(){return cr(x.currentTime||0)},set time(R){x.currentTime=Lr(R)},get speed(){return x.playbackRate},set speed(R){x.playbackRate=R},get duration(){return cr(m)},play:()=>{l||(x.play(),sr(E))},pause:()=>x.pause(),stop:()=>{if(l=!0,x.playState==="idle")return;const{currentTime:R}=x;if(R){const $=Ds({...i,autoplay:!1});e.setWithVelocity($.sample(R-Ns).value,$.sample(R).value,Ns)}A()},complete:()=>{f||x.finish()},cancel:A}}function IC({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Tt,pause:Tt,stop:Tt,then:a=>(a(),Promise.resolve()),cancel:Tt,complete:Tt});return t?Ds({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const EC={type:"spring",stiffness:500,damping:25,restSpeed:10},AC=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),_C={type:"keyframes",duration:.8},PC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},TC=(e,{keyframes:t})=>t.length>2?_C:oi.has(e)?e.startsWith("scale")?AC(t[1]):EC:PC,Pc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(jr.test(t)||t==="0")&&!t.startsWith("url(")),MC=new Set(["brightness","contrast","saturate","opacity"]);function OC(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ps)||[];if(!r)return e;const i=n.replace(r,"");let a=MC.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const FC=/([a-z-]*)\(.*?\)/g,Tc={...jr,getAnimatableNone:e=>{const t=e.match(FC);return t?t.map(OC).join(" "):e}},RC={...C0,color:Qt,backgroundColor:Qt,outlineColor:Qt,fill:Qt,stroke:Qt,borderColor:Qt,borderTopColor:Qt,borderRightColor:Qt,borderBottomColor:Qt,borderLeftColor:Qt,filter:Tc,WebkitFilter:Tc},Mc=e=>RC[e];function xp(e,t){let n=Mc(e);return n!==Tc&&(n=jr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const wp=e=>/^0[^.\s]+$/.test(e);function VC(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||wp(e)}function BC(e,t,n,r){const i=Pc(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const l=r.from!==void 0?r.from:e.get();let u;const c=[];for(let f=0;f<a.length;f++)a[f]===null&&(a[f]=f===0?l:a[f-1]),VC(a[f])&&c.push(f),typeof a[f]=="string"&&a[f]!=="none"&&a[f]!=="0"&&(u=a[f]);if(i&&c.length&&u)for(let f=0;f<c.length;f++){const h=c[f];a[h]=xp(t,u)}return a}function $C({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:l,repeatDelay:u,from:c,elapsed:f,...h}){return!!Object.keys(h).length}function Oc(e,t){return e[t]||e.default||e}const DC={skipAnimations:!1},Fc=(e,t,n,r={})=>i=>{const a=Oc(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Lr(l);const c=BC(t,e,n,a),f=c[0],h=c[c.length-1],p=Pc(e,f),m=Pc(e,h);sa(p===m,`You are trying to animate ${e} from "${f}" to "${h}". ${f} is not an animatable value - to enable this animation set ${f} to a value animatable to ${h} via the \`style\` property.`);let v={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-u,onUpdate:S=>{t.set(S),a.onUpdate&&a.onUpdate(S)},onComplete:()=>{i(),a.onComplete&&a.onComplete()}};if($C(a)||(v={...v,...TC(e,v)}),v.duration&&(v.duration=Lr(v.duration)),v.repeatDelay&&(v.repeatDelay=Lr(v.repeatDelay)),!p||!m||V6.current||a.type===!1||DC.skipAnimations)return IC(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const S=SC(t,e,v);if(S)return S}return Ds(v)};function Ls(e){return!!(on(e)&&e.add)}const Sp=e=>/^\-?\d*\.?\d+$/.test(e);function Rc(e,t){e.indexOf(t)===-1&&e.push(t)}function Vc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Bc{constructor(){this.subscriptions=[]}add(t){return Rc(this.subscriptions,t),()=>Vc(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const l=this.subscriptions[a];l&&l(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ip=new Set;function $c(e,t,n){e||Ip.has(t)||(console.warn(t),Ip.add(t))}const NC=e=>!isNaN(parseFloat(e));class LC{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:l}=Zt;this.lastUpdated!==l&&(this.timeDelta=a,this.lastUpdated=l,bt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>bt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=NC(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&$c(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Bc);const r=this.events[t].add(n);return t==="change"?()=>{r(),bt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?hp(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function zi(e,t){return new LC(e,t)}const Ep=e=>t=>t.test(e),Ap=[ai,Le,Un,$r,Jy,Yy,{test:e=>e==="auto",parse:e=>e}],fa=e=>Ap.find(Ep(e)),jC=[...Ap,Qt,jr],kC=e=>jC.find(Ep(e));function GC(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,zi(n))}function HC(e,t){const n=Vs(e,t);let{transitionEnd:r={},transition:i={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const l in a){const u=c6(a[l]);GC(e,l,u)}}function WC(e,t,n){var r,i;const a=Object.keys(t).filter(u=>!e.hasValue(u)),l=a.length;if(l)for(let u=0;u<l;u++){const c=a[u],f=t[c];let h=null;Array.isArray(f)&&(h=f[0]),h===null&&(h=(i=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&i!==void 0?i:t[c]),h!=null&&(typeof h=="string"&&(Sp(h)||wp(h))?h=parseFloat(h):!kC(h)&&jr.test(f)&&(h=xp(c,f)),e.addValue(c,zi(h,{owner:e})),n[c]===void 0&&(n[c]=h),h!==null&&e.setBaseTarget(c,h))}}function XC(e,t){return t?(t[e]||t.default||t).from:void 0}function zC(e,t,n){const r={};for(const i in e){const a=XC(i,t);if(a!==void 0)r[i]=a;else{const l=n.getValue(i);l&&(r[i]=l.get())}}return r}function ZC({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function UC(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function _p(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:l,...u}=e.makeTargetAnimatable(t);const c=e.getValue("willChange");r&&(a=r);const f=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const p in u){const m=e.getValue(p),v=u[p];if(!m||v===void 0||h&&ZC(h,p))continue;const S={delay:n,elapsed:0,...Oc(a||{},p)};if(window.HandoffAppearAnimations){const A=e.getProps()[u0];if(A){const O=window.HandoffAppearAnimations(A,p,m,bt);O!==null&&(S.elapsed=O,S.isHandoff=!0)}}let x=!S.isHandoff&&!UC(m,v);if(S.type==="spring"&&(m.getVelocity()||S.velocity)&&(x=!1),m.animation&&(x=!1),x)continue;m.start(Fc(p,m,v,e.shouldReduceMotion&&oi.has(p)?{type:!1}:S));const E=m.animation;Ls(c)&&(c.add(p),E.then(()=>c.remove(p))),f.push(E)}return l&&Promise.all(f).then(()=>{l&&HC(e,l)}),f}function Dc(e,t,n={}){const r=Vs(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const a=r?()=>Promise.all(_p(e,r,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:f=0,staggerChildren:h,staggerDirection:p}=i;return YC(e,t,f+c,h,p,n)}:()=>Promise.resolve(),{when:u}=i;if(u){const[c,f]=u==="beforeChildren"?[a,l]:[l,a];return c().then(()=>f())}else return Promise.all([a(),l(n.delay)])}function YC(e,t,n=0,r=0,i=1,a){const l=[],u=(e.variantChildren.size-1)*r,c=i===1?(f=0)=>f*r:(f=0)=>u-f*r;return Array.from(e.variantChildren).sort(JC).forEach((f,h)=>{f.notify("AnimationStart",t),l.push(Dc(f,t,{...a,delay:n+c(h)}).then(()=>f.notify("AnimationComplete",t)))}),Promise.all(l)}function JC(e,t){return e.sortNodePosition(t)}function KC(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>Dc(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=Dc(e,t,n);else{const i=typeof t=="function"?Vs(e,t,n.custom):t;r=Promise.all(_p(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const qC=[...rc].reverse(),QC=rc.length;function ex(e){return t=>Promise.all(t.map(({animation:n,options:r})=>KC(e,n,r)))}function tx(e){let t=ex(e);const n=rx();let r=!0;const i=(c,f)=>{const h=Vs(e,f);if(h){const{transition:p,transitionEnd:m,...v}=h;c={...c,...v,...m}}return c};function a(c){t=c(e)}function l(c,f){const h=e.getProps(),p=e.getVariantContext(!0)||{},m=[],v=new Set;let S={},x=1/0;for(let A=0;A<QC;A++){const O=qC[A],R=n[O],$=h[O]!==void 0?h[O]:p[O],N=ea($),X=O===f?R.isActive:null;X===!1&&(x=A);let Z=$===p[O]&&$!==h[O]&&N;if(Z&&r&&e.manuallyAnimateOnMount&&(Z=!1),R.protectedKeys={...S},!R.isActive&&X===null||!$&&!R.prevProp||Is($)||typeof $=="boolean")continue;let se=nx(R.prevProp,$)||O===f&&R.isActive&&!Z&&N||A>x&&N,Ae=!1;const Xe=Array.isArray($)?$:[$];let Ge=Xe.reduce(i,{});X===!1&&(Ge={});const{prevResolvedValues:pe={}}=R,Se={...pe,...Ge},Te=be=>{se=!0,v.has(be)&&(Ae=!0,v.delete(be)),R.needsAnimating[be]=!0};for(const be in Se){const Ve=Ge[be],ze=pe[be];if(S.hasOwnProperty(be))continue;let M=!1;Ms(Ve)&&Ms(ze)?M=!j0(Ve,ze):M=Ve!==ze,M?Ve!==void 0?Te(be):v.add(be):Ve!==void 0&&v.has(be)?Te(be):R.protectedKeys[be]=!0}R.prevProp=$,R.prevResolvedValues=Ge,R.isActive&&(S={...S,...Ge}),r&&e.blockInitialAnimation&&(se=!1),se&&(!Z||Ae)&&m.push(...Xe.map(be=>({animation:be,options:{type:O,...c}})))}if(v.size){const A={};v.forEach(O=>{const R=e.getBaseTarget(O);R!==void 0&&(A[O]=R)}),m.push({animation:A})}let E=!!m.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(m):Promise.resolve()}function u(c,f,h){var p;if(n[c].isActive===f)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(v=>{var S;return(S=v.animationState)===null||S===void 0?void 0:S.setActive(c,f)}),n[c].isActive=f;const m=l(h,c);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:l,setActive:u,setAnimateFunction:a,getState:()=>n}}function nx(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!j0(t,e):!1}function li(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rx(){return{animate:li(!0),whileInView:li(),whileHover:li(),whileTap:li(),whileDrag:li(),whileFocus:li(),exit:li()}}class ix extends Nr{constructor(t){super(t),t.animationState||(t.animationState=tx(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Is(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let ox=0;class ax extends Nr{constructor(){super(...arguments),this.id=ox++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const sx={animation:{Feature:ix},exit:{Feature:ax}},Pp=(e,t)=>Math.abs(e-t);function lx(e,t){const n=Pp(e.x,t.x),r=Pp(e.y,t.y);return Math.sqrt(n**2+r**2)}class Tp{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Lc(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=lx(p.offset,{x:0,y:0})>=3;if(!m&&!v)return;const{point:S}=p,{timestamp:x}=Zt;this.history.push({...S,timestamp:x});const{onStart:E,onMove:A}=this.handlers;m||(E&&E(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),A&&A(this.lastMoveEvent,p)},this.handlePointerMove=(p,m)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=Nc(m,this.transformPagePoint),bt.update(this.updatePoint,!0)},this.handlePointerUp=(p,m)=>{this.end();const{onEnd:v,onSessionEnd:S,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const E=Lc(p.type==="pointercancel"?this.lastMoveEventInfo:Nc(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(p,E),S&&S(p,E)},!F0(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const l=Rs(t),u=Nc(l,this.transformPagePoint),{point:c}=u,{timestamp:f}=Zt;this.history=[{...c,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,Lc(u,this.history)),this.removeListeners=Dr(ur(this.contextWindow,"pointermove",this.handlePointerMove),ur(this.contextWindow,"pointerup",this.handlePointerUp),ur(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),sr(this.updatePoint)}}function Nc(e,t){return t?{point:t(e.point)}:e}function Mp(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Lc({point:e},t){return{point:e,delta:Mp(e,Op(t)),offset:Mp(e,ux(t)),velocity:cx(t,.1)}}function ux(e){return e[0]}function Op(e){return e[e.length-1]}function cx(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Op(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Lr(t)));)n--;if(!r)return{x:0,y:0};const a=cr(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const l={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function pn(e){return e.max-e.min}function jc(e,t=0,n=.01){return Math.abs(e-t)<=n}function Fp(e,t,n,r=.5){e.origin=r,e.originPoint=_t(t.min,t.max,e.origin),e.scale=pn(n)/pn(t),(jc(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=_t(n.min,n.max,e.origin)-e.originPoint,(jc(e.translate)||isNaN(e.translate))&&(e.translate=0)}function da(e,t,n,r){Fp(e.x,t.x,n.x,r?r.originX:void 0),Fp(e.y,t.y,n.y,r?r.originY:void 0)}function Rp(e,t,n){e.min=n.min+t.min,e.max=e.min+pn(t)}function fx(e,t,n){Rp(e.x,t.x,n.x),Rp(e.y,t.y,n.y)}function Vp(e,t,n){e.min=t.min-n.min,e.max=e.min+pn(t)}function ha(e,t,n){Vp(e.x,t.x,n.x),Vp(e.y,t.y,n.y)}function dx(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?_t(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?_t(n,e,r.max):Math.min(e,n)),e}function Bp(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function hx(e,{top:t,left:n,bottom:r,right:i}){return{x:Bp(e.x,n,i),y:Bp(e.y,t,r)}}function $p(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function px(e,t){return{x:$p(e.x,t.x),y:$p(e.y,t.y)}}function gx(e,t){let n=.5;const r=pn(e),i=pn(t);return i>r?n=ca(t.min,t.max-r,e.min):r>i&&(n=ca(e.min,e.max-i,t.min)),Br(0,1,n)}function mx(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const kc=.35;function vx(e=kc){return e===!1?e=0:e===!0&&(e=kc),{x:Dp(e,"left","right"),y:Dp(e,"top","bottom")}}function Dp(e,t,n){return{min:Np(e,t),max:Np(e,n)}}function Np(e,t){return typeof e=="number"?e:e[t]||0}const Lp=()=>({translate:0,scale:1,origin:0,originPoint:0}),Zi=()=>({x:Lp(),y:Lp()}),jp=()=>({min:0,max:0}),Dt=()=>({x:jp(),y:jp()});function An(e){return[e("x"),e("y")]}function kp({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function bx({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function yx(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Gc(e){return e===void 0||e===1}function Hc({scale:e,scaleX:t,scaleY:n}){return!Gc(e)||!Gc(t)||!Gc(n)}function ui(e){return Hc(e)||Gp(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Gp(e){return Hp(e.x)||Hp(e.y)}function Hp(e){return e&&e!=="0%"}function js(e,t,n){const r=e-n,i=t*r;return n+i}function Wp(e,t,n,r,i){return i!==void 0&&(e=js(e,i,r)),js(e,n,r)+t}function Wc(e,t=0,n=1,r,i){e.min=Wp(e.min,t,n,r,i),e.max=Wp(e.max,t,n,r,i)}function Xp(e,{x:t,y:n}){Wc(e.x,t.translate,t.scale,t.originPoint),Wc(e.y,n.translate,n.scale,n.originPoint)}function Cx(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,l;for(let u=0;u<i;u++){a=n[u],l=a.projectionDelta;const c=a.instance;c&&c.style&&c.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Ui(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,Xp(e,l)),r&&ui(a.latestValues)&&Ui(e,a.latestValues))}t.x=zp(t.x),t.y=zp(t.y)}function zp(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function kr(e,t){e.min=e.min+t,e.max=e.max+t}function Zp(e,t,[n,r,i]){const a=t[i]!==void 0?t[i]:.5,l=_t(e.min,e.max,a);Wc(e,t[n],t[r],l,t.scale)}const xx=["x","scaleX","originX"],wx=["y","scaleY","originY"];function Ui(e,t){Zp(e.x,t,xx),Zp(e.y,t,wx)}function Up(e,t){return kp(yx(e.getBoundingClientRect(),t))}function Sx(e,t,n){const r=Up(e,n),{scroll:i}=t;return i&&(kr(r.x,i.offset.x),kr(r.y,i.offset.y)),r}const Yp=({current:e})=>e?e.ownerDocument.defaultView:null,Ix=new WeakMap;class Ex{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Dt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=h=>{const{dragSnapToOrigin:p}=this.getProps();p?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Rs(h,"page").point)},a=(h,p)=>{const{drag:m,dragPropagation:v,onDragStart:S}=this.getProps();if(m&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=$0(m),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),An(E=>{let A=this.getAxisMotionValue(E).get()||0;if(Un.test(A)){const{projection:O}=this.visualElement;if(O&&O.layout){const R=O.layout.layoutBox[E];R&&(A=pn(R)*(parseFloat(A)/100))}}this.originPoint[E]=A}),S&&bt.update(()=>S(h,p),!1,!0);const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},l=(h,p)=>{const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:S,onDrag:x}=this.getProps();if(!m&&!this.openGlobalLock)return;const{offset:E}=p;if(v&&this.currentDirection===null){this.currentDirection=Ax(E),this.currentDirection!==null&&S&&S(this.currentDirection);return}this.updateAxis("x",p.point,E),this.updateAxis("y",p.point,E),this.visualElement.render(),x&&x(h,p)},u=(h,p)=>this.stop(h,p),c=()=>An(h=>{var p;return this.getAnimationState(h)==="paused"&&((p=this.getAxisMotionValue(h).animation)===null||p===void 0?void 0:p.play())}),{dragSnapToOrigin:f}=this.getProps();this.panSession=new Tp(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:f,contextWindow:Yp(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&bt.update(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!ks(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=dx(l,this.constraints[t],this.elastic[t])),a.set(l)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;n&&Wi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=hx(i.layoutBox,n):this.constraints=!1,this.elastic=vx(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&An(l=>{this.getAxisMotionValue(l)&&(this.constraints[l]=mx(i.layoutBox[l],this.constraints[l]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Wi(t))return!1;const r=t.current;En(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=Sx(r,i.root,this.visualElement.getTransformPagePoint());let l=px(i.layout.layoutBox,a);if(n){const u=n(bx(l));this.hasMutatedConstraints=!!u,u&&(l=kp(u))}return l}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:l,onDragTransitionEnd:u}=this.getProps(),c=this.constraints||{},f=An(h=>{if(!ks(h,n,this.currentDirection))return;let p=c&&c[h]||{};l&&(p={min:0,max:0});const m=i?200:1e6,v=i?40:1e7,S={type:"inertia",velocity:r?t[h]:0,bounceStiffness:m,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...a,...p};return this.startAxisValueAnimation(h,S)});return Promise.all(f).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Fc(t,r,0,n))}stopAnimation(){An(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){An(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){An(n=>{const{drag:r}=this.getProps();if(!ks(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:l,max:u}=i.layout.layoutBox[n];a.set(t[n]-_t(l,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Wi(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};An(l=>{const u=this.getAxisMotionValue(l);if(u){const c=u.get();i[l]=gx({min:c,max:c},this.constraints[l])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),An(l=>{if(!ks(l,t,null))return;const u=this.getAxisMotionValue(l),{min:c,max:f}=this.constraints[l];u.set(_t(c,f,i[l]))})}addListeners(){if(!this.visualElement.current)return;Ix.set(this.visualElement,this);const t=this.visualElement.current,n=ur(t,"pointerdown",c=>{const{drag:f,dragListener:h=!0}=this.getProps();f&&h&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();Wi(c)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const l=lr(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f})=>{this.isDragging&&f&&(An(h=>{const p=this.getAxisMotionValue(h);p&&(this.originPoint[h]+=c[h].translate,p.set(p.get()+c[h].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:l=kc,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:l,dragMomentum:u}}}function ks(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Ax(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class _x extends Nr{constructor(t){super(t),this.removeGroupControls=Tt,this.removeListeners=Tt,this.controls=new Ex(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Tt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Jp=e=>(t,n)=>{e&&bt.update(()=>e(t,n))};class Px extends Nr{constructor(){super(...arguments),this.removePointerDownListener=Tt}onPointerDown(t){this.session=new Tp(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Yp(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Jp(t),onStart:Jp(n),onMove:r,onEnd:(a,l)=>{delete this.session,i&&bt.update(()=>i(a,l))}}}mount(){this.removePointerDownListener=ur(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function Tx(){const e=b.useContext(ws);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=b.useId();return b.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Gs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Kp(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const pa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Le.test(e))e=parseFloat(e);else return e;const n=Kp(e,t.target.x),r=Kp(e,t.target.y);return`${n}% ${r}%`}},Mx={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=jr.parse(e);if(i.length>5)return r;const a=jr.createTransformer(e),l=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,c=n.y.scale*t.y;i[0+l]/=u,i[1+l]/=c;const f=_t(u,c,.5);return typeof i[2+l]=="number"&&(i[2+l]/=f),typeof i[3+l]=="number"&&(i[3+l]/=f),a(i)}};class Ox extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;Gy(Fx),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Gs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,l=r.projection;return l&&(l.isPresent=a,i||t.layoutDependency!==n||n===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?l.promote():l.relegate()||bt.postRender(()=>{const u=l.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function qp(e){const[t,n]=Tx(),r=b.useContext(oc);return b.createElement(Ox,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(h0),isPresent:t,safeToRemove:n})}const Fx={borderRadius:{...pa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:pa,borderTopRightRadius:pa,borderBottomLeftRadius:pa,borderBottomRightRadius:pa,boxShadow:Mx},Qp=["TopLeft","TopRight","BottomLeft","BottomRight"],Rx=Qp.length,eg=e=>typeof e=="string"?parseFloat(e):e,tg=e=>typeof e=="number"||Le.test(e);function Vx(e,t,n,r,i,a){i?(e.opacity=_t(0,n.opacity!==void 0?n.opacity:1,Bx(r)),e.opacityExit=_t(t.opacity!==void 0?t.opacity:1,0,$x(r))):a&&(e.opacity=_t(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let l=0;l<Rx;l++){const u=`border${Qp[l]}Radius`;let c=ng(t,u),f=ng(n,u);if(c===void 0&&f===void 0)continue;c||(c=0),f||(f=0),c===0||f===0||tg(c)===tg(f)?(e[u]=Math.max(_t(eg(c),eg(f),r),0),(Un.test(f)||Un.test(c))&&(e[u]+="%")):e[u]=f}(t.rotate||n.rotate)&&(e.rotate=_t(t.rotate||0,n.rotate||0,r))}function ng(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Bx=rg(0,.5,Y0),$x=rg(.5,.95,Tt);function rg(e,t,n){return r=>r<e?0:r>t?1:n(ca(e,t,r))}function ig(e,t){e.min=t.min,e.max=t.max}function _n(e,t){ig(e.x,t.x),ig(e.y,t.y)}function og(e,t,n,r,i){return e-=t,e=js(e,1/n,r),i!==void 0&&(e=js(e,1/i,r)),e}function Dx(e,t=0,n=1,r=.5,i,a=e,l=e){if(Un.test(t)&&(t=parseFloat(t),t=_t(l.min,l.max,t/100)-l.min),typeof t!="number")return;let u=_t(a.min,a.max,r);e===a&&(u-=t),e.min=og(e.min,t,n,u,i),e.max=og(e.max,t,n,u,i)}function ag(e,t,[n,r,i],a,l){Dx(e,t[n],t[r],t[i],t.scale,a,l)}const Nx=["x","scaleX","originX"],Lx=["y","scaleY","originY"];function sg(e,t,n,r){ag(e.x,t,Nx,n?n.x:void 0,r?r.x:void 0),ag(e.y,t,Lx,n?n.y:void 0,r?r.y:void 0)}function lg(e){return e.translate===0&&e.scale===1}function ug(e){return lg(e.x)&&lg(e.y)}function jx(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function cg(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function fg(e){return pn(e.x)/pn(e.y)}class kx{constructor(){this.members=[]}add(t){Rc(this.members,t),t.scheduleRender()}remove(t){if(Vc(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function dg(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y;if((i||a)&&(r=`translate3d(${i}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:c,rotateX:f,rotateY:h}=n;c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `)}const l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(r+=`scale(${l}, ${u})`),r||"none"}const Gx=(e,t)=>e.depth-t.depth;class Hx{constructor(){this.children=[],this.isDirty=!1}add(t){Rc(this.children,t),this.isDirty=!0}remove(t){Vc(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Gx),this.isDirty=!1,this.children.forEach(t)}}function Wx(e,t){const n=performance.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(sr(r),e(a-t))};return bt.read(r,!0),()=>sr(r)}function Xx(e){window.MotionDebug&&window.MotionDebug.record(e)}function zx(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Zx(e,t,n){const r=on(e)?e:zi(e);return r.start(Fc("",r,t,n)),r.animation}const hg=["","X","Y","Z"],Ux={visibility:"hidden"},pg=1e3;let Yx=0;const ci={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function gg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(l={},u=t==null?void 0:t()){this.id=Yx++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ci.totalNodes=ci.resolvedTargetDeltas=ci.recalculatedProjection=0,this.nodes.forEach(qx),this.nodes.forEach(r7),this.nodes.forEach(i7),this.nodes.forEach(Qx),Xx(ci)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new Hx)}addEventListener(l,u){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new Bc),this.eventHandlers.get(l).add(u)}notifyListeners(l,...u){const c=this.eventHandlers.get(l);c&&c.notify(...u)}hasListeners(l){return this.eventHandlers.has(l)}mount(l,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=zx(l),this.instance=l;const{layoutId:c,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(f||c)&&(this.isLayoutDirty=!0),e){let p;const m=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,p&&p(),p=Wx(m,250),Gs.hasAnimatedSinceResize&&(Gs.hasAnimatedSinceResize=!1,this.nodes.forEach(vg))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&h&&(c||f)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:m,hasRelativeTargetChanged:v,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||h.getDefaultTransition()||u7,{onLayoutAnimationStart:E,onLayoutAnimationComplete:A}=h.getProps(),O=!this.targetLayout||!cg(this.targetLayout,S)||v,R=!m&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||R||m&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(p,R);const $={...Oc(x,"layout"),onPlay:E,onComplete:A};(h.shouldReduceMotion||this.options.layoutRoot)&&($.delay=0,$.type=!1),this.startAnimation($)}else m||vg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,sr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(o7),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const p=this.path[h];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:u,layout:c}=this.options;if(u===void 0&&!c)return;const f=this.getTransformTemplate();this.prevTransformTemplateValue=f?f(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(mg);return}this.isUpdating||this.nodes.forEach(t7),this.isUpdating=!1,this.nodes.forEach(n7),this.nodes.forEach(Jx),this.nodes.forEach(Kx),this.clearAllSnapshots();const u=performance.now();Zt.delta=Br(0,1e3/60,u-Zt.timestamp),Zt.timestamp=u,Zt.isProcessing=!0,pc.update.process(Zt),pc.preRender.process(Zt),pc.render.process(Zt),Zt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(e7),this.sharedNodes.forEach(a7)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,bt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){bt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:l,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!ug(this.projectionDelta),c=this.getTransformTemplate(),f=c?c(this.latestValues,""):void 0,h=f!==this.prevTransformTemplateValue;l&&(u||ui(this.latestValues)||h)&&(i(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const u=this.measurePageBox();let c=this.removeElementScroll(u);return l&&(c=this.removeTransform(c)),c7(c),{animationId:this.root.animationId,measuredBox:u,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return Dt();const u=l.measureViewportBox(),{scroll:c}=this.root;return c&&(kr(u.x,c.offset.x),kr(u.y,c.offset.y)),u}removeElementScroll(l){const u=Dt();_n(u,l);for(let c=0;c<this.path.length;c++){const f=this.path[c],{scroll:h,options:p}=f;if(f!==this.root&&h&&p.layoutScroll){if(h.isRoot){_n(u,l);const{scroll:m}=this.root;m&&(kr(u.x,-m.offset.x),kr(u.y,-m.offset.y))}kr(u.x,h.offset.x),kr(u.y,h.offset.y)}}return u}applyTransform(l,u=!1){const c=Dt();_n(c,l);for(let f=0;f<this.path.length;f++){const h=this.path[f];!u&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Ui(c,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),ui(h.latestValues)&&Ui(c,h.latestValues)}return ui(this.latestValues)&&Ui(c,this.latestValues),c}removeTransform(l){const u=Dt();_n(u,l);for(let c=0;c<this.path.length;c++){const f=this.path[c];if(!f.instance||!ui(f.latestValues))continue;Hc(f.latestValues)&&f.updateSnapshot();const h=Dt(),p=f.measurePageBox();_n(h,p),sg(u,f.latestValues,f.snapshot?f.snapshot.layoutBox:void 0,h)}return ui(this.latestValues)&&sg(u,this.latestValues),u}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Zt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var u;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==c;if(!(l||f&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:p,layoutId:m}=this.options;if(!(!this.layout||!(p||m))){if(this.resolvedRelativeTargetAt=Zt.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),ha(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),_n(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Dt(),this.targetWithTransforms=Dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),fx(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):_n(this.target,this.layout.layoutBox),Xp(this.target,this.targetDelta)):_n(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),ha(this.relativeTargetOrigin,this.target,v.target),_n(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ci.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Hc(this.parent.latestValues)||Gp(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var l;const u=this.getLead(),c=!!this.resumingFrom||this!==u;let f=!0;if((this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty)&&(f=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===Zt.timestamp&&(f=!1),f)return;const{layout:h,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||p))return;_n(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;Cx(this.layoutCorrected,this.treeScale,this.path,c),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox);const{target:S}=u;if(!S){this.projectionTransform&&(this.projectionDelta=Zi(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Zi(),this.projectionDeltaWithTransform=Zi());const x=this.projectionTransform;da(this.projectionDelta,this.layoutCorrected,S,this.latestValues),this.projectionTransform=dg(this.projectionDelta,this.treeScale),(this.projectionTransform!==x||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S)),ci.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),l){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(l,u=!1){const c=this.snapshot,f=c?c.latestValues:{},h={...this.latestValues},p=Zi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const m=Dt(),v=c?c.source:void 0,S=this.layout?this.layout.source:void 0,x=v!==S,E=this.getStack(),A=!E||E.members.length<=1,O=!!(x&&!A&&this.options.crossfade===!0&&!this.path.some(l7));this.animationProgress=0;let R;this.mixTargetDelta=$=>{const N=$/1e3;bg(p.x,l.x,N),bg(p.y,l.y,N),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ha(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),s7(this.relativeTarget,this.relativeTargetOrigin,m,N),R&&jx(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=Dt()),_n(R,this.relativeTarget)),x&&(this.animationValues=h,Vx(h,f,this.latestValues,N,O,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=N},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(sr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=bt.update(()=>{Gs.hasAnimatedSinceResize=!0,this.currentAnimation=Zx(0,pg,{...l,onUpdate:u=>{this.mixTargetDelta(u),l.onUpdate&&l.onUpdate(u)},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(pg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:u,target:c,layout:f,latestValues:h}=l;if(!(!u||!c||!f)){if(this!==l&&this.layout&&f&&Sg(this.options.animationType,this.layout.layoutBox,f.layoutBox)){c=this.target||Dt();const p=pn(this.layout.layoutBox.x);c.x.min=l.target.x.min,c.x.max=c.x.min+p;const m=pn(this.layout.layoutBox.y);c.y.min=l.target.y.min,c.y.max=c.y.min+m}_n(u,c),Ui(u,h),da(this.projectionDeltaWithTransform,this.layoutCorrected,u,h)}}registerSharedNode(l,u){this.sharedNodes.has(l)||this.sharedNodes.set(l,new kx),this.sharedNodes.get(l).add(u);const f=u.options.initialPromotionConfig;u.promote({transition:f?f.transition:void 0,preserveFollowOpacity:f&&f.shouldPreserveFollowOpacity?f.shouldPreserveFollowOpacity(u):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:u}=this.options;return u?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:u}=this.options;return u?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:u,preserveFollowOpacity:c}={}){const f=this.getStack();f&&f.promote(this,c),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetRotation(){const{visualElement:l}=this.options;if(!l)return;let u=!1;const{latestValues:c}=l;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(u=!0),!u)return;const f={};for(let h=0;h<hg.length;h++){const p="rotate"+hg[h];c[p]&&(f[p]=c[p],l.setStaticValue(p,0))}l.render();for(const h in f)l.setStaticValue(h,f[h]);l.scheduleRender()}getProjectionStyles(l){var u,c;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Ux;const f={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,f.opacity="",f.pointerEvents=Os(l==null?void 0:l.pointerEvents)||"",f.transform=h?h(this.latestValues,""):"none",f;const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){const x={};return this.options.layoutId&&(x.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,x.pointerEvents=Os(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!ui(this.latestValues)&&(x.transform=h?h({},""):"none",this.hasProjected=!1),x}const m=p.animationValues||p.latestValues;this.applyTransformsToTarget(),f.transform=dg(this.projectionDeltaWithTransform,this.treeScale,m),h&&(f.transform=h(m,f.transform));const{x:v,y:S}=this.projectionDelta;f.transformOrigin=`${v.origin*100}% ${S.origin*100}% 0`,p.animationValues?f.opacity=p===this?(c=(u=m.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:f.opacity=p===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const x in As){if(m[x]===void 0)continue;const{correct:E,applyTo:A}=As[x],O=f.transform==="none"?m[x]:E(m[x],p);if(A){const R=A.length;for(let $=0;$<R;$++)f[A[$]]=O}else f[x]=O}return this.options.layoutId&&(f.pointerEvents=p===this?Os(l==null?void 0:l.pointerEvents)||"":"none"),f}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var u;return(u=l.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(mg),this.root.sharedNodes.clear()}}}function Jx(e){e.updateLayout()}function Kx(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,l=n.source!==e.layout.source;a==="size"?An(p=>{const m=l?n.measuredBox[p]:n.layoutBox[p],v=pn(m);m.min=r[p].min,m.max=m.min+v}):Sg(a,n.layoutBox,r)&&An(p=>{const m=l?n.measuredBox[p]:n.layoutBox[p],v=pn(r[p]);m.max=m.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+v)});const u=Zi();da(u,r,n.layoutBox);const c=Zi();l?da(c,e.applyTransform(i,!0),n.measuredBox):da(c,r,n.layoutBox);const f=!ug(u);let h=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:m,layout:v}=p;if(m&&v){const S=Dt();ha(S,n.layoutBox,m.layoutBox);const x=Dt();ha(x,r,v.layoutBox),cg(S,x)||(h=!0),p.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=S,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function qx(e){ci.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Qx(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function e7(e){e.clearSnapshot()}function mg(e){e.clearMeasurements()}function t7(e){e.isLayoutDirty=!1}function n7(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function vg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function r7(e){e.resolveTargetDelta()}function i7(e){e.calcProjection()}function o7(e){e.resetRotation()}function a7(e){e.removeLeadSnapshot()}function bg(e,t,n){e.translate=_t(t.translate,0,n),e.scale=_t(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function yg(e,t,n,r){e.min=_t(t.min,n.min,r),e.max=_t(t.max,n.max,r)}function s7(e,t,n,r){yg(e.x,t.x,n.x,r),yg(e.y,t.y,n.y,r)}function l7(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const u7={duration:.45,ease:[.4,0,.1,1]},Cg=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),xg=Cg("applewebkit/")&&!Cg("chrome/")?Math.round:Tt;function wg(e){e.min=xg(e.min),e.max=xg(e.max)}function c7(e){wg(e.x),wg(e.y)}function Sg(e,t,n){return e==="position"||e==="preserve-aspect"&&!jc(fg(t),fg(n),.2)}const f7=gg({attachResizeListener:(e,t)=>lr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xc={current:void 0},Ig=gg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xc.current){const e=new f7({});e.mount(window),e.setOptions({layoutScroll:!0}),Xc.current=e}return Xc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),d7={pan:{Feature:Px},drag:{Feature:_x,ProjectionNode:Ig,MeasureLayout:qp}},h7=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function p7(e){const t=h7.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const g7=4;function zc(e,t,n=1){En(n<=g7,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=p7(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const l=a.trim();return Sp(l)?parseFloat(l):l}else return sc(i)?zc(i,t,n+1):i}function m7(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const a=i.get();if(!sc(a))return;const l=zc(a,r);l&&i.set(l)});for(const i in t){const a=t[i];if(!sc(a))continue;const l=zc(a,r);l&&(t[i]=l,n||(n={}),n[i]===void 0&&(n[i]=a))}return{target:t,transitionEnd:n}}const v7=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Eg=e=>v7.has(e),b7=e=>Object.keys(e).some(Eg),Hs=e=>e===ai||e===Le,Ag=(e,t)=>parseFloat(e.split(", ")[t]),_g=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Ag(i[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?Ag(a[1],e):0}},y7=new Set(["x","y","z"]),C7=na.filter(e=>!y7.has(e));function x7(e){const t=[];return C7.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Yi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:_g(4,13),y:_g(5,14)};Yi.translateX=Yi.x,Yi.translateY=Yi.y;const w7=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,a=getComputedStyle(i),{display:l}=a,u={};l==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(f=>{u[f]=Yi[f](r,a)}),t.render();const c=t.measureViewportBox();return n.forEach(f=>{const h=t.getValue(f);h&&h.jump(u[f]),e[f]=Yi[f](c,a)}),e},S7=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Eg);let a=[],l=!1;const u=[];if(i.forEach(c=>{const f=e.getValue(c);if(!e.hasValue(c))return;let h=n[c],p=fa(h);const m=t[c];let v;if(Ms(m)){const S=m.length,x=m[0]===null?1:0;h=m[x],p=fa(h);for(let E=x;E<S&&m[E]!==null;E++)v?En(fa(m[E])===v,"All keyframes must be of the same type"):(v=fa(m[E]),En(v===p||Hs(p)&&Hs(v),"Keyframes must be of the same dimension as the current value"))}else v=fa(m);if(p!==v)if(Hs(p)&&Hs(v)){const S=f.get();typeof S=="string"&&f.set(parseFloat(S)),typeof m=="string"?t[c]=parseFloat(m):Array.isArray(m)&&v===Le&&(t[c]=m.map(parseFloat))}else p!=null&&p.transform&&(v!=null&&v.transform)&&(h===0||m===0)?h===0?f.set(v.transform(h)):t[c]=p.transform(m):(l||(a=x7(e),l=!0),u.push(c),r[c]=r[c]!==void 0?r[c]:t[c],f.jump(m))}),u.length){const c=u.indexOf("height")>=0?window.pageYOffset:null,f=w7(t,e,u);return a.length&&a.forEach(([h,p])=>{e.getValue(h).set(p)}),e.render(),Ss&&c!==null&&window.scrollTo({top:c}),{target:f,transitionEnd:r}}else return{target:t,transitionEnd:r}};function I7(e,t,n,r){return b7(t)?S7(e,t,n,r):{target:t,transitionEnd:r}}const E7=(e,t,n,r)=>{const i=m7(e,t,r);return t=i.target,r=i.transitionEnd,I7(e,t,n,r)},Zc={current:null},Pg={current:!1};function A7(){if(Pg.current=!0,!!Ss)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Zc.current=e.matches;e.addListener(t),t()}else Zc.current=!1}function _7(e,t,n){const{willChange:r}=t;for(const i in t){const a=t[i],l=n[i];if(on(a))e.addValue(i,a),Ls(r)&&r.add(i),process.env.NODE_ENV==="development"&&$c(a.version==="10.18.0",`Attempting to mix Framer Motion versions ${a.version} with 10.18.0 may not work as expected.`);else if(on(l))e.addValue(i,zi(a,{owner:e})),Ls(r)&&r.remove(i);else if(l!==a)if(e.hasValue(i)){const u=e.getValue(i);!u.hasAnimated&&u.set(a)}else{const u=e.getStaticValue(i);e.addValue(i,zi(u!==void 0?u:a,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Tg=new WeakMap,Mg=Object.keys(ta),P7=Mg.length,Og=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],T7=ic.length;class M7{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>bt.render(this.render,!1,!0);const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.isControllingVariants=Es(n),this.isVariantNode=c0(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{});for(const p in h){const m=h[p];u[p]!==void 0&&on(m)&&(m.set(u[p],!1),Ls(f)&&f.add(p))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Tg.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Pg.current||A7(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Zc.current,process.env.NODE_ENV!=="production"&&$c(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Tg.delete(this.current),this.projection&&this.projection.unmount(),sr(this.notifyUpdate),sr(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=oi.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&bt.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,a){let l,u;if(process.env.NODE_ENV!=="production"&&i&&r){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?sa(!1,c):En(!1,c)}for(let c=0;c<P7;c++){const f=Mg[c],{isEnabled:h,Feature:p,ProjectionNode:m,MeasureLayout:v}=ta[f];m&&(l=m),h(n)&&(!this.features[f]&&p&&(this.features[f]=new p(this)),v&&(u=v))}if((this.type==="html"||this.type==="svg")&&!this.projection&&l){this.projection=new l(this.latestValues,this.parent&&this.parent.projection);const{layoutId:c,layout:f,drag:h,dragConstraints:p,layoutScroll:m,layoutRoot:v}=n;this.projection.setOptions({layoutId:c,layout:f,alwaysMeasureLayout:!!h||p&&Wi(p),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof f=="string"?f:"both",initialPromotionConfig:a,layoutScroll:m,layoutRoot:v})}return u}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Og.length;r++){const i=Og[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a=t["on"+i];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=_7(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<T7;r++){const i=ic[r],a=this.props[i];(ea(a)||a===!1)&&(n[i]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=zi(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=hc(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!on(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Bc),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Fg extends M7{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},a){let l=zC(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),l&&(l=i(l))),a){WC(this,r,l);const u=E7(this,r,l,n);n=u.transitionEnd,r=u.target}return{transition:t,transitionEnd:n,...r}}}function O7(e){return window.getComputedStyle(e)}class F7 extends Fg{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(oi.has(n)){const r=Mc(n);return r&&r.default||0}else{const r=O7(t),i=(m0(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Up(t,n)}build(t,n,r,i){lc(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return dc(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;on(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){E0(t,n,r,i)}}class R7 extends Fg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(oi.has(n)){const r=Mc(n);return r&&r.default||0}return n=A0.has(n)?n:nc(n),t.getAttribute(n)}measureInstanceViewportBox(){return Dt()}scrapeMotionValuesFromProps(t,n){return P0(t,n)}build(t,n,r,i){cc(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){_0(t,n,r,i)}mount(t){this.isSVGTag=fc(t.tagName),super.mount(t)}}const V7=(e,t)=>ac(e)?new R7(t,{enableHardwareAcceleration:!1}):new F7(t,{enableHardwareAcceleration:!0}),B7={...sx,...O6,...d7,...{layout:{ProjectionNode:Ig,MeasureLayout:qp}}},ga=jy((e,t)=>b6(e,t,B7,V7));function Rg(){const e=b.useRef(!1);return tc(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function $7(){const e=Rg(),[t,n]=b.useState(0),r=b.useCallback(()=>{e.current&&n(t+1)},[t]);return[b.useCallback(()=>bt.postRender(r),[r]),t]}class D7 extends ae.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function N7({children:e,isPresent:t}){const n=b.useId(),r=b.useRef(null),i=b.useRef({width:0,height:0,top:0,left:0});return b.useInsertionEffect(()=>{const{width:a,height:l,top:u,left:c}=i.current;if(t||!r.current||!a||!l)return;r.current.dataset.motionPopId=n;const f=document.createElement("style");return document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`
|
|
63
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",l=0;l<arguments.length;l++){var u=arguments[l];u&&(a=i(a,r(u)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var l="";for(var u in a)t.call(a,u)&&a[u]&&(l=i(l,u));return l}function i(a,l){return l?a?a+" "+l:a+l:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(s0);var Fy=s0.exports;const Ke=Yu(Fy);function l0({size:e="md",...t}){return w.jsx("div",{className:`${Ke("bg-brand-primary rounded-full flex items-center justify-center",{"h-8 w-8":e==="sm","h-12 w-12":e==="md","h-16 w-16":e==="lg"})}`,...t,children:w.jsx(q4,{className:Ke("text-brand-background",{"h-4 w-4":e==="sm","h-6 w-6":e==="md","h-8 w-8":e==="lg"})})})}const u0=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),xs=b.createContext({}),ws=b.createContext(null),Ss=typeof document<"u",tc=Ss?b.useLayoutEffect:b.useEffect,c0=b.createContext({strict:!1}),nc=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),f0="data-"+nc("framerAppearId");function Ry(e,t,n,r){const{visualElement:i}=b.useContext(xs),a=b.useContext(c0),l=b.useContext(ws),u=b.useContext(u0).reducedMotion,c=b.useRef();r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const f=c.current;b.useInsertionEffect(()=>{f&&f.update(n,l)});const h=b.useRef(!!(n[f0]&&!window.HandoffComplete));return tc(()=>{f&&(f.render(),h.current&&f.animationState&&f.animationState.animateChanges())}),b.useEffect(()=>{f&&(f.updateFeatures(),!h.current&&f.animationState&&f.animationState.animateChanges(),h.current&&(h.current=!1,window.HandoffComplete=!0))}),f}function Wi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Vy(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Wi(n)&&(n.current=r))},[t])}function ea(e){return typeof e=="string"||Array.isArray(e)}function Is(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const rc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ic=["initial",...rc];function Es(e){return Is(e.animate)||ic.some(t=>ea(e[t]))}function d0(e){return!!(Es(e)||e.variants)}function By(e,t){if(Es(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ea(n)?n:void 0,animate:ea(r)?r:void 0}}return e.inherit!==!1?t:{}}function $y(e){const{initial:t,animate:n}=By(e,b.useContext(xs));return b.useMemo(()=>({initial:t,animate:n}),[h0(t),h0(n)])}function h0(e){return Array.isArray(e)?e.join(" "):e}const p0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ta={};for(const e in p0)ta[e]={isEnabled:t=>p0[e].some(n=>!!t[n])};function Dy(e){for(const t in e)ta[t]={...ta[t],...e[t]}}const oc=b.createContext({}),g0=b.createContext({}),Ly=Symbol.for("motionComponentSymbol");function Ny({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&Dy(e);function a(u,c){let f;const h={...b.useContext(u0),...u,layoutId:jy(u)},{isStatic:p}=h,m=$y(u),v=r(u,p);if(!p&&Ss){m.visualElement=Ry(i,v,h,t);const I=b.useContext(g0),x=b.useContext(c0).strict;m.visualElement&&(f=m.visualElement.loadFeatures(h,x,e,I))}return ae.createElement(xs.Provider,{value:m},f&&m.visualElement?ae.createElement(f,{visualElement:m.visualElement,...h}):null,n(i,u,Vy(v,m.visualElement,c),v,p,m.visualElement))}const l=b.forwardRef(a);return l[Ly]=i,l}function jy({layoutId:e}){const t=b.useContext(oc).id;return t&&e!==void 0?t+"-"+e:e}function ky(e){function t(r,i={}){return Ny(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Gy=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ac(e){return typeof e!="string"||e.includes("-")?!1:!!(Gy.indexOf(e)>-1||/[A-Z]/.test(e))}const As={};function Hy(e){Object.assign(As,e)}const na=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],oi=new Set(na);function m0(e,{layout:t,layoutId:n}){return oi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!As[e]||e==="opacity")}const on=e=>!!(e&&e.getVelocity),Wy={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Xy=na.length;function zy(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let a="";for(let l=0;l<Xy;l++){const u=na[l];if(e[u]!==void 0){const c=Wy[u]||u;a+=`${c}(${e[u]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),i?a=i(e,r?"":a):n&&r&&(a="none"),a}const v0=e=>t=>typeof t=="string"&&t.startsWith(e),b0=v0("--"),sc=v0("var(--"),Zy=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Uy=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Br=(e,t,n)=>Math.min(Math.max(n,e),t),ai={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ra={...ai,transform:e=>Br(0,1,e)},_s={...ai,default:1},ia=e=>Math.round(e*1e5)/1e5,Ps=/(-)?([\d]*\.?[\d])+/g,y0=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Yy=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function oa(e){return typeof e=="string"}const aa=e=>({test:t=>oa(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$r=aa("deg"),Un=aa("%"),Ne=aa("px"),Jy=aa("vh"),Ky=aa("vw"),C0={...Un,parse:e=>Un.parse(e)/100,transform:e=>Un.transform(e*100)},x0={...ai,transform:Math.round},w0={borderWidth:Ne,borderTopWidth:Ne,borderRightWidth:Ne,borderBottomWidth:Ne,borderLeftWidth:Ne,borderRadius:Ne,radius:Ne,borderTopLeftRadius:Ne,borderTopRightRadius:Ne,borderBottomRightRadius:Ne,borderBottomLeftRadius:Ne,width:Ne,maxWidth:Ne,height:Ne,maxHeight:Ne,size:Ne,top:Ne,right:Ne,bottom:Ne,left:Ne,padding:Ne,paddingTop:Ne,paddingRight:Ne,paddingBottom:Ne,paddingLeft:Ne,margin:Ne,marginTop:Ne,marginRight:Ne,marginBottom:Ne,marginLeft:Ne,rotate:$r,rotateX:$r,rotateY:$r,rotateZ:$r,scale:_s,scaleX:_s,scaleY:_s,scaleZ:_s,skew:$r,skewX:$r,skewY:$r,distance:Ne,translateX:Ne,translateY:Ne,translateZ:Ne,x:Ne,y:Ne,z:Ne,perspective:Ne,transformPerspective:Ne,opacity:ra,originX:C0,originY:C0,originZ:Ne,zIndex:x0,fillOpacity:ra,strokeOpacity:ra,numOctaves:x0};function lc(e,t,n,r){const{style:i,vars:a,transform:l,transformOrigin:u}=e;let c=!1,f=!1,h=!0;for(const p in t){const m=t[p];if(b0(p)){a[p]=m;continue}const v=w0[p],I=Uy(m,v);if(oi.has(p)){if(c=!0,l[p]=I,!h)continue;m!==(v.default||0)&&(h=!1)}else p.startsWith("origin")?(f=!0,u[p]=I):i[p]=I}if(t.transform||(c||r?i.transform=zy(e.transform,n,h,r):i.transform&&(i.transform="none")),f){const{originX:p="50%",originY:m="50%",originZ:v=0}=u;i.transformOrigin=`${p} ${m} ${v}`}}const uc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function S0(e,t,n){for(const r in t)!on(t[r])&&!m0(r,n)&&(e[r]=t[r])}function qy({transformTemplate:e},t,n){return b.useMemo(()=>{const r=uc();return lc(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function Qy(e,t,n){const r=e.style||{},i={};return S0(i,r,e),Object.assign(i,qy(e,t,n)),e.transformValues?e.transformValues(i):i}function e6(e,t,n){const r={},i=Qy(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const t6=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Ts(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||t6.has(e)}let I0=e=>!Ts(e);function n6(e){e&&(I0=t=>t.startsWith("on")?!Ts(t):e(t))}try{n6(require("@emotion/is-prop-valid").default)}catch{}function r6(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(I0(i)||n===!0&&Ts(i)||!t&&!Ts(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function E0(e,t,n){return typeof e=="string"?e:Ne.transform(t+n*e)}function i6(e,t,n){const r=E0(t,e.x,e.width),i=E0(n,e.y,e.height);return`${r} ${i}`}const o6={offset:"stroke-dashoffset",array:"stroke-dasharray"},a6={offset:"strokeDashoffset",array:"strokeDasharray"};function s6(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?o6:a6;e[a.offset]=Ne.transform(-r);const l=Ne.transform(t),u=Ne.transform(n);e[a.array]=`${l} ${u}`}function cc(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...f},h,p,m){if(lc(e,f,h,m),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:I,dimensions:x}=e;v.transform&&(x&&(I.transform=v.transform),delete v.transform),x&&(i!==void 0||a!==void 0||I.transform)&&(I.transformOrigin=i6(x,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),l!==void 0&&s6(v,l,u,c,!1)}const A0=()=>({...uc(),attrs:{}}),fc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function l6(e,t,n,r){const i=b.useMemo(()=>{const a=A0();return cc(a,t,{enableHardwareAcceleration:!1},fc(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};S0(a,e.style,e),i.style={...a,...i.style}}return i}function u6(e=!1){return(n,r,i,{latestValues:a},l)=>{const c=(ac(n)?l6:e6)(r,a,l,n),h={...r6(r,typeof n=="string",e),...c,ref:i},{children:p}=r,m=b.useMemo(()=>on(p)?p.get():p,[p]);return b.createElement(n,{...h,children:m})}}function _0(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const P0=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function T0(e,t,n,r){_0(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(P0.has(i)?i:nc(i),t.attrs[i])}function dc(e,t){const{style:n}=e,r={};for(const i in n)(on(n[i])||t.style&&on(t.style[i])||m0(i,e))&&(r[i]=n[i]);return r}function M0(e,t){const n=dc(e,t);for(const r in e)if(on(e[r])||on(t[r])){const i=na.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function hc(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function O0(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ms=e=>Array.isArray(e),c6=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),f6=e=>Ms(e)?e[e.length-1]||0:e;function Os(e){const t=on(e)?e.get():e;return c6(t)?t.toValue():t}function d6({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const l={latestValues:h6(r,i,a,e),renderState:t()};return n&&(l.mount=u=>n(r,u,l)),l}const F0=e=>(t,n)=>{const r=b.useContext(xs),i=b.useContext(ws),a=()=>d6(e,t,r,i);return n?a():O0(a)};function h6(e,t,n,r){const i={},a=r(e,{});for(const m in a)i[m]=Os(a[m]);let{initial:l,animate:u}=e;const c=Es(e),f=d0(e);t&&f&&!c&&e.inherit!==!1&&(l===void 0&&(l=t.initial),u===void 0&&(u=t.animate));let h=n?n.initial===!1:!1;h=h||l===!1;const p=h?u:l;return p&&typeof p!="boolean"&&!Is(p)&&(Array.isArray(p)?p:[p]).forEach(v=>{const I=hc(e,v);if(!I)return;const{transitionEnd:x,transition:E,..._}=I;for(const F in _){let M=_[F];if(Array.isArray(M)){const $=h?M.length-1:0;M=M[$]}M!==null&&(i[F]=M)}for(const F in x)i[F]=x[F]}),i}const Tt=e=>e;class R0{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function p6(e){let t=new R0,n=new R0,r=0,i=!1,a=!1;const l=new WeakSet,u={schedule:(c,f=!1,h=!1)=>{const p=h&&i,m=p?t:n;return f&&l.add(c),m.add(c)&&p&&i&&(r=t.order.length),c},cancel:c=>{n.remove(c),l.delete(c)},process:c=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let f=0;f<r;f++){const h=t.order[f];h(c),l.has(h)&&(u.schedule(h),e())}i=!1,a&&(a=!1,u.process(c))}};return u}const Fs=["prepare","read","update","preRender","render","postRender"],g6=40;function m6(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=Fs.reduce((p,m)=>(p[m]=p6(()=>n=!0),p),{}),l=p=>a[p].process(i),u=()=>{const p=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,g6),1),i.timestamp=p,i.isProcessing=!0,Fs.forEach(l),i.isProcessing=!1,n&&t&&(r=!1,e(u))},c=()=>{n=!0,r=!0,i.isProcessing||e(u)};return{schedule:Fs.reduce((p,m)=>{const v=a[m];return p[m]=(I,x=!1,E=!1)=>(n||c(),v.schedule(I,x,E)),p},{}),cancel:p=>Fs.forEach(m=>a[m].cancel(p)),state:i,steps:a}}const{schedule:bt,cancel:sr,state:Zt,steps:pc}=m6(typeof requestAnimationFrame<"u"?requestAnimationFrame:Tt,!0),v6={useVisualState:F0({scrapeMotionValuesFromProps:M0,createRenderState:A0,onMount:(e,t,{renderState:n,latestValues:r})=>{bt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),bt.render(()=>{cc(n,r,{enableHardwareAcceleration:!1},fc(t.tagName),e.transformTemplate),T0(t,n)})}})},b6={useVisualState:F0({scrapeMotionValuesFromProps:dc,createRenderState:uc})};function y6(e,{forwardMotionProps:t=!1},n,r){return{...ac(e)?v6:b6,preloadedFeatures:n,useRender:u6(t),createVisualElement:r,Component:e}}function lr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const V0=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Rs(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const C6=e=>t=>V0(t)&&e(t,Rs(t));function ur(e,t,n,r){return lr(e,t,C6(n),r)}const x6=(e,t)=>n=>t(e(n)),Dr=(...e)=>e.reduce(x6);function B0(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const $0=B0("dragHorizontal"),D0=B0("dragVertical");function L0(e){let t=!1;if(e==="y")t=D0();else if(e==="x")t=$0();else{const n=$0(),r=D0();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function N0(){const e=L0(!0);return e?(e(),!1):!0}class Lr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function j0(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(a,l)=>{if(a.pointerType==="touch"||N0())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t),u[r]&&bt.update(()=>u[r](a,l))};return ur(e.current,n,i,{passive:!e.getProps()[r]})}class w6 extends Lr{mount(){this.unmount=Dr(j0(this.node,!0),j0(this.node,!1))}unmount(){}}class S6 extends Lr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Dr(lr(this.node.current,"focus",()=>this.onFocus()),lr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const k0=(e,t)=>t?e===t?!0:k0(e,t.parentElement):!1;function gc(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Rs(n))}class I6 extends Lr{constructor(){super(...arguments),this.removeStartListeners=Tt,this.removeEndListeners=Tt,this.removeAccessibleListeners=Tt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),a=ur(window,"pointerup",(u,c)=>{if(!this.checkPressEnd())return;const{onTap:f,onTapCancel:h,globalTapTarget:p}=this.node.getProps();bt.update(()=>{!p&&!k0(this.node.current,u.target)?h&&h(u,c):f&&f(u,c)})},{passive:!(r.onTap||r.onPointerUp)}),l=ur(window,"pointercancel",(u,c)=>this.cancelPress(u,c),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Dr(a,l),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const l=u=>{u.key!=="Enter"||!this.checkPressEnd()||gc("up",(c,f)=>{const{onTap:h}=this.node.getProps();h&&bt.update(()=>h(c,f))})};this.removeEndListeners(),this.removeEndListeners=lr(this.node.current,"keyup",l),gc("down",(u,c)=>{this.startPress(u,c)})},n=lr(this.node.current,"keydown",t),r=()=>{this.isPressing&&gc("cancel",(a,l)=>this.cancelPress(a,l))},i=lr(this.node.current,"blur",r);this.removeAccessibleListeners=Dr(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&bt.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!N0()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&bt.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=ur(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=lr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Dr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const mc=new WeakMap,vc=new WeakMap,E6=e=>{const t=mc.get(e.target);t&&t(e)},A6=e=>{e.forEach(E6)};function _6({root:e,...t}){const n=e||document;vc.has(n)||vc.set(n,{});const r=vc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(A6,{root:e,...t})),r[i]}function P6(e,t,n){const r=_6(t);return mc.set(e,n),r.observe(e),()=>{mc.delete(e),r.unobserve(e)}}const T6={some:0,all:1};class M6 extends Lr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:T6[i]},u=c=>{const{isIntersecting:f}=c;if(this.isInView===f||(this.isInView=f,a&&!f&&this.hasEnteredView))return;f&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",f);const{onViewportEnter:h,onViewportLeave:p}=this.node.getProps(),m=f?h:p;m&&m(c)};return P6(this.node.current,l,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(O6(t,n))&&this.startObserver()}unmount(){}}function O6({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const F6={inView:{Feature:M6},tap:{Feature:I6},focus:{Feature:S6},hover:{Feature:w6}};function G0(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function R6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function V6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Vs(e,t,n){const r=e.getProps();return hc(r,t,n!==void 0?n:r.custom,R6(e),V6(e))}let sa=Tt,En=Tt;process.env.NODE_ENV!=="production"&&(sa=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},En=(e,t)=>{if(!e)throw new Error(t)});const Nr=e=>e*1e3,cr=e=>e/1e3,B6={current:!1},H0=e=>Array.isArray(e)&&typeof e[0]=="number";function W0(e){return!!(!e||typeof e=="string"&&X0[e]||H0(e)||Array.isArray(e)&&e.every(W0))}const la=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,X0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:la([0,.65,.55,1]),circOut:la([.55,0,1,.45]),backIn:la([.31,.01,.66,-.59]),backOut:la([.33,1.53,.69,.99])};function z0(e){if(e)return H0(e)?la(e):Array.isArray(e)?e.map(z0):X0[e]}function $6(e,t,n,{delay:r=0,duration:i,repeat:a=0,repeatType:l="loop",ease:u,times:c}={}){const f={[t]:n};c&&(f.offset=c);const h=z0(u);return Array.isArray(h)&&(f.easing=h),e.animate(f,{delay:r,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:a+1,direction:l==="reverse"?"alternate":"normal"})}function D6(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const Z0=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,L6=1e-7,N6=12;function j6(e,t,n,r,i){let a,l,u=0;do l=t+(n-t)/2,a=Z0(l,r,i)-e,a>0?n=l:t=l;while(Math.abs(a)>L6&&++u<N6);return l}function ua(e,t,n,r){if(e===t&&n===r)return Tt;const i=a=>j6(a,0,1,e,n);return a=>a===0||a===1?a:Z0(i(a),t,r)}const k6=ua(.42,0,1,1),G6=ua(0,0,.58,1),U0=ua(.42,0,.58,1),H6=e=>Array.isArray(e)&&typeof e[0]!="number",Y0=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,J0=e=>t=>1-e(1-t),bc=e=>1-Math.sin(Math.acos(e)),K0=J0(bc),W6=Y0(bc),q0=ua(.33,1.53,.69,.99),yc=J0(q0),X6=Y0(yc),Q0={linear:Tt,easeIn:k6,easeInOut:U0,easeOut:G6,circIn:bc,circInOut:W6,circOut:K0,backIn:yc,backInOut:X6,backOut:q0,anticipate:e=>(e*=2)<1?.5*yc(e):.5*(2-Math.pow(2,-10*(e-1)))},ep=e=>{if(Array.isArray(e)){En(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return ua(t,n,r,i)}else if(typeof e=="string")return En(Q0[e]!==void 0,`Invalid easing type '${e}'`),Q0[e];return e},Cc=(e,t)=>n=>!!(oa(n)&&Yy.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),tp=(e,t,n)=>r=>{if(!oa(r))return r;const[i,a,l,u]=r.match(Ps);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(l),alpha:u!==void 0?parseFloat(u):1}},z6=e=>Br(0,255,e),xc={...ai,transform:e=>Math.round(z6(e))},si={test:Cc("rgb","red"),parse:tp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+xc.transform(e)+", "+xc.transform(t)+", "+xc.transform(n)+", "+ia(ra.transform(r))+")"};function Z6(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const wc={test:Cc("#"),parse:Z6,transform:si.transform},Xi={test:Cc("hsl","hue"),parse:tp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Un.transform(ia(t))+", "+Un.transform(ia(n))+", "+ia(ra.transform(r))+")"},Qt={test:e=>si.test(e)||wc.test(e)||Xi.test(e),parse:e=>si.test(e)?si.parse(e):Xi.test(e)?Xi.parse(e):wc.parse(e),transform:e=>oa(e)?e:e.hasOwnProperty("red")?si.transform(e):Xi.transform(e)},_t=(e,t,n)=>-n*e+n*t+e;function Sc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function U6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,l=0;if(!t)i=a=l=n;else{const u=n<.5?n*(1+t):n+t-n*t,c=2*n-u;i=Sc(c,u,e+1/3),a=Sc(c,u,e),l=Sc(c,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(l*255),alpha:r}}const Ic=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Y6=[wc,si,Xi],J6=e=>Y6.find(t=>t.test(e));function np(e){const t=J6(e);En(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Xi&&(n=U6(n)),n}const rp=(e,t)=>{const n=np(e),r=np(t),i={...n};return a=>(i.red=Ic(n.red,r.red,a),i.green=Ic(n.green,r.green,a),i.blue=Ic(n.blue,r.blue,a),i.alpha=_t(n.alpha,r.alpha,a),si.transform(i))};function K6(e){var t,n;return isNaN(e)&&oa(e)&&(((t=e.match(Ps))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(y0))===null||n===void 0?void 0:n.length)||0)>0}const ip={regex:Zy,countKey:"Vars",token:"${v}",parse:Tt},op={regex:y0,countKey:"Colors",token:"${c}",parse:Qt.parse},ap={regex:Ps,countKey:"Numbers",token:"${n}",parse:ai.parse};function Ec(e,{regex:t,countKey:n,token:r,parse:i}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(i)))}function Bs(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ec(n,ip),Ec(n,op),Ec(n,ap),n}function sp(e){return Bs(e).values}function lp(e){const{values:t,numColors:n,numVars:r,tokenised:i}=Bs(e),a=t.length;return l=>{let u=i;for(let c=0;c<a;c++)c<r?u=u.replace(ip.token,l[c]):c<r+n?u=u.replace(op.token,Qt.transform(l[c])):u=u.replace(ap.token,ia(l[c]));return u}}const q6=e=>typeof e=="number"?0:e;function Q6(e){const t=sp(e);return lp(e)(t.map(q6))}const jr={test:K6,parse:sp,createTransformer:lp,getAnimatableNone:Q6},up=(e,t)=>n=>`${n>0?t:e}`;function cp(e,t){return typeof e=="number"?n=>_t(e,t,n):Qt.test(e)?rp(e,t):e.startsWith("var(")?up(e,t):dp(e,t)}const fp=(e,t)=>{const n=[...e],r=n.length,i=e.map((a,l)=>cp(a,t[l]));return a=>{for(let l=0;l<r;l++)n[l]=i[l](a);return n}},eC=(e,t)=>{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=cp(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}},dp=(e,t)=>{const n=jr.createTransformer(t),r=Bs(e),i=Bs(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Dr(fp(r.values,i.values),n):(sa(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),up(e,t))},ca=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},hp=(e,t)=>n=>_t(e,t,n);function tC(e){return typeof e=="number"?hp:typeof e=="string"?Qt.test(e)?rp:dp:Array.isArray(e)?fp:typeof e=="object"?eC:hp}function nC(e,t,n){const r=[],i=n||tC(e[0]),a=e.length-1;for(let l=0;l<a;l++){let u=i(e[l],e[l+1]);if(t){const c=Array.isArray(t)?t[l]||Tt:t;u=Dr(c,u)}r.push(u)}return r}function pp(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(En(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=nC(t,r,i),u=l.length,c=f=>{let h=0;if(u>1)for(;h<e.length-2&&!(f<e[h+1]);h++);const p=ca(e[h],e[h+1],f);return l[h](p)};return n?f=>c(Br(e[0],e[a-1],f)):c}function rC(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ca(0,t,r);e.push(_t(n,1,i))}}function iC(e){const t=[0];return rC(t,e.length-1),t}function oC(e,t){return e.map(n=>n*t)}function aC(e,t){return e.map(()=>t||U0).splice(0,e.length-1)}function $s({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=H6(r)?r.map(ep):ep(r),a={done:!1,value:t[0]},l=oC(n&&n.length===t.length?n:iC(t),e),u=pp(l,t,{ease:Array.isArray(i)?i:aC(t,i)});return{calculatedDuration:e,next:c=>(a.value=u(c),a.done=c>=e,a)}}function gp(e,t){return t?e*(1e3/t):0}const sC=5;function mp(e,t,n){const r=Math.max(t-sC,0);return gp(n-e(r),t-r)}const Ac=.001,lC=.01,vp=10,uC=.05,cC=1;function fC({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a;sa(e<=Nr(vp),"Spring duration must be 10 seconds or less");let l=1-t;l=Br(uC,cC,l),e=Br(lC,vp,cr(e)),l<1?(i=f=>{const h=f*l,p=h*e,m=h-n,v=_c(f,l),I=Math.exp(-p);return Ac-m/v*I},a=f=>{const p=f*l*e,m=p*n+n,v=Math.pow(l,2)*Math.pow(f,2)*e,I=Math.exp(-p),x=_c(Math.pow(f,2),l);return(-i(f)+Ac>0?-1:1)*((m-v)*I)/x}):(i=f=>{const h=Math.exp(-f*e),p=(f-n)*e+1;return-Ac+h*p},a=f=>{const h=Math.exp(-f*e),p=(n-f)*(e*e);return h*p});const u=5/e,c=hC(i,a,u);if(e=Nr(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const f=Math.pow(c,2)*r;return{stiffness:f,damping:l*2*Math.sqrt(r*f),duration:e}}}const dC=12;function hC(e,t,n){let r=n;for(let i=1;i<dC;i++)r=r-e(r)/t(r);return r}function _c(e,t){return e*Math.sqrt(1-t*t)}const pC=["duration","bounce"],gC=["stiffness","damping","mass"];function bp(e,t){return t.some(n=>e[n]!==void 0)}function mC(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!bp(e,gC)&&bp(e,pC)){const n=fC(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function yp({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],a=e[e.length-1],l={done:!1,value:i},{stiffness:u,damping:c,mass:f,duration:h,velocity:p,isResolvedFromDuration:m}=mC({...r,velocity:-cr(r.velocity||0)}),v=p||0,I=c/(2*Math.sqrt(u*f)),x=a-i,E=cr(Math.sqrt(u/f)),_=Math.abs(x)<5;n||(n=_?.01:2),t||(t=_?.005:.5);let F;if(I<1){const M=_c(E,I);F=$=>{const D=Math.exp(-I*E*$);return a-D*((v+I*E*x)/M*Math.sin(M*$)+x*Math.cos(M*$))}}else if(I===1)F=M=>a-Math.exp(-E*M)*(x+(v+E*x)*M);else{const M=E*Math.sqrt(I*I-1);F=$=>{const D=Math.exp(-I*E*$),H=Math.min(M*$,300);return a-D*((v+I*E*x)*Math.sinh(H)+M*x*Math.cosh(H))/M}}return{calculatedDuration:m&&h||null,next:M=>{const $=F(M);if(m)l.done=M>=h;else{let D=v;M!==0&&(I<1?D=mp(F,M,$):D=0);const H=Math.abs(D)<=n,z=Math.abs(a-$)<=t;l.done=H&&z}return l.value=l.done?a:$,l}}}function Cp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:c,restDelta:f=.5,restSpeed:h}){const p=e[0],m={done:!1,value:p},v=U=>u!==void 0&&U<u||c!==void 0&&U>c,I=U=>u===void 0?c:c===void 0||Math.abs(u-U)<Math.abs(c-U)?u:c;let x=n*t;const E=p+x,_=l===void 0?E:l(E);_!==E&&(x=_-p);const F=U=>-x*Math.exp(-U/r),M=U=>_+F(U),$=U=>{const se=F(U),Ae=M(U);m.done=Math.abs(se)<=f,m.value=m.done?_:Ae};let D,H;const z=U=>{v(m.value)&&(D=U,H=yp({keyframes:[m.value,I(m.value)],velocity:mp(M,U,m.value),damping:i,stiffness:a,restDelta:f,restSpeed:h}))};return z(0),{calculatedDuration:null,next:U=>{let se=!1;return!H&&D===void 0&&(se=!0,$(U),z(U)),D!==void 0&&U>D?H.next(U-D):(!se&&$(U),m)}}}const vC=e=>{const t=({timestamp:n})=>e(n);return{start:()=>bt.update(t,!0),stop:()=>sr(t),now:()=>Zt.isProcessing?Zt.timestamp:performance.now()}},xp=2e4;function wp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<xp;)t+=n,r=e.next(t);return t>=xp?1/0:t}const bC={decay:Cp,inertia:Cp,tween:$s,keyframes:$s,spring:yp};function Ds({autoplay:e=!0,delay:t=0,driver:n=vC,keyframes:r,type:i="keyframes",repeat:a=0,repeatDelay:l=0,repeatType:u="loop",onPlay:c,onStop:f,onComplete:h,onUpdate:p,...m}){let v=1,I=!1,x,E;const _=()=>{E=new Promise(V=>{x=V})};_();let F;const M=bC[i]||$s;let $;M!==$s&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&En(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),$=pp([0,100],r,{clamp:!1}),r=[0,100]);const D=M({...m,keyframes:r});let H;u==="mirror"&&(H=M({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let z="idle",U=null,se=null,Ae=null;D.calculatedDuration===null&&a&&(D.calculatedDuration=wp(D));const{calculatedDuration:Xe}=D;let Ge=1/0,pe=1/0;Xe!==null&&(Ge=Xe+l,pe=Ge*(a+1)-l);let Se=0;const Te=V=>{if(se===null)return;v>0&&(se=Math.min(se,V)),v<0&&(se=Math.min(V-pe/v,se)),U!==null?Se=U:Se=Math.round(V-se)*v;const R=Se-t*(v>=0?1:-1),y=v>=0?R<0:R>pe;Se=Math.max(R,0),z==="finished"&&U===null&&(Se=pe);let k=Se,ee=D;if(a){const re=Math.min(Se,pe)/Ge;let ie=Math.floor(re),ue=re%1;!ue&&re>=1&&(ue=1),ue===1&&ie--,ie=Math.min(ie,a+1),!!(ie%2)&&(u==="reverse"?(ue=1-ue,l&&(ue-=l/Ge)):u==="mirror"&&(ee=H)),k=Br(0,1,ue)*Ge}const oe=y?{done:!1,value:r[0]}:ee.next(k);$&&(oe.value=$(oe.value));let{done:Z}=oe;!y&&Xe!==null&&(Z=v>=0?Se>=pe:Se<=0);const J=U===null&&(z==="finished"||z==="running"&&Z);return p&&p(oe.value),J&&ze(),oe},be=()=>{F&&F.stop(),F=void 0},Ve=()=>{z="idle",be(),x(),_(),se=Ae=null},ze=()=>{z="finished",h&&h(),be(),x()},O=()=>{if(I)return;F||(F=n(Te));const V=F.now();c&&c(),U!==null?se=V-U:(!se||z==="finished")&&(se=V),z==="finished"&&_(),Ae=se,U=null,z="running",F.start()};e&&O();const T={then(V,R){return E.then(V,R)},get time(){return cr(Se)},set time(V){V=Nr(V),Se=V,U!==null||!F||v===0?U=V:se=F.now()-V/v},get duration(){const V=D.calculatedDuration===null?wp(D):D.calculatedDuration;return cr(V)},get speed(){return v},set speed(V){V===v||!F||(v=V,T.time=cr(Se))},get state(){return z},play:O,pause:()=>{z="paused",U=Se},stop:()=>{I=!0,z!=="idle"&&(z="idle",f&&f(),Ve())},cancel:()=>{Ae!==null&&Te(Ae),Ve()},complete:()=>{z="finished"},sample:V=>(se=0,Te(V))};return T}function yC(e){let t;return()=>(t===void 0&&(t=e()),t)}const CC=yC(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),xC=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ls=10,wC=2e4,SC=(e,t)=>t.type==="spring"||e==="backgroundColor"||!W0(t.ease);function IC(e,t,{onUpdate:n,onComplete:r,...i}){if(!(CC()&&xC.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let l=!1,u,c,f=!1;const h=()=>{c=new Promise(M=>{u=M})};h();let{keyframes:p,duration:m=300,ease:v,times:I}=i;if(SC(t,i)){const M=Ds({...i,repeat:0,delay:0});let $={done:!1,value:p[0]};const D=[];let H=0;for(;!$.done&&H<wC;)$=M.sample(H),D.push($.value),H+=Ls;I=void 0,p=D,m=H-Ls,v="linear"}const x=$6(e.owner.current,t,p,{...i,duration:m,ease:v,times:I}),E=()=>{f=!1,x.cancel()},_=()=>{f=!0,bt.update(E),u(),h()};return x.onfinish=()=>{f||(e.set(D6(p,i)),r&&r(),_())},{then(M,$){return c.then(M,$)},attachTimeline(M){return x.timeline=M,x.onfinish=null,Tt},get time(){return cr(x.currentTime||0)},set time(M){x.currentTime=Nr(M)},get speed(){return x.playbackRate},set speed(M){x.playbackRate=M},get duration(){return cr(m)},play:()=>{l||(x.play(),sr(E))},pause:()=>x.pause(),stop:()=>{if(l=!0,x.playState==="idle")return;const{currentTime:M}=x;if(M){const $=Ds({...i,autoplay:!1});e.setWithVelocity($.sample(M-Ls).value,$.sample(M).value,Ls)}_()},complete:()=>{f||x.finish()},cancel:_}}function EC({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Tt,pause:Tt,stop:Tt,then:a=>(a(),Promise.resolve()),cancel:Tt,complete:Tt});return t?Ds({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const AC={type:"spring",stiffness:500,damping:25,restSpeed:10},_C=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),PC={type:"keyframes",duration:.8},TC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},MC=(e,{keyframes:t})=>t.length>2?PC:oi.has(e)?e.startsWith("scale")?_C(t[1]):AC:TC,Pc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(jr.test(t)||t==="0")&&!t.startsWith("url(")),OC=new Set(["brightness","contrast","saturate","opacity"]);function FC(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ps)||[];if(!r)return e;const i=n.replace(r,"");let a=OC.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const RC=/([a-z-]*)\(.*?\)/g,Tc={...jr,getAnimatableNone:e=>{const t=e.match(RC);return t?t.map(FC).join(" "):e}},VC={...w0,color:Qt,backgroundColor:Qt,outlineColor:Qt,fill:Qt,stroke:Qt,borderColor:Qt,borderTopColor:Qt,borderRightColor:Qt,borderBottomColor:Qt,borderLeftColor:Qt,filter:Tc,WebkitFilter:Tc},Mc=e=>VC[e];function Sp(e,t){let n=Mc(e);return n!==Tc&&(n=jr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ip=e=>/^0[^.\s]+$/.test(e);function BC(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Ip(e)}function $C(e,t,n,r){const i=Pc(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const l=r.from!==void 0?r.from:e.get();let u;const c=[];for(let f=0;f<a.length;f++)a[f]===null&&(a[f]=f===0?l:a[f-1]),BC(a[f])&&c.push(f),typeof a[f]=="string"&&a[f]!=="none"&&a[f]!=="0"&&(u=a[f]);if(i&&c.length&&u)for(let f=0;f<c.length;f++){const h=c[f];a[h]=Sp(t,u)}return a}function DC({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:l,repeatDelay:u,from:c,elapsed:f,...h}){return!!Object.keys(h).length}function Oc(e,t){return e[t]||e.default||e}const LC={skipAnimations:!1},Fc=(e,t,n,r={})=>i=>{const a=Oc(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Nr(l);const c=$C(t,e,n,a),f=c[0],h=c[c.length-1],p=Pc(e,f),m=Pc(e,h);sa(p===m,`You are trying to animate ${e} from "${f}" to "${h}". ${f} is not an animatable value - to enable this animation set ${f} to a value animatable to ${h} via the \`style\` property.`);let v={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-u,onUpdate:I=>{t.set(I),a.onUpdate&&a.onUpdate(I)},onComplete:()=>{i(),a.onComplete&&a.onComplete()}};if(DC(a)||(v={...v,...MC(e,v)}),v.duration&&(v.duration=Nr(v.duration)),v.repeatDelay&&(v.repeatDelay=Nr(v.repeatDelay)),!p||!m||B6.current||a.type===!1||LC.skipAnimations)return EC(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const I=IC(t,e,v);if(I)return I}return Ds(v)};function Ns(e){return!!(on(e)&&e.add)}const Ep=e=>/^\-?\d*\.?\d+$/.test(e);function Rc(e,t){e.indexOf(t)===-1&&e.push(t)}function Vc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Bc{constructor(){this.subscriptions=[]}add(t){return Rc(this.subscriptions,t),()=>Vc(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const l=this.subscriptions[a];l&&l(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ap=new Set;function $c(e,t,n){e||Ap.has(t)||(console.warn(t),Ap.add(t))}const NC=e=>!isNaN(parseFloat(e));class jC{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:l}=Zt;this.lastUpdated!==l&&(this.timeDelta=a,this.lastUpdated=l,bt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>bt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=NC(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&$c(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Bc);const r=this.events[t].add(n);return t==="change"?()=>{r(),bt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?gp(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function zi(e,t){return new jC(e,t)}const _p=e=>t=>t.test(e),Pp=[ai,Ne,Un,$r,Ky,Jy,{test:e=>e==="auto",parse:e=>e}],fa=e=>Pp.find(_p(e)),kC=[...Pp,Qt,jr],GC=e=>kC.find(_p(e));function HC(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,zi(n))}function WC(e,t){const n=Vs(e,t);let{transitionEnd:r={},transition:i={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const l in a){const u=f6(a[l]);HC(e,l,u)}}function XC(e,t,n){var r,i;const a=Object.keys(t).filter(u=>!e.hasValue(u)),l=a.length;if(l)for(let u=0;u<l;u++){const c=a[u],f=t[c];let h=null;Array.isArray(f)&&(h=f[0]),h===null&&(h=(i=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&i!==void 0?i:t[c]),h!=null&&(typeof h=="string"&&(Ep(h)||Ip(h))?h=parseFloat(h):!GC(h)&&jr.test(f)&&(h=Sp(c,f)),e.addValue(c,zi(h,{owner:e})),n[c]===void 0&&(n[c]=h),h!==null&&e.setBaseTarget(c,h))}}function zC(e,t){return t?(t[e]||t.default||t).from:void 0}function ZC(e,t,n){const r={};for(const i in e){const a=zC(i,t);if(a!==void 0)r[i]=a;else{const l=n.getValue(i);l&&(r[i]=l.get())}}return r}function UC({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function YC(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function Tp(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:l,...u}=e.makeTargetAnimatable(t);const c=e.getValue("willChange");r&&(a=r);const f=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const p in u){const m=e.getValue(p),v=u[p];if(!m||v===void 0||h&&UC(h,p))continue;const I={delay:n,elapsed:0,...Oc(a||{},p)};if(window.HandoffAppearAnimations){const _=e.getProps()[f0];if(_){const F=window.HandoffAppearAnimations(_,p,m,bt);F!==null&&(I.elapsed=F,I.isHandoff=!0)}}let x=!I.isHandoff&&!YC(m,v);if(I.type==="spring"&&(m.getVelocity()||I.velocity)&&(x=!1),m.animation&&(x=!1),x)continue;m.start(Fc(p,m,v,e.shouldReduceMotion&&oi.has(p)?{type:!1}:I));const E=m.animation;Ns(c)&&(c.add(p),E.then(()=>c.remove(p))),f.push(E)}return l&&Promise.all(f).then(()=>{l&&WC(e,l)}),f}function Dc(e,t,n={}){const r=Vs(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const a=r?()=>Promise.all(Tp(e,r,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:f=0,staggerChildren:h,staggerDirection:p}=i;return JC(e,t,f+c,h,p,n)}:()=>Promise.resolve(),{when:u}=i;if(u){const[c,f]=u==="beforeChildren"?[a,l]:[l,a];return c().then(()=>f())}else return Promise.all([a(),l(n.delay)])}function JC(e,t,n=0,r=0,i=1,a){const l=[],u=(e.variantChildren.size-1)*r,c=i===1?(f=0)=>f*r:(f=0)=>u-f*r;return Array.from(e.variantChildren).sort(KC).forEach((f,h)=>{f.notify("AnimationStart",t),l.push(Dc(f,t,{...a,delay:n+c(h)}).then(()=>f.notify("AnimationComplete",t)))}),Promise.all(l)}function KC(e,t){return e.sortNodePosition(t)}function qC(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>Dc(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=Dc(e,t,n);else{const i=typeof t=="function"?Vs(e,t,n.custom):t;r=Promise.all(Tp(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const QC=[...rc].reverse(),ex=rc.length;function tx(e){return t=>Promise.all(t.map(({animation:n,options:r})=>qC(e,n,r)))}function nx(e){let t=tx(e);const n=ix();let r=!0;const i=(c,f)=>{const h=Vs(e,f);if(h){const{transition:p,transitionEnd:m,...v}=h;c={...c,...v,...m}}return c};function a(c){t=c(e)}function l(c,f){const h=e.getProps(),p=e.getVariantContext(!0)||{},m=[],v=new Set;let I={},x=1/0;for(let _=0;_<ex;_++){const F=QC[_],M=n[F],$=h[F]!==void 0?h[F]:p[F],D=ea($),H=F===f?M.isActive:null;H===!1&&(x=_);let z=$===p[F]&&$!==h[F]&&D;if(z&&r&&e.manuallyAnimateOnMount&&(z=!1),M.protectedKeys={...I},!M.isActive&&H===null||!$&&!M.prevProp||Is($)||typeof $=="boolean")continue;let se=rx(M.prevProp,$)||F===f&&M.isActive&&!z&&D||_>x&&D,Ae=!1;const Xe=Array.isArray($)?$:[$];let Ge=Xe.reduce(i,{});H===!1&&(Ge={});const{prevResolvedValues:pe={}}=M,Se={...pe,...Ge},Te=be=>{se=!0,v.has(be)&&(Ae=!0,v.delete(be)),M.needsAnimating[be]=!0};for(const be in Se){const Ve=Ge[be],ze=pe[be];if(I.hasOwnProperty(be))continue;let O=!1;Ms(Ve)&&Ms(ze)?O=!G0(Ve,ze):O=Ve!==ze,O?Ve!==void 0?Te(be):v.add(be):Ve!==void 0&&v.has(be)?Te(be):M.protectedKeys[be]=!0}M.prevProp=$,M.prevResolvedValues=Ge,M.isActive&&(I={...I,...Ge}),r&&e.blockInitialAnimation&&(se=!1),se&&(!z||Ae)&&m.push(...Xe.map(be=>({animation:be,options:{type:F,...c}})))}if(v.size){const _={};v.forEach(F=>{const M=e.getBaseTarget(F);M!==void 0&&(_[F]=M)}),m.push({animation:_})}let E=!!m.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(m):Promise.resolve()}function u(c,f,h){var p;if(n[c].isActive===f)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(v=>{var I;return(I=v.animationState)===null||I===void 0?void 0:I.setActive(c,f)}),n[c].isActive=f;const m=l(h,c);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:l,setActive:u,setAnimateFunction:a,getState:()=>n}}function rx(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!G0(t,e):!1}function li(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ix(){return{animate:li(!0),whileInView:li(),whileHover:li(),whileTap:li(),whileDrag:li(),whileFocus:li(),exit:li()}}class ox extends Lr{constructor(t){super(t),t.animationState||(t.animationState=nx(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Is(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let ax=0;class sx extends Lr{constructor(){super(...arguments),this.id=ax++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const lx={animation:{Feature:ox},exit:{Feature:sx}},Mp=(e,t)=>Math.abs(e-t);function ux(e,t){const n=Mp(e.x,t.x),r=Mp(e.y,t.y);return Math.sqrt(n**2+r**2)}class Op{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Nc(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=ux(p.offset,{x:0,y:0})>=3;if(!m&&!v)return;const{point:I}=p,{timestamp:x}=Zt;this.history.push({...I,timestamp:x});const{onStart:E,onMove:_}=this.handlers;m||(E&&E(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),_&&_(this.lastMoveEvent,p)},this.handlePointerMove=(p,m)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=Lc(m,this.transformPagePoint),bt.update(this.updatePoint,!0)},this.handlePointerUp=(p,m)=>{this.end();const{onEnd:v,onSessionEnd:I,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const E=Nc(p.type==="pointercancel"?this.lastMoveEventInfo:Lc(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(p,E),I&&I(p,E)},!V0(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const l=Rs(t),u=Lc(l,this.transformPagePoint),{point:c}=u,{timestamp:f}=Zt;this.history=[{...c,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,Nc(u,this.history)),this.removeListeners=Dr(ur(this.contextWindow,"pointermove",this.handlePointerMove),ur(this.contextWindow,"pointerup",this.handlePointerUp),ur(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),sr(this.updatePoint)}}function Lc(e,t){return t?{point:t(e.point)}:e}function Fp(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Nc({point:e},t){return{point:e,delta:Fp(e,Rp(t)),offset:Fp(e,cx(t)),velocity:fx(t,.1)}}function cx(e){return e[0]}function Rp(e){return e[e.length-1]}function fx(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Rp(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Nr(t)));)n--;if(!r)return{x:0,y:0};const a=cr(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const l={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function pn(e){return e.max-e.min}function jc(e,t=0,n=.01){return Math.abs(e-t)<=n}function Vp(e,t,n,r=.5){e.origin=r,e.originPoint=_t(t.min,t.max,e.origin),e.scale=pn(n)/pn(t),(jc(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=_t(n.min,n.max,e.origin)-e.originPoint,(jc(e.translate)||isNaN(e.translate))&&(e.translate=0)}function da(e,t,n,r){Vp(e.x,t.x,n.x,r?r.originX:void 0),Vp(e.y,t.y,n.y,r?r.originY:void 0)}function Bp(e,t,n){e.min=n.min+t.min,e.max=e.min+pn(t)}function dx(e,t,n){Bp(e.x,t.x,n.x),Bp(e.y,t.y,n.y)}function $p(e,t,n){e.min=t.min-n.min,e.max=e.min+pn(t)}function ha(e,t,n){$p(e.x,t.x,n.x),$p(e.y,t.y,n.y)}function hx(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?_t(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?_t(n,e,r.max):Math.min(e,n)),e}function Dp(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function px(e,{top:t,left:n,bottom:r,right:i}){return{x:Dp(e.x,n,i),y:Dp(e.y,t,r)}}function Lp(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function gx(e,t){return{x:Lp(e.x,t.x),y:Lp(e.y,t.y)}}function mx(e,t){let n=.5;const r=pn(e),i=pn(t);return i>r?n=ca(t.min,t.max-r,e.min):r>i&&(n=ca(e.min,e.max-i,t.min)),Br(0,1,n)}function vx(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const kc=.35;function bx(e=kc){return e===!1?e=0:e===!0&&(e=kc),{x:Np(e,"left","right"),y:Np(e,"top","bottom")}}function Np(e,t,n){return{min:jp(e,t),max:jp(e,n)}}function jp(e,t){return typeof e=="number"?e:e[t]||0}const kp=()=>({translate:0,scale:1,origin:0,originPoint:0}),Zi=()=>({x:kp(),y:kp()}),Gp=()=>({min:0,max:0}),Dt=()=>({x:Gp(),y:Gp()});function An(e){return[e("x"),e("y")]}function Hp({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function yx({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Cx(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Gc(e){return e===void 0||e===1}function Hc({scale:e,scaleX:t,scaleY:n}){return!Gc(e)||!Gc(t)||!Gc(n)}function ui(e){return Hc(e)||Wp(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Wp(e){return Xp(e.x)||Xp(e.y)}function Xp(e){return e&&e!=="0%"}function js(e,t,n){const r=e-n,i=t*r;return n+i}function zp(e,t,n,r,i){return i!==void 0&&(e=js(e,i,r)),js(e,n,r)+t}function Wc(e,t=0,n=1,r,i){e.min=zp(e.min,t,n,r,i),e.max=zp(e.max,t,n,r,i)}function Zp(e,{x:t,y:n}){Wc(e.x,t.translate,t.scale,t.originPoint),Wc(e.y,n.translate,n.scale,n.originPoint)}function xx(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,l;for(let u=0;u<i;u++){a=n[u],l=a.projectionDelta;const c=a.instance;c&&c.style&&c.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Ui(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,Zp(e,l)),r&&ui(a.latestValues)&&Ui(e,a.latestValues))}t.x=Up(t.x),t.y=Up(t.y)}function Up(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function kr(e,t){e.min=e.min+t,e.max=e.max+t}function Yp(e,t,[n,r,i]){const a=t[i]!==void 0?t[i]:.5,l=_t(e.min,e.max,a);Wc(e,t[n],t[r],l,t.scale)}const wx=["x","scaleX","originX"],Sx=["y","scaleY","originY"];function Ui(e,t){Yp(e.x,t,wx),Yp(e.y,t,Sx)}function Jp(e,t){return Hp(Cx(e.getBoundingClientRect(),t))}function Ix(e,t,n){const r=Jp(e,n),{scroll:i}=t;return i&&(kr(r.x,i.offset.x),kr(r.y,i.offset.y)),r}const Kp=({current:e})=>e?e.ownerDocument.defaultView:null,Ex=new WeakMap;class Ax{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Dt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=h=>{const{dragSnapToOrigin:p}=this.getProps();p?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Rs(h,"page").point)},a=(h,p)=>{const{drag:m,dragPropagation:v,onDragStart:I}=this.getProps();if(m&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=L0(m),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),An(E=>{let _=this.getAxisMotionValue(E).get()||0;if(Un.test(_)){const{projection:F}=this.visualElement;if(F&&F.layout){const M=F.layout.layoutBox[E];M&&(_=pn(M)*(parseFloat(_)/100))}}this.originPoint[E]=_}),I&&bt.update(()=>I(h,p),!1,!0);const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},l=(h,p)=>{const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:I,onDrag:x}=this.getProps();if(!m&&!this.openGlobalLock)return;const{offset:E}=p;if(v&&this.currentDirection===null){this.currentDirection=_x(E),this.currentDirection!==null&&I&&I(this.currentDirection);return}this.updateAxis("x",p.point,E),this.updateAxis("y",p.point,E),this.visualElement.render(),x&&x(h,p)},u=(h,p)=>this.stop(h,p),c=()=>An(h=>{var p;return this.getAnimationState(h)==="paused"&&((p=this.getAxisMotionValue(h).animation)===null||p===void 0?void 0:p.play())}),{dragSnapToOrigin:f}=this.getProps();this.panSession=new Op(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:f,contextWindow:Kp(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&bt.update(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!ks(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=hx(l,this.constraints[t],this.elastic[t])),a.set(l)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;n&&Wi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=px(i.layoutBox,n):this.constraints=!1,this.elastic=bx(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&An(l=>{this.getAxisMotionValue(l)&&(this.constraints[l]=vx(i.layoutBox[l],this.constraints[l]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Wi(t))return!1;const r=t.current;En(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=Ix(r,i.root,this.visualElement.getTransformPagePoint());let l=gx(i.layout.layoutBox,a);if(n){const u=n(yx(l));this.hasMutatedConstraints=!!u,u&&(l=Hp(u))}return l}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:l,onDragTransitionEnd:u}=this.getProps(),c=this.constraints||{},f=An(h=>{if(!ks(h,n,this.currentDirection))return;let p=c&&c[h]||{};l&&(p={min:0,max:0});const m=i?200:1e6,v=i?40:1e7,I={type:"inertia",velocity:r?t[h]:0,bounceStiffness:m,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...a,...p};return this.startAxisValueAnimation(h,I)});return Promise.all(f).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Fc(t,r,0,n))}stopAnimation(){An(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){An(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){An(n=>{const{drag:r}=this.getProps();if(!ks(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:l,max:u}=i.layout.layoutBox[n];a.set(t[n]-_t(l,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Wi(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};An(l=>{const u=this.getAxisMotionValue(l);if(u){const c=u.get();i[l]=mx({min:c,max:c},this.constraints[l])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),An(l=>{if(!ks(l,t,null))return;const u=this.getAxisMotionValue(l),{min:c,max:f}=this.constraints[l];u.set(_t(c,f,i[l]))})}addListeners(){if(!this.visualElement.current)return;Ex.set(this.visualElement,this);const t=this.visualElement.current,n=ur(t,"pointerdown",c=>{const{drag:f,dragListener:h=!0}=this.getProps();f&&h&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();Wi(c)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const l=lr(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f})=>{this.isDragging&&f&&(An(h=>{const p=this.getAxisMotionValue(h);p&&(this.originPoint[h]+=c[h].translate,p.set(p.get()+c[h].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:l=kc,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:l,dragMomentum:u}}}function ks(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function _x(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Px extends Lr{constructor(t){super(t),this.removeGroupControls=Tt,this.removeListeners=Tt,this.controls=new Ax(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Tt}unmount(){this.removeGroupControls(),this.removeListeners()}}const qp=e=>(t,n)=>{e&&bt.update(()=>e(t,n))};class Tx extends Lr{constructor(){super(...arguments),this.removePointerDownListener=Tt}onPointerDown(t){this.session=new Op(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kp(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:qp(t),onStart:qp(n),onMove:r,onEnd:(a,l)=>{delete this.session,i&&bt.update(()=>i(a,l))}}}mount(){this.removePointerDownListener=ur(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function Mx(){const e=b.useContext(ws);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=b.useId();return b.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Gs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Qp(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const pa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Ne.test(e))e=parseFloat(e);else return e;const n=Qp(e,t.target.x),r=Qp(e,t.target.y);return`${n}% ${r}%`}},Ox={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=jr.parse(e);if(i.length>5)return r;const a=jr.createTransformer(e),l=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,c=n.y.scale*t.y;i[0+l]/=u,i[1+l]/=c;const f=_t(u,c,.5);return typeof i[2+l]=="number"&&(i[2+l]/=f),typeof i[3+l]=="number"&&(i[3+l]/=f),a(i)}};class Fx extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;Hy(Rx),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Gs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,l=r.projection;return l&&(l.isPresent=a,i||t.layoutDependency!==n||n===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?l.promote():l.relegate()||bt.postRender(()=>{const u=l.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function eg(e){const[t,n]=Mx(),r=b.useContext(oc);return b.createElement(Fx,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(g0),isPresent:t,safeToRemove:n})}const Rx={borderRadius:{...pa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:pa,borderTopRightRadius:pa,borderBottomLeftRadius:pa,borderBottomRightRadius:pa,boxShadow:Ox},tg=["TopLeft","TopRight","BottomLeft","BottomRight"],Vx=tg.length,ng=e=>typeof e=="string"?parseFloat(e):e,rg=e=>typeof e=="number"||Ne.test(e);function Bx(e,t,n,r,i,a){i?(e.opacity=_t(0,n.opacity!==void 0?n.opacity:1,$x(r)),e.opacityExit=_t(t.opacity!==void 0?t.opacity:1,0,Dx(r))):a&&(e.opacity=_t(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let l=0;l<Vx;l++){const u=`border${tg[l]}Radius`;let c=ig(t,u),f=ig(n,u);if(c===void 0&&f===void 0)continue;c||(c=0),f||(f=0),c===0||f===0||rg(c)===rg(f)?(e[u]=Math.max(_t(ng(c),ng(f),r),0),(Un.test(f)||Un.test(c))&&(e[u]+="%")):e[u]=f}(t.rotate||n.rotate)&&(e.rotate=_t(t.rotate||0,n.rotate||0,r))}function ig(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const $x=og(0,.5,K0),Dx=og(.5,.95,Tt);function og(e,t,n){return r=>r<e?0:r>t?1:n(ca(e,t,r))}function ag(e,t){e.min=t.min,e.max=t.max}function _n(e,t){ag(e.x,t.x),ag(e.y,t.y)}function sg(e,t,n,r,i){return e-=t,e=js(e,1/n,r),i!==void 0&&(e=js(e,1/i,r)),e}function Lx(e,t=0,n=1,r=.5,i,a=e,l=e){if(Un.test(t)&&(t=parseFloat(t),t=_t(l.min,l.max,t/100)-l.min),typeof t!="number")return;let u=_t(a.min,a.max,r);e===a&&(u-=t),e.min=sg(e.min,t,n,u,i),e.max=sg(e.max,t,n,u,i)}function lg(e,t,[n,r,i],a,l){Lx(e,t[n],t[r],t[i],t.scale,a,l)}const Nx=["x","scaleX","originX"],jx=["y","scaleY","originY"];function ug(e,t,n,r){lg(e.x,t,Nx,n?n.x:void 0,r?r.x:void 0),lg(e.y,t,jx,n?n.y:void 0,r?r.y:void 0)}function cg(e){return e.translate===0&&e.scale===1}function fg(e){return cg(e.x)&&cg(e.y)}function kx(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function dg(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function hg(e){return pn(e.x)/pn(e.y)}class Gx{constructor(){this.members=[]}add(t){Rc(this.members,t),t.scheduleRender()}remove(t){if(Vc(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function pg(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y;if((i||a)&&(r=`translate3d(${i}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:c,rotateX:f,rotateY:h}=n;c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `)}const l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(r+=`scale(${l}, ${u})`),r||"none"}const Hx=(e,t)=>e.depth-t.depth;class Wx{constructor(){this.children=[],this.isDirty=!1}add(t){Rc(this.children,t),this.isDirty=!0}remove(t){Vc(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Hx),this.isDirty=!1,this.children.forEach(t)}}function Xx(e,t){const n=performance.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(sr(r),e(a-t))};return bt.read(r,!0),()=>sr(r)}function zx(e){window.MotionDebug&&window.MotionDebug.record(e)}function Zx(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Ux(e,t,n){const r=on(e)?e:zi(e);return r.start(Fc("",r,t,n)),r.animation}const gg=["","X","Y","Z"],Yx={visibility:"hidden"},mg=1e3;let Jx=0;const ci={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function vg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(l={},u=t==null?void 0:t()){this.id=Jx++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ci.totalNodes=ci.resolvedTargetDeltas=ci.recalculatedProjection=0,this.nodes.forEach(Qx),this.nodes.forEach(i7),this.nodes.forEach(o7),this.nodes.forEach(e7),zx(ci)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new Wx)}addEventListener(l,u){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new Bc),this.eventHandlers.get(l).add(u)}notifyListeners(l,...u){const c=this.eventHandlers.get(l);c&&c.notify(...u)}hasListeners(l){return this.eventHandlers.has(l)}mount(l,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Zx(l),this.instance=l;const{layoutId:c,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(f||c)&&(this.isLayoutDirty=!0),e){let p;const m=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,p&&p(),p=Xx(m,250),Gs.hasAnimatedSinceResize&&(Gs.hasAnimatedSinceResize=!1,this.nodes.forEach(yg))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&h&&(c||f)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:m,hasRelativeTargetChanged:v,layout:I})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||h.getDefaultTransition()||c7,{onLayoutAnimationStart:E,onLayoutAnimationComplete:_}=h.getProps(),F=!this.targetLayout||!dg(this.targetLayout,I)||v,M=!m&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||M||m&&(F||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(p,M);const $={...Oc(x,"layout"),onPlay:E,onComplete:_};(h.shouldReduceMotion||this.options.layoutRoot)&&($.delay=0,$.type=!1),this.startAnimation($)}else m||yg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=I})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,sr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(a7),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const p=this.path[h];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:u,layout:c}=this.options;if(u===void 0&&!c)return;const f=this.getTransformTemplate();this.prevTransformTemplateValue=f?f(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(bg);return}this.isUpdating||this.nodes.forEach(n7),this.isUpdating=!1,this.nodes.forEach(r7),this.nodes.forEach(Kx),this.nodes.forEach(qx),this.clearAllSnapshots();const u=performance.now();Zt.delta=Br(0,1e3/60,u-Zt.timestamp),Zt.timestamp=u,Zt.isProcessing=!0,pc.update.process(Zt),pc.preRender.process(Zt),pc.render.process(Zt),Zt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(t7),this.sharedNodes.forEach(s7)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,bt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){bt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:l,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!fg(this.projectionDelta),c=this.getTransformTemplate(),f=c?c(this.latestValues,""):void 0,h=f!==this.prevTransformTemplateValue;l&&(u||ui(this.latestValues)||h)&&(i(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const u=this.measurePageBox();let c=this.removeElementScroll(u);return l&&(c=this.removeTransform(c)),f7(c),{animationId:this.root.animationId,measuredBox:u,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return Dt();const u=l.measureViewportBox(),{scroll:c}=this.root;return c&&(kr(u.x,c.offset.x),kr(u.y,c.offset.y)),u}removeElementScroll(l){const u=Dt();_n(u,l);for(let c=0;c<this.path.length;c++){const f=this.path[c],{scroll:h,options:p}=f;if(f!==this.root&&h&&p.layoutScroll){if(h.isRoot){_n(u,l);const{scroll:m}=this.root;m&&(kr(u.x,-m.offset.x),kr(u.y,-m.offset.y))}kr(u.x,h.offset.x),kr(u.y,h.offset.y)}}return u}applyTransform(l,u=!1){const c=Dt();_n(c,l);for(let f=0;f<this.path.length;f++){const h=this.path[f];!u&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Ui(c,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),ui(h.latestValues)&&Ui(c,h.latestValues)}return ui(this.latestValues)&&Ui(c,this.latestValues),c}removeTransform(l){const u=Dt();_n(u,l);for(let c=0;c<this.path.length;c++){const f=this.path[c];if(!f.instance||!ui(f.latestValues))continue;Hc(f.latestValues)&&f.updateSnapshot();const h=Dt(),p=f.measurePageBox();_n(h,p),ug(u,f.latestValues,f.snapshot?f.snapshot.layoutBox:void 0,h)}return ui(this.latestValues)&&ug(u,this.latestValues),u}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Zt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var u;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==c;if(!(l||f&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:p,layoutId:m}=this.options;if(!(!this.layout||!(p||m))){if(this.resolvedRelativeTargetAt=Zt.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),ha(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),_n(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Dt(),this.targetWithTransforms=Dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),dx(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):_n(this.target,this.layout.layoutBox),Zp(this.target,this.targetDelta)):_n(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),ha(this.relativeTargetOrigin,this.target,v.target),_n(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ci.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Hc(this.parent.latestValues)||Wp(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var l;const u=this.getLead(),c=!!this.resumingFrom||this!==u;let f=!0;if((this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty)&&(f=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===Zt.timestamp&&(f=!1),f)return;const{layout:h,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||p))return;_n(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;xx(this.layoutCorrected,this.treeScale,this.path,c),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox);const{target:I}=u;if(!I){this.projectionTransform&&(this.projectionDelta=Zi(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Zi(),this.projectionDeltaWithTransform=Zi());const x=this.projectionTransform;da(this.projectionDelta,this.layoutCorrected,I,this.latestValues),this.projectionTransform=pg(this.projectionDelta,this.treeScale),(this.projectionTransform!==x||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",I)),ci.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),l){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(l,u=!1){const c=this.snapshot,f=c?c.latestValues:{},h={...this.latestValues},p=Zi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const m=Dt(),v=c?c.source:void 0,I=this.layout?this.layout.source:void 0,x=v!==I,E=this.getStack(),_=!E||E.members.length<=1,F=!!(x&&!_&&this.options.crossfade===!0&&!this.path.some(u7));this.animationProgress=0;let M;this.mixTargetDelta=$=>{const D=$/1e3;Cg(p.x,l.x,D),Cg(p.y,l.y,D),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ha(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),l7(this.relativeTarget,this.relativeTargetOrigin,m,D),M&&kx(this.relativeTarget,M)&&(this.isProjectionDirty=!1),M||(M=Dt()),_n(M,this.relativeTarget)),x&&(this.animationValues=h,Bx(h,f,this.latestValues,D,F,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(sr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=bt.update(()=>{Gs.hasAnimatedSinceResize=!0,this.currentAnimation=Ux(0,mg,{...l,onUpdate:u=>{this.mixTargetDelta(u),l.onUpdate&&l.onUpdate(u)},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(mg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:u,target:c,layout:f,latestValues:h}=l;if(!(!u||!c||!f)){if(this!==l&&this.layout&&f&&Eg(this.options.animationType,this.layout.layoutBox,f.layoutBox)){c=this.target||Dt();const p=pn(this.layout.layoutBox.x);c.x.min=l.target.x.min,c.x.max=c.x.min+p;const m=pn(this.layout.layoutBox.y);c.y.min=l.target.y.min,c.y.max=c.y.min+m}_n(u,c),Ui(u,h),da(this.projectionDeltaWithTransform,this.layoutCorrected,u,h)}}registerSharedNode(l,u){this.sharedNodes.has(l)||this.sharedNodes.set(l,new Gx),this.sharedNodes.get(l).add(u);const f=u.options.initialPromotionConfig;u.promote({transition:f?f.transition:void 0,preserveFollowOpacity:f&&f.shouldPreserveFollowOpacity?f.shouldPreserveFollowOpacity(u):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:u}=this.options;return u?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:u}=this.options;return u?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:u,preserveFollowOpacity:c}={}){const f=this.getStack();f&&f.promote(this,c),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetRotation(){const{visualElement:l}=this.options;if(!l)return;let u=!1;const{latestValues:c}=l;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(u=!0),!u)return;const f={};for(let h=0;h<gg.length;h++){const p="rotate"+gg[h];c[p]&&(f[p]=c[p],l.setStaticValue(p,0))}l.render();for(const h in f)l.setStaticValue(h,f[h]);l.scheduleRender()}getProjectionStyles(l){var u,c;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Yx;const f={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,f.opacity="",f.pointerEvents=Os(l==null?void 0:l.pointerEvents)||"",f.transform=h?h(this.latestValues,""):"none",f;const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){const x={};return this.options.layoutId&&(x.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,x.pointerEvents=Os(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!ui(this.latestValues)&&(x.transform=h?h({},""):"none",this.hasProjected=!1),x}const m=p.animationValues||p.latestValues;this.applyTransformsToTarget(),f.transform=pg(this.projectionDeltaWithTransform,this.treeScale,m),h&&(f.transform=h(m,f.transform));const{x:v,y:I}=this.projectionDelta;f.transformOrigin=`${v.origin*100}% ${I.origin*100}% 0`,p.animationValues?f.opacity=p===this?(c=(u=m.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:f.opacity=p===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const x in As){if(m[x]===void 0)continue;const{correct:E,applyTo:_}=As[x],F=f.transform==="none"?m[x]:E(m[x],p);if(_){const M=_.length;for(let $=0;$<M;$++)f[_[$]]=F}else f[x]=F}return this.options.layoutId&&(f.pointerEvents=p===this?Os(l==null?void 0:l.pointerEvents)||"":"none"),f}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var u;return(u=l.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(bg),this.root.sharedNodes.clear()}}}function Kx(e){e.updateLayout()}function qx(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,l=n.source!==e.layout.source;a==="size"?An(p=>{const m=l?n.measuredBox[p]:n.layoutBox[p],v=pn(m);m.min=r[p].min,m.max=m.min+v}):Eg(a,n.layoutBox,r)&&An(p=>{const m=l?n.measuredBox[p]:n.layoutBox[p],v=pn(r[p]);m.max=m.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+v)});const u=Zi();da(u,r,n.layoutBox);const c=Zi();l?da(c,e.applyTransform(i,!0),n.measuredBox):da(c,r,n.layoutBox);const f=!fg(u);let h=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:m,layout:v}=p;if(m&&v){const I=Dt();ha(I,n.layoutBox,m.layoutBox);const x=Dt();ha(x,r,v.layoutBox),dg(I,x)||(h=!0),p.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=I,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Qx(e){ci.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function e7(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function t7(e){e.clearSnapshot()}function bg(e){e.clearMeasurements()}function n7(e){e.isLayoutDirty=!1}function r7(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function yg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function i7(e){e.resolveTargetDelta()}function o7(e){e.calcProjection()}function a7(e){e.resetRotation()}function s7(e){e.removeLeadSnapshot()}function Cg(e,t,n){e.translate=_t(t.translate,0,n),e.scale=_t(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function xg(e,t,n,r){e.min=_t(t.min,n.min,r),e.max=_t(t.max,n.max,r)}function l7(e,t,n,r){xg(e.x,t.x,n.x,r),xg(e.y,t.y,n.y,r)}function u7(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const c7={duration:.45,ease:[.4,0,.1,1]},wg=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Sg=wg("applewebkit/")&&!wg("chrome/")?Math.round:Tt;function Ig(e){e.min=Sg(e.min),e.max=Sg(e.max)}function f7(e){Ig(e.x),Ig(e.y)}function Eg(e,t,n){return e==="position"||e==="preserve-aspect"&&!jc(hg(t),hg(n),.2)}const d7=vg({attachResizeListener:(e,t)=>lr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xc={current:void 0},Ag=vg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xc.current){const e=new d7({});e.mount(window),e.setOptions({layoutScroll:!0}),Xc.current=e}return Xc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),h7={pan:{Feature:Tx},drag:{Feature:Px,ProjectionNode:Ag,MeasureLayout:eg}},p7=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function g7(e){const t=p7.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const m7=4;function zc(e,t,n=1){En(n<=m7,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=g7(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const l=a.trim();return Ep(l)?parseFloat(l):l}else return sc(i)?zc(i,t,n+1):i}function v7(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const a=i.get();if(!sc(a))return;const l=zc(a,r);l&&i.set(l)});for(const i in t){const a=t[i];if(!sc(a))continue;const l=zc(a,r);l&&(t[i]=l,n||(n={}),n[i]===void 0&&(n[i]=a))}return{target:t,transitionEnd:n}}const b7=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),_g=e=>b7.has(e),y7=e=>Object.keys(e).some(_g),Hs=e=>e===ai||e===Ne,Pg=(e,t)=>parseFloat(e.split(", ")[t]),Tg=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Pg(i[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?Pg(a[1],e):0}},C7=new Set(["x","y","z"]),x7=na.filter(e=>!C7.has(e));function w7(e){const t=[];return x7.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Yi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Tg(4,13),y:Tg(5,14)};Yi.translateX=Yi.x,Yi.translateY=Yi.y;const S7=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,a=getComputedStyle(i),{display:l}=a,u={};l==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(f=>{u[f]=Yi[f](r,a)}),t.render();const c=t.measureViewportBox();return n.forEach(f=>{const h=t.getValue(f);h&&h.jump(u[f]),e[f]=Yi[f](c,a)}),e},I7=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(_g);let a=[],l=!1;const u=[];if(i.forEach(c=>{const f=e.getValue(c);if(!e.hasValue(c))return;let h=n[c],p=fa(h);const m=t[c];let v;if(Ms(m)){const I=m.length,x=m[0]===null?1:0;h=m[x],p=fa(h);for(let E=x;E<I&&m[E]!==null;E++)v?En(fa(m[E])===v,"All keyframes must be of the same type"):(v=fa(m[E]),En(v===p||Hs(p)&&Hs(v),"Keyframes must be of the same dimension as the current value"))}else v=fa(m);if(p!==v)if(Hs(p)&&Hs(v)){const I=f.get();typeof I=="string"&&f.set(parseFloat(I)),typeof m=="string"?t[c]=parseFloat(m):Array.isArray(m)&&v===Ne&&(t[c]=m.map(parseFloat))}else p!=null&&p.transform&&(v!=null&&v.transform)&&(h===0||m===0)?h===0?f.set(v.transform(h)):t[c]=p.transform(m):(l||(a=w7(e),l=!0),u.push(c),r[c]=r[c]!==void 0?r[c]:t[c],f.jump(m))}),u.length){const c=u.indexOf("height")>=0?window.pageYOffset:null,f=S7(t,e,u);return a.length&&a.forEach(([h,p])=>{e.getValue(h).set(p)}),e.render(),Ss&&c!==null&&window.scrollTo({top:c}),{target:f,transitionEnd:r}}else return{target:t,transitionEnd:r}};function E7(e,t,n,r){return y7(t)?I7(e,t,n,r):{target:t,transitionEnd:r}}const A7=(e,t,n,r)=>{const i=v7(e,t,r);return t=i.target,r=i.transitionEnd,E7(e,t,n,r)},Zc={current:null},Mg={current:!1};function _7(){if(Mg.current=!0,!!Ss)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Zc.current=e.matches;e.addListener(t),t()}else Zc.current=!1}function P7(e,t,n){const{willChange:r}=t;for(const i in t){const a=t[i],l=n[i];if(on(a))e.addValue(i,a),Ns(r)&&r.add(i),process.env.NODE_ENV==="development"&&$c(a.version==="10.18.0",`Attempting to mix Framer Motion versions ${a.version} with 10.18.0 may not work as expected.`);else if(on(l))e.addValue(i,zi(a,{owner:e})),Ns(r)&&r.remove(i);else if(l!==a)if(e.hasValue(i)){const u=e.getValue(i);!u.hasAnimated&&u.set(a)}else{const u=e.getStaticValue(i);e.addValue(i,zi(u!==void 0?u:a,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Og=new WeakMap,Fg=Object.keys(ta),T7=Fg.length,Rg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],M7=ic.length;class O7{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>bt.render(this.render,!1,!0);const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.isControllingVariants=Es(n),this.isVariantNode=d0(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{});for(const p in h){const m=h[p];u[p]!==void 0&&on(m)&&(m.set(u[p],!1),Ns(f)&&f.add(p))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Og.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Mg.current||_7(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Zc.current,process.env.NODE_ENV!=="production"&&$c(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Og.delete(this.current),this.projection&&this.projection.unmount(),sr(this.notifyUpdate),sr(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=oi.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&bt.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,a){let l,u;if(process.env.NODE_ENV!=="production"&&i&&r){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?sa(!1,c):En(!1,c)}for(let c=0;c<T7;c++){const f=Fg[c],{isEnabled:h,Feature:p,ProjectionNode:m,MeasureLayout:v}=ta[f];m&&(l=m),h(n)&&(!this.features[f]&&p&&(this.features[f]=new p(this)),v&&(u=v))}if((this.type==="html"||this.type==="svg")&&!this.projection&&l){this.projection=new l(this.latestValues,this.parent&&this.parent.projection);const{layoutId:c,layout:f,drag:h,dragConstraints:p,layoutScroll:m,layoutRoot:v}=n;this.projection.setOptions({layoutId:c,layout:f,alwaysMeasureLayout:!!h||p&&Wi(p),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof f=="string"?f:"both",initialPromotionConfig:a,layoutScroll:m,layoutRoot:v})}return u}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Rg.length;r++){const i=Rg[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a=t["on"+i];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=P7(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<M7;r++){const i=ic[r],a=this.props[i];(ea(a)||a===!1)&&(n[i]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=zi(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=hc(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!on(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Bc),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Vg extends O7{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},a){let l=ZC(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),l&&(l=i(l))),a){XC(this,r,l);const u=A7(this,r,l,n);n=u.transitionEnd,r=u.target}return{transition:t,transitionEnd:n,...r}}}function F7(e){return window.getComputedStyle(e)}class R7 extends Vg{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(oi.has(n)){const r=Mc(n);return r&&r.default||0}else{const r=F7(t),i=(b0(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Jp(t,n)}build(t,n,r,i){lc(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return dc(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;on(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){_0(t,n,r,i)}}class V7 extends Vg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(oi.has(n)){const r=Mc(n);return r&&r.default||0}return n=P0.has(n)?n:nc(n),t.getAttribute(n)}measureInstanceViewportBox(){return Dt()}scrapeMotionValuesFromProps(t,n){return M0(t,n)}build(t,n,r,i){cc(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){T0(t,n,r,i)}mount(t){this.isSVGTag=fc(t.tagName),super.mount(t)}}const B7=(e,t)=>ac(e)?new V7(t,{enableHardwareAcceleration:!1}):new R7(t,{enableHardwareAcceleration:!0}),$7={...lx,...F6,...h7,...{layout:{ProjectionNode:Ag,MeasureLayout:eg}}},ga=ky((e,t)=>y6(e,t,$7,B7));function Bg(){const e=b.useRef(!1);return tc(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function D7(){const e=Bg(),[t,n]=b.useState(0),r=b.useCallback(()=>{e.current&&n(t+1)},[t]);return[b.useCallback(()=>bt.postRender(r),[r]),t]}class L7 extends ae.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function N7({children:e,isPresent:t}){const n=b.useId(),r=b.useRef(null),i=b.useRef({width:0,height:0,top:0,left:0});return b.useInsertionEffect(()=>{const{width:a,height:l,top:u,left:c}=i.current;if(t||!r.current||!a||!l)return;r.current.dataset.motionPopId=n;const f=document.createElement("style");return document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`
|
|
64
64
|
[data-motion-pop-id="${n}"] {
|
|
65
65
|
position: absolute !important;
|
|
66
66
|
width: ${a}px !important;
|
|
@@ -68,9 +68,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
68
68
|
top: ${u}px !important;
|
|
69
69
|
left: ${c}px !important;
|
|
70
70
|
}
|
|
71
|
-
`),()=>{document.head.removeChild(f)}},[t]),ae.createElement(D7,{isPresent:t,childRef:r,sizeRef:i},ae.cloneElement(e,{ref:r}))}const Uc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:l})=>{const u=T0(L7),c=b.useId(),f=b.useMemo(()=>({id:c,initial:t,isPresent:n,custom:i,onExitComplete:h=>{u.set(h,!0);for(const p of u.values())if(!p)return;r&&r()},register:h=>(u.set(h,!1),()=>u.delete(h))}),a?void 0:[n]);return b.useMemo(()=>{u.forEach((h,p)=>u.set(p,!1))},[n]),ae.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),l==="popLayout"&&(e=ae.createElement(N7,{isPresent:n},e)),ae.createElement(ws.Provider,{value:f},e)};function L7(){return new Map}function j7(e){return b.useEffect(()=>()=>e(),[])}const fi=e=>e.key||"";function k7(e,t){e.forEach(n=>{const r=fi(n);t.set(r,n)})}function G7(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const Yc=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:a=!0,mode:l="sync"})=>{En(!i,"Replace exitBeforeEnter with mode='wait'");const u=b.useContext(oc).forceRender||$7()[0],c=Rg(),f=G7(e);let h=f;const p=b.useRef(new Map).current,m=b.useRef(h),v=b.useRef(new Map).current,S=b.useRef(!0);if(tc(()=>{S.current=!1,k7(f,v),m.current=h}),j7(()=>{S.current=!0,v.clear(),p.clear()}),S.current)return ae.createElement(ae.Fragment,null,h.map(O=>ae.createElement(Uc,{key:fi(O),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:a,mode:l},O)));h=[...h];const x=m.current.map(fi),E=f.map(fi),A=x.length;for(let O=0;O<A;O++){const R=x[O];E.indexOf(R)===-1&&!p.has(R)&&p.set(R,void 0)}return l==="wait"&&p.size&&(h=[]),p.forEach((O,R)=>{if(E.indexOf(R)!==-1)return;const $=v.get(R);if(!$)return;const N=x.indexOf(R);let X=O;if(!X){const Z=()=>{p.delete(R);const U=Array.from(v.keys()).filter(se=>!E.includes(se));if(U.forEach(se=>v.delete(se)),m.current=f.filter(se=>{const Ae=fi(se);return Ae===R||U.includes(Ae)}),!p.size){if(c.current===!1)return;u(),r&&r()}};X=ae.createElement(Uc,{key:fi($),isPresent:!1,onExitComplete:Z,custom:t,presenceAffectsLayout:a,mode:l},$),p.set(R,X)}h.splice(N,0,X)}),h=h.map(O=>{const R=O.key;return p.has(R)?O:ae.createElement(Uc,{key:fi(O),isPresent:!0,presenceAffectsLayout:a,mode:l},O)}),process.env.NODE_ENV!=="production"&&l==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),ae.createElement(ae.Fragment,null,p.size?h:h.map(O=>b.cloneElement(O)))};function Ws({isOpen:e,close:t,children:n,scrollToTop:r,isDialog:i=!1}){const[a,l]=b.useState(!1);b.useEffect(()=>{const c=()=>{l(window.innerHeight<window.innerWidth)};return window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)}},[]);const u=()=>i?Ke("transition inset-0 bg-black",{"absolute z-[90]":r&&e,"fixed z-[90]":!r&&e,"bg-opacity-0 pointer-events-none backdrop-blur-none w-0 h-0 hidden invisible":!e,"bg-opacity-40 backdrop-blur-sm overflow-y-scroll":e,"bottom-0":a}):Ke("transition inset-0 bg-black absolute z-[90]",{"bg-opacity-0 pointer-events-none backdrop-blur-none":!e,"bg-opacity-40 backdrop-blur-sm overflow-y-scroll":e,"bottom-0":a});return b.useEffect(()=>{e?(document.body.style.overflow="hidden",r&&window.scrollTo({top:0})):document.body.style.overflow="unset"},[e,r]),w.jsx(ga.div,{className:u(),onClick:t,children:w.jsx("div",{className:"relative",children:n})})}const Ji=({children:e,className:t,size:n="md",variant:r="primary",...i})=>w.jsx("button",{className:Ke("rounded-lg text-xs flex items-center justify-center","disabled:bg-brand-disabled disabled:text-white disabled:cursor-not-allowed","hover:bg-brand-secondary hover:text-white","transition hover:transition",{"bg-brand-primary text-white":r==="primary"||r==="remove","bg-brand-tertiary-light text-brand-primary":r==="secondary"},{"h-5 gap-1.5":r!=="remove"&&n==="sm","h-9 gap-2":r!=="remove"&&n==="md","h-9":r==="remove"},{"w-full":r!=="remove","w-9":r==="remove"},{className:t!==""}),...i,children:e}),H7=({children:e,className:t,...n})=>w.jsx("div",{className:Ke("w-full px-3 py-3.5 rounded","bg-white dark:bg-brand-background-dark","shadow-md hover:shadow-lg hover:transition-shadow transition-shadow",t),...n,children:e}),W7=({label:e,name:t,className:n,...r})=>w.jsx("div",{className:Ke("bg-brand-light-gray rounded-lg inline-block p-1.5 transition w-full","border-2 border-transparent focus-within:border-brand-primary focus-within:transition",{className:n!==""}),children:w.jsxs("label",{htmlFor:(r==null?void 0:r.id)||t,className:Ke("relative","flex gap-2 items-center"),children:[w.jsx("input",{name:t,type:"checkbox",className:Ke("relative appearance-none w-5 h-5 border rounded-md text-brand-primary cursor-pointer transition-all focus:ring-0 focus:ring-offset-0 focus:outline-none","checked:after:absolute checked:before:absolute","checked:after:inset-0 checked:before:inset-0","checked:after:rounded-md checked:before:rounded-md checked:before:content-[✓] text-brand-primary","checked:after:scale-75","checked:border-2"),...r}),w.jsx("span",{className:"text-xs text-brand-secondary-text",children:e})]})});var Pn={},ma={},X7=typeof ar=="object"&&ar&&ar.Object===Object&&ar,Vg=X7,z7=Vg,Z7=typeof self=="object"&&self&&self.Object===Object&&self,U7=z7||Z7||Function("return this")(),Yn=U7,Y7=Yn,J7=Y7.Symbol,va=J7,Bg=va,$g=Object.prototype,K7=$g.hasOwnProperty,q7=$g.toString,ba=Bg?Bg.toStringTag:void 0;function Q7(e){var t=K7.call(e,ba),n=e[ba];try{e[ba]=void 0;var r=!0}catch{}var i=q7.call(e);return r&&(t?e[ba]=n:delete e[ba]),i}var e8=Q7,t8=Object.prototype,n8=t8.toString;function r8(e){return n8.call(e)}var i8=r8,Dg=va,o8=e8,a8=i8,s8="[object Null]",l8="[object Undefined]",Ng=Dg?Dg.toStringTag:void 0;function u8(e){return e==null?e===void 0?l8:s8:Ng&&Ng in Object(e)?o8(e):a8(e)}var di=u8,c8=Array.isArray,Nn=c8;function f8(e){return e!=null&&typeof e=="object"}var fr=f8,d8=di,h8=Nn,p8=fr,g8="[object String]";function m8(e){return typeof e=="string"||!h8(e)&&p8(e)&&d8(e)==g8}var v8=m8;function b8(e){return function(t,n,r){for(var i=-1,a=Object(t),l=r(t),u=l.length;u--;){var c=l[e?u:++i];if(n(a[c],c,a)===!1)break}return t}}var y8=b8,C8=y8,x8=C8(),w8=x8;function S8(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var I8=S8,E8=di,A8=fr,_8="[object Arguments]";function P8(e){return A8(e)&&E8(e)==_8}var T8=P8,Lg=T8,M8=fr,jg=Object.prototype,O8=jg.hasOwnProperty,F8=jg.propertyIsEnumerable,R8=Lg(function(){return arguments}())?Lg:function(e){return M8(e)&&O8.call(e,"callee")&&!F8.call(e,"callee")},kg=R8,Xs={exports:{}};function V8(){return!1}var B8=V8;Xs.exports,function(e,t){var n=Yn,r=B8,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,l=a&&a.exports===i,u=l?n.Buffer:void 0,c=u?u.isBuffer:void 0,f=c||r;e.exports=f}(Xs,Xs.exports);var Jc=Xs.exports,$8=9007199254740991,D8=/^(?:0|[1-9]\d*)$/;function N8(e,t){var n=typeof e;return t=t??$8,!!t&&(n=="number"||n!="symbol"&&D8.test(e))&&e>-1&&e%1==0&&e<t}var Gg=N8,L8=9007199254740991;function j8(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=L8}var Kc=j8,k8=di,G8=Kc,H8=fr,W8="[object Arguments]",X8="[object Array]",z8="[object Boolean]",Z8="[object Date]",U8="[object Error]",Y8="[object Function]",J8="[object Map]",K8="[object Number]",q8="[object Object]",Q8="[object RegExp]",ew="[object Set]",tw="[object String]",nw="[object WeakMap]",rw="[object ArrayBuffer]",iw="[object DataView]",ow="[object Float32Array]",aw="[object Float64Array]",sw="[object Int8Array]",lw="[object Int16Array]",uw="[object Int32Array]",cw="[object Uint8Array]",fw="[object Uint8ClampedArray]",dw="[object Uint16Array]",hw="[object Uint32Array]",xt={};xt[ow]=xt[aw]=xt[sw]=xt[lw]=xt[uw]=xt[cw]=xt[fw]=xt[dw]=xt[hw]=!0,xt[W8]=xt[X8]=xt[rw]=xt[z8]=xt[iw]=xt[Z8]=xt[U8]=xt[Y8]=xt[J8]=xt[K8]=xt[q8]=xt[Q8]=xt[ew]=xt[tw]=xt[nw]=!1;function pw(e){return H8(e)&&G8(e.length)&&!!xt[k8(e)]}var gw=pw;function mw(e){return function(t){return e(t)}}var qc=mw,zs={exports:{}};zs.exports,function(e,t){var n=Vg,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a&&n.process,u=function(){try{var c=i&&i.require&&i.require("util").types;return c||l&&l.binding&&l.binding("util")}catch{}}();e.exports=u}(zs,zs.exports);var Qc=zs.exports,vw=gw,bw=qc,Hg=Qc,Wg=Hg&&Hg.isTypedArray,yw=Wg?bw(Wg):vw,Xg=yw,Cw=I8,xw=kg,ww=Nn,Sw=Jc,Iw=Gg,Ew=Xg,Aw=Object.prototype,_w=Aw.hasOwnProperty;function Pw(e,t){var n=ww(e),r=!n&&xw(e),i=!n&&!r&&Sw(e),a=!n&&!r&&!i&&Ew(e),l=n||r||i||a,u=l?Cw(e.length,String):[],c=u.length;for(var f in e)(t||_w.call(e,f))&&!(l&&(f=="length"||i&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Iw(f,c)))&&u.push(f);return u}var zg=Pw,Tw=Object.prototype;function Mw(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Tw;return e===n}var ef=Mw;function Ow(e,t){return function(n){return e(t(n))}}var Zg=Ow,Fw=Zg,Rw=Fw(Object.keys,Object),Vw=Rw,Bw=ef,$w=Vw,Dw=Object.prototype,Nw=Dw.hasOwnProperty;function Lw(e){if(!Bw(e))return $w(e);var t=[];for(var n in Object(e))Nw.call(e,n)&&n!="constructor"&&t.push(n);return t}var jw=Lw;function kw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ki=kw,Gw=di,Hw=Ki,Ww="[object AsyncFunction]",Xw="[object Function]",zw="[object GeneratorFunction]",Zw="[object Proxy]";function Uw(e){if(!Hw(e))return!1;var t=Gw(e);return t==Xw||t==zw||t==Ww||t==Zw}var Ug=Uw,Yw=Ug,Jw=Kc;function Kw(e){return e!=null&&Jw(e.length)&&!Yw(e)}var Zs=Kw,qw=zg,Qw=jw,eS=Zs;function tS(e){return eS(e)?qw(e):Qw(e)}var ya=tS,nS=w8,rS=ya;function iS(e,t){return e&&nS(e,t,rS)}var Yg=iS;function oS(e){return e}var Jg=oS,aS=Jg;function sS(e){return typeof e=="function"?e:aS}var lS=sS,uS=Yg,cS=lS;function fS(e,t){return e&&uS(e,cS(t))}var tf=fS,dS=Zg,hS=dS(Object.getPrototypeOf,Object),nf=hS,pS=di,gS=nf,mS=fr,vS="[object Object]",bS=Function.prototype,yS=Object.prototype,Kg=bS.toString,CS=yS.hasOwnProperty,xS=Kg.call(Object);function wS(e){if(!mS(e)||pS(e)!=vS)return!1;var t=gS(e);if(t===null)return!0;var n=CS.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Kg.call(n)==xS}var SS=wS;function IS(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var qg=IS;function ES(){this.__data__=[],this.size=0}var AS=ES;function _S(e,t){return e===t||e!==e&&t!==t}var rf=_S,PS=rf;function TS(e,t){for(var n=e.length;n--;)if(PS(e[n][0],t))return n;return-1}var Us=TS,MS=Us,OS=Array.prototype,FS=OS.splice;function RS(e){var t=this.__data__,n=MS(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():FS.call(t,n,1),--this.size,!0}var VS=RS,BS=Us;function $S(e){var t=this.__data__,n=BS(t,e);return n<0?void 0:t[n][1]}var DS=$S,NS=Us;function LS(e){return NS(this.__data__,e)>-1}var jS=LS,kS=Us;function GS(e,t){var n=this.__data__,r=kS(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var HS=GS,WS=AS,XS=VS,zS=DS,ZS=jS,US=HS;function qi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qi.prototype.clear=WS,qi.prototype.delete=XS,qi.prototype.get=zS,qi.prototype.has=ZS,qi.prototype.set=US;var Ys=qi,YS=Ys;function JS(){this.__data__=new YS,this.size=0}var KS=JS;function qS(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var QS=qS;function eI(e){return this.__data__.get(e)}var tI=eI;function nI(e){return this.__data__.has(e)}var rI=nI,iI=Yn,oI=iI["__core-js_shared__"],aI=oI,of=aI,Qg=function(){var e=/[^.]+$/.exec(of&&of.keys&&of.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function sI(e){return!!Qg&&Qg in e}var lI=sI,uI=Function.prototype,cI=uI.toString;function fI(e){if(e!=null){try{return cI.call(e)}catch{}try{return e+""}catch{}}return""}var em=fI,dI=Ug,hI=lI,pI=Ki,gI=em,mI=/[\\^$.*+?()[\]{}|]/g,vI=/^\[object .+?Constructor\]$/,bI=Function.prototype,yI=Object.prototype,CI=bI.toString,xI=yI.hasOwnProperty,wI=RegExp("^"+CI.call(xI).replace(mI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function SI(e){if(!pI(e)||hI(e))return!1;var t=dI(e)?wI:vI;return t.test(gI(e))}var II=SI;function EI(e,t){return e==null?void 0:e[t]}var AI=EI,_I=II,PI=AI;function TI(e,t){var n=PI(e,t);return _I(n)?n:void 0}var hi=TI,MI=hi,OI=Yn,FI=MI(OI,"Map"),af=FI,RI=hi,VI=RI(Object,"create"),Js=VI,tm=Js;function BI(){this.__data__=tm?tm(null):{},this.size=0}var $I=BI;function DI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var NI=DI,LI=Js,jI="__lodash_hash_undefined__",kI=Object.prototype,GI=kI.hasOwnProperty;function HI(e){var t=this.__data__;if(LI){var n=t[e];return n===jI?void 0:n}return GI.call(t,e)?t[e]:void 0}var WI=HI,XI=Js,zI=Object.prototype,ZI=zI.hasOwnProperty;function UI(e){var t=this.__data__;return XI?t[e]!==void 0:ZI.call(t,e)}var YI=UI,JI=Js,KI="__lodash_hash_undefined__";function qI(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=JI&&t===void 0?KI:t,this}var QI=qI,eE=$I,tE=NI,nE=WI,rE=YI,iE=QI;function Qi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Qi.prototype.clear=eE,Qi.prototype.delete=tE,Qi.prototype.get=nE,Qi.prototype.has=rE,Qi.prototype.set=iE;var oE=Qi,nm=oE,aE=Ys,sE=af;function lE(){this.size=0,this.__data__={hash:new nm,map:new(sE||aE),string:new nm}}var uE=lE;function cE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var fE=cE,dE=fE;function hE(e,t){var n=e.__data__;return dE(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Ks=hE,pE=Ks;function gE(e){var t=pE(this,e).delete(e);return this.size-=t?1:0,t}var mE=gE,vE=Ks;function bE(e){return vE(this,e).get(e)}var yE=bE,CE=Ks;function xE(e){return CE(this,e).has(e)}var wE=xE,SE=Ks;function IE(e,t){var n=SE(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var EE=IE,AE=uE,_E=mE,PE=yE,TE=wE,ME=EE;function eo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}eo.prototype.clear=AE,eo.prototype.delete=_E,eo.prototype.get=PE,eo.prototype.has=TE,eo.prototype.set=ME;var sf=eo,OE=Ys,FE=af,RE=sf,VE=200;function BE(e,t){var n=this.__data__;if(n instanceof OE){var r=n.__data__;if(!FE||r.length<VE-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new RE(r)}return n.set(e,t),this.size=n.size,this}var $E=BE,DE=Ys,NE=KS,LE=QS,jE=tI,kE=rI,GE=$E;function to(e){var t=this.__data__=new DE(e);this.size=t.size}to.prototype.clear=NE,to.prototype.delete=LE,to.prototype.get=jE,to.prototype.has=kE,to.prototype.set=GE;var lf=to,HE="__lodash_hash_undefined__";function WE(e){return this.__data__.set(e,HE),this}var XE=WE;function zE(e){return this.__data__.has(e)}var ZE=zE,UE=sf,YE=XE,JE=ZE;function qs(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new UE;++t<n;)this.add(e[t])}qs.prototype.add=qs.prototype.push=YE,qs.prototype.has=JE;var KE=qs;function qE(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var QE=qE;function eA(e,t){return e.has(t)}var tA=eA,nA=KE,rA=QE,iA=tA,oA=1,aA=2;function sA(e,t,n,r,i,a){var l=n&oA,u=e.length,c=t.length;if(u!=c&&!(l&&c>u))return!1;var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var p=-1,m=!0,v=n&aA?new nA:void 0;for(a.set(e,t),a.set(t,e);++p<u;){var S=e[p],x=t[p];if(r)var E=l?r(x,S,p,t,e,a):r(S,x,p,e,t,a);if(E!==void 0){if(E)continue;m=!1;break}if(v){if(!rA(t,function(A,O){if(!iA(v,O)&&(S===A||i(S,A,n,r,a)))return v.push(O)})){m=!1;break}}else if(!(S===x||i(S,x,n,r,a))){m=!1;break}}return a.delete(e),a.delete(t),m}var rm=sA,lA=Yn,uA=lA.Uint8Array,im=uA;function cA(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var fA=cA;function dA(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var hA=dA,om=va,am=im,pA=rf,gA=rm,mA=fA,vA=hA,bA=1,yA=2,CA="[object Boolean]",xA="[object Date]",wA="[object Error]",SA="[object Map]",IA="[object Number]",EA="[object RegExp]",AA="[object Set]",_A="[object String]",PA="[object Symbol]",TA="[object ArrayBuffer]",MA="[object DataView]",sm=om?om.prototype:void 0,uf=sm?sm.valueOf:void 0;function OA(e,t,n,r,i,a,l){switch(n){case MA:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case TA:return!(e.byteLength!=t.byteLength||!a(new am(e),new am(t)));case CA:case xA:case IA:return pA(+e,+t);case wA:return e.name==t.name&&e.message==t.message;case EA:case _A:return e==t+"";case SA:var u=mA;case AA:var c=r&bA;if(u||(u=vA),e.size!=t.size&&!c)return!1;var f=l.get(e);if(f)return f==t;r|=yA,l.set(e,t);var h=gA(u(e),u(t),r,i,a,l);return l.delete(e),h;case PA:if(uf)return uf.call(e)==uf.call(t)}return!1}var FA=OA;function RA(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var lm=RA,VA=lm,BA=Nn;function $A(e,t,n){var r=t(e);return BA(e)?r:VA(r,n(e))}var um=$A;function DA(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var l=e[n];t(l,n,e)&&(a[i++]=l)}return a}var NA=DA;function LA(){return[]}var cm=LA,jA=NA,kA=cm,GA=Object.prototype,HA=GA.propertyIsEnumerable,fm=Object.getOwnPropertySymbols,WA=fm?function(e){return e==null?[]:(e=Object(e),jA(fm(e),function(t){return HA.call(e,t)}))}:kA,cf=WA,XA=um,zA=cf,ZA=ya;function UA(e){return XA(e,ZA,zA)}var dm=UA,hm=dm,YA=1,JA=Object.prototype,KA=JA.hasOwnProperty;function qA(e,t,n,r,i,a){var l=n&YA,u=hm(e),c=u.length,f=hm(t),h=f.length;if(c!=h&&!l)return!1;for(var p=c;p--;){var m=u[p];if(!(l?m in t:KA.call(t,m)))return!1}var v=a.get(e),S=a.get(t);if(v&&S)return v==t&&S==e;var x=!0;a.set(e,t),a.set(t,e);for(var E=l;++p<c;){m=u[p];var A=e[m],O=t[m];if(r)var R=l?r(O,A,m,t,e,a):r(A,O,m,e,t,a);if(!(R===void 0?A===O||i(A,O,n,r,a):R)){x=!1;break}E||(E=m=="constructor")}if(x&&!E){var $=e.constructor,N=t.constructor;$!=N&&"constructor"in e&&"constructor"in t&&!(typeof $=="function"&&$ instanceof $&&typeof N=="function"&&N instanceof N)&&(x=!1)}return a.delete(e),a.delete(t),x}var QA=qA,e_=hi,t_=Yn,n_=e_(t_,"DataView"),r_=n_,i_=hi,o_=Yn,a_=i_(o_,"Promise"),s_=a_,l_=hi,u_=Yn,c_=l_(u_,"Set"),f_=c_,d_=hi,h_=Yn,p_=d_(h_,"WeakMap"),g_=p_,ff=r_,df=af,hf=s_,pf=f_,gf=g_,pm=di,no=em,gm="[object Map]",m_="[object Object]",mm="[object Promise]",vm="[object Set]",bm="[object WeakMap]",ym="[object DataView]",v_=no(ff),b_=no(df),y_=no(hf),C_=no(pf),x_=no(gf),pi=pm;(ff&&pi(new ff(new ArrayBuffer(1)))!=ym||df&&pi(new df)!=gm||hf&&pi(hf.resolve())!=mm||pf&&pi(new pf)!=vm||gf&&pi(new gf)!=bm)&&(pi=function(e){var t=pm(e),n=t==m_?e.constructor:void 0,r=n?no(n):"";if(r)switch(r){case v_:return ym;case b_:return gm;case y_:return mm;case C_:return vm;case x_:return bm}return t});var Qs=pi,mf=lf,w_=rm,S_=FA,I_=QA,Cm=Qs,xm=Nn,wm=Jc,E_=Xg,A_=1,Sm="[object Arguments]",Im="[object Array]",el="[object Object]",__=Object.prototype,Em=__.hasOwnProperty;function P_(e,t,n,r,i,a){var l=xm(e),u=xm(t),c=l?Im:Cm(e),f=u?Im:Cm(t);c=c==Sm?el:c,f=f==Sm?el:f;var h=c==el,p=f==el,m=c==f;if(m&&wm(e)){if(!wm(t))return!1;l=!0,h=!1}if(m&&!h)return a||(a=new mf),l||E_(e)?w_(e,t,n,r,i,a):S_(e,t,c,n,r,i,a);if(!(n&A_)){var v=h&&Em.call(e,"__wrapped__"),S=p&&Em.call(t,"__wrapped__");if(v||S){var x=v?e.value():e,E=S?t.value():t;return a||(a=new mf),i(x,E,n,r,a)}}return m?(a||(a=new mf),I_(e,t,n,r,i,a)):!1}var T_=P_,M_=T_,Am=fr;function _m(e,t,n,r,i){return e===t?!0:e==null||t==null||!Am(e)&&!Am(t)?e!==e&&t!==t:M_(e,t,n,r,_m,i)}var Pm=_m,O_=lf,F_=Pm,R_=1,V_=2;function B_(e,t,n,r){var i=n.length,a=i,l=!r;if(e==null)return!a;for(e=Object(e);i--;){var u=n[i];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<a;){u=n[i];var c=u[0],f=e[c],h=u[1];if(l&&u[2]){if(f===void 0&&!(c in e))return!1}else{var p=new O_;if(r)var m=r(f,h,c,e,t,p);if(!(m===void 0?F_(h,f,R_|V_,r,p):m))return!1}}return!0}var $_=B_,D_=Ki;function N_(e){return e===e&&!D_(e)}var Tm=N_,L_=Tm,j_=ya;function k_(e){for(var t=j_(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,L_(i)]}return t}var G_=k_;function H_(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Mm=H_,W_=$_,X_=G_,z_=Mm;function Z_(e){var t=X_(e);return t.length==1&&t[0][2]?z_(t[0][0],t[0][1]):function(n){return n===e||W_(n,e,t)}}var U_=Z_,Y_=di,J_=fr,K_="[object Symbol]";function q_(e){return typeof e=="symbol"||J_(e)&&Y_(e)==K_}var vf=q_,Q_=Nn,eP=vf,tP=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nP=/^\w*$/;function rP(e,t){if(Q_(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||eP(e)?!0:nP.test(e)||!tP.test(e)||t!=null&&e in Object(t)}var bf=rP,Om=sf,iP="Expected a function";function yf(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(iP);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var l=e.apply(this,r);return n.cache=a.set(i,l)||a,l};return n.cache=new(yf.Cache||Om),n}yf.Cache=Om;var oP=yf,aP=oP,sP=500;function lP(e){var t=aP(e,function(r){return n.size===sP&&n.clear(),r}),n=t.cache;return t}var uP=lP,cP=uP,fP=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dP=/\\(\\)?/g,hP=cP(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(fP,function(n,r,i,a){t.push(i?a.replace(dP,"$1"):r||n)}),t}),pP=hP,Fm=va,gP=qg,mP=Nn,vP=vf,Rm=Fm?Fm.prototype:void 0,Vm=Rm?Rm.toString:void 0;function Bm(e){if(typeof e=="string")return e;if(mP(e))return gP(e,Bm)+"";if(vP(e))return Vm?Vm.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var bP=Bm,yP=bP;function CP(e){return e==null?"":yP(e)}var xP=CP,wP=Nn,SP=bf,IP=pP,EP=xP;function AP(e,t){return wP(e)?e:SP(e,t)?[e]:IP(EP(e))}var $m=AP,_P=vf;function PP(e){if(typeof e=="string"||_P(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var tl=PP,TP=$m,MP=tl;function OP(e,t){t=TP(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[MP(t[n++])];return n&&n==r?e:void 0}var Dm=OP,FP=Dm;function RP(e,t,n){var r=e==null?void 0:FP(e,t);return r===void 0?n:r}var VP=RP;function BP(e,t){return e!=null&&t in Object(e)}var $P=BP,DP=$m,NP=kg,LP=Nn,jP=Gg,kP=Kc,GP=tl;function HP(e,t,n){t=DP(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var l=GP(t[r]);if(!(a=e!=null&&n(e,l)))break;e=e[l]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&kP(i)&&jP(l,i)&&(LP(e)||NP(e)))}var WP=HP,XP=$P,zP=WP;function ZP(e,t){return e!=null&&zP(e,t,XP)}var UP=ZP,YP=Pm,JP=VP,KP=UP,qP=bf,QP=Tm,eT=Mm,tT=tl,nT=1,rT=2;function iT(e,t){return qP(e)&&QP(t)?eT(tT(e),t):function(n){var r=JP(n,e);return r===void 0&&r===t?KP(n,e):YP(t,r,nT|rT)}}var oT=iT;function aT(e){return function(t){return t==null?void 0:t[e]}}var sT=aT,lT=Dm;function uT(e){return function(t){return lT(t,e)}}var cT=uT,fT=sT,dT=cT,hT=bf,pT=tl;function gT(e){return hT(e)?fT(pT(e)):dT(e)}var mT=gT,vT=U_,bT=oT,yT=Jg,CT=Nn,xT=mT;function wT(e){return typeof e=="function"?e:e==null?yT:typeof e=="object"?CT(e)?bT(e[0],e[1]):vT(e):xT(e)}var ST=wT,IT=Zs;function ET(e,t){return function(n,r){if(n==null)return n;if(!IT(n))return e(n,r);for(var i=n.length,a=t?i:-1,l=Object(n);(t?a--:++a<i)&&r(l[a],a,l)!==!1;);return n}}var AT=ET,_T=Yg,PT=AT,TT=PT(_T),MT=TT,OT=MT,FT=Zs;function RT(e,t){var n=-1,r=FT(e)?Array(e.length):[];return OT(e,function(i,a,l){r[++n]=t(i,a,l)}),r}var VT=RT,BT=qg,$T=ST,DT=VT,NT=Nn;function LT(e,t){var n=NT(e)?BT:DT;return n(e,$T(t))}var jT=LT;Object.defineProperty(ma,"__esModule",{value:!0}),ma.flattenNames=void 0;var kT=v8,GT=nl(kT),HT=tf,WT=nl(HT),XT=SS,zT=nl(XT),ZT=jT,UT=nl(ZT);function nl(e){return e&&e.__esModule?e:{default:e}}var YT=ma.flattenNames=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=[];return(0,UT.default)(t,function(r){Array.isArray(r)?e(r).map(function(i){return n.push(i)}):(0,zT.default)(r)?(0,WT.default)(r,function(i,a){i===!0&&n.push(a),n.push(a+"-"+i)}):(0,GT.default)(r)&&n.push(r)}),n};ma.default=YT;var Ca={};function JT(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var KT=JT,qT=hi,QT=function(){try{var e=qT(Object,"defineProperty");return e({},"",{}),e}catch{}}(),eM=QT,Nm=eM;function tM(e,t,n){t=="__proto__"&&Nm?Nm(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Lm=tM,nM=Lm,rM=rf,iM=Object.prototype,oM=iM.hasOwnProperty;function aM(e,t,n){var r=e[t];(!(oM.call(e,t)&&rM(r,n))||n===void 0&&!(t in e))&&nM(e,t,n)}var jm=aM,sM=jm,lM=Lm;function uM(e,t,n,r){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),i?lM(n,u,c):sM(n,u,c)}return n}var rl=uM,cM=rl,fM=ya;function dM(e,t){return e&&cM(t,fM(t),e)}var hM=dM;function pM(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var gM=pM,mM=Ki,vM=ef,bM=gM,yM=Object.prototype,CM=yM.hasOwnProperty;function xM(e){if(!mM(e))return bM(e);var t=vM(e),n=[];for(var r in e)r=="constructor"&&(t||!CM.call(e,r))||n.push(r);return n}var wM=xM,SM=zg,IM=wM,EM=Zs;function AM(e){return EM(e)?SM(e,!0):IM(e)}var Cf=AM,_M=rl,PM=Cf;function TM(e,t){return e&&_M(t,PM(t),e)}var MM=TM,il={exports:{}};il.exports,function(e,t){var n=Yn,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a?n.Buffer:void 0,u=l?l.allocUnsafe:void 0;function c(f,h){if(h)return f.slice();var p=f.length,m=u?u(p):new f.constructor(p);return f.copy(m),m}e.exports=c}(il,il.exports);var OM=il.exports;function FM(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var RM=FM,VM=rl,BM=cf;function $M(e,t){return VM(e,BM(e),t)}var DM=$M,NM=lm,LM=nf,jM=cf,kM=cm,GM=Object.getOwnPropertySymbols,HM=GM?function(e){for(var t=[];e;)NM(t,jM(e)),e=LM(e);return t}:kM,km=HM,WM=rl,XM=km;function zM(e,t){return WM(e,XM(e),t)}var ZM=zM,UM=um,YM=km,JM=Cf;function KM(e){return UM(e,JM,YM)}var qM=KM,QM=Object.prototype,eO=QM.hasOwnProperty;function tO(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&eO.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var nO=tO,Gm=im;function rO(e){var t=new e.constructor(e.byteLength);return new Gm(t).set(new Gm(e)),t}var xf=rO,iO=xf;function oO(e,t){var n=t?iO(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var aO=oO,sO=/\w*$/;function lO(e){var t=new e.constructor(e.source,sO.exec(e));return t.lastIndex=e.lastIndex,t}var uO=lO,Hm=va,Wm=Hm?Hm.prototype:void 0,Xm=Wm?Wm.valueOf:void 0;function cO(e){return Xm?Object(Xm.call(e)):{}}var fO=cO,dO=xf;function hO(e,t){var n=t?dO(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var pO=hO,gO=xf,mO=aO,vO=uO,bO=fO,yO=pO,CO="[object Boolean]",xO="[object Date]",wO="[object Map]",SO="[object Number]",IO="[object RegExp]",EO="[object Set]",AO="[object String]",_O="[object Symbol]",PO="[object ArrayBuffer]",TO="[object DataView]",MO="[object Float32Array]",OO="[object Float64Array]",FO="[object Int8Array]",RO="[object Int16Array]",VO="[object Int32Array]",BO="[object Uint8Array]",$O="[object Uint8ClampedArray]",DO="[object Uint16Array]",NO="[object Uint32Array]";function LO(e,t,n){var r=e.constructor;switch(t){case PO:return gO(e);case CO:case xO:return new r(+e);case TO:return mO(e,n);case MO:case OO:case FO:case RO:case VO:case BO:case $O:case DO:case NO:return yO(e,n);case wO:return new r;case SO:case AO:return new r(e);case IO:return vO(e);case EO:return new r;case _O:return bO(e)}}var jO=LO,kO=Ki,zm=Object.create,GO=function(){function e(){}return function(t){if(!kO(t))return{};if(zm)return zm(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),HO=GO,WO=HO,XO=nf,zO=ef;function ZO(e){return typeof e.constructor=="function"&&!zO(e)?WO(XO(e)):{}}var UO=ZO,YO=Qs,JO=fr,KO="[object Map]";function qO(e){return JO(e)&&YO(e)==KO}var QO=qO,eF=QO,tF=qc,Zm=Qc,Um=Zm&&Zm.isMap,nF=Um?tF(Um):eF,rF=nF,iF=Qs,oF=fr,aF="[object Set]";function sF(e){return oF(e)&&iF(e)==aF}var lF=sF,uF=lF,cF=qc,Ym=Qc,Jm=Ym&&Ym.isSet,fF=Jm?cF(Jm):uF,dF=fF,hF=lf,pF=KT,gF=jm,mF=hM,vF=MM,bF=OM,yF=RM,CF=DM,xF=ZM,wF=dm,SF=qM,IF=Qs,EF=nO,AF=jO,_F=UO,PF=Nn,TF=Jc,MF=rF,OF=Ki,FF=dF,RF=ya,VF=Cf,BF=1,$F=2,DF=4,Km="[object Arguments]",NF="[object Array]",LF="[object Boolean]",jF="[object Date]",kF="[object Error]",qm="[object Function]",GF="[object GeneratorFunction]",HF="[object Map]",WF="[object Number]",Qm="[object Object]",XF="[object RegExp]",zF="[object Set]",ZF="[object String]",UF="[object Symbol]",YF="[object WeakMap]",JF="[object ArrayBuffer]",KF="[object DataView]",qF="[object Float32Array]",QF="[object Float64Array]",eR="[object Int8Array]",tR="[object Int16Array]",nR="[object Int32Array]",rR="[object Uint8Array]",iR="[object Uint8ClampedArray]",oR="[object Uint16Array]",aR="[object Uint32Array]",yt={};yt[Km]=yt[NF]=yt[JF]=yt[KF]=yt[LF]=yt[jF]=yt[qF]=yt[QF]=yt[eR]=yt[tR]=yt[nR]=yt[HF]=yt[WF]=yt[Qm]=yt[XF]=yt[zF]=yt[ZF]=yt[UF]=yt[rR]=yt[iR]=yt[oR]=yt[aR]=!0,yt[kF]=yt[qm]=yt[YF]=!1;function ol(e,t,n,r,i,a){var l,u=t&BF,c=t&$F,f=t&DF;if(n&&(l=i?n(e,r,i,a):n(e)),l!==void 0)return l;if(!OF(e))return e;var h=PF(e);if(h){if(l=EF(e),!u)return yF(e,l)}else{var p=IF(e),m=p==qm||p==GF;if(TF(e))return bF(e,u);if(p==Qm||p==Km||m&&!i){if(l=c||m?{}:_F(e),!u)return c?xF(e,vF(l,e)):CF(e,mF(l,e))}else{if(!yt[p])return i?e:{};l=AF(e,p,u)}}a||(a=new hF);var v=a.get(e);if(v)return v;a.set(e,l),FF(e)?e.forEach(function(E){l.add(ol(E,t,n,E,e,a))}):MF(e)&&e.forEach(function(E,A){l.set(A,ol(E,t,n,A,e,a))});var S=f?c?SF:wF:c?VF:RF,x=h?void 0:S(e);return pF(x||e,function(E,A){x&&(A=E,E=e[A]),gF(l,A,ol(E,t,n,A,e,a))}),l}var sR=ol,lR=sR,uR=1,cR=4;function fR(e){return lR(e,uR|cR)}var dR=fR;Object.defineProperty(Ca,"__esModule",{value:!0}),Ca.mergeClasses=void 0;var hR=tf,pR=e2(hR),gR=dR,mR=e2(gR),vR=Object.assign||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};function e2(e){return e&&e.__esModule?e:{default:e}}var bR=Ca.mergeClasses=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=t.default&&(0,mR.default)(t.default)||{};return n.map(function(i){var a=t[i];return a&&(0,pR.default)(a,function(l,u){r[u]||(r[u]={}),r[u]=vR({},r[u],a[u])}),i}),r};Ca.default=bR;var xa={};Object.defineProperty(xa,"__esModule",{value:!0}),xa.autoprefix=void 0;var yR=tf,t2=xR(yR),CR=Object.assign||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};function xR(e){return e&&e.__esModule?e:{default:e}}var wR={borderRadius:function(t){return{msBorderRadius:t,MozBorderRadius:t,OBorderRadius:t,WebkitBorderRadius:t,borderRadius:t}},boxShadow:function(t){return{msBoxShadow:t,MozBoxShadow:t,OBoxShadow:t,WebkitBoxShadow:t,boxShadow:t}},userSelect:function(t){return{WebkitTouchCallout:t,KhtmlUserSelect:t,MozUserSelect:t,msUserSelect:t,WebkitUserSelect:t,userSelect:t}},flex:function(t){return{WebkitBoxFlex:t,MozBoxFlex:t,WebkitFlex:t,msFlex:t,flex:t}},flexBasis:function(t){return{WebkitFlexBasis:t,flexBasis:t}},justifyContent:function(t){return{WebkitJustifyContent:t,justifyContent:t}},transition:function(t){return{msTransition:t,MozTransition:t,OTransition:t,WebkitTransition:t,transition:t}},transform:function(t){return{msTransform:t,MozTransform:t,OTransform:t,WebkitTransform:t,transform:t}},absolute:function(t){var n=t&&t.split(" ");return{position:"absolute",top:n&&n[0],right:n&&n[1],bottom:n&&n[2],left:n&&n[3]}},extend:function(t,n){var r=n[t];return r||{extend:t}}},SR=xa.autoprefix=function(t){var n={};return(0,t2.default)(t,function(r,i){var a={};(0,t2.default)(r,function(l,u){var c=wR[u];c?a=CR({},a,c(l)):a[u]=l}),n[i]=a}),n};xa.default=SR;var wa={};Object.defineProperty(wa,"__esModule",{value:!0}),wa.hover=void 0;var IR=Object.assign||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},ER=b,wf=AR(ER);function AR(e){return e&&e.__esModule?e:{default:e}}function _R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function PR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var TR=wa.hover=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){PR(i,r);function i(){var a,l,u,c;_R(this,i);for(var f=arguments.length,h=Array(f),p=0;p<f;p++)h[p]=arguments[p];return c=(l=(u=n2(this,(a=i.__proto__||Object.getPrototypeOf(i)).call.apply(a,[this].concat(h))),u),u.state={hover:!1},u.handleMouseOver=function(){return u.setState({hover:!0})},u.handleMouseOut=function(){return u.setState({hover:!1})},u.render=function(){return wf.default.createElement(n,{onMouseOver:u.handleMouseOver,onMouseOut:u.handleMouseOut},wf.default.createElement(t,IR({},u.props,u.state)))},l),n2(u,c)}return i}(wf.default.Component)};wa.default=TR;var Sa={};Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.active=void 0;var MR=Object.assign||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},OR=b,Sf=FR(OR);function FR(e){return e&&e.__esModule?e:{default:e}}function RR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function VR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var BR=Sa.active=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){VR(i,r);function i(){var a,l,u,c;RR(this,i);for(var f=arguments.length,h=Array(f),p=0;p<f;p++)h[p]=arguments[p];return c=(l=(u=r2(this,(a=i.__proto__||Object.getPrototypeOf(i)).call.apply(a,[this].concat(h))),u),u.state={active:!1},u.handleMouseDown=function(){return u.setState({active:!0})},u.handleMouseUp=function(){return u.setState({active:!1})},u.render=function(){return Sf.default.createElement(n,{onMouseDown:u.handleMouseDown,onMouseUp:u.handleMouseUp},Sf.default.createElement(t,MR({},u.props,u.state)))},l),r2(u,c)}return i}(Sf.default.Component)};Sa.default=BR;var If={};Object.defineProperty(If,"__esModule",{value:!0});var $R=function(t,n){var r={},i=function(l){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;r[l]=u};return t===0&&i("first-child"),t===n-1&&i("last-child"),(t===0||t%2===0)&&i("even"),Math.abs(t%2)===1&&i("odd"),i("nth-child",t),r};If.default=$R,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.ReactCSS=Pn.loop=Pn.handleActive=Ef=Pn.handleHover=Pn.hover=void 0;var DR=ma,NR=ro(DR),LR=Ca,jR=ro(LR),kR=xa,GR=ro(kR),HR=wa,i2=ro(HR),WR=Sa,XR=ro(WR),zR=If,ZR=ro(zR);function ro(e){return e&&e.__esModule?e:{default:e}}Pn.hover=i2.default;var Ef=Pn.handleHover=i2.default;Pn.handleActive=XR.default,Pn.loop=ZR.default;var UR=Pn.ReactCSS=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=(0,NR.default)(r),l=(0,jR.default)(t,a);return(0,GR.default)(l)},ke=Pn.default=UR,YR=function(t,n,r,i,a){var l=a.clientWidth,u=a.clientHeight,c=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,f=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,h=c-(a.getBoundingClientRect().left+window.pageXOffset),p=f-(a.getBoundingClientRect().top+window.pageYOffset);if(r==="vertical"){var m=void 0;if(p<0?m=0:p>u?m=1:m=Math.round(p*100/u)/100,n.a!==m)return{h:n.h,s:n.s,l:n.l,a:m,source:"rgb"}}else{var v=void 0;if(h<0?v=0:h>l?v=1:v=Math.round(h*100/l)/100,i!==v)return{h:n.h,s:n.s,l:n.l,a:v,source:"rgb"}}return null},Af={},JR=function(t,n,r,i){if(typeof document>"u"&&!i)return null;var a=i?new i:document.createElement("canvas");a.width=r*2,a.height=r*2;var l=a.getContext("2d");return l?(l.fillStyle=t,l.fillRect(0,0,a.width,a.height),l.fillStyle=n,l.fillRect(0,0,r,r),l.translate(r,r),l.fillRect(0,0,r,r),a.toDataURL()):null},KR=function(t,n,r,i){var a=t+"-"+n+"-"+r+(i?"-server":"");if(Af[a])return Af[a];var l=JR(t,n,r,i);return Af[a]=l,l},o2=Object.assign||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},io=function(t){var n=t.white,r=t.grey,i=t.size,a=t.renderers,l=t.borderRadius,u=t.boxShadow,c=t.children,f=ke({default:{grid:{borderRadius:l,boxShadow:u,absolute:"0px 0px 0px 0px",background:"url("+KR(n,r,i,a.canvas)+") center left"}}});return b.isValidElement(c)?b.cloneElement(c,o2({},c.props,{style:o2({},c.props.style,f.grid)})):b.createElement("div",{style:f.grid})};io.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var qR=Object.assign||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},QR=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function eV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function tV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _f=function(e){tV(t,e);function t(){var n,r,i,a;eV(this,t);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return a=(r=(i=a2(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(u))),i),i.handleChange=function(f){var h=YR(f,i.props.hsl,i.props.direction,i.props.a,i.container);h&&typeof i.props.onChange=="function"&&i.props.onChange(h,f)},i.handleMouseDown=function(f){i.handleChange(f),window.addEventListener("mousemove",i.handleChange),window.addEventListener("mouseup",i.handleMouseUp)},i.handleMouseUp=function(){i.unbindEventListeners()},i.unbindEventListeners=function(){window.removeEventListener("mousemove",i.handleChange),window.removeEventListener("mouseup",i.handleMouseUp)},r),a2(i,a)}return QR(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var r=this,i=this.props.rgb,a=ke({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+i.r+","+i.g+","+i.b+`, 0) 0%,
|
|
71
|
+
`),()=>{document.head.removeChild(f)}},[t]),ae.createElement(L7,{isPresent:t,childRef:r,sizeRef:i},ae.cloneElement(e,{ref:r}))}const Uc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:l})=>{const u=O0(j7),c=b.useId(),f=b.useMemo(()=>({id:c,initial:t,isPresent:n,custom:i,onExitComplete:h=>{u.set(h,!0);for(const p of u.values())if(!p)return;r&&r()},register:h=>(u.set(h,!1),()=>u.delete(h))}),a?void 0:[n]);return b.useMemo(()=>{u.forEach((h,p)=>u.set(p,!1))},[n]),ae.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),l==="popLayout"&&(e=ae.createElement(N7,{isPresent:n},e)),ae.createElement(ws.Provider,{value:f},e)};function j7(){return new Map}function k7(e){return b.useEffect(()=>()=>e(),[])}const fi=e=>e.key||"";function G7(e,t){e.forEach(n=>{const r=fi(n);t.set(r,n)})}function H7(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const Yc=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:a=!0,mode:l="sync"})=>{En(!i,"Replace exitBeforeEnter with mode='wait'");const u=b.useContext(oc).forceRender||D7()[0],c=Bg(),f=H7(e);let h=f;const p=b.useRef(new Map).current,m=b.useRef(h),v=b.useRef(new Map).current,I=b.useRef(!0);if(tc(()=>{I.current=!1,G7(f,v),m.current=h}),k7(()=>{I.current=!0,v.clear(),p.clear()}),I.current)return ae.createElement(ae.Fragment,null,h.map(F=>ae.createElement(Uc,{key:fi(F),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:a,mode:l},F)));h=[...h];const x=m.current.map(fi),E=f.map(fi),_=x.length;for(let F=0;F<_;F++){const M=x[F];E.indexOf(M)===-1&&!p.has(M)&&p.set(M,void 0)}return l==="wait"&&p.size&&(h=[]),p.forEach((F,M)=>{if(E.indexOf(M)!==-1)return;const $=v.get(M);if(!$)return;const D=x.indexOf(M);let H=F;if(!H){const z=()=>{p.delete(M);const U=Array.from(v.keys()).filter(se=>!E.includes(se));if(U.forEach(se=>v.delete(se)),m.current=f.filter(se=>{const Ae=fi(se);return Ae===M||U.includes(Ae)}),!p.size){if(c.current===!1)return;u(),r&&r()}};H=ae.createElement(Uc,{key:fi($),isPresent:!1,onExitComplete:z,custom:t,presenceAffectsLayout:a,mode:l},$),p.set(M,H)}h.splice(D,0,H)}),h=h.map(F=>{const M=F.key;return p.has(M)?F:ae.createElement(Uc,{key:fi(F),isPresent:!0,presenceAffectsLayout:a,mode:l},F)}),process.env.NODE_ENV!=="production"&&l==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),ae.createElement(ae.Fragment,null,p.size?h:h.map(F=>b.cloneElement(F)))};function Ws({isOpen:e,close:t,children:n,scrollToTop:r,isDialog:i=!1}){const[a,l]=b.useState(!1);b.useEffect(()=>{const c=()=>{l(window.innerHeight<window.innerWidth)};return window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)}},[]);const u=()=>i?Ke("transition inset-0 bg-black",{"absolute z-[90]":r&&e,"fixed z-[90]":!r&&e,"bg-opacity-0 pointer-events-none backdrop-blur-none w-0 h-0 hidden invisible":!e,"bg-opacity-40 backdrop-blur-sm overflow-y-scroll":e,"bottom-0":a}):Ke("transition inset-0 bg-black absolute z-[90]",{"bg-opacity-0 pointer-events-none backdrop-blur-none":!e,"bg-opacity-40 backdrop-blur-sm overflow-y-scroll":e,"bottom-0":a});return b.useEffect(()=>{e?(document.body.style.overflow="hidden",r&&window.scrollTo({top:0})):document.body.style.overflow="unset"},[e,r]),w.jsx(ga.div,{className:u(),onClick:t,children:w.jsx("div",{className:"relative",children:n})})}const Ji=({children:e,className:t,size:n="md",variant:r="primary",...i})=>w.jsx("button",{className:Ke("rounded-lg text-xs flex items-center justify-center","disabled:bg-brand-disabled disabled:text-white disabled:cursor-not-allowed","hover:bg-brand-secondary hover:text-white","transition hover:transition",{"bg-brand-primary text-white":r==="primary"||r==="remove","bg-brand-tertiary-light text-brand-primary":r==="secondary"},{"h-5 gap-1.5":r!=="remove"&&n==="sm","h-9 gap-2":r!=="remove"&&n==="md","h-9":r==="remove"},{"w-full":r!=="remove","w-9":r==="remove"},{className:t!==""}),...i,children:e}),W7=({children:e,className:t,...n})=>w.jsx("div",{className:Ke("w-full px-3 py-3.5 rounded","bg-white dark:bg-brand-background-dark","shadow-md hover:shadow-lg hover:transition-shadow transition-shadow",t),...n,children:e}),X7=({label:e,name:t,className:n,...r})=>w.jsx("div",{className:Ke("bg-brand-light-gray rounded-lg inline-block p-1.5 transition w-full","border-2 border-transparent focus-within:border-brand-primary focus-within:transition",{className:n!==""}),children:w.jsxs("label",{htmlFor:(r==null?void 0:r.id)||t,className:Ke("relative","flex gap-2 items-center"),children:[w.jsx("input",{name:t,type:"checkbox",className:Ke("relative appearance-none w-5 h-5 border rounded-md text-brand-primary cursor-pointer transition-all focus:ring-0 focus:ring-offset-0 focus:outline-none","checked:after:absolute checked:before:absolute","checked:after:inset-0 checked:before:inset-0","checked:after:rounded-md checked:before:rounded-md checked:before:content-[✓] text-brand-primary","checked:after:scale-75","checked:border-2"),...r}),w.jsx("span",{className:"text-xs text-brand-secondary-text",children:e})]})});var Pn={},ma={},z7=typeof ar=="object"&&ar&&ar.Object===Object&&ar,$g=z7,Z7=$g,U7=typeof self=="object"&&self&&self.Object===Object&&self,Y7=Z7||U7||Function("return this")(),Yn=Y7,J7=Yn,K7=J7.Symbol,va=K7,Dg=va,Lg=Object.prototype,q7=Lg.hasOwnProperty,Q7=Lg.toString,ba=Dg?Dg.toStringTag:void 0;function e8(e){var t=q7.call(e,ba),n=e[ba];try{e[ba]=void 0;var r=!0}catch{}var i=Q7.call(e);return r&&(t?e[ba]=n:delete e[ba]),i}var t8=e8,n8=Object.prototype,r8=n8.toString;function i8(e){return r8.call(e)}var o8=i8,Ng=va,a8=t8,s8=o8,l8="[object Null]",u8="[object Undefined]",jg=Ng?Ng.toStringTag:void 0;function c8(e){return e==null?e===void 0?u8:l8:jg&&jg in Object(e)?a8(e):s8(e)}var di=c8,f8=Array.isArray,Ln=f8;function d8(e){return e!=null&&typeof e=="object"}var fr=d8,h8=di,p8=Ln,g8=fr,m8="[object String]";function v8(e){return typeof e=="string"||!p8(e)&&g8(e)&&h8(e)==m8}var b8=v8;function y8(e){return function(t,n,r){for(var i=-1,a=Object(t),l=r(t),u=l.length;u--;){var c=l[e?u:++i];if(n(a[c],c,a)===!1)break}return t}}var C8=y8,x8=C8,w8=x8(),S8=w8;function I8(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var E8=I8,A8=di,_8=fr,P8="[object Arguments]";function T8(e){return _8(e)&&A8(e)==P8}var M8=T8,kg=M8,O8=fr,Gg=Object.prototype,F8=Gg.hasOwnProperty,R8=Gg.propertyIsEnumerable,V8=kg(function(){return arguments}())?kg:function(e){return O8(e)&&F8.call(e,"callee")&&!R8.call(e,"callee")},Hg=V8,Xs={exports:{}};function B8(){return!1}var $8=B8;Xs.exports,function(e,t){var n=Yn,r=$8,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,l=a&&a.exports===i,u=l?n.Buffer:void 0,c=u?u.isBuffer:void 0,f=c||r;e.exports=f}(Xs,Xs.exports);var Jc=Xs.exports,D8=9007199254740991,L8=/^(?:0|[1-9]\d*)$/;function N8(e,t){var n=typeof e;return t=t??D8,!!t&&(n=="number"||n!="symbol"&&L8.test(e))&&e>-1&&e%1==0&&e<t}var Wg=N8,j8=9007199254740991;function k8(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=j8}var Kc=k8,G8=di,H8=Kc,W8=fr,X8="[object Arguments]",z8="[object Array]",Z8="[object Boolean]",U8="[object Date]",Y8="[object Error]",J8="[object Function]",K8="[object Map]",q8="[object Number]",Q8="[object Object]",ew="[object RegExp]",tw="[object Set]",nw="[object String]",rw="[object WeakMap]",iw="[object ArrayBuffer]",ow="[object DataView]",aw="[object Float32Array]",sw="[object Float64Array]",lw="[object Int8Array]",uw="[object Int16Array]",cw="[object Int32Array]",fw="[object Uint8Array]",dw="[object Uint8ClampedArray]",hw="[object Uint16Array]",pw="[object Uint32Array]",xt={};xt[aw]=xt[sw]=xt[lw]=xt[uw]=xt[cw]=xt[fw]=xt[dw]=xt[hw]=xt[pw]=!0,xt[X8]=xt[z8]=xt[iw]=xt[Z8]=xt[ow]=xt[U8]=xt[Y8]=xt[J8]=xt[K8]=xt[q8]=xt[Q8]=xt[ew]=xt[tw]=xt[nw]=xt[rw]=!1;function gw(e){return W8(e)&&H8(e.length)&&!!xt[G8(e)]}var mw=gw;function vw(e){return function(t){return e(t)}}var qc=vw,zs={exports:{}};zs.exports,function(e,t){var n=$g,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a&&n.process,u=function(){try{var c=i&&i.require&&i.require("util").types;return c||l&&l.binding&&l.binding("util")}catch{}}();e.exports=u}(zs,zs.exports);var Qc=zs.exports,bw=mw,yw=qc,Xg=Qc,zg=Xg&&Xg.isTypedArray,Cw=zg?yw(zg):bw,Zg=Cw,xw=E8,ww=Hg,Sw=Ln,Iw=Jc,Ew=Wg,Aw=Zg,_w=Object.prototype,Pw=_w.hasOwnProperty;function Tw(e,t){var n=Sw(e),r=!n&&ww(e),i=!n&&!r&&Iw(e),a=!n&&!r&&!i&&Aw(e),l=n||r||i||a,u=l?xw(e.length,String):[],c=u.length;for(var f in e)(t||Pw.call(e,f))&&!(l&&(f=="length"||i&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Ew(f,c)))&&u.push(f);return u}var Ug=Tw,Mw=Object.prototype;function Ow(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Mw;return e===n}var ef=Ow;function Fw(e,t){return function(n){return e(t(n))}}var Yg=Fw,Rw=Yg,Vw=Rw(Object.keys,Object),Bw=Vw,$w=ef,Dw=Bw,Lw=Object.prototype,Nw=Lw.hasOwnProperty;function jw(e){if(!$w(e))return Dw(e);var t=[];for(var n in Object(e))Nw.call(e,n)&&n!="constructor"&&t.push(n);return t}var kw=jw;function Gw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ki=Gw,Hw=di,Ww=Ki,Xw="[object AsyncFunction]",zw="[object Function]",Zw="[object GeneratorFunction]",Uw="[object Proxy]";function Yw(e){if(!Ww(e))return!1;var t=Hw(e);return t==zw||t==Zw||t==Xw||t==Uw}var Jg=Yw,Jw=Jg,Kw=Kc;function qw(e){return e!=null&&Kw(e.length)&&!Jw(e)}var Zs=qw,Qw=Ug,eS=kw,tS=Zs;function nS(e){return tS(e)?Qw(e):eS(e)}var ya=nS,rS=S8,iS=ya;function oS(e,t){return e&&rS(e,t,iS)}var Kg=oS;function aS(e){return e}var qg=aS,sS=qg;function lS(e){return typeof e=="function"?e:sS}var uS=lS,cS=Kg,fS=uS;function dS(e,t){return e&&cS(e,fS(t))}var tf=dS,hS=Yg,pS=hS(Object.getPrototypeOf,Object),nf=pS,gS=di,mS=nf,vS=fr,bS="[object Object]",yS=Function.prototype,CS=Object.prototype,Qg=yS.toString,xS=CS.hasOwnProperty,wS=Qg.call(Object);function SS(e){if(!vS(e)||gS(e)!=bS)return!1;var t=mS(e);if(t===null)return!0;var n=xS.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Qg.call(n)==wS}var IS=SS;function ES(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var em=ES;function AS(){this.__data__=[],this.size=0}var _S=AS;function PS(e,t){return e===t||e!==e&&t!==t}var rf=PS,TS=rf;function MS(e,t){for(var n=e.length;n--;)if(TS(e[n][0],t))return n;return-1}var Us=MS,OS=Us,FS=Array.prototype,RS=FS.splice;function VS(e){var t=this.__data__,n=OS(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():RS.call(t,n,1),--this.size,!0}var BS=VS,$S=Us;function DS(e){var t=this.__data__,n=$S(t,e);return n<0?void 0:t[n][1]}var LS=DS,NS=Us;function jS(e){return NS(this.__data__,e)>-1}var kS=jS,GS=Us;function HS(e,t){var n=this.__data__,r=GS(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var WS=HS,XS=_S,zS=BS,ZS=LS,US=kS,YS=WS;function qi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qi.prototype.clear=XS,qi.prototype.delete=zS,qi.prototype.get=ZS,qi.prototype.has=US,qi.prototype.set=YS;var Ys=qi,JS=Ys;function KS(){this.__data__=new JS,this.size=0}var qS=KS;function QS(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var eI=QS;function tI(e){return this.__data__.get(e)}var nI=tI;function rI(e){return this.__data__.has(e)}var iI=rI,oI=Yn,aI=oI["__core-js_shared__"],sI=aI,of=sI,tm=function(){var e=/[^.]+$/.exec(of&&of.keys&&of.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function lI(e){return!!tm&&tm in e}var uI=lI,cI=Function.prototype,fI=cI.toString;function dI(e){if(e!=null){try{return fI.call(e)}catch{}try{return e+""}catch{}}return""}var nm=dI,hI=Jg,pI=uI,gI=Ki,mI=nm,vI=/[\\^$.*+?()[\]{}|]/g,bI=/^\[object .+?Constructor\]$/,yI=Function.prototype,CI=Object.prototype,xI=yI.toString,wI=CI.hasOwnProperty,SI=RegExp("^"+xI.call(wI).replace(vI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function II(e){if(!gI(e)||pI(e))return!1;var t=hI(e)?SI:bI;return t.test(mI(e))}var EI=II;function AI(e,t){return e==null?void 0:e[t]}var _I=AI,PI=EI,TI=_I;function MI(e,t){var n=TI(e,t);return PI(n)?n:void 0}var hi=MI,OI=hi,FI=Yn,RI=OI(FI,"Map"),af=RI,VI=hi,BI=VI(Object,"create"),Js=BI,rm=Js;function $I(){this.__data__=rm?rm(null):{},this.size=0}var DI=$I;function LI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var NI=LI,jI=Js,kI="__lodash_hash_undefined__",GI=Object.prototype,HI=GI.hasOwnProperty;function WI(e){var t=this.__data__;if(jI){var n=t[e];return n===kI?void 0:n}return HI.call(t,e)?t[e]:void 0}var XI=WI,zI=Js,ZI=Object.prototype,UI=ZI.hasOwnProperty;function YI(e){var t=this.__data__;return zI?t[e]!==void 0:UI.call(t,e)}var JI=YI,KI=Js,qI="__lodash_hash_undefined__";function QI(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=KI&&t===void 0?qI:t,this}var eE=QI,tE=DI,nE=NI,rE=XI,iE=JI,oE=eE;function Qi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Qi.prototype.clear=tE,Qi.prototype.delete=nE,Qi.prototype.get=rE,Qi.prototype.has=iE,Qi.prototype.set=oE;var aE=Qi,im=aE,sE=Ys,lE=af;function uE(){this.size=0,this.__data__={hash:new im,map:new(lE||sE),string:new im}}var cE=uE;function fE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var dE=fE,hE=dE;function pE(e,t){var n=e.__data__;return hE(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Ks=pE,gE=Ks;function mE(e){var t=gE(this,e).delete(e);return this.size-=t?1:0,t}var vE=mE,bE=Ks;function yE(e){return bE(this,e).get(e)}var CE=yE,xE=Ks;function wE(e){return xE(this,e).has(e)}var SE=wE,IE=Ks;function EE(e,t){var n=IE(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var AE=EE,_E=cE,PE=vE,TE=CE,ME=SE,OE=AE;function eo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}eo.prototype.clear=_E,eo.prototype.delete=PE,eo.prototype.get=TE,eo.prototype.has=ME,eo.prototype.set=OE;var sf=eo,FE=Ys,RE=af,VE=sf,BE=200;function $E(e,t){var n=this.__data__;if(n instanceof FE){var r=n.__data__;if(!RE||r.length<BE-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new VE(r)}return n.set(e,t),this.size=n.size,this}var DE=$E,LE=Ys,NE=qS,jE=eI,kE=nI,GE=iI,HE=DE;function to(e){var t=this.__data__=new LE(e);this.size=t.size}to.prototype.clear=NE,to.prototype.delete=jE,to.prototype.get=kE,to.prototype.has=GE,to.prototype.set=HE;var lf=to,WE="__lodash_hash_undefined__";function XE(e){return this.__data__.set(e,WE),this}var zE=XE;function ZE(e){return this.__data__.has(e)}var UE=ZE,YE=sf,JE=zE,KE=UE;function qs(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new YE;++t<n;)this.add(e[t])}qs.prototype.add=qs.prototype.push=JE,qs.prototype.has=KE;var qE=qs;function QE(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var eA=QE;function tA(e,t){return e.has(t)}var nA=tA,rA=qE,iA=eA,oA=nA,aA=1,sA=2;function lA(e,t,n,r,i,a){var l=n&aA,u=e.length,c=t.length;if(u!=c&&!(l&&c>u))return!1;var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var p=-1,m=!0,v=n&sA?new rA:void 0;for(a.set(e,t),a.set(t,e);++p<u;){var I=e[p],x=t[p];if(r)var E=l?r(x,I,p,t,e,a):r(I,x,p,e,t,a);if(E!==void 0){if(E)continue;m=!1;break}if(v){if(!iA(t,function(_,F){if(!oA(v,F)&&(I===_||i(I,_,n,r,a)))return v.push(F)})){m=!1;break}}else if(!(I===x||i(I,x,n,r,a))){m=!1;break}}return a.delete(e),a.delete(t),m}var om=lA,uA=Yn,cA=uA.Uint8Array,am=cA;function fA(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var dA=fA;function hA(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var pA=hA,sm=va,lm=am,gA=rf,mA=om,vA=dA,bA=pA,yA=1,CA=2,xA="[object Boolean]",wA="[object Date]",SA="[object Error]",IA="[object Map]",EA="[object Number]",AA="[object RegExp]",_A="[object Set]",PA="[object String]",TA="[object Symbol]",MA="[object ArrayBuffer]",OA="[object DataView]",um=sm?sm.prototype:void 0,uf=um?um.valueOf:void 0;function FA(e,t,n,r,i,a,l){switch(n){case OA:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case MA:return!(e.byteLength!=t.byteLength||!a(new lm(e),new lm(t)));case xA:case wA:case EA:return gA(+e,+t);case SA:return e.name==t.name&&e.message==t.message;case AA:case PA:return e==t+"";case IA:var u=vA;case _A:var c=r&yA;if(u||(u=bA),e.size!=t.size&&!c)return!1;var f=l.get(e);if(f)return f==t;r|=CA,l.set(e,t);var h=mA(u(e),u(t),r,i,a,l);return l.delete(e),h;case TA:if(uf)return uf.call(e)==uf.call(t)}return!1}var RA=FA;function VA(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var cm=VA,BA=cm,$A=Ln;function DA(e,t,n){var r=t(e);return $A(e)?r:BA(r,n(e))}var fm=DA;function LA(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var l=e[n];t(l,n,e)&&(a[i++]=l)}return a}var NA=LA;function jA(){return[]}var dm=jA,kA=NA,GA=dm,HA=Object.prototype,WA=HA.propertyIsEnumerable,hm=Object.getOwnPropertySymbols,XA=hm?function(e){return e==null?[]:(e=Object(e),kA(hm(e),function(t){return WA.call(e,t)}))}:GA,cf=XA,zA=fm,ZA=cf,UA=ya;function YA(e){return zA(e,UA,ZA)}var pm=YA,gm=pm,JA=1,KA=Object.prototype,qA=KA.hasOwnProperty;function QA(e,t,n,r,i,a){var l=n&JA,u=gm(e),c=u.length,f=gm(t),h=f.length;if(c!=h&&!l)return!1;for(var p=c;p--;){var m=u[p];if(!(l?m in t:qA.call(t,m)))return!1}var v=a.get(e),I=a.get(t);if(v&&I)return v==t&&I==e;var x=!0;a.set(e,t),a.set(t,e);for(var E=l;++p<c;){m=u[p];var _=e[m],F=t[m];if(r)var M=l?r(F,_,m,t,e,a):r(_,F,m,e,t,a);if(!(M===void 0?_===F||i(_,F,n,r,a):M)){x=!1;break}E||(E=m=="constructor")}if(x&&!E){var $=e.constructor,D=t.constructor;$!=D&&"constructor"in e&&"constructor"in t&&!(typeof $=="function"&&$ instanceof $&&typeof D=="function"&&D instanceof D)&&(x=!1)}return a.delete(e),a.delete(t),x}var e_=QA,t_=hi,n_=Yn,r_=t_(n_,"DataView"),i_=r_,o_=hi,a_=Yn,s_=o_(a_,"Promise"),l_=s_,u_=hi,c_=Yn,f_=u_(c_,"Set"),d_=f_,h_=hi,p_=Yn,g_=h_(p_,"WeakMap"),m_=g_,ff=i_,df=af,hf=l_,pf=d_,gf=m_,mm=di,no=nm,vm="[object Map]",v_="[object Object]",bm="[object Promise]",ym="[object Set]",Cm="[object WeakMap]",xm="[object DataView]",b_=no(ff),y_=no(df),C_=no(hf),x_=no(pf),w_=no(gf),pi=mm;(ff&&pi(new ff(new ArrayBuffer(1)))!=xm||df&&pi(new df)!=vm||hf&&pi(hf.resolve())!=bm||pf&&pi(new pf)!=ym||gf&&pi(new gf)!=Cm)&&(pi=function(e){var t=mm(e),n=t==v_?e.constructor:void 0,r=n?no(n):"";if(r)switch(r){case b_:return xm;case y_:return vm;case C_:return bm;case x_:return ym;case w_:return Cm}return t});var Qs=pi,mf=lf,S_=om,I_=RA,E_=e_,wm=Qs,Sm=Ln,Im=Jc,A_=Zg,__=1,Em="[object Arguments]",Am="[object Array]",el="[object Object]",P_=Object.prototype,_m=P_.hasOwnProperty;function T_(e,t,n,r,i,a){var l=Sm(e),u=Sm(t),c=l?Am:wm(e),f=u?Am:wm(t);c=c==Em?el:c,f=f==Em?el:f;var h=c==el,p=f==el,m=c==f;if(m&&Im(e)){if(!Im(t))return!1;l=!0,h=!1}if(m&&!h)return a||(a=new mf),l||A_(e)?S_(e,t,n,r,i,a):I_(e,t,c,n,r,i,a);if(!(n&__)){var v=h&&_m.call(e,"__wrapped__"),I=p&&_m.call(t,"__wrapped__");if(v||I){var x=v?e.value():e,E=I?t.value():t;return a||(a=new mf),i(x,E,n,r,a)}}return m?(a||(a=new mf),E_(e,t,n,r,i,a)):!1}var M_=T_,O_=M_,Pm=fr;function Tm(e,t,n,r,i){return e===t?!0:e==null||t==null||!Pm(e)&&!Pm(t)?e!==e&&t!==t:O_(e,t,n,r,Tm,i)}var Mm=Tm,F_=lf,R_=Mm,V_=1,B_=2;function $_(e,t,n,r){var i=n.length,a=i,l=!r;if(e==null)return!a;for(e=Object(e);i--;){var u=n[i];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<a;){u=n[i];var c=u[0],f=e[c],h=u[1];if(l&&u[2]){if(f===void 0&&!(c in e))return!1}else{var p=new F_;if(r)var m=r(f,h,c,e,t,p);if(!(m===void 0?R_(h,f,V_|B_,r,p):m))return!1}}return!0}var D_=$_,L_=Ki;function N_(e){return e===e&&!L_(e)}var Om=N_,j_=Om,k_=ya;function G_(e){for(var t=k_(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,j_(i)]}return t}var H_=G_;function W_(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Fm=W_,X_=D_,z_=H_,Z_=Fm;function U_(e){var t=z_(e);return t.length==1&&t[0][2]?Z_(t[0][0],t[0][1]):function(n){return n===e||X_(n,e,t)}}var Y_=U_,J_=di,K_=fr,q_="[object Symbol]";function Q_(e){return typeof e=="symbol"||K_(e)&&J_(e)==q_}var vf=Q_,eP=Ln,tP=vf,nP=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rP=/^\w*$/;function iP(e,t){if(eP(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||tP(e)?!0:rP.test(e)||!nP.test(e)||t!=null&&e in Object(t)}var bf=iP,Rm=sf,oP="Expected a function";function yf(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(oP);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var l=e.apply(this,r);return n.cache=a.set(i,l)||a,l};return n.cache=new(yf.Cache||Rm),n}yf.Cache=Rm;var aP=yf,sP=aP,lP=500;function uP(e){var t=sP(e,function(r){return n.size===lP&&n.clear(),r}),n=t.cache;return t}var cP=uP,fP=cP,dP=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hP=/\\(\\)?/g,pP=fP(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(dP,function(n,r,i,a){t.push(i?a.replace(hP,"$1"):r||n)}),t}),gP=pP,Vm=va,mP=em,vP=Ln,bP=vf,Bm=Vm?Vm.prototype:void 0,$m=Bm?Bm.toString:void 0;function Dm(e){if(typeof e=="string")return e;if(vP(e))return mP(e,Dm)+"";if(bP(e))return $m?$m.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var yP=Dm,CP=yP;function xP(e){return e==null?"":CP(e)}var wP=xP,SP=Ln,IP=bf,EP=gP,AP=wP;function _P(e,t){return SP(e)?e:IP(e,t)?[e]:EP(AP(e))}var Lm=_P,PP=vf;function TP(e){if(typeof e=="string"||PP(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var tl=TP,MP=Lm,OP=tl;function FP(e,t){t=MP(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[OP(t[n++])];return n&&n==r?e:void 0}var Nm=FP,RP=Nm;function VP(e,t,n){var r=e==null?void 0:RP(e,t);return r===void 0?n:r}var BP=VP;function $P(e,t){return e!=null&&t in Object(e)}var DP=$P,LP=Lm,NP=Hg,jP=Ln,kP=Wg,GP=Kc,HP=tl;function WP(e,t,n){t=LP(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var l=HP(t[r]);if(!(a=e!=null&&n(e,l)))break;e=e[l]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&GP(i)&&kP(l,i)&&(jP(e)||NP(e)))}var XP=WP,zP=DP,ZP=XP;function UP(e,t){return e!=null&&ZP(e,t,zP)}var YP=UP,JP=Mm,KP=BP,qP=YP,QP=bf,eT=Om,tT=Fm,nT=tl,rT=1,iT=2;function oT(e,t){return QP(e)&&eT(t)?tT(nT(e),t):function(n){var r=KP(n,e);return r===void 0&&r===t?qP(n,e):JP(t,r,rT|iT)}}var aT=oT;function sT(e){return function(t){return t==null?void 0:t[e]}}var lT=sT,uT=Nm;function cT(e){return function(t){return uT(t,e)}}var fT=cT,dT=lT,hT=fT,pT=bf,gT=tl;function mT(e){return pT(e)?dT(gT(e)):hT(e)}var vT=mT,bT=Y_,yT=aT,CT=qg,xT=Ln,wT=vT;function ST(e){return typeof e=="function"?e:e==null?CT:typeof e=="object"?xT(e)?yT(e[0],e[1]):bT(e):wT(e)}var IT=ST,ET=Zs;function AT(e,t){return function(n,r){if(n==null)return n;if(!ET(n))return e(n,r);for(var i=n.length,a=t?i:-1,l=Object(n);(t?a--:++a<i)&&r(l[a],a,l)!==!1;);return n}}var _T=AT,PT=Kg,TT=_T,MT=TT(PT),OT=MT,FT=OT,RT=Zs;function VT(e,t){var n=-1,r=RT(e)?Array(e.length):[];return FT(e,function(i,a,l){r[++n]=t(i,a,l)}),r}var BT=VT,$T=em,DT=IT,LT=BT,NT=Ln;function jT(e,t){var n=NT(e)?$T:LT;return n(e,DT(t))}var kT=jT;Object.defineProperty(ma,"__esModule",{value:!0}),ma.flattenNames=void 0;var GT=b8,HT=nl(GT),WT=tf,XT=nl(WT),zT=IS,ZT=nl(zT),UT=kT,YT=nl(UT);function nl(e){return e&&e.__esModule?e:{default:e}}var JT=ma.flattenNames=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=[];return(0,YT.default)(t,function(r){Array.isArray(r)?e(r).map(function(i){return n.push(i)}):(0,ZT.default)(r)?(0,XT.default)(r,function(i,a){i===!0&&n.push(a),n.push(a+"-"+i)}):(0,HT.default)(r)&&n.push(r)}),n};ma.default=JT;var Ca={};function KT(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var qT=KT,QT=hi,eM=function(){try{var e=QT(Object,"defineProperty");return e({},"",{}),e}catch{}}(),tM=eM,jm=tM;function nM(e,t,n){t=="__proto__"&&jm?jm(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var km=nM,rM=km,iM=rf,oM=Object.prototype,aM=oM.hasOwnProperty;function sM(e,t,n){var r=e[t];(!(aM.call(e,t)&&iM(r,n))||n===void 0&&!(t in e))&&rM(e,t,n)}var Gm=sM,lM=Gm,uM=km;function cM(e,t,n,r){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),i?uM(n,u,c):lM(n,u,c)}return n}var rl=cM,fM=rl,dM=ya;function hM(e,t){return e&&fM(t,dM(t),e)}var pM=hM;function gM(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var mM=gM,vM=Ki,bM=ef,yM=mM,CM=Object.prototype,xM=CM.hasOwnProperty;function wM(e){if(!vM(e))return yM(e);var t=bM(e),n=[];for(var r in e)r=="constructor"&&(t||!xM.call(e,r))||n.push(r);return n}var SM=wM,IM=Ug,EM=SM,AM=Zs;function _M(e){return AM(e)?IM(e,!0):EM(e)}var Cf=_M,PM=rl,TM=Cf;function MM(e,t){return e&&PM(t,TM(t),e)}var OM=MM,il={exports:{}};il.exports,function(e,t){var n=Yn,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a?n.Buffer:void 0,u=l?l.allocUnsafe:void 0;function c(f,h){if(h)return f.slice();var p=f.length,m=u?u(p):new f.constructor(p);return f.copy(m),m}e.exports=c}(il,il.exports);var FM=il.exports;function RM(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var VM=RM,BM=rl,$M=cf;function DM(e,t){return BM(e,$M(e),t)}var LM=DM,NM=cm,jM=nf,kM=cf,GM=dm,HM=Object.getOwnPropertySymbols,WM=HM?function(e){for(var t=[];e;)NM(t,kM(e)),e=jM(e);return t}:GM,Hm=WM,XM=rl,zM=Hm;function ZM(e,t){return XM(e,zM(e),t)}var UM=ZM,YM=fm,JM=Hm,KM=Cf;function qM(e){return YM(e,KM,JM)}var QM=qM,eO=Object.prototype,tO=eO.hasOwnProperty;function nO(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&tO.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var rO=nO,Wm=am;function iO(e){var t=new e.constructor(e.byteLength);return new Wm(t).set(new Wm(e)),t}var xf=iO,oO=xf;function aO(e,t){var n=t?oO(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var sO=aO,lO=/\w*$/;function uO(e){var t=new e.constructor(e.source,lO.exec(e));return t.lastIndex=e.lastIndex,t}var cO=uO,Xm=va,zm=Xm?Xm.prototype:void 0,Zm=zm?zm.valueOf:void 0;function fO(e){return Zm?Object(Zm.call(e)):{}}var dO=fO,hO=xf;function pO(e,t){var n=t?hO(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var gO=pO,mO=xf,vO=sO,bO=cO,yO=dO,CO=gO,xO="[object Boolean]",wO="[object Date]",SO="[object Map]",IO="[object Number]",EO="[object RegExp]",AO="[object Set]",_O="[object String]",PO="[object Symbol]",TO="[object ArrayBuffer]",MO="[object DataView]",OO="[object Float32Array]",FO="[object Float64Array]",RO="[object Int8Array]",VO="[object Int16Array]",BO="[object Int32Array]",$O="[object Uint8Array]",DO="[object Uint8ClampedArray]",LO="[object Uint16Array]",NO="[object Uint32Array]";function jO(e,t,n){var r=e.constructor;switch(t){case TO:return mO(e);case xO:case wO:return new r(+e);case MO:return vO(e,n);case OO:case FO:case RO:case VO:case BO:case $O:case DO:case LO:case NO:return CO(e,n);case SO:return new r;case IO:case _O:return new r(e);case EO:return bO(e);case AO:return new r;case PO:return yO(e)}}var kO=jO,GO=Ki,Um=Object.create,HO=function(){function e(){}return function(t){if(!GO(t))return{};if(Um)return Um(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),WO=HO,XO=WO,zO=nf,ZO=ef;function UO(e){return typeof e.constructor=="function"&&!ZO(e)?XO(zO(e)):{}}var YO=UO,JO=Qs,KO=fr,qO="[object Map]";function QO(e){return KO(e)&&JO(e)==qO}var eF=QO,tF=eF,nF=qc,Ym=Qc,Jm=Ym&&Ym.isMap,rF=Jm?nF(Jm):tF,iF=rF,oF=Qs,aF=fr,sF="[object Set]";function lF(e){return aF(e)&&oF(e)==sF}var uF=lF,cF=uF,fF=qc,Km=Qc,qm=Km&&Km.isSet,dF=qm?fF(qm):cF,hF=dF,pF=lf,gF=qT,mF=Gm,vF=pM,bF=OM,yF=FM,CF=VM,xF=LM,wF=UM,SF=pm,IF=QM,EF=Qs,AF=rO,_F=kO,PF=YO,TF=Ln,MF=Jc,OF=iF,FF=Ki,RF=hF,VF=ya,BF=Cf,$F=1,DF=2,LF=4,Qm="[object Arguments]",NF="[object Array]",jF="[object Boolean]",kF="[object Date]",GF="[object Error]",e2="[object Function]",HF="[object GeneratorFunction]",WF="[object Map]",XF="[object Number]",t2="[object Object]",zF="[object RegExp]",ZF="[object Set]",UF="[object String]",YF="[object Symbol]",JF="[object WeakMap]",KF="[object ArrayBuffer]",qF="[object DataView]",QF="[object Float32Array]",eR="[object Float64Array]",tR="[object Int8Array]",nR="[object Int16Array]",rR="[object Int32Array]",iR="[object Uint8Array]",oR="[object Uint8ClampedArray]",aR="[object Uint16Array]",sR="[object Uint32Array]",yt={};yt[Qm]=yt[NF]=yt[KF]=yt[qF]=yt[jF]=yt[kF]=yt[QF]=yt[eR]=yt[tR]=yt[nR]=yt[rR]=yt[WF]=yt[XF]=yt[t2]=yt[zF]=yt[ZF]=yt[UF]=yt[YF]=yt[iR]=yt[oR]=yt[aR]=yt[sR]=!0,yt[GF]=yt[e2]=yt[JF]=!1;function ol(e,t,n,r,i,a){var l,u=t&$F,c=t&DF,f=t&LF;if(n&&(l=i?n(e,r,i,a):n(e)),l!==void 0)return l;if(!FF(e))return e;var h=TF(e);if(h){if(l=AF(e),!u)return CF(e,l)}else{var p=EF(e),m=p==e2||p==HF;if(MF(e))return yF(e,u);if(p==t2||p==Qm||m&&!i){if(l=c||m?{}:PF(e),!u)return c?wF(e,bF(l,e)):xF(e,vF(l,e))}else{if(!yt[p])return i?e:{};l=_F(e,p,u)}}a||(a=new pF);var v=a.get(e);if(v)return v;a.set(e,l),RF(e)?e.forEach(function(E){l.add(ol(E,t,n,E,e,a))}):OF(e)&&e.forEach(function(E,_){l.set(_,ol(E,t,n,_,e,a))});var I=f?c?IF:SF:c?BF:VF,x=h?void 0:I(e);return gF(x||e,function(E,_){x&&(_=E,E=e[_]),mF(l,_,ol(E,t,n,_,e,a))}),l}var lR=ol,uR=lR,cR=1,fR=4;function dR(e){return uR(e,cR|fR)}var hR=dR;Object.defineProperty(Ca,"__esModule",{value:!0}),Ca.mergeClasses=void 0;var pR=tf,gR=n2(pR),mR=hR,vR=n2(mR),bR=Object.assign||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};function n2(e){return e&&e.__esModule?e:{default:e}}var yR=Ca.mergeClasses=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=t.default&&(0,vR.default)(t.default)||{};return n.map(function(i){var a=t[i];return a&&(0,gR.default)(a,function(l,u){r[u]||(r[u]={}),r[u]=bR({},r[u],a[u])}),i}),r};Ca.default=yR;var xa={};Object.defineProperty(xa,"__esModule",{value:!0}),xa.autoprefix=void 0;var CR=tf,r2=wR(CR),xR=Object.assign||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};function wR(e){return e&&e.__esModule?e:{default:e}}var SR={borderRadius:function(t){return{msBorderRadius:t,MozBorderRadius:t,OBorderRadius:t,WebkitBorderRadius:t,borderRadius:t}},boxShadow:function(t){return{msBoxShadow:t,MozBoxShadow:t,OBoxShadow:t,WebkitBoxShadow:t,boxShadow:t}},userSelect:function(t){return{WebkitTouchCallout:t,KhtmlUserSelect:t,MozUserSelect:t,msUserSelect:t,WebkitUserSelect:t,userSelect:t}},flex:function(t){return{WebkitBoxFlex:t,MozBoxFlex:t,WebkitFlex:t,msFlex:t,flex:t}},flexBasis:function(t){return{WebkitFlexBasis:t,flexBasis:t}},justifyContent:function(t){return{WebkitJustifyContent:t,justifyContent:t}},transition:function(t){return{msTransition:t,MozTransition:t,OTransition:t,WebkitTransition:t,transition:t}},transform:function(t){return{msTransform:t,MozTransform:t,OTransform:t,WebkitTransform:t,transform:t}},absolute:function(t){var n=t&&t.split(" ");return{position:"absolute",top:n&&n[0],right:n&&n[1],bottom:n&&n[2],left:n&&n[3]}},extend:function(t,n){var r=n[t];return r||{extend:t}}},IR=xa.autoprefix=function(t){var n={};return(0,r2.default)(t,function(r,i){var a={};(0,r2.default)(r,function(l,u){var c=SR[u];c?a=xR({},a,c(l)):a[u]=l}),n[i]=a}),n};xa.default=IR;var wa={};Object.defineProperty(wa,"__esModule",{value:!0}),wa.hover=void 0;var ER=Object.assign||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},AR=b,wf=_R(AR);function _R(e){return e&&e.__esModule?e:{default:e}}function PR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function TR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var MR=wa.hover=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){TR(i,r);function i(){var a,l,u,c;PR(this,i);for(var f=arguments.length,h=Array(f),p=0;p<f;p++)h[p]=arguments[p];return c=(l=(u=i2(this,(a=i.__proto__||Object.getPrototypeOf(i)).call.apply(a,[this].concat(h))),u),u.state={hover:!1},u.handleMouseOver=function(){return u.setState({hover:!0})},u.handleMouseOut=function(){return u.setState({hover:!1})},u.render=function(){return wf.default.createElement(n,{onMouseOver:u.handleMouseOver,onMouseOut:u.handleMouseOut},wf.default.createElement(t,ER({},u.props,u.state)))},l),i2(u,c)}return i}(wf.default.Component)};wa.default=MR;var Sa={};Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.active=void 0;var OR=Object.assign||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},FR=b,Sf=RR(FR);function RR(e){return e&&e.__esModule?e:{default:e}}function VR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function BR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var $R=Sa.active=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){BR(i,r);function i(){var a,l,u,c;VR(this,i);for(var f=arguments.length,h=Array(f),p=0;p<f;p++)h[p]=arguments[p];return c=(l=(u=o2(this,(a=i.__proto__||Object.getPrototypeOf(i)).call.apply(a,[this].concat(h))),u),u.state={active:!1},u.handleMouseDown=function(){return u.setState({active:!0})},u.handleMouseUp=function(){return u.setState({active:!1})},u.render=function(){return Sf.default.createElement(n,{onMouseDown:u.handleMouseDown,onMouseUp:u.handleMouseUp},Sf.default.createElement(t,OR({},u.props,u.state)))},l),o2(u,c)}return i}(Sf.default.Component)};Sa.default=$R;var If={};Object.defineProperty(If,"__esModule",{value:!0});var DR=function(t,n){var r={},i=function(l){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;r[l]=u};return t===0&&i("first-child"),t===n-1&&i("last-child"),(t===0||t%2===0)&&i("even"),Math.abs(t%2)===1&&i("odd"),i("nth-child",t),r};If.default=DR,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.ReactCSS=Pn.loop=Pn.handleActive=Ef=Pn.handleHover=Pn.hover=void 0;var LR=ma,NR=ro(LR),jR=Ca,kR=ro(jR),GR=xa,HR=ro(GR),WR=wa,a2=ro(WR),XR=Sa,zR=ro(XR),ZR=If,UR=ro(ZR);function ro(e){return e&&e.__esModule?e:{default:e}}Pn.hover=a2.default;var Ef=Pn.handleHover=a2.default;Pn.handleActive=zR.default,Pn.loop=UR.default;var YR=Pn.ReactCSS=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=(0,NR.default)(r),l=(0,kR.default)(t,a);return(0,HR.default)(l)},ke=Pn.default=YR,JR=function(t,n,r,i,a){var l=a.clientWidth,u=a.clientHeight,c=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,f=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,h=c-(a.getBoundingClientRect().left+window.pageXOffset),p=f-(a.getBoundingClientRect().top+window.pageYOffset);if(r==="vertical"){var m=void 0;if(p<0?m=0:p>u?m=1:m=Math.round(p*100/u)/100,n.a!==m)return{h:n.h,s:n.s,l:n.l,a:m,source:"rgb"}}else{var v=void 0;if(h<0?v=0:h>l?v=1:v=Math.round(h*100/l)/100,i!==v)return{h:n.h,s:n.s,l:n.l,a:v,source:"rgb"}}return null},Af={},KR=function(t,n,r,i){if(typeof document>"u"&&!i)return null;var a=i?new i:document.createElement("canvas");a.width=r*2,a.height=r*2;var l=a.getContext("2d");return l?(l.fillStyle=t,l.fillRect(0,0,a.width,a.height),l.fillStyle=n,l.fillRect(0,0,r,r),l.translate(r,r),l.fillRect(0,0,r,r),a.toDataURL()):null},qR=function(t,n,r,i){var a=t+"-"+n+"-"+r+(i?"-server":"");if(Af[a])return Af[a];var l=KR(t,n,r,i);return Af[a]=l,l},s2=Object.assign||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},io=function(t){var n=t.white,r=t.grey,i=t.size,a=t.renderers,l=t.borderRadius,u=t.boxShadow,c=t.children,f=ke({default:{grid:{borderRadius:l,boxShadow:u,absolute:"0px 0px 0px 0px",background:"url("+qR(n,r,i,a.canvas)+") center left"}}});return b.isValidElement(c)?b.cloneElement(c,s2({},c.props,{style:s2({},c.props.style,f.grid)})):b.createElement("div",{style:f.grid})};io.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var QR=Object.assign||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},eV=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function tV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function nV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _f=function(e){nV(t,e);function t(){var n,r,i,a;tV(this,t);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return a=(r=(i=l2(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(u))),i),i.handleChange=function(f){var h=JR(f,i.props.hsl,i.props.direction,i.props.a,i.container);h&&typeof i.props.onChange=="function"&&i.props.onChange(h,f)},i.handleMouseDown=function(f){i.handleChange(f),window.addEventListener("mousemove",i.handleChange),window.addEventListener("mouseup",i.handleMouseUp)},i.handleMouseUp=function(){i.unbindEventListeners()},i.unbindEventListeners=function(){window.removeEventListener("mousemove",i.handleChange),window.removeEventListener("mouseup",i.handleMouseUp)},r),l2(i,a)}return eV(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var r=this,i=this.props.rgb,a=ke({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+i.r+","+i.g+","+i.b+`, 0) 0%,
|
|
72
72
|
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:i.a*100+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+i.r+","+i.g+","+i.b+`, 0) 0%,
|
|
73
|
-
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)"},pointer:{left:0,top:i.a*100+"%"}},overwrite:
|
|
73
|
+
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)"},pointer:{left:0,top:i.a*100+"%"}},overwrite:QR({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return b.createElement("div",{style:a.alpha},b.createElement("div",{style:a.checkboard},b.createElement(io,{renderers:this.props.renderers})),b.createElement("div",{style:a.gradient}),b.createElement("div",{style:a.container,ref:function(u){return r.container=u},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},b.createElement("div",{style:a.pointer},this.props.pointer?b.createElement(this.props.pointer,this.props):b.createElement("div",{style:a.slider}))))}}]),t}(b.PureComponent||b.Component),rV=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function iV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aV(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function sV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var lV=1,u2=38,uV=40,cV=[u2,uV],fV=function(t){return cV.indexOf(t)>-1},dV=function(t){return Number(String(t).replace(/%/g,""))},hV=1,rt=function(e){sV(t,e);function t(n){oV(this,t);var r=aV(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(i){r.setUpdatedValue(i.target.value,i)},r.handleKeyDown=function(i){var a=dV(i.target.value);if(!isNaN(a)&&fV(i.keyCode)){var l=r.getArrowOffset(),u=i.keyCode===u2?a+l:a-l;r.setUpdatedValue(u,i)}},r.handleDrag=function(i){if(r.props.dragLabel){var a=Math.round(r.props.value+i.movementX);a>=0&&a<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(a),i)}},r.handleMouseDown=function(i){r.props.dragLabel&&(i.preventDefault(),r.handleDrag(i),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(n.value).toUpperCase(),blurValue:String(n.value).toUpperCase()},r.inputId="rc-editable-input-"+hV++,r}return rV(t,[{key:"componentDidUpdate",value:function(r,i){this.props.value!==this.state.value&&(r.value!==this.props.value||i.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(r){return iV({},this.props.label,r)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||lV}},{key:"setUpdatedValue",value:function(r,i){var a=this.props.label?this.getValueObjectWithLabel(r):r;this.props.onChange&&this.props.onChange(a,i),this.setState({value:r})}},{key:"render",value:function(){var r=this,i=ke({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return b.createElement("div",{style:i.wrap},b.createElement("input",{id:this.inputId,style:i.input,ref:function(l){return r.input=l},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?b.createElement("label",{htmlFor:this.inputId,style:i.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(b.PureComponent||b.Component),pV=function(t,n,r,i){var a=i.clientWidth,l=i.clientHeight,u=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,c=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,f=u-(i.getBoundingClientRect().left+window.pageXOffset),h=c-(i.getBoundingClientRect().top+window.pageYOffset);if(n==="vertical"){var p=void 0;if(h<0)p=359;else if(h>l)p=0;else{var m=-(h*100/l)+100;p=360*m/100}if(r.h!==p)return{h:p,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var v=void 0;if(f<0)v=0;else if(f>a)v=359;else{var I=f*100/a;v=360*I/100}if(r.h!==v)return{h:v,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null},gV=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function mV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function vV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var oo=function(e){vV(t,e);function t(){var n,r,i,a;mV(this,t);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return a=(r=(i=c2(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(u))),i),i.handleChange=function(f){var h=pV(f,i.props.direction,i.props.hsl,i.container);h&&typeof i.props.onChange=="function"&&i.props.onChange(h,f)},i.handleMouseDown=function(f){i.handleChange(f),window.addEventListener("mousemove",i.handleChange),window.addEventListener("mouseup",i.handleMouseUp)},i.handleMouseUp=function(){i.unbindEventListeners()},r),c2(i,a)}return gV(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var r=this,i=this.props.direction,a=i===void 0?"horizontal":i,l=ke({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:this.props.hsl.h*100/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-(this.props.hsl.h*100/360)+100+"%"}}},{vertical:a==="vertical"});return b.createElement("div",{style:l.hue},b.createElement("div",{className:"hue-"+a,style:l.container,ref:function(c){return r.container=c},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},b.createElement("style",null,`
|
|
74
74
|
.hue-horizontal {
|
|
75
75
|
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
|
|
76
76
|
33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
|
@@ -91,19 +91,19 @@ React keys must be passed directly to JSX without using spread:
|
|
|
91
91
|
*
|
|
92
92
|
* This source code is licensed under the MIT license found in the
|
|
93
93
|
* LICENSE file in the root directory of this source tree.
|
|
94
|
-
*/var
|
|
94
|
+
*/var f2;function bV(){if(f2)return dt;f2=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,I=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,F=e?Symbol.for("react.scope"):60119;function M(D){if(typeof D=="object"&&D!==null){var H=D.$$typeof;switch(H){case t:switch(D=D.type,D){case c:case f:case r:case a:case i:case p:return D;default:switch(D=D&&D.$$typeof,D){case u:case h:case I:case v:case l:return D;default:return H}}case n:return H}}}function $(D){return M(D)===f}return dt.AsyncMode=c,dt.ConcurrentMode=f,dt.ContextConsumer=u,dt.ContextProvider=l,dt.Element=t,dt.ForwardRef=h,dt.Fragment=r,dt.Lazy=I,dt.Memo=v,dt.Portal=n,dt.Profiler=a,dt.StrictMode=i,dt.Suspense=p,dt.isAsyncMode=function(D){return $(D)||M(D)===c},dt.isConcurrentMode=$,dt.isContextConsumer=function(D){return M(D)===u},dt.isContextProvider=function(D){return M(D)===l},dt.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===t},dt.isForwardRef=function(D){return M(D)===h},dt.isFragment=function(D){return M(D)===r},dt.isLazy=function(D){return M(D)===I},dt.isMemo=function(D){return M(D)===v},dt.isPortal=function(D){return M(D)===n},dt.isProfiler=function(D){return M(D)===a},dt.isStrictMode=function(D){return M(D)===i},dt.isSuspense=function(D){return M(D)===p},dt.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===f||D===a||D===i||D===p||D===m||typeof D=="object"&&D!==null&&(D.$$typeof===I||D.$$typeof===v||D.$$typeof===l||D.$$typeof===u||D.$$typeof===h||D.$$typeof===E||D.$$typeof===_||D.$$typeof===F||D.$$typeof===x)},dt.typeOf=M,dt}var ht={};/** @license React v16.13.1
|
|
95
95
|
* react-is.development.js
|
|
96
96
|
*
|
|
97
97
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
98
98
|
*
|
|
99
99
|
* This source code is licensed under the MIT license found in the
|
|
100
100
|
* LICENSE file in the root directory of this source tree.
|
|
101
|
-
*/var
|
|
101
|
+
*/var d2;function yV(){return d2||(d2=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,I=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,F=e?Symbol.for("react.scope"):60119;function M(K){return typeof K=="string"||typeof K=="function"||K===r||K===f||K===a||K===i||K===p||K===m||typeof K=="object"&&K!==null&&(K.$$typeof===I||K.$$typeof===v||K.$$typeof===l||K.$$typeof===u||K.$$typeof===h||K.$$typeof===E||K.$$typeof===_||K.$$typeof===F||K.$$typeof===x)}function $(K){if(typeof K=="object"&&K!==null){var fe=K.$$typeof;switch(fe){case t:var q=K.type;switch(q){case c:case f:case r:case a:case i:case p:return q;default:var de=q&&q.$$typeof;switch(de){case u:case h:case I:case v:case l:return de;default:return fe}}case n:return fe}}}var D=c,H=f,z=u,U=l,se=t,Ae=h,Xe=r,Ge=I,pe=v,Se=n,Te=a,be=i,Ve=p,ze=!1;function O(K){return ze||(ze=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(K)||$(K)===c}function T(K){return $(K)===f}function V(K){return $(K)===u}function R(K){return $(K)===l}function y(K){return typeof K=="object"&&K!==null&&K.$$typeof===t}function k(K){return $(K)===h}function ee(K){return $(K)===r}function oe(K){return $(K)===I}function Z(K){return $(K)===v}function J(K){return $(K)===n}function re(K){return $(K)===a}function ie(K){return $(K)===i}function ue(K){return $(K)===p}ht.AsyncMode=D,ht.ConcurrentMode=H,ht.ContextConsumer=z,ht.ContextProvider=U,ht.Element=se,ht.ForwardRef=Ae,ht.Fragment=Xe,ht.Lazy=Ge,ht.Memo=pe,ht.Portal=Se,ht.Profiler=Te,ht.StrictMode=be,ht.Suspense=Ve,ht.isAsyncMode=O,ht.isConcurrentMode=T,ht.isContextConsumer=V,ht.isContextProvider=R,ht.isElement=y,ht.isForwardRef=k,ht.isFragment=ee,ht.isLazy=oe,ht.isMemo=Z,ht.isPortal=J,ht.isProfiler=re,ht.isStrictMode=ie,ht.isSuspense=ue,ht.isValidElementType=M,ht.typeOf=$}()),ht}process.env.NODE_ENV==="production"?Tf.exports=bV():Tf.exports=yV();var Mf=Tf.exports;/*
|
|
102
102
|
object-assign
|
|
103
103
|
(c) Sindre Sorhus
|
|
104
104
|
@license MIT
|
|
105
|
-
*/var Of,
|
|
106
|
-
Valid keys: `+JSON.stringify(Object.keys(T),null," "));var K=ue(z,ie,k,ee,oe+"."+ie,n);if(K)return K}return null}return E(V)}function Se(T){switch(typeof T){case"number":case"string":case"undefined":return!0;case"boolean":return!T;case"object":if(Array.isArray(T))return T.every(Se);if(T===null||u(T))return!0;var V=p(T);if(V){var F=V.call(T),y;if(V!==T.entries){for(;!(y=F.next()).done;)if(!Se(y.value))return!1}else for(;!(y=F.next()).done;){var k=y.value;if(k&&!Se(k[1]))return!1}}else return!1;return!0;default:return!1}}function Te(T,V){return T==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function be(T){var V=typeof T;return Array.isArray(T)?"array":T instanceof RegExp?"object":Te(V,T)?"symbol":V}function Ve(T){if(typeof T>"u"||T===null)return""+T;var V=be(T);if(V==="object"){if(T instanceof Date)return"date";if(T instanceof RegExp)return"regexp"}return V}function ze(T){var V=Ve(T);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function M(T){return!T.constructor||!T.constructor.name?m:T.constructor.name}return v.checkPropTypes=i,v.resetWarningCache=i.resetWarningCache,v.PropTypes=v,v},$f}var Df,v2;function wV(){if(v2)return Df;v2=1;var e=Rf();function t(){}function n(){}return n.resetWarningCache=t,Df=function(){function r(l,u,c,f,h,p){if(p!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Df}if(process.env.NODE_ENV!=="production"){var SV=Mf,IV=!0;Pf.exports=xV()(SV.isElement,IV)}else Pf.exports=wV()();var EV=Pf.exports;const he=Yu(EV);function AV(){this.__data__=[],this.size=0}function Ia(e,t){return e===t||e!==e&&t!==t}function al(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1}var _V=Array.prototype,PV=_V.splice;function TV(e){var t=this.__data__,n=al(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():PV.call(t,n,1),--this.size,!0}function MV(e){var t=this.__data__,n=al(t,e);return n<0?void 0:t[n][1]}function OV(e){return al(this.__data__,e)>-1}function FV(e,t){var n=this.__data__,r=al(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function dr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}dr.prototype.clear=AV,dr.prototype.delete=TV,dr.prototype.get=MV,dr.prototype.has=OV,dr.prototype.set=FV;function RV(){this.__data__=new dr,this.size=0}function VV(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function BV(e){return this.__data__.get(e)}function $V(e){return this.__data__.has(e)}var b2=typeof global=="object"&&global&&global.Object===Object&&global,DV=typeof self=="object"&&self&&self.Object===Object&&self,Ln=b2||DV||Function("return this")(),Gr=Ln.Symbol,y2=Object.prototype,NV=y2.hasOwnProperty,LV=y2.toString,Ea=Gr?Gr.toStringTag:void 0;function jV(e){var t=NV.call(e,Ea),n=e[Ea];try{e[Ea]=void 0;var r=!0}catch{}var i=LV.call(e);return r&&(t?e[Ea]=n:delete e[Ea]),i}var kV=Object.prototype,GV=kV.toString;function HV(e){return GV.call(e)}var WV="[object Null]",XV="[object Undefined]",C2=Gr?Gr.toStringTag:void 0;function gi(e){return e==null?e===void 0?XV:WV:C2&&C2 in Object(e)?jV(e):HV(e)}function Tn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var zV="[object AsyncFunction]",ZV="[object Function]",UV="[object GeneratorFunction]",YV="[object Proxy]";function Nf(e){if(!Tn(e))return!1;var t=gi(e);return t==ZV||t==UV||t==zV||t==YV}var Lf=Ln["__core-js_shared__"],x2=function(){var e=/[^.]+$/.exec(Lf&&Lf.keys&&Lf.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function JV(e){return!!x2&&x2 in e}var KV=Function.prototype,qV=KV.toString;function mi(e){if(e!=null){try{return qV.call(e)}catch{}try{return e+""}catch{}}return""}var QV=/[\\^$.*+?()[\]{}|]/g,eB=/^\[object .+?Constructor\]$/,tB=Function.prototype,nB=Object.prototype,rB=tB.toString,iB=nB.hasOwnProperty,oB=RegExp("^"+rB.call(iB).replace(QV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function aB(e){if(!Tn(e)||JV(e))return!1;var t=Nf(e)?oB:eB;return t.test(mi(e))}function sB(e,t){return e==null?void 0:e[t]}function vi(e,t){var n=sB(e,t);return aB(n)?n:void 0}var Aa=vi(Ln,"Map"),_a=vi(Object,"create");function lB(){this.__data__=_a?_a(null):{},this.size=0}function uB(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var cB="__lodash_hash_undefined__",fB=Object.prototype,dB=fB.hasOwnProperty;function hB(e){var t=this.__data__;if(_a){var n=t[e];return n===cB?void 0:n}return dB.call(t,e)?t[e]:void 0}var pB=Object.prototype,gB=pB.hasOwnProperty;function mB(e){var t=this.__data__;return _a?t[e]!==void 0:gB.call(t,e)}var vB="__lodash_hash_undefined__";function bB(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_a&&t===void 0?vB:t,this}function bi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}bi.prototype.clear=lB,bi.prototype.delete=uB,bi.prototype.get=hB,bi.prototype.has=mB,bi.prototype.set=bB;function yB(){this.size=0,this.__data__={hash:new bi,map:new(Aa||dr),string:new bi}}function CB(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function sl(e,t){var n=e.__data__;return CB(t)?n[typeof t=="string"?"string":"hash"]:n.map}function xB(e){var t=sl(this,e).delete(e);return this.size-=t?1:0,t}function wB(e){return sl(this,e).get(e)}function SB(e){return sl(this,e).has(e)}function IB(e,t){var n=sl(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function hr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}hr.prototype.clear=yB,hr.prototype.delete=xB,hr.prototype.get=wB,hr.prototype.has=SB,hr.prototype.set=IB;var EB=200;function AB(e,t){var n=this.__data__;if(n instanceof dr){var r=n.__data__;if(!Aa||r.length<EB-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new hr(r)}return n.set(e,t),this.size=n.size,this}function Jn(e){var t=this.__data__=new dr(e);this.size=t.size}Jn.prototype.clear=RV,Jn.prototype.delete=VV,Jn.prototype.get=BV,Jn.prototype.has=$V,Jn.prototype.set=AB;var ll=function(){try{var e=vi(Object,"defineProperty");return e({},"",{}),e}catch{}}();function jf(e,t,n){t=="__proto__"&&ll?ll(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function kf(e,t,n){(n!==void 0&&!Ia(e[t],n)||n===void 0&&!(t in e))&&jf(e,t,n)}function _B(e){return function(t,n,r){for(var i=-1,a=Object(t),l=r(t),u=l.length;u--;){var c=l[++i];if(n(a[c],c,a)===!1)break}return t}}var w2=_B(),S2=typeof Me=="object"&&Me&&!Me.nodeType&&Me,I2=S2&&typeof module=="object"&&module&&!module.nodeType&&module,PB=I2&&I2.exports===S2,E2=PB?Ln.Buffer:void 0;E2&&E2.allocUnsafe;function TB(e,t){return e.slice()}var ul=Ln.Uint8Array;function MB(e){var t=new e.constructor(e.byteLength);return new ul(t).set(new ul(e)),t}function OB(e,t){var n=MB(e.buffer);return new e.constructor(n,e.byteOffset,e.length)}function FB(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var A2=Object.create,RB=function(){function e(){}return function(t){if(!Tn(t))return{};if(A2)return A2(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function _2(e,t){return function(n){return e(t(n))}}var P2=_2(Object.getPrototypeOf,Object),VB=Object.prototype;function Gf(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||VB;return e===n}function BB(e){return typeof e.constructor=="function"&&!Gf(e)?RB(P2(e)):{}}function Hr(e){return e!=null&&typeof e=="object"}var $B="[object Arguments]";function T2(e){return Hr(e)&&gi(e)==$B}var M2=Object.prototype,DB=M2.hasOwnProperty,NB=M2.propertyIsEnumerable,cl=T2(function(){return arguments}())?T2:function(e){return Hr(e)&&DB.call(e,"callee")&&!NB.call(e,"callee")},gn=Array.isArray,LB=9007199254740991;function Hf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=LB}function ao(e){return e!=null&&Hf(e.length)&&!Nf(e)}function jB(e){return Hr(e)&&ao(e)}function kB(){return!1}var O2=typeof Me=="object"&&Me&&!Me.nodeType&&Me,F2=O2&&typeof module=="object"&&module&&!module.nodeType&&module,GB=F2&&F2.exports===O2,R2=GB?Ln.Buffer:void 0,HB=R2?R2.isBuffer:void 0,fl=HB||kB,WB="[object Object]",XB=Function.prototype,zB=Object.prototype,V2=XB.toString,ZB=zB.hasOwnProperty,UB=V2.call(Object);function YB(e){if(!Hr(e)||gi(e)!=WB)return!1;var t=P2(e);if(t===null)return!0;var n=ZB.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&V2.call(n)==UB}var JB="[object Arguments]",KB="[object Array]",qB="[object Boolean]",QB="[object Date]",e$="[object Error]",t$="[object Function]",n$="[object Map]",r$="[object Number]",i$="[object Object]",o$="[object RegExp]",a$="[object Set]",s$="[object String]",l$="[object WeakMap]",u$="[object ArrayBuffer]",c$="[object DataView]",f$="[object Float32Array]",d$="[object Float64Array]",h$="[object Int8Array]",p$="[object Int16Array]",g$="[object Int32Array]",m$="[object Uint8Array]",v$="[object Uint8ClampedArray]",b$="[object Uint16Array]",y$="[object Uint32Array]",wt={};wt[f$]=wt[d$]=wt[h$]=wt[p$]=wt[g$]=wt[m$]=wt[v$]=wt[b$]=wt[y$]=!0,wt[JB]=wt[KB]=wt[u$]=wt[qB]=wt[c$]=wt[QB]=wt[e$]=wt[t$]=wt[n$]=wt[r$]=wt[i$]=wt[o$]=wt[a$]=wt[s$]=wt[l$]=!1;function C$(e){return Hr(e)&&Hf(e.length)&&!!wt[gi(e)]}function x$(e){return function(t){return e(t)}}var B2=typeof Me=="object"&&Me&&!Me.nodeType&&Me,Pa=B2&&typeof module=="object"&&module&&!module.nodeType&&module,w$=Pa&&Pa.exports===B2,Wf=w$&&b2.process,$2=function(){try{var e=Pa&&Pa.require&&Pa.require("util").types;return e||Wf&&Wf.binding&&Wf.binding("util")}catch{}}(),D2=$2&&$2.isTypedArray,Xf=D2?x$(D2):C$;function zf(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var S$=Object.prototype,I$=S$.hasOwnProperty;function E$(e,t,n){var r=e[t];(!(I$.call(e,t)&&Ia(r,n))||n===void 0&&!(t in e))&&jf(e,t,n)}function A$(e,t,n,r){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=void 0;c===void 0&&(c=e[u]),i?jf(n,u,c):E$(n,u,c)}return n}function _$(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var P$=9007199254740991,T$=/^(?:0|[1-9]\d*)$/;function Zf(e,t){var n=typeof e;return t=t??P$,!!t&&(n=="number"||n!="symbol"&&T$.test(e))&&e>-1&&e%1==0&&e<t}var M$=Object.prototype,O$=M$.hasOwnProperty;function N2(e,t){var n=gn(e),r=!n&&cl(e),i=!n&&!r&&fl(e),a=!n&&!r&&!i&&Xf(e),l=n||r||i||a,u=l?_$(e.length,String):[],c=u.length;for(var f in e)(t||O$.call(e,f))&&!(l&&(f=="length"||i&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Zf(f,c)))&&u.push(f);return u}function F$(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var R$=Object.prototype,V$=R$.hasOwnProperty;function B$(e){if(!Tn(e))return F$(e);var t=Gf(e),n=[];for(var r in e)r=="constructor"&&(t||!V$.call(e,r))||n.push(r);return n}function L2(e){return ao(e)?N2(e,!0):B$(e)}function $$(e){return A$(e,L2(e))}function D$(e,t,n,r,i,a,l){var u=zf(e,n),c=zf(t,n),f=l.get(c);if(f){kf(e,n,f);return}var h=a?a(u,c,n+"",e,t,l):void 0,p=h===void 0;if(p){var m=gn(c),v=!m&&fl(c),S=!m&&!v&&Xf(c);h=c,m||v||S?gn(u)?h=u:jB(u)?h=FB(u):v?(p=!1,h=TB(c)):S?(p=!1,h=OB(c)):h=[]:YB(c)||cl(c)?(h=u,cl(u)?h=$$(u):(!Tn(u)||Nf(u))&&(h=BB(c))):p=!1}p&&(l.set(c,h),i(h,c,r,a,l),l.delete(c)),kf(e,n,h)}function j2(e,t,n,r,i){e!==t&&w2(t,function(a,l){if(i||(i=new Jn),Tn(a))D$(e,t,l,n,j2,r,i);else{var u=r?r(zf(e,l),a,l+"",e,t,i):void 0;u===void 0&&(u=a),kf(e,l,u)}},L2)}function dl(e){return e}function N$(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var k2=Math.max;function L$(e,t,n){return t=k2(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=k2(r.length-t,0),l=Array(a);++i<a;)l[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(l),N$(e,this,u)}}function j$(e){return function(){return e}}var k$=ll?function(e,t){return ll(e,"toString",{configurable:!0,enumerable:!1,value:j$(t),writable:!0})}:dl,G$=800,H$=16,W$=Date.now;function X$(e){var t=0,n=0;return function(){var r=W$(),i=H$-(r-n);if(n=r,i>0){if(++t>=G$)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var z$=X$(k$);function Z$(e,t){return z$(L$(e,t,dl),e+"")}function U$(e,t,n){if(!Tn(n))return!1;var r=typeof t;return(r=="number"?ao(n)&&Zf(t,n.length):r=="string"&&t in n)?Ia(n[t],e):!1}function Y$(e){return Z$(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,l&&U$(n[0],n[1],l)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t})}var an=Y$(function(e,t,n){j2(e,t,n)}),Ta=function(t){var n=t.zDepth,r=t.radius,i=t.background,a=t.children,l=t.styles,u=l===void 0?{}:l,c=ke(an({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+n+"px "+n*4+"px rgba(0,0,0,.24)",borderRadius:r,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},u),{"zDepth-1":n===1});return b.createElement("div",{style:c.wrap},b.createElement("div",{style:c.bg}),b.createElement("div",{style:c.content},a))};Ta.propTypes={background:he.string,zDepth:he.oneOf([0,1,2,3,4,5]),radius:he.number,styles:he.object},Ta.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var Uf=function(){return Ln.Date.now()},J$=/\s/;function K$(e){for(var t=e.length;t--&&J$.test(e.charAt(t)););return t}var q$=/^\s+/;function Q$(e){return e&&e.slice(0,K$(e)+1).replace(q$,"")}var eD="[object Symbol]";function hl(e){return typeof e=="symbol"||Hr(e)&&gi(e)==eD}var G2=NaN,tD=/^[-+]0x[0-9a-f]+$/i,nD=/^0b[01]+$/i,rD=/^0o[0-7]+$/i,iD=parseInt;function H2(e){if(typeof e=="number")return e;if(hl(e))return G2;if(Tn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Tn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Q$(e);var n=nD.test(e);return n||rD.test(e)?iD(e.slice(2),n?2:8):tD.test(e)?G2:+e}var oD="Expected a function",aD=Math.max,sD=Math.min;function W2(e,t,n){var r,i,a,l,u,c,f=0,h=!1,p=!1,m=!0;if(typeof e!="function")throw new TypeError(oD);t=H2(t)||0,Tn(n)&&(h=!!n.leading,p="maxWait"in n,a=p?aD(H2(n.maxWait)||0,t):a,m="trailing"in n?!!n.trailing:m);function v(X){var Z=r,U=i;return r=i=void 0,f=X,l=e.apply(U,Z),l}function S(X){return f=X,u=setTimeout(A,t),h?v(X):l}function x(X){var Z=X-c,U=X-f,se=t-Z;return p?sD(se,a-U):se}function E(X){var Z=X-c,U=X-f;return c===void 0||Z>=t||Z<0||p&&U>=a}function A(){var X=Uf();if(E(X))return O(X);u=setTimeout(A,x(X))}function O(X){return u=void 0,m&&r?v(X):(r=i=void 0,l)}function R(){u!==void 0&&clearTimeout(u),f=0,r=c=i=u=void 0}function $(){return u===void 0?l:O(Uf())}function N(){var X=Uf(),Z=E(X);if(r=arguments,i=this,c=X,Z){if(u===void 0)return S(c);if(p)return clearTimeout(u),u=setTimeout(A,t),v(c)}return u===void 0&&(u=setTimeout(A,t)),l}return N.cancel=R,N.flush=$,N}var lD="Expected a function";function uD(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(lD);return Tn(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),W2(e,t,{leading:r,maxWait:t,trailing:i})}var cD=function(t,n,r){var i=r.getBoundingClientRect(),a=i.width,l=i.height,u=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,c=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,f=u-(r.getBoundingClientRect().left+window.pageXOffset),h=c-(r.getBoundingClientRect().top+window.pageYOffset);f<0?f=0:f>a&&(f=a),h<0?h=0:h>l&&(h=l);var p=f/a,m=1-h/l;return{h:n.h,s:p,v:m,a:n.a,source:"hsv"}},fD=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function dD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hD(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function pD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var pl=function(e){pD(t,e);function t(n){dD(this,t);var r=hD(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.handleChange=function(i){typeof r.props.onChange=="function"&&r.throttle(r.props.onChange,cD(i,r.props.hsl,r.container),i)},r.handleMouseDown=function(i){r.handleChange(i);var a=r.getContainerRenderWindow();a.addEventListener("mousemove",r.handleChange),a.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=uD(function(i,a,l){i(a,l)},50),r}return fD(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var r=this.container,i=window;!i.document.contains(r)&&i.parent!==i;)i=i.parent;return i}},{key:"unbindEventListeners",value:function(){var r=this.getContainerRenderWindow();r.removeEventListener("mousemove",this.handleChange),r.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var r=this,i=this.props.style||{},a=i.color,l=i.white,u=i.black,c=i.pointer,f=i.circle,h=ke({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-(this.props.hsv.v*100)+100+"%",left:this.props.hsv.s*100+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),
|
|
105
|
+
*/var Of,h2;function CV(){if(h2)return Of;h2=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var l={},u=0;u<10;u++)l["_"+String.fromCharCode(u)]=u;var c=Object.getOwnPropertyNames(l).map(function(h){return l[h]});if(c.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(h){f[h]=h}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Of=i()?Object.assign:function(a,l){for(var u,c=r(a),f,h=1;h<arguments.length;h++){u=Object(arguments[h]);for(var p in u)t.call(u,p)&&(c[p]=u[p]);if(e){f=e(u);for(var m=0;m<f.length;m++)n.call(u,f[m])&&(c[f[m]]=u[f[m]])}}return c},Of}var Ff,p2;function Rf(){if(p2)return Ff;p2=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ff=e,Ff}var Vf,g2;function m2(){return g2||(g2=1,Vf=Function.call.bind(Object.prototype.hasOwnProperty)),Vf}var Bf,v2;function xV(){if(v2)return Bf;v2=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Rf(),n={},r=m2();e=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}}}function i(a,l,u,c,f){if(process.env.NODE_ENV!=="production"){for(var h in a)if(r(a,h)){var p;try{if(typeof a[h]!="function"){var m=Error((c||"React class")+": "+u+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=a[h](l,h,c,u,null,t)}catch(I){p=I}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+u+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var v=f?f():"";e("Failed "+u+" type: "+p.message+(v??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Bf=i,Bf}var $f,b2;function wV(){if(b2)return $f;b2=1;var e=Mf,t=CV(),n=Rf(),r=m2(),i=xV(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(u){var c="Warning: "+u;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function l(){return null}return $f=function(u,c){var f=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function p(T){var V=T&&(f&&T[f]||T[h]);if(typeof V=="function")return V}var m="<<anonymous>>",v={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:F(),arrayOf:M,element:$(),elementType:D(),instanceOf:H,node:Ae(),objectOf:U,oneOf:z,oneOfType:se,shape:Ge,exact:pe};function I(T,V){return T===V?T!==0||1/T===1/V:T!==T&&V!==V}function x(T,V){this.message=T,this.data=V&&typeof V=="object"?V:{},this.stack=""}x.prototype=Error.prototype;function E(T){if(process.env.NODE_ENV!=="production")var V={},R=0;function y(ee,oe,Z,J,re,ie,ue){if(J=J||m,ie=ie||Z,ue!==n){if(c){var K=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw K.name="Invariant Violation",K}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var fe=J+":"+Z;!V[fe]&&R<3&&(a("You are manually calling a React.PropTypes validation function for the `"+ie+"` prop on `"+J+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),V[fe]=!0,R++)}}return oe[Z]==null?ee?oe[Z]===null?new x("The "+re+" `"+ie+"` is marked as required "+("in `"+J+"`, but its value is `null`.")):new x("The "+re+" `"+ie+"` is marked as required in "+("`"+J+"`, but its value is `undefined`.")):null:T(oe,Z,J,re,ie)}var k=y.bind(null,!1);return k.isRequired=y.bind(null,!0),k}function _(T){function V(R,y,k,ee,oe,Z){var J=R[y],re=be(J);if(re!==T){var ie=Ve(J);return new x("Invalid "+ee+" `"+oe+"` of type "+("`"+ie+"` supplied to `"+k+"`, expected ")+("`"+T+"`."),{expectedType:T})}return null}return E(V)}function F(){return E(l)}function M(T){function V(R,y,k,ee,oe){if(typeof T!="function")return new x("Property `"+oe+"` of component `"+k+"` has invalid PropType notation inside arrayOf.");var Z=R[y];if(!Array.isArray(Z)){var J=be(Z);return new x("Invalid "+ee+" `"+oe+"` of type "+("`"+J+"` supplied to `"+k+"`, expected an array."))}for(var re=0;re<Z.length;re++){var ie=T(Z,re,k,ee,oe+"["+re+"]",n);if(ie instanceof Error)return ie}return null}return E(V)}function $(){function T(V,R,y,k,ee){var oe=V[R];if(!u(oe)){var Z=be(oe);return new x("Invalid "+k+" `"+ee+"` of type "+("`"+Z+"` supplied to `"+y+"`, expected a single ReactElement."))}return null}return E(T)}function D(){function T(V,R,y,k,ee){var oe=V[R];if(!e.isValidElementType(oe)){var Z=be(oe);return new x("Invalid "+k+" `"+ee+"` of type "+("`"+Z+"` supplied to `"+y+"`, expected a single ReactElement type."))}return null}return E(T)}function H(T){function V(R,y,k,ee,oe){if(!(R[y]instanceof T)){var Z=T.name||m,J=O(R[y]);return new x("Invalid "+ee+" `"+oe+"` of type "+("`"+J+"` supplied to `"+k+"`, expected ")+("instance of `"+Z+"`."))}return null}return E(V)}function z(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),l;function V(R,y,k,ee,oe){for(var Z=R[y],J=0;J<T.length;J++)if(I(Z,T[J]))return null;var re=JSON.stringify(T,function(ue,K){var fe=Ve(K);return fe==="symbol"?String(K):K});return new x("Invalid "+ee+" `"+oe+"` of value `"+String(Z)+"` "+("supplied to `"+k+"`, expected one of "+re+"."))}return E(V)}function U(T){function V(R,y,k,ee,oe){if(typeof T!="function")return new x("Property `"+oe+"` of component `"+k+"` has invalid PropType notation inside objectOf.");var Z=R[y],J=be(Z);if(J!=="object")return new x("Invalid "+ee+" `"+oe+"` of type "+("`"+J+"` supplied to `"+k+"`, expected an object."));for(var re in Z)if(r(Z,re)){var ie=T(Z,re,k,ee,oe+"."+re,n);if(ie instanceof Error)return ie}return null}return E(V)}function se(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var V=0;V<T.length;V++){var R=T[V];if(typeof R!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ze(R)+" at index "+V+"."),l}function y(k,ee,oe,Z,J){for(var re=[],ie=0;ie<T.length;ie++){var ue=T[ie],K=ue(k,ee,oe,Z,J,n);if(K==null)return null;K.data&&r(K.data,"expectedType")&&re.push(K.data.expectedType)}var fe=re.length>0?", expected one of type ["+re.join(", ")+"]":"";return new x("Invalid "+Z+" `"+J+"` supplied to "+("`"+oe+"`"+fe+"."))}return E(y)}function Ae(){function T(V,R,y,k,ee){return Se(V[R])?null:new x("Invalid "+k+" `"+ee+"` supplied to "+("`"+y+"`, expected a ReactNode."))}return E(T)}function Xe(T,V,R,y,k){return new x((T||"React class")+": "+V+" type `"+R+"."+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+k+"`.")}function Ge(T){function V(R,y,k,ee,oe){var Z=R[y],J=be(Z);if(J!=="object")return new x("Invalid "+ee+" `"+oe+"` of type `"+J+"` "+("supplied to `"+k+"`, expected `object`."));for(var re in T){var ie=T[re];if(typeof ie!="function")return Xe(k,ee,oe,re,Ve(ie));var ue=ie(Z,re,k,ee,oe+"."+re,n);if(ue)return ue}return null}return E(V)}function pe(T){function V(R,y,k,ee,oe){var Z=R[y],J=be(Z);if(J!=="object")return new x("Invalid "+ee+" `"+oe+"` of type `"+J+"` "+("supplied to `"+k+"`, expected `object`."));var re=t({},R[y],T);for(var ie in re){var ue=T[ie];if(r(T,ie)&&typeof ue!="function")return Xe(k,ee,oe,ie,Ve(ue));if(!ue)return new x("Invalid "+ee+" `"+oe+"` key `"+ie+"` supplied to `"+k+"`.\nBad object: "+JSON.stringify(R[y],null," ")+`
|
|
106
|
+
Valid keys: `+JSON.stringify(Object.keys(T),null," "));var K=ue(Z,ie,k,ee,oe+"."+ie,n);if(K)return K}return null}return E(V)}function Se(T){switch(typeof T){case"number":case"string":case"undefined":return!0;case"boolean":return!T;case"object":if(Array.isArray(T))return T.every(Se);if(T===null||u(T))return!0;var V=p(T);if(V){var R=V.call(T),y;if(V!==T.entries){for(;!(y=R.next()).done;)if(!Se(y.value))return!1}else for(;!(y=R.next()).done;){var k=y.value;if(k&&!Se(k[1]))return!1}}else return!1;return!0;default:return!1}}function Te(T,V){return T==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function be(T){var V=typeof T;return Array.isArray(T)?"array":T instanceof RegExp?"object":Te(V,T)?"symbol":V}function Ve(T){if(typeof T>"u"||T===null)return""+T;var V=be(T);if(V==="object"){if(T instanceof Date)return"date";if(T instanceof RegExp)return"regexp"}return V}function ze(T){var V=Ve(T);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function O(T){return!T.constructor||!T.constructor.name?m:T.constructor.name}return v.checkPropTypes=i,v.resetWarningCache=i.resetWarningCache,v.PropTypes=v,v},$f}var Df,y2;function SV(){if(y2)return Df;y2=1;var e=Rf();function t(){}function n(){}return n.resetWarningCache=t,Df=function(){function r(l,u,c,f,h,p){if(p!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Df}if(process.env.NODE_ENV!=="production"){var IV=Mf,EV=!0;Pf.exports=wV()(IV.isElement,EV)}else Pf.exports=SV()();var AV=Pf.exports;const he=Yu(AV);function _V(){this.__data__=[],this.size=0}function Ia(e,t){return e===t||e!==e&&t!==t}function al(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1}var PV=Array.prototype,TV=PV.splice;function MV(e){var t=this.__data__,n=al(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():TV.call(t,n,1),--this.size,!0}function OV(e){var t=this.__data__,n=al(t,e);return n<0?void 0:t[n][1]}function FV(e){return al(this.__data__,e)>-1}function RV(e,t){var n=this.__data__,r=al(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function dr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}dr.prototype.clear=_V,dr.prototype.delete=MV,dr.prototype.get=OV,dr.prototype.has=FV,dr.prototype.set=RV;function VV(){this.__data__=new dr,this.size=0}function BV(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function $V(e){return this.__data__.get(e)}function DV(e){return this.__data__.has(e)}var C2=typeof global=="object"&&global&&global.Object===Object&&global,LV=typeof self=="object"&&self&&self.Object===Object&&self,Nn=C2||LV||Function("return this")(),Gr=Nn.Symbol,x2=Object.prototype,NV=x2.hasOwnProperty,jV=x2.toString,Ea=Gr?Gr.toStringTag:void 0;function kV(e){var t=NV.call(e,Ea),n=e[Ea];try{e[Ea]=void 0;var r=!0}catch{}var i=jV.call(e);return r&&(t?e[Ea]=n:delete e[Ea]),i}var GV=Object.prototype,HV=GV.toString;function WV(e){return HV.call(e)}var XV="[object Null]",zV="[object Undefined]",w2=Gr?Gr.toStringTag:void 0;function gi(e){return e==null?e===void 0?zV:XV:w2&&w2 in Object(e)?kV(e):WV(e)}function Tn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ZV="[object AsyncFunction]",UV="[object Function]",YV="[object GeneratorFunction]",JV="[object Proxy]";function Lf(e){if(!Tn(e))return!1;var t=gi(e);return t==UV||t==YV||t==ZV||t==JV}var Nf=Nn["__core-js_shared__"],S2=function(){var e=/[^.]+$/.exec(Nf&&Nf.keys&&Nf.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function KV(e){return!!S2&&S2 in e}var qV=Function.prototype,QV=qV.toString;function mi(e){if(e!=null){try{return QV.call(e)}catch{}try{return e+""}catch{}}return""}var eB=/[\\^$.*+?()[\]{}|]/g,tB=/^\[object .+?Constructor\]$/,nB=Function.prototype,rB=Object.prototype,iB=nB.toString,oB=rB.hasOwnProperty,aB=RegExp("^"+iB.call(oB).replace(eB,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function sB(e){if(!Tn(e)||KV(e))return!1;var t=Lf(e)?aB:tB;return t.test(mi(e))}function lB(e,t){return e==null?void 0:e[t]}function vi(e,t){var n=lB(e,t);return sB(n)?n:void 0}var Aa=vi(Nn,"Map"),_a=vi(Object,"create");function uB(){this.__data__=_a?_a(null):{},this.size=0}function cB(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var fB="__lodash_hash_undefined__",dB=Object.prototype,hB=dB.hasOwnProperty;function pB(e){var t=this.__data__;if(_a){var n=t[e];return n===fB?void 0:n}return hB.call(t,e)?t[e]:void 0}var gB=Object.prototype,mB=gB.hasOwnProperty;function vB(e){var t=this.__data__;return _a?t[e]!==void 0:mB.call(t,e)}var bB="__lodash_hash_undefined__";function yB(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_a&&t===void 0?bB:t,this}function bi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}bi.prototype.clear=uB,bi.prototype.delete=cB,bi.prototype.get=pB,bi.prototype.has=vB,bi.prototype.set=yB;function CB(){this.size=0,this.__data__={hash:new bi,map:new(Aa||dr),string:new bi}}function xB(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function sl(e,t){var n=e.__data__;return xB(t)?n[typeof t=="string"?"string":"hash"]:n.map}function wB(e){var t=sl(this,e).delete(e);return this.size-=t?1:0,t}function SB(e){return sl(this,e).get(e)}function IB(e){return sl(this,e).has(e)}function EB(e,t){var n=sl(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function hr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}hr.prototype.clear=CB,hr.prototype.delete=wB,hr.prototype.get=SB,hr.prototype.has=IB,hr.prototype.set=EB;var AB=200;function _B(e,t){var n=this.__data__;if(n instanceof dr){var r=n.__data__;if(!Aa||r.length<AB-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new hr(r)}return n.set(e,t),this.size=n.size,this}function Jn(e){var t=this.__data__=new dr(e);this.size=t.size}Jn.prototype.clear=VV,Jn.prototype.delete=BV,Jn.prototype.get=$V,Jn.prototype.has=DV,Jn.prototype.set=_B;var ll=function(){try{var e=vi(Object,"defineProperty");return e({},"",{}),e}catch{}}();function jf(e,t,n){t=="__proto__"&&ll?ll(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function kf(e,t,n){(n!==void 0&&!Ia(e[t],n)||n===void 0&&!(t in e))&&jf(e,t,n)}function PB(e){return function(t,n,r){for(var i=-1,a=Object(t),l=r(t),u=l.length;u--;){var c=l[++i];if(n(a[c],c,a)===!1)break}return t}}var I2=PB(),E2=typeof Me=="object"&&Me&&!Me.nodeType&&Me,A2=E2&&typeof module=="object"&&module&&!module.nodeType&&module,TB=A2&&A2.exports===E2,_2=TB?Nn.Buffer:void 0;_2&&_2.allocUnsafe;function MB(e,t){return e.slice()}var ul=Nn.Uint8Array;function OB(e){var t=new e.constructor(e.byteLength);return new ul(t).set(new ul(e)),t}function FB(e,t){var n=OB(e.buffer);return new e.constructor(n,e.byteOffset,e.length)}function RB(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var P2=Object.create,VB=function(){function e(){}return function(t){if(!Tn(t))return{};if(P2)return P2(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function T2(e,t){return function(n){return e(t(n))}}var M2=T2(Object.getPrototypeOf,Object),BB=Object.prototype;function Gf(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||BB;return e===n}function $B(e){return typeof e.constructor=="function"&&!Gf(e)?VB(M2(e)):{}}function Hr(e){return e!=null&&typeof e=="object"}var DB="[object Arguments]";function O2(e){return Hr(e)&&gi(e)==DB}var F2=Object.prototype,LB=F2.hasOwnProperty,NB=F2.propertyIsEnumerable,cl=O2(function(){return arguments}())?O2:function(e){return Hr(e)&&LB.call(e,"callee")&&!NB.call(e,"callee")},gn=Array.isArray,jB=9007199254740991;function Hf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=jB}function ao(e){return e!=null&&Hf(e.length)&&!Lf(e)}function kB(e){return Hr(e)&&ao(e)}function GB(){return!1}var R2=typeof Me=="object"&&Me&&!Me.nodeType&&Me,V2=R2&&typeof module=="object"&&module&&!module.nodeType&&module,HB=V2&&V2.exports===R2,B2=HB?Nn.Buffer:void 0,WB=B2?B2.isBuffer:void 0,fl=WB||GB,XB="[object Object]",zB=Function.prototype,ZB=Object.prototype,$2=zB.toString,UB=ZB.hasOwnProperty,YB=$2.call(Object);function JB(e){if(!Hr(e)||gi(e)!=XB)return!1;var t=M2(e);if(t===null)return!0;var n=UB.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&$2.call(n)==YB}var KB="[object Arguments]",qB="[object Array]",QB="[object Boolean]",e$="[object Date]",t$="[object Error]",n$="[object Function]",r$="[object Map]",i$="[object Number]",o$="[object Object]",a$="[object RegExp]",s$="[object Set]",l$="[object String]",u$="[object WeakMap]",c$="[object ArrayBuffer]",f$="[object DataView]",d$="[object Float32Array]",h$="[object Float64Array]",p$="[object Int8Array]",g$="[object Int16Array]",m$="[object Int32Array]",v$="[object Uint8Array]",b$="[object Uint8ClampedArray]",y$="[object Uint16Array]",C$="[object Uint32Array]",wt={};wt[d$]=wt[h$]=wt[p$]=wt[g$]=wt[m$]=wt[v$]=wt[b$]=wt[y$]=wt[C$]=!0,wt[KB]=wt[qB]=wt[c$]=wt[QB]=wt[f$]=wt[e$]=wt[t$]=wt[n$]=wt[r$]=wt[i$]=wt[o$]=wt[a$]=wt[s$]=wt[l$]=wt[u$]=!1;function x$(e){return Hr(e)&&Hf(e.length)&&!!wt[gi(e)]}function w$(e){return function(t){return e(t)}}var D2=typeof Me=="object"&&Me&&!Me.nodeType&&Me,Pa=D2&&typeof module=="object"&&module&&!module.nodeType&&module,S$=Pa&&Pa.exports===D2,Wf=S$&&C2.process,L2=function(){try{var e=Pa&&Pa.require&&Pa.require("util").types;return e||Wf&&Wf.binding&&Wf.binding("util")}catch{}}(),N2=L2&&L2.isTypedArray,Xf=N2?w$(N2):x$;function zf(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var I$=Object.prototype,E$=I$.hasOwnProperty;function A$(e,t,n){var r=e[t];(!(E$.call(e,t)&&Ia(r,n))||n===void 0&&!(t in e))&&jf(e,t,n)}function _$(e,t,n,r){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=void 0;c===void 0&&(c=e[u]),i?jf(n,u,c):A$(n,u,c)}return n}function P$(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var T$=9007199254740991,M$=/^(?:0|[1-9]\d*)$/;function Zf(e,t){var n=typeof e;return t=t??T$,!!t&&(n=="number"||n!="symbol"&&M$.test(e))&&e>-1&&e%1==0&&e<t}var O$=Object.prototype,F$=O$.hasOwnProperty;function j2(e,t){var n=gn(e),r=!n&&cl(e),i=!n&&!r&&fl(e),a=!n&&!r&&!i&&Xf(e),l=n||r||i||a,u=l?P$(e.length,String):[],c=u.length;for(var f in e)(t||F$.call(e,f))&&!(l&&(f=="length"||i&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Zf(f,c)))&&u.push(f);return u}function R$(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var V$=Object.prototype,B$=V$.hasOwnProperty;function $$(e){if(!Tn(e))return R$(e);var t=Gf(e),n=[];for(var r in e)r=="constructor"&&(t||!B$.call(e,r))||n.push(r);return n}function k2(e){return ao(e)?j2(e,!0):$$(e)}function D$(e){return _$(e,k2(e))}function L$(e,t,n,r,i,a,l){var u=zf(e,n),c=zf(t,n),f=l.get(c);if(f){kf(e,n,f);return}var h=a?a(u,c,n+"",e,t,l):void 0,p=h===void 0;if(p){var m=gn(c),v=!m&&fl(c),I=!m&&!v&&Xf(c);h=c,m||v||I?gn(u)?h=u:kB(u)?h=RB(u):v?(p=!1,h=MB(c)):I?(p=!1,h=FB(c)):h=[]:JB(c)||cl(c)?(h=u,cl(u)?h=D$(u):(!Tn(u)||Lf(u))&&(h=$B(c))):p=!1}p&&(l.set(c,h),i(h,c,r,a,l),l.delete(c)),kf(e,n,h)}function G2(e,t,n,r,i){e!==t&&I2(t,function(a,l){if(i||(i=new Jn),Tn(a))L$(e,t,l,n,G2,r,i);else{var u=r?r(zf(e,l),a,l+"",e,t,i):void 0;u===void 0&&(u=a),kf(e,l,u)}},k2)}function dl(e){return e}function N$(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var H2=Math.max;function j$(e,t,n){return t=H2(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=H2(r.length-t,0),l=Array(a);++i<a;)l[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(l),N$(e,this,u)}}function k$(e){return function(){return e}}var G$=ll?function(e,t){return ll(e,"toString",{configurable:!0,enumerable:!1,value:k$(t),writable:!0})}:dl,H$=800,W$=16,X$=Date.now;function z$(e){var t=0,n=0;return function(){var r=X$(),i=W$-(r-n);if(n=r,i>0){if(++t>=H$)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Z$=z$(G$);function U$(e,t){return Z$(j$(e,t,dl),e+"")}function Y$(e,t,n){if(!Tn(n))return!1;var r=typeof t;return(r=="number"?ao(n)&&Zf(t,n.length):r=="string"&&t in n)?Ia(n[t],e):!1}function J$(e){return U$(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,l&&Y$(n[0],n[1],l)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t})}var an=J$(function(e,t,n){G2(e,t,n)}),Ta=function(t){var n=t.zDepth,r=t.radius,i=t.background,a=t.children,l=t.styles,u=l===void 0?{}:l,c=ke(an({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+n+"px "+n*4+"px rgba(0,0,0,.24)",borderRadius:r,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},u),{"zDepth-1":n===1});return b.createElement("div",{style:c.wrap},b.createElement("div",{style:c.bg}),b.createElement("div",{style:c.content},a))};Ta.propTypes={background:he.string,zDepth:he.oneOf([0,1,2,3,4,5]),radius:he.number,styles:he.object},Ta.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var Uf=function(){return Nn.Date.now()},K$=/\s/;function q$(e){for(var t=e.length;t--&&K$.test(e.charAt(t)););return t}var Q$=/^\s+/;function eD(e){return e&&e.slice(0,q$(e)+1).replace(Q$,"")}var tD="[object Symbol]";function hl(e){return typeof e=="symbol"||Hr(e)&&gi(e)==tD}var W2=NaN,nD=/^[-+]0x[0-9a-f]+$/i,rD=/^0b[01]+$/i,iD=/^0o[0-7]+$/i,oD=parseInt;function X2(e){if(typeof e=="number")return e;if(hl(e))return W2;if(Tn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Tn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=eD(e);var n=rD.test(e);return n||iD.test(e)?oD(e.slice(2),n?2:8):nD.test(e)?W2:+e}var aD="Expected a function",sD=Math.max,lD=Math.min;function z2(e,t,n){var r,i,a,l,u,c,f=0,h=!1,p=!1,m=!0;if(typeof e!="function")throw new TypeError(aD);t=X2(t)||0,Tn(n)&&(h=!!n.leading,p="maxWait"in n,a=p?sD(X2(n.maxWait)||0,t):a,m="trailing"in n?!!n.trailing:m);function v(H){var z=r,U=i;return r=i=void 0,f=H,l=e.apply(U,z),l}function I(H){return f=H,u=setTimeout(_,t),h?v(H):l}function x(H){var z=H-c,U=H-f,se=t-z;return p?lD(se,a-U):se}function E(H){var z=H-c,U=H-f;return c===void 0||z>=t||z<0||p&&U>=a}function _(){var H=Uf();if(E(H))return F(H);u=setTimeout(_,x(H))}function F(H){return u=void 0,m&&r?v(H):(r=i=void 0,l)}function M(){u!==void 0&&clearTimeout(u),f=0,r=c=i=u=void 0}function $(){return u===void 0?l:F(Uf())}function D(){var H=Uf(),z=E(H);if(r=arguments,i=this,c=H,z){if(u===void 0)return I(c);if(p)return clearTimeout(u),u=setTimeout(_,t),v(c)}return u===void 0&&(u=setTimeout(_,t)),l}return D.cancel=M,D.flush=$,D}var uD="Expected a function";function cD(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(uD);return Tn(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),z2(e,t,{leading:r,maxWait:t,trailing:i})}var fD=function(t,n,r){var i=r.getBoundingClientRect(),a=i.width,l=i.height,u=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,c=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,f=u-(r.getBoundingClientRect().left+window.pageXOffset),h=c-(r.getBoundingClientRect().top+window.pageYOffset);f<0?f=0:f>a&&(f=a),h<0?h=0:h>l&&(h=l);var p=f/a,m=1-h/l;return{h:n.h,s:p,v:m,a:n.a,source:"hsv"}},dD=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function hD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pD(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function gD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var pl=function(e){gD(t,e);function t(n){hD(this,t);var r=pD(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.handleChange=function(i){typeof r.props.onChange=="function"&&r.throttle(r.props.onChange,fD(i,r.props.hsl,r.container),i)},r.handleMouseDown=function(i){r.handleChange(i);var a=r.getContainerRenderWindow();a.addEventListener("mousemove",r.handleChange),a.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=cD(function(i,a,l){i(a,l)},50),r}return dD(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var r=this.container,i=window;!i.document.contains(r)&&i.parent!==i;)i=i.parent;return i}},{key:"unbindEventListeners",value:function(){var r=this.getContainerRenderWindow();r.removeEventListener("mousemove",this.handleChange),r.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var r=this,i=this.props.style||{},a=i.color,l=i.white,u=i.black,c=i.pointer,f=i.circle,h=ke({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-(this.props.hsv.v*100)+100+"%",left:this.props.hsv.s*100+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),
|
|
107
107
|
0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:a,white:l,black:u,pointer:c,circle:f}},{custom:!!this.props.style});return b.createElement("div",{style:h.color,ref:function(m){return r.container=m},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},b.createElement("style",null,`
|
|
108
108
|
.saturation-white {
|
|
109
109
|
background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
|
|
@@ -113,12 +113,12 @@ Valid keys: `+JSON.stringify(Object.keys(T),null," "));var K=ue(z,ie,k,ee,oe+".
|
|
|
113
113
|
background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
|
|
114
114
|
background: linear-gradient(to top, #000, rgba(0,0,0,0));
|
|
115
115
|
}
|
|
116
|
-
`),b.createElement("div",{style:h.white,className:"saturation-white"},b.createElement("div",{style:h.black,className:"saturation-black"}),b.createElement("div",{style:h.pointer},this.props.pointer?b.createElement(this.props.pointer,this.props):b.createElement("div",{style:h.circle}))))}}]),t}(b.PureComponent||b.Component);function gD(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var mD=_2(Object.keys,Object),vD=Object.prototype,bD=vD.hasOwnProperty;function yD(e){if(!Gf(e))return mD(e);var t=[];for(var n in Object(e))bD.call(e,n)&&n!="constructor"&&t.push(n);return t}function Yf(e){return ao(e)?N2(e):yD(e)}function CD(e,t){return e&&w2(e,t,Yf)}function xD(e,t){return function(n,r){if(n==null)return n;if(!ao(n))return e(n,r);for(var i=n.length,a=-1,l=Object(n);++a<i&&r(l[a],a,l)!==!1;);return n}}var X2=xD(CD);function wD(e){return typeof e=="function"?e:dl}function SD(e,t){var n=gn(e)?gD:X2;return n(e,wD(t))}function gl(e){"@babel/helpers - typeof";return gl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gl(e)}var ID=/^\s+/,ED=/\s+$/;function Ie(e,t){if(e=e||"",t=t||{},e instanceof Ie)return e;if(!(this instanceof Ie))return new Ie(e,t);var n=AD(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}Ie.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,i,a,l,u;return n=t.r/255,r=t.g/255,i=t.b/255,n<=.03928?a=n/12.92:a=Math.pow((n+.055)/1.055,2.4),r<=.03928?l=r/12.92:l=Math.pow((r+.055)/1.055,2.4),i<=.03928?u=i/12.92:u=Math.pow((i+.055)/1.055,2.4),.2126*a+.7152*l+.0722*u},setAlpha:function(t){return this._a=K2(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=Z2(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=Z2(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+i+"%)":"hsva("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var t=z2(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=z2(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+i+"%)":"hsla("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHex:function(t){return U2(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return MD(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(It(this._r,255)*100)+"%",g:Math.round(It(this._g,255)*100)+"%",b:Math.round(It(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(It(this._r,255)*100)+"%, "+Math.round(It(this._g,255)*100)+"%, "+Math.round(It(this._b,255)*100)+"%)":"rgba("+Math.round(It(this._r,255)*100)+"%, "+Math.round(It(this._g,255)*100)+"%, "+Math.round(It(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:GD[U2(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+Y2(this._r,this._g,this._b,this._a),r=n,i=this._gradientType?"GradientType = 1, ":"";if(t){var a=Ie(t);r="#"+Y2(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,i=this._a<1&&this._a>=0,a=!n&&i&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return a?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return Ie(this.toString())},_applyModification:function(t,n){var r=t.apply(null,[this].concat([].slice.call(n)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(VD,arguments)},brighten:function(){return this._applyModification(BD,arguments)},darken:function(){return this._applyModification($D,arguments)},desaturate:function(){return this._applyModification(OD,arguments)},saturate:function(){return this._applyModification(FD,arguments)},greyscale:function(){return this._applyModification(RD,arguments)},spin:function(){return this._applyModification(DD,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(jD,arguments)},complement:function(){return this._applyCombination(ND,arguments)},monochromatic:function(){return this._applyCombination(kD,arguments)},splitcomplement:function(){return this._applyCombination(LD,arguments)},triad:function(){return this._applyCombination(J2,[3])},tetrad:function(){return this._applyCombination(J2,[4])}},Ie.fromRatio=function(e,t){if(gl(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=Ma(e[r]));e=n}return Ie(e,t)};function AD(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,l=!1,u=!1;return typeof e=="string"&&(e=zD(e)),gl(e)=="object"&&(pr(e.r)&&pr(e.g)&&pr(e.b)?(t=_D(e.r,e.g,e.b),l=!0,u=String(e.r).substr(-1)==="%"?"prgb":"rgb"):pr(e.h)&&pr(e.s)&&pr(e.v)?(r=Ma(e.s),i=Ma(e.v),t=TD(e.h,r,i),l=!0,u="hsv"):pr(e.h)&&pr(e.s)&&pr(e.l)&&(r=Ma(e.s),a=Ma(e.l),t=PD(e.h,r,a),l=!0,u="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=K2(n),{ok:l,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function _D(e,t,n){return{r:It(e,255)*255,g:It(t,255)*255,b:It(n,255)*255}}function z2(e,t,n){e=It(e,255),t=It(t,255),n=It(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a,l,u=(r+i)/2;if(r==i)a=l=0;else{var c=r-i;switch(l=u>.5?c/(2-r-i):c/(r+i),r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:l,l:u}}function PD(e,t,n){var r,i,a;e=It(e,360),t=It(t,100),n=It(n,100);function l(f,h,p){return p<0&&(p+=1),p>1&&(p-=1),p<1/6?f+(h-f)*6*p:p<1/2?h:p<2/3?f+(h-f)*(2/3-p)*6:f}if(t===0)r=i=a=n;else{var u=n<.5?n*(1+t):n+t-n*t,c=2*n-u;r=l(c,u,e+1/3),i=l(c,u,e),a=l(c,u,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function Z2(e,t,n){e=It(e,255),t=It(t,255),n=It(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a,l,u=r,c=r-i;if(l=r===0?0:c/r,r==i)a=0;else{switch(r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:l,v:u}}function TD(e,t,n){e=It(e,360)*6,t=It(t,100),n=It(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),l=n*(1-i*t),u=n*(1-(1-i)*t),c=r%6,f=[n,l,a,a,u,n][c],h=[u,n,n,l,a,a][c],p=[a,a,u,n,n,l][c];return{r:f*255,g:h*255,b:p*255}}function U2(e,t,n,r){var i=[jn(Math.round(e).toString(16)),jn(Math.round(t).toString(16)),jn(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function MD(e,t,n,r,i){var a=[jn(Math.round(e).toString(16)),jn(Math.round(t).toString(16)),jn(Math.round(n).toString(16)),jn(q2(r))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function Y2(e,t,n,r){var i=[jn(q2(r)),jn(Math.round(e).toString(16)),jn(Math.round(t).toString(16)),jn(Math.round(n).toString(16))];return i.join("")}Ie.equals=function(e,t){return!e||!t?!1:Ie(e).toRgbString()==Ie(t).toRgbString()},Ie.random=function(){return Ie.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function OD(e,t){t=t===0?0:t||10;var n=Ie(e).toHsl();return n.s-=t/100,n.s=ml(n.s),Ie(n)}function FD(e,t){t=t===0?0:t||10;var n=Ie(e).toHsl();return n.s+=t/100,n.s=ml(n.s),Ie(n)}function RD(e){return Ie(e).desaturate(100)}function VD(e,t){t=t===0?0:t||10;var n=Ie(e).toHsl();return n.l+=t/100,n.l=ml(n.l),Ie(n)}function BD(e,t){t=t===0?0:t||10;var n=Ie(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),Ie(n)}function $D(e,t){t=t===0?0:t||10;var n=Ie(e).toHsl();return n.l-=t/100,n.l=ml(n.l),Ie(n)}function DD(e,t){var n=Ie(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,Ie(n)}function ND(e){var t=Ie(e).toHsl();return t.h=(t.h+180)%360,Ie(t)}function J2(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=Ie(e).toHsl(),r=[Ie(e)],i=360/t,a=1;a<t;a++)r.push(Ie({h:(n.h+a*i)%360,s:n.s,l:n.l}));return r}function LD(e){var t=Ie(e).toHsl(),n=t.h;return[Ie(e),Ie({h:(n+72)%360,s:t.s,l:t.l}),Ie({h:(n+216)%360,s:t.s,l:t.l})]}function jD(e,t,n){t=t||6,n=n||30;var r=Ie(e).toHsl(),i=360/n,a=[Ie(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(Ie(r));return a}function kD(e,t){t=t||6;for(var n=Ie(e).toHsv(),r=n.h,i=n.s,a=n.v,l=[],u=1/t;t--;)l.push(Ie({h:r,s:i,v:a})),a=(a+u)%1;return l}Ie.mix=function(e,t,n){n=n===0?0:n||50;var r=Ie(e).toRgb(),i=Ie(t).toRgb(),a=n/100,l={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return Ie(l)},Ie.readability=function(e,t){var n=Ie(e),r=Ie(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},Ie.isReadable=function(e,t,n){var r=Ie.readability(e,t),i,a;switch(a=!1,i=ZD(n),i.level+i.size){case"AAsmall":case"AAAlarge":a=r>=4.5;break;case"AAlarge":a=r>=3;break;case"AAAsmall":a=r>=7;break}return a},Ie.mostReadable=function(e,t,n){var r=null,i=0,a,l,u,c;n=n||{},l=n.includeFallbackColors,u=n.level,c=n.size;for(var f=0;f<t.length;f++)a=Ie.readability(e,t[f]),a>i&&(i=a,r=Ie(t[f]));return Ie.isReadable(e,r,{level:u,size:c})||!l?r:(n.includeFallbackColors=!1,Ie.mostReadable(e,["#fff","#000"],n))};var Jf=Ie.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},GD=Ie.hexNames=HD(Jf);function HD(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function K2(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function It(e,t){WD(e)&&(e="100%");var n=XD(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function ml(e){return Math.min(1,Math.max(0,e))}function mn(e){return parseInt(e,16)}function WD(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function XD(e){return typeof e=="string"&&e.indexOf("%")!=-1}function jn(e){return e.length==1?"0"+e:""+e}function Ma(e){return e<=1&&(e=e*100+"%"),e}function q2(e){return Math.round(parseFloat(e)*255).toString(16)}function Q2(e){return mn(e)/255}var kn=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function pr(e){return!!kn.CSS_UNIT.exec(e)}function zD(e){e=e.replace(ID,"").replace(ED,"").toLowerCase();var t=!1;if(Jf[e])e=Jf[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=kn.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=kn.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=kn.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=kn.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=kn.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=kn.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=kn.hex8.exec(e))?{r:mn(n[1]),g:mn(n[2]),b:mn(n[3]),a:Q2(n[4]),format:t?"name":"hex8"}:(n=kn.hex6.exec(e))?{r:mn(n[1]),g:mn(n[2]),b:mn(n[3]),format:t?"name":"hex"}:(n=kn.hex4.exec(e))?{r:mn(n[1]+""+n[1]),g:mn(n[2]+""+n[2]),b:mn(n[3]+""+n[3]),a:Q2(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=kn.hex3.exec(e))?{r:mn(n[1]+""+n[1]),g:mn(n[2]+""+n[2]),b:mn(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function ZD(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var ev=function(t){var n=["r","g","b","a","h","s","l","v"],r=0,i=0;return SD(n,function(a){if(t[a]&&(r+=1,isNaN(t[a])||(i+=1),a==="s"||a==="l")){var l=/^\d+%$/;l.test(t[a])&&(i+=1)}}),r===i?t:!1},Oa=function(t,n){var r=t.hex?Ie(t.hex):Ie(t),i=r.toHsl(),a=r.toHsv(),l=r.toRgb(),u=r.toHex();i.s===0&&(i.h=n||0,a.h=n||0);var c=u==="000000"&&l.a===0;return{hsl:i,hex:c?"transparent":"#"+u,rgb:l,hsv:a,oldHue:t.h||n||i.h,source:t.source}},Wr=function(t){if(t==="transparent")return!0;var n=String(t).charAt(0)==="#"?1:0;return t.length!==4+n&&t.length<7+n&&Ie(t).isValid()},Kf=function(t){if(!t)return"#fff";var n=Oa(t);if(n.hex==="transparent")return"rgba(0,0,0,0.4)";var r=(n.rgb.r*299+n.rgb.g*587+n.rgb.b*114)/1e3;return r>=128?"#000":"#fff"},qf=function(t,n){var r=t.replace("°","");return Ie(n+" ("+r+")")._ok},Fa=Object.assign||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},UD=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function YD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JD(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function KD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var sn=function(t){var n=function(r){KD(i,r);function i(a){YD(this,i);var l=JD(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return l.handleChange=function(u,c){var f=ev(u);if(f){var h=Oa(u,u.h||l.state.oldHue);l.setState(h),l.props.onChangeComplete&&l.debounce(l.props.onChangeComplete,h,c),l.props.onChange&&l.props.onChange(h,c)}},l.handleSwatchHover=function(u,c){var f=ev(u);if(f){var h=Oa(u,u.h||l.state.oldHue);l.props.onSwatchHover&&l.props.onSwatchHover(h,c)}},l.state=Fa({},Oa(a.color,0)),l.debounce=W2(function(u,c,f){u(c,f)},100),l}return UD(i,[{key:"render",value:function(){var l={};return this.props.onSwatchHover&&(l.onSwatchHover=this.handleSwatchHover),b.createElement(t,Fa({},this.props,this.state,{onChange:this.handleChange},l))}}],[{key:"getDerivedStateFromProps",value:function(l,u){return Fa({},Oa(l.color,u.oldHue))}}]),i}(b.PureComponent||b.Component);return n.propTypes=Fa({},t.propTypes),n.defaultProps=Fa({},t.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),n},qD=Object.assign||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},QD=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function eN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tv(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function tN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var nN=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){tN(i,r);function i(){var a,l,u,c;eN(this,i);for(var f=arguments.length,h=Array(f),p=0;p<f;p++)h[p]=arguments[p];return c=(l=(u=tv(this,(a=i.__proto__||Object.getPrototypeOf(i)).call.apply(a,[this].concat(h))),u),u.state={focus:!1},u.handleFocus=function(){return u.setState({focus:!0})},u.handleBlur=function(){return u.setState({focus:!1})},l),tv(u,c)}return QD(i,[{key:"render",value:function(){return b.createElement(n,{onFocus:this.handleFocus,onBlur:this.handleBlur},b.createElement(t,qD({},this.props,this.state)))}}]),i}(b.Component)},nv=Object.assign||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},rN=13,iN=function(t){var n=t.color,r=t.style,i=t.onClick,a=i===void 0?function(){}:i,l=t.onHover,u=t.title,c=u===void 0?n:u,f=t.children,h=t.focus,p=t.focusStyle,m=p===void 0?{}:p,v=n==="transparent",S=ke({default:{swatch:nv({background:n,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,h?m:{})}}),x=function($){return a(n,$)},E=function($){return $.keyCode===rN&&a(n,$)},A=function($){return l(n,$)},O={};return l&&(O.onMouseOver=A),b.createElement("div",nv({style:S.swatch,onClick:x,title:c,tabIndex:0,onKeyDown:E},O),f,v&&b.createElement(io,{borderRadius:S.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};const yi=nN(iN);var oN=function(t){var n=t.direction,r=ke({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:n==="vertical"});return b.createElement("div",{style:r.picker})},aN=Object.assign||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},rv=function(t){var n=t.rgb,r=t.hsl,i=t.width,a=t.height,l=t.onChange,u=t.direction,c=t.style,f=t.renderers,h=t.pointer,p=t.className,m=p===void 0?"":p,v=ke({default:{picker:{position:"relative",width:i,height:a},alpha:{radius:"2px",style:c}}});return b.createElement("div",{style:v.picker,className:"alpha-picker "+m},b.createElement(_f,aN({},v.alpha,{rgb:n,hsl:r,pointer:h,renderers:f,onChange:l,direction:u})))};rv.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:oN},sn(rv);function iv(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var sN="__lodash_hash_undefined__";function lN(e){return this.__data__.set(e,sN),this}function uN(e){return this.__data__.has(e)}function vl(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new hr;++t<n;)this.add(e[t])}vl.prototype.add=vl.prototype.push=lN,vl.prototype.has=uN;function cN(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function fN(e,t){return e.has(t)}var dN=1,hN=2;function ov(e,t,n,r,i,a){var l=n&dN,u=e.length,c=t.length;if(u!=c&&!(l&&c>u))return!1;var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var p=-1,m=!0,v=n&hN?new vl:void 0;for(a.set(e,t),a.set(t,e);++p<u;){var S=e[p],x=t[p];if(r)var E=l?r(x,S,p,t,e,a):r(S,x,p,e,t,a);if(E!==void 0){if(E)continue;m=!1;break}if(v){if(!cN(t,function(A,O){if(!fN(v,O)&&(S===A||i(S,A,n,r,a)))return v.push(O)})){m=!1;break}}else if(!(S===x||i(S,x,n,r,a))){m=!1;break}}return a.delete(e),a.delete(t),m}function pN(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function gN(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var mN=1,vN=2,bN="[object Boolean]",yN="[object Date]",CN="[object Error]",xN="[object Map]",wN="[object Number]",SN="[object RegExp]",IN="[object Set]",EN="[object String]",AN="[object Symbol]",_N="[object ArrayBuffer]",PN="[object DataView]",av=Gr?Gr.prototype:void 0,Qf=av?av.valueOf:void 0;function TN(e,t,n,r,i,a,l){switch(n){case PN:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _N:return!(e.byteLength!=t.byteLength||!a(new ul(e),new ul(t)));case bN:case yN:case wN:return Ia(+e,+t);case CN:return e.name==t.name&&e.message==t.message;case SN:case EN:return e==t+"";case xN:var u=pN;case IN:var c=r&mN;if(u||(u=gN),e.size!=t.size&&!c)return!1;var f=l.get(e);if(f)return f==t;r|=vN,l.set(e,t);var h=ov(u(e),u(t),r,i,a,l);return l.delete(e),h;case AN:if(Qf)return Qf.call(e)==Qf.call(t)}return!1}function MN(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function ON(e,t,n){var r=t(e);return gn(e)?r:MN(r,n(e))}function FN(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var l=e[n];t(l,n,e)&&(a[i++]=l)}return a}function RN(){return[]}var VN=Object.prototype,BN=VN.propertyIsEnumerable,sv=Object.getOwnPropertySymbols,$N=sv?function(e){return e==null?[]:(e=Object(e),FN(sv(e),function(t){return BN.call(e,t)}))}:RN;function lv(e){return ON(e,Yf,$N)}var DN=1,NN=Object.prototype,LN=NN.hasOwnProperty;function jN(e,t,n,r,i,a){var l=n&DN,u=lv(e),c=u.length,f=lv(t),h=f.length;if(c!=h&&!l)return!1;for(var p=c;p--;){var m=u[p];if(!(l?m in t:LN.call(t,m)))return!1}var v=a.get(e),S=a.get(t);if(v&&S)return v==t&&S==e;var x=!0;a.set(e,t),a.set(t,e);for(var E=l;++p<c;){m=u[p];var A=e[m],O=t[m];if(r)var R=l?r(O,A,m,t,e,a):r(A,O,m,e,t,a);if(!(R===void 0?A===O||i(A,O,n,r,a):R)){x=!1;break}E||(E=m=="constructor")}if(x&&!E){var $=e.constructor,N=t.constructor;$!=N&&"constructor"in e&&"constructor"in t&&!(typeof $=="function"&&$ instanceof $&&typeof N=="function"&&N instanceof N)&&(x=!1)}return a.delete(e),a.delete(t),x}var ed=vi(Ln,"DataView"),td=vi(Ln,"Promise"),nd=vi(Ln,"Set"),rd=vi(Ln,"WeakMap"),uv="[object Map]",kN="[object Object]",cv="[object Promise]",fv="[object Set]",dv="[object WeakMap]",hv="[object DataView]",GN=mi(ed),HN=mi(Aa),WN=mi(td),XN=mi(nd),zN=mi(rd),Xr=gi;(ed&&Xr(new ed(new ArrayBuffer(1)))!=hv||Aa&&Xr(new Aa)!=uv||td&&Xr(td.resolve())!=cv||nd&&Xr(new nd)!=fv||rd&&Xr(new rd)!=dv)&&(Xr=function(e){var t=gi(e),n=t==kN?e.constructor:void 0,r=n?mi(n):"";if(r)switch(r){case GN:return hv;case HN:return uv;case WN:return cv;case XN:return fv;case zN:return dv}return t});var ZN=1,pv="[object Arguments]",gv="[object Array]",bl="[object Object]",UN=Object.prototype,mv=UN.hasOwnProperty;function YN(e,t,n,r,i,a){var l=gn(e),u=gn(t),c=l?gv:Xr(e),f=u?gv:Xr(t);c=c==pv?bl:c,f=f==pv?bl:f;var h=c==bl,p=f==bl,m=c==f;if(m&&fl(e)){if(!fl(t))return!1;l=!0,h=!1}if(m&&!h)return a||(a=new Jn),l||Xf(e)?ov(e,t,n,r,i,a):TN(e,t,c,n,r,i,a);if(!(n&ZN)){var v=h&&mv.call(e,"__wrapped__"),S=p&&mv.call(t,"__wrapped__");if(v||S){var x=v?e.value():e,E=S?t.value():t;return a||(a=new Jn),i(x,E,n,r,a)}}return m?(a||(a=new Jn),jN(e,t,n,r,i,a)):!1}function id(e,t,n,r,i){return e===t?!0:e==null||t==null||!Hr(e)&&!Hr(t)?e!==e&&t!==t:YN(e,t,n,r,id,i)}var JN=1,KN=2;function qN(e,t,n,r){var i=n.length,a=i;if(e==null)return!a;for(e=Object(e);i--;){var l=n[i];if(l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){l=n[i];var u=l[0],c=e[u],f=l[1];if(l[2]){if(c===void 0&&!(u in e))return!1}else{var h=new Jn,p;if(!(p===void 0?id(f,c,JN|KN,r,h):p))return!1}}return!0}function vv(e){return e===e&&!Tn(e)}function QN(e){for(var t=Yf(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,vv(i)]}return t}function bv(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function eL(e){var t=QN(e);return t.length==1&&t[0][2]?bv(t[0][0],t[0][1]):function(n){return n===e||qN(n,e,t)}}var tL=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nL=/^\w*$/;function od(e,t){if(gn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||hl(e)?!0:nL.test(e)||!tL.test(e)||t!=null&&e in Object(t)}var rL="Expected a function";function ad(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(rL);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var l=e.apply(this,r);return n.cache=a.set(i,l)||a,l};return n.cache=new(ad.Cache||hr),n}ad.Cache=hr;var iL=500;function oL(e){var t=ad(e,function(r){return n.size===iL&&n.clear(),r}),n=t.cache;return t}var aL=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sL=/\\(\\)?/g,lL=oL(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(aL,function(n,r,i,a){t.push(i?a.replace(sL,"$1"):r||n)}),t}),yv=Gr?Gr.prototype:void 0,Cv=yv?yv.toString:void 0;function xv(e){if(typeof e=="string")return e;if(gn(e))return iv(e,xv)+"";if(hl(e))return Cv?Cv.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function uL(e){return e==null?"":xv(e)}function wv(e,t){return gn(e)?e:od(e,t)?[e]:lL(uL(e))}function yl(e){if(typeof e=="string"||hl(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Sv(e,t){t=wv(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[yl(t[n++])];return n&&n==r?e:void 0}function cL(e,t,n){var r=e==null?void 0:Sv(e,t);return r===void 0?n:r}function fL(e,t){return e!=null&&t in Object(e)}function dL(e,t,n){t=wv(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var l=yl(t[r]);if(!(a=e!=null&&n(e,l)))break;e=e[l]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Hf(i)&&Zf(l,i)&&(gn(e)||cl(e)))}function hL(e,t){return e!=null&&dL(e,t,fL)}var pL=1,gL=2;function mL(e,t){return od(e)&&vv(t)?bv(yl(e),t):function(n){var r=cL(n,e);return r===void 0&&r===t?hL(n,e):id(t,r,pL|gL)}}function vL(e){return function(t){return t==null?void 0:t[e]}}function bL(e){return function(t){return Sv(t,e)}}function yL(e){return od(e)?vL(yl(e)):bL(e)}function CL(e){return typeof e=="function"?e:e==null?dl:typeof e=="object"?gn(e)?mL(e[0],e[1]):eL(e):yL(e)}function xL(e,t){var n=-1,r=ao(e)?Array(e.length):[];return X2(e,function(i,a,l){r[++n]=t(i,a,l)}),r}function Ci(e,t){var n=gn(e)?iv:xL;return n(e,CL(t))}var wL=function(t){var n=t.colors,r=t.onClick,i=t.onSwatchHover,a=ke({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return b.createElement("div",{style:a.swatches},Ci(n,function(l){return b.createElement(yi,{key:l,color:l,style:a.swatch,onClick:r,onHover:i,focusStyle:{boxShadow:"0 0 4px "+l}})}),b.createElement("div",{style:a.clear}))},sd=function(t){var n=t.onChange,r=t.onSwatchHover,i=t.hex,a=t.colors,l=t.width,u=t.triangle,c=t.styles,f=c===void 0?{}:c,h=t.className,p=h===void 0?"":h,m=i==="transparent",v=function(E,A){Wr(E)&&n({hex:E,source:"hex"},A)},S=ke(an({default:{card:{width:l,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:i,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:Kf(i),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+i+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},f),{"hide-triangle":u==="hide"});return b.createElement("div",{style:S.card,className:"block-picker "+p},b.createElement("div",{style:S.triangle}),b.createElement("div",{style:S.head},m&&b.createElement(io,{borderRadius:"6px 6px 0 0"}),b.createElement("div",{style:S.label},i)),b.createElement("div",{style:S.body},b.createElement(wL,{colors:a,onClick:v,onSwatchHover:r}),b.createElement(rt,{style:{input:S.input},value:i,onChange:v})))};sd.propTypes={width:he.oneOfType([he.string,he.number]),colors:he.arrayOf(he.string),triangle:he.oneOf(["top","hide"]),styles:he.object},sd.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},sn(sd);var so={100:"#ffcdd2",300:"#e57373",500:"#f44336",700:"#d32f2f",900:"#b71c1c"},lo={100:"#f8bbd0",300:"#f06292",500:"#e91e63",700:"#c2185b",900:"#880e4f"},uo={100:"#e1bee7",300:"#ba68c8",500:"#9c27b0",700:"#7b1fa2",900:"#4a148c"},co={100:"#d1c4e9",300:"#9575cd",500:"#673ab7",700:"#512da8",900:"#311b92"},fo={100:"#c5cae9",300:"#7986cb",500:"#3f51b5",700:"#303f9f",900:"#1a237e"},ho={100:"#bbdefb",300:"#64b5f6",500:"#2196f3",700:"#1976d2",900:"#0d47a1"},po={100:"#b3e5fc",300:"#4fc3f7",500:"#03a9f4",700:"#0288d1",900:"#01579b"},go={100:"#b2ebf2",300:"#4dd0e1",500:"#00bcd4",700:"#0097a7",900:"#006064"},mo={100:"#b2dfdb",300:"#4db6ac",500:"#009688",700:"#00796b",900:"#004d40"},Ra={100:"#c8e6c9",300:"#81c784",500:"#4caf50",700:"#388e3c"},vo={100:"#dcedc8",300:"#aed581",500:"#8bc34a",700:"#689f38",900:"#33691e"},bo={100:"#f0f4c3",300:"#dce775",500:"#cddc39",700:"#afb42b",900:"#827717"},yo={100:"#fff9c4",300:"#fff176",500:"#ffeb3b",700:"#fbc02d",900:"#f57f17"},Co={100:"#ffecb3",300:"#ffd54f",500:"#ffc107",700:"#ffa000",900:"#ff6f00"},xo={100:"#ffe0b2",300:"#ffb74d",500:"#ff9800",700:"#f57c00",900:"#e65100"},wo={100:"#ffccbc",300:"#ff8a65",500:"#ff5722",700:"#e64a19",900:"#bf360c"},So={100:"#d7ccc8",300:"#a1887f",500:"#795548",700:"#5d4037",900:"#3e2723"},Io={100:"#cfd8dc",300:"#90a4ae",500:"#607d8b",700:"#455a64",900:"#263238"},Iv=function(t){var n=t.color,r=t.onClick,i=t.onSwatchHover,a=t.hover,l=t.active,u=t.circleSize,c=t.circleSpacing,f=ke({default:{swatch:{width:u,height:u,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(u/2+1)+"px "+n,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+n}}},{hover:a,active:l});return b.createElement("div",{style:f.swatch},b.createElement(yi,{style:f.Swatch,color:n,onClick:r,onHover:i,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+n}}))};Iv.defaultProps={circleSize:28,circleSpacing:14};const SL=Ef(Iv);var ld=function(t){var n=t.width,r=t.onChange,i=t.onSwatchHover,a=t.colors,l=t.hex,u=t.circleSize,c=t.styles,f=c===void 0?{}:c,h=t.circleSpacing,p=t.className,m=p===void 0?"":p,v=ke(an({default:{card:{width:n,display:"flex",flexWrap:"wrap",marginRight:-h,marginBottom:-h}}},f)),S=function(E,A){return r({hex:E,source:"hex"},A)};return b.createElement("div",{style:v.card,className:"circle-picker "+m},Ci(a,function(x){return b.createElement(SL,{key:x,color:x,onClick:S,onSwatchHover:i,active:l===x.toLowerCase(),circleSize:u,circleSpacing:h})}))};ld.propTypes={width:he.oneOfType([he.string,he.number]),circleSize:he.number,circleSpacing:he.number,styles:he.object},ld.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[so[500],lo[500],uo[500],co[500],fo[500],ho[500],po[500],go[500],mo[500],Ra[500],vo[500],bo[500],yo[500],Co[500],xo[500],wo[500],So[500],Io[500]],styles:{}},sn(ld);function Ev(e){return e===void 0}var Av={};Object.defineProperty(Av,"__esModule",{value:!0});var _v=Object.assign||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},IL=b,Pv=EL(IL);function EL(e){return e&&e.__esModule?e:{default:e}}function AL(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var Cl=24,_L=Av.default=function(e){var t=e.fill,n=t===void 0?"currentColor":t,r=e.width,i=r===void 0?Cl:r,a=e.height,l=a===void 0?Cl:a,u=e.style,c=u===void 0?{}:u,f=AL(e,["fill","width","height","style"]);return Pv.default.createElement("svg",_v({viewBox:"0 0 "+Cl+" "+Cl,style:_v({fill:n,width:i,height:l},c)},f),Pv.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))},PL=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function TL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ML(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function OL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Tv=function(e){OL(t,e);function t(n){TL(this,t);var r=ML(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.toggleViews=function(){r.state.view==="hex"?r.setState({view:"rgb"}):r.state.view==="rgb"?r.setState({view:"hsl"}):r.state.view==="hsl"&&(r.props.hsl.a===1?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(i,a){i.hex?Wr(i.hex)&&r.props.onChange({hex:i.hex,source:"hex"},a):i.r||i.g||i.b?r.props.onChange({r:i.r||r.props.rgb.r,g:i.g||r.props.rgb.g,b:i.b||r.props.rgb.b,source:"rgb"},a):i.a?(i.a<0?i.a=0:i.a>1&&(i.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(i.a*100)/100,source:"rgb"},a)):(i.h||i.s||i.l)&&(typeof i.s=="string"&&i.s.includes("%")&&(i.s=i.s.replace("%","")),typeof i.l=="string"&&i.l.includes("%")&&(i.l=i.l.replace("%","")),i.s==1?i.s=.01:i.l==1&&(i.l=.01),r.props.onChange({h:i.h||r.props.hsl.h,s:Number(Ev(i.s)?r.props.hsl.s:i.s),l:Number(Ev(i.l)?r.props.hsl.l:i.l),source:"hsl"},a))},r.showHighlight=function(i){i.currentTarget.style.background="#eee"},r.hideHighlight=function(i){i.currentTarget.style.background="transparent"},n.hsl.a!==1&&n.view==="hex"?r.state={view:"rgb"}:r.state={view:n.view},r}return PL(t,[{key:"render",value:function(){var r=this,i=ke({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),a=void 0;return this.state.view==="hex"?a=b.createElement("div",{style:i.fields,className:"flexbox-fix"},b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?a=b.createElement("div",{style:i.fields,className:"flexbox-fix"},b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),b.createElement("div",{style:i.alpha},b.createElement(rt,{style:{input:i.input,label:i.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(a=b.createElement("div",{style:i.fields,className:"flexbox-fix"},b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),b.createElement("div",{style:i.alpha},b.createElement(rt,{style:{input:i.input,label:i.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),b.createElement("div",{style:i.wrap,className:"flexbox-fix"},a,b.createElement("div",{style:i.toggle},b.createElement("div",{style:i.icon,onClick:this.toggleViews,ref:function(u){return r.icon=u}},b.createElement(_L,{style:i.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.hsl.a!==1&&i.view==="hex"?{view:"rgb"}:null}}]),t}(b.Component);Tv.defaultProps={view:"hex"};var Mv=function(){var t=ke({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return b.createElement("div",{style:t.picker})},FL=function(){var t=ke({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return b.createElement("div",{style:t.picker})},ud=function(t){var n=t.width,r=t.onChange,i=t.disableAlpha,a=t.rgb,l=t.hsl,u=t.hsv,c=t.hex,f=t.renderers,h=t.styles,p=h===void 0?{}:h,m=t.className,v=m===void 0?"":m,S=t.defaultView,x=ke(an({default:{picker:{width:n,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},p),{disableAlpha:i});return b.createElement("div",{style:x.picker,className:"chrome-picker "+v},b.createElement("div",{style:x.saturation},b.createElement(pl,{style:x.Saturation,hsl:l,hsv:u,pointer:FL,onChange:r})),b.createElement("div",{style:x.body},b.createElement("div",{style:x.controls,className:"flexbox-fix"},b.createElement("div",{style:x.color},b.createElement("div",{style:x.swatch},b.createElement("div",{style:x.active}),b.createElement(io,{renderers:f}))),b.createElement("div",{style:x.toggles},b.createElement("div",{style:x.hue},b.createElement(oo,{style:x.Hue,hsl:l,pointer:Mv,onChange:r})),b.createElement("div",{style:x.alpha},b.createElement(_f,{style:x.Alpha,rgb:a,hsl:l,pointer:Mv,renderers:f,onChange:r})))),b.createElement(Tv,{rgb:a,hsl:l,hex:c,view:S,onChange:r,disableAlpha:i})))};ud.propTypes={width:he.oneOfType([he.string,he.number]),disableAlpha:he.bool,styles:he.object,defaultView:he.oneOf(["hex","rgb","hsl"])},ud.defaultProps={width:225,disableAlpha:!1,styles:{}},sn(ud);var RL=function(t){var n=t.color,r=t.onClick,i=r===void 0?function(){}:r,a=t.onSwatchHover,l=t.active,u=ke({default:{color:{background:n,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Kf(n),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:l,"color-#FFFFFF":n==="#FFFFFF",transparent:n==="transparent"});return b.createElement(yi,{style:u.color,color:n,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+n}},b.createElement("div",{style:u.dot}))},VL=function(t){var n=t.hex,r=t.rgb,i=t.onChange,a=ke({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:n},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),l=function(c,f){c.r||c.g||c.b?i({r:c.r||r.r,g:c.g||r.g,b:c.b||r.b,source:"rgb"},f):i({hex:c.hex,source:"hex"},f)};return b.createElement("div",{style:a.fields,className:"flexbox-fix"},b.createElement("div",{style:a.active}),b.createElement(rt,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:n,onChange:l}),b.createElement(rt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:r.r,onChange:l}),b.createElement(rt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:r.g,onChange:l}),b.createElement(rt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:r.b,onChange:l}))},cd=function(t){var n=t.onChange,r=t.onSwatchHover,i=t.colors,a=t.hex,l=t.rgb,u=t.styles,c=u===void 0?{}:u,f=t.className,h=f===void 0?"":f,p=ke(an({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),m=function(S,x){S.hex?Wr(S.hex)&&n({hex:S.hex,source:"hex"},x):n(S,x)};return b.createElement(Ta,{style:p.Compact,styles:c},b.createElement("div",{style:p.compact,className:"compact-picker "+h},b.createElement("div",null,Ci(i,function(v){return b.createElement(RL,{key:v,color:v,active:v.toLowerCase()===a,onClick:m,onSwatchHover:r})}),b.createElement("div",{style:p.clear})),b.createElement(VL,{hex:a,rgb:l,onChange:m})))};cd.propTypes={colors:he.arrayOf(he.string),styles:he.object},cd.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},sn(cd);var BL=function(t){var n=t.hover,r=t.color,i=t.onClick,a=t.onSwatchHover,l={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},u=ke({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:l}},{hover:n});return b.createElement("div",{style:u.swatch},b.createElement(yi,{color:r,onClick:i,onHover:a,focusStyle:l}))};const $L=Ef(BL);var fd=function(t){var n=t.width,r=t.colors,i=t.onChange,a=t.onSwatchHover,l=t.triangle,u=t.styles,c=u===void 0?{}:u,f=t.className,h=f===void 0?"":f,p=ke(an({default:{card:{width:n,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":l==="hide","top-left-triangle":l==="top-left","top-right-triangle":l==="top-right","bottom-left-triangle":l==="bottom-left","bottom-right-triangle":l==="bottom-right"}),m=function(S,x){return i({hex:S,source:"hex"},x)};return b.createElement("div",{style:p.card,className:"github-picker "+h},b.createElement("div",{style:p.triangleShadow}),b.createElement("div",{style:p.triangle}),Ci(r,function(v){return b.createElement($L,{color:v,key:v,onClick:m,onSwatchHover:a})}))};fd.propTypes={width:he.oneOfType([he.string,he.number]),colors:he.arrayOf(he.string),triangle:he.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:he.object},fd.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},sn(fd);var DL=function(t){var n=t.direction,r=ke({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:n==="vertical"});return b.createElement("div",{style:r.picker})},NL=Object.assign||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},dd=function(t){var n=t.width,r=t.height,i=t.onChange,a=t.hsl,l=t.direction,u=t.pointer,c=t.styles,f=c===void 0?{}:c,h=t.className,p=h===void 0?"":h,m=ke(an({default:{picker:{position:"relative",width:n,height:r},hue:{radius:"2px"}}},f)),v=function(x){return i({a:1,h:x.h,l:.5,s:1})};return b.createElement("div",{style:m.picker,className:"hue-picker "+p},b.createElement(oo,NL({},m.hue,{hsl:a,pointer:u,onChange:v,direction:l})))};dd.propTypes={styles:he.object},dd.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:DL,styles:{}};const LL=sn(dd);var jL=function(t){var n=t.onChange,r=t.hex,i=t.rgb,a=t.styles,l=a===void 0?{}:a,u=t.className,c=u===void 0?"":u,f=ke(an({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},l)),h=function(m,v){m.hex?Wr(m.hex)&&n({hex:m.hex,source:"hex"},v):(m.r||m.g||m.b)&&n({r:m.r||i.r,g:m.g||i.g,b:m.b||i.b,source:"rgb"},v)};return b.createElement(Ta,{styles:l},b.createElement("div",{style:f.material,className:"material-picker "+c},b.createElement(rt,{style:{wrap:f.HEXwrap,input:f.HEXinput,label:f.HEXlabel},label:"hex",value:r,onChange:h}),b.createElement("div",{style:f.split,className:"flexbox-fix"},b.createElement("div",{style:f.third},b.createElement(rt,{style:{wrap:f.RGBwrap,input:f.RGBinput,label:f.RGBlabel},label:"r",value:i.r,onChange:h})),b.createElement("div",{style:f.third},b.createElement(rt,{style:{wrap:f.RGBwrap,input:f.RGBinput,label:f.RGBlabel},label:"g",value:i.g,onChange:h})),b.createElement("div",{style:f.third},b.createElement(rt,{style:{wrap:f.RGBwrap,input:f.RGBinput,label:f.RGBlabel},label:"b",value:i.b,onChange:h})))))};sn(jL);var kL=function(t){var n=t.onChange,r=t.rgb,i=t.hsv,a=t.hex,l=ke({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),u=function(f,h){f["#"]?Wr(f["#"])&&n({hex:f["#"],source:"hex"},h):f.r||f.g||f.b?n({r:f.r||r.r,g:f.g||r.g,b:f.b||r.b,source:"rgb"},h):(f.h||f.s||f.v)&&n({h:f.h||i.h,s:f.s||i.s,v:f.v||i.v,source:"hsv"},h)};return b.createElement("div",{style:l.fields},b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"h",value:Math.round(i.h),onChange:u}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"s",value:Math.round(i.s*100),onChange:u}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"v",value:Math.round(i.v*100),onChange:u}),b.createElement("div",{style:l.divider}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:r.r,onChange:u}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:r.g,onChange:u}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:r.b,onChange:u}),b.createElement("div",{style:l.divider}),b.createElement(rt,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"#",value:a.replace("#",""),onChange:u}),b.createElement("div",{style:l.fieldSymbols},b.createElement("div",{style:l.symbol},"°"),b.createElement("div",{style:l.symbol},"%"),b.createElement("div",{style:l.symbol},"%")))},GL=function(t){var n=t.hsl,r=ke({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":n.l>.5});return b.createElement("div",{style:r.picker})},HL=function(){var t=ke({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return b.createElement("div",{style:t.pointer},b.createElement("div",{style:t.left},b.createElement("div",{style:t.leftInside})),b.createElement("div",{style:t.right},b.createElement("div",{style:t.rightInside})))},Ov=function(t){var n=t.onClick,r=t.label,i=t.children,a=t.active,l=ke({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return b.createElement("div",{style:l.button,onClick:n},r||i)},WL=function(t){var n=t.rgb,r=t.currentColor,i=ke({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+n.r+","+n.g+", "+n.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return b.createElement("div",null,b.createElement("div",{style:i.label},"new"),b.createElement("div",{style:i.swatches},b.createElement("div",{style:i.new}),b.createElement("div",{style:i.current})),b.createElement("div",{style:i.label},"current"))},XL=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function zL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZL(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function UL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var hd=function(e){UL(t,e);function t(n){zL(this,t);var r=ZL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.state={currentColor:n.hex},r}return XL(t,[{key:"render",value:function(){var r=this.props,i=r.styles,a=i===void 0?{}:i,l=r.className,u=l===void 0?"":l,c=ke(an({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},a));return b.createElement("div",{style:c.picker,className:"photoshop-picker "+u},b.createElement("div",{style:c.head},this.props.header),b.createElement("div",{style:c.body,className:"flexbox-fix"},b.createElement("div",{style:c.saturation},b.createElement(pl,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:GL,onChange:this.props.onChange})),b.createElement("div",{style:c.hue},b.createElement(oo,{direction:"vertical",hsl:this.props.hsl,pointer:HL,onChange:this.props.onChange})),b.createElement("div",{style:c.controls},b.createElement("div",{style:c.top,className:"flexbox-fix"},b.createElement("div",{style:c.previews},b.createElement(WL,{rgb:this.props.rgb,currentColor:this.state.currentColor})),b.createElement("div",{style:c.actions},b.createElement(Ov,{label:"OK",onClick:this.props.onAccept,active:!0}),b.createElement(Ov,{label:"Cancel",onClick:this.props.onCancel}),b.createElement(kL,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(b.Component);hd.propTypes={header:he.string,styles:he.object},hd.defaultProps={header:"Color Picker",styles:{}},sn(hd);var YL=function(t){var n=t.onChange,r=t.rgb,i=t.hsl,a=t.hex,l=t.disableAlpha,u=ke({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:l}),c=function(h,p){h.hex?Wr(h.hex)&&n({hex:h.hex,source:"hex"},p):h.r||h.g||h.b?n({r:h.r||r.r,g:h.g||r.g,b:h.b||r.b,a:r.a,source:"rgb"},p):h.a&&(h.a<0?h.a=0:h.a>100&&(h.a=100),h.a/=100,n({h:i.h,s:i.s,l:i.l,a:h.a,source:"rgb"},p))};return b.createElement("div",{style:u.fields,className:"flexbox-fix"},b.createElement("div",{style:u.double},b.createElement(rt,{style:{input:u.input,label:u.label},label:"hex",value:a.replace("#",""),onChange:c})),b.createElement("div",{style:u.single},b.createElement(rt,{style:{input:u.input,label:u.label},label:"r",value:r.r,onChange:c,dragLabel:"true",dragMax:"255"})),b.createElement("div",{style:u.single},b.createElement(rt,{style:{input:u.input,label:u.label},label:"g",value:r.g,onChange:c,dragLabel:"true",dragMax:"255"})),b.createElement("div",{style:u.single},b.createElement(rt,{style:{input:u.input,label:u.label},label:"b",value:r.b,onChange:c,dragLabel:"true",dragMax:"255"})),b.createElement("div",{style:u.alpha},b.createElement(rt,{style:{input:u.input,label:u.label},label:"a",value:Math.round(r.a*100),onChange:c,dragLabel:"true",dragMax:"100"})))},JL=Object.assign||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},Fv=function(t){var n=t.colors,r=t.onClick,i=r===void 0?function(){}:r,a=t.onSwatchHover,l=ke({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!n||!n.length}),u=function(f,h){i({hex:f,source:"hex"},h)};return b.createElement("div",{style:l.colors,className:"flexbox-fix"},n.map(function(c){var f=typeof c=="string"?{color:c}:c,h=""+f.color+(f.title||"");return b.createElement("div",{key:h,style:l.swatchWrap},b.createElement(yi,JL({},f,{style:l.swatch,onClick:u,onHover:a,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+f.color}})))}))};Fv.propTypes={colors:he.arrayOf(he.oneOfType([he.string,he.shape({color:he.string,title:he.string})])).isRequired};var KL=Object.assign||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},pd=function(t){var n=t.width,r=t.rgb,i=t.hex,a=t.hsv,l=t.hsl,u=t.onChange,c=t.onSwatchHover,f=t.disableAlpha,h=t.presetColors,p=t.renderers,m=t.styles,v=m===void 0?{}:m,S=t.className,x=S===void 0?"":S,E=ke(an({default:KL({picker:{width:n,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},v),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},v),{disableAlpha:f});return b.createElement("div",{style:E.picker,className:"sketch-picker "+x},b.createElement("div",{style:E.saturation},b.createElement(pl,{style:E.Saturation,hsl:l,hsv:a,onChange:u})),b.createElement("div",{style:E.controls,className:"flexbox-fix"},b.createElement("div",{style:E.sliders},b.createElement("div",{style:E.hue},b.createElement(oo,{style:E.Hue,hsl:l,onChange:u})),b.createElement("div",{style:E.alpha},b.createElement(_f,{style:E.Alpha,rgb:r,hsl:l,renderers:p,onChange:u}))),b.createElement("div",{style:E.color},b.createElement(io,null),b.createElement("div",{style:E.activeColor}))),b.createElement(YL,{rgb:r,hsl:l,hex:i,onChange:u,disableAlpha:f}),b.createElement(Fv,{colors:h,onClick:u,onSwatchHover:c}))};pd.propTypes={disableAlpha:he.bool,width:he.oneOfType([he.string,he.number]),styles:he.object},pd.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},sn(pd);var Va=function(t){var n=t.hsl,r=t.offset,i=t.onClick,a=i===void 0?function(){}:i,l=t.active,u=t.first,c=t.last,f=ke({default:{swatch:{height:"12px",background:"hsl("+n.h+", 50%, "+r*100+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:u,last:c}),h=function(m){return a({h:n.h,s:.5,l:r,source:"hsl"},m)};return b.createElement("div",{style:f.swatch,onClick:h})},qL=function(t){var n=t.onClick,r=t.hsl,i=ke({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),a=.1;return b.createElement("div",{style:i.swatches},b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".80",active:Math.abs(r.l-.8)<a&&Math.abs(r.s-.5)<a,onClick:n,first:!0})),b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".65",active:Math.abs(r.l-.65)<a&&Math.abs(r.s-.5)<a,onClick:n})),b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".50",active:Math.abs(r.l-.5)<a&&Math.abs(r.s-.5)<a,onClick:n})),b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".35",active:Math.abs(r.l-.35)<a&&Math.abs(r.s-.5)<a,onClick:n})),b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".20",active:Math.abs(r.l-.2)<a&&Math.abs(r.s-.5)<a,onClick:n,last:!0})),b.createElement("div",{style:i.clear}))},QL=function(){var t=ke({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return b.createElement("div",{style:t.picker})},gd=function(t){var n=t.hsl,r=t.onChange,i=t.pointer,a=t.styles,l=a===void 0?{}:a,u=t.className,c=u===void 0?"":u,f=ke(an({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},l));return b.createElement("div",{style:f.wrap||{},className:"slider-picker "+c},b.createElement("div",{style:f.hue},b.createElement(oo,{style:f.Hue,hsl:n,pointer:i,onChange:r})),b.createElement("div",{style:f.swatches},b.createElement(qL,{hsl:n,onClick:r})))};gd.propTypes={styles:he.object},gd.defaultProps={pointer:QL,styles:{}},sn(gd);var Rv={};Object.defineProperty(Rv,"__esModule",{value:!0});var Vv=Object.assign||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},ej=b,Bv=tj(ej);function tj(e){return e&&e.__esModule?e:{default:e}}function nj(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var xl=24,rj=Rv.default=function(e){var t=e.fill,n=t===void 0?"currentColor":t,r=e.width,i=r===void 0?xl:r,a=e.height,l=a===void 0?xl:a,u=e.style,c=u===void 0?{}:u,f=nj(e,["fill","width","height","style"]);return Bv.default.createElement("svg",Vv({viewBox:"0 0 "+xl+" "+xl,style:Vv({fill:n,width:i,height:l},c)},f),Bv.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},ij=function(t){var n=t.color,r=t.onClick,i=r===void 0?function(){}:r,a=t.onSwatchHover,l=t.first,u=t.last,c=t.active,f=ke({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:n,marginBottom:"1px"},check:{color:Kf(n),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:l,last:u,active:c,"color-#FFFFFF":n==="#FFFFFF",transparent:n==="transparent"});return b.createElement(yi,{color:n,style:f.color,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+n}},b.createElement("div",{style:f.check},b.createElement(rj,null)))},oj=function(t){var n=t.onClick,r=t.onSwatchHover,i=t.group,a=t.active,l=ke({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return b.createElement("div",{style:l.group},Ci(i,function(u,c){return b.createElement(ij,{key:u,color:u,active:u.toLowerCase()===a,first:c===0,last:c===i.length-1,onClick:n,onSwatchHover:r})}))},md=function(t){var n=t.width,r=t.height,i=t.onChange,a=t.onSwatchHover,l=t.colors,u=t.hex,c=t.styles,f=c===void 0?{}:c,h=t.className,p=h===void 0?"":h,m=ke(an({default:{picker:{width:n,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},f)),v=function(x,E){return i({hex:x,source:"hex"},E)};return b.createElement("div",{style:m.picker,className:"swatches-picker "+p},b.createElement(Ta,null,b.createElement("div",{style:m.overflow},b.createElement("div",{style:m.body},Ci(l,function(S){return b.createElement(oj,{key:S.toString(),group:S,active:u,onClick:v,onSwatchHover:a})}),b.createElement("div",{style:m.clear})))))};md.propTypes={width:he.oneOfType([he.string,he.number]),height:he.oneOfType([he.string,he.number]),colors:he.arrayOf(he.arrayOf(he.string)),styles:he.object},md.defaultProps={width:320,height:240,colors:[[so[900],so[700],so[500],so[300],so[100]],[lo[900],lo[700],lo[500],lo[300],lo[100]],[uo[900],uo[700],uo[500],uo[300],uo[100]],[co[900],co[700],co[500],co[300],co[100]],[fo[900],fo[700],fo[500],fo[300],fo[100]],[ho[900],ho[700],ho[500],ho[300],ho[100]],[po[900],po[700],po[500],po[300],po[100]],[go[900],go[700],go[500],go[300],go[100]],[mo[900],mo[700],mo[500],mo[300],mo[100]],["#194D33",Ra[700],Ra[500],Ra[300],Ra[100]],[vo[900],vo[700],vo[500],vo[300],vo[100]],[bo[900],bo[700],bo[500],bo[300],bo[100]],[yo[900],yo[700],yo[500],yo[300],yo[100]],[Co[900],Co[700],Co[500],Co[300],Co[100]],[xo[900],xo[700],xo[500],xo[300],xo[100]],[wo[900],wo[700],wo[500],wo[300],wo[100]],[So[900],So[700],So[500],So[300],So[100]],[Io[900],Io[700],Io[500],Io[300],Io[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},sn(md);var vd=function(t){var n=t.onChange,r=t.onSwatchHover,i=t.hex,a=t.colors,l=t.width,u=t.triangle,c=t.styles,f=c===void 0?{}:c,h=t.className,p=h===void 0?"":h,m=ke(an({default:{card:{width:l,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},f),{"hide-triangle":u==="hide","top-left-triangle":u==="top-left","top-right-triangle":u==="top-right"}),v=function(x,E){Wr(x)&&n({hex:x,source:"hex"},E)};return b.createElement("div",{style:m.card,className:"twitter-picker "+p},b.createElement("div",{style:m.triangleShadow}),b.createElement("div",{style:m.triangle}),b.createElement("div",{style:m.body},Ci(a,function(S,x){return b.createElement(yi,{key:x,color:S,hex:S,style:m.swatch,onClick:v,onHover:r,focusStyle:{boxShadow:"0 0 4px "+S}})}),b.createElement("div",{style:m.hash},"#"),b.createElement(rt,{label:null,style:{input:m.input},value:i.replace("#",""),onChange:v}),b.createElement("div",{style:m.clear})))};vd.propTypes={width:he.oneOfType([he.string,he.number]),triangle:he.oneOf(["hide","top-left","top-right"]),colors:he.arrayOf(he.string),styles:he.object},vd.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},sn(vd);var bd=function(t){var n=ke({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(t.hsl.h)+", "+Math.round(t.hsl.s*100)+"%, "+Math.round(t.hsl.l*100)+"%)"}}});return b.createElement("div",{style:n.picker})};bd.propTypes={hsl:he.shape({h:he.number,s:he.number,l:he.number,a:he.number})},bd.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var yd=function(t){var n=ke({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(t.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return b.createElement("div",{style:n.picker})};yd.propTypes={hsl:he.shape({h:he.number,s:he.number,l:he.number,a:he.number})},yd.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var aj=function(t){var n=t.onChange,r=t.rgb,i=t.hsl,a=t.hex,l=t.hsv,u=function(v,S){if(v.hex)Wr(v.hex)&&n({hex:v.hex,source:"hex"},S);else if(v.rgb){var x=v.rgb.split(",");qf(v.rgb,"rgb")&&n({r:x[0],g:x[1],b:x[2],a:1,source:"rgb"},S)}else if(v.hsv){var E=v.hsv.split(",");qf(v.hsv,"hsv")&&(E[2]=E[2].replace("%",""),E[1]=E[1].replace("%",""),E[0]=E[0].replace("°",""),E[1]==1?E[1]=.01:E[2]==1&&(E[2]=.01),n({h:Number(E[0]),s:Number(E[1]),v:Number(E[2]),source:"hsv"},S))}else if(v.hsl){var A=v.hsl.split(",");qf(v.hsl,"hsl")&&(A[2]=A[2].replace("%",""),A[1]=A[1].replace("%",""),A[0]=A[0].replace("°",""),p[1]==1?p[1]=.01:p[2]==1&&(p[2]=.01),n({h:Number(A[0]),s:Number(A[1]),v:Number(A[2]),source:"hsl"},S))}},c=ke({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),f=r.r+", "+r.g+", "+r.b,h=Math.round(i.h)+"°, "+Math.round(i.s*100)+"%, "+Math.round(i.l*100)+"%",p=Math.round(l.h)+"°, "+Math.round(l.s*100)+"%, "+Math.round(l.v*100)+"%";return b.createElement("div",{style:c.wrap,className:"flexbox-fix"},b.createElement("div",{style:c.fields},b.createElement("div",{style:c.double},b.createElement(rt,{style:{input:c.input,label:c.label},label:"hex",value:a,onChange:u})),b.createElement("div",{style:c.column},b.createElement("div",{style:c.single},b.createElement(rt,{style:{input:c.input2,label:c.label2},label:"rgb",value:f,onChange:u})),b.createElement("div",{style:c.single},b.createElement(rt,{style:{input:c.input2,label:c.label2},label:"hsv",value:p,onChange:u})),b.createElement("div",{style:c.single},b.createElement(rt,{style:{input:c.input2,label:c.label2},label:"hsl",value:h,onChange:u})))))},Cd=function(t){var n=t.width,r=t.onChange,i=t.rgb,a=t.hsl,l=t.hsv,u=t.hex,c=t.header,f=t.styles,h=f===void 0?{}:f,p=t.className,m=p===void 0?"":p,v=ke(an({default:{picker:{width:n,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+i.r+", "+i.g+", "+i.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},h));return b.createElement("div",{style:v.picker,className:"google-picker "+m},b.createElement("div",{style:v.head},c),b.createElement("div",{style:v.swatch}),b.createElement("div",{style:v.saturation},b.createElement(pl,{hsl:a,hsv:l,pointer:bd,onChange:r})),b.createElement("div",{style:v.body},b.createElement("div",{style:v.controls,className:"flexbox-fix"},b.createElement("div",{style:v.hue},b.createElement(oo,{style:v.Hue,hsl:a,radius:"4px",pointer:yd,onChange:r}))),b.createElement(aj,{rgb:i,hsl:a,hex:u,hsv:l,onChange:r})))};Cd.propTypes={width:he.oneOfType([he.string,he.number]),styles:he.object,header:he.string},Cd.defaultProps={width:652,styles:{},header:"Color picker"},sn(Cd);const $v=({color:e="#ff0000",disabled:t=!1,onChange:n=()=>{}})=>{const[r,i]=b.useState(e),a=l=>{t||(i(l.hex),n(l.hex))};return w.jsxs("div",{className:"flex items-end justify-between w-full gap-2 px-2 bottom-1 hue-container",children:[w.jsx("div",{className:"relative h-2 grow bottom-1",children:w.jsx(LL,{className:Ke("h-3 w-full",{"saturate-0":t,"saturate-100":!t}),color:r,onChange:a})}),w.jsx("div",{className:"flex-1",children:w.jsx("input",{disabled:t,className:"w-full px-1 outline-none",value:r,onChange:l=>{i(l.target.value),n(l.target.value)}})}),w.jsx("div",{className:"flex-none",children:w.jsx("div",{style:{backgroundColor:r},className:`w-6 h-6 rounded-full shadow ${t?"saturate-0":"saturate-100"}`})})]})};function sj({dismiss:e,message:t}){return w.jsxs("div",{className:"relative z-[999] flex items-center p-4 text-sm border-l-4 border-red-400 shadow-lg w-80 bg-red-50",children:[w.jsx("button",{type:"button",className:"absolute top-0 right-0 w-4 m-3 text-red-400",onClick:e,children:w.jsx(Cs,{className:"w-4 h-4"})}),w.jsx("div",{className:"flex-shrink-0 w-5 h-5 mr-2 text-red-500",children:w.jsx(Ay,{})}),w.jsx("p",{className:"text-sm",children:t})]})}function lj({open:e,children:t,close:n,size:r="2xl",scrollToTop:i=!0}){return w.jsx(Ws,{isOpen:e,close:n,scrollToTop:i,isDialog:!0,children:w.jsx("div",{className:Ke("w-full h-full overflow-hidden",{"hidden w-0 h-0 invisible":!e}),children:w.jsx(Yc,{mode:"wait",children:e&&w.jsx(ga.div,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},exit:{opacity:0,scale:0},transition:{type:"spring"},className:"flex items-center min-h-screen",children:w.jsx("div",{className:Ke("flex-1 mx-auto",{"max-w-xs":r==="xs","max-w-sm":r==="sm","max-w-md":r==="md","max-w-lg":r==="lg","max-w-xl":r==="xl","max-w-2xl":r==="2xl","max-w-3xl":r==="3xl","max-w-4xl":r==="4xl","max-w-5xl":r==="5xl","max-w-6xl":r==="6xl","max-w-7xl":r==="7xl"}),onClick:a=>a.stopPropagation(),children:t})})})})})}function Dv({title:e,data:t,disabledFilter:n}){const[r,i]=b.useState([]),[a,l]=b.useState(""),[u,c]=b.useState([]);b.useEffect(()=>{function E(){let A=t;a&&(A=A.filter(O=>a===""?!0:Object.values(O).some(R=>R==null?void 0:R.toString().toUpperCase().includes(a.toUpperCase())))),c(A)}E()},[t,a]);function f(E){const{checked:A}=E.target;if(!A){i([]);return}let O=u;n&&(O=O.filter(R=>!n(R))),i(O)}function h(E){i(A=>A.findIndex(R=>R.id===E)!==-1?A.filter(R=>R.id!==E):A)}function p(E){i(A=>A.findIndex(R=>R.id===E.id)===-1?[...A,E]:A)}function m(E){l(E.target.value)}const v=u?u.filter(E=>n?!n(E):!0):[],x=r.length===v.length&&r.length>0&&v.length>0;return{title:e,query:a,data:t||[],areAllSelected:x,selected:r,dataBox:u,select:p,unselect:h,setFilter:m,selectAll:f}}function uj(e,t){return e.map(n=>n[t])}var gr=function(){return gr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},gr.apply(this,arguments)};function Nv(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}typeof SuppressedError=="function"&&SuppressedError;var wl={color:"#38ad48",enabled:!0,size:50,style:{}},cj=function(e){return parseFloat(e.toString()).toString()===e.toString()?"".concat(e,"px"):e.toString()},fj=function(e){function t(n){var r=n.color,i=r===void 0?wl.color:r,a=n.enabled,l=a===void 0?wl.enabled:a,u=n.size,c=u===void 0?wl.size:u,f=n.style,h=f===void 0?wl.style:f,p=Nv(n,["color","enabled","size","style"]),m=gr(gr({},p),{style:gr({color:i,overflow:"visible",width:cj(c)},h)});return l?b.createElement(e,gr({},m)):null}return t},dj={speed:100,still:!1,thickness:100},Sl=gr(gr({},dj),{secondaryColor:"rgba(0,0,0,0.44)"});function hj(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var pj="@keyframes spinners-react-circular{0%{stroke-dashoffset:306}50%{stroke-dasharray:40,134}to{stroke-dasharray:1,174;stroke-dashoffset:132}}";hj(pj);function gj(e){var t=e.secondaryColor,n=t===void 0?Sl.secondaryColor:t,r=e.speed,i=r===void 0?Sl.speed:r,a=e.still,l=a===void 0?Sl.still:a,u=e.thickness,c=u===void 0?Sl.thickness:u,f=Nv(e,["secondaryColor","speed","still","thickness"]),h=4*(c/100),p=l?{}:{animation:"spinners-react-circular ".concat(140/i,"s linear infinite")};return b.createElement("svg",gr({fill:"none"},f,{viewBox:"0 0 66 66"}),b.createElement("circle",{cx:"33",cy:"33",fill:"none",r:"28",stroke:n,strokeWidth:h}),b.createElement("circle",{cx:"33",cy:"33",fill:"none",r:"28",stroke:"currentColor",strokeDasharray:"1, 174",strokeDashoffset:"306",strokeLinecap:"round",strokeWidth:h,style:p}))}var mj=fj(gj);const xd=({children:e="Carregando...",color:t="rgba(0, 147, 178, 1)",secondaryColor:n="rgba(0, 0, 0, 0.44)",silent:r=!1,size:i=100,thickness:a=480,speed:l=100})=>w.jsxs("div",{className:"flex flex-col justify-center gap-2",children:[w.jsx("div",{className:"mx-auto",children:w.jsx(mj,{size:i,thickness:a,speed:l,color:t,secondaryColor:n})}),!r&&w.jsx("span",{className:"text-xl font-semibold text-center text-brand-primary",children:e})]});function Lv({title:e,placeHolderSearchField:t,onChangeSearchField:n,headers:r,listOrder:i,labels:a,onChangeCheckBoxAll:l,checkedCheckBoxAll:u,list:c,isLoading:f}){const[h,p]=b.useState(null),m=E=>{let A="asc";h&&h.key===E&&(h.direction==="asc"?A="desc":h.direction==="desc"&&(A="none")),p(A==="none"?null:{key:E,direction:A})},S=h?[...c.dataBox].sort((E,A)=>E[h.key]<A[h.key]?h.direction==="asc"?-1:1:E[h.key]>A[h.key]?h.direction==="asc"?1:-1:0):c.dataBox,x=E=>!h||h.key!==E?w.jsx(n0,{}):w.jsx("span",{children:h.direction==="asc"?w.jsx(e0,{}):w.jsx(t0,{})});return w.jsxs("div",{className:"flex flex-col justify-between flex-1 gap-2 p-4 border shadow-md rounded-xl border-stone-200",children:[w.jsx("h1",{className:"text-lg font-bold text-primary-500",children:e}),w.jsxs("div",{className:"space-y-2",children:[w.jsxs("div",{className:"flex items-center gap-2 px-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b-2 focus-within:border-primary-500 focus-within:ring-primary-500 dark:bg-gray-900",children:[w.jsx(ec,{className:"w-5 h-5 text-gray-500"}),w.jsx("input",{type:"text",placeholder:t,className:"block w-full text-gray-500 bg-transparent border-none appearance-none focus:border-primary-500 focus:ring-0",onChange:n})]}),w.jsx("div",{id:"table-fix-head",className:"flex-1 overflow-y-auto h-80",children:w.jsxs("table",{className:"w-full border-collapse rounded-2xl",children:[w.jsx("thead",{className:"text-left border",children:w.jsxs("tr",{className:"bg-gray-100 sticky top-0 p-3 text-sm font-bold text-primary-500 dark:bg-gray-900",children:[r.map(({header:E,acessor:A})=>w.jsx("th",{children:w.jsxs("div",{className:"flex items-center gap-2 p-2 cursor-pointer hover:bg-gray-200 rounded",onClick:()=>m(A),children:[E,x(A)]})},`table-header-${i}-list-${A}`)),w.jsx("th",{className:"flex items-center justify-center w-full h-10",children:w.jsx("input",{className:"w-5 h-5 rounded-md cursor-pointer border-primary-500 border-1 text-primary-500 focus:ring-0",type:"checkbox",name:`checkAllRowsBox${i}`,id:`checkAllRowsBox${i}`,onChange:l,checked:u})})]})}),w.jsxs("tbody",{children:[f&&w.jsx("tr",{children:w.jsx("td",{colSpan:r.length+1,rowSpan:1,children:w.jsx("div",{className:"py-2",children:w.jsx(xd,{size:36,children:w.jsx("p",{className:"text-xs",children:a.processing})})})})}),!f&&(c==null?void 0:c.data.length)===0&&w.jsx("tr",{children:w.jsx("td",{className:"w-full h-10 p-3",colSpan:r.length+1,rowSpan:1,children:w.jsx("p",{className:"text-sm text-center text-gray-500",children:a.noRecordFound})})}),!f&&S.filter(E=>c.query===""?!0:Object.values(E).some(A=>A==null?void 0:A.toString().toUpperCase().includes(c.query.toUpperCase()))).map(E=>{const A=uj(c.selected,"id"),O=A.includes(E.id),R=()=>{if(O){c.unselect(E.id);return}c.select(E)};return w.jsxs("tr",{className:`${E!=null&&E.isDisabled?"bg-stone-200 border-stone-300 cursor-not-allowed":"border-stone-200"} border`,children:[r.map(({acessor:$})=>w.jsxs("td",{className:"h-10 p-3",children:[w.jsx("label",{htmlFor:E.id}),w.jsx("p",{className:`text-sm text-gray-500 ${(E==null?void 0:E.isDisabled)&&"bg-stone-200"}`,children:E[$]})]},`table-tbody-${i}-list-${$}`)),w.jsx("td",{className:"flex items-center justify-center w-full h-10",children:w.jsx("input",{className:"w-5 h-5 rounded-md disabled:border-stone-400 disabled:cursor-not-allowed disabled:bg-stone-300 border-primary-500 border-1 text-primary-500 focus:ring-0",disabled:E==null?void 0:E.isDisabled,type:"checkbox",name:E.id,id:E.id,onChange:R,checked:A.includes(E.id)})})]},`td-${i}-${E.id}`)})]})]})})]}),w.jsx("div",{children:w.jsxs("div",{className:"flex flex-col w-full",children:[w.jsxs("p",{className:"text-sm",children:[w.jsxs("span",{className:"font-bold text-primary-500",children:[a.selected,": "]}),w.jsx("span",{className:"dark:text-white",children:c.selected.length})]}),w.jsxs("p",{className:"text-sm",children:[w.jsxs("span",{className:"font-bold text-primary-500",children:[a.all,": "]}),w.jsx("span",{className:"dark:text-white",children:c.dataBox.length})]})]})})]})}function vj({headers:e,titleOne:t,titleTwo:n,dataOne:r,dataTwo:i,isLoadingOne:a,isLoadingTwo:l,labels:u,placeHolderSearchField:c,onAssociation:f,onDissociation:h}){const p=Dv({title:t,data:r}),m=Dv({title:n,data:i});function v(){f(p.selected),p.selected.forEach(x=>{p.unselect(x.id)})}function S(){h(m.selected),m.selected.forEach(x=>{m.unselect(x.id)})}return w.jsxs("div",{className:"flex gap-7",children:[w.jsx(Lv,{title:t,placeHolderSearchField:c,onChangeSearchField:p.setFilter,headers:e,labels:u,checkedCheckBoxAll:p.areAllSelected,onChangeCheckBoxAll:p.selectAll,isLoading:a,list:p,listOrder:"first"},1),w.jsxs("div",{className:"flex flex-col items-center justify-center space-y-1 w-9",children:[w.jsx(Ji,{type:"button",variant:"primary",onClick:v,disabled:p.selected.length===0,children:w.jsx(Qh,{className:"w-6 "})}),w.jsx(Ji,{type:"button",variant:"primary",onClick:S,disabled:m.selected.length===0,children:w.jsx(qh,{className:"w-6"})})]}),w.jsx(Lv,{title:n,placeHolderSearchField:c,onChangeSearchField:m.setFilter,headers:e,labels:u,checkedCheckBoxAll:m.areAllSelected,onChangeCheckBoxAll:m.selectAll,isLoading:l,list:m,listOrder:"second"},2)]})}const Ba=({children:e,...t})=>w.jsx("span",{className:"block min-h-full pt-1 pl-1 text-xs font-semibold text-left text-brand-danger",...t,children:e});var bj=process.env.NODE_ENV==="production";function Eo(e,t){if(!bj){var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var jv=Mf,yj={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Cj={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kv={};kv[jv.ForwardRef]=yj,kv[jv.Memo]=Cj;function wd(){return wd=Object.assign||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},wd.apply(this,arguments)}function xj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var Il=b.createContext(void 0);Il.displayName="FormikContext",Il.Provider,Il.Consumer;function Gv(){var e=b.useContext(Il);return e||(process.env.NODE_ENV!=="production"?Eo(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):Eo()),e}var wj=function(t){return t!==null&&typeof t=="object"};function Sj(e){var t=Gv(),n=t.getFieldProps,r=t.getFieldMeta,i=t.getFieldHelpers,a=t.registerField,l=t.unregisterField,u=wj(e),c=u?e:{name:e},f=c.name,h=c.validate;b.useEffect(function(){return f&&a(f,{validate:h}),function(){f&&l(f)}},[a,l,f,h]),process.env.NODE_ENV!=="production"&&(t||(process.env.NODE_ENV!=="production"?Eo(!1,"useField() / <Field /> must be used underneath a <Formik> component or withFormik() higher order component"):Eo())),f||(process.env.NODE_ENV!=="production"?Eo(!1,"Invalid field name. Either pass `useField` a string or an object containing a `name` key."):Eo());var p=b.useMemo(function(){return i(f)},[i,f]);return[n(c),r(f),p]}var Ij=b.forwardRef(function(e,t){var n=e.action,r=xj(e,["action"]),i=n??"#",a=Gv(),l=a.handleReset,u=a.handleSubmit;return b.createElement("form",wd({onSubmit:u,ref:t,onReset:l,action:i},r))});Ij.displayName="Form";var Sd={exports:{}},Id,Hv;function Ej(){if(Hv)return Id;Hv=1;function e(M){return M&&typeof M=="object"&&"default"in M?M.default:M}var t=e(b),n=Uu;function r(M,T){for(var V=Object.getOwnPropertyNames(T),F=0;F<V.length;F++){var y=V[F],k=Object.getOwnPropertyDescriptor(T,y);k&&k.configurable&&M[y]===void 0&&Object.defineProperty(M,y,k)}return M}function i(){return(i=Object.assign||function(M){for(var T=1;T<arguments.length;T++){var V=arguments[T];for(var F in V)Object.prototype.hasOwnProperty.call(V,F)&&(M[F]=V[F])}return M}).apply(this,arguments)}function a(M,T){M.prototype=Object.create(T.prototype),r(M.prototype.constructor=M,T)}function l(M,T){if(M==null)return{};var V,F,y={},k=Object.keys(M);for(F=0;F<k.length;F++)V=k[F],0<=T.indexOf(V)||(y[V]=M[V]);return y}function u(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}var c=function(M,T,V,F,y,k,ee,oe){if(!M){var z;if(T===void 0)z=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var J=[V,F,y,k,ee,oe],re=0;(z=new Error(T.replace(/%s/g,function(){return J[re++]}))).name="Invariant Violation"}throw z.framesToPop=1,z}},f=c;function h(M,T,V){if("selectionStart"in M&&"selectionEnd"in M)M.selectionStart=T,M.selectionEnd=V;else{var F=M.createTextRange();F.collapse(!0),F.moveStart("character",T),F.moveEnd("character",V-T),F.select()}}function p(M){var T=0,V=0;if("selectionStart"in M&&"selectionEnd"in M)T=M.selectionStart,V=M.selectionEnd;else{var F=document.selection.createRange();F.parentElement()===M&&(T=-F.moveStart("character",-M.value.length),V=-F.moveEnd("character",-M.value.length))}return{start:T,end:V,length:V-T}}var m={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},v="_";function S(M,T,V){var F="",y="",k=null,ee=[];if(T===void 0&&(T=v),V==null&&(V=m),!M||typeof M!="string")return{maskChar:T,formatChars:V,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var oe=!1;return M.split("").forEach(function(z){oe=!oe&&z==="\\"||(oe||!V[z]?(ee.push(F.length),F.length===ee.length-1&&(y+=z)):k=F.length+1,F+=z,!1)}),{maskChar:T,formatChars:V,prefix:y,mask:F,lastEditablePosition:k,permanents:ee}}function x(M,T){return M.permanents.indexOf(T)!==-1}function E(M,T,V){var F=M.mask,y=M.formatChars;if(!V)return!1;if(x(M,T))return F[T]===V;var k=y[F[T]];return new RegExp(k).test(V)}function A(M,T){return T.split("").every(function(V,F){return x(M,F)||!E(M,F,V)})}function O(M,T){var V=M.maskChar,F=M.prefix;if(!V){for(;T.length>F.length&&x(M,T.length-1);)T=T.slice(0,T.length-1);return T.length}for(var y=F.length,k=T.length;k>=F.length;k--){var ee=T[k];if(!x(M,k)&&E(M,k,ee)){y=k+1;break}}return y}function R(M,T){return O(M,T)===M.mask.length}function $(M,T){var V=M.maskChar,F=M.mask,y=M.prefix;if(!V){for((T=X(M,"",T,0)).length<y.length&&(T=y);T.length<F.length&&x(M,T.length);)T+=F[T.length];return T}if(T)return X(M,$(M,""),T,0);for(var k=0;k<F.length;k++)x(M,k)?T+=F[k]:T+=V;return T}function N(M,T,V,F){var y=V+F,k=M.maskChar,ee=M.mask,oe=M.prefix,z=T.split("");if(k)return z.map(function(re,ie){return ie<V||y<=ie?re:x(M,ie)?ee[ie]:k}).join("");for(var J=y;J<z.length;J++)x(M,J)&&(z[J]="");return V=Math.max(oe.length,V),z.splice(V,y-V),T=z.join(""),$(M,T)}function X(M,T,V,F){var y=M.mask,k=M.maskChar,ee=M.prefix,oe=V.split(""),z=R(M,T);return!k&&F>T.length&&(T+=y.slice(T.length,F)),oe.every(function(J){for(;K=J,x(M,ue=F)&&K!==y[ue];){if(F>=T.length&&(T+=y[F]),re=J,ie=F,k&&x(M,ie)&&re===k)return!0;if(++F>=y.length)return!1}var re,ie,ue,K;return!E(M,F,J)&&J!==k||(F<T.length?T=k||z||F<ee.length?T.slice(0,F)+J+T.slice(F+1):(T=T.slice(0,F)+J+T.slice(F),$(M,T)):k||(T+=J),++F<y.length)}),T}function Z(M,T,V,F){var y=M.mask,k=M.maskChar,ee=V.split(""),oe=F;return ee.every(function(z){for(;re=z,x(M,J=F)&&re!==y[J];)if(++F>=y.length)return!1;var J,re;return(E(M,F,z)||z===k)&&F++,F<y.length}),F-oe}function U(M,T){for(var V=T;0<=V;--V)if(!x(M,V))return V;return null}function se(M,T){for(var V=M.mask,F=T;F<V.length;++F)if(!x(M,F))return F;return null}function Ae(M){return M||M===0?M+"":""}function Xe(M,T,V,F,y){var k=M.mask,ee=M.prefix,oe=M.lastEditablePosition,z=T,J="",re=0,ie=0,ue=Math.min(y.start,V.start);return V.end>y.start?ie=(re=Z(M,F,J=z.slice(y.start,V.end),ue))?y.length:0:z.length<F.length&&(ie=F.length-z.length),z=F,ie&&(ie===1&&!y.length&&(ue=y.start===V.start?se(M,V.start):U(M,V.start)),z=N(M,z,ue,ie)),z=X(M,z,J,ue),(ue+=re)>=k.length?ue=k.length:ue<ee.length&&!re?ue=ee.length:ue>=ee.length&&ue<oe&&re&&(ue=se(M,ue)),J||(J=null),{value:z=$(M,z),enteredString:J,selection:{start:ue,end:ue}}}function Ge(){var M=new RegExp("windows","i"),T=new RegExp("phone","i"),V=navigator.userAgent;return M.test(V)&&T.test(V)}function pe(M){return typeof M=="function"}function Se(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function Te(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function be(M){return(Te()?Se():function(){return setTimeout(M,1e3/60)})(M)}function Ve(M){(Te()||clearTimeout)(M)}var ze=function(M){function T(F){var y=M.call(this,F)||this;y.focused=!1,y.mounted=!1,y.previousSelection=null,y.selectionDeferId=null,y.saveSelectionLoopDeferId=null,y.saveSelectionLoop=function(){y.previousSelection=y.getSelection(),y.saveSelectionLoopDeferId=be(y.saveSelectionLoop)},y.runSaveSelectionLoop=function(){y.saveSelectionLoopDeferId===null&&y.saveSelectionLoop()},y.stopSaveSelectionLoop=function(){y.saveSelectionLoopDeferId!==null&&(Ve(y.saveSelectionLoopDeferId),y.saveSelectionLoopDeferId=null,y.previousSelection=null)},y.getInputDOMNode=function(){if(!y.mounted)return null;var fe=n.findDOMNode(u(u(y))),q=typeof window<"u"&&fe instanceof window.Element;if(fe&&!q)return null;if(fe.nodeName!=="INPUT"&&(fe=fe.querySelector("input")),!fe)throw new Error("react-input-mask: inputComponent doesn't contain input node");return fe},y.getInputValue=function(){var fe=y.getInputDOMNode();return fe?fe.value:null},y.setInputValue=function(fe){var q=y.getInputDOMNode();q&&(y.value=fe,q.value=fe)},y.setCursorToEnd=function(){var fe=O(y.maskOptions,y.value),q=se(y.maskOptions,fe);q!==null&&y.setCursorPosition(q)},y.setSelection=function(fe,q,de){de===void 0&&(de={});var xe=y.getInputDOMNode(),ye=y.isFocused();xe&&ye&&(de.deferred||h(xe,fe,q),y.selectionDeferId!==null&&Ve(y.selectionDeferId),y.selectionDeferId=be(function(){y.selectionDeferId=null,h(xe,fe,q)}),y.previousSelection={start:fe,end:q,length:Math.abs(q-fe)})},y.getSelection=function(){return p(y.getInputDOMNode())},y.getCursorPosition=function(){return y.getSelection().start},y.setCursorPosition=function(fe){y.setSelection(fe,fe)},y.isFocused=function(){return y.focused},y.getBeforeMaskedValueChangeConfig=function(){var fe=y.maskOptions,q=fe.mask,de=fe.maskChar,xe=fe.permanents,ye=fe.formatChars;return{mask:q,maskChar:de,permanents:xe,alwaysShowMask:!!y.props.alwaysShowMask,formatChars:ye}},y.isInputAutofilled=function(fe,q,de,xe){var ye=y.getInputDOMNode();try{if(ye.matches(":-webkit-autofill"))return!0}catch{}return!y.focused||xe.end<de.length&&q.end===fe.length},y.onChange=function(fe){var q=u(u(y)).beforePasteState,de=u(u(y)).previousSelection,xe=y.props.beforeMaskedValueChange,ye=y.getInputValue(),je=y.value,He=y.getSelection();y.isInputAutofilled(ye,He,je,de)&&(je=$(y.maskOptions,""),de={start:0,end:0,length:0}),q&&(de=q.selection,je=q.value,He={start:de.start+ye.length,end:de.start+ye.length,length:0},ye=je.slice(0,de.start)+ye+je.slice(de.end),y.beforePasteState=null);var Qe=Xe(y.maskOptions,ye,He,je,de),at=Qe.enteredString,lt=Qe.selection,Et=Qe.value;if(pe(xe)){var Jt=xe({value:Et,selection:lt},{value:je,selection:de},at,y.getBeforeMaskedValueChangeConfig());Et=Jt.value,lt=Jt.selection}y.setInputValue(Et),pe(y.props.onChange)&&y.props.onChange(fe),y.isWindowsPhoneBrowser?y.setSelection(lt.start,lt.end,{deferred:!0}):y.setSelection(lt.start,lt.end)},y.onFocus=function(fe){var q=y.props.beforeMaskedValueChange,de=y.maskOptions,xe=de.mask,ye=de.prefix;if(y.focused=!0,y.mounted=!0,xe){if(y.value)O(y.maskOptions,y.value)<y.maskOptions.mask.length&&y.setCursorToEnd();else{var je=$(y.maskOptions,ye),He=$(y.maskOptions,je),Qe=O(y.maskOptions,He),at=se(y.maskOptions,Qe),lt={start:at,end:at};if(pe(q)){var Et=q({value:He,selection:lt},{value:y.value,selection:null},null,y.getBeforeMaskedValueChangeConfig());He=Et.value,lt=Et.selection}var Jt=He!==y.getInputValue();Jt&&y.setInputValue(He),Jt&&pe(y.props.onChange)&&y.props.onChange(fe),y.setSelection(lt.start,lt.end)}y.runSaveSelectionLoop()}pe(y.props.onFocus)&&y.props.onFocus(fe)},y.onBlur=function(fe){var q=y.props.beforeMaskedValueChange,de=y.maskOptions.mask;if(y.stopSaveSelectionLoop(),y.focused=!1,de&&!y.props.alwaysShowMask&&A(y.maskOptions,y.value)){var xe="";pe(q)&&(xe=q({value:xe,selection:null},{value:y.value,selection:y.previousSelection},null,y.getBeforeMaskedValueChangeConfig()).value);var ye=xe!==y.getInputValue();ye&&y.setInputValue(xe),ye&&pe(y.props.onChange)&&y.props.onChange(fe)}pe(y.props.onBlur)&&y.props.onBlur(fe)},y.onMouseDown=function(fe){if(!y.focused&&document.addEventListener){y.mouseDownX=fe.clientX,y.mouseDownY=fe.clientY,y.mouseDownTime=new Date().getTime();var q=function de(xe){if(document.removeEventListener("mouseup",de),y.focused){var ye=Math.abs(xe.clientX-y.mouseDownX),je=Math.abs(xe.clientY-y.mouseDownY),He=Math.max(ye,je),Qe=new Date().getTime()-y.mouseDownTime;(He<=10&&Qe<=200||He<=5&&Qe<=300)&&y.setCursorToEnd()}};document.addEventListener("mouseup",q)}pe(y.props.onMouseDown)&&y.props.onMouseDown(fe)},y.onPaste=function(fe){pe(y.props.onPaste)&&y.props.onPaste(fe),fe.defaultPrevented||(y.beforePasteState={value:y.getInputValue(),selection:y.getSelection()},y.setInputValue(""))},y.handleRef=function(fe){y.props.children==null&&pe(y.props.inputRef)&&y.props.inputRef(fe)};var k=F.mask,ee=F.maskChar,oe=F.formatChars,z=F.alwaysShowMask,J=F.beforeMaskedValueChange,re=F.defaultValue,ie=F.value;y.maskOptions=S(k,ee,oe),re==null&&(re=""),ie==null&&(ie=re);var ue=Ae(ie);if(y.maskOptions.mask&&(z||ue)&&(ue=$(y.maskOptions,ue),pe(J))){var K=F.value;F.value==null&&(K=re),ue=J({value:ue,selection:null},{value:K=Ae(K),selection:null},null,y.getBeforeMaskedValueChangeConfig()).value}return y.value=ue,y}a(T,M);var V=T.prototype;return V.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=Ge(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},V.componentDidUpdate=function(){var F=this.previousSelection,y=this.props,k=y.beforeMaskedValueChange,ee=y.alwaysShowMask,oe=y.mask,z=y.maskChar,J=y.formatChars,re=this.maskOptions,ie=ee||this.isFocused(),ue=this.props.value!=null,K=ue?Ae(this.props.value):this.value,fe=F?F.start:null;if(this.maskOptions=S(oe,z,J),this.maskOptions.mask){!re.mask&&this.isFocused()&&this.runSaveSelectionLoop();var q=this.maskOptions.mask&&this.maskOptions.mask!==re.mask;if(re.mask||ue||(K=this.getInputValue()),(q||this.maskOptions.mask&&(K||ie))&&(K=$(this.maskOptions,K)),q){var de=O(this.maskOptions,K);(fe===null||de<fe)&&(fe=R(this.maskOptions,K)?de:se(this.maskOptions,de))}!this.maskOptions.mask||!A(this.maskOptions,K)||ie||ue&&this.props.value||(K="");var xe={start:fe,end:fe};if(pe(k)){var ye=k({value:K,selection:xe},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());K=ye.value,xe=ye.selection}this.value=K;var je=this.getInputValue()!==this.value;je?(this.setInputValue(this.value),this.forceUpdate()):q&&this.forceUpdate();var He=!1;xe.start!=null&&xe.end!=null&&(He=!F||F.start!==xe.start||F.end!==xe.end),(He||je)&&this.setSelection(xe.start,xe.end)}else re.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},V.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&Ve(this.selectionDeferId),this.stopSaveSelectionLoop()},V.render=function(){var F,y=this.props,k=(y.mask,y.alwaysShowMask,y.maskChar,y.formatChars,y.inputRef,y.beforeMaskedValueChange,y.children),ee=l(y,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(k){pe(k)||f(!1);var oe=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],z=i({},ee);oe.forEach(function(re){return delete z[re]}),F=k(z),oe.filter(function(re){return F.props[re]!=null&&F.props[re]!==ee[re]}).length&&f(!1)}else F=t.createElement("input",i({ref:this.handleRef},ee));var J={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(ee.disabled||ee.readOnly||(J.onChange=this.onChange,J.onPaste=this.onPaste,J.onMouseDown=this.onMouseDown),ee.value!=null&&(J.value=this.value)),F=t.cloneElement(F,J)},T}(t.Component);return Id=ze,Id}var Ed,Wv;function Aj(){if(Wv)return Ed;Wv=1;var e=function(t,n,r,i,a,l,u,c){if(process.env.NODE_ENV!=="production"&&n===void 0)throw new Error("invariant requires an error message argument");if(!t){var f;if(n===void 0)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[r,i,a,l,u,c],p=0;f=new Error(n.replace(/%s/g,function(){return h[p++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}};return Ed=e,Ed}var Ad,Xv;function _j(){if(Xv)return Ad;Xv=1;var e=process.env.NODE_ENV!=="production",t=function(){};if(e){var n=function(i,a){var l=arguments.length;a=new Array(l>1?l-1:0);for(var u=1;u<l;u++)a[u-1]=arguments[u];var c=0,f="Warning: "+i.replace(/%s/g,function(){return a[c++]});typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}};t=function(r,i,a){var l=arguments.length;a=new Array(l>2?l-2:0);for(var u=2;u<l;u++)a[u-2]=arguments[u];if(i===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");r||n.apply(null,[i].concat(a))}}return Ad=t,Ad}var _d,zv;function Pj(){if(zv)return _d;zv=1;function e(M){return M&&typeof M=="object"&&"default"in M?M.default:M}var t=e(b),n=Uu,r=e(Aj()),i=e(_j());function a(M,T){for(var V=Object.getOwnPropertyNames(T),F=0;F<V.length;F++){var y=V[F],k=Object.getOwnPropertyDescriptor(T,y);k&&k.configurable&&M[y]===void 0&&Object.defineProperty(M,y,k)}return M}function l(){return l=Object.assign||function(M){for(var T=1;T<arguments.length;T++){var V=arguments[T];for(var F in V)Object.prototype.hasOwnProperty.call(V,F)&&(M[F]=V[F])}return M},l.apply(this,arguments)}function u(M,T){M.prototype=Object.create(T.prototype),M.prototype.constructor=M,a(M,T)}function c(M,T){if(M==null)return{};var V={},F=Object.keys(M),y,k;for(k=0;k<F.length;k++)y=F[k],!(T.indexOf(y)>=0)&&(V[y]=M[y]);return V}function f(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function h(M,T,V){if("selectionStart"in M&&"selectionEnd"in M)M.selectionStart=T,M.selectionEnd=V;else{var F=M.createTextRange();F.collapse(!0),F.moveStart("character",T),F.moveEnd("character",V-T),F.select()}}function p(M){var T=0,V=0;if("selectionStart"in M&&"selectionEnd"in M)T=M.selectionStart,V=M.selectionEnd;else{var F=document.selection.createRange();F.parentElement()===M&&(T=-F.moveStart("character",-M.value.length),V=-F.moveEnd("character",-M.value.length))}return{start:T,end:V,length:V-T}}var m={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},v="_";function S(M,T,V){var F="",y="",k=null,ee=[];if(T===void 0&&(T=v),V==null&&(V=m),!M||typeof M!="string")return{maskChar:T,formatChars:V,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var oe=!1;return M.split("").forEach(function(z){!oe&&z==="\\"?oe=!0:(oe||!V[z]?(ee.push(F.length),F.length===ee.length-1&&(y+=z)):k=F.length+1,F+=z,oe=!1)}),{maskChar:T,formatChars:V,prefix:y,mask:F,lastEditablePosition:k,permanents:ee}}function x(M,T){return M.permanents.indexOf(T)!==-1}function E(M,T,V){var F=M.mask,y=M.formatChars;if(!V)return!1;if(x(M,T))return F[T]===V;var k=F[T],ee=y[k];return new RegExp(ee).test(V)}function A(M,T){return T.split("").every(function(V,F){return x(M,F)||!E(M,F,V)})}function O(M,T){var V=M.maskChar,F=M.prefix;if(!V){for(;T.length>F.length&&x(M,T.length-1);)T=T.slice(0,T.length-1);return T.length}for(var y=F.length,k=T.length;k>=F.length;k--){var ee=T[k],oe=!x(M,k)&&E(M,k,ee);if(oe){y=k+1;break}}return y}function R(M,T){return O(M,T)===M.mask.length}function $(M,T){var V=M.maskChar,F=M.mask,y=M.prefix;if(!V){for(T=X(M,"",T,0),T.length<y.length&&(T=y);T.length<F.length&&x(M,T.length);)T+=F[T.length];return T}if(T){var k=$(M,"");return X(M,k,T,0)}for(var ee=0;ee<F.length;ee++)x(M,ee)?T+=F[ee]:T+=V;return T}function N(M,T,V,F){var y=V+F,k=M.maskChar,ee=M.mask,oe=M.prefix,z=T.split("");if(!k){for(var J=y;J<z.length;J++)x(M,J)&&(z[J]="");return V=Math.max(oe.length,V),z.splice(V,y-V),T=z.join(""),$(M,T)}return z.map(function(re,ie){return ie<V||ie>=y?re:x(M,ie)?ee[ie]:k}).join("")}function X(M,T,V,F){var y=M.mask,k=M.maskChar,ee=M.prefix,oe=V.split(""),z=R(M,T),J=function(ue,K){return!x(M,ue)||K===y[ue]},re=function(ue,K){return!k||!x(M,K)||ue!==k};return!k&&F>T.length&&(T+=y.slice(T.length,F)),oe.every(function(ie){for(;!J(F,ie);){if(F>=T.length&&(T+=y[F]),!re(ie,F))return!0;if(F++,F>=y.length)return!1}var ue=E(M,F,ie)||ie===k;return ue?(F<T.length?k||z||F<ee.length?T=T.slice(0,F)+ie+T.slice(F+1):(T=T.slice(0,F)+ie+T.slice(F),T=$(M,T)):k||(T+=ie),F++,F<y.length):!0}),T}function Z(M,T,V,F){var y=M.mask,k=M.maskChar,ee=V.split(""),oe=F,z=function(re,ie){return!x(M,re)||ie===y[re]};return ee.every(function(J){for(;!z(F,J);)if(F++,F>=y.length)return!1;var re=E(M,F,J)||J===k;return re&&F++,F<y.length}),F-oe}function U(M,T){for(var V=T;V>=0;--V)if(!x(M,V))return V;return null}function se(M,T){for(var V=M.mask,F=T;F<V.length;++F)if(!x(M,F))return F;return null}function Ae(M){return!M&&M!==0?"":M+""}function Xe(M,T,V,F,y){var k=M.mask,ee=M.prefix,oe=M.lastEditablePosition,z=T,J="",re=0,ie=0,ue=Math.min(y.start,V.start);if(V.end>y.start?(J=z.slice(y.start,V.end),re=Z(M,F,J,ue),re?ie=y.length:ie=0):z.length<F.length&&(ie=F.length-z.length),z=F,ie){if(ie===1&&!y.length){var K=y.start===V.start;ue=K?se(M,V.start):U(M,V.start)}z=N(M,z,ue,ie)}return z=X(M,z,J,ue),ue=ue+re,ue>=k.length?ue=k.length:ue<ee.length&&!re?ue=ee.length:ue>=ee.length&&ue<oe&&re&&(ue=se(M,ue)),z=$(M,z),J||(J=null),{value:z,enteredString:J,selection:{start:ue,end:ue}}}function Ge(){var M=new RegExp("windows","i"),T=new RegExp("phone","i"),V=navigator.userAgent;return M.test(V)&&T.test(V)}function pe(M){return typeof M=="function"}function Se(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function Te(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function be(M){var T=!!Te(),V;return T?V=Se():V=function(){return setTimeout(M,1e3/60)},V(M)}function Ve(M){var T=Te()||clearTimeout;T(M)}var ze=function(M){u(T,M);function T(F){var y;y=M.call(this,F)||this,y.focused=!1,y.mounted=!1,y.previousSelection=null,y.selectionDeferId=null,y.saveSelectionLoopDeferId=null,y.saveSelectionLoop=function(){y.previousSelection=y.getSelection(),y.saveSelectionLoopDeferId=be(y.saveSelectionLoop)},y.runSaveSelectionLoop=function(){y.saveSelectionLoopDeferId===null&&y.saveSelectionLoop()},y.stopSaveSelectionLoop=function(){y.saveSelectionLoopDeferId!==null&&(Ve(y.saveSelectionLoopDeferId),y.saveSelectionLoopDeferId=null,y.previousSelection=null)},y.getInputDOMNode=function(){if(!y.mounted)return null;var q=n.findDOMNode(f(f(y))),de=typeof window<"u"&&q instanceof window.Element;if(q&&!de)return null;if(q.nodeName!=="INPUT"&&(q=q.querySelector("input")),!q)throw new Error("react-input-mask: inputComponent doesn't contain input node");return q},y.getInputValue=function(){var q=y.getInputDOMNode();return q?q.value:null},y.setInputValue=function(q){var de=y.getInputDOMNode();de&&(y.value=q,de.value=q)},y.setCursorToEnd=function(){var q=O(y.maskOptions,y.value),de=se(y.maskOptions,q);de!==null&&y.setCursorPosition(de)},y.setSelection=function(q,de,xe){xe===void 0&&(xe={});var ye=y.getInputDOMNode(),je=y.isFocused();if(!(!ye||!je)){var He=xe,Qe=He.deferred;Qe||h(ye,q,de),y.selectionDeferId!==null&&Ve(y.selectionDeferId),y.selectionDeferId=be(function(){y.selectionDeferId=null,h(ye,q,de)}),y.previousSelection={start:q,end:de,length:Math.abs(de-q)}}},y.getSelection=function(){var q=y.getInputDOMNode();return p(q)},y.getCursorPosition=function(){return y.getSelection().start},y.setCursorPosition=function(q){y.setSelection(q,q)},y.isFocused=function(){return y.focused},y.getBeforeMaskedValueChangeConfig=function(){var q=y.maskOptions,de=q.mask,xe=q.maskChar,ye=q.permanents,je=q.formatChars,He=y.props.alwaysShowMask;return{mask:de,maskChar:xe,permanents:ye,alwaysShowMask:!!He,formatChars:je}},y.isInputAutofilled=function(q,de,xe,ye){var je=y.getInputDOMNode();try{if(je.matches(":-webkit-autofill"))return!0}catch{}return y.focused?ye.end<xe.length&&de.end===q.length:!0},y.onChange=function(q){var de=f(f(y)),xe=de.beforePasteState,ye=f(f(y)),je=ye.previousSelection,He=y.props.beforeMaskedValueChange,Qe=y.getInputValue(),at=y.value,lt=y.getSelection();y.isInputAutofilled(Qe,lt,at,je)&&(at=$(y.maskOptions,""),je={start:0,end:0,length:0}),xe&&(je=xe.selection,at=xe.value,lt={start:je.start+Qe.length,end:je.start+Qe.length,length:0},Qe=at.slice(0,je.start)+Qe+at.slice(je.end),y.beforePasteState=null);var Et=Xe(y.maskOptions,Qe,lt,at,je),Jt=Et.enteredString,Vt=Et.selection,Hn=Et.value;if(pe(He)){var un=He({value:Hn,selection:Vt},{value:at,selection:je},Jt,y.getBeforeMaskedValueChangeConfig());Hn=un.value,Vt=un.selection}y.setInputValue(Hn),pe(y.props.onChange)&&y.props.onChange(q),y.isWindowsPhoneBrowser?y.setSelection(Vt.start,Vt.end,{deferred:!0}):y.setSelection(Vt.start,Vt.end)},y.onFocus=function(q){var de=y.props.beforeMaskedValueChange,xe=y.maskOptions,ye=xe.mask,je=xe.prefix;if(y.focused=!0,y.mounted=!0,ye){if(y.value)O(y.maskOptions,y.value)<y.maskOptions.mask.length&&y.setCursorToEnd();else{var He=$(y.maskOptions,je),Qe=$(y.maskOptions,He),at=O(y.maskOptions,Qe),lt=se(y.maskOptions,at),Et={start:lt,end:lt};if(pe(de)){var Jt=de({value:Qe,selection:Et},{value:y.value,selection:null},null,y.getBeforeMaskedValueChangeConfig());Qe=Jt.value,Et=Jt.selection}var Vt=Qe!==y.getInputValue();Vt&&y.setInputValue(Qe),Vt&&pe(y.props.onChange)&&y.props.onChange(q),y.setSelection(Et.start,Et.end)}y.runSaveSelectionLoop()}pe(y.props.onFocus)&&y.props.onFocus(q)},y.onBlur=function(q){var de=y.props.beforeMaskedValueChange,xe=y.maskOptions.mask;if(y.stopSaveSelectionLoop(),y.focused=!1,xe&&!y.props.alwaysShowMask&&A(y.maskOptions,y.value)){var ye="";if(pe(de)){var je=de({value:ye,selection:null},{value:y.value,selection:y.previousSelection},null,y.getBeforeMaskedValueChangeConfig());ye=je.value}var He=ye!==y.getInputValue();He&&y.setInputValue(ye),He&&pe(y.props.onChange)&&y.props.onChange(q)}pe(y.props.onBlur)&&y.props.onBlur(q)},y.onMouseDown=function(q){if(!y.focused&&document.addEventListener){y.mouseDownX=q.clientX,y.mouseDownY=q.clientY,y.mouseDownTime=new Date().getTime();var de=function xe(ye){if(document.removeEventListener("mouseup",xe),!!y.focused){var je=Math.abs(ye.clientX-y.mouseDownX),He=Math.abs(ye.clientY-y.mouseDownY),Qe=Math.max(je,He),at=new Date().getTime()-y.mouseDownTime;(Qe<=10&&at<=200||Qe<=5&&at<=300)&&y.setCursorToEnd()}};document.addEventListener("mouseup",de)}pe(y.props.onMouseDown)&&y.props.onMouseDown(q)},y.onPaste=function(q){pe(y.props.onPaste)&&y.props.onPaste(q),q.defaultPrevented||(y.beforePasteState={value:y.getInputValue(),selection:y.getSelection()},y.setInputValue(""))},y.handleRef=function(q){y.props.children==null&&pe(y.props.inputRef)&&y.props.inputRef(q)};var k=F.mask,ee=F.maskChar,oe=F.formatChars,z=F.alwaysShowMask,J=F.beforeMaskedValueChange,re=F.defaultValue,ie=F.value;y.maskOptions=S(k,ee,oe),re==null&&(re=""),ie==null&&(ie=re);var ue=Ae(ie);if(y.maskOptions.mask&&(z||ue)&&(ue=$(y.maskOptions,ue),pe(J))){var K=F.value;F.value==null&&(K=re),K=Ae(K);var fe=J({value:ue,selection:null},{value:K,selection:null},null,y.getBeforeMaskedValueChangeConfig());ue=fe.value}return y.value=ue,y}var V=T.prototype;return V.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=Ge(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},V.componentDidUpdate=function(){var y=this.previousSelection,k=this.props,ee=k.beforeMaskedValueChange,oe=k.alwaysShowMask,z=k.mask,J=k.maskChar,re=k.formatChars,ie=this.maskOptions,ue=oe||this.isFocused(),K=this.props.value!=null,fe=K?Ae(this.props.value):this.value,q=y?y.start:null;if(this.maskOptions=S(z,J,re),this.maskOptions.mask)!ie.mask&&this.isFocused()&&this.runSaveSelectionLoop();else{ie.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate());return}var de=this.maskOptions.mask&&this.maskOptions.mask!==ie.mask;if(!ie.mask&&!K&&(fe=this.getInputValue()),(de||this.maskOptions.mask&&(fe||ue))&&(fe=$(this.maskOptions,fe)),de){var xe=O(this.maskOptions,fe);(q===null||xe<q)&&(R(this.maskOptions,fe)?q=xe:q=se(this.maskOptions,xe))}this.maskOptions.mask&&A(this.maskOptions,fe)&&!ue&&(!K||!this.props.value)&&(fe="");var ye={start:q,end:q};if(pe(ee)){var je=ee({value:fe,selection:ye},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());fe=je.value,ye=je.selection}this.value=fe;var He=this.getInputValue()!==this.value;He?(this.setInputValue(this.value),this.forceUpdate()):de&&this.forceUpdate();var Qe=!1;ye.start!=null&&ye.end!=null&&(Qe=!y||y.start!==ye.start||y.end!==ye.end),(Qe||He)&&this.setSelection(ye.start,ye.end)},V.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&Ve(this.selectionDeferId),this.stopSaveSelectionLoop()},V.render=function(){var y=this.props,k=y.mask;y.alwaysShowMask;var ee=y.maskChar,oe=y.formatChars,z=y.inputRef;y.beforeMaskedValueChange;var J=y.children,re=c(y,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]),ie;if(process.env.NODE_ENV!=="production"&&i(!re.maxLength||!S(k,ee,oe).mask,"react-input-mask: maxLength property shouldn't be passed to the masked input. It breaks masking and unnecessary because length is limited by the mask length."),J){pe(J)||(process.env.NODE_ENV!=="production"?r(!1,"react-input-mask: children must be a function"):r(!1));var ue=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],K=l({},re);ue.forEach(function(de){return delete K[de]}),ie=J(K);var fe=ue.filter(function(de){return ie.props[de]!=null&&ie.props[de]!==re[de]});fe.length&&(process.env.NODE_ENV!=="production"?r(!1,"react-input-mask: the following props should be passed to the react-input-mask's component and should not be altered in children's function: "+fe.join(", ")):r(!1)),process.env.NODE_ENV!=="production"&&i(!z,"react-input-mask: inputRef is ignored when children is passed, attach ref to the children instead")}else ie=t.createElement("input",l({ref:this.handleRef},re));var q={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(!re.disabled&&!re.readOnly&&(q.onChange=this.onChange,q.onPaste=this.onPaste,q.onMouseDown=this.onMouseDown),re.value!=null&&(q.value=this.value)),ie=t.cloneElement(ie,q),ie},T}(t.Component);return _d=ze,_d}process.env.NODE_ENV==="production"?Sd.exports=Ej():Sd.exports=Pj();var Tj=Sd.exports;const Mj=Yu(Tj),$a=({children:e,...t})=>w.jsx("span",{className:"block min-h-full pt-1 text-xs font-semibold text-left text-primary-500 dark:text-white",...t,children:e}),Da=({className:e,children:t,disabled:n=!1,focused:r=!1,error:i,...a})=>w.jsx("label",{className:Ke("absolute origin-top-left bottom-1 left-2 text-sm","peer-focus:text-brand-primary","transition hover:transition","pointer-events-none",{"text-gray-500":!i&&!n&&!r,"text-brand-danger":i,"text-brand-secondary-text":n,"text-brand-primary":r},e),...a,children:t}),El=({error:e,disabled:t,children:n})=>w.jsx("div",{className:Ke("border-brand-gray bg-brand-light-gray dark:bg-brand-dark-gray-dark focus-within:border-brand-secondary","relative h-[36px]","transition focus-within:transition","shadow-input focus-within:shadow-input-focus",{"bg-red-50 shadow-input-error focus-within:shadow-input-error":e,"border-gray-300 bg-[#cbcbcb] dark:bg-brand-text focus-within:border-brand cursor-not-allowed children:cursor-not-allowed":t}),children:n});function Oj({type:e,onTypeChange:t}){return w.jsxs("span",{className:"absolute transition-all right-2 top-2/4 -translate-y-2/4 group",onClick:()=>{t(e==="password"?"text":"password")},children:[w.jsx(sy,{className:"text-brand-dark-gray group-hover:text-brand"}),e==="text"&&w.jsx("span",{className:"absolute top-2/4 right-2/4 -translate-y-2/4 translate-x-2/4 w-[2.25px] h-[22px] rotate-45 bg-brand-dark-gray group-hover:bg-brand"})]})}const Zv=({className:e,error:t,helper:n,label:r,mask:i,name:a,type:l,value:u,onChange:c,onBlur:f,disabled:h=!1,...p})=>{const m=Ke("peer","block w-full text-sm border-none appearance-none focus:outline-none focus:ring-0","absolute bottom-0","bg-transparent text-brand-secondary-text pb-0 px-2",e),[v,S]=b.useState(l);function x(E){S(E)}return w.jsxs("div",{children:[w.jsxs(El,{disabled:h,error:t,children:[l==="color"?w.jsx($v,{color:u,disabled:h,onChange:c}):i?w.jsx(Mj,{disabled:h,autoComplete:"off",type:"text",name:a,mask:i,value:u,onChange:c,onBlur:f,placeholder:" ",className:`${m}`}):w.jsxs(w.Fragment,{children:[w.jsx("input",{disabled:h,autoComplete:"off",type:v,name:a,value:u,onChange:c,onBlur:f,placeholder:" ",className:`${m}`,...p}),l==="password"&&w.jsx(Oj,{type:v,onTypeChange:x})]}),w.jsx(Da,{htmlFor:a,disabled:h,error:t,children:r})]}),n?w.jsx($a,{children:n}):null,t?w.jsx(Ba,{children:t}):null]})},Fj=({name:e,helper:t,onChange:n,onBlur:r,...i})=>{const[a,{error:l},{setValue:u,setTouched:c}]=Sj(e),f=p=>{const m=i.type==="color"?p:p.target.value;u(m),n&&n(m)},h=()=>{c(!0),r&&r()};return w.jsx(w.Fragment,{children:w.jsx(Zv,{error:l,name:a.name,value:a.value,onChange:f,onBlur:h,helper:t,...i})})},Rj=({children:e,...t})=>w.jsx("h1",{className:"mb-4 text-2xl font-bold text-left text-brand-primary",...t,children:e}),Vj=({role:e,content:t,timestamp:n})=>{const r=e==="user";return w.jsx("div",{className:`flex ${r?"justify-end":"justify-start"} mb-4 animate-fadeIn`,children:w.jsxs("div",{className:`max-w-[80%] rounded-lg px-4 py-2 ${r?"bg-brand-secondary text-white rounded-br-none":"bg-gray-200 text-gray-800 rounded-bl-none"}`,children:[w.jsx("div",{className:"text-sm break-words whitespace-pre-wrap",children:t}),w.jsx("div",{className:`text-xs mt-1 ${r?"text-blue-100":"text-gray-500"}`,children:n.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"})})]})})},Bj=({t:e,sendMessage:t,cornerHxpert:n="bottomRight"})=>{const[r,i]=b.useState(!1),[a,l]=b.useState([]),[u,c]=b.useState(""),[f,h]=b.useState(!1),p=b.useRef(null),m=b.useRef(null),v=()=>{var A;(A=p.current)==null||A.scrollIntoView({behavior:"smooth"})},S=()=>{i(!r)},x=async()=>{if(!u.trim()||f)return;const A={id:Date.now().toString(),role:"user",content:u.trim(),timestamp:new Date},O=u.trim();l(R=>[...R,A]),c(""),h(!0);try{const R=await t(O),$={id:(Date.now()+1).toString(),role:"assistant",content:R.message,timestamp:R.timestamp};l(N=>[...N,$])}catch{const $={id:(Date.now()+1).toString(),role:"assistant",content:e("hxpert-ai:error-message"),timestamp:new Date};l(N=>[...N,$])}finally{h(!1)}},E=A=>{A.key==="Enter"&&!A.shiftKey&&(A.preventDefault(),x())};return b.useEffect(()=>{v()},[a]),b.useEffect(()=>{var A;r&&!f&&((A=m.current)==null||A.focus())},[r,a,f]),w.jsxs(w.Fragment,{children:[w.jsx("button",{onClick:S,className:`z-50 w-14 h-14 rounded-full shadow-lg transition-all duration-300 flex items-center justify-center hover:scale-110 ${r?"bg-red-500 hover:bg-red-600":"bg-gradient-to-r from-brand to-brand-secondary hover:bg-brand-secondary"}`,"aria-label":e(r?"hxpert-ai:close-chat":"hxpert-ai:open-chat"),children:r?w.jsx(Kh,{className:"w-4 h-4 text-white"}):w.jsx("svg",{className:"w-6 h-6 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"})})}),w.jsxs("div",{className:Ke("fixed z-40 w-96 bg-white rounded-lg shadow-2xl transition-all duration-300 transform",{"opacity-100 translate-y-0 scale-100":r,"opacity-0 translate-y-4 scale-95 pointer-events-none":!r,"bottom-20 right-2":n==="bottomRight","bottom-20 left-2":n==="bottomLeft","top-20 right-2":n==="topRight","top-20 left-2":n==="topLeft"}),style:{height:"32rem",maxHeight:"calc(100vh - 8rem)"},children:[w.jsxs("div",{className:"bg-gradient-to-r from-brand to-brand-secondary text-white px-4 py-3 rounded-t-lg flex items-center justify-between",children:[w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx("div",{className:"w-3 h-3 bg-green-400 rounded-full animate-pulse"}),w.jsx("h3",{className:"font-semibold",children:e("hxpert-ai:title")})]}),w.jsx("button",{onClick:S,className:"text-white hover:text-gray-200 transition-colors",title:e("hxpert-ai:close-chat"),children:w.jsx(Kh,{className:"w-4 h-4 text-white"})})]}),w.jsx("div",{className:"flex-1 overflow-y-auto p-4 bg-gray-50",style:{height:"calc(100% - 120px)"},children:a.length===0?w.jsx("div",{className:"flex items-center justify-center h-full text-gray-400 text-center",children:w.jsxs("div",{children:[w.jsx("svg",{className:"w-16 h-16 mx-auto mb-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})}),w.jsx("p",{children:e("hxpert-ai:welcome-message")})]})}):w.jsxs(w.Fragment,{children:[a.map(A=>w.jsx(Vj,{role:A.role,content:A.content,timestamp:A.timestamp},A.id)),f&&w.jsx("div",{className:"flex justify-start mb-4",children:w.jsx("div",{className:"bg-gray-200 rounded-lg px-4 py-2 rounded-bl-none",children:w.jsxs("div",{className:"flex gap-1",children:[w.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce"}),w.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),w.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})}),w.jsx("div",{ref:p})]})}),w.jsx("div",{className:"border-t border-gray-200 p-4 bg-white rounded-b-lg",children:w.jsxs("div",{className:"flex gap-2",children:[w.jsx("input",{ref:m,type:"text",value:u,onChange:A=>c(A.target.value),onKeyPress:E,placeholder:e("hxpert-ai:input-placeholder"),disabled:f,className:"flex-1 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-brand disabled:bg-gray-100 disabled:cursor-not-allowed"}),w.jsx("button",{onClick:x,disabled:f||!u.trim(),onMouseDown:A=>A.preventDefault(),className:"px-4 py-2 bg-brand text-white rounded-lg hover:bg-brand-secondary transition-colors disabled:bg-gray-300 disabled:cursor-not-allowed","aria-label":e("hxpert-ai:send-message"),children:w.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 19l9 2-9-18-9 18 9-2zm0 0v-8"})})})]})})]})]})};function Uv({system:e,classname:t}){switch(e){case"Agendamento":return w.jsx(gy,{className:t});case"Armazém":return w.jsx(ay,{className:t});case"Autenticação":return w.jsx(q4,{className:t});case"Cargo Control":return w.jsx(wy,{className:t});case"Coletor":return w.jsx(r0,{className:t});case"CY":return w.jsx(Py,{className:"w-8 h-8"});case"CY Budget":return w.jsx(My,{className:"w-6 h-6"});case"CY Coletor":return w.jsx(r0,{className:t});case"CY Integrações":return w.jsx(i0,{className:t});case"Eagle":return w.jsx(hy,{className:t});case"Equipamentos":return w.jsx(dy,{className:t});case"Granéis - Dashboard":return w.jsx(xy,{className:t});case"Granéis - Embarque Desembarque":return w.jsx(fy,{className:t});case"Granéis - Fiscal":return w.jsx(Cy,{className:t});case"Granéis - Recepção":return w.jsx(uy,{className:t});case"Hatchlist":return w.jsx(Z4,{className:t});case"Hubspot":return w.jsx(Iy,{className:t});case"HX Support":return w.jsx(_y,{className:t});case"Inovação":return w.jsx(Ty,{className:"w-6 h-6"});case"Integrações":return w.jsx(i0,{className:t});case"Planejador":return w.jsx(yy,{className:t});case"Portal ADE":return w.jsx(Sy,{className:t});case"Vessel Productivity Report":return w.jsx(my,{className:"w-6 h-6"});case"Warehouse Map":return w.jsx(oy,{className:t});default:return w.jsx("span",{children:"?"})}}function $j({dismiss:e,message:t}){return w.jsxs("div",{className:"relative z-20 flex items-center p-4 text-sm border-l-4 border-blue-400 shadow-lg w-80 bg-blue-50",children:[w.jsx("button",{type:"button",className:"absolute top-0 right-0 w-4 m-3 text-blue-400",onClick:e,children:w.jsx(Cs,{className:"w-4 h-4"})}),w.jsx("div",{className:"flex-shrink-0 w-5 h-5 mr-2 text-blue-500",children:w.jsx(Ey,{})}),w.jsx("p",{className:"text-sm capitalize",children:t})]})}function xi(e){"@babel/helpers - typeof";return xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xi(e)}function Dj(e,t){if(xi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xi(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yv(e){var t=Dj(e,"string");return xi(t)=="symbol"?t:t+""}function Na(e,t,n){return(t=Yv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Jv(Object(n),!0).forEach(function(r){Na(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jv(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nj(e){if(Array.isArray(e))return e}function Lj(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,l,u=[],c=!0,f=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw i}}return u}}function Pd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Kv(e,t){if(e){if(typeof e=="string")return Pd(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pd(e,t):void 0}}function jj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
117
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mr(e,t){return Nj(e)||
|
|
118
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Md(e){return Jj(e)||Kj(e)||Kv(e)||qj()}function Qj(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ek(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var tk=function(){function e(n){var r=this;this._insertTag=function(i){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,a),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ek(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=Qj(i);try{a.insertRule(r,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Ut="-ms-",_l="-moz-",ut="-webkit-",eb="comm",Od="rule",Fd="decl",nk="@import",tb="@keyframes",rk="@layer",ik=Math.abs,Pl=String.fromCharCode,ok=Object.assign;function ak(e,t){return Ht(e,0)^45?(((t<<2^Ht(e,0))<<2^Ht(e,1))<<2^Ht(e,2))<<2^Ht(e,3):0}function nb(e){return e.trim()}function sk(e,t){return(e=t.exec(e))?e[0]:e}function ct(e,t,n){return e.replace(t,n)}function Rd(e,t){return e.indexOf(t)}function Ht(e,t){return e.charCodeAt(t)|0}function La(e,t,n){return e.slice(t,n)}function Kn(e){return e.length}function Vd(e){return e.length}function Tl(e,t){return t.push(e),e}function lk(e,t){return e.map(t).join("")}var Ml=1,Ao=1,rb=0,ln=0,Nt=0,_o="";function Ol(e,t,n,r,i,a,l){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Ml,column:Ao,length:l,return:""}}function ja(e,t){return ok(Ol("",null,null,"",null,null,0),e,{length:-e.length},t)}function uk(){return Nt}function ck(){return Nt=ln>0?Ht(_o,--ln):0,Ao--,Nt===10&&(Ao=1,Ml--),Nt}function vn(){return Nt=ln<rb?Ht(_o,ln++):0,Ao++,Nt===10&&(Ao=1,Ml++),Nt}function qn(){return Ht(_o,ln)}function Fl(){return ln}function ka(e,t){return La(_o,e,t)}function Ga(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ib(e){return Ml=Ao=1,rb=Kn(_o=e),ln=0,[]}function ob(e){return _o="",e}function Rl(e){return nb(ka(ln-1,Bd(e===91?e+2:e===40?e+1:e)))}function fk(e){for(;(Nt=qn())&&Nt<33;)vn();return Ga(e)>2||Ga(Nt)>3?"":" "}function dk(e,t){for(;--t&&vn()&&!(Nt<48||Nt>102||Nt>57&&Nt<65||Nt>70&&Nt<97););return ka(e,Fl()+(t<6&&qn()==32&&vn()==32))}function Bd(e){for(;vn();)switch(Nt){case e:return ln;case 34:case 39:e!==34&&e!==39&&Bd(Nt);break;case 40:e===41&&Bd(e);break;case 92:vn();break}return ln}function hk(e,t){for(;vn()&&e+Nt!==57;)if(e+Nt===84&&qn()===47)break;return"/*"+ka(t,ln-1)+"*"+Pl(e===47?e:vn())}function pk(e){for(;!Ga(qn());)vn();return ka(e,ln)}function gk(e){return ob(Vl("",null,null,null,[""],e=ib(e),0,[0],e))}function Vl(e,t,n,r,i,a,l,u,c){for(var f=0,h=0,p=l,m=0,v=0,S=0,x=1,E=1,A=1,O=0,R="",$=i,N=a,X=r,Z=R;E;)switch(S=O,O=vn()){case 40:if(S!=108&&Ht(Z,p-1)==58){Rd(Z+=ct(Rl(O),"&","&\f"),"&\f")!=-1&&(A=-1);break}case 34:case 39:case 91:Z+=Rl(O);break;case 9:case 10:case 13:case 32:Z+=fk(S);break;case 92:Z+=dk(Fl()-1,7);continue;case 47:switch(qn()){case 42:case 47:Tl(mk(hk(vn(),Fl()),t,n),c);break;default:Z+="/"}break;case 123*x:u[f++]=Kn(Z)*A;case 125*x:case 59:case 0:switch(O){case 0:case 125:E=0;case 59+h:A==-1&&(Z=ct(Z,/\f/g,"")),v>0&&Kn(Z)-p&&Tl(v>32?sb(Z+";",r,n,p-1):sb(ct(Z," ","")+";",r,n,p-2),c);break;case 59:Z+=";";default:if(Tl(X=ab(Z,t,n,f,h,i,u,R,$=[],N=[],p),a),O===123)if(h===0)Vl(Z,t,X,X,$,a,p,u,N);else switch(m===99&&Ht(Z,3)===110?100:m){case 100:case 108:case 109:case 115:Vl(e,X,X,r&&Tl(ab(e,X,X,0,0,i,u,R,i,$=[],p),N),i,N,p,u,r?$:N);break;default:Vl(Z,X,X,X,[""],N,0,u,N)}}f=h=v=0,x=A=1,R=Z="",p=l;break;case 58:p=1+Kn(Z),v=S;default:if(x<1){if(O==123)--x;else if(O==125&&x++==0&&ck()==125)continue}switch(Z+=Pl(O),O*x){case 38:A=h>0?1:(Z+="\f",-1);break;case 44:u[f++]=(Kn(Z)-1)*A,A=1;break;case 64:qn()===45&&(Z+=Rl(vn())),m=qn(),h=p=Kn(R=Z+=pk(Fl())),O++;break;case 45:S===45&&Kn(Z)==2&&(x=0)}}return a}function ab(e,t,n,r,i,a,l,u,c,f,h){for(var p=i-1,m=i===0?a:[""],v=Vd(m),S=0,x=0,E=0;S<r;++S)for(var A=0,O=La(e,p+1,p=ik(x=l[S])),R=e;A<v;++A)(R=nb(x>0?m[A]+" "+O:ct(O,/&\f/g,m[A])))&&(c[E++]=R);return Ol(e,t,n,i===0?Od:u,c,f,h)}function mk(e,t,n){return Ol(e,t,n,eb,Pl(uk()),La(e,2,-2),0)}function sb(e,t,n,r){return Ol(e,t,n,Fd,La(e,0,r),La(e,r+1,-1),r)}function Po(e,t){for(var n="",r=Vd(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function vk(e,t,n,r){switch(e.type){case rk:if(e.children.length)break;case nk:case Fd:return e.return=e.return||e.value;case eb:return"";case tb:return e.return=e.value+"{"+Po(e.children,r)+"}";case Od:e.value=e.props.join(",")}return Kn(n=Po(e.children,r))?e.return=e.value+"{"+n+"}":""}function bk(e){var t=Vd(e);return function(n,r,i,a){for(var l="",u=0;u<t;u++)l+=e[u](n,r,i,a)||"";return l}}function yk(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ck(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var xk=function(t,n,r){for(var i=0,a=0;i=a,a=qn(),i===38&&a===12&&(n[r]=1),!Ga(a);)vn();return ka(t,ln)},wk=function(t,n){var r=-1,i=44;do switch(Ga(i)){case 0:i===38&&qn()===12&&(n[r]=1),t[r]+=xk(ln-1,n,r);break;case 2:t[r]+=Rl(i);break;case 4:if(i===44){t[++r]=qn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Pl(i)}while(i=vn());return t},Sk=function(t,n){return ob(wk(ib(t),n))},lb=new WeakMap,Ik=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!lb.get(r))&&!i){lb.set(t,!0);for(var a=[],l=Sk(n,a),u=r.props,c=0,f=0;c<l.length;c++)for(var h=0;h<u.length;h++,f++)t.props[f]=a[c]?l[c].replace(/&\f/g,u[h]):u[h]+" "+l[c]}}},Ek=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function ub(e,t){switch(ak(e,t)){case 5103:return ut+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ut+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ut+e+_l+e+Ut+e+e;case 6828:case 4268:return ut+e+Ut+e+e;case 6165:return ut+e+Ut+"flex-"+e+e;case 5187:return ut+e+ct(e,/(\w+).+(:[^]+)/,ut+"box-$1$2"+Ut+"flex-$1$2")+e;case 5443:return ut+e+Ut+"flex-item-"+ct(e,/flex-|-self/,"")+e;case 4675:return ut+e+Ut+"flex-line-pack"+ct(e,/align-content|flex-|-self/,"")+e;case 5548:return ut+e+Ut+ct(e,"shrink","negative")+e;case 5292:return ut+e+Ut+ct(e,"basis","preferred-size")+e;case 6060:return ut+"box-"+ct(e,"-grow","")+ut+e+Ut+ct(e,"grow","positive")+e;case 4554:return ut+ct(e,/([^-])(transform)/g,"$1"+ut+"$2")+e;case 6187:return ct(ct(ct(e,/(zoom-|grab)/,ut+"$1"),/(image-set)/,ut+"$1"),e,"")+e;case 5495:case 3959:return ct(e,/(image-set\([^]*)/,ut+"$1$`$1");case 4968:return ct(ct(e,/(.+:)(flex-)?(.*)/,ut+"box-pack:$3"+Ut+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ut+e+e;case 4095:case 3583:case 4068:case 2532:return ct(e,/(.+)-inline(.+)/,ut+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Kn(e)-1-t>6)switch(Ht(e,t+1)){case 109:if(Ht(e,t+4)!==45)break;case 102:return ct(e,/(.+:)(.+)-([^]+)/,"$1"+ut+"$2-$3$1"+_l+(Ht(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rd(e,"stretch")?ub(ct(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ht(e,t+1)!==115)break;case 6444:switch(Ht(e,Kn(e)-3-(~Rd(e,"!important")&&10))){case 107:return ct(e,":",":"+ut)+e;case 101:return ct(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ut+(Ht(e,14)===45?"inline-":"")+"box$3$1"+ut+"$2$3$1"+Ut+"$2box$3")+e}break;case 5936:switch(Ht(e,t+11)){case 114:return ut+e+Ut+ct(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ut+e+Ut+ct(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ut+e+Ut+ct(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ut+e+Ut+e+e}return e}var Ak=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Fd:t.return=ub(t.value,t.length);break;case tb:return Po([ja(t,{value:ct(t.value,"@","@"+ut)})],i);case Od:if(t.length)return lk(t.props,function(a){switch(sk(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Po([ja(t,{props:[ct(a,/:(read-\w+)/,":"+_l+"$1")]})],i);case"::placeholder":return Po([ja(t,{props:[ct(a,/:(plac\w+)/,":"+ut+"input-$1")]}),ja(t,{props:[ct(a,/:(plac\w+)/,":"+_l+"$1")]}),ja(t,{props:[ct(a,/:(plac\w+)/,Ut+"input-$1")]})],i)}return""})}},_k=[Ak],Pk=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var E=x.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var i=t.stylisPlugins||_k,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var E=x.getAttribute("data-emotion").split(" "),A=1;A<E.length;A++)a[E[A]]=!0;u.push(x)});var c,f=[Ik,Ek];{var h,p=[vk,yk(function(x){h.insert(x)})],m=bk(f.concat(i,p)),v=function(E){return Po(gk(E),m)};c=function(E,A,O,R){h=O,v(E?E+"{"+A.styles+"}":A.styles),R&&(S.inserted[A.name]=!0)}}var S={key:n,sheet:new tk({key:n,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:c};return S.sheet.hydrate(u),S},Tk=!0;function Mk(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var cb=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||Tk===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},Ok=function(t,n,r){cb(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function Fk(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Rk={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Vk=/[A-Z]|^ms/g,Bk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,fb=function(t){return t.charCodeAt(1)===45},db=function(t){return t!=null&&typeof t!="boolean"},$d=Ck(function(e){return fb(e)?e:e.replace(Vk,"-$&").toLowerCase()}),hb=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Bk,function(r,i,a){return Qn={name:i,styles:a,next:Qn},i})}return Rk[t]!==1&&!fb(t)&&typeof n=="number"&&n!==0?n+"px":n};function Ha(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Qn={name:i.name,styles:i.styles,next:Qn},i.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)Qn={name:l.name,styles:l.styles,next:Qn},l=l.next;var u=a.styles+";";return u}return $k(e,t,n)}case"function":{if(e!==void 0){var c=Qn,f=n(e);return Qn=c,Ha(e,t,f)}break}}var h=n;return h}function $k(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ha(e,t,n[i])+";";else for(var a in n){var l=n[a];if(typeof l!="object"){var u=l;db(u)&&(r+=$d(a)+":"+hb(a,u)+";")}else if(Array.isArray(l)&&typeof l[0]=="string"&&t==null)for(var c=0;c<l.length;c++)db(l[c])&&(r+=$d(a)+":"+hb(a,l[c])+";");else{var f=Ha(e,t,l);switch(a){case"animation":case"animationName":{r+=$d(a)+":"+f+";";break}default:r+=a+"{"+f+"}"}}}return r}var pb=/label:\s*([^\s;{]+)\s*(;|$)/g,Qn;function gb(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";Qn=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=Ha(n,t,a);else{var l=a;i+=l[0]}for(var u=1;u<e.length;u++)if(i+=Ha(n,t,e[u]),r){var c=a;i+=c[u]}pb.lastIndex=0;for(var f="",h;(h=pb.exec(i))!==null;)f+="-"+h[1];var p=Fk(i)+f;return{name:p,styles:i,next:Qn}}var Dk=function(t){return t()},Nk=ae.useInsertionEffect?ae.useInsertionEffect:!1,Lk=Nk||Dk,mb=ae.createContext(typeof HTMLElement<"u"?Pk({key:"css"}):null);mb.Provider;var jk=function(t){return b.forwardRef(function(n,r){var i=b.useContext(mb);return t(n,i,r)})},kk=ae.createContext({}),Dd={}.hasOwnProperty,Nd="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Gk=function(t,n){var r={};for(var i in n)Dd.call(n,i)&&(r[i]=n[i]);return r[Nd]=t,r},Hk=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return cb(n,r,i),Lk(function(){return Ok(n,r,i)}),null},Wk=jk(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Nd],a=[r],l="";typeof e.className=="string"?l=Mk(t.registered,a,e.className):e.className!=null&&(l=e.className+" ");var u=gb(a,void 0,ae.useContext(kk));l+=t.key+"-"+u.name;var c={};for(var f in e)Dd.call(e,f)&&f!=="css"&&f!==Nd&&(c[f]=e[f]);return c.className=l,n&&(c.ref=n),ae.createElement(ae.Fragment,null,ae.createElement(Hk,{cache:t,serialized:u,isStringTag:typeof i=="string"}),ae.createElement(i,c))}),Xk=Wk,Pe=function(t,n){var r=arguments;if(n==null||!Dd.call(n,"css"))return ae.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=Xk,a[1]=Gk(t,n);for(var l=2;l<i;l++)a[l]=r[l];return ae.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Pe||(Pe={}));function Ld(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return gb(t)}function zk(){var e=Ld.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Zk(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Uk=Math.min,Yk=Math.max,Bl=Math.round,$l=Math.floor,Dl=e=>({x:e,y:e});function Jk(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Nl(){return typeof window<"u"}function vb(e){return yb(e)?(e.nodeName||"").toLowerCase():"#document"}function br(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bb(e){var t;return(t=(yb(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yb(e){return Nl()?e instanceof Node||e instanceof br(e).Node:!1}function Kk(e){return Nl()?e instanceof Element||e instanceof br(e).Element:!1}function jd(e){return Nl()?e instanceof HTMLElement||e instanceof br(e).HTMLElement:!1}function Cb(e){return!Nl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof br(e).ShadowRoot}const qk=new Set(["inline","contents"]);function xb(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=kd(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!qk.has(i)}function Qk(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const eG=new Set(["html","body","#document"]);function tG(e){return eG.has(vb(e))}function kd(e){return br(e).getComputedStyle(e)}function nG(e){if(vb(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cb(e)&&e.host||bb(e);return Cb(t)?t.host:t}function wb(e){const t=nG(e);return tG(t)?e.ownerDocument?e.ownerDocument.body:e.body:jd(t)&&xb(t)?t:wb(t)}function Ll(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=wb(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),l=br(i);if(a){const u=Gd(l);return t.concat(l,l.visualViewport||[],xb(i)?i:[],u&&n?Ll(u):[])}return t.concat(i,Ll(i,[],n))}function Gd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rG(e){const t=kd(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=jd(e),a=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=Bl(n)!==a||Bl(r)!==l;return u&&(n=a,r=l),{width:n,height:r,$:u}}function Hd(e){return Kk(e)?e:e.contextElement}function Sb(e){const t=Hd(e);if(!jd(t))return Dl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=rG(t);let l=(a?Bl(n.width):n.width)/r,u=(a?Bl(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const iG=Dl(0);function oG(e){const t=br(e);return!Qk()||!t.visualViewport?iG:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function aG(e,t,n){return!1}function Ib(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),a=Hd(e);let l=Dl(1);t&&(l=Sb(e));const u=aG()?oG(a):Dl(0);let c=(i.left+u.x)/l.x,f=(i.top+u.y)/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const m=br(a),v=r;let S=m,x=Gd(S);for(;x&&r&&v!==S;){const E=Sb(x),A=x.getBoundingClientRect(),O=kd(x),R=A.left+(x.clientLeft+parseFloat(O.paddingLeft))*E.x,$=A.top+(x.clientTop+parseFloat(O.paddingTop))*E.y;c*=E.x,f*=E.y,h*=E.x,p*=E.y,c+=R,f+=$,S=br(x),x=Gd(S)}}return Jk({width:h,height:p,x:c,y:f})}function Eb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function sG(e,t){let n=null,r;const i=bb(e);function a(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function l(u,c){u===void 0&&(u=!1),c===void 0&&(c=1),a();const f=e.getBoundingClientRect(),{left:h,top:p,width:m,height:v}=f;if(u||t(),!m||!v)return;const S=$l(p),x=$l(i.clientWidth-(h+m)),E=$l(i.clientHeight-(p+v)),A=$l(h),R={rootMargin:-S+"px "+-x+"px "+-E+"px "+-A+"px",threshold:Yk(0,Uk(1,c))||1};let $=!0;function N(X){const Z=X[0].intersectionRatio;if(Z!==c){if(!$)return l();Z?l(!1,Z):r=setTimeout(()=>{l(!1,1e-7)},1e3)}Z===1&&!Eb(f,e.getBoundingClientRect())&&l(),$=!1}try{n=new IntersectionObserver(N,{...R,root:i.ownerDocument})}catch{n=new IntersectionObserver(N,R)}n.observe(e)}return l(!0),a}function lG(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,f=Hd(e),h=i||a?[...f?Ll(f):[],...Ll(t)]:[];h.forEach(A=>{i&&A.addEventListener("scroll",n,{passive:!0}),a&&A.addEventListener("resize",n)});const p=f&&u?sG(f,n):null;let m=-1,v=null;l&&(v=new ResizeObserver(A=>{let[O]=A;O&&O.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(t)})),n()}),f&&!c&&v.observe(f),v.observe(t));let S,x=c?Ib(e):null;c&&E();function E(){const A=Ib(e);x&&!Eb(x,A)&&n(),x=A,S=requestAnimationFrame(E)}return n(),()=>{var A;h.forEach(O=>{i&&O.removeEventListener("scroll",n),a&&O.removeEventListener("resize",n)}),p==null||p(),(A=v)==null||A.disconnect(),v=null,c&&cancelAnimationFrame(S)}}var Wd=b.useLayoutEffect,uG=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],jl=function(){};function cG(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function fG(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var l in t)t.hasOwnProperty(l)&&t[l]&&a.push("".concat(cG(e,l)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var Ab=function(t){return CG(t)?t.filter(Boolean):xi(t)==="object"&&t!==null?[t]:[]},_b=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=vr(t,uG);return Oe({},n)},Mt=function(t,n,r){var i=t.cx,a=t.getStyles,l=t.getClassNames,u=t.className;return{css:a(n,t),className:i(r??{},l(n,t),u)}};function kl(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function dG(e){return kl(e)?window.innerHeight:e.clientHeight}function Pb(e){return kl(e)?window.pageYOffset:e.scrollTop}function Gl(e,t){if(kl(e)){window.scrollTo(0,t);return}e.scrollTop=t}function hG(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function pG(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Hl(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:jl,i=Pb(e),a=t-i,l=10,u=0;function c(){u+=l;var f=pG(u,i,a,n);Gl(e,f),u<n?window.requestAnimationFrame(c):r(e)}c()}function Tb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Gl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Gl(e,Math.max(t.offsetTop-i,0))}function gG(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Mb(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function mG(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Ob=!1,vG={get passive(){return Ob=!0}},Wl=typeof window<"u"?window:{};Wl.addEventListener&&Wl.removeEventListener&&(Wl.addEventListener("p",jl,vG),Wl.removeEventListener("p",jl,!1));var bG=Ob;function yG(e){return e!=null}function CG(e){return Array.isArray(e)}function Xl(e,t,n){return e?t:n}function jee(e){return e}function kee(e){return e}var xG=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=Object.entries(t).filter(function(l){var u=mr(l,1),c=u[0];return!r.includes(c)});return a.reduce(function(l,u){var c=mr(u,2),f=c[0],h=c[1];return l[f]=h,l},{})},wG=["children","innerProps"],SG=["children","innerProps"];function IG(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,l=e.isFixedPosition,u=e.controlHeight,c=hG(n),f={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return f;var h=c.getBoundingClientRect(),p=h.height,m=n.getBoundingClientRect(),v=m.bottom,S=m.height,x=m.top,E=n.offsetParent.getBoundingClientRect(),A=E.top,O=l?window.innerHeight:dG(c),R=Pb(c),$=parseInt(getComputedStyle(n).marginBottom,10),N=parseInt(getComputedStyle(n).marginTop,10),X=A-N,Z=O-x,U=X+R,se=p-R-x,Ae=v-O+R+$,Xe=R+x-N,Ge=160;switch(i){case"auto":case"bottom":if(Z>=S)return{placement:"bottom",maxHeight:t};if(se>=S&&!l)return a&&Hl(c,Ae,Ge),{placement:"bottom",maxHeight:t};if(!l&&se>=r||l&&Z>=r){a&&Hl(c,Ae,Ge);var pe=l?Z-$:se-$;return{placement:"bottom",maxHeight:pe}}if(i==="auto"||l){var Se=t,Te=l?X:U;return Te>=r&&(Se=Math.min(Te-$-u,t)),{placement:"top",maxHeight:Se}}if(i==="bottom")return a&&Gl(c,Ae),{placement:"bottom",maxHeight:t};break;case"top":if(X>=S)return{placement:"top",maxHeight:t};if(U>=S&&!l)return a&&Hl(c,Xe,Ge),{placement:"top",maxHeight:t};if(!l&&U>=r||l&&X>=r){var be=t;return(!l&&U>=r||l&&X>=r)&&(be=l?X-N:U-N),a&&Hl(c,Xe,Ge),{placement:"top",maxHeight:be}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return f}function EG(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Fb=function(t){return t==="auto"?"bottom":t},AG=function(t,n){var r,i=t.placement,a=t.theme,l=a.borderRadius,u=a.spacing,c=a.colors;return Oe((r={label:"menu"},Na(r,EG(i),"100%"),Na(r,"position","absolute"),Na(r,"width","100%"),Na(r,"zIndex",1),r),n?{}:{backgroundColor:c.neutral0,borderRadius:l,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},Rb=b.createContext(null),_G=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,l=t.menuPosition,u=t.menuShouldScrollIntoView,c=t.theme,f=b.useContext(Rb)||{},h=f.setPortalPlacement,p=b.useRef(null),m=b.useState(i),v=mr(m,2),S=v[0],x=v[1],E=b.useState(null),A=mr(E,2),O=A[0],R=A[1],$=c.spacing.controlHeight;return Wd(function(){var N=p.current;if(N){var X=l==="fixed",Z=u&&!X,U=IG({maxHeight:i,menuEl:N,minHeight:r,placement:a,shouldScroll:Z,isFixedPosition:X,controlHeight:$});x(U.maxHeight),R(U.placement),h==null||h(U.placement)}},[i,a,l,u,r,h,$]),n({ref:p,placerProps:Oe(Oe({},t),{},{placement:O||Fb(a),maxHeight:S})})},PG=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return Pe("div",$e({},Mt(t,"menu",{menu:!0}),{ref:r},i),n)},TG=PG,MG=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return Oe({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},OG=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,a=t.isMulti;return Pe("div",$e({},Mt(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},Vb=function(t,n){var r=t.theme,i=r.spacing.baseUnit,a=r.colors;return Oe({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},FG=Vb,RG=Vb,VG=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,a=vr(t,wG);return Pe("div",$e({},Mt(Oe(Oe({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},BG=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,a=vr(t,SG);return Pe("div",$e({},Mt(Oe(Oe({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},$G=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},DG=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,a=t.innerProps,l=t.menuPlacement,u=t.menuPosition,c=b.useRef(null),f=b.useRef(null),h=b.useState(Fb(l)),p=mr(h,2),m=p[0],v=p[1],S=b.useMemo(function(){return{setPortalPlacement:v}},[]),x=b.useState(null),E=mr(x,2),A=E[0],O=E[1],R=b.useCallback(function(){if(i){var Z=gG(i),U=u==="fixed"?0:window.pageYOffset,se=Z[m]+U;(se!==(A==null?void 0:A.offset)||Z.left!==(A==null?void 0:A.rect.left)||Z.width!==(A==null?void 0:A.rect.width))&&O({offset:se,rect:Z})}},[i,u,m,A==null?void 0:A.offset,A==null?void 0:A.rect.left,A==null?void 0:A.rect.width]);Wd(function(){R()},[R]);var $=b.useCallback(function(){typeof f.current=="function"&&(f.current(),f.current=null),i&&c.current&&(f.current=lG(i,c.current,R,{elementResize:"ResizeObserver"in window}))},[i,R]);Wd(function(){$()},[$]);var N=b.useCallback(function(Z){c.current=Z,$()},[$]);if(!n&&u!=="fixed"||!A)return null;var X=Pe("div",$e({ref:N},Mt(Oe(Oe({},t),{},{offset:A.offset,position:u,rect:A.rect}),"menuPortal",{"menu-portal":!0}),a),r);return Pe(Rb.Provider,{value:S},n?Uu.createPortal(X,n):X)},NG=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},LG=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,a=t.isRtl;return Pe("div",$e({},Mt(t,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},jG=function(t,n){var r=t.theme.spacing,i=t.isMulti,a=t.hasValue,l=t.selectProps.controlShouldRenderValue;return Oe({alignItems:"center",display:i&&a&&l?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},kG=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,a=t.hasValue;return Pe("div",$e({},Mt(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},GG=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},HG=function(t){var n=t.children,r=t.innerProps;return Pe("div",$e({},Mt(t,"indicatorsContainer",{indicators:!0}),r),n)},Bb,WG=["size"],XG=["innerProps","isRtl","size"];function zG(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var ZG=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:zG},$b=function(t){var n=t.size,r=vr(t,WG);return Pe("svg",$e({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ZG},r))},Xd=function(t){return Pe($b,$e({size:20},t),Pe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Db=function(t){return Pe($b,$e({size:20},t),Pe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Nb=function(t,n){var r=t.isFocused,i=t.theme,a=i.spacing.baseUnit,l=i.colors;return Oe({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?l.neutral60:l.neutral20,padding:a*2,":hover":{color:r?l.neutral80:l.neutral40}})},UG=Nb,YG=function(t){var n=t.children,r=t.innerProps;return Pe("div",$e({},Mt(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||Pe(Db,null))},JG=Nb,KG=function(t){var n=t.children,r=t.innerProps;return Pe("div",$e({},Mt(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||Pe(Xd,null))},qG=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing.baseUnit,l=i.colors;return Oe({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?l.neutral10:l.neutral20,marginBottom:a*2,marginTop:a*2})},QG=function(t){var n=t.innerProps;return Pe("span",$e({},n,Mt(t,"indicatorSeparator",{"indicator-separator":!0})))},eH=zk(Bb||(Bb=Zk([`
|
|
116
|
+
`),b.createElement("div",{style:h.white,className:"saturation-white"},b.createElement("div",{style:h.black,className:"saturation-black"}),b.createElement("div",{style:h.pointer},this.props.pointer?b.createElement(this.props.pointer,this.props):b.createElement("div",{style:h.circle}))))}}]),t}(b.PureComponent||b.Component);function mD(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var vD=T2(Object.keys,Object),bD=Object.prototype,yD=bD.hasOwnProperty;function CD(e){if(!Gf(e))return vD(e);var t=[];for(var n in Object(e))yD.call(e,n)&&n!="constructor"&&t.push(n);return t}function Yf(e){return ao(e)?j2(e):CD(e)}function xD(e,t){return e&&I2(e,t,Yf)}function wD(e,t){return function(n,r){if(n==null)return n;if(!ao(n))return e(n,r);for(var i=n.length,a=-1,l=Object(n);++a<i&&r(l[a],a,l)!==!1;);return n}}var Z2=wD(xD);function SD(e){return typeof e=="function"?e:dl}function ID(e,t){var n=gn(e)?mD:Z2;return n(e,SD(t))}function gl(e){"@babel/helpers - typeof";return gl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gl(e)}var ED=/^\s+/,AD=/\s+$/;function Ie(e,t){if(e=e||"",t=t||{},e instanceof Ie)return e;if(!(this instanceof Ie))return new Ie(e,t);var n=_D(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}Ie.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,i,a,l,u;return n=t.r/255,r=t.g/255,i=t.b/255,n<=.03928?a=n/12.92:a=Math.pow((n+.055)/1.055,2.4),r<=.03928?l=r/12.92:l=Math.pow((r+.055)/1.055,2.4),i<=.03928?u=i/12.92:u=Math.pow((i+.055)/1.055,2.4),.2126*a+.7152*l+.0722*u},setAlpha:function(t){return this._a=Q2(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=Y2(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=Y2(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+i+"%)":"hsva("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var t=U2(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=U2(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+i+"%)":"hsla("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHex:function(t){return J2(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return OD(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(It(this._r,255)*100)+"%",g:Math.round(It(this._g,255)*100)+"%",b:Math.round(It(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(It(this._r,255)*100)+"%, "+Math.round(It(this._g,255)*100)+"%, "+Math.round(It(this._b,255)*100)+"%)":"rgba("+Math.round(It(this._r,255)*100)+"%, "+Math.round(It(this._g,255)*100)+"%, "+Math.round(It(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:HD[J2(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+K2(this._r,this._g,this._b,this._a),r=n,i=this._gradientType?"GradientType = 1, ":"";if(t){var a=Ie(t);r="#"+K2(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,i=this._a<1&&this._a>=0,a=!n&&i&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return a?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return Ie(this.toString())},_applyModification:function(t,n){var r=t.apply(null,[this].concat([].slice.call(n)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(BD,arguments)},brighten:function(){return this._applyModification($D,arguments)},darken:function(){return this._applyModification(DD,arguments)},desaturate:function(){return this._applyModification(FD,arguments)},saturate:function(){return this._applyModification(RD,arguments)},greyscale:function(){return this._applyModification(VD,arguments)},spin:function(){return this._applyModification(LD,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(kD,arguments)},complement:function(){return this._applyCombination(ND,arguments)},monochromatic:function(){return this._applyCombination(GD,arguments)},splitcomplement:function(){return this._applyCombination(jD,arguments)},triad:function(){return this._applyCombination(q2,[3])},tetrad:function(){return this._applyCombination(q2,[4])}},Ie.fromRatio=function(e,t){if(gl(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=Ma(e[r]));e=n}return Ie(e,t)};function _D(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,l=!1,u=!1;return typeof e=="string"&&(e=ZD(e)),gl(e)=="object"&&(pr(e.r)&&pr(e.g)&&pr(e.b)?(t=PD(e.r,e.g,e.b),l=!0,u=String(e.r).substr(-1)==="%"?"prgb":"rgb"):pr(e.h)&&pr(e.s)&&pr(e.v)?(r=Ma(e.s),i=Ma(e.v),t=MD(e.h,r,i),l=!0,u="hsv"):pr(e.h)&&pr(e.s)&&pr(e.l)&&(r=Ma(e.s),a=Ma(e.l),t=TD(e.h,r,a),l=!0,u="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=Q2(n),{ok:l,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function PD(e,t,n){return{r:It(e,255)*255,g:It(t,255)*255,b:It(n,255)*255}}function U2(e,t,n){e=It(e,255),t=It(t,255),n=It(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a,l,u=(r+i)/2;if(r==i)a=l=0;else{var c=r-i;switch(l=u>.5?c/(2-r-i):c/(r+i),r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:l,l:u}}function TD(e,t,n){var r,i,a;e=It(e,360),t=It(t,100),n=It(n,100);function l(f,h,p){return p<0&&(p+=1),p>1&&(p-=1),p<1/6?f+(h-f)*6*p:p<1/2?h:p<2/3?f+(h-f)*(2/3-p)*6:f}if(t===0)r=i=a=n;else{var u=n<.5?n*(1+t):n+t-n*t,c=2*n-u;r=l(c,u,e+1/3),i=l(c,u,e),a=l(c,u,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function Y2(e,t,n){e=It(e,255),t=It(t,255),n=It(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a,l,u=r,c=r-i;if(l=r===0?0:c/r,r==i)a=0;else{switch(r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:l,v:u}}function MD(e,t,n){e=It(e,360)*6,t=It(t,100),n=It(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),l=n*(1-i*t),u=n*(1-(1-i)*t),c=r%6,f=[n,l,a,a,u,n][c],h=[u,n,n,l,a,a][c],p=[a,a,u,n,n,l][c];return{r:f*255,g:h*255,b:p*255}}function J2(e,t,n,r){var i=[jn(Math.round(e).toString(16)),jn(Math.round(t).toString(16)),jn(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function OD(e,t,n,r,i){var a=[jn(Math.round(e).toString(16)),jn(Math.round(t).toString(16)),jn(Math.round(n).toString(16)),jn(ev(r))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function K2(e,t,n,r){var i=[jn(ev(r)),jn(Math.round(e).toString(16)),jn(Math.round(t).toString(16)),jn(Math.round(n).toString(16))];return i.join("")}Ie.equals=function(e,t){return!e||!t?!1:Ie(e).toRgbString()==Ie(t).toRgbString()},Ie.random=function(){return Ie.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function FD(e,t){t=t===0?0:t||10;var n=Ie(e).toHsl();return n.s-=t/100,n.s=ml(n.s),Ie(n)}function RD(e,t){t=t===0?0:t||10;var n=Ie(e).toHsl();return n.s+=t/100,n.s=ml(n.s),Ie(n)}function VD(e){return Ie(e).desaturate(100)}function BD(e,t){t=t===0?0:t||10;var n=Ie(e).toHsl();return n.l+=t/100,n.l=ml(n.l),Ie(n)}function $D(e,t){t=t===0?0:t||10;var n=Ie(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),Ie(n)}function DD(e,t){t=t===0?0:t||10;var n=Ie(e).toHsl();return n.l-=t/100,n.l=ml(n.l),Ie(n)}function LD(e,t){var n=Ie(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,Ie(n)}function ND(e){var t=Ie(e).toHsl();return t.h=(t.h+180)%360,Ie(t)}function q2(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=Ie(e).toHsl(),r=[Ie(e)],i=360/t,a=1;a<t;a++)r.push(Ie({h:(n.h+a*i)%360,s:n.s,l:n.l}));return r}function jD(e){var t=Ie(e).toHsl(),n=t.h;return[Ie(e),Ie({h:(n+72)%360,s:t.s,l:t.l}),Ie({h:(n+216)%360,s:t.s,l:t.l})]}function kD(e,t,n){t=t||6,n=n||30;var r=Ie(e).toHsl(),i=360/n,a=[Ie(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(Ie(r));return a}function GD(e,t){t=t||6;for(var n=Ie(e).toHsv(),r=n.h,i=n.s,a=n.v,l=[],u=1/t;t--;)l.push(Ie({h:r,s:i,v:a})),a=(a+u)%1;return l}Ie.mix=function(e,t,n){n=n===0?0:n||50;var r=Ie(e).toRgb(),i=Ie(t).toRgb(),a=n/100,l={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return Ie(l)},Ie.readability=function(e,t){var n=Ie(e),r=Ie(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},Ie.isReadable=function(e,t,n){var r=Ie.readability(e,t),i,a;switch(a=!1,i=UD(n),i.level+i.size){case"AAsmall":case"AAAlarge":a=r>=4.5;break;case"AAlarge":a=r>=3;break;case"AAAsmall":a=r>=7;break}return a},Ie.mostReadable=function(e,t,n){var r=null,i=0,a,l,u,c;n=n||{},l=n.includeFallbackColors,u=n.level,c=n.size;for(var f=0;f<t.length;f++)a=Ie.readability(e,t[f]),a>i&&(i=a,r=Ie(t[f]));return Ie.isReadable(e,r,{level:u,size:c})||!l?r:(n.includeFallbackColors=!1,Ie.mostReadable(e,["#fff","#000"],n))};var Jf=Ie.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},HD=Ie.hexNames=WD(Jf);function WD(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Q2(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function It(e,t){XD(e)&&(e="100%");var n=zD(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function ml(e){return Math.min(1,Math.max(0,e))}function mn(e){return parseInt(e,16)}function XD(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function zD(e){return typeof e=="string"&&e.indexOf("%")!=-1}function jn(e){return e.length==1?"0"+e:""+e}function Ma(e){return e<=1&&(e=e*100+"%"),e}function ev(e){return Math.round(parseFloat(e)*255).toString(16)}function tv(e){return mn(e)/255}var kn=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function pr(e){return!!kn.CSS_UNIT.exec(e)}function ZD(e){e=e.replace(ED,"").replace(AD,"").toLowerCase();var t=!1;if(Jf[e])e=Jf[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=kn.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=kn.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=kn.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=kn.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=kn.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=kn.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=kn.hex8.exec(e))?{r:mn(n[1]),g:mn(n[2]),b:mn(n[3]),a:tv(n[4]),format:t?"name":"hex8"}:(n=kn.hex6.exec(e))?{r:mn(n[1]),g:mn(n[2]),b:mn(n[3]),format:t?"name":"hex"}:(n=kn.hex4.exec(e))?{r:mn(n[1]+""+n[1]),g:mn(n[2]+""+n[2]),b:mn(n[3]+""+n[3]),a:tv(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=kn.hex3.exec(e))?{r:mn(n[1]+""+n[1]),g:mn(n[2]+""+n[2]),b:mn(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function UD(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var nv=function(t){var n=["r","g","b","a","h","s","l","v"],r=0,i=0;return ID(n,function(a){if(t[a]&&(r+=1,isNaN(t[a])||(i+=1),a==="s"||a==="l")){var l=/^\d+%$/;l.test(t[a])&&(i+=1)}}),r===i?t:!1},Oa=function(t,n){var r=t.hex?Ie(t.hex):Ie(t),i=r.toHsl(),a=r.toHsv(),l=r.toRgb(),u=r.toHex();i.s===0&&(i.h=n||0,a.h=n||0);var c=u==="000000"&&l.a===0;return{hsl:i,hex:c?"transparent":"#"+u,rgb:l,hsv:a,oldHue:t.h||n||i.h,source:t.source}},Wr=function(t){if(t==="transparent")return!0;var n=String(t).charAt(0)==="#"?1:0;return t.length!==4+n&&t.length<7+n&&Ie(t).isValid()},Kf=function(t){if(!t)return"#fff";var n=Oa(t);if(n.hex==="transparent")return"rgba(0,0,0,0.4)";var r=(n.rgb.r*299+n.rgb.g*587+n.rgb.b*114)/1e3;return r>=128?"#000":"#fff"},qf=function(t,n){var r=t.replace("°","");return Ie(n+" ("+r+")")._ok},Fa=Object.assign||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},YD=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function JD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KD(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function qD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var sn=function(t){var n=function(r){qD(i,r);function i(a){JD(this,i);var l=KD(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return l.handleChange=function(u,c){var f=nv(u);if(f){var h=Oa(u,u.h||l.state.oldHue);l.setState(h),l.props.onChangeComplete&&l.debounce(l.props.onChangeComplete,h,c),l.props.onChange&&l.props.onChange(h,c)}},l.handleSwatchHover=function(u,c){var f=nv(u);if(f){var h=Oa(u,u.h||l.state.oldHue);l.props.onSwatchHover&&l.props.onSwatchHover(h,c)}},l.state=Fa({},Oa(a.color,0)),l.debounce=z2(function(u,c,f){u(c,f)},100),l}return YD(i,[{key:"render",value:function(){var l={};return this.props.onSwatchHover&&(l.onSwatchHover=this.handleSwatchHover),b.createElement(t,Fa({},this.props,this.state,{onChange:this.handleChange},l))}}],[{key:"getDerivedStateFromProps",value:function(l,u){return Fa({},Oa(l.color,u.oldHue))}}]),i}(b.PureComponent||b.Component);return n.propTypes=Fa({},t.propTypes),n.defaultProps=Fa({},t.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),n},QD=Object.assign||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},eL=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function tL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rv(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function nL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var rL=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){nL(i,r);function i(){var a,l,u,c;tL(this,i);for(var f=arguments.length,h=Array(f),p=0;p<f;p++)h[p]=arguments[p];return c=(l=(u=rv(this,(a=i.__proto__||Object.getPrototypeOf(i)).call.apply(a,[this].concat(h))),u),u.state={focus:!1},u.handleFocus=function(){return u.setState({focus:!0})},u.handleBlur=function(){return u.setState({focus:!1})},l),rv(u,c)}return eL(i,[{key:"render",value:function(){return b.createElement(n,{onFocus:this.handleFocus,onBlur:this.handleBlur},b.createElement(t,QD({},this.props,this.state)))}}]),i}(b.Component)},iv=Object.assign||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},iL=13,oL=function(t){var n=t.color,r=t.style,i=t.onClick,a=i===void 0?function(){}:i,l=t.onHover,u=t.title,c=u===void 0?n:u,f=t.children,h=t.focus,p=t.focusStyle,m=p===void 0?{}:p,v=n==="transparent",I=ke({default:{swatch:iv({background:n,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,h?m:{})}}),x=function($){return a(n,$)},E=function($){return $.keyCode===iL&&a(n,$)},_=function($){return l(n,$)},F={};return l&&(F.onMouseOver=_),b.createElement("div",iv({style:I.swatch,onClick:x,title:c,tabIndex:0,onKeyDown:E},F),f,v&&b.createElement(io,{borderRadius:I.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};const yi=rL(oL);var aL=function(t){var n=t.direction,r=ke({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:n==="vertical"});return b.createElement("div",{style:r.picker})},sL=Object.assign||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},ov=function(t){var n=t.rgb,r=t.hsl,i=t.width,a=t.height,l=t.onChange,u=t.direction,c=t.style,f=t.renderers,h=t.pointer,p=t.className,m=p===void 0?"":p,v=ke({default:{picker:{position:"relative",width:i,height:a},alpha:{radius:"2px",style:c}}});return b.createElement("div",{style:v.picker,className:"alpha-picker "+m},b.createElement(_f,sL({},v.alpha,{rgb:n,hsl:r,pointer:h,renderers:f,onChange:l,direction:u})))};ov.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:aL},sn(ov);function av(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var lL="__lodash_hash_undefined__";function uL(e){return this.__data__.set(e,lL),this}function cL(e){return this.__data__.has(e)}function vl(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new hr;++t<n;)this.add(e[t])}vl.prototype.add=vl.prototype.push=uL,vl.prototype.has=cL;function fL(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function dL(e,t){return e.has(t)}var hL=1,pL=2;function sv(e,t,n,r,i,a){var l=n&hL,u=e.length,c=t.length;if(u!=c&&!(l&&c>u))return!1;var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var p=-1,m=!0,v=n&pL?new vl:void 0;for(a.set(e,t),a.set(t,e);++p<u;){var I=e[p],x=t[p];if(r)var E=l?r(x,I,p,t,e,a):r(I,x,p,e,t,a);if(E!==void 0){if(E)continue;m=!1;break}if(v){if(!fL(t,function(_,F){if(!dL(v,F)&&(I===_||i(I,_,n,r,a)))return v.push(F)})){m=!1;break}}else if(!(I===x||i(I,x,n,r,a))){m=!1;break}}return a.delete(e),a.delete(t),m}function gL(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function mL(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var vL=1,bL=2,yL="[object Boolean]",CL="[object Date]",xL="[object Error]",wL="[object Map]",SL="[object Number]",IL="[object RegExp]",EL="[object Set]",AL="[object String]",_L="[object Symbol]",PL="[object ArrayBuffer]",TL="[object DataView]",lv=Gr?Gr.prototype:void 0,Qf=lv?lv.valueOf:void 0;function ML(e,t,n,r,i,a,l){switch(n){case TL:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case PL:return!(e.byteLength!=t.byteLength||!a(new ul(e),new ul(t)));case yL:case CL:case SL:return Ia(+e,+t);case xL:return e.name==t.name&&e.message==t.message;case IL:case AL:return e==t+"";case wL:var u=gL;case EL:var c=r&vL;if(u||(u=mL),e.size!=t.size&&!c)return!1;var f=l.get(e);if(f)return f==t;r|=bL,l.set(e,t);var h=sv(u(e),u(t),r,i,a,l);return l.delete(e),h;case _L:if(Qf)return Qf.call(e)==Qf.call(t)}return!1}function OL(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function FL(e,t,n){var r=t(e);return gn(e)?r:OL(r,n(e))}function RL(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var l=e[n];t(l,n,e)&&(a[i++]=l)}return a}function VL(){return[]}var BL=Object.prototype,$L=BL.propertyIsEnumerable,uv=Object.getOwnPropertySymbols,DL=uv?function(e){return e==null?[]:(e=Object(e),RL(uv(e),function(t){return $L.call(e,t)}))}:VL;function cv(e){return FL(e,Yf,DL)}var LL=1,NL=Object.prototype,jL=NL.hasOwnProperty;function kL(e,t,n,r,i,a){var l=n&LL,u=cv(e),c=u.length,f=cv(t),h=f.length;if(c!=h&&!l)return!1;for(var p=c;p--;){var m=u[p];if(!(l?m in t:jL.call(t,m)))return!1}var v=a.get(e),I=a.get(t);if(v&&I)return v==t&&I==e;var x=!0;a.set(e,t),a.set(t,e);for(var E=l;++p<c;){m=u[p];var _=e[m],F=t[m];if(r)var M=l?r(F,_,m,t,e,a):r(_,F,m,e,t,a);if(!(M===void 0?_===F||i(_,F,n,r,a):M)){x=!1;break}E||(E=m=="constructor")}if(x&&!E){var $=e.constructor,D=t.constructor;$!=D&&"constructor"in e&&"constructor"in t&&!(typeof $=="function"&&$ instanceof $&&typeof D=="function"&&D instanceof D)&&(x=!1)}return a.delete(e),a.delete(t),x}var ed=vi(Nn,"DataView"),td=vi(Nn,"Promise"),nd=vi(Nn,"Set"),rd=vi(Nn,"WeakMap"),fv="[object Map]",GL="[object Object]",dv="[object Promise]",hv="[object Set]",pv="[object WeakMap]",gv="[object DataView]",HL=mi(ed),WL=mi(Aa),XL=mi(td),zL=mi(nd),ZL=mi(rd),Xr=gi;(ed&&Xr(new ed(new ArrayBuffer(1)))!=gv||Aa&&Xr(new Aa)!=fv||td&&Xr(td.resolve())!=dv||nd&&Xr(new nd)!=hv||rd&&Xr(new rd)!=pv)&&(Xr=function(e){var t=gi(e),n=t==GL?e.constructor:void 0,r=n?mi(n):"";if(r)switch(r){case HL:return gv;case WL:return fv;case XL:return dv;case zL:return hv;case ZL:return pv}return t});var UL=1,mv="[object Arguments]",vv="[object Array]",bl="[object Object]",YL=Object.prototype,bv=YL.hasOwnProperty;function JL(e,t,n,r,i,a){var l=gn(e),u=gn(t),c=l?vv:Xr(e),f=u?vv:Xr(t);c=c==mv?bl:c,f=f==mv?bl:f;var h=c==bl,p=f==bl,m=c==f;if(m&&fl(e)){if(!fl(t))return!1;l=!0,h=!1}if(m&&!h)return a||(a=new Jn),l||Xf(e)?sv(e,t,n,r,i,a):ML(e,t,c,n,r,i,a);if(!(n&UL)){var v=h&&bv.call(e,"__wrapped__"),I=p&&bv.call(t,"__wrapped__");if(v||I){var x=v?e.value():e,E=I?t.value():t;return a||(a=new Jn),i(x,E,n,r,a)}}return m?(a||(a=new Jn),kL(e,t,n,r,i,a)):!1}function id(e,t,n,r,i){return e===t?!0:e==null||t==null||!Hr(e)&&!Hr(t)?e!==e&&t!==t:JL(e,t,n,r,id,i)}var KL=1,qL=2;function QL(e,t,n,r){var i=n.length,a=i;if(e==null)return!a;for(e=Object(e);i--;){var l=n[i];if(l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){l=n[i];var u=l[0],c=e[u],f=l[1];if(l[2]){if(c===void 0&&!(u in e))return!1}else{var h=new Jn,p;if(!(p===void 0?id(f,c,KL|qL,r,h):p))return!1}}return!0}function yv(e){return e===e&&!Tn(e)}function eN(e){for(var t=Yf(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,yv(i)]}return t}function Cv(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function tN(e){var t=eN(e);return t.length==1&&t[0][2]?Cv(t[0][0],t[0][1]):function(n){return n===e||QL(n,e,t)}}var nN=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rN=/^\w*$/;function od(e,t){if(gn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||hl(e)?!0:rN.test(e)||!nN.test(e)||t!=null&&e in Object(t)}var iN="Expected a function";function ad(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(iN);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var l=e.apply(this,r);return n.cache=a.set(i,l)||a,l};return n.cache=new(ad.Cache||hr),n}ad.Cache=hr;var oN=500;function aN(e){var t=ad(e,function(r){return n.size===oN&&n.clear(),r}),n=t.cache;return t}var sN=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lN=/\\(\\)?/g,uN=aN(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(sN,function(n,r,i,a){t.push(i?a.replace(lN,"$1"):r||n)}),t}),xv=Gr?Gr.prototype:void 0,wv=xv?xv.toString:void 0;function Sv(e){if(typeof e=="string")return e;if(gn(e))return av(e,Sv)+"";if(hl(e))return wv?wv.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function cN(e){return e==null?"":Sv(e)}function Iv(e,t){return gn(e)?e:od(e,t)?[e]:uN(cN(e))}function yl(e){if(typeof e=="string"||hl(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Ev(e,t){t=Iv(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[yl(t[n++])];return n&&n==r?e:void 0}function fN(e,t,n){var r=e==null?void 0:Ev(e,t);return r===void 0?n:r}function dN(e,t){return e!=null&&t in Object(e)}function hN(e,t,n){t=Iv(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var l=yl(t[r]);if(!(a=e!=null&&n(e,l)))break;e=e[l]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Hf(i)&&Zf(l,i)&&(gn(e)||cl(e)))}function pN(e,t){return e!=null&&hN(e,t,dN)}var gN=1,mN=2;function vN(e,t){return od(e)&&yv(t)?Cv(yl(e),t):function(n){var r=fN(n,e);return r===void 0&&r===t?pN(n,e):id(t,r,gN|mN)}}function bN(e){return function(t){return t==null?void 0:t[e]}}function yN(e){return function(t){return Ev(t,e)}}function CN(e){return od(e)?bN(yl(e)):yN(e)}function xN(e){return typeof e=="function"?e:e==null?dl:typeof e=="object"?gn(e)?vN(e[0],e[1]):tN(e):CN(e)}function wN(e,t){var n=-1,r=ao(e)?Array(e.length):[];return Z2(e,function(i,a,l){r[++n]=t(i,a,l)}),r}function Ci(e,t){var n=gn(e)?av:wN;return n(e,xN(t))}var SN=function(t){var n=t.colors,r=t.onClick,i=t.onSwatchHover,a=ke({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return b.createElement("div",{style:a.swatches},Ci(n,function(l){return b.createElement(yi,{key:l,color:l,style:a.swatch,onClick:r,onHover:i,focusStyle:{boxShadow:"0 0 4px "+l}})}),b.createElement("div",{style:a.clear}))},sd=function(t){var n=t.onChange,r=t.onSwatchHover,i=t.hex,a=t.colors,l=t.width,u=t.triangle,c=t.styles,f=c===void 0?{}:c,h=t.className,p=h===void 0?"":h,m=i==="transparent",v=function(E,_){Wr(E)&&n({hex:E,source:"hex"},_)},I=ke(an({default:{card:{width:l,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:i,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:Kf(i),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+i+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},f),{"hide-triangle":u==="hide"});return b.createElement("div",{style:I.card,className:"block-picker "+p},b.createElement("div",{style:I.triangle}),b.createElement("div",{style:I.head},m&&b.createElement(io,{borderRadius:"6px 6px 0 0"}),b.createElement("div",{style:I.label},i)),b.createElement("div",{style:I.body},b.createElement(SN,{colors:a,onClick:v,onSwatchHover:r}),b.createElement(rt,{style:{input:I.input},value:i,onChange:v})))};sd.propTypes={width:he.oneOfType([he.string,he.number]),colors:he.arrayOf(he.string),triangle:he.oneOf(["top","hide"]),styles:he.object},sd.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},sn(sd);var so={100:"#ffcdd2",300:"#e57373",500:"#f44336",700:"#d32f2f",900:"#b71c1c"},lo={100:"#f8bbd0",300:"#f06292",500:"#e91e63",700:"#c2185b",900:"#880e4f"},uo={100:"#e1bee7",300:"#ba68c8",500:"#9c27b0",700:"#7b1fa2",900:"#4a148c"},co={100:"#d1c4e9",300:"#9575cd",500:"#673ab7",700:"#512da8",900:"#311b92"},fo={100:"#c5cae9",300:"#7986cb",500:"#3f51b5",700:"#303f9f",900:"#1a237e"},ho={100:"#bbdefb",300:"#64b5f6",500:"#2196f3",700:"#1976d2",900:"#0d47a1"},po={100:"#b3e5fc",300:"#4fc3f7",500:"#03a9f4",700:"#0288d1",900:"#01579b"},go={100:"#b2ebf2",300:"#4dd0e1",500:"#00bcd4",700:"#0097a7",900:"#006064"},mo={100:"#b2dfdb",300:"#4db6ac",500:"#009688",700:"#00796b",900:"#004d40"},Ra={100:"#c8e6c9",300:"#81c784",500:"#4caf50",700:"#388e3c"},vo={100:"#dcedc8",300:"#aed581",500:"#8bc34a",700:"#689f38",900:"#33691e"},bo={100:"#f0f4c3",300:"#dce775",500:"#cddc39",700:"#afb42b",900:"#827717"},yo={100:"#fff9c4",300:"#fff176",500:"#ffeb3b",700:"#fbc02d",900:"#f57f17"},Co={100:"#ffecb3",300:"#ffd54f",500:"#ffc107",700:"#ffa000",900:"#ff6f00"},xo={100:"#ffe0b2",300:"#ffb74d",500:"#ff9800",700:"#f57c00",900:"#e65100"},wo={100:"#ffccbc",300:"#ff8a65",500:"#ff5722",700:"#e64a19",900:"#bf360c"},So={100:"#d7ccc8",300:"#a1887f",500:"#795548",700:"#5d4037",900:"#3e2723"},Io={100:"#cfd8dc",300:"#90a4ae",500:"#607d8b",700:"#455a64",900:"#263238"},Av=function(t){var n=t.color,r=t.onClick,i=t.onSwatchHover,a=t.hover,l=t.active,u=t.circleSize,c=t.circleSpacing,f=ke({default:{swatch:{width:u,height:u,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(u/2+1)+"px "+n,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+n}}},{hover:a,active:l});return b.createElement("div",{style:f.swatch},b.createElement(yi,{style:f.Swatch,color:n,onClick:r,onHover:i,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+n}}))};Av.defaultProps={circleSize:28,circleSpacing:14};const IN=Ef(Av);var ld=function(t){var n=t.width,r=t.onChange,i=t.onSwatchHover,a=t.colors,l=t.hex,u=t.circleSize,c=t.styles,f=c===void 0?{}:c,h=t.circleSpacing,p=t.className,m=p===void 0?"":p,v=ke(an({default:{card:{width:n,display:"flex",flexWrap:"wrap",marginRight:-h,marginBottom:-h}}},f)),I=function(E,_){return r({hex:E,source:"hex"},_)};return b.createElement("div",{style:v.card,className:"circle-picker "+m},Ci(a,function(x){return b.createElement(IN,{key:x,color:x,onClick:I,onSwatchHover:i,active:l===x.toLowerCase(),circleSize:u,circleSpacing:h})}))};ld.propTypes={width:he.oneOfType([he.string,he.number]),circleSize:he.number,circleSpacing:he.number,styles:he.object},ld.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[so[500],lo[500],uo[500],co[500],fo[500],ho[500],po[500],go[500],mo[500],Ra[500],vo[500],bo[500],yo[500],Co[500],xo[500],wo[500],So[500],Io[500]],styles:{}},sn(ld);function _v(e){return e===void 0}var Pv={};Object.defineProperty(Pv,"__esModule",{value:!0});var Tv=Object.assign||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},EN=b,Mv=AN(EN);function AN(e){return e&&e.__esModule?e:{default:e}}function _N(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var Cl=24,PN=Pv.default=function(e){var t=e.fill,n=t===void 0?"currentColor":t,r=e.width,i=r===void 0?Cl:r,a=e.height,l=a===void 0?Cl:a,u=e.style,c=u===void 0?{}:u,f=_N(e,["fill","width","height","style"]);return Mv.default.createElement("svg",Tv({viewBox:"0 0 "+Cl+" "+Cl,style:Tv({fill:n,width:i,height:l},c)},f),Mv.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))},TN=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function MN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ON(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function FN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Ov=function(e){FN(t,e);function t(n){MN(this,t);var r=ON(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.toggleViews=function(){r.state.view==="hex"?r.setState({view:"rgb"}):r.state.view==="rgb"?r.setState({view:"hsl"}):r.state.view==="hsl"&&(r.props.hsl.a===1?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(i,a){i.hex?Wr(i.hex)&&r.props.onChange({hex:i.hex,source:"hex"},a):i.r||i.g||i.b?r.props.onChange({r:i.r||r.props.rgb.r,g:i.g||r.props.rgb.g,b:i.b||r.props.rgb.b,source:"rgb"},a):i.a?(i.a<0?i.a=0:i.a>1&&(i.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(i.a*100)/100,source:"rgb"},a)):(i.h||i.s||i.l)&&(typeof i.s=="string"&&i.s.includes("%")&&(i.s=i.s.replace("%","")),typeof i.l=="string"&&i.l.includes("%")&&(i.l=i.l.replace("%","")),i.s==1?i.s=.01:i.l==1&&(i.l=.01),r.props.onChange({h:i.h||r.props.hsl.h,s:Number(_v(i.s)?r.props.hsl.s:i.s),l:Number(_v(i.l)?r.props.hsl.l:i.l),source:"hsl"},a))},r.showHighlight=function(i){i.currentTarget.style.background="#eee"},r.hideHighlight=function(i){i.currentTarget.style.background="transparent"},n.hsl.a!==1&&n.view==="hex"?r.state={view:"rgb"}:r.state={view:n.view},r}return TN(t,[{key:"render",value:function(){var r=this,i=ke({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),a=void 0;return this.state.view==="hex"?a=b.createElement("div",{style:i.fields,className:"flexbox-fix"},b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?a=b.createElement("div",{style:i.fields,className:"flexbox-fix"},b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),b.createElement("div",{style:i.alpha},b.createElement(rt,{style:{input:i.input,label:i.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(a=b.createElement("div",{style:i.fields,className:"flexbox-fix"},b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),b.createElement("div",{style:i.field},b.createElement(rt,{style:{input:i.input,label:i.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),b.createElement("div",{style:i.alpha},b.createElement(rt,{style:{input:i.input,label:i.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),b.createElement("div",{style:i.wrap,className:"flexbox-fix"},a,b.createElement("div",{style:i.toggle},b.createElement("div",{style:i.icon,onClick:this.toggleViews,ref:function(u){return r.icon=u}},b.createElement(PN,{style:i.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.hsl.a!==1&&i.view==="hex"?{view:"rgb"}:null}}]),t}(b.Component);Ov.defaultProps={view:"hex"};var Fv=function(){var t=ke({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return b.createElement("div",{style:t.picker})},RN=function(){var t=ke({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return b.createElement("div",{style:t.picker})},ud=function(t){var n=t.width,r=t.onChange,i=t.disableAlpha,a=t.rgb,l=t.hsl,u=t.hsv,c=t.hex,f=t.renderers,h=t.styles,p=h===void 0?{}:h,m=t.className,v=m===void 0?"":m,I=t.defaultView,x=ke(an({default:{picker:{width:n,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},p),{disableAlpha:i});return b.createElement("div",{style:x.picker,className:"chrome-picker "+v},b.createElement("div",{style:x.saturation},b.createElement(pl,{style:x.Saturation,hsl:l,hsv:u,pointer:RN,onChange:r})),b.createElement("div",{style:x.body},b.createElement("div",{style:x.controls,className:"flexbox-fix"},b.createElement("div",{style:x.color},b.createElement("div",{style:x.swatch},b.createElement("div",{style:x.active}),b.createElement(io,{renderers:f}))),b.createElement("div",{style:x.toggles},b.createElement("div",{style:x.hue},b.createElement(oo,{style:x.Hue,hsl:l,pointer:Fv,onChange:r})),b.createElement("div",{style:x.alpha},b.createElement(_f,{style:x.Alpha,rgb:a,hsl:l,pointer:Fv,renderers:f,onChange:r})))),b.createElement(Ov,{rgb:a,hsl:l,hex:c,view:I,onChange:r,disableAlpha:i})))};ud.propTypes={width:he.oneOfType([he.string,he.number]),disableAlpha:he.bool,styles:he.object,defaultView:he.oneOf(["hex","rgb","hsl"])},ud.defaultProps={width:225,disableAlpha:!1,styles:{}},sn(ud);var VN=function(t){var n=t.color,r=t.onClick,i=r===void 0?function(){}:r,a=t.onSwatchHover,l=t.active,u=ke({default:{color:{background:n,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Kf(n),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:l,"color-#FFFFFF":n==="#FFFFFF",transparent:n==="transparent"});return b.createElement(yi,{style:u.color,color:n,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+n}},b.createElement("div",{style:u.dot}))},BN=function(t){var n=t.hex,r=t.rgb,i=t.onChange,a=ke({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:n},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),l=function(c,f){c.r||c.g||c.b?i({r:c.r||r.r,g:c.g||r.g,b:c.b||r.b,source:"rgb"},f):i({hex:c.hex,source:"hex"},f)};return b.createElement("div",{style:a.fields,className:"flexbox-fix"},b.createElement("div",{style:a.active}),b.createElement(rt,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:n,onChange:l}),b.createElement(rt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:r.r,onChange:l}),b.createElement(rt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:r.g,onChange:l}),b.createElement(rt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:r.b,onChange:l}))},cd=function(t){var n=t.onChange,r=t.onSwatchHover,i=t.colors,a=t.hex,l=t.rgb,u=t.styles,c=u===void 0?{}:u,f=t.className,h=f===void 0?"":f,p=ke(an({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),m=function(I,x){I.hex?Wr(I.hex)&&n({hex:I.hex,source:"hex"},x):n(I,x)};return b.createElement(Ta,{style:p.Compact,styles:c},b.createElement("div",{style:p.compact,className:"compact-picker "+h},b.createElement("div",null,Ci(i,function(v){return b.createElement(VN,{key:v,color:v,active:v.toLowerCase()===a,onClick:m,onSwatchHover:r})}),b.createElement("div",{style:p.clear})),b.createElement(BN,{hex:a,rgb:l,onChange:m})))};cd.propTypes={colors:he.arrayOf(he.string),styles:he.object},cd.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},sn(cd);var $N=function(t){var n=t.hover,r=t.color,i=t.onClick,a=t.onSwatchHover,l={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},u=ke({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:l}},{hover:n});return b.createElement("div",{style:u.swatch},b.createElement(yi,{color:r,onClick:i,onHover:a,focusStyle:l}))};const DN=Ef($N);var fd=function(t){var n=t.width,r=t.colors,i=t.onChange,a=t.onSwatchHover,l=t.triangle,u=t.styles,c=u===void 0?{}:u,f=t.className,h=f===void 0?"":f,p=ke(an({default:{card:{width:n,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":l==="hide","top-left-triangle":l==="top-left","top-right-triangle":l==="top-right","bottom-left-triangle":l==="bottom-left","bottom-right-triangle":l==="bottom-right"}),m=function(I,x){return i({hex:I,source:"hex"},x)};return b.createElement("div",{style:p.card,className:"github-picker "+h},b.createElement("div",{style:p.triangleShadow}),b.createElement("div",{style:p.triangle}),Ci(r,function(v){return b.createElement(DN,{color:v,key:v,onClick:m,onSwatchHover:a})}))};fd.propTypes={width:he.oneOfType([he.string,he.number]),colors:he.arrayOf(he.string),triangle:he.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:he.object},fd.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},sn(fd);var LN=function(t){var n=t.direction,r=ke({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:n==="vertical"});return b.createElement("div",{style:r.picker})},NN=Object.assign||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},dd=function(t){var n=t.width,r=t.height,i=t.onChange,a=t.hsl,l=t.direction,u=t.pointer,c=t.styles,f=c===void 0?{}:c,h=t.className,p=h===void 0?"":h,m=ke(an({default:{picker:{position:"relative",width:n,height:r},hue:{radius:"2px"}}},f)),v=function(x){return i({a:1,h:x.h,l:.5,s:1})};return b.createElement("div",{style:m.picker,className:"hue-picker "+p},b.createElement(oo,NN({},m.hue,{hsl:a,pointer:u,onChange:v,direction:l})))};dd.propTypes={styles:he.object},dd.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:LN,styles:{}};const jN=sn(dd);var kN=function(t){var n=t.onChange,r=t.hex,i=t.rgb,a=t.styles,l=a===void 0?{}:a,u=t.className,c=u===void 0?"":u,f=ke(an({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},l)),h=function(m,v){m.hex?Wr(m.hex)&&n({hex:m.hex,source:"hex"},v):(m.r||m.g||m.b)&&n({r:m.r||i.r,g:m.g||i.g,b:m.b||i.b,source:"rgb"},v)};return b.createElement(Ta,{styles:l},b.createElement("div",{style:f.material,className:"material-picker "+c},b.createElement(rt,{style:{wrap:f.HEXwrap,input:f.HEXinput,label:f.HEXlabel},label:"hex",value:r,onChange:h}),b.createElement("div",{style:f.split,className:"flexbox-fix"},b.createElement("div",{style:f.third},b.createElement(rt,{style:{wrap:f.RGBwrap,input:f.RGBinput,label:f.RGBlabel},label:"r",value:i.r,onChange:h})),b.createElement("div",{style:f.third},b.createElement(rt,{style:{wrap:f.RGBwrap,input:f.RGBinput,label:f.RGBlabel},label:"g",value:i.g,onChange:h})),b.createElement("div",{style:f.third},b.createElement(rt,{style:{wrap:f.RGBwrap,input:f.RGBinput,label:f.RGBlabel},label:"b",value:i.b,onChange:h})))))};sn(kN);var GN=function(t){var n=t.onChange,r=t.rgb,i=t.hsv,a=t.hex,l=ke({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),u=function(f,h){f["#"]?Wr(f["#"])&&n({hex:f["#"],source:"hex"},h):f.r||f.g||f.b?n({r:f.r||r.r,g:f.g||r.g,b:f.b||r.b,source:"rgb"},h):(f.h||f.s||f.v)&&n({h:f.h||i.h,s:f.s||i.s,v:f.v||i.v,source:"hsv"},h)};return b.createElement("div",{style:l.fields},b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"h",value:Math.round(i.h),onChange:u}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"s",value:Math.round(i.s*100),onChange:u}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"v",value:Math.round(i.v*100),onChange:u}),b.createElement("div",{style:l.divider}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:r.r,onChange:u}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:r.g,onChange:u}),b.createElement(rt,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:r.b,onChange:u}),b.createElement("div",{style:l.divider}),b.createElement(rt,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"#",value:a.replace("#",""),onChange:u}),b.createElement("div",{style:l.fieldSymbols},b.createElement("div",{style:l.symbol},"°"),b.createElement("div",{style:l.symbol},"%"),b.createElement("div",{style:l.symbol},"%")))},HN=function(t){var n=t.hsl,r=ke({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":n.l>.5});return b.createElement("div",{style:r.picker})},WN=function(){var t=ke({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return b.createElement("div",{style:t.pointer},b.createElement("div",{style:t.left},b.createElement("div",{style:t.leftInside})),b.createElement("div",{style:t.right},b.createElement("div",{style:t.rightInside})))},Rv=function(t){var n=t.onClick,r=t.label,i=t.children,a=t.active,l=ke({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return b.createElement("div",{style:l.button,onClick:n},r||i)},XN=function(t){var n=t.rgb,r=t.currentColor,i=ke({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+n.r+","+n.g+", "+n.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return b.createElement("div",null,b.createElement("div",{style:i.label},"new"),b.createElement("div",{style:i.swatches},b.createElement("div",{style:i.new}),b.createElement("div",{style:i.current})),b.createElement("div",{style:i.label},"current"))},zN=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function ZN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UN(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function YN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var hd=function(e){YN(t,e);function t(n){ZN(this,t);var r=UN(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.state={currentColor:n.hex},r}return zN(t,[{key:"render",value:function(){var r=this.props,i=r.styles,a=i===void 0?{}:i,l=r.className,u=l===void 0?"":l,c=ke(an({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},a));return b.createElement("div",{style:c.picker,className:"photoshop-picker "+u},b.createElement("div",{style:c.head},this.props.header),b.createElement("div",{style:c.body,className:"flexbox-fix"},b.createElement("div",{style:c.saturation},b.createElement(pl,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:HN,onChange:this.props.onChange})),b.createElement("div",{style:c.hue},b.createElement(oo,{direction:"vertical",hsl:this.props.hsl,pointer:WN,onChange:this.props.onChange})),b.createElement("div",{style:c.controls},b.createElement("div",{style:c.top,className:"flexbox-fix"},b.createElement("div",{style:c.previews},b.createElement(XN,{rgb:this.props.rgb,currentColor:this.state.currentColor})),b.createElement("div",{style:c.actions},b.createElement(Rv,{label:"OK",onClick:this.props.onAccept,active:!0}),b.createElement(Rv,{label:"Cancel",onClick:this.props.onCancel}),b.createElement(GN,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(b.Component);hd.propTypes={header:he.string,styles:he.object},hd.defaultProps={header:"Color Picker",styles:{}},sn(hd);var JN=function(t){var n=t.onChange,r=t.rgb,i=t.hsl,a=t.hex,l=t.disableAlpha,u=ke({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:l}),c=function(h,p){h.hex?Wr(h.hex)&&n({hex:h.hex,source:"hex"},p):h.r||h.g||h.b?n({r:h.r||r.r,g:h.g||r.g,b:h.b||r.b,a:r.a,source:"rgb"},p):h.a&&(h.a<0?h.a=0:h.a>100&&(h.a=100),h.a/=100,n({h:i.h,s:i.s,l:i.l,a:h.a,source:"rgb"},p))};return b.createElement("div",{style:u.fields,className:"flexbox-fix"},b.createElement("div",{style:u.double},b.createElement(rt,{style:{input:u.input,label:u.label},label:"hex",value:a.replace("#",""),onChange:c})),b.createElement("div",{style:u.single},b.createElement(rt,{style:{input:u.input,label:u.label},label:"r",value:r.r,onChange:c,dragLabel:"true",dragMax:"255"})),b.createElement("div",{style:u.single},b.createElement(rt,{style:{input:u.input,label:u.label},label:"g",value:r.g,onChange:c,dragLabel:"true",dragMax:"255"})),b.createElement("div",{style:u.single},b.createElement(rt,{style:{input:u.input,label:u.label},label:"b",value:r.b,onChange:c,dragLabel:"true",dragMax:"255"})),b.createElement("div",{style:u.alpha},b.createElement(rt,{style:{input:u.input,label:u.label},label:"a",value:Math.round(r.a*100),onChange:c,dragLabel:"true",dragMax:"100"})))},KN=Object.assign||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},Vv=function(t){var n=t.colors,r=t.onClick,i=r===void 0?function(){}:r,a=t.onSwatchHover,l=ke({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!n||!n.length}),u=function(f,h){i({hex:f,source:"hex"},h)};return b.createElement("div",{style:l.colors,className:"flexbox-fix"},n.map(function(c){var f=typeof c=="string"?{color:c}:c,h=""+f.color+(f.title||"");return b.createElement("div",{key:h,style:l.swatchWrap},b.createElement(yi,KN({},f,{style:l.swatch,onClick:u,onHover:a,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+f.color}})))}))};Vv.propTypes={colors:he.arrayOf(he.oneOfType([he.string,he.shape({color:he.string,title:he.string})])).isRequired};var qN=Object.assign||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},pd=function(t){var n=t.width,r=t.rgb,i=t.hex,a=t.hsv,l=t.hsl,u=t.onChange,c=t.onSwatchHover,f=t.disableAlpha,h=t.presetColors,p=t.renderers,m=t.styles,v=m===void 0?{}:m,I=t.className,x=I===void 0?"":I,E=ke(an({default:qN({picker:{width:n,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},v),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},v),{disableAlpha:f});return b.createElement("div",{style:E.picker,className:"sketch-picker "+x},b.createElement("div",{style:E.saturation},b.createElement(pl,{style:E.Saturation,hsl:l,hsv:a,onChange:u})),b.createElement("div",{style:E.controls,className:"flexbox-fix"},b.createElement("div",{style:E.sliders},b.createElement("div",{style:E.hue},b.createElement(oo,{style:E.Hue,hsl:l,onChange:u})),b.createElement("div",{style:E.alpha},b.createElement(_f,{style:E.Alpha,rgb:r,hsl:l,renderers:p,onChange:u}))),b.createElement("div",{style:E.color},b.createElement(io,null),b.createElement("div",{style:E.activeColor}))),b.createElement(JN,{rgb:r,hsl:l,hex:i,onChange:u,disableAlpha:f}),b.createElement(Vv,{colors:h,onClick:u,onSwatchHover:c}))};pd.propTypes={disableAlpha:he.bool,width:he.oneOfType([he.string,he.number]),styles:he.object},pd.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},sn(pd);var Va=function(t){var n=t.hsl,r=t.offset,i=t.onClick,a=i===void 0?function(){}:i,l=t.active,u=t.first,c=t.last,f=ke({default:{swatch:{height:"12px",background:"hsl("+n.h+", 50%, "+r*100+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:u,last:c}),h=function(m){return a({h:n.h,s:.5,l:r,source:"hsl"},m)};return b.createElement("div",{style:f.swatch,onClick:h})},QN=function(t){var n=t.onClick,r=t.hsl,i=ke({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),a=.1;return b.createElement("div",{style:i.swatches},b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".80",active:Math.abs(r.l-.8)<a&&Math.abs(r.s-.5)<a,onClick:n,first:!0})),b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".65",active:Math.abs(r.l-.65)<a&&Math.abs(r.s-.5)<a,onClick:n})),b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".50",active:Math.abs(r.l-.5)<a&&Math.abs(r.s-.5)<a,onClick:n})),b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".35",active:Math.abs(r.l-.35)<a&&Math.abs(r.s-.5)<a,onClick:n})),b.createElement("div",{style:i.swatch},b.createElement(Va,{hsl:r,offset:".20",active:Math.abs(r.l-.2)<a&&Math.abs(r.s-.5)<a,onClick:n,last:!0})),b.createElement("div",{style:i.clear}))},ej=function(){var t=ke({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return b.createElement("div",{style:t.picker})},gd=function(t){var n=t.hsl,r=t.onChange,i=t.pointer,a=t.styles,l=a===void 0?{}:a,u=t.className,c=u===void 0?"":u,f=ke(an({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},l));return b.createElement("div",{style:f.wrap||{},className:"slider-picker "+c},b.createElement("div",{style:f.hue},b.createElement(oo,{style:f.Hue,hsl:n,pointer:i,onChange:r})),b.createElement("div",{style:f.swatches},b.createElement(QN,{hsl:n,onClick:r})))};gd.propTypes={styles:he.object},gd.defaultProps={pointer:ej,styles:{}},sn(gd);var Bv={};Object.defineProperty(Bv,"__esModule",{value:!0});var $v=Object.assign||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},tj=b,Dv=nj(tj);function nj(e){return e&&e.__esModule?e:{default:e}}function rj(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var xl=24,ij=Bv.default=function(e){var t=e.fill,n=t===void 0?"currentColor":t,r=e.width,i=r===void 0?xl:r,a=e.height,l=a===void 0?xl:a,u=e.style,c=u===void 0?{}:u,f=rj(e,["fill","width","height","style"]);return Dv.default.createElement("svg",$v({viewBox:"0 0 "+xl+" "+xl,style:$v({fill:n,width:i,height:l},c)},f),Dv.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},oj=function(t){var n=t.color,r=t.onClick,i=r===void 0?function(){}:r,a=t.onSwatchHover,l=t.first,u=t.last,c=t.active,f=ke({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:n,marginBottom:"1px"},check:{color:Kf(n),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:l,last:u,active:c,"color-#FFFFFF":n==="#FFFFFF",transparent:n==="transparent"});return b.createElement(yi,{color:n,style:f.color,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+n}},b.createElement("div",{style:f.check},b.createElement(ij,null)))},aj=function(t){var n=t.onClick,r=t.onSwatchHover,i=t.group,a=t.active,l=ke({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return b.createElement("div",{style:l.group},Ci(i,function(u,c){return b.createElement(oj,{key:u,color:u,active:u.toLowerCase()===a,first:c===0,last:c===i.length-1,onClick:n,onSwatchHover:r})}))},md=function(t){var n=t.width,r=t.height,i=t.onChange,a=t.onSwatchHover,l=t.colors,u=t.hex,c=t.styles,f=c===void 0?{}:c,h=t.className,p=h===void 0?"":h,m=ke(an({default:{picker:{width:n,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},f)),v=function(x,E){return i({hex:x,source:"hex"},E)};return b.createElement("div",{style:m.picker,className:"swatches-picker "+p},b.createElement(Ta,null,b.createElement("div",{style:m.overflow},b.createElement("div",{style:m.body},Ci(l,function(I){return b.createElement(aj,{key:I.toString(),group:I,active:u,onClick:v,onSwatchHover:a})}),b.createElement("div",{style:m.clear})))))};md.propTypes={width:he.oneOfType([he.string,he.number]),height:he.oneOfType([he.string,he.number]),colors:he.arrayOf(he.arrayOf(he.string)),styles:he.object},md.defaultProps={width:320,height:240,colors:[[so[900],so[700],so[500],so[300],so[100]],[lo[900],lo[700],lo[500],lo[300],lo[100]],[uo[900],uo[700],uo[500],uo[300],uo[100]],[co[900],co[700],co[500],co[300],co[100]],[fo[900],fo[700],fo[500],fo[300],fo[100]],[ho[900],ho[700],ho[500],ho[300],ho[100]],[po[900],po[700],po[500],po[300],po[100]],[go[900],go[700],go[500],go[300],go[100]],[mo[900],mo[700],mo[500],mo[300],mo[100]],["#194D33",Ra[700],Ra[500],Ra[300],Ra[100]],[vo[900],vo[700],vo[500],vo[300],vo[100]],[bo[900],bo[700],bo[500],bo[300],bo[100]],[yo[900],yo[700],yo[500],yo[300],yo[100]],[Co[900],Co[700],Co[500],Co[300],Co[100]],[xo[900],xo[700],xo[500],xo[300],xo[100]],[wo[900],wo[700],wo[500],wo[300],wo[100]],[So[900],So[700],So[500],So[300],So[100]],[Io[900],Io[700],Io[500],Io[300],Io[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},sn(md);var vd=function(t){var n=t.onChange,r=t.onSwatchHover,i=t.hex,a=t.colors,l=t.width,u=t.triangle,c=t.styles,f=c===void 0?{}:c,h=t.className,p=h===void 0?"":h,m=ke(an({default:{card:{width:l,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},f),{"hide-triangle":u==="hide","top-left-triangle":u==="top-left","top-right-triangle":u==="top-right"}),v=function(x,E){Wr(x)&&n({hex:x,source:"hex"},E)};return b.createElement("div",{style:m.card,className:"twitter-picker "+p},b.createElement("div",{style:m.triangleShadow}),b.createElement("div",{style:m.triangle}),b.createElement("div",{style:m.body},Ci(a,function(I,x){return b.createElement(yi,{key:x,color:I,hex:I,style:m.swatch,onClick:v,onHover:r,focusStyle:{boxShadow:"0 0 4px "+I}})}),b.createElement("div",{style:m.hash},"#"),b.createElement(rt,{label:null,style:{input:m.input},value:i.replace("#",""),onChange:v}),b.createElement("div",{style:m.clear})))};vd.propTypes={width:he.oneOfType([he.string,he.number]),triangle:he.oneOf(["hide","top-left","top-right"]),colors:he.arrayOf(he.string),styles:he.object},vd.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},sn(vd);var bd=function(t){var n=ke({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(t.hsl.h)+", "+Math.round(t.hsl.s*100)+"%, "+Math.round(t.hsl.l*100)+"%)"}}});return b.createElement("div",{style:n.picker})};bd.propTypes={hsl:he.shape({h:he.number,s:he.number,l:he.number,a:he.number})},bd.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var yd=function(t){var n=ke({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(t.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return b.createElement("div",{style:n.picker})};yd.propTypes={hsl:he.shape({h:he.number,s:he.number,l:he.number,a:he.number})},yd.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var sj=function(t){var n=t.onChange,r=t.rgb,i=t.hsl,a=t.hex,l=t.hsv,u=function(v,I){if(v.hex)Wr(v.hex)&&n({hex:v.hex,source:"hex"},I);else if(v.rgb){var x=v.rgb.split(",");qf(v.rgb,"rgb")&&n({r:x[0],g:x[1],b:x[2],a:1,source:"rgb"},I)}else if(v.hsv){var E=v.hsv.split(",");qf(v.hsv,"hsv")&&(E[2]=E[2].replace("%",""),E[1]=E[1].replace("%",""),E[0]=E[0].replace("°",""),E[1]==1?E[1]=.01:E[2]==1&&(E[2]=.01),n({h:Number(E[0]),s:Number(E[1]),v:Number(E[2]),source:"hsv"},I))}else if(v.hsl){var _=v.hsl.split(",");qf(v.hsl,"hsl")&&(_[2]=_[2].replace("%",""),_[1]=_[1].replace("%",""),_[0]=_[0].replace("°",""),p[1]==1?p[1]=.01:p[2]==1&&(p[2]=.01),n({h:Number(_[0]),s:Number(_[1]),v:Number(_[2]),source:"hsl"},I))}},c=ke({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),f=r.r+", "+r.g+", "+r.b,h=Math.round(i.h)+"°, "+Math.round(i.s*100)+"%, "+Math.round(i.l*100)+"%",p=Math.round(l.h)+"°, "+Math.round(l.s*100)+"%, "+Math.round(l.v*100)+"%";return b.createElement("div",{style:c.wrap,className:"flexbox-fix"},b.createElement("div",{style:c.fields},b.createElement("div",{style:c.double},b.createElement(rt,{style:{input:c.input,label:c.label},label:"hex",value:a,onChange:u})),b.createElement("div",{style:c.column},b.createElement("div",{style:c.single},b.createElement(rt,{style:{input:c.input2,label:c.label2},label:"rgb",value:f,onChange:u})),b.createElement("div",{style:c.single},b.createElement(rt,{style:{input:c.input2,label:c.label2},label:"hsv",value:p,onChange:u})),b.createElement("div",{style:c.single},b.createElement(rt,{style:{input:c.input2,label:c.label2},label:"hsl",value:h,onChange:u})))))},Cd=function(t){var n=t.width,r=t.onChange,i=t.rgb,a=t.hsl,l=t.hsv,u=t.hex,c=t.header,f=t.styles,h=f===void 0?{}:f,p=t.className,m=p===void 0?"":p,v=ke(an({default:{picker:{width:n,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+i.r+", "+i.g+", "+i.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},h));return b.createElement("div",{style:v.picker,className:"google-picker "+m},b.createElement("div",{style:v.head},c),b.createElement("div",{style:v.swatch}),b.createElement("div",{style:v.saturation},b.createElement(pl,{hsl:a,hsv:l,pointer:bd,onChange:r})),b.createElement("div",{style:v.body},b.createElement("div",{style:v.controls,className:"flexbox-fix"},b.createElement("div",{style:v.hue},b.createElement(oo,{style:v.Hue,hsl:a,radius:"4px",pointer:yd,onChange:r}))),b.createElement(sj,{rgb:i,hsl:a,hex:u,hsv:l,onChange:r})))};Cd.propTypes={width:he.oneOfType([he.string,he.number]),styles:he.object,header:he.string},Cd.defaultProps={width:652,styles:{},header:"Color picker"},sn(Cd);const Lv=({color:e="#ff0000",disabled:t=!1,onChange:n=()=>{}})=>{const[r,i]=b.useState(e),a=l=>{t||(i(l.hex),n(l.hex))};return w.jsxs("div",{className:"flex items-end justify-between w-full gap-2 px-2 bottom-1 hue-container",children:[w.jsx("div",{className:"relative h-2 grow bottom-1",children:w.jsx(jN,{className:Ke("h-3 w-full",{"saturate-0":t,"saturate-100":!t}),color:r,onChange:a})}),w.jsx("div",{className:"flex-1",children:w.jsx("input",{disabled:t,className:"w-full px-1 outline-none",value:r,onChange:l=>{i(l.target.value),n(l.target.value)}})}),w.jsx("div",{className:"flex-none",children:w.jsx("div",{style:{backgroundColor:r},className:`w-6 h-6 rounded-full shadow ${t?"saturate-0":"saturate-100"}`})})]})};function lj({dismiss:e,message:t}){return w.jsxs("div",{className:"relative z-[999] flex items-center p-4 text-sm border-l-4 border-red-400 shadow-lg w-80 bg-red-50",children:[w.jsx("button",{type:"button",className:"absolute top-0 right-0 w-4 m-3 text-red-400",onClick:e,children:w.jsx(Cs,{className:"w-4 h-4"})}),w.jsx("div",{className:"flex-shrink-0 w-5 h-5 mr-2 text-red-500",children:w.jsx(_y,{})}),w.jsx("p",{className:"text-sm",children:t})]})}function uj({open:e,children:t,close:n,size:r="2xl",scrollToTop:i=!0}){return w.jsx(Ws,{isOpen:e,close:n,scrollToTop:i,isDialog:!0,children:w.jsx("div",{className:Ke("w-full h-full overflow-hidden",{"hidden w-0 h-0 invisible":!e}),children:w.jsx(Yc,{mode:"wait",children:e&&w.jsx(ga.div,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},exit:{opacity:0,scale:0},transition:{type:"spring"},className:"flex items-center min-h-screen",children:w.jsx("div",{className:Ke("flex-1 mx-auto",{"max-w-xs":r==="xs","max-w-sm":r==="sm","max-w-md":r==="md","max-w-lg":r==="lg","max-w-xl":r==="xl","max-w-2xl":r==="2xl","max-w-3xl":r==="3xl","max-w-4xl":r==="4xl","max-w-5xl":r==="5xl","max-w-6xl":r==="6xl","max-w-7xl":r==="7xl"}),onClick:a=>a.stopPropagation(),children:t})})})})})}function Nv({title:e,data:t,disabledFilter:n}){const[r,i]=b.useState([]),[a,l]=b.useState(""),[u,c]=b.useState([]);b.useEffect(()=>{function E(){let _=t;a&&(_=_.filter(F=>a===""?!0:Object.values(F).some(M=>M==null?void 0:M.toString().toUpperCase().includes(a.toUpperCase())))),c(_)}E()},[t,a]);function f(E){const{checked:_}=E.target;if(!_){i([]);return}let F=u;n&&(F=F.filter(M=>!n(M))),i(F)}function h(E){i(_=>_.findIndex(M=>M.id===E)!==-1?_.filter(M=>M.id!==E):_)}function p(E){i(_=>_.findIndex(M=>M.id===E.id)===-1?[..._,E]:_)}function m(E){l(E.target.value)}const v=u?u.filter(E=>n?!n(E):!0):[],x=r.length===v.length&&r.length>0&&v.length>0;return{title:e,query:a,data:t||[],areAllSelected:x,selected:r,dataBox:u,select:p,unselect:h,setFilter:m,selectAll:f}}function cj(e,t){return e.map(n=>n[t])}var gr=function(){return gr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},gr.apply(this,arguments)};function jv(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}typeof SuppressedError=="function"&&SuppressedError;var wl={color:"#38ad48",enabled:!0,size:50,style:{}},fj=function(e){return parseFloat(e.toString()).toString()===e.toString()?"".concat(e,"px"):e.toString()},dj=function(e){function t(n){var r=n.color,i=r===void 0?wl.color:r,a=n.enabled,l=a===void 0?wl.enabled:a,u=n.size,c=u===void 0?wl.size:u,f=n.style,h=f===void 0?wl.style:f,p=jv(n,["color","enabled","size","style"]),m=gr(gr({},p),{style:gr({color:i,overflow:"visible",width:fj(c)},h)});return l?b.createElement(e,gr({},m)):null}return t},hj={speed:100,still:!1,thickness:100},Sl=gr(gr({},hj),{secondaryColor:"rgba(0,0,0,0.44)"});function pj(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var gj="@keyframes spinners-react-circular{0%{stroke-dashoffset:306}50%{stroke-dasharray:40,134}to{stroke-dasharray:1,174;stroke-dashoffset:132}}";pj(gj);function mj(e){var t=e.secondaryColor,n=t===void 0?Sl.secondaryColor:t,r=e.speed,i=r===void 0?Sl.speed:r,a=e.still,l=a===void 0?Sl.still:a,u=e.thickness,c=u===void 0?Sl.thickness:u,f=jv(e,["secondaryColor","speed","still","thickness"]),h=4*(c/100),p=l?{}:{animation:"spinners-react-circular ".concat(140/i,"s linear infinite")};return b.createElement("svg",gr({fill:"none"},f,{viewBox:"0 0 66 66"}),b.createElement("circle",{cx:"33",cy:"33",fill:"none",r:"28",stroke:n,strokeWidth:h}),b.createElement("circle",{cx:"33",cy:"33",fill:"none",r:"28",stroke:"currentColor",strokeDasharray:"1, 174",strokeDashoffset:"306",strokeLinecap:"round",strokeWidth:h,style:p}))}var vj=dj(mj);const xd=({children:e="Carregando...",color:t="rgba(0, 147, 178, 1)",secondaryColor:n="rgba(0, 0, 0, 0.44)",silent:r=!1,size:i=100,thickness:a=480,speed:l=100})=>w.jsxs("div",{className:"flex flex-col justify-center gap-2",children:[w.jsx("div",{className:"mx-auto",children:w.jsx(vj,{size:i,thickness:a,speed:l,color:t,secondaryColor:n})}),!r&&w.jsx("span",{className:"text-xl font-semibold text-center text-brand-primary",children:e})]});function kv({title:e,placeHolderSearchField:t,onChangeSearchField:n,headers:r,listOrder:i,labels:a,onChangeCheckBoxAll:l,checkedCheckBoxAll:u,list:c,isLoading:f}){const[h,p]=b.useState(null),m=E=>{let _="asc";h&&h.key===E&&(h.direction==="asc"?_="desc":h.direction==="desc"&&(_="none")),p(_==="none"?null:{key:E,direction:_})},I=h?[...c.dataBox].sort((E,_)=>E[h.key]<_[h.key]?h.direction==="asc"?-1:1:E[h.key]>_[h.key]?h.direction==="asc"?1:-1:0):c.dataBox,x=E=>!h||h.key!==E?w.jsx(i0,{}):w.jsx("span",{children:h.direction==="asc"?w.jsx(n0,{}):w.jsx(r0,{})});return w.jsxs("div",{className:"flex flex-col justify-between flex-1 gap-2 p-4 border shadow-md rounded-xl border-stone-200",children:[w.jsx("h1",{className:"text-lg font-bold text-primary-500",children:e}),w.jsxs("div",{className:"space-y-2",children:[w.jsxs("div",{className:"flex items-center gap-2 px-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b-2 focus-within:border-primary-500 focus-within:ring-primary-500 dark:bg-gray-900",children:[w.jsx(ec,{className:"w-5 h-5 text-gray-500"}),w.jsx("input",{type:"text",placeholder:t,className:"block w-full text-gray-500 bg-transparent border-none appearance-none focus:border-primary-500 focus:ring-0",onChange:n})]}),w.jsx("div",{id:"table-fix-head",className:"flex-1 overflow-y-auto h-80",children:w.jsxs("table",{className:"w-full border-collapse rounded-2xl",children:[w.jsx("thead",{className:"text-left border",children:w.jsxs("tr",{className:"bg-gray-100 sticky top-0 p-3 text-sm font-bold text-primary-500 dark:bg-gray-900",children:[r.map(({header:E,acessor:_})=>w.jsx("th",{children:w.jsxs("div",{className:"flex items-center gap-2 p-2 cursor-pointer hover:bg-gray-200 rounded",onClick:()=>m(_),children:[E,x(_)]})},`table-header-${i}-list-${_}`)),w.jsx("th",{className:"flex items-center justify-center w-full h-10",children:w.jsx("input",{className:"w-5 h-5 rounded-md cursor-pointer border-primary-500 border-1 text-primary-500 focus:ring-0",type:"checkbox",name:`checkAllRowsBox${i}`,id:`checkAllRowsBox${i}`,onChange:l,checked:u})})]})}),w.jsxs("tbody",{children:[f&&w.jsx("tr",{children:w.jsx("td",{colSpan:r.length+1,rowSpan:1,children:w.jsx("div",{className:"py-2",children:w.jsx(xd,{size:36,children:w.jsx("p",{className:"text-xs",children:a.processing})})})})}),!f&&(c==null?void 0:c.data.length)===0&&w.jsx("tr",{children:w.jsx("td",{className:"w-full h-10 p-3",colSpan:r.length+1,rowSpan:1,children:w.jsx("p",{className:"text-sm text-center text-gray-500",children:a.noRecordFound})})}),!f&&I.filter(E=>c.query===""?!0:Object.values(E).some(_=>_==null?void 0:_.toString().toUpperCase().includes(c.query.toUpperCase()))).map(E=>{const _=cj(c.selected,"id"),F=_.includes(E.id),M=()=>{if(F){c.unselect(E.id);return}c.select(E)};return w.jsxs("tr",{className:`${E!=null&&E.isDisabled?"bg-stone-200 border-stone-300 cursor-not-allowed":"border-stone-200"} border`,children:[r.map(({acessor:$})=>w.jsxs("td",{className:"h-10 p-3",children:[w.jsx("label",{htmlFor:E.id}),w.jsx("p",{className:`text-sm text-gray-500 ${(E==null?void 0:E.isDisabled)&&"bg-stone-200"}`,children:E[$]})]},`table-tbody-${i}-list-${$}`)),w.jsx("td",{className:"flex items-center justify-center w-full h-10",children:w.jsx("input",{className:"w-5 h-5 rounded-md disabled:border-stone-400 disabled:cursor-not-allowed disabled:bg-stone-300 border-primary-500 border-1 text-primary-500 focus:ring-0",disabled:E==null?void 0:E.isDisabled,type:"checkbox",name:E.id,id:E.id,onChange:M,checked:_.includes(E.id)})})]},`td-${i}-${E.id}`)})]})]})})]}),w.jsx("div",{children:w.jsxs("div",{className:"flex flex-col w-full",children:[w.jsxs("p",{className:"text-sm",children:[w.jsxs("span",{className:"font-bold text-primary-500",children:[a.selected,": "]}),w.jsx("span",{className:"dark:text-white",children:c.selected.length})]}),w.jsxs("p",{className:"text-sm",children:[w.jsxs("span",{className:"font-bold text-primary-500",children:[a.all,": "]}),w.jsx("span",{className:"dark:text-white",children:c.dataBox.length})]})]})})]})}function bj({headers:e,titleOne:t,titleTwo:n,dataOne:r,dataTwo:i,isLoadingOne:a,isLoadingTwo:l,labels:u,placeHolderSearchField:c,onAssociation:f,onDissociation:h}){const p=Nv({title:t,data:r}),m=Nv({title:n,data:i});function v(){f(p.selected),p.selected.forEach(x=>{p.unselect(x.id)})}function I(){h(m.selected),m.selected.forEach(x=>{m.unselect(x.id)})}return w.jsxs("div",{className:"flex gap-7",children:[w.jsx(kv,{title:t,placeHolderSearchField:c,onChangeSearchField:p.setFilter,headers:e,labels:u,checkedCheckBoxAll:p.areAllSelected,onChangeCheckBoxAll:p.selectAll,isLoading:a,list:p,listOrder:"first"},1),w.jsxs("div",{className:"flex flex-col items-center justify-center space-y-1 w-9",children:[w.jsx(Ji,{type:"button",variant:"primary",onClick:v,disabled:p.selected.length===0,children:w.jsx(t0,{className:"w-6 "})}),w.jsx(Ji,{type:"button",variant:"primary",onClick:I,disabled:m.selected.length===0,children:w.jsx(e0,{className:"w-6"})})]}),w.jsx(kv,{title:n,placeHolderSearchField:c,onChangeSearchField:m.setFilter,headers:e,labels:u,checkedCheckBoxAll:m.areAllSelected,onChangeCheckBoxAll:m.selectAll,isLoading:l,list:m,listOrder:"second"},2)]})}const Ba=({children:e,...t})=>w.jsx("span",{className:"block min-h-full pt-1 pl-1 text-xs font-semibold text-left text-brand-danger",...t,children:e});var yj=process.env.NODE_ENV==="production";function Eo(e,t){if(!yj){var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var Gv=Mf,Cj={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},xj={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Hv={};Hv[Gv.ForwardRef]=Cj,Hv[Gv.Memo]=xj;function wd(){return wd=Object.assign||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},wd.apply(this,arguments)}function wj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var Il=b.createContext(void 0);Il.displayName="FormikContext",Il.Provider,Il.Consumer;function Wv(){var e=b.useContext(Il);return e||(process.env.NODE_ENV!=="production"?Eo(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):Eo()),e}var Sj=function(t){return t!==null&&typeof t=="object"};function Ij(e){var t=Wv(),n=t.getFieldProps,r=t.getFieldMeta,i=t.getFieldHelpers,a=t.registerField,l=t.unregisterField,u=Sj(e),c=u?e:{name:e},f=c.name,h=c.validate;b.useEffect(function(){return f&&a(f,{validate:h}),function(){f&&l(f)}},[a,l,f,h]),process.env.NODE_ENV!=="production"&&(t||(process.env.NODE_ENV!=="production"?Eo(!1,"useField() / <Field /> must be used underneath a <Formik> component or withFormik() higher order component"):Eo())),f||(process.env.NODE_ENV!=="production"?Eo(!1,"Invalid field name. Either pass `useField` a string or an object containing a `name` key."):Eo());var p=b.useMemo(function(){return i(f)},[i,f]);return[n(c),r(f),p]}var Ej=b.forwardRef(function(e,t){var n=e.action,r=wj(e,["action"]),i=n??"#",a=Wv(),l=a.handleReset,u=a.handleSubmit;return b.createElement("form",wd({onSubmit:u,ref:t,onReset:l,action:i},r))});Ej.displayName="Form";var Sd={exports:{}},Id,Xv;function Aj(){if(Xv)return Id;Xv=1;function e(O){return O&&typeof O=="object"&&"default"in O?O.default:O}var t=e(b),n=Uu;function r(O,T){for(var V=Object.getOwnPropertyNames(T),R=0;R<V.length;R++){var y=V[R],k=Object.getOwnPropertyDescriptor(T,y);k&&k.configurable&&O[y]===void 0&&Object.defineProperty(O,y,k)}return O}function i(){return(i=Object.assign||function(O){for(var T=1;T<arguments.length;T++){var V=arguments[T];for(var R in V)Object.prototype.hasOwnProperty.call(V,R)&&(O[R]=V[R])}return O}).apply(this,arguments)}function a(O,T){O.prototype=Object.create(T.prototype),r(O.prototype.constructor=O,T)}function l(O,T){if(O==null)return{};var V,R,y={},k=Object.keys(O);for(R=0;R<k.length;R++)V=k[R],0<=T.indexOf(V)||(y[V]=O[V]);return y}function u(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}var c=function(O,T,V,R,y,k,ee,oe){if(!O){var Z;if(T===void 0)Z=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var J=[V,R,y,k,ee,oe],re=0;(Z=new Error(T.replace(/%s/g,function(){return J[re++]}))).name="Invariant Violation"}throw Z.framesToPop=1,Z}},f=c;function h(O,T,V){if("selectionStart"in O&&"selectionEnd"in O)O.selectionStart=T,O.selectionEnd=V;else{var R=O.createTextRange();R.collapse(!0),R.moveStart("character",T),R.moveEnd("character",V-T),R.select()}}function p(O){var T=0,V=0;if("selectionStart"in O&&"selectionEnd"in O)T=O.selectionStart,V=O.selectionEnd;else{var R=document.selection.createRange();R.parentElement()===O&&(T=-R.moveStart("character",-O.value.length),V=-R.moveEnd("character",-O.value.length))}return{start:T,end:V,length:V-T}}var m={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},v="_";function I(O,T,V){var R="",y="",k=null,ee=[];if(T===void 0&&(T=v),V==null&&(V=m),!O||typeof O!="string")return{maskChar:T,formatChars:V,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var oe=!1;return O.split("").forEach(function(Z){oe=!oe&&Z==="\\"||(oe||!V[Z]?(ee.push(R.length),R.length===ee.length-1&&(y+=Z)):k=R.length+1,R+=Z,!1)}),{maskChar:T,formatChars:V,prefix:y,mask:R,lastEditablePosition:k,permanents:ee}}function x(O,T){return O.permanents.indexOf(T)!==-1}function E(O,T,V){var R=O.mask,y=O.formatChars;if(!V)return!1;if(x(O,T))return R[T]===V;var k=y[R[T]];return new RegExp(k).test(V)}function _(O,T){return T.split("").every(function(V,R){return x(O,R)||!E(O,R,V)})}function F(O,T){var V=O.maskChar,R=O.prefix;if(!V){for(;T.length>R.length&&x(O,T.length-1);)T=T.slice(0,T.length-1);return T.length}for(var y=R.length,k=T.length;k>=R.length;k--){var ee=T[k];if(!x(O,k)&&E(O,k,ee)){y=k+1;break}}return y}function M(O,T){return F(O,T)===O.mask.length}function $(O,T){var V=O.maskChar,R=O.mask,y=O.prefix;if(!V){for((T=H(O,"",T,0)).length<y.length&&(T=y);T.length<R.length&&x(O,T.length);)T+=R[T.length];return T}if(T)return H(O,$(O,""),T,0);for(var k=0;k<R.length;k++)x(O,k)?T+=R[k]:T+=V;return T}function D(O,T,V,R){var y=V+R,k=O.maskChar,ee=O.mask,oe=O.prefix,Z=T.split("");if(k)return Z.map(function(re,ie){return ie<V||y<=ie?re:x(O,ie)?ee[ie]:k}).join("");for(var J=y;J<Z.length;J++)x(O,J)&&(Z[J]="");return V=Math.max(oe.length,V),Z.splice(V,y-V),T=Z.join(""),$(O,T)}function H(O,T,V,R){var y=O.mask,k=O.maskChar,ee=O.prefix,oe=V.split(""),Z=M(O,T);return!k&&R>T.length&&(T+=y.slice(T.length,R)),oe.every(function(J){for(;K=J,x(O,ue=R)&&K!==y[ue];){if(R>=T.length&&(T+=y[R]),re=J,ie=R,k&&x(O,ie)&&re===k)return!0;if(++R>=y.length)return!1}var re,ie,ue,K;return!E(O,R,J)&&J!==k||(R<T.length?T=k||Z||R<ee.length?T.slice(0,R)+J+T.slice(R+1):(T=T.slice(0,R)+J+T.slice(R),$(O,T)):k||(T+=J),++R<y.length)}),T}function z(O,T,V,R){var y=O.mask,k=O.maskChar,ee=V.split(""),oe=R;return ee.every(function(Z){for(;re=Z,x(O,J=R)&&re!==y[J];)if(++R>=y.length)return!1;var J,re;return(E(O,R,Z)||Z===k)&&R++,R<y.length}),R-oe}function U(O,T){for(var V=T;0<=V;--V)if(!x(O,V))return V;return null}function se(O,T){for(var V=O.mask,R=T;R<V.length;++R)if(!x(O,R))return R;return null}function Ae(O){return O||O===0?O+"":""}function Xe(O,T,V,R,y){var k=O.mask,ee=O.prefix,oe=O.lastEditablePosition,Z=T,J="",re=0,ie=0,ue=Math.min(y.start,V.start);return V.end>y.start?ie=(re=z(O,R,J=Z.slice(y.start,V.end),ue))?y.length:0:Z.length<R.length&&(ie=R.length-Z.length),Z=R,ie&&(ie===1&&!y.length&&(ue=y.start===V.start?se(O,V.start):U(O,V.start)),Z=D(O,Z,ue,ie)),Z=H(O,Z,J,ue),(ue+=re)>=k.length?ue=k.length:ue<ee.length&&!re?ue=ee.length:ue>=ee.length&&ue<oe&&re&&(ue=se(O,ue)),J||(J=null),{value:Z=$(O,Z),enteredString:J,selection:{start:ue,end:ue}}}function Ge(){var O=new RegExp("windows","i"),T=new RegExp("phone","i"),V=navigator.userAgent;return O.test(V)&&T.test(V)}function pe(O){return typeof O=="function"}function Se(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function Te(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function be(O){return(Te()?Se():function(){return setTimeout(O,1e3/60)})(O)}function Ve(O){(Te()||clearTimeout)(O)}var ze=function(O){function T(R){var y=O.call(this,R)||this;y.focused=!1,y.mounted=!1,y.previousSelection=null,y.selectionDeferId=null,y.saveSelectionLoopDeferId=null,y.saveSelectionLoop=function(){y.previousSelection=y.getSelection(),y.saveSelectionLoopDeferId=be(y.saveSelectionLoop)},y.runSaveSelectionLoop=function(){y.saveSelectionLoopDeferId===null&&y.saveSelectionLoop()},y.stopSaveSelectionLoop=function(){y.saveSelectionLoopDeferId!==null&&(Ve(y.saveSelectionLoopDeferId),y.saveSelectionLoopDeferId=null,y.previousSelection=null)},y.getInputDOMNode=function(){if(!y.mounted)return null;var fe=n.findDOMNode(u(u(y))),q=typeof window<"u"&&fe instanceof window.Element;if(fe&&!q)return null;if(fe.nodeName!=="INPUT"&&(fe=fe.querySelector("input")),!fe)throw new Error("react-input-mask: inputComponent doesn't contain input node");return fe},y.getInputValue=function(){var fe=y.getInputDOMNode();return fe?fe.value:null},y.setInputValue=function(fe){var q=y.getInputDOMNode();q&&(y.value=fe,q.value=fe)},y.setCursorToEnd=function(){var fe=F(y.maskOptions,y.value),q=se(y.maskOptions,fe);q!==null&&y.setCursorPosition(q)},y.setSelection=function(fe,q,de){de===void 0&&(de={});var xe=y.getInputDOMNode(),ye=y.isFocused();xe&&ye&&(de.deferred||h(xe,fe,q),y.selectionDeferId!==null&&Ve(y.selectionDeferId),y.selectionDeferId=be(function(){y.selectionDeferId=null,h(xe,fe,q)}),y.previousSelection={start:fe,end:q,length:Math.abs(q-fe)})},y.getSelection=function(){return p(y.getInputDOMNode())},y.getCursorPosition=function(){return y.getSelection().start},y.setCursorPosition=function(fe){y.setSelection(fe,fe)},y.isFocused=function(){return y.focused},y.getBeforeMaskedValueChangeConfig=function(){var fe=y.maskOptions,q=fe.mask,de=fe.maskChar,xe=fe.permanents,ye=fe.formatChars;return{mask:q,maskChar:de,permanents:xe,alwaysShowMask:!!y.props.alwaysShowMask,formatChars:ye}},y.isInputAutofilled=function(fe,q,de,xe){var ye=y.getInputDOMNode();try{if(ye.matches(":-webkit-autofill"))return!0}catch{}return!y.focused||xe.end<de.length&&q.end===fe.length},y.onChange=function(fe){var q=u(u(y)).beforePasteState,de=u(u(y)).previousSelection,xe=y.props.beforeMaskedValueChange,ye=y.getInputValue(),je=y.value,He=y.getSelection();y.isInputAutofilled(ye,He,je,de)&&(je=$(y.maskOptions,""),de={start:0,end:0,length:0}),q&&(de=q.selection,je=q.value,He={start:de.start+ye.length,end:de.start+ye.length,length:0},ye=je.slice(0,de.start)+ye+je.slice(de.end),y.beforePasteState=null);var Qe=Xe(y.maskOptions,ye,He,je,de),at=Qe.enteredString,lt=Qe.selection,Et=Qe.value;if(pe(xe)){var Jt=xe({value:Et,selection:lt},{value:je,selection:de},at,y.getBeforeMaskedValueChangeConfig());Et=Jt.value,lt=Jt.selection}y.setInputValue(Et),pe(y.props.onChange)&&y.props.onChange(fe),y.isWindowsPhoneBrowser?y.setSelection(lt.start,lt.end,{deferred:!0}):y.setSelection(lt.start,lt.end)},y.onFocus=function(fe){var q=y.props.beforeMaskedValueChange,de=y.maskOptions,xe=de.mask,ye=de.prefix;if(y.focused=!0,y.mounted=!0,xe){if(y.value)F(y.maskOptions,y.value)<y.maskOptions.mask.length&&y.setCursorToEnd();else{var je=$(y.maskOptions,ye),He=$(y.maskOptions,je),Qe=F(y.maskOptions,He),at=se(y.maskOptions,Qe),lt={start:at,end:at};if(pe(q)){var Et=q({value:He,selection:lt},{value:y.value,selection:null},null,y.getBeforeMaskedValueChangeConfig());He=Et.value,lt=Et.selection}var Jt=He!==y.getInputValue();Jt&&y.setInputValue(He),Jt&&pe(y.props.onChange)&&y.props.onChange(fe),y.setSelection(lt.start,lt.end)}y.runSaveSelectionLoop()}pe(y.props.onFocus)&&y.props.onFocus(fe)},y.onBlur=function(fe){var q=y.props.beforeMaskedValueChange,de=y.maskOptions.mask;if(y.stopSaveSelectionLoop(),y.focused=!1,de&&!y.props.alwaysShowMask&&_(y.maskOptions,y.value)){var xe="";pe(q)&&(xe=q({value:xe,selection:null},{value:y.value,selection:y.previousSelection},null,y.getBeforeMaskedValueChangeConfig()).value);var ye=xe!==y.getInputValue();ye&&y.setInputValue(xe),ye&&pe(y.props.onChange)&&y.props.onChange(fe)}pe(y.props.onBlur)&&y.props.onBlur(fe)},y.onMouseDown=function(fe){if(!y.focused&&document.addEventListener){y.mouseDownX=fe.clientX,y.mouseDownY=fe.clientY,y.mouseDownTime=new Date().getTime();var q=function de(xe){if(document.removeEventListener("mouseup",de),y.focused){var ye=Math.abs(xe.clientX-y.mouseDownX),je=Math.abs(xe.clientY-y.mouseDownY),He=Math.max(ye,je),Qe=new Date().getTime()-y.mouseDownTime;(He<=10&&Qe<=200||He<=5&&Qe<=300)&&y.setCursorToEnd()}};document.addEventListener("mouseup",q)}pe(y.props.onMouseDown)&&y.props.onMouseDown(fe)},y.onPaste=function(fe){pe(y.props.onPaste)&&y.props.onPaste(fe),fe.defaultPrevented||(y.beforePasteState={value:y.getInputValue(),selection:y.getSelection()},y.setInputValue(""))},y.handleRef=function(fe){y.props.children==null&&pe(y.props.inputRef)&&y.props.inputRef(fe)};var k=R.mask,ee=R.maskChar,oe=R.formatChars,Z=R.alwaysShowMask,J=R.beforeMaskedValueChange,re=R.defaultValue,ie=R.value;y.maskOptions=I(k,ee,oe),re==null&&(re=""),ie==null&&(ie=re);var ue=Ae(ie);if(y.maskOptions.mask&&(Z||ue)&&(ue=$(y.maskOptions,ue),pe(J))){var K=R.value;R.value==null&&(K=re),ue=J({value:ue,selection:null},{value:K=Ae(K),selection:null},null,y.getBeforeMaskedValueChangeConfig()).value}return y.value=ue,y}a(T,O);var V=T.prototype;return V.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=Ge(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},V.componentDidUpdate=function(){var R=this.previousSelection,y=this.props,k=y.beforeMaskedValueChange,ee=y.alwaysShowMask,oe=y.mask,Z=y.maskChar,J=y.formatChars,re=this.maskOptions,ie=ee||this.isFocused(),ue=this.props.value!=null,K=ue?Ae(this.props.value):this.value,fe=R?R.start:null;if(this.maskOptions=I(oe,Z,J),this.maskOptions.mask){!re.mask&&this.isFocused()&&this.runSaveSelectionLoop();var q=this.maskOptions.mask&&this.maskOptions.mask!==re.mask;if(re.mask||ue||(K=this.getInputValue()),(q||this.maskOptions.mask&&(K||ie))&&(K=$(this.maskOptions,K)),q){var de=F(this.maskOptions,K);(fe===null||de<fe)&&(fe=M(this.maskOptions,K)?de:se(this.maskOptions,de))}!this.maskOptions.mask||!_(this.maskOptions,K)||ie||ue&&this.props.value||(K="");var xe={start:fe,end:fe};if(pe(k)){var ye=k({value:K,selection:xe},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());K=ye.value,xe=ye.selection}this.value=K;var je=this.getInputValue()!==this.value;je?(this.setInputValue(this.value),this.forceUpdate()):q&&this.forceUpdate();var He=!1;xe.start!=null&&xe.end!=null&&(He=!R||R.start!==xe.start||R.end!==xe.end),(He||je)&&this.setSelection(xe.start,xe.end)}else re.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},V.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&Ve(this.selectionDeferId),this.stopSaveSelectionLoop()},V.render=function(){var R,y=this.props,k=(y.mask,y.alwaysShowMask,y.maskChar,y.formatChars,y.inputRef,y.beforeMaskedValueChange,y.children),ee=l(y,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(k){pe(k)||f(!1);var oe=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],Z=i({},ee);oe.forEach(function(re){return delete Z[re]}),R=k(Z),oe.filter(function(re){return R.props[re]!=null&&R.props[re]!==ee[re]}).length&&f(!1)}else R=t.createElement("input",i({ref:this.handleRef},ee));var J={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(ee.disabled||ee.readOnly||(J.onChange=this.onChange,J.onPaste=this.onPaste,J.onMouseDown=this.onMouseDown),ee.value!=null&&(J.value=this.value)),R=t.cloneElement(R,J)},T}(t.Component);return Id=ze,Id}var Ed,zv;function _j(){if(zv)return Ed;zv=1;var e=function(t,n,r,i,a,l,u,c){if(process.env.NODE_ENV!=="production"&&n===void 0)throw new Error("invariant requires an error message argument");if(!t){var f;if(n===void 0)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[r,i,a,l,u,c],p=0;f=new Error(n.replace(/%s/g,function(){return h[p++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}};return Ed=e,Ed}var Ad,Zv;function Pj(){if(Zv)return Ad;Zv=1;var e=process.env.NODE_ENV!=="production",t=function(){};if(e){var n=function(i,a){var l=arguments.length;a=new Array(l>1?l-1:0);for(var u=1;u<l;u++)a[u-1]=arguments[u];var c=0,f="Warning: "+i.replace(/%s/g,function(){return a[c++]});typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}};t=function(r,i,a){var l=arguments.length;a=new Array(l>2?l-2:0);for(var u=2;u<l;u++)a[u-2]=arguments[u];if(i===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");r||n.apply(null,[i].concat(a))}}return Ad=t,Ad}var _d,Uv;function Tj(){if(Uv)return _d;Uv=1;function e(O){return O&&typeof O=="object"&&"default"in O?O.default:O}var t=e(b),n=Uu,r=e(_j()),i=e(Pj());function a(O,T){for(var V=Object.getOwnPropertyNames(T),R=0;R<V.length;R++){var y=V[R],k=Object.getOwnPropertyDescriptor(T,y);k&&k.configurable&&O[y]===void 0&&Object.defineProperty(O,y,k)}return O}function l(){return l=Object.assign||function(O){for(var T=1;T<arguments.length;T++){var V=arguments[T];for(var R in V)Object.prototype.hasOwnProperty.call(V,R)&&(O[R]=V[R])}return O},l.apply(this,arguments)}function u(O,T){O.prototype=Object.create(T.prototype),O.prototype.constructor=O,a(O,T)}function c(O,T){if(O==null)return{};var V={},R=Object.keys(O),y,k;for(k=0;k<R.length;k++)y=R[k],!(T.indexOf(y)>=0)&&(V[y]=O[y]);return V}function f(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function h(O,T,V){if("selectionStart"in O&&"selectionEnd"in O)O.selectionStart=T,O.selectionEnd=V;else{var R=O.createTextRange();R.collapse(!0),R.moveStart("character",T),R.moveEnd("character",V-T),R.select()}}function p(O){var T=0,V=0;if("selectionStart"in O&&"selectionEnd"in O)T=O.selectionStart,V=O.selectionEnd;else{var R=document.selection.createRange();R.parentElement()===O&&(T=-R.moveStart("character",-O.value.length),V=-R.moveEnd("character",-O.value.length))}return{start:T,end:V,length:V-T}}var m={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},v="_";function I(O,T,V){var R="",y="",k=null,ee=[];if(T===void 0&&(T=v),V==null&&(V=m),!O||typeof O!="string")return{maskChar:T,formatChars:V,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var oe=!1;return O.split("").forEach(function(Z){!oe&&Z==="\\"?oe=!0:(oe||!V[Z]?(ee.push(R.length),R.length===ee.length-1&&(y+=Z)):k=R.length+1,R+=Z,oe=!1)}),{maskChar:T,formatChars:V,prefix:y,mask:R,lastEditablePosition:k,permanents:ee}}function x(O,T){return O.permanents.indexOf(T)!==-1}function E(O,T,V){var R=O.mask,y=O.formatChars;if(!V)return!1;if(x(O,T))return R[T]===V;var k=R[T],ee=y[k];return new RegExp(ee).test(V)}function _(O,T){return T.split("").every(function(V,R){return x(O,R)||!E(O,R,V)})}function F(O,T){var V=O.maskChar,R=O.prefix;if(!V){for(;T.length>R.length&&x(O,T.length-1);)T=T.slice(0,T.length-1);return T.length}for(var y=R.length,k=T.length;k>=R.length;k--){var ee=T[k],oe=!x(O,k)&&E(O,k,ee);if(oe){y=k+1;break}}return y}function M(O,T){return F(O,T)===O.mask.length}function $(O,T){var V=O.maskChar,R=O.mask,y=O.prefix;if(!V){for(T=H(O,"",T,0),T.length<y.length&&(T=y);T.length<R.length&&x(O,T.length);)T+=R[T.length];return T}if(T){var k=$(O,"");return H(O,k,T,0)}for(var ee=0;ee<R.length;ee++)x(O,ee)?T+=R[ee]:T+=V;return T}function D(O,T,V,R){var y=V+R,k=O.maskChar,ee=O.mask,oe=O.prefix,Z=T.split("");if(!k){for(var J=y;J<Z.length;J++)x(O,J)&&(Z[J]="");return V=Math.max(oe.length,V),Z.splice(V,y-V),T=Z.join(""),$(O,T)}return Z.map(function(re,ie){return ie<V||ie>=y?re:x(O,ie)?ee[ie]:k}).join("")}function H(O,T,V,R){var y=O.mask,k=O.maskChar,ee=O.prefix,oe=V.split(""),Z=M(O,T),J=function(ue,K){return!x(O,ue)||K===y[ue]},re=function(ue,K){return!k||!x(O,K)||ue!==k};return!k&&R>T.length&&(T+=y.slice(T.length,R)),oe.every(function(ie){for(;!J(R,ie);){if(R>=T.length&&(T+=y[R]),!re(ie,R))return!0;if(R++,R>=y.length)return!1}var ue=E(O,R,ie)||ie===k;return ue?(R<T.length?k||Z||R<ee.length?T=T.slice(0,R)+ie+T.slice(R+1):(T=T.slice(0,R)+ie+T.slice(R),T=$(O,T)):k||(T+=ie),R++,R<y.length):!0}),T}function z(O,T,V,R){var y=O.mask,k=O.maskChar,ee=V.split(""),oe=R,Z=function(re,ie){return!x(O,re)||ie===y[re]};return ee.every(function(J){for(;!Z(R,J);)if(R++,R>=y.length)return!1;var re=E(O,R,J)||J===k;return re&&R++,R<y.length}),R-oe}function U(O,T){for(var V=T;V>=0;--V)if(!x(O,V))return V;return null}function se(O,T){for(var V=O.mask,R=T;R<V.length;++R)if(!x(O,R))return R;return null}function Ae(O){return!O&&O!==0?"":O+""}function Xe(O,T,V,R,y){var k=O.mask,ee=O.prefix,oe=O.lastEditablePosition,Z=T,J="",re=0,ie=0,ue=Math.min(y.start,V.start);if(V.end>y.start?(J=Z.slice(y.start,V.end),re=z(O,R,J,ue),re?ie=y.length:ie=0):Z.length<R.length&&(ie=R.length-Z.length),Z=R,ie){if(ie===1&&!y.length){var K=y.start===V.start;ue=K?se(O,V.start):U(O,V.start)}Z=D(O,Z,ue,ie)}return Z=H(O,Z,J,ue),ue=ue+re,ue>=k.length?ue=k.length:ue<ee.length&&!re?ue=ee.length:ue>=ee.length&&ue<oe&&re&&(ue=se(O,ue)),Z=$(O,Z),J||(J=null),{value:Z,enteredString:J,selection:{start:ue,end:ue}}}function Ge(){var O=new RegExp("windows","i"),T=new RegExp("phone","i"),V=navigator.userAgent;return O.test(V)&&T.test(V)}function pe(O){return typeof O=="function"}function Se(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function Te(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function be(O){var T=!!Te(),V;return T?V=Se():V=function(){return setTimeout(O,1e3/60)},V(O)}function Ve(O){var T=Te()||clearTimeout;T(O)}var ze=function(O){u(T,O);function T(R){var y;y=O.call(this,R)||this,y.focused=!1,y.mounted=!1,y.previousSelection=null,y.selectionDeferId=null,y.saveSelectionLoopDeferId=null,y.saveSelectionLoop=function(){y.previousSelection=y.getSelection(),y.saveSelectionLoopDeferId=be(y.saveSelectionLoop)},y.runSaveSelectionLoop=function(){y.saveSelectionLoopDeferId===null&&y.saveSelectionLoop()},y.stopSaveSelectionLoop=function(){y.saveSelectionLoopDeferId!==null&&(Ve(y.saveSelectionLoopDeferId),y.saveSelectionLoopDeferId=null,y.previousSelection=null)},y.getInputDOMNode=function(){if(!y.mounted)return null;var q=n.findDOMNode(f(f(y))),de=typeof window<"u"&&q instanceof window.Element;if(q&&!de)return null;if(q.nodeName!=="INPUT"&&(q=q.querySelector("input")),!q)throw new Error("react-input-mask: inputComponent doesn't contain input node");return q},y.getInputValue=function(){var q=y.getInputDOMNode();return q?q.value:null},y.setInputValue=function(q){var de=y.getInputDOMNode();de&&(y.value=q,de.value=q)},y.setCursorToEnd=function(){var q=F(y.maskOptions,y.value),de=se(y.maskOptions,q);de!==null&&y.setCursorPosition(de)},y.setSelection=function(q,de,xe){xe===void 0&&(xe={});var ye=y.getInputDOMNode(),je=y.isFocused();if(!(!ye||!je)){var He=xe,Qe=He.deferred;Qe||h(ye,q,de),y.selectionDeferId!==null&&Ve(y.selectionDeferId),y.selectionDeferId=be(function(){y.selectionDeferId=null,h(ye,q,de)}),y.previousSelection={start:q,end:de,length:Math.abs(de-q)}}},y.getSelection=function(){var q=y.getInputDOMNode();return p(q)},y.getCursorPosition=function(){return y.getSelection().start},y.setCursorPosition=function(q){y.setSelection(q,q)},y.isFocused=function(){return y.focused},y.getBeforeMaskedValueChangeConfig=function(){var q=y.maskOptions,de=q.mask,xe=q.maskChar,ye=q.permanents,je=q.formatChars,He=y.props.alwaysShowMask;return{mask:de,maskChar:xe,permanents:ye,alwaysShowMask:!!He,formatChars:je}},y.isInputAutofilled=function(q,de,xe,ye){var je=y.getInputDOMNode();try{if(je.matches(":-webkit-autofill"))return!0}catch{}return y.focused?ye.end<xe.length&&de.end===q.length:!0},y.onChange=function(q){var de=f(f(y)),xe=de.beforePasteState,ye=f(f(y)),je=ye.previousSelection,He=y.props.beforeMaskedValueChange,Qe=y.getInputValue(),at=y.value,lt=y.getSelection();y.isInputAutofilled(Qe,lt,at,je)&&(at=$(y.maskOptions,""),je={start:0,end:0,length:0}),xe&&(je=xe.selection,at=xe.value,lt={start:je.start+Qe.length,end:je.start+Qe.length,length:0},Qe=at.slice(0,je.start)+Qe+at.slice(je.end),y.beforePasteState=null);var Et=Xe(y.maskOptions,Qe,lt,at,je),Jt=Et.enteredString,Vt=Et.selection,Hn=Et.value;if(pe(He)){var un=He({value:Hn,selection:Vt},{value:at,selection:je},Jt,y.getBeforeMaskedValueChangeConfig());Hn=un.value,Vt=un.selection}y.setInputValue(Hn),pe(y.props.onChange)&&y.props.onChange(q),y.isWindowsPhoneBrowser?y.setSelection(Vt.start,Vt.end,{deferred:!0}):y.setSelection(Vt.start,Vt.end)},y.onFocus=function(q){var de=y.props.beforeMaskedValueChange,xe=y.maskOptions,ye=xe.mask,je=xe.prefix;if(y.focused=!0,y.mounted=!0,ye){if(y.value)F(y.maskOptions,y.value)<y.maskOptions.mask.length&&y.setCursorToEnd();else{var He=$(y.maskOptions,je),Qe=$(y.maskOptions,He),at=F(y.maskOptions,Qe),lt=se(y.maskOptions,at),Et={start:lt,end:lt};if(pe(de)){var Jt=de({value:Qe,selection:Et},{value:y.value,selection:null},null,y.getBeforeMaskedValueChangeConfig());Qe=Jt.value,Et=Jt.selection}var Vt=Qe!==y.getInputValue();Vt&&y.setInputValue(Qe),Vt&&pe(y.props.onChange)&&y.props.onChange(q),y.setSelection(Et.start,Et.end)}y.runSaveSelectionLoop()}pe(y.props.onFocus)&&y.props.onFocus(q)},y.onBlur=function(q){var de=y.props.beforeMaskedValueChange,xe=y.maskOptions.mask;if(y.stopSaveSelectionLoop(),y.focused=!1,xe&&!y.props.alwaysShowMask&&_(y.maskOptions,y.value)){var ye="";if(pe(de)){var je=de({value:ye,selection:null},{value:y.value,selection:y.previousSelection},null,y.getBeforeMaskedValueChangeConfig());ye=je.value}var He=ye!==y.getInputValue();He&&y.setInputValue(ye),He&&pe(y.props.onChange)&&y.props.onChange(q)}pe(y.props.onBlur)&&y.props.onBlur(q)},y.onMouseDown=function(q){if(!y.focused&&document.addEventListener){y.mouseDownX=q.clientX,y.mouseDownY=q.clientY,y.mouseDownTime=new Date().getTime();var de=function xe(ye){if(document.removeEventListener("mouseup",xe),!!y.focused){var je=Math.abs(ye.clientX-y.mouseDownX),He=Math.abs(ye.clientY-y.mouseDownY),Qe=Math.max(je,He),at=new Date().getTime()-y.mouseDownTime;(Qe<=10&&at<=200||Qe<=5&&at<=300)&&y.setCursorToEnd()}};document.addEventListener("mouseup",de)}pe(y.props.onMouseDown)&&y.props.onMouseDown(q)},y.onPaste=function(q){pe(y.props.onPaste)&&y.props.onPaste(q),q.defaultPrevented||(y.beforePasteState={value:y.getInputValue(),selection:y.getSelection()},y.setInputValue(""))},y.handleRef=function(q){y.props.children==null&&pe(y.props.inputRef)&&y.props.inputRef(q)};var k=R.mask,ee=R.maskChar,oe=R.formatChars,Z=R.alwaysShowMask,J=R.beforeMaskedValueChange,re=R.defaultValue,ie=R.value;y.maskOptions=I(k,ee,oe),re==null&&(re=""),ie==null&&(ie=re);var ue=Ae(ie);if(y.maskOptions.mask&&(Z||ue)&&(ue=$(y.maskOptions,ue),pe(J))){var K=R.value;R.value==null&&(K=re),K=Ae(K);var fe=J({value:ue,selection:null},{value:K,selection:null},null,y.getBeforeMaskedValueChangeConfig());ue=fe.value}return y.value=ue,y}var V=T.prototype;return V.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=Ge(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},V.componentDidUpdate=function(){var y=this.previousSelection,k=this.props,ee=k.beforeMaskedValueChange,oe=k.alwaysShowMask,Z=k.mask,J=k.maskChar,re=k.formatChars,ie=this.maskOptions,ue=oe||this.isFocused(),K=this.props.value!=null,fe=K?Ae(this.props.value):this.value,q=y?y.start:null;if(this.maskOptions=I(Z,J,re),this.maskOptions.mask)!ie.mask&&this.isFocused()&&this.runSaveSelectionLoop();else{ie.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate());return}var de=this.maskOptions.mask&&this.maskOptions.mask!==ie.mask;if(!ie.mask&&!K&&(fe=this.getInputValue()),(de||this.maskOptions.mask&&(fe||ue))&&(fe=$(this.maskOptions,fe)),de){var xe=F(this.maskOptions,fe);(q===null||xe<q)&&(M(this.maskOptions,fe)?q=xe:q=se(this.maskOptions,xe))}this.maskOptions.mask&&_(this.maskOptions,fe)&&!ue&&(!K||!this.props.value)&&(fe="");var ye={start:q,end:q};if(pe(ee)){var je=ee({value:fe,selection:ye},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());fe=je.value,ye=je.selection}this.value=fe;var He=this.getInputValue()!==this.value;He?(this.setInputValue(this.value),this.forceUpdate()):de&&this.forceUpdate();var Qe=!1;ye.start!=null&&ye.end!=null&&(Qe=!y||y.start!==ye.start||y.end!==ye.end),(Qe||He)&&this.setSelection(ye.start,ye.end)},V.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&Ve(this.selectionDeferId),this.stopSaveSelectionLoop()},V.render=function(){var y=this.props,k=y.mask;y.alwaysShowMask;var ee=y.maskChar,oe=y.formatChars,Z=y.inputRef;y.beforeMaskedValueChange;var J=y.children,re=c(y,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]),ie;if(process.env.NODE_ENV!=="production"&&i(!re.maxLength||!I(k,ee,oe).mask,"react-input-mask: maxLength property shouldn't be passed to the masked input. It breaks masking and unnecessary because length is limited by the mask length."),J){pe(J)||(process.env.NODE_ENV!=="production"?r(!1,"react-input-mask: children must be a function"):r(!1));var ue=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],K=l({},re);ue.forEach(function(de){return delete K[de]}),ie=J(K);var fe=ue.filter(function(de){return ie.props[de]!=null&&ie.props[de]!==re[de]});fe.length&&(process.env.NODE_ENV!=="production"?r(!1,"react-input-mask: the following props should be passed to the react-input-mask's component and should not be altered in children's function: "+fe.join(", ")):r(!1)),process.env.NODE_ENV!=="production"&&i(!Z,"react-input-mask: inputRef is ignored when children is passed, attach ref to the children instead")}else ie=t.createElement("input",l({ref:this.handleRef},re));var q={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(!re.disabled&&!re.readOnly&&(q.onChange=this.onChange,q.onPaste=this.onPaste,q.onMouseDown=this.onMouseDown),re.value!=null&&(q.value=this.value)),ie=t.cloneElement(ie,q),ie},T}(t.Component);return _d=ze,_d}process.env.NODE_ENV==="production"?Sd.exports=Aj():Sd.exports=Tj();var Mj=Sd.exports;const Oj=Yu(Mj),$a=({children:e,...t})=>w.jsx("span",{className:"block min-h-full pt-1 text-xs font-semibold text-left text-primary-500 dark:text-white",...t,children:e}),Da=({className:e,children:t,disabled:n=!1,focused:r=!1,error:i,...a})=>w.jsx("label",{className:Ke("absolute origin-top-left bottom-1 left-2 text-sm","peer-focus:text-brand-primary","transition hover:transition","pointer-events-none",{"text-gray-500":!i&&!n&&!r,"text-brand-danger":i,"text-brand-secondary-text":n,"text-brand-primary":r},e),...a,children:t}),El=({error:e,disabled:t,children:n})=>w.jsx("div",{className:Ke("border-brand-gray bg-brand-light-gray dark:bg-brand-dark-gray-dark focus-within:border-brand-secondary","relative h-[36px]","transition focus-within:transition","shadow-input focus-within:shadow-input-focus",{"bg-red-50 shadow-input-error focus-within:shadow-input-error":e,"border-gray-300 bg-[#cbcbcb] dark:bg-brand-text focus-within:border-brand cursor-not-allowed children:cursor-not-allowed":t}),children:n});function Fj({type:e,onTypeChange:t}){return w.jsxs("span",{className:"absolute transition-all right-2 top-2/4 -translate-y-2/4 group",onClick:()=>{t(e==="password"?"text":"password")},children:[w.jsx(ly,{className:"text-brand-dark-gray group-hover:text-brand"}),e==="text"&&w.jsx("span",{className:"absolute top-2/4 right-2/4 -translate-y-2/4 translate-x-2/4 w-[2.25px] h-[22px] rotate-45 bg-brand-dark-gray group-hover:bg-brand"})]})}const Yv=({className:e,error:t,helper:n,label:r,mask:i,name:a,type:l,value:u,onChange:c,onBlur:f,disabled:h=!1,...p})=>{const m=Ke("peer","block w-full text-sm border-none appearance-none focus:outline-none focus:ring-0","absolute bottom-0","bg-transparent text-brand-secondary-text pb-0 px-2",e),[v,I]=b.useState(l);function x(E){I(E)}return w.jsxs("div",{children:[w.jsxs(El,{disabled:h,error:t,children:[l==="color"?w.jsx(Lv,{color:u,disabled:h,onChange:c}):i?w.jsx(Oj,{disabled:h,autoComplete:"off",type:"text",name:a,mask:i,value:u,onChange:c,onBlur:f,placeholder:" ",className:`${m}`}):w.jsxs(w.Fragment,{children:[w.jsx("input",{disabled:h,autoComplete:"off",type:v,name:a,value:u,onChange:c,onBlur:f,placeholder:" ",className:`${m}`,...p}),l==="password"&&w.jsx(Fj,{type:v,onTypeChange:x})]}),w.jsx(Da,{htmlFor:a,disabled:h,error:t,children:r})]}),n?w.jsx($a,{children:n}):null,t?w.jsx(Ba,{children:t}):null]})},Rj=({name:e,helper:t,onChange:n,onBlur:r,...i})=>{const[a,{error:l},{setValue:u,setTouched:c}]=Ij(e),f=p=>{const m=i.type==="color"?p:p.target.value;u(m),n&&n(m)},h=()=>{c(!0),r&&r()};return w.jsx(w.Fragment,{children:w.jsx(Yv,{error:l,name:a.name,value:a.value,onChange:f,onBlur:h,helper:t,...i})})},Vj=({children:e,...t})=>w.jsx("h1",{className:"mb-4 text-2xl font-bold text-left text-brand-primary",...t,children:e}),Bj=({role:e,content:t,timestamp:n})=>{const r=e==="user";return w.jsx("div",{className:`flex ${r?"justify-end":"justify-start"} mb-4 animate-fadeIn`,children:w.jsxs("div",{className:`max-w-[80%] rounded-lg px-4 py-2 ${r?"bg-brand-secondary text-white rounded-br-none":"bg-gray-200 text-gray-800 rounded-bl-none"}`,children:[w.jsx("div",{className:"text-sm break-words whitespace-pre-wrap",children:t}),w.jsx("div",{className:`text-xs mt-1 ${r?"text-blue-100":"text-gray-500"}`,children:n.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"})})]})})},$j=({t:e,sendMessage:t,cornerHxpert:n="bottomRight"})=>{const[r,i]=b.useState(!1),[a,l]=b.useState([]),[u,c]=b.useState(""),[f,h]=b.useState(!1),p=b.useRef(null),m=b.useRef(null),v=()=>{!r||f||requestAnimationFrame(()=>{var M;(M=m.current)==null||M.focus()})},I=()=>{var M;(M=p.current)==null||M.scrollIntoView({behavior:"smooth"})},x=()=>{i(!r)},E=async()=>{if(!u.trim()||f)return;const M={id:Date.now().toString(),role:"user",content:u.trim(),timestamp:new Date},$=u.trim();l(D=>[...D,M]),c(""),h(!0);try{const D=await t($),H={id:(Date.now()+1).toString(),role:"assistant",content:D.message,timestamp:D.timestamp};l(z=>[...z,H])}catch{const H={id:(Date.now()+1).toString(),role:"assistant",content:e("hxpert-ai:error-message"),timestamp:new Date};l(z=>[...z,H])}finally{h(!1)}},_=M=>{M.key==="Enter"&&!M.shiftKey&&(M.preventDefault(),E())},F=M=>{const $=M.target instanceof Element?M.target:null;if(!$)return;$.closest('button, input, textarea, select, a, [role="button"]')||v()};return b.useEffect(()=>{I()},[a]),b.useEffect(()=>{var M;r&&!f&&((M=m.current)==null||M.focus())},[r,a,f]),w.jsxs(w.Fragment,{children:[w.jsx("button",{onClick:x,className:`z-50 w-14 h-14 rounded-full shadow-lg transition-all duration-300 flex items-center justify-center hover:scale-110 ${r?"bg-red-500 hover:bg-red-600":"bg-gradient-to-r from-brand to-brand-secondary hover:bg-brand-secondary"}`,"aria-label":e(r?"hxpert-ai:close-chat":"hxpert-ai:open-chat"),children:r?w.jsx(Qh,{className:"w-4 h-4 text-white"}):w.jsx("svg",{className:"w-6 h-6 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"})})}),w.jsxs("div",{onMouseDownCapture:F,className:Ke("fixed z-40 w-96 bg-white rounded-lg shadow-2xl transition-all duration-300 transform",{"opacity-100 translate-y-0 scale-100":r,"opacity-0 translate-y-4 scale-95 pointer-events-none":!r,"bottom-20 right-2":n==="bottomRight","bottom-20 left-2":n==="bottomLeft","top-20 right-2":n==="topRight","top-20 left-2":n==="topLeft"}),style:{height:"32rem",maxHeight:"calc(100vh - 8rem)"},children:[w.jsxs("div",{className:"bg-gradient-to-r from-brand to-brand-secondary text-white px-4 py-3 rounded-t-lg flex items-center justify-between",children:[w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx("div",{className:"w-3 h-3 bg-green-400 rounded-full animate-pulse"}),w.jsx("h3",{className:"font-semibold",children:e("hxpert-ai:title")})]}),w.jsx("button",{onClick:x,className:"text-white hover:text-gray-200 transition-colors",title:e("hxpert-ai:close-chat"),children:w.jsx(Qh,{className:"w-4 h-4 text-white"})})]}),w.jsx("div",{className:"flex-1 overflow-y-auto p-4 bg-gray-50",style:{height:"calc(100% - 120px)"},children:a.length===0?w.jsx("div",{className:"flex items-center justify-center h-full text-gray-400 text-center",children:w.jsxs("div",{children:[w.jsx("svg",{className:"w-16 h-16 mx-auto mb-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})}),w.jsx("p",{children:e("hxpert-ai:welcome-message")})]})}):w.jsxs(w.Fragment,{children:[a.map(M=>w.jsx(Bj,{role:M.role,content:M.content,timestamp:M.timestamp},M.id)),f&&w.jsx("div",{className:"flex justify-start mb-4",children:w.jsx("div",{className:"bg-gray-200 rounded-lg px-4 py-2 rounded-bl-none",children:w.jsxs("div",{className:"flex gap-1",children:[w.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce"}),w.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),w.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})}),w.jsx("div",{ref:p})]})}),w.jsx("div",{className:"border-t border-gray-200 p-4 bg-white rounded-b-lg",children:w.jsxs("div",{className:"flex gap-2",children:[w.jsx("input",{ref:m,type:"text",value:u,onChange:M=>c(M.target.value),onMouseDown:v,onKeyPress:_,placeholder:e("hxpert-ai:input-placeholder"),disabled:f,className:"flex-1 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-brand disabled:bg-gray-100 disabled:cursor-not-allowed"}),w.jsx("button",{onClick:E,disabled:f||!u.trim(),className:"px-4 py-2 bg-brand text-white rounded-lg hover:bg-brand-secondary transition-colors disabled:bg-gray-300 disabled:cursor-not-allowed","aria-label":e("hxpert-ai:send-message"),children:w.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 19l9 2-9-18-9 18 9-2zm0 0v-8"})})})]})})]})]})};function Jv({system:e,classname:t}){switch(e){case"Agendamento":return w.jsx(my,{className:t});case"Armazém":return w.jsx(sy,{className:t});case"Autenticação":return w.jsx(Q4,{className:t});case"Cargo Control":return w.jsx(Sy,{className:t});case"Coletor":return w.jsx(o0,{className:t});case"CY":return w.jsx(Ty,{className:"w-8 h-8"});case"CY Budget":return w.jsx(Oy,{className:"w-6 h-6"});case"CY Coletor":return w.jsx(o0,{className:t});case"CY Integrações":return w.jsx(a0,{className:t});case"Eagle":return w.jsx(py,{className:t});case"Equipamentos":return w.jsx(hy,{className:t});case"Granéis - Dashboard":return w.jsx(wy,{className:t});case"Granéis - Embarque Desembarque":return w.jsx(dy,{className:t});case"Granéis - Fiscal":return w.jsx(xy,{className:t});case"Granéis - Recepção":return w.jsx(cy,{className:t});case"Hatchlist":return w.jsx(U4,{className:t});case"Hubspot":return w.jsx(Ey,{className:t});case"HX Support":return w.jsx(Py,{className:t});case"Inovação":return w.jsx(My,{className:"w-6 h-6"});case"Integrações":return w.jsx(a0,{className:t});case"Planejador":return w.jsx(Cy,{className:t});case"Portal ADE":return w.jsx(Iy,{className:t});case"Vessel Productivity Report":return w.jsx(vy,{className:"w-6 h-6"});case"Warehouse Map":return w.jsx(ay,{className:t});default:return w.jsx("span",{children:"?"})}}function Dj({dismiss:e,message:t}){return w.jsxs("div",{className:"relative z-20 flex items-center p-4 text-sm border-l-4 border-blue-400 shadow-lg w-80 bg-blue-50",children:[w.jsx("button",{type:"button",className:"absolute top-0 right-0 w-4 m-3 text-blue-400",onClick:e,children:w.jsx(Cs,{className:"w-4 h-4"})}),w.jsx("div",{className:"flex-shrink-0 w-5 h-5 mr-2 text-blue-500",children:w.jsx(Ay,{})}),w.jsx("p",{className:"text-sm capitalize",children:t})]})}function xi(e){"@babel/helpers - typeof";return xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xi(e)}function Lj(e,t){if(xi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xi(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Kv(e){var t=Lj(e,"string");return xi(t)=="symbol"?t:t+""}function La(e,t,n){return(t=Kv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qv(Object(n),!0).forEach(function(r){La(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qv(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nj(e){if(Array.isArray(e))return e}function jj(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,l,u=[],c=!0,f=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw i}}return u}}function Pd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Qv(e,t){if(e){if(typeof e=="string")return Pd(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pd(e,t):void 0}}function kj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
117
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mr(e,t){return Nj(e)||jj(e,t)||Qv(e,t)||kj()}function Gj(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function vr(e,t){if(e==null)return{};var n,r,i=Gj(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Hj=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Wj(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,l=a===void 0?null:a,u=e.inputValue,c=e.menuIsOpen,f=e.onChange,h=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,v=e.value,I=vr(e,Hj),x=b.useState(u!==void 0?u:n),E=mr(x,2),_=E[0],F=E[1],M=b.useState(c!==void 0?c:i),$=mr(M,2),D=$[0],H=$[1],z=b.useState(v!==void 0?v:l),U=mr(z,2),se=U[0],Ae=U[1],Xe=b.useCallback(function(ze,O){typeof f=="function"&&f(ze,O),Ae(ze)},[f]),Ge=b.useCallback(function(ze,O){var T;typeof h=="function"&&(T=h(ze,O)),F(T!==void 0?T:ze)},[h]),pe=b.useCallback(function(){typeof m=="function"&&m(),H(!0)},[m]),Se=b.useCallback(function(){typeof p=="function"&&p(),H(!1)},[p]),Te=u!==void 0?u:_,be=c!==void 0?c:D,Ve=v!==void 0?v:se;return Oe(Oe({},I),{},{inputValue:Te,menuIsOpen:be,onChange:Xe,onInputChange:Ge,onMenuClose:Se,onMenuOpen:pe,value:Ve})}function $e(){return $e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$e.apply(null,arguments)}function Xj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Kv(r.key),r)}}function zj(e,t,n){return t&&eb(e.prototype,t),n&&eb(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Td(e,t){return Td=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Td(e,t)}function Zj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Td(e,t)}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Al(e)}function tb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(tb=function(){return!!e})()}function Uj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yj(e,t){if(t&&(xi(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Uj(e)}function Jj(e){var t=tb();return function(){var n,r=Al(e);if(t){var i=Al(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Yj(this,n)}}function Kj(e){if(Array.isArray(e))return Pd(e)}function qj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
118
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Md(e){return Kj(e)||qj(e)||Qv(e)||Qj()}function ek(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function tk(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var nk=function(){function e(n){var r=this;this._insertTag=function(i){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,a),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(tk(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=ek(i);try{a.insertRule(r,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Ut="-ms-",_l="-moz-",ut="-webkit-",nb="comm",Od="rule",Fd="decl",rk="@import",rb="@keyframes",ik="@layer",ok=Math.abs,Pl=String.fromCharCode,ak=Object.assign;function sk(e,t){return Ht(e,0)^45?(((t<<2^Ht(e,0))<<2^Ht(e,1))<<2^Ht(e,2))<<2^Ht(e,3):0}function ib(e){return e.trim()}function lk(e,t){return(e=t.exec(e))?e[0]:e}function ct(e,t,n){return e.replace(t,n)}function Rd(e,t){return e.indexOf(t)}function Ht(e,t){return e.charCodeAt(t)|0}function Na(e,t,n){return e.slice(t,n)}function Kn(e){return e.length}function Vd(e){return e.length}function Tl(e,t){return t.push(e),e}function uk(e,t){return e.map(t).join("")}var Ml=1,Ao=1,ob=0,ln=0,Lt=0,_o="";function Ol(e,t,n,r,i,a,l){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Ml,column:Ao,length:l,return:""}}function ja(e,t){return ak(Ol("",null,null,"",null,null,0),e,{length:-e.length},t)}function ck(){return Lt}function fk(){return Lt=ln>0?Ht(_o,--ln):0,Ao--,Lt===10&&(Ao=1,Ml--),Lt}function vn(){return Lt=ln<ob?Ht(_o,ln++):0,Ao++,Lt===10&&(Ao=1,Ml++),Lt}function qn(){return Ht(_o,ln)}function Fl(){return ln}function ka(e,t){return Na(_o,e,t)}function Ga(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ab(e){return Ml=Ao=1,ob=Kn(_o=e),ln=0,[]}function sb(e){return _o="",e}function Rl(e){return ib(ka(ln-1,Bd(e===91?e+2:e===40?e+1:e)))}function dk(e){for(;(Lt=qn())&&Lt<33;)vn();return Ga(e)>2||Ga(Lt)>3?"":" "}function hk(e,t){for(;--t&&vn()&&!(Lt<48||Lt>102||Lt>57&&Lt<65||Lt>70&&Lt<97););return ka(e,Fl()+(t<6&&qn()==32&&vn()==32))}function Bd(e){for(;vn();)switch(Lt){case e:return ln;case 34:case 39:e!==34&&e!==39&&Bd(Lt);break;case 40:e===41&&Bd(e);break;case 92:vn();break}return ln}function pk(e,t){for(;vn()&&e+Lt!==57;)if(e+Lt===84&&qn()===47)break;return"/*"+ka(t,ln-1)+"*"+Pl(e===47?e:vn())}function gk(e){for(;!Ga(qn());)vn();return ka(e,ln)}function mk(e){return sb(Vl("",null,null,null,[""],e=ab(e),0,[0],e))}function Vl(e,t,n,r,i,a,l,u,c){for(var f=0,h=0,p=l,m=0,v=0,I=0,x=1,E=1,_=1,F=0,M="",$=i,D=a,H=r,z=M;E;)switch(I=F,F=vn()){case 40:if(I!=108&&Ht(z,p-1)==58){Rd(z+=ct(Rl(F),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:z+=Rl(F);break;case 9:case 10:case 13:case 32:z+=dk(I);break;case 92:z+=hk(Fl()-1,7);continue;case 47:switch(qn()){case 42:case 47:Tl(vk(pk(vn(),Fl()),t,n),c);break;default:z+="/"}break;case 123*x:u[f++]=Kn(z)*_;case 125*x:case 59:case 0:switch(F){case 0:case 125:E=0;case 59+h:_==-1&&(z=ct(z,/\f/g,"")),v>0&&Kn(z)-p&&Tl(v>32?ub(z+";",r,n,p-1):ub(ct(z," ","")+";",r,n,p-2),c);break;case 59:z+=";";default:if(Tl(H=lb(z,t,n,f,h,i,u,M,$=[],D=[],p),a),F===123)if(h===0)Vl(z,t,H,H,$,a,p,u,D);else switch(m===99&&Ht(z,3)===110?100:m){case 100:case 108:case 109:case 115:Vl(e,H,H,r&&Tl(lb(e,H,H,0,0,i,u,M,i,$=[],p),D),i,D,p,u,r?$:D);break;default:Vl(z,H,H,H,[""],D,0,u,D)}}f=h=v=0,x=_=1,M=z="",p=l;break;case 58:p=1+Kn(z),v=I;default:if(x<1){if(F==123)--x;else if(F==125&&x++==0&&fk()==125)continue}switch(z+=Pl(F),F*x){case 38:_=h>0?1:(z+="\f",-1);break;case 44:u[f++]=(Kn(z)-1)*_,_=1;break;case 64:qn()===45&&(z+=Rl(vn())),m=qn(),h=p=Kn(M=z+=gk(Fl())),F++;break;case 45:I===45&&Kn(z)==2&&(x=0)}}return a}function lb(e,t,n,r,i,a,l,u,c,f,h){for(var p=i-1,m=i===0?a:[""],v=Vd(m),I=0,x=0,E=0;I<r;++I)for(var _=0,F=Na(e,p+1,p=ok(x=l[I])),M=e;_<v;++_)(M=ib(x>0?m[_]+" "+F:ct(F,/&\f/g,m[_])))&&(c[E++]=M);return Ol(e,t,n,i===0?Od:u,c,f,h)}function vk(e,t,n){return Ol(e,t,n,nb,Pl(ck()),Na(e,2,-2),0)}function ub(e,t,n,r){return Ol(e,t,n,Fd,Na(e,0,r),Na(e,r+1,-1),r)}function Po(e,t){for(var n="",r=Vd(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function bk(e,t,n,r){switch(e.type){case ik:if(e.children.length)break;case rk:case Fd:return e.return=e.return||e.value;case nb:return"";case rb:return e.return=e.value+"{"+Po(e.children,r)+"}";case Od:e.value=e.props.join(",")}return Kn(n=Po(e.children,r))?e.return=e.value+"{"+n+"}":""}function yk(e){var t=Vd(e);return function(n,r,i,a){for(var l="",u=0;u<t;u++)l+=e[u](n,r,i,a)||"";return l}}function Ck(e){return function(t){t.root||(t=t.return)&&e(t)}}function xk(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var wk=function(t,n,r){for(var i=0,a=0;i=a,a=qn(),i===38&&a===12&&(n[r]=1),!Ga(a);)vn();return ka(t,ln)},Sk=function(t,n){var r=-1,i=44;do switch(Ga(i)){case 0:i===38&&qn()===12&&(n[r]=1),t[r]+=wk(ln-1,n,r);break;case 2:t[r]+=Rl(i);break;case 4:if(i===44){t[++r]=qn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Pl(i)}while(i=vn());return t},Ik=function(t,n){return sb(Sk(ab(t),n))},cb=new WeakMap,Ek=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!cb.get(r))&&!i){cb.set(t,!0);for(var a=[],l=Ik(n,a),u=r.props,c=0,f=0;c<l.length;c++)for(var h=0;h<u.length;h++,f++)t.props[f]=a[c]?l[c].replace(/&\f/g,u[h]):u[h]+" "+l[c]}}},Ak=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function fb(e,t){switch(sk(e,t)){case 5103:return ut+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ut+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ut+e+_l+e+Ut+e+e;case 6828:case 4268:return ut+e+Ut+e+e;case 6165:return ut+e+Ut+"flex-"+e+e;case 5187:return ut+e+ct(e,/(\w+).+(:[^]+)/,ut+"box-$1$2"+Ut+"flex-$1$2")+e;case 5443:return ut+e+Ut+"flex-item-"+ct(e,/flex-|-self/,"")+e;case 4675:return ut+e+Ut+"flex-line-pack"+ct(e,/align-content|flex-|-self/,"")+e;case 5548:return ut+e+Ut+ct(e,"shrink","negative")+e;case 5292:return ut+e+Ut+ct(e,"basis","preferred-size")+e;case 6060:return ut+"box-"+ct(e,"-grow","")+ut+e+Ut+ct(e,"grow","positive")+e;case 4554:return ut+ct(e,/([^-])(transform)/g,"$1"+ut+"$2")+e;case 6187:return ct(ct(ct(e,/(zoom-|grab)/,ut+"$1"),/(image-set)/,ut+"$1"),e,"")+e;case 5495:case 3959:return ct(e,/(image-set\([^]*)/,ut+"$1$`$1");case 4968:return ct(ct(e,/(.+:)(flex-)?(.*)/,ut+"box-pack:$3"+Ut+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ut+e+e;case 4095:case 3583:case 4068:case 2532:return ct(e,/(.+)-inline(.+)/,ut+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Kn(e)-1-t>6)switch(Ht(e,t+1)){case 109:if(Ht(e,t+4)!==45)break;case 102:return ct(e,/(.+:)(.+)-([^]+)/,"$1"+ut+"$2-$3$1"+_l+(Ht(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rd(e,"stretch")?fb(ct(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ht(e,t+1)!==115)break;case 6444:switch(Ht(e,Kn(e)-3-(~Rd(e,"!important")&&10))){case 107:return ct(e,":",":"+ut)+e;case 101:return ct(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ut+(Ht(e,14)===45?"inline-":"")+"box$3$1"+ut+"$2$3$1"+Ut+"$2box$3")+e}break;case 5936:switch(Ht(e,t+11)){case 114:return ut+e+Ut+ct(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ut+e+Ut+ct(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ut+e+Ut+ct(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ut+e+Ut+e+e}return e}var _k=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Fd:t.return=fb(t.value,t.length);break;case rb:return Po([ja(t,{value:ct(t.value,"@","@"+ut)})],i);case Od:if(t.length)return uk(t.props,function(a){switch(lk(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Po([ja(t,{props:[ct(a,/:(read-\w+)/,":"+_l+"$1")]})],i);case"::placeholder":return Po([ja(t,{props:[ct(a,/:(plac\w+)/,":"+ut+"input-$1")]}),ja(t,{props:[ct(a,/:(plac\w+)/,":"+_l+"$1")]}),ja(t,{props:[ct(a,/:(plac\w+)/,Ut+"input-$1")]})],i)}return""})}},Pk=[_k],Tk=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var E=x.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var i=t.stylisPlugins||Pk,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var E=x.getAttribute("data-emotion").split(" "),_=1;_<E.length;_++)a[E[_]]=!0;u.push(x)});var c,f=[Ek,Ak];{var h,p=[bk,Ck(function(x){h.insert(x)})],m=yk(f.concat(i,p)),v=function(E){return Po(mk(E),m)};c=function(E,_,F,M){h=F,v(E?E+"{"+_.styles+"}":_.styles),M&&(I.inserted[_.name]=!0)}}var I={key:n,sheet:new nk({key:n,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:c};return I.sheet.hydrate(u),I},Mk=!0;function Ok(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var db=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||Mk===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},Fk=function(t,n,r){db(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function Rk(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Vk={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Bk=/[A-Z]|^ms/g,$k=/_EMO_([^_]+?)_([^]*?)_EMO_/g,hb=function(t){return t.charCodeAt(1)===45},pb=function(t){return t!=null&&typeof t!="boolean"},$d=xk(function(e){return hb(e)?e:e.replace(Bk,"-$&").toLowerCase()}),gb=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace($k,function(r,i,a){return Qn={name:i,styles:a,next:Qn},i})}return Vk[t]!==1&&!hb(t)&&typeof n=="number"&&n!==0?n+"px":n};function Ha(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Qn={name:i.name,styles:i.styles,next:Qn},i.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)Qn={name:l.name,styles:l.styles,next:Qn},l=l.next;var u=a.styles+";";return u}return Dk(e,t,n)}case"function":{if(e!==void 0){var c=Qn,f=n(e);return Qn=c,Ha(e,t,f)}break}}var h=n;return h}function Dk(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ha(e,t,n[i])+";";else for(var a in n){var l=n[a];if(typeof l!="object"){var u=l;pb(u)&&(r+=$d(a)+":"+gb(a,u)+";")}else if(Array.isArray(l)&&typeof l[0]=="string"&&t==null)for(var c=0;c<l.length;c++)pb(l[c])&&(r+=$d(a)+":"+gb(a,l[c])+";");else{var f=Ha(e,t,l);switch(a){case"animation":case"animationName":{r+=$d(a)+":"+f+";";break}default:r+=a+"{"+f+"}"}}}return r}var mb=/label:\s*([^\s;{]+)\s*(;|$)/g,Qn;function vb(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";Qn=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=Ha(n,t,a);else{var l=a;i+=l[0]}for(var u=1;u<e.length;u++)if(i+=Ha(n,t,e[u]),r){var c=a;i+=c[u]}mb.lastIndex=0;for(var f="",h;(h=mb.exec(i))!==null;)f+="-"+h[1];var p=Rk(i)+f;return{name:p,styles:i,next:Qn}}var Lk=function(t){return t()},Nk=ae.useInsertionEffect?ae.useInsertionEffect:!1,jk=Nk||Lk,bb=ae.createContext(typeof HTMLElement<"u"?Tk({key:"css"}):null);bb.Provider;var kk=function(t){return b.forwardRef(function(n,r){var i=b.useContext(bb);return t(n,i,r)})},Gk=ae.createContext({}),Dd={}.hasOwnProperty,Ld="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Hk=function(t,n){var r={};for(var i in n)Dd.call(n,i)&&(r[i]=n[i]);return r[Ld]=t,r},Wk=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return db(n,r,i),jk(function(){return Fk(n,r,i)}),null},Xk=kk(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Ld],a=[r],l="";typeof e.className=="string"?l=Ok(t.registered,a,e.className):e.className!=null&&(l=e.className+" ");var u=vb(a,void 0,ae.useContext(Gk));l+=t.key+"-"+u.name;var c={};for(var f in e)Dd.call(e,f)&&f!=="css"&&f!==Ld&&(c[f]=e[f]);return c.className=l,n&&(c.ref=n),ae.createElement(ae.Fragment,null,ae.createElement(Wk,{cache:t,serialized:u,isStringTag:typeof i=="string"}),ae.createElement(i,c))}),zk=Xk,Pe=function(t,n){var r=arguments;if(n==null||!Dd.call(n,"css"))return ae.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=zk,a[1]=Hk(t,n);for(var l=2;l<i;l++)a[l]=r[l];return ae.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Pe||(Pe={}));function Nd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return vb(t)}function Zk(){var e=Nd.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Uk(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Yk=Math.min,Jk=Math.max,Bl=Math.round,$l=Math.floor,Dl=e=>({x:e,y:e});function Kk(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ll(){return typeof window<"u"}function yb(e){return xb(e)?(e.nodeName||"").toLowerCase():"#document"}function br(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Cb(e){var t;return(t=(xb(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xb(e){return Ll()?e instanceof Node||e instanceof br(e).Node:!1}function qk(e){return Ll()?e instanceof Element||e instanceof br(e).Element:!1}function jd(e){return Ll()?e instanceof HTMLElement||e instanceof br(e).HTMLElement:!1}function wb(e){return!Ll()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof br(e).ShadowRoot}function Sb(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Gd(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!=="inline"&&i!=="contents"}let kd;function Qk(){return kd==null&&(kd=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),kd}function eG(e){return/^(html|body|#document)$/.test(yb(e))}function Gd(e){return br(e).getComputedStyle(e)}function tG(e){if(yb(e)==="html")return e;const t=e.assignedSlot||e.parentNode||wb(e)&&e.host||Cb(e);return wb(t)?t.host:t}function Ib(e){const t=tG(e);return eG(t)?e.ownerDocument?e.ownerDocument.body:e.body:jd(t)&&Sb(t)?t:Ib(t)}function Nl(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Ib(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),l=br(i);if(a){const u=Hd(l);return t.concat(l,l.visualViewport||[],Sb(i)?i:[],u&&n?Nl(u):[])}else return t.concat(i,Nl(i,[],n))}function Hd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nG(e){const t=Gd(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=jd(e),a=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=Bl(n)!==a||Bl(r)!==l;return u&&(n=a,r=l),{width:n,height:r,$:u}}function Wd(e){return qk(e)?e:e.contextElement}function Eb(e){const t=Wd(e);if(!jd(t))return Dl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=nG(t);let l=(a?Bl(n.width):n.width)/r,u=(a?Bl(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const rG=Dl(0);function iG(e){const t=br(e);return!Qk()||!t.visualViewport?rG:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function oG(e,t,n){return!1}function Ab(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),a=Wd(e);let l=Dl(1);t&&(l=Eb(e));const u=oG()?iG(a):Dl(0);let c=(i.left+u.x)/l.x,f=(i.top+u.y)/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const m=br(a),v=r;let I=m,x=Hd(I);for(;x&&r&&v!==I;){const E=Eb(x),_=x.getBoundingClientRect(),F=Gd(x),M=_.left+(x.clientLeft+parseFloat(F.paddingLeft))*E.x,$=_.top+(x.clientTop+parseFloat(F.paddingTop))*E.y;c*=E.x,f*=E.y,h*=E.x,p*=E.y,c+=M,f+=$,I=br(x),x=Hd(I)}}return Kk({width:h,height:p,x:c,y:f})}function _b(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function aG(e,t){let n=null,r;const i=Cb(e);function a(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function l(u,c){u===void 0&&(u=!1),c===void 0&&(c=1),a();const f=e.getBoundingClientRect(),{left:h,top:p,width:m,height:v}=f;if(u||t(),!m||!v)return;const I=$l(p),x=$l(i.clientWidth-(h+m)),E=$l(i.clientHeight-(p+v)),_=$l(h),M={rootMargin:-I+"px "+-x+"px "+-E+"px "+-_+"px",threshold:Jk(0,Yk(1,c))||1};let $=!0;function D(H){const z=H[0].intersectionRatio;if(z!==c){if(!$)return l();z?l(!1,z):r=setTimeout(()=>{l(!1,1e-7)},1e3)}z===1&&!_b(f,e.getBoundingClientRect())&&l(),$=!1}try{n=new IntersectionObserver(D,{...M,root:i.ownerDocument})}catch{n=new IntersectionObserver(D,M)}n.observe(e)}return l(!0),a}function sG(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,f=Wd(e),h=i||a?[...f?Nl(f):[],...t?Nl(t):[]]:[];h.forEach(_=>{i&&_.addEventListener("scroll",n,{passive:!0}),a&&_.addEventListener("resize",n)});const p=f&&u?aG(f,n):null;let m=-1,v=null;l&&(v=new ResizeObserver(_=>{let[F]=_;F&&F.target===f&&v&&t&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var M;(M=v)==null||M.observe(t)})),n()}),f&&!c&&v.observe(f),t&&v.observe(t));let I,x=c?Ab(e):null;c&&E();function E(){const _=Ab(e);x&&!_b(x,_)&&n(),x=_,I=requestAnimationFrame(E)}return n(),()=>{var _;h.forEach(F=>{i&&F.removeEventListener("scroll",n),a&&F.removeEventListener("resize",n)}),p==null||p(),(_=v)==null||_.disconnect(),v=null,c&&cancelAnimationFrame(I)}}var Xd=b.useLayoutEffect,lG=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],jl=function(){};function uG(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function cG(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var l in t)t.hasOwnProperty(l)&&t[l]&&a.push("".concat(uG(e,l)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var Pb=function(t){return yG(t)?t.filter(Boolean):xi(t)==="object"&&t!==null?[t]:[]},Tb=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=vr(t,lG);return Oe({},n)},Mt=function(t,n,r){var i=t.cx,a=t.getStyles,l=t.getClassNames,u=t.className;return{css:a(n,t),className:i(r??{},l(n,t),u)}};function kl(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function fG(e){return kl(e)?window.innerHeight:e.clientHeight}function Mb(e){return kl(e)?window.pageYOffset:e.scrollTop}function Gl(e,t){if(kl(e)){window.scrollTo(0,t);return}e.scrollTop=t}function dG(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function hG(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Hl(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:jl,i=Mb(e),a=t-i,l=10,u=0;function c(){u+=l;var f=hG(u,i,a,n);Gl(e,f),u<n?window.requestAnimationFrame(c):r(e)}c()}function Ob(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Gl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Gl(e,Math.max(t.offsetTop-i,0))}function pG(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Fb(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function gG(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Rb=!1,mG={get passive(){return Rb=!0}},Wl=typeof window<"u"?window:{};Wl.addEventListener&&Wl.removeEventListener&&(Wl.addEventListener("p",jl,mG),Wl.removeEventListener("p",jl,!1));var vG=Rb;function bG(e){return e!=null}function yG(e){return Array.isArray(e)}function Xl(e,t,n){return e?t:n}function Nee(e){return e}function jee(e){return e}var CG=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=Object.entries(t).filter(function(l){var u=mr(l,1),c=u[0];return!r.includes(c)});return a.reduce(function(l,u){var c=mr(u,2),f=c[0],h=c[1];return l[f]=h,l},{})},xG=["children","innerProps"],wG=["children","innerProps"];function SG(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,l=e.isFixedPosition,u=e.controlHeight,c=dG(n),f={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return f;var h=c.getBoundingClientRect(),p=h.height,m=n.getBoundingClientRect(),v=m.bottom,I=m.height,x=m.top,E=n.offsetParent.getBoundingClientRect(),_=E.top,F=l?window.innerHeight:fG(c),M=Mb(c),$=parseInt(getComputedStyle(n).marginBottom,10),D=parseInt(getComputedStyle(n).marginTop,10),H=_-D,z=F-x,U=H+M,se=p-M-x,Ae=v-F+M+$,Xe=M+x-D,Ge=160;switch(i){case"auto":case"bottom":if(z>=I)return{placement:"bottom",maxHeight:t};if(se>=I&&!l)return a&&Hl(c,Ae,Ge),{placement:"bottom",maxHeight:t};if(!l&&se>=r||l&&z>=r){a&&Hl(c,Ae,Ge);var pe=l?z-$:se-$;return{placement:"bottom",maxHeight:pe}}if(i==="auto"||l){var Se=t,Te=l?H:U;return Te>=r&&(Se=Math.min(Te-$-u,t)),{placement:"top",maxHeight:Se}}if(i==="bottom")return a&&Gl(c,Ae),{placement:"bottom",maxHeight:t};break;case"top":if(H>=I)return{placement:"top",maxHeight:t};if(U>=I&&!l)return a&&Hl(c,Xe,Ge),{placement:"top",maxHeight:t};if(!l&&U>=r||l&&H>=r){var be=t;return(!l&&U>=r||l&&H>=r)&&(be=l?H-D:U-D),a&&Hl(c,Xe,Ge),{placement:"top",maxHeight:be}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return f}function IG(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Vb=function(t){return t==="auto"?"bottom":t},EG=function(t,n){var r,i=t.placement,a=t.theme,l=a.borderRadius,u=a.spacing,c=a.colors;return Oe((r={label:"menu"},La(r,IG(i),"100%"),La(r,"position","absolute"),La(r,"width","100%"),La(r,"zIndex",1),r),n?{}:{backgroundColor:c.neutral0,borderRadius:l,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},Bb=b.createContext(null),AG=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,l=t.menuPosition,u=t.menuShouldScrollIntoView,c=t.theme,f=b.useContext(Bb)||{},h=f.setPortalPlacement,p=b.useRef(null),m=b.useState(i),v=mr(m,2),I=v[0],x=v[1],E=b.useState(null),_=mr(E,2),F=_[0],M=_[1],$=c.spacing.controlHeight;return Xd(function(){var D=p.current;if(D){var H=l==="fixed",z=u&&!H,U=SG({maxHeight:i,menuEl:D,minHeight:r,placement:a,shouldScroll:z,isFixedPosition:H,controlHeight:$});x(U.maxHeight),M(U.placement),h==null||h(U.placement)}},[i,a,l,u,r,h,$]),n({ref:p,placerProps:Oe(Oe({},t),{},{placement:F||Vb(a),maxHeight:I})})},_G=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return Pe("div",$e({},Mt(t,"menu",{menu:!0}),{ref:r},i),n)},PG=_G,TG=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return Oe({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},MG=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,a=t.isMulti;return Pe("div",$e({},Mt(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},$b=function(t,n){var r=t.theme,i=r.spacing.baseUnit,a=r.colors;return Oe({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},OG=$b,FG=$b,RG=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,a=vr(t,xG);return Pe("div",$e({},Mt(Oe(Oe({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},VG=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,a=vr(t,wG);return Pe("div",$e({},Mt(Oe(Oe({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},BG=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},$G=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,a=t.innerProps,l=t.menuPlacement,u=t.menuPosition,c=b.useRef(null),f=b.useRef(null),h=b.useState(Vb(l)),p=mr(h,2),m=p[0],v=p[1],I=b.useMemo(function(){return{setPortalPlacement:v}},[]),x=b.useState(null),E=mr(x,2),_=E[0],F=E[1],M=b.useCallback(function(){if(i){var z=pG(i),U=u==="fixed"?0:window.pageYOffset,se=z[m]+U;(se!==(_==null?void 0:_.offset)||z.left!==(_==null?void 0:_.rect.left)||z.width!==(_==null?void 0:_.rect.width))&&F({offset:se,rect:z})}},[i,u,m,_==null?void 0:_.offset,_==null?void 0:_.rect.left,_==null?void 0:_.rect.width]);Xd(function(){M()},[M]);var $=b.useCallback(function(){typeof f.current=="function"&&(f.current(),f.current=null),i&&c.current&&(f.current=sG(i,c.current,M,{elementResize:"ResizeObserver"in window}))},[i,M]);Xd(function(){$()},[$]);var D=b.useCallback(function(z){c.current=z,$()},[$]);if(!n&&u!=="fixed"||!_)return null;var H=Pe("div",$e({ref:D},Mt(Oe(Oe({},t),{},{offset:_.offset,position:u,rect:_.rect}),"menuPortal",{"menu-portal":!0}),a),r);return Pe(Bb.Provider,{value:I},n?Uu.createPortal(H,n):H)},DG=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},LG=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,a=t.isRtl;return Pe("div",$e({},Mt(t,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},NG=function(t,n){var r=t.theme.spacing,i=t.isMulti,a=t.hasValue,l=t.selectProps.controlShouldRenderValue;return Oe({alignItems:"center",display:i&&a&&l?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},jG=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,a=t.hasValue;return Pe("div",$e({},Mt(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},kG=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},GG=function(t){var n=t.children,r=t.innerProps;return Pe("div",$e({},Mt(t,"indicatorsContainer",{indicators:!0}),r),n)},Db,HG=["size"],WG=["innerProps","isRtl","size"];function XG(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var zG=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:XG},Lb=function(t){var n=t.size,r=vr(t,HG);return Pe("svg",$e({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:zG},r))},zd=function(t){return Pe(Lb,$e({size:20},t),Pe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Nb=function(t){return Pe(Lb,$e({size:20},t),Pe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},jb=function(t,n){var r=t.isFocused,i=t.theme,a=i.spacing.baseUnit,l=i.colors;return Oe({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?l.neutral60:l.neutral20,padding:a*2,":hover":{color:r?l.neutral80:l.neutral40}})},ZG=jb,UG=function(t){var n=t.children,r=t.innerProps;return Pe("div",$e({},Mt(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||Pe(Nb,null))},YG=jb,JG=function(t){var n=t.children,r=t.innerProps;return Pe("div",$e({},Mt(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||Pe(zd,null))},KG=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing.baseUnit,l=i.colors;return Oe({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?l.neutral10:l.neutral20,marginBottom:a*2,marginTop:a*2})},qG=function(t){var n=t.innerProps;return Pe("span",$e({},n,Mt(t,"indicatorSeparator",{"indicator-separator":!0})))},QG=Zk(Db||(Db=Uk([`
|
|
119
119
|
0%, 80%, 100% { opacity: 0; }
|
|
120
120
|
40% { opacity: 1; }
|
|
121
|
-
`]))),tH=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,l=a.colors,u=a.spacing.baseUnit;return Oe({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?l.neutral60:l.neutral20,padding:u*2})},zd=function(t){var n=t.delay,r=t.offset;return Pe("span",{css:Ld({animation:"".concat(eH," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},nH=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,l=vr(t,XG);return Pe("div",$e({},Mt(Oe(Oe({},l),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Pe(zd,{delay:0,offset:r}),Pe(zd,{delay:160,offset:!0}),Pe(zd,{delay:320,offset:!r}))},rH=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,l=a.colors,u=a.borderRadius,c=a.spacing;return Oe({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:c.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?l.neutral5:l.neutral0,borderColor:r?l.neutral10:i?l.primary:l.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(l.primary):void 0,"&:hover":{borderColor:i?l.primary:l.neutral30}})},iH=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,l=t.innerProps,u=t.menuIsOpen;return Pe("div",$e({ref:a},Mt(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),l,{"aria-disabled":r||void 0}),n)},oH=iH,aH=["data"],sH=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},lH=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,l=t.Heading,u=t.headingProps,c=t.innerProps,f=t.label,h=t.theme,p=t.selectProps;return Pe("div",$e({},Mt(t,"group",{group:!0}),c),Pe(l,$e({},u,{selectProps:p,theme:h,getStyles:i,getClassNames:a,cx:r}),f),Pe("div",null,n))},uH=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return Oe({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},cH=function(t){var n=_b(t);n.data;var r=vr(n,aH);return Pe("div",$e({},Mt(t,"groupHeading",{"group-heading":!0}),r))},fH=lH,dH=["innerRef","isDisabled","isHidden","inputClassName"],hH=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,l=a.spacing,u=a.colors;return Oe(Oe({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},pH),n?{}:{margin:l.baseUnit/2,paddingBottom:l.baseUnit/2,paddingTop:l.baseUnit/2,color:u.neutral80})},Lb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},pH={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Oe({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Lb)},gH=function(t){return Oe({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Lb)},mH=function(t){var n=t.cx,r=t.value,i=_b(t),a=i.innerRef,l=i.isDisabled,u=i.isHidden,c=i.inputClassName,f=vr(i,dH);return Pe("div",$e({},Mt(t,"input",{"input-container":!0}),{"data-value":r||""}),Pe("input",$e({className:n({input:!0},c),ref:a,style:gH(u),disabled:l},f)))},vH=mH,bH=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,l=r.colors;return Oe({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:l.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},yH=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,l=t.cropWithEllipsis;return Oe({overflow:"hidden",textOverflow:l||l===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},CH=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,l=r.colors,u=t.isFocused;return Oe({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?l.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:l.dangerLight,color:l.danger}})},jb=function(t){var n=t.children,r=t.innerProps;return Pe("div",r,n)},xH=jb,wH=jb;function SH(e){var t=e.children,n=e.innerProps;return Pe("div",$e({role:"button"},n),t||Pe(Xd,{size:14}))}var IH=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,l=t.isDisabled,u=t.removeProps,c=t.selectProps,f=r.Container,h=r.Label,p=r.Remove;return Pe(f,{data:i,innerProps:Oe(Oe({},Mt(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":l})),a),selectProps:c},Pe(h,{data:i,innerProps:Oe({},Mt(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:c},n),Pe(p,{data:i,innerProps:Oe(Oe({},Mt(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:c}))},EH=IH,AH=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,l=t.theme,u=l.spacing,c=l.colors;return Oe({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?c.primary:i?c.primary25:"transparent",color:r?c.neutral20:a?c.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?c.primary:c.primary50}})},_H=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,l=t.innerRef,u=t.innerProps;return Pe("div",$e({},Mt(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:l,"aria-disabled":r},u),n)},PH=_H,TH=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return Oe({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},MH=function(t){var n=t.children,r=t.innerProps;return Pe("div",$e({},Mt(t,"placeholder",{placeholder:!0}),r),n)},OH=MH,FH=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,l=i.colors;return Oe({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?l.neutral40:l.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},RH=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return Pe("div",$e({},Mt(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},VH=RH,Ot={ClearIndicator:KG,Control:oH,DropdownIndicator:YG,DownChevron:Db,CrossIcon:Xd,Group:fH,GroupHeading:cH,IndicatorsContainer:HG,IndicatorSeparator:QG,Input:vH,LoadingIndicator:nH,Menu:TG,MenuList:OG,MenuPortal:DG,LoadingMessage:BG,NoOptionsMessage:VG,MultiValue:EH,MultiValueContainer:xH,MultiValueLabel:wH,MultiValueRemove:SH,Option:PH,Placeholder:OH,SelectContainer:LG,SingleValue:VH,ValueContainer:kG},BH=function(t){return Oe(Oe({},Ot),t.components)},kb=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function $H(e,t){return!!(e===t||kb(e)&&kb(t))}function DH(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!$H(e[n],t[n]))return!1;return!0}function NH(e,t){t===void 0&&(t=DH);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var l=e.apply(this,i);return n={lastResult:l,lastArgs:i,lastThis:this},l}return r.clear=function(){n=null},r}function LH(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var jH=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:LH},kH=function(t){return Pe("span",$e({css:jH},t))},Gb=kH,GH={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,l=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return l?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,l=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return l?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,l=a===void 0?"":a,u=t.selectValue,c=t.isDisabled,f=t.isSelected,h=t.isAppleDevice,p=function(x,E){return x&&x.length?"".concat(x.indexOf(E)+1," of ").concat(x.length):""};if(n==="value"&&u)return"value ".concat(l," focused, ").concat(p(u,r),".");if(n==="menu"&&h){var m=c?" disabled":"",v="".concat(f?" selected":"").concat(m);return"".concat(l).concat(v,", ").concat(p(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},HH=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,l=t.isFocused,u=t.selectValue,c=t.selectProps,f=t.id,h=t.isAppleDevice,p=c.ariaLiveMessages,m=c.getOptionLabel,v=c.inputValue,S=c.isMulti,x=c.isOptionDisabled,E=c.isSearchable,A=c.menuIsOpen,O=c.options,R=c.screenReaderStatus,$=c.tabSelectsValue,N=c.isLoading,X=c["aria-label"],Z=c["aria-live"],U=b.useMemo(function(){return Oe(Oe({},GH),p||{})},[p]),se=b.useMemo(function(){var Te="";if(n&&U.onChange){var be=n.option,Ve=n.options,ze=n.removedValue,M=n.removedValues,T=n.value,V=function(J){return Array.isArray(J)?null:J},F=ze||be||V(T),y=F?m(F):"",k=Ve||M||void 0,ee=k?k.map(m):[],oe=Oe({isDisabled:F&&x(F,u),label:y,labels:ee},n);Te=U.onChange(oe)}return Te},[n,U,x,u,m]),Ae=b.useMemo(function(){var Te="",be=r||i,Ve=!!(r&&u&&u.includes(r));if(be&&U.onFocus){var ze={focused:be,label:m(be),isDisabled:x(be,u),isSelected:Ve,options:a,context:be===r?"menu":"value",selectValue:u,isAppleDevice:h};Te=U.onFocus(ze)}return Te},[r,i,m,x,U,a,u,h]),Xe=b.useMemo(function(){var Te="";if(A&&O.length&&!N&&U.onFilter){var be=R({count:a.length});Te=U.onFilter({inputValue:v,resultsMessage:be})}return Te},[a,v,A,U,O,R,N]),Ge=(n==null?void 0:n.action)==="initial-input-focus",pe=b.useMemo(function(){var Te="";if(U.guidance){var be=i?"value":A?"menu":"input";Te=U.guidance({"aria-label":X,context:be,isDisabled:r&&x(r,u),isMulti:S,isSearchable:E,tabSelectsValue:$,isInitialFocus:Ge})}return Te},[X,r,i,S,x,E,A,U,u,$,Ge]),Se=Pe(b.Fragment,null,Pe("span",{id:"aria-selection"},se),Pe("span",{id:"aria-focused"},Ae),Pe("span",{id:"aria-results"},Xe),Pe("span",{id:"aria-guidance"},pe));return Pe(b.Fragment,null,Pe(Gb,{id:f},Ge&&Se),Pe(Gb,{"aria-live":Z,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!Ge&&Se))},WH=HH,Zd=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],XH=new RegExp("["+Zd.map(function(e){return e.letters}).join("")+"]","g"),Hb={},Ud=0;Ud<Zd.length;Ud++)for(var Yd=Zd[Ud],Jd=0;Jd<Yd.letters.length;Jd++)Hb[Yd.letters[Jd]]=Yd.base;var Wb=function(t){return t.replace(XH,function(n){return Hb[n]})},zH=NH(Wb),Xb=function(t){return t.replace(/^\s+|\s+$/g,"")},ZH=function(t){return"".concat(t.label," ").concat(t.value)},UH=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Oe({ignoreCase:!0,ignoreAccents:!0,stringify:ZH,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,l=i.ignoreAccents,u=i.stringify,c=i.trim,f=i.matchFrom,h=c?Xb(r):r,p=c?Xb(u(n)):u(n);return a&&(h=h.toLowerCase(),p=p.toLowerCase()),l&&(h=zH(h),p=Wb(p)),f==="start"?p.substr(0,h.length)===h:p.indexOf(h)>-1}},YH=["innerRef"];function JH(e){var t=e.innerRef,n=vr(e,YH),r=xG(n,"onExited","in","enter","exit","appear");return Pe("input",$e({ref:t},r,{css:Ld({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var KH=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function qH(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,l=b.useRef(!1),u=b.useRef(!1),c=b.useRef(0),f=b.useRef(null),h=b.useCallback(function(E,A){if(f.current!==null){var O=f.current,R=O.scrollTop,$=O.scrollHeight,N=O.clientHeight,X=f.current,Z=A>0,U=$-N-R,se=!1;U>A&&l.current&&(r&&r(E),l.current=!1),Z&&u.current&&(a&&a(E),u.current=!1),Z&&A>U?(n&&!l.current&&n(E),X.scrollTop=$,se=!0,l.current=!0):!Z&&-A>R&&(i&&!u.current&&i(E),X.scrollTop=0,se=!0,u.current=!0),se&&KH(E)}},[n,r,i,a]),p=b.useCallback(function(E){h(E,E.deltaY)},[h]),m=b.useCallback(function(E){c.current=E.changedTouches[0].clientY},[]),v=b.useCallback(function(E){var A=c.current-E.changedTouches[0].clientY;h(E,A)},[h]),S=b.useCallback(function(E){if(E){var A=bG?{passive:!1}:!1;E.addEventListener("wheel",p,A),E.addEventListener("touchstart",m,A),E.addEventListener("touchmove",v,A)}},[v,m,p]),x=b.useCallback(function(E){E&&(E.removeEventListener("wheel",p,!1),E.removeEventListener("touchstart",m,!1),E.removeEventListener("touchmove",v,!1))},[v,m,p]);return b.useEffect(function(){if(t){var E=f.current;return S(E),function(){x(E)}}},[t,S,x]),function(E){f.current=E}}var zb=["boxSizing","height","overflow","paddingRight","position"],Zb={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ub(e){e.cancelable&&e.preventDefault()}function Yb(e){e.stopPropagation()}function Jb(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Kb(){return"ontouchstart"in window||navigator.maxTouchPoints}var qb=!!(typeof window<"u"&&window.document&&window.document.createElement),Wa=0,To={capture:!1,passive:!1};function QH(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=b.useRef({}),a=b.useRef(null),l=b.useCallback(function(c){if(qb){var f=document.body,h=f&&f.style;if(r&&zb.forEach(function(S){var x=h&&h[S];i.current[S]=x}),r&&Wa<1){var p=parseInt(i.current.paddingRight,10)||0,m=document.body?document.body.clientWidth:0,v=window.innerWidth-m+p||0;Object.keys(Zb).forEach(function(S){var x=Zb[S];h&&(h[S]=x)}),h&&(h.paddingRight="".concat(v,"px"))}f&&Kb()&&(f.addEventListener("touchmove",Ub,To),c&&(c.addEventListener("touchstart",Jb,To),c.addEventListener("touchmove",Yb,To))),Wa+=1}},[r]),u=b.useCallback(function(c){if(qb){var f=document.body,h=f&&f.style;Wa=Math.max(Wa-1,0),r&&Wa<1&&zb.forEach(function(p){var m=i.current[p];h&&(h[p]=m)}),f&&Kb()&&(f.removeEventListener("touchmove",Ub,To),c&&(c.removeEventListener("touchstart",Jb,To),c.removeEventListener("touchmove",Yb,To)))}},[r]);return b.useEffect(function(){if(t){var c=a.current;return l(c),function(){u(c)}}},[t,l,u]),function(c){a.current=c}}function eW(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var tW=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},nW=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:eW};function rW(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,l=e.onBottomLeave,u=e.onTopArrive,c=e.onTopLeave,f=qH({isEnabled:i,onBottomArrive:a,onBottomLeave:l,onTopArrive:u,onTopLeave:c}),h=QH({isEnabled:n}),p=function(v){f(v),h(v)};return Pe(b.Fragment,null,n&&Pe("div",{onClick:tW,css:nW}),t(p))}function iW(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var oW=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:iW},aW=function(t){var n=t.name,r=t.onFocus;return Pe("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:oW,value:"",onChange:function(){}})},sW=aW;function Kd(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function lW(){return Kd(/^iPhone/i)}function Qb(){return Kd(/^Mac/i)}function uW(){return Kd(/^iPad/i)||Qb()&&navigator.maxTouchPoints>1}function cW(){return lW()||uW()}function fW(){return Qb()||cW()}var dW=function(t){return t.label},hW=function(t){return t.label},pW=function(t){return t.value},gW=function(t){return!!t.isDisabled},mW={clearIndicator:JG,container:NG,control:rH,dropdownIndicator:UG,group:sH,groupHeading:uH,indicatorsContainer:GG,indicatorSeparator:qG,input:hH,loadingIndicator:tH,loadingMessage:RG,menu:AG,menuList:MG,menuPortal:$G,multiValue:bH,multiValueLabel:yH,multiValueRemove:CH,noOptionsMessage:FG,option:AH,placeholder:TH,singleValue:FH,valueContainer:jG},vW={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},bW=4,e3=4,yW=38,CW=e3*2,xW={baseUnit:e3,controlHeight:yW,menuGutter:CW},qd={borderRadius:bW,colors:vW,spacing:xW},wW={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Mb(),captureMenuScroll:!Mb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:UH(),formatGroupLabel:dW,getOptionLabel:hW,getOptionValue:pW,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:gW,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!mG(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function t3(e,t,n,r){var i=a3(e,t,n),a=s3(e,t,n),l=o3(e,t),u=Zl(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:l,value:u,index:r}}function zl(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(l,u){return t3(e,l,t,u)}).filter(function(l){return i3(e,l)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=t3(e,n,t,r);return i3(e,a)?a:void 0}).filter(yG)}function n3(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Md(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function r3(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Md(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function SW(e,t){return n3(zl(e,t))}function i3(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,l=t.label,u=t.value;return(!u3(e)||!a)&&l3(e,{label:l,value:u,data:i},r)}function IW(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function EW(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Qd=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},o3=function(t,n){return t.getOptionLabel(n)},Zl=function(t,n){return t.getOptionValue(n)};function a3(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function s3(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=Zl(e,t);return n.some(function(i){return Zl(e,i)===r})}function l3(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var u3=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},AW=1,c3=function(e){zj(n,e);var t=Yj(n);function n(r){var i;if(Wj(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(c){i.controlRef=c},i.focusedOptionRef=null,i.getFocusedOptionRef=function(c){i.focusedOptionRef=c},i.menuListRef=null,i.getMenuListRef=function(c){i.menuListRef=c},i.inputRef=null,i.getInputRef=function(c){i.inputRef=c},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(c,f){var h=i.props,p=h.onChange,m=h.name;f.name=m,i.ariaOnChange(c,f),p(c,f)},i.setValue=function(c,f,h){var p=i.props,m=p.closeMenuOnSelect,v=p.isMulti,S=p.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:S}),m&&(i.setState({inputIsHiddenAfterUpdate:!v}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(c,{action:f,option:h})},i.selectOption=function(c){var f=i.props,h=f.blurInputOnSelect,p=f.isMulti,m=f.name,v=i.state.selectValue,S=p&&i.isOptionSelected(c,v),x=i.isOptionDisabled(c,v);if(S){var E=i.getOptionValue(c);i.setValue(v.filter(function(A){return i.getOptionValue(A)!==E}),"deselect-option",c)}else if(!x)p?i.setValue([].concat(Md(v),[c]),"select-option",c):i.setValue(c,"select-option");else{i.ariaOnChange(c,{action:"select-option",option:c,name:m});return}h&&i.blurInput()},i.removeValue=function(c){var f=i.props.isMulti,h=i.state.selectValue,p=i.getOptionValue(c),m=h.filter(function(S){return i.getOptionValue(S)!==p}),v=Xl(f,m,m[0]||null);i.onChange(v,{action:"remove-value",removedValue:c}),i.focusInput()},i.clearValue=function(){var c=i.state.selectValue;i.onChange(Xl(i.props.isMulti,[],null),{action:"clear",removedValues:c})},i.popValue=function(){var c=i.props.isMulti,f=i.state.selectValue,h=f[f.length-1],p=f.slice(0,f.length-1),m=Xl(c,p,p[0]||null);h&&i.onChange(m,{action:"pop-value",removedValue:h})},i.getFocusedOptionId=function(c){return Qd(i.state.focusableOptionsWithIds,c)},i.getFocusableOptionsWithIds=function(){return r3(zl(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var c=arguments.length,f=new Array(c),h=0;h<c;h++)f[h]=arguments[h];return fG.apply(void 0,[i.props.classNamePrefix].concat(f))},i.getOptionLabel=function(c){return o3(i.props,c)},i.getOptionValue=function(c){return Zl(i.props,c)},i.getStyles=function(c,f){var h=i.props.unstyled,p=mW[c](f,h);p.boxSizing="border-box";var m=i.props.styles[c];return m?m(p,f):p},i.getClassNames=function(c,f){var h,p;return(h=(p=i.props.classNames)[c])===null||h===void 0?void 0:h.call(p,f)},i.getElementId=function(c){return"".concat(i.state.instancePrefix,"-").concat(c)},i.getComponents=function(){return BH(i.props)},i.buildCategorizedOptions=function(){return zl(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return n3(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(c,f){i.setState({ariaSelection:Oe({value:c},f)})},i.onMenuMouseDown=function(c){c.button===0&&(c.stopPropagation(),c.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(c){i.blockOptionHover=!1},i.onControlMouseDown=function(c){if(!c.defaultPrevented){var f=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&i.onMenuClose():f&&i.openMenu("first"):(f&&(i.openAfterFocus=!0),i.focusInput()),c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&c.preventDefault()}},i.onDropdownIndicatorMouseDown=function(c){if(!(c&&c.type==="mousedown"&&c.button!==0)&&!i.props.isDisabled){var f=i.props,h=f.isMulti,p=f.menuIsOpen;i.focusInput(),p?(i.setState({inputIsHiddenAfterUpdate:!h}),i.onMenuClose()):i.openMenu("first"),c.preventDefault()}},i.onClearIndicatorMouseDown=function(c){c&&c.type==="mousedown"&&c.button!==0||(i.clearValue(),c.preventDefault(),i.openAfterFocus=!1,c.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(c){typeof i.props.closeMenuOnScroll=="boolean"?c.target instanceof HTMLElement&&kl(c.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(c)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(c){var f=c.touches,h=f&&f.item(0);h&&(i.initialTouchX=h.clientX,i.initialTouchY=h.clientY,i.userIsDragging=!1)},i.onTouchMove=function(c){var f=c.touches,h=f&&f.item(0);if(h){var p=Math.abs(h.clientX-i.initialTouchX),m=Math.abs(h.clientY-i.initialTouchY),v=5;i.userIsDragging=p>v||m>v}},i.onTouchEnd=function(c){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(c.target)&&i.menuListRef&&!i.menuListRef.contains(c.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(c){i.userIsDragging||i.onControlMouseDown(c)},i.onClearIndicatorTouchEnd=function(c){i.userIsDragging||i.onClearIndicatorMouseDown(c)},i.onDropdownIndicatorTouchEnd=function(c){i.userIsDragging||i.onDropdownIndicatorMouseDown(c)},i.handleInputChange=function(c){var f=i.props.inputValue,h=c.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(h,{action:"input-change",prevInputValue:f}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(c){i.props.onFocus&&i.props.onFocus(c),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(c){var f=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(c),i.onInputChange("",{action:"input-blur",prevInputValue:f}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(c){if(!(i.blockOptionHover||i.state.focusedOption===c)){var f=i.getFocusableOptions(),h=f.indexOf(c);i.setState({focusedOption:c,focusedOptionId:h>-1?i.getFocusedOptionId(c):null})}},i.shouldHideSelectedOptions=function(){return u3(i.props)},i.onValueInputFocus=function(c){c.preventDefault(),c.stopPropagation(),i.focus()},i.onKeyDown=function(c){var f=i.props,h=f.isMulti,p=f.backspaceRemovesValue,m=f.escapeClearsValue,v=f.inputValue,S=f.isClearable,x=f.isDisabled,E=f.menuIsOpen,A=f.onKeyDown,O=f.tabSelectsValue,R=f.openMenuOnFocus,$=i.state,N=$.focusedOption,X=$.focusedValue,Z=$.selectValue;if(!x&&!(typeof A=="function"&&(A(c),c.defaultPrevented))){switch(i.blockOptionHover=!0,c.key){case"ArrowLeft":if(!h||v)return;i.focusValue("previous");break;case"ArrowRight":if(!h||v)return;i.focusValue("next");break;case"Delete":case"Backspace":if(v)return;if(X)i.removeValue(X);else{if(!p)return;h?i.popValue():S&&i.clearValue()}break;case"Tab":if(i.isComposing||c.shiftKey||!E||!O||!N||R&&i.isOptionSelected(N,Z))return;i.selectOption(N);break;case"Enter":if(c.keyCode===229)break;if(E){if(!N||i.isComposing)return;i.selectOption(N);break}return;case"Escape":E?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:v}),i.onMenuClose()):S&&m&&i.clearValue();break;case" ":if(v)return;if(!E){i.openMenu("first");break}if(!N)return;i.selectOption(N);break;case"ArrowUp":E?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":E?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!E)return;i.focusOption("pageup");break;case"PageDown":if(!E)return;i.focusOption("pagedown");break;case"Home":if(!E)return;i.focusOption("first");break;case"End":if(!E)return;i.focusOption("last");break;default:return}c.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++AW),i.state.selectValue=Ab(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),l=i.buildFocusableOptions(),u=l.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=l[u],i.state.focusedOptionId=Qd(a,l[u])}return i}return Xj(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Tb(this.menuListRef,this.focusedOptionRef),fW()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(i){var a=this.props,l=a.isDisabled,u=a.menuIsOpen,c=this.state.isFocused;(c&&!l&&i.isDisabled||c&&u&&!i.menuIsOpen)&&this.focusInput(),c&&l&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!c&&!l&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Tb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,l=this.state,u=l.selectValue,c=l.isFocused,f=this.buildFocusableOptions(),h=i==="first"?0:f.length-1;if(!this.props.isMulti){var p=f.indexOf(u[0]);p>-1&&(h=p)}this.scrollToFocusedOptionOnUpdate=!(c&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:f[h],focusedOptionId:this.getFocusedOptionId(f[h])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,l=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var c=l.indexOf(u);u||(c=-1);var f=l.length-1,h=-1;if(l.length){switch(i){case"previous":c===0?h=0:c===-1?h=f:h=c-1;break;case"next":c>-1&&c<f&&(h=c+1);break}this.setState({inputIsHidden:h!==-1,focusedValue:l[h]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,l=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var c=0,f=u.indexOf(l);l||(f=-1),i==="up"?c=f>0?f-1:u.length-1:i==="down"?c=(f+1)%u.length:i==="pageup"?(c=f-a,c<0&&(c=0)):i==="pagedown"?(c=f+a,c>u.length-1&&(c=u.length-1)):i==="last"&&(c=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[c],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[c])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(qd):Oe(Oe({},qd),this.props.theme):qd}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,l=this.getStyles,u=this.getClassNames,c=this.getValue,f=this.selectOption,h=this.setValue,p=this.props,m=p.isMulti,v=p.isRtl,S=p.options,x=this.hasValue();return{clearValue:i,cx:a,getStyles:l,getClassNames:u,getValue:c,hasValue:x,isMulti:m,isRtl:v,options:S,selectOption:f,selectProps:p,setValue:h,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,l=i.isMulti;return a===void 0?l:a}},{key:"isOptionDisabled",value:function(i,a){return a3(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return s3(this.props,i,a)}},{key:"filterOption",value:function(i,a){return l3(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var l=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:l,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,l=i.isSearchable,u=i.inputId,c=i.inputValue,f=i.tabIndex,h=i.form,p=i.menuIsOpen,m=i.required,v=this.getComponents(),S=v.Input,x=this.state,E=x.inputIsHidden,A=x.ariaSelection,O=this.commonProps,R=u||this.getElementId("input"),$=Oe(Oe(Oe({"aria-autocomplete":"list","aria-expanded":p,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":m,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},p&&{"aria-controls":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?(A==null?void 0:A.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?ae.createElement(S,$e({},O,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:R,innerRef:this.getInputRef,isDisabled:a,isHidden:E,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:f,form:h,type:"text",value:c},$)):ae.createElement(JH,$e({id:R,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:jl,onFocus:this.onInputFocus,disabled:a,tabIndex:f,inputMode:"none",form:h,value:""},$))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),l=a.MultiValue,u=a.MultiValueContainer,c=a.MultiValueLabel,f=a.MultiValueRemove,h=a.SingleValue,p=a.Placeholder,m=this.commonProps,v=this.props,S=v.controlShouldRenderValue,x=v.isDisabled,E=v.isMulti,A=v.inputValue,O=v.placeholder,R=this.state,$=R.selectValue,N=R.focusedValue,X=R.isFocused;if(!this.hasValue()||!S)return A?null:ae.createElement(p,$e({},m,{key:"placeholder",isDisabled:x,isFocused:X,innerProps:{id:this.getElementId("placeholder")}}),O);if(E)return $.map(function(U,se){var Ae=U===N,Xe="".concat(i.getOptionLabel(U),"-").concat(i.getOptionValue(U));return ae.createElement(l,$e({},m,{components:{Container:u,Label:c,Remove:f},isFocused:Ae,isDisabled:x,key:Xe,index:se,removeProps:{onClick:function(){return i.removeValue(U)},onTouchEnd:function(){return i.removeValue(U)},onMouseDown:function(pe){pe.preventDefault()}},data:U}),i.formatOptionLabel(U,"value"))});if(A)return null;var Z=$[0];return ae.createElement(h,$e({},m,{data:Z,isDisabled:x}),this.formatOptionLabel(Z,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,l=this.commonProps,u=this.props,c=u.isDisabled,f=u.isLoading,h=this.state.isFocused;if(!this.isClearable()||!a||c||!this.hasValue()||f)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ae.createElement(a,$e({},l,{innerProps:p,isFocused:h}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,l=this.commonProps,u=this.props,c=u.isDisabled,f=u.isLoading,h=this.state.isFocused;if(!a||!f)return null;var p={"aria-hidden":"true"};return ae.createElement(a,$e({},l,{innerProps:p,isDisabled:c,isFocused:h}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,l=i.IndicatorSeparator;if(!a||!l)return null;var u=this.commonProps,c=this.props.isDisabled,f=this.state.isFocused;return ae.createElement(l,$e({},u,{isDisabled:c,isFocused:f}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var l=this.commonProps,u=this.props.isDisabled,c=this.state.isFocused,f={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ae.createElement(a,$e({},l,{innerProps:f,isDisabled:u,isFocused:c}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),l=a.Group,u=a.GroupHeading,c=a.Menu,f=a.MenuList,h=a.MenuPortal,p=a.LoadingMessage,m=a.NoOptionsMessage,v=a.Option,S=this.commonProps,x=this.state.focusedOption,E=this.props,A=E.captureMenuScroll,O=E.inputValue,R=E.isLoading,$=E.loadingMessage,N=E.minMenuHeight,X=E.maxMenuHeight,Z=E.menuIsOpen,U=E.menuPlacement,se=E.menuPosition,Ae=E.menuPortalTarget,Xe=E.menuShouldBlockScroll,Ge=E.menuShouldScrollIntoView,pe=E.noOptionsMessage,Se=E.onMenuScrollToTop,Te=E.onMenuScrollToBottom;if(!Z)return null;var be=function(y,k){var ee=y.type,oe=y.data,z=y.isDisabled,J=y.isSelected,re=y.label,ie=y.value,ue=x===oe,K=z?void 0:function(){return i.onOptionHover(oe)},fe=z?void 0:function(){return i.selectOption(oe)},q="".concat(i.getElementId("option"),"-").concat(k),de={id:q,onClick:fe,onMouseMove:K,onMouseOver:K,tabIndex:-1,role:"option","aria-selected":i.state.isAppleDevice?void 0:J};return ae.createElement(v,$e({},S,{innerProps:de,data:oe,isDisabled:z,isSelected:J,key:q,label:re,type:ee,value:ie,isFocused:ue,innerRef:ue?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(y.data,"menu"))},Ve;if(this.hasOptions())Ve=this.getCategorizedOptions().map(function(F){if(F.type==="group"){var y=F.data,k=F.options,ee=F.index,oe="".concat(i.getElementId("group"),"-").concat(ee),z="".concat(oe,"-heading");return ae.createElement(l,$e({},S,{key:oe,data:y,options:k,Heading:u,headingProps:{id:z,data:F.data},label:i.formatGroupLabel(F.data)}),F.options.map(function(J){return be(J,"".concat(ee,"-").concat(J.index))}))}else if(F.type==="option")return be(F,"".concat(F.index))});else if(R){var ze=$({inputValue:O});if(ze===null)return null;Ve=ae.createElement(p,S,ze)}else{var M=pe({inputValue:O});if(M===null)return null;Ve=ae.createElement(m,S,M)}var T={minMenuHeight:N,maxMenuHeight:X,menuPlacement:U,menuPosition:se,menuShouldScrollIntoView:Ge},V=ae.createElement(_G,$e({},S,T),function(F){var y=F.ref,k=F.placerProps,ee=k.placement,oe=k.maxHeight;return ae.createElement(c,$e({},S,T,{innerRef:y,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:R,placement:ee}),ae.createElement(rW,{captureEnabled:A,onTopArrive:Se,onBottomArrive:Te,lockEnabled:Xe},function(z){return ae.createElement(f,$e({},S,{innerRef:function(re){i.getMenuListRef(re),z(re)},innerProps:{role:"listbox","aria-multiselectable":S.isMulti,id:i.getElementId("listbox")},isLoading:R,maxHeight:oe,focusedOption:x}),Ve)}))});return Ae||se==="fixed"?ae.createElement(h,$e({},S,{appendTo:Ae,controlElement:this.controlRef,menuPlacement:U,menuPosition:se}),V):V}},{key:"renderFormField",value:function(){var i=this,a=this.props,l=a.delimiter,u=a.isDisabled,c=a.isMulti,f=a.name,h=a.required,p=this.state.selectValue;if(h&&!this.hasValue()&&!u)return ae.createElement(sW,{name:f,onFocus:this.onValueInputFocus});if(!(!f||u))if(c)if(l){var m=p.map(function(x){return i.getOptionValue(x)}).join(l);return ae.createElement("input",{name:f,type:"hidden",value:m})}else{var v=p.length>0?p.map(function(x,E){return ae.createElement("input",{key:"i-".concat(E),name:f,type:"hidden",value:i.getOptionValue(x)})}):ae.createElement("input",{name:f,type:"hidden",value:""});return ae.createElement("div",null,v)}else{var S=p[0]?this.getOptionValue(p[0]):"";return ae.createElement("input",{name:f,type:"hidden",value:S})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,l=a.ariaSelection,u=a.focusedOption,c=a.focusedValue,f=a.isFocused,h=a.selectValue,p=this.getFocusableOptions();return ae.createElement(WH,$e({},i,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:u,focusedValue:c,isFocused:f,selectValue:h,focusableOptions:p,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,l=i.IndicatorsContainer,u=i.SelectContainer,c=i.ValueContainer,f=this.props,h=f.className,p=f.id,m=f.isDisabled,v=f.menuIsOpen,S=this.state.isFocused,x=this.commonProps=this.getCommonProps();return ae.createElement(u,$e({},x,{className:h,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:m,isFocused:S}),this.renderLiveRegion(),ae.createElement(a,$e({},x,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:m,isFocused:S,menuIsOpen:v}),ae.createElement(c,$e({},x,{isDisabled:m}),this.renderPlaceholderOrValue(),this.renderInput()),ae.createElement(l,$e({},x,{isDisabled:m}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var l=a.prevProps,u=a.clearFocusValueOnUpdate,c=a.inputIsHiddenAfterUpdate,f=a.ariaSelection,h=a.isFocused,p=a.prevWasFocused,m=a.instancePrefix,v=i.options,S=i.value,x=i.menuIsOpen,E=i.inputValue,A=i.isMulti,O=Ab(S),R={};if(l&&(S!==l.value||v!==l.options||x!==l.menuIsOpen||E!==l.inputValue)){var $=x?SW(i,O):[],N=x?r3(zl(i,O),"".concat(m,"-option")):[],X=u?IW(a,O):null,Z=EW(a,$),U=Qd(N,Z);R={selectValue:O,focusedOption:Z,focusedOptionId:U,focusableOptionsWithIds:N,focusedValue:X,clearFocusValueOnUpdate:!1}}var se=c!=null&&i!==l?{inputIsHidden:c,inputIsHiddenAfterUpdate:void 0}:{},Ae=f,Xe=h&&p;return h&&!Xe&&(Ae={value:Xl(A,O,O[0]||null),options:O,action:"initial-input-focus"},Xe=!p),(f==null?void 0:f.action)==="initial-input-focus"&&(Ae=null),Oe(Oe(Oe({},R),se),{},{prevProps:i,ariaSelection:Ae,prevWasFocused:Xe})}}]),n}(b.Component);c3.defaultProps=wW;var _W=b.forwardRef(function(e,t){var n=Hj(e);return ae.createElement(c3,$e({ref:t},n))}),e1=_W;function PW({selectProps:e,...t}){const{label:n,error:r,name:i}=e,{isDisabled:a,isFocused:l,hasValue:u}=t;return w.jsxs(El,{disabled:a,error:r,children:[w.jsx(Ot.SelectContainer,{...t}),w.jsx(Da,{htmlFor:i,disabled:a,error:r,focused:l,className:Ke("left-2.5 bottom-1.5",{"text-brand-primary":l,"!bottom-[14px]":u}),children:n})]})}function TW(e){return w.jsx(Ot.Control,{className:"text-sm bg-transparent border-none focus-within:ring-0 focus:ring-0",...e})}function MW(e){return w.jsx(Ot.ValueContainer,{className:"overflow-hidden max-h-6 py-0 my-0",...e})}function OW(e){return w.jsx(Ot.Placeholder,{className:"text-sm translate-y-1",...e})}function FW(e){return w.jsx(Ot.Input,{className:"py-0 text-sm text-brand-text children:text-brand-text children:text-sm",...e})}function RW({innerRef:e,innerProps:t,selectProps:n}){const{menuIsOpen:r}=n;return w.jsx(w.Fragment,{children:r?w.jsx(qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t}):w.jsx(Qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t})})}function VW(e){return w.jsx(Ot.MultiValue,{className:"rounded-sm text-xs max-w-[140px] truncate",...e})}function BW(e){const{isSelected:t}=e;return w.jsx(Ot.Option,{className:Ke("text-sm py-1 px-2","hover:bg-brand-tertiary-light hover:text-brand-primary",{"bg-brand-primary text-white":t}),...e})}const $W=({components:e,helper:t,error:n,...r})=>w.jsxs("div",{children:[w.jsx(e1,{closeMenuOnSelect:!1,noOptionsMessage:()=>"Nenhuma opção encontrada",isMulti:!0,hideSelectedOptions:!1,styles:{option:(i,{isSelected:a})=>({...i,zIndex:9999,backgroundColor:a?"#0093B2":i.backgroundColor,color:a?"white":"inherit",":active":{backgroundColor:"#0093B2"},":hover":{color:"#0093B2",backgroundColor:"#BFF0FB"}}),multiValue:i=>({...i,backgroundColor:"#0093b250"}),multiValueLabel:(i,{data:a})=>({...i,color:a==null?void 0:a.color}),multiValueRemove:(i,{data:a})=>({...i,color:a==null?void 0:a.color,transition:"all",":hover":{backgroundColor:"rgba(0, 147, 178, 0.2)",color:a==null?void 0:a.color}})},components:{Control:TW,DropdownIndicator:RW,Input:FW,SelectContainer:PW,ValueContainer:MW,Placeholder:OW,MultiValue:VW,Option:BW,...e},...r}),t?w.jsx($a,{children:t}):null,n?w.jsx(Ba,{children:n}):null]}),t1={Navbar:({children:e,className:t,...n})=>w.jsx("nav",{className:Ke("px-2 py-2 m-2","flex items-center justify-between rounded-lg select-none","bg-gradient-to-r from-primary-500 to-primary-400",t),...n,children:e}),Button:({children:e,className:t,...n})=>w.jsx("button",{className:Ke("rounded-md flex items-center justify-center","w-12 h-12","transition bg-white hover:bg-primary-50 active:bg-primary-100 text-primary-500",t),...n,children:e}),Title:({children:e,className:t,...n})=>w.jsx("h1",{className:Ke("pl-2 font-bold text-white text-2.5xl",t),...n,children:e})},DW=({label:e,name:t,className:n,...r})=>w.jsx("div",{className:Ke("bg-brand-light-gray rounded-lg inline-block p-1.5 transition","border-2 border-transparent focus-within:border-brand-primary focus-within:transition",{className:n!==""}),children:w.jsxs("label",{htmlFor:(r==null?void 0:r.id)||t,className:Ke("relative","flex gap-2 items-center justify-center"),children:[w.jsx("input",{name:t,type:"radio",className:Ke("relative appearance-none w-5 h-5 border rounded-full text-brand-primary cursor-pointer transition-all focus:ring-0 focus:ring-offset-0 focus:outline-none","checked:after:absolute checked:before:absolute","checked:after:inset-0 checked:before:inset-0","checked:after:rounded-full checked:before:rounded-full","checked:after:scale-75","checked:after:bg-brand-primary checked:before:bg-white","checked:border-2"),...r}),w.jsx("span",{className:"text-xs text-brand-secondary-text",children:e})]})}),NW=({roles:e,rolesRequired:t,children:n,className:r})=>{function i(){return!t.map(l=>!!e.includes(l)).some(l=>l===!1)}return i()?w.jsx(w.Fragment,{children:n}):w.jsx("span",{className:r??"hidden"})};function LW({selectProps:e,...t}){const{label:n,error:r,name:i}=e,{isDisabled:a,isFocused:l}=t;return w.jsxs(El,{disabled:a,error:r,children:[w.jsx(Ot.SelectContainer,{...t}),w.jsx(Da,{htmlFor:i,disabled:a,error:r,focused:l,className:Ke({"text-brand-primary":l}),children:n})]})}function jW(e){return w.jsx(Ot.Control,{className:"text-sm bg-transparent border-none focus-within:ring-0 focus:ring-0",...e})}function kW(e){return w.jsx(Ot.ValueContainer,{className:"items-end",...e})}function GW(e){return w.jsx(Ot.Placeholder,{className:"text-sm translate-y-1",...e})}function HW(e){return w.jsx(Ot.Input,{className:"py-0 text-sm translate-y-1 text-brand-text children:text-brand-text children:text-sm",...e})}function WW({innerRef:e,innerProps:t,selectProps:n}){const{menuIsOpen:r}=n;return w.jsx(w.Fragment,{children:r?w.jsx(qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t}):w.jsx(Qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t})})}function XW(e){return w.jsx(Ot.SingleValue,{className:"translate-y-1",...e})}function zW(e){const{isSelected:t}=e;return w.jsx(Ot.Option,{className:Ke("text-sm py-1 px-2","hover:bg-brand-tertiary-light hover:text-brand-primary",{"bg-brand-primary text-white":t}),...e})}const f3=({components:e,helper:t,error:n,...r})=>w.jsxs("div",{children:[w.jsx(e1,{isClearable:!0,noOptionsMessage:()=>"Nenhuma opção encontrada",styles:{option:(i,{isSelected:a})=>({...i,zIndex:9999,backgroundColor:a?"#0093B2":i.backgroundColor,color:a?"white":"inherit",":active":{backgroundColor:"#0093B2"},":hover":{color:"#0093B2",backgroundColor:"#BFF0FB"}})},components:{Control:jW,DropdownIndicator:WW,Input:HW,SelectContainer:LW,ValueContainer:kW,Placeholder:GW,SingleValue:XW,Option:zW,...e},...r}),t?w.jsx($a,{children:t}):null,n?w.jsx(Ba,{children:n}):null]});function ZW({selectProps:e,...t}){const{label:n,error:r,name:i}=e,{isDisabled:a,isFocused:l}=t;return w.jsxs(El,{disabled:a,error:r,children:[w.jsx(Ot.SelectContainer,{...t}),w.jsx(Da,{htmlFor:i,disabled:a,error:r,focused:l,className:Ke({"text-brand-primary":l}),children:n})]})}function UW(e){return w.jsx(Ot.Control,{className:"text-sm bg-transparent border-none focus-within:ring-0 focus:ring-0",...e})}function YW(e){return w.jsx(Ot.ValueContainer,{className:"items-end",...e})}function JW(e){return w.jsx(Ot.Placeholder,{className:"text-sm translate-y-1",...e})}function KW(e){return w.jsx(Ot.Input,{className:"py-0 text-sm translate-y-1 text-brand-text children:text-brand-text children:text-sm",...e})}function qW({innerRef:e,innerProps:t,selectProps:n}){const{menuIsOpen:r}=n;return w.jsx(w.Fragment,{children:r?w.jsx(qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t}):w.jsx(Qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t})})}function QW(e){return w.jsx(Ot.SingleValue,{className:"translate-y-1",...e})}function eX(e){const{isSelected:t}=e;return w.jsx(Ot.Option,{className:Ke("text-sm py-1 px-2","hover:bg-brand-tertiary-light hover:text-brand-primary",{"bg-brand-primary text-white":t}),...e})}function tX(e){const{children:t,selectProps:n}=e,{isLoading:r,loadMoreOptions:i,loadMoreLabel:a,hasMoreData:l,options:u}=n;return r||!l||u.length===0?w.jsx("div",{className:"overflow-y-auto max-h-72",children:t}):w.jsxs("div",{className:"overflow-y-auto max-h-72",children:[t,w.jsx("hr",{}),w.jsx("div",{className:"py-2 text-center cursor-pointer hover:bg-brand-tertiary-light",onClick:i,children:w.jsx("button",{disabled:r,className:"text-sm cursor-pointer text-brand-primary",children:w.jsxs("div",{className:"flex flex-row items-center justify-center w-full h-full gap-1 font-medium",children:[w.jsx(ly,{className:"w-4 h-4"}),a]})})})]})}const nX=({components:e,helper:t,error:n,noRecordsMessage:r,onInputChange:i,...a})=>{const l=b.useRef(null),u=b.useCallback(c=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{i&&i(c)},500)},[i]);return w.jsxs("div",{children:[w.jsx(e1,{isClearable:!0,noOptionsMessage:()=>r,onInputChange:u,styles:{option:(c,{isSelected:f})=>({...c,zIndex:9999,backgroundColor:f?"#0093B2":c.backgroundColor,color:f?"white":"inherit",":active":{backgroundColor:"#0093B2"},":hover":{color:"#0093B2",backgroundColor:"#BFF0FB"}})},components:{Control:UW,DropdownIndicator:qW,Input:KW,SelectContainer:ZW,ValueContainer:YW,Placeholder:JW,SingleValue:QW,Option:eX,MenuList:tX,...e},...a}),t?w.jsx($a,{children:t}):null,n?w.jsx(Ba,{children:n}):null]})};/**
|
|
121
|
+
`]))),eH=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,l=a.colors,u=a.spacing.baseUnit;return Oe({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?l.neutral60:l.neutral20,padding:u*2})},Zd=function(t){var n=t.delay,r=t.offset;return Pe("span",{css:Nd({animation:"".concat(QG," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},tH=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,l=vr(t,WG);return Pe("div",$e({},Mt(Oe(Oe({},l),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Pe(Zd,{delay:0,offset:r}),Pe(Zd,{delay:160,offset:!0}),Pe(Zd,{delay:320,offset:!r}))},nH=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,l=a.colors,u=a.borderRadius,c=a.spacing;return Oe({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:c.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?l.neutral5:l.neutral0,borderColor:r?l.neutral10:i?l.primary:l.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(l.primary):void 0,"&:hover":{borderColor:i?l.primary:l.neutral30}})},rH=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,l=t.innerProps,u=t.menuIsOpen;return Pe("div",$e({ref:a},Mt(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),l,{"aria-disabled":r||void 0}),n)},iH=rH,oH=["data"],aH=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},sH=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,l=t.Heading,u=t.headingProps,c=t.innerProps,f=t.label,h=t.theme,p=t.selectProps;return Pe("div",$e({},Mt(t,"group",{group:!0}),c),Pe(l,$e({},u,{selectProps:p,theme:h,getStyles:i,getClassNames:a,cx:r}),f),Pe("div",null,n))},lH=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return Oe({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},uH=function(t){var n=Tb(t);n.data;var r=vr(n,oH);return Pe("div",$e({},Mt(t,"groupHeading",{"group-heading":!0}),r))},cH=sH,fH=["innerRef","isDisabled","isHidden","inputClassName"],dH=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,l=a.spacing,u=a.colors;return Oe(Oe({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},hH),n?{}:{margin:l.baseUnit/2,paddingBottom:l.baseUnit/2,paddingTop:l.baseUnit/2,color:u.neutral80})},kb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},hH={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Oe({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},kb)},pH=function(t){return Oe({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},kb)},gH=function(t){var n=t.cx,r=t.value,i=Tb(t),a=i.innerRef,l=i.isDisabled,u=i.isHidden,c=i.inputClassName,f=vr(i,fH);return Pe("div",$e({},Mt(t,"input",{"input-container":!0}),{"data-value":r||""}),Pe("input",$e({className:n({input:!0},c),ref:a,style:pH(u),disabled:l},f)))},mH=gH,vH=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,l=r.colors;return Oe({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:l.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},bH=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,l=t.cropWithEllipsis;return Oe({overflow:"hidden",textOverflow:l||l===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},yH=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,l=r.colors,u=t.isFocused;return Oe({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?l.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:l.dangerLight,color:l.danger}})},Gb=function(t){var n=t.children,r=t.innerProps;return Pe("div",r,n)},CH=Gb,xH=Gb;function wH(e){var t=e.children,n=e.innerProps;return Pe("div",$e({role:"button"},n),t||Pe(zd,{size:14}))}var SH=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,l=t.isDisabled,u=t.removeProps,c=t.selectProps,f=r.Container,h=r.Label,p=r.Remove;return Pe(f,{data:i,innerProps:Oe(Oe({},Mt(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":l})),a),selectProps:c},Pe(h,{data:i,innerProps:Oe({},Mt(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:c},n),Pe(p,{data:i,innerProps:Oe(Oe({},Mt(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:c}))},IH=SH,EH=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,l=t.theme,u=l.spacing,c=l.colors;return Oe({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?c.primary:i?c.primary25:"transparent",color:r?c.neutral20:a?c.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?c.primary:c.primary50}})},AH=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,l=t.innerRef,u=t.innerProps;return Pe("div",$e({},Mt(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:l,"aria-disabled":r},u),n)},_H=AH,PH=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return Oe({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},TH=function(t){var n=t.children,r=t.innerProps;return Pe("div",$e({},Mt(t,"placeholder",{placeholder:!0}),r),n)},MH=TH,OH=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,l=i.colors;return Oe({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?l.neutral40:l.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},FH=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return Pe("div",$e({},Mt(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},RH=FH,Ot={ClearIndicator:JG,Control:iH,DropdownIndicator:UG,DownChevron:Nb,CrossIcon:zd,Group:cH,GroupHeading:uH,IndicatorsContainer:GG,IndicatorSeparator:qG,Input:mH,LoadingIndicator:tH,Menu:PG,MenuList:MG,MenuPortal:$G,LoadingMessage:VG,NoOptionsMessage:RG,MultiValue:IH,MultiValueContainer:CH,MultiValueLabel:xH,MultiValueRemove:wH,Option:_H,Placeholder:MH,SelectContainer:LG,SingleValue:RH,ValueContainer:jG},VH=function(t){return Oe(Oe({},Ot),t.components)},Hb=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function BH(e,t){return!!(e===t||Hb(e)&&Hb(t))}function $H(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!BH(e[n],t[n]))return!1;return!0}function DH(e,t){t===void 0&&(t=$H);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var l=e.apply(this,i);return n={lastResult:l,lastArgs:i,lastThis:this},l}return r.clear=function(){n=null},r}function LH(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var NH=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:LH},jH=function(t){return Pe("span",$e({css:NH},t))},Wb=jH,kH={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,l=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return l?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,l=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return l?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,l=a===void 0?"":a,u=t.selectValue,c=t.isDisabled,f=t.isSelected,h=t.isAppleDevice,p=function(x,E){return x&&x.length?"".concat(x.indexOf(E)+1," of ").concat(x.length):""};if(n==="value"&&u)return"value ".concat(l," focused, ").concat(p(u,r),".");if(n==="menu"&&h){var m=c?" disabled":"",v="".concat(f?" selected":"").concat(m);return"".concat(l).concat(v,", ").concat(p(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},GH=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,l=t.isFocused,u=t.selectValue,c=t.selectProps,f=t.id,h=t.isAppleDevice,p=c.ariaLiveMessages,m=c.getOptionLabel,v=c.inputValue,I=c.isMulti,x=c.isOptionDisabled,E=c.isSearchable,_=c.menuIsOpen,F=c.options,M=c.screenReaderStatus,$=c.tabSelectsValue,D=c.isLoading,H=c["aria-label"],z=c["aria-live"],U=b.useMemo(function(){return Oe(Oe({},kH),p||{})},[p]),se=b.useMemo(function(){var Te="";if(n&&U.onChange){var be=n.option,Ve=n.options,ze=n.removedValue,O=n.removedValues,T=n.value,V=function(J){return Array.isArray(J)?null:J},R=ze||be||V(T),y=R?m(R):"",k=Ve||O||void 0,ee=k?k.map(m):[],oe=Oe({isDisabled:R&&x(R,u),label:y,labels:ee},n);Te=U.onChange(oe)}return Te},[n,U,x,u,m]),Ae=b.useMemo(function(){var Te="",be=r||i,Ve=!!(r&&u&&u.includes(r));if(be&&U.onFocus){var ze={focused:be,label:m(be),isDisabled:x(be,u),isSelected:Ve,options:a,context:be===r?"menu":"value",selectValue:u,isAppleDevice:h};Te=U.onFocus(ze)}return Te},[r,i,m,x,U,a,u,h]),Xe=b.useMemo(function(){var Te="";if(_&&F.length&&!D&&U.onFilter){var be=M({count:a.length});Te=U.onFilter({inputValue:v,resultsMessage:be})}return Te},[a,v,_,U,F,M,D]),Ge=(n==null?void 0:n.action)==="initial-input-focus",pe=b.useMemo(function(){var Te="";if(U.guidance){var be=i?"value":_?"menu":"input";Te=U.guidance({"aria-label":H,context:be,isDisabled:r&&x(r,u),isMulti:I,isSearchable:E,tabSelectsValue:$,isInitialFocus:Ge})}return Te},[H,r,i,I,x,E,_,U,u,$,Ge]),Se=Pe(b.Fragment,null,Pe("span",{id:"aria-selection"},se),Pe("span",{id:"aria-focused"},Ae),Pe("span",{id:"aria-results"},Xe),Pe("span",{id:"aria-guidance"},pe));return Pe(b.Fragment,null,Pe(Wb,{id:f},Ge&&Se),Pe(Wb,{"aria-live":z,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!Ge&&Se))},HH=GH,Ud=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],WH=new RegExp("["+Ud.map(function(e){return e.letters}).join("")+"]","g"),Xb={},Yd=0;Yd<Ud.length;Yd++)for(var Jd=Ud[Yd],Kd=0;Kd<Jd.letters.length;Kd++)Xb[Jd.letters[Kd]]=Jd.base;var zb=function(t){return t.replace(WH,function(n){return Xb[n]})},XH=DH(zb),Zb=function(t){return t.replace(/^\s+|\s+$/g,"")},zH=function(t){return"".concat(t.label," ").concat(t.value)},ZH=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Oe({ignoreCase:!0,ignoreAccents:!0,stringify:zH,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,l=i.ignoreAccents,u=i.stringify,c=i.trim,f=i.matchFrom,h=c?Zb(r):r,p=c?Zb(u(n)):u(n);return a&&(h=h.toLowerCase(),p=p.toLowerCase()),l&&(h=XH(h),p=zb(p)),f==="start"?p.substr(0,h.length)===h:p.indexOf(h)>-1}},UH=["innerRef"];function YH(e){var t=e.innerRef,n=vr(e,UH),r=CG(n,"onExited","in","enter","exit","appear");return Pe("input",$e({ref:t},r,{css:Nd({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var JH=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function KH(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,l=b.useRef(!1),u=b.useRef(!1),c=b.useRef(0),f=b.useRef(null),h=b.useCallback(function(E,_){if(f.current!==null){var F=f.current,M=F.scrollTop,$=F.scrollHeight,D=F.clientHeight,H=f.current,z=_>0,U=$-D-M,se=!1;U>_&&l.current&&(r&&r(E),l.current=!1),z&&u.current&&(a&&a(E),u.current=!1),z&&_>U?(n&&!l.current&&n(E),H.scrollTop=$,se=!0,l.current=!0):!z&&-_>M&&(i&&!u.current&&i(E),H.scrollTop=0,se=!0,u.current=!0),se&&JH(E)}},[n,r,i,a]),p=b.useCallback(function(E){h(E,E.deltaY)},[h]),m=b.useCallback(function(E){c.current=E.changedTouches[0].clientY},[]),v=b.useCallback(function(E){var _=c.current-E.changedTouches[0].clientY;h(E,_)},[h]),I=b.useCallback(function(E){if(E){var _=vG?{passive:!1}:!1;E.addEventListener("wheel",p,_),E.addEventListener("touchstart",m,_),E.addEventListener("touchmove",v,_)}},[v,m,p]),x=b.useCallback(function(E){E&&(E.removeEventListener("wheel",p,!1),E.removeEventListener("touchstart",m,!1),E.removeEventListener("touchmove",v,!1))},[v,m,p]);return b.useEffect(function(){if(t){var E=f.current;return I(E),function(){x(E)}}},[t,I,x]),function(E){f.current=E}}var Ub=["boxSizing","height","overflow","paddingRight","position"],Yb={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Jb(e){e.cancelable&&e.preventDefault()}function Kb(e){e.stopPropagation()}function qb(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Qb(){return"ontouchstart"in window||navigator.maxTouchPoints}var e3=!!(typeof window<"u"&&window.document&&window.document.createElement),Wa=0,To={capture:!1,passive:!1};function qH(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=b.useRef({}),a=b.useRef(null),l=b.useCallback(function(c){if(e3){var f=document.body,h=f&&f.style;if(r&&Ub.forEach(function(I){var x=h&&h[I];i.current[I]=x}),r&&Wa<1){var p=parseInt(i.current.paddingRight,10)||0,m=document.body?document.body.clientWidth:0,v=window.innerWidth-m+p||0;Object.keys(Yb).forEach(function(I){var x=Yb[I];h&&(h[I]=x)}),h&&(h.paddingRight="".concat(v,"px"))}f&&Qb()&&(f.addEventListener("touchmove",Jb,To),c&&(c.addEventListener("touchstart",qb,To),c.addEventListener("touchmove",Kb,To))),Wa+=1}},[r]),u=b.useCallback(function(c){if(e3){var f=document.body,h=f&&f.style;Wa=Math.max(Wa-1,0),r&&Wa<1&&Ub.forEach(function(p){var m=i.current[p];h&&(h[p]=m)}),f&&Qb()&&(f.removeEventListener("touchmove",Jb,To),c&&(c.removeEventListener("touchstart",qb,To),c.removeEventListener("touchmove",Kb,To)))}},[r]);return b.useEffect(function(){if(t){var c=a.current;return l(c),function(){u(c)}}},[t,l,u]),function(c){a.current=c}}function QH(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var eW=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},tW=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:QH};function nW(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,l=e.onBottomLeave,u=e.onTopArrive,c=e.onTopLeave,f=KH({isEnabled:i,onBottomArrive:a,onBottomLeave:l,onTopArrive:u,onTopLeave:c}),h=qH({isEnabled:n}),p=function(v){f(v),h(v)};return Pe(b.Fragment,null,n&&Pe("div",{onClick:eW,css:tW}),t(p))}function rW(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var iW=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:rW},oW=function(t){var n=t.name,r=t.onFocus;return Pe("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:iW,value:"",onChange:function(){}})},aW=oW;function qd(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function sW(){return qd(/^iPhone/i)}function t3(){return qd(/^Mac/i)}function lW(){return qd(/^iPad/i)||t3()&&navigator.maxTouchPoints>1}function uW(){return sW()||lW()}function cW(){return t3()||uW()}var fW=function(t){return t.label},dW=function(t){return t.label},hW=function(t){return t.value},pW=function(t){return!!t.isDisabled},gW={clearIndicator:YG,container:DG,control:nH,dropdownIndicator:ZG,group:aH,groupHeading:lH,indicatorsContainer:kG,indicatorSeparator:KG,input:dH,loadingIndicator:eH,loadingMessage:FG,menu:EG,menuList:TG,menuPortal:BG,multiValue:vH,multiValueLabel:bH,multiValueRemove:yH,noOptionsMessage:OG,option:EH,placeholder:PH,singleValue:OH,valueContainer:NG},mW={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},vW=4,n3=4,bW=38,yW=n3*2,CW={baseUnit:n3,controlHeight:bW,menuGutter:yW},Qd={borderRadius:vW,colors:mW,spacing:CW},xW={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Fb(),captureMenuScroll:!Fb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:ZH(),formatGroupLabel:fW,getOptionLabel:dW,getOptionValue:hW,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:pW,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!gG(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function r3(e,t,n,r){var i=l3(e,t,n),a=u3(e,t,n),l=s3(e,t),u=Zl(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:l,value:u,index:r}}function zl(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(l,u){return r3(e,l,t,u)}).filter(function(l){return a3(e,l)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=r3(e,n,t,r);return a3(e,a)?a:void 0}).filter(bG)}function i3(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Md(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function o3(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Md(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function wW(e,t){return i3(zl(e,t))}function a3(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,l=t.label,u=t.value;return(!f3(e)||!a)&&c3(e,{label:l,value:u,data:i},r)}function SW(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function IW(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var e1=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},s3=function(t,n){return t.getOptionLabel(n)},Zl=function(t,n){return t.getOptionValue(n)};function l3(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function u3(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=Zl(e,t);return n.some(function(i){return Zl(e,i)===r})}function c3(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var f3=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},EW=1,d3=function(e){Zj(n,e);var t=Jj(n);function n(r){var i;if(Xj(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(c){i.controlRef=c},i.focusedOptionRef=null,i.getFocusedOptionRef=function(c){i.focusedOptionRef=c},i.menuListRef=null,i.getMenuListRef=function(c){i.menuListRef=c},i.inputRef=null,i.getInputRef=function(c){i.inputRef=c},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(c,f){var h=i.props,p=h.onChange,m=h.name;f.name=m,i.ariaOnChange(c,f),p(c,f)},i.setValue=function(c,f,h){var p=i.props,m=p.closeMenuOnSelect,v=p.isMulti,I=p.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:I}),m&&(i.setState({inputIsHiddenAfterUpdate:!v}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(c,{action:f,option:h})},i.selectOption=function(c){var f=i.props,h=f.blurInputOnSelect,p=f.isMulti,m=f.name,v=i.state.selectValue,I=p&&i.isOptionSelected(c,v),x=i.isOptionDisabled(c,v);if(I){var E=i.getOptionValue(c);i.setValue(v.filter(function(_){return i.getOptionValue(_)!==E}),"deselect-option",c)}else if(!x)p?i.setValue([].concat(Md(v),[c]),"select-option",c):i.setValue(c,"select-option");else{i.ariaOnChange(c,{action:"select-option",option:c,name:m});return}h&&i.blurInput()},i.removeValue=function(c){var f=i.props.isMulti,h=i.state.selectValue,p=i.getOptionValue(c),m=h.filter(function(I){return i.getOptionValue(I)!==p}),v=Xl(f,m,m[0]||null);i.onChange(v,{action:"remove-value",removedValue:c}),i.focusInput()},i.clearValue=function(){var c=i.state.selectValue;i.onChange(Xl(i.props.isMulti,[],null),{action:"clear",removedValues:c})},i.popValue=function(){var c=i.props.isMulti,f=i.state.selectValue,h=f[f.length-1],p=f.slice(0,f.length-1),m=Xl(c,p,p[0]||null);h&&i.onChange(m,{action:"pop-value",removedValue:h})},i.getFocusedOptionId=function(c){return e1(i.state.focusableOptionsWithIds,c)},i.getFocusableOptionsWithIds=function(){return o3(zl(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var c=arguments.length,f=new Array(c),h=0;h<c;h++)f[h]=arguments[h];return cG.apply(void 0,[i.props.classNamePrefix].concat(f))},i.getOptionLabel=function(c){return s3(i.props,c)},i.getOptionValue=function(c){return Zl(i.props,c)},i.getStyles=function(c,f){var h=i.props.unstyled,p=gW[c](f,h);p.boxSizing="border-box";var m=i.props.styles[c];return m?m(p,f):p},i.getClassNames=function(c,f){var h,p;return(h=(p=i.props.classNames)[c])===null||h===void 0?void 0:h.call(p,f)},i.getElementId=function(c){return"".concat(i.state.instancePrefix,"-").concat(c)},i.getComponents=function(){return VH(i.props)},i.buildCategorizedOptions=function(){return zl(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return i3(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(c,f){i.setState({ariaSelection:Oe({value:c},f)})},i.onMenuMouseDown=function(c){c.button===0&&(c.stopPropagation(),c.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(c){i.blockOptionHover=!1},i.onControlMouseDown=function(c){if(!c.defaultPrevented){var f=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&i.onMenuClose():f&&i.openMenu("first"):(f&&(i.openAfterFocus=!0),i.focusInput()),c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&c.preventDefault()}},i.onDropdownIndicatorMouseDown=function(c){if(!(c&&c.type==="mousedown"&&c.button!==0)&&!i.props.isDisabled){var f=i.props,h=f.isMulti,p=f.menuIsOpen;i.focusInput(),p?(i.setState({inputIsHiddenAfterUpdate:!h}),i.onMenuClose()):i.openMenu("first"),c.preventDefault()}},i.onClearIndicatorMouseDown=function(c){c&&c.type==="mousedown"&&c.button!==0||(i.clearValue(),c.preventDefault(),i.openAfterFocus=!1,c.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(c){typeof i.props.closeMenuOnScroll=="boolean"?c.target instanceof HTMLElement&&kl(c.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(c)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(c){var f=c.touches,h=f&&f.item(0);h&&(i.initialTouchX=h.clientX,i.initialTouchY=h.clientY,i.userIsDragging=!1)},i.onTouchMove=function(c){var f=c.touches,h=f&&f.item(0);if(h){var p=Math.abs(h.clientX-i.initialTouchX),m=Math.abs(h.clientY-i.initialTouchY),v=5;i.userIsDragging=p>v||m>v}},i.onTouchEnd=function(c){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(c.target)&&i.menuListRef&&!i.menuListRef.contains(c.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(c){i.userIsDragging||i.onControlMouseDown(c)},i.onClearIndicatorTouchEnd=function(c){i.userIsDragging||i.onClearIndicatorMouseDown(c)},i.onDropdownIndicatorTouchEnd=function(c){i.userIsDragging||i.onDropdownIndicatorMouseDown(c)},i.handleInputChange=function(c){var f=i.props.inputValue,h=c.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(h,{action:"input-change",prevInputValue:f}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(c){i.props.onFocus&&i.props.onFocus(c),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(c){var f=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(c),i.onInputChange("",{action:"input-blur",prevInputValue:f}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(c){if(!(i.blockOptionHover||i.state.focusedOption===c)){var f=i.getFocusableOptions(),h=f.indexOf(c);i.setState({focusedOption:c,focusedOptionId:h>-1?i.getFocusedOptionId(c):null})}},i.shouldHideSelectedOptions=function(){return f3(i.props)},i.onValueInputFocus=function(c){c.preventDefault(),c.stopPropagation(),i.focus()},i.onKeyDown=function(c){var f=i.props,h=f.isMulti,p=f.backspaceRemovesValue,m=f.escapeClearsValue,v=f.inputValue,I=f.isClearable,x=f.isDisabled,E=f.menuIsOpen,_=f.onKeyDown,F=f.tabSelectsValue,M=f.openMenuOnFocus,$=i.state,D=$.focusedOption,H=$.focusedValue,z=$.selectValue;if(!x&&!(typeof _=="function"&&(_(c),c.defaultPrevented))){switch(i.blockOptionHover=!0,c.key){case"ArrowLeft":if(!h||v)return;i.focusValue("previous");break;case"ArrowRight":if(!h||v)return;i.focusValue("next");break;case"Delete":case"Backspace":if(v)return;if(H)i.removeValue(H);else{if(!p)return;h?i.popValue():I&&i.clearValue()}break;case"Tab":if(i.isComposing||c.shiftKey||!E||!F||!D||M&&i.isOptionSelected(D,z))return;i.selectOption(D);break;case"Enter":if(c.keyCode===229)break;if(E){if(!D||i.isComposing)return;i.selectOption(D);break}return;case"Escape":E?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:v}),i.onMenuClose()):I&&m&&i.clearValue();break;case" ":if(v)return;if(!E){i.openMenu("first");break}if(!D)return;i.selectOption(D);break;case"ArrowUp":E?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":E?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!E)return;i.focusOption("pageup");break;case"PageDown":if(!E)return;i.focusOption("pagedown");break;case"Home":if(!E)return;i.focusOption("first");break;case"End":if(!E)return;i.focusOption("last");break;default:return}c.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++EW),i.state.selectValue=Pb(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),l=i.buildFocusableOptions(),u=l.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=l[u],i.state.focusedOptionId=e1(a,l[u])}return i}return zj(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ob(this.menuListRef,this.focusedOptionRef),cW()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(i){var a=this.props,l=a.isDisabled,u=a.menuIsOpen,c=this.state.isFocused;(c&&!l&&i.isDisabled||c&&u&&!i.menuIsOpen)&&this.focusInput(),c&&l&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!c&&!l&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ob(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,l=this.state,u=l.selectValue,c=l.isFocused,f=this.buildFocusableOptions(),h=i==="first"?0:f.length-1;if(!this.props.isMulti){var p=f.indexOf(u[0]);p>-1&&(h=p)}this.scrollToFocusedOptionOnUpdate=!(c&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:f[h],focusedOptionId:this.getFocusedOptionId(f[h])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,l=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var c=l.indexOf(u);u||(c=-1);var f=l.length-1,h=-1;if(l.length){switch(i){case"previous":c===0?h=0:c===-1?h=f:h=c-1;break;case"next":c>-1&&c<f&&(h=c+1);break}this.setState({inputIsHidden:h!==-1,focusedValue:l[h]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,l=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var c=0,f=u.indexOf(l);l||(f=-1),i==="up"?c=f>0?f-1:u.length-1:i==="down"?c=(f+1)%u.length:i==="pageup"?(c=f-a,c<0&&(c=0)):i==="pagedown"?(c=f+a,c>u.length-1&&(c=u.length-1)):i==="last"&&(c=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[c],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[c])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Qd):Oe(Oe({},Qd),this.props.theme):Qd}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,l=this.getStyles,u=this.getClassNames,c=this.getValue,f=this.selectOption,h=this.setValue,p=this.props,m=p.isMulti,v=p.isRtl,I=p.options,x=this.hasValue();return{clearValue:i,cx:a,getStyles:l,getClassNames:u,getValue:c,hasValue:x,isMulti:m,isRtl:v,options:I,selectOption:f,selectProps:p,setValue:h,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,l=i.isMulti;return a===void 0?l:a}},{key:"isOptionDisabled",value:function(i,a){return l3(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return u3(this.props,i,a)}},{key:"filterOption",value:function(i,a){return c3(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var l=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:l,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,l=i.isSearchable,u=i.inputId,c=i.inputValue,f=i.tabIndex,h=i.form,p=i.menuIsOpen,m=i.required,v=this.getComponents(),I=v.Input,x=this.state,E=x.inputIsHidden,_=x.ariaSelection,F=this.commonProps,M=u||this.getElementId("input"),$=Oe(Oe(Oe({"aria-autocomplete":"list","aria-expanded":p,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":m,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},p&&{"aria-controls":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?(_==null?void 0:_.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?ae.createElement(I,$e({},F,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:M,innerRef:this.getInputRef,isDisabled:a,isHidden:E,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:f,form:h,type:"text",value:c},$)):ae.createElement(YH,$e({id:M,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:jl,onFocus:this.onInputFocus,disabled:a,tabIndex:f,inputMode:"none",form:h,value:""},$))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),l=a.MultiValue,u=a.MultiValueContainer,c=a.MultiValueLabel,f=a.MultiValueRemove,h=a.SingleValue,p=a.Placeholder,m=this.commonProps,v=this.props,I=v.controlShouldRenderValue,x=v.isDisabled,E=v.isMulti,_=v.inputValue,F=v.placeholder,M=this.state,$=M.selectValue,D=M.focusedValue,H=M.isFocused;if(!this.hasValue()||!I)return _?null:ae.createElement(p,$e({},m,{key:"placeholder",isDisabled:x,isFocused:H,innerProps:{id:this.getElementId("placeholder")}}),F);if(E)return $.map(function(U,se){var Ae=U===D,Xe="".concat(i.getOptionLabel(U),"-").concat(i.getOptionValue(U));return ae.createElement(l,$e({},m,{components:{Container:u,Label:c,Remove:f},isFocused:Ae,isDisabled:x,key:Xe,index:se,removeProps:{onClick:function(){return i.removeValue(U)},onTouchEnd:function(){return i.removeValue(U)},onMouseDown:function(pe){pe.preventDefault()}},data:U}),i.formatOptionLabel(U,"value"))});if(_)return null;var z=$[0];return ae.createElement(h,$e({},m,{data:z,isDisabled:x}),this.formatOptionLabel(z,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,l=this.commonProps,u=this.props,c=u.isDisabled,f=u.isLoading,h=this.state.isFocused;if(!this.isClearable()||!a||c||!this.hasValue()||f)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ae.createElement(a,$e({},l,{innerProps:p,isFocused:h}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,l=this.commonProps,u=this.props,c=u.isDisabled,f=u.isLoading,h=this.state.isFocused;if(!a||!f)return null;var p={"aria-hidden":"true"};return ae.createElement(a,$e({},l,{innerProps:p,isDisabled:c,isFocused:h}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,l=i.IndicatorSeparator;if(!a||!l)return null;var u=this.commonProps,c=this.props.isDisabled,f=this.state.isFocused;return ae.createElement(l,$e({},u,{isDisabled:c,isFocused:f}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var l=this.commonProps,u=this.props.isDisabled,c=this.state.isFocused,f={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ae.createElement(a,$e({},l,{innerProps:f,isDisabled:u,isFocused:c}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),l=a.Group,u=a.GroupHeading,c=a.Menu,f=a.MenuList,h=a.MenuPortal,p=a.LoadingMessage,m=a.NoOptionsMessage,v=a.Option,I=this.commonProps,x=this.state.focusedOption,E=this.props,_=E.captureMenuScroll,F=E.inputValue,M=E.isLoading,$=E.loadingMessage,D=E.minMenuHeight,H=E.maxMenuHeight,z=E.menuIsOpen,U=E.menuPlacement,se=E.menuPosition,Ae=E.menuPortalTarget,Xe=E.menuShouldBlockScroll,Ge=E.menuShouldScrollIntoView,pe=E.noOptionsMessage,Se=E.onMenuScrollToTop,Te=E.onMenuScrollToBottom;if(!z)return null;var be=function(y,k){var ee=y.type,oe=y.data,Z=y.isDisabled,J=y.isSelected,re=y.label,ie=y.value,ue=x===oe,K=Z?void 0:function(){return i.onOptionHover(oe)},fe=Z?void 0:function(){return i.selectOption(oe)},q="".concat(i.getElementId("option"),"-").concat(k),de={id:q,onClick:fe,onMouseMove:K,onMouseOver:K,tabIndex:-1,role:"option","aria-selected":i.state.isAppleDevice?void 0:J};return ae.createElement(v,$e({},I,{innerProps:de,data:oe,isDisabled:Z,isSelected:J,key:q,label:re,type:ee,value:ie,isFocused:ue,innerRef:ue?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(y.data,"menu"))},Ve;if(this.hasOptions())Ve=this.getCategorizedOptions().map(function(R){if(R.type==="group"){var y=R.data,k=R.options,ee=R.index,oe="".concat(i.getElementId("group"),"-").concat(ee),Z="".concat(oe,"-heading");return ae.createElement(l,$e({},I,{key:oe,data:y,options:k,Heading:u,headingProps:{id:Z,data:R.data},label:i.formatGroupLabel(R.data)}),R.options.map(function(J){return be(J,"".concat(ee,"-").concat(J.index))}))}else if(R.type==="option")return be(R,"".concat(R.index))});else if(M){var ze=$({inputValue:F});if(ze===null)return null;Ve=ae.createElement(p,I,ze)}else{var O=pe({inputValue:F});if(O===null)return null;Ve=ae.createElement(m,I,O)}var T={minMenuHeight:D,maxMenuHeight:H,menuPlacement:U,menuPosition:se,menuShouldScrollIntoView:Ge},V=ae.createElement(AG,$e({},I,T),function(R){var y=R.ref,k=R.placerProps,ee=k.placement,oe=k.maxHeight;return ae.createElement(c,$e({},I,T,{innerRef:y,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:M,placement:ee}),ae.createElement(nW,{captureEnabled:_,onTopArrive:Se,onBottomArrive:Te,lockEnabled:Xe},function(Z){return ae.createElement(f,$e({},I,{innerRef:function(re){i.getMenuListRef(re),Z(re)},innerProps:{role:"listbox","aria-multiselectable":I.isMulti,id:i.getElementId("listbox")},isLoading:M,maxHeight:oe,focusedOption:x}),Ve)}))});return Ae||se==="fixed"?ae.createElement(h,$e({},I,{appendTo:Ae,controlElement:this.controlRef,menuPlacement:U,menuPosition:se}),V):V}},{key:"renderFormField",value:function(){var i=this,a=this.props,l=a.delimiter,u=a.isDisabled,c=a.isMulti,f=a.name,h=a.required,p=this.state.selectValue;if(h&&!this.hasValue()&&!u)return ae.createElement(aW,{name:f,onFocus:this.onValueInputFocus});if(!(!f||u))if(c)if(l){var m=p.map(function(x){return i.getOptionValue(x)}).join(l);return ae.createElement("input",{name:f,type:"hidden",value:m})}else{var v=p.length>0?p.map(function(x,E){return ae.createElement("input",{key:"i-".concat(E),name:f,type:"hidden",value:i.getOptionValue(x)})}):ae.createElement("input",{name:f,type:"hidden",value:""});return ae.createElement("div",null,v)}else{var I=p[0]?this.getOptionValue(p[0]):"";return ae.createElement("input",{name:f,type:"hidden",value:I})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,l=a.ariaSelection,u=a.focusedOption,c=a.focusedValue,f=a.isFocused,h=a.selectValue,p=this.getFocusableOptions();return ae.createElement(HH,$e({},i,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:u,focusedValue:c,isFocused:f,selectValue:h,focusableOptions:p,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,l=i.IndicatorsContainer,u=i.SelectContainer,c=i.ValueContainer,f=this.props,h=f.className,p=f.id,m=f.isDisabled,v=f.menuIsOpen,I=this.state.isFocused,x=this.commonProps=this.getCommonProps();return ae.createElement(u,$e({},x,{className:h,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:m,isFocused:I}),this.renderLiveRegion(),ae.createElement(a,$e({},x,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:m,isFocused:I,menuIsOpen:v}),ae.createElement(c,$e({},x,{isDisabled:m}),this.renderPlaceholderOrValue(),this.renderInput()),ae.createElement(l,$e({},x,{isDisabled:m}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var l=a.prevProps,u=a.clearFocusValueOnUpdate,c=a.inputIsHiddenAfterUpdate,f=a.ariaSelection,h=a.isFocused,p=a.prevWasFocused,m=a.instancePrefix,v=i.options,I=i.value,x=i.menuIsOpen,E=i.inputValue,_=i.isMulti,F=Pb(I),M={};if(l&&(I!==l.value||v!==l.options||x!==l.menuIsOpen||E!==l.inputValue)){var $=x?wW(i,F):[],D=x?o3(zl(i,F),"".concat(m,"-option")):[],H=u?SW(a,F):null,z=IW(a,$),U=e1(D,z);M={selectValue:F,focusedOption:z,focusedOptionId:U,focusableOptionsWithIds:D,focusedValue:H,clearFocusValueOnUpdate:!1}}var se=c!=null&&i!==l?{inputIsHidden:c,inputIsHiddenAfterUpdate:void 0}:{},Ae=f,Xe=h&&p;return h&&!Xe&&(Ae={value:Xl(_,F,F[0]||null),options:F,action:"initial-input-focus"},Xe=!p),(f==null?void 0:f.action)==="initial-input-focus"&&(Ae=null),Oe(Oe(Oe({},M),se),{},{prevProps:i,ariaSelection:Ae,prevWasFocused:Xe})}}]),n}(b.Component);d3.defaultProps=xW;var AW=b.forwardRef(function(e,t){var n=Wj(e);return ae.createElement(d3,$e({ref:t},n))}),t1=AW;function _W({selectProps:e,...t}){const{label:n,error:r,name:i}=e,{isDisabled:a,isFocused:l,hasValue:u}=t;return w.jsxs(El,{disabled:a,error:r,children:[w.jsx(Ot.SelectContainer,{...t}),w.jsx(Da,{htmlFor:i,disabled:a,error:r,focused:l,className:Ke("left-2.5 bottom-1.5",{"text-brand-primary":l,"!bottom-[14px]":u}),children:n})]})}function PW(e){return w.jsx(Ot.Control,{className:"text-sm bg-transparent border-none focus-within:ring-0 focus:ring-0",...e})}function TW(e){return w.jsx(Ot.ValueContainer,{className:"overflow-hidden max-h-6 py-0 my-0",...e})}function MW(e){return w.jsx(Ot.Placeholder,{className:"text-sm translate-y-1",...e})}function OW(e){return w.jsx(Ot.Input,{className:"py-0 text-sm text-brand-text children:text-brand-text children:text-sm",...e})}function FW({innerRef:e,innerProps:t,selectProps:n}){const{menuIsOpen:r}=n;return w.jsx(w.Fragment,{children:r?w.jsx(qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t}):w.jsx(Qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t})})}function RW(e){return w.jsx(Ot.MultiValue,{className:"rounded-sm text-xs max-w-[140px] truncate",...e})}function VW(e){const{isSelected:t}=e;return w.jsx(Ot.Option,{className:Ke("text-sm py-1 px-2","hover:bg-brand-tertiary-light hover:text-brand-primary",{"bg-brand-primary text-white":t}),...e})}const BW=({components:e,helper:t,error:n,...r})=>w.jsxs("div",{children:[w.jsx(t1,{closeMenuOnSelect:!1,noOptionsMessage:()=>"Nenhuma opção encontrada",isMulti:!0,hideSelectedOptions:!1,styles:{option:(i,{isSelected:a})=>({...i,zIndex:9999,backgroundColor:a?"#0093B2":i.backgroundColor,color:a?"white":"inherit",":active":{backgroundColor:"#0093B2"},":hover":{color:"#0093B2",backgroundColor:"#BFF0FB"}}),multiValue:i=>({...i,backgroundColor:"#0093b250"}),multiValueLabel:(i,{data:a})=>({...i,color:a==null?void 0:a.color}),multiValueRemove:(i,{data:a})=>({...i,color:a==null?void 0:a.color,transition:"all",":hover":{backgroundColor:"rgba(0, 147, 178, 0.2)",color:a==null?void 0:a.color}})},components:{Control:PW,DropdownIndicator:FW,Input:OW,SelectContainer:_W,ValueContainer:TW,Placeholder:MW,MultiValue:RW,Option:VW,...e},...r}),t?w.jsx($a,{children:t}):null,n?w.jsx(Ba,{children:n}):null]}),n1={Navbar:({children:e,className:t,...n})=>w.jsx("nav",{className:Ke("px-2 py-2 m-2","flex items-center justify-between rounded-lg select-none","bg-gradient-to-r from-primary-500 to-primary-400",t),...n,children:e}),Button:({children:e,className:t,...n})=>w.jsx("button",{className:Ke("rounded-md flex items-center justify-center","w-12 h-12","transition bg-white hover:bg-primary-50 active:bg-primary-100 text-primary-500",t),...n,children:e}),Title:({children:e,className:t,...n})=>w.jsx("h1",{className:Ke("pl-2 font-bold text-white text-2.5xl",t),...n,children:e})},$W=({label:e,name:t,className:n,...r})=>w.jsx("div",{className:Ke("bg-brand-light-gray rounded-lg inline-block p-1.5 transition","border-2 border-transparent focus-within:border-brand-primary focus-within:transition",{className:n!==""}),children:w.jsxs("label",{htmlFor:(r==null?void 0:r.id)||t,className:Ke("relative","flex gap-2 items-center justify-center"),children:[w.jsx("input",{name:t,type:"radio",className:Ke("relative appearance-none w-5 h-5 border rounded-full text-brand-primary cursor-pointer transition-all focus:ring-0 focus:ring-offset-0 focus:outline-none","checked:after:absolute checked:before:absolute","checked:after:inset-0 checked:before:inset-0","checked:after:rounded-full checked:before:rounded-full","checked:after:scale-75","checked:after:bg-brand-primary checked:before:bg-white","checked:border-2"),...r}),w.jsx("span",{className:"text-xs text-brand-secondary-text",children:e})]})}),DW=({roles:e,rolesRequired:t,children:n,className:r})=>{function i(){return!t.map(l=>!!e.includes(l)).some(l=>l===!1)}return i()?w.jsx(w.Fragment,{children:n}):w.jsx("span",{className:r??"hidden"})};function LW({selectProps:e,...t}){const{label:n,error:r,name:i}=e,{isDisabled:a,isFocused:l}=t;return w.jsxs(El,{disabled:a,error:r,children:[w.jsx(Ot.SelectContainer,{...t}),w.jsx(Da,{htmlFor:i,disabled:a,error:r,focused:l,className:Ke({"text-brand-primary":l}),children:n})]})}function NW(e){return w.jsx(Ot.Control,{className:"text-sm bg-transparent border-none focus-within:ring-0 focus:ring-0",...e})}function jW(e){return w.jsx(Ot.ValueContainer,{className:"items-end",...e})}function kW(e){return w.jsx(Ot.Placeholder,{className:"text-sm translate-y-1",...e})}function GW(e){return w.jsx(Ot.Input,{className:"py-0 text-sm translate-y-1 text-brand-text children:text-brand-text children:text-sm",...e})}function HW({innerRef:e,innerProps:t,selectProps:n}){const{menuIsOpen:r}=n;return w.jsx(w.Fragment,{children:r?w.jsx(qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t}):w.jsx(Qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t})})}function WW(e){return w.jsx(Ot.SingleValue,{className:"translate-y-1",...e})}function XW(e){const{isSelected:t}=e;return w.jsx(Ot.Option,{className:Ke("text-sm py-1 px-2","hover:bg-brand-tertiary-light hover:text-brand-primary",{"bg-brand-primary text-white":t}),...e})}const h3=({components:e,helper:t,error:n,...r})=>w.jsxs("div",{children:[w.jsx(t1,{isClearable:!0,noOptionsMessage:()=>"Nenhuma opção encontrada",styles:{option:(i,{isSelected:a})=>({...i,zIndex:9999,backgroundColor:a?"#0093B2":i.backgroundColor,color:a?"white":"inherit",":active":{backgroundColor:"#0093B2"},":hover":{color:"#0093B2",backgroundColor:"#BFF0FB"}})},components:{Control:NW,DropdownIndicator:HW,Input:GW,SelectContainer:LW,ValueContainer:jW,Placeholder:kW,SingleValue:WW,Option:XW,...e},...r}),t?w.jsx($a,{children:t}):null,n?w.jsx(Ba,{children:n}):null]});function zW({selectProps:e,...t}){const{label:n,error:r,name:i}=e,{isDisabled:a,isFocused:l}=t;return w.jsxs(El,{disabled:a,error:r,children:[w.jsx(Ot.SelectContainer,{...t}),w.jsx(Da,{htmlFor:i,disabled:a,error:r,focused:l,className:Ke({"text-brand-primary":l}),children:n})]})}function ZW(e){return w.jsx(Ot.Control,{className:"text-sm bg-transparent border-none focus-within:ring-0 focus:ring-0",...e})}function UW(e){return w.jsx(Ot.ValueContainer,{className:"items-end",...e})}function YW(e){return w.jsx(Ot.Placeholder,{className:"text-sm translate-y-1",...e})}function JW(e){return w.jsx(Ot.Input,{className:"py-0 text-sm translate-y-1 text-brand-text children:text-brand-text children:text-sm",...e})}function KW({innerRef:e,innerProps:t,selectProps:n}){const{menuIsOpen:r}=n;return w.jsx(w.Fragment,{children:r?w.jsx(qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t}):w.jsx(Qu,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t})})}function qW(e){return w.jsx(Ot.SingleValue,{className:"translate-y-1",...e})}function QW(e){const{isSelected:t}=e;return w.jsx(Ot.Option,{className:Ke("text-sm py-1 px-2","hover:bg-brand-tertiary-light hover:text-brand-primary",{"bg-brand-primary text-white":t}),...e})}function eX(e){const{children:t,selectProps:n}=e,{isLoading:r,loadMoreOptions:i,loadMoreLabel:a,hasMoreData:l,options:u}=n;return r||!l||u.length===0?w.jsx("div",{className:"overflow-y-auto max-h-72",children:t}):w.jsxs("div",{className:"overflow-y-auto max-h-72",children:[t,w.jsx("hr",{}),w.jsx("div",{className:"py-2 text-center cursor-pointer hover:bg-brand-tertiary-light",onClick:i,children:w.jsx("button",{disabled:r,className:"text-sm cursor-pointer text-brand-primary",children:w.jsxs("div",{className:"flex flex-row items-center justify-center w-full h-full gap-1 font-medium",children:[w.jsx(uy,{className:"w-4 h-4"}),a]})})})]})}const tX=({components:e,helper:t,error:n,noRecordsMessage:r,onInputChange:i,...a})=>{const l=b.useRef(null),u=b.useCallback(c=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{i&&i(c)},500)},[i]);return w.jsxs("div",{children:[w.jsx(t1,{isClearable:!0,noOptionsMessage:()=>r,onInputChange:u,styles:{option:(c,{isSelected:f})=>({...c,zIndex:9999,backgroundColor:f?"#0093B2":c.backgroundColor,color:f?"white":"inherit",":active":{backgroundColor:"#0093B2"},":hover":{color:"#0093B2",backgroundColor:"#BFF0FB"}})},components:{Control:ZW,DropdownIndicator:KW,Input:JW,SelectContainer:zW,ValueContainer:UW,Placeholder:YW,SingleValue:qW,Option:QW,MenuList:eX,...e},...a}),t?w.jsx($a,{children:t}):null,n?w.jsx(Ba,{children:n}):null]})};/**
|
|
122
122
|
* @remix-run/router v1.23.2
|
|
123
123
|
*
|
|
124
124
|
* Copyright (c) Remix Software Inc.
|
|
@@ -127,7 +127,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
127
127
|
* LICENSE.md file in the root directory of this source tree.
|
|
128
128
|
*
|
|
129
129
|
* @license MIT
|
|
130
|
-
*/function
|
|
130
|
+
*/function r1(){return r1=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},r1.apply(this,arguments)}var p3;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(p3||(p3={}));function Rt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Mo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function i1(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function g3(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var m3;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(m3||(m3={}));function v3(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=nX(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],l=a.replace(/(.)\/+$/,"$1"),u=i.slice(1);return{params:r.reduce((f,h,p)=>{let{paramName:m,isOptional:v}=h;if(m==="*"){let x=u[p]||"";l=a.slice(0,a.length-x.length).replace(/(.)\/+$/,"$1")}const I=u[p];return v&&!I?f[m]=void 0:f[m]=(I||"").replace(/%2F/g,"/"),f},{}),pathname:a,pathnameBase:l,pattern:e}}function nX(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Mo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,c)=>(r.push({paramName:u,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Oo(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const rX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,iX=e=>rX.test(e);function oX(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?g3(e):e,a;if(n)if(iX(n))a=n;else{if(n.includes("//")){let l=n;n=n.replace(/\/\/+/g,"/"),Mo(!1,"Pathnames cannot have embedded double slashes - normalizing "+(l+" -> "+n))}n.startsWith("/")?a=b3(n.substring(1),"/"):a=b3(n,t)}else a=t;return{pathname:a,search:sX(r),hash:lX(i)}}function b3(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function o1(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function aX(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function y3(e,t){let n=aX(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function C3(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=g3(e):(i=r1({},e),Rt(!i.pathname||!i.pathname.includes("?"),o1("?","pathname","search",i)),Rt(!i.pathname||!i.pathname.includes("#"),o1("#","pathname","hash",i)),Rt(!i.search||!i.search.includes("#"),o1("#","search","hash",i)));let a=e===""||i.pathname==="",l=a?"/":i.pathname,u;if(l==null)u=n;else{let p=t.length-1;if(!r&&l.startsWith("..")){let m=l.split("/");for(;m[0]==="..";)m.shift(),p-=1;i.pathname=m.join("/")}u=p>=0?t[p]:"/"}let c=oX(i,u),f=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(f||h)&&(c.pathname+="/"),c}const a1=e=>e.join("/").replace(/\/\/+/g,"/"),sX=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,lX=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,x3=["post","put","patch","delete"];new Set(x3);const uX=["get",...x3];new Set(uX);/**
|
|
131
131
|
* React Router v6.30.3
|
|
132
132
|
*
|
|
133
133
|
* Copyright (c) Remix Software Inc.
|
|
@@ -136,7 +136,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
136
136
|
* LICENSE.md file in the root directory of this source tree.
|
|
137
137
|
*
|
|
138
138
|
* @license MIT
|
|
139
|
-
*/function
|
|
139
|
+
*/function s1(){return s1=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},s1.apply(this,arguments)}const Ul=ae.createContext(null);process.env.NODE_ENV!=="production"&&(Ul.displayName="DataRouter");const w3=ae.createContext(null);process.env.NODE_ENV!=="production"&&(w3.displayName="DataRouterState");const cX=ae.createContext(null);process.env.NODE_ENV!=="production"&&(cX.displayName="Await");const yr=ae.createContext(null);process.env.NODE_ENV!=="production"&&(yr.displayName="Navigation");const l1=ae.createContext(null);process.env.NODE_ENV!=="production"&&(l1.displayName="Location");const Fo=ae.createContext({outlet:null,matches:[],isDataRoute:!1});process.env.NODE_ENV!=="production"&&(Fo.displayName="Route");const fX=ae.createContext(null);process.env.NODE_ENV!=="production"&&(fX.displayName="RouteError");function dX(e,t){let{relative:n}=t===void 0?{}:t;u1()||(process.env.NODE_ENV!=="production"?Rt(!1,"useHref() may be used only in the context of a <Router> component."):Rt(!1));let{basename:r,navigator:i}=ae.useContext(yr),{hash:a,pathname:l,search:u}=Xa(e,{relative:n}),c=l;return r!=="/"&&(c=l==="/"?r:a1([r,l])),i.createHref({pathname:c,search:u,hash:a})}function u1(){return ae.useContext(l1)!=null}function Ro(){return u1()||(process.env.NODE_ENV!=="production"?Rt(!1,"useLocation() may be used only in the context of a <Router> component."):Rt(!1)),ae.useContext(l1).location}const S3="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function I3(e){ae.useContext(yr).static||ae.useLayoutEffect(e)}function hX(){let{isDataRoute:e}=ae.useContext(Fo);return e?bX():pX()}function pX(){u1()||(process.env.NODE_ENV!=="production"?Rt(!1,"useNavigate() may be used only in the context of a <Router> component."):Rt(!1));let e=ae.useContext(Ul),{basename:t,future:n,navigator:r}=ae.useContext(yr),{matches:i}=ae.useContext(Fo),{pathname:a}=Ro(),l=JSON.stringify(y3(i,n.v7_relativeSplatPath)),u=ae.useRef(!1);return I3(()=>{u.current=!0}),ae.useCallback(function(f,h){if(h===void 0&&(h={}),process.env.NODE_ENV!=="production"&&Mo(u.current,S3),!u.current)return;if(typeof f=="number"){r.go(f);return}let p=C3(f,JSON.parse(l),a,h.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:a1([t,p.pathname])),(h.replace?r.replace:r.push)(p,h.state,h)},[t,r,l,a,e])}function Xa(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=ae.useContext(yr),{matches:i}=ae.useContext(Fo),{pathname:a}=Ro(),l=JSON.stringify(y3(i,r.v7_relativeSplatPath));return ae.useMemo(()=>C3(e,JSON.parse(l),a,n==="path"),[e,l,a,n])}var E3=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(E3||{}),c1=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(c1||{});function A3(e){return e+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function gX(e){let t=ae.useContext(Ul);return t||(process.env.NODE_ENV!=="production"?Rt(!1,A3(e)):Rt(!1)),t}function mX(e){let t=ae.useContext(Fo);return t||(process.env.NODE_ENV!=="production"?Rt(!1,A3(e)):Rt(!1)),t}function _3(e){let t=mX(e),n=t.matches[t.matches.length-1];return n.route.id||(process.env.NODE_ENV!=="production"?Rt(!1,e+' can only be used on routes that contain a unique "id"'):Rt(!1)),n.route.id}function vX(){return _3(c1.UseRouteId)}function bX(){let{router:e}=gX(E3.UseNavigateStable),t=_3(c1.UseNavigateStable),n=ae.useRef(!1);return I3(()=>{n.current=!0}),ae.useCallback(function(i,a){a===void 0&&(a={}),process.env.NODE_ENV!=="production"&&Mo(n.current,S3),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,s1({fromRouteId:t},a)))},[e,t])}new Promise(()=>{});/**
|
|
140
140
|
* React Router DOM v6.30.3
|
|
141
141
|
*
|
|
142
142
|
* Copyright (c) Remix Software Inc.
|
|
@@ -145,10 +145,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
145
145
|
* LICENSE.md file in the root directory of this source tree.
|
|
146
146
|
*
|
|
147
147
|
* @license MIT
|
|
148
|
-
*/function Vo(){return Vo=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},Vo.apply(this,arguments)}function c1(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const Yl="get",Jl="application/x-www-form-urlencoded";function Kl(e){return e!=null&&typeof e.tagName=="string"}function CX(e){return Kl(e)&&e.tagName.toLowerCase()==="button"}function xX(e){return Kl(e)&&e.tagName.toLowerCase()==="form"}function wX(e){return Kl(e)&&e.tagName.toLowerCase()==="input"}function SX(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function IX(e,t){return e.button===0&&(!t||t==="_self")&&!SX(e)}let ql=null;function EX(){if(ql===null)try{new FormData(document.createElement("form"),0),ql=!1}catch{ql=!0}return ql}const AX=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function f1(e){return e!=null&&!AX.has(e)?(process.env.NODE_ENV!=="production"&&Mo(!1,'"'+e+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Jl+'"')),null):e}function _X(e,t){let n,r,i,a,l;if(xX(e)){let u=e.getAttribute("action");r=u?Oo(u,t):null,n=e.getAttribute("method")||Yl,i=f1(e.getAttribute("enctype"))||Jl,a=new FormData(e)}else if(CX(e)||wX(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=e.getAttribute("formaction")||u.getAttribute("action");if(r=c?Oo(c,t):null,n=e.getAttribute("formmethod")||u.getAttribute("method")||Yl,i=f1(e.getAttribute("formenctype"))||f1(u.getAttribute("enctype"))||Jl,a=new FormData(u,e),!EX()){let{name:f,type:h,value:p}=e;if(h==="image"){let m=f?f+".":"";a.append(m+"x","0"),a.append(m+"y","0")}else f&&a.append(f,p)}}else{if(Kl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Yl,r=null,i=Jl,l=e}return a&&i==="text/plain"&&(l=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:l}}const PX=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],TX=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],MX=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],OX="6";try{window.__reactRouterVersion=OX}catch{}const A3=ae.createContext({isTransitioning:!1});process.env.NODE_ENV!=="production"&&(A3.displayName="ViewTransition");const FX=ae.createContext(new Map);process.env.NODE_ENV!=="production"&&(FX.displayName="Fetchers"),process.env.NODE_ENV;const RX=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",VX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,d1=ae.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:l,state:u,target:c,to:f,preventScrollReset:h,viewTransition:p}=t,m=c1(t,PX),{basename:v}=ae.useContext(yr),S,x=!1;if(typeof f=="string"&&VX.test(f)&&(S=f,RX))try{let R=new URL(window.location.href),$=f.startsWith("//")?new URL(R.protocol+f):new URL(f),N=Oo($.pathname,v);$.origin===R.origin&&N!=null?f=N+$.search+$.hash:x=!0}catch{process.env.NODE_ENV!=="production"&&Mo(!1,'<Link to="'+f+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let E=hX(f,{relative:i}),A=NX(f,{replace:l,state:u,target:c,preventScrollReset:h,relative:i,viewTransition:p});function O(R){r&&r(R),R.defaultPrevented||A(R)}return ae.createElement("a",Vo({},m,{href:S||E,onClick:x||a?r:O,ref:n,target:c}))});process.env.NODE_ENV!=="production"&&(d1.displayName="Link");const BX=ae.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:a="",end:l=!1,style:u,to:c,viewTransition:f,children:h}=t,p=c1(t,TX),m=Xa(c,{relative:p.relative}),v=Ro(),S=ae.useContext(C3),{navigator:x,basename:E}=ae.useContext(yr),A=S!=null&&WX(m)&&f===!0,O=x.encodeLocation?x.encodeLocation(m).pathname:m.pathname,R=v.pathname,$=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;i||(R=R.toLowerCase(),$=$?$.toLowerCase():null,O=O.toLowerCase()),$&&E&&($=Oo($,E)||$);const N=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let X=R===O||!l&&R.startsWith(O)&&R.charAt(N)==="/",Z=$!=null&&($===O||!l&&$.startsWith(O)&&$.charAt(O.length)==="/"),U={isActive:X,isPending:Z,isTransitioning:A},se=X?r:void 0,Ae;typeof a=="function"?Ae=a(U):Ae=[a,X?"active":null,Z?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let Xe=typeof u=="function"?u(U):u;return ae.createElement(d1,Vo({},p,{"aria-current":se,className:Ae,ref:n,style:Xe,to:c,viewTransition:f}),typeof h=="function"?h(U):h)});process.env.NODE_ENV!=="production"&&(BX.displayName="NavLink");const $X=ae.forwardRef((e,t)=>{let{fetcherKey:n,navigate:r,reloadDocument:i,replace:a,state:l,method:u=Yl,action:c,onSubmit:f,relative:h,preventScrollReset:p,viewTransition:m}=e,v=c1(e,MX),S=GX(),x=HX(c,{relative:h}),E=u.toLowerCase()==="get"?"get":"post",A=O=>{if(f&&f(O),O.defaultPrevented)return;O.preventDefault();let R=O.nativeEvent.submitter,$=(R==null?void 0:R.getAttribute("formmethod"))||u;S(R||O.currentTarget,{fetcherKey:n,method:$,navigate:r,replace:a,state:l,relative:h,preventScrollReset:p,viewTransition:m})};return ae.createElement("form",Vo({ref:t,method:E,action:x,onSubmit:i?f:A},v))});process.env.NODE_ENV!=="production"&&($X.displayName="Form"),process.env.NODE_ENV;var Ql;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ql||(Ql={}));var _3;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_3||(_3={}));function DX(e){return e+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function P3(e){let t=ae.useContext(Ul);return t||(process.env.NODE_ENV!=="production"?Rt(!1,DX(e)):Rt(!1)),t}function NX(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:l,viewTransition:u}=t===void 0?{}:t,c=pX(),f=Ro(),h=Xa(e,{relative:l});return ae.useCallback(p=>{if(IX(p,n)){p.preventDefault();let m=r!==void 0?r:r1(f)===r1(h);c(e,{replace:m,state:i,preventScrollReset:a,relative:l,viewTransition:u})}},[f,c,h,r,i,n,e,a,l,u])}function LX(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let jX=0,kX=()=>"__"+String(++jX)+"__";function GX(){let{router:e}=P3(Ql.UseSubmit),{basename:t}=ae.useContext(yr),n=bX();return ae.useCallback(function(r,i){i===void 0&&(i={}),LX();let{action:a,method:l,encType:u,formData:c,body:f}=_X(r,t);if(i.navigate===!1){let h=i.fetcherKey||kX();e.fetch(h,n,i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:f,formMethod:i.method||l,formEncType:i.encType||u,flushSync:i.flushSync})}else e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:f,formMethod:i.method||l,formEncType:i.encType||u,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function HX(e,t){let{relative:n}=t===void 0?{}:t,{basename:r}=ae.useContext(yr),i=ae.useContext(Fo);i||(process.env.NODE_ENV!=="production"?Rt(!1,"useFormAction must be used inside a RouteContext"):Rt(!1));let[a]=i.matches.slice(-1),l=Vo({},Xa(e||".",{relative:n})),u=Ro();if(e==null){l.search=u.search;let c=new URLSearchParams(l.search),f=c.getAll("index");if(f.some(p=>p==="")){c.delete("index"),f.filter(m=>m).forEach(m=>c.append("index",m));let p=c.toString();l.search=p?"?"+p:""}}return(!e||e===".")&&a.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(l.pathname=l.pathname==="/"?r:o1([r,l.pathname])),r1(l)}function WX(e,t){t===void 0&&(t={});let n=ae.useContext(A3);n==null&&(process.env.NODE_ENV!=="production"?Rt(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):Rt(!1));let{basename:r}=P3(Ql.useViewTransitionState),i=Xa(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=Oo(n.currentLocation.pathname,r)||n.currentLocation.pathname,l=Oo(n.nextLocation.pathname,r)||n.nextLocation.pathname;return g3(i.pathname,l)!=null||g3(i.pathname,a)!=null}function XX(e=!1){const[t,n]=b.useState(e);function r(){n(i=>!i)}return{open:t,setOpen:n,toggle:r}}function zX({route:e,children:t,level:n,lastIndex:r,currentIndex:i,closeDialog:a}){const{pathname:l}=Ro(),u=l===e.url,{open:c,toggle:f}=XX();function h(m){m.preventDefault(),e.hasChildren&&f()}function p(){e.url!=="#"&&a()}return w.jsxs(w.Fragment,{children:[w.jsx("div",{className:Ke("dark:border-brand-secondary-text","bg-white dark:bg-brand-dark-gray-dark","text-brand-dark-gray-dark dark:text-white","flex items-center justify-between px-2.5 py-1.5 text-sm","group transition cursor-pointer select-none children:select-none","hover:transition hover:text-white hover:bg-brand dark:hover:bg-brand",{"text-base":e.hasChildren,"dark:border-t":e.hasChildren||n===0,"dark:bg-transparent":!e.hasChildren},{"pl-2.5":n===0,"pl-6":n===1,"pl-12":n===2,"pl-16":n===3,"pl-20":n===4}),onClick:h,children:w.jsxs(d1,{to:e.url||"#",onClick:p,className:"flex items-center justify-between w-full",children:[w.jsxs("div",{className:"flex items-center justify-between gap-2",children:[!e.hasChildren&&w.jsx("div",{className:Ke({"bg-brand-secondary text-white dark:bg-brand-secondary-text":u,"bg-brand-light-gray text-brand-disabled dark:bg-brand-secondary-text":!u},"w-8 h-8 rounded-lg flex items-center justify-center"),children:e.icon}),w.jsx("span",{children:e.title})]}),e.hasChildren&&w.jsx("div",{className:"text-brand-dark-gray group-hover:text-white",children:c?w.jsx(ty,{}):w.jsx(ey,{})})]})},`item-side-menu-${e.id}`),c&&t,w.jsx("hr",{className:Ke("flex w-full border solid border-brand-secondary-text-dark",{hidden:i===r||n>0})},`border-down-menu-${e.id}`)]})}function T3({treeData:e,parentId:t="",level:n=0,closeDialog:r}){const i=e.filter(l=>(l==null?void 0:l.parentId)===t),a=i.length-1;return i.length?w.jsx(w.Fragment,{children:i.map((l,u)=>w.jsx(zX,{route:l,level:n,currentIndex:u,lastIndex:a,closeDialog:r,children:w.jsx(T3,{closeDialog:r,treeData:e,parentId:l.id,level:n+1})},l.id))}):null}function ZX({onClick:e}){return w.jsx(t1.Button,{onClick:e,children:w.jsx("div",{className:"flex items-center justify-center",children:w.jsx(Y4,{className:"w-6 h-6"})})})}function UX({isOpen:e,children:t}){return w.jsx(w.Fragment,{children:e&&w.jsx(ga.div,{transition:{type:"tween"},initial:{opacity:0,x:"-100%"},animate:{opacity:1,x:0},exit:{opacity:0,x:"-100%"},onClick:n=>n.stopPropagation(),className:"h-screen overflow-y-scroll bg-white border-r-4 dark:bg-brand-dark-gray-dark border-brand-secondary rounded-tr-xl rounded-br-xl w-80",children:t},"side-menu-container")})}function YX({routes:e,open:t=!1}){const[n,r]=b.useState(t);function i(){r(l=>!l)}function a(){r(!1)}return w.jsxs(w.Fragment,{children:[w.jsx(ZX,{onClick:i}),w.jsx(Ws,{isOpen:n,close:a,children:w.jsx(UX,{isOpen:n,children:w.jsx(T3,{treeData:e,closeDialog:a})})})]})}function JX({dismiss:e,message:t}){return w.jsxs("div",{className:"relative z-[999] flex items-center p-4 text-sm border-l-4 border-green-400 shadow-lg w-80 bg-green-50",children:[w.jsx("button",{type:"button",className:"absolute top-0 right-0 w-4 m-3 text-green-400",onClick:e,children:w.jsx(Cs,{className:"w-4 h-4"})}),w.jsx("div",{className:"flex-shrink-0 w-5 h-5 mr-2 text-green-500",children:w.jsx(by,{})}),w.jsx("p",{className:"text-sm",children:t})]})}var KX=Object.defineProperty,qX=(e,t,n)=>t in e?KX(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h1=(e,t,n)=>(qX(e,typeof t!="symbol"?t+"":t,n),n);let QX=class{constructor(){h1(this,"current",this.detect()),h1(this,"handoffState","pending"),h1(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Bo=new QX,$o=(e,t)=>{Bo.isServer?b.useEffect(e,t):b.useLayoutEffect(e,t)};function ez(e){let t=b.useRef(e);return $o(()=>{t.current=e},[e]),t}let zr=function(e){let t=ez(e);return b.useCallback((...n)=>t.current(...n),[t])};function tz(e,t,n){let[r,i]=b.useState(n),a=e!==void 0,l=b.useRef(a),u=b.useRef(!1),c=b.useRef(!1);return a&&!l.current&&!u.current?(u.current=!0,l.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!a&&l.current&&!c.current&&(c.current=!0,l.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[a?e:r,zr(f=>(a||i(f),t==null?void 0:t(f)))]}function nz(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function M3(){let e=[],t={addEventListener(n,r,i,a){return n.addEventListener(r,i,a),t.add(()=>n.removeEventListener(r,i,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return nz(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=M3();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function rz(){let[e]=b.useState(M3);return b.useEffect(()=>()=>e.dispose(),[e]),e}function iz(){let e=typeof document>"u";return"useSyncExternalStore"in ae?(t=>t.useSyncExternalStore)(ae)(()=>()=>{},()=>!1,()=>!e):!1}function oz(){let e=iz(),[t,n]=ae.useState(Bo.isHandoffComplete);return t&&Bo.isHandoffComplete===!1&&n(!1),ae.useEffect(()=>{t!==!0&&n(!0)},[t]),ae.useEffect(()=>Bo.handoff(),[]),e?!1:t}var O3;let p1=(O3=b.useId)!=null?O3:function(){let e=oz(),[t,n]=b.useState(e?()=>Bo.nextId():null);return $o(()=>{t===null&&n(Bo.nextId())},[t]),t!=null?""+t:void 0};function F3(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,F3),r}function R3(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function az(e,t){let[n,r]=b.useState(()=>R3(e));return $o(()=>{r(R3(e))},[e.type,e.as]),$o(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let sz=Symbol();function g1(...e){let t=b.useRef(e);b.useEffect(()=>{t.current=e},[e]);let n=zr(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[sz]))?void 0:n}function V3(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var lz=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(lz||{}),uz=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(uz||{});function za({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:l,mergeRefs:u}){u=u??cz;let c=B3(t,e);if(a)return eu(c,n,r,l,u);let f=i??0;if(f&2){let{static:h=!1,...p}=c;if(h)return eu(p,n,r,l,u)}if(f&1){let{unmount:h=!0,...p}=c;return F3(h?0:1,{0(){return null},1(){return eu({...p,hidden:!0,style:{display:"none"}},n,r,l,u)}})}return eu(c,n,r,l,u)}function eu(e,t={},n,r,i){let{as:a=n,children:l,refName:u="ref",...c}=v1(e,["unmount","static"]),f=e.ref!==void 0?{[u]:e.ref}:{},h=typeof l=="function"?l(t):l;"className"in c&&c.className&&typeof c.className=="function"&&(c.className=c.className(t));let p={};if(t){let m=!1,v=[];for(let[S,x]of Object.entries(t))typeof x=="boolean"&&(m=!0),x===!0&&v.push(S);m&&(p["data-headlessui-state"]=v.join(" "))}if(a===b.Fragment&&Object.keys(m1(c)).length>0){if(!b.isValidElement(h)||Array.isArray(h)&&h.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map(x=>` - ${x}`).join(`
|
|
148
|
+
*/function Vo(){return Vo=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},Vo.apply(this,arguments)}function f1(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const Yl="get",Jl="application/x-www-form-urlencoded";function Kl(e){return e!=null&&typeof e.tagName=="string"}function yX(e){return Kl(e)&&e.tagName.toLowerCase()==="button"}function CX(e){return Kl(e)&&e.tagName.toLowerCase()==="form"}function xX(e){return Kl(e)&&e.tagName.toLowerCase()==="input"}function wX(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function SX(e,t){return e.button===0&&(!t||t==="_self")&&!wX(e)}let ql=null;function IX(){if(ql===null)try{new FormData(document.createElement("form"),0),ql=!1}catch{ql=!0}return ql}const EX=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function d1(e){return e!=null&&!EX.has(e)?(process.env.NODE_ENV!=="production"&&Mo(!1,'"'+e+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Jl+'"')),null):e}function AX(e,t){let n,r,i,a,l;if(CX(e)){let u=e.getAttribute("action");r=u?Oo(u,t):null,n=e.getAttribute("method")||Yl,i=d1(e.getAttribute("enctype"))||Jl,a=new FormData(e)}else if(yX(e)||xX(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=e.getAttribute("formaction")||u.getAttribute("action");if(r=c?Oo(c,t):null,n=e.getAttribute("formmethod")||u.getAttribute("method")||Yl,i=d1(e.getAttribute("formenctype"))||d1(u.getAttribute("enctype"))||Jl,a=new FormData(u,e),!IX()){let{name:f,type:h,value:p}=e;if(h==="image"){let m=f?f+".":"";a.append(m+"x","0"),a.append(m+"y","0")}else f&&a.append(f,p)}}else{if(Kl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Yl,r=null,i=Jl,l=e}return a&&i==="text/plain"&&(l=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:l}}const _X=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],PX=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],TX=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],MX="6";try{window.__reactRouterVersion=MX}catch{}const P3=ae.createContext({isTransitioning:!1});process.env.NODE_ENV!=="production"&&(P3.displayName="ViewTransition");const OX=ae.createContext(new Map);process.env.NODE_ENV!=="production"&&(OX.displayName="Fetchers"),process.env.NODE_ENV;const FX=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",RX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,h1=ae.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:l,state:u,target:c,to:f,preventScrollReset:h,viewTransition:p}=t,m=f1(t,_X),{basename:v}=ae.useContext(yr),I,x=!1;if(typeof f=="string"&&RX.test(f)&&(I=f,FX))try{let M=new URL(window.location.href),$=f.startsWith("//")?new URL(M.protocol+f):new URL(f),D=Oo($.pathname,v);$.origin===M.origin&&D!=null?f=D+$.search+$.hash:x=!0}catch{process.env.NODE_ENV!=="production"&&Mo(!1,'<Link to="'+f+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let E=dX(f,{relative:i}),_=DX(f,{replace:l,state:u,target:c,preventScrollReset:h,relative:i,viewTransition:p});function F(M){r&&r(M),M.defaultPrevented||_(M)}return ae.createElement("a",Vo({},m,{href:I||E,onClick:x||a?r:F,ref:n,target:c}))});process.env.NODE_ENV!=="production"&&(h1.displayName="Link");const VX=ae.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:a="",end:l=!1,style:u,to:c,viewTransition:f,children:h}=t,p=f1(t,PX),m=Xa(c,{relative:p.relative}),v=Ro(),I=ae.useContext(w3),{navigator:x,basename:E}=ae.useContext(yr),_=I!=null&&HX(m)&&f===!0,F=x.encodeLocation?x.encodeLocation(m).pathname:m.pathname,M=v.pathname,$=I&&I.navigation&&I.navigation.location?I.navigation.location.pathname:null;i||(M=M.toLowerCase(),$=$?$.toLowerCase():null,F=F.toLowerCase()),$&&E&&($=Oo($,E)||$);const D=F!=="/"&&F.endsWith("/")?F.length-1:F.length;let H=M===F||!l&&M.startsWith(F)&&M.charAt(D)==="/",z=$!=null&&($===F||!l&&$.startsWith(F)&&$.charAt(F.length)==="/"),U={isActive:H,isPending:z,isTransitioning:_},se=H?r:void 0,Ae;typeof a=="function"?Ae=a(U):Ae=[a,H?"active":null,z?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let Xe=typeof u=="function"?u(U):u;return ae.createElement(h1,Vo({},p,{"aria-current":se,className:Ae,ref:n,style:Xe,to:c,viewTransition:f}),typeof h=="function"?h(U):h)});process.env.NODE_ENV!=="production"&&(VX.displayName="NavLink");const BX=ae.forwardRef((e,t)=>{let{fetcherKey:n,navigate:r,reloadDocument:i,replace:a,state:l,method:u=Yl,action:c,onSubmit:f,relative:h,preventScrollReset:p,viewTransition:m}=e,v=f1(e,TX),I=kX(),x=GX(c,{relative:h}),E=u.toLowerCase()==="get"?"get":"post",_=F=>{if(f&&f(F),F.defaultPrevented)return;F.preventDefault();let M=F.nativeEvent.submitter,$=(M==null?void 0:M.getAttribute("formmethod"))||u;I(M||F.currentTarget,{fetcherKey:n,method:$,navigate:r,replace:a,state:l,relative:h,preventScrollReset:p,viewTransition:m})};return ae.createElement("form",Vo({ref:t,method:E,action:x,onSubmit:i?f:_},v))});process.env.NODE_ENV!=="production"&&(BX.displayName="Form"),process.env.NODE_ENV;var Ql;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ql||(Ql={}));var T3;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(T3||(T3={}));function $X(e){return e+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function M3(e){let t=ae.useContext(Ul);return t||(process.env.NODE_ENV!=="production"?Rt(!1,$X(e)):Rt(!1)),t}function DX(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:l,viewTransition:u}=t===void 0?{}:t,c=hX(),f=Ro(),h=Xa(e,{relative:l});return ae.useCallback(p=>{if(SX(p,n)){p.preventDefault();let m=r!==void 0?r:i1(f)===i1(h);c(e,{replace:m,state:i,preventScrollReset:a,relative:l,viewTransition:u})}},[f,c,h,r,i,n,e,a,l,u])}function LX(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let NX=0,jX=()=>"__"+String(++NX)+"__";function kX(){let{router:e}=M3(Ql.UseSubmit),{basename:t}=ae.useContext(yr),n=vX();return ae.useCallback(function(r,i){i===void 0&&(i={}),LX();let{action:a,method:l,encType:u,formData:c,body:f}=AX(r,t);if(i.navigate===!1){let h=i.fetcherKey||jX();e.fetch(h,n,i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:f,formMethod:i.method||l,formEncType:i.encType||u,flushSync:i.flushSync})}else e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:f,formMethod:i.method||l,formEncType:i.encType||u,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function GX(e,t){let{relative:n}=t===void 0?{}:t,{basename:r}=ae.useContext(yr),i=ae.useContext(Fo);i||(process.env.NODE_ENV!=="production"?Rt(!1,"useFormAction must be used inside a RouteContext"):Rt(!1));let[a]=i.matches.slice(-1),l=Vo({},Xa(e||".",{relative:n})),u=Ro();if(e==null){l.search=u.search;let c=new URLSearchParams(l.search),f=c.getAll("index");if(f.some(p=>p==="")){c.delete("index"),f.filter(m=>m).forEach(m=>c.append("index",m));let p=c.toString();l.search=p?"?"+p:""}}return(!e||e===".")&&a.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(l.pathname=l.pathname==="/"?r:a1([r,l.pathname])),i1(l)}function HX(e,t){t===void 0&&(t={});let n=ae.useContext(P3);n==null&&(process.env.NODE_ENV!=="production"?Rt(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):Rt(!1));let{basename:r}=M3(Ql.useViewTransitionState),i=Xa(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=Oo(n.currentLocation.pathname,r)||n.currentLocation.pathname,l=Oo(n.nextLocation.pathname,r)||n.nextLocation.pathname;return v3(i.pathname,l)!=null||v3(i.pathname,a)!=null}function WX(e=!1){const[t,n]=b.useState(e);function r(){n(i=>!i)}return{open:t,setOpen:n,toggle:r}}function XX({route:e,children:t,level:n,lastIndex:r,currentIndex:i,closeDialog:a}){const{pathname:l}=Ro(),u=l===e.url,{open:c,toggle:f}=WX();function h(m){m.preventDefault(),e.hasChildren&&f()}function p(){e.url!=="#"&&a()}return w.jsxs(w.Fragment,{children:[w.jsx("div",{className:Ke("dark:border-brand-secondary-text","bg-white dark:bg-brand-dark-gray-dark","text-brand-dark-gray-dark dark:text-white","flex items-center justify-between px-2.5 py-1.5 text-sm","group transition cursor-pointer select-none children:select-none","hover:transition hover:text-white hover:bg-brand dark:hover:bg-brand",{"text-base":e.hasChildren,"dark:border-t":e.hasChildren||n===0,"dark:bg-transparent":!e.hasChildren},{"pl-2.5":n===0,"pl-6":n===1,"pl-12":n===2,"pl-16":n===3,"pl-20":n===4}),onClick:h,children:w.jsxs(h1,{to:e.url||"#",onClick:p,className:"flex items-center justify-between w-full",children:[w.jsxs("div",{className:"flex items-center justify-between gap-2",children:[!e.hasChildren&&w.jsx("div",{className:Ke({"bg-brand-secondary text-white dark:bg-brand-secondary-text":u,"bg-brand-light-gray text-brand-disabled dark:bg-brand-secondary-text":!u},"w-8 h-8 rounded-lg flex items-center justify-center"),children:e.icon}),w.jsx("span",{children:e.title})]}),e.hasChildren&&w.jsx("div",{className:"text-brand-dark-gray group-hover:text-white",children:c?w.jsx(ny,{}):w.jsx(ty,{})})]})},`item-side-menu-${e.id}`),c&&t,w.jsx("hr",{className:Ke("flex w-full border solid border-brand-secondary-text-dark",{hidden:i===r||n>0})},`border-down-menu-${e.id}`)]})}function O3({treeData:e,parentId:t="",level:n=0,closeDialog:r}){const i=e.filter(l=>(l==null?void 0:l.parentId)===t),a=i.length-1;return i.length?w.jsx(w.Fragment,{children:i.map((l,u)=>w.jsx(XX,{route:l,level:n,currentIndex:u,lastIndex:a,closeDialog:r,children:w.jsx(O3,{closeDialog:r,treeData:e,parentId:l.id,level:n+1})},l.id))}):null}function zX({onClick:e}){return w.jsx(n1.Button,{onClick:e,children:w.jsx("div",{className:"flex items-center justify-center",children:w.jsx(J4,{className:"w-6 h-6"})})})}function ZX({isOpen:e,children:t}){return w.jsx(w.Fragment,{children:e&&w.jsx(ga.div,{transition:{type:"tween"},initial:{opacity:0,x:"-100%"},animate:{opacity:1,x:0},exit:{opacity:0,x:"-100%"},onClick:n=>n.stopPropagation(),className:"h-screen overflow-y-scroll bg-white border-r-4 dark:bg-brand-dark-gray-dark border-brand-secondary rounded-tr-xl rounded-br-xl w-80",children:t},"side-menu-container")})}function UX({routes:e,open:t=!1}){const[n,r]=b.useState(t);function i(){r(l=>!l)}function a(){r(!1)}return w.jsxs(w.Fragment,{children:[w.jsx(zX,{onClick:i}),w.jsx(Ws,{isOpen:n,close:a,children:w.jsx(ZX,{isOpen:n,children:w.jsx(O3,{treeData:e,closeDialog:a})})})]})}function YX({dismiss:e,message:t}){return w.jsxs("div",{className:"relative z-[999] flex items-center p-4 text-sm border-l-4 border-green-400 shadow-lg w-80 bg-green-50",children:[w.jsx("button",{type:"button",className:"absolute top-0 right-0 w-4 m-3 text-green-400",onClick:e,children:w.jsx(Cs,{className:"w-4 h-4"})}),w.jsx("div",{className:"flex-shrink-0 w-5 h-5 mr-2 text-green-500",children:w.jsx(yy,{})}),w.jsx("p",{className:"text-sm",children:t})]})}var JX=Object.defineProperty,KX=(e,t,n)=>t in e?JX(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p1=(e,t,n)=>(KX(e,typeof t!="symbol"?t+"":t,n),n);let qX=class{constructor(){p1(this,"current",this.detect()),p1(this,"handoffState","pending"),p1(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Bo=new qX,$o=(e,t)=>{Bo.isServer?b.useEffect(e,t):b.useLayoutEffect(e,t)};function QX(e){let t=b.useRef(e);return $o(()=>{t.current=e},[e]),t}let zr=function(e){let t=QX(e);return b.useCallback((...n)=>t.current(...n),[t])};function ez(e,t,n){let[r,i]=b.useState(n),a=e!==void 0,l=b.useRef(a),u=b.useRef(!1),c=b.useRef(!1);return a&&!l.current&&!u.current?(u.current=!0,l.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!a&&l.current&&!c.current&&(c.current=!0,l.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[a?e:r,zr(f=>(a||i(f),t==null?void 0:t(f)))]}function tz(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function F3(){let e=[],t={addEventListener(n,r,i,a){return n.addEventListener(r,i,a),t.add(()=>n.removeEventListener(r,i,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return tz(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=F3();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function nz(){let[e]=b.useState(F3);return b.useEffect(()=>()=>e.dispose(),[e]),e}function rz(){let e=typeof document>"u";return"useSyncExternalStore"in ae?(t=>t.useSyncExternalStore)(ae)(()=>()=>{},()=>!1,()=>!e):!1}function iz(){let e=rz(),[t,n]=ae.useState(Bo.isHandoffComplete);return t&&Bo.isHandoffComplete===!1&&n(!1),ae.useEffect(()=>{t!==!0&&n(!0)},[t]),ae.useEffect(()=>Bo.handoff(),[]),e?!1:t}var R3;let g1=(R3=b.useId)!=null?R3:function(){let e=iz(),[t,n]=b.useState(e?()=>Bo.nextId():null);return $o(()=>{t===null&&n(Bo.nextId())},[t]),t!=null?""+t:void 0};function V3(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,V3),r}function B3(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function oz(e,t){let[n,r]=b.useState(()=>B3(e));return $o(()=>{r(B3(e))},[e.type,e.as]),$o(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let az=Symbol();function m1(...e){let t=b.useRef(e);b.useEffect(()=>{t.current=e},[e]);let n=zr(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[az]))?void 0:n}function $3(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var sz=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(sz||{}),lz=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(lz||{});function za({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:l,mergeRefs:u}){u=u??uz;let c=D3(t,e);if(a)return eu(c,n,r,l,u);let f=i??0;if(f&2){let{static:h=!1,...p}=c;if(h)return eu(p,n,r,l,u)}if(f&1){let{unmount:h=!0,...p}=c;return V3(h?0:1,{0(){return null},1(){return eu({...p,hidden:!0,style:{display:"none"}},n,r,l,u)}})}return eu(c,n,r,l,u)}function eu(e,t={},n,r,i){let{as:a=n,children:l,refName:u="ref",...c}=b1(e,["unmount","static"]),f=e.ref!==void 0?{[u]:e.ref}:{},h=typeof l=="function"?l(t):l;"className"in c&&c.className&&typeof c.className=="function"&&(c.className=c.className(t));let p={};if(t){let m=!1,v=[];for(let[I,x]of Object.entries(t))typeof x=="boolean"&&(m=!0),x===!0&&v.push(I);m&&(p["data-headlessui-state"]=v.join(" "))}if(a===b.Fragment&&Object.keys(v1(c)).length>0){if(!b.isValidElement(h)||Array.isArray(h)&&h.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map(x=>` - ${x}`).join(`
|
|
149
149
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(x=>` - ${x}`).join(`
|
|
150
150
|
`)].join(`
|
|
151
|
-
`));let m=h.props,v=typeof(m==null?void 0:m.className)=="function"?(...x)
|
|
151
|
+
`));let m=h.props,v=typeof(m==null?void 0:m.className)=="function"?(...x)=>$3(m==null?void 0:m.className(...x),c.className):$3(m==null?void 0:m.className,c.className),I=v?{className:v}:{};return b.cloneElement(h,Object.assign({},D3(h.props,v1(b1(c,["ref"]))),p,f,{ref:i(h.ref,f.ref)},I))}return b.createElement(a,Object.assign({},b1(c,["ref"]),a!==b.Fragment&&f,a!==b.Fragment&&p),h)}function uz(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function D3(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...a){let l=n[r];for(let u of l){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;u(i,...a)}}});return t}function tu(e){var t;return Object.assign(b.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function v1(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function b1(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}let cz="div";var L3=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(L3||{});function fz(e,t){var n;let{features:r=1,...i}=e,a={ref:t,"aria-hidden":(r&2)===2?!0:(n=i["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return za({ourProps:a,theirProps:i,slot:{},defaultTag:cz,name:"Hidden"})}let dz=tu(fz);function hz(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&pz(n)?!1:r}function pz(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function gz(e){var t,n;let r=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(r){for(let i of r.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(n=r.requestSubmit)==null||n.call(r)}}var y1=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(y1||{});let N3=b.createContext(null);function j3(){let e=b.useContext(N3);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,j3),t}return e}function mz(){let[e,t]=b.useState([]);return[e.length>0?e.join(" "):void 0,b.useMemo(()=>function(n){let r=zr(a=>(t(l=>[...l,a]),()=>t(l=>{let u=l.slice(),c=u.indexOf(a);return c!==-1&&u.splice(c,1),u}))),i=b.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return b.createElement(N3.Provider,{value:i},n.children)},[t])]}let vz="p";function bz(e,t){let n=g1(),{id:r=`headlessui-description-${n}`,...i}=e,a=j3(),l=m1(t);$o(()=>a.register(r),[r,a.register]);let u={ref:l,...a.props,id:r};return za({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:vz,name:a.name||"Description"})}let yz=tu(bz),Cz=Object.assign(yz,{}),k3=b.createContext(null);function G3(){let e=b.useContext(k3);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,G3),t}return e}function xz(){let[e,t]=b.useState([]);return[e.length>0?e.join(" "):void 0,b.useMemo(()=>function(n){let r=zr(a=>(t(l=>[...l,a]),()=>t(l=>{let u=l.slice(),c=u.indexOf(a);return c!==-1&&u.splice(c,1),u}))),i=b.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return b.createElement(k3.Provider,{value:i},n.children)},[t])]}let wz="label";function Sz(e,t){let n=g1(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,l=G3(),u=m1(t);$o(()=>l.register(r),[r,l.register]);let c={ref:u,...l.props,id:r};return i&&("onClick"in c&&(delete c.htmlFor,delete c.onClick),"onClick"in a&&delete a.onClick),za({ourProps:c,theirProps:a,slot:l.slot||{},defaultTag:wz,name:l.name||"Label"})}let Iz=tu(Sz),Ez=Object.assign(Iz,{}),C1=b.createContext(null);C1.displayName="GroupContext";let Az=b.Fragment;function _z(e){var t;let[n,r]=b.useState(null),[i,a]=xz(),[l,u]=mz(),c=b.useMemo(()=>({switch:n,setSwitch:r,labelledby:i,describedby:l}),[n,r,i,l]),f={},h=e;return b.createElement(u,{name:"Switch.Description"},b.createElement(a,{name:"Switch.Label",props:{htmlFor:(t=c.switch)==null?void 0:t.id,onClick(p){n&&(p.currentTarget.tagName==="LABEL"&&p.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},b.createElement(C1.Provider,{value:c},za({ourProps:f,theirProps:h,defaultTag:Az,name:"Switch.Group"}))))}let Pz="button";function Tz(e,t){var n;let r=g1(),{id:i=`headlessui-switch-${r}`,checked:a,defaultChecked:l=!1,onChange:u,disabled:c=!1,name:f,value:h,form:p,...m}=e,v=b.useContext(C1),I=b.useRef(null),x=m1(I,t,v===null?null:v.setSwitch),[E,_]=ez(a,u,l),F=zr(()=>_==null?void 0:_(!E)),M=zr(se=>{if(hz(se.currentTarget))return se.preventDefault();se.preventDefault(),F()}),$=zr(se=>{se.key===y1.Space?(se.preventDefault(),F()):se.key===y1.Enter&&gz(se.currentTarget)}),D=zr(se=>se.preventDefault()),H=b.useMemo(()=>({checked:E}),[E]),z={id:i,ref:x,role:"switch",type:oz(e,I),tabIndex:e.tabIndex===-1?0:(n=e.tabIndex)!=null?n:0,"aria-checked":E,"aria-labelledby":v==null?void 0:v.labelledby,"aria-describedby":v==null?void 0:v.describedby,disabled:c,onClick:M,onKeyUp:$,onKeyPress:D},U=nz();return b.useEffect(()=>{var se;let Ae=(se=I.current)==null?void 0:se.closest("form");Ae&&l!==void 0&&U.addEventListener(Ae,"reset",()=>{_(l)})},[I,_]),b.createElement(b.Fragment,null,f!=null&&E&&b.createElement(dz,{features:L3.Hidden,...v1({as:"input",type:"checkbox",hidden:!0,readOnly:!0,disabled:c,form:p,checked:E,name:f,value:h})}),za({ourProps:z,theirProps:m,slot:H,defaultTag:Pz,name:"Switch"}))}let Mz=tu(Tz),Oz=_z,Fz=Object.assign(Mz,{Group:Oz,Label:Ez,Description:Cz});function Rz(){return w.jsx("div",{className:"inline-block w-4 h-4 bg-white rounded-full"})}const Vz=({leftLabel:e,rightLabel:t,mode:n="mono",checked:r=!1,SwitchButton:i=w.jsx(Rz,{}),onChange:a=()=>{}})=>w.jsxs("div",{className:"flex items-center justify-center w-full space-x-2",children:[w.jsx("span",{className:"text-xs text-brand-secondary-text",children:e}),w.jsx(Fz,{checked:r,onChange:a,className:`${Ke("relative outline-none inline-flex items-center h-6 w-11 rounded-full transition-colors",{"bg-brand-primary":n==="mono"||n==="off-on"&&r||n==="on-off"&&!r,"bg-brand-gray":n==="on-off"&&r||n==="off-on"&&!r})}`,children:w.jsx("div",{className:Ke("transition duration-200 ease-out transform",{"translate-x-6":r,"translate-x-1":!r},"flex items-center"),children:i})}),w.jsx("span",{className:"text-xs text-brand-secondary-text",children:t})]});/**
|
|
152
152
|
* table-core
|
|
153
153
|
*
|
|
154
154
|
* Copyright (c) TanStack
|
|
@@ -157,10 +157,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
157
157
|
* LICENSE.md file in the root directory of this source tree.
|
|
158
158
|
*
|
|
159
159
|
* @license MIT
|
|
160
|
-
*/function Zr(e,t){return typeof e=="function"?e(t):e}function bn(e,t){return n=>{t.setState(r=>({...r,[e]:Zr(n,r[e])}))}}function nu(e){return e instanceof Function}function
|
|
160
|
+
*/function Zr(e,t){return typeof e=="function"?e(t):e}function bn(e,t){return n=>{t.setState(r=>({...r,[e]:Zr(n,r[e])}))}}function nu(e){return e instanceof Function}function Bz(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function $z(e,t){const n=[],r=i=>{i.forEach(a=>{n.push(a);const l=t(a);l!=null&&l.length&&r(l)})};return r(e),n}function Fe(e,t,n){let r=[],i;return a=>{let l;n.key&&n.debug&&(l=Date.now());const u=e(a);if(!(u.length!==r.length||u.some((h,p)=>r[p]!==h)))return i;r=u;let f;if(n.key&&n.debug&&(f=Date.now()),i=t(...u),n==null||n.onChange==null||n.onChange(i),n.key&&n.debug&&n!=null&&n.debug()){const h=Math.round((Date.now()-l)*100)/100,p=Math.round((Date.now()-f)*100)/100,m=p/16,v=(I,x)=>{for(I=String(I);I.length<x;)I=" "+I;return I};console.info(`%c⏱ ${v(p,5)} /${v(h,5)} ms`,`
|
|
161
161
|
font-size: .6rem;
|
|
162
162
|
font-weight: bold;
|
|
163
|
-
color: hsl(${Math.max(0,Math.min(120-120*m,120))}deg 100% 31%);`,n==null?void 0:n.key)}return i}}function Re(e,t,n,r){return{debug:()=>{var i;return(i=e==null?void 0:e.debugAll)!=null?i:e[t]},key:process.env.NODE_ENV==="development"&&n,onChange:r}}function Nz(e,t,n,r){const i=()=>{var l;return(l=a.getValue())!=null?l:e.options.renderFallbackValue},a={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:i,getContext:Fe(()=>[e,n,t,a],(l,u,c,f)=>({table:l,column:u,row:c,cell:f,getValue:f.getValue,renderValue:f.renderValue}),Re(e.options,"debugCells","cell.getContext"))};return e._features.forEach(l=>{l.createCell==null||l.createCell(a,n,t,e)},{}),a}function Lz(e,t,n,r){var i,a;const u={...e._getDefaultColumnDef(),...t},c=u.accessorKey;let f=(i=(a=u.id)!=null?a:c?typeof String.prototype.replaceAll=="function"?c.replaceAll(".","_"):c.replace(/\./g,"_"):void 0)!=null?i:typeof u.header=="string"?u.header:void 0,h;if(u.accessorFn?h=u.accessorFn:c&&(c.includes(".")?h=m=>{let v=m;for(const x of c.split(".")){var S;v=(S=v)==null?void 0:S[x],process.env.NODE_ENV!=="production"&&v===void 0&&console.warn(`"${x}" in deeply nested key "${c}" returned undefined.`)}return v}:h=m=>m[u.accessorKey]),!f)throw process.env.NODE_ENV!=="production"?new Error(u.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header"):new Error;let p={id:`${String(f)}`,accessorFn:h,parent:r,depth:n,columnDef:u,columns:[],getFlatColumns:Fe(()=>[!0],()=>{var m;return[p,...(m=p.columns)==null?void 0:m.flatMap(v=>v.getFlatColumns())]},Re(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:Fe(()=>[e._getOrderColumnsFn()],m=>{var v;if((v=p.columns)!=null&&v.length){let S=p.columns.flatMap(x=>x.getLeafColumns());return m(S)}return[p]},Re(e.options,"debugColumns","column.getLeafColumns"))};for(const m of e._features)m.createColumn==null||m.createColumn(p,e);return p}const Yt="debugHeaders";function k3(e,t,n){var r;let a={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const l=[],u=c=>{c.subHeaders&&c.subHeaders.length&&c.subHeaders.map(u),l.push(c)};return u(a),l},getContext:()=>({table:e,header:a,column:t})};return e._features.forEach(l=>{l.createHeader==null||l.createHeader(a,e)}),a}const jz={createTable:e=>{e.getHeaderGroups=Fe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>{var a,l;const u=(a=r==null?void 0:r.map(p=>n.find(m=>m.id===p)).filter(Boolean))!=null?a:[],c=(l=i==null?void 0:i.map(p=>n.find(m=>m.id===p)).filter(Boolean))!=null?l:[],f=n.filter(p=>!(r!=null&&r.includes(p.id))&&!(i!=null&&i.includes(p.id)));return ru(t,[...u,...f,...c],e)},Re(e.options,Yt,"getHeaderGroups")),e.getCenterHeaderGroups=Fe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>(n=n.filter(a=>!(r!=null&&r.includes(a.id))&&!(i!=null&&i.includes(a.id))),ru(t,n,e,"center")),Re(e.options,Yt,"getCenterHeaderGroups")),e.getLeftHeaderGroups=Fe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var i;const a=(i=r==null?void 0:r.map(l=>n.find(u=>u.id===l)).filter(Boolean))!=null?i:[];return ru(t,a,e,"left")},Re(e.options,Yt,"getLeftHeaderGroups")),e.getRightHeaderGroups=Fe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var i;const a=(i=r==null?void 0:r.map(l=>n.find(u=>u.id===l)).filter(Boolean))!=null?i:[];return ru(t,a,e,"right")},Re(e.options,Yt,"getRightHeaderGroups")),e.getFooterGroups=Fe(()=>[e.getHeaderGroups()],t=>[...t].reverse(),Re(e.options,Yt,"getFooterGroups")),e.getLeftFooterGroups=Fe(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),Re(e.options,Yt,"getLeftFooterGroups")),e.getCenterFooterGroups=Fe(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),Re(e.options,Yt,"getCenterFooterGroups")),e.getRightFooterGroups=Fe(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),Re(e.options,Yt,"getRightFooterGroups")),e.getFlatHeaders=Fe(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),Re(e.options,Yt,"getFlatHeaders")),e.getLeftFlatHeaders=Fe(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),Re(e.options,Yt,"getLeftFlatHeaders")),e.getCenterFlatHeaders=Fe(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),Re(e.options,Yt,"getCenterFlatHeaders")),e.getRightFlatHeaders=Fe(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),Re(e.options,Yt,"getRightFlatHeaders")),e.getCenterLeafHeaders=Fe(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Re(e.options,Yt,"getCenterLeafHeaders")),e.getLeftLeafHeaders=Fe(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Re(e.options,Yt,"getLeftLeafHeaders")),e.getRightLeafHeaders=Fe(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Re(e.options,Yt,"getRightLeafHeaders")),e.getLeafHeaders=Fe(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var i,a,l,u,c,f;return[...(i=(a=t[0])==null?void 0:a.headers)!=null?i:[],...(l=(u=n[0])==null?void 0:u.headers)!=null?l:[],...(c=(f=r[0])==null?void 0:f.headers)!=null?c:[]].map(h=>h.getLeafHeaders()).flat()},Re(e.options,Yt,"getLeafHeaders"))}};function ru(e,t,n,r){var i,a;let l=0;const u=function(m,v){v===void 0&&(v=1),l=Math.max(l,v),m.filter(S=>S.getIsVisible()).forEach(S=>{var x;(x=S.columns)!=null&&x.length&&u(S.columns,v+1)},0)};u(e);let c=[];const f=(m,v)=>{const S={depth:v,id:[r,`${v}`].filter(Boolean).join("_"),headers:[]},x=[];m.forEach(E=>{const A=[...x].reverse()[0],O=E.column.depth===S.depth;let R,$=!1;if(O&&E.column.parent?R=E.column.parent:(R=E.column,$=!0),A&&(A==null?void 0:A.column)===R)A.subHeaders.push(E);else{const N=k3(n,R,{id:[r,v,R.id,E==null?void 0:E.id].filter(Boolean).join("_"),isPlaceholder:$,placeholderId:$?`${x.filter(X=>X.column===R).length}`:void 0,depth:v,index:x.length});N.subHeaders.push(E),x.push(N)}S.headers.push(E),E.headerGroup=S}),c.push(S),v>0&&f(x,v-1)},h=t.map((m,v)=>k3(n,m,{depth:l,index:v}));f(h,l-1),c.reverse();const p=m=>m.filter(S=>S.column.getIsVisible()).map(S=>{let x=0,E=0,A=[0];S.subHeaders&&S.subHeaders.length?(A=[],p(S.subHeaders).forEach(R=>{let{colSpan:$,rowSpan:N}=R;x+=$,A.push(N)})):x=1;const O=Math.min(...A);return E=E+O,S.colSpan=x,S.rowSpan=E,{colSpan:x,rowSpan:E}});return p((i=(a=c[0])==null?void 0:a.headers)!=null?i:[]),c}const C1=(e,t,n,r,i,a,l)=>{let u={id:t,index:r,original:n,depth:i,parentId:l,_valuesCache:{},_uniqueValuesCache:{},getValue:c=>{if(u._valuesCache.hasOwnProperty(c))return u._valuesCache[c];const f=e.getColumn(c);if(f!=null&&f.accessorFn)return u._valuesCache[c]=f.accessorFn(u.original,r),u._valuesCache[c]},getUniqueValues:c=>{if(u._uniqueValuesCache.hasOwnProperty(c))return u._uniqueValuesCache[c];const f=e.getColumn(c);if(f!=null&&f.accessorFn)return f.columnDef.getUniqueValues?(u._uniqueValuesCache[c]=f.columnDef.getUniqueValues(u.original,r),u._uniqueValuesCache[c]):(u._uniqueValuesCache[c]=[u.getValue(c)],u._uniqueValuesCache[c])},renderValue:c=>{var f;return(f=u.getValue(c))!=null?f:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>Dz(u.subRows,c=>c.subRows),getParentRow:()=>u.parentId?e.getRow(u.parentId,!0):void 0,getParentRows:()=>{let c=[],f=u;for(;;){const h=f.getParentRow();if(!h)break;c.push(h),f=h}return c.reverse()},getAllCells:Fe(()=>[e.getAllLeafColumns()],c=>c.map(f=>Nz(e,u,f,f.id)),Re(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:Fe(()=>[u.getAllCells()],c=>c.reduce((f,h)=>(f[h.column.id]=h,f),{}),Re(e.options,"debugRows","getAllCellsByColumnId"))};for(let c=0;c<e._features.length;c++){const f=e._features[c];f==null||f.createRow==null||f.createRow(u,e)}return u},kz={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},G3=(e,t,n)=>{var r,i;const a=n==null||(r=n.toString())==null?void 0:r.toLowerCase();return!!(!((i=e.getValue(t))==null||(i=i.toString())==null||(i=i.toLowerCase())==null)&&i.includes(a))};G3.autoRemove=e=>Gn(e);const H3=(e,t,n)=>{var r;return!!(!((r=e.getValue(t))==null||(r=r.toString())==null)&&r.includes(n))};H3.autoRemove=e=>Gn(e);const W3=(e,t,n)=>{var r;return((r=e.getValue(t))==null||(r=r.toString())==null?void 0:r.toLowerCase())===(n==null?void 0:n.toLowerCase())};W3.autoRemove=e=>Gn(e);const X3=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};X3.autoRemove=e=>Gn(e);const z3=(e,t,n)=>!n.some(r=>{var i;return!((i=e.getValue(t))!=null&&i.includes(r))});z3.autoRemove=e=>Gn(e)||!(e!=null&&e.length);const Z3=(e,t,n)=>n.some(r=>{var i;return(i=e.getValue(t))==null?void 0:i.includes(r)});Z3.autoRemove=e=>Gn(e)||!(e!=null&&e.length);const U3=(e,t,n)=>e.getValue(t)===n;U3.autoRemove=e=>Gn(e);const Y3=(e,t,n)=>e.getValue(t)==n;Y3.autoRemove=e=>Gn(e);const x1=(e,t,n)=>{let[r,i]=n;const a=e.getValue(t);return a>=r&&a<=i};x1.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,i=typeof n!="number"?parseFloat(n):n,a=t===null||Number.isNaN(r)?-1/0:r,l=n===null||Number.isNaN(i)?1/0:i;if(a>l){const u=a;a=l,l=u}return[a,l]},x1.autoRemove=e=>Gn(e)||Gn(e[0])&&Gn(e[1]);const Cr={includesString:G3,includesStringSensitive:H3,equalsString:W3,arrIncludes:X3,arrIncludesAll:z3,arrIncludesSome:Z3,equals:U3,weakEquals:Y3,inNumberRange:x1};function Gn(e){return e==null||e===""}const Gz={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:bn("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);return typeof r=="string"?Cr.includesString:typeof r=="number"?Cr.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?Cr.equals:Array.isArray(r)?Cr.arrIncludes:Cr.weakEquals},e.getFilterFn=()=>{var n,r;return nu(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:Cr[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,i;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(r=>r.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(r=>{const i=e.getFilterFn(),a=r==null?void 0:r.find(h=>h.id===e.id),l=Zr(n,a?a.value:void 0);if(J3(i,l,e)){var u;return(u=r==null?void 0:r.filter(h=>h.id!==e.id))!=null?u:[]}const c={id:e.id,value:l};if(a){var f;return(f=r==null?void 0:r.map(h=>h.id===e.id?c:h))!=null?f:[]}return r!=null&&r.length?[...r,c]:[c]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),r=i=>{var a;return(a=Zr(t,i))==null?void 0:a.filter(l=>{const u=n.find(c=>c.id===l.id);if(u){const c=u.getFilterFn();if(J3(c,l.value,u))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function J3(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const w1={sum:(e,t,n)=>n.reduce((r,i)=>{const a=i.getValue(e);return r+(typeof a=="number"?a:0)},0),min:(e,t,n)=>{let r;return n.forEach(i=>{const a=i.getValue(e);a!=null&&(r>a||r===void 0&&a>=a)&&(r=a)}),r},max:(e,t,n)=>{let r;return n.forEach(i=>{const a=i.getValue(e);a!=null&&(r<a||r===void 0&&a>=a)&&(r=a)}),r},extent:(e,t,n)=>{let r,i;return n.forEach(a=>{const l=a.getValue(e);l!=null&&(r===void 0?l>=l&&(r=i=l):(r>l&&(r=l),i<l&&(i=l)))}),[r,i]},mean:(e,t)=>{let n=0,r=0;if(t.forEach(i=>{let a=i.getValue(e);a!=null&&(a=+a)>=a&&(++n,r+=a)}),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map(a=>a.getValue(e));if(!$z(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),i=n.sort((a,l)=>a-l);return n.length%2!==0?i[r]:(i[r-1]+i[r])/2},unique:(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),uniqueCount:(e,t)=>new Set(t.map(n=>n.getValue(e))).size,count:(e,t)=>t.length},Hz={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:bn("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,r;return((n=e.columnDef.enableGrouping)!=null?n:!0)&&((r=t.options.enableGrouping)!=null?r:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);if(typeof r=="number")return w1.sum;if(Object.prototype.toString.call(r)==="[object Date]")return w1.extent},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return nu(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:w1[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var i;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((i=n.subRows)!=null&&i.length)}}};function Wz(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(a=>!t.includes(a.id));return n==="remove"?r:[...t.map(a=>e.find(l=>l.id===a)).filter(Boolean),...r]}const Xz={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:bn("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Fe(n=>[Za(t,n)],n=>n.findIndex(r=>r.id===e.id),Re(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var r;return((r=Za(t,n)[0])==null?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const i=Za(t,n);return((r=i[i.length-1])==null?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=Fe(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>i=>{let a=[];if(!(t!=null&&t.length))a=i;else{const l=[...t],u=[...i];for(;u.length&&l.length;){const c=l.shift(),f=u.findIndex(h=>h.id===c);f>-1&&a.push(u.splice(f,1)[0])}a=[...a,...u]}return Wz(a,n,r)},Re(e.options,"debugTable","_getOrderColumnsFn"))}},S1=()=>({left:[],right:[]}),zz={getInitialState:e=>({columnPinning:S1(),...e}),getDefaultOptions:e=>({onColumnPinningChange:bn("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(i=>i.id).filter(Boolean);t.setColumnPinning(i=>{var a,l;if(n==="right"){var u,c;return{left:((u=i==null?void 0:i.left)!=null?u:[]).filter(p=>!(r!=null&&r.includes(p))),right:[...((c=i==null?void 0:i.right)!=null?c:[]).filter(p=>!(r!=null&&r.includes(p))),...r]}}if(n==="left"){var f,h;return{left:[...((f=i==null?void 0:i.left)!=null?f:[]).filter(p=>!(r!=null&&r.includes(p))),...r],right:((h=i==null?void 0:i.right)!=null?h:[]).filter(p=>!(r!=null&&r.includes(p)))}}return{left:((a=i==null?void 0:i.left)!=null?a:[]).filter(p=>!(r!=null&&r.includes(p))),right:((l=i==null?void 0:i.right)!=null?l:[]).filter(p=>!(r!=null&&r.includes(p)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var i,a,l;return((i=r.columnDef.enablePinning)!=null?i:!0)&&((a=(l=t.options.enableColumnPinning)!=null?l:t.options.enablePinning)!=null?a:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(u=>u.id),{left:r,right:i}=t.getState().columnPinning,a=n.some(u=>r==null?void 0:r.includes(u)),l=n.some(u=>i==null?void 0:i.includes(u));return a?"left":l?"right":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();return i?(n=(r=t.getState().columnPinning)==null||(r=r[i])==null?void 0:r.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Fe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,i)=>{const a=[...r??[],...i??[]];return n.filter(l=>!a.includes(l.column.id))},Re(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=Fe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(n,r)=>(r??[]).map(a=>n.find(l=>l.column.id===a)).filter(Boolean).map(a=>({...a,position:"left"})),Re(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=Fe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(a=>n.find(l=>l.column.id===a)).filter(Boolean).map(a=>({...a,position:"right"})),Re(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?S1():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:S1())},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;if(!t){var i,a;return!!((i=r.left)!=null&&i.length||(a=r.right)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e.getLeftLeafColumns=Fe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),Re(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=Fe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),Re(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=Fe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const i=[...n??[],...r??[]];return t.filter(a=>!i.includes(a.id))},Re(e.options,"debugColumns","getCenterLeafColumns"))}};function Zz(e){return e||(typeof document<"u"?document:null)}const iu={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},I1=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),Uz={getDefaultColumnDef:()=>iu,getInitialState:e=>({columnSizing:{},columnSizingInfo:I1(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:bn("columnSizing",e),onColumnSizingInfoChange:bn("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,i;const a=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:iu.minSize,(r=a??e.columnDef.size)!=null?r:iu.size),(i=e.columnDef.maxSize)!=null?i:iu.maxSize)},e.getStart=Fe(n=>[n,Za(t,n),t.getState().columnSizing],(n,r)=>r.slice(0,e.getIndex(n)).reduce((i,a)=>i+a.getSize(),0),Re(t.options,"debugColumns","getStart")),e.getAfter=Fe(n=>[n,Za(t,n),t.getState().columnSizing],(n,r)=>r.slice(e.getIndex(n)+1).reduce((i,a)=>i+a.getSize(),0),Re(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:r,...i}=n;return i})},e.getCanResize=()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const r=i=>{if(i.subHeaders.length)i.subHeaders.forEach(r);else{var a;n+=(a=i.column.getSize())!=null?a:0}};return r(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),i=r==null?void 0:r.getCanResize();return a=>{if(!r||!i||(a.persist==null||a.persist(),E1(a)&&a.touches&&a.touches.length>1))return;const l=e.getSize(),u=e?e.getLeafHeaders().map(A=>[A.column.id,A.column.getSize()]):[[r.id,r.getSize()]],c=E1(a)?Math.round(a.touches[0].clientX):a.clientX,f={},h=(A,O)=>{typeof O=="number"&&(t.setColumnSizingInfo(R=>{var $,N;const X=t.options.columnResizeDirection==="rtl"?-1:1,Z=(O-(($=R==null?void 0:R.startOffset)!=null?$:0))*X,U=Math.max(Z/((N=R==null?void 0:R.startSize)!=null?N:0),-.999999);return R.columnSizingStart.forEach(se=>{let[Ae,Xe]=se;f[Ae]=Math.round(Math.max(Xe+Xe*U,0)*100)/100}),{...R,deltaOffset:Z,deltaPercentage:U}}),(t.options.columnResizeMode==="onChange"||A==="end")&&t.setColumnSizing(R=>({...R,...f})))},p=A=>h("move",A),m=A=>{h("end",A),t.setColumnSizingInfo(O=>({...O,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},v=Zz(n),S={moveHandler:A=>p(A.clientX),upHandler:A=>{v==null||v.removeEventListener("mousemove",S.moveHandler),v==null||v.removeEventListener("mouseup",S.upHandler),m(A.clientX)}},x={moveHandler:A=>(A.cancelable&&(A.preventDefault(),A.stopPropagation()),p(A.touches[0].clientX),!1),upHandler:A=>{var O;v==null||v.removeEventListener("touchmove",x.moveHandler),v==null||v.removeEventListener("touchend",x.upHandler),A.cancelable&&(A.preventDefault(),A.stopPropagation()),m((O=A.touches[0])==null?void 0:O.clientX)}},E=Yz()?{passive:!1}:!1;E1(a)?(v==null||v.addEventListener("touchmove",x.moveHandler,E),v==null||v.addEventListener("touchend",x.upHandler,E)):(v==null||v.addEventListener("mousemove",S.moveHandler,E),v==null||v.addEventListener("mouseup",S.upHandler,E)),t.setColumnSizingInfo(A=>({...A,startOffset:c,startSize:l,deltaOffset:0,deltaPercentage:0,columnSizingStart:u,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?I1():(n=e.initialState.columnSizingInfo)!=null?n:I1())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0}}};let ou=null;function Yz(){if(typeof ou=="boolean")return ou;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return ou=e,ou}function E1(e){return e.type==="touchstart"}const Jz={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:bn("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;const i=e.columns;return(n=i.length?i.some(a=>a.getIsVisible()):(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},e.getCanHide=()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Fe(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),Re(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=Fe(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,i)=>[...n,...r,...i],Re(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(n,r)=>Fe(()=>[r(),r().filter(i=>i.getIsVisible()).map(i=>i.id).join("_")],i=>i.filter(a=>a.getIsVisible==null?void 0:a.getIsVisible()),Re(e.options,"debugColumns",n));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((i,a)=>({...i,[a.id]:n||!(a.getCanHide!=null&&a.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}};function Za(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Kz={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},qz={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:bn("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,i,a;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&((a=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?a:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Cr.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return nu(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:Cr[r]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Qz={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:bn("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var i,a;e.setExpanded(r?{}:(i=(a=e.initialState)==null?void 0:a.expanded)!=null?i:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(i=>!i.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(a=>{const l=a.split(".");r=Math.max(r,l.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var i;const a=r===!0?!0:!!(r!=null&&r[e.id]);let l={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(u=>{l[u]=!0}):l=r,n=(i=n)!=null?i:!a,!a&&n)return{...l,[e.id]:!0};if(a&&!n){const{[e.id]:u,...c}=l;return c}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r!=null&&r[e.id])},e.getCanExpand=()=>{var n,r,i;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((i=e.subRows)!=null&&i.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},A1=0,_1=10,P1=()=>({pageIndex:A1,pageSize:_1}),eZ={getInitialState:e=>({...e,pagination:{...P1(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:bn("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=r=>{const i=a=>Zr(r,a);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(i)},e.resetPagination=r=>{var i;e.setPagination(r?P1():(i=e.initialState.pagination)!=null?i:P1())},e.setPageIndex=r=>{e.setPagination(i=>{let a=Zr(r,i.pageIndex);const l=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return a=Math.max(0,Math.min(a,l)),{...i,pageIndex:a}})},e.resetPageIndex=r=>{var i,a;e.setPageIndex(r?A1:(i=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageIndex)!=null?i:A1)},e.resetPageSize=r=>{var i,a;e.setPageSize(r?_1:(i=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageSize)!=null?i:_1)},e.setPageSize=r=>{e.setPagination(i=>{const a=Math.max(1,Zr(r,i.pageSize)),l=i.pageSize*i.pageIndex,u=Math.floor(l/a);return{...i,pageIndex:u,pageSize:a}})},e.setPageCount=r=>e.setPagination(i=>{var a;let l=Zr(r,(a=e.options.pageCount)!=null?a:-1);return typeof l=="number"&&(l=Math.max(-1,l)),{...i,pageCount:l}}),e.getPageOptions=Fe(()=>[e.getPageCount()],r=>{let i=[];return r&&r>0&&(i=[...new Array(r)].fill(null).map((a,l)=>l)),i},Re(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,i=e.getPageCount();return i===-1?!0:i===0?!1:r<i-1},e.previousPage=()=>e.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var r;return(r=e.options.rowCount)!=null?r:e.getPrePaginationRowModel().rows.length}}},T1=()=>({top:[],bottom:[]}),tZ={getInitialState:e=>({rowPinning:T1(),...e}),getDefaultOptions:e=>({onRowPinningChange:bn("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,i)=>{const a=r?e.getLeafRows().map(c=>{let{id:f}=c;return f}):[],l=i?e.getParentRows().map(c=>{let{id:f}=c;return f}):[],u=new Set([...l,e.id,...a]);t.setRowPinning(c=>{var f,h;if(n==="bottom"){var p,m;return{top:((p=c==null?void 0:c.top)!=null?p:[]).filter(x=>!(u!=null&&u.has(x))),bottom:[...((m=c==null?void 0:c.bottom)!=null?m:[]).filter(x=>!(u!=null&&u.has(x))),...Array.from(u)]}}if(n==="top"){var v,S;return{top:[...((v=c==null?void 0:c.top)!=null?v:[]).filter(x=>!(u!=null&&u.has(x))),...Array.from(u)],bottom:((S=c==null?void 0:c.bottom)!=null?S:[]).filter(x=>!(u!=null&&u.has(x)))}}return{top:((f=c==null?void 0:c.top)!=null?f:[]).filter(x=>!(u!=null&&u.has(x))),bottom:((h=c==null?void 0:c.bottom)!=null?h:[]).filter(x=>!(u!=null&&u.has(x)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:i}=t.options;return typeof r=="function"?r(e):(n=r??i)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:i}=t.getState().rowPinning,a=n.some(u=>r==null?void 0:r.includes(u)),l=n.some(u=>i==null?void 0:i.includes(u));return a?"top":l?"bottom":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();if(!i)return-1;const a=(n=i==="top"?t.getTopRows():t.getBottomRows())==null?void 0:n.map(l=>{let{id:u}=l;return u});return(r=a==null?void 0:a.indexOf(e.id))!=null?r:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?T1():(n=(r=e.initialState)==null?void 0:r.rowPinning)!=null?n:T1())},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;if(!t){var i,a;return!!((i=r.top)!=null&&i.length||(a=r.bottom)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e._getPinnedRows=(t,n,r)=>{var i;return((i=e.options.keepPinnedRows)==null||i?(n??[]).map(l=>{const u=e.getRow(l,!0);return u.getIsAllParentsExpanded()?u:null}):(n??[]).map(l=>t.find(u=>u.id===l))).filter(Boolean).map(l=>({...l,position:r}))},e.getTopRows=Fe(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),Re(e.options,"debugRows","getTopRows")),e.getBottomRows=Fe(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),Re(e.options,"debugRows","getBottomRows")),e.getCenterRows=Fe(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,r)=>{const i=new Set([...n??[],...r??[]]);return t.filter(a=>!i.has(a.id))},Re(e.options,"debugRows","getCenterRows"))}},nZ={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:bn("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach(a=>{a.getCanSelect()&&(r[a.id]=!0)}):i.forEach(a=>{delete r[a.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),i={...n};return e.getRowModel().rows.forEach(a=>{M1(i,a.id,r,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Fe(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?O1(e,n):{rows:[],flatRows:[],rowsById:{}},Re(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=Fe(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?O1(e,n):{rows:[],flatRows:[],rowsById:{}},Re(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=Fe(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?O1(e,n):{rows:[],flatRows:[],rowsById:{}},Re(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(i=>i.getCanSelect()&&!n[i.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(i=>i.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(i=>!n[i.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const i=e.getIsSelected();t.setRowSelection(a=>{var l;if(n=typeof n<"u"?n:!i,e.getCanSelect()&&i===n)return a;const u={...a};return M1(u,e.id,n,(l=r==null?void 0:r.selectChildren)!=null?l:!0,t),u})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return F1(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return R1(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return R1(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return r=>{var i;n&&e.toggleSelected((i=r.target)==null?void 0:i.checked)}}}},M1=(e,t,n,r,i)=>{var a;const l=i.getRow(t,!0);n?(l.getCanMultiSelect()||Object.keys(e).forEach(u=>delete e[u]),l.getCanSelect()&&(e[t]=!0)):delete e[t],r&&(a=l.subRows)!=null&&a.length&&l.getCanSelectSubRows()&&l.subRows.forEach(u=>M1(e,u.id,n,r,i))};function O1(e,t){const n=e.getState().rowSelection,r=[],i={},a=function(l,u){return l.map(c=>{var f;const h=F1(c,n);if(h&&(r.push(c),i[c.id]=c),(f=c.subRows)!=null&&f.length&&(c={...c,subRows:a(c.subRows)}),h)return c}).filter(Boolean)};return{rows:a(t.rows),flatRows:r,rowsById:i}}function F1(e,t){var n;return(n=t[e.id])!=null?n:!1}function R1(e,t,n){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let i=!0,a=!1;return e.subRows.forEach(l=>{if(!(a&&!i)&&(l.getCanSelect()&&(F1(l,t)?a=!0:i=!1),l.subRows&&l.subRows.length)){const u=R1(l,t);u==="all"?a=!0:(u==="some"&&(a=!0),i=!1)}}),i?"all":a?"some":!1}const V1=/([0-9]+)/gm,rZ=(e,t,n)=>K3(Ur(e.getValue(n)).toLowerCase(),Ur(t.getValue(n)).toLowerCase()),iZ=(e,t,n)=>K3(Ur(e.getValue(n)),Ur(t.getValue(n))),oZ=(e,t,n)=>B1(Ur(e.getValue(n)).toLowerCase(),Ur(t.getValue(n)).toLowerCase()),aZ=(e,t,n)=>B1(Ur(e.getValue(n)),Ur(t.getValue(n))),sZ=(e,t,n)=>{const r=e.getValue(n),i=t.getValue(n);return r>i?1:r<i?-1:0},lZ=(e,t,n)=>B1(e.getValue(n),t.getValue(n));function B1(e,t){return e===t?0:e>t?1:-1}function Ur(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function K3(e,t){const n=e.split(V1).filter(Boolean),r=t.split(V1).filter(Boolean);for(;n.length&&r.length;){const i=n.shift(),a=r.shift(),l=parseInt(i,10),u=parseInt(a,10),c=[l,u].sort();if(isNaN(c[0])){if(i>a)return 1;if(a>i)return-1;continue}if(isNaN(c[1]))return isNaN(l)?-1:1;if(l>u)return 1;if(u>l)return-1}return n.length-r.length}const Ua={alphanumeric:rZ,alphanumericCaseSensitive:iZ,text:oZ,textCaseSensitive:aZ,datetime:sZ,basic:lZ},uZ=[jz,Jz,Xz,zz,kz,Gz,Kz,qz,{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:bn("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const i of n){const a=i==null?void 0:i.getValue(e.id);if(Object.prototype.toString.call(a)==="[object Date]")return Ua.datetime;if(typeof a=="string"&&(r=!0,a.split(V1).length>1))return Ua.alphanumeric}return r?Ua.text:Ua.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof(n==null?void 0:n.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return nu(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:Ua[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const i=e.getNextSortingOrder(),a=typeof n<"u"&&n!==null;t.setSorting(l=>{const u=l==null?void 0:l.find(v=>v.id===e.id),c=l==null?void 0:l.findIndex(v=>v.id===e.id);let f=[],h,p=a?n:i==="desc";if(l!=null&&l.length&&e.getCanMultiSort()&&r?u?h="toggle":h="add":l!=null&&l.length&&c!==l.length-1?h="replace":u?h="toggle":h="replace",h==="toggle"&&(a||i||(h="remove")),h==="add"){var m;f=[...l,{id:e.id,desc:p}],f.splice(0,f.length-((m=t.options.maxMultiSortColCount)!=null?m:Number.MAX_SAFE_INTEGER))}else h==="toggle"?f=l.map(v=>v.id===e.id?{...v,desc:p}:v):h==="remove"?f=l.filter(v=>v.id!==e.id):f=[{id:e.id,desc:p}];return f})},e.getFirstSortDir=()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var r,i;const a=e.getFirstSortDir(),l=e.getIsSorted();return l?l!==a&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(i=t.options.enableMultiRemove)!=null)||i)?!1:l==="desc"?"asc":"desc":a},e.getCanSort=()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(i=>i.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Hz,Qz,eZ,tZ,nZ,Uz];function cZ(e){var t,n;process.env.NODE_ENV!=="production"&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const r=[...uZ,...(t=e._features)!=null?t:[]];let i={_features:r};const a=i._features.reduce((m,v)=>Object.assign(m,v.getDefaultOptions==null?void 0:v.getDefaultOptions(i)),{}),l=m=>i.options.mergeOptions?i.options.mergeOptions(a,m):{...a,...m};let c={...{},...(n=e.initialState)!=null?n:{}};i._features.forEach(m=>{var v;c=(v=m.getInitialState==null?void 0:m.getInitialState(c))!=null?v:c});const f=[];let h=!1;const p={_features:r,options:{...a,...e},initialState:c,_queue:m=>{f.push(m),h||(h=!0,Promise.resolve().then(()=>{for(;f.length;)f.shift()();h=!1}).catch(v=>setTimeout(()=>{throw v})))},reset:()=>{i.setState(i.initialState)},setOptions:m=>{const v=Zr(m,i.options);i.options=l(v)},getState:()=>i.options.state,setState:m=>{i.options.onStateChange==null||i.options.onStateChange(m)},_getRowId:(m,v,S)=>{var x;return(x=i.options.getRowId==null?void 0:i.options.getRowId(m,v,S))!=null?x:`${S?[S.id,v].join("."):v}`},getCoreRowModel:()=>(i._getCoreRowModel||(i._getCoreRowModel=i.options.getCoreRowModel(i)),i._getCoreRowModel()),getRowModel:()=>i.getPaginationRowModel(),getRow:(m,v)=>{let S=(v?i.getPrePaginationRowModel():i.getRowModel()).rowsById[m];if(!S&&(S=i.getCoreRowModel().rowsById[m],!S))throw process.env.NODE_ENV!=="production"?new Error(`getRow could not find row with ID: ${m}`):new Error;return S},_getDefaultColumnDef:Fe(()=>[i.options.defaultColumn],m=>{var v;return m=(v=m)!=null?v:{},{header:S=>{const x=S.header.column.columnDef;return x.accessorKey?x.accessorKey:x.accessorFn?x.id:null},cell:S=>{var x,E;return(x=(E=S.renderValue())==null||E.toString==null?void 0:E.toString())!=null?x:null},...i._features.reduce((S,x)=>Object.assign(S,x.getDefaultColumnDef==null?void 0:x.getDefaultColumnDef()),{}),...m}},Re(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>i.options.columns,getAllColumns:Fe(()=>[i._getColumnDefs()],m=>{const v=function(S,x,E){return E===void 0&&(E=0),S.map(A=>{const O=Lz(i,A,E,x),R=A;return O.columns=R.columns?v(R.columns,O,E+1):[],O})};return v(m)},Re(e,"debugColumns","getAllColumns")),getAllFlatColumns:Fe(()=>[i.getAllColumns()],m=>m.flatMap(v=>v.getFlatColumns()),Re(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:Fe(()=>[i.getAllFlatColumns()],m=>m.reduce((v,S)=>(v[S.id]=S,v),{}),Re(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:Fe(()=>[i.getAllColumns(),i._getOrderColumnsFn()],(m,v)=>{let S=m.flatMap(x=>x.getLeafColumns());return v(S)},Re(e,"debugColumns","getAllLeafColumns")),getColumn:m=>{const v=i._getAllFlatColumnsById()[m];return process.env.NODE_ENV!=="production"&&!v&&console.error(`[Table] Column with id '${m}' does not exist.`),v}};Object.assign(i,p);for(let m=0;m<i._features.length;m++){const v=i._features[m];v==null||v.createTable==null||v.createTable(i)}return i}function q3(){return e=>Fe(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(i,a,l){a===void 0&&(a=0);const u=[];for(let f=0;f<i.length;f++){const h=C1(e,e._getRowId(i[f],f,l),i[f],f,a,void 0,l==null?void 0:l.id);if(n.flatRows.push(h),n.rowsById[h.id]=h,u.push(h),e.options.getSubRows){var c;h.originalSubRows=e.options.getSubRows(i[f],f),(c=h.originalSubRows)!=null&&c.length&&(h.subRows=r(h.originalSubRows,a+1,h))}}return u};return n.rows=r(t),n},Re(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function Q3(){return e=>Fe(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(t,n,r)=>!n.rows.length||t!==!0&&!Object.keys(t??{}).length||!r?n:e5(n),Re(e.options,"debugTable","getExpandedRowModel"))}function e5(e){const t=[],n=r=>{var i;t.push(r),(i=r.subRows)!=null&&i.length&&r.getIsExpanded()&&r.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function fZ(e,t,n){return n.options.filterFromLeafRows?dZ(e,t,n):hZ(e,t,n)}function dZ(e,t,n){var r;const i=[],a={},l=(r=n.options.maxLeafRowFilterDepth)!=null?r:100,u=function(c,f){f===void 0&&(f=0);const h=[];for(let m=0;m<c.length;m++){var p;let v=c[m];const S=C1(n,v.id,v.original,v.index,v.depth,void 0,v.parentId);if(S.columnFilters=v.columnFilters,(p=v.subRows)!=null&&p.length&&f<l){if(S.subRows=u(v.subRows,f+1),v=S,t(v)&&!S.subRows.length){h.push(v),a[v.id]=v,i.push(v);continue}if(t(v)||S.subRows.length){h.push(v),a[v.id]=v,i.push(v);continue}}else v=S,t(v)&&(h.push(v),a[v.id]=v,i.push(v))}return h};return{rows:u(e),flatRows:i,rowsById:a}}function hZ(e,t,n){var r;const i=[],a={},l=(r=n.options.maxLeafRowFilterDepth)!=null?r:100,u=function(c,f){f===void 0&&(f=0);const h=[];for(let m=0;m<c.length;m++){let v=c[m];if(t(v)){var p;if((p=v.subRows)!=null&&p.length&&f<l){const x=C1(n,v.id,v.original,v.index,v.depth,void 0,v.parentId);x.subRows=u(v.subRows,f+1),v=x}h.push(v),i.push(v),a[v.id]=v}}return h};return{rows:u(e),flatRows:i,rowsById:a}}function t5(){return e=>Fe(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,n,r)=>{if(!t.rows.length||!(n!=null&&n.length)&&!r){for(let m=0;m<t.flatRows.length;m++)t.flatRows[m].columnFilters={},t.flatRows[m].columnFiltersMeta={};return t}const i=[],a=[];(n??[]).forEach(m=>{var v;const S=e.getColumn(m.id);if(!S)return;const x=S.getFilterFn();if(!x){process.env.NODE_ENV!=="production"&&console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${S.id}.`);return}i.push({id:m.id,filterFn:x,resolvedValue:(v=x.resolveFilterValue==null?void 0:x.resolveFilterValue(m.value))!=null?v:m.value})});const l=(n??[]).map(m=>m.id),u=e.getGlobalFilterFn(),c=e.getAllLeafColumns().filter(m=>m.getCanGlobalFilter());r&&u&&c.length&&(l.push("__global__"),c.forEach(m=>{var v;a.push({id:m.id,filterFn:u,resolvedValue:(v=u.resolveFilterValue==null?void 0:u.resolveFilterValue(r))!=null?v:r})}));let f,h;for(let m=0;m<t.flatRows.length;m++){const v=t.flatRows[m];if(v.columnFilters={},i.length)for(let S=0;S<i.length;S++){f=i[S];const x=f.id;v.columnFilters[x]=f.filterFn(v,x,f.resolvedValue,E=>{v.columnFiltersMeta[x]=E})}if(a.length){for(let S=0;S<a.length;S++){h=a[S];const x=h.id;if(h.filterFn(v,x,h.resolvedValue,E=>{v.columnFiltersMeta[x]=E})){v.columnFilters.__global__=!0;break}}v.columnFilters.__global__!==!0&&(v.columnFilters.__global__=!1)}}const p=m=>{for(let v=0;v<l.length;v++)if(m.columnFilters[l[v]]===!1)return!1;return!0};return fZ(t.rows,p,e)},Re(e.options,"debugTable","getFilteredRowModel",()=>e._autoResetPageIndex()))}function n5(e){return t=>Fe(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(n,r)=>{if(!r.rows.length)return r;const{pageSize:i,pageIndex:a}=n;let{rows:l,flatRows:u,rowsById:c}=r;const f=i*a,h=f+i;l=l.slice(f,h);let p;t.options.paginateExpandedRows?p={rows:l,flatRows:u,rowsById:c}:p=e5({rows:l,flatRows:u,rowsById:c}),p.flatRows=[];const m=v=>{p.flatRows.push(v),v.subRows.length&&v.subRows.forEach(m)};return p.rows.forEach(m),p},Re(t.options,"debugTable","getPaginationRowModel"))}function r5(){return e=>Fe(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const r=e.getState().sorting,i=[],a=r.filter(c=>{var f;return(f=e.getColumn(c.id))==null?void 0:f.getCanSort()}),l={};a.forEach(c=>{const f=e.getColumn(c.id);f&&(l[c.id]={sortUndefined:f.columnDef.sortUndefined,invertSorting:f.columnDef.invertSorting,sortingFn:f.getSortingFn()})});const u=c=>{const f=c.map(h=>({...h}));return f.sort((h,p)=>{for(let v=0;v<a.length;v+=1){var m;const S=a[v],x=l[S.id],E=x.sortUndefined,A=(m=S==null?void 0:S.desc)!=null?m:!1;let O=0;if(E){const R=h.getValue(S.id),$=p.getValue(S.id),N=R===void 0,X=$===void 0;if(N||X){if(E==="first")return N?-1:1;if(E==="last")return N?1:-1;O=N&&X?0:N?E:-E}}if(O===0&&(O=x.sortingFn(h,p,S.id)),O!==0)return A&&(O*=-1),x.invertSorting&&(O*=-1),O}return h.index-p.index}),f.forEach(h=>{var p;i.push(h),(p=h.subRows)!=null&&p.length&&(h.subRows=u(h.subRows))}),f};return{rows:u(n.rows),flatRows:i,rowsById:n.rowsById}},Re(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/**
|
|
163
|
+
color: hsl(${Math.max(0,Math.min(120-120*m,120))}deg 100% 31%);`,n==null?void 0:n.key)}return i}}function Re(e,t,n,r){return{debug:()=>{var i;return(i=e==null?void 0:e.debugAll)!=null?i:e[t]},key:process.env.NODE_ENV==="development"&&n,onChange:r}}function Dz(e,t,n,r){const i=()=>{var l;return(l=a.getValue())!=null?l:e.options.renderFallbackValue},a={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:i,getContext:Fe(()=>[e,n,t,a],(l,u,c,f)=>({table:l,column:u,row:c,cell:f,getValue:f.getValue,renderValue:f.renderValue}),Re(e.options,"debugCells","cell.getContext"))};return e._features.forEach(l=>{l.createCell==null||l.createCell(a,n,t,e)},{}),a}function Lz(e,t,n,r){var i,a;const u={...e._getDefaultColumnDef(),...t},c=u.accessorKey;let f=(i=(a=u.id)!=null?a:c?typeof String.prototype.replaceAll=="function"?c.replaceAll(".","_"):c.replace(/\./g,"_"):void 0)!=null?i:typeof u.header=="string"?u.header:void 0,h;if(u.accessorFn?h=u.accessorFn:c&&(c.includes(".")?h=m=>{let v=m;for(const x of c.split(".")){var I;v=(I=v)==null?void 0:I[x],process.env.NODE_ENV!=="production"&&v===void 0&&console.warn(`"${x}" in deeply nested key "${c}" returned undefined.`)}return v}:h=m=>m[u.accessorKey]),!f)throw process.env.NODE_ENV!=="production"?new Error(u.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header"):new Error;let p={id:`${String(f)}`,accessorFn:h,parent:r,depth:n,columnDef:u,columns:[],getFlatColumns:Fe(()=>[!0],()=>{var m;return[p,...(m=p.columns)==null?void 0:m.flatMap(v=>v.getFlatColumns())]},Re(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:Fe(()=>[e._getOrderColumnsFn()],m=>{var v;if((v=p.columns)!=null&&v.length){let I=p.columns.flatMap(x=>x.getLeafColumns());return m(I)}return[p]},Re(e.options,"debugColumns","column.getLeafColumns"))};for(const m of e._features)m.createColumn==null||m.createColumn(p,e);return p}const Yt="debugHeaders";function H3(e,t,n){var r;let a={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const l=[],u=c=>{c.subHeaders&&c.subHeaders.length&&c.subHeaders.map(u),l.push(c)};return u(a),l},getContext:()=>({table:e,header:a,column:t})};return e._features.forEach(l=>{l.createHeader==null||l.createHeader(a,e)}),a}const Nz={createTable:e=>{e.getHeaderGroups=Fe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>{var a,l;const u=(a=r==null?void 0:r.map(p=>n.find(m=>m.id===p)).filter(Boolean))!=null?a:[],c=(l=i==null?void 0:i.map(p=>n.find(m=>m.id===p)).filter(Boolean))!=null?l:[],f=n.filter(p=>!(r!=null&&r.includes(p.id))&&!(i!=null&&i.includes(p.id)));return ru(t,[...u,...f,...c],e)},Re(e.options,Yt,"getHeaderGroups")),e.getCenterHeaderGroups=Fe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>(n=n.filter(a=>!(r!=null&&r.includes(a.id))&&!(i!=null&&i.includes(a.id))),ru(t,n,e,"center")),Re(e.options,Yt,"getCenterHeaderGroups")),e.getLeftHeaderGroups=Fe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var i;const a=(i=r==null?void 0:r.map(l=>n.find(u=>u.id===l)).filter(Boolean))!=null?i:[];return ru(t,a,e,"left")},Re(e.options,Yt,"getLeftHeaderGroups")),e.getRightHeaderGroups=Fe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var i;const a=(i=r==null?void 0:r.map(l=>n.find(u=>u.id===l)).filter(Boolean))!=null?i:[];return ru(t,a,e,"right")},Re(e.options,Yt,"getRightHeaderGroups")),e.getFooterGroups=Fe(()=>[e.getHeaderGroups()],t=>[...t].reverse(),Re(e.options,Yt,"getFooterGroups")),e.getLeftFooterGroups=Fe(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),Re(e.options,Yt,"getLeftFooterGroups")),e.getCenterFooterGroups=Fe(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),Re(e.options,Yt,"getCenterFooterGroups")),e.getRightFooterGroups=Fe(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),Re(e.options,Yt,"getRightFooterGroups")),e.getFlatHeaders=Fe(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),Re(e.options,Yt,"getFlatHeaders")),e.getLeftFlatHeaders=Fe(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),Re(e.options,Yt,"getLeftFlatHeaders")),e.getCenterFlatHeaders=Fe(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),Re(e.options,Yt,"getCenterFlatHeaders")),e.getRightFlatHeaders=Fe(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),Re(e.options,Yt,"getRightFlatHeaders")),e.getCenterLeafHeaders=Fe(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Re(e.options,Yt,"getCenterLeafHeaders")),e.getLeftLeafHeaders=Fe(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Re(e.options,Yt,"getLeftLeafHeaders")),e.getRightLeafHeaders=Fe(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Re(e.options,Yt,"getRightLeafHeaders")),e.getLeafHeaders=Fe(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var i,a,l,u,c,f;return[...(i=(a=t[0])==null?void 0:a.headers)!=null?i:[],...(l=(u=n[0])==null?void 0:u.headers)!=null?l:[],...(c=(f=r[0])==null?void 0:f.headers)!=null?c:[]].map(h=>h.getLeafHeaders()).flat()},Re(e.options,Yt,"getLeafHeaders"))}};function ru(e,t,n,r){var i,a;let l=0;const u=function(m,v){v===void 0&&(v=1),l=Math.max(l,v),m.filter(I=>I.getIsVisible()).forEach(I=>{var x;(x=I.columns)!=null&&x.length&&u(I.columns,v+1)},0)};u(e);let c=[];const f=(m,v)=>{const I={depth:v,id:[r,`${v}`].filter(Boolean).join("_"),headers:[]},x=[];m.forEach(E=>{const _=[...x].reverse()[0],F=E.column.depth===I.depth;let M,$=!1;if(F&&E.column.parent?M=E.column.parent:(M=E.column,$=!0),_&&(_==null?void 0:_.column)===M)_.subHeaders.push(E);else{const D=H3(n,M,{id:[r,v,M.id,E==null?void 0:E.id].filter(Boolean).join("_"),isPlaceholder:$,placeholderId:$?`${x.filter(H=>H.column===M).length}`:void 0,depth:v,index:x.length});D.subHeaders.push(E),x.push(D)}I.headers.push(E),E.headerGroup=I}),c.push(I),v>0&&f(x,v-1)},h=t.map((m,v)=>H3(n,m,{depth:l,index:v}));f(h,l-1),c.reverse();const p=m=>m.filter(I=>I.column.getIsVisible()).map(I=>{let x=0,E=0,_=[0];I.subHeaders&&I.subHeaders.length?(_=[],p(I.subHeaders).forEach(M=>{let{colSpan:$,rowSpan:D}=M;x+=$,_.push(D)})):x=1;const F=Math.min(..._);return E=E+F,I.colSpan=x,I.rowSpan=E,{colSpan:x,rowSpan:E}});return p((i=(a=c[0])==null?void 0:a.headers)!=null?i:[]),c}const x1=(e,t,n,r,i,a,l)=>{let u={id:t,index:r,original:n,depth:i,parentId:l,_valuesCache:{},_uniqueValuesCache:{},getValue:c=>{if(u._valuesCache.hasOwnProperty(c))return u._valuesCache[c];const f=e.getColumn(c);if(f!=null&&f.accessorFn)return u._valuesCache[c]=f.accessorFn(u.original,r),u._valuesCache[c]},getUniqueValues:c=>{if(u._uniqueValuesCache.hasOwnProperty(c))return u._uniqueValuesCache[c];const f=e.getColumn(c);if(f!=null&&f.accessorFn)return f.columnDef.getUniqueValues?(u._uniqueValuesCache[c]=f.columnDef.getUniqueValues(u.original,r),u._uniqueValuesCache[c]):(u._uniqueValuesCache[c]=[u.getValue(c)],u._uniqueValuesCache[c])},renderValue:c=>{var f;return(f=u.getValue(c))!=null?f:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>$z(u.subRows,c=>c.subRows),getParentRow:()=>u.parentId?e.getRow(u.parentId,!0):void 0,getParentRows:()=>{let c=[],f=u;for(;;){const h=f.getParentRow();if(!h)break;c.push(h),f=h}return c.reverse()},getAllCells:Fe(()=>[e.getAllLeafColumns()],c=>c.map(f=>Dz(e,u,f,f.id)),Re(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:Fe(()=>[u.getAllCells()],c=>c.reduce((f,h)=>(f[h.column.id]=h,f),{}),Re(e.options,"debugRows","getAllCellsByColumnId"))};for(let c=0;c<e._features.length;c++){const f=e._features[c];f==null||f.createRow==null||f.createRow(u,e)}return u},jz={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},W3=(e,t,n)=>{var r,i;const a=n==null||(r=n.toString())==null?void 0:r.toLowerCase();return!!(!((i=e.getValue(t))==null||(i=i.toString())==null||(i=i.toLowerCase())==null)&&i.includes(a))};W3.autoRemove=e=>Gn(e);const X3=(e,t,n)=>{var r;return!!(!((r=e.getValue(t))==null||(r=r.toString())==null)&&r.includes(n))};X3.autoRemove=e=>Gn(e);const z3=(e,t,n)=>{var r;return((r=e.getValue(t))==null||(r=r.toString())==null?void 0:r.toLowerCase())===(n==null?void 0:n.toLowerCase())};z3.autoRemove=e=>Gn(e);const Z3=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};Z3.autoRemove=e=>Gn(e);const U3=(e,t,n)=>!n.some(r=>{var i;return!((i=e.getValue(t))!=null&&i.includes(r))});U3.autoRemove=e=>Gn(e)||!(e!=null&&e.length);const Y3=(e,t,n)=>n.some(r=>{var i;return(i=e.getValue(t))==null?void 0:i.includes(r)});Y3.autoRemove=e=>Gn(e)||!(e!=null&&e.length);const J3=(e,t,n)=>e.getValue(t)===n;J3.autoRemove=e=>Gn(e);const K3=(e,t,n)=>e.getValue(t)==n;K3.autoRemove=e=>Gn(e);const w1=(e,t,n)=>{let[r,i]=n;const a=e.getValue(t);return a>=r&&a<=i};w1.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,i=typeof n!="number"?parseFloat(n):n,a=t===null||Number.isNaN(r)?-1/0:r,l=n===null||Number.isNaN(i)?1/0:i;if(a>l){const u=a;a=l,l=u}return[a,l]},w1.autoRemove=e=>Gn(e)||Gn(e[0])&&Gn(e[1]);const Cr={includesString:W3,includesStringSensitive:X3,equalsString:z3,arrIncludes:Z3,arrIncludesAll:U3,arrIncludesSome:Y3,equals:J3,weakEquals:K3,inNumberRange:w1};function Gn(e){return e==null||e===""}const kz={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:bn("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);return typeof r=="string"?Cr.includesString:typeof r=="number"?Cr.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?Cr.equals:Array.isArray(r)?Cr.arrIncludes:Cr.weakEquals},e.getFilterFn=()=>{var n,r;return nu(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:Cr[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,i;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(r=>r.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(r=>{const i=e.getFilterFn(),a=r==null?void 0:r.find(h=>h.id===e.id),l=Zr(n,a?a.value:void 0);if(q3(i,l,e)){var u;return(u=r==null?void 0:r.filter(h=>h.id!==e.id))!=null?u:[]}const c={id:e.id,value:l};if(a){var f;return(f=r==null?void 0:r.map(h=>h.id===e.id?c:h))!=null?f:[]}return r!=null&&r.length?[...r,c]:[c]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),r=i=>{var a;return(a=Zr(t,i))==null?void 0:a.filter(l=>{const u=n.find(c=>c.id===l.id);if(u){const c=u.getFilterFn();if(q3(c,l.value,u))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function q3(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const S1={sum:(e,t,n)=>n.reduce((r,i)=>{const a=i.getValue(e);return r+(typeof a=="number"?a:0)},0),min:(e,t,n)=>{let r;return n.forEach(i=>{const a=i.getValue(e);a!=null&&(r>a||r===void 0&&a>=a)&&(r=a)}),r},max:(e,t,n)=>{let r;return n.forEach(i=>{const a=i.getValue(e);a!=null&&(r<a||r===void 0&&a>=a)&&(r=a)}),r},extent:(e,t,n)=>{let r,i;return n.forEach(a=>{const l=a.getValue(e);l!=null&&(r===void 0?l>=l&&(r=i=l):(r>l&&(r=l),i<l&&(i=l)))}),[r,i]},mean:(e,t)=>{let n=0,r=0;if(t.forEach(i=>{let a=i.getValue(e);a!=null&&(a=+a)>=a&&(++n,r+=a)}),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map(a=>a.getValue(e));if(!Bz(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),i=n.sort((a,l)=>a-l);return n.length%2!==0?i[r]:(i[r-1]+i[r])/2},unique:(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),uniqueCount:(e,t)=>new Set(t.map(n=>n.getValue(e))).size,count:(e,t)=>t.length},Gz={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:bn("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,r;return((n=e.columnDef.enableGrouping)!=null?n:!0)&&((r=t.options.enableGrouping)!=null?r:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);if(typeof r=="number")return S1.sum;if(Object.prototype.toString.call(r)==="[object Date]")return S1.extent},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return nu(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:S1[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var i;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((i=n.subRows)!=null&&i.length)}}};function Hz(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(a=>!t.includes(a.id));return n==="remove"?r:[...t.map(a=>e.find(l=>l.id===a)).filter(Boolean),...r]}const Wz={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:bn("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Fe(n=>[Za(t,n)],n=>n.findIndex(r=>r.id===e.id),Re(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var r;return((r=Za(t,n)[0])==null?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const i=Za(t,n);return((r=i[i.length-1])==null?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=Fe(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>i=>{let a=[];if(!(t!=null&&t.length))a=i;else{const l=[...t],u=[...i];for(;u.length&&l.length;){const c=l.shift(),f=u.findIndex(h=>h.id===c);f>-1&&a.push(u.splice(f,1)[0])}a=[...a,...u]}return Hz(a,n,r)},Re(e.options,"debugTable","_getOrderColumnsFn"))}},I1=()=>({left:[],right:[]}),Xz={getInitialState:e=>({columnPinning:I1(),...e}),getDefaultOptions:e=>({onColumnPinningChange:bn("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(i=>i.id).filter(Boolean);t.setColumnPinning(i=>{var a,l;if(n==="right"){var u,c;return{left:((u=i==null?void 0:i.left)!=null?u:[]).filter(p=>!(r!=null&&r.includes(p))),right:[...((c=i==null?void 0:i.right)!=null?c:[]).filter(p=>!(r!=null&&r.includes(p))),...r]}}if(n==="left"){var f,h;return{left:[...((f=i==null?void 0:i.left)!=null?f:[]).filter(p=>!(r!=null&&r.includes(p))),...r],right:((h=i==null?void 0:i.right)!=null?h:[]).filter(p=>!(r!=null&&r.includes(p)))}}return{left:((a=i==null?void 0:i.left)!=null?a:[]).filter(p=>!(r!=null&&r.includes(p))),right:((l=i==null?void 0:i.right)!=null?l:[]).filter(p=>!(r!=null&&r.includes(p)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var i,a,l;return((i=r.columnDef.enablePinning)!=null?i:!0)&&((a=(l=t.options.enableColumnPinning)!=null?l:t.options.enablePinning)!=null?a:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(u=>u.id),{left:r,right:i}=t.getState().columnPinning,a=n.some(u=>r==null?void 0:r.includes(u)),l=n.some(u=>i==null?void 0:i.includes(u));return a?"left":l?"right":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();return i?(n=(r=t.getState().columnPinning)==null||(r=r[i])==null?void 0:r.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Fe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,i)=>{const a=[...r??[],...i??[]];return n.filter(l=>!a.includes(l.column.id))},Re(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=Fe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(n,r)=>(r??[]).map(a=>n.find(l=>l.column.id===a)).filter(Boolean).map(a=>({...a,position:"left"})),Re(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=Fe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(a=>n.find(l=>l.column.id===a)).filter(Boolean).map(a=>({...a,position:"right"})),Re(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?I1():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:I1())},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;if(!t){var i,a;return!!((i=r.left)!=null&&i.length||(a=r.right)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e.getLeftLeafColumns=Fe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),Re(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=Fe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),Re(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=Fe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const i=[...n??[],...r??[]];return t.filter(a=>!i.includes(a.id))},Re(e.options,"debugColumns","getCenterLeafColumns"))}};function zz(e){return e||(typeof document<"u"?document:null)}const iu={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},E1=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),Zz={getDefaultColumnDef:()=>iu,getInitialState:e=>({columnSizing:{},columnSizingInfo:E1(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:bn("columnSizing",e),onColumnSizingInfoChange:bn("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,i;const a=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:iu.minSize,(r=a??e.columnDef.size)!=null?r:iu.size),(i=e.columnDef.maxSize)!=null?i:iu.maxSize)},e.getStart=Fe(n=>[n,Za(t,n),t.getState().columnSizing],(n,r)=>r.slice(0,e.getIndex(n)).reduce((i,a)=>i+a.getSize(),0),Re(t.options,"debugColumns","getStart")),e.getAfter=Fe(n=>[n,Za(t,n),t.getState().columnSizing],(n,r)=>r.slice(e.getIndex(n)+1).reduce((i,a)=>i+a.getSize(),0),Re(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:r,...i}=n;return i})},e.getCanResize=()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const r=i=>{if(i.subHeaders.length)i.subHeaders.forEach(r);else{var a;n+=(a=i.column.getSize())!=null?a:0}};return r(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),i=r==null?void 0:r.getCanResize();return a=>{if(!r||!i||(a.persist==null||a.persist(),A1(a)&&a.touches&&a.touches.length>1))return;const l=e.getSize(),u=e?e.getLeafHeaders().map(_=>[_.column.id,_.column.getSize()]):[[r.id,r.getSize()]],c=A1(a)?Math.round(a.touches[0].clientX):a.clientX,f={},h=(_,F)=>{typeof F=="number"&&(t.setColumnSizingInfo(M=>{var $,D;const H=t.options.columnResizeDirection==="rtl"?-1:1,z=(F-(($=M==null?void 0:M.startOffset)!=null?$:0))*H,U=Math.max(z/((D=M==null?void 0:M.startSize)!=null?D:0),-.999999);return M.columnSizingStart.forEach(se=>{let[Ae,Xe]=se;f[Ae]=Math.round(Math.max(Xe+Xe*U,0)*100)/100}),{...M,deltaOffset:z,deltaPercentage:U}}),(t.options.columnResizeMode==="onChange"||_==="end")&&t.setColumnSizing(M=>({...M,...f})))},p=_=>h("move",_),m=_=>{h("end",_),t.setColumnSizingInfo(F=>({...F,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},v=zz(n),I={moveHandler:_=>p(_.clientX),upHandler:_=>{v==null||v.removeEventListener("mousemove",I.moveHandler),v==null||v.removeEventListener("mouseup",I.upHandler),m(_.clientX)}},x={moveHandler:_=>(_.cancelable&&(_.preventDefault(),_.stopPropagation()),p(_.touches[0].clientX),!1),upHandler:_=>{var F;v==null||v.removeEventListener("touchmove",x.moveHandler),v==null||v.removeEventListener("touchend",x.upHandler),_.cancelable&&(_.preventDefault(),_.stopPropagation()),m((F=_.touches[0])==null?void 0:F.clientX)}},E=Uz()?{passive:!1}:!1;A1(a)?(v==null||v.addEventListener("touchmove",x.moveHandler,E),v==null||v.addEventListener("touchend",x.upHandler,E)):(v==null||v.addEventListener("mousemove",I.moveHandler,E),v==null||v.addEventListener("mouseup",I.upHandler,E)),t.setColumnSizingInfo(_=>({..._,startOffset:c,startSize:l,deltaOffset:0,deltaPercentage:0,columnSizingStart:u,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?E1():(n=e.initialState.columnSizingInfo)!=null?n:E1())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0}}};let ou=null;function Uz(){if(typeof ou=="boolean")return ou;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return ou=e,ou}function A1(e){return e.type==="touchstart"}const Yz={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:bn("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;const i=e.columns;return(n=i.length?i.some(a=>a.getIsVisible()):(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},e.getCanHide=()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Fe(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),Re(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=Fe(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,i)=>[...n,...r,...i],Re(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(n,r)=>Fe(()=>[r(),r().filter(i=>i.getIsVisible()).map(i=>i.id).join("_")],i=>i.filter(a=>a.getIsVisible==null?void 0:a.getIsVisible()),Re(e.options,"debugColumns",n));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((i,a)=>({...i,[a.id]:n||!(a.getCanHide!=null&&a.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}};function Za(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Jz={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Kz={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:bn("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,i,a;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&((a=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?a:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Cr.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return nu(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:Cr[r]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},qz={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:bn("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var i,a;e.setExpanded(r?{}:(i=(a=e.initialState)==null?void 0:a.expanded)!=null?i:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(i=>!i.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(a=>{const l=a.split(".");r=Math.max(r,l.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var i;const a=r===!0?!0:!!(r!=null&&r[e.id]);let l={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(u=>{l[u]=!0}):l=r,n=(i=n)!=null?i:!a,!a&&n)return{...l,[e.id]:!0};if(a&&!n){const{[e.id]:u,...c}=l;return c}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r!=null&&r[e.id])},e.getCanExpand=()=>{var n,r,i;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((i=e.subRows)!=null&&i.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},_1=0,P1=10,T1=()=>({pageIndex:_1,pageSize:P1}),Qz={getInitialState:e=>({...e,pagination:{...T1(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:bn("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=r=>{const i=a=>Zr(r,a);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(i)},e.resetPagination=r=>{var i;e.setPagination(r?T1():(i=e.initialState.pagination)!=null?i:T1())},e.setPageIndex=r=>{e.setPagination(i=>{let a=Zr(r,i.pageIndex);const l=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return a=Math.max(0,Math.min(a,l)),{...i,pageIndex:a}})},e.resetPageIndex=r=>{var i,a;e.setPageIndex(r?_1:(i=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageIndex)!=null?i:_1)},e.resetPageSize=r=>{var i,a;e.setPageSize(r?P1:(i=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageSize)!=null?i:P1)},e.setPageSize=r=>{e.setPagination(i=>{const a=Math.max(1,Zr(r,i.pageSize)),l=i.pageSize*i.pageIndex,u=Math.floor(l/a);return{...i,pageIndex:u,pageSize:a}})},e.setPageCount=r=>e.setPagination(i=>{var a;let l=Zr(r,(a=e.options.pageCount)!=null?a:-1);return typeof l=="number"&&(l=Math.max(-1,l)),{...i,pageCount:l}}),e.getPageOptions=Fe(()=>[e.getPageCount()],r=>{let i=[];return r&&r>0&&(i=[...new Array(r)].fill(null).map((a,l)=>l)),i},Re(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,i=e.getPageCount();return i===-1?!0:i===0?!1:r<i-1},e.previousPage=()=>e.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var r;return(r=e.options.rowCount)!=null?r:e.getPrePaginationRowModel().rows.length}}},M1=()=>({top:[],bottom:[]}),eZ={getInitialState:e=>({rowPinning:M1(),...e}),getDefaultOptions:e=>({onRowPinningChange:bn("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,i)=>{const a=r?e.getLeafRows().map(c=>{let{id:f}=c;return f}):[],l=i?e.getParentRows().map(c=>{let{id:f}=c;return f}):[],u=new Set([...l,e.id,...a]);t.setRowPinning(c=>{var f,h;if(n==="bottom"){var p,m;return{top:((p=c==null?void 0:c.top)!=null?p:[]).filter(x=>!(u!=null&&u.has(x))),bottom:[...((m=c==null?void 0:c.bottom)!=null?m:[]).filter(x=>!(u!=null&&u.has(x))),...Array.from(u)]}}if(n==="top"){var v,I;return{top:[...((v=c==null?void 0:c.top)!=null?v:[]).filter(x=>!(u!=null&&u.has(x))),...Array.from(u)],bottom:((I=c==null?void 0:c.bottom)!=null?I:[]).filter(x=>!(u!=null&&u.has(x)))}}return{top:((f=c==null?void 0:c.top)!=null?f:[]).filter(x=>!(u!=null&&u.has(x))),bottom:((h=c==null?void 0:c.bottom)!=null?h:[]).filter(x=>!(u!=null&&u.has(x)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:i}=t.options;return typeof r=="function"?r(e):(n=r??i)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:i}=t.getState().rowPinning,a=n.some(u=>r==null?void 0:r.includes(u)),l=n.some(u=>i==null?void 0:i.includes(u));return a?"top":l?"bottom":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();if(!i)return-1;const a=(n=i==="top"?t.getTopRows():t.getBottomRows())==null?void 0:n.map(l=>{let{id:u}=l;return u});return(r=a==null?void 0:a.indexOf(e.id))!=null?r:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?M1():(n=(r=e.initialState)==null?void 0:r.rowPinning)!=null?n:M1())},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;if(!t){var i,a;return!!((i=r.top)!=null&&i.length||(a=r.bottom)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e._getPinnedRows=(t,n,r)=>{var i;return((i=e.options.keepPinnedRows)==null||i?(n??[]).map(l=>{const u=e.getRow(l,!0);return u.getIsAllParentsExpanded()?u:null}):(n??[]).map(l=>t.find(u=>u.id===l))).filter(Boolean).map(l=>({...l,position:r}))},e.getTopRows=Fe(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),Re(e.options,"debugRows","getTopRows")),e.getBottomRows=Fe(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),Re(e.options,"debugRows","getBottomRows")),e.getCenterRows=Fe(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,r)=>{const i=new Set([...n??[],...r??[]]);return t.filter(a=>!i.has(a.id))},Re(e.options,"debugRows","getCenterRows"))}},tZ={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:bn("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach(a=>{a.getCanSelect()&&(r[a.id]=!0)}):i.forEach(a=>{delete r[a.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),i={...n};return e.getRowModel().rows.forEach(a=>{O1(i,a.id,r,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Fe(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?F1(e,n):{rows:[],flatRows:[],rowsById:{}},Re(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=Fe(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?F1(e,n):{rows:[],flatRows:[],rowsById:{}},Re(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=Fe(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?F1(e,n):{rows:[],flatRows:[],rowsById:{}},Re(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(i=>i.getCanSelect()&&!n[i.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(i=>i.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(i=>!n[i.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const i=e.getIsSelected();t.setRowSelection(a=>{var l;if(n=typeof n<"u"?n:!i,e.getCanSelect()&&i===n)return a;const u={...a};return O1(u,e.id,n,(l=r==null?void 0:r.selectChildren)!=null?l:!0,t),u})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return R1(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return V1(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return V1(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return r=>{var i;n&&e.toggleSelected((i=r.target)==null?void 0:i.checked)}}}},O1=(e,t,n,r,i)=>{var a;const l=i.getRow(t,!0);n?(l.getCanMultiSelect()||Object.keys(e).forEach(u=>delete e[u]),l.getCanSelect()&&(e[t]=!0)):delete e[t],r&&(a=l.subRows)!=null&&a.length&&l.getCanSelectSubRows()&&l.subRows.forEach(u=>O1(e,u.id,n,r,i))};function F1(e,t){const n=e.getState().rowSelection,r=[],i={},a=function(l,u){return l.map(c=>{var f;const h=R1(c,n);if(h&&(r.push(c),i[c.id]=c),(f=c.subRows)!=null&&f.length&&(c={...c,subRows:a(c.subRows)}),h)return c}).filter(Boolean)};return{rows:a(t.rows),flatRows:r,rowsById:i}}function R1(e,t){var n;return(n=t[e.id])!=null?n:!1}function V1(e,t,n){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let i=!0,a=!1;return e.subRows.forEach(l=>{if(!(a&&!i)&&(l.getCanSelect()&&(R1(l,t)?a=!0:i=!1),l.subRows&&l.subRows.length)){const u=V1(l,t);u==="all"?a=!0:(u==="some"&&(a=!0),i=!1)}}),i?"all":a?"some":!1}const B1=/([0-9]+)/gm,nZ=(e,t,n)=>Q3(Ur(e.getValue(n)).toLowerCase(),Ur(t.getValue(n)).toLowerCase()),rZ=(e,t,n)=>Q3(Ur(e.getValue(n)),Ur(t.getValue(n))),iZ=(e,t,n)=>$1(Ur(e.getValue(n)).toLowerCase(),Ur(t.getValue(n)).toLowerCase()),oZ=(e,t,n)=>$1(Ur(e.getValue(n)),Ur(t.getValue(n))),aZ=(e,t,n)=>{const r=e.getValue(n),i=t.getValue(n);return r>i?1:r<i?-1:0},sZ=(e,t,n)=>$1(e.getValue(n),t.getValue(n));function $1(e,t){return e===t?0:e>t?1:-1}function Ur(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function Q3(e,t){const n=e.split(B1).filter(Boolean),r=t.split(B1).filter(Boolean);for(;n.length&&r.length;){const i=n.shift(),a=r.shift(),l=parseInt(i,10),u=parseInt(a,10),c=[l,u].sort();if(isNaN(c[0])){if(i>a)return 1;if(a>i)return-1;continue}if(isNaN(c[1]))return isNaN(l)?-1:1;if(l>u)return 1;if(u>l)return-1}return n.length-r.length}const Ua={alphanumeric:nZ,alphanumericCaseSensitive:rZ,text:iZ,textCaseSensitive:oZ,datetime:aZ,basic:sZ},lZ=[Nz,Yz,Wz,Xz,jz,kz,Jz,Kz,{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:bn("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const i of n){const a=i==null?void 0:i.getValue(e.id);if(Object.prototype.toString.call(a)==="[object Date]")return Ua.datetime;if(typeof a=="string"&&(r=!0,a.split(B1).length>1))return Ua.alphanumeric}return r?Ua.text:Ua.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof(n==null?void 0:n.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return nu(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:Ua[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const i=e.getNextSortingOrder(),a=typeof n<"u"&&n!==null;t.setSorting(l=>{const u=l==null?void 0:l.find(v=>v.id===e.id),c=l==null?void 0:l.findIndex(v=>v.id===e.id);let f=[],h,p=a?n:i==="desc";if(l!=null&&l.length&&e.getCanMultiSort()&&r?u?h="toggle":h="add":l!=null&&l.length&&c!==l.length-1?h="replace":u?h="toggle":h="replace",h==="toggle"&&(a||i||(h="remove")),h==="add"){var m;f=[...l,{id:e.id,desc:p}],f.splice(0,f.length-((m=t.options.maxMultiSortColCount)!=null?m:Number.MAX_SAFE_INTEGER))}else h==="toggle"?f=l.map(v=>v.id===e.id?{...v,desc:p}:v):h==="remove"?f=l.filter(v=>v.id!==e.id):f=[{id:e.id,desc:p}];return f})},e.getFirstSortDir=()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var r,i;const a=e.getFirstSortDir(),l=e.getIsSorted();return l?l!==a&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(i=t.options.enableMultiRemove)!=null)||i)?!1:l==="desc"?"asc":"desc":a},e.getCanSort=()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(i=>i.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Gz,qz,Qz,eZ,tZ,Zz];function uZ(e){var t,n;process.env.NODE_ENV!=="production"&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const r=[...lZ,...(t=e._features)!=null?t:[]];let i={_features:r};const a=i._features.reduce((m,v)=>Object.assign(m,v.getDefaultOptions==null?void 0:v.getDefaultOptions(i)),{}),l=m=>i.options.mergeOptions?i.options.mergeOptions(a,m):{...a,...m};let c={...{},...(n=e.initialState)!=null?n:{}};i._features.forEach(m=>{var v;c=(v=m.getInitialState==null?void 0:m.getInitialState(c))!=null?v:c});const f=[];let h=!1;const p={_features:r,options:{...a,...e},initialState:c,_queue:m=>{f.push(m),h||(h=!0,Promise.resolve().then(()=>{for(;f.length;)f.shift()();h=!1}).catch(v=>setTimeout(()=>{throw v})))},reset:()=>{i.setState(i.initialState)},setOptions:m=>{const v=Zr(m,i.options);i.options=l(v)},getState:()=>i.options.state,setState:m=>{i.options.onStateChange==null||i.options.onStateChange(m)},_getRowId:(m,v,I)=>{var x;return(x=i.options.getRowId==null?void 0:i.options.getRowId(m,v,I))!=null?x:`${I?[I.id,v].join("."):v}`},getCoreRowModel:()=>(i._getCoreRowModel||(i._getCoreRowModel=i.options.getCoreRowModel(i)),i._getCoreRowModel()),getRowModel:()=>i.getPaginationRowModel(),getRow:(m,v)=>{let I=(v?i.getPrePaginationRowModel():i.getRowModel()).rowsById[m];if(!I&&(I=i.getCoreRowModel().rowsById[m],!I))throw process.env.NODE_ENV!=="production"?new Error(`getRow could not find row with ID: ${m}`):new Error;return I},_getDefaultColumnDef:Fe(()=>[i.options.defaultColumn],m=>{var v;return m=(v=m)!=null?v:{},{header:I=>{const x=I.header.column.columnDef;return x.accessorKey?x.accessorKey:x.accessorFn?x.id:null},cell:I=>{var x,E;return(x=(E=I.renderValue())==null||E.toString==null?void 0:E.toString())!=null?x:null},...i._features.reduce((I,x)=>Object.assign(I,x.getDefaultColumnDef==null?void 0:x.getDefaultColumnDef()),{}),...m}},Re(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>i.options.columns,getAllColumns:Fe(()=>[i._getColumnDefs()],m=>{const v=function(I,x,E){return E===void 0&&(E=0),I.map(_=>{const F=Lz(i,_,E,x),M=_;return F.columns=M.columns?v(M.columns,F,E+1):[],F})};return v(m)},Re(e,"debugColumns","getAllColumns")),getAllFlatColumns:Fe(()=>[i.getAllColumns()],m=>m.flatMap(v=>v.getFlatColumns()),Re(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:Fe(()=>[i.getAllFlatColumns()],m=>m.reduce((v,I)=>(v[I.id]=I,v),{}),Re(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:Fe(()=>[i.getAllColumns(),i._getOrderColumnsFn()],(m,v)=>{let I=m.flatMap(x=>x.getLeafColumns());return v(I)},Re(e,"debugColumns","getAllLeafColumns")),getColumn:m=>{const v=i._getAllFlatColumnsById()[m];return process.env.NODE_ENV!=="production"&&!v&&console.error(`[Table] Column with id '${m}' does not exist.`),v}};Object.assign(i,p);for(let m=0;m<i._features.length;m++){const v=i._features[m];v==null||v.createTable==null||v.createTable(i)}return i}function e5(){return e=>Fe(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(i,a,l){a===void 0&&(a=0);const u=[];for(let f=0;f<i.length;f++){const h=x1(e,e._getRowId(i[f],f,l),i[f],f,a,void 0,l==null?void 0:l.id);if(n.flatRows.push(h),n.rowsById[h.id]=h,u.push(h),e.options.getSubRows){var c;h.originalSubRows=e.options.getSubRows(i[f],f),(c=h.originalSubRows)!=null&&c.length&&(h.subRows=r(h.originalSubRows,a+1,h))}}return u};return n.rows=r(t),n},Re(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function t5(){return e=>Fe(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(t,n,r)=>!n.rows.length||t!==!0&&!Object.keys(t??{}).length||!r?n:n5(n),Re(e.options,"debugTable","getExpandedRowModel"))}function n5(e){const t=[],n=r=>{var i;t.push(r),(i=r.subRows)!=null&&i.length&&r.getIsExpanded()&&r.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function cZ(e,t,n){return n.options.filterFromLeafRows?fZ(e,t,n):dZ(e,t,n)}function fZ(e,t,n){var r;const i=[],a={},l=(r=n.options.maxLeafRowFilterDepth)!=null?r:100,u=function(c,f){f===void 0&&(f=0);const h=[];for(let m=0;m<c.length;m++){var p;let v=c[m];const I=x1(n,v.id,v.original,v.index,v.depth,void 0,v.parentId);if(I.columnFilters=v.columnFilters,(p=v.subRows)!=null&&p.length&&f<l){if(I.subRows=u(v.subRows,f+1),v=I,t(v)&&!I.subRows.length){h.push(v),a[v.id]=v,i.push(v);continue}if(t(v)||I.subRows.length){h.push(v),a[v.id]=v,i.push(v);continue}}else v=I,t(v)&&(h.push(v),a[v.id]=v,i.push(v))}return h};return{rows:u(e),flatRows:i,rowsById:a}}function dZ(e,t,n){var r;const i=[],a={},l=(r=n.options.maxLeafRowFilterDepth)!=null?r:100,u=function(c,f){f===void 0&&(f=0);const h=[];for(let m=0;m<c.length;m++){let v=c[m];if(t(v)){var p;if((p=v.subRows)!=null&&p.length&&f<l){const x=x1(n,v.id,v.original,v.index,v.depth,void 0,v.parentId);x.subRows=u(v.subRows,f+1),v=x}h.push(v),i.push(v),a[v.id]=v}}return h};return{rows:u(e),flatRows:i,rowsById:a}}function r5(){return e=>Fe(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,n,r)=>{if(!t.rows.length||!(n!=null&&n.length)&&!r){for(let m=0;m<t.flatRows.length;m++)t.flatRows[m].columnFilters={},t.flatRows[m].columnFiltersMeta={};return t}const i=[],a=[];(n??[]).forEach(m=>{var v;const I=e.getColumn(m.id);if(!I)return;const x=I.getFilterFn();if(!x){process.env.NODE_ENV!=="production"&&console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${I.id}.`);return}i.push({id:m.id,filterFn:x,resolvedValue:(v=x.resolveFilterValue==null?void 0:x.resolveFilterValue(m.value))!=null?v:m.value})});const l=(n??[]).map(m=>m.id),u=e.getGlobalFilterFn(),c=e.getAllLeafColumns().filter(m=>m.getCanGlobalFilter());r&&u&&c.length&&(l.push("__global__"),c.forEach(m=>{var v;a.push({id:m.id,filterFn:u,resolvedValue:(v=u.resolveFilterValue==null?void 0:u.resolveFilterValue(r))!=null?v:r})}));let f,h;for(let m=0;m<t.flatRows.length;m++){const v=t.flatRows[m];if(v.columnFilters={},i.length)for(let I=0;I<i.length;I++){f=i[I];const x=f.id;v.columnFilters[x]=f.filterFn(v,x,f.resolvedValue,E=>{v.columnFiltersMeta[x]=E})}if(a.length){for(let I=0;I<a.length;I++){h=a[I];const x=h.id;if(h.filterFn(v,x,h.resolvedValue,E=>{v.columnFiltersMeta[x]=E})){v.columnFilters.__global__=!0;break}}v.columnFilters.__global__!==!0&&(v.columnFilters.__global__=!1)}}const p=m=>{for(let v=0;v<l.length;v++)if(m.columnFilters[l[v]]===!1)return!1;return!0};return cZ(t.rows,p,e)},Re(e.options,"debugTable","getFilteredRowModel",()=>e._autoResetPageIndex()))}function i5(e){return t=>Fe(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(n,r)=>{if(!r.rows.length)return r;const{pageSize:i,pageIndex:a}=n;let{rows:l,flatRows:u,rowsById:c}=r;const f=i*a,h=f+i;l=l.slice(f,h);let p;t.options.paginateExpandedRows?p={rows:l,flatRows:u,rowsById:c}:p=n5({rows:l,flatRows:u,rowsById:c}),p.flatRows=[];const m=v=>{p.flatRows.push(v),v.subRows.length&&v.subRows.forEach(m)};return p.rows.forEach(m),p},Re(t.options,"debugTable","getPaginationRowModel"))}function o5(){return e=>Fe(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const r=e.getState().sorting,i=[],a=r.filter(c=>{var f;return(f=e.getColumn(c.id))==null?void 0:f.getCanSort()}),l={};a.forEach(c=>{const f=e.getColumn(c.id);f&&(l[c.id]={sortUndefined:f.columnDef.sortUndefined,invertSorting:f.columnDef.invertSorting,sortingFn:f.getSortingFn()})});const u=c=>{const f=c.map(h=>({...h}));return f.sort((h,p)=>{for(let v=0;v<a.length;v+=1){var m;const I=a[v],x=l[I.id],E=x.sortUndefined,_=(m=I==null?void 0:I.desc)!=null?m:!1;let F=0;if(E){const M=h.getValue(I.id),$=p.getValue(I.id),D=M===void 0,H=$===void 0;if(D||H){if(E==="first")return D?-1:1;if(E==="last")return D?1:-1;F=D&&H?0:D?E:-E}}if(F===0&&(F=x.sortingFn(h,p,I.id)),F!==0)return _&&(F*=-1),x.invertSorting&&(F*=-1),F}return h.index-p.index}),f.forEach(h=>{var p;i.push(h),(p=h.subRows)!=null&&p.length&&(h.subRows=u(h.subRows))}),f};return{rows:u(n.rows),flatRows:i,rowsById:n.rowsById}},Re(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/**
|
|
164
164
|
* react-table
|
|
165
165
|
*
|
|
166
166
|
* Copyright (c) TanStack
|
|
@@ -169,31 +169,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
169
169
|
* LICENSE.md file in the root directory of this source tree.
|
|
170
170
|
*
|
|
171
171
|
* @license MIT
|
|
172
|
-
*/function i5(e,t){return e?pZ(e)?ae.createElement(e,t):e:null}function pZ(e){return gZ(e)||typeof e=="function"||mZ(e)}function gZ(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function mZ(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function o5(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=ae.useState(()=>({current:cZ(t)})),[r,i]=ae.useState(()=>n.current.initialState);return n.current.setOptions(a=>({...a,...e,state:{...r,...e.state},onStateChange:l=>{i(l),e.onStateChange==null||e.onStateChange(l)}})),n.current}function a5({children:e}){return w.jsx("div",{className:"text-black dark:text-white",children:e})}function s5({itemsPerPageMessage:e,pageSeparatorMessage:t,totalRecords:n,size:r,pageIndex:i,canNextPage:a,canPreviousPage:l,onPageSizeChange:u,onGoFirstPage:c,onGoPreviousPage:f,onGoLastPage:h,onGoNextPage:p}){return w.jsxs("div",{className:"flex items-center justify-end gap-2 px-2 py-2 my-2 text-sm text-brand-text dark:text-white",children:[w.jsx("p",{children:e}),w.jsx("select",{className:Ke("w-20 border-0 border-b border-brand-disabled focus:outline-none focus:ring-0 focus:border-l-0 focus:border-b focus:border-brand-primary","bg-brand-light-gray dark:bg-brand-dark-gray-dark","text-brand-secondary-text dark:text-brand-gray"),value:r,onChange:u,children:[5,10,25,50].map(m=>w.jsx("option",{value:m,children:m},`page-size-option-${m}`))}),w.jsxs("span",{children:[i+1," ",t," ",n]}),w.jsx("button",{onClick:c,disabled:!l,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:w.jsx(ny,{})}),w.jsx("button",{onClick:f,disabled:!l,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:w.jsx(qh,{})}),w.jsx("button",{onClick:p,disabled:!a,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:w.jsx(Qh,{})}),w.jsx("button",{onClick:h,disabled:!a,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:w.jsx(ry,{})})]})}function l5({noRecordsMessage:e}){return w.jsx("p",{className:"text-sm text-center",children:e})}function u5(e){var t,n,r,i,a,l,u;return((r=(n=(t=e==null?void 0:e.column)==null?void 0:t.parent)==null?void 0:n.columns)==null?void 0:r.length)&&((l=(a=(i=e==null?void 0:e.column)==null?void 0:i.parent)==null?void 0:a.columns[0])==null?void 0:l.id)===((u=e==null?void 0:e.column)==null?void 0:u.id)}function c5(e){var t,n,r,i,a,l,u;return((r=(n=(t=e==null?void 0:e.column)==null?void 0:t.parent)==null?void 0:n.columns)==null?void 0:r.length)&&((l=(a=(i=e==null?void 0:e.column)==null?void 0:i.parent)==null?void 0:a.columns[e.column.parent.columns.length-1])==null?void 0:l.id)===((u=e==null?void 0:e.column)==null?void 0:u.id)}function au(e){var t;return((t=e==null?void 0:e.subHeaders)==null?void 0:t.length)>0}function f5({headerGroup:e,isPagination:t=!0,onSort:n,onColumn:r}){function i(l){return l.id==="select"?50:l.getSize()}function a(l,u){function c(){const h=l.column.getIsSorted();return h?h==="desc"?w.jsx(t0,{}):w.jsx(e0,{}):w.jsx(n0,{})}function f(h){const p=h.column.getIsSorted();n(typeof p=="boolean"?"":p),r(h.id)}return w.jsx(w.Fragment,{children:w.jsx("th",{className:Ke("px-2 py-3 text-xs text-left select-none border-b border-brand-disabled",{"border-r":au(l)||c5(l),"border-l":au(l)||u5(l)}),colSpan:l.colSpan,style:{width:i(l)},children:w.jsxs("div",{className:"flex items-center justify-between",children:[au(l)&&w.jsx("div",{}),w.jsxs("div",{className:"flex flex-row items-center space-x-4 text-sm font-bold text-brand-primary",children:[w.jsx("span",{className:"w-full",children:i5(l.column.columnDef.header,l.getContext())}),l.column.columnDef.sortingFn&&!au(l)&&w.jsx("span",{className:`px-2 ${l.column.getCanSort()?"cursor-pointer":""}`,onClick:async h=>{await l.column.getToggleSortingHandler()(h),t&&f(l)},children:c()})]}),l.id!=="select"&&w.jsx("div",{onMouseDown:l.getResizeHandler(),onTouchStart:l.getResizeHandler(),className:"w-3 h-full text-brand-gray cursor-col-resize",children:w.jsx(iy,{})})]})},`thead-th-${l.id}-${u}`)})}return w.jsx("tr",{className:"mx-auto",children:e.headers.map(a)},`thead-tr-${e.id}`)}function d5({row:e,index:t,renderSubComponent:n}){function r(i,a){return w.jsx("td",{className:Ke("px-2 children:align-middle overflow-ellipsis whitespace-nowrap border-brand-disabled",{"border-r":c5(i),"border-l":u5(i)}),children:i5(i.column.columnDef.cell,i.getContext())},`tbody-td-${i.id}-${a}`)}return w.jsxs(b.Fragment,{children:[w.jsx("tr",{className:"mx-auto children:text-sm children:py-3 children:text-brand-text dark:children:text-white children:last-of-type:border-b children:last-of-type:border-brand-disabled",children:e.getVisibleCells().map(r)},`tbody-tr-${e.id}-${t}`),e.getIsExpanded()?w.jsx("tr",{children:w.jsx("td",{colSpan:e.getVisibleCells().length,children:n({row:e})})}):null]},`tbody-fragmment-${e.id}-${t}`)}function h5({spinnerMessage:e}){return w.jsx("div",{className:"flex items-center justify-center mt-10",children:w.jsx(xd,{size:50,children:e})})}function p5({indeterminate:e,className:t="w-5 h-5 rounded-md border-brand-primary border-1 text-brand-primary focus:ring-0",...n}){const r=b.useRef(null);return b.useEffect(()=>{typeof e=="boolean"&&(r.current.indeterminate=!n.checked&&e)},[r,e]),w.jsx("input",{type:"checkbox",ref:r,className:t+" cursor-pointer",...n})}function g5(e,t){return e?[{id:"select",sortingFn:!1,header:({table:r})=>w.jsx(p5,{checked:r.getIsAllRowsSelected(),indeterminate:r.getIsSomeRowsSelected(),onChange:r.getToggleAllRowsSelectedHandler()}),cell:({row:r})=>w.jsx("div",{className:"px-1",children:w.jsx(p5,{checked:r.getIsSelected(),disabled:!r.getCanSelect(),indeterminate:r.getIsSomeSelected(),onChange:r.getToggleSelectedHandler()})})},...t]:t}function vZ({setFilter:e,placeholder:t}){let n=0;function r(i){clearTimeout(n),n=setTimeout(()=>{e(i.target.value||void 0)},500)}return w.jsxs("div",{className:"flex items-center gap-2 px-2 my-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b focus-within:border-brand-primary focus-within:ring-brand-primary dark:bg-gray-700",children:[w.jsx(ec,{className:"text-brand-secondary-text dark:text-brand-gray"}),w.jsx("input",{className:"flex-1 py-2 bg-transparent text-sm border-none appearance-none focus:outline-none focus:ring-0",placeholder:t,onChange:r})]})}function bZ({data:e,columns:t,isFetching:n,searchable:r=!0,isRowSelection:i=!1,totalRecords:a,spinnerMessage:l="Carregando...",noRecordsMessage:u="Nenhuma entrada encontrada.",searchPlaceholder:c="Buscar...",itemsPerPageMessage:f="Itens por página:",pageSeparatorMessage:h="de",onRowSelection:p,renderSubComponent:m,getRowCanExpand:v,onSearch:S,onSize:x,onPage:E,onColumn:A,onSort:O}){const R="onChange",[$,N]=b.useState([]),[X,Z]=b.useState(0),[U,se]=b.useState(!1),[Ae,Xe]=b.useState(!1),[Ge,pe]=b.useState({}),Se=o5({data:e,columns:g5(i,t),columnResizeMode:R,initialState:{pagination:{pageSize:5}},defaultColumn:{minSize:100,size:150,maxSize:1e3},state:{rowSelection:Ge,sorting:$},getRowCanExpand:v,onRowSelectionChange:pe,getCoreRowModel:q3(),getFilteredRowModel:t5(),getPaginationRowModel:n5(),onSortingChange:N,getSortedRowModel:r5(),getExpandedRowModel:Q3()}),Te=Se.getState().pagination.pageSize;function be(k){E(k),Z(k)}function Ve(k){be(0),x(Number(k.target.value)),Se.setPageSize(Number(k.target.value))}function ze(k){be(0),S(k)}function M(){be(0)}function T(){const k=X-1;be(k)}function V(){const k=X+1;be(k)}function F(){const k=Math.ceil(a/Te)-1;be(k)}function y(){return p(Se.getSelectedRowModel().flatRows)}return b.useEffect(()=>{function k(){if(X===0){se(!1);return}se(!0)}function ee(){const oe=Math.ceil(a/Te);X>=oe-1?Xe(!1):Xe(!0)}k(),ee()},[X,a,Te]),w.jsxs(a5,{children:[r&&w.jsx(vZ,{setFilter:ze,placeholder:c}),n&&w.jsx(h5,{spinnerMessage:l}),e.length===0&&!n&&w.jsx(l5,{noRecordsMessage:u}),e.length>0&&!n&&w.jsx("div",{className:"flex justify-center items-center",children:w.jsx("div",{className:"overflow-x-auto",children:w.jsxs("table",{style:{width:Se.getCenterTotalSize()},children:[w.jsx("thead",{children:Se.getHeaderGroups().map(k=>w.jsx(f5,{headerGroup:k,onColumn:A,onSort:O}))}),w.jsx("tbody",{className:"divide-y divide-brand-disabled",children:Se.getRowModel().rows.map((k,ee)=>w.jsx(d5,{index:ee,row:k,renderSubComponent:m},k.id))})]})})}),w.jsx(s5,{itemsPerPageMessage:f,pageSeparatorMessage:h,totalRecords:Math.ceil(a/Te),size:Te,pageIndex:X,canNextPage:Ae,canPreviousPage:U,onPageSizeChange:Ve,onGoFirstPage:M,onGoPreviousPage:T,onGoLastPage:F,onGoNextPage:V}),i&&p&&y()]})}function yZ({value:e,onChange:t,placeholder:n,debounce:r=500,...i}){const[a,l]=b.useState(e);return b.useEffect(()=>{l(e)},[e]),b.useEffect(()=>{const u=setTimeout(()=>{t(a)},r);return()=>clearTimeout(u)},[a]),w.jsxs("div",{className:"flex items-center gap-2 px-2 my-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b focus-within:border-brand-primary focus-within:ring-brand-primary dark:bg-gray-700",children:[w.jsx(ec,{className:"text-brand-secondary-text dark:text-brand-gray"}),w.jsx("input",{...i,value:a,className:"flex-1 py-2 bg-transparent text-sm border-none appearance-none focus:outline-none focus:ring-0",placeholder:n,onChange:u=>l(u.target.value)})]})}function CZ({data:e,columns:t,isFetching:n,searchable:r=!0,isRowSelection:i=!1,spinnerMessage:a="Carregando...",noRecordsMessage:l="Nenhuma entrada encontrada.",searchPlaceholder:u="Buscar...",itemsPerPageMessage:c="Itens por página:",pageSeparatorMessage:f="de",onRowSelection:h,renderSubComponent:p,getRowCanExpand:m}){const v="onChange",[S,x]=b.useState([]),[E,A]=b.useState({}),[O,R]=b.useState(""),$=o5({data:e,columns:g5(i,t),columnResizeMode:v,initialState:{pagination:{pageSize:5}},defaultColumn:{minSize:100,size:150,maxSize:1e3},state:{rowSelection:E,sorting:S,globalFilter:O},getRowCanExpand:m,onGlobalFilterChange:R,onRowSelectionChange:A,getCoreRowModel:q3(),getFilteredRowModel:t5(),getPaginationRowModel:n5(),onSortingChange:x,getSortedRowModel:r5(),getExpandedRowModel:Q3()}),N=$.getState().pagination.pageSize;function X(U){$.setPageSize(Number(U.target.value))}function Z(){return h($.getSelectedRowModel().flatRows)}return w.jsxs(a5,{children:[r&&w.jsx(yZ,{value:O??"",onChange:U=>R(String(U)),placeholder:u}),n&&w.jsx(h5,{spinnerMessage:a}),e.length===0&&!n&&w.jsx(l5,{noRecordsMessage:l}),e.length>0&&!n&&w.jsx("div",{className:"flex justify-center items-center",children:w.jsx("div",{className:"overflow-x-auto",children:w.jsxs("table",{style:{width:$.getCenterTotalSize()},children:[w.jsx("thead",{children:$.getHeaderGroups().map(U=>w.jsx(f5,{headerGroup:U,isPagination:!1,onColumn:()=>null,onSort:()=>null}))}),w.jsx("tbody",{className:"divide-y divide-brand-disabled",children:$.getRowModel().rows.map((U,se)=>w.jsx(d5,{index:se,row:U,renderSubComponent:p},U.id))})]})})}),w.jsx(s5,{itemsPerPageMessage:c,pageSeparatorMessage:f,totalRecords:$.getPageCount(),size:N,pageIndex:$.getState().pagination.pageIndex,canNextPage:$.getCanNextPage(),canPreviousPage:$.getCanPreviousPage(),onPageSizeChange:X,onGoFirstPage:()=>$.setPageIndex(0),onGoPreviousPage:()=>$.previousPage(),onGoLastPage:()=>$.setPageIndex($.getPageCount()-1),onGoNextPage:()=>$.nextPage()}),i&&h&&Z()]})}const m5=({children:e,tooltip:t})=>w.jsxs("div",{className:"relative inline-block group",children:[e,w.jsx("span",{className:`${Ke("invisible","group-hover:visible","opacity-0","group-hover:opacity-100","z-[99999]","group-hover:z-50","transition","transform","left-1/2","text-xs","-top-9","-translate-x-1/2","bg-brand-text","text-white","p-2","rounded","absolute","whitespace-nowrap")}`,children:t})]}),xZ=({children:e,className:t,id:n,tooltip:r,variant:i,...a})=>w.jsx(w.Fragment,{children:w.jsx(m5,{tooltip:r,children:w.jsx("button",{className:`${Ke("w-8 h-8 rounded","flex items-center justify-center","transition outline-none outline-2","shadow-action-button hover:shadow-action-button-hover","hover:bg-brand-secondary hover:text-white disabled:bg-brand-disabled disabled:text-white","disabled:shadow-none disabled:hover:cursor-not-allowed",{"bg-brand-primary text-white":i==="primary","bg-brand-tertiary-light text-brand-primary":i==="secondary"},t)}`,...a,children:e})},n)}),$1=({Container:e,children:t,fileName:n,disabled:r,onChange:i,multiple:a=!1,accept:l="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"})=>{const u=b.useRef(null),c=()=>{var h;return(h=u.current)==null?void 0:h.click()},f=h=>{const p=h.target;p.value=""};return w.jsxs(w.Fragment,{children:[w.jsx(e,{type:"button",disabled:r,onClick:c,fileName:n,children:t}),w.jsx("input",{ref:u,type:"file",className:"hidden",accept:l,multiple:a,onClick:f,onChange:h=>{h.target.files&&i(a?Array.from(h.target.files):h.target.files[0])}})]})},wZ=e=>w.jsx(Ji,{variant:"primary",...e}),SZ=e=>w.jsx(Ji,{variant:"secondary",...e}),IZ=({children:e,disabled:t,fileName:n,...r})=>w.jsx("button",{disabled:t,className:`relative ${t?"bg-gray-300 text-white cursor-not-allowed border-2 border-gray-900 border-dashed":"bg-white text-primary-500 hover:bg-primary-100 hover:mb-0 border-2 border-gray-800 border-dashed cursor-pointer"}
|
|
173
|
-
flex items-center justify-center w-full h-full p-2 overflow-hidden transition-all duration-300 ease-out transform focus:outline-none rounded-2xl border-opacity-20 dark:bg-brand-dark-gray-dark`,...r,children:w.jsxs("div",{className:`flex ${n?"flex-row":"flex-col"} items-center justify-center`,children:[w.jsx("div",{children:n?w.jsx(
|
|
172
|
+
*/function a5(e,t){return e?hZ(e)?ae.createElement(e,t):e:null}function hZ(e){return pZ(e)||typeof e=="function"||gZ(e)}function pZ(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function gZ(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function s5(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=ae.useState(()=>({current:uZ(t)})),[r,i]=ae.useState(()=>n.current.initialState);return n.current.setOptions(a=>({...a,...e,state:{...r,...e.state},onStateChange:l=>{i(l),e.onStateChange==null||e.onStateChange(l)}})),n.current}function l5({children:e}){return w.jsx("div",{className:"text-black dark:text-white",children:e})}function u5({itemsPerPageMessage:e,pageSeparatorMessage:t,totalRecords:n,size:r,pageIndex:i,canNextPage:a,canPreviousPage:l,onPageSizeChange:u,onGoFirstPage:c,onGoPreviousPage:f,onGoLastPage:h,onGoNextPage:p}){return w.jsxs("div",{className:"flex items-center justify-end gap-2 px-2 py-2 my-2 text-sm text-brand-text dark:text-white",children:[w.jsx("p",{children:e}),w.jsx("select",{className:Ke("w-20 border-0 border-b border-brand-disabled focus:outline-none focus:ring-0 focus:border-l-0 focus:border-b focus:border-brand-primary","bg-brand-light-gray dark:bg-brand-dark-gray-dark","text-brand-secondary-text dark:text-brand-gray"),value:r,onChange:u,children:[5,10,25,50].map(m=>w.jsx("option",{value:m,children:m},`page-size-option-${m}`))}),w.jsxs("span",{children:[i+1," ",t," ",n]}),w.jsx("button",{onClick:c,disabled:!l,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:w.jsx(ry,{})}),w.jsx("button",{onClick:f,disabled:!l,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:w.jsx(e0,{})}),w.jsx("button",{onClick:p,disabled:!a,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:w.jsx(t0,{})}),w.jsx("button",{onClick:h,disabled:!a,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:w.jsx(iy,{})})]})}function c5({noRecordsMessage:e}){return w.jsx("p",{className:"text-sm text-center",children:e})}function f5(e){var t,n,r,i,a,l,u;return((r=(n=(t=e==null?void 0:e.column)==null?void 0:t.parent)==null?void 0:n.columns)==null?void 0:r.length)&&((l=(a=(i=e==null?void 0:e.column)==null?void 0:i.parent)==null?void 0:a.columns[0])==null?void 0:l.id)===((u=e==null?void 0:e.column)==null?void 0:u.id)}function d5(e){var t,n,r,i,a,l,u;return((r=(n=(t=e==null?void 0:e.column)==null?void 0:t.parent)==null?void 0:n.columns)==null?void 0:r.length)&&((l=(a=(i=e==null?void 0:e.column)==null?void 0:i.parent)==null?void 0:a.columns[e.column.parent.columns.length-1])==null?void 0:l.id)===((u=e==null?void 0:e.column)==null?void 0:u.id)}function au(e){var t;return((t=e==null?void 0:e.subHeaders)==null?void 0:t.length)>0}function h5({headerGroup:e,isPagination:t=!0,onSort:n,onColumn:r}){function i(l){return l.id==="select"?50:l.getSize()}function a(l,u){function c(){const h=l.column.getIsSorted();return h?h==="desc"?w.jsx(r0,{}):w.jsx(n0,{}):w.jsx(i0,{})}function f(h){const p=h.column.getIsSorted();n(typeof p=="boolean"?"":p),r(h.id)}return w.jsx(w.Fragment,{children:w.jsx("th",{className:Ke("px-2 py-3 text-xs text-left select-none border-b border-brand-disabled",{"border-r":au(l)||d5(l),"border-l":au(l)||f5(l)}),colSpan:l.colSpan,style:{width:i(l)},children:w.jsxs("div",{className:"flex items-center justify-between",children:[au(l)&&w.jsx("div",{}),w.jsxs("div",{className:"flex flex-row items-center space-x-4 text-sm font-bold text-brand-primary",children:[w.jsx("span",{className:"w-full",children:a5(l.column.columnDef.header,l.getContext())}),l.column.columnDef.sortingFn&&!au(l)&&w.jsx("span",{className:`px-2 ${l.column.getCanSort()?"cursor-pointer":""}`,onClick:async h=>{await l.column.getToggleSortingHandler()(h),t&&f(l)},children:c()})]}),l.id!=="select"&&w.jsx("div",{onMouseDown:l.getResizeHandler(),onTouchStart:l.getResizeHandler(),className:"w-3 h-full text-brand-gray cursor-col-resize",children:w.jsx(oy,{})})]})},`thead-th-${l.id}-${u}`)})}return w.jsx("tr",{className:"mx-auto",children:e.headers.map(a)},`thead-tr-${e.id}`)}function p5({row:e,index:t,renderSubComponent:n}){function r(i,a){return w.jsx("td",{className:Ke("px-2 children:align-middle overflow-ellipsis whitespace-nowrap border-brand-disabled",{"border-r":d5(i),"border-l":f5(i)}),children:a5(i.column.columnDef.cell,i.getContext())},`tbody-td-${i.id}-${a}`)}return w.jsxs(b.Fragment,{children:[w.jsx("tr",{className:"mx-auto children:text-sm children:py-3 children:text-brand-text dark:children:text-white children:last-of-type:border-b children:last-of-type:border-brand-disabled",children:e.getVisibleCells().map(r)},`tbody-tr-${e.id}-${t}`),e.getIsExpanded()?w.jsx("tr",{children:w.jsx("td",{colSpan:e.getVisibleCells().length,children:n({row:e})})}):null]},`tbody-fragmment-${e.id}-${t}`)}function g5({spinnerMessage:e}){return w.jsx("div",{className:"flex items-center justify-center mt-10",children:w.jsx(xd,{size:50,children:e})})}function m5({indeterminate:e,className:t="w-5 h-5 rounded-md border-brand-primary border-1 text-brand-primary focus:ring-0",...n}){const r=b.useRef(null);return b.useEffect(()=>{typeof e=="boolean"&&(r.current.indeterminate=!n.checked&&e)},[r,e]),w.jsx("input",{type:"checkbox",ref:r,className:t+" cursor-pointer",...n})}function v5(e,t){return e?[{id:"select",sortingFn:!1,header:({table:r})=>w.jsx(m5,{checked:r.getIsAllRowsSelected(),indeterminate:r.getIsSomeRowsSelected(),onChange:r.getToggleAllRowsSelectedHandler()}),cell:({row:r})=>w.jsx("div",{className:"px-1",children:w.jsx(m5,{checked:r.getIsSelected(),disabled:!r.getCanSelect(),indeterminate:r.getIsSomeSelected(),onChange:r.getToggleSelectedHandler()})})},...t]:t}function mZ({setFilter:e,placeholder:t}){let n=0;function r(i){clearTimeout(n),n=setTimeout(()=>{e(i.target.value||void 0)},500)}return w.jsxs("div",{className:"flex items-center gap-2 px-2 my-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b focus-within:border-brand-primary focus-within:ring-brand-primary dark:bg-gray-700",children:[w.jsx(ec,{className:"text-brand-secondary-text dark:text-brand-gray"}),w.jsx("input",{className:"flex-1 py-2 bg-transparent text-sm border-none appearance-none focus:outline-none focus:ring-0",placeholder:t,onChange:r})]})}function vZ({data:e,columns:t,isFetching:n,searchable:r=!0,isRowSelection:i=!1,totalRecords:a,spinnerMessage:l="Carregando...",noRecordsMessage:u="Nenhuma entrada encontrada.",searchPlaceholder:c="Buscar...",itemsPerPageMessage:f="Itens por página:",pageSeparatorMessage:h="de",onRowSelection:p,renderSubComponent:m,getRowCanExpand:v,onSearch:I,onSize:x,onPage:E,onColumn:_,onSort:F}){const M="onChange",[$,D]=b.useState([]),[H,z]=b.useState(0),[U,se]=b.useState(!1),[Ae,Xe]=b.useState(!1),[Ge,pe]=b.useState({}),Se=s5({data:e,columns:v5(i,t),columnResizeMode:M,initialState:{pagination:{pageSize:5}},defaultColumn:{minSize:100,size:150,maxSize:1e3},state:{rowSelection:Ge,sorting:$},getRowCanExpand:v,onRowSelectionChange:pe,getCoreRowModel:e5(),getFilteredRowModel:r5(),getPaginationRowModel:i5(),onSortingChange:D,getSortedRowModel:o5(),getExpandedRowModel:t5()}),Te=Se.getState().pagination.pageSize;function be(k){E(k),z(k)}function Ve(k){be(0),x(Number(k.target.value)),Se.setPageSize(Number(k.target.value))}function ze(k){be(0),I(k)}function O(){be(0)}function T(){const k=H-1;be(k)}function V(){const k=H+1;be(k)}function R(){const k=Math.ceil(a/Te)-1;be(k)}function y(){return p(Se.getSelectedRowModel().flatRows)}return b.useEffect(()=>{function k(){if(H===0){se(!1);return}se(!0)}function ee(){const oe=Math.ceil(a/Te);H>=oe-1?Xe(!1):Xe(!0)}k(),ee()},[H,a,Te]),w.jsxs(l5,{children:[r&&w.jsx(mZ,{setFilter:ze,placeholder:c}),n&&w.jsx(g5,{spinnerMessage:l}),e.length===0&&!n&&w.jsx(c5,{noRecordsMessage:u}),e.length>0&&!n&&w.jsx("div",{className:"flex justify-center items-center",children:w.jsx("div",{className:"overflow-x-auto",children:w.jsxs("table",{style:{width:Se.getCenterTotalSize()},children:[w.jsx("thead",{children:Se.getHeaderGroups().map(k=>w.jsx(h5,{headerGroup:k,onColumn:_,onSort:F}))}),w.jsx("tbody",{className:"divide-y divide-brand-disabled",children:Se.getRowModel().rows.map((k,ee)=>w.jsx(p5,{index:ee,row:k,renderSubComponent:m},k.id))})]})})}),w.jsx(u5,{itemsPerPageMessage:f,pageSeparatorMessage:h,totalRecords:Math.ceil(a/Te),size:Te,pageIndex:H,canNextPage:Ae,canPreviousPage:U,onPageSizeChange:Ve,onGoFirstPage:O,onGoPreviousPage:T,onGoLastPage:R,onGoNextPage:V}),i&&p&&y()]})}function bZ({value:e,onChange:t,placeholder:n,debounce:r=500,...i}){const[a,l]=b.useState(e);return b.useEffect(()=>{l(e)},[e]),b.useEffect(()=>{const u=setTimeout(()=>{t(a)},r);return()=>clearTimeout(u)},[a]),w.jsxs("div",{className:"flex items-center gap-2 px-2 my-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b focus-within:border-brand-primary focus-within:ring-brand-primary dark:bg-gray-700",children:[w.jsx(ec,{className:"text-brand-secondary-text dark:text-brand-gray"}),w.jsx("input",{...i,value:a,className:"flex-1 py-2 bg-transparent text-sm border-none appearance-none focus:outline-none focus:ring-0",placeholder:n,onChange:u=>l(u.target.value)})]})}function yZ({data:e,columns:t,isFetching:n,searchable:r=!0,isRowSelection:i=!1,spinnerMessage:a="Carregando...",noRecordsMessage:l="Nenhuma entrada encontrada.",searchPlaceholder:u="Buscar...",itemsPerPageMessage:c="Itens por página:",pageSeparatorMessage:f="de",onRowSelection:h,renderSubComponent:p,getRowCanExpand:m}){const v="onChange",[I,x]=b.useState([]),[E,_]=b.useState({}),[F,M]=b.useState(""),$=s5({data:e,columns:v5(i,t),columnResizeMode:v,initialState:{pagination:{pageSize:5}},defaultColumn:{minSize:100,size:150,maxSize:1e3},state:{rowSelection:E,sorting:I,globalFilter:F},getRowCanExpand:m,onGlobalFilterChange:M,onRowSelectionChange:_,getCoreRowModel:e5(),getFilteredRowModel:r5(),getPaginationRowModel:i5(),onSortingChange:x,getSortedRowModel:o5(),getExpandedRowModel:t5()}),D=$.getState().pagination.pageSize;function H(U){$.setPageSize(Number(U.target.value))}function z(){return h($.getSelectedRowModel().flatRows)}return w.jsxs(l5,{children:[r&&w.jsx(bZ,{value:F??"",onChange:U=>M(String(U)),placeholder:u}),n&&w.jsx(g5,{spinnerMessage:a}),e.length===0&&!n&&w.jsx(c5,{noRecordsMessage:l}),e.length>0&&!n&&w.jsx("div",{className:"flex justify-center items-center",children:w.jsx("div",{className:"overflow-x-auto",children:w.jsxs("table",{style:{width:$.getCenterTotalSize()},children:[w.jsx("thead",{children:$.getHeaderGroups().map(U=>w.jsx(h5,{headerGroup:U,isPagination:!1,onColumn:()=>null,onSort:()=>null}))}),w.jsx("tbody",{className:"divide-y divide-brand-disabled",children:$.getRowModel().rows.map((U,se)=>w.jsx(p5,{index:se,row:U,renderSubComponent:p},U.id))})]})})}),w.jsx(u5,{itemsPerPageMessage:c,pageSeparatorMessage:f,totalRecords:$.getPageCount(),size:D,pageIndex:$.getState().pagination.pageIndex,canNextPage:$.getCanNextPage(),canPreviousPage:$.getCanPreviousPage(),onPageSizeChange:H,onGoFirstPage:()=>$.setPageIndex(0),onGoPreviousPage:()=>$.previousPage(),onGoLastPage:()=>$.setPageIndex($.getPageCount()-1),onGoNextPage:()=>$.nextPage()}),i&&h&&z()]})}const D1=({children:e,tooltip:t})=>w.jsxs("div",{className:"relative inline-block group",children:[e,w.jsx("span",{className:`${Ke("invisible","group-hover:visible","opacity-0","group-hover:opacity-100","z-[99999]","group-hover:z-50","transition","transform","left-1/2","text-xs","-top-9","-translate-x-1/2","bg-brand-text","text-white","p-2","rounded","absolute","whitespace-nowrap")}`,children:t})]}),CZ=({children:e,className:t,id:n,tooltip:r,variant:i,...a})=>w.jsx(w.Fragment,{children:w.jsx(D1,{tooltip:r,children:w.jsx("button",{className:`${Ke("w-8 h-8 rounded","flex items-center justify-center","transition outline-none outline-2","shadow-action-button hover:shadow-action-button-hover","hover:bg-brand-secondary hover:text-white disabled:bg-brand-disabled disabled:text-white","disabled:shadow-none disabled:hover:cursor-not-allowed",{"bg-brand-primary text-white":i==="primary","bg-brand-tertiary-light text-brand-primary":i==="secondary"},t)}`,...a,children:e})},n)}),L1=({Container:e,children:t,fileName:n,disabled:r,onChange:i,multiple:a=!1,accept:l="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"})=>{const u=b.useRef(null),c=()=>{var h;return(h=u.current)==null?void 0:h.click()},f=h=>{const p=h.target;p.value=""};return w.jsxs(w.Fragment,{children:[w.jsx(e,{type:"button",disabled:r,onClick:c,fileName:n,children:t}),w.jsx("input",{ref:u,type:"file",className:"hidden",accept:l,multiple:a,onClick:f,onChange:h=>{h.target.files&&i(a?Array.from(h.target.files):h.target.files[0])}})]})},xZ=e=>w.jsx(Ji,{variant:"primary",...e}),wZ=e=>w.jsx(Ji,{variant:"secondary",...e}),SZ=({children:e,disabled:t,fileName:n,...r})=>w.jsx("button",{disabled:t,className:`relative ${t?"bg-gray-300 text-white cursor-not-allowed border-2 border-gray-900 border-dashed":"bg-white text-primary-500 hover:bg-primary-100 hover:mb-0 border-2 border-gray-800 border-dashed cursor-pointer"}
|
|
173
|
+
flex items-center justify-center w-full h-full p-2 overflow-hidden transition-all duration-300 ease-out transform focus:outline-none rounded-2xl border-opacity-20 dark:bg-brand-dark-gray-dark`,...r,children:w.jsxs("div",{className:`flex ${n?"flex-row":"flex-col"} items-center justify-center`,children:[w.jsx("div",{children:n?w.jsx(Y4,{}):w.jsx(fy,{})}),w.jsx("div",{children:w.jsx("span",{className:"w-full text-sm text-center text-gray-900 dark:text-brand-secondary-text",children:e})})]})}),IZ={PrimaryButton:e=>w.jsx(L1,{...e,Container:xZ}),OutlineButton:e=>w.jsx(L1,{...e,Container:wZ}),BoxButton:e=>w.jsx(L1,{...e,Container:SZ})};var su={exports:{}};/**
|
|
174
174
|
* @license
|
|
175
175
|
* Lodash <https://lodash.com/>
|
|
176
176
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
177
177
|
* Released under MIT license <https://lodash.com/license>
|
|
178
178
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
179
179
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
180
|
-
*/su.exports,function(e,t){(function(){var n,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,h="__lodash_placeholder__",p=1,m=2,v=4,S=1,x=2,E=1,A=2,O=4,R=8,$=16,N=32,X=64,Z=128,U=256,se=512,Ae=30,Xe="...",Ge=800,pe=16,Se=1,Te=2,be=3,Ve=1/0,ze=9007199254740991,M=17976931348623157e292,T=NaN,V=4294967295,F=V-1,y=V>>>1,k=[["ary",Z],["bind",E],["bindKey",A],["curry",R],["curryRight",$],["flip",se],["partial",N],["partialRight",X],["rearg",U]],ee="[object Arguments]",oe="[object Array]",z="[object AsyncFunction]",J="[object Boolean]",re="[object Date]",ie="[object DOMException]",ue="[object Error]",K="[object Function]",fe="[object GeneratorFunction]",q="[object Map]",de="[object Number]",xe="[object Null]",ye="[object Object]",je="[object Promise]",He="[object Proxy]",Qe="[object RegExp]",at="[object Set]",lt="[object String]",Et="[object Symbol]",Jt="[object Undefined]",Vt="[object WeakMap]",Hn="[object WeakSet]",un="[object ArrayBuffer]",er="[object DataView]",xr="[object Float32Array]",wr="[object Float64Array]",wi="[object Int8Array]",Si="[object Int16Array]",Ii="[object Int32Array]",Ei="[object Uint8Array]",Ai="[object Uint8ClampedArray]",_i="[object Uint16Array]",Pi="[object Uint32Array]",Sr=/\b__p \+= '';/g,Ti=/\b(__p \+=) '' \+/g,en=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tr=/&(?:amp|lt|gt|quot|#39);/g,nr=/[&<>"']/g,Mi=RegExp(tr.source),Ya=RegExp(nr.source),Oi=/<%-([\s\S]+?)%>/g,Ja=/<%([\s\S]+?)%>/g,Yr=/<%=([\s\S]+?)%>/g,Fi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ka=/^\w*$/,qa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ir=/[\\^$.*+?()[\]{}|]/g,Ri=RegExp(Ir.source),Vi=/^\s+/,Qa=/\s/,es=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ts=/\{\n\/\* \[wrapped with (.+)\] \*/,C=/,? & /,L=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,W=/[()=,{}\[\]\/\s]/,ce=/\\(\\)?/g,we=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,st=/^\[object .+?Constructor\]$/,We=/^0o[0-7]+$/i,Ue=/^(?:0|[1-9]\d*)$/,mt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kt=/($^)/,Wt=/['\n\r\u2028\u2029\\]/g,ot="\\ud800-\\udfff",Er="\\u0300-\\u036f",ns="\\ufe20-\\ufe2f",rs="\\u20d0-\\u20ff",v5=Er+ns+rs,b5="\\u2700-\\u27bf",y5="a-z\\xdf-\\xf6\\xf8-\\xff",FZ="\\xac\\xb1\\xd7\\xf7",RZ="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",VZ="\\u2000-\\u206f",BZ=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",C5="A-Z\\xc0-\\xd6\\xd8-\\xde",x5="\\ufe0e\\ufe0f",w5=FZ+RZ+VZ+BZ,D1="['’]",$Z="["+ot+"]",S5="["+w5+"]",lu="["+v5+"]",I5="\\d+",DZ="["+b5+"]",E5="["+y5+"]",A5="[^"+ot+w5+I5+b5+y5+C5+"]",N1="\\ud83c[\\udffb-\\udfff]",NZ="(?:"+lu+"|"+N1+")",_5="[^"+ot+"]",L1="(?:\\ud83c[\\udde6-\\uddff]){2}",j1="[\\ud800-\\udbff][\\udc00-\\udfff]",Do="["+C5+"]",P5="\\u200d",T5="(?:"+E5+"|"+A5+")",LZ="(?:"+Do+"|"+A5+")",M5="(?:"+D1+"(?:d|ll|m|re|s|t|ve))?",O5="(?:"+D1+"(?:D|LL|M|RE|S|T|VE))?",F5=NZ+"?",R5="["+x5+"]?",jZ="(?:"+P5+"(?:"+[_5,L1,j1].join("|")+")"+R5+F5+")*",kZ="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",GZ="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",V5=R5+F5+jZ,HZ="(?:"+[DZ,L1,j1].join("|")+")"+V5,WZ="(?:"+[_5+lu+"?",lu,L1,j1,$Z].join("|")+")",XZ=RegExp(D1,"g"),zZ=RegExp(lu,"g"),k1=RegExp(N1+"(?="+N1+")|"+WZ+V5,"g"),ZZ=RegExp([Do+"?"+E5+"+"+M5+"(?="+[S5,Do,"$"].join("|")+")",LZ+"+"+O5+"(?="+[S5,Do+T5,"$"].join("|")+")",Do+"?"+T5+"+"+M5,Do+"+"+O5,GZ,kZ,I5,HZ].join("|"),"g"),UZ=RegExp("["+P5+ot+v5+x5+"]"),YZ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,JZ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],KZ=-1,St={};St[xr]=St[wr]=St[wi]=St[Si]=St[Ii]=St[Ei]=St[Ai]=St[_i]=St[Pi]=!0,St[ee]=St[oe]=St[un]=St[J]=St[er]=St[re]=St[ue]=St[K]=St[q]=St[de]=St[ye]=St[Qe]=St[at]=St[lt]=St[Vt]=!1;var Ct={};Ct[ee]=Ct[oe]=Ct[un]=Ct[er]=Ct[J]=Ct[re]=Ct[xr]=Ct[wr]=Ct[wi]=Ct[Si]=Ct[Ii]=Ct[q]=Ct[de]=Ct[ye]=Ct[Qe]=Ct[at]=Ct[lt]=Ct[Et]=Ct[Ei]=Ct[Ai]=Ct[_i]=Ct[Pi]=!0,Ct[ue]=Ct[K]=Ct[Vt]=!1;var qZ={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},QZ={"&":"&","<":"<",">":">",'"':""","'":"'"},eU={"&":"&","<":"<",">":">",""":'"',"'":"'"},tU={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nU=parseFloat,rU=parseInt,B5=typeof ar=="object"&&ar&&ar.Object===Object&&ar,iU=typeof self=="object"&&self&&self.Object===Object&&self,Xt=B5||iU||Function("return this")(),G1=t&&!t.nodeType&&t,Bi=G1&&!0&&e&&!e.nodeType&&e,$5=Bi&&Bi.exports===G1,H1=$5&&B5.process,Mn=function(){try{var j=Bi&&Bi.require&&Bi.require("util").types;return j||H1&&H1.binding&&H1.binding("util")}catch{}}(),D5=Mn&&Mn.isArrayBuffer,N5=Mn&&Mn.isDate,L5=Mn&&Mn.isMap,j5=Mn&&Mn.isRegExp,k5=Mn&&Mn.isSet,G5=Mn&&Mn.isTypedArray;function yn(j,Y,H){switch(H.length){case 0:return j.call(Y);case 1:return j.call(Y,H[0]);case 2:return j.call(Y,H[0],H[1]);case 3:return j.call(Y,H[0],H[1],H[2])}return j.apply(Y,H)}function oU(j,Y,H,Ce){for(var Ze=-1,ft=j==null?0:j.length;++Ze<ft;){var Lt=j[Ze];Y(Ce,Lt,H(Lt),j)}return Ce}function On(j,Y){for(var H=-1,Ce=j==null?0:j.length;++H<Ce&&Y(j[H],H,j)!==!1;);return j}function aU(j,Y){for(var H=j==null?0:j.length;H--&&Y(j[H],H,j)!==!1;);return j}function H5(j,Y){for(var H=-1,Ce=j==null?0:j.length;++H<Ce;)if(!Y(j[H],H,j))return!1;return!0}function Jr(j,Y){for(var H=-1,Ce=j==null?0:j.length,Ze=0,ft=[];++H<Ce;){var Lt=j[H];Y(Lt,H,j)&&(ft[Ze++]=Lt)}return ft}function uu(j,Y){var H=j==null?0:j.length;return!!H&&No(j,Y,0)>-1}function W1(j,Y,H){for(var Ce=-1,Ze=j==null?0:j.length;++Ce<Ze;)if(H(Y,j[Ce]))return!0;return!1}function At(j,Y){for(var H=-1,Ce=j==null?0:j.length,Ze=Array(Ce);++H<Ce;)Ze[H]=Y(j[H],H,j);return Ze}function Kr(j,Y){for(var H=-1,Ce=Y.length,Ze=j.length;++H<Ce;)j[Ze+H]=Y[H];return j}function X1(j,Y,H,Ce){var Ze=-1,ft=j==null?0:j.length;for(Ce&&ft&&(H=j[++Ze]);++Ze<ft;)H=Y(H,j[Ze],Ze,j);return H}function sU(j,Y,H,Ce){var Ze=j==null?0:j.length;for(Ce&&Ze&&(H=j[--Ze]);Ze--;)H=Y(H,j[Ze],Ze,j);return H}function z1(j,Y){for(var H=-1,Ce=j==null?0:j.length;++H<Ce;)if(Y(j[H],H,j))return!0;return!1}var lU=Z1("length");function uU(j){return j.split("")}function cU(j){return j.match(L)||[]}function W5(j,Y,H){var Ce;return H(j,function(Ze,ft,Lt){if(Y(Ze,ft,Lt))return Ce=ft,!1}),Ce}function cu(j,Y,H,Ce){for(var Ze=j.length,ft=H+(Ce?1:-1);Ce?ft--:++ft<Ze;)if(Y(j[ft],ft,j))return ft;return-1}function No(j,Y,H){return Y===Y?wU(j,Y,H):cu(j,X5,H)}function fU(j,Y,H,Ce){for(var Ze=H-1,ft=j.length;++Ze<ft;)if(Ce(j[Ze],Y))return Ze;return-1}function X5(j){return j!==j}function z5(j,Y){var H=j==null?0:j.length;return H?Y1(j,Y)/H:T}function Z1(j){return function(Y){return Y==null?n:Y[j]}}function U1(j){return function(Y){return j==null?n:j[Y]}}function Z5(j,Y,H,Ce,Ze){return Ze(j,function(ft,Lt,vt){H=Ce?(Ce=!1,ft):Y(H,ft,Lt,vt)}),H}function dU(j,Y){var H=j.length;for(j.sort(Y);H--;)j[H]=j[H].value;return j}function Y1(j,Y){for(var H,Ce=-1,Ze=j.length;++Ce<Ze;){var ft=Y(j[Ce]);ft!==n&&(H=H===n?ft:H+ft)}return H}function J1(j,Y){for(var H=-1,Ce=Array(j);++H<j;)Ce[H]=Y(H);return Ce}function hU(j,Y){return At(Y,function(H){return[H,j[H]]})}function U5(j){return j&&j.slice(0,q5(j)+1).replace(Vi,"")}function Cn(j){return function(Y){return j(Y)}}function K1(j,Y){return At(Y,function(H){return j[H]})}function is(j,Y){return j.has(Y)}function Y5(j,Y){for(var H=-1,Ce=j.length;++H<Ce&&No(Y,j[H],0)>-1;);return H}function J5(j,Y){for(var H=j.length;H--&&No(Y,j[H],0)>-1;);return H}function pU(j,Y){for(var H=j.length,Ce=0;H--;)j[H]===Y&&++Ce;return Ce}var gU=U1(qZ),mU=U1(QZ);function vU(j){return"\\"+tU[j]}function bU(j,Y){return j==null?n:j[Y]}function Lo(j){return UZ.test(j)}function yU(j){return YZ.test(j)}function CU(j){for(var Y,H=[];!(Y=j.next()).done;)H.push(Y.value);return H}function q1(j){var Y=-1,H=Array(j.size);return j.forEach(function(Ce,Ze){H[++Y]=[Ze,Ce]}),H}function K5(j,Y){return function(H){return j(Y(H))}}function qr(j,Y){for(var H=-1,Ce=j.length,Ze=0,ft=[];++H<Ce;){var Lt=j[H];(Lt===Y||Lt===h)&&(j[H]=h,ft[Ze++]=H)}return ft}function fu(j){var Y=-1,H=Array(j.size);return j.forEach(function(Ce){H[++Y]=Ce}),H}function xU(j){var Y=-1,H=Array(j.size);return j.forEach(function(Ce){H[++Y]=[Ce,Ce]}),H}function wU(j,Y,H){for(var Ce=H-1,Ze=j.length;++Ce<Ze;)if(j[Ce]===Y)return Ce;return-1}function SU(j,Y,H){for(var Ce=H+1;Ce--;)if(j[Ce]===Y)return Ce;return Ce}function jo(j){return Lo(j)?EU(j):lU(j)}function Wn(j){return Lo(j)?AU(j):uU(j)}function q5(j){for(var Y=j.length;Y--&&Qa.test(j.charAt(Y)););return Y}var IU=U1(eU);function EU(j){for(var Y=k1.lastIndex=0;k1.test(j);)++Y;return Y}function AU(j){return j.match(k1)||[]}function _U(j){return j.match(ZZ)||[]}var PU=function j(Y){Y=Y==null?Xt:ko.defaults(Xt.Object(),Y,ko.pick(Xt,JZ));var H=Y.Array,Ce=Y.Date,Ze=Y.Error,ft=Y.Function,Lt=Y.Math,vt=Y.Object,Q1=Y.RegExp,TU=Y.String,Fn=Y.TypeError,du=H.prototype,MU=ft.prototype,Go=vt.prototype,hu=Y["__core-js_shared__"],pu=MU.toString,gt=Go.hasOwnProperty,OU=0,Q5=function(){var o=/[^.]+$/.exec(hu&&hu.keys&&hu.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),gu=Go.toString,FU=pu.call(vt),RU=Xt._,VU=Q1("^"+pu.call(gt).replace(Ir,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mu=$5?Y.Buffer:n,Qr=Y.Symbol,vu=Y.Uint8Array,e9=mu?mu.allocUnsafe:n,bu=K5(vt.getPrototypeOf,vt),t9=vt.create,n9=Go.propertyIsEnumerable,yu=du.splice,r9=Qr?Qr.isConcatSpreadable:n,os=Qr?Qr.iterator:n,$i=Qr?Qr.toStringTag:n,Cu=function(){try{var o=ki(vt,"defineProperty");return o({},"",{}),o}catch{}}(),BU=Y.clearTimeout!==Xt.clearTimeout&&Y.clearTimeout,$U=Ce&&Ce.now!==Xt.Date.now&&Ce.now,DU=Y.setTimeout!==Xt.setTimeout&&Y.setTimeout,xu=Lt.ceil,wu=Lt.floor,eh=vt.getOwnPropertySymbols,NU=mu?mu.isBuffer:n,i9=Y.isFinite,LU=du.join,jU=K5(vt.keys,vt),jt=Lt.max,Kt=Lt.min,kU=Ce.now,GU=Y.parseInt,o9=Lt.random,HU=du.reverse,th=ki(Y,"DataView"),as=ki(Y,"Map"),nh=ki(Y,"Promise"),Ho=ki(Y,"Set"),ss=ki(Y,"WeakMap"),ls=ki(vt,"create"),Su=ss&&new ss,Wo={},WU=Gi(th),XU=Gi(as),zU=Gi(nh),ZU=Gi(Ho),UU=Gi(ss),Iu=Qr?Qr.prototype:n,us=Iu?Iu.valueOf:n,a9=Iu?Iu.toString:n;function _(o){if(Ft(o)&&!Ye(o)&&!(o instanceof nt)){if(o instanceof Rn)return o;if(gt.call(o,"__wrapped__"))return s4(o)}return new Rn(o)}var Xo=function(){function o(){}return function(s){if(!Pt(s))return{};if(t9)return t9(s);o.prototype=s;var d=new o;return o.prototype=n,d}}();function Eu(){}function Rn(o,s){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}_.templateSettings={escape:Oi,evaluate:Ja,interpolate:Yr,variable:"",imports:{_}},_.prototype=Eu.prototype,_.prototype.constructor=_,Rn.prototype=Xo(Eu.prototype),Rn.prototype.constructor=Rn;function nt(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=V,this.__views__=[]}function YU(){var o=new nt(this.__wrapped__);return o.__actions__=cn(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=cn(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=cn(this.__views__),o}function JU(){if(this.__filtered__){var o=new nt(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function KU(){var o=this.__wrapped__.value(),s=this.__dir__,d=Ye(o),g=s<0,I=d?o.length:0,P=uJ(0,I,this.__views__),B=P.start,D=P.end,G=D-B,te=g?D:B-1,ne=this.__iteratees__,le=ne.length,ge=0,Ee=Kt(G,this.__takeCount__);if(!d||!g&&I==G&&Ee==G)return M9(o,this.__actions__);var De=[];e:for(;G--&&ge<Ee;){te+=s;for(var qe=-1,Ne=o[te];++qe<le;){var tt=ne[qe],it=tt.iteratee,Sn=tt.type,rn=it(Ne);if(Sn==Te)Ne=rn;else if(!rn){if(Sn==Se)continue e;break e}}De[ge++]=Ne}return De}nt.prototype=Xo(Eu.prototype),nt.prototype.constructor=nt;function Di(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function qU(){this.__data__=ls?ls(null):{},this.size=0}function QU(o){var s=this.has(o)&&delete this.__data__[o];return this.size-=s?1:0,s}function eY(o){var s=this.__data__;if(ls){var d=s[o];return d===c?n:d}return gt.call(s,o)?s[o]:n}function tY(o){var s=this.__data__;return ls?s[o]!==n:gt.call(s,o)}function nY(o,s){var d=this.__data__;return this.size+=this.has(o)?0:1,d[o]=ls&&s===n?c:s,this}Di.prototype.clear=qU,Di.prototype.delete=QU,Di.prototype.get=eY,Di.prototype.has=tY,Di.prototype.set=nY;function Ar(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function rY(){this.__data__=[],this.size=0}function iY(o){var s=this.__data__,d=Au(s,o);if(d<0)return!1;var g=s.length-1;return d==g?s.pop():yu.call(s,d,1),--this.size,!0}function oY(o){var s=this.__data__,d=Au(s,o);return d<0?n:s[d][1]}function aY(o){return Au(this.__data__,o)>-1}function sY(o,s){var d=this.__data__,g=Au(d,o);return g<0?(++this.size,d.push([o,s])):d[g][1]=s,this}Ar.prototype.clear=rY,Ar.prototype.delete=iY,Ar.prototype.get=oY,Ar.prototype.has=aY,Ar.prototype.set=sY;function _r(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function lY(){this.size=0,this.__data__={hash:new Di,map:new(as||Ar),string:new Di}}function uY(o){var s=Nu(this,o).delete(o);return this.size-=s?1:0,s}function cY(o){return Nu(this,o).get(o)}function fY(o){return Nu(this,o).has(o)}function dY(o,s){var d=Nu(this,o),g=d.size;return d.set(o,s),this.size+=d.size==g?0:1,this}_r.prototype.clear=lY,_r.prototype.delete=uY,_r.prototype.get=cY,_r.prototype.has=fY,_r.prototype.set=dY;function Ni(o){var s=-1,d=o==null?0:o.length;for(this.__data__=new _r;++s<d;)this.add(o[s])}function hY(o){return this.__data__.set(o,c),this}function pY(o){return this.__data__.has(o)}Ni.prototype.add=Ni.prototype.push=hY,Ni.prototype.has=pY;function Xn(o){var s=this.__data__=new Ar(o);this.size=s.size}function gY(){this.__data__=new Ar,this.size=0}function mY(o){var s=this.__data__,d=s.delete(o);return this.size=s.size,d}function vY(o){return this.__data__.get(o)}function bY(o){return this.__data__.has(o)}function yY(o,s){var d=this.__data__;if(d instanceof Ar){var g=d.__data__;if(!as||g.length<i-1)return g.push([o,s]),this.size=++d.size,this;d=this.__data__=new _r(g)}return d.set(o,s),this.size=d.size,this}Xn.prototype.clear=gY,Xn.prototype.delete=mY,Xn.prototype.get=vY,Xn.prototype.has=bY,Xn.prototype.set=yY;function s9(o,s){var d=Ye(o),g=!d&&Hi(o),I=!d&&!g&&ii(o),P=!d&&!g&&!I&&Yo(o),B=d||g||I||P,D=B?J1(o.length,TU):[],G=D.length;for(var te in o)(s||gt.call(o,te))&&!(B&&(te=="length"||I&&(te=="offset"||te=="parent")||P&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||Or(te,G)))&&D.push(te);return D}function l9(o){var s=o.length;return s?o[hh(0,s-1)]:n}function CY(o,s){return Lu(cn(o),Li(s,0,o.length))}function xY(o){return Lu(cn(o))}function rh(o,s,d){(d!==n&&!zn(o[s],d)||d===n&&!(s in o))&&Pr(o,s,d)}function cs(o,s,d){var g=o[s];(!(gt.call(o,s)&&zn(g,d))||d===n&&!(s in o))&&Pr(o,s,d)}function Au(o,s){for(var d=o.length;d--;)if(zn(o[d][0],s))return d;return-1}function wY(o,s,d,g){return ei(o,function(I,P,B){s(g,I,d(I),B)}),g}function u9(o,s){return o&&ir(s,Gt(s),o)}function SY(o,s){return o&&ir(s,dn(s),o)}function Pr(o,s,d){s=="__proto__"&&Cu?Cu(o,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):o[s]=d}function ih(o,s){for(var d=-1,g=s.length,I=H(g),P=o==null;++d<g;)I[d]=P?n:Nh(o,s[d]);return I}function Li(o,s,d){return o===o&&(d!==n&&(o=o<=d?o:d),s!==n&&(o=o>=s?o:s)),o}function Vn(o,s,d,g,I,P){var B,D=s&p,G=s&m,te=s&v;if(d&&(B=I?d(o,g,I,P):d(o)),B!==n)return B;if(!Pt(o))return o;var ne=Ye(o);if(ne){if(B=fJ(o),!D)return cn(o,B)}else{var le=qt(o),ge=le==K||le==fe;if(ii(o))return R9(o,D);if(le==ye||le==ee||ge&&!I){if(B=G||ge?{}:q9(o),!D)return G?eJ(o,SY(B,o)):QY(o,u9(B,o))}else{if(!Ct[le])return I?o:{};B=dJ(o,le,D)}}P||(P=new Xn);var Ee=P.get(o);if(Ee)return Ee;P.set(o,B),_4(o)?o.forEach(function(Ne){B.add(Vn(Ne,s,d,Ne,o,P))}):E4(o)&&o.forEach(function(Ne,tt){B.set(tt,Vn(Ne,s,d,tt,o,P))});var De=te?G?Ih:Sh:G?dn:Gt,qe=ne?n:De(o);return On(qe||o,function(Ne,tt){qe&&(tt=Ne,Ne=o[tt]),cs(B,tt,Vn(Ne,s,d,tt,o,P))}),B}function IY(o){var s=Gt(o);return function(d){return c9(d,o,s)}}function c9(o,s,d){var g=d.length;if(o==null)return!g;for(o=vt(o);g--;){var I=d[g],P=s[I],B=o[I];if(B===n&&!(I in o)||!P(B))return!1}return!0}function f9(o,s,d){if(typeof o!="function")throw new Fn(l);return vs(function(){o.apply(n,d)},s)}function fs(o,s,d,g){var I=-1,P=uu,B=!0,D=o.length,G=[],te=s.length;if(!D)return G;d&&(s=At(s,Cn(d))),g?(P=W1,B=!1):s.length>=i&&(P=is,B=!1,s=new Ni(s));e:for(;++I<D;){var ne=o[I],le=d==null?ne:d(ne);if(ne=g||ne!==0?ne:0,B&&le===le){for(var ge=te;ge--;)if(s[ge]===le)continue e;G.push(ne)}else P(s,le,g)||G.push(ne)}return G}var ei=N9(rr),d9=N9(ah,!0);function EY(o,s){var d=!0;return ei(o,function(g,I,P){return d=!!s(g,I,P),d}),d}function _u(o,s,d){for(var g=-1,I=o.length;++g<I;){var P=o[g],B=s(P);if(B!=null&&(D===n?B===B&&!wn(B):d(B,D)))var D=B,G=P}return G}function AY(o,s,d,g){var I=o.length;for(d=Je(d),d<0&&(d=-d>I?0:I+d),g=g===n||g>I?I:Je(g),g<0&&(g+=I),g=d>g?0:T4(g);d<g;)o[d++]=s;return o}function h9(o,s){var d=[];return ei(o,function(g,I,P){s(g,I,P)&&d.push(g)}),d}function zt(o,s,d,g,I){var P=-1,B=o.length;for(d||(d=pJ),I||(I=[]);++P<B;){var D=o[P];s>0&&d(D)?s>1?zt(D,s-1,d,g,I):Kr(I,D):g||(I[I.length]=D)}return I}var oh=L9(),p9=L9(!0);function rr(o,s){return o&&oh(o,s,Gt)}function ah(o,s){return o&&p9(o,s,Gt)}function Pu(o,s){return Jr(s,function(d){return Fr(o[d])})}function ji(o,s){s=ni(s,o);for(var d=0,g=s.length;o!=null&&d<g;)o=o[or(s[d++])];return d&&d==g?o:n}function g9(o,s,d){var g=s(o);return Ye(o)?g:Kr(g,d(o))}function tn(o){return o==null?o===n?Jt:xe:$i&&$i in vt(o)?lJ(o):xJ(o)}function sh(o,s){return o>s}function _Y(o,s){return o!=null&>.call(o,s)}function PY(o,s){return o!=null&&s in vt(o)}function TY(o,s,d){return o>=Kt(s,d)&&o<jt(s,d)}function lh(o,s,d){for(var g=d?W1:uu,I=o[0].length,P=o.length,B=P,D=H(P),G=1/0,te=[];B--;){var ne=o[B];B&&s&&(ne=At(ne,Cn(s))),G=Kt(ne.length,G),D[B]=!d&&(s||I>=120&&ne.length>=120)?new Ni(B&&ne):n}ne=o[0];var le=-1,ge=D[0];e:for(;++le<I&&te.length<G;){var Ee=ne[le],De=s?s(Ee):Ee;if(Ee=d||Ee!==0?Ee:0,!(ge?is(ge,De):g(te,De,d))){for(B=P;--B;){var qe=D[B];if(!(qe?is(qe,De):g(o[B],De,d)))continue e}ge&&ge.push(De),te.push(Ee)}}return te}function MY(o,s,d,g){return rr(o,function(I,P,B){s(g,d(I),P,B)}),g}function ds(o,s,d){s=ni(s,o),o=n4(o,s);var g=o==null?o:o[or($n(s))];return g==null?n:yn(g,o,d)}function m9(o){return Ft(o)&&tn(o)==ee}function OY(o){return Ft(o)&&tn(o)==un}function FY(o){return Ft(o)&&tn(o)==re}function hs(o,s,d,g,I){return o===s?!0:o==null||s==null||!Ft(o)&&!Ft(s)?o!==o&&s!==s:RY(o,s,d,g,hs,I)}function RY(o,s,d,g,I,P){var B=Ye(o),D=Ye(s),G=B?oe:qt(o),te=D?oe:qt(s);G=G==ee?ye:G,te=te==ee?ye:te;var ne=G==ye,le=te==ye,ge=G==te;if(ge&&ii(o)){if(!ii(s))return!1;B=!0,ne=!1}if(ge&&!ne)return P||(P=new Xn),B||Yo(o)?Y9(o,s,d,g,I,P):aJ(o,s,G,d,g,I,P);if(!(d&S)){var Ee=ne&>.call(o,"__wrapped__"),De=le&>.call(s,"__wrapped__");if(Ee||De){var qe=Ee?o.value():o,Ne=De?s.value():s;return P||(P=new Xn),I(qe,Ne,d,g,P)}}return ge?(P||(P=new Xn),sJ(o,s,d,g,I,P)):!1}function VY(o){return Ft(o)&&qt(o)==q}function uh(o,s,d,g){var I=d.length,P=I,B=!g;if(o==null)return!P;for(o=vt(o);I--;){var D=d[I];if(B&&D[2]?D[1]!==o[D[0]]:!(D[0]in o))return!1}for(;++I<P;){D=d[I];var G=D[0],te=o[G],ne=D[1];if(B&&D[2]){if(te===n&&!(G in o))return!1}else{var le=new Xn;if(g)var ge=g(te,ne,G,o,s,le);if(!(ge===n?hs(ne,te,S|x,g,le):ge))return!1}}return!0}function v9(o){if(!Pt(o)||mJ(o))return!1;var s=Fr(o)?VU:st;return s.test(Gi(o))}function BY(o){return Ft(o)&&tn(o)==Qe}function $Y(o){return Ft(o)&&qt(o)==at}function DY(o){return Ft(o)&&Xu(o.length)&&!!St[tn(o)]}function b9(o){return typeof o=="function"?o:o==null?hn:typeof o=="object"?Ye(o)?x9(o[0],o[1]):C9(o):j4(o)}function ch(o){if(!ms(o))return jU(o);var s=[];for(var d in vt(o))gt.call(o,d)&&d!="constructor"&&s.push(d);return s}function NY(o){if(!Pt(o))return CJ(o);var s=ms(o),d=[];for(var g in o)g=="constructor"&&(s||!gt.call(o,g))||d.push(g);return d}function fh(o,s){return o<s}function y9(o,s){var d=-1,g=fn(o)?H(o.length):[];return ei(o,function(I,P,B){g[++d]=s(I,P,B)}),g}function C9(o){var s=Ah(o);return s.length==1&&s[0][2]?e4(s[0][0],s[0][1]):function(d){return d===o||uh(d,o,s)}}function x9(o,s){return Ph(o)&&Q9(s)?e4(or(o),s):function(d){var g=Nh(d,o);return g===n&&g===s?Lh(d,o):hs(s,g,S|x)}}function Tu(o,s,d,g,I){o!==s&&oh(s,function(P,B){if(I||(I=new Xn),Pt(P))LY(o,s,B,d,Tu,g,I);else{var D=g?g(Mh(o,B),P,B+"",o,s,I):n;D===n&&(D=P),rh(o,B,D)}},dn)}function LY(o,s,d,g,I,P,B){var D=Mh(o,d),G=Mh(s,d),te=B.get(G);if(te){rh(o,d,te);return}var ne=P?P(D,G,d+"",o,s,B):n,le=ne===n;if(le){var ge=Ye(G),Ee=!ge&&ii(G),De=!ge&&!Ee&&Yo(G);ne=G,ge||Ee||De?Ye(D)?ne=D:Bt(D)?ne=cn(D):Ee?(le=!1,ne=R9(G,!0)):De?(le=!1,ne=V9(G,!0)):ne=[]:bs(G)||Hi(G)?(ne=D,Hi(D)?ne=M4(D):(!Pt(D)||Fr(D))&&(ne=q9(G))):le=!1}le&&(B.set(G,ne),I(ne,G,g,P,B),B.delete(G)),rh(o,d,ne)}function w9(o,s){var d=o.length;if(d)return s+=s<0?d:0,Or(s,d)?o[s]:n}function S9(o,s,d){s.length?s=At(s,function(P){return Ye(P)?function(B){return ji(B,P.length===1?P[0]:P)}:P}):s=[hn];var g=-1;s=At(s,Cn(Be()));var I=y9(o,function(P,B,D){var G=At(s,function(te){return te(P)});return{criteria:G,index:++g,value:P}});return dU(I,function(P,B){return qY(P,B,d)})}function jY(o,s){return I9(o,s,function(d,g){return Lh(o,g)})}function I9(o,s,d){for(var g=-1,I=s.length,P={};++g<I;){var B=s[g],D=ji(o,B);d(D,B)&&ps(P,ni(B,o),D)}return P}function kY(o){return function(s){return ji(s,o)}}function dh(o,s,d,g){var I=g?fU:No,P=-1,B=s.length,D=o;for(o===s&&(s=cn(s)),d&&(D=At(o,Cn(d)));++P<B;)for(var G=0,te=s[P],ne=d?d(te):te;(G=I(D,ne,G,g))>-1;)D!==o&&yu.call(D,G,1),yu.call(o,G,1);return o}function E9(o,s){for(var d=o?s.length:0,g=d-1;d--;){var I=s[d];if(d==g||I!==P){var P=I;Or(I)?yu.call(o,I,1):mh(o,I)}}return o}function hh(o,s){return o+wu(o9()*(s-o+1))}function GY(o,s,d,g){for(var I=-1,P=jt(xu((s-o)/(d||1)),0),B=H(P);P--;)B[g?P:++I]=o,o+=d;return B}function ph(o,s){var d="";if(!o||s<1||s>ze)return d;do s%2&&(d+=o),s=wu(s/2),s&&(o+=o);while(s);return d}function et(o,s){return Oh(t4(o,s,hn),o+"")}function HY(o){return l9(Jo(o))}function WY(o,s){var d=Jo(o);return Lu(d,Li(s,0,d.length))}function ps(o,s,d,g){if(!Pt(o))return o;s=ni(s,o);for(var I=-1,P=s.length,B=P-1,D=o;D!=null&&++I<P;){var G=or(s[I]),te=d;if(G==="__proto__"||G==="constructor"||G==="prototype")return o;if(I!=B){var ne=D[G];te=g?g(ne,G,D):n,te===n&&(te=Pt(ne)?ne:Or(s[I+1])?[]:{})}cs(D,G,te),D=D[G]}return o}var A9=Su?function(o,s){return Su.set(o,s),o}:hn,XY=Cu?function(o,s){return Cu(o,"toString",{configurable:!0,enumerable:!1,value:kh(s),writable:!0})}:hn;function zY(o){return Lu(Jo(o))}function Bn(o,s,d){var g=-1,I=o.length;s<0&&(s=-s>I?0:I+s),d=d>I?I:d,d<0&&(d+=I),I=s>d?0:d-s>>>0,s>>>=0;for(var P=H(I);++g<I;)P[g]=o[g+s];return P}function ZY(o,s){var d;return ei(o,function(g,I,P){return d=s(g,I,P),!d}),!!d}function Mu(o,s,d){var g=0,I=o==null?g:o.length;if(typeof s=="number"&&s===s&&I<=y){for(;g<I;){var P=g+I>>>1,B=o[P];B!==null&&!wn(B)&&(d?B<=s:B<s)?g=P+1:I=P}return I}return gh(o,s,hn,d)}function gh(o,s,d,g){var I=0,P=o==null?0:o.length;if(P===0)return 0;s=d(s);for(var B=s!==s,D=s===null,G=wn(s),te=s===n;I<P;){var ne=wu((I+P)/2),le=d(o[ne]),ge=le!==n,Ee=le===null,De=le===le,qe=wn(le);if(B)var Ne=g||De;else te?Ne=De&&(g||ge):D?Ne=De&&ge&&(g||!Ee):G?Ne=De&&ge&&!Ee&&(g||!qe):Ee||qe?Ne=!1:Ne=g?le<=s:le<s;Ne?I=ne+1:P=ne}return Kt(P,F)}function _9(o,s){for(var d=-1,g=o.length,I=0,P=[];++d<g;){var B=o[d],D=s?s(B):B;if(!d||!zn(D,G)){var G=D;P[I++]=B===0?0:B}}return P}function P9(o){return typeof o=="number"?o:wn(o)?T:+o}function xn(o){if(typeof o=="string")return o;if(Ye(o))return At(o,xn)+"";if(wn(o))return a9?a9.call(o):"";var s=o+"";return s=="0"&&1/o==-Ve?"-0":s}function ti(o,s,d){var g=-1,I=uu,P=o.length,B=!0,D=[],G=D;if(d)B=!1,I=W1;else if(P>=i){var te=s?null:iJ(o);if(te)return fu(te);B=!1,I=is,G=new Ni}else G=s?[]:D;e:for(;++g<P;){var ne=o[g],le=s?s(ne):ne;if(ne=d||ne!==0?ne:0,B&&le===le){for(var ge=G.length;ge--;)if(G[ge]===le)continue e;s&&G.push(le),D.push(ne)}else I(G,le,d)||(G!==D&&G.push(le),D.push(ne))}return D}function mh(o,s){return s=ni(s,o),o=n4(o,s),o==null||delete o[or($n(s))]}function T9(o,s,d,g){return ps(o,s,d(ji(o,s)),g)}function Ou(o,s,d,g){for(var I=o.length,P=g?I:-1;(g?P--:++P<I)&&s(o[P],P,o););return d?Bn(o,g?0:P,g?P+1:I):Bn(o,g?P+1:0,g?I:P)}function M9(o,s){var d=o;return d instanceof nt&&(d=d.value()),X1(s,function(g,I){return I.func.apply(I.thisArg,Kr([g],I.args))},d)}function vh(o,s,d){var g=o.length;if(g<2)return g?ti(o[0]):[];for(var I=-1,P=H(g);++I<g;)for(var B=o[I],D=-1;++D<g;)D!=I&&(P[I]=fs(P[I]||B,o[D],s,d));return ti(zt(P,1),s,d)}function O9(o,s,d){for(var g=-1,I=o.length,P=s.length,B={};++g<I;){var D=g<P?s[g]:n;d(B,o[g],D)}return B}function bh(o){return Bt(o)?o:[]}function yh(o){return typeof o=="function"?o:hn}function ni(o,s){return Ye(o)?o:Ph(o,s)?[o]:a4(pt(o))}var UY=et;function ri(o,s,d){var g=o.length;return d=d===n?g:d,!s&&d>=g?o:Bn(o,s,d)}var F9=BU||function(o){return Xt.clearTimeout(o)};function R9(o,s){if(s)return o.slice();var d=o.length,g=e9?e9(d):new o.constructor(d);return o.copy(g),g}function Ch(o){var s=new o.constructor(o.byteLength);return new vu(s).set(new vu(o)),s}function YY(o,s){var d=s?Ch(o.buffer):o.buffer;return new o.constructor(d,o.byteOffset,o.byteLength)}function JY(o){var s=new o.constructor(o.source,_e.exec(o));return s.lastIndex=o.lastIndex,s}function KY(o){return us?vt(us.call(o)):{}}function V9(o,s){var d=s?Ch(o.buffer):o.buffer;return new o.constructor(d,o.byteOffset,o.length)}function B9(o,s){if(o!==s){var d=o!==n,g=o===null,I=o===o,P=wn(o),B=s!==n,D=s===null,G=s===s,te=wn(s);if(!D&&!te&&!P&&o>s||P&&B&&G&&!D&&!te||g&&B&&G||!d&&G||!I)return 1;if(!g&&!P&&!te&&o<s||te&&d&&I&&!g&&!P||D&&d&&I||!B&&I||!G)return-1}return 0}function qY(o,s,d){for(var g=-1,I=o.criteria,P=s.criteria,B=I.length,D=d.length;++g<B;){var G=B9(I[g],P[g]);if(G){if(g>=D)return G;var te=d[g];return G*(te=="desc"?-1:1)}}return o.index-s.index}function $9(o,s,d,g){for(var I=-1,P=o.length,B=d.length,D=-1,G=s.length,te=jt(P-B,0),ne=H(G+te),le=!g;++D<G;)ne[D]=s[D];for(;++I<B;)(le||I<P)&&(ne[d[I]]=o[I]);for(;te--;)ne[D++]=o[I++];return ne}function D9(o,s,d,g){for(var I=-1,P=o.length,B=-1,D=d.length,G=-1,te=s.length,ne=jt(P-D,0),le=H(ne+te),ge=!g;++I<ne;)le[I]=o[I];for(var Ee=I;++G<te;)le[Ee+G]=s[G];for(;++B<D;)(ge||I<P)&&(le[Ee+d[B]]=o[I++]);return le}function cn(o,s){var d=-1,g=o.length;for(s||(s=H(g));++d<g;)s[d]=o[d];return s}function ir(o,s,d,g){var I=!d;d||(d={});for(var P=-1,B=s.length;++P<B;){var D=s[P],G=g?g(d[D],o[D],D,d,o):n;G===n&&(G=o[D]),I?Pr(d,D,G):cs(d,D,G)}return d}function QY(o,s){return ir(o,_h(o),s)}function eJ(o,s){return ir(o,J9(o),s)}function Fu(o,s){return function(d,g){var I=Ye(d)?oU:wY,P=s?s():{};return I(d,o,Be(g,2),P)}}function zo(o){return et(function(s,d){var g=-1,I=d.length,P=I>1?d[I-1]:n,B=I>2?d[2]:n;for(P=o.length>3&&typeof P=="function"?(I--,P):n,B&&nn(d[0],d[1],B)&&(P=I<3?n:P,I=1),s=vt(s);++g<I;){var D=d[g];D&&o(s,D,g,P)}return s})}function N9(o,s){return function(d,g){if(d==null)return d;if(!fn(d))return o(d,g);for(var I=d.length,P=s?I:-1,B=vt(d);(s?P--:++P<I)&&g(B[P],P,B)!==!1;);return d}}function L9(o){return function(s,d,g){for(var I=-1,P=vt(s),B=g(s),D=B.length;D--;){var G=B[o?D:++I];if(d(P[G],G,P)===!1)break}return s}}function tJ(o,s,d){var g=s&E,I=gs(o);function P(){var B=this&&this!==Xt&&this instanceof P?I:o;return B.apply(g?d:this,arguments)}return P}function j9(o){return function(s){s=pt(s);var d=Lo(s)?Wn(s):n,g=d?d[0]:s.charAt(0),I=d?ri(d,1).join(""):s.slice(1);return g[o]()+I}}function Zo(o){return function(s){return X1(N4(D4(s).replace(XZ,"")),o,"")}}function gs(o){return function(){var s=arguments;switch(s.length){case 0:return new o;case 1:return new o(s[0]);case 2:return new o(s[0],s[1]);case 3:return new o(s[0],s[1],s[2]);case 4:return new o(s[0],s[1],s[2],s[3]);case 5:return new o(s[0],s[1],s[2],s[3],s[4]);case 6:return new o(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new o(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=Xo(o.prototype),g=o.apply(d,s);return Pt(g)?g:d}}function nJ(o,s,d){var g=gs(o);function I(){for(var P=arguments.length,B=H(P),D=P,G=Uo(I);D--;)B[D]=arguments[D];var te=P<3&&B[0]!==G&&B[P-1]!==G?[]:qr(B,G);if(P-=te.length,P<d)return X9(o,s,Ru,I.placeholder,n,B,te,n,n,d-P);var ne=this&&this!==Xt&&this instanceof I?g:o;return yn(ne,this,B)}return I}function k9(o){return function(s,d,g){var I=vt(s);if(!fn(s)){var P=Be(d,3);s=Gt(s),d=function(D){return P(I[D],D,I)}}var B=o(s,d,g);return B>-1?I[P?s[B]:B]:n}}function G9(o){return Mr(function(s){var d=s.length,g=d,I=Rn.prototype.thru;for(o&&s.reverse();g--;){var P=s[g];if(typeof P!="function")throw new Fn(l);if(I&&!B&&Du(P)=="wrapper")var B=new Rn([],!0)}for(g=B?g:d;++g<d;){P=s[g];var D=Du(P),G=D=="wrapper"?Eh(P):n;G&&Th(G[0])&&G[1]==(Z|R|N|U)&&!G[4].length&&G[9]==1?B=B[Du(G[0])].apply(B,G[3]):B=P.length==1&&Th(P)?B[D]():B.thru(P)}return function(){var te=arguments,ne=te[0];if(B&&te.length==1&&Ye(ne))return B.plant(ne).value();for(var le=0,ge=d?s[le].apply(this,te):ne;++le<d;)ge=s[le].call(this,ge);return ge}})}function Ru(o,s,d,g,I,P,B,D,G,te){var ne=s&Z,le=s&E,ge=s&A,Ee=s&(R|$),De=s&se,qe=ge?n:gs(o);function Ne(){for(var tt=arguments.length,it=H(tt),Sn=tt;Sn--;)it[Sn]=arguments[Sn];if(Ee)var rn=Uo(Ne),In=pU(it,rn);if(g&&(it=$9(it,g,I,Ee)),P&&(it=D9(it,P,B,Ee)),tt-=In,Ee&&tt<te){var $t=qr(it,rn);return X9(o,s,Ru,Ne.placeholder,d,it,$t,D,G,te-tt)}var Zn=le?d:this,Vr=ge?Zn[o]:o;return tt=it.length,D?it=wJ(it,D):De&&tt>1&&it.reverse(),ne&&G<tt&&(it.length=G),this&&this!==Xt&&this instanceof Ne&&(Vr=qe||gs(Vr)),Vr.apply(Zn,it)}return Ne}function H9(o,s){return function(d,g){return MY(d,o,s(g),{})}}function Vu(o,s){return function(d,g){var I;if(d===n&&g===n)return s;if(d!==n&&(I=d),g!==n){if(I===n)return g;typeof d=="string"||typeof g=="string"?(d=xn(d),g=xn(g)):(d=P9(d),g=P9(g)),I=o(d,g)}return I}}function xh(o){return Mr(function(s){return s=At(s,Cn(Be())),et(function(d){var g=this;return o(s,function(I){return yn(I,g,d)})})})}function Bu(o,s){s=s===n?" ":xn(s);var d=s.length;if(d<2)return d?ph(s,o):s;var g=ph(s,xu(o/jo(s)));return Lo(s)?ri(Wn(g),0,o).join(""):g.slice(0,o)}function rJ(o,s,d,g){var I=s&E,P=gs(o);function B(){for(var D=-1,G=arguments.length,te=-1,ne=g.length,le=H(ne+G),ge=this&&this!==Xt&&this instanceof B?P:o;++te<ne;)le[te]=g[te];for(;G--;)le[te++]=arguments[++D];return yn(ge,I?d:this,le)}return B}function W9(o){return function(s,d,g){return g&&typeof g!="number"&&nn(s,d,g)&&(d=g=n),s=Rr(s),d===n?(d=s,s=0):d=Rr(d),g=g===n?s<d?1:-1:Rr(g),GY(s,d,g,o)}}function $u(o){return function(s,d){return typeof s=="string"&&typeof d=="string"||(s=Dn(s),d=Dn(d)),o(s,d)}}function X9(o,s,d,g,I,P,B,D,G,te){var ne=s&R,le=ne?B:n,ge=ne?n:B,Ee=ne?P:n,De=ne?n:P;s|=ne?N:X,s&=~(ne?X:N),s&O||(s&=-4);var qe=[o,s,I,Ee,le,De,ge,D,G,te],Ne=d.apply(n,qe);return Th(o)&&r4(Ne,qe),Ne.placeholder=g,i4(Ne,o,s)}function wh(o){var s=Lt[o];return function(d,g){if(d=Dn(d),g=g==null?0:Kt(Je(g),292),g&&i9(d)){var I=(pt(d)+"e").split("e"),P=s(I[0]+"e"+(+I[1]+g));return I=(pt(P)+"e").split("e"),+(I[0]+"e"+(+I[1]-g))}return s(d)}}var iJ=Ho&&1/fu(new Ho([,-0]))[1]==Ve?function(o){return new Ho(o)}:Wh;function z9(o){return function(s){var d=qt(s);return d==q?q1(s):d==at?xU(s):hU(s,o(s))}}function Tr(o,s,d,g,I,P,B,D){var G=s&A;if(!G&&typeof o!="function")throw new Fn(l);var te=g?g.length:0;if(te||(s&=-97,g=I=n),B=B===n?B:jt(Je(B),0),D=D===n?D:Je(D),te-=I?I.length:0,s&X){var ne=g,le=I;g=I=n}var ge=G?n:Eh(o),Ee=[o,s,d,g,I,ne,le,P,B,D];if(ge&&yJ(Ee,ge),o=Ee[0],s=Ee[1],d=Ee[2],g=Ee[3],I=Ee[4],D=Ee[9]=Ee[9]===n?G?0:o.length:jt(Ee[9]-te,0),!D&&s&(R|$)&&(s&=-25),!s||s==E)var De=tJ(o,s,d);else s==R||s==$?De=nJ(o,s,D):(s==N||s==(E|N))&&!I.length?De=rJ(o,s,d,g):De=Ru.apply(n,Ee);var qe=ge?A9:r4;return i4(qe(De,Ee),o,s)}function Z9(o,s,d,g){return o===n||zn(o,Go[d])&&!gt.call(g,d)?s:o}function U9(o,s,d,g,I,P){return Pt(o)&&Pt(s)&&(P.set(s,o),Tu(o,s,n,U9,P),P.delete(s)),o}function oJ(o){return bs(o)?n:o}function Y9(o,s,d,g,I,P){var B=d&S,D=o.length,G=s.length;if(D!=G&&!(B&&G>D))return!1;var te=P.get(o),ne=P.get(s);if(te&&ne)return te==s&&ne==o;var le=-1,ge=!0,Ee=d&x?new Ni:n;for(P.set(o,s),P.set(s,o);++le<D;){var De=o[le],qe=s[le];if(g)var Ne=B?g(qe,De,le,s,o,P):g(De,qe,le,o,s,P);if(Ne!==n){if(Ne)continue;ge=!1;break}if(Ee){if(!z1(s,function(tt,it){if(!is(Ee,it)&&(De===tt||I(De,tt,d,g,P)))return Ee.push(it)})){ge=!1;break}}else if(!(De===qe||I(De,qe,d,g,P))){ge=!1;break}}return P.delete(o),P.delete(s),ge}function aJ(o,s,d,g,I,P,B){switch(d){case er:if(o.byteLength!=s.byteLength||o.byteOffset!=s.byteOffset)return!1;o=o.buffer,s=s.buffer;case un:return!(o.byteLength!=s.byteLength||!P(new vu(o),new vu(s)));case J:case re:case de:return zn(+o,+s);case ue:return o.name==s.name&&o.message==s.message;case Qe:case lt:return o==s+"";case q:var D=q1;case at:var G=g&S;if(D||(D=fu),o.size!=s.size&&!G)return!1;var te=B.get(o);if(te)return te==s;g|=x,B.set(o,s);var ne=Y9(D(o),D(s),g,I,P,B);return B.delete(o),ne;case Et:if(us)return us.call(o)==us.call(s)}return!1}function sJ(o,s,d,g,I,P){var B=d&S,D=Sh(o),G=D.length,te=Sh(s),ne=te.length;if(G!=ne&&!B)return!1;for(var le=G;le--;){var ge=D[le];if(!(B?ge in s:gt.call(s,ge)))return!1}var Ee=P.get(o),De=P.get(s);if(Ee&&De)return Ee==s&&De==o;var qe=!0;P.set(o,s),P.set(s,o);for(var Ne=B;++le<G;){ge=D[le];var tt=o[ge],it=s[ge];if(g)var Sn=B?g(it,tt,ge,s,o,P):g(tt,it,ge,o,s,P);if(!(Sn===n?tt===it||I(tt,it,d,g,P):Sn)){qe=!1;break}Ne||(Ne=ge=="constructor")}if(qe&&!Ne){var rn=o.constructor,In=s.constructor;rn!=In&&"constructor"in o&&"constructor"in s&&!(typeof rn=="function"&&rn instanceof rn&&typeof In=="function"&&In instanceof In)&&(qe=!1)}return P.delete(o),P.delete(s),qe}function Mr(o){return Oh(t4(o,n,c4),o+"")}function Sh(o){return g9(o,Gt,_h)}function Ih(o){return g9(o,dn,J9)}var Eh=Su?function(o){return Su.get(o)}:Wh;function Du(o){for(var s=o.name+"",d=Wo[s],g=gt.call(Wo,s)?d.length:0;g--;){var I=d[g],P=I.func;if(P==null||P==o)return I.name}return s}function Uo(o){var s=gt.call(_,"placeholder")?_:o;return s.placeholder}function Be(){var o=_.iteratee||Gh;return o=o===Gh?b9:o,arguments.length?o(arguments[0],arguments[1]):o}function Nu(o,s){var d=o.__data__;return gJ(s)?d[typeof s=="string"?"string":"hash"]:d.map}function Ah(o){for(var s=Gt(o),d=s.length;d--;){var g=s[d],I=o[g];s[d]=[g,I,Q9(I)]}return s}function ki(o,s){var d=bU(o,s);return v9(d)?d:n}function lJ(o){var s=gt.call(o,$i),d=o[$i];try{o[$i]=n;var g=!0}catch{}var I=gu.call(o);return g&&(s?o[$i]=d:delete o[$i]),I}var _h=eh?function(o){return o==null?[]:(o=vt(o),Jr(eh(o),function(s){return n9.call(o,s)}))}:Xh,J9=eh?function(o){for(var s=[];o;)Kr(s,_h(o)),o=bu(o);return s}:Xh,qt=tn;(th&&qt(new th(new ArrayBuffer(1)))!=er||as&&qt(new as)!=q||nh&&qt(nh.resolve())!=je||Ho&&qt(new Ho)!=at||ss&&qt(new ss)!=Vt)&&(qt=function(o){var s=tn(o),d=s==ye?o.constructor:n,g=d?Gi(d):"";if(g)switch(g){case WU:return er;case XU:return q;case zU:return je;case ZU:return at;case UU:return Vt}return s});function uJ(o,s,d){for(var g=-1,I=d.length;++g<I;){var P=d[g],B=P.size;switch(P.type){case"drop":o+=B;break;case"dropRight":s-=B;break;case"take":s=Kt(s,o+B);break;case"takeRight":o=jt(o,s-B);break}}return{start:o,end:s}}function cJ(o){var s=o.match(ts);return s?s[1].split(C):[]}function K9(o,s,d){s=ni(s,o);for(var g=-1,I=s.length,P=!1;++g<I;){var B=or(s[g]);if(!(P=o!=null&&d(o,B)))break;o=o[B]}return P||++g!=I?P:(I=o==null?0:o.length,!!I&&Xu(I)&&Or(B,I)&&(Ye(o)||Hi(o)))}function fJ(o){var s=o.length,d=new o.constructor(s);return s&&typeof o[0]=="string"&>.call(o,"index")&&(d.index=o.index,d.input=o.input),d}function q9(o){return typeof o.constructor=="function"&&!ms(o)?Xo(bu(o)):{}}function dJ(o,s,d){var g=o.constructor;switch(s){case un:return Ch(o);case J:case re:return new g(+o);case er:return YY(o,d);case xr:case wr:case wi:case Si:case Ii:case Ei:case Ai:case _i:case Pi:return V9(o,d);case q:return new g;case de:case lt:return new g(o);case Qe:return JY(o);case at:return new g;case Et:return KY(o)}}function hJ(o,s){var d=s.length;if(!d)return o;var g=d-1;return s[g]=(d>1?"& ":"")+s[g],s=s.join(d>2?", ":" "),o.replace(es,`{
|
|
180
|
+
*/su.exports,function(e,t){(function(){var n,r="4.17.23",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,h="__lodash_placeholder__",p=1,m=2,v=4,I=1,x=2,E=1,_=2,F=4,M=8,$=16,D=32,H=64,z=128,U=256,se=512,Ae=30,Xe="...",Ge=800,pe=16,Se=1,Te=2,be=3,Ve=1/0,ze=9007199254740991,O=17976931348623157e292,T=NaN,V=4294967295,R=V-1,y=V>>>1,k=[["ary",z],["bind",E],["bindKey",_],["curry",M],["curryRight",$],["flip",se],["partial",D],["partialRight",H],["rearg",U]],ee="[object Arguments]",oe="[object Array]",Z="[object AsyncFunction]",J="[object Boolean]",re="[object Date]",ie="[object DOMException]",ue="[object Error]",K="[object Function]",fe="[object GeneratorFunction]",q="[object Map]",de="[object Number]",xe="[object Null]",ye="[object Object]",je="[object Promise]",He="[object Proxy]",Qe="[object RegExp]",at="[object Set]",lt="[object String]",Et="[object Symbol]",Jt="[object Undefined]",Vt="[object WeakMap]",Hn="[object WeakSet]",un="[object ArrayBuffer]",er="[object DataView]",xr="[object Float32Array]",wr="[object Float64Array]",wi="[object Int8Array]",Si="[object Int16Array]",Ii="[object Int32Array]",Ei="[object Uint8Array]",Ai="[object Uint8ClampedArray]",_i="[object Uint16Array]",Pi="[object Uint32Array]",Sr=/\b__p \+= '';/g,Ti=/\b(__p \+=) '' \+/g,en=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tr=/&(?:amp|lt|gt|quot|#39);/g,nr=/[&<>"']/g,Mi=RegExp(tr.source),Ya=RegExp(nr.source),Oi=/<%-([\s\S]+?)%>/g,Ja=/<%([\s\S]+?)%>/g,Yr=/<%=([\s\S]+?)%>/g,Fi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ka=/^\w*$/,qa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ir=/[\\^$.*+?()[\]{}|]/g,Ri=RegExp(Ir.source),Vi=/^\s+/,Qa=/\s/,es=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ts=/\{\n\/\* \[wrapped with (.+)\] \*/,C=/,? & /,N=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,X=/[()=,{}\[\]\/\s]/,ce=/\\(\\)?/g,we=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,st=/^\[object .+?Constructor\]$/,We=/^0o[0-7]+$/i,Ue=/^(?:0|[1-9]\d*)$/,mt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kt=/($^)/,Wt=/['\n\r\u2028\u2029\\]/g,ot="\\ud800-\\udfff",Er="\\u0300-\\u036f",ns="\\ufe20-\\ufe2f",rs="\\u20d0-\\u20ff",b5=Er+ns+rs,y5="\\u2700-\\u27bf",C5="a-z\\xdf-\\xf6\\xf8-\\xff",OZ="\\xac\\xb1\\xd7\\xf7",FZ="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",RZ="\\u2000-\\u206f",VZ=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",x5="A-Z\\xc0-\\xd6\\xd8-\\xde",w5="\\ufe0e\\ufe0f",S5=OZ+FZ+RZ+VZ,N1="['’]",BZ="["+ot+"]",I5="["+S5+"]",lu="["+b5+"]",E5="\\d+",$Z="["+y5+"]",A5="["+C5+"]",_5="[^"+ot+S5+E5+y5+C5+x5+"]",j1="\\ud83c[\\udffb-\\udfff]",DZ="(?:"+lu+"|"+j1+")",P5="[^"+ot+"]",k1="(?:\\ud83c[\\udde6-\\uddff]){2}",G1="[\\ud800-\\udbff][\\udc00-\\udfff]",Do="["+x5+"]",T5="\\u200d",M5="(?:"+A5+"|"+_5+")",LZ="(?:"+Do+"|"+_5+")",O5="(?:"+N1+"(?:d|ll|m|re|s|t|ve))?",F5="(?:"+N1+"(?:D|LL|M|RE|S|T|VE))?",R5=DZ+"?",V5="["+w5+"]?",NZ="(?:"+T5+"(?:"+[P5,k1,G1].join("|")+")"+V5+R5+")*",jZ="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",kZ="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",B5=V5+R5+NZ,GZ="(?:"+[$Z,k1,G1].join("|")+")"+B5,HZ="(?:"+[P5+lu+"?",lu,k1,G1,BZ].join("|")+")",WZ=RegExp(N1,"g"),XZ=RegExp(lu,"g"),H1=RegExp(j1+"(?="+j1+")|"+HZ+B5,"g"),zZ=RegExp([Do+"?"+A5+"+"+O5+"(?="+[I5,Do,"$"].join("|")+")",LZ+"+"+F5+"(?="+[I5,Do+M5,"$"].join("|")+")",Do+"?"+M5+"+"+O5,Do+"+"+F5,kZ,jZ,E5,GZ].join("|"),"g"),ZZ=RegExp("["+T5+ot+b5+w5+"]"),UZ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,YZ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],JZ=-1,St={};St[xr]=St[wr]=St[wi]=St[Si]=St[Ii]=St[Ei]=St[Ai]=St[_i]=St[Pi]=!0,St[ee]=St[oe]=St[un]=St[J]=St[er]=St[re]=St[ue]=St[K]=St[q]=St[de]=St[ye]=St[Qe]=St[at]=St[lt]=St[Vt]=!1;var Ct={};Ct[ee]=Ct[oe]=Ct[un]=Ct[er]=Ct[J]=Ct[re]=Ct[xr]=Ct[wr]=Ct[wi]=Ct[Si]=Ct[Ii]=Ct[q]=Ct[de]=Ct[ye]=Ct[Qe]=Ct[at]=Ct[lt]=Ct[Et]=Ct[Ei]=Ct[Ai]=Ct[_i]=Ct[Pi]=!0,Ct[ue]=Ct[K]=Ct[Vt]=!1;var KZ={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},qZ={"&":"&","<":"<",">":">",'"':""","'":"'"},QZ={"&":"&","<":"<",">":">",""":'"',"'":"'"},eU={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tU=parseFloat,nU=parseInt,$5=typeof ar=="object"&&ar&&ar.Object===Object&&ar,rU=typeof self=="object"&&self&&self.Object===Object&&self,Xt=$5||rU||Function("return this")(),W1=t&&!t.nodeType&&t,Bi=W1&&!0&&e&&!e.nodeType&&e,D5=Bi&&Bi.exports===W1,X1=D5&&$5.process,Mn=function(){try{var j=Bi&&Bi.require&&Bi.require("util").types;return j||X1&&X1.binding&&X1.binding("util")}catch{}}(),L5=Mn&&Mn.isArrayBuffer,N5=Mn&&Mn.isDate,j5=Mn&&Mn.isMap,k5=Mn&&Mn.isRegExp,G5=Mn&&Mn.isSet,H5=Mn&&Mn.isTypedArray;function yn(j,Y,W){switch(W.length){case 0:return j.call(Y);case 1:return j.call(Y,W[0]);case 2:return j.call(Y,W[0],W[1]);case 3:return j.call(Y,W[0],W[1],W[2])}return j.apply(Y,W)}function iU(j,Y,W,Ce){for(var Ze=-1,ft=j==null?0:j.length;++Ze<ft;){var Nt=j[Ze];Y(Ce,Nt,W(Nt),j)}return Ce}function On(j,Y){for(var W=-1,Ce=j==null?0:j.length;++W<Ce&&Y(j[W],W,j)!==!1;);return j}function oU(j,Y){for(var W=j==null?0:j.length;W--&&Y(j[W],W,j)!==!1;);return j}function W5(j,Y){for(var W=-1,Ce=j==null?0:j.length;++W<Ce;)if(!Y(j[W],W,j))return!1;return!0}function Jr(j,Y){for(var W=-1,Ce=j==null?0:j.length,Ze=0,ft=[];++W<Ce;){var Nt=j[W];Y(Nt,W,j)&&(ft[Ze++]=Nt)}return ft}function uu(j,Y){var W=j==null?0:j.length;return!!W&&Lo(j,Y,0)>-1}function z1(j,Y,W){for(var Ce=-1,Ze=j==null?0:j.length;++Ce<Ze;)if(W(Y,j[Ce]))return!0;return!1}function At(j,Y){for(var W=-1,Ce=j==null?0:j.length,Ze=Array(Ce);++W<Ce;)Ze[W]=Y(j[W],W,j);return Ze}function Kr(j,Y){for(var W=-1,Ce=Y.length,Ze=j.length;++W<Ce;)j[Ze+W]=Y[W];return j}function Z1(j,Y,W,Ce){var Ze=-1,ft=j==null?0:j.length;for(Ce&&ft&&(W=j[++Ze]);++Ze<ft;)W=Y(W,j[Ze],Ze,j);return W}function aU(j,Y,W,Ce){var Ze=j==null?0:j.length;for(Ce&&Ze&&(W=j[--Ze]);Ze--;)W=Y(W,j[Ze],Ze,j);return W}function U1(j,Y){for(var W=-1,Ce=j==null?0:j.length;++W<Ce;)if(Y(j[W],W,j))return!0;return!1}var sU=Y1("length");function lU(j){return j.split("")}function uU(j){return j.match(N)||[]}function X5(j,Y,W){var Ce;return W(j,function(Ze,ft,Nt){if(Y(Ze,ft,Nt))return Ce=ft,!1}),Ce}function cu(j,Y,W,Ce){for(var Ze=j.length,ft=W+(Ce?1:-1);Ce?ft--:++ft<Ze;)if(Y(j[ft],ft,j))return ft;return-1}function Lo(j,Y,W){return Y===Y?xU(j,Y,W):cu(j,z5,W)}function cU(j,Y,W,Ce){for(var Ze=W-1,ft=j.length;++Ze<ft;)if(Ce(j[Ze],Y))return Ze;return-1}function z5(j){return j!==j}function Z5(j,Y){var W=j==null?0:j.length;return W?K1(j,Y)/W:T}function Y1(j){return function(Y){return Y==null?n:Y[j]}}function J1(j){return function(Y){return j==null?n:j[Y]}}function U5(j,Y,W,Ce,Ze){return Ze(j,function(ft,Nt,vt){W=Ce?(Ce=!1,ft):Y(W,ft,Nt,vt)}),W}function fU(j,Y){var W=j.length;for(j.sort(Y);W--;)j[W]=j[W].value;return j}function K1(j,Y){for(var W,Ce=-1,Ze=j.length;++Ce<Ze;){var ft=Y(j[Ce]);ft!==n&&(W=W===n?ft:W+ft)}return W}function q1(j,Y){for(var W=-1,Ce=Array(j);++W<j;)Ce[W]=Y(W);return Ce}function dU(j,Y){return At(Y,function(W){return[W,j[W]]})}function Y5(j){return j&&j.slice(0,Q5(j)+1).replace(Vi,"")}function Cn(j){return function(Y){return j(Y)}}function Q1(j,Y){return At(Y,function(W){return j[W]})}function is(j,Y){return j.has(Y)}function J5(j,Y){for(var W=-1,Ce=j.length;++W<Ce&&Lo(Y,j[W],0)>-1;);return W}function K5(j,Y){for(var W=j.length;W--&&Lo(Y,j[W],0)>-1;);return W}function hU(j,Y){for(var W=j.length,Ce=0;W--;)j[W]===Y&&++Ce;return Ce}var pU=J1(KZ),gU=J1(qZ);function mU(j){return"\\"+eU[j]}function vU(j,Y){return j==null?n:j[Y]}function No(j){return ZZ.test(j)}function bU(j){return UZ.test(j)}function yU(j){for(var Y,W=[];!(Y=j.next()).done;)W.push(Y.value);return W}function eh(j){var Y=-1,W=Array(j.size);return j.forEach(function(Ce,Ze){W[++Y]=[Ze,Ce]}),W}function q5(j,Y){return function(W){return j(Y(W))}}function qr(j,Y){for(var W=-1,Ce=j.length,Ze=0,ft=[];++W<Ce;){var Nt=j[W];(Nt===Y||Nt===h)&&(j[W]=h,ft[Ze++]=W)}return ft}function fu(j){var Y=-1,W=Array(j.size);return j.forEach(function(Ce){W[++Y]=Ce}),W}function CU(j){var Y=-1,W=Array(j.size);return j.forEach(function(Ce){W[++Y]=[Ce,Ce]}),W}function xU(j,Y,W){for(var Ce=W-1,Ze=j.length;++Ce<Ze;)if(j[Ce]===Y)return Ce;return-1}function wU(j,Y,W){for(var Ce=W+1;Ce--;)if(j[Ce]===Y)return Ce;return Ce}function jo(j){return No(j)?IU(j):sU(j)}function Wn(j){return No(j)?EU(j):lU(j)}function Q5(j){for(var Y=j.length;Y--&&Qa.test(j.charAt(Y)););return Y}var SU=J1(QZ);function IU(j){for(var Y=H1.lastIndex=0;H1.test(j);)++Y;return Y}function EU(j){return j.match(H1)||[]}function AU(j){return j.match(zZ)||[]}var _U=function j(Y){Y=Y==null?Xt:ko.defaults(Xt.Object(),Y,ko.pick(Xt,YZ));var W=Y.Array,Ce=Y.Date,Ze=Y.Error,ft=Y.Function,Nt=Y.Math,vt=Y.Object,th=Y.RegExp,PU=Y.String,Fn=Y.TypeError,du=W.prototype,TU=ft.prototype,Go=vt.prototype,hu=Y["__core-js_shared__"],pu=TU.toString,pt=Go.hasOwnProperty,MU=0,e9=function(){var o=/[^.]+$/.exec(hu&&hu.keys&&hu.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),gu=Go.toString,OU=pu.call(vt),FU=Xt._,RU=th("^"+pu.call(pt).replace(Ir,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mu=D5?Y.Buffer:n,Qr=Y.Symbol,vu=Y.Uint8Array,t9=mu?mu.allocUnsafe:n,bu=q5(vt.getPrototypeOf,vt),n9=vt.create,r9=Go.propertyIsEnumerable,yu=du.splice,i9=Qr?Qr.isConcatSpreadable:n,os=Qr?Qr.iterator:n,$i=Qr?Qr.toStringTag:n,Cu=function(){try{var o=ki(vt,"defineProperty");return o({},"",{}),o}catch{}}(),VU=Y.clearTimeout!==Xt.clearTimeout&&Y.clearTimeout,BU=Ce&&Ce.now!==Xt.Date.now&&Ce.now,$U=Y.setTimeout!==Xt.setTimeout&&Y.setTimeout,xu=Nt.ceil,wu=Nt.floor,nh=vt.getOwnPropertySymbols,DU=mu?mu.isBuffer:n,o9=Y.isFinite,LU=du.join,NU=q5(vt.keys,vt),jt=Nt.max,Kt=Nt.min,jU=Ce.now,kU=Y.parseInt,a9=Nt.random,GU=du.reverse,rh=ki(Y,"DataView"),as=ki(Y,"Map"),ih=ki(Y,"Promise"),Ho=ki(Y,"Set"),ss=ki(Y,"WeakMap"),ls=ki(vt,"create"),Su=ss&&new ss,Wo={},HU=Gi(rh),WU=Gi(as),XU=Gi(ih),zU=Gi(Ho),ZU=Gi(ss),Iu=Qr?Qr.prototype:n,us=Iu?Iu.valueOf:n,s9=Iu?Iu.toString:n;function A(o){if(Ft(o)&&!Ye(o)&&!(o instanceof nt)){if(o instanceof Rn)return o;if(pt.call(o,"__wrapped__"))return l4(o)}return new Rn(o)}var Xo=function(){function o(){}return function(s){if(!Pt(s))return{};if(n9)return n9(s);o.prototype=s;var d=new o;return o.prototype=n,d}}();function Eu(){}function Rn(o,s){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}A.templateSettings={escape:Oi,evaluate:Ja,interpolate:Yr,variable:"",imports:{_:A}},A.prototype=Eu.prototype,A.prototype.constructor=A,Rn.prototype=Xo(Eu.prototype),Rn.prototype.constructor=Rn;function nt(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=V,this.__views__=[]}function UU(){var o=new nt(this.__wrapped__);return o.__actions__=cn(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=cn(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=cn(this.__views__),o}function YU(){if(this.__filtered__){var o=new nt(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function JU(){var o=this.__wrapped__.value(),s=this.__dir__,d=Ye(o),g=s<0,S=d?o.length:0,P=lJ(0,S,this.__views__),B=P.start,L=P.end,G=L-B,te=g?L:B-1,ne=this.__iteratees__,le=ne.length,ge=0,Ee=Kt(G,this.__takeCount__);if(!d||!g&&S==G&&Ee==G)return O9(o,this.__actions__);var De=[];e:for(;G--&&ge<Ee;){te+=s;for(var qe=-1,Le=o[te];++qe<le;){var tt=ne[qe],it=tt.iteratee,Sn=tt.type,rn=it(Le);if(Sn==Te)Le=rn;else if(!rn){if(Sn==Se)continue e;break e}}De[ge++]=Le}return De}nt.prototype=Xo(Eu.prototype),nt.prototype.constructor=nt;function Di(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function KU(){this.__data__=ls?ls(null):{},this.size=0}function qU(o){var s=this.has(o)&&delete this.__data__[o];return this.size-=s?1:0,s}function QU(o){var s=this.__data__;if(ls){var d=s[o];return d===c?n:d}return pt.call(s,o)?s[o]:n}function eY(o){var s=this.__data__;return ls?s[o]!==n:pt.call(s,o)}function tY(o,s){var d=this.__data__;return this.size+=this.has(o)?0:1,d[o]=ls&&s===n?c:s,this}Di.prototype.clear=KU,Di.prototype.delete=qU,Di.prototype.get=QU,Di.prototype.has=eY,Di.prototype.set=tY;function Ar(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function nY(){this.__data__=[],this.size=0}function rY(o){var s=this.__data__,d=Au(s,o);if(d<0)return!1;var g=s.length-1;return d==g?s.pop():yu.call(s,d,1),--this.size,!0}function iY(o){var s=this.__data__,d=Au(s,o);return d<0?n:s[d][1]}function oY(o){return Au(this.__data__,o)>-1}function aY(o,s){var d=this.__data__,g=Au(d,o);return g<0?(++this.size,d.push([o,s])):d[g][1]=s,this}Ar.prototype.clear=nY,Ar.prototype.delete=rY,Ar.prototype.get=iY,Ar.prototype.has=oY,Ar.prototype.set=aY;function _r(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function sY(){this.size=0,this.__data__={hash:new Di,map:new(as||Ar),string:new Di}}function lY(o){var s=Lu(this,o).delete(o);return this.size-=s?1:0,s}function uY(o){return Lu(this,o).get(o)}function cY(o){return Lu(this,o).has(o)}function fY(o,s){var d=Lu(this,o),g=d.size;return d.set(o,s),this.size+=d.size==g?0:1,this}_r.prototype.clear=sY,_r.prototype.delete=lY,_r.prototype.get=uY,_r.prototype.has=cY,_r.prototype.set=fY;function Li(o){var s=-1,d=o==null?0:o.length;for(this.__data__=new _r;++s<d;)this.add(o[s])}function dY(o){return this.__data__.set(o,c),this}function hY(o){return this.__data__.has(o)}Li.prototype.add=Li.prototype.push=dY,Li.prototype.has=hY;function Xn(o){var s=this.__data__=new Ar(o);this.size=s.size}function pY(){this.__data__=new Ar,this.size=0}function gY(o){var s=this.__data__,d=s.delete(o);return this.size=s.size,d}function mY(o){return this.__data__.get(o)}function vY(o){return this.__data__.has(o)}function bY(o,s){var d=this.__data__;if(d instanceof Ar){var g=d.__data__;if(!as||g.length<i-1)return g.push([o,s]),this.size=++d.size,this;d=this.__data__=new _r(g)}return d.set(o,s),this.size=d.size,this}Xn.prototype.clear=pY,Xn.prototype.delete=gY,Xn.prototype.get=mY,Xn.prototype.has=vY,Xn.prototype.set=bY;function l9(o,s){var d=Ye(o),g=!d&&Hi(o),S=!d&&!g&&ii(o),P=!d&&!g&&!S&&Yo(o),B=d||g||S||P,L=B?q1(o.length,PU):[],G=L.length;for(var te in o)(s||pt.call(o,te))&&!(B&&(te=="length"||S&&(te=="offset"||te=="parent")||P&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||Or(te,G)))&&L.push(te);return L}function u9(o){var s=o.length;return s?o[gh(0,s-1)]:n}function yY(o,s){return Nu(cn(o),Ni(s,0,o.length))}function CY(o){return Nu(cn(o))}function oh(o,s,d){(d!==n&&!zn(o[s],d)||d===n&&!(s in o))&&Pr(o,s,d)}function cs(o,s,d){var g=o[s];(!(pt.call(o,s)&&zn(g,d))||d===n&&!(s in o))&&Pr(o,s,d)}function Au(o,s){for(var d=o.length;d--;)if(zn(o[d][0],s))return d;return-1}function xY(o,s,d,g){return ei(o,function(S,P,B){s(g,S,d(S),B)}),g}function c9(o,s){return o&&ir(s,Gt(s),o)}function wY(o,s){return o&&ir(s,dn(s),o)}function Pr(o,s,d){s=="__proto__"&&Cu?Cu(o,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):o[s]=d}function ah(o,s){for(var d=-1,g=s.length,S=W(g),P=o==null;++d<g;)S[d]=P?n:jh(o,s[d]);return S}function Ni(o,s,d){return o===o&&(d!==n&&(o=o<=d?o:d),s!==n&&(o=o>=s?o:s)),o}function Vn(o,s,d,g,S,P){var B,L=s&p,G=s&m,te=s&v;if(d&&(B=S?d(o,g,S,P):d(o)),B!==n)return B;if(!Pt(o))return o;var ne=Ye(o);if(ne){if(B=cJ(o),!L)return cn(o,B)}else{var le=qt(o),ge=le==K||le==fe;if(ii(o))return V9(o,L);if(le==ye||le==ee||ge&&!S){if(B=G||ge?{}:Q9(o),!L)return G?QY(o,wY(B,o)):qY(o,c9(B,o))}else{if(!Ct[le])return S?o:{};B=fJ(o,le,L)}}P||(P=new Xn);var Ee=P.get(o);if(Ee)return Ee;P.set(o,B),P4(o)?o.forEach(function(Le){B.add(Vn(Le,s,d,Le,o,P))}):A4(o)&&o.forEach(function(Le,tt){B.set(tt,Vn(Le,s,d,tt,o,P))});var De=te?G?Ah:Eh:G?dn:Gt,qe=ne?n:De(o);return On(qe||o,function(Le,tt){qe&&(tt=Le,Le=o[tt]),cs(B,tt,Vn(Le,s,d,tt,o,P))}),B}function SY(o){var s=Gt(o);return function(d){return f9(d,o,s)}}function f9(o,s,d){var g=d.length;if(o==null)return!g;for(o=vt(o);g--;){var S=d[g],P=s[S],B=o[S];if(B===n&&!(S in o)||!P(B))return!1}return!0}function d9(o,s,d){if(typeof o!="function")throw new Fn(l);return vs(function(){o.apply(n,d)},s)}function fs(o,s,d,g){var S=-1,P=uu,B=!0,L=o.length,G=[],te=s.length;if(!L)return G;d&&(s=At(s,Cn(d))),g?(P=z1,B=!1):s.length>=i&&(P=is,B=!1,s=new Li(s));e:for(;++S<L;){var ne=o[S],le=d==null?ne:d(ne);if(ne=g||ne!==0?ne:0,B&&le===le){for(var ge=te;ge--;)if(s[ge]===le)continue e;G.push(ne)}else P(s,le,g)||G.push(ne)}return G}var ei=N9(rr),h9=N9(lh,!0);function IY(o,s){var d=!0;return ei(o,function(g,S,P){return d=!!s(g,S,P),d}),d}function _u(o,s,d){for(var g=-1,S=o.length;++g<S;){var P=o[g],B=s(P);if(B!=null&&(L===n?B===B&&!wn(B):d(B,L)))var L=B,G=P}return G}function EY(o,s,d,g){var S=o.length;for(d=Je(d),d<0&&(d=-d>S?0:S+d),g=g===n||g>S?S:Je(g),g<0&&(g+=S),g=d>g?0:M4(g);d<g;)o[d++]=s;return o}function p9(o,s){var d=[];return ei(o,function(g,S,P){s(g,S,P)&&d.push(g)}),d}function zt(o,s,d,g,S){var P=-1,B=o.length;for(d||(d=hJ),S||(S=[]);++P<B;){var L=o[P];s>0&&d(L)?s>1?zt(L,s-1,d,g,S):Kr(S,L):g||(S[S.length]=L)}return S}var sh=j9(),g9=j9(!0);function rr(o,s){return o&&sh(o,s,Gt)}function lh(o,s){return o&&g9(o,s,Gt)}function Pu(o,s){return Jr(s,function(d){return Fr(o[d])})}function ji(o,s){s=ni(s,o);for(var d=0,g=s.length;o!=null&&d<g;)o=o[or(s[d++])];return d&&d==g?o:n}function m9(o,s,d){var g=s(o);return Ye(o)?g:Kr(g,d(o))}function tn(o){return o==null?o===n?Jt:xe:$i&&$i in vt(o)?sJ(o):CJ(o)}function uh(o,s){return o>s}function AY(o,s){return o!=null&&pt.call(o,s)}function _Y(o,s){return o!=null&&s in vt(o)}function PY(o,s,d){return o>=Kt(s,d)&&o<jt(s,d)}function ch(o,s,d){for(var g=d?z1:uu,S=o[0].length,P=o.length,B=P,L=W(P),G=1/0,te=[];B--;){var ne=o[B];B&&s&&(ne=At(ne,Cn(s))),G=Kt(ne.length,G),L[B]=!d&&(s||S>=120&&ne.length>=120)?new Li(B&&ne):n}ne=o[0];var le=-1,ge=L[0];e:for(;++le<S&&te.length<G;){var Ee=ne[le],De=s?s(Ee):Ee;if(Ee=d||Ee!==0?Ee:0,!(ge?is(ge,De):g(te,De,d))){for(B=P;--B;){var qe=L[B];if(!(qe?is(qe,De):g(o[B],De,d)))continue e}ge&&ge.push(De),te.push(Ee)}}return te}function TY(o,s,d,g){return rr(o,function(S,P,B){s(g,d(S),P,B)}),g}function ds(o,s,d){s=ni(s,o),o=r4(o,s);var g=o==null?o:o[or($n(s))];return g==null?n:yn(g,o,d)}function v9(o){return Ft(o)&&tn(o)==ee}function MY(o){return Ft(o)&&tn(o)==un}function OY(o){return Ft(o)&&tn(o)==re}function hs(o,s,d,g,S){return o===s?!0:o==null||s==null||!Ft(o)&&!Ft(s)?o!==o&&s!==s:FY(o,s,d,g,hs,S)}function FY(o,s,d,g,S,P){var B=Ye(o),L=Ye(s),G=B?oe:qt(o),te=L?oe:qt(s);G=G==ee?ye:G,te=te==ee?ye:te;var ne=G==ye,le=te==ye,ge=G==te;if(ge&&ii(o)){if(!ii(s))return!1;B=!0,ne=!1}if(ge&&!ne)return P||(P=new Xn),B||Yo(o)?J9(o,s,d,g,S,P):oJ(o,s,G,d,g,S,P);if(!(d&I)){var Ee=ne&&pt.call(o,"__wrapped__"),De=le&&pt.call(s,"__wrapped__");if(Ee||De){var qe=Ee?o.value():o,Le=De?s.value():s;return P||(P=new Xn),S(qe,Le,d,g,P)}}return ge?(P||(P=new Xn),aJ(o,s,d,g,S,P)):!1}function RY(o){return Ft(o)&&qt(o)==q}function fh(o,s,d,g){var S=d.length,P=S,B=!g;if(o==null)return!P;for(o=vt(o);S--;){var L=d[S];if(B&&L[2]?L[1]!==o[L[0]]:!(L[0]in o))return!1}for(;++S<P;){L=d[S];var G=L[0],te=o[G],ne=L[1];if(B&&L[2]){if(te===n&&!(G in o))return!1}else{var le=new Xn;if(g)var ge=g(te,ne,G,o,s,le);if(!(ge===n?hs(ne,te,I|x,g,le):ge))return!1}}return!0}function b9(o){if(!Pt(o)||gJ(o))return!1;var s=Fr(o)?RU:st;return s.test(Gi(o))}function VY(o){return Ft(o)&&tn(o)==Qe}function BY(o){return Ft(o)&&qt(o)==at}function $Y(o){return Ft(o)&&Xu(o.length)&&!!St[tn(o)]}function y9(o){return typeof o=="function"?o:o==null?hn:typeof o=="object"?Ye(o)?w9(o[0],o[1]):x9(o):k4(o)}function dh(o){if(!ms(o))return NU(o);var s=[];for(var d in vt(o))pt.call(o,d)&&d!="constructor"&&s.push(d);return s}function DY(o){if(!Pt(o))return yJ(o);var s=ms(o),d=[];for(var g in o)g=="constructor"&&(s||!pt.call(o,g))||d.push(g);return d}function hh(o,s){return o<s}function C9(o,s){var d=-1,g=fn(o)?W(o.length):[];return ei(o,function(S,P,B){g[++d]=s(S,P,B)}),g}function x9(o){var s=Ph(o);return s.length==1&&s[0][2]?t4(s[0][0],s[0][1]):function(d){return d===o||fh(d,o,s)}}function w9(o,s){return Mh(o)&&e4(s)?t4(or(o),s):function(d){var g=jh(d,o);return g===n&&g===s?kh(d,o):hs(s,g,I|x)}}function Tu(o,s,d,g,S){o!==s&&sh(s,function(P,B){if(S||(S=new Xn),Pt(P))LY(o,s,B,d,Tu,g,S);else{var L=g?g(Fh(o,B),P,B+"",o,s,S):n;L===n&&(L=P),oh(o,B,L)}},dn)}function LY(o,s,d,g,S,P,B){var L=Fh(o,d),G=Fh(s,d),te=B.get(G);if(te){oh(o,d,te);return}var ne=P?P(L,G,d+"",o,s,B):n,le=ne===n;if(le){var ge=Ye(G),Ee=!ge&&ii(G),De=!ge&&!Ee&&Yo(G);ne=G,ge||Ee||De?Ye(L)?ne=L:Bt(L)?ne=cn(L):Ee?(le=!1,ne=V9(G,!0)):De?(le=!1,ne=B9(G,!0)):ne=[]:bs(G)||Hi(G)?(ne=L,Hi(L)?ne=O4(L):(!Pt(L)||Fr(L))&&(ne=Q9(G))):le=!1}le&&(B.set(G,ne),S(ne,G,g,P,B),B.delete(G)),oh(o,d,ne)}function S9(o,s){var d=o.length;if(d)return s+=s<0?d:0,Or(s,d)?o[s]:n}function I9(o,s,d){s.length?s=At(s,function(P){return Ye(P)?function(B){return ji(B,P.length===1?P[0]:P)}:P}):s=[hn];var g=-1;s=At(s,Cn(Be()));var S=C9(o,function(P,B,L){var G=At(s,function(te){return te(P)});return{criteria:G,index:++g,value:P}});return fU(S,function(P,B){return KY(P,B,d)})}function NY(o,s){return E9(o,s,function(d,g){return kh(o,g)})}function E9(o,s,d){for(var g=-1,S=s.length,P={};++g<S;){var B=s[g],L=ji(o,B);d(L,B)&&ps(P,ni(B,o),L)}return P}function jY(o){return function(s){return ji(s,o)}}function ph(o,s,d,g){var S=g?cU:Lo,P=-1,B=s.length,L=o;for(o===s&&(s=cn(s)),d&&(L=At(o,Cn(d)));++P<B;)for(var G=0,te=s[P],ne=d?d(te):te;(G=S(L,ne,G,g))>-1;)L!==o&&yu.call(L,G,1),yu.call(o,G,1);return o}function A9(o,s){for(var d=o?s.length:0,g=d-1;d--;){var S=s[d];if(d==g||S!==P){var P=S;Or(S)?yu.call(o,S,1):bh(o,S)}}return o}function gh(o,s){return o+wu(a9()*(s-o+1))}function kY(o,s,d,g){for(var S=-1,P=jt(xu((s-o)/(d||1)),0),B=W(P);P--;)B[g?P:++S]=o,o+=d;return B}function mh(o,s){var d="";if(!o||s<1||s>ze)return d;do s%2&&(d+=o),s=wu(s/2),s&&(o+=o);while(s);return d}function et(o,s){return Rh(n4(o,s,hn),o+"")}function GY(o){return u9(Jo(o))}function HY(o,s){var d=Jo(o);return Nu(d,Ni(s,0,d.length))}function ps(o,s,d,g){if(!Pt(o))return o;s=ni(s,o);for(var S=-1,P=s.length,B=P-1,L=o;L!=null&&++S<P;){var G=or(s[S]),te=d;if(G==="__proto__"||G==="constructor"||G==="prototype")return o;if(S!=B){var ne=L[G];te=g?g(ne,G,L):n,te===n&&(te=Pt(ne)?ne:Or(s[S+1])?[]:{})}cs(L,G,te),L=L[G]}return o}var _9=Su?function(o,s){return Su.set(o,s),o}:hn,WY=Cu?function(o,s){return Cu(o,"toString",{configurable:!0,enumerable:!1,value:Hh(s),writable:!0})}:hn;function XY(o){return Nu(Jo(o))}function Bn(o,s,d){var g=-1,S=o.length;s<0&&(s=-s>S?0:S+s),d=d>S?S:d,d<0&&(d+=S),S=s>d?0:d-s>>>0,s>>>=0;for(var P=W(S);++g<S;)P[g]=o[g+s];return P}function zY(o,s){var d;return ei(o,function(g,S,P){return d=s(g,S,P),!d}),!!d}function Mu(o,s,d){var g=0,S=o==null?g:o.length;if(typeof s=="number"&&s===s&&S<=y){for(;g<S;){var P=g+S>>>1,B=o[P];B!==null&&!wn(B)&&(d?B<=s:B<s)?g=P+1:S=P}return S}return vh(o,s,hn,d)}function vh(o,s,d,g){var S=0,P=o==null?0:o.length;if(P===0)return 0;s=d(s);for(var B=s!==s,L=s===null,G=wn(s),te=s===n;S<P;){var ne=wu((S+P)/2),le=d(o[ne]),ge=le!==n,Ee=le===null,De=le===le,qe=wn(le);if(B)var Le=g||De;else te?Le=De&&(g||ge):L?Le=De&&ge&&(g||!Ee):G?Le=De&&ge&&!Ee&&(g||!qe):Ee||qe?Le=!1:Le=g?le<=s:le<s;Le?S=ne+1:P=ne}return Kt(P,R)}function P9(o,s){for(var d=-1,g=o.length,S=0,P=[];++d<g;){var B=o[d],L=s?s(B):B;if(!d||!zn(L,G)){var G=L;P[S++]=B===0?0:B}}return P}function T9(o){return typeof o=="number"?o:wn(o)?T:+o}function xn(o){if(typeof o=="string")return o;if(Ye(o))return At(o,xn)+"";if(wn(o))return s9?s9.call(o):"";var s=o+"";return s=="0"&&1/o==-Ve?"-0":s}function ti(o,s,d){var g=-1,S=uu,P=o.length,B=!0,L=[],G=L;if(d)B=!1,S=z1;else if(P>=i){var te=s?null:rJ(o);if(te)return fu(te);B=!1,S=is,G=new Li}else G=s?[]:L;e:for(;++g<P;){var ne=o[g],le=s?s(ne):ne;if(ne=d||ne!==0?ne:0,B&&le===le){for(var ge=G.length;ge--;)if(G[ge]===le)continue e;s&&G.push(le),L.push(ne)}else S(G,le,d)||(G!==L&&G.push(le),L.push(ne))}return L}function bh(o,s){s=ni(s,o);var d=-1,g=s.length;if(!g)return!0;for(var S=o==null||typeof o!="object"&&typeof o!="function";++d<g;){var P=s[d];if(typeof P=="string"){if(P==="__proto__"&&!pt.call(o,"__proto__"))return!1;if(P==="constructor"&&d+1<g&&typeof s[d+1]=="string"&&s[d+1]==="prototype"){if(S&&d===0)continue;return!1}}}var B=r4(o,s);return B==null||delete B[or($n(s))]}function M9(o,s,d,g){return ps(o,s,d(ji(o,s)),g)}function Ou(o,s,d,g){for(var S=o.length,P=g?S:-1;(g?P--:++P<S)&&s(o[P],P,o););return d?Bn(o,g?0:P,g?P+1:S):Bn(o,g?P+1:0,g?S:P)}function O9(o,s){var d=o;return d instanceof nt&&(d=d.value()),Z1(s,function(g,S){return S.func.apply(S.thisArg,Kr([g],S.args))},d)}function yh(o,s,d){var g=o.length;if(g<2)return g?ti(o[0]):[];for(var S=-1,P=W(g);++S<g;)for(var B=o[S],L=-1;++L<g;)L!=S&&(P[S]=fs(P[S]||B,o[L],s,d));return ti(zt(P,1),s,d)}function F9(o,s,d){for(var g=-1,S=o.length,P=s.length,B={};++g<S;){var L=g<P?s[g]:n;d(B,o[g],L)}return B}function Ch(o){return Bt(o)?o:[]}function xh(o){return typeof o=="function"?o:hn}function ni(o,s){return Ye(o)?o:Mh(o,s)?[o]:s4(gt(o))}var ZY=et;function ri(o,s,d){var g=o.length;return d=d===n?g:d,!s&&d>=g?o:Bn(o,s,d)}var R9=VU||function(o){return Xt.clearTimeout(o)};function V9(o,s){if(s)return o.slice();var d=o.length,g=t9?t9(d):new o.constructor(d);return o.copy(g),g}function wh(o){var s=new o.constructor(o.byteLength);return new vu(s).set(new vu(o)),s}function UY(o,s){var d=s?wh(o.buffer):o.buffer;return new o.constructor(d,o.byteOffset,o.byteLength)}function YY(o){var s=new o.constructor(o.source,_e.exec(o));return s.lastIndex=o.lastIndex,s}function JY(o){return us?vt(us.call(o)):{}}function B9(o,s){var d=s?wh(o.buffer):o.buffer;return new o.constructor(d,o.byteOffset,o.length)}function $9(o,s){if(o!==s){var d=o!==n,g=o===null,S=o===o,P=wn(o),B=s!==n,L=s===null,G=s===s,te=wn(s);if(!L&&!te&&!P&&o>s||P&&B&&G&&!L&&!te||g&&B&&G||!d&&G||!S)return 1;if(!g&&!P&&!te&&o<s||te&&d&&S&&!g&&!P||L&&d&&S||!B&&S||!G)return-1}return 0}function KY(o,s,d){for(var g=-1,S=o.criteria,P=s.criteria,B=S.length,L=d.length;++g<B;){var G=$9(S[g],P[g]);if(G){if(g>=L)return G;var te=d[g];return G*(te=="desc"?-1:1)}}return o.index-s.index}function D9(o,s,d,g){for(var S=-1,P=o.length,B=d.length,L=-1,G=s.length,te=jt(P-B,0),ne=W(G+te),le=!g;++L<G;)ne[L]=s[L];for(;++S<B;)(le||S<P)&&(ne[d[S]]=o[S]);for(;te--;)ne[L++]=o[S++];return ne}function L9(o,s,d,g){for(var S=-1,P=o.length,B=-1,L=d.length,G=-1,te=s.length,ne=jt(P-L,0),le=W(ne+te),ge=!g;++S<ne;)le[S]=o[S];for(var Ee=S;++G<te;)le[Ee+G]=s[G];for(;++B<L;)(ge||S<P)&&(le[Ee+d[B]]=o[S++]);return le}function cn(o,s){var d=-1,g=o.length;for(s||(s=W(g));++d<g;)s[d]=o[d];return s}function ir(o,s,d,g){var S=!d;d||(d={});for(var P=-1,B=s.length;++P<B;){var L=s[P],G=g?g(d[L],o[L],L,d,o):n;G===n&&(G=o[L]),S?Pr(d,L,G):cs(d,L,G)}return d}function qY(o,s){return ir(o,Th(o),s)}function QY(o,s){return ir(o,K9(o),s)}function Fu(o,s){return function(d,g){var S=Ye(d)?iU:xY,P=s?s():{};return S(d,o,Be(g,2),P)}}function zo(o){return et(function(s,d){var g=-1,S=d.length,P=S>1?d[S-1]:n,B=S>2?d[2]:n;for(P=o.length>3&&typeof P=="function"?(S--,P):n,B&&nn(d[0],d[1],B)&&(P=S<3?n:P,S=1),s=vt(s);++g<S;){var L=d[g];L&&o(s,L,g,P)}return s})}function N9(o,s){return function(d,g){if(d==null)return d;if(!fn(d))return o(d,g);for(var S=d.length,P=s?S:-1,B=vt(d);(s?P--:++P<S)&&g(B[P],P,B)!==!1;);return d}}function j9(o){return function(s,d,g){for(var S=-1,P=vt(s),B=g(s),L=B.length;L--;){var G=B[o?L:++S];if(d(P[G],G,P)===!1)break}return s}}function eJ(o,s,d){var g=s&E,S=gs(o);function P(){var B=this&&this!==Xt&&this instanceof P?S:o;return B.apply(g?d:this,arguments)}return P}function k9(o){return function(s){s=gt(s);var d=No(s)?Wn(s):n,g=d?d[0]:s.charAt(0),S=d?ri(d,1).join(""):s.slice(1);return g[o]()+S}}function Zo(o){return function(s){return Z1(N4(L4(s).replace(WZ,"")),o,"")}}function gs(o){return function(){var s=arguments;switch(s.length){case 0:return new o;case 1:return new o(s[0]);case 2:return new o(s[0],s[1]);case 3:return new o(s[0],s[1],s[2]);case 4:return new o(s[0],s[1],s[2],s[3]);case 5:return new o(s[0],s[1],s[2],s[3],s[4]);case 6:return new o(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new o(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=Xo(o.prototype),g=o.apply(d,s);return Pt(g)?g:d}}function tJ(o,s,d){var g=gs(o);function S(){for(var P=arguments.length,B=W(P),L=P,G=Uo(S);L--;)B[L]=arguments[L];var te=P<3&&B[0]!==G&&B[P-1]!==G?[]:qr(B,G);if(P-=te.length,P<d)return z9(o,s,Ru,S.placeholder,n,B,te,n,n,d-P);var ne=this&&this!==Xt&&this instanceof S?g:o;return yn(ne,this,B)}return S}function G9(o){return function(s,d,g){var S=vt(s);if(!fn(s)){var P=Be(d,3);s=Gt(s),d=function(L){return P(S[L],L,S)}}var B=o(s,d,g);return B>-1?S[P?s[B]:B]:n}}function H9(o){return Mr(function(s){var d=s.length,g=d,S=Rn.prototype.thru;for(o&&s.reverse();g--;){var P=s[g];if(typeof P!="function")throw new Fn(l);if(S&&!B&&Du(P)=="wrapper")var B=new Rn([],!0)}for(g=B?g:d;++g<d;){P=s[g];var L=Du(P),G=L=="wrapper"?_h(P):n;G&&Oh(G[0])&&G[1]==(z|M|D|U)&&!G[4].length&&G[9]==1?B=B[Du(G[0])].apply(B,G[3]):B=P.length==1&&Oh(P)?B[L]():B.thru(P)}return function(){var te=arguments,ne=te[0];if(B&&te.length==1&&Ye(ne))return B.plant(ne).value();for(var le=0,ge=d?s[le].apply(this,te):ne;++le<d;)ge=s[le].call(this,ge);return ge}})}function Ru(o,s,d,g,S,P,B,L,G,te){var ne=s&z,le=s&E,ge=s&_,Ee=s&(M|$),De=s&se,qe=ge?n:gs(o);function Le(){for(var tt=arguments.length,it=W(tt),Sn=tt;Sn--;)it[Sn]=arguments[Sn];if(Ee)var rn=Uo(Le),In=hU(it,rn);if(g&&(it=D9(it,g,S,Ee)),P&&(it=L9(it,P,B,Ee)),tt-=In,Ee&&tt<te){var $t=qr(it,rn);return z9(o,s,Ru,Le.placeholder,d,it,$t,L,G,te-tt)}var Zn=le?d:this,Vr=ge?Zn[o]:o;return tt=it.length,L?it=xJ(it,L):De&&tt>1&&it.reverse(),ne&&G<tt&&(it.length=G),this&&this!==Xt&&this instanceof Le&&(Vr=qe||gs(Vr)),Vr.apply(Zn,it)}return Le}function W9(o,s){return function(d,g){return TY(d,o,s(g),{})}}function Vu(o,s){return function(d,g){var S;if(d===n&&g===n)return s;if(d!==n&&(S=d),g!==n){if(S===n)return g;typeof d=="string"||typeof g=="string"?(d=xn(d),g=xn(g)):(d=T9(d),g=T9(g)),S=o(d,g)}return S}}function Sh(o){return Mr(function(s){return s=At(s,Cn(Be())),et(function(d){var g=this;return o(s,function(S){return yn(S,g,d)})})})}function Bu(o,s){s=s===n?" ":xn(s);var d=s.length;if(d<2)return d?mh(s,o):s;var g=mh(s,xu(o/jo(s)));return No(s)?ri(Wn(g),0,o).join(""):g.slice(0,o)}function nJ(o,s,d,g){var S=s&E,P=gs(o);function B(){for(var L=-1,G=arguments.length,te=-1,ne=g.length,le=W(ne+G),ge=this&&this!==Xt&&this instanceof B?P:o;++te<ne;)le[te]=g[te];for(;G--;)le[te++]=arguments[++L];return yn(ge,S?d:this,le)}return B}function X9(o){return function(s,d,g){return g&&typeof g!="number"&&nn(s,d,g)&&(d=g=n),s=Rr(s),d===n?(d=s,s=0):d=Rr(d),g=g===n?s<d?1:-1:Rr(g),kY(s,d,g,o)}}function $u(o){return function(s,d){return typeof s=="string"&&typeof d=="string"||(s=Dn(s),d=Dn(d)),o(s,d)}}function z9(o,s,d,g,S,P,B,L,G,te){var ne=s&M,le=ne?B:n,ge=ne?n:B,Ee=ne?P:n,De=ne?n:P;s|=ne?D:H,s&=~(ne?H:D),s&F||(s&=-4);var qe=[o,s,S,Ee,le,De,ge,L,G,te],Le=d.apply(n,qe);return Oh(o)&&i4(Le,qe),Le.placeholder=g,o4(Le,o,s)}function Ih(o){var s=Nt[o];return function(d,g){if(d=Dn(d),g=g==null?0:Kt(Je(g),292),g&&o9(d)){var S=(gt(d)+"e").split("e"),P=s(S[0]+"e"+(+S[1]+g));return S=(gt(P)+"e").split("e"),+(S[0]+"e"+(+S[1]-g))}return s(d)}}var rJ=Ho&&1/fu(new Ho([,-0]))[1]==Ve?function(o){return new Ho(o)}:zh;function Z9(o){return function(s){var d=qt(s);return d==q?eh(s):d==at?CU(s):dU(s,o(s))}}function Tr(o,s,d,g,S,P,B,L){var G=s&_;if(!G&&typeof o!="function")throw new Fn(l);var te=g?g.length:0;if(te||(s&=-97,g=S=n),B=B===n?B:jt(Je(B),0),L=L===n?L:Je(L),te-=S?S.length:0,s&H){var ne=g,le=S;g=S=n}var ge=G?n:_h(o),Ee=[o,s,d,g,S,ne,le,P,B,L];if(ge&&bJ(Ee,ge),o=Ee[0],s=Ee[1],d=Ee[2],g=Ee[3],S=Ee[4],L=Ee[9]=Ee[9]===n?G?0:o.length:jt(Ee[9]-te,0),!L&&s&(M|$)&&(s&=-25),!s||s==E)var De=eJ(o,s,d);else s==M||s==$?De=tJ(o,s,L):(s==D||s==(E|D))&&!S.length?De=nJ(o,s,d,g):De=Ru.apply(n,Ee);var qe=ge?_9:i4;return o4(qe(De,Ee),o,s)}function U9(o,s,d,g){return o===n||zn(o,Go[d])&&!pt.call(g,d)?s:o}function Y9(o,s,d,g,S,P){return Pt(o)&&Pt(s)&&(P.set(s,o),Tu(o,s,n,Y9,P),P.delete(s)),o}function iJ(o){return bs(o)?n:o}function J9(o,s,d,g,S,P){var B=d&I,L=o.length,G=s.length;if(L!=G&&!(B&&G>L))return!1;var te=P.get(o),ne=P.get(s);if(te&&ne)return te==s&&ne==o;var le=-1,ge=!0,Ee=d&x?new Li:n;for(P.set(o,s),P.set(s,o);++le<L;){var De=o[le],qe=s[le];if(g)var Le=B?g(qe,De,le,s,o,P):g(De,qe,le,o,s,P);if(Le!==n){if(Le)continue;ge=!1;break}if(Ee){if(!U1(s,function(tt,it){if(!is(Ee,it)&&(De===tt||S(De,tt,d,g,P)))return Ee.push(it)})){ge=!1;break}}else if(!(De===qe||S(De,qe,d,g,P))){ge=!1;break}}return P.delete(o),P.delete(s),ge}function oJ(o,s,d,g,S,P,B){switch(d){case er:if(o.byteLength!=s.byteLength||o.byteOffset!=s.byteOffset)return!1;o=o.buffer,s=s.buffer;case un:return!(o.byteLength!=s.byteLength||!P(new vu(o),new vu(s)));case J:case re:case de:return zn(+o,+s);case ue:return o.name==s.name&&o.message==s.message;case Qe:case lt:return o==s+"";case q:var L=eh;case at:var G=g&I;if(L||(L=fu),o.size!=s.size&&!G)return!1;var te=B.get(o);if(te)return te==s;g|=x,B.set(o,s);var ne=J9(L(o),L(s),g,S,P,B);return B.delete(o),ne;case Et:if(us)return us.call(o)==us.call(s)}return!1}function aJ(o,s,d,g,S,P){var B=d&I,L=Eh(o),G=L.length,te=Eh(s),ne=te.length;if(G!=ne&&!B)return!1;for(var le=G;le--;){var ge=L[le];if(!(B?ge in s:pt.call(s,ge)))return!1}var Ee=P.get(o),De=P.get(s);if(Ee&&De)return Ee==s&&De==o;var qe=!0;P.set(o,s),P.set(s,o);for(var Le=B;++le<G;){ge=L[le];var tt=o[ge],it=s[ge];if(g)var Sn=B?g(it,tt,ge,s,o,P):g(tt,it,ge,o,s,P);if(!(Sn===n?tt===it||S(tt,it,d,g,P):Sn)){qe=!1;break}Le||(Le=ge=="constructor")}if(qe&&!Le){var rn=o.constructor,In=s.constructor;rn!=In&&"constructor"in o&&"constructor"in s&&!(typeof rn=="function"&&rn instanceof rn&&typeof In=="function"&&In instanceof In)&&(qe=!1)}return P.delete(o),P.delete(s),qe}function Mr(o){return Rh(n4(o,n,f4),o+"")}function Eh(o){return m9(o,Gt,Th)}function Ah(o){return m9(o,dn,K9)}var _h=Su?function(o){return Su.get(o)}:zh;function Du(o){for(var s=o.name+"",d=Wo[s],g=pt.call(Wo,s)?d.length:0;g--;){var S=d[g],P=S.func;if(P==null||P==o)return S.name}return s}function Uo(o){var s=pt.call(A,"placeholder")?A:o;return s.placeholder}function Be(){var o=A.iteratee||Wh;return o=o===Wh?y9:o,arguments.length?o(arguments[0],arguments[1]):o}function Lu(o,s){var d=o.__data__;return pJ(s)?d[typeof s=="string"?"string":"hash"]:d.map}function Ph(o){for(var s=Gt(o),d=s.length;d--;){var g=s[d],S=o[g];s[d]=[g,S,e4(S)]}return s}function ki(o,s){var d=vU(o,s);return b9(d)?d:n}function sJ(o){var s=pt.call(o,$i),d=o[$i];try{o[$i]=n;var g=!0}catch{}var S=gu.call(o);return g&&(s?o[$i]=d:delete o[$i]),S}var Th=nh?function(o){return o==null?[]:(o=vt(o),Jr(nh(o),function(s){return r9.call(o,s)}))}:Zh,K9=nh?function(o){for(var s=[];o;)Kr(s,Th(o)),o=bu(o);return s}:Zh,qt=tn;(rh&&qt(new rh(new ArrayBuffer(1)))!=er||as&&qt(new as)!=q||ih&&qt(ih.resolve())!=je||Ho&&qt(new Ho)!=at||ss&&qt(new ss)!=Vt)&&(qt=function(o){var s=tn(o),d=s==ye?o.constructor:n,g=d?Gi(d):"";if(g)switch(g){case HU:return er;case WU:return q;case XU:return je;case zU:return at;case ZU:return Vt}return s});function lJ(o,s,d){for(var g=-1,S=d.length;++g<S;){var P=d[g],B=P.size;switch(P.type){case"drop":o+=B;break;case"dropRight":s-=B;break;case"take":s=Kt(s,o+B);break;case"takeRight":o=jt(o,s-B);break}}return{start:o,end:s}}function uJ(o){var s=o.match(ts);return s?s[1].split(C):[]}function q9(o,s,d){s=ni(s,o);for(var g=-1,S=s.length,P=!1;++g<S;){var B=or(s[g]);if(!(P=o!=null&&d(o,B)))break;o=o[B]}return P||++g!=S?P:(S=o==null?0:o.length,!!S&&Xu(S)&&Or(B,S)&&(Ye(o)||Hi(o)))}function cJ(o){var s=o.length,d=new o.constructor(s);return s&&typeof o[0]=="string"&&pt.call(o,"index")&&(d.index=o.index,d.input=o.input),d}function Q9(o){return typeof o.constructor=="function"&&!ms(o)?Xo(bu(o)):{}}function fJ(o,s,d){var g=o.constructor;switch(s){case un:return wh(o);case J:case re:return new g(+o);case er:return UY(o,d);case xr:case wr:case wi:case Si:case Ii:case Ei:case Ai:case _i:case Pi:return B9(o,d);case q:return new g;case de:case lt:return new g(o);case Qe:return YY(o);case at:return new g;case Et:return JY(o)}}function dJ(o,s){var d=s.length;if(!d)return o;var g=d-1;return s[g]=(d>1?"& ":"")+s[g],s=s.join(d>2?", ":" "),o.replace(es,`{
|
|
181
181
|
/* [wrapped with `+s+`] */
|
|
182
|
-
`)}function pJ(o){return Ye(o)||Hi(o)||!!(r9&&o&&o[r9])}function Or(o,s){var d=typeof o;return s=s??ze,!!s&&(d=="number"||d!="symbol"&&Ue.test(o))&&o>-1&&o%1==0&&o<s}function nn(o,s,d){if(!Pt(d))return!1;var g=typeof s;return(g=="number"?fn(d)&&Or(s,d.length):g=="string"&&s in d)?zn(d[s],o):!1}function Ph(o,s){if(Ye(o))return!1;var d=typeof o;return d=="number"||d=="symbol"||d=="boolean"||o==null||wn(o)?!0:Ka.test(o)||!Fi.test(o)||s!=null&&o in vt(s)}function gJ(o){var s=typeof o;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?o!=="__proto__":o===null}function Th(o){var s=Du(o),d=_[s];if(typeof d!="function"||!(s in nt.prototype))return!1;if(o===d)return!0;var g=Eh(d);return!!g&&o===g[0]}function mJ(o){return!!Q5&&Q5 in o}var vJ=hu?Fr:zh;function ms(o){var s=o&&o.constructor,d=typeof s=="function"&&s.prototype||Go;return o===d}function Q9(o){return o===o&&!Pt(o)}function e4(o,s){return function(d){return d==null?!1:d[o]===s&&(s!==n||o in vt(d))}}function bJ(o){var s=Hu(o,function(g){return d.size===f&&d.clear(),g}),d=s.cache;return s}function yJ(o,s){var d=o[1],g=s[1],I=d|g,P=I<(E|A|Z),B=g==Z&&d==R||g==Z&&d==U&&o[7].length<=s[8]||g==(Z|U)&&s[7].length<=s[8]&&d==R;if(!(P||B))return o;g&E&&(o[2]=s[2],I|=d&E?0:O);var D=s[3];if(D){var G=o[3];o[3]=G?$9(G,D,s[4]):D,o[4]=G?qr(o[3],h):s[4]}return D=s[5],D&&(G=o[5],o[5]=G?D9(G,D,s[6]):D,o[6]=G?qr(o[5],h):s[6]),D=s[7],D&&(o[7]=D),g&Z&&(o[8]=o[8]==null?s[8]:Kt(o[8],s[8])),o[9]==null&&(o[9]=s[9]),o[0]=s[0],o[1]=I,o}function CJ(o){var s=[];if(o!=null)for(var d in vt(o))s.push(d);return s}function xJ(o){return gu.call(o)}function t4(o,s,d){return s=jt(s===n?o.length-1:s,0),function(){for(var g=arguments,I=-1,P=jt(g.length-s,0),B=H(P);++I<P;)B[I]=g[s+I];I=-1;for(var D=H(s+1);++I<s;)D[I]=g[I];return D[s]=d(B),yn(o,this,D)}}function n4(o,s){return s.length<2?o:ji(o,Bn(s,0,-1))}function wJ(o,s){for(var d=o.length,g=Kt(s.length,d),I=cn(o);g--;){var P=s[g];o[g]=Or(P,d)?I[P]:n}return o}function Mh(o,s){if(!(s==="constructor"&&typeof o[s]=="function")&&s!="__proto__")return o[s]}var r4=o4(A9),vs=DU||function(o,s){return Xt.setTimeout(o,s)},Oh=o4(XY);function i4(o,s,d){var g=s+"";return Oh(o,hJ(g,SJ(cJ(g),d)))}function o4(o){var s=0,d=0;return function(){var g=kU(),I=pe-(g-d);if(d=g,I>0){if(++s>=Ge)return arguments[0]}else s=0;return o.apply(n,arguments)}}function Lu(o,s){var d=-1,g=o.length,I=g-1;for(s=s===n?g:s;++d<s;){var P=hh(d,I),B=o[P];o[P]=o[d],o[d]=B}return o.length=s,o}var a4=bJ(function(o){var s=[];return o.charCodeAt(0)===46&&s.push(""),o.replace(qa,function(d,g,I,P){s.push(I?P.replace(ce,"$1"):g||d)}),s});function or(o){if(typeof o=="string"||wn(o))return o;var s=o+"";return s=="0"&&1/o==-Ve?"-0":s}function Gi(o){if(o!=null){try{return pu.call(o)}catch{}try{return o+""}catch{}}return""}function SJ(o,s){return On(k,function(d){var g="_."+d[0];s&d[1]&&!uu(o,g)&&o.push(g)}),o.sort()}function s4(o){if(o instanceof nt)return o.clone();var s=new Rn(o.__wrapped__,o.__chain__);return s.__actions__=cn(o.__actions__),s.__index__=o.__index__,s.__values__=o.__values__,s}function IJ(o,s,d){(d?nn(o,s,d):s===n)?s=1:s=jt(Je(s),0);var g=o==null?0:o.length;if(!g||s<1)return[];for(var I=0,P=0,B=H(xu(g/s));I<g;)B[P++]=Bn(o,I,I+=s);return B}function EJ(o){for(var s=-1,d=o==null?0:o.length,g=0,I=[];++s<d;){var P=o[s];P&&(I[g++]=P)}return I}function AJ(){var o=arguments.length;if(!o)return[];for(var s=H(o-1),d=arguments[0],g=o;g--;)s[g-1]=arguments[g];return Kr(Ye(d)?cn(d):[d],zt(s,1))}var _J=et(function(o,s){return Bt(o)?fs(o,zt(s,1,Bt,!0)):[]}),PJ=et(function(o,s){var d=$n(s);return Bt(d)&&(d=n),Bt(o)?fs(o,zt(s,1,Bt,!0),Be(d,2)):[]}),TJ=et(function(o,s){var d=$n(s);return Bt(d)&&(d=n),Bt(o)?fs(o,zt(s,1,Bt,!0),n,d):[]});function MJ(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Je(s),Bn(o,s<0?0:s,g)):[]}function OJ(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Je(s),s=g-s,Bn(o,0,s<0?0:s)):[]}function FJ(o,s){return o&&o.length?Ou(o,Be(s,3),!0,!0):[]}function RJ(o,s){return o&&o.length?Ou(o,Be(s,3),!0):[]}function VJ(o,s,d,g){var I=o==null?0:o.length;return I?(d&&typeof d!="number"&&nn(o,s,d)&&(d=0,g=I),AY(o,s,d,g)):[]}function l4(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var I=d==null?0:Je(d);return I<0&&(I=jt(g+I,0)),cu(o,Be(s,3),I)}function u4(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var I=g-1;return d!==n&&(I=Je(d),I=d<0?jt(g+I,0):Kt(I,g-1)),cu(o,Be(s,3),I,!0)}function c4(o){var s=o==null?0:o.length;return s?zt(o,1):[]}function BJ(o){var s=o==null?0:o.length;return s?zt(o,Ve):[]}function $J(o,s){var d=o==null?0:o.length;return d?(s=s===n?1:Je(s),zt(o,s)):[]}function DJ(o){for(var s=-1,d=o==null?0:o.length,g={};++s<d;){var I=o[s];g[I[0]]=I[1]}return g}function f4(o){return o&&o.length?o[0]:n}function NJ(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var I=d==null?0:Je(d);return I<0&&(I=jt(g+I,0)),No(o,s,I)}function LJ(o){var s=o==null?0:o.length;return s?Bn(o,0,-1):[]}var jJ=et(function(o){var s=At(o,bh);return s.length&&s[0]===o[0]?lh(s):[]}),kJ=et(function(o){var s=$n(o),d=At(o,bh);return s===$n(d)?s=n:d.pop(),d.length&&d[0]===o[0]?lh(d,Be(s,2)):[]}),GJ=et(function(o){var s=$n(o),d=At(o,bh);return s=typeof s=="function"?s:n,s&&d.pop(),d.length&&d[0]===o[0]?lh(d,n,s):[]});function HJ(o,s){return o==null?"":LU.call(o,s)}function $n(o){var s=o==null?0:o.length;return s?o[s-1]:n}function WJ(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var I=g;return d!==n&&(I=Je(d),I=I<0?jt(g+I,0):Kt(I,g-1)),s===s?SU(o,s,I):cu(o,X5,I,!0)}function XJ(o,s){return o&&o.length?w9(o,Je(s)):n}var zJ=et(d4);function d4(o,s){return o&&o.length&&s&&s.length?dh(o,s):o}function ZJ(o,s,d){return o&&o.length&&s&&s.length?dh(o,s,Be(d,2)):o}function UJ(o,s,d){return o&&o.length&&s&&s.length?dh(o,s,n,d):o}var YJ=Mr(function(o,s){var d=o==null?0:o.length,g=ih(o,s);return E9(o,At(s,function(I){return Or(I,d)?+I:I}).sort(B9)),g});function JJ(o,s){var d=[];if(!(o&&o.length))return d;var g=-1,I=[],P=o.length;for(s=Be(s,3);++g<P;){var B=o[g];s(B,g,o)&&(d.push(B),I.push(g))}return E9(o,I),d}function Fh(o){return o==null?o:HU.call(o)}function KJ(o,s,d){var g=o==null?0:o.length;return g?(d&&typeof d!="number"&&nn(o,s,d)?(s=0,d=g):(s=s==null?0:Je(s),d=d===n?g:Je(d)),Bn(o,s,d)):[]}function qJ(o,s){return Mu(o,s)}function QJ(o,s,d){return gh(o,s,Be(d,2))}function eK(o,s){var d=o==null?0:o.length;if(d){var g=Mu(o,s);if(g<d&&zn(o[g],s))return g}return-1}function tK(o,s){return Mu(o,s,!0)}function nK(o,s,d){return gh(o,s,Be(d,2),!0)}function rK(o,s){var d=o==null?0:o.length;if(d){var g=Mu(o,s,!0)-1;if(zn(o[g],s))return g}return-1}function iK(o){return o&&o.length?_9(o):[]}function oK(o,s){return o&&o.length?_9(o,Be(s,2)):[]}function aK(o){var s=o==null?0:o.length;return s?Bn(o,1,s):[]}function sK(o,s,d){return o&&o.length?(s=d||s===n?1:Je(s),Bn(o,0,s<0?0:s)):[]}function lK(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Je(s),s=g-s,Bn(o,s<0?0:s,g)):[]}function uK(o,s){return o&&o.length?Ou(o,Be(s,3),!1,!0):[]}function cK(o,s){return o&&o.length?Ou(o,Be(s,3)):[]}var fK=et(function(o){return ti(zt(o,1,Bt,!0))}),dK=et(function(o){var s=$n(o);return Bt(s)&&(s=n),ti(zt(o,1,Bt,!0),Be(s,2))}),hK=et(function(o){var s=$n(o);return s=typeof s=="function"?s:n,ti(zt(o,1,Bt,!0),n,s)});function pK(o){return o&&o.length?ti(o):[]}function gK(o,s){return o&&o.length?ti(o,Be(s,2)):[]}function mK(o,s){return s=typeof s=="function"?s:n,o&&o.length?ti(o,n,s):[]}function Rh(o){if(!(o&&o.length))return[];var s=0;return o=Jr(o,function(d){if(Bt(d))return s=jt(d.length,s),!0}),J1(s,function(d){return At(o,Z1(d))})}function h4(o,s){if(!(o&&o.length))return[];var d=Rh(o);return s==null?d:At(d,function(g){return yn(s,n,g)})}var vK=et(function(o,s){return Bt(o)?fs(o,s):[]}),bK=et(function(o){return vh(Jr(o,Bt))}),yK=et(function(o){var s=$n(o);return Bt(s)&&(s=n),vh(Jr(o,Bt),Be(s,2))}),CK=et(function(o){var s=$n(o);return s=typeof s=="function"?s:n,vh(Jr(o,Bt),n,s)}),xK=et(Rh);function wK(o,s){return O9(o||[],s||[],cs)}function SK(o,s){return O9(o||[],s||[],ps)}var IK=et(function(o){var s=o.length,d=s>1?o[s-1]:n;return d=typeof d=="function"?(o.pop(),d):n,h4(o,d)});function p4(o){var s=_(o);return s.__chain__=!0,s}function EK(o,s){return s(o),o}function ju(o,s){return s(o)}var AK=Mr(function(o){var s=o.length,d=s?o[0]:0,g=this.__wrapped__,I=function(P){return ih(P,o)};return s>1||this.__actions__.length||!(g instanceof nt)||!Or(d)?this.thru(I):(g=g.slice(d,+d+(s?1:0)),g.__actions__.push({func:ju,args:[I],thisArg:n}),new Rn(g,this.__chain__).thru(function(P){return s&&!P.length&&P.push(n),P}))});function _K(){return p4(this)}function PK(){return new Rn(this.value(),this.__chain__)}function TK(){this.__values__===n&&(this.__values__=P4(this.value()));var o=this.__index__>=this.__values__.length,s=o?n:this.__values__[this.__index__++];return{done:o,value:s}}function MK(){return this}function OK(o){for(var s,d=this;d instanceof Eu;){var g=s4(d);g.__index__=0,g.__values__=n,s?I.__wrapped__=g:s=g;var I=g;d=d.__wrapped__}return I.__wrapped__=o,s}function FK(){var o=this.__wrapped__;if(o instanceof nt){var s=o;return this.__actions__.length&&(s=new nt(this)),s=s.reverse(),s.__actions__.push({func:ju,args:[Fh],thisArg:n}),new Rn(s,this.__chain__)}return this.thru(Fh)}function RK(){return M9(this.__wrapped__,this.__actions__)}var VK=Fu(function(o,s,d){gt.call(o,d)?++o[d]:Pr(o,d,1)});function BK(o,s,d){var g=Ye(o)?H5:EY;return d&&nn(o,s,d)&&(s=n),g(o,Be(s,3))}function $K(o,s){var d=Ye(o)?Jr:h9;return d(o,Be(s,3))}var DK=k9(l4),NK=k9(u4);function LK(o,s){return zt(ku(o,s),1)}function jK(o,s){return zt(ku(o,s),Ve)}function kK(o,s,d){return d=d===n?1:Je(d),zt(ku(o,s),d)}function g4(o,s){var d=Ye(o)?On:ei;return d(o,Be(s,3))}function m4(o,s){var d=Ye(o)?aU:d9;return d(o,Be(s,3))}var GK=Fu(function(o,s,d){gt.call(o,d)?o[d].push(s):Pr(o,d,[s])});function HK(o,s,d,g){o=fn(o)?o:Jo(o),d=d&&!g?Je(d):0;var I=o.length;return d<0&&(d=jt(I+d,0)),zu(o)?d<=I&&o.indexOf(s,d)>-1:!!I&&No(o,s,d)>-1}var WK=et(function(o,s,d){var g=-1,I=typeof s=="function",P=fn(o)?H(o.length):[];return ei(o,function(B){P[++g]=I?yn(s,B,d):ds(B,s,d)}),P}),XK=Fu(function(o,s,d){Pr(o,d,s)});function ku(o,s){var d=Ye(o)?At:y9;return d(o,Be(s,3))}function zK(o,s,d,g){return o==null?[]:(Ye(s)||(s=s==null?[]:[s]),d=g?n:d,Ye(d)||(d=d==null?[]:[d]),S9(o,s,d))}var ZK=Fu(function(o,s,d){o[d?0:1].push(s)},function(){return[[],[]]});function UK(o,s,d){var g=Ye(o)?X1:Z5,I=arguments.length<3;return g(o,Be(s,4),d,I,ei)}function YK(o,s,d){var g=Ye(o)?sU:Z5,I=arguments.length<3;return g(o,Be(s,4),d,I,d9)}function JK(o,s){var d=Ye(o)?Jr:h9;return d(o,Wu(Be(s,3)))}function KK(o){var s=Ye(o)?l9:HY;return s(o)}function qK(o,s,d){(d?nn(o,s,d):s===n)?s=1:s=Je(s);var g=Ye(o)?CY:WY;return g(o,s)}function QK(o){var s=Ye(o)?xY:zY;return s(o)}function eq(o){if(o==null)return 0;if(fn(o))return zu(o)?jo(o):o.length;var s=qt(o);return s==q||s==at?o.size:ch(o).length}function tq(o,s,d){var g=Ye(o)?z1:ZY;return d&&nn(o,s,d)&&(s=n),g(o,Be(s,3))}var nq=et(function(o,s){if(o==null)return[];var d=s.length;return d>1&&nn(o,s[0],s[1])?s=[]:d>2&&nn(s[0],s[1],s[2])&&(s=[s[0]]),S9(o,zt(s,1),[])}),Gu=$U||function(){return Xt.Date.now()};function rq(o,s){if(typeof s!="function")throw new Fn(l);return o=Je(o),function(){if(--o<1)return s.apply(this,arguments)}}function v4(o,s,d){return s=d?n:s,s=o&&s==null?o.length:s,Tr(o,Z,n,n,n,n,s)}function b4(o,s){var d;if(typeof s!="function")throw new Fn(l);return o=Je(o),function(){return--o>0&&(d=s.apply(this,arguments)),o<=1&&(s=n),d}}var Vh=et(function(o,s,d){var g=E;if(d.length){var I=qr(d,Uo(Vh));g|=N}return Tr(o,g,s,d,I)}),y4=et(function(o,s,d){var g=E|A;if(d.length){var I=qr(d,Uo(y4));g|=N}return Tr(s,g,o,d,I)});function C4(o,s,d){s=d?n:s;var g=Tr(o,R,n,n,n,n,n,s);return g.placeholder=C4.placeholder,g}function x4(o,s,d){s=d?n:s;var g=Tr(o,$,n,n,n,n,n,s);return g.placeholder=x4.placeholder,g}function w4(o,s,d){var g,I,P,B,D,G,te=0,ne=!1,le=!1,ge=!0;if(typeof o!="function")throw new Fn(l);s=Dn(s)||0,Pt(d)&&(ne=!!d.leading,le="maxWait"in d,P=le?jt(Dn(d.maxWait)||0,s):P,ge="trailing"in d?!!d.trailing:ge);function Ee($t){var Zn=g,Vr=I;return g=I=n,te=$t,B=o.apply(Vr,Zn),B}function De($t){return te=$t,D=vs(tt,s),ne?Ee($t):B}function qe($t){var Zn=$t-G,Vr=$t-te,k4=s-Zn;return le?Kt(k4,P-Vr):k4}function Ne($t){var Zn=$t-G,Vr=$t-te;return G===n||Zn>=s||Zn<0||le&&Vr>=P}function tt(){var $t=Gu();if(Ne($t))return it($t);D=vs(tt,qe($t))}function it($t){return D=n,ge&&g?Ee($t):(g=I=n,B)}function Sn(){D!==n&&F9(D),te=0,g=G=I=D=n}function rn(){return D===n?B:it(Gu())}function In(){var $t=Gu(),Zn=Ne($t);if(g=arguments,I=this,G=$t,Zn){if(D===n)return De(G);if(le)return F9(D),D=vs(tt,s),Ee(G)}return D===n&&(D=vs(tt,s)),B}return In.cancel=Sn,In.flush=rn,In}var iq=et(function(o,s){return f9(o,1,s)}),oq=et(function(o,s,d){return f9(o,Dn(s)||0,d)});function aq(o){return Tr(o,se)}function Hu(o,s){if(typeof o!="function"||s!=null&&typeof s!="function")throw new Fn(l);var d=function(){var g=arguments,I=s?s.apply(this,g):g[0],P=d.cache;if(P.has(I))return P.get(I);var B=o.apply(this,g);return d.cache=P.set(I,B)||P,B};return d.cache=new(Hu.Cache||_r),d}Hu.Cache=_r;function Wu(o){if(typeof o!="function")throw new Fn(l);return function(){var s=arguments;switch(s.length){case 0:return!o.call(this);case 1:return!o.call(this,s[0]);case 2:return!o.call(this,s[0],s[1]);case 3:return!o.call(this,s[0],s[1],s[2])}return!o.apply(this,s)}}function sq(o){return b4(2,o)}var lq=UY(function(o,s){s=s.length==1&&Ye(s[0])?At(s[0],Cn(Be())):At(zt(s,1),Cn(Be()));var d=s.length;return et(function(g){for(var I=-1,P=Kt(g.length,d);++I<P;)g[I]=s[I].call(this,g[I]);return yn(o,this,g)})}),Bh=et(function(o,s){var d=qr(s,Uo(Bh));return Tr(o,N,n,s,d)}),S4=et(function(o,s){var d=qr(s,Uo(S4));return Tr(o,X,n,s,d)}),uq=Mr(function(o,s){return Tr(o,U,n,n,n,s)});function cq(o,s){if(typeof o!="function")throw new Fn(l);return s=s===n?s:Je(s),et(o,s)}function fq(o,s){if(typeof o!="function")throw new Fn(l);return s=s==null?0:jt(Je(s),0),et(function(d){var g=d[s],I=ri(d,0,s);return g&&Kr(I,g),yn(o,this,I)})}function dq(o,s,d){var g=!0,I=!0;if(typeof o!="function")throw new Fn(l);return Pt(d)&&(g="leading"in d?!!d.leading:g,I="trailing"in d?!!d.trailing:I),w4(o,s,{leading:g,maxWait:s,trailing:I})}function hq(o){return v4(o,1)}function pq(o,s){return Bh(yh(s),o)}function gq(){if(!arguments.length)return[];var o=arguments[0];return Ye(o)?o:[o]}function mq(o){return Vn(o,v)}function vq(o,s){return s=typeof s=="function"?s:n,Vn(o,v,s)}function bq(o){return Vn(o,p|v)}function yq(o,s){return s=typeof s=="function"?s:n,Vn(o,p|v,s)}function Cq(o,s){return s==null||c9(o,s,Gt(s))}function zn(o,s){return o===s||o!==o&&s!==s}var xq=$u(sh),wq=$u(function(o,s){return o>=s}),Hi=m9(function(){return arguments}())?m9:function(o){return Ft(o)&>.call(o,"callee")&&!n9.call(o,"callee")},Ye=H.isArray,Sq=D5?Cn(D5):OY;function fn(o){return o!=null&&Xu(o.length)&&!Fr(o)}function Bt(o){return Ft(o)&&fn(o)}function Iq(o){return o===!0||o===!1||Ft(o)&&tn(o)==J}var ii=NU||zh,Eq=N5?Cn(N5):FY;function Aq(o){return Ft(o)&&o.nodeType===1&&!bs(o)}function _q(o){if(o==null)return!0;if(fn(o)&&(Ye(o)||typeof o=="string"||typeof o.splice=="function"||ii(o)||Yo(o)||Hi(o)))return!o.length;var s=qt(o);if(s==q||s==at)return!o.size;if(ms(o))return!ch(o).length;for(var d in o)if(gt.call(o,d))return!1;return!0}function Pq(o,s){return hs(o,s)}function Tq(o,s,d){d=typeof d=="function"?d:n;var g=d?d(o,s):n;return g===n?hs(o,s,n,d):!!g}function $h(o){if(!Ft(o))return!1;var s=tn(o);return s==ue||s==ie||typeof o.message=="string"&&typeof o.name=="string"&&!bs(o)}function Mq(o){return typeof o=="number"&&i9(o)}function Fr(o){if(!Pt(o))return!1;var s=tn(o);return s==K||s==fe||s==z||s==He}function I4(o){return typeof o=="number"&&o==Je(o)}function Xu(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=ze}function Pt(o){var s=typeof o;return o!=null&&(s=="object"||s=="function")}function Ft(o){return o!=null&&typeof o=="object"}var E4=L5?Cn(L5):VY;function Oq(o,s){return o===s||uh(o,s,Ah(s))}function Fq(o,s,d){return d=typeof d=="function"?d:n,uh(o,s,Ah(s),d)}function Rq(o){return A4(o)&&o!=+o}function Vq(o){if(vJ(o))throw new Ze(a);return v9(o)}function Bq(o){return o===null}function $q(o){return o==null}function A4(o){return typeof o=="number"||Ft(o)&&tn(o)==de}function bs(o){if(!Ft(o)||tn(o)!=ye)return!1;var s=bu(o);if(s===null)return!0;var d=gt.call(s,"constructor")&&s.constructor;return typeof d=="function"&&d instanceof d&&pu.call(d)==FU}var Dh=j5?Cn(j5):BY;function Dq(o){return I4(o)&&o>=-ze&&o<=ze}var _4=k5?Cn(k5):$Y;function zu(o){return typeof o=="string"||!Ye(o)&&Ft(o)&&tn(o)==lt}function wn(o){return typeof o=="symbol"||Ft(o)&&tn(o)==Et}var Yo=G5?Cn(G5):DY;function Nq(o){return o===n}function Lq(o){return Ft(o)&&qt(o)==Vt}function jq(o){return Ft(o)&&tn(o)==Hn}var kq=$u(fh),Gq=$u(function(o,s){return o<=s});function P4(o){if(!o)return[];if(fn(o))return zu(o)?Wn(o):cn(o);if(os&&o[os])return CU(o[os]());var s=qt(o),d=s==q?q1:s==at?fu:Jo;return d(o)}function Rr(o){if(!o)return o===0?o:0;if(o=Dn(o),o===Ve||o===-Ve){var s=o<0?-1:1;return s*M}return o===o?o:0}function Je(o){var s=Rr(o),d=s%1;return s===s?d?s-d:s:0}function T4(o){return o?Li(Je(o),0,V):0}function Dn(o){if(typeof o=="number")return o;if(wn(o))return T;if(Pt(o)){var s=typeof o.valueOf=="function"?o.valueOf():o;o=Pt(s)?s+"":s}if(typeof o!="string")return o===0?o:+o;o=U5(o);var d=me.test(o);return d||We.test(o)?rU(o.slice(2),d?2:8):ve.test(o)?T:+o}function M4(o){return ir(o,dn(o))}function Hq(o){return o?Li(Je(o),-ze,ze):o===0?o:0}function pt(o){return o==null?"":xn(o)}var Wq=zo(function(o,s){if(ms(s)||fn(s)){ir(s,Gt(s),o);return}for(var d in s)gt.call(s,d)&&cs(o,d,s[d])}),O4=zo(function(o,s){ir(s,dn(s),o)}),Zu=zo(function(o,s,d,g){ir(s,dn(s),o,g)}),Xq=zo(function(o,s,d,g){ir(s,Gt(s),o,g)}),zq=Mr(ih);function Zq(o,s){var d=Xo(o);return s==null?d:u9(d,s)}var Uq=et(function(o,s){o=vt(o);var d=-1,g=s.length,I=g>2?s[2]:n;for(I&&nn(s[0],s[1],I)&&(g=1);++d<g;)for(var P=s[d],B=dn(P),D=-1,G=B.length;++D<G;){var te=B[D],ne=o[te];(ne===n||zn(ne,Go[te])&&!gt.call(o,te))&&(o[te]=P[te])}return o}),Yq=et(function(o){return o.push(n,U9),yn(F4,n,o)});function Jq(o,s){return W5(o,Be(s,3),rr)}function Kq(o,s){return W5(o,Be(s,3),ah)}function qq(o,s){return o==null?o:oh(o,Be(s,3),dn)}function Qq(o,s){return o==null?o:p9(o,Be(s,3),dn)}function eQ(o,s){return o&&rr(o,Be(s,3))}function tQ(o,s){return o&&ah(o,Be(s,3))}function nQ(o){return o==null?[]:Pu(o,Gt(o))}function rQ(o){return o==null?[]:Pu(o,dn(o))}function Nh(o,s,d){var g=o==null?n:ji(o,s);return g===n?d:g}function iQ(o,s){return o!=null&&K9(o,s,_Y)}function Lh(o,s){return o!=null&&K9(o,s,PY)}var oQ=H9(function(o,s,d){s!=null&&typeof s.toString!="function"&&(s=gu.call(s)),o[s]=d},kh(hn)),aQ=H9(function(o,s,d){s!=null&&typeof s.toString!="function"&&(s=gu.call(s)),gt.call(o,s)?o[s].push(d):o[s]=[d]},Be),sQ=et(ds);function Gt(o){return fn(o)?s9(o):ch(o)}function dn(o){return fn(o)?s9(o,!0):NY(o)}function lQ(o,s){var d={};return s=Be(s,3),rr(o,function(g,I,P){Pr(d,s(g,I,P),g)}),d}function uQ(o,s){var d={};return s=Be(s,3),rr(o,function(g,I,P){Pr(d,I,s(g,I,P))}),d}var cQ=zo(function(o,s,d){Tu(o,s,d)}),F4=zo(function(o,s,d,g){Tu(o,s,d,g)}),fQ=Mr(function(o,s){var d={};if(o==null)return d;var g=!1;s=At(s,function(P){return P=ni(P,o),g||(g=P.length>1),P}),ir(o,Ih(o),d),g&&(d=Vn(d,p|m|v,oJ));for(var I=s.length;I--;)mh(d,s[I]);return d});function dQ(o,s){return R4(o,Wu(Be(s)))}var hQ=Mr(function(o,s){return o==null?{}:jY(o,s)});function R4(o,s){if(o==null)return{};var d=At(Ih(o),function(g){return[g]});return s=Be(s),I9(o,d,function(g,I){return s(g,I[0])})}function pQ(o,s,d){s=ni(s,o);var g=-1,I=s.length;for(I||(I=1,o=n);++g<I;){var P=o==null?n:o[or(s[g])];P===n&&(g=I,P=d),o=Fr(P)?P.call(o):P}return o}function gQ(o,s,d){return o==null?o:ps(o,s,d)}function mQ(o,s,d,g){return g=typeof g=="function"?g:n,o==null?o:ps(o,s,d,g)}var V4=z9(Gt),B4=z9(dn);function vQ(o,s,d){var g=Ye(o),I=g||ii(o)||Yo(o);if(s=Be(s,4),d==null){var P=o&&o.constructor;I?d=g?new P:[]:Pt(o)?d=Fr(P)?Xo(bu(o)):{}:d={}}return(I?On:rr)(o,function(B,D,G){return s(d,B,D,G)}),d}function bQ(o,s){return o==null?!0:mh(o,s)}function yQ(o,s,d){return o==null?o:T9(o,s,yh(d))}function CQ(o,s,d,g){return g=typeof g=="function"?g:n,o==null?o:T9(o,s,yh(d),g)}function Jo(o){return o==null?[]:K1(o,Gt(o))}function xQ(o){return o==null?[]:K1(o,dn(o))}function wQ(o,s,d){return d===n&&(d=s,s=n),d!==n&&(d=Dn(d),d=d===d?d:0),s!==n&&(s=Dn(s),s=s===s?s:0),Li(Dn(o),s,d)}function SQ(o,s,d){return s=Rr(s),d===n?(d=s,s=0):d=Rr(d),o=Dn(o),TY(o,s,d)}function IQ(o,s,d){if(d&&typeof d!="boolean"&&nn(o,s,d)&&(s=d=n),d===n&&(typeof s=="boolean"?(d=s,s=n):typeof o=="boolean"&&(d=o,o=n)),o===n&&s===n?(o=0,s=1):(o=Rr(o),s===n?(s=o,o=0):s=Rr(s)),o>s){var g=o;o=s,s=g}if(d||o%1||s%1){var I=o9();return Kt(o+I*(s-o+nU("1e-"+((I+"").length-1))),s)}return hh(o,s)}var EQ=Zo(function(o,s,d){return s=s.toLowerCase(),o+(d?$4(s):s)});function $4(o){return jh(pt(o).toLowerCase())}function D4(o){return o=pt(o),o&&o.replace(mt,gU).replace(zZ,"")}function AQ(o,s,d){o=pt(o),s=xn(s);var g=o.length;d=d===n?g:Li(Je(d),0,g);var I=d;return d-=s.length,d>=0&&o.slice(d,I)==s}function _Q(o){return o=pt(o),o&&Ya.test(o)?o.replace(nr,mU):o}function PQ(o){return o=pt(o),o&&Ri.test(o)?o.replace(Ir,"\\$&"):o}var TQ=Zo(function(o,s,d){return o+(d?"-":"")+s.toLowerCase()}),MQ=Zo(function(o,s,d){return o+(d?" ":"")+s.toLowerCase()}),OQ=j9("toLowerCase");function FQ(o,s,d){o=pt(o),s=Je(s);var g=s?jo(o):0;if(!s||g>=s)return o;var I=(s-g)/2;return Bu(wu(I),d)+o+Bu(xu(I),d)}function RQ(o,s,d){o=pt(o),s=Je(s);var g=s?jo(o):0;return s&&g<s?o+Bu(s-g,d):o}function VQ(o,s,d){o=pt(o),s=Je(s);var g=s?jo(o):0;return s&&g<s?Bu(s-g,d)+o:o}function BQ(o,s,d){return d||s==null?s=0:s&&(s=+s),GU(pt(o).replace(Vi,""),s||0)}function $Q(o,s,d){return(d?nn(o,s,d):s===n)?s=1:s=Je(s),ph(pt(o),s)}function DQ(){var o=arguments,s=pt(o[0]);return o.length<3?s:s.replace(o[1],o[2])}var NQ=Zo(function(o,s,d){return o+(d?"_":"")+s.toLowerCase()});function LQ(o,s,d){return d&&typeof d!="number"&&nn(o,s,d)&&(s=d=n),d=d===n?V:d>>>0,d?(o=pt(o),o&&(typeof s=="string"||s!=null&&!Dh(s))&&(s=xn(s),!s&&Lo(o))?ri(Wn(o),0,d):o.split(s,d)):[]}var jQ=Zo(function(o,s,d){return o+(d?" ":"")+jh(s)});function kQ(o,s,d){return o=pt(o),d=d==null?0:Li(Je(d),0,o.length),s=xn(s),o.slice(d,d+s.length)==s}function GQ(o,s,d){var g=_.templateSettings;d&&nn(o,s,d)&&(s=n),o=pt(o),s=Zu({},s,g,Z9);var I=Zu({},s.imports,g.imports,Z9),P=Gt(I),B=K1(I,P),D,G,te=0,ne=s.interpolate||kt,le="__p += '",ge=Q1((s.escape||kt).source+"|"+ne.source+"|"+(ne===Yr?we:kt).source+"|"+(s.evaluate||kt).source+"|$","g"),Ee="//# sourceURL="+(gt.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++KZ+"]")+`
|
|
183
|
-
`;o.replace(ge,function(
|
|
182
|
+
`)}function hJ(o){return Ye(o)||Hi(o)||!!(i9&&o&&o[i9])}function Or(o,s){var d=typeof o;return s=s??ze,!!s&&(d=="number"||d!="symbol"&&Ue.test(o))&&o>-1&&o%1==0&&o<s}function nn(o,s,d){if(!Pt(d))return!1;var g=typeof s;return(g=="number"?fn(d)&&Or(s,d.length):g=="string"&&s in d)?zn(d[s],o):!1}function Mh(o,s){if(Ye(o))return!1;var d=typeof o;return d=="number"||d=="symbol"||d=="boolean"||o==null||wn(o)?!0:Ka.test(o)||!Fi.test(o)||s!=null&&o in vt(s)}function pJ(o){var s=typeof o;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?o!=="__proto__":o===null}function Oh(o){var s=Du(o),d=A[s];if(typeof d!="function"||!(s in nt.prototype))return!1;if(o===d)return!0;var g=_h(d);return!!g&&o===g[0]}function gJ(o){return!!e9&&e9 in o}var mJ=hu?Fr:Uh;function ms(o){var s=o&&o.constructor,d=typeof s=="function"&&s.prototype||Go;return o===d}function e4(o){return o===o&&!Pt(o)}function t4(o,s){return function(d){return d==null?!1:d[o]===s&&(s!==n||o in vt(d))}}function vJ(o){var s=Hu(o,function(g){return d.size===f&&d.clear(),g}),d=s.cache;return s}function bJ(o,s){var d=o[1],g=s[1],S=d|g,P=S<(E|_|z),B=g==z&&d==M||g==z&&d==U&&o[7].length<=s[8]||g==(z|U)&&s[7].length<=s[8]&&d==M;if(!(P||B))return o;g&E&&(o[2]=s[2],S|=d&E?0:F);var L=s[3];if(L){var G=o[3];o[3]=G?D9(G,L,s[4]):L,o[4]=G?qr(o[3],h):s[4]}return L=s[5],L&&(G=o[5],o[5]=G?L9(G,L,s[6]):L,o[6]=G?qr(o[5],h):s[6]),L=s[7],L&&(o[7]=L),g&z&&(o[8]=o[8]==null?s[8]:Kt(o[8],s[8])),o[9]==null&&(o[9]=s[9]),o[0]=s[0],o[1]=S,o}function yJ(o){var s=[];if(o!=null)for(var d in vt(o))s.push(d);return s}function CJ(o){return gu.call(o)}function n4(o,s,d){return s=jt(s===n?o.length-1:s,0),function(){for(var g=arguments,S=-1,P=jt(g.length-s,0),B=W(P);++S<P;)B[S]=g[s+S];S=-1;for(var L=W(s+1);++S<s;)L[S]=g[S];return L[s]=d(B),yn(o,this,L)}}function r4(o,s){return s.length<2?o:ji(o,Bn(s,0,-1))}function xJ(o,s){for(var d=o.length,g=Kt(s.length,d),S=cn(o);g--;){var P=s[g];o[g]=Or(P,d)?S[P]:n}return o}function Fh(o,s){if(!(s==="constructor"&&typeof o[s]=="function")&&s!="__proto__")return o[s]}var i4=a4(_9),vs=$U||function(o,s){return Xt.setTimeout(o,s)},Rh=a4(WY);function o4(o,s,d){var g=s+"";return Rh(o,dJ(g,wJ(uJ(g),d)))}function a4(o){var s=0,d=0;return function(){var g=jU(),S=pe-(g-d);if(d=g,S>0){if(++s>=Ge)return arguments[0]}else s=0;return o.apply(n,arguments)}}function Nu(o,s){var d=-1,g=o.length,S=g-1;for(s=s===n?g:s;++d<s;){var P=gh(d,S),B=o[P];o[P]=o[d],o[d]=B}return o.length=s,o}var s4=vJ(function(o){var s=[];return o.charCodeAt(0)===46&&s.push(""),o.replace(qa,function(d,g,S,P){s.push(S?P.replace(ce,"$1"):g||d)}),s});function or(o){if(typeof o=="string"||wn(o))return o;var s=o+"";return s=="0"&&1/o==-Ve?"-0":s}function Gi(o){if(o!=null){try{return pu.call(o)}catch{}try{return o+""}catch{}}return""}function wJ(o,s){return On(k,function(d){var g="_."+d[0];s&d[1]&&!uu(o,g)&&o.push(g)}),o.sort()}function l4(o){if(o instanceof nt)return o.clone();var s=new Rn(o.__wrapped__,o.__chain__);return s.__actions__=cn(o.__actions__),s.__index__=o.__index__,s.__values__=o.__values__,s}function SJ(o,s,d){(d?nn(o,s,d):s===n)?s=1:s=jt(Je(s),0);var g=o==null?0:o.length;if(!g||s<1)return[];for(var S=0,P=0,B=W(xu(g/s));S<g;)B[P++]=Bn(o,S,S+=s);return B}function IJ(o){for(var s=-1,d=o==null?0:o.length,g=0,S=[];++s<d;){var P=o[s];P&&(S[g++]=P)}return S}function EJ(){var o=arguments.length;if(!o)return[];for(var s=W(o-1),d=arguments[0],g=o;g--;)s[g-1]=arguments[g];return Kr(Ye(d)?cn(d):[d],zt(s,1))}var AJ=et(function(o,s){return Bt(o)?fs(o,zt(s,1,Bt,!0)):[]}),_J=et(function(o,s){var d=$n(s);return Bt(d)&&(d=n),Bt(o)?fs(o,zt(s,1,Bt,!0),Be(d,2)):[]}),PJ=et(function(o,s){var d=$n(s);return Bt(d)&&(d=n),Bt(o)?fs(o,zt(s,1,Bt,!0),n,d):[]});function TJ(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Je(s),Bn(o,s<0?0:s,g)):[]}function MJ(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Je(s),s=g-s,Bn(o,0,s<0?0:s)):[]}function OJ(o,s){return o&&o.length?Ou(o,Be(s,3),!0,!0):[]}function FJ(o,s){return o&&o.length?Ou(o,Be(s,3),!0):[]}function RJ(o,s,d,g){var S=o==null?0:o.length;return S?(d&&typeof d!="number"&&nn(o,s,d)&&(d=0,g=S),EY(o,s,d,g)):[]}function u4(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var S=d==null?0:Je(d);return S<0&&(S=jt(g+S,0)),cu(o,Be(s,3),S)}function c4(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var S=g-1;return d!==n&&(S=Je(d),S=d<0?jt(g+S,0):Kt(S,g-1)),cu(o,Be(s,3),S,!0)}function f4(o){var s=o==null?0:o.length;return s?zt(o,1):[]}function VJ(o){var s=o==null?0:o.length;return s?zt(o,Ve):[]}function BJ(o,s){var d=o==null?0:o.length;return d?(s=s===n?1:Je(s),zt(o,s)):[]}function $J(o){for(var s=-1,d=o==null?0:o.length,g={};++s<d;){var S=o[s];g[S[0]]=S[1]}return g}function d4(o){return o&&o.length?o[0]:n}function DJ(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var S=d==null?0:Je(d);return S<0&&(S=jt(g+S,0)),Lo(o,s,S)}function LJ(o){var s=o==null?0:o.length;return s?Bn(o,0,-1):[]}var NJ=et(function(o){var s=At(o,Ch);return s.length&&s[0]===o[0]?ch(s):[]}),jJ=et(function(o){var s=$n(o),d=At(o,Ch);return s===$n(d)?s=n:d.pop(),d.length&&d[0]===o[0]?ch(d,Be(s,2)):[]}),kJ=et(function(o){var s=$n(o),d=At(o,Ch);return s=typeof s=="function"?s:n,s&&d.pop(),d.length&&d[0]===o[0]?ch(d,n,s):[]});function GJ(o,s){return o==null?"":LU.call(o,s)}function $n(o){var s=o==null?0:o.length;return s?o[s-1]:n}function HJ(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var S=g;return d!==n&&(S=Je(d),S=S<0?jt(g+S,0):Kt(S,g-1)),s===s?wU(o,s,S):cu(o,z5,S,!0)}function WJ(o,s){return o&&o.length?S9(o,Je(s)):n}var XJ=et(h4);function h4(o,s){return o&&o.length&&s&&s.length?ph(o,s):o}function zJ(o,s,d){return o&&o.length&&s&&s.length?ph(o,s,Be(d,2)):o}function ZJ(o,s,d){return o&&o.length&&s&&s.length?ph(o,s,n,d):o}var UJ=Mr(function(o,s){var d=o==null?0:o.length,g=ah(o,s);return A9(o,At(s,function(S){return Or(S,d)?+S:S}).sort($9)),g});function YJ(o,s){var d=[];if(!(o&&o.length))return d;var g=-1,S=[],P=o.length;for(s=Be(s,3);++g<P;){var B=o[g];s(B,g,o)&&(d.push(B),S.push(g))}return A9(o,S),d}function Vh(o){return o==null?o:GU.call(o)}function JJ(o,s,d){var g=o==null?0:o.length;return g?(d&&typeof d!="number"&&nn(o,s,d)?(s=0,d=g):(s=s==null?0:Je(s),d=d===n?g:Je(d)),Bn(o,s,d)):[]}function KJ(o,s){return Mu(o,s)}function qJ(o,s,d){return vh(o,s,Be(d,2))}function QJ(o,s){var d=o==null?0:o.length;if(d){var g=Mu(o,s);if(g<d&&zn(o[g],s))return g}return-1}function eK(o,s){return Mu(o,s,!0)}function tK(o,s,d){return vh(o,s,Be(d,2),!0)}function nK(o,s){var d=o==null?0:o.length;if(d){var g=Mu(o,s,!0)-1;if(zn(o[g],s))return g}return-1}function rK(o){return o&&o.length?P9(o):[]}function iK(o,s){return o&&o.length?P9(o,Be(s,2)):[]}function oK(o){var s=o==null?0:o.length;return s?Bn(o,1,s):[]}function aK(o,s,d){return o&&o.length?(s=d||s===n?1:Je(s),Bn(o,0,s<0?0:s)):[]}function sK(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Je(s),s=g-s,Bn(o,s<0?0:s,g)):[]}function lK(o,s){return o&&o.length?Ou(o,Be(s,3),!1,!0):[]}function uK(o,s){return o&&o.length?Ou(o,Be(s,3)):[]}var cK=et(function(o){return ti(zt(o,1,Bt,!0))}),fK=et(function(o){var s=$n(o);return Bt(s)&&(s=n),ti(zt(o,1,Bt,!0),Be(s,2))}),dK=et(function(o){var s=$n(o);return s=typeof s=="function"?s:n,ti(zt(o,1,Bt,!0),n,s)});function hK(o){return o&&o.length?ti(o):[]}function pK(o,s){return o&&o.length?ti(o,Be(s,2)):[]}function gK(o,s){return s=typeof s=="function"?s:n,o&&o.length?ti(o,n,s):[]}function Bh(o){if(!(o&&o.length))return[];var s=0;return o=Jr(o,function(d){if(Bt(d))return s=jt(d.length,s),!0}),q1(s,function(d){return At(o,Y1(d))})}function p4(o,s){if(!(o&&o.length))return[];var d=Bh(o);return s==null?d:At(d,function(g){return yn(s,n,g)})}var mK=et(function(o,s){return Bt(o)?fs(o,s):[]}),vK=et(function(o){return yh(Jr(o,Bt))}),bK=et(function(o){var s=$n(o);return Bt(s)&&(s=n),yh(Jr(o,Bt),Be(s,2))}),yK=et(function(o){var s=$n(o);return s=typeof s=="function"?s:n,yh(Jr(o,Bt),n,s)}),CK=et(Bh);function xK(o,s){return F9(o||[],s||[],cs)}function wK(o,s){return F9(o||[],s||[],ps)}var SK=et(function(o){var s=o.length,d=s>1?o[s-1]:n;return d=typeof d=="function"?(o.pop(),d):n,p4(o,d)});function g4(o){var s=A(o);return s.__chain__=!0,s}function IK(o,s){return s(o),o}function ju(o,s){return s(o)}var EK=Mr(function(o){var s=o.length,d=s?o[0]:0,g=this.__wrapped__,S=function(P){return ah(P,o)};return s>1||this.__actions__.length||!(g instanceof nt)||!Or(d)?this.thru(S):(g=g.slice(d,+d+(s?1:0)),g.__actions__.push({func:ju,args:[S],thisArg:n}),new Rn(g,this.__chain__).thru(function(P){return s&&!P.length&&P.push(n),P}))});function AK(){return g4(this)}function _K(){return new Rn(this.value(),this.__chain__)}function PK(){this.__values__===n&&(this.__values__=T4(this.value()));var o=this.__index__>=this.__values__.length,s=o?n:this.__values__[this.__index__++];return{done:o,value:s}}function TK(){return this}function MK(o){for(var s,d=this;d instanceof Eu;){var g=l4(d);g.__index__=0,g.__values__=n,s?S.__wrapped__=g:s=g;var S=g;d=d.__wrapped__}return S.__wrapped__=o,s}function OK(){var o=this.__wrapped__;if(o instanceof nt){var s=o;return this.__actions__.length&&(s=new nt(this)),s=s.reverse(),s.__actions__.push({func:ju,args:[Vh],thisArg:n}),new Rn(s,this.__chain__)}return this.thru(Vh)}function FK(){return O9(this.__wrapped__,this.__actions__)}var RK=Fu(function(o,s,d){pt.call(o,d)?++o[d]:Pr(o,d,1)});function VK(o,s,d){var g=Ye(o)?W5:IY;return d&&nn(o,s,d)&&(s=n),g(o,Be(s,3))}function BK(o,s){var d=Ye(o)?Jr:p9;return d(o,Be(s,3))}var $K=G9(u4),DK=G9(c4);function LK(o,s){return zt(ku(o,s),1)}function NK(o,s){return zt(ku(o,s),Ve)}function jK(o,s,d){return d=d===n?1:Je(d),zt(ku(o,s),d)}function m4(o,s){var d=Ye(o)?On:ei;return d(o,Be(s,3))}function v4(o,s){var d=Ye(o)?oU:h9;return d(o,Be(s,3))}var kK=Fu(function(o,s,d){pt.call(o,d)?o[d].push(s):Pr(o,d,[s])});function GK(o,s,d,g){o=fn(o)?o:Jo(o),d=d&&!g?Je(d):0;var S=o.length;return d<0&&(d=jt(S+d,0)),zu(o)?d<=S&&o.indexOf(s,d)>-1:!!S&&Lo(o,s,d)>-1}var HK=et(function(o,s,d){var g=-1,S=typeof s=="function",P=fn(o)?W(o.length):[];return ei(o,function(B){P[++g]=S?yn(s,B,d):ds(B,s,d)}),P}),WK=Fu(function(o,s,d){Pr(o,d,s)});function ku(o,s){var d=Ye(o)?At:C9;return d(o,Be(s,3))}function XK(o,s,d,g){return o==null?[]:(Ye(s)||(s=s==null?[]:[s]),d=g?n:d,Ye(d)||(d=d==null?[]:[d]),I9(o,s,d))}var zK=Fu(function(o,s,d){o[d?0:1].push(s)},function(){return[[],[]]});function ZK(o,s,d){var g=Ye(o)?Z1:U5,S=arguments.length<3;return g(o,Be(s,4),d,S,ei)}function UK(o,s,d){var g=Ye(o)?aU:U5,S=arguments.length<3;return g(o,Be(s,4),d,S,h9)}function YK(o,s){var d=Ye(o)?Jr:p9;return d(o,Wu(Be(s,3)))}function JK(o){var s=Ye(o)?u9:GY;return s(o)}function KK(o,s,d){(d?nn(o,s,d):s===n)?s=1:s=Je(s);var g=Ye(o)?yY:HY;return g(o,s)}function qK(o){var s=Ye(o)?CY:XY;return s(o)}function QK(o){if(o==null)return 0;if(fn(o))return zu(o)?jo(o):o.length;var s=qt(o);return s==q||s==at?o.size:dh(o).length}function eq(o,s,d){var g=Ye(o)?U1:zY;return d&&nn(o,s,d)&&(s=n),g(o,Be(s,3))}var tq=et(function(o,s){if(o==null)return[];var d=s.length;return d>1&&nn(o,s[0],s[1])?s=[]:d>2&&nn(s[0],s[1],s[2])&&(s=[s[0]]),I9(o,zt(s,1),[])}),Gu=BU||function(){return Xt.Date.now()};function nq(o,s){if(typeof s!="function")throw new Fn(l);return o=Je(o),function(){if(--o<1)return s.apply(this,arguments)}}function b4(o,s,d){return s=d?n:s,s=o&&s==null?o.length:s,Tr(o,z,n,n,n,n,s)}function y4(o,s){var d;if(typeof s!="function")throw new Fn(l);return o=Je(o),function(){return--o>0&&(d=s.apply(this,arguments)),o<=1&&(s=n),d}}var $h=et(function(o,s,d){var g=E;if(d.length){var S=qr(d,Uo($h));g|=D}return Tr(o,g,s,d,S)}),C4=et(function(o,s,d){var g=E|_;if(d.length){var S=qr(d,Uo(C4));g|=D}return Tr(s,g,o,d,S)});function x4(o,s,d){s=d?n:s;var g=Tr(o,M,n,n,n,n,n,s);return g.placeholder=x4.placeholder,g}function w4(o,s,d){s=d?n:s;var g=Tr(o,$,n,n,n,n,n,s);return g.placeholder=w4.placeholder,g}function S4(o,s,d){var g,S,P,B,L,G,te=0,ne=!1,le=!1,ge=!0;if(typeof o!="function")throw new Fn(l);s=Dn(s)||0,Pt(d)&&(ne=!!d.leading,le="maxWait"in d,P=le?jt(Dn(d.maxWait)||0,s):P,ge="trailing"in d?!!d.trailing:ge);function Ee($t){var Zn=g,Vr=S;return g=S=n,te=$t,B=o.apply(Vr,Zn),B}function De($t){return te=$t,L=vs(tt,s),ne?Ee($t):B}function qe($t){var Zn=$t-G,Vr=$t-te,G4=s-Zn;return le?Kt(G4,P-Vr):G4}function Le($t){var Zn=$t-G,Vr=$t-te;return G===n||Zn>=s||Zn<0||le&&Vr>=P}function tt(){var $t=Gu();if(Le($t))return it($t);L=vs(tt,qe($t))}function it($t){return L=n,ge&&g?Ee($t):(g=S=n,B)}function Sn(){L!==n&&R9(L),te=0,g=G=S=L=n}function rn(){return L===n?B:it(Gu())}function In(){var $t=Gu(),Zn=Le($t);if(g=arguments,S=this,G=$t,Zn){if(L===n)return De(G);if(le)return R9(L),L=vs(tt,s),Ee(G)}return L===n&&(L=vs(tt,s)),B}return In.cancel=Sn,In.flush=rn,In}var rq=et(function(o,s){return d9(o,1,s)}),iq=et(function(o,s,d){return d9(o,Dn(s)||0,d)});function oq(o){return Tr(o,se)}function Hu(o,s){if(typeof o!="function"||s!=null&&typeof s!="function")throw new Fn(l);var d=function(){var g=arguments,S=s?s.apply(this,g):g[0],P=d.cache;if(P.has(S))return P.get(S);var B=o.apply(this,g);return d.cache=P.set(S,B)||P,B};return d.cache=new(Hu.Cache||_r),d}Hu.Cache=_r;function Wu(o){if(typeof o!="function")throw new Fn(l);return function(){var s=arguments;switch(s.length){case 0:return!o.call(this);case 1:return!o.call(this,s[0]);case 2:return!o.call(this,s[0],s[1]);case 3:return!o.call(this,s[0],s[1],s[2])}return!o.apply(this,s)}}function aq(o){return y4(2,o)}var sq=ZY(function(o,s){s=s.length==1&&Ye(s[0])?At(s[0],Cn(Be())):At(zt(s,1),Cn(Be()));var d=s.length;return et(function(g){for(var S=-1,P=Kt(g.length,d);++S<P;)g[S]=s[S].call(this,g[S]);return yn(o,this,g)})}),Dh=et(function(o,s){var d=qr(s,Uo(Dh));return Tr(o,D,n,s,d)}),I4=et(function(o,s){var d=qr(s,Uo(I4));return Tr(o,H,n,s,d)}),lq=Mr(function(o,s){return Tr(o,U,n,n,n,s)});function uq(o,s){if(typeof o!="function")throw new Fn(l);return s=s===n?s:Je(s),et(o,s)}function cq(o,s){if(typeof o!="function")throw new Fn(l);return s=s==null?0:jt(Je(s),0),et(function(d){var g=d[s],S=ri(d,0,s);return g&&Kr(S,g),yn(o,this,S)})}function fq(o,s,d){var g=!0,S=!0;if(typeof o!="function")throw new Fn(l);return Pt(d)&&(g="leading"in d?!!d.leading:g,S="trailing"in d?!!d.trailing:S),S4(o,s,{leading:g,maxWait:s,trailing:S})}function dq(o){return b4(o,1)}function hq(o,s){return Dh(xh(s),o)}function pq(){if(!arguments.length)return[];var o=arguments[0];return Ye(o)?o:[o]}function gq(o){return Vn(o,v)}function mq(o,s){return s=typeof s=="function"?s:n,Vn(o,v,s)}function vq(o){return Vn(o,p|v)}function bq(o,s){return s=typeof s=="function"?s:n,Vn(o,p|v,s)}function yq(o,s){return s==null||f9(o,s,Gt(s))}function zn(o,s){return o===s||o!==o&&s!==s}var Cq=$u(uh),xq=$u(function(o,s){return o>=s}),Hi=v9(function(){return arguments}())?v9:function(o){return Ft(o)&&pt.call(o,"callee")&&!r9.call(o,"callee")},Ye=W.isArray,wq=L5?Cn(L5):MY;function fn(o){return o!=null&&Xu(o.length)&&!Fr(o)}function Bt(o){return Ft(o)&&fn(o)}function Sq(o){return o===!0||o===!1||Ft(o)&&tn(o)==J}var ii=DU||Uh,Iq=N5?Cn(N5):OY;function Eq(o){return Ft(o)&&o.nodeType===1&&!bs(o)}function Aq(o){if(o==null)return!0;if(fn(o)&&(Ye(o)||typeof o=="string"||typeof o.splice=="function"||ii(o)||Yo(o)||Hi(o)))return!o.length;var s=qt(o);if(s==q||s==at)return!o.size;if(ms(o))return!dh(o).length;for(var d in o)if(pt.call(o,d))return!1;return!0}function _q(o,s){return hs(o,s)}function Pq(o,s,d){d=typeof d=="function"?d:n;var g=d?d(o,s):n;return g===n?hs(o,s,n,d):!!g}function Lh(o){if(!Ft(o))return!1;var s=tn(o);return s==ue||s==ie||typeof o.message=="string"&&typeof o.name=="string"&&!bs(o)}function Tq(o){return typeof o=="number"&&o9(o)}function Fr(o){if(!Pt(o))return!1;var s=tn(o);return s==K||s==fe||s==Z||s==He}function E4(o){return typeof o=="number"&&o==Je(o)}function Xu(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=ze}function Pt(o){var s=typeof o;return o!=null&&(s=="object"||s=="function")}function Ft(o){return o!=null&&typeof o=="object"}var A4=j5?Cn(j5):RY;function Mq(o,s){return o===s||fh(o,s,Ph(s))}function Oq(o,s,d){return d=typeof d=="function"?d:n,fh(o,s,Ph(s),d)}function Fq(o){return _4(o)&&o!=+o}function Rq(o){if(mJ(o))throw new Ze(a);return b9(o)}function Vq(o){return o===null}function Bq(o){return o==null}function _4(o){return typeof o=="number"||Ft(o)&&tn(o)==de}function bs(o){if(!Ft(o)||tn(o)!=ye)return!1;var s=bu(o);if(s===null)return!0;var d=pt.call(s,"constructor")&&s.constructor;return typeof d=="function"&&d instanceof d&&pu.call(d)==OU}var Nh=k5?Cn(k5):VY;function $q(o){return E4(o)&&o>=-ze&&o<=ze}var P4=G5?Cn(G5):BY;function zu(o){return typeof o=="string"||!Ye(o)&&Ft(o)&&tn(o)==lt}function wn(o){return typeof o=="symbol"||Ft(o)&&tn(o)==Et}var Yo=H5?Cn(H5):$Y;function Dq(o){return o===n}function Lq(o){return Ft(o)&&qt(o)==Vt}function Nq(o){return Ft(o)&&tn(o)==Hn}var jq=$u(hh),kq=$u(function(o,s){return o<=s});function T4(o){if(!o)return[];if(fn(o))return zu(o)?Wn(o):cn(o);if(os&&o[os])return yU(o[os]());var s=qt(o),d=s==q?eh:s==at?fu:Jo;return d(o)}function Rr(o){if(!o)return o===0?o:0;if(o=Dn(o),o===Ve||o===-Ve){var s=o<0?-1:1;return s*O}return o===o?o:0}function Je(o){var s=Rr(o),d=s%1;return s===s?d?s-d:s:0}function M4(o){return o?Ni(Je(o),0,V):0}function Dn(o){if(typeof o=="number")return o;if(wn(o))return T;if(Pt(o)){var s=typeof o.valueOf=="function"?o.valueOf():o;o=Pt(s)?s+"":s}if(typeof o!="string")return o===0?o:+o;o=Y5(o);var d=me.test(o);return d||We.test(o)?nU(o.slice(2),d?2:8):ve.test(o)?T:+o}function O4(o){return ir(o,dn(o))}function Gq(o){return o?Ni(Je(o),-ze,ze):o===0?o:0}function gt(o){return o==null?"":xn(o)}var Hq=zo(function(o,s){if(ms(s)||fn(s)){ir(s,Gt(s),o);return}for(var d in s)pt.call(s,d)&&cs(o,d,s[d])}),F4=zo(function(o,s){ir(s,dn(s),o)}),Zu=zo(function(o,s,d,g){ir(s,dn(s),o,g)}),Wq=zo(function(o,s,d,g){ir(s,Gt(s),o,g)}),Xq=Mr(ah);function zq(o,s){var d=Xo(o);return s==null?d:c9(d,s)}var Zq=et(function(o,s){o=vt(o);var d=-1,g=s.length,S=g>2?s[2]:n;for(S&&nn(s[0],s[1],S)&&(g=1);++d<g;)for(var P=s[d],B=dn(P),L=-1,G=B.length;++L<G;){var te=B[L],ne=o[te];(ne===n||zn(ne,Go[te])&&!pt.call(o,te))&&(o[te]=P[te])}return o}),Uq=et(function(o){return o.push(n,Y9),yn(R4,n,o)});function Yq(o,s){return X5(o,Be(s,3),rr)}function Jq(o,s){return X5(o,Be(s,3),lh)}function Kq(o,s){return o==null?o:sh(o,Be(s,3),dn)}function qq(o,s){return o==null?o:g9(o,Be(s,3),dn)}function Qq(o,s){return o&&rr(o,Be(s,3))}function eQ(o,s){return o&&lh(o,Be(s,3))}function tQ(o){return o==null?[]:Pu(o,Gt(o))}function nQ(o){return o==null?[]:Pu(o,dn(o))}function jh(o,s,d){var g=o==null?n:ji(o,s);return g===n?d:g}function rQ(o,s){return o!=null&&q9(o,s,AY)}function kh(o,s){return o!=null&&q9(o,s,_Y)}var iQ=W9(function(o,s,d){s!=null&&typeof s.toString!="function"&&(s=gu.call(s)),o[s]=d},Hh(hn)),oQ=W9(function(o,s,d){s!=null&&typeof s.toString!="function"&&(s=gu.call(s)),pt.call(o,s)?o[s].push(d):o[s]=[d]},Be),aQ=et(ds);function Gt(o){return fn(o)?l9(o):dh(o)}function dn(o){return fn(o)?l9(o,!0):DY(o)}function sQ(o,s){var d={};return s=Be(s,3),rr(o,function(g,S,P){Pr(d,s(g,S,P),g)}),d}function lQ(o,s){var d={};return s=Be(s,3),rr(o,function(g,S,P){Pr(d,S,s(g,S,P))}),d}var uQ=zo(function(o,s,d){Tu(o,s,d)}),R4=zo(function(o,s,d,g){Tu(o,s,d,g)}),cQ=Mr(function(o,s){var d={};if(o==null)return d;var g=!1;s=At(s,function(P){return P=ni(P,o),g||(g=P.length>1),P}),ir(o,Ah(o),d),g&&(d=Vn(d,p|m|v,iJ));for(var S=s.length;S--;)bh(d,s[S]);return d});function fQ(o,s){return V4(o,Wu(Be(s)))}var dQ=Mr(function(o,s){return o==null?{}:NY(o,s)});function V4(o,s){if(o==null)return{};var d=At(Ah(o),function(g){return[g]});return s=Be(s),E9(o,d,function(g,S){return s(g,S[0])})}function hQ(o,s,d){s=ni(s,o);var g=-1,S=s.length;for(S||(S=1,o=n);++g<S;){var P=o==null?n:o[or(s[g])];P===n&&(g=S,P=d),o=Fr(P)?P.call(o):P}return o}function pQ(o,s,d){return o==null?o:ps(o,s,d)}function gQ(o,s,d,g){return g=typeof g=="function"?g:n,o==null?o:ps(o,s,d,g)}var B4=Z9(Gt),$4=Z9(dn);function mQ(o,s,d){var g=Ye(o),S=g||ii(o)||Yo(o);if(s=Be(s,4),d==null){var P=o&&o.constructor;S?d=g?new P:[]:Pt(o)?d=Fr(P)?Xo(bu(o)):{}:d={}}return(S?On:rr)(o,function(B,L,G){return s(d,B,L,G)}),d}function vQ(o,s){return o==null?!0:bh(o,s)}function bQ(o,s,d){return o==null?o:M9(o,s,xh(d))}function yQ(o,s,d,g){return g=typeof g=="function"?g:n,o==null?o:M9(o,s,xh(d),g)}function Jo(o){return o==null?[]:Q1(o,Gt(o))}function CQ(o){return o==null?[]:Q1(o,dn(o))}function xQ(o,s,d){return d===n&&(d=s,s=n),d!==n&&(d=Dn(d),d=d===d?d:0),s!==n&&(s=Dn(s),s=s===s?s:0),Ni(Dn(o),s,d)}function wQ(o,s,d){return s=Rr(s),d===n?(d=s,s=0):d=Rr(d),o=Dn(o),PY(o,s,d)}function SQ(o,s,d){if(d&&typeof d!="boolean"&&nn(o,s,d)&&(s=d=n),d===n&&(typeof s=="boolean"?(d=s,s=n):typeof o=="boolean"&&(d=o,o=n)),o===n&&s===n?(o=0,s=1):(o=Rr(o),s===n?(s=o,o=0):s=Rr(s)),o>s){var g=o;o=s,s=g}if(d||o%1||s%1){var S=a9();return Kt(o+S*(s-o+tU("1e-"+((S+"").length-1))),s)}return gh(o,s)}var IQ=Zo(function(o,s,d){return s=s.toLowerCase(),o+(d?D4(s):s)});function D4(o){return Gh(gt(o).toLowerCase())}function L4(o){return o=gt(o),o&&o.replace(mt,pU).replace(XZ,"")}function EQ(o,s,d){o=gt(o),s=xn(s);var g=o.length;d=d===n?g:Ni(Je(d),0,g);var S=d;return d-=s.length,d>=0&&o.slice(d,S)==s}function AQ(o){return o=gt(o),o&&Ya.test(o)?o.replace(nr,gU):o}function _Q(o){return o=gt(o),o&&Ri.test(o)?o.replace(Ir,"\\$&"):o}var PQ=Zo(function(o,s,d){return o+(d?"-":"")+s.toLowerCase()}),TQ=Zo(function(o,s,d){return o+(d?" ":"")+s.toLowerCase()}),MQ=k9("toLowerCase");function OQ(o,s,d){o=gt(o),s=Je(s);var g=s?jo(o):0;if(!s||g>=s)return o;var S=(s-g)/2;return Bu(wu(S),d)+o+Bu(xu(S),d)}function FQ(o,s,d){o=gt(o),s=Je(s);var g=s?jo(o):0;return s&&g<s?o+Bu(s-g,d):o}function RQ(o,s,d){o=gt(o),s=Je(s);var g=s?jo(o):0;return s&&g<s?Bu(s-g,d)+o:o}function VQ(o,s,d){return d||s==null?s=0:s&&(s=+s),kU(gt(o).replace(Vi,""),s||0)}function BQ(o,s,d){return(d?nn(o,s,d):s===n)?s=1:s=Je(s),mh(gt(o),s)}function $Q(){var o=arguments,s=gt(o[0]);return o.length<3?s:s.replace(o[1],o[2])}var DQ=Zo(function(o,s,d){return o+(d?"_":"")+s.toLowerCase()});function LQ(o,s,d){return d&&typeof d!="number"&&nn(o,s,d)&&(s=d=n),d=d===n?V:d>>>0,d?(o=gt(o),o&&(typeof s=="string"||s!=null&&!Nh(s))&&(s=xn(s),!s&&No(o))?ri(Wn(o),0,d):o.split(s,d)):[]}var NQ=Zo(function(o,s,d){return o+(d?" ":"")+Gh(s)});function jQ(o,s,d){return o=gt(o),d=d==null?0:Ni(Je(d),0,o.length),s=xn(s),o.slice(d,d+s.length)==s}function kQ(o,s,d){var g=A.templateSettings;d&&nn(o,s,d)&&(s=n),o=gt(o),s=Zu({},s,g,U9);var S=Zu({},s.imports,g.imports,U9),P=Gt(S),B=Q1(S,P),L,G,te=0,ne=s.interpolate||kt,le="__p += '",ge=th((s.escape||kt).source+"|"+ne.source+"|"+(ne===Yr?we:kt).source+"|"+(s.evaluate||kt).source+"|$","g"),Ee="//# sourceURL="+(pt.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++JZ+"]")+`
|
|
183
|
+
`;o.replace(ge,function(Le,tt,it,Sn,rn,In){return it||(it=Sn),le+=o.slice(te,In).replace(Wt,mU),tt&&(L=!0,le+=`' +
|
|
184
184
|
__e(`+tt+`) +
|
|
185
185
|
'`),rn&&(G=!0,le+=`';
|
|
186
186
|
`+rn+`;
|
|
187
187
|
__p += '`),it&&(le+=`' +
|
|
188
188
|
((__t = (`+it+`)) == null ? '' : __t) +
|
|
189
|
-
'`),te=In+
|
|
190
|
-
`;var De=
|
|
189
|
+
'`),te=In+Le.length,Le}),le+=`';
|
|
190
|
+
`;var De=pt.call(s,"variable")&&s.variable;if(!De)le=`with (obj) {
|
|
191
191
|
`+le+`
|
|
192
192
|
}
|
|
193
|
-
`;else if(
|
|
193
|
+
`;else if(X.test(De))throw new Ze(u);le=(G?le.replace(Sr,""):le).replace(Ti,"$1").replace(en,"$1;"),le="function("+(De||"obj")+`) {
|
|
194
194
|
`+(De?"":`obj || (obj = {});
|
|
195
|
-
`)+"var __t, __p = ''"+(
|
|
195
|
+
`)+"var __t, __p = ''"+(L?", __e = _.escape":"")+(G?`, __j = Array.prototype.join;
|
|
196
196
|
function print() { __p += __j.call(arguments, '') }
|
|
197
197
|
`:`;
|
|
198
198
|
`)+le+`return __p
|
|
199
|
-
}`;var qe=L4(function(){return ft(P,Ee+"return "+le).apply(n,B)});if(qe.source=le,$h(qe))throw qe;return qe}function HQ(o){return pt(o).toLowerCase()}function WQ(o){return pt(o).toUpperCase()}function XQ(o,s,d){if(o=pt(o),o&&(d||s===n))return U5(o);if(!o||!(s=xn(s)))return o;var g=Wn(o),I=Wn(s),P=Y5(g,I),B=J5(g,I)+1;return ri(g,P,B).join("")}function zQ(o,s,d){if(o=pt(o),o&&(d||s===n))return o.slice(0,q5(o)+1);if(!o||!(s=xn(s)))return o;var g=Wn(o),I=J5(g,Wn(s))+1;return ri(g,0,I).join("")}function ZQ(o,s,d){if(o=pt(o),o&&(d||s===n))return o.replace(Vi,"");if(!o||!(s=xn(s)))return o;var g=Wn(o),I=Y5(g,Wn(s));return ri(g,I).join("")}function UQ(o,s){var d=Ae,g=Xe;if(Pt(s)){var I="separator"in s?s.separator:I;d="length"in s?Je(s.length):d,g="omission"in s?xn(s.omission):g}o=pt(o);var P=o.length;if(Lo(o)){var B=Wn(o);P=B.length}if(d>=P)return o;var D=d-jo(g);if(D<1)return g;var G=B?ri(B,0,D).join(""):o.slice(0,D);if(I===n)return G+g;if(B&&(D+=G.length-D),Dh(I)){if(o.slice(D).search(I)){var te,ne=G;for(I.global||(I=Q1(I.source,pt(_e.exec(I))+"g")),I.lastIndex=0;te=I.exec(ne);)var le=te.index;G=G.slice(0,le===n?D:le)}}else if(o.indexOf(xn(I),D)!=D){var ge=G.lastIndexOf(I);ge>-1&&(G=G.slice(0,ge))}return G+g}function YQ(o){return o=pt(o),o&&Mi.test(o)?o.replace(tr,IU):o}var JQ=Zo(function(o,s,d){return o+(d?" ":"")+s.toUpperCase()}),jh=j9("toUpperCase");function N4(o,s,d){return o=pt(o),s=d?n:s,s===n?yU(o)?_U(o):cU(o):o.match(s)||[]}var L4=et(function(o,s){try{return yn(o,n,s)}catch(d){return $h(d)?d:new Ze(d)}}),KQ=Mr(function(o,s){return On(s,function(d){d=or(d),Pr(o,d,Vh(o[d],o))}),o});function qQ(o){var s=o==null?0:o.length,d=Be();return o=s?At(o,function(g){if(typeof g[1]!="function")throw new Fn(l);return[d(g[0]),g[1]]}):[],et(function(g){for(var I=-1;++I<s;){var P=o[I];if(yn(P[0],this,g))return yn(P[1],this,g)}})}function QQ(o){return IY(Vn(o,p))}function kh(o){return function(){return o}}function eee(o,s){return o==null||o!==o?s:o}var tee=G9(),nee=G9(!0);function hn(o){return o}function Gh(o){return b9(typeof o=="function"?o:Vn(o,p))}function ree(o){return C9(Vn(o,p))}function iee(o,s){return x9(o,Vn(s,p))}var oee=et(function(o,s){return function(d){return ds(d,o,s)}}),aee=et(function(o,s){return function(d){return ds(o,d,s)}});function Hh(o,s,d){var g=Gt(s),I=Pu(s,g);d==null&&!(Pt(s)&&(I.length||!g.length))&&(d=s,s=o,o=this,I=Pu(s,Gt(s)));var P=!(Pt(d)&&"chain"in d)||!!d.chain,B=Fr(o);return On(I,function(D){var G=s[D];o[D]=G,B&&(o.prototype[D]=function(){var te=this.__chain__;if(P||te){var ne=o(this.__wrapped__),le=ne.__actions__=cn(this.__actions__);return le.push({func:G,args:arguments,thisArg:o}),ne.__chain__=te,ne}return G.apply(o,Kr([this.value()],arguments))})}),o}function see(){return Xt._===this&&(Xt._=RU),this}function Wh(){}function lee(o){return o=Je(o),et(function(s){return w9(s,o)})}var uee=xh(At),cee=xh(H5),fee=xh(z1);function j4(o){return Ph(o)?Z1(or(o)):kY(o)}function dee(o){return function(s){return o==null?n:ji(o,s)}}var hee=W9(),pee=W9(!0);function Xh(){return[]}function zh(){return!1}function gee(){return{}}function mee(){return""}function vee(){return!0}function bee(o,s){if(o=Je(o),o<1||o>ze)return[];var d=V,g=Kt(o,V);s=Be(s),o-=V;for(var I=J1(g,s);++d<o;)s(d);return I}function yee(o){return Ye(o)?At(o,or):wn(o)?[o]:cn(a4(pt(o)))}function Cee(o){var s=++OU;return pt(o)+s}var xee=Vu(function(o,s){return o+s},0),wee=wh("ceil"),See=Vu(function(o,s){return o/s},1),Iee=wh("floor");function Eee(o){return o&&o.length?_u(o,hn,sh):n}function Aee(o,s){return o&&o.length?_u(o,Be(s,2),sh):n}function _ee(o){return z5(o,hn)}function Pee(o,s){return z5(o,Be(s,2))}function Tee(o){return o&&o.length?_u(o,hn,fh):n}function Mee(o,s){return o&&o.length?_u(o,Be(s,2),fh):n}var Oee=Vu(function(o,s){return o*s},1),Fee=wh("round"),Ree=Vu(function(o,s){return o-s},0);function Vee(o){return o&&o.length?Y1(o,hn):0}function Bee(o,s){return o&&o.length?Y1(o,Be(s,2)):0}return _.after=rq,_.ary=v4,_.assign=Wq,_.assignIn=O4,_.assignInWith=Zu,_.assignWith=Xq,_.at=zq,_.before=b4,_.bind=Vh,_.bindAll=KQ,_.bindKey=y4,_.castArray=gq,_.chain=p4,_.chunk=IJ,_.compact=EJ,_.concat=AJ,_.cond=qQ,_.conforms=QQ,_.constant=kh,_.countBy=VK,_.create=Zq,_.curry=C4,_.curryRight=x4,_.debounce=w4,_.defaults=Uq,_.defaultsDeep=Yq,_.defer=iq,_.delay=oq,_.difference=_J,_.differenceBy=PJ,_.differenceWith=TJ,_.drop=MJ,_.dropRight=OJ,_.dropRightWhile=FJ,_.dropWhile=RJ,_.fill=VJ,_.filter=$K,_.flatMap=LK,_.flatMapDeep=jK,_.flatMapDepth=kK,_.flatten=c4,_.flattenDeep=BJ,_.flattenDepth=$J,_.flip=aq,_.flow=tee,_.flowRight=nee,_.fromPairs=DJ,_.functions=nQ,_.functionsIn=rQ,_.groupBy=GK,_.initial=LJ,_.intersection=jJ,_.intersectionBy=kJ,_.intersectionWith=GJ,_.invert=oQ,_.invertBy=aQ,_.invokeMap=WK,_.iteratee=Gh,_.keyBy=XK,_.keys=Gt,_.keysIn=dn,_.map=ku,_.mapKeys=lQ,_.mapValues=uQ,_.matches=ree,_.matchesProperty=iee,_.memoize=Hu,_.merge=cQ,_.mergeWith=F4,_.method=oee,_.methodOf=aee,_.mixin=Hh,_.negate=Wu,_.nthArg=lee,_.omit=fQ,_.omitBy=dQ,_.once=sq,_.orderBy=zK,_.over=uee,_.overArgs=lq,_.overEvery=cee,_.overSome=fee,_.partial=Bh,_.partialRight=S4,_.partition=ZK,_.pick=hQ,_.pickBy=R4,_.property=j4,_.propertyOf=dee,_.pull=zJ,_.pullAll=d4,_.pullAllBy=ZJ,_.pullAllWith=UJ,_.pullAt=YJ,_.range=hee,_.rangeRight=pee,_.rearg=uq,_.reject=JK,_.remove=JJ,_.rest=cq,_.reverse=Fh,_.sampleSize=qK,_.set=gQ,_.setWith=mQ,_.shuffle=QK,_.slice=KJ,_.sortBy=nq,_.sortedUniq=iK,_.sortedUniqBy=oK,_.split=LQ,_.spread=fq,_.tail=aK,_.take=sK,_.takeRight=lK,_.takeRightWhile=uK,_.takeWhile=cK,_.tap=EK,_.throttle=dq,_.thru=ju,_.toArray=P4,_.toPairs=V4,_.toPairsIn=B4,_.toPath=yee,_.toPlainObject=M4,_.transform=vQ,_.unary=hq,_.union=fK,_.unionBy=dK,_.unionWith=hK,_.uniq=pK,_.uniqBy=gK,_.uniqWith=mK,_.unset=bQ,_.unzip=Rh,_.unzipWith=h4,_.update=yQ,_.updateWith=CQ,_.values=Jo,_.valuesIn=xQ,_.without=vK,_.words=N4,_.wrap=pq,_.xor=bK,_.xorBy=yK,_.xorWith=CK,_.zip=xK,_.zipObject=wK,_.zipObjectDeep=SK,_.zipWith=IK,_.entries=V4,_.entriesIn=B4,_.extend=O4,_.extendWith=Zu,Hh(_,_),_.add=xee,_.attempt=L4,_.camelCase=EQ,_.capitalize=$4,_.ceil=wee,_.clamp=wQ,_.clone=mq,_.cloneDeep=bq,_.cloneDeepWith=yq,_.cloneWith=vq,_.conformsTo=Cq,_.deburr=D4,_.defaultTo=eee,_.divide=See,_.endsWith=AQ,_.eq=zn,_.escape=_Q,_.escapeRegExp=PQ,_.every=BK,_.find=DK,_.findIndex=l4,_.findKey=Jq,_.findLast=NK,_.findLastIndex=u4,_.findLastKey=Kq,_.floor=Iee,_.forEach=g4,_.forEachRight=m4,_.forIn=qq,_.forInRight=Qq,_.forOwn=eQ,_.forOwnRight=tQ,_.get=Nh,_.gt=xq,_.gte=wq,_.has=iQ,_.hasIn=Lh,_.head=f4,_.identity=hn,_.includes=HK,_.indexOf=NJ,_.inRange=SQ,_.invoke=sQ,_.isArguments=Hi,_.isArray=Ye,_.isArrayBuffer=Sq,_.isArrayLike=fn,_.isArrayLikeObject=Bt,_.isBoolean=Iq,_.isBuffer=ii,_.isDate=Eq,_.isElement=Aq,_.isEmpty=_q,_.isEqual=Pq,_.isEqualWith=Tq,_.isError=$h,_.isFinite=Mq,_.isFunction=Fr,_.isInteger=I4,_.isLength=Xu,_.isMap=E4,_.isMatch=Oq,_.isMatchWith=Fq,_.isNaN=Rq,_.isNative=Vq,_.isNil=$q,_.isNull=Bq,_.isNumber=A4,_.isObject=Pt,_.isObjectLike=Ft,_.isPlainObject=bs,_.isRegExp=Dh,_.isSafeInteger=Dq,_.isSet=_4,_.isString=zu,_.isSymbol=wn,_.isTypedArray=Yo,_.isUndefined=Nq,_.isWeakMap=Lq,_.isWeakSet=jq,_.join=HJ,_.kebabCase=TQ,_.last=$n,_.lastIndexOf=WJ,_.lowerCase=MQ,_.lowerFirst=OQ,_.lt=kq,_.lte=Gq,_.max=Eee,_.maxBy=Aee,_.mean=_ee,_.meanBy=Pee,_.min=Tee,_.minBy=Mee,_.stubArray=Xh,_.stubFalse=zh,_.stubObject=gee,_.stubString=mee,_.stubTrue=vee,_.multiply=Oee,_.nth=XJ,_.noConflict=see,_.noop=Wh,_.now=Gu,_.pad=FQ,_.padEnd=RQ,_.padStart=VQ,_.parseInt=BQ,_.random=IQ,_.reduce=UK,_.reduceRight=YK,_.repeat=$Q,_.replace=DQ,_.result=pQ,_.round=Fee,_.runInContext=j,_.sample=KK,_.size=eq,_.snakeCase=NQ,_.some=tq,_.sortedIndex=qJ,_.sortedIndexBy=QJ,_.sortedIndexOf=eK,_.sortedLastIndex=tK,_.sortedLastIndexBy=nK,_.sortedLastIndexOf=rK,_.startCase=jQ,_.startsWith=kQ,_.subtract=Ree,_.sum=Vee,_.sumBy=Bee,_.template=GQ,_.times=bee,_.toFinite=Rr,_.toInteger=Je,_.toLength=T4,_.toLower=HQ,_.toNumber=Dn,_.toSafeInteger=Hq,_.toString=pt,_.toUpper=WQ,_.trim=XQ,_.trimEnd=zQ,_.trimStart=ZQ,_.truncate=UQ,_.unescape=YQ,_.uniqueId=Cee,_.upperCase=JQ,_.upperFirst=jh,_.each=g4,_.eachRight=m4,_.first=f4,Hh(_,function(){var o={};return rr(_,function(s,d){gt.call(_.prototype,d)||(o[d]=s)}),o}(),{chain:!1}),_.VERSION=r,On(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){_[o].placeholder=_}),On(["drop","take"],function(o,s){nt.prototype[o]=function(d){d=d===n?1:jt(Je(d),0);var g=this.__filtered__&&!s?new nt(this):this.clone();return g.__filtered__?g.__takeCount__=Kt(d,g.__takeCount__):g.__views__.push({size:Kt(d,V),type:o+(g.__dir__<0?"Right":"")}),g},nt.prototype[o+"Right"]=function(d){return this.reverse()[o](d).reverse()}}),On(["filter","map","takeWhile"],function(o,s){var d=s+1,g=d==Se||d==be;nt.prototype[o]=function(I){var P=this.clone();return P.__iteratees__.push({iteratee:Be(I,3),type:d}),P.__filtered__=P.__filtered__||g,P}}),On(["head","last"],function(o,s){var d="take"+(s?"Right":"");nt.prototype[o]=function(){return this[d](1).value()[0]}}),On(["initial","tail"],function(o,s){var d="drop"+(s?"":"Right");nt.prototype[o]=function(){return this.__filtered__?new nt(this):this[d](1)}}),nt.prototype.compact=function(){return this.filter(hn)},nt.prototype.find=function(o){return this.filter(o).head()},nt.prototype.findLast=function(o){return this.reverse().find(o)},nt.prototype.invokeMap=et(function(o,s){return typeof o=="function"?new nt(this):this.map(function(d){return ds(d,o,s)})}),nt.prototype.reject=function(o){return this.filter(Wu(Be(o)))},nt.prototype.slice=function(o,s){o=Je(o);var d=this;return d.__filtered__&&(o>0||s<0)?new nt(d):(o<0?d=d.takeRight(-o):o&&(d=d.drop(o)),s!==n&&(s=Je(s),d=s<0?d.dropRight(-s):d.take(s-o)),d)},nt.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},nt.prototype.toArray=function(){return this.take(V)},rr(nt.prototype,function(o,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),g=/^(?:head|last)$/.test(s),I=_[g?"take"+(s=="last"?"Right":""):s],P=g||/^find/.test(s);I&&(_.prototype[s]=function(){var B=this.__wrapped__,D=g?[1]:arguments,G=B instanceof nt,te=D[0],ne=G||Ye(B),le=function(tt){var it=I.apply(_,Kr([tt],D));return g&&ge?it[0]:it};ne&&d&&typeof te=="function"&&te.length!=1&&(G=ne=!1);var ge=this.__chain__,Ee=!!this.__actions__.length,De=P&&!ge,qe=G&&!Ee;if(!P&&ne){B=qe?B:new nt(this);var Ne=o.apply(B,D);return Ne.__actions__.push({func:ju,args:[le],thisArg:n}),new Rn(Ne,ge)}return De&&qe?o.apply(this,D):(Ne=this.thru(le),De?g?Ne.value()[0]:Ne.value():Ne)})}),On(["pop","push","shift","sort","splice","unshift"],function(o){var s=du[o],d=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",g=/^(?:pop|shift)$/.test(o);_.prototype[o]=function(){var I=arguments;if(g&&!this.__chain__){var P=this.value();return s.apply(Ye(P)?P:[],I)}return this[d](function(B){return s.apply(Ye(B)?B:[],I)})}}),rr(nt.prototype,function(o,s){var d=_[s];if(d){var g=d.name+"";gt.call(Wo,g)||(Wo[g]=[]),Wo[g].push({name:s,func:d})}}),Wo[Ru(n,A).name]=[{name:"wrapper",func:n}],nt.prototype.clone=YU,nt.prototype.reverse=JU,nt.prototype.value=KU,_.prototype.at=AK,_.prototype.chain=_K,_.prototype.commit=PK,_.prototype.next=TK,_.prototype.plant=OK,_.prototype.reverse=FK,_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=RK,_.prototype.first=_.prototype.head,os&&(_.prototype[os]=MK),_},ko=PU();Bi?((Bi.exports=ko)._=ko,G1._=ko):Xt._=ko}).call(ar)}(su,su.exports);var AZ=su.exports;function _Z({onClick:e}){return w.jsx(t1.Button,{onClick:e,children:w.jsx(J4,{className:"w-6 h-6"})})}function PZ({user:e,isDebuggMode:t,tenantValue:n,onTenantChange:r,onSelectTerminal:i,logout:a,appNameText:l,availablePortalsText:u,clickToAccessText:c,clickToChangeTerminal:f,logoutText:h,isOpen:p,terminalName:m,isMultiTerminal:v=!1,onEditProfileClick:S}){const x=["DPW","T32","BRC","ITACEL"];return w.jsx(Yc,{children:p&&w.jsx(ga.div,{transition:{type:"spring"},initial:{opacity:0,y:"-10%"},animate:{opacity:1,y:"0%"},exit:{opacity:0,y:"-10%"},className:Ke("w-[415px]","bg-gradient-to-r from-brand to-brand-secondary","rounded-lg rounded-tr-none pt-8","absolute top-16 right-4"),onClick:E=>E.stopPropagation(),children:w.jsx("div",{className:"w-full h-full bg-white rounded-lg rounded-tr-none dark:bg-brand-text",children:w.jsx("div",{className:"w-full px-3",children:w.jsxs("div",{className:"flex flex-col items-center justify-center transform -translate-y-5",children:[w.jsx(a0,{size:"md"}),w.jsx("span",{className:"text-xs text-brand-text dark:text-white pt-2.5 pb-px",children:e==null?void 0:e.nome}),w.jsx("span",{className:" text-[0.625rem] text-brand-dark-gray pb-1.5",children:e==null?void 0:e.email}),w.jsx("div",{children:w.jsx(TZ,{onClick:()=>S==null?void 0:S(),children:w.jsx(py,{className:"w-[20px] h-[20px] text-white"})})}),w.jsxs("div",{className:"flex justify-center items-center mb-4 gap-2",children:[v&&w.jsx("div",{className:"w-48",children:w.jsx(Ji,{variant:"primary",onClick:i,children:w.jsxs("div",{className:"p-4",children:[w.jsxs("p",{className:"text-xs",children:["Terminal: ",w.jsx("b",{children:m??""})]}),w.jsx("p",{className:"text-xs",children:f})]})})}),t&&w.jsx("div",{className:"w-48",children:w.jsx(f3,{name:"tenant",label:"Cliente",options:x.map(E=>({value:E,label:E})),onChange:r,value:n?{value:n,label:n}:[]})})]}),w.jsxs("div",{className:"w-full pt-3 pb-4 border-y",children:[w.jsxs("p",{className:"text-xs text-brand-text dark:text-white",children:[u," ",w.jsxs("span",{className:"text-brand-dark-gray",children:["(",c,")"]})]}),w.jsx("div",{className:"grid grid-cols-12 gap-3 children:col-span-3 py-3.5 overflow-y-scroll max-h-60",children:AZ.sortBy(e.portais,["descricao"]).map((E,A)=>{const O=l===E.nome;return w.jsxs(Yc,{mode:"wait",children:["isOpen && (",w.jsxs(ga.a,{href:E.endereco,initial:{opacity:0,y:"100%"},animate:{opacity:1,y:0},exit:{opacity:0,y:"-100%"},transition:{type:"tween",delay:A*(50/1e3)},className:"text-center children:mx-auto",children:[w.jsx("div",{className:Ke("flex items-center justify-center transition rounded-md w-11 h-9 shadow-action-button hover:shadow-action-button-hover",{"bg-brand-secondary text-white shadow-action-button-hover":O,"bg-white dark:text-white dark:bg-brand-secondary-text text-brand hover:bg-brand-secondary dark:hover:bg-brand-secondary hover:text-white":!O}),children:w.jsx(Uv,{system:E.descricao,classname:"w-6 h-6"})}),w.jsx("span",{className:"text-xs text-center text-brand-text dark:text-white",children:E.nome})]},"portal-item-"+E.descricao),")"]},A)})})]}),w.jsx("div",{className:"flex items-center justify-end w-full pt-4",children:w.jsxs("div",{onClick:a,className:"flex items-center gap-1 cursor-pointer",children:[w.jsx(Q4,{}),w.jsx("span",{className:"text-xs text-brand-dark-gray dark:text-brand-light-gray",children:h})]})})]})})})},"user-menu-container")})}function TZ({children:e,onClick:t}){return w.jsx("div",{className:"flex items-center justify-center bg-brand-gray text-brand-text w-[30px] h-[30px] rounded-full cursor-pointer mb-2",onClick:t,children:e})}function MZ({user:e,isDebuggMode:t,tenantValue:n,onTenantChange:r,onSelectTerminal:i,logout:a,appNameText:l,availablePortalsText:u,clickToAccessText:c,clickToChangeTerminal:f,nightThemeText:h,logoutText:p,isOpen:m,setOpen:v,terminalName:S,isMultiTerminal:x=!1,onEditProfileClick:E}){function A(){v(R=>!R)}function O(){v(!1)}return w.jsxs(w.Fragment,{children:[w.jsx(_Z,{onClick:A}),w.jsx(Ws,{isOpen:m,close:O,children:w.jsx(PZ,{user:e,isDebuggMode:t,tenantValue:n,onTenantChange:r,onSelectTerminal:i,logout:a,appNameText:l,availablePortalsText:u,clickToAccessText:c,clickToChangeTerminal:f,nightThemeText:h,logoutText:p,isOpen:m,terminalName:S,isMultiTerminal:x,onEditProfileClick:E})})]})}function OZ({dismiss:e,message:t}){return w.jsxs("div",{className:"relative z-[999] flex items-center p-4 text-sm border-l-4 border-yellow-400 shadow-lg w-80 bg-yellow-50",children:[w.jsx("button",{type:"button",className:"absolute top-0 right-0 w-4 m-3 text-yellow-400",onClick:e,children:w.jsx(Cs,{className:"w-4 h-4"})}),w.jsx("div",{className:"flex-shrink-0 w-5 h-5 mr-2 text-yellow-500",children:w.jsx(vy,{})}),w.jsx("p",{className:"text-sm",children:t})]})}Me.Avatar=a0,Me.Backdrop=Ws,Me.BaseField=Fj,Me.Button=Ji,Me.Card=H7,Me.Checkbox=W7,Me.ColorPicker=$v,Me.DangerNotification=sj,Me.Dialog=lj,Me.DualListBox=vj,Me.ErrorMessage=Ba,Me.HXpertAI=Bj,Me.Header=Rj,Me.HelperMessage=$a,Me.IconListMenu=Uv,Me.InfoNotification=$j,Me.Input=Zv,Me.Label=Da,Me.MultiSelect=$W,Me.Navbar=t1,Me.Radio=DW,Me.RoleValidator=NW,Me.Select=f3,Me.SelectAsync=nX,Me.SideMenu=YX,Me.Spinner=xd,Me.SuccessNotification=JX,Me.Switch=Bz,Me.Table=CZ,Me.TableAction=xZ,Me.TablePagination=bZ,Me.Tooltip=m5,Me.UploadFile=EZ,Me.UserMenu=MZ,Me.WarningNotification=OZ,Object.defineProperty(Me,Symbol.toStringTag,{value:"Module"})});
|
|
199
|
+
}`;var qe=j4(function(){return ft(P,Ee+"return "+le).apply(n,B)});if(qe.source=le,Lh(qe))throw qe;return qe}function GQ(o){return gt(o).toLowerCase()}function HQ(o){return gt(o).toUpperCase()}function WQ(o,s,d){if(o=gt(o),o&&(d||s===n))return Y5(o);if(!o||!(s=xn(s)))return o;var g=Wn(o),S=Wn(s),P=J5(g,S),B=K5(g,S)+1;return ri(g,P,B).join("")}function XQ(o,s,d){if(o=gt(o),o&&(d||s===n))return o.slice(0,Q5(o)+1);if(!o||!(s=xn(s)))return o;var g=Wn(o),S=K5(g,Wn(s))+1;return ri(g,0,S).join("")}function zQ(o,s,d){if(o=gt(o),o&&(d||s===n))return o.replace(Vi,"");if(!o||!(s=xn(s)))return o;var g=Wn(o),S=J5(g,Wn(s));return ri(g,S).join("")}function ZQ(o,s){var d=Ae,g=Xe;if(Pt(s)){var S="separator"in s?s.separator:S;d="length"in s?Je(s.length):d,g="omission"in s?xn(s.omission):g}o=gt(o);var P=o.length;if(No(o)){var B=Wn(o);P=B.length}if(d>=P)return o;var L=d-jo(g);if(L<1)return g;var G=B?ri(B,0,L).join(""):o.slice(0,L);if(S===n)return G+g;if(B&&(L+=G.length-L),Nh(S)){if(o.slice(L).search(S)){var te,ne=G;for(S.global||(S=th(S.source,gt(_e.exec(S))+"g")),S.lastIndex=0;te=S.exec(ne);)var le=te.index;G=G.slice(0,le===n?L:le)}}else if(o.indexOf(xn(S),L)!=L){var ge=G.lastIndexOf(S);ge>-1&&(G=G.slice(0,ge))}return G+g}function UQ(o){return o=gt(o),o&&Mi.test(o)?o.replace(tr,SU):o}var YQ=Zo(function(o,s,d){return o+(d?" ":"")+s.toUpperCase()}),Gh=k9("toUpperCase");function N4(o,s,d){return o=gt(o),s=d?n:s,s===n?bU(o)?AU(o):uU(o):o.match(s)||[]}var j4=et(function(o,s){try{return yn(o,n,s)}catch(d){return Lh(d)?d:new Ze(d)}}),JQ=Mr(function(o,s){return On(s,function(d){d=or(d),Pr(o,d,$h(o[d],o))}),o});function KQ(o){var s=o==null?0:o.length,d=Be();return o=s?At(o,function(g){if(typeof g[1]!="function")throw new Fn(l);return[d(g[0]),g[1]]}):[],et(function(g){for(var S=-1;++S<s;){var P=o[S];if(yn(P[0],this,g))return yn(P[1],this,g)}})}function qQ(o){return SY(Vn(o,p))}function Hh(o){return function(){return o}}function QQ(o,s){return o==null||o!==o?s:o}var eee=H9(),tee=H9(!0);function hn(o){return o}function Wh(o){return y9(typeof o=="function"?o:Vn(o,p))}function nee(o){return x9(Vn(o,p))}function ree(o,s){return w9(o,Vn(s,p))}var iee=et(function(o,s){return function(d){return ds(d,o,s)}}),oee=et(function(o,s){return function(d){return ds(o,d,s)}});function Xh(o,s,d){var g=Gt(s),S=Pu(s,g);d==null&&!(Pt(s)&&(S.length||!g.length))&&(d=s,s=o,o=this,S=Pu(s,Gt(s)));var P=!(Pt(d)&&"chain"in d)||!!d.chain,B=Fr(o);return On(S,function(L){var G=s[L];o[L]=G,B&&(o.prototype[L]=function(){var te=this.__chain__;if(P||te){var ne=o(this.__wrapped__),le=ne.__actions__=cn(this.__actions__);return le.push({func:G,args:arguments,thisArg:o}),ne.__chain__=te,ne}return G.apply(o,Kr([this.value()],arguments))})}),o}function aee(){return Xt._===this&&(Xt._=FU),this}function zh(){}function see(o){return o=Je(o),et(function(s){return S9(s,o)})}var lee=Sh(At),uee=Sh(W5),cee=Sh(U1);function k4(o){return Mh(o)?Y1(or(o)):jY(o)}function fee(o){return function(s){return o==null?n:ji(o,s)}}var dee=X9(),hee=X9(!0);function Zh(){return[]}function Uh(){return!1}function pee(){return{}}function gee(){return""}function mee(){return!0}function vee(o,s){if(o=Je(o),o<1||o>ze)return[];var d=V,g=Kt(o,V);s=Be(s),o-=V;for(var S=q1(g,s);++d<o;)s(d);return S}function bee(o){return Ye(o)?At(o,or):wn(o)?[o]:cn(s4(gt(o)))}function yee(o){var s=++MU;return gt(o)+s}var Cee=Vu(function(o,s){return o+s},0),xee=Ih("ceil"),wee=Vu(function(o,s){return o/s},1),See=Ih("floor");function Iee(o){return o&&o.length?_u(o,hn,uh):n}function Eee(o,s){return o&&o.length?_u(o,Be(s,2),uh):n}function Aee(o){return Z5(o,hn)}function _ee(o,s){return Z5(o,Be(s,2))}function Pee(o){return o&&o.length?_u(o,hn,hh):n}function Tee(o,s){return o&&o.length?_u(o,Be(s,2),hh):n}var Mee=Vu(function(o,s){return o*s},1),Oee=Ih("round"),Fee=Vu(function(o,s){return o-s},0);function Ree(o){return o&&o.length?K1(o,hn):0}function Vee(o,s){return o&&o.length?K1(o,Be(s,2)):0}return A.after=nq,A.ary=b4,A.assign=Hq,A.assignIn=F4,A.assignInWith=Zu,A.assignWith=Wq,A.at=Xq,A.before=y4,A.bind=$h,A.bindAll=JQ,A.bindKey=C4,A.castArray=pq,A.chain=g4,A.chunk=SJ,A.compact=IJ,A.concat=EJ,A.cond=KQ,A.conforms=qQ,A.constant=Hh,A.countBy=RK,A.create=zq,A.curry=x4,A.curryRight=w4,A.debounce=S4,A.defaults=Zq,A.defaultsDeep=Uq,A.defer=rq,A.delay=iq,A.difference=AJ,A.differenceBy=_J,A.differenceWith=PJ,A.drop=TJ,A.dropRight=MJ,A.dropRightWhile=OJ,A.dropWhile=FJ,A.fill=RJ,A.filter=BK,A.flatMap=LK,A.flatMapDeep=NK,A.flatMapDepth=jK,A.flatten=f4,A.flattenDeep=VJ,A.flattenDepth=BJ,A.flip=oq,A.flow=eee,A.flowRight=tee,A.fromPairs=$J,A.functions=tQ,A.functionsIn=nQ,A.groupBy=kK,A.initial=LJ,A.intersection=NJ,A.intersectionBy=jJ,A.intersectionWith=kJ,A.invert=iQ,A.invertBy=oQ,A.invokeMap=HK,A.iteratee=Wh,A.keyBy=WK,A.keys=Gt,A.keysIn=dn,A.map=ku,A.mapKeys=sQ,A.mapValues=lQ,A.matches=nee,A.matchesProperty=ree,A.memoize=Hu,A.merge=uQ,A.mergeWith=R4,A.method=iee,A.methodOf=oee,A.mixin=Xh,A.negate=Wu,A.nthArg=see,A.omit=cQ,A.omitBy=fQ,A.once=aq,A.orderBy=XK,A.over=lee,A.overArgs=sq,A.overEvery=uee,A.overSome=cee,A.partial=Dh,A.partialRight=I4,A.partition=zK,A.pick=dQ,A.pickBy=V4,A.property=k4,A.propertyOf=fee,A.pull=XJ,A.pullAll=h4,A.pullAllBy=zJ,A.pullAllWith=ZJ,A.pullAt=UJ,A.range=dee,A.rangeRight=hee,A.rearg=lq,A.reject=YK,A.remove=YJ,A.rest=uq,A.reverse=Vh,A.sampleSize=KK,A.set=pQ,A.setWith=gQ,A.shuffle=qK,A.slice=JJ,A.sortBy=tq,A.sortedUniq=rK,A.sortedUniqBy=iK,A.split=LQ,A.spread=cq,A.tail=oK,A.take=aK,A.takeRight=sK,A.takeRightWhile=lK,A.takeWhile=uK,A.tap=IK,A.throttle=fq,A.thru=ju,A.toArray=T4,A.toPairs=B4,A.toPairsIn=$4,A.toPath=bee,A.toPlainObject=O4,A.transform=mQ,A.unary=dq,A.union=cK,A.unionBy=fK,A.unionWith=dK,A.uniq=hK,A.uniqBy=pK,A.uniqWith=gK,A.unset=vQ,A.unzip=Bh,A.unzipWith=p4,A.update=bQ,A.updateWith=yQ,A.values=Jo,A.valuesIn=CQ,A.without=mK,A.words=N4,A.wrap=hq,A.xor=vK,A.xorBy=bK,A.xorWith=yK,A.zip=CK,A.zipObject=xK,A.zipObjectDeep=wK,A.zipWith=SK,A.entries=B4,A.entriesIn=$4,A.extend=F4,A.extendWith=Zu,Xh(A,A),A.add=Cee,A.attempt=j4,A.camelCase=IQ,A.capitalize=D4,A.ceil=xee,A.clamp=xQ,A.clone=gq,A.cloneDeep=vq,A.cloneDeepWith=bq,A.cloneWith=mq,A.conformsTo=yq,A.deburr=L4,A.defaultTo=QQ,A.divide=wee,A.endsWith=EQ,A.eq=zn,A.escape=AQ,A.escapeRegExp=_Q,A.every=VK,A.find=$K,A.findIndex=u4,A.findKey=Yq,A.findLast=DK,A.findLastIndex=c4,A.findLastKey=Jq,A.floor=See,A.forEach=m4,A.forEachRight=v4,A.forIn=Kq,A.forInRight=qq,A.forOwn=Qq,A.forOwnRight=eQ,A.get=jh,A.gt=Cq,A.gte=xq,A.has=rQ,A.hasIn=kh,A.head=d4,A.identity=hn,A.includes=GK,A.indexOf=DJ,A.inRange=wQ,A.invoke=aQ,A.isArguments=Hi,A.isArray=Ye,A.isArrayBuffer=wq,A.isArrayLike=fn,A.isArrayLikeObject=Bt,A.isBoolean=Sq,A.isBuffer=ii,A.isDate=Iq,A.isElement=Eq,A.isEmpty=Aq,A.isEqual=_q,A.isEqualWith=Pq,A.isError=Lh,A.isFinite=Tq,A.isFunction=Fr,A.isInteger=E4,A.isLength=Xu,A.isMap=A4,A.isMatch=Mq,A.isMatchWith=Oq,A.isNaN=Fq,A.isNative=Rq,A.isNil=Bq,A.isNull=Vq,A.isNumber=_4,A.isObject=Pt,A.isObjectLike=Ft,A.isPlainObject=bs,A.isRegExp=Nh,A.isSafeInteger=$q,A.isSet=P4,A.isString=zu,A.isSymbol=wn,A.isTypedArray=Yo,A.isUndefined=Dq,A.isWeakMap=Lq,A.isWeakSet=Nq,A.join=GJ,A.kebabCase=PQ,A.last=$n,A.lastIndexOf=HJ,A.lowerCase=TQ,A.lowerFirst=MQ,A.lt=jq,A.lte=kq,A.max=Iee,A.maxBy=Eee,A.mean=Aee,A.meanBy=_ee,A.min=Pee,A.minBy=Tee,A.stubArray=Zh,A.stubFalse=Uh,A.stubObject=pee,A.stubString=gee,A.stubTrue=mee,A.multiply=Mee,A.nth=WJ,A.noConflict=aee,A.noop=zh,A.now=Gu,A.pad=OQ,A.padEnd=FQ,A.padStart=RQ,A.parseInt=VQ,A.random=SQ,A.reduce=ZK,A.reduceRight=UK,A.repeat=BQ,A.replace=$Q,A.result=hQ,A.round=Oee,A.runInContext=j,A.sample=JK,A.size=QK,A.snakeCase=DQ,A.some=eq,A.sortedIndex=KJ,A.sortedIndexBy=qJ,A.sortedIndexOf=QJ,A.sortedLastIndex=eK,A.sortedLastIndexBy=tK,A.sortedLastIndexOf=nK,A.startCase=NQ,A.startsWith=jQ,A.subtract=Fee,A.sum=Ree,A.sumBy=Vee,A.template=kQ,A.times=vee,A.toFinite=Rr,A.toInteger=Je,A.toLength=M4,A.toLower=GQ,A.toNumber=Dn,A.toSafeInteger=Gq,A.toString=gt,A.toUpper=HQ,A.trim=WQ,A.trimEnd=XQ,A.trimStart=zQ,A.truncate=ZQ,A.unescape=UQ,A.uniqueId=yee,A.upperCase=YQ,A.upperFirst=Gh,A.each=m4,A.eachRight=v4,A.first=d4,Xh(A,function(){var o={};return rr(A,function(s,d){pt.call(A.prototype,d)||(o[d]=s)}),o}(),{chain:!1}),A.VERSION=r,On(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){A[o].placeholder=A}),On(["drop","take"],function(o,s){nt.prototype[o]=function(d){d=d===n?1:jt(Je(d),0);var g=this.__filtered__&&!s?new nt(this):this.clone();return g.__filtered__?g.__takeCount__=Kt(d,g.__takeCount__):g.__views__.push({size:Kt(d,V),type:o+(g.__dir__<0?"Right":"")}),g},nt.prototype[o+"Right"]=function(d){return this.reverse()[o](d).reverse()}}),On(["filter","map","takeWhile"],function(o,s){var d=s+1,g=d==Se||d==be;nt.prototype[o]=function(S){var P=this.clone();return P.__iteratees__.push({iteratee:Be(S,3),type:d}),P.__filtered__=P.__filtered__||g,P}}),On(["head","last"],function(o,s){var d="take"+(s?"Right":"");nt.prototype[o]=function(){return this[d](1).value()[0]}}),On(["initial","tail"],function(o,s){var d="drop"+(s?"":"Right");nt.prototype[o]=function(){return this.__filtered__?new nt(this):this[d](1)}}),nt.prototype.compact=function(){return this.filter(hn)},nt.prototype.find=function(o){return this.filter(o).head()},nt.prototype.findLast=function(o){return this.reverse().find(o)},nt.prototype.invokeMap=et(function(o,s){return typeof o=="function"?new nt(this):this.map(function(d){return ds(d,o,s)})}),nt.prototype.reject=function(o){return this.filter(Wu(Be(o)))},nt.prototype.slice=function(o,s){o=Je(o);var d=this;return d.__filtered__&&(o>0||s<0)?new nt(d):(o<0?d=d.takeRight(-o):o&&(d=d.drop(o)),s!==n&&(s=Je(s),d=s<0?d.dropRight(-s):d.take(s-o)),d)},nt.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},nt.prototype.toArray=function(){return this.take(V)},rr(nt.prototype,function(o,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),g=/^(?:head|last)$/.test(s),S=A[g?"take"+(s=="last"?"Right":""):s],P=g||/^find/.test(s);S&&(A.prototype[s]=function(){var B=this.__wrapped__,L=g?[1]:arguments,G=B instanceof nt,te=L[0],ne=G||Ye(B),le=function(tt){var it=S.apply(A,Kr([tt],L));return g&&ge?it[0]:it};ne&&d&&typeof te=="function"&&te.length!=1&&(G=ne=!1);var ge=this.__chain__,Ee=!!this.__actions__.length,De=P&&!ge,qe=G&&!Ee;if(!P&&ne){B=qe?B:new nt(this);var Le=o.apply(B,L);return Le.__actions__.push({func:ju,args:[le],thisArg:n}),new Rn(Le,ge)}return De&&qe?o.apply(this,L):(Le=this.thru(le),De?g?Le.value()[0]:Le.value():Le)})}),On(["pop","push","shift","sort","splice","unshift"],function(o){var s=du[o],d=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",g=/^(?:pop|shift)$/.test(o);A.prototype[o]=function(){var S=arguments;if(g&&!this.__chain__){var P=this.value();return s.apply(Ye(P)?P:[],S)}return this[d](function(B){return s.apply(Ye(B)?B:[],S)})}}),rr(nt.prototype,function(o,s){var d=A[s];if(d){var g=d.name+"";pt.call(Wo,g)||(Wo[g]=[]),Wo[g].push({name:s,func:d})}}),Wo[Ru(n,_).name]=[{name:"wrapper",func:n}],nt.prototype.clone=UU,nt.prototype.reverse=YU,nt.prototype.value=JU,A.prototype.at=EK,A.prototype.chain=AK,A.prototype.commit=_K,A.prototype.next=PK,A.prototype.plant=MK,A.prototype.reverse=OK,A.prototype.toJSON=A.prototype.valueOf=A.prototype.value=FK,A.prototype.first=A.prototype.head,os&&(A.prototype[os]=TK),A},ko=_U();Bi?((Bi.exports=ko)._=ko,W1._=ko):Xt._=ko}).call(ar)}(su,su.exports);var EZ=su.exports;function AZ({onClick:e}){return w.jsx(n1.Button,{onClick:e,children:w.jsx(K4,{className:"w-6 h-6"})})}function _Z({user:e,isDebuggMode:t,tenantValue:n,onTenantChange:r,onSelectTerminal:i,logout:a,appNameText:l,availablePortalsText:u,clickToAccessText:c,clickToChangeTerminal:f,logoutText:h,isOpen:p,terminalName:m,isMultiTerminal:v=!1,onEditProfileClick:I,tooltipEditProfile:x}){const E=["DPW","T32","BRC","ITACEL"];return w.jsx(Yc,{children:p&&w.jsx(ga.div,{transition:{type:"spring"},initial:{opacity:0,y:"-10%"},animate:{opacity:1,y:"0%"},exit:{opacity:0,y:"-10%"},className:Ke("w-[415px]","bg-gradient-to-r from-brand to-brand-secondary","rounded-lg rounded-tr-none pt-8","absolute top-16 right-4"),onClick:_=>_.stopPropagation(),children:w.jsx("div",{className:"w-full h-full bg-white rounded-lg rounded-tr-none dark:bg-brand-text",children:w.jsx("div",{className:"w-full px-3",children:w.jsxs("div",{className:"flex flex-col items-center justify-center transform -translate-y-5",children:[w.jsx(l0,{size:"md"}),w.jsx("span",{className:"text-xs text-brand-text dark:text-white pt-2.5 pb-px",children:e==null?void 0:e.nome}),w.jsx("span",{className:" text-[0.625rem] text-brand-dark-gray pb-1.5",children:e==null?void 0:e.email}),w.jsx("div",{children:w.jsx(D1,{tooltip:x||"Configurações de usuário",children:w.jsx(PZ,{onClick:()=>I==null?void 0:I(),children:w.jsx(gy,{className:"w-[20px] h-[20px] text-white"})})})}),w.jsxs("div",{className:"flex justify-center items-center mb-4 gap-2",children:[v&&w.jsx("div",{className:"w-48",children:w.jsx(Ji,{variant:"primary",onClick:i,children:w.jsxs("div",{className:"p-4",children:[w.jsxs("p",{className:"text-xs",children:["Terminal: ",w.jsx("b",{children:m??""})]}),w.jsx("p",{className:"text-xs",children:f})]})})}),t&&w.jsx("div",{className:"w-48",children:w.jsx(h3,{name:"tenant",label:"Cliente",options:E.map(_=>({value:_,label:_})),onChange:r,value:n?{value:n,label:n}:[]})})]}),w.jsxs("div",{className:"w-full pt-3 pb-4 border-y",children:[w.jsxs("p",{className:"text-xs text-brand-text dark:text-white",children:[u," ",w.jsxs("span",{className:"text-brand-dark-gray",children:["(",c,")"]})]}),w.jsx("div",{className:"grid grid-cols-12 gap-3 children:col-span-3 py-3.5 overflow-y-scroll max-h-60",children:EZ.sortBy(e.portais,["descricao"]).map((_,F)=>{const M=l===_.nome;return w.jsxs(Yc,{mode:"wait",children:["isOpen && (",w.jsxs(ga.a,{href:_.endereco,initial:{opacity:0,y:"100%"},animate:{opacity:1,y:0},exit:{opacity:0,y:"-100%"},transition:{type:"tween",delay:F*(50/1e3)},className:"text-center children:mx-auto",children:[w.jsx("div",{className:Ke("flex items-center justify-center transition rounded-md w-11 h-9 shadow-action-button hover:shadow-action-button-hover",{"bg-brand-secondary text-white shadow-action-button-hover":M,"bg-white dark:text-white dark:bg-brand-secondary-text text-brand hover:bg-brand-secondary dark:hover:bg-brand-secondary hover:text-white":!M}),children:w.jsx(Jv,{system:_.descricao,classname:"w-6 h-6"})}),w.jsx("span",{className:"text-xs text-center text-brand-text dark:text-white",children:_.nome})]},"portal-item-"+_.descricao),")"]},F)})})]}),w.jsx("div",{className:"flex items-center justify-end w-full pt-4",children:w.jsxs("div",{onClick:a,className:"flex items-center gap-1 cursor-pointer",children:[w.jsx(ey,{}),w.jsx("span",{className:"text-xs text-brand-dark-gray dark:text-brand-light-gray",children:h})]})})]})})})},"user-menu-container")})}function PZ({children:e,onClick:t}){return w.jsx("div",{className:"flex items-center justify-center bg-brand-gray text-brand-text w-[30px] h-[30px] rounded-full cursor-pointer mb-2",onClick:t,children:e})}function TZ({user:e,isDebuggMode:t,tenantValue:n,onTenantChange:r,onSelectTerminal:i,logout:a,appNameText:l,availablePortalsText:u,clickToAccessText:c,clickToChangeTerminal:f,nightThemeText:h,logoutText:p,isOpen:m,setOpen:v,terminalName:I,isMultiTerminal:x=!1,onEditProfileClick:E,tooltipEditProfile:_}){function F(){v($=>!$)}function M(){v(!1)}return w.jsxs(w.Fragment,{children:[w.jsx(AZ,{onClick:F}),w.jsx(Ws,{isOpen:m,close:M,children:w.jsx(_Z,{user:e,isDebuggMode:t,tenantValue:n,onTenantChange:r,onSelectTerminal:i,logout:a,appNameText:l,availablePortalsText:u,clickToAccessText:c,clickToChangeTerminal:f,nightThemeText:h,logoutText:p,isOpen:m,terminalName:I,isMultiTerminal:x,onEditProfileClick:E,tooltipEditProfile:_})})]})}function MZ({dismiss:e,message:t}){return w.jsxs("div",{className:"relative z-[999] flex items-center p-4 text-sm border-l-4 border-yellow-400 shadow-lg w-80 bg-yellow-50",children:[w.jsx("button",{type:"button",className:"absolute top-0 right-0 w-4 m-3 text-yellow-400",onClick:e,children:w.jsx(Cs,{className:"w-4 h-4"})}),w.jsx("div",{className:"flex-shrink-0 w-5 h-5 mr-2 text-yellow-500",children:w.jsx(by,{})}),w.jsx("p",{className:"text-sm",children:t})]})}Me.Avatar=l0,Me.Backdrop=Ws,Me.BaseField=Rj,Me.Button=Ji,Me.Card=W7,Me.Checkbox=X7,Me.ColorPicker=Lv,Me.DangerNotification=lj,Me.Dialog=uj,Me.DualListBox=bj,Me.ErrorMessage=Ba,Me.HXpertAI=$j,Me.Header=Vj,Me.HelperMessage=$a,Me.IconListMenu=Jv,Me.InfoNotification=Dj,Me.Input=Yv,Me.Label=Da,Me.MultiSelect=BW,Me.Navbar=n1,Me.Radio=$W,Me.RoleValidator=DW,Me.Select=h3,Me.SelectAsync=tX,Me.SideMenu=UX,Me.Spinner=xd,Me.SuccessNotification=YX,Me.Switch=Vz,Me.Table=yZ,Me.TableAction=CZ,Me.TablePagination=vZ,Me.Tooltip=D1,Me.UploadFile=IZ,Me.UserMenu=TZ,Me.WarningNotification=MZ,Object.defineProperty(Me,Symbol.toStringTag,{value:"Module"})});
|