@loopr-ai/craft 0.7.0 → 0.7.2

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 (34) hide show
  1. package/dist/Box-8cd400c2.js +58 -0
  2. package/dist/{ButtonBase-c303b1df.js → ButtonBase-fc1e48eb.js} +3 -3
  3. package/dist/{Grow-d188a215.js → Grow-a906cda2.js} +5 -5
  4. package/dist/{TextField-b13f5aff.js → TextField-a534df29.js} +7 -7
  5. package/dist/{TransitionGroupContext-7cd3ef83.js → TransitionGroupContext-ba502e63.js} +1 -1
  6. package/dist/{Typography-c0106ed0.js → Typography-65e5f8a8.js} +8 -8
  7. package/dist/{ZoomControllers-2e737c18.js → ZoomControllers-8a147df0.js} +1065 -1114
  8. package/dist/components/cell/AvatarGroup/index.js +3 -3
  9. package/dist/components/cell/Button/index.js +3 -3
  10. package/dist/components/cell/Chip/index.js +5 -5
  11. package/dist/components/cell/ProgressBar/index.js +3 -3
  12. package/dist/components/cell/Search/index.js +2 -2
  13. package/dist/components/cell/Typography/index.js +1 -1
  14. package/dist/components/organ/Form/FieldInput.js +115 -113
  15. package/dist/components/organ/Form/Form.interfaces.d.ts +2 -0
  16. package/dist/components/organ/Form/Form.styles.d.ts +2 -2
  17. package/dist/components/organ/Form/Form.styles.js +1 -1
  18. package/dist/components/organ/Form/Form.utils.d.ts +1 -0
  19. package/dist/components/organ/Form/Form.utils.js +20 -15
  20. package/dist/components/organ/Form/index.d.ts +3 -1
  21. package/dist/components/organ/Form/index.js +84 -72
  22. package/dist/components/organ/ZoomControlWithDrag/ZoomControllers.js +3 -2
  23. package/dist/components/organ/ZoomControlWithDrag/index.js +18 -17
  24. package/dist/{createSvgIcon-78477fc1.js → createSvgIcon-8e5d9dc7.js} +6 -6
  25. package/dist/{createSvgIcon-5180e4db.js → createSvgIcon-bb3d4825.js} +5 -5
  26. package/dist/{createTheme-54078d82.js → createTheme-ca1567c6.js} +4 -4
  27. package/dist/{dividerClasses-68f129df.js → dividerClasses-0233db5a.js} +2 -2
  28. package/dist/{exactProp-893ad662.js → exactProp-3d9df1ae.js} +1 -1
  29. package/dist/{extendSxProp-8c660b3a.js → extendSxProp-fc2654e5.js} +1 -1
  30. package/dist/global/theme.js +1 -1
  31. package/dist/providers/CraftThemeProvider.js +2 -2
  32. package/dist/{styled-2bc0b59e.js → styled-80b57810.js} +38 -38
  33. package/dist/{useTheme-e2efed29.js → useTheme-16446f25.js} +1 -1
  34. package/package.json +1 -1
@@ -1,130 +1,142 @@
1
- import { jsxs as N, jsx as l } from "react/jsx-runtime";
2
- import { useState as x, useCallback as q, useEffect as w } from "react";
3
- import j from "../../cell/Button/index.js";
4
- import A from "./FieldInput.js";
5
- import K from "./Form.styles.js";
6
- import { createNestedObject as P, deepMergeObjects as R } from "./Form.utils.js";
7
- const J = ({
8
- config: u,
1
+ import { jsxs as g, jsx as l } from "react/jsx-runtime";
2
+ import { useState as j, useCallback as w, useEffect as A } from "react";
3
+ import F from "../../cell/Button/index.js";
4
+ import K from "./FieldInput.js";
5
+ import V from "./Form.styles.js";
6
+ import { createNestedObject as L, deepMergeObjects as P, getLocalDateTime as R } from "./Form.utils.js";
7
+ import { B as $ } from "../../../Box-8cd400c2.js";
8
+ const X = ({
9
+ config: r,
9
10
  submitText: _ = "Submit",
10
11
  handleSubmit: v,
11
- handleInvalidData: c,
12
- cancelText: y = "Cancel",
13
- handleCancel: F,
14
- onChange: f,
15
- style: S = {},
16
- customFields: O = {}
12
+ handleInvalidData: p,
13
+ cancelText: S = "Cancel",
14
+ handleCancel: O,
15
+ onChange: c,
16
+ formStyles: C = {},
17
+ buttonWrapperStyles: D = {},
18
+ customFields: B = {}
17
19
  }) => {
18
- const [o, b] = x({}), [V, h] = x([]);
19
- function C(e, s) {
20
- b((m) => ({
21
- ...m,
20
+ const [o, f] = j({}), [E, d] = j([]);
21
+ function x(e, s) {
22
+ f((n) => ({
23
+ ...n,
22
24
  [e]: s
23
- })), f == null || f(e, s);
25
+ })), c == null || c(e, s);
24
26
  }
25
- function d() {
27
+ function y() {
26
28
  const e = {};
27
- u.forEach((s) => {
29
+ r == null || r.forEach((s) => {
28
30
  e[s.name] = s.defaultValue || "";
29
- }), b(e), h([]);
31
+ }), f(e), d([]);
30
32
  }
31
- function E() {
33
+ function M() {
32
34
  const e = [];
33
- return u.forEach((s) => {
34
- const { name: m, label: a, type: r, validation: t, required: p } = s, n = o[m], i = m;
35
+ return r == null || r.forEach((s) => {
36
+ const { name: n, label: a, type: u, validation: t, required: h } = s, m = o[n], i = n;
35
37
  if (t)
36
- if (r === "number") {
37
- const g = parseInt(n);
38
- t.min && g < t.min && e.push({
38
+ if (u === "number") {
39
+ const b = parseInt(m);
40
+ t.min && b < t.min && e.push({
39
41
  field: i,
40
- value: n,
42
+ value: m,
41
43
  message: t.invalid_message
42
- }), t.max && g > t.max && e.push({
44
+ }), t.max && b > t.max && e.push({
43
45
  field: i,
44
- value: n,
46
+ value: m,
45
47
  message: t.invalid_message
46
- }), isNaN(g) && e.push({
48
+ }), isNaN(b) && e.push({
47
49
  field: i,
48
- value: n,
50
+ value: m,
49
51
  message: "Invalid number"
50
52
  });
51
53
  } else
52
- r === "text" && (t.min_length && n.length < t.min_length && e.push({
54
+ u === "text" && (t.min_length && m.length < t.min_length && e.push({
53
55
  field: i,
54
- value: n,
56
+ value: m,
55
57
  message: t.invalid_message
56
- }), t.max_length && n.length > t.max_length && e.push({
58
+ }), t.max_length && m.length > t.max_length && e.push({
57
59
  field: i,
58
- value: n,
60
+ value: m,
59
61
  message: t.invalid_message
60
- }), t.pattern && !new RegExp(t.pattern).test(n) && e.push({
62
+ }), t.pattern && !new RegExp(t.pattern).test(m) && e.push({
61
63
  field: i,
62
- value: n,
64
+ value: m,
63
65
  message: t.invalid_message
64
66
  }));
65
- p && !n && e.push({
67
+ h && !m && e.push({
66
68
  field: i,
67
- value: n,
69
+ value: m,
68
70
  message: `${a} is required`
69
71
  });
70
- }), h(e), e.length && (c == null || c(e)), !e.length;
72
+ }), d(e), e.length && (p == null || p(e)), !e.length;
71
73
  }
72
- const M = q(
74
+ const k = w(
73
75
  (e) => {
74
76
  let s = {};
75
- return e.forEach((m) => {
76
- const { name: a, type: r, submitDataKey: t } = m;
77
+ return e == null || e.forEach((n) => {
78
+ const { name: a, type: u, submitDataKey: t } = n;
77
79
  if (t) {
78
- const p = P(
80
+ const h = L(
79
81
  t,
80
- r,
82
+ u,
81
83
  o[a]
82
84
  );
83
- s = R(s, p);
85
+ s = P(s, h);
84
86
  } else
85
- s[a] = r === "number" ? parseInt(o[a]) : o[a];
87
+ s[a] = u === "number" ? parseInt(o[a]) : o[a];
86
88
  }), s;
87
89
  },
88
90
  [o]
89
91
  );
90
- function k(e) {
91
- if (e.preventDefault(), E()) {
92
- const m = M(u);
93
- v(m);
92
+ function N(e) {
93
+ if (e.preventDefault(), M()) {
94
+ const n = k(r);
95
+ v(n);
94
96
  }
95
97
  }
96
- function B() {
97
- d(), F();
98
+ function T() {
99
+ y(), O();
98
100
  }
99
- w(() => {
100
- d();
101
+ A(() => {
102
+ y();
101
103
  }, []);
102
- const D = {
103
- ...K.form,
104
- ...S
104
+ const q = {
105
+ ...V.alignVertical,
106
+ ...C
107
+ }, W = {
108
+ ...V.alignVertical,
109
+ ...D
105
110
  };
106
- return /* @__PURE__ */ N("form", { style: D, children: [
107
- Object.keys(o).length && u.map((e) => {
108
- const s = V.find(
111
+ return /* @__PURE__ */ g("form", { style: q, children: [
112
+ Object.keys(o).length && (r == null ? void 0 : r.map((e) => {
113
+ const s = E.find(
109
114
  (a) => a.field === e.name
110
- ), m = {
115
+ );
116
+ if (e.preFillWithDateTime && e.type === "text") {
117
+ const a = R();
118
+ o[e.name] || x(e.name, a);
119
+ }
120
+ const n = {
111
121
  ...e,
112
122
  value: o[e.name],
113
- handleChange: C,
123
+ handleChange: x,
114
124
  error: !!s,
115
125
  helperText: s == null ? void 0 : s.message
116
126
  };
117
127
  if (e.type === "custom" && e.customComponent) {
118
- const a = O[e.customComponent];
128
+ const a = B[e.customComponent];
119
129
  if (a)
120
- return /* @__PURE__ */ l(a, { ...m }, e.name);
130
+ return /* @__PURE__ */ l(a, { ...n }, e.name);
121
131
  } else
122
- return /* @__PURE__ */ l(A, { ...m }, e.name);
123
- }),
124
- /* @__PURE__ */ l(j, { type: "submit", onClick: k, children: _ }),
125
- /* @__PURE__ */ l(j, { onClick: B, children: y })
132
+ return /* @__PURE__ */ l(K, { ...n }, e.name);
133
+ })),
134
+ /* @__PURE__ */ g($, { sx: W, children: [
135
+ /* @__PURE__ */ l(F, { type: "submit", onClick: N, children: _ }),
136
+ /* @__PURE__ */ l(F, { onClick: T, children: S })
137
+ ] })
126
138
  ] });
127
139
  };
128
140
  export {
129
- J as default
141
+ X as default
130
142
  };
@@ -1,5 +1,6 @@
1
1
  import "react/jsx-runtime";
2
- import { Z as a } from "../../../ZoomControllers-2e737c18.js";
2
+ import { Z as p } from "../../../ZoomControllers-8a147df0.js";
3
+ import "../../../Box-8cd400c2.js";
3
4
  export {
4
- a as default
5
+ p as default
5
6
  };
@@ -1,14 +1,15 @@
1
1
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
2
2
  import { useState as x, useEffect as n, useMemo as w } from "react";
3
- import { B as m, T as C, Z as S, a as W } from "../../../ZoomControllers-2e737c18.js";
3
+ import { T as C, Z as S, a as W } from "../../../ZoomControllers-8a147df0.js";
4
+ import { B as m } from "../../../Box-8cd400c2.js";
4
5
  const D = {
5
6
  position: "relative",
6
7
  borderRadius: "1rem",
7
8
  overflow: "hidden"
8
- }, v = ({
9
+ }, B = ({
9
10
  children: c,
10
- parentContainerProps: l,
11
- zoomControllerProps: f,
11
+ parentContainerProps: f,
12
+ zoomControllerProps: l,
12
13
  defaultRotationAngle: p,
13
14
  onRotate: o,
14
15
  height: s,
@@ -16,38 +17,38 @@ const D = {
16
17
  rotatedImageScale: i = 0.55,
17
18
  ...d
18
19
  }) => {
19
- const [r, h] = x(p ?? "0");
20
+ const [e, h] = x(p ?? "0");
20
21
  function u() {
21
- h((e) => ((parseInt(e) + 90) % 360).toString());
22
+ h((r) => ((parseInt(r) + 90) % 360).toString());
22
23
  }
23
24
  n(() => {
24
- const e = document.querySelector(".react-transform-wrapper");
25
- e && (e.style.width = "100%", e.style.height = "100%");
25
+ const r = document.querySelector(".react-transform-wrapper");
26
+ r && (r.style.width = "100%", r.style.height = "100%");
26
27
  }, []), n(() => {
27
- const e = document.querySelector(".react-transform-component");
28
- e && (e.style.transformOrigin = "center center", e.style.height = s ?? "100%", e.style.width = a ?? "100%");
28
+ const r = document.querySelector(".react-transform-component");
29
+ r && (r.style.transformOrigin = "center center", r.style.height = s ?? "100%", r.style.width = a ?? "100%");
29
30
  }, [a, s]), n(() => {
30
- o == null || o(r);
31
- }, [r]);
31
+ o == null || o(e);
32
+ }, [e]);
32
33
  const g = w(() => ({
33
- transform: `rotate(${r}deg) scale(${parseInt(r) === 0 || parseInt(r) === 180 ? 1 : i})`,
34
+ transform: `rotate(${e}deg) scale(${parseInt(e) === 0 || parseInt(e) === 180 ? 1 : i})`,
34
35
  width: "100%",
35
36
  height: "100%",
36
37
  "& img": {
37
38
  height: "100%"
38
39
  }
39
- }), [r, i]);
40
+ }), [e, i]);
40
41
  return /* @__PURE__ */ t(
41
42
  m,
42
43
  {
43
44
  sx: D,
44
- ...l,
45
+ ...f,
45
46
  children: /* @__PURE__ */ y(C, { ...d, children: [
46
47
  /* @__PURE__ */ t(
47
48
  S,
48
49
  {
49
50
  handleRotate: u,
50
- ...f
51
+ ...l
51
52
  }
52
53
  ),
53
54
  /* @__PURE__ */ t(W, { children: /* @__PURE__ */ t(m, { sx: g, children: c }) })
@@ -56,5 +57,5 @@ const D = {
56
57
  );
57
58
  };
58
59
  export {
59
- v as default
60
+ B as default
60
61
  };
@@ -1,7 +1,7 @@
1
- import { a as _, C as g, c as E, h as b } from "./createTheme-54078d82.js";
2
- import { c as y } from "./createSvgIcon-5180e4db.js";
3
- import { c as C, d as N, i as S, o as I, a as $, u as x, b as T } from "./Grow-d188a215.js";
4
- import { s as q, a as P, b as w, u as D, c as O } from "./TransitionGroupContext-7cd3ef83.js";
1
+ import { a as _, C as g, b, h as E } from "./createTheme-ca1567c6.js";
2
+ import { c as y } from "./createSvgIcon-bb3d4825.js";
3
+ import { c as C, d as N, i as S, o as I, a as $, u as x, b as T } from "./Grow-a906cda2.js";
4
+ import { s as q, a as P, b as w, u as D, c as O } from "./TransitionGroupContext-ba502e63.js";
5
5
  import { u as R } from "./unsupportedProp-3dbf01f6.js";
6
6
  function M(e, r) {
7
7
  return process.env.NODE_ENV === "production" ? () => null : (t, u, s, n, o) => {
@@ -30,7 +30,7 @@ const k = {
30
30
  }
31
31
  }, G = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32
32
  __proto__: null,
33
- capitalize: E,
33
+ capitalize: b,
34
34
  createChainedFunction: C,
35
35
  createSvgIcon: y,
36
36
  debounce: N,
@@ -59,7 +59,7 @@ var h = { exports: {} };
59
59
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
60
60
  })(h);
61
61
  var Y = h.exports, c = {};
62
- const V = /* @__PURE__ */ b(G);
62
+ const V = /* @__PURE__ */ E(G);
63
63
  var m;
64
64
  function B() {
65
65
  return m || (m = 1, function(e) {
@@ -1,9 +1,9 @@
1
- import { g as b, c as h, _ as w, a as y, P as o } from "./createTheme-54078d82.js";
1
+ import { g as I, b as h, _ as w, a as y, P as o } from "./createTheme-ca1567c6.js";
2
2
  import * as v from "react";
3
3
  import { jsxs as C, jsx as z } from "react/jsx-runtime";
4
- import { g as T, s as N, a as R, c as O, b as B } from "./styled-2bc0b59e.js";
4
+ import { g as T, a as N, b as R, c as O, e as B } from "./styled-80b57810.js";
5
5
  function j(e) {
6
- return b("MuiSvgIcon", e);
6
+ return I("MuiSvgIcon", e);
7
7
  }
8
8
  T("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
9
9
  const A = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], E = (e) => {
@@ -78,10 +78,10 @@ const A = ["children", "className", "color", "component", "fontSize", "htmlColor
78
78
  hasSvgAsChild: l
79
79
  }), x = {};
80
80
  m || (x.viewBox = a);
81
- const I = E($);
81
+ const b = E($);
82
82
  return /* @__PURE__ */ C(V, y({
83
83
  as: c,
84
- className: O(I.root, d),
84
+ className: O(b.root, d),
85
85
  focusable: "false",
86
86
  color: u,
87
87
  "aria-hidden": s ? void 0 : !0,
@@ -2204,11 +2204,11 @@ export {
2204
2204
  ue as P,
2205
2205
  se as _,
2206
2206
  U as a,
2207
- qr as b,
2208
- bt as c,
2207
+ bt as b,
2208
+ En as c,
2209
2209
  Ge as d,
2210
- On as e,
2211
- En as f,
2210
+ qr as e,
2211
+ On as f,
2212
2212
  Ft as g,
2213
2213
  vn as h,
2214
2214
  oe as i,
@@ -1,5 +1,5 @@
1
- import { g as t } from "./styled-2bc0b59e.js";
2
- import { g as e } from "./createTheme-54078d82.js";
1
+ import { g as t } from "./styled-80b57810.js";
2
+ import { g as e } from "./createTheme-ca1567c6.js";
3
3
  function a(i) {
4
4
  return e("MuiDivider", i);
5
5
  }
@@ -1,4 +1,4 @@
1
- import { a as n } from "./createTheme-54078d82.js";
1
+ import { a as n } from "./createTheme-ca1567c6.js";
2
2
  const s = "exact-prop: ​";
3
3
  function u(e) {
4
4
  return process.env.NODE_ENV === "production" ? e : n({}, e, {
@@ -1,4 +1,4 @@
1
- import { _ as a, a as i, d as c, i as f } from "./createTheme-54078d82.js";
1
+ import { _ as a, a as i, d as c, i as f } from "./createTheme-ca1567c6.js";
2
2
  const x = ["sx"], P = (t) => {
3
3
  var s, o;
4
4
  const n = {
@@ -1,5 +1,5 @@
1
1
  import "../assets/theme.css";
2
- import { f as e } from "../createTheme-54078d82.js";
2
+ import { c as e } from "../createTheme-ca1567c6.js";
3
3
  const f = {
4
4
  50: "#fffde7",
5
5
  100: "#fff9c4",
@@ -2,9 +2,9 @@ import { jsx as u } from "react/jsx-runtime";
2
2
  import * as p from "react";
3
3
  import { useMemo as O } from "react";
4
4
  import { defaultTheme as P } from "../global/theme.js";
5
- import { P as n, a as c, _ as D, f as j, n as V } from "../createTheme-54078d82.js";
5
+ import { P as n, a as c, _ as D, c as j, n as V } from "../createTheme-ca1567c6.js";
6
6
  import { c as b, a as g, T as f } from "../useThemeWithoutDefault-188598a8.js";
7
- import { e as v } from "../exactProp-893ad662.js";
7
+ import { e as v } from "../exactProp-3d9df1ae.js";
8
8
  const l = /* @__PURE__ */ p.createContext(null);
9
9
  process.env.NODE_ENV !== "production" && (l.displayName = "ThemeContext");
10
10
  const E = l;
@@ -1,4 +1,4 @@
1
- import { a as E, g as we, j as re, _ as ne, c as z, s as Ce, f as xe } from "./createTheme-54078d82.js";
1
+ import { a as E, g as we, j as re, _ as ne, b as z, s as Ce, c as xe } from "./createTheme-ca1567c6.js";
2
2
  import { m as ke, w as Oe, a as $e, g as Ae, s as Fe, r as Me, b as Ie, i as Le, c as Ne, T as oe } from "./useThemeWithoutDefault-188598a8.js";
3
3
  import * as F from "react";
4
4
  var V = { exports: {} }, f = {};
@@ -16,7 +16,7 @@ function De() {
16
16
  if (X)
17
17
  return f;
18
18
  X = 1;
19
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g;
19
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g;
20
20
  g = Symbol.for("react.module.reference");
21
21
  function c(o) {
22
22
  if (typeof o == "object" && o !== null) {
@@ -35,7 +35,7 @@ function De() {
35
35
  case S:
36
36
  case a:
37
37
  case m:
38
- case b:
38
+ case _:
39
39
  case v:
40
40
  case l:
41
41
  return o;
@@ -48,7 +48,7 @@ function De() {
48
48
  }
49
49
  }
50
50
  }
51
- return f.ContextConsumer = a, f.ContextProvider = l, f.Element = e, f.ForwardRef = m, f.Fragment = n, f.Lazy = b, f.Memo = v, f.Portal = t, f.Profiler = i, f.StrictMode = r, f.Suspense = h, f.SuspenseList = p, f.isAsyncMode = function() {
51
+ return f.ContextConsumer = a, f.ContextProvider = l, f.Element = e, f.ForwardRef = m, f.Fragment = n, f.Lazy = _, f.Memo = v, f.Portal = t, f.Profiler = i, f.StrictMode = r, f.Suspense = h, f.SuspenseList = p, f.isAsyncMode = function() {
52
52
  return !1;
53
53
  }, f.isConcurrentMode = function() {
54
54
  return !1;
@@ -63,7 +63,7 @@ function De() {
63
63
  }, f.isFragment = function(o) {
64
64
  return c(o) === n;
65
65
  }, f.isLazy = function(o) {
66
- return c(o) === b;
66
+ return c(o) === _;
67
67
  }, f.isMemo = function(o) {
68
68
  return c(o) === v;
69
69
  }, f.isPortal = function(o) {
@@ -77,7 +77,7 @@ function De() {
77
77
  }, f.isSuspenseList = function(o) {
78
78
  return c(o) === p;
79
79
  }, f.isValidElementType = function(o) {
80
- return typeof o == "string" || typeof o == "function" || o === n || o === i || o === r || o === h || o === p || o === P || typeof o == "object" && o !== null && (o.$$typeof === b || o.$$typeof === v || o.$$typeof === l || o.$$typeof === a || o.$$typeof === m || o.$$typeof === g || o.getModuleId !== void 0);
80
+ return typeof o == "string" || typeof o == "function" || o === n || o === i || o === r || o === h || o === p || o === P || typeof o == "object" && o !== null && (o.$$typeof === _ || o.$$typeof === v || o.$$typeof === l || o.$$typeof === a || o.$$typeof === m || o.$$typeof === g || o.getModuleId !== void 0);
81
81
  }, f.typeOf = c, f;
82
82
  }
83
83
  var d = {};
@@ -93,10 +93,10 @@ var d = {};
93
93
  var B;
94
94
  function ze() {
95
95
  return B || (B = 1, process.env.NODE_ENV !== "production" && function() {
96
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g = !1, c = !1, o = !1, T = !1, k = !1, R;
96
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g = !1, c = !1, o = !1, T = !1, k = !1, R;
97
97
  R = Symbol.for("react.module.reference");
98
- function _(s) {
99
- return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || k || s === r || s === h || s === p || T || s === P || g || c || o || typeof s == "object" && s !== null && (s.$$typeof === b || s.$$typeof === v || s.$$typeof === l || s.$$typeof === a || s.$$typeof === m || // This needs to include all possible module reference object
98
+ function b(s) {
99
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || k || s === r || s === h || s === p || T || s === P || g || c || o || typeof s == "object" && s !== null && (s.$$typeof === _ || s.$$typeof === v || s.$$typeof === l || s.$$typeof === a || s.$$typeof === m || // This needs to include all possible module reference object
100
100
  // types supported by any Flight configuration anywhere since
101
101
  // we don't know which Flight build this will end up being used
102
102
  // with.
@@ -121,7 +121,7 @@ function ze() {
121
121
  case S:
122
122
  case a:
123
123
  case m:
124
- case b:
124
+ case _:
125
125
  case v:
126
126
  case l:
127
127
  return W;
@@ -134,7 +134,7 @@ function ze() {
134
134
  }
135
135
  }
136
136
  }
137
- var w = a, O = l, $ = e, C = m, u = n, x = b, L = v, N = t, Y = i, A = r, ue = h, fe = p, q = !1, H = !1;
137
+ var w = a, O = l, $ = e, C = m, u = n, x = _, L = v, N = t, Y = i, A = r, ue = h, fe = p, q = !1, H = !1;
138
138
  function de(s) {
139
139
  return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
140
140
  }
@@ -157,12 +157,12 @@ function ze() {
157
157
  return y(s) === n;
158
158
  }
159
159
  function Se(s) {
160
- return y(s) === b;
160
+ return y(s) === _;
161
161
  }
162
- function _e(s) {
162
+ function be(s) {
163
163
  return y(s) === v;
164
164
  }
165
- function be(s) {
165
+ function _e(s) {
166
166
  return y(s) === t;
167
167
  }
168
168
  function Ee(s) {
@@ -177,7 +177,7 @@ function ze() {
177
177
  function Re(s) {
178
178
  return y(s) === p;
179
179
  }
180
- d.ContextConsumer = w, d.ContextProvider = O, d.Element = $, d.ForwardRef = C, d.Fragment = u, d.Lazy = x, d.Memo = L, d.Portal = N, d.Profiler = Y, d.StrictMode = A, d.Suspense = ue, d.SuspenseList = fe, d.isAsyncMode = de, d.isConcurrentMode = me, d.isContextConsumer = pe, d.isContextProvider = he, d.isElement = ye, d.isForwardRef = ve, d.isFragment = ge, d.isLazy = Se, d.isMemo = _e, d.isPortal = be, d.isProfiler = Ee, d.isStrictMode = Te, d.isSuspense = Pe, d.isSuspenseList = Re, d.isValidElementType = _, d.typeOf = y;
180
+ d.ContextConsumer = w, d.ContextProvider = O, d.Element = $, d.ForwardRef = C, d.Fragment = u, d.Lazy = x, d.Memo = L, d.Portal = N, d.Profiler = Y, d.StrictMode = A, d.Suspense = ue, d.SuspenseList = fe, d.isAsyncMode = de, d.isConcurrentMode = me, d.isContextConsumer = pe, d.isContextProvider = he, d.isElement = ye, d.isForwardRef = ve, d.isFragment = ge, d.isLazy = Se, d.isMemo = be, d.isPortal = _e, d.isProfiler = Ee, d.isStrictMode = Te, d.isSuspense = Pe, d.isSuspenseList = Re, d.isValidElementType = b, d.typeOf = y;
181
181
  }()), d;
182
182
  }
183
183
  process.env.NODE_ENV === "production" ? V.exports = De() : V.exports = ze();
@@ -289,19 +289,19 @@ You may have forgotten to import it.`);
289
289
  v.push.apply(v, p);
290
290
  else {
291
291
  process.env.NODE_ENV !== "production" && p[0][0] === void 0 && console.error(Q), v.push(p[0][0]);
292
- for (var b = p.length, P = 1; P < b; P++)
292
+ for (var _ = p.length, P = 1; P < _; P++)
293
293
  process.env.NODE_ENV !== "production" && p[0][P] === void 0 && console.error(Q), v.push(p[P], p[0][P]);
294
294
  }
295
295
  var g = Oe(function(c, o, T) {
296
- var k = h && c.as || i, R = "", _ = [], y = c;
296
+ var k = h && c.as || i, R = "", b = [], y = c;
297
297
  if (c.theme == null) {
298
298
  y = {};
299
299
  for (var w in c)
300
300
  y[w] = c[w];
301
301
  y.theme = F.useContext($e);
302
302
  }
303
- typeof c.className == "string" ? R = Ae(o.registered, _, c.className) : c.className != null && (R = c.className + " ");
304
- var O = Fe(v.concat(_), o.registered, y);
303
+ typeof c.className == "string" ? R = Ae(o.registered, b, c.className) : c.className != null && (R = c.className + " ");
304
+ var O = Fe(v.concat(b), o.registered, y);
305
305
  R += o.key + "-" + O.name, a !== void 0 && (R += " " + a);
306
306
  var $ = h && S === void 0 ? J(k) : m, C = {};
307
307
  for (var u in c)
@@ -572,7 +572,7 @@ function ct(e = {}) {
572
572
  }))
573
573
  }));
574
574
  return l.__mui_systemSx = !0, (a, S = {}) => {
575
- Je(a, (_) => _.filter((y) => !(y != null && y.__mui_systemSx)));
575
+ Je(a, (b) => b.filter((y) => !(y != null && y.__mui_systemSx)));
576
576
  const {
577
577
  name: m,
578
578
  slot: h,
@@ -580,7 +580,7 @@ function ct(e = {}) {
580
580
  skipSx: v,
581
581
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
582
582
  // For more details: https://github.com/mui/material-ui/pull/37908
583
- overridesResolver: b = lt(te(h))
583
+ overridesResolver: _ = lt(te(h))
584
584
  } = S, P = ne(S, tt), g = p !== void 0 ? p : (
585
585
  // TODO v6: remove `Root` in the next major release
586
586
  // For more details: https://github.com/mui/material-ui/pull/37908
@@ -593,15 +593,15 @@ function ct(e = {}) {
593
593
  const k = Ke(a, E({
594
594
  shouldForwardProp: T,
595
595
  label: o
596
- }, P)), R = (_, ...y) => {
596
+ }, P)), R = (b, ...y) => {
597
597
  const w = y ? y.map((u) => typeof u == "function" && u.__emotion_real !== u ? (x) => u(E({}, x, {
598
598
  theme: M(E({}, x, {
599
599
  defaultTheme: n,
600
600
  themeId: t
601
601
  }))
602
602
  })) : u) : [];
603
- let O = _;
604
- m && b && w.push((u) => {
603
+ let O = b;
604
+ m && _ && w.push((u) => {
605
605
  const x = M(E({}, u, {
606
606
  defaultTheme: n,
607
607
  themeId: t
@@ -612,7 +612,7 @@ function ct(e = {}) {
612
612
  N[Y] = typeof A == "function" ? A(E({}, u, {
613
613
  theme: x
614
614
  })) : A;
615
- }), b(u, N);
615
+ }), _(u, N);
616
616
  }
617
617
  return null;
618
618
  }), m && !g && w.push((u) => {
@@ -623,14 +623,14 @@ function ct(e = {}) {
623
623
  return st(u, it(m, x), x, m);
624
624
  }), c || w.push(l);
625
625
  const $ = w.length - y.length;
626
- if (Array.isArray(_) && $ > 0) {
626
+ if (Array.isArray(b) && $ > 0) {
627
627
  const u = new Array($).fill("");
628
- O = [..._, ...u], O.raw = [..._.raw, ...u];
628
+ O = [...b, ...u], O.raw = [...b.raw, ...u];
629
629
  } else
630
- typeof _ == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created
630
+ typeof b == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created
631
631
  // component stays as a function. This condition makes sure that we do not interpolate functions
632
632
  // which are basically components used as a selectors.
633
- _.__emotion_real !== _ && (O = (u) => _(E({}, u, {
633
+ b.__emotion_real !== b && (O = (u) => b(E({}, u, {
634
634
  theme: M(E({}, u, {
635
635
  defaultTheme: n,
636
636
  themeId: t
@@ -668,7 +668,7 @@ function ft({
668
668
  });
669
669
  }
670
670
  const dt = xe(), ce = dt;
671
- function _t({
671
+ function bt({
672
672
  props: e,
673
673
  name: t
674
674
  }) {
@@ -679,22 +679,22 @@ function _t({
679
679
  themeId: oe
680
680
  });
681
681
  }
682
- const mt = (e) => I(e) && e !== "classes", bt = I, pt = ct({
682
+ const mt = (e) => I(e) && e !== "classes", _t = I, pt = ct({
683
683
  themeId: oe,
684
684
  defaultTheme: ce,
685
685
  rootShouldForwardProp: mt
686
686
  }), Et = pt;
687
687
  export {
688
- _t as a,
689
- vt as b,
688
+ Et as a,
689
+ bt as b,
690
690
  St as c,
691
691
  ce as d,
692
- se as e,
693
- G as f,
692
+ vt as e,
693
+ se as f,
694
694
  gt as g,
695
- bt as h,
696
- Ke as i,
695
+ G as h,
696
+ _t as i,
697
697
  mt as r,
698
- Et as s,
698
+ Ke as s,
699
699
  Qe as u
700
700
  };