@foris/avocado-suite 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/avocado-suite/src/components/pager/Page.test.d.ts +0 -0
- package/dist/avocado-suite/src/components/pager/Pager.d.ts +49 -0
- package/dist/avocado-suite/src/components/pager/components/ArrowPager.d.ts +9 -0
- package/dist/avocado-suite/src/components/pager/components/ButtonPager.d.ts +11 -0
- package/dist/avocado-suite/src/components/pager/utils/generateArrayOfPages.d.ts +2 -0
- package/dist/avocado-suite/src/components/radio-button/RadioButton.d.ts +17 -0
- package/dist/avocado-suite/src/components/radio-button/RadioButton.test.d.ts +0 -0
- package/dist/avocado-suite/src/components/select/Select.d.ts +24 -0
- package/dist/avocado-suite/src/components/select/Select.test.d.ts +0 -0
- package/dist/avocado-suite/src/components/select/components/SelectIndicators.d.ts +8 -0
- package/dist/avocado-suite/src/components/select-pagination/SelectPagination.d.ts +26 -0
- package/dist/avocado-suite/src/components/select-pagination/SelectPagination.test.d.ts +0 -0
- package/dist/avocado-suite/src/index.d.ts +5 -1
- package/dist/avocado-suite.es.js +5921 -790
- package/dist/avocado-suite.umd.js +42 -12
- package/dist/style.css +1 -1
- package/package.json +9 -3
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(
|
1
|
+
(function(ne,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],A):(ne=typeof globalThis<"u"?globalThis:ne||self,A(ne["avocado-suite"]={},ne.React,ne.ReactDOM))})(this,function(ne,A,B3){"use strict";function Z3(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const N=Z3(A);function O3(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var F1={exports:{}},Ue={};/**
|
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 Et;function D3(){if(Et)return Ue;Et=1;var t=A,e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function u(s,a,l){var d,C={},f=null,g=null;l!==void 0&&(f=""+l),a.key!==void 0&&(f=""+a.key),a.ref!==void 0&&(g=a.ref);for(d in a)i.call(a,d)&&!o.hasOwnProperty(d)&&(C[d]=a[d]);if(s&&s.defaultProps)for(d in a=s.defaultProps,a)C[d]===void 0&&(C[d]=a[d]);return{$$typeof:e,type:s,key:f,ref:g,props:C,_owner:n.current}}return Ue.Fragment=r,Ue.jsx=u,Ue.jsxs=u,Ue}var Qe={};/**
|
10
10
|
* @license React
|
11
11
|
* react-jsx-runtime.development.js
|
12
12
|
*
|
@@ -14,21 +14,21 @@
|
|
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
|
-
`+
|
19
|
-
`),
|
20
|
-
`),
|
21
|
-
`+
|
17
|
+
*/var _t;function W3(){return _t||(_t=1,process.env.NODE_ENV!=="production"&&function(){var t=A,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),p=Symbol.iterator,b="@@iterator";function h(c){if(c===null||typeof c!="object")return null;var I=p&&c[p]||c[b];return typeof I=="function"?I:null}var m=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(c){{for(var I=arguments.length,_=new Array(I>1?I-1:0),R=1;R<I;R++)_[R-1]=arguments[R];E("error",c,_)}}function E(c,I,_){{var R=m.ReactDebugCurrentFrame,O=R.getStackAddendum();O!==""&&(I+="%s",_=_.concat([O]));var k=_.map(function(M){return String(M)});k.unshift("Warning: "+I),Function.prototype.apply.call(console[c],console,k)}}var L=!1,v=!1,S=!1,V=!1,G=!1,X;X=Symbol.for("react.module.reference");function ee(c){return!!(typeof c=="string"||typeof c=="function"||c===i||c===o||G||c===n||c===l||c===d||V||c===g||L||v||S||typeof c=="object"&&c!==null&&(c.$$typeof===f||c.$$typeof===C||c.$$typeof===u||c.$$typeof===s||c.$$typeof===a||c.$$typeof===X||c.getModuleId!==void 0))}function ie(c,I,_){var R=c.displayName;if(R)return R;var O=I.displayName||I.name||"";return O!==""?_+"("+O+")":_}function Q(c){return c.displayName||"Context"}function $(c){if(c==null)return null;if(typeof c.tag=="number"&&y("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 i:return"Fragment";case r:return"Portal";case o:return"Profiler";case n:return"StrictMode";case l:return"Suspense";case d:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case s:var I=c;return Q(I)+".Consumer";case u:var _=c;return Q(_._context)+".Provider";case a:return ie(c,c.render,"ForwardRef");case C:var R=c.displayName||null;return R!==null?R:$(c.type)||"Memo";case f:{var O=c,k=O._payload,M=O._init;try{return $(M(k))}catch{return null}}}return null}var re=Object.assign,j=0,Y,de,oe,me,pe,Se,z;function ae(){}ae.__reactDisabledLog=!0;function he(){{if(j===0){Y=console.log,de=console.info,oe=console.warn,me=console.error,pe=console.group,Se=console.groupCollapsed,z=console.groupEnd;var c={configurable:!0,enumerable:!0,value:ae,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}j++}}function Ie(){{if(j--,j===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},c,{value:Y}),info:re({},c,{value:de}),warn:re({},c,{value:oe}),error:re({},c,{value:me}),group:re({},c,{value:pe}),groupCollapsed:re({},c,{value:Se}),groupEnd:re({},c,{value:z})})}j<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var se=m.ReactCurrentDispatcher,ge;function ce(c,I,_){{if(ge===void 0)try{throw Error()}catch(O){var R=O.stack.trim().match(/\n( *(at )?)/);ge=R&&R[1]||""}return`
|
18
|
+
`+ge+c}}var Ve=!1,Fe;{var Ye=typeof WeakMap=="function"?WeakMap:Map;Fe=new Ye}function T(c,I){if(!c||Ve)return"";{var _=Fe.get(c);if(_!==void 0)return _}var R;Ve=!0;var O=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var k;k=se.current,se.current=null,he();try{if(I){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(Ne){R=Ne}Reflect.construct(c,[],M)}else{try{M.call()}catch(Ne){R=Ne}c.call(M.prototype)}}else{try{throw Error()}catch(Ne){R=Ne}c()}}catch(Ne){if(Ne&&R&&typeof Ne.stack=="string"){for(var F=Ne.stack.split(`
|
19
|
+
`),Ce=R.stack.split(`
|
20
|
+
`),K=F.length-1,te=Ce.length-1;K>=1&&te>=0&&F[K]!==Ce[te];)te--;for(;K>=1&&te>=0;K--,te--)if(F[K]!==Ce[te]){if(K!==1||te!==1)do if(K--,te--,te<0||F[K]!==Ce[te]){var Ae=`
|
21
|
+
`+F[K].replace(" at new "," at ");return c.displayName&&Ae.includes("<anonymous>")&&(Ae=Ae.replace("<anonymous>",c.displayName)),typeof c=="function"&&Fe.set(c,Ae),Ae}while(K>=1&&te>=0);break}}}finally{Ve=!1,se.current=k,Ie(),Error.prepareStackTrace=O}var Je=c?c.displayName||c.name:"",M3=Je?ce(Je):"";return typeof c=="function"&&Fe.set(c,M3),M3}function Ze(c,I,_){return T(c,!1)}function He(c){var I=c.prototype;return!!(I&&I.isReactComponent)}function we(c,I,_){if(c==null)return"";if(typeof c=="function")return T(c,He(c));if(typeof c=="string")return ce(c);switch(c){case l:return ce("Suspense");case d:return ce("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case a:return Ze(c.render);case C:return we(c.type,I,_);case f:{var R=c,O=R._payload,k=R._init;try{return we(k(O),I,_)}catch{}}}return""}var G1=Object.prototype.hasOwnProperty,x3={},L3=m.ReactDebugCurrentFrame;function R1(c){if(c){var I=c._owner,_=we(c.type,c._source,I?I.type:null);L3.setExtraStackFrame(_)}else L3.setExtraStackFrame(null)}function Ba(c,I,_,R,O){{var k=Function.call.bind(G1);for(var M in c)if(k(c,M)){var F=void 0;try{if(typeof c[M]!="function"){var Ce=Error((R||"React class")+": "+_+" type `"+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[M]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ce.name="Invariant Violation",Ce}F=c[M](I,M,R,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(K){F=K}F&&!(F instanceof Error)&&(R1(O),y("%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).",R||"React class",_,M,typeof F),R1(null)),F instanceof Error&&!(F.message in x3)&&(x3[F.message]=!0,R1(O),y("Failed %s type: %s",_,F.message),R1(null))}}}var Za=Array.isArray;function ht(c){return Za(c)}function Oa(c){{var I=typeof Symbol=="function"&&Symbol.toStringTag,_=I&&c[Symbol.toStringTag]||c.constructor.name||"Object";return _}}function Da(c){try{return V3(c),!1}catch{return!0}}function V3(c){return""+c}function T3(c){if(Da(c))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Oa(c)),V3(c)}var u1=m.ReactCurrentOwner,Wa={key:!0,ref:!0,__self:!0,__source:!0},P3,S3,vt;vt={};function Xa(c){if(G1.call(c,"ref")){var I=Object.getOwnPropertyDescriptor(c,"ref").get;if(I&&I.isReactWarning)return!1}return c.ref!==void 0}function ka(c){if(G1.call(c,"key")){var I=Object.getOwnPropertyDescriptor(c,"key").get;if(I&&I.isReactWarning)return!1}return c.key!==void 0}function ja(c,I){if(typeof c.ref=="string"&&u1.current&&I&&u1.current.stateNode!==I){var _=$(u1.current.type);vt[_]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',$(u1.current.type),c.ref),vt[_]=!0)}}function Ya(c,I){{var _=function(){P3||(P3=!0,y("%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)",I))};_.isReactWarning=!0,Object.defineProperty(c,"key",{get:_,configurable:!0})}}function za(c,I){{var _=function(){S3||(S3=!0,y("%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)",I))};_.isReactWarning=!0,Object.defineProperty(c,"ref",{get:_,configurable:!0})}}var Ja=function(c,I,_,R,O,k,M){var F={$$typeof:e,type:c,key:I,ref:_,props:M,_owner:k};return F._store={},Object.defineProperty(F._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(F,"_self",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.defineProperty(F,"_source",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.freeze&&(Object.freeze(F.props),Object.freeze(F)),F};function Ua(c,I,_,R,O){{var k,M={},F=null,Ce=null;_!==void 0&&(T3(_),F=""+_),ka(I)&&(T3(I.key),F=""+I.key),Xa(I)&&(Ce=I.ref,ja(I,O));for(k in I)G1.call(I,k)&&!Wa.hasOwnProperty(k)&&(M[k]=I[k]);if(c&&c.defaultProps){var K=c.defaultProps;for(k in K)M[k]===void 0&&(M[k]=K[k])}if(F||Ce){var te=typeof c=="function"?c.displayName||c.name||"Unknown":c;F&&Ya(M,te),Ce&&za(M,te)}return Ja(c,F,Ce,O,R,u1.current,M)}}var It=m.ReactCurrentOwner,H3=m.ReactDebugCurrentFrame;function ze(c){if(c){var I=c._owner,_=we(c.type,c._source,I?I.type:null);H3.setExtraStackFrame(_)}else H3.setExtraStackFrame(null)}var At;At=!1;function yt(c){return typeof c=="object"&&c!==null&&c.$$typeof===e}function w3(){{if(It.current){var c=$(It.current.type);if(c)return`
|
22
22
|
|
23
|
-
Check the render method of \``+
|
23
|
+
Check the render method of \``+c+"`."}return""}}function Qa(c){{if(c!==void 0){var I=c.fileName.replace(/^.*[\\\/]/,""),_=c.lineNumber;return`
|
24
24
|
|
25
|
-
Check your code at `+
|
25
|
+
Check your code at `+I+":"+_+"."}return""}}var N3={};function $a(c){{var I=w3();if(!I){var _=typeof c=="string"?c:c.displayName||c.name;_&&(I=`
|
26
26
|
|
27
|
-
Check the top-level render call using <`+
|
27
|
+
Check the top-level render call using <`+_+">.")}return I}}function G3(c,I){{if(!c._store||c._store.validated||c.key!=null)return;c._store.validated=!0;var _=$a(I);if(N3[_])return;N3[_]=!0;var R="";c&&c._owner&&c._owner!==It.current&&(R=" It was passed a child from "+$(c._owner.type)+"."),ze(c),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,R),ze(null)}}function R3(c,I){{if(typeof c!="object")return;if(ht(c))for(var _=0;_<c.length;_++){var R=c[_];yt(R)&&G3(R,I)}else if(yt(c))c._store&&(c._store.validated=!0);else if(c){var O=h(c);if(typeof O=="function"&&O!==c.entries)for(var k=O.call(c),M;!(M=k.next()).done;)yt(M.value)&&G3(M.value,I)}}}function Ka(c){{var I=c.type;if(I==null||typeof I=="string")return;var _;if(typeof I=="function")_=I.propTypes;else if(typeof I=="object"&&(I.$$typeof===a||I.$$typeof===C))_=I.propTypes;else return;if(_){var R=$(I);Ba(_,c.props,"prop",R,c)}else if(I.PropTypes!==void 0&&!At){At=!0;var O=$(I);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",O||"Unknown")}typeof I.getDefaultProps=="function"&&!I.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function qa(c){{for(var I=Object.keys(c.props),_=0;_<I.length;_++){var R=I[_];if(R!=="children"&&R!=="key"){ze(c),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",R),ze(null);break}}c.ref!==null&&(ze(c),y("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}}function F3(c,I,_,R,O,k){{var M=ee(c);if(!M){var F="";(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(F+=" 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 Ce=Qa(O);Ce?F+=Ce:F+=w3();var K;c===null?K="null":ht(c)?K="array":c!==void 0&&c.$$typeof===e?(K="<"+($(c.type)||"Unknown")+" />",F=" Did you accidentally export a JSX literal instead of a component?"):K=typeof c,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",K,F)}var te=Ua(c,I,_,O,k);if(te==null)return te;if(M){var Ae=I.children;if(Ae!==void 0)if(R)if(ht(Ae)){for(var Je=0;Je<Ae.length;Je++)R3(Ae[Je],c);Object.freeze&&Object.freeze(Ae)}else y("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 R3(Ae,c)}return c===i?qa(te):Ka(te),te}}function e0(c,I,_){return F3(c,I,_,!0)}function t0(c,I,_){return F3(c,I,_,!1)}var n0=t0,r0=e0;Qe.Fragment=i,Qe.jsx=n0,Qe.jsxs=r0}()),Qe}process.env.NODE_ENV==="production"?F1.exports=D3():F1.exports=W3();var x=F1.exports,xt={exports:{}};/*!
|
28
28
|
Copyright (c) 2018 Jed Watson.
|
29
29
|
Licensed under the MIT License (MIT), see
|
30
30
|
http://jedwatson.github.io/classnames
|
31
|
-
*/(function(
|
31
|
+
*/(function(t){(function(){var e={}.hasOwnProperty;function r(){for(var i=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var u=typeof o;if(u==="string"||u==="number")i.push(o);else if(Array.isArray(o)){if(o.length){var s=r.apply(null,o);s&&i.push(s)}}else if(u==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){i.push(o.toString());continue}for(var a in o)e.call(o,a)&&o[a]&&i.push(a)}}}return i.join(" ")}t.exports?(r.default=r,t.exports=r):window.classNames=r})()})(xt);var X3=xt.exports;const J=O3(X3);var Lt=(t=>(t[t.sm=12]="sm",t[t.md=16]="md",t[t.lg=24]="lg",t[t.xl=32]="xl",t))(Lt||{}),Vt=(t=>(t.neutral70="var(--color-neutral-70)",t))(Vt||{});const k3={...{"arrow-down":`
|
32
32
|
<path
|
33
33
|
fill-rule="evenodd"
|
34
34
|
clip-rule="evenodd"
|
@@ -419,4 +419,34 @@ clipRule="evenodd"
|
|
419
419
|
</defs>
|
420
420
|
`,upload:`
|
421
421
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.22206 1.37123C8.15258 1.34669 8.07781 1.33333 7.99992 1.33333C7.8915 1.33333 7.78912 1.35921 7.69863 1.40513C7.66638 1.42148 7.63518 1.44062 7.60539 1.46254C7.57574 1.48435 7.54795 1.50855 7.52232 1.53486L4.19526 4.86192C3.93491 5.12227 3.93491 5.54438 4.19526 5.80473C4.45561 6.06508 4.87772 6.06508 5.13807 5.80473L7.33325 3.60955V10C7.33325 10.3682 7.63173 10.6667 7.99992 10.6667C8.36811 10.6667 8.66659 10.3682 8.66659 10V3.60939L10.8619 5.80473C11.1223 6.06508 11.5444 6.06508 11.8047 5.80473C12.0651 5.54438 12.0651 5.12227 11.8047 4.86192L8.4714 1.52859C8.39858 1.45577 8.31311 1.40332 8.22206 1.37123ZM1.99992 9.33333C2.36811 9.33333 2.66659 9.63181 2.66659 10V12.6667C2.66659 12.8435 2.73682 13.013 2.86185 13.1381C2.98687 13.2631 3.15644 13.3333 3.33325 13.3333H12.6666C12.8434 13.3333 13.013 13.2631 13.138 13.1381C13.263 13.013 13.3333 12.8435 13.3333 12.6667V10C13.3333 9.63181 13.6317 9.33333 13.9999 9.33333C14.3681 9.33333 14.6666 9.63181 14.6666 10V12.6667C14.6666 13.1971 14.4559 13.7058 14.0808 14.0809C13.7057 14.4559 13.197 14.6667 12.6666 14.6667H3.33325C2.80282 14.6667 2.29411 14.4559 1.91904 14.0809C1.54397 13.7058 1.33325 13.1971 1.33325 12.6667V10C1.33325 9.63181 1.63173 9.33333 1.99992 9.33333Z" fill="#1B1C1D"/>
|
422
|
-
`}},G=l=>{const{size:d="md",className:i,name:r,filled:f,color:_=u1.neutral70}=l,c=(()=>{const v=f?r+"-fill":r;return z1[v]})();if(!c)return console.warn(`Icon ${r} not found`),null;const a=_1[d],g=_?c.replace(/fill="[^"]*"/g,`fill="${_}"`):c;return s.jsx("svg",{"data-testid":"icon-test-id",className:i,dangerouslySetInnerHTML:{__html:g},height:a,width:a,fill:"none",viewBox:"0 0 16 16"})},A={breadcrumbs:"_breadcrumbs_1x8rf_1",breadcrumbs_list:"_breadcrumbs_list_1x8rf_4",breadcrumbItem:"_breadcrumbItem_1x8rf_11",breadcrumbItem_label:"_breadcrumbItem_label_1x8rf_15",breadcrumbItem_separator:"_breadcrumbItem_separator_1x8rf_29",breadcrumbItem__active:"_breadcrumbItem__active_1x8rf_35",labelIcon:"_labelIcon_1x8rf_38",breadcrumbs__darkMode:"_breadcrumbs__darkMode_1x8rf_48"},f1=l=>{const{className:d,darkMode:i,items:r}=l,[f,_]=M.useState(window.innerWidth<=992),b=(c,a)=>{var Z;const g=s.jsxs(s.Fragment,{children:[f&&s.jsx(G,{className:A.labelIcon,"aria-hidden":"true",name:"chevron-left",size:"md"}),c==null?void 0:c.title]});let v={href:c.path};if(a===r.length-1&&(v["aria-current"]="page",v.href=void 0),c!=null&&c.component){const D={...c==null?void 0:c.component};return D.props={...(Z=c==null?void 0:c.component)==null?void 0:Z.props,...v,className:A.breadcrumbItem_label,children:g},D}else return s.jsx("a",{className:A.breadcrumbItem_label,...v,children:g})};return M.useEffect(()=>{const c=()=>{_(window.innerWidth<=992)};return window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)},[]),s.jsx("nav",{"aria-label":"breadcrumb",className:E(A.breadcrumbs,d&&d,i&&A.breadcrumbs__darkMode),children:s.jsx("ol",{className:A.breadcrumbs_list,children:r==null?void 0:r.map((c,a)=>s.jsxs(s.Fragment,{children:[(!f||f&&a==(r==null?void 0:r.length)-2)&&s.jsx("li",{className:E(A.breadcrumbItem,!f&&a==(r==null?void 0:r.length)-1&&A.breadcrumbItem__active,f&&a==(r==null?void 0:r.length)-2&&A.breadcrumbItem__active),children:b(c,a)},`breadcrumbItem-${a}`),!f&&a<(r==null?void 0:r.length)-1&&s.jsx("li",{"aria-hidden":"true",className:A.breadcrumbItem,children:s.jsx(G,{className:A.breadcrumbItem_separator,name:"chevron-right",size:"sm"})},`breadcrumbItemChevron-${a}`)]}))})})};f1.prototype={avocado:"Breadcrumbs"};const h1={mode:"light"},p1=M.createContext(void 0),J1=({children:l,theme:d=h1})=>{const[i,r]=M.useState(d);M.useEffect(()=>{d!==i&&r(d)},[d]);const f={theme:i};return s.jsx(p1.Provider,{value:f,children:l})},e1=()=>{const l=M.useContext(p1);return l||{theme:h1}},U={button:"_button_u4n36_1",button_icon:"_button_icon_u4n36_28",button__secondary:"_button__secondary_u4n36_34",button__darkMode:"_button__darkMode_u4n36_49",button__ghost:"_button__ghost_u4n36_58",button__danger:"_button__danger_u4n36_72"},L1=l=>{const{children:d,className:i,leftIcon:r,rightIcon:f,variant:_="primary",type:b="button",...c}=l,{theme:a}=e1();return s.jsxs("button",{className:E(U.button,i&&i,_&&U[`button__${_}`],(a==null?void 0:a.mode)==="dark"&&U.button__darkMode),type:b,...c,children:[r&&s.jsx(G,{className:U.button_icon,name:r,size:"md"}),d,f&&s.jsx(G,{className:U.button_icon,name:f,size:"md"})]})};L1.prototype={avocado:"Button"};const X1={box:"_box_ykuuf_1"},q1=l=>{const{className:d,children:i}=l;return s.jsx("section",{className:E(X1.box,d&&d),children:i})},k={card:"_card_1v97k_1",card_icon:"_card_icon_1v97k_11",card_content:"_card_content_1v97k_23",card__clickable:"_card__clickable_1v97k_26",card__disabled:"_card__disabled_1v97k_35",_icon:"__icon_1v97k_41",card__darkMode:"_card__darkMode_1v97k_44"},Q1=l=>{const{children:d,className:i,isClickable:r,isDisabled:f}=l,{theme:_}=e1();return s.jsxs("section",{className:E(k.card,r&&k.card__clickable,i&&i,(_==null?void 0:_.mode)==="dark"&&k.card__darkMode,f&&k.card__disabled),children:[s.jsx("aside",{className:k.card_icon}),s.jsx("div",{className:k.card_content,children:d})]})},V={heading:"_heading_ws6r8_1",heading__1:"_heading__1_ws6r8_1",heading__2:"_heading__2_ws6r8_8",heading__3:"_heading__3_ws6r8_15",heading__4:"_heading__4_ws6r8_22",heading__darkMode:"_heading__darkMode_ws6r8_29"},v1=l=>{const{children:d,className:i,darkMode:r,type:f}=l;switch(f){case"h1":return s.jsx("h1",{className:E(V.heading,V.heading__1,r&&V.heading__darkMode,i&&i),children:d});case"h2":return s.jsx("h2",{className:E(V.heading,V.heading__2,r&&V.heading__darkMode,i&&i),children:d});case"h3":return s.jsx("h3",{className:E(V.heading,V.heading__3,r&&V.heading__darkMode,i&&i),children:d});case"h4":return s.jsx("h4",{className:E(V.heading,V.heading__4,r&&V.heading__darkMode,i&&i),children:d});default:return null}};v1.prototype={avocado:"Heading"};const $={text:"_text_4ha5d_1",text__lg:"_text__lg_4ha5d_1",text__md:"_text__md_4ha5d_7",text__sm:"_text__sm_4ha5d_14",text__xs:"_text__xs_4ha5d_21",text__medium:"_text__medium_4ha5d_28",text__darkMode:"_text__darkMode_4ha5d_31"},H1=l=>{const{children:d,className:i,darkMode:r,type:f="md",weight:_="regular"}=l;return s.jsx("p",{className:E($.text,$[`text__${f}`],r&&$.text__darkMode,_==="medium"&&$.text__medium,i&&i),children:d})};H1.prototype={avocado:"Text"};const x={componentCheck:"_componentCheck_c0e1g_1",componentCheck__disabled:"_componentCheck__disabled_c0e1g_1",label:"_label_c0e1g_1",componentCheck__darkMode:"_componentCheck__darkMode_c0e1g_4",label_checkbox:"_label_checkbox_c0e1g_9",label_left:"_label_left_c0e1g_33",label_right:"_label_right_c0e1g_37"},e3=({classNameCheckbox:l="",disabled:d=!1,labelLeft:i="",labelRight:r="",...f})=>{const{className:_,ref:b}=f,c=i&&typeof i=="string",a=r&&typeof r=="string",{theme:g}=e1();return s.jsx("div",{className:E(x.componentCheck,d&&x.componentCheck__disabled,"container_row","row_align__end",_&&_,(g==null?void 0:g.mode)==="dark"&&x.componentCheck__darkMode),children:s.jsxs("label",{className:x.label,children:[c?s.jsx("span",{className:x.label_left,children:i}):s.jsx(s.Fragment,{children:i}),s.jsx("input",{...f,className:E(x.label_checkbox,l&&l),type:"checkbox",disabled:d,ref:b}),a?s.jsx("span",{className:x.label_right,children:r}):s.jsx(s.Fragment,{children:r})]})})};m.Box=q1,m.Breadcrumbs=f1,m.Button=L1,m.Card=Q1,m.Checkbox=e3,m.Heading=v1,m.Text=H1,m.ThemeProvider=J1,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
|
422
|
+
`}},Ge=t=>{const{size:e="md",className:r,name:i,filled:n,color:o=Vt.neutral70}=t,s=(()=>{const d=n?i+"-fill":i;return k3[d]})();if(!s)return console.warn(`Icon ${i} not found`),null;const a=Lt[e],l=o?s.replace(/fill="[^"]*"/g,`fill="var(--color-${o})"`):s;return x.jsx("svg",{"data-testid":"icon-test-id",className:r,dangerouslySetInnerHTML:{__html:l},height:a,width:a,fill:"none",viewBox:"0 0 16 16"})},ye={breadcrumbs:"_breadcrumbs_1x8rf_1",breadcrumbs_list:"_breadcrumbs_list_1x8rf_4",breadcrumbItem:"_breadcrumbItem_1x8rf_11",breadcrumbItem_label:"_breadcrumbItem_label_1x8rf_15",breadcrumbItem_separator:"_breadcrumbItem_separator_1x8rf_29",breadcrumbItem__active:"_breadcrumbItem__active_1x8rf_35",labelIcon:"_labelIcon_1x8rf_38",breadcrumbs__darkMode:"_breadcrumbs__darkMode_1x8rf_48"},Tt=t=>{const{className:e,darkMode:r,items:i}=t,[n,o]=A.useState(window.innerWidth<=992),u=(s,a)=>{var f;const l=x.jsxs(x.Fragment,{children:[n&&x.jsx(Ge,{className:ye.labelIcon,"aria-hidden":"true",name:"chevron-left",size:"md"}),s==null?void 0:s.title]});let d={href:s.path};if(a===i.length-1&&(d["aria-current"]="page",d.href=void 0),s!=null&&s.component){const g={...s==null?void 0:s.component};return g.props={...(f=s==null?void 0:s.component)==null?void 0:f.props,...d,className:ye.breadcrumbItem_label,children:l},g}else return x.jsx("a",{className:ye.breadcrumbItem_label,...d,children:l})};return A.useEffect(()=>{const s=()=>{o(window.innerWidth<=992)};return window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)},[]),x.jsx("nav",{"aria-label":"breadcrumb",className:J(ye.breadcrumbs,e&&e,r&&ye.breadcrumbs__darkMode),children:x.jsx("ol",{className:ye.breadcrumbs_list,children:i==null?void 0:i.map((s,a)=>x.jsxs(x.Fragment,{children:[(!n||n&&a==(i==null?void 0:i.length)-2)&&x.jsx("li",{className:J(ye.breadcrumbItem,!n&&a==(i==null?void 0:i.length)-1&&ye.breadcrumbItem__active,n&&a==(i==null?void 0:i.length)-2&&ye.breadcrumbItem__active),children:u(s,a)},`breadcrumbItem-${a}`),!n&&a<(i==null?void 0:i.length)-1&&x.jsx("li",{"aria-hidden":"true",className:ye.breadcrumbItem,children:x.jsx(Ge,{className:ye.breadcrumbItem_separator,name:"chevron-right",size:"sm"})},`breadcrumbItemChevron-${a}`)]}))})})};Tt.prototype={avocado:"Breadcrumbs"};const Pt={mode:"light"},St=A.createContext(void 0),j3=({children:t,theme:e=Pt})=>{const[r,i]=A.useState(e);A.useEffect(()=>{e!==r&&i(e)},[e]);const n={theme:r};return x.jsx(St.Provider,{value:n,children:t})},s1=()=>{const t=A.useContext(St);return t||{theme:Pt}},$e={button:"_button_u4n36_1",button_icon:"_button_icon_u4n36_28",button__secondary:"_button__secondary_u4n36_34",button__darkMode:"_button__darkMode_u4n36_49",button__ghost:"_button__ghost_u4n36_58",button__danger:"_button__danger_u4n36_72"},Ht=({children:t,className:e,leftIcon:r,rightIcon:i,variant:n="primary",type:o="button",...u})=>{const{theme:s}=s1();return x.jsxs("button",{className:J($e.button,e&&e,n&&$e[`button__${n}`],(s==null?void 0:s.mode)==="dark"&&$e.button__darkMode),type:o,...u,children:[r&&x.jsx(Ge,{className:$e.button_icon,name:r,size:"md"}),t,i&&x.jsx(Ge,{className:$e.button_icon,name:i,size:"md"})]})};Ht.prototype={avocado:"Button"};const Y3={box:"_box_ykuuf_1"},z3=t=>{const{className:e,children:r}=t;return x.jsx("section",{className:J(Y3.box,e&&e),children:r})},Oe={card:"_card_1v97k_1",card_icon:"_card_icon_1v97k_11",card_content:"_card_content_1v97k_23",card__clickable:"_card__clickable_1v97k_26",card__disabled:"_card__disabled_1v97k_35",_icon:"__icon_1v97k_41",card__darkMode:"_card__darkMode_1v97k_44"},J3=t=>{const{children:e,className:r,isClickable:i,isDisabled:n}=t,{theme:o}=s1();return x.jsxs("section",{className:J(Oe.card,i&&Oe.card__clickable,r&&r,(o==null?void 0:o.mode)==="dark"&&Oe.card__darkMode,n&&Oe.card__disabled),children:[x.jsx("aside",{className:Oe.card_icon}),x.jsx("div",{className:Oe.card_content,children:e})]})},ve={heading:"_heading_ws6r8_1",heading__1:"_heading__1_ws6r8_1",heading__2:"_heading__2_ws6r8_8",heading__3:"_heading__3_ws6r8_15",heading__4:"_heading__4_ws6r8_22",heading__darkMode:"_heading__darkMode_ws6r8_29"},wt=t=>{const{children:e,className:r,darkMode:i,type:n}=t;switch(n){case"h1":return x.jsx("h1",{className:J(ve.heading,ve.heading__1,i&&ve.heading__darkMode,r&&r),children:e});case"h2":return x.jsx("h2",{className:J(ve.heading,ve.heading__2,i&&ve.heading__darkMode,r&&r),children:e});case"h3":return x.jsx("h3",{className:J(ve.heading,ve.heading__3,i&&ve.heading__darkMode,r&&r),children:e});case"h4":return x.jsx("h4",{className:J(ve.heading,ve.heading__4,i&&ve.heading__darkMode,r&&r),children:e});default:return null}};wt.prototype={avocado:"Heading"};const l1={text:"_text_4ha5d_1",text__lg:"_text__lg_4ha5d_1",text__md:"_text__md_4ha5d_7",text__sm:"_text__sm_4ha5d_14",text__xs:"_text__xs_4ha5d_21",text__medium:"_text__medium_4ha5d_28",text__darkMode:"_text__darkMode_4ha5d_31"},Nt=t=>{const{children:e,className:r,darkMode:i,type:n="md",weight:o="regular"}=t;return x.jsx("p",{className:J(l1.text,l1[`text__${n}`],i&&l1.text__darkMode,o==="medium"&&l1.text__medium,r&&r),children:e})};Nt.prototype={avocado:"Text"};const Me={componentCheck:"_componentCheck_c0e1g_1",componentCheck__disabled:"_componentCheck__disabled_c0e1g_1",label:"_label_c0e1g_1",componentCheck__darkMode:"_componentCheck__darkMode_c0e1g_4",label_checkbox:"_label_checkbox_c0e1g_9",label_left:"_label_left_c0e1g_33",label_right:"_label_right_c0e1g_37"},U3=({classNameCheckbox:t="",disabled:e=!1,labelLeft:r="",labelRight:i="",...n})=>{const{className:o,ref:u}=n,s=r&&typeof r=="string",a=i&&typeof i=="string",{theme:l}=s1();return x.jsx("div",{className:J(Me.componentCheck,e&&Me.componentCheck__disabled,"container_row","row_align__end",o&&o,(l==null?void 0:l.mode)==="dark"&&Me.componentCheck__darkMode),children:x.jsxs("label",{className:Me.label,children:[s?x.jsx("span",{className:Me.label_left,children:r}):x.jsx(x.Fragment,{children:r}),x.jsx("input",{...n,className:J(Me.label_checkbox,t&&t),type:"checkbox",disabled:e,ref:u}),a?x.jsx("span",{className:Me.label_right,children:i}):x.jsx(x.Fragment,{children:i})]})})},De={paginator:"_paginator_1f621_1",navPager:"_navPager_1f621_1",navPager_button:"_navPager_button_1f621_6",icon:"_icon_1f621_47",icon__disabled:"_icon__disabled_1f621_51",navPager_button__active:"_navPager_button__active_1f621_54",navPager_button__block:"_navPager_button__block_1f621_59"},Ke=t=>{const{className:e,disabled:r,icon:i,onClick:n}=t;return x.jsx("button",{"data-testid":"pager-arrow",className:J(De.navPager_button,e&&e),onClick:()=>n(),disabled:r,children:x.jsx(Ge,{name:i,color:r?"var(--color-neutral-30)":"var(--color-neutral-70)"})})};Ke.prototype={avocado:"ArrowPager"};const Gt=t=>{const{className:e,disabled:r,page:i,currentPage:n,onClick:o,ellipsisAsNumber:u}=t;return x.jsx("button",{"data-testid":"pager-button","aria-label":i===u?"ellipsis":`Page ${i}`,disabled:r,className:J(De.navPager_button,n===i&&De.navPager_button__active,i===u&&De.navPager_button__block,e&&e),onClick:o,children:i!==u?i.toString():"..."})};Gt.prototype={avocado:"ButtonPager"};const Q3=5,$3=9,K3=(t,e,r)=>{const i=r?3:7;return t<=i?"LEFT_LEANED":t>e-i?"RIGHT_LEANED":"BALANCED"},q3=(t,e,r)=>e?[1,2,3,r,t]:[1,2,3,4,5,6,7,r,t],er=(t,e,r,i)=>r?[1,i,t,i,e]:[1,i,t-2,t-1,t,t+1,t+2,i,e],tr=(t,e,r)=>e?[1,r,t-2,t-1,t]:[1,r,t-6,t-5,t-4,t-3,t-2,t-1,t],Rt=(t,e,r)=>{const i=window.innerWidth<=991.98;if(e<=(i?Q3:$3))return Array.from({length:e},(o,u)=>u+1);switch(K3(t,e,i)){case"LEFT_LEANED":return q3(e,i,r);case"BALANCED":return er(t,e,i,r);case"RIGHT_LEANED":return tr(e,i,r);default:throw new Error("Unknown pager type")}},Ft=t=>{const{page:e,size:r,total:i,totalPages:n,classname:o,onChange:u,onPageChange:s}=t;i!=null&&n!=null&&console.error("You shouldn't use `total` and `totalPages` at the same time. Prefer `totalPages`.");const a=-1,l=n??Math.ceil(i/r),[d,C]=A.useState(Rt(e,l,a)),f=p=>{C(Rt(p,l,a))};A.useEffect(()=>(window.addEventListener("resize",()=>f(e)),()=>window.removeEventListener("resize",()=>f(e))),[]);const g=p=>{p!==e&&p!==0&&(s&&s(p),u&&u(p),f(p))};return l===1?null:x.jsx("section",{"data-testid":"pager-global","aria-label":"Pagination",className:J(De.paginator,(o==null?void 0:o.global)&&(o==null?void 0:o.global),"container_row","row__center"),children:x.jsxs("nav",{"data-testid":"pager-nav",className:J(De.navPager,(o==null?void 0:o.nav)&&(o==null?void 0:o.nav)),children:[x.jsx(Ke,{icon:"chevrons-left","aria-label":"First page",disabled:e===1,onClick:()=>g(1),className:(o==null?void 0:o.arrow)&&(o==null?void 0:o.arrow)}),x.jsx(Ke,{icon:"chevron-left","aria-label":"Previous page",disabled:e===1,onClick:()=>g(e-1),className:(o==null?void 0:o.arrow)&&(o==null?void 0:o.arrow)}),d.map((p,b)=>x.jsx(Gt,{className:(o==null?void 0:o.button)&&(o==null?void 0:o.button),ellipsisAsNumber:a,page:p,currentPage:e,onClick:()=>g(p)},`${p}-${b}`)),x.jsx(Ke,{icon:"chevron-right","aria-label":"Next page",disabled:e===l,onClick:()=>g(e+1),className:(o==null?void 0:o.arrow)&&(o==null?void 0:o.arrow)}),x.jsx(Ke,{icon:"chevrons-right","aria-label":"Last page",disabled:e===l,onClick:()=>g(l),className:(o==null?void 0:o.arrow)&&(o==null?void 0:o.arrow)})]})})};Ft.prototype={avocado:"Pager"};const Re={radio:"_radio_9b2ek_1",label:"_label_9b2ek_5",label_left:"_label_left_9b2ek_15",label_right:"_label_right_9b2ek_18",label_radio:"_label_radio_9b2ek_21",label_button:"_label_button_9b2ek_27",label__disabled:"_label__disabled_9b2ek_75",radio__darkMode:"_radio__darkMode_9b2ek_78"},nr=({classNameRadioButton:t="",labelLeft:e="",labelRight:r="",disabled:i=!1,...n})=>{const{className:o,ref:u}=n,s=!!e&&typeof r=="string",a=!!r&&typeof r=="string";e&&r&&console.warn("Use `label` or `labelLeft`, not both.");const{theme:l}=s1();return x.jsx("div",{className:J(Re.radio,"container_row","row_align__end",o&&o,(l==null?void 0:l.mode)==="dark"&&Re.radio__darkMode),children:x.jsxs("label",{className:J(Re.label,i&&Re.label__disabled),children:[s?x.jsx("span",{className:Re.label_left,children:e}):x.jsx(x.Fragment,{children:e}),x.jsx("input",{...n,className:J(Re.label_radio,t&&t),type:"radio",disabled:i,ref:u}),x.jsx("span",{className:Re.label_button}),a?x.jsx("span",{className:Re.label_right,children:r}):x.jsx(x.Fragment,{children:r})]})})};function Be(t){"@babel/helpers - typeof";return Be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Be(t)}function rr(t,e){if(Be(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Be(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Mt(t){var e=rr(t,"string");return Be(e)=="symbol"?e:String(e)}function qe(t,e,r){return e=Mt(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function H(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Bt(Object(r),!0).forEach(function(i){qe(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bt(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function ir(t){if(Array.isArray(t))return t}function or(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var i,n,o,u,s=[],a=!0,l=!1;try{if(o=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;a=!1}else for(;!(a=(i=o.call(r)).done)&&(s.push(i.value),s.length!==e);a=!0);}catch(d){l=!0,n=d}finally{try{if(!a&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw n}}return s}}function M1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function Zt(t,e){if(t){if(typeof t=="string")return M1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return M1(t,e)}}function ar(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
423
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Te(t,e){return ir(t)||or(t,e)||Zt(t,e)||ar()}function ur(t,e){if(t==null)return{};var r={},i=Object.keys(t),n,o;for(o=0;o<i.length;o++)n=i[o],!(e.indexOf(n)>=0)&&(r[n]=t[n]);return r}function Pe(t,e){if(t==null)return{};var r=ur(t,e),i,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)i=o[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}var sr=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function lr(t){var e=t.defaultInputValue,r=e===void 0?"":e,i=t.defaultMenuIsOpen,n=i===void 0?!1:i,o=t.defaultValue,u=o===void 0?null:o,s=t.inputValue,a=t.menuIsOpen,l=t.onChange,d=t.onInputChange,C=t.onMenuClose,f=t.onMenuOpen,g=t.value,p=Pe(t,sr),b=A.useState(s!==void 0?s:r),h=Te(b,2),m=h[0],y=h[1],E=A.useState(a!==void 0?a:n),L=Te(E,2),v=L[0],S=L[1],V=A.useState(g!==void 0?g:u),G=Te(V,2),X=G[0],ee=G[1],ie=A.useCallback(function(oe,me){typeof l=="function"&&l(oe,me),ee(oe)},[l]),Q=A.useCallback(function(oe,me){var pe;typeof d=="function"&&(pe=d(oe,me)),y(pe!==void 0?pe:oe)},[d]),$=A.useCallback(function(){typeof f=="function"&&f(),S(!0)},[f]),re=A.useCallback(function(){typeof C=="function"&&C(),S(!1)},[C]),j=s!==void 0?s:m,Y=a!==void 0?a:v,de=g!==void 0?g:X;return H(H({},p),{},{inputValue:j,menuIsOpen:Y,onChange:ie,onInputChange:Q,onMenuClose:re,onMenuOpen:$,value:de})}function w(){return w=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},w.apply(this,arguments)}function cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,Mt(i.key),i)}}function dr(t,e,r){return e&&Ot(t.prototype,e),r&&Ot(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function B1(t,e){return B1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},B1(t,e)}function Cr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&B1(t,e)}function c1(t){return c1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},c1(t)}function Dt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Dt=function(){return!!t})()}function fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pr(t,e){if(e&&(Be(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fr(t)}function gr(t){var e=Dt();return function(){var i=c1(t),n;if(e){var o=c1(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return pr(this,n)}}function br(t){if(Array.isArray(t))return M1(t)}function mr(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
424
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z1(t){return br(t)||mr(t)||Zt(t)||hr()}function vr(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Ir(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Ar=function(){function t(r){var i=this;this._insertTag=function(n){var o;i.tags.length===0?i.insertionPoint?o=i.insertionPoint.nextSibling:i.prepend?o=i.container.firstChild:o=i.before:o=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(n,o),i.tags.push(n)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ir(this));var n=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=i.charCodeAt(0)===64&&i.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
425
|
+
`+i+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var u=vr(n);try{u.insertRule(i,u.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(i)&&console.error('There was a problem inserting the following rule: "'+i+'"',s)}}else n.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){return i.parentNode&&i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},t}(),le="-ms-",d1="-moz-",B="-webkit-",O1="comm",D1="rule",W1="decl",yr="@import",Wt="@keyframes",Er="@layer",_r=Math.abs,C1=String.fromCharCode,xr=Object.assign;function Lr(t,e){return ue(t,0)^45?(((e<<2^ue(t,0))<<2^ue(t,1))<<2^ue(t,2))<<2^ue(t,3):0}function Xt(t){return t.trim()}function Vr(t,e){return(t=e.exec(t))?t[0]:t}function Z(t,e,r){return t.replace(e,r)}function X1(t,e){return t.indexOf(e)}function ue(t,e){return t.charCodeAt(e)|0}function e1(t,e,r){return t.slice(e,r)}function xe(t){return t.length}function k1(t){return t.length}function f1(t,e){return e.push(t),t}function Tr(t,e){return t.map(e).join("")}var p1=1,We=1,kt=0,fe=0,q=0,Xe="";function g1(t,e,r,i,n,o,u){return{value:t,root:e,parent:r,type:i,props:n,children:o,line:p1,column:We,length:u,return:""}}function t1(t,e){return xr(g1("",null,null,"",null,null,0),t,{length:-t.length},e)}function Pr(){return q}function Sr(){return q=fe>0?ue(Xe,--fe):0,We--,q===10&&(We=1,p1--),q}function be(){return q=fe<kt?ue(Xe,fe++):0,We++,q===10&&(We=1,p1++),q}function Le(){return ue(Xe,fe)}function b1(){return fe}function n1(t,e){return e1(Xe,t,e)}function r1(t){switch(t){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 jt(t){return p1=We=1,kt=xe(Xe=t),fe=0,[]}function Yt(t){return Xe="",t}function m1(t){return Xt(n1(fe-1,j1(t===91?t+2:t===40?t+1:t)))}function Hr(t){for(;(q=Le())&&q<33;)be();return r1(t)>2||r1(q)>3?"":" "}function wr(t,e){for(;--e&&be()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return n1(t,b1()+(e<6&&Le()==32&&be()==32))}function j1(t){for(;be();)switch(q){case t:return fe;case 34:case 39:t!==34&&t!==39&&j1(q);break;case 40:t===41&&j1(t);break;case 92:be();break}return fe}function Nr(t,e){for(;be()&&t+q!==57;)if(t+q===84&&Le()===47)break;return"/*"+n1(e,fe-1)+"*"+C1(t===47?t:be())}function Gr(t){for(;!r1(Le());)be();return n1(t,fe)}function Rr(t){return Yt(h1("",null,null,null,[""],t=jt(t),0,[0],t))}function h1(t,e,r,i,n,o,u,s,a){for(var l=0,d=0,C=u,f=0,g=0,p=0,b=1,h=1,m=1,y=0,E="",L=n,v=o,S=i,V=E;h;)switch(p=y,y=be()){case 40:if(p!=108&&ue(V,C-1)==58){X1(V+=Z(m1(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:V+=m1(y);break;case 9:case 10:case 13:case 32:V+=Hr(p);break;case 92:V+=wr(b1()-1,7);continue;case 47:switch(Le()){case 42:case 47:f1(Fr(Nr(be(),b1()),e,r),a);break;default:V+="/"}break;case 123*b:s[l++]=xe(V)*m;case 125*b:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+d:m==-1&&(V=Z(V,/\f/g,"")),g>0&&xe(V)-C&&f1(g>32?Jt(V+";",i,r,C-1):Jt(Z(V," ","")+";",i,r,C-2),a);break;case 59:V+=";";default:if(f1(S=zt(V,e,r,l,d,n,s,E,L=[],v=[],C),o),y===123)if(d===0)h1(V,e,S,S,L,o,C,s,v);else switch(f===99&&ue(V,3)===110?100:f){case 100:case 108:case 109:case 115:h1(t,S,S,i&&f1(zt(t,S,S,0,0,n,s,E,n,L=[],C),v),n,v,C,s,i?L:v);break;default:h1(V,S,S,S,[""],v,0,s,v)}}l=d=g=0,b=m=1,E=V="",C=u;break;case 58:C=1+xe(V),g=p;default:if(b<1){if(y==123)--b;else if(y==125&&b++==0&&Sr()==125)continue}switch(V+=C1(y),y*b){case 38:m=d>0?1:(V+="\f",-1);break;case 44:s[l++]=(xe(V)-1)*m,m=1;break;case 64:Le()===45&&(V+=m1(be())),f=Le(),d=C=xe(E=V+=Gr(b1())),y++;break;case 45:p===45&&xe(V)==2&&(b=0)}}return o}function zt(t,e,r,i,n,o,u,s,a,l,d){for(var C=n-1,f=n===0?o:[""],g=k1(f),p=0,b=0,h=0;p<i;++p)for(var m=0,y=e1(t,C+1,C=_r(b=u[p])),E=t;m<g;++m)(E=Xt(b>0?f[m]+" "+y:Z(y,/&\f/g,f[m])))&&(a[h++]=E);return g1(t,e,r,n===0?D1:s,a,l,d)}function Fr(t,e,r){return g1(t,e,r,O1,C1(Pr()),e1(t,2,-2),0)}function Jt(t,e,r,i){return g1(t,e,r,W1,e1(t,0,i),e1(t,i+1,-1),i)}function ke(t,e){for(var r="",i=k1(t),n=0;n<i;n++)r+=e(t[n],n,t,e)||"";return r}function Mr(t,e,r,i){switch(t.type){case Er:if(t.children.length)break;case yr:case W1:return t.return=t.return||t.value;case O1:return"";case Wt:return t.return=t.value+"{"+ke(t.children,i)+"}";case D1:t.value=t.props.join(",")}return xe(r=ke(t.children,i))?t.return=t.value+"{"+r+"}":""}function Br(t){var e=k1(t);return function(r,i,n,o){for(var u="",s=0;s<e;s++)u+=t[s](r,i,n,o)||"";return u}}function Zr(t){return function(e){e.root||(e=e.return)&&t(e)}}function Or(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var Dr=function(e,r,i){for(var n=0,o=0;n=o,o=Le(),n===38&&o===12&&(r[i]=1),!r1(o);)be();return n1(e,fe)},Wr=function(e,r){var i=-1,n=44;do switch(r1(n)){case 0:n===38&&Le()===12&&(r[i]=1),e[i]+=Dr(fe-1,r,i);break;case 2:e[i]+=m1(n);break;case 4:if(n===44){e[++i]=Le()===58?"&\f":"",r[i]=e[i].length;break}default:e[i]+=C1(n)}while(n=be());return e},Xr=function(e,r){return Yt(Wr(jt(e),r))},Ut=new WeakMap,kr=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,i=e.parent,n=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!Ut.get(i))&&!n){Ut.set(e,!0);for(var o=[],u=Xr(r,o),s=i.props,a=0,l=0;a<u.length;a++)for(var d=0;d<s.length;d++,l++)e.props[l]=o[a]?u[a].replace(/&\f/g,s[d]):s[d]+" "+u[a]}}},jr=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}},Yr="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",zr=function(e){return e.type==="comm"&&e.children.indexOf(Yr)>-1},Jr=function(e){return function(r,i,n){if(!(r.type!=="rule"||e.compat)){var o=r.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var u=!!r.parent,s=u?r.parent.children:n,a=s.length-1;a>=0;a--){var l=s[a];if(l.line<r.line)break;if(l.column<r.column){if(zr(l))return;break}}o.forEach(function(d){console.error('The pseudo class "'+d+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+d.split("-child")[0]+'-of-type".')})}}}},Qt=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},Ur=function(e,r){for(var i=e-1;i>=0;i--)if(!Qt(r[i]))return!0;return!1},$t=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Qr=function(e,r,i){Qt(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),$t(e)):Ur(r,i)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),$t(e)))};function Kt(t,e){switch(Lr(t,e)){case 5103:return B+"print-"+t+t;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 B+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return B+t+d1+t+le+t+t;case 6828:case 4268:return B+t+le+t+t;case 6165:return B+t+le+"flex-"+t+t;case 5187:return B+t+Z(t,/(\w+).+(:[^]+)/,B+"box-$1$2"+le+"flex-$1$2")+t;case 5443:return B+t+le+"flex-item-"+Z(t,/flex-|-self/,"")+t;case 4675:return B+t+le+"flex-line-pack"+Z(t,/align-content|flex-|-self/,"")+t;case 5548:return B+t+le+Z(t,"shrink","negative")+t;case 5292:return B+t+le+Z(t,"basis","preferred-size")+t;case 6060:return B+"box-"+Z(t,"-grow","")+B+t+le+Z(t,"grow","positive")+t;case 4554:return B+Z(t,/([^-])(transform)/g,"$1"+B+"$2")+t;case 6187:return Z(Z(Z(t,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),t,"")+t;case 5495:case 3959:return Z(t,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return Z(Z(t,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+t+t;case 4095:case 3583:case 4068:case 2532:return Z(t,/(.+)-inline(.+)/,B+"$1$2")+t;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(xe(t)-1-e>6)switch(ue(t,e+1)){case 109:if(ue(t,e+4)!==45)break;case 102:return Z(t,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+d1+(ue(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~X1(t,"stretch")?Kt(Z(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(ue(t,e+1)!==115)break;case 6444:switch(ue(t,xe(t)-3-(~X1(t,"!important")&&10))){case 107:return Z(t,":",":"+B)+t;case 101:return Z(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(ue(t,14)===45?"inline-":"")+"box$3$1"+B+"$2$3$1"+le+"$2box$3")+t}break;case 5936:switch(ue(t,e+11)){case 114:return B+t+le+Z(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return B+t+le+Z(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return B+t+le+Z(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return B+t+le+t+t}return t}var $r=function(e,r,i,n){if(e.length>-1&&!e.return)switch(e.type){case W1:e.return=Kt(e.value,e.length);break;case Wt:return ke([t1(e,{value:Z(e.value,"@","@"+B)})],n);case D1:if(e.length)return Tr(e.props,function(o){switch(Vr(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ke([t1(e,{props:[Z(o,/:(read-\w+)/,":"+d1+"$1")]})],n);case"::placeholder":return ke([t1(e,{props:[Z(o,/:(plac\w+)/,":"+B+"input-$1")]}),t1(e,{props:[Z(o,/:(plac\w+)/,":"+d1+"$1")]}),t1(e,{props:[Z(o,/:(plac\w+)/,le+"input-$1")]})],n)}return""})}},Kr=[$r],qr=function(e){var r=e.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
426
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(b){var h=b.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var n=e.stylisPlugins||Kr;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var o={},u,s=[];u=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var h=b.getAttribute("data-emotion").split(" "),m=1;m<h.length;m++)o[h[m]]=!0;s.push(b)});var a,l=[kr,jr];process.env.NODE_ENV!=="production"&&l.push(Jr({get compat(){return p.compat}}),Qr);{var d,C=[Mr,process.env.NODE_ENV!=="production"?function(b){b.root||(b.return?d.insert(b.return):b.value&&b.type!==O1&&d.insert(b.value+"{}"))}:Zr(function(b){d.insert(b)})],f=Br(l.concat(n,C)),g=function(h){return ke(Rr(h),f)};a=function(h,m,y,E){d=y,process.env.NODE_ENV!=="production"&&m.map!==void 0&&(d={insert:function(v){y.insert(v+m.map)}}),g(h?h+"{"+m.styles+"}":m.styles),E&&(p.inserted[m.name]=!0)}}var p={key:r,sheet:new Ar({key:r,container:u,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:a};return p.sheet.hydrate(s),p},Y1={exports:{}},D={};/** @license React v16.13.1
|
427
|
+
* react-is.production.min.js
|
428
|
+
*
|
429
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
430
|
+
*
|
431
|
+
* This source code is licensed under the MIT license found in the
|
432
|
+
* LICENSE file in the root directory of this source tree.
|
433
|
+
*/var qt;function e6(){if(qt)return D;qt=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,o=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,d=t?Symbol.for("react.forward_ref"):60112,C=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,p=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,h=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function E(v){if(typeof v=="object"&&v!==null){var S=v.$$typeof;switch(S){case e:switch(v=v.type,v){case a:case l:case i:case o:case n:case C:return v;default:switch(v=v&&v.$$typeof,v){case s:case d:case p:case g:case u:return v;default:return S}}case r:return S}}}function L(v){return E(v)===l}return D.AsyncMode=a,D.ConcurrentMode=l,D.ContextConsumer=s,D.ContextProvider=u,D.Element=e,D.ForwardRef=d,D.Fragment=i,D.Lazy=p,D.Memo=g,D.Portal=r,D.Profiler=o,D.StrictMode=n,D.Suspense=C,D.isAsyncMode=function(v){return L(v)||E(v)===a},D.isConcurrentMode=L,D.isContextConsumer=function(v){return E(v)===s},D.isContextProvider=function(v){return E(v)===u},D.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},D.isForwardRef=function(v){return E(v)===d},D.isFragment=function(v){return E(v)===i},D.isLazy=function(v){return E(v)===p},D.isMemo=function(v){return E(v)===g},D.isPortal=function(v){return E(v)===r},D.isProfiler=function(v){return E(v)===o},D.isStrictMode=function(v){return E(v)===n},D.isSuspense=function(v){return E(v)===C},D.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===i||v===l||v===o||v===n||v===C||v===f||typeof v=="object"&&v!==null&&(v.$$typeof===p||v.$$typeof===g||v.$$typeof===u||v.$$typeof===s||v.$$typeof===d||v.$$typeof===h||v.$$typeof===m||v.$$typeof===y||v.$$typeof===b)},D.typeOf=E,D}var W={};/** @license React v16.13.1
|
434
|
+
* react-is.development.js
|
435
|
+
*
|
436
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
437
|
+
*
|
438
|
+
* This source code is licensed under the MIT license found in the
|
439
|
+
* LICENSE file in the root directory of this source tree.
|
440
|
+
*/var en;function t6(){return en||(en=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,o=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,d=t?Symbol.for("react.forward_ref"):60112,C=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,p=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,h=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function E(T){return typeof T=="string"||typeof T=="function"||T===i||T===l||T===o||T===n||T===C||T===f||typeof T=="object"&&T!==null&&(T.$$typeof===p||T.$$typeof===g||T.$$typeof===u||T.$$typeof===s||T.$$typeof===d||T.$$typeof===h||T.$$typeof===m||T.$$typeof===y||T.$$typeof===b)}function L(T){if(typeof T=="object"&&T!==null){var Ze=T.$$typeof;switch(Ze){case e:var He=T.type;switch(He){case a:case l:case i:case o:case n:case C:return He;default:var we=He&&He.$$typeof;switch(we){case s:case d:case p:case g:case u:return we;default:return Ze}}case r:return Ze}}}var v=a,S=l,V=s,G=u,X=e,ee=d,ie=i,Q=p,$=g,re=r,j=o,Y=n,de=C,oe=!1;function me(T){return oe||(oe=!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.")),pe(T)||L(T)===a}function pe(T){return L(T)===l}function Se(T){return L(T)===s}function z(T){return L(T)===u}function ae(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function he(T){return L(T)===d}function Ie(T){return L(T)===i}function se(T){return L(T)===p}function ge(T){return L(T)===g}function ce(T){return L(T)===r}function Ve(T){return L(T)===o}function Fe(T){return L(T)===n}function Ye(T){return L(T)===C}W.AsyncMode=v,W.ConcurrentMode=S,W.ContextConsumer=V,W.ContextProvider=G,W.Element=X,W.ForwardRef=ee,W.Fragment=ie,W.Lazy=Q,W.Memo=$,W.Portal=re,W.Profiler=j,W.StrictMode=Y,W.Suspense=de,W.isAsyncMode=me,W.isConcurrentMode=pe,W.isContextConsumer=Se,W.isContextProvider=z,W.isElement=ae,W.isForwardRef=he,W.isFragment=Ie,W.isLazy=se,W.isMemo=ge,W.isPortal=ce,W.isProfiler=Ve,W.isStrictMode=Fe,W.isSuspense=Ye,W.isValidElementType=E,W.typeOf=L}()),W}process.env.NODE_ENV==="production"?Y1.exports=e6():Y1.exports=t6();var n6=Y1.exports,tn=n6,r6={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i6={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},nn={};nn[tn.ForwardRef]=r6,nn[tn.Memo]=i6;var o6=!0;function rn(t,e,r){var i="";return r.split(" ").forEach(function(n){t[n]!==void 0?e.push(t[n]+";"):i+=n+" "}),i}var z1=function(e,r,i){var n=e.key+"-"+r.name;(i===!1||o6===!1)&&e.registered[n]===void 0&&(e.registered[n]=r.styles)},J1=function(e,r,i){z1(e,r,i);var n=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var o=r;do e.insert(r===o?"."+n:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function a6(t){for(var e=0,r,i=0,n=t.length;n>=4;++i,n-=4)r=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(n){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var u6={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,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},on=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
441
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
442
|
+
You can read more about this here:
|
443
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,s6="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",l6=/[A-Z]|^ms/g,an=/_EMO_([^_]+?)_([^]*?)_EMO_/g,U1=function(e){return e.charCodeAt(1)===45},un=function(e){return e!=null&&typeof e!="boolean"},Q1=Or(function(t){return U1(t)?t:t.replace(l6,"-$&").toLowerCase()}),v1=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(an,function(i,n,o){return Ee={name:n,styles:o,next:Ee},n})}return u6[e]!==1&&!U1(e)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var c6=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,d6=["normal","none","initial","inherit","unset"],C6=v1,f6=/^-ms-/,p6=/-(.)/g,sn={};v1=function(e,r){if(e==="content"&&(typeof r!="string"||d6.indexOf(r)===-1&&!c6.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var i=C6(e,r);return i!==""&&!U1(e)&&e.indexOf("-")!==-1&&sn[e]===void 0&&(sn[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(f6,"ms-").replace(p6,function(n,o){return o.toUpperCase()})+"?")),i}}var ln="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function i1(t,e,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(ln);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Ee={name:r.name,styles:r.styles,next:Ee},r.name;if(r.styles!==void 0){var i=r.next;if(i!==void 0)for(;i!==void 0;)Ee={name:i.name,styles:i.styles,next:Ee},i=i.next;var n=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(n+=r.map),n}return g6(t,e,r)}case"function":{if(t!==void 0){var o=Ee,u=r(t);return Ee=o,i1(t,e,u)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],a=r.replace(an,function(d,C,f){var g="animation"+s.length;return s.push("const "+g+" = keyframes`"+f.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+a+"`"]).join(`
|
444
|
+
`)+`
|
445
|
+
|
446
|
+
You should wrap it with \`css\` like this:
|
447
|
+
|
448
|
+
`+("css`"+a+"`"))}break}if(e==null)return r;var l=e[r];return l!==void 0?l:r}function g6(t,e,r){var i="";if(Array.isArray(r))for(var n=0;n<r.length;n++)i+=i1(t,e,r[n])+";";else for(var o in r){var u=r[o];if(typeof u!="object")e!=null&&e[u]!==void 0?i+=o+"{"+e[u]+"}":un(u)&&(i+=Q1(o)+":"+v1(o,u)+";");else{if(o==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(ln);if(Array.isArray(u)&&typeof u[0]=="string"&&(e==null||e[u[0]]===void 0))for(var s=0;s<u.length;s++)un(u[s])&&(i+=Q1(o)+":"+v1(o,u[s])+";");else{var a=i1(t,e,u);switch(o){case"animation":case"animationName":{i+=Q1(o)+":"+a+";";break}default:process.env.NODE_ENV!=="production"&&o==="undefined"&&console.error(s6),i+=o+"{"+a+"}"}}}}return i}var cn=/label:\s*([^\s;\n{]+)\s*(;|$)/g,dn;process.env.NODE_ENV!=="production"&&(dn=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Ee,o1=function(e,r,i){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";Ee=void 0;var u=e[0];u==null||u.raw===void 0?(n=!1,o+=i1(i,r,u)):(process.env.NODE_ENV!=="production"&&u[0]===void 0&&console.error(on),o+=u[0]);for(var s=1;s<e.length;s++)o+=i1(i,r,e[s]),n&&(process.env.NODE_ENV!=="production"&&u[s]===void 0&&console.error(on),o+=u[s]);var a;process.env.NODE_ENV!=="production"&&(o=o.replace(dn,function(f){return a=f,""})),cn.lastIndex=0;for(var l="",d;(d=cn.exec(o))!==null;)l+="-"+d[1];var C=a6(o)+l;return process.env.NODE_ENV!=="production"?{name:C,styles:o,map:a,next:Ee,toString:function(){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)."}}:{name:C,styles:o,next:Ee}},b6=function(e){return e()},Cn=N.useInsertionEffect?N.useInsertionEffect:!1,fn=Cn||b6,pn=Cn||N.useLayoutEffect,$1={}.hasOwnProperty,K1=N.createContext(typeof HTMLElement<"u"?qr({key:"css"}):null);process.env.NODE_ENV!=="production"&&(K1.displayName="EmotionCacheContext"),K1.Provider;var q1=function(e){return A.forwardRef(function(r,i){var n=A.useContext(K1);return e(r,n,i)})},I1=N.createContext({});process.env.NODE_ENV!=="production"&&(I1.displayName="EmotionThemeContext");var gn=function(e){var r=e.split(".");return r[r.length-1]},m6=function(e){var r=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);if(r||(r=/^([A-Za-z0-9$.]+)@/.exec(e),r))return gn(r[1])},h6=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),v6=function(e){return e.replace(/\$/g,"-")},I6=function(e){if(e)for(var r=e.split(`
|
449
|
+
`),i=0;i<r.length;i++){var n=m6(r[i]);if(n){if(h6.has(n))break;if(/^[A-Z]/.test(n))return v6(n)}}},et="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",tt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",A6=function(e,r){if(process.env.NODE_ENV!=="production"&&typeof r.css=="string"&&r.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+r.css+"`");var i={};for(var n in r)$1.call(r,n)&&(i[n]=r[n]);if(i[et]=e,process.env.NODE_ENV!=="production"&&r.css&&(typeof r.css!="object"||typeof r.css.name!="string"||r.css.name.indexOf("-")===-1)){var o=I6(new Error().stack);o&&(i[tt]=o)}return i},y6=function(e){var r=e.cache,i=e.serialized,n=e.isStringTag;return z1(r,i,n),fn(function(){return J1(r,i,n)}),null},bn=q1(function(t,e,r){var i=t.css;typeof i=="string"&&e.registered[i]!==void 0&&(i=e.registered[i]);var n=t[et],o=[i],u="";typeof t.className=="string"?u=rn(e.registered,o,t.className):t.className!=null&&(u=t.className+" ");var s=o1(o,void 0,N.useContext(I1));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var a=t[tt];a&&(s=o1([s,"label:"+a+";"]))}u+=e.key+"-"+s.name;var l={};for(var d in t)$1.call(t,d)&&d!=="css"&&d!==et&&(process.env.NODE_ENV==="production"||d!==tt)&&(l[d]=t[d]);return l.ref=r,l.className=u,N.createElement(N.Fragment,null,N.createElement(y6,{cache:e,serialized:s,isStringTag:typeof n=="string"}),N.createElement(n,l))});process.env.NODE_ENV!=="production"&&(bn.displayName="EmotionCssPropInternal");var E6=bn,_6={name:"@emotion/react",version:"11.11.3",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},P=function(e,r){var i=arguments;if(r==null||!$1.call(r,"css"))return N.createElement.apply(void 0,i);var n=i.length,o=new Array(n);o[0]=E6,o[1]=A6(e,r);for(var u=2;u<n;u++)o[u]=i[u];return N.createElement.apply(null,o)},mn=!1,x6=q1(function(t,e){process.env.NODE_ENV!=="production"&&!mn&&(t.className||t.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),mn=!0);var r=t.styles,i=o1([r],void 0,N.useContext(I1)),n=N.useRef();return pn(function(){var o=e.key+"-global",u=new e.sheet.constructor({key:o,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),s=!1,a=document.querySelector('style[data-emotion="'+o+" "+i.name+'"]');return e.sheet.tags.length&&(u.before=e.sheet.tags[0]),a!==null&&(s=!0,a.setAttribute("data-emotion",o),u.hydrate([a])),n.current=[u,s],function(){u.flush()}},[e]),pn(function(){var o=n.current,u=o[0],s=o[1];if(s){o[1]=!1;return}if(i.next!==void 0&&J1(e,i.next,!0),u.tags.length){var a=u.tags[u.tags.length-1].nextElementSibling;u.before=a,u.flush()}e.insert("",i,u,!1)},[e,i.name]),null});process.env.NODE_ENV!=="production"&&(x6.displayName="EmotionGlobal");function nt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return o1(e)}var L6=function(){var e=nt.apply(void 0,arguments),r="animation-"+e.name;return{name:r,styles:"@keyframes "+r+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},V6=function t(e){for(var r=e.length,i=0,n="";i<r;i++){var o=e[i];if(o!=null){var u=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))u=t(o);else{process.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),u="";for(var s in o)o[s]&&s&&(u&&(u+=" "),u+=s)}break}default:u=o}u&&(n&&(n+=" "),n+=u)}}return n};function T6(t,e,r){var i=[],n=rn(t,i,r);return i.length<2?r:n+e(i)}var P6=function(e){var r=e.cache,i=e.serializedArr;return fn(function(){for(var n=0;n<i.length;n++)J1(r,i[n],!1)}),null},S6=q1(function(t,e){var r=!1,i=[],n=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,d=new Array(l),C=0;C<l;C++)d[C]=arguments[C];var f=o1(d,e.registered);return i.push(f),z1(e,f,!1),e.key+"-"+f.name},o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,d=new Array(l),C=0;C<l;C++)d[C]=arguments[C];return T6(e.registered,n,V6(d))},u={css:n,cx:o,theme:N.useContext(I1)},s=t.children(u);return r=!0,N.createElement(N.Fragment,null,N.createElement(P6,{cache:e,serializedArr:i}),s)});if(process.env.NODE_ENV!=="production"&&(S6.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var hn=!0,H6=typeof jest<"u"||typeof vi<"u";if(hn&&!H6){var vn=typeof globalThis<"u"?globalThis:hn?window:global,In="__EMOTION_REACT_"+_6.version.split(".")[0]+"__";vn[In]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),vn[In]=!0}}function w6(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const N6=Math.min,G6=Math.max,A1=Math.round,y1=Math.floor,E1=t=>({x:t,y:t});function R6(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function An(t){return En(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function yn(t){var e;return(e=(En(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function En(t){return t instanceof Node||t instanceof _e(t).Node}function rt(t){return t instanceof Element||t instanceof _e(t).Element}function it(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function _n(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function xn(t){const{overflow:e,overflowX:r,overflowY:i,display:n}=ot(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function F6(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function M6(t){return["html","body","#document"].includes(An(t))}function ot(t){return _e(t).getComputedStyle(t)}function B6(t){if(An(t)==="html")return t;const e=t.assignedSlot||t.parentNode||_n(t)&&t.host||yn(t);return _n(e)?e.host:e}function Ln(t){const e=B6(t);return M6(e)?t.ownerDocument?t.ownerDocument.body:t.body:it(e)&&xn(e)?e:Ln(e)}function _1(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=Ln(t),o=n===((i=t.ownerDocument)==null?void 0:i.body),u=_e(n);return o?e.concat(u,u.visualViewport||[],xn(n)?n:[],u.frameElement&&r?_1(u.frameElement):[]):e.concat(n,_1(n,[],r))}function Z6(t){const e=ot(t);let r=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=it(t),o=n?t.offsetWidth:r,u=n?t.offsetHeight:i,s=A1(r)!==o||A1(i)!==u;return s&&(r=o,i=u),{width:r,height:i,$:s}}function at(t){return rt(t)?t:t.contextElement}function ut(t){const e=at(t);if(!it(e))return E1(1);const r=e.getBoundingClientRect(),{width:i,height:n,$:o}=Z6(e);let u=(o?A1(r.width):r.width)/i,s=(o?A1(r.height):r.height)/n;return(!u||!Number.isFinite(u))&&(u=1),(!s||!Number.isFinite(s))&&(s=1),{x:u,y:s}}const O6=E1(0);function D6(t){const e=_e(t);return!F6()||!e.visualViewport?O6:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function W6(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==_e(t)?!1:e}function Vn(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);const n=t.getBoundingClientRect(),o=at(t);let u=E1(1);e&&(i?rt(i)&&(u=ut(i)):u=ut(t));const s=W6(o,r,i)?D6(o):E1(0);let a=(n.left+s.x)/u.x,l=(n.top+s.y)/u.y,d=n.width/u.x,C=n.height/u.y;if(o){const f=_e(o),g=i&&rt(i)?_e(i):i;let p=f.frameElement;for(;p&&i&&g!==f;){const b=ut(p),h=p.getBoundingClientRect(),m=ot(p),y=h.left+(p.clientLeft+parseFloat(m.paddingLeft))*b.x,E=h.top+(p.clientTop+parseFloat(m.paddingTop))*b.y;a*=b.x,l*=b.y,d*=b.x,C*=b.y,a+=y,l+=E,p=_e(p).frameElement}}return R6({width:d,height:C,x:a,y:l})}function X6(t,e){let r=null,i;const n=yn(t);function o(){var s;clearTimeout(i),(s=r)==null||s.disconnect(),r=null}function u(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),o();const{left:l,top:d,width:C,height:f}=t.getBoundingClientRect();if(s||e(),!C||!f)return;const g=y1(d),p=y1(n.clientWidth-(l+C)),b=y1(n.clientHeight-(d+f)),h=y1(l),y={rootMargin:-g+"px "+-p+"px "+-b+"px "+-h+"px",threshold:G6(0,N6(1,a))||1};let E=!0;function L(v){const S=v[0].intersectionRatio;if(S!==a){if(!E)return u();S?u(!1,S):i=setTimeout(()=>{u(!1,1e-7)},100)}E=!1}try{r=new IntersectionObserver(L,{...y,root:n.ownerDocument})}catch{r=new IntersectionObserver(L,y)}r.observe(t)}return u(!0),o}function k6(t,e,r,i){i===void 0&&(i={});const{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,l=at(t),d=n||o?[...l?_1(l):[],..._1(e)]:[];d.forEach(m=>{n&&m.addEventListener("scroll",r,{passive:!0}),o&&m.addEventListener("resize",r)});const C=l&&s?X6(l,r):null;let f=-1,g=null;u&&(g=new ResizeObserver(m=>{let[y]=m;y&&y.target===l&&g&&(g.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var E;(E=g)==null||E.observe(e)})),r()}),l&&!a&&g.observe(l),g.observe(e));let p,b=a?Vn(t):null;a&&h();function h(){const m=Vn(t);b&&(m.x!==b.x||m.y!==b.y||m.width!==b.width||m.height!==b.height)&&r(),b=m,p=requestAnimationFrame(h)}return r(),()=>{var m;d.forEach(y=>{n&&y.removeEventListener("scroll",r),o&&y.removeEventListener("resize",r)}),C==null||C(),(m=g)==null||m.disconnect(),g=null,a&&cancelAnimationFrame(p)}}var st=A.useLayoutEffect,j6=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],x1=function(){};function Y6(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function z6(t,e){for(var r=arguments.length,i=new Array(r>2?r-2:0),n=2;n<r;n++)i[n-2]=arguments[n];var o=[].concat(i);if(e&&t)for(var u in e)e.hasOwnProperty(u)&&e[u]&&o.push("".concat(Y6(t,u)));return o.filter(function(s){return s}).map(function(s){return String(s).trim()}).join(" ")}var Tn=function(e){return ni(e)?e.filter(Boolean):Be(e)==="object"&&e!==null?[e]:[]},Pn=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var r=Pe(e,j6);return H({},r)},U=function(e,r,i){var n=e.cx,o=e.getStyles,u=e.getClassNames,s=e.className;return{css:o(r,e),className:n(i??{},u(r,e),s)}};function L1(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function J6(t){return L1(t)?window.innerHeight:t.clientHeight}function Sn(t){return L1(t)?window.pageYOffset:t.scrollTop}function V1(t,e){if(L1(t)){window.scrollTo(0,e);return}t.scrollTop=e}function U6(t){var e=getComputedStyle(t),r=e.position==="absolute",i=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var n=t;n=n.parentElement;)if(e=getComputedStyle(n),!(r&&e.position==="static")&&i.test(e.overflow+e.overflowY+e.overflowX))return n;return document.documentElement}function Q6(t,e,r,i){return r*((t=t/i-1)*t*t+1)+e}function T1(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:x1,n=Sn(t),o=e-n,u=10,s=0;function a(){s+=u;var l=Q6(s,n,o,r);V1(t,l),s<r?window.requestAnimationFrame(a):i(t)}a()}function Hn(t,e){var r=t.getBoundingClientRect(),i=e.getBoundingClientRect(),n=e.offsetHeight/3;i.bottom+n>r.bottom?V1(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+n,t.scrollHeight)):i.top-n<r.top&&V1(t,Math.max(e.offsetTop-n,0))}function $6(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function wn(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function K6(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Nn=!1,q6={get passive(){return Nn=!0}},P1=typeof window<"u"?window:{};P1.addEventListener&&P1.removeEventListener&&(P1.addEventListener("p",x1,q6),P1.removeEventListener("p",x1,!1));var ei=Nn;function ti(t){return t!=null}function ni(t){return Array.isArray(t)}function S1(t,e,r){return t?e:r}function x9(t){return t}function L9(t){return t}var ri=function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];var o=Object.entries(e).filter(function(u){var s=Te(u,1),a=s[0];return!i.includes(a)});return o.reduce(function(u,s){var a=Te(s,2),l=a[0],d=a[1];return u[l]=d,u},{})},ii=["children","innerProps"],oi=["children","innerProps"];function ai(t){var e=t.maxHeight,r=t.menuEl,i=t.minHeight,n=t.placement,o=t.shouldScroll,u=t.isFixedPosition,s=t.controlHeight,a=U6(r),l={placement:"bottom",maxHeight:e};if(!r||!r.offsetParent)return l;var d=a.getBoundingClientRect(),C=d.height,f=r.getBoundingClientRect(),g=f.bottom,p=f.height,b=f.top,h=r.offsetParent.getBoundingClientRect(),m=h.top,y=u?window.innerHeight:J6(a),E=Sn(a),L=parseInt(getComputedStyle(r).marginBottom,10),v=parseInt(getComputedStyle(r).marginTop,10),S=m-v,V=y-b,G=S+E,X=C-E-b,ee=g-y+E+L,ie=E+b-v,Q=160;switch(n){case"auto":case"bottom":if(V>=p)return{placement:"bottom",maxHeight:e};if(X>=p&&!u)return o&&T1(a,ee,Q),{placement:"bottom",maxHeight:e};if(!u&&X>=i||u&&V>=i){o&&T1(a,ee,Q);var $=u?V-L:X-L;return{placement:"bottom",maxHeight:$}}if(n==="auto"||u){var re=e,j=u?S:G;return j>=i&&(re=Math.min(j-L-s,e)),{placement:"top",maxHeight:re}}if(n==="bottom")return o&&V1(a,ee),{placement:"bottom",maxHeight:e};break;case"top":if(S>=p)return{placement:"top",maxHeight:e};if(G>=p&&!u)return o&&T1(a,ie,Q),{placement:"top",maxHeight:e};if(!u&&G>=i||u&&S>=i){var Y=e;return(!u&&G>=i||u&&S>=i)&&(Y=u?S-v:G-v),o&&T1(a,ie,Q),{placement:"top",maxHeight:Y}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return l}function ui(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Gn=function(e){return e==="auto"?"bottom":e},si=function(e,r){var i,n=e.placement,o=e.theme,u=o.borderRadius,s=o.spacing,a=o.colors;return H((i={label:"menu"},qe(i,ui(n),"100%"),qe(i,"position","absolute"),qe(i,"width","100%"),qe(i,"zIndex",1),i),r?{}:{backgroundColor:a.neutral0,borderRadius:u,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},Rn=A.createContext(null),li=function(e){var r=e.children,i=e.minMenuHeight,n=e.maxMenuHeight,o=e.menuPlacement,u=e.menuPosition,s=e.menuShouldScrollIntoView,a=e.theme,l=A.useContext(Rn)||{},d=l.setPortalPlacement,C=A.useRef(null),f=A.useState(n),g=Te(f,2),p=g[0],b=g[1],h=A.useState(null),m=Te(h,2),y=m[0],E=m[1],L=a.spacing.controlHeight;return st(function(){var v=C.current;if(v){var S=u==="fixed",V=s&&!S,G=ai({maxHeight:n,menuEl:v,minHeight:i,placement:o,shouldScroll:V,isFixedPosition:S,controlHeight:L});b(G.maxHeight),E(G.placement),d==null||d(G.placement)}},[n,o,u,s,i,d,L]),r({ref:C,placerProps:H(H({},e),{},{placement:y||Gn(o),maxHeight:p})})},ci=function(e){var r=e.children,i=e.innerRef,n=e.innerProps;return P("div",w({},U(e,"menu",{menu:!0}),{ref:i},n),r)},di=ci,Ci=function(e,r){var i=e.maxHeight,n=e.theme.spacing.baseUnit;return H({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},fi=function(e){var r=e.children,i=e.innerProps,n=e.innerRef,o=e.isMulti;return P("div",w({},U(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:n},i),r)},Fn=function(e,r){var i=e.theme,n=i.spacing.baseUnit,o=i.colors;return H({textAlign:"center"},r?{}:{color:o.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},pi=Fn,gi=Fn,bi=function(e){var r=e.children,i=r===void 0?"No options":r,n=e.innerProps,o=Pe(e,ii);return P("div",w({},U(H(H({},o),{},{children:i,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),i)},mi=function(e){var r=e.children,i=r===void 0?"Loading...":r,n=e.innerProps,o=Pe(e,oi);return P("div",w({},U(H(H({},o),{},{children:i,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),i)},hi=function(e){var r=e.rect,i=e.offset,n=e.position;return{left:r.left,position:n,top:i,width:r.width,zIndex:1}},Ii=function(e){var r=e.appendTo,i=e.children,n=e.controlElement,o=e.innerProps,u=e.menuPlacement,s=e.menuPosition,a=A.useRef(null),l=A.useRef(null),d=A.useState(Gn(u)),C=Te(d,2),f=C[0],g=C[1],p=A.useMemo(function(){return{setPortalPlacement:g}},[]),b=A.useState(null),h=Te(b,2),m=h[0],y=h[1],E=A.useCallback(function(){if(n){var V=$6(n),G=s==="fixed"?0:window.pageYOffset,X=V[f]+G;(X!==(m==null?void 0:m.offset)||V.left!==(m==null?void 0:m.rect.left)||V.width!==(m==null?void 0:m.rect.width))&&y({offset:X,rect:V})}},[n,s,f,m==null?void 0:m.offset,m==null?void 0:m.rect.left,m==null?void 0:m.rect.width]);st(function(){E()},[E]);var L=A.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),n&&a.current&&(l.current=k6(n,a.current,E,{elementResize:"ResizeObserver"in window}))},[n,E]);st(function(){L()},[L]);var v=A.useCallback(function(V){a.current=V,L()},[L]);if(!r&&s!=="fixed"||!m)return null;var S=P("div",w({ref:v},U(H(H({},e),{},{offset:m.offset,position:s,rect:m.rect}),"menuPortal",{"menu-portal":!0}),o),i);return P(Rn.Provider,{value:p},r?B3.createPortal(S,r):S)},Ai=function(e){var r=e.isDisabled,i=e.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},yi=function(e){var r=e.children,i=e.innerProps,n=e.isDisabled,o=e.isRtl;return P("div",w({},U(e,"container",{"--is-disabled":n,"--is-rtl":o}),i),r)},Ei=function(e,r){var i=e.theme.spacing,n=e.isMulti,o=e.hasValue,u=e.selectProps.controlShouldRenderValue;return H({alignItems:"center",display:n&&o&&u?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},_i=function(e){var r=e.children,i=e.innerProps,n=e.isMulti,o=e.hasValue;return P("div",w({},U(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":o}),i),r)},xi=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Li=function(e){var r=e.children,i=e.innerProps;return P("div",w({},U(e,"indicatorsContainer",{indicators:!0}),i),r)},Mn,Vi=["size"],Ti=["innerProps","isRtl","size"];function Pi(){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 Si=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT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RoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:Pi},Bn=function(e){var r=e.size,i=Pe(e,Vi);return P("svg",w({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Si},i))},lt=function(e){return P(Bn,w({size:20},e),P("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"}))},Zn=function(e){return P(Bn,w({size:20},e),P("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"}))},On=function(e,r){var i=e.isFocused,n=e.theme,o=n.spacing.baseUnit,u=n.colors;return H({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:i?u.neutral60:u.neutral20,padding:o*2,":hover":{color:i?u.neutral80:u.neutral40}})},Hi=On,wi=function(e){var r=e.children,i=e.innerProps;return P("div",w({},U(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),r||P(Zn,null))},Ni=On,Gi=function(e){var r=e.children,i=e.innerProps;return P("div",w({},U(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),r||P(lt,null))},Ri=function(e,r){var i=e.isDisabled,n=e.theme,o=n.spacing.baseUnit,u=n.colors;return H({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:i?u.neutral10:u.neutral20,marginBottom:o*2,marginTop:o*2})},Fi=function(e){var r=e.innerProps;return P("span",w({},r,U(e,"indicatorSeparator",{"indicator-separator":!0})))},Mi=L6(Mn||(Mn=w6([`
|
450
|
+
0%, 80%, 100% { opacity: 0; }
|
451
|
+
40% { opacity: 1; }
|
452
|
+
`]))),Bi=function(e,r){var i=e.isFocused,n=e.size,o=e.theme,u=o.colors,s=o.spacing.baseUnit;return H({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:i?u.neutral60:u.neutral20,padding:s*2})},ct=function(e){var r=e.delay,i=e.offset;return P("span",{css:nt({animation:"".concat(Mi," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdm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wsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},Zi=function(e){var r=e.innerProps,i=e.isRtl,n=e.size,o=n===void 0?4:n,u=Pe(e,Ti);return P("div",w({},U(H(H({},u),{},{innerProps:r,isRtl:i,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),P(ct,{delay:0,offset:i}),P(ct,{delay:160,offset:!0}),P(ct,{delay:320,offset:!i}))},Oi=function(e,r){var i=e.isDisabled,n=e.isFocused,o=e.theme,u=o.colors,s=o.borderRadius,a=o.spacing;return H({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:i?u.neutral5:u.neutral0,borderColor:i?u.neutral10:n?u.primary:u.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(u.primary):void 0,"&:hover":{borderColor:n?u.primary:u.neutral30}})},Di=function(e){var r=e.children,i=e.isDisabled,n=e.isFocused,o=e.innerRef,u=e.innerProps,s=e.menuIsOpen;return P("div",w({ref:o},U(e,"control",{control:!0,"control--is-disabled":i,"control--is-focused":n,"control--menu-is-open":s}),u,{"aria-disabled":i||void 0}),r)},Wi=Di,Xi=["data"],ki=function(e,r){var i=e.theme.spacing;return r?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},ji=function(e){var r=e.children,i=e.cx,n=e.getStyles,o=e.getClassNames,u=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,d=e.theme,C=e.selectProps;return P("div",w({},U(e,"group",{group:!0}),a),P(u,w({},s,{selectProps:C,theme:d,getStyles:n,getClassNames:o,cx:i}),l),P("div",null,r))},Yi=function(e,r){var i=e.theme,n=i.colors,o=i.spacing;return H({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},zi=function(e){var r=Pn(e);r.data;var i=Pe(r,Xi);return P("div",w({},U(e,"groupHeading",{"group-heading":!0}),i))},Ji=ji,Ui=["innerRef","isDisabled","isHidden","inputClassName"],Qi=function(e,r){var i=e.isDisabled,n=e.value,o=e.theme,u=o.spacing,s=o.colors;return H(H({visibility:i?"hidden":"visible",transform:n?"translateZ(0)":""},$i),r?{}:{margin:u.baseUnit/2,paddingBottom:u.baseUnit/2,paddingTop:u.baseUnit/2,color:s.neutral80})},Dn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},$i={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":H({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Dn)},Ki=function(e){return H({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Dn)},qi=function(e){var r=e.cx,i=e.value,n=Pn(e),o=n.innerRef,u=n.isDisabled,s=n.isHidden,a=n.inputClassName,l=Pe(n,Ui);return P("div",w({},U(e,"input",{"input-container":!0}),{"data-value":i||""}),P("input",w({className:r({input:!0},a),ref:o,style:Ki(s),disabled:u},l)))},eo=qi,to=function(e,r){var i=e.theme,n=i.spacing,o=i.borderRadius,u=i.colors;return H({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:u.neutral10,borderRadius:o/2,margin:n.baseUnit/2})},no=function(e,r){var i=e.theme,n=i.borderRadius,o=i.colors,u=e.cropWithEllipsis;return H({overflow:"hidden",textOverflow:u||u===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},ro=function(e,r){var i=e.theme,n=i.spacing,o=i.borderRadius,u=i.colors,s=e.isFocused;return H({alignItems:"center",display:"flex"},r?{}:{borderRadius:o/2,backgroundColor:s?u.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:u.dangerLight,color:u.danger}})},Wn=function(e){var r=e.children,i=e.innerProps;return P("div",i,r)},io=Wn,oo=Wn;function ao(t){var e=t.children,r=t.innerProps;return P("div",w({role:"button"},r),e||P(lt,{size:14}))}var uo=function(e){var r=e.children,i=e.components,n=e.data,o=e.innerProps,u=e.isDisabled,s=e.removeProps,a=e.selectProps,l=i.Container,d=i.Label,C=i.Remove;return P(l,{data:n,innerProps:H(H({},U(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":u})),o),selectProps:a},P(d,{data:n,innerProps:H({},U(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},r),P(C,{data:n,innerProps:H(H({},U(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},s),selectProps:a}))},so=uo,lo=function(e,r){var i=e.isDisabled,n=e.isFocused,o=e.isSelected,u=e.theme,s=u.spacing,a=u.colors;return H({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:o?a.primary:n?a.primary25:"transparent",color:i?a.neutral20:o?a.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:o?a.primary:a.primary50}})},co=function(e){var r=e.children,i=e.isDisabled,n=e.isFocused,o=e.isSelected,u=e.innerRef,s=e.innerProps;return P("div",w({},U(e,"option",{option:!0,"option--is-disabled":i,"option--is-focused":n,"option--is-selected":o}),{ref:u,"aria-disabled":i},s),r)},Co=co,fo=function(e,r){var i=e.theme,n=i.spacing,o=i.colors;return H({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:o.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},po=function(e){var r=e.children,i=e.innerProps;return P("div",w({},U(e,"placeholder",{placeholder:!0}),i),r)},go=po,bo=function(e,r){var i=e.isDisabled,n=e.theme,o=n.spacing,u=n.colors;return H({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:i?u.neutral40:u.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},mo=function(e){var r=e.children,i=e.isDisabled,n=e.innerProps;return P("div",w({},U(e,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),n),r)},ho=mo,H1={ClearIndicator:Gi,Control:Wi,DropdownIndicator:wi,DownChevron:Zn,CrossIcon:lt,Group:Ji,GroupHeading:zi,IndicatorsContainer:Li,IndicatorSeparator:Fi,Input:eo,LoadingIndicator:Zi,Menu:di,MenuList:fi,MenuPortal:Ii,LoadingMessage:mi,NoOptionsMessage:bi,MultiValue:so,MultiValueContainer:io,MultiValueLabel:oo,MultiValueRemove:ao,Option:Co,Placeholder:go,SelectContainer:yi,SingleValue:ho,ValueContainer:_i},vo=function(e){return H(H({},H1),e.components)},Xn=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Io(t,e){return!!(t===e||Xn(t)&&Xn(e))}function Ao(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!Io(t[r],e[r]))return!1;return!0}function yo(t,e){e===void 0&&(e=Ao);var r=null;function i(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(r&&r.lastThis===this&&e(n,r.lastArgs))return r.lastResult;var u=t.apply(this,n);return r={lastResult:u,lastArgs:n,lastThis:this},u}return i.clear=function(){r=null},i}function Eo(){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 _o=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Eo},xo=function(e){return P("span",w({css:_o},e))},kn=xo,Lo={guidance:function(e){var r=e.isSearchable,i=e.isMulti,n=e.tabSelectsValue,o=e.context,u=e.isInitialFocus;switch(o){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(n?", press Tab to select the option and exit the menu":"",".");case"input":return u?"".concat(e["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(i?" 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(e){var r=e.action,i=e.label,n=i===void 0?"":i,o=e.labels,u=e.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return u?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(e){var r=e.context,i=e.focused,n=e.options,o=e.label,u=o===void 0?"":o,s=e.selectValue,a=e.isDisabled,l=e.isSelected,d=e.isAppleDevice,C=function(b,h){return b&&b.length?"".concat(b.indexOf(h)+1," of ").concat(b.length):""};if(r==="value"&&s)return"value ".concat(u," focused, ").concat(C(s,i),".");if(r==="menu"&&d){var f=a?" disabled":"",g="".concat(l?" selected":"").concat(f);return"".concat(u).concat(g,", ").concat(C(n,i),".")}return""},onFilter:function(e){var r=e.inputValue,i=e.resultsMessage;return"".concat(i).concat(r?" for search term "+r:"",".")}},Vo=function(e){var r=e.ariaSelection,i=e.focusedOption,n=e.focusedValue,o=e.focusableOptions,u=e.isFocused,s=e.selectValue,a=e.selectProps,l=e.id,d=e.isAppleDevice,C=a.ariaLiveMessages,f=a.getOptionLabel,g=a.inputValue,p=a.isMulti,b=a.isOptionDisabled,h=a.isSearchable,m=a.menuIsOpen,y=a.options,E=a.screenReaderStatus,L=a.tabSelectsValue,v=a.isLoading,S=a["aria-label"],V=a["aria-live"],G=A.useMemo(function(){return H(H({},Lo),C||{})},[C]),X=A.useMemo(function(){var j="";if(r&&G.onChange){var Y=r.option,de=r.options,oe=r.removedValue,me=r.removedValues,pe=r.value,Se=function(ce){return Array.isArray(ce)?null:ce},z=oe||Y||Se(pe),ae=z?f(z):"",he=de||me||void 0,Ie=he?he.map(f):[],se=H({isDisabled:z&&b(z,s),label:ae,labels:Ie},r);j=G.onChange(se)}return j},[r,G,b,s,f]),ee=A.useMemo(function(){var j="",Y=i||n,de=!!(i&&s&&s.includes(i));if(Y&&G.onFocus){var oe={focused:Y,label:f(Y),isDisabled:b(Y,s),isSelected:de,options:o,context:Y===i?"menu":"value",selectValue:s,isAppleDevice:d};j=G.onFocus(oe)}return j},[i,n,f,b,G,o,s,d]),ie=A.useMemo(function(){var j="";if(m&&y.length&&!v&&G.onFilter){var Y=E({count:o.length});j=G.onFilter({inputValue:g,resultsMessage:Y})}return j},[o,g,m,G,y,E,v]),Q=(r==null?void 0:r.action)==="initial-input-focus",$=A.useMemo(function(){var j="";if(G.guidance){var Y=n?"value":m?"menu":"input";j=G.guidance({"aria-label":S,context:Y,isDisabled:i&&b(i,s),isMulti:p,isSearchable:h,tabSelectsValue:L,isInitialFocus:Q})}return j},[S,i,n,p,b,h,m,G,s,L,Q]),re=P(A.Fragment,null,P("span",{id:"aria-selection"},X),P("span",{id:"aria-focused"},ee),P("span",{id:"aria-results"},ie),P("span",{id:"aria-guidance"},$));return P(A.Fragment,null,P(kn,{id:l},Q&&re),P(kn,{"aria-live":V,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},u&&!Q&&re))},To=Vo,dt=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Po=new RegExp("["+dt.map(function(t){return t.letters}).join("")+"]","g"),jn={},Ct=0;Ct<dt.length;Ct++)for(var ft=dt[Ct],pt=0;pt<ft.letters.length;pt++)jn[ft.letters[pt]]=ft.base;var Yn=function(e){return e.replace(Po,function(r){return jn[r]})},So=yo(Yn),zn=function(e){return e.replace(/^\s+|\s+$/g,"")},Ho=function(e){return"".concat(e.label," ").concat(e.value)},wo=function(e){return function(r,i){if(r.data.__isNew__)return!0;var n=H({ignoreCase:!0,ignoreAccents:!0,stringify:Ho,trim:!0,matchFrom:"any"},e),o=n.ignoreCase,u=n.ignoreAccents,s=n.stringify,a=n.trim,l=n.matchFrom,d=a?zn(i):i,C=a?zn(s(r)):s(r);return o&&(d=d.toLowerCase(),C=C.toLowerCase()),u&&(d=So(d),C=Yn(C)),l==="start"?C.substr(0,d.length)===d:C.indexOf(d)>-1}},No=["innerRef"];function Go(t){var e=t.innerRef,r=Pe(t,No),i=ri(r,"onExited","in","enter","exit","appear");return P("input",w({ref:e},i,{css:nt({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb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N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Ro=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Fo(t){var e=t.isEnabled,r=t.onBottomArrive,i=t.onBottomLeave,n=t.onTopArrive,o=t.onTopLeave,u=A.useRef(!1),s=A.useRef(!1),a=A.useRef(0),l=A.useRef(null),d=A.useCallback(function(h,m){if(l.current!==null){var y=l.current,E=y.scrollTop,L=y.scrollHeight,v=y.clientHeight,S=l.current,V=m>0,G=L-v-E,X=!1;G>m&&u.current&&(i&&i(h),u.current=!1),V&&s.current&&(o&&o(h),s.current=!1),V&&m>G?(r&&!u.current&&r(h),S.scrollTop=L,X=!0,u.current=!0):!V&&-m>E&&(n&&!s.current&&n(h),S.scrollTop=0,X=!0,s.current=!0),X&&Ro(h)}},[r,i,n,o]),C=A.useCallback(function(h){d(h,h.deltaY)},[d]),f=A.useCallback(function(h){a.current=h.changedTouches[0].clientY},[]),g=A.useCallback(function(h){var m=a.current-h.changedTouches[0].clientY;d(h,m)},[d]),p=A.useCallback(function(h){if(h){var m=ei?{passive:!1}:!1;h.addEventListener("wheel",C,m),h.addEventListener("touchstart",f,m),h.addEventListener("touchmove",g,m)}},[g,f,C]),b=A.useCallback(function(h){h&&(h.removeEventListener("wheel",C,!1),h.removeEventListener("touchstart",f,!1),h.removeEventListener("touchmove",g,!1))},[g,f,C]);return A.useEffect(function(){if(e){var h=l.current;return p(h),function(){b(h)}}},[e,p,b]),function(h){l.current=h}}var Jn=["boxSizing","height","overflow","paddingRight","position"],Un={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Qn(t){t.preventDefault()}function $n(t){t.stopPropagation()}function Kn(){var t=this.scrollTop,e=this.scrollHeight,r=t+this.offsetHeight;t===0?this.scrollTop=1:r===e&&(this.scrollTop=t-1)}function qn(){return"ontouchstart"in window||navigator.maxTouchPoints}var e3=!!(typeof window<"u"&&window.document&&window.document.createElement),a1=0,je={capture:!1,passive:!1};function Mo(t){var e=t.isEnabled,r=t.accountForScrollbars,i=r===void 0?!0:r,n=A.useRef({}),o=A.useRef(null),u=A.useCallback(function(a){if(e3){var l=document.body,d=l&&l.style;if(i&&Jn.forEach(function(p){var b=d&&d[p];n.current[p]=b}),i&&a1<1){var C=parseInt(n.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,g=window.innerWidth-f+C||0;Object.keys(Un).forEach(function(p){var b=Un[p];d&&(d[p]=b)}),d&&(d.paddingRight="".concat(g,"px"))}l&&qn()&&(l.addEventListener("touchmove",Qn,je),a&&(a.addEventListener("touchstart",Kn,je),a.addEventListener("touchmove",$n,je))),a1+=1}},[i]),s=A.useCallback(function(a){if(e3){var l=document.body,d=l&&l.style;a1=Math.max(a1-1,0),i&&a1<1&&Jn.forEach(function(C){var f=n.current[C];d&&(d[C]=f)}),l&&qn()&&(l.removeEventListener("touchmove",Qn,je),a&&(a.removeEventListener("touchstart",Kn,je),a.removeEventListener("touchmove",$n,je)))}},[i]);return A.useEffect(function(){if(e){var a=o.current;return u(a),function(){s(a)}}},[e,u,s]),function(a){o.current=a}}function Bo(){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 Zo=function(e){var r=e.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},Oo=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+IHZvaWQ7XG4gIHJlYWRvbmx5IG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XJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Bo};function Do(t){var e=t.children,r=t.lockEnabled,i=t.captureEnabled,n=i===void 0?!0:i,o=t.onBottomArrive,u=t.onBottomLeave,s=t.onTopArrive,a=t.onTopLeave,l=Fo({isEnabled:n,onBottomArrive:o,onBottomLeave:u,onTopArrive:s,onTopLeave:a}),d=Mo({isEnabled:r}),C=function(g){l(g),d(g)};return P(A.Fragment,null,r&&P("div",{onClick:Zo,css:Oo}),e(C))}function Wo(){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 Xo=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,eyJ2ZXJzaW9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cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:Wo},ko=function(e){var r=e.name,i=e.onFocus;return P("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:Xo,value:"",onChange:function(){}})},jo=ko;function gt(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Yo(){return gt(/^iPhone/i)}function t3(){return gt(/^Mac/i)}function zo(){return gt(/^iPad/i)||t3()&&navigator.maxTouchPoints>1}function Jo(){return Yo()||zo()}function Uo(){return t3()||Jo()}var Qo=function(e){return e.label},$o=function(e){return e.label},Ko=function(e){return e.value},qo=function(e){return!!e.isDisabled},ea={clearIndicator:Ni,container:Ai,control:Oi,dropdownIndicator:Hi,group:ki,groupHeading:Yi,indicatorsContainer:xi,indicatorSeparator:Ri,input:Qi,loadingIndicator:Bi,loadingMessage:gi,menu:si,menuList:Ci,menuPortal:hi,multiValue:to,multiValueLabel:no,multiValueRemove:ro,noOptionsMessage:pi,option:lo,placeholder:fo,singleValue:bo,valueContainer:Ei},ta={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%)"},na=4,n3=4,ra=38,ia=n3*2,oa={baseUnit:n3,controlHeight:ra,menuGutter:ia},bt={borderRadius:na,colors:ta,spacing:oa},aa={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:wn(),captureMenuScroll:!wn(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:wo(),formatGroupLabel:Qo,getOptionLabel:$o,getOptionValue:Ko,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:qo,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!K6(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var r=e.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function r3(t,e,r,i){var n=s3(t,e,r),o=l3(t,e,r),u=u3(t,e),s=N1(t,e);return{type:"option",data:e,isDisabled:n,isSelected:o,label:u,value:s,index:i}}function w1(t,e){return t.options.map(function(r,i){if("options"in r){var n=r.options.map(function(u,s){return r3(t,u,e,s)}).filter(function(u){return a3(t,u)});return n.length>0?{type:"group",data:r,options:n,index:i}:void 0}var o=r3(t,r,e,i);return a3(t,o)?o:void 0}).filter(ti)}function i3(t){return t.reduce(function(e,r){return r.type==="group"?e.push.apply(e,Z1(r.options.map(function(i){return i.data}))):e.push(r.data),e},[])}function o3(t,e){return t.reduce(function(r,i){return i.type==="group"?r.push.apply(r,Z1(i.options.map(function(n){return{data:n.data,id:"".concat(e,"-").concat(i.index,"-").concat(n.index)}}))):r.push({data:i.data,id:"".concat(e,"-").concat(i.index)}),r},[])}function ua(t,e){return i3(w1(t,e))}function a3(t,e){var r=t.inputValue,i=r===void 0?"":r,n=e.data,o=e.isSelected,u=e.label,s=e.value;return(!d3(t)||!o)&&c3(t,{label:u,value:s,data:n},i)}function sa(t,e){var r=t.focusedValue,i=t.selectValue,n=i.indexOf(r);if(n>-1){var o=e.indexOf(r);if(o>-1)return r;if(n<e.length)return e[n]}return null}function la(t,e){var r=t.focusedOption;return r&&e.indexOf(r)>-1?r:e[0]}var mt=function(e,r){var i,n=(i=e.find(function(o){return o.data===r}))===null||i===void 0?void 0:i.id;return n||null},u3=function(e,r){return e.getOptionLabel(r)},N1=function(e,r){return e.getOptionValue(r)};function s3(t,e,r){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,r):!1}function l3(t,e,r){if(r.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,r);var i=N1(t,e);return r.some(function(n){return N1(t,n)===i})}function c3(t,e,r){return t.filterOption?t.filterOption(e,r):!0}var d3=function(e){var r=e.hideSelectedOptions,i=e.isMulti;return r===void 0?i:r},ca=1,C3=function(t){Cr(r,t);var e=gr(r);function r(i){var n;if(cr(this,r),n=e.call(this,i),n.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:""},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.isAppleDevice=Uo(),n.controlRef=null,n.getControlRef=function(a){n.controlRef=a},n.focusedOptionRef=null,n.getFocusedOptionRef=function(a){n.focusedOptionRef=a},n.menuListRef=null,n.getMenuListRef=function(a){n.menuListRef=a},n.inputRef=null,n.getInputRef=function(a){n.inputRef=a},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(a,l){var d=n.props,C=d.onChange,f=d.name;l.name=f,n.ariaOnChange(a,l),C(a,l)},n.setValue=function(a,l,d){var C=n.props,f=C.closeMenuOnSelect,g=C.isMulti,p=C.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:p}),f&&(n.setState({inputIsHiddenAfterUpdate:!g}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(a,{action:l,option:d})},n.selectOption=function(a){var l=n.props,d=l.blurInputOnSelect,C=l.isMulti,f=l.name,g=n.state.selectValue,p=C&&n.isOptionSelected(a,g),b=n.isOptionDisabled(a,g);if(p){var h=n.getOptionValue(a);n.setValue(g.filter(function(m){return n.getOptionValue(m)!==h}),"deselect-option",a)}else if(!b)C?n.setValue([].concat(Z1(g),[a]),"select-option",a):n.setValue(a,"select-option");else{n.ariaOnChange(a,{action:"select-option",option:a,name:f});return}d&&n.blurInput()},n.removeValue=function(a){var l=n.props.isMulti,d=n.state.selectValue,C=n.getOptionValue(a),f=d.filter(function(p){return n.getOptionValue(p)!==C}),g=S1(l,f,f[0]||null);n.onChange(g,{action:"remove-value",removedValue:a}),n.focusInput()},n.clearValue=function(){var a=n.state.selectValue;n.onChange(S1(n.props.isMulti,[],null),{action:"clear",removedValues:a})},n.popValue=function(){var a=n.props.isMulti,l=n.state.selectValue,d=l[l.length-1],C=l.slice(0,l.length-1),f=S1(a,C,C[0]||null);n.onChange(f,{action:"pop-value",removedValue:d})},n.getFocusedOptionId=function(a){return mt(n.state.focusableOptionsWithIds,a)},n.getFocusableOptionsWithIds=function(){return o3(w1(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var a=arguments.length,l=new Array(a),d=0;d<a;d++)l[d]=arguments[d];return z6.apply(void 0,[n.props.classNamePrefix].concat(l))},n.getOptionLabel=function(a){return u3(n.props,a)},n.getOptionValue=function(a){return N1(n.props,a)},n.getStyles=function(a,l){var d=n.props.unstyled,C=ea[a](l,d);C.boxSizing="border-box";var f=n.props.styles[a];return f?f(C,l):C},n.getClassNames=function(a,l){var d,C;return(d=(C=n.props.classNames)[a])===null||d===void 0?void 0:d.call(C,l)},n.getElementId=function(a){return"".concat(n.state.instancePrefix,"-").concat(a)},n.getComponents=function(){return vo(n.props)},n.buildCategorizedOptions=function(){return w1(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return i3(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(a,l){n.setState({ariaSelection:H({value:a},l)})},n.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(a){n.blockOptionHover=!1},n.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&n.onMenuClose():l&&n.openMenu("first"):(l&&(n.openAfterFocus=!0),n.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},n.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!n.props.isDisabled){var l=n.props,d=l.isMulti,C=l.menuIsOpen;n.focusInput(),C?(n.setState({inputIsHiddenAfterUpdate:!d}),n.onMenuClose()):n.openMenu("first"),a.preventDefault()}},n.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(n.clearValue(),a.preventDefault(),n.openAfterFocus=!1,a.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(a){typeof n.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&L1(a.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(a)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(a){var l=a.touches,d=l&&l.item(0);d&&(n.initialTouchX=d.clientX,n.initialTouchY=d.clientY,n.userIsDragging=!1)},n.onTouchMove=function(a){var l=a.touches,d=l&&l.item(0);if(d){var C=Math.abs(d.clientX-n.initialTouchX),f=Math.abs(d.clientY-n.initialTouchY),g=5;n.userIsDragging=C>g||f>g}},n.onTouchEnd=function(a){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(a.target)&&n.menuListRef&&!n.menuListRef.contains(a.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(a){n.userIsDragging||n.onControlMouseDown(a)},n.onClearIndicatorTouchEnd=function(a){n.userIsDragging||n.onClearIndicatorMouseDown(a)},n.onDropdownIndicatorTouchEnd=function(a){n.userIsDragging||n.onDropdownIndicatorMouseDown(a)},n.handleInputChange=function(a){var l=n.props.inputValue,d=a.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(d,{action:"input-change",prevInputValue:l}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(a){n.props.onFocus&&n.props.onFocus(a),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(a){var l=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(a),n.onInputChange("",{action:"input-blur",prevInputValue:l}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(a){if(!(n.blockOptionHover||n.state.focusedOption===a)){var l=n.getFocusableOptions(),d=l.indexOf(a);n.setState({focusedOption:a,focusedOptionId:d>-1?n.getFocusedOptionId(a):null})}},n.shouldHideSelectedOptions=function(){return d3(n.props)},n.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),n.focus()},n.onKeyDown=function(a){var l=n.props,d=l.isMulti,C=l.backspaceRemovesValue,f=l.escapeClearsValue,g=l.inputValue,p=l.isClearable,b=l.isDisabled,h=l.menuIsOpen,m=l.onKeyDown,y=l.tabSelectsValue,E=l.openMenuOnFocus,L=n.state,v=L.focusedOption,S=L.focusedValue,V=L.selectValue;if(!b&&!(typeof m=="function"&&(m(a),a.defaultPrevented))){switch(n.blockOptionHover=!0,a.key){case"ArrowLeft":if(!d||g)return;n.focusValue("previous");break;case"ArrowRight":if(!d||g)return;n.focusValue("next");break;case"Delete":case"Backspace":if(g)return;if(S)n.removeValue(S);else{if(!C)return;d?n.popValue():p&&n.clearValue()}break;case"Tab":if(n.isComposing||a.shiftKey||!h||!y||!v||E&&n.isOptionSelected(v,V))return;n.selectOption(v);break;case"Enter":if(a.keyCode===229)break;if(h){if(!v||n.isComposing)return;n.selectOption(v);break}return;case"Escape":h?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:g}),n.onMenuClose()):p&&f&&n.clearValue();break;case" ":if(g)return;if(!h){n.openMenu("first");break}if(!v)return;n.selectOption(v);break;case"ArrowUp":h?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":h?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!h)return;n.focusOption("pageup");break;case"PageDown":if(!h)return;n.focusOption("pagedown");break;case"Home":if(!h)return;n.focusOption("first");break;case"End":if(!h)return;n.focusOption("last");break;default:return}a.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++ca),n.state.selectValue=Tn(i.value),i.menuIsOpen&&n.state.selectValue.length){var o=n.getFocusableOptionsWithIds(),u=n.buildFocusableOptions(),s=u.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=o,n.state.focusedOption=u[s],n.state.focusedOptionId=mt(o,u[s])}return n}return dr(r,[{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&&Hn(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(n){var o=this.props,u=o.isDisabled,s=o.menuIsOpen,a=this.state.isFocused;(a&&!u&&n.isDisabled||a&&s&&!n.menuIsOpen)&&this.focusInput(),a&&u&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!u&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Hn(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(n,o){this.props.onInputChange(n,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var o=this,u=this.state,s=u.selectValue,a=u.isFocused,l=this.buildFocusableOptions(),d=n==="first"?0:l.length-1;if(!this.props.isMulti){var C=l.indexOf(s[0]);C>-1&&(d=C)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[d],focusedOptionId:this.getFocusedOptionId(l[d])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(n){var o=this.state,u=o.selectValue,s=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=u.indexOf(s);s||(a=-1);var l=u.length-1,d=-1;if(u.length){switch(n){case"previous":a===0?d=0:a===-1?d=l:d=a-1;break;case"next":a>-1&&a<l&&(d=a+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:u[d]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,u=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var a=0,l=s.indexOf(u);u||(l=-1),n==="up"?a=l>0?l-1:s.length-1:n==="down"?a=(l+1)%s.length:n==="pageup"?(a=l-o,a<0&&(a=0)):n==="pagedown"?(a=l+o,a>s.length-1&&(a=s.length-1)):n==="last"&&(a=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(bt):H(H({},bt),this.props.theme):bt}},{key:"getCommonProps",value:function(){var n=this.clearValue,o=this.cx,u=this.getStyles,s=this.getClassNames,a=this.getValue,l=this.selectOption,d=this.setValue,C=this.props,f=C.isMulti,g=C.isRtl,p=C.options,b=this.hasValue();return{clearValue:n,cx:o,getStyles:u,getClassNames:s,getValue:a,hasValue:b,isMulti:f,isRtl:g,options:p,selectOption:l,selectProps:C,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,o=n.isClearable,u=n.isMulti;return o===void 0?u:o}},{key:"isOptionDisabled",value:function(n,o){return s3(this.props,n,o)}},{key:"isOptionSelected",value:function(n,o){return l3(this.props,n,o)}},{key:"filterOption",value:function(n,o){return c3(this.props,n,o)}},{key:"formatOptionLabel",value:function(n,o){if(typeof this.props.formatOptionLabel=="function"){var u=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(n,{context:o,inputValue:u,selectValue:s})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{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 n=this.props,o=n.isDisabled,u=n.isSearchable,s=n.inputId,a=n.inputValue,l=n.tabIndex,d=n.form,C=n.menuIsOpen,f=n.required,g=this.getComponents(),p=g.Input,b=this.state,h=b.inputIsHidden,m=b.ariaSelection,y=this.commonProps,E=s||this.getElementId("input"),L=H(H(H({"aria-autocomplete":"list","aria-expanded":C,"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":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},C&&{"aria-controls":this.getElementId("listbox")}),!u&&{"aria-readonly":!0}),this.hasValue()?(m==null?void 0:m.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return u?N.createElement(p,w({},y,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:E,innerRef:this.getInputRef,isDisabled:o,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:d,type:"text",value:a},L)):N.createElement(Go,w({id:E,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:x1,onFocus:this.onInputFocus,disabled:o,tabIndex:l,inputMode:"none",form:d,value:""},L))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,o=this.getComponents(),u=o.MultiValue,s=o.MultiValueContainer,a=o.MultiValueLabel,l=o.MultiValueRemove,d=o.SingleValue,C=o.Placeholder,f=this.commonProps,g=this.props,p=g.controlShouldRenderValue,b=g.isDisabled,h=g.isMulti,m=g.inputValue,y=g.placeholder,E=this.state,L=E.selectValue,v=E.focusedValue,S=E.isFocused;if(!this.hasValue()||!p)return m?null:N.createElement(C,w({},f,{key:"placeholder",isDisabled:b,isFocused:S,innerProps:{id:this.getElementId("placeholder")}}),y);if(h)return L.map(function(G,X){var ee=G===v,ie="".concat(n.getOptionLabel(G),"-").concat(n.getOptionValue(G));return N.createElement(u,w({},f,{components:{Container:s,Label:a,Remove:l},isFocused:ee,isDisabled:b,key:ie,index:X,removeProps:{onClick:function(){return n.removeValue(G)},onTouchEnd:function(){return n.removeValue(G)},onMouseDown:function($){$.preventDefault()}},data:G}),n.formatOptionLabel(G,"value"))});if(m)return null;var V=L[0];return N.createElement(d,w({},f,{data:V,isDisabled:b}),this.formatOptionLabel(V,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),o=n.ClearIndicator,u=this.commonProps,s=this.props,a=s.isDisabled,l=s.isLoading,d=this.state.isFocused;if(!this.isClearable()||!o||a||!this.hasValue()||l)return null;var C={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return N.createElement(o,w({},u,{innerProps:C,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),o=n.LoadingIndicator,u=this.commonProps,s=this.props,a=s.isDisabled,l=s.isLoading,d=this.state.isFocused;if(!o||!l)return null;var C={"aria-hidden":"true"};return N.createElement(o,w({},u,{innerProps:C,isDisabled:a,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),o=n.DropdownIndicator,u=n.IndicatorSeparator;if(!o||!u)return null;var s=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return N.createElement(u,w({},s,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),o=n.DropdownIndicator;if(!o)return null;var u=this.commonProps,s=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return N.createElement(o,w({},u,{innerProps:l,isDisabled:s,isFocused:a}))}},{key:"renderMenu",value:function(){var n=this,o=this.getComponents(),u=o.Group,s=o.GroupHeading,a=o.Menu,l=o.MenuList,d=o.MenuPortal,C=o.LoadingMessage,f=o.NoOptionsMessage,g=o.Option,p=this.commonProps,b=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,y=h.inputValue,E=h.isLoading,L=h.loadingMessage,v=h.minMenuHeight,S=h.maxMenuHeight,V=h.menuIsOpen,G=h.menuPlacement,X=h.menuPosition,ee=h.menuPortalTarget,ie=h.menuShouldBlockScroll,Q=h.menuShouldScrollIntoView,$=h.noOptionsMessage,re=h.onMenuScrollToTop,j=h.onMenuScrollToBottom;if(!V)return null;var Y=function(ae,he){var Ie=ae.type,se=ae.data,ge=ae.isDisabled,ce=ae.isSelected,Ve=ae.label,Fe=ae.value,Ye=b===se,T=ge?void 0:function(){return n.onOptionHover(se)},Ze=ge?void 0:function(){return n.selectOption(se)},He="".concat(n.getElementId("option"),"-").concat(he),we={id:He,onClick:Ze,onMouseMove:T,onMouseOver:T,tabIndex:-1,role:"option","aria-selected":n.isAppleDevice?void 0:ce};return N.createElement(g,w({},p,{innerProps:we,data:se,isDisabled:ge,isSelected:ce,key:He,label:Ve,type:Ie,value:Fe,isFocused:Ye,innerRef:Ye?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(ae.data,"menu"))},de;if(this.hasOptions())de=this.getCategorizedOptions().map(function(z){if(z.type==="group"){var ae=z.data,he=z.options,Ie=z.index,se="".concat(n.getElementId("group"),"-").concat(Ie),ge="".concat(se,"-heading");return N.createElement(u,w({},p,{key:se,data:ae,options:he,Heading:s,headingProps:{id:ge,data:z.data},label:n.formatGroupLabel(z.data)}),z.options.map(function(ce){return Y(ce,"".concat(Ie,"-").concat(ce.index))}))}else if(z.type==="option")return Y(z,"".concat(z.index))});else if(E){var oe=L({inputValue:y});if(oe===null)return null;de=N.createElement(C,p,oe)}else{var me=$({inputValue:y});if(me===null)return null;de=N.createElement(f,p,me)}var pe={minMenuHeight:v,maxMenuHeight:S,menuPlacement:G,menuPosition:X,menuShouldScrollIntoView:Q},Se=N.createElement(li,w({},p,pe),function(z){var ae=z.ref,he=z.placerProps,Ie=he.placement,se=he.maxHeight;return N.createElement(a,w({},p,pe,{innerRef:ae,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:E,placement:Ie}),N.createElement(Do,{captureEnabled:m,onTopArrive:re,onBottomArrive:j,lockEnabled:ie},function(ge){return N.createElement(l,w({},p,{innerRef:function(Ve){n.getMenuListRef(Ve),ge(Ve)},innerProps:{role:"listbox","aria-multiselectable":p.isMulti,id:n.getElementId("listbox")},isLoading:E,maxHeight:se,focusedOption:b}),de)}))});return ee||X==="fixed"?N.createElement(d,w({},p,{appendTo:ee,controlElement:this.controlRef,menuPlacement:G,menuPosition:X}),Se):Se}},{key:"renderFormField",value:function(){var n=this,o=this.props,u=o.delimiter,s=o.isDisabled,a=o.isMulti,l=o.name,d=o.required,C=this.state.selectValue;if(d&&!this.hasValue()&&!s)return N.createElement(jo,{name:l,onFocus:this.onValueInputFocus});if(!(!l||s))if(a)if(u){var f=C.map(function(b){return n.getOptionValue(b)}).join(u);return N.createElement("input",{name:l,type:"hidden",value:f})}else{var g=C.length>0?C.map(function(b,h){return N.createElement("input",{key:"i-".concat(h),name:l,type:"hidden",value:n.getOptionValue(b)})}):N.createElement("input",{name:l,type:"hidden",value:""});return N.createElement("div",null,g)}else{var p=C[0]?this.getOptionValue(C[0]):"";return N.createElement("input",{name:l,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,o=this.state,u=o.ariaSelection,s=o.focusedOption,a=o.focusedValue,l=o.isFocused,d=o.selectValue,C=this.getFocusableOptions();return N.createElement(To,w({},n,{id:this.getElementId("live-region"),ariaSelection:u,focusedOption:s,focusedValue:a,isFocused:l,selectValue:d,focusableOptions:C,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),o=n.Control,u=n.IndicatorsContainer,s=n.SelectContainer,a=n.ValueContainer,l=this.props,d=l.className,C=l.id,f=l.isDisabled,g=l.menuIsOpen,p=this.state.isFocused,b=this.commonProps=this.getCommonProps();return N.createElement(s,w({},b,{className:d,innerProps:{id:C,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:p}),this.renderLiveRegion(),N.createElement(o,w({},b,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:p,menuIsOpen:g}),N.createElement(a,w({},b,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),N.createElement(u,w({},b,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,o){var u=o.prevProps,s=o.clearFocusValueOnUpdate,a=o.inputIsHiddenAfterUpdate,l=o.ariaSelection,d=o.isFocused,C=o.prevWasFocused,f=o.instancePrefix,g=n.options,p=n.value,b=n.menuIsOpen,h=n.inputValue,m=n.isMulti,y=Tn(p),E={};if(u&&(p!==u.value||g!==u.options||b!==u.menuIsOpen||h!==u.inputValue)){var L=b?ua(n,y):[],v=b?o3(w1(n,y),"".concat(f,"-option")):[],S=s?sa(o,y):null,V=la(o,L),G=mt(v,V);E={selectValue:y,focusedOption:V,focusedOptionId:G,focusableOptionsWithIds:v,focusedValue:S,clearFocusValueOnUpdate:!1}}var X=a!=null&&n!==u?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},ee=l,ie=d&&C;return d&&!ie&&(ee={value:S1(m,y,y[0]||null),options:y,action:"initial-input-focus"},ie=!C),(l==null?void 0:l.action)==="initial-input-focus"&&(ee=null),H(H(H({},E),X),{},{prevProps:n,ariaSelection:ee,prevWasFocused:ie})}}]),r}(A.Component);C3.defaultProps=aa;var da=A.forwardRef(function(t,e){var r=lr(t);return N.createElement(C3,w({ref:e},r))}),f3=da;const p3=t=>x.jsx(H1.ClearIndicator,{...t,children:x.jsx(Ge,{name:"close"})}),g3=t=>{var e;return x.jsx(H1.DropdownIndicator,{...t,children:x.jsx(Ge,{className:J("buttonDropdownIndicator",((e=t==null?void 0:t.selectProps)==null?void 0:e.menuIsOpen)&&"buttonDropdownIndicator__open"),name:"chevron-down"})})},b3=t=>{const{message:e}=t;return x.jsxs("div",{className:"errorIndicator",children:[x.jsx(Ge,{name:"circle-cross",size:"sm",color:"error-50"}),x.jsx("p",{className:"errorIndicator_message",children:e})]})},Ca=({className:t="",disabled:e=!1,error:r="",label:i="",placeholder:n="",...o})=>{const{options:u,value:s,onChange:a,onInputChange:l}=o,d=r&&typeof r=="string";return x.jsxs("div",{className:J("select",r&&"select__error",t&&t),children:[i&&x.jsx("label",{className:"select_label",children:i}),x.jsx(f3,{...o,className:"reactSelect",classNamePrefix:"reactSelect",isDisabled:e,components:{ClearIndicator:p3,DropdownIndicator:g3},options:u,placeholder:n,value:s&&s,onChange:C=>a&&a(C),onInputChange:C=>l&&l(C)}),d&&x.jsx(b3,{message:r})]})};function fa(){var t=A.useRef(!1);return A.useEffect(function(){return t.current=!0,function(){t.current=!1}},[]),t}const m3=Symbol("useLazyRef empty value"),pa=t=>{const e=A.useRef(m3);return e.current===m3&&(e.current=t()),e};var ga=setTimeout;function ba(t,e){var r=e.useCachedSetTimeout?ga:setTimeout;return new Promise(function(i){r(i,t)})}function ma(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.useCachedSetTimeout,i=ba(t,{useCachedSetTimeout:r});function n(o){return i.then(function(){return o})}return n.then=function(){return i.then.apply(i,arguments)},n.catch=Promise.resolve().catch,n}var h3={};Object.defineProperty(h3,"__esModule",{value:!0});function ha(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length===2)return I3(t[0],t[1])||null;var r=t.slice(1).reduce(function(i,n){return I3(i,n)},t[0]);return r||null}var va=h3.default=ha,v3=new WeakMap;function I3(t,e){if(t&&e){var r=v3.get(t)||new WeakMap;v3.set(t,r);var i=r.get(e)||function(n){A3(t,n),A3(e,n)};return r.set(e,i),i}return t||e}function A3(t,e){typeof t=="function"?t(e):t.current=e}var y3=t=>({isFirstLoad:!0,options:[],hasMore:!0,isLoading:!1,additional:t.additional}),Ia=({options:t,defaultOptions:e,additional:r,defaultAdditional:i})=>{const n=e===!0?null:e instanceof Array?e:t;return n?{"":{isFirstLoad:!1,isLoading:!1,options:n,hasMore:!0,additional:i||r}}:{}},Aa=10,ya=(t,e,r)=>t-e-Aa<r,Ea=(t,e)=>[...t,...e],E3='[react-select-async-paginate] response of "loadOptions" should be an object with "options" prop, which contains array of options.',_a=t=>{if(!t)return!1;const{options:e,hasMore:r}=t;return!(!Array.isArray(e)||typeof r!="boolean"&&typeof r<"u")},xa=t=>{if(!_a(t))throw console.error(E3,"Received:",t),new Error(E3);return!0},La=async(t,e,r,i,n,o)=>{const u=e.current.inputValue,s=!r.current[u],a=s?y3(e.current):r.current[u];if(a.isLoading||!a.hasMore)return;if(n(C=>({...C,[u]:{...a,isLoading:!0}})),i>0&&t==="input-change"){await ma(i);const C=e.current.inputValue;if(u!==C){n(f=>{if(s){const{[u]:g,...p}=f;return p}return{...f,[u]:{...a,isLoading:!1}}});return}}let l,d=!1;try{const{loadOptions:C}=e.current;l=await C(u,a.options,a.additional)}catch{d=!0}if(d){n(C=>({...C,[u]:{...a,isLoading:!1}}));return}if(xa(l)){const{options:C,hasMore:f}=l,g=l.hasOwnProperty("additional")?l.additional:a.additional;n(p=>({...p,[u]:{...a,options:o(a.options,C,g),hasMore:!!f,isLoading:!1,isFirstLoad:!1,additional:g}}))}},_3=t=>t+1,Va=(t,e=[])=>{const{defaultOptions:r,loadOptionsOnMenuOpen:i=!0,debounceTimeout:n=0,inputValue:o,menuIsOpen:u,filterOption:s=null,reduceOptions:a=Ea,shouldLoadMore:l=ya}=t,d=fa(),C=A.useRef(!0),f=A.useRef(t);f.current=t;const g=A.useState(0)[1],p=pa(()=>Ia(t)),b=A.useCallback(y=>{La(y,f,p,n,E=>{p.current=E(p.current),d.current&&g(_3)},a)},[n]),h=A.useCallback(()=>{const y=f.current.inputValue;p.current[y]&&b("menu-scroll")},[b]);A.useEffect(()=>{C.current?C.current=!1:(p.current={},g(_3)),r===!0&&b("autoload")},e),A.useEffect(()=>{u&&!p.current[o]&&b("input-change")},[o]),A.useEffect(()=>{u&&!p.current[""]&&i&&b("menu-toggle")},[u]);const m=p.current[o]||y3(t);return{handleScrolledToBottom:h,shouldLoadMore:l,filterOption:s,isLoading:m.isLoading,isFirstLoad:m.isFirstLoad,options:m.options}},Ta=(t,e=[])=>{const{inputValue:r,menuIsOpen:i,defaultInputValue:n,defaultMenuIsOpen:o,onInputChange:u,onMenuClose:s,onMenuOpen:a}=t,[l,d]=A.useState(n||""),[C,f]=A.useState(!!o),g=typeof r=="string"?r:l,p=typeof i=="boolean"?i:C,b=A.useCallback((E,L)=>{u&&u(E,L),d(E)},[u]),h=A.useCallback(()=>{s&&s(),f(!1)},[s]),m=A.useCallback(()=>{a&&a(),f(!0)},[a]);return{...Va({...t,inputValue:g,menuIsOpen:p},e),inputValue:g,menuIsOpen:p,onInputChange:b,onMenuClose:h,onMenuOpen:m}},Pa=300;function Sa(t){function e(r){const{selectProps:i,innerRef:n}=r,{handleScrolledToBottom:o,shouldLoadMore:u}=i,s=A.useRef(),a=A.useRef(null),l=A.useCallback(()=>{const f=a.current;if(!f)return!1;const{scrollTop:g,scrollHeight:p,clientHeight:b}=f;return u(p,b,g)},[u]),d=A.useCallback(()=>{l()&&o&&o()},[l,o]),C=A.useCallback(()=>{d(),s.current=setTimeout(C,Pa)},[d]);return A.useEffect(()=>(C(),()=>{s.current&&clearTimeout(s.current)}),[]),x.jsx(t,{...r,innerRef:va(n,a)})}return e}var Ha=Sa(H1.MenuList),wa=t=>A.useMemo(()=>({MenuList:Ha,...t}),[t]),Na=[],Ga={};function Ra(t){function e(r){const{components:i=Ga,selectRef:n=void 0,isLoading:o,cacheUniqs:u=Na,...s}=r,a=Ta(s,u),l=wa(i),d=typeof o=="boolean"?o:a.isLoading;return x.jsx(t,{...r,...a,isLoading:d,components:l,ref:n})}return e}var Fa=Ra(f3);const Ma=({className:t="",disabled:e=!1,error:r="",label:i="",placeholder:n="",...o})=>{const{loadOptions:u,value:s,onChange:a}=o,l=r&&typeof r=="string";return x.jsxs("div",{className:J("select",r&&"select__error",t&&t),children:[i&&x.jsx("label",{className:"select_label",children:i}),x.jsx(Fa,{...o,className:"reactSelect",classNamePrefix:"reactSelect",isDisabled:e,components:{ClearIndicator:p3,DropdownIndicator:g3},loadOptions:u,value:s,onChange:a,placeholder:n}),l&&x.jsx(b3,{message:r})]})};ne.Box=z3,ne.Breadcrumbs=Tt,ne.Button=Ht,ne.Card=J3,ne.Checkbox=U3,ne.Heading=wt,ne.Pager=Ft,ne.RadioButton=nr,ne.Select=Ca,ne.SelectPagination=Ma,ne.Text=Nt,ne.ThemeProvider=j3,Object.defineProperty(ne,Symbol.toStringTag,{value:"Module"})});
|