@hai-dev/ui-kit 1.0.6 → 1.0.8
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/{Box-CiYPzbPd.js → Box-D8oKffw9.js} +18 -17
- package/dist/{Button-chJUX25I.js → Button-BBF8hp7e.js} +16 -15
- package/dist/{ButtonBase-DZwhOh56.js → ButtonBase-T2KH9jsD.js} +2 -2
- package/dist/{CircularProgress-BCrSQadM.js → CircularProgress-BQQkuSse.js} +110 -136
- package/dist/{DialogTitle-BUcXvkzd.js → Dialog-B97c7WYP.js} +765 -1010
- package/dist/DialogTitle-Du4tqTs0.js +254 -0
- package/dist/{Typography-BmYEfS8y.js → Typography-r_TXEM1e.js} +4 -4
- package/dist/assets/upload-dialog-errors.css +1 -0
- package/dist/assets/upload-dialog.css +1 -1
- package/dist/{chainPropTypes-HYSaT0L0.js → chainPropTypes-KIxDwPzf.js} +15 -15
- package/dist/components/button/button.js +1 -1
- package/dist/components/circular-progress-loader/circular-progress-loader.js +3 -3
- package/dist/components/photo-crop-uploader/components/error-upload-dialog/error-upload-dialog.js +26 -25
- package/dist/components/photo-crop-uploader/components/photo-list/photo-list.js +1 -1
- package/dist/components/photo-crop-uploader/components/upload-button/upload-button.js +17 -17
- package/dist/components/photo-crop-uploader/components/upload-dialog/types.d.ts +12 -1
- package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog-errors.d.ts +3 -0
- package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog-errors.js +10 -0
- package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog.js +152 -129
- package/dist/components/photo-crop-uploader/constants.d.ts +3 -0
- package/dist/components/photo-crop-uploader/constants.js +35 -32
- package/dist/components/photo-crop-uploader/locale.js +8 -2
- package/dist/components/photo-crop-uploader/photo-crop-uploader.js +191 -152
- package/dist/components/photo-crop-uploader/types.d.ts +17 -3
- package/dist/components/photo-crop-uploader/utils/get-default-cropped-photo.d.ts +2 -1
- package/dist/components/photo-crop-uploader/utils/get-default-cropped-photo.js +26 -19
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +2 -1
- package/dist/createSimplePaletteValueFilter-nb0wSOzC.js +30 -0
- package/dist/{createTheme-BfVKUMHQ.js → createTheme-RvzX1VSA.js} +9 -9
- package/dist/extendSxProp-BW9e6LtL.js +36 -0
- package/dist/upload-dialog-errors-ku54UrUb.js +365 -0
- package/dist/useTheme-CsjkCBFJ.js +16 -0
- package/package.json +1 -1
- package/dist/extendSxProp-bpz0eCso.js +0 -49
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import * as h from "react";
|
|
2
|
+
import X from "react";
|
|
3
|
+
import { h as lt, P as e, g as ge, a as he, q as Le, c as B, t as Fe, b as Z } from "./createTheme-RvzX1VSA.js";
|
|
4
|
+
import { c as ct } from "./DialogTitle-Du4tqTs0.js";
|
|
5
|
+
import { e as ut, u as be, s as H, c as ve, b as ke } from "./chainPropTypes-KIxDwPzf.js";
|
|
6
|
+
import { u as dt } from "./useTheme-CsjkCBFJ.js";
|
|
7
|
+
import { jsx as M, jsxs as Ze } from "react/jsx-runtime";
|
|
8
|
+
import { m as _e } from "./createSimplePaletteValueFilter-nb0wSOzC.js";
|
|
9
|
+
import { _ as pt, a as ft, T as Je, u as ie, b as je, c as $e } from "./ButtonBase-T2KH9jsD.js";
|
|
9
10
|
import { g as mt } from "./index-B2JRaoNz.js";
|
|
10
|
-
import { u as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
function et(t) {
|
|
11
|
+
import { u as yt } from "./useId-CK6Kn3Tn.js";
|
|
12
|
+
const gt = "exact-prop: ";
|
|
13
|
+
function Qe(t) {
|
|
14
14
|
return process.env.NODE_ENV === "production" ? t : {
|
|
15
15
|
...t,
|
|
16
|
-
[
|
|
17
|
-
const
|
|
18
|
-
return
|
|
16
|
+
[gt]: (n) => {
|
|
17
|
+
const i = Object.keys(n).filter((r) => !t.hasOwnProperty(r));
|
|
18
|
+
return i.length > 0 ? new Error(`The following props are not supported: ${i.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Ce() {
|
|
23
23
|
const t = dt(ut);
|
|
24
|
-
return process.env.NODE_ENV !== "production" &&
|
|
24
|
+
return process.env.NODE_ENV !== "production" && h.useDebugValue(t), t[lt] || t;
|
|
25
25
|
}
|
|
26
26
|
function Be(...t) {
|
|
27
|
-
return t.reduce((n,
|
|
28
|
-
n.apply(this, a),
|
|
27
|
+
return t.reduce((n, i) => i == null ? n : function(...a) {
|
|
28
|
+
n.apply(this, a), i.apply(this, a);
|
|
29
29
|
}, () => {
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
function q(t) {
|
|
33
33
|
return t && t.ownerDocument || document;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function pe(t) {
|
|
36
36
|
return q(t).defaultView || window;
|
|
37
37
|
}
|
|
38
38
|
function He(t, n) {
|
|
39
39
|
typeof t == "function" ? t(n) : t && (t.current = n);
|
|
40
40
|
}
|
|
41
|
-
var
|
|
41
|
+
var ce = { exports: {} }, w = {};
|
|
42
42
|
/**
|
|
43
43
|
* @license React
|
|
44
44
|
* react-dom.production.js
|
|
@@ -48,11 +48,11 @@ var fe = { exports: {} }, C = {};
|
|
|
48
48
|
* This source code is licensed under the MIT license found in the
|
|
49
49
|
* LICENSE file in the root directory of this source tree.
|
|
50
50
|
*/
|
|
51
|
-
var
|
|
52
|
-
function
|
|
53
|
-
if (
|
|
54
|
-
|
|
55
|
-
var t =
|
|
51
|
+
var We;
|
|
52
|
+
function ht() {
|
|
53
|
+
if (We) return w;
|
|
54
|
+
We = 1;
|
|
55
|
+
var t = X;
|
|
56
56
|
function n(u) {
|
|
57
57
|
var l = "https://react.dev/errors/" + u;
|
|
58
58
|
if (1 < arguments.length) {
|
|
@@ -62,26 +62,26 @@ function bt() {
|
|
|
62
62
|
}
|
|
63
63
|
return "Minified React error #" + u + "; visit " + l + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function i() {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var r = {
|
|
68
68
|
d: {
|
|
69
|
-
f:
|
|
69
|
+
f: i,
|
|
70
70
|
r: function() {
|
|
71
71
|
throw Error(n(522));
|
|
72
72
|
},
|
|
73
|
-
D:
|
|
74
|
-
C:
|
|
75
|
-
L:
|
|
76
|
-
m:
|
|
77
|
-
X:
|
|
78
|
-
S:
|
|
79
|
-
M:
|
|
73
|
+
D: i,
|
|
74
|
+
C: i,
|
|
75
|
+
L: i,
|
|
76
|
+
m: i,
|
|
77
|
+
X: i,
|
|
78
|
+
S: i,
|
|
79
|
+
M: i
|
|
80
80
|
},
|
|
81
81
|
p: 0,
|
|
82
82
|
findDOMNode: null
|
|
83
83
|
}, a = Symbol.for("react.portal");
|
|
84
|
-
function
|
|
84
|
+
function s(u, l, m) {
|
|
85
85
|
var c = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
86
86
|
return {
|
|
87
87
|
$$typeof: a,
|
|
@@ -97,41 +97,41 @@ function bt() {
|
|
|
97
97
|
if (typeof l == "string")
|
|
98
98
|
return l === "use-credentials" ? l : "";
|
|
99
99
|
}
|
|
100
|
-
return
|
|
100
|
+
return w.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, w.createPortal = function(u, l) {
|
|
101
101
|
var m = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
102
102
|
if (!l || l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11)
|
|
103
103
|
throw Error(n(299));
|
|
104
|
-
return
|
|
105
|
-
},
|
|
106
|
-
var l = d.T, m =
|
|
104
|
+
return s(u, l, null, m);
|
|
105
|
+
}, w.flushSync = function(u) {
|
|
106
|
+
var l = d.T, m = r.p;
|
|
107
107
|
try {
|
|
108
|
-
if (d.T = null,
|
|
108
|
+
if (d.T = null, r.p = 2, u) return u();
|
|
109
109
|
} finally {
|
|
110
|
-
d.T = l,
|
|
110
|
+
d.T = l, r.p = m, r.d.f();
|
|
111
111
|
}
|
|
112
|
-
},
|
|
113
|
-
typeof u == "string" && (l ? (l = l.crossOrigin, l = typeof l == "string" ? l === "use-credentials" ? l : "" : void 0) : l = null,
|
|
114
|
-
},
|
|
115
|
-
typeof u == "string" &&
|
|
116
|
-
},
|
|
112
|
+
}, w.preconnect = function(u, l) {
|
|
113
|
+
typeof u == "string" && (l ? (l = l.crossOrigin, l = typeof l == "string" ? l === "use-credentials" ? l : "" : void 0) : l = null, r.d.C(u, l));
|
|
114
|
+
}, w.prefetchDNS = function(u) {
|
|
115
|
+
typeof u == "string" && r.d.D(u);
|
|
116
|
+
}, w.preinit = function(u, l) {
|
|
117
117
|
if (typeof u == "string" && l && typeof l.as == "string") {
|
|
118
|
-
var m = l.as, c = p(m, l.crossOrigin),
|
|
119
|
-
m === "style" ?
|
|
118
|
+
var m = l.as, c = p(m, l.crossOrigin), o = typeof l.integrity == "string" ? l.integrity : void 0, f = typeof l.fetchPriority == "string" ? l.fetchPriority : void 0;
|
|
119
|
+
m === "style" ? r.d.S(
|
|
120
120
|
u,
|
|
121
121
|
typeof l.precedence == "string" ? l.precedence : void 0,
|
|
122
122
|
{
|
|
123
123
|
crossOrigin: c,
|
|
124
|
-
integrity:
|
|
124
|
+
integrity: o,
|
|
125
125
|
fetchPriority: f
|
|
126
126
|
}
|
|
127
|
-
) : m === "script" &&
|
|
127
|
+
) : m === "script" && r.d.X(u, {
|
|
128
128
|
crossOrigin: c,
|
|
129
|
-
integrity:
|
|
129
|
+
integrity: o,
|
|
130
130
|
fetchPriority: f,
|
|
131
131
|
nonce: typeof l.nonce == "string" ? l.nonce : void 0
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
},
|
|
134
|
+
}, w.preinitModule = function(u, l) {
|
|
135
135
|
if (typeof u == "string")
|
|
136
136
|
if (typeof l == "object" && l !== null) {
|
|
137
137
|
if (l.as == null || l.as === "script") {
|
|
@@ -139,17 +139,17 @@ function bt() {
|
|
|
139
139
|
l.as,
|
|
140
140
|
l.crossOrigin
|
|
141
141
|
);
|
|
142
|
-
|
|
142
|
+
r.d.M(u, {
|
|
143
143
|
crossOrigin: m,
|
|
144
144
|
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
|
|
145
145
|
nonce: typeof l.nonce == "string" ? l.nonce : void 0
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
} else l == null &&
|
|
149
|
-
},
|
|
148
|
+
} else l == null && r.d.M(u);
|
|
149
|
+
}, w.preload = function(u, l) {
|
|
150
150
|
if (typeof u == "string" && typeof l == "object" && l !== null && typeof l.as == "string") {
|
|
151
151
|
var m = l.as, c = p(m, l.crossOrigin);
|
|
152
|
-
|
|
152
|
+
r.d.L(u, m, {
|
|
153
153
|
crossOrigin: c,
|
|
154
154
|
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
|
|
155
155
|
nonce: typeof l.nonce == "string" ? l.nonce : void 0,
|
|
@@ -161,25 +161,25 @@ function bt() {
|
|
|
161
161
|
media: typeof l.media == "string" ? l.media : void 0
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
|
-
},
|
|
164
|
+
}, w.preloadModule = function(u, l) {
|
|
165
165
|
if (typeof u == "string")
|
|
166
166
|
if (l) {
|
|
167
167
|
var m = p(l.as, l.crossOrigin);
|
|
168
|
-
|
|
168
|
+
r.d.m(u, {
|
|
169
169
|
as: typeof l.as == "string" && l.as !== "script" ? l.as : void 0,
|
|
170
170
|
crossOrigin: m,
|
|
171
171
|
integrity: typeof l.integrity == "string" ? l.integrity : void 0
|
|
172
172
|
});
|
|
173
|
-
} else
|
|
174
|
-
},
|
|
175
|
-
|
|
176
|
-
},
|
|
173
|
+
} else r.d.m(u);
|
|
174
|
+
}, w.requestFormReset = function(u) {
|
|
175
|
+
r.d.r(u);
|
|
176
|
+
}, w.unstable_batchedUpdates = function(u, l) {
|
|
177
177
|
return u(l);
|
|
178
|
-
},
|
|
178
|
+
}, w.useFormState = function(u, l, m) {
|
|
179
179
|
return d.H.useFormState(u, l, m);
|
|
180
|
-
},
|
|
180
|
+
}, w.useFormStatus = function() {
|
|
181
181
|
return d.H.useHostTransitionStatus();
|
|
182
|
-
},
|
|
182
|
+
}, w.version = "19.1.1", w;
|
|
183
183
|
}
|
|
184
184
|
var k = {};
|
|
185
185
|
/**
|
|
@@ -191,42 +191,42 @@ var k = {};
|
|
|
191
191
|
* This source code is licensed under the MIT license found in the
|
|
192
192
|
* LICENSE file in the root directory of this source tree.
|
|
193
193
|
*/
|
|
194
|
-
var
|
|
195
|
-
function
|
|
196
|
-
return
|
|
194
|
+
var Ue;
|
|
195
|
+
function bt() {
|
|
196
|
+
return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
197
197
|
function t() {
|
|
198
198
|
}
|
|
199
199
|
function n(c) {
|
|
200
200
|
return "" + c;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
var
|
|
202
|
+
function i(c, o, f) {
|
|
203
|
+
var y = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
204
204
|
try {
|
|
205
|
-
n(
|
|
205
|
+
n(y);
|
|
206
206
|
var E = !1;
|
|
207
207
|
} catch {
|
|
208
208
|
E = !0;
|
|
209
209
|
}
|
|
210
210
|
return E && (console.error(
|
|
211
211
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
212
|
-
typeof Symbol == "function" && Symbol.toStringTag &&
|
|
213
|
-
), n(
|
|
212
|
+
typeof Symbol == "function" && Symbol.toStringTag && y[Symbol.toStringTag] || y.constructor.name || "Object"
|
|
213
|
+
), n(y)), {
|
|
214
214
|
$$typeof: l,
|
|
215
|
-
key:
|
|
215
|
+
key: y == null ? null : "" + y,
|
|
216
216
|
children: c,
|
|
217
|
-
containerInfo:
|
|
217
|
+
containerInfo: o,
|
|
218
218
|
implementation: f
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function r(c, o) {
|
|
222
222
|
if (c === "font") return "";
|
|
223
|
-
if (typeof
|
|
224
|
-
return
|
|
223
|
+
if (typeof o == "string")
|
|
224
|
+
return o === "use-credentials" ? o : "";
|
|
225
225
|
}
|
|
226
226
|
function a(c) {
|
|
227
227
|
return c === null ? "`null`" : c === void 0 ? "`undefined`" : c === "" ? "an empty string" : 'something with type "' + typeof c + '"';
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function s(c) {
|
|
230
230
|
return c === null ? "`null`" : c === void 0 ? "`undefined`" : c === "" ? "an empty string" : typeof c == "string" ? JSON.stringify(c) : typeof c == "number" ? "`" + c + "`" : 'something with type "' + typeof c + '"';
|
|
231
231
|
}
|
|
232
232
|
function d() {
|
|
@@ -240,7 +240,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
240
240
|
), c;
|
|
241
241
|
}
|
|
242
242
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
243
|
-
var p =
|
|
243
|
+
var p = X, u = {
|
|
244
244
|
d: {
|
|
245
245
|
f: t,
|
|
246
246
|
r: function() {
|
|
@@ -261,32 +261,32 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
261
261
|
}, l = Symbol.for("react.portal"), m = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
262
262
|
typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
|
|
263
263
|
"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
|
|
264
|
-
), k.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, k.createPortal = function(c,
|
|
264
|
+
), k.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, k.createPortal = function(c, o) {
|
|
265
265
|
var f = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
266
|
-
if (!
|
|
266
|
+
if (!o || o.nodeType !== 1 && o.nodeType !== 9 && o.nodeType !== 11)
|
|
267
267
|
throw Error("Target container is not a DOM element.");
|
|
268
|
-
return
|
|
268
|
+
return i(c, o, null, f);
|
|
269
269
|
}, k.flushSync = function(c) {
|
|
270
|
-
var
|
|
270
|
+
var o = m.T, f = u.p;
|
|
271
271
|
try {
|
|
272
272
|
if (m.T = null, u.p = 2, c)
|
|
273
273
|
return c();
|
|
274
274
|
} finally {
|
|
275
|
-
m.T =
|
|
275
|
+
m.T = o, u.p = f, u.d.f() && console.error(
|
|
276
276
|
"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
|
|
277
277
|
);
|
|
278
278
|
}
|
|
279
|
-
}, k.preconnect = function(c,
|
|
280
|
-
typeof c == "string" && c ?
|
|
279
|
+
}, k.preconnect = function(c, o) {
|
|
280
|
+
typeof c == "string" && c ? o != null && typeof o != "object" ? console.error(
|
|
281
281
|
"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
|
|
282
|
-
|
|
283
|
-
) :
|
|
282
|
+
s(o)
|
|
283
|
+
) : o != null && typeof o.crossOrigin != "string" && console.error(
|
|
284
284
|
"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
|
|
285
|
-
a(
|
|
285
|
+
a(o.crossOrigin)
|
|
286
286
|
) : console.error(
|
|
287
287
|
"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
288
288
|
a(c)
|
|
289
|
-
), typeof c == "string" && (
|
|
289
|
+
), typeof c == "string" && (o ? (o = o.crossOrigin, o = typeof o == "string" ? o === "use-credentials" ? o : "" : void 0) : o = null, u.d.C(c, o));
|
|
290
290
|
}, k.prefetchDNS = function(c) {
|
|
291
291
|
if (typeof c != "string" || !c)
|
|
292
292
|
console.error(
|
|
@@ -294,120 +294,120 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
294
294
|
a(c)
|
|
295
295
|
);
|
|
296
296
|
else if (1 < arguments.length) {
|
|
297
|
-
var
|
|
298
|
-
typeof
|
|
297
|
+
var o = arguments[1];
|
|
298
|
+
typeof o == "object" && o.hasOwnProperty("crossOrigin") ? console.error(
|
|
299
299
|
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
|
300
|
-
|
|
300
|
+
s(o)
|
|
301
301
|
) : console.error(
|
|
302
302
|
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
|
303
|
-
|
|
303
|
+
s(o)
|
|
304
304
|
);
|
|
305
305
|
}
|
|
306
306
|
typeof c == "string" && u.d.D(c);
|
|
307
|
-
}, k.preinit = function(c,
|
|
308
|
-
if (typeof c == "string" && c ?
|
|
307
|
+
}, k.preinit = function(c, o) {
|
|
308
|
+
if (typeof c == "string" && c ? o == null || typeof o != "object" ? console.error(
|
|
309
309
|
"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
|
|
310
|
-
|
|
311
|
-
) :
|
|
310
|
+
s(o)
|
|
311
|
+
) : o.as !== "style" && o.as !== "script" && console.error(
|
|
312
312
|
'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
|
|
313
|
-
|
|
313
|
+
s(o.as)
|
|
314
314
|
) : console.error(
|
|
315
315
|
"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
316
316
|
a(c)
|
|
317
|
-
), typeof c == "string" &&
|
|
318
|
-
var f =
|
|
317
|
+
), typeof c == "string" && o && typeof o.as == "string") {
|
|
318
|
+
var f = o.as, y = r(f, o.crossOrigin), E = typeof o.integrity == "string" ? o.integrity : void 0, O = typeof o.fetchPriority == "string" ? o.fetchPriority : void 0;
|
|
319
319
|
f === "style" ? u.d.S(
|
|
320
320
|
c,
|
|
321
|
-
typeof
|
|
321
|
+
typeof o.precedence == "string" ? o.precedence : void 0,
|
|
322
322
|
{
|
|
323
|
-
crossOrigin:
|
|
323
|
+
crossOrigin: y,
|
|
324
324
|
integrity: E,
|
|
325
325
|
fetchPriority: O
|
|
326
326
|
}
|
|
327
327
|
) : f === "script" && u.d.X(c, {
|
|
328
|
-
crossOrigin:
|
|
328
|
+
crossOrigin: y,
|
|
329
329
|
integrity: E,
|
|
330
330
|
fetchPriority: O,
|
|
331
|
-
nonce: typeof
|
|
331
|
+
nonce: typeof o.nonce == "string" ? o.nonce : void 0
|
|
332
332
|
});
|
|
333
333
|
}
|
|
334
|
-
}, k.preinitModule = function(c,
|
|
334
|
+
}, k.preinitModule = function(c, o) {
|
|
335
335
|
var f = "";
|
|
336
|
-
if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."),
|
|
336
|
+
if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), o !== void 0 && typeof o != "object" ? f += " The `options` argument encountered was " + a(o) + "." : o && "as" in o && o.as !== "script" && (f += " The `as` option encountered was " + s(o.as) + "."), f)
|
|
337
337
|
console.error(
|
|
338
338
|
"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
|
|
339
339
|
f
|
|
340
340
|
);
|
|
341
341
|
else
|
|
342
|
-
switch (f =
|
|
342
|
+
switch (f = o && typeof o.as == "string" ? o.as : "script", f) {
|
|
343
343
|
case "script":
|
|
344
344
|
break;
|
|
345
345
|
default:
|
|
346
|
-
f =
|
|
346
|
+
f = s(f), console.error(
|
|
347
347
|
'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
|
|
348
348
|
f,
|
|
349
349
|
c
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
|
-
typeof c == "string" && (typeof
|
|
353
|
-
|
|
354
|
-
|
|
352
|
+
typeof c == "string" && (typeof o == "object" && o !== null ? (o.as == null || o.as === "script") && (f = r(
|
|
353
|
+
o.as,
|
|
354
|
+
o.crossOrigin
|
|
355
355
|
), u.d.M(c, {
|
|
356
356
|
crossOrigin: f,
|
|
357
|
-
integrity: typeof
|
|
358
|
-
nonce: typeof
|
|
359
|
-
})) :
|
|
360
|
-
}, k.preload = function(c,
|
|
357
|
+
integrity: typeof o.integrity == "string" ? o.integrity : void 0,
|
|
358
|
+
nonce: typeof o.nonce == "string" ? o.nonce : void 0
|
|
359
|
+
})) : o == null && u.d.M(c));
|
|
360
|
+
}, k.preload = function(c, o) {
|
|
361
361
|
var f = "";
|
|
362
|
-
if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."),
|
|
362
|
+
if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), o == null || typeof o != "object" ? f += " The `options` argument encountered was " + a(o) + "." : typeof o.as == "string" && o.as || (f += " The `as` option encountered was " + a(o.as) + "."), f && console.error(
|
|
363
363
|
'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
|
|
364
364
|
f
|
|
365
|
-
), typeof c == "string" && typeof
|
|
366
|
-
f =
|
|
367
|
-
var
|
|
365
|
+
), typeof c == "string" && typeof o == "object" && o !== null && typeof o.as == "string") {
|
|
366
|
+
f = o.as;
|
|
367
|
+
var y = r(
|
|
368
368
|
f,
|
|
369
|
-
|
|
369
|
+
o.crossOrigin
|
|
370
370
|
);
|
|
371
371
|
u.d.L(c, f, {
|
|
372
|
-
crossOrigin:
|
|
373
|
-
integrity: typeof
|
|
374
|
-
nonce: typeof
|
|
375
|
-
type: typeof
|
|
376
|
-
fetchPriority: typeof
|
|
377
|
-
referrerPolicy: typeof
|
|
378
|
-
imageSrcSet: typeof
|
|
379
|
-
imageSizes: typeof
|
|
380
|
-
media: typeof
|
|
372
|
+
crossOrigin: y,
|
|
373
|
+
integrity: typeof o.integrity == "string" ? o.integrity : void 0,
|
|
374
|
+
nonce: typeof o.nonce == "string" ? o.nonce : void 0,
|
|
375
|
+
type: typeof o.type == "string" ? o.type : void 0,
|
|
376
|
+
fetchPriority: typeof o.fetchPriority == "string" ? o.fetchPriority : void 0,
|
|
377
|
+
referrerPolicy: typeof o.referrerPolicy == "string" ? o.referrerPolicy : void 0,
|
|
378
|
+
imageSrcSet: typeof o.imageSrcSet == "string" ? o.imageSrcSet : void 0,
|
|
379
|
+
imageSizes: typeof o.imageSizes == "string" ? o.imageSizes : void 0,
|
|
380
|
+
media: typeof o.media == "string" ? o.media : void 0
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
}, k.preloadModule = function(c,
|
|
383
|
+
}, k.preloadModule = function(c, o) {
|
|
384
384
|
var f = "";
|
|
385
|
-
typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."),
|
|
385
|
+
typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), o !== void 0 && typeof o != "object" ? f += " The `options` argument encountered was " + a(o) + "." : o && "as" in o && typeof o.as != "string" && (f += " The `as` option encountered was " + a(o.as) + "."), f && console.error(
|
|
386
386
|
'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
|
|
387
387
|
f
|
|
388
|
-
), typeof c == "string" && (
|
|
389
|
-
|
|
390
|
-
|
|
388
|
+
), typeof c == "string" && (o ? (f = r(
|
|
389
|
+
o.as,
|
|
390
|
+
o.crossOrigin
|
|
391
391
|
), u.d.m(c, {
|
|
392
|
-
as: typeof
|
|
392
|
+
as: typeof o.as == "string" && o.as !== "script" ? o.as : void 0,
|
|
393
393
|
crossOrigin: f,
|
|
394
|
-
integrity: typeof
|
|
394
|
+
integrity: typeof o.integrity == "string" ? o.integrity : void 0
|
|
395
395
|
})) : u.d.m(c));
|
|
396
396
|
}, k.requestFormReset = function(c) {
|
|
397
397
|
u.d.r(c);
|
|
398
|
-
}, k.unstable_batchedUpdates = function(c,
|
|
399
|
-
return c(
|
|
400
|
-
}, k.useFormState = function(c,
|
|
401
|
-
return d().useFormState(c,
|
|
398
|
+
}, k.unstable_batchedUpdates = function(c, o) {
|
|
399
|
+
return c(o);
|
|
400
|
+
}, k.useFormState = function(c, o, f) {
|
|
401
|
+
return d().useFormState(c, o, f);
|
|
402
402
|
}, k.useFormStatus = function() {
|
|
403
403
|
return d().useHostTransitionStatus();
|
|
404
404
|
}, k.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
405
405
|
})()), k;
|
|
406
406
|
}
|
|
407
|
-
var
|
|
408
|
-
function
|
|
409
|
-
if (
|
|
410
|
-
|
|
407
|
+
var Ve;
|
|
408
|
+
function vt() {
|
|
409
|
+
if (Ve) return ce.exports;
|
|
410
|
+
Ve = 1;
|
|
411
411
|
function t() {
|
|
412
412
|
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
|
|
413
413
|
if (process.env.NODE_ENV !== "production")
|
|
@@ -419,13 +419,13 @@ function Et() {
|
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
return process.env.NODE_ENV === "production" ? (t(),
|
|
422
|
+
return process.env.NODE_ENV === "production" ? (t(), ce.exports = ht()) : ce.exports = bt(), ce.exports;
|
|
423
423
|
}
|
|
424
|
-
var
|
|
425
|
-
const
|
|
424
|
+
var et = vt();
|
|
425
|
+
const ue = /* @__PURE__ */ mt(et), qe = {
|
|
426
426
|
disabled: !1
|
|
427
427
|
};
|
|
428
|
-
var
|
|
428
|
+
var Et = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
|
|
429
429
|
enter: e.number,
|
|
430
430
|
exit: e.number,
|
|
431
431
|
appear: e.number
|
|
@@ -442,112 +442,112 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
|
|
|
442
442
|
exitDone: e.string,
|
|
443
443
|
exitActive: e.string
|
|
444
444
|
})]);
|
|
445
|
-
var
|
|
445
|
+
var Tt = function(n) {
|
|
446
446
|
return n.scrollTop;
|
|
447
|
-
},
|
|
447
|
+
}, re = "unmounted", U = "exited", V = "entering", Y = "entered", De = "exiting", $ = /* @__PURE__ */ (function(t) {
|
|
448
448
|
pt(n, t);
|
|
449
|
-
function n(
|
|
450
|
-
var
|
|
451
|
-
|
|
452
|
-
var d = a, p = d && !d.isMounting ?
|
|
453
|
-
return
|
|
449
|
+
function n(r, a) {
|
|
450
|
+
var s;
|
|
451
|
+
s = t.call(this, r, a) || this;
|
|
452
|
+
var d = a, p = d && !d.isMounting ? r.enter : r.appear, u;
|
|
453
|
+
return s.appearStatus = null, r.in ? p ? (u = U, s.appearStatus = V) : u = Y : r.unmountOnExit || r.mountOnEnter ? u = re : u = U, s.state = {
|
|
454
454
|
status: u
|
|
455
|
-
},
|
|
455
|
+
}, s.nextCallback = null, s;
|
|
456
456
|
}
|
|
457
|
-
n.getDerivedStateFromProps = function(a,
|
|
457
|
+
n.getDerivedStateFromProps = function(a, s) {
|
|
458
458
|
var d = a.in;
|
|
459
|
-
return d &&
|
|
460
|
-
status:
|
|
459
|
+
return d && s.status === re ? {
|
|
460
|
+
status: U
|
|
461
461
|
} : null;
|
|
462
462
|
};
|
|
463
|
-
var
|
|
464
|
-
return
|
|
463
|
+
var i = n.prototype;
|
|
464
|
+
return i.componentDidMount = function() {
|
|
465
465
|
this.updateStatus(!0, this.appearStatus);
|
|
466
|
-
},
|
|
467
|
-
var
|
|
466
|
+
}, i.componentDidUpdate = function(a) {
|
|
467
|
+
var s = null;
|
|
468
468
|
if (a !== this.props) {
|
|
469
469
|
var d = this.state.status;
|
|
470
|
-
this.props.in ? d !==
|
|
470
|
+
this.props.in ? d !== V && d !== Y && (s = V) : (d === V || d === Y) && (s = De);
|
|
471
471
|
}
|
|
472
|
-
this.updateStatus(!1,
|
|
473
|
-
},
|
|
472
|
+
this.updateStatus(!1, s);
|
|
473
|
+
}, i.componentWillUnmount = function() {
|
|
474
474
|
this.cancelNextCallback();
|
|
475
|
-
},
|
|
476
|
-
var a = this.props.timeout,
|
|
477
|
-
return
|
|
478
|
-
exit:
|
|
475
|
+
}, i.getTimeouts = function() {
|
|
476
|
+
var a = this.props.timeout, s, d, p;
|
|
477
|
+
return s = d = p = a, a != null && typeof a != "number" && (s = a.exit, d = a.enter, p = a.appear !== void 0 ? a.appear : d), {
|
|
478
|
+
exit: s,
|
|
479
479
|
enter: d,
|
|
480
480
|
appear: p
|
|
481
481
|
};
|
|
482
|
-
},
|
|
483
|
-
if (a === void 0 && (a = !1),
|
|
484
|
-
if (this.cancelNextCallback(),
|
|
482
|
+
}, i.updateStatus = function(a, s) {
|
|
483
|
+
if (a === void 0 && (a = !1), s !== null)
|
|
484
|
+
if (this.cancelNextCallback(), s === V) {
|
|
485
485
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
486
|
-
var d = this.props.nodeRef ? this.props.nodeRef.current :
|
|
487
|
-
d &&
|
|
486
|
+
var d = this.props.nodeRef ? this.props.nodeRef.current : ue.findDOMNode(this);
|
|
487
|
+
d && Tt(d);
|
|
488
488
|
}
|
|
489
489
|
this.performEnter(a);
|
|
490
490
|
} else
|
|
491
491
|
this.performExit();
|
|
492
|
-
else this.props.unmountOnExit && this.state.status ===
|
|
493
|
-
status:
|
|
492
|
+
else this.props.unmountOnExit && this.state.status === U && this.setState({
|
|
493
|
+
status: re
|
|
494
494
|
});
|
|
495
|
-
},
|
|
496
|
-
var
|
|
497
|
-
if (!a && !d ||
|
|
495
|
+
}, i.performEnter = function(a) {
|
|
496
|
+
var s = this, d = this.props.enter, p = this.context ? this.context.isMounting : a, u = this.props.nodeRef ? [p] : [ue.findDOMNode(this), p], l = u[0], m = u[1], c = this.getTimeouts(), o = p ? c.appear : c.enter;
|
|
497
|
+
if (!a && !d || qe.disabled) {
|
|
498
498
|
this.safeSetState({
|
|
499
|
-
status:
|
|
499
|
+
status: Y
|
|
500
500
|
}, function() {
|
|
501
|
-
|
|
501
|
+
s.props.onEntered(l);
|
|
502
502
|
});
|
|
503
503
|
return;
|
|
504
504
|
}
|
|
505
505
|
this.props.onEnter(l, m), this.safeSetState({
|
|
506
|
-
status:
|
|
506
|
+
status: V
|
|
507
507
|
}, function() {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
status:
|
|
508
|
+
s.props.onEntering(l, m), s.onTransitionEnd(o, function() {
|
|
509
|
+
s.safeSetState({
|
|
510
|
+
status: Y
|
|
511
511
|
}, function() {
|
|
512
|
-
|
|
512
|
+
s.props.onEntered(l, m);
|
|
513
513
|
});
|
|
514
514
|
});
|
|
515
515
|
});
|
|
516
|
-
},
|
|
517
|
-
var a = this,
|
|
518
|
-
if (!
|
|
516
|
+
}, i.performExit = function() {
|
|
517
|
+
var a = this, s = this.props.exit, d = this.getTimeouts(), p = this.props.nodeRef ? void 0 : ue.findDOMNode(this);
|
|
518
|
+
if (!s || qe.disabled) {
|
|
519
519
|
this.safeSetState({
|
|
520
|
-
status:
|
|
520
|
+
status: U
|
|
521
521
|
}, function() {
|
|
522
522
|
a.props.onExited(p);
|
|
523
523
|
});
|
|
524
524
|
return;
|
|
525
525
|
}
|
|
526
526
|
this.props.onExit(p), this.safeSetState({
|
|
527
|
-
status:
|
|
527
|
+
status: De
|
|
528
528
|
}, function() {
|
|
529
529
|
a.props.onExiting(p), a.onTransitionEnd(d.exit, function() {
|
|
530
530
|
a.safeSetState({
|
|
531
|
-
status:
|
|
531
|
+
status: U
|
|
532
532
|
}, function() {
|
|
533
533
|
a.props.onExited(p);
|
|
534
534
|
});
|
|
535
535
|
});
|
|
536
536
|
});
|
|
537
|
-
},
|
|
537
|
+
}, i.cancelNextCallback = function() {
|
|
538
538
|
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
539
|
-
},
|
|
540
|
-
|
|
541
|
-
},
|
|
542
|
-
var
|
|
539
|
+
}, i.safeSetState = function(a, s) {
|
|
540
|
+
s = this.setNextCallback(s), this.setState(a, s);
|
|
541
|
+
}, i.setNextCallback = function(a) {
|
|
542
|
+
var s = this, d = !0;
|
|
543
543
|
return this.nextCallback = function(p) {
|
|
544
|
-
d && (d = !1,
|
|
544
|
+
d && (d = !1, s.nextCallback = null, a(p));
|
|
545
545
|
}, this.nextCallback.cancel = function() {
|
|
546
546
|
d = !1;
|
|
547
547
|
}, this.nextCallback;
|
|
548
|
-
},
|
|
549
|
-
this.setNextCallback(
|
|
550
|
-
var d = this.props.nodeRef ? this.props.nodeRef.current :
|
|
548
|
+
}, i.onTransitionEnd = function(a, s) {
|
|
549
|
+
this.setNextCallback(s);
|
|
550
|
+
var d = this.props.nodeRef ? this.props.nodeRef.current : ue.findDOMNode(this), p = a == null && !this.props.addEndListener;
|
|
551
551
|
if (!d || p) {
|
|
552
552
|
setTimeout(this.nextCallback, 0);
|
|
553
553
|
return;
|
|
@@ -557,23 +557,23 @@ var xt = function(n) {
|
|
|
557
557
|
this.props.addEndListener(l, m);
|
|
558
558
|
}
|
|
559
559
|
a != null && setTimeout(this.nextCallback, a);
|
|
560
|
-
},
|
|
560
|
+
}, i.render = function() {
|
|
561
561
|
var a = this.state.status;
|
|
562
|
-
if (a ===
|
|
562
|
+
if (a === re)
|
|
563
563
|
return null;
|
|
564
|
-
var
|
|
565
|
-
|
|
566
|
-
var p = ft(
|
|
564
|
+
var s = this.props, d = s.children;
|
|
565
|
+
s.in, s.mountOnEnter, s.unmountOnExit, s.appear, s.enter, s.exit, s.timeout, s.addEndListener, s.onEnter, s.onEntering, s.onEntered, s.onExit, s.onExiting, s.onExited, s.nodeRef;
|
|
566
|
+
var p = ft(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
567
567
|
return (
|
|
568
568
|
// allows for nested Transitions
|
|
569
|
-
/* @__PURE__ */
|
|
569
|
+
/* @__PURE__ */ X.createElement(Je.Provider, {
|
|
570
570
|
value: null
|
|
571
|
-
}, typeof d == "function" ? d(a, p) :
|
|
571
|
+
}, typeof d == "function" ? d(a, p) : X.cloneElement(X.Children.only(d), p))
|
|
572
572
|
);
|
|
573
573
|
}, n;
|
|
574
|
-
})(
|
|
575
|
-
|
|
576
|
-
|
|
574
|
+
})(X.Component);
|
|
575
|
+
$.contextType = Je;
|
|
576
|
+
$.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
577
577
|
/**
|
|
578
578
|
* A React reference to DOM element that need to transition:
|
|
579
579
|
* https://stackoverflow.com/a/51127130/4671932
|
|
@@ -586,9 +586,9 @@ B.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
586
586
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
587
587
|
*/
|
|
588
588
|
nodeRef: e.shape({
|
|
589
|
-
current: typeof Element > "u" ? e.any : function(t, n,
|
|
589
|
+
current: typeof Element > "u" ? e.any : function(t, n, i, r, a, s) {
|
|
590
590
|
var d = t[n];
|
|
591
|
-
return e.instanceOf(d && "ownerDocument" in d ? d.ownerDocument.defaultView.Element : Element)(t, n,
|
|
591
|
+
return e.instanceOf(d && "ownerDocument" in d ? d.ownerDocument.defaultView.Element : Element)(t, n, i, r, a, s);
|
|
592
592
|
}
|
|
593
593
|
}),
|
|
594
594
|
/**
|
|
@@ -669,11 +669,11 @@ B.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
669
669
|
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
670
670
|
*/
|
|
671
671
|
timeout: function(n) {
|
|
672
|
-
var
|
|
673
|
-
n.addEndListener || (
|
|
674
|
-
for (var
|
|
675
|
-
a[
|
|
676
|
-
return
|
|
672
|
+
var i = Et;
|
|
673
|
+
n.addEndListener || (i = i.isRequired);
|
|
674
|
+
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
|
|
675
|
+
a[s - 1] = arguments[s];
|
|
676
|
+
return i.apply(void 0, [n].concat(a));
|
|
677
677
|
},
|
|
678
678
|
/**
|
|
679
679
|
* Add a custom transition end trigger. Called with the transitioning
|
|
@@ -742,41 +742,41 @@ B.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
742
742
|
*/
|
|
743
743
|
onExited: e.func
|
|
744
744
|
} : {};
|
|
745
|
-
function
|
|
745
|
+
function z() {
|
|
746
746
|
}
|
|
747
|
-
|
|
747
|
+
$.defaultProps = {
|
|
748
748
|
in: !1,
|
|
749
749
|
mountOnEnter: !1,
|
|
750
750
|
unmountOnExit: !1,
|
|
751
751
|
appear: !1,
|
|
752
752
|
enter: !0,
|
|
753
753
|
exit: !0,
|
|
754
|
-
onEnter:
|
|
755
|
-
onEntering:
|
|
756
|
-
onEntered:
|
|
757
|
-
onExit:
|
|
758
|
-
onExiting:
|
|
759
|
-
onExited:
|
|
754
|
+
onEnter: z,
|
|
755
|
+
onEntering: z,
|
|
756
|
+
onEntered: z,
|
|
757
|
+
onExit: z,
|
|
758
|
+
onExiting: z,
|
|
759
|
+
onExited: z
|
|
760
760
|
};
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
const
|
|
767
|
-
function
|
|
761
|
+
$.UNMOUNTED = re;
|
|
762
|
+
$.EXITED = U;
|
|
763
|
+
$.ENTERING = V;
|
|
764
|
+
$.ENTERED = Y;
|
|
765
|
+
$.EXITING = De;
|
|
766
|
+
const xt = (t) => t.scrollTop;
|
|
767
|
+
function Ke(t, n) {
|
|
768
768
|
const {
|
|
769
|
-
timeout:
|
|
770
|
-
easing:
|
|
769
|
+
timeout: i,
|
|
770
|
+
easing: r,
|
|
771
771
|
style: a = {}
|
|
772
772
|
} = t;
|
|
773
773
|
return {
|
|
774
|
-
duration: a.transitionDuration ?? (typeof
|
|
775
|
-
easing: a.transitionTimingFunction ?? (typeof
|
|
774
|
+
duration: a.transitionDuration ?? (typeof i == "number" ? i : i[n.mode] || 0),
|
|
775
|
+
easing: a.transitionTimingFunction ?? (typeof r == "object" ? r[n.mode] : r),
|
|
776
776
|
delay: a.transitionDelay
|
|
777
777
|
};
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Ot(t) {
|
|
780
780
|
const n = typeof t;
|
|
781
781
|
switch (n) {
|
|
782
782
|
case "number":
|
|
@@ -787,47 +787,47 @@ function St(t) {
|
|
|
787
787
|
return n;
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function tt(t, n, i, r) {
|
|
791
791
|
const a = t[n];
|
|
792
792
|
if (a == null || !Number.isInteger(a)) {
|
|
793
|
-
const
|
|
794
|
-
return new RangeError(`Invalid ${
|
|
793
|
+
const s = Ot(a);
|
|
794
|
+
return new RangeError(`Invalid ${r} \`${n}\` of type \`${s}\` supplied to \`${i}\`, expected \`integer\`.`);
|
|
795
795
|
}
|
|
796
796
|
return null;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
799
|
-
return t[n] === void 0 ? null :
|
|
798
|
+
function nt(t, n, i, r) {
|
|
799
|
+
return t[n] === void 0 ? null : tt(t, n, i, r);
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function we() {
|
|
802
802
|
return null;
|
|
803
803
|
}
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
const
|
|
807
|
-
function
|
|
808
|
-
return
|
|
804
|
+
nt.isRequired = tt;
|
|
805
|
+
we.isRequired = we;
|
|
806
|
+
const St = process.env.NODE_ENV === "production" ? we : nt;
|
|
807
|
+
function Rt(t) {
|
|
808
|
+
return ge("MuiPaper", t);
|
|
809
809
|
}
|
|
810
|
-
|
|
811
|
-
const
|
|
810
|
+
he("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
|
|
811
|
+
const Pt = (t) => {
|
|
812
812
|
const {
|
|
813
813
|
square: n,
|
|
814
|
-
elevation:
|
|
815
|
-
variant:
|
|
814
|
+
elevation: i,
|
|
815
|
+
variant: r,
|
|
816
816
|
classes: a
|
|
817
|
-
} = t,
|
|
818
|
-
root: ["root",
|
|
817
|
+
} = t, s = {
|
|
818
|
+
root: ["root", r, !n && "rounded", r === "elevation" && `elevation${i}`]
|
|
819
819
|
};
|
|
820
|
-
return
|
|
821
|
-
},
|
|
820
|
+
return ve(s, Rt, a);
|
|
821
|
+
}, Nt = H("div", {
|
|
822
822
|
name: "MuiPaper",
|
|
823
823
|
slot: "Root",
|
|
824
824
|
overridesResolver: (t, n) => {
|
|
825
825
|
const {
|
|
826
|
-
ownerState:
|
|
826
|
+
ownerState: i
|
|
827
827
|
} = t;
|
|
828
|
-
return [n.root, n[
|
|
828
|
+
return [n.root, n[i.variant], !i.square && n.rounded, i.variant === "elevation" && n[`elevation${i.elevation}`]];
|
|
829
829
|
}
|
|
830
|
-
})(
|
|
830
|
+
})(_e(({
|
|
831
831
|
theme: t
|
|
832
832
|
}) => ({
|
|
833
833
|
backgroundColor: (t.vars || t).palette.background.paper,
|
|
@@ -856,30 +856,30 @@ const Dt = (t) => {
|
|
|
856
856
|
backgroundImage: "var(--Paper-overlay)"
|
|
857
857
|
}
|
|
858
858
|
}]
|
|
859
|
-
}))), Me = /* @__PURE__ */
|
|
860
|
-
const
|
|
859
|
+
}))), Me = /* @__PURE__ */ h.forwardRef(function(n, i) {
|
|
860
|
+
const r = be({
|
|
861
861
|
props: n,
|
|
862
862
|
name: "MuiPaper"
|
|
863
|
-
}), a =
|
|
864
|
-
className:
|
|
863
|
+
}), a = Ce(), {
|
|
864
|
+
className: s,
|
|
865
865
|
component: d = "div",
|
|
866
866
|
elevation: p = 1,
|
|
867
867
|
square: u = !1,
|
|
868
868
|
variant: l = "elevation",
|
|
869
869
|
...m
|
|
870
|
-
} =
|
|
871
|
-
...
|
|
870
|
+
} = r, c = {
|
|
871
|
+
...r,
|
|
872
872
|
component: d,
|
|
873
873
|
elevation: p,
|
|
874
874
|
square: u,
|
|
875
875
|
variant: l
|
|
876
|
-
},
|
|
876
|
+
}, o = Pt(c);
|
|
877
877
|
return process.env.NODE_ENV !== "production" && a.shadows[p] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${p}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${p}]\` is defined.`].join(`
|
|
878
|
-
`)), /* @__PURE__ */
|
|
878
|
+
`)), /* @__PURE__ */ M(Nt, {
|
|
879
879
|
as: d,
|
|
880
880
|
ownerState: c,
|
|
881
|
-
className:
|
|
882
|
-
ref:
|
|
881
|
+
className: B(o.root, s),
|
|
882
|
+
ref: i,
|
|
883
883
|
...m,
|
|
884
884
|
style: {
|
|
885
885
|
...l === "elevation" && {
|
|
@@ -888,7 +888,7 @@ const Dt = (t) => {
|
|
|
888
888
|
"--Paper-overlay": a.vars.overlays?.[p]
|
|
889
889
|
},
|
|
890
890
|
...!a.vars && a.palette.mode === "dark" && {
|
|
891
|
-
"--Paper-overlay": `linear-gradient(${
|
|
891
|
+
"--Paper-overlay": `linear-gradient(${Le("#fff", Fe(p))}, ${Le("#fff", Fe(p))})`
|
|
892
892
|
}
|
|
893
893
|
},
|
|
894
894
|
...m.style
|
|
@@ -922,12 +922,12 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
|
|
|
922
922
|
* It accepts values between 0 and 24 inclusive.
|
|
923
923
|
* @default 1
|
|
924
924
|
*/
|
|
925
|
-
elevation: ke(
|
|
925
|
+
elevation: ke(St, (t) => {
|
|
926
926
|
const {
|
|
927
927
|
elevation: n,
|
|
928
|
-
variant:
|
|
928
|
+
variant: i
|
|
929
929
|
} = t;
|
|
930
|
-
return n > 0 &&
|
|
930
|
+
return n > 0 && i === "outlined" ? new Error(`MUI: Combining \`elevation={${n}}\` with \`variant="${i}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
|
|
931
931
|
}),
|
|
932
932
|
/**
|
|
933
933
|
* If `true`, rounded corners are disabled.
|
|
@@ -948,85 +948,85 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
|
|
|
948
948
|
*/
|
|
949
949
|
variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
|
|
950
950
|
});
|
|
951
|
-
function
|
|
951
|
+
function Dt(t) {
|
|
952
952
|
return typeof t == "string";
|
|
953
953
|
}
|
|
954
|
-
function
|
|
955
|
-
return t === void 0 ||
|
|
954
|
+
function wt(t, n, i) {
|
|
955
|
+
return t === void 0 || Dt(t) ? n : {
|
|
956
956
|
...n,
|
|
957
957
|
ownerState: {
|
|
958
958
|
...n.ownerState,
|
|
959
|
-
...
|
|
959
|
+
...i
|
|
960
960
|
}
|
|
961
961
|
};
|
|
962
962
|
}
|
|
963
|
-
function kt(t, n,
|
|
964
|
-
return typeof t == "function" ? t(n,
|
|
963
|
+
function kt(t, n, i) {
|
|
964
|
+
return typeof t == "function" ? t(n, i) : t;
|
|
965
965
|
}
|
|
966
966
|
function rt(t, n = []) {
|
|
967
967
|
if (t === void 0)
|
|
968
968
|
return {};
|
|
969
|
-
const
|
|
970
|
-
return Object.keys(t).filter((
|
|
971
|
-
r
|
|
972
|
-
}),
|
|
969
|
+
const i = {};
|
|
970
|
+
return Object.keys(t).filter((r) => r.match(/^on[A-Z]/) && typeof t[r] == "function" && !n.includes(r)).forEach((r) => {
|
|
971
|
+
i[r] = t[r];
|
|
972
|
+
}), i;
|
|
973
973
|
}
|
|
974
|
-
function
|
|
974
|
+
function Ge(t) {
|
|
975
975
|
if (t === void 0)
|
|
976
976
|
return {};
|
|
977
977
|
const n = {};
|
|
978
|
-
return Object.keys(t).filter((
|
|
979
|
-
n[
|
|
978
|
+
return Object.keys(t).filter((i) => !(i.match(/^on[A-Z]/) && typeof t[i] == "function")).forEach((i) => {
|
|
979
|
+
n[i] = t[i];
|
|
980
980
|
}), n;
|
|
981
981
|
}
|
|
982
982
|
function _t(t) {
|
|
983
983
|
const {
|
|
984
984
|
getSlotProps: n,
|
|
985
|
-
additionalProps:
|
|
986
|
-
externalSlotProps:
|
|
985
|
+
additionalProps: i,
|
|
986
|
+
externalSlotProps: r,
|
|
987
987
|
externalForwardedProps: a,
|
|
988
|
-
className:
|
|
988
|
+
className: s
|
|
989
989
|
} = t;
|
|
990
990
|
if (!n) {
|
|
991
|
-
const f =
|
|
992
|
-
...
|
|
991
|
+
const f = B(i?.className, s, a?.className, r?.className), y = {
|
|
992
|
+
...i?.style,
|
|
993
993
|
...a?.style,
|
|
994
|
-
...
|
|
994
|
+
...r?.style
|
|
995
995
|
}, E = {
|
|
996
|
-
...
|
|
996
|
+
...i,
|
|
997
997
|
...a,
|
|
998
|
-
...
|
|
998
|
+
...r
|
|
999
999
|
};
|
|
1000
|
-
return f.length > 0 && (E.className = f), Object.keys(
|
|
1000
|
+
return f.length > 0 && (E.className = f), Object.keys(y).length > 0 && (E.style = y), {
|
|
1001
1001
|
props: E,
|
|
1002
1002
|
internalRef: void 0
|
|
1003
1003
|
};
|
|
1004
1004
|
}
|
|
1005
1005
|
const d = rt({
|
|
1006
1006
|
...a,
|
|
1007
|
-
...
|
|
1008
|
-
}), p =
|
|
1007
|
+
...r
|
|
1008
|
+
}), p = Ge(r), u = Ge(a), l = n(d), m = B(l?.className, i?.className, s, a?.className, r?.className), c = {
|
|
1009
1009
|
...l?.style,
|
|
1010
|
-
...
|
|
1010
|
+
...i?.style,
|
|
1011
1011
|
...a?.style,
|
|
1012
|
-
...
|
|
1013
|
-
},
|
|
1012
|
+
...r?.style
|
|
1013
|
+
}, o = {
|
|
1014
1014
|
...l,
|
|
1015
|
-
...
|
|
1015
|
+
...i,
|
|
1016
1016
|
...u,
|
|
1017
1017
|
...p
|
|
1018
1018
|
};
|
|
1019
|
-
return m.length > 0 && (
|
|
1020
|
-
props:
|
|
1019
|
+
return m.length > 0 && (o.className = m), Object.keys(c).length > 0 && (o.style = c), {
|
|
1020
|
+
props: o,
|
|
1021
1021
|
internalRef: l.ref
|
|
1022
1022
|
};
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function j(t, n) {
|
|
1025
1025
|
const {
|
|
1026
|
-
className:
|
|
1027
|
-
elementType:
|
|
1026
|
+
className: i,
|
|
1027
|
+
elementType: r,
|
|
1028
1028
|
ownerState: a,
|
|
1029
|
-
externalForwardedProps:
|
|
1029
|
+
externalForwardedProps: s,
|
|
1030
1030
|
internalForwardedProps: d,
|
|
1031
1031
|
shouldForwardComponentProp: p = !1,
|
|
1032
1032
|
...u
|
|
@@ -1038,69 +1038,69 @@ function U(t, n) {
|
|
|
1038
1038
|
slotProps: c = {
|
|
1039
1039
|
[t]: void 0
|
|
1040
1040
|
},
|
|
1041
|
-
...
|
|
1042
|
-
} =
|
|
1041
|
+
...o
|
|
1042
|
+
} = s, f = m[t] || r, y = kt(c[t], a), {
|
|
1043
1043
|
props: {
|
|
1044
1044
|
component: E,
|
|
1045
1045
|
...O
|
|
1046
1046
|
},
|
|
1047
1047
|
internalRef: S
|
|
1048
1048
|
} = _t({
|
|
1049
|
-
className:
|
|
1049
|
+
className: i,
|
|
1050
1050
|
...u,
|
|
1051
|
-
externalForwardedProps: t === "root" ?
|
|
1052
|
-
externalSlotProps:
|
|
1053
|
-
}), R =
|
|
1051
|
+
externalForwardedProps: t === "root" ? o : void 0,
|
|
1052
|
+
externalSlotProps: y
|
|
1053
|
+
}), R = ie(S, y?.ref, n.ref), g = t === "root" ? E || l : E, T = wt(f, {
|
|
1054
1054
|
...t === "root" && !l && !m[t] && d,
|
|
1055
1055
|
...t !== "root" && !m[t] && d,
|
|
1056
1056
|
...O,
|
|
1057
|
-
...
|
|
1058
|
-
as:
|
|
1057
|
+
...g && !p && {
|
|
1058
|
+
as: g
|
|
1059
1059
|
},
|
|
1060
|
-
...
|
|
1061
|
-
component:
|
|
1060
|
+
...g && p && {
|
|
1061
|
+
component: g
|
|
1062
1062
|
},
|
|
1063
1063
|
ref: R
|
|
1064
1064
|
}, a);
|
|
1065
1065
|
return [f, T];
|
|
1066
1066
|
}
|
|
1067
|
-
function
|
|
1067
|
+
function ot(t, n, i, r, a) {
|
|
1068
1068
|
if (process.env.NODE_ENV === "production")
|
|
1069
1069
|
return null;
|
|
1070
|
-
const
|
|
1071
|
-
return
|
|
1070
|
+
const s = t[n], d = a || n;
|
|
1071
|
+
return s == null ? null : s && s.nodeType !== 1 ? new Error(`Invalid ${r} \`${d}\` supplied to \`${i}\`. Expected an HTMLElement.`) : null;
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1074
|
-
return parseInt(
|
|
1073
|
+
function Ie(t) {
|
|
1074
|
+
return parseInt(h.version, 10) >= 19 ? t?.props?.ref || null : t?.ref || null;
|
|
1075
1075
|
}
|
|
1076
|
-
function
|
|
1076
|
+
function Ct(t) {
|
|
1077
1077
|
return typeof t == "function" ? t() : t;
|
|
1078
1078
|
}
|
|
1079
|
-
const
|
|
1079
|
+
const fe = /* @__PURE__ */ h.forwardRef(function(n, i) {
|
|
1080
1080
|
const {
|
|
1081
|
-
children:
|
|
1081
|
+
children: r,
|
|
1082
1082
|
container: a,
|
|
1083
|
-
disablePortal:
|
|
1084
|
-
} = n, [d, p] =
|
|
1085
|
-
if (
|
|
1086
|
-
|
|
1087
|
-
}, [a,
|
|
1088
|
-
if (d && !
|
|
1089
|
-
return He(
|
|
1090
|
-
He(
|
|
1083
|
+
disablePortal: s = !1
|
|
1084
|
+
} = n, [d, p] = h.useState(null), u = ie(/* @__PURE__ */ h.isValidElement(r) ? Ie(r) : null, i);
|
|
1085
|
+
if (je(() => {
|
|
1086
|
+
s || p(Ct(a) || document.body);
|
|
1087
|
+
}, [a, s]), je(() => {
|
|
1088
|
+
if (d && !s)
|
|
1089
|
+
return He(i, d), () => {
|
|
1090
|
+
He(i, null);
|
|
1091
1091
|
};
|
|
1092
|
-
}, [
|
|
1093
|
-
if (/* @__PURE__ */
|
|
1092
|
+
}, [i, d, s]), s) {
|
|
1093
|
+
if (/* @__PURE__ */ h.isValidElement(r)) {
|
|
1094
1094
|
const l = {
|
|
1095
1095
|
ref: u
|
|
1096
1096
|
};
|
|
1097
|
-
return /* @__PURE__ */
|
|
1097
|
+
return /* @__PURE__ */ h.cloneElement(r, l);
|
|
1098
1098
|
}
|
|
1099
|
-
return
|
|
1099
|
+
return r;
|
|
1100
1100
|
}
|
|
1101
|
-
return d && /* @__PURE__ */
|
|
1101
|
+
return d && /* @__PURE__ */ et.createPortal(r, d);
|
|
1102
1102
|
});
|
|
1103
|
-
process.env.NODE_ENV !== "production" && (
|
|
1103
|
+
process.env.NODE_ENV !== "production" && (fe.propTypes = {
|
|
1104
1104
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1105
1105
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1106
1106
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -1119,34 +1119,34 @@ process.env.NODE_ENV !== "production" && (he.propTypes = {
|
|
|
1119
1119
|
* By default, it uses the body of the top-level document object,
|
|
1120
1120
|
* so it's simply `document.body` most of the time.
|
|
1121
1121
|
*/
|
|
1122
|
-
container: e.oneOfType([
|
|
1122
|
+
container: e.oneOfType([ot, e.func]),
|
|
1123
1123
|
/**
|
|
1124
1124
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
1125
1125
|
* @default false
|
|
1126
1126
|
*/
|
|
1127
1127
|
disablePortal: e.bool
|
|
1128
1128
|
});
|
|
1129
|
-
process.env.NODE_ENV !== "production" && (
|
|
1130
|
-
function
|
|
1129
|
+
process.env.NODE_ENV !== "production" && (fe.propTypes = Qe(fe.propTypes));
|
|
1130
|
+
function Mt(t) {
|
|
1131
1131
|
const {
|
|
1132
1132
|
prototype: n = {}
|
|
1133
1133
|
} = t;
|
|
1134
1134
|
return !!n.isReactComponent;
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1137
|
-
const
|
|
1138
|
-
if (
|
|
1136
|
+
function it(t, n, i, r, a) {
|
|
1137
|
+
const s = t[n], d = a || n;
|
|
1138
|
+
if (s == null || // When server-side rendering React doesn't warn either.
|
|
1139
1139
|
// This is not an accurate check for SSR.
|
|
1140
1140
|
// This is only in place for Emotion compat.
|
|
1141
1141
|
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
1142
1142
|
typeof window > "u")
|
|
1143
1143
|
return null;
|
|
1144
1144
|
let p;
|
|
1145
|
-
const u =
|
|
1146
|
-
return typeof u == "function" && !
|
|
1145
|
+
const u = s.type;
|
|
1146
|
+
return typeof u == "function" && !Mt(u) && (p = "Did you accidentally use a plain function component for an element instead?"), p !== void 0 ? new Error(`Invalid ${r} \`${d}\` supplied to \`${i}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
1147
1147
|
}
|
|
1148
|
-
const
|
|
1149
|
-
|
|
1148
|
+
const Ee = ke(e.element, it);
|
|
1149
|
+
Ee.isRequired = ke(e.element.isRequired, it);
|
|
1150
1150
|
const It = {
|
|
1151
1151
|
entering: {
|
|
1152
1152
|
opacity: 1
|
|
@@ -1154,71 +1154,71 @@ const It = {
|
|
|
1154
1154
|
entered: {
|
|
1155
1155
|
opacity: 1
|
|
1156
1156
|
}
|
|
1157
|
-
},
|
|
1158
|
-
const
|
|
1159
|
-
enter:
|
|
1160
|
-
exit:
|
|
1157
|
+
}, me = /* @__PURE__ */ h.forwardRef(function(n, i) {
|
|
1158
|
+
const r = Ce(), a = {
|
|
1159
|
+
enter: r.transitions.duration.enteringScreen,
|
|
1160
|
+
exit: r.transitions.duration.leavingScreen
|
|
1161
1161
|
}, {
|
|
1162
|
-
addEndListener:
|
|
1162
|
+
addEndListener: s,
|
|
1163
1163
|
appear: d = !0,
|
|
1164
1164
|
children: p,
|
|
1165
1165
|
easing: u,
|
|
1166
1166
|
in: l,
|
|
1167
1167
|
onEnter: m,
|
|
1168
1168
|
onEntered: c,
|
|
1169
|
-
onEntering:
|
|
1169
|
+
onEntering: o,
|
|
1170
1170
|
onExit: f,
|
|
1171
|
-
onExited:
|
|
1171
|
+
onExited: y,
|
|
1172
1172
|
onExiting: E,
|
|
1173
1173
|
style: O,
|
|
1174
1174
|
timeout: S = a,
|
|
1175
1175
|
// eslint-disable-next-line react/prop-types
|
|
1176
|
-
TransitionComponent: R =
|
|
1177
|
-
...
|
|
1178
|
-
} = n, T =
|
|
1176
|
+
TransitionComponent: R = $,
|
|
1177
|
+
...g
|
|
1178
|
+
} = n, T = h.useRef(null), N = ie(T, Ie(p), i), D = (x) => (v) => {
|
|
1179
1179
|
if (x) {
|
|
1180
1180
|
const b = T.current;
|
|
1181
1181
|
v === void 0 ? x(b) : x(b, v);
|
|
1182
1182
|
}
|
|
1183
|
-
},
|
|
1184
|
-
|
|
1185
|
-
const b =
|
|
1183
|
+
}, P = D(o), _ = D((x, v) => {
|
|
1184
|
+
xt(x);
|
|
1185
|
+
const b = Ke({
|
|
1186
1186
|
style: O,
|
|
1187
1187
|
timeout: S,
|
|
1188
1188
|
easing: u
|
|
1189
1189
|
}, {
|
|
1190
1190
|
mode: "enter"
|
|
1191
1191
|
});
|
|
1192
|
-
x.style.webkitTransition =
|
|
1193
|
-
}),
|
|
1194
|
-
const v =
|
|
1192
|
+
x.style.webkitTransition = r.transitions.create("opacity", b), x.style.transition = r.transitions.create("opacity", b), m && m(x, v);
|
|
1193
|
+
}), C = D(c), I = D(E), L = D((x) => {
|
|
1194
|
+
const v = Ke({
|
|
1195
1195
|
style: O,
|
|
1196
1196
|
timeout: S,
|
|
1197
1197
|
easing: u
|
|
1198
1198
|
}, {
|
|
1199
1199
|
mode: "exit"
|
|
1200
1200
|
});
|
|
1201
|
-
x.style.webkitTransition =
|
|
1202
|
-
}),
|
|
1203
|
-
return /* @__PURE__ */
|
|
1201
|
+
x.style.webkitTransition = r.transitions.create("opacity", v), x.style.transition = r.transitions.create("opacity", v), f && f(x);
|
|
1202
|
+
}), J = D(y);
|
|
1203
|
+
return /* @__PURE__ */ M(R, {
|
|
1204
1204
|
appear: d,
|
|
1205
1205
|
in: l,
|
|
1206
1206
|
nodeRef: T,
|
|
1207
1207
|
onEnter: _,
|
|
1208
|
-
onEntered:
|
|
1209
|
-
onEntering:
|
|
1210
|
-
onExit:
|
|
1211
|
-
onExited:
|
|
1212
|
-
onExiting:
|
|
1208
|
+
onEntered: C,
|
|
1209
|
+
onEntering: P,
|
|
1210
|
+
onExit: L,
|
|
1211
|
+
onExited: J,
|
|
1212
|
+
onExiting: I,
|
|
1213
1213
|
addEndListener: (x) => {
|
|
1214
|
-
|
|
1214
|
+
s && s(T.current, x);
|
|
1215
1215
|
},
|
|
1216
1216
|
timeout: S,
|
|
1217
|
-
...
|
|
1217
|
+
...g,
|
|
1218
1218
|
children: (x, {
|
|
1219
1219
|
ownerState: v,
|
|
1220
1220
|
...b
|
|
1221
|
-
}) => /* @__PURE__ */
|
|
1221
|
+
}) => /* @__PURE__ */ h.cloneElement(p, {
|
|
1222
1222
|
style: {
|
|
1223
1223
|
opacity: 0,
|
|
1224
1224
|
visibility: x === "exited" && !l ? "hidden" : void 0,
|
|
@@ -1226,12 +1226,12 @@ const It = {
|
|
|
1226
1226
|
...O,
|
|
1227
1227
|
...p.props.style
|
|
1228
1228
|
},
|
|
1229
|
-
ref:
|
|
1229
|
+
ref: N,
|
|
1230
1230
|
...b
|
|
1231
1231
|
})
|
|
1232
1232
|
});
|
|
1233
1233
|
});
|
|
1234
|
-
process.env.NODE_ENV !== "production" && (
|
|
1234
|
+
process.env.NODE_ENV !== "production" && (me.propTypes = {
|
|
1235
1235
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1236
1236
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1237
1237
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -1251,7 +1251,7 @@ process.env.NODE_ENV !== "production" && (be.propTypes = {
|
|
|
1251
1251
|
/**
|
|
1252
1252
|
* A single child content element.
|
|
1253
1253
|
*/
|
|
1254
|
-
children:
|
|
1254
|
+
children: Ee.isRequired,
|
|
1255
1255
|
/**
|
|
1256
1256
|
* The transition timing function.
|
|
1257
1257
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -1306,26 +1306,26 @@ process.env.NODE_ENV !== "production" && (be.propTypes = {
|
|
|
1306
1306
|
exit: e.number
|
|
1307
1307
|
})])
|
|
1308
1308
|
});
|
|
1309
|
-
function
|
|
1310
|
-
return
|
|
1309
|
+
function At(t) {
|
|
1310
|
+
return ge("MuiBackdrop", t);
|
|
1311
1311
|
}
|
|
1312
|
-
|
|
1313
|
-
const
|
|
1312
|
+
he("MuiBackdrop", ["root", "invisible"]);
|
|
1313
|
+
const Lt = (t) => {
|
|
1314
1314
|
const {
|
|
1315
1315
|
classes: n,
|
|
1316
|
-
invisible:
|
|
1316
|
+
invisible: i
|
|
1317
1317
|
} = t;
|
|
1318
|
-
return
|
|
1319
|
-
root: ["root",
|
|
1320
|
-
},
|
|
1321
|
-
}, Ft =
|
|
1318
|
+
return ve({
|
|
1319
|
+
root: ["root", i && "invisible"]
|
|
1320
|
+
}, At, n);
|
|
1321
|
+
}, Ft = H("div", {
|
|
1322
1322
|
name: "MuiBackdrop",
|
|
1323
1323
|
slot: "Root",
|
|
1324
1324
|
overridesResolver: (t, n) => {
|
|
1325
1325
|
const {
|
|
1326
|
-
ownerState:
|
|
1326
|
+
ownerState: i
|
|
1327
1327
|
} = t;
|
|
1328
|
-
return [n.root,
|
|
1328
|
+
return [n.root, i.invisible && n.invisible];
|
|
1329
1329
|
}
|
|
1330
1330
|
})({
|
|
1331
1331
|
position: "fixed",
|
|
@@ -1346,63 +1346,63 @@ const jt = (t) => {
|
|
|
1346
1346
|
backgroundColor: "transparent"
|
|
1347
1347
|
}
|
|
1348
1348
|
}]
|
|
1349
|
-
}),
|
|
1350
|
-
const
|
|
1349
|
+
}), Ae = /* @__PURE__ */ h.forwardRef(function(n, i) {
|
|
1350
|
+
const r = be({
|
|
1351
1351
|
props: n,
|
|
1352
1352
|
name: "MuiBackdrop"
|
|
1353
1353
|
}), {
|
|
1354
1354
|
children: a,
|
|
1355
|
-
className:
|
|
1355
|
+
className: s,
|
|
1356
1356
|
component: d = "div",
|
|
1357
1357
|
invisible: p = !1,
|
|
1358
1358
|
open: u,
|
|
1359
1359
|
components: l = {},
|
|
1360
1360
|
componentsProps: m = {},
|
|
1361
1361
|
slotProps: c = {},
|
|
1362
|
-
slots:
|
|
1362
|
+
slots: o = {},
|
|
1363
1363
|
TransitionComponent: f,
|
|
1364
|
-
transitionDuration:
|
|
1364
|
+
transitionDuration: y,
|
|
1365
1365
|
...E
|
|
1366
|
-
} =
|
|
1367
|
-
...
|
|
1366
|
+
} = r, O = {
|
|
1367
|
+
...r,
|
|
1368
1368
|
component: d,
|
|
1369
1369
|
invisible: p
|
|
1370
|
-
}, S =
|
|
1370
|
+
}, S = Lt(O), R = {
|
|
1371
1371
|
transition: f,
|
|
1372
1372
|
root: l.Root,
|
|
1373
|
-
...
|
|
1374
|
-
},
|
|
1373
|
+
...o
|
|
1374
|
+
}, g = {
|
|
1375
1375
|
...m,
|
|
1376
1376
|
...c
|
|
1377
1377
|
}, T = {
|
|
1378
1378
|
component: d,
|
|
1379
1379
|
slots: R,
|
|
1380
|
-
slotProps:
|
|
1381
|
-
}, [
|
|
1380
|
+
slotProps: g
|
|
1381
|
+
}, [N, D] = j("root", {
|
|
1382
1382
|
elementType: Ft,
|
|
1383
1383
|
externalForwardedProps: T,
|
|
1384
|
-
className:
|
|
1384
|
+
className: B(S.root, s),
|
|
1385
1385
|
ownerState: O
|
|
1386
|
-
}), [
|
|
1387
|
-
elementType:
|
|
1386
|
+
}), [P, _] = j("transition", {
|
|
1387
|
+
elementType: me,
|
|
1388
1388
|
externalForwardedProps: T,
|
|
1389
1389
|
ownerState: O
|
|
1390
1390
|
});
|
|
1391
|
-
return /* @__PURE__ */
|
|
1391
|
+
return /* @__PURE__ */ M(P, {
|
|
1392
1392
|
in: u,
|
|
1393
|
-
timeout:
|
|
1393
|
+
timeout: y,
|
|
1394
1394
|
...E,
|
|
1395
1395
|
..._,
|
|
1396
|
-
children: /* @__PURE__ */
|
|
1396
|
+
children: /* @__PURE__ */ M(N, {
|
|
1397
1397
|
"aria-hidden": !0,
|
|
1398
|
-
...
|
|
1398
|
+
...D,
|
|
1399
1399
|
classes: S,
|
|
1400
|
-
ref:
|
|
1400
|
+
ref: i,
|
|
1401
1401
|
children: a
|
|
1402
1402
|
})
|
|
1403
1403
|
});
|
|
1404
1404
|
});
|
|
1405
|
-
process.env.NODE_ENV !== "production" && (
|
|
1405
|
+
process.env.NODE_ENV !== "production" && (Ae.propTypes = {
|
|
1406
1406
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1407
1407
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1408
1408
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -1492,233 +1492,233 @@ process.env.NODE_ENV !== "production" && (Ie.propTypes = {
|
|
|
1492
1492
|
exit: e.number
|
|
1493
1493
|
})])
|
|
1494
1494
|
});
|
|
1495
|
-
function
|
|
1495
|
+
function jt(t = window) {
|
|
1496
1496
|
const n = t.document.documentElement.clientWidth;
|
|
1497
1497
|
return t.innerWidth - n;
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function $t(t) {
|
|
1500
1500
|
const n = q(t);
|
|
1501
|
-
return n.body === t ?
|
|
1501
|
+
return n.body === t ? pe(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
|
|
1502
1502
|
}
|
|
1503
|
-
function
|
|
1503
|
+
function oe(t, n) {
|
|
1504
1504
|
n ? t.setAttribute("aria-hidden", "true") : t.removeAttribute("aria-hidden");
|
|
1505
1505
|
}
|
|
1506
1506
|
function ze(t) {
|
|
1507
|
-
return parseInt(
|
|
1507
|
+
return parseInt(pe(t).getComputedStyle(t).paddingRight, 10) || 0;
|
|
1508
1508
|
}
|
|
1509
1509
|
function Bt(t) {
|
|
1510
|
-
const
|
|
1511
|
-
return
|
|
1510
|
+
const i = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(t.tagName), r = t.tagName === "INPUT" && t.getAttribute("type") === "hidden";
|
|
1511
|
+
return i || r;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1514
|
-
const
|
|
1513
|
+
function Ye(t, n, i, r, a) {
|
|
1514
|
+
const s = [n, i, ...r];
|
|
1515
1515
|
[].forEach.call(t.children, (d) => {
|
|
1516
|
-
const p = !
|
|
1517
|
-
p && u &&
|
|
1516
|
+
const p = !s.includes(d), u = !Bt(d);
|
|
1517
|
+
p && u && oe(d, a);
|
|
1518
1518
|
});
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1521
|
-
let
|
|
1522
|
-
return t.some((
|
|
1520
|
+
function Pe(t, n) {
|
|
1521
|
+
let i = -1;
|
|
1522
|
+
return t.some((r, a) => n(r) ? (i = a, !0) : !1), i;
|
|
1523
1523
|
}
|
|
1524
1524
|
function Ht(t, n) {
|
|
1525
|
-
const
|
|
1525
|
+
const i = [], r = t.container;
|
|
1526
1526
|
if (!n.disableScrollLock) {
|
|
1527
|
-
if (
|
|
1528
|
-
const d =
|
|
1529
|
-
|
|
1530
|
-
value:
|
|
1527
|
+
if ($t(r)) {
|
|
1528
|
+
const d = jt(pe(r));
|
|
1529
|
+
i.push({
|
|
1530
|
+
value: r.style.paddingRight,
|
|
1531
1531
|
property: "padding-right",
|
|
1532
|
-
el:
|
|
1533
|
-
}),
|
|
1534
|
-
const p = q(
|
|
1532
|
+
el: r
|
|
1533
|
+
}), r.style.paddingRight = `${ze(r) + d}px`;
|
|
1534
|
+
const p = q(r).querySelectorAll(".mui-fixed");
|
|
1535
1535
|
[].forEach.call(p, (u) => {
|
|
1536
|
-
|
|
1536
|
+
i.push({
|
|
1537
1537
|
value: u.style.paddingRight,
|
|
1538
1538
|
property: "padding-right",
|
|
1539
1539
|
el: u
|
|
1540
1540
|
}), u.style.paddingRight = `${ze(u) + d}px`;
|
|
1541
1541
|
});
|
|
1542
1542
|
}
|
|
1543
|
-
let
|
|
1544
|
-
if (
|
|
1545
|
-
|
|
1543
|
+
let s;
|
|
1544
|
+
if (r.parentNode instanceof DocumentFragment)
|
|
1545
|
+
s = q(r).body;
|
|
1546
1546
|
else {
|
|
1547
|
-
const d =
|
|
1548
|
-
|
|
1547
|
+
const d = r.parentElement, p = pe(r);
|
|
1548
|
+
s = d?.nodeName === "HTML" && p.getComputedStyle(d).overflowY === "scroll" ? d : r;
|
|
1549
1549
|
}
|
|
1550
|
-
|
|
1551
|
-
value:
|
|
1550
|
+
i.push({
|
|
1551
|
+
value: s.style.overflow,
|
|
1552
1552
|
property: "overflow",
|
|
1553
|
-
el:
|
|
1553
|
+
el: s
|
|
1554
1554
|
}, {
|
|
1555
|
-
value:
|
|
1555
|
+
value: s.style.overflowX,
|
|
1556
1556
|
property: "overflow-x",
|
|
1557
|
-
el:
|
|
1557
|
+
el: s
|
|
1558
1558
|
}, {
|
|
1559
|
-
value:
|
|
1559
|
+
value: s.style.overflowY,
|
|
1560
1560
|
property: "overflow-y",
|
|
1561
|
-
el:
|
|
1562
|
-
}),
|
|
1561
|
+
el: s
|
|
1562
|
+
}), s.style.overflow = "hidden";
|
|
1563
1563
|
}
|
|
1564
1564
|
return () => {
|
|
1565
|
-
|
|
1566
|
-
value:
|
|
1565
|
+
i.forEach(({
|
|
1566
|
+
value: s,
|
|
1567
1567
|
el: d,
|
|
1568
1568
|
property: p
|
|
1569
1569
|
}) => {
|
|
1570
|
-
|
|
1570
|
+
s ? d.style.setProperty(p, s) : d.style.removeProperty(p);
|
|
1571
1571
|
});
|
|
1572
1572
|
};
|
|
1573
1573
|
}
|
|
1574
|
-
function
|
|
1574
|
+
function Wt(t) {
|
|
1575
1575
|
const n = [];
|
|
1576
|
-
return [].forEach.call(t.children, (
|
|
1577
|
-
|
|
1576
|
+
return [].forEach.call(t.children, (i) => {
|
|
1577
|
+
i.getAttribute("aria-hidden") === "true" && n.push(i);
|
|
1578
1578
|
}), n;
|
|
1579
1579
|
}
|
|
1580
|
-
class
|
|
1580
|
+
class Ut {
|
|
1581
1581
|
constructor() {
|
|
1582
1582
|
this.modals = [], this.containers = [];
|
|
1583
1583
|
}
|
|
1584
|
-
add(n,
|
|
1585
|
-
let
|
|
1586
|
-
if (
|
|
1587
|
-
return
|
|
1588
|
-
|
|
1589
|
-
const a =
|
|
1590
|
-
|
|
1591
|
-
const
|
|
1592
|
-
return
|
|
1584
|
+
add(n, i) {
|
|
1585
|
+
let r = this.modals.indexOf(n);
|
|
1586
|
+
if (r !== -1)
|
|
1587
|
+
return r;
|
|
1588
|
+
r = this.modals.length, this.modals.push(n), n.modalRef && oe(n.modalRef, !1);
|
|
1589
|
+
const a = Wt(i);
|
|
1590
|
+
Ye(i, n.mount, n.modalRef, a, !0);
|
|
1591
|
+
const s = Pe(this.containers, (d) => d.container === i);
|
|
1592
|
+
return s !== -1 ? (this.containers[s].modals.push(n), r) : (this.containers.push({
|
|
1593
1593
|
modals: [n],
|
|
1594
|
-
container:
|
|
1594
|
+
container: i,
|
|
1595
1595
|
restore: null,
|
|
1596
1596
|
hiddenSiblings: a
|
|
1597
|
-
}),
|
|
1597
|
+
}), r);
|
|
1598
1598
|
}
|
|
1599
|
-
mount(n,
|
|
1600
|
-
const
|
|
1601
|
-
a.restore || (a.restore = Ht(a,
|
|
1599
|
+
mount(n, i) {
|
|
1600
|
+
const r = Pe(this.containers, (s) => s.modals.includes(n)), a = this.containers[r];
|
|
1601
|
+
a.restore || (a.restore = Ht(a, i));
|
|
1602
1602
|
}
|
|
1603
|
-
remove(n,
|
|
1604
|
-
const
|
|
1605
|
-
if (
|
|
1606
|
-
return
|
|
1607
|
-
const a =
|
|
1608
|
-
if (
|
|
1609
|
-
|
|
1603
|
+
remove(n, i = !0) {
|
|
1604
|
+
const r = this.modals.indexOf(n);
|
|
1605
|
+
if (r === -1)
|
|
1606
|
+
return r;
|
|
1607
|
+
const a = Pe(this.containers, (d) => d.modals.includes(n)), s = this.containers[a];
|
|
1608
|
+
if (s.modals.splice(s.modals.indexOf(n), 1), this.modals.splice(r, 1), s.modals.length === 0)
|
|
1609
|
+
s.restore && s.restore(), n.modalRef && oe(n.modalRef, i), Ye(s.container, n.mount, n.modalRef, s.hiddenSiblings, !1), this.containers.splice(a, 1);
|
|
1610
1610
|
else {
|
|
1611
|
-
const d =
|
|
1612
|
-
d.modalRef &&
|
|
1611
|
+
const d = s.modals[s.modals.length - 1];
|
|
1612
|
+
d.modalRef && oe(d.modalRef, !1);
|
|
1613
1613
|
}
|
|
1614
|
-
return
|
|
1614
|
+
return r;
|
|
1615
1615
|
}
|
|
1616
1616
|
isTopModal(n) {
|
|
1617
1617
|
return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
|
|
1618
1618
|
}
|
|
1619
1619
|
}
|
|
1620
|
-
const
|
|
1621
|
-
function
|
|
1620
|
+
const Vt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
|
|
1621
|
+
function qt(t) {
|
|
1622
1622
|
const n = parseInt(t.getAttribute("tabindex") || "", 10);
|
|
1623
1623
|
return Number.isNaN(n) ? t.contentEditable === "true" || (t.nodeName === "AUDIO" || t.nodeName === "VIDEO" || t.nodeName === "DETAILS") && t.getAttribute("tabindex") === null ? 0 : t.tabIndex : n;
|
|
1624
1624
|
}
|
|
1625
|
-
function
|
|
1625
|
+
function Kt(t) {
|
|
1626
1626
|
if (t.tagName !== "INPUT" || t.type !== "radio" || !t.name)
|
|
1627
1627
|
return !1;
|
|
1628
|
-
const n = (
|
|
1629
|
-
let
|
|
1630
|
-
return
|
|
1628
|
+
const n = (r) => t.ownerDocument.querySelector(`input[type="radio"]${r}`);
|
|
1629
|
+
let i = n(`[name="${t.name}"]:checked`);
|
|
1630
|
+
return i || (i = n(`[name="${t.name}"]`)), i !== t;
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1633
|
-
return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" ||
|
|
1632
|
+
function Gt(t) {
|
|
1633
|
+
return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || Kt(t));
|
|
1634
1634
|
}
|
|
1635
1635
|
function zt(t) {
|
|
1636
|
-
const n = [],
|
|
1637
|
-
return Array.from(t.querySelectorAll(
|
|
1638
|
-
const
|
|
1639
|
-
|
|
1636
|
+
const n = [], i = [];
|
|
1637
|
+
return Array.from(t.querySelectorAll(Vt)).forEach((r, a) => {
|
|
1638
|
+
const s = qt(r);
|
|
1639
|
+
s === -1 || !Gt(r) || (s === 0 ? n.push(r) : i.push({
|
|
1640
1640
|
documentOrder: a,
|
|
1641
|
-
tabIndex:
|
|
1642
|
-
node:
|
|
1641
|
+
tabIndex: s,
|
|
1642
|
+
node: r
|
|
1643
1643
|
}));
|
|
1644
|
-
}),
|
|
1644
|
+
}), i.sort((r, a) => r.tabIndex === a.tabIndex ? r.documentOrder - a.documentOrder : r.tabIndex - a.tabIndex).map((r) => r.node).concat(n);
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1646
|
+
function Yt() {
|
|
1647
1647
|
return !0;
|
|
1648
1648
|
}
|
|
1649
|
-
function
|
|
1649
|
+
function ye(t) {
|
|
1650
1650
|
const {
|
|
1651
1651
|
children: n,
|
|
1652
|
-
disableAutoFocus:
|
|
1653
|
-
disableEnforceFocus:
|
|
1652
|
+
disableAutoFocus: i = !1,
|
|
1653
|
+
disableEnforceFocus: r = !1,
|
|
1654
1654
|
disableRestoreFocus: a = !1,
|
|
1655
|
-
getTabbable:
|
|
1656
|
-
isEnabled: d =
|
|
1655
|
+
getTabbable: s = zt,
|
|
1656
|
+
isEnabled: d = Yt,
|
|
1657
1657
|
open: p
|
|
1658
|
-
} = t, u =
|
|
1659
|
-
|
|
1660
|
-
!p || !
|
|
1661
|
-
}, [
|
|
1662
|
-
if (!p || !
|
|
1658
|
+
} = t, u = h.useRef(!1), l = h.useRef(null), m = h.useRef(null), c = h.useRef(null), o = h.useRef(null), f = h.useRef(!1), y = h.useRef(null), E = ie(Ie(n), y), O = h.useRef(null);
|
|
1659
|
+
h.useEffect(() => {
|
|
1660
|
+
!p || !y.current || (f.current = !i);
|
|
1661
|
+
}, [i, p]), h.useEffect(() => {
|
|
1662
|
+
if (!p || !y.current)
|
|
1663
1663
|
return;
|
|
1664
|
-
const
|
|
1665
|
-
return
|
|
1666
|
-
`)),
|
|
1664
|
+
const g = q(y.current);
|
|
1665
|
+
return y.current.contains(g.activeElement) || (y.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
1666
|
+
`)), y.current.setAttribute("tabIndex", "-1")), f.current && y.current.focus()), () => {
|
|
1667
1667
|
a || (c.current && c.current.focus && (u.current = !0, c.current.focus()), c.current = null);
|
|
1668
1668
|
};
|
|
1669
|
-
}, [p]),
|
|
1670
|
-
if (!p || !
|
|
1669
|
+
}, [p]), h.useEffect(() => {
|
|
1670
|
+
if (!p || !y.current)
|
|
1671
1671
|
return;
|
|
1672
|
-
const
|
|
1673
|
-
O.current =
|
|
1674
|
-
},
|
|
1675
|
-
const
|
|
1676
|
-
if (
|
|
1672
|
+
const g = q(y.current), T = (P) => {
|
|
1673
|
+
O.current = P, !(r || !d() || P.key !== "Tab") && g.activeElement === y.current && P.shiftKey && (u.current = !0, m.current && m.current.focus());
|
|
1674
|
+
}, N = () => {
|
|
1675
|
+
const P = y.current;
|
|
1676
|
+
if (P === null)
|
|
1677
1677
|
return;
|
|
1678
|
-
if (!
|
|
1678
|
+
if (!g.hasFocus() || !d() || u.current) {
|
|
1679
1679
|
u.current = !1;
|
|
1680
1680
|
return;
|
|
1681
1681
|
}
|
|
1682
|
-
if (
|
|
1682
|
+
if (P.contains(g.activeElement) || r && g.activeElement !== l.current && g.activeElement !== m.current)
|
|
1683
1683
|
return;
|
|
1684
|
-
if (
|
|
1685
|
-
|
|
1686
|
-
else if (
|
|
1684
|
+
if (g.activeElement !== o.current)
|
|
1685
|
+
o.current = null;
|
|
1686
|
+
else if (o.current !== null)
|
|
1687
1687
|
return;
|
|
1688
1688
|
if (!f.current)
|
|
1689
1689
|
return;
|
|
1690
1690
|
let _ = [];
|
|
1691
|
-
if ((
|
|
1692
|
-
const
|
|
1693
|
-
typeof
|
|
1691
|
+
if ((g.activeElement === l.current || g.activeElement === m.current) && (_ = s(y.current)), _.length > 0) {
|
|
1692
|
+
const C = !!(O.current?.shiftKey && O.current?.key === "Tab"), I = _[0], L = _[_.length - 1];
|
|
1693
|
+
typeof I != "string" && typeof L != "string" && (C ? L.focus() : I.focus());
|
|
1694
1694
|
} else
|
|
1695
|
-
|
|
1695
|
+
P.focus();
|
|
1696
1696
|
};
|
|
1697
|
-
|
|
1698
|
-
const
|
|
1699
|
-
|
|
1697
|
+
g.addEventListener("focusin", N), g.addEventListener("keydown", T, !0);
|
|
1698
|
+
const D = setInterval(() => {
|
|
1699
|
+
g.activeElement && g.activeElement.tagName === "BODY" && N();
|
|
1700
1700
|
}, 50);
|
|
1701
1701
|
return () => {
|
|
1702
|
-
clearInterval(
|
|
1702
|
+
clearInterval(D), g.removeEventListener("focusin", N), g.removeEventListener("keydown", T, !0);
|
|
1703
1703
|
};
|
|
1704
|
-
}, [
|
|
1705
|
-
const S = (
|
|
1706
|
-
c.current === null && (c.current =
|
|
1704
|
+
}, [i, r, a, d, p, s]);
|
|
1705
|
+
const S = (g) => {
|
|
1706
|
+
c.current === null && (c.current = g.relatedTarget), f.current = !0, o.current = g.target;
|
|
1707
1707
|
const T = n.props.onFocus;
|
|
1708
|
-
T && T(
|
|
1709
|
-
}, R = (
|
|
1710
|
-
c.current === null && (c.current =
|
|
1708
|
+
T && T(g);
|
|
1709
|
+
}, R = (g) => {
|
|
1710
|
+
c.current === null && (c.current = g.relatedTarget), f.current = !0;
|
|
1711
1711
|
};
|
|
1712
|
-
return /* @__PURE__ */
|
|
1713
|
-
children: [/* @__PURE__ */
|
|
1712
|
+
return /* @__PURE__ */ Ze(h.Fragment, {
|
|
1713
|
+
children: [/* @__PURE__ */ M("div", {
|
|
1714
1714
|
tabIndex: p ? 0 : -1,
|
|
1715
1715
|
onFocus: R,
|
|
1716
1716
|
ref: l,
|
|
1717
1717
|
"data-testid": "sentinelStart"
|
|
1718
|
-
}), /* @__PURE__ */
|
|
1718
|
+
}), /* @__PURE__ */ h.cloneElement(n, {
|
|
1719
1719
|
ref: E,
|
|
1720
1720
|
onFocus: S
|
|
1721
|
-
}), /* @__PURE__ */
|
|
1721
|
+
}), /* @__PURE__ */ M("div", {
|
|
1722
1722
|
tabIndex: p ? 0 : -1,
|
|
1723
1723
|
onFocus: R,
|
|
1724
1724
|
ref: m,
|
|
@@ -1726,7 +1726,7 @@ function ve(t) {
|
|
|
1726
1726
|
})]
|
|
1727
1727
|
});
|
|
1728
1728
|
}
|
|
1729
|
-
process.env.NODE_ENV !== "production" && (
|
|
1729
|
+
process.env.NODE_ENV !== "production" && (ye.propTypes = {
|
|
1730
1730
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1731
1731
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1732
1732
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -1734,7 +1734,7 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
|
|
|
1734
1734
|
/**
|
|
1735
1735
|
* A single child content element.
|
|
1736
1736
|
*/
|
|
1737
|
-
children:
|
|
1737
|
+
children: Ee,
|
|
1738
1738
|
/**
|
|
1739
1739
|
* If `true`, the focus trap will not automatically shift focus to itself when it opens, and
|
|
1740
1740
|
* replace it to the last focused element when it closes.
|
|
@@ -1780,58 +1780,58 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
|
|
|
1780
1780
|
*/
|
|
1781
1781
|
open: e.bool.isRequired
|
|
1782
1782
|
});
|
|
1783
|
-
process.env.NODE_ENV !== "production" && (
|
|
1784
|
-
function
|
|
1783
|
+
process.env.NODE_ENV !== "production" && (ye.propTypes = Qe(ye.propTypes));
|
|
1784
|
+
function Xt(t) {
|
|
1785
1785
|
return typeof t == "function" ? t() : t;
|
|
1786
1786
|
}
|
|
1787
|
-
function
|
|
1787
|
+
function Zt(t) {
|
|
1788
1788
|
return t ? t.props.hasOwnProperty("in") : !1;
|
|
1789
1789
|
}
|
|
1790
|
-
const
|
|
1791
|
-
},
|
|
1792
|
-
function
|
|
1790
|
+
const Xe = () => {
|
|
1791
|
+
}, de = new Ut();
|
|
1792
|
+
function Jt(t) {
|
|
1793
1793
|
const {
|
|
1794
1794
|
container: n,
|
|
1795
|
-
disableEscapeKeyDown:
|
|
1796
|
-
disableScrollLock:
|
|
1795
|
+
disableEscapeKeyDown: i = !1,
|
|
1796
|
+
disableScrollLock: r = !1,
|
|
1797
1797
|
closeAfterTransition: a = !1,
|
|
1798
|
-
onTransitionEnter:
|
|
1798
|
+
onTransitionEnter: s,
|
|
1799
1799
|
onTransitionExited: d,
|
|
1800
1800
|
children: p,
|
|
1801
1801
|
onClose: u,
|
|
1802
1802
|
open: l,
|
|
1803
1803
|
rootRef: m
|
|
1804
|
-
} = t, c =
|
|
1804
|
+
} = t, c = h.useRef({}), o = h.useRef(null), f = h.useRef(null), y = ie(f, m), [E, O] = h.useState(!l), S = Zt(p);
|
|
1805
1805
|
let R = !0;
|
|
1806
1806
|
(t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (R = !1);
|
|
1807
|
-
const
|
|
1808
|
-
|
|
1809
|
-
disableScrollLock:
|
|
1807
|
+
const g = () => q(o.current), T = () => (c.current.modalRef = f.current, c.current.mount = o.current, c.current), N = () => {
|
|
1808
|
+
de.mount(T(), {
|
|
1809
|
+
disableScrollLock: r
|
|
1810
1810
|
}), f.current && (f.current.scrollTop = 0);
|
|
1811
|
-
},
|
|
1812
|
-
const v =
|
|
1813
|
-
|
|
1814
|
-
}),
|
|
1815
|
-
|
|
1816
|
-
}),
|
|
1817
|
-
|
|
1811
|
+
}, D = $e(() => {
|
|
1812
|
+
const v = Xt(n) || g().body;
|
|
1813
|
+
de.add(T(), v), f.current && N();
|
|
1814
|
+
}), P = () => de.isTopModal(T()), _ = $e((v) => {
|
|
1815
|
+
o.current = v, v && (l && P() ? N() : f.current && oe(f.current, R));
|
|
1816
|
+
}), C = h.useCallback(() => {
|
|
1817
|
+
de.remove(T(), R);
|
|
1818
1818
|
}, [R]);
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
}, [
|
|
1822
|
-
l ?
|
|
1823
|
-
}, [l,
|
|
1824
|
-
const
|
|
1819
|
+
h.useEffect(() => () => {
|
|
1820
|
+
C();
|
|
1821
|
+
}, [C]), h.useEffect(() => {
|
|
1822
|
+
l ? D() : (!S || !a) && C();
|
|
1823
|
+
}, [l, C, S, a, D]);
|
|
1824
|
+
const I = (v) => (b) => {
|
|
1825
1825
|
v.onKeyDown?.(b), !(b.key !== "Escape" || b.which === 229 || // Wait until IME is settled.
|
|
1826
|
-
!
|
|
1827
|
-
},
|
|
1826
|
+
!P()) && (i || (b.stopPropagation(), u && u(b, "escapeKeyDown")));
|
|
1827
|
+
}, L = (v) => (b) => {
|
|
1828
1828
|
v.onClick?.(b), b.target === b.currentTarget && u && u(b, "backdropClick");
|
|
1829
1829
|
};
|
|
1830
1830
|
return {
|
|
1831
1831
|
getRootProps: (v = {}) => {
|
|
1832
1832
|
const b = rt(t);
|
|
1833
1833
|
delete b.onTransitionEnter, delete b.onTransitionExited;
|
|
1834
|
-
const
|
|
1834
|
+
const K = {
|
|
1835
1835
|
...b,
|
|
1836
1836
|
...v
|
|
1837
1837
|
};
|
|
@@ -1843,9 +1843,9 @@ function Qt(t) {
|
|
|
1843
1843
|
* https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
|
|
1844
1844
|
*/
|
|
1845
1845
|
role: "presentation",
|
|
1846
|
-
...
|
|
1847
|
-
onKeyDown:
|
|
1848
|
-
ref:
|
|
1846
|
+
...K,
|
|
1847
|
+
onKeyDown: I(K),
|
|
1848
|
+
ref: y
|
|
1849
1849
|
};
|
|
1850
1850
|
},
|
|
1851
1851
|
getBackdropProps: (v = {}) => {
|
|
@@ -1853,52 +1853,52 @@ function Qt(t) {
|
|
|
1853
1853
|
return {
|
|
1854
1854
|
"aria-hidden": !0,
|
|
1855
1855
|
...b,
|
|
1856
|
-
onClick:
|
|
1856
|
+
onClick: L(b),
|
|
1857
1857
|
open: l
|
|
1858
1858
|
};
|
|
1859
1859
|
},
|
|
1860
1860
|
getTransitionProps: () => {
|
|
1861
1861
|
const v = () => {
|
|
1862
|
-
O(!1),
|
|
1862
|
+
O(!1), s && s();
|
|
1863
1863
|
}, b = () => {
|
|
1864
|
-
O(!0), d && d(), a &&
|
|
1864
|
+
O(!0), d && d(), a && C();
|
|
1865
1865
|
};
|
|
1866
1866
|
return {
|
|
1867
|
-
onEnter: Be(v, p?.props.onEnter ??
|
|
1868
|
-
onExited: Be(b, p?.props.onExited ??
|
|
1867
|
+
onEnter: Be(v, p?.props.onEnter ?? Xe),
|
|
1868
|
+
onExited: Be(b, p?.props.onExited ?? Xe)
|
|
1869
1869
|
};
|
|
1870
1870
|
},
|
|
1871
|
-
rootRef:
|
|
1871
|
+
rootRef: y,
|
|
1872
1872
|
portalRef: _,
|
|
1873
|
-
isTopModal:
|
|
1873
|
+
isTopModal: P,
|
|
1874
1874
|
exited: E,
|
|
1875
1875
|
hasTransition: S
|
|
1876
1876
|
};
|
|
1877
1877
|
}
|
|
1878
|
-
function
|
|
1879
|
-
return
|
|
1878
|
+
function Qt(t) {
|
|
1879
|
+
return ge("MuiModal", t);
|
|
1880
1880
|
}
|
|
1881
|
-
|
|
1882
|
-
const
|
|
1881
|
+
he("MuiModal", ["root", "hidden", "backdrop"]);
|
|
1882
|
+
const en = (t) => {
|
|
1883
1883
|
const {
|
|
1884
1884
|
open: n,
|
|
1885
|
-
exited:
|
|
1886
|
-
classes:
|
|
1885
|
+
exited: i,
|
|
1886
|
+
classes: r
|
|
1887
1887
|
} = t;
|
|
1888
|
-
return
|
|
1889
|
-
root: ["root", !n &&
|
|
1888
|
+
return ve({
|
|
1889
|
+
root: ["root", !n && i && "hidden"],
|
|
1890
1890
|
backdrop: ["backdrop"]
|
|
1891
|
-
},
|
|
1892
|
-
},
|
|
1891
|
+
}, Qt, r);
|
|
1892
|
+
}, tn = H("div", {
|
|
1893
1893
|
name: "MuiModal",
|
|
1894
1894
|
slot: "Root",
|
|
1895
1895
|
overridesResolver: (t, n) => {
|
|
1896
1896
|
const {
|
|
1897
|
-
ownerState:
|
|
1897
|
+
ownerState: i
|
|
1898
1898
|
} = t;
|
|
1899
|
-
return [n.root, !
|
|
1899
|
+
return [n.root, !i.open && i.exited && n.hidden];
|
|
1900
1900
|
}
|
|
1901
|
-
})(
|
|
1901
|
+
})(_e(({
|
|
1902
1902
|
theme: t
|
|
1903
1903
|
}) => ({
|
|
1904
1904
|
position: "fixed",
|
|
@@ -1915,132 +1915,132 @@ const tn = (t) => {
|
|
|
1915
1915
|
visibility: "hidden"
|
|
1916
1916
|
}
|
|
1917
1917
|
}]
|
|
1918
|
-
}))),
|
|
1918
|
+
}))), nn = H(Ae, {
|
|
1919
1919
|
name: "MuiModal",
|
|
1920
1920
|
slot: "Backdrop"
|
|
1921
1921
|
})({
|
|
1922
1922
|
zIndex: -1
|
|
1923
|
-
}),
|
|
1924
|
-
const
|
|
1923
|
+
}), st = /* @__PURE__ */ h.forwardRef(function(n, i) {
|
|
1924
|
+
const r = be({
|
|
1925
1925
|
name: "MuiModal",
|
|
1926
1926
|
props: n
|
|
1927
1927
|
}), {
|
|
1928
|
-
BackdropComponent: a =
|
|
1929
|
-
BackdropProps:
|
|
1928
|
+
BackdropComponent: a = nn,
|
|
1929
|
+
BackdropProps: s,
|
|
1930
1930
|
classes: d,
|
|
1931
1931
|
className: p,
|
|
1932
1932
|
closeAfterTransition: u = !1,
|
|
1933
1933
|
children: l,
|
|
1934
1934
|
container: m,
|
|
1935
1935
|
component: c,
|
|
1936
|
-
components:
|
|
1936
|
+
components: o = {},
|
|
1937
1937
|
componentsProps: f = {},
|
|
1938
|
-
disableAutoFocus:
|
|
1938
|
+
disableAutoFocus: y = !1,
|
|
1939
1939
|
disableEnforceFocus: E = !1,
|
|
1940
1940
|
disableEscapeKeyDown: O = !1,
|
|
1941
1941
|
disablePortal: S = !1,
|
|
1942
1942
|
disableRestoreFocus: R = !1,
|
|
1943
|
-
disableScrollLock:
|
|
1943
|
+
disableScrollLock: g = !1,
|
|
1944
1944
|
hideBackdrop: T = !1,
|
|
1945
|
-
keepMounted:
|
|
1946
|
-
onClose:
|
|
1947
|
-
onTransitionEnter:
|
|
1945
|
+
keepMounted: N = !1,
|
|
1946
|
+
onClose: D,
|
|
1947
|
+
onTransitionEnter: P,
|
|
1948
1948
|
onTransitionExited: _,
|
|
1949
|
-
open:
|
|
1950
|
-
slotProps:
|
|
1951
|
-
slots:
|
|
1949
|
+
open: C,
|
|
1950
|
+
slotProps: I = {},
|
|
1951
|
+
slots: L = {},
|
|
1952
1952
|
// eslint-disable-next-line react/prop-types
|
|
1953
|
-
theme:
|
|
1954
|
-
|
|
1955
|
-
} =
|
|
1956
|
-
...
|
|
1953
|
+
theme: J,
|
|
1954
|
+
...F
|
|
1955
|
+
} = r, x = {
|
|
1956
|
+
...r,
|
|
1957
1957
|
closeAfterTransition: u,
|
|
1958
|
-
disableAutoFocus:
|
|
1958
|
+
disableAutoFocus: y,
|
|
1959
1959
|
disableEnforceFocus: E,
|
|
1960
1960
|
disableEscapeKeyDown: O,
|
|
1961
1961
|
disablePortal: S,
|
|
1962
1962
|
disableRestoreFocus: R,
|
|
1963
|
-
disableScrollLock:
|
|
1963
|
+
disableScrollLock: g,
|
|
1964
1964
|
hideBackdrop: T,
|
|
1965
|
-
keepMounted:
|
|
1965
|
+
keepMounted: N
|
|
1966
1966
|
}, {
|
|
1967
1967
|
getRootProps: v,
|
|
1968
1968
|
getBackdropProps: b,
|
|
1969
|
-
getTransitionProps:
|
|
1970
|
-
portalRef:
|
|
1971
|
-
isTopModal:
|
|
1972
|
-
exited:
|
|
1973
|
-
hasTransition:
|
|
1974
|
-
} =
|
|
1969
|
+
getTransitionProps: K,
|
|
1970
|
+
portalRef: Q,
|
|
1971
|
+
isTopModal: Te,
|
|
1972
|
+
exited: se,
|
|
1973
|
+
hasTransition: ae
|
|
1974
|
+
} = Jt({
|
|
1975
1975
|
...x,
|
|
1976
|
-
rootRef:
|
|
1977
|
-
}),
|
|
1976
|
+
rootRef: i
|
|
1977
|
+
}), A = {
|
|
1978
1978
|
...x,
|
|
1979
|
-
exited:
|
|
1980
|
-
},
|
|
1981
|
-
if (l.props.tabIndex === void 0 && (
|
|
1979
|
+
exited: se
|
|
1980
|
+
}, ee = en(A), G = {};
|
|
1981
|
+
if (l.props.tabIndex === void 0 && (G.tabIndex = "-1"), ae) {
|
|
1982
1982
|
const {
|
|
1983
|
-
onEnter:
|
|
1984
|
-
onExited:
|
|
1985
|
-
} =
|
|
1986
|
-
|
|
1983
|
+
onEnter: W,
|
|
1984
|
+
onExited: te
|
|
1985
|
+
} = K();
|
|
1986
|
+
G.onEnter = W, G.onExited = te;
|
|
1987
1987
|
}
|
|
1988
|
-
const
|
|
1988
|
+
const le = {
|
|
1989
1989
|
slots: {
|
|
1990
|
-
root:
|
|
1991
|
-
backdrop:
|
|
1992
|
-
...
|
|
1990
|
+
root: o.Root,
|
|
1991
|
+
backdrop: o.Backdrop,
|
|
1992
|
+
...L
|
|
1993
1993
|
},
|
|
1994
1994
|
slotProps: {
|
|
1995
1995
|
...f,
|
|
1996
|
-
...
|
|
1996
|
+
...I
|
|
1997
1997
|
}
|
|
1998
|
-
}, [
|
|
1999
|
-
ref:
|
|
2000
|
-
elementType:
|
|
1998
|
+
}, [xe, Oe] = j("root", {
|
|
1999
|
+
ref: i,
|
|
2000
|
+
elementType: tn,
|
|
2001
2001
|
externalForwardedProps: {
|
|
2002
|
-
...
|
|
2003
|
-
|
|
2002
|
+
...le,
|
|
2003
|
+
...F,
|
|
2004
2004
|
component: c
|
|
2005
2005
|
},
|
|
2006
2006
|
getSlotProps: v,
|
|
2007
|
-
ownerState:
|
|
2008
|
-
className:
|
|
2009
|
-
}), [
|
|
2010
|
-
ref:
|
|
2007
|
+
ownerState: A,
|
|
2008
|
+
className: B(p, ee?.root, !A.open && A.exited && ee?.hidden)
|
|
2009
|
+
}), [Se, Re] = j("backdrop", {
|
|
2010
|
+
ref: s?.ref,
|
|
2011
2011
|
elementType: a,
|
|
2012
|
-
externalForwardedProps:
|
|
2012
|
+
externalForwardedProps: le,
|
|
2013
2013
|
shouldForwardComponentProp: !0,
|
|
2014
|
-
additionalProps:
|
|
2015
|
-
getSlotProps: (
|
|
2016
|
-
...
|
|
2017
|
-
onClick: (
|
|
2018
|
-
|
|
2014
|
+
additionalProps: s,
|
|
2015
|
+
getSlotProps: (W) => b({
|
|
2016
|
+
...W,
|
|
2017
|
+
onClick: (te) => {
|
|
2018
|
+
W?.onClick && W.onClick(te);
|
|
2019
2019
|
}
|
|
2020
2020
|
}),
|
|
2021
|
-
className:
|
|
2022
|
-
ownerState:
|
|
2021
|
+
className: B(s?.className, ee?.backdrop),
|
|
2022
|
+
ownerState: A
|
|
2023
2023
|
});
|
|
2024
|
-
return !
|
|
2025
|
-
ref:
|
|
2024
|
+
return !N && !C && (!ae || se) ? null : /* @__PURE__ */ M(fe, {
|
|
2025
|
+
ref: Q,
|
|
2026
2026
|
container: m,
|
|
2027
2027
|
disablePortal: S,
|
|
2028
|
-
children: /* @__PURE__ */
|
|
2029
|
-
...
|
|
2030
|
-
children: [!T && a ? /* @__PURE__ */
|
|
2031
|
-
...
|
|
2032
|
-
}) : null, /* @__PURE__ */
|
|
2028
|
+
children: /* @__PURE__ */ Ze(xe, {
|
|
2029
|
+
...Oe,
|
|
2030
|
+
children: [!T && a ? /* @__PURE__ */ M(Se, {
|
|
2031
|
+
...Re
|
|
2032
|
+
}) : null, /* @__PURE__ */ M(ye, {
|
|
2033
2033
|
disableEnforceFocus: E,
|
|
2034
|
-
disableAutoFocus:
|
|
2034
|
+
disableAutoFocus: y,
|
|
2035
2035
|
disableRestoreFocus: R,
|
|
2036
|
-
isEnabled:
|
|
2037
|
-
open:
|
|
2038
|
-
children: /* @__PURE__ */
|
|
2036
|
+
isEnabled: Te,
|
|
2037
|
+
open: C,
|
|
2038
|
+
children: /* @__PURE__ */ h.cloneElement(l, G)
|
|
2039
2039
|
})]
|
|
2040
2040
|
})
|
|
2041
2041
|
});
|
|
2042
2042
|
});
|
|
2043
|
-
process.env.NODE_ENV !== "production" && (
|
|
2043
|
+
process.env.NODE_ENV !== "production" && (st.propTypes = {
|
|
2044
2044
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
2045
2045
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
2046
2046
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -2065,7 +2065,7 @@ process.env.NODE_ENV !== "production" && (at.propTypes = {
|
|
|
2065
2065
|
/**
|
|
2066
2066
|
* A single child content element.
|
|
2067
2067
|
*/
|
|
2068
|
-
children:
|
|
2068
|
+
children: Ee.isRequired,
|
|
2069
2069
|
/**
|
|
2070
2070
|
* Override or extend the styles applied to the component.
|
|
2071
2071
|
*/
|
|
@@ -2117,7 +2117,7 @@ process.env.NODE_ENV !== "production" && (at.propTypes = {
|
|
|
2117
2117
|
* By default, it uses the body of the top-level document object,
|
|
2118
2118
|
* so it's simply `document.body` most of the time.
|
|
2119
2119
|
*/
|
|
2120
|
-
container: e.oneOfType([
|
|
2120
|
+
container: e.oneOfType([ot, e.func]),
|
|
2121
2121
|
/**
|
|
2122
2122
|
* If `true`, the modal will not automatically shift focus to itself when it opens, and
|
|
2123
2123
|
* replace it to the last focused element when it closes.
|
|
@@ -2212,31 +2212,29 @@ process.env.NODE_ENV !== "production" && (at.propTypes = {
|
|
|
2212
2212
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
2213
2213
|
});
|
|
2214
2214
|
function rn(t) {
|
|
2215
|
-
return
|
|
2215
|
+
return ge("MuiDialog", t);
|
|
2216
2216
|
}
|
|
2217
|
-
const
|
|
2218
|
-
process.env.NODE_ENV !== "production" && (Le.displayName = "DialogContext");
|
|
2219
|
-
const sn = j(Ie, {
|
|
2217
|
+
const Ne = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), on = H(Ae, {
|
|
2220
2218
|
name: "MuiDialog",
|
|
2221
2219
|
slot: "Backdrop",
|
|
2222
2220
|
overrides: (t, n) => n.backdrop
|
|
2223
2221
|
})({
|
|
2224
2222
|
// Improve scrollable dialog support.
|
|
2225
2223
|
zIndex: -1
|
|
2226
|
-
}),
|
|
2224
|
+
}), sn = (t) => {
|
|
2227
2225
|
const {
|
|
2228
2226
|
classes: n,
|
|
2229
|
-
scroll:
|
|
2230
|
-
maxWidth:
|
|
2227
|
+
scroll: i,
|
|
2228
|
+
maxWidth: r,
|
|
2231
2229
|
fullWidth: a,
|
|
2232
|
-
fullScreen:
|
|
2230
|
+
fullScreen: s
|
|
2233
2231
|
} = t, d = {
|
|
2234
2232
|
root: ["root"],
|
|
2235
|
-
container: ["container", `scroll${
|
|
2236
|
-
paper: ["paper", `paperScroll${
|
|
2233
|
+
container: ["container", `scroll${Z(i)}`],
|
|
2234
|
+
paper: ["paper", `paperScroll${Z(i)}`, `paperWidth${Z(String(r))}`, a && "paperFullWidth", s && "paperFullScreen"]
|
|
2237
2235
|
};
|
|
2238
|
-
return
|
|
2239
|
-
},
|
|
2236
|
+
return ve(d, rn, n);
|
|
2237
|
+
}, an = H(st, {
|
|
2240
2238
|
name: "MuiDialog",
|
|
2241
2239
|
slot: "Root"
|
|
2242
2240
|
})({
|
|
@@ -2244,14 +2242,14 @@ const sn = j(Ie, {
|
|
|
2244
2242
|
// Use !important to override the Modal inline-style.
|
|
2245
2243
|
position: "absolute !important"
|
|
2246
2244
|
}
|
|
2247
|
-
}),
|
|
2245
|
+
}), ln = H("div", {
|
|
2248
2246
|
name: "MuiDialog",
|
|
2249
2247
|
slot: "Container",
|
|
2250
2248
|
overridesResolver: (t, n) => {
|
|
2251
2249
|
const {
|
|
2252
|
-
ownerState:
|
|
2250
|
+
ownerState: i
|
|
2253
2251
|
} = t;
|
|
2254
|
-
return [n.container, n[`scroll${
|
|
2252
|
+
return [n.container, n[`scroll${Z(i.scroll)}`]];
|
|
2255
2253
|
}
|
|
2256
2254
|
})({
|
|
2257
2255
|
height: "100%",
|
|
@@ -2286,16 +2284,16 @@ const sn = j(Ie, {
|
|
|
2286
2284
|
}
|
|
2287
2285
|
}
|
|
2288
2286
|
}]
|
|
2289
|
-
}),
|
|
2287
|
+
}), cn = H(Me, {
|
|
2290
2288
|
name: "MuiDialog",
|
|
2291
2289
|
slot: "Paper",
|
|
2292
2290
|
overridesResolver: (t, n) => {
|
|
2293
2291
|
const {
|
|
2294
|
-
ownerState:
|
|
2292
|
+
ownerState: i
|
|
2295
2293
|
} = t;
|
|
2296
|
-
return [n.paper, n[`scrollPaper${
|
|
2294
|
+
return [n.paper, n[`scrollPaper${Z(i.scroll)}`], n[`paperWidth${Z(String(i.maxWidth))}`], i.fullWidth && n.paperFullWidth, i.fullScreen && n.paperFullScreen];
|
|
2297
2295
|
}
|
|
2298
|
-
})(
|
|
2296
|
+
})(_e(({
|
|
2299
2297
|
theme: t
|
|
2300
2298
|
}) => ({
|
|
2301
2299
|
margin: 32,
|
|
@@ -2336,7 +2334,7 @@ const sn = j(Ie, {
|
|
|
2336
2334
|
},
|
|
2337
2335
|
style: {
|
|
2338
2336
|
maxWidth: t.breakpoints.unit === "px" ? Math.max(t.breakpoints.values.xs, 444) : `max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,
|
|
2339
|
-
[`&.${
|
|
2337
|
+
[`&.${Ne.paperScrollBody}`]: {
|
|
2340
2338
|
[t.breakpoints.down(Math.max(t.breakpoints.values.xs, 444) + 64)]: {
|
|
2341
2339
|
maxWidth: "calc(100% - 64px)"
|
|
2342
2340
|
}
|
|
@@ -2348,7 +2346,7 @@ const sn = j(Ie, {
|
|
|
2348
2346
|
},
|
|
2349
2347
|
style: {
|
|
2350
2348
|
maxWidth: `${t.breakpoints.values[n]}${t.breakpoints.unit}`,
|
|
2351
|
-
[`&.${
|
|
2349
|
+
[`&.${Ne.paperScrollBody}`]: {
|
|
2352
2350
|
[t.breakpoints.down(t.breakpoints.values[n] + 64)]: {
|
|
2353
2351
|
maxWidth: "calc(100% - 64px)"
|
|
2354
2352
|
}
|
|
@@ -2372,17 +2370,17 @@ const sn = j(Ie, {
|
|
|
2372
2370
|
height: "100%",
|
|
2373
2371
|
maxHeight: "none",
|
|
2374
2372
|
borderRadius: 0,
|
|
2375
|
-
[`&.${
|
|
2373
|
+
[`&.${Ne.paperScrollBody}`]: {
|
|
2376
2374
|
margin: 0,
|
|
2377
2375
|
maxWidth: "100%"
|
|
2378
2376
|
}
|
|
2379
2377
|
}
|
|
2380
2378
|
}]
|
|
2381
|
-
}))),
|
|
2382
|
-
const
|
|
2379
|
+
}))), un = /* @__PURE__ */ h.forwardRef(function(n, i) {
|
|
2380
|
+
const r = be({
|
|
2383
2381
|
props: n,
|
|
2384
2382
|
name: "MuiDialog"
|
|
2385
|
-
}), a =
|
|
2383
|
+
}), a = Ce(), s = {
|
|
2386
2384
|
enter: a.transitions.duration.enteringScreen,
|
|
2387
2385
|
exit: a.transitions.duration.leavingScreen
|
|
2388
2386
|
}, {
|
|
@@ -2392,114 +2390,114 @@ const sn = j(Ie, {
|
|
|
2392
2390
|
BackdropComponent: l,
|
|
2393
2391
|
BackdropProps: m,
|
|
2394
2392
|
children: c,
|
|
2395
|
-
className:
|
|
2393
|
+
className: o,
|
|
2396
2394
|
disableEscapeKeyDown: f = !1,
|
|
2397
|
-
fullScreen:
|
|
2395
|
+
fullScreen: y = !1,
|
|
2398
2396
|
fullWidth: E = !1,
|
|
2399
2397
|
maxWidth: O = "sm",
|
|
2400
2398
|
onClick: S,
|
|
2401
2399
|
onClose: R,
|
|
2402
|
-
open:
|
|
2400
|
+
open: g,
|
|
2403
2401
|
PaperComponent: T = Me,
|
|
2404
|
-
PaperProps:
|
|
2405
|
-
scroll:
|
|
2406
|
-
slots:
|
|
2402
|
+
PaperProps: N = {},
|
|
2403
|
+
scroll: D = "paper",
|
|
2404
|
+
slots: P = {},
|
|
2407
2405
|
slotProps: _ = {},
|
|
2408
|
-
TransitionComponent:
|
|
2409
|
-
transitionDuration:
|
|
2410
|
-
TransitionProps:
|
|
2411
|
-
...
|
|
2412
|
-
} =
|
|
2413
|
-
...
|
|
2406
|
+
TransitionComponent: C = me,
|
|
2407
|
+
transitionDuration: I = s,
|
|
2408
|
+
TransitionProps: L,
|
|
2409
|
+
...J
|
|
2410
|
+
} = r, F = {
|
|
2411
|
+
...r,
|
|
2414
2412
|
disableEscapeKeyDown: f,
|
|
2415
|
-
fullScreen:
|
|
2413
|
+
fullScreen: y,
|
|
2416
2414
|
fullWidth: E,
|
|
2417
2415
|
maxWidth: O,
|
|
2418
|
-
scroll:
|
|
2419
|
-
}, x =
|
|
2420
|
-
v.current =
|
|
2421
|
-
},
|
|
2422
|
-
S && S(
|
|
2423
|
-
},
|
|
2424
|
-
titleId:
|
|
2425
|
-
}), [
|
|
2426
|
-
transition:
|
|
2427
|
-
...
|
|
2428
|
-
},
|
|
2429
|
-
transition:
|
|
2430
|
-
paper:
|
|
2416
|
+
scroll: D
|
|
2417
|
+
}, x = sn(F), v = h.useRef(), b = (ne) => {
|
|
2418
|
+
v.current = ne.target === ne.currentTarget;
|
|
2419
|
+
}, K = (ne) => {
|
|
2420
|
+
S && S(ne), v.current && (v.current = null, R && R(ne, "backdropClick"));
|
|
2421
|
+
}, Q = yt(p), Te = h.useMemo(() => ({
|
|
2422
|
+
titleId: Q
|
|
2423
|
+
}), [Q]), se = {
|
|
2424
|
+
transition: C,
|
|
2425
|
+
...P
|
|
2426
|
+
}, ae = {
|
|
2427
|
+
transition: L,
|
|
2428
|
+
paper: N,
|
|
2431
2429
|
backdrop: m,
|
|
2432
2430
|
..._
|
|
2433
|
-
},
|
|
2434
|
-
slots:
|
|
2435
|
-
slotProps:
|
|
2436
|
-
}, [
|
|
2437
|
-
elementType:
|
|
2438
|
-
shouldForwardComponentProp: !0,
|
|
2439
|
-
externalForwardedProps: I,
|
|
2440
|
-
ownerState: $,
|
|
2441
|
-
className: L(x.root, s),
|
|
2442
|
-
ref: r
|
|
2443
|
-
}), [pe, Oe] = U("backdrop", {
|
|
2444
|
-
elementType: sn,
|
|
2431
|
+
}, A = {
|
|
2432
|
+
slots: se,
|
|
2433
|
+
slotProps: ae
|
|
2434
|
+
}, [ee, G] = j("root", {
|
|
2435
|
+
elementType: an,
|
|
2445
2436
|
shouldForwardComponentProp: !0,
|
|
2446
|
-
externalForwardedProps:
|
|
2447
|
-
ownerState:
|
|
2448
|
-
|
|
2449
|
-
|
|
2437
|
+
externalForwardedProps: A,
|
|
2438
|
+
ownerState: F,
|
|
2439
|
+
className: B(x.root, o),
|
|
2440
|
+
ref: i
|
|
2441
|
+
}), [le, xe] = j("backdrop", {
|
|
2442
|
+
elementType: on,
|
|
2450
2443
|
shouldForwardComponentProp: !0,
|
|
2451
|
-
externalForwardedProps:
|
|
2452
|
-
ownerState:
|
|
2453
|
-
|
|
2454
|
-
}), [Ne, H] = U("container", {
|
|
2444
|
+
externalForwardedProps: A,
|
|
2445
|
+
ownerState: F
|
|
2446
|
+
}), [Oe, Se] = j("paper", {
|
|
2455
2447
|
elementType: cn,
|
|
2456
|
-
|
|
2457
|
-
|
|
2448
|
+
shouldForwardComponentProp: !0,
|
|
2449
|
+
externalForwardedProps: A,
|
|
2450
|
+
ownerState: F,
|
|
2451
|
+
className: B(x.paper, N.className)
|
|
2452
|
+
}), [Re, W] = j("container", {
|
|
2453
|
+
elementType: ln,
|
|
2454
|
+
externalForwardedProps: A,
|
|
2455
|
+
ownerState: F,
|
|
2458
2456
|
className: x.container
|
|
2459
|
-
}), [
|
|
2460
|
-
elementType:
|
|
2461
|
-
externalForwardedProps:
|
|
2462
|
-
ownerState:
|
|
2457
|
+
}), [te, at] = j("transition", {
|
|
2458
|
+
elementType: me,
|
|
2459
|
+
externalForwardedProps: A,
|
|
2460
|
+
ownerState: F,
|
|
2463
2461
|
additionalProps: {
|
|
2464
2462
|
appear: !0,
|
|
2465
|
-
in:
|
|
2466
|
-
timeout:
|
|
2463
|
+
in: g,
|
|
2464
|
+
timeout: I,
|
|
2467
2465
|
role: "presentation"
|
|
2468
2466
|
}
|
|
2469
2467
|
});
|
|
2470
|
-
return /* @__PURE__ */
|
|
2468
|
+
return /* @__PURE__ */ M(ee, {
|
|
2471
2469
|
closeAfterTransition: !0,
|
|
2472
2470
|
slots: {
|
|
2473
|
-
backdrop:
|
|
2471
|
+
backdrop: le
|
|
2474
2472
|
},
|
|
2475
2473
|
slotProps: {
|
|
2476
2474
|
backdrop: {
|
|
2477
|
-
transitionDuration:
|
|
2475
|
+
transitionDuration: I,
|
|
2478
2476
|
as: l,
|
|
2479
|
-
...
|
|
2477
|
+
...xe
|
|
2480
2478
|
}
|
|
2481
2479
|
},
|
|
2482
2480
|
disableEscapeKeyDown: f,
|
|
2483
2481
|
onClose: R,
|
|
2484
|
-
open:
|
|
2485
|
-
onClick:
|
|
2486
|
-
...
|
|
2487
|
-
...
|
|
2488
|
-
children: /* @__PURE__ */
|
|
2489
|
-
...
|
|
2490
|
-
children: /* @__PURE__ */
|
|
2482
|
+
open: g,
|
|
2483
|
+
onClick: K,
|
|
2484
|
+
...G,
|
|
2485
|
+
...J,
|
|
2486
|
+
children: /* @__PURE__ */ M(te, {
|
|
2487
|
+
...at,
|
|
2488
|
+
children: /* @__PURE__ */ M(Re, {
|
|
2491
2489
|
onMouseDown: b,
|
|
2492
|
-
...
|
|
2493
|
-
children: /* @__PURE__ */
|
|
2490
|
+
...W,
|
|
2491
|
+
children: /* @__PURE__ */ M(Oe, {
|
|
2494
2492
|
as: T,
|
|
2495
2493
|
elevation: 24,
|
|
2496
2494
|
role: "dialog",
|
|
2497
2495
|
"aria-describedby": d,
|
|
2498
|
-
"aria-labelledby":
|
|
2496
|
+
"aria-labelledby": Q,
|
|
2499
2497
|
"aria-modal": u,
|
|
2500
|
-
...
|
|
2501
|
-
children: /* @__PURE__ */
|
|
2502
|
-
value:
|
|
2498
|
+
...Se,
|
|
2499
|
+
children: /* @__PURE__ */ M(ct.Provider, {
|
|
2500
|
+
value: Te,
|
|
2503
2501
|
children: c
|
|
2504
2502
|
})
|
|
2505
2503
|
})
|
|
@@ -2507,7 +2505,7 @@ const sn = j(Ie, {
|
|
|
2507
2505
|
})
|
|
2508
2506
|
});
|
|
2509
2507
|
});
|
|
2510
|
-
process.env.NODE_ENV !== "production" && (
|
|
2508
|
+
process.env.NODE_ENV !== "production" && (un.propTypes = {
|
|
2511
2509
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
2512
2510
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
2513
2511
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -2662,249 +2660,6 @@ process.env.NODE_ENV !== "production" && (dn.propTypes = {
|
|
|
2662
2660
|
*/
|
|
2663
2661
|
TransitionProps: e.object
|
|
2664
2662
|
});
|
|
2665
|
-
function pn(t) {
|
|
2666
|
-
return K("MuiDialogActions", t);
|
|
2667
|
-
}
|
|
2668
|
-
G("MuiDialogActions", ["root", "spacing"]);
|
|
2669
|
-
const fn = (t) => {
|
|
2670
|
-
const {
|
|
2671
|
-
classes: n,
|
|
2672
|
-
disableSpacing: r
|
|
2673
|
-
} = t;
|
|
2674
|
-
return z({
|
|
2675
|
-
root: ["root", !r && "spacing"]
|
|
2676
|
-
}, pn, n);
|
|
2677
|
-
}, mn = j("div", {
|
|
2678
|
-
name: "MuiDialogActions",
|
|
2679
|
-
slot: "Root",
|
|
2680
|
-
overridesResolver: (t, n) => {
|
|
2681
|
-
const {
|
|
2682
|
-
ownerState: r
|
|
2683
|
-
} = t;
|
|
2684
|
-
return [n.root, !r.disableSpacing && n.spacing];
|
|
2685
|
-
}
|
|
2686
|
-
})({
|
|
2687
|
-
display: "flex",
|
|
2688
|
-
alignItems: "center",
|
|
2689
|
-
padding: 8,
|
|
2690
|
-
justifyContent: "flex-end",
|
|
2691
|
-
flex: "0 0 auto",
|
|
2692
|
-
variants: [{
|
|
2693
|
-
props: ({
|
|
2694
|
-
ownerState: t
|
|
2695
|
-
}) => !t.disableSpacing,
|
|
2696
|
-
style: {
|
|
2697
|
-
"& > :not(style) ~ :not(style)": {
|
|
2698
|
-
marginLeft: 8
|
|
2699
|
-
}
|
|
2700
|
-
}
|
|
2701
|
-
}]
|
|
2702
|
-
}), gn = /* @__PURE__ */ y.forwardRef(function(n, r) {
|
|
2703
|
-
const o = Y({
|
|
2704
|
-
props: n,
|
|
2705
|
-
name: "MuiDialogActions"
|
|
2706
|
-
}), {
|
|
2707
|
-
className: a,
|
|
2708
|
-
disableSpacing: i = !1,
|
|
2709
|
-
...d
|
|
2710
|
-
} = o, p = {
|
|
2711
|
-
...o,
|
|
2712
|
-
disableSpacing: i
|
|
2713
|
-
}, u = fn(p);
|
|
2714
|
-
return /* @__PURE__ */ D(mn, {
|
|
2715
|
-
className: L(u.root, a),
|
|
2716
|
-
ownerState: p,
|
|
2717
|
-
ref: r,
|
|
2718
|
-
...d
|
|
2719
|
-
});
|
|
2720
|
-
});
|
|
2721
|
-
process.env.NODE_ENV !== "production" && (gn.propTypes = {
|
|
2722
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
2723
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
2724
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
2725
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
2726
|
-
/**
|
|
2727
|
-
* The content of the component.
|
|
2728
|
-
*/
|
|
2729
|
-
children: e.node,
|
|
2730
|
-
/**
|
|
2731
|
-
* Override or extend the styles applied to the component.
|
|
2732
|
-
*/
|
|
2733
|
-
classes: e.object,
|
|
2734
|
-
/**
|
|
2735
|
-
* @ignore
|
|
2736
|
-
*/
|
|
2737
|
-
className: e.string,
|
|
2738
|
-
/**
|
|
2739
|
-
* If `true`, the actions do not have additional margin.
|
|
2740
|
-
* @default false
|
|
2741
|
-
*/
|
|
2742
|
-
disableSpacing: e.bool,
|
|
2743
|
-
/**
|
|
2744
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
2745
|
-
*/
|
|
2746
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
2747
|
-
});
|
|
2748
|
-
function yn(t) {
|
|
2749
|
-
return K("MuiDialogContent", t);
|
|
2750
|
-
}
|
|
2751
|
-
G("MuiDialogContent", ["root", "dividers"]);
|
|
2752
|
-
function hn(t) {
|
|
2753
|
-
return K("MuiDialogTitle", t);
|
|
2754
|
-
}
|
|
2755
|
-
const bn = G("MuiDialogTitle", ["root"]), vn = (t) => {
|
|
2756
|
-
const {
|
|
2757
|
-
classes: n,
|
|
2758
|
-
dividers: r
|
|
2759
|
-
} = t;
|
|
2760
|
-
return z({
|
|
2761
|
-
root: ["root", r && "dividers"]
|
|
2762
|
-
}, yn, n);
|
|
2763
|
-
}, En = j("div", {
|
|
2764
|
-
name: "MuiDialogContent",
|
|
2765
|
-
slot: "Root",
|
|
2766
|
-
overridesResolver: (t, n) => {
|
|
2767
|
-
const {
|
|
2768
|
-
ownerState: r
|
|
2769
|
-
} = t;
|
|
2770
|
-
return [n.root, r.dividers && n.dividers];
|
|
2771
|
-
}
|
|
2772
|
-
})(Ee(({
|
|
2773
|
-
theme: t
|
|
2774
|
-
}) => ({
|
|
2775
|
-
flex: "1 1 auto",
|
|
2776
|
-
// Add iOS momentum scrolling for iOS < 13.0
|
|
2777
|
-
WebkitOverflowScrolling: "touch",
|
|
2778
|
-
overflowY: "auto",
|
|
2779
|
-
padding: "20px 24px",
|
|
2780
|
-
variants: [{
|
|
2781
|
-
props: ({
|
|
2782
|
-
ownerState: n
|
|
2783
|
-
}) => n.dividers,
|
|
2784
|
-
style: {
|
|
2785
|
-
padding: "16px 24px",
|
|
2786
|
-
borderTop: `1px solid ${(t.vars || t).palette.divider}`,
|
|
2787
|
-
borderBottom: `1px solid ${(t.vars || t).palette.divider}`
|
|
2788
|
-
}
|
|
2789
|
-
}, {
|
|
2790
|
-
props: ({
|
|
2791
|
-
ownerState: n
|
|
2792
|
-
}) => !n.dividers,
|
|
2793
|
-
style: {
|
|
2794
|
-
[`.${bn.root} + &`]: {
|
|
2795
|
-
paddingTop: 0
|
|
2796
|
-
}
|
|
2797
|
-
}
|
|
2798
|
-
}]
|
|
2799
|
-
}))), Tn = /* @__PURE__ */ y.forwardRef(function(n, r) {
|
|
2800
|
-
const o = Y({
|
|
2801
|
-
props: n,
|
|
2802
|
-
name: "MuiDialogContent"
|
|
2803
|
-
}), {
|
|
2804
|
-
className: a,
|
|
2805
|
-
dividers: i = !1,
|
|
2806
|
-
...d
|
|
2807
|
-
} = o, p = {
|
|
2808
|
-
...o,
|
|
2809
|
-
dividers: i
|
|
2810
|
-
}, u = vn(p);
|
|
2811
|
-
return /* @__PURE__ */ D(En, {
|
|
2812
|
-
className: L(u.root, a),
|
|
2813
|
-
ownerState: p,
|
|
2814
|
-
ref: r,
|
|
2815
|
-
...d
|
|
2816
|
-
});
|
|
2817
|
-
});
|
|
2818
|
-
process.env.NODE_ENV !== "production" && (Tn.propTypes = {
|
|
2819
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
2820
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
2821
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
2822
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
2823
|
-
/**
|
|
2824
|
-
* The content of the component.
|
|
2825
|
-
*/
|
|
2826
|
-
children: e.node,
|
|
2827
|
-
/**
|
|
2828
|
-
* Override or extend the styles applied to the component.
|
|
2829
|
-
*/
|
|
2830
|
-
classes: e.object,
|
|
2831
|
-
/**
|
|
2832
|
-
* @ignore
|
|
2833
|
-
*/
|
|
2834
|
-
className: e.string,
|
|
2835
|
-
/**
|
|
2836
|
-
* Display the top and bottom dividers.
|
|
2837
|
-
* @default false
|
|
2838
|
-
*/
|
|
2839
|
-
dividers: e.bool,
|
|
2840
|
-
/**
|
|
2841
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
2842
|
-
*/
|
|
2843
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
2844
|
-
});
|
|
2845
|
-
const xn = (t) => {
|
|
2846
|
-
const {
|
|
2847
|
-
classes: n
|
|
2848
|
-
} = t;
|
|
2849
|
-
return z({
|
|
2850
|
-
root: ["root"]
|
|
2851
|
-
}, hn, n);
|
|
2852
|
-
}, On = j(yt, {
|
|
2853
|
-
name: "MuiDialogTitle",
|
|
2854
|
-
slot: "Root"
|
|
2855
|
-
})({
|
|
2856
|
-
padding: "16px 24px",
|
|
2857
|
-
flex: "0 0 auto"
|
|
2858
|
-
}), Sn = /* @__PURE__ */ y.forwardRef(function(n, r) {
|
|
2859
|
-
const o = Y({
|
|
2860
|
-
props: n,
|
|
2861
|
-
name: "MuiDialogTitle"
|
|
2862
|
-
}), {
|
|
2863
|
-
className: a,
|
|
2864
|
-
id: i,
|
|
2865
|
-
...d
|
|
2866
|
-
} = o, p = o, u = xn(p), {
|
|
2867
|
-
titleId: l = i
|
|
2868
|
-
} = y.useContext(Le);
|
|
2869
|
-
return /* @__PURE__ */ D(On, {
|
|
2870
|
-
component: "h2",
|
|
2871
|
-
className: L(u.root, a),
|
|
2872
|
-
ownerState: p,
|
|
2873
|
-
ref: r,
|
|
2874
|
-
variant: "h6",
|
|
2875
|
-
id: i ?? l,
|
|
2876
|
-
...d
|
|
2877
|
-
});
|
|
2878
|
-
});
|
|
2879
|
-
process.env.NODE_ENV !== "production" && (Sn.propTypes = {
|
|
2880
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
2881
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
2882
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
2883
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
2884
|
-
/**
|
|
2885
|
-
* The content of the component.
|
|
2886
|
-
*/
|
|
2887
|
-
children: e.node,
|
|
2888
|
-
/**
|
|
2889
|
-
* Override or extend the styles applied to the component.
|
|
2890
|
-
*/
|
|
2891
|
-
classes: e.object,
|
|
2892
|
-
/**
|
|
2893
|
-
* @ignore
|
|
2894
|
-
*/
|
|
2895
|
-
className: e.string,
|
|
2896
|
-
/**
|
|
2897
|
-
* @ignore
|
|
2898
|
-
*/
|
|
2899
|
-
id: e.string,
|
|
2900
|
-
/**
|
|
2901
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
2902
|
-
*/
|
|
2903
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
2904
|
-
});
|
|
2905
2663
|
export {
|
|
2906
|
-
|
|
2907
|
-
Sn as a,
|
|
2908
|
-
Tn as b,
|
|
2909
|
-
gn as c
|
|
2664
|
+
un as D
|
|
2910
2665
|
};
|