@kwantis-id3/frontend-library 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js
CHANGED
|
@@ -97,7 +97,7 @@ import*as e from"react";import t,{useLayoutEffect as u,useContext as n,createEle
|
|
|
97
97
|
border: ${({$color:e})=>`1px solid ${e}`};
|
|
98
98
|
outline: ${({$color:e})=>`1px solid ${e}`};
|
|
99
99
|
}
|
|
100
|
-
`,ir=e=>{const u=Gu(),n=t.useMemo((()=>{const t=u.getColor(e.color||"primary");if(e.isDisabled){return{main:Ut(t.main).desaturate(80).toHexString(),contrastText:t.contrastText}}return t}),[u,e.color,e.isDisabled]);return t.createElement(rr,{className:e.containerClassName},t.createElement(or,{$color:n.main,$isDisabled:e.isDisabled,type:e.type||"text",onChange:t=>e.onChange?e.onChange(t.target.value):void 0,value:e.value,name:e.name,placeholder:e.placeholder,id:e.htmlId,className:e.className,disabled:e.isDisabled,required:e.required,pattern:e.pattern,readOnly:e.readonly,autoFocus:e.autoFocus,list:e.list}))};function ar(e){return ar="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ar(e)}function sr(e){var t=function(e,t){if("object"!==ar(e)||null===e)return e;var u=e[Symbol.toPrimitive];if(void 0!==u){var n=u.call(e,t||"default");if("object"!==ar(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ar(t)?t:String(t)}function cr(e,t,u){return(t=sr(t))in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u,e}function lr(e,t){var u=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),u.push.apply(u,n)}return u}function dr(e){for(var t=1;t<arguments.length;t++){var u=null!=arguments[t]?arguments[t]:{};t%2?lr(Object(u),!0).forEach((function(t){cr(e,t,u[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(u)):lr(Object(u)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(u,t))}))}return e}function pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var u=0,n=new Array(t);u<t;u++)n[u]=e[u];return n}function gr(e,t){if(e){if("string"==typeof e)return pr(e,t);var u=Object.prototype.toString.call(e).slice(8,-1);return"Object"===u&&e.constructor&&(u=e.constructor.name),"Map"===u||"Set"===u?Array.from(e):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?pr(e,t):void 0}}function fr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var u=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=u){var n,r,o,i,a=[],s=!0,c=!1;try{if(o=(u=u.call(e)).next,0===t){if(Object(u)!==u)return;s=!1}else for(;!(s=(n=o.call(u)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=u.return&&(i=u.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(e,t)||gr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function br(e,t){if(null==e)return{};var u,n,r=function(e,t){if(null==e)return{};var u,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)u=o[n],t.indexOf(u)>=0||(r[u]=e[u]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)u=o[n],t.indexOf(u)>=0||Object.prototype.propertyIsEnumerable.call(e,u)&&(r[u]=e[u])}return r}var hr=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function mr(e,t){for(var u=0;u<t.length;u++){var n=t[u];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sr(n.key),n)}}function Ar(e,t){return Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ar(e,t)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cr(e)}function vr(e,t){if(t&&("object"===ar(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Er(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var u,n=Cr(e);if(t){var r=Cr(this).constructor;u=Reflect.construct(n,arguments,r)}else u=n.apply(this,arguments);return vr(this,u)}}function yr(e){return function(e){if(Array.isArray(e))return pr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||gr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ir(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Fr(e){return Ir(e).getComputedStyle(e)}function Br(e){return e instanceof Ir(e).Node}function xr(e){return Br(e)?(e.nodeName||"").toLowerCase():""}let Dr;function wr(e){return e instanceof Ir(e).HTMLElement}function Or(e){return e instanceof Ir(e).Element}function Gr(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Ir(e).ShadowRoot||e instanceof ShadowRoot}function Tr(e){const{overflow:t,overflowX:u,overflowY:n,display:r}=Fr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+u)&&!["inline","contents"].includes(r)}function Nr(){return/^((?!chrome|android).)*safari/i.test(function(){if(Dr)return Dr;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Dr=e.brands.map((e=>e.brand+"/"+e.version)).join(" "),Dr):navigator.userAgent}())}const kr=Math.round;function Sr(e){return Or(e)?e:e.contextElement}const Vr={x:1,y:1};function Rr(e){const t=Sr(e);if(!wr(t))return Vr;const u=t.getBoundingClientRect(),{width:n,height:r,fallback:o}=function(e){const t=Fr(e);let u=parseFloat(t.width),n=parseFloat(t.height);const r=wr(e),o=r?e.offsetWidth:u,i=r?e.offsetHeight:n,a=kr(u)!==o||kr(n)!==i;return a&&(u=o,n=i),{width:u,height:n,fallback:a}}(t);let i=(o?kr(u.width):u.width)/n,a=(o?kr(u.height):u.height)/r;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Wr(e,t,u,n){var r,o;void 0===t&&(t=!1),void 0===u&&(u=!1);const i=e.getBoundingClientRect(),a=Sr(e);let s=Vr;t&&(n?Or(n)&&(s=Rr(n)):s=Rr(e));const c=a?Ir(a):window,l=Nr()&&u;let d=(i.left+(l&&(null==(r=c.visualViewport)?void 0:r.offsetLeft)||0))/s.x,p=(i.top+(l&&(null==(o=c.visualViewport)?void 0:o.offsetTop)||0))/s.y,g=i.width/s.x,f=i.height/s.y;if(a){const e=Ir(a),t=n&&Or(n)?Ir(n):n;let u=e.frameElement;for(;u&&n&&t!==e;){const e=Rr(u),t=u.getBoundingClientRect(),n=getComputedStyle(u);t.x+=(u.clientLeft+parseFloat(n.paddingLeft))*e.x,t.y+=(u.clientTop+parseFloat(n.paddingTop))*e.y,d*=e.x,p*=e.y,g*=e.x,f*=e.y,d+=t.x,p+=t.y,u=Ir(u).frameElement}}return b={width:g,height:f,x:d,y:p},{...b,top:b.y,left:b.x,right:b.x+b.width,bottom:b.y+b.height};var b}function Mr(e){if("html"===xr(e))return e;const t=e.assignedSlot||e.parentNode||Gr(e)&&e.host||function(e){return((Br(e)?e.ownerDocument:e.document)||window.document).documentElement}(e);return Gr(t)?t.host:t}function Zr(e){const t=Mr(e);return function(e){return["html","body","#document"].includes(xr(e))}(t)?t.ownerDocument.body:wr(t)&&Tr(t)?t:Zr(t)}function Xr(e,t){var u;void 0===t&&(t=[]);const n=Zr(e),r=n===(null==(u=e.ownerDocument)?void 0:u.body),o=Ir(n);return r?t.concat(o,o.visualViewport||[],Tr(n)?n:[]):t.concat(n,Xr(n))}var Pr="undefined"!=typeof document?u:d,Hr=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Lr=function(){};function jr(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function zr(e,t){for(var u=arguments.length,n=new Array(u>2?u-2:0),r=2;r<u;r++)n[r-2]=arguments[r];var o=[].concat(n);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&o.push("".concat(jr(e,i)));return o.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Yr=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===ar(e)&&null!==e?[e]:[];var t},Jr=function(e){return 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,dr({},br(e,Hr))},_r=function(e,t,u){var n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.className;return{css:r(t,e),className:n(null!=u?u:{},o(t,e),i)}};function Ur(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Qr(e){return Ur(e)?window.pageYOffset:e.scrollTop}function $r(e,t){Ur(e)?window.scrollTo(0,t):e.scrollTop=t}function qr(e,t){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Lr,r=Qr(e),o=t-r,i=0;!function t(){var a,s=o*((a=(a=i+=10)/u-1)*a*a+1)+r;$r(e,s),i<u?window.requestAnimationFrame(t):n(e)}()}function Kr(e,t){var u=e.getBoundingClientRect(),n=t.getBoundingClientRect(),r=t.offsetHeight/3;n.bottom+r>u.bottom?$r(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):n.top-r<u.top&&$r(e,Math.max(t.offsetTop-r,0))}function eo(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var to=!1,uo={get passive(){return to=!0}},no="undefined"!=typeof window?window:{};no.addEventListener&&no.removeEventListener&&(no.addEventListener("p",Lr,uo),no.removeEventListener("p",Lr,!1));var ro=to;function oo(e){return null!=e}function io(e,t,u){return e?t:u}function ao(e){var t=e.maxHeight,u=e.menuEl,n=e.minHeight,r=e.placement,o=e.shouldScroll,i=e.isFixedPosition,a=e.controlHeight,s=function(e){var t=getComputedStyle(e),u="absolute"===t.position,n=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!u||"static"!==t.position)&&n.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(u),c={placement:"bottom",maxHeight:t};if(!u||!u.offsetParent)return c;var l,d=s.getBoundingClientRect().height,p=u.getBoundingClientRect(),g=p.bottom,f=p.height,b=p.top,h=u.offsetParent.getBoundingClientRect().top,m=i?window.innerHeight:Ur(l=s)?window.innerHeight:l.clientHeight,A=Qr(s),C=parseInt(getComputedStyle(u).marginBottom,10),v=parseInt(getComputedStyle(u).marginTop,10),E=h-v,y=m-b,I=E+A,F=d-A-b,B=g-m+A+C,x=A+b-v,D=160;switch(r){case"auto":case"bottom":if(y>=f)return{placement:"bottom",maxHeight:t};if(F>=f&&!i)return o&&qr(s,B,D),{placement:"bottom",maxHeight:t};if(!i&&F>=n||i&&y>=n)return o&&qr(s,B,D),{placement:"bottom",maxHeight:i?y-C:F-C};if("auto"===r||i){var w=t,O=i?E:I;return O>=n&&(w=Math.min(O-C-a,t)),{placement:"top",maxHeight:w}}if("bottom"===r)return o&&$r(s,B),{placement:"bottom",maxHeight:t};break;case"top":if(E>=f)return{placement:"top",maxHeight:t};if(I>=f&&!i)return o&&qr(s,x,D),{placement:"top",maxHeight:t};if(!i&&I>=n||i&&E>=n){var G=t;return(!i&&I>=n||i&&E>=n)&&(G=i?E-v:I-v),o&&qr(s,x,D),{placement:"top",maxHeight:G}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var so=function(e){return"auto"===e?"bottom":e},co=o(null),lo=function(e){var t=e.children,u=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,c=e.theme,d=(n(co)||{}).setPortalPlacement,p=s(null),g=fr(l(r),2),f=g[0],b=g[1],h=fr(l(null),2),m=h[0],A=h[1],C=c.spacing.controlHeight;return Pr((function(){var e=p.current;if(e){var t="fixed"===i,n=ao({maxHeight:r,menuEl:e,minHeight:u,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:C});b(n.maxHeight),A(n.placement),null==d||d(n.placement)}}),[r,o,i,a,u,d,C]),t({ref:p,placerProps:dr(dr({},e),{},{placement:m||so(o),maxHeight:f})})},po=function(e){var t=e.children,u=e.innerRef,n=e.innerProps;return Vt("div",Oe({},_r(e,"menu",{menu:!0}),{ref:u},n),t)},go=function(e,t){var u=e.theme,n=u.spacing.baseUnit,r=u.colors;return dr({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px")})},fo=go,bo=go,ho=function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),u),t)};ho.defaultProps={children:"No options"};var mo=function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),u),t)};mo.defaultProps={children:"Loading..."};var Ao,Co=["size"];var vo,Eo,yo="production"===process.env.NODE_ENV?{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXN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YWRpbmdJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgICAgey4uLmlubmVyUHJvcHN9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */",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)."}},Io=function(e){var t=e.size,u=br(e,Co);return Vt("svg",Oe({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:yo},u))},Fo=function(e){return Vt(Io,Oe({size:20},e),Vt("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"}))},Bo=function(e){return Vt(Io,Oe({size:20},e),Vt("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"}))},xo=function(e,t){var u=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return dr({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:u?o.neutral60:o.neutral20,padding:2*r,":hover":{color:u?o.neutral80:o.neutral40}})},Do=xo,wo=xo,Oo=function(){var e=Mt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Ao||(vo=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Eo||(Eo=vo.slice(0)),Ao=Object.freeze(Object.defineProperties(vo,{raw:{value:Object.freeze(Eo)}})))),Go=function(e){var t=e.delay,u=e.offset;return Vt("span",{css:Mt({animation:"".concat(Oo," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:u?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZS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lIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+XG4pID0+IHtcbiAgY29uc3QgeyBpbm5lclByb3BzLCBpc1J0bCB9ID0gcHJvcHM7XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2xvYWRpbmdJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgICAgey4uLmlubmVyUHJvcHN9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */")})},To=function(e){var t=e.innerProps,u=e.isRtl;return Vt("div",Oe({},_r(e,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Vt(Go,{delay:0,offset:u}),Vt(Go,{delay:160,offset:!0}),Vt(Go,{delay:320,offset:!u}))};To.defaultProps={size:4};var No=function(e){var t=e.children,u=e.isDisabled,n=e.isFocused,r=e.innerRef,o=e.innerProps,i=e.menuIsOpen;return Vt("div",Oe({ref:r},_r(e,"control",{control:!0,"control--is-disabled":u,"control--is-focused":n,"control--menu-is-open":i}),o),t)},ko=["data"],So=function(e){var t=e.children,u=e.cx,n=e.getStyles,r=e.getClassNames,o=e.Heading,i=e.headingProps,a=e.innerProps,s=e.label,c=e.theme,l=e.selectProps;return Vt("div",Oe({},_r(e,"group",{group:!0}),a),Vt(o,Oe({},i,{selectProps:l,theme:c,getStyles:n,getClassNames:r,cx:u}),s),Vt("div",null,t))},Vo=["innerRef","isDisabled","isHidden","inputClassName"],Ro={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Wo={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":dr({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ro)},Mo=function(e){return dr({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ro)},Zo=function(e){var t=e.children,u=e.innerProps;return Vt("div",u,t)};var Xo=function(e){var t=e.children,u=e.components,n=e.data,r=e.innerProps,o=e.isDisabled,i=e.removeProps,a=e.selectProps,s=u.Container,c=u.Label,l=u.Remove;return Vt(s,{data:n,innerProps:dr(dr({},_r(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),r),selectProps:a},Vt(c,{data:n,innerProps:dr({},_r(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Vt(l,{data:n,innerProps:dr(dr({},_r(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},i),selectProps:a}))},Po={ClearIndicator:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),t||Vt(Fo,null))},Control:No,DropdownIndicator:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),t||Vt(Bo,null))},DownChevron:Bo,CrossIcon:Fo,Group:So,GroupHeading:function(e){var t=Jr(e);t.data;var u=br(t,ko);return Vt("div",Oe({},_r(e,"groupHeading",{"group-heading":!0}),u))},IndicatorsContainer:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"indicatorsContainer",{indicators:!0}),u),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Vt("span",Oe({},t,_r(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,u=e.value,n=Jr(e),r=n.innerRef,o=n.isDisabled,i=n.isHidden,a=n.inputClassName,s=br(n,Vo);return Vt("div",Oe({},_r(e,"input",{"input-container":!0}),{"data-value":u||""}),Vt("input",Oe({className:t({input:!0},a),ref:r,style:Mo(i),disabled:o},s)))},LoadingIndicator:To,Menu:po,MenuList:function(e){var t=e.children,u=e.innerProps,n=e.innerRef,r=e.isMulti;return Vt("div",Oe({},_r(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:n},u),t)},MenuPortal:function(e){var t=e.appendTo,u=e.children,n=e.controlElement,r=e.innerProps,o=e.menuPlacement,i=e.menuPosition,a=s(null),d=s(null),g=fr(l(so(o)),2),f=g[0],b=g[1],h=c((function(){return{setPortalPlacement:b}}),[]),A=fr(l(null),2),C=A[0],v=A[1],E=p((function(){if(n){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(n),t="fixed"===i?0:window.pageYOffset,u=e[f]+t;u===(null==C?void 0:C.offset)&&e.left===(null==C?void 0:C.rect.left)&&e.width===(null==C?void 0:C.rect.width)||v({offset:u,rect:e})}}),[n,i,f,null==C?void 0:C.offset,null==C?void 0:C.rect.left,null==C?void 0:C.rect.width]);Pr((function(){E()}),[E]);var y=p((function(){"function"==typeof d.current&&(d.current(),d.current=null),n&&a.current&&(d.current=function(e,t,u,n){void 0===n&&(n={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:i=!0,animationFrame:a=!1}=n,s=r||o?[...Or(e)?Xr(e):e.contextElement?Xr(e.contextElement):[],...Xr(t)]:[];s.forEach((e=>{const t=!Or(e)&&e.toString().includes("V");!r||a&&!t||e.addEventListener("scroll",u,{passive:!0}),o&&e.addEventListener("resize",u)}));let c,l=null;i&&(l=new ResizeObserver((()=>{u()})),Or(e)&&!a&&l.observe(e),Or(e)||!e.contextElement||a||l.observe(e.contextElement),l.observe(t));let d=a?Wr(e):null;return a&&function t(){const n=Wr(e);!d||n.x===d.x&&n.y===d.y&&n.width===d.width&&n.height===d.height||u(),d=n,c=requestAnimationFrame(t)}(),u(),()=>{var e;s.forEach((e=>{r&&e.removeEventListener("scroll",u),o&&e.removeEventListener("resize",u)})),null==(e=l)||e.disconnect(),l=null,a&&cancelAnimationFrame(c)}}(n,a.current,E,{elementResize:"ResizeObserver"in window}))}),[n,E]);Pr((function(){y()}),[y]);var I=p((function(e){a.current=e,y()}),[y]);if(!t&&"fixed"!==i||!C)return null;var F=Vt("div",Oe({ref:I},_r(dr(dr({},e),{},{offset:C.offset,position:i,rect:C.rect}),"menuPortal",{"menu-portal":!0}),r),u);return Vt(co.Provider,{value:h},t?m(F,t):F)},LoadingMessage:mo,NoOptionsMessage:ho,MultiValue:Xo,MultiValueContainer:Zo,MultiValueLabel:Zo,MultiValueRemove:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({role:"button"},u),t||Vt(Fo,{size:14}))},Option:function(e){var t=e.children,u=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.innerRef,i=e.innerProps;return Vt("div",Oe({},_r(e,"option",{option:!0,"option--is-disabled":u,"option--is-focused":n,"option--is-selected":r}),{ref:o,"aria-disabled":u},i),t)},Placeholder:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"placeholder",{placeholder:!0}),u),t)},SelectContainer:function(e){var t=e.children,u=e.innerProps,n=e.isDisabled,r=e.isRtl;return Vt("div",Oe({},_r(e,"container",{"--is-disabled":n,"--is-rtl":r}),u),t)},SingleValue:function(e){var t=e.children,u=e.isDisabled,n=e.innerProps;return Vt("div",Oe({},_r(e,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),n),t)},ValueContainer:function(e){var t=e.children,u=e.innerProps,n=e.isMulti,r=e.hasValue;return Vt("div",Oe({},_r(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":r}),u),t)}},Ho=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Lo(e,t){if(e.length!==t.length)return!1;for(var u=0;u<e.length;u++)if(n=e[u],r=t[u],!(n===r||Ho(n)&&Ho(r)))return!1;var n,r;return!0}for(var jo="production"===process.env.NODE_ENV?{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: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)."}},zo=function(e){return Vt("span",Oe({css:jo},e))},Yo={guidance:function(e){var t=e.isSearchable,u=e.isMulti,n=e.isDisabled,r=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(n?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(u?" 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 t=e.action,u=e.label,n=void 0===u?"":u,r=e.labels,o=e.isDisabled;switch(t){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(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(n,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,u=e.focused,n=e.options,r=e.label,o=void 0===r?"":r,i=e.selectValue,a=e.isDisabled,s=e.isSelected,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(o," focused, ").concat(c(i,u),".");if("menu"===t){var l=a?" disabled":"",d="".concat(s?"selected":"focused").concat(l);return"option ".concat(o," ").concat(d,", ").concat(c(n,u),".")}return""},onFilter:function(e){var t=e.inputValue,u=e.resultsMessage;return"".concat(u).concat(t?" for search term "+t:"",".")}},Jo=function(e){var t=e.ariaSelection,u=e.focusedOption,n=e.focusedValue,r=e.focusableOptions,o=e.isFocused,i=e.selectValue,s=e.selectProps,l=e.id,d=s.ariaLiveMessages,p=s.getOptionLabel,g=s.inputValue,f=s.isMulti,b=s.isOptionDisabled,h=s.isSearchable,m=s.menuIsOpen,A=s.options,C=s.screenReaderStatus,v=s.tabSelectsValue,E=s["aria-label"],y=s["aria-live"],I=c((function(){return dr(dr({},Yo),d||{})}),[d]),F=c((function(){var e,u="";if(t&&I.onChange){var n=t.option,r=t.options,o=t.removedValue,a=t.removedValues,s=t.value,c=o||n||(e=s,Array.isArray(e)?null:e),l=c?p(c):"",d=r||a||void 0,g=d?d.map(p):[],f=dr({isDisabled:c&&b(c,i),label:l,labels:g},t);u=I.onChange(f)}return u}),[t,I,b,i,p]),B=c((function(){var e="",t=u||n,o=!!(u&&i&&i.includes(u));if(t&&I.onFocus){var a={focused:t,label:p(t),isDisabled:b(t,i),isSelected:o,options:r,context:t===u?"menu":"value",selectValue:i};e=I.onFocus(a)}return e}),[u,n,p,b,I,r,i]),x=c((function(){var e="";if(m&&A.length&&I.onFilter){var t=C({count:r.length});e=I.onFilter({inputValue:g,resultsMessage:t})}return e}),[r,g,m,I,A,C]),D=c((function(){var e="";if(I.guidance){var t=n?"value":m?"menu":"input";e=I.guidance({"aria-label":E,context:t,isDisabled:u&&b(u,i),isMulti:f,isSearchable:h,tabSelectsValue:v})}return e}),[E,u,n,f,b,h,m,I,i,v]),w="".concat(B," ").concat(x," ").concat(D),O=Vt(a,null,Vt("span",{id:"aria-selection"},F),Vt("span",{id:"aria-context"},w)),G="initial-input-focus"===(null==t?void 0:t.action);return Vt(a,null,Vt(zo,{id:l},G&&O),Vt(zo,{"aria-live":y,"aria-atomic":"false","aria-relevant":"additions text"},o&&!G&&O))},_o=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Uo=new RegExp("["+_o.map((function(e){return e.letters})).join("")+"]","g"),Qo={},$o=0;$o<_o.length;$o++)for(var qo=_o[$o],Ko=0;Ko<qo.letters.length;Ko++)Qo[qo.letters[Ko]]=qo.base;var ei=function(e){return e.replace(Uo,(function(e){return Qo[e]}))},ti=function(e,t){void 0===t&&(t=Lo);var u=null;function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(u&&u.lastThis===this&&t(n,u.lastArgs))return u.lastResult;var o=e.apply(this,n);return u={lastResult:o,lastArgs:n,lastThis:this},o}return n.clear=function(){u=null},n}(ei),ui=function(e){return e.replace(/^\s+|\s+$/g,"")},ni=function(e){return"".concat(e.label," ").concat(e.value)},ri=["innerRef"];function oi(e){var t=e.innerRef,u=function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),n=1;n<t;n++)u[n-1]=arguments[n];var r=Object.entries(e).filter((function(e){var t=fr(e,1)[0];return!u.includes(t)}));return r.reduce((function(e,t){var u=fr(t,2),n=u[0],r=u[1];return e[n]=r,e}),{})}(br(e,ri),"onExited","in","enter","exit","appear");return Vt("input",Oe({ref:t},u,{css:Mt({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)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV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ByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var ii=function(e){e.preventDefault(),e.stopPropagation()};var ai=["boxSizing","height","overflow","paddingRight","position"],si={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ci(e){e.preventDefault()}function li(e){e.stopPropagation()}function di(){var e=this.scrollTop,t=this.scrollHeight,u=e+this.offsetHeight;0===e?this.scrollTop=1:u===t&&(this.scrollTop=e-1)}function pi(){return"ontouchstart"in window||navigator.maxTouchPoints}var gi=!("undefined"==typeof window||!window.document||!window.document.createElement),fi=0,bi={capture:!1,passive:!1};var hi=function(){return document.activeElement&&document.activeElement.blur()},mi="production"===process.env.NODE_ENV?{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xu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YWJsZWQgPSB0cnVlLFxuICBvbkJvdHRvbUFycml2ZSxcbiAgb25Cb3R0b21MZWF2ZSxcbiAgb25Ub3BBcnJpdmUsXG4gIG9uVG9wTGVhdmUsXG59OiBQcm9wcykge1xuICBjb25zdCBzZXRTY3JvbGxDYXB0dXJlVGFyZ2V0ID0gdXNlU2Nyb2xsQ2FwdHVyZSh7XG4gICAgaXNFbmFibGVkOiBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",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)."}};function Ai(e){var t=e.children,u=e.lockEnabled,n=e.captureEnabled,r=function(e){var t=e.isEnabled,u=e.onBottomArrive,n=e.onBottomLeave,r=e.onTopArrive,o=e.onTopLeave,i=s(!1),a=s(!1),c=s(0),l=s(null),g=p((function(e,t){if(null!==l.current){var s=l.current,c=s.scrollTop,d=s.scrollHeight,p=s.clientHeight,g=l.current,f=t>0,b=d-p-c,h=!1;b>t&&i.current&&(n&&n(e),i.current=!1),f&&a.current&&(o&&o(e),a.current=!1),f&&t>b?(u&&!i.current&&u(e),g.scrollTop=d,h=!0,i.current=!0):!f&&-t>c&&(r&&!a.current&&r(e),g.scrollTop=0,h=!0,a.current=!0),h&&ii(e)}}),[u,n,r,o]),f=p((function(e){g(e,e.deltaY)}),[g]),b=p((function(e){c.current=e.changedTouches[0].clientY}),[]),h=p((function(e){var t=c.current-e.changedTouches[0].clientY;g(e,t)}),[g]),m=p((function(e){if(e){var t=!!ro&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",b,t),e.addEventListener("touchmove",h,t)}}),[h,b,f]),A=p((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",b,!1),e.removeEventListener("touchmove",h,!1))}),[h,b,f]);return d((function(){if(t){var e=l.current;return m(e),function(){A(e)}}}),[t,m,A]),function(e){l.current=e}}({isEnabled:void 0===n||n,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,u=e.accountForScrollbars,n=void 0===u||u,r=s({}),o=s(null),i=p((function(e){if(gi){var t=document.body,u=t&&t.style;if(n&&ai.forEach((function(e){var t=u&&u[e];r.current[e]=t})),n&&fi<1){var o=parseInt(r.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,a=window.innerWidth-i+o||0;Object.keys(si).forEach((function(e){var t=si[e];u&&(u[e]=t)})),u&&(u.paddingRight="".concat(a,"px"))}t&&pi()&&(t.addEventListener("touchmove",ci,bi),e&&(e.addEventListener("touchstart",di,bi),e.addEventListener("touchmove",li,bi))),fi+=1}}),[n]),a=p((function(e){if(gi){var t=document.body,u=t&&t.style;fi=Math.max(fi-1,0),n&&fi<1&&ai.forEach((function(e){var t=r.current[e];u&&(u[e]=t)})),t&&pi()&&(t.removeEventListener("touchmove",ci,bi),e&&(e.removeEventListener("touchstart",di,bi),e.removeEventListener("touchmove",li,bi)))}}),[n]);return d((function(){if(t){var e=o.current;return i(e),function(){a(e)}}}),[t,i,a]),function(e){o.current=e}}({isEnabled:u});return Vt(a,null,u&&Vt("div",{onClick:hi,css:mi}),t((function(e){r(e),o(e)})))}var Ci,Ei="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString: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)."}},yi=function(e){var t=e.name,u=e.onFocus;return Vt("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:Ei,value:"",onChange:function(){}})},Ii={clearIndicator:wo,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var u=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius;return dr({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:u?o.neutral5:o.neutral0,borderColor:u?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:n?o.primary:o.neutral30}})},dropdownIndicator:Do,group:function(e,t){var u=e.theme.spacing;return t?{}:{paddingBottom:2*u.baseUnit,paddingTop:2*u.baseUnit}},groupHeading:function(e,t){var u=e.theme,n=u.colors,r=u.spacing;return dr({label:"group",cursor:"default",display:"block"},t?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var u=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return dr({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:u?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var u=e.isDisabled,n=e.value,r=e.theme,o=r.spacing,i=r.colors;return dr(dr({visibility:u?"hidden":"visible",transform:n?"translateZ(0)":""},Wo),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:i.neutral80})},loadingIndicator:function(e,t){var u=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return dr({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},t?{}:{color:u?o.neutral60:o.neutral20,padding:2*i})},loadingMessage:bo,menu:function(e,t){var u,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return dr((cr(u={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),cr(u,"position","absolute"),cr(u,"width","100%"),cr(u,"zIndex",1),u),t?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:i.menuGutter,marginTop:i.menuGutter})},menuList:function(e,t){var u=e.maxHeight,n=e.theme.spacing.baseUnit;return dr({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:n,paddingTop:n})},menuPortal:function(e){var t=e.rect,u=e.offset,n=e.position;return{left:t.left,position:n,top:u,width:t.width,zIndex:1}},multiValue:function(e,t){var u=e.theme,n=u.spacing,r=u.borderRadius,o=u.colors;return dr({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:r/2,margin:n.baseUnit/2})},multiValueLabel:function(e,t){var u=e.theme,n=u.borderRadius,r=u.colors,o=e.cropWithEllipsis;return dr({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:n/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var u=e.theme,n=u.spacing,r=u.borderRadius,o=u.colors,i=e.isFocused;return dr({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:i?o.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:fo,option:function(e,t){var u=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return dr({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:n?a.primary25:"transparent",color:u?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),":active":{backgroundColor:u?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var u=e.theme,n=u.spacing,r=u.colors;return dr({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},singleValue:function(e,t){var u=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return dr({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:u?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var u=e.theme.spacing,n=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return dr({alignItems:"center",display:n&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(2*u.baseUnit,"px")})}},Fi={borderRadius:4,colors:{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%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Bi={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:eo(),captureMenuScroll:!eo(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var u=dr({ignoreCase:!0,ignoreAccents:!0,stringify:ni,trim:!0,matchFrom:"any"},Ci),n=u.ignoreCase,r=u.ignoreAccents,o=u.stringify,i=u.trim,a=u.matchFrom,s=i?ui(t):t,c=i?ui(o(e)):o(e);return n&&(s=s.toLowerCase(),c=c.toLowerCase()),r&&(s=ti(s),c=ei(c)),"start"===a?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function xi(e,t,u,n){return{type:"option",data:t,isDisabled:Ni(e,t,u),isSelected:ki(e,t,u),label:Gi(e,t),value:Ti(e,t),index:n}}function Di(e,t){return e.options.map((function(u,n){if("options"in u){var r=u.options.map((function(u,n){return xi(e,u,t,n)})).filter((function(t){return Oi(e,t)}));return r.length>0?{type:"group",data:u,options:r,index:n}:void 0}var o=xi(e,u,t,n);return Oi(e,o)?o:void 0})).filter(oo)}function wi(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,yr(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Oi(e,t){var u=e.inputValue,n=void 0===u?"":u,r=t.data,o=t.isSelected,i=t.label,a=t.value;return(!Vi(e)||!o)&&Si(e,{label:i,value:a,data:r},n)}var Gi=function(e,t){return e.getOptionLabel(t)},Ti=function(e,t){return e.getOptionValue(t)};function Ni(e,t,u){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,u)}function ki(e,t,u){if(u.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,u);var n=Ti(e,t);return u.some((function(t){return Ti(e,t)===n}))}function Si(e,t,u){return!e.filterOption||e.filterOption(t,u)}var Vi=function(e){var t=e.hideSelectedOptions,u=e.isMulti;return void 0===t?u:t},Ri=1,Wi=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ar(e,t)}(i,g);var u,n,r,o=Er(i);function i(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,u){var n=t.props,r=n.onChange,o=n.name;u.name=o,t.ariaOnChange(e,u),r(e,u)},t.setValue=function(e,u,n){var r=t.props,o=r.closeMenuOnSelect,i=r.isMulti,a=r.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:a}),o&&(t.setState({inputIsHiddenAfterUpdate:!i}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:u,option:n})},t.selectOption=function(e){var u=t.props,n=u.blurInputOnSelect,r=u.isMulti,o=u.name,i=t.state.selectValue,a=r&&t.isOptionSelected(e,i),s=t.isOptionDisabled(e,i);if(a){var c=t.getOptionValue(e);t.setValue(i.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(s)return void t.ariaOnChange(e,{action:"select-option",option:e,name:o});r?t.setValue([].concat(yr(i),[e]),"select-option",e):t.setValue(e,"select-option")}n&&t.blurInput()},t.removeValue=function(e){var u=t.props.isMulti,n=t.state.selectValue,r=t.getOptionValue(e),o=n.filter((function(e){return t.getOptionValue(e)!==r})),i=io(u,o,o[0]||null);t.onChange(i,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(io(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,u=t.state.selectValue,n=u[u.length-1],r=u.slice(0,u.length-1),o=io(e,r,r[0]||null);t.onChange(o,{action:"pop-value",removedValue:n})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,u=new Array(e),n=0;n<e;n++)u[n]=arguments[n];return zr.apply(void 0,[t.props.classNamePrefix].concat(u))},t.getOptionLabel=function(e){return Gi(t.props,e)},t.getOptionValue=function(e){return Ti(t.props,e)},t.getStyles=function(e,u){var n=t.props.unstyled,r=Ii[e](u,n);r.boxSizing="border-box";var o=t.props.styles[e];return o?o(r,u):r},t.getClassNames=function(e,u){var n,r;return null===(n=(r=t.props.classNames)[e])||void 0===n?void 0:n.call(r,u)},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,dr(dr({},Po),e.components);var e},t.buildCategorizedOptions=function(){return Di(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return wi(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,u){t.setState({ariaSelection:dr({value:e},u)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var u=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():u&&t.openMenu("first"):(u&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var u=t.props,n=u.isMulti,r=u.menuIsOpen;t.focusInput(),r?(t.setState({inputIsHiddenAfterUpdate:!n}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ur(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var u=e.touches,n=u&&u.item(0);n&&(t.initialTouchX=n.clientX,t.initialTouchY=n.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var u=e.touches,n=u&&u.item(0);if(n){var r=Math.abs(n.clientX-t.initialTouchX),o=Math.abs(n.clientY-t.initialTouchY);t.userIsDragging=r>5||o>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var u=t.props.inputValue,n=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(n,{action:"input-change",prevInputValue:u}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var u=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:u}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return Vi(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var u=t.props,n=u.isMulti,r=u.backspaceRemovesValue,o=u.escapeClearsValue,i=u.inputValue,a=u.isClearable,s=u.isDisabled,c=u.menuIsOpen,l=u.onKeyDown,d=u.tabSelectsValue,p=u.openMenuOnFocus,g=t.state,f=g.focusedOption,b=g.focusedValue,h=g.selectValue;if(!(s||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||i)return;t.focusValue("previous");break;case"ArrowRight":if(!n||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(b)t.removeValue(b);else{if(!r)return;n?t.popValue():a&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!d||!f||p&&t.isOptionSelected(f,h))return;t.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(t.isComposing)return;t.selectOption(f);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:i}),t.onMenuClose()):a&&o&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!f)return;t.selectOption(f);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.instancePrefix="react-select-"+(t.props.instanceId||++Ri),t.state.selectValue=Yr(e.value),e.menuIsOpen&&t.state.selectValue.length){var u=t.buildFocusableOptions(),n=u.indexOf(t.state.selectValue[0]);t.state.focusedOption=u[n]}return t}return u=i,n=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Kr(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,u=t.isDisabled,n=t.menuIsOpen,r=this.state.isFocused;(r&&!u&&e.isDisabled||r&&n&&!e.menuIsOpen)&&this.focusInput(),r&&u&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||u||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Kr(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(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,u=this.state,n=u.selectValue,r=u.isFocused,o=this.buildFocusableOptions(),i="first"===e?0:o.length-1;if(!this.props.isMulti){var a=o.indexOf(n[0]);a>-1&&(i=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,u=t.selectValue,n=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=u.indexOf(n);n||(r=-1);var o=u.length-1,i=-1;if(u.length){switch(e){case"previous":i=0===r?0:-1===r?o:r-1;break;case"next":r>-1&&r<o&&(i=r+1)}this.setState({inputIsHidden:-1!==i,focusedValue:u[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,u=this.state.focusedOption,n=this.getFocusableOptions();if(n.length){var r=0,o=n.indexOf(u);u||(o=-1),"up"===e?r=o>0?o-1:n.length-1:"down"===e?r=(o+1)%n.length:"pageup"===e?(r=o-t)<0&&(r=0):"pagedown"===e?(r=o+t)>n.length-1&&(r=n.length-1):"last"===e&&(r=n.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:n[r],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Fi):dr(dr({},Fi),this.props.theme):Fi}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,u=this.getStyles,n=this.getClassNames,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,c=a.isRtl,l=a.options;return{clearValue:e,cx:t,getStyles:u,getClassNames:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:l,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,u=e.isMulti;return void 0===t?u:t}},{key:"isOptionDisabled",value:function(e,t){return Ni(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ki(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Si(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var u=this.props.inputValue,n=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:u,selectValue:n})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{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 t=this.props,u=t.isDisabled,n=t.isSearchable,r=t.inputId,o=t.inputValue,i=t.tabIndex,a=t.form,s=t.menuIsOpen,c=t.required,l=this.getComponents().Input,d=this.state,p=d.inputIsHidden,g=d.ariaSelection,f=this.commonProps,b=r||this.getElementId("input"),h=dr(dr(dr({"aria-autocomplete":"list","aria-expanded":s,"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":c,role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==g?void 0:g.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?e.createElement(l,Oe({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:b,innerRef:this.getInputRef,isDisabled:u,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},h)):e.createElement(oi,Oe({id:b,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Lr,onFocus:this.onInputFocus,disabled:u,tabIndex:i,inputMode:"none",form:a,value:""},h))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,u=this.getComponents(),n=u.MultiValue,r=u.MultiValueContainer,o=u.MultiValueLabel,i=u.MultiValueRemove,a=u.SingleValue,s=u.Placeholder,c=this.commonProps,l=this.props,d=l.controlShouldRenderValue,p=l.isDisabled,g=l.isMulti,f=l.inputValue,b=l.placeholder,h=this.state,m=h.selectValue,A=h.focusedValue,C=h.isFocused;if(!this.hasValue()||!d)return f?null:e.createElement(s,Oe({},c,{key:"placeholder",isDisabled:p,isFocused:C,innerProps:{id:this.getElementId("placeholder")}}),b);if(g)return m.map((function(u,a){var s=u===A,l="".concat(t.getOptionLabel(u),"-").concat(t.getOptionValue(u));return e.createElement(n,Oe({},c,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:p,key:l,index:a,removeProps:{onClick:function(){return t.removeValue(u)},onTouchEnd:function(){return t.removeValue(u)},onMouseDown:function(e){e.preventDefault()}},data:u}),t.formatOptionLabel(u,"value"))}));if(f)return null;var v=m[0];return e.createElement(a,Oe({},c,{data:v,isDisabled:p}),this.formatOptionLabel(v,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,u=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!t||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return e.createElement(t,Oe({},u,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,u=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return t&&o?e.createElement(t,Oe({},u,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),u=t.DropdownIndicator,n=t.IndicatorSeparator;if(!u||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return e.createElement(n,Oe({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var u=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return e.createElement(t,Oe({},u,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var t=this,u=this.getComponents(),n=u.Group,r=u.GroupHeading,o=u.Menu,i=u.MenuList,a=u.MenuPortal,s=u.LoadingMessage,c=u.NoOptionsMessage,l=u.Option,d=this.commonProps,p=this.state.focusedOption,g=this.props,f=g.captureMenuScroll,b=g.inputValue,h=g.isLoading,m=g.loadingMessage,A=g.minMenuHeight,C=g.maxMenuHeight,v=g.menuIsOpen,E=g.menuPlacement,y=g.menuPosition,I=g.menuPortalTarget,F=g.menuShouldBlockScroll,B=g.menuShouldScrollIntoView,x=g.noOptionsMessage,D=g.onMenuScrollToTop,w=g.onMenuScrollToBottom;if(!v)return null;var O,G=function(u,n){var r=u.type,o=u.data,i=u.isDisabled,a=u.isSelected,s=u.label,c=u.value,g=p===o,f=i?void 0:function(){return t.onOptionHover(o)},b=i?void 0:function(){return t.selectOption(o)},h="".concat(t.getElementId("option"),"-").concat(n),m={id:h,onClick:b,onMouseMove:f,onMouseOver:f,tabIndex:-1};return e.createElement(l,Oe({},d,{innerProps:m,data:o,isDisabled:i,isSelected:a,key:h,label:s,type:r,value:c,isFocused:g,innerRef:g?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(u.data,"menu"))};if(this.hasOptions())O=this.getCategorizedOptions().map((function(u){if("group"===u.type){var o=u.data,i=u.options,a=u.index,s="".concat(t.getElementId("group"),"-").concat(a),c="".concat(s,"-heading");return e.createElement(n,Oe({},d,{key:s,data:o,options:i,Heading:r,headingProps:{id:c,data:u.data},label:t.formatGroupLabel(u.data)}),u.options.map((function(e){return G(e,"".concat(a,"-").concat(e.index))})))}if("option"===u.type)return G(u,"".concat(u.index))}));else if(h){var T=m({inputValue:b});if(null===T)return null;O=e.createElement(s,d,T)}else{var N=x({inputValue:b});if(null===N)return null;O=e.createElement(c,d,N)}var k={minMenuHeight:A,maxMenuHeight:C,menuPlacement:E,menuPosition:y,menuShouldScrollIntoView:B},S=e.createElement(lo,Oe({},d,k),(function(u){var n=u.ref,r=u.placerProps,a=r.placement,s=r.maxHeight;return e.createElement(o,Oe({},d,k,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove,id:t.getElementId("listbox")},isLoading:h,placement:a}),e.createElement(Ai,{captureEnabled:f,onTopArrive:D,onBottomArrive:w,lockEnabled:F},(function(u){return e.createElement(i,Oe({},d,{innerRef:function(e){t.getMenuListRef(e),u(e)},isLoading:h,maxHeight:s,focusedOption:p}),O)})))}));return I||"fixed"===y?e.createElement(a,Oe({},d,{appendTo:I,controlElement:this.controlRef,menuPlacement:E,menuPosition:y}),S):S}},{key:"renderFormField",value:function(){var t=this,u=this.props,n=u.delimiter,r=u.isDisabled,o=u.isMulti,i=u.name,a=u.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return e.createElement(yi,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var c=s.map((function(e){return t.getOptionValue(e)})).join(n);return e.createElement("input",{name:i,type:"hidden",value:c})}var l=s.length>0?s.map((function(u,n){return e.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:t.getOptionValue(u)})})):e.createElement("input",{name:i,type:"hidden",value:""});return e.createElement("div",null,l)}var d=s[0]?this.getOptionValue(s[0]):"";return e.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,u=this.state,n=u.ariaSelection,r=u.focusedOption,o=u.focusedValue,i=u.isFocused,a=u.selectValue,s=this.getFocusableOptions();return e.createElement(Jo,Oe({},t,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s}))}},{key:"render",value:function(){var t=this.getComponents(),u=t.Control,n=t.IndicatorsContainer,r=t.SelectContainer,o=t.ValueContainer,i=this.props,a=i.className,s=i.id,c=i.isDisabled,l=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return e.createElement(r,Oe({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),e.createElement(u,Oe({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:l}),e.createElement(o,Oe({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),e.createElement(n,Oe({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){var u=t.prevProps,n=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,i=t.isFocused,a=t.prevWasFocused,s=e.options,c=e.value,l=e.menuIsOpen,d=e.inputValue,p=e.isMulti,g=Yr(c),f={};if(u&&(c!==u.value||s!==u.options||l!==u.menuIsOpen||d!==u.inputValue)){var b=l?function(e,t){return wi(Di(e,t))}(e,g):[],h=n?function(e,t){var u=e.focusedValue,n=e.selectValue.indexOf(u);if(n>-1){if(t.indexOf(u)>-1)return u;if(n<t.length)return t[n]}return null}(t,g):null,m=function(e,t){var u=e.focusedOption;return u&&t.indexOf(u)>-1?u:t[0]}(t,b);f={selectValue:g,focusedOption:m,focusedValue:h,clearFocusValueOnUpdate:!1}}var A=null!=r&&e!==u?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},C=o,v=i&&a;return i&&!v&&(C={value:io(p,g,g[0]||null),options:g,action:"initial-input-focus"},v=!a),"initial-input-focus"===(null==o?void 0:o.action)&&(C=null),dr(dr(dr({},f),A),{},{prevProps:e,ariaSelection:C,prevWasFocused:v})}}],n&&mr(u.prototype,n),r&&mr(u,r),Object.defineProperty(u,"prototype",{writable:!1}),i}();Wi.defaultProps=Bi;var Mi=i((function(t,u){var n=function(e){var t=e.defaultInputValue,u=void 0===t?"":t,n=e.defaultMenuIsOpen,r=void 0!==n&&n,o=e.defaultValue,i=void 0===o?null:o,a=e.inputValue,s=e.menuIsOpen,c=e.onChange,d=e.onInputChange,g=e.onMenuClose,f=e.onMenuOpen,b=e.value,h=br(e,hr),m=fr(l(void 0!==a?a:u),2),A=m[0],C=m[1],v=fr(l(void 0!==s?s:r),2),E=v[0],y=v[1],I=fr(l(void 0!==b?b:i),2),F=I[0],B=I[1],x=p((function(e,t){"function"==typeof c&&c(e,t),B(e)}),[c]),D=p((function(e,t){var u;"function"==typeof d&&(u=d(e,t)),C(void 0!==u?u:e)}),[d]),w=p((function(){"function"==typeof f&&f(),y(!0)}),[f]),O=p((function(){"function"==typeof g&&g(),y(!1)}),[g]),G=void 0!==a?a:A,T=void 0!==s?s:E,N=void 0!==b?b:F;return dr(dr({},h),{},{inputValue:G,menuIsOpen:T,onChange:x,onInputChange:D,onMenuClose:O,onMenuOpen:w,value:N})}(t);return e.createElement(Wi,Oe({ref:u},n))})),Zi=Mi;const Xi=e=>{const u=Gu(),n=t.useMemo((()=>{const t=u.getColor(e.color||"primary");if(e.isDisabled){return{main:Ut(t.main).desaturate(80).toHexString(),contrastText:t.contrastText}}return t}),[u,e.color,e.isDisabled]),r=t.useMemo((()=>{const e=Ut(n.main).setAlpha(.3).toPercentageRgbString();return{main:e,contrastText:Ut.mostReadable(e,["#000","#fff",n.contrastText]).toHex8String()}}),[n]);return t.createElement(Zi,{options:e.options,onChange:e.onChange,placeholder:e.placeholder,isDisabled:e.isDisabled,isClearable:e.isClearable,isSearchable:e.isSearchable,isOptionDisabled:e.isOptionDisabled,menuPosition:e.menuPosition,isLoading:e.isLoading,value:e.value,name:e.name,id:e.containerId,inputId:e.htmlId,className:e.className,classNames:{input:()=>e.inputClassName||""},"data-testid":e.htmlId,required:e.required,styles:{control:(e,t)=>Object.assign(Object.assign({},e),{outline:t.isFocused?`1px solid ${n.main}`:void 0,boxShadow:t.isFocused?`1px solid ${n.main}`:void 0,border:t.isFocused?`1px solid ${n.main}`:void 0,"&:hover":{border:t.isFocused?`1px solid ${n.main}`:void 0}}),option:(e,t)=>{const u=t.isSelected?n.main:"#fff",o=t.isDisabled?"rgba(0, 0, 0, 0.5)":t.isSelected?n.contrastText:"#000",i=t.isDisabled||t.isSelected?void 0:r.main,a=t.isDisabled||t.isSelected?void 0:r.contrastText;return Object.assign(Object.assign({},e),{backgroundColor:u,color:o,"&:hover":{backgroundColor:i,color:a}})}}})},Pi=e=>{const u=Gu(),n=t.useMemo((()=>{const t=u.getColor(e.color||"primary");if(e.isDisabled){return{main:Ut(t.main).desaturate(80).toHexString(),contrastText:t.contrastText}}return t}),[u,e.color,e.isDisabled]),r=t.useMemo((()=>{const e=Ut(n.main).setAlpha(.3).toPercentageRgbString();return{main:e,contrastText:Ut.mostReadable(e,["#000","#fff",n.contrastText]).toHex8String()}}),[n]);return t.createElement(Zi,{options:e.options,onChange:t=>e.onChange?e.onChange(t):void 0,placeholder:e.placeholder,isDisabled:e.isDisabled,isClearable:e.isClearable,isSearchable:e.isSearchable,isOptionDisabled:e.isOptionDisabled,menuPosition:e.menuPosition,isLoading:e.isLoading,value:e.value,name:e.name,isMulti:!0,id:e.containerId,inputId:e.htmlId,className:e.className,required:e.required,styles:{control:(e,t)=>Object.assign(Object.assign({},e),{outline:t.isFocused?`1px solid ${n.main}`:void 0,boxShadow:t.isFocused?`1px solid ${n.main}`:void 0,border:t.isFocused?`1px solid ${n.main}`:void 0,"&:hover":{border:t.isFocused?`1px solid ${n.main}`:void 0}}),option:(e,t)=>{const u=t.isDisabled?"rgba(0, 0, 0, 0.5)":"#000",n=t.isDisabled?void 0:r.main,o=t.isDisabled?void 0:r.contrastText;return Object.assign(Object.assign({},e),{backgroundColor:"#fff",color:u,"&:hover":{backgroundColor:n,color:o}})}}})};var Hi,Li,ji={},zi={},Yi={},Ji={};Hi=Ji,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.Direction=void 0,(Li=Hi.Direction||(Hi.Direction={})).Right="to right",Li.Left="to left",Li.Down="to bottom",Li.Up="to top",function(e){var u=Ge&&Ge.__spreadArray||function(e,t,u){if(u||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(e,"__esModule",{value:!0}),e.useThumbOverlap=e.assertUnreachable=e.voidFn=e.getTrackBackground=e.replaceAt=e.schd=e.translate=e.getClosestThumbIndex=e.translateThumbs=e.getPaddingAndBorder=e.getMargin=e.checkInitialOverlap=e.checkValuesAgainstBoundaries=e.checkBoundaries=e.isVertical=e.relativeValue=e.normalizeValue=e.isStepDivisible=e.isTouchEvent=e.getStepDecimals=void 0;var n=t,r=Ji;function o(e){return e===r.Direction.Up||e===r.Direction.Down}function i(e,t,u){e.style.transform="translate(".concat(t,"px, ").concat(u,"px)")}e.getStepDecimals=function(e){var t=e.toString().split(".")[1];return t?t.length:0},e.isTouchEvent=function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length},e.isStepDivisible=function(e,t,u){var n=Number(((t-e)/u).toFixed(8));return parseInt(n.toString(),10)===n},e.normalizeValue=function(t,u,n,r,o,i,a){var s=1e11;if(t=Math.round(t*s)/s,!i){var c=a[u-1],l=a[u+1];if(c&&c>t)return c;if(l&&l<t)return l}if(t>r)return r;if(t<n)return n;var d=Math.floor(t*s-n*s)%Math.floor(o*s),p=Math.floor(t*s-Math.abs(d)),g=0===d?t:p/s,f=Math.abs(d/s)<o/2?g:g+o,b=(0,e.getStepDecimals)(o);return parseFloat(f.toFixed(b))},e.relativeValue=function(e,t,u){return(e-t)/(u-t)},e.isVertical=o,e.checkBoundaries=function(e,t,u){if(t>=u)throw new RangeError("min (".concat(t,") is equal/bigger than max (").concat(u,")"));if(e<t)throw new RangeError("value (".concat(e,") is smaller than min (").concat(t,")"));if(e>u)throw new RangeError("value (".concat(e,") is bigger than max (").concat(u,")"))},e.checkValuesAgainstBoundaries=function(e,t,u){return e<t?t:e>u?u:e},e.checkInitialOverlap=function(e){if(!(e.length<2||e.slice(1).every((function(t,u){return e[u]<=t}))))throw new RangeError("values={[".concat(e,"]} needs to be sorted when allowOverlap={false}"))},e.getMargin=function(e){var t=window.getComputedStyle(e);return{top:parseInt(t["margin-top"],10),bottom:parseInt(t["margin-bottom"],10),left:parseInt(t["margin-left"],10),right:parseInt(t["margin-right"],10)}},e.getPaddingAndBorder=function(e){var t=window.getComputedStyle(e);return{top:parseInt(t["padding-top"],10)+parseInt(t["border-top-width"],10),bottom:parseInt(t["padding-bottom"],10)+parseInt(t["border-bottom-width"],10),left:parseInt(t["padding-left"],10)+parseInt(t["border-left-width"],10),right:parseInt(t["padding-right"],10)+parseInt(t["border-right-width"],10)}},e.translateThumbs=function(e,t,u){var n=u?-1:1;e.forEach((function(e,u){return i(e,n*t[u].x,t[u].y)}))},e.getClosestThumbIndex=function(e,t,u,n){for(var r=0,o=s(e[0],t,u,n),i=1;i<e.length;i++){var a=s(e[i],t,u,n);a<o&&(o=a,r=i)}return r},e.translate=i;e.schd=function(e){var t=[],u=null;return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t=n,u||(u=requestAnimationFrame((function(){u=null,e.apply(void 0,t)})))}},e.replaceAt=function(e,t,u){var n=e.slice(0);return n[t]=u,n},e.getTrackBackground=function(e){var t=e.values,u=e.colors,n=e.min,o=e.max,i=e.direction,a=void 0===i?r.Direction.Right:i,s=e.rtl,c=void 0!==s&&s;c&&a===r.Direction.Right?a=r.Direction.Left:c&&r.Direction.Left&&(a=r.Direction.Right);var l=t.slice(0).sort((function(e,t){return e-t})).map((function(e){return(e-n)/(o-n)*100})).reduce((function(e,t,n){return"".concat(e,", ").concat(u[n]," ").concat(t,"%, ").concat(u[n+1]," ").concat(t,"%")}),"");return"linear-gradient(".concat(a,", ").concat(u[0]," 0%").concat(l,", ").concat(u[u.length-1]," 100%)")},e.voidFn=function(){},e.assertUnreachable=function(e){throw new Error("Didn't expect to get here")};var a=function(e,t,n,r,o){return void 0===o&&(o=function(e){return e}),Math.ceil(u([e],Array.from(e.children),!0).reduce((function(e,u){var i=Math.ceil(u.getBoundingClientRect().width);if(u.innerText&&u.innerText.includes(n)&&0===u.childElementCount){var a=u.cloneNode(!0);a.innerHTML=o(t.toFixed(r)),a.style.visibility="hidden",document.body.appendChild(a),i=Math.ceil(a.getBoundingClientRect().width),document.body.removeChild(a)}return i>e?i:e}),e.getBoundingClientRect().width))};function s(e,t,u,n){var r=e.getBoundingClientRect(),i=r.left,a=r.top,s=r.width,c=r.height;return o(n)?Math.abs(u-(a+c/2)):Math.abs(t-(i+s/2))}e.useThumbOverlap=function(t,r,o,i,s,c){void 0===i&&(i=.1),void 0===s&&(s=" - "),void 0===c&&(c=function(e){return e});var l=(0,e.getStepDecimals)(i),d=(0,n.useState)({}),p=d[0],g=d[1],f=(0,n.useState)(c(r[o].toFixed(l))),b=f[0],h=f[1];return(0,n.useEffect)((function(){if(t){var e=t.getThumbs();if(e.length<1)return;var n={},i=t.getOffsets(),d=function(e,t,n,r,o,i,s){void 0===s&&(s=function(e){return e});var c=[],l=function(e){var d=a(n[e],r[e],o,i,s),p=t[e].x;t.forEach((function(t,g){var f=t.x,b=a(n[g],r[g],o,i,s);e!==g&&(p>=f&&p<=f+b||p+d>=f&&p+d<=f+b)&&(c.includes(g)||(c.push(e),c.push(g),c=u(u([],c,!0),[e,g],!1),l(g)))}))};return l(e),Array.from(new Set(c.sort()))}(o,i,e,r,s,l,c),p=c(r[o].toFixed(l));if(d.length){var f=d.reduce((function(e,t,n,r){return e.length?u(u([],e,!0),[i[r[n]].x],!1):[i[r[n]].x]}),[]);if(Math.min.apply(Math,f)===i[o].x){var b=[];d.forEach((function(e){b.push(r[e].toFixed(l))})),p=Array.from(new Set(b.sort((function(e,t){return parseFloat(e)-parseFloat(t)})))).map(c).join(s);var m=Math.min.apply(Math,f),A=Math.max.apply(Math,f),C=e[d[f.indexOf(A)]].getBoundingClientRect().width;n.left="".concat(Math.abs(m-(A+C))/2,"px"),n.transform="translate(-50%, 0)"}else n.visibility="hidden"}h(p),g(n)}}),[t,r]),[b,p]}}(Yi);var _i,Ui=Ge&&Ge.__extends||(_i=function(e,t){return _i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(e[u]=t[u])},_i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function u(){this.constructor=e}_i(e,t),e.prototype=null===t?Object.create(t):(u.prototype=t.prototype,new u)}),Qi=Ge&&Ge.__createBinding||(Object.create?function(e,t,u,n){void 0===n&&(n=u);var r=Object.getOwnPropertyDescriptor(t,u);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[u]}}),Object.defineProperty(e,n,r)}:function(e,t,u,n){void 0===n&&(n=u),e[n]=t[u]}),$i=Ge&&Ge.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),qi=Ge&&Ge.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var u in e)"default"!==u&&Object.prototype.hasOwnProperty.call(e,u)&&Qi(t,e,u);return $i(t,e),t},Ki=Ge&&Ge.__spreadArray||function(e,t,u){if(u||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(zi,"__esModule",{value:!0});var ea=qi(t),ta=Yi,ua=Ji,na=["ArrowRight","ArrowUp","k","PageUp"],ra=["ArrowLeft","ArrowDown","j","PageDown"],oa=function(e){function t(t){var u=e.call(this,t)||this;if(u.trackRef=ea.createRef(),u.thumbRefs=[],u.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(u.props.values.length).fill(0).map((function(e,t){return t})),isChanged:!1,markOffsets:[]},u.getOffsets=function(){var e=u.props,t=e.direction,n=e.values,r=e.min,o=e.max,i=u.trackRef.current,a=i.getBoundingClientRect(),s=(0,ta.getPaddingAndBorder)(i);return u.getThumbs().map((function(e,u){var i={x:0,y:0},c=e.getBoundingClientRect(),l=(0,ta.getMargin)(e);switch(t){case ua.Direction.Right:return i.x=-1*(l.left+s.left),i.y=-1*((c.height-a.height)/2+s.top),i.x+=a.width*(0,ta.relativeValue)(n[u],r,o)-c.width/2,i;case ua.Direction.Left:return i.x=-1*(l.right+s.right),i.y=-1*((c.height-a.height)/2+s.top),i.x+=a.width-a.width*(0,ta.relativeValue)(n[u],r,o)-c.width/2,i;case ua.Direction.Up:return i.x=-1*((c.width-a.width)/2+l.left+s.left),i.y=-s.left,i.y+=a.height-a.height*(0,ta.relativeValue)(n[u],r,o)-c.height/2,i;case ua.Direction.Down:return i.x=-1*((c.width-a.width)/2+l.left+s.left),i.y=-s.left,i.y+=a.height*(0,ta.relativeValue)(n[u],r,o)-c.height/2,i;default:return(0,ta.assertUnreachable)(t)}}))},u.getThumbs=function(){return u.trackRef&&u.trackRef.current?Array.from(u.trackRef.current.children).filter((function(e){return e.hasAttribute("aria-valuenow")})):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},u.getTargetIndex=function(e){return u.getThumbs().findIndex((function(t){return t===e.target||t.contains(e.target)}))},u.addTouchEvents=function(e){document.addEventListener("touchmove",u.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",u.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",u.schdOnEnd,{passive:!1})},u.addMouseEvents=function(e){document.addEventListener("mousemove",u.schdOnMouseMove),document.addEventListener("mouseup",u.schdOnEnd)},u.onMouseDownTrack=function(e){var t;if(0===e.button)if(e.persist(),e.preventDefault(),u.addMouseEvents(e.nativeEvent),u.props.values.length>1&&u.props.draggableTrack){if(u.thumbRefs.some((function(t){var u;return null===(u=t.current)||void 0===u?void 0:u.contains(e.target)})))return;u.setState({draggedTrackPos:[e.clientX,e.clientY]},(function(){return u.onMove(e.clientX,e.clientY)}))}else{var n=(0,ta.getClosestThumbIndex)(u.thumbRefs.map((function(e){return e.current})),e.clientX,e.clientY,u.props.direction);null===(t=u.thumbRefs[n].current)||void 0===t||t.focus(),u.setState({draggedThumbIndex:n},(function(){return u.onMove(e.clientX,e.clientY)}))}},u.onResize=function(){(0,ta.translateThumbs)(u.getThumbs(),u.getOffsets(),u.props.rtl),u.calculateMarkOffsets()},u.onTouchStartTrack=function(e){var t;if(e.persist(),u.addTouchEvents(e.nativeEvent),u.props.values.length>1&&u.props.draggableTrack){if(u.thumbRefs.some((function(t){var u;return null===(u=t.current)||void 0===u?void 0:u.contains(e.target)})))return;u.setState({draggedTrackPos:[e.touches[0].clientX,e.touches[0].clientY]},(function(){return u.onMove(e.touches[0].clientX,e.touches[0].clientY)}))}else{var n=(0,ta.getClosestThumbIndex)(u.thumbRefs.map((function(e){return e.current})),e.touches[0].clientX,e.touches[0].clientY,u.props.direction);null===(t=u.thumbRefs[n].current)||void 0===t||t.focus(),u.setState({draggedThumbIndex:n},(function(){return u.onMove(e.touches[0].clientX,e.touches[0].clientY)}))}},u.onMouseOrTouchStart=function(e){if(!u.props.disabled){var t=(0,ta.isTouchEvent)(e);if(t||0===e.button){var n=u.getTargetIndex(e);-1!==n&&(t?u.addTouchEvents(e):u.addMouseEvents(e),u.setState({draggedThumbIndex:n,thumbZIndexes:u.state.thumbZIndexes.map((function(e,t){return t===n?Math.max.apply(Math,u.state.thumbZIndexes):e<=u.state.thumbZIndexes[n]?e:e-1}))}))}}},u.onMouseMove=function(e){e.preventDefault(),u.onMove(e.clientX,e.clientY)},u.onTouchMove=function(e){e.preventDefault(),u.onMove(e.touches[0].clientX,e.touches[0].clientY)},u.onKeyDown=function(e){var t=u.props,n=t.values,r=t.onChange,o=t.step,i=t.rtl,a=t.direction,s=u.state.isChanged,c=u.getTargetIndex(e.nativeEvent),l=i||a===ua.Direction.Left||a===ua.Direction.Down?-1:1;-1!==c&&(na.includes(e.key)?(e.preventDefault(),u.setState({draggedThumbIndex:c,isChanged:!0}),r((0,ta.replaceAt)(n,c,u.normalizeValue(n[c]+l*("PageUp"===e.key?10*o:o),c)))):ra.includes(e.key)?(e.preventDefault(),u.setState({draggedThumbIndex:c,isChanged:!0}),r((0,ta.replaceAt)(n,c,u.normalizeValue(n[c]-l*("PageDown"===e.key?10*o:o),c)))):"Tab"===e.key?u.setState({draggedThumbIndex:-1},(function(){s&&u.fireOnFinalChange()})):s&&u.fireOnFinalChange())},u.onKeyUp=function(e){var t=u.state.isChanged;u.setState({draggedThumbIndex:-1},(function(){t&&u.fireOnFinalChange()}))},u.onMove=function(e,t){var n=u.state,r=n.draggedThumbIndex,o=n.draggedTrackPos,i=u.props,a=i.direction,s=i.min,c=i.max,l=i.onChange,d=i.values,p=i.step,g=i.rtl;if(-1===r&&-1===o[0]&&-1===o[1])return null;var f=u.trackRef.current;if(!f)return null;var b=f.getBoundingClientRect(),h=(0,ta.isVertical)(a)?b.height:b.width;if(-1!==o[0]&&-1!==o[1]){var m=e-o[0],A=t-o[1],C=0;switch(a){case ua.Direction.Right:case ua.Direction.Left:C=m/h*(c-s);break;case ua.Direction.Down:case ua.Direction.Up:C=A/h*(c-s);break;default:(0,ta.assertUnreachable)(a)}if(g&&(C*=-1),Math.abs(C)>=p/2){for(var v=0;v<u.thumbRefs.length;v++){if(d[v]===c&&1===Math.sign(C)||d[v]===s&&-1===Math.sign(C))return;var E=d[v]+C;E>c?C=c-d[v]:E<s&&(C=s-d[v])}var y=d.slice(0);for(v=0;v<u.thumbRefs.length;v++)y=(0,ta.replaceAt)(y,v,u.normalizeValue(d[v]+C,v));u.setState({draggedTrackPos:[e,t]}),l(y)}}else{var I=0;switch(a){case ua.Direction.Right:I=(e-b.left)/h*(c-s)+s;break;case ua.Direction.Left:I=(h-(e-b.left))/h*(c-s)+s;break;case ua.Direction.Down:I=(t-b.top)/h*(c-s)+s;break;case ua.Direction.Up:I=(h-(t-b.top))/h*(c-s)+s;break;default:(0,ta.assertUnreachable)(a)}g&&(I=c+s-I),Math.abs(d[r]-I)>=p/2&&l((0,ta.replaceAt)(d,r,u.normalizeValue(I,r)))}},u.normalizeValue=function(e,t){var n=u.props,r=n.min,o=n.max,i=n.step,a=n.allowOverlap,s=n.values;return(0,ta.normalizeValue)(e,t,r,o,i,a,s)},u.onEnd=function(e){if(e.preventDefault(),document.removeEventListener("mousemove",u.schdOnMouseMove),document.removeEventListener("touchmove",u.schdOnTouchMove),document.removeEventListener("mouseup",u.schdOnEnd),document.removeEventListener("touchend",u.schdOnEnd),document.removeEventListener("touchcancel",u.schdOnEnd),-1===u.state.draggedThumbIndex&&-1===u.state.draggedTrackPos[0]&&-1===u.state.draggedTrackPos[1])return null;u.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},(function(){u.fireOnFinalChange()}))},u.fireOnFinalChange=function(){u.setState({isChanged:!1});var e=u.props,t=e.onFinalChange,n=e.values;t&&t(n)},u.updateMarkRefs=function(e){if(!e.renderMark)return u.numOfMarks=void 0,void(u.markRefs=void 0);u.numOfMarks=(e.max-e.min)/u.props.step,u.markRefs=[];for(var t=0;t<u.numOfMarks+1;t++)u.markRefs[t]=ea.createRef()},u.calculateMarkOffsets=function(){if(u.props.renderMark&&u.trackRef&&u.numOfMarks&&u.markRefs&&null!==u.trackRef.current){for(var e=window.getComputedStyle(u.trackRef.current),t=parseInt(e.width,10),n=parseInt(e.height,10),r=parseInt(e.paddingLeft,10),o=parseInt(e.paddingTop,10),i=[],a=0;a<u.numOfMarks+1;a++){var s=9999,c=9999;if(u.markRefs[a].current){var l=u.markRefs[a].current.getBoundingClientRect();s=l.height,c=l.width}u.props.direction===ua.Direction.Left||u.props.direction===ua.Direction.Right?i.push([Math.round(t/u.numOfMarks*a+r-c/2),-Math.round((s-n)/2)]):i.push([Math.round(n/u.numOfMarks*a+o-s/2),-Math.round((c-t)/2)])}u.setState({markOffsets:i})}},0===t.step)throw new Error('"step" property should be a positive number');return u.schdOnMouseMove=(0,ta.schd)(u.onMouseMove),u.schdOnTouchMove=(0,ta.schd)(u.onTouchMove),u.schdOnEnd=(0,ta.schd)(u.onEnd),u.thumbRefs=t.values.map((function(){return ea.createRef()})),u.updateMarkRefs(t),u}return Ui(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,u=t.values,n=t.min,r=t.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",e.onResize)},unobserve:function(){return window.removeEventListener("resize",e.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),!this.props.allowOverlap&&(0,ta.checkInitialOverlap)(this.props.values),this.props.values.forEach((function(t){return(0,ta.checkBoundaries)(t,e.props.min,e.props.max)})),this.resizeObserver.observe(this.trackRef.current),(0,ta.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),u.forEach((function(e){(0,ta.isStepDivisible)(n,e,r)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},t.prototype.componentDidUpdate=function(e,t){var u=this.props,n=u.max,r=u.min,o=u.step,i=u.values,a=u.rtl;e.max===n&&e.min===r&&e.step===o||this.updateMarkRefs(this.props),(0,ta.translateThumbs)(this.getThumbs(),this.getOffsets(),a),e.max===n&&e.min===r&&e.step===o&&t.markOffsets.length===this.state.markOffsets.length||(this.calculateMarkOffsets(),i.forEach((function(e){(0,ta.isStepDivisible)(r,e,o)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})))},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},t.prototype.render=function(){var e=this,t=this.props,u=t.renderTrack,n=t.renderThumb,r=t.renderMark,o=void 0===r?function(){return null}:r,i=t.values,a=t.min,s=t.max,c=t.allowOverlap,l=t.disabled,d=this.state,p=d.draggedThumbIndex,g=d.thumbZIndexes,f=d.markOffsets;return u({props:{style:{transform:"scale(1)",cursor:p>-1?"grabbing":this.props.draggableTrack?(0,ta.isVertical)(this.props.direction)?"ns-resize":"ew-resize":1!==i.length||l?"inherit":"pointer"},onMouseDown:l?ta.voidFn:this.onMouseDownTrack,onTouchStart:l?ta.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:l,children:Ki(Ki([],f.map((function(t,u,n){return o({props:{style:e.props.direction===ua.Direction.Left||e.props.direction===ua.Direction.Right?{position:"absolute",left:"".concat(t[0],"px"),marginTop:"".concat(t[1],"px")}:{position:"absolute",top:"".concat(t[0],"px"),marginLeft:"".concat(t[1],"px")},key:"mark".concat(u),ref:e.markRefs[u]},index:u})})),!0),i.map((function(t,u){var r=e.state.draggedThumbIndex===u;return n({index:u,value:t,isDragged:r,props:{style:{position:"absolute",zIndex:g[u],cursor:l?"inherit":r?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:u,tabIndex:l?void 0:0,"aria-valuemax":c?s:i[u+1]||s,"aria-valuemin":c?a:i[u-1]||a,"aria-valuenow":t,draggable:!1,ref:e.thumbRefs[u],role:"slider",onKeyDown:l?ta.voidFn:e.onKeyDown,onKeyUp:l?ta.voidFn:e.onKeyUp}})})),!0)})},t.defaultProps={step:1,direction:ua.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},t}(ea.Component);zi.default=oa,function(e){var t=Ge&&Ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.checkValuesAgainstBoundaries=e.relativeValue=e.useThumbOverlap=e.Direction=e.getTrackBackground=e.Range=void 0;var u=t(zi);e.Range=u.default;var n=Yi;Object.defineProperty(e,"getTrackBackground",{enumerable:!0,get:function(){return n.getTrackBackground}}),Object.defineProperty(e,"useThumbOverlap",{enumerable:!0,get:function(){return n.useThumbOverlap}}),Object.defineProperty(e,"relativeValue",{enumerable:!0,get:function(){return n.relativeValue}}),Object.defineProperty(e,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return n.checkValuesAgainstBoundaries}});var r=Ji;Object.defineProperty(e,"Direction",{enumerable:!0,get:function(){return r.Direction}})}(ji);const ia=Hu.div`
|
|
100
|
+
`,ir=e=>{const u=Gu(),n=t.useMemo((()=>{const t=u.getColor(e.color||"primary");if(e.isDisabled){return{main:Ut(t.main).desaturate(80).toHexString(),contrastText:t.contrastText}}return t}),[u,e.color,e.isDisabled]);return t.createElement(rr,{className:e.containerClassName},t.createElement(or,{$color:n.main,$isDisabled:e.isDisabled,type:e.type||"text",onChange:t=>e.onChange?e.onChange(t):void 0,value:e.value,name:e.name,placeholder:e.placeholder,id:e.htmlId,className:e.className,disabled:e.isDisabled,required:e.required,pattern:e.pattern,readOnly:e.readonly,autoFocus:e.autoFocus,list:e.list}))};function ar(e){return ar="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ar(e)}function sr(e){var t=function(e,t){if("object"!==ar(e)||null===e)return e;var u=e[Symbol.toPrimitive];if(void 0!==u){var n=u.call(e,t||"default");if("object"!==ar(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ar(t)?t:String(t)}function cr(e,t,u){return(t=sr(t))in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u,e}function lr(e,t){var u=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),u.push.apply(u,n)}return u}function dr(e){for(var t=1;t<arguments.length;t++){var u=null!=arguments[t]?arguments[t]:{};t%2?lr(Object(u),!0).forEach((function(t){cr(e,t,u[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(u)):lr(Object(u)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(u,t))}))}return e}function pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var u=0,n=new Array(t);u<t;u++)n[u]=e[u];return n}function gr(e,t){if(e){if("string"==typeof e)return pr(e,t);var u=Object.prototype.toString.call(e).slice(8,-1);return"Object"===u&&e.constructor&&(u=e.constructor.name),"Map"===u||"Set"===u?Array.from(e):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?pr(e,t):void 0}}function fr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var u=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=u){var n,r,o,i,a=[],s=!0,c=!1;try{if(o=(u=u.call(e)).next,0===t){if(Object(u)!==u)return;s=!1}else for(;!(s=(n=o.call(u)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=u.return&&(i=u.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(e,t)||gr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function br(e,t){if(null==e)return{};var u,n,r=function(e,t){if(null==e)return{};var u,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)u=o[n],t.indexOf(u)>=0||(r[u]=e[u]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)u=o[n],t.indexOf(u)>=0||Object.prototype.propertyIsEnumerable.call(e,u)&&(r[u]=e[u])}return r}var hr=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function mr(e,t){for(var u=0;u<t.length;u++){var n=t[u];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sr(n.key),n)}}function Ar(e,t){return Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ar(e,t)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cr(e)}function vr(e,t){if(t&&("object"===ar(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Er(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var u,n=Cr(e);if(t){var r=Cr(this).constructor;u=Reflect.construct(n,arguments,r)}else u=n.apply(this,arguments);return vr(this,u)}}function yr(e){return function(e){if(Array.isArray(e))return pr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||gr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ir(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Fr(e){return Ir(e).getComputedStyle(e)}function Br(e){return e instanceof Ir(e).Node}function xr(e){return Br(e)?(e.nodeName||"").toLowerCase():""}let Dr;function wr(e){return e instanceof Ir(e).HTMLElement}function Or(e){return e instanceof Ir(e).Element}function Gr(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Ir(e).ShadowRoot||e instanceof ShadowRoot}function Tr(e){const{overflow:t,overflowX:u,overflowY:n,display:r}=Fr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+u)&&!["inline","contents"].includes(r)}function Nr(){return/^((?!chrome|android).)*safari/i.test(function(){if(Dr)return Dr;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Dr=e.brands.map((e=>e.brand+"/"+e.version)).join(" "),Dr):navigator.userAgent}())}const kr=Math.round;function Sr(e){return Or(e)?e:e.contextElement}const Vr={x:1,y:1};function Rr(e){const t=Sr(e);if(!wr(t))return Vr;const u=t.getBoundingClientRect(),{width:n,height:r,fallback:o}=function(e){const t=Fr(e);let u=parseFloat(t.width),n=parseFloat(t.height);const r=wr(e),o=r?e.offsetWidth:u,i=r?e.offsetHeight:n,a=kr(u)!==o||kr(n)!==i;return a&&(u=o,n=i),{width:u,height:n,fallback:a}}(t);let i=(o?kr(u.width):u.width)/n,a=(o?kr(u.height):u.height)/r;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Wr(e,t,u,n){var r,o;void 0===t&&(t=!1),void 0===u&&(u=!1);const i=e.getBoundingClientRect(),a=Sr(e);let s=Vr;t&&(n?Or(n)&&(s=Rr(n)):s=Rr(e));const c=a?Ir(a):window,l=Nr()&&u;let d=(i.left+(l&&(null==(r=c.visualViewport)?void 0:r.offsetLeft)||0))/s.x,p=(i.top+(l&&(null==(o=c.visualViewport)?void 0:o.offsetTop)||0))/s.y,g=i.width/s.x,f=i.height/s.y;if(a){const e=Ir(a),t=n&&Or(n)?Ir(n):n;let u=e.frameElement;for(;u&&n&&t!==e;){const e=Rr(u),t=u.getBoundingClientRect(),n=getComputedStyle(u);t.x+=(u.clientLeft+parseFloat(n.paddingLeft))*e.x,t.y+=(u.clientTop+parseFloat(n.paddingTop))*e.y,d*=e.x,p*=e.y,g*=e.x,f*=e.y,d+=t.x,p+=t.y,u=Ir(u).frameElement}}return b={width:g,height:f,x:d,y:p},{...b,top:b.y,left:b.x,right:b.x+b.width,bottom:b.y+b.height};var b}function Mr(e){if("html"===xr(e))return e;const t=e.assignedSlot||e.parentNode||Gr(e)&&e.host||function(e){return((Br(e)?e.ownerDocument:e.document)||window.document).documentElement}(e);return Gr(t)?t.host:t}function Zr(e){const t=Mr(e);return function(e){return["html","body","#document"].includes(xr(e))}(t)?t.ownerDocument.body:wr(t)&&Tr(t)?t:Zr(t)}function Xr(e,t){var u;void 0===t&&(t=[]);const n=Zr(e),r=n===(null==(u=e.ownerDocument)?void 0:u.body),o=Ir(n);return r?t.concat(o,o.visualViewport||[],Tr(n)?n:[]):t.concat(n,Xr(n))}var Pr="undefined"!=typeof document?u:d,Hr=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Lr=function(){};function jr(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function zr(e,t){for(var u=arguments.length,n=new Array(u>2?u-2:0),r=2;r<u;r++)n[r-2]=arguments[r];var o=[].concat(n);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&o.push("".concat(jr(e,i)));return o.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Yr=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===ar(e)&&null!==e?[e]:[];var t},Jr=function(e){return 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,dr({},br(e,Hr))},_r=function(e,t,u){var n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.className;return{css:r(t,e),className:n(null!=u?u:{},o(t,e),i)}};function Ur(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Qr(e){return Ur(e)?window.pageYOffset:e.scrollTop}function $r(e,t){Ur(e)?window.scrollTo(0,t):e.scrollTop=t}function qr(e,t){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Lr,r=Qr(e),o=t-r,i=0;!function t(){var a,s=o*((a=(a=i+=10)/u-1)*a*a+1)+r;$r(e,s),i<u?window.requestAnimationFrame(t):n(e)}()}function Kr(e,t){var u=e.getBoundingClientRect(),n=t.getBoundingClientRect(),r=t.offsetHeight/3;n.bottom+r>u.bottom?$r(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):n.top-r<u.top&&$r(e,Math.max(t.offsetTop-r,0))}function eo(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var to=!1,uo={get passive(){return to=!0}},no="undefined"!=typeof window?window:{};no.addEventListener&&no.removeEventListener&&(no.addEventListener("p",Lr,uo),no.removeEventListener("p",Lr,!1));var ro=to;function oo(e){return null!=e}function io(e,t,u){return e?t:u}function ao(e){var t=e.maxHeight,u=e.menuEl,n=e.minHeight,r=e.placement,o=e.shouldScroll,i=e.isFixedPosition,a=e.controlHeight,s=function(e){var t=getComputedStyle(e),u="absolute"===t.position,n=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!u||"static"!==t.position)&&n.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(u),c={placement:"bottom",maxHeight:t};if(!u||!u.offsetParent)return c;var l,d=s.getBoundingClientRect().height,p=u.getBoundingClientRect(),g=p.bottom,f=p.height,b=p.top,h=u.offsetParent.getBoundingClientRect().top,m=i?window.innerHeight:Ur(l=s)?window.innerHeight:l.clientHeight,A=Qr(s),C=parseInt(getComputedStyle(u).marginBottom,10),v=parseInt(getComputedStyle(u).marginTop,10),E=h-v,y=m-b,I=E+A,F=d-A-b,B=g-m+A+C,x=A+b-v,D=160;switch(r){case"auto":case"bottom":if(y>=f)return{placement:"bottom",maxHeight:t};if(F>=f&&!i)return o&&qr(s,B,D),{placement:"bottom",maxHeight:t};if(!i&&F>=n||i&&y>=n)return o&&qr(s,B,D),{placement:"bottom",maxHeight:i?y-C:F-C};if("auto"===r||i){var w=t,O=i?E:I;return O>=n&&(w=Math.min(O-C-a,t)),{placement:"top",maxHeight:w}}if("bottom"===r)return o&&$r(s,B),{placement:"bottom",maxHeight:t};break;case"top":if(E>=f)return{placement:"top",maxHeight:t};if(I>=f&&!i)return o&&qr(s,x,D),{placement:"top",maxHeight:t};if(!i&&I>=n||i&&E>=n){var G=t;return(!i&&I>=n||i&&E>=n)&&(G=i?E-v:I-v),o&&qr(s,x,D),{placement:"top",maxHeight:G}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var so=function(e){return"auto"===e?"bottom":e},co=o(null),lo=function(e){var t=e.children,u=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,c=e.theme,d=(n(co)||{}).setPortalPlacement,p=s(null),g=fr(l(r),2),f=g[0],b=g[1],h=fr(l(null),2),m=h[0],A=h[1],C=c.spacing.controlHeight;return Pr((function(){var e=p.current;if(e){var t="fixed"===i,n=ao({maxHeight:r,menuEl:e,minHeight:u,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:C});b(n.maxHeight),A(n.placement),null==d||d(n.placement)}}),[r,o,i,a,u,d,C]),t({ref:p,placerProps:dr(dr({},e),{},{placement:m||so(o),maxHeight:f})})},po=function(e){var t=e.children,u=e.innerRef,n=e.innerProps;return Vt("div",Oe({},_r(e,"menu",{menu:!0}),{ref:u},n),t)},go=function(e,t){var u=e.theme,n=u.spacing.baseUnit,r=u.colors;return dr({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px")})},fo=go,bo=go,ho=function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),u),t)};ho.defaultProps={children:"No options"};var mo=function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),u),t)};mo.defaultProps={children:"Loading..."};var Ao,Co=["size"];var vo,Eo,yo="production"===process.env.NODE_ENV?{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,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gICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */",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)."}},Io=function(e){var t=e.size,u=br(e,Co);return Vt("svg",Oe({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:yo},u))},Fo=function(e){return Vt(Io,Oe({size:20},e),Vt("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"}))},Bo=function(e){return Vt(Io,Oe({size:20},e),Vt("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"}))},xo=function(e,t){var u=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return dr({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:u?o.neutral60:o.neutral20,padding:2*r,":hover":{color:u?o.neutral80:o.neutral40}})},Do=xo,wo=xo,Oo=function(){var e=Mt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Ao||(vo=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Eo||(Eo=vo.slice(0)),Ao=Object.freeze(Object.defineProperties(vo,{raw:{value:Object.freeze(Eo)}})))),Go=function(e){var t=e.delay,u=e.offset;return Vt("span",{css:Mt({animation:"".concat(Oo," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:u?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG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4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+XG4pID0+IHtcbiAgY29uc3QgeyBpbm5lclByb3BzLCBpc1J0bCB9ID0gcHJvcHM7XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2xvYWRpbmdJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgICAgey4uLmlubmVyUHJvcHN9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */")})},To=function(e){var t=e.innerProps,u=e.isRtl;return Vt("div",Oe({},_r(e,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Vt(Go,{delay:0,offset:u}),Vt(Go,{delay:160,offset:!0}),Vt(Go,{delay:320,offset:!u}))};To.defaultProps={size:4};var No=function(e){var t=e.children,u=e.isDisabled,n=e.isFocused,r=e.innerRef,o=e.innerProps,i=e.menuIsOpen;return Vt("div",Oe({ref:r},_r(e,"control",{control:!0,"control--is-disabled":u,"control--is-focused":n,"control--menu-is-open":i}),o),t)},ko=["data"],So=function(e){var t=e.children,u=e.cx,n=e.getStyles,r=e.getClassNames,o=e.Heading,i=e.headingProps,a=e.innerProps,s=e.label,c=e.theme,l=e.selectProps;return Vt("div",Oe({},_r(e,"group",{group:!0}),a),Vt(o,Oe({},i,{selectProps:l,theme:c,getStyles:n,getClassNames:r,cx:u}),s),Vt("div",null,t))},Vo=["innerRef","isDisabled","isHidden","inputClassName"],Ro={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Wo={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":dr({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ro)},Mo=function(e){return dr({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ro)},Zo=function(e){var t=e.children,u=e.innerProps;return Vt("div",u,t)};var Xo=function(e){var t=e.children,u=e.components,n=e.data,r=e.innerProps,o=e.isDisabled,i=e.removeProps,a=e.selectProps,s=u.Container,c=u.Label,l=u.Remove;return Vt(s,{data:n,innerProps:dr(dr({},_r(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),r),selectProps:a},Vt(c,{data:n,innerProps:dr({},_r(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Vt(l,{data:n,innerProps:dr(dr({},_r(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},i),selectProps:a}))},Po={ClearIndicator:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),t||Vt(Fo,null))},Control:No,DropdownIndicator:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),t||Vt(Bo,null))},DownChevron:Bo,CrossIcon:Fo,Group:So,GroupHeading:function(e){var t=Jr(e);t.data;var u=br(t,ko);return Vt("div",Oe({},_r(e,"groupHeading",{"group-heading":!0}),u))},IndicatorsContainer:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"indicatorsContainer",{indicators:!0}),u),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Vt("span",Oe({},t,_r(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,u=e.value,n=Jr(e),r=n.innerRef,o=n.isDisabled,i=n.isHidden,a=n.inputClassName,s=br(n,Vo);return Vt("div",Oe({},_r(e,"input",{"input-container":!0}),{"data-value":u||""}),Vt("input",Oe({className:t({input:!0},a),ref:r,style:Mo(i),disabled:o},s)))},LoadingIndicator:To,Menu:po,MenuList:function(e){var t=e.children,u=e.innerProps,n=e.innerRef,r=e.isMulti;return Vt("div",Oe({},_r(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:n},u),t)},MenuPortal:function(e){var t=e.appendTo,u=e.children,n=e.controlElement,r=e.innerProps,o=e.menuPlacement,i=e.menuPosition,a=s(null),d=s(null),g=fr(l(so(o)),2),f=g[0],b=g[1],h=c((function(){return{setPortalPlacement:b}}),[]),A=fr(l(null),2),C=A[0],v=A[1],E=p((function(){if(n){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(n),t="fixed"===i?0:window.pageYOffset,u=e[f]+t;u===(null==C?void 0:C.offset)&&e.left===(null==C?void 0:C.rect.left)&&e.width===(null==C?void 0:C.rect.width)||v({offset:u,rect:e})}}),[n,i,f,null==C?void 0:C.offset,null==C?void 0:C.rect.left,null==C?void 0:C.rect.width]);Pr((function(){E()}),[E]);var y=p((function(){"function"==typeof d.current&&(d.current(),d.current=null),n&&a.current&&(d.current=function(e,t,u,n){void 0===n&&(n={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:i=!0,animationFrame:a=!1}=n,s=r||o?[...Or(e)?Xr(e):e.contextElement?Xr(e.contextElement):[],...Xr(t)]:[];s.forEach((e=>{const t=!Or(e)&&e.toString().includes("V");!r||a&&!t||e.addEventListener("scroll",u,{passive:!0}),o&&e.addEventListener("resize",u)}));let c,l=null;i&&(l=new ResizeObserver((()=>{u()})),Or(e)&&!a&&l.observe(e),Or(e)||!e.contextElement||a||l.observe(e.contextElement),l.observe(t));let d=a?Wr(e):null;return a&&function t(){const n=Wr(e);!d||n.x===d.x&&n.y===d.y&&n.width===d.width&&n.height===d.height||u(),d=n,c=requestAnimationFrame(t)}(),u(),()=>{var e;s.forEach((e=>{r&&e.removeEventListener("scroll",u),o&&e.removeEventListener("resize",u)})),null==(e=l)||e.disconnect(),l=null,a&&cancelAnimationFrame(c)}}(n,a.current,E,{elementResize:"ResizeObserver"in window}))}),[n,E]);Pr((function(){y()}),[y]);var I=p((function(e){a.current=e,y()}),[y]);if(!t&&"fixed"!==i||!C)return null;var F=Vt("div",Oe({ref:I},_r(dr(dr({},e),{},{offset:C.offset,position:i,rect:C.rect}),"menuPortal",{"menu-portal":!0}),r),u);return Vt(co.Provider,{value:h},t?m(F,t):F)},LoadingMessage:mo,NoOptionsMessage:ho,MultiValue:Xo,MultiValueContainer:Zo,MultiValueLabel:Zo,MultiValueRemove:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({role:"button"},u),t||Vt(Fo,{size:14}))},Option:function(e){var t=e.children,u=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.innerRef,i=e.innerProps;return Vt("div",Oe({},_r(e,"option",{option:!0,"option--is-disabled":u,"option--is-focused":n,"option--is-selected":r}),{ref:o,"aria-disabled":u},i),t)},Placeholder:function(e){var t=e.children,u=e.innerProps;return Vt("div",Oe({},_r(e,"placeholder",{placeholder:!0}),u),t)},SelectContainer:function(e){var t=e.children,u=e.innerProps,n=e.isDisabled,r=e.isRtl;return Vt("div",Oe({},_r(e,"container",{"--is-disabled":n,"--is-rtl":r}),u),t)},SingleValue:function(e){var t=e.children,u=e.isDisabled,n=e.innerProps;return Vt("div",Oe({},_r(e,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),n),t)},ValueContainer:function(e){var t=e.children,u=e.innerProps,n=e.isMulti,r=e.hasValue;return Vt("div",Oe({},_r(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":r}),u),t)}},Ho=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Lo(e,t){if(e.length!==t.length)return!1;for(var u=0;u<e.length;u++)if(n=e[u],r=t[u],!(n===r||Ho(n)&&Ho(r)))return!1;var n,r;return!0}for(var jo="production"===process.env.NODE_ENV?{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: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)."}},zo=function(e){return Vt("span",Oe({css:jo},e))},Yo={guidance:function(e){var t=e.isSearchable,u=e.isMulti,n=e.isDisabled,r=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(n?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(u?" 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 t=e.action,u=e.label,n=void 0===u?"":u,r=e.labels,o=e.isDisabled;switch(t){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(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(n,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,u=e.focused,n=e.options,r=e.label,o=void 0===r?"":r,i=e.selectValue,a=e.isDisabled,s=e.isSelected,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(o," focused, ").concat(c(i,u),".");if("menu"===t){var l=a?" disabled":"",d="".concat(s?"selected":"focused").concat(l);return"option ".concat(o," ").concat(d,", ").concat(c(n,u),".")}return""},onFilter:function(e){var t=e.inputValue,u=e.resultsMessage;return"".concat(u).concat(t?" for search term "+t:"",".")}},Jo=function(e){var t=e.ariaSelection,u=e.focusedOption,n=e.focusedValue,r=e.focusableOptions,o=e.isFocused,i=e.selectValue,s=e.selectProps,l=e.id,d=s.ariaLiveMessages,p=s.getOptionLabel,g=s.inputValue,f=s.isMulti,b=s.isOptionDisabled,h=s.isSearchable,m=s.menuIsOpen,A=s.options,C=s.screenReaderStatus,v=s.tabSelectsValue,E=s["aria-label"],y=s["aria-live"],I=c((function(){return dr(dr({},Yo),d||{})}),[d]),F=c((function(){var e,u="";if(t&&I.onChange){var n=t.option,r=t.options,o=t.removedValue,a=t.removedValues,s=t.value,c=o||n||(e=s,Array.isArray(e)?null:e),l=c?p(c):"",d=r||a||void 0,g=d?d.map(p):[],f=dr({isDisabled:c&&b(c,i),label:l,labels:g},t);u=I.onChange(f)}return u}),[t,I,b,i,p]),B=c((function(){var e="",t=u||n,o=!!(u&&i&&i.includes(u));if(t&&I.onFocus){var a={focused:t,label:p(t),isDisabled:b(t,i),isSelected:o,options:r,context:t===u?"menu":"value",selectValue:i};e=I.onFocus(a)}return e}),[u,n,p,b,I,r,i]),x=c((function(){var e="";if(m&&A.length&&I.onFilter){var t=C({count:r.length});e=I.onFilter({inputValue:g,resultsMessage:t})}return e}),[r,g,m,I,A,C]),D=c((function(){var e="";if(I.guidance){var t=n?"value":m?"menu":"input";e=I.guidance({"aria-label":E,context:t,isDisabled:u&&b(u,i),isMulti:f,isSearchable:h,tabSelectsValue:v})}return e}),[E,u,n,f,b,h,m,I,i,v]),w="".concat(B," ").concat(x," ").concat(D),O=Vt(a,null,Vt("span",{id:"aria-selection"},F),Vt("span",{id:"aria-context"},w)),G="initial-input-focus"===(null==t?void 0:t.action);return Vt(a,null,Vt(zo,{id:l},G&&O),Vt(zo,{"aria-live":y,"aria-atomic":"false","aria-relevant":"additions text"},o&&!G&&O))},_o=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Uo=new RegExp("["+_o.map((function(e){return e.letters})).join("")+"]","g"),Qo={},$o=0;$o<_o.length;$o++)for(var qo=_o[$o],Ko=0;Ko<qo.letters.length;Ko++)Qo[qo.letters[Ko]]=qo.base;var ei=function(e){return e.replace(Uo,(function(e){return Qo[e]}))},ti=function(e,t){void 0===t&&(t=Lo);var u=null;function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(u&&u.lastThis===this&&t(n,u.lastArgs))return u.lastResult;var o=e.apply(this,n);return u={lastResult:o,lastArgs:n,lastThis:this},o}return n.clear=function(){u=null},n}(ei),ui=function(e){return e.replace(/^\s+|\s+$/g,"")},ni=function(e){return"".concat(e.label," ").concat(e.value)},ri=["innerRef"];function oi(e){var t=e.innerRef,u=function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),n=1;n<t;n++)u[n-1]=arguments[n];var r=Object.entries(e).filter((function(e){var t=fr(e,1)[0];return!u.includes(t)}));return r.reduce((function(e,t){var u=fr(t,2),n=u[0],r=u[1];return e[n]=r,e}),{})}(br(e,ri),"onExited","in","enter","exit","appear");return Vt("input",Oe({ref:t},u,{css:Mt({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)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6I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G8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var ii=function(e){e.preventDefault(),e.stopPropagation()};var ai=["boxSizing","height","overflow","paddingRight","position"],si={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ci(e){e.preventDefault()}function li(e){e.stopPropagation()}function di(){var e=this.scrollTop,t=this.scrollHeight,u=e+this.offsetHeight;0===e?this.scrollTop=1:u===t&&(this.scrollTop=e-1)}function pi(){return"ontouchstart"in window||navigator.maxTouchPoints}var gi=!("undefined"==typeof window||!window.document||!window.document.createElement),fi=0,bi={capture:!1,passive:!1};var hi=function(){return document.activeElement&&document.activeElement.blur()},mi="production"===process.env.NODE_ENV?{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1w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FyZ2V0ID0gdXNlU2Nyb2xsQ2FwdHVyZSh7XG4gICAgaXNFbmFibGVkOiBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",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)."}};function Ai(e){var t=e.children,u=e.lockEnabled,n=e.captureEnabled,r=function(e){var t=e.isEnabled,u=e.onBottomArrive,n=e.onBottomLeave,r=e.onTopArrive,o=e.onTopLeave,i=s(!1),a=s(!1),c=s(0),l=s(null),g=p((function(e,t){if(null!==l.current){var s=l.current,c=s.scrollTop,d=s.scrollHeight,p=s.clientHeight,g=l.current,f=t>0,b=d-p-c,h=!1;b>t&&i.current&&(n&&n(e),i.current=!1),f&&a.current&&(o&&o(e),a.current=!1),f&&t>b?(u&&!i.current&&u(e),g.scrollTop=d,h=!0,i.current=!0):!f&&-t>c&&(r&&!a.current&&r(e),g.scrollTop=0,h=!0,a.current=!0),h&&ii(e)}}),[u,n,r,o]),f=p((function(e){g(e,e.deltaY)}),[g]),b=p((function(e){c.current=e.changedTouches[0].clientY}),[]),h=p((function(e){var t=c.current-e.changedTouches[0].clientY;g(e,t)}),[g]),m=p((function(e){if(e){var t=!!ro&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",b,t),e.addEventListener("touchmove",h,t)}}),[h,b,f]),A=p((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",b,!1),e.removeEventListener("touchmove",h,!1))}),[h,b,f]);return d((function(){if(t){var e=l.current;return m(e),function(){A(e)}}}),[t,m,A]),function(e){l.current=e}}({isEnabled:void 0===n||n,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,u=e.accountForScrollbars,n=void 0===u||u,r=s({}),o=s(null),i=p((function(e){if(gi){var t=document.body,u=t&&t.style;if(n&&ai.forEach((function(e){var t=u&&u[e];r.current[e]=t})),n&&fi<1){var o=parseInt(r.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,a=window.innerWidth-i+o||0;Object.keys(si).forEach((function(e){var t=si[e];u&&(u[e]=t)})),u&&(u.paddingRight="".concat(a,"px"))}t&&pi()&&(t.addEventListener("touchmove",ci,bi),e&&(e.addEventListener("touchstart",di,bi),e.addEventListener("touchmove",li,bi))),fi+=1}}),[n]),a=p((function(e){if(gi){var t=document.body,u=t&&t.style;fi=Math.max(fi-1,0),n&&fi<1&&ai.forEach((function(e){var t=r.current[e];u&&(u[e]=t)})),t&&pi()&&(t.removeEventListener("touchmove",ci,bi),e&&(e.removeEventListener("touchstart",di,bi),e.removeEventListener("touchmove",li,bi)))}}),[n]);return d((function(){if(t){var e=o.current;return i(e),function(){a(e)}}}),[t,i,a]),function(e){o.current=e}}({isEnabled:u});return Vt(a,null,u&&Vt("div",{onClick:hi,css:mi}),t((function(e){r(e),o(e)})))}var Ci,Ei="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString: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)."}},yi=function(e){var t=e.name,u=e.onFocus;return Vt("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:Ei,value:"",onChange:function(){}})},Ii={clearIndicator:wo,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var u=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius;return dr({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:u?o.neutral5:o.neutral0,borderColor:u?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:n?o.primary:o.neutral30}})},dropdownIndicator:Do,group:function(e,t){var u=e.theme.spacing;return t?{}:{paddingBottom:2*u.baseUnit,paddingTop:2*u.baseUnit}},groupHeading:function(e,t){var u=e.theme,n=u.colors,r=u.spacing;return dr({label:"group",cursor:"default",display:"block"},t?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var u=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return dr({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:u?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var u=e.isDisabled,n=e.value,r=e.theme,o=r.spacing,i=r.colors;return dr(dr({visibility:u?"hidden":"visible",transform:n?"translateZ(0)":""},Wo),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:i.neutral80})},loadingIndicator:function(e,t){var u=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return dr({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},t?{}:{color:u?o.neutral60:o.neutral20,padding:2*i})},loadingMessage:bo,menu:function(e,t){var u,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return dr((cr(u={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),cr(u,"position","absolute"),cr(u,"width","100%"),cr(u,"zIndex",1),u),t?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:i.menuGutter,marginTop:i.menuGutter})},menuList:function(e,t){var u=e.maxHeight,n=e.theme.spacing.baseUnit;return dr({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:n,paddingTop:n})},menuPortal:function(e){var t=e.rect,u=e.offset,n=e.position;return{left:t.left,position:n,top:u,width:t.width,zIndex:1}},multiValue:function(e,t){var u=e.theme,n=u.spacing,r=u.borderRadius,o=u.colors;return dr({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:r/2,margin:n.baseUnit/2})},multiValueLabel:function(e,t){var u=e.theme,n=u.borderRadius,r=u.colors,o=e.cropWithEllipsis;return dr({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:n/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var u=e.theme,n=u.spacing,r=u.borderRadius,o=u.colors,i=e.isFocused;return dr({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:i?o.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:fo,option:function(e,t){var u=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return dr({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:n?a.primary25:"transparent",color:u?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),":active":{backgroundColor:u?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var u=e.theme,n=u.spacing,r=u.colors;return dr({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},singleValue:function(e,t){var u=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return dr({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:u?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var u=e.theme.spacing,n=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return dr({alignItems:"center",display:n&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(2*u.baseUnit,"px")})}},Fi={borderRadius:4,colors:{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%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Bi={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:eo(),captureMenuScroll:!eo(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var u=dr({ignoreCase:!0,ignoreAccents:!0,stringify:ni,trim:!0,matchFrom:"any"},Ci),n=u.ignoreCase,r=u.ignoreAccents,o=u.stringify,i=u.trim,a=u.matchFrom,s=i?ui(t):t,c=i?ui(o(e)):o(e);return n&&(s=s.toLowerCase(),c=c.toLowerCase()),r&&(s=ti(s),c=ei(c)),"start"===a?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function xi(e,t,u,n){return{type:"option",data:t,isDisabled:Ni(e,t,u),isSelected:ki(e,t,u),label:Gi(e,t),value:Ti(e,t),index:n}}function Di(e,t){return e.options.map((function(u,n){if("options"in u){var r=u.options.map((function(u,n){return xi(e,u,t,n)})).filter((function(t){return Oi(e,t)}));return r.length>0?{type:"group",data:u,options:r,index:n}:void 0}var o=xi(e,u,t,n);return Oi(e,o)?o:void 0})).filter(oo)}function wi(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,yr(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Oi(e,t){var u=e.inputValue,n=void 0===u?"":u,r=t.data,o=t.isSelected,i=t.label,a=t.value;return(!Vi(e)||!o)&&Si(e,{label:i,value:a,data:r},n)}var Gi=function(e,t){return e.getOptionLabel(t)},Ti=function(e,t){return e.getOptionValue(t)};function Ni(e,t,u){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,u)}function ki(e,t,u){if(u.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,u);var n=Ti(e,t);return u.some((function(t){return Ti(e,t)===n}))}function Si(e,t,u){return!e.filterOption||e.filterOption(t,u)}var Vi=function(e){var t=e.hideSelectedOptions,u=e.isMulti;return void 0===t?u:t},Ri=1,Wi=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ar(e,t)}(i,g);var u,n,r,o=Er(i);function i(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,u){var n=t.props,r=n.onChange,o=n.name;u.name=o,t.ariaOnChange(e,u),r(e,u)},t.setValue=function(e,u,n){var r=t.props,o=r.closeMenuOnSelect,i=r.isMulti,a=r.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:a}),o&&(t.setState({inputIsHiddenAfterUpdate:!i}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:u,option:n})},t.selectOption=function(e){var u=t.props,n=u.blurInputOnSelect,r=u.isMulti,o=u.name,i=t.state.selectValue,a=r&&t.isOptionSelected(e,i),s=t.isOptionDisabled(e,i);if(a){var c=t.getOptionValue(e);t.setValue(i.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(s)return void t.ariaOnChange(e,{action:"select-option",option:e,name:o});r?t.setValue([].concat(yr(i),[e]),"select-option",e):t.setValue(e,"select-option")}n&&t.blurInput()},t.removeValue=function(e){var u=t.props.isMulti,n=t.state.selectValue,r=t.getOptionValue(e),o=n.filter((function(e){return t.getOptionValue(e)!==r})),i=io(u,o,o[0]||null);t.onChange(i,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(io(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,u=t.state.selectValue,n=u[u.length-1],r=u.slice(0,u.length-1),o=io(e,r,r[0]||null);t.onChange(o,{action:"pop-value",removedValue:n})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,u=new Array(e),n=0;n<e;n++)u[n]=arguments[n];return zr.apply(void 0,[t.props.classNamePrefix].concat(u))},t.getOptionLabel=function(e){return Gi(t.props,e)},t.getOptionValue=function(e){return Ti(t.props,e)},t.getStyles=function(e,u){var n=t.props.unstyled,r=Ii[e](u,n);r.boxSizing="border-box";var o=t.props.styles[e];return o?o(r,u):r},t.getClassNames=function(e,u){var n,r;return null===(n=(r=t.props.classNames)[e])||void 0===n?void 0:n.call(r,u)},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,dr(dr({},Po),e.components);var e},t.buildCategorizedOptions=function(){return Di(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return wi(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,u){t.setState({ariaSelection:dr({value:e},u)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var u=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():u&&t.openMenu("first"):(u&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var u=t.props,n=u.isMulti,r=u.menuIsOpen;t.focusInput(),r?(t.setState({inputIsHiddenAfterUpdate:!n}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ur(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var u=e.touches,n=u&&u.item(0);n&&(t.initialTouchX=n.clientX,t.initialTouchY=n.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var u=e.touches,n=u&&u.item(0);if(n){var r=Math.abs(n.clientX-t.initialTouchX),o=Math.abs(n.clientY-t.initialTouchY);t.userIsDragging=r>5||o>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var u=t.props.inputValue,n=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(n,{action:"input-change",prevInputValue:u}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var u=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:u}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return Vi(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var u=t.props,n=u.isMulti,r=u.backspaceRemovesValue,o=u.escapeClearsValue,i=u.inputValue,a=u.isClearable,s=u.isDisabled,c=u.menuIsOpen,l=u.onKeyDown,d=u.tabSelectsValue,p=u.openMenuOnFocus,g=t.state,f=g.focusedOption,b=g.focusedValue,h=g.selectValue;if(!(s||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||i)return;t.focusValue("previous");break;case"ArrowRight":if(!n||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(b)t.removeValue(b);else{if(!r)return;n?t.popValue():a&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!d||!f||p&&t.isOptionSelected(f,h))return;t.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(t.isComposing)return;t.selectOption(f);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:i}),t.onMenuClose()):a&&o&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!f)return;t.selectOption(f);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.instancePrefix="react-select-"+(t.props.instanceId||++Ri),t.state.selectValue=Yr(e.value),e.menuIsOpen&&t.state.selectValue.length){var u=t.buildFocusableOptions(),n=u.indexOf(t.state.selectValue[0]);t.state.focusedOption=u[n]}return t}return u=i,n=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Kr(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,u=t.isDisabled,n=t.menuIsOpen,r=this.state.isFocused;(r&&!u&&e.isDisabled||r&&n&&!e.menuIsOpen)&&this.focusInput(),r&&u&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||u||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Kr(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(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,u=this.state,n=u.selectValue,r=u.isFocused,o=this.buildFocusableOptions(),i="first"===e?0:o.length-1;if(!this.props.isMulti){var a=o.indexOf(n[0]);a>-1&&(i=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,u=t.selectValue,n=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=u.indexOf(n);n||(r=-1);var o=u.length-1,i=-1;if(u.length){switch(e){case"previous":i=0===r?0:-1===r?o:r-1;break;case"next":r>-1&&r<o&&(i=r+1)}this.setState({inputIsHidden:-1!==i,focusedValue:u[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,u=this.state.focusedOption,n=this.getFocusableOptions();if(n.length){var r=0,o=n.indexOf(u);u||(o=-1),"up"===e?r=o>0?o-1:n.length-1:"down"===e?r=(o+1)%n.length:"pageup"===e?(r=o-t)<0&&(r=0):"pagedown"===e?(r=o+t)>n.length-1&&(r=n.length-1):"last"===e&&(r=n.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:n[r],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Fi):dr(dr({},Fi),this.props.theme):Fi}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,u=this.getStyles,n=this.getClassNames,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,c=a.isRtl,l=a.options;return{clearValue:e,cx:t,getStyles:u,getClassNames:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:l,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,u=e.isMulti;return void 0===t?u:t}},{key:"isOptionDisabled",value:function(e,t){return Ni(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ki(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Si(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var u=this.props.inputValue,n=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:u,selectValue:n})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{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 t=this.props,u=t.isDisabled,n=t.isSearchable,r=t.inputId,o=t.inputValue,i=t.tabIndex,a=t.form,s=t.menuIsOpen,c=t.required,l=this.getComponents().Input,d=this.state,p=d.inputIsHidden,g=d.ariaSelection,f=this.commonProps,b=r||this.getElementId("input"),h=dr(dr(dr({"aria-autocomplete":"list","aria-expanded":s,"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":c,role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==g?void 0:g.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?e.createElement(l,Oe({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:b,innerRef:this.getInputRef,isDisabled:u,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},h)):e.createElement(oi,Oe({id:b,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Lr,onFocus:this.onInputFocus,disabled:u,tabIndex:i,inputMode:"none",form:a,value:""},h))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,u=this.getComponents(),n=u.MultiValue,r=u.MultiValueContainer,o=u.MultiValueLabel,i=u.MultiValueRemove,a=u.SingleValue,s=u.Placeholder,c=this.commonProps,l=this.props,d=l.controlShouldRenderValue,p=l.isDisabled,g=l.isMulti,f=l.inputValue,b=l.placeholder,h=this.state,m=h.selectValue,A=h.focusedValue,C=h.isFocused;if(!this.hasValue()||!d)return f?null:e.createElement(s,Oe({},c,{key:"placeholder",isDisabled:p,isFocused:C,innerProps:{id:this.getElementId("placeholder")}}),b);if(g)return m.map((function(u,a){var s=u===A,l="".concat(t.getOptionLabel(u),"-").concat(t.getOptionValue(u));return e.createElement(n,Oe({},c,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:p,key:l,index:a,removeProps:{onClick:function(){return t.removeValue(u)},onTouchEnd:function(){return t.removeValue(u)},onMouseDown:function(e){e.preventDefault()}},data:u}),t.formatOptionLabel(u,"value"))}));if(f)return null;var v=m[0];return e.createElement(a,Oe({},c,{data:v,isDisabled:p}),this.formatOptionLabel(v,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,u=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!t||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return e.createElement(t,Oe({},u,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,u=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return t&&o?e.createElement(t,Oe({},u,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),u=t.DropdownIndicator,n=t.IndicatorSeparator;if(!u||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return e.createElement(n,Oe({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var u=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return e.createElement(t,Oe({},u,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var t=this,u=this.getComponents(),n=u.Group,r=u.GroupHeading,o=u.Menu,i=u.MenuList,a=u.MenuPortal,s=u.LoadingMessage,c=u.NoOptionsMessage,l=u.Option,d=this.commonProps,p=this.state.focusedOption,g=this.props,f=g.captureMenuScroll,b=g.inputValue,h=g.isLoading,m=g.loadingMessage,A=g.minMenuHeight,C=g.maxMenuHeight,v=g.menuIsOpen,E=g.menuPlacement,y=g.menuPosition,I=g.menuPortalTarget,F=g.menuShouldBlockScroll,B=g.menuShouldScrollIntoView,x=g.noOptionsMessage,D=g.onMenuScrollToTop,w=g.onMenuScrollToBottom;if(!v)return null;var O,G=function(u,n){var r=u.type,o=u.data,i=u.isDisabled,a=u.isSelected,s=u.label,c=u.value,g=p===o,f=i?void 0:function(){return t.onOptionHover(o)},b=i?void 0:function(){return t.selectOption(o)},h="".concat(t.getElementId("option"),"-").concat(n),m={id:h,onClick:b,onMouseMove:f,onMouseOver:f,tabIndex:-1};return e.createElement(l,Oe({},d,{innerProps:m,data:o,isDisabled:i,isSelected:a,key:h,label:s,type:r,value:c,isFocused:g,innerRef:g?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(u.data,"menu"))};if(this.hasOptions())O=this.getCategorizedOptions().map((function(u){if("group"===u.type){var o=u.data,i=u.options,a=u.index,s="".concat(t.getElementId("group"),"-").concat(a),c="".concat(s,"-heading");return e.createElement(n,Oe({},d,{key:s,data:o,options:i,Heading:r,headingProps:{id:c,data:u.data},label:t.formatGroupLabel(u.data)}),u.options.map((function(e){return G(e,"".concat(a,"-").concat(e.index))})))}if("option"===u.type)return G(u,"".concat(u.index))}));else if(h){var T=m({inputValue:b});if(null===T)return null;O=e.createElement(s,d,T)}else{var N=x({inputValue:b});if(null===N)return null;O=e.createElement(c,d,N)}var k={minMenuHeight:A,maxMenuHeight:C,menuPlacement:E,menuPosition:y,menuShouldScrollIntoView:B},S=e.createElement(lo,Oe({},d,k),(function(u){var n=u.ref,r=u.placerProps,a=r.placement,s=r.maxHeight;return e.createElement(o,Oe({},d,k,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove,id:t.getElementId("listbox")},isLoading:h,placement:a}),e.createElement(Ai,{captureEnabled:f,onTopArrive:D,onBottomArrive:w,lockEnabled:F},(function(u){return e.createElement(i,Oe({},d,{innerRef:function(e){t.getMenuListRef(e),u(e)},isLoading:h,maxHeight:s,focusedOption:p}),O)})))}));return I||"fixed"===y?e.createElement(a,Oe({},d,{appendTo:I,controlElement:this.controlRef,menuPlacement:E,menuPosition:y}),S):S}},{key:"renderFormField",value:function(){var t=this,u=this.props,n=u.delimiter,r=u.isDisabled,o=u.isMulti,i=u.name,a=u.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return e.createElement(yi,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var c=s.map((function(e){return t.getOptionValue(e)})).join(n);return e.createElement("input",{name:i,type:"hidden",value:c})}var l=s.length>0?s.map((function(u,n){return e.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:t.getOptionValue(u)})})):e.createElement("input",{name:i,type:"hidden",value:""});return e.createElement("div",null,l)}var d=s[0]?this.getOptionValue(s[0]):"";return e.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,u=this.state,n=u.ariaSelection,r=u.focusedOption,o=u.focusedValue,i=u.isFocused,a=u.selectValue,s=this.getFocusableOptions();return e.createElement(Jo,Oe({},t,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s}))}},{key:"render",value:function(){var t=this.getComponents(),u=t.Control,n=t.IndicatorsContainer,r=t.SelectContainer,o=t.ValueContainer,i=this.props,a=i.className,s=i.id,c=i.isDisabled,l=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return e.createElement(r,Oe({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),e.createElement(u,Oe({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:l}),e.createElement(o,Oe({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),e.createElement(n,Oe({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){var u=t.prevProps,n=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,i=t.isFocused,a=t.prevWasFocused,s=e.options,c=e.value,l=e.menuIsOpen,d=e.inputValue,p=e.isMulti,g=Yr(c),f={};if(u&&(c!==u.value||s!==u.options||l!==u.menuIsOpen||d!==u.inputValue)){var b=l?function(e,t){return wi(Di(e,t))}(e,g):[],h=n?function(e,t){var u=e.focusedValue,n=e.selectValue.indexOf(u);if(n>-1){if(t.indexOf(u)>-1)return u;if(n<t.length)return t[n]}return null}(t,g):null,m=function(e,t){var u=e.focusedOption;return u&&t.indexOf(u)>-1?u:t[0]}(t,b);f={selectValue:g,focusedOption:m,focusedValue:h,clearFocusValueOnUpdate:!1}}var A=null!=r&&e!==u?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},C=o,v=i&&a;return i&&!v&&(C={value:io(p,g,g[0]||null),options:g,action:"initial-input-focus"},v=!a),"initial-input-focus"===(null==o?void 0:o.action)&&(C=null),dr(dr(dr({},f),A),{},{prevProps:e,ariaSelection:C,prevWasFocused:v})}}],n&&mr(u.prototype,n),r&&mr(u,r),Object.defineProperty(u,"prototype",{writable:!1}),i}();Wi.defaultProps=Bi;var Mi=i((function(t,u){var n=function(e){var t=e.defaultInputValue,u=void 0===t?"":t,n=e.defaultMenuIsOpen,r=void 0!==n&&n,o=e.defaultValue,i=void 0===o?null:o,a=e.inputValue,s=e.menuIsOpen,c=e.onChange,d=e.onInputChange,g=e.onMenuClose,f=e.onMenuOpen,b=e.value,h=br(e,hr),m=fr(l(void 0!==a?a:u),2),A=m[0],C=m[1],v=fr(l(void 0!==s?s:r),2),E=v[0],y=v[1],I=fr(l(void 0!==b?b:i),2),F=I[0],B=I[1],x=p((function(e,t){"function"==typeof c&&c(e,t),B(e)}),[c]),D=p((function(e,t){var u;"function"==typeof d&&(u=d(e,t)),C(void 0!==u?u:e)}),[d]),w=p((function(){"function"==typeof f&&f(),y(!0)}),[f]),O=p((function(){"function"==typeof g&&g(),y(!1)}),[g]),G=void 0!==a?a:A,T=void 0!==s?s:E,N=void 0!==b?b:F;return dr(dr({},h),{},{inputValue:G,menuIsOpen:T,onChange:x,onInputChange:D,onMenuClose:O,onMenuOpen:w,value:N})}(t);return e.createElement(Wi,Oe({ref:u},n))})),Zi=Mi;const Xi=e=>{const u=Gu(),n=t.useMemo((()=>{const t=u.getColor(e.color||"primary");if(e.isDisabled){return{main:Ut(t.main).desaturate(80).toHexString(),contrastText:t.contrastText}}return t}),[u,e.color,e.isDisabled]),r=t.useMemo((()=>{const e=Ut(n.main).setAlpha(.3).toPercentageRgbString();return{main:e,contrastText:Ut.mostReadable(e,["#000","#fff",n.contrastText]).toHex8String()}}),[n]);return t.createElement(Zi,{options:e.options,onChange:e.onChange,placeholder:e.placeholder,isDisabled:e.isDisabled,isClearable:e.isClearable,isSearchable:e.isSearchable,isOptionDisabled:e.isOptionDisabled,menuPosition:e.menuPosition,isLoading:e.isLoading,value:e.value,name:e.name,id:e.containerId,inputId:e.htmlId,className:e.className,classNames:{input:()=>e.inputClassName||""},"data-testid":e.htmlId,required:e.required,styles:{control:(e,t)=>Object.assign(Object.assign({},e),{outline:t.isFocused?`1px solid ${n.main}`:void 0,boxShadow:t.isFocused?`1px solid ${n.main}`:void 0,border:t.isFocused?`1px solid ${n.main}`:void 0,"&:hover":{border:t.isFocused?`1px solid ${n.main}`:void 0}}),option:(e,t)=>{const u=t.isSelected?n.main:"#fff",o=t.isDisabled?"rgba(0, 0, 0, 0.5)":t.isSelected?n.contrastText:"#000",i=t.isDisabled||t.isSelected?void 0:r.main,a=t.isDisabled||t.isSelected?void 0:r.contrastText;return Object.assign(Object.assign({},e),{backgroundColor:u,color:o,"&:hover":{backgroundColor:i,color:a}})}}})},Pi=e=>{const u=Gu(),n=t.useMemo((()=>{const t=u.getColor(e.color||"primary");if(e.isDisabled){return{main:Ut(t.main).desaturate(80).toHexString(),contrastText:t.contrastText}}return t}),[u,e.color,e.isDisabled]),r=t.useMemo((()=>{const e=Ut(n.main).setAlpha(.3).toPercentageRgbString();return{main:e,contrastText:Ut.mostReadable(e,["#000","#fff",n.contrastText]).toHex8String()}}),[n]);return t.createElement(Zi,{options:e.options,onChange:t=>e.onChange?e.onChange(t):void 0,placeholder:e.placeholder,isDisabled:e.isDisabled,isClearable:e.isClearable,isSearchable:e.isSearchable,isOptionDisabled:e.isOptionDisabled,menuPosition:e.menuPosition,isLoading:e.isLoading,value:e.value,name:e.name,isMulti:!0,id:e.containerId,inputId:e.htmlId,className:e.className,required:e.required,styles:{control:(e,t)=>Object.assign(Object.assign({},e),{outline:t.isFocused?`1px solid ${n.main}`:void 0,boxShadow:t.isFocused?`1px solid ${n.main}`:void 0,border:t.isFocused?`1px solid ${n.main}`:void 0,"&:hover":{border:t.isFocused?`1px solid ${n.main}`:void 0}}),option:(e,t)=>{const u=t.isDisabled?"rgba(0, 0, 0, 0.5)":"#000",n=t.isDisabled?void 0:r.main,o=t.isDisabled?void 0:r.contrastText;return Object.assign(Object.assign({},e),{backgroundColor:"#fff",color:u,"&:hover":{backgroundColor:n,color:o}})}}})};var Hi,Li,ji={},zi={},Yi={},Ji={};Hi=Ji,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.Direction=void 0,(Li=Hi.Direction||(Hi.Direction={})).Right="to right",Li.Left="to left",Li.Down="to bottom",Li.Up="to top",function(e){var u=Ge&&Ge.__spreadArray||function(e,t,u){if(u||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(e,"__esModule",{value:!0}),e.useThumbOverlap=e.assertUnreachable=e.voidFn=e.getTrackBackground=e.replaceAt=e.schd=e.translate=e.getClosestThumbIndex=e.translateThumbs=e.getPaddingAndBorder=e.getMargin=e.checkInitialOverlap=e.checkValuesAgainstBoundaries=e.checkBoundaries=e.isVertical=e.relativeValue=e.normalizeValue=e.isStepDivisible=e.isTouchEvent=e.getStepDecimals=void 0;var n=t,r=Ji;function o(e){return e===r.Direction.Up||e===r.Direction.Down}function i(e,t,u){e.style.transform="translate(".concat(t,"px, ").concat(u,"px)")}e.getStepDecimals=function(e){var t=e.toString().split(".")[1];return t?t.length:0},e.isTouchEvent=function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length},e.isStepDivisible=function(e,t,u){var n=Number(((t-e)/u).toFixed(8));return parseInt(n.toString(),10)===n},e.normalizeValue=function(t,u,n,r,o,i,a){var s=1e11;if(t=Math.round(t*s)/s,!i){var c=a[u-1],l=a[u+1];if(c&&c>t)return c;if(l&&l<t)return l}if(t>r)return r;if(t<n)return n;var d=Math.floor(t*s-n*s)%Math.floor(o*s),p=Math.floor(t*s-Math.abs(d)),g=0===d?t:p/s,f=Math.abs(d/s)<o/2?g:g+o,b=(0,e.getStepDecimals)(o);return parseFloat(f.toFixed(b))},e.relativeValue=function(e,t,u){return(e-t)/(u-t)},e.isVertical=o,e.checkBoundaries=function(e,t,u){if(t>=u)throw new RangeError("min (".concat(t,") is equal/bigger than max (").concat(u,")"));if(e<t)throw new RangeError("value (".concat(e,") is smaller than min (").concat(t,")"));if(e>u)throw new RangeError("value (".concat(e,") is bigger than max (").concat(u,")"))},e.checkValuesAgainstBoundaries=function(e,t,u){return e<t?t:e>u?u:e},e.checkInitialOverlap=function(e){if(!(e.length<2||e.slice(1).every((function(t,u){return e[u]<=t}))))throw new RangeError("values={[".concat(e,"]} needs to be sorted when allowOverlap={false}"))},e.getMargin=function(e){var t=window.getComputedStyle(e);return{top:parseInt(t["margin-top"],10),bottom:parseInt(t["margin-bottom"],10),left:parseInt(t["margin-left"],10),right:parseInt(t["margin-right"],10)}},e.getPaddingAndBorder=function(e){var t=window.getComputedStyle(e);return{top:parseInt(t["padding-top"],10)+parseInt(t["border-top-width"],10),bottom:parseInt(t["padding-bottom"],10)+parseInt(t["border-bottom-width"],10),left:parseInt(t["padding-left"],10)+parseInt(t["border-left-width"],10),right:parseInt(t["padding-right"],10)+parseInt(t["border-right-width"],10)}},e.translateThumbs=function(e,t,u){var n=u?-1:1;e.forEach((function(e,u){return i(e,n*t[u].x,t[u].y)}))},e.getClosestThumbIndex=function(e,t,u,n){for(var r=0,o=s(e[0],t,u,n),i=1;i<e.length;i++){var a=s(e[i],t,u,n);a<o&&(o=a,r=i)}return r},e.translate=i;e.schd=function(e){var t=[],u=null;return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t=n,u||(u=requestAnimationFrame((function(){u=null,e.apply(void 0,t)})))}},e.replaceAt=function(e,t,u){var n=e.slice(0);return n[t]=u,n},e.getTrackBackground=function(e){var t=e.values,u=e.colors,n=e.min,o=e.max,i=e.direction,a=void 0===i?r.Direction.Right:i,s=e.rtl,c=void 0!==s&&s;c&&a===r.Direction.Right?a=r.Direction.Left:c&&r.Direction.Left&&(a=r.Direction.Right);var l=t.slice(0).sort((function(e,t){return e-t})).map((function(e){return(e-n)/(o-n)*100})).reduce((function(e,t,n){return"".concat(e,", ").concat(u[n]," ").concat(t,"%, ").concat(u[n+1]," ").concat(t,"%")}),"");return"linear-gradient(".concat(a,", ").concat(u[0]," 0%").concat(l,", ").concat(u[u.length-1]," 100%)")},e.voidFn=function(){},e.assertUnreachable=function(e){throw new Error("Didn't expect to get here")};var a=function(e,t,n,r,o){return void 0===o&&(o=function(e){return e}),Math.ceil(u([e],Array.from(e.children),!0).reduce((function(e,u){var i=Math.ceil(u.getBoundingClientRect().width);if(u.innerText&&u.innerText.includes(n)&&0===u.childElementCount){var a=u.cloneNode(!0);a.innerHTML=o(t.toFixed(r)),a.style.visibility="hidden",document.body.appendChild(a),i=Math.ceil(a.getBoundingClientRect().width),document.body.removeChild(a)}return i>e?i:e}),e.getBoundingClientRect().width))};function s(e,t,u,n){var r=e.getBoundingClientRect(),i=r.left,a=r.top,s=r.width,c=r.height;return o(n)?Math.abs(u-(a+c/2)):Math.abs(t-(i+s/2))}e.useThumbOverlap=function(t,r,o,i,s,c){void 0===i&&(i=.1),void 0===s&&(s=" - "),void 0===c&&(c=function(e){return e});var l=(0,e.getStepDecimals)(i),d=(0,n.useState)({}),p=d[0],g=d[1],f=(0,n.useState)(c(r[o].toFixed(l))),b=f[0],h=f[1];return(0,n.useEffect)((function(){if(t){var e=t.getThumbs();if(e.length<1)return;var n={},i=t.getOffsets(),d=function(e,t,n,r,o,i,s){void 0===s&&(s=function(e){return e});var c=[],l=function(e){var d=a(n[e],r[e],o,i,s),p=t[e].x;t.forEach((function(t,g){var f=t.x,b=a(n[g],r[g],o,i,s);e!==g&&(p>=f&&p<=f+b||p+d>=f&&p+d<=f+b)&&(c.includes(g)||(c.push(e),c.push(g),c=u(u([],c,!0),[e,g],!1),l(g)))}))};return l(e),Array.from(new Set(c.sort()))}(o,i,e,r,s,l,c),p=c(r[o].toFixed(l));if(d.length){var f=d.reduce((function(e,t,n,r){return e.length?u(u([],e,!0),[i[r[n]].x],!1):[i[r[n]].x]}),[]);if(Math.min.apply(Math,f)===i[o].x){var b=[];d.forEach((function(e){b.push(r[e].toFixed(l))})),p=Array.from(new Set(b.sort((function(e,t){return parseFloat(e)-parseFloat(t)})))).map(c).join(s);var m=Math.min.apply(Math,f),A=Math.max.apply(Math,f),C=e[d[f.indexOf(A)]].getBoundingClientRect().width;n.left="".concat(Math.abs(m-(A+C))/2,"px"),n.transform="translate(-50%, 0)"}else n.visibility="hidden"}h(p),g(n)}}),[t,r]),[b,p]}}(Yi);var _i,Ui=Ge&&Ge.__extends||(_i=function(e,t){return _i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(e[u]=t[u])},_i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function u(){this.constructor=e}_i(e,t),e.prototype=null===t?Object.create(t):(u.prototype=t.prototype,new u)}),Qi=Ge&&Ge.__createBinding||(Object.create?function(e,t,u,n){void 0===n&&(n=u);var r=Object.getOwnPropertyDescriptor(t,u);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[u]}}),Object.defineProperty(e,n,r)}:function(e,t,u,n){void 0===n&&(n=u),e[n]=t[u]}),$i=Ge&&Ge.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),qi=Ge&&Ge.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var u in e)"default"!==u&&Object.prototype.hasOwnProperty.call(e,u)&&Qi(t,e,u);return $i(t,e),t},Ki=Ge&&Ge.__spreadArray||function(e,t,u){if(u||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(zi,"__esModule",{value:!0});var ea=qi(t),ta=Yi,ua=Ji,na=["ArrowRight","ArrowUp","k","PageUp"],ra=["ArrowLeft","ArrowDown","j","PageDown"],oa=function(e){function t(t){var u=e.call(this,t)||this;if(u.trackRef=ea.createRef(),u.thumbRefs=[],u.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(u.props.values.length).fill(0).map((function(e,t){return t})),isChanged:!1,markOffsets:[]},u.getOffsets=function(){var e=u.props,t=e.direction,n=e.values,r=e.min,o=e.max,i=u.trackRef.current,a=i.getBoundingClientRect(),s=(0,ta.getPaddingAndBorder)(i);return u.getThumbs().map((function(e,u){var i={x:0,y:0},c=e.getBoundingClientRect(),l=(0,ta.getMargin)(e);switch(t){case ua.Direction.Right:return i.x=-1*(l.left+s.left),i.y=-1*((c.height-a.height)/2+s.top),i.x+=a.width*(0,ta.relativeValue)(n[u],r,o)-c.width/2,i;case ua.Direction.Left:return i.x=-1*(l.right+s.right),i.y=-1*((c.height-a.height)/2+s.top),i.x+=a.width-a.width*(0,ta.relativeValue)(n[u],r,o)-c.width/2,i;case ua.Direction.Up:return i.x=-1*((c.width-a.width)/2+l.left+s.left),i.y=-s.left,i.y+=a.height-a.height*(0,ta.relativeValue)(n[u],r,o)-c.height/2,i;case ua.Direction.Down:return i.x=-1*((c.width-a.width)/2+l.left+s.left),i.y=-s.left,i.y+=a.height*(0,ta.relativeValue)(n[u],r,o)-c.height/2,i;default:return(0,ta.assertUnreachable)(t)}}))},u.getThumbs=function(){return u.trackRef&&u.trackRef.current?Array.from(u.trackRef.current.children).filter((function(e){return e.hasAttribute("aria-valuenow")})):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},u.getTargetIndex=function(e){return u.getThumbs().findIndex((function(t){return t===e.target||t.contains(e.target)}))},u.addTouchEvents=function(e){document.addEventListener("touchmove",u.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",u.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",u.schdOnEnd,{passive:!1})},u.addMouseEvents=function(e){document.addEventListener("mousemove",u.schdOnMouseMove),document.addEventListener("mouseup",u.schdOnEnd)},u.onMouseDownTrack=function(e){var t;if(0===e.button)if(e.persist(),e.preventDefault(),u.addMouseEvents(e.nativeEvent),u.props.values.length>1&&u.props.draggableTrack){if(u.thumbRefs.some((function(t){var u;return null===(u=t.current)||void 0===u?void 0:u.contains(e.target)})))return;u.setState({draggedTrackPos:[e.clientX,e.clientY]},(function(){return u.onMove(e.clientX,e.clientY)}))}else{var n=(0,ta.getClosestThumbIndex)(u.thumbRefs.map((function(e){return e.current})),e.clientX,e.clientY,u.props.direction);null===(t=u.thumbRefs[n].current)||void 0===t||t.focus(),u.setState({draggedThumbIndex:n},(function(){return u.onMove(e.clientX,e.clientY)}))}},u.onResize=function(){(0,ta.translateThumbs)(u.getThumbs(),u.getOffsets(),u.props.rtl),u.calculateMarkOffsets()},u.onTouchStartTrack=function(e){var t;if(e.persist(),u.addTouchEvents(e.nativeEvent),u.props.values.length>1&&u.props.draggableTrack){if(u.thumbRefs.some((function(t){var u;return null===(u=t.current)||void 0===u?void 0:u.contains(e.target)})))return;u.setState({draggedTrackPos:[e.touches[0].clientX,e.touches[0].clientY]},(function(){return u.onMove(e.touches[0].clientX,e.touches[0].clientY)}))}else{var n=(0,ta.getClosestThumbIndex)(u.thumbRefs.map((function(e){return e.current})),e.touches[0].clientX,e.touches[0].clientY,u.props.direction);null===(t=u.thumbRefs[n].current)||void 0===t||t.focus(),u.setState({draggedThumbIndex:n},(function(){return u.onMove(e.touches[0].clientX,e.touches[0].clientY)}))}},u.onMouseOrTouchStart=function(e){if(!u.props.disabled){var t=(0,ta.isTouchEvent)(e);if(t||0===e.button){var n=u.getTargetIndex(e);-1!==n&&(t?u.addTouchEvents(e):u.addMouseEvents(e),u.setState({draggedThumbIndex:n,thumbZIndexes:u.state.thumbZIndexes.map((function(e,t){return t===n?Math.max.apply(Math,u.state.thumbZIndexes):e<=u.state.thumbZIndexes[n]?e:e-1}))}))}}},u.onMouseMove=function(e){e.preventDefault(),u.onMove(e.clientX,e.clientY)},u.onTouchMove=function(e){e.preventDefault(),u.onMove(e.touches[0].clientX,e.touches[0].clientY)},u.onKeyDown=function(e){var t=u.props,n=t.values,r=t.onChange,o=t.step,i=t.rtl,a=t.direction,s=u.state.isChanged,c=u.getTargetIndex(e.nativeEvent),l=i||a===ua.Direction.Left||a===ua.Direction.Down?-1:1;-1!==c&&(na.includes(e.key)?(e.preventDefault(),u.setState({draggedThumbIndex:c,isChanged:!0}),r((0,ta.replaceAt)(n,c,u.normalizeValue(n[c]+l*("PageUp"===e.key?10*o:o),c)))):ra.includes(e.key)?(e.preventDefault(),u.setState({draggedThumbIndex:c,isChanged:!0}),r((0,ta.replaceAt)(n,c,u.normalizeValue(n[c]-l*("PageDown"===e.key?10*o:o),c)))):"Tab"===e.key?u.setState({draggedThumbIndex:-1},(function(){s&&u.fireOnFinalChange()})):s&&u.fireOnFinalChange())},u.onKeyUp=function(e){var t=u.state.isChanged;u.setState({draggedThumbIndex:-1},(function(){t&&u.fireOnFinalChange()}))},u.onMove=function(e,t){var n=u.state,r=n.draggedThumbIndex,o=n.draggedTrackPos,i=u.props,a=i.direction,s=i.min,c=i.max,l=i.onChange,d=i.values,p=i.step,g=i.rtl;if(-1===r&&-1===o[0]&&-1===o[1])return null;var f=u.trackRef.current;if(!f)return null;var b=f.getBoundingClientRect(),h=(0,ta.isVertical)(a)?b.height:b.width;if(-1!==o[0]&&-1!==o[1]){var m=e-o[0],A=t-o[1],C=0;switch(a){case ua.Direction.Right:case ua.Direction.Left:C=m/h*(c-s);break;case ua.Direction.Down:case ua.Direction.Up:C=A/h*(c-s);break;default:(0,ta.assertUnreachable)(a)}if(g&&(C*=-1),Math.abs(C)>=p/2){for(var v=0;v<u.thumbRefs.length;v++){if(d[v]===c&&1===Math.sign(C)||d[v]===s&&-1===Math.sign(C))return;var E=d[v]+C;E>c?C=c-d[v]:E<s&&(C=s-d[v])}var y=d.slice(0);for(v=0;v<u.thumbRefs.length;v++)y=(0,ta.replaceAt)(y,v,u.normalizeValue(d[v]+C,v));u.setState({draggedTrackPos:[e,t]}),l(y)}}else{var I=0;switch(a){case ua.Direction.Right:I=(e-b.left)/h*(c-s)+s;break;case ua.Direction.Left:I=(h-(e-b.left))/h*(c-s)+s;break;case ua.Direction.Down:I=(t-b.top)/h*(c-s)+s;break;case ua.Direction.Up:I=(h-(t-b.top))/h*(c-s)+s;break;default:(0,ta.assertUnreachable)(a)}g&&(I=c+s-I),Math.abs(d[r]-I)>=p/2&&l((0,ta.replaceAt)(d,r,u.normalizeValue(I,r)))}},u.normalizeValue=function(e,t){var n=u.props,r=n.min,o=n.max,i=n.step,a=n.allowOverlap,s=n.values;return(0,ta.normalizeValue)(e,t,r,o,i,a,s)},u.onEnd=function(e){if(e.preventDefault(),document.removeEventListener("mousemove",u.schdOnMouseMove),document.removeEventListener("touchmove",u.schdOnTouchMove),document.removeEventListener("mouseup",u.schdOnEnd),document.removeEventListener("touchend",u.schdOnEnd),document.removeEventListener("touchcancel",u.schdOnEnd),-1===u.state.draggedThumbIndex&&-1===u.state.draggedTrackPos[0]&&-1===u.state.draggedTrackPos[1])return null;u.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},(function(){u.fireOnFinalChange()}))},u.fireOnFinalChange=function(){u.setState({isChanged:!1});var e=u.props,t=e.onFinalChange,n=e.values;t&&t(n)},u.updateMarkRefs=function(e){if(!e.renderMark)return u.numOfMarks=void 0,void(u.markRefs=void 0);u.numOfMarks=(e.max-e.min)/u.props.step,u.markRefs=[];for(var t=0;t<u.numOfMarks+1;t++)u.markRefs[t]=ea.createRef()},u.calculateMarkOffsets=function(){if(u.props.renderMark&&u.trackRef&&u.numOfMarks&&u.markRefs&&null!==u.trackRef.current){for(var e=window.getComputedStyle(u.trackRef.current),t=parseInt(e.width,10),n=parseInt(e.height,10),r=parseInt(e.paddingLeft,10),o=parseInt(e.paddingTop,10),i=[],a=0;a<u.numOfMarks+1;a++){var s=9999,c=9999;if(u.markRefs[a].current){var l=u.markRefs[a].current.getBoundingClientRect();s=l.height,c=l.width}u.props.direction===ua.Direction.Left||u.props.direction===ua.Direction.Right?i.push([Math.round(t/u.numOfMarks*a+r-c/2),-Math.round((s-n)/2)]):i.push([Math.round(n/u.numOfMarks*a+o-s/2),-Math.round((c-t)/2)])}u.setState({markOffsets:i})}},0===t.step)throw new Error('"step" property should be a positive number');return u.schdOnMouseMove=(0,ta.schd)(u.onMouseMove),u.schdOnTouchMove=(0,ta.schd)(u.onTouchMove),u.schdOnEnd=(0,ta.schd)(u.onEnd),u.thumbRefs=t.values.map((function(){return ea.createRef()})),u.updateMarkRefs(t),u}return Ui(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,u=t.values,n=t.min,r=t.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",e.onResize)},unobserve:function(){return window.removeEventListener("resize",e.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),!this.props.allowOverlap&&(0,ta.checkInitialOverlap)(this.props.values),this.props.values.forEach((function(t){return(0,ta.checkBoundaries)(t,e.props.min,e.props.max)})),this.resizeObserver.observe(this.trackRef.current),(0,ta.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),u.forEach((function(e){(0,ta.isStepDivisible)(n,e,r)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},t.prototype.componentDidUpdate=function(e,t){var u=this.props,n=u.max,r=u.min,o=u.step,i=u.values,a=u.rtl;e.max===n&&e.min===r&&e.step===o||this.updateMarkRefs(this.props),(0,ta.translateThumbs)(this.getThumbs(),this.getOffsets(),a),e.max===n&&e.min===r&&e.step===o&&t.markOffsets.length===this.state.markOffsets.length||(this.calculateMarkOffsets(),i.forEach((function(e){(0,ta.isStepDivisible)(r,e,o)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})))},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},t.prototype.render=function(){var e=this,t=this.props,u=t.renderTrack,n=t.renderThumb,r=t.renderMark,o=void 0===r?function(){return null}:r,i=t.values,a=t.min,s=t.max,c=t.allowOverlap,l=t.disabled,d=this.state,p=d.draggedThumbIndex,g=d.thumbZIndexes,f=d.markOffsets;return u({props:{style:{transform:"scale(1)",cursor:p>-1?"grabbing":this.props.draggableTrack?(0,ta.isVertical)(this.props.direction)?"ns-resize":"ew-resize":1!==i.length||l?"inherit":"pointer"},onMouseDown:l?ta.voidFn:this.onMouseDownTrack,onTouchStart:l?ta.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:l,children:Ki(Ki([],f.map((function(t,u,n){return o({props:{style:e.props.direction===ua.Direction.Left||e.props.direction===ua.Direction.Right?{position:"absolute",left:"".concat(t[0],"px"),marginTop:"".concat(t[1],"px")}:{position:"absolute",top:"".concat(t[0],"px"),marginLeft:"".concat(t[1],"px")},key:"mark".concat(u),ref:e.markRefs[u]},index:u})})),!0),i.map((function(t,u){var r=e.state.draggedThumbIndex===u;return n({index:u,value:t,isDragged:r,props:{style:{position:"absolute",zIndex:g[u],cursor:l?"inherit":r?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:u,tabIndex:l?void 0:0,"aria-valuemax":c?s:i[u+1]||s,"aria-valuemin":c?a:i[u-1]||a,"aria-valuenow":t,draggable:!1,ref:e.thumbRefs[u],role:"slider",onKeyDown:l?ta.voidFn:e.onKeyDown,onKeyUp:l?ta.voidFn:e.onKeyUp}})})),!0)})},t.defaultProps={step:1,direction:ua.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},t}(ea.Component);zi.default=oa,function(e){var t=Ge&&Ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.checkValuesAgainstBoundaries=e.relativeValue=e.useThumbOverlap=e.Direction=e.getTrackBackground=e.Range=void 0;var u=t(zi);e.Range=u.default;var n=Yi;Object.defineProperty(e,"getTrackBackground",{enumerable:!0,get:function(){return n.getTrackBackground}}),Object.defineProperty(e,"useThumbOverlap",{enumerable:!0,get:function(){return n.useThumbOverlap}}),Object.defineProperty(e,"relativeValue",{enumerable:!0,get:function(){return n.relativeValue}}),Object.defineProperty(e,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return n.checkValuesAgainstBoundaries}});var r=Ji;Object.defineProperty(e,"Direction",{enumerable:!0,get:function(){return r.Direction}})}(ji);const ia=Hu.div`
|
|
101
101
|
label: SliderOuterTrackDiv;
|
|
102
102
|
height: 36px;
|
|
103
103
|
display: flex;
|