@lanaco/lnc-react-ui 3.11.35 → 4.0.2

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.
Files changed (218) hide show
  1. package/README.md +0 -3
  2. package/dist/Accordion.cjs +6 -0
  3. package/dist/Accordion.js +65 -0
  4. package/dist/AccordionDetails.cjs +7 -0
  5. package/dist/AccordionDetails.js +32 -0
  6. package/dist/AccordionSummary.cjs +12 -0
  7. package/dist/AccordionSummary.js +78 -0
  8. package/dist/ActionsToolbar.cjs +19 -0
  9. package/dist/ActionsToolbar.js +225 -0
  10. package/dist/Alert.cjs +40 -0
  11. package/dist/Alert.js +138 -0
  12. package/dist/Avatar.cjs +16 -0
  13. package/dist/Avatar.js +114 -0
  14. package/dist/Badge.cjs +17 -0
  15. package/dist/Badge.js +70 -0
  16. package/dist/Breadcrumbs.cjs +8 -0
  17. package/dist/Breadcrumbs.js +131 -0
  18. package/dist/Button.cjs +127 -0
  19. package/dist/Button.js +542 -0
  20. package/dist/ButtonGroup.cjs +44 -0
  21. package/dist/ButtonGroup.js +112 -0
  22. package/dist/CheckBoxInput.cjs +118 -0
  23. package/dist/CheckBoxInput.js +348 -0
  24. package/dist/Chip.cjs +27 -0
  25. package/dist/Chip.js +189 -0
  26. package/dist/ColorInput.cjs +60 -0
  27. package/dist/ColorInput.js +256 -0
  28. package/dist/ConfirmationForm.cjs +22 -0
  29. package/dist/ConfirmationForm.js +169 -0
  30. package/dist/Content.cjs +1 -0
  31. package/dist/Content.js +18 -0
  32. package/dist/CustomStyles-CqlCjTgU.cjs +8 -0
  33. package/dist/CustomStyles-nfD3J1mi.js +2881 -0
  34. package/dist/DataView.cjs +1 -0
  35. package/dist/DataView.js +62 -0
  36. package/dist/DateInput.cjs +296 -0
  37. package/dist/DateInput.js +7042 -0
  38. package/dist/DecimalInput.cjs +54 -0
  39. package/dist/DecimalInput.js +697 -0
  40. package/dist/DetailsView.cjs +18 -0
  41. package/dist/DetailsView.js +243 -0
  42. package/dist/DoubleRangeSlider.cjs +114 -0
  43. package/dist/DoubleRangeSlider.js +289 -0
  44. package/dist/DragAndDropFile.cjs +31 -0
  45. package/dist/DragAndDropFile.js +2331 -0
  46. package/dist/DragDropFiles.cjs +14 -0
  47. package/dist/DragDropFiles.js +175 -0
  48. package/dist/Drawer.cjs +6 -0
  49. package/dist/Drawer.js +206 -0
  50. package/dist/Dropdown.cjs +1 -0
  51. package/dist/Dropdown.js +266 -0
  52. package/dist/DropdownItem.cjs +36 -0
  53. package/dist/DropdownItem.js +241 -0
  54. package/dist/DropdownLookup.cjs +1 -0
  55. package/dist/DropdownLookup.js +325 -0
  56. package/dist/DropdownMenu-B6qr13ik.cjs +19 -0
  57. package/dist/DropdownMenu-DZi3TJ8Q.js +1547 -0
  58. package/dist/DropdownMenu.cjs +1 -0
  59. package/dist/DropdownMenu.js +12 -0
  60. package/dist/EditableTable.cjs +21 -0
  61. package/dist/EditableTable.js +462 -0
  62. package/dist/FileInput.cjs +47 -0
  63. package/dist/FileInput.js +206 -0
  64. package/dist/FlexBox.cjs +9 -0
  65. package/dist/FlexBox.js +97 -0
  66. package/dist/FlexGrid.cjs +1 -0
  67. package/dist/FlexGrid.js +78 -0
  68. package/dist/FlexGridItem.cjs +7 -0
  69. package/dist/FlexGridItem.js +97 -0
  70. package/dist/Footer.cjs +1 -0
  71. package/dist/Footer.js +18 -0
  72. package/dist/FormField.cjs +11 -0
  73. package/dist/FormField.js +65 -0
  74. package/dist/FormView.cjs +13 -0
  75. package/dist/FormView.js +354 -0
  76. package/dist/Grid.cjs +13 -0
  77. package/dist/Grid.js +62 -0
  78. package/dist/GridItem.cjs +15 -0
  79. package/dist/GridItem.js +72 -0
  80. package/dist/Header.cjs +1 -0
  81. package/dist/Header.js +18 -0
  82. package/dist/Icon.cjs +8 -0
  83. package/dist/Icon.js +59 -0
  84. package/dist/IconButton.cjs +122 -0
  85. package/dist/IconButton.js +481 -0
  86. package/dist/Kanban.cjs +85 -0
  87. package/dist/Kanban.js +4793 -0
  88. package/dist/KanbanActionsToolbar.cjs +19 -0
  89. package/dist/KanbanActionsToolbar.js +152 -0
  90. package/dist/KanbanCard-ConTmu3w.cjs +30 -0
  91. package/dist/KanbanCard-D9OhU8C6.js +175 -0
  92. package/dist/KanbanCard.cjs +1 -0
  93. package/dist/KanbanCard.js +12 -0
  94. package/dist/KanbanFooter.cjs +5 -0
  95. package/dist/KanbanFooter.js +84 -0
  96. package/dist/KanbanHeader.cjs +15 -0
  97. package/dist/KanbanHeader.js +127 -0
  98. package/dist/KanbanView.cjs +8 -0
  99. package/dist/KanbanView.js +255 -0
  100. package/dist/Link.cjs +15 -0
  101. package/dist/Link.js +62 -0
  102. package/dist/MenuItem.cjs +36 -0
  103. package/dist/MenuItem.js +230 -0
  104. package/dist/Modal.cjs +84 -0
  105. package/dist/Modal.js +372 -0
  106. package/dist/MultiSelectDropdown.cjs +1 -0
  107. package/dist/MultiSelectDropdown.js +261 -0
  108. package/dist/MultiSelectDropdownLookup.cjs +1 -0
  109. package/dist/MultiSelectDropdownLookup.js +274 -0
  110. package/dist/NestedDropdownItem.cjs +6 -0
  111. package/dist/NestedDropdownItem.js +102 -0
  112. package/dist/NestedMenuItem.cjs +6 -0
  113. package/dist/NestedMenuItem.js +115 -0
  114. package/dist/Notification.cjs +83 -0
  115. package/dist/Notification.js +1079 -0
  116. package/dist/NumberInput.cjs +45 -0
  117. package/dist/NumberInput.js +241 -0
  118. package/dist/PageLayout.cjs +26 -0
  119. package/dist/PageLayout.js +92 -0
  120. package/dist/PasswordInput.cjs +47 -0
  121. package/dist/PasswordInput.js +230 -0
  122. package/dist/ProgressBar.cjs +22 -0
  123. package/dist/ProgressBar.js +92 -0
  124. package/dist/RadioGroup.cjs +7 -0
  125. package/dist/RadioGroup.js +104 -0
  126. package/dist/RadioInput.cjs +117 -0
  127. package/dist/RadioInput.js +362 -0
  128. package/dist/RangeSlider.cjs +72 -0
  129. package/dist/RangeSlider.js +253 -0
  130. package/dist/SearchBar.cjs +100 -0
  131. package/dist/SearchBar.js +994 -0
  132. package/dist/Separator.cjs +6 -0
  133. package/dist/Separator.js +37 -0
  134. package/dist/Sidebar.cjs +39 -0
  135. package/dist/Sidebar.js +123 -0
  136. package/dist/Spinner.cjs +38 -0
  137. package/dist/Spinner.js +114 -0
  138. package/dist/Surface.cjs +7 -0
  139. package/dist/Surface.js +60 -0
  140. package/dist/SwipeableDrawer.cjs +33 -0
  141. package/dist/SwipeableDrawer.js +213 -0
  142. package/dist/Table.cjs +170 -0
  143. package/dist/Table.js +1408 -0
  144. package/dist/TableView-Cj5_fbSR.js +481 -0
  145. package/dist/TableView-D8ex512p.cjs +19 -0
  146. package/dist/TableView.cjs +1 -0
  147. package/dist/TableView.js +11 -0
  148. package/dist/Tabs.cjs +7 -0
  149. package/dist/Tabs.js +72 -0
  150. package/dist/TextAreaInput.cjs +33 -0
  151. package/dist/TextAreaInput.js +320 -0
  152. package/dist/TextInput.cjs +45 -0
  153. package/dist/TextInput.js +227 -0
  154. package/dist/ThemeProvider.cjs +113 -0
  155. package/dist/ThemeProvider.js +1340 -0
  156. package/dist/TimeInput.cjs +31 -0
  157. package/dist/TimeInput.js +133 -0
  158. package/dist/Toggle.cjs +151 -0
  159. package/dist/Toggle.js +421 -0
  160. package/dist/TreeMenu.cjs +15 -0
  161. package/dist/TreeMenu.js +108 -0
  162. package/dist/TreeMenuSeparator.cjs +6 -0
  163. package/dist/TreeMenuSeparator.js +40 -0
  164. package/dist/UploadedFile.cjs +39 -0
  165. package/dist/UploadedFile.js +192 -0
  166. package/dist/defineProperty-BHpTtkhC.js +110 -0
  167. package/dist/defineProperty-DHvxLH8G.cjs +1 -0
  168. package/dist/emotion-element-5486c51c.browser.esm-CSejtOeT.js +886 -0
  169. package/dist/emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs +1 -0
  170. package/dist/emotion-is-prop-valid.esm-BzFBwmJz.js +10 -0
  171. package/dist/emotion-is-prop-valid.esm-CMrshNb7.cjs +1 -0
  172. package/dist/emotion-react.browser.esm-DQBL7Wls.cjs +1 -0
  173. package/dist/emotion-react.browser.esm-OWM-uG8Q.js +94 -0
  174. package/dist/emotion-styled.browser.esm-BZSYYThs.js +210 -0
  175. package/dist/emotion-styled.browser.esm-Cbp_XsK4.cjs +1 -0
  176. package/dist/floating-ui.dom-1F2mTXOe.cjs +1 -0
  177. package/dist/floating-ui.dom-BdUovkEr.js +938 -0
  178. package/dist/hoist-non-react-statics.cjs-B8r9S_ak.cjs +15 -0
  179. package/dist/hoist-non-react-statics.cjs-Drf1aBlk.js +235 -0
  180. package/dist/index-BLQWNy78.js +109 -0
  181. package/dist/index-BP5r5zGN.cjs +1 -0
  182. package/dist/index-B_da1uvD.js +451 -0
  183. package/dist/index-BjdOz5Ok.cjs +1 -0
  184. package/dist/index-BklgDeu4.js +42 -0
  185. package/dist/index-C29T0m2a.cjs +174 -0
  186. package/dist/index-CZJEA84h.js +19069 -0
  187. package/dist/index-Cdkz-XH-.js +127 -0
  188. package/dist/index-D5vEbKUT.js +81 -0
  189. package/dist/index-DXnSjbfJ.cjs +20 -0
  190. package/dist/index-Ds9PUTwb.js +667 -0
  191. package/dist/index-Dzkd2i4n.cjs +1 -0
  192. package/dist/index-IO9v6o0I.cjs +5 -0
  193. package/dist/index-P-naJISQ.cjs +1 -0
  194. package/dist/index.cjs +26 -0
  195. package/dist/index.js +378 -0
  196. package/dist/motion-CtkUpWEn.js +3785 -0
  197. package/dist/motion-Oud-wpUz.cjs +1 -0
  198. package/dist/objectWithoutPropertiesLoose-Bz3hwpmU.cjs +1 -0
  199. package/dist/objectWithoutPropertiesLoose-DwEN6RBQ.js +12 -0
  200. package/dist/setPrototypeOf-4aSEnBDm.cjs +1 -0
  201. package/dist/setPrototypeOf-a891FLQJ.js +13 -0
  202. package/dist/style.css +5 -0
  203. package/dist/tslib.es6-ZNVz5r_T.js +90 -0
  204. package/dist/tslib.es6-fPwcSa2V.cjs +1 -0
  205. package/dist/use-isomorphic-layout-effect.browser.esm-CkGv31zs.cjs +1 -0
  206. package/dist/use-isomorphic-layout-effect.browser.esm-DERp5kr6.js +5 -0
  207. package/dist/useUpdateEffect-BtMgpgIV.cjs +1 -0
  208. package/dist/useUpdateEffect-CuYWz7EA.js +15 -0
  209. package/dist/utils-DEke8iwo.js +10196 -0
  210. package/dist/utils-hdRGTsQ7.cjs +13 -0
  211. package/eslint.config.js +38 -0
  212. package/package.json +137 -58
  213. package/vite.config.js +135 -0
  214. package/jest.config.js +0 -7
  215. package/lib/index.esm.js +0 -84028
  216. package/lib/index.js +0 -84165
  217. package/rc1 +0 -0
  218. package/test/jest/__mocks__/styleMock.js +0 -1
@@ -0,0 +1,2881 @@
1
+ import * as F from "react";
2
+ import { useState as ee, useCallback as M, useRef as j, useMemo as ie, createContext as xt, useContext as Vt, Component as Bt, Fragment as xe, useEffect as Ke } from "react";
3
+ import { _ as h } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
4
+ import { f as ae, a as $e, g as yt, _ as Et, b as Ft, c as Xt, d as Rt, e as St } from "./defineProperty-BHpTtkhC.js";
5
+ import { k as Wt, j as C, c as _e } from "./emotion-react.browser.esm-OWM-uG8Q.js";
6
+ import { _ as Zt } from "./objectWithoutPropertiesLoose-DwEN6RBQ.js";
7
+ import { r as Pt } from "./index-CZJEA84h.js";
8
+ import { a as Ht } from "./floating-ui.dom-BdUovkEr.js";
9
+ import { i as Ve } from "./use-isomorphic-layout-effect.browser.esm-DERp5kr6.js";
10
+ import { f as te, b as N, c as ue, d as Nt, o as Mt } from "./utils-DEke8iwo.js";
11
+ function We(n, e) {
12
+ var i = Object.keys(n);
13
+ if (Object.getOwnPropertySymbols) {
14
+ var u = Object.getOwnPropertySymbols(n);
15
+ e && (u = u.filter(function(t) {
16
+ return Object.getOwnPropertyDescriptor(n, t).enumerable;
17
+ })), i.push.apply(i, u);
18
+ }
19
+ return i;
20
+ }
21
+ function f(n) {
22
+ for (var e = 1; e < arguments.length; e++) {
23
+ var i = arguments[e] != null ? arguments[e] : {};
24
+ e % 2 ? We(Object(i), !0).forEach(function(u) {
25
+ ae(n, u, i[u]);
26
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(i)) : We(Object(i)).forEach(function(u) {
27
+ Object.defineProperty(n, u, Object.getOwnPropertyDescriptor(i, u));
28
+ });
29
+ }
30
+ return n;
31
+ }
32
+ function Dt(n) {
33
+ if (Array.isArray(n)) return n;
34
+ }
35
+ function Tt(n, e) {
36
+ var i = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
37
+ if (i != null) {
38
+ var u, t, a, r, s = [], o = !0, l = !1;
39
+ try {
40
+ if (a = (i = i.call(n)).next, e === 0) {
41
+ if (Object(i) !== i) return;
42
+ o = !1;
43
+ } else for (; !(o = (u = a.call(i)).done) && (s.push(u.value), s.length !== e); o = !0) ;
44
+ } catch (c) {
45
+ l = !0, t = c;
46
+ } finally {
47
+ try {
48
+ if (!o && i.return != null && (r = i.return(), Object(r) !== r)) return;
49
+ } finally {
50
+ if (l) throw t;
51
+ }
52
+ }
53
+ return s;
54
+ }
55
+ }
56
+ function Jt() {
57
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
58
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
59
+ }
60
+ function U(n, e) {
61
+ return Dt(n) || Tt(n, e) || $e(n, e) || Jt();
62
+ }
63
+ function Q(n, e) {
64
+ if (n == null) return {};
65
+ var i, u, t = Zt(n, e);
66
+ if (Object.getOwnPropertySymbols) {
67
+ var a = Object.getOwnPropertySymbols(n);
68
+ for (u = 0; u < a.length; u++) i = a[u], e.includes(i) || {}.propertyIsEnumerable.call(n, i) && (t[i] = n[i]);
69
+ }
70
+ return t;
71
+ }
72
+ var Ot = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
73
+ function Bu(n) {
74
+ var e = n.defaultInputValue, i = e === void 0 ? "" : e, u = n.defaultMenuIsOpen, t = u === void 0 ? !1 : u, a = n.defaultValue, r = a === void 0 ? null : a, s = n.inputValue, o = n.menuIsOpen, l = n.onChange, c = n.onInputChange, d = n.onMenuClose, b = n.onMenuOpen, I = n.value, v = Q(n, Ot), m = ee(s !== void 0 ? s : i), g = U(m, 2), p = g[0], V = g[1], G = ee(o !== void 0 ? o : t), x = U(G, 2), B = x[0], y = x[1], E = ee(I !== void 0 ? I : r), A = U(E, 2), X = A[0], P = A[1], D = M(function(J, K) {
75
+ typeof l == "function" && l(J, K), P(J);
76
+ }, [l]), H = M(function(J, K) {
77
+ var $;
78
+ typeof c == "function" && ($ = c(J, K)), V($ !== void 0 ? $ : J);
79
+ }, [c]), w = M(function() {
80
+ typeof b == "function" && b(), y(!0);
81
+ }, [b]), L = M(function() {
82
+ typeof d == "function" && d(), y(!1);
83
+ }, [d]), Z = s !== void 0 ? s : p, S = o !== void 0 ? o : B, Y = I !== void 0 ? I : X;
84
+ return f(f({}, v), {}, {
85
+ inputValue: Z,
86
+ menuIsOpen: S,
87
+ onChange: D,
88
+ onInputChange: H,
89
+ onMenuClose: L,
90
+ onMenuOpen: w,
91
+ value: Y
92
+ });
93
+ }
94
+ function Yt(n) {
95
+ if (Array.isArray(n)) return yt(n);
96
+ }
97
+ function wt(n) {
98
+ if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
99
+ }
100
+ function Lt() {
101
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
102
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
103
+ }
104
+ function ye(n) {
105
+ return Yt(n) || wt(n) || $e(n) || Lt();
106
+ }
107
+ function zt(n, e) {
108
+ return e || (e = n.slice(0)), Object.freeze(Object.defineProperties(n, {
109
+ raw: {
110
+ value: Object.freeze(e)
111
+ }
112
+ }));
113
+ }
114
+ var kt = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], be = function() {
115
+ };
116
+ function jt(n, e) {
117
+ return e ? e[0] === "-" ? n + e : n + "__" + e : n;
118
+ }
119
+ function Ut(n, e) {
120
+ for (var i = arguments.length, u = new Array(i > 2 ? i - 2 : 0), t = 2; t < i; t++)
121
+ u[t - 2] = arguments[t];
122
+ var a = [].concat(u);
123
+ if (e && n)
124
+ for (var r in e)
125
+ e.hasOwnProperty(r) && e[r] && a.push("".concat(jt(n, r)));
126
+ return a.filter(function(s) {
127
+ return s;
128
+ }).map(function(s) {
129
+ return String(s).trim();
130
+ }).join(" ");
131
+ }
132
+ var Ze = function(e) {
133
+ return un(e) ? e.filter(Boolean) : Et(e) === "object" && e !== null ? [e] : [];
134
+ }, qe = function(e) {
135
+ 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;
136
+ var i = Q(e, kt);
137
+ return f({}, i);
138
+ }, R = function(e, i, u) {
139
+ var t = e.cx, a = e.getStyles, r = e.getClassNames, s = e.className;
140
+ return {
141
+ css: a(i, e),
142
+ className: t(u ?? {}, r(i, e), s)
143
+ };
144
+ };
145
+ function yu(n, e, i) {
146
+ if (i) {
147
+ var u = i(n, e);
148
+ if (typeof u == "string") return u;
149
+ }
150
+ return n;
151
+ }
152
+ function me(n) {
153
+ return [document.documentElement, document.body, window].indexOf(n) > -1;
154
+ }
155
+ function Qt(n) {
156
+ return me(n) ? window.innerHeight : n.clientHeight;
157
+ }
158
+ function et(n) {
159
+ return me(n) ? window.pageYOffset : n.scrollTop;
160
+ }
161
+ function Ie(n, e) {
162
+ if (me(n)) {
163
+ window.scrollTo(0, e);
164
+ return;
165
+ }
166
+ n.scrollTop = e;
167
+ }
168
+ function Kt(n) {
169
+ var e = getComputedStyle(n), i = e.position === "absolute", u = /(auto|scroll)/;
170
+ if (e.position === "fixed") return document.documentElement;
171
+ for (var t = n; t = t.parentElement; )
172
+ if (e = getComputedStyle(t), !(i && e.position === "static") && u.test(e.overflow + e.overflowY + e.overflowX))
173
+ return t;
174
+ return document.documentElement;
175
+ }
176
+ function $t(n, e, i, u) {
177
+ return i * ((n = n / u - 1) * n * n + 1) + e;
178
+ }
179
+ function se(n, e) {
180
+ var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, u = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : be, t = et(n), a = e - t, r = 10, s = 0;
181
+ function o() {
182
+ s += r;
183
+ var l = $t(s, t, a, i);
184
+ Ie(n, l), s < i ? window.requestAnimationFrame(o) : u(n);
185
+ }
186
+ o();
187
+ }
188
+ function Pe(n, e) {
189
+ var i = n.getBoundingClientRect(), u = e.getBoundingClientRect(), t = e.offsetHeight / 3;
190
+ u.bottom + t > i.bottom ? Ie(n, Math.min(e.offsetTop + e.clientHeight - n.offsetHeight + t, n.scrollHeight)) : u.top - t < i.top && Ie(n, Math.max(e.offsetTop - t, 0));
191
+ }
192
+ function _t(n) {
193
+ var e = n.getBoundingClientRect();
194
+ return {
195
+ bottom: e.bottom,
196
+ height: e.height,
197
+ left: e.left,
198
+ right: e.right,
199
+ top: e.top,
200
+ width: e.width
201
+ };
202
+ }
203
+ function He() {
204
+ try {
205
+ return document.createEvent("TouchEvent"), !0;
206
+ } catch {
207
+ return !1;
208
+ }
209
+ }
210
+ function qt() {
211
+ try {
212
+ return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
213
+ } catch {
214
+ return !1;
215
+ }
216
+ }
217
+ var tt = !1, en = {
218
+ get passive() {
219
+ return tt = !0;
220
+ }
221
+ }, ce = typeof window < "u" ? window : {};
222
+ ce.addEventListener && ce.removeEventListener && (ce.addEventListener("p", be, en), ce.removeEventListener("p", be, !1));
223
+ var tn = tt;
224
+ function nn(n) {
225
+ return n != null;
226
+ }
227
+ function un(n) {
228
+ return Array.isArray(n);
229
+ }
230
+ function de(n, e, i) {
231
+ return n ? e : i;
232
+ }
233
+ var on = function(e) {
234
+ for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), t = 1; t < i; t++)
235
+ u[t - 1] = arguments[t];
236
+ var a = Object.entries(e).filter(function(r) {
237
+ var s = U(r, 1), o = s[0];
238
+ return !u.includes(o);
239
+ });
240
+ return a.reduce(function(r, s) {
241
+ var o = U(s, 2), l = o[0], c = o[1];
242
+ return r[l] = c, r;
243
+ }, {});
244
+ }, an = ["children", "innerProps"], rn = ["children", "innerProps"];
245
+ function ln(n) {
246
+ var e = n.maxHeight, i = n.menuEl, u = n.minHeight, t = n.placement, a = n.shouldScroll, r = n.isFixedPosition, s = n.controlHeight, o = Kt(i), l = {
247
+ placement: "bottom",
248
+ maxHeight: e
249
+ };
250
+ if (!i || !i.offsetParent) return l;
251
+ var c = o.getBoundingClientRect(), d = c.height, b = i.getBoundingClientRect(), I = b.bottom, v = b.height, m = b.top, g = i.offsetParent.getBoundingClientRect(), p = g.top, V = r ? window.innerHeight : Qt(o), G = et(o), x = parseInt(getComputedStyle(i).marginBottom, 10), B = parseInt(getComputedStyle(i).marginTop, 10), y = p - B, E = V - m, A = y + G, X = d - G - m, P = I - V + G + x, D = G + m - B, H = 160;
252
+ switch (t) {
253
+ case "auto":
254
+ case "bottom":
255
+ if (E >= v)
256
+ return {
257
+ placement: "bottom",
258
+ maxHeight: e
259
+ };
260
+ if (X >= v && !r)
261
+ return a && se(o, P, H), {
262
+ placement: "bottom",
263
+ maxHeight: e
264
+ };
265
+ if (!r && X >= u || r && E >= u) {
266
+ a && se(o, P, H);
267
+ var w = r ? E - x : X - x;
268
+ return {
269
+ placement: "bottom",
270
+ maxHeight: w
271
+ };
272
+ }
273
+ if (t === "auto" || r) {
274
+ var L = e, Z = r ? y : A;
275
+ return Z >= u && (L = Math.min(Z - x - s, e)), {
276
+ placement: "top",
277
+ maxHeight: L
278
+ };
279
+ }
280
+ if (t === "bottom")
281
+ return a && Ie(o, P), {
282
+ placement: "bottom",
283
+ maxHeight: e
284
+ };
285
+ break;
286
+ case "top":
287
+ if (y >= v)
288
+ return {
289
+ placement: "top",
290
+ maxHeight: e
291
+ };
292
+ if (A >= v && !r)
293
+ return a && se(o, D, H), {
294
+ placement: "top",
295
+ maxHeight: e
296
+ };
297
+ if (!r && A >= u || r && y >= u) {
298
+ var S = e;
299
+ return (!r && A >= u || r && y >= u) && (S = r ? y - B : A - B), a && se(o, D, H), {
300
+ placement: "top",
301
+ maxHeight: S
302
+ };
303
+ }
304
+ return {
305
+ placement: "bottom",
306
+ maxHeight: e
307
+ };
308
+ default:
309
+ throw new Error('Invalid placement provided "'.concat(t, '".'));
310
+ }
311
+ return l;
312
+ }
313
+ function sn(n) {
314
+ var e = {
315
+ bottom: "top",
316
+ top: "bottom"
317
+ };
318
+ return n ? e[n] : "bottom";
319
+ }
320
+ var nt = function(e) {
321
+ return e === "auto" ? "bottom" : e;
322
+ }, cn = function(e, i) {
323
+ var u, t = e.placement, a = e.theme, r = a.borderRadius, s = a.spacing, o = a.colors;
324
+ return f((u = {
325
+ label: "menu"
326
+ }, ae(u, sn(t), "100%"), ae(u, "position", "absolute"), ae(u, "width", "100%"), ae(u, "zIndex", 1), u), i ? {} : {
327
+ backgroundColor: o.neutral0,
328
+ borderRadius: r,
329
+ boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
330
+ marginBottom: s.menuGutter,
331
+ marginTop: s.menuGutter
332
+ });
333
+ }, it = /* @__PURE__ */ xt(null), dn = function(e) {
334
+ var i = e.children, u = e.minMenuHeight, t = e.maxMenuHeight, a = e.menuPlacement, r = e.menuPosition, s = e.menuShouldScrollIntoView, o = e.theme, l = Vt(it) || {}, c = l.setPortalPlacement, d = j(null), b = ee(t), I = U(b, 2), v = I[0], m = I[1], g = ee(null), p = U(g, 2), V = p[0], G = p[1], x = o.spacing.controlHeight;
335
+ return Ve(function() {
336
+ var B = d.current;
337
+ if (B) {
338
+ var y = r === "fixed", E = s && !y, A = ln({
339
+ maxHeight: t,
340
+ menuEl: B,
341
+ minHeight: u,
342
+ placement: a,
343
+ shouldScroll: E,
344
+ isFixedPosition: y,
345
+ controlHeight: x
346
+ });
347
+ m(A.maxHeight), G(A.placement), c == null || c(A.placement);
348
+ }
349
+ }, [t, a, r, s, u, c, x]), i({
350
+ ref: d,
351
+ placerProps: f(f({}, e), {}, {
352
+ placement: V || nt(a),
353
+ maxHeight: v
354
+ })
355
+ });
356
+ }, gn = function(e) {
357
+ var i = e.children, u = e.innerRef, t = e.innerProps;
358
+ return C("div", h({}, R(e, "menu", {
359
+ menu: !0
360
+ }), {
361
+ ref: u
362
+ }, t), i);
363
+ }, bn = gn, In = function(e, i) {
364
+ var u = e.maxHeight, t = e.theme.spacing.baseUnit;
365
+ return f({
366
+ maxHeight: u,
367
+ overflowY: "auto",
368
+ position: "relative",
369
+ // required for offset[Height, Top] > keyboard scroll
370
+ WebkitOverflowScrolling: "touch"
371
+ }, i ? {} : {
372
+ paddingBottom: t,
373
+ paddingTop: t
374
+ });
375
+ }, pn = function(e) {
376
+ var i = e.children, u = e.innerProps, t = e.innerRef, a = e.isMulti;
377
+ return C("div", h({}, R(e, "menuList", {
378
+ "menu-list": !0,
379
+ "menu-list--is-multi": a
380
+ }), {
381
+ ref: t
382
+ }, u), i);
383
+ }, ut = function(e, i) {
384
+ var u = e.theme, t = u.spacing.baseUnit, a = u.colors;
385
+ return f({
386
+ textAlign: "center"
387
+ }, i ? {} : {
388
+ color: a.neutral40,
389
+ padding: "".concat(t * 2, "px ").concat(t * 3, "px")
390
+ });
391
+ }, mn = ut, vn = ut, Cn = function(e) {
392
+ var i = e.children, u = i === void 0 ? "No options" : i, t = e.innerProps, a = Q(e, an);
393
+ return C("div", h({}, R(f(f({}, a), {}, {
394
+ children: u,
395
+ innerProps: t
396
+ }), "noOptionsMessage", {
397
+ "menu-notice": !0,
398
+ "menu-notice--no-options": !0
399
+ }), t), u);
400
+ }, fn = function(e) {
401
+ var i = e.children, u = i === void 0 ? "Loading..." : i, t = e.innerProps, a = Q(e, rn);
402
+ return C("div", h({}, R(f(f({}, a), {}, {
403
+ children: u,
404
+ innerProps: t
405
+ }), "loadingMessage", {
406
+ "menu-notice": !0,
407
+ "menu-notice--loading": !0
408
+ }), t), u);
409
+ }, hn = function(e) {
410
+ var i = e.rect, u = e.offset, t = e.position;
411
+ return {
412
+ left: i.left,
413
+ position: t,
414
+ top: u,
415
+ width: i.width,
416
+ zIndex: 1
417
+ };
418
+ }, An = function(e) {
419
+ var i = e.appendTo, u = e.children, t = e.controlElement, a = e.innerProps, r = e.menuPlacement, s = e.menuPosition, o = j(null), l = j(null), c = ee(nt(r)), d = U(c, 2), b = d[0], I = d[1], v = ie(function() {
420
+ return {
421
+ setPortalPlacement: I
422
+ };
423
+ }, []), m = ee(null), g = U(m, 2), p = g[0], V = g[1], G = M(function() {
424
+ if (t) {
425
+ var E = _t(t), A = s === "fixed" ? 0 : window.pageYOffset, X = E[b] + A;
426
+ (X !== (p == null ? void 0 : p.offset) || E.left !== (p == null ? void 0 : p.rect.left) || E.width !== (p == null ? void 0 : p.rect.width)) && V({
427
+ offset: X,
428
+ rect: E
429
+ });
430
+ }
431
+ }, [t, s, b, p == null ? void 0 : p.offset, p == null ? void 0 : p.rect.left, p == null ? void 0 : p.rect.width]);
432
+ Ve(function() {
433
+ G();
434
+ }, [G]);
435
+ var x = M(function() {
436
+ typeof l.current == "function" && (l.current(), l.current = null), t && o.current && (l.current = Ht(t, o.current, G, {
437
+ elementResize: "ResizeObserver" in window
438
+ }));
439
+ }, [t, G]);
440
+ Ve(function() {
441
+ x();
442
+ }, [x]);
443
+ var B = M(function(E) {
444
+ o.current = E, x();
445
+ }, [x]);
446
+ if (!i && s !== "fixed" || !p) return null;
447
+ var y = C("div", h({
448
+ ref: B
449
+ }, R(f(f({}, e), {}, {
450
+ offset: p.offset,
451
+ position: s,
452
+ rect: p.rect
453
+ }), "menuPortal", {
454
+ "menu-portal": !0
455
+ }), a), u);
456
+ return C(it.Provider, {
457
+ value: v
458
+ }, i ? /* @__PURE__ */ Pt.createPortal(y, i) : y);
459
+ }, Gn = function(e) {
460
+ var i = e.isDisabled, u = e.isRtl;
461
+ return {
462
+ label: "container",
463
+ direction: u ? "rtl" : void 0,
464
+ pointerEvents: i ? "none" : void 0,
465
+ // cancel mouse events when disabled
466
+ position: "relative"
467
+ };
468
+ }, xn = function(e) {
469
+ var i = e.children, u = e.innerProps, t = e.isDisabled, a = e.isRtl;
470
+ return C("div", h({}, R(e, "container", {
471
+ "--is-disabled": t,
472
+ "--is-rtl": a
473
+ }), u), i);
474
+ }, Vn = function(e, i) {
475
+ var u = e.theme.spacing, t = e.isMulti, a = e.hasValue, r = e.selectProps.controlShouldRenderValue;
476
+ return f({
477
+ alignItems: "center",
478
+ display: t && a && r ? "flex" : "grid",
479
+ flex: 1,
480
+ flexWrap: "wrap",
481
+ WebkitOverflowScrolling: "touch",
482
+ position: "relative",
483
+ overflow: "hidden"
484
+ }, i ? {} : {
485
+ padding: "".concat(u.baseUnit / 2, "px ").concat(u.baseUnit * 2, "px")
486
+ });
487
+ }, Bn = function(e) {
488
+ var i = e.children, u = e.innerProps, t = e.isMulti, a = e.hasValue;
489
+ return C("div", h({}, R(e, "valueContainer", {
490
+ "value-container": !0,
491
+ "value-container--is-multi": t,
492
+ "value-container--has-value": a
493
+ }), u), i);
494
+ }, yn = function() {
495
+ return {
496
+ alignItems: "center",
497
+ alignSelf: "stretch",
498
+ display: "flex",
499
+ flexShrink: 0
500
+ };
501
+ }, En = function(e) {
502
+ var i = e.children, u = e.innerProps;
503
+ return C("div", h({}, R(e, "indicatorsContainer", {
504
+ indicators: !0
505
+ }), u), i);
506
+ }, Ne, Fn = ["size"], Xn = ["innerProps", "isRtl", "size"];
507
+ function Rn() {
508
+ 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).";
509
+ }
510
+ var Sn = process.env.NODE_ENV === "production" ? {
511
+ name: "8mmkcg",
512
+ styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
513
+ } : {
514
+ name: "tj5bde-Svg",
515
+ styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
516
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlh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0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
517
+ toString: Rn
518
+ }, ot = function(e) {
519
+ var i = e.size, u = Q(e, Fn);
520
+ return C("svg", h({
521
+ height: i,
522
+ width: i,
523
+ viewBox: "0 0 20 20",
524
+ "aria-hidden": "true",
525
+ focusable: "false",
526
+ css: Sn
527
+ }, u));
528
+ }, Ee = function(e) {
529
+ return C(ot, h({
530
+ size: 20
531
+ }, e), C("path", {
532
+ 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"
533
+ }));
534
+ }, at = function(e) {
535
+ return C(ot, h({
536
+ size: 20
537
+ }, e), C("path", {
538
+ 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"
539
+ }));
540
+ }, rt = function(e, i) {
541
+ var u = e.isFocused, t = e.theme, a = t.spacing.baseUnit, r = t.colors;
542
+ return f({
543
+ label: "indicatorContainer",
544
+ display: "flex",
545
+ transition: "color 150ms"
546
+ }, i ? {} : {
547
+ color: u ? r.neutral60 : r.neutral20,
548
+ padding: a * 2,
549
+ ":hover": {
550
+ color: u ? r.neutral80 : r.neutral40
551
+ }
552
+ });
553
+ }, Wn = rt, Zn = function(e) {
554
+ var i = e.children, u = e.innerProps;
555
+ return C("div", h({}, R(e, "dropdownIndicator", {
556
+ indicator: !0,
557
+ "dropdown-indicator": !0
558
+ }), u), i || C(at, null));
559
+ }, Pn = rt, Hn = function(e) {
560
+ var i = e.children, u = e.innerProps;
561
+ return C("div", h({}, R(e, "clearIndicator", {
562
+ indicator: !0,
563
+ "clear-indicator": !0
564
+ }), u), i || C(Ee, null));
565
+ }, Nn = function(e, i) {
566
+ var u = e.isDisabled, t = e.theme, a = t.spacing.baseUnit, r = t.colors;
567
+ return f({
568
+ label: "indicatorSeparator",
569
+ alignSelf: "stretch",
570
+ width: 1
571
+ }, i ? {} : {
572
+ backgroundColor: u ? r.neutral10 : r.neutral20,
573
+ marginBottom: a * 2,
574
+ marginTop: a * 2
575
+ });
576
+ }, Mn = function(e) {
577
+ var i = e.innerProps;
578
+ return C("span", h({}, i, R(e, "indicatorSeparator", {
579
+ "indicator-separator": !0
580
+ })));
581
+ }, Dn = Wt(Ne || (Ne = zt([`
582
+ 0%, 80%, 100% { opacity: 0; }
583
+ 40% { opacity: 1; }
584
+ `]))), Tn = function(e, i) {
585
+ var u = e.isFocused, t = e.size, a = e.theme, r = a.colors, s = a.spacing.baseUnit;
586
+ return f({
587
+ label: "loadingIndicator",
588
+ display: "flex",
589
+ transition: "color 150ms",
590
+ alignSelf: "center",
591
+ fontSize: t,
592
+ lineHeight: 1,
593
+ marginRight: t,
594
+ textAlign: "center",
595
+ verticalAlign: "middle"
596
+ }, i ? {} : {
597
+ color: u ? r.neutral60 : r.neutral20,
598
+ padding: s * 2
599
+ });
600
+ }, ve = function(e) {
601
+ var i = e.delay, u = e.offset;
602
+ return C("span", {
603
+ css: /* @__PURE__ */ _e({
604
+ animation: "".concat(Dn, " 1s ease-in-out ").concat(i, "ms infinite;"),
605
+ backgroundColor: "currentColor",
606
+ borderRadius: "1em",
607
+ display: "inline-block",
608
+ marginLeft: u ? "1em" : void 0,
609
+ height: "1em",
610
+ verticalAlign: "top",
611
+ width: "1em"
612
+ }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVBy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4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
613
+ });
614
+ }, Jn = function(e) {
615
+ var i = e.innerProps, u = e.isRtl, t = e.size, a = t === void 0 ? 4 : t, r = Q(e, Xn);
616
+ return C("div", h({}, R(f(f({}, r), {}, {
617
+ innerProps: i,
618
+ isRtl: u,
619
+ size: a
620
+ }), "loadingIndicator", {
621
+ indicator: !0,
622
+ "loading-indicator": !0
623
+ }), i), C(ve, {
624
+ delay: 0,
625
+ offset: u
626
+ }), C(ve, {
627
+ delay: 160,
628
+ offset: !0
629
+ }), C(ve, {
630
+ delay: 320,
631
+ offset: !u
632
+ }));
633
+ }, On = function(e, i) {
634
+ var u = e.isDisabled, t = e.isFocused, a = e.theme, r = a.colors, s = a.borderRadius, o = a.spacing;
635
+ return f({
636
+ label: "control",
637
+ alignItems: "center",
638
+ cursor: "default",
639
+ display: "flex",
640
+ flexWrap: "wrap",
641
+ justifyContent: "space-between",
642
+ minHeight: o.controlHeight,
643
+ outline: "0 !important",
644
+ position: "relative",
645
+ transition: "all 100ms"
646
+ }, i ? {} : {
647
+ backgroundColor: u ? r.neutral5 : r.neutral0,
648
+ borderColor: u ? r.neutral10 : t ? r.primary : r.neutral20,
649
+ borderRadius: s,
650
+ borderStyle: "solid",
651
+ borderWidth: 1,
652
+ boxShadow: t ? "0 0 0 1px ".concat(r.primary) : void 0,
653
+ "&:hover": {
654
+ borderColor: t ? r.primary : r.neutral30
655
+ }
656
+ });
657
+ }, Yn = function(e) {
658
+ var i = e.children, u = e.isDisabled, t = e.isFocused, a = e.innerRef, r = e.innerProps, s = e.menuIsOpen;
659
+ return C("div", h({
660
+ ref: a
661
+ }, R(e, "control", {
662
+ control: !0,
663
+ "control--is-disabled": u,
664
+ "control--is-focused": t,
665
+ "control--menu-is-open": s
666
+ }), r, {
667
+ "aria-disabled": u || void 0
668
+ }), i);
669
+ }, wn = Yn, Ln = ["data"], zn = function(e, i) {
670
+ var u = e.theme.spacing;
671
+ return i ? {} : {
672
+ paddingBottom: u.baseUnit * 2,
673
+ paddingTop: u.baseUnit * 2
674
+ };
675
+ }, kn = function(e) {
676
+ var i = e.children, u = e.cx, t = e.getStyles, a = e.getClassNames, r = e.Heading, s = e.headingProps, o = e.innerProps, l = e.label, c = e.theme, d = e.selectProps;
677
+ return C("div", h({}, R(e, "group", {
678
+ group: !0
679
+ }), o), C(r, h({}, s, {
680
+ selectProps: d,
681
+ theme: c,
682
+ getStyles: t,
683
+ getClassNames: a,
684
+ cx: u
685
+ }), l), C("div", null, i));
686
+ }, jn = function(e, i) {
687
+ var u = e.theme, t = u.colors, a = u.spacing;
688
+ return f({
689
+ label: "group",
690
+ cursor: "default",
691
+ display: "block"
692
+ }, i ? {} : {
693
+ color: t.neutral40,
694
+ fontSize: "75%",
695
+ fontWeight: 500,
696
+ marginBottom: "0.25em",
697
+ paddingLeft: a.baseUnit * 3,
698
+ paddingRight: a.baseUnit * 3,
699
+ textTransform: "uppercase"
700
+ });
701
+ }, Un = function(e) {
702
+ var i = qe(e);
703
+ i.data;
704
+ var u = Q(i, Ln);
705
+ return C("div", h({}, R(e, "groupHeading", {
706
+ "group-heading": !0
707
+ }), u));
708
+ }, Qn = kn, Kn = ["innerRef", "isDisabled", "isHidden", "inputClassName"], $n = function(e, i) {
709
+ var u = e.isDisabled, t = e.value, a = e.theme, r = a.spacing, s = a.colors;
710
+ return f(f({
711
+ visibility: u ? "hidden" : "visible",
712
+ // force css to recompute when value change due to @emotion bug.
713
+ // We can remove it whenever the bug is fixed.
714
+ transform: t ? "translateZ(0)" : ""
715
+ }, _n), i ? {} : {
716
+ margin: r.baseUnit / 2,
717
+ paddingBottom: r.baseUnit / 2,
718
+ paddingTop: r.baseUnit / 2,
719
+ color: s.neutral80
720
+ });
721
+ }, lt = {
722
+ gridArea: "1 / 2",
723
+ font: "inherit",
724
+ minWidth: "2px",
725
+ border: 0,
726
+ margin: 0,
727
+ outline: 0,
728
+ padding: 0
729
+ }, _n = {
730
+ flex: "1 1 auto",
731
+ display: "inline-grid",
732
+ gridArea: "1 / 1 / 2 / 3",
733
+ gridTemplateColumns: "0 min-content",
734
+ "&:after": f({
735
+ content: 'attr(data-value) " "',
736
+ visibility: "hidden",
737
+ whiteSpace: "pre"
738
+ }, lt)
739
+ }, qn = function(e) {
740
+ return f({
741
+ label: "input",
742
+ color: "inherit",
743
+ background: 0,
744
+ opacity: e ? 0 : 1,
745
+ width: "100%"
746
+ }, lt);
747
+ }, ei = function(e) {
748
+ var i = e.cx, u = e.value, t = qe(e), a = t.innerRef, r = t.isDisabled, s = t.isHidden, o = t.inputClassName, l = Q(t, Kn);
749
+ return C("div", h({}, R(e, "input", {
750
+ "input-container": !0
751
+ }), {
752
+ "data-value": u || ""
753
+ }), C("input", h({
754
+ className: i({
755
+ input: !0
756
+ }, o),
757
+ ref: a,
758
+ style: qn(s),
759
+ disabled: r
760
+ }, l)));
761
+ }, ti = ei, ni = function(e, i) {
762
+ var u = e.theme, t = u.spacing, a = u.borderRadius, r = u.colors;
763
+ return f({
764
+ label: "multiValue",
765
+ display: "flex",
766
+ minWidth: 0
767
+ }, i ? {} : {
768
+ backgroundColor: r.neutral10,
769
+ borderRadius: a / 2,
770
+ margin: t.baseUnit / 2
771
+ });
772
+ }, ii = function(e, i) {
773
+ var u = e.theme, t = u.borderRadius, a = u.colors, r = e.cropWithEllipsis;
774
+ return f({
775
+ overflow: "hidden",
776
+ textOverflow: r || r === void 0 ? "ellipsis" : void 0,
777
+ whiteSpace: "nowrap"
778
+ }, i ? {} : {
779
+ borderRadius: t / 2,
780
+ color: a.neutral80,
781
+ fontSize: "85%",
782
+ padding: 3,
783
+ paddingLeft: 6
784
+ });
785
+ }, ui = function(e, i) {
786
+ var u = e.theme, t = u.spacing, a = u.borderRadius, r = u.colors, s = e.isFocused;
787
+ return f({
788
+ alignItems: "center",
789
+ display: "flex"
790
+ }, i ? {} : {
791
+ borderRadius: a / 2,
792
+ backgroundColor: s ? r.dangerLight : void 0,
793
+ paddingLeft: t.baseUnit,
794
+ paddingRight: t.baseUnit,
795
+ ":hover": {
796
+ backgroundColor: r.dangerLight,
797
+ color: r.danger
798
+ }
799
+ });
800
+ }, st = function(e) {
801
+ var i = e.children, u = e.innerProps;
802
+ return C("div", u, i);
803
+ }, oi = st, ai = st;
804
+ function ri(n) {
805
+ var e = n.children, i = n.innerProps;
806
+ return C("div", h({
807
+ role: "button"
808
+ }, i), e || C(Ee, {
809
+ size: 14
810
+ }));
811
+ }
812
+ var li = function(e) {
813
+ var i = e.children, u = e.components, t = e.data, a = e.innerProps, r = e.isDisabled, s = e.removeProps, o = e.selectProps, l = u.Container, c = u.Label, d = u.Remove;
814
+ return C(l, {
815
+ data: t,
816
+ innerProps: f(f({}, R(e, "multiValue", {
817
+ "multi-value": !0,
818
+ "multi-value--is-disabled": r
819
+ })), a),
820
+ selectProps: o
821
+ }, C(c, {
822
+ data: t,
823
+ innerProps: f({}, R(e, "multiValueLabel", {
824
+ "multi-value__label": !0
825
+ })),
826
+ selectProps: o
827
+ }, i), C(d, {
828
+ data: t,
829
+ innerProps: f(f({}, R(e, "multiValueRemove", {
830
+ "multi-value__remove": !0
831
+ })), {}, {
832
+ "aria-label": "Remove ".concat(i || "option")
833
+ }, s),
834
+ selectProps: o
835
+ }));
836
+ }, si = li, ci = function(e, i) {
837
+ var u = e.isDisabled, t = e.isFocused, a = e.isSelected, r = e.theme, s = r.spacing, o = r.colors;
838
+ return f({
839
+ label: "option",
840
+ cursor: "default",
841
+ display: "block",
842
+ fontSize: "inherit",
843
+ width: "100%",
844
+ userSelect: "none",
845
+ WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
846
+ }, i ? {} : {
847
+ backgroundColor: a ? o.primary : t ? o.primary25 : "transparent",
848
+ color: u ? o.neutral20 : a ? o.neutral0 : "inherit",
849
+ padding: "".concat(s.baseUnit * 2, "px ").concat(s.baseUnit * 3, "px"),
850
+ // provide some affordance on touch devices
851
+ ":active": {
852
+ backgroundColor: u ? void 0 : a ? o.primary : o.primary50
853
+ }
854
+ });
855
+ }, di = function(e) {
856
+ var i = e.children, u = e.isDisabled, t = e.isFocused, a = e.isSelected, r = e.innerRef, s = e.innerProps;
857
+ return C("div", h({}, R(e, "option", {
858
+ option: !0,
859
+ "option--is-disabled": u,
860
+ "option--is-focused": t,
861
+ "option--is-selected": a
862
+ }), {
863
+ ref: r,
864
+ "aria-disabled": u
865
+ }, s), i);
866
+ }, gi = di, bi = function(e, i) {
867
+ var u = e.theme, t = u.spacing, a = u.colors;
868
+ return f({
869
+ label: "placeholder",
870
+ gridArea: "1 / 1 / 2 / 3"
871
+ }, i ? {} : {
872
+ color: a.neutral50,
873
+ marginLeft: t.baseUnit / 2,
874
+ marginRight: t.baseUnit / 2
875
+ });
876
+ }, Ii = function(e) {
877
+ var i = e.children, u = e.innerProps;
878
+ return C("div", h({}, R(e, "placeholder", {
879
+ placeholder: !0
880
+ }), u), i);
881
+ }, pi = Ii, mi = function(e, i) {
882
+ var u = e.isDisabled, t = e.theme, a = t.spacing, r = t.colors;
883
+ return f({
884
+ label: "singleValue",
885
+ gridArea: "1 / 1 / 2 / 3",
886
+ maxWidth: "100%",
887
+ overflow: "hidden",
888
+ textOverflow: "ellipsis",
889
+ whiteSpace: "nowrap"
890
+ }, i ? {} : {
891
+ color: u ? r.neutral40 : r.neutral80,
892
+ marginLeft: a.baseUnit / 2,
893
+ marginRight: a.baseUnit / 2
894
+ });
895
+ }, vi = function(e) {
896
+ var i = e.children, u = e.isDisabled, t = e.innerProps;
897
+ return C("div", h({}, R(e, "singleValue", {
898
+ "single-value": !0,
899
+ "single-value--is-disabled": u
900
+ }), t), i);
901
+ }, Ci = vi, fi = {
902
+ ClearIndicator: Hn,
903
+ Control: wn,
904
+ DropdownIndicator: Zn,
905
+ DownChevron: at,
906
+ CrossIcon: Ee,
907
+ Group: Qn,
908
+ GroupHeading: Un,
909
+ IndicatorsContainer: En,
910
+ IndicatorSeparator: Mn,
911
+ Input: ti,
912
+ LoadingIndicator: Jn,
913
+ Menu: bn,
914
+ MenuList: pn,
915
+ MenuPortal: An,
916
+ LoadingMessage: fn,
917
+ NoOptionsMessage: Cn,
918
+ MultiValue: si,
919
+ MultiValueContainer: oi,
920
+ MultiValueLabel: ai,
921
+ MultiValueRemove: ri,
922
+ Option: gi,
923
+ Placeholder: pi,
924
+ SelectContainer: xn,
925
+ SingleValue: Ci,
926
+ ValueContainer: Bn
927
+ }, hi = function(e) {
928
+ return f(f({}, fi), e.components);
929
+ }, Me = Number.isNaN || function(e) {
930
+ return typeof e == "number" && e !== e;
931
+ };
932
+ function Ai(n, e) {
933
+ return !!(n === e || Me(n) && Me(e));
934
+ }
935
+ function Gi(n, e) {
936
+ if (n.length !== e.length)
937
+ return !1;
938
+ for (var i = 0; i < n.length; i++)
939
+ if (!Ai(n[i], e[i]))
940
+ return !1;
941
+ return !0;
942
+ }
943
+ function xi(n, e) {
944
+ e === void 0 && (e = Gi);
945
+ var i = null;
946
+ function u() {
947
+ for (var t = [], a = 0; a < arguments.length; a++)
948
+ t[a] = arguments[a];
949
+ if (i && i.lastThis === this && e(t, i.lastArgs))
950
+ return i.lastResult;
951
+ var r = n.apply(this, t);
952
+ return i = {
953
+ lastResult: r,
954
+ lastArgs: t,
955
+ lastThis: this
956
+ }, r;
957
+ }
958
+ return u.clear = function() {
959
+ i = null;
960
+ }, u;
961
+ }
962
+ function Vi() {
963
+ 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).";
964
+ }
965
+ var Bi = process.env.NODE_ENV === "production" ? {
966
+ name: "7pg0cj-a11yText",
967
+ 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"
968
+ } : {
969
+ name: "1f43avz-a11yText-A11yText",
970
+ 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;",
971
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
972
+ toString: Vi
973
+ }, yi = function(e) {
974
+ return C("span", h({
975
+ css: Bi
976
+ }, e));
977
+ }, De = yi, Ei = {
978
+ guidance: function(e) {
979
+ var i = e.isSearchable, u = e.isMulti, t = e.tabSelectsValue, a = e.context, r = e.isInitialFocus;
980
+ switch (a) {
981
+ case "menu":
982
+ return "Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(t ? ", press Tab to select the option and exit the menu" : "", ".");
983
+ case "input":
984
+ return r ? "".concat(e["aria-label"] || "Select", " is focused ").concat(i ? ",type to refine list" : "", ", press Down to open the menu, ").concat(u ? " press left to focus selected values" : "") : "";
985
+ case "value":
986
+ return "Use left and right to toggle between focused values, press Backspace to remove the currently focused value";
987
+ default:
988
+ return "";
989
+ }
990
+ },
991
+ onChange: function(e) {
992
+ var i = e.action, u = e.label, t = u === void 0 ? "" : u, a = e.labels, r = e.isDisabled;
993
+ switch (i) {
994
+ case "deselect-option":
995
+ case "pop-value":
996
+ case "remove-value":
997
+ return "option ".concat(t, ", deselected.");
998
+ case "clear":
999
+ return "All selected options have been cleared.";
1000
+ case "initial-input-focus":
1001
+ return "option".concat(a.length > 1 ? "s" : "", " ").concat(a.join(","), ", selected.");
1002
+ case "select-option":
1003
+ return r ? "option ".concat(t, " is disabled. Select another option.") : "option ".concat(t, ", selected.");
1004
+ default:
1005
+ return "";
1006
+ }
1007
+ },
1008
+ onFocus: function(e) {
1009
+ var i = e.context, u = e.focused, t = e.options, a = e.label, r = a === void 0 ? "" : a, s = e.selectValue, o = e.isDisabled, l = e.isSelected, c = e.isAppleDevice, d = function(m, g) {
1010
+ return m && m.length ? "".concat(m.indexOf(g) + 1, " of ").concat(m.length) : "";
1011
+ };
1012
+ if (i === "value" && s)
1013
+ return "value ".concat(r, " focused, ").concat(d(s, u), ".");
1014
+ if (i === "menu" && c) {
1015
+ var b = o ? " disabled" : "", I = "".concat(l ? " selected" : "").concat(b);
1016
+ return "".concat(r).concat(I, ", ").concat(d(t, u), ".");
1017
+ }
1018
+ return "";
1019
+ },
1020
+ onFilter: function(e) {
1021
+ var i = e.inputValue, u = e.resultsMessage;
1022
+ return "".concat(u).concat(i ? " for search term " + i : "", ".");
1023
+ }
1024
+ }, Fi = function(e) {
1025
+ var i = e.ariaSelection, u = e.focusedOption, t = e.focusedValue, a = e.focusableOptions, r = e.isFocused, s = e.selectValue, o = e.selectProps, l = e.id, c = e.isAppleDevice, d = o.ariaLiveMessages, b = o.getOptionLabel, I = o.inputValue, v = o.isMulti, m = o.isOptionDisabled, g = o.isSearchable, p = o.menuIsOpen, V = o.options, G = o.screenReaderStatus, x = o.tabSelectsValue, B = o.isLoading, y = o["aria-label"], E = o["aria-live"], A = ie(function() {
1026
+ return f(f({}, Ei), d || {});
1027
+ }, [d]), X = ie(function() {
1028
+ var Z = "";
1029
+ if (i && A.onChange) {
1030
+ var S = i.option, Y = i.options, J = i.removedValue, K = i.removedValues, $ = i.value, re = function(k) {
1031
+ return Array.isArray(k) ? null : k;
1032
+ }, W = J || S || re($), T = W ? b(W) : "", z = Y || K || void 0, _ = z ? z.map(b) : [], O = f({
1033
+ // multiSelected items are usually items that have already been selected
1034
+ // or set by the user as a default value so we assume they are not disabled
1035
+ isDisabled: W && m(W, s),
1036
+ label: T,
1037
+ labels: _
1038
+ }, i);
1039
+ Z = A.onChange(O);
1040
+ }
1041
+ return Z;
1042
+ }, [i, A, m, s, b]), P = ie(function() {
1043
+ var Z = "", S = u || t, Y = !!(u && s && s.includes(u));
1044
+ if (S && A.onFocus) {
1045
+ var J = {
1046
+ focused: S,
1047
+ label: b(S),
1048
+ isDisabled: m(S, s),
1049
+ isSelected: Y,
1050
+ options: a,
1051
+ context: S === u ? "menu" : "value",
1052
+ selectValue: s,
1053
+ isAppleDevice: c
1054
+ };
1055
+ Z = A.onFocus(J);
1056
+ }
1057
+ return Z;
1058
+ }, [u, t, b, m, A, a, s, c]), D = ie(function() {
1059
+ var Z = "";
1060
+ if (p && V.length && !B && A.onFilter) {
1061
+ var S = G({
1062
+ count: a.length
1063
+ });
1064
+ Z = A.onFilter({
1065
+ inputValue: I,
1066
+ resultsMessage: S
1067
+ });
1068
+ }
1069
+ return Z;
1070
+ }, [a, I, p, A, V, G, B]), H = (i == null ? void 0 : i.action) === "initial-input-focus", w = ie(function() {
1071
+ var Z = "";
1072
+ if (A.guidance) {
1073
+ var S = t ? "value" : p ? "menu" : "input";
1074
+ Z = A.guidance({
1075
+ "aria-label": y,
1076
+ context: S,
1077
+ isDisabled: u && m(u, s),
1078
+ isMulti: v,
1079
+ isSearchable: g,
1080
+ tabSelectsValue: x,
1081
+ isInitialFocus: H
1082
+ });
1083
+ }
1084
+ return Z;
1085
+ }, [y, u, t, v, m, g, p, A, s, x, H]), L = C(xe, null, C("span", {
1086
+ id: "aria-selection"
1087
+ }, X), C("span", {
1088
+ id: "aria-focused"
1089
+ }, P), C("span", {
1090
+ id: "aria-results"
1091
+ }, D), C("span", {
1092
+ id: "aria-guidance"
1093
+ }, w));
1094
+ return C(xe, null, C(De, {
1095
+ id: l
1096
+ }, H && L), C(De, {
1097
+ "aria-live": E,
1098
+ "aria-atomic": "false",
1099
+ "aria-relevant": "additions text",
1100
+ role: "log"
1101
+ }, r && !H && L));
1102
+ }, Xi = Fi, Be = [{
1103
+ base: "A",
1104
+ letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
1105
+ }, {
1106
+ base: "AA",
1107
+ letters: "Ꜳ"
1108
+ }, {
1109
+ base: "AE",
1110
+ letters: "ÆǼǢ"
1111
+ }, {
1112
+ base: "AO",
1113
+ letters: "Ꜵ"
1114
+ }, {
1115
+ base: "AU",
1116
+ letters: "Ꜷ"
1117
+ }, {
1118
+ base: "AV",
1119
+ letters: "ꜸꜺ"
1120
+ }, {
1121
+ base: "AY",
1122
+ letters: "Ꜽ"
1123
+ }, {
1124
+ base: "B",
1125
+ letters: "BⒷBḂḄḆɃƂƁ"
1126
+ }, {
1127
+ base: "C",
1128
+ letters: "CⒸCĆĈĊČÇḈƇȻꜾ"
1129
+ }, {
1130
+ base: "D",
1131
+ letters: "DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"
1132
+ }, {
1133
+ base: "DZ",
1134
+ letters: "DZDŽ"
1135
+ }, {
1136
+ base: "Dz",
1137
+ letters: "DzDž"
1138
+ }, {
1139
+ base: "E",
1140
+ letters: "EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"
1141
+ }, {
1142
+ base: "F",
1143
+ letters: "FⒻFḞƑꝻ"
1144
+ }, {
1145
+ base: "G",
1146
+ letters: "GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"
1147
+ }, {
1148
+ base: "H",
1149
+ letters: "HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"
1150
+ }, {
1151
+ base: "I",
1152
+ letters: "IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"
1153
+ }, {
1154
+ base: "J",
1155
+ letters: "JⒿJĴɈ"
1156
+ }, {
1157
+ base: "K",
1158
+ letters: "KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"
1159
+ }, {
1160
+ base: "L",
1161
+ letters: "LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"
1162
+ }, {
1163
+ base: "LJ",
1164
+ letters: "LJ"
1165
+ }, {
1166
+ base: "Lj",
1167
+ letters: "Lj"
1168
+ }, {
1169
+ base: "M",
1170
+ letters: "MⓂMḾṀṂⱮƜ"
1171
+ }, {
1172
+ base: "N",
1173
+ letters: "NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"
1174
+ }, {
1175
+ base: "NJ",
1176
+ letters: "NJ"
1177
+ }, {
1178
+ base: "Nj",
1179
+ letters: "Nj"
1180
+ }, {
1181
+ base: "O",
1182
+ letters: "OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"
1183
+ }, {
1184
+ base: "OI",
1185
+ letters: "Ƣ"
1186
+ }, {
1187
+ base: "OO",
1188
+ letters: "Ꝏ"
1189
+ }, {
1190
+ base: "OU",
1191
+ letters: "Ȣ"
1192
+ }, {
1193
+ base: "P",
1194
+ letters: "PⓅPṔṖƤⱣꝐꝒꝔ"
1195
+ }, {
1196
+ base: "Q",
1197
+ letters: "QⓆQꝖꝘɊ"
1198
+ }, {
1199
+ base: "R",
1200
+ letters: "RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"
1201
+ }, {
1202
+ base: "S",
1203
+ letters: "SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"
1204
+ }, {
1205
+ base: "T",
1206
+ letters: "TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"
1207
+ }, {
1208
+ base: "TZ",
1209
+ letters: "Ꜩ"
1210
+ }, {
1211
+ base: "U",
1212
+ letters: "UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"
1213
+ }, {
1214
+ base: "V",
1215
+ letters: "VⓋVṼṾƲꝞɅ"
1216
+ }, {
1217
+ base: "VY",
1218
+ letters: "Ꝡ"
1219
+ }, {
1220
+ base: "W",
1221
+ letters: "WⓌWẀẂŴẆẄẈⱲ"
1222
+ }, {
1223
+ base: "X",
1224
+ letters: "XⓍXẊẌ"
1225
+ }, {
1226
+ base: "Y",
1227
+ letters: "YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"
1228
+ }, {
1229
+ base: "Z",
1230
+ letters: "ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"
1231
+ }, {
1232
+ base: "a",
1233
+ letters: "aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"
1234
+ }, {
1235
+ base: "aa",
1236
+ letters: "ꜳ"
1237
+ }, {
1238
+ base: "ae",
1239
+ letters: "æǽǣ"
1240
+ }, {
1241
+ base: "ao",
1242
+ letters: "ꜵ"
1243
+ }, {
1244
+ base: "au",
1245
+ letters: "ꜷ"
1246
+ }, {
1247
+ base: "av",
1248
+ letters: "ꜹꜻ"
1249
+ }, {
1250
+ base: "ay",
1251
+ letters: "ꜽ"
1252
+ }, {
1253
+ base: "b",
1254
+ letters: "bⓑbḃḅḇƀƃɓ"
1255
+ }, {
1256
+ base: "c",
1257
+ letters: "cⓒcćĉċčçḉƈȼꜿↄ"
1258
+ }, {
1259
+ base: "d",
1260
+ letters: "dⓓdḋďḍḑḓḏđƌɖɗꝺ"
1261
+ }, {
1262
+ base: "dz",
1263
+ letters: "dzdž"
1264
+ }, {
1265
+ base: "e",
1266
+ letters: "eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"
1267
+ }, {
1268
+ base: "f",
1269
+ letters: "fⓕfḟƒꝼ"
1270
+ }, {
1271
+ base: "g",
1272
+ letters: "gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"
1273
+ }, {
1274
+ base: "h",
1275
+ letters: "hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"
1276
+ }, {
1277
+ base: "hv",
1278
+ letters: "ƕ"
1279
+ }, {
1280
+ base: "i",
1281
+ letters: "iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"
1282
+ }, {
1283
+ base: "j",
1284
+ letters: "jⓙjĵǰɉ"
1285
+ }, {
1286
+ base: "k",
1287
+ letters: "kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"
1288
+ }, {
1289
+ base: "l",
1290
+ letters: "lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"
1291
+ }, {
1292
+ base: "lj",
1293
+ letters: "lj"
1294
+ }, {
1295
+ base: "m",
1296
+ letters: "mⓜmḿṁṃɱɯ"
1297
+ }, {
1298
+ base: "n",
1299
+ letters: "nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"
1300
+ }, {
1301
+ base: "nj",
1302
+ letters: "nj"
1303
+ }, {
1304
+ base: "o",
1305
+ letters: "oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"
1306
+ }, {
1307
+ base: "oi",
1308
+ letters: "ƣ"
1309
+ }, {
1310
+ base: "ou",
1311
+ letters: "ȣ"
1312
+ }, {
1313
+ base: "oo",
1314
+ letters: "ꝏ"
1315
+ }, {
1316
+ base: "p",
1317
+ letters: "pⓟpṕṗƥᵽꝑꝓꝕ"
1318
+ }, {
1319
+ base: "q",
1320
+ letters: "qⓠqɋꝗꝙ"
1321
+ }, {
1322
+ base: "r",
1323
+ letters: "rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"
1324
+ }, {
1325
+ base: "s",
1326
+ letters: "sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"
1327
+ }, {
1328
+ base: "t",
1329
+ letters: "tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"
1330
+ }, {
1331
+ base: "tz",
1332
+ letters: "ꜩ"
1333
+ }, {
1334
+ base: "u",
1335
+ letters: "uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"
1336
+ }, {
1337
+ base: "v",
1338
+ letters: "vⓥvṽṿʋꝟʌ"
1339
+ }, {
1340
+ base: "vy",
1341
+ letters: "ꝡ"
1342
+ }, {
1343
+ base: "w",
1344
+ letters: "wⓦwẁẃŵẇẅẘẉⱳ"
1345
+ }, {
1346
+ base: "x",
1347
+ letters: "xⓧxẋẍ"
1348
+ }, {
1349
+ base: "y",
1350
+ letters: "yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"
1351
+ }, {
1352
+ base: "z",
1353
+ letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ"
1354
+ }], Ri = new RegExp("[" + Be.map(function(n) {
1355
+ return n.letters;
1356
+ }).join("") + "]", "g"), ct = {};
1357
+ for (var Ce = 0; Ce < Be.length; Ce++)
1358
+ for (var fe = Be[Ce], he = 0; he < fe.letters.length; he++)
1359
+ ct[fe.letters[he]] = fe.base;
1360
+ var dt = function(e) {
1361
+ return e.replace(Ri, function(i) {
1362
+ return ct[i];
1363
+ });
1364
+ }, Si = xi(dt), Te = function(e) {
1365
+ return e.replace(/^\s+|\s+$/g, "");
1366
+ }, Wi = function(e) {
1367
+ return "".concat(e.label, " ").concat(e.value);
1368
+ }, Zi = function(e) {
1369
+ return function(i, u) {
1370
+ if (i.data.__isNew__) return !0;
1371
+ var t = f({
1372
+ ignoreCase: !0,
1373
+ ignoreAccents: !0,
1374
+ stringify: Wi,
1375
+ trim: !0,
1376
+ matchFrom: "any"
1377
+ }, e), a = t.ignoreCase, r = t.ignoreAccents, s = t.stringify, o = t.trim, l = t.matchFrom, c = o ? Te(u) : u, d = o ? Te(s(i)) : s(i);
1378
+ return a && (c = c.toLowerCase(), d = d.toLowerCase()), r && (c = Si(c), d = dt(d)), l === "start" ? d.substr(0, c.length) === c : d.indexOf(c) > -1;
1379
+ };
1380
+ }, Pi = ["innerRef"];
1381
+ function Hi(n) {
1382
+ var e = n.innerRef, i = Q(n, Pi), u = on(i, "onExited", "in", "enter", "exit", "appear");
1383
+ return C("input", h({
1384
+ ref: e
1385
+ }, u, {
1386
+ css: /* @__PURE__ */ _e({
1387
+ label: "dummyInput",
1388
+ // get rid of any default styles
1389
+ background: 0,
1390
+ border: 0,
1391
+ // important! this hides the flashing cursor
1392
+ caretColor: "transparent",
1393
+ fontSize: "inherit",
1394
+ gridArea: "1 / 1 / 2 / 3",
1395
+ outline: 0,
1396
+ padding: 0,
1397
+ // important! without `width` browsers won't allow focus
1398
+ width: 1,
1399
+ // remove cursor on desktop
1400
+ color: "transparent",
1401
+ // remove cursor on mobile whilst maintaining "scroll into view" behaviour
1402
+ left: -100,
1403
+ opacity: 0,
1404
+ position: "relative",
1405
+ transform: "scale(.01)"
1406
+ }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50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AyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")
1407
+ }));
1408
+ }
1409
+ var Ni = function(e) {
1410
+ e.cancelable && e.preventDefault(), e.stopPropagation();
1411
+ };
1412
+ function Mi(n) {
1413
+ var e = n.isEnabled, i = n.onBottomArrive, u = n.onBottomLeave, t = n.onTopArrive, a = n.onTopLeave, r = j(!1), s = j(!1), o = j(0), l = j(null), c = M(function(g, p) {
1414
+ if (l.current !== null) {
1415
+ var V = l.current, G = V.scrollTop, x = V.scrollHeight, B = V.clientHeight, y = l.current, E = p > 0, A = x - B - G, X = !1;
1416
+ A > p && r.current && (u && u(g), r.current = !1), E && s.current && (a && a(g), s.current = !1), E && p > A ? (i && !r.current && i(g), y.scrollTop = x, X = !0, r.current = !0) : !E && -p > G && (t && !s.current && t(g), y.scrollTop = 0, X = !0, s.current = !0), X && Ni(g);
1417
+ }
1418
+ }, [i, u, t, a]), d = M(function(g) {
1419
+ c(g, g.deltaY);
1420
+ }, [c]), b = M(function(g) {
1421
+ o.current = g.changedTouches[0].clientY;
1422
+ }, []), I = M(function(g) {
1423
+ var p = o.current - g.changedTouches[0].clientY;
1424
+ c(g, p);
1425
+ }, [c]), v = M(function(g) {
1426
+ if (g) {
1427
+ var p = tn ? {
1428
+ passive: !1
1429
+ } : !1;
1430
+ g.addEventListener("wheel", d, p), g.addEventListener("touchstart", b, p), g.addEventListener("touchmove", I, p);
1431
+ }
1432
+ }, [I, b, d]), m = M(function(g) {
1433
+ g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", b, !1), g.removeEventListener("touchmove", I, !1));
1434
+ }, [I, b, d]);
1435
+ return Ke(function() {
1436
+ if (e) {
1437
+ var g = l.current;
1438
+ return v(g), function() {
1439
+ m(g);
1440
+ };
1441
+ }
1442
+ }, [e, v, m]), function(g) {
1443
+ l.current = g;
1444
+ };
1445
+ }
1446
+ var Je = ["boxSizing", "height", "overflow", "paddingRight", "position"], Oe = {
1447
+ boxSizing: "border-box",
1448
+ // account for possible declaration `width: 100%;` on body
1449
+ overflow: "hidden",
1450
+ position: "relative",
1451
+ height: "100%"
1452
+ };
1453
+ function Ye(n) {
1454
+ n.cancelable && n.preventDefault();
1455
+ }
1456
+ function we(n) {
1457
+ n.stopPropagation();
1458
+ }
1459
+ function Le() {
1460
+ var n = this.scrollTop, e = this.scrollHeight, i = n + this.offsetHeight;
1461
+ n === 0 ? this.scrollTop = 1 : i === e && (this.scrollTop = n - 1);
1462
+ }
1463
+ function ze() {
1464
+ return "ontouchstart" in window || navigator.maxTouchPoints;
1465
+ }
1466
+ var ke = !!(typeof window < "u" && window.document && window.document.createElement), oe = 0, ne = {
1467
+ capture: !1,
1468
+ passive: !1
1469
+ };
1470
+ function Di(n) {
1471
+ var e = n.isEnabled, i = n.accountForScrollbars, u = i === void 0 ? !0 : i, t = j({}), a = j(null), r = M(function(o) {
1472
+ if (ke) {
1473
+ var l = document.body, c = l && l.style;
1474
+ if (u && Je.forEach(function(v) {
1475
+ var m = c && c[v];
1476
+ t.current[v] = m;
1477
+ }), u && oe < 1) {
1478
+ var d = parseInt(t.current.paddingRight, 10) || 0, b = document.body ? document.body.clientWidth : 0, I = window.innerWidth - b + d || 0;
1479
+ Object.keys(Oe).forEach(function(v) {
1480
+ var m = Oe[v];
1481
+ c && (c[v] = m);
1482
+ }), c && (c.paddingRight = "".concat(I, "px"));
1483
+ }
1484
+ l && ze() && (l.addEventListener("touchmove", Ye, ne), o && (o.addEventListener("touchstart", Le, ne), o.addEventListener("touchmove", we, ne))), oe += 1;
1485
+ }
1486
+ }, [u]), s = M(function(o) {
1487
+ if (ke) {
1488
+ var l = document.body, c = l && l.style;
1489
+ oe = Math.max(oe - 1, 0), u && oe < 1 && Je.forEach(function(d) {
1490
+ var b = t.current[d];
1491
+ c && (c[d] = b);
1492
+ }), l && ze() && (l.removeEventListener("touchmove", Ye, ne), o && (o.removeEventListener("touchstart", Le, ne), o.removeEventListener("touchmove", we, ne)));
1493
+ }
1494
+ }, [u]);
1495
+ return Ke(function() {
1496
+ if (e) {
1497
+ var o = a.current;
1498
+ return r(o), function() {
1499
+ s(o);
1500
+ };
1501
+ }
1502
+ }, [e, r, s]), function(o) {
1503
+ a.current = o;
1504
+ };
1505
+ }
1506
+ function Ti() {
1507
+ 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).";
1508
+ }
1509
+ var Ji = function(e) {
1510
+ var i = e.target;
1511
+ return i.ownerDocument.activeElement && i.ownerDocument.activeElement.blur();
1512
+ }, Oi = process.env.NODE_ENV === "production" ? {
1513
+ name: "1kfdb0e",
1514
+ styles: "position:fixed;left:0;bottom:0;right:0;top:0"
1515
+ } : {
1516
+ name: "bp8cua-ScrollManager",
1517
+ styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
1518
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm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Age2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",
1519
+ toString: Ti
1520
+ };
1521
+ function Yi(n) {
1522
+ var e = n.children, i = n.lockEnabled, u = n.captureEnabled, t = u === void 0 ? !0 : u, a = n.onBottomArrive, r = n.onBottomLeave, s = n.onTopArrive, o = n.onTopLeave, l = Mi({
1523
+ isEnabled: t,
1524
+ onBottomArrive: a,
1525
+ onBottomLeave: r,
1526
+ onTopArrive: s,
1527
+ onTopLeave: o
1528
+ }), c = Di({
1529
+ isEnabled: i
1530
+ }), d = function(I) {
1531
+ l(I), c(I);
1532
+ };
1533
+ return C(xe, null, i && C("div", {
1534
+ onClick: Ji,
1535
+ css: Oi
1536
+ }), e(d));
1537
+ }
1538
+ function wi() {
1539
+ 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).";
1540
+ }
1541
+ var Li = process.env.NODE_ENV === "production" ? {
1542
+ name: "1a0ro4n-requiredInput",
1543
+ styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"
1544
+ } : {
1545
+ name: "5kkxb2-requiredInput-RequiredInput",
1546
+ styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",
1547
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5w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wdXQ7XG4iXX0= */",
1548
+ toString: wi
1549
+ }, zi = function(e) {
1550
+ var i = e.name, u = e.onFocus;
1551
+ return C("input", {
1552
+ required: !0,
1553
+ name: i,
1554
+ tabIndex: -1,
1555
+ "aria-hidden": "true",
1556
+ onFocus: u,
1557
+ css: Li,
1558
+ value: "",
1559
+ onChange: function() {
1560
+ }
1561
+ });
1562
+ }, ki = zi;
1563
+ function Fe(n) {
1564
+ var e;
1565
+ return typeof window < "u" && window.navigator != null ? n.test(((e = window.navigator.userAgentData) === null || e === void 0 ? void 0 : e.platform) || window.navigator.platform) : !1;
1566
+ }
1567
+ function ji() {
1568
+ return Fe(/^iPhone/i);
1569
+ }
1570
+ function gt() {
1571
+ return Fe(/^Mac/i);
1572
+ }
1573
+ function Ui() {
1574
+ return Fe(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
1575
+ gt() && navigator.maxTouchPoints > 1;
1576
+ }
1577
+ function Qi() {
1578
+ return ji() || Ui();
1579
+ }
1580
+ function Ki() {
1581
+ return gt() || Qi();
1582
+ }
1583
+ var $i = function(e) {
1584
+ return e.label;
1585
+ }, _i = function(e) {
1586
+ return e.label;
1587
+ }, qi = function(e) {
1588
+ return e.value;
1589
+ }, eu = function(e) {
1590
+ return !!e.isDisabled;
1591
+ }, tu = {
1592
+ clearIndicator: Pn,
1593
+ container: Gn,
1594
+ control: On,
1595
+ dropdownIndicator: Wn,
1596
+ group: zn,
1597
+ groupHeading: jn,
1598
+ indicatorsContainer: yn,
1599
+ indicatorSeparator: Nn,
1600
+ input: $n,
1601
+ loadingIndicator: Tn,
1602
+ loadingMessage: vn,
1603
+ menu: cn,
1604
+ menuList: In,
1605
+ menuPortal: hn,
1606
+ multiValue: ni,
1607
+ multiValueLabel: ii,
1608
+ multiValueRemove: ui,
1609
+ noOptionsMessage: mn,
1610
+ option: ci,
1611
+ placeholder: bi,
1612
+ singleValue: mi,
1613
+ valueContainer: Vn
1614
+ }, nu = {
1615
+ primary: "#2684FF",
1616
+ primary75: "#4C9AFF",
1617
+ primary50: "#B2D4FF",
1618
+ primary25: "#DEEBFF",
1619
+ danger: "#DE350B",
1620
+ dangerLight: "#FFBDAD",
1621
+ neutral0: "hsl(0, 0%, 100%)",
1622
+ neutral5: "hsl(0, 0%, 95%)",
1623
+ neutral10: "hsl(0, 0%, 90%)",
1624
+ neutral20: "hsl(0, 0%, 80%)",
1625
+ neutral30: "hsl(0, 0%, 70%)",
1626
+ neutral40: "hsl(0, 0%, 60%)",
1627
+ neutral50: "hsl(0, 0%, 50%)",
1628
+ neutral60: "hsl(0, 0%, 40%)",
1629
+ neutral70: "hsl(0, 0%, 30%)",
1630
+ neutral80: "hsl(0, 0%, 20%)",
1631
+ neutral90: "hsl(0, 0%, 10%)"
1632
+ }, iu = 4, bt = 4, uu = 38, ou = bt * 2, au = {
1633
+ baseUnit: bt,
1634
+ controlHeight: uu,
1635
+ menuGutter: ou
1636
+ }, Ae = {
1637
+ borderRadius: iu,
1638
+ colors: nu,
1639
+ spacing: au
1640
+ }, ru = {
1641
+ "aria-live": "polite",
1642
+ backspaceRemovesValue: !0,
1643
+ blurInputOnSelect: He(),
1644
+ captureMenuScroll: !He(),
1645
+ classNames: {},
1646
+ closeMenuOnSelect: !0,
1647
+ closeMenuOnScroll: !1,
1648
+ components: {},
1649
+ controlShouldRenderValue: !0,
1650
+ escapeClearsValue: !1,
1651
+ filterOption: Zi(),
1652
+ formatGroupLabel: $i,
1653
+ getOptionLabel: _i,
1654
+ getOptionValue: qi,
1655
+ isDisabled: !1,
1656
+ isLoading: !1,
1657
+ isMulti: !1,
1658
+ isRtl: !1,
1659
+ isSearchable: !0,
1660
+ isOptionDisabled: eu,
1661
+ loadingMessage: function() {
1662
+ return "Loading...";
1663
+ },
1664
+ maxMenuHeight: 300,
1665
+ minMenuHeight: 140,
1666
+ menuIsOpen: !1,
1667
+ menuPlacement: "bottom",
1668
+ menuPosition: "absolute",
1669
+ menuShouldBlockScroll: !1,
1670
+ menuShouldScrollIntoView: !qt(),
1671
+ noOptionsMessage: function() {
1672
+ return "No options";
1673
+ },
1674
+ openMenuOnFocus: !1,
1675
+ openMenuOnClick: !0,
1676
+ options: [],
1677
+ pageSize: 5,
1678
+ placeholder: "Select...",
1679
+ screenReaderStatus: function(e) {
1680
+ var i = e.count;
1681
+ return "".concat(i, " result").concat(i !== 1 ? "s" : "", " available");
1682
+ },
1683
+ styles: {},
1684
+ tabIndex: 0,
1685
+ tabSelectsValue: !0,
1686
+ unstyled: !1
1687
+ };
1688
+ function je(n, e, i, u) {
1689
+ var t = mt(n, e, i), a = vt(n, e, i), r = pt(n, e), s = pe(n, e);
1690
+ return {
1691
+ type: "option",
1692
+ data: e,
1693
+ isDisabled: t,
1694
+ isSelected: a,
1695
+ label: r,
1696
+ value: s,
1697
+ index: u
1698
+ };
1699
+ }
1700
+ function ge(n, e) {
1701
+ return n.options.map(function(i, u) {
1702
+ if ("options" in i) {
1703
+ var t = i.options.map(function(r, s) {
1704
+ return je(n, r, e, s);
1705
+ }).filter(function(r) {
1706
+ return Qe(n, r);
1707
+ });
1708
+ return t.length > 0 ? {
1709
+ type: "group",
1710
+ data: i,
1711
+ options: t,
1712
+ index: u
1713
+ } : void 0;
1714
+ }
1715
+ var a = je(n, i, e, u);
1716
+ return Qe(n, a) ? a : void 0;
1717
+ }).filter(nn);
1718
+ }
1719
+ function It(n) {
1720
+ return n.reduce(function(e, i) {
1721
+ return i.type === "group" ? e.push.apply(e, ye(i.options.map(function(u) {
1722
+ return u.data;
1723
+ }))) : e.push(i.data), e;
1724
+ }, []);
1725
+ }
1726
+ function Ue(n, e) {
1727
+ return n.reduce(function(i, u) {
1728
+ return u.type === "group" ? i.push.apply(i, ye(u.options.map(function(t) {
1729
+ return {
1730
+ data: t.data,
1731
+ id: "".concat(e, "-").concat(u.index, "-").concat(t.index)
1732
+ };
1733
+ }))) : i.push({
1734
+ data: u.data,
1735
+ id: "".concat(e, "-").concat(u.index)
1736
+ }), i;
1737
+ }, []);
1738
+ }
1739
+ function lu(n, e) {
1740
+ return It(ge(n, e));
1741
+ }
1742
+ function Qe(n, e) {
1743
+ var i = n.inputValue, u = i === void 0 ? "" : i, t = e.data, a = e.isSelected, r = e.label, s = e.value;
1744
+ return (!ft(n) || !a) && Ct(n, {
1745
+ label: r,
1746
+ value: s,
1747
+ data: t
1748
+ }, u);
1749
+ }
1750
+ function su(n, e) {
1751
+ var i = n.focusedValue, u = n.selectValue, t = u.indexOf(i);
1752
+ if (t > -1) {
1753
+ var a = e.indexOf(i);
1754
+ if (a > -1)
1755
+ return i;
1756
+ if (t < e.length)
1757
+ return e[t];
1758
+ }
1759
+ return null;
1760
+ }
1761
+ function cu(n, e) {
1762
+ var i = n.focusedOption;
1763
+ return i && e.indexOf(i) > -1 ? i : e[0];
1764
+ }
1765
+ var Ge = function(e, i) {
1766
+ var u, t = (u = e.find(function(a) {
1767
+ return a.data === i;
1768
+ })) === null || u === void 0 ? void 0 : u.id;
1769
+ return t || null;
1770
+ }, pt = function(e, i) {
1771
+ return e.getOptionLabel(i);
1772
+ }, pe = function(e, i) {
1773
+ return e.getOptionValue(i);
1774
+ };
1775
+ function mt(n, e, i) {
1776
+ return typeof n.isOptionDisabled == "function" ? n.isOptionDisabled(e, i) : !1;
1777
+ }
1778
+ function vt(n, e, i) {
1779
+ if (i.indexOf(e) > -1) return !0;
1780
+ if (typeof n.isOptionSelected == "function")
1781
+ return n.isOptionSelected(e, i);
1782
+ var u = pe(n, e);
1783
+ return i.some(function(t) {
1784
+ return pe(n, t) === u;
1785
+ });
1786
+ }
1787
+ function Ct(n, e, i) {
1788
+ return n.filterOption ? n.filterOption(e, i) : !0;
1789
+ }
1790
+ var ft = function(e) {
1791
+ var i = e.hideSelectedOptions, u = e.isMulti;
1792
+ return i === void 0 ? u : i;
1793
+ }, du = 1, gu = /* @__PURE__ */ function(n) {
1794
+ Ft(i, n);
1795
+ var e = Xt(i);
1796
+ function i(u) {
1797
+ var t;
1798
+ if (St(this, i), t = e.call(this, u), t.state = {
1799
+ ariaSelection: null,
1800
+ focusedOption: null,
1801
+ focusedOptionId: null,
1802
+ focusableOptionsWithIds: [],
1803
+ focusedValue: null,
1804
+ inputIsHidden: !1,
1805
+ isFocused: !1,
1806
+ selectValue: [],
1807
+ clearFocusValueOnUpdate: !1,
1808
+ prevWasFocused: !1,
1809
+ inputIsHiddenAfterUpdate: void 0,
1810
+ prevProps: void 0,
1811
+ instancePrefix: ""
1812
+ }, t.blockOptionHover = !1, t.isComposing = !1, t.commonProps = void 0, t.initialTouchX = 0, t.initialTouchY = 0, t.openAfterFocus = !1, t.scrollToFocusedOptionOnUpdate = !1, t.userIsDragging = void 0, t.isAppleDevice = Ki(), t.controlRef = null, t.getControlRef = function(o) {
1813
+ t.controlRef = o;
1814
+ }, t.focusedOptionRef = null, t.getFocusedOptionRef = function(o) {
1815
+ t.focusedOptionRef = o;
1816
+ }, t.menuListRef = null, t.getMenuListRef = function(o) {
1817
+ t.menuListRef = o;
1818
+ }, t.inputRef = null, t.getInputRef = function(o) {
1819
+ t.inputRef = o;
1820
+ }, t.focus = t.focusInput, t.blur = t.blurInput, t.onChange = function(o, l) {
1821
+ var c = t.props, d = c.onChange, b = c.name;
1822
+ l.name = b, t.ariaOnChange(o, l), d(o, l);
1823
+ }, t.setValue = function(o, l, c) {
1824
+ var d = t.props, b = d.closeMenuOnSelect, I = d.isMulti, v = d.inputValue;
1825
+ t.onInputChange("", {
1826
+ action: "set-value",
1827
+ prevInputValue: v
1828
+ }), b && (t.setState({
1829
+ inputIsHiddenAfterUpdate: !I
1830
+ }), t.onMenuClose()), t.setState({
1831
+ clearFocusValueOnUpdate: !0
1832
+ }), t.onChange(o, {
1833
+ action: l,
1834
+ option: c
1835
+ });
1836
+ }, t.selectOption = function(o) {
1837
+ var l = t.props, c = l.blurInputOnSelect, d = l.isMulti, b = l.name, I = t.state.selectValue, v = d && t.isOptionSelected(o, I), m = t.isOptionDisabled(o, I);
1838
+ if (v) {
1839
+ var g = t.getOptionValue(o);
1840
+ t.setValue(I.filter(function(p) {
1841
+ return t.getOptionValue(p) !== g;
1842
+ }), "deselect-option", o);
1843
+ } else if (!m)
1844
+ d ? t.setValue([].concat(ye(I), [o]), "select-option", o) : t.setValue(o, "select-option");
1845
+ else {
1846
+ t.ariaOnChange(o, {
1847
+ action: "select-option",
1848
+ option: o,
1849
+ name: b
1850
+ });
1851
+ return;
1852
+ }
1853
+ c && t.blurInput();
1854
+ }, t.removeValue = function(o) {
1855
+ var l = t.props.isMulti, c = t.state.selectValue, d = t.getOptionValue(o), b = c.filter(function(v) {
1856
+ return t.getOptionValue(v) !== d;
1857
+ }), I = de(l, b, b[0] || null);
1858
+ t.onChange(I, {
1859
+ action: "remove-value",
1860
+ removedValue: o
1861
+ }), t.focusInput();
1862
+ }, t.clearValue = function() {
1863
+ var o = t.state.selectValue;
1864
+ t.onChange(de(t.props.isMulti, [], null), {
1865
+ action: "clear",
1866
+ removedValues: o
1867
+ });
1868
+ }, t.popValue = function() {
1869
+ var o = t.props.isMulti, l = t.state.selectValue, c = l[l.length - 1], d = l.slice(0, l.length - 1), b = de(o, d, d[0] || null);
1870
+ c && t.onChange(b, {
1871
+ action: "pop-value",
1872
+ removedValue: c
1873
+ });
1874
+ }, t.getFocusedOptionId = function(o) {
1875
+ return Ge(t.state.focusableOptionsWithIds, o);
1876
+ }, t.getFocusableOptionsWithIds = function() {
1877
+ return Ue(ge(t.props, t.state.selectValue), t.getElementId("option"));
1878
+ }, t.getValue = function() {
1879
+ return t.state.selectValue;
1880
+ }, t.cx = function() {
1881
+ for (var o = arguments.length, l = new Array(o), c = 0; c < o; c++)
1882
+ l[c] = arguments[c];
1883
+ return Ut.apply(void 0, [t.props.classNamePrefix].concat(l));
1884
+ }, t.getOptionLabel = function(o) {
1885
+ return pt(t.props, o);
1886
+ }, t.getOptionValue = function(o) {
1887
+ return pe(t.props, o);
1888
+ }, t.getStyles = function(o, l) {
1889
+ var c = t.props.unstyled, d = tu[o](l, c);
1890
+ d.boxSizing = "border-box";
1891
+ var b = t.props.styles[o];
1892
+ return b ? b(d, l) : d;
1893
+ }, t.getClassNames = function(o, l) {
1894
+ var c, d;
1895
+ return (c = (d = t.props.classNames)[o]) === null || c === void 0 ? void 0 : c.call(d, l);
1896
+ }, t.getElementId = function(o) {
1897
+ return "".concat(t.state.instancePrefix, "-").concat(o);
1898
+ }, t.getComponents = function() {
1899
+ return hi(t.props);
1900
+ }, t.buildCategorizedOptions = function() {
1901
+ return ge(t.props, t.state.selectValue);
1902
+ }, t.getCategorizedOptions = function() {
1903
+ return t.props.menuIsOpen ? t.buildCategorizedOptions() : [];
1904
+ }, t.buildFocusableOptions = function() {
1905
+ return It(t.buildCategorizedOptions());
1906
+ }, t.getFocusableOptions = function() {
1907
+ return t.props.menuIsOpen ? t.buildFocusableOptions() : [];
1908
+ }, t.ariaOnChange = function(o, l) {
1909
+ t.setState({
1910
+ ariaSelection: f({
1911
+ value: o
1912
+ }, l)
1913
+ });
1914
+ }, t.onMenuMouseDown = function(o) {
1915
+ o.button === 0 && (o.stopPropagation(), o.preventDefault(), t.focusInput());
1916
+ }, t.onMenuMouseMove = function(o) {
1917
+ t.blockOptionHover = !1;
1918
+ }, t.onControlMouseDown = function(o) {
1919
+ if (!o.defaultPrevented) {
1920
+ var l = t.props.openMenuOnClick;
1921
+ t.state.isFocused ? t.props.menuIsOpen ? o.target.tagName !== "INPUT" && o.target.tagName !== "TEXTAREA" && t.onMenuClose() : l && t.openMenu("first") : (l && (t.openAfterFocus = !0), t.focusInput()), o.target.tagName !== "INPUT" && o.target.tagName !== "TEXTAREA" && o.preventDefault();
1922
+ }
1923
+ }, t.onDropdownIndicatorMouseDown = function(o) {
1924
+ if (!(o && o.type === "mousedown" && o.button !== 0) && !t.props.isDisabled) {
1925
+ var l = t.props, c = l.isMulti, d = l.menuIsOpen;
1926
+ t.focusInput(), d ? (t.setState({
1927
+ inputIsHiddenAfterUpdate: !c
1928
+ }), t.onMenuClose()) : t.openMenu("first"), o.preventDefault();
1929
+ }
1930
+ }, t.onClearIndicatorMouseDown = function(o) {
1931
+ o && o.type === "mousedown" && o.button !== 0 || (t.clearValue(), o.preventDefault(), t.openAfterFocus = !1, o.type === "touchend" ? t.focusInput() : setTimeout(function() {
1932
+ return t.focusInput();
1933
+ }));
1934
+ }, t.onScroll = function(o) {
1935
+ typeof t.props.closeMenuOnScroll == "boolean" ? o.target instanceof HTMLElement && me(o.target) && t.props.onMenuClose() : typeof t.props.closeMenuOnScroll == "function" && t.props.closeMenuOnScroll(o) && t.props.onMenuClose();
1936
+ }, t.onCompositionStart = function() {
1937
+ t.isComposing = !0;
1938
+ }, t.onCompositionEnd = function() {
1939
+ t.isComposing = !1;
1940
+ }, t.onTouchStart = function(o) {
1941
+ var l = o.touches, c = l && l.item(0);
1942
+ c && (t.initialTouchX = c.clientX, t.initialTouchY = c.clientY, t.userIsDragging = !1);
1943
+ }, t.onTouchMove = function(o) {
1944
+ var l = o.touches, c = l && l.item(0);
1945
+ if (c) {
1946
+ var d = Math.abs(c.clientX - t.initialTouchX), b = Math.abs(c.clientY - t.initialTouchY), I = 5;
1947
+ t.userIsDragging = d > I || b > I;
1948
+ }
1949
+ }, t.onTouchEnd = function(o) {
1950
+ t.userIsDragging || (t.controlRef && !t.controlRef.contains(o.target) && t.menuListRef && !t.menuListRef.contains(o.target) && t.blurInput(), t.initialTouchX = 0, t.initialTouchY = 0);
1951
+ }, t.onControlTouchEnd = function(o) {
1952
+ t.userIsDragging || t.onControlMouseDown(o);
1953
+ }, t.onClearIndicatorTouchEnd = function(o) {
1954
+ t.userIsDragging || t.onClearIndicatorMouseDown(o);
1955
+ }, t.onDropdownIndicatorTouchEnd = function(o) {
1956
+ t.userIsDragging || t.onDropdownIndicatorMouseDown(o);
1957
+ }, t.handleInputChange = function(o) {
1958
+ var l = t.props.inputValue, c = o.currentTarget.value;
1959
+ t.setState({
1960
+ inputIsHiddenAfterUpdate: !1
1961
+ }), t.onInputChange(c, {
1962
+ action: "input-change",
1963
+ prevInputValue: l
1964
+ }), t.props.menuIsOpen || t.onMenuOpen();
1965
+ }, t.onInputFocus = function(o) {
1966
+ t.props.onFocus && t.props.onFocus(o), t.setState({
1967
+ inputIsHiddenAfterUpdate: !1,
1968
+ isFocused: !0
1969
+ }), (t.openAfterFocus || t.props.openMenuOnFocus) && t.openMenu("first"), t.openAfterFocus = !1;
1970
+ }, t.onInputBlur = function(o) {
1971
+ var l = t.props.inputValue;
1972
+ if (t.menuListRef && t.menuListRef.contains(document.activeElement)) {
1973
+ t.inputRef.focus();
1974
+ return;
1975
+ }
1976
+ t.props.onBlur && t.props.onBlur(o), t.onInputChange("", {
1977
+ action: "input-blur",
1978
+ prevInputValue: l
1979
+ }), t.onMenuClose(), t.setState({
1980
+ focusedValue: null,
1981
+ isFocused: !1
1982
+ });
1983
+ }, t.onOptionHover = function(o) {
1984
+ if (!(t.blockOptionHover || t.state.focusedOption === o)) {
1985
+ var l = t.getFocusableOptions(), c = l.indexOf(o);
1986
+ t.setState({
1987
+ focusedOption: o,
1988
+ focusedOptionId: c > -1 ? t.getFocusedOptionId(o) : null
1989
+ });
1990
+ }
1991
+ }, t.shouldHideSelectedOptions = function() {
1992
+ return ft(t.props);
1993
+ }, t.onValueInputFocus = function(o) {
1994
+ o.preventDefault(), o.stopPropagation(), t.focus();
1995
+ }, t.onKeyDown = function(o) {
1996
+ var l = t.props, c = l.isMulti, d = l.backspaceRemovesValue, b = l.escapeClearsValue, I = l.inputValue, v = l.isClearable, m = l.isDisabled, g = l.menuIsOpen, p = l.onKeyDown, V = l.tabSelectsValue, G = l.openMenuOnFocus, x = t.state, B = x.focusedOption, y = x.focusedValue, E = x.selectValue;
1997
+ if (!m && !(typeof p == "function" && (p(o), o.defaultPrevented))) {
1998
+ switch (t.blockOptionHover = !0, o.key) {
1999
+ case "ArrowLeft":
2000
+ if (!c || I) return;
2001
+ t.focusValue("previous");
2002
+ break;
2003
+ case "ArrowRight":
2004
+ if (!c || I) return;
2005
+ t.focusValue("next");
2006
+ break;
2007
+ case "Delete":
2008
+ case "Backspace":
2009
+ if (I) return;
2010
+ if (y)
2011
+ t.removeValue(y);
2012
+ else {
2013
+ if (!d) return;
2014
+ c ? t.popValue() : v && t.clearValue();
2015
+ }
2016
+ break;
2017
+ case "Tab":
2018
+ if (t.isComposing || o.shiftKey || !g || !V || !B || // don't capture the event if the menu opens on focus and the focused
2019
+ // option is already selected; it breaks the flow of navigation
2020
+ G && t.isOptionSelected(B, E))
2021
+ return;
2022
+ t.selectOption(B);
2023
+ break;
2024
+ case "Enter":
2025
+ if (o.keyCode === 229)
2026
+ break;
2027
+ if (g) {
2028
+ if (!B || t.isComposing) return;
2029
+ t.selectOption(B);
2030
+ break;
2031
+ }
2032
+ return;
2033
+ case "Escape":
2034
+ g ? (t.setState({
2035
+ inputIsHiddenAfterUpdate: !1
2036
+ }), t.onInputChange("", {
2037
+ action: "menu-close",
2038
+ prevInputValue: I
2039
+ }), t.onMenuClose()) : v && b && t.clearValue();
2040
+ break;
2041
+ case " ":
2042
+ if (I)
2043
+ return;
2044
+ if (!g) {
2045
+ t.openMenu("first");
2046
+ break;
2047
+ }
2048
+ if (!B) return;
2049
+ t.selectOption(B);
2050
+ break;
2051
+ case "ArrowUp":
2052
+ g ? t.focusOption("up") : t.openMenu("last");
2053
+ break;
2054
+ case "ArrowDown":
2055
+ g ? t.focusOption("down") : t.openMenu("first");
2056
+ break;
2057
+ case "PageUp":
2058
+ if (!g) return;
2059
+ t.focusOption("pageup");
2060
+ break;
2061
+ case "PageDown":
2062
+ if (!g) return;
2063
+ t.focusOption("pagedown");
2064
+ break;
2065
+ case "Home":
2066
+ if (!g) return;
2067
+ t.focusOption("first");
2068
+ break;
2069
+ case "End":
2070
+ if (!g) return;
2071
+ t.focusOption("last");
2072
+ break;
2073
+ default:
2074
+ return;
2075
+ }
2076
+ o.preventDefault();
2077
+ }
2078
+ }, t.state.instancePrefix = "react-select-" + (t.props.instanceId || ++du), t.state.selectValue = Ze(u.value), u.menuIsOpen && t.state.selectValue.length) {
2079
+ var a = t.getFocusableOptionsWithIds(), r = t.buildFocusableOptions(), s = r.indexOf(t.state.selectValue[0]);
2080
+ t.state.focusableOptionsWithIds = a, t.state.focusedOption = r[s], t.state.focusedOptionId = Ge(a, r[s]);
2081
+ }
2082
+ return t;
2083
+ }
2084
+ return Rt(i, [{
2085
+ key: "componentDidMount",
2086
+ value: function() {
2087
+ 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 && Pe(this.menuListRef, this.focusedOptionRef);
2088
+ }
2089
+ }, {
2090
+ key: "componentDidUpdate",
2091
+ value: function(t) {
2092
+ var a = this.props, r = a.isDisabled, s = a.menuIsOpen, o = this.state.isFocused;
2093
+ // ensure focus is restored correctly when the control becomes enabled
2094
+ (o && !r && t.isDisabled || // ensure focus is on the Input when the menu opens
2095
+ o && s && !t.menuIsOpen) && this.focusInput(), o && r && !t.isDisabled ? this.setState({
2096
+ isFocused: !1
2097
+ }, this.onMenuClose) : !o && !r && t.isDisabled && this.inputRef === document.activeElement && this.setState({
2098
+ isFocused: !0
2099
+ }), this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate && (Pe(this.menuListRef, this.focusedOptionRef), this.scrollToFocusedOptionOnUpdate = !1);
2100
+ }
2101
+ }, {
2102
+ key: "componentWillUnmount",
2103
+ value: function() {
2104
+ this.stopListeningComposition(), this.stopListeningToTouch(), document.removeEventListener("scroll", this.onScroll, !0);
2105
+ }
2106
+ // ==============================
2107
+ // Consumer Handlers
2108
+ // ==============================
2109
+ }, {
2110
+ key: "onMenuOpen",
2111
+ value: function() {
2112
+ this.props.onMenuOpen();
2113
+ }
2114
+ }, {
2115
+ key: "onMenuClose",
2116
+ value: function() {
2117
+ this.onInputChange("", {
2118
+ action: "menu-close",
2119
+ prevInputValue: this.props.inputValue
2120
+ }), this.props.onMenuClose();
2121
+ }
2122
+ }, {
2123
+ key: "onInputChange",
2124
+ value: function(t, a) {
2125
+ this.props.onInputChange(t, a);
2126
+ }
2127
+ // ==============================
2128
+ // Methods
2129
+ // ==============================
2130
+ }, {
2131
+ key: "focusInput",
2132
+ value: function() {
2133
+ this.inputRef && this.inputRef.focus();
2134
+ }
2135
+ }, {
2136
+ key: "blurInput",
2137
+ value: function() {
2138
+ this.inputRef && this.inputRef.blur();
2139
+ }
2140
+ // aliased for consumers
2141
+ }, {
2142
+ key: "openMenu",
2143
+ value: function(t) {
2144
+ var a = this, r = this.state, s = r.selectValue, o = r.isFocused, l = this.buildFocusableOptions(), c = t === "first" ? 0 : l.length - 1;
2145
+ if (!this.props.isMulti) {
2146
+ var d = l.indexOf(s[0]);
2147
+ d > -1 && (c = d);
2148
+ }
2149
+ this.scrollToFocusedOptionOnUpdate = !(o && this.menuListRef), this.setState({
2150
+ inputIsHiddenAfterUpdate: !1,
2151
+ focusedValue: null,
2152
+ focusedOption: l[c],
2153
+ focusedOptionId: this.getFocusedOptionId(l[c])
2154
+ }, function() {
2155
+ return a.onMenuOpen();
2156
+ });
2157
+ }
2158
+ }, {
2159
+ key: "focusValue",
2160
+ value: function(t) {
2161
+ var a = this.state, r = a.selectValue, s = a.focusedValue;
2162
+ if (this.props.isMulti) {
2163
+ this.setState({
2164
+ focusedOption: null
2165
+ });
2166
+ var o = r.indexOf(s);
2167
+ s || (o = -1);
2168
+ var l = r.length - 1, c = -1;
2169
+ if (r.length) {
2170
+ switch (t) {
2171
+ case "previous":
2172
+ o === 0 ? c = 0 : o === -1 ? c = l : c = o - 1;
2173
+ break;
2174
+ case "next":
2175
+ o > -1 && o < l && (c = o + 1);
2176
+ break;
2177
+ }
2178
+ this.setState({
2179
+ inputIsHidden: c !== -1,
2180
+ focusedValue: r[c]
2181
+ });
2182
+ }
2183
+ }
2184
+ }
2185
+ }, {
2186
+ key: "focusOption",
2187
+ value: function() {
2188
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "first", a = this.props.pageSize, r = this.state.focusedOption, s = this.getFocusableOptions();
2189
+ if (s.length) {
2190
+ var o = 0, l = s.indexOf(r);
2191
+ r || (l = -1), t === "up" ? o = l > 0 ? l - 1 : s.length - 1 : t === "down" ? o = (l + 1) % s.length : t === "pageup" ? (o = l - a, o < 0 && (o = 0)) : t === "pagedown" ? (o = l + a, o > s.length - 1 && (o = s.length - 1)) : t === "last" && (o = s.length - 1), this.scrollToFocusedOptionOnUpdate = !0, this.setState({
2192
+ focusedOption: s[o],
2193
+ focusedValue: null,
2194
+ focusedOptionId: this.getFocusedOptionId(s[o])
2195
+ });
2196
+ }
2197
+ }
2198
+ }, {
2199
+ key: "getTheme",
2200
+ value: (
2201
+ // ==============================
2202
+ // Getters
2203
+ // ==============================
2204
+ function() {
2205
+ return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(Ae) : f(f({}, Ae), this.props.theme) : Ae;
2206
+ }
2207
+ )
2208
+ }, {
2209
+ key: "getCommonProps",
2210
+ value: function() {
2211
+ var t = this.clearValue, a = this.cx, r = this.getStyles, s = this.getClassNames, o = this.getValue, l = this.selectOption, c = this.setValue, d = this.props, b = d.isMulti, I = d.isRtl, v = d.options, m = this.hasValue();
2212
+ return {
2213
+ clearValue: t,
2214
+ cx: a,
2215
+ getStyles: r,
2216
+ getClassNames: s,
2217
+ getValue: o,
2218
+ hasValue: m,
2219
+ isMulti: b,
2220
+ isRtl: I,
2221
+ options: v,
2222
+ selectOption: l,
2223
+ selectProps: d,
2224
+ setValue: c,
2225
+ theme: this.getTheme()
2226
+ };
2227
+ }
2228
+ }, {
2229
+ key: "hasValue",
2230
+ value: function() {
2231
+ var t = this.state.selectValue;
2232
+ return t.length > 0;
2233
+ }
2234
+ }, {
2235
+ key: "hasOptions",
2236
+ value: function() {
2237
+ return !!this.getFocusableOptions().length;
2238
+ }
2239
+ }, {
2240
+ key: "isClearable",
2241
+ value: function() {
2242
+ var t = this.props, a = t.isClearable, r = t.isMulti;
2243
+ return a === void 0 ? r : a;
2244
+ }
2245
+ }, {
2246
+ key: "isOptionDisabled",
2247
+ value: function(t, a) {
2248
+ return mt(this.props, t, a);
2249
+ }
2250
+ }, {
2251
+ key: "isOptionSelected",
2252
+ value: function(t, a) {
2253
+ return vt(this.props, t, a);
2254
+ }
2255
+ }, {
2256
+ key: "filterOption",
2257
+ value: function(t, a) {
2258
+ return Ct(this.props, t, a);
2259
+ }
2260
+ }, {
2261
+ key: "formatOptionLabel",
2262
+ value: function(t, a) {
2263
+ if (typeof this.props.formatOptionLabel == "function") {
2264
+ var r = this.props.inputValue, s = this.state.selectValue;
2265
+ return this.props.formatOptionLabel(t, {
2266
+ context: a,
2267
+ inputValue: r,
2268
+ selectValue: s
2269
+ });
2270
+ } else
2271
+ return this.getOptionLabel(t);
2272
+ }
2273
+ }, {
2274
+ key: "formatGroupLabel",
2275
+ value: function(t) {
2276
+ return this.props.formatGroupLabel(t);
2277
+ }
2278
+ // ==============================
2279
+ // Mouse Handlers
2280
+ // ==============================
2281
+ }, {
2282
+ key: "startListeningComposition",
2283
+ value: (
2284
+ // ==============================
2285
+ // Composition Handlers
2286
+ // ==============================
2287
+ function() {
2288
+ document && document.addEventListener && (document.addEventListener("compositionstart", this.onCompositionStart, !1), document.addEventListener("compositionend", this.onCompositionEnd, !1));
2289
+ }
2290
+ )
2291
+ }, {
2292
+ key: "stopListeningComposition",
2293
+ value: function() {
2294
+ document && document.removeEventListener && (document.removeEventListener("compositionstart", this.onCompositionStart), document.removeEventListener("compositionend", this.onCompositionEnd));
2295
+ }
2296
+ }, {
2297
+ key: "startListeningToTouch",
2298
+ value: (
2299
+ // ==============================
2300
+ // Touch Handlers
2301
+ // ==============================
2302
+ function() {
2303
+ document && document.addEventListener && (document.addEventListener("touchstart", this.onTouchStart, !1), document.addEventListener("touchmove", this.onTouchMove, !1), document.addEventListener("touchend", this.onTouchEnd, !1));
2304
+ }
2305
+ )
2306
+ }, {
2307
+ key: "stopListeningToTouch",
2308
+ value: function() {
2309
+ document && document.removeEventListener && (document.removeEventListener("touchstart", this.onTouchStart), document.removeEventListener("touchmove", this.onTouchMove), document.removeEventListener("touchend", this.onTouchEnd));
2310
+ }
2311
+ }, {
2312
+ key: "renderInput",
2313
+ value: (
2314
+ // ==============================
2315
+ // Renderers
2316
+ // ==============================
2317
+ function() {
2318
+ var t = this.props, a = t.isDisabled, r = t.isSearchable, s = t.inputId, o = t.inputValue, l = t.tabIndex, c = t.form, d = t.menuIsOpen, b = t.required, I = this.getComponents(), v = I.Input, m = this.state, g = m.inputIsHidden, p = m.ariaSelection, V = this.commonProps, G = s || this.getElementId("input"), x = f(f(f({
2319
+ "aria-autocomplete": "list",
2320
+ "aria-expanded": d,
2321
+ "aria-haspopup": !0,
2322
+ "aria-errormessage": this.props["aria-errormessage"],
2323
+ "aria-invalid": this.props["aria-invalid"],
2324
+ "aria-label": this.props["aria-label"],
2325
+ "aria-labelledby": this.props["aria-labelledby"],
2326
+ "aria-required": b,
2327
+ role: "combobox",
2328
+ "aria-activedescendant": this.isAppleDevice ? void 0 : this.state.focusedOptionId || ""
2329
+ }, d && {
2330
+ "aria-controls": this.getElementId("listbox")
2331
+ }), !r && {
2332
+ "aria-readonly": !0
2333
+ }), this.hasValue() ? (p == null ? void 0 : p.action) === "initial-input-focus" && {
2334
+ "aria-describedby": this.getElementId("live-region")
2335
+ } : {
2336
+ "aria-describedby": this.getElementId("placeholder")
2337
+ });
2338
+ return r ? /* @__PURE__ */ F.createElement(v, h({}, V, {
2339
+ autoCapitalize: "none",
2340
+ autoComplete: "off",
2341
+ autoCorrect: "off",
2342
+ id: G,
2343
+ innerRef: this.getInputRef,
2344
+ isDisabled: a,
2345
+ isHidden: g,
2346
+ onBlur: this.onInputBlur,
2347
+ onChange: this.handleInputChange,
2348
+ onFocus: this.onInputFocus,
2349
+ spellCheck: "false",
2350
+ tabIndex: l,
2351
+ form: c,
2352
+ type: "text",
2353
+ value: o
2354
+ }, x)) : /* @__PURE__ */ F.createElement(Hi, h({
2355
+ id: G,
2356
+ innerRef: this.getInputRef,
2357
+ onBlur: this.onInputBlur,
2358
+ onChange: be,
2359
+ onFocus: this.onInputFocus,
2360
+ disabled: a,
2361
+ tabIndex: l,
2362
+ inputMode: "none",
2363
+ form: c,
2364
+ value: ""
2365
+ }, x));
2366
+ }
2367
+ )
2368
+ }, {
2369
+ key: "renderPlaceholderOrValue",
2370
+ value: function() {
2371
+ var t = this, a = this.getComponents(), r = a.MultiValue, s = a.MultiValueContainer, o = a.MultiValueLabel, l = a.MultiValueRemove, c = a.SingleValue, d = a.Placeholder, b = this.commonProps, I = this.props, v = I.controlShouldRenderValue, m = I.isDisabled, g = I.isMulti, p = I.inputValue, V = I.placeholder, G = this.state, x = G.selectValue, B = G.focusedValue, y = G.isFocused;
2372
+ if (!this.hasValue() || !v)
2373
+ return p ? null : /* @__PURE__ */ F.createElement(d, h({}, b, {
2374
+ key: "placeholder",
2375
+ isDisabled: m,
2376
+ isFocused: y,
2377
+ innerProps: {
2378
+ id: this.getElementId("placeholder")
2379
+ }
2380
+ }), V);
2381
+ if (g)
2382
+ return x.map(function(A, X) {
2383
+ var P = A === B, D = "".concat(t.getOptionLabel(A), "-").concat(t.getOptionValue(A));
2384
+ return /* @__PURE__ */ F.createElement(r, h({}, b, {
2385
+ components: {
2386
+ Container: s,
2387
+ Label: o,
2388
+ Remove: l
2389
+ },
2390
+ isFocused: P,
2391
+ isDisabled: m,
2392
+ key: D,
2393
+ index: X,
2394
+ removeProps: {
2395
+ onClick: function() {
2396
+ return t.removeValue(A);
2397
+ },
2398
+ onTouchEnd: function() {
2399
+ return t.removeValue(A);
2400
+ },
2401
+ onMouseDown: function(w) {
2402
+ w.preventDefault();
2403
+ }
2404
+ },
2405
+ data: A
2406
+ }), t.formatOptionLabel(A, "value"));
2407
+ });
2408
+ if (p)
2409
+ return null;
2410
+ var E = x[0];
2411
+ return /* @__PURE__ */ F.createElement(c, h({}, b, {
2412
+ data: E,
2413
+ isDisabled: m
2414
+ }), this.formatOptionLabel(E, "value"));
2415
+ }
2416
+ }, {
2417
+ key: "renderClearIndicator",
2418
+ value: function() {
2419
+ var t = this.getComponents(), a = t.ClearIndicator, r = this.commonProps, s = this.props, o = s.isDisabled, l = s.isLoading, c = this.state.isFocused;
2420
+ if (!this.isClearable() || !a || o || !this.hasValue() || l)
2421
+ return null;
2422
+ var d = {
2423
+ onMouseDown: this.onClearIndicatorMouseDown,
2424
+ onTouchEnd: this.onClearIndicatorTouchEnd,
2425
+ "aria-hidden": "true"
2426
+ };
2427
+ return /* @__PURE__ */ F.createElement(a, h({}, r, {
2428
+ innerProps: d,
2429
+ isFocused: c
2430
+ }));
2431
+ }
2432
+ }, {
2433
+ key: "renderLoadingIndicator",
2434
+ value: function() {
2435
+ var t = this.getComponents(), a = t.LoadingIndicator, r = this.commonProps, s = this.props, o = s.isDisabled, l = s.isLoading, c = this.state.isFocused;
2436
+ if (!a || !l) return null;
2437
+ var d = {
2438
+ "aria-hidden": "true"
2439
+ };
2440
+ return /* @__PURE__ */ F.createElement(a, h({}, r, {
2441
+ innerProps: d,
2442
+ isDisabled: o,
2443
+ isFocused: c
2444
+ }));
2445
+ }
2446
+ }, {
2447
+ key: "renderIndicatorSeparator",
2448
+ value: function() {
2449
+ var t = this.getComponents(), a = t.DropdownIndicator, r = t.IndicatorSeparator;
2450
+ if (!a || !r) return null;
2451
+ var s = this.commonProps, o = this.props.isDisabled, l = this.state.isFocused;
2452
+ return /* @__PURE__ */ F.createElement(r, h({}, s, {
2453
+ isDisabled: o,
2454
+ isFocused: l
2455
+ }));
2456
+ }
2457
+ }, {
2458
+ key: "renderDropdownIndicator",
2459
+ value: function() {
2460
+ var t = this.getComponents(), a = t.DropdownIndicator;
2461
+ if (!a) return null;
2462
+ var r = this.commonProps, s = this.props.isDisabled, o = this.state.isFocused, l = {
2463
+ onMouseDown: this.onDropdownIndicatorMouseDown,
2464
+ onTouchEnd: this.onDropdownIndicatorTouchEnd,
2465
+ "aria-hidden": "true"
2466
+ };
2467
+ return /* @__PURE__ */ F.createElement(a, h({}, r, {
2468
+ innerProps: l,
2469
+ isDisabled: s,
2470
+ isFocused: o
2471
+ }));
2472
+ }
2473
+ }, {
2474
+ key: "renderMenu",
2475
+ value: function() {
2476
+ var t = this, a = this.getComponents(), r = a.Group, s = a.GroupHeading, o = a.Menu, l = a.MenuList, c = a.MenuPortal, d = a.LoadingMessage, b = a.NoOptionsMessage, I = a.Option, v = this.commonProps, m = this.state.focusedOption, g = this.props, p = g.captureMenuScroll, V = g.inputValue, G = g.isLoading, x = g.loadingMessage, B = g.minMenuHeight, y = g.maxMenuHeight, E = g.menuIsOpen, A = g.menuPlacement, X = g.menuPosition, P = g.menuPortalTarget, D = g.menuShouldBlockScroll, H = g.menuShouldScrollIntoView, w = g.noOptionsMessage, L = g.onMenuScrollToTop, Z = g.onMenuScrollToBottom;
2477
+ if (!E) return null;
2478
+ var S = function(T, z) {
2479
+ var _ = T.type, O = T.data, q = T.isDisabled, k = T.isSelected, le = T.label, ht = T.value, Xe = m === O, Re = q ? void 0 : function() {
2480
+ return t.onOptionHover(O);
2481
+ }, At = q ? void 0 : function() {
2482
+ return t.selectOption(O);
2483
+ }, Se = "".concat(t.getElementId("option"), "-").concat(z), Gt = {
2484
+ id: Se,
2485
+ onClick: At,
2486
+ onMouseMove: Re,
2487
+ onMouseOver: Re,
2488
+ tabIndex: -1,
2489
+ role: "option",
2490
+ "aria-selected": t.isAppleDevice ? void 0 : k
2491
+ // is not supported on Apple devices
2492
+ };
2493
+ return /* @__PURE__ */ F.createElement(I, h({}, v, {
2494
+ innerProps: Gt,
2495
+ data: O,
2496
+ isDisabled: q,
2497
+ isSelected: k,
2498
+ key: Se,
2499
+ label: le,
2500
+ type: _,
2501
+ value: ht,
2502
+ isFocused: Xe,
2503
+ innerRef: Xe ? t.getFocusedOptionRef : void 0
2504
+ }), t.formatOptionLabel(T.data, "menu"));
2505
+ }, Y;
2506
+ if (this.hasOptions())
2507
+ Y = this.getCategorizedOptions().map(function(W) {
2508
+ if (W.type === "group") {
2509
+ var T = W.data, z = W.options, _ = W.index, O = "".concat(t.getElementId("group"), "-").concat(_), q = "".concat(O, "-heading");
2510
+ return /* @__PURE__ */ F.createElement(r, h({}, v, {
2511
+ key: O,
2512
+ data: T,
2513
+ options: z,
2514
+ Heading: s,
2515
+ headingProps: {
2516
+ id: q,
2517
+ data: W.data
2518
+ },
2519
+ label: t.formatGroupLabel(W.data)
2520
+ }), W.options.map(function(k) {
2521
+ return S(k, "".concat(_, "-").concat(k.index));
2522
+ }));
2523
+ } else if (W.type === "option")
2524
+ return S(W, "".concat(W.index));
2525
+ });
2526
+ else if (G) {
2527
+ var J = x({
2528
+ inputValue: V
2529
+ });
2530
+ if (J === null) return null;
2531
+ Y = /* @__PURE__ */ F.createElement(d, v, J);
2532
+ } else {
2533
+ var K = w({
2534
+ inputValue: V
2535
+ });
2536
+ if (K === null) return null;
2537
+ Y = /* @__PURE__ */ F.createElement(b, v, K);
2538
+ }
2539
+ var $ = {
2540
+ minMenuHeight: B,
2541
+ maxMenuHeight: y,
2542
+ menuPlacement: A,
2543
+ menuPosition: X,
2544
+ menuShouldScrollIntoView: H
2545
+ }, re = /* @__PURE__ */ F.createElement(dn, h({}, v, $), function(W) {
2546
+ var T = W.ref, z = W.placerProps, _ = z.placement, O = z.maxHeight;
2547
+ return /* @__PURE__ */ F.createElement(o, h({}, v, $, {
2548
+ innerRef: T,
2549
+ innerProps: {
2550
+ onMouseDown: t.onMenuMouseDown,
2551
+ onMouseMove: t.onMenuMouseMove
2552
+ },
2553
+ isLoading: G,
2554
+ placement: _
2555
+ }), /* @__PURE__ */ F.createElement(Yi, {
2556
+ captureEnabled: p,
2557
+ onTopArrive: L,
2558
+ onBottomArrive: Z,
2559
+ lockEnabled: D
2560
+ }, function(q) {
2561
+ return /* @__PURE__ */ F.createElement(l, h({}, v, {
2562
+ innerRef: function(le) {
2563
+ t.getMenuListRef(le), q(le);
2564
+ },
2565
+ innerProps: {
2566
+ role: "listbox",
2567
+ "aria-multiselectable": v.isMulti,
2568
+ id: t.getElementId("listbox")
2569
+ },
2570
+ isLoading: G,
2571
+ maxHeight: O,
2572
+ focusedOption: m
2573
+ }), Y);
2574
+ }));
2575
+ });
2576
+ return P || X === "fixed" ? /* @__PURE__ */ F.createElement(c, h({}, v, {
2577
+ appendTo: P,
2578
+ controlElement: this.controlRef,
2579
+ menuPlacement: A,
2580
+ menuPosition: X
2581
+ }), re) : re;
2582
+ }
2583
+ }, {
2584
+ key: "renderFormField",
2585
+ value: function() {
2586
+ var t = this, a = this.props, r = a.delimiter, s = a.isDisabled, o = a.isMulti, l = a.name, c = a.required, d = this.state.selectValue;
2587
+ if (c && !this.hasValue() && !s)
2588
+ return /* @__PURE__ */ F.createElement(ki, {
2589
+ name: l,
2590
+ onFocus: this.onValueInputFocus
2591
+ });
2592
+ if (!(!l || s))
2593
+ if (o)
2594
+ if (r) {
2595
+ var b = d.map(function(m) {
2596
+ return t.getOptionValue(m);
2597
+ }).join(r);
2598
+ return /* @__PURE__ */ F.createElement("input", {
2599
+ name: l,
2600
+ type: "hidden",
2601
+ value: b
2602
+ });
2603
+ } else {
2604
+ var I = d.length > 0 ? d.map(function(m, g) {
2605
+ return /* @__PURE__ */ F.createElement("input", {
2606
+ key: "i-".concat(g),
2607
+ name: l,
2608
+ type: "hidden",
2609
+ value: t.getOptionValue(m)
2610
+ });
2611
+ }) : /* @__PURE__ */ F.createElement("input", {
2612
+ name: l,
2613
+ type: "hidden",
2614
+ value: ""
2615
+ });
2616
+ return /* @__PURE__ */ F.createElement("div", null, I);
2617
+ }
2618
+ else {
2619
+ var v = d[0] ? this.getOptionValue(d[0]) : "";
2620
+ return /* @__PURE__ */ F.createElement("input", {
2621
+ name: l,
2622
+ type: "hidden",
2623
+ value: v
2624
+ });
2625
+ }
2626
+ }
2627
+ }, {
2628
+ key: "renderLiveRegion",
2629
+ value: function() {
2630
+ var t = this.commonProps, a = this.state, r = a.ariaSelection, s = a.focusedOption, o = a.focusedValue, l = a.isFocused, c = a.selectValue, d = this.getFocusableOptions();
2631
+ return /* @__PURE__ */ F.createElement(Xi, h({}, t, {
2632
+ id: this.getElementId("live-region"),
2633
+ ariaSelection: r,
2634
+ focusedOption: s,
2635
+ focusedValue: o,
2636
+ isFocused: l,
2637
+ selectValue: c,
2638
+ focusableOptions: d,
2639
+ isAppleDevice: this.isAppleDevice
2640
+ }));
2641
+ }
2642
+ }, {
2643
+ key: "render",
2644
+ value: function() {
2645
+ var t = this.getComponents(), a = t.Control, r = t.IndicatorsContainer, s = t.SelectContainer, o = t.ValueContainer, l = this.props, c = l.className, d = l.id, b = l.isDisabled, I = l.menuIsOpen, v = this.state.isFocused, m = this.commonProps = this.getCommonProps();
2646
+ return /* @__PURE__ */ F.createElement(s, h({}, m, {
2647
+ className: c,
2648
+ innerProps: {
2649
+ id: d,
2650
+ onKeyDown: this.onKeyDown
2651
+ },
2652
+ isDisabled: b,
2653
+ isFocused: v
2654
+ }), this.renderLiveRegion(), /* @__PURE__ */ F.createElement(a, h({}, m, {
2655
+ innerRef: this.getControlRef,
2656
+ innerProps: {
2657
+ onMouseDown: this.onControlMouseDown,
2658
+ onTouchEnd: this.onControlTouchEnd
2659
+ },
2660
+ isDisabled: b,
2661
+ isFocused: v,
2662
+ menuIsOpen: I
2663
+ }), /* @__PURE__ */ F.createElement(o, h({}, m, {
2664
+ isDisabled: b
2665
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ F.createElement(r, h({}, m, {
2666
+ isDisabled: b
2667
+ }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
2668
+ }
2669
+ }], [{
2670
+ key: "getDerivedStateFromProps",
2671
+ value: function(t, a) {
2672
+ var r = a.prevProps, s = a.clearFocusValueOnUpdate, o = a.inputIsHiddenAfterUpdate, l = a.ariaSelection, c = a.isFocused, d = a.prevWasFocused, b = a.instancePrefix, I = t.options, v = t.value, m = t.menuIsOpen, g = t.inputValue, p = t.isMulti, V = Ze(v), G = {};
2673
+ if (r && (v !== r.value || I !== r.options || m !== r.menuIsOpen || g !== r.inputValue)) {
2674
+ var x = m ? lu(t, V) : [], B = m ? Ue(ge(t, V), "".concat(b, "-option")) : [], y = s ? su(a, V) : null, E = cu(a, x), A = Ge(B, E);
2675
+ G = {
2676
+ selectValue: V,
2677
+ focusedOption: E,
2678
+ focusedOptionId: A,
2679
+ focusableOptionsWithIds: B,
2680
+ focusedValue: y,
2681
+ clearFocusValueOnUpdate: !1
2682
+ };
2683
+ }
2684
+ var X = o != null && t !== r ? {
2685
+ inputIsHidden: o,
2686
+ inputIsHiddenAfterUpdate: void 0
2687
+ } : {}, P = l, D = c && d;
2688
+ return c && !D && (P = {
2689
+ value: de(p, V, V[0] || null),
2690
+ options: V,
2691
+ action: "initial-input-focus"
2692
+ }, D = !d), (l == null ? void 0 : l.action) === "initial-input-focus" && (P = null), f(f(f({}, G), X), {}, {
2693
+ prevProps: t,
2694
+ ariaSelection: P,
2695
+ prevWasFocused: D
2696
+ });
2697
+ }
2698
+ }]), i;
2699
+ }(Bt);
2700
+ gu.defaultProps = ru;
2701
+ const bu = (n) => {
2702
+ const e = n.colorContext[n.palette.outline.context], i = n.palette[e][n.palette.outline.weight];
2703
+ return `${n.palette.outline.width} ${n.palette.outline.style} ${i}`;
2704
+ }, Iu = (n) => {
2705
+ const e = n.palette.disabled.color, i = n.palette[e][n.palette.disabled.background], u = n.palette.opacity[n.palette.disabled.opacity];
2706
+ return Mt(i, u ?? "100%");
2707
+ }, pu = (n) => {
2708
+ const e = n.palette.disabled.color;
2709
+ return n.palette[e][n.palette.disabled.text];
2710
+ }, Eu = {
2711
+ container: (n, e) => ({
2712
+ ...n,
2713
+ minHeight: te(e.theme, e.selectProps.size),
2714
+ maxHeight: te(e.theme, e.selectProps.size)
2715
+ }),
2716
+ input: (n, e) => ({
2717
+ ...n,
2718
+ color: N(
2719
+ e.theme,
2720
+ "Input",
2721
+ e.focused ? "primary" : e.color,
2722
+ "enabled",
2723
+ "text"
2724
+ )
2725
+ }),
2726
+ control: (n, e) => ({
2727
+ ...n,
2728
+ minHeight: te(e.theme, e.selectProps.size),
2729
+ maxHeight: te(e.theme, e.selectProps.size),
2730
+ fontWeight: e.theme.components.Input.default.enabled.fontWeight,
2731
+ fontSize: e.theme.typography.component[e.selectProps.size].fontSize,
2732
+ lineHeight: e.theme.typography.component[e.selectProps.size].lineHeight,
2733
+ boxShadow: "0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06)",
2734
+ outline: e.isFocused ? bu(e.theme) : "none",
2735
+ outlineOffset: e.isFocused ? e.theme.palette.outline.offset : "0",
2736
+ "&:hover": {
2737
+ border: `1px solid
2738
+ ${N(
2739
+ e.theme,
2740
+ "Input",
2741
+ e.focused ? "primary" : e.color,
2742
+ e.disabled ? "disabled" : "enabled",
2743
+ "border"
2744
+ )}`,
2745
+ boxSizing: "border-box",
2746
+ minHeight: te(e.theme, e.selectProps.size),
2747
+ maxHeight: te(e.theme, e.selectProps.size)
2748
+ },
2749
+ // This line disable the blue border
2750
+ boxShadow: "none",
2751
+ backgroundColor: e.isDisabled ? Iu(e.theme) : N(e.theme, "Input", e.color, "enabled", "background"),
2752
+ border: `1px solid
2753
+ ${N(
2754
+ e.theme,
2755
+ "Input",
2756
+ e.focused ? "primary" : e.selectProps.color,
2757
+ e.disabled ? "disabled" : "enabled",
2758
+ "border"
2759
+ )}`,
2760
+ borderRadius: ue(e.theme, "regular"),
2761
+ color: e.isDisabled ? pu(e.theme) : e.isFocused ? N(e.theme, "Input", "primary", "enabled", "text") : N(e.theme, "Input", e.color, "enabled", "text")
2762
+ }),
2763
+ menu: (n, e) => ({
2764
+ ...n,
2765
+ boxShadow: "0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06)",
2766
+ borderRadius: ue(e.theme, "regular"),
2767
+ backgroundColor: N(
2768
+ e.theme,
2769
+ "Dropdown",
2770
+ e.selectProps.color,
2771
+ "enabled",
2772
+ "background"
2773
+ ),
2774
+ color: N(
2775
+ e.theme,
2776
+ "Dropdown",
2777
+ e.selectProps.color,
2778
+ "enabled",
2779
+ "text"
2780
+ )
2781
+ }),
2782
+ menuPortal: (n) => ({ ...n, zIndex: 9999 }),
2783
+ option: (n, e) => ({
2784
+ ...n,
2785
+ fontWeight: e.theme.components.Input.default.enabled.fontWeight,
2786
+ fontSize: e.theme.typography.component[e.selectProps.size].fontSize,
2787
+ lineHeight: e.theme.typography.component[e.selectProps.size].lineHeight,
2788
+ backgroundColor: e.isSelected ? N(
2789
+ e.theme,
2790
+ "Dropdown",
2791
+ e.selectProps.color,
2792
+ "selected",
2793
+ "background"
2794
+ ) : e.isFocused ? N(
2795
+ e.theme,
2796
+ "Dropdown",
2797
+ e.selectProps.color,
2798
+ "hover",
2799
+ "background"
2800
+ ) : "transparent",
2801
+ "&:hover": {
2802
+ backgroundColor: N(
2803
+ e.theme,
2804
+ "Dropdown",
2805
+ e.selectProps.color,
2806
+ "hover",
2807
+ "background"
2808
+ ),
2809
+ color: "unset"
2810
+ }
2811
+ }),
2812
+ multiValue: (n, e) => ({
2813
+ ...n,
2814
+ borderRadius: ue(e.theme, "regular"),
2815
+ backgroundColor: !e.isDisabled && N(
2816
+ e.theme,
2817
+ "Chip",
2818
+ e.selectProps.color,
2819
+ "enabled",
2820
+ "background",
2821
+ "backgroundOpacity"
2822
+ ),
2823
+ backdropFilter: Nt(
2824
+ e.theme,
2825
+ "Chip",
2826
+ e.selectProps.color,
2827
+ "enabled",
2828
+ "backDropFilter"
2829
+ ),
2830
+ "&:hover": {
2831
+ backgroundColor: !e.isDisabled && N(
2832
+ e.theme,
2833
+ "Chip",
2834
+ e.selectProps.color,
2835
+ "hover",
2836
+ "background",
2837
+ "backgroundOpacity"
2838
+ )
2839
+ }
2840
+ }),
2841
+ multiValueLabel: (n, e) => ({
2842
+ ...n,
2843
+ color: !e.isDisabled && N(
2844
+ e.theme,
2845
+ "Chip",
2846
+ e.selectProps.color,
2847
+ "enabled",
2848
+ "text"
2849
+ ),
2850
+ fontWeight: e.theme.typography.fontWeightBold
2851
+ }),
2852
+ multiValueRemove: (n, e) => ({
2853
+ ...n,
2854
+ borderRadius: `0 ${ue(
2855
+ e.theme,
2856
+ "regular"
2857
+ )} ${ue(e.theme, "regular")} 0`,
2858
+ color: N(
2859
+ e.theme,
2860
+ "Dropdown",
2861
+ e.selectProps.color,
2862
+ "enabled",
2863
+ "removeIcon"
2864
+ ),
2865
+ "&:hover": {
2866
+ backgroundColor: "transparent",
2867
+ color: N(e.theme, "Danger", "danger", "enabled", "text"),
2868
+ cursor: "pointer"
2869
+ }
2870
+ })
2871
+ };
2872
+ export {
2873
+ gu as S,
2874
+ Q as _,
2875
+ Eu as a,
2876
+ U as b,
2877
+ fi as c,
2878
+ f as d,
2879
+ yu as h,
2880
+ Bu as u
2881
+ };