@digitalpromise/design 4.5.1 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/forms.js CHANGED
@@ -1,203 +1,4403 @@
1
- import { jsxs as i, jsx as e, Fragment as E } from "react/jsx-runtime";
2
- import { useRef as T, useState as v, cloneElement as $ } from "react";
3
- import { B as x, I as j } from "./icon-BR2zaZo5.js";
4
- const U = ({
5
- error: a,
6
- className: r,
7
- label: t,
8
- ...o
1
+ import { jsxs as Ae, jsx as O, Fragment as ur } from "react/jsx-runtime";
2
+ import * as R from "react";
3
+ import { useRef as ce, useState as de, cloneElement as or, useCallback as U, forwardRef as gn, useContext as bn, useLayoutEffect as ar, useMemo as he, createContext as sr, Component as cr, Fragment as bt, useEffect as fn } from "react";
4
+ import { B as pn, I as In } from "./icon-Ce5_UC8P.js";
5
+ import { createPortal as lr } from "react-dom";
6
+ const pa = ({
7
+ error: t,
8
+ className: e,
9
+ label: r,
10
+ ...i
9
11
  }) => {
10
- const n = o.id || o.name;
11
- return /* @__PURE__ */ i("div", { className: "flex gap-3 items-center", children: [
12
- /* @__PURE__ */ e(
12
+ const n = i.id || i.name;
13
+ return /* @__PURE__ */ Ae("div", { className: "flex gap-3 items-center", children: [
14
+ /* @__PURE__ */ O(
13
15
  "input",
14
16
  {
15
17
  type: "checkbox",
16
- className: `transition-colors appearance-none cursor-pointer bg-neutral-1 border-2 border-gray-5 rounded-sm w-5 h-5 grid place-content-center hover:bg-gray-1 hover:border-neutral-5 before:hidden before:content-['\\2713'] before:text-neutral-1 before:font-bold checked:bg-blue-3 checked:border-blue-4 checked:hover:bg-blue-4 checked:hover:border-blue-5 checked:before:inline-block ${r ?? ""}`.trim(),
17
- ...o,
18
+ className: `transition-colors appearance-none cursor-pointer bg-neutral-1 border-2 border-gray-5 rounded-sm w-5 h-5 grid place-content-center hover:bg-gray-1 hover:border-neutral-5 before:hidden before:content-['\\2713'] before:text-neutral-1 before:font-bold checked:bg-blue-3 checked:border-blue-4 checked:hover:bg-blue-4 checked:hover:border-blue-5 checked:before:inline-block ${e ?? ""}`.trim(),
19
+ ...i,
18
20
  id: n
19
21
  }
20
22
  ),
21
- /* @__PURE__ */ e(
23
+ /* @__PURE__ */ O(
22
24
  "label",
23
25
  {
24
- "data-error": a || null,
26
+ "data-error": t || null,
25
27
  htmlFor: n,
26
28
  className: "data-error:text-red-4",
27
- children: t
29
+ children: r
28
30
  }
29
31
  )
30
32
  ] });
31
- }, q = ({
32
- children: a,
33
- error: r,
34
- instructions: t,
35
- className: o,
33
+ }, dr = ({
34
+ children: t,
35
+ error: e,
36
+ instructions: r,
37
+ className: i,
36
38
  ref: n,
37
- onChange: c,
38
- remover: s,
39
- ...g
39
+ onChange: u,
40
+ remover: a,
41
+ ...c
40
42
  }) => {
41
- const d = T(null), [w, m] = v(!1), [b, y] = v([]), h = b.length > 0, N = (l) => {
42
- l.preventDefault(), m(!1), d.current && l.dataTransfer.files.length > 0 && (d.current.files = l.dataTransfer.files, l.dataTransfer.clearData(), d.current.dispatchEvent(
43
+ const o = ce(null), [s, l] = de(!1), [d, v] = de([]), I = d.length > 0, m = (C) => {
44
+ C.preventDefault(), l(!1), o.current && C.dataTransfer.files.length > 0 && (o.current.files = C.dataTransfer.files, C.dataTransfer.clearData(), o.current.dispatchEvent(
43
45
  new Event("change", { bubbles: !0 })
44
46
  ));
45
- }, D = (l) => {
46
- c && c(l);
47
- const F = Array.from(l.currentTarget.files ?? []).map((u) => {
48
- if (u.type.includes("image")) {
49
- const C = URL.createObjectURL(u);
50
- return /* @__PURE__ */ e(
47
+ }, f = (C) => {
48
+ u && u(C);
49
+ const b = Array.from(C.currentTarget.files ?? []).map((x) => {
50
+ if (x.type.includes("image")) {
51
+ const y = URL.createObjectURL(x);
52
+ return /* @__PURE__ */ O(
51
53
  "img",
52
54
  {
53
55
  alt: "",
54
- src: C,
56
+ src: y,
55
57
  className: "max-h-full max-w-full object-contain"
56
58
  },
57
- u.name
59
+ x.name
58
60
  );
59
61
  } else
60
- return /* @__PURE__ */ e("p", { children: u.name }, u.name);
62
+ return /* @__PURE__ */ O("p", { children: x.name }, x.name);
61
63
  });
62
- y(F);
63
- }, I = () => {
64
- d.current && (d.current.value = "", d.current.files = null, d.current.dispatchEvent(
64
+ v(b);
65
+ }, g = () => {
66
+ o.current && (o.current.value = "", o.current.files = null, o.current.dispatchEvent(
65
67
  new Event("change", { bubbles: !0 })
66
68
  ));
67
- }, f = {
68
- onClick: (l) => {
69
- l.preventDefault(), I();
69
+ }, p = {
70
+ onClick: (C) => {
71
+ C.preventDefault(), g();
70
72
  }
71
- }, k = s ? $(s, f) : /* @__PURE__ */ e(x, { type: "button", variant: "tertiary", state: "decolor", ...f, children: "Remove Files" }), p = (l) => {
72
- l.preventDefault(), m(!0);
73
+ }, A = a ? or(a, p) : /* @__PURE__ */ O(pn, { type: "button", variant: "tertiary", state: "decolor", ...p, children: "Remove Files" }), h = (C) => {
74
+ C.preventDefault(), l(!0);
73
75
  };
74
- return /* @__PURE__ */ i("div", { children: [
75
- /* @__PURE__ */ i(
76
+ return /* @__PURE__ */ Ae("div", { children: [
77
+ /* @__PURE__ */ Ae(
76
78
  "label",
77
79
  {
78
- "data-showing-preview": h || null,
79
- "data-is-dragging": w || null,
80
- onDragLeave: () => m(!1),
81
- onDragEnter: p,
82
- onDragOver: p,
83
- onDrop: N,
84
- htmlFor: g.id,
85
- "data-error": r || null,
86
- className: `flex items-center justify-center rounded-lg border border-dashed border-blue-3 px-7 py-8 font-medium text-blue-3 data-showing-preview:w-max data-showing-preview:border-gray-3 data-showing-preview:text-gray-3 data-is-dragging:border-blue-5 data-is-dragging:bg-blue-1 data-showing-preview:py-5 data-is-dragging:text-blue-4 ${o ?? ""} cursor-default`.trim(),
80
+ "data-showing-preview": I || null,
81
+ "data-is-dragging": s || null,
82
+ onDragLeave: () => l(!1),
83
+ onDragEnter: h,
84
+ onDragOver: h,
85
+ onDrop: m,
86
+ htmlFor: c.id,
87
+ "data-error": e || null,
88
+ className: `flex items-center justify-center rounded-lg border border-dashed border-blue-3 px-7 py-8 font-medium text-blue-3 data-showing-preview:w-max data-showing-preview:border-gray-3 data-showing-preview:text-gray-3 data-is-dragging:border-blue-5 data-is-dragging:bg-blue-1 data-showing-preview:py-5 data-is-dragging:text-blue-4 ${i ?? ""} cursor-default`.trim(),
87
89
  children: [
88
- /* @__PURE__ */ e(
90
+ /* @__PURE__ */ O(
89
91
  "input",
90
92
  {
91
- ...g,
92
- ref: (l) => {
93
- n && (n instanceof Function ? n(l) : n.current = l), d.current = l;
93
+ ...c,
94
+ ref: (C) => {
95
+ n && (n instanceof Function ? n(C) : n.current = C), o.current = C;
94
96
  },
95
- onChange: D,
97
+ onChange: f,
96
98
  className: "sr-only",
97
99
  type: "file"
98
100
  }
99
101
  ),
100
- h ? /* @__PURE__ */ i(E, { children: [
101
- /* @__PURE__ */ e("aside", { className: "grid grid-cols-2 grid-rows-2 w-11 h-11", children: b }),
102
- k
103
- ] }) : a ?? /* @__PURE__ */ i("p", { className: "pointer-events-none select-none", children: [
104
- /* @__PURE__ */ e(j, { name: "Upload" }),
102
+ I ? /* @__PURE__ */ Ae(ur, { children: [
103
+ /* @__PURE__ */ O("aside", { className: "grid grid-cols-2 grid-rows-2 w-11 h-11", children: d }),
104
+ A
105
+ ] }) : t ?? /* @__PURE__ */ Ae("p", { className: "pointer-events-none select-none", children: [
106
+ /* @__PURE__ */ O(In, { name: "Upload" }),
105
107
  " Click or drop to upload"
106
108
  ] })
107
109
  ]
108
110
  }
109
111
  ),
110
- t && /* @__PURE__ */ e("p", { className: "font-light leading-6", children: t })
112
+ r && /* @__PURE__ */ O("p", { className: "font-light leading-6", children: r })
111
113
  ] });
112
- }, z = (a) => /* @__PURE__ */ e(
113
- q,
114
+ }, Ia = (t) => /* @__PURE__ */ O(
115
+ dr,
114
116
  {
115
- ...a,
117
+ ...t,
116
118
  multiple: !1,
117
- remover: /* @__PURE__ */ e(x, { type: "button", variant: "tertiary", state: "decolor", children: "Remove Image" }),
119
+ remover: /* @__PURE__ */ O(pn, { type: "button", variant: "tertiary", state: "decolor", children: "Remove Image" }),
118
120
  accept: "image/png image/svg+xml"
119
121
  }
120
- ), P = ({ noValidate: a, className: r, ...t }) => /* @__PURE__ */ e(
122
+ ), ma = ({ noValidate: t, className: e, ...r }) => /* @__PURE__ */ O(
121
123
  "form",
122
124
  {
123
- className: `container flex flex-col gap-7 max-w-[45rem] ${r ?? ""}`.trim(),
124
- ...t,
125
- noValidate: a ?? !0
125
+ className: `container flex flex-col gap-7 max-w-[45rem] ${e ?? ""}`.trim(),
126
+ ...r,
127
+ noValidate: t ?? !0
126
128
  }
127
- ), L = ({
128
- className: a,
129
- label: r,
130
- required: t,
131
- error: o,
129
+ ), gr = ({
130
+ className: t,
131
+ label: e,
132
+ required: r,
133
+ error: i,
132
134
  ...n
133
- }) => /* @__PURE__ */ e(
135
+ }) => /* @__PURE__ */ O(
134
136
  "label",
135
137
  {
136
- "data-required": t || null,
137
- "data-error": o || null,
138
+ "data-required": r || null,
139
+ "data-error": i || null,
138
140
  ...n,
139
- className: `text-base font-medium leading-5 data-error:text-red-4 data-required:after:content-['*'] data-required:after:text-red-4 data-required:after:ml-1 ${a ?? ""}`.trim(),
140
- children: r
141
- }
142
- ), A = ({
143
- Input: a,
144
- inputProps: r,
145
- errorMessage: t,
146
- label: o,
141
+ className: `text-base font-medium leading-5 data-error:text-red-4 data-required:after:content-['*'] data-required:after:text-red-4 data-required:after:ml-1 ${t ?? ""}`.trim(),
142
+ children: e
143
+ }
144
+ ), va = ({
145
+ Input: t,
146
+ inputProps: e,
147
+ errorMessage: r,
148
+ label: i,
147
149
  labelClassname: n
148
150
  }) => {
149
- const c = !!t, s = r?.id || r?.name;
150
- return /* @__PURE__ */ i("div", { className: "flex flex-col gap-3", children: [
151
- /* @__PURE__ */ e(
152
- L,
151
+ const u = !!r, a = e?.id || e?.name;
152
+ return /* @__PURE__ */ Ae("div", { className: "flex flex-col gap-3", children: [
153
+ /* @__PURE__ */ O(
154
+ gr,
153
155
  {
154
- label: o,
156
+ label: i,
155
157
  className: n,
156
- htmlFor: s,
157
- required: r?.required,
158
- error: c
158
+ htmlFor: a,
159
+ required: e?.required,
160
+ error: u
159
161
  }
160
162
  ),
161
- /* @__PURE__ */ e(a, { error: c, ...r, id: s }),
162
- t && /* @__PURE__ */ e("p", { className: "text-red-4", children: t })
163
+ /* @__PURE__ */ O(t, { error: u, ...e, id: a }),
164
+ r && /* @__PURE__ */ O("p", { className: "text-red-4", children: r })
163
165
  ] });
164
- }, O = ({
165
- options: a,
166
- error: r,
167
- className: t,
168
- ...o
169
- }) => /* @__PURE__ */ e(
170
- "select",
166
+ };
167
+ function Ie(t) {
168
+ "@babel/helpers - typeof";
169
+ return Ie = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
170
+ return typeof e;
171
+ } : function(e) {
172
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
173
+ }, Ie(t);
174
+ }
175
+ function br(t, e) {
176
+ if (Ie(t) != "object" || !t) return t;
177
+ var r = t[Symbol.toPrimitive];
178
+ if (r !== void 0) {
179
+ var i = r.call(t, e);
180
+ if (Ie(i) != "object") return i;
181
+ throw new TypeError("@@toPrimitive must return a primitive value.");
182
+ }
183
+ return (e === "string" ? String : Number)(t);
184
+ }
185
+ function mn(t) {
186
+ var e = br(t, "string");
187
+ return Ie(e) == "symbol" ? e : e + "";
188
+ }
189
+ function Be(t, e, r) {
190
+ return (e = mn(e)) in t ? Object.defineProperty(t, e, {
191
+ value: r,
192
+ enumerable: !0,
193
+ configurable: !0,
194
+ writable: !0
195
+ }) : t[e] = r, t;
196
+ }
197
+ function wt(t, e) {
198
+ var r = Object.keys(t);
199
+ if (Object.getOwnPropertySymbols) {
200
+ var i = Object.getOwnPropertySymbols(t);
201
+ e && (i = i.filter(function(n) {
202
+ return Object.getOwnPropertyDescriptor(t, n).enumerable;
203
+ })), r.push.apply(r, i);
204
+ }
205
+ return r;
206
+ }
207
+ function V(t) {
208
+ for (var e = 1; e < arguments.length; e++) {
209
+ var r = arguments[e] != null ? arguments[e] : {};
210
+ e % 2 ? wt(Object(r), !0).forEach(function(i) {
211
+ Be(t, i, r[i]);
212
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : wt(Object(r)).forEach(function(i) {
213
+ Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(r, i));
214
+ });
215
+ }
216
+ return t;
217
+ }
218
+ function fr(t) {
219
+ if (Array.isArray(t)) return t;
220
+ }
221
+ function pr(t, e) {
222
+ var r = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
223
+ if (r != null) {
224
+ var i, n, u, a, c = [], o = !0, s = !1;
225
+ try {
226
+ if (u = (r = r.call(t)).next, e === 0) {
227
+ if (Object(r) !== r) return;
228
+ o = !1;
229
+ } else for (; !(o = (i = u.call(r)).done) && (c.push(i.value), c.length !== e); o = !0) ;
230
+ } catch (l) {
231
+ s = !0, n = l;
232
+ } finally {
233
+ try {
234
+ if (!o && r.return != null && (a = r.return(), Object(a) !== a)) return;
235
+ } finally {
236
+ if (s) throw n;
237
+ }
238
+ }
239
+ return c;
240
+ }
241
+ }
242
+ function ft(t, e) {
243
+ (e == null || e > t.length) && (e = t.length);
244
+ for (var r = 0, i = Array(e); r < e; r++) i[r] = t[r];
245
+ return i;
246
+ }
247
+ function vn(t, e) {
248
+ if (t) {
249
+ if (typeof t == "string") return ft(t, e);
250
+ var r = {}.toString.call(t).slice(8, -1);
251
+ return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? ft(t, e) : void 0;
252
+ }
253
+ }
254
+ function Ir() {
255
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
256
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
257
+ }
258
+ function ge(t, e) {
259
+ return fr(t) || pr(t, e) || vn(t, e) || Ir();
260
+ }
261
+ function mr(t, e) {
262
+ if (t == null) return {};
263
+ var r = {};
264
+ for (var i in t) if ({}.hasOwnProperty.call(t, i)) {
265
+ if (e.indexOf(i) !== -1) continue;
266
+ r[i] = t[i];
267
+ }
268
+ return r;
269
+ }
270
+ function fe(t, e) {
271
+ if (t == null) return {};
272
+ var r, i, n = mr(t, e);
273
+ if (Object.getOwnPropertySymbols) {
274
+ var u = Object.getOwnPropertySymbols(t);
275
+ for (i = 0; i < u.length; i++) r = u[i], e.indexOf(r) === -1 && {}.propertyIsEnumerable.call(t, r) && (n[r] = t[r]);
276
+ }
277
+ return n;
278
+ }
279
+ var vr = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
280
+ function Cr(t) {
281
+ var e = t.defaultInputValue, r = e === void 0 ? "" : e, i = t.defaultMenuIsOpen, n = i === void 0 ? !1 : i, u = t.defaultValue, a = u === void 0 ? null : u, c = t.inputValue, o = t.menuIsOpen, s = t.onChange, l = t.onInputChange, d = t.onMenuClose, v = t.onMenuOpen, I = t.value, m = fe(t, vr), f = de(c !== void 0 ? c : r), g = ge(f, 2), p = g[0], A = g[1], h = de(o !== void 0 ? o : n), C = ge(h, 2), b = C[0], x = C[1], y = de(I !== void 0 ? I : a), B = ge(y, 2), T = B[0], H = B[1], J = U(function(k, ie) {
282
+ typeof s == "function" && s(k, ie), H(k);
283
+ }, [s]), L = U(function(k, ie) {
284
+ var te;
285
+ typeof l == "function" && (te = l(k, ie)), A(te !== void 0 ? te : k);
286
+ }, [l]), q = U(function() {
287
+ typeof v == "function" && v(), x(!0);
288
+ }, [v]), ee = U(function() {
289
+ typeof d == "function" && d(), x(!1);
290
+ }, [d]), M = c !== void 0 ? c : p, N = o !== void 0 ? o : b, K = I !== void 0 ? I : T;
291
+ return V(V({}, m), {}, {
292
+ inputValue: M,
293
+ menuIsOpen: N,
294
+ onChange: J,
295
+ onInputChange: L,
296
+ onMenuClose: ee,
297
+ onMenuOpen: q,
298
+ value: K
299
+ });
300
+ }
301
+ function S() {
302
+ return S = Object.assign ? Object.assign.bind() : function(t) {
303
+ for (var e = 1; e < arguments.length; e++) {
304
+ var r = arguments[e];
305
+ for (var i in r) ({}).hasOwnProperty.call(r, i) && (t[i] = r[i]);
306
+ }
307
+ return t;
308
+ }, S.apply(null, arguments);
309
+ }
310
+ function hr(t, e) {
311
+ if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
312
+ }
313
+ function Tt(t, e) {
314
+ for (var r = 0; r < e.length; r++) {
315
+ var i = e[r];
316
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, mn(i.key), i);
317
+ }
318
+ }
319
+ function Ar(t, e, r) {
320
+ return e && Tt(t.prototype, e), r && Tt(t, r), Object.defineProperty(t, "prototype", {
321
+ writable: !1
322
+ }), t;
323
+ }
324
+ function pt(t, e) {
325
+ return pt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
326
+ return r.__proto__ = i, r;
327
+ }, pt(t, e);
328
+ }
329
+ function yr(t, e) {
330
+ if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
331
+ t.prototype = Object.create(e && e.prototype, {
332
+ constructor: {
333
+ value: t,
334
+ writable: !0,
335
+ configurable: !0
336
+ }
337
+ }), Object.defineProperty(t, "prototype", {
338
+ writable: !1
339
+ }), e && pt(t, e);
340
+ }
341
+ function ze(t) {
342
+ return ze = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
343
+ return e.__proto__ || Object.getPrototypeOf(e);
344
+ }, ze(t);
345
+ }
346
+ function Cn() {
347
+ try {
348
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
349
+ }));
350
+ } catch {
351
+ }
352
+ return (Cn = function() {
353
+ return !!t;
354
+ })();
355
+ }
356
+ function xr(t) {
357
+ if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
358
+ return t;
359
+ }
360
+ function Gr(t, e) {
361
+ if (e && (Ie(e) == "object" || typeof e == "function")) return e;
362
+ if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
363
+ return xr(t);
364
+ }
365
+ function Er(t) {
366
+ var e = Cn();
367
+ return function() {
368
+ var r, i = ze(t);
369
+ if (e) {
370
+ var n = ze(this).constructor;
371
+ r = Reflect.construct(i, arguments, n);
372
+ } else r = i.apply(this, arguments);
373
+ return Gr(this, r);
374
+ };
375
+ }
376
+ function Vr(t) {
377
+ if (Array.isArray(t)) return ft(t);
378
+ }
379
+ function Sr(t) {
380
+ if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
381
+ }
382
+ function Br() {
383
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
384
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
385
+ }
386
+ function yt(t) {
387
+ return Vr(t) || Sr(t) || vn(t) || Br();
388
+ }
389
+ function Rr(t) {
390
+ if (t.sheet)
391
+ return t.sheet;
392
+ for (var e = 0; e < document.styleSheets.length; e++)
393
+ if (document.styleSheets[e].ownerNode === t)
394
+ return document.styleSheets[e];
395
+ }
396
+ function Fr(t) {
397
+ var e = document.createElement("style");
398
+ return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
399
+ }
400
+ var Xr = /* @__PURE__ */ (function() {
401
+ function t(r) {
402
+ var i = this;
403
+ this._insertTag = function(n) {
404
+ var u;
405
+ i.tags.length === 0 ? i.insertionPoint ? u = i.insertionPoint.nextSibling : i.prepend ? u = i.container.firstChild : u = i.before : u = i.tags[i.tags.length - 1].nextSibling, i.container.insertBefore(n, u), i.tags.push(n);
406
+ }, this.isSpeedy = r.speedy === void 0 ? !0 : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
407
+ }
408
+ var e = t.prototype;
409
+ return e.hydrate = function(i) {
410
+ i.forEach(this._insertTag);
411
+ }, e.insert = function(i) {
412
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Fr(this));
413
+ var n = this.tags[this.tags.length - 1];
414
+ if (this.isSpeedy) {
415
+ var u = Rr(n);
416
+ try {
417
+ u.insertRule(i, u.cssRules.length);
418
+ } catch {
419
+ }
420
+ } else
421
+ n.appendChild(document.createTextNode(i));
422
+ this.ctr++;
423
+ }, e.flush = function() {
424
+ this.tags.forEach(function(i) {
425
+ var n;
426
+ return (n = i.parentNode) == null ? void 0 : n.removeChild(i);
427
+ }), this.tags = [], this.ctr = 0;
428
+ }, t;
429
+ })(), z = "-ms-", ke = "-moz-", F = "-webkit-", hn = "comm", xt = "rule", Gt = "decl", Pr = "@import", An = "@keyframes", wr = "@layer", Tr = Math.abs, qe = String.fromCharCode, Wr = Object.assign;
430
+ function Nr(t, e) {
431
+ return Y(t, 0) ^ 45 ? (((e << 2 ^ Y(t, 0)) << 2 ^ Y(t, 1)) << 2 ^ Y(t, 2)) << 2 ^ Y(t, 3) : 0;
432
+ }
433
+ function yn(t) {
434
+ return t.trim();
435
+ }
436
+ function Zr(t, e) {
437
+ return (t = e.exec(t)) ? t[0] : t;
438
+ }
439
+ function X(t, e, r) {
440
+ return t.replace(e, r);
441
+ }
442
+ function It(t, e) {
443
+ return t.indexOf(e);
444
+ }
445
+ function Y(t, e) {
446
+ return t.charCodeAt(e) | 0;
447
+ }
448
+ function Re(t, e, r) {
449
+ return t.slice(e, r);
450
+ }
451
+ function ae(t) {
452
+ return t.length;
453
+ }
454
+ function Et(t) {
455
+ return t.length;
456
+ }
457
+ function We(t, e) {
458
+ return e.push(t), t;
459
+ }
460
+ function Mr(t, e) {
461
+ return t.map(e).join("");
462
+ }
463
+ var et = 1, xe = 1, xn = 0, Q = 0, D = 0, Ge = "";
464
+ function tt(t, e, r, i, n, u, a) {
465
+ return { value: t, root: e, parent: r, type: i, props: n, children: u, line: et, column: xe, length: a, return: "" };
466
+ }
467
+ function Ve(t, e) {
468
+ return Wr(tt("", null, null, "", null, null, 0), t, { length: -t.length }, e);
469
+ }
470
+ function Or() {
471
+ return D;
472
+ }
473
+ function Dr() {
474
+ return D = Q > 0 ? Y(Ge, --Q) : 0, xe--, D === 10 && (xe = 1, et--), D;
475
+ }
476
+ function _() {
477
+ return D = Q < xn ? Y(Ge, Q++) : 0, xe++, D === 10 && (xe = 1, et++), D;
478
+ }
479
+ function le() {
480
+ return Y(Ge, Q);
481
+ }
482
+ function He() {
483
+ return Q;
484
+ }
485
+ function Pe(t, e) {
486
+ return Re(Ge, t, e);
487
+ }
488
+ function Fe(t) {
489
+ switch (t) {
490
+ // \0 \t \n \r \s whitespace token
491
+ case 0:
492
+ case 9:
493
+ case 10:
494
+ case 13:
495
+ case 32:
496
+ return 5;
497
+ // ! + , / > @ ~ isolate token
498
+ case 33:
499
+ case 43:
500
+ case 44:
501
+ case 47:
502
+ case 62:
503
+ case 64:
504
+ case 126:
505
+ // ; { } breakpoint token
506
+ case 59:
507
+ case 123:
508
+ case 125:
509
+ return 4;
510
+ // : accompanied token
511
+ case 58:
512
+ return 3;
513
+ // " ' ( [ opening delimit token
514
+ case 34:
515
+ case 39:
516
+ case 40:
517
+ case 91:
518
+ return 2;
519
+ // ) ] closing delimit token
520
+ case 41:
521
+ case 93:
522
+ return 1;
523
+ }
524
+ return 0;
525
+ }
526
+ function Gn(t) {
527
+ return et = xe = 1, xn = ae(Ge = t), Q = 0, [];
528
+ }
529
+ function En(t) {
530
+ return Ge = "", t;
531
+ }
532
+ function Le(t) {
533
+ return yn(Pe(Q - 1, mt(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
534
+ }
535
+ function Hr(t) {
536
+ for (; (D = le()) && D < 33; )
537
+ _();
538
+ return Fe(t) > 2 || Fe(D) > 3 ? "" : " ";
539
+ }
540
+ function Lr(t, e) {
541
+ for (; --e && _() && !(D < 48 || D > 102 || D > 57 && D < 65 || D > 70 && D < 97); )
542
+ ;
543
+ return Pe(t, He() + (e < 6 && le() == 32 && _() == 32));
544
+ }
545
+ function mt(t) {
546
+ for (; _(); )
547
+ switch (D) {
548
+ // ] ) " '
549
+ case t:
550
+ return Q;
551
+ // " '
552
+ case 34:
553
+ case 39:
554
+ t !== 34 && t !== 39 && mt(D);
555
+ break;
556
+ // (
557
+ case 40:
558
+ t === 41 && mt(t);
559
+ break;
560
+ // \
561
+ case 92:
562
+ _();
563
+ break;
564
+ }
565
+ return Q;
566
+ }
567
+ function Yr(t, e) {
568
+ for (; _() && t + D !== 57; )
569
+ if (t + D === 84 && le() === 47)
570
+ break;
571
+ return "/*" + Pe(e, Q - 1) + "*" + qe(t === 47 ? t : _());
572
+ }
573
+ function Jr(t) {
574
+ for (; !Fe(le()); )
575
+ _();
576
+ return Pe(t, Q);
577
+ }
578
+ function zr(t) {
579
+ return En(Ye("", null, null, null, [""], t = Gn(t), 0, [0], t));
580
+ }
581
+ function Ye(t, e, r, i, n, u, a, c, o) {
582
+ for (var s = 0, l = 0, d = a, v = 0, I = 0, m = 0, f = 1, g = 1, p = 1, A = 0, h = "", C = n, b = u, x = i, y = h; g; )
583
+ switch (m = A, A = _()) {
584
+ // (
585
+ case 40:
586
+ if (m != 108 && Y(y, d - 1) == 58) {
587
+ It(y += X(Le(A), "&", "&\f"), "&\f") != -1 && (p = -1);
588
+ break;
589
+ }
590
+ // " ' [
591
+ case 34:
592
+ case 39:
593
+ case 91:
594
+ y += Le(A);
595
+ break;
596
+ // \t \n \r \s
597
+ case 9:
598
+ case 10:
599
+ case 13:
600
+ case 32:
601
+ y += Hr(m);
602
+ break;
603
+ // \
604
+ case 92:
605
+ y += Lr(He() - 1, 7);
606
+ continue;
607
+ // /
608
+ case 47:
609
+ switch (le()) {
610
+ case 42:
611
+ case 47:
612
+ We(kr(Yr(_(), He()), e, r), o);
613
+ break;
614
+ default:
615
+ y += "/";
616
+ }
617
+ break;
618
+ // {
619
+ case 123 * f:
620
+ c[s++] = ae(y) * p;
621
+ // } ; \0
622
+ case 125 * f:
623
+ case 59:
624
+ case 0:
625
+ switch (A) {
626
+ // \0 }
627
+ case 0:
628
+ case 125:
629
+ g = 0;
630
+ // ;
631
+ case 59 + l:
632
+ p == -1 && (y = X(y, /\f/g, "")), I > 0 && ae(y) - d && We(I > 32 ? Nt(y + ";", i, r, d - 1) : Nt(X(y, " ", "") + ";", i, r, d - 2), o);
633
+ break;
634
+ // @ ;
635
+ case 59:
636
+ y += ";";
637
+ // { rule/at-rule
638
+ default:
639
+ if (We(x = Wt(y, e, r, s, l, n, c, h, C = [], b = [], d), u), A === 123)
640
+ if (l === 0)
641
+ Ye(y, e, x, x, C, u, d, c, b);
642
+ else
643
+ switch (v === 99 && Y(y, 3) === 110 ? 100 : v) {
644
+ // d l m s
645
+ case 100:
646
+ case 108:
647
+ case 109:
648
+ case 115:
649
+ Ye(t, x, x, i && We(Wt(t, x, x, 0, 0, n, c, h, n, C = [], d), b), n, b, d, c, i ? C : b);
650
+ break;
651
+ default:
652
+ Ye(y, x, x, x, [""], b, 0, c, b);
653
+ }
654
+ }
655
+ s = l = I = 0, f = p = 1, h = y = "", d = a;
656
+ break;
657
+ // :
658
+ case 58:
659
+ d = 1 + ae(y), I = m;
660
+ default:
661
+ if (f < 1) {
662
+ if (A == 123)
663
+ --f;
664
+ else if (A == 125 && f++ == 0 && Dr() == 125)
665
+ continue;
666
+ }
667
+ switch (y += qe(A), A * f) {
668
+ // &
669
+ case 38:
670
+ p = l > 0 ? 1 : (y += "\f", -1);
671
+ break;
672
+ // ,
673
+ case 44:
674
+ c[s++] = (ae(y) - 1) * p, p = 1;
675
+ break;
676
+ // @
677
+ case 64:
678
+ le() === 45 && (y += Le(_())), v = le(), l = d = ae(h = y += Jr(He())), A++;
679
+ break;
680
+ // -
681
+ case 45:
682
+ m === 45 && ae(y) == 2 && (f = 0);
683
+ }
684
+ }
685
+ return u;
686
+ }
687
+ function Wt(t, e, r, i, n, u, a, c, o, s, l) {
688
+ for (var d = n - 1, v = n === 0 ? u : [""], I = Et(v), m = 0, f = 0, g = 0; m < i; ++m)
689
+ for (var p = 0, A = Re(t, d + 1, d = Tr(f = a[m])), h = t; p < I; ++p)
690
+ (h = yn(f > 0 ? v[p] + " " + A : X(A, /&\f/g, v[p]))) && (o[g++] = h);
691
+ return tt(t, e, r, n === 0 ? xt : c, o, s, l);
692
+ }
693
+ function kr(t, e, r) {
694
+ return tt(t, e, r, hn, qe(Or()), Re(t, 2, -2), 0);
695
+ }
696
+ function Nt(t, e, r, i) {
697
+ return tt(t, e, r, Gt, Re(t, 0, i), Re(t, i + 1, -1), i);
698
+ }
699
+ function ye(t, e) {
700
+ for (var r = "", i = Et(t), n = 0; n < i; n++)
701
+ r += e(t[n], n, t, e) || "";
702
+ return r;
703
+ }
704
+ function jr(t, e, r, i) {
705
+ switch (t.type) {
706
+ case wr:
707
+ if (t.children.length) break;
708
+ case Pr:
709
+ case Gt:
710
+ return t.return = t.return || t.value;
711
+ case hn:
712
+ return "";
713
+ case An:
714
+ return t.return = t.value + "{" + ye(t.children, i) + "}";
715
+ case xt:
716
+ t.value = t.props.join(",");
717
+ }
718
+ return ae(r = ye(t.children, i)) ? t.return = t.value + "{" + r + "}" : "";
719
+ }
720
+ function Ur(t) {
721
+ var e = Et(t);
722
+ return function(r, i, n, u) {
723
+ for (var a = "", c = 0; c < e; c++)
724
+ a += t[c](r, i, n, u) || "";
725
+ return a;
726
+ };
727
+ }
728
+ function Qr(t) {
729
+ return function(e) {
730
+ e.root || (e = e.return) && t(e);
731
+ };
732
+ }
733
+ function $r(t) {
734
+ var e = /* @__PURE__ */ Object.create(null);
735
+ return function(r) {
736
+ return e[r] === void 0 && (e[r] = t(r)), e[r];
737
+ };
738
+ }
739
+ var _r = function(e, r, i) {
740
+ for (var n = 0, u = 0; n = u, u = le(), n === 38 && u === 12 && (r[i] = 1), !Fe(u); )
741
+ _();
742
+ return Pe(e, Q);
743
+ }, Kr = function(e, r) {
744
+ var i = -1, n = 44;
745
+ do
746
+ switch (Fe(n)) {
747
+ case 0:
748
+ n === 38 && le() === 12 && (r[i] = 1), e[i] += _r(Q - 1, r, i);
749
+ break;
750
+ case 2:
751
+ e[i] += Le(n);
752
+ break;
753
+ case 4:
754
+ if (n === 44) {
755
+ e[++i] = le() === 58 ? "&\f" : "", r[i] = e[i].length;
756
+ break;
757
+ }
758
+ // fallthrough
759
+ default:
760
+ e[i] += qe(n);
761
+ }
762
+ while (n = _());
763
+ return e;
764
+ }, qr = function(e, r) {
765
+ return En(Kr(Gn(e), r));
766
+ }, Zt = /* @__PURE__ */ new WeakMap(), ei = function(e) {
767
+ if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
768
+ // negative .length indicates that this rule has been already prefixed
769
+ e.length < 1)) {
770
+ for (var r = e.value, i = e.parent, n = e.column === i.column && e.line === i.line; i.type !== "rule"; )
771
+ if (i = i.parent, !i) return;
772
+ if (!(e.props.length === 1 && r.charCodeAt(0) !== 58 && !Zt.get(i)) && !n) {
773
+ Zt.set(e, !0);
774
+ for (var u = [], a = qr(r, u), c = i.props, o = 0, s = 0; o < a.length; o++)
775
+ for (var l = 0; l < c.length; l++, s++)
776
+ e.props[s] = u[o] ? a[o].replace(/&\f/g, c[l]) : c[l] + " " + a[o];
777
+ }
778
+ }
779
+ }, ti = function(e) {
780
+ if (e.type === "decl") {
781
+ var r = e.value;
782
+ // charcode for l
783
+ r.charCodeAt(0) === 108 && // charcode for b
784
+ r.charCodeAt(2) === 98 && (e.return = "", e.value = "");
785
+ }
786
+ };
787
+ function Vn(t, e) {
788
+ switch (Nr(t, e)) {
789
+ // color-adjust
790
+ case 5103:
791
+ return F + "print-" + t + t;
792
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
793
+ case 5737:
794
+ case 4201:
795
+ case 3177:
796
+ case 3433:
797
+ case 1641:
798
+ case 4457:
799
+ case 2921:
800
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
801
+ case 5572:
802
+ case 6356:
803
+ case 5844:
804
+ case 3191:
805
+ case 6645:
806
+ case 3005:
807
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
808
+ case 6391:
809
+ case 5879:
810
+ case 5623:
811
+ case 6135:
812
+ case 4599:
813
+ case 4855:
814
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
815
+ case 4215:
816
+ case 6389:
817
+ case 5109:
818
+ case 5365:
819
+ case 5621:
820
+ case 3829:
821
+ return F + t + t;
822
+ // appearance, user-select, transform, hyphens, text-size-adjust
823
+ case 5349:
824
+ case 4246:
825
+ case 4810:
826
+ case 6968:
827
+ case 2756:
828
+ return F + t + ke + t + z + t + t;
829
+ // flex, flex-direction
830
+ case 6828:
831
+ case 4268:
832
+ return F + t + z + t + t;
833
+ // order
834
+ case 6165:
835
+ return F + t + z + "flex-" + t + t;
836
+ // align-items
837
+ case 5187:
838
+ return F + t + X(t, /(\w+).+(:[^]+)/, F + "box-$1$2" + z + "flex-$1$2") + t;
839
+ // align-self
840
+ case 5443:
841
+ return F + t + z + "flex-item-" + X(t, /flex-|-self/, "") + t;
842
+ // align-content
843
+ case 4675:
844
+ return F + t + z + "flex-line-pack" + X(t, /align-content|flex-|-self/, "") + t;
845
+ // flex-shrink
846
+ case 5548:
847
+ return F + t + z + X(t, "shrink", "negative") + t;
848
+ // flex-basis
849
+ case 5292:
850
+ return F + t + z + X(t, "basis", "preferred-size") + t;
851
+ // flex-grow
852
+ case 6060:
853
+ return F + "box-" + X(t, "-grow", "") + F + t + z + X(t, "grow", "positive") + t;
854
+ // transition
855
+ case 4554:
856
+ return F + X(t, /([^-])(transform)/g, "$1" + F + "$2") + t;
857
+ // cursor
858
+ case 6187:
859
+ return X(X(X(t, /(zoom-|grab)/, F + "$1"), /(image-set)/, F + "$1"), t, "") + t;
860
+ // background, background-image
861
+ case 5495:
862
+ case 3959:
863
+ return X(t, /(image-set\([^]*)/, F + "$1$`$1");
864
+ // justify-content
865
+ case 4968:
866
+ return X(X(t, /(.+:)(flex-)?(.*)/, F + "box-pack:$3" + z + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + F + t + t;
867
+ // (margin|padding)-inline-(start|end)
868
+ case 4095:
869
+ case 3583:
870
+ case 4068:
871
+ case 2532:
872
+ return X(t, /(.+)-inline(.+)/, F + "$1$2") + t;
873
+ // (min|max)?(width|height|inline-size|block-size)
874
+ case 8116:
875
+ case 7059:
876
+ case 5753:
877
+ case 5535:
878
+ case 5445:
879
+ case 5701:
880
+ case 4933:
881
+ case 4677:
882
+ case 5533:
883
+ case 5789:
884
+ case 5021:
885
+ case 4765:
886
+ if (ae(t) - 1 - e > 6) switch (Y(t, e + 1)) {
887
+ // (m)ax-content, (m)in-content
888
+ case 109:
889
+ if (Y(t, e + 4) !== 45) break;
890
+ // (f)ill-available, (f)it-content
891
+ case 102:
892
+ return X(t, /(.+:)(.+)-([^]+)/, "$1" + F + "$2-$3$1" + ke + (Y(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
893
+ // (s)tretch
894
+ case 115:
895
+ return ~It(t, "stretch") ? Vn(X(t, "stretch", "fill-available"), e) + t : t;
896
+ }
897
+ break;
898
+ // position: sticky
899
+ case 4949:
900
+ if (Y(t, e + 1) !== 115) break;
901
+ // display: (flex|inline-flex)
902
+ case 6444:
903
+ switch (Y(t, ae(t) - 3 - (~It(t, "!important") && 10))) {
904
+ // stic(k)y
905
+ case 107:
906
+ return X(t, ":", ":" + F) + t;
907
+ // (inline-)?fl(e)x
908
+ case 101:
909
+ return X(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + F + (Y(t, 14) === 45 ? "inline-" : "") + "box$3$1" + F + "$2$3$1" + z + "$2box$3") + t;
910
+ }
911
+ break;
912
+ // writing-mode
913
+ case 5936:
914
+ switch (Y(t, e + 11)) {
915
+ // vertical-l(r)
916
+ case 114:
917
+ return F + t + z + X(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
918
+ // vertical-r(l)
919
+ case 108:
920
+ return F + t + z + X(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
921
+ // horizontal(-)tb
922
+ case 45:
923
+ return F + t + z + X(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
924
+ }
925
+ return F + t + z + t + t;
926
+ }
927
+ return t;
928
+ }
929
+ var ni = function(e, r, i, n) {
930
+ if (e.length > -1 && !e.return) switch (e.type) {
931
+ case Gt:
932
+ e.return = Vn(e.value, e.length);
933
+ break;
934
+ case An:
935
+ return ye([Ve(e, {
936
+ value: X(e.value, "@", "@" + F)
937
+ })], n);
938
+ case xt:
939
+ if (e.length) return Mr(e.props, function(u) {
940
+ switch (Zr(u, /(::plac\w+|:read-\w+)/)) {
941
+ // :read-(only|write)
942
+ case ":read-only":
943
+ case ":read-write":
944
+ return ye([Ve(e, {
945
+ props: [X(u, /:(read-\w+)/, ":" + ke + "$1")]
946
+ })], n);
947
+ // :placeholder
948
+ case "::placeholder":
949
+ return ye([Ve(e, {
950
+ props: [X(u, /:(plac\w+)/, ":" + F + "input-$1")]
951
+ }), Ve(e, {
952
+ props: [X(u, /:(plac\w+)/, ":" + ke + "$1")]
953
+ }), Ve(e, {
954
+ props: [X(u, /:(plac\w+)/, z + "input-$1")]
955
+ })], n);
956
+ }
957
+ return "";
958
+ });
959
+ }
960
+ }, ri = [ni], ii = function(e) {
961
+ var r = e.key;
962
+ if (r === "css") {
963
+ var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
964
+ Array.prototype.forEach.call(i, function(f) {
965
+ var g = f.getAttribute("data-emotion");
966
+ g.indexOf(" ") !== -1 && (document.head.appendChild(f), f.setAttribute("data-s", ""));
967
+ });
968
+ }
969
+ var n = e.stylisPlugins || ri, u = {}, a, c = [];
970
+ a = e.container || document.head, Array.prototype.forEach.call(
971
+ // this means we will ignore elements which don't have a space in them which
972
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
973
+ document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
974
+ function(f) {
975
+ for (var g = f.getAttribute("data-emotion").split(" "), p = 1; p < g.length; p++)
976
+ u[g[p]] = !0;
977
+ c.push(f);
978
+ }
979
+ );
980
+ var o, s = [ei, ti];
171
981
  {
172
- ...o,
173
- "data-error": r || null,
174
- className: `border border-gray-5 rounded-sm text-base leading-5 px-[0.94rem] py-[0.69rem] focus-within:border-transparent focus-within:outline-blue-4 data-error:border-red-4 data-error:outline-red-4 ${t ?? ""}`.trim(),
175
- children: a.map((n) => /* @__PURE__ */ e("option", { className: "hover:bg-gray-3", value: n.value, children: n.label }, [o.name, n.label].join()))
982
+ var l, d = [jr, Qr(function(f) {
983
+ l.insert(f);
984
+ })], v = Ur(s.concat(n, d)), I = function(g) {
985
+ return ye(zr(g), v);
986
+ };
987
+ o = function(g, p, A, h) {
988
+ l = A, I(g ? g + "{" + p.styles + "}" : p.styles), h && (m.inserted[p.name] = !0);
989
+ };
990
+ }
991
+ var m = {
992
+ key: r,
993
+ sheet: new Xr({
994
+ key: r,
995
+ container: a,
996
+ nonce: e.nonce,
997
+ speedy: e.speedy,
998
+ prepend: e.prepend,
999
+ insertionPoint: e.insertionPoint
1000
+ }),
1001
+ nonce: e.nonce,
1002
+ inserted: u,
1003
+ registered: {},
1004
+ insert: o
1005
+ };
1006
+ return m.sheet.hydrate(c), m;
1007
+ }, Ne = { exports: {} }, P = {};
1008
+ var Mt;
1009
+ function ui() {
1010
+ if (Mt) return P;
1011
+ Mt = 1;
1012
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, n = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, u = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = t ? /* @__PURE__ */ Symbol.for("react.context") : 60110, o = t ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, s = t ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, l = t ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = t ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, v = t ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, I = t ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, m = t ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, f = t ? /* @__PURE__ */ Symbol.for("react.block") : 60121, g = t ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, p = t ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, A = t ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1013
+ function h(b) {
1014
+ if (typeof b == "object" && b !== null) {
1015
+ var x = b.$$typeof;
1016
+ switch (x) {
1017
+ case e:
1018
+ switch (b = b.type, b) {
1019
+ case o:
1020
+ case s:
1021
+ case i:
1022
+ case u:
1023
+ case n:
1024
+ case d:
1025
+ return b;
1026
+ default:
1027
+ switch (b = b && b.$$typeof, b) {
1028
+ case c:
1029
+ case l:
1030
+ case m:
1031
+ case I:
1032
+ case a:
1033
+ return b;
1034
+ default:
1035
+ return x;
1036
+ }
1037
+ }
1038
+ case r:
1039
+ return x;
1040
+ }
1041
+ }
1042
+ }
1043
+ function C(b) {
1044
+ return h(b) === s;
1045
+ }
1046
+ return P.AsyncMode = o, P.ConcurrentMode = s, P.ContextConsumer = c, P.ContextProvider = a, P.Element = e, P.ForwardRef = l, P.Fragment = i, P.Lazy = m, P.Memo = I, P.Portal = r, P.Profiler = u, P.StrictMode = n, P.Suspense = d, P.isAsyncMode = function(b) {
1047
+ return C(b) || h(b) === o;
1048
+ }, P.isConcurrentMode = C, P.isContextConsumer = function(b) {
1049
+ return h(b) === c;
1050
+ }, P.isContextProvider = function(b) {
1051
+ return h(b) === a;
1052
+ }, P.isElement = function(b) {
1053
+ return typeof b == "object" && b !== null && b.$$typeof === e;
1054
+ }, P.isForwardRef = function(b) {
1055
+ return h(b) === l;
1056
+ }, P.isFragment = function(b) {
1057
+ return h(b) === i;
1058
+ }, P.isLazy = function(b) {
1059
+ return h(b) === m;
1060
+ }, P.isMemo = function(b) {
1061
+ return h(b) === I;
1062
+ }, P.isPortal = function(b) {
1063
+ return h(b) === r;
1064
+ }, P.isProfiler = function(b) {
1065
+ return h(b) === u;
1066
+ }, P.isStrictMode = function(b) {
1067
+ return h(b) === n;
1068
+ }, P.isSuspense = function(b) {
1069
+ return h(b) === d;
1070
+ }, P.isValidElementType = function(b) {
1071
+ return typeof b == "string" || typeof b == "function" || b === i || b === s || b === u || b === n || b === d || b === v || typeof b == "object" && b !== null && (b.$$typeof === m || b.$$typeof === I || b.$$typeof === a || b.$$typeof === c || b.$$typeof === l || b.$$typeof === g || b.$$typeof === p || b.$$typeof === A || b.$$typeof === f);
1072
+ }, P.typeOf = h, P;
1073
+ }
1074
+ var w = {};
1075
+ var Ot;
1076
+ function oi() {
1077
+ return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && (function() {
1078
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, n = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, u = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = t ? /* @__PURE__ */ Symbol.for("react.context") : 60110, o = t ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, s = t ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, l = t ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = t ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, v = t ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, I = t ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, m = t ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, f = t ? /* @__PURE__ */ Symbol.for("react.block") : 60121, g = t ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, p = t ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, A = t ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1079
+ function h(G) {
1080
+ return typeof G == "string" || typeof G == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1081
+ G === i || G === s || G === u || G === n || G === d || G === v || typeof G == "object" && G !== null && (G.$$typeof === m || G.$$typeof === I || G.$$typeof === a || G.$$typeof === c || G.$$typeof === l || G.$$typeof === g || G.$$typeof === p || G.$$typeof === A || G.$$typeof === f);
1082
+ }
1083
+ function C(G) {
1084
+ if (typeof G == "object" && G !== null) {
1085
+ var Ee = G.$$typeof;
1086
+ switch (Ee) {
1087
+ case e:
1088
+ var pe = G.type;
1089
+ switch (pe) {
1090
+ case o:
1091
+ case s:
1092
+ case i:
1093
+ case u:
1094
+ case n:
1095
+ case d:
1096
+ return pe;
1097
+ default:
1098
+ var Te = pe && pe.$$typeof;
1099
+ switch (Te) {
1100
+ case c:
1101
+ case l:
1102
+ case m:
1103
+ case I:
1104
+ case a:
1105
+ return Te;
1106
+ default:
1107
+ return Ee;
1108
+ }
1109
+ }
1110
+ case r:
1111
+ return Ee;
1112
+ }
1113
+ }
1114
+ }
1115
+ var b = o, x = s, y = c, B = a, T = e, H = l, J = i, L = m, q = I, ee = r, M = u, N = n, K = d, k = !1;
1116
+ function ie(G) {
1117
+ return k || (k = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), te(G) || C(G) === o;
1118
+ }
1119
+ function te(G) {
1120
+ return C(G) === s;
1121
+ }
1122
+ function me(G) {
1123
+ return C(G) === c;
1124
+ }
1125
+ function Z(G) {
1126
+ return C(G) === a;
1127
+ }
1128
+ function j(G) {
1129
+ return typeof G == "object" && G !== null && G.$$typeof === e;
1130
+ }
1131
+ function ne(G) {
1132
+ return C(G) === l;
1133
+ }
1134
+ function ue(G) {
1135
+ return C(G) === i;
1136
+ }
1137
+ function $(G) {
1138
+ return C(G) === m;
1139
+ }
1140
+ function oe(G) {
1141
+ return C(G) === I;
1142
+ }
1143
+ function re(G) {
1144
+ return C(G) === r;
1145
+ }
1146
+ function ve(G) {
1147
+ return C(G) === u;
1148
+ }
1149
+ function it(G) {
1150
+ return C(G) === n;
1151
+ }
1152
+ function we(G) {
1153
+ return C(G) === d;
1154
+ }
1155
+ w.AsyncMode = b, w.ConcurrentMode = x, w.ContextConsumer = y, w.ContextProvider = B, w.Element = T, w.ForwardRef = H, w.Fragment = J, w.Lazy = L, w.Memo = q, w.Portal = ee, w.Profiler = M, w.StrictMode = N, w.Suspense = K, w.isAsyncMode = ie, w.isConcurrentMode = te, w.isContextConsumer = me, w.isContextProvider = Z, w.isElement = j, w.isForwardRef = ne, w.isFragment = ue, w.isLazy = $, w.isMemo = oe, w.isPortal = re, w.isProfiler = ve, w.isStrictMode = it, w.isSuspense = we, w.isValidElementType = h, w.typeOf = C;
1156
+ })()), w;
1157
+ }
1158
+ var Dt;
1159
+ function ai() {
1160
+ return Dt || (Dt = 1, process.env.NODE_ENV === "production" ? Ne.exports = ui() : Ne.exports = oi()), Ne.exports;
1161
+ }
1162
+ var ut, Ht;
1163
+ function si() {
1164
+ if (Ht) return ut;
1165
+ Ht = 1;
1166
+ var t = ai(), e = {
1167
+ childContextTypes: !0,
1168
+ contextType: !0,
1169
+ contextTypes: !0,
1170
+ defaultProps: !0,
1171
+ displayName: !0,
1172
+ getDefaultProps: !0,
1173
+ getDerivedStateFromError: !0,
1174
+ getDerivedStateFromProps: !0,
1175
+ mixins: !0,
1176
+ propTypes: !0,
1177
+ type: !0
1178
+ }, r = {
1179
+ name: !0,
1180
+ length: !0,
1181
+ prototype: !0,
1182
+ caller: !0,
1183
+ callee: !0,
1184
+ arguments: !0,
1185
+ arity: !0
1186
+ }, i = {
1187
+ $$typeof: !0,
1188
+ render: !0,
1189
+ defaultProps: !0,
1190
+ displayName: !0,
1191
+ propTypes: !0
1192
+ }, n = {
1193
+ $$typeof: !0,
1194
+ compare: !0,
1195
+ defaultProps: !0,
1196
+ displayName: !0,
1197
+ propTypes: !0,
1198
+ type: !0
1199
+ }, u = {};
1200
+ u[t.ForwardRef] = i, u[t.Memo] = n;
1201
+ function a(m) {
1202
+ return t.isMemo(m) ? n : u[m.$$typeof] || e;
1203
+ }
1204
+ var c = Object.defineProperty, o = Object.getOwnPropertyNames, s = Object.getOwnPropertySymbols, l = Object.getOwnPropertyDescriptor, d = Object.getPrototypeOf, v = Object.prototype;
1205
+ function I(m, f, g) {
1206
+ if (typeof f != "string") {
1207
+ if (v) {
1208
+ var p = d(f);
1209
+ p && p !== v && I(m, p, g);
1210
+ }
1211
+ var A = o(f);
1212
+ s && (A = A.concat(s(f)));
1213
+ for (var h = a(m), C = a(f), b = 0; b < A.length; ++b) {
1214
+ var x = A[b];
1215
+ if (!r[x] && !(g && g[x]) && !(C && C[x]) && !(h && h[x])) {
1216
+ var y = l(f, x);
1217
+ try {
1218
+ c(m, x, y);
1219
+ } catch {
1220
+ }
1221
+ }
1222
+ }
1223
+ }
1224
+ return m;
1225
+ }
1226
+ return ut = I, ut;
1227
+ }
1228
+ si();
1229
+ var ci = !0;
1230
+ function li(t, e, r) {
1231
+ var i = "";
1232
+ return r.split(" ").forEach(function(n) {
1233
+ t[n] !== void 0 ? e.push(t[n] + ";") : n && (i += n + " ");
1234
+ }), i;
1235
+ }
1236
+ var Sn = function(e, r, i) {
1237
+ var n = e.key + "-" + r.name;
1238
+ // we only need to add the styles to the registered cache if the
1239
+ // class name could be used further down
1240
+ // the tree but if it's a string tag, we know it won't
1241
+ // so we don't have to add it to registered cache.
1242
+ // this improves memory usage since we can avoid storing the whole style string
1243
+ (i === !1 || // we need to always store it if we're in compat mode and
1244
+ // in node since emotion-server relies on whether a style is in
1245
+ // the registered cache to know whether a style is global or not
1246
+ // also, note that this check will be dead code eliminated in the browser
1247
+ ci === !1) && e.registered[n] === void 0 && (e.registered[n] = r.styles);
1248
+ }, di = function(e, r, i) {
1249
+ Sn(e, r, i);
1250
+ var n = e.key + "-" + r.name;
1251
+ if (e.inserted[r.name] === void 0) {
1252
+ var u = r;
1253
+ do
1254
+ e.insert(r === u ? "." + n : "", u, e.sheet, !0), u = u.next;
1255
+ while (u !== void 0);
1256
+ }
1257
+ };
1258
+ function gi(t) {
1259
+ for (var e = 0, r, i = 0, n = t.length; n >= 4; ++i, n -= 4)
1260
+ r = t.charCodeAt(i) & 255 | (t.charCodeAt(++i) & 255) << 8 | (t.charCodeAt(++i) & 255) << 16 | (t.charCodeAt(++i) & 255) << 24, r = /* Math.imul(k, m): */
1261
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
1262
+ r >>> 24, e = /* Math.imul(k, m): */
1263
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1264
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
1265
+ switch (n) {
1266
+ case 3:
1267
+ e ^= (t.charCodeAt(i + 2) & 255) << 16;
1268
+ case 2:
1269
+ e ^= (t.charCodeAt(i + 1) & 255) << 8;
1270
+ case 1:
1271
+ e ^= t.charCodeAt(i) & 255, e = /* Math.imul(h, m): */
1272
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
1273
+ }
1274
+ return e ^= e >>> 13, e = /* Math.imul(h, m): */
1275
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
1276
+ }
1277
+ var bi = {
1278
+ animationIterationCount: 1,
1279
+ aspectRatio: 1,
1280
+ borderImageOutset: 1,
1281
+ borderImageSlice: 1,
1282
+ borderImageWidth: 1,
1283
+ boxFlex: 1,
1284
+ boxFlexGroup: 1,
1285
+ boxOrdinalGroup: 1,
1286
+ columnCount: 1,
1287
+ columns: 1,
1288
+ flex: 1,
1289
+ flexGrow: 1,
1290
+ flexPositive: 1,
1291
+ flexShrink: 1,
1292
+ flexNegative: 1,
1293
+ flexOrder: 1,
1294
+ gridRow: 1,
1295
+ gridRowEnd: 1,
1296
+ gridRowSpan: 1,
1297
+ gridRowStart: 1,
1298
+ gridColumn: 1,
1299
+ gridColumnEnd: 1,
1300
+ gridColumnSpan: 1,
1301
+ gridColumnStart: 1,
1302
+ msGridRow: 1,
1303
+ msGridRowSpan: 1,
1304
+ msGridColumn: 1,
1305
+ msGridColumnSpan: 1,
1306
+ fontWeight: 1,
1307
+ lineHeight: 1,
1308
+ opacity: 1,
1309
+ order: 1,
1310
+ orphans: 1,
1311
+ scale: 1,
1312
+ tabSize: 1,
1313
+ widows: 1,
1314
+ zIndex: 1,
1315
+ zoom: 1,
1316
+ WebkitLineClamp: 1,
1317
+ // SVG-related properties
1318
+ fillOpacity: 1,
1319
+ floodOpacity: 1,
1320
+ stopOpacity: 1,
1321
+ strokeDasharray: 1,
1322
+ strokeDashoffset: 1,
1323
+ strokeMiterlimit: 1,
1324
+ strokeOpacity: 1,
1325
+ strokeWidth: 1
1326
+ }, fi = /[A-Z]|^ms/g, pi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Bn = function(e) {
1327
+ return e.charCodeAt(1) === 45;
1328
+ }, Lt = function(e) {
1329
+ return e != null && typeof e != "boolean";
1330
+ }, ot = /* @__PURE__ */ $r(function(t) {
1331
+ return Bn(t) ? t : t.replace(fi, "-$&").toLowerCase();
1332
+ }), Yt = function(e, r) {
1333
+ switch (e) {
1334
+ case "animation":
1335
+ case "animationName":
1336
+ if (typeof r == "string")
1337
+ return r.replace(pi, function(i, n, u) {
1338
+ return se = {
1339
+ name: n,
1340
+ styles: u,
1341
+ next: se
1342
+ }, n;
1343
+ });
1344
+ }
1345
+ return bi[e] !== 1 && !Bn(e) && typeof r == "number" && r !== 0 ? r + "px" : r;
1346
+ };
1347
+ function Xe(t, e, r) {
1348
+ if (r == null)
1349
+ return "";
1350
+ var i = r;
1351
+ if (i.__emotion_styles !== void 0)
1352
+ return i;
1353
+ switch (typeof r) {
1354
+ case "boolean":
1355
+ return "";
1356
+ case "object": {
1357
+ var n = r;
1358
+ if (n.anim === 1)
1359
+ return se = {
1360
+ name: n.name,
1361
+ styles: n.styles,
1362
+ next: se
1363
+ }, n.name;
1364
+ var u = r;
1365
+ if (u.styles !== void 0) {
1366
+ var a = u.next;
1367
+ if (a !== void 0)
1368
+ for (; a !== void 0; )
1369
+ se = {
1370
+ name: a.name,
1371
+ styles: a.styles,
1372
+ next: se
1373
+ }, a = a.next;
1374
+ var c = u.styles + ";";
1375
+ return c;
1376
+ }
1377
+ return Ii(t, e, r);
1378
+ }
1379
+ case "function": {
1380
+ if (t !== void 0) {
1381
+ var o = se, s = r(t);
1382
+ return se = o, Xe(t, e, s);
1383
+ }
1384
+ break;
1385
+ }
1386
+ }
1387
+ var l = r;
1388
+ return l;
1389
+ }
1390
+ function Ii(t, e, r) {
1391
+ var i = "";
1392
+ if (Array.isArray(r))
1393
+ for (var n = 0; n < r.length; n++)
1394
+ i += Xe(t, e, r[n]) + ";";
1395
+ else
1396
+ for (var u in r) {
1397
+ var a = r[u];
1398
+ if (typeof a != "object") {
1399
+ var c = a;
1400
+ Lt(c) && (i += ot(u) + ":" + Yt(u, c) + ";");
1401
+ } else if (Array.isArray(a) && typeof a[0] == "string" && e == null)
1402
+ for (var o = 0; o < a.length; o++)
1403
+ Lt(a[o]) && (i += ot(u) + ":" + Yt(u, a[o]) + ";");
1404
+ else {
1405
+ var s = Xe(t, e, a);
1406
+ switch (u) {
1407
+ case "animation":
1408
+ case "animationName": {
1409
+ i += ot(u) + ":" + s + ";";
1410
+ break;
1411
+ }
1412
+ default:
1413
+ i += u + "{" + s + "}";
1414
+ }
1415
+ }
1416
+ }
1417
+ return i;
1418
+ }
1419
+ var Jt = /label:\s*([^\s;{]+)\s*(;|$)/g, se;
1420
+ function Rn(t, e, r) {
1421
+ if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1422
+ return t[0];
1423
+ var i = !0, n = "";
1424
+ se = void 0;
1425
+ var u = t[0];
1426
+ if (u == null || u.raw === void 0)
1427
+ i = !1, n += Xe(r, e, u);
1428
+ else {
1429
+ var a = u;
1430
+ n += a[0];
1431
+ }
1432
+ for (var c = 1; c < t.length; c++)
1433
+ if (n += Xe(r, e, t[c]), i) {
1434
+ var o = u;
1435
+ n += o[c];
1436
+ }
1437
+ Jt.lastIndex = 0;
1438
+ for (var s = "", l; (l = Jt.exec(n)) !== null; )
1439
+ s += "-" + l[1];
1440
+ var d = gi(n) + s;
1441
+ return {
1442
+ name: d,
1443
+ styles: n,
1444
+ next: se
1445
+ };
1446
+ }
1447
+ var mi = function(e) {
1448
+ return e();
1449
+ }, vi = R.useInsertionEffect ? R.useInsertionEffect : !1, Ci = vi || mi, Fn = /* @__PURE__ */ R.createContext(
1450
+ // we're doing this to avoid preconstruct's dead code elimination in this one case
1451
+ // because this module is primarily intended for the browser and node
1452
+ // but it's also required in react native and similar environments sometimes
1453
+ // and we could have a special build just for that
1454
+ // but this is much easier and the native packages
1455
+ // might use a different theme context in the future anyway
1456
+ typeof HTMLElement < "u" ? /* @__PURE__ */ ii({
1457
+ key: "css"
1458
+ }) : null
1459
+ );
1460
+ Fn.Provider;
1461
+ var hi = function(e) {
1462
+ return /* @__PURE__ */ gn(function(r, i) {
1463
+ var n = bn(Fn);
1464
+ return e(r, n, i);
1465
+ });
1466
+ }, Ai = /* @__PURE__ */ R.createContext({}), Vt = {}.hasOwnProperty, vt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", yi = function(e, r) {
1467
+ var i = {};
1468
+ for (var n in r)
1469
+ Vt.call(r, n) && (i[n] = r[n]);
1470
+ return i[vt] = e, i;
1471
+ }, xi = function(e) {
1472
+ var r = e.cache, i = e.serialized, n = e.isStringTag;
1473
+ return Sn(r, i, n), Ci(function() {
1474
+ return di(r, i, n);
1475
+ }), null;
1476
+ }, Gi = /* @__PURE__ */ hi(function(t, e, r) {
1477
+ var i = t.css;
1478
+ typeof i == "string" && e.registered[i] !== void 0 && (i = e.registered[i]);
1479
+ var n = t[vt], u = [i], a = "";
1480
+ typeof t.className == "string" ? a = li(e.registered, u, t.className) : t.className != null && (a = t.className + " ");
1481
+ var c = Rn(u, void 0, R.useContext(Ai));
1482
+ a += e.key + "-" + c.name;
1483
+ var o = {};
1484
+ for (var s in t)
1485
+ Vt.call(t, s) && s !== "css" && s !== vt && (o[s] = t[s]);
1486
+ return o.className = a, r && (o.ref = r), /* @__PURE__ */ R.createElement(R.Fragment, null, /* @__PURE__ */ R.createElement(xi, {
1487
+ cache: e,
1488
+ serialized: c,
1489
+ isStringTag: typeof n == "string"
1490
+ }), /* @__PURE__ */ R.createElement(n, o));
1491
+ }), Ei = Gi, E = function(e, r) {
1492
+ var i = arguments;
1493
+ if (r == null || !Vt.call(r, "css"))
1494
+ return R.createElement.apply(void 0, i);
1495
+ var n = i.length, u = new Array(n);
1496
+ u[0] = Ei, u[1] = yi(e, r);
1497
+ for (var a = 2; a < n; a++)
1498
+ u[a] = i[a];
1499
+ return R.createElement.apply(null, u);
1500
+ };
1501
+ (function(t) {
1502
+ var e;
1503
+ e || (e = t.JSX || (t.JSX = {}));
1504
+ })(E || (E = {}));
1505
+ function St() {
1506
+ for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
1507
+ e[r] = arguments[r];
1508
+ return Rn(e);
1509
+ }
1510
+ function Vi() {
1511
+ var t = St.apply(void 0, arguments), e = "animation-" + t.name;
1512
+ return {
1513
+ name: e,
1514
+ styles: "@keyframes " + e + "{" + t.styles + "}",
1515
+ anim: 1,
1516
+ toString: function() {
1517
+ return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
1518
+ }
1519
+ };
1520
+ }
1521
+ function Si(t, e) {
1522
+ return e || (e = t.slice(0)), Object.freeze(Object.defineProperties(t, {
1523
+ raw: {
1524
+ value: Object.freeze(e)
1525
+ }
1526
+ }));
1527
+ }
1528
+ const Bi = Math.min, Ri = Math.max, je = Math.round, Ze = Math.floor, Ue = (t) => ({
1529
+ x: t,
1530
+ y: t
1531
+ });
1532
+ function Fi(t) {
1533
+ const {
1534
+ x: e,
1535
+ y: r,
1536
+ width: i,
1537
+ height: n
1538
+ } = t;
1539
+ return {
1540
+ width: i,
1541
+ height: n,
1542
+ top: r,
1543
+ left: e,
1544
+ right: e + i,
1545
+ bottom: r + n,
1546
+ x: e,
1547
+ y: r
1548
+ };
1549
+ }
1550
+ function nt() {
1551
+ return typeof window < "u";
1552
+ }
1553
+ function Xn(t) {
1554
+ return wn(t) ? (t.nodeName || "").toLowerCase() : "#document";
1555
+ }
1556
+ function be(t) {
1557
+ var e;
1558
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
1559
+ }
1560
+ function Pn(t) {
1561
+ var e;
1562
+ return (e = (wn(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
1563
+ }
1564
+ function wn(t) {
1565
+ return nt() ? t instanceof Node || t instanceof be(t).Node : !1;
1566
+ }
1567
+ function Xi(t) {
1568
+ return nt() ? t instanceof Element || t instanceof be(t).Element : !1;
1569
+ }
1570
+ function Bt(t) {
1571
+ return nt() ? t instanceof HTMLElement || t instanceof be(t).HTMLElement : !1;
1572
+ }
1573
+ function zt(t) {
1574
+ return !nt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof be(t).ShadowRoot;
1575
+ }
1576
+ const Pi = /* @__PURE__ */ new Set(["inline", "contents"]);
1577
+ function Tn(t) {
1578
+ const {
1579
+ overflow: e,
1580
+ overflowX: r,
1581
+ overflowY: i,
1582
+ display: n
1583
+ } = Rt(t);
1584
+ return /auto|scroll|overlay|hidden|clip/.test(e + i + r) && !Pi.has(n);
1585
+ }
1586
+ function wi() {
1587
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1588
+ }
1589
+ const Ti = /* @__PURE__ */ new Set(["html", "body", "#document"]);
1590
+ function Wi(t) {
1591
+ return Ti.has(Xn(t));
1592
+ }
1593
+ function Rt(t) {
1594
+ return be(t).getComputedStyle(t);
1595
+ }
1596
+ function Ni(t) {
1597
+ if (Xn(t) === "html")
1598
+ return t;
1599
+ const e = (
1600
+ // Step into the shadow DOM of the parent of a slotted node.
1601
+ t.assignedSlot || // DOM Element detected.
1602
+ t.parentNode || // ShadowRoot detected.
1603
+ zt(t) && t.host || // Fallback.
1604
+ Pn(t)
1605
+ );
1606
+ return zt(e) ? e.host : e;
1607
+ }
1608
+ function Wn(t) {
1609
+ const e = Ni(t);
1610
+ return Wi(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Bt(e) && Tn(e) ? e : Wn(e);
1611
+ }
1612
+ function Qe(t, e, r) {
1613
+ var i;
1614
+ e === void 0 && (e = []), r === void 0 && (r = !0);
1615
+ const n = Wn(t), u = n === ((i = t.ownerDocument) == null ? void 0 : i.body), a = be(n);
1616
+ if (u) {
1617
+ const c = Ct(a);
1618
+ return e.concat(a, a.visualViewport || [], Tn(n) ? n : [], c && r ? Qe(c) : []);
1619
+ }
1620
+ return e.concat(n, Qe(n, [], r));
1621
+ }
1622
+ function Ct(t) {
1623
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
1624
+ }
1625
+ function Zi(t) {
1626
+ const e = Rt(t);
1627
+ let r = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
1628
+ const n = Bt(t), u = n ? t.offsetWidth : r, a = n ? t.offsetHeight : i, c = je(r) !== u || je(i) !== a;
1629
+ return c && (r = u, i = a), {
1630
+ width: r,
1631
+ height: i,
1632
+ $: c
1633
+ };
1634
+ }
1635
+ function Ft(t) {
1636
+ return Xi(t) ? t : t.contextElement;
1637
+ }
1638
+ function kt(t) {
1639
+ const e = Ft(t);
1640
+ if (!Bt(e))
1641
+ return Ue(1);
1642
+ const r = e.getBoundingClientRect(), {
1643
+ width: i,
1644
+ height: n,
1645
+ $: u
1646
+ } = Zi(e);
1647
+ let a = (u ? je(r.width) : r.width) / i, c = (u ? je(r.height) : r.height) / n;
1648
+ return (!a || !Number.isFinite(a)) && (a = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1649
+ x: a,
1650
+ y: c
1651
+ };
1652
+ }
1653
+ const Mi = /* @__PURE__ */ Ue(0);
1654
+ function Oi(t) {
1655
+ const e = be(t);
1656
+ return !wi() || !e.visualViewport ? Mi : {
1657
+ x: e.visualViewport.offsetLeft,
1658
+ y: e.visualViewport.offsetTop
1659
+ };
1660
+ }
1661
+ function Di(t, e, r) {
1662
+ return !1;
1663
+ }
1664
+ function jt(t, e, r, i) {
1665
+ e === void 0 && (e = !1);
1666
+ const n = t.getBoundingClientRect(), u = Ft(t);
1667
+ let a = Ue(1);
1668
+ e && (a = kt(t));
1669
+ const c = Di() ? Oi(u) : Ue(0);
1670
+ let o = (n.left + c.x) / a.x, s = (n.top + c.y) / a.y, l = n.width / a.x, d = n.height / a.y;
1671
+ if (u) {
1672
+ const v = be(u), I = i;
1673
+ let m = v, f = Ct(m);
1674
+ for (; f && i && I !== m; ) {
1675
+ const g = kt(f), p = f.getBoundingClientRect(), A = Rt(f), h = p.left + (f.clientLeft + parseFloat(A.paddingLeft)) * g.x, C = p.top + (f.clientTop + parseFloat(A.paddingTop)) * g.y;
1676
+ o *= g.x, s *= g.y, l *= g.x, d *= g.y, o += h, s += C, m = be(f), f = Ct(m);
1677
+ }
1678
+ }
1679
+ return Fi({
1680
+ width: l,
1681
+ height: d,
1682
+ x: o,
1683
+ y: s
1684
+ });
1685
+ }
1686
+ function Nn(t, e) {
1687
+ return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
1688
+ }
1689
+ function Hi(t, e) {
1690
+ let r = null, i;
1691
+ const n = Pn(t);
1692
+ function u() {
1693
+ var c;
1694
+ clearTimeout(i), (c = r) == null || c.disconnect(), r = null;
1695
+ }
1696
+ function a(c, o) {
1697
+ c === void 0 && (c = !1), o === void 0 && (o = 1), u();
1698
+ const s = t.getBoundingClientRect(), {
1699
+ left: l,
1700
+ top: d,
1701
+ width: v,
1702
+ height: I
1703
+ } = s;
1704
+ if (c || e(), !v || !I)
1705
+ return;
1706
+ const m = Ze(d), f = Ze(n.clientWidth - (l + v)), g = Ze(n.clientHeight - (d + I)), p = Ze(l), h = {
1707
+ rootMargin: -m + "px " + -f + "px " + -g + "px " + -p + "px",
1708
+ threshold: Ri(0, Bi(1, o)) || 1
1709
+ };
1710
+ let C = !0;
1711
+ function b(x) {
1712
+ const y = x[0].intersectionRatio;
1713
+ if (y !== o) {
1714
+ if (!C)
1715
+ return a();
1716
+ y ? a(!1, y) : i = setTimeout(() => {
1717
+ a(!1, 1e-7);
1718
+ }, 1e3);
1719
+ }
1720
+ y === 1 && !Nn(s, t.getBoundingClientRect()) && a(), C = !1;
1721
+ }
1722
+ try {
1723
+ r = new IntersectionObserver(b, {
1724
+ ...h,
1725
+ // Handle <iframe>s
1726
+ root: n.ownerDocument
1727
+ });
1728
+ } catch {
1729
+ r = new IntersectionObserver(b, h);
1730
+ }
1731
+ r.observe(t);
1732
+ }
1733
+ return a(!0), u;
1734
+ }
1735
+ function Li(t, e, r, i) {
1736
+ i === void 0 && (i = {});
1737
+ const {
1738
+ ancestorScroll: n = !0,
1739
+ ancestorResize: u = !0,
1740
+ elementResize: a = typeof ResizeObserver == "function",
1741
+ layoutShift: c = typeof IntersectionObserver == "function",
1742
+ animationFrame: o = !1
1743
+ } = i, s = Ft(t), l = n || u ? [...s ? Qe(s) : [], ...Qe(e)] : [];
1744
+ l.forEach((p) => {
1745
+ n && p.addEventListener("scroll", r, {
1746
+ passive: !0
1747
+ }), u && p.addEventListener("resize", r);
1748
+ });
1749
+ const d = s && c ? Hi(s, r) : null;
1750
+ let v = -1, I = null;
1751
+ a && (I = new ResizeObserver((p) => {
1752
+ let [A] = p;
1753
+ A && A.target === s && I && (I.unobserve(e), cancelAnimationFrame(v), v = requestAnimationFrame(() => {
1754
+ var h;
1755
+ (h = I) == null || h.observe(e);
1756
+ })), r();
1757
+ }), s && !o && I.observe(s), I.observe(e));
1758
+ let m, f = o ? jt(t) : null;
1759
+ o && g();
1760
+ function g() {
1761
+ const p = jt(t);
1762
+ f && !Nn(f, p) && r(), f = p, m = requestAnimationFrame(g);
1763
+ }
1764
+ return r(), () => {
1765
+ var p;
1766
+ l.forEach((A) => {
1767
+ n && A.removeEventListener("scroll", r), u && A.removeEventListener("resize", r);
1768
+ }), d?.(), (p = I) == null || p.disconnect(), I = null, o && cancelAnimationFrame(m);
1769
+ };
1770
+ }
1771
+ var ht = ar, Yi = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], $e = function() {
1772
+ };
1773
+ function Ji(t, e) {
1774
+ return e ? e[0] === "-" ? t + e : t + "__" + e : t;
1775
+ }
1776
+ function zi(t, e) {
1777
+ for (var r = arguments.length, i = new Array(r > 2 ? r - 2 : 0), n = 2; n < r; n++)
1778
+ i[n - 2] = arguments[n];
1779
+ var u = [].concat(i);
1780
+ if (e && t)
1781
+ for (var a in e)
1782
+ e.hasOwnProperty(a) && e[a] && u.push("".concat(Ji(t, a)));
1783
+ return u.filter(function(c) {
1784
+ return c;
1785
+ }).map(function(c) {
1786
+ return String(c).trim();
1787
+ }).join(" ");
1788
+ }
1789
+ var Ut = function(e) {
1790
+ return eu(e) ? e.filter(Boolean) : Ie(e) === "object" && e !== null ? [e] : [];
1791
+ }, Zn = function(e) {
1792
+ 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;
1793
+ var r = fe(e, Yi);
1794
+ return V({}, r);
1795
+ }, W = function(e, r, i) {
1796
+ var n = e.cx, u = e.getStyles, a = e.getClassNames, c = e.className;
1797
+ return {
1798
+ css: u(r, e),
1799
+ className: n(i ?? {}, a(r, e), c)
1800
+ };
1801
+ };
1802
+ function rt(t) {
1803
+ return [document.documentElement, document.body, window].indexOf(t) > -1;
1804
+ }
1805
+ function ki(t) {
1806
+ return rt(t) ? window.innerHeight : t.clientHeight;
1807
+ }
1808
+ function Mn(t) {
1809
+ return rt(t) ? window.pageYOffset : t.scrollTop;
1810
+ }
1811
+ function _e(t, e) {
1812
+ if (rt(t)) {
1813
+ window.scrollTo(0, e);
1814
+ return;
1815
+ }
1816
+ t.scrollTop = e;
1817
+ }
1818
+ function ji(t) {
1819
+ var e = getComputedStyle(t), r = e.position === "absolute", i = /(auto|scroll)/;
1820
+ if (e.position === "fixed") return document.documentElement;
1821
+ for (var n = t; n = n.parentElement; )
1822
+ if (e = getComputedStyle(n), !(r && e.position === "static") && i.test(e.overflow + e.overflowY + e.overflowX))
1823
+ return n;
1824
+ return document.documentElement;
1825
+ }
1826
+ function Ui(t, e, r, i) {
1827
+ return r * ((t = t / i - 1) * t * t + 1) + e;
1828
+ }
1829
+ function Me(t, e) {
1830
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : $e, n = Mn(t), u = e - n, a = 10, c = 0;
1831
+ function o() {
1832
+ c += a;
1833
+ var s = Ui(c, n, u, r);
1834
+ _e(t, s), c < r ? window.requestAnimationFrame(o) : i(t);
1835
+ }
1836
+ o();
1837
+ }
1838
+ function Qt(t, e) {
1839
+ var r = t.getBoundingClientRect(), i = e.getBoundingClientRect(), n = e.offsetHeight / 3;
1840
+ i.bottom + n > r.bottom ? _e(t, Math.min(e.offsetTop + e.clientHeight - t.offsetHeight + n, t.scrollHeight)) : i.top - n < r.top && _e(t, Math.max(e.offsetTop - n, 0));
1841
+ }
1842
+ function Qi(t) {
1843
+ var e = t.getBoundingClientRect();
1844
+ return {
1845
+ bottom: e.bottom,
1846
+ height: e.height,
1847
+ left: e.left,
1848
+ right: e.right,
1849
+ top: e.top,
1850
+ width: e.width
1851
+ };
1852
+ }
1853
+ function $t() {
1854
+ try {
1855
+ return document.createEvent("TouchEvent"), !0;
1856
+ } catch {
1857
+ return !1;
1858
+ }
1859
+ }
1860
+ function $i() {
1861
+ try {
1862
+ return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
1863
+ } catch {
1864
+ return !1;
176
1865
  }
177
- ), V = ({ error: a, className: r, ...t }) => /* @__PURE__ */ e(
1866
+ }
1867
+ var On = !1, _i = {
1868
+ get passive() {
1869
+ return On = !0;
1870
+ }
1871
+ }, Oe = typeof window < "u" ? window : {};
1872
+ Oe.addEventListener && Oe.removeEventListener && (Oe.addEventListener("p", $e, _i), Oe.removeEventListener("p", $e, !1));
1873
+ var Ki = On;
1874
+ function qi(t) {
1875
+ return t != null;
1876
+ }
1877
+ function eu(t) {
1878
+ return Array.isArray(t);
1879
+ }
1880
+ function De(t, e, r) {
1881
+ return t ? e : r;
1882
+ }
1883
+ var tu = function(e) {
1884
+ for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
1885
+ i[n - 1] = arguments[n];
1886
+ var u = Object.entries(e).filter(function(a) {
1887
+ var c = ge(a, 1), o = c[0];
1888
+ return !i.includes(o);
1889
+ });
1890
+ return u.reduce(function(a, c) {
1891
+ var o = ge(c, 2), s = o[0], l = o[1];
1892
+ return a[s] = l, a;
1893
+ }, {});
1894
+ }, nu = ["children", "innerProps"], ru = ["children", "innerProps"];
1895
+ function iu(t) {
1896
+ var e = t.maxHeight, r = t.menuEl, i = t.minHeight, n = t.placement, u = t.shouldScroll, a = t.isFixedPosition, c = t.controlHeight, o = ji(r), s = {
1897
+ placement: "bottom",
1898
+ maxHeight: e
1899
+ };
1900
+ if (!r || !r.offsetParent) return s;
1901
+ var l = o.getBoundingClientRect(), d = l.height, v = r.getBoundingClientRect(), I = v.bottom, m = v.height, f = v.top, g = r.offsetParent.getBoundingClientRect(), p = g.top, A = a ? window.innerHeight : ki(o), h = Mn(o), C = parseInt(getComputedStyle(r).marginBottom, 10), b = parseInt(getComputedStyle(r).marginTop, 10), x = p - b, y = A - f, B = x + h, T = d - h - f, H = I - A + h + C, J = h + f - b, L = 160;
1902
+ switch (n) {
1903
+ case "auto":
1904
+ case "bottom":
1905
+ if (y >= m)
1906
+ return {
1907
+ placement: "bottom",
1908
+ maxHeight: e
1909
+ };
1910
+ if (T >= m && !a)
1911
+ return u && Me(o, H, L), {
1912
+ placement: "bottom",
1913
+ maxHeight: e
1914
+ };
1915
+ if (!a && T >= i || a && y >= i) {
1916
+ u && Me(o, H, L);
1917
+ var q = a ? y - C : T - C;
1918
+ return {
1919
+ placement: "bottom",
1920
+ maxHeight: q
1921
+ };
1922
+ }
1923
+ if (n === "auto" || a) {
1924
+ var ee = e, M = a ? x : B;
1925
+ return M >= i && (ee = Math.min(M - C - c, e)), {
1926
+ placement: "top",
1927
+ maxHeight: ee
1928
+ };
1929
+ }
1930
+ if (n === "bottom")
1931
+ return u && _e(o, H), {
1932
+ placement: "bottom",
1933
+ maxHeight: e
1934
+ };
1935
+ break;
1936
+ case "top":
1937
+ if (x >= m)
1938
+ return {
1939
+ placement: "top",
1940
+ maxHeight: e
1941
+ };
1942
+ if (B >= m && !a)
1943
+ return u && Me(o, J, L), {
1944
+ placement: "top",
1945
+ maxHeight: e
1946
+ };
1947
+ if (!a && B >= i || a && x >= i) {
1948
+ var N = e;
1949
+ return (!a && B >= i || a && x >= i) && (N = a ? x - b : B - b), u && Me(o, J, L), {
1950
+ placement: "top",
1951
+ maxHeight: N
1952
+ };
1953
+ }
1954
+ return {
1955
+ placement: "bottom",
1956
+ maxHeight: e
1957
+ };
1958
+ default:
1959
+ throw new Error('Invalid placement provided "'.concat(n, '".'));
1960
+ }
1961
+ return s;
1962
+ }
1963
+ function uu(t) {
1964
+ var e = {
1965
+ bottom: "top",
1966
+ top: "bottom"
1967
+ };
1968
+ return t ? e[t] : "bottom";
1969
+ }
1970
+ var Dn = function(e) {
1971
+ return e === "auto" ? "bottom" : e;
1972
+ }, ou = function(e, r) {
1973
+ var i, n = e.placement, u = e.theme, a = u.borderRadius, c = u.spacing, o = u.colors;
1974
+ return V((i = {
1975
+ label: "menu"
1976
+ }, Be(i, uu(n), "100%"), Be(i, "position", "absolute"), Be(i, "width", "100%"), Be(i, "zIndex", 1), i), r ? {} : {
1977
+ backgroundColor: o.neutral0,
1978
+ borderRadius: a,
1979
+ boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
1980
+ marginBottom: c.menuGutter,
1981
+ marginTop: c.menuGutter
1982
+ });
1983
+ }, Hn = /* @__PURE__ */ sr(null), au = function(e) {
1984
+ var r = e.children, i = e.minMenuHeight, n = e.maxMenuHeight, u = e.menuPlacement, a = e.menuPosition, c = e.menuShouldScrollIntoView, o = e.theme, s = bn(Hn) || {}, l = s.setPortalPlacement, d = ce(null), v = de(n), I = ge(v, 2), m = I[0], f = I[1], g = de(null), p = ge(g, 2), A = p[0], h = p[1], C = o.spacing.controlHeight;
1985
+ return ht(function() {
1986
+ var b = d.current;
1987
+ if (b) {
1988
+ var x = a === "fixed", y = c && !x, B = iu({
1989
+ maxHeight: n,
1990
+ menuEl: b,
1991
+ minHeight: i,
1992
+ placement: u,
1993
+ shouldScroll: y,
1994
+ isFixedPosition: x,
1995
+ controlHeight: C
1996
+ });
1997
+ f(B.maxHeight), h(B.placement), l?.(B.placement);
1998
+ }
1999
+ }, [n, u, a, c, i, l, C]), r({
2000
+ ref: d,
2001
+ placerProps: V(V({}, e), {}, {
2002
+ placement: A || Dn(u),
2003
+ maxHeight: m
2004
+ })
2005
+ });
2006
+ }, su = function(e) {
2007
+ var r = e.children, i = e.innerRef, n = e.innerProps;
2008
+ return E("div", S({}, W(e, "menu", {
2009
+ menu: !0
2010
+ }), {
2011
+ ref: i
2012
+ }, n), r);
2013
+ }, cu = su, lu = function(e, r) {
2014
+ var i = e.maxHeight, n = e.theme.spacing.baseUnit;
2015
+ return V({
2016
+ maxHeight: i,
2017
+ overflowY: "auto",
2018
+ position: "relative",
2019
+ // required for offset[Height, Top] > keyboard scroll
2020
+ WebkitOverflowScrolling: "touch"
2021
+ }, r ? {} : {
2022
+ paddingBottom: n,
2023
+ paddingTop: n
2024
+ });
2025
+ }, du = function(e) {
2026
+ var r = e.children, i = e.innerProps, n = e.innerRef, u = e.isMulti;
2027
+ return E("div", S({}, W(e, "menuList", {
2028
+ "menu-list": !0,
2029
+ "menu-list--is-multi": u
2030
+ }), {
2031
+ ref: n
2032
+ }, i), r);
2033
+ }, Ln = function(e, r) {
2034
+ var i = e.theme, n = i.spacing.baseUnit, u = i.colors;
2035
+ return V({
2036
+ textAlign: "center"
2037
+ }, r ? {} : {
2038
+ color: u.neutral40,
2039
+ padding: "".concat(n * 2, "px ").concat(n * 3, "px")
2040
+ });
2041
+ }, gu = Ln, bu = Ln, fu = function(e) {
2042
+ var r = e.children, i = r === void 0 ? "No options" : r, n = e.innerProps, u = fe(e, nu);
2043
+ return E("div", S({}, W(V(V({}, u), {}, {
2044
+ children: i,
2045
+ innerProps: n
2046
+ }), "noOptionsMessage", {
2047
+ "menu-notice": !0,
2048
+ "menu-notice--no-options": !0
2049
+ }), n), i);
2050
+ }, pu = function(e) {
2051
+ var r = e.children, i = r === void 0 ? "Loading..." : r, n = e.innerProps, u = fe(e, ru);
2052
+ return E("div", S({}, W(V(V({}, u), {}, {
2053
+ children: i,
2054
+ innerProps: n
2055
+ }), "loadingMessage", {
2056
+ "menu-notice": !0,
2057
+ "menu-notice--loading": !0
2058
+ }), n), i);
2059
+ }, Iu = function(e) {
2060
+ var r = e.rect, i = e.offset, n = e.position;
2061
+ return {
2062
+ left: r.left,
2063
+ position: n,
2064
+ top: i,
2065
+ width: r.width,
2066
+ zIndex: 1
2067
+ };
2068
+ }, mu = function(e) {
2069
+ var r = e.appendTo, i = e.children, n = e.controlElement, u = e.innerProps, a = e.menuPlacement, c = e.menuPosition, o = ce(null), s = ce(null), l = de(Dn(a)), d = ge(l, 2), v = d[0], I = d[1], m = he(function() {
2070
+ return {
2071
+ setPortalPlacement: I
2072
+ };
2073
+ }, []), f = de(null), g = ge(f, 2), p = g[0], A = g[1], h = U(function() {
2074
+ if (n) {
2075
+ var y = Qi(n), B = c === "fixed" ? 0 : window.pageYOffset, T = y[v] + B;
2076
+ (T !== p?.offset || y.left !== p?.rect.left || y.width !== p?.rect.width) && A({
2077
+ offset: T,
2078
+ rect: y
2079
+ });
2080
+ }
2081
+ }, [n, c, v, p?.offset, p?.rect.left, p?.rect.width]);
2082
+ ht(function() {
2083
+ h();
2084
+ }, [h]);
2085
+ var C = U(function() {
2086
+ typeof s.current == "function" && (s.current(), s.current = null), n && o.current && (s.current = Li(n, o.current, h, {
2087
+ elementResize: "ResizeObserver" in window
2088
+ }));
2089
+ }, [n, h]);
2090
+ ht(function() {
2091
+ C();
2092
+ }, [C]);
2093
+ var b = U(function(y) {
2094
+ o.current = y, C();
2095
+ }, [C]);
2096
+ if (!r && c !== "fixed" || !p) return null;
2097
+ var x = E("div", S({
2098
+ ref: b
2099
+ }, W(V(V({}, e), {}, {
2100
+ offset: p.offset,
2101
+ position: c,
2102
+ rect: p.rect
2103
+ }), "menuPortal", {
2104
+ "menu-portal": !0
2105
+ }), u), i);
2106
+ return E(Hn.Provider, {
2107
+ value: m
2108
+ }, r ? /* @__PURE__ */ lr(x, r) : x);
2109
+ }, vu = function(e) {
2110
+ var r = e.isDisabled, i = e.isRtl;
2111
+ return {
2112
+ label: "container",
2113
+ direction: i ? "rtl" : void 0,
2114
+ pointerEvents: r ? "none" : void 0,
2115
+ // cancel mouse events when disabled
2116
+ position: "relative"
2117
+ };
2118
+ }, Cu = function(e) {
2119
+ var r = e.children, i = e.innerProps, n = e.isDisabled, u = e.isRtl;
2120
+ return E("div", S({}, W(e, "container", {
2121
+ "--is-disabled": n,
2122
+ "--is-rtl": u
2123
+ }), i), r);
2124
+ }, hu = function(e, r) {
2125
+ var i = e.theme.spacing, n = e.isMulti, u = e.hasValue, a = e.selectProps.controlShouldRenderValue;
2126
+ return V({
2127
+ alignItems: "center",
2128
+ display: n && u && a ? "flex" : "grid",
2129
+ flex: 1,
2130
+ flexWrap: "wrap",
2131
+ WebkitOverflowScrolling: "touch",
2132
+ position: "relative",
2133
+ overflow: "hidden"
2134
+ }, r ? {} : {
2135
+ padding: "".concat(i.baseUnit / 2, "px ").concat(i.baseUnit * 2, "px")
2136
+ });
2137
+ }, Au = function(e) {
2138
+ var r = e.children, i = e.innerProps, n = e.isMulti, u = e.hasValue;
2139
+ return E("div", S({}, W(e, "valueContainer", {
2140
+ "value-container": !0,
2141
+ "value-container--is-multi": n,
2142
+ "value-container--has-value": u
2143
+ }), i), r);
2144
+ }, yu = function() {
2145
+ return {
2146
+ alignItems: "center",
2147
+ alignSelf: "stretch",
2148
+ display: "flex",
2149
+ flexShrink: 0
2150
+ };
2151
+ }, xu = function(e) {
2152
+ var r = e.children, i = e.innerProps;
2153
+ return E("div", S({}, W(e, "indicatorsContainer", {
2154
+ indicators: !0
2155
+ }), i), r);
2156
+ }, _t, Gu = ["size"], Eu = ["innerProps", "isRtl", "size"];
2157
+ function Vu() {
2158
+ 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).";
2159
+ }
2160
+ var Su = process.env.NODE_ENV === "production" ? {
2161
+ name: "8mmkcg",
2162
+ styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
2163
+ } : {
2164
+ name: "tj5bde-Svg",
2165
+ styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
2166
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAg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9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
2167
+ toString: Vu
2168
+ }, Yn = function(e) {
2169
+ var r = e.size, i = fe(e, Gu);
2170
+ return E("svg", S({
2171
+ height: r,
2172
+ width: r,
2173
+ viewBox: "0 0 20 20",
2174
+ "aria-hidden": "true",
2175
+ focusable: "false",
2176
+ css: Su
2177
+ }, i));
2178
+ }, Xt = function(e) {
2179
+ return E(Yn, S({
2180
+ size: 20
2181
+ }, e), E("path", {
2182
+ 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"
2183
+ }));
2184
+ }, Jn = function(e) {
2185
+ return E(Yn, S({
2186
+ size: 20
2187
+ }, e), E("path", {
2188
+ 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"
2189
+ }));
2190
+ }, zn = function(e, r) {
2191
+ var i = e.isFocused, n = e.theme, u = n.spacing.baseUnit, a = n.colors;
2192
+ return V({
2193
+ label: "indicatorContainer",
2194
+ display: "flex",
2195
+ transition: "color 150ms"
2196
+ }, r ? {} : {
2197
+ color: i ? a.neutral60 : a.neutral20,
2198
+ padding: u * 2,
2199
+ ":hover": {
2200
+ color: i ? a.neutral80 : a.neutral40
2201
+ }
2202
+ });
2203
+ }, Bu = zn, Ru = function(e) {
2204
+ var r = e.children, i = e.innerProps;
2205
+ return E("div", S({}, W(e, "dropdownIndicator", {
2206
+ indicator: !0,
2207
+ "dropdown-indicator": !0
2208
+ }), i), r || E(Jn, null));
2209
+ }, Fu = zn, Xu = function(e) {
2210
+ var r = e.children, i = e.innerProps;
2211
+ return E("div", S({}, W(e, "clearIndicator", {
2212
+ indicator: !0,
2213
+ "clear-indicator": !0
2214
+ }), i), r || E(Xt, null));
2215
+ }, Pu = function(e, r) {
2216
+ var i = e.isDisabled, n = e.theme, u = n.spacing.baseUnit, a = n.colors;
2217
+ return V({
2218
+ label: "indicatorSeparator",
2219
+ alignSelf: "stretch",
2220
+ width: 1
2221
+ }, r ? {} : {
2222
+ backgroundColor: i ? a.neutral10 : a.neutral20,
2223
+ marginBottom: u * 2,
2224
+ marginTop: u * 2
2225
+ });
2226
+ }, wu = function(e) {
2227
+ var r = e.innerProps;
2228
+ return E("span", S({}, r, W(e, "indicatorSeparator", {
2229
+ "indicator-separator": !0
2230
+ })));
2231
+ }, Tu = Vi(_t || (_t = Si([`
2232
+ 0%, 80%, 100% { opacity: 0; }
2233
+ 40% { opacity: 1; }
2234
+ `]))), Wu = function(e, r) {
2235
+ var i = e.isFocused, n = e.size, u = e.theme, a = u.colors, c = u.spacing.baseUnit;
2236
+ return V({
2237
+ label: "loadingIndicator",
2238
+ display: "flex",
2239
+ transition: "color 150ms",
2240
+ alignSelf: "center",
2241
+ fontSize: n,
2242
+ lineHeight: 1,
2243
+ marginRight: n,
2244
+ textAlign: "center",
2245
+ verticalAlign: "middle"
2246
+ }, r ? {} : {
2247
+ color: i ? a.neutral60 : a.neutral20,
2248
+ padding: c * 2
2249
+ });
2250
+ }, at = function(e) {
2251
+ var r = e.delay, i = e.offset;
2252
+ return E("span", {
2253
+ css: /* @__PURE__ */ St({
2254
+ animation: "".concat(Tu, " 1s ease-in-out ").concat(r, "ms infinite;"),
2255
+ backgroundColor: "currentColor",
2256
+ borderRadius: "1em",
2257
+ display: "inline-block",
2258
+ marginLeft: i ? "1em" : void 0,
2259
+ height: "1em",
2260
+ verticalAlign: "top",
2261
+ width: "1em"
2262
+ }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb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emUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
2263
+ });
2264
+ }, Nu = function(e) {
2265
+ var r = e.innerProps, i = e.isRtl, n = e.size, u = n === void 0 ? 4 : n, a = fe(e, Eu);
2266
+ return E("div", S({}, W(V(V({}, a), {}, {
2267
+ innerProps: r,
2268
+ isRtl: i,
2269
+ size: u
2270
+ }), "loadingIndicator", {
2271
+ indicator: !0,
2272
+ "loading-indicator": !0
2273
+ }), r), E(at, {
2274
+ delay: 0,
2275
+ offset: i
2276
+ }), E(at, {
2277
+ delay: 160,
2278
+ offset: !0
2279
+ }), E(at, {
2280
+ delay: 320,
2281
+ offset: !i
2282
+ }));
2283
+ }, Zu = function(e, r) {
2284
+ var i = e.isDisabled, n = e.isFocused, u = e.theme, a = u.colors, c = u.borderRadius, o = u.spacing;
2285
+ return V({
2286
+ label: "control",
2287
+ alignItems: "center",
2288
+ cursor: "default",
2289
+ display: "flex",
2290
+ flexWrap: "wrap",
2291
+ justifyContent: "space-between",
2292
+ minHeight: o.controlHeight,
2293
+ outline: "0 !important",
2294
+ position: "relative",
2295
+ transition: "all 100ms"
2296
+ }, r ? {} : {
2297
+ backgroundColor: i ? a.neutral5 : a.neutral0,
2298
+ borderColor: i ? a.neutral10 : n ? a.primary : a.neutral20,
2299
+ borderRadius: c,
2300
+ borderStyle: "solid",
2301
+ borderWidth: 1,
2302
+ boxShadow: n ? "0 0 0 1px ".concat(a.primary) : void 0,
2303
+ "&:hover": {
2304
+ borderColor: n ? a.primary : a.neutral30
2305
+ }
2306
+ });
2307
+ }, Mu = function(e) {
2308
+ var r = e.children, i = e.isDisabled, n = e.isFocused, u = e.innerRef, a = e.innerProps, c = e.menuIsOpen;
2309
+ return E("div", S({
2310
+ ref: u
2311
+ }, W(e, "control", {
2312
+ control: !0,
2313
+ "control--is-disabled": i,
2314
+ "control--is-focused": n,
2315
+ "control--menu-is-open": c
2316
+ }), a, {
2317
+ "aria-disabled": i || void 0
2318
+ }), r);
2319
+ }, Ou = Mu, Du = ["data"], Hu = function(e, r) {
2320
+ var i = e.theme.spacing;
2321
+ return r ? {} : {
2322
+ paddingBottom: i.baseUnit * 2,
2323
+ paddingTop: i.baseUnit * 2
2324
+ };
2325
+ }, Lu = function(e) {
2326
+ var r = e.children, i = e.cx, n = e.getStyles, u = e.getClassNames, a = e.Heading, c = e.headingProps, o = e.innerProps, s = e.label, l = e.theme, d = e.selectProps;
2327
+ return E("div", S({}, W(e, "group", {
2328
+ group: !0
2329
+ }), o), E(a, S({}, c, {
2330
+ selectProps: d,
2331
+ theme: l,
2332
+ getStyles: n,
2333
+ getClassNames: u,
2334
+ cx: i
2335
+ }), s), E("div", null, r));
2336
+ }, Yu = function(e, r) {
2337
+ var i = e.theme, n = i.colors, u = i.spacing;
2338
+ return V({
2339
+ label: "group",
2340
+ cursor: "default",
2341
+ display: "block"
2342
+ }, r ? {} : {
2343
+ color: n.neutral40,
2344
+ fontSize: "75%",
2345
+ fontWeight: 500,
2346
+ marginBottom: "0.25em",
2347
+ paddingLeft: u.baseUnit * 3,
2348
+ paddingRight: u.baseUnit * 3,
2349
+ textTransform: "uppercase"
2350
+ });
2351
+ }, Ju = function(e) {
2352
+ var r = Zn(e);
2353
+ r.data;
2354
+ var i = fe(r, Du);
2355
+ return E("div", S({}, W(e, "groupHeading", {
2356
+ "group-heading": !0
2357
+ }), i));
2358
+ }, zu = Lu, ku = ["innerRef", "isDisabled", "isHidden", "inputClassName"], ju = function(e, r) {
2359
+ var i = e.isDisabled, n = e.value, u = e.theme, a = u.spacing, c = u.colors;
2360
+ return V(V({
2361
+ visibility: i ? "hidden" : "visible",
2362
+ // force css to recompute when value change due to @emotion bug.
2363
+ // We can remove it whenever the bug is fixed.
2364
+ transform: n ? "translateZ(0)" : ""
2365
+ }, Uu), r ? {} : {
2366
+ margin: a.baseUnit / 2,
2367
+ paddingBottom: a.baseUnit / 2,
2368
+ paddingTop: a.baseUnit / 2,
2369
+ color: c.neutral80
2370
+ });
2371
+ }, kn = {
2372
+ gridArea: "1 / 2",
2373
+ font: "inherit",
2374
+ minWidth: "2px",
2375
+ border: 0,
2376
+ margin: 0,
2377
+ outline: 0,
2378
+ padding: 0
2379
+ }, Uu = {
2380
+ flex: "1 1 auto",
2381
+ display: "inline-grid",
2382
+ gridArea: "1 / 1 / 2 / 3",
2383
+ gridTemplateColumns: "0 min-content",
2384
+ "&:after": V({
2385
+ content: 'attr(data-value) " "',
2386
+ visibility: "hidden",
2387
+ whiteSpace: "pre"
2388
+ }, kn)
2389
+ }, Qu = function(e) {
2390
+ return V({
2391
+ label: "input",
2392
+ color: "inherit",
2393
+ background: 0,
2394
+ opacity: e ? 0 : 1,
2395
+ width: "100%"
2396
+ }, kn);
2397
+ }, $u = function(e) {
2398
+ var r = e.cx, i = e.value, n = Zn(e), u = n.innerRef, a = n.isDisabled, c = n.isHidden, o = n.inputClassName, s = fe(n, ku);
2399
+ return E("div", S({}, W(e, "input", {
2400
+ "input-container": !0
2401
+ }), {
2402
+ "data-value": i || ""
2403
+ }), E("input", S({
2404
+ className: r({
2405
+ input: !0
2406
+ }, o),
2407
+ ref: u,
2408
+ style: Qu(c),
2409
+ disabled: a
2410
+ }, s)));
2411
+ }, _u = $u, Ku = function(e, r) {
2412
+ var i = e.theme, n = i.spacing, u = i.borderRadius, a = i.colors;
2413
+ return V({
2414
+ label: "multiValue",
2415
+ display: "flex",
2416
+ minWidth: 0
2417
+ }, r ? {} : {
2418
+ backgroundColor: a.neutral10,
2419
+ borderRadius: u / 2,
2420
+ margin: n.baseUnit / 2
2421
+ });
2422
+ }, qu = function(e, r) {
2423
+ var i = e.theme, n = i.borderRadius, u = i.colors, a = e.cropWithEllipsis;
2424
+ return V({
2425
+ overflow: "hidden",
2426
+ textOverflow: a || a === void 0 ? "ellipsis" : void 0,
2427
+ whiteSpace: "nowrap"
2428
+ }, r ? {} : {
2429
+ borderRadius: n / 2,
2430
+ color: u.neutral80,
2431
+ fontSize: "85%",
2432
+ padding: 3,
2433
+ paddingLeft: 6
2434
+ });
2435
+ }, eo = function(e, r) {
2436
+ var i = e.theme, n = i.spacing, u = i.borderRadius, a = i.colors, c = e.isFocused;
2437
+ return V({
2438
+ alignItems: "center",
2439
+ display: "flex"
2440
+ }, r ? {} : {
2441
+ borderRadius: u / 2,
2442
+ backgroundColor: c ? a.dangerLight : void 0,
2443
+ paddingLeft: n.baseUnit,
2444
+ paddingRight: n.baseUnit,
2445
+ ":hover": {
2446
+ backgroundColor: a.dangerLight,
2447
+ color: a.danger
2448
+ }
2449
+ });
2450
+ }, jn = function(e) {
2451
+ var r = e.children, i = e.innerProps;
2452
+ return E("div", i, r);
2453
+ }, to = jn, no = jn;
2454
+ function ro(t) {
2455
+ var e = t.children, r = t.innerProps;
2456
+ return E("div", S({
2457
+ role: "button"
2458
+ }, r), e || E(Xt, {
2459
+ size: 14
2460
+ }));
2461
+ }
2462
+ var io = function(e) {
2463
+ var r = e.children, i = e.components, n = e.data, u = e.innerProps, a = e.isDisabled, c = e.removeProps, o = e.selectProps, s = i.Container, l = i.Label, d = i.Remove;
2464
+ return E(s, {
2465
+ data: n,
2466
+ innerProps: V(V({}, W(e, "multiValue", {
2467
+ "multi-value": !0,
2468
+ "multi-value--is-disabled": a
2469
+ })), u),
2470
+ selectProps: o
2471
+ }, E(l, {
2472
+ data: n,
2473
+ innerProps: V({}, W(e, "multiValueLabel", {
2474
+ "multi-value__label": !0
2475
+ })),
2476
+ selectProps: o
2477
+ }, r), E(d, {
2478
+ data: n,
2479
+ innerProps: V(V({}, W(e, "multiValueRemove", {
2480
+ "multi-value__remove": !0
2481
+ })), {}, {
2482
+ "aria-label": "Remove ".concat(r || "option")
2483
+ }, c),
2484
+ selectProps: o
2485
+ }));
2486
+ }, uo = io, oo = function(e, r) {
2487
+ var i = e.isDisabled, n = e.isFocused, u = e.isSelected, a = e.theme, c = a.spacing, o = a.colors;
2488
+ return V({
2489
+ label: "option",
2490
+ cursor: "default",
2491
+ display: "block",
2492
+ fontSize: "inherit",
2493
+ width: "100%",
2494
+ userSelect: "none",
2495
+ WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
2496
+ }, r ? {} : {
2497
+ backgroundColor: u ? o.primary : n ? o.primary25 : "transparent",
2498
+ color: i ? o.neutral20 : u ? o.neutral0 : "inherit",
2499
+ padding: "".concat(c.baseUnit * 2, "px ").concat(c.baseUnit * 3, "px"),
2500
+ // provide some affordance on touch devices
2501
+ ":active": {
2502
+ backgroundColor: i ? void 0 : u ? o.primary : o.primary50
2503
+ }
2504
+ });
2505
+ }, ao = function(e) {
2506
+ var r = e.children, i = e.isDisabled, n = e.isFocused, u = e.isSelected, a = e.innerRef, c = e.innerProps;
2507
+ return E("div", S({}, W(e, "option", {
2508
+ option: !0,
2509
+ "option--is-disabled": i,
2510
+ "option--is-focused": n,
2511
+ "option--is-selected": u
2512
+ }), {
2513
+ ref: a,
2514
+ "aria-disabled": i
2515
+ }, c), r);
2516
+ }, so = ao, co = function(e, r) {
2517
+ var i = e.theme, n = i.spacing, u = i.colors;
2518
+ return V({
2519
+ label: "placeholder",
2520
+ gridArea: "1 / 1 / 2 / 3"
2521
+ }, r ? {} : {
2522
+ color: u.neutral50,
2523
+ marginLeft: n.baseUnit / 2,
2524
+ marginRight: n.baseUnit / 2
2525
+ });
2526
+ }, lo = function(e) {
2527
+ var r = e.children, i = e.innerProps;
2528
+ return E("div", S({}, W(e, "placeholder", {
2529
+ placeholder: !0
2530
+ }), i), r);
2531
+ }, go = lo, bo = function(e, r) {
2532
+ var i = e.isDisabled, n = e.theme, u = n.spacing, a = n.colors;
2533
+ return V({
2534
+ label: "singleValue",
2535
+ gridArea: "1 / 1 / 2 / 3",
2536
+ maxWidth: "100%",
2537
+ overflow: "hidden",
2538
+ textOverflow: "ellipsis",
2539
+ whiteSpace: "nowrap"
2540
+ }, r ? {} : {
2541
+ color: i ? a.neutral40 : a.neutral80,
2542
+ marginLeft: u.baseUnit / 2,
2543
+ marginRight: u.baseUnit / 2
2544
+ });
2545
+ }, fo = function(e) {
2546
+ var r = e.children, i = e.isDisabled, n = e.innerProps;
2547
+ return E("div", S({}, W(e, "singleValue", {
2548
+ "single-value": !0,
2549
+ "single-value--is-disabled": i
2550
+ }), n), r);
2551
+ }, po = fo, Io = {
2552
+ ClearIndicator: Xu,
2553
+ Control: Ou,
2554
+ DropdownIndicator: Ru,
2555
+ DownChevron: Jn,
2556
+ CrossIcon: Xt,
2557
+ Group: zu,
2558
+ GroupHeading: Ju,
2559
+ IndicatorsContainer: xu,
2560
+ IndicatorSeparator: wu,
2561
+ Input: _u,
2562
+ LoadingIndicator: Nu,
2563
+ Menu: cu,
2564
+ MenuList: du,
2565
+ MenuPortal: mu,
2566
+ LoadingMessage: pu,
2567
+ NoOptionsMessage: fu,
2568
+ MultiValue: uo,
2569
+ MultiValueContainer: to,
2570
+ MultiValueLabel: no,
2571
+ MultiValueRemove: ro,
2572
+ Option: so,
2573
+ Placeholder: go,
2574
+ SelectContainer: Cu,
2575
+ SingleValue: po,
2576
+ ValueContainer: Au
2577
+ }, mo = function(e) {
2578
+ return V(V({}, Io), e.components);
2579
+ }, Kt = Number.isNaN || function(e) {
2580
+ return typeof e == "number" && e !== e;
2581
+ };
2582
+ function vo(t, e) {
2583
+ return !!(t === e || Kt(t) && Kt(e));
2584
+ }
2585
+ function Co(t, e) {
2586
+ if (t.length !== e.length)
2587
+ return !1;
2588
+ for (var r = 0; r < t.length; r++)
2589
+ if (!vo(t[r], e[r]))
2590
+ return !1;
2591
+ return !0;
2592
+ }
2593
+ function ho(t, e) {
2594
+ e === void 0 && (e = Co);
2595
+ var r = null;
2596
+ function i() {
2597
+ for (var n = [], u = 0; u < arguments.length; u++)
2598
+ n[u] = arguments[u];
2599
+ if (r && r.lastThis === this && e(n, r.lastArgs))
2600
+ return r.lastResult;
2601
+ var a = t.apply(this, n);
2602
+ return r = {
2603
+ lastResult: a,
2604
+ lastArgs: n,
2605
+ lastThis: this
2606
+ }, a;
2607
+ }
2608
+ return i.clear = function() {
2609
+ r = null;
2610
+ }, i;
2611
+ }
2612
+ function Ao() {
2613
+ 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).";
2614
+ }
2615
+ var yo = process.env.NODE_ENV === "production" ? {
2616
+ name: "7pg0cj-a11yText",
2617
+ 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"
2618
+ } : {
2619
+ name: "1f43avz-a11yText-A11yText",
2620
+ 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;",
2621
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
2622
+ toString: Ao
2623
+ }, xo = function(e) {
2624
+ return E("span", S({
2625
+ css: yo
2626
+ }, e));
2627
+ }, qt = xo, Go = {
2628
+ guidance: function(e) {
2629
+ var r = e.isSearchable, i = e.isMulti, n = e.tabSelectsValue, u = e.context, a = e.isInitialFocus;
2630
+ switch (u) {
2631
+ case "menu":
2632
+ return "Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n ? ", press Tab to select the option and exit the menu" : "", ".");
2633
+ case "input":
2634
+ return a ? "".concat(e["aria-label"] || "Select", " is focused ").concat(r ? ",type to refine list" : "", ", press Down to open the menu, ").concat(i ? " press left to focus selected values" : "") : "";
2635
+ case "value":
2636
+ return "Use left and right to toggle between focused values, press Backspace to remove the currently focused value";
2637
+ default:
2638
+ return "";
2639
+ }
2640
+ },
2641
+ onChange: function(e) {
2642
+ var r = e.action, i = e.label, n = i === void 0 ? "" : i, u = e.labels, a = e.isDisabled;
2643
+ switch (r) {
2644
+ case "deselect-option":
2645
+ case "pop-value":
2646
+ case "remove-value":
2647
+ return "option ".concat(n, ", deselected.");
2648
+ case "clear":
2649
+ return "All selected options have been cleared.";
2650
+ case "initial-input-focus":
2651
+ return "option".concat(u.length > 1 ? "s" : "", " ").concat(u.join(","), ", selected.");
2652
+ case "select-option":
2653
+ return a ? "option ".concat(n, " is disabled. Select another option.") : "option ".concat(n, ", selected.");
2654
+ default:
2655
+ return "";
2656
+ }
2657
+ },
2658
+ onFocus: function(e) {
2659
+ var r = e.context, i = e.focused, n = e.options, u = e.label, a = u === void 0 ? "" : u, c = e.selectValue, o = e.isDisabled, s = e.isSelected, l = e.isAppleDevice, d = function(f, g) {
2660
+ return f && f.length ? "".concat(f.indexOf(g) + 1, " of ").concat(f.length) : "";
2661
+ };
2662
+ if (r === "value" && c)
2663
+ return "value ".concat(a, " focused, ").concat(d(c, i), ".");
2664
+ if (r === "menu" && l) {
2665
+ var v = o ? " disabled" : "", I = "".concat(s ? " selected" : "").concat(v);
2666
+ return "".concat(a).concat(I, ", ").concat(d(n, i), ".");
2667
+ }
2668
+ return "";
2669
+ },
2670
+ onFilter: function(e) {
2671
+ var r = e.inputValue, i = e.resultsMessage;
2672
+ return "".concat(i).concat(r ? " for search term " + r : "", ".");
2673
+ }
2674
+ }, Eo = function(e) {
2675
+ var r = e.ariaSelection, i = e.focusedOption, n = e.focusedValue, u = e.focusableOptions, a = e.isFocused, c = e.selectValue, o = e.selectProps, s = e.id, l = e.isAppleDevice, d = o.ariaLiveMessages, v = o.getOptionLabel, I = o.inputValue, m = o.isMulti, f = o.isOptionDisabled, g = o.isSearchable, p = o.menuIsOpen, A = o.options, h = o.screenReaderStatus, C = o.tabSelectsValue, b = o.isLoading, x = o["aria-label"], y = o["aria-live"], B = he(function() {
2676
+ return V(V({}, Go), d || {});
2677
+ }, [d]), T = he(function() {
2678
+ var M = "";
2679
+ if (r && B.onChange) {
2680
+ var N = r.option, K = r.options, k = r.removedValue, ie = r.removedValues, te = r.value, me = function(re) {
2681
+ return Array.isArray(re) ? null : re;
2682
+ }, Z = k || N || me(te), j = Z ? v(Z) : "", ne = K || ie || void 0, ue = ne ? ne.map(v) : [], $ = V({
2683
+ // multiSelected items are usually items that have already been selected
2684
+ // or set by the user as a default value so we assume they are not disabled
2685
+ isDisabled: Z && f(Z, c),
2686
+ label: j,
2687
+ labels: ue
2688
+ }, r);
2689
+ M = B.onChange($);
2690
+ }
2691
+ return M;
2692
+ }, [r, B, f, c, v]), H = he(function() {
2693
+ var M = "", N = i || n, K = !!(i && c && c.includes(i));
2694
+ if (N && B.onFocus) {
2695
+ var k = {
2696
+ focused: N,
2697
+ label: v(N),
2698
+ isDisabled: f(N, c),
2699
+ isSelected: K,
2700
+ options: u,
2701
+ context: N === i ? "menu" : "value",
2702
+ selectValue: c,
2703
+ isAppleDevice: l
2704
+ };
2705
+ M = B.onFocus(k);
2706
+ }
2707
+ return M;
2708
+ }, [i, n, v, f, B, u, c, l]), J = he(function() {
2709
+ var M = "";
2710
+ if (p && A.length && !b && B.onFilter) {
2711
+ var N = h({
2712
+ count: u.length
2713
+ });
2714
+ M = B.onFilter({
2715
+ inputValue: I,
2716
+ resultsMessage: N
2717
+ });
2718
+ }
2719
+ return M;
2720
+ }, [u, I, p, B, A, h, b]), L = r?.action === "initial-input-focus", q = he(function() {
2721
+ var M = "";
2722
+ if (B.guidance) {
2723
+ var N = n ? "value" : p ? "menu" : "input";
2724
+ M = B.guidance({
2725
+ "aria-label": x,
2726
+ context: N,
2727
+ isDisabled: i && f(i, c),
2728
+ isMulti: m,
2729
+ isSearchable: g,
2730
+ tabSelectsValue: C,
2731
+ isInitialFocus: L
2732
+ });
2733
+ }
2734
+ return M;
2735
+ }, [x, i, n, m, f, g, p, B, c, C, L]), ee = E(bt, null, E("span", {
2736
+ id: "aria-selection"
2737
+ }, T), E("span", {
2738
+ id: "aria-focused"
2739
+ }, H), E("span", {
2740
+ id: "aria-results"
2741
+ }, J), E("span", {
2742
+ id: "aria-guidance"
2743
+ }, q));
2744
+ return E(bt, null, E(qt, {
2745
+ id: s
2746
+ }, L && ee), E(qt, {
2747
+ "aria-live": y,
2748
+ "aria-atomic": "false",
2749
+ "aria-relevant": "additions text",
2750
+ role: "log"
2751
+ }, a && !L && ee));
2752
+ }, Vo = Eo, At = [{
2753
+ base: "A",
2754
+ letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
2755
+ }, {
2756
+ base: "AA",
2757
+ letters: "Ꜳ"
2758
+ }, {
2759
+ base: "AE",
2760
+ letters: "ÆǼǢ"
2761
+ }, {
2762
+ base: "AO",
2763
+ letters: "Ꜵ"
2764
+ }, {
2765
+ base: "AU",
2766
+ letters: "Ꜷ"
2767
+ }, {
2768
+ base: "AV",
2769
+ letters: "ꜸꜺ"
2770
+ }, {
2771
+ base: "AY",
2772
+ letters: "Ꜽ"
2773
+ }, {
2774
+ base: "B",
2775
+ letters: "BⒷBḂḄḆɃƂƁ"
2776
+ }, {
2777
+ base: "C",
2778
+ letters: "CⒸCĆĈĊČÇḈƇȻꜾ"
2779
+ }, {
2780
+ base: "D",
2781
+ letters: "DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"
2782
+ }, {
2783
+ base: "DZ",
2784
+ letters: "DZDŽ"
2785
+ }, {
2786
+ base: "Dz",
2787
+ letters: "DzDž"
2788
+ }, {
2789
+ base: "E",
2790
+ letters: "EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"
2791
+ }, {
2792
+ base: "F",
2793
+ letters: "FⒻFḞƑꝻ"
2794
+ }, {
2795
+ base: "G",
2796
+ letters: "GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"
2797
+ }, {
2798
+ base: "H",
2799
+ letters: "HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"
2800
+ }, {
2801
+ base: "I",
2802
+ letters: "IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"
2803
+ }, {
2804
+ base: "J",
2805
+ letters: "JⒿJĴɈ"
2806
+ }, {
2807
+ base: "K",
2808
+ letters: "KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"
2809
+ }, {
2810
+ base: "L",
2811
+ letters: "LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"
2812
+ }, {
2813
+ base: "LJ",
2814
+ letters: "LJ"
2815
+ }, {
2816
+ base: "Lj",
2817
+ letters: "Lj"
2818
+ }, {
2819
+ base: "M",
2820
+ letters: "MⓂMḾṀṂⱮƜ"
2821
+ }, {
2822
+ base: "N",
2823
+ letters: "NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"
2824
+ }, {
2825
+ base: "NJ",
2826
+ letters: "NJ"
2827
+ }, {
2828
+ base: "Nj",
2829
+ letters: "Nj"
2830
+ }, {
2831
+ base: "O",
2832
+ letters: "OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"
2833
+ }, {
2834
+ base: "OI",
2835
+ letters: "Ƣ"
2836
+ }, {
2837
+ base: "OO",
2838
+ letters: "Ꝏ"
2839
+ }, {
2840
+ base: "OU",
2841
+ letters: "Ȣ"
2842
+ }, {
2843
+ base: "P",
2844
+ letters: "PⓅPṔṖƤⱣꝐꝒꝔ"
2845
+ }, {
2846
+ base: "Q",
2847
+ letters: "QⓆQꝖꝘɊ"
2848
+ }, {
2849
+ base: "R",
2850
+ letters: "RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"
2851
+ }, {
2852
+ base: "S",
2853
+ letters: "SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"
2854
+ }, {
2855
+ base: "T",
2856
+ letters: "TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"
2857
+ }, {
2858
+ base: "TZ",
2859
+ letters: "Ꜩ"
2860
+ }, {
2861
+ base: "U",
2862
+ letters: "UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"
2863
+ }, {
2864
+ base: "V",
2865
+ letters: "VⓋVṼṾƲꝞɅ"
2866
+ }, {
2867
+ base: "VY",
2868
+ letters: "Ꝡ"
2869
+ }, {
2870
+ base: "W",
2871
+ letters: "WⓌWẀẂŴẆẄẈⱲ"
2872
+ }, {
2873
+ base: "X",
2874
+ letters: "XⓍXẊẌ"
2875
+ }, {
2876
+ base: "Y",
2877
+ letters: "YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"
2878
+ }, {
2879
+ base: "Z",
2880
+ letters: "ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"
2881
+ }, {
2882
+ base: "a",
2883
+ letters: "aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"
2884
+ }, {
2885
+ base: "aa",
2886
+ letters: "ꜳ"
2887
+ }, {
2888
+ base: "ae",
2889
+ letters: "æǽǣ"
2890
+ }, {
2891
+ base: "ao",
2892
+ letters: "ꜵ"
2893
+ }, {
2894
+ base: "au",
2895
+ letters: "ꜷ"
2896
+ }, {
2897
+ base: "av",
2898
+ letters: "ꜹꜻ"
2899
+ }, {
2900
+ base: "ay",
2901
+ letters: "ꜽ"
2902
+ }, {
2903
+ base: "b",
2904
+ letters: "bⓑbḃḅḇƀƃɓ"
2905
+ }, {
2906
+ base: "c",
2907
+ letters: "cⓒcćĉċčçḉƈȼꜿↄ"
2908
+ }, {
2909
+ base: "d",
2910
+ letters: "dⓓdḋďḍḑḓḏđƌɖɗꝺ"
2911
+ }, {
2912
+ base: "dz",
2913
+ letters: "dzdž"
2914
+ }, {
2915
+ base: "e",
2916
+ letters: "eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"
2917
+ }, {
2918
+ base: "f",
2919
+ letters: "fⓕfḟƒꝼ"
2920
+ }, {
2921
+ base: "g",
2922
+ letters: "gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"
2923
+ }, {
2924
+ base: "h",
2925
+ letters: "hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"
2926
+ }, {
2927
+ base: "hv",
2928
+ letters: "ƕ"
2929
+ }, {
2930
+ base: "i",
2931
+ letters: "iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"
2932
+ }, {
2933
+ base: "j",
2934
+ letters: "jⓙjĵǰɉ"
2935
+ }, {
2936
+ base: "k",
2937
+ letters: "kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"
2938
+ }, {
2939
+ base: "l",
2940
+ letters: "lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"
2941
+ }, {
2942
+ base: "lj",
2943
+ letters: "lj"
2944
+ }, {
2945
+ base: "m",
2946
+ letters: "mⓜmḿṁṃɱɯ"
2947
+ }, {
2948
+ base: "n",
2949
+ letters: "nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"
2950
+ }, {
2951
+ base: "nj",
2952
+ letters: "nj"
2953
+ }, {
2954
+ base: "o",
2955
+ letters: "oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"
2956
+ }, {
2957
+ base: "oi",
2958
+ letters: "ƣ"
2959
+ }, {
2960
+ base: "ou",
2961
+ letters: "ȣ"
2962
+ }, {
2963
+ base: "oo",
2964
+ letters: "ꝏ"
2965
+ }, {
2966
+ base: "p",
2967
+ letters: "pⓟpṕṗƥᵽꝑꝓꝕ"
2968
+ }, {
2969
+ base: "q",
2970
+ letters: "qⓠqɋꝗꝙ"
2971
+ }, {
2972
+ base: "r",
2973
+ letters: "rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"
2974
+ }, {
2975
+ base: "s",
2976
+ letters: "sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"
2977
+ }, {
2978
+ base: "t",
2979
+ letters: "tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"
2980
+ }, {
2981
+ base: "tz",
2982
+ letters: "ꜩ"
2983
+ }, {
2984
+ base: "u",
2985
+ letters: "uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"
2986
+ }, {
2987
+ base: "v",
2988
+ letters: "vⓥvṽṿʋꝟʌ"
2989
+ }, {
2990
+ base: "vy",
2991
+ letters: "ꝡ"
2992
+ }, {
2993
+ base: "w",
2994
+ letters: "wⓦwẁẃŵẇẅẘẉⱳ"
2995
+ }, {
2996
+ base: "x",
2997
+ letters: "xⓧxẋẍ"
2998
+ }, {
2999
+ base: "y",
3000
+ letters: "yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"
3001
+ }, {
3002
+ base: "z",
3003
+ letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ"
3004
+ }], So = new RegExp("[" + At.map(function(t) {
3005
+ return t.letters;
3006
+ }).join("") + "]", "g"), Un = {};
3007
+ for (var st = 0; st < At.length; st++)
3008
+ for (var ct = At[st], lt = 0; lt < ct.letters.length; lt++)
3009
+ Un[ct.letters[lt]] = ct.base;
3010
+ var Qn = function(e) {
3011
+ return e.replace(So, function(r) {
3012
+ return Un[r];
3013
+ });
3014
+ }, Bo = ho(Qn), en = function(e) {
3015
+ return e.replace(/^\s+|\s+$/g, "");
3016
+ }, Ro = function(e) {
3017
+ return "".concat(e.label, " ").concat(e.value);
3018
+ }, Fo = function(e) {
3019
+ return function(r, i) {
3020
+ if (r.data.__isNew__) return !0;
3021
+ var n = V({
3022
+ ignoreCase: !0,
3023
+ ignoreAccents: !0,
3024
+ stringify: Ro,
3025
+ trim: !0,
3026
+ matchFrom: "any"
3027
+ }, e), u = n.ignoreCase, a = n.ignoreAccents, c = n.stringify, o = n.trim, s = n.matchFrom, l = o ? en(i) : i, d = o ? en(c(r)) : c(r);
3028
+ return u && (l = l.toLowerCase(), d = d.toLowerCase()), a && (l = Bo(l), d = Qn(d)), s === "start" ? d.substr(0, l.length) === l : d.indexOf(l) > -1;
3029
+ };
3030
+ }, Xo = ["innerRef"];
3031
+ function Po(t) {
3032
+ var e = t.innerRef, r = fe(t, Xo), i = tu(r, "onExited", "in", "enter", "exit", "appear");
3033
+ return E("input", S({
3034
+ ref: e
3035
+ }, i, {
3036
+ css: /* @__PURE__ */ St({
3037
+ label: "dummyInput",
3038
+ // get rid of any default styles
3039
+ background: 0,
3040
+ border: 0,
3041
+ // important! this hides the flashing cursor
3042
+ caretColor: "transparent",
3043
+ fontSize: "inherit",
3044
+ gridArea: "1 / 1 / 2 / 3",
3045
+ outline: 0,
3046
+ padding: 0,
3047
+ // important! without `width` browsers won't allow focus
3048
+ width: 1,
3049
+ // remove cursor on desktop
3050
+ color: "transparent",
3051
+ // remove cursor on mobile whilst maintaining "scroll into view" behaviour
3052
+ left: -100,
3053
+ opacity: 0,
3054
+ position: "relative",
3055
+ transform: "scale(.01)"
3056
+ }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")
3057
+ }));
3058
+ }
3059
+ var wo = function(e) {
3060
+ e.cancelable && e.preventDefault(), e.stopPropagation();
3061
+ };
3062
+ function To(t) {
3063
+ var e = t.isEnabled, r = t.onBottomArrive, i = t.onBottomLeave, n = t.onTopArrive, u = t.onTopLeave, a = ce(!1), c = ce(!1), o = ce(0), s = ce(null), l = U(function(g, p) {
3064
+ if (s.current !== null) {
3065
+ var A = s.current, h = A.scrollTop, C = A.scrollHeight, b = A.clientHeight, x = s.current, y = p > 0, B = C - b - h, T = !1;
3066
+ B > p && a.current && (i && i(g), a.current = !1), y && c.current && (u && u(g), c.current = !1), y && p > B ? (r && !a.current && r(g), x.scrollTop = C, T = !0, a.current = !0) : !y && -p > h && (n && !c.current && n(g), x.scrollTop = 0, T = !0, c.current = !0), T && wo(g);
3067
+ }
3068
+ }, [r, i, n, u]), d = U(function(g) {
3069
+ l(g, g.deltaY);
3070
+ }, [l]), v = U(function(g) {
3071
+ o.current = g.changedTouches[0].clientY;
3072
+ }, []), I = U(function(g) {
3073
+ var p = o.current - g.changedTouches[0].clientY;
3074
+ l(g, p);
3075
+ }, [l]), m = U(function(g) {
3076
+ if (g) {
3077
+ var p = Ki ? {
3078
+ passive: !1
3079
+ } : !1;
3080
+ g.addEventListener("wheel", d, p), g.addEventListener("touchstart", v, p), g.addEventListener("touchmove", I, p);
3081
+ }
3082
+ }, [I, v, d]), f = U(function(g) {
3083
+ g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", v, !1), g.removeEventListener("touchmove", I, !1));
3084
+ }, [I, v, d]);
3085
+ return fn(function() {
3086
+ if (e) {
3087
+ var g = s.current;
3088
+ return m(g), function() {
3089
+ f(g);
3090
+ };
3091
+ }
3092
+ }, [e, m, f]), function(g) {
3093
+ s.current = g;
3094
+ };
3095
+ }
3096
+ var tn = ["boxSizing", "height", "overflow", "paddingRight", "position"], nn = {
3097
+ boxSizing: "border-box",
3098
+ // account for possible declaration `width: 100%;` on body
3099
+ overflow: "hidden",
3100
+ position: "relative",
3101
+ height: "100%"
3102
+ };
3103
+ function rn(t) {
3104
+ t.cancelable && t.preventDefault();
3105
+ }
3106
+ function un(t) {
3107
+ t.stopPropagation();
3108
+ }
3109
+ function on() {
3110
+ var t = this.scrollTop, e = this.scrollHeight, r = t + this.offsetHeight;
3111
+ t === 0 ? this.scrollTop = 1 : r === e && (this.scrollTop = t - 1);
3112
+ }
3113
+ function an() {
3114
+ return "ontouchstart" in window || navigator.maxTouchPoints;
3115
+ }
3116
+ var sn = !!(typeof window < "u" && window.document && window.document.createElement), Se = 0, Ce = {
3117
+ capture: !1,
3118
+ passive: !1
3119
+ };
3120
+ function Wo(t) {
3121
+ var e = t.isEnabled, r = t.accountForScrollbars, i = r === void 0 ? !0 : r, n = ce({}), u = ce(null), a = U(function(o) {
3122
+ if (sn) {
3123
+ var s = document.body, l = s && s.style;
3124
+ if (i && tn.forEach(function(m) {
3125
+ var f = l && l[m];
3126
+ n.current[m] = f;
3127
+ }), i && Se < 1) {
3128
+ var d = parseInt(n.current.paddingRight, 10) || 0, v = document.body ? document.body.clientWidth : 0, I = window.innerWidth - v + d || 0;
3129
+ Object.keys(nn).forEach(function(m) {
3130
+ var f = nn[m];
3131
+ l && (l[m] = f);
3132
+ }), l && (l.paddingRight = "".concat(I, "px"));
3133
+ }
3134
+ s && an() && (s.addEventListener("touchmove", rn, Ce), o && (o.addEventListener("touchstart", on, Ce), o.addEventListener("touchmove", un, Ce))), Se += 1;
3135
+ }
3136
+ }, [i]), c = U(function(o) {
3137
+ if (sn) {
3138
+ var s = document.body, l = s && s.style;
3139
+ Se = Math.max(Se - 1, 0), i && Se < 1 && tn.forEach(function(d) {
3140
+ var v = n.current[d];
3141
+ l && (l[d] = v);
3142
+ }), s && an() && (s.removeEventListener("touchmove", rn, Ce), o && (o.removeEventListener("touchstart", on, Ce), o.removeEventListener("touchmove", un, Ce)));
3143
+ }
3144
+ }, [i]);
3145
+ return fn(function() {
3146
+ if (e) {
3147
+ var o = u.current;
3148
+ return a(o), function() {
3149
+ c(o);
3150
+ };
3151
+ }
3152
+ }, [e, a, c]), function(o) {
3153
+ u.current = o;
3154
+ };
3155
+ }
3156
+ function No() {
3157
+ 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).";
3158
+ }
3159
+ var Zo = function(e) {
3160
+ var r = e.target;
3161
+ return r.ownerDocument.activeElement && r.ownerDocument.activeElement.blur();
3162
+ }, Mo = process.env.NODE_ENV === "production" ? {
3163
+ name: "1kfdb0e",
3164
+ styles: "position:fixed;left:0;bottom:0;right:0;top:0"
3165
+ } : {
3166
+ name: "bp8cua-ScrollManager",
3167
+ styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
3168
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmV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3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",
3169
+ toString: No
3170
+ };
3171
+ function Oo(t) {
3172
+ var e = t.children, r = t.lockEnabled, i = t.captureEnabled, n = i === void 0 ? !0 : i, u = t.onBottomArrive, a = t.onBottomLeave, c = t.onTopArrive, o = t.onTopLeave, s = To({
3173
+ isEnabled: n,
3174
+ onBottomArrive: u,
3175
+ onBottomLeave: a,
3176
+ onTopArrive: c,
3177
+ onTopLeave: o
3178
+ }), l = Wo({
3179
+ isEnabled: r
3180
+ }), d = function(I) {
3181
+ s(I), l(I);
3182
+ };
3183
+ return E(bt, null, r && E("div", {
3184
+ onClick: Zo,
3185
+ css: Mo
3186
+ }), e(d));
3187
+ }
3188
+ function Do() {
3189
+ 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).";
3190
+ }
3191
+ var Ho = process.env.NODE_ENV === "production" ? {
3192
+ name: "1a0ro4n-requiredInput",
3193
+ styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"
3194
+ } : {
3195
+ name: "5kkxb2-requiredInput-RequiredInput",
3196
+ styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",
3197
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",
3198
+ toString: Do
3199
+ }, Lo = function(e) {
3200
+ var r = e.name, i = e.onFocus;
3201
+ return E("input", {
3202
+ required: !0,
3203
+ name: r,
3204
+ tabIndex: -1,
3205
+ "aria-hidden": "true",
3206
+ onFocus: i,
3207
+ css: Ho,
3208
+ value: "",
3209
+ onChange: function() {
3210
+ }
3211
+ });
3212
+ }, Yo = Lo;
3213
+ function Pt(t) {
3214
+ var e;
3215
+ return typeof window < "u" && window.navigator != null ? t.test(((e = window.navigator.userAgentData) === null || e === void 0 ? void 0 : e.platform) || window.navigator.platform) : !1;
3216
+ }
3217
+ function Jo() {
3218
+ return Pt(/^iPhone/i);
3219
+ }
3220
+ function $n() {
3221
+ return Pt(/^Mac/i);
3222
+ }
3223
+ function zo() {
3224
+ return Pt(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
3225
+ $n() && navigator.maxTouchPoints > 1;
3226
+ }
3227
+ function ko() {
3228
+ return Jo() || zo();
3229
+ }
3230
+ function jo() {
3231
+ return $n() || ko();
3232
+ }
3233
+ var Uo = function(e) {
3234
+ return e.label;
3235
+ }, Qo = function(e) {
3236
+ return e.label;
3237
+ }, $o = function(e) {
3238
+ return e.value;
3239
+ }, _o = function(e) {
3240
+ return !!e.isDisabled;
3241
+ }, Ko = {
3242
+ clearIndicator: Fu,
3243
+ container: vu,
3244
+ control: Zu,
3245
+ dropdownIndicator: Bu,
3246
+ group: Hu,
3247
+ groupHeading: Yu,
3248
+ indicatorsContainer: yu,
3249
+ indicatorSeparator: Pu,
3250
+ input: ju,
3251
+ loadingIndicator: Wu,
3252
+ loadingMessage: bu,
3253
+ menu: ou,
3254
+ menuList: lu,
3255
+ menuPortal: Iu,
3256
+ multiValue: Ku,
3257
+ multiValueLabel: qu,
3258
+ multiValueRemove: eo,
3259
+ noOptionsMessage: gu,
3260
+ option: oo,
3261
+ placeholder: co,
3262
+ singleValue: bo,
3263
+ valueContainer: hu
3264
+ }, qo = {
3265
+ primary: "#2684FF",
3266
+ primary75: "#4C9AFF",
3267
+ primary50: "#B2D4FF",
3268
+ primary25: "#DEEBFF",
3269
+ danger: "#DE350B",
3270
+ dangerLight: "#FFBDAD",
3271
+ neutral0: "hsl(0, 0%, 100%)",
3272
+ neutral5: "hsl(0, 0%, 95%)",
3273
+ neutral10: "hsl(0, 0%, 90%)",
3274
+ neutral20: "hsl(0, 0%, 80%)",
3275
+ neutral30: "hsl(0, 0%, 70%)",
3276
+ neutral40: "hsl(0, 0%, 60%)",
3277
+ neutral50: "hsl(0, 0%, 50%)",
3278
+ neutral60: "hsl(0, 0%, 40%)",
3279
+ neutral70: "hsl(0, 0%, 30%)",
3280
+ neutral80: "hsl(0, 0%, 20%)",
3281
+ neutral90: "hsl(0, 0%, 10%)"
3282
+ }, ea = 4, _n = 4, ta = 38, na = _n * 2, ra = {
3283
+ baseUnit: _n,
3284
+ controlHeight: ta,
3285
+ menuGutter: na
3286
+ }, dt = {
3287
+ borderRadius: ea,
3288
+ colors: qo,
3289
+ spacing: ra
3290
+ }, ia = {
3291
+ "aria-live": "polite",
3292
+ backspaceRemovesValue: !0,
3293
+ blurInputOnSelect: $t(),
3294
+ captureMenuScroll: !$t(),
3295
+ classNames: {},
3296
+ closeMenuOnSelect: !0,
3297
+ closeMenuOnScroll: !1,
3298
+ components: {},
3299
+ controlShouldRenderValue: !0,
3300
+ escapeClearsValue: !1,
3301
+ filterOption: Fo(),
3302
+ formatGroupLabel: Uo,
3303
+ getOptionLabel: Qo,
3304
+ getOptionValue: $o,
3305
+ isDisabled: !1,
3306
+ isLoading: !1,
3307
+ isMulti: !1,
3308
+ isRtl: !1,
3309
+ isSearchable: !0,
3310
+ isOptionDisabled: _o,
3311
+ loadingMessage: function() {
3312
+ return "Loading...";
3313
+ },
3314
+ maxMenuHeight: 300,
3315
+ minMenuHeight: 140,
3316
+ menuIsOpen: !1,
3317
+ menuPlacement: "bottom",
3318
+ menuPosition: "absolute",
3319
+ menuShouldBlockScroll: !1,
3320
+ menuShouldScrollIntoView: !$i(),
3321
+ noOptionsMessage: function() {
3322
+ return "No options";
3323
+ },
3324
+ openMenuOnFocus: !1,
3325
+ openMenuOnClick: !0,
3326
+ options: [],
3327
+ pageSize: 5,
3328
+ placeholder: "Select...",
3329
+ screenReaderStatus: function(e) {
3330
+ var r = e.count;
3331
+ return "".concat(r, " result").concat(r !== 1 ? "s" : "", " available");
3332
+ },
3333
+ styles: {},
3334
+ tabIndex: 0,
3335
+ tabSelectsValue: !0,
3336
+ unstyled: !1
3337
+ };
3338
+ function cn(t, e, r, i) {
3339
+ var n = er(t, e, r), u = tr(t, e, r), a = qn(t, e), c = Ke(t, e);
3340
+ return {
3341
+ type: "option",
3342
+ data: e,
3343
+ isDisabled: n,
3344
+ isSelected: u,
3345
+ label: a,
3346
+ value: c,
3347
+ index: i
3348
+ };
3349
+ }
3350
+ function Je(t, e) {
3351
+ return t.options.map(function(r, i) {
3352
+ if ("options" in r) {
3353
+ var n = r.options.map(function(a, c) {
3354
+ return cn(t, a, e, c);
3355
+ }).filter(function(a) {
3356
+ return dn(t, a);
3357
+ });
3358
+ return n.length > 0 ? {
3359
+ type: "group",
3360
+ data: r,
3361
+ options: n,
3362
+ index: i
3363
+ } : void 0;
3364
+ }
3365
+ var u = cn(t, r, e, i);
3366
+ return dn(t, u) ? u : void 0;
3367
+ }).filter(qi);
3368
+ }
3369
+ function Kn(t) {
3370
+ return t.reduce(function(e, r) {
3371
+ return r.type === "group" ? e.push.apply(e, yt(r.options.map(function(i) {
3372
+ return i.data;
3373
+ }))) : e.push(r.data), e;
3374
+ }, []);
3375
+ }
3376
+ function ln(t, e) {
3377
+ return t.reduce(function(r, i) {
3378
+ return i.type === "group" ? r.push.apply(r, yt(i.options.map(function(n) {
3379
+ return {
3380
+ data: n.data,
3381
+ id: "".concat(e, "-").concat(i.index, "-").concat(n.index)
3382
+ };
3383
+ }))) : r.push({
3384
+ data: i.data,
3385
+ id: "".concat(e, "-").concat(i.index)
3386
+ }), r;
3387
+ }, []);
3388
+ }
3389
+ function ua(t, e) {
3390
+ return Kn(Je(t, e));
3391
+ }
3392
+ function dn(t, e) {
3393
+ var r = t.inputValue, i = r === void 0 ? "" : r, n = e.data, u = e.isSelected, a = e.label, c = e.value;
3394
+ return (!rr(t) || !u) && nr(t, {
3395
+ label: a,
3396
+ value: c,
3397
+ data: n
3398
+ }, i);
3399
+ }
3400
+ function oa(t, e) {
3401
+ var r = t.focusedValue, i = t.selectValue, n = i.indexOf(r);
3402
+ if (n > -1) {
3403
+ var u = e.indexOf(r);
3404
+ if (u > -1)
3405
+ return r;
3406
+ if (n < e.length)
3407
+ return e[n];
3408
+ }
3409
+ return null;
3410
+ }
3411
+ function aa(t, e) {
3412
+ var r = t.focusedOption;
3413
+ return r && e.indexOf(r) > -1 ? r : e[0];
3414
+ }
3415
+ var gt = function(e, r) {
3416
+ var i, n = (i = e.find(function(u) {
3417
+ return u.data === r;
3418
+ })) === null || i === void 0 ? void 0 : i.id;
3419
+ return n || null;
3420
+ }, qn = function(e, r) {
3421
+ return e.getOptionLabel(r);
3422
+ }, Ke = function(e, r) {
3423
+ return e.getOptionValue(r);
3424
+ };
3425
+ function er(t, e, r) {
3426
+ return typeof t.isOptionDisabled == "function" ? t.isOptionDisabled(e, r) : !1;
3427
+ }
3428
+ function tr(t, e, r) {
3429
+ if (r.indexOf(e) > -1) return !0;
3430
+ if (typeof t.isOptionSelected == "function")
3431
+ return t.isOptionSelected(e, r);
3432
+ var i = Ke(t, e);
3433
+ return r.some(function(n) {
3434
+ return Ke(t, n) === i;
3435
+ });
3436
+ }
3437
+ function nr(t, e, r) {
3438
+ return t.filterOption ? t.filterOption(e, r) : !0;
3439
+ }
3440
+ var rr = function(e) {
3441
+ var r = e.hideSelectedOptions, i = e.isMulti;
3442
+ return r === void 0 ? i : r;
3443
+ }, sa = 1, ir = /* @__PURE__ */ (function(t) {
3444
+ yr(r, t);
3445
+ var e = Er(r);
3446
+ function r(i) {
3447
+ var n;
3448
+ if (hr(this, r), n = e.call(this, i), n.state = {
3449
+ ariaSelection: null,
3450
+ focusedOption: null,
3451
+ focusedOptionId: null,
3452
+ focusableOptionsWithIds: [],
3453
+ focusedValue: null,
3454
+ inputIsHidden: !1,
3455
+ isFocused: !1,
3456
+ selectValue: [],
3457
+ clearFocusValueOnUpdate: !1,
3458
+ prevWasFocused: !1,
3459
+ inputIsHiddenAfterUpdate: void 0,
3460
+ prevProps: void 0,
3461
+ instancePrefix: "",
3462
+ isAppleDevice: !1
3463
+ }, n.blockOptionHover = !1, n.isComposing = !1, n.commonProps = void 0, n.initialTouchX = 0, n.initialTouchY = 0, n.openAfterFocus = !1, n.scrollToFocusedOptionOnUpdate = !1, n.userIsDragging = void 0, n.controlRef = null, n.getControlRef = function(o) {
3464
+ n.controlRef = o;
3465
+ }, n.focusedOptionRef = null, n.getFocusedOptionRef = function(o) {
3466
+ n.focusedOptionRef = o;
3467
+ }, n.menuListRef = null, n.getMenuListRef = function(o) {
3468
+ n.menuListRef = o;
3469
+ }, n.inputRef = null, n.getInputRef = function(o) {
3470
+ n.inputRef = o;
3471
+ }, n.focus = n.focusInput, n.blur = n.blurInput, n.onChange = function(o, s) {
3472
+ var l = n.props, d = l.onChange, v = l.name;
3473
+ s.name = v, n.ariaOnChange(o, s), d(o, s);
3474
+ }, n.setValue = function(o, s, l) {
3475
+ var d = n.props, v = d.closeMenuOnSelect, I = d.isMulti, m = d.inputValue;
3476
+ n.onInputChange("", {
3477
+ action: "set-value",
3478
+ prevInputValue: m
3479
+ }), v && (n.setState({
3480
+ inputIsHiddenAfterUpdate: !I
3481
+ }), n.onMenuClose()), n.setState({
3482
+ clearFocusValueOnUpdate: !0
3483
+ }), n.onChange(o, {
3484
+ action: s,
3485
+ option: l
3486
+ });
3487
+ }, n.selectOption = function(o) {
3488
+ var s = n.props, l = s.blurInputOnSelect, d = s.isMulti, v = s.name, I = n.state.selectValue, m = d && n.isOptionSelected(o, I), f = n.isOptionDisabled(o, I);
3489
+ if (m) {
3490
+ var g = n.getOptionValue(o);
3491
+ n.setValue(I.filter(function(p) {
3492
+ return n.getOptionValue(p) !== g;
3493
+ }), "deselect-option", o);
3494
+ } else if (!f)
3495
+ d ? n.setValue([].concat(yt(I), [o]), "select-option", o) : n.setValue(o, "select-option");
3496
+ else {
3497
+ n.ariaOnChange(o, {
3498
+ action: "select-option",
3499
+ option: o,
3500
+ name: v
3501
+ });
3502
+ return;
3503
+ }
3504
+ l && n.blurInput();
3505
+ }, n.removeValue = function(o) {
3506
+ var s = n.props.isMulti, l = n.state.selectValue, d = n.getOptionValue(o), v = l.filter(function(m) {
3507
+ return n.getOptionValue(m) !== d;
3508
+ }), I = De(s, v, v[0] || null);
3509
+ n.onChange(I, {
3510
+ action: "remove-value",
3511
+ removedValue: o
3512
+ }), n.focusInput();
3513
+ }, n.clearValue = function() {
3514
+ var o = n.state.selectValue;
3515
+ n.onChange(De(n.props.isMulti, [], null), {
3516
+ action: "clear",
3517
+ removedValues: o
3518
+ });
3519
+ }, n.popValue = function() {
3520
+ var o = n.props.isMulti, s = n.state.selectValue, l = s[s.length - 1], d = s.slice(0, s.length - 1), v = De(o, d, d[0] || null);
3521
+ l && n.onChange(v, {
3522
+ action: "pop-value",
3523
+ removedValue: l
3524
+ });
3525
+ }, n.getFocusedOptionId = function(o) {
3526
+ return gt(n.state.focusableOptionsWithIds, o);
3527
+ }, n.getFocusableOptionsWithIds = function() {
3528
+ return ln(Je(n.props, n.state.selectValue), n.getElementId("option"));
3529
+ }, n.getValue = function() {
3530
+ return n.state.selectValue;
3531
+ }, n.cx = function() {
3532
+ for (var o = arguments.length, s = new Array(o), l = 0; l < o; l++)
3533
+ s[l] = arguments[l];
3534
+ return zi.apply(void 0, [n.props.classNamePrefix].concat(s));
3535
+ }, n.getOptionLabel = function(o) {
3536
+ return qn(n.props, o);
3537
+ }, n.getOptionValue = function(o) {
3538
+ return Ke(n.props, o);
3539
+ }, n.getStyles = function(o, s) {
3540
+ var l = n.props.unstyled, d = Ko[o](s, l);
3541
+ d.boxSizing = "border-box";
3542
+ var v = n.props.styles[o];
3543
+ return v ? v(d, s) : d;
3544
+ }, n.getClassNames = function(o, s) {
3545
+ var l, d;
3546
+ return (l = (d = n.props.classNames)[o]) === null || l === void 0 ? void 0 : l.call(d, s);
3547
+ }, n.getElementId = function(o) {
3548
+ return "".concat(n.state.instancePrefix, "-").concat(o);
3549
+ }, n.getComponents = function() {
3550
+ return mo(n.props);
3551
+ }, n.buildCategorizedOptions = function() {
3552
+ return Je(n.props, n.state.selectValue);
3553
+ }, n.getCategorizedOptions = function() {
3554
+ return n.props.menuIsOpen ? n.buildCategorizedOptions() : [];
3555
+ }, n.buildFocusableOptions = function() {
3556
+ return Kn(n.buildCategorizedOptions());
3557
+ }, n.getFocusableOptions = function() {
3558
+ return n.props.menuIsOpen ? n.buildFocusableOptions() : [];
3559
+ }, n.ariaOnChange = function(o, s) {
3560
+ n.setState({
3561
+ ariaSelection: V({
3562
+ value: o
3563
+ }, s)
3564
+ });
3565
+ }, n.onMenuMouseDown = function(o) {
3566
+ o.button === 0 && (o.stopPropagation(), o.preventDefault(), n.focusInput());
3567
+ }, n.onMenuMouseMove = function(o) {
3568
+ n.blockOptionHover = !1;
3569
+ }, n.onControlMouseDown = function(o) {
3570
+ if (!o.defaultPrevented) {
3571
+ var s = n.props.openMenuOnClick;
3572
+ n.state.isFocused ? n.props.menuIsOpen ? o.target.tagName !== "INPUT" && o.target.tagName !== "TEXTAREA" && n.onMenuClose() : s && n.openMenu("first") : (s && (n.openAfterFocus = !0), n.focusInput()), o.target.tagName !== "INPUT" && o.target.tagName !== "TEXTAREA" && o.preventDefault();
3573
+ }
3574
+ }, n.onDropdownIndicatorMouseDown = function(o) {
3575
+ if (!(o && o.type === "mousedown" && o.button !== 0) && !n.props.isDisabled) {
3576
+ var s = n.props, l = s.isMulti, d = s.menuIsOpen;
3577
+ n.focusInput(), d ? (n.setState({
3578
+ inputIsHiddenAfterUpdate: !l
3579
+ }), n.onMenuClose()) : n.openMenu("first"), o.preventDefault();
3580
+ }
3581
+ }, n.onClearIndicatorMouseDown = function(o) {
3582
+ o && o.type === "mousedown" && o.button !== 0 || (n.clearValue(), o.preventDefault(), n.openAfterFocus = !1, o.type === "touchend" ? n.focusInput() : setTimeout(function() {
3583
+ return n.focusInput();
3584
+ }));
3585
+ }, n.onScroll = function(o) {
3586
+ typeof n.props.closeMenuOnScroll == "boolean" ? o.target instanceof HTMLElement && rt(o.target) && n.props.onMenuClose() : typeof n.props.closeMenuOnScroll == "function" && n.props.closeMenuOnScroll(o) && n.props.onMenuClose();
3587
+ }, n.onCompositionStart = function() {
3588
+ n.isComposing = !0;
3589
+ }, n.onCompositionEnd = function() {
3590
+ n.isComposing = !1;
3591
+ }, n.onTouchStart = function(o) {
3592
+ var s = o.touches, l = s && s.item(0);
3593
+ l && (n.initialTouchX = l.clientX, n.initialTouchY = l.clientY, n.userIsDragging = !1);
3594
+ }, n.onTouchMove = function(o) {
3595
+ var s = o.touches, l = s && s.item(0);
3596
+ if (l) {
3597
+ var d = Math.abs(l.clientX - n.initialTouchX), v = Math.abs(l.clientY - n.initialTouchY), I = 5;
3598
+ n.userIsDragging = d > I || v > I;
3599
+ }
3600
+ }, n.onTouchEnd = function(o) {
3601
+ n.userIsDragging || (n.controlRef && !n.controlRef.contains(o.target) && n.menuListRef && !n.menuListRef.contains(o.target) && n.blurInput(), n.initialTouchX = 0, n.initialTouchY = 0);
3602
+ }, n.onControlTouchEnd = function(o) {
3603
+ n.userIsDragging || n.onControlMouseDown(o);
3604
+ }, n.onClearIndicatorTouchEnd = function(o) {
3605
+ n.userIsDragging || n.onClearIndicatorMouseDown(o);
3606
+ }, n.onDropdownIndicatorTouchEnd = function(o) {
3607
+ n.userIsDragging || n.onDropdownIndicatorMouseDown(o);
3608
+ }, n.handleInputChange = function(o) {
3609
+ var s = n.props.inputValue, l = o.currentTarget.value;
3610
+ n.setState({
3611
+ inputIsHiddenAfterUpdate: !1
3612
+ }), n.onInputChange(l, {
3613
+ action: "input-change",
3614
+ prevInputValue: s
3615
+ }), n.props.menuIsOpen || n.onMenuOpen();
3616
+ }, n.onInputFocus = function(o) {
3617
+ n.props.onFocus && n.props.onFocus(o), n.setState({
3618
+ inputIsHiddenAfterUpdate: !1,
3619
+ isFocused: !0
3620
+ }), (n.openAfterFocus || n.props.openMenuOnFocus) && n.openMenu("first"), n.openAfterFocus = !1;
3621
+ }, n.onInputBlur = function(o) {
3622
+ var s = n.props.inputValue;
3623
+ if (n.menuListRef && n.menuListRef.contains(document.activeElement)) {
3624
+ n.inputRef.focus();
3625
+ return;
3626
+ }
3627
+ n.props.onBlur && n.props.onBlur(o), n.onInputChange("", {
3628
+ action: "input-blur",
3629
+ prevInputValue: s
3630
+ }), n.onMenuClose(), n.setState({
3631
+ focusedValue: null,
3632
+ isFocused: !1
3633
+ });
3634
+ }, n.onOptionHover = function(o) {
3635
+ if (!(n.blockOptionHover || n.state.focusedOption === o)) {
3636
+ var s = n.getFocusableOptions(), l = s.indexOf(o);
3637
+ n.setState({
3638
+ focusedOption: o,
3639
+ focusedOptionId: l > -1 ? n.getFocusedOptionId(o) : null
3640
+ });
3641
+ }
3642
+ }, n.shouldHideSelectedOptions = function() {
3643
+ return rr(n.props);
3644
+ }, n.onValueInputFocus = function(o) {
3645
+ o.preventDefault(), o.stopPropagation(), n.focus();
3646
+ }, n.onKeyDown = function(o) {
3647
+ var s = n.props, l = s.isMulti, d = s.backspaceRemovesValue, v = s.escapeClearsValue, I = s.inputValue, m = s.isClearable, f = s.isDisabled, g = s.menuIsOpen, p = s.onKeyDown, A = s.tabSelectsValue, h = s.openMenuOnFocus, C = n.state, b = C.focusedOption, x = C.focusedValue, y = C.selectValue;
3648
+ if (!f && !(typeof p == "function" && (p(o), o.defaultPrevented))) {
3649
+ switch (n.blockOptionHover = !0, o.key) {
3650
+ case "ArrowLeft":
3651
+ if (!l || I) return;
3652
+ n.focusValue("previous");
3653
+ break;
3654
+ case "ArrowRight":
3655
+ if (!l || I) return;
3656
+ n.focusValue("next");
3657
+ break;
3658
+ case "Delete":
3659
+ case "Backspace":
3660
+ if (I) return;
3661
+ if (x)
3662
+ n.removeValue(x);
3663
+ else {
3664
+ if (!d) return;
3665
+ l ? n.popValue() : m && n.clearValue();
3666
+ }
3667
+ break;
3668
+ case "Tab":
3669
+ if (n.isComposing || o.shiftKey || !g || !A || !b || // don't capture the event if the menu opens on focus and the focused
3670
+ // option is already selected; it breaks the flow of navigation
3671
+ h && n.isOptionSelected(b, y))
3672
+ return;
3673
+ n.selectOption(b);
3674
+ break;
3675
+ case "Enter":
3676
+ if (o.keyCode === 229)
3677
+ break;
3678
+ if (g) {
3679
+ if (!b || n.isComposing) return;
3680
+ n.selectOption(b);
3681
+ break;
3682
+ }
3683
+ return;
3684
+ case "Escape":
3685
+ g ? (n.setState({
3686
+ inputIsHiddenAfterUpdate: !1
3687
+ }), n.onInputChange("", {
3688
+ action: "menu-close",
3689
+ prevInputValue: I
3690
+ }), n.onMenuClose()) : m && v && n.clearValue();
3691
+ break;
3692
+ case " ":
3693
+ if (I)
3694
+ return;
3695
+ if (!g) {
3696
+ n.openMenu("first");
3697
+ break;
3698
+ }
3699
+ if (!b) return;
3700
+ n.selectOption(b);
3701
+ break;
3702
+ case "ArrowUp":
3703
+ g ? n.focusOption("up") : n.openMenu("last");
3704
+ break;
3705
+ case "ArrowDown":
3706
+ g ? n.focusOption("down") : n.openMenu("first");
3707
+ break;
3708
+ case "PageUp":
3709
+ if (!g) return;
3710
+ n.focusOption("pageup");
3711
+ break;
3712
+ case "PageDown":
3713
+ if (!g) return;
3714
+ n.focusOption("pagedown");
3715
+ break;
3716
+ case "Home":
3717
+ if (!g) return;
3718
+ n.focusOption("first");
3719
+ break;
3720
+ case "End":
3721
+ if (!g) return;
3722
+ n.focusOption("last");
3723
+ break;
3724
+ default:
3725
+ return;
3726
+ }
3727
+ o.preventDefault();
3728
+ }
3729
+ }, n.state.instancePrefix = "react-select-" + (n.props.instanceId || ++sa), n.state.selectValue = Ut(i.value), i.menuIsOpen && n.state.selectValue.length) {
3730
+ var u = n.getFocusableOptionsWithIds(), a = n.buildFocusableOptions(), c = a.indexOf(n.state.selectValue[0]);
3731
+ n.state.focusableOptionsWithIds = u, n.state.focusedOption = a[c], n.state.focusedOptionId = gt(u, a[c]);
3732
+ }
3733
+ return n;
3734
+ }
3735
+ return Ar(r, [{
3736
+ key: "componentDidMount",
3737
+ value: function() {
3738
+ 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 && Qt(this.menuListRef, this.focusedOptionRef), jo() && this.setState({
3739
+ isAppleDevice: !0
3740
+ });
3741
+ }
3742
+ }, {
3743
+ key: "componentDidUpdate",
3744
+ value: function(n) {
3745
+ var u = this.props, a = u.isDisabled, c = u.menuIsOpen, o = this.state.isFocused;
3746
+ // ensure focus is restored correctly when the control becomes enabled
3747
+ (o && !a && n.isDisabled || // ensure focus is on the Input when the menu opens
3748
+ o && c && !n.menuIsOpen) && this.focusInput(), o && a && !n.isDisabled ? this.setState({
3749
+ isFocused: !1
3750
+ }, this.onMenuClose) : !o && !a && n.isDisabled && this.inputRef === document.activeElement && this.setState({
3751
+ isFocused: !0
3752
+ }), this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate && (Qt(this.menuListRef, this.focusedOptionRef), this.scrollToFocusedOptionOnUpdate = !1);
3753
+ }
3754
+ }, {
3755
+ key: "componentWillUnmount",
3756
+ value: function() {
3757
+ this.stopListeningComposition(), this.stopListeningToTouch(), document.removeEventListener("scroll", this.onScroll, !0);
3758
+ }
3759
+ // ==============================
3760
+ // Consumer Handlers
3761
+ // ==============================
3762
+ }, {
3763
+ key: "onMenuOpen",
3764
+ value: function() {
3765
+ this.props.onMenuOpen();
3766
+ }
3767
+ }, {
3768
+ key: "onMenuClose",
3769
+ value: function() {
3770
+ this.onInputChange("", {
3771
+ action: "menu-close",
3772
+ prevInputValue: this.props.inputValue
3773
+ }), this.props.onMenuClose();
3774
+ }
3775
+ }, {
3776
+ key: "onInputChange",
3777
+ value: function(n, u) {
3778
+ this.props.onInputChange(n, u);
3779
+ }
3780
+ // ==============================
3781
+ // Methods
3782
+ // ==============================
3783
+ }, {
3784
+ key: "focusInput",
3785
+ value: function() {
3786
+ this.inputRef && this.inputRef.focus();
3787
+ }
3788
+ }, {
3789
+ key: "blurInput",
3790
+ value: function() {
3791
+ this.inputRef && this.inputRef.blur();
3792
+ }
3793
+ // aliased for consumers
3794
+ }, {
3795
+ key: "openMenu",
3796
+ value: function(n) {
3797
+ var u = this, a = this.state, c = a.selectValue, o = a.isFocused, s = this.buildFocusableOptions(), l = n === "first" ? 0 : s.length - 1;
3798
+ if (!this.props.isMulti) {
3799
+ var d = s.indexOf(c[0]);
3800
+ d > -1 && (l = d);
3801
+ }
3802
+ this.scrollToFocusedOptionOnUpdate = !(o && this.menuListRef), this.setState({
3803
+ inputIsHiddenAfterUpdate: !1,
3804
+ focusedValue: null,
3805
+ focusedOption: s[l],
3806
+ focusedOptionId: this.getFocusedOptionId(s[l])
3807
+ }, function() {
3808
+ return u.onMenuOpen();
3809
+ });
3810
+ }
3811
+ }, {
3812
+ key: "focusValue",
3813
+ value: function(n) {
3814
+ var u = this.state, a = u.selectValue, c = u.focusedValue;
3815
+ if (this.props.isMulti) {
3816
+ this.setState({
3817
+ focusedOption: null
3818
+ });
3819
+ var o = a.indexOf(c);
3820
+ c || (o = -1);
3821
+ var s = a.length - 1, l = -1;
3822
+ if (a.length) {
3823
+ switch (n) {
3824
+ case "previous":
3825
+ o === 0 ? l = 0 : o === -1 ? l = s : l = o - 1;
3826
+ break;
3827
+ case "next":
3828
+ o > -1 && o < s && (l = o + 1);
3829
+ break;
3830
+ }
3831
+ this.setState({
3832
+ inputIsHidden: l !== -1,
3833
+ focusedValue: a[l]
3834
+ });
3835
+ }
3836
+ }
3837
+ }
3838
+ }, {
3839
+ key: "focusOption",
3840
+ value: function() {
3841
+ var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "first", u = this.props.pageSize, a = this.state.focusedOption, c = this.getFocusableOptions();
3842
+ if (c.length) {
3843
+ var o = 0, s = c.indexOf(a);
3844
+ a || (s = -1), n === "up" ? o = s > 0 ? s - 1 : c.length - 1 : n === "down" ? o = (s + 1) % c.length : n === "pageup" ? (o = s - u, o < 0 && (o = 0)) : n === "pagedown" ? (o = s + u, o > c.length - 1 && (o = c.length - 1)) : n === "last" && (o = c.length - 1), this.scrollToFocusedOptionOnUpdate = !0, this.setState({
3845
+ focusedOption: c[o],
3846
+ focusedValue: null,
3847
+ focusedOptionId: this.getFocusedOptionId(c[o])
3848
+ });
3849
+ }
3850
+ }
3851
+ }, {
3852
+ key: "getTheme",
3853
+ value: (
3854
+ // ==============================
3855
+ // Getters
3856
+ // ==============================
3857
+ function() {
3858
+ return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(dt) : V(V({}, dt), this.props.theme) : dt;
3859
+ }
3860
+ )
3861
+ }, {
3862
+ key: "getCommonProps",
3863
+ value: function() {
3864
+ var n = this.clearValue, u = this.cx, a = this.getStyles, c = this.getClassNames, o = this.getValue, s = this.selectOption, l = this.setValue, d = this.props, v = d.isMulti, I = d.isRtl, m = d.options, f = this.hasValue();
3865
+ return {
3866
+ clearValue: n,
3867
+ cx: u,
3868
+ getStyles: a,
3869
+ getClassNames: c,
3870
+ getValue: o,
3871
+ hasValue: f,
3872
+ isMulti: v,
3873
+ isRtl: I,
3874
+ options: m,
3875
+ selectOption: s,
3876
+ selectProps: d,
3877
+ setValue: l,
3878
+ theme: this.getTheme()
3879
+ };
3880
+ }
3881
+ }, {
3882
+ key: "hasValue",
3883
+ value: function() {
3884
+ var n = this.state.selectValue;
3885
+ return n.length > 0;
3886
+ }
3887
+ }, {
3888
+ key: "hasOptions",
3889
+ value: function() {
3890
+ return !!this.getFocusableOptions().length;
3891
+ }
3892
+ }, {
3893
+ key: "isClearable",
3894
+ value: function() {
3895
+ var n = this.props, u = n.isClearable, a = n.isMulti;
3896
+ return u === void 0 ? a : u;
3897
+ }
3898
+ }, {
3899
+ key: "isOptionDisabled",
3900
+ value: function(n, u) {
3901
+ return er(this.props, n, u);
3902
+ }
3903
+ }, {
3904
+ key: "isOptionSelected",
3905
+ value: function(n, u) {
3906
+ return tr(this.props, n, u);
3907
+ }
3908
+ }, {
3909
+ key: "filterOption",
3910
+ value: function(n, u) {
3911
+ return nr(this.props, n, u);
3912
+ }
3913
+ }, {
3914
+ key: "formatOptionLabel",
3915
+ value: function(n, u) {
3916
+ if (typeof this.props.formatOptionLabel == "function") {
3917
+ var a = this.props.inputValue, c = this.state.selectValue;
3918
+ return this.props.formatOptionLabel(n, {
3919
+ context: u,
3920
+ inputValue: a,
3921
+ selectValue: c
3922
+ });
3923
+ } else
3924
+ return this.getOptionLabel(n);
3925
+ }
3926
+ }, {
3927
+ key: "formatGroupLabel",
3928
+ value: function(n) {
3929
+ return this.props.formatGroupLabel(n);
3930
+ }
3931
+ // ==============================
3932
+ // Mouse Handlers
3933
+ // ==============================
3934
+ }, {
3935
+ key: "startListeningComposition",
3936
+ value: (
3937
+ // ==============================
3938
+ // Composition Handlers
3939
+ // ==============================
3940
+ function() {
3941
+ document && document.addEventListener && (document.addEventListener("compositionstart", this.onCompositionStart, !1), document.addEventListener("compositionend", this.onCompositionEnd, !1));
3942
+ }
3943
+ )
3944
+ }, {
3945
+ key: "stopListeningComposition",
3946
+ value: function() {
3947
+ document && document.removeEventListener && (document.removeEventListener("compositionstart", this.onCompositionStart), document.removeEventListener("compositionend", this.onCompositionEnd));
3948
+ }
3949
+ }, {
3950
+ key: "startListeningToTouch",
3951
+ value: (
3952
+ // ==============================
3953
+ // Touch Handlers
3954
+ // ==============================
3955
+ function() {
3956
+ document && document.addEventListener && (document.addEventListener("touchstart", this.onTouchStart, !1), document.addEventListener("touchmove", this.onTouchMove, !1), document.addEventListener("touchend", this.onTouchEnd, !1));
3957
+ }
3958
+ )
3959
+ }, {
3960
+ key: "stopListeningToTouch",
3961
+ value: function() {
3962
+ document && document.removeEventListener && (document.removeEventListener("touchstart", this.onTouchStart), document.removeEventListener("touchmove", this.onTouchMove), document.removeEventListener("touchend", this.onTouchEnd));
3963
+ }
3964
+ }, {
3965
+ key: "renderInput",
3966
+ value: (
3967
+ // ==============================
3968
+ // Renderers
3969
+ // ==============================
3970
+ function() {
3971
+ var n = this.props, u = n.isDisabled, a = n.isSearchable, c = n.inputId, o = n.inputValue, s = n.tabIndex, l = n.form, d = n.menuIsOpen, v = n.required, I = this.getComponents(), m = I.Input, f = this.state, g = f.inputIsHidden, p = f.ariaSelection, A = this.commonProps, h = c || this.getElementId("input"), C = V(V(V({
3972
+ "aria-autocomplete": "list",
3973
+ "aria-expanded": d,
3974
+ "aria-haspopup": !0,
3975
+ "aria-errormessage": this.props["aria-errormessage"],
3976
+ "aria-invalid": this.props["aria-invalid"],
3977
+ "aria-label": this.props["aria-label"],
3978
+ "aria-labelledby": this.props["aria-labelledby"],
3979
+ "aria-required": v,
3980
+ role: "combobox",
3981
+ "aria-activedescendant": this.state.isAppleDevice ? void 0 : this.state.focusedOptionId || ""
3982
+ }, d && {
3983
+ "aria-controls": this.getElementId("listbox")
3984
+ }), !a && {
3985
+ "aria-readonly": !0
3986
+ }), this.hasValue() ? p?.action === "initial-input-focus" && {
3987
+ "aria-describedby": this.getElementId("live-region")
3988
+ } : {
3989
+ "aria-describedby": this.getElementId("placeholder")
3990
+ });
3991
+ return a ? /* @__PURE__ */ R.createElement(m, S({}, A, {
3992
+ autoCapitalize: "none",
3993
+ autoComplete: "off",
3994
+ autoCorrect: "off",
3995
+ id: h,
3996
+ innerRef: this.getInputRef,
3997
+ isDisabled: u,
3998
+ isHidden: g,
3999
+ onBlur: this.onInputBlur,
4000
+ onChange: this.handleInputChange,
4001
+ onFocus: this.onInputFocus,
4002
+ spellCheck: "false",
4003
+ tabIndex: s,
4004
+ form: l,
4005
+ type: "text",
4006
+ value: o
4007
+ }, C)) : /* @__PURE__ */ R.createElement(Po, S({
4008
+ id: h,
4009
+ innerRef: this.getInputRef,
4010
+ onBlur: this.onInputBlur,
4011
+ onChange: $e,
4012
+ onFocus: this.onInputFocus,
4013
+ disabled: u,
4014
+ tabIndex: s,
4015
+ inputMode: "none",
4016
+ form: l,
4017
+ value: ""
4018
+ }, C));
4019
+ }
4020
+ )
4021
+ }, {
4022
+ key: "renderPlaceholderOrValue",
4023
+ value: function() {
4024
+ var n = this, u = this.getComponents(), a = u.MultiValue, c = u.MultiValueContainer, o = u.MultiValueLabel, s = u.MultiValueRemove, l = u.SingleValue, d = u.Placeholder, v = this.commonProps, I = this.props, m = I.controlShouldRenderValue, f = I.isDisabled, g = I.isMulti, p = I.inputValue, A = I.placeholder, h = this.state, C = h.selectValue, b = h.focusedValue, x = h.isFocused;
4025
+ if (!this.hasValue() || !m)
4026
+ return p ? null : /* @__PURE__ */ R.createElement(d, S({}, v, {
4027
+ key: "placeholder",
4028
+ isDisabled: f,
4029
+ isFocused: x,
4030
+ innerProps: {
4031
+ id: this.getElementId("placeholder")
4032
+ }
4033
+ }), A);
4034
+ if (g)
4035
+ return C.map(function(B, T) {
4036
+ var H = B === b, J = "".concat(n.getOptionLabel(B), "-").concat(n.getOptionValue(B));
4037
+ return /* @__PURE__ */ R.createElement(a, S({}, v, {
4038
+ components: {
4039
+ Container: c,
4040
+ Label: o,
4041
+ Remove: s
4042
+ },
4043
+ isFocused: H,
4044
+ isDisabled: f,
4045
+ key: J,
4046
+ index: T,
4047
+ removeProps: {
4048
+ onClick: function() {
4049
+ return n.removeValue(B);
4050
+ },
4051
+ onTouchEnd: function() {
4052
+ return n.removeValue(B);
4053
+ },
4054
+ onMouseDown: function(q) {
4055
+ q.preventDefault();
4056
+ }
4057
+ },
4058
+ data: B
4059
+ }), n.formatOptionLabel(B, "value"));
4060
+ });
4061
+ if (p)
4062
+ return null;
4063
+ var y = C[0];
4064
+ return /* @__PURE__ */ R.createElement(l, S({}, v, {
4065
+ data: y,
4066
+ isDisabled: f
4067
+ }), this.formatOptionLabel(y, "value"));
4068
+ }
4069
+ }, {
4070
+ key: "renderClearIndicator",
4071
+ value: function() {
4072
+ var n = this.getComponents(), u = n.ClearIndicator, a = this.commonProps, c = this.props, o = c.isDisabled, s = c.isLoading, l = this.state.isFocused;
4073
+ if (!this.isClearable() || !u || o || !this.hasValue() || s)
4074
+ return null;
4075
+ var d = {
4076
+ onMouseDown: this.onClearIndicatorMouseDown,
4077
+ onTouchEnd: this.onClearIndicatorTouchEnd,
4078
+ "aria-hidden": "true"
4079
+ };
4080
+ return /* @__PURE__ */ R.createElement(u, S({}, a, {
4081
+ innerProps: d,
4082
+ isFocused: l
4083
+ }));
4084
+ }
4085
+ }, {
4086
+ key: "renderLoadingIndicator",
4087
+ value: function() {
4088
+ var n = this.getComponents(), u = n.LoadingIndicator, a = this.commonProps, c = this.props, o = c.isDisabled, s = c.isLoading, l = this.state.isFocused;
4089
+ if (!u || !s) return null;
4090
+ var d = {
4091
+ "aria-hidden": "true"
4092
+ };
4093
+ return /* @__PURE__ */ R.createElement(u, S({}, a, {
4094
+ innerProps: d,
4095
+ isDisabled: o,
4096
+ isFocused: l
4097
+ }));
4098
+ }
4099
+ }, {
4100
+ key: "renderIndicatorSeparator",
4101
+ value: function() {
4102
+ var n = this.getComponents(), u = n.DropdownIndicator, a = n.IndicatorSeparator;
4103
+ if (!u || !a) return null;
4104
+ var c = this.commonProps, o = this.props.isDisabled, s = this.state.isFocused;
4105
+ return /* @__PURE__ */ R.createElement(a, S({}, c, {
4106
+ isDisabled: o,
4107
+ isFocused: s
4108
+ }));
4109
+ }
4110
+ }, {
4111
+ key: "renderDropdownIndicator",
4112
+ value: function() {
4113
+ var n = this.getComponents(), u = n.DropdownIndicator;
4114
+ if (!u) return null;
4115
+ var a = this.commonProps, c = this.props.isDisabled, o = this.state.isFocused, s = {
4116
+ onMouseDown: this.onDropdownIndicatorMouseDown,
4117
+ onTouchEnd: this.onDropdownIndicatorTouchEnd,
4118
+ "aria-hidden": "true"
4119
+ };
4120
+ return /* @__PURE__ */ R.createElement(u, S({}, a, {
4121
+ innerProps: s,
4122
+ isDisabled: c,
4123
+ isFocused: o
4124
+ }));
4125
+ }
4126
+ }, {
4127
+ key: "renderMenu",
4128
+ value: function() {
4129
+ var n = this, u = this.getComponents(), a = u.Group, c = u.GroupHeading, o = u.Menu, s = u.MenuList, l = u.MenuPortal, d = u.LoadingMessage, v = u.NoOptionsMessage, I = u.Option, m = this.commonProps, f = this.state.focusedOption, g = this.props, p = g.captureMenuScroll, A = g.inputValue, h = g.isLoading, C = g.loadingMessage, b = g.minMenuHeight, x = g.maxMenuHeight, y = g.menuIsOpen, B = g.menuPlacement, T = g.menuPosition, H = g.menuPortalTarget, J = g.menuShouldBlockScroll, L = g.menuShouldScrollIntoView, q = g.noOptionsMessage, ee = g.onMenuScrollToTop, M = g.onMenuScrollToBottom;
4130
+ if (!y) return null;
4131
+ var N = function(j, ne) {
4132
+ var ue = j.type, $ = j.data, oe = j.isDisabled, re = j.isSelected, ve = j.label, it = j.value, we = f === $, G = oe ? void 0 : function() {
4133
+ return n.onOptionHover($);
4134
+ }, Ee = oe ? void 0 : function() {
4135
+ return n.selectOption($);
4136
+ }, pe = "".concat(n.getElementId("option"), "-").concat(ne), Te = {
4137
+ id: pe,
4138
+ onClick: Ee,
4139
+ onMouseMove: G,
4140
+ onMouseOver: G,
4141
+ tabIndex: -1,
4142
+ role: "option",
4143
+ "aria-selected": n.state.isAppleDevice ? void 0 : re
4144
+ // is not supported on Apple devices
4145
+ };
4146
+ return /* @__PURE__ */ R.createElement(I, S({}, m, {
4147
+ innerProps: Te,
4148
+ data: $,
4149
+ isDisabled: oe,
4150
+ isSelected: re,
4151
+ key: pe,
4152
+ label: ve,
4153
+ type: ue,
4154
+ value: it,
4155
+ isFocused: we,
4156
+ innerRef: we ? n.getFocusedOptionRef : void 0
4157
+ }), n.formatOptionLabel(j.data, "menu"));
4158
+ }, K;
4159
+ if (this.hasOptions())
4160
+ K = this.getCategorizedOptions().map(function(Z) {
4161
+ if (Z.type === "group") {
4162
+ var j = Z.data, ne = Z.options, ue = Z.index, $ = "".concat(n.getElementId("group"), "-").concat(ue), oe = "".concat($, "-heading");
4163
+ return /* @__PURE__ */ R.createElement(a, S({}, m, {
4164
+ key: $,
4165
+ data: j,
4166
+ options: ne,
4167
+ Heading: c,
4168
+ headingProps: {
4169
+ id: oe,
4170
+ data: Z.data
4171
+ },
4172
+ label: n.formatGroupLabel(Z.data)
4173
+ }), Z.options.map(function(re) {
4174
+ return N(re, "".concat(ue, "-").concat(re.index));
4175
+ }));
4176
+ } else if (Z.type === "option")
4177
+ return N(Z, "".concat(Z.index));
4178
+ });
4179
+ else if (h) {
4180
+ var k = C({
4181
+ inputValue: A
4182
+ });
4183
+ if (k === null) return null;
4184
+ K = /* @__PURE__ */ R.createElement(d, m, k);
4185
+ } else {
4186
+ var ie = q({
4187
+ inputValue: A
4188
+ });
4189
+ if (ie === null) return null;
4190
+ K = /* @__PURE__ */ R.createElement(v, m, ie);
4191
+ }
4192
+ var te = {
4193
+ minMenuHeight: b,
4194
+ maxMenuHeight: x,
4195
+ menuPlacement: B,
4196
+ menuPosition: T,
4197
+ menuShouldScrollIntoView: L
4198
+ }, me = /* @__PURE__ */ R.createElement(au, S({}, m, te), function(Z) {
4199
+ var j = Z.ref, ne = Z.placerProps, ue = ne.placement, $ = ne.maxHeight;
4200
+ return /* @__PURE__ */ R.createElement(o, S({}, m, te, {
4201
+ innerRef: j,
4202
+ innerProps: {
4203
+ onMouseDown: n.onMenuMouseDown,
4204
+ onMouseMove: n.onMenuMouseMove
4205
+ },
4206
+ isLoading: h,
4207
+ placement: ue
4208
+ }), /* @__PURE__ */ R.createElement(Oo, {
4209
+ captureEnabled: p,
4210
+ onTopArrive: ee,
4211
+ onBottomArrive: M,
4212
+ lockEnabled: J
4213
+ }, function(oe) {
4214
+ return /* @__PURE__ */ R.createElement(s, S({}, m, {
4215
+ innerRef: function(ve) {
4216
+ n.getMenuListRef(ve), oe(ve);
4217
+ },
4218
+ innerProps: {
4219
+ role: "listbox",
4220
+ "aria-multiselectable": m.isMulti,
4221
+ id: n.getElementId("listbox")
4222
+ },
4223
+ isLoading: h,
4224
+ maxHeight: $,
4225
+ focusedOption: f
4226
+ }), K);
4227
+ }));
4228
+ });
4229
+ return H || T === "fixed" ? /* @__PURE__ */ R.createElement(l, S({}, m, {
4230
+ appendTo: H,
4231
+ controlElement: this.controlRef,
4232
+ menuPlacement: B,
4233
+ menuPosition: T
4234
+ }), me) : me;
4235
+ }
4236
+ }, {
4237
+ key: "renderFormField",
4238
+ value: function() {
4239
+ var n = this, u = this.props, a = u.delimiter, c = u.isDisabled, o = u.isMulti, s = u.name, l = u.required, d = this.state.selectValue;
4240
+ if (l && !this.hasValue() && !c)
4241
+ return /* @__PURE__ */ R.createElement(Yo, {
4242
+ name: s,
4243
+ onFocus: this.onValueInputFocus
4244
+ });
4245
+ if (!(!s || c))
4246
+ if (o)
4247
+ if (a) {
4248
+ var v = d.map(function(f) {
4249
+ return n.getOptionValue(f);
4250
+ }).join(a);
4251
+ return /* @__PURE__ */ R.createElement("input", {
4252
+ name: s,
4253
+ type: "hidden",
4254
+ value: v
4255
+ });
4256
+ } else {
4257
+ var I = d.length > 0 ? d.map(function(f, g) {
4258
+ return /* @__PURE__ */ R.createElement("input", {
4259
+ key: "i-".concat(g),
4260
+ name: s,
4261
+ type: "hidden",
4262
+ value: n.getOptionValue(f)
4263
+ });
4264
+ }) : /* @__PURE__ */ R.createElement("input", {
4265
+ name: s,
4266
+ type: "hidden",
4267
+ value: ""
4268
+ });
4269
+ return /* @__PURE__ */ R.createElement("div", null, I);
4270
+ }
4271
+ else {
4272
+ var m = d[0] ? this.getOptionValue(d[0]) : "";
4273
+ return /* @__PURE__ */ R.createElement("input", {
4274
+ name: s,
4275
+ type: "hidden",
4276
+ value: m
4277
+ });
4278
+ }
4279
+ }
4280
+ }, {
4281
+ key: "renderLiveRegion",
4282
+ value: function() {
4283
+ var n = this.commonProps, u = this.state, a = u.ariaSelection, c = u.focusedOption, o = u.focusedValue, s = u.isFocused, l = u.selectValue, d = this.getFocusableOptions();
4284
+ return /* @__PURE__ */ R.createElement(Vo, S({}, n, {
4285
+ id: this.getElementId("live-region"),
4286
+ ariaSelection: a,
4287
+ focusedOption: c,
4288
+ focusedValue: o,
4289
+ isFocused: s,
4290
+ selectValue: l,
4291
+ focusableOptions: d,
4292
+ isAppleDevice: this.state.isAppleDevice
4293
+ }));
4294
+ }
4295
+ }, {
4296
+ key: "render",
4297
+ value: function() {
4298
+ var n = this.getComponents(), u = n.Control, a = n.IndicatorsContainer, c = n.SelectContainer, o = n.ValueContainer, s = this.props, l = s.className, d = s.id, v = s.isDisabled, I = s.menuIsOpen, m = this.state.isFocused, f = this.commonProps = this.getCommonProps();
4299
+ return /* @__PURE__ */ R.createElement(c, S({}, f, {
4300
+ className: l,
4301
+ innerProps: {
4302
+ id: d,
4303
+ onKeyDown: this.onKeyDown
4304
+ },
4305
+ isDisabled: v,
4306
+ isFocused: m
4307
+ }), this.renderLiveRegion(), /* @__PURE__ */ R.createElement(u, S({}, f, {
4308
+ innerRef: this.getControlRef,
4309
+ innerProps: {
4310
+ onMouseDown: this.onControlMouseDown,
4311
+ onTouchEnd: this.onControlTouchEnd
4312
+ },
4313
+ isDisabled: v,
4314
+ isFocused: m,
4315
+ menuIsOpen: I
4316
+ }), /* @__PURE__ */ R.createElement(o, S({}, f, {
4317
+ isDisabled: v
4318
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ R.createElement(a, S({}, f, {
4319
+ isDisabled: v
4320
+ }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
4321
+ }
4322
+ }], [{
4323
+ key: "getDerivedStateFromProps",
4324
+ value: function(n, u) {
4325
+ var a = u.prevProps, c = u.clearFocusValueOnUpdate, o = u.inputIsHiddenAfterUpdate, s = u.ariaSelection, l = u.isFocused, d = u.prevWasFocused, v = u.instancePrefix, I = n.options, m = n.value, f = n.menuIsOpen, g = n.inputValue, p = n.isMulti, A = Ut(m), h = {};
4326
+ if (a && (m !== a.value || I !== a.options || f !== a.menuIsOpen || g !== a.inputValue)) {
4327
+ var C = f ? ua(n, A) : [], b = f ? ln(Je(n, A), "".concat(v, "-option")) : [], x = c ? oa(u, A) : null, y = aa(u, C), B = gt(b, y);
4328
+ h = {
4329
+ selectValue: A,
4330
+ focusedOption: y,
4331
+ focusedOptionId: B,
4332
+ focusableOptionsWithIds: b,
4333
+ focusedValue: x,
4334
+ clearFocusValueOnUpdate: !1
4335
+ };
4336
+ }
4337
+ var T = o != null && n !== a ? {
4338
+ inputIsHidden: o,
4339
+ inputIsHiddenAfterUpdate: void 0
4340
+ } : {}, H = s, J = l && d;
4341
+ return l && !J && (H = {
4342
+ value: De(p, A, A[0] || null),
4343
+ options: A,
4344
+ action: "initial-input-focus"
4345
+ }, J = !d), s?.action === "initial-input-focus" && (H = null), V(V(V({}, h), T), {}, {
4346
+ prevProps: n,
4347
+ ariaSelection: H,
4348
+ prevWasFocused: J
4349
+ });
4350
+ }
4351
+ }]), r;
4352
+ })(cr);
4353
+ ir.defaultProps = ia;
4354
+ var ca = /* @__PURE__ */ gn(function(t, e) {
4355
+ var r = Cr(t);
4356
+ return /* @__PURE__ */ R.createElement(ir, S({
4357
+ ref: e
4358
+ }, r));
4359
+ }), la = ca;
4360
+ const Ca = ({ error: t, id: e, ...r }) => {
4361
+ const n = {
4362
+ ...{
4363
+ unstyled: !0,
4364
+ classNames: {
4365
+ control: ({ isFocused: u }) => `border border-gray-5 rounded-sm text-base leading-5 px-[0.94rem] py-[0.69rem] ${u ? "border-transparent" : t ? "border-red-4" : "border-gray-5"} ${u && "outline-2!"} ${(t ? "outline-red-4!" : u ? "outline-blue-4!" : void 0) ?? ""}`.trim(),
4366
+ menu: () => "bg-neutral-1 mt-[2px] mb-0 border border-gray-3 border-t-0 rounded-b-sm overflow-hidden overflow-y-auto shadow-sm",
4367
+ option: ({ isSelected: u, isFocused: a }) => `text-base text-gray-5 px-5 py-4 font-medium ${(u && a ? "bg-blue-2" : u ? "bg-blue-1" : a ? "bg-gray-1" : void 0) ?? ""}`.trim()
4368
+ },
4369
+ components: {
4370
+ DropdownIndicator: () => /* @__PURE__ */ O(In, { name: "ArrowLineDown" })
4371
+ }
4372
+ },
4373
+ ...r,
4374
+ inputId: e
4375
+ };
4376
+ return /* @__PURE__ */ O(la, { ...n });
4377
+ }, ha = ({ error: t, className: e, ...r }) => /* @__PURE__ */ O(
178
4378
  "input",
179
4379
  {
180
- "data-error": a || null,
181
- className: `border border-gray-5 rounded-sm text-base leading-5 px-[0.94rem] py-[0.69rem] focus-within:border-transparent focus-within:outline-blue-4 data-error:border-red-4 data-error:outline-red-4 ${r ?? ""}`.trim(),
182
- ...t,
4380
+ "data-error": t || null,
4381
+ className: `border border-gray-5 rounded-sm text-base leading-5 px-[0.94rem] py-[0.69rem] focus-within:border-transparent focus-within:outline-blue-4 data-error:border-red-4 data-error:outline-red-4 ${e ?? ""}`.trim(),
4382
+ ...r,
183
4383
  type: "text"
184
4384
  }
185
- ), G = ({ className: a, error: r, ...t }) => /* @__PURE__ */ e(
4385
+ ), Aa = ({ className: t, error: e, ...r }) => /* @__PURE__ */ O(
186
4386
  "textarea",
187
4387
  {
188
- "data-error": r || null,
189
- className: `border border-gray-5 rounded-sm text-base leading-5 px-[0.94rem] py-[0.69rem] focus-within:border-transparent focus-within:outline-blue-4 data-error:border-red-4 data-error:outline-red-4 ${a ?? ""}`.trim(),
190
- ...t
4388
+ "data-error": e || null,
4389
+ className: `border border-gray-5 rounded-sm text-base leading-5 px-[0.94rem] py-[0.69rem] focus-within:border-transparent focus-within:outline-blue-4 data-error:border-red-4 data-error:outline-red-4 ${t ?? ""}`.trim(),
4390
+ ...r
191
4391
  }
192
4392
  );
193
4393
  export {
194
- U as Checkbox,
195
- q as Dropzone,
196
- P as Form,
197
- A as FormField,
198
- L as Label,
199
- O as Select,
200
- z as SingleImageDropzone,
201
- V as TextInput,
202
- G as Textarea
4394
+ pa as Checkbox,
4395
+ dr as Dropzone,
4396
+ ma as Form,
4397
+ va as FormField,
4398
+ gr as Label,
4399
+ Ca as Select,
4400
+ Ia as SingleImageDropzone,
4401
+ ha as TextInput,
4402
+ Aa as Textarea
203
4403
  };