@kvell-group/ui 1.6.5 → 1.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,39 +1,39 @@
1
- import { jsx as p, jsxs as z, Fragment as pr } from "react/jsx-runtime";
2
- import { useState as tr, useRef as W, useEffect as A, useLayoutEffect as Wt, createContext as Dr, useContext as $r, useMemo as zt, useCallback as Lr, useId as Yt, forwardRef as _ } from "react";
3
- import Gt from "react-dom";
4
- function M(r) {
5
- return Object.keys(r);
6
- }
7
- function ir(r) {
8
- return r && typeof r == "object" && !Array.isArray(r);
9
- }
10
- function vr(r, t) {
11
- const e = { ...r }, n = t;
12
- return ir(r) && ir(t) && Object.keys(t).forEach((a) => {
13
- ir(n[a]) && a in r ? e[a] = vr(e[a], n[a]) : e[a] = n[a];
1
+ import { jsx as p, jsxs as z, Fragment as pt } from "react/jsx-runtime";
2
+ import { useState as rt, useRef as W, useEffect as A, useLayoutEffect as Wr, createContext as Dt, useContext as $t, useMemo as zr, useCallback as Lt, useId as Yr, forwardRef as _ } from "react";
3
+ import Gr from "react-dom";
4
+ import './assets/main.css';function M(t) {
5
+ return Object.keys(t);
6
+ }
7
+ function it(t) {
8
+ return t && typeof t == "object" && !Array.isArray(t);
9
+ }
10
+ function vt(t, r) {
11
+ const e = { ...t }, n = r;
12
+ return it(t) && it(r) && Object.keys(r).forEach((a) => {
13
+ it(n[a]) && a in t ? e[a] = vt(e[a], n[a]) : e[a] = n[a];
14
14
  }), e;
15
15
  }
16
- function Dt(r) {
17
- return r.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
16
+ function Dr(t) {
17
+ return t.replace(/[A-Z]/g, (r) => `-${r.toLowerCase()}`);
18
18
  }
19
- function Xt(r) {
20
- var t;
21
- return typeof r != "string" || !r.includes("var(--mantine-scale)") ? r : (t = r.match(/^calc\((.*?)\)$/)) == null ? void 0 : t[1].split("*")[0].trim();
19
+ function Xr(t) {
20
+ var r;
21
+ return typeof t != "string" || !t.includes("var(--mantine-scale)") ? t : (r = t.match(/^calc\((.*?)\)$/)) == null ? void 0 : r[1].split("*")[0].trim();
22
22
  }
23
- function Ut(r) {
24
- const t = Xt(r);
25
- return typeof t == "number" ? t : typeof t == "string" ? t.includes("calc") || t.includes("var") ? t : t.includes("px") ? Number(t.replace("px", "")) : t.includes("rem") ? Number(t.replace("rem", "")) * 16 : t.includes("em") ? Number(t.replace("em", "")) * 16 : Number(t) : NaN;
23
+ function Ur(t) {
24
+ const r = Xr(t);
25
+ return typeof r == "number" ? r : typeof r == "string" ? r.includes("calc") || r.includes("var") ? r : r.includes("px") ? Number(r.replace("px", "")) : r.includes("rem") ? Number(r.replace("rem", "")) * 16 : r.includes("em") ? Number(r.replace("em", "")) * 16 : Number(r) : NaN;
26
26
  }
27
- function sr(r) {
28
- return r === "0rem" ? "0rem" : `calc(${r} * var(--mantine-scale))`;
27
+ function st(t) {
28
+ return t === "0rem" ? "0rem" : `calc(${t} * var(--mantine-scale))`;
29
29
  }
30
- function Xr(r, { shouldScale: t = !1 } = {}) {
30
+ function Xt(t, { shouldScale: r = !1 } = {}) {
31
31
  function e(n) {
32
32
  if (n === 0 || n === "0")
33
- return `0${r}`;
33
+ return `0${t}`;
34
34
  if (typeof n == "number") {
35
- const a = `${n / 16}${r}`;
36
- return t ? sr(a) : a;
35
+ const a = `${n / 16}${t}`;
36
+ return r ? st(a) : a;
37
37
  }
38
38
  if (typeof n == "string") {
39
39
  if (n === "" || n.startsWith("calc(") || n.startsWith("clamp(") || n.includes("rgba("))
@@ -42,66 +42,66 @@ function Xr(r, { shouldScale: t = !1 } = {}) {
42
42
  return n.split(",").map((o) => e(o)).join(",");
43
43
  if (n.includes(" "))
44
44
  return n.split(" ").map((o) => e(o)).join(" ");
45
- if (n.includes(r))
46
- return t ? sr(n) : n;
45
+ if (n.includes(t))
46
+ return r ? st(n) : n;
47
47
  const a = n.replace("px", "");
48
48
  if (!Number.isNaN(Number(a))) {
49
- const o = `${Number(a) / 16}${r}`;
50
- return t ? sr(o) : o;
49
+ const o = `${Number(a) / 16}${t}`;
50
+ return r ? st(o) : o;
51
51
  }
52
52
  }
53
53
  return n;
54
54
  }
55
55
  return e;
56
56
  }
57
- const c = Xr("rem", { shouldScale: !0 }), Er = Xr("em");
58
- function Sr(r) {
59
- return Object.keys(r).reduce((t, e) => (r[e] !== void 0 && (t[e] = r[e]), t), {});
57
+ const c = Xt("rem", { shouldScale: !0 }), Et = Xt("em");
58
+ function St(t) {
59
+ return Object.keys(t).reduce((r, e) => (t[e] !== void 0 && (r[e] = t[e]), r), {});
60
60
  }
61
- function Ur(r) {
62
- if (typeof r == "number")
61
+ function Ut(t) {
62
+ if (typeof t == "number")
63
63
  return !0;
64
- if (typeof r == "string") {
65
- if (r.startsWith("calc(") || r.startsWith("var(") || r.includes(" ") && r.trim() !== "")
64
+ if (typeof t == "string") {
65
+ if (t.startsWith("calc(") || t.startsWith("var(") || t.includes(" ") && t.trim() !== "")
66
66
  return !0;
67
- const t = /^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;
68
- return r.trim().split(/\s+/).every((n) => t.test(n));
67
+ const r = /^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;
68
+ return t.trim().split(/\s+/).every((n) => r.test(n));
69
69
  }
70
70
  return !1;
71
71
  }
72
- function O(r, t = "size", e = !0) {
73
- if (r !== void 0)
74
- return Ur(r) ? e ? c(r) : r : `var(--${t}-${r})`;
72
+ function O(t, r = "size", e = !0) {
73
+ if (t !== void 0)
74
+ return Ut(t) ? e ? c(t) : t : `var(--${r}-${t})`;
75
75
  }
76
- function qr(r) {
77
- return r === void 0 ? "var(--mantine-radius-default)" : O(r, "mantine-radius");
76
+ function qt(t) {
77
+ return t === void 0 ? "var(--mantine-radius-default)" : O(t, "mantine-radius");
78
78
  }
79
- function nr(r) {
80
- return O(r, "mantine-font-size");
79
+ function nt(t) {
80
+ return O(t, "mantine-font-size");
81
81
  }
82
- function qt(r, t) {
82
+ function qr(t, r) {
83
83
  try {
84
- return r.addEventListener("change", t), () => r.removeEventListener("change", t);
84
+ return t.addEventListener("change", r), () => t.removeEventListener("change", r);
85
85
  } catch {
86
- return r.addListener(t), () => r.removeListener(t);
86
+ return t.addListener(r), () => t.removeListener(r);
87
87
  }
88
88
  }
89
- function Qt(r, t) {
90
- return typeof window < "u" && "matchMedia" in window ? window.matchMedia(r).matches : !1;
89
+ function Qr(t, r) {
90
+ return typeof window < "u" && "matchMedia" in window ? window.matchMedia(t).matches : !1;
91
91
  }
92
- function Kt(r, t, { getInitialValueInEffect: e } = {
92
+ function Kr(t, r, { getInitialValueInEffect: e } = {
93
93
  getInitialValueInEffect: !0
94
94
  }) {
95
- const [n, a] = tr(
96
- e ? t : Qt(r)
95
+ const [n, a] = rt(
96
+ e ? r : Qr(t)
97
97
  ), o = W(null);
98
98
  return A(() => {
99
99
  if ("matchMedia" in window)
100
- return o.current = window.matchMedia(r), a(o.current.matches), qt(o.current, (i) => a(i.matches));
101
- }, [r]), n;
100
+ return o.current = window.matchMedia(t), a(o.current.matches), qr(o.current, (i) => a(i.matches));
101
+ }, [t]), n;
102
102
  }
103
- const Qr = typeof document < "u" ? Wt : A;
104
- function Zt(r, t) {
103
+ const Qt = typeof document < "u" ? Wr : A;
104
+ function Zr(t, r) {
105
105
  const e = W(!1);
106
106
  A(
107
107
  () => () => {
@@ -110,50 +110,50 @@ function Zt(r, t) {
110
110
  []
111
111
  ), A(() => {
112
112
  if (e.current)
113
- return r();
113
+ return t();
114
114
  e.current = !0;
115
- }, t);
116
- }
117
- function Jt(r, t) {
118
- return Kt("(prefers-reduced-motion: reduce)", r, t);
119
- }
120
- function Kr(r) {
121
- var t, e, n = "";
122
- if (typeof r == "string" || typeof r == "number") n += r;
123
- else if (typeof r == "object") if (Array.isArray(r)) {
124
- var a = r.length;
125
- for (t = 0; t < a; t++) r[t] && (e = Kr(r[t])) && (n && (n += " "), n += e);
126
- } else for (e in r) r[e] && (n && (n += " "), n += e);
115
+ }, r);
116
+ }
117
+ function Jr(t, r) {
118
+ return Kr("(prefers-reduced-motion: reduce)", t, r);
119
+ }
120
+ function Kt(t) {
121
+ var r, e, n = "";
122
+ if (typeof t == "string" || typeof t == "number") n += t;
123
+ else if (typeof t == "object") if (Array.isArray(t)) {
124
+ var a = t.length;
125
+ for (r = 0; r < a; r++) t[r] && (e = Kt(t[r])) && (n && (n += " "), n += e);
126
+ } else for (e in t) t[e] && (n && (n += " "), n += e);
127
127
  return n;
128
128
  }
129
129
  function B() {
130
- for (var r, t, e = 0, n = "", a = arguments.length; e < a; e++) (r = arguments[e]) && (t = Kr(r)) && (n && (n += " "), n += t);
130
+ for (var t, r, e = 0, n = "", a = arguments.length; e < a; e++) (t = arguments[e]) && (r = Kt(t)) && (n && (n += " "), n += r);
131
131
  return n;
132
132
  }
133
- const rn = {};
134
- function tn(r) {
135
- const t = {};
136
- return r.forEach((e) => {
133
+ const tn = {};
134
+ function rn(t) {
135
+ const r = {};
136
+ return t.forEach((e) => {
137
137
  Object.entries(e).forEach(([n, a]) => {
138
- t[n] ? t[n] = B(t[n], a) : t[n] = a;
138
+ r[n] ? r[n] = B(r[n], a) : r[n] = a;
139
139
  });
140
- }), t;
140
+ }), r;
141
141
  }
142
- function wr({ theme: r, classNames: t, props: e, stylesCtx: n }) {
143
- const o = (Array.isArray(t) ? t : [t]).map(
144
- (i) => typeof i == "function" ? i(r, e, n) : i || rn
142
+ function wt({ theme: t, classNames: r, props: e, stylesCtx: n }) {
143
+ const o = (Array.isArray(r) ? r : [r]).map(
144
+ (i) => typeof i == "function" ? i(t, e, n) : i || tn
145
145
  );
146
- return tn(o);
146
+ return rn(o);
147
147
  }
148
- function gr({ theme: r, styles: t, props: e, stylesCtx: n }) {
149
- return (Array.isArray(t) ? t : [t]).reduce((o, i) => typeof i == "function" ? { ...o, ...i(r, e, n) } : { ...o, ...i }, {});
148
+ function gt({ theme: t, styles: r, props: e, stylesCtx: n }) {
149
+ return (Array.isArray(r) ? r : [r]).reduce((o, i) => typeof i == "function" ? { ...o, ...i(t, e, n) } : { ...o, ...i }, {});
150
150
  }
151
- const Zr = Dr(null);
151
+ const Zt = Dt(null);
152
152
  function P() {
153
- const r = $r(Zr);
154
- if (!r)
153
+ const t = $t(Zt);
154
+ if (!t)
155
155
  throw new Error("[@mantine/core] MantineProvider was not found in tree");
156
- return r;
156
+ return t;
157
157
  }
158
158
  function nn() {
159
159
  return P().cssVariablesResolver;
@@ -161,7 +161,7 @@ function nn() {
161
161
  function en() {
162
162
  return P().classNamesPrefix;
163
163
  }
164
- function Cr() {
164
+ function Ct() {
165
165
  return P().getStyleNonce;
166
166
  }
167
167
  function on() {
@@ -171,24 +171,24 @@ function an() {
171
171
  return P().headless;
172
172
  }
173
173
  function sn() {
174
- var r;
175
- return (r = P().stylesTransform) == null ? void 0 : r.sx;
174
+ var t;
175
+ return (t = P().stylesTransform) == null ? void 0 : t.sx;
176
176
  }
177
177
  function cn() {
178
- var r;
179
- return (r = P().stylesTransform) == null ? void 0 : r.styles;
178
+ var t;
179
+ return (t = P().stylesTransform) == null ? void 0 : t.styles;
180
180
  }
181
181
  function ln() {
182
182
  return P().env || "default";
183
183
  }
184
- function dn(r) {
185
- return /^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(r);
184
+ function dn(t) {
185
+ return /^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(t);
186
186
  }
187
- function fn(r) {
188
- let t = r.replace("#", "");
189
- if (t.length === 3) {
190
- const i = t.split("");
191
- t = [
187
+ function fn(t) {
188
+ let r = t.replace("#", "");
189
+ if (r.length === 3) {
190
+ const i = r.split("");
191
+ r = [
192
192
  i[0],
193
193
  i[0],
194
194
  i[1],
@@ -197,16 +197,16 @@ function fn(r) {
197
197
  i[2]
198
198
  ].join("");
199
199
  }
200
- if (t.length === 8) {
201
- const i = parseInt(t.slice(6, 8), 16) / 255;
200
+ if (r.length === 8) {
201
+ const i = parseInt(r.slice(6, 8), 16) / 255;
202
202
  return {
203
- r: parseInt(t.slice(0, 2), 16),
204
- g: parseInt(t.slice(2, 4), 16),
205
- b: parseInt(t.slice(4, 6), 16),
203
+ r: parseInt(r.slice(0, 2), 16),
204
+ g: parseInt(r.slice(2, 4), 16),
205
+ b: parseInt(r.slice(4, 6), 16),
206
206
  a: i
207
207
  };
208
208
  }
209
- const e = parseInt(t, 16), n = e >> 16 & 255, a = e >> 8 & 255, o = e & 255;
209
+ const e = parseInt(r, 16), n = e >> 16 & 255, a = e >> 8 & 255, o = e & 255;
210
210
  return {
211
211
  r: n,
212
212
  g: a,
@@ -214,12 +214,12 @@ function fn(r) {
214
214
  a: 1
215
215
  };
216
216
  }
217
- function un(r) {
218
- const [t, e, n, a] = r.replace(/[^0-9,./]/g, "").split(/[/,]/).map(Number);
219
- return { r: t, g: e, b: n, a: a || 1 };
217
+ function un(t) {
218
+ const [r, e, n, a] = t.replace(/[^0-9,./]/g, "").split(/[/,]/).map(Number);
219
+ return { r, g: e, b: n, a: a || 1 };
220
220
  }
221
- function mn(r) {
222
- const t = /^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i, e = r.match(t);
221
+ function mn(t) {
222
+ const r = /^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i, e = t.match(r);
223
223
  if (!e)
224
224
  return {
225
225
  r: 0,
@@ -236,142 +236,142 @@ function mn(r) {
236
236
  a: i || 1
237
237
  };
238
238
  }
239
- function xr(r) {
240
- return dn(r) ? fn(r) : r.startsWith("rgb") ? un(r) : r.startsWith("hsl") ? mn(r) : {
239
+ function xt(t) {
240
+ return dn(t) ? fn(t) : t.startsWith("rgb") ? un(t) : t.startsWith("hsl") ? mn(t) : {
241
241
  r: 0,
242
242
  g: 0,
243
243
  b: 0,
244
244
  a: 1
245
245
  };
246
246
  }
247
- function Z(r, t) {
248
- if (r.startsWith("var("))
249
- return `color-mix(in srgb, ${r}, black ${t * 100}%)`;
250
- const { r: e, g: n, b: a, a: o } = xr(r), i = 1 - t, s = (l) => Math.round(l * i);
247
+ function Z(t, r) {
248
+ if (t.startsWith("var("))
249
+ return `color-mix(in srgb, ${t}, black ${r * 100}%)`;
250
+ const { r: e, g: n, b: a, a: o } = xt(t), i = 1 - r, s = (l) => Math.round(l * i);
251
251
  return `rgba(${s(e)}, ${s(n)}, ${s(a)}, ${o})`;
252
252
  }
253
- function U(r, t) {
254
- return typeof r.primaryShade == "number" ? r.primaryShade : t === "dark" ? r.primaryShade.dark : r.primaryShade.light;
253
+ function U(t, r) {
254
+ return typeof t.primaryShade == "number" ? t.primaryShade : r === "dark" ? t.primaryShade.dark : t.primaryShade.light;
255
255
  }
256
- function cr(r) {
257
- return r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4;
256
+ function ct(t) {
257
+ return t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4;
258
258
  }
259
- function pn(r) {
260
- const t = r.match(/oklch\((.*?)%\s/);
261
- return t ? parseFloat(t[1]) : null;
259
+ function pn(t) {
260
+ const r = t.match(/oklch\((.*?)%\s/);
261
+ return r ? parseFloat(r[1]) : null;
262
262
  }
263
- function gn(r) {
264
- if (r.startsWith("oklch("))
265
- return (pn(r) || 0) / 100;
266
- const { r: t, g: e, b: n } = xr(r), a = t / 255, o = e / 255, i = n / 255, s = cr(a), l = cr(o), d = cr(i);
263
+ function gn(t) {
264
+ if (t.startsWith("oklch("))
265
+ return (pn(t) || 0) / 100;
266
+ const { r, g: e, b: n } = xt(t), a = r / 255, o = e / 255, i = n / 255, s = ct(a), l = ct(o), d = ct(i);
267
267
  return 0.2126 * s + 0.7152 * l + 0.0722 * d;
268
268
  }
269
- function G(r, t = 0.179) {
270
- return r.startsWith("var(") ? !1 : gn(r) > t;
269
+ function G(t, r = 0.179) {
270
+ return t.startsWith("var(") ? !1 : gn(t) > r;
271
271
  }
272
272
  function q({
273
- color: r,
274
- theme: t,
273
+ color: t,
274
+ theme: r,
275
275
  colorScheme: e
276
276
  }) {
277
- if (typeof r != "string")
277
+ if (typeof t != "string")
278
278
  throw new Error(
279
- `[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof r}`
279
+ `[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof t}`
280
280
  );
281
- if (r === "bright")
281
+ if (t === "bright")
282
282
  return {
283
- color: r,
284
- value: e === "dark" ? t.white : t.black,
283
+ color: t,
284
+ value: e === "dark" ? r.white : r.black,
285
285
  shade: void 0,
286
286
  isThemeColor: !1,
287
287
  isLight: G(
288
- e === "dark" ? t.white : t.black,
289
- t.luminanceThreshold
288
+ e === "dark" ? r.white : r.black,
289
+ r.luminanceThreshold
290
290
  ),
291
291
  variable: "--mantine-color-bright"
292
292
  };
293
- if (r === "dimmed")
293
+ if (t === "dimmed")
294
294
  return {
295
- color: r,
296
- value: e === "dark" ? t.colors.dark[2] : t.colors.gray[7],
295
+ color: t,
296
+ value: e === "dark" ? r.colors.dark[2] : r.colors.gray[7],
297
297
  shade: void 0,
298
298
  isThemeColor: !1,
299
299
  isLight: G(
300
- e === "dark" ? t.colors.dark[2] : t.colors.gray[6],
301
- t.luminanceThreshold
300
+ e === "dark" ? r.colors.dark[2] : r.colors.gray[6],
301
+ r.luminanceThreshold
302
302
  ),
303
303
  variable: "--mantine-color-dimmed"
304
304
  };
305
- if (r === "white" || r === "black")
305
+ if (t === "white" || t === "black")
306
306
  return {
307
- color: r,
308
- value: r === "white" ? t.white : t.black,
307
+ color: t,
308
+ value: t === "white" ? r.white : r.black,
309
309
  shade: void 0,
310
310
  isThemeColor: !1,
311
311
  isLight: G(
312
- r === "white" ? t.white : t.black,
313
- t.luminanceThreshold
312
+ t === "white" ? r.white : r.black,
313
+ r.luminanceThreshold
314
314
  ),
315
- variable: `--mantine-color-${r}`
315
+ variable: `--mantine-color-${t}`
316
316
  };
317
- const [n, a] = r.split("."), o = a ? Number(a) : void 0, i = n in t.colors;
317
+ const [n, a] = t.split("."), o = a ? Number(a) : void 0, i = n in r.colors;
318
318
  if (i) {
319
- const s = o !== void 0 ? t.colors[n][o] : t.colors[n][U(t, e || "light")];
319
+ const s = o !== void 0 ? r.colors[n][o] : r.colors[n][U(r, e || "light")];
320
320
  return {
321
321
  color: n,
322
322
  value: s,
323
323
  shade: o,
324
324
  isThemeColor: i,
325
- isLight: G(s, t.luminanceThreshold),
325
+ isLight: G(s, r.luminanceThreshold),
326
326
  variable: a ? `--mantine-color-${n}-${o}` : `--mantine-color-${n}-filled`
327
327
  };
328
328
  }
329
329
  return {
330
- color: r,
331
- value: r,
330
+ color: t,
331
+ value: t,
332
332
  isThemeColor: i,
333
- isLight: G(r, t.luminanceThreshold),
333
+ isLight: G(t, r.luminanceThreshold),
334
334
  shade: o,
335
335
  variable: void 0
336
336
  };
337
337
  }
338
- function yr(r, t) {
339
- const e = q({ color: r || t.primaryColor, theme: t });
340
- return e.variable ? `var(${e.variable})` : r;
338
+ function yt(t, r) {
339
+ const e = q({ color: t || r.primaryColor, theme: r });
340
+ return e.variable ? `var(${e.variable})` : t;
341
341
  }
342
- function Ar(r, t) {
342
+ function At(t, r) {
343
343
  const e = {
344
- from: (r == null ? void 0 : r.from) || t.defaultGradient.from,
345
- to: (r == null ? void 0 : r.to) || t.defaultGradient.to,
346
- deg: (r == null ? void 0 : r.deg) ?? t.defaultGradient.deg ?? 0
347
- }, n = yr(e.from, t), a = yr(e.to, t);
344
+ from: (t == null ? void 0 : t.from) || r.defaultGradient.from,
345
+ to: (t == null ? void 0 : t.to) || r.defaultGradient.to,
346
+ deg: (t == null ? void 0 : t.deg) ?? r.defaultGradient.deg ?? 0
347
+ }, n = yt(e.from, r), a = yt(e.to, r);
348
348
  return `linear-gradient(${e.deg}deg, ${n} 0%, ${a} 100%)`;
349
349
  }
350
- function R(r, t) {
351
- if (typeof r != "string" || t > 1 || t < 0)
350
+ function R(t, r) {
351
+ if (typeof t != "string" || r > 1 || r < 0)
352
352
  return "rgba(0, 0, 0, 1)";
353
- if (r.startsWith("var(")) {
354
- const o = (1 - t) * 100;
355
- return `color-mix(in srgb, ${r}, transparent ${o}%)`;
353
+ if (t.startsWith("var(")) {
354
+ const o = (1 - r) * 100;
355
+ return `color-mix(in srgb, ${t}, transparent ${o}%)`;
356
356
  }
357
- if (r.startsWith("oklch"))
358
- return r.includes("/") ? r.replace(/\/\s*[\d.]+\s*\)/, `/ ${t})`) : r.replace(")", ` / ${t})`);
359
- const { r: e, g: n, b: a } = xr(r);
360
- return `rgba(${e}, ${n}, ${a}, ${t})`;
357
+ if (t.startsWith("oklch"))
358
+ return t.includes("/") ? t.replace(/\/\s*[\d.]+\s*\)/, `/ ${r})`) : t.replace(")", ` / ${r})`);
359
+ const { r: e, g: n, b: a } = xt(t);
360
+ return `rgba(${e}, ${n}, ${a}, ${r})`;
361
361
  }
362
362
  const j = R, yn = ({
363
- color: r,
364
- theme: t,
363
+ color: t,
364
+ theme: r,
365
365
  variant: e,
366
366
  gradient: n,
367
367
  autoContrast: a
368
368
  }) => {
369
- const o = q({ color: r, theme: t }), i = typeof a == "boolean" ? a : t.autoContrast;
369
+ const o = q({ color: t, theme: r }), i = typeof a == "boolean" ? a : r.autoContrast;
370
370
  if (e === "filled") {
371
371
  const s = i && o.isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
372
372
  return o.isThemeColor ? o.shade === void 0 ? {
373
- background: `var(--mantine-color-${r}-filled)`,
374
- hover: `var(--mantine-color-${r}-filled-hover)`,
373
+ background: `var(--mantine-color-${t}-filled)`,
374
+ hover: `var(--mantine-color-${t}-filled-hover)`,
375
375
  color: s,
376
376
  border: `${c(1)} solid transparent`
377
377
  } : {
@@ -380,8 +380,8 @@ const j = R, yn = ({
380
380
  color: s,
381
381
  border: `${c(1)} solid transparent`
382
382
  } : {
383
- background: r,
384
- hover: Z(r, 0.1),
383
+ background: t,
384
+ hover: Z(t, 0.1),
385
385
  color: s,
386
386
  border: `${c(1)} solid transparent`
387
387
  };
@@ -390,12 +390,12 @@ const j = R, yn = ({
390
390
  if (o.isThemeColor) {
391
391
  if (o.shade === void 0)
392
392
  return {
393
- background: `var(--mantine-color-${r}-light)`,
394
- hover: `var(--mantine-color-${r}-light-hover)`,
395
- color: `var(--mantine-color-${r}-light-color)`,
393
+ background: `var(--mantine-color-${t}-light)`,
394
+ hover: `var(--mantine-color-${t}-light-hover)`,
395
+ color: `var(--mantine-color-${t}-light-color)`,
396
396
  border: `${c(1)} solid transparent`
397
397
  };
398
- const s = t.colors[o.color][o.shade];
398
+ const s = r.colors[o.color][o.shade];
399
399
  return {
400
400
  background: R(s, 0.1),
401
401
  hover: R(s, 0.12),
@@ -404,39 +404,39 @@ const j = R, yn = ({
404
404
  };
405
405
  }
406
406
  return {
407
- background: R(r, 0.1),
408
- hover: R(r, 0.12),
409
- color: r,
407
+ background: R(t, 0.1),
408
+ hover: R(t, 0.12),
409
+ color: t,
410
410
  border: `${c(1)} solid transparent`
411
411
  };
412
412
  }
413
413
  if (e === "outline")
414
414
  return o.isThemeColor ? o.shade === void 0 ? {
415
415
  background: "transparent",
416
- hover: `var(--mantine-color-${r}-outline-hover)`,
417
- color: `var(--mantine-color-${r}-outline)`,
418
- border: `${c(1)} solid var(--mantine-color-${r}-outline)`
416
+ hover: `var(--mantine-color-${t}-outline-hover)`,
417
+ color: `var(--mantine-color-${t}-outline)`,
418
+ border: `${c(1)} solid var(--mantine-color-${t}-outline)`
419
419
  } : {
420
420
  background: "transparent",
421
- hover: R(t.colors[o.color][o.shade], 0.05),
421
+ hover: R(r.colors[o.color][o.shade], 0.05),
422
422
  color: `var(--mantine-color-${o.color}-${o.shade})`,
423
423
  border: `${c(1)} solid var(--mantine-color-${o.color}-${o.shade})`
424
424
  } : {
425
425
  background: "transparent",
426
- hover: R(r, 0.05),
427
- color: r,
428
- border: `${c(1)} solid ${r}`
426
+ hover: R(t, 0.05),
427
+ color: t,
428
+ border: `${c(1)} solid ${t}`
429
429
  };
430
430
  if (e === "subtle") {
431
431
  if (o.isThemeColor) {
432
432
  if (o.shade === void 0)
433
433
  return {
434
434
  background: "transparent",
435
- hover: `var(--mantine-color-${r}-light-hover)`,
436
- color: `var(--mantine-color-${r}-light-color)`,
435
+ hover: `var(--mantine-color-${t}-light-hover)`,
436
+ color: `var(--mantine-color-${t}-light-color)`,
437
437
  border: `${c(1)} solid transparent`
438
438
  };
439
- const s = t.colors[o.color][o.shade];
439
+ const s = r.colors[o.color][o.shade];
440
440
  return {
441
441
  background: "transparent",
442
442
  hover: R(s, 0.12),
@@ -446,15 +446,15 @@ const j = R, yn = ({
446
446
  }
447
447
  return {
448
448
  background: "transparent",
449
- hover: R(r, 0.12),
450
- color: r,
449
+ hover: R(t, 0.12),
450
+ color: t,
451
451
  border: `${c(1)} solid transparent`
452
452
  };
453
453
  }
454
454
  return e === "transparent" ? o.isThemeColor ? o.shade === void 0 ? {
455
455
  background: "transparent",
456
456
  hover: "transparent",
457
- color: `var(--mantine-color-${r}-light-color)`,
457
+ color: `var(--mantine-color-${t}-light-color)`,
458
458
  border: `${c(1)} solid transparent`
459
459
  } : {
460
460
  background: "transparent",
@@ -464,26 +464,26 @@ const j = R, yn = ({
464
464
  } : {
465
465
  background: "transparent",
466
466
  hover: "transparent",
467
- color: r,
467
+ color: t,
468
468
  border: `${c(1)} solid transparent`
469
469
  } : e === "white" ? o.isThemeColor ? o.shade === void 0 ? {
470
470
  background: "var(--mantine-color-white)",
471
- hover: Z(t.white, 0.01),
472
- color: `var(--mantine-color-${r}-filled)`,
471
+ hover: Z(r.white, 0.01),
472
+ color: `var(--mantine-color-${t}-filled)`,
473
473
  border: `${c(1)} solid transparent`
474
474
  } : {
475
475
  background: "var(--mantine-color-white)",
476
- hover: Z(t.white, 0.01),
476
+ hover: Z(r.white, 0.01),
477
477
  color: `var(--mantine-color-${o.color}-${o.shade})`,
478
478
  border: `${c(1)} solid transparent`
479
479
  } : {
480
480
  background: "var(--mantine-color-white)",
481
- hover: Z(t.white, 0.01),
482
- color: r,
481
+ hover: Z(r.white, 0.01),
482
+ color: t,
483
483
  border: `${c(1)} solid transparent`
484
484
  } : e === "gradient" ? {
485
- background: Ar(n, t),
486
- hover: Ar(n, t),
485
+ background: At(n, r),
486
+ hover: At(n, r),
487
487
  color: "var(--mantine-color-white)",
488
488
  border: "none"
489
489
  } : e === "default" ? {
@@ -661,7 +661,7 @@ const j = R, yn = ({
661
661
  "#e8590c",
662
662
  "#d9480f"
663
663
  ]
664
- }, Or = "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", kr = {
664
+ }, Ot = "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", kt = {
665
665
  scale: 1,
666
666
  fontSmoothing: !0,
667
667
  focusRing: "auto",
@@ -673,7 +673,7 @@ const j = R, yn = ({
673
673
  variantColorResolver: yn,
674
674
  autoContrast: !1,
675
675
  luminanceThreshold: 0.3,
676
- fontFamily: Or,
676
+ fontFamily: Ot,
677
677
  fontFamilyMonospace: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",
678
678
  respectReducedMotion: !1,
679
679
  cursorType: "default",
@@ -682,7 +682,7 @@ const j = R, yn = ({
682
682
  activeClassName: "mantine-active",
683
683
  focusClassName: "",
684
684
  headings: {
685
- fontFamily: Or,
685
+ fontFamily: Ot,
686
686
  fontWeight: "700",
687
687
  textWrap: "wrap",
688
688
  sizes: {
@@ -747,27 +747,27 @@ const j = R, yn = ({
747
747
  other: {},
748
748
  components: {}
749
749
  };
750
- function Ir(r) {
751
- return r === "auto" || r === "dark" || r === "light";
750
+ function It(t) {
751
+ return t === "auto" || t === "dark" || t === "light";
752
752
  }
753
753
  function hn({
754
- key: r = "mantine-color-scheme-value"
754
+ key: t = "mantine-color-scheme-value"
755
755
  } = {}) {
756
- let t;
756
+ let r;
757
757
  return {
758
758
  get: (e) => {
759
759
  if (typeof window > "u")
760
760
  return e;
761
761
  try {
762
- const n = window.localStorage.getItem(r);
763
- return Ir(n) ? n : e;
762
+ const n = window.localStorage.getItem(t);
763
+ return It(n) ? n : e;
764
764
  } catch {
765
765
  return e;
766
766
  }
767
767
  },
768
768
  set: (e) => {
769
769
  try {
770
- window.localStorage.setItem(r, e);
770
+ window.localStorage.setItem(t, e);
771
771
  } catch (n) {
772
772
  console.warn(
773
773
  "[@mantine/core] Local storage color scheme manager was unable to save color scheme.",
@@ -776,199 +776,199 @@ function hn({
776
776
  }
777
777
  },
778
778
  subscribe: (e) => {
779
- t = (n) => {
780
- n.storageArea === window.localStorage && n.key === r && Ir(n.newValue) && e(n.newValue);
781
- }, window.addEventListener("storage", t);
779
+ r = (n) => {
780
+ n.storageArea === window.localStorage && n.key === t && It(n.newValue) && e(n.newValue);
781
+ }, window.addEventListener("storage", r);
782
782
  },
783
783
  unsubscribe: () => {
784
- window.removeEventListener("storage", t);
784
+ window.removeEventListener("storage", r);
785
785
  },
786
786
  clear: () => {
787
- window.localStorage.removeItem(r);
787
+ window.localStorage.removeItem(t);
788
788
  }
789
789
  };
790
790
  }
791
- const $n = "[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color", Br = "[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";
792
- function lr(r) {
793
- return r < 0 || r > 9 ? !1 : parseInt(r.toString(), 10) === r;
791
+ const $n = "[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color", Bt = "[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";
792
+ function lt(t) {
793
+ return t < 0 || t > 9 ? !1 : parseInt(t.toString(), 10) === t;
794
794
  }
795
- function Vr(r) {
796
- if (!(r.primaryColor in r.colors))
795
+ function Vt(t) {
796
+ if (!(t.primaryColor in t.colors))
797
797
  throw new Error($n);
798
- if (typeof r.primaryShade == "object" && (!lr(r.primaryShade.dark) || !lr(r.primaryShade.light)))
799
- throw new Error(Br);
800
- if (typeof r.primaryShade == "number" && !lr(r.primaryShade))
801
- throw new Error(Br);
798
+ if (typeof t.primaryShade == "object" && (!lt(t.primaryShade.dark) || !lt(t.primaryShade.light)))
799
+ throw new Error(Bt);
800
+ if (typeof t.primaryShade == "number" && !lt(t.primaryShade))
801
+ throw new Error(Bt);
802
802
  }
803
- function vn(r, t) {
803
+ function vn(t, r) {
804
804
  var n;
805
- if (!t)
806
- return Vr(r), r;
807
- const e = vr(r, t);
808
- return t.fontFamily && !((n = t.headings) != null && n.fontFamily) && (e.headings.fontFamily = t.fontFamily), Vr(e), e;
805
+ if (!r)
806
+ return Vt(t), t;
807
+ const e = vt(t, r);
808
+ return r.fontFamily && !((n = r.headings) != null && n.fontFamily) && (e.headings.fontFamily = r.fontFamily), Vt(e), e;
809
809
  }
810
- const Nr = Dr(null), Sn = () => $r(Nr) || kr;
810
+ const Nt = Dt(null), Sn = () => $t(Nt) || kt;
811
811
  function V() {
812
- const r = $r(Nr);
813
- if (!r)
812
+ const t = $t(Nt);
813
+ if (!t)
814
814
  throw new Error(
815
815
  "@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app"
816
816
  );
817
- return r;
817
+ return t;
818
818
  }
819
- function Jr({
820
- theme: r,
821
- children: t,
819
+ function Jt({
820
+ theme: t,
821
+ children: r,
822
822
  inherit: e = !0
823
823
  }) {
824
- const n = Sn(), a = zt(
825
- () => vn(e ? n : kr, r),
826
- [r, n, e]
824
+ const n = Sn(), a = zr(
825
+ () => vn(e ? n : kt, t),
826
+ [t, n, e]
827
827
  );
828
- return /* @__PURE__ */ p(Nr.Provider, { value: a, children: t });
828
+ return /* @__PURE__ */ p(Nt.Provider, { value: a, children: r });
829
829
  }
830
- Jr.displayName = "@mantine/core/MantineThemeProvider";
830
+ Jt.displayName = "@mantine/core/MantineThemeProvider";
831
831
  function wn() {
832
- const r = V(), t = Cr(), e = M(r.breakpoints).reduce((n, a) => {
833
- const o = r.breakpoints[a].includes("px"), i = Ut(r.breakpoints[a]), s = o ? `${i - 0.1}px` : Er(i - 0.1), l = o ? `${i}px` : Er(i);
832
+ const t = V(), r = Ct(), e = M(t.breakpoints).reduce((n, a) => {
833
+ const o = t.breakpoints[a].includes("px"), i = Ur(t.breakpoints[a]), s = o ? `${i - 0.1}px` : Et(i - 0.1), l = o ? `${i}px` : Et(i);
834
834
  return `${n}@media (max-width: ${s}) {.mantine-visible-from-${a} {display: none !important;}}@media (min-width: ${l}) {.mantine-hidden-from-${a} {display: none !important;}}`;
835
835
  }, "");
836
836
  return /* @__PURE__ */ p(
837
837
  "style",
838
838
  {
839
839
  "data-mantine-styles": "classes",
840
- nonce: t == null ? void 0 : t(),
840
+ nonce: r == null ? void 0 : r(),
841
841
  dangerouslySetInnerHTML: { __html: e }
842
842
  }
843
843
  );
844
844
  }
845
- function dr(r) {
846
- return Object.entries(r).map(([t, e]) => `${t}: ${e};`).join("");
845
+ function dt(t) {
846
+ return Object.entries(t).map(([r, e]) => `${r}: ${e};`).join("");
847
847
  }
848
- function D(r, t) {
849
- return (Array.isArray(r) ? r : [r]).reduce((n, a) => `${a}{${n}}`, t);
848
+ function D(t, r) {
849
+ return (Array.isArray(t) ? t : [t]).reduce((n, a) => `${a}{${n}}`, r);
850
850
  }
851
- function Cn(r, t) {
852
- const e = dr(r.variables), n = e ? D(t, e) : "", a = dr(r.dark), o = dr(r.light), i = a ? D(t === ":host" ? `${t}([data-mantine-color-scheme="dark"])` : `${t}[data-mantine-color-scheme="dark"]`, a) : "", s = o ? D(t === ":host" ? `${t}([data-mantine-color-scheme="light"])` : `${t}[data-mantine-color-scheme="light"]`, o) : "";
851
+ function Cn(t, r) {
852
+ const e = dt(t.variables), n = e ? D(r, e) : "", a = dt(t.dark), o = dt(t.light), i = a ? D(r === ":host" ? `${r}([data-mantine-color-scheme="dark"])` : `${r}[data-mantine-color-scheme="dark"]`, a) : "", s = o ? D(r === ":host" ? `${r}([data-mantine-color-scheme="light"])` : `${r}[data-mantine-color-scheme="light"]`, o) : "";
853
853
  return `${n}${i}${s}`;
854
854
  }
855
- function xn({ color: r, theme: t, autoContrast: e }) {
856
- return t.autoContrast && q({ color: r || t.primaryColor, theme: t }).isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
855
+ function xn({ color: t, theme: r, autoContrast: e }) {
856
+ return r.autoContrast && q({ color: t || r.primaryColor, theme: r }).isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
857
857
  }
858
- function jr(r, t) {
858
+ function jt(t, r) {
859
859
  return xn({
860
- color: r.colors[r.primaryColor][U(r, t)],
861
- theme: r,
860
+ color: t.colors[t.primaryColor][U(t, r)],
861
+ theme: t,
862
862
  autoContrast: null
863
863
  });
864
864
  }
865
865
  function J({
866
- theme: r,
867
- color: t,
866
+ theme: t,
867
+ color: r,
868
868
  colorScheme: e,
869
- name: n = t,
869
+ name: n = r,
870
870
  withColorValues: a = !0
871
871
  }) {
872
- if (!r.colors[t])
872
+ if (!t.colors[r])
873
873
  return {};
874
874
  if (e === "light") {
875
- const s = U(r, "light"), l = {
875
+ const s = U(t, "light"), l = {
876
876
  [`--mantine-color-${n}-text`]: `var(--mantine-color-${n}-filled)`,
877
877
  [`--mantine-color-${n}-filled`]: `var(--mantine-color-${n}-${s})`,
878
878
  [`--mantine-color-${n}-filled-hover`]: `var(--mantine-color-${n}-${s === 9 ? 8 : s + 1})`,
879
- [`--mantine-color-${n}-light`]: j(r.colors[t][s], 0.1),
880
- [`--mantine-color-${n}-light-hover`]: j(r.colors[t][s], 0.12),
879
+ [`--mantine-color-${n}-light`]: j(t.colors[r][s], 0.1),
880
+ [`--mantine-color-${n}-light-hover`]: j(t.colors[r][s], 0.12),
881
881
  [`--mantine-color-${n}-light-color`]: `var(--mantine-color-${n}-${s})`,
882
882
  [`--mantine-color-${n}-outline`]: `var(--mantine-color-${n}-${s})`,
883
- [`--mantine-color-${n}-outline-hover`]: j(r.colors[t][s], 0.05)
883
+ [`--mantine-color-${n}-outline-hover`]: j(t.colors[r][s], 0.05)
884
884
  };
885
885
  return a ? {
886
- [`--mantine-color-${n}-0`]: r.colors[t][0],
887
- [`--mantine-color-${n}-1`]: r.colors[t][1],
888
- [`--mantine-color-${n}-2`]: r.colors[t][2],
889
- [`--mantine-color-${n}-3`]: r.colors[t][3],
890
- [`--mantine-color-${n}-4`]: r.colors[t][4],
891
- [`--mantine-color-${n}-5`]: r.colors[t][5],
892
- [`--mantine-color-${n}-6`]: r.colors[t][6],
893
- [`--mantine-color-${n}-7`]: r.colors[t][7],
894
- [`--mantine-color-${n}-8`]: r.colors[t][8],
895
- [`--mantine-color-${n}-9`]: r.colors[t][9],
886
+ [`--mantine-color-${n}-0`]: t.colors[r][0],
887
+ [`--mantine-color-${n}-1`]: t.colors[r][1],
888
+ [`--mantine-color-${n}-2`]: t.colors[r][2],
889
+ [`--mantine-color-${n}-3`]: t.colors[r][3],
890
+ [`--mantine-color-${n}-4`]: t.colors[r][4],
891
+ [`--mantine-color-${n}-5`]: t.colors[r][5],
892
+ [`--mantine-color-${n}-6`]: t.colors[r][6],
893
+ [`--mantine-color-${n}-7`]: t.colors[r][7],
894
+ [`--mantine-color-${n}-8`]: t.colors[r][8],
895
+ [`--mantine-color-${n}-9`]: t.colors[r][9],
896
896
  ...l
897
897
  } : l;
898
898
  }
899
- const o = U(r, "dark"), i = {
899
+ const o = U(t, "dark"), i = {
900
900
  [`--mantine-color-${n}-text`]: `var(--mantine-color-${n}-4)`,
901
901
  [`--mantine-color-${n}-filled`]: `var(--mantine-color-${n}-${o})`,
902
902
  [`--mantine-color-${n}-filled-hover`]: `var(--mantine-color-${n}-${o === 9 ? 8 : o + 1})`,
903
903
  [`--mantine-color-${n}-light`]: j(
904
- r.colors[t][Math.max(0, o - 2)],
904
+ t.colors[r][Math.max(0, o - 2)],
905
905
  0.15
906
906
  ),
907
907
  [`--mantine-color-${n}-light-hover`]: j(
908
- r.colors[t][Math.max(0, o - 2)],
908
+ t.colors[r][Math.max(0, o - 2)],
909
909
  0.2
910
910
  ),
911
911
  [`--mantine-color-${n}-light-color`]: `var(--mantine-color-${n}-${Math.max(o - 5, 0)})`,
912
912
  [`--mantine-color-${n}-outline`]: `var(--mantine-color-${n}-${Math.max(o - 4, 0)})`,
913
913
  [`--mantine-color-${n}-outline-hover`]: j(
914
- r.colors[t][Math.max(o - 4, 0)],
914
+ t.colors[r][Math.max(o - 4, 0)],
915
915
  0.05
916
916
  )
917
917
  };
918
918
  return a ? {
919
- [`--mantine-color-${n}-0`]: r.colors[t][0],
920
- [`--mantine-color-${n}-1`]: r.colors[t][1],
921
- [`--mantine-color-${n}-2`]: r.colors[t][2],
922
- [`--mantine-color-${n}-3`]: r.colors[t][3],
923
- [`--mantine-color-${n}-4`]: r.colors[t][4],
924
- [`--mantine-color-${n}-5`]: r.colors[t][5],
925
- [`--mantine-color-${n}-6`]: r.colors[t][6],
926
- [`--mantine-color-${n}-7`]: r.colors[t][7],
927
- [`--mantine-color-${n}-8`]: r.colors[t][8],
928
- [`--mantine-color-${n}-9`]: r.colors[t][9],
919
+ [`--mantine-color-${n}-0`]: t.colors[r][0],
920
+ [`--mantine-color-${n}-1`]: t.colors[r][1],
921
+ [`--mantine-color-${n}-2`]: t.colors[r][2],
922
+ [`--mantine-color-${n}-3`]: t.colors[r][3],
923
+ [`--mantine-color-${n}-4`]: t.colors[r][4],
924
+ [`--mantine-color-${n}-5`]: t.colors[r][5],
925
+ [`--mantine-color-${n}-6`]: t.colors[r][6],
926
+ [`--mantine-color-${n}-7`]: t.colors[r][7],
927
+ [`--mantine-color-${n}-8`]: t.colors[r][8],
928
+ [`--mantine-color-${n}-9`]: t.colors[r][9],
929
929
  ...i
930
930
  } : i;
931
931
  }
932
- function kn(r) {
933
- return !!r && typeof r == "object" && "mantine-virtual-color" in r;
932
+ function kn(t) {
933
+ return !!t && typeof t == "object" && "mantine-virtual-color" in t;
934
934
  }
935
- function F(r, t, e) {
936
- M(t).forEach(
937
- (n) => Object.assign(r, { [`--mantine-${e}-${n}`]: t[n] })
935
+ function F(t, r, e) {
936
+ M(r).forEach(
937
+ (n) => Object.assign(t, { [`--mantine-${e}-${n}`]: r[n] })
938
938
  );
939
939
  }
940
- const rt = (r) => {
941
- const t = U(r, "light"), e = r.defaultRadius in r.radius ? r.radius[r.defaultRadius] : c(r.defaultRadius), n = {
940
+ const tr = (t) => {
941
+ const r = U(t, "light"), e = t.defaultRadius in t.radius ? t.radius[t.defaultRadius] : c(t.defaultRadius), n = {
942
942
  variables: {
943
- "--mantine-scale": r.scale.toString(),
944
- "--mantine-cursor-type": r.cursorType,
943
+ "--mantine-scale": t.scale.toString(),
944
+ "--mantine-cursor-type": t.cursorType,
945
945
  "--mantine-color-scheme": "light dark",
946
- "--mantine-webkit-font-smoothing": r.fontSmoothing ? "antialiased" : "unset",
947
- "--mantine-moz-font-smoothing": r.fontSmoothing ? "grayscale" : "unset",
948
- "--mantine-color-white": r.white,
949
- "--mantine-color-black": r.black,
950
- "--mantine-line-height": r.lineHeights.md,
951
- "--mantine-font-family": r.fontFamily,
952
- "--mantine-font-family-monospace": r.fontFamilyMonospace,
953
- "--mantine-font-family-headings": r.headings.fontFamily,
954
- "--mantine-heading-font-weight": r.headings.fontWeight,
955
- "--mantine-heading-text-wrap": r.headings.textWrap,
946
+ "--mantine-webkit-font-smoothing": t.fontSmoothing ? "antialiased" : "unset",
947
+ "--mantine-moz-font-smoothing": t.fontSmoothing ? "grayscale" : "unset",
948
+ "--mantine-color-white": t.white,
949
+ "--mantine-color-black": t.black,
950
+ "--mantine-line-height": t.lineHeights.md,
951
+ "--mantine-font-family": t.fontFamily,
952
+ "--mantine-font-family-monospace": t.fontFamilyMonospace,
953
+ "--mantine-font-family-headings": t.headings.fontFamily,
954
+ "--mantine-heading-font-weight": t.headings.fontWeight,
955
+ "--mantine-heading-text-wrap": t.headings.textWrap,
956
956
  "--mantine-radius-default": e,
957
957
  // Primary colors
958
- "--mantine-primary-color-filled": `var(--mantine-color-${r.primaryColor}-filled)`,
959
- "--mantine-primary-color-filled-hover": `var(--mantine-color-${r.primaryColor}-filled-hover)`,
960
- "--mantine-primary-color-light": `var(--mantine-color-${r.primaryColor}-light)`,
961
- "--mantine-primary-color-light-hover": `var(--mantine-color-${r.primaryColor}-light-hover)`,
962
- "--mantine-primary-color-light-color": `var(--mantine-color-${r.primaryColor}-light-color)`
958
+ "--mantine-primary-color-filled": `var(--mantine-color-${t.primaryColor}-filled)`,
959
+ "--mantine-primary-color-filled-hover": `var(--mantine-color-${t.primaryColor}-filled-hover)`,
960
+ "--mantine-primary-color-light": `var(--mantine-color-${t.primaryColor}-light)`,
961
+ "--mantine-primary-color-light-hover": `var(--mantine-color-${t.primaryColor}-light-hover)`,
962
+ "--mantine-primary-color-light-color": `var(--mantine-color-${t.primaryColor}-light-color)`
963
963
  },
964
964
  light: {
965
- "--mantine-primary-color-contrast": jr(r, "light"),
965
+ "--mantine-primary-color-contrast": jt(t, "light"),
966
966
  "--mantine-color-bright": "var(--mantine-color-black)",
967
- "--mantine-color-text": r.black,
968
- "--mantine-color-body": r.white,
967
+ "--mantine-color-text": t.black,
968
+ "--mantine-color-body": t.white,
969
969
  "--mantine-color-error": "var(--mantine-color-red-6)",
970
970
  "--mantine-color-placeholder": "var(--mantine-color-gray-5)",
971
- "--mantine-color-anchor": `var(--mantine-color-${r.primaryColor}-${t})`,
971
+ "--mantine-color-anchor": `var(--mantine-color-${t.primaryColor}-${r})`,
972
972
  "--mantine-color-default": "var(--mantine-color-white)",
973
973
  "--mantine-color-default-hover": "var(--mantine-color-gray-0)",
974
974
  "--mantine-color-default-color": "var(--mantine-color-black)",
@@ -976,13 +976,13 @@ const rt = (r) => {
976
976
  "--mantine-color-dimmed": "var(--mantine-color-gray-6)"
977
977
  },
978
978
  dark: {
979
- "--mantine-primary-color-contrast": jr(r, "dark"),
979
+ "--mantine-primary-color-contrast": jt(t, "dark"),
980
980
  "--mantine-color-bright": "var(--mantine-color-white)",
981
981
  "--mantine-color-text": "var(--mantine-color-dark-0)",
982
982
  "--mantine-color-body": "var(--mantine-color-dark-7)",
983
983
  "--mantine-color-error": "var(--mantine-color-red-8)",
984
984
  "--mantine-color-placeholder": "var(--mantine-color-dark-3)",
985
- "--mantine-color-anchor": `var(--mantine-color-${r.primaryColor}-4)`,
985
+ "--mantine-color-anchor": `var(--mantine-color-${t.primaryColor}-4)`,
986
986
  "--mantine-color-default": "var(--mantine-color-dark-6)",
987
987
  "--mantine-color-default-hover": "var(--mantine-color-dark-5)",
988
988
  "--mantine-color-default-color": "var(--mantine-color-white)",
@@ -990,15 +990,15 @@ const rt = (r) => {
990
990
  "--mantine-color-dimmed": "var(--mantine-color-dark-2)"
991
991
  }
992
992
  };
993
- F(n.variables, r.breakpoints, "breakpoint"), F(n.variables, r.spacing, "spacing"), F(n.variables, r.fontSizes, "font-size"), F(n.variables, r.lineHeights, "line-height"), F(n.variables, r.shadows, "shadow"), F(n.variables, r.radius, "radius"), r.colors[r.primaryColor].forEach((o, i) => {
994
- n.variables[`--mantine-primary-color-${i}`] = `var(--mantine-color-${r.primaryColor}-${i})`;
995
- }), M(r.colors).forEach((o) => {
996
- const i = r.colors[o];
993
+ F(n.variables, t.breakpoints, "breakpoint"), F(n.variables, t.spacing, "spacing"), F(n.variables, t.fontSizes, "font-size"), F(n.variables, t.lineHeights, "line-height"), F(n.variables, t.shadows, "shadow"), F(n.variables, t.radius, "radius"), t.colors[t.primaryColor].forEach((o, i) => {
994
+ n.variables[`--mantine-primary-color-${i}`] = `var(--mantine-color-${t.primaryColor}-${i})`;
995
+ }), M(t.colors).forEach((o) => {
996
+ const i = t.colors[o];
997
997
  if (kn(i)) {
998
998
  Object.assign(
999
999
  n.light,
1000
1000
  J({
1001
- theme: r,
1001
+ theme: t,
1002
1002
  name: i.name,
1003
1003
  color: i.light,
1004
1004
  colorScheme: "light",
@@ -1007,7 +1007,7 @@ const rt = (r) => {
1007
1007
  ), Object.assign(
1008
1008
  n.dark,
1009
1009
  J({
1010
- theme: r,
1010
+ theme: t,
1011
1011
  name: i.name,
1012
1012
  color: i.dark,
1013
1013
  colorScheme: "dark",
@@ -1021,7 +1021,7 @@ const rt = (r) => {
1021
1021
  }), Object.assign(
1022
1022
  n.light,
1023
1023
  J({
1024
- theme: r,
1024
+ theme: t,
1025
1025
  color: o,
1026
1026
  colorScheme: "light",
1027
1027
  withColorValues: !1
@@ -1029,87 +1029,87 @@ const rt = (r) => {
1029
1029
  ), Object.assign(
1030
1030
  n.dark,
1031
1031
  J({
1032
- theme: r,
1032
+ theme: t,
1033
1033
  color: o,
1034
1034
  colorScheme: "dark",
1035
1035
  withColorValues: !1
1036
1036
  })
1037
1037
  );
1038
1038
  });
1039
- const a = r.headings.sizes;
1039
+ const a = t.headings.sizes;
1040
1040
  return M(a).forEach((o) => {
1041
- n.variables[`--mantine-${o}-font-size`] = a[o].fontSize, n.variables[`--mantine-${o}-line-height`] = a[o].lineHeight, n.variables[`--mantine-${o}-font-weight`] = a[o].fontWeight || r.headings.fontWeight;
1041
+ n.variables[`--mantine-${o}-font-size`] = a[o].fontSize, n.variables[`--mantine-${o}-line-height`] = a[o].lineHeight, n.variables[`--mantine-${o}-font-weight`] = a[o].fontWeight || t.headings.fontWeight;
1042
1042
  }), n;
1043
1043
  };
1044
- function Nn({ theme: r, generator: t }) {
1045
- const e = rt(r), n = t == null ? void 0 : t(r);
1046
- return n ? vr(e, n) : e;
1044
+ function Nn({ theme: t, generator: r }) {
1045
+ const e = tr(t), n = r == null ? void 0 : r(t);
1046
+ return n ? vt(e, n) : e;
1047
1047
  }
1048
- const fr = rt(kr);
1049
- function Tn(r) {
1050
- const t = {
1048
+ const ft = tr(kt);
1049
+ function Tn(t) {
1050
+ const r = {
1051
1051
  variables: {},
1052
1052
  light: {},
1053
1053
  dark: {}
1054
1054
  };
1055
- return M(r.variables).forEach((e) => {
1056
- fr.variables[e] !== r.variables[e] && (t.variables[e] = r.variables[e]);
1057
- }), M(r.light).forEach((e) => {
1058
- fr.light[e] !== r.light[e] && (t.light[e] = r.light[e]);
1059
- }), M(r.dark).forEach((e) => {
1060
- fr.dark[e] !== r.dark[e] && (t.dark[e] = r.dark[e]);
1061
- }), t;
1062
- }
1063
- function Mn(r) {
1055
+ return M(t.variables).forEach((e) => {
1056
+ ft.variables[e] !== t.variables[e] && (r.variables[e] = t.variables[e]);
1057
+ }), M(t.light).forEach((e) => {
1058
+ ft.light[e] !== t.light[e] && (r.light[e] = t.light[e]);
1059
+ }), M(t.dark).forEach((e) => {
1060
+ ft.dark[e] !== t.dark[e] && (r.dark[e] = t.dark[e]);
1061
+ }), r;
1062
+ }
1063
+ function Mn(t) {
1064
1064
  return `
1065
- ${r}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; }
1066
- ${r}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; }
1065
+ ${t}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; }
1066
+ ${t}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; }
1067
1067
  `;
1068
1068
  }
1069
- function tt({
1070
- cssVariablesSelector: r,
1071
- deduplicateCssVariables: t
1069
+ function rr({
1070
+ cssVariablesSelector: t,
1071
+ deduplicateCssVariables: r
1072
1072
  }) {
1073
- const e = V(), n = Cr(), a = nn(), o = Nn({ theme: e, generator: a }), i = r === ":root" && t, s = i ? Tn(o) : o, l = Cn(s, r);
1073
+ const e = V(), n = Ct(), a = nn(), o = Nn({ theme: e, generator: a }), i = t === ":root" && r, s = i ? Tn(o) : o, l = Cn(s, t);
1074
1074
  return l ? /* @__PURE__ */ p(
1075
1075
  "style",
1076
1076
  {
1077
1077
  "data-mantine-styles": !0,
1078
1078
  nonce: n == null ? void 0 : n(),
1079
1079
  dangerouslySetInnerHTML: {
1080
- __html: `${l}${i ? "" : Mn(r)}`
1080
+ __html: `${l}${i ? "" : Mn(t)}`
1081
1081
  }
1082
1082
  }
1083
1083
  ) : null;
1084
1084
  }
1085
- tt.displayName = "@mantine/CssVariables";
1085
+ rr.displayName = "@mantine/CssVariables";
1086
1086
  function Rn() {
1087
- const r = console.error;
1088
- console.error = (...t) => {
1089
- t.length > 1 && typeof t[0] == "string" && t[0].toLowerCase().includes("extra attributes from the server") && typeof t[1] == "string" && t[1].toLowerCase().includes("data-mantine-color-scheme") || r(...t);
1087
+ const t = console.error;
1088
+ console.error = (...r) => {
1089
+ r.length > 1 && typeof r[0] == "string" && r[0].toLowerCase().includes("extra attributes from the server") && typeof r[1] == "string" && r[1].toLowerCase().includes("data-mantine-color-scheme") || t(...r);
1090
1090
  };
1091
1091
  }
1092
- function H(r, t) {
1092
+ function H(t, r) {
1093
1093
  var a, o;
1094
- const e = typeof window < "u" && "matchMedia" in window && ((a = window.matchMedia("(prefers-color-scheme: dark)")) == null ? void 0 : a.matches), n = r !== "auto" ? r : e ? "dark" : "light";
1095
- (o = t()) == null || o.setAttribute("data-mantine-color-scheme", n);
1094
+ const e = typeof window < "u" && "matchMedia" in window && ((a = window.matchMedia("(prefers-color-scheme: dark)")) == null ? void 0 : a.matches), n = t !== "auto" ? t : e ? "dark" : "light";
1095
+ (o = r()) == null || o.setAttribute("data-mantine-color-scheme", n);
1096
1096
  }
1097
1097
  function _n({
1098
- manager: r,
1099
- defaultColorScheme: t,
1098
+ manager: t,
1099
+ defaultColorScheme: r,
1100
1100
  getRootElement: e,
1101
1101
  forceColorScheme: n
1102
1102
  }) {
1103
- const a = W(null), [o, i] = tr(() => r.get(t)), s = n || o, l = Lr(
1103
+ const a = W(null), [o, i] = rt(() => t.get(r)), s = n || o, l = Lt(
1104
1104
  (u) => {
1105
- n || (H(u, e), i(u), r.set(u));
1105
+ n || (H(u, e), i(u), t.set(u));
1106
1106
  },
1107
- [r.set, s, n]
1108
- ), d = Lr(() => {
1109
- i(t), H(t, e), r.clear();
1110
- }, [r.clear, t]);
1111
- return A(() => (r.subscribe(l), r.unsubscribe), [r.subscribe, r.unsubscribe]), Qr(() => {
1112
- H(r.get(t), e);
1107
+ [t.set, s, n]
1108
+ ), d = Lt(() => {
1109
+ i(r), H(r, e), t.clear();
1110
+ }, [t.clear, r]);
1111
+ return A(() => (t.subscribe(l), t.unsubscribe), [t.subscribe, t.unsubscribe]), Qt(() => {
1112
+ H(t.get(r), e);
1113
1113
  }, []), A(() => {
1114
1114
  var f;
1115
1115
  if (n)
@@ -1126,18 +1126,18 @@ function _n({
1126
1126
  }, [o, n]), { colorScheme: s, setColorScheme: l, clearColorScheme: d };
1127
1127
  }
1128
1128
  function Pn({
1129
- respectReducedMotion: r,
1130
- getRootElement: t
1129
+ respectReducedMotion: t,
1130
+ getRootElement: r
1131
1131
  }) {
1132
- Qr(() => {
1132
+ Qt(() => {
1133
1133
  var e;
1134
- r && ((e = t()) == null || e.setAttribute("data-respect-reduced-motion", "true"));
1135
- }, [r]);
1134
+ t && ((e = r()) == null || e.setAttribute("data-respect-reduced-motion", "true"));
1135
+ }, [t]);
1136
1136
  }
1137
1137
  Rn();
1138
- function nt({
1139
- theme: r,
1140
- children: t,
1138
+ function nr({
1139
+ theme: t,
1140
+ children: r,
1141
1141
  getStyleNonce: e,
1142
1142
  withStaticClasses: n = !0,
1143
1143
  withGlobalClasses: a = !0,
@@ -1160,10 +1160,10 @@ function nt({
1160
1160
  getRootElement: f
1161
1161
  });
1162
1162
  return Pn({
1163
- respectReducedMotion: (r == null ? void 0 : r.respectReducedMotion) || !1,
1163
+ respectReducedMotion: (t == null ? void 0 : t.respectReducedMotion) || !1,
1164
1164
  getRootElement: f
1165
1165
  }), /* @__PURE__ */ p(
1166
- Zr.Provider,
1166
+ Zt.Provider,
1167
1167
  {
1168
1168
  value: {
1169
1169
  colorScheme: h,
@@ -1178,82 +1178,82 @@ function nt({
1178
1178
  stylesTransform: y,
1179
1179
  env: $
1180
1180
  },
1181
- children: /* @__PURE__ */ z(Jr, { theme: r, children: [
1181
+ children: /* @__PURE__ */ z(Jt, { theme: t, children: [
1182
1182
  i && /* @__PURE__ */ p(
1183
- tt,
1183
+ rr,
1184
1184
  {
1185
1185
  cssVariablesSelector: s,
1186
1186
  deduplicateCssVariables: o
1187
1187
  }
1188
1188
  ),
1189
1189
  a && /* @__PURE__ */ p(wn, {}),
1190
- t
1190
+ r
1191
1191
  ] })
1192
1192
  }
1193
1193
  );
1194
1194
  }
1195
- nt.displayName = "@mantine/core/MantineProvider";
1195
+ nr.displayName = "@mantine/core/MantineProvider";
1196
1196
  const Ln = {
1197
1197
  always: "mantine-focus-always",
1198
1198
  auto: "mantine-focus-auto",
1199
1199
  never: "mantine-focus-never"
1200
1200
  };
1201
- function En({ theme: r, options: t, unstyled: e }) {
1201
+ function En({ theme: t, options: r, unstyled: e }) {
1202
1202
  return B(
1203
- (t == null ? void 0 : t.focusable) && !e && (r.focusClassName || Ln[r.focusRing]),
1204
- (t == null ? void 0 : t.active) && !e && r.activeClassName
1203
+ (r == null ? void 0 : r.focusable) && !e && (t.focusClassName || Ln[t.focusRing]),
1204
+ (r == null ? void 0 : r.active) && !e && t.activeClassName
1205
1205
  );
1206
1206
  }
1207
1207
  function An({
1208
- selector: r,
1209
- stylesCtx: t,
1208
+ selector: t,
1209
+ stylesCtx: r,
1210
1210
  options: e,
1211
1211
  props: n,
1212
1212
  theme: a
1213
1213
  }) {
1214
- return wr({
1214
+ return wt({
1215
1215
  theme: a,
1216
1216
  classNames: e == null ? void 0 : e.classNames,
1217
1217
  props: (e == null ? void 0 : e.props) || n,
1218
- stylesCtx: t
1219
- })[r];
1218
+ stylesCtx: r
1219
+ })[t];
1220
1220
  }
1221
- function Fr({
1222
- selector: r,
1223
- stylesCtx: t,
1221
+ function Ft({
1222
+ selector: t,
1223
+ stylesCtx: r,
1224
1224
  theme: e,
1225
1225
  classNames: n,
1226
1226
  props: a
1227
1227
  }) {
1228
- return wr({ theme: e, classNames: n, props: a, stylesCtx: t })[r];
1228
+ return wt({ theme: e, classNames: n, props: a, stylesCtx: r })[t];
1229
1229
  }
1230
- function On({ rootSelector: r, selector: t, className: e }) {
1231
- return r === t ? e : void 0;
1230
+ function On({ rootSelector: t, selector: r, className: e }) {
1231
+ return t === r ? e : void 0;
1232
1232
  }
1233
- function In({ selector: r, classes: t, unstyled: e }) {
1234
- return e ? void 0 : t[r];
1233
+ function In({ selector: t, classes: r, unstyled: e }) {
1234
+ return e ? void 0 : r[t];
1235
1235
  }
1236
1236
  function Bn({
1237
- themeName: r,
1238
- classNamesPrefix: t,
1237
+ themeName: t,
1238
+ classNamesPrefix: r,
1239
1239
  selector: e,
1240
1240
  withStaticClass: n
1241
1241
  }) {
1242
- return n === !1 ? [] : r.map((a) => `${t}-${a}-${e}`);
1242
+ return n === !1 ? [] : t.map((a) => `${r}-${a}-${e}`);
1243
1243
  }
1244
1244
  function Vn({
1245
- themeName: r,
1246
- theme: t,
1245
+ themeName: t,
1246
+ theme: r,
1247
1247
  selector: e,
1248
1248
  props: n,
1249
1249
  stylesCtx: a
1250
1250
  }) {
1251
- return r.map(
1251
+ return t.map(
1252
1252
  (o) => {
1253
1253
  var i, s;
1254
- return (s = wr({
1255
- theme: t,
1256
- classNames: (i = t.components[o]) == null ? void 0 : i.classNames,
1254
+ return (s = wt({
1255
+ theme: r,
1256
+ classNames: (i = r.components[o]) == null ? void 0 : i.classNames,
1257
1257
  props: n,
1258
1258
  stylesCtx: a
1259
1259
  })) == null ? void 0 : s[e];
@@ -1261,16 +1261,16 @@ function Vn({
1261
1261
  );
1262
1262
  }
1263
1263
  function jn({
1264
- options: r,
1265
- classes: t,
1264
+ options: t,
1265
+ classes: r,
1266
1266
  selector: e,
1267
1267
  unstyled: n
1268
1268
  }) {
1269
- return r != null && r.variant && !n ? t[`${e}--${r.variant}`] : void 0;
1269
+ return t != null && t.variant && !n ? r[`${e}--${t.variant}`] : void 0;
1270
1270
  }
1271
1271
  function Fn({
1272
- theme: r,
1273
- options: t,
1272
+ theme: t,
1273
+ options: r,
1274
1274
  themeName: e,
1275
1275
  selector: n,
1276
1276
  classNamesPrefix: a,
@@ -1286,56 +1286,56 @@ function Fn({
1286
1286
  transformedStyles: y
1287
1287
  }) {
1288
1288
  return B(
1289
- En({ theme: r, options: t, unstyled: s || g }),
1290
- Vn({ theme: r, themeName: e, selector: n, props: u, stylesCtx: f }),
1291
- jn({ options: t, classes: i, selector: n, unstyled: s }),
1292
- Fr({ selector: n, stylesCtx: f, theme: r, classNames: o, props: u }),
1293
- Fr({ selector: n, stylesCtx: f, theme: r, classNames: y, props: u }),
1294
- An({ selector: n, stylesCtx: f, options: t, props: u, theme: r }),
1289
+ En({ theme: t, options: r, unstyled: s || g }),
1290
+ Vn({ theme: t, themeName: e, selector: n, props: u, stylesCtx: f }),
1291
+ jn({ options: r, classes: i, selector: n, unstyled: s }),
1292
+ Ft({ selector: n, stylesCtx: f, theme: t, classNames: o, props: u }),
1293
+ Ft({ selector: n, stylesCtx: f, theme: t, classNames: y, props: u }),
1294
+ An({ selector: n, stylesCtx: f, options: r, props: u, theme: t }),
1295
1295
  On({ rootSelector: d, selector: n, className: l }),
1296
1296
  In({ selector: n, classes: i, unstyled: s || g }),
1297
1297
  m && !g && Bn({
1298
1298
  themeName: e,
1299
1299
  classNamesPrefix: a,
1300
1300
  selector: n,
1301
- withStaticClass: t == null ? void 0 : t.withStaticClass
1301
+ withStaticClass: r == null ? void 0 : r.withStaticClass
1302
1302
  }),
1303
- t == null ? void 0 : t.className
1303
+ r == null ? void 0 : r.className
1304
1304
  );
1305
1305
  }
1306
1306
  function Hn({
1307
- theme: r,
1308
- themeName: t,
1307
+ theme: t,
1308
+ themeName: r,
1309
1309
  props: e,
1310
1310
  stylesCtx: n,
1311
1311
  selector: a
1312
1312
  }) {
1313
- return t.map(
1313
+ return r.map(
1314
1314
  (o) => {
1315
1315
  var i;
1316
- return gr({
1317
- theme: r,
1318
- styles: (i = r.components[o]) == null ? void 0 : i.styles,
1316
+ return gt({
1317
+ theme: t,
1318
+ styles: (i = t.components[o]) == null ? void 0 : i.styles,
1319
1319
  props: e,
1320
1320
  stylesCtx: n
1321
1321
  })[a];
1322
1322
  }
1323
1323
  ).reduce((o, i) => ({ ...o, ...i }), {});
1324
1324
  }
1325
- function br({ style: r, theme: t }) {
1326
- return Array.isArray(r) ? [...r].reduce(
1327
- (e, n) => ({ ...e, ...br({ style: n, theme: t }) }),
1325
+ function bt({ style: t, theme: r }) {
1326
+ return Array.isArray(t) ? [...t].reduce(
1327
+ (e, n) => ({ ...e, ...bt({ style: n, theme: r }) }),
1328
1328
  {}
1329
- ) : typeof r == "function" ? r(t) : r ?? {};
1329
+ ) : typeof t == "function" ? t(r) : t ?? {};
1330
1330
  }
1331
- function Wn(r) {
1332
- return r.reduce((t, e) => (e && Object.keys(e).forEach((n) => {
1333
- t[n] = { ...t[n], ...Sr(e[n]) };
1334
- }), t), {});
1331
+ function Wn(t) {
1332
+ return t.reduce((r, e) => (e && Object.keys(e).forEach((n) => {
1333
+ r[n] = { ...r[n], ...St(e[n]) };
1334
+ }), r), {});
1335
1335
  }
1336
1336
  function zn({
1337
- vars: r,
1338
- varsResolver: t,
1337
+ vars: t,
1338
+ varsResolver: r,
1339
1339
  theme: e,
1340
1340
  props: n,
1341
1341
  stylesCtx: a,
@@ -1345,17 +1345,17 @@ function zn({
1345
1345
  }) {
1346
1346
  var l;
1347
1347
  return (l = Wn([
1348
- s ? {} : t == null ? void 0 : t(e, n, a),
1348
+ s ? {} : r == null ? void 0 : r(e, n, a),
1349
1349
  ...i.map((d) => {
1350
1350
  var u, f, m;
1351
1351
  return (m = (f = (u = e.components) == null ? void 0 : u[d]) == null ? void 0 : f.vars) == null ? void 0 : m.call(f, e, n, a);
1352
1352
  }),
1353
- r == null ? void 0 : r(e, n, a)
1353
+ t == null ? void 0 : t(e, n, a)
1354
1354
  ])) == null ? void 0 : l[o];
1355
1355
  }
1356
1356
  function Yn({
1357
- theme: r,
1358
- themeName: t,
1357
+ theme: t,
1358
+ themeName: r,
1359
1359
  selector: e,
1360
1360
  options: n,
1361
1361
  props: a,
@@ -1369,26 +1369,26 @@ function Yn({
1369
1369
  withStylesTransform: m
1370
1370
  }) {
1371
1371
  return {
1372
- ...!m && Hn({ theme: r, themeName: t, props: a, stylesCtx: o, selector: e }),
1373
- ...!m && gr({ theme: r, styles: s, props: a, stylesCtx: o })[e],
1374
- ...!m && gr({ theme: r, styles: n == null ? void 0 : n.styles, props: (n == null ? void 0 : n.props) || a, stylesCtx: o })[e],
1375
- ...zn({ theme: r, props: a, stylesCtx: o, vars: d, varsResolver: u, selector: e, themeName: t, headless: f }),
1376
- ...i === e ? br({ style: l, theme: r }) : null,
1377
- ...br({ style: n == null ? void 0 : n.style, theme: r })
1372
+ ...!m && Hn({ theme: t, themeName: r, props: a, stylesCtx: o, selector: e }),
1373
+ ...!m && gt({ theme: t, styles: s, props: a, stylesCtx: o })[e],
1374
+ ...!m && gt({ theme: t, styles: n == null ? void 0 : n.styles, props: (n == null ? void 0 : n.props) || a, stylesCtx: o })[e],
1375
+ ...zn({ theme: t, props: a, stylesCtx: o, vars: d, varsResolver: u, selector: e, themeName: r, headless: f }),
1376
+ ...i === e ? bt({ style: l, theme: t }) : null,
1377
+ ...bt({ style: n == null ? void 0 : n.style, theme: t })
1378
1378
  };
1379
1379
  }
1380
- function Gn({ props: r, stylesCtx: t, themeName: e }) {
1380
+ function Gn({ props: t, stylesCtx: r, themeName: e }) {
1381
1381
  var i;
1382
1382
  const n = V(), a = (i = cn()) == null ? void 0 : i();
1383
1383
  return {
1384
1384
  getTransformedStyles: (s) => a ? [
1385
1385
  ...s.map(
1386
- (d) => a(d, { props: r, theme: n, ctx: t })
1386
+ (d) => a(d, { props: t, theme: n, ctx: r })
1387
1387
  ),
1388
1388
  ...e.map(
1389
1389
  (d) => {
1390
1390
  var u;
1391
- return a((u = n.components[d]) == null ? void 0 : u.styles, { props: r, theme: n, ctx: t });
1391
+ return a((u = n.components[d]) == null ? void 0 : u.styles, { props: t, theme: n, ctx: r });
1392
1392
  }
1393
1393
  )
1394
1394
  ].filter(Boolean) : [],
@@ -1396,8 +1396,8 @@ function Gn({ props: r, stylesCtx: t, themeName: e }) {
1396
1396
  };
1397
1397
  }
1398
1398
  function Q({
1399
- name: r,
1400
- classes: t,
1399
+ name: t,
1400
+ classes: r,
1401
1401
  props: e,
1402
1402
  stylesCtx: n,
1403
1403
  className: a,
@@ -1409,7 +1409,7 @@ function Q({
1409
1409
  vars: u,
1410
1410
  varsResolver: f
1411
1411
  }) {
1412
- const m = V(), g = en(), y = on(), $ = an(), h = (Array.isArray(r) ? r : [r]).filter((v) => v), { withStylesTransform: C, getTransformedStyles: x } = Gn({
1412
+ const m = V(), g = en(), y = on(), $ = an(), h = (Array.isArray(t) ? t : [t]).filter((v) => v), { withStylesTransform: C, getTransformedStyles: x } = Gn({
1413
1413
  props: e,
1414
1414
  stylesCtx: n,
1415
1415
  themeName: h
@@ -1422,7 +1422,7 @@ function Q({
1422
1422
  selector: v,
1423
1423
  classNamesPrefix: g,
1424
1424
  classNames: l,
1425
- classes: t,
1425
+ classes: r,
1426
1426
  unstyled: s,
1427
1427
  className: a,
1428
1428
  rootSelector: i,
@@ -1450,23 +1450,23 @@ function Q({
1450
1450
  });
1451
1451
  }
1452
1452
  const Dn = ({
1453
- defaultColorScheme: r,
1454
- localStorageKey: t,
1453
+ defaultColorScheme: t,
1454
+ localStorageKey: r,
1455
1455
  forceColorScheme: e
1456
1456
  }) => e ? `document.documentElement.setAttribute("data-mantine-color-scheme", '${e}');` : `try {
1457
- var _colorScheme = window.localStorage.getItem("${t}");
1458
- var colorScheme = _colorScheme === "light" || _colorScheme === "dark" || _colorScheme === "auto" ? _colorScheme : "${r}";
1457
+ var _colorScheme = window.localStorage.getItem("${r}");
1458
+ var colorScheme = _colorScheme === "light" || _colorScheme === "dark" || _colorScheme === "auto" ? _colorScheme : "${t}";
1459
1459
  var computedColorScheme = colorScheme !== "auto" ? colorScheme : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
1460
1460
  document.documentElement.setAttribute("data-mantine-color-scheme", computedColorScheme);
1461
1461
  } catch (e) {}
1462
1462
  `;
1463
- function _e({
1464
- defaultColorScheme: r = "light",
1465
- localStorageKey: t = "mantine-color-scheme-value",
1463
+ function Le({
1464
+ defaultColorScheme: t = "light",
1465
+ localStorageKey: r = "mantine-color-scheme-value",
1466
1466
  forceColorScheme: e,
1467
1467
  ...n
1468
1468
  }) {
1469
- const a = ["light", "dark", "auto"].includes(r) ? r : "light";
1469
+ const a = ["light", "dark", "auto"].includes(t) ? t : "light";
1470
1470
  return /* @__PURE__ */ p(
1471
1471
  "script",
1472
1472
  {
@@ -1475,48 +1475,48 @@ function _e({
1475
1475
  dangerouslySetInnerHTML: {
1476
1476
  __html: Dn({
1477
1477
  defaultColorScheme: a,
1478
- localStorageKey: t,
1478
+ localStorageKey: r,
1479
1479
  forceColorScheme: e
1480
1480
  })
1481
1481
  }
1482
1482
  }
1483
1483
  );
1484
1484
  }
1485
- function I(r, t, e) {
1485
+ function I(t, r, e) {
1486
1486
  var i;
1487
- const n = V(), a = (i = n.components[r]) == null ? void 0 : i.defaultProps, o = typeof a == "function" ? a(n) : a;
1488
- return { ...t, ...o, ...Sr(e) };
1487
+ const n = V(), a = (i = n.components[t]) == null ? void 0 : i.defaultProps, o = typeof a == "function" ? a(n) : a;
1488
+ return { ...r, ...o, ...St(e) };
1489
1489
  }
1490
- const Pe = {
1490
+ const Ee = {
1491
1491
  suppressHydrationWarning: !0,
1492
1492
  "data-mantine-color-scheme": "light"
1493
1493
  };
1494
- function ur(r) {
1495
- return M(r).reduce(
1496
- (t, e) => r[e] !== void 0 ? `${t}${Dt(e)}:${r[e]};` : t,
1494
+ function ut(t) {
1495
+ return M(t).reduce(
1496
+ (r, e) => t[e] !== void 0 ? `${r}${Dr(e)}:${t[e]};` : r,
1497
1497
  ""
1498
1498
  ).trim();
1499
1499
  }
1500
- function Xn({ selector: r, styles: t, media: e, container: n }) {
1501
- const a = t ? ur(t) : "", o = Array.isArray(e) ? e.map((s) => `@media${s.query}{${r}{${ur(s.styles)}}}`) : [], i = Array.isArray(n) ? n.map(
1502
- (s) => `@container ${s.query}{${r}{${ur(s.styles)}}}`
1500
+ function Xn({ selector: t, styles: r, media: e, container: n }) {
1501
+ const a = r ? ut(r) : "", o = Array.isArray(e) ? e.map((s) => `@media${s.query}{${t}{${ut(s.styles)}}}`) : [], i = Array.isArray(n) ? n.map(
1502
+ (s) => `@container ${s.query}{${t}{${ut(s.styles)}}}`
1503
1503
  ) : [];
1504
- return `${a ? `${r}{${a}}` : ""}${o.join("")}${i.join("")}`.trim();
1504
+ return `${a ? `${t}{${a}}` : ""}${o.join("")}${i.join("")}`.trim();
1505
1505
  }
1506
- function Un(r) {
1507
- const t = Cr();
1506
+ function Un(t) {
1507
+ const r = Ct();
1508
1508
  return /* @__PURE__ */ p(
1509
1509
  "style",
1510
1510
  {
1511
1511
  "data-mantine-styles": "inline",
1512
- nonce: t == null ? void 0 : t(),
1513
- dangerouslySetInnerHTML: { __html: Xn(r) }
1512
+ nonce: r == null ? void 0 : r(),
1513
+ dangerouslySetInnerHTML: { __html: Xn(t) }
1514
1514
  }
1515
1515
  );
1516
1516
  }
1517
- function qn(r) {
1517
+ function qn(t) {
1518
1518
  const {
1519
- m: t,
1519
+ m: r,
1520
1520
  mx: e,
1521
1521
  my: n,
1522
1522
  mt: a,
@@ -1541,39 +1541,39 @@ function qn(r) {
1541
1541
  ff: k,
1542
1542
  fz: S,
1543
1543
  fw: E,
1544
- lts: or,
1545
- ta: ar,
1546
- lh: pt,
1547
- fs: gt,
1548
- tt: yt,
1549
- td: bt,
1550
- w: ht,
1551
- miw: $t,
1552
- maw: vt,
1553
- h: St,
1554
- mih: wt,
1555
- mah: Ct,
1556
- bgsz: xt,
1557
- bgp: kt,
1558
- bgr: Nt,
1559
- bga: Tt,
1560
- pos: Mt,
1561
- top: Rt,
1562
- left: _t,
1563
- bottom: Pt,
1564
- right: Lt,
1565
- inset: Et,
1566
- display: At,
1567
- flex: Ot,
1568
- hiddenFrom: It,
1569
- visibleFrom: Bt,
1570
- lightHidden: Vt,
1571
- darkHidden: jt,
1572
- sx: Ft,
1573
- ...Ht
1574
- } = r;
1575
- return { styleProps: Sr({
1576
- m: t,
1544
+ lts: ot,
1545
+ ta: at,
1546
+ lh: pr,
1547
+ fs: gr,
1548
+ tt: yr,
1549
+ td: br,
1550
+ w: hr,
1551
+ miw: $r,
1552
+ maw: vr,
1553
+ h: Sr,
1554
+ mih: wr,
1555
+ mah: Cr,
1556
+ bgsz: xr,
1557
+ bgp: kr,
1558
+ bgr: Nr,
1559
+ bga: Tr,
1560
+ pos: Mr,
1561
+ top: Rr,
1562
+ left: _r,
1563
+ bottom: Pr,
1564
+ right: Lr,
1565
+ inset: Er,
1566
+ display: Ar,
1567
+ flex: Or,
1568
+ hiddenFrom: Ir,
1569
+ visibleFrom: Br,
1570
+ lightHidden: Vr,
1571
+ darkHidden: jr,
1572
+ sx: Fr,
1573
+ ...Hr
1574
+ } = t;
1575
+ return { styleProps: St({
1576
+ m: r,
1577
1577
  mx: e,
1578
1578
  my: n,
1579
1579
  mt: a,
@@ -1598,36 +1598,36 @@ function qn(r) {
1598
1598
  ff: k,
1599
1599
  fz: S,
1600
1600
  fw: E,
1601
- lts: or,
1602
- ta: ar,
1603
- lh: pt,
1604
- fs: gt,
1605
- tt: yt,
1606
- td: bt,
1607
- w: ht,
1608
- miw: $t,
1609
- maw: vt,
1610
- h: St,
1611
- mih: wt,
1612
- mah: Ct,
1613
- bgsz: xt,
1614
- bgp: kt,
1615
- bgr: Nt,
1616
- bga: Tt,
1617
- pos: Mt,
1618
- top: Rt,
1619
- left: _t,
1620
- bottom: Pt,
1621
- right: Lt,
1622
- inset: Et,
1623
- display: At,
1624
- flex: Ot,
1625
- hiddenFrom: It,
1626
- visibleFrom: Bt,
1627
- lightHidden: Vt,
1628
- darkHidden: jt,
1629
- sx: Ft
1630
- }), rest: Ht };
1601
+ lts: ot,
1602
+ ta: at,
1603
+ lh: pr,
1604
+ fs: gr,
1605
+ tt: yr,
1606
+ td: br,
1607
+ w: hr,
1608
+ miw: $r,
1609
+ maw: vr,
1610
+ h: Sr,
1611
+ mih: wr,
1612
+ mah: Cr,
1613
+ bgsz: xr,
1614
+ bgp: kr,
1615
+ bgr: Nr,
1616
+ bga: Tr,
1617
+ pos: Mr,
1618
+ top: Rr,
1619
+ left: _r,
1620
+ bottom: Pr,
1621
+ right: Lr,
1622
+ inset: Er,
1623
+ display: Ar,
1624
+ flex: Or,
1625
+ hiddenFrom: Ir,
1626
+ visibleFrom: Br,
1627
+ lightHidden: Vr,
1628
+ darkHidden: jr,
1629
+ sx: Fr
1630
+ }), rest: Hr };
1631
1631
  }
1632
1632
  const Qn = {
1633
1633
  m: { type: "spacing", property: "margin" },
@@ -1680,64 +1680,64 @@ const Qn = {
1680
1680
  display: { type: "identity", property: "display" },
1681
1681
  flex: { type: "identity", property: "flex" }
1682
1682
  };
1683
- function Tr(r, t) {
1684
- const e = q({ color: r, theme: t });
1683
+ function Tt(t, r) {
1684
+ const e = q({ color: t, theme: r });
1685
1685
  return e.color === "dimmed" ? "var(--mantine-color-dimmed)" : e.color === "bright" ? "var(--mantine-color-bright)" : e.variable ? `var(${e.variable})` : e.color;
1686
1686
  }
1687
- function Kn(r, t) {
1688
- const e = q({ color: r, theme: t });
1689
- return e.isThemeColor && e.shade === void 0 ? `var(--mantine-color-${e.color}-text)` : Tr(r, t);
1687
+ function Kn(t, r) {
1688
+ const e = q({ color: t, theme: r });
1689
+ return e.isThemeColor && e.shade === void 0 ? `var(--mantine-color-${e.color}-text)` : Tt(t, r);
1690
1690
  }
1691
- function Zn(r, t) {
1692
- if (typeof r == "number")
1693
- return c(r);
1694
- if (typeof r == "string") {
1695
- const [e, n, ...a] = r.split(" ").filter((i) => i.trim() !== "");
1691
+ function Zn(t, r) {
1692
+ if (typeof t == "number")
1693
+ return c(t);
1694
+ if (typeof t == "string") {
1695
+ const [e, n, ...a] = t.split(" ").filter((i) => i.trim() !== "");
1696
1696
  let o = `${c(e)}`;
1697
- return n && (o += ` ${n}`), a.length > 0 && (o += ` ${Tr(a.join(" "), t)}`), o.trim();
1697
+ return n && (o += ` ${n}`), a.length > 0 && (o += ` ${Tt(a.join(" "), r)}`), o.trim();
1698
1698
  }
1699
- return r;
1699
+ return t;
1700
1700
  }
1701
- const Hr = {
1701
+ const Ht = {
1702
1702
  text: "var(--mantine-font-family)",
1703
1703
  mono: "var(--mantine-font-family-monospace)",
1704
1704
  monospace: "var(--mantine-font-family-monospace)",
1705
1705
  heading: "var(--mantine-font-family-headings)",
1706
1706
  headings: "var(--mantine-font-family-headings)"
1707
1707
  };
1708
- function Jn(r) {
1709
- return typeof r == "string" && r in Hr ? Hr[r] : r;
1708
+ function Jn(t) {
1709
+ return typeof t == "string" && t in Ht ? Ht[t] : t;
1710
1710
  }
1711
- const re = ["h1", "h2", "h3", "h4", "h5", "h6"];
1712
- function te(r, t) {
1713
- return typeof r == "string" && r in t.fontSizes ? `var(--mantine-font-size-${r})` : typeof r == "string" && re.includes(r) ? `var(--mantine-${r}-font-size)` : typeof r == "number" || typeof r == "string" ? c(r) : r;
1711
+ const te = ["h1", "h2", "h3", "h4", "h5", "h6"];
1712
+ function re(t, r) {
1713
+ return typeof t == "string" && t in r.fontSizes ? `var(--mantine-font-size-${t})` : typeof t == "string" && te.includes(t) ? `var(--mantine-${t}-font-size)` : typeof t == "number" || typeof t == "string" ? c(t) : t;
1714
1714
  }
1715
- function ne(r) {
1716
- return r;
1715
+ function ne(t) {
1716
+ return t;
1717
1717
  }
1718
1718
  const ee = ["h1", "h2", "h3", "h4", "h5", "h6"];
1719
- function oe(r, t) {
1720
- return typeof r == "string" && r in t.lineHeights ? `var(--mantine-line-height-${r})` : typeof r == "string" && ee.includes(r) ? `var(--mantine-${r}-line-height)` : r;
1721
- }
1722
- function ae(r) {
1723
- return typeof r == "number" ? c(r) : r;
1724
- }
1725
- function ie(r, t) {
1726
- if (typeof r == "number")
1727
- return c(r);
1728
- if (typeof r == "string") {
1729
- const e = r.replace("-", "");
1730
- if (!(e in t.spacing))
1731
- return c(r);
1719
+ function oe(t, r) {
1720
+ return typeof t == "string" && t in r.lineHeights ? `var(--mantine-line-height-${t})` : typeof t == "string" && ee.includes(t) ? `var(--mantine-${t}-line-height)` : t;
1721
+ }
1722
+ function ae(t) {
1723
+ return typeof t == "number" ? c(t) : t;
1724
+ }
1725
+ function ie(t, r) {
1726
+ if (typeof t == "number")
1727
+ return c(t);
1728
+ if (typeof t == "string") {
1729
+ const e = t.replace("-", "");
1730
+ if (!(e in r.spacing))
1731
+ return c(t);
1732
1732
  const n = `--mantine-spacing-${e}`;
1733
- return r.startsWith("-") ? `calc(var(${n}) * -1)` : `var(${n})`;
1733
+ return t.startsWith("-") ? `calc(var(${n}) * -1)` : `var(${n})`;
1734
1734
  }
1735
- return r;
1735
+ return t;
1736
1736
  }
1737
- const mr = {
1738
- color: Tr,
1737
+ const mt = {
1738
+ color: Tt,
1739
1739
  textColor: Kn,
1740
- fontSize: te,
1740
+ fontSize: re,
1741
1741
  spacing: ie,
1742
1742
  identity: ne,
1743
1743
  size: ae,
@@ -1745,55 +1745,55 @@ const mr = {
1745
1745
  fontFamily: Jn,
1746
1746
  border: Zn
1747
1747
  };
1748
- function Wr(r) {
1749
- return r.replace("(min-width: ", "").replace("em)", "");
1748
+ function Wt(t) {
1749
+ return t.replace("(min-width: ", "").replace("em)", "");
1750
1750
  }
1751
1751
  function se({
1752
- media: r,
1753
- ...t
1752
+ media: t,
1753
+ ...r
1754
1754
  }) {
1755
- const n = Object.keys(r).sort((a, o) => Number(Wr(a)) - Number(Wr(o))).map((a) => ({ query: a, styles: r[a] }));
1756
- return { ...t, media: n };
1755
+ const n = Object.keys(t).sort((a, o) => Number(Wt(a)) - Number(Wt(o))).map((a) => ({ query: a, styles: t[a] }));
1756
+ return { ...r, media: n };
1757
1757
  }
1758
- function ce(r) {
1759
- if (typeof r != "object" || r === null)
1758
+ function ce(t) {
1759
+ if (typeof t != "object" || t === null)
1760
1760
  return !1;
1761
- const t = Object.keys(r);
1762
- return !(t.length === 1 && t[0] === "base");
1761
+ const r = Object.keys(t);
1762
+ return !(r.length === 1 && r[0] === "base");
1763
1763
  }
1764
- function le(r) {
1765
- return typeof r == "object" && r !== null ? "base" in r ? r.base : void 0 : r;
1764
+ function le(t) {
1765
+ return typeof t == "object" && t !== null ? "base" in t ? t.base : void 0 : t;
1766
1766
  }
1767
- function de(r) {
1768
- return typeof r == "object" && r !== null ? M(r).filter((t) => t !== "base") : [];
1767
+ function de(t) {
1768
+ return typeof t == "object" && t !== null ? M(t).filter((r) => r !== "base") : [];
1769
1769
  }
1770
- function fe(r, t) {
1771
- return typeof r == "object" && r !== null && t in r ? r[t] : r;
1770
+ function fe(t, r) {
1771
+ return typeof t == "object" && t !== null && r in t ? t[r] : t;
1772
1772
  }
1773
1773
  function ue({
1774
- styleProps: r,
1775
- data: t,
1774
+ styleProps: t,
1775
+ data: r,
1776
1776
  theme: e
1777
1777
  }) {
1778
1778
  return se(
1779
- M(r).reduce(
1779
+ M(t).reduce(
1780
1780
  (n, a) => {
1781
1781
  if (a === "hiddenFrom" || a === "visibleFrom" || a === "sx")
1782
1782
  return n;
1783
- const o = t[a], i = Array.isArray(o.property) ? o.property : [o.property], s = le(r[a]);
1784
- if (!ce(r[a]))
1783
+ const o = r[a], i = Array.isArray(o.property) ? o.property : [o.property], s = le(t[a]);
1784
+ if (!ce(t[a]))
1785
1785
  return i.forEach((d) => {
1786
- n.inlineStyles[d] = mr[o.type](s, e);
1786
+ n.inlineStyles[d] = mt[o.type](s, e);
1787
1787
  }), n;
1788
1788
  n.hasResponsiveStyles = !0;
1789
- const l = de(r[a]);
1789
+ const l = de(t[a]);
1790
1790
  return i.forEach((d) => {
1791
- s && (n.styles[d] = mr[o.type](s, e)), l.forEach((u) => {
1791
+ s && (n.styles[d] = mt[o.type](s, e)), l.forEach((u) => {
1792
1792
  const f = `(min-width: ${e.breakpoints[u]})`;
1793
1793
  n.media[f] = {
1794
1794
  ...n.media[f],
1795
- [d]: mr[o.type](
1796
- fe(r[a], u),
1795
+ [d]: mt[o.type](
1796
+ fe(t[a], u),
1797
1797
  e
1798
1798
  )
1799
1799
  };
@@ -1810,42 +1810,42 @@ function ue({
1810
1810
  );
1811
1811
  }
1812
1812
  function me() {
1813
- return `__m__-${Yt().replace(/:/g, "")}`;
1813
+ return `__m__-${Yr().replace(/:/g, "")}`;
1814
1814
  }
1815
- function et(r) {
1816
- return r.startsWith("data-") ? r : `data-${r}`;
1815
+ function er(t) {
1816
+ return t.startsWith("data-") ? t : `data-${t}`;
1817
1817
  }
1818
- function pe(r) {
1819
- return Object.keys(r).reduce((t, e) => {
1820
- const n = r[e];
1821
- return n === void 0 || n === "" || n === !1 || n === null || (t[et(e)] = r[e]), t;
1818
+ function pe(t) {
1819
+ return Object.keys(t).reduce((r, e) => {
1820
+ const n = t[e];
1821
+ return n === void 0 || n === "" || n === !1 || n === null || (r[er(e)] = t[e]), r;
1822
1822
  }, {});
1823
1823
  }
1824
- function ot(r) {
1825
- return r ? typeof r == "string" ? { [et(r)]: !0 } : Array.isArray(r) ? [...r].reduce(
1826
- (t, e) => ({ ...t, ...ot(e) }),
1824
+ function or(t) {
1825
+ return t ? typeof t == "string" ? { [er(t)]: !0 } : Array.isArray(t) ? [...t].reduce(
1826
+ (r, e) => ({ ...r, ...or(e) }),
1827
1827
  {}
1828
- ) : pe(r) : null;
1828
+ ) : pe(t) : null;
1829
1829
  }
1830
- function hr(r, t) {
1831
- return Array.isArray(r) ? [...r].reduce(
1832
- (e, n) => ({ ...e, ...hr(n, t) }),
1830
+ function ht(t, r) {
1831
+ return Array.isArray(t) ? [...t].reduce(
1832
+ (e, n) => ({ ...e, ...ht(n, r) }),
1833
1833
  {}
1834
- ) : typeof r == "function" ? r(t) : r ?? {};
1834
+ ) : typeof t == "function" ? t(r) : t ?? {};
1835
1835
  }
1836
1836
  function ge({
1837
- theme: r,
1838
- style: t,
1837
+ theme: t,
1838
+ style: r,
1839
1839
  vars: e,
1840
1840
  styleProps: n
1841
1841
  }) {
1842
- const a = hr(t, r), o = hr(e, r);
1842
+ const a = ht(r, t), o = ht(e, t);
1843
1843
  return { ...a, ...o, ...n };
1844
1844
  }
1845
- const at = _(
1845
+ const ar = _(
1846
1846
  ({
1847
- component: r,
1848
- style: t,
1847
+ component: t,
1848
+ style: r,
1849
1849
  __vars: e,
1850
1850
  className: n,
1851
1851
  variant: a,
@@ -1860,7 +1860,7 @@ const at = _(
1860
1860
  ...g
1861
1861
  }, y) => {
1862
1862
  var S;
1863
- const $ = V(), h = r || "div", { styleProps: C, rest: x } = qn(g), v = sn(), w = (S = v == null ? void 0 : v()) == null ? void 0 : S(C.sx), L = me(), b = ue({
1863
+ const $ = V(), h = t || "div", { styleProps: C, rest: x } = qn(g), v = sn(), w = (S = v == null ? void 0 : v()) == null ? void 0 : S(C.sx), L = me(), b = ue({
1864
1864
  styleProps: C,
1865
1865
  theme: $,
1866
1866
  data: Qn
@@ -1868,7 +1868,7 @@ const at = _(
1868
1868
  ref: y,
1869
1869
  style: ge({
1870
1870
  theme: $,
1871
- style: t,
1871
+ style: r,
1872
1872
  vars: e,
1873
1873
  styleProps: b.inlineStyles
1874
1874
  }),
@@ -1880,12 +1880,12 @@ const at = _(
1880
1880
  [`mantine-visible-from-${l}`]: l
1881
1881
  }),
1882
1882
  "data-variant": a,
1883
- "data-size": Ur(i) ? void 0 : i || void 0,
1883
+ "data-size": Ut(i) ? void 0 : i || void 0,
1884
1884
  size: m,
1885
- ...ot(o),
1885
+ ...or(o),
1886
1886
  ...x
1887
1887
  };
1888
- return /* @__PURE__ */ z(pr, { children: [
1888
+ return /* @__PURE__ */ z(pt, { children: [
1889
1889
  b.hasResponsiveStyles && /* @__PURE__ */ p(
1890
1890
  Un,
1891
1891
  {
@@ -1898,31 +1898,31 @@ const at = _(
1898
1898
  ] });
1899
1899
  }
1900
1900
  );
1901
- at.displayName = "@mantine/core/Box";
1902
- const N = at;
1903
- function it(r) {
1904
- return r;
1905
- }
1906
- function Mr(r) {
1907
- const t = _(r);
1908
- return t.extend = it, t.withProps = (e) => {
1909
- const n = _((a, o) => /* @__PURE__ */ p(t, { ...e, ...a, ref: o }));
1910
- return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
1911
- }, t;
1912
- }
1913
- function st(r) {
1914
- const t = _(r);
1915
- return t.withProps = (e) => {
1916
- const n = _((a, o) => /* @__PURE__ */ p(t, { ...e, ...a, ref: o }));
1917
- return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
1918
- }, t.extend = it, t;
1919
- }
1920
- var ct = { root: "m_87cf2631" };
1901
+ ar.displayName = "@mantine/core/Box";
1902
+ const N = ar;
1903
+ function ir(t) {
1904
+ return t;
1905
+ }
1906
+ function Mt(t) {
1907
+ const r = _(t);
1908
+ return r.extend = ir, r.withProps = (e) => {
1909
+ const n = _((a, o) => /* @__PURE__ */ p(r, { ...e, ...a, ref: o }));
1910
+ return n.extend = r.extend, n.displayName = `WithProps(${r.displayName})`, n;
1911
+ }, r;
1912
+ }
1913
+ function sr(t) {
1914
+ const r = _(t);
1915
+ return r.withProps = (e) => {
1916
+ const n = _((a, o) => /* @__PURE__ */ p(r, { ...e, ...a, ref: o }));
1917
+ return n.extend = r.extend, n.displayName = `WithProps(${r.displayName})`, n;
1918
+ }, r.extend = ir, r;
1919
+ }
1920
+ var cr = { root: "m_87cf2631" };
1921
1921
  const ye = {
1922
1922
  __staticSelector: "UnstyledButton"
1923
- }, Rr = st(
1924
- (r, t) => {
1925
- const e = I("UnstyledButton", ye, r), {
1923
+ }, Rt = sr(
1924
+ (t, r) => {
1925
+ const e = I("UnstyledButton", ye, t), {
1926
1926
  className: n,
1927
1927
  component: a = "button",
1928
1928
  __staticSelector: o,
@@ -1934,7 +1934,7 @@ const ye = {
1934
1934
  } = e, f = Q({
1935
1935
  name: o,
1936
1936
  props: e,
1937
- classes: ct,
1937
+ classes: cr,
1938
1938
  className: n,
1939
1939
  style: d,
1940
1940
  classNames: s,
@@ -1946,20 +1946,20 @@ const ye = {
1946
1946
  {
1947
1947
  ...f("root", { focusable: !0 }),
1948
1948
  component: a,
1949
- ref: t,
1949
+ ref: r,
1950
1950
  type: a === "button" ? "button" : void 0,
1951
1951
  ...u
1952
1952
  }
1953
1953
  );
1954
1954
  }
1955
1955
  );
1956
- Rr.classes = ct;
1957
- Rr.displayName = "@mantine/core/UnstyledButton";
1958
- const X = (r) => ({
1956
+ Rt.classes = cr;
1957
+ Rt.displayName = "@mantine/core/UnstyledButton";
1958
+ const X = (t) => ({
1959
1959
  in: { opacity: 1, transform: "scale(1)" },
1960
- out: { opacity: 0, transform: `scale(.9) translateY(${r === "bottom" ? 10 : -10}px)` },
1960
+ out: { opacity: 0, transform: `scale(.9) translateY(${t === "bottom" ? 10 : -10}px)` },
1961
1961
  transitionProperty: "transform, opacity"
1962
- }), rr = {
1962
+ }), tt = {
1963
1963
  fade: {
1964
1964
  in: { opacity: 1 },
1965
1965
  out: { opacity: 0 },
@@ -2071,7 +2071,7 @@ const X = (r) => ({
2071
2071
  ...X("top"),
2072
2072
  common: { transformOrigin: "top right" }
2073
2073
  }
2074
- }, zr = {
2074
+ }, zt = {
2075
2075
  entering: "in",
2076
2076
  entered: "in",
2077
2077
  exiting: "out",
@@ -2080,8 +2080,8 @@ const X = (r) => ({
2080
2080
  "pre-entering": "out"
2081
2081
  };
2082
2082
  function be({
2083
- transition: r,
2084
- state: t,
2083
+ transition: t,
2084
+ state: r,
2085
2085
  duration: e,
2086
2086
  timingFunction: n
2087
2087
  }) {
@@ -2091,21 +2091,21 @@ function be({
2091
2091
  transitionDuration: `${e}ms`,
2092
2092
  transitionTimingFunction: n
2093
2093
  };
2094
- return typeof r == "string" ? r in rr ? {
2095
- transitionProperty: rr[r].transitionProperty,
2094
+ return typeof t == "string" ? t in tt ? {
2095
+ transitionProperty: tt[t].transitionProperty,
2096
2096
  ...a,
2097
- ...rr[r].common,
2098
- ...rr[r][zr[t]]
2097
+ ...tt[t].common,
2098
+ ...tt[t][zt[r]]
2099
2099
  } : {} : {
2100
- transitionProperty: r.transitionProperty,
2100
+ transitionProperty: t.transitionProperty,
2101
2101
  ...a,
2102
- ...r.common,
2103
- ...r[zr[t]]
2102
+ ...t.common,
2103
+ ...t[zt[r]]
2104
2104
  };
2105
2105
  }
2106
2106
  function he({
2107
- duration: r,
2108
- exitDuration: t,
2107
+ duration: t,
2108
+ exitDuration: r,
2109
2109
  timingFunction: e,
2110
2110
  mounted: n,
2111
2111
  onEnter: a,
@@ -2115,12 +2115,12 @@ function he({
2115
2115
  enterDelay: l,
2116
2116
  exitDelay: d
2117
2117
  }) {
2118
- const u = V(), f = Jt(), m = u.respectReducedMotion ? f : !1, [g, y] = tr(m ? 0 : r), [$, h] = tr(n ? "entered" : "exited"), C = W(-1), x = W(-1), v = W(-1), w = (b) => {
2118
+ const u = V(), f = Jr(), m = u.respectReducedMotion ? f : !1, [g, y] = rt(m ? 0 : t), [$, h] = rt(n ? "entered" : "exited"), C = W(-1), x = W(-1), v = W(-1), w = (b) => {
2119
2119
  const k = b ? a : o, S = b ? i : s;
2120
2120
  window.clearTimeout(C.current);
2121
- const E = m ? 0 : b ? r : t;
2121
+ const E = m ? 0 : b ? t : r;
2122
2122
  y(E), E === 0 ? (typeof k == "function" && k(), typeof S == "function" && S(), h(b ? "entered" : "exited")) : v.current = requestAnimationFrame(() => {
2123
- Gt.flushSync(() => {
2123
+ Gr.flushSync(() => {
2124
2124
  h(b ? "pre-entering" : "pre-exiting");
2125
2125
  }), v.current = requestAnimationFrame(() => {
2126
2126
  typeof k == "function" && k(), h(b ? "entering" : "exiting"), C.current = window.setTimeout(() => {
@@ -2140,7 +2140,7 @@ function he({
2140
2140
  b ? l : d
2141
2141
  );
2142
2142
  };
2143
- return Zt(() => {
2143
+ return Zr(() => {
2144
2144
  L(n);
2145
2145
  }, [n]), A(
2146
2146
  () => () => {
@@ -2153,9 +2153,9 @@ function he({
2153
2153
  transitionTimingFunction: e || "ease"
2154
2154
  };
2155
2155
  }
2156
- function lt({
2157
- keepMounted: r,
2158
- transition: t = "fade",
2156
+ function lr({
2157
+ keepMounted: t,
2158
+ transition: r = "fade",
2159
2159
  duration: e = 250,
2160
2160
  exitDuration: n = e,
2161
2161
  mounted: a,
@@ -2180,45 +2180,45 @@ function lt({
2180
2180
  enterDelay: f,
2181
2181
  exitDelay: m
2182
2182
  });
2183
- return y === 0 || g === "test" ? a ? /* @__PURE__ */ p(pr, { children: o({}) }) : r ? o({ display: "none" }) : null : $ === "exited" ? r ? o({ display: "none" }) : null : /* @__PURE__ */ p(pr, { children: o(
2183
+ return y === 0 || g === "test" ? a ? /* @__PURE__ */ p(pt, { children: o({}) }) : t ? o({ display: "none" }) : null : $ === "exited" ? t ? o({ display: "none" }) : null : /* @__PURE__ */ p(pt, { children: o(
2184
2184
  be({
2185
- transition: t,
2185
+ transition: r,
2186
2186
  duration: y,
2187
2187
  state: $,
2188
2188
  timingFunction: h
2189
2189
  })
2190
2190
  ) });
2191
2191
  }
2192
- lt.displayName = "@mantine/core/Transition";
2192
+ lr.displayName = "@mantine/core/Transition";
2193
2193
  var T = { root: "m_5ae2e3c", barsLoader: "m_7a2bd4cd", bar: "m_870bb79", "bars-loader-animation": "m_5d2b3b9d", dotsLoader: "m_4e3f22d7", dot: "m_870c4af", "loader-dots-animation": "m_aac34a1", ovalLoader: "m_b34414df", "oval-loader-animation": "m_f8e89c4b" };
2194
- const dt = _(({ className: r, ...t }, e) => /* @__PURE__ */ z(N, { component: "span", className: B(T.barsLoader, r), ...t, ref: e, children: [
2194
+ const dr = _(({ className: t, ...r }, e) => /* @__PURE__ */ z(N, { component: "span", className: B(T.barsLoader, t), ...r, ref: e, children: [
2195
2195
  /* @__PURE__ */ p("span", { className: T.bar }),
2196
2196
  /* @__PURE__ */ p("span", { className: T.bar }),
2197
2197
  /* @__PURE__ */ p("span", { className: T.bar })
2198
2198
  ] }));
2199
- dt.displayName = "@mantine/core/Bars";
2200
- const ft = _(({ className: r, ...t }, e) => /* @__PURE__ */ z(N, { component: "span", className: B(T.dotsLoader, r), ...t, ref: e, children: [
2199
+ dr.displayName = "@mantine/core/Bars";
2200
+ const fr = _(({ className: t, ...r }, e) => /* @__PURE__ */ z(N, { component: "span", className: B(T.dotsLoader, t), ...r, ref: e, children: [
2201
2201
  /* @__PURE__ */ p("span", { className: T.dot }),
2202
2202
  /* @__PURE__ */ p("span", { className: T.dot }),
2203
2203
  /* @__PURE__ */ p("span", { className: T.dot })
2204
2204
  ] }));
2205
- ft.displayName = "@mantine/core/Dots";
2206
- const ut = _(({ className: r, ...t }, e) => /* @__PURE__ */ p(N, { component: "span", className: B(T.ovalLoader, r), ...t, ref: e }));
2207
- ut.displayName = "@mantine/core/Oval";
2208
- const mt = {
2209
- bars: dt,
2210
- oval: ut,
2211
- dots: ft
2205
+ fr.displayName = "@mantine/core/Dots";
2206
+ const ur = _(({ className: t, ...r }, e) => /* @__PURE__ */ p(N, { component: "span", className: B(T.ovalLoader, t), ...r, ref: e }));
2207
+ ur.displayName = "@mantine/core/Oval";
2208
+ const mr = {
2209
+ bars: dr,
2210
+ oval: ur,
2211
+ dots: fr
2212
2212
  }, $e = {
2213
- loaders: mt,
2213
+ loaders: mr,
2214
2214
  type: "oval"
2215
- }, ve = (r, { size: t, color: e }) => ({
2215
+ }, ve = (t, { size: r, color: e }) => ({
2216
2216
  root: {
2217
- "--loader-size": O(t, "loader-size"),
2218
- "--loader-color": e ? yr(e, r) : void 0
2217
+ "--loader-size": O(r, "loader-size"),
2218
+ "--loader-color": e ? yt(e, t) : void 0
2219
2219
  }
2220
- }), er = Mr((r, t) => {
2221
- const e = I("Loader", $e, r), {
2220
+ }), et = Mt((t, r) => {
2221
+ const e = I("Loader", $e, t), {
2222
2222
  size: n,
2223
2223
  color: a,
2224
2224
  type: o,
@@ -2244,11 +2244,11 @@ const mt = {
2244
2244
  vars: i,
2245
2245
  varsResolver: ve
2246
2246
  });
2247
- return y ? /* @__PURE__ */ p(N, { ...h("root"), ref: t, ...$, children: y }) : /* @__PURE__ */ p(
2247
+ return y ? /* @__PURE__ */ p(N, { ...h("root"), ref: r, ...$, children: y }) : /* @__PURE__ */ p(
2248
2248
  N,
2249
2249
  {
2250
2250
  ...h("root"),
2251
- ref: t,
2251
+ ref: r,
2252
2252
  component: m[o],
2253
2253
  variant: g,
2254
2254
  size: n,
@@ -2256,16 +2256,16 @@ const mt = {
2256
2256
  }
2257
2257
  );
2258
2258
  });
2259
- er.defaultLoaders = mt;
2260
- er.classes = T;
2261
- er.displayName = "@mantine/core/Loader";
2259
+ et.defaultLoaders = mr;
2260
+ et.classes = T;
2261
+ et.displayName = "@mantine/core/Loader";
2262
2262
  var Y = { root: "m_77c9d27d", inner: "m_80f1301b", label: "m_811560b9", section: "m_a74036a", loader: "m_a25b86ee", group: "m_80d6d844", groupSection: "m_70be2a01" };
2263
- const Yr = {
2263
+ const Yt = {
2264
2264
  orientation: "horizontal"
2265
- }, Se = (r, { borderWidth: t }) => ({
2266
- group: { "--button-border-width": c(t) }
2267
- }), _r = Mr((r, t) => {
2268
- const e = I("ButtonGroup", Yr, r), {
2265
+ }, Se = (t, { borderWidth: r }) => ({
2266
+ group: { "--button-border-width": c(r) }
2267
+ }), _t = Mt((t, r) => {
2268
+ const e = I("ButtonGroup", Yt, t), {
2269
2269
  className: n,
2270
2270
  style: a,
2271
2271
  classNames: o,
@@ -2277,7 +2277,7 @@ const Yr = {
2277
2277
  variant: f,
2278
2278
  mod: m,
2279
2279
  ...g
2280
- } = I("ButtonGroup", Yr, r), y = Q({
2280
+ } = I("ButtonGroup", Yt, t), y = Q({
2281
2281
  name: "ButtonGroup",
2282
2282
  props: e,
2283
2283
  classes: Y,
@@ -2294,7 +2294,7 @@ const Yr = {
2294
2294
  N,
2295
2295
  {
2296
2296
  ...y("group"),
2297
- ref: t,
2297
+ ref: r,
2298
2298
  variant: f,
2299
2299
  mod: [{ "data-orientation": l }, m],
2300
2300
  role: "group",
@@ -2302,12 +2302,12 @@ const Yr = {
2302
2302
  }
2303
2303
  );
2304
2304
  });
2305
- _r.classes = Y;
2306
- _r.displayName = "@mantine/core/ButtonGroup";
2307
- const Gr = {}, we = (r, { radius: t, color: e, gradient: n, variant: a, autoContrast: o, size: i }) => {
2308
- const s = r.variantColorResolver({
2309
- color: e || r.primaryColor,
2310
- theme: r,
2305
+ _t.classes = Y;
2306
+ _t.displayName = "@mantine/core/ButtonGroup";
2307
+ const Gt = {}, we = (t, { radius: r, color: e, gradient: n, variant: a, autoContrast: o, size: i }) => {
2308
+ const s = t.variantColorResolver({
2309
+ color: e || t.primaryColor,
2310
+ theme: t,
2311
2311
  gradient: n,
2312
2312
  variant: a || "filled",
2313
2313
  autoContrast: o
@@ -2316,15 +2316,15 @@ const Gr = {}, we = (r, { radius: t, color: e, gradient: n, variant: a, autoCont
2316
2316
  groupSection: {
2317
2317
  "--section-height": O(i, "section-height"),
2318
2318
  "--section-padding-x": O(i, "section-padding-x"),
2319
- "--section-fz": i != null && i.includes("compact") ? nr(i.replace("compact-", "")) : nr(i),
2320
- "--section-radius": t === void 0 ? void 0 : qr(t),
2319
+ "--section-fz": i != null && i.includes("compact") ? nt(i.replace("compact-", "")) : nt(i),
2320
+ "--section-radius": r === void 0 ? void 0 : qt(r),
2321
2321
  "--section-bg": e || a ? s.background : void 0,
2322
2322
  "--section-color": s.color,
2323
2323
  "--section-bd": e || a ? s.border : void 0
2324
2324
  }
2325
2325
  };
2326
- }, Pr = Mr((r, t) => {
2327
- const e = I("ButtonGroupSection", Gr, r), {
2326
+ }, Pt = Mt((t, r) => {
2327
+ const e = I("ButtonGroupSection", Gt, t), {
2328
2328
  className: n,
2329
2329
  style: a,
2330
2330
  classNames: o,
@@ -2336,7 +2336,7 @@ const Gr = {}, we = (r, { radius: t, color: e, gradient: n, variant: a, autoCont
2336
2336
  radius: f,
2337
2337
  autoContrast: m,
2338
2338
  ...g
2339
- } = I("ButtonGroupSection", Gr, r), y = Q({
2339
+ } = I("ButtonGroupSection", Gt, t), y = Q({
2340
2340
  name: "ButtonGroupSection",
2341
2341
  props: e,
2342
2342
  classes: Y,
@@ -2349,19 +2349,19 @@ const Gr = {}, we = (r, { radius: t, color: e, gradient: n, variant: a, autoCont
2349
2349
  varsResolver: we,
2350
2350
  rootSelector: "groupSection"
2351
2351
  });
2352
- return /* @__PURE__ */ p(N, { ...y("groupSection"), ref: t, variant: d, ...g });
2352
+ return /* @__PURE__ */ p(N, { ...y("groupSection"), ref: r, variant: d, ...g });
2353
2353
  });
2354
- Pr.classes = Y;
2355
- Pr.displayName = "@mantine/core/ButtonGroupSection";
2354
+ Pt.classes = Y;
2355
+ Pt.displayName = "@mantine/core/ButtonGroupSection";
2356
2356
  const Ce = {
2357
2357
  in: { opacity: 1, transform: `translate(-50%, calc(-50% + ${c(1)}))` },
2358
2358
  out: { opacity: 0, transform: "translate(-50%, -200%)" },
2359
2359
  common: { transformOrigin: "center" },
2360
2360
  transitionProperty: "transform, opacity"
2361
- }, xe = {}, ke = (r, { radius: t, color: e, gradient: n, variant: a, size: o, justify: i, autoContrast: s }) => {
2362
- const l = r.variantColorResolver({
2363
- color: e || r.primaryColor,
2364
- theme: r,
2361
+ }, xe = {}, ke = (t, { radius: r, color: e, gradient: n, variant: a, size: o, justify: i, autoContrast: s }) => {
2362
+ const l = t.variantColorResolver({
2363
+ color: e || t.primaryColor,
2364
+ theme: t,
2365
2365
  gradient: n,
2366
2366
  variant: a || "filled",
2367
2367
  autoContrast: s
@@ -2371,8 +2371,8 @@ const Ce = {
2371
2371
  "--button-justify": i,
2372
2372
  "--button-height": O(o, "button-height"),
2373
2373
  "--button-padding-x": O(o, "button-padding-x"),
2374
- "--button-fz": o != null && o.includes("compact") ? nr(o.replace("compact-", "")) : nr(o),
2375
- "--button-radius": t === void 0 ? void 0 : qr(t),
2374
+ "--button-fz": o != null && o.includes("compact") ? nt(o.replace("compact-", "")) : nt(o),
2375
+ "--button-radius": r === void 0 ? void 0 : qt(r),
2376
2376
  "--button-bg": e || a ? l.background : void 0,
2377
2377
  "--button-hover": e || a ? l.hover : void 0,
2378
2378
  "--button-color": l.color,
@@ -2380,8 +2380,8 @@ const Ce = {
2380
2380
  "--button-hover-color": e || a ? l.hoverColor : void 0
2381
2381
  }
2382
2382
  };
2383
- }, K = st((r, t) => {
2384
- const e = I("Button", xe, r), {
2383
+ }, K = sr((t, r) => {
2384
+ const e = I("Button", xe, t), {
2385
2385
  style: n,
2386
2386
  vars: a,
2387
2387
  className: o,
@@ -2414,11 +2414,11 @@ const Ce = {
2414
2414
  unstyled: v,
2415
2415
  vars: a,
2416
2416
  varsResolver: ke
2417
- }), E = !!d, or = !!u;
2417
+ }), E = !!d, ot = !!u;
2418
2418
  return /* @__PURE__ */ z(
2419
- Rr,
2419
+ Rt,
2420
2420
  {
2421
- ref: t,
2421
+ ref: r,
2422
2422
  ...S("root", { active: !s && !y && !w }),
2423
2423
  unstyled: v,
2424
2424
  variant: m,
@@ -2429,14 +2429,14 @@ const Ce = {
2429
2429
  loading: y,
2430
2430
  block: f,
2431
2431
  "with-left-section": E,
2432
- "with-right-section": or
2432
+ "with-right-section": ot
2433
2433
  },
2434
2434
  b
2435
2435
  ],
2436
2436
  ...k,
2437
2437
  children: [
2438
- /* @__PURE__ */ p(lt, { mounted: !!y, transition: Ce, duration: 150, children: (ar) => /* @__PURE__ */ p(N, { component: "span", ...S("loader", { style: ar }), "aria-hidden": !0, children: /* @__PURE__ */ p(
2439
- er,
2438
+ /* @__PURE__ */ p(lr, { mounted: !!y, transition: Ce, duration: 150, children: (at) => /* @__PURE__ */ p(N, { component: "span", ...S("loader", { style: at }), "aria-hidden": !0, children: /* @__PURE__ */ p(
2439
+ et,
2440
2440
  {
2441
2441
  color: "var(--button-color)",
2442
2442
  size: "calc(var(--button-height) / 1.8)",
@@ -2454,15 +2454,17 @@ const Ce = {
2454
2454
  });
2455
2455
  K.classes = Y;
2456
2456
  K.displayName = "@mantine/core/Button";
2457
- K.Group = _r;
2458
- K.GroupSection = Pr;
2459
- function Le({ children: r }) {
2460
- return /* @__PURE__ */ p(nt, { children: r });
2461
- }
2462
- const Ee = (r) => /* @__PURE__ */ p(K, { ...r });
2457
+ K.Group = _t;
2458
+ K.GroupSection = Pt;
2459
+ function Ae({ children: t, theme: r }) {
2460
+ return /* @__PURE__ */ p(nr, { theme: r, children: t });
2461
+ }
2462
+ const Ne = "_button_1bwq5_1", Te = {
2463
+ button: Ne
2464
+ }, Oe = (t) => /* @__PURE__ */ p(K, { ...t, className: Te.button });
2463
2465
  export {
2464
- _e as ColorSchemeScript,
2465
- Le as MantineProvider,
2466
- Ee as TestButton,
2467
- Pe as mantineHtmlProps
2466
+ Oe as Button,
2467
+ Le as ColorSchemeScript,
2468
+ Ae as MantineProvider,
2469
+ Ee as mantineHtmlProps
2468
2470
  };