@ukpc-lib/react 0.3.8 → 0.3.10
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/components/BaseCheckBox/index.d.ts +1 -1
- package/dist/components/index.cjs +23 -23
- package/dist/components/index.js +436 -418
- package/dist/{index.module-c7a62d0d.js → index.module-101c5276.js} +5760 -5753
- package/dist/{index.module-39fc2c0f.cjs → index.module-d03f46a0.cjs} +81 -81
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +1 -1
- package/web-components-bundle/global-menu/index.cjs +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +2 -2
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-891f4d7f.js → index-4e5e6ddd.js} +191 -187
- package/web-components-bundle/{index-6080355f.cjs → index-785c3224.cjs} +1 -1
- package/web-components-bundle/{index-6c22052a.js → index-850cb151.js} +1 -1
- package/web-components-bundle/{index-dbeb16d9.cjs → index-e7363fc8.cjs} +1 -1
|
@@ -7,11 +7,11 @@ function _l(e, t) {
|
|
|
7
7
|
const { toString: nd } = Object.prototype, { getPrototypeOf: ro } = Object, Er = ((e) => (t) => {
|
|
8
8
|
const n = nd.call(t);
|
|
9
9
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
10
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
10
|
+
})(/* @__PURE__ */ Object.create(null)), Le = (e) => (e = e.toLowerCase(), (t) => Er(t) === e), Cr = (e) => (t) => typeof t === e, { isArray: Nt } = Array, ln = Cr("undefined");
|
|
11
11
|
function rd(e) {
|
|
12
12
|
return e !== null && !ln(e) && e.constructor !== null && !ln(e.constructor) && Ee(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13
13
|
}
|
|
14
|
-
const Ml =
|
|
14
|
+
const Ml = Le("ArrayBuffer");
|
|
15
15
|
function id(e) {
|
|
16
16
|
let t;
|
|
17
17
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ml(e.buffer), t;
|
|
@@ -21,11 +21,11 @@ const od = Cr("string"), Ee = Cr("function"), Vl = Cr("number"), kr = (e) => e !
|
|
|
21
21
|
return !1;
|
|
22
22
|
const t = ro(e);
|
|
23
23
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
24
|
-
}, ad =
|
|
24
|
+
}, ad = Le("Date"), ld = Le("File"), ud = Le("Blob"), cd = Le("FileList"), fd = (e) => kr(e) && Ee(e.pipe), dd = (e) => {
|
|
25
25
|
let t;
|
|
26
26
|
return e && (typeof FormData == "function" && e instanceof FormData || Ee(e.append) && ((t = Er(e)) === "formdata" || // detect form-data instance
|
|
27
27
|
t === "object" && Ee(e.toString) && e.toString() === "[object FormData]"));
|
|
28
|
-
}, hd =
|
|
28
|
+
}, hd = Le("URLSearchParams"), pd = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
29
|
function vn(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
30
30
|
if (e === null || typeof e > "u")
|
|
31
31
|
return;
|
|
@@ -40,7 +40,7 @@ function vn(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
40
40
|
a = o[r], t.call(null, e[a], a, e);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Fl(e, t) {
|
|
44
44
|
t = t.toLowerCase();
|
|
45
45
|
const n = Object.keys(e);
|
|
46
46
|
let r = n.length, i;
|
|
@@ -49,10 +49,10 @@ function Ll(e, t) {
|
|
|
49
49
|
return i;
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
-
const
|
|
52
|
+
const Ll = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Dl = (e) => !ln(e) && e !== Ll;
|
|
53
53
|
function Ci() {
|
|
54
54
|
const { caseless: e } = Dl(this) && this || {}, t = {}, n = (r, i) => {
|
|
55
|
-
const o = e &&
|
|
55
|
+
const o = e && Fl(t, i) || i;
|
|
56
56
|
Dn(t[o]) && Dn(r) ? t[o] = Ci(t[o], r) : Dn(r) ? t[o] = Ci({}, r) : Nt(r) ? t[o] = r.slice() : t[o] = r;
|
|
57
57
|
};
|
|
58
58
|
for (let r = 0, i = arguments.length; r < i; r++)
|
|
@@ -105,12 +105,12 @@ const md = (e, t, n, { allOwnKeys: r } = {}) => (vn(t, (i, o) => {
|
|
|
105
105
|
for (; (n = e.exec(t)) !== null; )
|
|
106
106
|
r.push(n);
|
|
107
107
|
return r;
|
|
108
|
-
}, Cd =
|
|
108
|
+
}, Cd = Le("HTMLFormElement"), kd = (e) => e.toLowerCase().replace(
|
|
109
109
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
110
110
|
function(n, r, i) {
|
|
111
111
|
return r.toUpperCase() + i;
|
|
112
112
|
}
|
|
113
|
-
), ts = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Td =
|
|
113
|
+
), ts = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Td = Le("RegExp"), jl = (e, t) => {
|
|
114
114
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
115
115
|
vn(n, (i, o) => {
|
|
116
116
|
let s;
|
|
@@ -170,7 +170,7 @@ const Vd = (e) => {
|
|
|
170
170
|
return r;
|
|
171
171
|
};
|
|
172
172
|
return n(e, 0);
|
|
173
|
-
},
|
|
173
|
+
}, Fd = Le("AsyncFunction"), Ld = (e) => e && (kr(e) || Ee(e)) && Ee(e.then) && Ee(e.catch), w = {
|
|
174
174
|
isArray: Nt,
|
|
175
175
|
isArrayBuffer: Ml,
|
|
176
176
|
isBuffer: rd,
|
|
@@ -199,7 +199,7 @@ const Vd = (e) => {
|
|
|
199
199
|
inherits: yd,
|
|
200
200
|
toFlatObject: vd,
|
|
201
201
|
kindOf: Er,
|
|
202
|
-
kindOfTest:
|
|
202
|
+
kindOfTest: Le,
|
|
203
203
|
endsWith: xd,
|
|
204
204
|
toArray: bd,
|
|
205
205
|
forEachEntry: Sd,
|
|
@@ -214,20 +214,20 @@ const Vd = (e) => {
|
|
|
214
214
|
toCamelCase: kd,
|
|
215
215
|
noop: Ad,
|
|
216
216
|
toFiniteNumber: Od,
|
|
217
|
-
findKey:
|
|
218
|
-
global:
|
|
217
|
+
findKey: Fl,
|
|
218
|
+
global: Ll,
|
|
219
219
|
isContextDefined: Dl,
|
|
220
220
|
ALPHABET: Il,
|
|
221
221
|
generateString: _d,
|
|
222
222
|
isSpecCompliantForm: Md,
|
|
223
223
|
toJSONObject: Vd,
|
|
224
|
-
isAsyncFn:
|
|
225
|
-
isThenable:
|
|
224
|
+
isAsyncFn: Fd,
|
|
225
|
+
isThenable: Ld
|
|
226
226
|
};
|
|
227
|
-
function
|
|
227
|
+
function L(e, t, n, r, i) {
|
|
228
228
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), i && (this.response = i);
|
|
229
229
|
}
|
|
230
|
-
w.inherits(
|
|
230
|
+
w.inherits(L, Error, {
|
|
231
231
|
toJSON: function() {
|
|
232
232
|
return {
|
|
233
233
|
// Standard
|
|
@@ -248,7 +248,7 @@ w.inherits(F, Error, {
|
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
|
-
const Nl =
|
|
251
|
+
const Nl = L.prototype, Bl = {};
|
|
252
252
|
[
|
|
253
253
|
"ERR_BAD_OPTION_VALUE",
|
|
254
254
|
"ERR_BAD_OPTION",
|
|
@@ -266,13 +266,13 @@ const Nl = F.prototype, Bl = {};
|
|
|
266
266
|
].forEach((e) => {
|
|
267
267
|
Bl[e] = { value: e };
|
|
268
268
|
});
|
|
269
|
-
Object.defineProperties(
|
|
269
|
+
Object.defineProperties(L, Bl);
|
|
270
270
|
Object.defineProperty(Nl, "isAxiosError", { value: !0 });
|
|
271
|
-
|
|
271
|
+
L.from = (e, t, n, r, i, o) => {
|
|
272
272
|
const s = Object.create(Nl);
|
|
273
273
|
return w.toFlatObject(e, s, function(l) {
|
|
274
274
|
return l !== Error.prototype;
|
|
275
|
-
}, (a) => a !== "isAxiosError"),
|
|
275
|
+
}, (a) => a !== "isAxiosError"), L.call(s, e.message, t, n, r, i), s.cause = e, s.name = e.name, o && Object.assign(s, o), s;
|
|
276
276
|
};
|
|
277
277
|
const Dd = null;
|
|
278
278
|
function ki(e) {
|
|
@@ -311,7 +311,7 @@ function Tr(e, t, n) {
|
|
|
311
311
|
if (w.isDate(p))
|
|
312
312
|
return p.toISOString();
|
|
313
313
|
if (!l && w.isBlob(p))
|
|
314
|
-
throw new
|
|
314
|
+
throw new L("Blob is not supported. Use a Buffer instead.");
|
|
315
315
|
return w.isArrayBuffer(p) || w.isTypedArray(p) ? l && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
316
316
|
}
|
|
317
317
|
function f(p, m, g) {
|
|
@@ -552,7 +552,7 @@ const oo = {
|
|
|
552
552
|
return JSON.parse(t);
|
|
553
553
|
} catch (a) {
|
|
554
554
|
if (s)
|
|
555
|
-
throw a.name === "SyntaxError" ?
|
|
555
|
+
throw a.name === "SyntaxError" ? L.from(a, L.ERR_BAD_RESPONSE, this, null, this.response) : a;
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
return t;
|
|
@@ -779,16 +779,16 @@ function Gl(e) {
|
|
|
779
779
|
return !!(e && e.__CANCEL__);
|
|
780
780
|
}
|
|
781
781
|
function xn(e, t, n) {
|
|
782
|
-
|
|
782
|
+
L.call(this, e ?? "canceled", L.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
783
783
|
}
|
|
784
|
-
w.inherits(xn,
|
|
784
|
+
w.inherits(xn, L, {
|
|
785
785
|
__CANCEL__: !0
|
|
786
786
|
});
|
|
787
787
|
function ih(e, t, n) {
|
|
788
788
|
const r = n.config.validateStatus;
|
|
789
|
-
!n.status || !r || r(n.status) ? e(n) : t(new
|
|
789
|
+
!n.status || !r || r(n.status) ? e(n) : t(new L(
|
|
790
790
|
"Request failed with status code " + n.status,
|
|
791
|
-
[
|
|
791
|
+
[L.ERR_BAD_REQUEST, L.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
792
792
|
n.config,
|
|
793
793
|
n.request,
|
|
794
794
|
n
|
|
@@ -946,15 +946,15 @@ const fh = typeof XMLHttpRequest < "u", dh = fh && function(e) {
|
|
|
946
946
|
if ("onloadend" in c ? c.onloadend = h : c.onreadystatechange = function() {
|
|
947
947
|
!c || c.readyState !== 4 || c.status === 0 && !(c.responseURL && c.responseURL.indexOf("file:") === 0) || setTimeout(h);
|
|
948
948
|
}, c.onabort = function() {
|
|
949
|
-
c && (r(new
|
|
949
|
+
c && (r(new L("Request aborted", L.ECONNABORTED, e, c)), c = null);
|
|
950
950
|
}, c.onerror = function() {
|
|
951
|
-
r(new
|
|
951
|
+
r(new L("Network Error", L.ERR_NETWORK, e, c)), c = null;
|
|
952
952
|
}, c.ontimeout = function() {
|
|
953
953
|
let g = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
954
954
|
const y = e.transitional || Wl;
|
|
955
|
-
e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new
|
|
955
|
+
e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new L(
|
|
956
956
|
g,
|
|
957
|
-
y.clarifyTimeoutError ?
|
|
957
|
+
y.clarifyTimeoutError ? L.ETIMEDOUT : L.ECONNABORTED,
|
|
958
958
|
e,
|
|
959
959
|
c
|
|
960
960
|
)), c = null;
|
|
@@ -969,7 +969,7 @@ const fh = typeof XMLHttpRequest < "u", dh = fh && function(e) {
|
|
|
969
969
|
}, e.cancelToken && e.cancelToken.subscribe(l), e.signal && (e.signal.aborted ? l() : e.signal.addEventListener("abort", l)));
|
|
970
970
|
const p = uh(d);
|
|
971
971
|
if (p && Ve.protocols.indexOf(p) === -1) {
|
|
972
|
-
r(new
|
|
972
|
+
r(new L("Unsupported protocol " + p + ":", L.ERR_BAD_REQUEST, e));
|
|
973
973
|
return;
|
|
974
974
|
}
|
|
975
975
|
c.send(i || null);
|
|
@@ -997,7 +997,7 @@ const ls = (e) => `- ${e}`, hh = (e) => w.isFunction(e) || e === null || e === !
|
|
|
997
997
|
n = e[o];
|
|
998
998
|
let s;
|
|
999
999
|
if (r = n, !hh(n) && (r = Ti[(s = String(n)).toLowerCase()], r === void 0))
|
|
1000
|
-
throw new
|
|
1000
|
+
throw new L(`Unknown adapter '${s}'`);
|
|
1001
1001
|
if (r)
|
|
1002
1002
|
break;
|
|
1003
1003
|
i[s || "#" + o] = r;
|
|
@@ -1009,7 +1009,7 @@ const ls = (e) => `- ${e}`, hh = (e) => w.isFunction(e) || e === null || e === !
|
|
|
1009
1009
|
let s = t ? o.length > 1 ? `since :
|
|
1010
1010
|
` + o.map(ls).join(`
|
|
1011
1011
|
`) : " " + ls(o[0]) : "as no adapter specified";
|
|
1012
|
-
throw new
|
|
1012
|
+
throw new L(
|
|
1013
1013
|
"There is no suitable adapter to dispatch the request " + s,
|
|
1014
1014
|
"ERR_NOT_SUPPORT"
|
|
1015
1015
|
);
|
|
@@ -1120,9 +1120,9 @@ ao.transitional = function(t, n, r) {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
return (o, s, a) => {
|
|
1122
1122
|
if (t === !1)
|
|
1123
|
-
throw new
|
|
1123
|
+
throw new L(
|
|
1124
1124
|
i(s, " has been removed" + (n ? " in " + n : "")),
|
|
1125
|
-
|
|
1125
|
+
L.ERR_DEPRECATED
|
|
1126
1126
|
);
|
|
1127
1127
|
return n && !fs[s] && (fs[s] = !0, console.warn(
|
|
1128
1128
|
i(
|
|
@@ -1134,7 +1134,7 @@ ao.transitional = function(t, n, r) {
|
|
|
1134
1134
|
};
|
|
1135
1135
|
function ph(e, t, n) {
|
|
1136
1136
|
if (typeof e != "object")
|
|
1137
|
-
throw new
|
|
1137
|
+
throw new L("options must be an object", L.ERR_BAD_OPTION_VALUE);
|
|
1138
1138
|
const r = Object.keys(e);
|
|
1139
1139
|
let i = r.length;
|
|
1140
1140
|
for (; i-- > 0; ) {
|
|
@@ -1142,11 +1142,11 @@ function ph(e, t, n) {
|
|
|
1142
1142
|
if (s) {
|
|
1143
1143
|
const a = e[o], l = a === void 0 || s(a, o, e);
|
|
1144
1144
|
if (l !== !0)
|
|
1145
|
-
throw new
|
|
1145
|
+
throw new L("option " + o + " must be " + l, L.ERR_BAD_OPTION_VALUE);
|
|
1146
1146
|
continue;
|
|
1147
1147
|
}
|
|
1148
1148
|
if (n !== !0)
|
|
1149
|
-
throw new
|
|
1149
|
+
throw new L("Unknown option " + o, L.ERR_BAD_OPTION);
|
|
1150
1150
|
}
|
|
1151
1151
|
}
|
|
1152
1152
|
const Pi = {
|
|
@@ -1417,7 +1417,7 @@ Z.CancelToken = mh;
|
|
|
1417
1417
|
Z.isCancel = Gl;
|
|
1418
1418
|
Z.VERSION = Yl;
|
|
1419
1419
|
Z.toFormData = Tr;
|
|
1420
|
-
Z.AxiosError =
|
|
1420
|
+
Z.AxiosError = L;
|
|
1421
1421
|
Z.Cancel = Z.CanceledError;
|
|
1422
1422
|
Z.all = function(t) {
|
|
1423
1423
|
return Promise.all(t);
|
|
@@ -1456,12 +1456,12 @@ var _h = "[object Null]", Mh = "[object Undefined]", ds = Qn ? Qn.toStringTag :
|
|
|
1456
1456
|
function Vh(e) {
|
|
1457
1457
|
return e == null ? e === void 0 ? Mh : _h : ds && ds in Object(e) ? Ph(e) : Oh(e);
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1459
|
+
function Fh(e) {
|
|
1460
1460
|
return e != null && typeof e == "object";
|
|
1461
1461
|
}
|
|
1462
|
-
var
|
|
1462
|
+
var Lh = "[object Symbol]";
|
|
1463
1463
|
function Dh(e) {
|
|
1464
|
-
return typeof e == "symbol" ||
|
|
1464
|
+
return typeof e == "symbol" || Fh(e) && Vh(e) == Lh;
|
|
1465
1465
|
}
|
|
1466
1466
|
var jh = /\s/;
|
|
1467
1467
|
function Ih(e) {
|
|
@@ -3048,7 +3048,7 @@ function ge(e, t, n) {
|
|
|
3048
3048
|
return;
|
|
3049
3049
|
}
|
|
3050
3050
|
if (Ai(n)) {
|
|
3051
|
-
|
|
3051
|
+
Fs(e, t, n);
|
|
3052
3052
|
return;
|
|
3053
3053
|
}
|
|
3054
3054
|
if (n === null || typeof n != "object" ? r = null : (r = Es && n[Es] || n["@@iterator"], r = typeof r == "function" ? r : null), r && (r = r.call(n))) {
|
|
@@ -3057,7 +3057,7 @@ function ge(e, t, n) {
|
|
|
3057
3057
|
do
|
|
3058
3058
|
i.push(n.value), n = r.next();
|
|
3059
3059
|
while (!n.done);
|
|
3060
|
-
|
|
3060
|
+
Fs(e, t, i);
|
|
3061
3061
|
}
|
|
3062
3062
|
return;
|
|
3063
3063
|
}
|
|
@@ -3065,7 +3065,7 @@ function ge(e, t, n) {
|
|
|
3065
3065
|
}
|
|
3066
3066
|
typeof n == "string" ? (r = t.blockedSegment, r.lastPushedText = Ss(t.blockedSegment.chunks, n, e.responseState, r.lastPushedText)) : typeof n == "number" && (r = t.blockedSegment, r.lastPushedText = Ss(t.blockedSegment.chunks, "" + n, e.responseState, r.lastPushedText));
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3068
|
+
function Fs(e, t, n) {
|
|
3069
3069
|
for (var r = n.length, i = 0; i < r; i++) {
|
|
3070
3070
|
var o = t.treeContext;
|
|
3071
3071
|
t.treeContext = _i(o, r, i);
|
|
@@ -3089,7 +3089,7 @@ function Vi(e, t, n) {
|
|
|
3089
3089
|
throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = o, tr(o), l;
|
|
3090
3090
|
}
|
|
3091
3091
|
}
|
|
3092
|
-
function
|
|
3092
|
+
function Fp(e) {
|
|
3093
3093
|
var t = e.blockedBoundary;
|
|
3094
3094
|
e = e.blockedSegment, e.status = 3, Ru(this, t, e);
|
|
3095
3095
|
}
|
|
@@ -3115,7 +3115,7 @@ function Ru(e, t, n) {
|
|
|
3115
3115
|
}
|
|
3116
3116
|
e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = Kt, t = e.onShellReady, t());
|
|
3117
3117
|
} else
|
|
3118
|
-
t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && or(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(
|
|
3118
|
+
t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && or(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(Fp, e), t.fallbackAbortableTasks.clear()) : n.parentFlushed && n.status === 1 && (or(t, n), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
|
|
3119
3119
|
e.allPendingTasks--, e.allPendingTasks === 0 && (e = e.onAllReady, e());
|
|
3120
3120
|
}
|
|
3121
3121
|
function Au(e) {
|
|
@@ -3196,7 +3196,7 @@ function Or(e, t, n) {
|
|
|
3196
3196
|
throw Error(_(391));
|
|
3197
3197
|
return Or(e, t, n[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
|
|
3198
3198
|
}
|
|
3199
|
-
function
|
|
3199
|
+
function Ls(e, t, n) {
|
|
3200
3200
|
return mp(t, e.responseState, n.formatContext, n.id), Or(e, t, n), gp(t, n.formatContext);
|
|
3201
3201
|
}
|
|
3202
3202
|
function Ds(e, t, n) {
|
|
@@ -3213,9 +3213,9 @@ function Ou(e, t, n, r) {
|
|
|
3213
3213
|
if (i === -1) {
|
|
3214
3214
|
if ((r.id = n.rootSegmentID) === -1)
|
|
3215
3215
|
throw Error(_(392));
|
|
3216
|
-
return
|
|
3216
|
+
return Ls(e, t, r);
|
|
3217
3217
|
}
|
|
3218
|
-
return
|
|
3218
|
+
return Ls(e, t, r), e = e.responseState, t.push(e.startInlineScript), e.sentCompleteSegmentFunction ? t.push('$RS("') : (e.sentCompleteSegmentFunction = !0, t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')), t.push(e.segmentPrefix), i = i.toString(16), t.push(i), t.push('","'), t.push(e.placeholderPrefix), t.push(i), t.push('")<\/script>');
|
|
3219
3219
|
}
|
|
3220
3220
|
function yo(e, t) {
|
|
3221
3221
|
try {
|
|
@@ -3293,7 +3293,7 @@ function yo(e, t) {
|
|
|
3293
3293
|
e.allPendingTasks === 0 && e.pingedTasks.length === 0 && e.clientRenderedBoundaries.length === 0 && e.completedBoundaries.length === 0 && t.push(null);
|
|
3294
3294
|
}
|
|
3295
3295
|
}
|
|
3296
|
-
function
|
|
3296
|
+
function Lp(e, t) {
|
|
3297
3297
|
try {
|
|
3298
3298
|
var n = e.abortableTasks;
|
|
3299
3299
|
n.forEach(function(r) {
|
|
@@ -3313,7 +3313,7 @@ function _u(e, t, n, r) {
|
|
|
3313
3313
|
} }, l = !1;
|
|
3314
3314
|
if (e = Vp(e, vp(n, t ? t.identifierPrefix : void 0), { insertionMode: 1, selectedValue: null }, 1 / 0, Dp, void 0, function() {
|
|
3315
3315
|
l = !0;
|
|
3316
|
-
}, void 0, void 0), Au(e),
|
|
3316
|
+
}, void 0, void 0), Au(e), Lp(e, r), e.status === 1)
|
|
3317
3317
|
e.status = 2, a.destroy(e.fatalError);
|
|
3318
3318
|
else if (e.status !== 2 && e.destination === null) {
|
|
3319
3319
|
e.destination = a;
|
|
@@ -3375,17 +3375,17 @@ function js(e) {
|
|
|
3375
3375
|
ye && 0 < ve && (e.enqueue(new Uint8Array(ye.buffer, 0, ve)), ye = null, ve = 0);
|
|
3376
3376
|
}
|
|
3377
3377
|
var Vu = new TextEncoder();
|
|
3378
|
-
function
|
|
3378
|
+
function F(e) {
|
|
3379
3379
|
return Vu.encode(e);
|
|
3380
3380
|
}
|
|
3381
3381
|
function C(e) {
|
|
3382
3382
|
return Vu.encode(e);
|
|
3383
3383
|
}
|
|
3384
|
-
function
|
|
3384
|
+
function Fu(e, t) {
|
|
3385
3385
|
typeof e.error == "function" ? e.error(t) : e.close();
|
|
3386
3386
|
}
|
|
3387
3387
|
var fe = Object.prototype.hasOwnProperty, jp = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, Is = {}, Ns = {};
|
|
3388
|
-
function
|
|
3388
|
+
function Lu(e) {
|
|
3389
3389
|
return fe.call(Ns, e) ? !0 : fe.call(Is, e) ? !1 : jp.test(e) ? Ns[e] = !0 : (Is[e] = !0, !1);
|
|
3390
3390
|
}
|
|
3391
3391
|
function le(e, t, n, r, i, o, s) {
|
|
@@ -3530,19 +3530,19 @@ function te(e) {
|
|
|
3530
3530
|
}
|
|
3531
3531
|
return e;
|
|
3532
3532
|
}
|
|
3533
|
-
var Bp = /([A-Z])/g, $p = /^ms-/,
|
|
3533
|
+
var Bp = /([A-Z])/g, $p = /^ms-/, Fi = Array.isArray, zp = C("<script>"), Up = C("<\/script>"), Wp = C('<script src="'), Hp = C('<script type="module" src="'), Bs = C('" async=""><\/script>'), qp = /(<\/|<)(s)(cript)/gi;
|
|
3534
3534
|
function Gp(e, t, n, r) {
|
|
3535
3535
|
return "" + t + (n === "s" ? "\\u0073" : "\\u0053") + r;
|
|
3536
3536
|
}
|
|
3537
3537
|
function Xp(e, t, n, r, i) {
|
|
3538
3538
|
e = e === void 0 ? "" : e, t = t === void 0 ? zp : C('<script nonce="' + te(t) + '">');
|
|
3539
3539
|
var o = [];
|
|
3540
|
-
if (n !== void 0 && o.push(t,
|
|
3540
|
+
if (n !== void 0 && o.push(t, F(("" + n).replace(qp, Gp)), Up), r !== void 0)
|
|
3541
3541
|
for (n = 0; n < r.length; n++)
|
|
3542
|
-
o.push(Wp,
|
|
3542
|
+
o.push(Wp, F(te(r[n])), Bs);
|
|
3543
3543
|
if (i !== void 0)
|
|
3544
3544
|
for (r = 0; r < i.length; r++)
|
|
3545
|
-
o.push(Hp,
|
|
3545
|
+
o.push(Hp, F(te(i[r])), Bs);
|
|
3546
3546
|
return { bootstrapChunks: o, startInlineScript: t, placeholderPrefix: C(e + "P:"), segmentPrefix: C(e + "S:"), boundaryPrefix: e + "B:", idPrefix: e, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1 };
|
|
3547
3547
|
}
|
|
3548
3548
|
function Oe(e, t) {
|
|
@@ -3576,7 +3576,7 @@ function Yp(e, t, n) {
|
|
|
3576
3576
|
}
|
|
3577
3577
|
var wo = C("<!-- -->");
|
|
3578
3578
|
function $s(e, t, n, r) {
|
|
3579
|
-
return t === "" ? r : (r && e.push(wo), e.push(
|
|
3579
|
+
return t === "" ? r : (r && e.push(wo), e.push(F(te(t))), !0);
|
|
3580
3580
|
}
|
|
3581
3581
|
var zs = /* @__PURE__ */ new Map(), Jp = C(' style="'), Us = C(":"), Zp = C(";");
|
|
3582
3582
|
function Du(e, t, n) {
|
|
@@ -3588,12 +3588,12 @@ function Du(e, t, n) {
|
|
|
3588
3588
|
var i = n[r];
|
|
3589
3589
|
if (i != null && typeof i != "boolean" && i !== "") {
|
|
3590
3590
|
if (r.indexOf("--") === 0) {
|
|
3591
|
-
var o =
|
|
3592
|
-
i =
|
|
3591
|
+
var o = F(te(r));
|
|
3592
|
+
i = F(te(("" + i).trim()));
|
|
3593
3593
|
} else {
|
|
3594
3594
|
o = r;
|
|
3595
3595
|
var s = zs.get(o);
|
|
3596
|
-
s !== void 0 || (s = C(te(o.replace(Bp, "-$1").toLowerCase().replace($p, "-ms-"))), zs.set(o, s)), o = s, i = typeof i == "number" ? i === 0 || fe.call(Hn, r) ?
|
|
3596
|
+
s !== void 0 || (s = C(te(o.replace(Bp, "-$1").toLowerCase().replace($p, "-ms-"))), zs.set(o, s)), o = s, i = typeof i == "number" ? i === 0 || fe.call(Hn, r) ? F("" + i) : F(i + "px") : F(te(("" + i).trim()));
|
|
3597
3597
|
}
|
|
3598
3598
|
t ? (t = !1, e.push(Jp, o, Us, i)) : e.push(Zp, o, Us, i);
|
|
3599
3599
|
}
|
|
@@ -3623,23 +3623,23 @@ function pe(e, t, n, r) {
|
|
|
3623
3623
|
if (!t.acceptsBooleans)
|
|
3624
3624
|
return;
|
|
3625
3625
|
}
|
|
3626
|
-
switch (n =
|
|
3626
|
+
switch (n = F(t.attributeName), t.type) {
|
|
3627
3627
|
case 3:
|
|
3628
3628
|
r && e.push(Je, n, Ws);
|
|
3629
3629
|
break;
|
|
3630
3630
|
case 4:
|
|
3631
|
-
r === !0 ? e.push(Je, n, Ws) : r !== !1 && e.push(Je, n, At,
|
|
3631
|
+
r === !0 ? e.push(Je, n, Ws) : r !== !1 && e.push(Je, n, At, F(te(r)), mt);
|
|
3632
3632
|
break;
|
|
3633
3633
|
case 5:
|
|
3634
|
-
isNaN(r) || e.push(Je, n, At,
|
|
3634
|
+
isNaN(r) || e.push(Je, n, At, F(te(r)), mt);
|
|
3635
3635
|
break;
|
|
3636
3636
|
case 6:
|
|
3637
|
-
!isNaN(r) && 1 <= r && e.push(Je, n, At,
|
|
3637
|
+
!isNaN(r) && 1 <= r && e.push(Je, n, At, F(te(r)), mt);
|
|
3638
3638
|
break;
|
|
3639
3639
|
default:
|
|
3640
|
-
t.sanitizeURL && (r = "" + r), e.push(Je, n, At,
|
|
3640
|
+
t.sanitizeURL && (r = "" + r), e.push(Je, n, At, F(te(r)), mt);
|
|
3641
3641
|
}
|
|
3642
|
-
} else if (
|
|
3642
|
+
} else if (Lu(n)) {
|
|
3643
3643
|
switch (typeof r) {
|
|
3644
3644
|
case "function":
|
|
3645
3645
|
case "symbol":
|
|
@@ -3648,7 +3648,7 @@ function pe(e, t, n, r) {
|
|
|
3648
3648
|
if (t = n.toLowerCase().slice(0, 5), t !== "data-" && t !== "aria-")
|
|
3649
3649
|
return;
|
|
3650
3650
|
}
|
|
3651
|
-
e.push(Je,
|
|
3651
|
+
e.push(Je, F(n), At, F(te(r)), mt);
|
|
3652
3652
|
}
|
|
3653
3653
|
}
|
|
3654
3654
|
}
|
|
@@ -3659,7 +3659,7 @@ function qn(e, t, n) {
|
|
|
3659
3659
|
throw Error(V(60));
|
|
3660
3660
|
if (typeof t != "object" || !("__html" in t))
|
|
3661
3661
|
throw Error(V(61));
|
|
3662
|
-
t = t.__html, t != null && e.push(
|
|
3662
|
+
t = t.__html, t != null && e.push(F("" + t));
|
|
3663
3663
|
}
|
|
3664
3664
|
}
|
|
3665
3665
|
function Qp(e) {
|
|
@@ -3687,7 +3687,7 @@ function ri(e, t, n, r) {
|
|
|
3687
3687
|
pe(e, r, o, s);
|
|
3688
3688
|
}
|
|
3689
3689
|
}
|
|
3690
|
-
return e.push(Ze), qn(e, i, n), typeof n == "string" ? (e.push(
|
|
3690
|
+
return e.push(Ze), qn(e, i, n), typeof n == "string" ? (e.push(F(te(n))), null) : n;
|
|
3691
3691
|
}
|
|
3692
3692
|
var ii = C(`
|
|
3693
3693
|
`), em = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, qs = /* @__PURE__ */ new Map();
|
|
@@ -3749,7 +3749,7 @@ function nm(e, t, n, r, i) {
|
|
|
3749
3749
|
}
|
|
3750
3750
|
}
|
|
3751
3751
|
if (s != null)
|
|
3752
|
-
if (n = l !== null ? "" + l : Qp(a),
|
|
3752
|
+
if (n = l !== null ? "" + l : Qp(a), Fi(s)) {
|
|
3753
3753
|
for (r = 0; r < s.length; r++)
|
|
3754
3754
|
if ("" + s[r] === n) {
|
|
3755
3755
|
e.push(ni);
|
|
@@ -3782,12 +3782,12 @@ function nm(e, t, n, r, i) {
|
|
|
3782
3782
|
if (o === null && s !== null && (o = s), e.push(Ze), f != null) {
|
|
3783
3783
|
if (o != null)
|
|
3784
3784
|
throw Error(V(92));
|
|
3785
|
-
if (
|
|
3785
|
+
if (Fi(f) && 1 < f.length)
|
|
3786
3786
|
throw Error(V(93));
|
|
3787
3787
|
o = "" + f;
|
|
3788
3788
|
}
|
|
3789
3789
|
return typeof o == "string" && o[0] === `
|
|
3790
|
-
` && e.push(ii), o !== null && e.push(
|
|
3790
|
+
` && e.push(ii), o !== null && e.push(F(te("" + o))), null;
|
|
3791
3791
|
case "input":
|
|
3792
3792
|
e.push(_e("input")), l = f = a = o = null;
|
|
3793
3793
|
for (s in n)
|
|
@@ -3864,7 +3864,7 @@ function nm(e, t, n, r, i) {
|
|
|
3864
3864
|
if (typeof s != "object" || !("__html" in s))
|
|
3865
3865
|
throw Error(V(61));
|
|
3866
3866
|
n = s.__html, n != null && (typeof n == "string" && 0 < n.length && n[0] === `
|
|
3867
|
-
` ? e.push(ii,
|
|
3867
|
+
` ? e.push(ii, F(n)) : e.push(F("" + n)));
|
|
3868
3868
|
}
|
|
3869
3869
|
return typeof o == "string" && o[0] === `
|
|
3870
3870
|
` && e.push(ii), o;
|
|
@@ -3924,7 +3924,7 @@ function nm(e, t, n, r, i) {
|
|
|
3924
3924
|
case "suppressHydrationWarning":
|
|
3925
3925
|
break;
|
|
3926
3926
|
default:
|
|
3927
|
-
|
|
3927
|
+
Lu(u) && typeof a != "function" && typeof a != "symbol" && e.push(Je, F(u), At, F(te(a)), mt);
|
|
3928
3928
|
}
|
|
3929
3929
|
return e.push(Ze), qn(e, s, o), o;
|
|
3930
3930
|
}
|
|
@@ -3938,27 +3938,27 @@ function Gs(e, t, n) {
|
|
|
3938
3938
|
throw Error(V(395));
|
|
3939
3939
|
return A(e, n), B(e, um);
|
|
3940
3940
|
}
|
|
3941
|
-
var gm = C('<div hidden id="'), ym = C('">'), vm = C("</div>"), xm = C('<svg aria-hidden="true" style="display:none" id="'), bm = C('">'), wm = C("</svg>"), Sm = C('<math aria-hidden="true" style="display:none" id="'), Em = C('">'), Cm = C("</math>"), km = C('<table hidden id="'), Tm = C('">'), Pm = C("</table>"), Rm = C('<table hidden><tbody id="'), Am = C('">'), Om = C("</tbody></table>"), _m = C('<table hidden><tr id="'), Mm = C('">'), Vm = C("</tr></table>"),
|
|
3941
|
+
var gm = C('<div hidden id="'), ym = C('">'), vm = C("</div>"), xm = C('<svg aria-hidden="true" style="display:none" id="'), bm = C('">'), wm = C("</svg>"), Sm = C('<math aria-hidden="true" style="display:none" id="'), Em = C('">'), Cm = C("</math>"), km = C('<table hidden id="'), Tm = C('">'), Pm = C("</table>"), Rm = C('<table hidden><tbody id="'), Am = C('">'), Om = C("</tbody></table>"), _m = C('<table hidden><tr id="'), Mm = C('">'), Vm = C("</tr></table>"), Fm = C('<table hidden><colgroup id="'), Lm = C('">'), Dm = C("</colgroup></table>");
|
|
3942
3942
|
function jm(e, t, n, r) {
|
|
3943
3943
|
switch (n.insertionMode) {
|
|
3944
3944
|
case 0:
|
|
3945
3945
|
case 1:
|
|
3946
|
-
return A(e, gm), A(e, t.segmentPrefix), A(e,
|
|
3946
|
+
return A(e, gm), A(e, t.segmentPrefix), A(e, F(r.toString(16))), B(e, ym);
|
|
3947
3947
|
case 2:
|
|
3948
|
-
return A(e, xm), A(e, t.segmentPrefix), A(e,
|
|
3948
|
+
return A(e, xm), A(e, t.segmentPrefix), A(e, F(r.toString(16))), B(e, bm);
|
|
3949
3949
|
case 3:
|
|
3950
|
-
return A(e, Sm), A(e, t.segmentPrefix), A(e,
|
|
3950
|
+
return A(e, Sm), A(e, t.segmentPrefix), A(e, F(r.toString(16))), B(e, Em);
|
|
3951
3951
|
case 4:
|
|
3952
|
-
return A(e, km), A(e, t.segmentPrefix), A(e,
|
|
3952
|
+
return A(e, km), A(e, t.segmentPrefix), A(e, F(r.toString(16))), B(e, Tm);
|
|
3953
3953
|
case 5:
|
|
3954
|
-
return A(e, Rm), A(e, t.segmentPrefix), A(e,
|
|
3954
|
+
return A(e, Rm), A(e, t.segmentPrefix), A(e, F(r.toString(16))), B(e, Am);
|
|
3955
3955
|
case 6:
|
|
3956
|
-
return A(e, _m), A(e, t.segmentPrefix), A(e,
|
|
3956
|
+
return A(e, _m), A(e, t.segmentPrefix), A(e, F(r.toString(16))), B(e, Mm);
|
|
3957
3957
|
case 7:
|
|
3958
3958
|
return A(
|
|
3959
3959
|
e,
|
|
3960
|
-
|
|
3961
|
-
), A(e, t.segmentPrefix), A(e,
|
|
3960
|
+
Fm
|
|
3961
|
+
), A(e, t.segmentPrefix), A(e, F(r.toString(16))), B(e, Lm);
|
|
3962
3962
|
default:
|
|
3963
3963
|
throw Error(V(397));
|
|
3964
3964
|
}
|
|
@@ -4000,7 +4000,7 @@ function si(e) {
|
|
|
4000
4000
|
});
|
|
4001
4001
|
}
|
|
4002
4002
|
var en = Object.assign, Zm = Symbol.for("react.element"), ju = Symbol.for("react.portal"), Iu = Symbol.for("react.fragment"), Nu = Symbol.for("react.strict_mode"), Bu = Symbol.for("react.profiler"), $u = Symbol.for("react.provider"), zu = Symbol.for("react.context"), Uu = Symbol.for("react.forward_ref"), Wu = Symbol.for("react.suspense"), Hu = Symbol.for("react.suspense_list"), qu = Symbol.for("react.memo"), So = Symbol.for("react.lazy"), Qm = Symbol.for("react.scope"), eg = Symbol.for("react.debug_trace_mode"), tg = Symbol.for("react.legacy_hidden"), ng = Symbol.for("react.default_value"), Xs = Symbol.iterator;
|
|
4003
|
-
function
|
|
4003
|
+
function Li(e) {
|
|
4004
4004
|
if (e == null)
|
|
4005
4005
|
return null;
|
|
4006
4006
|
if (typeof e == "function")
|
|
@@ -4031,11 +4031,11 @@ function Fi(e) {
|
|
|
4031
4031
|
var t = e.render;
|
|
4032
4032
|
return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
4033
4033
|
case qu:
|
|
4034
|
-
return t = e.displayName || null, t !== null ? t :
|
|
4034
|
+
return t = e.displayName || null, t !== null ? t : Li(e.type) || "Memo";
|
|
4035
4035
|
case So:
|
|
4036
4036
|
t = e._payload, e = e._init;
|
|
4037
4037
|
try {
|
|
4038
|
-
return
|
|
4038
|
+
return Li(e(t));
|
|
4039
4039
|
} catch {
|
|
4040
4040
|
}
|
|
4041
4041
|
}
|
|
@@ -4269,7 +4269,7 @@ function dn(e, t) {
|
|
|
4269
4269
|
}
|
|
4270
4270
|
function ur(e, t) {
|
|
4271
4271
|
var n = e.onShellError;
|
|
4272
|
-
n(t), n = e.onFatalError, n(t), e.destination !== null ? (e.status = 2,
|
|
4272
|
+
n(t), n = e.onFatalError, n(t), e.destination !== null ? (e.status = 2, Fu(e.destination, t)) : (e.status = 1, e.fatalError = t);
|
|
4273
4273
|
}
|
|
4274
4274
|
function na(e, t, n, r, i) {
|
|
4275
4275
|
for (We = {}, Eo = t, fn = 0, e = n(r, i); ar; )
|
|
@@ -4286,7 +4286,7 @@ function ra(e, t, n, r) {
|
|
|
4286
4286
|
n = n.getChildContext();
|
|
4287
4287
|
for (var a in n)
|
|
4288
4288
|
if (!(a in o))
|
|
4289
|
-
throw Error(V(108,
|
|
4289
|
+
throw Error(V(108, Li(r) || "Unknown", a));
|
|
4290
4290
|
r = en({}, s, n);
|
|
4291
4291
|
}
|
|
4292
4292
|
t.legacyContext = r, xe(e, t, i), t.legacyContext = s;
|
|
@@ -4342,7 +4342,7 @@ function ji(e, t, n, r, i) {
|
|
|
4342
4342
|
case "wbr":
|
|
4343
4343
|
break;
|
|
4344
4344
|
default:
|
|
4345
|
-
i.chunks.push(rm,
|
|
4345
|
+
i.chunks.push(rm, F(n), im);
|
|
4346
4346
|
}
|
|
4347
4347
|
i.lastPushedText = !1;
|
|
4348
4348
|
} else {
|
|
@@ -4430,7 +4430,7 @@ function xe(e, t, n) {
|
|
|
4430
4430
|
n = r(n._payload), xe(e, t, n);
|
|
4431
4431
|
return;
|
|
4432
4432
|
}
|
|
4433
|
-
if (
|
|
4433
|
+
if (Fi(n)) {
|
|
4434
4434
|
oa(e, t, n);
|
|
4435
4435
|
return;
|
|
4436
4436
|
}
|
|
@@ -4543,7 +4543,7 @@ function An(e, t, n) {
|
|
|
4543
4543
|
switch (n.parentFlushed = !0, n.status) {
|
|
4544
4544
|
case 0:
|
|
4545
4545
|
var r = n.id = e.nextSegmentId++;
|
|
4546
|
-
return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, A(t, om), A(t, e.placeholderPrefix), e =
|
|
4546
|
+
return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, A(t, om), A(t, e.placeholderPrefix), e = F(r.toString(16)), A(t, e), B(t, sm);
|
|
4547
4547
|
case 1:
|
|
4548
4548
|
n.status = 2;
|
|
4549
4549
|
var i = !0;
|
|
@@ -4567,7 +4567,7 @@ function Vr(e, t, n) {
|
|
|
4567
4567
|
if (r === null)
|
|
4568
4568
|
return An(e, t, n);
|
|
4569
4569
|
if (r.parentFlushed = !0, r.forceClientRender)
|
|
4570
|
-
r = r.errorDigest, B(t, cm), A(t, dm), r && (A(t, pm), A(t,
|
|
4570
|
+
r = r.errorDigest, B(t, cm), A(t, dm), r && (A(t, pm), A(t, F(te(r))), A(t, hm)), B(t, mm), An(e, t, n);
|
|
4571
4571
|
else if (0 < r.pendingTasks) {
|
|
4572
4572
|
r.rootSegmentID = e.nextSegmentId++, 0 < r.completedSegments.length && e.partialBoundaries.push(r);
|
|
4573
4573
|
var i = e.responseState, o = i.nextSuspenseID++;
|
|
@@ -4589,7 +4589,7 @@ function aa(e, t, n) {
|
|
|
4589
4589
|
nc(e, t, n, r[i]);
|
|
4590
4590
|
if (r.length = 0, e = e.responseState, r = n.id, n = n.rootSegmentID, A(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? A(t, Wm) : (e.sentCompleteBoundaryFunction = !0, A(t, Um)), r === null)
|
|
4591
4591
|
throw Error(V(395));
|
|
4592
|
-
return n =
|
|
4592
|
+
return n = F(n.toString(16)), A(t, r), A(t, Hm), A(t, e.segmentPrefix), A(t, n), B(t, qm);
|
|
4593
4593
|
}
|
|
4594
4594
|
function nc(e, t, n, r) {
|
|
4595
4595
|
if (r.status === 2)
|
|
@@ -4600,7 +4600,7 @@ function nc(e, t, n, r) {
|
|
|
4600
4600
|
throw Error(V(392));
|
|
4601
4601
|
return sa(e, t, r);
|
|
4602
4602
|
}
|
|
4603
|
-
return sa(e, t, r), e = e.responseState, A(t, e.startInlineScript), e.sentCompleteSegmentFunction ? A(t, Bm) : (e.sentCompleteSegmentFunction = !0, A(t, Nm)), A(t, e.segmentPrefix), i =
|
|
4603
|
+
return sa(e, t, r), e = e.responseState, A(t, e.startInlineScript), e.sentCompleteSegmentFunction ? A(t, Bm) : (e.sentCompleteSegmentFunction = !0, A(t, Nm)), A(t, e.segmentPrefix), i = F(i.toString(16)), A(t, i), A(t, $m), A(t, e.placeholderPrefix), A(t, i), B(t, zm);
|
|
4604
4604
|
}
|
|
4605
4605
|
function Po(e, t) {
|
|
4606
4606
|
ye = new Uint8Array(512), ve = 0;
|
|
@@ -4623,7 +4623,7 @@ function Po(e, t) {
|
|
|
4623
4623
|
Gm
|
|
4624
4624
|
)), l === null)
|
|
4625
4625
|
throw Error(V(395));
|
|
4626
|
-
A(r, l), A(r, Km), (u || f || c) && (A(r, oi), A(r,
|
|
4626
|
+
A(r, l), A(r, Km), (u || f || c) && (A(r, oi), A(r, F(si(u || "")))), (f || c) && (A(r, oi), A(r, F(si(f || "")))), c && (A(r, oi), A(r, F(si(c)))), B(r, Ym);
|
|
4627
4627
|
}
|
|
4628
4628
|
i.splice(0, o);
|
|
4629
4629
|
var d = e.completedBoundaries;
|
|
@@ -4680,7 +4680,7 @@ vo.renderToReadableStream = function(e, t) {
|
|
|
4680
4680
|
}), a = dg(e, Xp(t ? t.identifierPrefix : void 0, t ? t.nonce : void 0, t ? t.bootstrapScriptContent : void 0, t ? t.bootstrapScripts : void 0, t ? t.bootstrapModules : void 0), Kp(t ? t.namespaceURI : void 0), t ? t.progressiveChunkSize : void 0, t ? t.onError : void 0, o, function() {
|
|
4681
4681
|
var f = new ReadableStream({ type: "bytes", pull: function(c) {
|
|
4682
4682
|
if (a.status === 1)
|
|
4683
|
-
a.status = 2,
|
|
4683
|
+
a.status = 2, Fu(c, a.fatalError);
|
|
4684
4684
|
else if (a.status !== 2 && a.destination === null) {
|
|
4685
4685
|
a.destination = c;
|
|
4686
4686
|
try {
|
|
@@ -4950,7 +4950,7 @@ function Mg({ children: e, styles: t = [], ...n }) {
|
|
|
4950
4950
|
const Ro = (e) => typeof e == "number" && !isNaN(e), tn = (e) => typeof e == "string", cc = (e) => typeof e == "function", Vg = (e) => x.isValidElement(e) || tn(e) || cc(e) || Ro(e), Me = /* @__PURE__ */ new Map();
|
|
4951
4951
|
let $i = [];
|
|
4952
4952
|
const ca = /* @__PURE__ */ new Set(), fc = () => Me.size > 0;
|
|
4953
|
-
function
|
|
4953
|
+
function Fg(e, t) {
|
|
4954
4954
|
var n;
|
|
4955
4955
|
if (t)
|
|
4956
4956
|
return !((n = Me.get(t)) == null || !n.isToastActive(e));
|
|
@@ -4959,7 +4959,7 @@ function Lg(e, t) {
|
|
|
4959
4959
|
i.isToastActive(e) && (r = !0);
|
|
4960
4960
|
}), r;
|
|
4961
4961
|
}
|
|
4962
|
-
function
|
|
4962
|
+
function Lg(e, t) {
|
|
4963
4963
|
Vg(e) && (fc() || $i.push({ content: e, options: t }), Me.forEach((n) => {
|
|
4964
4964
|
n.buildToast(e, t);
|
|
4965
4965
|
}));
|
|
@@ -4975,7 +4975,7 @@ function jg(e) {
|
|
|
4975
4975
|
return e && (tn(e.toastId) || Ro(e.toastId)) ? e.toastId : dc();
|
|
4976
4976
|
}
|
|
4977
4977
|
function nn(e, t) {
|
|
4978
|
-
return
|
|
4978
|
+
return Lg(e, t), t.toastId;
|
|
4979
4979
|
}
|
|
4980
4980
|
function fr(e, t) {
|
|
4981
4981
|
return { ...t, type: t && t.type || e, toastId: jg(t) };
|
|
@@ -5017,7 +5017,7 @@ N.loading = (e, t) => nn(e, fr("default", { isLoading: !0, autoClose: !1, closeO
|
|
|
5017
5017
|
e === void 0 && (e = {}), Me.forEach((t) => {
|
|
5018
5018
|
!t.props.limit || e.containerId && t.id !== e.containerId || t.clearQueue();
|
|
5019
5019
|
});
|
|
5020
|
-
}, N.isActive =
|
|
5020
|
+
}, N.isActive = Fg, N.update = function(e, t) {
|
|
5021
5021
|
t === void 0 && (t = {});
|
|
5022
5022
|
const n = ((r, i) => {
|
|
5023
5023
|
var o;
|
|
@@ -5061,7 +5061,11 @@ const dr = {
|
|
|
5061
5061
|
dangerLight: "#E01B0010",
|
|
5062
5062
|
dangerDark: "#BE1700",
|
|
5063
5063
|
linkPrimary: "#007BFF",
|
|
5064
|
-
linkLight: "#007BFF10"
|
|
5064
|
+
linkLight: "#007BFF10",
|
|
5065
|
+
headerBgColor: "#292929",
|
|
5066
|
+
headerTextColor: "#FFF",
|
|
5067
|
+
buttonText: "#292929",
|
|
5068
|
+
buttonHover: "#2E7D32"
|
|
5065
5069
|
};
|
|
5066
5070
|
function Ig() {
|
|
5067
5071
|
return /* @__PURE__ */ R.jsxs(
|
|
@@ -5168,9 +5172,9 @@ const Ng = {
|
|
|
5168
5172
|
transformPagePoint: (e) => e,
|
|
5169
5173
|
isStatic: !1,
|
|
5170
5174
|
reducedMotion: "never"
|
|
5171
|
-
}),
|
|
5175
|
+
}), Fr = x.createContext({}), Ao = x.createContext(null), Lr = typeof document < "u", zg = Lr ? x.useLayoutEffect : x.useEffect, pc = x.createContext({ strict: !1 }), Oo = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Ug = "framerAppearId", mc = "data-" + Oo(Ug);
|
|
5172
5176
|
function Wg(e, t, n, r) {
|
|
5173
|
-
const { visualElement: i } = x.useContext(
|
|
5177
|
+
const { visualElement: i } = x.useContext(Fr), o = x.useContext(pc), s = x.useContext(Ao), a = x.useContext(hc).reducedMotion, l = x.useRef();
|
|
5174
5178
|
r = r || o.renderer, !l.current && r && (l.current = r(e, {
|
|
5175
5179
|
visualState: t,
|
|
5176
5180
|
parent: i,
|
|
@@ -5238,7 +5242,7 @@ function qg(e, t) {
|
|
|
5238
5242
|
return e.inherit !== !1 ? t : {};
|
|
5239
5243
|
}
|
|
5240
5244
|
function Gg(e) {
|
|
5241
|
-
const { initial: t, animate: n } = qg(e, x.useContext(
|
|
5245
|
+
const { initial: t, animate: n } = qg(e, x.useContext(Fr));
|
|
5242
5246
|
return x.useMemo(() => ({ initial: t, animate: n }), [da(t), da(n)]);
|
|
5243
5247
|
}
|
|
5244
5248
|
function da(e) {
|
|
@@ -5285,7 +5289,7 @@ function Yg({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
5285
5289
|
...a,
|
|
5286
5290
|
layoutId: Jg(a)
|
|
5287
5291
|
}, { isStatic: c } = f, d = Gg(a), h = r(a, c);
|
|
5288
|
-
if (!c &&
|
|
5292
|
+
if (!c && Lr) {
|
|
5289
5293
|
d.visualElement = Wg(i, h, f, t);
|
|
5290
5294
|
const p = x.useContext(vc), m = x.useContext(pc).strict;
|
|
5291
5295
|
d.visualElement && (u = d.visualElement.loadFeatures(
|
|
@@ -5297,7 +5301,7 @@ function Yg({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
5297
5301
|
));
|
|
5298
5302
|
}
|
|
5299
5303
|
return x.createElement(
|
|
5300
|
-
|
|
5304
|
+
Fr.Provider,
|
|
5301
5305
|
{ value: d },
|
|
5302
5306
|
u && d.visualElement ? x.createElement(u, { visualElement: d.visualElement, ...f }) : null,
|
|
5303
5307
|
n(i, a, Hg(h, d.visualElement, l), h, c, d.visualElement)
|
|
@@ -5434,10 +5438,10 @@ const Sn = (e) => ({
|
|
|
5434
5438
|
test: (t) => wn(t) && t.endsWith(e) && t.split(" ").length === 1,
|
|
5435
5439
|
parse: parseFloat,
|
|
5436
5440
|
transform: (t) => `${t}${e}`
|
|
5437
|
-
}), Qe = Sn("deg"),
|
|
5438
|
-
...
|
|
5439
|
-
parse: (e) =>
|
|
5440
|
-
transform: (e) =>
|
|
5441
|
+
}), Qe = Sn("deg"), Fe = Sn("%"), O = Sn("px"), ay = Sn("vh"), ly = Sn("vw"), pa = {
|
|
5442
|
+
...Fe,
|
|
5443
|
+
parse: (e) => Fe.parse(e) / 100,
|
|
5444
|
+
transform: (e) => Fe.transform(e * 100)
|
|
5441
5445
|
}, ma = {
|
|
5442
5446
|
...St,
|
|
5443
5447
|
transform: Math.round
|
|
@@ -5507,7 +5511,7 @@ const Sn = (e) => ({
|
|
|
5507
5511
|
strokeOpacity: rn,
|
|
5508
5512
|
numOctaves: ma
|
|
5509
5513
|
};
|
|
5510
|
-
function
|
|
5514
|
+
function Fo(e, t, n, r) {
|
|
5511
5515
|
const { style: i, vars: o, transform: s, transformOrigin: a } = e;
|
|
5512
5516
|
let l = !1, u = !1, f = !0;
|
|
5513
5517
|
for (const c in t) {
|
|
@@ -5529,7 +5533,7 @@ function Lo(e, t, n, r) {
|
|
|
5529
5533
|
i.transformOrigin = `${c} ${d} ${h}`;
|
|
5530
5534
|
}
|
|
5531
5535
|
}
|
|
5532
|
-
const
|
|
5536
|
+
const Lo = () => ({
|
|
5533
5537
|
style: {},
|
|
5534
5538
|
transform: {},
|
|
5535
5539
|
transformOrigin: {},
|
|
@@ -5541,8 +5545,8 @@ function Cc(e, t, n) {
|
|
|
5541
5545
|
}
|
|
5542
5546
|
function uy({ transformTemplate: e }, t, n) {
|
|
5543
5547
|
return x.useMemo(() => {
|
|
5544
|
-
const r =
|
|
5545
|
-
return
|
|
5548
|
+
const r = Lo();
|
|
5549
|
+
return Fo(r, t, { enableHardwareAcceleration: !n }, e), Object.assign({}, r.vars, r.style);
|
|
5546
5550
|
}, [t]);
|
|
5547
5551
|
}
|
|
5548
5552
|
function cy(e, t, n) {
|
|
@@ -5637,7 +5641,7 @@ function Do(e, {
|
|
|
5637
5641
|
// This is object creation, which we try to avoid per-frame.
|
|
5638
5642
|
...u
|
|
5639
5643
|
}, f, c, d) {
|
|
5640
|
-
if (
|
|
5644
|
+
if (Fo(e, u, f, d), c) {
|
|
5641
5645
|
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
|
|
5642
5646
|
return;
|
|
5643
5647
|
}
|
|
@@ -5646,7 +5650,7 @@ function Do(e, {
|
|
|
5646
5650
|
h.transform && (m && (p.transform = h.transform), delete h.transform), m && (i !== void 0 || o !== void 0 || p.transform) && (p.transformOrigin = my(m, i !== void 0 ? i : 0.5, o !== void 0 ? o : 0.5)), t !== void 0 && (h.x = t), n !== void 0 && (h.y = n), r !== void 0 && (h.scale = r), s !== void 0 && vy(h, s, a, l, !1);
|
|
5647
5651
|
}
|
|
5648
5652
|
const Tc = () => ({
|
|
5649
|
-
...
|
|
5653
|
+
...Lo(),
|
|
5650
5654
|
attrs: {}
|
|
5651
5655
|
}), jo = (e) => typeof e == "string" && e.toLowerCase() === "svg";
|
|
5652
5656
|
function xy(e, t, n, r) {
|
|
@@ -5746,7 +5750,7 @@ function Cy({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: n }
|
|
|
5746
5750
|
return n && (s.mount = (a) => n(r, a, s)), s;
|
|
5747
5751
|
}
|
|
5748
5752
|
const _c = (e) => (t, n) => {
|
|
5749
|
-
const r = x.useContext(
|
|
5753
|
+
const r = x.useContext(Fr), i = x.useContext(Ao), o = () => Cy(e, t, r, i);
|
|
5750
5754
|
return n ? o() : wy(o);
|
|
5751
5755
|
};
|
|
5752
5756
|
function ky(e, t, n, r) {
|
|
@@ -5876,7 +5880,7 @@ const { schedule: $, cancel: He, state: ie, steps: ui } = Ry(typeof requestAnima
|
|
|
5876
5880
|
}, Oy = {
|
|
5877
5881
|
useVisualState: _c({
|
|
5878
5882
|
scrapeMotionValuesFromProps: Io,
|
|
5879
|
-
createRenderState:
|
|
5883
|
+
createRenderState: Lo
|
|
5880
5884
|
})
|
|
5881
5885
|
};
|
|
5882
5886
|
function _y(e, { forwardMotionProps: t = !1 }, n, r) {
|
|
@@ -5915,7 +5919,7 @@ function Vc(e) {
|
|
|
5915
5919
|
};
|
|
5916
5920
|
}
|
|
5917
5921
|
const va = Vc("dragHorizontal"), xa = Vc("dragVertical");
|
|
5918
|
-
function
|
|
5922
|
+
function Fc(e) {
|
|
5919
5923
|
let t = !1;
|
|
5920
5924
|
if (e === "y")
|
|
5921
5925
|
t = xa();
|
|
@@ -5929,8 +5933,8 @@ function Lc(e) {
|
|
|
5929
5933
|
}
|
|
5930
5934
|
return t;
|
|
5931
5935
|
}
|
|
5932
|
-
function
|
|
5933
|
-
const e =
|
|
5936
|
+
function Lc() {
|
|
5937
|
+
const e = Fc(!0);
|
|
5934
5938
|
return e ? (e(), !1) : !0;
|
|
5935
5939
|
}
|
|
5936
5940
|
class lt {
|
|
@@ -5942,7 +5946,7 @@ class lt {
|
|
|
5942
5946
|
}
|
|
5943
5947
|
function ba(e, t) {
|
|
5944
5948
|
const n = "pointer" + (t ? "enter" : "leave"), r = "onHover" + (t ? "Start" : "End"), i = (o, s) => {
|
|
5945
|
-
if (o.pointerType === "touch" ||
|
|
5949
|
+
if (o.pointerType === "touch" || Lc())
|
|
5946
5950
|
return;
|
|
5947
5951
|
const a = e.getProps();
|
|
5948
5952
|
e.animationState && a.whileHover && e.animationState.setActive("whileHover", t), a[r] && $.update(() => a[r](o, s));
|
|
@@ -5951,14 +5955,14 @@ function ba(e, t) {
|
|
|
5951
5955
|
passive: !e.getProps()[r]
|
|
5952
5956
|
});
|
|
5953
5957
|
}
|
|
5954
|
-
class
|
|
5958
|
+
class Fy extends lt {
|
|
5955
5959
|
mount() {
|
|
5956
5960
|
this.unmount = it(ba(this.node, !0), ba(this.node, !1));
|
|
5957
5961
|
}
|
|
5958
5962
|
unmount() {
|
|
5959
5963
|
}
|
|
5960
5964
|
}
|
|
5961
|
-
class
|
|
5965
|
+
class Ly extends lt {
|
|
5962
5966
|
constructor() {
|
|
5963
5967
|
super(...arguments), this.isActive = !1;
|
|
5964
5968
|
}
|
|
@@ -6027,7 +6031,7 @@ class Dy extends lt {
|
|
|
6027
6031
|
i && this.node.animationState && this.node.animationState.setActive("whileTap", !0), r && $.update(() => r(t, n));
|
|
6028
6032
|
}
|
|
6029
6033
|
checkPressEnd() {
|
|
6030
|
-
return this.removeEndListeners(), this.isPressing = !1, this.node.getProps().whileTap && this.node.animationState && this.node.animationState.setActive("whileTap", !1), !
|
|
6034
|
+
return this.removeEndListeners(), this.isPressing = !1, this.node.getProps().whileTap && this.node.animationState && this.node.animationState.setActive("whileTap", !1), !Lc();
|
|
6031
6035
|
}
|
|
6032
6036
|
cancelPress(t, n) {
|
|
6033
6037
|
if (!this.checkPressEnd())
|
|
@@ -6108,10 +6112,10 @@ const Wy = {
|
|
|
6108
6112
|
Feature: Dy
|
|
6109
6113
|
},
|
|
6110
6114
|
focus: {
|
|
6111
|
-
Feature:
|
|
6115
|
+
Feature: Ly
|
|
6112
6116
|
},
|
|
6113
6117
|
hover: {
|
|
6114
|
-
Feature:
|
|
6118
|
+
Feature: Fy
|
|
6115
6119
|
}
|
|
6116
6120
|
};
|
|
6117
6121
|
function jc(e, t) {
|
|
@@ -6244,7 +6248,7 @@ const Wi = {
|
|
|
6244
6248
|
}, Vt = {
|
|
6245
6249
|
test: Uo("hsl", "hue"),
|
|
6246
6250
|
parse: Xc("hue", "saturation", "lightness"),
|
|
6247
|
-
transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " +
|
|
6251
|
+
transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Fe.transform(on(t)) + ", " + Fe.transform(on(n)) + ", " + on(rn.transform(r)) + ")"
|
|
6248
6252
|
}, oe = {
|
|
6249
6253
|
test: (e) => xt.test(e) || Wi.test(e) || Vt.test(e),
|
|
6250
6254
|
parse: (e) => xt.test(e) ? xt.parse(e) : Vt.test(e) ? Vt.parse(e) : Wi.parse(e),
|
|
@@ -6700,11 +6704,11 @@ function vr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6700
6704
|
};
|
|
6701
6705
|
return Et;
|
|
6702
6706
|
}
|
|
6703
|
-
function
|
|
6707
|
+
function F0(e) {
|
|
6704
6708
|
let t;
|
|
6705
6709
|
return () => (t === void 0 && (t = e()), t);
|
|
6706
6710
|
}
|
|
6707
|
-
const
|
|
6711
|
+
const L0 = F0(() => Object.hasOwnProperty.call(Element.prototype, "animate")), D0 = /* @__PURE__ */ new Set([
|
|
6708
6712
|
"opacity",
|
|
6709
6713
|
"clipPath",
|
|
6710
6714
|
"filter",
|
|
@@ -6712,7 +6716,7 @@ const F0 = L0(() => Object.hasOwnProperty.call(Element.prototype, "animate")), D
|
|
|
6712
6716
|
"backgroundColor"
|
|
6713
6717
|
]), Vn = 10, j0 = 2e4, I0 = (e, t) => t.type === "spring" || e === "backgroundColor" || !Nc(t.ease);
|
|
6714
6718
|
function N0(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
6715
|
-
if (!(
|
|
6719
|
+
if (!(L0() && D0.has(t) && !i.repeatDelay && i.repeatType !== "mirror" && i.damping !== 0 && i.type !== "inertia"))
|
|
6716
6720
|
return !1;
|
|
6717
6721
|
let s = !1, a, l, u = !1;
|
|
6718
6722
|
const f = () => {
|
|
@@ -7182,7 +7186,7 @@ function jt(e, t) {
|
|
|
7182
7186
|
const hf = (e) => (t) => t.test(e), nv = {
|
|
7183
7187
|
test: (e) => e === "auto",
|
|
7184
7188
|
parse: (e) => e
|
|
7185
|
-
}, pf = [St, O,
|
|
7189
|
+
}, pf = [St, O, Fe, Qe, ly, ay, nv], qt = (e) => pf.find(hf(e)), rv = [...pf, oe, at], iv = (e) => rv.find(hf(e));
|
|
7186
7190
|
function ov(e, t, n) {
|
|
7187
7191
|
e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, jt(n));
|
|
7188
7192
|
}
|
|
@@ -7573,7 +7577,7 @@ function an(e, t, n) {
|
|
|
7573
7577
|
function Av(e, { min: t, max: n }, r) {
|
|
7574
7578
|
return t !== void 0 && e < t ? e = r ? W(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? W(n, e, r.max) : Math.min(e, n)), e;
|
|
7575
7579
|
}
|
|
7576
|
-
function
|
|
7580
|
+
function Fa(e, t, n) {
|
|
7577
7581
|
return {
|
|
7578
7582
|
min: t !== void 0 ? e.min + t : void 0,
|
|
7579
7583
|
max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
|
|
@@ -7581,18 +7585,18 @@ function La(e, t, n) {
|
|
|
7581
7585
|
}
|
|
7582
7586
|
function Ov(e, { top: t, left: n, bottom: r, right: i }) {
|
|
7583
7587
|
return {
|
|
7584
|
-
x:
|
|
7585
|
-
y:
|
|
7588
|
+
x: Fa(e.x, n, i),
|
|
7589
|
+
y: Fa(e.y, t, r)
|
|
7586
7590
|
};
|
|
7587
7591
|
}
|
|
7588
|
-
function
|
|
7592
|
+
function La(e, t) {
|
|
7589
7593
|
let n = t.min - e.min, r = t.max - e.max;
|
|
7590
7594
|
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), { min: n, max: r };
|
|
7591
7595
|
}
|
|
7592
7596
|
function _v(e, t) {
|
|
7593
7597
|
return {
|
|
7594
|
-
x:
|
|
7595
|
-
y:
|
|
7598
|
+
x: La(e.x, t.x),
|
|
7599
|
+
y: La(e.y, t.y)
|
|
7596
7600
|
};
|
|
7597
7601
|
}
|
|
7598
7602
|
function Mv(e, t) {
|
|
@@ -7605,7 +7609,7 @@ function Vv(e, t) {
|
|
|
7605
7609
|
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
|
|
7606
7610
|
}
|
|
7607
7611
|
const Yi = 0.35;
|
|
7608
|
-
function
|
|
7612
|
+
function Fv(e = Yi) {
|
|
7609
7613
|
return e === !1 ? e = 0 : e === !0 && (e = Yi), {
|
|
7610
7614
|
x: Da(e, "left", "right"),
|
|
7611
7615
|
y: Da(e, "top", "bottom")
|
|
@@ -7625,7 +7629,7 @@ const Ia = () => ({
|
|
|
7625
7629
|
scale: 1,
|
|
7626
7630
|
origin: 0,
|
|
7627
7631
|
originPoint: 0
|
|
7628
|
-
}),
|
|
7632
|
+
}), Ft = () => ({
|
|
7629
7633
|
x: Ia(),
|
|
7630
7634
|
y: Ia()
|
|
7631
7635
|
}), Na = () => ({ min: 0, max: 0 }), J = () => ({
|
|
@@ -7641,7 +7645,7 @@ function vf({ top: e, left: t, right: n, bottom: r }) {
|
|
|
7641
7645
|
y: { min: e, max: r }
|
|
7642
7646
|
};
|
|
7643
7647
|
}
|
|
7644
|
-
function
|
|
7648
|
+
function Lv({ x: e, y: t }) {
|
|
7645
7649
|
return { top: t.min, right: e.max, bottom: t.max, left: e.min };
|
|
7646
7650
|
}
|
|
7647
7651
|
function Dv(e, t) {
|
|
@@ -7692,10 +7696,10 @@ function jv(e, t, n, r = !1) {
|
|
|
7692
7696
|
for (let a = 0; a < i; a++) {
|
|
7693
7697
|
o = n[a], s = o.projectionDelta;
|
|
7694
7698
|
const l = o.instance;
|
|
7695
|
-
l && l.style && l.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root &&
|
|
7699
|
+
l && l.style && l.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root && Lt(e, {
|
|
7696
7700
|
x: -o.scroll.offset.x,
|
|
7697
7701
|
y: -o.scroll.offset.y
|
|
7698
|
-
}), s && (t.x *= s.x.scale, t.y *= s.y.scale, bf(e, s)), r && dt(o.latestValues) &&
|
|
7702
|
+
}), s && (t.x *= s.x.scale, t.y *= s.y.scale, bf(e, s)), r && dt(o.latestValues) && Lt(e, o.latestValues));
|
|
7699
7703
|
}
|
|
7700
7704
|
t.x = za(t.x), t.y = za(t.y);
|
|
7701
7705
|
}
|
|
@@ -7710,7 +7714,7 @@ function Ua(e, t, [n, r, i]) {
|
|
|
7710
7714
|
Zi(e, t[n], t[r], s, t.scale);
|
|
7711
7715
|
}
|
|
7712
7716
|
const Iv = ["x", "scaleX", "originX"], Nv = ["y", "scaleY", "originY"];
|
|
7713
|
-
function
|
|
7717
|
+
function Lt(e, t) {
|
|
7714
7718
|
Ua(e.x, t, Iv), Ua(e.y, t, Nv);
|
|
7715
7719
|
}
|
|
7716
7720
|
function wf(e, t) {
|
|
@@ -7734,11 +7738,11 @@ class zv {
|
|
|
7734
7738
|
c ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(Nr(f, "page").point);
|
|
7735
7739
|
}, o = (f, c) => {
|
|
7736
7740
|
const { drag: d, dragPropagation: h, onDragStart: p } = this.getProps();
|
|
7737
|
-
if (d && !h && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock =
|
|
7741
|
+
if (d && !h && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = Fc(d), !this.openGlobalLock))
|
|
7738
7742
|
return;
|
|
7739
7743
|
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Se((g) => {
|
|
7740
7744
|
let y = this.getAxisMotionValue(g).get() || 0;
|
|
7741
|
-
if (
|
|
7745
|
+
if (Fe.test(y)) {
|
|
7742
7746
|
const { projection: b } = this.visualElement;
|
|
7743
7747
|
if (b && b.layout) {
|
|
7744
7748
|
const v = b.layout.layoutBox[g];
|
|
@@ -7793,7 +7797,7 @@ class zv {
|
|
|
7793
7797
|
}
|
|
7794
7798
|
updateAxis(t, n, r) {
|
|
7795
7799
|
const { drag: i } = this.getProps();
|
|
7796
|
-
if (!r || !
|
|
7800
|
+
if (!r || !Fn(t, i, this.currentDirection))
|
|
7797
7801
|
return;
|
|
7798
7802
|
const o = this.getAxisMotionValue(t);
|
|
7799
7803
|
let s = this.originPoint[t] + r[t];
|
|
@@ -7802,7 +7806,7 @@ class zv {
|
|
|
7802
7806
|
resolveConstraints() {
|
|
7803
7807
|
var t;
|
|
7804
7808
|
const { dragConstraints: n, dragElastic: r } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, o = this.constraints;
|
|
7805
|
-
n && Mt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = Ov(i.layoutBox, n) : this.constraints = !1, this.elastic =
|
|
7809
|
+
n && Mt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = Ov(i.layoutBox, n) : this.constraints = !1, this.elastic = Fv(r), o !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && Se((s) => {
|
|
7806
7810
|
this.getAxisMotionValue(s) && (this.constraints[s] = Vv(i.layoutBox[s], this.constraints[s]));
|
|
7807
7811
|
});
|
|
7808
7812
|
}
|
|
@@ -7816,14 +7820,14 @@ class zv {
|
|
|
7816
7820
|
const o = Bv(r, i.root, this.visualElement.getTransformPagePoint());
|
|
7817
7821
|
let s = _v(i.layout.layoutBox, o);
|
|
7818
7822
|
if (n) {
|
|
7819
|
-
const a = n(
|
|
7823
|
+
const a = n(Lv(s));
|
|
7820
7824
|
this.hasMutatedConstraints = !!a, a && (s = vf(a));
|
|
7821
7825
|
}
|
|
7822
7826
|
return s;
|
|
7823
7827
|
}
|
|
7824
7828
|
startAnimation(t) {
|
|
7825
7829
|
const { drag: n, dragMomentum: r, dragElastic: i, dragTransition: o, dragSnapToOrigin: s, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, u = Se((f) => {
|
|
7826
|
-
if (!
|
|
7830
|
+
if (!Fn(f, n, this.currentDirection))
|
|
7827
7831
|
return;
|
|
7828
7832
|
let c = l && l[f] || {};
|
|
7829
7833
|
s && (c = { min: 0, max: 0 });
|
|
@@ -7872,7 +7876,7 @@ class zv {
|
|
|
7872
7876
|
snapToCursor(t) {
|
|
7873
7877
|
Se((n) => {
|
|
7874
7878
|
const { drag: r } = this.getProps();
|
|
7875
|
-
if (!
|
|
7879
|
+
if (!Fn(n, r, this.currentDirection))
|
|
7876
7880
|
return;
|
|
7877
7881
|
const { projection: i } = this.visualElement, o = this.getAxisMotionValue(n);
|
|
7878
7882
|
if (i && i.layout) {
|
|
@@ -7903,7 +7907,7 @@ class zv {
|
|
|
7903
7907
|
});
|
|
7904
7908
|
const { transformTemplate: o } = this.visualElement.getProps();
|
|
7905
7909
|
this.visualElement.current.style.transform = o ? o({}, "") : "none", r.root && r.root.updateScroll(), r.updateLayout(), this.resolveConstraints(), Se((s) => {
|
|
7906
|
-
if (!
|
|
7910
|
+
if (!Fn(s, t, null))
|
|
7907
7911
|
return;
|
|
7908
7912
|
const a = this.getAxisMotionValue(s), { min: l, max: u } = this.constraints[s];
|
|
7909
7913
|
a.set(W(l, u, i[s]));
|
|
@@ -7944,7 +7948,7 @@ class zv {
|
|
|
7944
7948
|
};
|
|
7945
7949
|
}
|
|
7946
7950
|
}
|
|
7947
|
-
function
|
|
7951
|
+
function Fn(e, t, n) {
|
|
7948
7952
|
return (t === !0 || t === e) && (n === null || n === e);
|
|
7949
7953
|
}
|
|
7950
7954
|
function Uv(e, t = 10) {
|
|
@@ -8114,7 +8118,7 @@ function Jv(e, t, n, r, i, o) {
|
|
|
8114
8118
|
let l = Xa(t, a), u = Xa(n, a);
|
|
8115
8119
|
if (l === void 0 && u === void 0)
|
|
8116
8120
|
continue;
|
|
8117
|
-
l || (l = 0), u || (u = 0), l === 0 || u === 0 || Ga(l) === Ga(u) ? (e[a] = Math.max(W(qa(l), qa(u), r), 0), (
|
|
8121
|
+
l || (l = 0), u || (u = 0), l === 0 || u === 0 || Ga(l) === Ga(u) ? (e[a] = Math.max(W(qa(l), qa(u), r), 0), (Fe.test(u) || Fe.test(l)) && (e[a] += "%")) : e[a] = u;
|
|
8118
8122
|
}
|
|
8119
8123
|
(t.rotate || n.rotate) && (e.rotate = W(t.rotate || 0, n.rotate || 0, r));
|
|
8120
8124
|
}
|
|
@@ -8135,7 +8139,7 @@ function Ya(e, t, n, r, i) {
|
|
|
8135
8139
|
return e -= t, e = br(e, 1 / n, r), i !== void 0 && (e = br(e, 1 / i, r)), e;
|
|
8136
8140
|
}
|
|
8137
8141
|
function ex(e, t = 0, n = 1, r = 0.5, i, o = e, s = e) {
|
|
8138
|
-
if (
|
|
8142
|
+
if (Fe.test(t) && (t = parseFloat(t), t = W(s.min, s.max, t / 100) - s.min), typeof t != "number")
|
|
8139
8143
|
return;
|
|
8140
8144
|
let a = W(o.min, o.max, r);
|
|
8141
8145
|
e === o && (a -= t), e.min = Ya(e.min, t, n, a, i), e.max = Ya(e.max, t, n, a, i);
|
|
@@ -8460,12 +8464,12 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
8460
8464
|
we(l, s);
|
|
8461
8465
|
for (let u = 0; u < this.path.length; u++) {
|
|
8462
8466
|
const f = this.path[u];
|
|
8463
|
-
!a && f.options.layoutScroll && f.scroll && f !== f.root &&
|
|
8467
|
+
!a && f.options.layoutScroll && f.scroll && f !== f.root && Lt(l, {
|
|
8464
8468
|
x: -f.scroll.offset.x,
|
|
8465
8469
|
y: -f.scroll.offset.y
|
|
8466
|
-
}), dt(f.latestValues) &&
|
|
8470
|
+
}), dt(f.latestValues) && Lt(l, f.latestValues);
|
|
8467
8471
|
}
|
|
8468
|
-
return dt(this.latestValues) &&
|
|
8472
|
+
return dt(this.latestValues) && Lt(l, this.latestValues), l;
|
|
8469
8473
|
}
|
|
8470
8474
|
removeTransform(s) {
|
|
8471
8475
|
const a = J();
|
|
@@ -8540,10 +8544,10 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
8540
8544
|
jv(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox);
|
|
8541
8545
|
const { target: p } = a;
|
|
8542
8546
|
if (!p) {
|
|
8543
|
-
this.projectionTransform && (this.projectionDelta =
|
|
8547
|
+
this.projectionTransform && (this.projectionDelta = Ft(), this.projectionTransform = "none", this.scheduleRender());
|
|
8544
8548
|
return;
|
|
8545
8549
|
}
|
|
8546
|
-
this.projectionDelta || (this.projectionDelta =
|
|
8550
|
+
this.projectionDelta || (this.projectionDelta = Ft(), this.projectionDeltaWithTransform = Ft());
|
|
8547
8551
|
const m = this.projectionTransform;
|
|
8548
8552
|
sn(this.projectionDelta, this.layoutCorrected, p, this.latestValues), this.projectionTransform = tl(this.projectionDelta, this.treeScale), (this.projectionTransform !== m || this.treeScale.x !== d || this.treeScale.y !== h) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p)), ht.recalculatedProjection++;
|
|
8549
8553
|
}
|
|
@@ -8561,7 +8565,7 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
8561
8565
|
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
|
|
8562
8566
|
}
|
|
8563
8567
|
setAnimationOrigin(s, a = !1) {
|
|
8564
|
-
const l = this.snapshot, u = l ? l.latestValues : {}, f = { ...this.latestValues }, c =
|
|
8568
|
+
const l = this.snapshot, u = l ? l.latestValues : {}, f = { ...this.latestValues }, c = Ft();
|
|
8565
8569
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
8566
8570
|
const d = J(), h = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, m = h !== p, g = this.getStack(), y = !g || g.members.length <= 1, b = !!(m && !y && this.options.crossfade === !0 && !this.path.some(kx));
|
|
8567
8571
|
this.animationProgress = 0;
|
|
@@ -8603,7 +8607,7 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
8603
8607
|
const d = be(this.layout.layoutBox.y);
|
|
8604
8608
|
l.y.min = s.target.y.min, l.y.max = l.y.min + d;
|
|
8605
8609
|
}
|
|
8606
|
-
we(a, l),
|
|
8610
|
+
we(a, l), Lt(a, f), sn(this.projectionDeltaWithTransform, this.layoutCorrected, a, f);
|
|
8607
8611
|
}
|
|
8608
8612
|
}
|
|
8609
8613
|
registerSharedNode(s, a) {
|
|
@@ -8719,9 +8723,9 @@ function px(e) {
|
|
|
8719
8723
|
const d = s ? n.measuredBox[c] : n.layoutBox[c], h = be(r[c]);
|
|
8720
8724
|
d.max = d.min + h, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[c].max = e.relativeTarget[c].min + h);
|
|
8721
8725
|
});
|
|
8722
|
-
const a =
|
|
8726
|
+
const a = Ft();
|
|
8723
8727
|
sn(a, r, n.layoutBox);
|
|
8724
|
-
const l =
|
|
8728
|
+
const l = Ft();
|
|
8725
8729
|
s ? sn(l, e.applyTransform(i, !0), n.measuredBox) : sn(l, r, n.layoutBox);
|
|
8726
8730
|
const u = !Tf(a);
|
|
8727
8731
|
let f = !1;
|
|
@@ -8894,7 +8898,7 @@ const Vx = /* @__PURE__ */ new Set([
|
|
|
8894
8898
|
"y",
|
|
8895
8899
|
"translateX",
|
|
8896
8900
|
"translateY"
|
|
8897
|
-
]), _f = (e) => Vx.has(e),
|
|
8901
|
+
]), _f = (e) => Vx.has(e), Fx = (e) => Object.keys(e).some(_f), fl = (e) => e === St || e === O, dl = (e, t) => parseFloat(e.split(", ")[t]), hl = (e, t) => (n, { transform: r }) => {
|
|
8898
8902
|
if (r === "none" || !r)
|
|
8899
8903
|
return 0;
|
|
8900
8904
|
const i = r.match(/^matrix3d\((.+)\)$/);
|
|
@@ -8904,7 +8908,7 @@ const Vx = /* @__PURE__ */ new Set([
|
|
|
8904
8908
|
const o = r.match(/^matrix\((.+)\)$/);
|
|
8905
8909
|
return o ? dl(o[1], e) : 0;
|
|
8906
8910
|
}
|
|
8907
|
-
},
|
|
8911
|
+
}, Lx = /* @__PURE__ */ new Set(["x", "y", "z"]), Dx = bn.filter((e) => !Lx.has(e));
|
|
8908
8912
|
function jx(e) {
|
|
8909
8913
|
const t = [];
|
|
8910
8914
|
return Dx.forEach((n) => {
|
|
@@ -8965,19 +8969,19 @@ const Ix = (e, t, n) => {
|
|
|
8965
8969
|
const l = a.indexOf("height") >= 0 ? window.pageYOffset : null, u = Ix(t, e, a);
|
|
8966
8970
|
return o.length && o.forEach(([f, c]) => {
|
|
8967
8971
|
e.getValue(f).set(c);
|
|
8968
|
-
}), e.render(),
|
|
8972
|
+
}), e.render(), Lr && l !== null && window.scrollTo({ top: l }), { target: u, transitionEnd: r };
|
|
8969
8973
|
} else
|
|
8970
8974
|
return { target: t, transitionEnd: r };
|
|
8971
8975
|
};
|
|
8972
8976
|
function Bx(e, t, n, r) {
|
|
8973
|
-
return
|
|
8977
|
+
return Fx(t) ? Nx(e, t, n, r) : { target: t, transitionEnd: r };
|
|
8974
8978
|
}
|
|
8975
8979
|
const $x = (e, t, n, r) => {
|
|
8976
8980
|
const i = Mx(e, t, r);
|
|
8977
8981
|
return t = i.target, r = i.transitionEnd, Bx(e, t, n, r);
|
|
8978
8982
|
}, eo = { current: null }, Mf = { current: !1 };
|
|
8979
8983
|
function zx() {
|
|
8980
|
-
if (Mf.current = !0, !!
|
|
8984
|
+
if (Mf.current = !0, !!Lr)
|
|
8981
8985
|
if (window.matchMedia) {
|
|
8982
8986
|
const e = window.matchMedia("(prefers-reduced-motion)"), t = () => eo.current = e.matches;
|
|
8983
8987
|
e.addListener(t), t();
|
|
@@ -9240,7 +9244,7 @@ class qx {
|
|
|
9240
9244
|
this.events[t] && this.events[t].notify(...n);
|
|
9241
9245
|
}
|
|
9242
9246
|
}
|
|
9243
|
-
class
|
|
9247
|
+
class Ff extends qx {
|
|
9244
9248
|
sortInstanceNodePosition(t, n) {
|
|
9245
9249
|
return t.compareDocumentPosition(n) & 2 ? 1 : -1;
|
|
9246
9250
|
}
|
|
@@ -9267,7 +9271,7 @@ class Lf extends qx {
|
|
|
9267
9271
|
function Gx(e) {
|
|
9268
9272
|
return window.getComputedStyle(e);
|
|
9269
9273
|
}
|
|
9270
|
-
class Xx extends
|
|
9274
|
+
class Xx extends Ff {
|
|
9271
9275
|
constructor() {
|
|
9272
9276
|
super(...arguments), this.type = "html";
|
|
9273
9277
|
}
|
|
@@ -9284,7 +9288,7 @@ class Xx extends Lf {
|
|
|
9284
9288
|
return wf(t, n);
|
|
9285
9289
|
}
|
|
9286
9290
|
build(t, n, r, i) {
|
|
9287
|
-
|
|
9291
|
+
Fo(t, n, r, i.transformTemplate);
|
|
9288
9292
|
}
|
|
9289
9293
|
scrapeMotionValuesFromProps(t, n) {
|
|
9290
9294
|
return Io(t, n);
|
|
@@ -9300,7 +9304,7 @@ class Xx extends Lf {
|
|
|
9300
9304
|
Pc(t, n, r, i);
|
|
9301
9305
|
}
|
|
9302
9306
|
}
|
|
9303
|
-
class Kx extends
|
|
9307
|
+
class Kx extends Ff {
|
|
9304
9308
|
constructor() {
|
|
9305
9309
|
super(...arguments), this.type = "svg", this.isSVGTag = !1;
|
|
9306
9310
|
}
|
|
@@ -9531,7 +9535,7 @@ var vl;
|
|
|
9531
9535
|
(function(e) {
|
|
9532
9536
|
e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
|
|
9533
9537
|
})(vl || (vl = {}));
|
|
9534
|
-
function
|
|
9538
|
+
function Lf(e, t) {
|
|
9535
9539
|
if (t === "/")
|
|
9536
9540
|
return e;
|
|
9537
9541
|
if (!e.toLowerCase().startsWith(t.toLowerCase()))
|
|
@@ -9745,7 +9749,7 @@ function gb(e) {
|
|
|
9745
9749
|
state: h = null,
|
|
9746
9750
|
key: p = "default"
|
|
9747
9751
|
} = r, m = x.useMemo(() => {
|
|
9748
|
-
let g =
|
|
9752
|
+
let g = Lf(f, l);
|
|
9749
9753
|
return g == null ? null : {
|
|
9750
9754
|
location: {
|
|
9751
9755
|
pathname: g,
|
|
@@ -9852,7 +9856,7 @@ const Cb = typeof window < "u" && typeof window.document < "u" && typeof window.
|
|
|
9852
9856
|
} = x.useContext(zt), p, m = !1;
|
|
9853
9857
|
if (typeof u == "string" && kb.test(u) && (p = u, Cb))
|
|
9854
9858
|
try {
|
|
9855
|
-
let v = new URL(window.location.href), S = u.startsWith("//") ? new URL(v.protocol + u) : new URL(u), E =
|
|
9859
|
+
let v = new URL(window.location.href), S = u.startsWith("//") ? new URL(v.protocol + u) : new URL(u), E = Lf(S.pathname, h);
|
|
9856
9860
|
S.origin === v.origin && E != null ? u = E + S.search + S.hash : m = !0;
|
|
9857
9861
|
} catch {
|
|
9858
9862
|
}
|
|
@@ -9962,7 +9966,7 @@ function Mb(e) {
|
|
|
9962
9966
|
var n = t.indexOf(";"), r = n !== -1 ? t.slice(0, n).trim() : t.trim();
|
|
9963
9967
|
if (!Ob.test(r))
|
|
9964
9968
|
throw new TypeError("invalid media type");
|
|
9965
|
-
var i = new
|
|
9969
|
+
var i = new Fb(r.toLowerCase());
|
|
9966
9970
|
if (n !== -1) {
|
|
9967
9971
|
var o, s, a;
|
|
9968
9972
|
for (Sl.lastIndex = n; s = Sl.exec(t); ) {
|
|
@@ -9981,7 +9985,7 @@ function Vb(e) {
|
|
|
9981
9985
|
throw new TypeError("content-type header is missing from object");
|
|
9982
9986
|
return t;
|
|
9983
9987
|
}
|
|
9984
|
-
function
|
|
9988
|
+
function Fb(e) {
|
|
9985
9989
|
this.parameters = /* @__PURE__ */ Object.create(null), this.type = e;
|
|
9986
9990
|
}
|
|
9987
9991
|
var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
@@ -10017,7 +10021,7 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10017
10021
|
}, i.open("GET", t), i.withCredentials = n, i.overrideMimeType && i.overrideMimeType("text/xml"), i.send();
|
|
10018
10022
|
}, tt = {}, Cl = function(t, n) {
|
|
10019
10023
|
tt[t] = tt[t] || [], tt[t].push(n);
|
|
10020
|
-
},
|
|
10024
|
+
}, Lb = function(t) {
|
|
10021
10025
|
for (var n = function(s, a) {
|
|
10022
10026
|
setTimeout(function() {
|
|
10023
10027
|
if (Array.isArray(tt[t])) {
|
|
@@ -10041,7 +10045,7 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10041
10045
|
}
|
|
10042
10046
|
Ot.set(t, void 0), Cl(t, r), Gf(t, n, function(o, s) {
|
|
10043
10047
|
var a;
|
|
10044
|
-
o ? Ot.set(t, o) : ((a = s.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && Ot.set(t, s.responseXML.documentElement),
|
|
10048
|
+
o ? Ot.set(t, o) : ((a = s.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && Ot.set(t, s.responseXML.documentElement), Lb(t);
|
|
10045
10049
|
});
|
|
10046
10050
|
}, jb = function(t, n, r) {
|
|
10047
10051
|
Gf(t, n, function(i, o) {
|
|
@@ -10162,7 +10166,7 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10162
10166
|
if (t[i] !== n[i])
|
|
10163
10167
|
return !0;
|
|
10164
10168
|
return !1;
|
|
10165
|
-
}, Wb = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"],
|
|
10169
|
+
}, Wb = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], Ln = "http://www.w3.org/2000/svg", Pl = "http://www.w3.org/1999/xlink", Jo = /* @__PURE__ */ function(e) {
|
|
10166
10170
|
Rb(t, e);
|
|
10167
10171
|
function t() {
|
|
10168
10172
|
for (var r, i = arguments.length, o = new Array(i), s = 0; s < i; s++)
|
|
@@ -10179,7 +10183,7 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10179
10183
|
var i = this;
|
|
10180
10184
|
if (this.reactWrapper instanceof zb(this.reactWrapper).Node) {
|
|
10181
10185
|
var o = this.props, s = o.desc, a = o.evalScripts, l = o.httpRequestWithCredentials, u = o.renumerateIRIElements, f = o.src, c = o.title, d = o.useRequestCache, h = this.props.onError, p = this.props.beforeInjection, m = this.props.afterInjection, g = this.props.wrapper, y, b;
|
|
10182
|
-
g === "svg" ? (y = document.createElementNS(
|
|
10186
|
+
g === "svg" ? (y = document.createElementNS(Ln, g), y.setAttribute("xmlns", Ln), y.setAttribute("xmlns:xlink", Pl), b = document.createElementNS(Ln, g)) : (y = document.createElement(g), b = document.createElement(g)), y.appendChild(b), b.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(y);
|
|
10183
10187
|
var v = function(T) {
|
|
10184
10188
|
if (i.removeSVG(), !i._isMounted) {
|
|
10185
10189
|
h(T);
|
|
@@ -10262,7 +10266,7 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10262
10266
|
return /* @__PURE__ */ x.createElement(u, yn({}, l, {
|
|
10263
10267
|
ref: this.refCallback
|
|
10264
10268
|
}, a === "svg" ? {
|
|
10265
|
-
xmlns:
|
|
10269
|
+
xmlns: Ln,
|
|
10266
10270
|
xmlnsXlink: Pl
|
|
10267
10271
|
} : {}), this.state.isLoading && s && /* @__PURE__ */ x.createElement(s, null), this.state.hasError && o && /* @__PURE__ */ x.createElement(o, null));
|
|
10268
10272
|
}, t;
|