@oslokommune/punkt-react 12.18.1 → 12.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/punkt-react.es.js +368 -367
- package/dist/punkt-react.umd.js +1 -1
- package/package.json +3 -3
package/dist/punkt-react.es.js
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
var dL = (n, r, s) => r in n ? cL(n, r, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[r] = s;
|
|
38
38
|
var vm = (n, r, s) => dL(n, typeof r != "symbol" ? r + "" : r, s);
|
|
39
39
|
import * as pL from "react";
|
|
40
|
-
import vn, { forwardRef as Wr, useState as bu, Fragment as
|
|
40
|
+
import vn, { forwardRef as Wr, useState as bu, Fragment as X2, isValidElement as Iv, useRef as hT, useEffect as fL, cloneElement as hL } from "react";
|
|
41
41
|
import { Link as bE } from "react-router-dom";
|
|
42
42
|
function mL(n, r) {
|
|
43
43
|
for (var s = 0; s < r.length; s++) {
|
|
@@ -59,7 +59,7 @@ var Jd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
59
59
|
function I0(n) {
|
|
60
60
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
61
61
|
}
|
|
62
|
-
var
|
|
62
|
+
var _2 = { exports: {} }, Dv = {};
|
|
63
63
|
/**
|
|
64
64
|
* @license React
|
|
65
65
|
* react-jsx-runtime.production.min.js
|
|
@@ -687,8 +687,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
687
687
|
Sv.Fragment = u, Sv.jsx = co, Sv.jsxs = Ja;
|
|
688
688
|
}()), Sv;
|
|
689
689
|
}
|
|
690
|
-
process.env.NODE_ENV === "production" ?
|
|
691
|
-
var O =
|
|
690
|
+
process.env.NODE_ENV === "production" ? _2.exports = gL() : _2.exports = vL();
|
|
691
|
+
var O = _2.exports;
|
|
692
692
|
const vU = Wr(
|
|
693
693
|
({ compact: n = !1, skin: r = "borderless", className: s, children: u }, f) => {
|
|
694
694
|
const v = [
|
|
@@ -737,8 +737,8 @@ const yL = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
|
|
|
737
737
|
* Copyright 2017 Google LLC
|
|
738
738
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
739
739
|
*/
|
|
740
|
-
const T0 = globalThis, F0 = T0.trustedTypes, xE = F0 ? F0.createPolicy("lit-html", { createHTML: (n) => n }) : void 0,
|
|
741
|
-
\f\r]`, xv = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, CE = /-->/g, EE = />/g, bf = RegExp(`>|${
|
|
740
|
+
const T0 = globalThis, F0 = T0.trustedTypes, xE = F0 ? F0.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, J2 = "$lit$", xc = `lit$${Math.random().toFixed(9).slice(2)}$`, eD = "?" + xc, bL = `<${eD}>`, Af = document, Wv = () => Af.createComment(""), Vv = (n) => n === null || typeof n != "object" && typeof n != "function", tD = Array.isArray, mT = (n) => tD(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", a2 = `[
|
|
741
|
+
\f\r]`, xv = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, CE = /-->/g, EE = />/g, bf = RegExp(`>|${a2}(?:([^\\s"'>=/]+)(${a2}*=${a2}*(?:[^
|
|
742
742
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), _E = /'/g, TE = /"/g, gT = /^(?:script|style|textarea|title)$/i, kL = (n) => (r, ...s) => ({ _$litType$: n, strings: r, values: s }), Ze = kL(1), Ro = Symbol.for("lit-noChange"), kt = Symbol.for("lit-nothing"), FE = /* @__PURE__ */ new WeakMap(), Tf = Af.createTreeWalker(Af, 129);
|
|
743
743
|
function vT(n, r) {
|
|
744
744
|
if (!tD(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
@@ -752,7 +752,7 @@ const yT = (n, r) => {
|
|
|
752
752
|
let _, P, $ = -1, R = 0;
|
|
753
753
|
for (; R < C.length && (g.lastIndex = R, P = g.exec(C), P !== null); ) R = g.lastIndex, g === xv ? P[1] === "!--" ? g = CE : P[1] !== void 0 ? g = EE : P[2] !== void 0 ? (gT.test(P[2]) && (f = RegExp("</" + P[2], "g")), g = bf) : P[3] !== void 0 && (g = bf) : g === bf ? P[0] === ">" ? (g = f ?? xv, $ = -1) : P[1] === void 0 ? $ = -2 : ($ = g.lastIndex - P[2].length, _ = P[1], g = P[3] === void 0 ? bf : P[3] === '"' ? TE : _E) : g === TE || g === _E ? g = bf : g === CE || g === EE ? g = xv : (g = bf, f = void 0);
|
|
754
754
|
const B = g === bf && n[D + 1].startsWith("/>") ? " " : "";
|
|
755
|
-
v += g === xv ? C + bL : $ >= 0 ? (u.push(_), C.slice(0, $) +
|
|
755
|
+
v += g === xv ? C + bL : $ >= 0 ? (u.push(_), C.slice(0, $) + J2 + C.slice($) + xc + B) : C + xc + ($ === -2 ? D : B);
|
|
756
756
|
}
|
|
757
757
|
return [vT(n, v + (n[s] || "<?>") + (r === 2 ? "</svg>" : r === 3 ? "</math>" : "")), u];
|
|
758
758
|
};
|
|
@@ -768,7 +768,7 @@ class Yv {
|
|
|
768
768
|
}
|
|
769
769
|
for (; (f = Tf.nextNode()) !== null && C.length < D; ) {
|
|
770
770
|
if (f.nodeType === 1) {
|
|
771
|
-
if (f.hasAttributes()) for (const $ of f.getAttributeNames()) if ($.endsWith(
|
|
771
|
+
if (f.hasAttributes()) for (const $ of f.getAttributeNames()) if ($.endsWith(J2)) {
|
|
772
772
|
const R = P[g++], B = f.getAttribute($).split(xc), M = /([.?@])?(.*)/.exec(R);
|
|
773
773
|
C.push({ type: 1, index: v, name: M[2], strings: B, ctor: M[1] === "." ? kT : M[1] === "?" ? wT : M[1] === "@" ? DT : ny }), f.removeAttribute($);
|
|
774
774
|
} else $.startsWith(xc) && (C.push({ type: 6, index: v }), f.removeAttribute($));
|
|
@@ -957,7 +957,7 @@ class ST {
|
|
|
957
957
|
Nf(this, r);
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
|
-
const wL = { M:
|
|
960
|
+
const wL = { M: J2, P: xc, A: eD, C: 1, L: yT, R: bT, D: mT, V: Nf, I: $m, H: ny, N: wT, U: DT, B: kT, F: ST }, AE = T0.litHtmlPolyfillSupport;
|
|
961
961
|
AE == null || AE(Yv, $m), (T0.litHtmlVersions ?? (T0.litHtmlVersions = [])).push("3.2.1");
|
|
962
962
|
const DL = (n, r, s) => {
|
|
963
963
|
const u = (s == null ? void 0 : s.renderBefore) ?? r;
|
|
@@ -1336,7 +1336,7 @@ Mv._$litElement$ = !0, Mv.finalized = !0, (OE = globalThis.litElementHydrateSupp
|
|
|
1336
1336
|
const BE = globalThis.litElementPolyfillSupport;
|
|
1337
1337
|
BE == null || BE({ LitElement: Mv });
|
|
1338
1338
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
|
1339
|
-
var
|
|
1339
|
+
var T2 = { exports: {} }, Ao = {}, i2 = { exports: {} }, pn = {};
|
|
1340
1340
|
/**
|
|
1341
1341
|
* @license React
|
|
1342
1342
|
* react.production.min.js
|
|
@@ -2813,9 +2813,9 @@ Check the top-level render call using <` + pe + ">.");
|
|
|
2813
2813
|
}
|
|
2814
2814
|
var ME;
|
|
2815
2815
|
function CT() {
|
|
2816
|
-
return ME || (ME = 1, process.env.NODE_ENV === "production" ?
|
|
2816
|
+
return ME || (ME = 1, process.env.NODE_ENV === "production" ? i2.exports = LL() : i2.exports = OL()), i2.exports;
|
|
2817
2817
|
}
|
|
2818
|
-
var
|
|
2818
|
+
var o2 = { exports: {} }, zE = {};
|
|
2819
2819
|
/**
|
|
2820
2820
|
* @license React
|
|
2821
2821
|
* scheduler.production.min.js
|
|
@@ -3298,7 +3298,7 @@ function IL() {
|
|
|
3298
3298
|
}
|
|
3299
3299
|
var WE;
|
|
3300
3300
|
function ET() {
|
|
3301
|
-
return WE || (WE = 1, process.env.NODE_ENV === "production" ?
|
|
3301
|
+
return WE || (WE = 1, process.env.NODE_ENV === "production" ? o2.exports = BL() : o2.exports = IL()), o2.exports;
|
|
3302
3302
|
}
|
|
3303
3303
|
/**
|
|
3304
3304
|
* @license React
|
|
@@ -14993,7 +14993,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14993
14993
|
}
|
|
14994
14994
|
function E(se, xe, le, Ie) {
|
|
14995
14995
|
if (xe === null || xe.tag !== M) {
|
|
14996
|
-
var pt =
|
|
14996
|
+
var pt = Kw(le, se.mode, Ie);
|
|
14997
14997
|
return pt.return = se, pt;
|
|
14998
14998
|
} else {
|
|
14999
14999
|
var st = p(xe, le);
|
|
@@ -15013,12 +15013,12 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
15013
15013
|
var st = p(xe, le.props);
|
|
15014
15014
|
return st.ref = qg(se, xe, le), st.return = se, st._debugSource = le._source, st._debugOwner = le._owner, st;
|
|
15015
15015
|
}
|
|
15016
|
-
var Ot =
|
|
15016
|
+
var Ot = Yw(le, se.mode, Ie);
|
|
15017
15017
|
return Ot.ref = qg(se, xe, le), Ot.return = se, Ot;
|
|
15018
15018
|
}
|
|
15019
15019
|
function L(se, xe, le, Ie) {
|
|
15020
15020
|
if (xe === null || xe.tag !== R || xe.stateNode.containerInfo !== le.containerInfo || xe.stateNode.implementation !== le.implementation) {
|
|
15021
|
-
var pt =
|
|
15021
|
+
var pt = Gw(le, se.mode, Ie);
|
|
15022
15022
|
return pt.return = se, pt;
|
|
15023
15023
|
} else {
|
|
15024
15024
|
var st = p(xe, le.children || []);
|
|
@@ -15036,17 +15036,17 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
15036
15036
|
}
|
|
15037
15037
|
function ne(se, xe, le) {
|
|
15038
15038
|
if (typeof xe == "string" && xe !== "" || typeof xe == "number") {
|
|
15039
|
-
var Ie =
|
|
15039
|
+
var Ie = Kw("" + xe, se.mode, le);
|
|
15040
15040
|
return Ie.return = se, Ie;
|
|
15041
15041
|
}
|
|
15042
15042
|
if (typeof xe == "object" && xe !== null) {
|
|
15043
15043
|
switch (xe.$$typeof) {
|
|
15044
15044
|
case Ui: {
|
|
15045
|
-
var pt =
|
|
15045
|
+
var pt = Yw(xe, se.mode, le);
|
|
15046
15046
|
return pt.ref = qg(se, null, xe), pt.return = se, pt;
|
|
15047
15047
|
}
|
|
15048
15048
|
case Xr: {
|
|
15049
|
-
var st =
|
|
15049
|
+
var st = Gw(xe, se.mode, le);
|
|
15050
15050
|
return st.return = se, st;
|
|
15051
15051
|
}
|
|
15052
15052
|
case At: {
|
|
@@ -15246,7 +15246,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
15246
15246
|
return pt.return = se, pt;
|
|
15247
15247
|
}
|
|
15248
15248
|
o(se, xe);
|
|
15249
|
-
var st =
|
|
15249
|
+
var st = Kw(le, se.mode, Ie);
|
|
15250
15250
|
return st.return = se, st;
|
|
15251
15251
|
}
|
|
15252
15252
|
function Pt(se, xe, le, Ie) {
|
|
@@ -15279,7 +15279,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
15279
15279
|
var Cn = Kd(le.props.children, se.mode, Ie, le.key);
|
|
15280
15280
|
return Cn.return = se, Cn;
|
|
15281
15281
|
} else {
|
|
15282
|
-
var Zr =
|
|
15282
|
+
var Zr = Yw(le, se.mode, Ie);
|
|
15283
15283
|
return Zr.ref = qg(se, xe, le), Zr.return = se, Zr;
|
|
15284
15284
|
}
|
|
15285
15285
|
}
|
|
@@ -15298,7 +15298,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
15298
15298
|
t(se, st);
|
|
15299
15299
|
st = st.sibling;
|
|
15300
15300
|
}
|
|
15301
|
-
var qt =
|
|
15301
|
+
var qt = Gw(le, se.mode, Ie);
|
|
15302
15302
|
return qt.return = se, qt;
|
|
15303
15303
|
}
|
|
15304
15304
|
function rn(se, xe, le, Ie) {
|
|
@@ -17359,7 +17359,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, et, Ct, de !== null ? `
|
|
|
17359
17359
|
digest: null
|
|
17360
17360
|
};
|
|
17361
17361
|
}
|
|
17362
|
-
function
|
|
17362
|
+
function ew(e, t, o) {
|
|
17363
17363
|
return {
|
|
17364
17364
|
value: e,
|
|
17365
17365
|
source: null,
|
|
@@ -17370,7 +17370,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, et, Ct, de !== null ? `
|
|
|
17370
17370
|
function fP(e, t) {
|
|
17371
17371
|
return !0;
|
|
17372
17372
|
}
|
|
17373
|
-
function
|
|
17373
|
+
function tw(e, t) {
|
|
17374
17374
|
try {
|
|
17375
17375
|
var o = fP(e, t);
|
|
17376
17376
|
if (o === !1)
|
|
@@ -17408,10 +17408,10 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17408
17408
|
};
|
|
17409
17409
|
var p = t.value;
|
|
17410
17410
|
return l.callback = function() {
|
|
17411
|
-
oR(p),
|
|
17411
|
+
oR(p), tw(e, t);
|
|
17412
17412
|
}, l;
|
|
17413
17413
|
}
|
|
17414
|
-
function
|
|
17414
|
+
function nw(e, t, o) {
|
|
17415
17415
|
var l = gc(cr, o);
|
|
17416
17416
|
l.tag = o1;
|
|
17417
17417
|
var p = e.type.getDerivedStateFromError;
|
|
@@ -17420,12 +17420,12 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17420
17420
|
l.payload = function() {
|
|
17421
17421
|
return p(y);
|
|
17422
17422
|
}, l.callback = function() {
|
|
17423
|
-
MC(e),
|
|
17423
|
+
MC(e), tw(e, t);
|
|
17424
17424
|
};
|
|
17425
17425
|
}
|
|
17426
17426
|
var w = e.stateNode;
|
|
17427
17427
|
return w !== null && typeof w.componentDidCatch == "function" && (l.callback = function() {
|
|
17428
|
-
MC(e),
|
|
17428
|
+
MC(e), tw(e, t), typeof p != "function" && aR(this);
|
|
17429
17429
|
var E = t.value, T = t.stack;
|
|
17430
17430
|
this.componentDidCatch(E, {
|
|
17431
17431
|
componentStack: T !== null ? T : ""
|
|
@@ -17494,7 +17494,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17494
17494
|
return;
|
|
17495
17495
|
} else {
|
|
17496
17496
|
if (!eg(p)) {
|
|
17497
|
-
Ax(e, y, p),
|
|
17497
|
+
Ax(e, y, p), Lw();
|
|
17498
17498
|
return;
|
|
17499
17499
|
}
|
|
17500
17500
|
var E = new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");
|
|
@@ -17527,7 +17527,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17527
17527
|
L.flags |= Nr;
|
|
17528
17528
|
var et = vd(p);
|
|
17529
17529
|
L.lanes = Kt(L.lanes, et);
|
|
17530
|
-
var Ct =
|
|
17530
|
+
var Ct = nw(L, de, et);
|
|
17531
17531
|
u1(L, Ct);
|
|
17532
17532
|
return;
|
|
17533
17533
|
}
|
|
@@ -17539,8 +17539,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17539
17539
|
function yP() {
|
|
17540
17540
|
return null;
|
|
17541
17541
|
}
|
|
17542
|
-
var nv = s.ReactCurrentOwner, hl = !1,
|
|
17543
|
-
|
|
17542
|
+
var nv = s.ReactCurrentOwner, hl = !1, rw, rv, aw, iw, ow, ff, sw, Vb, av;
|
|
17543
|
+
rw = {}, rv = {}, aw = {}, iw = {}, ow = {}, ff = !1, sw = {}, Vb = {}, av = {};
|
|
17544
17544
|
function eo(e, t, o, l) {
|
|
17545
17545
|
e === null ? t.child = LS(t, null, o, l) : t.child = Xh(t, e.child, o, l);
|
|
17546
17546
|
}
|
|
@@ -17579,7 +17579,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17579
17579
|
if (xR(y) && o.compare === null && // SimpleMemoComponent codepath doesn't resolve outer props either.
|
|
17580
17580
|
o.defaultProps === void 0) {
|
|
17581
17581
|
var w = y;
|
|
17582
|
-
return w = mm(y), t.tag = oe, t.type = w,
|
|
17582
|
+
return w = mm(y), t.tag = oe, t.type = w, cw(t, y), Lx(e, t, w, l, p);
|
|
17583
17583
|
}
|
|
17584
17584
|
{
|
|
17585
17585
|
var E = y.propTypes;
|
|
@@ -17594,7 +17594,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17594
17594
|
av[T] || (g("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.", T), av[T] = !0);
|
|
17595
17595
|
}
|
|
17596
17596
|
}
|
|
17597
|
-
var L =
|
|
17597
|
+
var L = Vw(o.type, null, l, t, t.mode, p);
|
|
17598
17598
|
return L.ref = t.ref, L.return = t, t.child = L, L;
|
|
17599
17599
|
}
|
|
17600
17600
|
{
|
|
@@ -17607,7 +17607,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17607
17607
|
on(I)
|
|
17608
17608
|
);
|
|
17609
17609
|
}
|
|
17610
|
-
var J = e.child, de =
|
|
17610
|
+
var J = e.child, de = gw(e, p);
|
|
17611
17611
|
if (!de) {
|
|
17612
17612
|
var ge = J.memoizedProps, Ce = o.compare;
|
|
17613
17613
|
if (Ce = Ce !== null ? Ce : Tt, Ce(ge, l) && e.ref === t.ref)
|
|
@@ -17641,11 +17641,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17641
17641
|
var I = e.memoizedProps;
|
|
17642
17642
|
if (Tt(I, l) && e.ref === t.ref && // Prevent bailout if the implementation changed due to hot reload.
|
|
17643
17643
|
t.type === e.type)
|
|
17644
|
-
if (hl = !1, t.pendingProps = l = I,
|
|
17644
|
+
if (hl = !1, t.pendingProps = l = I, gw(e, p))
|
|
17645
17645
|
(e.flags & Vl) !== Et && (hl = !0);
|
|
17646
17646
|
else return t.lanes = e.lanes, vc(e, t, p);
|
|
17647
17647
|
}
|
|
17648
|
-
return
|
|
17648
|
+
return lw(e, t, o, l, p);
|
|
17649
17649
|
}
|
|
17650
17650
|
function Ox(e, t, o) {
|
|
17651
17651
|
var l = t.pendingProps, p = l.children, y = e !== null ? e.memoizedState : null;
|
|
@@ -17710,7 +17710,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17710
17710
|
var o = t.ref;
|
|
17711
17711
|
(e === null && o !== null || e !== null && e.ref !== o) && (t.flags |= Pa, t.flags |= Yl);
|
|
17712
17712
|
}
|
|
17713
|
-
function
|
|
17713
|
+
function lw(e, t, o, l, p) {
|
|
17714
17714
|
if (t.type !== t.elementType) {
|
|
17715
17715
|
var y = o.propTypes;
|
|
17716
17716
|
y && ll(
|
|
@@ -17753,7 +17753,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17753
17753
|
t.flags |= Ft, t.flags |= Nr;
|
|
17754
17754
|
var L = new Error("Simulated error coming from DevTools"), I = vd(p);
|
|
17755
17755
|
t.lanes = Kt(t.lanes, I);
|
|
17756
|
-
var ne =
|
|
17756
|
+
var ne = nw(t, pf(L, t), I);
|
|
17757
17757
|
u1(t, ne);
|
|
17758
17758
|
break;
|
|
17759
17759
|
}
|
|
@@ -17773,14 +17773,14 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17773
17773
|
lu(o) ? (de = !0, ab(t)) : de = !1, em(t, p);
|
|
17774
17774
|
var ge = t.stateNode, Ce;
|
|
17775
17775
|
ge === null ? (Kb(e, t), _x(t, o, l), J1(t, o, l, p), Ce = !0) : e === null ? Ce = dP(t, o, l, p) : Ce = pP(e, t, o, l, p);
|
|
17776
|
-
var et =
|
|
17776
|
+
var et = uw(e, t, o, Ce, de, p);
|
|
17777
17777
|
{
|
|
17778
17778
|
var Ct = t.stateNode;
|
|
17779
17779
|
Ce && Ct.props !== l && (ff || g("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", It(t) || "a component"), ff = !0);
|
|
17780
17780
|
}
|
|
17781
17781
|
return et;
|
|
17782
17782
|
}
|
|
17783
|
-
function
|
|
17783
|
+
function uw(e, t, o, l, p, y) {
|
|
17784
17784
|
Bx(e, t);
|
|
17785
17785
|
var w = (t.flags & Ft) !== Et;
|
|
17786
17786
|
if (!l && !w)
|
|
@@ -17865,11 +17865,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17865
17865
|
var L = t.tag = CR(T), I = fl(T, p), ne;
|
|
17866
17866
|
switch (L) {
|
|
17867
17867
|
case C:
|
|
17868
|
-
return
|
|
17868
|
+
return cw(t, T), t.type = T = mm(T), ne = lw(null, t, T, I, l), ne;
|
|
17869
17869
|
case _:
|
|
17870
|
-
return t.type = T =
|
|
17870
|
+
return t.type = T = Mw(T), ne = Ix(null, t, T, I, l), ne;
|
|
17871
17871
|
case Y:
|
|
17872
|
-
return t.type = T =
|
|
17872
|
+
return t.type = T = zw(T), ne = $x(null, t, T, I, l), ne;
|
|
17873
17873
|
case re: {
|
|
17874
17874
|
if (t.type !== t.elementType) {
|
|
17875
17875
|
var J = T.propTypes;
|
|
@@ -17897,7 +17897,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17897
17897
|
function _P(e, t, o, l, p) {
|
|
17898
17898
|
Kb(e, t), t.tag = _;
|
|
17899
17899
|
var y;
|
|
17900
|
-
return lu(o) ? (y = !0, ab(t)) : y = !1, em(t, p), _x(t, o, l), J1(t, o, l, p),
|
|
17900
|
+
return lu(o) ? (y = !0, ab(t)) : y = !1, em(t, p), _x(t, o, l), J1(t, o, l, p), uw(null, t, o, !0, y, p);
|
|
17901
17901
|
}
|
|
17902
17902
|
function TP(e, t, o, l) {
|
|
17903
17903
|
Kb(e, t);
|
|
@@ -17912,7 +17912,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17912
17912
|
{
|
|
17913
17913
|
if (o.prototype && typeof o.prototype.render == "function") {
|
|
17914
17914
|
var L = on(o) || "Unknown";
|
|
17915
|
-
|
|
17915
|
+
rw[L] || (g("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", L, L), rw[L] = !0);
|
|
17916
17916
|
}
|
|
17917
17917
|
t.mode & F && cl.recordLegacyContextWarning(t, null), Aa(!0), nv.current = t, E = om(null, t, o, p, y, l), T = sm(), Aa(!1);
|
|
17918
17918
|
}
|
|
@@ -17931,7 +17931,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17931
17931
|
}
|
|
17932
17932
|
t.tag = _, t.memoizedState = null, t.updateQueue = null;
|
|
17933
17933
|
var J = !1;
|
|
17934
|
-
return lu(o) ? (J = !0, ab(t)) : J = !1, t.memoizedState = E.state !== null && E.state !== void 0 ? E.state : null, l1(t), Ex(t, E), J1(t, o, p, l),
|
|
17934
|
+
return lu(o) ? (J = !0, ab(t)) : J = !1, t.memoizedState = E.state !== null && E.state !== void 0 ? E.state : null, l1(t), Ex(t, E), J1(t, o, p, l), uw(null, t, o, !0, J, l);
|
|
17935
17935
|
} else {
|
|
17936
17936
|
if (t.tag = C, t.mode & F) {
|
|
17937
17937
|
Er(!0);
|
|
@@ -17941,10 +17941,10 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17941
17941
|
Er(!1);
|
|
17942
17942
|
}
|
|
17943
17943
|
}
|
|
17944
|
-
return si() && T && Uk(t), eo(null, t, E, l),
|
|
17944
|
+
return si() && T && Uk(t), eo(null, t, E, l), cw(t, o), t.child;
|
|
17945
17945
|
}
|
|
17946
17946
|
}
|
|
17947
|
-
function
|
|
17947
|
+
function cw(e, t) {
|
|
17948
17948
|
{
|
|
17949
17949
|
if (t && t.childContextTypes && g("%s(...): childContextTypes cannot be defined on a function component.", t.displayName || t.name || "Component"), e.ref !== null) {
|
|
17950
17950
|
var o = "", l = ma();
|
|
@@ -17952,7 +17952,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17952
17952
|
|
|
17953
17953
|
Check the render method of \`` + l + "`.");
|
|
17954
17954
|
var p = l || "", y = e._debugSource;
|
|
17955
|
-
y && (p = y.fileName + ":" + y.lineNumber),
|
|
17955
|
+
y && (p = y.fileName + ":" + y.lineNumber), ow[p] || (ow[p] = !0, g("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s", o));
|
|
17956
17956
|
}
|
|
17957
17957
|
if (t.defaultProps !== void 0) {
|
|
17958
17958
|
var w = on(t) || "Unknown";
|
|
@@ -17960,20 +17960,20 @@ Check the render method of \`` + l + "`.");
|
|
|
17960
17960
|
}
|
|
17961
17961
|
if (typeof t.getDerivedStateFromProps == "function") {
|
|
17962
17962
|
var E = on(t) || "Unknown";
|
|
17963
|
-
|
|
17963
|
+
iw[E] || (g("%s: Function components do not support getDerivedStateFromProps.", E), iw[E] = !0);
|
|
17964
17964
|
}
|
|
17965
17965
|
if (typeof t.contextType == "object" && t.contextType !== null) {
|
|
17966
17966
|
var T = on(t) || "Unknown";
|
|
17967
|
-
|
|
17967
|
+
aw[T] || (g("%s: Function components do not support contextType.", T), aw[T] = !0);
|
|
17968
17968
|
}
|
|
17969
17969
|
}
|
|
17970
17970
|
}
|
|
17971
|
-
var
|
|
17971
|
+
var dw = {
|
|
17972
17972
|
dehydrated: null,
|
|
17973
17973
|
treeContext: null,
|
|
17974
17974
|
retryLane: _t
|
|
17975
17975
|
};
|
|
17976
|
-
function
|
|
17976
|
+
function pw(e) {
|
|
17977
17977
|
return {
|
|
17978
17978
|
baseLanes: e,
|
|
17979
17979
|
cachePool: yP(),
|
|
@@ -18014,9 +18014,9 @@ Check the render method of \`` + l + "`.");
|
|
|
18014
18014
|
var L = l.children, I = l.fallback;
|
|
18015
18015
|
if (y) {
|
|
18016
18016
|
var ne = PP(t, L, I, o), J = t.child;
|
|
18017
|
-
return J.memoizedState =
|
|
18017
|
+
return J.memoizedState = pw(o), t.memoizedState = dw, ne;
|
|
18018
18018
|
} else
|
|
18019
|
-
return
|
|
18019
|
+
return fw(t, L);
|
|
18020
18020
|
} else {
|
|
18021
18021
|
var de = e.memoizedState;
|
|
18022
18022
|
if (de !== null) {
|
|
@@ -18026,18 +18026,18 @@ Check the render method of \`` + l + "`.");
|
|
|
18026
18026
|
}
|
|
18027
18027
|
if (y) {
|
|
18028
18028
|
var Ce = l.fallback, et = l.children, Ct = RP(e, t, et, Ce, o), Pt = t.child, ln = e.child.memoizedState;
|
|
18029
|
-
return Pt.memoizedState = ln === null ?
|
|
18029
|
+
return Pt.memoizedState = ln === null ? pw(o) : FP(ln, o), Pt.childLanes = NP(e, o), t.memoizedState = dw, Ct;
|
|
18030
18030
|
} else {
|
|
18031
18031
|
var rn = l.children, se = $P(e, t, rn, o);
|
|
18032
18032
|
return t.memoizedState = null, se;
|
|
18033
18033
|
}
|
|
18034
18034
|
}
|
|
18035
18035
|
}
|
|
18036
|
-
function
|
|
18036
|
+
function fw(e, t, o) {
|
|
18037
18037
|
var l = e.mode, p = {
|
|
18038
18038
|
mode: "visible",
|
|
18039
18039
|
children: t
|
|
18040
|
-
}, y =
|
|
18040
|
+
}, y = hw(p, l);
|
|
18041
18041
|
return y.return = e, e.child = y, y;
|
|
18042
18042
|
}
|
|
18043
18043
|
function PP(e, t, o, l) {
|
|
@@ -18045,9 +18045,9 @@ Check the render method of \`` + l + "`.");
|
|
|
18045
18045
|
mode: "hidden",
|
|
18046
18046
|
children: t
|
|
18047
18047
|
}, E, T;
|
|
18048
|
-
return (p & b) === h && y !== null ? (E = y, E.childLanes = we, E.pendingProps = w, e.mode & x && (E.actualDuration = 0, E.actualStartTime = -1, E.selfBaseDuration = 0, E.treeBaseDuration = 0), T = Kd(o, p, l, null)) : (E =
|
|
18048
|
+
return (p & b) === h && y !== null ? (E = y, E.childLanes = we, E.pendingProps = w, e.mode & x && (E.actualDuration = 0, E.actualStartTime = -1, E.selfBaseDuration = 0, E.treeBaseDuration = 0), T = Kd(o, p, l, null)) : (E = hw(w, p), T = Kd(o, p, l, null)), E.return = e, T.return = e, E.sibling = T, e.child = E, T;
|
|
18049
18049
|
}
|
|
18050
|
-
function
|
|
18050
|
+
function hw(e, t, o) {
|
|
18051
18051
|
return zC(e, t, we, null);
|
|
18052
18052
|
}
|
|
18053
18053
|
function Ux(e, t) {
|
|
@@ -18089,14 +18089,14 @@ Check the render method of \`` + l + "`.");
|
|
|
18089
18089
|
}
|
|
18090
18090
|
function Yb(e, t, o, l) {
|
|
18091
18091
|
l !== null && Kk(l), Xh(t, e.child, null, o);
|
|
18092
|
-
var p = t.pendingProps, y = p.children, w =
|
|
18092
|
+
var p = t.pendingProps, y = p.children, w = fw(t, y);
|
|
18093
18093
|
return w.flags |= Gn, t.memoizedState = null, w;
|
|
18094
18094
|
}
|
|
18095
18095
|
function LP(e, t, o, l, p) {
|
|
18096
18096
|
var y = t.mode, w = {
|
|
18097
18097
|
mode: "visible",
|
|
18098
18098
|
children: o
|
|
18099
|
-
}, E =
|
|
18099
|
+
}, E = hw(w, y), T = Kd(l, y, p, null);
|
|
18100
18100
|
return T.flags |= Gn, E.return = t, T.return = t, E.sibling = T, t.child = E, (t.mode & b) !== h && Xh(t, e.child, null, p), T;
|
|
18101
18101
|
}
|
|
18102
18102
|
function OP(e, t, o) {
|
|
@@ -18106,13 +18106,13 @@ Check the render method of \`` + l + "`.");
|
|
|
18106
18106
|
if (o)
|
|
18107
18107
|
if (t.flags & vr) {
|
|
18108
18108
|
t.flags &= ~vr;
|
|
18109
|
-
var E =
|
|
18109
|
+
var E = ew(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));
|
|
18110
18110
|
return Yb(e, t, w, E);
|
|
18111
18111
|
} else {
|
|
18112
18112
|
if (t.memoizedState !== null)
|
|
18113
18113
|
return t.child = e.child, t.flags |= Ft, null;
|
|
18114
18114
|
var T = l.children, L = l.fallback, I = LP(e, t, T, L, w), ne = t.child;
|
|
18115
|
-
return ne.memoizedState =
|
|
18115
|
+
return ne.memoizedState = pw(w), t.memoizedState = dw, I;
|
|
18116
18116
|
}
|
|
18117
18117
|
else {
|
|
18118
18118
|
if (x3(), (t.mode & b) === h)
|
|
@@ -18133,7 +18133,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18133
18133
|
}
|
|
18134
18134
|
var et;
|
|
18135
18135
|
de ? et = new Error(de) : et = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
|
|
18136
|
-
var Ct =
|
|
18136
|
+
var Ct = ew(et, J, ge);
|
|
18137
18137
|
return Yb(e, t, w, Ct);
|
|
18138
18138
|
}
|
|
18139
18139
|
var Pt = Ri(w, e.childLanes);
|
|
@@ -18147,8 +18147,8 @@ Check the render method of \`` + l + "`.");
|
|
|
18147
18147
|
Eo(e, rn), Ta(ln, e, rn, se);
|
|
18148
18148
|
}
|
|
18149
18149
|
}
|
|
18150
|
-
|
|
18151
|
-
var xe =
|
|
18150
|
+
Lw();
|
|
18151
|
+
var xe = ew(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));
|
|
18152
18152
|
return Yb(e, t, w, xe);
|
|
18153
18153
|
} else if (dS(p)) {
|
|
18154
18154
|
t.flags |= Ft, t.child = e.child;
|
|
@@ -18156,7 +18156,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18156
18156
|
return UN(p, le), null;
|
|
18157
18157
|
} else {
|
|
18158
18158
|
_3(t, p, y.treeContext);
|
|
18159
|
-
var Ie = l.children, pt =
|
|
18159
|
+
var Ie = l.children, pt = fw(t, Ie);
|
|
18160
18160
|
return pt.flags |= _i, pt;
|
|
18161
18161
|
}
|
|
18162
18162
|
}
|
|
@@ -18195,8 +18195,8 @@ Check the render method of \`` + l + "`.");
|
|
|
18195
18195
|
return o;
|
|
18196
18196
|
}
|
|
18197
18197
|
function MP(e) {
|
|
18198
|
-
if (e !== void 0 && e !== "forwards" && e !== "backwards" && e !== "together" && !
|
|
18199
|
-
if (
|
|
18198
|
+
if (e !== void 0 && e !== "forwards" && e !== "backwards" && e !== "together" && !sw[e])
|
|
18199
|
+
if (sw[e] = !0, typeof e == "string")
|
|
18200
18200
|
switch (e.toLowerCase()) {
|
|
18201
18201
|
case "together":
|
|
18202
18202
|
case "forwards":
|
|
@@ -18249,7 +18249,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18249
18249
|
g('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?', t);
|
|
18250
18250
|
}
|
|
18251
18251
|
}
|
|
18252
|
-
function
|
|
18252
|
+
function mw(e, t, o, l, p) {
|
|
18253
18253
|
var y = e.memoizedState;
|
|
18254
18254
|
y === null ? e.memoizedState = {
|
|
18255
18255
|
isBackwards: t,
|
|
@@ -18276,7 +18276,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18276
18276
|
switch (p) {
|
|
18277
18277
|
case "forwards": {
|
|
18278
18278
|
var I = jP(t.child), ne;
|
|
18279
|
-
I === null ? (ne = t.child, t.child = null) : (ne = I.sibling, I.sibling = null),
|
|
18279
|
+
I === null ? (ne = t.child, t.child = null) : (ne = I.sibling, I.sibling = null), mw(
|
|
18280
18280
|
t,
|
|
18281
18281
|
!1,
|
|
18282
18282
|
// isBackwards
|
|
@@ -18297,7 +18297,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18297
18297
|
var Ce = de.sibling;
|
|
18298
18298
|
de.sibling = J, J = de, de = Ce;
|
|
18299
18299
|
}
|
|
18300
|
-
|
|
18300
|
+
mw(
|
|
18301
18301
|
t,
|
|
18302
18302
|
!0,
|
|
18303
18303
|
// isBackwards
|
|
@@ -18309,7 +18309,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18309
18309
|
break;
|
|
18310
18310
|
}
|
|
18311
18311
|
case "together": {
|
|
18312
|
-
|
|
18312
|
+
mw(
|
|
18313
18313
|
t,
|
|
18314
18314
|
!1,
|
|
18315
18315
|
// isBackwards
|
|
@@ -18390,7 +18390,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18390
18390
|
return y === null ? (l.deletions = [e], l.flags |= wn) : y.push(e), o.flags |= Gn, o;
|
|
18391
18391
|
}
|
|
18392
18392
|
}
|
|
18393
|
-
function
|
|
18393
|
+
function gw(e, t) {
|
|
18394
18394
|
var o = e.lanes;
|
|
18395
18395
|
return !!Ri(o, t);
|
|
18396
18396
|
}
|
|
@@ -18460,14 +18460,14 @@ Check the render method of \`` + l + "`.");
|
|
|
18460
18460
|
}
|
|
18461
18461
|
function Kx(e, t, o) {
|
|
18462
18462
|
if (t._debugNeedsRemount && e !== null)
|
|
18463
|
-
return VP(e, t,
|
|
18463
|
+
return VP(e, t, Vw(t.type, t.key, t.pendingProps, t._debugOwner || null, t.mode, t.lanes));
|
|
18464
18464
|
if (e !== null) {
|
|
18465
18465
|
var l = e.memoizedProps, p = t.pendingProps;
|
|
18466
18466
|
if (l !== p || nb() || // Force a re-render if the implementation changed due to hot reload:
|
|
18467
18467
|
t.type !== e.type)
|
|
18468
18468
|
hl = !0;
|
|
18469
18469
|
else {
|
|
18470
|
-
var y =
|
|
18470
|
+
var y = gw(e, o);
|
|
18471
18471
|
if (!y && // If this is the second pass of an error or suspense boundary, there
|
|
18472
18472
|
// may not be work scheduled on `current`, so we check for this flag.
|
|
18473
18473
|
(t.flags & Ft) === Et)
|
|
@@ -18487,7 +18487,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18487
18487
|
}
|
|
18488
18488
|
case C: {
|
|
18489
18489
|
var L = t.type, I = t.pendingProps, ne = t.elementType === L ? I : fl(L, I);
|
|
18490
|
-
return
|
|
18490
|
+
return lw(e, t, L, ne, o);
|
|
18491
18491
|
}
|
|
18492
18492
|
case _: {
|
|
18493
18493
|
var J = t.type, de = t.pendingProps, ge = t.elementType === J ? de : fl(J, de);
|
|
@@ -18552,7 +18552,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18552
18552
|
function Gx(e) {
|
|
18553
18553
|
e.flags |= Pa, e.flags |= Yl;
|
|
18554
18554
|
}
|
|
18555
|
-
var Qx,
|
|
18555
|
+
var Qx, vw, Zx, Xx;
|
|
18556
18556
|
Qx = function(e, t, o, l) {
|
|
18557
18557
|
for (var p = t.child; p !== null; ) {
|
|
18558
18558
|
if (p.tag === B || p.tag === M)
|
|
@@ -18570,7 +18570,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18570
18570
|
}
|
|
18571
18571
|
p.sibling.return = p.return, p = p.sibling;
|
|
18572
18572
|
}
|
|
18573
|
-
},
|
|
18573
|
+
}, vw = function(e, t) {
|
|
18574
18574
|
}, Zx = function(e, t, o, l, p) {
|
|
18575
18575
|
var y = e.memoizedProps;
|
|
18576
18576
|
if (y !== l) {
|
|
@@ -18679,7 +18679,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18679
18679
|
(t.flags & vr) !== Et) && (t.flags |= Ei, AS());
|
|
18680
18680
|
}
|
|
18681
18681
|
}
|
|
18682
|
-
return
|
|
18682
|
+
return vw(e, t), ui(t), null;
|
|
18683
18683
|
}
|
|
18684
18684
|
case B: {
|
|
18685
18685
|
p1(t);
|
|
@@ -18731,7 +18731,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18731
18731
|
var xe = t.child;
|
|
18732
18732
|
if (xe.flags |= ba, (t.mode & b) !== h) {
|
|
18733
18733
|
var le = e === null && (t.memoizedProps.unstable_avoidThisFallback !== !0 || !K);
|
|
18734
|
-
le || f1(dl.current, KS) ? G$() :
|
|
18734
|
+
le || f1(dl.current, KS) ? G$() : Lw();
|
|
18735
18735
|
}
|
|
18736
18736
|
}
|
|
18737
18737
|
var Ie = t.updateQueue;
|
|
@@ -18742,7 +18742,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18742
18742
|
return null;
|
|
18743
18743
|
}
|
|
18744
18744
|
case R:
|
|
18745
|
-
return tm(t),
|
|
18745
|
+
return tm(t), vw(e, t), e === null && d3(t.stateNode.containerInfo), ui(t), null;
|
|
18746
18746
|
case Q:
|
|
18747
18747
|
var st = t.type._context;
|
|
18748
18748
|
return r1(st, t), ui(t), null;
|
|
@@ -18803,7 +18803,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18803
18803
|
break;
|
|
18804
18804
|
case Ne:
|
|
18805
18805
|
case Se: {
|
|
18806
|
-
|
|
18806
|
+
Rw(t);
|
|
18807
18807
|
var Dc = t.memoizedState, gm = Dc !== null;
|
|
18808
18808
|
if (e !== null) {
|
|
18809
18809
|
var wv = e.memoizedState, gu = wv !== null;
|
|
@@ -18854,7 +18854,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18854
18854
|
return r1(T, t), null;
|
|
18855
18855
|
case Ne:
|
|
18856
18856
|
case Se:
|
|
18857
|
-
return
|
|
18857
|
+
return Rw(t), null;
|
|
18858
18858
|
case Ue:
|
|
18859
18859
|
return null;
|
|
18860
18860
|
default:
|
|
@@ -18891,7 +18891,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18891
18891
|
break;
|
|
18892
18892
|
case Ne:
|
|
18893
18893
|
case Se:
|
|
18894
|
-
|
|
18894
|
+
Rw(t);
|
|
18895
18895
|
break;
|
|
18896
18896
|
}
|
|
18897
18897
|
}
|
|
@@ -18920,7 +18920,7 @@ Check the render method of \`` + l + "`.");
|
|
|
18920
18920
|
mr(e, t, o);
|
|
18921
18921
|
}
|
|
18922
18922
|
}
|
|
18923
|
-
function
|
|
18923
|
+
function yw(e, t, o) {
|
|
18924
18924
|
try {
|
|
18925
18925
|
XP(e, o);
|
|
18926
18926
|
} catch (l) {
|
|
@@ -19360,20 +19360,20 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19360
19360
|
var o = t.stateNode;
|
|
19361
19361
|
t.flags & dn && (cS(o), t.flags &= ~dn);
|
|
19362
19362
|
var l = lC(e);
|
|
19363
|
-
|
|
19363
|
+
kw(e, l, o);
|
|
19364
19364
|
break;
|
|
19365
19365
|
}
|
|
19366
19366
|
case $:
|
|
19367
19367
|
case R: {
|
|
19368
19368
|
var p = t.stateNode.containerInfo, y = lC(e);
|
|
19369
|
-
|
|
19369
|
+
bw(e, y, p);
|
|
19370
19370
|
break;
|
|
19371
19371
|
}
|
|
19372
19372
|
default:
|
|
19373
19373
|
throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.");
|
|
19374
19374
|
}
|
|
19375
19375
|
}
|
|
19376
|
-
function
|
|
19376
|
+
function bw(e, t, o) {
|
|
19377
19377
|
var l = e.tag, p = l === B || l === M;
|
|
19378
19378
|
if (p) {
|
|
19379
19379
|
var y = e.stateNode;
|
|
@@ -19381,13 +19381,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19381
19381
|
} else if (l !== R) {
|
|
19382
19382
|
var w = e.child;
|
|
19383
19383
|
if (w !== null) {
|
|
19384
|
-
|
|
19384
|
+
bw(w, t, o);
|
|
19385
19385
|
for (var E = w.sibling; E !== null; )
|
|
19386
|
-
|
|
19386
|
+
bw(E, t, o), E = E.sibling;
|
|
19387
19387
|
}
|
|
19388
19388
|
}
|
|
19389
19389
|
}
|
|
19390
|
-
function
|
|
19390
|
+
function kw(e, t, o) {
|
|
19391
19391
|
var l = e.tag, p = l === B || l === M;
|
|
19392
19392
|
if (p) {
|
|
19393
19393
|
var y = e.stateNode;
|
|
@@ -19395,9 +19395,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19395
19395
|
} else if (l !== R) {
|
|
19396
19396
|
var w = e.child;
|
|
19397
19397
|
if (w !== null) {
|
|
19398
|
-
|
|
19398
|
+
kw(w, t, o);
|
|
19399
19399
|
for (var E = w.sibling; E !== null; )
|
|
19400
|
-
|
|
19400
|
+
kw(E, t, o), E = E.sibling;
|
|
19401
19401
|
}
|
|
19402
19402
|
}
|
|
19403
19403
|
}
|
|
@@ -19478,7 +19478,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19478
19478
|
if (!ci) {
|
|
19479
19479
|
dm(o, t);
|
|
19480
19480
|
var ge = o.stateNode;
|
|
19481
|
-
typeof ge.componentWillUnmount == "function" &&
|
|
19481
|
+
typeof ge.componentWillUnmount == "function" && yw(o, t, ge);
|
|
19482
19482
|
}
|
|
19483
19483
|
qd(e, t, o);
|
|
19484
19484
|
return;
|
|
@@ -19720,7 +19720,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19720
19720
|
if (p.tag === Ne && l) {
|
|
19721
19721
|
var w = p.memoizedState !== null, E = w || Gb;
|
|
19722
19722
|
if (E) {
|
|
19723
|
-
|
|
19723
|
+
ww(e, t, o);
|
|
19724
19724
|
continue;
|
|
19725
19725
|
} else {
|
|
19726
19726
|
var T = p.alternate, L = T !== null && T.memoizedState !== null, I = L || ci, ne = Gb, J = ci;
|
|
@@ -19732,14 +19732,14 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19732
19732
|
t,
|
|
19733
19733
|
o
|
|
19734
19734
|
), de = de.sibling;
|
|
19735
|
-
bt = p, Gb = ne, ci = J,
|
|
19735
|
+
bt = p, Gb = ne, ci = J, ww(e, t, o);
|
|
19736
19736
|
continue;
|
|
19737
19737
|
}
|
|
19738
19738
|
}
|
|
19739
|
-
(p.subtreeFlags & na) !== Et && y !== null ? (y.return = p, bt = y) :
|
|
19739
|
+
(p.subtreeFlags & na) !== Et && y !== null ? (y.return = p, bt = y) : ww(e, t, o);
|
|
19740
19740
|
}
|
|
19741
19741
|
}
|
|
19742
|
-
function
|
|
19742
|
+
function ww(e, t, o) {
|
|
19743
19743
|
for (; bt !== null; ) {
|
|
19744
19744
|
var l = bt;
|
|
19745
19745
|
if ((l.flags & na) !== Et) {
|
|
@@ -19785,7 +19785,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19785
19785
|
case _: {
|
|
19786
19786
|
dm(t, t.return);
|
|
19787
19787
|
var l = t.stateNode;
|
|
19788
|
-
typeof l.componentWillUnmount == "function" &&
|
|
19788
|
+
typeof l.componentWillUnmount == "function" && yw(t, t.return, l);
|
|
19789
19789
|
break;
|
|
19790
19790
|
}
|
|
19791
19791
|
case B: {
|
|
@@ -20041,7 +20041,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20041
20041
|
}
|
|
20042
20042
|
case _: {
|
|
20043
20043
|
var t = e.stateNode;
|
|
20044
|
-
typeof t.componentWillUnmount == "function" &&
|
|
20044
|
+
typeof t.componentWillUnmount == "function" && yw(e, e.return, t);
|
|
20045
20045
|
break;
|
|
20046
20046
|
}
|
|
20047
20047
|
}
|
|
@@ -20087,7 +20087,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20087
20087
|
return !e && L$.current !== null && g("The current testing environment is not configured to support act(...)"), e;
|
|
20088
20088
|
}
|
|
20089
20089
|
}
|
|
20090
|
-
var B$ = Math.ceil,
|
|
20090
|
+
var B$ = Math.ceil, Dw = s.ReactCurrentDispatcher, Sw = s.ReactCurrentOwner, pi = s.ReactCurrentBatchConfig, yl = s.ReactCurrentActQueue, Ca = (
|
|
20091
20091
|
/* */
|
|
20092
20092
|
0
|
|
20093
20093
|
), gC = (
|
|
@@ -20099,14 +20099,14 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20099
20099
|
), Ns = (
|
|
20100
20100
|
/* */
|
|
20101
20101
|
4
|
|
20102
|
-
), yc = 0, lv = 1, hf = 2, Zb = 3, uv = 4, vC = 5,
|
|
20102
|
+
), yc = 0, lv = 1, hf = 2, Zb = 3, uv = 4, vC = 5, xw = 6, gn = Ca, to = null, Lr = null, Ea = we, mu = we, Cw = Rd(we), _a = yc, cv = null, Xb = we, dv = we, Jb = we, pv = null, To = null, Ew = 0, yC = 500, bC = 1 / 0, I$ = 500, bc = null;
|
|
20103
20103
|
function fv() {
|
|
20104
20104
|
bC = fr() + I$;
|
|
20105
20105
|
}
|
|
20106
20106
|
function kC() {
|
|
20107
20107
|
return bC;
|
|
20108
20108
|
}
|
|
20109
|
-
var e0 = !1,
|
|
20109
|
+
var e0 = !1, _w = null, pm = null, mf = !1, Wd = null, hv = we, Tw = [], Fw = null, j$ = 50, mv = 0, Aw = null, Nw = !1, t0 = !1, M$ = 50, fm = 0, n0 = null, r0 = cr, a0 = we, wC = !1;
|
|
20110
20110
|
function i0() {
|
|
20111
20111
|
return to;
|
|
20112
20112
|
}
|
|
@@ -20138,7 +20138,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20138
20138
|
return (t & b) === h ? Be : $i();
|
|
20139
20139
|
}
|
|
20140
20140
|
function Ta(e, t, o, l) {
|
|
20141
|
-
dR(), wC && g("useInsertionEffect must not schedule updates."),
|
|
20141
|
+
dR(), wC && g("useInsertionEffect must not schedule updates."), Nw && (t0 = !0), tc(e, o, l), (gn & fi) !== we && e === to ? hR(t) : (Ia && ig(e, t, o), mR(t), e === to && ((gn & fi) === Ca && (dv = Kt(dv, o)), _a === uv && Yd(e, Ea)), Fo(e, l), o === Be && gn === Ca && (t.mode & b) === h && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
|
|
20142
20142
|
!yl.isBatchingLegacy && (fv(), wS()));
|
|
20143
20143
|
}
|
|
20144
20144
|
function U$(e, t, o) {
|
|
@@ -20164,7 +20164,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20164
20164
|
if (y === p && // Special case related to `act`. If the currently scheduled task is a
|
|
20165
20165
|
// Scheduler task, rather than an `act` task, cancel it and re-scheduled
|
|
20166
20166
|
// on the `act` queue.
|
|
20167
|
-
!(yl.current !== null && o !==
|
|
20167
|
+
!(yl.current !== null && o !== Iw)) {
|
|
20168
20168
|
o == null && y !== Be && g("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");
|
|
20169
20169
|
return;
|
|
20170
20170
|
}
|
|
@@ -20193,7 +20193,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20193
20193
|
E = sr;
|
|
20194
20194
|
break;
|
|
20195
20195
|
}
|
|
20196
|
-
w =
|
|
20196
|
+
w = jw(E, DC.bind(null, e));
|
|
20197
20197
|
}
|
|
20198
20198
|
e.callbackPriority = p, e.callbackNode = w;
|
|
20199
20199
|
}
|
|
@@ -20210,20 +20210,20 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20210
20210
|
if (w !== yc) {
|
|
20211
20211
|
if (w === hf) {
|
|
20212
20212
|
var E = eu(e);
|
|
20213
|
-
E !== we && (p = E, w =
|
|
20213
|
+
E !== we && (p = E, w = Pw(e, E));
|
|
20214
20214
|
}
|
|
20215
20215
|
if (w === lv) {
|
|
20216
20216
|
var T = cv;
|
|
20217
20217
|
throw gf(e, we), Yd(e, p), Fo(e, fr()), T;
|
|
20218
20218
|
}
|
|
20219
|
-
if (w ===
|
|
20219
|
+
if (w === xw)
|
|
20220
20220
|
Yd(e, p);
|
|
20221
20221
|
else {
|
|
20222
20222
|
var L = !zp(e, p), I = e.current.alternate;
|
|
20223
20223
|
if (L && !W$(I)) {
|
|
20224
20224
|
if (w = s0(e, p), w === hf) {
|
|
20225
20225
|
var ne = eu(e);
|
|
20226
|
-
ne !== we && (p = ne, w =
|
|
20226
|
+
ne !== we && (p = ne, w = Pw(e, ne));
|
|
20227
20227
|
}
|
|
20228
20228
|
if (w === lv) {
|
|
20229
20229
|
var J = cv;
|
|
@@ -20235,7 +20235,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20235
20235
|
}
|
|
20236
20236
|
return Fo(e, fr()), e.callbackNode === o ? DC.bind(null, e) : null;
|
|
20237
20237
|
}
|
|
20238
|
-
function
|
|
20238
|
+
function Pw(e, t) {
|
|
20239
20239
|
var o = pv;
|
|
20240
20240
|
if (Gr(e)) {
|
|
20241
20241
|
var l = gf(e, t);
|
|
@@ -20263,7 +20263,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20263
20263
|
case Zb: {
|
|
20264
20264
|
if (Yd(e, o), fy(o) && // do not delay if we're inside an act() scope
|
|
20265
20265
|
!IC()) {
|
|
20266
|
-
var l =
|
|
20266
|
+
var l = Ew + yC - fr();
|
|
20267
20267
|
if (l > 10) {
|
|
20268
20268
|
var p = Ju(e, we);
|
|
20269
20269
|
if (p !== we)
|
|
@@ -20348,13 +20348,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20348
20348
|
var o = s0(e, t);
|
|
20349
20349
|
if (e.tag !== Ld && o === hf) {
|
|
20350
20350
|
var l = eu(e);
|
|
20351
|
-
l !== we && (t = l, o =
|
|
20351
|
+
l !== we && (t = l, o = Pw(e, l));
|
|
20352
20352
|
}
|
|
20353
20353
|
if (o === lv) {
|
|
20354
20354
|
var p = cv;
|
|
20355
20355
|
throw gf(e, we), Yd(e, t), Fo(e, fr()), p;
|
|
20356
20356
|
}
|
|
20357
|
-
if (o ===
|
|
20357
|
+
if (o === xw)
|
|
20358
20358
|
throw new Error("Root did not complete. This is a bug in React.");
|
|
20359
20359
|
var y = e.current.alternate;
|
|
20360
20360
|
return e.finishedWork = y, e.finishedLanes = t, vf(e, To, bc), Fo(e, fr()), null;
|
|
@@ -20362,7 +20362,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20362
20362
|
function V$(e, t) {
|
|
20363
20363
|
t !== we && (yd(e, Kt(t, Be)), Fo(e, fr()), (gn & (fi | Ns)) === Ca && (fv(), Od()));
|
|
20364
20364
|
}
|
|
20365
|
-
function $
|
|
20365
|
+
function $w(e, t) {
|
|
20366
20366
|
var o = gn;
|
|
20367
20367
|
gn |= gC;
|
|
20368
20368
|
try {
|
|
@@ -20395,10 +20395,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20395
20395
|
return (gn & (fi | Ns)) !== Ca;
|
|
20396
20396
|
}
|
|
20397
20397
|
function o0(e, t) {
|
|
20398
|
-
Oi(
|
|
20398
|
+
Oi(Cw, mu, e), mu = Kt(mu, t);
|
|
20399
20399
|
}
|
|
20400
|
-
function
|
|
20401
|
-
mu =
|
|
20400
|
+
function Rw(e) {
|
|
20401
|
+
mu = Cw.current, Li(Cw, e);
|
|
20402
20402
|
}
|
|
20403
20403
|
function gf(e, t) {
|
|
20404
20404
|
e.finishedWork = null, e.finishedLanes = we;
|
|
@@ -20416,7 +20416,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20416
20416
|
do {
|
|
20417
20417
|
var o = Lr;
|
|
20418
20418
|
try {
|
|
20419
|
-
if (mb(), QS(), Bn(),
|
|
20419
|
+
if (mb(), QS(), Bn(), Sw.current = null, o === null || o.return === null) {
|
|
20420
20420
|
_a = lv, cv = t, Lr = null;
|
|
20421
20421
|
return;
|
|
20422
20422
|
}
|
|
@@ -20435,14 +20435,14 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20435
20435
|
} while (!0);
|
|
20436
20436
|
}
|
|
20437
20437
|
function _C() {
|
|
20438
|
-
var e =
|
|
20439
|
-
return
|
|
20438
|
+
var e = Dw.current;
|
|
20439
|
+
return Dw.current = jb, e === null ? jb : e;
|
|
20440
20440
|
}
|
|
20441
20441
|
function TC(e) {
|
|
20442
|
-
|
|
20442
|
+
Dw.current = e;
|
|
20443
20443
|
}
|
|
20444
20444
|
function K$() {
|
|
20445
|
-
|
|
20445
|
+
Ew = fr();
|
|
20446
20446
|
}
|
|
20447
20447
|
function gv(e) {
|
|
20448
20448
|
Xb = Kt(e, Xb);
|
|
@@ -20450,7 +20450,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20450
20450
|
function G$() {
|
|
20451
20451
|
_a === yc && (_a = Zb);
|
|
20452
20452
|
}
|
|
20453
|
-
function
|
|
20453
|
+
function Lw() {
|
|
20454
20454
|
(_a === yc || _a === Zb || _a === hf) && (_a = uv), to !== null && (Mp(Xb) || Mp(dv)) && Yd(to, Ea);
|
|
20455
20455
|
}
|
|
20456
20456
|
function Q$(e) {
|
|
@@ -20517,7 +20517,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20517
20517
|
var t = e.alternate;
|
|
20518
20518
|
kn(e);
|
|
20519
20519
|
var o;
|
|
20520
|
-
(e.mode & x) !== h ? (I1(e), o =
|
|
20520
|
+
(e.mode & x) !== h ? (I1(e), o = Ow(t, e, mu), qb(e, !0)) : o = Ow(t, e, mu), Bn(), e.memoizedProps = e.pendingProps, o === null ? AC(e) : Lr = o, Sw.current = null;
|
|
20521
20521
|
}
|
|
20522
20522
|
function AC(e) {
|
|
20523
20523
|
var t = e;
|
|
@@ -20545,7 +20545,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20545
20545
|
if (l !== null)
|
|
20546
20546
|
l.flags |= $a, l.subtreeFlags = Et, l.deletions = null;
|
|
20547
20547
|
else {
|
|
20548
|
-
_a =
|
|
20548
|
+
_a = xw, Lr = null;
|
|
20549
20549
|
return;
|
|
20550
20550
|
}
|
|
20551
20551
|
}
|
|
@@ -20580,7 +20580,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20580
20580
|
throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");
|
|
20581
20581
|
e.callbackNode = null, e.callbackPriority = _t;
|
|
20582
20582
|
var w = Kt(p.lanes, p.childLanes);
|
|
20583
|
-
ag(e, w), e === to && (to = null, Lr = null, Ea = we), ((p.subtreeFlags & Ti) !== Et || (p.flags & Ti) !== Et) && (mf || (mf = !0,
|
|
20583
|
+
ag(e, w), e === to && (to = null, Lr = null, Ea = we), ((p.subtreeFlags & Ti) !== Et || (p.flags & Ti) !== Et) && (mf || (mf = !0, Fw = o, jw(sr, function() {
|
|
20584
20584
|
return wc(), null;
|
|
20585
20585
|
})));
|
|
20586
20586
|
var E = (p.subtreeFlags & (Xs | ta | na | Ti)) !== Et, T = (p.flags & (Xs | ta | na | Ti)) !== Et;
|
|
@@ -20590,7 +20590,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20590
20590
|
var I = wo();
|
|
20591
20591
|
Kr(za);
|
|
20592
20592
|
var ne = gn;
|
|
20593
|
-
gn |= Ns,
|
|
20593
|
+
gn |= Ns, Sw.current = null, e$(e, p), wx(), h$(e, p, y), fN(e.containerInfo), e.current = p, sd(y), m$(p, e, y), nl(), $p(), gn = ne, Kr(I), pi.transition = L;
|
|
20594
20594
|
} else
|
|
20595
20595
|
e.current = p, wx();
|
|
20596
20596
|
var J = mf;
|
|
@@ -20604,10 +20604,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20604
20604
|
}
|
|
20605
20605
|
if (e0) {
|
|
20606
20606
|
e0 = !1;
|
|
20607
|
-
var Pt =
|
|
20608
|
-
throw
|
|
20607
|
+
var Pt = _w;
|
|
20608
|
+
throw _w = null, Pt;
|
|
20609
20609
|
}
|
|
20610
|
-
return Ri(hv, Be) && e.tag !== Ld && wc(), w = e.pendingLanes, Ri(w, Be) ? (oP(), e ===
|
|
20610
|
+
return Ri(hv, Be) && e.tag !== Ld && wc(), w = e.pendingLanes, Ri(w, Be) ? (oP(), e === Aw ? mv++ : (mv = 0, Aw = e)) : mv = 0, Od(), id(), null;
|
|
20611
20611
|
}
|
|
20612
20612
|
function wc() {
|
|
20613
20613
|
if (Wd !== null) {
|
|
@@ -20621,30 +20621,30 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20621
20621
|
return !1;
|
|
20622
20622
|
}
|
|
20623
20623
|
function nR(e) {
|
|
20624
|
-
|
|
20624
|
+
Tw.push(e), mf || (mf = !0, jw(sr, function() {
|
|
20625
20625
|
return wc(), null;
|
|
20626
20626
|
}));
|
|
20627
20627
|
}
|
|
20628
20628
|
function rR() {
|
|
20629
20629
|
if (Wd === null)
|
|
20630
20630
|
return !1;
|
|
20631
|
-
var e =
|
|
20632
|
-
|
|
20631
|
+
var e = Fw;
|
|
20632
|
+
Fw = null;
|
|
20633
20633
|
var t = Wd, o = hv;
|
|
20634
20634
|
if (Wd = null, hv = we, (gn & (fi | Ns)) !== Ca)
|
|
20635
20635
|
throw new Error("Cannot flush passive effects while already rendering.");
|
|
20636
|
-
|
|
20636
|
+
Nw = !0, t0 = !1, Gu(o);
|
|
20637
20637
|
var l = gn;
|
|
20638
20638
|
gn |= Ns, D$(t.current), y$(t, t.current, o, e);
|
|
20639
20639
|
{
|
|
20640
|
-
var p =
|
|
20641
|
-
|
|
20640
|
+
var p = Tw;
|
|
20641
|
+
Tw = [];
|
|
20642
20642
|
for (var y = 0; y < p.length; y++) {
|
|
20643
20643
|
var w = p[y];
|
|
20644
20644
|
a$(t, w);
|
|
20645
20645
|
}
|
|
20646
20646
|
}
|
|
20647
|
-
ld(), RC(t.current, !0), gn = l, Od(), t0 ? t === n0 ? fm++ : (fm = 0, n0 = t) : fm = 0,
|
|
20647
|
+
ld(), RC(t.current, !0), gn = l, Od(), t0 ? t === n0 ? fm++ : (fm = 0, n0 = t) : fm = 0, Nw = !1, t0 = !1, Ni(t);
|
|
20648
20648
|
{
|
|
20649
20649
|
var E = t.current.stateNode;
|
|
20650
20650
|
E.effectDuration = 0, E.passiveEffectDuration = 0;
|
|
@@ -20658,7 +20658,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20658
20658
|
pm === null ? pm = /* @__PURE__ */ new Set([e]) : pm.add(e);
|
|
20659
20659
|
}
|
|
20660
20660
|
function iR(e) {
|
|
20661
|
-
e0 || (e0 = !0,
|
|
20661
|
+
e0 || (e0 = !0, _w = e);
|
|
20662
20662
|
}
|
|
20663
20663
|
var oR = iR;
|
|
20664
20664
|
function PC(e, t, o) {
|
|
@@ -20678,7 +20678,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20678
20678
|
} else if (l.tag === _) {
|
|
20679
20679
|
var p = l.type, y = l.stateNode;
|
|
20680
20680
|
if (typeof p.getDerivedStateFromError == "function" || typeof y.componentDidCatch == "function" && !NC(y)) {
|
|
20681
|
-
var w = pf(o, e), E =
|
|
20681
|
+
var w = pf(o, e), E = nw(l, w, Be), T = Id(l, E, Be), L = no();
|
|
20682
20682
|
T !== null && (tc(T, Be, L), Fo(T, L));
|
|
20683
20683
|
return;
|
|
20684
20684
|
}
|
|
@@ -20695,7 +20695,7 @@ Error message:
|
|
|
20695
20695
|
var l = e.pingCache;
|
|
20696
20696
|
l !== null && l.delete(t);
|
|
20697
20697
|
var p = no();
|
|
20698
|
-
rg(e, o), gR(e), to === e && ec(Ea, o) && (_a === uv || _a === Zb && fy(Ea) && fr() -
|
|
20698
|
+
rg(e, o), gR(e), to === e && ec(Ea, o) && (_a === uv || _a === Zb && fy(Ea) && fr() - Ew < yC ? gf(e, we) : Jb = Kt(Jb, o)), Fo(e, p);
|
|
20699
20699
|
}
|
|
20700
20700
|
function $C(e, t) {
|
|
20701
20701
|
t === _t && (t = z$(e));
|
|
@@ -20727,7 +20727,7 @@ Error message:
|
|
|
20727
20727
|
}
|
|
20728
20728
|
function dR() {
|
|
20729
20729
|
if (mv > j$)
|
|
20730
|
-
throw mv = 0,
|
|
20730
|
+
throw mv = 0, Aw = null, new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");
|
|
20731
20731
|
fm > M$ && (fm = 0, n0 = null, g("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."));
|
|
20732
20732
|
}
|
|
20733
20733
|
function pR() {
|
|
@@ -20765,10 +20765,10 @@ Error message:
|
|
|
20765
20765
|
}
|
|
20766
20766
|
}
|
|
20767
20767
|
}
|
|
20768
|
-
var
|
|
20768
|
+
var Ow;
|
|
20769
20769
|
{
|
|
20770
20770
|
var fR = null;
|
|
20771
|
-
|
|
20771
|
+
Ow = function(e, t, o) {
|
|
20772
20772
|
var l = UC(fR, t);
|
|
20773
20773
|
try {
|
|
20774
20774
|
return Kx(e, t, o);
|
|
@@ -20783,8 +20783,8 @@ Error message:
|
|
|
20783
20783
|
}
|
|
20784
20784
|
};
|
|
20785
20785
|
}
|
|
20786
|
-
var OC = !1,
|
|
20787
|
-
|
|
20786
|
+
var OC = !1, Bw;
|
|
20787
|
+
Bw = /* @__PURE__ */ new Set();
|
|
20788
20788
|
function hR(e) {
|
|
20789
20789
|
if (wr && !rP())
|
|
20790
20790
|
switch (e.tag) {
|
|
@@ -20792,8 +20792,8 @@ Error message:
|
|
|
20792
20792
|
case Y:
|
|
20793
20793
|
case oe: {
|
|
20794
20794
|
var t = Lr && It(Lr) || "Unknown", o = t;
|
|
20795
|
-
if (!
|
|
20796
|
-
|
|
20795
|
+
if (!Bw.has(o)) {
|
|
20796
|
+
Bw.add(o);
|
|
20797
20797
|
var l = It(e) || "Unknown";
|
|
20798
20798
|
g("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render", l, t, t);
|
|
20799
20799
|
}
|
|
@@ -20813,15 +20813,15 @@ Error message:
|
|
|
20813
20813
|
});
|
|
20814
20814
|
}
|
|
20815
20815
|
}
|
|
20816
|
-
var
|
|
20817
|
-
function
|
|
20816
|
+
var Iw = {};
|
|
20817
|
+
function jw(e, t) {
|
|
20818
20818
|
{
|
|
20819
20819
|
var o = yl.current;
|
|
20820
|
-
return o !== null ? (o.push(t),
|
|
20820
|
+
return o !== null ? (o.push(t), Iw) : td(e, t);
|
|
20821
20821
|
}
|
|
20822
20822
|
}
|
|
20823
20823
|
function BC(e) {
|
|
20824
|
-
if (e !==
|
|
20824
|
+
if (e !== Iw)
|
|
20825
20825
|
return Pp(e);
|
|
20826
20826
|
}
|
|
20827
20827
|
function IC() {
|
|
@@ -20879,10 +20879,10 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
20879
20879
|
return t === void 0 ? e : t.current;
|
|
20880
20880
|
}
|
|
20881
20881
|
}
|
|
20882
|
-
function
|
|
20882
|
+
function Mw(e) {
|
|
20883
20883
|
return mm(e);
|
|
20884
20884
|
}
|
|
20885
|
-
function
|
|
20885
|
+
function zw(e) {
|
|
20886
20886
|
{
|
|
20887
20887
|
if (Ps === null)
|
|
20888
20888
|
return e;
|
|
@@ -20950,7 +20950,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
20950
20950
|
return;
|
|
20951
20951
|
var o = t.staleFamilies, l = t.updatedFamilies;
|
|
20952
20952
|
wc(), kc(function() {
|
|
20953
|
-
|
|
20953
|
+
Uw(e.current, l, o);
|
|
20954
20954
|
});
|
|
20955
20955
|
}
|
|
20956
20956
|
}, bR = function(e, t) {
|
|
@@ -20962,7 +20962,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
20962
20962
|
});
|
|
20963
20963
|
}
|
|
20964
20964
|
};
|
|
20965
|
-
function
|
|
20965
|
+
function Uw(e, t, o) {
|
|
20966
20966
|
{
|
|
20967
20967
|
var l = e.alternate, p = e.child, y = e.sibling, w = e.tag, E = e.type, T = null;
|
|
20968
20968
|
switch (w) {
|
|
@@ -20986,7 +20986,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
20986
20986
|
var J = Eo(e, Be);
|
|
20987
20987
|
J !== null && Ta(J, e, Be, cr);
|
|
20988
20988
|
}
|
|
20989
|
-
p !== null && !I &&
|
|
20989
|
+
p !== null && !I && Uw(p, t, o), y !== null && Uw(y, t, o);
|
|
20990
20990
|
}
|
|
20991
20991
|
}
|
|
20992
20992
|
var kR = function(e, t) {
|
|
@@ -20994,10 +20994,10 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
20994
20994
|
var o = /* @__PURE__ */ new Set(), l = new Set(t.map(function(p) {
|
|
20995
20995
|
return p.current;
|
|
20996
20996
|
}));
|
|
20997
|
-
return
|
|
20997
|
+
return Hw(e.current, l, o), o;
|
|
20998
20998
|
}
|
|
20999
20999
|
};
|
|
21000
|
-
function
|
|
21000
|
+
function Hw(e, t, o) {
|
|
21001
21001
|
{
|
|
21002
21002
|
var l = e.child, p = e.sibling, y = e.tag, w = e.type, E = null;
|
|
21003
21003
|
switch (y) {
|
|
@@ -21011,7 +21011,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21011
21011
|
break;
|
|
21012
21012
|
}
|
|
21013
21013
|
var T = !1;
|
|
21014
|
-
E !== null && t.has(E) && (T = !0), T ? wR(e, o) : l !== null &&
|
|
21014
|
+
E !== null && t.has(E) && (T = !0), T ? wR(e, o) : l !== null && Hw(l, t, o), p !== null && Hw(p, t, o);
|
|
21015
21015
|
}
|
|
21016
21016
|
}
|
|
21017
21017
|
function wR(e, t) {
|
|
@@ -21056,31 +21056,31 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21056
21056
|
}
|
|
21057
21057
|
return !1;
|
|
21058
21058
|
}
|
|
21059
|
-
var
|
|
21059
|
+
var qw;
|
|
21060
21060
|
{
|
|
21061
|
-
|
|
21061
|
+
qw = !1;
|
|
21062
21062
|
try {
|
|
21063
21063
|
var fU = Object.preventExtensions({});
|
|
21064
21064
|
} catch {
|
|
21065
|
-
|
|
21065
|
+
qw = !0;
|
|
21066
21066
|
}
|
|
21067
21067
|
}
|
|
21068
21068
|
function SR(e, t, o, l) {
|
|
21069
|
-
this.tag = e, this.key = o, this.elementType = null, this.type = null, this.stateNode = null, this.return = null, this.child = null, this.sibling = null, this.index = 0, this.ref = null, this.pendingProps = t, this.memoizedProps = null, this.updateQueue = null, this.memoizedState = null, this.dependencies = null, this.mode = l, this.flags = Et, this.subtreeFlags = Et, this.deletions = null, this.lanes = we, this.childLanes = we, this.alternate = null, this.actualDuration = Number.NaN, this.actualStartTime = Number.NaN, this.selfBaseDuration = Number.NaN, this.treeBaseDuration = Number.NaN, this.actualDuration = 0, this.actualStartTime = -1, this.selfBaseDuration = 0, this.treeBaseDuration = 0, this._debugSource = null, this._debugOwner = null, this._debugNeedsRemount = !1, this._debugHookTypes = null, !
|
|
21069
|
+
this.tag = e, this.key = o, this.elementType = null, this.type = null, this.stateNode = null, this.return = null, this.child = null, this.sibling = null, this.index = 0, this.ref = null, this.pendingProps = t, this.memoizedProps = null, this.updateQueue = null, this.memoizedState = null, this.dependencies = null, this.mode = l, this.flags = Et, this.subtreeFlags = Et, this.deletions = null, this.lanes = we, this.childLanes = we, this.alternate = null, this.actualDuration = Number.NaN, this.actualStartTime = Number.NaN, this.selfBaseDuration = Number.NaN, this.treeBaseDuration = Number.NaN, this.actualDuration = 0, this.actualStartTime = -1, this.selfBaseDuration = 0, this.treeBaseDuration = 0, this._debugSource = null, this._debugOwner = null, this._debugNeedsRemount = !1, this._debugHookTypes = null, !qw && typeof Object.preventExtensions == "function" && Object.preventExtensions(this);
|
|
21070
21070
|
}
|
|
21071
21071
|
var Xo = function(e, t, o, l) {
|
|
21072
21072
|
return new SR(e, t, o, l);
|
|
21073
21073
|
};
|
|
21074
|
-
function
|
|
21074
|
+
function Ww(e) {
|
|
21075
21075
|
var t = e.prototype;
|
|
21076
21076
|
return !!(t && t.isReactComponent);
|
|
21077
21077
|
}
|
|
21078
21078
|
function xR(e) {
|
|
21079
|
-
return typeof e == "function" && !
|
|
21079
|
+
return typeof e == "function" && !Ww(e) && e.defaultProps === void 0;
|
|
21080
21080
|
}
|
|
21081
21081
|
function CR(e) {
|
|
21082
21082
|
if (typeof e == "function")
|
|
21083
|
-
return
|
|
21083
|
+
return Ww(e) ? _ : C;
|
|
21084
21084
|
if (e != null) {
|
|
21085
21085
|
var t = e.$$typeof;
|
|
21086
21086
|
if (t === Oe)
|
|
@@ -21104,10 +21104,10 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21104
21104
|
o.type = mm(e.type);
|
|
21105
21105
|
break;
|
|
21106
21106
|
case _:
|
|
21107
|
-
o.type =
|
|
21107
|
+
o.type = Mw(e.type);
|
|
21108
21108
|
break;
|
|
21109
21109
|
case Y:
|
|
21110
|
-
o.type =
|
|
21110
|
+
o.type = zw(e.type);
|
|
21111
21111
|
break;
|
|
21112
21112
|
}
|
|
21113
21113
|
return o;
|
|
@@ -21131,10 +21131,10 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21131
21131
|
var l;
|
|
21132
21132
|
return e === ib ? (l = b, t === !0 && (l |= F, l |= j)) : l = h, Ia && (l |= x), Xo($, null, null, l);
|
|
21133
21133
|
}
|
|
21134
|
-
function
|
|
21134
|
+
function Vw(e, t, o, l, p, y) {
|
|
21135
21135
|
var w = P, E = e;
|
|
21136
21136
|
if (typeof e == "function")
|
|
21137
|
-
|
|
21137
|
+
Ww(e) ? (w = _, E = Mw(E)) : E = mm(E);
|
|
21138
21138
|
else if (typeof e == "string")
|
|
21139
21139
|
w = B;
|
|
21140
21140
|
else
|
|
@@ -21167,7 +21167,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21167
21167
|
w = he;
|
|
21168
21168
|
break e;
|
|
21169
21169
|
case Oe:
|
|
21170
|
-
w = Y, E =
|
|
21170
|
+
w = Y, E = zw(E);
|
|
21171
21171
|
break e;
|
|
21172
21172
|
case Zt:
|
|
21173
21173
|
w = re;
|
|
@@ -21190,10 +21190,10 @@ Check the render method of \`` + L + "`.");
|
|
|
21190
21190
|
var I = Xo(w, o, t, p);
|
|
21191
21191
|
return I.elementType = e, I.type = E, I.lanes = y, I._debugOwner = l, I;
|
|
21192
21192
|
}
|
|
21193
|
-
function
|
|
21193
|
+
function Yw(e, t, o) {
|
|
21194
21194
|
var l = null;
|
|
21195
21195
|
l = e._owner;
|
|
21196
|
-
var p = e.type, y = e.key, w = e.props, E =
|
|
21196
|
+
var p = e.type, y = e.key, w = e.props, E = Vw(p, y, w, l, t, o);
|
|
21197
21197
|
return E._debugSource = e._source, E._debugOwner = e._owner, E;
|
|
21198
21198
|
}
|
|
21199
21199
|
function Kd(e, t, o, l) {
|
|
@@ -21224,7 +21224,7 @@ Check the render method of \`` + L + "`.");
|
|
|
21224
21224
|
};
|
|
21225
21225
|
return p.stateNode = y, p;
|
|
21226
21226
|
}
|
|
21227
|
-
function
|
|
21227
|
+
function Kw(e, t, o) {
|
|
21228
21228
|
var l = Xo(M, e, null, t);
|
|
21229
21229
|
return l.lanes = o, l;
|
|
21230
21230
|
}
|
|
@@ -21236,7 +21236,7 @@ Check the render method of \`` + L + "`.");
|
|
|
21236
21236
|
var t = Xo(ze, null, null, h);
|
|
21237
21237
|
return t.stateNode = e, t;
|
|
21238
21238
|
}
|
|
21239
|
-
function
|
|
21239
|
+
function Gw(e, t, o) {
|
|
21240
21240
|
var l = e.children !== null ? e.children : [], p = Xo(R, l, e.key, t);
|
|
21241
21241
|
return p.lanes = o, p.stateNode = {
|
|
21242
21242
|
containerInfo: e.containerInfo,
|
|
@@ -21280,7 +21280,7 @@ Check the render method of \`` + L + "`.");
|
|
|
21280
21280
|
}
|
|
21281
21281
|
return l1(ne), I;
|
|
21282
21282
|
}
|
|
21283
|
-
var
|
|
21283
|
+
var Qw = "18.3.1";
|
|
21284
21284
|
function RR(e, t, o) {
|
|
21285
21285
|
var l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
|
|
21286
21286
|
return pa(l), {
|
|
@@ -21292,8 +21292,8 @@ Check the render method of \`` + L + "`.");
|
|
|
21292
21292
|
implementation: o
|
|
21293
21293
|
};
|
|
21294
21294
|
}
|
|
21295
|
-
var
|
|
21296
|
-
|
|
21295
|
+
var Zw, Xw;
|
|
21296
|
+
Zw = !1, Xw = {};
|
|
21297
21297
|
function qC(e) {
|
|
21298
21298
|
if (!e)
|
|
21299
21299
|
return Zo;
|
|
@@ -21319,8 +21319,8 @@ Check the render method of \`` + L + "`.");
|
|
|
21319
21319
|
return null;
|
|
21320
21320
|
if (p.mode & F) {
|
|
21321
21321
|
var y = It(o) || "Component";
|
|
21322
|
-
if (!
|
|
21323
|
-
|
|
21322
|
+
if (!Xw[y]) {
|
|
21323
|
+
Xw[y] = !0;
|
|
21324
21324
|
var w = ar;
|
|
21325
21325
|
try {
|
|
21326
21326
|
kn(p), o.mode & F ? g("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", t, t, y) : g("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", t, t, y);
|
|
@@ -21347,7 +21347,7 @@ Check the render method of \`` + L + "`.");
|
|
|
21347
21347
|
var p = t.current, y = no(), w = Vd(p);
|
|
21348
21348
|
Bp(w);
|
|
21349
21349
|
var E = qC(o);
|
|
21350
|
-
t.context === null ? t.context = E : t.pendingContext = E, wr && ar !== null && !
|
|
21350
|
+
t.context === null ? t.context = E : t.pendingContext = E, wr && ar !== null && !Zw && (Zw = !0, g(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
21351
21351
|
|
|
21352
21352
|
Check the render method of %s.`, It(ar) || "Unknown"));
|
|
21353
21353
|
var T = gc(y, w);
|
|
@@ -21387,7 +21387,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21387
21387
|
}
|
|
21388
21388
|
});
|
|
21389
21389
|
var l = Be;
|
|
21390
|
-
|
|
21390
|
+
Jw(e, l);
|
|
21391
21391
|
break;
|
|
21392
21392
|
}
|
|
21393
21393
|
}
|
|
@@ -21396,7 +21396,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21396
21396
|
var o = e.memoizedState;
|
|
21397
21397
|
o !== null && o.dehydrated !== null && (o.retryLane = yy(o.retryLane, t));
|
|
21398
21398
|
}
|
|
21399
|
-
function
|
|
21399
|
+
function Jw(e, t) {
|
|
21400
21400
|
YC(e, t);
|
|
21401
21401
|
var o = e.alternate;
|
|
21402
21402
|
o && YC(o, t);
|
|
@@ -21408,7 +21408,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21408
21408
|
var l = no();
|
|
21409
21409
|
Ta(o, e, t, l);
|
|
21410
21410
|
}
|
|
21411
|
-
|
|
21411
|
+
Jw(e, t);
|
|
21412
21412
|
}
|
|
21413
21413
|
}
|
|
21414
21414
|
function IR(e) {
|
|
@@ -21418,7 +21418,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21418
21418
|
var l = no();
|
|
21419
21419
|
Ta(o, e, t, l);
|
|
21420
21420
|
}
|
|
21421
|
-
|
|
21421
|
+
Jw(e, t);
|
|
21422
21422
|
}
|
|
21423
21423
|
}
|
|
21424
21424
|
function KC(e) {
|
|
@@ -21476,13 +21476,13 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21476
21476
|
return y[p] = cE(e[p], t, o + 1, l), y;
|
|
21477
21477
|
}, dE = function(e, t, o) {
|
|
21478
21478
|
return cE(e, t, 0, o);
|
|
21479
|
-
},
|
|
21479
|
+
}, e2 = function(e, t) {
|
|
21480
21480
|
for (var o = e.memoizedState; o !== null && t > 0; )
|
|
21481
21481
|
o = o.next, t--;
|
|
21482
21482
|
return o;
|
|
21483
21483
|
};
|
|
21484
21484
|
ZC = function(e, t, o, l) {
|
|
21485
|
-
var p =
|
|
21485
|
+
var p = e2(e, t);
|
|
21486
21486
|
if (p !== null) {
|
|
21487
21487
|
var y = dE(p.memoizedState, o, l);
|
|
21488
21488
|
p.memoizedState = y, p.baseState = y, e.memoizedProps = Vt({}, e.memoizedProps);
|
|
@@ -21490,7 +21490,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21490
21490
|
w !== null && Ta(w, e, Be, cr);
|
|
21491
21491
|
}
|
|
21492
21492
|
}, XC = function(e, t, o) {
|
|
21493
|
-
var l =
|
|
21493
|
+
var l = e2(e, t);
|
|
21494
21494
|
if (l !== null) {
|
|
21495
21495
|
var p = sE(l.memoizedState, o);
|
|
21496
21496
|
l.memoizedState = p, l.baseState = p, e.memoizedProps = Vt({}, e.memoizedProps);
|
|
@@ -21498,7 +21498,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21498
21498
|
y !== null && Ta(y, e, Be, cr);
|
|
21499
21499
|
}
|
|
21500
21500
|
}, JC = function(e, t, o, l) {
|
|
21501
|
-
var p =
|
|
21501
|
+
var p = e2(e, t);
|
|
21502
21502
|
if (p !== null) {
|
|
21503
21503
|
var y = uE(p.memoizedState, o, l);
|
|
21504
21504
|
p.memoizedState = y, p.baseState = y, e.memoizedProps = Vt({}, e.memoizedProps);
|
|
@@ -21564,7 +21564,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21564
21564
|
getCurrentFiber: HR,
|
|
21565
21565
|
// Enables DevTools to detect reconciler version rather than renderer version
|
|
21566
21566
|
// which may not match for third party renderers.
|
|
21567
|
-
reconcilerVersion:
|
|
21567
|
+
reconcilerVersion: Qw
|
|
21568
21568
|
});
|
|
21569
21569
|
}
|
|
21570
21570
|
var pE = typeof reportError == "function" ? (
|
|
@@ -21574,10 +21574,10 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21574
21574
|
) : function(e) {
|
|
21575
21575
|
console.error(e);
|
|
21576
21576
|
};
|
|
21577
|
-
function
|
|
21577
|
+
function t2(e) {
|
|
21578
21578
|
this._internalRoot = e;
|
|
21579
21579
|
}
|
|
21580
|
-
d0.prototype.render =
|
|
21580
|
+
d0.prototype.render = t2.prototype.render = function(e) {
|
|
21581
21581
|
var t = this._internalRoot;
|
|
21582
21582
|
if (t === null)
|
|
21583
21583
|
throw new Error("Cannot update an unmounted root.");
|
|
@@ -21590,7 +21590,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21590
21590
|
}
|
|
21591
21591
|
}
|
|
21592
21592
|
bv(e, t, null, null);
|
|
21593
|
-
}, d0.prototype.unmount =
|
|
21593
|
+
}, d0.prototype.unmount = t2.prototype.unmount = function() {
|
|
21594
21594
|
typeof arguments[0] == "function" && g("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");
|
|
21595
21595
|
var e = this._internalRoot;
|
|
21596
21596
|
if (e !== null) {
|
|
@@ -21613,7 +21613,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21613
21613
|
var w = WC(e, ib, null, o, l, p, y);
|
|
21614
21614
|
Xy(w.current, e);
|
|
21615
21615
|
var E = e.nodeType === ir ? e.parentNode : e;
|
|
21616
|
-
return Eg(E), new
|
|
21616
|
+
return Eg(E), new t2(w);
|
|
21617
21617
|
}
|
|
21618
21618
|
function d0(e) {
|
|
21619
21619
|
this._internalRoot = e;
|
|
@@ -21651,10 +21651,10 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21651
21651
|
var t = KC(e._reactRootContainer.current);
|
|
21652
21652
|
t && t.parentNode !== e && g("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.");
|
|
21653
21653
|
}
|
|
21654
|
-
var o = !!e._reactRootContainer, l =
|
|
21654
|
+
var o = !!e._reactRootContainer, l = n2(e), p = !!(l && $d(l));
|
|
21655
21655
|
p && !o && g("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."), e.nodeType === ga && e.tagName && e.tagName.toUpperCase() === "BODY" && g("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");
|
|
21656
21656
|
};
|
|
21657
|
-
function
|
|
21657
|
+
function n2(e) {
|
|
21658
21658
|
return e ? e.nodeType === ya ? e.documentElement : e.firstChild : null;
|
|
21659
21659
|
}
|
|
21660
21660
|
function mE() {
|
|
@@ -21783,7 +21783,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21783
21783
|
}
|
|
21784
21784
|
if (e._reactRootContainer) {
|
|
21785
21785
|
{
|
|
21786
|
-
var o =
|
|
21786
|
+
var o = n2(e), l = o && !$d(o);
|
|
21787
21787
|
l && g("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.");
|
|
21788
21788
|
}
|
|
21789
21789
|
return kc(function() {
|
|
@@ -21793,7 +21793,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21793
21793
|
}), !0;
|
|
21794
21794
|
} else {
|
|
21795
21795
|
{
|
|
21796
|
-
var p =
|
|
21796
|
+
var p = n2(e), y = !!(p && $d(p)), w = e.nodeType === ga && kv(e.parentNode) && !!e.parentNode._reactRootContainer;
|
|
21797
21797
|
y && g("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s", w ? "You may have accidentally passed in a React root node instead of its container." : "Instead, have the parent component update its state and rerender in order to remove this component.");
|
|
21798
21798
|
}
|
|
21799
21799
|
return !1;
|
|
@@ -21801,7 +21801,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21801
21801
|
}
|
|
21802
21802
|
ht(OR), ky(BR), Vp(IR), lg(wo), Dy(qp), (typeof Map != "function" || // $FlowIssue Flow incorrectly thinks Map has no prototype
|
|
21803
21803
|
Map.prototype == null || typeof Map.prototype.forEach != "function" || typeof Set != "function" || // $FlowIssue Flow incorrectly thinks Set has no prototype
|
|
21804
|
-
Set.prototype == null || typeof Set.prototype.clear != "function" || typeof Set.prototype.forEach != "function") && g("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"), ah(rN), zu($
|
|
21804
|
+
Set.prototype == null || typeof Set.prototype.clear != "function" || typeof Set.prototype.forEach != "function") && g("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"), ah(rN), zu($w, Y$, kc);
|
|
21805
21805
|
function nL(e, t) {
|
|
21806
21806
|
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
21807
21807
|
if (!p0(t))
|
|
@@ -21811,17 +21811,17 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21811
21811
|
function rL(e, t, o, l) {
|
|
21812
21812
|
return eL(e, t, o, l);
|
|
21813
21813
|
}
|
|
21814
|
-
var
|
|
21814
|
+
var r2 = {
|
|
21815
21815
|
usingClientEntryPoint: !1,
|
|
21816
21816
|
// Keep in sync with ReactTestUtils.js.
|
|
21817
21817
|
// This is an array for better minification.
|
|
21818
|
-
Events: [$d, Vh, Jy, Gc, Mu, $
|
|
21818
|
+
Events: [$d, Vh, Jy, Gc, Mu, $w]
|
|
21819
21819
|
};
|
|
21820
21820
|
function aL(e, t) {
|
|
21821
|
-
return
|
|
21821
|
+
return r2.usingClientEntryPoint || g('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'), WR(e, t);
|
|
21822
21822
|
}
|
|
21823
21823
|
function iL(e, t, o) {
|
|
21824
|
-
return
|
|
21824
|
+
return r2.usingClientEntryPoint || g('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'), YR(e, t, o);
|
|
21825
21825
|
}
|
|
21826
21826
|
function oL(e) {
|
|
21827
21827
|
return CC() && g("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."), kc(e);
|
|
@@ -21829,7 +21829,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21829
21829
|
var sL = qR({
|
|
21830
21830
|
findFiberByHostInstance: nf,
|
|
21831
21831
|
bundleType: 1,
|
|
21832
|
-
version:
|
|
21832
|
+
version: Qw,
|
|
21833
21833
|
rendererPackageName: "react-dom"
|
|
21834
21834
|
});
|
|
21835
21835
|
if (!sL && en && window.top === window.self && (navigator.userAgent.indexOf("Chrome") > -1 && navigator.userAgent.indexOf("Edge") === -1 || navigator.userAgent.indexOf("Firefox") > -1)) {
|
|
@@ -21837,7 +21837,7 @@ Check the render method of %s.`, It(ar) || "Unknown"));
|
|
|
21837
21837
|
/^(https?|file):$/.test(yE) && console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools" + (yE === "file:" ? `
|
|
21838
21838
|
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq` : ""), "font-weight:bold");
|
|
21839
21839
|
}
|
|
21840
|
-
es.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
|
|
21840
|
+
es.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = r2, es.createPortal = nL, es.createRoot = aL, es.findDOMNode = ZR, es.flushSync = oL, es.hydrate = XR, es.hydrateRoot = iL, es.render = JR, es.unmountComponentAtNode = tL, es.unstable_batchedUpdates = $w, es.unstable_renderSubtreeIntoContainer = rL, es.version = Qw, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
21841
21841
|
}()), es;
|
|
21842
21842
|
}
|
|
21843
21843
|
function _T() {
|
|
@@ -21851,13 +21851,13 @@ function _T() {
|
|
|
21851
21851
|
}
|
|
21852
21852
|
}
|
|
21853
21853
|
}
|
|
21854
|
-
process.env.NODE_ENV === "production" ? (_T(),
|
|
21855
|
-
var TT =
|
|
21854
|
+
process.env.NODE_ENV === "production" ? (_T(), T2.exports = jL()) : T2.exports = ML();
|
|
21855
|
+
var TT = T2.exports, F2, h0 = TT;
|
|
21856
21856
|
if (process.env.NODE_ENV === "production")
|
|
21857
|
-
|
|
21857
|
+
F2 = h0.createRoot, h0.hydrateRoot;
|
|
21858
21858
|
else {
|
|
21859
21859
|
var KE = h0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
21860
|
-
|
|
21860
|
+
F2 = function(n, r) {
|
|
21861
21861
|
KE.usingClientEntryPoint = !0;
|
|
21862
21862
|
try {
|
|
21863
21863
|
return h0.createRoot(n, r);
|
|
@@ -21867,7 +21867,7 @@ else {
|
|
|
21867
21867
|
};
|
|
21868
21868
|
}
|
|
21869
21869
|
const zL = (n) => {
|
|
21870
|
-
const r = document.createElement("div"), s =
|
|
21870
|
+
const r = document.createElement("div"), s = F2(r);
|
|
21871
21871
|
return TT.flushSync(() => {
|
|
21872
21872
|
s.render(n);
|
|
21873
21873
|
}), r.innerHTML;
|
|
@@ -22495,10 +22495,10 @@ const w0 = Lf(N0);
|
|
|
22495
22495
|
* Copyright 2017 Google LLC
|
|
22496
22496
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22497
22497
|
*/
|
|
22498
|
-
class
|
|
22498
|
+
class A2 extends N0 {
|
|
22499
22499
|
}
|
|
22500
|
-
|
|
22501
|
-
const GE = Lf(
|
|
22500
|
+
A2.directiveName = "unsafeSVG", A2.resultType = 2;
|
|
22501
|
+
const GE = Lf(A2);
|
|
22502
22502
|
var GL = Object.defineProperty, QL = Object.getOwnPropertyDescriptor, ry = (n, r, s, u) => {
|
|
22503
22503
|
for (var f = u > 1 ? void 0 : u ? QL(r, s) : r, v = n.length - 1, g; v >= 0; v--)
|
|
22504
22504
|
(g = n[v]) && (f = (u ? g(r, s, f) : g(f)) || f);
|
|
@@ -22506,12 +22506,12 @@ var GL = Object.defineProperty, QL = Object.getOwnPropertyDescriptor, ry = (n, r
|
|
|
22506
22506
|
};
|
|
22507
22507
|
window.pktFetch = window.pktFetch === void 0 ? fetch : window.pktFetch;
|
|
22508
22508
|
window.pktIconPath = window.pktIconPath || "https://punkt-cdn.oslo.kommune.no/12.18/icons/";
|
|
22509
|
-
const ZL = (n) => new Promise((r) => setTimeout(r, n)), D0 = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>',
|
|
22509
|
+
const ZL = (n) => new Promise((r) => setTimeout(r, n)), D0 = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', s2 = {}, XL = async (n, r) => {
|
|
22510
22510
|
let s = 0;
|
|
22511
|
-
for (;
|
|
22511
|
+
for (; s2[r + n + ".svg"] === "fetching" && (s++, !(s > 50)); )
|
|
22512
22512
|
await ZL(50);
|
|
22513
|
-
return localStorage.getItem(r + n + ".svg") ? Promise.resolve(localStorage.getItem(r + n + ".svg")) : typeof window.pktFetch == "function" ? (
|
|
22514
|
-
window.pktFetch(r + n + ".svg").then((u) => u.ok ? u.text() : (console.error("Missing icon: " + r + n + ".svg"), D0)).then((u) => (u !== D0 && localStorage.setItem(r + n + ".svg", u),
|
|
22513
|
+
return localStorage.getItem(r + n + ".svg") ? Promise.resolve(localStorage.getItem(r + n + ".svg")) : typeof window.pktFetch == "function" ? (s2[r + n + ".svg"] = "fetching", Promise.resolve(
|
|
22514
|
+
window.pktFetch(r + n + ".svg").then((u) => u.ok ? u.text() : (console.error("Missing icon: " + r + n + ".svg"), D0)).then((u) => (u !== D0 && localStorage.setItem(r + n + ".svg", u), s2[r + n + ".svg"] = "fetched", u))
|
|
22515
22515
|
)) : Promise.resolve(D0);
|
|
22516
22516
|
};
|
|
22517
22517
|
let Pf = class extends oo {
|
|
@@ -22672,7 +22672,7 @@ const { I: JL } = wL, FT = (n) => n.strings === void 0, QE = () => document.crea
|
|
|
22672
22672
|
}
|
|
22673
22673
|
}
|
|
22674
22674
|
return s;
|
|
22675
|
-
}, kf = (n, r, s = n) => (n._$AI(r, s), n), eO = {}, AT = (n, r = eO) => n._$AH = r, tO = (n) => n._$AH,
|
|
22675
|
+
}, kf = (n, r, s = n) => (n._$AI(r, s), n), eO = {}, AT = (n, r = eO) => n._$AH = r, tO = (n) => n._$AH, l2 = (n) => {
|
|
22676
22676
|
var r;
|
|
22677
22677
|
(r = n._$AP) == null || r.call(n, !1, !0);
|
|
22678
22678
|
let s = n._$AA;
|
|
@@ -22750,7 +22750,7 @@ let iO = class extends Rm {
|
|
|
22750
22750
|
const la = () => new oO();
|
|
22751
22751
|
let oO = class {
|
|
22752
22752
|
};
|
|
22753
|
-
const
|
|
22753
|
+
const u2 = /* @__PURE__ */ new WeakMap(), Ur = Lf(class extends iO {
|
|
22754
22754
|
render(n) {
|
|
22755
22755
|
return kt;
|
|
22756
22756
|
}
|
|
@@ -22762,13 +22762,13 @@ const uw = /* @__PURE__ */ new WeakMap(), Ur = Lf(class extends iO {
|
|
|
22762
22762
|
rt(n) {
|
|
22763
22763
|
if (this.isConnected || (n = void 0), typeof this.Y == "function") {
|
|
22764
22764
|
const r = this.ht ?? globalThis;
|
|
22765
|
-
let s =
|
|
22766
|
-
s === void 0 && (s = /* @__PURE__ */ new WeakMap(),
|
|
22765
|
+
let s = u2.get(r);
|
|
22766
|
+
s === void 0 && (s = /* @__PURE__ */ new WeakMap(), u2.set(r, s)), s.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), s.set(this.Y, n), n !== void 0 && this.Y.call(this.ht, n);
|
|
22767
22767
|
} else this.Y.value = n;
|
|
22768
22768
|
}
|
|
22769
22769
|
get lt() {
|
|
22770
22770
|
var n, r;
|
|
22771
|
-
return typeof this.Y == "function" ? (n =
|
|
22771
|
+
return typeof this.Y == "function" ? (n = u2.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.Y) : (r = this.Y) == null ? void 0 : r.value;
|
|
22772
22772
|
}
|
|
22773
22773
|
disconnected() {
|
|
22774
22774
|
this.lt === this.ct && this.rt(void 0);
|
|
@@ -22934,7 +22934,7 @@ function Dl(n, r) {
|
|
|
22934
22934
|
function Oo(n, r) {
|
|
22935
22935
|
return Dl(r || n, n);
|
|
22936
22936
|
}
|
|
22937
|
-
function
|
|
22937
|
+
function c2(n, r, s) {
|
|
22938
22938
|
const u = Oo(n, void 0);
|
|
22939
22939
|
return isNaN(r) ? Dl(n, NaN) : (r && u.setDate(u.getDate() + r), u);
|
|
22940
22940
|
}
|
|
@@ -23011,7 +23011,7 @@ function DO(n, r) {
|
|
|
23011
23011
|
const [s, u] = RT(n, r.start, r.end);
|
|
23012
23012
|
return { start: s, end: u };
|
|
23013
23013
|
}
|
|
23014
|
-
function
|
|
23014
|
+
function d2(n, r) {
|
|
23015
23015
|
const { start: s, end: u } = DO(void 0, n);
|
|
23016
23016
|
let f = +s > +u;
|
|
23017
23017
|
const v = f ? +s : +u, g = f ? u : s;
|
|
@@ -23093,7 +23093,7 @@ const xO = {
|
|
|
23093
23093
|
const f = xO[n];
|
|
23094
23094
|
return typeof f == "string" ? u = f : r === 1 ? u = f.one : u = f.other.replace("{{count}}", r.toString()), s != null && s.addSuffix ? s.comparison && s.comparison > 0 ? "in " + u : u + " ago" : u;
|
|
23095
23095
|
};
|
|
23096
|
-
function
|
|
23096
|
+
function p2(n) {
|
|
23097
23097
|
return (r = {}) => {
|
|
23098
23098
|
const s = r.width ? String(r.width) : n.defaultWidth;
|
|
23099
23099
|
return n.formats[s] || n.formats[n.defaultWidth];
|
|
@@ -23115,15 +23115,15 @@ const EO = {
|
|
|
23115
23115
|
medium: "{{date}}, {{time}}",
|
|
23116
23116
|
short: "{{date}}, {{time}}"
|
|
23117
23117
|
}, FO = {
|
|
23118
|
-
date:
|
|
23118
|
+
date: p2({
|
|
23119
23119
|
formats: EO,
|
|
23120
23120
|
defaultWidth: "full"
|
|
23121
23121
|
}),
|
|
23122
|
-
time:
|
|
23122
|
+
time: p2({
|
|
23123
23123
|
formats: _O,
|
|
23124
23124
|
defaultWidth: "full"
|
|
23125
23125
|
}),
|
|
23126
|
-
dateTime:
|
|
23126
|
+
dateTime: p2({
|
|
23127
23127
|
formats: TO,
|
|
23128
23128
|
defaultWidth: "full"
|
|
23129
23129
|
})
|
|
@@ -24183,7 +24183,7 @@ function i_(n, r) {
|
|
|
24183
24183
|
let Pv = class $v extends Date {
|
|
24184
24184
|
//#region static
|
|
24185
24185
|
constructor(...r) {
|
|
24186
|
-
super(), r.length > 1 && typeof r[r.length - 1] == "string" && (this.timeZone = r.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Uv(this.timeZone, this)) ? this.setTime(NaN) : r.length ? typeof r[0] == "number" && (r.length === 1 || r.length === 2 && typeof r[1] != "number") ? this.setTime(r[0]) : typeof r[0] == "string" ? this.setTime(+new Date(r[0])) : r[0] instanceof Date ? this.setTime(+r[0]) : (this.setTime(+new Date(...r)), IT(this),
|
|
24186
|
+
super(), r.length > 1 && typeof r[r.length - 1] == "string" && (this.timeZone = r.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Uv(this.timeZone, this)) ? this.setTime(NaN) : r.length ? typeof r[0] == "number" && (r.length === 1 || r.length === 2 && typeof r[1] != "number") ? this.setTime(r[0]) : typeof r[0] == "string" ? this.setTime(+new Date(r[0])) : r[0] instanceof Date ? this.setTime(+r[0]) : (this.setTime(+new Date(...r)), IT(this), N2(this)) : this.setTime(Date.now());
|
|
24187
24187
|
}
|
|
24188
24188
|
static tz(r, ...s) {
|
|
24189
24189
|
return s.length ? new $v(...s, r) : new $v(Date.now(), r);
|
|
@@ -24199,7 +24199,7 @@ let Pv = class $v extends Date {
|
|
|
24199
24199
|
//#endregion
|
|
24200
24200
|
//#region time
|
|
24201
24201
|
setTime(r) {
|
|
24202
|
-
return Date.prototype.setTime.apply(this, arguments),
|
|
24202
|
+
return Date.prototype.setTime.apply(this, arguments), N2(this), +this;
|
|
24203
24203
|
}
|
|
24204
24204
|
//#endregion
|
|
24205
24205
|
//#region date-fns integration
|
|
@@ -24217,10 +24217,10 @@ Object.getOwnPropertyNames(Date.prototype).forEach((n) => {
|
|
|
24217
24217
|
} : (Pv.prototype[n] = function() {
|
|
24218
24218
|
return Date.prototype[r].apply(this.internal, arguments), xB(this), +this;
|
|
24219
24219
|
}, Pv.prototype[r] = function() {
|
|
24220
|
-
return Date.prototype[r].apply(this, arguments),
|
|
24220
|
+
return Date.prototype[r].apply(this, arguments), N2(this), +this;
|
|
24221
24221
|
}));
|
|
24222
24222
|
});
|
|
24223
|
-
function
|
|
24223
|
+
function N2(n) {
|
|
24224
24224
|
n.internal.setTime(+n), n.internal.setUTCMinutes(n.internal.getUTCMinutes() - n.getTimezoneOffset());
|
|
24225
24225
|
}
|
|
24226
24226
|
function xB(n) {
|
|
@@ -24303,7 +24303,7 @@ function CB(n, r) {
|
|
|
24303
24303
|
}).format(r).slice(12);
|
|
24304
24304
|
}
|
|
24305
24305
|
window.pktTz = window.pktTz === void 0 ? "Europe/Oslo" : window.pktTz;
|
|
24306
|
-
const Ya = (n) => n.toISOString().split("T")[0],
|
|
24306
|
+
const Ya = (n) => n.toISOString().split("T")[0], f2 = (n) => {
|
|
24307
24307
|
if (!n)
|
|
24308
24308
|
return null;
|
|
24309
24309
|
const r = Kv(new R0(n, window.pktTz), 12);
|
|
@@ -24439,7 +24439,7 @@ let Jn = class extends oo {
|
|
|
24439
24439
|
}
|
|
24440
24440
|
convertSelected() {
|
|
24441
24441
|
if (typeof this.selected == "string" && (this.selected = this.selected.split(",")), this.selected.length === 1 && this.selected[0] === "" && (this.selected = []), this._selected = this.selected.map((n) => sa(n)), this.range && this.selected.length === 2) {
|
|
24442
|
-
const n =
|
|
24442
|
+
const n = d2({
|
|
24443
24443
|
start: sa(this.selected[0]),
|
|
24444
24444
|
end: sa(this.selected[1])
|
|
24445
24445
|
});
|
|
@@ -24480,15 +24480,15 @@ let Jn = class extends oo {
|
|
|
24480
24480
|
if (((s = n.target) == null ? void 0 : s.nodeName) === "INPUT" || ((u = n.target) == null ? void 0 : u.nodeName) === "SELECT" || ((f = n.target) == null ? void 0 : f.nodeName) === "BUTTON") return;
|
|
24481
24481
|
n.preventDefault(), this.focusedDate || this.focusOnCurrentDate();
|
|
24482
24482
|
const v = this.focusedDate ? sa(this.focusedDate) : Qd(this.year, this.month, 1);
|
|
24483
|
-
let g =
|
|
24483
|
+
let g = c2(v, r);
|
|
24484
24484
|
if (g) {
|
|
24485
24485
|
let D = this.querySelector(`div[data-date="${Ya(g)}"]`);
|
|
24486
24486
|
if (D instanceof HTMLDivElement) {
|
|
24487
24487
|
if (D.dataset.disabled) {
|
|
24488
|
-
g =
|
|
24488
|
+
g = c2(g, r);
|
|
24489
24489
|
let C = this.querySelector(`div[data-date="${Ya(g)}"]`);
|
|
24490
24490
|
for (; C && C instanceof HTMLDivElement && C.dataset.disabled; )
|
|
24491
|
-
g =
|
|
24491
|
+
g = c2(g, r), C = this.querySelector(`div[data-date="${Ya(g)}"]`);
|
|
24492
24492
|
D = C;
|
|
24493
24493
|
}
|
|
24494
24494
|
D instanceof HTMLDivElement && !D.dataset.disabled && (this.focusedDate = Ya(g), D.focus());
|
|
@@ -24717,7 +24717,7 @@ let Jn = class extends oo {
|
|
|
24717
24717
|
isRangeAllowed(n) {
|
|
24718
24718
|
let r = !0;
|
|
24719
24719
|
if (this._selected.length === 1) {
|
|
24720
|
-
const s =
|
|
24720
|
+
const s = d2({
|
|
24721
24721
|
start: this._selected[0],
|
|
24722
24722
|
end: n
|
|
24723
24723
|
});
|
|
@@ -24754,7 +24754,7 @@ let Jn = class extends oo {
|
|
|
24754
24754
|
handleRangeHover(n) {
|
|
24755
24755
|
if (this.range && this._selected.length === 1 && this.isRangeAllowed(n) && this._selected[0] < n) {
|
|
24756
24756
|
this.rangeHovered = n, this.inRange = {};
|
|
24757
|
-
const r =
|
|
24757
|
+
const r = d2({
|
|
24758
24758
|
start: this._selected[0],
|
|
24759
24759
|
end: n
|
|
24760
24760
|
});
|
|
@@ -25395,19 +25395,20 @@ class _n extends oo {
|
|
|
25395
25395
|
return !0;
|
|
25396
25396
|
}
|
|
25397
25397
|
manageValidity(r) {
|
|
25398
|
-
|
|
25398
|
+
var s, u, f, v, g, D, C, _;
|
|
25399
|
+
r && (this.required && !this.value ? this.internals.setValidity({ valueMissing: !0 }, bl.forms.messages.required, r) : (s = r.validity) != null && s.typeMismatch || (u = r.validity) != null && u.badInput ? this.internals.setValidity({ typeMismatch: !0 }, bl.forms.messages.invalid, r) : (f = r.validity) != null && f.patternMismatch ? this.internals.setValidity(
|
|
25399
25400
|
{ patternMismatch: !0 },
|
|
25400
25401
|
bl.forms.messages.invalidPattern,
|
|
25401
25402
|
r
|
|
25402
|
-
) : r.validity.tooShort || this.minlength && this.minlength > 0 && this.value.length < this.minlength ? this.internals.setValidity({ tooShort: !0 }, bl.forms.messages.tooShort, r) : r.validity.tooLong || this.maxlength && this.maxlength > 0 && this.value.length > this.maxlength ? this.internals.setValidity({ tooLong: !0 }, bl.forms.messages.tooLong, r) : r.validity.rangeUnderflow ? this.internals.setValidity(
|
|
25403
|
+
) : (v = r.validity) != null && v.tooShort || this.minlength && this.minlength > 0 && this.value.length < this.minlength ? this.internals.setValidity({ tooShort: !0 }, bl.forms.messages.tooShort, r) : (g = r.validity) != null && g.tooLong || this.maxlength && this.maxlength > 0 && this.value.length > this.maxlength ? this.internals.setValidity({ tooLong: !0 }, bl.forms.messages.tooLong, r) : (D = r.validity) != null && D.rangeUnderflow ? this.internals.setValidity(
|
|
25403
25404
|
{ rangeUnderflow: !0 },
|
|
25404
25405
|
bl.forms.messages.rangeUnderflow,
|
|
25405
25406
|
r
|
|
25406
|
-
) : r.validity.rangeOverflow ? this.internals.setValidity(
|
|
25407
|
+
) : (C = r.validity) != null && C.rangeOverflow ? this.internals.setValidity(
|
|
25407
25408
|
{ rangeOverflow: !0 },
|
|
25408
25409
|
bl.forms.messages.rangeOverflow,
|
|
25409
25410
|
r
|
|
25410
|
-
) : r.validity.customError ? this.internals.setValidity({ customError: !0 }, r.validationMessage, r) : this.internals.setValidity({});
|
|
25411
|
+
) : (_ = r.validity) != null && _.customError ? this.internals.setValidity({ customError: !0 }, r.validationMessage, r) : this.internals.setValidity({}));
|
|
25411
25412
|
}
|
|
25412
25413
|
setFormValue(r) {
|
|
25413
25414
|
if (this.internals)
|
|
@@ -25451,7 +25452,7 @@ class _n extends oo {
|
|
|
25451
25452
|
this.touched = !0, r && this.setFormValue(r);
|
|
25452
25453
|
return;
|
|
25453
25454
|
}
|
|
25454
|
-
typeof r != "string" && !Array.isArray(r) || ((this.range || this.multiple) && !Array.isArray(r) && r.includes(",") && (r = r.split(",")), !this.multiple && !this.range && Array.isArray(r) && (r = r[0]), this.setFormValue(r), this.manageValidity(this.inputRef.value), this.
|
|
25455
|
+
typeof r != "string" && !Array.isArray(r) || ((this.range || this.multiple) && !Array.isArray(r) && r.includes(",") && (r = r.split(",")), !this.multiple && !this.range && Array.isArray(r) && (r = r[0]), this.setFormValue(r), this.manageValidity(this.inputRef.value), this.inputRefTo && this.manageValidity(this.inputRefTo.value), this.dispatchEvent(new Event("change")), this.dispatchEvent(
|
|
25455
25456
|
new CustomEvent("value-change", {
|
|
25456
25457
|
detail: r,
|
|
25457
25458
|
bubbles: !0,
|
|
@@ -25460,10 +25461,10 @@ class _n extends oo {
|
|
|
25460
25461
|
), this.internals.reportValidity());
|
|
25461
25462
|
}
|
|
25462
25463
|
updated(r) {
|
|
25463
|
-
r.has("dataTestid") && this.dataTestid && this.inputRef.value && (this.skipForwardTestid ? this.hasAttribute("data-testid") || this.setAttribute("data-testid", this.dataTestid) : (this.inputRef.value.dataset.testid = this.dataTestid, this.removeAttribute("data-testid")));
|
|
25464
|
+
super.updated(r), r.has("dataTestid") && this.dataTestid && this.inputRef.value && (this.skipForwardTestid ? this.hasAttribute("data-testid") || this.setAttribute("data-testid", this.dataTestid) : (this.inputRef.value.dataset.testid = this.dataTestid, this.removeAttribute("data-testid")));
|
|
25464
25465
|
}
|
|
25465
25466
|
firstUpdated(r) {
|
|
25466
|
-
super.firstUpdated(r), this.required && (this.internals.ariaRequired = !0), this.disabled && (this.internals.ariaDisabled = !0), this.internals.setFormValue(this.value), this.inputRef.value && this.manageValidity(this.inputRef.value);
|
|
25467
|
+
super.firstUpdated(r), this.required && (this.internals.ariaRequired = !0), this.disabled && (this.internals.ariaDisabled = !0), this.internals.setFormValue(this.value), this.inputRef && this.inputRef.value && (this.inputRef.value.setAttribute("form", ""), this.manageValidity(this.inputRef.value)), this.inputRefTo && this.inputRefTo.value && (this.inputRefTo.value.setAttribute("form", ""), this.manageValidity(this.inputRefTo.value));
|
|
25467
25468
|
}
|
|
25468
25469
|
}
|
|
25469
25470
|
zn([
|
|
@@ -25735,15 +25736,15 @@ const c_ = (n, r, s) => {
|
|
|
25735
25736
|
kf(he, v[B]), C[B] = he;
|
|
25736
25737
|
} else C[B] = kf(H, v[B]), Cv(n, f[$], H), f[V] = null;
|
|
25737
25738
|
B++;
|
|
25738
|
-
} else
|
|
25739
|
-
else
|
|
25739
|
+
} else l2(f[R]), R--;
|
|
25740
|
+
else l2(f[$]), $++;
|
|
25740
25741
|
for (; B <= M; ) {
|
|
25741
25742
|
const V = Cv(n, C[M + 1]);
|
|
25742
25743
|
kf(V, v[B]), C[B++] = V;
|
|
25743
25744
|
}
|
|
25744
25745
|
for (; $ <= R; ) {
|
|
25745
25746
|
const V = f[$++];
|
|
25746
|
-
V !== null &&
|
|
25747
|
+
V !== null && l2(V);
|
|
25747
25748
|
}
|
|
25748
25749
|
return this.ut = g, AT(n, C), Ro;
|
|
25749
25750
|
}
|
|
@@ -26049,7 +26050,7 @@ let qr = class extends _n {
|
|
|
26049
26050
|
var u, f;
|
|
26050
26051
|
if (s.target.value) {
|
|
26051
26052
|
this.manageValidity(s.target);
|
|
26052
|
-
const v =
|
|
26053
|
+
const v = f2(s.target.value);
|
|
26053
26054
|
v && this._value[0] !== s.target.value && this._value[1] && (this.clearInputValue(), (f = (u = this.calRef) == null ? void 0 : u.value) == null || f.handleDateSelect(v));
|
|
26054
26055
|
} else this._value[0] && this.clearInputValue();
|
|
26055
26056
|
}}
|
|
@@ -26098,7 +26099,7 @@ let qr = class extends _n {
|
|
|
26098
26099
|
this.strings.forms.messages.rangeOverflow,
|
|
26099
26100
|
s.target
|
|
26100
26101
|
);
|
|
26101
|
-
const D =
|
|
26102
|
+
const D = f2(s.target.value);
|
|
26102
26103
|
D && this._value[1] !== Ya(D) && ((v = (f = this.calRef) == null ? void 0 : f.value) == null || v.handleDateSelect(D));
|
|
26103
26104
|
}
|
|
26104
26105
|
}}
|
|
@@ -26157,7 +26158,7 @@ let qr = class extends _n {
|
|
|
26157
26158
|
)}"
|
|
26158
26159
|
@close=${() => {
|
|
26159
26160
|
var s;
|
|
26160
|
-
return (s = this.calRef.value) == null ? void 0 : s.handleDateSelect(
|
|
26161
|
+
return (s = this.calRef.value) == null ? void 0 : s.handleDateSelect(f2(r));
|
|
26161
26162
|
}}
|
|
26162
26163
|
><time datetime="${r}">${s_(r, this.dateformat)}</time></pkt-tag
|
|
26163
26164
|
>
|
|
@@ -26381,7 +26382,7 @@ const lI = "pkt-link", uI = !0, cI = {
|
|
|
26381
26382
|
default: {
|
|
26382
26383
|
description: "Innholdet i lenken"
|
|
26383
26384
|
}
|
|
26384
|
-
},
|
|
26385
|
+
}, h2 = {
|
|
26385
26386
|
name: lI,
|
|
26386
26387
|
"css-class": "pkt-link",
|
|
26387
26388
|
"dark-mode": !0,
|
|
@@ -26396,7 +26397,7 @@ var pI = Object.defineProperty, fI = Object.getOwnPropertyDescriptor, Bm = (n, r
|
|
|
26396
26397
|
};
|
|
26397
26398
|
let ep = class extends oo {
|
|
26398
26399
|
constructor() {
|
|
26399
|
-
super(), this.defaultSlot = la(), this.href =
|
|
26400
|
+
super(), this.defaultSlot = la(), this.href = h2.props.href.default, this.iconName = void 0, this.iconPosition = void 0, this.external = h2.props.external.default, this.target = h2.props.target.default, this.slotController = new Ac(this, this.defaultSlot);
|
|
26400
26401
|
}
|
|
26401
26402
|
render() {
|
|
26402
26403
|
const r = {
|
|
@@ -26528,7 +26529,7 @@ const gI = "pkt-messagebox", vI = !0, yI = {
|
|
|
26528
26529
|
default: {
|
|
26529
26530
|
description: "Innholdet i meldingsboksen"
|
|
26530
26531
|
}
|
|
26531
|
-
},
|
|
26532
|
+
}, m2 = {
|
|
26532
26533
|
name: gI,
|
|
26533
26534
|
"css-class": "pkt-messagebox",
|
|
26534
26535
|
isElement: vI,
|
|
@@ -26543,7 +26544,7 @@ var wI = Object.defineProperty, DI = Object.getOwnPropertyDescriptor, Im = (n, r
|
|
|
26543
26544
|
};
|
|
26544
26545
|
let tp = class extends oo {
|
|
26545
26546
|
constructor() {
|
|
26546
|
-
super(), this.defaultSlot = la(), this.closable =
|
|
26547
|
+
super(), this.defaultSlot = la(), this.closable = m2.props.closable.default, this.compact = m2.props.compact.default, this.title = "", this.skin = m2.props.skin.default, this._isClosed = !1, this.close = (r) => {
|
|
26547
26548
|
this._isClosed = !0, this.dispatchEvent(new CustomEvent("close", { detail: { origin: r }, bubbles: !0 })), this.dispatchEvent(new CustomEvent("on-close", { detail: { origin: r }, bubbles: !0 }));
|
|
26548
26549
|
}, this.slotController = new Ac(this, this.defaultSlot), this._isClosed = !1;
|
|
26549
26550
|
}
|
|
@@ -26626,7 +26627,7 @@ const SI = "pkt-modal", xI = !0, CI = {
|
|
|
26626
26627
|
default: {
|
|
26627
26628
|
description: "Innholdet i meldingen. Her tilbyr vi støtteklasser for å style 1-3 knapper i modalen."
|
|
26628
26629
|
}
|
|
26629
|
-
},
|
|
26630
|
+
}, g2 = {
|
|
26630
26631
|
name: SI,
|
|
26631
26632
|
"css-class": "pkt-modal",
|
|
26632
26633
|
isElements: xI,
|
|
@@ -26641,7 +26642,7 @@ var TI = Object.defineProperty, FI = Object.getOwnPropertyDescriptor, If = (n, r
|
|
|
26641
26642
|
};
|
|
26642
26643
|
let Tc = class extends oo {
|
|
26643
26644
|
constructor() {
|
|
26644
|
-
super(), this.headingText = "", this.removePadding = !1, this.hideCloseButton =
|
|
26645
|
+
super(), this.headingText = "", this.removePadding = !1, this.hideCloseButton = g2.props.hideCloseButton.default, this.closeOnBackdropClick = g2.props.closeOnBackdropClick.default, this.size = g2.props.size.default, this.defaultSlot = la(), this.dialogRef = la(), this._isOpen = !1, this.close = (n, r = !1) => {
|
|
26645
26646
|
var s;
|
|
26646
26647
|
this._isOpen = !1, r || (s = this.dialogRef.value) == null || s.close();
|
|
26647
26648
|
const u = document.activeElement;
|
|
@@ -27972,7 +27973,7 @@ function S0(n, r, s) {
|
|
|
27972
27973
|
` ? "\\n" : "\\r";
|
|
27973
27974
|
}), f.singleQuotes ? (n = n.replace(/\\?'/g, "\\'"), "'" + n + "'") : (n = n.replace(/"/g, '\\"'), '"' + n + '"');
|
|
27974
27975
|
}
|
|
27975
|
-
var cj = HT.prettyPrint = S0,
|
|
27976
|
+
var cj = HT.prettyPrint = S0, P2 = { exports: {} }, Yn = {};
|
|
27976
27977
|
/**
|
|
27977
27978
|
* @license React
|
|
27978
27979
|
* react-is.production.min.js
|
|
@@ -28150,8 +28151,8 @@ function pj() {
|
|
|
28150
28151
|
Kn.ContextConsumer = re, Kn.ContextProvider = oe, Kn.Element = Te, Kn.ForwardRef = ve, Kn.Fragment = ze, Kn.Lazy = rt, Kn.Memo = Ke, Kn.Portal = Ne, Kn.Profiler = Se, Kn.StrictMode = Ue, Kn.Suspense = Ge, Kn.SuspenseList = He, Kn.isAsyncMode = Ae, Kn.isConcurrentMode = K, Kn.isContextConsumer = ce, Kn.isContextProvider = mt, Kn.isElement = lt, Kn.isForwardRef = ut, Kn.isFragment = gt, Kn.isLazy = at, Kn.isMemo = $t, Kn.isPortal = Lt, Kn.isProfiler = an, Kn.isStrictMode = Tn, Kn.isSuspense = gr, Kn.isSuspenseList = en, Kn.isValidElementType = te, Kn.typeOf = z;
|
|
28151
28152
|
}()), Kn;
|
|
28152
28153
|
}
|
|
28153
|
-
process.env.NODE_ENV === "production" ?
|
|
28154
|
-
var ku =
|
|
28154
|
+
process.env.NODE_ENV === "production" ? P2.exports = dj() : P2.exports = pj();
|
|
28155
|
+
var ku = P2.exports, Cc = function(n, r) {
|
|
28155
28156
|
return n === 0 ? "" : new Array(n * r).fill(" ").join("");
|
|
28156
28157
|
};
|
|
28157
28158
|
function Zv(n) {
|
|
@@ -28166,20 +28167,20 @@ function m_(n) {
|
|
|
28166
28167
|
return fj(n) || hj(n) || mj(n) || gj();
|
|
28167
28168
|
}
|
|
28168
28169
|
function fj(n) {
|
|
28169
|
-
if (Array.isArray(n)) return $
|
|
28170
|
+
if (Array.isArray(n)) return $2(n);
|
|
28170
28171
|
}
|
|
28171
28172
|
function hj(n) {
|
|
28172
28173
|
if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
|
|
28173
28174
|
}
|
|
28174
28175
|
function mj(n, r) {
|
|
28175
28176
|
if (n) {
|
|
28176
|
-
if (typeof n == "string") return $
|
|
28177
|
+
if (typeof n == "string") return $2(n, r);
|
|
28177
28178
|
var s = Object.prototype.toString.call(n).slice(8, -1);
|
|
28178
28179
|
if (s === "Object" && n.constructor && (s = n.constructor.name), s === "Map" || s === "Set") return Array.from(n);
|
|
28179
|
-
if (s === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)) return $
|
|
28180
|
+
if (s === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)) return $2(n, r);
|
|
28180
28181
|
}
|
|
28181
28182
|
}
|
|
28182
|
-
function $
|
|
28183
|
+
function $2(n, r) {
|
|
28183
28184
|
(r == null || r > n.length) && (r = n.length);
|
|
28184
28185
|
for (var s = 0, u = new Array(r); s < r; s++) u[s] = n[s];
|
|
28185
28186
|
return u;
|
|
@@ -28188,15 +28189,15 @@ function gj() {
|
|
|
28188
28189
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
28189
28190
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
28190
28191
|
}
|
|
28191
|
-
function
|
|
28192
|
+
function R2(n, r) {
|
|
28192
28193
|
return n === null || Zv(n) !== "object" || n instanceof Date || n instanceof RegExp || /* @__PURE__ */ pL.isValidElement(n) ? n : (r.add(n), Array.isArray(n) ? n.map(function(s) {
|
|
28193
|
-
return
|
|
28194
|
+
return R2(s, r);
|
|
28194
28195
|
}) : Object.keys(n).sort().reduce(function(s, u) {
|
|
28195
|
-
return u === "_owner" || (u === "current" || r.has(n[u]) ? s[u] = "[Circular]" : s[u] =
|
|
28196
|
+
return u === "_owner" || (u === "current" || r.has(n[u]) ? s[u] = "[Circular]" : s[u] = R2(n[u], r)), s;
|
|
28196
28197
|
}, {}));
|
|
28197
28198
|
}
|
|
28198
28199
|
function vj(n) {
|
|
28199
|
-
return
|
|
28200
|
+
return R2(n, /* @__PURE__ */ new WeakSet());
|
|
28200
28201
|
}
|
|
28201
28202
|
var qT = function(r) {
|
|
28202
28203
|
return {
|
|
@@ -28222,7 +28223,7 @@ var qT = function(r) {
|
|
|
28222
28223
|
key: r,
|
|
28223
28224
|
childrens: s
|
|
28224
28225
|
};
|
|
28225
|
-
}, wj = !!
|
|
28226
|
+
}, wj = !!X2, WT = function(r) {
|
|
28226
28227
|
return !r.name || r.name === "_default" ? "No Display Name" : r.name;
|
|
28227
28228
|
}, Dj = function n(r) {
|
|
28228
28229
|
switch (!0) {
|
|
@@ -28285,7 +28286,7 @@ var qT = function(r) {
|
|
|
28285
28286
|
var C = v_(r.type.defaultProps || {}, g_), _ = vn.Children.toArray(r.props.children).filter(xj).map(function(P) {
|
|
28286
28287
|
return n(P, s);
|
|
28287
28288
|
});
|
|
28288
|
-
return wj && r.type ===
|
|
28289
|
+
return wj && r.type === X2 ? kj(D, _) : bj(v, g, C, _);
|
|
28289
28290
|
};
|
|
28290
28291
|
function Cj() {
|
|
28291
28292
|
}
|
|
@@ -28690,25 +28691,25 @@ Xv.castInput = function(n) {
|
|
|
28690
28691
|
var r = this.options, s = r.undefinedReplacement, u = r.stringifyReplacer, f = u === void 0 ? function(v, g) {
|
|
28691
28692
|
return typeof g > "u" ? s : g;
|
|
28692
28693
|
} : u;
|
|
28693
|
-
return typeof n == "string" ? n : JSON.stringify(
|
|
28694
|
+
return typeof n == "string" ? n : JSON.stringify(L2(n, null, null, f), f, " ");
|
|
28694
28695
|
};
|
|
28695
28696
|
Xv.equals = function(n, r) {
|
|
28696
28697
|
return ap.prototype.equals.call(Xv, n.replace(/,([\r\n])/g, "$1"), r.replace(/,([\r\n])/g, "$1"));
|
|
28697
28698
|
};
|
|
28698
|
-
function
|
|
28699
|
+
function L2(n, r, s, u, f) {
|
|
28699
28700
|
r = r || [], s = s || [], u && (n = u(f, n));
|
|
28700
28701
|
var v;
|
|
28701
28702
|
for (v = 0; v < r.length; v += 1) if (r[v] === n) return s[v];
|
|
28702
28703
|
var g;
|
|
28703
28704
|
if (fM.call(n) === "[object Array]") {
|
|
28704
|
-
for (r.push(n), g = new Array(n.length), s.push(g), v = 0; v < n.length; v += 1) g[v] =
|
|
28705
|
+
for (r.push(n), g = new Array(n.length), s.push(g), v = 0; v < n.length; v += 1) g[v] = L2(n[v], r, s, u, f);
|
|
28705
28706
|
return r.pop(), s.pop(), g;
|
|
28706
28707
|
}
|
|
28707
28708
|
if (n && n.toJSON && (n = n.toJSON()), x0(n) === "object" && n !== null) {
|
|
28708
28709
|
r.push(n), g = {}, s.push(g);
|
|
28709
28710
|
var D = [], C;
|
|
28710
28711
|
for (C in n) n.hasOwnProperty(C) && D.push(C);
|
|
28711
|
-
for (D.sort(), v = 0; v < D.length; v += 1) C = D[v], g[C] =
|
|
28712
|
+
for (D.sort(), v = 0; v < D.length; v += 1) C = D[v], g[C] = L2(n[C], r, s, u, C);
|
|
28712
28713
|
r.pop(), s.pop();
|
|
28713
28714
|
} else g = n;
|
|
28714
28715
|
return g;
|
|
@@ -28867,10 +28868,10 @@ function TM(n, r = "", s = {}) {
|
|
|
28867
28868
|
function FM(n, r) {
|
|
28868
28869
|
return { type: Oc, contents: n, groupId: r.groupId, negate: r.negate };
|
|
28869
28870
|
}
|
|
28870
|
-
function
|
|
28871
|
+
function O2(n) {
|
|
28871
28872
|
return { type: Bc, contents: n };
|
|
28872
28873
|
}
|
|
28873
|
-
var AM = { type: Ic }, V0 = { type: Is }, NM = { type: Lc }, cD = { type: gi, hard: !0 }, oF = { type: gi, hard: !0, literal: !0 }, sF = { type: gi }, PM = { type: gi, soft: !0 }, Ff = [cD, V0], lF = [oF, V0],
|
|
28874
|
+
var AM = { type: Ic }, V0 = { type: Is }, NM = { type: Lc }, cD = { type: gi, hard: !0 }, oF = { type: gi, hard: !0, literal: !0 }, sF = { type: gi }, PM = { type: gi, soft: !0 }, Ff = [cD, V0], lF = [oF, V0], B2 = { type: Mf };
|
|
28874
28875
|
function uF(n, r) {
|
|
28875
28876
|
let s = [];
|
|
28876
28877
|
for (let u = 0; u < r.length; u++) u !== 0 && s.push(n), s.push(r[u]);
|
|
@@ -29152,12 +29153,12 @@ function fF() {
|
|
|
29152
29153
|
return { value: "", length: 0, queue: [] };
|
|
29153
29154
|
}
|
|
29154
29155
|
function XM(n, r) {
|
|
29155
|
-
return
|
|
29156
|
+
return I2(n, { type: "indent" }, r);
|
|
29156
29157
|
}
|
|
29157
29158
|
function JM(n, r, s) {
|
|
29158
|
-
return r === Number.NEGATIVE_INFINITY ? n.root || fF() : r < 0 ?
|
|
29159
|
+
return r === Number.NEGATIVE_INFINITY ? n.root || fF() : r < 0 ? I2(n, { type: "dedent" }, s) : r ? r.type === "root" ? { ...n, root: n } : I2(n, { type: typeof r == "string" ? "stringAlign" : "numberAlign", n: r }, s) : n;
|
|
29159
29160
|
}
|
|
29160
|
-
function
|
|
29161
|
+
function I2(n, r, s) {
|
|
29161
29162
|
let u = r.type === "dedent" ? n.queue.slice(0, -1) : [...n.queue, r], f = "", v = 0, g = 0, D = 0;
|
|
29162
29163
|
for (let M of u) switch (M.type) {
|
|
29163
29164
|
case "indent":
|
|
@@ -29192,7 +29193,7 @@ function Iw(n, r, s) {
|
|
|
29192
29193
|
g = 0, D = 0;
|
|
29193
29194
|
}
|
|
29194
29195
|
}
|
|
29195
|
-
function
|
|
29196
|
+
function j2(n) {
|
|
29196
29197
|
let r = 0, s = 0, u = n.length;
|
|
29197
29198
|
e: for (; u--; ) {
|
|
29198
29199
|
let f = n[u];
|
|
@@ -29239,7 +29240,7 @@ function g0(n, r, s, u, f, v) {
|
|
|
29239
29240
|
D.push({ mode: _, doc: P.contents });
|
|
29240
29241
|
break;
|
|
29241
29242
|
case Lc:
|
|
29242
|
-
s +=
|
|
29243
|
+
s += j2(C);
|
|
29243
29244
|
break;
|
|
29244
29245
|
case Lo: {
|
|
29245
29246
|
if (v && P.break) return !1;
|
|
@@ -29292,7 +29293,7 @@ function K0(n, r) {
|
|
|
29292
29293
|
g.push({ ind: JM(R, M.n, r), mode: B, doc: M.contents });
|
|
29293
29294
|
break;
|
|
29294
29295
|
case Lc:
|
|
29295
|
-
v -=
|
|
29296
|
+
v -= j2(D);
|
|
29296
29297
|
break;
|
|
29297
29298
|
case Lo:
|
|
29298
29299
|
switch (B) {
|
|
@@ -29376,7 +29377,7 @@ function K0(n, r) {
|
|
|
29376
29377
|
g.push({ ind: R, mode: B, doc: M }, ..._.reverse()), _.length = 0;
|
|
29377
29378
|
break;
|
|
29378
29379
|
}
|
|
29379
|
-
M.literal ? R.root ? (D.push(f, R.root.value), v = R.root.length) : (D.push(f), v = 0) : (v -=
|
|
29380
|
+
M.literal ? R.root ? (D.push(f, R.root.value), v = R.root.length) : (D.push(f), v = 0) : (v -= j2(D), D.push(f + R.value), v = R.length);
|
|
29380
29381
|
break;
|
|
29381
29382
|
}
|
|
29382
29383
|
break;
|
|
@@ -29402,7 +29403,7 @@ function e4(n, r, s = 0) {
|
|
|
29402
29403
|
for (let f = s; f < n.length; ++f) n[f] === " " ? u = u + r - u % r : u++;
|
|
29403
29404
|
return u;
|
|
29404
29405
|
}
|
|
29405
|
-
var fD = e4, Cf,
|
|
29406
|
+
var fD = e4, Cf, M2, C0, t4 = class {
|
|
29406
29407
|
constructor(n) {
|
|
29407
29408
|
aM(this, Cf), this.stack = [n];
|
|
29408
29409
|
}
|
|
@@ -29461,7 +29462,7 @@ var fD = e4, Cf, Mw, C0, t4 = class {
|
|
|
29461
29462
|
return Ka(!1, this.stack, -1);
|
|
29462
29463
|
}
|
|
29463
29464
|
getNode(n = 0) {
|
|
29464
|
-
let r = Fv(this, Cf,
|
|
29465
|
+
let r = Fv(this, Cf, M2).call(this, n);
|
|
29465
29466
|
return r === -1 ? null : this.stack[r];
|
|
29466
29467
|
}
|
|
29467
29468
|
getParentNode(n = 0) {
|
|
@@ -29477,7 +29478,7 @@ var fD = e4, Cf, Mw, C0, t4 = class {
|
|
|
29477
29478
|
}
|
|
29478
29479
|
}
|
|
29479
29480
|
callParent(n, r = 0) {
|
|
29480
|
-
let s = Fv(this, Cf,
|
|
29481
|
+
let s = Fv(this, Cf, M2).call(this, r + 1), u = this.stack.splice(s + 1);
|
|
29481
29482
|
try {
|
|
29482
29483
|
return n(this);
|
|
29483
29484
|
} finally {
|
|
@@ -29517,7 +29518,7 @@ var fD = e4, Cf, Mw, C0, t4 = class {
|
|
|
29517
29518
|
return !1;
|
|
29518
29519
|
}
|
|
29519
29520
|
};
|
|
29520
|
-
Cf = /* @__PURE__ */ new WeakSet(),
|
|
29521
|
+
Cf = /* @__PURE__ */ new WeakSet(), M2 = function(n) {
|
|
29521
29522
|
let { stack: r } = this;
|
|
29522
29523
|
for (let s = r.length - 1; s >= 0; s -= 2) if (!Array.isArray(r[s]) && --n < 0) return s;
|
|
29523
29524
|
return -1;
|
|
@@ -29529,7 +29530,7 @@ Cf = /* @__PURE__ */ new WeakSet(), Mw = function(n) {
|
|
|
29529
29530
|
}
|
|
29530
29531
|
};
|
|
29531
29532
|
var n4 = t4, hF = new Proxy(() => {
|
|
29532
|
-
}, { get: () => hF }),
|
|
29533
|
+
}, { get: () => hF }), z2 = hF;
|
|
29533
29534
|
function r4(n) {
|
|
29534
29535
|
return n !== null && typeof n == "object";
|
|
29535
29536
|
}
|
|
@@ -29612,13 +29613,13 @@ function Ef(n, r, s) {
|
|
|
29612
29613
|
function Cm(n, r) {
|
|
29613
29614
|
r.leading = !1, r.trailing = !0, hD(n, r);
|
|
29614
29615
|
}
|
|
29615
|
-
var
|
|
29616
|
+
var v2 = /* @__PURE__ */ new WeakMap();
|
|
29616
29617
|
function mD(n, r) {
|
|
29617
|
-
if (
|
|
29618
|
+
if (v2.has(n)) return v2.get(n);
|
|
29618
29619
|
let { printer: { getCommentChildNodes: s, canAttachComment: u, getVisitorKeys: f }, locStart: v, locEnd: g } = r;
|
|
29619
29620
|
if (!u) return [];
|
|
29620
29621
|
let D = ((s == null ? void 0 : s(n, r)) ?? [...mF(n, { getVisitorKeys: G0(f) })]).flatMap((C) => u(C) ? [C] : mD(C, r));
|
|
29621
|
-
return D.sort((C, _) => v(C) - v(_) || g(C) - g(_)),
|
|
29622
|
+
return D.sort((C, _) => v(C) - v(_) || g(C) - g(_)), v2.set(n, D), D;
|
|
29622
29623
|
}
|
|
29623
29624
|
function bF(n, r, s, u) {
|
|
29624
29625
|
let { locStart: f, locEnd: v } = s, g = f(r), D = v(r), C = mD(n, s), _, P, $ = 0, R = C.length;
|
|
@@ -29636,16 +29637,16 @@ function bF(n, r, s, u) {
|
|
|
29636
29637
|
throw new Error("Comment location overlaps with node location");
|
|
29637
29638
|
}
|
|
29638
29639
|
if ((u == null ? void 0 : u.type) === "TemplateLiteral") {
|
|
29639
|
-
let { quasis: B } = u, M =
|
|
29640
|
-
_ &&
|
|
29640
|
+
let { quasis: B } = u, M = b2(B, r, s);
|
|
29641
|
+
_ && b2(B, _, s) !== M && (_ = null), P && b2(B, P, s) !== M && (P = null);
|
|
29641
29642
|
}
|
|
29642
29643
|
return { enclosingNode: u, precedingNode: _, followingNode: P };
|
|
29643
29644
|
}
|
|
29644
|
-
var
|
|
29645
|
+
var y2 = () => !1;
|
|
29645
29646
|
function h4(n, r) {
|
|
29646
29647
|
let { comments: s } = n;
|
|
29647
29648
|
if (delete n.comments, !c4(s) || !r.printer.canAttachComment) return;
|
|
29648
|
-
let u = [], { locStart: f, locEnd: v, printer: { experimentalFeatures: { avoidAstMutation: g = !1 } = {}, handleComments: D = {} }, originalText: C } = r, { ownLine: _ =
|
|
29649
|
+
let u = [], { locStart: f, locEnd: v, printer: { experimentalFeatures: { avoidAstMutation: g = !1 } = {}, handleComments: D = {} }, originalText: C } = r, { ownLine: _ = y2, endOfLine: P = y2, remaining: $ = y2 } = D, R = s.map((B, M) => ({ ...bF(n, B, r), comment: B, text: C, options: r, ast: n, isLastComment: s.length - 1 === M }));
|
|
29649
29650
|
for (let [B, M] of R.entries()) {
|
|
29650
29651
|
let { comment: V, precedingNode: H, enclosingNode: he, followingNode: Q, text: Y, options: te, ast: z, isLastComment: re } = M;
|
|
29651
29652
|
if (te.parser === "json" || te.parser === "json5" || te.parser === "jsonc" || te.parser === "__js_expression" || te.parser === "__ts_expression" || te.parser === "__vue_expression" || te.parser === "__vue_ts_expression") {
|
|
@@ -29694,7 +29695,7 @@ function C_(n, r) {
|
|
|
29694
29695
|
let { precedingNode: v, followingNode: g } = n[0], D = r.locStart(g), C;
|
|
29695
29696
|
for (C = f; C > 0; --C) {
|
|
29696
29697
|
let { comment: _, precedingNode: P, followingNode: $ } = n[C - 1];
|
|
29697
|
-
|
|
29698
|
+
z2.strictEqual(P, v), z2.strictEqual($, g);
|
|
29698
29699
|
let R = r.originalText.slice(r.locEnd(_), D);
|
|
29699
29700
|
if (((u = (s = r.printer).isGap) == null ? void 0 : u.call(s, R, r)) ?? /^[\s(]*$/u.test(R)) D = r.locStart(_);
|
|
29700
29701
|
else break;
|
|
@@ -29703,7 +29704,7 @@ function C_(n, r) {
|
|
|
29703
29704
|
for (let _ of [v, g]) _.comments && _.comments.length > 1 && _.comments.sort((P, $) => r.locStart(P) - r.locStart($));
|
|
29704
29705
|
n.length = 0;
|
|
29705
29706
|
}
|
|
29706
|
-
function
|
|
29707
|
+
function b2(n, r, s) {
|
|
29707
29708
|
let u = s.locStart(r) - 1;
|
|
29708
29709
|
for (let f = 1; f < n.length; ++f) if (u < s.locStart(n[f])) return f - 1;
|
|
29709
29710
|
return 0;
|
|
@@ -29734,9 +29735,9 @@ function b4(n, r, s) {
|
|
|
29734
29735
|
let f = n.node, v = wF(n, r), { printer: g, originalText: D, locStart: C } = r, _ = (u = g.isBlockComment) == null ? void 0 : u.call(g, f);
|
|
29735
29736
|
if (s != null && s.hasLineSuffix && !(s != null && s.isBlock) || Xd(D, C(f), { backwards: !0 })) {
|
|
29736
29737
|
let P = gD(D, C(f));
|
|
29737
|
-
return { doc:
|
|
29738
|
+
return { doc: O2([Ff, P ? Ff : "", v]), isBlock: _, hasLineSuffix: !0 };
|
|
29738
29739
|
}
|
|
29739
|
-
return !_ || s != null && s.hasLineSuffix ? { doc: [
|
|
29740
|
+
return !_ || s != null && s.hasLineSuffix ? { doc: [O2([" ", v]), V0], isBlock: _, hasLineSuffix: !0 } : { doc: [" ", v], isBlock: _, hasLineSuffix: !1 };
|
|
29740
29741
|
}
|
|
29741
29742
|
function k4(n, r) {
|
|
29742
29743
|
let s = n.node;
|
|
@@ -29843,7 +29844,7 @@ function EF(n, r) {
|
|
|
29843
29844
|
`, 1)[0].length);
|
|
29844
29845
|
return f > r && f > v ? u : s;
|
|
29845
29846
|
}
|
|
29846
|
-
var N_ = q0(sD()),
|
|
29847
|
+
var N_ = q0(sD()), k2 = [], P_ = [];
|
|
29847
29848
|
function P4(n, r) {
|
|
29848
29849
|
if (n === r) return 0;
|
|
29849
29850
|
let s = n;
|
|
@@ -29854,8 +29855,8 @@ function P4(n, r) {
|
|
|
29854
29855
|
for (; v < u && n.charCodeAt(v) === r.charCodeAt(v); ) v++;
|
|
29855
29856
|
if (u -= v, f -= v, u === 0) return f;
|
|
29856
29857
|
let g, D, C, _, P = 0, $ = 0;
|
|
29857
|
-
for (; P < u; ) P_[P] = n.charCodeAt(v + P),
|
|
29858
|
-
for (; $ < f; ) for (g = r.charCodeAt(v + $), C = $++, D = $, P = 0; P < u; P++) _ = g === P_[P] ? C : C + 1, C =
|
|
29858
|
+
for (; P < u; ) P_[P] = n.charCodeAt(v + P), k2[P] = ++P;
|
|
29859
|
+
for (; $ < f; ) for (g = r.charCodeAt(v + $), C = $++, D = $, P = 0; P < u; P++) _ = g === P_[P] ? C : C + 1, C = k2[P], D = k2[P] = C > D ? _ > D ? D + 1 : _ : _ > C ? C + 1 : _;
|
|
29859
29860
|
return D;
|
|
29860
29861
|
}
|
|
29861
29862
|
var _F = (n, r, { descriptor: s, logger: u, schemas: f }) => {
|
|
@@ -30039,11 +30040,11 @@ function O_(n, r, s = !1) {
|
|
|
30039
30040
|
function B_(n, r) {
|
|
30040
30041
|
return typeof n == "string" || "key" in n ? { from: r, to: n } : "from" in n ? { from: n.from, to: n.to } : { from: r, to: n.to };
|
|
30041
30042
|
}
|
|
30042
|
-
function
|
|
30043
|
+
function U2(n, r) {
|
|
30043
30044
|
return n === void 0 ? [] : Array.isArray(n) ? n.map((s) => B_(s, r)) : [B_(n, r)];
|
|
30044
30045
|
}
|
|
30045
30046
|
function I_(n, r) {
|
|
30046
|
-
let s =
|
|
30047
|
+
let s = U2(typeof n == "object" && "redirect" in n ? n.redirect : n, r);
|
|
30047
30048
|
return s.length === 0 ? { remain: r, redirect: s } : typeof n == "object" && "remain" in n ? { remain: n.remain, redirect: s } : { redirect: s };
|
|
30048
30049
|
}
|
|
30049
30050
|
function Y4(n, r) {
|
|
@@ -30097,7 +30098,7 @@ var K4 = class extends ip {
|
|
|
30097
30098
|
constructor(n, r) {
|
|
30098
30099
|
let { logger: s = console, loggerPrintWidth: u = 80, descriptor: f = Z4, unknown: v = X4, invalid: g = J4, deprecated: D = e8, missing: C = () => !1, required: _ = () => !1, preprocess: P = (R) => R, postprocess: $ = () => E0 } = r || {};
|
|
30099
30100
|
this._utils = { descriptor: f, logger: s || { warn: () => {
|
|
30100
|
-
} }, loggerPrintWidth: u, schemas: M4(n, "name"), normalizeDefaultResult: R_, normalizeExpectedResult: TF, normalizeDeprecatedResult: O_, normalizeForwardResult:
|
|
30101
|
+
} }, loggerPrintWidth: u, schemas: M4(n, "name"), normalizeDefaultResult: R_, normalizeExpectedResult: TF, normalizeDeprecatedResult: O_, normalizeForwardResult: U2, normalizeRedirectResult: I_, normalizeValidateResult: L_ }, this._unknownHandler = v, this._invalidHandler = V4(g), this._deprecatedHandler = D, this._identifyMissing = (R, B) => !(R in B) || C(R, B), this._identifyRequired = _, this._preprocess = P, this._postprocess = $, this.cleanHistory();
|
|
30101
30102
|
}
|
|
30102
30103
|
cleanHistory() {
|
|
30103
30104
|
this._hasDeprecationWarned = U4();
|
|
@@ -30143,7 +30144,7 @@ var K4 = class extends ip {
|
|
|
30143
30144
|
}
|
|
30144
30145
|
}
|
|
30145
30146
|
};
|
|
30146
|
-
|
|
30147
|
+
U2(g.forward(D, this._utils), D).forEach(C);
|
|
30147
30148
|
let P = I_(g.redirect(D, this._utils), D);
|
|
30148
30149
|
if (P.redirect.forEach(C), "remain" in P) {
|
|
30149
30150
|
let $ = P.remain;
|
|
@@ -30198,7 +30199,7 @@ var K4 = class extends ip {
|
|
|
30198
30199
|
}
|
|
30199
30200
|
}
|
|
30200
30201
|
}
|
|
30201
|
-
},
|
|
30202
|
+
}, w2;
|
|
30202
30203
|
function n8(n, r, { logger: s = !1, isCLI: u = !1, passThrough: f = !1, FlagSchema: v, descriptor: g } = {}) {
|
|
30203
30204
|
if (u) {
|
|
30204
30205
|
if (!v) throw new Error("'FlagSchema' option is required.");
|
|
@@ -30208,9 +30209,9 @@ function n8(n, r, { logger: s = !1, isCLI: u = !1, passThrough: f = !1, FlagSche
|
|
|
30208
30209
|
let { _: V, ...H } = M.schemas;
|
|
30209
30210
|
return _F(R, B, { ...M, schemas: H });
|
|
30210
30211
|
}, C = r8(r, { isCLI: u, FlagSchema: v }), _ = new t8(C, { logger: s, unknown: D, descriptor: g }), P = s !== !1;
|
|
30211
|
-
P &&
|
|
30212
|
+
P && w2 && (_._hasDeprecationWarned = w2);
|
|
30212
30213
|
let $ = _.normalize(n);
|
|
30213
|
-
return P && (
|
|
30214
|
+
return P && (w2 = _._hasDeprecationWarned), $;
|
|
30214
30215
|
}
|
|
30215
30216
|
function r8(n, { isCLI: r, FlagSchema: s }) {
|
|
30216
30217
|
let u = [];
|
|
@@ -30383,7 +30384,7 @@ async function Q0(n, r) {
|
|
|
30383
30384
|
function z_(n, r, s, u, f) {
|
|
30384
30385
|
var v;
|
|
30385
30386
|
let { node: g } = n, { printer: D } = r, C;
|
|
30386
|
-
return (v = D.hasPrettierIgnore) != null && v.call(D, n) ? C = g8(n, r) : f.has(g) ? C = f.get(g) : C = D.print(n, r, s, u), g === r.cursorNode && (C = pF(C, (_) => [
|
|
30387
|
+
return (v = D.hasPrettierIgnore) != null && v.call(D, n) ? C = g8(n, r) : f.has(g) ? C = f.get(g) : C = D.print(n, r, s, u), g === r.cursorNode && (C = pF(C, (_) => [B2, _, B2])), D.printComment && (!D.willPrintOwnComments || !D.willPrintOwnComments(n, r)) && (C = w4(n, C, r)), C;
|
|
30387
30388
|
}
|
|
30388
30389
|
async function $F(n, r) {
|
|
30389
30390
|
let s = n.comments ?? [];
|
|
@@ -30443,11 +30444,11 @@ function C8(n, r, { locStart: s, locEnd: u }) {
|
|
|
30443
30444
|
}
|
|
30444
30445
|
return { startNode: f, endNode: v };
|
|
30445
30446
|
}
|
|
30446
|
-
function
|
|
30447
|
+
function H2(n, r, s, u, f = [], v) {
|
|
30447
30448
|
let { locStart: g, locEnd: D } = s, C = g(n), _ = D(n);
|
|
30448
30449
|
if (!(r > _ || r < C || v === "rangeEnd" && r === C || v === "rangeStart" && r === _)) {
|
|
30449
30450
|
for (let P of mD(n, s)) {
|
|
30450
|
-
let $ =
|
|
30451
|
+
let $ = H2(P, r, s, u, [n, ...f], v);
|
|
30451
30452
|
if ($) return $;
|
|
30452
30453
|
}
|
|
30453
30454
|
if (!u || u(n, f[0])) return { node: n, parentNodes: f };
|
|
@@ -30484,10 +30485,10 @@ function H_(n, r, s) {
|
|
|
30484
30485
|
}
|
|
30485
30486
|
function T8(n, r, s) {
|
|
30486
30487
|
let { rangeStart: u, rangeEnd: f, locStart: v, locEnd: g } = r;
|
|
30487
|
-
|
|
30488
|
+
z2.ok(f > u);
|
|
30488
30489
|
let D = n.slice(u, f).search(/\S/u), C = D === -1;
|
|
30489
30490
|
if (!C) for (u += D; f > u && !/\S/u.test(n[f - 1]); --f) ;
|
|
30490
|
-
let _ =
|
|
30491
|
+
let _ = H2(s, u, r, (B, M) => H_(r, B, M), [], "rangeStart"), P = C ? _ : H2(s, f, r, (B) => H_(r, B), [], "rangeEnd");
|
|
30491
30492
|
if (!_ || !P) return { rangeStart: 0, rangeEnd: 0 };
|
|
30492
30493
|
let $, R;
|
|
30493
30494
|
if (S8(r)) {
|
|
@@ -30536,12 +30537,12 @@ async function F8(n, r) {
|
|
|
30536
30537
|
}
|
|
30537
30538
|
return { formatted: B, cursorOffset: R, comments: P.comments };
|
|
30538
30539
|
}
|
|
30539
|
-
function
|
|
30540
|
+
function D2(n, r, s) {
|
|
30540
30541
|
return typeof r != "number" || Number.isNaN(r) || r < 0 || r > n.length ? s : r;
|
|
30541
30542
|
}
|
|
30542
30543
|
function W_(n, r) {
|
|
30543
30544
|
let { cursorOffset: s, rangeStart: u, rangeEnd: f } = r;
|
|
30544
|
-
return s =
|
|
30545
|
+
return s = D2(n, s, -1), u = D2(n, u, 0), f = D2(n, f, n.length), { ...r, cursorOffset: s, rangeStart: u, rangeEnd: f };
|
|
30545
30546
|
}
|
|
30546
30547
|
function BF(n, r) {
|
|
30547
30548
|
let { cursorOffset: s, rangeStart: u, rangeEnd: f, endOfLine: v } = W_(n, r), g = n.charAt(0) === LF;
|
|
@@ -30585,7 +30586,7 @@ async function R8(n, r) {
|
|
|
30585
30586
|
}
|
|
30586
30587
|
var jF = {};
|
|
30587
30588
|
H0(jF, { builders: () => L8, printer: () => O8, utils: () => B8 });
|
|
30588
|
-
var L8 = { join: uF, line: sF, softline: PM, hardline: Ff, literalline: lF, group: aF, conditionalGroup: _M, fill: iF, lineSuffix:
|
|
30589
|
+
var L8 = { join: uF, line: sF, softline: PM, hardline: Ff, literalline: lF, group: aF, conditionalGroup: _M, fill: iF, lineSuffix: O2, lineSuffixBoundary: AM, cursor: B2, breakParent: V0, ifBreak: TM, trim: NM, indent: B0, indentIfBreak: FM, align: Pm, addAlignmentToDoc: cF, markAsRoot: CM, dedentToRoot: xM, dedent: EM, hardlineWithoutBreakParent: cD, literallineWithoutBreakParent: oF, label: $M, concat: (n) => n }, O8 = { printDocToString: K0 }, B8 = { willBreak: HM, traverseDoc: uD, findInDoc: pD, mapDoc: Y0, removeLines: VM, stripTrailingHardline: dF, replaceEndOfLine: GM, canBreak: ZM }, I8 = "3.3.3", MF = {};
|
|
30589
30590
|
H0(MF, { addDanglingComment: () => Ef, addLeadingComment: () => xm, addTrailingComment: () => Cm, getAlignmentSize: () => fD, getIndentSize: () => q8, getMaxContinuousCount: () => Y8, getNextNonSpaceNonCommentCharacter: () => G8, getNextNonSpaceNonCommentCharacterIndex: () => r6, getStringWidth: () => dD, hasNewline: () => Xd, hasNewlineInRange: () => Z8, hasSpaces: () => J8, isNextLineEmpty: () => s6, isNextLineEmptyAfterIndex: () => kD, isPreviousLineEmpty: () => i6, makeString: () => t6, skip: () => iy, skipEverythingButNewLine: () => vF, skipInlineComment: () => vD, skipNewline: () => Rf, skipSpaces: () => rp, skipToLineEnd: () => gF, skipTrailingComment: () => yD, skipWhitespace: () => o4 });
|
|
30590
30591
|
function j8(n, r) {
|
|
30591
30592
|
if (r === !1) return !1;
|
|
@@ -32722,9 +32723,9 @@ If '${d}' is a directive input, make sure the directive is imported by the curre
|
|
|
32722
32723
|
}
|
|
32723
32724
|
return h;
|
|
32724
32725
|
}
|
|
32725
|
-
var nd = class
|
|
32726
|
+
var nd = class q2 {
|
|
32726
32727
|
constructor(h, b) {
|
|
32727
|
-
if (h instanceof
|
|
32728
|
+
if (h instanceof q2) {
|
|
32728
32729
|
this.file = h.file, this.input = h.input, this.end = h.end;
|
|
32729
32730
|
let x = h.state;
|
|
32730
32731
|
this.state = { peek: x.peek, offset: x.offset, line: x.line, column: x.column };
|
|
@@ -32734,7 +32735,7 @@ If '${d}' is a directive input, make sure the directive is imported by the curre
|
|
|
32734
32735
|
}
|
|
32735
32736
|
}
|
|
32736
32737
|
clone() {
|
|
32737
|
-
return new
|
|
32738
|
+
return new q2(this);
|
|
32738
32739
|
}
|
|
32739
32740
|
peek() {
|
|
32740
32741
|
return this.state.peek;
|
|
@@ -32775,9 +32776,9 @@ If '${d}' is a directive input, make sure the directive is imported by the curre
|
|
|
32775
32776
|
locationFromCursor(h) {
|
|
32776
32777
|
return new Ru(h.file, h.state.offset, h.state.line, h.state.column);
|
|
32777
32778
|
}
|
|
32778
|
-
}, rd = class
|
|
32779
|
+
}, rd = class W2 extends nd {
|
|
32779
32780
|
constructor(h, b) {
|
|
32780
|
-
h instanceof
|
|
32781
|
+
h instanceof W2 ? (super(h), this.internalState = { ...h.internalState }) : (super(h, b), this.internalState = this.state);
|
|
32781
32782
|
}
|
|
32782
32783
|
advance() {
|
|
32783
32784
|
this.state = this.internalState, super.advance(), this.processEscapeSequence();
|
|
@@ -32786,7 +32787,7 @@ If '${d}' is a directive input, make sure the directive is imported by the curre
|
|
|
32786
32787
|
super.init(), this.processEscapeSequence();
|
|
32787
32788
|
}
|
|
32788
32789
|
clone() {
|
|
32789
|
-
return new
|
|
32790
|
+
return new W2(this);
|
|
32790
32791
|
}
|
|
32791
32792
|
getChars(h) {
|
|
32792
32793
|
let b = h.clone(), x = "";
|
|
@@ -33329,29 +33330,29 @@ function h6(n, r) {
|
|
|
33329
33330
|
}
|
|
33330
33331
|
return f;
|
|
33331
33332
|
}
|
|
33332
|
-
function
|
|
33333
|
+
function V2(n, r) {
|
|
33333
33334
|
(r == null || r > n.length) && (r = n.length);
|
|
33334
33335
|
for (var s = 0, u = Array(r); s < r; s++) u[s] = n[s];
|
|
33335
33336
|
return u;
|
|
33336
33337
|
}
|
|
33337
33338
|
function m6(n) {
|
|
33338
|
-
if (Array.isArray(n)) return
|
|
33339
|
+
if (Array.isArray(n)) return V2(n);
|
|
33339
33340
|
}
|
|
33340
33341
|
function g6(n) {
|
|
33341
33342
|
if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
|
|
33342
33343
|
}
|
|
33343
33344
|
function v6(n, r) {
|
|
33344
33345
|
if (n) {
|
|
33345
|
-
if (typeof n == "string") return
|
|
33346
|
+
if (typeof n == "string") return V2(n, r);
|
|
33346
33347
|
var s = {}.toString.call(n).slice(8, -1);
|
|
33347
|
-
return s === "Object" && n.constructor && (s = n.constructor.name), s === "Map" || s === "Set" ? Array.from(n) : s === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s) ?
|
|
33348
|
+
return s === "Object" && n.constructor && (s = n.constructor.name), s === "Map" || s === "Set" ? Array.from(n) : s === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s) ? V2(n, r) : void 0;
|
|
33348
33349
|
}
|
|
33349
33350
|
}
|
|
33350
33351
|
function y6() {
|
|
33351
33352
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
33352
33353
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
33353
33354
|
}
|
|
33354
|
-
function
|
|
33355
|
+
function Y2(n) {
|
|
33355
33356
|
return m6(n) || g6(n) || v6(n) || y6();
|
|
33356
33357
|
}
|
|
33357
33358
|
function Jv(n) {
|
|
@@ -33384,14 +33385,14 @@ function KF(n, r, s) {
|
|
|
33384
33385
|
writable: !0
|
|
33385
33386
|
}) : n[r] = s, n;
|
|
33386
33387
|
}
|
|
33387
|
-
function
|
|
33388
|
-
return
|
|
33388
|
+
function K2() {
|
|
33389
|
+
return K2 = Object.assign ? Object.assign.bind() : function(n) {
|
|
33389
33390
|
for (var r = 1; r < arguments.length; r++) {
|
|
33390
33391
|
var s = arguments[r];
|
|
33391
33392
|
for (var u in s) ({}).hasOwnProperty.call(s, u) && (n[u] = s[u]);
|
|
33392
33393
|
}
|
|
33393
33394
|
return n;
|
|
33394
|
-
},
|
|
33395
|
+
}, K2.apply(null, arguments);
|
|
33395
33396
|
}
|
|
33396
33397
|
function Y_(n, r) {
|
|
33397
33398
|
var s = Object.keys(n);
|
|
@@ -33424,11 +33425,11 @@ function w6(n) {
|
|
|
33424
33425
|
if (r >= 4)
|
|
33425
33426
|
return [n[0], n[1], n[2], n[3], "".concat(n[0], ".").concat(n[1]), "".concat(n[0], ".").concat(n[2]), "".concat(n[0], ".").concat(n[3]), "".concat(n[1], ".").concat(n[0]), "".concat(n[1], ".").concat(n[2]), "".concat(n[1], ".").concat(n[3]), "".concat(n[2], ".").concat(n[0]), "".concat(n[2], ".").concat(n[1]), "".concat(n[2], ".").concat(n[3]), "".concat(n[3], ".").concat(n[0]), "".concat(n[3], ".").concat(n[1]), "".concat(n[3], ".").concat(n[2]), "".concat(n[0], ".").concat(n[1], ".").concat(n[2]), "".concat(n[0], ".").concat(n[1], ".").concat(n[3]), "".concat(n[0], ".").concat(n[2], ".").concat(n[1]), "".concat(n[0], ".").concat(n[2], ".").concat(n[3]), "".concat(n[0], ".").concat(n[3], ".").concat(n[1]), "".concat(n[0], ".").concat(n[3], ".").concat(n[2]), "".concat(n[1], ".").concat(n[0], ".").concat(n[2]), "".concat(n[1], ".").concat(n[0], ".").concat(n[3]), "".concat(n[1], ".").concat(n[2], ".").concat(n[0]), "".concat(n[1], ".").concat(n[2], ".").concat(n[3]), "".concat(n[1], ".").concat(n[3], ".").concat(n[0]), "".concat(n[1], ".").concat(n[3], ".").concat(n[2]), "".concat(n[2], ".").concat(n[0], ".").concat(n[1]), "".concat(n[2], ".").concat(n[0], ".").concat(n[3]), "".concat(n[2], ".").concat(n[1], ".").concat(n[0]), "".concat(n[2], ".").concat(n[1], ".").concat(n[3]), "".concat(n[2], ".").concat(n[3], ".").concat(n[0]), "".concat(n[2], ".").concat(n[3], ".").concat(n[1]), "".concat(n[3], ".").concat(n[0], ".").concat(n[1]), "".concat(n[3], ".").concat(n[0], ".").concat(n[2]), "".concat(n[3], ".").concat(n[1], ".").concat(n[0]), "".concat(n[3], ".").concat(n[1], ".").concat(n[2]), "".concat(n[3], ".").concat(n[2], ".").concat(n[0]), "".concat(n[3], ".").concat(n[2], ".").concat(n[1]), "".concat(n[0], ".").concat(n[1], ".").concat(n[2], ".").concat(n[3]), "".concat(n[0], ".").concat(n[1], ".").concat(n[3], ".").concat(n[2]), "".concat(n[0], ".").concat(n[2], ".").concat(n[1], ".").concat(n[3]), "".concat(n[0], ".").concat(n[2], ".").concat(n[3], ".").concat(n[1]), "".concat(n[0], ".").concat(n[3], ".").concat(n[1], ".").concat(n[2]), "".concat(n[0], ".").concat(n[3], ".").concat(n[2], ".").concat(n[1]), "".concat(n[1], ".").concat(n[0], ".").concat(n[2], ".").concat(n[3]), "".concat(n[1], ".").concat(n[0], ".").concat(n[3], ".").concat(n[2]), "".concat(n[1], ".").concat(n[2], ".").concat(n[0], ".").concat(n[3]), "".concat(n[1], ".").concat(n[2], ".").concat(n[3], ".").concat(n[0]), "".concat(n[1], ".").concat(n[3], ".").concat(n[0], ".").concat(n[2]), "".concat(n[1], ".").concat(n[3], ".").concat(n[2], ".").concat(n[0]), "".concat(n[2], ".").concat(n[0], ".").concat(n[1], ".").concat(n[3]), "".concat(n[2], ".").concat(n[0], ".").concat(n[3], ".").concat(n[1]), "".concat(n[2], ".").concat(n[1], ".").concat(n[0], ".").concat(n[3]), "".concat(n[2], ".").concat(n[1], ".").concat(n[3], ".").concat(n[0]), "".concat(n[2], ".").concat(n[3], ".").concat(n[0], ".").concat(n[1]), "".concat(n[2], ".").concat(n[3], ".").concat(n[1], ".").concat(n[0]), "".concat(n[3], ".").concat(n[0], ".").concat(n[1], ".").concat(n[2]), "".concat(n[3], ".").concat(n[0], ".").concat(n[2], ".").concat(n[1]), "".concat(n[3], ".").concat(n[1], ".").concat(n[0], ".").concat(n[2]), "".concat(n[3], ".").concat(n[1], ".").concat(n[2], ".").concat(n[0]), "".concat(n[3], ".").concat(n[2], ".").concat(n[0], ".").concat(n[1]), "".concat(n[3], ".").concat(n[2], ".").concat(n[1], ".").concat(n[0])];
|
|
33426
33427
|
}
|
|
33427
|
-
var
|
|
33428
|
+
var S2 = {};
|
|
33428
33429
|
function D6(n) {
|
|
33429
33430
|
if (n.length === 0 || n.length === 1) return n;
|
|
33430
33431
|
var r = n.join(".");
|
|
33431
|
-
return
|
|
33432
|
+
return S2[r] || (S2[r] = w6(n)), S2[r];
|
|
33432
33433
|
}
|
|
33433
33434
|
function S6(n) {
|
|
33434
33435
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 ? arguments[2] : void 0, u = n.filter(function(v) {
|
|
@@ -33478,7 +33479,7 @@ function GF(n) {
|
|
|
33478
33479
|
});
|
|
33479
33480
|
}
|
|
33480
33481
|
var H = $(r.children);
|
|
33481
|
-
return /* @__PURE__ */ vn.createElement(_,
|
|
33482
|
+
return /* @__PURE__ */ vn.createElement(_, K2({
|
|
33482
33483
|
key: g
|
|
33483
33484
|
}, R), H);
|
|
33484
33485
|
}
|
|
@@ -33569,7 +33570,7 @@ function ZF(n, r, s) {
|
|
|
33569
33570
|
}
|
|
33570
33571
|
function _0(n) {
|
|
33571
33572
|
var r = n.children, s = n.lineNumber, u = n.lineNumberStyle, f = n.largestLineNumber, v = n.showInlineLineNumbers, g = n.lineProps, D = g === void 0 ? {} : g, C = n.className, _ = C === void 0 ? [] : C, P = n.showLineNumbers, $ = n.wrapLongLines, R = n.wrapLines, B = R === void 0 ? !1 : R, M = B ? Zd({}, typeof D == "function" ? D(s) : D) : {};
|
|
33572
|
-
if (M.className = M.className ? [].concat(
|
|
33573
|
+
if (M.className = M.className ? [].concat(Y2(M.className.trim().split(/\s+/)), Y2(_)) : _, s && v) {
|
|
33573
33574
|
var V = ZF(u, s, f);
|
|
33574
33575
|
r.unshift(QF(s, V));
|
|
33575
33576
|
}
|
|
@@ -33588,7 +33589,7 @@ function XF(n) {
|
|
|
33588
33589
|
if (f.type === "text")
|
|
33589
33590
|
s.push(_0({
|
|
33590
33591
|
children: [f],
|
|
33591
|
-
className:
|
|
33592
|
+
className: Y2(new Set(r))
|
|
33592
33593
|
}));
|
|
33593
33594
|
else if (f.children) {
|
|
33594
33595
|
var v = r.concat(f.properties.className);
|
|
@@ -34338,15 +34339,15 @@ function B5(n) {
|
|
|
34338
34339
|
var TD = {};
|
|
34339
34340
|
TD.parse = I5;
|
|
34340
34341
|
TD.stringify = j5;
|
|
34341
|
-
var
|
|
34342
|
+
var G2 = ",", nT = " ", Ov = "";
|
|
34342
34343
|
function I5(n) {
|
|
34343
|
-
for (var r = [], s = String(n || Ov), u = s.indexOf(
|
|
34344
|
-
u === -1 && (u = s.length, v = !0), g = s.slice(f, u).trim(), (g || !v) && r.push(g), f = u + 1, u = s.indexOf(
|
|
34344
|
+
for (var r = [], s = String(n || Ov), u = s.indexOf(G2), f = 0, v = !1, g; !v; )
|
|
34345
|
+
u === -1 && (u = s.length, v = !0), g = s.slice(f, u).trim(), (g || !v) && r.push(g), f = u + 1, u = s.indexOf(G2, f);
|
|
34345
34346
|
return r;
|
|
34346
34347
|
}
|
|
34347
34348
|
function j5(n, r) {
|
|
34348
34349
|
var s = r || {}, u = s.padLeft === !1 ? Ov : nT, f = s.padRight ? nT : Ov;
|
|
34349
|
-
return n[n.length - 1] === Ov && (n = n.concat(Ov)), n.join(f +
|
|
34350
|
+
return n[n.length - 1] === Ov && (n = n.concat(Ov)), n.join(f + G2 + u).trim();
|
|
34350
34351
|
}
|
|
34351
34352
|
var M5 = x5, rT = SD, z5 = P5, aT = _D.parse, iT = TD.parse, U5 = q5, H5 = {}.hasOwnProperty;
|
|
34352
34353
|
function q5(n, r, s) {
|
|
@@ -34591,13 +34592,13 @@ var Z0 = {};
|
|
|
34591
34592
|
Z0[Sm] = pA;
|
|
34592
34593
|
Z0[AD] = pz;
|
|
34593
34594
|
Z0[FD] = fz;
|
|
34594
|
-
var fA = 1, hA = 2, mA = 3, gA = 4, vA = 5,
|
|
34595
|
+
var fA = 1, hA = 2, mA = 3, gA = 4, vA = 5, Q2 = 6, yA = 7, op = {};
|
|
34595
34596
|
op[fA] = "Named character references must be terminated by a semicolon";
|
|
34596
34597
|
op[hA] = "Numeric character references must be terminated by a semicolon";
|
|
34597
34598
|
op[mA] = "Named character references cannot be empty";
|
|
34598
34599
|
op[gA] = "Numeric character references cannot be empty";
|
|
34599
34600
|
op[vA] = "Named character references must be known";
|
|
34600
|
-
op[
|
|
34601
|
+
op[Q2] = "Numeric character references cannot be disallowed";
|
|
34601
34602
|
op[yA] = "Numeric character references cannot be outside the permissible Unicode range";
|
|
34602
34603
|
function Tz(n, r) {
|
|
34603
34604
|
var s = {}, u, f;
|
|
@@ -34616,7 +34617,7 @@ function Fz(n, r) {
|
|
|
34616
34617
|
}
|
|
34617
34618
|
for (Ue = B + 1, Se = Ue, K = Ue, ve === xz ? (K = ++Se, ve = n.charCodeAt(K), ve === Cz || ve === Ez ? (Ge = FD, K = ++Se) : Ge = AD) : Ge = Sm, Y = "", Ne = "", re = "", He = Z0[Ge], K--; ++K < R && (ve = n.charCodeAt(K), !!He(ve)); )
|
|
34618
34619
|
re += km(ve), Ge === Sm && gz.call(sT, re) && (Y = re, Ne = sT[re]);
|
|
34619
|
-
z = n.charCodeAt(K) === wz, z && (K++, te = Ge === Sm ? hz(re) : !1, te && (Y = re, Ne = te)), Ae = 1 + K - Ue, !z && !u || (re ? Ge === Sm ? (z && !Ne ? ze(vA, 1) : (Y !== re && (K = Se + Y.length, Ae = 1 + K - Se, z = !1), z || (rt = Y ? fA : mA, r.attribute ? (ve = n.charCodeAt(K), ve === Sz ? (ze(rt, Ae), Ne = null) : pA(ve) ? Ne = null : ze(rt, Ae)) : ze(rt, Ae))), Te = Ne) : (z || ze(hA, Ae), Te = parseInt(re, ND[Ge]), Az(Te) ? (ze(yA, Ae), Te = km(_z)) : Te in lT ? (ze(
|
|
34620
|
+
z = n.charCodeAt(K) === wz, z && (K++, te = Ge === Sm ? hz(re) : !1, te && (Y = re, Ne = te)), Ae = 1 + K - Ue, !z && !u || (re ? Ge === Sm ? (z && !Ne ? ze(vA, 1) : (Y !== re && (K = Se + Y.length, Ae = 1 + K - Se, z = !1), z || (rt = Y ? fA : mA, r.attribute ? (ve = n.charCodeAt(K), ve === Sz ? (ze(rt, Ae), Ne = null) : pA(ve) ? Ne = null : ze(rt, Ae)) : ze(rt, Ae))), Te = Ne) : (z || ze(hA, Ae), Te = parseInt(re, ND[Ge]), Az(Te) ? (ze(yA, Ae), Te = km(_z)) : Te in lT ? (ze(Q2, Ae), Te = lT[Te]) : (Ke = "", Nz(Te) && ze(Q2, Ae), Te > 65535 && (Te -= 65536, Ke += km(Te >>> 10 | 55296), Te = 56320 | Te & 1023), Te = Ke + km(Te))) : Ge !== Sm && ze(gA, Ae)), Te ? (lt(), De = ce(), B = K - 1, V += K - Ue + 1, Q.push(Te), je = ce(), je.offset++, v && v.call(
|
|
34620
34621
|
C,
|
|
34621
34622
|
Te,
|
|
34622
34623
|
{ start: De, end: je },
|
|
@@ -36137,7 +36138,7 @@ const rU = Wr(
|
|
|
36137
36138
|
var _, P;
|
|
36138
36139
|
n && (C.code === "ArrowLeft" && D !== 0 && ((_ = f.current[D - 1]) == null || _.focus()), C.code === "ArrowRight" && D < r.length - 1 && ((P = f.current[D + 1]) == null || P.focus()), (C.code === "ArrowDown" || C.code === "Space") && v(D, r[D]));
|
|
36139
36140
|
};
|
|
36140
|
-
return /* @__PURE__ */ O.jsx("div", { className: "pkt-tabs", ref: u, children: /* @__PURE__ */ O.jsx("div", { className: "pkt-tabs__list", role: n ? "tablist" : "navigation", children: r.map((D, C) => /* @__PURE__ */ O.jsx(
|
|
36141
|
+
return /* @__PURE__ */ O.jsx("div", { className: "pkt-tabs", ref: u, children: /* @__PURE__ */ O.jsx("div", { className: "pkt-tabs__list", role: n ? "tablist" : "navigation", children: r.map((D, C) => /* @__PURE__ */ O.jsx(X2, { children: D.href ? /* @__PURE__ */ O.jsxs(
|
|
36141
36142
|
"a",
|
|
36142
36143
|
{
|
|
36143
36144
|
"aria-selected": !!D.active,
|
|
@@ -36180,7 +36181,7 @@ const rU = Wr(
|
|
|
36180
36181
|
"b-" + C
|
|
36181
36182
|
) }, C)) }) });
|
|
36182
36183
|
}
|
|
36183
|
-
),
|
|
36184
|
+
), Z2 = ns({
|
|
36184
36185
|
tagName: "pkt-textinput",
|
|
36185
36186
|
elementClass: Os,
|
|
36186
36187
|
react: vn,
|
|
@@ -36193,7 +36194,7 @@ const rU = Wr(
|
|
|
36193
36194
|
onValueChange: "valueChange",
|
|
36194
36195
|
onToggleHelpText: "toggleHelpText"
|
|
36195
36196
|
}
|
|
36196
|
-
}),
|
|
36197
|
+
}), x2 = ({
|
|
36197
36198
|
className: n,
|
|
36198
36199
|
compact: r = !1,
|
|
36199
36200
|
skin: s = "basic",
|
|
@@ -36212,7 +36213,7 @@ const rU = Wr(
|
|
|
36212
36213
|
role: "table",
|
|
36213
36214
|
children: f
|
|
36214
36215
|
}
|
|
36215
|
-
),
|
|
36216
|
+
), C2 = ({ className: n, children: r }) => /* @__PURE__ */ O.jsx("thead", { className: Bs(n, "pkt-table__header", {}), role: "rowgroup", children: r }), E2 = ({ children: n, className: r }) => /* @__PURE__ */ O.jsx("tbody", { className: Bs(r, "pkt-table__body", {}), role: "rowgroup", children: n }), wm = ({ className: n, children: r }) => /* @__PURE__ */ O.jsx("tr", { className: Bs(n, "pkt-table__row", {}), role: "row", children: r }), vu = ({ className: n, children: r }) => /* @__PURE__ */ O.jsx("th", { className: Bs(n, "pkt-table__header-cell", {}), role: "columnheader", children: r }), Rs = ({ children: n, className: r, dataLabel: s }) => /* @__PURE__ */ O.jsx(
|
|
36216
36217
|
"td",
|
|
36217
36218
|
{
|
|
36218
36219
|
className: Bs(r, "pkt-table__data-cell", {}),
|
|
@@ -36226,15 +36227,15 @@ const rU = Wr(
|
|
|
36226
36227
|
`) : u, s = (u) => typeof u == "boolean" ? u ? "true" : "false" : u;
|
|
36227
36228
|
return /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
|
|
36228
36229
|
/* @__PURE__ */ O.jsx("h2", { children: "Egenskaper" }),
|
|
36229
|
-
/* @__PURE__ */ O.jsxs(
|
|
36230
|
-
/* @__PURE__ */ O.jsx(
|
|
36230
|
+
/* @__PURE__ */ O.jsxs(x2, { compact: !0, children: [
|
|
36231
|
+
/* @__PURE__ */ O.jsx(C2, { children: /* @__PURE__ */ O.jsxs(wm, { children: [
|
|
36231
36232
|
/* @__PURE__ */ O.jsx(vu, { children: "Prop" }),
|
|
36232
36233
|
/* @__PURE__ */ O.jsx(vu, { children: "Navn" }),
|
|
36233
36234
|
/* @__PURE__ */ O.jsx(vu, { children: "Beskrivelse" }),
|
|
36234
36235
|
/* @__PURE__ */ O.jsx(vu, { children: "Type" }),
|
|
36235
36236
|
/* @__PURE__ */ O.jsx(vu, { children: "Standardverdi" })
|
|
36236
36237
|
] }) }),
|
|
36237
|
-
/* @__PURE__ */ O.jsx(
|
|
36238
|
+
/* @__PURE__ */ O.jsx(E2, { children: Object.entries(n.props || {}).map(([u, f]) => /* @__PURE__ */ O.jsxs(wm, { children: [
|
|
36238
36239
|
/* @__PURE__ */ O.jsx(Rs, { dataLabel: "Prop", children: /* @__PURE__ */ O.jsx("pre", { children: u }) }),
|
|
36239
36240
|
/* @__PURE__ */ O.jsx(Rs, { dataLabel: "Navn", children: !Array.isArray(f) && f.name || u }),
|
|
36240
36241
|
Array.isArray(f) ? /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
|
|
@@ -36250,13 +36251,13 @@ const rU = Wr(
|
|
|
36250
36251
|
] }),
|
|
36251
36252
|
n.events && /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
|
|
36252
36253
|
/* @__PURE__ */ O.jsx("h2", { children: "Hendelser / handlinger" }),
|
|
36253
|
-
/* @__PURE__ */ O.jsxs(
|
|
36254
|
-
/* @__PURE__ */ O.jsx(
|
|
36254
|
+
/* @__PURE__ */ O.jsxs(x2, { compact: !0, children: [
|
|
36255
|
+
/* @__PURE__ */ O.jsx(C2, { children: /* @__PURE__ */ O.jsxs(wm, { children: [
|
|
36255
36256
|
/* @__PURE__ */ O.jsx(vu, { children: "Event" }),
|
|
36256
36257
|
/* @__PURE__ */ O.jsx(vu, { children: "Beskrivelse" }),
|
|
36257
36258
|
/* @__PURE__ */ O.jsx(vu, { children: "Type" })
|
|
36258
36259
|
] }) }),
|
|
36259
|
-
/* @__PURE__ */ O.jsx(
|
|
36260
|
+
/* @__PURE__ */ O.jsx(E2, { children: Object.entries(n.events || {}).map(([u, f]) => /* @__PURE__ */ O.jsxs(wm, { children: [
|
|
36260
36261
|
/* @__PURE__ */ O.jsx(Rs, { dataLabel: "Event", children: /* @__PURE__ */ O.jsx("pre", { children: u }) }),
|
|
36261
36262
|
/* @__PURE__ */ O.jsx(Rs, { dataLabel: "Beskrivelse", children: /* @__PURE__ */ O.jsx("span", { dangerouslySetInnerHTML: { __html: f.description || "" } }) }),
|
|
36262
36263
|
/* @__PURE__ */ O.jsx(Rs, { dataLabel: "Type", children: f.type })
|
|
@@ -36265,12 +36266,12 @@ const rU = Wr(
|
|
|
36265
36266
|
] }),
|
|
36266
36267
|
n.slots && /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
|
|
36267
36268
|
/* @__PURE__ */ O.jsx("h2", { children: "Innhold" }),
|
|
36268
|
-
/* @__PURE__ */ O.jsxs(
|
|
36269
|
-
/* @__PURE__ */ O.jsx(
|
|
36269
|
+
/* @__PURE__ */ O.jsxs(x2, { compact: !0, children: [
|
|
36270
|
+
/* @__PURE__ */ O.jsx(C2, { children: /* @__PURE__ */ O.jsxs(wm, { children: [
|
|
36270
36271
|
/* @__PURE__ */ O.jsx(vu, { children: "Slot" }),
|
|
36271
36272
|
/* @__PURE__ */ O.jsx(vu, { children: "Beskrivelse" })
|
|
36272
36273
|
] }) }),
|
|
36273
|
-
/* @__PURE__ */ O.jsx(
|
|
36274
|
+
/* @__PURE__ */ O.jsx(E2, { children: Object.entries(n.slots || {}).map(([u, f]) => /* @__PURE__ */ O.jsxs(wm, { children: [
|
|
36274
36275
|
/* @__PURE__ */ O.jsx(Rs, { dataLabel: "Slot", children: /* @__PURE__ */ O.jsx("pre", { children: u }) }),
|
|
36275
36276
|
/* @__PURE__ */ O.jsx(Rs, { dataLabel: "Beskrivelse", children: /* @__PURE__ */ O.jsx("span", { dangerouslySetInnerHTML: { __html: f.description || "" } }) })
|
|
36276
36277
|
] }, u)) })
|
|
@@ -37362,7 +37363,7 @@ const rU = Wr(
|
|
|
37362
37363
|
);
|
|
37363
37364
|
}
|
|
37364
37365
|
return r.type === f.NUMBER ? /* @__PURE__ */ O.jsx(
|
|
37365
|
-
|
|
37366
|
+
Z2,
|
|
37366
37367
|
{
|
|
37367
37368
|
id: n,
|
|
37368
37369
|
label: r.name || n,
|
|
@@ -37386,7 +37387,7 @@ const rU = Wr(
|
|
|
37386
37387
|
g
|
|
37387
37388
|
))
|
|
37388
37389
|
] })) : /* @__PURE__ */ O.jsx(
|
|
37389
|
-
|
|
37390
|
+
Z2,
|
|
37390
37391
|
{
|
|
37391
37392
|
id: n,
|
|
37392
37393
|
label: r.name || n,
|
|
@@ -37510,7 +37511,7 @@ const oU = ({ specs: n, children: r, fullWidth: s }) => {
|
|
|
37510
37511
|
((Ne = n.slots) == null ? void 0 : Ne.default) && !r.props.children && /* @__PURE__ */ O.jsxs("div", { className: "pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up", children: [
|
|
37511
37512
|
/* @__PURE__ */ O.jsx(ty, { size: "small", skin: "blue-light", textStyle: "thin-text", children: "children" }),
|
|
37512
37513
|
/* @__PURE__ */ O.jsx(
|
|
37513
|
-
|
|
37514
|
+
Z2,
|
|
37514
37515
|
{
|
|
37515
37516
|
id: "slot",
|
|
37516
37517
|
label: "Slot",
|
|
@@ -37760,14 +37761,14 @@ export {
|
|
|
37760
37761
|
fT as PktSelect,
|
|
37761
37762
|
MU as PktStep,
|
|
37762
37763
|
jU as PktStepper,
|
|
37763
|
-
|
|
37764
|
-
|
|
37764
|
+
x2 as PktTable,
|
|
37765
|
+
E2 as PktTableBody,
|
|
37765
37766
|
Rs as PktTableDataCell,
|
|
37766
|
-
|
|
37767
|
+
C2 as PktTableHeader,
|
|
37767
37768
|
vu as PktTableHeaderCell,
|
|
37768
37769
|
wm as PktTableRow,
|
|
37769
37770
|
rU as PktTabs,
|
|
37770
37771
|
ty as PktTag,
|
|
37771
37772
|
zU as PktTextarea,
|
|
37772
|
-
|
|
37773
|
+
Z2 as PktTextinput
|
|
37773
37774
|
};
|