@hybridcore/ui 1.6.13 → 1.6.16

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