PageSourceSearch

https://regiojet.com/_next/static/chunks/96909-a3056f422d4b2bb0.js

js regiojet.com collected 2026-10-01 12:04:43 UTC 63,990 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0fbf9e54-5f39-4de6-bb55-72660f74ef80",e._sentryDebugIdIdentifier="sentry-dbid-0fbf9e54-5f39-4de6-bb55-72660f74ef80")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[96909],{50676:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}},6610:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}},5991:function(e,t,n){function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return r}})},10379:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(14665);function r(e,t){if("function"!=typeof t&&null!==t)throw 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&&(0,o.Z)(e,t)}},81253:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(19756);function r(e,t){if(null==e)return{};var n,r,i=(0,o.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},92510:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(82961);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,o,r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},82961:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(50676);function r(e,t){if(e){if("string"==typeof e)return(0,o.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,o.Z)(e,t)}}},74841:function(e,t,n){var o=n(30139),r=n(85893);t.Z=(0,o.Z)((0,r.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined")},43716:function(e,t,n){var o=n(67294),r=n(15972);t.Z=function(e,t,n){if(!r.jU)return[t,r.ZT,r.ZT];if(!e)throw Error("useLocalStorage key may not be falsy");var i=n?n.raw?function(e){return e}:n.deserializer:JSON.parse,a=(0,o.useRef)(function(e){try{var o=n?n.raw?String:n.serializer:JSON.stringify,r=localStorage.getItem(e);if(null!==r)return i(r);return t&&localStorage.setItem(e,o(t)),t}catch(e){return t}}),s=(0,o.useState)(function(){return a.current(e)}),u=s[0],l=s[1];(0,o.useLayoutEffect)(function(){return l(a.current(e))},[e]);var c=(0,o.useCallback)(function(t){try{var o="function"==typeof t?t(u):t;if(void 0===o)return;var r=void 0;r=n?n.raw?"string"==typeof o?o:JSON.stringify(o):n.serializer?n.serializer(o):JSON.stringify(o):JSON.stringify(o),localStorage.setItem(e,r),l(i(r))}catch(e){}},[e,l]);return[u,c,(0,o.useCallback)(function(){try{localStorage.removeItem(e),l(void 0)}catch(e){}},[e,l])]}},24335:function(e,t,n){n.d(t,{A:function(){return k},B:function(){return D},C:function(){return N},D:function(){return A},E:function(){return H},F:function(){return I},G:function(){return ek},H:function(){return T},I:function(){return x},J:function(){return w},K:function(){return Z},L:function(){return C},M:function(){return _},_:function(){return O},a:function(){return b},b:function(){return el},c:function(){return eZ},d:function(){return $},e:function(){return eh},f:function(){return eu},g:function(){return eg},h:function(){return eb},i:function(){return et},j:function(){return ec},k:function(){return eO},l:function(){return ed},m:function(){return J},n:function(){return B},o:function(){return W},p:function(){return q},q:function(){return eI},r:function(){return U},s:function(){return F},t:function(){return ew},u:function(){return eV},v:function(){return G},w:function(){return eM},x:function(){return eE},y:function(){return eP},z:function(){return ee}});var o,r,i,a=n(22122),s=n(70917),u=n(81253),l=n(92510);function c(e){return(c="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})(e)}var p=n(6610),d=n(5991),f=n(10379);function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=n(67294),v=n(73935);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?g(Object(n),!0).forEach(function(t){var o;o=n[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||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 n,o=y(e);return n=t?Reflect.construct(o,arguments,y(this).constructor):o.apply(this,arguments),n&&("object"==typeof n||"function"==typeof n)?n:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)}}var S=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],C=function(){};function I(e,t,n){var o=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&o.push("".concat(r?"-"===r[0]?e+r:e+"__"+r:e));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var w=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===c(e)&&null!==e?[e]:[]},V=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,b({},(0,u.Z)(e,S))};function x(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function M(e){return x(e)?window.pageYOffset:e.scrollTop}function E(e,t){if(x(e)){window.scrollTo(0,t);return}e.scrollTop=t}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:C,r=M(e),i=t-r,a=0;!function t(){var s;a+=10,E(e,i*((s=(s=a)/n-1)*s*s+1)+r),a<n?window.requestAnimationFrame(t):o(e)}()}function Z(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?E(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&E(e,Math.max(t.offsetTop-r,0))}function k(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function D(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var L=!1,R="undefined"!=typeof window?window:{};R.addEventListener&&R.removeEventListener&&(R.addEventListener("p",C,{get passive(){return L=!0}}),R.removeEventListener("p",C,!1));var F=L;function T(e){return null!=e}function H(e,t,n){return e?t:n}function A(e){return e}function N(e){return e}var U=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return Object.entries(e).filter(function(e){var t=(0,l.Z)(e,1)[0];return!n.includes(t)}).reduce(function(e,t){var n=(0,l.Z)(t,2),o=n[0],r=n[1];return e[o]=r,e},{})},j=function(e){return"auto"===e?"bottom":e},B=function(e){var t,n=e.placement,o=e.theme,r=o.borderRadius,i=o.spacing,a=o.colors;return m(t={label:"menu"},n?({bottom:"top",top:"bottom"})[n]:"bottom","100%"),m(t,"backgroundColor",a.neutral0),m(t,"borderRadius",r),m(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),m(t,"marginBottom",i.menuGutter),m(t,"marginTop",i.menuGutter),m(t,"position","absolute"),m(t,"width","100%"),m(t,"zIndex",1),t},z=(0,h.createContext)({getPortalPlacement:null}),_=function(e){(0,f.Z)(n,e);var t=O(n);function n(){var e;(0,p.Z)(this,n);for(var o=arguments.length,r=Array(o),i=0;i<o;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var n=e.props,o=n.minMenuHeight,r=n.maxMenuHeight,i=n.menuPlacement,a=n.menuPosition,s=n.menuShouldScrollIntoView,u=n.theme;if(t){var l="fixed"===a,c=function(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=u.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,f=p.height,m=p.top,h=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:x(u)?window.innerHeight:u.clientHeight,g=M(u),b=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),O=h-y,S=v-m,C=O+g,I=c-g-m,w=d-v+g+b,V=g+m-y;switch(r){case"auto":case"bottom":if(S>=f)return{placement:"bottom",maxHeight:t};if(I>=f&&!a)return i&&P(u,w,160),{placement:"bottom",maxHeight:t};if(!a&&I>=o||a&&S>=o)return i&&P(u,w,160),{placement:"bottom",maxHeight:a?S-b:I-b};if("auto"===r||a){var Z=t,k=a?O:C;return k>=o&&(Z=Math.min(k-b-s.controlHeight,t)),{placement:"top",maxHeight:Z}}if("bottom"===r)return i&&E(u,w),{placement:"bottom",maxHeight:t};break;case"top":if(O>=f)return{placement:"top",maxHeight:t};if(C>=f&&!a)return i&&P(u,V,160),{placement:"top",maxHeight:t};if(!a&&C>=o||a&&O>=o){var D=t;return(!a&&C>=o||a&&O>=o)&&(D=a?O-y:C-y),i&&P(u,V,160),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:t};default:throw Error('Invalid placement provided "'.concat(r,'".'))}return l}({maxHeight:r,menuEl:t,minHeight:o,placement:i,shouldScroll:s&&!l,isFixedPosition:l,theme:u}),p=e.context.getPortalPlacement;p&&p(c),e.setState(c)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||j(t);return b(b({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return(0,d.Z)(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(h.Component);_.contextType=z;var W=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},Y=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},G=Y,J=Y,X=function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.innerProps;return(0,s.tZ)("div",(0,a.Z)({css:r("noOptionsMessage",e),className:o({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};X.defaultProps={children:"No options"};var K=function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.innerProps;return(0,s.tZ)("div",(0,a.Z)({css:r("loadingMessage",e),className:o({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};K.defaultProps={children:"Loading..."};var q=function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},Q=function(e){(0,f.Z)(n,e);var t=O(n);function n(){var e;(0,p.Z)(this,n);for(var o=arguments.length,r=Array(o),i=0;i<o;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==j(e.props.menuPlacement)&&e.setState({placement:n})},e}return(0,d.Z)(n,[{key:"render",value:function(){var e,t=this.props,n=t.appendTo,o=t.children,r=t.className,i=t.controlElement,u=t.cx,l=t.innerProps,c=t.menuPlacement,p=t.menuPosition,d=t.getStyles,f="fixed"===p;if(!n&&!f||!i)return null;var m=this.state.placement||j(c),h={bottom:(e=i.getBoundingClientRect()).bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width},g=f?0:window.pageYOffset,b=h[m]+g,y=(0,s.tZ)("div",(0,a.Z)({css:d("menuPortal",{offset:b,position:p,rect:h}),className:u({"menu-portal":!0},r)},l),o);return(0,s.tZ)(z.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},n?(0,v.createPortal)(y,n):y)}}]),n}(h.Component),$=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}}
1,ee=function(e){var t=e.theme.spacing,n=e.isMulti,o=e.hasValue,r=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&o&&r?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},et=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},en=["size"],eo={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},er=function(e){var t=e.size,n=(0,u.Z)(e,en);return(0,s.tZ)("svg",(0,a.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:eo},n))},ei=function(e){return(0,s.tZ)(er,(0,a.Z)({size:20},e),(0,s.tZ)("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"}))},ea=function(e){return(0,s.tZ)(er,(0,a.Z)({size:20},e),(0,s.tZ)("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"}))},es=function(e){var t=e.isFocused,n=e.theme,o=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*o,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},eu=es,el=es,ec=function(e){var t=e.isDisabled,n=e.theme,o=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*o,marginTop:2*o,width:1}},ep=(0,s.F4)(i||(o=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],r||(r=o.slice(0)),i=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(r)}})))),ed=function(e){var t=e.isFocused,n=e.size,o=e.theme,r=o.colors,i=o.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},ef=function(e){var t=e.delay,n=e.offset;return(0,s.tZ)("span",{css:(0,s.iv)({animation:"".concat(ep," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},em=function(e){var t=e.className,n=e.cx,o=e.getStyles,r=e.innerProps,i=e.isRtl;return(0,s.tZ)("div",(0,a.Z)({css:o("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},r),(0,s.tZ)(ef,{delay:0,offset:i}),(0,s.tZ)(ef,{delay:160,offset:!0}),(0,s.tZ)(ef,{delay:320,offset:!i}))};em.defaultProps={size:4};var eh=function(e){var t=e.isDisabled,n=e.isFocused,o=e.theme,r=o.colors,i=o.borderRadius,a=o.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:n?r.primary:r.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(r.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},ev=["data"],eg=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},eb=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},ey=["innerRef","isDisabled","isHidden","inputClassName"],eO=function(e){var t=e.isDisabled,n=e.value,o=e.theme,r=o.spacing,i=o.colors;return b({margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80,transform:n?"translateZ(0)":""},eC)},eS={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},eC={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":b({content:'attr(data-value) " "',visibility:"hidden",
1whiteSpace:"pre"},eS)},eI=function(e){var t=e.theme,n=t.spacing,o=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:o/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},ew=function(e){var t=e.theme,n=t.borderRadius,o=t.colors,r=e.cropWithEllipsis;return{borderRadius:n/2,color:o.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"}},eV=function(e){var t=e.theme,n=t.spacing,o=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:o/2,backgroundColor:e.isFocused?r.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},ex=function(e){var t=e.children,n=e.innerProps;return(0,s.tZ)("div",n,t)},eM=function(e){var t=e.isDisabled,n=e.isFocused,o=e.isSelected,r=e.theme,i=r.spacing,a=r.colors;return{label:"option",backgroundColor:o?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:o?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:o?a.primary:a.primary50}}},eE=function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},eP=function(e){var t=e.isDisabled,n=e.theme,o=n.spacing,r=n.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},eZ={ClearIndicator:function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.innerProps;return(0,s.tZ)("div",(0,a.Z)({css:r("clearIndicator",e),className:o({indicator:!0,"clear-indicator":!0},n)},i),t||(0,s.tZ)(ei,null))},Control:function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.className,i=e.isDisabled,u=e.isFocused,l=e.innerRef,c=e.innerProps,p=e.menuIsOpen;return(0,s.tZ)("div",(0,a.Z)({ref:l,css:o("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":u,"control--menu-is-open":p},r)},c),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.innerProps;return(0,s.tZ)("div",(0,a.Z)({css:r("dropdownIndicator",e),className:o({indicator:!0,"dropdown-indicator":!0},n)},i),t||(0,s.tZ)(ea,null))},DownChevron:ea,CrossIcon:ei,Group:function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.Heading,u=e.headingProps,l=e.innerProps,c=e.label,p=e.theme,d=e.selectProps;return(0,s.tZ)("div",(0,a.Z)({css:r("group",e),className:o({group:!0},n)},l),(0,s.tZ)(i,(0,a.Z)({},u,{selectProps:d,theme:p,getStyles:r,cx:o}),c),(0,s.tZ)("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,o=e.className,r=V(e);r.data;var i=(0,u.Z)(r,ev);return(0,s.tZ)("div",(0,a.Z)({css:t("groupHeading",e),className:n({"group-heading":!0},o)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,o=e.cx,r=e.innerProps,i=e.getStyles;return(0,s.tZ)("div",(0,a.Z)({css:i("indicatorsContainer",e),className:o({indicators:!0},n)},r),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,o=e.getStyles,r=e.innerProps;return(0,s.tZ)("span",(0,a.Z)({},r,{css:o("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,o=e.getStyles,r=e.value,i=V(e),l=i.innerRef,c=i.isDisabled,p=i.isHidden,d=i.inputClassName,f=(0,u.Z)(i,ey);return(0,s.tZ)("div",{className:n({"input-container":!0},t),css:o("input",e),"data-value":r||""},(0,s.tZ)("input",(0,a.Z)({className:n({input:!0},d),ref:l,style:b({label:"input",color:"inherit",background:0,opacity:p?0:1,width:"100%"},eS),disabled:c},f)))},LoadingIndicator:em,Menu:function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.innerRef,u=e.innerProps;return(0,s.tZ)("div",(0,a.Z)({css:r("menu",e),className:o({menu:!0},n),ref:i},u),t)},MenuList:function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.innerProps,u=e.innerRef,l=e.isMulti;return(0,s.tZ)("div",(0,a.Z)({css:r("menuList",e),className:o({"menu-list":!0,"menu-list--is-multi":l},n),ref:u},i),t)},MenuPortal:Q,LoadingMessage:K,NoOptionsMessage:X,MultiValue:function(e){var t=e.children,n=e.className,o=e.components,r=e.cx,i=e.data,a=e.getStyles,u=e.innerProps,l=e.isDisabled,c=e.removeProps,p=e.selectProps,d=o.Container,f=o.Label,m=o.Remove;return(0,s.tZ)(s.ms,null,function(o){var h=o.css,v=o.cx;return(0,s.tZ)(d,{data:i,innerProps:b({className:v(h(a("multiValue",e)),r({"multi-value":!0,"multi-value--is-disabled":l},n))},u),selectProps:p},(0,s.tZ)(f,{data:i,innerProps:{className:v(h(a("multiValueLabel",e)),r({"multi-value__label":!0},n))},selectProps:p},t),(0,s.tZ)(m,{data:i,innerProps:b({className:v(h(a("multiValueRemove",e)),r({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},c),selectProps:p}
1))})},MultiValueContainer:ex,MultiValueLabel:ex,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,s.tZ)("div",(0,a.Z)({role:"button"},n),t||(0,s.tZ)(ei,{size:14}))},Option:function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.isDisabled,u=e.isFocused,l=e.isSelected,c=e.innerRef,p=e.innerProps;return(0,s.tZ)("div",(0,a.Z)({css:r("option",e),className:o({option:!0,"option--is-disabled":i,"option--is-focused":u,"option--is-selected":l},n),ref:c,"aria-disabled":i},p),t)},Placeholder:function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.innerProps;return(0,s.tZ)("div",(0,a.Z)({css:r("placeholder",e),className:o({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.innerProps,u=e.isDisabled,l=e.isRtl;return(0,s.tZ)("div",(0,a.Z)({css:r("container",e),className:o({"--is-disabled":u,"--is-rtl":l},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.isDisabled,u=e.innerProps;return(0,s.tZ)("div",(0,a.Z)({css:r("singleValue",e),className:o({"single-value":!0,"single-value--is-disabled":i},n)},u),t)},ValueContainer:function(e){var t=e.children,n=e.className,o=e.cx,r=e.innerProps,i=e.isMulti,u=e.getStyles,l=e.hasValue;return(0,s.tZ)("div",(0,a.Z)({css:u("valueContainer",e),className:o({"value-container":!0,"value-container--is-multi":i,"value-container--has-value":l},n)},r),t)}},ek=function(e){return b(b({},eZ),e.components)}},40977:function(e,t,n){n.d(t,{ZP:function(){return ed}});var o,r,i,a,s,u=n(24335),l=n(92510),c=n(81253),p=n(67294),d=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"],f=n(22122),m=n(6610),h=n(5991),v=n(10379),g=n(50676),b=n(82961);function y(e){return function(e){if(Array.isArray(e))return(0,g.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,b.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}for(var O=n(70917),S=Number.isNaN||function(e){return"number"==typeof e&&e!=e},C={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"},I=function(e){return(0,O.tZ)("span",(0,f.Z)({css:C},e))},w={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.isDisabled,r=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(o?"":", 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(n?" 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,n=e.label,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", 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 i?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(l(a,n),".");if("menu"===t){var c="".concat(u?"selected":"focused").concat(s?" disabled":"");return"option ".concat(i," ").concat(c,", ").concat(l(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},V=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,c=s.ariaLiveMessages,d=s.getOptionLabel,f
1=s.inputValue,m=s.isMulti,h=s.isOptionDisabled,v=s.isSearchable,g=s.menuIsOpen,b=s.options,y=s.screenReaderStatus,S=s.tabSelectsValue,C=s["aria-label"],V=s["aria-live"],x=(0,p.useMemo)(function(){return(0,u.a)((0,u.a)({},w),c||{})},[c]),M=(0,p.useMemo)(function(){var e="";if(t&&x.onChange){var n=t.option,o=t.options,r=t.removedValue,i=t.removedValues,s=t.value,l=r||n||(Array.isArray(s)?null:s),c=l?d(l):"",p=o||i||void 0,f=p?p.map(d):[],m=(0,u.a)({isDisabled:l&&h(l,a),label:c,labels:f},t);e=x.onChange(m)}return e},[t,x,h,a,d]),E=(0,p.useMemo)(function(){var e="",t=n||o,r=!!(n&&a&&a.includes(n));if(t&&x.onFocus){var i={focused:t,label:d(t),isDisabled:h(t,a),isSelected:r,options:b,context:t===n?"menu":"value",selectValue:a};e=x.onFocus(i)}return e},[n,o,d,h,x,b,a]),P=(0,p.useMemo)(function(){var e="";if(g&&b.length&&x.onFilter){var t=y({count:r.length});e=x.onFilter({inputValue:f,resultsMessage:t})}return e},[r,f,g,x,b,y]),Z=(0,p.useMemo)(function(){var e="";if(x.guidance){var t=o?"value":g?"menu":"input";e=x.guidance({"aria-label":C,context:t,isDisabled:n&&h(n,a),isMulti:m,isSearchable:v,tabSelectsValue:S})}return e},[C,n,o,m,h,v,g,x,a,S]),k="".concat(E," ").concat(P," ").concat(Z),D=(0,O.tZ)(p.Fragment,null,(0,O.tZ)("span",{id:"aria-selection"},M),(0,O.tZ)("span",{id:"aria-context"},k)),L=(null==t?void 0:t.action)==="initial-input-focus";return(0,O.tZ)(p.Fragment,null,(0,O.tZ)(I,{id:l},L&&D),(0,O.tZ)(I,{"aria-live":V,"aria-atomic":"false","aria-relevant":"additions text"},i&&!L&&D))},x=[{base:"A",letters:"AⒶA\xc0\xc1\xc2ẦẤẪẨ\xc3ĀĂẰẮẴẲȦǠ\xc4ǞẢ\xc5ǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"\xc6ǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČ\xc7ḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺE\xc8\xc9\xcaỀẾỄỂẼĒḔḖĔĖ\xcbẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾI\xcc\xcd\xceĨĪĬİ\xcfḮỈǏȈȊỊĮḬƗ"},{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ǸŃ\xd1ṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄO\xd2\xd3\xd4ỒỐỖỔ\xd5ṌȬṎŌṐṒŎȮȰ\xd6ȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬ\xd8ǾƆƟꝊꝌ"},{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\xd9\xda\xdbŨṸŪṺŬ\xdcǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲ\xddŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚ\xe0\xe1\xe2ầấẫẩ\xe3āăằắẵẳȧǡ\xe4ǟả\xe5ǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"\xe6ǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċč\xe7ḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔe\xe8\xe9\xeaềếễểẽēḕḗĕė\xebẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘi\xec\xed\xeeĩīĭ\xefḯỉǐȉȋịįḭɨı"},{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ǹń\xf1ṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞo\xf2\xf3\xf4ồốỗổ\xf5ṍȭṏōṑṓŏȯȱ\xf6ȫỏőǒȍȏơờớỡởợọộǫǭ\xf8ǿɔꝋꝍɵ"},{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\xdfśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤu\xf9\xfa\xfbũṹūṻŭ\xfcǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳ\xfdŷỹȳẏ\xffỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],M=RegExp("["+x.map(function(e){return e.letters}).join("")+"]","g"),E={},P=0;P<x.length;P++)for(var Z=x[P],k=0;k<Z.letters.length;k++)E[Z.letters[k]]=Z.base;var D=function(e){return e.replace(M,function(e){return E[e]})},L=(void 0===o&&(o=function(e,t){if(e.length!==t.length)return!1;for(var n,o,r=0;r<e.length;r++)if(!((n=e[r])===(o=t[r])||S(n)&&S(o)))return!1;return!0}),a=[],s=!1,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s&&r===this&&o(e,a)||(i=D.apply(this,e),s=!0,r=this,a=e),i}),R=function(e){return e.replace(/^\s+|\s+$/g,"")},F=function(e){return"".concat(e.label," ").concat(e.value)},T=["innerRef"];function H(e){var t=e.innerRef,n=(0,c.Z)(e,T),o=(0,u.r)(n,"onExited","in","enter","exit","appear");return(0,O.tZ)("input",(0,f.Z)({ref:t},o,{css:(0,O.iv)({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)"},"","")}))}var A=function(e){e.preventDefault(),e.stopPropagation()},N=["boxSizing","height","overflow","paddingRight","position"],U={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function j(e){e.preventDefault()}function B(e){e.stopPropagation()}function z(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function _(){return"ontouchstart"in window||navigator.maxTouchPoints}var W=!!("undefined"!=typeof window&&window.document&&window.document.createElement),Y=0,G={capture:!1,passive:!1},J=function(){return document.activeElement&&document.activeElement.blur()},X={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function K(e){var t,n,o,r,i,a,s,l,c,d,f,m,h,v,g,b,y,S,C,I,w,V,x,M,E=e.children,P=e.lockEnabled,Z=e.captureEnabled,k=(n=(t={isEnabled:void 0===Z||Z,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}
1).isEnabled,o=t.onBottomArrive,r=t.onBottomLeave,i=t.onTopArrive,a=t.onTopLeave,s=(0,p.useRef)(!1),l=(0,p.useRef)(!1),c=(0,p.useRef)(0),d=(0,p.useRef)(null),f=(0,p.useCallback)(function(e,t){if(null!==d.current){var n=d.current,u=n.scrollTop,c=n.scrollHeight,p=n.clientHeight,f=d.current,m=t>0,h=c-p-u,v=!1;h>t&&s.current&&(r&&r(e),s.current=!1),m&&l.current&&(a&&a(e),l.current=!1),m&&t>h?(o&&!s.current&&o(e),f.scrollTop=c,v=!0,s.current=!0):!m&&-t>u&&(i&&!l.current&&i(e),f.scrollTop=0,v=!0,l.current=!0),v&&A(e)}},[o,r,i,a]),m=(0,p.useCallback)(function(e){f(e,e.deltaY)},[f]),h=(0,p.useCallback)(function(e){c.current=e.changedTouches[0].clientY},[]),v=(0,p.useCallback)(function(e){var t=c.current-e.changedTouches[0].clientY;f(e,t)},[f]),g=(0,p.useCallback)(function(e){if(e){var t=!!u.s&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",v,t)}},[v,h,m]),b=(0,p.useCallback)(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",v,!1))},[v,h,m]),(0,p.useEffect)(function(){if(n){var e=d.current;return g(e),function(){b(e)}}},[n,g,b]),function(e){d.current=e}),D=(S=(y={isEnabled:P}).isEnabled,I=void 0===(C=y.accountForScrollbars)||C,w=(0,p.useRef)({}),V=(0,p.useRef)(null),x=(0,p.useCallback)(function(e){if(W){var t=document.body,n=t&&t.style;
1if(I&&N.forEach(function(e){var t=n&&n[e];w.current[e]=t}),I&&Y<1){var o=parseInt(w.current.paddingRight,10)||0,r=document.body?document.body.clientWidth:0,i=window.innerWidth-r+o||0;Object.keys(U).forEach(function(e){var t=U[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(i,"px"))}t&&_()&&(t.addEventListener("touchmove",j,G),e&&(e.addEventListener("touchstart",z,G),e.addEventListener("touchmove",B,G))),Y+=1}},[I]),M=(0,p.useCallback)(function(e){if(W){var t=document.body,n=t&&t.style;Y=Math.max(Y-1,0),I&&Y<1&&N.forEach(function(e){var t=w.current[e];n&&(n[e]=t)}),t&&_()&&(t.removeEventListener("touchmove",j,G),e&&(e.removeEventListener("touchstart",z,G),e.removeEventListener("touchmove",B,G)))}},[I]),(0,p.useEffect)(function(){if(S){var e=V.current;return x(e),function(){M(e)}}},[S,x,M]),function(e){V.current=e});return(0,O.tZ)(p.Fragment,null,P&&(0,O.tZ)("div",{onClick:J,css:X}),E(function(e){k(e),D(e)}))}var q={clearIndicator:u.b,container:u.d,control:u.e,dropdownIndicator:u.f,group:u.g,groupHeading:u.h,indicatorsContainer:u.i,indicatorSeparator:u.j,input:u.k,loadingIndicator:u.l,loadingMessage:u.m,menu:u.n,menuList:u.o,menuPortal:u.p,multiValue:u.q,multiValueLabel:u.t,multiValueRemove:u.u,noOptionsMessage:u.v,option:u.w,placeholder:u.x,singleValue:u.y,valueContainer:u.z},Q={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}},$={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,u.A)(),captureMenuScroll:!(0,u.A)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,u.a)({ignoreCase:!0,ignoreAccents:!0,stringify:F,trim:!0,matchFrom:"any"},void 0),o=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,l=a?R(t):t,c=a?R(i(e)):i(e);return o&&(l=l.toLowerCase(),c=c.toLowerCase()),r&&(l=L(l),c=D(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-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:!(0,u.B)(),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};function ee(e,t,n,o){var r=ea(e,t,n),i=es(e,t,n),a=er(e,t),s=ei(e,t);return{type:"option",data:t,isDisabled:r,isSelected:i,label:a,value:s,index:o}}function et(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return ee(e,n,t,o)}).filter(function(t){return eo(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=ee(e,n,t,o);return eo(e,i)?i:void 0}).filter(u.H)}function en(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,y(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function eo(e,t){var n=e.inputValue,o=t.data,r=t.isSelected,i=t.label,a=t.value;return(!el(e)||!r)&&eu(e,{label:i,value:a,data:o},void 0===n?"":n)}var er=function(e,t){return e.getOptionLabel(t)},ei=function(e,t){return e.getOptionValue(t)};function ea(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}
1function es(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=ei(e,t);return n.some(function(t){return ei(e,t)===o})}function eu(e,t,n){return!e.filterOption||e.filterOption(t,n)}var el=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ec=1,ep=function(e){(0,v.Z)(n,e);var t=(0,u._)(n);function n(e){var o;return(0,m.Z)(this,n),(o=t.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},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.instancePrefix="",o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,a=r.isMulti,s=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(o.setState({inputIsHiddenAfterUpdate:!a}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,a=o.state.selectValue,s=r&&o.isOptionSelected(e,a),l=o.isOptionDisabled(e,a);if(s){var c=o.getOptionValue(e);o.setValue((0,u.C)(a.filter(function(e){return o.getOptionValue(e)!==c})),"deselect-option",e)}else if(l){o.ariaOnChange((0,u.D)(e),{action:"select-option",option:e,name:i});return}else r?o.setValue((0,u.C)([].concat(y(a),[e])),"select-option",e):o.setValue((0,u.D)(e),"select-option");n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter(function(e){return o.getOptionValue(e)!==r}),a=(0,u.E)(t,i,i[0]||null);o.onChange(a,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange((0,u.E)(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=(0,u.E)(e,r,r[0]||null);o.onChange(i,{action:"pop-value",removedValue:n})},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u.F.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return er(o.props,e)},o.getOptionValue=function(e){return ei(o.props,e)},o.getStyles=function(e,t){var n=q[e](t);n.boxSizing="border-box";var r=o.props.styles[e];return r?r(n,t):n},o.getElementId=function(e){return"".concat(o.instancePrefix,"-").concat(e)},o.getComponents=function(){return(0,u.G)(o.props)},o.buildCategorizedOptions=function(){return et(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return en(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:(0,u.a)({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!o.props.isDisabled){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,u.I)(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(e){o.blockOptionHover||o.state.focusedOption===e||o.setState({focusedOption:e})},o.shouldHideSelectedOptions=function(){return el(o.props)},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,u=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,f=o.state,m=f.focusedOption,h=f.focusedValue,v=f.selectValue;if(!u){if("function"==typeof c&&(c(e),e.defaultPrevented))return;switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;
1if(h)o.removeValue(h);else{if(!r)return;n?o.popValue():s&&o.clearValue()}break;case"Tab":if(o.isComposing||e.shiftKey||!l||!p||!m||d&&o.isOptionSelected(m,v))return;o.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(l){if(!m||o.isComposing)return;o.selectOption(m);break}return;case"Escape":l?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:a}),o.onMenuClose()):s&&i&&o.clearValue();break;case" ":if(a)return;if(!l){o.openMenu("first");break}if(!m)return;o.selectOption(m);break;case"ArrowUp":l?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":l?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!l)return;o.focusOption("pageup");break;case"PageDown":if(!l)return;o.focusOption("pagedown");break;case"Home":if(!l)return;o.focusOption("first");break;case"End":if(!l)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.instancePrefix="react-select-"+(o.props.instanceId||++ec),o.state.selectValue=(0,u.J)(e.value),o}return(0,h.Z)(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()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,u.K)(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,n=this.state,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(o[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(a=r+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Q):(0,u.a)((0,u.a)({},Q),this.props.theme):Q}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getValue,r=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,u=a.isRtl,l=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:o,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:l,selectOption:r,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,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ea(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return es(this.props,e,t)}},{key:"filterOption",value:function(e,t){return eu(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"!=typeof this.props.formatOptionLabel)return this.getOptionLabel(e);var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}},{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 e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,r=e.inputValue,i=e.tabIndex,a=e.form,s=e.menuIsOpen,l=this.getComponents().Input,c=this.state,d=c.inputIsHidden,m=c.ariaSelection,h=this.commonProps,v=o||this.getElementId("input"),g=(0,u.a)((0,u.a)((0,u.a)({"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"],role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?(null==m?void 0:m.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?p.createElement(l,(0,f.Z)({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:r},g)):p.createElement(H,(0,f.Z)({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:u.L,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,c=l.controlShouldRenderValue,d=l.isDisabled,m=l.isMulti,h=l.inputValue,v=l.placeholder,g=this.state,b=g.selectValue,y=g.focusedValue,O=g.isFocused;if(!this.hasValue()||!c)return h?null:p.createElement(s,(0,f.Z)({},u,{key:"placeholder",isDisabled:d,isFocused:O,innerProps:{id:this.getElementId("placeholder")}}),v);if(m)return b.map(function(t,a){var s=t===y,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return p.createElement(n,(0,f.Z)({},u,{components:{Container:o,Label:r,Remove:i},isFocused:s,isDisabled:d,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var S=b[0];return p.createElement(a,(0,f.Z)({},u,{data:S,isDisabled:d}),this.formatOptionLabel(S,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().
vendor: 1,822 bytes, line 1
1ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(e,(0,f.Z)({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;return e&&r?p.createElement(e,(0,f.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return p.createElement(n,(0,f.Z)({},o,{isDisabled:r,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(e,(0,f.Z)({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e,t=this,n=this.getComponents(),o=n.Group,r=n.GroupHeading,i=n.Menu,a=n.MenuList,s=n.MenuPortal,l=n.LoadingMessage,c=n.NoOptionsMessage,d=n.Option,m=this.commonProps,h=this.state.focusedOption,v=this.props,g=v.captureMenuScroll,b=v.inputValue,y=v.isLoading,O=v.loadingMessage,S=v.minMenuHeight,C=v.maxMenuHeight,I=v.menuIsOpen,w=v.menuPlacement,V=v.menuPosition,x=v.menuPortalTarget,M=v.menuShouldBlockScroll,E=v.menuShouldScrollIntoView,P=v.noOptionsMessage,Z=v.onMenuScrollToTop,k=v.onMenu
1ScrollToBottom;if(!I)return null;var D=function(e,n){var o=e.type,r=e.data,i=e.isDisabled,a=e.isSelected,s=e.label,u=e.value,l=h===r,c=i?void 0:function(){return t.onOptionHover(r)},v=i?void 0:function(){return t.selectOption(r)},g="".concat(t.getElementId("option"),"-").concat(n);return p.createElement(d,(0,f.Z)({},m,{innerProps:{id:g,onClick:v,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:r,isDisabled:i,isSelected:a,key:g,label:s,type:o,value:u,isFocused:l,innerRef:l?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())e=this.getCategorizedOptions().map(function(e){if("group"===e.type){var n=e.data,i=e.options,a=e.index,s="".concat(t.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return p.createElement(o,(0,f.Z)({},m,{key:s,data:n,options:i,Heading:r,headingProps:{id:u,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map(function(e){return D(e,"".concat(a,"-").concat(e.index))}))}if("option"===e.type)return D(e,"".concat(e.index))});else if(y){var L=O({inputValue:b});if(null===L)return null;e=p.createElement(l,m,L)}else{var R=P({inputValue:b});if(null===R)return null;e=p.createElement(c,m,R)}var F={minMenuHeight:S,maxMenuHeight:C,menuPlacement:w,menuPosition:V,menuShouldScrollIntoView:E},T=p.createElement(u.M,(0,f.Z)({},m,F),function(n){var o=n.ref,r=n.placerProps,s=r.placement,u=r.maxHeight;return p.createElement(i,(0,f.Z)({},m,F,{innerRef:o,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove,id:t.getElementId("listbox")},isLoading:y,placement:s}),p.createElement(K,{captureEnabled:g,onTopArrive:Z,onBottomArrive:k,lockEnabled:M},function(n){return p.createElement(a,(0,f.Z)({},m,{innerRef:function(e){t.getMenuListRef(e),n(e)},isLoading:y,maxHeight:u,focusedOption:h}),e)}))});return x||"fixed"===V?p.createElement(s,(0,f.Z)({},m,{appendTo:x,controlElement:this.controlRef,menuPlacement:w,menuPosition:V}),T):T}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,i=t.name,a=this.state.selectValue;if(i&&!o){if(r){if(n){var s=a.map(function(t){return e.getOptionValue(t)}).join(n);return p.createElement("input",{name:i,type:"hidden",value:s})}var u=a.length>0?a.map(function(t,n){return p.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):p.createElement("input",{name:i,type:"hidden"});return p.createElement("div",null,u)}var l=a[0]?this.getOptionValue(a[0]):"";return p.createElement("input",{name:i,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return p.createElement(V,(0,f.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:a,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,i=this.props,a=i.className,s=i.id,u=i.isDisabled,l=i.menuIsOpen,c=this.state.isFocused,d=this.commonProps=this.getCommonProps();return p.createElement(o,(0,f.Z)({},d,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:c}),this.renderLiveRegion(),p.createElement(t,(0,f.Z)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:c,menuIsOpen:l}),p.createElement(r,(0,f.Z)({},d,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),p.createElement(n,(0,f.Z)({},d,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=e.options,c=e.value,p=e.menuIsOpen,d=e.inputValue,f=e.isMulti,m=(0,u.J)(c),h={};if(n&&(c!==n.value||l!==n.options||p!==n.menuIsOpen||d!==n.inputValue)){var v,g=p?en(et(e,m)):[],b=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,m):null;h={selectValue:m,focusedOption:(v=t.focusedOption)&&g.indexOf(v)>-1?v:g[0],focusedValue:b,clearFocusValueOnUpdate:!1}}var y=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},O=i,S=a&&s;return a&&!S&&(O={value:(0,u.E)(f,m,m[0]||null),options:m,action:"initial-input-focus"},S=!s),(null==i?void 0:i.action)==="initial-input-focus"&&(O=null),(0,u.a)((0,u.a)((0,u.a)({},h),y),{},{prevProps:e,ariaSelection:O,prevWasFocused:S})}}]),n}(p.Component);ep.defaultProps=$,n(8417),n(73935);var ed=(0,p.forwardRef)(function(e,t){var n,o,r,i,a,s,m,h,v,g,b,y,O,S,C,I,w,V,x,M,E,P,Z,k,D,L,R,F,T,H,A=(n=e.defaultInputValue,o=e.defaultMenuIsOpen,r=e.defaultValue,i=e.inputValue,a=e.menuIsOpen,s=e.onCh
1ange,m=e.onInputChange,h=e.onMenuClose,v=e.onMenuOpen,g=e.value,b=(0,c.Z)(e,d),y=(0,p.useState)(void 0!==i?i:void 0===n?"":n),S=(O=(0,l.Z)(y,2))[0],C=O[1],I=(0,p.useState)(void 0!==a?a:void 0!==o&&o),V=(w=(0,l.Z)(I,2))[0],x=w[1],M=(0,p.useState)(void 0!==g?g:void 0===r?null:r),P=(E=(0,l.Z)(M,2))[0],Z=E[1],k=(0,p.useCallback)(function(e,t){"function"==typeof s&&s(e,t),Z(e)},[s]),D=(0,p.useCallback)(function(e,t){var n;"function"==typeof m&&(n=m(e,t)),C(void 0!==n?n:e)},[m]),L=(0,p.useCallback)(function(){"function"==typeof v&&v(),x(!0)},[v]),R=(0,p.useCallback)(function(){"function"==typeof h&&h(),x(!1)},[h]),F=void 0!==i?i:S,T=void 0!==a?a:V,H=void 0!==g?g:P,(0,u.a)((0,u.a)({},b),{},{inputValue:F,menuIsOpen:T,onChange:k,onInputChange:D,onMenuClose:R,onMenuOpen:L,value:H}));return p.createElement(ep,(0,f.Z)({ref:t},A))})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.