uplord-ui 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Modal-iGq-uUMW.js → Modal-Bnj_mRH-.js} +958 -948
- package/dist/{Modal-DXaWpA96.cjs → Modal-CadOCjcw.cjs} +20 -20
- package/dist/components.cjs.js +1 -1
- package/dist/components.es.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/styles/variables.scss +1 -3
- package/dist/uplord-ui.css +1 -1
- package/package.json +1 -1
|
@@ -50,17 +50,17 @@ var Ma = {};
|
|
|
50
50
|
var Qx;
|
|
51
51
|
function FI() {
|
|
52
52
|
return Qx || (Qx = 1, process.env.NODE_ENV !== "production" && function() {
|
|
53
|
-
function e(
|
|
54
|
-
if (
|
|
55
|
-
if (typeof
|
|
56
|
-
return
|
|
57
|
-
if (typeof
|
|
58
|
-
switch (
|
|
53
|
+
function e(C) {
|
|
54
|
+
if (C == null) return null;
|
|
55
|
+
if (typeof C == "function")
|
|
56
|
+
return C.$$typeof === E ? null : C.displayName || C.name || null;
|
|
57
|
+
if (typeof C == "string") return C;
|
|
58
|
+
switch (C) {
|
|
59
59
|
case g:
|
|
60
60
|
return "Fragment";
|
|
61
61
|
case M:
|
|
62
62
|
return "Profiler";
|
|
63
|
-
case
|
|
63
|
+
case x:
|
|
64
64
|
return "StrictMode";
|
|
65
65
|
case m:
|
|
66
66
|
return "Suspense";
|
|
@@ -69,155 +69,155 @@ function FI() {
|
|
|
69
69
|
case j:
|
|
70
70
|
return "Activity";
|
|
71
71
|
}
|
|
72
|
-
if (typeof
|
|
73
|
-
switch (typeof
|
|
72
|
+
if (typeof C == "object")
|
|
73
|
+
switch (typeof C.tag == "number" && console.error(
|
|
74
74
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
75
|
-
),
|
|
76
|
-
case
|
|
75
|
+
), C.$$typeof) {
|
|
76
|
+
case v:
|
|
77
77
|
return "Portal";
|
|
78
78
|
case f:
|
|
79
|
-
return (
|
|
79
|
+
return (C.displayName || "Context") + ".Provider";
|
|
80
80
|
case N:
|
|
81
|
-
return (
|
|
81
|
+
return (C._context.displayName || "Context") + ".Consumer";
|
|
82
82
|
case w:
|
|
83
|
-
var R =
|
|
84
|
-
return
|
|
83
|
+
var R = C.render;
|
|
84
|
+
return C = C.displayName, C || (C = R.displayName || R.name || "", C = C !== "" ? "ForwardRef(" + C + ")" : "ForwardRef"), C;
|
|
85
85
|
case A:
|
|
86
|
-
return R =
|
|
86
|
+
return R = C.displayName || null, R !== null ? R : e(C.type) || "Memo";
|
|
87
87
|
case P:
|
|
88
|
-
R =
|
|
88
|
+
R = C._payload, C = C._init;
|
|
89
89
|
try {
|
|
90
|
-
return e(
|
|
90
|
+
return e(C(R));
|
|
91
91
|
} catch {
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
return null;
|
|
95
95
|
}
|
|
96
|
-
function t(
|
|
97
|
-
return "" +
|
|
96
|
+
function t(C) {
|
|
97
|
+
return "" + C;
|
|
98
98
|
}
|
|
99
|
-
function a(
|
|
99
|
+
function a(C) {
|
|
100
100
|
try {
|
|
101
|
-
t(
|
|
101
|
+
t(C);
|
|
102
102
|
var R = !1;
|
|
103
103
|
} catch {
|
|
104
104
|
R = !0;
|
|
105
105
|
}
|
|
106
106
|
if (R) {
|
|
107
107
|
R = console;
|
|
108
|
-
var T = R.error,
|
|
108
|
+
var T = R.error, F = typeof Symbol == "function" && Symbol.toStringTag && C[Symbol.toStringTag] || C.constructor.name || "Object";
|
|
109
109
|
return T.call(
|
|
110
110
|
R,
|
|
111
111
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
112
|
-
|
|
113
|
-
), t(
|
|
112
|
+
F
|
|
113
|
+
), t(C);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
function o(
|
|
117
|
-
if (
|
|
118
|
-
if (typeof
|
|
116
|
+
function o(C) {
|
|
117
|
+
if (C === g) return "<>";
|
|
118
|
+
if (typeof C == "object" && C !== null && C.$$typeof === P)
|
|
119
119
|
return "<...>";
|
|
120
120
|
try {
|
|
121
|
-
var R = e(
|
|
121
|
+
var R = e(C);
|
|
122
122
|
return R ? "<" + R + ">" : "<...>";
|
|
123
123
|
} catch {
|
|
124
124
|
return "<...>";
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
function i() {
|
|
128
|
-
var
|
|
129
|
-
return
|
|
128
|
+
var C = q.A;
|
|
129
|
+
return C === null ? null : C.getOwner();
|
|
130
130
|
}
|
|
131
131
|
function r() {
|
|
132
132
|
return Error("react-stack-top-frame");
|
|
133
133
|
}
|
|
134
|
-
function c(
|
|
135
|
-
if (
|
|
136
|
-
var R = Object.getOwnPropertyDescriptor(
|
|
134
|
+
function c(C) {
|
|
135
|
+
if (D.call(C, "key")) {
|
|
136
|
+
var R = Object.getOwnPropertyDescriptor(C, "key").get;
|
|
137
137
|
if (R && R.isReactWarning) return !1;
|
|
138
138
|
}
|
|
139
|
-
return
|
|
139
|
+
return C.key !== void 0;
|
|
140
140
|
}
|
|
141
|
-
function s(
|
|
141
|
+
function s(C, R) {
|
|
142
142
|
function T() {
|
|
143
|
-
|
|
143
|
+
Y || (Y = !0, console.error(
|
|
144
144
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
145
145
|
R
|
|
146
146
|
));
|
|
147
147
|
}
|
|
148
|
-
T.isReactWarning = !0, Object.defineProperty(
|
|
148
|
+
T.isReactWarning = !0, Object.defineProperty(C, "key", {
|
|
149
149
|
get: T,
|
|
150
150
|
configurable: !0
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
function d() {
|
|
154
|
-
var
|
|
155
|
-
return Q[
|
|
154
|
+
var C = e(this.type);
|
|
155
|
+
return Q[C] || (Q[C] = !0, console.error(
|
|
156
156
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
157
|
-
)),
|
|
157
|
+
)), C = this.props.ref, C !== void 0 ? C : null;
|
|
158
158
|
}
|
|
159
|
-
function l(
|
|
160
|
-
return T =
|
|
159
|
+
function l(C, R, T, F, V, K, Z, b) {
|
|
160
|
+
return T = K.ref, C = {
|
|
161
161
|
$$typeof: k,
|
|
162
|
-
type:
|
|
162
|
+
type: C,
|
|
163
163
|
key: R,
|
|
164
|
-
props:
|
|
165
|
-
_owner:
|
|
166
|
-
}, (T !== void 0 ? T : null) !== null ? Object.defineProperty(
|
|
164
|
+
props: K,
|
|
165
|
+
_owner: V
|
|
166
|
+
}, (T !== void 0 ? T : null) !== null ? Object.defineProperty(C, "ref", {
|
|
167
167
|
enumerable: !1,
|
|
168
168
|
get: d
|
|
169
|
-
}) : Object.defineProperty(
|
|
169
|
+
}) : Object.defineProperty(C, "ref", { enumerable: !1, value: null }), C._store = {}, Object.defineProperty(C._store, "validated", {
|
|
170
170
|
configurable: !1,
|
|
171
171
|
enumerable: !1,
|
|
172
172
|
writable: !0,
|
|
173
173
|
value: 0
|
|
174
|
-
}), Object.defineProperty(
|
|
174
|
+
}), Object.defineProperty(C, "_debugInfo", {
|
|
175
175
|
configurable: !1,
|
|
176
176
|
enumerable: !1,
|
|
177
177
|
writable: !0,
|
|
178
178
|
value: null
|
|
179
|
-
}), Object.defineProperty(
|
|
179
|
+
}), Object.defineProperty(C, "_debugStack", {
|
|
180
180
|
configurable: !1,
|
|
181
181
|
enumerable: !1,
|
|
182
182
|
writable: !0,
|
|
183
183
|
value: Z
|
|
184
|
-
}), Object.defineProperty(
|
|
184
|
+
}), Object.defineProperty(C, "_debugTask", {
|
|
185
185
|
configurable: !1,
|
|
186
186
|
enumerable: !1,
|
|
187
187
|
writable: !0,
|
|
188
188
|
value: b
|
|
189
|
-
}), Object.freeze && (Object.freeze(
|
|
189
|
+
}), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
|
|
190
190
|
}
|
|
191
|
-
function h(
|
|
191
|
+
function h(C, R, T, F, V, K, Z, b) {
|
|
192
192
|
var U = R.children;
|
|
193
193
|
if (U !== void 0)
|
|
194
|
-
if (
|
|
195
|
-
if (
|
|
196
|
-
for (
|
|
197
|
-
u(U[
|
|
194
|
+
if (F)
|
|
195
|
+
if (ee(U)) {
|
|
196
|
+
for (F = 0; F < U.length; F++)
|
|
197
|
+
u(U[F]);
|
|
198
198
|
Object.freeze && Object.freeze(U);
|
|
199
199
|
} else
|
|
200
200
|
console.error(
|
|
201
201
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
202
202
|
);
|
|
203
203
|
else u(U);
|
|
204
|
-
if (
|
|
205
|
-
U = e(
|
|
206
|
-
var
|
|
204
|
+
if (D.call(R, "key")) {
|
|
205
|
+
U = e(C);
|
|
206
|
+
var z = Object.keys(R).filter(function(I) {
|
|
207
207
|
return I !== "key";
|
|
208
208
|
});
|
|
209
|
-
|
|
209
|
+
F = 0 < z.length ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}", J[U + F] || (z = 0 < z.length ? "{" + z.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
210
210
|
`A props object containing a "key" prop is being spread into JSX:
|
|
211
211
|
let props = %s;
|
|
212
212
|
<%s {...props} />
|
|
213
213
|
React keys must be passed directly to JSX without using spread:
|
|
214
214
|
let props = %s;
|
|
215
215
|
<%s key={someKey} {...props} />`,
|
|
216
|
-
|
|
216
|
+
F,
|
|
217
217
|
U,
|
|
218
|
-
|
|
218
|
+
z,
|
|
219
219
|
U
|
|
220
|
-
),
|
|
220
|
+
), J[U + F] = !0);
|
|
221
221
|
}
|
|
222
222
|
if (U = null, T !== void 0 && (a(T), U = "" + T), c(R) && (a(R.key), U = "" + R.key), "key" in R) {
|
|
223
223
|
T = {};
|
|
@@ -226,56 +226,56 @@ React keys must be passed directly to JSX without using spread:
|
|
|
226
226
|
} else T = R;
|
|
227
227
|
return U && s(
|
|
228
228
|
T,
|
|
229
|
-
typeof
|
|
229
|
+
typeof C == "function" ? C.displayName || C.name || "Unknown" : C
|
|
230
230
|
), l(
|
|
231
|
-
|
|
231
|
+
C,
|
|
232
232
|
U,
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
K,
|
|
234
|
+
V,
|
|
235
235
|
i(),
|
|
236
236
|
T,
|
|
237
237
|
Z,
|
|
238
238
|
b
|
|
239
239
|
);
|
|
240
240
|
}
|
|
241
|
-
function u(
|
|
242
|
-
typeof
|
|
241
|
+
function u(C) {
|
|
242
|
+
typeof C == "object" && C !== null && C.$$typeof === k && C._store && (C._store.validated = 1);
|
|
243
243
|
}
|
|
244
|
-
var p = Fe, k = Symbol.for("react.transitional.element"),
|
|
244
|
+
var p = Fe, k = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), f = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), j = Symbol.for("react.activity"), E = Symbol.for("react.client.reference"), q = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, ee = Array.isArray, H = console.createTask ? console.createTask : function() {
|
|
245
245
|
return null;
|
|
246
246
|
};
|
|
247
247
|
p = {
|
|
248
|
-
"react-stack-bottom-frame": function(
|
|
249
|
-
return
|
|
248
|
+
"react-stack-bottom-frame": function(C) {
|
|
249
|
+
return C();
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
|
-
var
|
|
252
|
+
var Y, Q = {}, oe = p["react-stack-bottom-frame"].bind(
|
|
253
253
|
p,
|
|
254
254
|
r
|
|
255
|
-
)(), ne =
|
|
256
|
-
Ma.Fragment = g, Ma.jsx = function(
|
|
257
|
-
var
|
|
255
|
+
)(), ne = H(o(r)), J = {};
|
|
256
|
+
Ma.Fragment = g, Ma.jsx = function(C, R, T, F, V) {
|
|
257
|
+
var K = 1e4 > q.recentlyCreatedOwnerStacks++;
|
|
258
258
|
return h(
|
|
259
|
-
|
|
259
|
+
C,
|
|
260
260
|
R,
|
|
261
261
|
T,
|
|
262
262
|
!1,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
263
|
+
F,
|
|
264
|
+
V,
|
|
265
|
+
K ? Error("react-stack-top-frame") : oe,
|
|
266
|
+
K ? H(o(C)) : ne
|
|
267
267
|
);
|
|
268
|
-
}, Ma.jsxs = function(
|
|
269
|
-
var
|
|
268
|
+
}, Ma.jsxs = function(C, R, T, F, V) {
|
|
269
|
+
var K = 1e4 > q.recentlyCreatedOwnerStacks++;
|
|
270
270
|
return h(
|
|
271
|
-
|
|
271
|
+
C,
|
|
272
272
|
R,
|
|
273
273
|
T,
|
|
274
274
|
!0,
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
275
|
+
F,
|
|
276
|
+
V,
|
|
277
|
+
K ? Error("react-stack-top-frame") : oe,
|
|
278
|
+
K ? H(o(C)) : ne
|
|
279
279
|
);
|
|
280
280
|
};
|
|
281
281
|
}()), Ma;
|
|
@@ -420,7 +420,7 @@ function zb() {
|
|
|
420
420
|
}), Object.defineProperty(e, "getImgProps", {
|
|
421
421
|
enumerable: !0,
|
|
422
422
|
get: function() {
|
|
423
|
-
return
|
|
423
|
+
return v;
|
|
424
424
|
}
|
|
425
425
|
});
|
|
426
426
|
const t = ux(), a = BI(), o = px(), i = [
|
|
@@ -448,7 +448,7 @@ function zb() {
|
|
|
448
448
|
function u(g) {
|
|
449
449
|
return typeof g > "u" ? g : typeof g == "number" ? Number.isFinite(g) ? g : NaN : typeof g == "string" && /^[0-9]+$/.test(g) ? parseInt(g, 10) : NaN;
|
|
450
450
|
}
|
|
451
|
-
function p(g,
|
|
451
|
+
function p(g, x, M) {
|
|
452
452
|
let { deviceSizes: N, allSizes: f } = g;
|
|
453
453
|
if (M) {
|
|
454
454
|
const m = /(^|\s)(1?\d?\d)vw/g, S = [];
|
|
@@ -466,7 +466,7 @@ function zb() {
|
|
|
466
466
|
kind: "w"
|
|
467
467
|
};
|
|
468
468
|
}
|
|
469
|
-
return typeof
|
|
469
|
+
return typeof x != "number" ? {
|
|
470
470
|
widths: N,
|
|
471
471
|
kind: "w"
|
|
472
472
|
} : {
|
|
@@ -481,8 +481,8 @@ function zb() {
|
|
|
481
481
|
// > something like a magnifying glass.
|
|
482
482
|
// https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
|
|
483
483
|
[
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
x,
|
|
485
|
+
x * 2
|
|
486
486
|
/*, width * 3*/
|
|
487
487
|
].map((m) => f.find((S) => S >= m) || f[f.length - 1])
|
|
488
488
|
)
|
|
@@ -491,18 +491,18 @@ function zb() {
|
|
|
491
491
|
};
|
|
492
492
|
}
|
|
493
493
|
function k(g) {
|
|
494
|
-
let { config:
|
|
494
|
+
let { config: x, src: M, unoptimized: N, width: f, quality: w, sizes: m, loader: S } = g;
|
|
495
495
|
if (N)
|
|
496
496
|
return {
|
|
497
497
|
src: M,
|
|
498
498
|
srcSet: void 0,
|
|
499
499
|
sizes: void 0
|
|
500
500
|
};
|
|
501
|
-
const { widths: A, kind: P } = p(
|
|
501
|
+
const { widths: A, kind: P } = p(x, f, m), j = A.length - 1;
|
|
502
502
|
return {
|
|
503
503
|
sizes: !m && P === "w" ? "100vw" : m,
|
|
504
504
|
srcSet: A.map((E, q) => S({
|
|
505
|
-
config:
|
|
505
|
+
config: x,
|
|
506
506
|
src: M,
|
|
507
507
|
quality: w,
|
|
508
508
|
width: E
|
|
@@ -514,26 +514,26 @@ function zb() {
|
|
|
514
514
|
// and `sizes` are defined.
|
|
515
515
|
// This bug cannot be reproduced in Chrome or Firefox.
|
|
516
516
|
src: S({
|
|
517
|
-
config:
|
|
517
|
+
config: x,
|
|
518
518
|
src: M,
|
|
519
519
|
quality: w,
|
|
520
520
|
width: A[j]
|
|
521
521
|
})
|
|
522
522
|
};
|
|
523
523
|
}
|
|
524
|
-
function
|
|
525
|
-
let { src: M, sizes: N, unoptimized: f = !1, priority: w = !1, loading: m, className: S, quality: A, width: P, height: j, fill: E = !1, style: q, overrideSrc:
|
|
526
|
-
const { imgConf:
|
|
527
|
-
let
|
|
524
|
+
function v(g, x) {
|
|
525
|
+
let { src: M, sizes: N, unoptimized: f = !1, priority: w = !1, loading: m, className: S, quality: A, width: P, height: j, fill: E = !1, style: q, overrideSrc: D, onLoad: ee, onLoadingComplete: H, placeholder: Y = "empty", blurDataURL: Q, fetchPriority: oe, decoding: ne = "async", layout: J, objectFit: C, objectPosition: R, lazyBoundary: T, lazyRoot: F, ...V } = g;
|
|
526
|
+
const { imgConf: K, showAltText: Z, blurComplete: b, defaultLoader: U } = x;
|
|
527
|
+
let z, W = K || o.imageConfigDefault;
|
|
528
528
|
if ("allSizes" in W)
|
|
529
|
-
|
|
529
|
+
z = W;
|
|
530
530
|
else {
|
|
531
531
|
var I;
|
|
532
532
|
const $ = [
|
|
533
533
|
...W.deviceSizes,
|
|
534
534
|
...W.imageSizes
|
|
535
535
|
].sort((he, Ee) => he - Ee), te = W.deviceSizes.sort((he, Ee) => he - Ee), _e = (I = W.qualities) == null ? void 0 : I.sort((he, Ee) => he - Ee);
|
|
536
|
-
|
|
536
|
+
z = {
|
|
537
537
|
...W,
|
|
538
538
|
allSizes: $,
|
|
539
539
|
deviceSizes: te,
|
|
@@ -547,11 +547,11 @@ Read more: https://nextjs.org/docs/messages/invalid-images-config`), "__NEXT_ERR
|
|
|
547
547
|
enumerable: !1,
|
|
548
548
|
configurable: !0
|
|
549
549
|
});
|
|
550
|
-
let L =
|
|
551
|
-
delete
|
|
550
|
+
let L = V.loader || U;
|
|
551
|
+
delete V.loader, delete V.srcSet;
|
|
552
552
|
const ke = "__next_img_default" in L;
|
|
553
553
|
if (ke) {
|
|
554
|
-
if (
|
|
554
|
+
if (z.loader === "custom")
|
|
555
555
|
throw Object.defineProperty(new Error('Image with src "' + M + `" is missing "loader" prop.
|
|
556
556
|
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT_ERROR_CODE", {
|
|
557
557
|
value: "E252",
|
|
@@ -565,8 +565,8 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
565
565
|
return $(he);
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
|
-
if (
|
|
569
|
-
|
|
568
|
+
if (J) {
|
|
569
|
+
J === "fill" && (E = !0);
|
|
570
570
|
const $ = {
|
|
571
571
|
intrinsic: {
|
|
572
572
|
maxWidth: "100%",
|
|
@@ -579,15 +579,15 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
579
579
|
}, te = {
|
|
580
580
|
responsive: "100vw",
|
|
581
581
|
fill: "100vw"
|
|
582
|
-
}, _e = $[
|
|
582
|
+
}, _e = $[J];
|
|
583
583
|
_e && (q = {
|
|
584
584
|
...q,
|
|
585
585
|
..._e
|
|
586
586
|
});
|
|
587
|
-
const he = te[
|
|
587
|
+
const he = te[J];
|
|
588
588
|
he && !N && (N = he);
|
|
589
589
|
}
|
|
590
|
-
let
|
|
590
|
+
let X = "", G = u(P), ie = u(j), Ie, ve;
|
|
591
591
|
if (d(M)) {
|
|
592
592
|
const $ = c(M) ? M.default : M;
|
|
593
593
|
if (!$.src)
|
|
@@ -602,7 +602,7 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
602
602
|
enumerable: !1,
|
|
603
603
|
configurable: !0
|
|
604
604
|
});
|
|
605
|
-
if (Ie = $.blurWidth, ve = $.blurHeight, Q = Q || $.blurDataURL,
|
|
605
|
+
if (Ie = $.blurWidth, ve = $.blurHeight, Q = Q || $.blurDataURL, X = $.src, !E) {
|
|
606
606
|
if (!G && !ie)
|
|
607
607
|
G = $.width, ie = $.height;
|
|
608
608
|
else if (G && !ie) {
|
|
@@ -614,12 +614,12 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
M = typeof M == "string" ? M :
|
|
617
|
+
M = typeof M == "string" ? M : X;
|
|
618
618
|
let Me = !w && (m === "lazy" || typeof m > "u");
|
|
619
|
-
(!M || M.startsWith("data:") || M.startsWith("blob:")) && (f = !0, Me = !1),
|
|
619
|
+
(!M || M.startsWith("data:") || M.startsWith("blob:")) && (f = !0, Me = !1), z.unoptimized && (f = !0), ke && !z.dangerouslyAllowSVG && M.split("?", 1)[0].endsWith(".svg") && (f = !0);
|
|
620
620
|
const Pe = u(A);
|
|
621
621
|
if (process.env.NODE_ENV !== "production") {
|
|
622
|
-
if (
|
|
622
|
+
if (z.output === "export" && ke && !f)
|
|
623
623
|
throw Object.defineProperty(new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api"), "__NEXT_ERROR_CODE", {
|
|
624
624
|
value: "E500",
|
|
625
625
|
enumerable: !1,
|
|
@@ -708,13 +708,13 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
708
708
|
enumerable: !1,
|
|
709
709
|
configurable: !0
|
|
710
710
|
});
|
|
711
|
-
if (
|
|
712
|
-
throw Object.defineProperty(new Error('Image with src "' + M + '" has invalid "placeholder" property "' +
|
|
711
|
+
if (Y !== "empty" && Y !== "blur" && !Y.startsWith("data:image/"))
|
|
712
|
+
throw Object.defineProperty(new Error('Image with src "' + M + '" has invalid "placeholder" property "' + Y + '".'), "__NEXT_ERROR_CODE", {
|
|
713
713
|
value: "E431",
|
|
714
714
|
enumerable: !1,
|
|
715
715
|
configurable: !0
|
|
716
716
|
});
|
|
717
|
-
if (
|
|
717
|
+
if (Y !== "empty" && G && ie && G * ie < 1600 && (0, t.warnOnce)('Image with src "' + M + '" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.'), Y === "blur" && !Q) {
|
|
718
718
|
const $ = [
|
|
719
719
|
"jpeg",
|
|
720
720
|
"png",
|
|
@@ -732,9 +732,9 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
732
732
|
configurable: !0
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
|
-
if ("ref" in
|
|
735
|
+
if ("ref" in V && (0, t.warnOnce)('Image with src "' + M + '" is using unsupported "ref" property. Consider using the "onLoad" property instead.'), !f && !ke) {
|
|
736
736
|
const $ = L({
|
|
737
|
-
config:
|
|
737
|
+
config: z,
|
|
738
738
|
src: M,
|
|
739
739
|
width: G || 400,
|
|
740
740
|
quality: Pe || 75
|
|
@@ -747,13 +747,13 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT
|
|
|
747
747
|
($ === M || te && te.pathname === M && !te.search) && (0, t.warnOnce)('Image with src "' + M + `" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.
|
|
748
748
|
Read more: https://nextjs.org/docs/messages/next-image-missing-loader-width`);
|
|
749
749
|
}
|
|
750
|
-
|
|
750
|
+
H && (0, t.warnOnce)('Image with src "' + M + '" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');
|
|
751
751
|
for (const [$, te] of Object.entries({
|
|
752
|
-
layout:
|
|
753
|
-
objectFit:
|
|
752
|
+
layout: J,
|
|
753
|
+
objectFit: C,
|
|
754
754
|
objectPosition: R,
|
|
755
755
|
lazyBoundary: T,
|
|
756
|
-
lazyRoot:
|
|
756
|
+
lazyRoot: F
|
|
757
757
|
}))
|
|
758
758
|
te && (0, t.warnOnce)('Image with src "' + M + '" has legacy prop "' + $ + `". Did you forget to run the codemod?
|
|
759
759
|
Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);
|
|
@@ -784,27 +784,27 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
|
784
784
|
top: 0,
|
|
785
785
|
right: 0,
|
|
786
786
|
bottom: 0,
|
|
787
|
-
objectFit:
|
|
787
|
+
objectFit: C,
|
|
788
788
|
objectPosition: R
|
|
789
789
|
} : {}, Z ? {} : {
|
|
790
790
|
color: "transparent"
|
|
791
|
-
}, q), ae = !b &&
|
|
791
|
+
}, q), ae = !b && Y !== "empty" ? Y === "blur" ? 'url("data:image/svg+xml;charset=utf-8,' + (0, a.getImageBlurSvg)({
|
|
792
792
|
widthInt: G,
|
|
793
793
|
heightInt: ie,
|
|
794
794
|
blurWidth: Ie,
|
|
795
795
|
blurHeight: ve,
|
|
796
796
|
blurDataURL: Q || "",
|
|
797
797
|
objectFit: ge.objectFit
|
|
798
|
-
}) + '")' : 'url("' +
|
|
798
|
+
}) + '")' : 'url("' + Y + '")' : null, de = r.includes(ge.objectFit) ? ge.objectFit === "fill" ? "100% 100%" : "cover" : ge.objectFit;
|
|
799
799
|
let fe = ae ? {
|
|
800
800
|
backgroundSize: de,
|
|
801
801
|
backgroundPosition: ge.objectPosition || "50% 50%",
|
|
802
802
|
backgroundRepeat: "no-repeat",
|
|
803
803
|
backgroundImage: ae
|
|
804
804
|
} : {};
|
|
805
|
-
process.env.NODE_ENV === "development" && fe.backgroundImage &&
|
|
805
|
+
process.env.NODE_ENV === "development" && fe.backgroundImage && Y === "blur" && Q != null && Q.startsWith("/") && (fe.backgroundImage = 'url("' + Q + '")');
|
|
806
806
|
const B = k({
|
|
807
|
-
config:
|
|
807
|
+
config: z,
|
|
808
808
|
src: M,
|
|
809
809
|
unoptimized: f,
|
|
810
810
|
width: G,
|
|
@@ -822,12 +822,12 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
|
822
822
|
l.set($.href, {
|
|
823
823
|
src: M,
|
|
824
824
|
priority: w,
|
|
825
|
-
placeholder:
|
|
825
|
+
placeholder: Y
|
|
826
826
|
});
|
|
827
827
|
}
|
|
828
828
|
return {
|
|
829
829
|
props: {
|
|
830
|
-
...
|
|
830
|
+
...V,
|
|
831
831
|
loading: Me ? "lazy" : m,
|
|
832
832
|
fetchPriority: oe,
|
|
833
833
|
width: G,
|
|
@@ -840,12 +840,12 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
|
840
840
|
},
|
|
841
841
|
sizes: B.sizes,
|
|
842
842
|
srcSet: B.srcSet,
|
|
843
|
-
src:
|
|
843
|
+
src: D || B.src
|
|
844
844
|
},
|
|
845
845
|
meta: {
|
|
846
846
|
unoptimized: f,
|
|
847
847
|
priority: w,
|
|
848
|
-
placeholder:
|
|
848
|
+
placeholder: Y,
|
|
849
849
|
fill: E
|
|
850
850
|
}
|
|
851
851
|
};
|
|
@@ -1009,7 +1009,7 @@ function XI() {
|
|
|
1009
1009
|
)
|
|
1010
1010
|
) : f.concat(w);
|
|
1011
1011
|
}
|
|
1012
|
-
const
|
|
1012
|
+
const v = [
|
|
1013
1013
|
"name",
|
|
1014
1014
|
"httpEquiv",
|
|
1015
1015
|
"charSet",
|
|
@@ -1030,14 +1030,14 @@ function XI() {
|
|
|
1030
1030
|
w.has(A.type) ? P = !1 : w.add(A.type);
|
|
1031
1031
|
break;
|
|
1032
1032
|
case "meta":
|
|
1033
|
-
for (let E = 0, q =
|
|
1034
|
-
const
|
|
1035
|
-
if (A.props.hasOwnProperty(
|
|
1036
|
-
if (
|
|
1037
|
-
m.has(
|
|
1033
|
+
for (let E = 0, q = v.length; E < q; E++) {
|
|
1034
|
+
const D = v[E];
|
|
1035
|
+
if (A.props.hasOwnProperty(D))
|
|
1036
|
+
if (D === "charSet")
|
|
1037
|
+
m.has(D) ? P = !1 : m.add(D);
|
|
1038
1038
|
else {
|
|
1039
|
-
const
|
|
1040
|
-
(
|
|
1039
|
+
const ee = A.props[D], H = S[D] || /* @__PURE__ */ new Set();
|
|
1040
|
+
(D !== "name" || !j) && H.has(ee) ? P = !1 : (H.add(ee), S[D] = H);
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
break;
|
|
@@ -1045,7 +1045,7 @@ function XI() {
|
|
|
1045
1045
|
return P;
|
|
1046
1046
|
};
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function x(f, w) {
|
|
1049
1049
|
const { inAmpMode: m } = w;
|
|
1050
1050
|
return f.reduce(k, []).reverse().concat(p(m).reverse()).filter(g()).reverse().map((S, A) => {
|
|
1051
1051
|
const P = S.key || A;
|
|
@@ -1075,7 +1075,7 @@ See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-comp
|
|
|
1075
1075
|
let { children: w } = f;
|
|
1076
1076
|
const m = (0, c.useContext)(d.AmpStateContext), S = (0, c.useContext)(l.HeadManagerContext);
|
|
1077
1077
|
return /* @__PURE__ */ (0, r.jsx)(s.default, {
|
|
1078
|
-
reduceComponentsToState:
|
|
1078
|
+
reduceComponentsToState: x,
|
|
1079
1079
|
headManager: S,
|
|
1080
1080
|
inAmpMode: (0, h.isInAmpMode)(m),
|
|
1081
1081
|
children: w
|
|
@@ -1131,14 +1131,14 @@ function Ob() {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
Object.assign(l, s), i.exports = l;
|
|
1133
1133
|
}, 154: (i) => {
|
|
1134
|
-
const r = "\\\\/", c = `[^${r}]`, s = "\\.", d = "\\+", l = "\\?", h = "\\/", u = "(?=.)", p = "[^/]", k = `(?:${h}|$)`,
|
|
1134
|
+
const r = "\\\\/", c = `[^${r}]`, s = "\\.", d = "\\+", l = "\\?", h = "\\/", u = "(?=.)", p = "[^/]", k = `(?:${h}|$)`, v = `(?:^|${h})`, g = `${s}{1,2}${k}`, x = `(?!${s})`, M = `(?!${v}${g})`, N = `(?!${s}{0,1}${k})`, f = `(?!${g})`, w = `[^.${h}]`, m = `${p}*?`, A = { DOT_LITERAL: s, PLUS_LITERAL: d, QMARK_LITERAL: l, SLASH_LITERAL: h, ONE_CHAR: u, QMARK: p, END_ANCHOR: k, DOTS_SLASH: g, NO_DOT: x, NO_DOTS: M, NO_DOT_SLASH: N, NO_DOTS_SLASH: f, QMARK_NO_DOT: w, STAR: m, START_ANCHOR: v, SEP: "/" }, P = { ...A, SLASH_LITERAL: `[${r}]`, QMARK: c, STAR: `${c}*?`, DOTS_SLASH: `${s}{1,2}(?:[${r}]|$)`, NO_DOT: `(?!${s})`, NO_DOTS: `(?!(?:^|[${r}])${s}{1,2}(?:[${r}]|$))`, NO_DOT_SLASH: `(?!${s}{0,1}(?:[${r}]|$))`, NO_DOTS_SLASH: `(?!${s}{1,2}(?:[${r}]|$))`, QMARK_NO_DOT: `[^.${r}]`, START_ANCHOR: `(?:^|[${r}])`, END_ANCHOR: `(?:[${r}]|$)`, SEP: "\\" }, j = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
|
|
1135
1135
|
i.exports = { MAX_LENGTH: 65536, POSIX_REGEX_SOURCE: j, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, extglobChars(E) {
|
|
1136
1136
|
return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${E.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
|
|
1137
1137
|
}, globChars(E) {
|
|
1138
1138
|
return E === !0 ? P : A;
|
|
1139
1139
|
} };
|
|
1140
1140
|
}, 697: (i, r, c) => {
|
|
1141
|
-
const s = c(154), d = c(96), { MAX_LENGTH: l, POSIX_REGEX_SOURCE: h, REGEX_NON_SPECIAL_CHARS: u, REGEX_SPECIAL_CHARS_BACKREF: p, REPLACEMENTS: k } = s,
|
|
1141
|
+
const s = c(154), d = c(96), { MAX_LENGTH: l, POSIX_REGEX_SOURCE: h, REGEX_NON_SPECIAL_CHARS: u, REGEX_SPECIAL_CHARS_BACKREF: p, REPLACEMENTS: k } = s, v = (M, N) => {
|
|
1142
1142
|
if (typeof N.expandRange == "function")
|
|
1143
1143
|
return N.expandRange(...M, N);
|
|
1144
1144
|
M.sort();
|
|
@@ -1149,7 +1149,7 @@ function Ob() {
|
|
|
1149
1149
|
return M.map((m) => d.escapeRegex(m)).join("..");
|
|
1150
1150
|
}
|
|
1151
1151
|
return f;
|
|
1152
|
-
}, g = (M, N) => `Missing ${M}: "${N}" - use "\\\\${N}" to match literal characters`,
|
|
1152
|
+
}, g = (M, N) => `Missing ${M}: "${N}" - use "\\\\${N}" to match literal characters`, x = (M, N) => {
|
|
1153
1153
|
if (typeof M != "string")
|
|
1154
1154
|
throw new TypeError("Expected a string");
|
|
1155
1155
|
M = k[M] || M;
|
|
@@ -1157,20 +1157,20 @@ function Ob() {
|
|
|
1157
1157
|
let m = M.length;
|
|
1158
1158
|
if (m > w)
|
|
1159
1159
|
throw new SyntaxError(`Input length: ${m}, exceeds maximum allowed length: ${w}`);
|
|
1160
|
-
const S = { type: "bos", value: "", output: f.prepend || "" }, A = [S], P = f.capture ? "" : "?:", j = s.globChars(f.windows), E = s.extglobChars(j), { DOT_LITERAL: q, PLUS_LITERAL:
|
|
1161
|
-
let Z = f.bash === !0 ?
|
|
1160
|
+
const S = { type: "bos", value: "", output: f.prepend || "" }, A = [S], P = f.capture ? "" : "?:", j = s.globChars(f.windows), E = s.extglobChars(j), { DOT_LITERAL: q, PLUS_LITERAL: D, SLASH_LITERAL: ee, ONE_CHAR: H, DOTS_SLASH: Y, NO_DOT: Q, NO_DOT_SLASH: oe, NO_DOTS_SLASH: ne, QMARK: J, QMARK_NO_DOT: C, STAR: R, START_ANCHOR: T } = j, F = (B) => `(${P}(?:(?!${T}${B.dot ? Y : q}).)*?)`, V = f.dot ? "" : Q, K = f.dot ? J : C;
|
|
1161
|
+
let Z = f.bash === !0 ? F(f) : R;
|
|
1162
1162
|
f.capture && (Z = `(${Z})`), typeof f.noext == "boolean" && (f.noextglob = f.noext);
|
|
1163
1163
|
const b = { input: M, index: -1, start: 0, dot: f.dot === !0, consumed: "", output: "", prefix: "", backtrack: !1, negated: !1, brackets: 0, braces: 0, parens: 0, quotes: 0, globstar: !1, tokens: A };
|
|
1164
1164
|
M = d.removePrefix(M, b), m = M.length;
|
|
1165
|
-
const U = [],
|
|
1165
|
+
const U = [], z = [], W = [];
|
|
1166
1166
|
let I = S, L;
|
|
1167
|
-
const ke = () => b.index === m - 1,
|
|
1167
|
+
const ke = () => b.index === m - 1, X = b.peek = (B = 1) => M[b.index + B], G = b.advance = () => M[++b.index] || "", ie = () => M.slice(b.index + 1), Ie = (B = "", ue = 0) => {
|
|
1168
1168
|
b.consumed += B, b.index += ue;
|
|
1169
1169
|
}, ve = (B) => {
|
|
1170
1170
|
b.output += B.output != null ? B.output : B.value, Ie(B.value);
|
|
1171
1171
|
}, Me = () => {
|
|
1172
1172
|
let B = 1;
|
|
1173
|
-
for (;
|
|
1173
|
+
for (; X() === "!" && (X(2) !== "(" || X(3) === "?"); )
|
|
1174
1174
|
G(), b.start++, B++;
|
|
1175
1175
|
return B % 2 === 0 ? !1 : (b.negated = !0, b.start++, !0);
|
|
1176
1176
|
}, Pe = (B) => {
|
|
@@ -1179,8 +1179,8 @@ function Ob() {
|
|
|
1179
1179
|
b[B]--, W.pop();
|
|
1180
1180
|
}, ae = (B) => {
|
|
1181
1181
|
if (I.type === "globstar") {
|
|
1182
|
-
const ue = b.braces > 0 && (B.type === "comma" || B.type === "brace"),
|
|
1183
|
-
B.type !== "slash" && B.type !== "paren" && !ue && !
|
|
1182
|
+
const ue = b.braces > 0 && (B.type === "comma" || B.type === "brace"), O = B.extglob === !0 || U.length && (B.type === "pipe" || B.type === "paren");
|
|
1183
|
+
B.type !== "slash" && B.type !== "paren" && !ue && !O && (b.output = b.output.slice(0, -I.output.length), I.type = "star", I.value = "*", I.output = Z, b.output += I.output);
|
|
1184
1184
|
}
|
|
1185
1185
|
if (U.length && B.type !== "paren" && (U[U.length - 1].inner += B.value), (B.value || B.output) && ve(B), I && I.type === "text" && B.type === "text") {
|
|
1186
1186
|
I.output = (I.output || I.value) + B.value, I.value += B.value;
|
|
@@ -1188,16 +1188,16 @@ function Ob() {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
B.prev = I, A.push(B), I = B;
|
|
1190
1190
|
}, de = (B, ue) => {
|
|
1191
|
-
const
|
|
1192
|
-
|
|
1193
|
-
const $ = (f.capture ? "(" : "") +
|
|
1194
|
-
Pe("parens"), ae({ type: B, value: ue, output: b.output ? "" :
|
|
1191
|
+
const O = { ...E[ue], conditions: 1, inner: "" };
|
|
1192
|
+
O.prev = I, O.parens = b.parens, O.output = b.output;
|
|
1193
|
+
const $ = (f.capture ? "(" : "") + O.open;
|
|
1194
|
+
Pe("parens"), ae({ type: B, value: ue, output: b.output ? "" : H }), ae({ type: "paren", extglob: !0, value: G(), output: $ }), U.push(O);
|
|
1195
1195
|
}, fe = (B) => {
|
|
1196
|
-
let ue = B.close + (f.capture ? ")" : ""),
|
|
1196
|
+
let ue = B.close + (f.capture ? ")" : ""), O;
|
|
1197
1197
|
if (B.type === "negate") {
|
|
1198
1198
|
let $ = Z;
|
|
1199
|
-
if (B.inner && B.inner.length > 1 && B.inner.includes("/") && ($ =
|
|
1200
|
-
const te =
|
|
1199
|
+
if (B.inner && B.inner.length > 1 && B.inner.includes("/") && ($ = F(f)), ($ !== Z || ke() || /^\)+$/.test(ie())) && (ue = B.close = `)$))${$}`), B.inner.includes("*") && (O = ie()) && /^\.[^\\/.]+$/.test(O)) {
|
|
1200
|
+
const te = x(O, { ...N, fastpaths: !1 }).output;
|
|
1201
1201
|
ue = B.close = `)${te})${$})`;
|
|
1202
1202
|
}
|
|
1203
1203
|
B.prev.type === "bos" && (b.negatedExtglob = !0);
|
|
@@ -1205,17 +1205,17 @@ function Ob() {
|
|
|
1205
1205
|
ae({ type: "paren", extglob: !0, value: L, output: ue }), ge("parens");
|
|
1206
1206
|
};
|
|
1207
1207
|
if (f.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(M)) {
|
|
1208
|
-
let B = !1, ue = M.replace(p, (
|
|
1209
|
-
return B === !0 && (f.unescape === !0 ? ue = ue.replace(/\\/g, "") : ue = ue.replace(/\\+/g, (
|
|
1208
|
+
let B = !1, ue = M.replace(p, (O, $, te, _e, he, Ee) => _e === "\\" ? (B = !0, O) : _e === "?" ? $ ? $ + _e + (he ? J.repeat(he.length) : "") : Ee === 0 ? K + (he ? J.repeat(he.length) : "") : J.repeat(te.length) : _e === "." ? q.repeat(te.length) : _e === "*" ? $ ? $ + _e + (he ? Z : "") : Z : $ ? O : `\\${O}`);
|
|
1209
|
+
return B === !0 && (f.unescape === !0 ? ue = ue.replace(/\\/g, "") : ue = ue.replace(/\\+/g, (O) => O.length % 2 === 0 ? "\\\\" : O ? "\\" : "")), ue === M && f.contains === !0 ? (b.output = M, b) : (b.output = d.wrapOutput(ue, b, N), b);
|
|
1210
1210
|
}
|
|
1211
1211
|
for (; !ke(); ) {
|
|
1212
1212
|
if (L = G(), L === "\0")
|
|
1213
1213
|
continue;
|
|
1214
1214
|
if (L === "\\") {
|
|
1215
|
-
const
|
|
1216
|
-
if (
|
|
1215
|
+
const O = X();
|
|
1216
|
+
if (O === "/" && f.bash !== !0 || O === "." || O === ";")
|
|
1217
1217
|
continue;
|
|
1218
|
-
if (!
|
|
1218
|
+
if (!O) {
|
|
1219
1219
|
L += "\\", ae({ type: "text", value: L });
|
|
1220
1220
|
continue;
|
|
1221
1221
|
}
|
|
@@ -1228,16 +1228,16 @@ function Ob() {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
if (b.brackets > 0 && (L !== "]" || I.value === "[" || I.value === "[^")) {
|
|
1230
1230
|
if (f.posix !== !1 && L === ":") {
|
|
1231
|
-
const
|
|
1232
|
-
if (
|
|
1231
|
+
const O = I.value.slice(1);
|
|
1232
|
+
if (O.includes("[") && (I.posix = !0, O.includes(":"))) {
|
|
1233
1233
|
const $ = I.value.lastIndexOf("["), te = I.value.slice(0, $), _e = I.value.slice($ + 2), he = h[_e];
|
|
1234
1234
|
if (he) {
|
|
1235
|
-
I.value = te + he, b.backtrack = !0, G(), !S.output && A.indexOf(I) === 1 && (S.output =
|
|
1235
|
+
I.value = te + he, b.backtrack = !0, G(), !S.output && A.indexOf(I) === 1 && (S.output = H);
|
|
1236
1236
|
continue;
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
}
|
|
1240
|
-
(L === "[" &&
|
|
1240
|
+
(L === "[" && X() !== ":" || L === "-" && X() === "]") && (L = `\\${L}`), L === "]" && (I.value === "[" || I.value === "[^") && (L = `\\${L}`), f.posix === !0 && L === "!" && I.value === "[" && (L = "^"), I.value += L, ve({ value: L });
|
|
1241
1241
|
continue;
|
|
1242
1242
|
}
|
|
1243
1243
|
if (b.quotes === 1 && L !== '"') {
|
|
@@ -1255,8 +1255,8 @@ function Ob() {
|
|
|
1255
1255
|
if (L === ")") {
|
|
1256
1256
|
if (b.parens === 0 && f.strictBrackets === !0)
|
|
1257
1257
|
throw new SyntaxError(g("opening", "("));
|
|
1258
|
-
const
|
|
1259
|
-
if (
|
|
1258
|
+
const O = U[U.length - 1];
|
|
1259
|
+
if (O && b.parens === O.parens + 1) {
|
|
1260
1260
|
fe(U.pop());
|
|
1261
1261
|
continue;
|
|
1262
1262
|
}
|
|
@@ -1285,8 +1285,8 @@ function Ob() {
|
|
|
1285
1285
|
continue;
|
|
1286
1286
|
}
|
|
1287
1287
|
ge("brackets");
|
|
1288
|
-
const
|
|
1289
|
-
if (I.posix !== !0 &&
|
|
1288
|
+
const O = I.value.slice(1);
|
|
1289
|
+
if (I.posix !== !0 && O[0] === "^" && !O.includes("/") && (L = `/${L}`), I.value += L, ve({ value: L }), f.literalBrackets === !1 || d.hasRegexChars(O))
|
|
1290
1290
|
continue;
|
|
1291
1291
|
const $ = d.escapeRegex(I.value);
|
|
1292
1292
|
if (b.output = b.output.slice(0, -I.value.length), f.literalBrackets === !0) {
|
|
@@ -1298,30 +1298,30 @@ function Ob() {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
if (L === "{" && f.nobrace !== !0) {
|
|
1300
1300
|
Pe("braces");
|
|
1301
|
-
const
|
|
1302
|
-
|
|
1301
|
+
const O = { type: "brace", value: L, output: "(", outputIndex: b.output.length, tokensIndex: b.tokens.length };
|
|
1302
|
+
z.push(O), ae(O);
|
|
1303
1303
|
continue;
|
|
1304
1304
|
}
|
|
1305
1305
|
if (L === "}") {
|
|
1306
|
-
const
|
|
1307
|
-
if (f.nobrace === !0 || !
|
|
1306
|
+
const O = z[z.length - 1];
|
|
1307
|
+
if (f.nobrace === !0 || !O) {
|
|
1308
1308
|
ae({ type: "text", value: L, output: L });
|
|
1309
1309
|
continue;
|
|
1310
1310
|
}
|
|
1311
1311
|
let $ = ")";
|
|
1312
|
-
if (
|
|
1312
|
+
if (O.dots === !0) {
|
|
1313
1313
|
const te = A.slice(), _e = [];
|
|
1314
1314
|
for (let he = te.length - 1; he >= 0 && (A.pop(), te[he].type !== "brace"); he--)
|
|
1315
1315
|
te[he].type !== "dots" && _e.unshift(te[he].value);
|
|
1316
|
-
$ =
|
|
1316
|
+
$ = v(_e, f), b.backtrack = !0;
|
|
1317
1317
|
}
|
|
1318
|
-
if (
|
|
1319
|
-
const te = b.output.slice(0,
|
|
1320
|
-
|
|
1318
|
+
if (O.comma !== !0 && O.dots !== !0) {
|
|
1319
|
+
const te = b.output.slice(0, O.outputIndex), _e = b.tokens.slice(O.tokensIndex);
|
|
1320
|
+
O.value = O.output = "\\{", L = $ = "\\}", b.output = te;
|
|
1321
1321
|
for (const he of _e)
|
|
1322
1322
|
b.output += he.output || he.value;
|
|
1323
1323
|
}
|
|
1324
|
-
ae({ type: "brace", value: L, output: $ }), ge("braces"),
|
|
1324
|
+
ae({ type: "brace", value: L, output: $ }), ge("braces"), z.pop();
|
|
1325
1325
|
continue;
|
|
1326
1326
|
}
|
|
1327
1327
|
if (L === "|") {
|
|
@@ -1329,9 +1329,9 @@ function Ob() {
|
|
|
1329
1329
|
continue;
|
|
1330
1330
|
}
|
|
1331
1331
|
if (L === ",") {
|
|
1332
|
-
let
|
|
1333
|
-
const $ =
|
|
1334
|
-
$ && W[W.length - 1] === "braces" && ($.comma = !0,
|
|
1332
|
+
let O = L;
|
|
1333
|
+
const $ = z[z.length - 1];
|
|
1334
|
+
$ && W[W.length - 1] === "braces" && ($.comma = !0, O = "|"), ae({ type: "comma", value: L, output: O });
|
|
1335
1335
|
continue;
|
|
1336
1336
|
}
|
|
1337
1337
|
if (L === "/") {
|
|
@@ -1339,14 +1339,14 @@ function Ob() {
|
|
|
1339
1339
|
b.start = b.index + 1, b.consumed = "", b.output = "", A.pop(), I = S;
|
|
1340
1340
|
continue;
|
|
1341
1341
|
}
|
|
1342
|
-
ae({ type: "slash", value: L, output:
|
|
1342
|
+
ae({ type: "slash", value: L, output: ee });
|
|
1343
1343
|
continue;
|
|
1344
1344
|
}
|
|
1345
1345
|
if (L === ".") {
|
|
1346
1346
|
if (b.braces > 0 && I.type === "dot") {
|
|
1347
1347
|
I.value === "." && (I.output = q);
|
|
1348
|
-
const
|
|
1349
|
-
I.type = "dots", I.output += L, I.value += L,
|
|
1348
|
+
const O = z[z.length - 1];
|
|
1349
|
+
I.type = "dots", I.output += L, I.value += L, O.dots = !0;
|
|
1350
1350
|
continue;
|
|
1351
1351
|
}
|
|
1352
1352
|
if (b.braces + b.parens === 0 && I.type !== "bos" && I.type !== "slash") {
|
|
@@ -1357,25 +1357,25 @@ function Ob() {
|
|
|
1357
1357
|
continue;
|
|
1358
1358
|
}
|
|
1359
1359
|
if (L === "?") {
|
|
1360
|
-
if (!(I && I.value === "(") && f.noextglob !== !0 &&
|
|
1360
|
+
if (!(I && I.value === "(") && f.noextglob !== !0 && X() === "(" && X(2) !== "?") {
|
|
1361
1361
|
de("qmark", L);
|
|
1362
1362
|
continue;
|
|
1363
1363
|
}
|
|
1364
1364
|
if (I && I.type === "paren") {
|
|
1365
|
-
const $ =
|
|
1365
|
+
const $ = X();
|
|
1366
1366
|
let te = L;
|
|
1367
1367
|
(I.value === "(" && !/[!=<:]/.test($) || $ === "<" && !/<([!=]|\w+>)/.test(ie())) && (te = `\\${L}`), ae({ type: "text", value: L, output: te });
|
|
1368
1368
|
continue;
|
|
1369
1369
|
}
|
|
1370
1370
|
if (f.dot !== !0 && (I.type === "slash" || I.type === "bos")) {
|
|
1371
|
-
ae({ type: "qmark", value: L, output:
|
|
1371
|
+
ae({ type: "qmark", value: L, output: C });
|
|
1372
1372
|
continue;
|
|
1373
1373
|
}
|
|
1374
|
-
ae({ type: "qmark", value: L, output:
|
|
1374
|
+
ae({ type: "qmark", value: L, output: J });
|
|
1375
1375
|
continue;
|
|
1376
1376
|
}
|
|
1377
1377
|
if (L === "!") {
|
|
1378
|
-
if (f.noextglob !== !0 &&
|
|
1378
|
+
if (f.noextglob !== !0 && X() === "(" && (X(2) !== "?" || !/[!=<:]/.test(X(3)))) {
|
|
1379
1379
|
de("negate", L);
|
|
1380
1380
|
continue;
|
|
1381
1381
|
}
|
|
@@ -1385,23 +1385,23 @@ function Ob() {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
1387
|
if (L === "+") {
|
|
1388
|
-
if (f.noextglob !== !0 &&
|
|
1388
|
+
if (f.noextglob !== !0 && X() === "(" && X(2) !== "?") {
|
|
1389
1389
|
de("plus", L);
|
|
1390
1390
|
continue;
|
|
1391
1391
|
}
|
|
1392
1392
|
if (I && I.value === "(" || f.regex === !1) {
|
|
1393
|
-
ae({ type: "plus", value: L, output:
|
|
1393
|
+
ae({ type: "plus", value: L, output: D });
|
|
1394
1394
|
continue;
|
|
1395
1395
|
}
|
|
1396
1396
|
if (I && (I.type === "bracket" || I.type === "paren" || I.type === "brace") || b.parens > 0) {
|
|
1397
1397
|
ae({ type: "plus", value: L });
|
|
1398
1398
|
continue;
|
|
1399
1399
|
}
|
|
1400
|
-
ae({ type: "plus", value:
|
|
1400
|
+
ae({ type: "plus", value: D });
|
|
1401
1401
|
continue;
|
|
1402
1402
|
}
|
|
1403
1403
|
if (L === "@") {
|
|
1404
|
-
if (f.noextglob !== !0 &&
|
|
1404
|
+
if (f.noextglob !== !0 && X() === "(" && X(2) !== "?") {
|
|
1405
1405
|
ae({ type: "at", extglob: !0, value: L, output: "" });
|
|
1406
1406
|
continue;
|
|
1407
1407
|
}
|
|
@@ -1410,8 +1410,8 @@ function Ob() {
|
|
|
1410
1410
|
}
|
|
1411
1411
|
if (L !== "*") {
|
|
1412
1412
|
(L === "$" || L === "^") && (L = `\\${L}`);
|
|
1413
|
-
const
|
|
1414
|
-
|
|
1413
|
+
const O = u.exec(ie());
|
|
1414
|
+
O && (L += O[0], b.index += O[0].length), ae({ type: "text", value: L });
|
|
1415
1415
|
continue;
|
|
1416
1416
|
}
|
|
1417
1417
|
if (I && (I.type === "globstar" || I.star === !0)) {
|
|
@@ -1428,13 +1428,13 @@ function Ob() {
|
|
|
1428
1428
|
Ie(L);
|
|
1429
1429
|
continue;
|
|
1430
1430
|
}
|
|
1431
|
-
const
|
|
1431
|
+
const O = I.prev, $ = O.prev, te = O.type === "slash" || O.type === "bos", _e = $ && ($.type === "star" || $.type === "globstar");
|
|
1432
1432
|
if (f.bash === !0 && (!te || B[0] && B[0] !== "/")) {
|
|
1433
1433
|
ae({ type: "star", value: L, output: "" });
|
|
1434
1434
|
continue;
|
|
1435
1435
|
}
|
|
1436
|
-
const he = b.braces > 0 && (
|
|
1437
|
-
if (!te &&
|
|
1436
|
+
const he = b.braces > 0 && (O.type === "comma" || O.type === "brace"), Ee = U.length && (O.type === "pipe" || O.type === "paren");
|
|
1437
|
+
if (!te && O.type !== "paren" && !he && !Ee) {
|
|
1438
1438
|
ae({ type: "star", value: L, output: "" });
|
|
1439
1439
|
continue;
|
|
1440
1440
|
}
|
|
@@ -1444,36 +1444,36 @@ function Ob() {
|
|
|
1444
1444
|
break;
|
|
1445
1445
|
B = B.slice(3), Ie("/**", 3);
|
|
1446
1446
|
}
|
|
1447
|
-
if (
|
|
1448
|
-
I.type = "globstar", I.value += L, I.output =
|
|
1447
|
+
if (O.type === "bos" && ke()) {
|
|
1448
|
+
I.type = "globstar", I.value += L, I.output = F(f), b.output = I.output, b.globstar = !0, Ie(L);
|
|
1449
1449
|
continue;
|
|
1450
1450
|
}
|
|
1451
|
-
if (
|
|
1452
|
-
b.output = b.output.slice(0, -(
|
|
1451
|
+
if (O.type === "slash" && O.prev.type !== "bos" && !_e && ke()) {
|
|
1452
|
+
b.output = b.output.slice(0, -(O.output + I.output).length), O.output = `(?:${O.output}`, I.type = "globstar", I.output = F(f) + (f.strictSlashes ? ")" : "|$)"), I.value += L, b.globstar = !0, b.output += O.output + I.output, Ie(L);
|
|
1453
1453
|
continue;
|
|
1454
1454
|
}
|
|
1455
|
-
if (
|
|
1455
|
+
if (O.type === "slash" && O.prev.type !== "bos" && B[0] === "/") {
|
|
1456
1456
|
const Ha = B[1] !== void 0 ? "|$" : "";
|
|
1457
|
-
b.output = b.output.slice(0, -(
|
|
1457
|
+
b.output = b.output.slice(0, -(O.output + I.output).length), O.output = `(?:${O.output}`, I.type = "globstar", I.output = `${F(f)}${ee}|${ee}${Ha})`, I.value += L, b.output += O.output + I.output, b.globstar = !0, Ie(L + G()), ae({ type: "slash", value: "/", output: "" });
|
|
1458
1458
|
continue;
|
|
1459
1459
|
}
|
|
1460
|
-
if (
|
|
1461
|
-
I.type = "globstar", I.value += L, I.output = `(?:^|${
|
|
1460
|
+
if (O.type === "bos" && B[0] === "/") {
|
|
1461
|
+
I.type = "globstar", I.value += L, I.output = `(?:^|${ee}|${F(f)}${ee})`, b.output = I.output, b.globstar = !0, Ie(L + G()), ae({ type: "slash", value: "/", output: "" });
|
|
1462
1462
|
continue;
|
|
1463
1463
|
}
|
|
1464
|
-
b.output = b.output.slice(0, -I.output.length), I.type = "globstar", I.output =
|
|
1464
|
+
b.output = b.output.slice(0, -I.output.length), I.type = "globstar", I.output = F(f), I.value += L, b.output += I.output, b.globstar = !0, Ie(L);
|
|
1465
1465
|
continue;
|
|
1466
1466
|
}
|
|
1467
1467
|
const ue = { type: "star", value: L, output: Z };
|
|
1468
1468
|
if (f.bash === !0) {
|
|
1469
|
-
ue.output = ".*?", (I.type === "bos" || I.type === "slash") && (ue.output =
|
|
1469
|
+
ue.output = ".*?", (I.type === "bos" || I.type === "slash") && (ue.output = V + ue.output), ae(ue);
|
|
1470
1470
|
continue;
|
|
1471
1471
|
}
|
|
1472
1472
|
if (I && (I.type === "bracket" || I.type === "paren") && f.regex === !0) {
|
|
1473
1473
|
ue.output = L, ae(ue);
|
|
1474
1474
|
continue;
|
|
1475
1475
|
}
|
|
1476
|
-
(b.index === b.start || I.type === "slash" || I.type === "dot") && (I.type === "dot" ? (b.output += oe, I.output += oe) : f.dot === !0 ? (b.output += ne, I.output += ne) : (b.output +=
|
|
1476
|
+
(b.index === b.start || I.type === "slash" || I.type === "dot") && (I.type === "dot" ? (b.output += oe, I.output += oe) : f.dot === !0 ? (b.output += ne, I.output += ne) : (b.output += V, I.output += V), X() !== "*" && (b.output += H, I.output += H)), ae(ue);
|
|
1477
1477
|
}
|
|
1478
1478
|
for (; b.brackets > 0; ) {
|
|
1479
1479
|
if (f.strictBrackets === !0) throw new SyntaxError(g("closing", "]"));
|
|
@@ -1487,54 +1487,54 @@ function Ob() {
|
|
|
1487
1487
|
if (f.strictBrackets === !0) throw new SyntaxError(g("closing", "}"));
|
|
1488
1488
|
b.output = d.escapeLast(b.output, "{"), ge("braces");
|
|
1489
1489
|
}
|
|
1490
|
-
if (f.strictSlashes !== !0 && (I.type === "star" || I.type === "bracket") && ae({ type: "maybe_slash", value: "", output: `${
|
|
1490
|
+
if (f.strictSlashes !== !0 && (I.type === "star" || I.type === "bracket") && ae({ type: "maybe_slash", value: "", output: `${ee}?` }), b.backtrack === !0) {
|
|
1491
1491
|
b.output = "";
|
|
1492
1492
|
for (const B of b.tokens)
|
|
1493
1493
|
b.output += B.output != null ? B.output : B.value, B.suffix && (b.output += B.suffix);
|
|
1494
1494
|
}
|
|
1495
1495
|
return b;
|
|
1496
1496
|
};
|
|
1497
|
-
|
|
1497
|
+
x.fastpaths = (M, N) => {
|
|
1498
1498
|
const f = { ...N }, w = typeof f.maxLength == "number" ? Math.min(l, f.maxLength) : l, m = M.length;
|
|
1499
1499
|
if (m > w)
|
|
1500
1500
|
throw new SyntaxError(`Input length: ${m}, exceeds maximum allowed length: ${w}`);
|
|
1501
1501
|
M = k[M] || M;
|
|
1502
|
-
const { DOT_LITERAL: S, SLASH_LITERAL: A, ONE_CHAR: P, DOTS_SLASH: j, NO_DOT: E, NO_DOTS: q, NO_DOTS_SLASH:
|
|
1503
|
-
let
|
|
1504
|
-
f.capture && (
|
|
1505
|
-
const
|
|
1506
|
-
switch (
|
|
1502
|
+
const { DOT_LITERAL: S, SLASH_LITERAL: A, ONE_CHAR: P, DOTS_SLASH: j, NO_DOT: E, NO_DOTS: q, NO_DOTS_SLASH: D, STAR: ee, START_ANCHOR: H } = s.globChars(f.windows), Y = f.dot ? q : E, Q = f.dot ? D : E, oe = f.capture ? "" : "?:", ne = { negated: !1, prefix: "" };
|
|
1503
|
+
let J = f.bash === !0 ? ".*?" : ee;
|
|
1504
|
+
f.capture && (J = `(${J})`);
|
|
1505
|
+
const C = (V) => V.noglobstar === !0 ? J : `(${oe}(?:(?!${H}${V.dot ? j : S}).)*?)`, R = (V) => {
|
|
1506
|
+
switch (V) {
|
|
1507
1507
|
case "*":
|
|
1508
|
-
return `${
|
|
1508
|
+
return `${Y}${P}${J}`;
|
|
1509
1509
|
case ".*":
|
|
1510
|
-
return `${S}${P}${
|
|
1510
|
+
return `${S}${P}${J}`;
|
|
1511
1511
|
case "*.*":
|
|
1512
|
-
return `${
|
|
1512
|
+
return `${Y}${J}${S}${P}${J}`;
|
|
1513
1513
|
case "*/*":
|
|
1514
|
-
return `${
|
|
1514
|
+
return `${Y}${J}${A}${P}${Q}${J}`;
|
|
1515
1515
|
case "**":
|
|
1516
|
-
return
|
|
1516
|
+
return Y + C(f);
|
|
1517
1517
|
case "**/*":
|
|
1518
|
-
return `(?:${
|
|
1518
|
+
return `(?:${Y}${C(f)}${A})?${Q}${P}${J}`;
|
|
1519
1519
|
case "**/*.*":
|
|
1520
|
-
return `(?:${
|
|
1520
|
+
return `(?:${Y}${C(f)}${A})?${Q}${J}${S}${P}${J}`;
|
|
1521
1521
|
case "**/.*":
|
|
1522
|
-
return `(?:${
|
|
1522
|
+
return `(?:${Y}${C(f)}${A})?${S}${P}${J}`;
|
|
1523
1523
|
default: {
|
|
1524
|
-
const
|
|
1525
|
-
if (!
|
|
1526
|
-
const Z = R(
|
|
1527
|
-
return Z ? Z + S +
|
|
1524
|
+
const K = /^(.*?)\.(\w+)$/.exec(V);
|
|
1525
|
+
if (!K) return;
|
|
1526
|
+
const Z = R(K[1]);
|
|
1527
|
+
return Z ? Z + S + K[2] : void 0;
|
|
1528
1528
|
}
|
|
1529
1529
|
}
|
|
1530
1530
|
}, T = d.removePrefix(M, ne);
|
|
1531
|
-
let
|
|
1532
|
-
return
|
|
1533
|
-
}, i.exports =
|
|
1531
|
+
let F = R(T);
|
|
1532
|
+
return F && f.strictSlashes !== !0 && (F += `${A}?`), F;
|
|
1533
|
+
}, i.exports = x;
|
|
1534
1534
|
}, 510: (i, r, c) => {
|
|
1535
|
-
const s = c(716), d = c(697), l = c(96), h = c(154), u = (k) => k && typeof k == "object" && !Array.isArray(k), p = (k,
|
|
1535
|
+
const s = c(716), d = c(697), l = c(96), h = c(154), u = (k) => k && typeof k == "object" && !Array.isArray(k), p = (k, v, g = !1) => {
|
|
1536
1536
|
if (Array.isArray(k)) {
|
|
1537
|
-
const A = k.map((j) => p(j,
|
|
1537
|
+
const A = k.map((j) => p(j, v, g));
|
|
1538
1538
|
return (j) => {
|
|
1539
1539
|
for (const E of A) {
|
|
1540
1540
|
const q = E(j);
|
|
@@ -1543,113 +1543,113 @@ function Ob() {
|
|
|
1543
1543
|
return !1;
|
|
1544
1544
|
};
|
|
1545
1545
|
}
|
|
1546
|
-
const
|
|
1547
|
-
if (k === "" || typeof k != "string" && !
|
|
1546
|
+
const x = u(k) && k.tokens && k.input;
|
|
1547
|
+
if (k === "" || typeof k != "string" && !x)
|
|
1548
1548
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
1549
|
-
const M =
|
|
1549
|
+
const M = v || {}, N = M.windows, f = x ? p.compileRe(k, v) : p.makeRe(k, v, !1, !0), w = f.state;
|
|
1550
1550
|
delete f.state;
|
|
1551
1551
|
let m = () => !1;
|
|
1552
1552
|
if (M.ignore) {
|
|
1553
|
-
const A = { ...
|
|
1553
|
+
const A = { ...v, ignore: null, onMatch: null, onResult: null };
|
|
1554
1554
|
m = p(M.ignore, A, g);
|
|
1555
1555
|
}
|
|
1556
1556
|
const S = (A, P = !1) => {
|
|
1557
|
-
const { isMatch: j, match: E, output: q } = p.test(A, f,
|
|
1558
|
-
return typeof M.onResult == "function" && M.onResult(
|
|
1557
|
+
const { isMatch: j, match: E, output: q } = p.test(A, f, v, { glob: k, posix: N }), D = { glob: k, state: w, regex: f, posix: N, input: A, output: q, match: E, isMatch: j };
|
|
1558
|
+
return typeof M.onResult == "function" && M.onResult(D), j === !1 ? (D.isMatch = !1, P ? D : !1) : m(A) ? (typeof M.onIgnore == "function" && M.onIgnore(D), D.isMatch = !1, P ? D : !1) : (typeof M.onMatch == "function" && M.onMatch(D), P ? D : !0);
|
|
1559
1559
|
};
|
|
1560
1560
|
return g && (S.state = w), S;
|
|
1561
1561
|
};
|
|
1562
|
-
p.test = (k,
|
|
1562
|
+
p.test = (k, v, g, { glob: x, posix: M } = {}) => {
|
|
1563
1563
|
if (typeof k != "string")
|
|
1564
1564
|
throw new TypeError("Expected input to be a string");
|
|
1565
1565
|
if (k === "")
|
|
1566
1566
|
return { isMatch: !1, output: "" };
|
|
1567
1567
|
const N = g || {}, f = N.format || (M ? l.toPosixSlashes : null);
|
|
1568
|
-
let w = k ===
|
|
1569
|
-
return w === !1 && (m = f ? f(k) : k, w = m ===
|
|
1570
|
-
}, p.matchBase = (k,
|
|
1568
|
+
let w = k === x, m = w && f ? f(k) : k;
|
|
1569
|
+
return w === !1 && (m = f ? f(k) : k, w = m === x), (w === !1 || N.capture === !0) && (N.matchBase === !0 || N.basename === !0 ? w = p.matchBase(k, v, g, M) : w = v.exec(m)), { isMatch: !!w, match: w, output: m };
|
|
1570
|
+
}, p.matchBase = (k, v, g) => (v instanceof RegExp ? v : p.makeRe(v, g)).test(l.basename(k)), p.isMatch = (k, v, g) => p(v, g)(k), p.parse = (k, v) => Array.isArray(k) ? k.map((g) => p.parse(g, v)) : d(k, { ...v, fastpaths: !1 }), p.scan = (k, v) => s(k, v), p.compileRe = (k, v, g = !1, x = !1) => {
|
|
1571
1571
|
if (g === !0)
|
|
1572
1572
|
return k.output;
|
|
1573
|
-
const M =
|
|
1573
|
+
const M = v || {}, N = M.contains ? "" : "^", f = M.contains ? "" : "$";
|
|
1574
1574
|
let w = `${N}(?:${k.output})${f}`;
|
|
1575
1575
|
k && k.negated === !0 && (w = `^(?!${w}).*$`);
|
|
1576
|
-
const m = p.toRegex(w,
|
|
1577
|
-
return
|
|
1578
|
-
}, p.makeRe = (k,
|
|
1576
|
+
const m = p.toRegex(w, v);
|
|
1577
|
+
return x === !0 && (m.state = k), m;
|
|
1578
|
+
}, p.makeRe = (k, v = {}, g = !1, x = !1) => {
|
|
1579
1579
|
if (!k || typeof k != "string")
|
|
1580
1580
|
throw new TypeError("Expected a non-empty string");
|
|
1581
1581
|
let M = { negated: !1, fastpaths: !0 };
|
|
1582
|
-
return
|
|
1583
|
-
}, p.toRegex = (k,
|
|
1582
|
+
return v.fastpaths !== !1 && (k[0] === "." || k[0] === "*") && (M.output = d.fastpaths(k, v)), M.output || (M = d(k, v)), p.compileRe(M, v, g, x);
|
|
1583
|
+
}, p.toRegex = (k, v) => {
|
|
1584
1584
|
try {
|
|
1585
|
-
const g =
|
|
1585
|
+
const g = v || {};
|
|
1586
1586
|
return new RegExp(k, g.flags || (g.nocase ? "i" : ""));
|
|
1587
1587
|
} catch (g) {
|
|
1588
|
-
if (
|
|
1588
|
+
if (v && v.debug === !0) throw g;
|
|
1589
1589
|
return /$^/;
|
|
1590
1590
|
}
|
|
1591
1591
|
}, p.constants = h, i.exports = p;
|
|
1592
1592
|
}, 716: (i, r, c) => {
|
|
1593
|
-
const s = c(96), { CHAR_ASTERISK: d, CHAR_AT: l, CHAR_BACKWARD_SLASH: h, CHAR_COMMA: u, CHAR_DOT: p, CHAR_EXCLAMATION_MARK: k, CHAR_FORWARD_SLASH:
|
|
1593
|
+
const s = c(96), { CHAR_ASTERISK: d, CHAR_AT: l, CHAR_BACKWARD_SLASH: h, CHAR_COMMA: u, CHAR_DOT: p, CHAR_EXCLAMATION_MARK: k, CHAR_FORWARD_SLASH: v, CHAR_LEFT_CURLY_BRACE: g, CHAR_LEFT_PARENTHESES: x, CHAR_LEFT_SQUARE_BRACKET: M, CHAR_PLUS: N, CHAR_QUESTION_MARK: f, CHAR_RIGHT_CURLY_BRACE: w, CHAR_RIGHT_PARENTHESES: m, CHAR_RIGHT_SQUARE_BRACKET: S } = c(154), A = (E) => E === v || E === h, P = (E) => {
|
|
1594
1594
|
E.isPrefix !== !0 && (E.depth = E.isGlobstar ? 1 / 0 : 1);
|
|
1595
1595
|
}, j = (E, q) => {
|
|
1596
|
-
const
|
|
1597
|
-
let ne = E,
|
|
1598
|
-
const ie = () =>
|
|
1599
|
-
for (;
|
|
1600
|
-
|
|
1596
|
+
const D = q || {}, ee = E.length - 1, H = D.parts === !0 || D.scanToEnd === !0, Y = [], Q = [], oe = [];
|
|
1597
|
+
let ne = E, J = -1, C = 0, R = 0, T = !1, F = !1, V = !1, K = !1, Z = !1, b = !1, U = !1, z = !1, W = !1, I = !1, L = 0, ke, X, G = { value: "", depth: 0, isGlob: !1 };
|
|
1598
|
+
const ie = () => J >= ee, Ie = () => ne.charCodeAt(J + 1), ve = () => (ke = X, ne.charCodeAt(++J));
|
|
1599
|
+
for (; J < ee; ) {
|
|
1600
|
+
X = ve();
|
|
1601
1601
|
let de;
|
|
1602
|
-
if (
|
|
1603
|
-
U = G.backslashes = !0,
|
|
1602
|
+
if (X === h) {
|
|
1603
|
+
U = G.backslashes = !0, X = ve(), X === g && (b = !0);
|
|
1604
1604
|
continue;
|
|
1605
1605
|
}
|
|
1606
|
-
if (b === !0 ||
|
|
1607
|
-
for (L++; ie() !== !0 && (
|
|
1608
|
-
if (
|
|
1606
|
+
if (b === !0 || X === g) {
|
|
1607
|
+
for (L++; ie() !== !0 && (X = ve()); ) {
|
|
1608
|
+
if (X === h) {
|
|
1609
1609
|
U = G.backslashes = !0, ve();
|
|
1610
1610
|
continue;
|
|
1611
1611
|
}
|
|
1612
|
-
if (
|
|
1612
|
+
if (X === g) {
|
|
1613
1613
|
L++;
|
|
1614
1614
|
continue;
|
|
1615
1615
|
}
|
|
1616
|
-
if (b !== !0 &&
|
|
1617
|
-
if (T = G.isBrace = !0,
|
|
1616
|
+
if (b !== !0 && X === p && (X = ve()) === p) {
|
|
1617
|
+
if (T = G.isBrace = !0, V = G.isGlob = !0, I = !0, H === !0)
|
|
1618
1618
|
continue;
|
|
1619
1619
|
break;
|
|
1620
1620
|
}
|
|
1621
|
-
if (b !== !0 &&
|
|
1622
|
-
if (T = G.isBrace = !0,
|
|
1621
|
+
if (b !== !0 && X === u) {
|
|
1622
|
+
if (T = G.isBrace = !0, V = G.isGlob = !0, I = !0, H === !0)
|
|
1623
1623
|
continue;
|
|
1624
1624
|
break;
|
|
1625
1625
|
}
|
|
1626
|
-
if (
|
|
1626
|
+
if (X === w && (L--, L === 0)) {
|
|
1627
1627
|
b = !1, T = G.isBrace = !0, I = !0;
|
|
1628
1628
|
break;
|
|
1629
1629
|
}
|
|
1630
1630
|
}
|
|
1631
|
-
if (
|
|
1631
|
+
if (H === !0)
|
|
1632
1632
|
continue;
|
|
1633
1633
|
break;
|
|
1634
1634
|
}
|
|
1635
|
-
if (
|
|
1636
|
-
if (
|
|
1637
|
-
if (ke === p &&
|
|
1638
|
-
|
|
1635
|
+
if (X === v) {
|
|
1636
|
+
if (Y.push(J), Q.push(G), G = { value: "", depth: 0, isGlob: !1 }, I === !0) continue;
|
|
1637
|
+
if (ke === p && J === C + 1) {
|
|
1638
|
+
C += 2;
|
|
1639
1639
|
continue;
|
|
1640
1640
|
}
|
|
1641
|
-
R =
|
|
1641
|
+
R = J + 1;
|
|
1642
1642
|
continue;
|
|
1643
1643
|
}
|
|
1644
|
-
if (
|
|
1645
|
-
if (
|
|
1646
|
-
for (; ie() !== !0 && (
|
|
1647
|
-
if (
|
|
1648
|
-
U = G.backslashes = !0,
|
|
1644
|
+
if (D.noext !== !0 && (X === N || X === l || X === d || X === f || X === k) === !0 && Ie() === x) {
|
|
1645
|
+
if (V = G.isGlob = !0, K = G.isExtglob = !0, I = !0, X === k && J === C && (W = !0), H === !0) {
|
|
1646
|
+
for (; ie() !== !0 && (X = ve()); ) {
|
|
1647
|
+
if (X === h) {
|
|
1648
|
+
U = G.backslashes = !0, X = ve();
|
|
1649
1649
|
continue;
|
|
1650
1650
|
}
|
|
1651
|
-
if (
|
|
1652
|
-
|
|
1651
|
+
if (X === m) {
|
|
1652
|
+
V = G.isGlob = !0, I = !0;
|
|
1653
1653
|
break;
|
|
1654
1654
|
}
|
|
1655
1655
|
}
|
|
@@ -1657,43 +1657,43 @@ function Ob() {
|
|
|
1657
1657
|
}
|
|
1658
1658
|
break;
|
|
1659
1659
|
}
|
|
1660
|
-
if (
|
|
1661
|
-
if (ke === d && (Z = G.isGlobstar = !0),
|
|
1660
|
+
if (X === d) {
|
|
1661
|
+
if (ke === d && (Z = G.isGlobstar = !0), V = G.isGlob = !0, I = !0, H === !0)
|
|
1662
1662
|
continue;
|
|
1663
1663
|
break;
|
|
1664
1664
|
}
|
|
1665
|
-
if (
|
|
1666
|
-
if (
|
|
1665
|
+
if (X === f) {
|
|
1666
|
+
if (V = G.isGlob = !0, I = !0, H === !0)
|
|
1667
1667
|
continue;
|
|
1668
1668
|
break;
|
|
1669
1669
|
}
|
|
1670
|
-
if (
|
|
1670
|
+
if (X === M) {
|
|
1671
1671
|
for (; ie() !== !0 && (de = ve()); ) {
|
|
1672
1672
|
if (de === h) {
|
|
1673
1673
|
U = G.backslashes = !0, ve();
|
|
1674
1674
|
continue;
|
|
1675
1675
|
}
|
|
1676
1676
|
if (de === S) {
|
|
1677
|
-
|
|
1677
|
+
F = G.isBracket = !0, V = G.isGlob = !0, I = !0;
|
|
1678
1678
|
break;
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
|
-
if (
|
|
1681
|
+
if (H === !0)
|
|
1682
1682
|
continue;
|
|
1683
1683
|
break;
|
|
1684
1684
|
}
|
|
1685
|
-
if (
|
|
1686
|
-
|
|
1685
|
+
if (D.nonegate !== !0 && X === k && J === C) {
|
|
1686
|
+
z = G.negated = !0, C++;
|
|
1687
1687
|
continue;
|
|
1688
1688
|
}
|
|
1689
|
-
if (
|
|
1690
|
-
if (
|
|
1691
|
-
for (; ie() !== !0 && (
|
|
1692
|
-
if (
|
|
1693
|
-
U = G.backslashes = !0,
|
|
1689
|
+
if (D.noparen !== !0 && X === x) {
|
|
1690
|
+
if (V = G.isGlob = !0, H === !0) {
|
|
1691
|
+
for (; ie() !== !0 && (X = ve()); ) {
|
|
1692
|
+
if (X === x) {
|
|
1693
|
+
U = G.backslashes = !0, X = ve();
|
|
1694
1694
|
continue;
|
|
1695
1695
|
}
|
|
1696
|
-
if (
|
|
1696
|
+
if (X === m) {
|
|
1697
1697
|
I = !0;
|
|
1698
1698
|
break;
|
|
1699
1699
|
}
|
|
@@ -1702,27 +1702,27 @@ function Ob() {
|
|
|
1702
1702
|
}
|
|
1703
1703
|
break;
|
|
1704
1704
|
}
|
|
1705
|
-
if (
|
|
1706
|
-
if (I = !0,
|
|
1705
|
+
if (V === !0) {
|
|
1706
|
+
if (I = !0, H === !0)
|
|
1707
1707
|
continue;
|
|
1708
1708
|
break;
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
|
-
|
|
1711
|
+
D.noext === !0 && (K = !1, V = !1);
|
|
1712
1712
|
let Me = ne, Pe = "", ge = "";
|
|
1713
|
-
|
|
1714
|
-
const ae = { prefix: Pe, input: E, start:
|
|
1715
|
-
if (
|
|
1713
|
+
C > 0 && (Pe = ne.slice(0, C), ne = ne.slice(C), R -= C), Me && V === !0 && R > 0 ? (Me = ne.slice(0, R), ge = ne.slice(R)) : V === !0 ? (Me = "", ge = ne) : Me = ne, Me && Me !== "" && Me !== "/" && Me !== ne && A(Me.charCodeAt(Me.length - 1)) && (Me = Me.slice(0, -1)), D.unescape === !0 && (ge && (ge = s.removeBackslashes(ge)), Me && U === !0 && (Me = s.removeBackslashes(Me)));
|
|
1714
|
+
const ae = { prefix: Pe, input: E, start: C, base: Me, glob: ge, isBrace: T, isBracket: F, isGlob: V, isExtglob: K, isGlobstar: Z, negated: z, negatedExtglob: W };
|
|
1715
|
+
if (D.tokens === !0 && (ae.maxDepth = 0, A(X) || Q.push(G), ae.tokens = Q), D.parts === !0 || D.tokens === !0) {
|
|
1716
1716
|
let de;
|
|
1717
|
-
for (let fe = 0; fe <
|
|
1718
|
-
const B = de ? de + 1 :
|
|
1719
|
-
|
|
1717
|
+
for (let fe = 0; fe < Y.length; fe++) {
|
|
1718
|
+
const B = de ? de + 1 : C, ue = Y[fe], O = E.slice(B, ue);
|
|
1719
|
+
D.tokens && (fe === 0 && C !== 0 ? (Q[fe].isPrefix = !0, Q[fe].value = Pe) : Q[fe].value = O, P(Q[fe]), ae.maxDepth += Q[fe].depth), (fe !== 0 || O !== "") && oe.push(O), de = ue;
|
|
1720
1720
|
}
|
|
1721
1721
|
if (de && de + 1 < E.length) {
|
|
1722
1722
|
const fe = E.slice(de + 1);
|
|
1723
|
-
oe.push(fe),
|
|
1723
|
+
oe.push(fe), D.tokens && (Q[Q.length - 1].value = fe, P(Q[Q.length - 1]), ae.maxDepth += Q[Q.length - 1].depth);
|
|
1724
1724
|
}
|
|
1725
|
-
ae.slashes =
|
|
1725
|
+
ae.slashes = Y, ae.parts = oe;
|
|
1726
1726
|
}
|
|
1727
1727
|
return ae;
|
|
1728
1728
|
};
|
|
@@ -1730,18 +1730,18 @@ function Ob() {
|
|
|
1730
1730
|
}, 96: (i, r, c) => {
|
|
1731
1731
|
const { REGEX_BACKSLASH: s, REGEX_REMOVE_BACKSLASH: d, REGEX_SPECIAL_CHARS: l, REGEX_SPECIAL_CHARS_GLOBAL: h } = c(154);
|
|
1732
1732
|
r.isObject = (u) => u !== null && typeof u == "object" && !Array.isArray(u), r.hasRegexChars = (u) => l.test(u), r.isRegexChar = (u) => u.length === 1 && r.hasRegexChars(u), r.escapeRegex = (u) => u.replace(h, "\\$1"), r.toPosixSlashes = (u) => u.replace(s, "/"), r.removeBackslashes = (u) => u.replace(d, (p) => p === "\\" ? "" : p), r.escapeLast = (u, p, k) => {
|
|
1733
|
-
const
|
|
1734
|
-
return
|
|
1733
|
+
const v = u.lastIndexOf(p, k);
|
|
1734
|
+
return v === -1 ? u : u[v - 1] === "\\" ? r.escapeLast(u, p, v - 1) : `${u.slice(0, v)}\\${u.slice(v)}`;
|
|
1735
1735
|
}, r.removePrefix = (u, p = {}) => {
|
|
1736
1736
|
let k = u;
|
|
1737
1737
|
return k.startsWith("./") && (k = k.slice(2), p.prefix = "./"), k;
|
|
1738
1738
|
}, r.wrapOutput = (u, p = {}, k = {}) => {
|
|
1739
|
-
const
|
|
1740
|
-
let
|
|
1741
|
-
return p.negated === !0 && (
|
|
1739
|
+
const v = k.contains ? "" : "^", g = k.contains ? "" : "$";
|
|
1740
|
+
let x = `${v}(?:${u})${g}`;
|
|
1741
|
+
return p.negated === !0 && (x = `(?:^(?!${x}).*$)`), x;
|
|
1742
1742
|
}, r.basename = (u, { windows: p } = {}) => {
|
|
1743
|
-
const k = u.split(p ? /[\\/]/ : "/"),
|
|
1744
|
-
return
|
|
1743
|
+
const k = u.split(p ? /[\\/]/ : "/"), v = k[k.length - 1];
|
|
1744
|
+
return v === "" ? k[k.length - 2] : v;
|
|
1745
1745
|
};
|
|
1746
1746
|
} }, t = {};
|
|
1747
1747
|
function a(i) {
|
|
@@ -1971,54 +1971,54 @@ function JI() {
|
|
|
1971
1971
|
return w;
|
|
1972
1972
|
}
|
|
1973
1973
|
});
|
|
1974
|
-
const a = /* @__PURE__ */ na(), o = /* @__PURE__ */ Lv(), i = xv(), r = /* @__PURE__ */ o._(Fe), c = /* @__PURE__ */ a._(DI), s = /* @__PURE__ */ a._(XI()), d = zb(), l = px(), h = KI(), u = ux(), p = Db(), k = /* @__PURE__ */ a._(Fb()),
|
|
1974
|
+
const a = /* @__PURE__ */ na(), o = /* @__PURE__ */ Lv(), i = xv(), r = /* @__PURE__ */ o._(Fe), c = /* @__PURE__ */ a._(DI), s = /* @__PURE__ */ a._(XI()), d = zb(), l = px(), h = KI(), u = ux(), p = Db(), k = /* @__PURE__ */ a._(Fb()), v = Bb(), g = process.env.__NEXT_IMAGE_OPTS;
|
|
1975
1975
|
typeof window > "u" && (globalThis.__NEXT_IMAGE_IMPORTED = !0);
|
|
1976
|
-
function
|
|
1977
|
-
const
|
|
1978
|
-
if (!m || m["data-loaded-src"] ===
|
|
1976
|
+
function x(m, S, A, P, j, E, q) {
|
|
1977
|
+
const D = m == null ? void 0 : m.src;
|
|
1978
|
+
if (!m || m["data-loaded-src"] === D)
|
|
1979
1979
|
return;
|
|
1980
|
-
m["data-loaded-src"] =
|
|
1980
|
+
m["data-loaded-src"] = D, ("decode" in m ? m.decode() : Promise.resolve()).catch(() => {
|
|
1981
1981
|
}).then(() => {
|
|
1982
1982
|
if (!(!m.parentElement || !m.isConnected)) {
|
|
1983
1983
|
if (S !== "empty" && j(!0), A != null && A.current) {
|
|
1984
|
-
const
|
|
1985
|
-
Object.defineProperty(
|
|
1984
|
+
const H = new Event("load");
|
|
1985
|
+
Object.defineProperty(H, "target", {
|
|
1986
1986
|
writable: !1,
|
|
1987
1987
|
value: m
|
|
1988
1988
|
});
|
|
1989
|
-
let
|
|
1989
|
+
let Y = !1, Q = !1;
|
|
1990
1990
|
A.current({
|
|
1991
|
-
...
|
|
1992
|
-
nativeEvent:
|
|
1991
|
+
...H,
|
|
1992
|
+
nativeEvent: H,
|
|
1993
1993
|
currentTarget: m,
|
|
1994
1994
|
target: m,
|
|
1995
|
-
isDefaultPrevented: () =>
|
|
1995
|
+
isDefaultPrevented: () => Y,
|
|
1996
1996
|
isPropagationStopped: () => Q,
|
|
1997
1997
|
persist: () => {
|
|
1998
1998
|
},
|
|
1999
1999
|
preventDefault: () => {
|
|
2000
|
-
|
|
2000
|
+
Y = !0, H.preventDefault();
|
|
2001
2001
|
},
|
|
2002
2002
|
stopPropagation: () => {
|
|
2003
|
-
Q = !0,
|
|
2003
|
+
Q = !0, H.stopPropagation();
|
|
2004
2004
|
}
|
|
2005
2005
|
});
|
|
2006
2006
|
}
|
|
2007
2007
|
if (P != null && P.current && P.current(m), process.env.NODE_ENV !== "production") {
|
|
2008
|
-
const
|
|
2008
|
+
const H = new URL(D, "http://n").searchParams.get("url") || D;
|
|
2009
2009
|
if (m.getAttribute("data-nimg") === "fill") {
|
|
2010
|
-
if (!E && (!q || q === "100vw") && m.getBoundingClientRect().width / window.innerWidth < 0.6 && (q === "100vw" ? (0, u.warnOnce)('Image with src "' +
|
|
2010
|
+
if (!E && (!q || q === "100vw") && m.getBoundingClientRect().width / window.innerWidth < 0.6 && (q === "100vw" ? (0, u.warnOnce)('Image with src "' + H + '" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes') : (0, u.warnOnce)('Image with src "' + H + '" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes')), m.parentElement) {
|
|
2011
2011
|
const { position: oe } = window.getComputedStyle(m.parentElement), ne = [
|
|
2012
2012
|
"absolute",
|
|
2013
2013
|
"fixed",
|
|
2014
2014
|
"relative"
|
|
2015
2015
|
];
|
|
2016
|
-
ne.includes(oe) || (0, u.warnOnce)('Image with src "' +
|
|
2016
|
+
ne.includes(oe) || (0, u.warnOnce)('Image with src "' + H + '" has "fill" and parent element with invalid "position". Provided "' + oe + '" should be one of ' + ne.map(String).join(",") + ".");
|
|
2017
2017
|
}
|
|
2018
|
-
m.height === 0 && (0, u.warnOnce)('Image with src "' +
|
|
2018
|
+
m.height === 0 && (0, u.warnOnce)('Image with src "' + H + '" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.');
|
|
2019
2019
|
}
|
|
2020
|
-
const
|
|
2021
|
-
(
|
|
2020
|
+
const Y = m.height.toString() !== m.getAttribute("height"), Q = m.width.toString() !== m.getAttribute("width");
|
|
2021
|
+
(Y && !Q || !Y && Q) && (0, u.warnOnce)('Image with src "' + H + `" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`);
|
|
2022
2022
|
}
|
|
2023
2023
|
}
|
|
2024
2024
|
});
|
|
@@ -2031,32 +2031,32 @@ function JI() {
|
|
|
2031
2031
|
};
|
|
2032
2032
|
}
|
|
2033
2033
|
const N = /* @__PURE__ */ (0, r.forwardRef)((m, S) => {
|
|
2034
|
-
let { src: A, srcSet: P, sizes: j, height: E, width: q, decoding:
|
|
2034
|
+
let { src: A, srcSet: P, sizes: j, height: E, width: q, decoding: D, className: ee, style: H, fetchPriority: Y, placeholder: Q, loading: oe, unoptimized: ne, fill: J, onLoadRef: C, onLoadingCompleteRef: R, setBlurComplete: T, setShowAltText: F, sizesInput: V, onLoad: K, onError: Z, ...b } = m;
|
|
2035
2035
|
const U = (0, r.useCallback)((W) => {
|
|
2036
|
-
W && (Z && (W.src = W.src), process.env.NODE_ENV !== "production" && (A || console.error('Image is missing required "src" property:', W), W.getAttribute("alt") === null && console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')), W.complete &&
|
|
2036
|
+
W && (Z && (W.src = W.src), process.env.NODE_ENV !== "production" && (A || console.error('Image is missing required "src" property:', W), W.getAttribute("alt") === null && console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')), W.complete && x(W, Q, C, R, T, ne, V));
|
|
2037
2037
|
}, [
|
|
2038
2038
|
A,
|
|
2039
2039
|
Q,
|
|
2040
|
-
|
|
2040
|
+
C,
|
|
2041
2041
|
R,
|
|
2042
2042
|
T,
|
|
2043
2043
|
Z,
|
|
2044
2044
|
ne,
|
|
2045
|
-
|
|
2046
|
-
]),
|
|
2045
|
+
V
|
|
2046
|
+
]), z = (0, v.useMergedRef)(S, U);
|
|
2047
2047
|
return /* @__PURE__ */ (0, i.jsx)("img", {
|
|
2048
2048
|
...b,
|
|
2049
|
-
...M(
|
|
2049
|
+
...M(Y),
|
|
2050
2050
|
// It's intended to keep `loading` before `src` because React updates
|
|
2051
2051
|
// props in order which causes Safari/Firefox to not lazy load properly.
|
|
2052
2052
|
// See https://github.com/facebook/react/issues/25883
|
|
2053
2053
|
loading: oe,
|
|
2054
2054
|
width: q,
|
|
2055
2055
|
height: E,
|
|
2056
|
-
decoding:
|
|
2057
|
-
"data-nimg":
|
|
2058
|
-
className:
|
|
2059
|
-
style:
|
|
2056
|
+
decoding: D,
|
|
2057
|
+
"data-nimg": J ? "fill" : "1",
|
|
2058
|
+
className: ee,
|
|
2059
|
+
style: H,
|
|
2060
2060
|
// It's intended to keep `src` the last attribute because React updates
|
|
2061
2061
|
// attributes in order. If we keep `src` the first one, Safari will
|
|
2062
2062
|
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
@@ -2066,13 +2066,13 @@ function JI() {
|
|
|
2066
2066
|
sizes: j,
|
|
2067
2067
|
srcSet: P,
|
|
2068
2068
|
src: A,
|
|
2069
|
-
ref:
|
|
2069
|
+
ref: z,
|
|
2070
2070
|
onLoad: (W) => {
|
|
2071
2071
|
const I = W.currentTarget;
|
|
2072
|
-
|
|
2072
|
+
x(I, Q, C, R, T, ne, V);
|
|
2073
2073
|
},
|
|
2074
2074
|
onError: (W) => {
|
|
2075
|
-
|
|
2075
|
+
F(!0), Q !== "empty" && T(!0), Z && Z(W);
|
|
2076
2076
|
}
|
|
2077
2077
|
});
|
|
2078
2078
|
});
|
|
@@ -2106,53 +2106,53 @@ function JI() {
|
|
|
2106
2106
|
const w = /* @__PURE__ */ (0, r.forwardRef)((m, S) => {
|
|
2107
2107
|
const P = !(0, r.useContext)(p.RouterContext), j = (0, r.useContext)(h.ImageConfigContext), E = (0, r.useMemo)(() => {
|
|
2108
2108
|
var R;
|
|
2109
|
-
const T = g || j || l.imageConfigDefault,
|
|
2109
|
+
const T = g || j || l.imageConfigDefault, F = [
|
|
2110
2110
|
...T.deviceSizes,
|
|
2111
2111
|
...T.imageSizes
|
|
2112
|
-
].sort((Z, b) => Z - b),
|
|
2112
|
+
].sort((Z, b) => Z - b), V = T.deviceSizes.sort((Z, b) => Z - b), K = (R = T.qualities) == null ? void 0 : R.sort((Z, b) => Z - b);
|
|
2113
2113
|
return {
|
|
2114
2114
|
...T,
|
|
2115
|
-
allSizes:
|
|
2116
|
-
deviceSizes:
|
|
2117
|
-
qualities:
|
|
2115
|
+
allSizes: F,
|
|
2116
|
+
deviceSizes: V,
|
|
2117
|
+
qualities: K
|
|
2118
2118
|
};
|
|
2119
2119
|
}, [
|
|
2120
2120
|
j
|
|
2121
|
-
]), { onLoad: q, onLoadingComplete:
|
|
2121
|
+
]), { onLoad: q, onLoadingComplete: D } = m, ee = (0, r.useRef)(q);
|
|
2122
2122
|
(0, r.useEffect)(() => {
|
|
2123
|
-
|
|
2123
|
+
ee.current = q;
|
|
2124
2124
|
}, [
|
|
2125
2125
|
q
|
|
2126
2126
|
]);
|
|
2127
|
-
const
|
|
2127
|
+
const H = (0, r.useRef)(D);
|
|
2128
2128
|
(0, r.useEffect)(() => {
|
|
2129
|
-
|
|
2129
|
+
H.current = D;
|
|
2130
2130
|
}, [
|
|
2131
|
-
|
|
2131
|
+
D
|
|
2132
2132
|
]);
|
|
2133
|
-
const [
|
|
2133
|
+
const [Y, Q] = (0, r.useState)(!1), [oe, ne] = (0, r.useState)(!1), { props: J, meta: C } = (0, d.getImgProps)(m, {
|
|
2134
2134
|
defaultLoader: k.default,
|
|
2135
2135
|
imgConf: E,
|
|
2136
|
-
blurComplete:
|
|
2136
|
+
blurComplete: Y,
|
|
2137
2137
|
showAltText: oe
|
|
2138
2138
|
});
|
|
2139
2139
|
return /* @__PURE__ */ (0, i.jsxs)(i.Fragment, {
|
|
2140
2140
|
children: [
|
|
2141
2141
|
/* @__PURE__ */ (0, i.jsx)(N, {
|
|
2142
|
-
...
|
|
2143
|
-
unoptimized:
|
|
2144
|
-
placeholder:
|
|
2145
|
-
fill:
|
|
2146
|
-
onLoadRef:
|
|
2147
|
-
onLoadingCompleteRef:
|
|
2142
|
+
...J,
|
|
2143
|
+
unoptimized: C.unoptimized,
|
|
2144
|
+
placeholder: C.placeholder,
|
|
2145
|
+
fill: C.fill,
|
|
2146
|
+
onLoadRef: ee,
|
|
2147
|
+
onLoadingCompleteRef: H,
|
|
2148
2148
|
setBlurComplete: Q,
|
|
2149
2149
|
setShowAltText: ne,
|
|
2150
2150
|
sizesInput: m.sizes,
|
|
2151
2151
|
ref: S
|
|
2152
2152
|
}),
|
|
2153
|
-
|
|
2153
|
+
C.priority ? /* @__PURE__ */ (0, i.jsx)(f, {
|
|
2154
2154
|
isAppRouter: P,
|
|
2155
|
-
imgAttributes:
|
|
2155
|
+
imgAttributes: J
|
|
2156
2156
|
}) : null
|
|
2157
2157
|
]
|
|
2158
2158
|
});
|
|
@@ -2201,7 +2201,7 @@ function tN() {
|
|
|
2201
2201
|
return _L || (_L = 1, Xv = eN()), Xv;
|
|
2202
2202
|
}
|
|
2203
2203
|
var nN = tN();
|
|
2204
|
-
const Ub = /* @__PURE__ */ Cv(nN), aN = "style-module__banner___dXl-D", oN = "style-module__social___mxK8z", iN = "style-module__container___9JBYZ", cN = "style-module__content___V-DNs", rN = "style-module__header___bOHYo", sN = "style-module__image___jR6hS", dN = "style-module__skeleton___lG67G", hN = "style-module__text___uBnfC", lN = "style-module__button___7y1JK", uN = "style-module__primary___BSgxg",
|
|
2204
|
+
const Ub = /* @__PURE__ */ Cv(nN), aN = "style-module__banner___dXl-D", oN = "style-module__social___mxK8z", iN = "style-module__container___9JBYZ", cN = "style-module__content___V-DNs", rN = "style-module__header___bOHYo", sN = "style-module__image___jR6hS", dN = "style-module__skeleton___lG67G", hN = "style-module__text___uBnfC", lN = "style-module__button___7y1JK", uN = "style-module__primary___BSgxg", $e = {
|
|
2205
2205
|
banner: aN,
|
|
2206
2206
|
social: oN,
|
|
2207
2207
|
container: iN,
|
|
@@ -2374,10 +2374,10 @@ function Wb() {
|
|
|
2374
2374
|
});
|
|
2375
2375
|
const o = /* @__PURE__ */ (/* @__PURE__ */ Lv())._(Gb()), i = /https?|ftp|gopher|file/;
|
|
2376
2376
|
function r(d) {
|
|
2377
|
-
let { auth: l, hostname: h } = d, u = d.protocol || "", p = d.pathname || "", k = d.hash || "",
|
|
2378
|
-
l = l ? encodeURIComponent(l).replace(/%3A/i, ":") + "@" : "", d.host ? g = l + d.host : h && (g = l + (~h.indexOf(":") ? "[" + h + "]" : h), d.port && (g += ":" + d.port)),
|
|
2379
|
-
let
|
|
2380
|
-
return u && !u.endsWith(":") && (u += ":"), d.slashes || (!u || i.test(u)) && g !== !1 ? (g = "//" + (g || ""), p && p[0] !== "/" && (p = "/" + p)) : g || (g = ""), k && k[0] !== "#" && (k = "#" + k),
|
|
2377
|
+
let { auth: l, hostname: h } = d, u = d.protocol || "", p = d.pathname || "", k = d.hash || "", v = d.query || "", g = !1;
|
|
2378
|
+
l = l ? encodeURIComponent(l).replace(/%3A/i, ":") + "@" : "", d.host ? g = l + d.host : h && (g = l + (~h.indexOf(":") ? "[" + h + "]" : h), d.port && (g += ":" + d.port)), v && typeof v == "object" && (v = String(o.urlQueryToSearchParams(v)));
|
|
2379
|
+
let x = d.search || v && "?" + v || "";
|
|
2380
|
+
return u && !u.endsWith(":") && (u += ":"), d.slashes || (!u || i.test(u)) && g !== !1 ? (g = "//" + (g || ""), p && p[0] !== "/" && (p = "/" + p)) : g || (g = ""), k && k[0] !== "#" && (k = "#" + k), x && x[0] !== "?" && (x = "?" + x), p = p.replace(/[?#]/g, encodeURIComponent), x = x.replace("#", "%23"), "" + u + g + p + x + k;
|
|
2381
2381
|
}
|
|
2382
2382
|
const c = [
|
|
2383
2383
|
"auth",
|
|
@@ -2433,7 +2433,7 @@ function wv() {
|
|
|
2433
2433
|
}
|
|
2434
2434
|
t(e, {
|
|
2435
2435
|
DecodeError: function() {
|
|
2436
|
-
return
|
|
2436
|
+
return v;
|
|
2437
2437
|
},
|
|
2438
2438
|
MiddlewareNotFoundError: function() {
|
|
2439
2439
|
return N;
|
|
@@ -2445,7 +2445,7 @@ function wv() {
|
|
|
2445
2445
|
return g;
|
|
2446
2446
|
},
|
|
2447
2447
|
PageNotFoundError: function() {
|
|
2448
|
-
return
|
|
2448
|
+
return x;
|
|
2449
2449
|
},
|
|
2450
2450
|
SP: function() {
|
|
2451
2451
|
return p;
|
|
@@ -2554,11 +2554,11 @@ function wv() {
|
|
|
2554
2554
|
"measure",
|
|
2555
2555
|
"getEntriesByName"
|
|
2556
2556
|
].every((w) => typeof performance[w] == "function");
|
|
2557
|
-
class
|
|
2557
|
+
class v extends Error {
|
|
2558
2558
|
}
|
|
2559
2559
|
class g extends Error {
|
|
2560
2560
|
}
|
|
2561
|
-
class
|
|
2561
|
+
class x extends Error {
|
|
2562
2562
|
constructor(m) {
|
|
2563
2563
|
super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + m;
|
|
2564
2564
|
}
|
|
@@ -2765,27 +2765,27 @@ function wN() {
|
|
|
2765
2765
|
});
|
|
2766
2766
|
let l = c[0];
|
|
2767
2767
|
if (l.startsWith("[") && l.endsWith("]")) {
|
|
2768
|
-
let p = function(k,
|
|
2769
|
-
if (k !== null && k !==
|
|
2770
|
-
throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('" + k + "' !== '" +
|
|
2768
|
+
let p = function(k, v) {
|
|
2769
|
+
if (k !== null && k !== v)
|
|
2770
|
+
throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('" + k + "' !== '" + v + "')."), "__NEXT_ERROR_CODE", {
|
|
2771
2771
|
value: "E337",
|
|
2772
2772
|
enumerable: !1,
|
|
2773
2773
|
configurable: !0
|
|
2774
2774
|
});
|
|
2775
2775
|
s.forEach((g) => {
|
|
2776
|
-
if (g ===
|
|
2777
|
-
throw Object.defineProperty(new Error('You cannot have the same slug name "' +
|
|
2776
|
+
if (g === v)
|
|
2777
|
+
throw Object.defineProperty(new Error('You cannot have the same slug name "' + v + '" repeat within a single dynamic path'), "__NEXT_ERROR_CODE", {
|
|
2778
2778
|
value: "E247",
|
|
2779
2779
|
enumerable: !1,
|
|
2780
2780
|
configurable: !0
|
|
2781
2781
|
});
|
|
2782
2782
|
if (g.replace(/\W/g, "") === l.replace(/\W/g, ""))
|
|
2783
|
-
throw Object.defineProperty(new Error('You cannot have the slug names "' + g + '" and "' +
|
|
2783
|
+
throw Object.defineProperty(new Error('You cannot have the slug names "' + g + '" and "' + v + '" differ only by non-word symbols within a single dynamic path'), "__NEXT_ERROR_CODE", {
|
|
2784
2784
|
value: "E499",
|
|
2785
2785
|
enumerable: !1,
|
|
2786
2786
|
configurable: !0
|
|
2787
2787
|
});
|
|
2788
|
-
}), s.push(
|
|
2788
|
+
}), s.push(v);
|
|
2789
2789
|
}, h = l.slice(1, -1), u = !1;
|
|
2790
2790
|
if (h.startsWith("[") && h.endsWith("]") && (h = h.slice(1, -1), u = !0), h.startsWith("…"))
|
|
2791
2791
|
throw Object.defineProperty(new Error("Detected a three-dot character ('…') at ('" + h + "'). Did you mean ('...')?"), "__NEXT_ERROR_CODE", {
|
|
@@ -3129,16 +3129,16 @@ function EN() {
|
|
|
3129
3129
|
return u;
|
|
3130
3130
|
},
|
|
3131
3131
|
APP_DIR_ALIAS: function() {
|
|
3132
|
-
return
|
|
3132
|
+
return Y;
|
|
3133
3133
|
},
|
|
3134
3134
|
CACHE_ONE_YEAR: function() {
|
|
3135
3135
|
return A;
|
|
3136
3136
|
},
|
|
3137
3137
|
DOT_NEXT_ALIAS: function() {
|
|
3138
|
-
return
|
|
3138
|
+
return ee;
|
|
3139
3139
|
},
|
|
3140
3140
|
ESLINT_DEFAULT_DIRS: function() {
|
|
3141
|
-
return
|
|
3141
|
+
return X;
|
|
3142
3142
|
},
|
|
3143
3143
|
GSP_NO_RETURNED_VALUE: function() {
|
|
3144
3144
|
return U;
|
|
@@ -3147,7 +3147,7 @@ function EN() {
|
|
|
3147
3147
|
return I;
|
|
3148
3148
|
},
|
|
3149
3149
|
GSSP_NO_RETURNED_VALUE: function() {
|
|
3150
|
-
return
|
|
3150
|
+
return z;
|
|
3151
3151
|
},
|
|
3152
3152
|
INFINITE_CACHE: function() {
|
|
3153
3153
|
return P;
|
|
@@ -3165,13 +3165,13 @@ function EN() {
|
|
|
3165
3165
|
return E;
|
|
3166
3166
|
},
|
|
3167
3167
|
NEXT_BODY_SUFFIX: function() {
|
|
3168
|
-
return
|
|
3168
|
+
return v;
|
|
3169
3169
|
},
|
|
3170
3170
|
NEXT_CACHE_IMPLICIT_TAG_ID: function() {
|
|
3171
3171
|
return S;
|
|
3172
3172
|
},
|
|
3173
3173
|
NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
|
|
3174
|
-
return
|
|
3174
|
+
return x;
|
|
3175
3175
|
},
|
|
3176
3176
|
NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
|
|
3177
3177
|
return M;
|
|
@@ -3207,7 +3207,7 @@ function EN() {
|
|
|
3207
3207
|
return L;
|
|
3208
3208
|
},
|
|
3209
3209
|
PAGES_DIR_ALIAS: function() {
|
|
3210
|
-
return
|
|
3210
|
+
return D;
|
|
3211
3211
|
},
|
|
3212
3212
|
PRERENDER_REVALIDATE_HEADER: function() {
|
|
3213
3213
|
return r;
|
|
@@ -3219,13 +3219,13 @@ function EN() {
|
|
|
3219
3219
|
return T;
|
|
3220
3220
|
},
|
|
3221
3221
|
ROOT_DIR_ALIAS: function() {
|
|
3222
|
-
return
|
|
3222
|
+
return H;
|
|
3223
3223
|
},
|
|
3224
3224
|
RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
|
|
3225
3225
|
return R;
|
|
3226
3226
|
},
|
|
3227
3227
|
RSC_ACTION_ENCRYPTION_ALIAS: function() {
|
|
3228
|
-
return
|
|
3228
|
+
return C;
|
|
3229
3229
|
},
|
|
3230
3230
|
RSC_ACTION_PROXY_ALIAS: function() {
|
|
3231
3231
|
return ne;
|
|
@@ -3234,7 +3234,7 @@ function EN() {
|
|
|
3234
3234
|
return oe;
|
|
3235
3235
|
},
|
|
3236
3236
|
RSC_CACHE_WRAPPER_ALIAS: function() {
|
|
3237
|
-
return
|
|
3237
|
+
return J;
|
|
3238
3238
|
},
|
|
3239
3239
|
RSC_MOD_REF_PROXY_ALIAS: function() {
|
|
3240
3240
|
return Q;
|
|
@@ -3255,10 +3255,10 @@ function EN() {
|
|
|
3255
3255
|
return b;
|
|
3256
3256
|
},
|
|
3257
3257
|
SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
|
|
3258
|
-
return
|
|
3258
|
+
return V;
|
|
3259
3259
|
},
|
|
3260
3260
|
SERVER_PROPS_SSG_CONFLICT: function() {
|
|
3261
|
-
return
|
|
3261
|
+
return K;
|
|
3262
3262
|
},
|
|
3263
3263
|
SERVER_RUNTIME: function() {
|
|
3264
3264
|
return G;
|
|
@@ -3267,7 +3267,7 @@ function EN() {
|
|
|
3267
3267
|
return ke;
|
|
3268
3268
|
},
|
|
3269
3269
|
SSG_GET_INITIAL_PROPS_CONFLICT: function() {
|
|
3270
|
-
return
|
|
3270
|
+
return F;
|
|
3271
3271
|
},
|
|
3272
3272
|
STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
|
|
3273
3273
|
return Z;
|
|
@@ -3282,7 +3282,7 @@ function EN() {
|
|
|
3282
3282
|
return ve;
|
|
3283
3283
|
}
|
|
3284
3284
|
});
|
|
3285
|
-
const a = "nxtP", o = "nxtI", i = "x-matched-path", r = "x-prerender-revalidate", c = "x-prerender-revalidate-if-generated", s = ".prefetch.rsc", d = ".segments", l = ".segment.rsc", h = ".rsc", u = ".action", p = ".json", k = ".meta",
|
|
3285
|
+
const a = "nxtP", o = "nxtI", i = "x-matched-path", r = "x-prerender-revalidate", c = "x-prerender-revalidate-if-generated", s = ".prefetch.rsc", d = ".segments", l = ".segment.rsc", h = ".rsc", u = ".action", p = ".json", k = ".meta", v = ".body", g = "x-next-cache-tags", x = "x-next-revalidated-tags", M = "x-next-revalidate-tag-token", N = "next-resume", f = 128, w = 256, m = 1024, S = "_N_T_", A = 31536e3, P = 4294967294, j = "middleware", E = `(?:src/)?${j}`, q = "instrumentation", D = "private-next-pages", ee = "private-dot-next", H = "private-next-root-dir", Y = "private-next-app-dir", Q = "private-next-rsc-mod-ref-proxy", oe = "private-next-rsc-action-validate", ne = "private-next-rsc-server-reference", J = "private-next-rsc-cache-wrapper", C = "private-next-rsc-action-encryption", R = "private-next-rsc-action-client-wrapper", T = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", F = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", V = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", K = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", Z = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", b = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", U = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", z = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", W = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", I = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", L = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', ke = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", X = [
|
|
3286
3286
|
"app",
|
|
3287
3287
|
"pages",
|
|
3288
3288
|
"components",
|
|
@@ -3416,8 +3416,8 @@ function $N() {
|
|
|
3416
3416
|
Object.defineProperty(e, "__esModule", {
|
|
3417
3417
|
value: !0
|
|
3418
3418
|
});
|
|
3419
|
-
function t(
|
|
3420
|
-
for (var N in M) Object.defineProperty(
|
|
3419
|
+
function t(x, M) {
|
|
3420
|
+
for (var N in M) Object.defineProperty(x, N, {
|
|
3421
3421
|
enumerable: !0,
|
|
3422
3422
|
get: M[N]
|
|
3423
3423
|
});
|
|
@@ -3427,7 +3427,7 @@ function $N() {
|
|
|
3427
3427
|
return g;
|
|
3428
3428
|
},
|
|
3429
3429
|
getNamedRouteRegex: function() {
|
|
3430
|
-
return
|
|
3430
|
+
return v;
|
|
3431
3431
|
},
|
|
3432
3432
|
getRouteRegex: function() {
|
|
3433
3433
|
return h;
|
|
@@ -3437,25 +3437,25 @@ function $N() {
|
|
|
3437
3437
|
}
|
|
3438
3438
|
});
|
|
3439
3439
|
const a = EN(), o = Qb(), i = RN(), r = Xb(), c = /^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;
|
|
3440
|
-
function s(
|
|
3441
|
-
const M =
|
|
3442
|
-
return d(M ? M[2] :
|
|
3443
|
-
}
|
|
3444
|
-
function d(
|
|
3445
|
-
const M =
|
|
3446
|
-
M && (
|
|
3447
|
-
const N =
|
|
3448
|
-
return N && (
|
|
3449
|
-
key:
|
|
3440
|
+
function s(x) {
|
|
3441
|
+
const M = x.match(c);
|
|
3442
|
+
return d(M ? M[2] : x);
|
|
3443
|
+
}
|
|
3444
|
+
function d(x) {
|
|
3445
|
+
const M = x.startsWith("[") && x.endsWith("]");
|
|
3446
|
+
M && (x = x.slice(1, -1));
|
|
3447
|
+
const N = x.startsWith("...");
|
|
3448
|
+
return N && (x = x.slice(3)), {
|
|
3449
|
+
key: x,
|
|
3450
3450
|
repeat: N,
|
|
3451
3451
|
optional: M
|
|
3452
3452
|
};
|
|
3453
3453
|
}
|
|
3454
|
-
function l(
|
|
3454
|
+
function l(x, M, N) {
|
|
3455
3455
|
const f = {};
|
|
3456
3456
|
let w = 1;
|
|
3457
3457
|
const m = [];
|
|
3458
|
-
for (const S of (0, r.removeTrailingSlash)(
|
|
3458
|
+
for (const S of (0, r.removeTrailingSlash)(x).slice(1).split("/")) {
|
|
3459
3459
|
const A = o.INTERCEPTION_ROUTE_MARKERS.find((j) => S.startsWith(j)), P = S.match(c);
|
|
3460
3460
|
if (A && P && P[2]) {
|
|
3461
3461
|
const { key: j, optional: E, repeat: q } = d(P[2]);
|
|
@@ -3471,8 +3471,8 @@ function $N() {
|
|
|
3471
3471
|
repeat: E,
|
|
3472
3472
|
optional: q
|
|
3473
3473
|
}, N && P[1] && m.push("/" + (0, i.escapeStringRegexp)(P[1]));
|
|
3474
|
-
let
|
|
3475
|
-
N && P[1] && (
|
|
3474
|
+
let D = E ? q ? "(?:/(.+?))?" : "/(.+?)" : "/([^/]+?)";
|
|
3475
|
+
N && P[1] && (D = D.substring(1)), m.push(D);
|
|
3476
3476
|
} else
|
|
3477
3477
|
m.push("/" + (0, i.escapeStringRegexp)(S));
|
|
3478
3478
|
M && P && P[3] && m.push((0, i.escapeStringRegexp)(P[3]));
|
|
@@ -3482,9 +3482,9 @@ function $N() {
|
|
|
3482
3482
|
groups: f
|
|
3483
3483
|
};
|
|
3484
3484
|
}
|
|
3485
|
-
function h(
|
|
3485
|
+
function h(x, M) {
|
|
3486
3486
|
let { includeSuffix: N = !1, includePrefix: f = !1, excludeOptionalTrailingSlash: w = !1 } = M === void 0 ? {} : M;
|
|
3487
|
-
const { parameterizedRoute: m, groups: S } = l(
|
|
3487
|
+
const { parameterizedRoute: m, groups: S } = l(x, N, f);
|
|
3488
3488
|
let A = m;
|
|
3489
3489
|
return w || (A += "(?:/)?"), {
|
|
3490
3490
|
re: new RegExp("^" + A + "$"),
|
|
@@ -3492,30 +3492,30 @@ function $N() {
|
|
|
3492
3492
|
};
|
|
3493
3493
|
}
|
|
3494
3494
|
function u() {
|
|
3495
|
-
let
|
|
3495
|
+
let x = 0;
|
|
3496
3496
|
return () => {
|
|
3497
|
-
let M = "", N = ++
|
|
3497
|
+
let M = "", N = ++x;
|
|
3498
3498
|
for (; N > 0; )
|
|
3499
3499
|
M += String.fromCharCode(97 + (N - 1) % 26), N = Math.floor((N - 1) / 26);
|
|
3500
3500
|
return M;
|
|
3501
3501
|
};
|
|
3502
3502
|
}
|
|
3503
|
-
function p(
|
|
3504
|
-
let { interceptionMarker: M, getSafeRouteKey: N, segment: f, routeKeys: w, keyPrefix: m, backreferenceDuplicateKeys: S } =
|
|
3503
|
+
function p(x) {
|
|
3504
|
+
let { interceptionMarker: M, getSafeRouteKey: N, segment: f, routeKeys: w, keyPrefix: m, backreferenceDuplicateKeys: S } = x;
|
|
3505
3505
|
const { key: A, optional: P, repeat: j } = d(f);
|
|
3506
3506
|
let E = A.replace(/\W/g, "");
|
|
3507
3507
|
m && (E = "" + m + E);
|
|
3508
3508
|
let q = !1;
|
|
3509
3509
|
(E.length === 0 || E.length > 30) && (q = !0), isNaN(parseInt(E.slice(0, 1))) || (q = !0), q && (E = N());
|
|
3510
|
-
const
|
|
3510
|
+
const D = E in w;
|
|
3511
3511
|
m ? w[E] = "" + m + A : w[E] = A;
|
|
3512
|
-
const
|
|
3513
|
-
let
|
|
3514
|
-
return
|
|
3512
|
+
const ee = M ? (0, i.escapeStringRegexp)(M) : "";
|
|
3513
|
+
let H;
|
|
3514
|
+
return D && S ? H = "\\k<" + E + ">" : j ? H = "(?<" + E + ">.+?)" : H = "(?<" + E + ">[^/]+?)", P ? "(?:/" + ee + H + ")?" : "/" + ee + H;
|
|
3515
3515
|
}
|
|
3516
|
-
function k(
|
|
3516
|
+
function k(x, M, N, f, w) {
|
|
3517
3517
|
const m = u(), S = {}, A = [];
|
|
3518
|
-
for (const P of (0, r.removeTrailingSlash)(
|
|
3518
|
+
for (const P of (0, r.removeTrailingSlash)(x).slice(1).split("/")) {
|
|
3519
3519
|
const j = o.INTERCEPTION_ROUTE_MARKERS.some((q) => P.startsWith(q)), E = P.match(c);
|
|
3520
3520
|
if (j && E && E[2])
|
|
3521
3521
|
A.push(p({
|
|
@@ -3545,23 +3545,23 @@ function $N() {
|
|
|
3545
3545
|
routeKeys: S
|
|
3546
3546
|
};
|
|
3547
3547
|
}
|
|
3548
|
-
function x
|
|
3548
|
+
function v(x, M) {
|
|
3549
3549
|
var N, f, w;
|
|
3550
|
-
const m = k(
|
|
3550
|
+
const m = k(x, M.prefixRouteKeys, (N = M.includeSuffix) != null ? N : !1, (f = M.includePrefix) != null ? f : !1, (w = M.backreferenceDuplicateKeys) != null ? w : !1);
|
|
3551
3551
|
let S = m.namedParameterizedRoute;
|
|
3552
3552
|
return M.excludeOptionalTrailingSlash || (S += "(?:/)?"), {
|
|
3553
|
-
...h(
|
|
3553
|
+
...h(x, M),
|
|
3554
3554
|
namedRegex: "^" + S + "$",
|
|
3555
3555
|
routeKeys: m.routeKeys
|
|
3556
3556
|
};
|
|
3557
3557
|
}
|
|
3558
|
-
function g(
|
|
3559
|
-
const { parameterizedRoute: N } = l(
|
|
3558
|
+
function g(x, M) {
|
|
3559
|
+
const { parameterizedRoute: N } = l(x, !1, !1), { catchAll: f = !0 } = M;
|
|
3560
3560
|
if (N === "/")
|
|
3561
3561
|
return {
|
|
3562
3562
|
namedRegex: "^/" + (f ? ".*" : "") + "$"
|
|
3563
3563
|
};
|
|
3564
|
-
const { namedParameterizedRoute: w } = k(
|
|
3564
|
+
const { namedParameterizedRoute: w } = k(x, !1, !1, !1, !1);
|
|
3565
3565
|
let m = f ? "(?:(/.*)?)" : "";
|
|
3566
3566
|
return {
|
|
3567
3567
|
namedRegex: "^" + w + m + "$"
|
|
@@ -3593,12 +3593,12 @@ function qN() {
|
|
|
3593
3593
|
const u = Object.keys(l);
|
|
3594
3594
|
return u.every((p) => {
|
|
3595
3595
|
let k = h[p] || "";
|
|
3596
|
-
const { repeat:
|
|
3597
|
-
let
|
|
3598
|
-
return g && (
|
|
3596
|
+
const { repeat: v, optional: g } = l[p];
|
|
3597
|
+
let x = "[" + (v ? "..." : "") + p + "]";
|
|
3598
|
+
return g && (x = (k ? "" : "/") + "[" + x + "]"), v && !Array.isArray(k) && (k = [
|
|
3599
3599
|
k
|
|
3600
3600
|
]), (g || p in h) && // Interpolate group into data URL if present
|
|
3601
|
-
(s = s.replace(
|
|
3601
|
+
(s = s.replace(x, v ? k.map(
|
|
3602
3602
|
// these values should be fully encoded instead of just
|
|
3603
3603
|
// path delimiter escaped since they are being inserted
|
|
3604
3604
|
// into the URL and we expect URL encoded segments
|
|
@@ -3625,24 +3625,24 @@ function TN() {
|
|
|
3625
3625
|
});
|
|
3626
3626
|
const a = Gb(), o = Wb(), i = xN(), r = wv(), c = bv(), s = Yb(), d = AN(), l = qN();
|
|
3627
3627
|
function h(u, p, k) {
|
|
3628
|
-
let
|
|
3629
|
-
const
|
|
3628
|
+
let v, g = typeof p == "string" ? p : (0, o.formatWithValidation)(p);
|
|
3629
|
+
const x = g.match(/^[a-zA-Z]{1,}:\/\//), M = x ? g.slice(x[0].length) : g;
|
|
3630
3630
|
if ((M.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
|
|
3631
3631
|
console.error("Invalid href '" + g + "' passed to next/router in page: '" + u.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
|
|
3632
3632
|
const f = (0, r.normalizeRepeatedSlashes)(M);
|
|
3633
|
-
g = (
|
|
3633
|
+
g = (x ? x[0] : "") + f;
|
|
3634
3634
|
}
|
|
3635
3635
|
if (!(0, s.isLocalURL)(g))
|
|
3636
3636
|
return k ? [
|
|
3637
3637
|
g
|
|
3638
3638
|
] : g;
|
|
3639
3639
|
try {
|
|
3640
|
-
|
|
3640
|
+
v = new URL(g.startsWith("#") ? u.asPath : u.pathname, "http://n");
|
|
3641
3641
|
} catch {
|
|
3642
|
-
|
|
3642
|
+
v = new URL("/", "http://n");
|
|
3643
3643
|
}
|
|
3644
3644
|
try {
|
|
3645
|
-
const f = new URL(g,
|
|
3645
|
+
const f = new URL(g, v);
|
|
3646
3646
|
f.pathname = (0, c.normalizePathTrailingSlash)(f.pathname);
|
|
3647
3647
|
let w = "";
|
|
3648
3648
|
if ((0, d.isDynamicRoute)(f.pathname) && f.searchParams && k) {
|
|
@@ -3653,7 +3653,7 @@ function TN() {
|
|
|
3653
3653
|
query: (0, i.omit)(S, P)
|
|
3654
3654
|
}));
|
|
3655
3655
|
}
|
|
3656
|
-
const m = f.origin ===
|
|
3656
|
+
const m = f.origin === v.origin ? f.href.slice(f.origin.length) : f.href;
|
|
3657
3657
|
return k ? [
|
|
3658
3658
|
m,
|
|
3659
3659
|
w || m
|
|
@@ -3777,27 +3777,27 @@ function zN() {
|
|
|
3777
3777
|
const u = {
|
|
3778
3778
|
root: h.root || null,
|
|
3779
3779
|
margin: h.rootMargin || ""
|
|
3780
|
-
}, p = c.find((
|
|
3780
|
+
}, p = c.find((x) => x.root === u.root && x.margin === u.margin);
|
|
3781
3781
|
let k;
|
|
3782
3782
|
if (p && (k = r.get(p), k))
|
|
3783
3783
|
return k;
|
|
3784
|
-
const
|
|
3785
|
-
|
|
3786
|
-
const N =
|
|
3784
|
+
const v = /* @__PURE__ */ new Map(), g = new IntersectionObserver((x) => {
|
|
3785
|
+
x.forEach((M) => {
|
|
3786
|
+
const N = v.get(M.target), f = M.isIntersecting || M.intersectionRatio > 0;
|
|
3787
3787
|
N && f && N(f);
|
|
3788
3788
|
});
|
|
3789
3789
|
}, h);
|
|
3790
3790
|
return k = {
|
|
3791
3791
|
id: u,
|
|
3792
3792
|
observer: g,
|
|
3793
|
-
elements:
|
|
3793
|
+
elements: v
|
|
3794
3794
|
}, c.push(u), r.set(u, k), k;
|
|
3795
3795
|
}
|
|
3796
3796
|
function d(h, u, p) {
|
|
3797
|
-
const { id: k, observer:
|
|
3798
|
-
return g.set(h, u),
|
|
3799
|
-
if (g.delete(h),
|
|
3800
|
-
|
|
3797
|
+
const { id: k, observer: v, elements: g } = s(p);
|
|
3798
|
+
return g.set(h, u), v.observe(h), function() {
|
|
3799
|
+
if (g.delete(h), v.unobserve(h), g.size === 0) {
|
|
3800
|
+
v.disconnect(), r.delete(k);
|
|
3801
3801
|
const M = c.findIndex((N) => N.root === k.root && N.margin === k.margin);
|
|
3802
3802
|
M > -1 && c.splice(M, 1);
|
|
3803
3803
|
}
|
|
@@ -3805,31 +3805,31 @@ function zN() {
|
|
|
3805
3805
|
}
|
|
3806
3806
|
function l(h) {
|
|
3807
3807
|
let { rootRef: u, rootMargin: p, disabled: k } = h;
|
|
3808
|
-
const
|
|
3808
|
+
const v = k || !i, [g, x] = (0, a.useState)(!1), M = (0, a.useRef)(null), N = (0, a.useCallback)((w) => {
|
|
3809
3809
|
M.current = w;
|
|
3810
3810
|
}, []);
|
|
3811
3811
|
(0, a.useEffect)(() => {
|
|
3812
3812
|
if (i) {
|
|
3813
|
-
if (
|
|
3813
|
+
if (v || g) return;
|
|
3814
3814
|
const w = M.current;
|
|
3815
3815
|
if (w && w.tagName)
|
|
3816
|
-
return d(w, (S) => S &&
|
|
3816
|
+
return d(w, (S) => S && x(S), {
|
|
3817
3817
|
root: u == null ? void 0 : u.current,
|
|
3818
3818
|
rootMargin: p
|
|
3819
3819
|
});
|
|
3820
3820
|
} else if (!g) {
|
|
3821
|
-
const w = (0, o.requestIdleCallback)(() =>
|
|
3821
|
+
const w = (0, o.requestIdleCallback)(() => x(!0));
|
|
3822
3822
|
return () => (0, o.cancelIdleCallback)(w);
|
|
3823
3823
|
}
|
|
3824
3824
|
}, [
|
|
3825
|
-
|
|
3825
|
+
v,
|
|
3826
3826
|
p,
|
|
3827
3827
|
u,
|
|
3828
3828
|
g,
|
|
3829
3829
|
M.current
|
|
3830
3830
|
]);
|
|
3831
3831
|
const f = (0, a.useCallback)(() => {
|
|
3832
|
-
|
|
3832
|
+
x(!1);
|
|
3833
3833
|
}, []);
|
|
3834
3834
|
return [
|
|
3835
3835
|
N,
|
|
@@ -3951,8 +3951,8 @@ function UN() {
|
|
|
3951
3951
|
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
3952
3952
|
const l = ON().normalizeLocalePath, h = BN().detectDomainLocale, u = c || l(r, s).detectedLocale, p = h(d, void 0, u);
|
|
3953
3953
|
if (p) {
|
|
3954
|
-
const k = "http" + (p.http ? "" : "s") + "://",
|
|
3955
|
-
return "" + k + p.domain + (0, a.normalizePathTrailingSlash)("" + o +
|
|
3954
|
+
const k = "http" + (p.http ? "" : "s") + "://", v = u === p.defaultLocale ? "" : "/" + u;
|
|
3955
|
+
return "" + k + p.domain + (0, a.normalizePathTrailingSlash)("" + o + v + r);
|
|
3956
3956
|
}
|
|
3957
3957
|
return !1;
|
|
3958
3958
|
} else
|
|
@@ -4008,9 +4008,9 @@ function WN() {
|
|
|
4008
4008
|
value: !0
|
|
4009
4009
|
});
|
|
4010
4010
|
function a(E, q) {
|
|
4011
|
-
for (var
|
|
4011
|
+
for (var D in q) Object.defineProperty(E, D, {
|
|
4012
4012
|
enumerable: !0,
|
|
4013
|
-
get: q[
|
|
4013
|
+
get: q[D]
|
|
4014
4014
|
});
|
|
4015
4015
|
}
|
|
4016
4016
|
a(t, {
|
|
@@ -4021,53 +4021,53 @@ function WN() {
|
|
|
4021
4021
|
return P;
|
|
4022
4022
|
}
|
|
4023
4023
|
});
|
|
4024
|
-
const o = /* @__PURE__ */ Lv(), i = xv(), r = /* @__PURE__ */ o._(Fe), c = TN(), s = Yb(), d = Wb(), l = wv(), h = HN(), u = Db(), p = zN(), k = UN(),
|
|
4025
|
-
function N(E, q,
|
|
4024
|
+
const o = /* @__PURE__ */ Lv(), i = xv(), r = /* @__PURE__ */ o._(Fe), c = TN(), s = Yb(), d = Wb(), l = wv(), h = HN(), u = Db(), p = zN(), k = UN(), v = ZN(), g = Bb(), x = GN(), M = /* @__PURE__ */ new Set();
|
|
4025
|
+
function N(E, q, D, ee) {
|
|
4026
4026
|
if (!(typeof window > "u") && (0, s.isLocalURL)(q)) {
|
|
4027
|
-
if (!
|
|
4028
|
-
const
|
|
4027
|
+
if (!ee.bypassPrefetchedCheck) {
|
|
4028
|
+
const H = (
|
|
4029
4029
|
// Let the link's locale prop override the default router locale.
|
|
4030
|
-
typeof
|
|
4031
|
-
),
|
|
4032
|
-
if (M.has(
|
|
4030
|
+
typeof ee.locale < "u" ? ee.locale : "locale" in E ? E.locale : void 0
|
|
4031
|
+
), Y = q + "%" + D + "%" + H;
|
|
4032
|
+
if (M.has(Y))
|
|
4033
4033
|
return;
|
|
4034
|
-
M.add(
|
|
4034
|
+
M.add(Y);
|
|
4035
4035
|
}
|
|
4036
|
-
E.prefetch(q,
|
|
4036
|
+
E.prefetch(q, D, ee).catch((H) => {
|
|
4037
4037
|
if (process.env.NODE_ENV !== "production")
|
|
4038
|
-
throw
|
|
4038
|
+
throw H;
|
|
4039
4039
|
});
|
|
4040
4040
|
}
|
|
4041
4041
|
}
|
|
4042
4042
|
function f(E) {
|
|
4043
|
-
const
|
|
4044
|
-
return
|
|
4043
|
+
const D = E.currentTarget.getAttribute("target");
|
|
4044
|
+
return D && D !== "_self" || E.metaKey || E.ctrlKey || E.shiftKey || E.altKey || // triggers resource download
|
|
4045
4045
|
E.nativeEvent && E.nativeEvent.which === 2;
|
|
4046
4046
|
}
|
|
4047
|
-
function w(E, q,
|
|
4048
|
-
const { nodeName:
|
|
4049
|
-
if (
|
|
4047
|
+
function w(E, q, D, ee, H, Y, Q, oe, ne) {
|
|
4048
|
+
const { nodeName: J } = E.currentTarget;
|
|
4049
|
+
if (J.toUpperCase() === "A" && f(E) || E.currentTarget.hasAttribute("download"))
|
|
4050
4050
|
return;
|
|
4051
|
-
if (!(0, s.isLocalURL)(
|
|
4052
|
-
|
|
4051
|
+
if (!(0, s.isLocalURL)(D)) {
|
|
4052
|
+
H && (E.preventDefault(), location.replace(D));
|
|
4053
4053
|
return;
|
|
4054
4054
|
}
|
|
4055
4055
|
E.preventDefault(), (() => {
|
|
4056
4056
|
if (ne) {
|
|
4057
|
-
let
|
|
4057
|
+
let F = !1;
|
|
4058
4058
|
if (ne({
|
|
4059
4059
|
preventDefault: () => {
|
|
4060
|
-
|
|
4060
|
+
F = !0;
|
|
4061
4061
|
}
|
|
4062
|
-
}),
|
|
4062
|
+
}), F)
|
|
4063
4063
|
return;
|
|
4064
4064
|
}
|
|
4065
4065
|
const T = Q ?? !0;
|
|
4066
|
-
"beforePopState" in q ? q[
|
|
4067
|
-
shallow:
|
|
4066
|
+
"beforePopState" in q ? q[H ? "replace" : "push"](D, ee, {
|
|
4067
|
+
shallow: Y,
|
|
4068
4068
|
locale: oe,
|
|
4069
4069
|
scroll: T
|
|
4070
|
-
}) : q[
|
|
4070
|
+
}) : q[H ? "replace" : "push"](ee || D, {
|
|
4071
4071
|
scroll: T
|
|
4072
4072
|
});
|
|
4073
4073
|
})();
|
|
@@ -4075,13 +4075,13 @@ function WN() {
|
|
|
4075
4075
|
function m(E) {
|
|
4076
4076
|
return typeof E == "string" ? E : (0, d.formatUrl)(E);
|
|
4077
4077
|
}
|
|
4078
|
-
const S = /* @__PURE__ */ r.default.forwardRef(function(q,
|
|
4079
|
-
let
|
|
4080
|
-
const { href:
|
|
4081
|
-
|
|
4082
|
-
children:
|
|
4078
|
+
const S = /* @__PURE__ */ r.default.forwardRef(function(q, D) {
|
|
4079
|
+
let ee;
|
|
4080
|
+
const { href: H, as: Y, children: Q, prefetch: oe = null, passHref: ne, replace: J, shallow: C, scroll: R, locale: T, onClick: F, onNavigate: V, onMouseEnter: K, onTouchStart: Z, legacyBehavior: b = !1, ...U } = q;
|
|
4081
|
+
ee = Q, b && (typeof ee == "string" || typeof ee == "number") && (ee = /* @__PURE__ */ (0, i.jsx)("a", {
|
|
4082
|
+
children: ee
|
|
4083
4083
|
}));
|
|
4084
|
-
const
|
|
4084
|
+
const z = r.default.useContext(u.RouterContext), W = oe !== !1;
|
|
4085
4085
|
if (process.env.NODE_ENV !== "production") {
|
|
4086
4086
|
let de = function($) {
|
|
4087
4087
|
return Object.defineProperty(new Error("Failed prop type: The prop `" + $.key + "` expects a " + $.expected + " in `<Link>`, but got `" + $.actual + "` instead." + (typeof window < "u" ? `
|
|
@@ -4145,54 +4145,54 @@ Open your browser's console to view the Component stack trace.` : "")), "__NEXT_
|
|
|
4145
4145
|
});
|
|
4146
4146
|
}
|
|
4147
4147
|
const { href: I, as: L } = r.default.useMemo(() => {
|
|
4148
|
-
if (!
|
|
4149
|
-
const B = m(
|
|
4148
|
+
if (!z) {
|
|
4149
|
+
const B = m(H);
|
|
4150
4150
|
return {
|
|
4151
4151
|
href: B,
|
|
4152
|
-
as:
|
|
4152
|
+
as: Y ? m(Y) : B
|
|
4153
4153
|
};
|
|
4154
4154
|
}
|
|
4155
|
-
const [de, fe] = (0, c.resolveHref)(
|
|
4155
|
+
const [de, fe] = (0, c.resolveHref)(z, H, !0);
|
|
4156
4156
|
return {
|
|
4157
4157
|
href: de,
|
|
4158
|
-
as:
|
|
4158
|
+
as: Y ? (0, c.resolveHref)(z, Y) : fe || de
|
|
4159
4159
|
};
|
|
4160
4160
|
}, [
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
]), ke = r.default.useRef(I),
|
|
4161
|
+
z,
|
|
4162
|
+
H,
|
|
4163
|
+
Y
|
|
4164
|
+
]), ke = r.default.useRef(I), X = r.default.useRef(L);
|
|
4165
4165
|
let G;
|
|
4166
4166
|
if (b)
|
|
4167
4167
|
if (process.env.NODE_ENV === "development") {
|
|
4168
|
-
|
|
4168
|
+
F && console.warn('"onClick" was passed to <Link> with `href` of `' + H + '` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'), K && console.warn('"onMouseEnter" was passed to <Link> with `href` of `' + H + '` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');
|
|
4169
4169
|
try {
|
|
4170
|
-
G = r.default.Children.only(
|
|
4170
|
+
G = r.default.Children.only(ee);
|
|
4171
4171
|
} catch {
|
|
4172
|
-
throw
|
|
4172
|
+
throw ee ? Object.defineProperty(new Error("Multiple children were passed to <Link> with `href` of `" + H + "` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children" + (typeof window < "u" ? `
|
|
4173
4173
|
Open your browser's console to view the Component stack trace.` : "")), "__NEXT_ERROR_CODE", {
|
|
4174
4174
|
value: "E266",
|
|
4175
4175
|
enumerable: !1,
|
|
4176
4176
|
configurable: !0
|
|
4177
|
-
}) : Object.defineProperty(new Error("No children were passed to <Link> with `href` of `" +
|
|
4177
|
+
}) : Object.defineProperty(new Error("No children were passed to <Link> with `href` of `" + H + "` but one child is required https://nextjs.org/docs/messages/link-no-children"), "__NEXT_ERROR_CODE", {
|
|
4178
4178
|
value: "E320",
|
|
4179
4179
|
enumerable: !1,
|
|
4180
4180
|
configurable: !0
|
|
4181
4181
|
});
|
|
4182
4182
|
}
|
|
4183
4183
|
} else
|
|
4184
|
-
G = r.default.Children.only(
|
|
4185
|
-
else if (process.env.NODE_ENV === "development" && (
|
|
4184
|
+
G = r.default.Children.only(ee);
|
|
4185
|
+
else if (process.env.NODE_ENV === "development" && (ee == null ? void 0 : ee.type) === "a")
|
|
4186
4186
|
throw Object.defineProperty(new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
|
|
4187
4187
|
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`), "__NEXT_ERROR_CODE", {
|
|
4188
4188
|
value: "E209",
|
|
4189
4189
|
enumerable: !1,
|
|
4190
4190
|
configurable: !0
|
|
4191
4191
|
});
|
|
4192
|
-
const ie = b ? G && typeof G == "object" && G.ref :
|
|
4192
|
+
const ie = b ? G && typeof G == "object" && G.ref : D, [Ie, ve, Me] = (0, p.useIntersection)({
|
|
4193
4193
|
rootMargin: "200px"
|
|
4194
4194
|
}), Pe = r.default.useCallback((de) => {
|
|
4195
|
-
(
|
|
4195
|
+
(X.current !== L || ke.current !== I) && (Me(), X.current = L, ke.current = I), Ie(de);
|
|
4196
4196
|
}, [
|
|
4197
4197
|
L,
|
|
4198
4198
|
I,
|
|
@@ -4200,7 +4200,7 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
4200
4200
|
Ie
|
|
4201
4201
|
]), ge = (0, g.useMergedRef)(Pe, ie);
|
|
4202
4202
|
r.default.useEffect(() => {
|
|
4203
|
-
process.env.NODE_ENV === "production" &&
|
|
4203
|
+
process.env.NODE_ENV === "production" && z && (!ve || !W || N(z, I, L, {
|
|
4204
4204
|
locale: T
|
|
4205
4205
|
}));
|
|
4206
4206
|
}, [
|
|
@@ -4209,8 +4209,8 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
4209
4209
|
ve,
|
|
4210
4210
|
T,
|
|
4211
4211
|
W,
|
|
4212
|
-
|
|
4213
|
-
|
|
4212
|
+
z == null ? void 0 : z.locale,
|
|
4213
|
+
z
|
|
4214
4214
|
]);
|
|
4215
4215
|
const ae = {
|
|
4216
4216
|
ref: ge,
|
|
@@ -4221,10 +4221,10 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
4221
4221
|
enumerable: !1,
|
|
4222
4222
|
configurable: !0
|
|
4223
4223
|
});
|
|
4224
|
-
!b && typeof
|
|
4224
|
+
!b && typeof F == "function" && F(de), b && G.props && typeof G.props.onClick == "function" && G.props.onClick(de), z && (de.defaultPrevented || w(de, z, I, L, J, C, R, T, V));
|
|
4225
4225
|
},
|
|
4226
4226
|
onMouseEnter(de) {
|
|
4227
|
-
!b && typeof
|
|
4227
|
+
!b && typeof K == "function" && K(de), b && G.props && typeof G.props.onMouseEnter == "function" && G.props.onMouseEnter(de), z && N(z, I, L, {
|
|
4228
4228
|
locale: T,
|
|
4229
4229
|
priority: !0,
|
|
4230
4230
|
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
@@ -4232,7 +4232,7 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
4232
4232
|
});
|
|
4233
4233
|
},
|
|
4234
4234
|
onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? void 0 : function(fe) {
|
|
4235
|
-
!b && typeof Z == "function" && Z(fe), b && G.props && typeof G.props.onTouchStart == "function" && G.props.onTouchStart(fe),
|
|
4235
|
+
!b && typeof Z == "function" && Z(fe), b && G.props && typeof G.props.onTouchStart == "function" && G.props.onTouchStart(fe), z && N(z, I, L, {
|
|
4236
4236
|
locale: T,
|
|
4237
4237
|
priority: !0,
|
|
4238
4238
|
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
@@ -4243,17 +4243,17 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
4243
4243
|
if ((0, l.isAbsoluteUrl)(L))
|
|
4244
4244
|
ae.href = L;
|
|
4245
4245
|
else if (!b || ne || G.type === "a" && !("href" in G.props)) {
|
|
4246
|
-
const de = typeof T < "u" ? T :
|
|
4247
|
-
ae.href = fe || (0,
|
|
4246
|
+
const de = typeof T < "u" ? T : z == null ? void 0 : z.locale, fe = (z == null ? void 0 : z.isLocaleDomain) && (0, k.getDomainLocale)(L, de, z == null ? void 0 : z.locales, z == null ? void 0 : z.domainLocales);
|
|
4247
|
+
ae.href = fe || (0, v.addBasePath)((0, h.addLocale)(L, de, z == null ? void 0 : z.defaultLocale));
|
|
4248
4248
|
}
|
|
4249
|
-
return b ? (process.env.NODE_ENV === "development" && (0,
|
|
4249
|
+
return b ? (process.env.NODE_ENV === "development" && (0, x.errorOnce)(`\`legacyBehavior\` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:
|
|
4250
4250
|
|
|
4251
4251
|
npx @next/codemod@latest new-link .
|
|
4252
4252
|
|
|
4253
4253
|
Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`), /* @__PURE__ */ r.default.cloneElement(G, ae)) : /* @__PURE__ */ (0, i.jsx)("a", {
|
|
4254
4254
|
...U,
|
|
4255
4255
|
...ae,
|
|
4256
|
-
children:
|
|
4256
|
+
children: ee
|
|
4257
4257
|
});
|
|
4258
4258
|
}), A = /* @__PURE__ */ (0, r.createContext)({
|
|
4259
4259
|
// We do not support link status in the Pages Router, so we always return false
|
|
@@ -33269,7 +33269,7 @@ const jne = "button-module__group___YdABW", Hne = "button-module__block___r2gUN"
|
|
|
33269
33269
|
isLoading: u = !1,
|
|
33270
33270
|
isSkeleton: p = !1,
|
|
33271
33271
|
hasHover: k = !0,
|
|
33272
|
-
...
|
|
33272
|
+
...v
|
|
33273
33273
|
}) => {
|
|
33274
33274
|
const g = /* @__PURE__ */ _.jsx(_.Fragment, { children: /* @__PURE__ */ _.jsxs("span", { className: je.content, children: [
|
|
33275
33275
|
r && /* @__PURE__ */ _.jsx(
|
|
@@ -33289,7 +33289,7 @@ const jne = "button-module__group___YdABW", Hne = "button-module__block___r2gUN"
|
|
|
33289
33289
|
className: je.icon
|
|
33290
33290
|
}
|
|
33291
33291
|
)
|
|
33292
|
-
] }) }),
|
|
33292
|
+
] }) }), x = se(
|
|
33293
33293
|
je.button,
|
|
33294
33294
|
je[`size-${o}`],
|
|
33295
33295
|
je[`variant-${i}`],
|
|
@@ -33301,44 +33301,45 @@ const jne = "button-module__group___YdABW", Hne = "button-module__block___r2gUN"
|
|
|
33301
33301
|
k && je["has-hover"],
|
|
33302
33302
|
((r || c) && !e || l) && je["has-icon"]
|
|
33303
33303
|
);
|
|
33304
|
-
return t ? p ? /* @__PURE__ */ _.jsx("div", { className:
|
|
33304
|
+
return t ? p ? /* @__PURE__ */ _.jsx("div", { className: x, children: g }) : a === "_blank" ? /* @__PURE__ */ _.jsx(
|
|
33305
33305
|
"a",
|
|
33306
33306
|
{
|
|
33307
33307
|
href: t,
|
|
33308
33308
|
target: "_blank",
|
|
33309
33309
|
rel: "noopener noreferrer",
|
|
33310
|
-
className:
|
|
33310
|
+
className: x,
|
|
33311
33311
|
children: g
|
|
33312
33312
|
}
|
|
33313
33313
|
) : /* @__PURE__ */ _.jsx(
|
|
33314
33314
|
Xn,
|
|
33315
33315
|
{
|
|
33316
33316
|
href: t,
|
|
33317
|
-
className:
|
|
33317
|
+
className: x,
|
|
33318
33318
|
children: g
|
|
33319
33319
|
}
|
|
33320
33320
|
) : /* @__PURE__ */ _.jsx(
|
|
33321
33321
|
"button",
|
|
33322
33322
|
{
|
|
33323
|
-
className:
|
|
33323
|
+
className: x,
|
|
33324
33324
|
type: "button",
|
|
33325
33325
|
disabled: h || u || p,
|
|
33326
|
+
"aria-label": !e && r === "X" ? "Close" : void 0,
|
|
33326
33327
|
onClick: (M) => {
|
|
33327
|
-
u ||
|
|
33328
|
+
u || v.onClick && v.onClick(M);
|
|
33328
33329
|
},
|
|
33329
|
-
...
|
|
33330
|
+
...v,
|
|
33330
33331
|
children: g
|
|
33331
33332
|
}
|
|
33332
33333
|
);
|
|
33333
33334
|
}, fv = ({ children: e, className: t, justify: a }) => /* @__PURE__ */ _.jsx("div", { className: se(je.group, t, a && je[`justify-${a}`]), children: e }), Ide = ({ id: e, hasHeader: t = !1 }) => {
|
|
33334
|
-
const a = n1(), o = a ? "" :
|
|
33335
|
+
const a = n1(), o = a ? "" : $e.skeleton;
|
|
33335
33336
|
return /* @__PURE__ */ _.jsx(
|
|
33336
33337
|
"div",
|
|
33337
33338
|
{
|
|
33338
33339
|
id: e,
|
|
33339
|
-
className: se(
|
|
33340
|
-
children: /* @__PURE__ */ _.jsx("div", { className:
|
|
33341
|
-
/* @__PURE__ */ _.jsx("div", { className:
|
|
33340
|
+
className: se($e.banner, t && $e.header),
|
|
33341
|
+
children: /* @__PURE__ */ _.jsx("div", { className: $e.container, children: /* @__PURE__ */ _.jsxs("div", { className: $e.content, children: [
|
|
33342
|
+
/* @__PURE__ */ _.jsx("div", { className: $e.image, children: /* @__PURE__ */ _.jsx("div", { className: se($e["image-wrap"]), children: a ? /* @__PURE__ */ _.jsxs(_.Fragment, { children: [
|
|
33342
33343
|
/* @__PURE__ */ _.jsx(
|
|
33343
33344
|
Ub,
|
|
33344
33345
|
{
|
|
@@ -33353,18 +33354,18 @@ const jne = "button-module__group___YdABW", Hne = "button-module__block___r2gUN"
|
|
|
33353
33354
|
/* @__PURE__ */ _.jsx(
|
|
33354
33355
|
Zb,
|
|
33355
33356
|
{
|
|
33356
|
-
className:
|
|
33357
|
+
className: $e.social,
|
|
33357
33358
|
isMounted: a
|
|
33358
33359
|
}
|
|
33359
33360
|
)
|
|
33360
|
-
] }) : /* @__PURE__ */ _.jsx("div", { className:
|
|
33361
|
-
/* @__PURE__ */ _.jsxs("div", { className:
|
|
33361
|
+
] }) : /* @__PURE__ */ _.jsx("div", { className: $e.skeleton }) }) }),
|
|
33362
|
+
/* @__PURE__ */ _.jsxs("div", { className: $e.text, children: [
|
|
33362
33363
|
/* @__PURE__ */ _.jsxs("h1", { children: [
|
|
33363
|
-
/* @__PURE__ */ _.jsx("span", { className: se(
|
|
33364
|
+
/* @__PURE__ */ _.jsx("span", { className: se($e.primary, o), children: "Hi, I'm Michael" }),
|
|
33364
33365
|
/* @__PURE__ */ _.jsx("span", { className: o, children: "A Front End Developer" })
|
|
33365
33366
|
] }),
|
|
33366
33367
|
/* @__PURE__ */ _.jsx("h2", { className: o, children: "With over a decade in the industry creating websites" }),
|
|
33367
|
-
/* @__PURE__ */ _.jsxs(fv, { className:
|
|
33368
|
+
/* @__PURE__ */ _.jsxs(fv, { className: $e["button-group"], children: [
|
|
33368
33369
|
/* @__PURE__ */ _.jsx(
|
|
33369
33370
|
i1,
|
|
33370
33371
|
{
|
|
@@ -33373,7 +33374,7 @@ const jne = "button-module__group___YdABW", Hne = "button-module__block___r2gUN"
|
|
|
33373
33374
|
variant: "primary",
|
|
33374
33375
|
size: "md",
|
|
33375
33376
|
isSkeleton: !a,
|
|
33376
|
-
className: a
|
|
33377
|
+
className: se(!a && $e.skeleton)
|
|
33377
33378
|
}
|
|
33378
33379
|
),
|
|
33379
33380
|
/* @__PURE__ */ _.jsx(
|
|
@@ -33385,7 +33386,7 @@ const jne = "button-module__group___YdABW", Hne = "button-module__block___r2gUN"
|
|
|
33385
33386
|
variant: "default",
|
|
33386
33387
|
size: "md",
|
|
33387
33388
|
isSkeleton: !a,
|
|
33388
|
-
className: a
|
|
33389
|
+
className: se(!a && $e.skeleton, $e.button)
|
|
33389
33390
|
}
|
|
33390
33391
|
)
|
|
33391
33392
|
] })
|
|
@@ -33989,15 +33990,15 @@ function mS(e, t) {
|
|
|
33989
33990
|
delta: 0,
|
|
33990
33991
|
timestamp: 0,
|
|
33991
33992
|
isProcessing: !1
|
|
33992
|
-
}, r = () => a = !0, c = to.reduce((f, w) => (f[w] = yoe(r, t ? w : void 0), f), {}), { setup: s, read: d, resolveKeyframes: l, preUpdate: h, update: u, preRender: p, render: k, postRender:
|
|
33993
|
+
}, r = () => a = !0, c = to.reduce((f, w) => (f[w] = yoe(r, t ? w : void 0), f), {}), { setup: s, read: d, resolveKeyframes: l, preUpdate: h, update: u, preRender: p, render: k, postRender: v } = c, g = () => {
|
|
33993
33994
|
const f = s1.useManualTiming ? i.timestamp : performance.now();
|
|
33994
|
-
a = !1, s1.useManualTiming || (i.delta = o ? 1e3 / 60 : Math.max(Math.min(f - i.timestamp, koe), 1)), i.timestamp = f, i.isProcessing = !0, s.process(i), d.process(i), l.process(i), h.process(i), u.process(i), p.process(i), k.process(i),
|
|
33995
|
-
},
|
|
33995
|
+
a = !1, s1.useManualTiming || (i.delta = o ? 1e3 / 60 : Math.max(Math.min(f - i.timestamp, koe), 1)), i.timestamp = f, i.isProcessing = !0, s.process(i), d.process(i), l.process(i), h.process(i), u.process(i), p.process(i), k.process(i), v.process(i), i.isProcessing = !1, a && t && (o = !1, e(g));
|
|
33996
|
+
}, x = () => {
|
|
33996
33997
|
a = !0, o = !0, i.isProcessing || e(g);
|
|
33997
33998
|
};
|
|
33998
33999
|
return { schedule: to.reduce((f, w) => {
|
|
33999
34000
|
const m = c[w];
|
|
34000
|
-
return f[w] = (S, A = !1, P = !1) => (a ||
|
|
34001
|
+
return f[w] = (S, A = !1, P = !1) => (a || x(), m.schedule(S, A, P)), f;
|
|
34001
34002
|
}, {}), cancel: (f) => {
|
|
34002
34003
|
for (let w = 0; w < to.length; w++)
|
|
34003
34004
|
c[to[w]].cancel(f);
|
|
@@ -34275,11 +34276,11 @@ function Foe({ duration: e = xe.duration, bounce: t = xe.bounce, velocity: a = x
|
|
|
34275
34276
|
pa(e <= /* @__PURE__ */ Xe(xe.maxDuration), "Spring duration must be 10 seconds or less");
|
|
34276
34277
|
let c = 1 - t;
|
|
34277
34278
|
c = c1(xe.minDamping, xe.maxDamping, c), e = c1(xe.minDuration, xe.maxDuration, /* @__PURE__ */ e1(e)), c < 1 ? (i = (l) => {
|
|
34278
|
-
const h = l * c, u = h * e, p = h - a, k = ZC(l, c),
|
|
34279
|
-
return bC - p / k *
|
|
34279
|
+
const h = l * c, u = h * e, p = h - a, k = ZC(l, c), v = Math.exp(-u);
|
|
34280
|
+
return bC - p / k * v;
|
|
34280
34281
|
}, r = (l) => {
|
|
34281
|
-
const u = l * c * e, p = u * a + a, k = Math.pow(c, 2) * Math.pow(l, 2) * e,
|
|
34282
|
-
return (-i(l) + bC > 0 ? -1 : 1) * ((p - k) *
|
|
34282
|
+
const u = l * c * e, p = u * a + a, k = Math.pow(c, 2) * Math.pow(l, 2) * e, v = Math.exp(-u), g = ZC(Math.pow(l, 2), c);
|
|
34283
|
+
return (-i(l) + bC > 0 ? -1 : 1) * ((p - k) * v) / g;
|
|
34283
34284
|
}) : (i = (l) => {
|
|
34284
34285
|
const h = Math.exp(-l * e), u = (l - a) * e + 1;
|
|
34285
34286
|
return -bC + h * u;
|
|
@@ -34355,22 +34356,22 @@ function gv(e = xe.visualDuration, t = xe.bounce) {
|
|
|
34355
34356
|
const r = a.keyframes[0], c = a.keyframes[a.keyframes.length - 1], s = { done: !1, value: r }, { stiffness: d, damping: l, mass: h, duration: u, velocity: p, isResolvedFromDuration: k } = Woe({
|
|
34356
34357
|
...a,
|
|
34357
34358
|
velocity: -/* @__PURE__ */ e1(a.velocity || 0)
|
|
34358
|
-
}),
|
|
34359
|
+
}), v = p || 0, g = l / (2 * Math.sqrt(d * h)), x = c - r, M = /* @__PURE__ */ e1(Math.sqrt(d / h)), N = Math.abs(x) < 5;
|
|
34359
34360
|
o || (o = N ? xe.restSpeed.granular : xe.restSpeed.default), i || (i = N ? xe.restDelta.granular : xe.restDelta.default);
|
|
34360
34361
|
let f;
|
|
34361
34362
|
if (g < 1) {
|
|
34362
34363
|
const m = ZC(M, g);
|
|
34363
34364
|
f = (S) => {
|
|
34364
34365
|
const A = Math.exp(-g * M * S);
|
|
34365
|
-
return c - A * ((
|
|
34366
|
+
return c - A * ((v + g * M * x) / m * Math.sin(m * S) + x * Math.cos(m * S));
|
|
34366
34367
|
};
|
|
34367
34368
|
} else if (g === 1)
|
|
34368
|
-
f = (m) => c - Math.exp(-M * m) * (
|
|
34369
|
+
f = (m) => c - Math.exp(-M * m) * (x + (v + M * x) * m);
|
|
34369
34370
|
else {
|
|
34370
34371
|
const m = M * Math.sqrt(g * g - 1);
|
|
34371
34372
|
f = (S) => {
|
|
34372
34373
|
const A = Math.exp(-g * M * S), P = Math.min(m * S, 300);
|
|
34373
|
-
return c - A * ((
|
|
34374
|
+
return c - A * ((v + g * M * x) * Math.sinh(P) + m * x * Math.cosh(P)) / m;
|
|
34374
34375
|
};
|
|
34375
34376
|
}
|
|
34376
34377
|
const w = {
|
|
@@ -34380,8 +34381,8 @@ function gv(e = xe.visualDuration, t = xe.bounce) {
|
|
|
34380
34381
|
if (k)
|
|
34381
34382
|
s.done = m >= u;
|
|
34382
34383
|
else {
|
|
34383
|
-
let A = m === 0 ?
|
|
34384
|
-
g < 1 && (A = m === 0 ? /* @__PURE__ */ Xe(
|
|
34384
|
+
let A = m === 0 ? v : 0;
|
|
34385
|
+
g < 1 && (A = m === 0 ? /* @__PURE__ */ Xe(v) : SS(f, m, S));
|
|
34385
34386
|
const P = Math.abs(A) <= o, j = Math.abs(c - S) <= i;
|
|
34386
34387
|
s.done = P && j;
|
|
34387
34388
|
}
|
|
@@ -34404,10 +34405,10 @@ function GC({ keyframes: e, velocity: t = 0, power: a = 0.8, timeConstant: o = 3
|
|
|
34404
34405
|
const u = e[0], p = {
|
|
34405
34406
|
done: !1,
|
|
34406
34407
|
value: u
|
|
34407
|
-
}, k = (P) => s !== void 0 && P < s || d !== void 0 && P > d,
|
|
34408
|
+
}, k = (P) => s !== void 0 && P < s || d !== void 0 && P > d, v = (P) => s === void 0 ? d : d === void 0 || Math.abs(s - P) < Math.abs(d - P) ? s : d;
|
|
34408
34409
|
let g = a * t;
|
|
34409
|
-
const
|
|
34410
|
-
M !==
|
|
34410
|
+
const x = u + g, M = c === void 0 ? x : c(x);
|
|
34411
|
+
M !== x && (g = M - u);
|
|
34411
34412
|
const N = (P) => -g * Math.exp(-P / o), f = (P) => M + N(P), w = (P) => {
|
|
34412
34413
|
const j = N(P), E = f(P);
|
|
34413
34414
|
p.done = Math.abs(j) <= l, p.value = p.done ? M : E;
|
|
@@ -34415,7 +34416,7 @@ function GC({ keyframes: e, velocity: t = 0, power: a = 0.8, timeConstant: o = 3
|
|
|
34415
34416
|
let m, S;
|
|
34416
34417
|
const A = (P) => {
|
|
34417
34418
|
k(p.value) && (m = P, S = gv({
|
|
34418
|
-
keyframes: [p.value,
|
|
34419
|
+
keyframes: [p.value, v(p.value)],
|
|
34419
34420
|
velocity: SS(f, P, p.value),
|
|
34420
34421
|
// TODO: This should be passing * 1000
|
|
34421
34422
|
damping: i,
|
|
@@ -34570,7 +34571,7 @@ class Ex extends Px {
|
|
|
34570
34571
|
const { generator: o, totalDuration: i, mixKeyframes: r, mirroredGenerator: c, resolvedDuration: s, calculatedDuration: d } = this;
|
|
34571
34572
|
if (this.startTime === null)
|
|
34572
34573
|
return o.next(0);
|
|
34573
|
-
const { delay: l = 0, keyframes: h, repeat: u, repeatType: p, repeatDelay: k, type:
|
|
34574
|
+
const { delay: l = 0, keyframes: h, repeat: u, repeatType: p, repeatDelay: k, type: v, onUpdate: g, finalKeyframe: x } = this.options;
|
|
34574
34575
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - i / this.speed, this.startTime)), a ? this.currentTime = t : this.updateTime(t);
|
|
34575
34576
|
const M = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1), N = this.playbackSpeed >= 0 ? M < 0 : M > i;
|
|
34576
34577
|
this.currentTime = Math.max(M, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = i);
|
|
@@ -34585,7 +34586,7 @@ class Ex extends Px {
|
|
|
34585
34586
|
let { done: S } = m;
|
|
34586
34587
|
!N && d !== null && (S = this.playbackSpeed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
|
|
34587
34588
|
const A = this.holdTime === null && (this.state === "finished" || this.state === "running" && S);
|
|
34588
|
-
return A &&
|
|
34589
|
+
return A && v !== GC && (m.value = Ax(h, this.options, x, this.speed)), g && g(m.value), A && this.finish(), m;
|
|
34589
34590
|
}
|
|
34590
34591
|
/**
|
|
34591
34592
|
* Allows the returned animation to be awaited or promise-chained. Currently
|
|
@@ -35053,10 +35054,10 @@ function I0e(e) {
|
|
|
35053
35054
|
const N0e = 40;
|
|
35054
35055
|
class A0e extends Px {
|
|
35055
35056
|
constructor({ autoplay: t = !0, delay: a = 0, type: o = "keyframes", repeat: i = 0, repeatDelay: r = 0, repeatType: c = "loop", keyframes: s, name: d, motionValue: l, element: h, ...u }) {
|
|
35056
|
-
var
|
|
35057
|
+
var v;
|
|
35057
35058
|
super(), this.stop = () => {
|
|
35058
|
-
var g,
|
|
35059
|
-
this._animation && (this._animation.stop(), (g = this.stopTimeline) == null || g.call(this)), (
|
|
35059
|
+
var g, x;
|
|
35060
|
+
this._animation && (this._animation.stop(), (g = this.stopTimeline) == null || g.call(this)), (x = this.keyframeResolver) == null || x.cancel();
|
|
35060
35061
|
}, this.createdAt = He.now();
|
|
35061
35062
|
const p = {
|
|
35062
35063
|
autoplay: t,
|
|
@@ -35070,7 +35071,7 @@ class A0e extends Px {
|
|
|
35070
35071
|
element: h,
|
|
35071
35072
|
...u
|
|
35072
35073
|
}, k = (h == null ? void 0 : h.KeyframeResolver) || Rx;
|
|
35073
|
-
this.keyframeResolver = new k(s, (g,
|
|
35074
|
+
this.keyframeResolver = new k(s, (g, x, M) => this.onKeyframesResolved(g, x, p, !M), d, l, h), (v = this.keyframeResolver) == null || v.scheduleResolve();
|
|
35074
35075
|
}
|
|
35075
35076
|
onKeyframesResolved(t, a, o, i) {
|
|
35076
35077
|
this.keyframeResolver = void 0;
|
|
@@ -35653,8 +35654,8 @@ function Q0e(e, t, a = {}) {
|
|
|
35653
35654
|
if (!bw(s))
|
|
35654
35655
|
return;
|
|
35655
35656
|
uv.add(d);
|
|
35656
|
-
const l = t(d, s), h = (k,
|
|
35657
|
-
window.removeEventListener("pointerup", u), window.removeEventListener("pointercancel", p), uv.has(d) && uv.delete(d), bw(k) && typeof l == "function" && l(k, { success:
|
|
35657
|
+
const l = t(d, s), h = (k, v) => {
|
|
35658
|
+
window.removeEventListener("pointerup", u), window.removeEventListener("pointercancel", p), uv.has(d) && uv.delete(d), bw(k) && typeof l == "function" && l(k, { success: v });
|
|
35658
35659
|
}, u = (k) => {
|
|
35659
35660
|
h(k, d === window || d === document || a.useGlobalTarget || BS(d, k.target));
|
|
35660
35661
|
}, p = (k) => {
|
|
@@ -35672,7 +35673,7 @@ function US(e) {
|
|
|
35672
35673
|
function J0e(e) {
|
|
35673
35674
|
return US(e) && e.tagName === "svg";
|
|
35674
35675
|
}
|
|
35675
|
-
const
|
|
35676
|
+
const Re = (e) => !!(e && e.getVelocity), eie = [...HS, Se, u1], tie = (e) => eie.find(jS(e)), Vx = ta({
|
|
35676
35677
|
transformPagePoint: (e) => e,
|
|
35677
35678
|
isStatic: !1,
|
|
35678
35679
|
reducedMotion: "never"
|
|
@@ -35768,12 +35769,12 @@ function Sw(e) {
|
|
|
35768
35769
|
}), t;
|
|
35769
35770
|
}
|
|
35770
35771
|
const cie = ({ children: e, custom: t, initial: a = !0, onExitComplete: o, presenceAffectsLayout: i = !0, mode: r = "sync", propagate: c = !1, anchorX: s = "left" }) => {
|
|
35771
|
-
const [d, l] = ZS(c), h = ea(() => Sw(e), [e]), u = c && !d ? [] : h.map(ao), p = De(!0), k = De(h),
|
|
35772
|
+
const [d, l] = ZS(c), h = ea(() => Sw(e), [e]), u = c && !d ? [] : h.map(ao), p = De(!0), k = De(h), v = Sv(() => /* @__PURE__ */ new Map()), [g, x] = Ge(h), [M, N] = Ge(h);
|
|
35772
35773
|
nS(() => {
|
|
35773
35774
|
p.current = !1, k.current = h;
|
|
35774
35775
|
for (let m = 0; m < M.length; m++) {
|
|
35775
35776
|
const S = ao(M[m]);
|
|
35776
|
-
u.includes(S) ?
|
|
35777
|
+
u.includes(S) ? v.delete(S) : v.get(S) !== !0 && v.set(S, !1);
|
|
35777
35778
|
}
|
|
35778
35779
|
}, [M, u.length, u.join("-")]);
|
|
35779
35780
|
const f = [];
|
|
@@ -35783,18 +35784,18 @@ const cie = ({ children: e, custom: t, initial: a = !0, onExitComplete: o, prese
|
|
|
35783
35784
|
const A = M[S], P = ao(A);
|
|
35784
35785
|
u.includes(P) || (m.splice(S, 0, A), f.push(A));
|
|
35785
35786
|
}
|
|
35786
|
-
return r === "wait" && f.length && (m = f), N(Sw(m)),
|
|
35787
|
+
return r === "wait" && f.length && (m = f), N(Sw(m)), x(h), null;
|
|
35787
35788
|
}
|
|
35788
35789
|
process.env.NODE_ENV !== "production" && r === "wait" && M.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
35789
35790
|
const { forceRender: w } = Ae(kx);
|
|
35790
35791
|
return _.jsx(_.Fragment, { children: M.map((m) => {
|
|
35791
35792
|
const S = ao(m), A = c && !d ? !1 : h === M || u.includes(S), P = () => {
|
|
35792
|
-
if (
|
|
35793
|
-
|
|
35793
|
+
if (v.has(S))
|
|
35794
|
+
v.set(S, !0);
|
|
35794
35795
|
else
|
|
35795
35796
|
return;
|
|
35796
35797
|
let j = !0;
|
|
35797
|
-
|
|
35798
|
+
v.forEach((E) => {
|
|
35798
35799
|
E || (j = !1);
|
|
35799
35800
|
}), j && (w == null || w(), N(k.current), c && (l == null || l()), o && o());
|
|
35800
35801
|
};
|
|
@@ -35952,7 +35953,7 @@ function kie(e, t, a) {
|
|
|
35952
35953
|
}
|
|
35953
35954
|
const Ox = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), fie = "framerAppearId", KS = "data-" + Ox(fie), YS = ta({});
|
|
35954
35955
|
function mie(e, t, a, o, i) {
|
|
35955
|
-
var g,
|
|
35956
|
+
var g, x;
|
|
35956
35957
|
const { visualElement: r } = Ae(Nv), c = Ae(GS), s = Ae(Iv), d = Ae(Vx).reducedMotion, l = De(null);
|
|
35957
35958
|
o = o || c.renderer, !l.current && o && (l.current = o(e, {
|
|
35958
35959
|
visualState: t,
|
|
@@ -35968,14 +35969,14 @@ function mie(e, t, a, o, i) {
|
|
|
35968
35969
|
Tb(() => {
|
|
35969
35970
|
h && p.current && h.update(a, s);
|
|
35970
35971
|
});
|
|
35971
|
-
const k = a[KS],
|
|
35972
|
+
const k = a[KS], v = De(!!k && !((g = window.MotionHandoffIsComplete) != null && g.call(window, k)) && ((x = window.MotionHasOptimisedAnimation) == null ? void 0 : x.call(window, k)));
|
|
35972
35973
|
return nS(() => {
|
|
35973
|
-
h && (p.current = !0, window.MotionIsMounted = !0, h.updateFeatures(), jx.render(h.render),
|
|
35974
|
+
h && (p.current = !0, window.MotionIsMounted = !0, h.updateFeatures(), jx.render(h.render), v.current && h.animationState && h.animationState.animateChanges());
|
|
35974
35975
|
}), Oe(() => {
|
|
35975
|
-
h && (!
|
|
35976
|
+
h && (!v.current && h.animationState && h.animationState.animateChanges(), v.current && (queueMicrotask(() => {
|
|
35976
35977
|
var M;
|
|
35977
35978
|
(M = window.MotionHandoffMarkAsComplete) == null || M.call(window, k);
|
|
35978
|
-
}),
|
|
35979
|
+
}), v.current = !1));
|
|
35979
35980
|
}), h;
|
|
35980
35981
|
}
|
|
35981
35982
|
function Mie(e, t, a, o) {
|
|
@@ -36014,8 +36015,8 @@ function gie({ preloadedFeatures: e, createVisualElement: t, useRender: a, useVi
|
|
|
36014
36015
|
}, { isStatic: u } = h, p = pie(s), k = o(s, u);
|
|
36015
36016
|
if (!u && fx) {
|
|
36016
36017
|
vie(h, e);
|
|
36017
|
-
const
|
|
36018
|
-
l =
|
|
36018
|
+
const v = Cie(h);
|
|
36019
|
+
l = v.MeasureLayout, p.visualElement = mie(i, k, h, t, v.ProjectionNode);
|
|
36019
36020
|
}
|
|
36020
36021
|
return _.jsxs(Nv.Provider, { value: p, children: [l && p.visualElement ? _.jsx(l, { visualElement: p.visualElement, ...h }) : null, a(i, s, kie(k, p.visualElement, d), k, u, p.visualElement)] });
|
|
36021
36022
|
}
|
|
@@ -36106,7 +36107,7 @@ const Bx = () => ({
|
|
|
36106
36107
|
});
|
|
36107
36108
|
function eI(e, t, a) {
|
|
36108
36109
|
for (const o in t)
|
|
36109
|
-
|
|
36110
|
+
!Re(t[o]) && !JS(o, a) && (e[o] = t[o]);
|
|
36110
36111
|
}
|
|
36111
36112
|
function Sie({ transformTemplate: e }, t) {
|
|
36112
36113
|
return ea(() => {
|
|
@@ -36221,7 +36222,7 @@ function Ux(e) {
|
|
|
36221
36222
|
}
|
|
36222
36223
|
function qie(e = !1) {
|
|
36223
36224
|
return (a, o, i, { latestValues: r }, c) => {
|
|
36224
|
-
const d = (Ux(a) ? Rie : Nie)(o, r, c, a), l = hie(o, typeof a == "string", e), h = a !== Hb ? { ...l, ...d, ref: i } : {}, { children: u } = o, p = ea(() =>
|
|
36225
|
+
const d = (Ux(a) ? Rie : Nie)(o, r, c, a), l = hie(o, typeof a == "string", e), h = a !== Hb ? { ...l, ...d, ref: i } : {}, { children: u } = o, p = ea(() => Re(u) ? u.get() : u, [u]);
|
|
36225
36226
|
return kv(a, {
|
|
36226
36227
|
...h,
|
|
36227
36228
|
children: p
|
|
@@ -36246,7 +36247,7 @@ function Zx(e, t, a, o) {
|
|
|
36246
36247
|
return t;
|
|
36247
36248
|
}
|
|
36248
36249
|
function pv(e) {
|
|
36249
|
-
return
|
|
36250
|
+
return Re(e) ? e.get() : e;
|
|
36250
36251
|
}
|
|
36251
36252
|
function Tie({ scrapeMotionValuesFromProps: e, createRenderState: t }, a, o, i) {
|
|
36252
36253
|
return {
|
|
@@ -36271,9 +36272,9 @@ function jie(e, t, a, o) {
|
|
|
36271
36272
|
if (u && typeof u != "boolean" && !Av(u)) {
|
|
36272
36273
|
const p = Array.isArray(u) ? u : [u];
|
|
36273
36274
|
for (let k = 0; k < p.length; k++) {
|
|
36274
|
-
const
|
|
36275
|
-
if (
|
|
36276
|
-
const { transitionEnd: g, transition:
|
|
36275
|
+
const v = Zx(e, p[k]);
|
|
36276
|
+
if (v) {
|
|
36277
|
+
const { transitionEnd: g, transition: x, ...M } = v;
|
|
36277
36278
|
for (const N in M) {
|
|
36278
36279
|
let f = M[N];
|
|
36279
36280
|
if (Array.isArray(f)) {
|
|
@@ -36293,7 +36294,7 @@ function Gx(e, t, a) {
|
|
|
36293
36294
|
var r;
|
|
36294
36295
|
const { style: o } = e, i = {};
|
|
36295
36296
|
for (const c in o)
|
|
36296
|
-
(
|
|
36297
|
+
(Re(o[c]) || t.style && Re(t.style[c]) || JS(c, e) || ((r = a == null ? void 0 : a.getValue(c)) == null ? void 0 : r.liveStyle) !== void 0) && (i[c] = o[c]);
|
|
36297
36298
|
return i;
|
|
36298
36299
|
}
|
|
36299
36300
|
const Hie = {
|
|
@@ -36305,7 +36306,7 @@ const Hie = {
|
|
|
36305
36306
|
function iI(e, t, a) {
|
|
36306
36307
|
const o = Gx(e, t, a);
|
|
36307
36308
|
for (const i in e)
|
|
36308
|
-
if (
|
|
36309
|
+
if (Re(e[i]) || Re(t[i])) {
|
|
36309
36310
|
const r = ka.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
|
|
36310
36311
|
o[r] = e[i];
|
|
36311
36312
|
}
|
|
@@ -36350,7 +36351,7 @@ function Fie(e, t) {
|
|
|
36350
36351
|
}
|
|
36351
36352
|
}
|
|
36352
36353
|
function Bie(e) {
|
|
36353
|
-
return !!(
|
|
36354
|
+
return !!(Re(e) && e.add);
|
|
36354
36355
|
}
|
|
36355
36356
|
function ax(e, t) {
|
|
36356
36357
|
const a = e.getValue("willChange");
|
|
@@ -36438,8 +36439,8 @@ function rI(e, t, { delay: a = 0, transitionOverride: o, type: i } = {}) {
|
|
|
36438
36439
|
const k = {
|
|
36439
36440
|
delay: a,
|
|
36440
36441
|
...qx(r || {}, h)
|
|
36441
|
-
},
|
|
36442
|
-
if (
|
|
36442
|
+
}, v = u.get();
|
|
36443
|
+
if (v !== void 0 && !u.isAnimating && !Array.isArray(p) && p === v && !k.velocity)
|
|
36443
36444
|
continue;
|
|
36444
36445
|
let g = !1;
|
|
36445
36446
|
if (window.MotionHandoffAnimation) {
|
|
@@ -36450,8 +36451,8 @@ function rI(e, t, { delay: a = 0, transitionOverride: o, type: i } = {}) {
|
|
|
36450
36451
|
}
|
|
36451
36452
|
}
|
|
36452
36453
|
ax(e, h), u.start(Wx(h, u, p, e.shouldReduceMotion && TS.has(h) ? { type: !1 } : k, e, g));
|
|
36453
|
-
const
|
|
36454
|
-
|
|
36454
|
+
const x = u.animation;
|
|
36455
|
+
x && d.push(x);
|
|
36455
36456
|
}
|
|
36456
36457
|
return c && Promise.all(d).then(() => {
|
|
36457
36458
|
we.update(() => {
|
|
@@ -36538,8 +36539,8 @@ function rce(e) {
|
|
|
36538
36539
|
var p;
|
|
36539
36540
|
const u = Ea(e, h, d === "exit" ? (p = e.presenceContext) == null ? void 0 : p.custom : void 0);
|
|
36540
36541
|
if (u) {
|
|
36541
|
-
const { transition: k, transitionEnd:
|
|
36542
|
-
l = { ...l, ...g, ...
|
|
36542
|
+
const { transition: k, transitionEnd: v, ...g } = u;
|
|
36543
|
+
l = { ...l, ...g, ...v };
|
|
36543
36544
|
}
|
|
36544
36545
|
return l;
|
|
36545
36546
|
};
|
|
@@ -36548,10 +36549,10 @@ function rce(e) {
|
|
|
36548
36549
|
}
|
|
36549
36550
|
function c(d) {
|
|
36550
36551
|
const { props: l } = e, h = dI(e.parent) || {}, u = [], p = /* @__PURE__ */ new Set();
|
|
36551
|
-
let k = {},
|
|
36552
|
-
for (let
|
|
36553
|
-
const M = oce[
|
|
36554
|
-
m === !1 && (
|
|
36552
|
+
let k = {}, v = 1 / 0;
|
|
36553
|
+
for (let x = 0; x < ice; x++) {
|
|
36554
|
+
const M = oce[x], N = a[M], f = l[M] !== void 0 ? l[M] : h[M], w = Aa(f), m = M === d ? N.isActive : null;
|
|
36555
|
+
m === !1 && (v = x);
|
|
36555
36556
|
let S = f === h[M] && f !== l[M] && w;
|
|
36556
36557
|
if (S && o && e.manuallyAnimateOnMount && (S = !1), N.protectedKeys = { ...k }, // If it isn't active and hasn't *just* been set as inactive
|
|
36557
36558
|
!N.isActive && m === null || // If we didn't and don't have any defined prop for this animation type
|
|
@@ -36561,24 +36562,24 @@ function rce(e) {
|
|
|
36561
36562
|
const A = sce(N.prevProp, f);
|
|
36562
36563
|
let P = A || // If we're making this variant active, we want to always make it active
|
|
36563
36564
|
M === d && N.isActive && !S && w || // If we removed a higher-priority variant (i is in reverse order)
|
|
36564
|
-
|
|
36565
|
+
x > v && w, j = !1;
|
|
36565
36566
|
const E = Array.isArray(f) ? f : [f];
|
|
36566
36567
|
let q = E.reduce(i(M), {});
|
|
36567
36568
|
m === !1 && (q = {});
|
|
36568
|
-
const { prevResolvedValues:
|
|
36569
|
-
...
|
|
36569
|
+
const { prevResolvedValues: D = {} } = N, ee = {
|
|
36570
|
+
...D,
|
|
36570
36571
|
...q
|
|
36571
|
-
},
|
|
36572
|
+
}, H = (oe) => {
|
|
36572
36573
|
P = !0, p.has(oe) && (j = !0, p.delete(oe)), N.needsAnimating[oe] = !0;
|
|
36573
36574
|
const ne = e.getValue(oe);
|
|
36574
36575
|
ne && (ne.liveStyle = !1);
|
|
36575
36576
|
};
|
|
36576
|
-
for (const oe in
|
|
36577
|
-
const ne = q[oe],
|
|
36577
|
+
for (const oe in ee) {
|
|
36578
|
+
const ne = q[oe], J = D[oe];
|
|
36578
36579
|
if (k.hasOwnProperty(oe))
|
|
36579
36580
|
continue;
|
|
36580
|
-
let
|
|
36581
|
-
nx(ne) && nx(
|
|
36581
|
+
let C = !1;
|
|
36582
|
+
nx(ne) && nx(J) ? C = !sI(ne, J) : C = ne !== J, C ? ne != null ? H(oe) : p.add(oe) : ne !== void 0 && p.has(oe) ? H(oe) : N.protectedKeys[oe] = !0;
|
|
36582
36583
|
}
|
|
36583
36584
|
N.prevProp = f, N.prevResolvedValues = q, N.isActive && (k = { ...k, ...q }), o && e.blockInitialAnimation && (P = !1), P && (!(S && A) || j) && u.push(...E.map((oe) => ({
|
|
36584
36585
|
animation: oe,
|
|
@@ -36586,15 +36587,15 @@ function rce(e) {
|
|
|
36586
36587
|
})));
|
|
36587
36588
|
}
|
|
36588
36589
|
if (p.size) {
|
|
36589
|
-
const
|
|
36590
|
+
const x = {};
|
|
36590
36591
|
if (typeof l.initial != "boolean") {
|
|
36591
36592
|
const M = Ea(e, Array.isArray(l.initial) ? l.initial[0] : l.initial);
|
|
36592
|
-
M && M.transition && (
|
|
36593
|
+
M && M.transition && (x.transition = M.transition);
|
|
36593
36594
|
}
|
|
36594
36595
|
p.forEach((M) => {
|
|
36595
36596
|
const N = e.getBaseTarget(M), f = e.getValue(M);
|
|
36596
|
-
f && (f.liveStyle = !0),
|
|
36597
|
-
}), u.push({ animation:
|
|
36597
|
+
f && (f.liveStyle = !0), x[M] = N ?? null;
|
|
36598
|
+
}), u.push({ animation: x });
|
|
36598
36599
|
}
|
|
36599
36600
|
let g = !!u.length;
|
|
36600
36601
|
return o && (l.initial === !1 || l.initial === l.animate) && !e.manuallyAnimateOnMount && (g = !1), o = !1, g ? t(u) : Promise.resolve();
|
|
@@ -36860,19 +36861,19 @@ class mI {
|
|
|
36860
36861
|
const u = AC(this.lastMoveEventInfo, this.history), p = this.startEvent !== null, k = Lce(u.offset, { x: 0, y: 0 }) >= 3;
|
|
36861
36862
|
if (!p && !k)
|
|
36862
36863
|
return;
|
|
36863
|
-
const { point:
|
|
36864
|
-
this.history.push({ ...
|
|
36865
|
-
const { onStart:
|
|
36866
|
-
p || (
|
|
36864
|
+
const { point: v } = u, { timestamp: g } = Ne;
|
|
36865
|
+
this.history.push({ ...v, timestamp: g });
|
|
36866
|
+
const { onStart: x, onMove: M } = this.handlers;
|
|
36867
|
+
p || (x && x(this.lastMoveEvent, u), this.startEvent = this.lastMoveEvent), M && M(this.lastMoveEvent, u);
|
|
36867
36868
|
}, this.handlePointerMove = (u, p) => {
|
|
36868
36869
|
this.lastMoveEvent = u, this.lastMoveEventInfo = NC(p, this.transformPagePoint), we.update(this.updatePoint, !0);
|
|
36869
36870
|
}, this.handlePointerUp = (u, p) => {
|
|
36870
36871
|
this.end();
|
|
36871
|
-
const { onEnd: k, onSessionEnd:
|
|
36872
|
+
const { onEnd: k, onSessionEnd: v, resumeAnimation: g } = this.handlers;
|
|
36872
36873
|
if (this.dragSnapToOrigin && g && g(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
36873
36874
|
return;
|
|
36874
|
-
const
|
|
36875
|
-
this.startEvent && k && k(u,
|
|
36875
|
+
const x = AC(u.type === "pointercancel" ? this.lastMoveEventInfo : NC(p, this.transformPagePoint), this.history);
|
|
36876
|
+
this.startEvent && k && k(u, x), v && v(u, x);
|
|
36876
36877
|
}, !Hx(t))
|
|
36877
36878
|
return;
|
|
36878
36879
|
this.dragSnapToOrigin = r, this.handlers = a, this.transformPagePoint = o, this.contextWindow = i || window;
|
|
@@ -36989,32 +36990,32 @@ class $ce {
|
|
|
36989
36990
|
const { dragSnapToOrigin: u } = this.getProps();
|
|
36990
36991
|
u ? this.pauseAnimation() : this.stopAnimation(), a && this.snapToCursor(ja(h).point);
|
|
36991
36992
|
}, r = (h, u) => {
|
|
36992
|
-
const { drag: p, dragPropagation: k, onDragStart:
|
|
36993
|
+
const { drag: p, dragPropagation: k, onDragStart: v } = this.getProps();
|
|
36993
36994
|
if (p && !k && (this.openDragLock && this.openDragLock(), this.openDragLock = G0e(p), !this.openDragLock))
|
|
36994
36995
|
return;
|
|
36995
|
-
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Ue((
|
|
36996
|
-
let M = this.getAxisMotionValue(
|
|
36996
|
+
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Ue((x) => {
|
|
36997
|
+
let M = this.getAxisMotionValue(x).get() || 0;
|
|
36997
36998
|
if (t1.test(M)) {
|
|
36998
36999
|
const { projection: N } = this.visualElement;
|
|
36999
37000
|
if (N && N.layout) {
|
|
37000
|
-
const f = N.layout.layoutBox[
|
|
37001
|
+
const f = N.layout.layoutBox[x];
|
|
37001
37002
|
f && (M = Te(f) * (parseFloat(M) / 100));
|
|
37002
37003
|
}
|
|
37003
37004
|
}
|
|
37004
|
-
this.originPoint[
|
|
37005
|
-
}),
|
|
37005
|
+
this.originPoint[x] = M;
|
|
37006
|
+
}), v && we.postRender(() => v(h, u)), ax(this.visualElement, "transform");
|
|
37006
37007
|
const { animationState: g } = this.visualElement;
|
|
37007
37008
|
g && g.setActive("whileDrag", !0);
|
|
37008
37009
|
}, c = (h, u) => {
|
|
37009
|
-
const { dragPropagation: p, dragDirectionLock: k, onDirectionLock:
|
|
37010
|
+
const { dragPropagation: p, dragDirectionLock: k, onDirectionLock: v, onDrag: g } = this.getProps();
|
|
37010
37011
|
if (!p && !this.openDragLock)
|
|
37011
37012
|
return;
|
|
37012
|
-
const { offset:
|
|
37013
|
+
const { offset: x } = u;
|
|
37013
37014
|
if (k && this.currentDirection === null) {
|
|
37014
|
-
this.currentDirection = qce(
|
|
37015
|
+
this.currentDirection = qce(x), this.currentDirection !== null && v && v(this.currentDirection);
|
|
37015
37016
|
return;
|
|
37016
37017
|
}
|
|
37017
|
-
this.updateAxis("x", u.point,
|
|
37018
|
+
this.updateAxis("x", u.point, x), this.updateAxis("y", u.point, x), this.visualElement.render(), g && g(h, u);
|
|
37018
37019
|
}, s = (h, u) => this.stop(h, u), d = () => Ue((h) => {
|
|
37019
37020
|
var u;
|
|
37020
37021
|
return this.getAnimationState(h) === "paused" && ((u = this.getAxisMotionValue(h).animation) == null ? void 0 : u.play());
|
|
@@ -37085,7 +37086,7 @@ class $ce {
|
|
|
37085
37086
|
return;
|
|
37086
37087
|
let u = d && d[h] || {};
|
|
37087
37088
|
c && (u = { min: 0, max: 0 });
|
|
37088
|
-
const p = i ? 200 : 1e6, k = i ? 40 : 1e7,
|
|
37089
|
+
const p = i ? 200 : 1e6, k = i ? 40 : 1e7, v = {
|
|
37089
37090
|
type: "inertia",
|
|
37090
37091
|
velocity: o ? t[h] : 0,
|
|
37091
37092
|
bounceStiffness: p,
|
|
@@ -37096,7 +37097,7 @@ class $ce {
|
|
|
37096
37097
|
...r,
|
|
37097
37098
|
...u
|
|
37098
37099
|
};
|
|
37099
|
-
return this.startAxisValueAnimation(h,
|
|
37100
|
+
return this.startAxisValueAnimation(h, v);
|
|
37100
37101
|
});
|
|
37101
37102
|
return Promise.all(l).then(s);
|
|
37102
37103
|
}
|
|
@@ -37354,7 +37355,7 @@ const zce = {
|
|
|
37354
37355
|
boxShadow: Hce
|
|
37355
37356
|
};
|
|
37356
37357
|
function Dce(e, t, a) {
|
|
37357
|
-
const o =
|
|
37358
|
+
const o = Re(e) ? e : la(e);
|
|
37358
37359
|
return o.start(Wx("", o, t, a)), o.animation;
|
|
37359
37360
|
}
|
|
37360
37361
|
const Oce = (e, t) => e.depth - t.depth;
|
|
@@ -37505,8 +37506,8 @@ function ere(e, t, a) {
|
|
|
37505
37506
|
let o = "";
|
|
37506
37507
|
const i = e.x.translate / t.x, r = e.y.translate / t.y, c = (a == null ? void 0 : a.z) || 0;
|
|
37507
37508
|
if ((i || r || c) && (o = `translate3d(${i}px, ${r}px, ${c}px) `), (t.x !== 1 || t.y !== 1) && (o += `scale(${1 / t.x}, ${1 / t.y}) `), a) {
|
|
37508
|
-
const { transformPerspective: l, rotate: h, rotateX: u, rotateY: p, skewX: k, skewY:
|
|
37509
|
-
l && (o = `perspective(${l}px) ${o}`), h && (o += `rotate(${h}deg) `), u && (o += `rotateX(${u}deg) `), p && (o += `rotateY(${p}deg) `), k && (o += `skewX(${k}deg) `),
|
|
37509
|
+
const { transformPerspective: l, rotate: h, rotateX: u, rotateY: p, skewX: k, skewY: v } = a;
|
|
37510
|
+
l && (o = `perspective(${l}px) ${o}`), h && (o += `rotate(${h}deg) `), u && (o += `rotateX(${u}deg) `), p && (o += `rotateY(${p}deg) `), k && (o += `skewX(${k}deg) `), v && (o += `skewY(${v}deg) `);
|
|
37510
37511
|
}
|
|
37511
37512
|
const s = e.x.scale * t.x, d = e.y.scale * t.y;
|
|
37512
37513
|
return (s !== 1 || d !== 1) && (o += `scale(${s}, ${d})`), o || "none";
|
|
@@ -37573,13 +37574,13 @@ function wI({ attachResizeListener: e, defaultParent: t, measureScroll: a, check
|
|
|
37573
37574
|
this.target = void 0, this.relativeTarget = void 0;
|
|
37574
37575
|
return;
|
|
37575
37576
|
}
|
|
37576
|
-
const
|
|
37577
|
+
const v = this.options.transition || l.getDefaultTransition() || mre, { onLayoutAnimationStart: g, onLayoutAnimationComplete: x } = l.getProps(), M = !this.targetLayout || !xI(this.targetLayout, k), N = !u && p;
|
|
37577
37578
|
if (this.options.layoutRoot || this.resumeFrom || N || u && (M || !this.currentAnimation)) {
|
|
37578
37579
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
37579
37580
|
const f = {
|
|
37580
|
-
...qx(
|
|
37581
|
+
...qx(v, "layout"),
|
|
37581
37582
|
onPlay: g,
|
|
37582
|
-
onComplete:
|
|
37583
|
+
onComplete: x
|
|
37583
37584
|
};
|
|
37584
37585
|
(l.shouldReduceMotion || this.options.layoutRoot) && (f.delay = 0, f.type = !1), this.startAnimation(f), this.setAnimationOrigin(h, N);
|
|
37585
37586
|
} else
|
|
@@ -37793,10 +37794,10 @@ function wI({ attachResizeListener: e, defaultParent: t, measureScroll: a, check
|
|
|
37793
37794
|
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
|
|
37794
37795
|
}
|
|
37795
37796
|
calcProjection() {
|
|
37796
|
-
var
|
|
37797
|
+
var v;
|
|
37797
37798
|
const c = this.getLead(), s = !!this.resumingFrom || this !== c;
|
|
37798
37799
|
let d = !0;
|
|
37799
|
-
if ((this.isProjectionDirty || (
|
|
37800
|
+
if ((this.isProjectionDirty || (v = this.parent) != null && v.isProjectionDirty) && (d = !1), s && (this.isSharedProjectionDirty || this.isTransformDirty) && (d = !1), this.resolvedRelativeTargetAt === Ne.timestamp && (d = !1), d)
|
|
37800
37801
|
return;
|
|
37801
37802
|
const { layout: l, layoutId: h } = this.options;
|
|
37802
37803
|
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(l || h))
|
|
@@ -37831,7 +37832,7 @@ function wI({ attachResizeListener: e, defaultParent: t, measureScroll: a, check
|
|
|
37831
37832
|
setAnimationOrigin(c, s = !1) {
|
|
37832
37833
|
const d = this.snapshot, l = d ? d.latestValues : {}, h = { ...this.latestValues }, u = sa();
|
|
37833
37834
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !s;
|
|
37834
|
-
const p = be(), k = d ? d.source : void 0,
|
|
37835
|
+
const p = be(), k = d ? d.source : void 0, v = this.layout ? this.layout.source : void 0, g = k !== v, x = this.getStack(), M = !x || x.members.length <= 1, N = !!(g && !M && this.options.crossfade === !0 && !this.path.some(fre));
|
|
37835
37836
|
this.animationProgress = 0;
|
|
37836
37837
|
let f;
|
|
37837
37838
|
this.mixTargetDelta = (w) => {
|
|
@@ -37953,13 +37954,13 @@ function wI({ attachResizeListener: e, defaultParent: t, measureScroll: a, check
|
|
|
37953
37954
|
for (const k in Pa) {
|
|
37954
37955
|
if (h[k] === void 0)
|
|
37955
37956
|
continue;
|
|
37956
|
-
const { correct:
|
|
37957
|
+
const { correct: v, applyTo: g, isCSSVariable: x } = Pa[k], M = s.transform === "none" ? h[k] : v(h[k], l);
|
|
37957
37958
|
if (g) {
|
|
37958
37959
|
const N = g.length;
|
|
37959
37960
|
for (let f = 0; f < N; f++)
|
|
37960
37961
|
s[g[f]] = M;
|
|
37961
37962
|
} else
|
|
37962
|
-
|
|
37963
|
+
x ? this.options.visualElement.renderState.vars[k] = M : s[k] = M;
|
|
37963
37964
|
}
|
|
37964
37965
|
return this.options.layoutId && (s.pointerEvents = l === this ? pv(c == null ? void 0 : c.pointerEvents) || "" : "none"), s;
|
|
37965
37966
|
}
|
|
@@ -38001,10 +38002,10 @@ function ire(e) {
|
|
|
38001
38002
|
if (u && !u.resumeFrom) {
|
|
38002
38003
|
const { snapshot: p, layout: k } = u;
|
|
38003
38004
|
if (p && k) {
|
|
38004
|
-
const
|
|
38005
|
-
ba(
|
|
38005
|
+
const v = be();
|
|
38006
|
+
ba(v, t.layoutBox, p.layoutBox);
|
|
38006
38007
|
const g = be();
|
|
38007
|
-
ba(g, o, k.layoutBox), xI(
|
|
38008
|
+
ba(g, o, k.layoutBox), xI(v, g) || (h = !0), u.options.layoutRoot && (e.relativeTarget = g, e.relativeTargetOrigin = v, e.relativeParent = u);
|
|
38008
38009
|
}
|
|
38009
38010
|
}
|
|
38010
38011
|
}
|
|
@@ -38260,9 +38261,9 @@ const qre = /* @__PURE__ */ new WeakMap();
|
|
|
38260
38261
|
function Tre(e, t, a) {
|
|
38261
38262
|
for (const o in t) {
|
|
38262
38263
|
const i = t[o], r = a[o];
|
|
38263
|
-
if (
|
|
38264
|
+
if (Re(i))
|
|
38264
38265
|
e.addValue(o, i);
|
|
38265
|
-
else if (
|
|
38266
|
+
else if (Re(r))
|
|
38266
38267
|
e.addValue(o, la(i, { owner: e }));
|
|
38267
38268
|
else if (r !== i)
|
|
38268
38269
|
if (e.hasValue(o)) {
|
|
@@ -38309,7 +38310,7 @@ class jre {
|
|
|
38309
38310
|
const { willChange: h, ...u } = this.scrapeMotionValuesFromProps(a, {}, this);
|
|
38310
38311
|
for (const p in u) {
|
|
38311
38312
|
const k = u[p];
|
|
38312
|
-
d[p] !== void 0 &&
|
|
38313
|
+
d[p] !== void 0 && Re(k) && k.set(d[p], !1);
|
|
38313
38314
|
}
|
|
38314
38315
|
}
|
|
38315
38316
|
mount(t) {
|
|
@@ -38447,7 +38448,7 @@ class jre {
|
|
|
38447
38448
|
*/
|
|
38448
38449
|
readValue(t, a) {
|
|
38449
38450
|
let o = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : this.getBaseTargetFromProps(this.props, t) ?? this.readValueFromInstance(this.current, t, this.options);
|
|
38450
|
-
return o != null && (typeof o == "string" && (aS(o) || iS(o)) ? o = parseFloat(o) : !tie(o) && u1.test(a) && (o = zS(t, a)), this.setBaseTarget(t,
|
|
38451
|
+
return o != null && (typeof o == "string" && (aS(o) || iS(o)) ? o = parseFloat(o) : !tie(o) && u1.test(a) && (o = zS(t, a)), this.setBaseTarget(t, Re(o) ? o.get() : o)), Re(o) ? o.get() : o;
|
|
38451
38452
|
}
|
|
38452
38453
|
/**
|
|
38453
38454
|
* Set the base target to later animate back to. This is currently
|
|
@@ -38471,7 +38472,7 @@ class jre {
|
|
|
38471
38472
|
if (a && o !== void 0)
|
|
38472
38473
|
return o;
|
|
38473
38474
|
const i = this.getBaseTargetFromProps(this.props, t);
|
|
38474
|
-
return i !== void 0 &&
|
|
38475
|
+
return i !== void 0 && !Re(i) ? i : this.initialValues[t] !== void 0 && o === void 0 ? void 0 : this.baseTarget[t];
|
|
38475
38476
|
}
|
|
38476
38477
|
on(t, a) {
|
|
38477
38478
|
return this.events[t] || (this.events[t] = new _x()), this.events[t].add(a);
|
|
@@ -38496,7 +38497,7 @@ class NI extends jre {
|
|
|
38496
38497
|
handleChildMotionValue() {
|
|
38497
38498
|
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
|
|
38498
38499
|
const { children: t } = this.props;
|
|
38499
|
-
|
|
38500
|
+
Re(t) && (this.childSubscription = t.on("change", (a) => {
|
|
38500
38501
|
this.current && (this.current.textContent = `${a}`);
|
|
38501
38502
|
}));
|
|
38502
38503
|
}
|
|
@@ -38842,11 +38843,11 @@ function fse() {
|
|
|
38842
38843
|
var e = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, t = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, a = /^(?:(min|max)-)?(.+)/, o = /(em|rem|px|cm|mm|in|pt|pc)?$/, i = /(dpi|dpcm|dppx)?$/;
|
|
38843
38844
|
function r(h, u) {
|
|
38844
38845
|
return c(h).some(function(p) {
|
|
38845
|
-
var k = p.inverse,
|
|
38846
|
-
if (
|
|
38846
|
+
var k = p.inverse, v = p.type === "all" || u.type === p.type;
|
|
38847
|
+
if (v && k || !(v || k))
|
|
38847
38848
|
return !1;
|
|
38848
|
-
var g = p.expressions.every(function(
|
|
38849
|
-
var M =
|
|
38849
|
+
var g = p.expressions.every(function(x) {
|
|
38850
|
+
var M = x.feature, N = x.modifier, f = x.value, w = u[M];
|
|
38850
38851
|
if (!w)
|
|
38851
38852
|
return !1;
|
|
38852
38853
|
switch (M) {
|
|
@@ -38890,15 +38891,15 @@ function fse() {
|
|
|
38890
38891
|
function c(h) {
|
|
38891
38892
|
return h.split(",").map(function(u) {
|
|
38892
38893
|
u = u.trim();
|
|
38893
|
-
var p = u.match(e), k = p[1],
|
|
38894
|
-
return
|
|
38894
|
+
var p = u.match(e), k = p[1], v = p[2], g = p[3] || "", x = {};
|
|
38895
|
+
return x.inverse = !!k && k.toLowerCase() === "not", x.type = v ? v.toLowerCase() : "all", g = g.match(/\([^\)]+\)/g) || [], x.expressions = g.map(function(M) {
|
|
38895
38896
|
var N = M.match(t), f = N[1].toLowerCase().match(a);
|
|
38896
38897
|
return {
|
|
38897
38898
|
modifier: f[1],
|
|
38898
38899
|
feature: f[2],
|
|
38899
38900
|
value: N[2]
|
|
38900
38901
|
};
|
|
38901
|
-
}),
|
|
38902
|
+
}), x;
|
|
38902
38903
|
});
|
|
38903
38904
|
}
|
|
38904
38905
|
function s(h) {
|
|
@@ -39005,7 +39006,7 @@ var vb;
|
|
|
39005
39006
|
function Lse() {
|
|
39006
39007
|
if (vb) return pe;
|
|
39007
39008
|
vb = 1;
|
|
39008
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115,
|
|
39009
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
39009
39010
|
function f(m) {
|
|
39010
39011
|
if (typeof m == "object" && m !== null) {
|
|
39011
39012
|
var S = m.$$typeof;
|
|
@@ -39023,7 +39024,7 @@ function Lse() {
|
|
|
39023
39024
|
switch (m = m && m.$$typeof, m) {
|
|
39024
39025
|
case s:
|
|
39025
39026
|
case h:
|
|
39026
|
-
case
|
|
39027
|
+
case v:
|
|
39027
39028
|
case k:
|
|
39028
39029
|
case c:
|
|
39029
39030
|
return m;
|
|
@@ -39039,7 +39040,7 @@ function Lse() {
|
|
|
39039
39040
|
function w(m) {
|
|
39040
39041
|
return f(m) === l;
|
|
39041
39042
|
}
|
|
39042
|
-
return pe.AsyncMode = d, pe.ConcurrentMode = l, pe.ContextConsumer = s, pe.ContextProvider = c, pe.Element = t, pe.ForwardRef = h, pe.Fragment = o, pe.Lazy =
|
|
39043
|
+
return pe.AsyncMode = d, pe.ConcurrentMode = l, pe.ContextConsumer = s, pe.ContextProvider = c, pe.Element = t, pe.ForwardRef = h, pe.Fragment = o, pe.Lazy = v, pe.Memo = k, pe.Portal = a, pe.Profiler = r, pe.StrictMode = i, pe.Suspense = u, pe.isAsyncMode = function(m) {
|
|
39043
39044
|
return w(m) || f(m) === d;
|
|
39044
39045
|
}, pe.isConcurrentMode = w, pe.isContextConsumer = function(m) {
|
|
39045
39046
|
return f(m) === s;
|
|
@@ -39052,7 +39053,7 @@ function Lse() {
|
|
|
39052
39053
|
}, pe.isFragment = function(m) {
|
|
39053
39054
|
return f(m) === o;
|
|
39054
39055
|
}, pe.isLazy = function(m) {
|
|
39055
|
-
return f(m) ===
|
|
39056
|
+
return f(m) === v;
|
|
39056
39057
|
}, pe.isMemo = function(m) {
|
|
39057
39058
|
return f(m) === k;
|
|
39058
39059
|
}, pe.isPortal = function(m) {
|
|
@@ -39064,7 +39065,7 @@ function Lse() {
|
|
|
39064
39065
|
}, pe.isSuspense = function(m) {
|
|
39065
39066
|
return f(m) === u;
|
|
39066
39067
|
}, pe.isValidElementType = function(m) {
|
|
39067
|
-
return typeof m == "string" || typeof m == "function" || m === o || m === l || m === r || m === i || m === u || m === p || typeof m == "object" && m !== null && (m.$$typeof ===
|
|
39068
|
+
return typeof m == "string" || typeof m == "function" || m === o || m === l || m === r || m === i || m === u || m === p || typeof m == "object" && m !== null && (m.$$typeof === v || m.$$typeof === k || m.$$typeof === c || m.$$typeof === s || m.$$typeof === h || m.$$typeof === x || m.$$typeof === M || m.$$typeof === N || m.$$typeof === g);
|
|
39068
39069
|
}, pe.typeOf = f, pe;
|
|
39069
39070
|
}
|
|
39070
39071
|
var ye = {};
|
|
@@ -39079,31 +39080,31 @@ var ye = {};
|
|
|
39079
39080
|
var Cb;
|
|
39080
39081
|
function wse() {
|
|
39081
39082
|
return Cb || (Cb = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39082
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115,
|
|
39083
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
39083
39084
|
function f(L) {
|
|
39084
39085
|
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
39085
|
-
L === o || L === l || L === r || L === i || L === u || L === p || typeof L == "object" && L !== null && (L.$$typeof ===
|
|
39086
|
+
L === o || L === l || L === r || L === i || L === u || L === p || typeof L == "object" && L !== null && (L.$$typeof === v || L.$$typeof === k || L.$$typeof === c || L.$$typeof === s || L.$$typeof === h || L.$$typeof === x || L.$$typeof === M || L.$$typeof === N || L.$$typeof === g);
|
|
39086
39087
|
}
|
|
39087
39088
|
function w(L) {
|
|
39088
39089
|
if (typeof L == "object" && L !== null) {
|
|
39089
39090
|
var ke = L.$$typeof;
|
|
39090
39091
|
switch (ke) {
|
|
39091
39092
|
case t:
|
|
39092
|
-
var
|
|
39093
|
-
switch (
|
|
39093
|
+
var X = L.type;
|
|
39094
|
+
switch (X) {
|
|
39094
39095
|
case d:
|
|
39095
39096
|
case l:
|
|
39096
39097
|
case o:
|
|
39097
39098
|
case r:
|
|
39098
39099
|
case i:
|
|
39099
39100
|
case u:
|
|
39100
|
-
return
|
|
39101
|
+
return X;
|
|
39101
39102
|
default:
|
|
39102
|
-
var G =
|
|
39103
|
+
var G = X && X.$$typeof;
|
|
39103
39104
|
switch (G) {
|
|
39104
39105
|
case s:
|
|
39105
39106
|
case h:
|
|
39106
|
-
case
|
|
39107
|
+
case v:
|
|
39107
39108
|
case k:
|
|
39108
39109
|
case c:
|
|
39109
39110
|
return G;
|
|
@@ -39116,11 +39117,11 @@ function wse() {
|
|
|
39116
39117
|
}
|
|
39117
39118
|
}
|
|
39118
39119
|
}
|
|
39119
|
-
var m = d, S = l, A = s, P = c, j = t, E = h, q = o,
|
|
39120
|
-
function
|
|
39121
|
-
return ne || (ne = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
39120
|
+
var m = d, S = l, A = s, P = c, j = t, E = h, q = o, D = v, ee = k, H = a, Y = r, Q = i, oe = u, ne = !1;
|
|
39121
|
+
function J(L) {
|
|
39122
|
+
return ne || (ne = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(L) || w(L) === d;
|
|
39122
39123
|
}
|
|
39123
|
-
function
|
|
39124
|
+
function C(L) {
|
|
39124
39125
|
return w(L) === l;
|
|
39125
39126
|
}
|
|
39126
39127
|
function R(L) {
|
|
@@ -39129,17 +39130,17 @@ function wse() {
|
|
|
39129
39130
|
function T(L) {
|
|
39130
39131
|
return w(L) === c;
|
|
39131
39132
|
}
|
|
39132
|
-
function
|
|
39133
|
+
function F(L) {
|
|
39133
39134
|
return typeof L == "object" && L !== null && L.$$typeof === t;
|
|
39134
39135
|
}
|
|
39135
|
-
function
|
|
39136
|
+
function V(L) {
|
|
39136
39137
|
return w(L) === h;
|
|
39137
39138
|
}
|
|
39138
|
-
function
|
|
39139
|
+
function K(L) {
|
|
39139
39140
|
return w(L) === o;
|
|
39140
39141
|
}
|
|
39141
39142
|
function Z(L) {
|
|
39142
|
-
return w(L) ===
|
|
39143
|
+
return w(L) === v;
|
|
39143
39144
|
}
|
|
39144
39145
|
function b(L) {
|
|
39145
39146
|
return w(L) === k;
|
|
@@ -39147,7 +39148,7 @@ function wse() {
|
|
|
39147
39148
|
function U(L) {
|
|
39148
39149
|
return w(L) === a;
|
|
39149
39150
|
}
|
|
39150
|
-
function
|
|
39151
|
+
function z(L) {
|
|
39151
39152
|
return w(L) === r;
|
|
39152
39153
|
}
|
|
39153
39154
|
function W(L) {
|
|
@@ -39156,7 +39157,7 @@ function wse() {
|
|
|
39156
39157
|
function I(L) {
|
|
39157
39158
|
return w(L) === u;
|
|
39158
39159
|
}
|
|
39159
|
-
ye.AsyncMode = m, ye.ConcurrentMode = S, ye.ContextConsumer = A, ye.ContextProvider = P, ye.Element = j, ye.ForwardRef = E, ye.Fragment = q, ye.Lazy =
|
|
39160
|
+
ye.AsyncMode = m, ye.ConcurrentMode = S, ye.ContextConsumer = A, ye.ContextProvider = P, ye.Element = j, ye.ForwardRef = E, ye.Fragment = q, ye.Lazy = D, ye.Memo = ee, ye.Portal = H, ye.Profiler = Y, ye.StrictMode = Q, ye.Suspense = oe, ye.isAsyncMode = J, ye.isConcurrentMode = C, ye.isContextConsumer = R, ye.isContextProvider = T, ye.isElement = F, ye.isForwardRef = V, ye.isFragment = K, ye.isLazy = Z, ye.isMemo = b, ye.isPortal = U, ye.isProfiler = z, ye.isStrictMode = W, ye.isSuspense = I, ye.isValidElementType = f, ye.typeOf = w;
|
|
39160
39161
|
}()), ye;
|
|
39161
39162
|
}
|
|
39162
39163
|
var xb;
|
|
@@ -39255,8 +39256,8 @@ function Sse() {
|
|
|
39255
39256
|
throw p.name = "Invariant Violation", p;
|
|
39256
39257
|
}
|
|
39257
39258
|
u = r[h](c, h, d, s, null, t);
|
|
39258
|
-
} catch (
|
|
39259
|
-
u =
|
|
39259
|
+
} catch (v) {
|
|
39260
|
+
u = v;
|
|
39260
39261
|
}
|
|
39261
39262
|
if (u && !(u instanceof Error) && e(
|
|
39262
39263
|
(d || "React class") + ": type specification of " + s + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -39293,8 +39294,8 @@ function Ise() {
|
|
|
39293
39294
|
}
|
|
39294
39295
|
return DC = function(s, d) {
|
|
39295
39296
|
var l = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
|
|
39296
|
-
function u(
|
|
39297
|
-
var R =
|
|
39297
|
+
function u(C) {
|
|
39298
|
+
var R = C && (l && C[l] || C[h]);
|
|
39298
39299
|
if (typeof R == "function")
|
|
39299
39300
|
return R;
|
|
39300
39301
|
}
|
|
@@ -39316,20 +39317,20 @@ function Ise() {
|
|
|
39316
39317
|
objectOf: P,
|
|
39317
39318
|
oneOf: A,
|
|
39318
39319
|
oneOfType: j,
|
|
39319
|
-
shape:
|
|
39320
|
-
exact:
|
|
39320
|
+
shape: D,
|
|
39321
|
+
exact: ee
|
|
39321
39322
|
};
|
|
39322
|
-
function
|
|
39323
|
-
return
|
|
39323
|
+
function v(C, R) {
|
|
39324
|
+
return C === R ? C !== 0 || 1 / C === 1 / R : C !== C && R !== R;
|
|
39324
39325
|
}
|
|
39325
|
-
function g(
|
|
39326
|
-
this.message =
|
|
39326
|
+
function g(C, R) {
|
|
39327
|
+
this.message = C, this.data = R && typeof R == "object" ? R : {}, this.stack = "";
|
|
39327
39328
|
}
|
|
39328
39329
|
g.prototype = Error.prototype;
|
|
39329
|
-
function C
|
|
39330
|
+
function x(C) {
|
|
39330
39331
|
if (process.env.NODE_ENV !== "production")
|
|
39331
39332
|
var R = {}, T = 0;
|
|
39332
|
-
function
|
|
39333
|
+
function F(K, Z, b, U, z, W, I) {
|
|
39333
39334
|
if (U = U || p, W = W || b, I !== a) {
|
|
39334
39335
|
if (d) {
|
|
39335
39336
|
var L = new Error(
|
|
@@ -39344,209 +39345,209 @@ function Ise() {
|
|
|
39344
39345
|
), R[ke] = !0, T++);
|
|
39345
39346
|
}
|
|
39346
39347
|
}
|
|
39347
|
-
return Z[b] == null ?
|
|
39348
|
+
return Z[b] == null ? K ? Z[b] === null ? new g("The " + z + " `" + W + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new g("The " + z + " `" + W + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : C(Z, b, U, z, W);
|
|
39348
39349
|
}
|
|
39349
|
-
var
|
|
39350
|
-
return
|
|
39350
|
+
var V = F.bind(null, !1);
|
|
39351
|
+
return V.isRequired = F.bind(null, !0), V;
|
|
39351
39352
|
}
|
|
39352
|
-
function M(
|
|
39353
|
-
function R(T,
|
|
39354
|
-
var U = T[
|
|
39355
|
-
if (
|
|
39353
|
+
function M(C) {
|
|
39354
|
+
function R(T, F, V, K, Z, b) {
|
|
39355
|
+
var U = T[F], z = Q(U);
|
|
39356
|
+
if (z !== C) {
|
|
39356
39357
|
var W = oe(U);
|
|
39357
39358
|
return new g(
|
|
39358
|
-
"Invalid " +
|
|
39359
|
-
{ expectedType:
|
|
39359
|
+
"Invalid " + K + " `" + Z + "` of type " + ("`" + W + "` supplied to `" + V + "`, expected ") + ("`" + C + "`."),
|
|
39360
|
+
{ expectedType: C }
|
|
39360
39361
|
);
|
|
39361
39362
|
}
|
|
39362
39363
|
return null;
|
|
39363
39364
|
}
|
|
39364
|
-
return
|
|
39365
|
+
return x(R);
|
|
39365
39366
|
}
|
|
39366
39367
|
function N() {
|
|
39367
|
-
return
|
|
39368
|
+
return x(c);
|
|
39368
39369
|
}
|
|
39369
|
-
function f(
|
|
39370
|
-
function R(T,
|
|
39371
|
-
if (typeof
|
|
39372
|
-
return new g("Property `" + Z + "` of component `" +
|
|
39373
|
-
var b = T[
|
|
39370
|
+
function f(C) {
|
|
39371
|
+
function R(T, F, V, K, Z) {
|
|
39372
|
+
if (typeof C != "function")
|
|
39373
|
+
return new g("Property `" + Z + "` of component `" + V + "` has invalid PropType notation inside arrayOf.");
|
|
39374
|
+
var b = T[F];
|
|
39374
39375
|
if (!Array.isArray(b)) {
|
|
39375
39376
|
var U = Q(b);
|
|
39376
|
-
return new g("Invalid " +
|
|
39377
|
+
return new g("Invalid " + K + " `" + Z + "` of type " + ("`" + U + "` supplied to `" + V + "`, expected an array."));
|
|
39377
39378
|
}
|
|
39378
|
-
for (var
|
|
39379
|
-
var W =
|
|
39379
|
+
for (var z = 0; z < b.length; z++) {
|
|
39380
|
+
var W = C(b, z, V, K, Z + "[" + z + "]", a);
|
|
39380
39381
|
if (W instanceof Error)
|
|
39381
39382
|
return W;
|
|
39382
39383
|
}
|
|
39383
39384
|
return null;
|
|
39384
39385
|
}
|
|
39385
|
-
return
|
|
39386
|
+
return x(R);
|
|
39386
39387
|
}
|
|
39387
39388
|
function w() {
|
|
39388
|
-
function
|
|
39389
|
+
function C(R, T, F, V, K) {
|
|
39389
39390
|
var Z = R[T];
|
|
39390
39391
|
if (!s(Z)) {
|
|
39391
39392
|
var b = Q(Z);
|
|
39392
|
-
return new g("Invalid " +
|
|
39393
|
+
return new g("Invalid " + V + " `" + K + "` of type " + ("`" + b + "` supplied to `" + F + "`, expected a single ReactElement."));
|
|
39393
39394
|
}
|
|
39394
39395
|
return null;
|
|
39395
39396
|
}
|
|
39396
|
-
return C
|
|
39397
|
+
return x(C);
|
|
39397
39398
|
}
|
|
39398
39399
|
function m() {
|
|
39399
|
-
function
|
|
39400
|
+
function C(R, T, F, V, K) {
|
|
39400
39401
|
var Z = R[T];
|
|
39401
39402
|
if (!e.isValidElementType(Z)) {
|
|
39402
39403
|
var b = Q(Z);
|
|
39403
|
-
return new g("Invalid " +
|
|
39404
|
+
return new g("Invalid " + V + " `" + K + "` of type " + ("`" + b + "` supplied to `" + F + "`, expected a single ReactElement type."));
|
|
39404
39405
|
}
|
|
39405
39406
|
return null;
|
|
39406
39407
|
}
|
|
39407
|
-
return C
|
|
39408
|
+
return x(C);
|
|
39408
39409
|
}
|
|
39409
|
-
function S(
|
|
39410
|
-
function R(T,
|
|
39411
|
-
if (!(T[
|
|
39412
|
-
var b =
|
|
39413
|
-
return new g("Invalid " +
|
|
39410
|
+
function S(C) {
|
|
39411
|
+
function R(T, F, V, K, Z) {
|
|
39412
|
+
if (!(T[F] instanceof C)) {
|
|
39413
|
+
var b = C.name || p, U = J(T[F]);
|
|
39414
|
+
return new g("Invalid " + K + " `" + Z + "` of type " + ("`" + U + "` supplied to `" + V + "`, expected ") + ("instance of `" + b + "`."));
|
|
39414
39415
|
}
|
|
39415
39416
|
return null;
|
|
39416
39417
|
}
|
|
39417
|
-
return
|
|
39418
|
+
return x(R);
|
|
39418
39419
|
}
|
|
39419
|
-
function A(
|
|
39420
|
-
if (!Array.isArray(
|
|
39420
|
+
function A(C) {
|
|
39421
|
+
if (!Array.isArray(C))
|
|
39421
39422
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
|
|
39422
39423
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
39423
39424
|
) : r("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
39424
|
-
function R(T,
|
|
39425
|
-
for (var b = T[
|
|
39426
|
-
if (
|
|
39425
|
+
function R(T, F, V, K, Z) {
|
|
39426
|
+
for (var b = T[F], U = 0; U < C.length; U++)
|
|
39427
|
+
if (v(b, C[U]))
|
|
39427
39428
|
return null;
|
|
39428
|
-
var
|
|
39429
|
+
var z = JSON.stringify(C, function(I, L) {
|
|
39429
39430
|
var ke = oe(L);
|
|
39430
39431
|
return ke === "symbol" ? String(L) : L;
|
|
39431
39432
|
});
|
|
39432
|
-
return new g("Invalid " +
|
|
39433
|
+
return new g("Invalid " + K + " `" + Z + "` of value `" + String(b) + "` " + ("supplied to `" + V + "`, expected one of " + z + "."));
|
|
39433
39434
|
}
|
|
39434
|
-
return
|
|
39435
|
+
return x(R);
|
|
39435
39436
|
}
|
|
39436
|
-
function P(
|
|
39437
|
-
function R(T,
|
|
39438
|
-
if (typeof
|
|
39439
|
-
return new g("Property `" + Z + "` of component `" +
|
|
39440
|
-
var b = T[
|
|
39437
|
+
function P(C) {
|
|
39438
|
+
function R(T, F, V, K, Z) {
|
|
39439
|
+
if (typeof C != "function")
|
|
39440
|
+
return new g("Property `" + Z + "` of component `" + V + "` has invalid PropType notation inside objectOf.");
|
|
39441
|
+
var b = T[F], U = Q(b);
|
|
39441
39442
|
if (U !== "object")
|
|
39442
|
-
return new g("Invalid " +
|
|
39443
|
-
for (var
|
|
39444
|
-
if (o(b,
|
|
39445
|
-
var W =
|
|
39443
|
+
return new g("Invalid " + K + " `" + Z + "` of type " + ("`" + U + "` supplied to `" + V + "`, expected an object."));
|
|
39444
|
+
for (var z in b)
|
|
39445
|
+
if (o(b, z)) {
|
|
39446
|
+
var W = C(b, z, V, K, Z + "." + z, a);
|
|
39446
39447
|
if (W instanceof Error)
|
|
39447
39448
|
return W;
|
|
39448
39449
|
}
|
|
39449
39450
|
return null;
|
|
39450
39451
|
}
|
|
39451
|
-
return
|
|
39452
|
+
return x(R);
|
|
39452
39453
|
}
|
|
39453
|
-
function j(
|
|
39454
|
-
if (!Array.isArray(
|
|
39454
|
+
function j(C) {
|
|
39455
|
+
if (!Array.isArray(C))
|
|
39455
39456
|
return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), c;
|
|
39456
|
-
for (var R = 0; R <
|
|
39457
|
-
var T =
|
|
39457
|
+
for (var R = 0; R < C.length; R++) {
|
|
39458
|
+
var T = C[R];
|
|
39458
39459
|
if (typeof T != "function")
|
|
39459
39460
|
return r(
|
|
39460
39461
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ne(T) + " at index " + R + "."
|
|
39461
39462
|
), c;
|
|
39462
39463
|
}
|
|
39463
|
-
function
|
|
39464
|
-
for (var
|
|
39465
|
-
var I =
|
|
39464
|
+
function F(V, K, Z, b, U) {
|
|
39465
|
+
for (var z = [], W = 0; W < C.length; W++) {
|
|
39466
|
+
var I = C[W], L = I(V, K, Z, b, U, a);
|
|
39466
39467
|
if (L == null)
|
|
39467
39468
|
return null;
|
|
39468
|
-
L.data && o(L.data, "expectedType") &&
|
|
39469
|
+
L.data && o(L.data, "expectedType") && z.push(L.data.expectedType);
|
|
39469
39470
|
}
|
|
39470
|
-
var ke =
|
|
39471
|
+
var ke = z.length > 0 ? ", expected one of type [" + z.join(", ") + "]" : "";
|
|
39471
39472
|
return new g("Invalid " + b + " `" + U + "` supplied to " + ("`" + Z + "`" + ke + "."));
|
|
39472
39473
|
}
|
|
39473
|
-
return
|
|
39474
|
+
return x(F);
|
|
39474
39475
|
}
|
|
39475
39476
|
function E() {
|
|
39476
|
-
function
|
|
39477
|
-
return
|
|
39477
|
+
function C(R, T, F, V, K) {
|
|
39478
|
+
return H(R[T]) ? null : new g("Invalid " + V + " `" + K + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
|
|
39478
39479
|
}
|
|
39479
|
-
return C
|
|
39480
|
+
return x(C);
|
|
39480
39481
|
}
|
|
39481
|
-
function q(
|
|
39482
|
+
function q(C, R, T, F, V) {
|
|
39482
39483
|
return new g(
|
|
39483
|
-
(
|
|
39484
|
+
(C || "React class") + ": " + R + " type `" + T + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + V + "`."
|
|
39484
39485
|
);
|
|
39485
39486
|
}
|
|
39486
|
-
function
|
|
39487
|
-
function R(T,
|
|
39488
|
-
var b = T[
|
|
39487
|
+
function D(C) {
|
|
39488
|
+
function R(T, F, V, K, Z) {
|
|
39489
|
+
var b = T[F], U = Q(b);
|
|
39489
39490
|
if (U !== "object")
|
|
39490
|
-
return new g("Invalid " +
|
|
39491
|
-
for (var
|
|
39492
|
-
var W =
|
|
39491
|
+
return new g("Invalid " + K + " `" + Z + "` of type `" + U + "` " + ("supplied to `" + V + "`, expected `object`."));
|
|
39492
|
+
for (var z in C) {
|
|
39493
|
+
var W = C[z];
|
|
39493
39494
|
if (typeof W != "function")
|
|
39494
|
-
return q(
|
|
39495
|
-
var I = W(b,
|
|
39495
|
+
return q(V, K, Z, z, oe(W));
|
|
39496
|
+
var I = W(b, z, V, K, Z + "." + z, a);
|
|
39496
39497
|
if (I)
|
|
39497
39498
|
return I;
|
|
39498
39499
|
}
|
|
39499
39500
|
return null;
|
|
39500
39501
|
}
|
|
39501
|
-
return
|
|
39502
|
+
return x(R);
|
|
39502
39503
|
}
|
|
39503
|
-
function
|
|
39504
|
-
function R(T,
|
|
39505
|
-
var b = T[
|
|
39504
|
+
function ee(C) {
|
|
39505
|
+
function R(T, F, V, K, Z) {
|
|
39506
|
+
var b = T[F], U = Q(b);
|
|
39506
39507
|
if (U !== "object")
|
|
39507
|
-
return new g("Invalid " +
|
|
39508
|
-
var
|
|
39509
|
-
for (var W in
|
|
39510
|
-
var I =
|
|
39511
|
-
if (o(
|
|
39512
|
-
return q(
|
|
39508
|
+
return new g("Invalid " + K + " `" + Z + "` of type `" + U + "` " + ("supplied to `" + V + "`, expected `object`."));
|
|
39509
|
+
var z = t({}, T[F], C);
|
|
39510
|
+
for (var W in z) {
|
|
39511
|
+
var I = C[W];
|
|
39512
|
+
if (o(C, W) && typeof I != "function")
|
|
39513
|
+
return q(V, K, Z, W, oe(I));
|
|
39513
39514
|
if (!I)
|
|
39514
39515
|
return new g(
|
|
39515
|
-
"Invalid " +
|
|
39516
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
39516
|
+
"Invalid " + K + " `" + Z + "` key `" + W + "` supplied to `" + V + "`.\nBad object: " + JSON.stringify(T[F], null, " ") + `
|
|
39517
|
+
Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
39517
39518
|
);
|
|
39518
|
-
var L = I(b, W,
|
|
39519
|
+
var L = I(b, W, V, K, Z + "." + W, a);
|
|
39519
39520
|
if (L)
|
|
39520
39521
|
return L;
|
|
39521
39522
|
}
|
|
39522
39523
|
return null;
|
|
39523
39524
|
}
|
|
39524
|
-
return
|
|
39525
|
+
return x(R);
|
|
39525
39526
|
}
|
|
39526
|
-
function
|
|
39527
|
-
switch (typeof
|
|
39527
|
+
function H(C) {
|
|
39528
|
+
switch (typeof C) {
|
|
39528
39529
|
case "number":
|
|
39529
39530
|
case "string":
|
|
39530
39531
|
case "undefined":
|
|
39531
39532
|
return !0;
|
|
39532
39533
|
case "boolean":
|
|
39533
|
-
return !
|
|
39534
|
+
return !C;
|
|
39534
39535
|
case "object":
|
|
39535
|
-
if (Array.isArray(
|
|
39536
|
-
return
|
|
39537
|
-
if (
|
|
39536
|
+
if (Array.isArray(C))
|
|
39537
|
+
return C.every(H);
|
|
39538
|
+
if (C === null || s(C))
|
|
39538
39539
|
return !0;
|
|
39539
|
-
var R = u(
|
|
39540
|
+
var R = u(C);
|
|
39540
39541
|
if (R) {
|
|
39541
|
-
var T = R.call(
|
|
39542
|
-
if (R !==
|
|
39543
|
-
for (; !(
|
|
39544
|
-
if (!F
|
|
39542
|
+
var T = R.call(C), F;
|
|
39543
|
+
if (R !== C.entries) {
|
|
39544
|
+
for (; !(F = T.next()).done; )
|
|
39545
|
+
if (!H(F.value))
|
|
39545
39546
|
return !1;
|
|
39546
39547
|
} else
|
|
39547
|
-
for (; !(
|
|
39548
|
-
var
|
|
39549
|
-
if (
|
|
39548
|
+
for (; !(F = T.next()).done; ) {
|
|
39549
|
+
var V = F.value;
|
|
39550
|
+
if (V && !H(V[1]))
|
|
39550
39551
|
return !1;
|
|
39551
39552
|
}
|
|
39552
39553
|
} else
|
|
@@ -39556,27 +39557,27 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
39556
39557
|
return !1;
|
|
39557
39558
|
}
|
|
39558
39559
|
}
|
|
39559
|
-
function
|
|
39560
|
-
return
|
|
39560
|
+
function Y(C, R) {
|
|
39561
|
+
return C === "symbol" ? !0 : R ? R["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && R instanceof Symbol : !1;
|
|
39561
39562
|
}
|
|
39562
|
-
function Q(
|
|
39563
|
-
var R = typeof
|
|
39564
|
-
return Array.isArray(
|
|
39563
|
+
function Q(C) {
|
|
39564
|
+
var R = typeof C;
|
|
39565
|
+
return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : Y(R, C) ? "symbol" : R;
|
|
39565
39566
|
}
|
|
39566
|
-
function oe(
|
|
39567
|
-
if (typeof
|
|
39568
|
-
return "" +
|
|
39569
|
-
var R = Q(
|
|
39567
|
+
function oe(C) {
|
|
39568
|
+
if (typeof C > "u" || C === null)
|
|
39569
|
+
return "" + C;
|
|
39570
|
+
var R = Q(C);
|
|
39570
39571
|
if (R === "object") {
|
|
39571
|
-
if (
|
|
39572
|
+
if (C instanceof Date)
|
|
39572
39573
|
return "date";
|
|
39573
|
-
if (
|
|
39574
|
+
if (C instanceof RegExp)
|
|
39574
39575
|
return "regexp";
|
|
39575
39576
|
}
|
|
39576
39577
|
return R;
|
|
39577
39578
|
}
|
|
39578
|
-
function ne(
|
|
39579
|
-
var R = oe(
|
|
39579
|
+
function ne(C) {
|
|
39580
|
+
var R = oe(C);
|
|
39580
39581
|
switch (R) {
|
|
39581
39582
|
case "array":
|
|
39582
39583
|
case "object":
|
|
@@ -39589,8 +39590,8 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
39589
39590
|
return R;
|
|
39590
39591
|
}
|
|
39591
39592
|
}
|
|
39592
|
-
function
|
|
39593
|
-
return !
|
|
39593
|
+
function J(C) {
|
|
39594
|
+
return !C.constructor || !C.constructor.name ? p : C.constructor.name;
|
|
39594
39595
|
}
|
|
39595
39596
|
return k.checkPropTypes = i, k.resetWarningCache = i.resetWarningCache, k.PropTypes = k, k;
|
|
39596
39597
|
}, DC;
|
|
@@ -39780,53 +39781,56 @@ const jse = (e) => `not ${e}`, Hse = (e, t) => {
|
|
|
39780
39781
|
"no-placeholder": "input-module__no-placeholder___i5lJb",
|
|
39781
39782
|
loading: ade
|
|
39782
39783
|
}, ode = ({
|
|
39783
|
-
|
|
39784
|
-
|
|
39785
|
-
|
|
39786
|
-
|
|
39787
|
-
|
|
39788
|
-
|
|
39789
|
-
|
|
39790
|
-
|
|
39791
|
-
|
|
39792
|
-
|
|
39793
|
-
|
|
39794
|
-
|
|
39784
|
+
label: e = "",
|
|
39785
|
+
placeholder: t = "",
|
|
39786
|
+
options: a,
|
|
39787
|
+
name: o,
|
|
39788
|
+
id: i,
|
|
39789
|
+
value: r,
|
|
39790
|
+
helper: c,
|
|
39791
|
+
className: s = "",
|
|
39792
|
+
isDisabled: d = !1,
|
|
39793
|
+
isLoading: l = !1,
|
|
39794
|
+
isSkeleton: h = !1,
|
|
39795
|
+
isError: u = !1,
|
|
39796
|
+
onChange: p
|
|
39795
39797
|
}) => {
|
|
39796
|
-
const
|
|
39798
|
+
const k = De(null);
|
|
39797
39799
|
return /* @__PURE__ */ _.jsxs("div", { className: se(ce.field, ce["no-placeholder"]), children: [
|
|
39800
|
+
e && /* @__PURE__ */ _.jsx("label", { htmlFor: i || o, children: e }),
|
|
39798
39801
|
/* @__PURE__ */ _.jsxs(
|
|
39799
39802
|
"div",
|
|
39800
39803
|
{
|
|
39801
39804
|
className: se(
|
|
39802
39805
|
ce.outer,
|
|
39803
|
-
|
|
39804
|
-
(
|
|
39805
|
-
|
|
39806
|
-
|
|
39807
|
-
|
|
39806
|
+
s,
|
|
39807
|
+
(d || l || h) && ce["is-disabled"],
|
|
39808
|
+
l && !h && ce["is-loading"],
|
|
39809
|
+
h && ce["is-skeleton"],
|
|
39810
|
+
u && ce["is-error"]
|
|
39808
39811
|
),
|
|
39809
39812
|
children: [
|
|
39810
|
-
|
|
39813
|
+
l && !h && /* @__PURE__ */ _.jsx("div", { className: ce.loading }),
|
|
39811
39814
|
/* @__PURE__ */ _.jsx("div", { className: ce.inner, children: /* @__PURE__ */ _.jsxs(
|
|
39812
39815
|
"select",
|
|
39813
39816
|
{
|
|
39814
|
-
ref:
|
|
39815
|
-
id:
|
|
39816
|
-
name:
|
|
39817
|
-
value:
|
|
39818
|
-
onChange:
|
|
39817
|
+
ref: k,
|
|
39818
|
+
id: i || o,
|
|
39819
|
+
name: o,
|
|
39820
|
+
value: r,
|
|
39821
|
+
onChange: p,
|
|
39819
39822
|
className: ce.input,
|
|
39820
|
-
|
|
39823
|
+
"aria-label": e ? "" : i || o,
|
|
39824
|
+
disabled: d || l || h,
|
|
39821
39825
|
children: [
|
|
39822
|
-
|
|
39823
|
-
|
|
39826
|
+
t && /* @__PURE__ */ _.jsx("option", { value: "", children: t }),
|
|
39827
|
+
a == null ? void 0 : a.map((v) => /* @__PURE__ */ _.jsx(
|
|
39824
39828
|
"option",
|
|
39825
39829
|
{
|
|
39826
|
-
value:
|
|
39827
|
-
children:
|
|
39830
|
+
value: v.value,
|
|
39831
|
+
children: v.label
|
|
39828
39832
|
},
|
|
39829
|
-
|
|
39833
|
+
v.value
|
|
39830
39834
|
))
|
|
39831
39835
|
]
|
|
39832
39836
|
}
|
|
@@ -39842,7 +39846,7 @@ const jse = (e) => `not ${e}`, Hse = (e, t) => {
|
|
|
39842
39846
|
]
|
|
39843
39847
|
}
|
|
39844
39848
|
),
|
|
39845
|
-
|
|
39849
|
+
c && /* @__PURE__ */ _.jsx("div", { className: ce.helper, children: c })
|
|
39846
39850
|
] });
|
|
39847
39851
|
}, Hde = ({
|
|
39848
39852
|
totalPages: e = 4,
|
|
@@ -39949,145 +39953,148 @@ const jse = (e) => `not ${e}`, Hse = (e, t) => {
|
|
|
39949
39953
|
return /* @__PURE__ */ _.jsx(o, { ...d });
|
|
39950
39954
|
}, Eb = ({
|
|
39951
39955
|
type: e = "text",
|
|
39952
|
-
|
|
39953
|
-
|
|
39954
|
-
|
|
39955
|
-
|
|
39956
|
-
|
|
39957
|
-
|
|
39958
|
-
|
|
39959
|
-
|
|
39960
|
-
|
|
39961
|
-
|
|
39962
|
-
|
|
39963
|
-
|
|
39964
|
-
|
|
39965
|
-
|
|
39966
|
-
|
|
39967
|
-
|
|
39968
|
-
|
|
39969
|
-
|
|
39970
|
-
|
|
39956
|
+
label: t = "",
|
|
39957
|
+
placeholder: a = "",
|
|
39958
|
+
name: o,
|
|
39959
|
+
id: i,
|
|
39960
|
+
value: r,
|
|
39961
|
+
helper: c,
|
|
39962
|
+
className: s = "",
|
|
39963
|
+
leadingIcon: d,
|
|
39964
|
+
leadingFunction: l,
|
|
39965
|
+
leadingText: h = "",
|
|
39966
|
+
trailingIcon: u,
|
|
39967
|
+
trailingFunction: p,
|
|
39968
|
+
trailingText: k = "",
|
|
39969
|
+
button: v,
|
|
39970
|
+
isDisabled: g = !1,
|
|
39971
|
+
isLoading: x = !1,
|
|
39972
|
+
isSkeleton: M = !1,
|
|
39973
|
+
isError: N = !1,
|
|
39974
|
+
onChange: f,
|
|
39975
|
+
...w
|
|
39971
39976
|
}) => {
|
|
39972
|
-
const
|
|
39973
|
-
var
|
|
39974
|
-
return (
|
|
39975
|
-
},
|
|
39976
|
-
|
|
39977
|
+
const m = De(null), [S, A] = Ge(!1), P = () => {
|
|
39978
|
+
var H;
|
|
39979
|
+
return (H = m.current) == null ? void 0 : H.focus();
|
|
39980
|
+
}, j = () => {
|
|
39981
|
+
f({
|
|
39977
39982
|
target: {
|
|
39978
|
-
name:
|
|
39983
|
+
name: o,
|
|
39979
39984
|
value: ""
|
|
39980
39985
|
}
|
|
39981
39986
|
});
|
|
39982
|
-
},
|
|
39983
|
-
|
|
39984
|
-
},
|
|
39985
|
-
|
|
39986
|
-
},
|
|
39987
|
-
|
|
39988
|
-
},
|
|
39989
|
-
var
|
|
39990
|
-
|
|
39987
|
+
}, E = (H) => {
|
|
39988
|
+
H.stopPropagation(), A((Y) => !Y);
|
|
39989
|
+
}, q = (H) => {
|
|
39990
|
+
H.stopPropagation(), l == null || l();
|
|
39991
|
+
}, D = (H) => {
|
|
39992
|
+
H.stopPropagation(), u === "X" && j(), p == null || p();
|
|
39993
|
+
}, ee = (H) => {
|
|
39994
|
+
var Y;
|
|
39995
|
+
H.stopPropagation(), (Y = v == null ? void 0 : v.onClick) == null || Y.call(v, H);
|
|
39991
39996
|
};
|
|
39992
|
-
return /* @__PURE__ */ _.jsxs("div", { className: se(ce.field, !
|
|
39997
|
+
return /* @__PURE__ */ _.jsxs("div", { className: se(ce.field, !a && ce["no-placeholder"]), children: [
|
|
39998
|
+
t && /* @__PURE__ */ _.jsx("label", { htmlFor: i || o, children: t }),
|
|
39993
39999
|
/* @__PURE__ */ _.jsxs(
|
|
39994
40000
|
"div",
|
|
39995
40001
|
{
|
|
39996
40002
|
className: se(
|
|
39997
40003
|
ce.outer,
|
|
39998
|
-
|
|
39999
|
-
(
|
|
40000
|
-
|
|
40001
|
-
|
|
40002
|
-
|
|
40004
|
+
s,
|
|
40005
|
+
(g || x || M) && ce["is-disabled"],
|
|
40006
|
+
x && !M && ce["is-loading"],
|
|
40007
|
+
M && ce["is-skeleton"],
|
|
40008
|
+
N && ce["is-error"]
|
|
40003
40009
|
),
|
|
40004
|
-
onClick:
|
|
40010
|
+
onClick: P,
|
|
40005
40011
|
children: [
|
|
40006
|
-
|
|
40007
|
-
|
|
40012
|
+
x && !M && /* @__PURE__ */ _.jsx("div", { className: ce.loading }),
|
|
40013
|
+
d && /* @__PURE__ */ _.jsx(
|
|
40008
40014
|
"div",
|
|
40009
40015
|
{
|
|
40010
|
-
onClick:
|
|
40011
|
-
className: se(ce["icon-wrap"],
|
|
40016
|
+
onClick: l && q,
|
|
40017
|
+
className: se(ce["icon-wrap"], l && ce.click),
|
|
40012
40018
|
children: /* @__PURE__ */ _.jsx(
|
|
40013
40019
|
h1,
|
|
40014
40020
|
{
|
|
40015
|
-
name:
|
|
40021
|
+
name: d,
|
|
40016
40022
|
size: "md",
|
|
40017
40023
|
className: ce.icon
|
|
40018
40024
|
}
|
|
40019
40025
|
)
|
|
40020
40026
|
}
|
|
40021
40027
|
),
|
|
40022
|
-
|
|
40028
|
+
h && /* @__PURE__ */ _.jsx("div", { className: ce.text, children: h }),
|
|
40023
40029
|
/* @__PURE__ */ _.jsxs("div", { className: se(ce.inner), children: [
|
|
40024
40030
|
/* @__PURE__ */ _.jsx(
|
|
40025
40031
|
"input",
|
|
40026
40032
|
{
|
|
40027
|
-
ref:
|
|
40028
|
-
type: e === "password" &&
|
|
40029
|
-
id:
|
|
40030
|
-
name:
|
|
40031
|
-
value:
|
|
40032
|
-
onChange:
|
|
40033
|
+
ref: m,
|
|
40034
|
+
type: e === "password" && S ? "text" : e,
|
|
40035
|
+
id: i || o,
|
|
40036
|
+
name: o,
|
|
40037
|
+
value: r,
|
|
40038
|
+
onChange: f,
|
|
40033
40039
|
className: ce.input,
|
|
40034
40040
|
placeholder: " ",
|
|
40035
40041
|
required: !0,
|
|
40036
|
-
|
|
40037
|
-
|
|
40042
|
+
"aria-label": t ? "" : a,
|
|
40043
|
+
disabled: g || x || M,
|
|
40044
|
+
...w
|
|
40038
40045
|
}
|
|
40039
40046
|
),
|
|
40040
|
-
/* @__PURE__ */ _.jsx("span", { className: ce.placeholder, children:
|
|
40047
|
+
/* @__PURE__ */ _.jsx("span", { className: ce.placeholder, children: a })
|
|
40041
40048
|
] }),
|
|
40042
|
-
|
|
40049
|
+
k && /* @__PURE__ */ _.jsx("div", { className: ce.text, children: k }),
|
|
40043
40050
|
e === "password" && /* @__PURE__ */ _.jsx(
|
|
40044
40051
|
"div",
|
|
40045
40052
|
{
|
|
40046
|
-
onClick:
|
|
40053
|
+
onClick: E,
|
|
40047
40054
|
className: se(ce["icon-wrap"], ce.click),
|
|
40048
40055
|
children: /* @__PURE__ */ _.jsx(
|
|
40049
40056
|
h1,
|
|
40050
40057
|
{
|
|
40051
|
-
name:
|
|
40058
|
+
name: S ? "Eye" : "EyeOff",
|
|
40052
40059
|
size: "md",
|
|
40053
40060
|
className: ce.icon
|
|
40054
40061
|
}
|
|
40055
40062
|
)
|
|
40056
40063
|
}
|
|
40057
40064
|
),
|
|
40058
|
-
|
|
40065
|
+
u && !(u === "X" && (!r || g)) && /* @__PURE__ */ _.jsx(
|
|
40059
40066
|
"div",
|
|
40060
40067
|
{
|
|
40061
|
-
onClick:
|
|
40068
|
+
onClick: D,
|
|
40062
40069
|
className: se(
|
|
40063
40070
|
ce["icon-wrap"],
|
|
40064
|
-
|
|
40071
|
+
p || u === "X" ? ce.click : ""
|
|
40065
40072
|
),
|
|
40066
40073
|
children: /* @__PURE__ */ _.jsx(
|
|
40067
40074
|
h1,
|
|
40068
40075
|
{
|
|
40069
|
-
name:
|
|
40076
|
+
name: u,
|
|
40070
40077
|
size: "md",
|
|
40071
40078
|
className: ce.icon
|
|
40072
40079
|
}
|
|
40073
40080
|
)
|
|
40074
40081
|
}
|
|
40075
40082
|
),
|
|
40076
|
-
|
|
40083
|
+
v && /* @__PURE__ */ _.jsx(
|
|
40077
40084
|
i1,
|
|
40078
40085
|
{
|
|
40079
|
-
...
|
|
40086
|
+
...v,
|
|
40080
40087
|
size: "sm",
|
|
40081
|
-
variant:
|
|
40088
|
+
variant: v.variant || "primary",
|
|
40082
40089
|
className: ce.button,
|
|
40083
|
-
isDisabled:
|
|
40084
|
-
onClick:
|
|
40090
|
+
isDisabled: g || x || M,
|
|
40091
|
+
onClick: ee
|
|
40085
40092
|
}
|
|
40086
40093
|
)
|
|
40087
40094
|
]
|
|
40088
40095
|
}
|
|
40089
40096
|
),
|
|
40090
|
-
|
|
40097
|
+
c && /* @__PURE__ */ _.jsx("div", { className: ce.helper, children: c })
|
|
40091
40098
|
] });
|
|
40092
40099
|
}, zde = ({
|
|
40093
40100
|
name: e,
|
|
@@ -40139,58 +40146,61 @@ const jse = (e) => `not ${e}`, Hse = (e, t) => {
|
|
|
40139
40146
|
),
|
|
40140
40147
|
i && /* @__PURE__ */ _.jsx("div", { className: Ce.helper, children: i })
|
|
40141
40148
|
] }), ide = ({
|
|
40142
|
-
|
|
40143
|
-
|
|
40144
|
-
|
|
40145
|
-
|
|
40146
|
-
|
|
40147
|
-
|
|
40148
|
-
|
|
40149
|
-
|
|
40150
|
-
|
|
40151
|
-
|
|
40152
|
-
|
|
40149
|
+
label: e = "",
|
|
40150
|
+
placeholder: t = "",
|
|
40151
|
+
name: a,
|
|
40152
|
+
id: o,
|
|
40153
|
+
value: i,
|
|
40154
|
+
helper: r,
|
|
40155
|
+
className: c = "",
|
|
40156
|
+
isDisabled: s = !1,
|
|
40157
|
+
isLoading: d = !1,
|
|
40158
|
+
isSkeleton: l = !1,
|
|
40159
|
+
isError: h = !1,
|
|
40160
|
+
onChange: u
|
|
40153
40161
|
}) => {
|
|
40154
|
-
const
|
|
40155
|
-
var
|
|
40156
|
-
return (
|
|
40162
|
+
const p = De(null), k = () => {
|
|
40163
|
+
var v;
|
|
40164
|
+
return (v = p.current) == null ? void 0 : v.focus();
|
|
40157
40165
|
};
|
|
40158
|
-
return /* @__PURE__ */ _.jsxs("div", { className: se(ce.field, !
|
|
40166
|
+
return /* @__PURE__ */ _.jsxs("div", { className: se(ce.field, !t && ce["no-placeholder"]), children: [
|
|
40167
|
+
e && /* @__PURE__ */ _.jsx("label", { htmlFor: o || a, children: e }),
|
|
40159
40168
|
/* @__PURE__ */ _.jsxs(
|
|
40160
40169
|
"div",
|
|
40161
40170
|
{
|
|
40162
40171
|
className: se(
|
|
40163
40172
|
ce.outer,
|
|
40164
|
-
|
|
40165
|
-
(
|
|
40166
|
-
|
|
40167
|
-
|
|
40168
|
-
|
|
40173
|
+
c,
|
|
40174
|
+
(s || d || l) && ce["is-disabled"],
|
|
40175
|
+
d && !l && ce["is-loading"],
|
|
40176
|
+
l && ce["is-skeleton"],
|
|
40177
|
+
h && ce["is-error"]
|
|
40169
40178
|
),
|
|
40170
|
-
onClick:
|
|
40179
|
+
onClick: k,
|
|
40171
40180
|
children: [
|
|
40172
|
-
|
|
40181
|
+
d && !l && /* @__PURE__ */ _.jsx("div", { className: ce.loading }),
|
|
40173
40182
|
/* @__PURE__ */ _.jsxs("div", { className: se(ce.inner), children: [
|
|
40174
40183
|
/* @__PURE__ */ _.jsx(
|
|
40175
40184
|
"textarea",
|
|
40176
40185
|
{
|
|
40177
|
-
ref:
|
|
40178
|
-
id:
|
|
40179
|
-
name:
|
|
40180
|
-
value:
|
|
40181
|
-
onChange:
|
|
40186
|
+
ref: p,
|
|
40187
|
+
id: o || a,
|
|
40188
|
+
name: a,
|
|
40189
|
+
value: i,
|
|
40190
|
+
onChange: u,
|
|
40182
40191
|
className: ce.input,
|
|
40183
40192
|
placeholder: " ",
|
|
40184
40193
|
required: !0,
|
|
40185
|
-
|
|
40194
|
+
"aria-label": e ? "" : t,
|
|
40195
|
+
disabled: s || d || l
|
|
40186
40196
|
}
|
|
40187
40197
|
),
|
|
40188
|
-
/* @__PURE__ */ _.jsx("span", { className: ce.placeholder, children:
|
|
40198
|
+
/* @__PURE__ */ _.jsx("span", { className: ce.placeholder, children: t })
|
|
40189
40199
|
] })
|
|
40190
40200
|
]
|
|
40191
40201
|
}
|
|
40192
40202
|
),
|
|
40193
|
-
|
|
40203
|
+
r && /* @__PURE__ */ _.jsx("div", { className: ce.helper, children: r })
|
|
40194
40204
|
] });
|
|
40195
40205
|
}, cde = "example-module__example___TRgac", rde = "example-module__content___ExA7w", FC = {
|
|
40196
40206
|
example: cde,
|
|
@@ -40264,14 +40274,14 @@ const jse = (e) => `not ${e}`, Hse = (e, t) => {
|
|
|
40264
40274
|
Oe(() => {
|
|
40265
40275
|
p(h);
|
|
40266
40276
|
}, [h]);
|
|
40267
|
-
const k = (
|
|
40277
|
+
const k = (x, M) => {
|
|
40268
40278
|
M.offset.y > 150 && t.hide();
|
|
40269
|
-
},
|
|
40270
|
-
const
|
|
40271
|
-
return i && !h ? { ...
|
|
40279
|
+
}, v = () => {
|
|
40280
|
+
const x = { opacity: 0 };
|
|
40281
|
+
return i && !h ? { ...x, translateX: "calc(100% + 0.5rem)", opacity: 1 } : x;
|
|
40272
40282
|
}, g = () => {
|
|
40273
|
-
const
|
|
40274
|
-
return i && !h ? { ...
|
|
40283
|
+
const x = { opacity: 1 };
|
|
40284
|
+
return i && !h ? { ...x, translateX: 0, opacity: 1 } : x;
|
|
40275
40285
|
};
|
|
40276
40286
|
return /* @__PURE__ */ _.jsx(cie, { onExitComplete: () => t.remove(), children: t.visible && /* @__PURE__ */ _.jsxs(
|
|
40277
40287
|
Ca.div,
|
|
@@ -40308,7 +40318,7 @@ const jse = (e) => `not ${e}`, Hse = (e, t) => {
|
|
|
40308
40318
|
"div",
|
|
40309
40319
|
{
|
|
40310
40320
|
className: me.drag,
|
|
40311
|
-
onPointerDown: (
|
|
40321
|
+
onPointerDown: (x) => l.start(x),
|
|
40312
40322
|
style: { touchAction: "none" },
|
|
40313
40323
|
children: [
|
|
40314
40324
|
a && /* @__PURE__ */ _.jsx(Rb, { ...a }),
|
|
@@ -40323,9 +40333,9 @@ const jse = (e) => `not ${e}`, Hse = (e, t) => {
|
|
|
40323
40333
|
{
|
|
40324
40334
|
className: `${me.main}`,
|
|
40325
40335
|
onDragEnd: k,
|
|
40326
|
-
initial:
|
|
40336
|
+
initial: v(),
|
|
40327
40337
|
animate: g(),
|
|
40328
|
-
exit:
|
|
40338
|
+
exit: v(),
|
|
40329
40339
|
transition: { duration: 0.4, ease: "easeInOut" },
|
|
40330
40340
|
children: [
|
|
40331
40341
|
a && /* @__PURE__ */ _.jsx(Rb, { ...a }),
|