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