jcicl 0.0.253 → 0.0.257

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,27 +1,27 @@
1
- import { jsx as k, jsxs as Me } from "react/jsx-runtime";
2
- import { n as Yo } from "../.chunks/emotion-styled.browser.esm.js";
3
- import { c as Mo } from "../.chunks/emotion-react.browser.esm.js";
4
- import Bo from "../theme.js";
1
+ import { jsx as w, jsxs as De } from "react/jsx-runtime";
2
+ import { n as Jo } from "../.chunks/emotion-styled.browser.esm.js";
3
+ import { c as No } from "../.chunks/emotion-react.browser.esm.js";
4
+ import Ho from "../theme.js";
5
5
  import * as m from "react";
6
- import { g as po, a as co, s as F, c as d, u as uo, b as J, P as o, d as fo, e as V } from "../.chunks/DefaultPropsProvider.js";
7
- import { i as Io, a as be, b as No, f as Ae, A as Jo, T as Xo } from "../.chunks/TextField.js";
8
- import { c as Uo } from "../.chunks/createSvgIcon.js";
6
+ import { g as po, a as co, s as F, c as f, u as uo, b as J, P as o, d as fo, e as V } from "../.chunks/DefaultPropsProvider.js";
7
+ import { i as Io, a as be, b as Eo, f as Ae, A as Xo, T as zo } from "../.chunks/TextField.js";
8
+ import { c as Wo } from "../.chunks/createSvgIcon.js";
9
9
  import { m as ee } from "../.chunks/memoTheme.js";
10
10
  import { u as Oo } from "../.chunks/useSlot.js";
11
- import { c as De } from "../.chunks/createSimplePaletteValueFilter.js";
11
+ import { c as Me } from "../.chunks/createSimplePaletteValueFilter.js";
12
12
  import { B as So } from "../.chunks/ButtonBase.js";
13
13
  import { c as wo } from "../.chunks/chainPropTypes.js";
14
- import { P as Ho } from "../.chunks/Popper.js";
15
- import { P as Wo } from "../.chunks/Paper.js";
14
+ import { P as Ko } from "../.chunks/Popper.js";
15
+ import { P as Go } from "../.chunks/Paper.js";
16
16
  import { u as Qo } from "../.chunks/Portal.js";
17
17
  import { u as Po } from "../.chunks/useControlled.js";
18
18
  import { b as io, s as Zo, u as et } from "../.chunks/TransitionGroupContext.js";
19
19
  import { i as ot } from "../.chunks/integerPropType.js";
20
- function tt(e, n, a, i, g) {
20
+ function tt(e, n, a, i, b) {
21
21
  if (process.env.NODE_ENV === "production")
22
22
  return null;
23
- const x = g || n;
24
- return typeof e[n] < "u" ? new Error(`The prop \`${x}\` is not supported. Please remove it.`) : null;
23
+ const h = b || n;
24
+ return typeof e[n] < "u" ? new Error(`The prop \`${h}\` is not supported. Please remove it.`) : null;
25
25
  }
26
26
  const nt = (e) => {
27
27
  const n = m.useRef({});
@@ -29,7 +29,7 @@ const nt = (e) => {
29
29
  n.current = e;
30
30
  }), n.current;
31
31
  };
32
- function Eo(e) {
32
+ function Vo(e) {
33
33
  return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
34
34
  }
35
35
  function rt(e = {}) {
@@ -37,24 +37,24 @@ function rt(e = {}) {
37
37
  ignoreAccents: n = !0,
38
38
  ignoreCase: a = !0,
39
39
  limit: i,
40
- matchFrom: g = "any",
41
- stringify: x,
42
- trim: y = !1
40
+ matchFrom: b = "any",
41
+ stringify: h,
42
+ trim: x = !1
43
43
  } = e;
44
- return (v, {
45
- inputValue: P,
46
- getOptionLabel: b
44
+ return (y, {
45
+ inputValue: O,
46
+ getOptionLabel: d
47
47
  }) => {
48
- let S = y ? P.trim() : P;
49
- a && (S = S.toLowerCase()), n && (S = Eo(S));
50
- const L = S ? v.filter((X) => {
51
- let A = (x || b)(X);
52
- return a && (A = A.toLowerCase()), n && (A = Eo(A)), g === "start" ? A.startsWith(S) : A.includes(S);
53
- }) : v;
48
+ let S = x ? O.trim() : O;
49
+ a && (S = S.toLowerCase()), n && (S = Vo(S));
50
+ const L = S ? y.filter((X) => {
51
+ let A = (h || d)(X);
52
+ return a && (A = A.toLowerCase()), n && (A = Vo(A)), b === "start" ? A.startsWith(S) : A.includes(S);
53
+ }) : y;
54
54
  return typeof i == "number" ? L.slice(0, i) : L;
55
55
  };
56
56
  }
57
- const at = rt(), zo = 5, lt = (e) => {
57
+ const at = rt(), Fo = 5, lt = (e) => {
58
58
  var n;
59
59
  return e.current !== null && ((n = e.current.parentElement) == null ? void 0 : n.contains(document.activeElement));
60
60
  }, it = [];
@@ -65,12 +65,12 @@ function st(e) {
65
65
  // eslint-disable-next-line @typescript-eslint/naming-convention
66
66
  unstable_classNamePrefix: a = "Mui",
67
67
  autoComplete: i = !1,
68
- autoHighlight: g = !1,
69
- autoSelect: x = !1,
70
- blurOnSelect: y = !1,
71
- clearOnBlur: v = !e.freeSolo,
72
- clearOnEscape: P = !1,
73
- componentName: b = "useAutocomplete",
68
+ autoHighlight: b = !1,
69
+ autoSelect: h = !1,
70
+ blurOnSelect: x = !1,
71
+ clearOnBlur: y = !e.freeSolo,
72
+ clearOnEscape: O = !1,
73
+ componentName: d = "useAutocomplete",
74
74
  defaultValue: S = e.multiple ? it : null,
75
75
  disableClearable: L = !1,
76
76
  disableCloseOnSelect: X = !1,
@@ -96,35 +96,35 @@ function st(e) {
96
96
  onInputChange: q,
97
97
  onOpen: ie,
98
98
  open: xe,
99
- openOnFocus: D = !1,
100
- options: ko,
99
+ openOnFocus: M = !1,
100
+ options: Ro,
101
101
  readOnly: $e = !1,
102
102
  selectOnFocus: Fe = !e.freeSolo,
103
103
  value: go
104
104
  } = e, U = Qo(Ve);
105
- let M = Ee;
106
- M = (r) => {
105
+ let D = Ee;
106
+ D = (r) => {
107
107
  const t = Ee(r);
108
108
  if (typeof t != "string") {
109
109
  if (process.env.NODE_ENV !== "production") {
110
110
  const l = t === void 0 ? "undefined" : `${typeof t} (${t})`;
111
- console.error(`MUI: The \`getOptionLabel\` method of ${b} returned ${l} instead of a string for ${JSON.stringify(r)}.`);
111
+ console.error(`MUI: The \`getOptionLabel\` method of ${d} returned ${l} instead of a string for ${JSON.stringify(r)}.`);
112
112
  }
113
113
  return String(t);
114
114
  }
115
115
  return t;
116
116
  };
117
- const je = m.useRef(!1), Be = m.useRef(!0), T = m.useRef(null), K = m.useRef(null), [Ue, Ro] = m.useState(null), [G, Xe] = m.useState(-1), bo = g ? 0 : -1, z = m.useRef(bo), [s, Lo] = Po({
117
+ const je = m.useRef(!1), Be = m.useRef(!0), k = m.useRef(null), K = m.useRef(null), [Ue, Lo] = m.useState(null), [G, Xe] = m.useState(-1), bo = b ? 0 : -1, z = m.useRef(bo), [s, Ao] = Po({
118
118
  controlled: go,
119
119
  default: S,
120
- name: b
121
- }), [O, Ce] = Po({
120
+ name: d
121
+ }), [P, Ce] = Po({
122
122
  controlled: ye,
123
123
  default: "",
124
- name: b,
124
+ name: d,
125
125
  state: "inputValue"
126
126
  }), [Ie, He] = m.useState(!1), Oe = m.useCallback((r, t, l) => {
127
- if (!($ ? s.length < t.length : t !== null) && !v)
127
+ if (!($ ? s.length < t.length : t !== null) && !y)
128
128
  return;
129
129
  let c;
130
130
  if ($)
@@ -132,47 +132,47 @@ function st(e) {
132
132
  else if (t == null)
133
133
  c = "";
134
134
  else {
135
- const I = M(t);
135
+ const I = D(t);
136
136
  c = typeof I == "string" ? I : "";
137
137
  }
138
- O !== c && (Ce(c), q && q(r, c, l));
139
- }, [M, O, $, q, Ce, v, s]), [se, Qe] = Po({
138
+ P !== c && (Ce(c), q && q(r, c, l));
139
+ }, [D, P, $, q, Ce, y, s]), [se, Qe] = Po({
140
140
  controlled: xe,
141
141
  default: !1,
142
- name: b,
142
+ name: d,
143
143
  state: "open"
144
- }), [Ze, mo] = m.useState(!0), Pe = !$ && s != null && O === M(s), j = se && !$e, w = j ? Ne(
145
- ko.filter((r) => !(me && ($ ? s : [s]).some((t) => t !== null && W(r, t)))),
144
+ }), [Ze, mo] = m.useState(!0), Pe = !$ && s != null && P === D(s), j = se && !$e, T = j ? Ne(
145
+ Ro.filter((r) => !(me && ($ ? s : [s]).some((t) => t !== null && W(r, t)))),
146
146
  // we use the empty string to manipulate `filterOptions` to not filter any options
147
147
  // i.e. the filter predicate always returns true
148
148
  {
149
- inputValue: Pe && Ze ? "" : O,
150
- getOptionLabel: M
149
+ inputValue: Pe && Ze ? "" : P,
150
+ getOptionLabel: D
151
151
  }
152
152
  ) : [], Q = nt({
153
- filteredOptions: w,
153
+ filteredOptions: T,
154
154
  value: s,
155
- inputValue: O
155
+ inputValue: P
156
156
  });
157
157
  m.useEffect(() => {
158
158
  const r = s !== Q.value;
159
159
  Ie && !r || le && !r || Oe(null, s, "reset");
160
160
  }, [s, Oe, Ie, Q.value, le]);
161
- const We = se && w.length > 0 && !$e, Se = io((r) => {
162
- r === -1 ? T.current.focus() : Ue.querySelector(`[data-tag-index="${r}"]`).focus();
161
+ const We = se && T.length > 0 && !$e, Se = io((r) => {
162
+ r === -1 ? k.current.focus() : Ue.querySelector(`[data-tag-index="${r}"]`).focus();
163
163
  });
164
164
  m.useEffect(() => {
165
165
  $ && G > s.length - 1 && (Xe(-1), Se(-1));
166
166
  }, [s, $, G, Se]);
167
167
  function eo(r, t) {
168
- if (!K.current || r < 0 || r >= w.length)
168
+ if (!K.current || r < 0 || r >= T.length)
169
169
  return -1;
170
170
  let l = r;
171
171
  for (; ; ) {
172
172
  const p = K.current.querySelector(`[data-option-index="${l}"]`), c = E ? !1 : !p || p.disabled || p.getAttribute("aria-disabled") === "true";
173
173
  if (p && p.hasAttribute("tabindex") && !c)
174
174
  return l;
175
- if (t === "next" ? l = (l + 1) % w.length : l = (l - 1 + w.length) % w.length, l === r)
175
+ if (t === "next" ? l = (l + 1) % T.length : l = (l - 1 + T.length) % T.length, l === r)
176
176
  return -1;
177
177
  }
178
178
  }
@@ -181,7 +181,7 @@ function st(e) {
181
181
  index: t,
182
182
  reason: l = "auto"
183
183
  }) => {
184
- if (z.current = t, t === -1 ? T.current.removeAttribute("aria-activedescendant") : T.current.setAttribute("aria-activedescendant", `${U}-option-${t}`), ve && ve(r, t === -1 ? null : w[t], l), !K.current)
184
+ if (z.current = t, t === -1 ? k.current.removeAttribute("aria-activedescendant") : k.current.setAttribute("aria-activedescendant", `${U}-option-${t}`), ve && ve(r, t === -1 ? null : T[t], l), !K.current)
185
185
  return;
186
186
  const p = K.current.querySelector(`[role="option"].${a}-focused`);
187
187
  p && (p.classList.remove(`${a}-focused`), p.classList.remove(`${a}-focusVisible`));
@@ -206,7 +206,7 @@ function st(e) {
206
206
  if (!j)
207
207
  return;
208
208
  const I = eo((() => {
209
- const C = w.length - 1;
209
+ const C = T.length - 1;
210
210
  if (t === "reset")
211
211
  return bo;
212
212
  if (t === "start")
@@ -222,20 +222,20 @@ function st(e) {
222
222
  event: r
223
223
  }), i && t !== "reset")
224
224
  if (I === -1)
225
- T.current.value = O;
225
+ k.current.value = P;
226
226
  else {
227
- const C = M(w[I]);
228
- T.current.value = C, C.toLowerCase().indexOf(O.toLowerCase()) === 0 && O.length > 0 && T.current.setSelectionRange(O.length, C.length);
227
+ const C = D(T[I]);
228
+ k.current.value = C, C.toLowerCase().indexOf(P.toLowerCase()) === 0 && P.length > 0 && k.current.setSelectionRange(P.length, C.length);
229
229
  }
230
230
  }), ho = () => {
231
231
  const r = (t, l) => {
232
- const p = t ? M(t) : "", c = l ? M(l) : "";
232
+ const p = t ? D(t) : "", c = l ? D(l) : "";
233
233
  return p === c;
234
234
  };
235
- if (z.current !== -1 && Q.filteredOptions && Q.filteredOptions.length !== w.length && Q.inputValue === O && ($ ? s.length === Q.value.length && Q.value.every((t, l) => M(s[l]) === M(t)) : r(Q.value, s))) {
235
+ if (z.current !== -1 && Q.filteredOptions && Q.filteredOptions.length !== T.length && Q.inputValue === P && ($ ? s.length === Q.value.length && Q.value.every((t, l) => D(s[l]) === D(t)) : r(Q.value, s))) {
236
236
  const t = Q.filteredOptions[z.current];
237
237
  if (t)
238
- return w.findIndex((l) => M(l) === M(t));
238
+ return T.findIndex((l) => D(l) === D(t));
239
239
  }
240
240
  return -1;
241
241
  }, Ke = m.useCallback(() => {
@@ -247,7 +247,7 @@ function st(e) {
247
247
  return;
248
248
  }
249
249
  const t = $ ? s[0] : s;
250
- if (w.length === 0 || t == null) {
250
+ if (T.length === 0 || t == null) {
251
251
  Y({
252
252
  diff: "reset"
253
253
  });
@@ -255,10 +255,10 @@ function st(e) {
255
255
  }
256
256
  if (K.current) {
257
257
  if (t != null) {
258
- const l = w[z.current];
258
+ const l = T[z.current];
259
259
  if ($ && l && s.findIndex((c) => W(l, c)) !== -1)
260
260
  return;
261
- const p = w.findIndex((c) => W(c, t));
261
+ const p = T.findIndex((c) => W(c, t));
262
262
  p === -1 ? Y({
263
263
  diff: "reset"
264
264
  }) : te({
@@ -266,9 +266,9 @@ function st(e) {
266
266
  });
267
267
  return;
268
268
  }
269
- if (z.current >= w.length - 1) {
269
+ if (z.current >= T.length - 1) {
270
270
  te({
271
- index: w.length - 1
271
+ index: T.length - 1
272
272
  });
273
273
  return;
274
274
  }
@@ -278,7 +278,7 @@ function st(e) {
278
278
  }
279
279
  }, [
280
280
  // Only sync the highlighted index when the option switch between empty and not
281
- w.length,
281
+ T.length,
282
282
  // Don't sync the highlighted index with the value when multiple
283
283
  // eslint-disable-next-line react-hooks/exhaustive-deps
284
284
  $ ? !1 : s,
@@ -286,16 +286,16 @@ function st(e) {
286
286
  Y,
287
287
  te,
288
288
  j,
289
- O,
289
+ P,
290
290
  $
291
291
  ]), yo = io((r) => {
292
292
  Zo(K, r), r && Ke();
293
293
  });
294
294
  process.env.NODE_ENV !== "production" && m.useEffect(() => {
295
- (!T.current || T.current.nodeName !== "INPUT") && (T.current && T.current.nodeName === "TEXTAREA" ? console.warn([`A textarea element was provided to ${b} where input was expected.`, "This is not a supported scenario but it may work under certain conditions.", "A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).", "Make sure to test keyboard navigation and add custom event handlers if necessary."].join(`
296
- `)) : console.error([`MUI: Unable to find the input element. It was resolved to ${T.current} while an HTMLInputElement was expected.`, `Instead, ${b} expects an input element.`, "", b === "useAutocomplete" ? "Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed." : "Make sure you have customized the input component correctly."].join(`
295
+ (!k.current || k.current.nodeName !== "INPUT") && (k.current && k.current.nodeName === "TEXTAREA" ? console.warn([`A textarea element was provided to ${d} where input was expected.`, "This is not a supported scenario but it may work under certain conditions.", "A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).", "Make sure to test keyboard navigation and add custom event handlers if necessary."].join(`
296
+ `)) : console.error([`MUI: Unable to find the input element. It was resolved to ${k.current} while an HTMLInputElement was expected.`, `Instead, ${d} expects an input element.`, "", d === "useAutocomplete" ? "Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed." : "Make sure you have customized the input component correctly."].join(`
297
297
  `)));
298
- }, [b]), m.useEffect(() => {
298
+ }, [d]), m.useEffect(() => {
299
299
  Ke();
300
300
  }, [Ke]);
301
301
  const ne = (r) => {
@@ -308,13 +308,13 @@ function st(e) {
308
308
  return;
309
309
  } else if (s === t)
310
310
  return;
311
- fe && fe(r, t, l, p), Lo(t);
311
+ fe && fe(r, t, l, p), Ao(t);
312
312
  }, we = m.useRef(!1), ge = (r, t, l = "selectOption", p = "options") => {
313
313
  let c = l, I = t;
314
314
  if ($) {
315
315
  if (I = Array.isArray(s) ? s.slice() : [], process.env.NODE_ENV !== "production") {
316
316
  const B = I.filter((Le) => W(t, Le));
317
- B.length > 1 && console.error([`MUI: The \`isOptionEqualToValue\` method of ${b} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${B.length} matches.`].join(`
317
+ B.length > 1 && console.error([`MUI: The \`isOptionEqualToValue\` method of ${d} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${B.length} matches.`].join(`
318
318
  `));
319
319
  }
320
320
  const C = I.findIndex((B) => W(t, B));
@@ -322,7 +322,7 @@ function st(e) {
322
322
  }
323
323
  Oe(r, I, c), pe(r, I, c, {
324
324
  option: t
325
- }), !X && (!r || !r.ctrlKey && !r.metaKey) && re(r, c), (y === !0 || y === "touch" && we.current || y === "mouse" && !we.current) && T.current.blur();
325
+ }), !X && (!r || !r.ctrlKey && !r.metaKey) && re(r, c), (x === !0 || x === "touch" && we.current || x === "mouse" && !we.current) && k.current.blur();
326
326
  };
327
327
  function Te(r, t) {
328
328
  if (r === -1)
@@ -341,9 +341,9 @@ function st(e) {
341
341
  const Ge = (r, t) => {
342
342
  if (!$)
343
343
  return;
344
- O === "" && re(r, "toggleInput");
344
+ P === "" && re(r, "toggleInput");
345
345
  let l = G;
346
- G === -1 ? O === "" && t === "previous" && (l = s.length - 1) : (l += t === "next" ? 1 : -1, l < 0 && (l = 0), l === s.length && (l = -1)), l = Te(l, t), Xe(l), Se(l);
346
+ G === -1 ? P === "" && t === "previous" && (l = s.length - 1) : (l += t === "next" ? 1 : -1, l < 0 && (l = 0), l === s.length && (l = -1)), l = Te(l, t), Xe(l), Se(l);
347
347
  }, oo = (r) => {
348
348
  je.current = !0, Ce(""), q && q(r, "", "clear"), pe(r, $ ? [] : null, "clear");
349
349
  }, ke = (r) => (t) => {
@@ -367,7 +367,7 @@ function st(e) {
367
367
  break;
368
368
  case "PageUp":
369
369
  t.preventDefault(), Y({
370
- diff: -zo,
370
+ diff: -Fo,
371
371
  direction: "previous",
372
372
  reason: "keyboard",
373
373
  event: t
@@ -375,7 +375,7 @@ function st(e) {
375
375
  break;
376
376
  case "PageDown":
377
377
  t.preventDefault(), Y({
378
- diff: zo,
378
+ diff: Fo,
379
379
  direction: "next",
380
380
  reason: "keyboard",
381
381
  event: t
@@ -405,17 +405,17 @@ function st(e) {
405
405
  break;
406
406
  case "Enter":
407
407
  if (z.current !== -1 && j) {
408
- const l = w[z.current], p = H ? H(l) : !1;
408
+ const l = T[z.current], p = H ? H(l) : !1;
409
409
  if (t.preventDefault(), p)
410
410
  return;
411
- ge(t, l, "selectOption"), i && T.current.setSelectionRange(T.current.value.length, T.current.value.length);
412
- } else le && O !== "" && Pe === !1 && ($ && t.preventDefault(), ge(t, O, "createOption", "freeSolo"));
411
+ ge(t, l, "selectOption"), i && k.current.setSelectionRange(k.current.value.length, k.current.value.length);
412
+ } else le && P !== "" && Pe === !1 && ($ && t.preventDefault(), ge(t, P, "createOption", "freeSolo"));
413
413
  break;
414
414
  case "Escape":
415
- j ? (t.preventDefault(), t.stopPropagation(), re(t, "escape")) : P && (O !== "" || $ && s.length > 0) && (t.preventDefault(), t.stopPropagation(), oo(t));
415
+ j ? (t.preventDefault(), t.stopPropagation(), re(t, "escape")) : O && (P !== "" || $ && s.length > 0) && (t.preventDefault(), t.stopPropagation(), oo(t));
416
416
  break;
417
417
  case "Backspace":
418
- if ($ && !$e && O === "" && s.length > 0) {
418
+ if ($ && !$e && P === "" && s.length > 0) {
419
419
  const l = G === -1 ? s.length - 1 : G, p = s.slice();
420
420
  p.splice(l, 1), pe(t, p, "removeOption", {
421
421
  option: s[l]
@@ -423,7 +423,7 @@ function st(e) {
423
423
  }
424
424
  break;
425
425
  case "Delete":
426
- if ($ && !$e && O === "" && s.length > 0 && G !== -1) {
426
+ if ($ && !$e && P === "" && s.length > 0 && G !== -1) {
427
427
  const l = G, p = s.slice();
428
428
  p.splice(l, 1), pe(t, p, "removeOption", {
429
429
  option: s[l]
@@ -432,16 +432,16 @@ function st(e) {
432
432
  break;
433
433
  }
434
434
  }, vo = (r) => {
435
- He(!0), D && !je.current && ne(r);
435
+ He(!0), M && !je.current && ne(r);
436
436
  }, to = (r) => {
437
437
  if (n(K)) {
438
- T.current.focus();
438
+ k.current.focus();
439
439
  return;
440
440
  }
441
- He(!1), Be.current = !0, je.current = !1, x && z.current !== -1 && j ? ge(r, w[z.current], "blur") : x && le && O !== "" ? ge(r, O, "blur", "freeSolo") : v && Oe(r, s, "blur"), re(r, "blur");
441
+ He(!1), Be.current = !0, je.current = !1, h && z.current !== -1 && j ? ge(r, T[z.current], "blur") : h && le && P !== "" ? ge(r, P, "blur", "freeSolo") : y && Oe(r, s, "blur"), re(r, "blur");
442
442
  }, Re = (r) => {
443
443
  const t = r.target.value;
444
- O !== t && (Ce(t), mo(!1), q && q(r, t, "input")), t === "" ? !L && !$ && pe(r, null, "clear") : ne(r);
444
+ P !== t && (Ce(t), mo(!1), q && q(r, t, "input")), t === "" ? !L && !$ && pe(r, null, "clear") : ne(r);
445
445
  }, _e = (r) => {
446
446
  const t = Number(r.currentTarget.getAttribute("data-option-index"));
447
447
  z.current !== t && te({
@@ -457,7 +457,7 @@ function st(e) {
457
457
  }), we.current = !0;
458
458
  }, xo = (r) => {
459
459
  const t = Number(r.currentTarget.getAttribute("data-option-index"));
460
- ge(r, w[t], "selectOption"), we.current = !1;
460
+ ge(r, T[t], "selectOption"), we.current = !1;
461
461
  }, $o = (r) => (t) => {
462
462
  const l = s.slice();
463
463
  l.splice(r, 1), pe(t, l, "removeOption", {
@@ -465,22 +465,22 @@ function st(e) {
465
465
  });
466
466
  }, no = (r) => {
467
467
  se ? re(r, "toggleInput") : ne(r);
468
- }, Ao = (r) => {
468
+ }, Mo = (r) => {
469
469
  r.currentTarget.contains(r.target) && r.target.getAttribute("id") !== U && r.preventDefault();
470
470
  }, Ye = (r) => {
471
- r.currentTarget.contains(r.target) && (T.current.focus(), Fe && Be.current && T.current.selectionEnd - T.current.selectionStart === 0 && T.current.select(), Be.current = !1);
471
+ r.currentTarget.contains(r.target) && (k.current.focus(), Fe && Be.current && k.current.selectionEnd - k.current.selectionStart === 0 && k.current.select(), Be.current = !1);
472
472
  }, N = (r) => {
473
- !A && (O === "" || !se) && (no(r), r.stopPropagation());
473
+ !A && (P === "" || !se) && (no(r), r.stopPropagation());
474
474
  };
475
- let R = le && O.length > 0;
475
+ let R = le && P.length > 0;
476
476
  R = R || ($ ? s.length > 0 : s !== null);
477
- let ae = w;
477
+ let ae = T;
478
478
  if (oe) {
479
479
  const r = /* @__PURE__ */ new Map();
480
480
  let t = !1;
481
- ae = w.reduce((l, p, c) => {
481
+ ae = T.reduce((l, p, c) => {
482
482
  const I = oe(p);
483
- return l.length > 0 && l[l.length - 1].group === I ? l[l.length - 1].options.push(p) : (process.env.NODE_ENV !== "production" && (r.get(I) && !t && (console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${b} returns duplicated headers.`, "You can solve the issue by sorting the options with the output of `groupBy`."), t = !0), r.set(I, !0)), l.push({
483
+ return l.length > 0 && l[l.length - 1].group === I ? l[l.length - 1].options.push(p) : (process.env.NODE_ENV !== "production" && (r.get(I) && !t && (console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${d} returns duplicated headers.`, "You can solve the issue by sorting the options with the output of `groupBy`."), t = !0), r.set(I, !0)), l.push({
484
484
  key: c,
485
485
  index: c,
486
486
  group: I,
@@ -493,7 +493,7 @@ function st(e) {
493
493
  "aria-owns": We ? `${U}-listbox` : null,
494
494
  ...r,
495
495
  onKeyDown: ke(r),
496
- onMouseDown: Ao,
496
+ onMouseDown: Mo,
497
497
  onClick: Ye
498
498
  }),
499
499
  getInputLabelProps: () => ({
@@ -502,7 +502,7 @@ function st(e) {
502
502
  }),
503
503
  getInputProps: () => ({
504
504
  id: U,
505
- value: O,
505
+ value: P,
506
506
  onBlur: to,
507
507
  onFocus: vo,
508
508
  onChange: Re,
@@ -516,7 +516,7 @@ function st(e) {
516
516
  // Disable browser's suggestion that might overlap with the popup.
517
517
  // Handle autocomplete but not autofill.
518
518
  autoComplete: "off",
519
- ref: T,
519
+ ref: k,
520
520
  autoCapitalize: "none",
521
521
  spellCheck: "false",
522
522
  role: "combobox",
@@ -558,7 +558,7 @@ function st(e) {
558
558
  }) => {
559
559
  const l = ($ ? s : [s]).some((c) => c != null && W(t, c)), p = H ? H(t) : !1;
560
560
  return {
561
- key: (he == null ? void 0 : he(t)) ?? M(t),
561
+ key: (he == null ? void 0 : he(t)) ?? D(t),
562
562
  tabIndex: -1,
563
563
  role: "option",
564
564
  id: `${U}-option-${r}`,
@@ -571,14 +571,14 @@ function st(e) {
571
571
  };
572
572
  },
573
573
  id: U,
574
- inputValue: O,
574
+ inputValue: P,
575
575
  value: s,
576
576
  dirty: R,
577
577
  expanded: j && Ue,
578
578
  popupOpen: j,
579
579
  focused: Ie || G !== -1,
580
580
  anchorEl: Ue,
581
- setAnchorEl: Ro,
581
+ setAnchorEl: Lo,
582
582
  focusedTag: G,
583
583
  groupedOptions: ae
584
584
  };
@@ -592,12 +592,12 @@ const ct = (e) => {
592
592
  classes: n,
593
593
  color: a,
594
594
  disableGutters: i,
595
- inset: g,
596
- disableSticky: x
597
- } = e, y = {
598
- root: ["root", a !== "default" && `color${d(a)}`, !i && "gutters", g && "inset", !x && "sticky"]
595
+ inset: b,
596
+ disableSticky: h
597
+ } = e, x = {
598
+ root: ["root", a !== "default" && `color${f(a)}`, !i && "gutters", b && "inset", !h && "sticky"]
599
599
  };
600
- return fo(y, pt, n);
600
+ return fo(x, pt, n);
601
601
  }, ut = F("li", {
602
602
  name: "MuiListSubheader",
603
603
  slot: "Root",
@@ -605,7 +605,7 @@ const ct = (e) => {
605
605
  const {
606
606
  ownerState: a
607
607
  } = e;
608
- return [n.root, a.color !== "default" && n[`color${d(a.color)}`], !a.disableGutters && n.gutters, a.inset && n.inset, !a.disableSticky && n.sticky];
608
+ return [n.root, a.color !== "default" && n[`color${f(a.color)}`], !a.disableGutters && n.gutters, a.inset && n.inset, !a.disableSticky && n.sticky];
609
609
  }
610
610
  })(ee(({
611
611
  theme: e
@@ -662,24 +662,24 @@ const ct = (e) => {
662
662
  props: n,
663
663
  name: "MuiListSubheader"
664
664
  }), {
665
- className: g,
666
- color: x = "default",
667
- component: y = "li",
668
- disableGutters: v = !1,
669
- disableSticky: P = !1,
670
- inset: b = !1,
665
+ className: b,
666
+ color: h = "default",
667
+ component: x = "li",
668
+ disableGutters: y = !1,
669
+ disableSticky: O = !1,
670
+ inset: d = !1,
671
671
  ...S
672
672
  } = i, L = {
673
673
  ...i,
674
- color: x,
675
- component: y,
676
- disableGutters: v,
677
- disableSticky: P,
678
- inset: b
674
+ color: h,
675
+ component: x,
676
+ disableGutters: y,
677
+ disableSticky: O,
678
+ inset: d
679
679
  }, X = ct(L);
680
- return /* @__PURE__ */ k(ut, {
681
- as: y,
682
- className: J(X.root, g),
680
+ return /* @__PURE__ */ w(ut, {
681
+ as: x,
682
+ className: J(X.root, b),
683
683
  ref: a,
684
684
  ownerState: L,
685
685
  ...S
@@ -741,12 +741,12 @@ const ft = co("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
741
741
  classes: n,
742
742
  disabled: a,
743
743
  color: i,
744
- edge: g,
745
- size: x
746
- } = e, y = {
747
- root: ["root", a && "disabled", i !== "default" && `color${d(i)}`, g && `edge${d(g)}`, `size${d(x)}`]
744
+ edge: b,
745
+ size: h
746
+ } = e, x = {
747
+ root: ["root", a && "disabled", i !== "default" && `color${f(i)}`, b && `edge${f(b)}`, `size${f(h)}`]
748
748
  };
749
- return fo(y, dt, n);
749
+ return fo(x, dt, n);
750
750
  }, bt = F(So, {
751
751
  name: "MuiIconButton",
752
752
  slot: "Root",
@@ -754,7 +754,7 @@ const ft = co("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
754
754
  const {
755
755
  ownerState: a
756
756
  } = e;
757
- return [n.root, a.color !== "default" && n[`color${d(a.color)}`], a.edge && n[`edge${d(a.edge)}`], n[`size${d(a.size)}`]];
757
+ return [n.root, a.color !== "default" && n[`color${f(a.color)}`], a.edge && n[`edge${f(a.edge)}`], n[`size${f(a.size)}`]];
758
758
  }
759
759
  })(ee(({
760
760
  theme: e
@@ -822,14 +822,14 @@ const ft = co("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
822
822
  style: {
823
823
  color: "inherit"
824
824
  }
825
- }, ...Object.entries(e.palette).filter(De()).map(([n]) => ({
825
+ }, ...Object.entries(e.palette).filter(Me()).map(([n]) => ({
826
826
  props: {
827
827
  color: n
828
828
  },
829
829
  style: {
830
830
  color: (e.vars || e).palette[n].main
831
831
  }
832
- })), ...Object.entries(e.palette).filter(De()).map(([n]) => ({
832
+ })), ...Object.entries(e.palette).filter(Me()).map(([n]) => ({
833
833
  props: {
834
834
  color: n,
835
835
  disableRipple: !1
@@ -864,42 +864,42 @@ const ft = co("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
864
864
  backgroundColor: "transparent",
865
865
  color: (e.vars || e).palette.action.disabled
866
866
  }
867
- }))), To = /* @__PURE__ */ m.forwardRef(function(n, a) {
867
+ }))), ko = /* @__PURE__ */ m.forwardRef(function(n, a) {
868
868
  const i = uo({
869
869
  props: n,
870
870
  name: "MuiIconButton"
871
871
  }), {
872
- edge: g = !1,
873
- children: x,
874
- className: y,
875
- color: v = "default",
876
- disabled: P = !1,
877
- disableFocusRipple: b = !1,
872
+ edge: b = !1,
873
+ children: h,
874
+ className: x,
875
+ color: y = "default",
876
+ disabled: O = !1,
877
+ disableFocusRipple: d = !1,
878
878
  disableRipple: S = !1,
879
879
  size: L = "medium",
880
880
  ...X
881
881
  } = i, A = {
882
882
  ...i,
883
- edge: g,
884
- color: v,
885
- disabled: P,
886
- disableFocusRipple: b,
883
+ edge: b,
884
+ color: y,
885
+ disabled: O,
886
+ disableFocusRipple: d,
887
887
  disableRipple: S,
888
888
  size: L
889
889
  }, E = gt(A);
890
- return /* @__PURE__ */ k(bt, {
891
- className: J(E.root, y),
890
+ return /* @__PURE__ */ w(bt, {
891
+ className: J(E.root, x),
892
892
  centerRipple: !0,
893
- focusRipple: !b,
894
- disabled: P,
893
+ focusRipple: !d,
894
+ disabled: O,
895
895
  disableRipple: S,
896
896
  ref: a,
897
897
  ...X,
898
898
  ownerState: A,
899
- children: x
899
+ children: h
900
900
  });
901
901
  });
902
- process.env.NODE_ENV !== "production" && (To.propTypes = {
902
+ process.env.NODE_ENV !== "production" && (ko.propTypes = {
903
903
  // ┌────────────────────────────── Warning ──────────────────────────────┐
904
904
  // │ These PropTypes are generated from the TypeScript type definitions. │
905
905
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -961,30 +961,30 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
961
961
  */
962
962
  sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
963
963
  });
964
- const mt = Uo(/* @__PURE__ */ k("path", {
964
+ const mt = Wo(/* @__PURE__ */ w("path", {
965
965
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
966
966
  }), "Cancel");
967
967
  function ht(e) {
968
968
  return po("MuiChip", e);
969
969
  }
970
- const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), yt = (e) => {
970
+ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), yt = (e) => {
971
971
  const {
972
972
  classes: n,
973
973
  disabled: a,
974
974
  size: i,
975
- color: g,
976
- iconColor: x,
977
- onDelete: y,
978
- clickable: v,
979
- variant: P
980
- } = e, b = {
981
- root: ["root", P, a && "disabled", `size${d(i)}`, `color${d(g)}`, v && "clickable", v && `clickableColor${d(g)}`, y && "deletable", y && `deletableColor${d(g)}`, `${P}${d(g)}`],
982
- label: ["label", `label${d(i)}`],
983
- avatar: ["avatar", `avatar${d(i)}`, `avatarColor${d(g)}`],
984
- icon: ["icon", `icon${d(i)}`, `iconColor${d(x)}`],
985
- deleteIcon: ["deleteIcon", `deleteIcon${d(i)}`, `deleteIconColor${d(g)}`, `deleteIcon${d(P)}Color${d(g)}`]
975
+ color: b,
976
+ iconColor: h,
977
+ onDelete: x,
978
+ clickable: y,
979
+ variant: O
980
+ } = e, d = {
981
+ root: ["root", O, a && "disabled", `size${f(i)}`, `color${f(b)}`, y && "clickable", y && `clickableColor${f(b)}`, x && "deletable", x && `deletableColor${f(b)}`, `${O}${f(b)}`],
982
+ label: ["label", `label${f(i)}`],
983
+ avatar: ["avatar", `avatar${f(i)}`, `avatarColor${f(b)}`],
984
+ icon: ["icon", `icon${f(i)}`, `iconColor${f(h)}`],
985
+ deleteIcon: ["deleteIcon", `deleteIcon${f(i)}`, `deleteIconColor${f(b)}`, `deleteIcon${f(O)}Color${f(b)}`]
986
986
  };
987
- return fo(b, ht, n);
987
+ return fo(d, ht, n);
988
988
  }, vt = F("div", {
989
989
  name: "MuiChip",
990
990
  slot: "Root",
@@ -993,33 +993,33 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
993
993
  ownerState: a
994
994
  } = e, {
995
995
  color: i,
996
- iconColor: g,
997
- clickable: x,
998
- onDelete: y,
999
- size: v,
1000
- variant: P
996
+ iconColor: b,
997
+ clickable: h,
998
+ onDelete: x,
999
+ size: y,
1000
+ variant: O
1001
1001
  } = a;
1002
1002
  return [{
1003
- [`& .${f.avatar}`]: n.avatar
1003
+ [`& .${g.avatar}`]: n.avatar
1004
1004
  }, {
1005
- [`& .${f.avatar}`]: n[`avatar${d(v)}`]
1005
+ [`& .${g.avatar}`]: n[`avatar${f(y)}`]
1006
1006
  }, {
1007
- [`& .${f.avatar}`]: n[`avatarColor${d(i)}`]
1007
+ [`& .${g.avatar}`]: n[`avatarColor${f(i)}`]
1008
1008
  }, {
1009
- [`& .${f.icon}`]: n.icon
1009
+ [`& .${g.icon}`]: n.icon
1010
1010
  }, {
1011
- [`& .${f.icon}`]: n[`icon${d(v)}`]
1011
+ [`& .${g.icon}`]: n[`icon${f(y)}`]
1012
1012
  }, {
1013
- [`& .${f.icon}`]: n[`iconColor${d(g)}`]
1013
+ [`& .${g.icon}`]: n[`iconColor${f(b)}`]
1014
1014
  }, {
1015
- [`& .${f.deleteIcon}`]: n.deleteIcon
1015
+ [`& .${g.deleteIcon}`]: n.deleteIcon
1016
1016
  }, {
1017
- [`& .${f.deleteIcon}`]: n[`deleteIcon${d(v)}`]
1017
+ [`& .${g.deleteIcon}`]: n[`deleteIcon${f(y)}`]
1018
1018
  }, {
1019
- [`& .${f.deleteIcon}`]: n[`deleteIconColor${d(i)}`]
1019
+ [`& .${g.deleteIcon}`]: n[`deleteIconColor${f(i)}`]
1020
1020
  }, {
1021
- [`& .${f.deleteIcon}`]: n[`deleteIcon${d(P)}Color${d(i)}`]
1022
- }, n.root, n[`size${d(v)}`], n[`color${d(i)}`], x && n.clickable, x && i !== "default" && n[`clickableColor${d(i)})`], y && n.deletable, y && i !== "default" && n[`deletableColor${d(i)}`], n[P], n[`${P}${d(i)}`]];
1021
+ [`& .${g.deleteIcon}`]: n[`deleteIcon${f(O)}Color${f(i)}`]
1022
+ }, n.root, n[`size${f(y)}`], n[`color${f(i)}`], h && n.clickable, h && i !== "default" && n[`clickableColor${f(i)})`], x && n.deletable, x && i !== "default" && n[`deletableColor${f(i)}`], n[O], n[`${O}${f(i)}`]];
1023
1023
  }
1024
1024
  })(ee(({
1025
1025
  theme: e
@@ -1049,11 +1049,11 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1049
1049
  // Remove `button` padding
1050
1050
  verticalAlign: "middle",
1051
1051
  boxSizing: "border-box",
1052
- [`&.${f.disabled}`]: {
1052
+ [`&.${g.disabled}`]: {
1053
1053
  opacity: (e.vars || e).palette.action.disabledOpacity,
1054
1054
  pointerEvents: "none"
1055
1055
  },
1056
- [`& .${f.avatar}`]: {
1056
+ [`& .${g.avatar}`]: {
1057
1057
  marginLeft: 5,
1058
1058
  marginRight: -6,
1059
1059
  width: 24,
@@ -1061,26 +1061,26 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1061
1061
  color: e.vars ? e.vars.palette.Chip.defaultAvatarColor : n,
1062
1062
  fontSize: e.typography.pxToRem(12)
1063
1063
  },
1064
- [`& .${f.avatarColorPrimary}`]: {
1064
+ [`& .${g.avatarColorPrimary}`]: {
1065
1065
  color: (e.vars || e).palette.primary.contrastText,
1066
1066
  backgroundColor: (e.vars || e).palette.primary.dark
1067
1067
  },
1068
- [`& .${f.avatarColorSecondary}`]: {
1068
+ [`& .${g.avatarColorSecondary}`]: {
1069
1069
  color: (e.vars || e).palette.secondary.contrastText,
1070
1070
  backgroundColor: (e.vars || e).palette.secondary.dark
1071
1071
  },
1072
- [`& .${f.avatarSmall}`]: {
1072
+ [`& .${g.avatarSmall}`]: {
1073
1073
  marginLeft: 4,
1074
1074
  marginRight: -4,
1075
1075
  width: 18,
1076
1076
  height: 18,
1077
1077
  fontSize: e.typography.pxToRem(10)
1078
1078
  },
1079
- [`& .${f.icon}`]: {
1079
+ [`& .${g.icon}`]: {
1080
1080
  marginLeft: 5,
1081
1081
  marginRight: -6
1082
1082
  },
1083
- [`& .${f.deleteIcon}`]: {
1083
+ [`& .${g.deleteIcon}`]: {
1084
1084
  WebkitTapHighlightColor: "transparent",
1085
1085
  color: e.vars ? `rgba(${e.vars.palette.text.primaryChannel} / 0.26)` : V(e.palette.text.primary, 0.26),
1086
1086
  fontSize: 22,
@@ -1096,25 +1096,25 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1096
1096
  },
1097
1097
  style: {
1098
1098
  height: 24,
1099
- [`& .${f.icon}`]: {
1099
+ [`& .${g.icon}`]: {
1100
1100
  fontSize: 18,
1101
1101
  marginLeft: 4,
1102
1102
  marginRight: -4
1103
1103
  },
1104
- [`& .${f.deleteIcon}`]: {
1104
+ [`& .${g.deleteIcon}`]: {
1105
1105
  fontSize: 16,
1106
1106
  marginRight: 4,
1107
1107
  marginLeft: -4
1108
1108
  }
1109
1109
  }
1110
- }, ...Object.entries(e.palette).filter(De(["contrastText"])).map(([a]) => ({
1110
+ }, ...Object.entries(e.palette).filter(Me(["contrastText"])).map(([a]) => ({
1111
1111
  props: {
1112
1112
  color: a
1113
1113
  },
1114
1114
  style: {
1115
1115
  backgroundColor: (e.vars || e).palette[a].main,
1116
1116
  color: (e.vars || e).palette[a].contrastText,
1117
- [`& .${f.deleteIcon}`]: {
1117
+ [`& .${g.deleteIcon}`]: {
1118
1118
  color: e.vars ? `rgba(${e.vars.palette[a].contrastTextChannel} / 0.7)` : V(e.palette[a].contrastText, 0.7),
1119
1119
  "&:hover, &:active": {
1120
1120
  color: (e.vars || e).palette[a].contrastText
@@ -1124,14 +1124,14 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1124
1124
  })), {
1125
1125
  props: (a) => a.iconColor === a.color,
1126
1126
  style: {
1127
- [`& .${f.icon}`]: {
1127
+ [`& .${g.icon}`]: {
1128
1128
  color: e.vars ? e.vars.palette.Chip.defaultIconColor : n
1129
1129
  }
1130
1130
  }
1131
1131
  }, {
1132
1132
  props: (a) => a.iconColor === a.color && a.color !== "default",
1133
1133
  style: {
1134
- [`& .${f.icon}`]: {
1134
+ [`& .${g.icon}`]: {
1135
1135
  color: "inherit"
1136
1136
  }
1137
1137
  }
@@ -1140,17 +1140,17 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1140
1140
  onDelete: !0
1141
1141
  },
1142
1142
  style: {
1143
- [`&.${f.focusVisible}`]: {
1143
+ [`&.${g.focusVisible}`]: {
1144
1144
  backgroundColor: e.vars ? `rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : V(e.palette.action.selected, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
1145
1145
  }
1146
1146
  }
1147
- }, ...Object.entries(e.palette).filter(De(["dark"])).map(([a]) => ({
1147
+ }, ...Object.entries(e.palette).filter(Me(["dark"])).map(([a]) => ({
1148
1148
  props: {
1149
1149
  color: a,
1150
1150
  onDelete: !0
1151
1151
  },
1152
1152
  style: {
1153
- [`&.${f.focusVisible}`]: {
1153
+ [`&.${g.focusVisible}`]: {
1154
1154
  background: (e.vars || e).palette[a].dark
1155
1155
  }
1156
1156
  }
@@ -1165,20 +1165,20 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1165
1165
  "&:hover": {
1166
1166
  backgroundColor: e.vars ? `rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : V(e.palette.action.selected, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity)
1167
1167
  },
1168
- [`&.${f.focusVisible}`]: {
1168
+ [`&.${g.focusVisible}`]: {
1169
1169
  backgroundColor: e.vars ? `rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : V(e.palette.action.selected, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
1170
1170
  },
1171
1171
  "&:active": {
1172
1172
  boxShadow: (e.vars || e).shadows[1]
1173
1173
  }
1174
1174
  }
1175
- }, ...Object.entries(e.palette).filter(De(["dark"])).map(([a]) => ({
1175
+ }, ...Object.entries(e.palette).filter(Me(["dark"])).map(([a]) => ({
1176
1176
  props: {
1177
1177
  color: a,
1178
1178
  clickable: !0
1179
1179
  },
1180
1180
  style: {
1181
- [`&:hover, &.${f.focusVisible}`]: {
1181
+ [`&:hover, &.${g.focusVisible}`]: {
1182
1182
  backgroundColor: (e.vars || e).palette[a].dark
1183
1183
  }
1184
1184
  }
@@ -1189,32 +1189,32 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1189
1189
  style: {
1190
1190
  backgroundColor: "transparent",
1191
1191
  border: e.vars ? `1px solid ${e.vars.palette.Chip.defaultBorder}` : `1px solid ${e.palette.mode === "light" ? e.palette.grey[400] : e.palette.grey[700]}`,
1192
- [`&.${f.clickable}:hover`]: {
1192
+ [`&.${g.clickable}:hover`]: {
1193
1193
  backgroundColor: (e.vars || e).palette.action.hover
1194
1194
  },
1195
- [`&.${f.focusVisible}`]: {
1195
+ [`&.${g.focusVisible}`]: {
1196
1196
  backgroundColor: (e.vars || e).palette.action.focus
1197
1197
  },
1198
- [`& .${f.avatar}`]: {
1198
+ [`& .${g.avatar}`]: {
1199
1199
  marginLeft: 4
1200
1200
  },
1201
- [`& .${f.avatarSmall}`]: {
1201
+ [`& .${g.avatarSmall}`]: {
1202
1202
  marginLeft: 2
1203
1203
  },
1204
- [`& .${f.icon}`]: {
1204
+ [`& .${g.icon}`]: {
1205
1205
  marginLeft: 4
1206
1206
  },
1207
- [`& .${f.iconSmall}`]: {
1207
+ [`& .${g.iconSmall}`]: {
1208
1208
  marginLeft: 2
1209
1209
  },
1210
- [`& .${f.deleteIcon}`]: {
1210
+ [`& .${g.deleteIcon}`]: {
1211
1211
  marginRight: 5
1212
1212
  },
1213
- [`& .${f.deleteIconSmall}`]: {
1213
+ [`& .${g.deleteIconSmall}`]: {
1214
1214
  marginRight: 3
1215
1215
  }
1216
1216
  }
1217
- }, ...Object.entries(e.palette).filter(De()).map(([a]) => ({
1217
+ }, ...Object.entries(e.palette).filter(Me()).map(([a]) => ({
1218
1218
  props: {
1219
1219
  variant: "outlined",
1220
1220
  color: a
@@ -1222,13 +1222,13 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1222
1222
  style: {
1223
1223
  color: (e.vars || e).palette[a].main,
1224
1224
  border: `1px solid ${e.vars ? `rgba(${e.vars.palette[a].mainChannel} / 0.7)` : V(e.palette[a].main, 0.7)}`,
1225
- [`&.${f.clickable}:hover`]: {
1225
+ [`&.${g.clickable}:hover`]: {
1226
1226
  backgroundColor: e.vars ? `rgba(${e.vars.palette[a].mainChannel} / ${e.vars.palette.action.hoverOpacity})` : V(e.palette[a].main, e.palette.action.hoverOpacity)
1227
1227
  },
1228
- [`&.${f.focusVisible}`]: {
1228
+ [`&.${g.focusVisible}`]: {
1229
1229
  backgroundColor: e.vars ? `rgba(${e.vars.palette[a].mainChannel} / ${e.vars.palette.action.focusOpacity})` : V(e.palette[a].main, e.palette.action.focusOpacity)
1230
1230
  },
1231
- [`& .${f.deleteIcon}`]: {
1231
+ [`& .${g.deleteIcon}`]: {
1232
1232
  color: e.vars ? `rgba(${e.vars.palette[a].mainChannel} / 0.7)` : V(e.palette[a].main, 0.7),
1233
1233
  "&:hover, &:active": {
1234
1234
  color: (e.vars || e).palette[a].main
@@ -1246,7 +1246,7 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1246
1246
  } = e, {
1247
1247
  size: i
1248
1248
  } = a;
1249
- return [n.label, n[`label${d(i)}`]];
1249
+ return [n.label, n[`label${f(i)}`]];
1250
1250
  }
1251
1251
  })({
1252
1252
  overflow: "hidden",
@@ -1281,20 +1281,20 @@ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1281
1281
  }
1282
1282
  }]
1283
1283
  });
1284
- function Vo(e) {
1284
+ function jo(e) {
1285
1285
  return e.key === "Backspace" || e.key === "Delete";
1286
1286
  }
1287
- const Ko = /* @__PURE__ */ m.forwardRef(function(n, a) {
1287
+ const _o = /* @__PURE__ */ m.forwardRef(function(n, a) {
1288
1288
  const i = uo({
1289
1289
  props: n,
1290
1290
  name: "MuiChip"
1291
1291
  }), {
1292
- avatar: g,
1293
- className: x,
1294
- clickable: y,
1295
- color: v = "default",
1296
- component: P,
1297
- deleteIcon: b,
1292
+ avatar: b,
1293
+ className: h,
1294
+ clickable: x,
1295
+ color: y = "default",
1296
+ component: O,
1297
+ deleteIcon: d,
1298
1298
  disabled: S = !1,
1299
1299
  icon: L,
1300
1300
  label: X,
@@ -1308,47 +1308,47 @@ const Ko = /* @__PURE__ */ m.forwardRef(function(n, a) {
1308
1308
  skipFocusWhenDisabled: he = !1,
1309
1309
  // TODO v6: Rename to `focusableWhenDisabled`.
1310
1310
  ...Ee
1311
- } = i, oe = m.useRef(null), ze = et(oe, a), Ve = (D) => {
1312
- D.stopPropagation(), E && E(D);
1313
- }, de = (D) => {
1314
- D.currentTarget === D.target && Vo(D) && D.preventDefault(), ue && ue(D);
1315
- }, ye = (D) => {
1316
- D.currentTarget === D.target && E && Vo(D) && E(D), Ne && Ne(D);
1317
- }, W = y !== !1 && A ? !0 : y, $ = W || E ? So : P || "div", fe = {
1311
+ } = i, oe = m.useRef(null), ze = et(oe, a), Ve = (M) => {
1312
+ M.stopPropagation(), E && E(M);
1313
+ }, de = (M) => {
1314
+ M.currentTarget === M.target && jo(M) && M.preventDefault(), ue && ue(M);
1315
+ }, ye = (M) => {
1316
+ M.currentTarget === M.target && E && jo(M) && E(M), Ne && Ne(M);
1317
+ }, W = x !== !1 && A ? !0 : x, $ = W || E ? So : O || "div", fe = {
1318
1318
  ...i,
1319
1319
  component: $,
1320
1320
  disabled: S,
1321
1321
  size: me,
1322
- color: v,
1323
- iconColor: /* @__PURE__ */ m.isValidElement(L) && L.props.color || v,
1322
+ color: y,
1323
+ iconColor: /* @__PURE__ */ m.isValidElement(L) && L.props.color || y,
1324
1324
  onDelete: !!E,
1325
1325
  clickable: W,
1326
1326
  variant: le
1327
1327
  }, _ = yt(fe), ve = $ === So ? {
1328
- component: P || "div",
1328
+ component: O || "div",
1329
1329
  focusVisibleClassName: _.focusVisible,
1330
1330
  ...E && {
1331
1331
  disableRipple: !0
1332
1332
  }
1333
1333
  } : {};
1334
1334
  let q = null;
1335
- E && (q = b && /* @__PURE__ */ m.isValidElement(b) ? /* @__PURE__ */ m.cloneElement(b, {
1336
- className: J(b.props.className, _.deleteIcon),
1335
+ E && (q = d && /* @__PURE__ */ m.isValidElement(d) ? /* @__PURE__ */ m.cloneElement(d, {
1336
+ className: J(d.props.className, _.deleteIcon),
1337
1337
  onClick: Ve
1338
- }) : /* @__PURE__ */ k(mt, {
1338
+ }) : /* @__PURE__ */ w(mt, {
1339
1339
  className: J(_.deleteIcon),
1340
1340
  onClick: Ve
1341
1341
  }));
1342
1342
  let ie = null;
1343
- g && /* @__PURE__ */ m.isValidElement(g) && (ie = /* @__PURE__ */ m.cloneElement(g, {
1344
- className: J(_.avatar, g.props.className)
1343
+ b && /* @__PURE__ */ m.isValidElement(b) && (ie = /* @__PURE__ */ m.cloneElement(b, {
1344
+ className: J(_.avatar, b.props.className)
1345
1345
  }));
1346
1346
  let xe = null;
1347
1347
  return L && /* @__PURE__ */ m.isValidElement(L) && (xe = /* @__PURE__ */ m.cloneElement(L, {
1348
1348
  className: J(_.icon, L.props.className)
1349
- })), process.env.NODE_ENV !== "production" && ie && xe && console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."), /* @__PURE__ */ Me(vt, {
1349
+ })), process.env.NODE_ENV !== "production" && ie && xe && console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."), /* @__PURE__ */ De(vt, {
1350
1350
  as: $,
1351
- className: J(_.root, x),
1351
+ className: J(_.root, h),
1352
1352
  disabled: W && S ? !0 : void 0,
1353
1353
  onClick: A,
1354
1354
  onKeyDown: de,
@@ -1358,14 +1358,14 @@ const Ko = /* @__PURE__ */ m.forwardRef(function(n, a) {
1358
1358
  ownerState: fe,
1359
1359
  ...ve,
1360
1360
  ...Ee,
1361
- children: [ie || xe, /* @__PURE__ */ k(xt, {
1361
+ children: [ie || xe, /* @__PURE__ */ w(xt, {
1362
1362
  className: J(_.label),
1363
1363
  ownerState: fe,
1364
1364
  children: X
1365
1365
  }), q]
1366
1366
  });
1367
1367
  });
1368
- process.env.NODE_ENV !== "production" && (Ko.propTypes = {
1368
+ process.env.NODE_ENV !== "production" && (_o.propTypes = {
1369
1369
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1370
1370
  // │ These PropTypes are generated from the TypeScript type definitions. │
1371
1371
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1467,34 +1467,34 @@ process.env.NODE_ENV !== "production" && (Ko.propTypes = {
1467
1467
  */
1468
1468
  variant: o.oneOfType([o.oneOf(["filled", "outlined"]), o.string])
1469
1469
  });
1470
- const $t = Uo(/* @__PURE__ */ k("path", {
1470
+ const $t = Wo(/* @__PURE__ */ w("path", {
1471
1471
  d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
1472
1472
  }), "Close");
1473
1473
  function Ct(e) {
1474
1474
  return po("MuiAutocomplete", e);
1475
1475
  }
1476
1476
  const u = co("MuiAutocomplete", ["root", "expanded", "fullWidth", "focused", "focusVisible", "tag", "tagSizeSmall", "tagSizeMedium", "hasPopupIcon", "hasClearIcon", "inputRoot", "input", "inputFocused", "endAdornment", "clearIndicator", "popupIndicator", "popupIndicatorOpen", "popper", "popperDisablePortal", "paper", "listbox", "loading", "noOptions", "option", "groupLabel", "groupUl"]);
1477
- var Fo, jo;
1477
+ var Bo, Uo;
1478
1478
  const It = (e) => {
1479
1479
  const {
1480
1480
  classes: n,
1481
1481
  disablePortal: a,
1482
1482
  expanded: i,
1483
- focused: g,
1484
- fullWidth: x,
1485
- hasClearIcon: y,
1486
- hasPopupIcon: v,
1487
- inputFocused: P,
1488
- popupOpen: b,
1483
+ focused: b,
1484
+ fullWidth: h,
1485
+ hasClearIcon: x,
1486
+ hasPopupIcon: y,
1487
+ inputFocused: O,
1488
+ popupOpen: d,
1489
1489
  size: S
1490
1490
  } = e, L = {
1491
- root: ["root", i && "expanded", g && "focused", x && "fullWidth", y && "hasClearIcon", v && "hasPopupIcon"],
1491
+ root: ["root", i && "expanded", b && "focused", h && "fullWidth", x && "hasClearIcon", y && "hasPopupIcon"],
1492
1492
  inputRoot: ["inputRoot"],
1493
- input: ["input", P && "inputFocused"],
1494
- tag: ["tag", `tagSize${d(S)}`],
1493
+ input: ["input", O && "inputFocused"],
1494
+ tag: ["tag", `tagSize${f(S)}`],
1495
1495
  endAdornment: ["endAdornment"],
1496
1496
  clearIndicator: ["clearIndicator"],
1497
- popupIndicator: ["popupIndicator", b && "popupIndicatorOpen"],
1497
+ popupIndicator: ["popupIndicator", d && "popupIndicatorOpen"],
1498
1498
  popper: ["popper", a && "popperDisablePortal"],
1499
1499
  paper: ["paper"],
1500
1500
  listbox: ["listbox"],
@@ -1513,22 +1513,22 @@ const It = (e) => {
1513
1513
  ownerState: a
1514
1514
  } = e, {
1515
1515
  fullWidth: i,
1516
- hasClearIcon: g,
1517
- hasPopupIcon: x,
1518
- inputFocused: y,
1519
- size: v
1516
+ hasClearIcon: b,
1517
+ hasPopupIcon: h,
1518
+ inputFocused: x,
1519
+ size: y
1520
1520
  } = a;
1521
1521
  return [{
1522
1522
  [`& .${u.tag}`]: n.tag
1523
1523
  }, {
1524
- [`& .${u.tag}`]: n[`tagSize${d(v)}`]
1524
+ [`& .${u.tag}`]: n[`tagSize${f(y)}`]
1525
1525
  }, {
1526
1526
  [`& .${u.inputRoot}`]: n.inputRoot
1527
1527
  }, {
1528
1528
  [`& .${u.input}`]: n.input
1529
1529
  }, {
1530
- [`& .${u.input}`]: y && n.inputFocused
1531
- }, n.root, i && n.fullWidth, x && n.hasPopupIcon, g && n.hasClearIcon];
1530
+ [`& .${u.input}`]: x && n.inputFocused
1531
+ }, n.root, i && n.fullWidth, h && n.hasPopupIcon, b && n.hasClearIcon];
1532
1532
  }
1533
1533
  })({
1534
1534
  [`&.${u.focused} .${u.clearIndicator}`]: {
@@ -1567,7 +1567,7 @@ const It = (e) => {
1567
1567
  padding: "2px 4px 3px 0"
1568
1568
  }
1569
1569
  },
1570
- [`& .${No.root}`]: {
1570
+ [`& .${Eo.root}`]: {
1571
1571
  padding: 9,
1572
1572
  [`.${u.hasPopupIcon}&, .${u.hasClearIcon}&`]: {
1573
1573
  paddingRight: 39
@@ -1582,7 +1582,7 @@ const It = (e) => {
1582
1582
  right: 9
1583
1583
  }
1584
1584
  },
1585
- [`& .${No.root}.${be.sizeSmall}`]: {
1585
+ [`& .${Eo.root}.${be.sizeSmall}`]: {
1586
1586
  // Don't specify paddingRight, as it overrides the default value set when there is only
1587
1587
  // one of the popup or clear icon as the specificity is equal so the latter one wins
1588
1588
  paddingTop: 6,
@@ -1682,7 +1682,7 @@ const It = (e) => {
1682
1682
  right: 0,
1683
1683
  top: "50%",
1684
1684
  transform: "translate(0, -50%)"
1685
- }), St = F(To, {
1685
+ }), St = F(ko, {
1686
1686
  name: "MuiAutocomplete",
1687
1687
  slot: "ClearIndicator",
1688
1688
  overridesResolver: (e, n) => n.clearIndicator
@@ -1690,7 +1690,7 @@ const It = (e) => {
1690
1690
  marginRight: -2,
1691
1691
  padding: 4,
1692
1692
  visibility: "hidden"
1693
- }), wt = F(To, {
1693
+ }), wt = F(ko, {
1694
1694
  name: "MuiAutocomplete",
1695
1695
  slot: "PopupIndicator",
1696
1696
  overridesResolver: ({
@@ -1710,7 +1710,7 @@ const It = (e) => {
1710
1710
  transform: "rotate(180deg)"
1711
1711
  }
1712
1712
  }]
1713
- }), Tt = F(Ho, {
1713
+ }), Tt = F(Ko, {
1714
1714
  name: "MuiAutocomplete",
1715
1715
  slot: "Popper",
1716
1716
  overridesResolver: (e, n) => {
@@ -1733,7 +1733,7 @@ const It = (e) => {
1733
1733
  position: "absolute"
1734
1734
  }
1735
1735
  }]
1736
- }))), kt = F(Wo, {
1736
+ }))), kt = F(Go, {
1737
1737
  name: "MuiAutocomplete",
1738
1738
  slot: "Paper",
1739
1739
  overridesResolver: (e, n) => n.paper
@@ -1818,7 +1818,7 @@ const It = (e) => {
1818
1818
  }
1819
1819
  }
1820
1820
  }
1821
- }))), Dt = F(so, {
1821
+ }))), Mt = F(so, {
1822
1822
  name: "MuiAutocomplete",
1823
1823
  slot: "GroupLabel",
1824
1824
  overridesResolver: (e, n) => n.groupLabel
@@ -1827,7 +1827,7 @@ const It = (e) => {
1827
1827
  }) => ({
1828
1828
  backgroundColor: (e.vars || e).palette.background.paper,
1829
1829
  top: -8
1830
- }))), Mt = F("ul", {
1830
+ }))), Dt = F("ul", {
1831
1831
  name: "MuiAutocomplete",
1832
1832
  slot: "GroupUl",
1833
1833
  overridesResolver: (e, n) => n.groupUl
@@ -1836,18 +1836,18 @@ const It = (e) => {
1836
1836
  [`& .${u.option}`]: {
1837
1837
  paddingLeft: 24
1838
1838
  }
1839
- }), Go = /* @__PURE__ */ m.forwardRef(function(n, a) {
1839
+ }), To = /* @__PURE__ */ m.forwardRef(function(n, a) {
1840
1840
  const i = uo({
1841
1841
  props: n,
1842
1842
  name: "MuiAutocomplete"
1843
1843
  }), {
1844
- autoComplete: g = !1,
1845
- autoHighlight: x = !1,
1846
- autoSelect: y = !1,
1847
- blurOnSelect: v = !1,
1848
- ChipProps: P,
1849
- className: b,
1850
- clearIcon: S = Fo || (Fo = /* @__PURE__ */ k($t, {
1844
+ autoComplete: b = !1,
1845
+ autoHighlight: h = !1,
1846
+ autoSelect: x = !1,
1847
+ blurOnSelect: y = !1,
1848
+ ChipProps: O,
1849
+ className: d,
1850
+ clearIcon: S = Bo || (Bo = /* @__PURE__ */ w($t, {
1851
1851
  fontSize: "small"
1852
1852
  })),
1853
1853
  clearOnBlur: L = !i.freeSolo,
@@ -1867,35 +1867,35 @@ const It = (e) => {
1867
1867
  forcePopupIcon: de = "auto",
1868
1868
  freeSolo: ye = !1,
1869
1869
  fullWidth: W = !1,
1870
- getLimitTagsText: $ = (h) => `+${h}`,
1870
+ getLimitTagsText: $ = (v) => `+${v}`,
1871
1871
  getOptionDisabled: fe,
1872
1872
  getOptionKey: _,
1873
1873
  getOptionLabel: ve,
1874
1874
  isOptionEqualToValue: q,
1875
1875
  groupBy: ie,
1876
1876
  handleHomeEndKeys: xe = !i.freeSolo,
1877
- id: D,
1878
- includeInputInList: ko = !1,
1877
+ id: M,
1878
+ includeInputInList: Ro = !1,
1879
1879
  inputValue: $e,
1880
1880
  limitTags: Fe = -1,
1881
1881
  ListboxComponent: go,
1882
1882
  ListboxProps: U,
1883
- loading: M = !1,
1883
+ loading: D = !1,
1884
1884
  loadingText: je = "Loading…",
1885
1885
  multiple: Be = !1,
1886
- noOptionsText: T = "No options",
1886
+ noOptionsText: k = "No options",
1887
1887
  onChange: K,
1888
1888
  onClose: Ue,
1889
- onHighlightChange: Ro,
1889
+ onHighlightChange: Lo,
1890
1890
  onInputChange: G,
1891
1891
  onOpen: Xe,
1892
1892
  open: bo,
1893
1893
  openOnFocus: z = !1,
1894
1894
  openText: s = "Open",
1895
- options: Lo,
1896
- PaperComponent: O,
1895
+ options: Ao,
1896
+ PaperComponent: P,
1897
1897
  PopperComponent: Ce,
1898
- popupIcon: Ie = jo || (jo = /* @__PURE__ */ k(Jo, {})),
1898
+ popupIcon: Ie = Uo || (Uo = /* @__PURE__ */ w(Xo, {})),
1899
1899
  readOnly: He = !1,
1900
1900
  renderGroup: Oe,
1901
1901
  renderInput: se,
@@ -1904,7 +1904,7 @@ const It = (e) => {
1904
1904
  selectOnFocus: mo = !i.freeSolo,
1905
1905
  size: Pe = "medium",
1906
1906
  slots: j = {},
1907
- slotProps: w = {},
1907
+ slotProps: T = {},
1908
1908
  value: Q,
1909
1909
  ...We
1910
1910
  } = i, {
@@ -1935,7 +1935,7 @@ const It = (e) => {
1935
1935
  } = eo(), {
1936
1936
  ref: $o,
1937
1937
  ...no
1938
- } = yo(), Ye = ve || ((h) => h.label ?? h), N = {
1938
+ } = yo(), Ye = ve || ((v) => v.label ?? v), N = {
1939
1939
  ...i,
1940
1940
  disablePortal: oe,
1941
1941
  expanded: we,
@@ -1950,15 +1950,15 @@ const It = (e) => {
1950
1950
  }, R = It(N), ae = {
1951
1951
  slots: {
1952
1952
  listbox: go,
1953
- paper: O,
1953
+ paper: P,
1954
1954
  popper: Ce,
1955
1955
  ...j
1956
1956
  },
1957
1957
  slotProps: {
1958
- chip: P,
1958
+ chip: O,
1959
1959
  listbox: U,
1960
1960
  ...ue,
1961
- ...w
1961
+ ...T
1962
1962
  }
1963
1963
  }, [r, t] = Oo("listbox", {
1964
1964
  elementType: "ul",
@@ -1968,12 +1968,12 @@ const It = (e) => {
1968
1968
  additionalProps: no,
1969
1969
  ref: $o
1970
1970
  }), [l, p] = Oo("paper", {
1971
- elementType: Wo,
1971
+ elementType: Go,
1972
1972
  externalForwardedProps: ae,
1973
1973
  ownerState: N,
1974
1974
  className: R.paper
1975
1975
  }), [c, I] = Oo("popper", {
1976
- elementType: Ho,
1976
+ elementType: Ko,
1977
1977
  externalForwardedProps: ae,
1978
1978
  ownerState: N,
1979
1979
  className: R.popper,
@@ -1989,100 +1989,100 @@ const It = (e) => {
1989
1989
  });
1990
1990
  let C;
1991
1991
  if (Be && re.length > 0) {
1992
- const h = (Z) => ({
1992
+ const v = (Z) => ({
1993
1993
  className: R.tag,
1994
1994
  disabled: H,
1995
1995
  ...Ke(Z)
1996
1996
  });
1997
- Ze ? C = Ze(re, h, N) : C = re.map((Z, ce) => {
1997
+ Ze ? C = Ze(re, v, N) : C = re.map((Z, ce) => {
1998
1998
  const {
1999
1999
  key: Je,
2000
- ...qo
2001
- } = h({
2000
+ ...Yo
2001
+ } = v({
2002
2002
  index: ce
2003
2003
  });
2004
- return /* @__PURE__ */ k(Ko, {
2004
+ return /* @__PURE__ */ w(_o, {
2005
2005
  label: Ye(Z),
2006
2006
  size: Pe,
2007
- ...qo,
2007
+ ...Yo,
2008
2008
  ...ae.slotProps.chip
2009
2009
  }, Je);
2010
2010
  });
2011
2011
  }
2012
2012
  if (Fe > -1 && Array.isArray(C)) {
2013
- const h = C.length - Fe;
2014
- !Ge && h > 0 && (C = C.splice(0, Fe), C.push(/* @__PURE__ */ k("span", {
2013
+ const v = C.length - Fe;
2014
+ !Ge && v > 0 && (C = C.splice(0, Fe), C.push(/* @__PURE__ */ w("span", {
2015
2015
  className: R.tag,
2016
- children: $(h)
2016
+ children: $(v)
2017
2017
  }, C.length)));
2018
2018
  }
2019
- const Le = Oe || ((h) => /* @__PURE__ */ Me("li", {
2020
- children: [/* @__PURE__ */ k(Dt, {
2019
+ const Le = Oe || ((v) => /* @__PURE__ */ De("li", {
2020
+ children: [/* @__PURE__ */ w(Mt, {
2021
2021
  className: R.groupLabel,
2022
2022
  ownerState: N,
2023
2023
  component: "div",
2024
- children: h.group
2025
- }), /* @__PURE__ */ k(Mt, {
2024
+ children: v.group
2025
+ }), /* @__PURE__ */ w(Dt, {
2026
2026
  className: R.groupUl,
2027
2027
  ownerState: N,
2028
- children: h.children
2028
+ children: v.children
2029
2029
  })]
2030
- }, h.key)), _o = Qe || ((h, Z) => {
2030
+ }, v.key)), qo = Qe || ((v, Z) => {
2031
2031
  const {
2032
2032
  key: ce,
2033
2033
  ...Je
2034
- } = h;
2035
- return /* @__PURE__ */ k("li", {
2034
+ } = v;
2035
+ return /* @__PURE__ */ w("li", {
2036
2036
  ...Je,
2037
2037
  children: Ye(Z)
2038
2038
  }, ce);
2039
- }), Do = (h, Z) => {
2039
+ }), Do = (v, Z) => {
2040
2040
  const ce = ne({
2041
- option: h,
2041
+ option: v,
2042
2042
  index: Z
2043
2043
  });
2044
- return _o({
2044
+ return qo({
2045
2045
  ...ce,
2046
2046
  className: R.option
2047
- }, h, {
2047
+ }, v, {
2048
2048
  selected: ce["aria-selected"],
2049
2049
  index: Z,
2050
2050
  inputValue: to
2051
2051
  }, N);
2052
- }, ro = ae.slotProps.clearIndicator, ao = ae.slotProps.popupIndicator, Co = (h) => /* @__PURE__ */ k(Tt, {
2052
+ }, ro = ae.slotProps.clearIndicator, ao = ae.slotProps.popupIndicator, Co = (v) => /* @__PURE__ */ w(Tt, {
2053
2053
  as: c,
2054
2054
  ...I,
2055
- children: /* @__PURE__ */ k(kt, {
2055
+ children: /* @__PURE__ */ w(kt, {
2056
2056
  as: l,
2057
2057
  ...p,
2058
- children: h
2058
+ children: v
2059
2059
  })
2060
2060
  });
2061
2061
  let lo = null;
2062
- return Re.length > 0 ? lo = Co(/* @__PURE__ */ k(At, {
2062
+ return Re.length > 0 ? lo = Co(/* @__PURE__ */ w(At, {
2063
2063
  as: r,
2064
2064
  ...t,
2065
- children: Re.map((h, Z) => ie ? Le({
2066
- key: h.key,
2067
- group: h.group,
2068
- children: h.options.map((ce, Je) => Do(ce, h.index + Je))
2069
- }) : Do(h, Z))
2070
- })) : M && Re.length === 0 ? lo = Co(/* @__PURE__ */ k(Rt, {
2065
+ children: Re.map((v, Z) => ie ? Le({
2066
+ key: v.key,
2067
+ group: v.group,
2068
+ children: v.options.map((ce, Je) => Do(ce, v.index + Je))
2069
+ }) : Do(v, Z))
2070
+ })) : D && Re.length === 0 ? lo = Co(/* @__PURE__ */ w(Rt, {
2071
2071
  className: R.loading,
2072
2072
  ownerState: N,
2073
2073
  children: je
2074
- })) : Re.length === 0 && !ye && !M && (lo = Co(/* @__PURE__ */ k(Lt, {
2074
+ })) : Re.length === 0 && !ye && !D && (lo = Co(/* @__PURE__ */ w(Lt, {
2075
2075
  className: R.noOptions,
2076
2076
  ownerState: N,
2077
2077
  role: "presentation",
2078
- onMouseDown: (h) => {
2079
- h.preventDefault();
2078
+ onMouseDown: (v) => {
2079
+ v.preventDefault();
2080
2080
  },
2081
- children: T
2082
- }))), /* @__PURE__ */ Me(m.Fragment, {
2083
- children: [/* @__PURE__ */ k(Ot, {
2081
+ children: k
2082
+ }))), /* @__PURE__ */ De(m.Fragment, {
2083
+ children: [/* @__PURE__ */ w(Ot, {
2084
2084
  ref: a,
2085
- className: J(R.root, b),
2085
+ className: J(R.root, d),
2086
2086
  ownerState: N,
2087
2087
  ...Se(We),
2088
2088
  children: se({
@@ -2095,12 +2095,12 @@ const It = (e) => {
2095
2095
  ref: vo,
2096
2096
  className: R.inputRoot,
2097
2097
  startAdornment: C,
2098
- onMouseDown: (h) => xo(h),
2098
+ onMouseDown: (v) => xo(v),
2099
2099
  ...(_e || qe) && {
2100
- endAdornment: /* @__PURE__ */ Me(Pt, {
2100
+ endAdornment: /* @__PURE__ */ De(Pt, {
2101
2101
  className: R.endAdornment,
2102
2102
  ownerState: N,
2103
- children: [_e ? /* @__PURE__ */ k(St, {
2103
+ children: [_e ? /* @__PURE__ */ w(St, {
2104
2104
  ...ho(),
2105
2105
  "aria-label": A,
2106
2106
  title: A,
@@ -2108,7 +2108,7 @@ const It = (e) => {
2108
2108
  ...ro,
2109
2109
  className: J(R.clearIndicator, ro == null ? void 0 : ro.className),
2110
2110
  children: S
2111
- }) : null, qe ? /* @__PURE__ */ k(wt, {
2111
+ }) : null, qe ? /* @__PURE__ */ w(wt, {
2112
2112
  ...Y(),
2113
2113
  disabled: H,
2114
2114
  "aria-label": Te ? E : s,
@@ -2131,7 +2131,7 @@ const It = (e) => {
2131
2131
  }), ke ? lo : null]
2132
2132
  });
2133
2133
  });
2134
- process.env.NODE_ENV !== "production" && (Go.propTypes = {
2134
+ process.env.NODE_ENV !== "production" && (To.propTypes = {
2135
2135
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2136
2136
  // │ These PropTypes are generated from the TypeScript type definitions. │
2137
2137
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2561,8 +2561,8 @@ process.env.NODE_ENV !== "production" && (Go.propTypes = {
2561
2561
  value: wo(o.any, (e) => e.multiple && e.value !== void 0 && !Array.isArray(e.value) ? new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.", `However, ${e.value} was provided.`].join(`
2562
2562
  `)) : null)
2563
2563
  });
2564
- const Nt = ["colon"], Et = Yo("div", { shouldForwardProp: (e) => !Nt.includes(e) })(({ borderFocusColor: e, minWidth: n = "180px", multiple: a }) => ({
2565
- ...Mo`
2564
+ const Nt = ["colon"], Et = Jo("div", { shouldForwardProp: (e) => !Nt.includes(e) })(({ borderFocusColor: e, minWidth: n = "180px", multiple: a }) => ({
2565
+ ...No`
2566
2566
  display: flex;
2567
2567
  flex-wrap: nowrap;
2568
2568
  align-items: center;
@@ -2594,7 +2594,7 @@ const Nt = ["colon"], Et = Yo("div", { shouldForwardProp: (e) => !Nt.includes(e)
2594
2594
  height: 18px;
2595
2595
  padding: 0 !important;
2596
2596
 
2597
- ${a && Mo`
2597
+ ${a && No`
2598
2598
  display: flex;
2599
2599
  align-items: start;
2600
2600
  `};
@@ -2606,7 +2606,7 @@ const Nt = ["colon"], Et = Yo("div", { shouldForwardProp: (e) => !Nt.includes(e)
2606
2606
 
2607
2607
  transition: 313ms all ease-out;
2608
2608
  border-radius: 0;
2609
- border-bottom: 1px solid ${Bo.colors.gray};
2609
+ border-bottom: 1px solid ${Ho.colors.gray};
2610
2610
  width: 100%;
2611
2611
 
2612
2612
  .Mui-select {
@@ -2667,35 +2667,50 @@ const Nt = ["colon"], Et = Yo("div", { shouldForwardProp: (e) => !Nt.includes(e)
2667
2667
  colon: n = !0,
2668
2668
  options: a = [],
2669
2669
  noLabel: i = !1,
2670
- borderFocusColor: g = Bo.colors.green,
2670
+ borderFocusColor: b = Ho.colors.green,
2671
2671
  // border primary
2672
- onChange: x,
2673
- minWidth: y,
2674
- multiple: v,
2675
- ...P
2676
- }) => /* @__PURE__ */ Me(
2672
+ onChange: h,
2673
+ minWidth: x,
2674
+ multiple: y,
2675
+ ...O
2676
+ }) => /* @__PURE__ */ De(
2677
2677
  Et,
2678
2678
  {
2679
2679
  className: "jcLabeledDropdown",
2680
- borderFocusColor: g,
2681
- minWidth: y,
2682
- multiple: v,
2680
+ borderFocusColor: b,
2681
+ minWidth: x,
2682
+ multiple: y,
2683
2683
  children: [
2684
- !i && /* @__PURE__ */ Me("span", { className: "jcDropdownLabel", children: [
2684
+ !i && /* @__PURE__ */ De("span", { className: "jcDropdownLabel", children: [
2685
2685
  e,
2686
2686
  n && ":"
2687
2687
  ] }),
2688
- /* @__PURE__ */ k(
2689
- Go,
2688
+ !y && // @ts-ignore
2689
+ /* @__PURE__ */ w(
2690
+ To,
2691
+ {
2692
+ options: a,
2693
+ onChange: (d, S) => (
2694
+ // @ts-ignore
2695
+ h && h({ ...d, target: { ...d.target, value: `${S == null ? void 0 : S.value}` || "" } })
2696
+ ),
2697
+ ...O,
2698
+ renderInput: (d) => /* @__PURE__ */ w(zo, { ...d })
2699
+ }
2700
+ ),
2701
+ y && // @ts-ignore
2702
+ /* @__PURE__ */ w(
2703
+ To,
2690
2704
  {
2691
- multiple: v,
2705
+ multiple: !0,
2706
+ disableCloseOnSelect: !0,
2692
2707
  options: a,
2693
- onChange: (b, S) => (
2708
+ onChange: (d) => (
2694
2709
  // @ts-ignore
2695
- x && x({ ...b, target: { ...b.target, value: `${S == null ? void 0 : S.value}` || "" } })
2710
+ h && h({ ...d, target: { ...d.target, value: d.target.innerText || "" } })
2696
2711
  ),
2697
- ...P,
2698
- renderInput: (b) => /* @__PURE__ */ k(Xo, { ...b })
2712
+ ...O,
2713
+ renderInput: (d) => /* @__PURE__ */ w(zo, { ...d })
2699
2714
  }
2700
2715
  )
2701
2716
  ]