@hybridcore/ui 1.5.13 → 1.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/{DialogContent-CtA2aNum.js → DialogContent-B8pD_s9h.js} +1 -1
  2. package/dist/{Modal-DzZo-vlm.js → Modal-DpmJpbob.js} +206 -195
  3. package/dist/{Select-ush_fSWy.js → Select-DuyWoyoF.js} +1 -1
  4. package/dist/{TextField-BjFXx91l.js → TextField-CdKnj6de.js} +1 -1
  5. package/dist/assets/index3.css +1 -0
  6. package/dist/components/confirm/dialog.js +2 -2
  7. package/dist/components/confirm/index.js +1 -1
  8. package/dist/components/document-viewer/components/action-buttons/index.js +21 -0
  9. package/dist/components/document-viewer/components/navigation/index.js +26 -0
  10. package/dist/components/document-viewer/components/viewer/custom-renders/txt.js +5 -0
  11. package/dist/components/document-viewer/components/viewer/index.js +38 -0
  12. package/dist/components/document-viewer/data.js +4 -0
  13. package/dist/components/document-viewer/index.js +52 -0
  14. package/dist/components/document-viewer/logic.js +44 -0
  15. package/dist/components/document-viewer/styled.js +39 -0
  16. package/dist/components/document-viewer/utils.js +25 -0
  17. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  18. package/dist/components/instance-form/components/variable/index.js +7 -7
  19. package/dist/components/instance-form/components/variables/index.js +1 -1
  20. package/dist/components/property-mapping/index.js +1 -1
  21. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  22. package/dist/components/range-selector/components/date-range/index.js +1 -1
  23. package/dist/components/range-selector/index.js +1 -1
  24. package/dist/components/template-form/components/property-list/index.js +3 -3
  25. package/dist/components/template-form/components/property-list/property-list-form.js +3 -3
  26. package/dist/components/template-form/components/recognition-property-list/index.js +2 -2
  27. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +2 -2
  28. package/dist/components/template-form/index.js +2 -2
  29. package/dist/components/template-property-filters/property.js +1 -1
  30. package/dist/components/tree-select/index.js +2 -2
  31. package/dist/{dialog-BDt1r9fh.js → dialog-C7_6_FBz.js} +1 -1
  32. package/dist/empty-GlqisfcO-GlqisfcO.js +4 -0
  33. package/dist/index-4HENfCPg-CwPLzyfw.js +3350 -0
  34. package/dist/index-BepDdkdq-BilQlvph.js +42 -0
  35. package/dist/{index-CAaDu0NI.js → index-CNMnXD0q.js} +1349 -1338
  36. package/dist/{index-D-mTkx9Q.js → index-CdecY907.js} +63 -61
  37. package/dist/main.d.ts +12 -0
  38. package/dist/main.js +54 -52
  39. package/dist/{property-list-form-CLSTkOmv.js → property-list-form-DALcsCp5.js} +92 -104
  40. package/dist/txt-U0b7DL6j.js +19250 -0
  41. package/dist/url-DQYFKQ_E-BH63-AZh.js +558 -0
  42. package/package.json +2 -1
@@ -1,44 +1,44 @@
1
- import { a as b, _ as z } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
1
+ import { a as b, _ as q } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
2
  import * as a from "react";
3
3
  import { P as e } from "./createTheme-DrgvKMA_.js";
4
- import { c as q, g as ge, a as Te, u as ve } from "./useThemeProps-BlXpIqSE.js";
4
+ import { g as ve, a as Te, u as xe, c as te } from "./useThemeProps-BlXpIqSE.js";
5
5
  import { s as se } from "./styled-DkqItiLo.js";
6
- import { jsxs as xe, jsx as M } from "react/jsx-runtime";
7
- import { g as ke } from "./createTheme-DVoJnXAT.js";
8
- import { u as Be } from "./useTheme-B6oa3v5u.js";
9
- import { T as Le, r as _e, g as de } from "./utils-BRsEqTye.js";
10
- import { e as Q, a as Pe } from "./exactProp-H1i70prd.js";
11
- import { a as Y, u as ue, s as fe, b as pe } from "./ButtonBase-CgQC8DUB.js";
6
+ import { jsxs as ke, jsx as M } from "react/jsx-runtime";
7
+ import { g as Pe } from "./createTheme-DVoJnXAT.js";
8
+ import { u as _e } from "./useTheme-B6oa3v5u.js";
9
+ import { T as je, r as He, g as de } from "./utils-BRsEqTye.js";
10
+ import { e as J, a as Re } from "./exactProp-H1i70prd.js";
11
+ import { a as z, u as ue, s as fe, b as pe } from "./ButtonBase-CgQC8DUB.js";
12
12
  import { o as H } from "./ownerDocument-CUrv0DIK.js";
13
13
  import { o as ie } from "./ownerWindow-niciwP7I.js";
14
14
  import { c as me } from "./useId-BHG98T5I.js";
15
- import { i as Re } from "./isHostComponent-kiaBvYVo.js";
16
- import * as je from "react-dom";
15
+ import { i as Ne } from "./isHostComponent-kiaBvYVo.js";
16
+ import * as $e from "react-dom";
17
17
  function le(o, n, r, t, i) {
18
18
  if (process.env.NODE_ENV === "production")
19
19
  return null;
20
20
  const s = o[n], l = i || n;
21
21
  return s == null ? null : s && s.nodeType !== 1 ? new Error(`Invalid ${t} \`${l}\` supplied to \`${r}\`. Expected an HTMLElement.`) : null;
22
22
  }
23
- function He(o) {
23
+ function Ue(o) {
24
24
  const n = o.documentElement.clientWidth;
25
25
  return Math.abs(window.innerWidth - n);
26
26
  }
27
- function $e(o, n, r) {
28
- return o === void 0 || Re(o) ? n : b({}, n, {
27
+ function Ke(o, n, r) {
28
+ return o === void 0 || Ne(o) ? n : b({}, n, {
29
29
  ownerState: b({}, n.ownerState, r)
30
30
  });
31
31
  }
32
- const Ue = {
32
+ const Ve = {
33
33
  disableDefaultClasses: !1
34
- }, Ke = /* @__PURE__ */ a.createContext(Ue);
35
- function Ve(o) {
34
+ }, We = /* @__PURE__ */ a.createContext(Ve);
35
+ function qe(o) {
36
36
  const {
37
37
  disableDefaultClasses: n
38
- } = a.useContext(Ke);
38
+ } = a.useContext(We);
39
39
  return (r) => n ? "" : o(r);
40
40
  }
41
- function We(o, n = []) {
41
+ function ze(o, n = []) {
42
42
  if (o === void 0)
43
43
  return {};
44
44
  const r = {};
@@ -49,7 +49,18 @@ function We(o, n = []) {
49
49
  function re(o, n) {
50
50
  return typeof o == "function" ? o(n) : o;
51
51
  }
52
- function be(o) {
52
+ function Se(o) {
53
+ var n, r, t = "";
54
+ if (typeof o == "string" || typeof o == "number") t += o;
55
+ else if (typeof o == "object") if (Array.isArray(o)) for (n = 0; n < o.length; n++) o[n] && (r = Se(o[n])) && (t && (t += " "), t += r);
56
+ else for (n in o) o[n] && (t && (t += " "), t += n);
57
+ return t;
58
+ }
59
+ function be() {
60
+ for (var o, n, r = 0, t = ""; r < arguments.length; ) (o = arguments[r++]) && (n = Se(o)) && (t && (t += " "), t += n);
61
+ return t;
62
+ }
63
+ function he(o) {
53
64
  if (o === void 0)
54
65
  return {};
55
66
  const n = {};
@@ -57,7 +68,7 @@ function be(o) {
57
68
  n[r] = o[r];
58
69
  }), n;
59
70
  }
60
- function qe(o) {
71
+ function Ye(o) {
61
72
  const {
62
73
  getSlotProps: n,
63
74
  additionalProps: r,
@@ -66,74 +77,74 @@ function qe(o) {
66
77
  className: s
67
78
  } = o;
68
79
  if (!n) {
69
- const x = q(i == null ? void 0 : i.className, t == null ? void 0 : t.className, s, r == null ? void 0 : r.className), m = b({}, r == null ? void 0 : r.style, i == null ? void 0 : i.style, t == null ? void 0 : t.style), R = b({}, r, i, t);
80
+ const x = be(i == null ? void 0 : i.className, t == null ? void 0 : t.className, s, r == null ? void 0 : r.className), m = b({}, r == null ? void 0 : r.style, i == null ? void 0 : i.style, t == null ? void 0 : t.style), R = b({}, r, i, t);
70
81
  return x.length > 0 && (R.className = x), Object.keys(m).length > 0 && (R.style = m), {
71
82
  props: R,
72
83
  internalRef: void 0
73
84
  };
74
85
  }
75
- const l = We(b({}, i, t)), c = be(t), u = be(i), f = n(l), v = q(f == null ? void 0 : f.className, r == null ? void 0 : r.className, s, i == null ? void 0 : i.className, t == null ? void 0 : t.className), E = b({}, f == null ? void 0 : f.style, r == null ? void 0 : r.style, i == null ? void 0 : i.style, t == null ? void 0 : t.style), h = b({}, f, r, u, c);
76
- return v.length > 0 && (h.className = v), Object.keys(E).length > 0 && (h.style = E), {
86
+ const l = ze(b({}, i, t)), c = he(t), u = he(i), f = n(l), T = be(f == null ? void 0 : f.className, r == null ? void 0 : r.className, s, i == null ? void 0 : i.className, t == null ? void 0 : t.className), y = b({}, f == null ? void 0 : f.style, r == null ? void 0 : r.style, i == null ? void 0 : i.style, t == null ? void 0 : t.style), h = b({}, f, r, u, c);
87
+ return T.length > 0 && (h.className = T), Object.keys(y).length > 0 && (h.style = y), {
77
88
  props: h,
78
89
  internalRef: f.ref
79
90
  };
80
91
  }
81
- const ze = ["elementType", "externalSlotProps", "ownerState"];
82
- function he(o) {
92
+ const Ge = ["elementType", "externalSlotProps", "ownerState"];
93
+ function ye(o) {
83
94
  var n;
84
95
  const {
85
96
  elementType: r,
86
97
  externalSlotProps: t,
87
98
  ownerState: i
88
- } = o, s = z(o, ze), l = re(t, i), {
99
+ } = o, s = q(o, Ge), l = re(t, i), {
89
100
  props: c,
90
101
  internalRef: u
91
- } = qe(b({}, s, {
102
+ } = Ye(b({}, s, {
92
103
  externalSlotProps: l
93
- })), f = Y(u, l == null ? void 0 : l.ref, (n = o.additionalProps) == null ? void 0 : n.ref);
94
- return $e(r, b({}, c, {
104
+ })), f = z(u, l == null ? void 0 : l.ref, (n = o.additionalProps) == null ? void 0 : n.ref);
105
+ return Ke(r, b({}, c, {
95
106
  ref: f
96
107
  }), i);
97
108
  }
98
- const Ye = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
99
- function Ge(o) {
109
+ const Ze = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
110
+ function Xe(o) {
100
111
  const n = parseInt(o.getAttribute("tabindex") || "", 10);
101
112
  return Number.isNaN(n) ? o.contentEditable === "true" || (o.nodeName === "AUDIO" || o.nodeName === "VIDEO" || o.nodeName === "DETAILS") && o.getAttribute("tabindex") === null ? 0 : o.tabIndex : n;
102
113
  }
103
- function Ze(o) {
114
+ function Je(o) {
104
115
  if (o.tagName !== "INPUT" || o.type !== "radio" || !o.name)
105
116
  return !1;
106
117
  const n = (t) => o.ownerDocument.querySelector(`input[type="radio"]${t}`);
107
118
  let r = n(`[name="${o.name}"]:checked`);
108
119
  return r || (r = n(`[name="${o.name}"]`)), r !== o;
109
120
  }
110
- function Xe(o) {
111
- return !(o.disabled || o.tagName === "INPUT" && o.type === "hidden" || Ze(o));
121
+ function Qe(o) {
122
+ return !(o.disabled || o.tagName === "INPUT" && o.type === "hidden" || Je(o));
112
123
  }
113
- function Je(o) {
124
+ function eo(o) {
114
125
  const n = [], r = [];
115
- return Array.from(o.querySelectorAll(Ye)).forEach((t, i) => {
116
- const s = Ge(t);
117
- s === -1 || !Xe(t) || (s === 0 ? n.push(t) : r.push({
126
+ return Array.from(o.querySelectorAll(Ze)).forEach((t, i) => {
127
+ const s = Xe(t);
128
+ s === -1 || !Qe(t) || (s === 0 ? n.push(t) : r.push({
118
129
  documentOrder: i,
119
130
  tabIndex: s,
120
131
  node: t
121
132
  }));
122
133
  }), r.sort((t, i) => t.tabIndex === i.tabIndex ? t.documentOrder - i.documentOrder : t.tabIndex - i.tabIndex).map((t) => t.node).concat(n);
123
134
  }
124
- function Qe() {
135
+ function oo() {
125
136
  return !0;
126
137
  }
127
- function X(o) {
138
+ function Z(o) {
128
139
  const {
129
140
  children: n,
130
141
  disableAutoFocus: r = !1,
131
142
  disableEnforceFocus: t = !1,
132
143
  disableRestoreFocus: i = !1,
133
- getTabbable: s = Je,
134
- isEnabled: l = Qe,
144
+ getTabbable: s = eo,
145
+ isEnabled: l = oo,
135
146
  open: c
136
- } = o, u = a.useRef(!1), f = a.useRef(null), v = a.useRef(null), E = a.useRef(null), h = a.useRef(null), x = a.useRef(!1), m = a.useRef(null), R = Y(n.ref, m), N = a.useRef(null);
147
+ } = o, u = a.useRef(!1), f = a.useRef(null), T = a.useRef(null), y = a.useRef(null), h = a.useRef(null), x = a.useRef(!1), m = a.useRef(null), R = z(n.ref, m), N = a.useRef(null);
137
148
  a.useEffect(() => {
138
149
  !c || !m.current || (x.current = !r);
139
150
  }, [r, c]), a.useEffect(() => {
@@ -142,7 +153,7 @@ function X(o) {
142
153
  const d = H(m.current);
143
154
  return m.current.contains(d.activeElement) || (m.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
144
155
  `)), m.current.setAttribute("tabIndex", "-1")), x.current && m.current.focus()), () => {
145
- i || (E.current && E.current.focus && (u.current = !0, E.current.focus()), E.current = null);
156
+ i || (y.current && y.current.focus && (u.current = !0, y.current.focus()), y.current = null);
146
157
  };
147
158
  }, [c]), a.useEffect(() => {
148
159
  if (!c || !m.current)
@@ -164,7 +175,7 @@ function X(o) {
164
175
  if (!x.current)
165
176
  return;
166
177
  let P = [];
167
- if ((d.activeElement === f.current || d.activeElement === v.current) && (P = s(m.current)), P.length > 0) {
178
+ if ((d.activeElement === f.current || d.activeElement === T.current) && (P = s(m.current)), P.length > 0) {
168
179
  var D, L;
169
180
  const F = !!((D = N.current) != null && D.shiftKey && ((L = N.current) == null ? void 0 : L.key) === "Tab"), B = P[0], p = P[P.length - 1];
170
181
  typeof B != "string" && typeof p != "string" && (F ? p.focus() : B.focus());
@@ -172,25 +183,25 @@ function X(o) {
172
183
  I.focus();
173
184
  }
174
185
  }
175
- }, y = (O) => {
176
- N.current = O, !(t || !l() || O.key !== "Tab") && d.activeElement === m.current && O.shiftKey && (u.current = !0, v.current && v.current.focus());
186
+ }, E = (O) => {
187
+ N.current = O, !(t || !l() || O.key !== "Tab") && d.activeElement === m.current && O.shiftKey && (u.current = !0, T.current && T.current.focus());
177
188
  };
178
- d.addEventListener("focusin", g), d.addEventListener("keydown", y, !0);
189
+ d.addEventListener("focusin", g), d.addEventListener("keydown", E, !0);
179
190
  const C = setInterval(() => {
180
191
  d.activeElement && d.activeElement.tagName === "BODY" && g(null);
181
192
  }, 50);
182
193
  return () => {
183
- clearInterval(C), d.removeEventListener("focusin", g), d.removeEventListener("keydown", y, !0);
194
+ clearInterval(C), d.removeEventListener("focusin", g), d.removeEventListener("keydown", E, !0);
184
195
  };
185
196
  }, [r, t, i, l, c, s]);
186
197
  const k = (d) => {
187
- E.current === null && (E.current = d.relatedTarget), x.current = !0, h.current = d.target;
198
+ y.current === null && (y.current = d.relatedTarget), x.current = !0, h.current = d.target;
188
199
  const g = n.props.onFocus;
189
200
  g && g(d);
190
201
  }, w = (d) => {
191
- E.current === null && (E.current = d.relatedTarget), x.current = !0;
202
+ y.current === null && (y.current = d.relatedTarget), x.current = !0;
192
203
  };
193
- return /* @__PURE__ */ xe(a.Fragment, {
204
+ return /* @__PURE__ */ ke(a.Fragment, {
194
205
  children: [/* @__PURE__ */ M("div", {
195
206
  tabIndex: c ? 0 : -1,
196
207
  onFocus: w,
@@ -202,12 +213,12 @@ function X(o) {
202
213
  }), /* @__PURE__ */ M("div", {
203
214
  tabIndex: c ? 0 : -1,
204
215
  onFocus: w,
205
- ref: v,
216
+ ref: T,
206
217
  "data-testid": "sentinelEnd"
207
218
  })]
208
219
  });
209
220
  }
210
- process.env.NODE_ENV !== "production" && (X.propTypes = {
221
+ process.env.NODE_ENV !== "production" && (Z.propTypes = {
211
222
  // ----------------------------- Warning --------------------------------
212
223
  // | These PropTypes are generated from the TypeScript type definitions |
213
224
  // | To update them edit TypeScript types and run "yarn proptypes" |
@@ -215,7 +226,7 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
215
226
  /**
216
227
  * A single child content element.
217
228
  */
218
- children: Q,
229
+ children: J,
219
230
  /**
220
231
  * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
221
232
  * replace it to the last focused element when it closes.
@@ -261,18 +272,18 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
261
272
  */
262
273
  open: e.bool.isRequired
263
274
  });
264
- process.env.NODE_ENV !== "production" && (X.propTypes = Pe(X.propTypes));
265
- function eo(o) {
275
+ process.env.NODE_ENV !== "production" && (Z.propTypes = Re(Z.propTypes));
276
+ function no(o) {
266
277
  return typeof o == "function" ? o() : o;
267
278
  }
268
- const J = /* @__PURE__ */ a.forwardRef(function(n, r) {
279
+ const X = /* @__PURE__ */ a.forwardRef(function(n, r) {
269
280
  const {
270
281
  children: t,
271
282
  container: i,
272
283
  disablePortal: s = !1
273
- } = n, [l, c] = a.useState(null), u = Y(/* @__PURE__ */ a.isValidElement(t) ? t.ref : null, r);
284
+ } = n, [l, c] = a.useState(null), u = z(/* @__PURE__ */ a.isValidElement(t) ? t.ref : null, r);
274
285
  if (ue(() => {
275
- s || c(eo(i) || document.body);
286
+ s || c(no(i) || document.body);
276
287
  }, [i, s]), ue(() => {
277
288
  if (l && !s)
278
289
  return fe(r, l), () => {
@@ -290,10 +301,10 @@ const J = /* @__PURE__ */ a.forwardRef(function(n, r) {
290
301
  });
291
302
  }
292
303
  return /* @__PURE__ */ M(a.Fragment, {
293
- children: l && /* @__PURE__ */ je.createPortal(t, l)
304
+ children: l && /* @__PURE__ */ $e.createPortal(t, l)
294
305
  });
295
306
  });
296
- process.env.NODE_ENV !== "production" && (J.propTypes = {
307
+ process.env.NODE_ENV !== "production" && (X.propTypes = {
297
308
  // ----------------------------- Warning --------------------------------
298
309
  // | These PropTypes are generated from the TypeScript type definitions |
299
310
  // | To update them edit TypeScript types and run "yarn proptypes" |
@@ -316,8 +327,8 @@ process.env.NODE_ENV !== "production" && (J.propTypes = {
316
327
  */
317
328
  disablePortal: e.bool
318
329
  });
319
- process.env.NODE_ENV !== "production" && (J.propTypes = Pe(J.propTypes));
320
- function oo(o) {
330
+ process.env.NODE_ENV !== "production" && (X.propTypes = Re(X.propTypes));
331
+ function to(o) {
321
332
  const n = H(o);
322
333
  return n.body === o ? ie(o).innerWidth > n.documentElement.clientWidth : o.scrollHeight > o.clientHeight;
323
334
  }
@@ -327,26 +338,26 @@ function W(o, n) {
327
338
  function Ee(o) {
328
339
  return parseInt(ie(o).getComputedStyle(o).paddingRight, 10) || 0;
329
340
  }
330
- function no(o) {
341
+ function ro(o) {
331
342
  const r = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].indexOf(o.tagName) !== -1, t = o.tagName === "INPUT" && o.getAttribute("type") === "hidden";
332
343
  return r || t;
333
344
  }
334
- function ye(o, n, r, t, i) {
345
+ function ge(o, n, r, t, i) {
335
346
  const s = [n, r, ...t];
336
347
  [].forEach.call(o.children, (l) => {
337
- const c = s.indexOf(l) === -1, u = !no(l);
348
+ const c = s.indexOf(l) === -1, u = !ro(l);
338
349
  c && u && W(l, i);
339
350
  });
340
351
  }
341
- function te(o, n) {
352
+ function ne(o, n) {
342
353
  let r = -1;
343
354
  return o.some((t, i) => n(t) ? (r = i, !0) : !1), r;
344
355
  }
345
- function to(o, n) {
356
+ function so(o, n) {
346
357
  const r = [], t = o.container;
347
358
  if (!n.disableScrollLock) {
348
- if (oo(t)) {
349
- const l = He(H(t));
359
+ if (to(t)) {
360
+ const l = Ue(H(t));
350
361
  r.push({
351
362
  value: t.style.paddingRight,
352
363
  property: "padding-right",
@@ -392,13 +403,13 @@ function to(o, n) {
392
403
  });
393
404
  };
394
405
  }
395
- function ro(o) {
406
+ function io(o) {
396
407
  const n = [];
397
408
  return [].forEach.call(o.children, (r) => {
398
409
  r.getAttribute("aria-hidden") === "true" && n.push(r);
399
410
  }), n;
400
411
  }
401
- class so {
412
+ class lo {
402
413
  constructor() {
403
414
  this.containers = void 0, this.modals = void 0, this.modals = [], this.containers = [];
404
415
  }
@@ -407,9 +418,9 @@ class so {
407
418
  if (t !== -1)
408
419
  return t;
409
420
  t = this.modals.length, this.modals.push(n), n.modalRef && W(n.modalRef, !1);
410
- const i = ro(r);
411
- ye(r, n.mount, n.modalRef, i, !0);
412
- const s = te(this.containers, (l) => l.container === r);
421
+ const i = io(r);
422
+ ge(r, n.mount, n.modalRef, i, !0);
423
+ const s = ne(this.containers, (l) => l.container === r);
413
424
  return s !== -1 ? (this.containers[s].modals.push(n), t) : (this.containers.push({
414
425
  modals: [n],
415
426
  container: r,
@@ -418,16 +429,16 @@ class so {
418
429
  }), t);
419
430
  }
420
431
  mount(n, r) {
421
- const t = te(this.containers, (s) => s.modals.indexOf(n) !== -1), i = this.containers[t];
422
- i.restore || (i.restore = to(i, r));
432
+ const t = ne(this.containers, (s) => s.modals.indexOf(n) !== -1), i = this.containers[t];
433
+ i.restore || (i.restore = so(i, r));
423
434
  }
424
435
  remove(n, r = !0) {
425
436
  const t = this.modals.indexOf(n);
426
437
  if (t === -1)
427
438
  return t;
428
- const i = te(this.containers, (l) => l.modals.indexOf(n) !== -1), s = this.containers[i];
439
+ const i = ne(this.containers, (l) => l.modals.indexOf(n) !== -1), s = this.containers[i];
429
440
  if (s.modals.splice(s.modals.indexOf(n), 1), this.modals.splice(t, 1), s.modals.length === 0)
430
- s.restore && s.restore(), n.modalRef && W(n.modalRef, r), ye(s.container, n.mount, n.modalRef, s.hiddenSiblings, !1), this.containers.splice(i, 1);
441
+ s.restore && s.restore(), n.modalRef && W(n.modalRef, r), ge(s.container, n.mount, n.modalRef, s.hiddenSiblings, !1), this.containers.splice(i, 1);
431
442
  else {
432
443
  const l = s.modals[s.modals.length - 1];
433
444
  l.modalRef && W(l.modalRef, !1);
@@ -438,11 +449,11 @@ class so {
438
449
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
439
450
  }
440
451
  }
441
- function io(o) {
442
- return ke("MuiModal", o);
452
+ function ao(o) {
453
+ return Pe("MuiModal", o);
443
454
  }
444
- ge("MuiModal", ["root", "hidden", "backdrop"]);
445
- const lo = ["children", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"], ao = (o) => {
455
+ ve("MuiModal", ["root", "hidden", "backdrop"]);
456
+ const co = ["children", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"], uo = (o) => {
446
457
  const {
447
458
  open: n,
448
459
  exited: r
@@ -450,15 +461,15 @@ const lo = ["children", "closeAfterTransition", "component", "container", "disab
450
461
  return Te({
451
462
  root: ["root", !n && r && "hidden"],
452
463
  backdrop: ["backdrop"]
453
- }, Ve(io));
464
+ }, qe(ao));
454
465
  };
455
- function co(o) {
466
+ function fo(o) {
456
467
  return typeof o == "function" ? o() : o;
457
468
  }
458
- function uo(o) {
469
+ function po(o) {
459
470
  return o ? o.props.hasOwnProperty("in") : !1;
460
471
  }
461
- const fo = new so(), Ne = /* @__PURE__ */ a.forwardRef(function(n, r) {
472
+ const mo = new lo(), Ce = /* @__PURE__ */ a.forwardRef(function(n, r) {
462
473
  var t, i;
463
474
  const {
464
475
  children: s,
@@ -466,103 +477,103 @@ const fo = new so(), Ne = /* @__PURE__ */ a.forwardRef(function(n, r) {
466
477
  component: c,
467
478
  container: u,
468
479
  disableAutoFocus: f = !1,
469
- disableEnforceFocus: v = !1,
470
- disableEscapeKeyDown: E = !1,
480
+ disableEnforceFocus: T = !1,
481
+ disableEscapeKeyDown: y = !1,
471
482
  disablePortal: h = !1,
472
483
  disableRestoreFocus: x = !1,
473
484
  disableScrollLock: m = !1,
474
485
  hideBackdrop: R = !1,
475
486
  keepMounted: N = !1,
476
487
  // private
477
- manager: k = fo,
488
+ manager: k = mo,
478
489
  onBackdropClick: w,
479
490
  onClose: d,
480
491
  onKeyDown: g,
481
- open: y,
492
+ open: E,
482
493
  onTransitionEnter: C,
483
494
  onTransitionExited: O,
484
495
  slotProps: I = {},
485
496
  slots: D = {}
486
- } = n, L = z(n, lo), [P, F] = a.useState(!y), B = a.useRef({}), p = a.useRef(null), T = a.useRef(null), A = Y(T, r), j = uo(s), _ = (t = n["aria-hidden"]) != null ? t : !0, G = () => H(p.current), $ = () => (B.current.modalRef = T.current, B.current.mountNode = p.current, B.current), U = () => {
497
+ } = n, L = q(n, co), [P, F] = a.useState(!E), B = a.useRef({}), p = a.useRef(null), v = a.useRef(null), A = z(v, r), j = po(s), _ = (t = n["aria-hidden"]) != null ? t : !0, Y = () => H(p.current), $ = () => (B.current.modalRef = v.current, B.current.mountNode = p.current, B.current), U = () => {
487
498
  k.mount($(), {
488
499
  disableScrollLock: m
489
- }), T.current && (T.current.scrollTop = 0);
500
+ }), v.current && (v.current.scrollTop = 0);
490
501
  }, K = pe(() => {
491
- const S = co(u) || G().body;
492
- k.add($(), S), T.current && U();
493
- }), ee = a.useCallback(() => k.isTopModal($()), [k]), Oe = pe((S) => {
494
- p.current = S, !(!S || !T.current) && (y && ee() ? U() : W(T.current, _));
502
+ const S = fo(u) || Y().body;
503
+ k.add($(), S), v.current && U();
504
+ }), Q = a.useCallback(() => k.isTopModal($()), [k]), Fe = pe((S) => {
505
+ p.current = S, !(!S || !v.current) && (E && Q() ? U() : W(v.current, _));
495
506
  }), V = a.useCallback(() => {
496
507
  k.remove($(), _);
497
508
  }, [k, _]);
498
509
  a.useEffect(() => () => {
499
510
  V();
500
511
  }, [V]), a.useEffect(() => {
501
- y ? K() : (!j || !l) && V();
502
- }, [y, V, j, l, K]);
503
- const oe = b({}, n, {
512
+ E ? K() : (!j || !l) && V();
513
+ }, [E, V, j, l, K]);
514
+ const ee = b({}, n, {
504
515
  closeAfterTransition: l,
505
516
  disableAutoFocus: f,
506
- disableEnforceFocus: v,
507
- disableEscapeKeyDown: E,
517
+ disableEnforceFocus: T,
518
+ disableEscapeKeyDown: y,
508
519
  disablePortal: h,
509
520
  disableRestoreFocus: x,
510
521
  disableScrollLock: m,
511
522
  exited: P,
512
523
  hideBackdrop: R,
513
524
  keepMounted: N
514
- }), ae = ao(oe), we = () => {
525
+ }), ae = uo(ee), Me = () => {
515
526
  F(!1), C && C();
516
- }, Fe = () => {
527
+ }, Ie = () => {
517
528
  F(!0), O && O(), l && V();
518
- }, Me = (S) => {
529
+ }, Ae = (S) => {
519
530
  S.target === S.currentTarget && (w && w(S), d && d(S, "backdropClick"));
520
- }, Ie = (S) => {
521
- g && g(S), !(S.key !== "Escape" || !ee()) && (E || (S.stopPropagation(), d && d(S, "escapeKeyDown")));
522
- }, Z = {};
523
- s.props.tabIndex === void 0 && (Z.tabIndex = "-1"), j && (Z.onEnter = me(we, s.props.onEnter), Z.onExited = me(Fe, s.props.onExited));
524
- const ce = (i = c ?? D.root) != null ? i : "div", Ae = he({
531
+ }, De = (S) => {
532
+ g && g(S), !(S.key !== "Escape" || !Q()) && (y || (S.stopPropagation(), d && d(S, "escapeKeyDown")));
533
+ }, G = {};
534
+ s.props.tabIndex === void 0 && (G.tabIndex = "-1"), j && (G.onEnter = me(Me, s.props.onEnter), G.onExited = me(Ie, s.props.onExited));
535
+ const ce = (i = c ?? D.root) != null ? i : "div", Be = ye({
525
536
  elementType: ce,
526
537
  externalSlotProps: I.root,
527
538
  externalForwardedProps: L,
528
539
  additionalProps: {
529
540
  ref: A,
530
541
  role: "presentation",
531
- onKeyDown: Ie
542
+ onKeyDown: De
532
543
  },
533
544
  className: ae.root,
534
- ownerState: oe
535
- }), ne = D.backdrop, De = he({
536
- elementType: ne,
545
+ ownerState: ee
546
+ }), oe = D.backdrop, Le = ye({
547
+ elementType: oe,
537
548
  externalSlotProps: I.backdrop,
538
549
  additionalProps: {
539
550
  "aria-hidden": !0,
540
- onClick: Me,
541
- open: y
551
+ onClick: Ae,
552
+ open: E
542
553
  },
543
554
  className: ae.backdrop,
544
- ownerState: oe
555
+ ownerState: ee
545
556
  });
546
- return !N && !y && (!j || P) ? null : /* @__PURE__ */ M(
547
- J,
557
+ return !N && !E && (!j || P) ? null : /* @__PURE__ */ M(
558
+ X,
548
559
  {
549
- ref: Oe,
560
+ ref: Fe,
550
561
  container: u,
551
562
  disablePortal: h,
552
- children: /* @__PURE__ */ xe(ce, b({}, Ae, {
553
- children: [!R && ne ? /* @__PURE__ */ M(ne, b({}, De)) : null, /* @__PURE__ */ M(X, {
554
- disableEnforceFocus: v,
563
+ children: /* @__PURE__ */ ke(ce, b({}, Be, {
564
+ children: [!R && oe ? /* @__PURE__ */ M(oe, b({}, Le)) : null, /* @__PURE__ */ M(Z, {
565
+ disableEnforceFocus: T,
555
566
  disableAutoFocus: f,
556
567
  disableRestoreFocus: x,
557
- isEnabled: ee,
558
- open: y,
559
- children: /* @__PURE__ */ a.cloneElement(s, Z)
568
+ isEnabled: Q,
569
+ open: E,
570
+ children: /* @__PURE__ */ a.cloneElement(s, G)
560
571
  })]
561
572
  }))
562
573
  }
563
574
  );
564
575
  });
565
- process.env.NODE_ENV !== "production" && (Ne.propTypes = {
576
+ process.env.NODE_ENV !== "production" && (Ce.propTypes = {
566
577
  // ----------------------------- Warning --------------------------------
567
578
  // | These PropTypes are generated from the TypeScript type definitions |
568
579
  // | To update them edit TypeScript types and run "yarn proptypes" |
@@ -570,7 +581,7 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
570
581
  /**
571
582
  * A single child content element.
572
583
  */
573
- children: Q.isRequired,
584
+ children: J.isRequired,
574
585
  /**
575
586
  * When set to true the Modal waits until a nested Transition is completed before closing.
576
587
  * @default false
@@ -679,15 +690,15 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
679
690
  root: e.elementType
680
691
  })
681
692
  });
682
- const po = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], mo = {
693
+ const bo = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], ho = {
683
694
  entering: {
684
695
  opacity: 1
685
696
  },
686
697
  entered: {
687
698
  opacity: 1
688
699
  }
689
- }, Se = /* @__PURE__ */ a.forwardRef(function(n, r) {
690
- const t = Be(), i = {
700
+ }, Oe = /* @__PURE__ */ a.forwardRef(function(n, r) {
701
+ const t = _e(), i = {
691
702
  enter: t.transitions.duration.enteringScreen,
692
703
  exit: t.transitions.duration.leavingScreen
693
704
  }, {
@@ -696,8 +707,8 @@ const po = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
696
707
  children: c,
697
708
  easing: u,
698
709
  in: f,
699
- onEnter: v,
700
- onEntered: E,
710
+ onEnter: T,
711
+ onEntered: y,
701
712
  onEntering: h,
702
713
  onExit: x,
703
714
  onExited: m,
@@ -705,14 +716,14 @@ const po = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
705
716
  style: N,
706
717
  timeout: k = i,
707
718
  // eslint-disable-next-line react/prop-types
708
- TransitionComponent: w = Le
709
- } = n, d = z(n, po), g = a.useRef(null), y = Y(g, c.ref, r), C = (p) => (T) => {
719
+ TransitionComponent: w = je
720
+ } = n, d = q(n, bo), g = a.useRef(null), E = z(g, c.ref, r), C = (p) => (v) => {
710
721
  if (p) {
711
722
  const A = g.current;
712
- T === void 0 ? p(A) : p(A, T);
723
+ v === void 0 ? p(A) : p(A, v);
713
724
  }
714
- }, O = C(h), I = C((p, T) => {
715
- _e(p);
725
+ }, O = C(h), I = C((p, v) => {
726
+ He(p);
716
727
  const A = de({
717
728
  style: N,
718
729
  timeout: k,
@@ -720,16 +731,16 @@ const po = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
720
731
  }, {
721
732
  mode: "enter"
722
733
  });
723
- p.style.webkitTransition = t.transitions.create("opacity", A), p.style.transition = t.transitions.create("opacity", A), v && v(p, T);
724
- }), D = C(E), L = C(R), P = C((p) => {
725
- const T = de({
734
+ p.style.webkitTransition = t.transitions.create("opacity", A), p.style.transition = t.transitions.create("opacity", A), T && T(p, v);
735
+ }), D = C(y), L = C(R), P = C((p) => {
736
+ const v = de({
726
737
  style: N,
727
738
  timeout: k,
728
739
  easing: u
729
740
  }, {
730
741
  mode: "exit"
731
742
  });
732
- p.style.webkitTransition = t.transitions.create("opacity", T), p.style.transition = t.transitions.create("opacity", T), x && x(p);
743
+ p.style.webkitTransition = t.transitions.create("opacity", v), p.style.transition = t.transitions.create("opacity", v), x && x(p);
733
744
  }), F = C(m);
734
745
  return /* @__PURE__ */ M(w, b({
735
746
  appear: l,
@@ -746,16 +757,16 @@ const po = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
746
757
  },
747
758
  timeout: k
748
759
  }, d, {
749
- children: (p, T) => /* @__PURE__ */ a.cloneElement(c, b({
760
+ children: (p, v) => /* @__PURE__ */ a.cloneElement(c, b({
750
761
  style: b({
751
762
  opacity: 0,
752
763
  visibility: p === "exited" && !f ? "hidden" : void 0
753
- }, mo[p], N, c.props.style),
754
- ref: y
755
- }, T))
764
+ }, ho[p], N, c.props.style),
765
+ ref: E
766
+ }, v))
756
767
  }));
757
768
  });
758
- process.env.NODE_ENV !== "production" && (Se.propTypes = {
769
+ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
759
770
  // ----------------------------- Warning --------------------------------
760
771
  // | These PropTypes are generated from the TypeScript type definitions |
761
772
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -775,7 +786,7 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
775
786
  /**
776
787
  * A single child content element.
777
788
  */
778
- children: Q.isRequired,
789
+ children: J.isRequired,
779
790
  /**
780
791
  * The transition timing function.
781
792
  * You may specify a single easing or a object containing enter and exit values.
@@ -830,19 +841,19 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
830
841
  exit: e.number
831
842
  })])
832
843
  });
833
- function bo(o) {
834
- return ke("MuiBackdrop", o);
844
+ function yo(o) {
845
+ return Pe("MuiBackdrop", o);
835
846
  }
836
- ge("MuiBackdrop", ["root", "invisible"]);
837
- const ho = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"], Eo = (o) => {
847
+ ve("MuiBackdrop", ["root", "invisible"]);
848
+ const Eo = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"], go = (o) => {
838
849
  const {
839
850
  classes: n,
840
851
  invisible: r
841
852
  } = o;
842
853
  return Te({
843
854
  root: ["root", r && "invisible"]
844
- }, bo, n);
845
- }, yo = se("div", {
855
+ }, yo, n);
856
+ }, vo = se("div", {
846
857
  name: "MuiBackdrop",
847
858
  slot: "Root",
848
859
  overridesResolver: (o, n) => {
@@ -866,44 +877,44 @@ const ho = ["children", "className", "component", "components", "componentsProps
866
877
  WebkitTapHighlightColor: "transparent"
867
878
  }, o.invisible && {
868
879
  backgroundColor: "transparent"
869
- })), Ce = /* @__PURE__ */ a.forwardRef(function(n, r) {
880
+ })), we = /* @__PURE__ */ a.forwardRef(function(n, r) {
870
881
  var t, i, s;
871
- const l = ve({
882
+ const l = xe({
872
883
  props: n,
873
884
  name: "MuiBackdrop"
874
885
  }), {
875
886
  children: c,
876
887
  className: u,
877
888
  component: f = "div",
878
- components: v = {},
879
- componentsProps: E = {},
889
+ components: T = {},
890
+ componentsProps: y = {},
880
891
  invisible: h = !1,
881
892
  open: x,
882
893
  slotProps: m = {},
883
894
  slots: R = {},
884
- TransitionComponent: N = Se,
895
+ TransitionComponent: N = Oe,
885
896
  transitionDuration: k
886
- } = l, w = z(l, ho), d = b({}, l, {
897
+ } = l, w = q(l, Eo), d = b({}, l, {
887
898
  component: f,
888
899
  invisible: h
889
- }), g = Eo(d), y = (t = m.root) != null ? t : E.root;
900
+ }), g = go(d), E = (t = m.root) != null ? t : y.root;
890
901
  return /* @__PURE__ */ M(N, b({
891
902
  in: x,
892
903
  timeout: k
893
904
  }, w, {
894
- children: /* @__PURE__ */ M(yo, b({
905
+ children: /* @__PURE__ */ M(vo, b({
895
906
  "aria-hidden": !0
896
- }, y, {
897
- as: (i = (s = R.root) != null ? s : v.Root) != null ? i : f,
898
- className: q(g.root, u, y == null ? void 0 : y.className),
899
- ownerState: b({}, d, y == null ? void 0 : y.ownerState),
907
+ }, E, {
908
+ as: (i = (s = R.root) != null ? s : T.Root) != null ? i : f,
909
+ className: te(g.root, u, E == null ? void 0 : E.className),
910
+ ownerState: b({}, d, E == null ? void 0 : E.ownerState),
900
911
  classes: g,
901
912
  ref: r,
902
913
  children: c
903
914
  }))
904
915
  }));
905
916
  });
906
- process.env.NODE_ENV !== "production" && (Ce.propTypes = {
917
+ process.env.NODE_ENV !== "production" && (we.propTypes = {
907
918
  // ----------------------------- Warning --------------------------------
908
919
  // | These PropTypes are generated from the TypeScript type definitions |
909
920
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -999,7 +1010,7 @@ process.env.NODE_ENV !== "production" && (Ce.propTypes = {
999
1010
  exit: e.number
1000
1011
  })])
1001
1012
  });
1002
- const go = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"], To = se("div", {
1013
+ const To = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"], xo = se("div", {
1003
1014
  name: "MuiModal",
1004
1015
  slot: "Root",
1005
1016
  overridesResolver: (o, n) => {
@@ -1020,20 +1031,20 @@ const go = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1020
1031
  left: 0
1021
1032
  }, !n.open && n.exited && {
1022
1033
  visibility: "hidden"
1023
- })), vo = se(Ce, {
1034
+ })), ko = se(we, {
1024
1035
  name: "MuiModal",
1025
1036
  slot: "Backdrop",
1026
1037
  overridesResolver: (o, n) => n.backdrop
1027
1038
  })({
1028
1039
  zIndex: -1
1029
- }), xo = /* @__PURE__ */ a.forwardRef(function(n, r) {
1040
+ }), Po = /* @__PURE__ */ a.forwardRef(function(n, r) {
1030
1041
  var t, i, s, l, c, u;
1031
- const f = ve({
1042
+ const f = xe({
1032
1043
  name: "MuiModal",
1033
1044
  props: n
1034
1045
  }), {
1035
- BackdropComponent: v = vo,
1036
- BackdropProps: E,
1046
+ BackdropComponent: T = ko,
1047
+ BackdropProps: y,
1037
1048
  classes: h,
1038
1049
  className: x,
1039
1050
  closeAfterTransition: m = !1,
@@ -1043,7 +1054,7 @@ const go = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1043
1054
  componentsProps: w = {},
1044
1055
  disableAutoFocus: d = !1,
1045
1056
  disableEnforceFocus: g = !1,
1046
- disableEscapeKeyDown: y = !1,
1057
+ disableEscapeKeyDown: E = !1,
1047
1058
  disablePortal: C = !1,
1048
1059
  disableRestoreFocus: O = !1,
1049
1060
  disableScrollLock: I = !1,
@@ -1053,33 +1064,33 @@ const go = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1053
1064
  slots: F,
1054
1065
  // eslint-disable-next-line react/prop-types
1055
1066
  theme: B
1056
- } = f, p = z(f, go), [T, A] = a.useState(!0), j = {
1067
+ } = f, p = q(f, To), [v, A] = a.useState(!0), j = {
1057
1068
  closeAfterTransition: m,
1058
1069
  disableAutoFocus: d,
1059
1070
  disableEnforceFocus: g,
1060
- disableEscapeKeyDown: y,
1071
+ disableEscapeKeyDown: E,
1061
1072
  disablePortal: C,
1062
1073
  disableRestoreFocus: O,
1063
1074
  disableScrollLock: I,
1064
1075
  hideBackdrop: D,
1065
1076
  keepMounted: L
1066
1077
  }, _ = b({}, f, j, {
1067
- exited: T
1068
- }), G = (t = (i = F == null ? void 0 : F.root) != null ? i : k.Root) != null ? t : To, $ = (s = (l = F == null ? void 0 : F.backdrop) != null ? l : k.Backdrop) != null ? s : v, U = (c = P == null ? void 0 : P.root) != null ? c : w.root, K = (u = P == null ? void 0 : P.backdrop) != null ? u : w.backdrop;
1069
- return /* @__PURE__ */ M(Ne, b({
1078
+ exited: v
1079
+ }), Y = (t = (i = F == null ? void 0 : F.root) != null ? i : k.Root) != null ? t : xo, $ = (s = (l = F == null ? void 0 : F.backdrop) != null ? l : k.Backdrop) != null ? s : T, U = (c = P == null ? void 0 : P.root) != null ? c : w.root, K = (u = P == null ? void 0 : P.backdrop) != null ? u : w.backdrop;
1080
+ return /* @__PURE__ */ M(Ce, b({
1070
1081
  slots: {
1071
- root: G,
1082
+ root: Y,
1072
1083
  backdrop: $
1073
1084
  },
1074
1085
  slotProps: {
1075
- root: () => b({}, re(U, _), !Re(G) && {
1086
+ root: () => b({}, re(U, _), !Ne(Y) && {
1076
1087
  as: N,
1077
1088
  theme: B
1078
1089
  }, {
1079
- className: q(x, U == null ? void 0 : U.className, h == null ? void 0 : h.root, !_.open && _.exited && (h == null ? void 0 : h.hidden))
1090
+ className: te(x, U == null ? void 0 : U.className, h == null ? void 0 : h.root, !_.open && _.exited && (h == null ? void 0 : h.hidden))
1080
1091
  }),
1081
- backdrop: () => b({}, E, re(K, _), {
1082
- className: q(K == null ? void 0 : K.className, h == null ? void 0 : h.backdrop)
1092
+ backdrop: () => b({}, y, re(K, _), {
1093
+ className: te(K == null ? void 0 : K.className, h == null ? void 0 : h.backdrop)
1083
1094
  })
1084
1095
  },
1085
1096
  onTransitionEnter: () => A(!1),
@@ -1089,7 +1100,7 @@ const go = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1089
1100
  children: R
1090
1101
  }));
1091
1102
  });
1092
- process.env.NODE_ENV !== "production" && (xo.propTypes = {
1103
+ process.env.NODE_ENV !== "production" && (Po.propTypes = {
1093
1104
  // ----------------------------- Warning --------------------------------
1094
1105
  // | These PropTypes are generated from the TypeScript type definitions |
1095
1106
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -1117,7 +1128,7 @@ process.env.NODE_ENV !== "production" && (xo.propTypes = {
1117
1128
  /**
1118
1129
  * A single child content element.
1119
1130
  */
1120
- children: Q.isRequired,
1131
+ children: J.isRequired,
1121
1132
  /**
1122
1133
  * Override or extend the styles applied to the component.
1123
1134
  */
@@ -1260,14 +1271,14 @@ process.env.NODE_ENV !== "production" && (xo.propTypes = {
1260
1271
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1261
1272
  });
1262
1273
  export {
1263
- Ce as B,
1264
- Se as F,
1274
+ we as B,
1275
+ Oe as F,
1265
1276
  le as H,
1266
- xo as M,
1267
- J as P,
1268
- Ve as a,
1269
- X as b,
1270
- He as g,
1277
+ Po as M,
1278
+ X as P,
1279
+ qe as a,
1280
+ Z as b,
1281
+ Ue as g,
1271
1282
  re as r,
1272
- he as u
1283
+ ye as u
1273
1284
  };