@devtron-labs/devtron-fe-common-lib 1.9.6-beta-2 → 1.9.7

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.
@@ -1,87 +1,80 @@
1
- import { bB as Nt, bC as St, bD as Rt, bE as v, bF as P, bG as Re, br as de, bH as f, bz as h, bI as _, bJ as Ht, bK as ut, bL as Dt, bM as Pt, bN as Tt, bO as Lt, bP as wt, bQ as oe } from "./@vendor-CSolG4o7.js";
2
- import * as W from "react";
3
- import { useContext as Ot, useRef as K, useState as M, createContext as Mt, useMemo as te, useCallback as T, Component as Jt, Fragment as He, useEffect as ve, forwardRef as it } from "react";
4
- import { createPortal as Yt } from "react-dom";
5
- var kt = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], fe = function() {
1
+ import { bB as xt, bC as Bt, bD as Ft, bE as v, bF as U, bG as xe, br as re, bH as h, bz as f, bI as Y, bJ as Vt, bK as Ue, bL as Et, bM as yt, bN as Wt, bO as Xt, bP as Zt, bQ as ne } from "./@vendor-FTN5ZOvi.js";
2
+ import * as y from "react";
3
+ import { useContext as Nt, useRef as j, useState as ee, createContext as St, useMemo as q, useCallback as D, Component as Rt, Fragment as Be, useEffect as Qe, forwardRef as Ht } from "react";
4
+ import { createPortal as Tt } from "react-dom";
5
+ var Dt = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], de = function() {
6
6
  };
7
- function zt(i, t) {
8
- return t ? t[0] === "-" ? i + t : i + "__" + t : i;
7
+ function Pt(a, t) {
8
+ return t ? t[0] === "-" ? a + t : a + "__" + t : a;
9
9
  }
10
- function jt(i, t) {
11
- for (var u = arguments.length, n = new Array(u > 2 ? u - 2 : 0), e = 2; e < u; e++)
10
+ function Lt(a, t) {
11
+ for (var i = arguments.length, n = new Array(i > 2 ? i - 2 : 0), e = 2; e < i; e++)
12
12
  n[e - 2] = arguments[e];
13
13
  var o = [].concat(n);
14
- if (t && i)
14
+ if (t && a)
15
15
  for (var r in t)
16
- t.hasOwnProperty(r) && t[r] && o.push("".concat(zt(i, r)));
16
+ t.hasOwnProperty(r) && t[r] && o.push("".concat(Pt(a, r)));
17
17
  return o.filter(function(s) {
18
18
  return s;
19
19
  }).map(function(s) {
20
20
  return String(s).trim();
21
21
  }).join(" ");
22
22
  }
23
- var he = function(t) {
24
- return un(t) ? t.filter(Boolean) : Nt(t) === "object" && t !== null ? [t] : [];
25
- }, at = function(t) {
23
+ var ge = function(t) {
24
+ return Ut(t) ? t.filter(Boolean) : xt(t) === "object" && t !== null ? [t] : [];
25
+ }, $e = function(t) {
26
26
  t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
27
- var u = _(t, kt);
28
- return v({}, u);
29
- }, H = function(t, u, n) {
27
+ var i = Y(t, Dt);
28
+ return v({}, i);
29
+ }, N = function(t, i, n) {
30
30
  var e = t.cx, o = t.getStyles, r = t.getClassNames, s = t.className;
31
31
  return {
32
- css: o(u, t),
33
- className: e(n ?? {}, r(u, t), s)
32
+ css: o(i, t),
33
+ className: e(n ?? {}, r(i, t), s)
34
34
  };
35
35
  };
36
- function Ut(i, t, u) {
37
- if (u) {
38
- var n = u(i, t);
39
- if (typeof n == "string") return n;
40
- }
41
- return i;
42
- }
43
- function xe(i) {
44
- return [document.documentElement, document.body, window].indexOf(i) > -1;
36
+ function pe(a) {
37
+ return [document.documentElement, document.body, window].indexOf(a) > -1;
45
38
  }
46
- function Qt(i) {
47
- return xe(i) ? window.innerHeight : i.clientHeight;
39
+ function wt(a) {
40
+ return pe(a) ? window.innerHeight : a.clientHeight;
48
41
  }
49
- function ot(i) {
50
- return xe(i) ? window.pageYOffset : i.scrollTop;
42
+ function Ke(a) {
43
+ return pe(a) ? window.pageYOffset : a.scrollTop;
51
44
  }
52
- function Ae(i, t) {
53
- if (xe(i)) {
45
+ function be(a, t) {
46
+ if (pe(a)) {
54
47
  window.scrollTo(0, t);
55
48
  return;
56
49
  }
57
- i.scrollTop = t;
50
+ a.scrollTop = t;
58
51
  }
59
- function $t(i) {
60
- var t = getComputedStyle(i), u = t.position === "absolute", n = /(auto|scroll)/;
52
+ function Mt(a) {
53
+ var t = getComputedStyle(a), i = t.position === "absolute", n = /(auto|scroll)/;
61
54
  if (t.position === "fixed") return document.documentElement;
62
- for (var e = i; e = e.parentElement; )
63
- if (t = getComputedStyle(e), !(u && t.position === "static") && n.test(t.overflow + t.overflowY + t.overflowX))
55
+ for (var e = a; e = e.parentElement; )
56
+ if (t = getComputedStyle(e), !(i && t.position === "static") && n.test(t.overflow + t.overflowY + t.overflowX))
64
57
  return e;
65
58
  return document.documentElement;
66
59
  }
67
- function Kt(i, t, u, n) {
68
- return u * ((i = i / n - 1) * i * i + 1) + t;
60
+ function Ot(a, t, i, n) {
61
+ return i * ((a = a / n - 1) * a * a + 1) + t;
69
62
  }
70
- function pe(i, t) {
71
- var u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : fe, e = ot(i), o = t - e, r = 10, s = 0;
72
- function a() {
63
+ function le(a, t) {
64
+ var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : de, e = Ke(a), o = t - e, r = 10, s = 0;
65
+ function u() {
73
66
  s += r;
74
- var l = Kt(s, e, o, u);
75
- Ae(i, l), s < u ? window.requestAnimationFrame(a) : n(i);
67
+ var l = Ot(s, e, o, i);
68
+ be(a, l), s < i ? window.requestAnimationFrame(u) : n(a);
76
69
  }
77
- a();
70
+ u();
78
71
  }
79
- function we(i, t) {
80
- var u = i.getBoundingClientRect(), n = t.getBoundingClientRect(), e = t.offsetHeight / 3;
81
- n.bottom + e > u.bottom ? Ae(i, Math.min(t.offsetTop + t.clientHeight - i.offsetHeight + e, i.scrollHeight)) : n.top - e < u.top && Ae(i, Math.max(t.offsetTop - e, 0));
72
+ function Ze(a, t) {
73
+ var i = a.getBoundingClientRect(), n = t.getBoundingClientRect(), e = t.offsetHeight / 3;
74
+ n.bottom + e > i.bottom ? be(a, Math.min(t.offsetTop + t.clientHeight - a.offsetHeight + e, a.scrollHeight)) : n.top - e < i.top && be(a, Math.max(t.offsetTop - e, 0));
82
75
  }
83
- function _t(i) {
84
- var t = i.getBoundingClientRect();
76
+ function Jt(a) {
77
+ var t = a.getBoundingClientRect();
85
78
  return {
86
79
  bottom: t.bottom,
87
80
  height: t.height,
@@ -91,103 +84,103 @@ function _t(i) {
91
84
  width: t.width
92
85
  };
93
86
  }
94
- function Oe() {
87
+ function Ne() {
95
88
  try {
96
89
  return document.createEvent("TouchEvent"), !0;
97
90
  } catch {
98
91
  return !1;
99
92
  }
100
93
  }
101
- function qt() {
94
+ function Yt() {
102
95
  try {
103
96
  return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
104
97
  } catch {
105
98
  return !1;
106
99
  }
107
100
  }
108
- var rt = !1, en = {
101
+ var _e = !1, kt = {
109
102
  get passive() {
110
- return rt = !0;
103
+ return _e = !0;
111
104
  }
112
- }, me = typeof window < "u" ? window : {};
113
- me.addEventListener && me.removeEventListener && (me.addEventListener("p", fe, en), me.removeEventListener("p", fe, !1));
114
- var tn = rt;
115
- function nn(i) {
116
- return i != null;
105
+ }, se = typeof window < "u" ? window : {};
106
+ se.addEventListener && se.removeEventListener && (se.addEventListener("p", de, kt), se.removeEventListener("p", de, !1));
107
+ var zt = _e;
108
+ function jt(a) {
109
+ return a != null;
117
110
  }
118
- function un(i) {
119
- return Array.isArray(i);
111
+ function Ut(a) {
112
+ return Array.isArray(a);
120
113
  }
121
- function ge(i, t, u) {
122
- return i ? t : u;
114
+ function ie(a, t, i) {
115
+ return a ? t : i;
123
116
  }
124
- var an = function(t) {
125
- for (var u = arguments.length, n = new Array(u > 1 ? u - 1 : 0), e = 1; e < u; e++)
117
+ var Qt = function(t) {
118
+ for (var i = arguments.length, n = new Array(i > 1 ? i - 1 : 0), e = 1; e < i; e++)
126
119
  n[e - 1] = arguments[e];
127
120
  var o = Object.entries(t).filter(function(r) {
128
- var s = P(r, 1), a = s[0];
129
- return !n.includes(a);
121
+ var s = U(r, 1), u = s[0];
122
+ return !n.includes(u);
130
123
  });
131
124
  return o.reduce(function(r, s) {
132
- var a = P(s, 2), l = a[0], c = a[1];
125
+ var u = U(s, 2), l = u[0], c = u[1];
133
126
  return r[l] = c, r;
134
127
  }, {});
135
- }, on = ["children", "innerProps"], rn = ["children", "innerProps"];
136
- function ln(i) {
137
- var t = i.maxHeight, u = i.menuEl, n = i.minHeight, e = i.placement, o = i.shouldScroll, r = i.isFixedPosition, s = i.controlHeight, a = $t(u), l = {
128
+ }, $t = ["children", "innerProps"], Kt = ["children", "innerProps"];
129
+ function _t(a) {
130
+ var t = a.maxHeight, i = a.menuEl, n = a.minHeight, e = a.placement, o = a.shouldScroll, r = a.isFixedPosition, s = a.controlHeight, u = Mt(i), l = {
138
131
  placement: "bottom",
139
132
  maxHeight: t
140
133
  };
141
- if (!u || !u.offsetParent) return l;
142
- var c = a.getBoundingClientRect(), d = c.height, I = u.getBoundingClientRect(), b = I.bottom, m = I.height, p = I.top, g = u.offsetParent.getBoundingClientRect(), C = g.top, B = r ? window.innerHeight : Qt(a), x = ot(a), G = parseInt(getComputedStyle(u).marginBottom, 10), F = parseInt(getComputedStyle(u).marginTop, 10), V = C - F, y = B - p, A = V + x, E = d - x - p, Z = b - B + x + G, D = x + p - F, X = 160;
134
+ if (!i || !i.offsetParent) return l;
135
+ var c = u.getBoundingClientRect(), d = c.height, b = i.getBoundingClientRect(), I = b.bottom, C = b.height, p = b.top, g = i.offsetParent.getBoundingClientRect(), m = g.top, B = r ? window.innerHeight : wt(u), x = Ke(u), G = parseInt(getComputedStyle(i).marginBottom, 10), V = parseInt(getComputedStyle(i).marginTop, 10), E = m - V, F = B - p, A = E + x, W = d - x - p, H = I - B + x + G, T = x + p - V, X = 160;
143
136
  switch (e) {
144
137
  case "auto":
145
138
  case "bottom":
146
- if (y >= m)
139
+ if (F >= C)
147
140
  return {
148
141
  placement: "bottom",
149
142
  maxHeight: t
150
143
  };
151
- if (E >= m && !r)
152
- return o && pe(a, Z, X), {
144
+ if (W >= C && !r)
145
+ return o && le(u, H, X), {
153
146
  placement: "bottom",
154
147
  maxHeight: t
155
148
  };
156
- if (!r && E >= n || r && y >= n) {
157
- o && pe(a, Z, X);
158
- var L = r ? y - G : E - G;
149
+ if (!r && W >= n || r && F >= n) {
150
+ o && le(u, H, X);
151
+ var P = r ? F - G : W - G;
159
152
  return {
160
153
  placement: "bottom",
161
- maxHeight: L
154
+ maxHeight: P
162
155
  };
163
156
  }
164
157
  if (e === "auto" || r) {
165
- var w = t, N = r ? V : A;
166
- return N >= n && (w = Math.min(N - G - s, t)), {
158
+ var w = t, Z = r ? E : A;
159
+ return Z >= n && (w = Math.min(Z - G - s, t)), {
167
160
  placement: "top",
168
161
  maxHeight: w
169
162
  };
170
163
  }
171
164
  if (e === "bottom")
172
- return o && Ae(a, Z), {
165
+ return o && be(u, H), {
173
166
  placement: "bottom",
174
167
  maxHeight: t
175
168
  };
176
169
  break;
177
170
  case "top":
178
- if (V >= m)
171
+ if (E >= C)
179
172
  return {
180
173
  placement: "top",
181
174
  maxHeight: t
182
175
  };
183
- if (A >= m && !r)
184
- return o && pe(a, D, X), {
176
+ if (A >= C && !r)
177
+ return o && le(u, T, X), {
185
178
  placement: "top",
186
179
  maxHeight: t
187
180
  };
188
- if (!r && A >= n || r && V >= n) {
181
+ if (!r && A >= n || r && E >= n) {
189
182
  var S = t;
190
- return (!r && A >= n || r && V >= n) && (S = r ? V - F : A - F), o && pe(a, D, X), {
183
+ return (!r && A >= n || r && E >= n) && (S = r ? E - V : A - V), o && le(u, T, X), {
191
184
  placement: "top",
192
185
  maxHeight: S
193
186
  };
@@ -201,57 +194,57 @@ function ln(i) {
201
194
  }
202
195
  return l;
203
196
  }
204
- function sn(i) {
197
+ function qt(a) {
205
198
  var t = {
206
199
  bottom: "top",
207
200
  top: "bottom"
208
201
  };
209
- return i ? t[i] : "bottom";
202
+ return a ? t[a] : "bottom";
210
203
  }
211
- var lt = function(t) {
204
+ var qe = function(t) {
212
205
  return t === "auto" ? "bottom" : t;
213
- }, cn = function(t, u) {
214
- var n, e = t.placement, o = t.theme, r = o.borderRadius, s = o.spacing, a = o.colors;
206
+ }, en = function(t, i) {
207
+ var n, e = t.placement, o = t.theme, r = o.borderRadius, s = o.spacing, u = o.colors;
215
208
  return v((n = {
216
209
  label: "menu"
217
- }, de(n, sn(e), "100%"), de(n, "position", "absolute"), de(n, "width", "100%"), de(n, "zIndex", 1), n), u ? {} : {
218
- backgroundColor: a.neutral0,
210
+ }, re(n, qt(e), "100%"), re(n, "position", "absolute"), re(n, "width", "100%"), re(n, "zIndex", 1), n), i ? {} : {
211
+ backgroundColor: u.neutral0,
219
212
  borderRadius: r,
220
213
  boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
221
214
  marginBottom: s.menuGutter,
222
215
  marginTop: s.menuGutter
223
216
  });
224
- }, st = /* @__PURE__ */ Mt(null), dn = function(t) {
225
- var u = t.children, n = t.minMenuHeight, e = t.maxMenuHeight, o = t.menuPlacement, r = t.menuPosition, s = t.menuShouldScrollIntoView, a = t.theme, l = Ot(st) || {}, c = l.setPortalPlacement, d = K(null), I = M(e), b = P(I, 2), m = b[0], p = b[1], g = M(null), C = P(g, 2), B = C[0], x = C[1], G = a.spacing.controlHeight;
226
- return Re(function() {
227
- var F = d.current;
228
- if (F) {
229
- var V = r === "fixed", y = s && !V, A = ln({
217
+ }, et = /* @__PURE__ */ St(null), tn = function(t) {
218
+ var i = t.children, n = t.minMenuHeight, e = t.maxMenuHeight, o = t.menuPlacement, r = t.menuPosition, s = t.menuShouldScrollIntoView, u = t.theme, l = Nt(et) || {}, c = l.setPortalPlacement, d = j(null), b = ee(e), I = U(b, 2), C = I[0], p = I[1], g = ee(null), m = U(g, 2), B = m[0], x = m[1], G = u.spacing.controlHeight;
219
+ return xe(function() {
220
+ var V = d.current;
221
+ if (V) {
222
+ var E = r === "fixed", F = s && !E, A = _t({
230
223
  maxHeight: e,
231
- menuEl: F,
224
+ menuEl: V,
232
225
  minHeight: n,
233
226
  placement: o,
234
- shouldScroll: y,
235
- isFixedPosition: V,
227
+ shouldScroll: F,
228
+ isFixedPosition: E,
236
229
  controlHeight: G
237
230
  });
238
231
  p(A.maxHeight), x(A.placement), c?.(A.placement);
239
232
  }
240
- }, [e, o, r, s, n, c, G]), u({
233
+ }, [e, o, r, s, n, c, G]), i({
241
234
  ref: d,
242
235
  placerProps: v(v({}, t), {}, {
243
- placement: B || lt(o),
244
- maxHeight: m
236
+ placement: B || qe(o),
237
+ maxHeight: C
245
238
  })
246
239
  });
247
- }, gn = function(t) {
248
- var u = t.children, n = t.innerRef, e = t.innerProps;
249
- return f("div", h({}, H(t, "menu", {
240
+ }, nn = function(t) {
241
+ var i = t.children, n = t.innerRef, e = t.innerProps;
242
+ return h("div", f({}, N(t, "menu", {
250
243
  menu: !0
251
244
  }), {
252
245
  ref: n
253
- }, e), u);
254
- }, bn = gn, In = function(t, u) {
246
+ }, e), i);
247
+ }, un = nn, an = function(t, i) {
255
248
  var n = t.maxHeight, e = t.theme.spacing.baseUnit;
256
249
  return v({
257
250
  maxHeight: n,
@@ -259,110 +252,110 @@ var lt = function(t) {
259
252
  position: "relative",
260
253
  // required for offset[Height, Top] > keyboard scroll
261
254
  WebkitOverflowScrolling: "touch"
262
- }, u ? {} : {
255
+ }, i ? {} : {
263
256
  paddingBottom: e,
264
257
  paddingTop: e
265
258
  });
266
- }, pn = function(t) {
267
- var u = t.children, n = t.innerProps, e = t.innerRef, o = t.isMulti;
268
- return f("div", h({}, H(t, "menuList", {
259
+ }, on = function(t) {
260
+ var i = t.children, n = t.innerProps, e = t.innerRef, o = t.isMulti;
261
+ return h("div", f({}, N(t, "menuList", {
269
262
  "menu-list": !0,
270
263
  "menu-list--is-multi": o
271
264
  }), {
272
265
  ref: e
273
- }, n), u);
274
- }, ct = function(t, u) {
266
+ }, n), i);
267
+ }, tt = function(t, i) {
275
268
  var n = t.theme, e = n.spacing.baseUnit, o = n.colors;
276
269
  return v({
277
270
  textAlign: "center"
278
- }, u ? {} : {
271
+ }, i ? {} : {
279
272
  color: o.neutral40,
280
273
  padding: "".concat(e * 2, "px ").concat(e * 3, "px")
281
274
  });
282
- }, mn = ct, Cn = ct, vn = function(t) {
283
- var u = t.children, n = u === void 0 ? "No options" : u, e = t.innerProps, o = _(t, on);
284
- return f("div", h({}, H(v(v({}, o), {}, {
275
+ }, rn = tt, ln = tt, sn = function(t) {
276
+ var i = t.children, n = i === void 0 ? "No options" : i, e = t.innerProps, o = Y(t, $t);
277
+ return h("div", f({}, N(v(v({}, o), {}, {
285
278
  children: n,
286
279
  innerProps: e
287
280
  }), "noOptionsMessage", {
288
281
  "menu-notice": !0,
289
282
  "menu-notice--no-options": !0
290
283
  }), e), n);
291
- }, fn = function(t) {
292
- var u = t.children, n = u === void 0 ? "Loading..." : u, e = t.innerProps, o = _(t, rn);
293
- return f("div", h({}, H(v(v({}, o), {}, {
284
+ }, cn = function(t) {
285
+ var i = t.children, n = i === void 0 ? "Loading..." : i, e = t.innerProps, o = Y(t, Kt);
286
+ return h("div", f({}, N(v(v({}, o), {}, {
294
287
  children: n,
295
288
  innerProps: e
296
289
  }), "loadingMessage", {
297
290
  "menu-notice": !0,
298
291
  "menu-notice--loading": !0
299
292
  }), e), n);
300
- }, hn = function(t) {
301
- var u = t.rect, n = t.offset, e = t.position;
293
+ }, dn = function(t) {
294
+ var i = t.rect, n = t.offset, e = t.position;
302
295
  return {
303
- left: u.left,
296
+ left: i.left,
304
297
  position: e,
305
298
  top: n,
306
- width: u.width,
299
+ width: i.width,
307
300
  zIndex: 1
308
301
  };
309
- }, An = function(t) {
310
- var u = t.appendTo, n = t.children, e = t.controlElement, o = t.innerProps, r = t.menuPlacement, s = t.menuPosition, a = K(null), l = K(null), c = M(lt(r)), d = P(c, 2), I = d[0], b = d[1], m = te(function() {
302
+ }, gn = function(t) {
303
+ var i = t.appendTo, n = t.children, e = t.controlElement, o = t.innerProps, r = t.menuPlacement, s = t.menuPosition, u = j(null), l = j(null), c = ee(qe(r)), d = U(c, 2), b = d[0], I = d[1], C = q(function() {
311
304
  return {
312
- setPortalPlacement: b
305
+ setPortalPlacement: I
313
306
  };
314
- }, []), p = M(null), g = P(p, 2), C = g[0], B = g[1], x = T(function() {
307
+ }, []), p = ee(null), g = U(p, 2), m = g[0], B = g[1], x = D(function() {
315
308
  if (e) {
316
- var y = _t(e), A = s === "fixed" ? 0 : window.pageYOffset, E = y[I] + A;
317
- (E !== C?.offset || y.left !== C?.rect.left || y.width !== C?.rect.width) && B({
318
- offset: E,
319
- rect: y
309
+ var F = Jt(e), A = s === "fixed" ? 0 : window.pageYOffset, W = F[b] + A;
310
+ (W !== m?.offset || F.left !== m?.rect.left || F.width !== m?.rect.width) && B({
311
+ offset: W,
312
+ rect: F
320
313
  });
321
314
  }
322
- }, [e, s, I, C?.offset, C?.rect.left, C?.rect.width]);
323
- Re(function() {
315
+ }, [e, s, b, m?.offset, m?.rect.left, m?.rect.width]);
316
+ xe(function() {
324
317
  x();
325
318
  }, [x]);
326
- var G = T(function() {
327
- typeof l.current == "function" && (l.current(), l.current = null), e && a.current && (l.current = Ht(e, a.current, x, {
319
+ var G = D(function() {
320
+ typeof l.current == "function" && (l.current(), l.current = null), e && u.current && (l.current = Vt(e, u.current, x, {
328
321
  elementResize: "ResizeObserver" in window
329
322
  }));
330
323
  }, [e, x]);
331
- Re(function() {
324
+ xe(function() {
332
325
  G();
333
326
  }, [G]);
334
- var F = T(function(y) {
335
- a.current = y, G();
327
+ var V = D(function(F) {
328
+ u.current = F, G();
336
329
  }, [G]);
337
- if (!u && s !== "fixed" || !C) return null;
338
- var V = f("div", h({
339
- ref: F
340
- }, H(v(v({}, t), {}, {
341
- offset: C.offset,
330
+ if (!i && s !== "fixed" || !m) return null;
331
+ var E = h("div", f({
332
+ ref: V
333
+ }, N(v(v({}, t), {}, {
334
+ offset: m.offset,
342
335
  position: s,
343
- rect: C.rect
336
+ rect: m.rect
344
337
  }), "menuPortal", {
345
338
  "menu-portal": !0
346
339
  }), o), n);
347
- return f(st.Provider, {
348
- value: m
349
- }, u ? /* @__PURE__ */ Yt(V, u) : V);
350
- }, Gn = function(t) {
351
- var u = t.isDisabled, n = t.isRtl;
340
+ return h(et.Provider, {
341
+ value: C
342
+ }, i ? /* @__PURE__ */ Tt(E, i) : E);
343
+ }, bn = function(t) {
344
+ var i = t.isDisabled, n = t.isRtl;
352
345
  return {
353
346
  label: "container",
354
347
  direction: n ? "rtl" : void 0,
355
- pointerEvents: u ? "none" : void 0,
348
+ pointerEvents: i ? "none" : void 0,
356
349
  // cancel mouse events when disabled
357
350
  position: "relative"
358
351
  };
359
- }, xn = function(t) {
360
- var u = t.children, n = t.innerProps, e = t.isDisabled, o = t.isRtl;
361
- return f("div", h({}, H(t, "container", {
352
+ }, In = function(t) {
353
+ var i = t.children, n = t.innerProps, e = t.isDisabled, o = t.isRtl;
354
+ return h("div", f({}, N(t, "container", {
362
355
  "--is-disabled": e,
363
356
  "--is-rtl": o
364
- }), n), u);
365
- }, Bn = function(t, u) {
357
+ }), n), i);
358
+ }, pn = function(t, i) {
366
359
  var n = t.theme.spacing, e = t.isMulti, o = t.hasValue, r = t.selectProps.controlShouldRenderValue;
367
360
  return v({
368
361
  alignItems: "center",
@@ -372,107 +365,107 @@ var lt = function(t) {
372
365
  WebkitOverflowScrolling: "touch",
373
366
  position: "relative",
374
367
  overflow: "hidden"
375
- }, u ? {} : {
368
+ }, i ? {} : {
376
369
  padding: "".concat(n.baseUnit / 2, "px ").concat(n.baseUnit * 2, "px")
377
370
  });
378
- }, Fn = function(t) {
379
- var u = t.children, n = t.innerProps, e = t.isMulti, o = t.hasValue;
380
- return f("div", h({}, H(t, "valueContainer", {
371
+ }, mn = function(t) {
372
+ var i = t.children, n = t.innerProps, e = t.isMulti, o = t.hasValue;
373
+ return h("div", f({}, N(t, "valueContainer", {
381
374
  "value-container": !0,
382
375
  "value-container--is-multi": e,
383
376
  "value-container--has-value": o
384
- }), n), u);
385
- }, Vn = function() {
377
+ }), n), i);
378
+ }, Cn = function() {
386
379
  return {
387
380
  alignItems: "center",
388
381
  alignSelf: "stretch",
389
382
  display: "flex",
390
383
  flexShrink: 0
391
384
  };
392
- }, yn = function(t) {
393
- var u = t.children, n = t.innerProps;
394
- return f("div", h({}, H(t, "indicatorsContainer", {
385
+ }, vn = function(t) {
386
+ var i = t.children, n = t.innerProps;
387
+ return h("div", f({}, N(t, "indicatorsContainer", {
395
388
  indicators: !0
396
- }), n), u);
397
- }, Me, En = ["size"], Wn = ["innerProps", "isRtl", "size"];
398
- function Xn() {
389
+ }), n), i);
390
+ }, Se, hn = ["size"], fn = ["innerProps", "isRtl", "size"];
391
+ function An() {
399
392
  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).";
400
393
  }
401
- var Zn = process.env.NODE_ENV === "production" ? {
394
+ var Gn = process.env.NODE_ENV === "production" ? {
402
395
  name: "8mmkcg",
403
396
  styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
404
397
  } : {
405
398
  name: "tj5bde-Svg",
406
399
  styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
407
400
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3M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biAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",
408
- toString: Xn
409
- }, dt = function(t) {
410
- var u = t.size, n = _(t, En);
411
- return f("svg", h({
412
- height: u,
413
- width: u,
401
+ toString: An
402
+ }, nt = function(t) {
403
+ var i = t.size, n = Y(t, hn);
404
+ return h("svg", f({
405
+ height: i,
406
+ width: i,
414
407
  viewBox: "0 0 20 20",
415
408
  "aria-hidden": "true",
416
409
  focusable: "false",
417
- css: Zn
410
+ css: Gn
418
411
  }, n));
419
- }, Pe = function(t) {
420
- return f(dt, h({
412
+ }, Ve = function(t) {
413
+ return h(nt, f({
421
414
  size: 20
422
- }, t), f("path", {
415
+ }, t), h("path", {
423
416
  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"
424
417
  }));
425
- }, gt = function(t) {
426
- return f(dt, h({
418
+ }, ut = function(t) {
419
+ return h(nt, f({
427
420
  size: 20
428
- }, t), f("path", {
421
+ }, t), h("path", {
429
422
  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"
430
423
  }));
431
- }, bt = function(t, u) {
424
+ }, it = function(t, i) {
432
425
  var n = t.isFocused, e = t.theme, o = e.spacing.baseUnit, r = e.colors;
433
426
  return v({
434
427
  label: "indicatorContainer",
435
428
  display: "flex",
436
429
  transition: "color 150ms"
437
- }, u ? {} : {
430
+ }, i ? {} : {
438
431
  color: n ? r.neutral60 : r.neutral20,
439
432
  padding: o * 2,
440
433
  ":hover": {
441
434
  color: n ? r.neutral80 : r.neutral40
442
435
  }
443
436
  });
444
- }, Nn = bt, Sn = function(t) {
445
- var u = t.children, n = t.innerProps;
446
- return f("div", h({}, H(t, "dropdownIndicator", {
437
+ }, xn = it, Bn = function(t) {
438
+ var i = t.children, n = t.innerProps;
439
+ return h("div", f({}, N(t, "dropdownIndicator", {
447
440
  indicator: !0,
448
441
  "dropdown-indicator": !0
449
- }), n), u || f(gt, null));
450
- }, Rn = bt, Hn = function(t) {
451
- var u = t.children, n = t.innerProps;
452
- return f("div", h({}, H(t, "clearIndicator", {
442
+ }), n), i || h(ut, null));
443
+ }, Fn = it, Vn = function(t) {
444
+ var i = t.children, n = t.innerProps;
445
+ return h("div", f({}, N(t, "clearIndicator", {
453
446
  indicator: !0,
454
447
  "clear-indicator": !0
455
- }), n), u || f(Pe, null));
456
- }, Dn = function(t, u) {
448
+ }), n), i || h(Ve, null));
449
+ }, En = function(t, i) {
457
450
  var n = t.isDisabled, e = t.theme, o = e.spacing.baseUnit, r = e.colors;
458
451
  return v({
459
452
  label: "indicatorSeparator",
460
453
  alignSelf: "stretch",
461
454
  width: 1
462
- }, u ? {} : {
455
+ }, i ? {} : {
463
456
  backgroundColor: n ? r.neutral10 : r.neutral20,
464
457
  marginBottom: o * 2,
465
458
  marginTop: o * 2
466
459
  });
467
- }, Pn = function(t) {
468
- var u = t.innerProps;
469
- return f("span", h({}, u, H(t, "indicatorSeparator", {
460
+ }, yn = function(t) {
461
+ var i = t.innerProps;
462
+ return h("span", f({}, i, N(t, "indicatorSeparator", {
470
463
  "indicator-separator": !0
471
464
  })));
472
- }, Tn = St(Me || (Me = Rt([`
465
+ }, Wn = Bt(Se || (Se = Ft([`
473
466
  0%, 80%, 100% { opacity: 0; }
474
467
  40% { opacity: 1; }
475
- `]))), Ln = function(t, u) {
468
+ `]))), Xn = function(t, i) {
476
469
  var n = t.isFocused, e = t.size, o = t.theme, r = o.colors, s = o.spacing.baseUnit;
477
470
  return v({
478
471
  label: "loadingIndicator",
@@ -484,15 +477,15 @@ var Zn = process.env.NODE_ENV === "production" ? {
484
477
  marginRight: e,
485
478
  textAlign: "center",
486
479
  verticalAlign: "middle"
487
- }, u ? {} : {
480
+ }, i ? {} : {
488
481
  color: n ? r.neutral60 : r.neutral20,
489
482
  padding: s * 2
490
483
  });
491
- }, ye = function(t) {
492
- var u = t.delay, n = t.offset;
493
- return f("span", {
494
- css: /* @__PURE__ */ ut({
495
- animation: "".concat(Tn, " 1s ease-in-out ").concat(u, "ms infinite;"),
484
+ }, me = function(t) {
485
+ var i = t.delay, n = t.offset;
486
+ return h("span", {
487
+ css: /* @__PURE__ */ Ue({
488
+ animation: "".concat(Wn, " 1s ease-in-out ").concat(i, "ms infinite;"),
496
489
  backgroundColor: "currentColor",
497
490
  borderRadius: "1em",
498
491
  display: "inline-block",
@@ -502,27 +495,27 @@ var Zn = process.env.NODE_ENV === "production" ? {
502
495
  width: "1em"
503
496
  }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0I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5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")
504
497
  });
505
- }, wn = function(t) {
506
- var u = t.innerProps, n = t.isRtl, e = t.size, o = e === void 0 ? 4 : e, r = _(t, Wn);
507
- return f("div", h({}, H(v(v({}, r), {}, {
508
- innerProps: u,
498
+ }, Zn = function(t) {
499
+ var i = t.innerProps, n = t.isRtl, e = t.size, o = e === void 0 ? 4 : e, r = Y(t, fn);
500
+ return h("div", f({}, N(v(v({}, r), {}, {
501
+ innerProps: i,
509
502
  isRtl: n,
510
503
  size: o
511
504
  }), "loadingIndicator", {
512
505
  indicator: !0,
513
506
  "loading-indicator": !0
514
- }), u), f(ye, {
507
+ }), i), h(me, {
515
508
  delay: 0,
516
509
  offset: n
517
- }), f(ye, {
510
+ }), h(me, {
518
511
  delay: 160,
519
512
  offset: !0
520
- }), f(ye, {
513
+ }), h(me, {
521
514
  delay: 320,
522
515
  offset: !n
523
516
  }));
524
- }, On = function(t, u) {
525
- var n = t.isDisabled, e = t.isFocused, o = t.theme, r = o.colors, s = o.borderRadius, a = o.spacing;
517
+ }, Nn = function(t, i) {
518
+ var n = t.isDisabled, e = t.isFocused, o = t.theme, r = o.colors, s = o.borderRadius, u = o.spacing;
526
519
  return v({
527
520
  label: "control",
528
521
  alignItems: "center",
@@ -530,11 +523,11 @@ var Zn = process.env.NODE_ENV === "production" ? {
530
523
  display: "flex",
531
524
  flexWrap: "wrap",
532
525
  justifyContent: "space-between",
533
- minHeight: a.controlHeight,
526
+ minHeight: u.controlHeight,
534
527
  outline: "0 !important",
535
528
  position: "relative",
536
529
  transition: "all 100ms"
537
- }, u ? {} : {
530
+ }, i ? {} : {
538
531
  backgroundColor: n ? r.neutral5 : r.neutral0,
539
532
  borderColor: n ? r.neutral10 : e ? r.primary : r.neutral20,
540
533
  borderRadius: s,
@@ -545,42 +538,42 @@ var Zn = process.env.NODE_ENV === "production" ? {
545
538
  borderColor: e ? r.primary : r.neutral30
546
539
  }
547
540
  });
548
- }, Mn = function(t) {
549
- var u = t.children, n = t.isDisabled, e = t.isFocused, o = t.innerRef, r = t.innerProps, s = t.menuIsOpen;
550
- return f("div", h({
541
+ }, Sn = function(t) {
542
+ var i = t.children, n = t.isDisabled, e = t.isFocused, o = t.innerRef, r = t.innerProps, s = t.menuIsOpen;
543
+ return h("div", f({
551
544
  ref: o
552
- }, H(t, "control", {
545
+ }, N(t, "control", {
553
546
  control: !0,
554
547
  "control--is-disabled": n,
555
548
  "control--is-focused": e,
556
549
  "control--menu-is-open": s
557
550
  }), r, {
558
551
  "aria-disabled": n || void 0
559
- }), u);
560
- }, Jn = Mn, Yn = ["data"], kn = function(t, u) {
552
+ }), i);
553
+ }, Rn = Sn, Hn = ["data"], Tn = function(t, i) {
561
554
  var n = t.theme.spacing;
562
- return u ? {} : {
555
+ return i ? {} : {
563
556
  paddingBottom: n.baseUnit * 2,
564
557
  paddingTop: n.baseUnit * 2
565
558
  };
566
- }, zn = function(t) {
567
- var u = t.children, n = t.cx, e = t.getStyles, o = t.getClassNames, r = t.Heading, s = t.headingProps, a = t.innerProps, l = t.label, c = t.theme, d = t.selectProps;
568
- return f("div", h({}, H(t, "group", {
559
+ }, Dn = function(t) {
560
+ var i = t.children, n = t.cx, e = t.getStyles, o = t.getClassNames, r = t.Heading, s = t.headingProps, u = t.innerProps, l = t.label, c = t.theme, d = t.selectProps;
561
+ return h("div", f({}, N(t, "group", {
569
562
  group: !0
570
- }), a), f(r, h({}, s, {
563
+ }), u), h(r, f({}, s, {
571
564
  selectProps: d,
572
565
  theme: c,
573
566
  getStyles: e,
574
567
  getClassNames: o,
575
568
  cx: n
576
- }), l), f("div", null, u));
577
- }, jn = function(t, u) {
569
+ }), l), h("div", null, i));
570
+ }, Pn = function(t, i) {
578
571
  var n = t.theme, e = n.colors, o = n.spacing;
579
572
  return v({
580
573
  label: "group",
581
574
  cursor: "default",
582
575
  display: "block"
583
- }, u ? {} : {
576
+ }, i ? {} : {
584
577
  color: e.neutral40,
585
578
  fontSize: "75%",
586
579
  fontWeight: 500,
@@ -589,27 +582,27 @@ var Zn = process.env.NODE_ENV === "production" ? {
589
582
  paddingRight: o.baseUnit * 3,
590
583
  textTransform: "uppercase"
591
584
  });
592
- }, Un = function(t) {
593
- var u = at(t);
594
- u.data;
595
- var n = _(u, Yn);
596
- return f("div", h({}, H(t, "groupHeading", {
585
+ }, Ln = function(t) {
586
+ var i = $e(t);
587
+ i.data;
588
+ var n = Y(i, Hn);
589
+ return h("div", f({}, N(t, "groupHeading", {
597
590
  "group-heading": !0
598
591
  }), n));
599
- }, Qn = zn, $n = ["innerRef", "isDisabled", "isHidden", "isTextArea", "inputClassName"], Kn = function(t, u) {
592
+ }, wn = Dn, Mn = ["innerRef", "isDisabled", "isHidden", "isTextArea", "inputClassName"], On = function(t, i) {
600
593
  var n = t.isDisabled, e = t.value, o = t.theme, r = o.spacing, s = o.colors;
601
594
  return v(v({
602
595
  visibility: n ? "hidden" : "visible",
603
596
  // force css to recompute when value change due to @emotion bug.
604
597
  // We can remove it whenever the bug is fixed.
605
598
  transform: e ? "translateZ(0)" : ""
606
- }, _n), u ? {} : {
599
+ }, Jn), i ? {} : {
607
600
  margin: r.baseUnit / 2,
608
601
  paddingBottom: r.baseUnit / 2,
609
602
  paddingTop: r.baseUnit / 2,
610
603
  color: s.neutral80
611
604
  });
612
- }, It = {
605
+ }, at = {
613
606
  gridArea: "1 / 2",
614
607
  font: "inherit",
615
608
  minWidth: "2px",
@@ -617,7 +610,7 @@ var Zn = process.env.NODE_ENV === "production" ? {
617
610
  margin: 0,
618
611
  outline: 0,
619
612
  padding: 0
620
- }, _n = {
613
+ }, Jn = {
621
614
  flex: "1 1 auto",
622
615
  display: "inline-grid",
623
616
  gridArea: "1 / 1 / 2 / 3",
@@ -626,70 +619,70 @@ var Zn = process.env.NODE_ENV === "production" ? {
626
619
  content: 'attr(data-value) " "',
627
620
  visibility: "hidden",
628
621
  whiteSpace: "pre"
629
- }, It)
630
- }, Je = function(t) {
622
+ }, at)
623
+ }, Re = function(t) {
631
624
  return v({
632
625
  label: "input",
633
626
  color: "inherit",
634
627
  background: 0,
635
628
  opacity: t ? 0 : 1,
636
629
  width: "100%"
637
- }, It);
638
- }, qn = function(t) {
639
- var u = t.cx, n = t.value, e = at(t), o = e.innerRef, r = e.isDisabled, s = e.isHidden, a = e.isTextArea, l = e.inputClassName, c = _(e, $n);
640
- return f("div", h({}, H(t, "input", {
630
+ }, at);
631
+ }, Yn = function(t) {
632
+ var i = t.cx, n = t.value, e = $e(t), o = e.innerRef, r = e.isDisabled, s = e.isHidden, u = e.isTextArea, l = e.inputClassName, c = Y(e, Mn);
633
+ return h("div", f({}, N(t, "input", {
641
634
  "input-container": !0
642
635
  }), {
643
636
  "data-value": n || ""
644
- }), a ? f("textarea", h({
645
- className: u({
637
+ }), u ? h("textarea", f({
638
+ className: i({
646
639
  input: !0
647
640
  }, l),
648
641
  ref: o,
649
- style: v(v({}, Je(s)), {}, {
642
+ style: v(v({}, Re(s)), {}, {
650
643
  resize: "none"
651
644
  }),
652
645
  disabled: r
653
646
  }, c, {
654
647
  rows: 1
655
- })) : f("input", h({
656
- className: u({
648
+ })) : h("input", f({
649
+ className: i({
657
650
  input: !0
658
651
  }, l),
659
652
  ref: o,
660
- style: Je(s),
653
+ style: Re(s),
661
654
  disabled: r
662
655
  }, c)));
663
- }, eu = qn, tu = function(t, u) {
656
+ }, kn = Yn, zn = function(t, i) {
664
657
  var n = t.theme, e = n.spacing, o = n.borderRadius, r = n.colors;
665
658
  return v({
666
659
  label: "multiValue",
667
660
  display: "flex",
668
661
  minWidth: 0
669
- }, u ? {} : {
662
+ }, i ? {} : {
670
663
  backgroundColor: r.neutral10,
671
664
  borderRadius: o / 2,
672
665
  margin: e.baseUnit / 2
673
666
  });
674
- }, nu = function(t, u) {
667
+ }, jn = function(t, i) {
675
668
  var n = t.theme, e = n.borderRadius, o = n.colors, r = t.cropWithEllipsis;
676
669
  return v({
677
670
  overflow: "hidden",
678
671
  textOverflow: r || r === void 0 ? "ellipsis" : void 0,
679
672
  whiteSpace: "nowrap"
680
- }, u ? {} : {
673
+ }, i ? {} : {
681
674
  borderRadius: e / 2,
682
675
  color: o.neutral80,
683
676
  fontSize: "85%",
684
677
  padding: 3,
685
678
  paddingLeft: 6
686
679
  });
687
- }, uu = function(t, u) {
680
+ }, Un = function(t, i) {
688
681
  var n = t.theme, e = n.spacing, o = n.borderRadius, r = n.colors, s = t.isFocused;
689
682
  return v({
690
683
  alignItems: "center",
691
684
  display: "flex"
692
- }, u ? {} : {
685
+ }, i ? {} : {
693
686
  borderRadius: o / 2,
694
687
  backgroundColor: s ? r.dangerLight : void 0,
695
688
  paddingLeft: e.baseUnit,
@@ -699,44 +692,44 @@ var Zn = process.env.NODE_ENV === "production" ? {
699
692
  color: r.danger
700
693
  }
701
694
  });
702
- }, pt = function(t) {
703
- var u = t.children, n = t.innerProps;
704
- return f("div", n, u);
705
- }, iu = pt, au = pt;
706
- function ou(i) {
707
- var t = i.children, u = i.innerProps;
708
- return f("div", h({
695
+ }, ot = function(t) {
696
+ var i = t.children, n = t.innerProps;
697
+ return h("div", n, i);
698
+ }, Qn = ot, $n = ot;
699
+ function Kn(a) {
700
+ var t = a.children, i = a.innerProps;
701
+ return h("div", f({
709
702
  role: "button"
710
- }, u), t || f(Pe, {
703
+ }, i), t || h(Ve, {
711
704
  size: 14
712
705
  }));
713
706
  }
714
- var ru = function(t) {
715
- var u = t.children, n = t.components, e = t.data, o = t.innerProps, r = t.isDisabled, s = t.removeProps, a = t.selectProps, l = n.Container, c = n.Label, d = n.Remove;
716
- return f(l, {
707
+ var _n = function(t) {
708
+ var i = t.children, n = t.components, e = t.data, o = t.innerProps, r = t.isDisabled, s = t.removeProps, u = t.selectProps, l = n.Container, c = n.Label, d = n.Remove;
709
+ return h(l, {
717
710
  data: e,
718
- innerProps: v(v({}, H(t, "multiValue", {
711
+ innerProps: v(v({}, N(t, "multiValue", {
719
712
  "multi-value": !0,
720
713
  "multi-value--is-disabled": r
721
714
  })), o),
722
- selectProps: a
723
- }, f(c, {
715
+ selectProps: u
716
+ }, h(c, {
724
717
  data: e,
725
- innerProps: v({}, H(t, "multiValueLabel", {
718
+ innerProps: v({}, N(t, "multiValueLabel", {
726
719
  "multi-value__label": !0
727
720
  })),
728
- selectProps: a
729
- }, u), f(d, {
721
+ selectProps: u
722
+ }, i), h(d, {
730
723
  data: e,
731
- innerProps: v(v({}, H(t, "multiValueRemove", {
724
+ innerProps: v(v({}, N(t, "multiValueRemove", {
732
725
  "multi-value__remove": !0
733
726
  })), {}, {
734
- "aria-label": "Remove ".concat(u || "option")
727
+ "aria-label": "Remove ".concat(i || "option")
735
728
  }, s),
736
- selectProps: a
729
+ selectProps: u
737
730
  }));
738
- }, lu = ru, su = function(t, u) {
739
- var n = t.isDisabled, e = t.isFocused, o = t.isSelected, r = t.theme, s = r.spacing, a = r.colors;
731
+ }, qn = _n, eu = function(t, i) {
732
+ var n = t.isDisabled, e = t.isFocused, o = t.isSelected, r = t.theme, s = r.spacing, u = r.colors;
740
733
  return v({
741
734
  label: "option",
742
735
  cursor: "default",
@@ -745,18 +738,18 @@ var ru = function(t) {
745
738
  width: "100%",
746
739
  userSelect: "none",
747
740
  WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
748
- }, u ? {} : {
749
- backgroundColor: o ? a.primary : e ? a.primary25 : "transparent",
750
- color: n ? a.neutral20 : o ? a.neutral0 : "inherit",
741
+ }, i ? {} : {
742
+ backgroundColor: o ? u.primary : e ? u.primary25 : "transparent",
743
+ color: n ? u.neutral20 : o ? u.neutral0 : "inherit",
751
744
  padding: "".concat(s.baseUnit * 2, "px ").concat(s.baseUnit * 3, "px"),
752
745
  // provide some affordance on touch devices
753
746
  ":active": {
754
- backgroundColor: n ? void 0 : o ? a.primary : a.primary50
747
+ backgroundColor: n ? void 0 : o ? u.primary : u.primary50
755
748
  }
756
749
  });
757
- }, cu = function(t) {
758
- var u = t.children, n = t.isDisabled, e = t.isFocused, o = t.isSelected, r = t.innerRef, s = t.innerProps;
759
- return f("div", h({}, H(t, "option", {
750
+ }, tu = function(t) {
751
+ var i = t.children, n = t.isDisabled, e = t.isFocused, o = t.isSelected, r = t.innerRef, s = t.innerProps;
752
+ return h("div", f({}, N(t, "option", {
760
753
  option: !0,
761
754
  "option--is-disabled": n,
762
755
  "option--is-focused": e,
@@ -764,23 +757,23 @@ var ru = function(t) {
764
757
  }), {
765
758
  ref: r,
766
759
  "aria-disabled": n
767
- }, s), u);
768
- }, du = cu, gu = function(t, u) {
760
+ }, s), i);
761
+ }, nu = tu, uu = function(t, i) {
769
762
  var n = t.theme, e = n.spacing, o = n.colors;
770
763
  return v({
771
764
  label: "placeholder",
772
765
  gridArea: "1 / 1 / 2 / 3"
773
- }, u ? {} : {
766
+ }, i ? {} : {
774
767
  color: o.neutral50,
775
768
  marginLeft: e.baseUnit / 2,
776
769
  marginRight: e.baseUnit / 2
777
770
  });
778
- }, bu = function(t) {
779
- var u = t.children, n = t.innerProps;
780
- return f("div", h({}, H(t, "placeholder", {
771
+ }, iu = function(t) {
772
+ var i = t.children, n = t.innerProps;
773
+ return h("div", f({}, N(t, "placeholder", {
781
774
  placeholder: !0
782
- }), n), u);
783
- }, Iu = bu, pu = function(t, u) {
775
+ }), n), i);
776
+ }, au = iu, ou = function(t, i) {
784
777
  var n = t.isDisabled, e = t.theme, o = e.spacing, r = e.colors;
785
778
  return v({
786
779
  label: "singleValue",
@@ -789,69 +782,69 @@ var ru = function(t) {
789
782
  overflow: "hidden",
790
783
  textOverflow: "ellipsis",
791
784
  whiteSpace: "nowrap"
792
- }, u ? {} : {
785
+ }, i ? {} : {
793
786
  color: n ? r.neutral40 : r.neutral80,
794
787
  marginLeft: o.baseUnit / 2,
795
788
  marginRight: o.baseUnit / 2
796
789
  });
797
- }, mu = function(t) {
798
- var u = t.children, n = t.isDisabled, e = t.innerProps;
799
- return f("div", h({}, H(t, "singleValue", {
790
+ }, ru = function(t) {
791
+ var i = t.children, n = t.isDisabled, e = t.innerProps;
792
+ return h("div", f({}, N(t, "singleValue", {
800
793
  "single-value": !0,
801
794
  "single-value--is-disabled": n
802
- }), e), u);
803
- }, Cu = mu, vu = {
804
- ClearIndicator: Hn,
805
- Control: Jn,
806
- DropdownIndicator: Sn,
807
- DownChevron: gt,
808
- CrossIcon: Pe,
809
- Group: Qn,
810
- GroupHeading: Un,
811
- IndicatorsContainer: yn,
812
- IndicatorSeparator: Pn,
813
- Input: eu,
814
- LoadingIndicator: wn,
815
- Menu: bn,
816
- MenuList: pn,
817
- MenuPortal: An,
818
- LoadingMessage: fn,
819
- NoOptionsMessage: vn,
820
- MultiValue: lu,
821
- MultiValueContainer: iu,
822
- MultiValueLabel: au,
823
- MultiValueRemove: ou,
824
- Option: du,
825
- Placeholder: Iu,
826
- SelectContainer: xn,
827
- SingleValue: Cu,
828
- ValueContainer: Fn
829
- }, fu = function(t) {
830
- return v(v({}, vu), t.components);
795
+ }), e), i);
796
+ }, lu = ru, su = {
797
+ ClearIndicator: Vn,
798
+ Control: Rn,
799
+ DropdownIndicator: Bn,
800
+ DownChevron: ut,
801
+ CrossIcon: Ve,
802
+ Group: wn,
803
+ GroupHeading: Ln,
804
+ IndicatorsContainer: vn,
805
+ IndicatorSeparator: yn,
806
+ Input: kn,
807
+ LoadingIndicator: Zn,
808
+ Menu: un,
809
+ MenuList: on,
810
+ MenuPortal: gn,
811
+ LoadingMessage: cn,
812
+ NoOptionsMessage: sn,
813
+ MultiValue: qn,
814
+ MultiValueContainer: Qn,
815
+ MultiValueLabel: $n,
816
+ MultiValueRemove: Kn,
817
+ Option: nu,
818
+ Placeholder: au,
819
+ SelectContainer: In,
820
+ SingleValue: lu,
821
+ ValueContainer: mn
822
+ }, cu = function(t) {
823
+ return v(v({}, su), t.components);
831
824
  };
832
- function hu() {
825
+ function du() {
833
826
  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).";
834
827
  }
835
- var Au = process.env.NODE_ENV === "production" ? {
828
+ var gu = process.env.NODE_ENV === "production" ? {
836
829
  name: "7pg0cj-a11yText",
837
830
  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"
838
831
  } : {
839
832
  name: "1f43avz-a11yText-A11yText",
840
833
  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;",
841
834
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
842
- toString: hu
843
- }, Gu = function(t) {
844
- return f("span", h({
845
- css: Au
835
+ toString: du
836
+ }, bu = function(t) {
837
+ return h("span", f({
838
+ css: gu
846
839
  }, t));
847
- }, Ye = Gu, xu = {
840
+ }, He = bu, Iu = {
848
841
  guidance: function(t) {
849
- var u = t.isSearchable, n = t.isMulti, e = t.tabSelectsValue, o = t.context, r = t.isInitialFocus;
842
+ var i = t.isSearchable, n = t.isMulti, e = t.tabSelectsValue, o = t.context, r = t.isInitialFocus;
850
843
  switch (o) {
851
844
  case "menu":
852
845
  return "Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(e ? ", press Tab to select the option and exit the menu" : "", ".");
853
846
  case "input":
854
- return r ? "".concat(t["aria-label"] || "Select", " is focused ").concat(u ? ",type to refine list" : "", ", press Down to open the menu, ").concat(n ? " press left to focus selected values" : "") : "";
847
+ return r ? "".concat(t["aria-label"] || "Select", " is focused ").concat(i ? ",type to refine list" : "", ", press Down to open the menu, ").concat(n ? " press left to focus selected values" : "") : "";
855
848
  case "value":
856
849
  return "Use left and right to toggle between focused values, press Backspace to remove the currently focused value";
857
850
  default:
@@ -859,8 +852,8 @@ var Au = process.env.NODE_ENV === "production" ? {
859
852
  }
860
853
  },
861
854
  onChange: function(t) {
862
- var u = t.action, n = t.label, e = n === void 0 ? "" : n, o = t.labels, r = t.isDisabled;
863
- switch (u) {
855
+ var i = t.action, n = t.label, e = n === void 0 ? "" : n, o = t.labels, r = t.isDisabled;
856
+ switch (i) {
864
857
  case "deselect-option":
865
858
  case "pop-value":
866
859
  case "remove-value":
@@ -876,100 +869,100 @@ var Au = process.env.NODE_ENV === "production" ? {
876
869
  }
877
870
  },
878
871
  onFocus: function(t) {
879
- var u = t.context, n = t.focused, e = t.options, o = t.label, r = o === void 0 ? "" : o, s = t.selectValue, a = t.isDisabled, l = t.isSelected, c = t.isAppleDevice, d = function(p, g) {
872
+ var i = t.context, n = t.focused, e = t.options, o = t.label, r = o === void 0 ? "" : o, s = t.selectValue, u = t.isDisabled, l = t.isSelected, c = t.isAppleDevice, d = function(p, g) {
880
873
  return p && p.length ? "".concat(p.indexOf(g) + 1, " of ").concat(p.length) : "";
881
874
  };
882
- if (u === "value" && s)
875
+ if (i === "value" && s)
883
876
  return "value ".concat(r, " focused, ").concat(d(s, n), ".");
884
- if (u === "menu" && c) {
885
- var I = a ? " disabled" : "", b = "".concat(l ? " selected" : "").concat(I);
886
- return "".concat(r).concat(b, ", ").concat(d(e, n), ".");
877
+ if (i === "menu" && c) {
878
+ var b = u ? " disabled" : "", I = "".concat(l ? " selected" : "").concat(b);
879
+ return "".concat(r).concat(I, ", ").concat(d(e, n), ".");
887
880
  }
888
881
  return "";
889
882
  },
890
883
  onFilter: function(t) {
891
- var u = t.inputValue, n = t.resultsMessage;
892
- return "".concat(n).concat(u ? " for search term " + u : "", ".");
884
+ var i = t.inputValue, n = t.resultsMessage;
885
+ return "".concat(n).concat(i ? " for search term " + i : "", ".");
893
886
  }
894
- }, Bu = function(t) {
895
- var u = t.ariaSelection, n = t.focusedOption, e = t.focusedValue, o = t.focusableOptions, r = t.isFocused, s = t.selectValue, a = t.selectProps, l = t.id, c = t.isAppleDevice, d = a.ariaLiveMessages, I = a.getOptionLabel, b = a.inputValue, m = a.isMulti, p = a.isOptionDisabled, g = a.isSearchable, C = a.menuIsOpen, B = a.options, x = a.screenReaderStatus, G = a.tabSelectsValue, F = a.isLoading, V = a["aria-label"], y = a["aria-live"], A = te(function() {
896
- return v(v({}, xu), d || {});
897
- }, [d]), E = te(function() {
898
- var N = "";
899
- if (u && A.onChange) {
900
- var S = u.option, j = u.options, O = u.removedValue, q = u.removedValues, $ = u.value, ne = function(Q) {
901
- return Array.isArray(Q) ? null : Q;
902
- }, R = O || S || ne($), J = R ? I(R) : "", U = j || q || void 0, Y = U ? U.map(I) : [], k = v({
887
+ }, pu = function(t) {
888
+ var i = t.ariaSelection, n = t.focusedOption, e = t.focusedValue, o = t.focusableOptions, r = t.isFocused, s = t.selectValue, u = t.selectProps, l = t.id, c = t.isAppleDevice, d = u.ariaLiveMessages, b = u.getOptionLabel, I = u.inputValue, C = u.isMulti, p = u.isOptionDisabled, g = u.isSearchable, m = u.menuIsOpen, B = u.options, x = u.screenReaderStatus, G = u.tabSelectsValue, V = u.isLoading, E = u["aria-label"], F = u["aria-live"], A = q(function() {
889
+ return v(v({}, Iu), d || {});
890
+ }, [d]), W = q(function() {
891
+ var Z = "";
892
+ if (i && A.onChange) {
893
+ var S = i.option, J = i.options, M = i.removedValue, Q = i.removedValues, $ = i.value, ae = function(z) {
894
+ return Array.isArray(z) ? null : z;
895
+ }, R = M || S || ae($), L = R ? b(R) : "", k = J || Q || void 0, K = k ? k.map(b) : [], O = v({
903
896
  // multiSelected items are usually items that have already been selected
904
897
  // or set by the user as a default value so we assume they are not disabled
905
898
  isDisabled: R && p(R, s),
906
- label: J,
907
- labels: Y
908
- }, u);
909
- N = A.onChange(k);
899
+ label: L,
900
+ labels: K
901
+ }, i);
902
+ Z = A.onChange(O);
910
903
  }
911
- return N;
912
- }, [u, A, p, s, I]), Z = te(function() {
913
- var N = "", S = n || e, j = !!(n && s && s.includes(n));
904
+ return Z;
905
+ }, [i, A, p, s, b]), H = q(function() {
906
+ var Z = "", S = n || e, J = !!(n && s && s.includes(n));
914
907
  if (S && A.onFocus) {
915
- var O = {
908
+ var M = {
916
909
  focused: S,
917
- label: I(S),
910
+ label: b(S),
918
911
  isDisabled: p(S, s),
919
- isSelected: j,
912
+ isSelected: J,
920
913
  options: o,
921
914
  context: S === n ? "menu" : "value",
922
915
  selectValue: s,
923
916
  isAppleDevice: c
924
917
  };
925
- N = A.onFocus(O);
918
+ Z = A.onFocus(M);
926
919
  }
927
- return N;
928
- }, [n, e, I, p, A, o, s, c]), D = te(function() {
929
- var N = "";
930
- if (C && B.length && !F && A.onFilter) {
920
+ return Z;
921
+ }, [n, e, b, p, A, o, s, c]), T = q(function() {
922
+ var Z = "";
923
+ if (m && B.length && !V && A.onFilter) {
931
924
  var S = x({
932
925
  count: o.length
933
926
  });
934
- N = A.onFilter({
935
- inputValue: b,
927
+ Z = A.onFilter({
928
+ inputValue: I,
936
929
  resultsMessage: S
937
930
  });
938
931
  }
939
- return N;
940
- }, [o, b, C, A, B, x, F]), X = u?.action === "initial-input-focus", L = te(function() {
941
- var N = "";
932
+ return Z;
933
+ }, [o, I, m, A, B, x, V]), X = i?.action === "initial-input-focus", P = q(function() {
934
+ var Z = "";
942
935
  if (A.guidance) {
943
- var S = e ? "value" : C ? "menu" : "input";
944
- N = A.guidance({
945
- "aria-label": V,
936
+ var S = e ? "value" : m ? "menu" : "input";
937
+ Z = A.guidance({
938
+ "aria-label": E,
946
939
  context: S,
947
940
  isDisabled: n && p(n, s),
948
- isMulti: m,
941
+ isMulti: C,
949
942
  isSearchable: g,
950
943
  tabSelectsValue: G,
951
944
  isInitialFocus: X
952
945
  });
953
946
  }
954
- return N;
955
- }, [V, n, e, m, p, g, C, A, s, G, X]), w = f(He, null, f("span", {
947
+ return Z;
948
+ }, [E, n, e, C, p, g, m, A, s, G, X]), w = h(Be, null, h("span", {
956
949
  id: "aria-selection"
957
- }, E), f("span", {
950
+ }, W), h("span", {
958
951
  id: "aria-focused"
959
- }, Z), f("span", {
952
+ }, H), h("span", {
960
953
  id: "aria-results"
961
- }, D), f("span", {
954
+ }, T), h("span", {
962
955
  id: "aria-guidance"
963
- }, L));
964
- return f(He, null, f(Ye, {
956
+ }, P));
957
+ return h(Be, null, h(He, {
965
958
  id: l
966
- }, X && w), f(Ye, {
967
- "aria-live": y,
959
+ }, X && w), h(He, {
960
+ "aria-live": F,
968
961
  "aria-atomic": "false",
969
962
  "aria-relevant": "additions text",
970
963
  role: "log"
971
964
  }, r && !X && w));
972
- }, Fu = Bu, De = [{
965
+ }, mu = pu, Fe = [{
973
966
  base: "A",
974
967
  letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
975
968
  }, {
@@ -1221,39 +1214,39 @@ var Au = process.env.NODE_ENV === "production" ? {
1221
1214
  }, {
1222
1215
  base: "z",
1223
1216
  letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ"
1224
- }], Vu = new RegExp("[" + De.map(function(i) {
1225
- return i.letters;
1226
- }).join("") + "]", "g"), mt = {};
1227
- for (var Ee = 0; Ee < De.length; Ee++)
1228
- for (var We = De[Ee], Xe = 0; Xe < We.letters.length; Xe++)
1229
- mt[We.letters[Xe]] = We.base;
1230
- var Ct = function(t) {
1231
- return t.replace(Vu, function(u) {
1232
- return mt[u];
1217
+ }], Cu = new RegExp("[" + Fe.map(function(a) {
1218
+ return a.letters;
1219
+ }).join("") + "]", "g"), rt = {};
1220
+ for (var Ce = 0; Ce < Fe.length; Ce++)
1221
+ for (var ve = Fe[Ce], he = 0; he < ve.letters.length; he++)
1222
+ rt[ve.letters[he]] = ve.base;
1223
+ var lt = function(t) {
1224
+ return t.replace(Cu, function(i) {
1225
+ return rt[i];
1233
1226
  });
1234
- }, yu = Dt(Ct), ke = function(t) {
1227
+ }, vu = Et(lt), Te = function(t) {
1235
1228
  return t.replace(/^\s+|\s+$/g, "");
1236
- }, Eu = function(t) {
1229
+ }, hu = function(t) {
1237
1230
  return "".concat(t.label, " ").concat(t.value);
1238
- }, Wu = function(t) {
1239
- return function(u, n) {
1240
- if (u.data.__isNew__) return !0;
1231
+ }, fu = function(t) {
1232
+ return function(i, n) {
1233
+ if (i.data.__isNew__) return !0;
1241
1234
  var e = v({
1242
1235
  ignoreCase: !0,
1243
1236
  ignoreAccents: !0,
1244
- stringify: Eu,
1237
+ stringify: hu,
1245
1238
  trim: !0,
1246
1239
  matchFrom: "any"
1247
- }, t), o = e.ignoreCase, r = e.ignoreAccents, s = e.stringify, a = e.trim, l = e.matchFrom, c = a ? ke(n) : n, d = a ? ke(s(u)) : s(u);
1248
- return o && (c = c.toLowerCase(), d = d.toLowerCase()), r && (c = yu(c), d = Ct(d)), l === "start" ? d.substr(0, c.length) === c : d.indexOf(c) > -1;
1240
+ }, t), o = e.ignoreCase, r = e.ignoreAccents, s = e.stringify, u = e.trim, l = e.matchFrom, c = u ? Te(n) : n, d = u ? Te(s(i)) : s(i);
1241
+ return o && (c = c.toLowerCase(), d = d.toLowerCase()), r && (c = vu(c), d = lt(d)), l === "start" ? d.substr(0, c.length) === c : d.indexOf(c) > -1;
1249
1242
  };
1250
- }, Xu = ["innerRef"];
1251
- function Zu(i) {
1252
- var t = i.innerRef, u = _(i, Xu), n = an(u, "onExited", "in", "enter", "exit", "appear");
1253
- return f("input", h({
1243
+ }, Au = ["innerRef"];
1244
+ function Gu(a) {
1245
+ var t = a.innerRef, i = Y(a, Au), n = Qt(i, "onExited", "in", "enter", "exit", "appear");
1246
+ return h("input", f({
1254
1247
  ref: t
1255
1248
  }, n, {
1256
- css: /* @__PURE__ */ ut({
1249
+ css: /* @__PURE__ */ Ue({
1257
1250
  label: "dummyInput",
1258
1251
  // get rid of any default styles
1259
1252
  background: 0,
@@ -1276,212 +1269,212 @@ function Zu(i) {
1276
1269
  }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncm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xuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")
1277
1270
  }));
1278
1271
  }
1279
- var Nu = function(t) {
1272
+ var xu = function(t) {
1280
1273
  t.cancelable && t.preventDefault(), t.stopPropagation();
1281
1274
  };
1282
- function Su(i) {
1283
- var t = i.isEnabled, u = i.onBottomArrive, n = i.onBottomLeave, e = i.onTopArrive, o = i.onTopLeave, r = K(!1), s = K(!1), a = K(0), l = K(null), c = T(function(g, C) {
1275
+ function Bu(a) {
1276
+ var t = a.isEnabled, i = a.onBottomArrive, n = a.onBottomLeave, e = a.onTopArrive, o = a.onTopLeave, r = j(!1), s = j(!1), u = j(0), l = j(null), c = D(function(g, m) {
1284
1277
  if (l.current !== null) {
1285
- var B = l.current, x = B.scrollTop, G = B.scrollHeight, F = B.clientHeight, V = l.current, y = C > 0, A = G - F - x, E = !1;
1286
- A > C && r.current && (n && n(g), r.current = !1), y && s.current && (o && o(g), s.current = !1), y && C > A ? (u && !r.current && u(g), V.scrollTop = G, E = !0, r.current = !0) : !y && -C > x && (e && !s.current && e(g), V.scrollTop = 0, E = !0, s.current = !0), E && Nu(g);
1278
+ var B = l.current, x = B.scrollTop, G = B.scrollHeight, V = B.clientHeight, E = l.current, F = m > 0, A = G - V - x, W = !1;
1279
+ A > m && r.current && (n && n(g), r.current = !1), F && s.current && (o && o(g), s.current = !1), F && m > A ? (i && !r.current && i(g), E.scrollTop = G, W = !0, r.current = !0) : !F && -m > x && (e && !s.current && e(g), E.scrollTop = 0, W = !0, s.current = !0), W && xu(g);
1287
1280
  }
1288
- }, [u, n, e, o]), d = T(function(g) {
1281
+ }, [i, n, e, o]), d = D(function(g) {
1289
1282
  c(g, g.deltaY);
1290
- }, [c]), I = T(function(g) {
1291
- a.current = g.changedTouches[0].clientY;
1292
- }, []), b = T(function(g) {
1293
- var C = a.current - g.changedTouches[0].clientY;
1294
- c(g, C);
1295
- }, [c]), m = T(function(g) {
1283
+ }, [c]), b = D(function(g) {
1284
+ u.current = g.changedTouches[0].clientY;
1285
+ }, []), I = D(function(g) {
1286
+ var m = u.current - g.changedTouches[0].clientY;
1287
+ c(g, m);
1288
+ }, [c]), C = D(function(g) {
1296
1289
  if (g) {
1297
- var C = tn ? {
1290
+ var m = zt ? {
1298
1291
  passive: !1
1299
1292
  } : !1;
1300
- g.addEventListener("wheel", d, C), g.addEventListener("touchstart", I, C), g.addEventListener("touchmove", b, C);
1293
+ g.addEventListener("wheel", d, m), g.addEventListener("touchstart", b, m), g.addEventListener("touchmove", I, m);
1301
1294
  }
1302
- }, [b, I, d]), p = T(function(g) {
1303
- g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", I, !1), g.removeEventListener("touchmove", b, !1));
1304
- }, [b, I, d]);
1305
- return ve(function() {
1295
+ }, [I, b, d]), p = D(function(g) {
1296
+ g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", b, !1), g.removeEventListener("touchmove", I, !1));
1297
+ }, [I, b, d]);
1298
+ return Qe(function() {
1306
1299
  if (t) {
1307
1300
  var g = l.current;
1308
- return m(g), function() {
1301
+ return C(g), function() {
1309
1302
  p(g);
1310
1303
  };
1311
1304
  }
1312
- }, [t, m, p]), function(g) {
1305
+ }, [t, C, p]), function(g) {
1313
1306
  l.current = g;
1314
1307
  };
1315
1308
  }
1316
- var ze = ["boxSizing", "height", "overflow", "paddingRight", "position"], je = {
1309
+ var De = ["boxSizing", "height", "overflow", "paddingRight", "position"], Pe = {
1317
1310
  boxSizing: "border-box",
1318
1311
  // account for possible declaration `width: 100%;` on body
1319
1312
  overflow: "hidden",
1320
1313
  position: "relative",
1321
1314
  height: "100%"
1322
1315
  };
1323
- function Ue(i) {
1324
- i.preventDefault();
1316
+ function Le(a) {
1317
+ a.preventDefault();
1325
1318
  }
1326
- function Qe(i) {
1327
- i.stopPropagation();
1319
+ function we(a) {
1320
+ a.stopPropagation();
1328
1321
  }
1329
- function $e() {
1330
- var i = this.scrollTop, t = this.scrollHeight, u = i + this.offsetHeight;
1331
- i === 0 ? this.scrollTop = 1 : u === t && (this.scrollTop = i - 1);
1322
+ function Me() {
1323
+ var a = this.scrollTop, t = this.scrollHeight, i = a + this.offsetHeight;
1324
+ a === 0 ? this.scrollTop = 1 : i === t && (this.scrollTop = a - 1);
1332
1325
  }
1333
- function Ke() {
1326
+ function Oe() {
1334
1327
  return "ontouchstart" in window || navigator.maxTouchPoints;
1335
1328
  }
1336
- var _e = !!(typeof window < "u" && window.document && window.document.createElement), ce = 0, ae = {
1329
+ var Je = !!(typeof window < "u" && window.document && window.document.createElement), ue = 0, te = {
1337
1330
  capture: !1,
1338
1331
  passive: !1
1339
1332
  };
1340
- function Ru(i) {
1341
- var t = i.isEnabled, u = i.accountForScrollbars, n = u === void 0 ? !0 : u, e = K({}), o = K(null), r = T(function(a) {
1342
- if (_e) {
1333
+ function Fu(a) {
1334
+ var t = a.isEnabled, i = a.accountForScrollbars, n = i === void 0 ? !0 : i, e = j({}), o = j(null), r = D(function(u) {
1335
+ if (Je) {
1343
1336
  var l = document.body, c = l && l.style;
1344
- if (n && ze.forEach(function(m) {
1345
- var p = c && c[m];
1346
- e.current[m] = p;
1347
- }), n && ce < 1) {
1348
- var d = parseInt(e.current.paddingRight, 10) || 0, I = document.body ? document.body.clientWidth : 0, b = window.innerWidth - I + d || 0;
1349
- Object.keys(je).forEach(function(m) {
1350
- var p = je[m];
1351
- c && (c[m] = p);
1352
- }), c && (c.paddingRight = "".concat(b, "px"));
1337
+ if (n && De.forEach(function(C) {
1338
+ var p = c && c[C];
1339
+ e.current[C] = p;
1340
+ }), n && ue < 1) {
1341
+ var d = parseInt(e.current.paddingRight, 10) || 0, b = document.body ? document.body.clientWidth : 0, I = window.innerWidth - b + d || 0;
1342
+ Object.keys(Pe).forEach(function(C) {
1343
+ var p = Pe[C];
1344
+ c && (c[C] = p);
1345
+ }), c && (c.paddingRight = "".concat(I, "px"));
1353
1346
  }
1354
- l && Ke() && (l.addEventListener("touchmove", Ue, ae), a && (a.addEventListener("touchstart", $e, ae), a.addEventListener("touchmove", Qe, ae))), ce += 1;
1347
+ l && Oe() && (l.addEventListener("touchmove", Le, te), u && (u.addEventListener("touchstart", Me, te), u.addEventListener("touchmove", we, te))), ue += 1;
1355
1348
  }
1356
- }, [n]), s = T(function(a) {
1357
- if (_e) {
1349
+ }, [n]), s = D(function(u) {
1350
+ if (Je) {
1358
1351
  var l = document.body, c = l && l.style;
1359
- ce = Math.max(ce - 1, 0), n && ce < 1 && ze.forEach(function(d) {
1360
- var I = e.current[d];
1361
- c && (c[d] = I);
1362
- }), l && Ke() && (l.removeEventListener("touchmove", Ue, ae), a && (a.removeEventListener("touchstart", $e, ae), a.removeEventListener("touchmove", Qe, ae)));
1352
+ ue = Math.max(ue - 1, 0), n && ue < 1 && De.forEach(function(d) {
1353
+ var b = e.current[d];
1354
+ c && (c[d] = b);
1355
+ }), l && Oe() && (l.removeEventListener("touchmove", Le, te), u && (u.removeEventListener("touchstart", Me, te), u.removeEventListener("touchmove", we, te)));
1363
1356
  }
1364
1357
  }, [n]);
1365
- return ve(function() {
1358
+ return Qe(function() {
1366
1359
  if (t) {
1367
- var a = o.current;
1368
- return r(a), function() {
1369
- s(a);
1360
+ var u = o.current;
1361
+ return r(u), function() {
1362
+ s(u);
1370
1363
  };
1371
1364
  }
1372
- }, [t, r, s]), function(a) {
1373
- o.current = a;
1365
+ }, [t, r, s]), function(u) {
1366
+ o.current = u;
1374
1367
  };
1375
1368
  }
1376
- function Hu() {
1369
+ function Vu() {
1377
1370
  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).";
1378
1371
  }
1379
- var Du = function(t) {
1380
- var u = t.target;
1381
- return u.ownerDocument.activeElement && u.ownerDocument.activeElement.blur();
1382
- }, Pu = process.env.NODE_ENV === "production" ? {
1372
+ var Eu = function(t) {
1373
+ var i = t.target;
1374
+ return i.ownerDocument.activeElement && i.ownerDocument.activeElement.blur();
1375
+ }, yu = process.env.NODE_ENV === "production" ? {
1383
1376
  name: "1kfdb0e",
1384
1377
  styles: "position:fixed;left:0;bottom:0;right:0;top:0"
1385
1378
  } : {
1386
1379
  name: "bp8cua-ScrollManager",
1387
1380
  styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
1388
1381
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1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uICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",
1389
- toString: Hu
1382
+ toString: Vu
1390
1383
  };
1391
- function Tu(i) {
1392
- var t = i.children, u = i.lockEnabled, n = i.captureEnabled, e = n === void 0 ? !0 : n, o = i.onBottomArrive, r = i.onBottomLeave, s = i.onTopArrive, a = i.onTopLeave, l = Su({
1384
+ function Wu(a) {
1385
+ var t = a.children, i = a.lockEnabled, n = a.captureEnabled, e = n === void 0 ? !0 : n, o = a.onBottomArrive, r = a.onBottomLeave, s = a.onTopArrive, u = a.onTopLeave, l = Bu({
1393
1386
  isEnabled: e,
1394
1387
  onBottomArrive: o,
1395
1388
  onBottomLeave: r,
1396
1389
  onTopArrive: s,
1397
- onTopLeave: a
1398
- }), c = Ru({
1399
- isEnabled: u
1400
- }), d = function(b) {
1401
- l(b), c(b);
1390
+ onTopLeave: u
1391
+ }), c = Fu({
1392
+ isEnabled: i
1393
+ }), d = function(I) {
1394
+ l(I), c(I);
1402
1395
  };
1403
- return f(He, null, u && f("div", {
1404
- onClick: Du,
1405
- css: Pu
1396
+ return h(Be, null, i && h("div", {
1397
+ onClick: Eu,
1398
+ css: yu
1406
1399
  }), t(d));
1407
1400
  }
1408
- function Lu() {
1401
+ function Xu() {
1409
1402
  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).";
1410
1403
  }
1411
- var wu = process.env.NODE_ENV === "production" ? {
1404
+ var Zu = process.env.NODE_ENV === "production" ? {
1412
1405
  name: "1a0ro4n-requiredInput",
1413
1406
  styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"
1414
1407
  } : {
1415
1408
  name: "5kkxb2-requiredInput-RequiredInput",
1416
1409
  styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",
1417
1410
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZm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.name, n = t.onFocus;
1421
- return f("input", {
1411
+ toString: Xu
1412
+ }, Nu = function(t) {
1413
+ var i = t.name, n = t.onFocus;
1414
+ return h("input", {
1422
1415
  required: !0,
1423
- name: u,
1416
+ name: i,
1424
1417
  tabIndex: -1,
1425
1418
  "aria-hidden": "true",
1426
1419
  onFocus: n,
1427
- css: wu,
1420
+ css: Zu,
1428
1421
  value: "",
1429
1422
  onChange: function() {
1430
1423
  }
1431
1424
  });
1432
- }, Mu = Ou;
1433
- function Te(i) {
1425
+ }, Su = Nu;
1426
+ function Ee(a) {
1434
1427
  var t;
1435
- return typeof window < "u" && window.navigator != null ? i.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
1428
+ return typeof window < "u" && window.navigator != null ? a.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
1436
1429
  }
1437
- function Ju() {
1438
- return Te(/^iPhone/i);
1430
+ function Ru() {
1431
+ return Ee(/^iPhone/i);
1439
1432
  }
1440
- function vt() {
1441
- return Te(/^Mac/i);
1433
+ function st() {
1434
+ return Ee(/^Mac/i);
1442
1435
  }
1443
- function Yu() {
1444
- return Te(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
1445
- vt() && navigator.maxTouchPoints > 1;
1436
+ function Hu() {
1437
+ return Ee(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
1438
+ st() && navigator.maxTouchPoints > 1;
1446
1439
  }
1447
- function ku() {
1448
- return Ju() || Yu();
1440
+ function Tu() {
1441
+ return Ru() || Hu();
1449
1442
  }
1450
- function zu() {
1451
- return vt() || ku();
1443
+ function Du() {
1444
+ return st() || Tu();
1452
1445
  }
1453
- var ju = function(t) {
1446
+ var Pu = function(t) {
1454
1447
  return t.label;
1455
- }, ft = function(t) {
1448
+ }, ct = function(t) {
1456
1449
  return t.label;
1457
- }, ht = function(t) {
1450
+ }, dt = function(t) {
1458
1451
  return t.value;
1459
- }, Uu = function(t) {
1452
+ }, Lu = function(t) {
1460
1453
  return !!t.isDisabled;
1461
- }, Qu = {
1462
- clearIndicator: Rn,
1463
- container: Gn,
1464
- control: On,
1465
- dropdownIndicator: Nn,
1466
- group: kn,
1467
- groupHeading: jn,
1468
- indicatorsContainer: Vn,
1469
- indicatorSeparator: Dn,
1470
- input: Kn,
1471
- loadingIndicator: Ln,
1472
- loadingMessage: Cn,
1473
- menu: cn,
1474
- menuList: In,
1475
- menuPortal: hn,
1476
- multiValue: tu,
1477
- multiValueLabel: nu,
1478
- multiValueRemove: uu,
1479
- noOptionsMessage: mn,
1480
- option: su,
1481
- placeholder: gu,
1482
- singleValue: pu,
1483
- valueContainer: Bn
1484
- }, $u = {
1454
+ }, wu = {
1455
+ clearIndicator: Fn,
1456
+ container: bn,
1457
+ control: Nn,
1458
+ dropdownIndicator: xn,
1459
+ group: Tn,
1460
+ groupHeading: Pn,
1461
+ indicatorsContainer: Cn,
1462
+ indicatorSeparator: En,
1463
+ input: On,
1464
+ loadingIndicator: Xn,
1465
+ loadingMessage: ln,
1466
+ menu: en,
1467
+ menuList: an,
1468
+ menuPortal: dn,
1469
+ multiValue: zn,
1470
+ multiValueLabel: jn,
1471
+ multiValueRemove: Un,
1472
+ noOptionsMessage: rn,
1473
+ option: eu,
1474
+ placeholder: uu,
1475
+ singleValue: ou,
1476
+ valueContainer: pn
1477
+ }, Mu = {
1485
1478
  primary: "#2684FF",
1486
1479
  primary75: "#4C9AFF",
1487
1480
  primary50: "#B2D4FF",
@@ -1499,35 +1492,35 @@ var ju = function(t) {
1499
1492
  neutral70: "hsl(0, 0%, 30%)",
1500
1493
  neutral80: "hsl(0, 0%, 20%)",
1501
1494
  neutral90: "hsl(0, 0%, 10%)"
1502
- }, Ku = 4, At = 4, _u = 38, qu = At * 2, ei = {
1503
- baseUnit: At,
1504
- controlHeight: _u,
1505
- menuGutter: qu
1506
- }, Ze = {
1507
- borderRadius: Ku,
1508
- colors: $u,
1509
- spacing: ei
1510
- }, ti = {
1495
+ }, Ou = 4, gt = 4, Ju = 38, Yu = gt * 2, ku = {
1496
+ baseUnit: gt,
1497
+ controlHeight: Ju,
1498
+ menuGutter: Yu
1499
+ }, fe = {
1500
+ borderRadius: Ou,
1501
+ colors: Mu,
1502
+ spacing: ku
1503
+ }, zu = {
1511
1504
  "aria-live": "polite",
1512
1505
  backspaceRemovesValue: !0,
1513
- blurInputOnSelect: Oe(),
1514
- captureMenuScroll: !Oe(),
1506
+ blurInputOnSelect: Ne(),
1507
+ captureMenuScroll: !Ne(),
1515
1508
  classNames: {},
1516
1509
  closeMenuOnSelect: !0,
1517
1510
  closeMenuOnScroll: !1,
1518
1511
  components: {},
1519
1512
  controlShouldRenderValue: !0,
1520
1513
  escapeClearsValue: !1,
1521
- filterOption: Wu(),
1522
- formatGroupLabel: ju,
1523
- getOptionLabel: ft,
1524
- getOptionValue: ht,
1514
+ filterOption: fu(),
1515
+ formatGroupLabel: Pu,
1516
+ getOptionLabel: ct,
1517
+ getOptionValue: dt,
1525
1518
  isDisabled: !1,
1526
1519
  isLoading: !1,
1527
1520
  isMulti: !1,
1528
1521
  isRtl: !1,
1529
1522
  isSearchable: !0,
1530
- isOptionDisabled: Uu,
1523
+ isOptionDisabled: Lu,
1531
1524
  loadingMessage: function() {
1532
1525
  return "Loading...";
1533
1526
  },
@@ -1537,7 +1530,7 @@ var ju = function(t) {
1537
1530
  menuPlacement: "bottom",
1538
1531
  menuPosition: "absolute",
1539
1532
  menuShouldBlockScroll: !1,
1540
- menuShouldScrollIntoView: !qt(),
1533
+ menuShouldScrollIntoView: !Yt(),
1541
1534
  noOptionsMessage: function() {
1542
1535
  return "No options";
1543
1536
  },
@@ -1547,16 +1540,16 @@ var ju = function(t) {
1547
1540
  pageSize: 5,
1548
1541
  placeholder: "Select...",
1549
1542
  screenReaderStatus: function(t) {
1550
- var u = t.count;
1551
- return "".concat(u, " result").concat(u !== 1 ? "s" : "", " available");
1543
+ var i = t.count;
1544
+ return "".concat(i, " result").concat(i !== 1 ? "s" : "", " available");
1552
1545
  },
1553
1546
  styles: {},
1554
1547
  tabIndex: 0,
1555
1548
  tabSelectsValue: !0,
1556
1549
  unstyled: !1
1557
1550
  };
1558
- function qe(i, t, u, n) {
1559
- var e = Bt(i, t, u), o = Ft(i, t, u), r = xt(i, t), s = Ge(i, t);
1551
+ function Ye(a, t, i, n) {
1552
+ var e = pt(a, t, i), o = mt(a, t, i), r = It(a, t), s = Ie(a, t);
1560
1553
  return {
1561
1554
  type: "option",
1562
1555
  data: t,
@@ -1567,105 +1560,105 @@ function qe(i, t, u, n) {
1567
1560
  index: n
1568
1561
  };
1569
1562
  }
1570
- function Ce(i, t) {
1571
- return i.options.map(function(u, n) {
1572
- if ("options" in u) {
1573
- var e = u.options.map(function(r, s) {
1574
- return qe(i, r, t, s);
1563
+ function ce(a, t) {
1564
+ return a.options.map(function(i, n) {
1565
+ if ("options" in i) {
1566
+ var e = i.options.map(function(r, s) {
1567
+ return Ye(a, r, t, s);
1575
1568
  }).filter(function(r) {
1576
- return tt(i, r);
1569
+ return ze(a, r);
1577
1570
  });
1578
1571
  return e.length > 0 ? {
1579
1572
  type: "group",
1580
- data: u,
1573
+ data: i,
1581
1574
  options: e,
1582
1575
  index: n
1583
1576
  } : void 0;
1584
1577
  }
1585
- var o = qe(i, u, t, n);
1586
- return tt(i, o) ? o : void 0;
1587
- }).filter(nn);
1578
+ var o = Ye(a, i, t, n);
1579
+ return ze(a, o) ? o : void 0;
1580
+ }).filter(jt);
1588
1581
  }
1589
- function Gt(i) {
1590
- return i.reduce(function(t, u) {
1591
- return u.type === "group" ? t.push.apply(t, oe(u.options.map(function(n) {
1582
+ function bt(a) {
1583
+ return a.reduce(function(t, i) {
1584
+ return i.type === "group" ? t.push.apply(t, ne(i.options.map(function(n) {
1592
1585
  return n.data;
1593
- }))) : t.push(u.data), t;
1586
+ }))) : t.push(i.data), t;
1594
1587
  }, []);
1595
1588
  }
1596
- function et(i, t) {
1597
- return i.reduce(function(u, n) {
1598
- return n.type === "group" ? u.push.apply(u, oe(n.options.map(function(e) {
1589
+ function ke(a, t) {
1590
+ return a.reduce(function(i, n) {
1591
+ return n.type === "group" ? i.push.apply(i, ne(n.options.map(function(e) {
1599
1592
  return {
1600
1593
  data: e.data,
1601
1594
  id: "".concat(t, "-").concat(n.index, "-").concat(e.index)
1602
1595
  };
1603
- }))) : u.push({
1596
+ }))) : i.push({
1604
1597
  data: n.data,
1605
1598
  id: "".concat(t, "-").concat(n.index)
1606
- }), u;
1599
+ }), i;
1607
1600
  }, []);
1608
1601
  }
1609
- function ni(i, t) {
1610
- return Gt(Ce(i, t));
1602
+ function ju(a, t) {
1603
+ return bt(ce(a, t));
1611
1604
  }
1612
- function tt(i, t) {
1613
- var u = i.inputValue, n = u === void 0 ? "" : u, e = t.data, o = t.isSelected, r = t.label, s = t.value;
1614
- return (!yt(i) || !o) && Vt(i, {
1605
+ function ze(a, t) {
1606
+ var i = a.inputValue, n = i === void 0 ? "" : i, e = t.data, o = t.isSelected, r = t.label, s = t.value;
1607
+ return (!vt(a) || !o) && Ct(a, {
1615
1608
  label: r,
1616
1609
  value: s,
1617
1610
  data: e
1618
1611
  }, n);
1619
1612
  }
1620
- function ui(i, t) {
1621
- var u = i.focusedValue, n = i.selectValue, e = n.indexOf(u);
1613
+ function Uu(a, t) {
1614
+ var i = a.focusedValue, n = a.selectValue, e = n.indexOf(i);
1622
1615
  if (e > -1) {
1623
- var o = t.indexOf(u);
1616
+ var o = t.indexOf(i);
1624
1617
  if (o > -1)
1625
- return u;
1618
+ return i;
1626
1619
  if (e < t.length)
1627
1620
  return t[e];
1628
1621
  }
1629
1622
  return null;
1630
1623
  }
1631
- function ii(i, t) {
1632
- var u = i.focusedOption;
1633
- return u && t.indexOf(u) > -1 ? u : t[0];
1624
+ function Qu(a, t) {
1625
+ var i = a.focusedOption;
1626
+ return i && t.indexOf(i) > -1 ? i : t[0];
1634
1627
  }
1635
- var Ne = function(t, u) {
1628
+ var Ae = function(t, i) {
1636
1629
  var n, e = (n = t.find(function(o) {
1637
- return o.data === u;
1630
+ return o.data === i;
1638
1631
  })) === null || n === void 0 ? void 0 : n.id;
1639
1632
  return e || null;
1640
- }, xt = function(t, u) {
1641
- return t.getOptionLabel(u);
1642
- }, Ge = function(t, u) {
1643
- return t.getOptionValue(u);
1633
+ }, It = function(t, i) {
1634
+ return t.getOptionLabel(i);
1635
+ }, Ie = function(t, i) {
1636
+ return t.getOptionValue(i);
1644
1637
  };
1645
- function Bt(i, t, u) {
1646
- return typeof i.isOptionDisabled == "function" ? i.isOptionDisabled(t, u) : !1;
1638
+ function pt(a, t, i) {
1639
+ return typeof a.isOptionDisabled == "function" ? a.isOptionDisabled(t, i) : !1;
1647
1640
  }
1648
- function Ft(i, t, u) {
1649
- if (u.indexOf(t) > -1) return !0;
1650
- if (typeof i.isOptionSelected == "function")
1651
- return i.isOptionSelected(t, u);
1652
- var n = Ge(i, t);
1653
- return u.some(function(e) {
1654
- return Ge(i, e) === n;
1641
+ function mt(a, t, i) {
1642
+ if (i.indexOf(t) > -1) return !0;
1643
+ if (typeof a.isOptionSelected == "function")
1644
+ return a.isOptionSelected(t, i);
1645
+ var n = Ie(a, t);
1646
+ return i.some(function(e) {
1647
+ return Ie(a, e) === n;
1655
1648
  });
1656
1649
  }
1657
- function Vt(i, t, u) {
1658
- return i.filterOption ? i.filterOption(t, u) : !0;
1650
+ function Ct(a, t, i) {
1651
+ return a.filterOption ? a.filterOption(t, i) : !0;
1659
1652
  }
1660
- var yt = function(t) {
1661
- var u = t.hideSelectedOptions, n = t.isMulti;
1662
- return u === void 0 ? n : u;
1663
- }, ai = 1, Le = /* @__PURE__ */ function(i) {
1664
- Pt(u, i);
1665
- var t = Tt(u);
1666
- function u(n) {
1653
+ var vt = function(t) {
1654
+ var i = t.hideSelectedOptions, n = t.isMulti;
1655
+ return i === void 0 ? n : i;
1656
+ }, $u = 1, ht = /* @__PURE__ */ function(a) {
1657
+ yt(i, a);
1658
+ var t = Wt(i);
1659
+ function i(n) {
1667
1660
  var e;
1668
- if (wt(this, u), e = t.call(this, n), e.state = {
1661
+ if (Zt(this, i), e = t.call(this, n), e.state = {
1669
1662
  ariaSelection: null,
1670
1663
  focusedOption: null,
1671
1664
  focusedOptionId: null,
@@ -1679,224 +1672,224 @@ var yt = function(t) {
1679
1672
  inputIsHiddenAfterUpdate: void 0,
1680
1673
  prevProps: void 0,
1681
1674
  instancePrefix: ""
1682
- }, e.blockOptionHover = !1, e.isComposing = !1, e.commonProps = void 0, e.initialTouchX = 0, e.initialTouchY = 0, e.openAfterFocus = !1, e.scrollToFocusedOptionOnUpdate = !1, e.userIsDragging = void 0, e.isAppleDevice = zu(), e.controlRef = null, e.getControlRef = function(a) {
1683
- e.controlRef = a;
1684
- }, e.focusedOptionRef = null, e.getFocusedOptionRef = function(a) {
1685
- e.focusedOptionRef = a;
1686
- }, e.menuListRef = null, e.getMenuListRef = function(a) {
1687
- e.menuListRef = a;
1688
- }, e.inputRef = null, e.getInputRef = function(a) {
1689
- e.inputRef = a;
1690
- }, e.focus = e.focusInput, e.blur = e.blurInput, e.onChange = function(a, l) {
1691
- var c = e.props, d = c.onChange, I = c.name;
1692
- l.name = I, e.ariaOnChange(a, l), d(a, l);
1693
- }, e.setValue = function(a, l, c) {
1694
- var d = e.props, I = d.closeMenuOnSelect, b = d.isMulti, m = d.inputValue;
1675
+ }, e.blockOptionHover = !1, e.isComposing = !1, e.commonProps = void 0, e.initialTouchX = 0, e.initialTouchY = 0, e.openAfterFocus = !1, e.scrollToFocusedOptionOnUpdate = !1, e.userIsDragging = void 0, e.isAppleDevice = Du(), e.controlRef = null, e.getControlRef = function(u) {
1676
+ e.controlRef = u;
1677
+ }, e.focusedOptionRef = null, e.getFocusedOptionRef = function(u) {
1678
+ e.focusedOptionRef = u;
1679
+ }, e.menuListRef = null, e.getMenuListRef = function(u) {
1680
+ e.menuListRef = u;
1681
+ }, e.inputRef = null, e.getInputRef = function(u) {
1682
+ e.inputRef = u;
1683
+ }, e.focus = e.focusInput, e.blur = e.blurInput, e.onChange = function(u, l) {
1684
+ var c = e.props, d = c.onChange, b = c.name;
1685
+ l.name = b, e.ariaOnChange(u, l), d(u, l);
1686
+ }, e.setValue = function(u, l, c) {
1687
+ var d = e.props, b = d.closeMenuOnSelect, I = d.isMulti, C = d.inputValue;
1695
1688
  e.onInputChange("", {
1696
1689
  action: "set-value",
1697
- prevInputValue: m
1698
- }), I && (e.setState({
1699
- inputIsHiddenAfterUpdate: !b
1690
+ prevInputValue: C
1691
+ }), b && (e.setState({
1692
+ inputIsHiddenAfterUpdate: !I
1700
1693
  }), e.onMenuClose()), e.setState({
1701
1694
  clearFocusValueOnUpdate: !0
1702
- }), e.onChange(a, {
1695
+ }), e.onChange(u, {
1703
1696
  action: l,
1704
1697
  option: c
1705
1698
  });
1706
- }, e.selectOption = function(a) {
1707
- var l = e.props, c = l.blurInputOnSelect, d = l.isMulti, I = l.name, b = e.state.selectValue, m = d && e.isOptionSelected(a, b), p = e.isOptionDisabled(a, b);
1708
- if (m) {
1709
- var g = e.getOptionValue(a);
1710
- e.setValue(b.filter(function(C) {
1711
- return e.getOptionValue(C) !== g;
1712
- }), "deselect-option", a);
1699
+ }, e.selectOption = function(u) {
1700
+ var l = e.props, c = l.blurInputOnSelect, d = l.isMulti, b = l.name, I = e.state.selectValue, C = d && e.isOptionSelected(u, I), p = e.isOptionDisabled(u, I);
1701
+ if (C) {
1702
+ var g = e.getOptionValue(u);
1703
+ e.setValue(I.filter(function(m) {
1704
+ return e.getOptionValue(m) !== g;
1705
+ }), "deselect-option", u);
1713
1706
  } else if (!p)
1714
- d ? e.setValue([].concat(oe(b), [a]), "select-option", a) : e.setValue(a, "select-option");
1707
+ d ? e.setValue([].concat(ne(I), [u]), "select-option", u) : e.setValue(u, "select-option");
1715
1708
  else {
1716
- e.ariaOnChange(a, {
1709
+ e.ariaOnChange(u, {
1717
1710
  action: "select-option",
1718
- option: a,
1719
- name: I
1711
+ option: u,
1712
+ name: b
1720
1713
  });
1721
1714
  return;
1722
1715
  }
1723
1716
  c && e.blurInput();
1724
- }, e.removeValue = function(a) {
1725
- var l = e.props.isMulti, c = e.state.selectValue, d = e.getOptionValue(a), I = c.filter(function(m) {
1726
- return e.getOptionValue(m) !== d;
1727
- }), b = ge(l, I, I[0] || null);
1728
- e.onChange(b, {
1717
+ }, e.removeValue = function(u) {
1718
+ var l = e.props.isMulti, c = e.state.selectValue, d = e.getOptionValue(u), b = c.filter(function(C) {
1719
+ return e.getOptionValue(C) !== d;
1720
+ }), I = ie(l, b, b[0] || null);
1721
+ e.onChange(I, {
1729
1722
  action: "remove-value",
1730
- removedValue: a
1723
+ removedValue: u
1731
1724
  }), e.focusInput();
1732
1725
  }, e.clearValue = function() {
1733
- var a = e.state.selectValue;
1734
- e.onChange(ge(e.props.isMulti, [], null), {
1726
+ var u = e.state.selectValue;
1727
+ e.onChange(ie(e.props.isMulti, [], null), {
1735
1728
  action: "clear",
1736
- removedValues: a
1729
+ removedValues: u
1737
1730
  });
1738
1731
  }, e.popValue = function() {
1739
- var a = e.props.isMulti, l = e.state.selectValue, c = l[l.length - 1], d = l.slice(0, l.length - 1), I = ge(a, d, d[0] || null);
1740
- e.onChange(I, {
1732
+ var u = e.props.isMulti, l = e.state.selectValue, c = l[l.length - 1], d = l.slice(0, l.length - 1), b = ie(u, d, d[0] || null);
1733
+ e.onChange(b, {
1741
1734
  action: "pop-value",
1742
1735
  removedValue: c
1743
1736
  });
1744
- }, e.getFocusedOptionId = function(a) {
1745
- return Ne(e.state.focusableOptionsWithIds, a);
1737
+ }, e.getFocusedOptionId = function(u) {
1738
+ return Ae(e.state.focusableOptionsWithIds, u);
1746
1739
  }, e.getFocusableOptionsWithIds = function() {
1747
- return et(Ce(e.props, e.state.selectValue), e.getElementId("option"));
1740
+ return ke(ce(e.props, e.state.selectValue), e.getElementId("option"));
1748
1741
  }, e.getValue = function() {
1749
1742
  return e.state.selectValue;
1750
1743
  }, e.cx = function() {
1751
- for (var a = arguments.length, l = new Array(a), c = 0; c < a; c++)
1744
+ for (var u = arguments.length, l = new Array(u), c = 0; c < u; c++)
1752
1745
  l[c] = arguments[c];
1753
- return jt.apply(void 0, [e.props.classNamePrefix].concat(l));
1754
- }, e.getOptionLabel = function(a) {
1755
- return xt(e.props, a);
1756
- }, e.getOptionValue = function(a) {
1757
- return Ge(e.props, a);
1758
- }, e.getStyles = function(a, l) {
1759
- var c = e.props.unstyled, d = Qu[a](l, c);
1746
+ return Lt.apply(void 0, [e.props.classNamePrefix].concat(l));
1747
+ }, e.getOptionLabel = function(u) {
1748
+ return It(e.props, u);
1749
+ }, e.getOptionValue = function(u) {
1750
+ return Ie(e.props, u);
1751
+ }, e.getStyles = function(u, l) {
1752
+ var c = e.props.unstyled, d = wu[u](l, c);
1760
1753
  d.boxSizing = "border-box";
1761
- var I = e.props.styles[a];
1762
- return I ? I(d, l) : d;
1763
- }, e.getClassNames = function(a, l) {
1754
+ var b = e.props.styles[u];
1755
+ return b ? b(d, l) : d;
1756
+ }, e.getClassNames = function(u, l) {
1764
1757
  var c, d;
1765
- return (c = (d = e.props.classNames)[a]) === null || c === void 0 ? void 0 : c.call(d, l);
1766
- }, e.getElementId = function(a) {
1767
- return "".concat(e.state.instancePrefix, "-").concat(a);
1758
+ return (c = (d = e.props.classNames)[u]) === null || c === void 0 ? void 0 : c.call(d, l);
1759
+ }, e.getElementId = function(u) {
1760
+ return "".concat(e.state.instancePrefix, "-").concat(u);
1768
1761
  }, e.getComponents = function() {
1769
- return fu(e.props);
1762
+ return cu(e.props);
1770
1763
  }, e.buildCategorizedOptions = function() {
1771
- return Ce(e.props, e.state.selectValue);
1764
+ return ce(e.props, e.state.selectValue);
1772
1765
  }, e.getCategorizedOptions = function() {
1773
1766
  return e.props.menuIsOpen ? e.buildCategorizedOptions() : [];
1774
1767
  }, e.buildFocusableOptions = function() {
1775
- return Gt(e.buildCategorizedOptions());
1768
+ return bt(e.buildCategorizedOptions());
1776
1769
  }, e.getFocusableOptions = function() {
1777
1770
  return e.props.menuIsOpen ? e.buildFocusableOptions() : [];
1778
- }, e.ariaOnChange = function(a, l) {
1771
+ }, e.ariaOnChange = function(u, l) {
1779
1772
  e.setState({
1780
1773
  ariaSelection: v({
1781
- value: a
1774
+ value: u
1782
1775
  }, l)
1783
1776
  });
1784
- }, e.onMenuMouseDown = function(a) {
1785
- a.button === 0 && (a.stopPropagation(), a.preventDefault(), e.focusInput());
1786
- }, e.onMenuMouseMove = function(a) {
1777
+ }, e.onMenuMouseDown = function(u) {
1778
+ u.button === 0 && (u.stopPropagation(), u.preventDefault(), e.focusInput());
1779
+ }, e.onMenuMouseMove = function(u) {
1787
1780
  e.blockOptionHover = !1;
1788
- }, e.onControlMouseDown = function(a) {
1789
- if (!a.defaultPrevented) {
1781
+ }, e.onControlMouseDown = function(u) {
1782
+ if (!u.defaultPrevented) {
1790
1783
  var l = e.props.openMenuOnClick;
1791
- e.state.isFocused ? e.props.menuIsOpen ? a.target.tagName !== "INPUT" && a.target.tagName !== "TEXTAREA" && e.onMenuClose() : l && e.openMenu("first") : (l && (e.openAfterFocus = !0), e.focusInput()), a.target.tagName !== "INPUT" && a.target.tagName !== "TEXTAREA" && a.preventDefault();
1784
+ e.state.isFocused ? e.props.menuIsOpen ? u.target.tagName !== "INPUT" && u.target.tagName !== "TEXTAREA" && e.onMenuClose() : l && e.openMenu("first") : (l && (e.openAfterFocus = !0), e.focusInput()), u.target.tagName !== "INPUT" && u.target.tagName !== "TEXTAREA" && u.preventDefault();
1792
1785
  }
1793
- }, e.onDropdownIndicatorMouseDown = function(a) {
1794
- if (!(a && a.type === "mousedown" && a.button !== 0) && !e.props.isDisabled) {
1786
+ }, e.onDropdownIndicatorMouseDown = function(u) {
1787
+ if (!(u && u.type === "mousedown" && u.button !== 0) && !e.props.isDisabled) {
1795
1788
  var l = e.props, c = l.isMulti, d = l.menuIsOpen;
1796
1789
  e.focusInput(), d ? (e.setState({
1797
1790
  inputIsHiddenAfterUpdate: !c
1798
- }), e.onMenuClose()) : e.openMenu("first"), a.preventDefault();
1791
+ }), e.onMenuClose()) : e.openMenu("first"), u.preventDefault();
1799
1792
  }
1800
- }, e.onClearIndicatorMouseDown = function(a) {
1801
- a && a.type === "mousedown" && a.button !== 0 || (e.clearValue(), a.preventDefault(), e.openAfterFocus = !1, a.type === "touchend" ? e.focusInput() : setTimeout(function() {
1793
+ }, e.onClearIndicatorMouseDown = function(u) {
1794
+ u && u.type === "mousedown" && u.button !== 0 || (e.clearValue(), u.preventDefault(), e.openAfterFocus = !1, u.type === "touchend" ? e.focusInput() : setTimeout(function() {
1802
1795
  return e.focusInput();
1803
1796
  }));
1804
- }, e.onScroll = function(a) {
1805
- typeof e.props.closeMenuOnScroll == "boolean" ? a.target instanceof HTMLElement && xe(a.target) && e.props.onMenuClose() : typeof e.props.closeMenuOnScroll == "function" && e.props.closeMenuOnScroll(a) && e.props.onMenuClose();
1797
+ }, e.onScroll = function(u) {
1798
+ typeof e.props.closeMenuOnScroll == "boolean" ? u.target instanceof HTMLElement && pe(u.target) && e.props.onMenuClose() : typeof e.props.closeMenuOnScroll == "function" && e.props.closeMenuOnScroll(u) && e.props.onMenuClose();
1806
1799
  }, e.onCompositionStart = function() {
1807
1800
  e.isComposing = !0;
1808
1801
  }, e.onCompositionEnd = function() {
1809
1802
  e.isComposing = !1;
1810
- }, e.onTouchStart = function(a) {
1811
- var l = a.touches, c = l && l.item(0);
1803
+ }, e.onTouchStart = function(u) {
1804
+ var l = u.touches, c = l && l.item(0);
1812
1805
  c && (e.initialTouchX = c.clientX, e.initialTouchY = c.clientY, e.userIsDragging = !1);
1813
- }, e.onTouchMove = function(a) {
1814
- var l = a.touches, c = l && l.item(0);
1806
+ }, e.onTouchMove = function(u) {
1807
+ var l = u.touches, c = l && l.item(0);
1815
1808
  if (c) {
1816
- var d = Math.abs(c.clientX - e.initialTouchX), I = Math.abs(c.clientY - e.initialTouchY), b = 5;
1817
- e.userIsDragging = d > b || I > b;
1809
+ var d = Math.abs(c.clientX - e.initialTouchX), b = Math.abs(c.clientY - e.initialTouchY), I = 5;
1810
+ e.userIsDragging = d > I || b > I;
1818
1811
  }
1819
- }, e.onTouchEnd = function(a) {
1820
- e.userIsDragging || (e.controlRef && !e.controlRef.contains(a.target) && e.menuListRef && !e.menuListRef.contains(a.target) && e.blurInput(), e.initialTouchX = 0, e.initialTouchY = 0);
1821
- }, e.onControlTouchEnd = function(a) {
1822
- e.userIsDragging || e.onControlMouseDown(a);
1823
- }, e.onClearIndicatorTouchEnd = function(a) {
1824
- e.userIsDragging || e.onClearIndicatorMouseDown(a);
1825
- }, e.onDropdownIndicatorTouchEnd = function(a) {
1826
- e.userIsDragging || e.onDropdownIndicatorMouseDown(a);
1827
- }, e.handleInputChange = function(a) {
1828
- var l = e.props.inputValue, c = a.currentTarget.value;
1812
+ }, e.onTouchEnd = function(u) {
1813
+ e.userIsDragging || (e.controlRef && !e.controlRef.contains(u.target) && e.menuListRef && !e.menuListRef.contains(u.target) && e.blurInput(), e.initialTouchX = 0, e.initialTouchY = 0);
1814
+ }, e.onControlTouchEnd = function(u) {
1815
+ e.userIsDragging || e.onControlMouseDown(u);
1816
+ }, e.onClearIndicatorTouchEnd = function(u) {
1817
+ e.userIsDragging || e.onClearIndicatorMouseDown(u);
1818
+ }, e.onDropdownIndicatorTouchEnd = function(u) {
1819
+ e.userIsDragging || e.onDropdownIndicatorMouseDown(u);
1820
+ }, e.handleInputChange = function(u) {
1821
+ var l = e.props.inputValue, c = u.currentTarget.value;
1829
1822
  e.setState({
1830
1823
  inputIsHiddenAfterUpdate: !1
1831
1824
  }), e.onInputChange(c, {
1832
1825
  action: "input-change",
1833
1826
  prevInputValue: l
1834
1827
  }), e.props.menuIsOpen || e.onMenuOpen();
1835
- }, e.onInputFocus = function(a) {
1836
- e.props.onFocus && e.props.onFocus(a), e.setState({
1828
+ }, e.onInputFocus = function(u) {
1829
+ e.props.onFocus && e.props.onFocus(u), e.setState({
1837
1830
  inputIsHiddenAfterUpdate: !1,
1838
1831
  isFocused: !0
1839
1832
  }), (e.openAfterFocus || e.props.openMenuOnFocus) && e.openMenu("first"), e.openAfterFocus = !1;
1840
- }, e.onInputBlur = function(a) {
1833
+ }, e.onInputBlur = function(u) {
1841
1834
  var l = e.props.inputValue;
1842
1835
  if (e.menuListRef && e.menuListRef.contains(document.activeElement)) {
1843
1836
  e.inputRef.focus();
1844
1837
  return;
1845
1838
  }
1846
- e.props.onBlur && e.props.onBlur(a), e.onInputChange("", {
1839
+ e.props.onBlur && e.props.onBlur(u), e.onInputChange("", {
1847
1840
  action: "input-blur",
1848
1841
  prevInputValue: l
1849
1842
  }), e.onMenuClose(), e.setState({
1850
1843
  focusedValue: null,
1851
1844
  isFocused: !1
1852
1845
  });
1853
- }, e.onOptionHover = function(a) {
1854
- if (!(e.blockOptionHover || e.state.focusedOption === a)) {
1855
- var l = e.getFocusableOptions(), c = l.indexOf(a);
1846
+ }, e.onOptionHover = function(u) {
1847
+ if (!(e.blockOptionHover || e.state.focusedOption === u)) {
1848
+ var l = e.getFocusableOptions(), c = l.indexOf(u);
1856
1849
  e.setState({
1857
- focusedOption: a,
1858
- focusedOptionId: c > -1 ? e.getFocusedOptionId(a) : null
1850
+ focusedOption: u,
1851
+ focusedOptionId: c > -1 ? e.getFocusedOptionId(u) : null
1859
1852
  });
1860
1853
  }
1861
1854
  }, e.shouldHideSelectedOptions = function() {
1862
- return yt(e.props);
1863
- }, e.onValueInputFocus = function(a) {
1864
- a.preventDefault(), a.stopPropagation(), e.focus();
1865
- }, e.onKeyDown = function(a) {
1866
- var l = e.props, c = l.isMulti, d = l.backspaceRemovesValue, I = l.escapeClearsValue, b = l.inputValue, m = l.isClearable, p = l.isDisabled, g = l.menuIsOpen, C = l.onKeyDown, B = l.tabSelectsValue, x = l.openMenuOnFocus, G = e.state, F = G.focusedOption, V = G.focusedValue, y = G.selectValue;
1867
- if (!p && !(typeof C == "function" && (C(a), a.defaultPrevented))) {
1868
- switch (e.blockOptionHover = !0, a.key) {
1855
+ return vt(e.props);
1856
+ }, e.onValueInputFocus = function(u) {
1857
+ u.preventDefault(), u.stopPropagation(), e.focus();
1858
+ }, e.onKeyDown = function(u) {
1859
+ var l = e.props, c = l.isMulti, d = l.backspaceRemovesValue, b = l.escapeClearsValue, I = l.inputValue, C = l.isClearable, p = l.isDisabled, g = l.menuIsOpen, m = l.onKeyDown, B = l.tabSelectsValue, x = l.openMenuOnFocus, G = e.state, V = G.focusedOption, E = G.focusedValue, F = G.selectValue;
1860
+ if (!p && !(typeof m == "function" && (m(u), u.defaultPrevented))) {
1861
+ switch (e.blockOptionHover = !0, u.key) {
1869
1862
  case "ArrowLeft":
1870
- if (!c || b) return;
1863
+ if (!c || I) return;
1871
1864
  e.focusValue("previous");
1872
1865
  break;
1873
1866
  case "ArrowRight":
1874
- if (!c || b) return;
1867
+ if (!c || I) return;
1875
1868
  e.focusValue("next");
1876
1869
  break;
1877
1870
  case "Delete":
1878
1871
  case "Backspace":
1879
- if (b) return;
1880
- if (V)
1881
- e.removeValue(V);
1872
+ if (I) return;
1873
+ if (E)
1874
+ e.removeValue(E);
1882
1875
  else {
1883
1876
  if (!d) return;
1884
- c ? e.popValue() : m && e.clearValue();
1877
+ c ? e.popValue() : C && e.clearValue();
1885
1878
  }
1886
1879
  break;
1887
1880
  case "Tab":
1888
- if (e.isComposing || a.shiftKey || !g || !B || !F || // don't capture the event if the menu opens on focus and the focused
1881
+ if (e.isComposing || u.shiftKey || !g || !B || !V || // don't capture the event if the menu opens on focus and the focused
1889
1882
  // option is already selected; it breaks the flow of navigation
1890
- x && e.isOptionSelected(F, y))
1883
+ x && e.isOptionSelected(V, F))
1891
1884
  return;
1892
- e.selectOption(F);
1885
+ e.selectOption(V);
1893
1886
  break;
1894
1887
  case "Enter":
1895
- if (a.keyCode === 229)
1888
+ if (u.keyCode === 229)
1896
1889
  break;
1897
1890
  if (g) {
1898
- if (!F || e.isComposing) return;
1899
- e.selectOption(F);
1891
+ if (!V || e.isComposing) return;
1892
+ e.selectOption(V);
1900
1893
  break;
1901
1894
  }
1902
1895
  return;
@@ -1905,18 +1898,18 @@ var yt = function(t) {
1905
1898
  inputIsHiddenAfterUpdate: !1
1906
1899
  }), e.onInputChange("", {
1907
1900
  action: "menu-close",
1908
- prevInputValue: b
1909
- }), e.onMenuClose()) : m && I && e.clearValue();
1901
+ prevInputValue: I
1902
+ }), e.onMenuClose()) : C && b && e.clearValue();
1910
1903
  break;
1911
1904
  case " ":
1912
- if (b)
1905
+ if (I)
1913
1906
  return;
1914
1907
  if (!g) {
1915
1908
  e.openMenu("first");
1916
1909
  break;
1917
1910
  }
1918
- if (!F) return;
1919
- e.selectOption(F);
1911
+ if (!V) return;
1912
+ e.selectOption(V);
1920
1913
  break;
1921
1914
  case "ArrowUp":
1922
1915
  g ? e.focusOption("up") : e.openMenu("last");
@@ -1943,30 +1936,30 @@ var yt = function(t) {
1943
1936
  default:
1944
1937
  return;
1945
1938
  }
1946
- a.preventDefault();
1939
+ u.preventDefault();
1947
1940
  }
1948
- }, e.state.instancePrefix = "react-select-" + (e.props.instanceId || ++ai), e.state.selectValue = he(n.value), n.menuIsOpen && e.state.selectValue.length) {
1941
+ }, e.state.instancePrefix = "react-select-" + (e.props.instanceId || ++$u), e.state.selectValue = ge(n.value), n.menuIsOpen && e.state.selectValue.length) {
1949
1942
  var o = e.getFocusableOptionsWithIds(), r = e.buildFocusableOptions(), s = r.indexOf(e.state.selectValue[0]);
1950
- e.state.focusableOptionsWithIds = o, e.state.focusedOption = r[s], e.state.focusedOptionId = Ne(o, r[s]);
1943
+ e.state.focusableOptionsWithIds = o, e.state.focusedOption = r[s], e.state.focusedOptionId = Ae(o, r[s]);
1951
1944
  }
1952
1945
  return e;
1953
1946
  }
1954
- return Lt(u, [{
1947
+ return Xt(i, [{
1955
1948
  key: "componentDidMount",
1956
1949
  value: function() {
1957
- 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 && we(this.menuListRef, this.focusedOptionRef);
1950
+ 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 && Ze(this.menuListRef, this.focusedOptionRef);
1958
1951
  }
1959
1952
  }, {
1960
1953
  key: "componentDidUpdate",
1961
1954
  value: function(e) {
1962
- var o = this.props, r = o.isDisabled, s = o.menuIsOpen, a = this.state.isFocused;
1955
+ var o = this.props, r = o.isDisabled, s = o.menuIsOpen, u = this.state.isFocused;
1963
1956
  // ensure focus is restored correctly when the control becomes enabled
1964
- (a && !r && e.isDisabled || // ensure focus is on the Input when the menu opens
1965
- a && s && !e.menuIsOpen) && this.focusInput(), a && r && !e.isDisabled ? this.setState({
1957
+ (u && !r && e.isDisabled || // ensure focus is on the Input when the menu opens
1958
+ u && s && !e.menuIsOpen) && this.focusInput(), u && r && !e.isDisabled ? this.setState({
1966
1959
  isFocused: !1
1967
- }, this.onMenuClose) : !a && !r && e.isDisabled && this.inputRef === document.activeElement && this.setState({
1960
+ }, this.onMenuClose) : !u && !r && e.isDisabled && this.inputRef === document.activeElement && this.setState({
1968
1961
  isFocused: !0
1969
- }), this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate && (we(this.menuListRef, this.focusedOptionRef), this.scrollToFocusedOptionOnUpdate = !1);
1962
+ }), this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate && (Ze(this.menuListRef, this.focusedOptionRef), this.scrollToFocusedOptionOnUpdate = !1);
1970
1963
  }
1971
1964
  }, {
1972
1965
  key: "componentWillUnmount",
@@ -2011,12 +2004,12 @@ var yt = function(t) {
2011
2004
  }, {
2012
2005
  key: "openMenu",
2013
2006
  value: function(e) {
2014
- var o = this, r = this.state, s = r.selectValue, a = r.isFocused, l = this.buildFocusableOptions(), c = e === "first" ? 0 : l.length - 1;
2007
+ var o = this, r = this.state, s = r.selectValue, u = r.isFocused, l = this.buildFocusableOptions(), c = e === "first" ? 0 : l.length - 1;
2015
2008
  if (!this.props.isMulti) {
2016
2009
  var d = l.indexOf(s[0]);
2017
2010
  d > -1 && (c = d);
2018
2011
  }
2019
- this.scrollToFocusedOptionOnUpdate = !(a && this.menuListRef), this.setState({
2012
+ this.scrollToFocusedOptionOnUpdate = !(u && this.menuListRef), this.setState({
2020
2013
  inputIsHiddenAfterUpdate: !1,
2021
2014
  focusedValue: null,
2022
2015
  focusedOption: l[c],
@@ -2033,16 +2026,16 @@ var yt = function(t) {
2033
2026
  this.setState({
2034
2027
  focusedOption: null
2035
2028
  });
2036
- var a = r.indexOf(s);
2037
- s || (a = -1);
2029
+ var u = r.indexOf(s);
2030
+ s || (u = -1);
2038
2031
  var l = r.length - 1, c = -1;
2039
2032
  if (r.length) {
2040
2033
  switch (e) {
2041
2034
  case "previous":
2042
- a === 0 ? c = 0 : a === -1 ? c = l : c = a - 1;
2035
+ u === 0 ? c = 0 : u === -1 ? c = l : c = u - 1;
2043
2036
  break;
2044
2037
  case "next":
2045
- a > -1 && a < l && (c = a + 1);
2038
+ u > -1 && u < l && (c = u + 1);
2046
2039
  break;
2047
2040
  }
2048
2041
  this.setState({
@@ -2057,11 +2050,11 @@ var yt = function(t) {
2057
2050
  value: function() {
2058
2051
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "first", o = this.props.pageSize, r = this.state.focusedOption, s = this.getFocusableOptions();
2059
2052
  if (s.length) {
2060
- var a = 0, l = s.indexOf(r);
2061
- r || (l = -1), e === "up" ? a = l > 0 ? l - 1 : s.length - 1 : e === "down" ? a = (l + 1) % s.length : e === "pageup" ? (a = l - o, a < 0 && (a = 0)) : e === "pagedown" ? (a = l + o, a > s.length - 1 && (a = s.length - 1)) : e === "last" && (a = s.length - 1), this.scrollToFocusedOptionOnUpdate = !0, this.setState({
2062
- focusedOption: s[a],
2053
+ var u = 0, l = s.indexOf(r);
2054
+ r || (l = -1), e === "up" ? u = l > 0 ? l - 1 : s.length - 1 : e === "down" ? u = (l + 1) % s.length : e === "pageup" ? (u = l - o, u < 0 && (u = 0)) : e === "pagedown" ? (u = l + o, u > s.length - 1 && (u = s.length - 1)) : e === "last" && (u = s.length - 1), this.scrollToFocusedOptionOnUpdate = !0, this.setState({
2055
+ focusedOption: s[u],
2063
2056
  focusedValue: null,
2064
- focusedOptionId: this.getFocusedOptionId(s[a])
2057
+ focusedOptionId: this.getFocusedOptionId(s[u])
2065
2058
  });
2066
2059
  }
2067
2060
  }
@@ -2072,23 +2065,23 @@ var yt = function(t) {
2072
2065
  // Getters
2073
2066
  // ==============================
2074
2067
  function() {
2075
- return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(Ze) : v(v({}, Ze), this.props.theme) : Ze;
2068
+ return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(fe) : v(v({}, fe), this.props.theme) : fe;
2076
2069
  }
2077
2070
  )
2078
2071
  }, {
2079
2072
  key: "getCommonProps",
2080
2073
  value: function() {
2081
- var e = this.clearValue, o = this.cx, r = this.getStyles, s = this.getClassNames, a = this.getValue, l = this.selectOption, c = this.setValue, d = this.props, I = d.isMulti, b = d.isRtl, m = d.options, p = this.hasValue();
2074
+ var e = this.clearValue, o = this.cx, r = this.getStyles, s = this.getClassNames, u = this.getValue, l = this.selectOption, c = this.setValue, d = this.props, b = d.isMulti, I = d.isRtl, C = d.options, p = this.hasValue();
2082
2075
  return {
2083
2076
  clearValue: e,
2084
2077
  cx: o,
2085
2078
  getStyles: r,
2086
2079
  getClassNames: s,
2087
- getValue: a,
2080
+ getValue: u,
2088
2081
  hasValue: p,
2089
- isMulti: I,
2090
- isRtl: b,
2091
- options: m,
2082
+ isMulti: b,
2083
+ isRtl: I,
2084
+ options: C,
2092
2085
  selectOption: l,
2093
2086
  selectProps: d,
2094
2087
  setValue: c,
@@ -2115,17 +2108,17 @@ var yt = function(t) {
2115
2108
  }, {
2116
2109
  key: "isOptionDisabled",
2117
2110
  value: function(e, o) {
2118
- return Bt(this.props, e, o);
2111
+ return pt(this.props, e, o);
2119
2112
  }
2120
2113
  }, {
2121
2114
  key: "isOptionSelected",
2122
2115
  value: function(e, o) {
2123
- return Ft(this.props, e, o);
2116
+ return mt(this.props, e, o);
2124
2117
  }
2125
2118
  }, {
2126
2119
  key: "filterOption",
2127
2120
  value: function(e, o) {
2128
- return Vt(this.props, e, o);
2121
+ return Ct(this.props, e, o);
2129
2122
  }
2130
2123
  }, {
2131
2124
  key: "formatOptionLabel",
@@ -2185,7 +2178,7 @@ var yt = function(t) {
2185
2178
  // Renderers
2186
2179
  // ==============================
2187
2180
  function() {
2188
- var e = this.props, o = e.isDisabled, r = e.isSearchable, s = e.inputId, a = e.inputValue, l = e.tabIndex, c = e.form, d = e.menuIsOpen, I = e.required, b = this.getComponents(), m = b.Input, p = this.state, g = p.inputIsHidden, C = p.ariaSelection, B = this.commonProps, x = s || this.getElementId("input"), G = v(v(v({
2181
+ var e = this.props, o = e.isDisabled, r = e.isSearchable, s = e.inputId, u = e.inputValue, l = e.tabIndex, c = e.form, d = e.menuIsOpen, b = e.required, I = this.getComponents(), C = I.Input, p = this.state, g = p.inputIsHidden, m = p.ariaSelection, B = this.commonProps, x = s || this.getElementId("input"), G = v(v(v({
2189
2182
  "aria-autocomplete": "list",
2190
2183
  "aria-expanded": d,
2191
2184
  "aria-haspopup": !0,
@@ -2193,19 +2186,19 @@ var yt = function(t) {
2193
2186
  "aria-invalid": this.props["aria-invalid"],
2194
2187
  "aria-label": this.props["aria-label"],
2195
2188
  "aria-labelledby": this.props["aria-labelledby"],
2196
- "aria-required": I,
2189
+ "aria-required": b,
2197
2190
  role: "combobox",
2198
2191
  "aria-activedescendant": this.isAppleDevice ? void 0 : this.state.focusedOptionId || ""
2199
2192
  }, d && {
2200
2193
  "aria-controls": this.getElementId("listbox")
2201
2194
  }), !r && {
2202
2195
  "aria-readonly": !0
2203
- }), this.hasValue() ? C?.action === "initial-input-focus" && {
2196
+ }), this.hasValue() ? m?.action === "initial-input-focus" && {
2204
2197
  "aria-describedby": this.getElementId("live-region")
2205
2198
  } : {
2206
2199
  "aria-describedby": this.getElementId("placeholder")
2207
2200
  });
2208
- return r ? /* @__PURE__ */ W.createElement(m, h({}, B, {
2201
+ return r ? /* @__PURE__ */ y.createElement(C, f({}, B, {
2209
2202
  autoCapitalize: "none",
2210
2203
  autoComplete: "off",
2211
2204
  autoCorrect: "off",
@@ -2220,12 +2213,12 @@ var yt = function(t) {
2220
2213
  tabIndex: l,
2221
2214
  form: c,
2222
2215
  type: "text",
2223
- value: a
2224
- }, G)) : /* @__PURE__ */ W.createElement(Zu, h({
2216
+ value: u
2217
+ }, G)) : /* @__PURE__ */ y.createElement(Gu, f({
2225
2218
  id: x,
2226
2219
  innerRef: this.getInputRef,
2227
2220
  onBlur: this.onInputBlur,
2228
- onChange: fe,
2221
+ onChange: de,
2229
2222
  onFocus: this.onInputFocus,
2230
2223
  disabled: o,
2231
2224
  tabIndex: l,
@@ -2238,29 +2231,29 @@ var yt = function(t) {
2238
2231
  }, {
2239
2232
  key: "renderPlaceholderOrValue",
2240
2233
  value: function() {
2241
- var e = this, o = this.getComponents(), r = o.MultiValue, s = o.MultiValueContainer, a = o.MultiValueLabel, l = o.MultiValueRemove, c = o.SingleValue, d = o.Placeholder, I = this.commonProps, b = this.props, m = b.controlShouldRenderValue, p = b.isDisabled, g = b.isMulti, C = b.inputValue, B = b.placeholder, x = this.state, G = x.selectValue, F = x.focusedValue, V = x.isFocused;
2242
- if (!this.hasValue() || !m)
2243
- return C ? null : /* @__PURE__ */ W.createElement(d, h({}, I, {
2234
+ var e = this, o = this.getComponents(), r = o.MultiValue, s = o.MultiValueContainer, u = o.MultiValueLabel, l = o.MultiValueRemove, c = o.SingleValue, d = o.Placeholder, b = this.commonProps, I = this.props, C = I.controlShouldRenderValue, p = I.isDisabled, g = I.isMulti, m = I.inputValue, B = I.placeholder, x = this.state, G = x.selectValue, V = x.focusedValue, E = x.isFocused;
2235
+ if (!this.hasValue() || !C)
2236
+ return m ? null : /* @__PURE__ */ y.createElement(d, f({}, b, {
2244
2237
  key: "placeholder",
2245
2238
  isDisabled: p,
2246
- isFocused: V,
2239
+ isFocused: E,
2247
2240
  innerProps: {
2248
2241
  id: this.getElementId("placeholder")
2249
2242
  }
2250
2243
  }), B);
2251
2244
  if (g)
2252
- return G.map(function(A, E) {
2253
- var Z = A === F, D = "".concat(e.getOptionLabel(A), "-").concat(e.getOptionValue(A));
2254
- return /* @__PURE__ */ W.createElement(r, h({}, I, {
2245
+ return G.map(function(A, W) {
2246
+ var H = A === V, T = "".concat(e.getOptionLabel(A), "-").concat(e.getOptionValue(A));
2247
+ return /* @__PURE__ */ y.createElement(r, f({}, b, {
2255
2248
  components: {
2256
2249
  Container: s,
2257
- Label: a,
2250
+ Label: u,
2258
2251
  Remove: l
2259
2252
  },
2260
- isFocused: Z,
2253
+ isFocused: H,
2261
2254
  isDisabled: p,
2262
- key: D,
2263
- index: E,
2255
+ key: T,
2256
+ index: W,
2264
2257
  removeProps: {
2265
2258
  onClick: function() {
2266
2259
  return e.removeValue(A);
@@ -2268,33 +2261,33 @@ var yt = function(t) {
2268
2261
  onTouchEnd: function() {
2269
2262
  return e.removeValue(A);
2270
2263
  },
2271
- onMouseDown: function(L) {
2272
- L.preventDefault();
2264
+ onMouseDown: function(P) {
2265
+ P.preventDefault();
2273
2266
  }
2274
2267
  },
2275
2268
  data: A
2276
2269
  }), e.formatOptionLabel(A, "value"));
2277
2270
  });
2278
- if (C)
2271
+ if (m)
2279
2272
  return null;
2280
- var y = G[0];
2281
- return /* @__PURE__ */ W.createElement(c, h({}, I, {
2282
- data: y,
2273
+ var F = G[0];
2274
+ return /* @__PURE__ */ y.createElement(c, f({}, b, {
2275
+ data: F,
2283
2276
  isDisabled: p
2284
- }), this.formatOptionLabel(y, "value"));
2277
+ }), this.formatOptionLabel(F, "value"));
2285
2278
  }
2286
2279
  }, {
2287
2280
  key: "renderClearIndicator",
2288
2281
  value: function() {
2289
- var e = this.getComponents(), o = e.ClearIndicator, r = this.commonProps, s = this.props, a = s.isDisabled, l = s.isLoading, c = this.state.isFocused;
2290
- if (!this.isClearable() || !o || a || !this.hasValue() || l)
2282
+ var e = this.getComponents(), o = e.ClearIndicator, r = this.commonProps, s = this.props, u = s.isDisabled, l = s.isLoading, c = this.state.isFocused;
2283
+ if (!this.isClearable() || !o || u || !this.hasValue() || l)
2291
2284
  return null;
2292
2285
  var d = {
2293
2286
  onMouseDown: this.onClearIndicatorMouseDown,
2294
2287
  onTouchEnd: this.onClearIndicatorTouchEnd,
2295
2288
  "aria-hidden": "true"
2296
2289
  };
2297
- return /* @__PURE__ */ W.createElement(o, h({}, r, {
2290
+ return /* @__PURE__ */ y.createElement(o, f({}, r, {
2298
2291
  innerProps: d,
2299
2292
  isFocused: c
2300
2293
  }));
@@ -2302,14 +2295,14 @@ var yt = function(t) {
2302
2295
  }, {
2303
2296
  key: "renderLoadingIndicator",
2304
2297
  value: function() {
2305
- var e = this.getComponents(), o = e.LoadingIndicator, r = this.commonProps, s = this.props, a = s.isDisabled, l = s.isLoading, c = this.state.isFocused;
2298
+ var e = this.getComponents(), o = e.LoadingIndicator, r = this.commonProps, s = this.props, u = s.isDisabled, l = s.isLoading, c = this.state.isFocused;
2306
2299
  if (!o || !l) return null;
2307
2300
  var d = {
2308
2301
  "aria-hidden": "true"
2309
2302
  };
2310
- return /* @__PURE__ */ W.createElement(o, h({}, r, {
2303
+ return /* @__PURE__ */ y.createElement(o, f({}, r, {
2311
2304
  innerProps: d,
2312
- isDisabled: a,
2305
+ isDisabled: u,
2313
2306
  isFocused: c
2314
2307
  }));
2315
2308
  }
@@ -2318,9 +2311,9 @@ var yt = function(t) {
2318
2311
  value: function() {
2319
2312
  var e = this.getComponents(), o = e.DropdownIndicator, r = e.IndicatorSeparator;
2320
2313
  if (!o || !r) return null;
2321
- var s = this.commonProps, a = this.props.isDisabled, l = this.state.isFocused;
2322
- return /* @__PURE__ */ W.createElement(r, h({}, s, {
2323
- isDisabled: a,
2314
+ var s = this.commonProps, u = this.props.isDisabled, l = this.state.isFocused;
2315
+ return /* @__PURE__ */ y.createElement(r, f({}, s, {
2316
+ isDisabled: u,
2324
2317
  isFocused: l
2325
2318
  }));
2326
2319
  }
@@ -2329,180 +2322,180 @@ var yt = function(t) {
2329
2322
  value: function() {
2330
2323
  var e = this.getComponents(), o = e.DropdownIndicator;
2331
2324
  if (!o) return null;
2332
- var r = this.commonProps, s = this.props.isDisabled, a = this.state.isFocused, l = {
2325
+ var r = this.commonProps, s = this.props.isDisabled, u = this.state.isFocused, l = {
2333
2326
  onMouseDown: this.onDropdownIndicatorMouseDown,
2334
2327
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
2335
2328
  "aria-hidden": "true"
2336
2329
  };
2337
- return /* @__PURE__ */ W.createElement(o, h({}, r, {
2330
+ return /* @__PURE__ */ y.createElement(o, f({}, r, {
2338
2331
  innerProps: l,
2339
2332
  isDisabled: s,
2340
- isFocused: a
2333
+ isFocused: u
2341
2334
  }));
2342
2335
  }
2343
2336
  }, {
2344
2337
  key: "renderMenu",
2345
2338
  value: function() {
2346
- var e = this, o = this.getComponents(), r = o.Group, s = o.GroupHeading, a = o.Menu, l = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, I = o.NoOptionsMessage, b = o.Option, m = this.commonProps, p = this.state.focusedOption, g = this.props, C = g.captureMenuScroll, B = g.inputValue, x = g.isLoading, G = g.loadingMessage, F = g.minMenuHeight, V = g.maxMenuHeight, y = g.menuIsOpen, A = g.menuPlacement, E = g.menuPosition, Z = g.menuPortalTarget, D = g.menuShouldBlockScroll, X = g.menuShouldScrollIntoView, L = g.noOptionsMessage, w = g.onMenuScrollToTop, N = g.onMenuScrollToBottom;
2347
- if (!y) return null;
2348
- var S = function(J, U) {
2349
- var Y = J.type, k = J.data, ee = J.isDisabled, Q = J.isSelected, ue = J.label, Be = J.value, be = p === k, re = ee ? void 0 : function() {
2350
- return e.onOptionHover(k);
2351
- }, Fe = ee ? void 0 : function() {
2352
- return e.selectOption(k);
2353
- }, Ie = "".concat(e.getElementId("option"), "-").concat(U), le = {
2354
- id: Ie,
2355
- onClick: Fe,
2356
- onMouseMove: re,
2357
- onMouseOver: re,
2339
+ var e = this, o = this.getComponents(), r = o.Group, s = o.GroupHeading, u = o.Menu, l = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, b = o.NoOptionsMessage, I = o.Option, C = this.commonProps, p = this.state.focusedOption, g = this.props, m = g.captureMenuScroll, B = g.inputValue, x = g.isLoading, G = g.loadingMessage, V = g.minMenuHeight, E = g.maxMenuHeight, F = g.menuIsOpen, A = g.menuPlacement, W = g.menuPosition, H = g.menuPortalTarget, T = g.menuShouldBlockScroll, X = g.menuShouldScrollIntoView, P = g.noOptionsMessage, w = g.onMenuScrollToTop, Z = g.onMenuScrollToBottom;
2340
+ if (!F) return null;
2341
+ var S = function(L, k) {
2342
+ var K = L.type, O = L.data, _ = L.isDisabled, z = L.isSelected, oe = L.label, ft = L.value, ye = p === O, We = _ ? void 0 : function() {
2343
+ return e.onOptionHover(O);
2344
+ }, At = _ ? void 0 : function() {
2345
+ return e.selectOption(O);
2346
+ }, Xe = "".concat(e.getElementId("option"), "-").concat(k), Gt = {
2347
+ id: Xe,
2348
+ onClick: At,
2349
+ onMouseMove: We,
2350
+ onMouseOver: We,
2358
2351
  tabIndex: -1,
2359
2352
  role: "option",
2360
- "aria-selected": e.isAppleDevice ? void 0 : Q
2353
+ "aria-selected": e.isAppleDevice ? void 0 : z
2361
2354
  // is not supported on Apple devices
2362
2355
  };
2363
- return /* @__PURE__ */ W.createElement(b, h({}, m, {
2364
- innerProps: le,
2365
- data: k,
2366
- isDisabled: ee,
2367
- isSelected: Q,
2368
- key: Ie,
2369
- label: ue,
2370
- type: Y,
2371
- value: Be,
2372
- isFocused: be,
2373
- innerRef: be ? e.getFocusedOptionRef : void 0
2374
- }), e.formatOptionLabel(J.data, "menu"));
2375
- }, j;
2356
+ return /* @__PURE__ */ y.createElement(I, f({}, C, {
2357
+ innerProps: Gt,
2358
+ data: O,
2359
+ isDisabled: _,
2360
+ isSelected: z,
2361
+ key: Xe,
2362
+ label: oe,
2363
+ type: K,
2364
+ value: ft,
2365
+ isFocused: ye,
2366
+ innerRef: ye ? e.getFocusedOptionRef : void 0
2367
+ }), e.formatOptionLabel(L.data, "menu"));
2368
+ }, J;
2376
2369
  if (this.hasOptions())
2377
- j = this.getCategorizedOptions().map(function(R) {
2370
+ J = this.getCategorizedOptions().map(function(R) {
2378
2371
  if (R.type === "group") {
2379
- var J = R.data, U = R.options, Y = R.index, k = "".concat(e.getElementId("group"), "-").concat(Y), ee = "".concat(k, "-heading");
2380
- return /* @__PURE__ */ W.createElement(r, h({}, m, {
2381
- key: k,
2382
- data: J,
2383
- options: U,
2372
+ var L = R.data, k = R.options, K = R.index, O = "".concat(e.getElementId("group"), "-").concat(K), _ = "".concat(O, "-heading");
2373
+ return /* @__PURE__ */ y.createElement(r, f({}, C, {
2374
+ key: O,
2375
+ data: L,
2376
+ options: k,
2384
2377
  Heading: s,
2385
2378
  headingProps: {
2386
- id: ee,
2379
+ id: _,
2387
2380
  data: R.data
2388
2381
  },
2389
2382
  label: e.formatGroupLabel(R.data)
2390
- }), R.options.map(function(Q) {
2391
- return S(Q, "".concat(Y, "-").concat(Q.index));
2383
+ }), R.options.map(function(z) {
2384
+ return S(z, "".concat(K, "-").concat(z.index));
2392
2385
  }));
2393
2386
  } else if (R.type === "option")
2394
2387
  return S(R, "".concat(R.index));
2395
2388
  });
2396
2389
  else if (x) {
2397
- var O = G({
2390
+ var M = G({
2398
2391
  inputValue: B
2399
2392
  });
2400
- if (O === null) return null;
2401
- j = /* @__PURE__ */ W.createElement(d, m, O);
2393
+ if (M === null) return null;
2394
+ J = /* @__PURE__ */ y.createElement(d, C, M);
2402
2395
  } else {
2403
- var q = L({
2396
+ var Q = P({
2404
2397
  inputValue: B
2405
2398
  });
2406
- if (q === null) return null;
2407
- j = /* @__PURE__ */ W.createElement(I, m, q);
2399
+ if (Q === null) return null;
2400
+ J = /* @__PURE__ */ y.createElement(b, C, Q);
2408
2401
  }
2409
2402
  var $ = {
2410
- minMenuHeight: F,
2411
- maxMenuHeight: V,
2403
+ minMenuHeight: V,
2404
+ maxMenuHeight: E,
2412
2405
  menuPlacement: A,
2413
- menuPosition: E,
2406
+ menuPosition: W,
2414
2407
  menuShouldScrollIntoView: X
2415
- }, ne = /* @__PURE__ */ W.createElement(dn, h({}, m, $), function(R) {
2416
- var J = R.ref, U = R.placerProps, Y = U.placement, k = U.maxHeight;
2417
- return /* @__PURE__ */ W.createElement(a, h({}, m, $, {
2418
- innerRef: J,
2408
+ }, ae = /* @__PURE__ */ y.createElement(tn, f({}, C, $), function(R) {
2409
+ var L = R.ref, k = R.placerProps, K = k.placement, O = k.maxHeight;
2410
+ return /* @__PURE__ */ y.createElement(u, f({}, C, $, {
2411
+ innerRef: L,
2419
2412
  innerProps: {
2420
2413
  onMouseDown: e.onMenuMouseDown,
2421
2414
  onMouseMove: e.onMenuMouseMove
2422
2415
  },
2423
2416
  isLoading: x,
2424
- placement: Y
2425
- }), /* @__PURE__ */ W.createElement(Tu, {
2426
- captureEnabled: C,
2417
+ placement: K
2418
+ }), /* @__PURE__ */ y.createElement(Wu, {
2419
+ captureEnabled: m,
2427
2420
  onTopArrive: w,
2428
- onBottomArrive: N,
2429
- lockEnabled: D
2430
- }, function(ee) {
2431
- return /* @__PURE__ */ W.createElement(l, h({}, m, {
2432
- innerRef: function(ue) {
2433
- e.getMenuListRef(ue), ee(ue);
2421
+ onBottomArrive: Z,
2422
+ lockEnabled: T
2423
+ }, function(_) {
2424
+ return /* @__PURE__ */ y.createElement(l, f({}, C, {
2425
+ innerRef: function(oe) {
2426
+ e.getMenuListRef(oe), _(oe);
2434
2427
  },
2435
2428
  innerProps: {
2436
2429
  role: "listbox",
2437
- "aria-multiselectable": m.isMulti,
2430
+ "aria-multiselectable": C.isMulti,
2438
2431
  id: e.getElementId("listbox")
2439
2432
  },
2440
2433
  isLoading: x,
2441
- maxHeight: k,
2434
+ maxHeight: O,
2442
2435
  focusedOption: p
2443
- }), j);
2436
+ }), J);
2444
2437
  }));
2445
2438
  });
2446
- return Z || E === "fixed" ? /* @__PURE__ */ W.createElement(c, h({}, m, {
2447
- appendTo: Z,
2439
+ return H || W === "fixed" ? /* @__PURE__ */ y.createElement(c, f({}, C, {
2440
+ appendTo: H,
2448
2441
  controlElement: this.controlRef,
2449
2442
  menuPlacement: A,
2450
- menuPosition: E
2451
- }), ne) : ne;
2443
+ menuPosition: W
2444
+ }), ae) : ae;
2452
2445
  }
2453
2446
  }, {
2454
2447
  key: "renderFormField",
2455
2448
  value: function() {
2456
- var e = this, o = this.props, r = o.delimiter, s = o.isDisabled, a = o.isMulti, l = o.name, c = o.required, d = this.state.selectValue;
2449
+ var e = this, o = this.props, r = o.delimiter, s = o.isDisabled, u = o.isMulti, l = o.name, c = o.required, d = this.state.selectValue;
2457
2450
  if (c && !this.hasValue() && !s)
2458
- return /* @__PURE__ */ W.createElement(Mu, {
2451
+ return /* @__PURE__ */ y.createElement(Su, {
2459
2452
  name: l,
2460
2453
  onFocus: this.onValueInputFocus
2461
2454
  });
2462
2455
  if (!(!l || s))
2463
- if (a)
2456
+ if (u)
2464
2457
  if (r) {
2465
- var I = d.map(function(p) {
2458
+ var b = d.map(function(p) {
2466
2459
  return e.getOptionValue(p);
2467
2460
  }).join(r);
2468
- return /* @__PURE__ */ W.createElement("input", {
2461
+ return /* @__PURE__ */ y.createElement("input", {
2469
2462
  name: l,
2470
2463
  type: "hidden",
2471
- value: I
2464
+ value: b
2472
2465
  });
2473
2466
  } else {
2474
- var b = d.length > 0 ? d.map(function(p, g) {
2475
- return /* @__PURE__ */ W.createElement("input", {
2467
+ var I = d.length > 0 ? d.map(function(p, g) {
2468
+ return /* @__PURE__ */ y.createElement("input", {
2476
2469
  key: "i-".concat(g),
2477
2470
  name: l,
2478
2471
  type: "hidden",
2479
2472
  value: e.getOptionValue(p)
2480
2473
  });
2481
- }) : /* @__PURE__ */ W.createElement("input", {
2474
+ }) : /* @__PURE__ */ y.createElement("input", {
2482
2475
  name: l,
2483
2476
  type: "hidden",
2484
2477
  value: ""
2485
2478
  });
2486
- return /* @__PURE__ */ W.createElement("div", null, b);
2479
+ return /* @__PURE__ */ y.createElement("div", null, I);
2487
2480
  }
2488
2481
  else {
2489
- var m = d[0] ? this.getOptionValue(d[0]) : "";
2490
- return /* @__PURE__ */ W.createElement("input", {
2482
+ var C = d[0] ? this.getOptionValue(d[0]) : "";
2483
+ return /* @__PURE__ */ y.createElement("input", {
2491
2484
  name: l,
2492
2485
  type: "hidden",
2493
- value: m
2486
+ value: C
2494
2487
  });
2495
2488
  }
2496
2489
  }
2497
2490
  }, {
2498
2491
  key: "renderLiveRegion",
2499
2492
  value: function() {
2500
- var e = this.commonProps, o = this.state, r = o.ariaSelection, s = o.focusedOption, a = o.focusedValue, l = o.isFocused, c = o.selectValue, d = this.getFocusableOptions();
2501
- return /* @__PURE__ */ W.createElement(Fu, h({}, e, {
2493
+ var e = this.commonProps, o = this.state, r = o.ariaSelection, s = o.focusedOption, u = o.focusedValue, l = o.isFocused, c = o.selectValue, d = this.getFocusableOptions();
2494
+ return /* @__PURE__ */ y.createElement(mu, f({}, e, {
2502
2495
  id: this.getElementId("live-region"),
2503
2496
  ariaSelection: r,
2504
2497
  focusedOption: s,
2505
- focusedValue: a,
2498
+ focusedValue: u,
2506
2499
  isFocused: l,
2507
2500
  selectValue: c,
2508
2501
  focusableOptions: d,
@@ -2512,193 +2505,143 @@ var yt = function(t) {
2512
2505
  }, {
2513
2506
  key: "render",
2514
2507
  value: function() {
2515
- var e = this.getComponents(), o = e.Control, r = e.IndicatorsContainer, s = e.SelectContainer, a = e.ValueContainer, l = this.props, c = l.className, d = l.id, I = l.isDisabled, b = l.menuIsOpen, m = this.state.isFocused, p = this.commonProps = this.getCommonProps();
2516
- return /* @__PURE__ */ W.createElement(s, h({}, p, {
2508
+ var e = this.getComponents(), o = e.Control, r = e.IndicatorsContainer, s = e.SelectContainer, u = e.ValueContainer, l = this.props, c = l.className, d = l.id, b = l.isDisabled, I = l.menuIsOpen, C = this.state.isFocused, p = this.commonProps = this.getCommonProps();
2509
+ return /* @__PURE__ */ y.createElement(s, f({}, p, {
2517
2510
  className: c,
2518
2511
  innerProps: {
2519
2512
  id: d,
2520
2513
  onKeyDown: this.onKeyDown
2521
2514
  },
2522
- isDisabled: I,
2523
- isFocused: m
2524
- }), this.renderLiveRegion(), /* @__PURE__ */ W.createElement(o, h({}, p, {
2515
+ isDisabled: b,
2516
+ isFocused: C
2517
+ }), this.renderLiveRegion(), /* @__PURE__ */ y.createElement(o, f({}, p, {
2525
2518
  innerRef: this.getControlRef,
2526
2519
  innerProps: {
2527
2520
  onMouseDown: this.onControlMouseDown,
2528
2521
  onTouchEnd: this.onControlTouchEnd
2529
2522
  },
2530
- isDisabled: I,
2531
- isFocused: m,
2532
- menuIsOpen: b
2533
- }), /* @__PURE__ */ W.createElement(a, h({}, p, {
2534
- isDisabled: I
2535
- }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ W.createElement(r, h({}, p, {
2536
- isDisabled: I
2523
+ isDisabled: b,
2524
+ isFocused: C,
2525
+ menuIsOpen: I
2526
+ }), /* @__PURE__ */ y.createElement(u, f({}, p, {
2527
+ isDisabled: b
2528
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ y.createElement(r, f({}, p, {
2529
+ isDisabled: b
2537
2530
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
2538
2531
  }
2539
2532
  }], [{
2540
2533
  key: "getDerivedStateFromProps",
2541
2534
  value: function(e, o) {
2542
- var r = o.prevProps, s = o.clearFocusValueOnUpdate, a = o.inputIsHiddenAfterUpdate, l = o.ariaSelection, c = o.isFocused, d = o.prevWasFocused, I = o.instancePrefix, b = e.options, m = e.value, p = e.menuIsOpen, g = e.inputValue, C = e.isMulti, B = he(m), x = {};
2543
- if (r && (m !== r.value || b !== r.options || p !== r.menuIsOpen || g !== r.inputValue)) {
2544
- var G = p ? ni(e, B) : [], F = p ? et(Ce(e, B), "".concat(I, "-option")) : [], V = s ? ui(o, B) : null, y = ii(o, G), A = Ne(F, y);
2535
+ var r = o.prevProps, s = o.clearFocusValueOnUpdate, u = o.inputIsHiddenAfterUpdate, l = o.ariaSelection, c = o.isFocused, d = o.prevWasFocused, b = o.instancePrefix, I = e.options, C = e.value, p = e.menuIsOpen, g = e.inputValue, m = e.isMulti, B = ge(C), x = {};
2536
+ if (r && (C !== r.value || I !== r.options || p !== r.menuIsOpen || g !== r.inputValue)) {
2537
+ var G = p ? ju(e, B) : [], V = p ? ke(ce(e, B), "".concat(b, "-option")) : [], E = s ? Uu(o, B) : null, F = Qu(o, G), A = Ae(V, F);
2545
2538
  x = {
2546
2539
  selectValue: B,
2547
- focusedOption: y,
2540
+ focusedOption: F,
2548
2541
  focusedOptionId: A,
2549
- focusableOptionsWithIds: F,
2550
- focusedValue: V,
2542
+ focusableOptionsWithIds: V,
2543
+ focusedValue: E,
2551
2544
  clearFocusValueOnUpdate: !1
2552
2545
  };
2553
2546
  }
2554
- var E = a != null && e !== r ? {
2555
- inputIsHidden: a,
2547
+ var W = u != null && e !== r ? {
2548
+ inputIsHidden: u,
2556
2549
  inputIsHiddenAfterUpdate: void 0
2557
- } : {}, Z = l, D = c && d;
2558
- return c && !D && (Z = {
2559
- value: ge(C, B, B[0] || null),
2550
+ } : {}, H = l, T = c && d;
2551
+ return c && !T && (H = {
2552
+ value: ie(m, B, B[0] || null),
2560
2553
  options: B,
2561
2554
  action: "initial-input-focus"
2562
- }, D = !d), l?.action === "initial-input-focus" && (Z = null), v(v(v({}, x), E), {}, {
2555
+ }, T = !d), l?.action === "initial-input-focus" && (H = null), v(v(v({}, x), W), {}, {
2563
2556
  prevProps: e,
2564
- ariaSelection: Z,
2565
- prevWasFocused: D
2557
+ ariaSelection: H,
2558
+ prevWasFocused: T
2566
2559
  });
2567
2560
  }
2568
- }]), u;
2569
- }(Jt);
2570
- Le.defaultProps = ti;
2571
- var oi = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
2572
- function Et(i) {
2573
- var t = i.defaultInputValue, u = t === void 0 ? "" : t, n = i.defaultMenuIsOpen, e = n === void 0 ? !1 : n, o = i.defaultValue, r = o === void 0 ? null : o, s = i.inputValue, a = i.menuIsOpen, l = i.onChange, c = i.onInputChange, d = i.onMenuClose, I = i.onMenuOpen, b = i.value, m = _(i, oi), p = M(s !== void 0 ? s : u), g = P(p, 2), C = g[0], B = g[1], x = M(a !== void 0 ? a : e), G = P(x, 2), F = G[0], V = G[1], y = M(b !== void 0 ? b : r), A = P(y, 2), E = A[0], Z = A[1], D = T(function(O, q) {
2574
- typeof l == "function" && l(O, q), Z(O);
2575
- }, [l]), X = T(function(O, q) {
2561
+ }]), i;
2562
+ }(Rt);
2563
+ ht.defaultProps = zu;
2564
+ var Ku = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
2565
+ function _u(a) {
2566
+ var t = a.defaultInputValue, i = t === void 0 ? "" : t, n = a.defaultMenuIsOpen, e = n === void 0 ? !1 : n, o = a.defaultValue, r = o === void 0 ? null : o, s = a.inputValue, u = a.menuIsOpen, l = a.onChange, c = a.onInputChange, d = a.onMenuClose, b = a.onMenuOpen, I = a.value, C = Y(a, Ku), p = ee(s !== void 0 ? s : i), g = U(p, 2), m = g[0], B = g[1], x = ee(u !== void 0 ? u : e), G = U(x, 2), V = G[0], E = G[1], F = ee(I !== void 0 ? I : r), A = U(F, 2), W = A[0], H = A[1], T = D(function(M, Q) {
2567
+ typeof l == "function" && l(M, Q), H(M);
2568
+ }, [l]), X = D(function(M, Q) {
2576
2569
  var $;
2577
- typeof c == "function" && ($ = c(O, q)), B($ !== void 0 ? $ : O);
2578
- }, [c]), L = T(function() {
2579
- typeof I == "function" && I(), V(!0);
2580
- }, [I]), w = T(function() {
2581
- typeof d == "function" && d(), V(!1);
2582
- }, [d]), N = s !== void 0 ? s : C, S = a !== void 0 ? a : F, j = b !== void 0 ? b : E;
2583
- return v(v({}, m), {}, {
2584
- inputValue: N,
2570
+ typeof c == "function" && ($ = c(M, Q)), B($ !== void 0 ? $ : M);
2571
+ }, [c]), P = D(function() {
2572
+ typeof b == "function" && b(), E(!0);
2573
+ }, [b]), w = D(function() {
2574
+ typeof d == "function" && d(), E(!1);
2575
+ }, [d]), Z = s !== void 0 ? s : m, S = u !== void 0 ? u : V, J = I !== void 0 ? I : W;
2576
+ return v(v({}, C), {}, {
2577
+ inputValue: Z,
2585
2578
  menuIsOpen: S,
2586
- onChange: D,
2579
+ onChange: T,
2587
2580
  onInputChange: X,
2588
2581
  onMenuClose: w,
2589
- onMenuOpen: L,
2590
- value: j
2582
+ onMenuOpen: P,
2583
+ value: J
2591
2584
  });
2592
2585
  }
2593
- var ri = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], nt = function() {
2594
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", u = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 ? arguments[2] : void 0, e = String(t).toLowerCase(), o = String(n.getOptionValue(u)).toLowerCase(), r = String(n.getOptionLabel(u)).toLowerCase();
2586
+ var qu = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], je = function() {
2587
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", i = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 ? arguments[2] : void 0, e = String(t).toLowerCase(), o = String(n.getOptionValue(i)).toLowerCase(), r = String(n.getOptionLabel(i)).toLowerCase();
2595
2588
  return o === e || r === e;
2596
- }, Se = {
2589
+ }, Ge = {
2597
2590
  formatCreateLabel: function(t) {
2598
2591
  return 'Create "'.concat(t, '"');
2599
2592
  },
2600
- isValidNewOption: function(t, u, n, e) {
2601
- return !(!t || u.some(function(o) {
2602
- return nt(t, o, e);
2593
+ isValidNewOption: function(t, i, n, e) {
2594
+ return !(!t || i.some(function(o) {
2595
+ return je(t, o, e);
2603
2596
  }) || n.some(function(o) {
2604
- return nt(t, o, e);
2597
+ return je(t, o, e);
2605
2598
  }));
2606
2599
  },
2607
- getNewOptionData: function(t, u) {
2600
+ getNewOptionData: function(t, i) {
2608
2601
  return {
2609
- label: u,
2602
+ label: i,
2610
2603
  value: t,
2611
2604
  __isNew__: !0
2612
2605
  };
2613
2606
  }
2614
2607
  };
2615
- function li(i) {
2616
- var t = i.allowCreateWhileLoading, u = t === void 0 ? !1 : t, n = i.createOptionPosition, e = n === void 0 ? "last" : n, o = i.formatCreateLabel, r = o === void 0 ? Se.formatCreateLabel : o, s = i.isValidNewOption, a = s === void 0 ? Se.isValidNewOption : s, l = i.getNewOptionData, c = l === void 0 ? Se.getNewOptionData : l, d = i.onCreateOption, I = i.options, b = I === void 0 ? [] : I, m = i.onChange, p = _(i, ri), g = p.getOptionValue, C = g === void 0 ? ht : g, B = p.getOptionLabel, x = B === void 0 ? ft : B, G = p.inputValue, F = p.isLoading, V = p.isMulti, y = p.value, A = p.name, E = te(function() {
2617
- return a(G, he(y), b, {
2618
- getOptionValue: C,
2608
+ function ei(a) {
2609
+ var t = a.allowCreateWhileLoading, i = t === void 0 ? !1 : t, n = a.createOptionPosition, e = n === void 0 ? "last" : n, o = a.formatCreateLabel, r = o === void 0 ? Ge.formatCreateLabel : o, s = a.isValidNewOption, u = s === void 0 ? Ge.isValidNewOption : s, l = a.getNewOptionData, c = l === void 0 ? Ge.getNewOptionData : l, d = a.onCreateOption, b = a.options, I = b === void 0 ? [] : b, C = a.onChange, p = Y(a, qu), g = p.getOptionValue, m = g === void 0 ? dt : g, B = p.getOptionLabel, x = B === void 0 ? ct : B, G = p.inputValue, V = p.isLoading, E = p.isMulti, F = p.value, A = p.name, W = q(function() {
2610
+ return u(G, ge(F), I, {
2611
+ getOptionValue: m,
2619
2612
  getOptionLabel: x
2620
2613
  }) ? c(G, r(G)) : void 0;
2621
- }, [r, c, x, C, G, a, b, y]), Z = te(function() {
2622
- return (u || !F) && E ? e === "first" ? [E].concat(oe(b)) : [].concat(oe(b), [E]) : b;
2623
- }, [u, e, F, E, b]), D = T(function(X, L) {
2624
- if (L.action !== "select-option")
2625
- return m(X, L);
2614
+ }, [r, c, x, m, G, u, I, F]), H = q(function() {
2615
+ return (i || !V) && W ? e === "first" ? [W].concat(ne(I)) : [].concat(ne(I), [W]) : I;
2616
+ }, [i, e, V, W, I]), T = D(function(X, P) {
2617
+ if (P.action !== "select-option")
2618
+ return C(X, P);
2626
2619
  var w = Array.isArray(X) ? X : [X];
2627
- if (w[w.length - 1] === E) {
2620
+ if (w[w.length - 1] === W) {
2628
2621
  if (d) d(G);
2629
2622
  else {
2630
- var N = c(G, G), S = {
2623
+ var Z = c(G, G), S = {
2631
2624
  action: "create-option",
2632
2625
  name: A,
2633
- option: N
2626
+ option: Z
2634
2627
  };
2635
- m(ge(V, [].concat(oe(he(y)), [N]), N), S);
2628
+ C(ie(E, [].concat(ne(ge(F)), [Z]), Z), S);
2636
2629
  }
2637
2630
  return;
2638
2631
  }
2639
- m(X, L);
2640
- }, [c, G, V, A, E, d, m, y]);
2632
+ C(X, P);
2633
+ }, [c, G, E, A, W, d, C, F]);
2641
2634
  return v(v({}, p), {}, {
2642
- options: Z,
2643
- onChange: D
2644
- });
2645
- }
2646
- var si = /* @__PURE__ */ it(function(i, t) {
2647
- var u = Et(i), n = li(u);
2648
- return /* @__PURE__ */ W.createElement(Le, h({
2649
- ref: t
2650
- }, n));
2651
- }), mi = si, ci = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
2652
- function di(i) {
2653
- var t = i.defaultOptions, u = t === void 0 ? !1 : t, n = i.cacheOptions, e = n === void 0 ? !1 : n, o = i.loadOptions;
2654
- i.options;
2655
- var r = i.isLoading, s = r === void 0 ? !1 : r, a = i.onInputChange, l = i.filterOption, c = l === void 0 ? null : l, d = _(i, ci), I = d.inputValue, b = K(void 0), m = K(!1), p = M(Array.isArray(u) ? u : void 0), g = P(p, 2), C = g[0], B = g[1], x = M(typeof I < "u" ? I : ""), G = P(x, 2), F = G[0], V = G[1], y = M(u === !0), A = P(y, 2), E = A[0], Z = A[1], D = M(void 0), X = P(D, 2), L = X[0], w = X[1], N = M([]), S = P(N, 2), j = S[0], O = S[1], q = M(!1), $ = P(q, 2), ne = $[0], R = $[1], J = M({}), U = P(J, 2), Y = U[0], k = U[1], ee = M(void 0), Q = P(ee, 2), ue = Q[0], Be = Q[1], be = M(void 0), re = P(be, 2), Fe = re[0], Ie = re[1];
2656
- e !== Fe && (k({}), Ie(e)), u !== ue && (B(Array.isArray(u) ? u : void 0), Be(u)), ve(function() {
2657
- return m.current = !0, function() {
2658
- m.current = !1;
2659
- };
2660
- }, []);
2661
- var le = T(function(se, ie) {
2662
- if (!o) return ie();
2663
- var z = o(se, ie);
2664
- z && typeof z.then == "function" && z.then(ie, function() {
2665
- return ie();
2666
- });
2667
- }, [o]);
2668
- ve(function() {
2669
- u === !0 && le(F, function(se) {
2670
- m.current && (B(se || []), Z(!!b.current));
2671
- });
2672
- }, []);
2673
- var Wt = T(function(se, ie) {
2674
- var z = Ut(se, ie, a);
2675
- if (!z) {
2676
- b.current = void 0, V(""), w(""), O([]), Z(!1), R(!1);
2677
- return;
2678
- }
2679
- if (e && Y[z])
2680
- V(z), w(z), O(Y[z]), Z(!1), R(!1);
2681
- else {
2682
- var Zt = b.current = {};
2683
- V(z), Z(!0), R(!L), le(z, function(Ve) {
2684
- m && Zt === b.current && (b.current = void 0, Z(!1), w(z), O(Ve || []), R(!1), k(Ve ? v(v({}, Y), {}, de({}, z, Ve)) : Y));
2685
- });
2686
- }
2687
- }, [e, le, L, Y, a]), Xt = ne ? [] : F && L ? j : C || [];
2688
- return v(v({}, d), {}, {
2689
- options: Xt,
2690
- isLoading: E || s,
2691
- onInputChange: Wt,
2692
- filterOption: c
2635
+ options: H,
2636
+ onChange: T
2693
2637
  });
2694
2638
  }
2695
- var gi = /* @__PURE__ */ it(function(i, t) {
2696
- var u = di(i), n = Et(u);
2697
- return /* @__PURE__ */ W.createElement(Le, h({
2639
+ var ti = /* @__PURE__ */ Ht(function(a, t) {
2640
+ var i = _u(a), n = ei(i);
2641
+ return /* @__PURE__ */ y.createElement(ht, f({
2698
2642
  ref: t
2699
2643
  }, n));
2700
- }), Ci = gi;
2644
+ }), ai = ti;
2701
2645
  export {
2702
- Ci as A,
2703
- mi as C
2646
+ ai as C
2704
2647
  };