@pipedream/connect-react 1.0.0-preview.4 → 1.0.0-preview.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect-react.es.js +289 -287
- package/dist/connect-react.umd.js +1 -1
- package/package.json +1 -1
package/dist/connect-react.es.js
CHANGED
|
@@ -13,7 +13,7 @@ var pr = (e, t, n, r) => ({
|
|
|
13
13
|
});
|
|
14
14
|
import { jsx as W, Fragment as Yl, jsxs as vt } from "react/jsx-runtime";
|
|
15
15
|
import * as $ from "react";
|
|
16
|
-
import { createContext as $n, useContext as Fn, useId as $i, useState as Se, useEffect as zn, useCallback as
|
|
16
|
+
import { createContext as $n, useContext as Fn, useId as $i, useState as Se, useEffect as zn, useCallback as ke, useLayoutEffect as Jl, useRef as It, useMemo as dt, Component as mu, Fragment as Ci, forwardRef as bu, Suspense as jl } from "react";
|
|
17
17
|
import { keyframes as _l, jsx as Y, css as yu } from "@emotion/react";
|
|
18
18
|
import { createPortal as Ul } from "react-dom";
|
|
19
19
|
typeof document > "u" && (globalThis.document = {
|
|
@@ -30,8 +30,8 @@ function Iu(e) {
|
|
|
30
30
|
var Ar = { exports: {} };
|
|
31
31
|
Ar.exports;
|
|
32
32
|
(function(e, t) {
|
|
33
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 1, o = 2, a = 9007199254740991, u = "[object Arguments]", s = "[object Array]", l = "[object AsyncFunction]", c = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", I = "[object Number]", v = "[object Null]", E = "[object Object]", S = "[object Promise]", w = "[object Proxy]", P = "[object RegExp]", A = "[object Set]",
|
|
34
|
-
j[q] = j[ie] = j[X] = j[K] = j[le] = j[de] = j[ye] = j[y] = j[H] = !0, j[u] = j[s] = j[D] = j[c] = j[
|
|
33
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 1, o = 2, a = 9007199254740991, u = "[object Arguments]", s = "[object Array]", l = "[object AsyncFunction]", c = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", I = "[object Number]", v = "[object Null]", E = "[object Object]", S = "[object Promise]", w = "[object Proxy]", P = "[object RegExp]", A = "[object Set]", B = "[object String]", R = "[object Symbol]", O = "[object Undefined]", z = "[object WeakMap]", D = "[object ArrayBuffer]", k = "[object DataView]", q = "[object Float32Array]", ie = "[object Float64Array]", X = "[object Int8Array]", K = "[object Int16Array]", le = "[object Int32Array]", de = "[object Uint8Array]", ye = "[object Uint8ClampedArray]", y = "[object Uint16Array]", H = "[object Uint32Array]", N = /[\\^$.*+?()[\]{}|]/g, g = /^\[object .+?Constructor\]$/, ee = /^(?:0|[1-9]\d*)$/, j = {};
|
|
34
|
+
j[q] = j[ie] = j[X] = j[K] = j[le] = j[de] = j[ye] = j[y] = j[H] = !0, j[u] = j[s] = j[D] = j[c] = j[k] = j[d] = j[f] = j[p] = j[m] = j[I] = j[E] = j[P] = j[A] = j[B] = j[z] = !1;
|
|
35
35
|
var re = typeof ln == "object" && ln && ln.Object === Object && ln, Fe = typeof self == "object" && self && self.Object === Object && self, fe = re || Fe || Function("return this")(), Ve = t && !t.nodeType && t, qe = Ve && !0 && e && !e.nodeType && e, rt = qe && qe.exports === Ve, At = rt && re.process, rn = function() {
|
|
36
36
|
try {
|
|
37
37
|
return At && At.binding && At.binding("util");
|
|
@@ -94,7 +94,7 @@ Ar.exports;
|
|
|
94
94
|
return h ? "Symbol(src)_1." + h : "";
|
|
95
95
|
}(), it = V.toString, $e = RegExp(
|
|
96
96
|
"^" + oe.call(ae).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
97
|
-
), St = rt ? fe.Buffer : void 0, ot = fe.Symbol, Pe = fe.Uint8Array, gt = V.propertyIsEnumerable, Ke = Ur.splice, Xt = ot ? ot.toStringTag : void 0, Eo = Object.getOwnPropertySymbols, Us = St ? St.isBuffer : void 0, Qs = jr(Object.keys, Object), Qr = an(fe, "DataView"),
|
|
97
|
+
), St = rt ? fe.Buffer : void 0, ot = fe.Symbol, Pe = fe.Uint8Array, gt = V.propertyIsEnumerable, Ke = Ur.splice, Xt = ot ? ot.toStringTag : void 0, Eo = Object.getOwnPropertySymbols, Us = St ? St.isBuffer : void 0, Qs = jr(Object.keys, Object), Qr = an(fe, "DataView"), kn = an(fe, "Map"), qr = an(fe, "Promise"), $r = an(fe, "Set"), Kr = an(fe, "WeakMap"), Bn = an(Object, "create"), qs = Wt(Qr), $s = Wt(kn), Ks = Wt(qr), el = Wt($r), tl = Wt(Kr), Fo = ot ? ot.prototype : void 0, ei = Fo ? Fo.valueOf : void 0;
|
|
98
98
|
function zt(h) {
|
|
99
99
|
var x = -1, G = h == null ? 0 : h.length;
|
|
100
100
|
for (this.clear(); ++x < G; ) {
|
|
@@ -103,7 +103,7 @@ Ar.exports;
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
function nl() {
|
|
106
|
-
this.__data__ =
|
|
106
|
+
this.__data__ = Bn ? Bn(null) : {}, this.size = 0;
|
|
107
107
|
}
|
|
108
108
|
function rl(h) {
|
|
109
109
|
var x = this.has(h) && delete this.__data__[h];
|
|
@@ -111,7 +111,7 @@ Ar.exports;
|
|
|
111
111
|
}
|
|
112
112
|
function il(h) {
|
|
113
113
|
var x = this.__data__;
|
|
114
|
-
if (
|
|
114
|
+
if (Bn) {
|
|
115
115
|
var G = x[h];
|
|
116
116
|
return G === r ? void 0 : G;
|
|
117
117
|
}
|
|
@@ -119,11 +119,11 @@ Ar.exports;
|
|
|
119
119
|
}
|
|
120
120
|
function ol(h) {
|
|
121
121
|
var x = this.__data__;
|
|
122
|
-
return
|
|
122
|
+
return Bn ? x[h] !== void 0 : ae.call(x, h);
|
|
123
123
|
}
|
|
124
124
|
function al(h, x) {
|
|
125
125
|
var G = this.__data__;
|
|
126
|
-
return this.size += this.has(h) ? 0 : 1, G[h] =
|
|
126
|
+
return this.size += this.has(h) ? 0 : 1, G[h] = Bn && x === void 0 ? r : x, this;
|
|
127
127
|
}
|
|
128
128
|
zt.prototype.clear = nl, zt.prototype.delete = rl, zt.prototype.get = il, zt.prototype.has = ol, zt.prototype.set = al;
|
|
129
129
|
function mt(h) {
|
|
@@ -165,7 +165,7 @@ Ar.exports;
|
|
|
165
165
|
function pl() {
|
|
166
166
|
this.size = 0, this.__data__ = {
|
|
167
167
|
hash: new zt(),
|
|
168
|
-
map: new (
|
|
168
|
+
map: new (kn || mt)(),
|
|
169
169
|
string: new zt()
|
|
170
170
|
};
|
|
171
171
|
}
|
|
@@ -217,7 +217,7 @@ Ar.exports;
|
|
|
217
217
|
var G = this.__data__;
|
|
218
218
|
if (G instanceof mt) {
|
|
219
219
|
var M = G.__data__;
|
|
220
|
-
if (!
|
|
220
|
+
if (!kn || M.length < n - 1)
|
|
221
221
|
return M.push([h, x]), this.size = ++G.size, this;
|
|
222
222
|
G = this.__data__ = new Ht(M);
|
|
223
223
|
}
|
|
@@ -236,7 +236,7 @@ Ar.exports;
|
|
|
236
236
|
}
|
|
237
237
|
function ur(h, x) {
|
|
238
238
|
for (var G = h.length; G--; )
|
|
239
|
-
if (
|
|
239
|
+
if (Bo(h[G][0], x))
|
|
240
240
|
return G;
|
|
241
241
|
return -1;
|
|
242
242
|
}
|
|
@@ -245,7 +245,7 @@ Ar.exports;
|
|
|
245
245
|
return lr(h) ? M : nr(M, G(h));
|
|
246
246
|
}
|
|
247
247
|
function On(h) {
|
|
248
|
-
return h == null ? h === void 0 ? O : v : Xt && Xt in Object(h) ?
|
|
248
|
+
return h == null ? h === void 0 ? O : v : Xt && Xt in Object(h) ? Bl(h) : Ml(h);
|
|
249
249
|
}
|
|
250
250
|
function Po(h) {
|
|
251
251
|
return Tn(h) && On(h) == u;
|
|
@@ -271,7 +271,7 @@ Ar.exports;
|
|
|
271
271
|
return ne || (ne = new wt()), me(Ft, bt, G, M, ne);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
return Ge ? (ne || (ne = new wt()),
|
|
274
|
+
return Ge ? (ne || (ne = new wt()), kl(h, x, G, M, me, ne)) : !1;
|
|
275
275
|
}
|
|
276
276
|
function Fl(h) {
|
|
277
277
|
if (!Vo(h) || Dl(h))
|
|
@@ -325,7 +325,7 @@ Ar.exports;
|
|
|
325
325
|
}
|
|
326
326
|
function Rl(h, x, G, M, me, ne, Ie) {
|
|
327
327
|
switch (G) {
|
|
328
|
-
case
|
|
328
|
+
case k:
|
|
329
329
|
if (h.byteLength != x.byteLength || h.byteOffset != x.byteOffset)
|
|
330
330
|
return !1;
|
|
331
331
|
h = h.buffer, x = x.buffer;
|
|
@@ -334,11 +334,11 @@ Ar.exports;
|
|
|
334
334
|
case c:
|
|
335
335
|
case d:
|
|
336
336
|
case I:
|
|
337
|
-
return
|
|
337
|
+
return Bo(+h, +x);
|
|
338
338
|
case f:
|
|
339
339
|
return h.name == x.name && h.message == x.message;
|
|
340
340
|
case P:
|
|
341
|
-
case
|
|
341
|
+
case B:
|
|
342
342
|
return h == x + "";
|
|
343
343
|
case m:
|
|
344
344
|
var Ae = Jr;
|
|
@@ -358,8 +358,8 @@ Ar.exports;
|
|
|
358
358
|
}
|
|
359
359
|
return !1;
|
|
360
360
|
}
|
|
361
|
-
function
|
|
362
|
-
var Ie = G & i, Ae =
|
|
361
|
+
function kl(h, x, G, M, me, ne) {
|
|
362
|
+
var Ie = G & i, Ae = ko(h), we = Ae.length, be = ko(x), Xe = be.length;
|
|
363
363
|
if (we != Xe && !Ie)
|
|
364
364
|
return !1;
|
|
365
365
|
for (var et = we; et--; ) {
|
|
@@ -389,7 +389,7 @@ Ar.exports;
|
|
|
389
389
|
}
|
|
390
390
|
return ne.delete(h), ne.delete(x), Ye;
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function ko(h) {
|
|
393
393
|
return wl(h, Hl, Ol);
|
|
394
394
|
}
|
|
395
395
|
function sr(h, x) {
|
|
@@ -400,7 +400,7 @@ Ar.exports;
|
|
|
400
400
|
var G = Yr(h, x);
|
|
401
401
|
return Fl(G) ? G : void 0;
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function Bl(h) {
|
|
404
404
|
var x = ae.call(h, Xt), G = h[Xt];
|
|
405
405
|
try {
|
|
406
406
|
h[Xt] = void 0;
|
|
@@ -415,12 +415,12 @@ Ar.exports;
|
|
|
415
415
|
return gt.call(h, x);
|
|
416
416
|
}));
|
|
417
417
|
} : Wl, Et = On;
|
|
418
|
-
(Qr && Et(new Qr(new ArrayBuffer(1))) !=
|
|
418
|
+
(Qr && Et(new Qr(new ArrayBuffer(1))) != k || kn && Et(new kn()) != m || qr && Et(qr.resolve()) != S || $r && Et(new $r()) != A || Kr && Et(new Kr()) != z) && (Et = function(h) {
|
|
419
419
|
var x = On(h), G = x == E ? h.constructor : void 0, M = G ? Wt(G) : "";
|
|
420
420
|
if (M)
|
|
421
421
|
switch (M) {
|
|
422
422
|
case qs:
|
|
423
|
-
return
|
|
423
|
+
return k;
|
|
424
424
|
case $s:
|
|
425
425
|
return m;
|
|
426
426
|
case Ks:
|
|
@@ -462,7 +462,7 @@ Ar.exports;
|
|
|
462
462
|
}
|
|
463
463
|
return "";
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function Bo(h, x) {
|
|
466
466
|
return h === x || h !== h && x !== x;
|
|
467
467
|
}
|
|
468
468
|
var Ll = Po(/* @__PURE__ */ function() {
|
|
@@ -703,11 +703,11 @@ var Jt, Rt, hn, uu, rc = (uu = class extends Kn {
|
|
|
703
703
|
var t;
|
|
704
704
|
return typeof C(this, Jt) == "boolean" ? C(this, Jt) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
|
|
705
705
|
}
|
|
706
|
-
}, Jt = new WeakMap(), Rt = new WeakMap(), hn = new WeakMap(), uu), eo = new rc(), gn,
|
|
706
|
+
}, Jt = new WeakMap(), Rt = new WeakMap(), hn = new WeakMap(), uu), eo = new rc(), gn, kt, mn, su, ic = (su = class extends Kn {
|
|
707
707
|
constructor() {
|
|
708
708
|
super();
|
|
709
709
|
Q(this, gn, !0);
|
|
710
|
-
Q(this,
|
|
710
|
+
Q(this, kt);
|
|
711
711
|
Q(this, mn);
|
|
712
712
|
L(this, mn, (t) => {
|
|
713
713
|
if (!Kt && window.addEventListener) {
|
|
@@ -719,15 +719,15 @@ var Jt, Rt, hn, uu, rc = (uu = class extends Kn {
|
|
|
719
719
|
});
|
|
720
720
|
}
|
|
721
721
|
onSubscribe() {
|
|
722
|
-
C(this,
|
|
722
|
+
C(this, kt) || this.setEventListener(C(this, mn));
|
|
723
723
|
}
|
|
724
724
|
onUnsubscribe() {
|
|
725
725
|
var t;
|
|
726
|
-
this.hasListeners() || ((t = C(this,
|
|
726
|
+
this.hasListeners() || ((t = C(this, kt)) == null || t.call(this), L(this, kt, void 0));
|
|
727
727
|
}
|
|
728
728
|
setEventListener(t) {
|
|
729
729
|
var n;
|
|
730
|
-
L(this, mn, t), (n = C(this,
|
|
730
|
+
L(this, mn, t), (n = C(this, kt)) == null || n.call(this), L(this, kt, t(this.setOnline.bind(this)));
|
|
731
731
|
}
|
|
732
732
|
setOnline(t) {
|
|
733
733
|
C(this, gn) !== t && (L(this, gn, t), this.listeners.forEach((r) => {
|
|
@@ -737,7 +737,7 @@ var Jt, Rt, hn, uu, rc = (uu = class extends Kn {
|
|
|
737
737
|
isOnline() {
|
|
738
738
|
return C(this, gn);
|
|
739
739
|
}
|
|
740
|
-
}, gn = new WeakMap(),
|
|
740
|
+
}, gn = new WeakMap(), kt = new WeakMap(), mn = new WeakMap(), su), wr = new ic();
|
|
741
741
|
function Fi() {
|
|
742
742
|
let e, t;
|
|
743
743
|
const n = new Promise((i, o) => {
|
|
@@ -1303,7 +1303,7 @@ var ut, du, lc = (du = class extends Kn {
|
|
|
1303
1303
|
this.execute(this.state.variables);
|
|
1304
1304
|
}
|
|
1305
1305
|
async execute(t) {
|
|
1306
|
-
var i, o, a, u, s, l, c, d, f, p, b, m, I, v, E, S, w, P, A,
|
|
1306
|
+
var i, o, a, u, s, l, c, d, f, p, b, m, I, v, E, S, w, P, A, B;
|
|
1307
1307
|
L(this, Ut, Su({
|
|
1308
1308
|
fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
|
|
1309
1309
|
onFail: (R, O) => {
|
|
@@ -1371,7 +1371,7 @@ var ut, du, lc = (du = class extends Kn {
|
|
|
1371
1371
|
this.state.variables,
|
|
1372
1372
|
this.state.context,
|
|
1373
1373
|
this
|
|
1374
|
-
)), await ((
|
|
1374
|
+
)), await ((B = (A = this.options).onSettled) == null ? void 0 : B.call(
|
|
1375
1375
|
A,
|
|
1376
1376
|
void 0,
|
|
1377
1377
|
R,
|
|
@@ -1567,11 +1567,11 @@ function Wo(e) {
|
|
|
1567
1567
|
meta: t.options.meta
|
|
1568
1568
|
};
|
|
1569
1569
|
I(A);
|
|
1570
|
-
const
|
|
1570
|
+
const B = await v(
|
|
1571
1571
|
A
|
|
1572
1572
|
), { maxPages: R } = t.options, O = P ? nc : tc;
|
|
1573
1573
|
return {
|
|
1574
|
-
pages: O(S.pages,
|
|
1574
|
+
pages: O(S.pages, B, R),
|
|
1575
1575
|
pageParams: O(S.pageParams, w, R)
|
|
1576
1576
|
};
|
|
1577
1577
|
};
|
|
@@ -1621,17 +1621,17 @@ function fc(e, { pages: t, pageParams: n }) {
|
|
|
1621
1621
|
var r;
|
|
1622
1622
|
return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, n[0], n) : void 0;
|
|
1623
1623
|
}
|
|
1624
|
-
var ve,
|
|
1624
|
+
var ve, Bt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
1625
1625
|
constructor(e = {}) {
|
|
1626
1626
|
Q(this, ve);
|
|
1627
|
-
Q(this,
|
|
1627
|
+
Q(this, Bt);
|
|
1628
1628
|
Q(this, Ot);
|
|
1629
1629
|
Q(this, In);
|
|
1630
1630
|
Q(this, vn);
|
|
1631
1631
|
Q(this, Tt);
|
|
1632
1632
|
Q(this, Cn);
|
|
1633
1633
|
Q(this, xn);
|
|
1634
|
-
L(this, ve, e.queryCache || new lc()), L(this,
|
|
1634
|
+
L(this, ve, e.queryCache || new lc()), L(this, Bt, e.mutationCache || new pc()), L(this, Ot, e.defaultOptions || {}), L(this, In, /* @__PURE__ */ new Map()), L(this, vn, /* @__PURE__ */ new Map()), L(this, Tt, 0);
|
|
1635
1635
|
}
|
|
1636
1636
|
mount() {
|
|
1637
1637
|
pr(this, Tt)._++, C(this, Tt) === 1 && (L(this, Cn, eo.subscribe(async (e) => {
|
|
@@ -1648,7 +1648,7 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
1648
1648
|
return C(this, ve).findAll({ ...e, fetchStatus: "fetching" }).length;
|
|
1649
1649
|
}
|
|
1650
1650
|
isMutating(e) {
|
|
1651
|
-
return C(this,
|
|
1651
|
+
return C(this, Bt).findAll({ ...e, status: "pending" }).length;
|
|
1652
1652
|
}
|
|
1653
1653
|
getQueryData(e) {
|
|
1654
1654
|
var n;
|
|
@@ -1759,13 +1759,13 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
1759
1759
|
return e.behavior = Wo(e.pages), this.ensureQueryData(e);
|
|
1760
1760
|
}
|
|
1761
1761
|
resumePausedMutations() {
|
|
1762
|
-
return wr.isOnline() ? C(this,
|
|
1762
|
+
return wr.isOnline() ? C(this, Bt).resumePausedMutations() : Promise.resolve();
|
|
1763
1763
|
}
|
|
1764
1764
|
getQueryCache() {
|
|
1765
1765
|
return C(this, ve);
|
|
1766
1766
|
}
|
|
1767
1767
|
getMutationCache() {
|
|
1768
|
-
return C(this,
|
|
1768
|
+
return C(this, Bt);
|
|
1769
1769
|
}
|
|
1770
1770
|
getDefaultOptions() {
|
|
1771
1771
|
return C(this, Ot);
|
|
@@ -1822,9 +1822,9 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
1822
1822
|
};
|
|
1823
1823
|
}
|
|
1824
1824
|
clear() {
|
|
1825
|
-
C(this, ve).clear(), C(this,
|
|
1825
|
+
C(this, ve).clear(), C(this, Bt).clear();
|
|
1826
1826
|
}
|
|
1827
|
-
}, ve = new WeakMap(),
|
|
1827
|
+
}, ve = new WeakMap(), Bt = new WeakMap(), Ot = new WeakMap(), In = new WeakMap(), vn = new WeakMap(), Tt = new WeakMap(), Cn = new WeakMap(), xn = new WeakMap(), hu), Me, se, Qn, Te, Qt, An, Vt, ct, qn, Sn, wn, qt, $t, Dt, En, pe, Mn, Pi, Gi, Ri, ki, Bi, Oi, Ti, Fu, gu, gc = (gu = class extends Kn {
|
|
1828
1828
|
constructor(t, n) {
|
|
1829
1829
|
super();
|
|
1830
1830
|
Q(this, pe);
|
|
@@ -1853,7 +1853,7 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
1853
1853
|
this.refetch = this.refetch.bind(this);
|
|
1854
1854
|
}
|
|
1855
1855
|
onSubscribe() {
|
|
1856
|
-
this.listeners.size === 1 && (C(this, se).addObserver(this), Yo(C(this, se), this.options) ? ue(this, pe, Mn).call(this) : this.updateResult(), ue(this, pe,
|
|
1856
|
+
this.listeners.size === 1 && (C(this, se).addObserver(this), Yo(C(this, se), this.options) ? ue(this, pe, Mn).call(this) : this.updateResult(), ue(this, pe, ki).call(this));
|
|
1857
1857
|
}
|
|
1858
1858
|
onUnsubscribe() {
|
|
1859
1859
|
this.hasListeners() || this.destroy();
|
|
@@ -1873,7 +1873,7 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
1873
1873
|
);
|
|
1874
1874
|
}
|
|
1875
1875
|
destroy() {
|
|
1876
|
-
this.listeners = /* @__PURE__ */ new Set(), ue(this, pe,
|
|
1876
|
+
this.listeners = /* @__PURE__ */ new Set(), ue(this, pe, Bi).call(this), ue(this, pe, Oi).call(this), C(this, se).removeObserver(this);
|
|
1877
1877
|
}
|
|
1878
1878
|
setOptions(t, n) {
|
|
1879
1879
|
const r = this.options, i = C(this, se);
|
|
@@ -1977,7 +1977,7 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
1977
1977
|
), f = !0);
|
|
1978
1978
|
}
|
|
1979
1979
|
C(this, ct) && (b = C(this, ct), p = C(this, Sn), m = Date.now(), I = "error");
|
|
1980
|
-
const v = d.fetchStatus === "fetching", E = I === "pending", S = I === "error", w = E && v, P = p !== void 0,
|
|
1980
|
+
const v = d.fetchStatus === "fetching", E = I === "pending", S = I === "error", w = E && v, P = p !== void 0, B = {
|
|
1981
1981
|
status: I,
|
|
1982
1982
|
fetchStatus: d.fetchStatus,
|
|
1983
1983
|
isPending: E,
|
|
@@ -2005,25 +2005,25 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
2005
2005
|
promise: C(this, Vt)
|
|
2006
2006
|
};
|
|
2007
2007
|
if (this.options.experimental_prefetchInRender) {
|
|
2008
|
-
const O = (
|
|
2009
|
-
|
|
2008
|
+
const O = (k) => {
|
|
2009
|
+
B.status === "error" ? k.reject(B.error) : B.data !== void 0 && k.resolve(B.data);
|
|
2010
2010
|
}, z = () => {
|
|
2011
|
-
const
|
|
2012
|
-
O(
|
|
2011
|
+
const k = L(this, Vt, B.promise = Fi());
|
|
2012
|
+
O(k);
|
|
2013
2013
|
}, D = C(this, Vt);
|
|
2014
2014
|
switch (D.status) {
|
|
2015
2015
|
case "pending":
|
|
2016
2016
|
t.queryHash === r.queryHash && O(D);
|
|
2017
2017
|
break;
|
|
2018
2018
|
case "fulfilled":
|
|
2019
|
-
(
|
|
2019
|
+
(B.status === "error" || B.data !== D.value) && z();
|
|
2020
2020
|
break;
|
|
2021
2021
|
case "rejected":
|
|
2022
|
-
(
|
|
2022
|
+
(B.status !== "error" || B.error !== D.reason) && z();
|
|
2023
2023
|
break;
|
|
2024
2024
|
}
|
|
2025
2025
|
}
|
|
2026
|
-
return
|
|
2026
|
+
return B;
|
|
2027
2027
|
}
|
|
2028
2028
|
updateResult(t) {
|
|
2029
2029
|
const n = C(this, Te), r = this.createResult(C(this, se), this.options);
|
|
@@ -2047,7 +2047,7 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
2047
2047
|
(t == null ? void 0 : t.listeners) !== !1 && o() && (i.listeners = !0), ue(this, pe, Fu).call(this, { ...i, ...t });
|
|
2048
2048
|
}
|
|
2049
2049
|
onQueryUpdate() {
|
|
2050
|
-
this.updateResult(), this.hasListeners() && ue(this, pe,
|
|
2050
|
+
this.updateResult(), this.hasListeners() && ue(this, pe, ki).call(this);
|
|
2051
2051
|
}
|
|
2052
2052
|
}, Me = new WeakMap(), se = new WeakMap(), Qn = new WeakMap(), Te = new WeakMap(), Qt = new WeakMap(), An = new WeakMap(), Vt = new WeakMap(), ct = new WeakMap(), qn = new WeakMap(), Sn = new WeakMap(), wn = new WeakMap(), qt = new WeakMap(), $t = new WeakMap(), Dt = new WeakMap(), En = new WeakMap(), pe = new WeakSet(), Mn = function(t) {
|
|
2053
2053
|
ue(this, pe, Ti).call(this);
|
|
@@ -2057,7 +2057,7 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
2057
2057
|
);
|
|
2058
2058
|
return t != null && t.throwOnError || (n = n.catch(je)), n;
|
|
2059
2059
|
}, Pi = function() {
|
|
2060
|
-
ue(this, pe,
|
|
2060
|
+
ue(this, pe, Bi).call(this);
|
|
2061
2061
|
const t = cn(
|
|
2062
2062
|
this.options.staleTime,
|
|
2063
2063
|
C(this, se)
|
|
@@ -2074,9 +2074,9 @@ var ve, kt, Ot, In, vn, Tt, Cn, xn, hu, hc = (hu = class {
|
|
|
2074
2074
|
ue(this, pe, Oi).call(this), L(this, Dt, t), !(Kt || nt(this.options.enabled, C(this, se)) === !1 || !xi(C(this, Dt)) || C(this, Dt) === 0) && L(this, $t, setInterval(() => {
|
|
2075
2075
|
(this.options.refetchIntervalInBackground || eo.isFocused()) && ue(this, pe, Mn).call(this);
|
|
2076
2076
|
}, C(this, Dt)));
|
|
2077
|
-
}, Bi = function() {
|
|
2078
|
-
ue(this, pe, Pi).call(this), ue(this, pe, Ri).call(this, ue(this, pe, Gi).call(this));
|
|
2079
2077
|
}, ki = function() {
|
|
2078
|
+
ue(this, pe, Pi).call(this), ue(this, pe, Ri).call(this, ue(this, pe, Gi).call(this));
|
|
2079
|
+
}, Bi = function() {
|
|
2080
2080
|
C(this, qt) && (clearTimeout(C(this, qt)), L(this, qt, void 0));
|
|
2081
2081
|
}, Oi = function() {
|
|
2082
2082
|
C(this, $t) && (clearInterval(C(this, $t)), L(this, $t, void 0));
|
|
@@ -2166,7 +2166,7 @@ var wc = (e, t) => {
|
|
|
2166
2166
|
}, Gc = (e, t) => e.isLoading && e.isFetching && !t, Rc = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, _o = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
2167
2167
|
n.clearReset();
|
|
2168
2168
|
});
|
|
2169
|
-
function
|
|
2169
|
+
function kc(e, t, n) {
|
|
2170
2170
|
var c, d, f, p, b;
|
|
2171
2171
|
if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e)))
|
|
2172
2172
|
throw new Error(
|
|
@@ -2223,7 +2223,7 @@ function Bc(e, t, n) {
|
|
|
2223
2223
|
return a.notifyOnChangeProps ? l : s.trackResult(l);
|
|
2224
2224
|
}
|
|
2225
2225
|
function tn(e, t) {
|
|
2226
|
-
return
|
|
2226
|
+
return kc(e, gc);
|
|
2227
2227
|
}
|
|
2228
2228
|
const Ru = $n(
|
|
2229
2229
|
void 0
|
|
@@ -2245,12 +2245,12 @@ const Ru = $n(
|
|
|
2245
2245
|
}
|
|
2246
2246
|
});
|
|
2247
2247
|
return /* @__PURE__ */ W(Ic, { client: n, children: /* @__PURE__ */ W(Ru.Provider, { value: t, children: e }) });
|
|
2248
|
-
},
|
|
2249
|
-
const e = Fn(
|
|
2248
|
+
}, ku = $n(void 0), no = () => {
|
|
2249
|
+
const e = Fn(ku);
|
|
2250
2250
|
if (!e)
|
|
2251
2251
|
throw new Error("Must be used inside provider");
|
|
2252
2252
|
return e;
|
|
2253
|
-
},
|
|
2253
|
+
}, Bc = ({
|
|
2254
2254
|
children: e,
|
|
2255
2255
|
props: t
|
|
2256
2256
|
}) => {
|
|
@@ -2286,7 +2286,7 @@ const Ru = $n(
|
|
|
2286
2286
|
t.onUpdateConfiguredProps || (E = S);
|
|
2287
2287
|
const [
|
|
2288
2288
|
A,
|
|
2289
|
-
|
|
2289
|
+
B
|
|
2290
2290
|
] = Se(), [
|
|
2291
2291
|
R,
|
|
2292
2292
|
O
|
|
@@ -2304,26 +2304,26 @@ const Ru = $n(
|
|
|
2304
2304
|
],
|
|
2305
2305
|
queryFn: async () => {
|
|
2306
2306
|
const { dynamic_props: H } = await n.componentReloadProps(z);
|
|
2307
|
-
return H &&
|
|
2307
|
+
return H && B(H), O(void 0), [];
|
|
2308
2308
|
},
|
|
2309
2309
|
enabled: R != null
|
|
2310
2310
|
// TODO or props.dynamicPropsId && !dynamicProps
|
|
2311
2311
|
});
|
|
2312
|
-
let
|
|
2312
|
+
let k = (A == null ? void 0 : A.configurable_props) || t.component.configurable_props || [];
|
|
2313
2313
|
if (a != null && a.length) {
|
|
2314
2314
|
const H = [];
|
|
2315
|
-
for (const N of
|
|
2315
|
+
for (const N of k)
|
|
2316
2316
|
a.findIndex((g) => N.name === g) >= 0 && H.push(N);
|
|
2317
|
-
|
|
2317
|
+
k = H;
|
|
2318
2318
|
}
|
|
2319
|
-
R != null && (
|
|
2319
|
+
R != null && (k = k.slice(0, R + 1));
|
|
2320
2320
|
const q = (H, N) => {
|
|
2321
2321
|
const g = [];
|
|
2322
2322
|
return N === void 0 ? H.optional || g.push("required") : H.type === "integer" ? typeof N != "number" ? g.push("not a number") : (H.min != null && N < H.min && g.push("number too small"), H.max != null && N > H.max && g.push("number too big")) : H.type === "boolean" ? typeof N != "boolean" && g.push("not a boolean") : H.type === "string" ? typeof N != "string" && g.push("not a string") : H.type, g;
|
|
2323
2323
|
}, ie = (H) => {
|
|
2324
2324
|
let N;
|
|
2325
|
-
for (let g = 0; g <
|
|
2326
|
-
const ee =
|
|
2325
|
+
for (let g = 0; g < k.length; g++) {
|
|
2326
|
+
const ee = k[g];
|
|
2327
2327
|
if (ee.hidden || ee.optional && !v(ee))
|
|
2328
2328
|
continue;
|
|
2329
2329
|
if (H[ee.name] === void 0 && N == null && (ee.type === "app" || ee.remoteOptions)) {
|
|
@@ -2335,15 +2335,15 @@ const Ru = $n(
|
|
|
2335
2335
|
}, X = (H) => {
|
|
2336
2336
|
P(H), ie(H);
|
|
2337
2337
|
const N = {};
|
|
2338
|
-
for (let g = 0; g <
|
|
2339
|
-
const ee =
|
|
2338
|
+
for (let g = 0; g < k.length; g++) {
|
|
2339
|
+
const ee = k[g], j = H[ee.name], re = q(ee, j);
|
|
2340
2340
|
re.length && (N[ee.name] = re);
|
|
2341
2341
|
}
|
|
2342
2342
|
b(N);
|
|
2343
2343
|
};
|
|
2344
2344
|
zn(() => {
|
|
2345
2345
|
const H = {};
|
|
2346
|
-
for (const N of
|
|
2346
|
+
for (const N of k) {
|
|
2347
2347
|
if (N.hidden || N.optional && !v(N))
|
|
2348
2348
|
continue;
|
|
2349
2349
|
const g = E[N.name];
|
|
@@ -2351,7 +2351,7 @@ const Ru = $n(
|
|
|
2351
2351
|
}
|
|
2352
2352
|
$l(H, E) || X(H);
|
|
2353
2353
|
}, [
|
|
2354
|
-
|
|
2354
|
+
k
|
|
2355
2355
|
]);
|
|
2356
2356
|
const [K, le] = Se(u);
|
|
2357
2357
|
zn(() => {
|
|
@@ -2360,7 +2360,7 @@ const Ru = $n(
|
|
|
2360
2360
|
u
|
|
2361
2361
|
]);
|
|
2362
2362
|
const de = (H, N) => {
|
|
2363
|
-
const g =
|
|
2363
|
+
const g = k[H], ee = {
|
|
2364
2364
|
...E
|
|
2365
2365
|
};
|
|
2366
2366
|
N === void 0 ? delete ee[g.name] : ee[g.name] = N, P(ee), g.reloadProps && O(H), (g.type === "app" || g.remoteOptions) && ie(ee);
|
|
@@ -2373,7 +2373,7 @@ const Ru = $n(
|
|
|
2373
2373
|
...m
|
|
2374
2374
|
};
|
|
2375
2375
|
N ? g[H.name] = !0 : delete g[H.name];
|
|
2376
|
-
const ee =
|
|
2376
|
+
const ee = k.findIndex((j) => j.name === H.name);
|
|
2377
2377
|
N ? "default" in H && H.default != null && de(ee, H.default) : de(ee, void 0), I(g);
|
|
2378
2378
|
}, y = {
|
|
2379
2379
|
id: r,
|
|
@@ -2382,7 +2382,7 @@ const Ru = $n(
|
|
|
2382
2382
|
props: t,
|
|
2383
2383
|
userId: u,
|
|
2384
2384
|
component: i,
|
|
2385
|
-
configurableProps:
|
|
2385
|
+
configurableProps: k,
|
|
2386
2386
|
configuredProps: E,
|
|
2387
2387
|
dynamicProps: A,
|
|
2388
2388
|
dynamicPropsQueryIsFetching: D,
|
|
@@ -2393,7 +2393,7 @@ const Ru = $n(
|
|
|
2393
2393
|
setSubmitting: f,
|
|
2394
2394
|
submitting: d
|
|
2395
2395
|
};
|
|
2396
|
-
return /* @__PURE__ */ W(
|
|
2396
|
+
return /* @__PURE__ */ W(ku.Provider, { value: y, children: e });
|
|
2397
2397
|
};
|
|
2398
2398
|
function en(e) {
|
|
2399
2399
|
"@babel/helpers - typeof";
|
|
@@ -2413,12 +2413,12 @@ function Oc(e, t) {
|
|
|
2413
2413
|
}
|
|
2414
2414
|
return (t === "string" ? String : Number)(e);
|
|
2415
2415
|
}
|
|
2416
|
-
function
|
|
2416
|
+
function Bu(e) {
|
|
2417
2417
|
var t = Oc(e, "string");
|
|
2418
2418
|
return en(t) == "symbol" ? t : t + "";
|
|
2419
2419
|
}
|
|
2420
2420
|
function Ln(e, t, n) {
|
|
2421
|
-
return (t =
|
|
2421
|
+
return (t = Bu(t)) in e ? Object.defineProperty(e, t, {
|
|
2422
2422
|
value: n,
|
|
2423
2423
|
enumerable: !0,
|
|
2424
2424
|
configurable: !0,
|
|
@@ -2509,21 +2509,21 @@ function ht(e, t) {
|
|
|
2509
2509
|
}
|
|
2510
2510
|
var Mc = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
2511
2511
|
function Tu(e) {
|
|
2512
|
-
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, o = e.defaultValue, a = o === void 0 ? null : o, u = e.inputValue, s = e.menuIsOpen, l = e.onChange, c = e.onInputChange, d = e.onMenuClose, f = e.onMenuOpen, p = e.value, b = ht(e, Mc), m = Se(u !== void 0 ? u : n), I = Ct(m, 2), v = I[0], E = I[1], S = Se(s !== void 0 ? s : i), w = Ct(S, 2), P = w[0], A = w[1],
|
|
2512
|
+
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, o = e.defaultValue, a = o === void 0 ? null : o, u = e.inputValue, s = e.menuIsOpen, l = e.onChange, c = e.onInputChange, d = e.onMenuClose, f = e.onMenuOpen, p = e.value, b = ht(e, Mc), m = Se(u !== void 0 ? u : n), I = Ct(m, 2), v = I[0], E = I[1], S = Se(s !== void 0 ? s : i), w = Ct(S, 2), P = w[0], A = w[1], B = Se(p !== void 0 ? p : a), R = Ct(B, 2), O = R[0], z = R[1], D = ke(function(de, ye) {
|
|
2513
2513
|
typeof l == "function" && l(de, ye), z(de);
|
|
2514
|
-
}, [l]),
|
|
2514
|
+
}, [l]), k = ke(function(de, ye) {
|
|
2515
2515
|
var y;
|
|
2516
2516
|
typeof c == "function" && (y = c(de, ye)), E(y !== void 0 ? y : de);
|
|
2517
|
-
}, [c]), q =
|
|
2517
|
+
}, [c]), q = ke(function() {
|
|
2518
2518
|
typeof f == "function" && f(), A(!0);
|
|
2519
|
-
}, [f]), ie =
|
|
2519
|
+
}, [f]), ie = ke(function() {
|
|
2520
2520
|
typeof d == "function" && d(), A(!1);
|
|
2521
2521
|
}, [d]), X = u !== void 0 ? u : v, K = s !== void 0 ? s : P, le = p !== void 0 ? p : O;
|
|
2522
2522
|
return Z(Z({}, b), {}, {
|
|
2523
2523
|
inputValue: X,
|
|
2524
2524
|
menuIsOpen: K,
|
|
2525
2525
|
onChange: D,
|
|
2526
|
-
onInputChange:
|
|
2526
|
+
onInputChange: k,
|
|
2527
2527
|
onMenuClose: ie,
|
|
2528
2528
|
onMenuOpen: q,
|
|
2529
2529
|
value: le
|
|
@@ -2544,7 +2544,7 @@ function Lc(e, t) {
|
|
|
2544
2544
|
function Qo(e, t) {
|
|
2545
2545
|
for (var n = 0; n < t.length; n++) {
|
|
2546
2546
|
var r = t[n];
|
|
2547
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
2547
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Bu(r.key), r);
|
|
2548
2548
|
}
|
|
2549
2549
|
}
|
|
2550
2550
|
function Xc(e, t, n) {
|
|
@@ -2880,7 +2880,7 @@ function cd(e, t) {
|
|
|
2880
2880
|
return String(u).trim();
|
|
2881
2881
|
}).join(" ");
|
|
2882
2882
|
}
|
|
2883
|
-
var
|
|
2883
|
+
var kr = function(t) {
|
|
2884
2884
|
return Id(t) ? t.filter(Boolean) : en(t) === "object" && t !== null ? [t] : [];
|
|
2885
2885
|
}, zu = function(t) {
|
|
2886
2886
|
t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
|
|
@@ -2902,7 +2902,7 @@ function dd(e) {
|
|
|
2902
2902
|
function Hu(e) {
|
|
2903
2903
|
return Mr(e) ? window.pageYOffset : e.scrollTop;
|
|
2904
2904
|
}
|
|
2905
|
-
function
|
|
2905
|
+
function Br(e, t) {
|
|
2906
2906
|
if (Mr(e)) {
|
|
2907
2907
|
window.scrollTo(0, t);
|
|
2908
2908
|
return;
|
|
@@ -2925,13 +2925,13 @@ function gr(e, t) {
|
|
|
2925
2925
|
function s() {
|
|
2926
2926
|
u += a;
|
|
2927
2927
|
var l = fd(u, i, o, n);
|
|
2928
|
-
|
|
2928
|
+
Br(e, l), u < n ? window.requestAnimationFrame(s) : r(e);
|
|
2929
2929
|
}
|
|
2930
2930
|
s();
|
|
2931
2931
|
}
|
|
2932
2932
|
function ea(e, t) {
|
|
2933
2933
|
var n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), i = t.offsetHeight / 3;
|
|
2934
|
-
r.bottom + i > n.bottom ?
|
|
2934
|
+
r.bottom + i > n.bottom ? Br(e, Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + i, e.scrollHeight)) : r.top - i < n.top && Br(e, Math.max(t.offsetTop - i, 0));
|
|
2935
2935
|
}
|
|
2936
2936
|
function hd(e) {
|
|
2937
2937
|
var t = e.getBoundingClientRect();
|
|
@@ -2992,23 +2992,23 @@ function Ad(e) {
|
|
|
2992
2992
|
maxHeight: t
|
|
2993
2993
|
};
|
|
2994
2994
|
if (!n || !n.offsetParent) return l;
|
|
2995
|
-
var c = s.getBoundingClientRect(), d = c.height, f = n.getBoundingClientRect(), p = f.bottom, b = f.height, m = f.top, I = n.offsetParent.getBoundingClientRect(), v = I.top, E = a ? window.innerHeight : dd(s), S = Hu(s), w = parseInt(getComputedStyle(n).marginBottom, 10), P = parseInt(getComputedStyle(n).marginTop, 10), A = v - P,
|
|
2995
|
+
var c = s.getBoundingClientRect(), d = c.height, f = n.getBoundingClientRect(), p = f.bottom, b = f.height, m = f.top, I = n.offsetParent.getBoundingClientRect(), v = I.top, E = a ? window.innerHeight : dd(s), S = Hu(s), w = parseInt(getComputedStyle(n).marginBottom, 10), P = parseInt(getComputedStyle(n).marginTop, 10), A = v - P, B = E - m, R = A + S, O = d - S - m, z = p - E + S + w, D = S + m - P, k = 160;
|
|
2996
2996
|
switch (i) {
|
|
2997
2997
|
case "auto":
|
|
2998
2998
|
case "bottom":
|
|
2999
|
-
if (
|
|
2999
|
+
if (B >= b)
|
|
3000
3000
|
return {
|
|
3001
3001
|
placement: "bottom",
|
|
3002
3002
|
maxHeight: t
|
|
3003
3003
|
};
|
|
3004
3004
|
if (O >= b && !a)
|
|
3005
|
-
return o && gr(s, z,
|
|
3005
|
+
return o && gr(s, z, k), {
|
|
3006
3006
|
placement: "bottom",
|
|
3007
3007
|
maxHeight: t
|
|
3008
3008
|
};
|
|
3009
|
-
if (!a && O >= r || a &&
|
|
3010
|
-
o && gr(s, z,
|
|
3011
|
-
var q = a ?
|
|
3009
|
+
if (!a && O >= r || a && B >= r) {
|
|
3010
|
+
o && gr(s, z, k);
|
|
3011
|
+
var q = a ? B - w : O - w;
|
|
3012
3012
|
return {
|
|
3013
3013
|
placement: "bottom",
|
|
3014
3014
|
maxHeight: q
|
|
@@ -3022,7 +3022,7 @@ function Ad(e) {
|
|
|
3022
3022
|
};
|
|
3023
3023
|
}
|
|
3024
3024
|
if (i === "bottom")
|
|
3025
|
-
return o &&
|
|
3025
|
+
return o && Br(s, z), {
|
|
3026
3026
|
placement: "bottom",
|
|
3027
3027
|
maxHeight: t
|
|
3028
3028
|
};
|
|
@@ -3034,13 +3034,13 @@ function Ad(e) {
|
|
|
3034
3034
|
maxHeight: t
|
|
3035
3035
|
};
|
|
3036
3036
|
if (R >= b && !a)
|
|
3037
|
-
return o && gr(s, D,
|
|
3037
|
+
return o && gr(s, D, k), {
|
|
3038
3038
|
placement: "top",
|
|
3039
3039
|
maxHeight: t
|
|
3040
3040
|
};
|
|
3041
3041
|
if (!a && R >= r || a && A >= r) {
|
|
3042
3042
|
var K = t;
|
|
3043
|
-
return (!a && R >= r || a && A >= r) && (K = a ? A - P : R - P), o && gr(s, D,
|
|
3043
|
+
return (!a && R >= r || a && A >= r) && (K = a ? A - P : R - P), o && gr(s, D, k), {
|
|
3044
3044
|
placement: "top",
|
|
3045
3045
|
maxHeight: K
|
|
3046
3046
|
};
|
|
@@ -3079,12 +3079,12 @@ var Zu = function(t) {
|
|
|
3079
3079
|
return Li(function() {
|
|
3080
3080
|
var P = d.current;
|
|
3081
3081
|
if (P) {
|
|
3082
|
-
var A = a === "fixed",
|
|
3082
|
+
var A = a === "fixed", B = u && !A, R = Ad({
|
|
3083
3083
|
maxHeight: i,
|
|
3084
3084
|
menuEl: P,
|
|
3085
3085
|
minHeight: r,
|
|
3086
3086
|
placement: o,
|
|
3087
|
-
shouldScroll:
|
|
3087
|
+
shouldScroll: B,
|
|
3088
3088
|
isFixedPosition: A,
|
|
3089
3089
|
controlHeight: w
|
|
3090
3090
|
});
|
|
@@ -3132,7 +3132,7 @@ var Zu = function(t) {
|
|
|
3132
3132
|
color: o.neutral40,
|
|
3133
3133
|
padding: "".concat(i * 2, "px ").concat(i * 3, "px")
|
|
3134
3134
|
});
|
|
3135
|
-
},
|
|
3135
|
+
}, kd = Ju, Bd = Ju, Od = function(t) {
|
|
3136
3136
|
var n = t.children, r = n === void 0 ? "No options" : n, i = t.innerProps, o = ht(t, Cd);
|
|
3137
3137
|
return Y("div", J({}, Ce(Z(Z({}, o), {}, {
|
|
3138
3138
|
children: r,
|
|
@@ -3164,19 +3164,19 @@ var Zu = function(t) {
|
|
|
3164
3164
|
return {
|
|
3165
3165
|
setPortalPlacement: p
|
|
3166
3166
|
};
|
|
3167
|
-
}, []), m = Se(null), I = Ct(m, 2), v = I[0], E = I[1], S =
|
|
3167
|
+
}, []), m = Se(null), I = Ct(m, 2), v = I[0], E = I[1], S = ke(function() {
|
|
3168
3168
|
if (i) {
|
|
3169
|
-
var
|
|
3170
|
-
(O !== (v == null ? void 0 : v.offset) ||
|
|
3169
|
+
var B = hd(i), R = u === "fixed" ? 0 : window.pageYOffset, O = B[f] + R;
|
|
3170
|
+
(O !== (v == null ? void 0 : v.offset) || B.left !== (v == null ? void 0 : v.rect.left) || B.width !== (v == null ? void 0 : v.rect.width)) && E({
|
|
3171
3171
|
offset: O,
|
|
3172
|
-
rect:
|
|
3172
|
+
rect: B
|
|
3173
3173
|
});
|
|
3174
3174
|
}
|
|
3175
3175
|
}, [i, u, f, v == null ? void 0 : v.offset, v == null ? void 0 : v.rect.left, v == null ? void 0 : v.rect.width]);
|
|
3176
3176
|
Li(function() {
|
|
3177
3177
|
S();
|
|
3178
3178
|
}, [S]);
|
|
3179
|
-
var w =
|
|
3179
|
+
var w = ke(function() {
|
|
3180
3180
|
typeof l.current == "function" && (l.current(), l.current = null), i && s.current && (l.current = ud(i, s.current, S, {
|
|
3181
3181
|
elementResize: "ResizeObserver" in window
|
|
3182
3182
|
}));
|
|
@@ -3184,8 +3184,8 @@ var Zu = function(t) {
|
|
|
3184
3184
|
Li(function() {
|
|
3185
3185
|
w();
|
|
3186
3186
|
}, [w]);
|
|
3187
|
-
var P =
|
|
3188
|
-
s.current =
|
|
3187
|
+
var P = ke(function(B) {
|
|
3188
|
+
s.current = B, w();
|
|
3189
3189
|
}, [w]);
|
|
3190
3190
|
if (!n && u !== "fixed" || !v) return null;
|
|
3191
3191
|
var A = Y("div", J({
|
|
@@ -3622,7 +3622,7 @@ var Ap = function(t) {
|
|
|
3622
3622
|
return Y("div", J({}, Ce(t, "placeholder", {
|
|
3623
3623
|
placeholder: !0
|
|
3624
3624
|
}), r), n);
|
|
3625
|
-
}, Rp = Gp,
|
|
3625
|
+
}, Rp = Gp, kp = function(t, n) {
|
|
3626
3626
|
var r = t.isDisabled, i = t.theme, o = i.spacing, a = i.colors;
|
|
3627
3627
|
return Z({
|
|
3628
3628
|
label: "singleValue",
|
|
@@ -3636,13 +3636,13 @@ var Ap = function(t) {
|
|
|
3636
3636
|
marginLeft: o.baseUnit / 2,
|
|
3637
3637
|
marginRight: o.baseUnit / 2
|
|
3638
3638
|
});
|
|
3639
|
-
},
|
|
3639
|
+
}, Bp = function(t) {
|
|
3640
3640
|
var n = t.children, r = t.isDisabled, i = t.innerProps;
|
|
3641
3641
|
return Y("div", J({}, Ce(t, "singleValue", {
|
|
3642
3642
|
"single-value": !0,
|
|
3643
3643
|
"single-value--is-disabled": r
|
|
3644
3644
|
}), i), n);
|
|
3645
|
-
}, Op =
|
|
3645
|
+
}, Op = Bp, Lr = {
|
|
3646
3646
|
ClearIndicator: Qd,
|
|
3647
3647
|
Control: ip,
|
|
3648
3648
|
DropdownIndicator: _d,
|
|
@@ -3766,7 +3766,7 @@ var Lp = process.env.NODE_ENV === "production" ? {
|
|
|
3766
3766
|
return "".concat(r).concat(n ? " for search term " + n : "", ".");
|
|
3767
3767
|
}
|
|
3768
3768
|
}, Hp = function(t) {
|
|
3769
|
-
var n = t.ariaSelection, r = t.focusedOption, i = t.focusedValue, o = t.focusableOptions, a = t.isFocused, u = t.selectValue, s = t.selectProps, l = t.id, c = t.isAppleDevice, d = s.ariaLiveMessages, f = s.getOptionLabel, p = s.inputValue, b = s.isMulti, m = s.isOptionDisabled, I = s.isSearchable, v = s.menuIsOpen, E = s.options, S = s.screenReaderStatus, w = s.tabSelectsValue, P = s.isLoading, A = s["aria-label"],
|
|
3769
|
+
var n = t.ariaSelection, r = t.focusedOption, i = t.focusedValue, o = t.focusableOptions, a = t.isFocused, u = t.selectValue, s = t.selectProps, l = t.id, c = t.isAppleDevice, d = s.ariaLiveMessages, f = s.getOptionLabel, p = s.inputValue, b = s.isMulti, m = s.isOptionDisabled, I = s.isSearchable, v = s.menuIsOpen, E = s.options, S = s.screenReaderStatus, w = s.tabSelectsValue, P = s.isLoading, A = s["aria-label"], B = s["aria-live"], R = dt(function() {
|
|
3770
3770
|
return Z(Z({}, zp), d || {});
|
|
3771
3771
|
}, [d]), O = dt(function() {
|
|
3772
3772
|
var X = "";
|
|
@@ -3811,7 +3811,7 @@ var Lp = process.env.NODE_ENV === "production" ? {
|
|
|
3811
3811
|
});
|
|
3812
3812
|
}
|
|
3813
3813
|
return X;
|
|
3814
|
-
}, [o, p, v, R, E, S, P]),
|
|
3814
|
+
}, [o, p, v, R, E, S, P]), k = (n == null ? void 0 : n.action) === "initial-input-focus", q = dt(function() {
|
|
3815
3815
|
var X = "";
|
|
3816
3816
|
if (R.guidance) {
|
|
3817
3817
|
var K = i ? "value" : v ? "menu" : "input";
|
|
@@ -3822,11 +3822,11 @@ var Lp = process.env.NODE_ENV === "production" ? {
|
|
|
3822
3822
|
isMulti: b,
|
|
3823
3823
|
isSearchable: I,
|
|
3824
3824
|
tabSelectsValue: w,
|
|
3825
|
-
isInitialFocus:
|
|
3825
|
+
isInitialFocus: k
|
|
3826
3826
|
});
|
|
3827
3827
|
}
|
|
3828
3828
|
return X;
|
|
3829
|
-
}, [A, r, i, b, m, I, v, R, u, w,
|
|
3829
|
+
}, [A, r, i, b, m, I, v, R, u, w, k]), ie = Y(Ci, null, Y("span", {
|
|
3830
3830
|
id: "aria-selection"
|
|
3831
3831
|
}, O), Y("span", {
|
|
3832
3832
|
id: "aria-focused"
|
|
@@ -3837,12 +3837,12 @@ var Lp = process.env.NODE_ENV === "production" ? {
|
|
|
3837
3837
|
}, q));
|
|
3838
3838
|
return Y(Ci, null, Y(ia, {
|
|
3839
3839
|
id: l
|
|
3840
|
-
},
|
|
3841
|
-
"aria-live":
|
|
3840
|
+
}, k && ie), Y(ia, {
|
|
3841
|
+
"aria-live": B,
|
|
3842
3842
|
"aria-atomic": "false",
|
|
3843
3843
|
"aria-relevant": "additions text",
|
|
3844
3844
|
role: "log"
|
|
3845
|
-
}, a && !
|
|
3845
|
+
}, a && !k && ie));
|
|
3846
3846
|
}, Wp = Hp, Xi = [{
|
|
3847
3847
|
base: "A",
|
|
3848
3848
|
letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
|
|
@@ -4154,26 +4154,26 @@ var Qp = function(t) {
|
|
|
4154
4154
|
t.cancelable && t.preventDefault(), t.stopPropagation();
|
|
4155
4155
|
};
|
|
4156
4156
|
function qp(e) {
|
|
4157
|
-
var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, i = e.onTopArrive, o = e.onTopLeave, a = It(!1), u = It(!1), s = It(0), l = It(null), c =
|
|
4157
|
+
var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, i = e.onTopArrive, o = e.onTopLeave, a = It(!1), u = It(!1), s = It(0), l = It(null), c = ke(function(I, v) {
|
|
4158
4158
|
if (l.current !== null) {
|
|
4159
|
-
var E = l.current, S = E.scrollTop, w = E.scrollHeight, P = E.clientHeight, A = l.current,
|
|
4160
|
-
R > v && a.current && (r && r(I), a.current = !1),
|
|
4159
|
+
var E = l.current, S = E.scrollTop, w = E.scrollHeight, P = E.clientHeight, A = l.current, B = v > 0, R = w - P - S, O = !1;
|
|
4160
|
+
R > v && a.current && (r && r(I), a.current = !1), B && u.current && (o && o(I), u.current = !1), B && v > R ? (n && !a.current && n(I), A.scrollTop = w, O = !0, a.current = !0) : !B && -v > S && (i && !u.current && i(I), A.scrollTop = 0, O = !0, u.current = !0), O && Qp(I);
|
|
4161
4161
|
}
|
|
4162
|
-
}, [n, r, i, o]), d =
|
|
4162
|
+
}, [n, r, i, o]), d = ke(function(I) {
|
|
4163
4163
|
c(I, I.deltaY);
|
|
4164
|
-
}, [c]), f =
|
|
4164
|
+
}, [c]), f = ke(function(I) {
|
|
4165
4165
|
s.current = I.changedTouches[0].clientY;
|
|
4166
|
-
}, []), p =
|
|
4166
|
+
}, []), p = ke(function(I) {
|
|
4167
4167
|
var v = s.current - I.changedTouches[0].clientY;
|
|
4168
4168
|
c(I, v);
|
|
4169
|
-
}, [c]), b =
|
|
4169
|
+
}, [c]), b = ke(function(I) {
|
|
4170
4170
|
if (I) {
|
|
4171
4171
|
var v = bd ? {
|
|
4172
4172
|
passive: !1
|
|
4173
4173
|
} : !1;
|
|
4174
4174
|
I.addEventListener("wheel", d, v), I.addEventListener("touchstart", f, v), I.addEventListener("touchmove", p, v);
|
|
4175
4175
|
}
|
|
4176
|
-
}, [p, f, d]), m =
|
|
4176
|
+
}, [p, f, d]), m = ke(function(I) {
|
|
4177
4177
|
I && (I.removeEventListener("wheel", d, !1), I.removeEventListener("touchstart", f, !1), I.removeEventListener("touchmove", p, !1));
|
|
4178
4178
|
}, [p, f, d]);
|
|
4179
4179
|
return zn(function() {
|
|
@@ -4212,7 +4212,7 @@ var pa = !!(typeof window < "u" && window.document && window.document.createElem
|
|
|
4212
4212
|
passive: !1
|
|
4213
4213
|
};
|
|
4214
4214
|
function $p(e) {
|
|
4215
|
-
var t = e.isEnabled, n = e.accountForScrollbars, r = n === void 0 ? !0 : n, i = It({}), o = It(null), a =
|
|
4215
|
+
var t = e.isEnabled, n = e.accountForScrollbars, r = n === void 0 ? !0 : n, i = It({}), o = It(null), a = ke(function(s) {
|
|
4216
4216
|
if (pa) {
|
|
4217
4217
|
var l = document.body, c = l && l.style;
|
|
4218
4218
|
if (r && aa.forEach(function(b) {
|
|
@@ -4227,7 +4227,7 @@ function $p(e) {
|
|
|
4227
4227
|
}
|
|
4228
4228
|
l && da() && (l.addEventListener("touchmove", sa, un), s && (s.addEventListener("touchstart", ca, un), s.addEventListener("touchmove", la, un))), Vn += 1;
|
|
4229
4229
|
}
|
|
4230
|
-
}, [r]), u =
|
|
4230
|
+
}, [r]), u = ke(function(s) {
|
|
4231
4231
|
if (pa) {
|
|
4232
4232
|
var l = document.body, c = l && l.style;
|
|
4233
4233
|
Vn = Math.max(Vn - 1, 0), r && Vn < 1 && aa.forEach(function(d) {
|
|
@@ -4343,17 +4343,17 @@ var pf = function(t) {
|
|
|
4343
4343
|
indicatorSeparator: qd,
|
|
4344
4344
|
input: pp,
|
|
4345
4345
|
loadingIndicator: ep,
|
|
4346
|
-
loadingMessage:
|
|
4346
|
+
loadingMessage: Bd,
|
|
4347
4347
|
menu: wd,
|
|
4348
4348
|
menuList: Gd,
|
|
4349
4349
|
menuPortal: Vd,
|
|
4350
4350
|
multiValue: bp,
|
|
4351
4351
|
multiValueLabel: yp,
|
|
4352
4352
|
multiValueRemove: Ip,
|
|
4353
|
-
noOptionsMessage:
|
|
4353
|
+
noOptionsMessage: kd,
|
|
4354
4354
|
option: wp,
|
|
4355
4355
|
placeholder: Pp,
|
|
4356
|
-
singleValue:
|
|
4356
|
+
singleValue: kp,
|
|
4357
4357
|
valueContainer: Ld
|
|
4358
4358
|
};
|
|
4359
4359
|
function gf(e) {
|
|
@@ -4747,7 +4747,7 @@ var ls = function(t) {
|
|
|
4747
4747
|
}, i.onValueInputFocus = function(s) {
|
|
4748
4748
|
s.preventDefault(), s.stopPropagation(), i.focus();
|
|
4749
4749
|
}, i.onKeyDown = function(s) {
|
|
4750
|
-
var l = i.props, c = l.isMulti, d = l.backspaceRemovesValue, f = l.escapeClearsValue, p = l.inputValue, b = l.isClearable, m = l.isDisabled, I = l.menuIsOpen, v = l.onKeyDown, E = l.tabSelectsValue, S = l.openMenuOnFocus, w = i.state, P = w.focusedOption, A = w.focusedValue,
|
|
4750
|
+
var l = i.props, c = l.isMulti, d = l.backspaceRemovesValue, f = l.escapeClearsValue, p = l.inputValue, b = l.isClearable, m = l.isDisabled, I = l.menuIsOpen, v = l.onKeyDown, E = l.tabSelectsValue, S = l.openMenuOnFocus, w = i.state, P = w.focusedOption, A = w.focusedValue, B = w.selectValue;
|
|
4751
4751
|
if (!m && !(typeof v == "function" && (v(s), s.defaultPrevented))) {
|
|
4752
4752
|
switch (i.blockOptionHover = !0, s.key) {
|
|
4753
4753
|
case "ArrowLeft":
|
|
@@ -4771,7 +4771,7 @@ var ls = function(t) {
|
|
|
4771
4771
|
case "Tab":
|
|
4772
4772
|
if (i.isComposing || s.shiftKey || !I || !E || !P || // don't capture the event if the menu opens on focus and the focused
|
|
4773
4773
|
// option is already selected; it breaks the flow of navigation
|
|
4774
|
-
S && i.isOptionSelected(P,
|
|
4774
|
+
S && i.isOptionSelected(P, B))
|
|
4775
4775
|
return;
|
|
4776
4776
|
i.selectOption(P);
|
|
4777
4777
|
break;
|
|
@@ -4829,7 +4829,7 @@ var ls = function(t) {
|
|
|
4829
4829
|
}
|
|
4830
4830
|
s.preventDefault();
|
|
4831
4831
|
}
|
|
4832
|
-
}, i.state.instancePrefix = "react-select-" + (i.props.instanceId || ++wf), i.state.selectValue =
|
|
4832
|
+
}, i.state.instancePrefix = "react-select-" + (i.props.instanceId || ++wf), i.state.selectValue = kr(r.value), r.menuIsOpen && i.state.selectValue.length) {
|
|
4833
4833
|
var o = i.getFocusableOptionsWithIds(), a = i.buildFocusableOptions(), u = a.indexOf(i.state.selectValue[0]);
|
|
4834
4834
|
i.state.focusableOptionsWithIds = o, i.state.focusedOption = a[u], i.state.focusedOptionId = si(o, a[u]);
|
|
4835
4835
|
}
|
|
@@ -5161,11 +5161,11 @@ var ls = function(t) {
|
|
|
5161
5161
|
});
|
|
5162
5162
|
if (v)
|
|
5163
5163
|
return null;
|
|
5164
|
-
var
|
|
5164
|
+
var B = w[0];
|
|
5165
5165
|
return /* @__PURE__ */ $.createElement(c, J({}, f, {
|
|
5166
|
-
data:
|
|
5166
|
+
data: B,
|
|
5167
5167
|
isDisabled: m
|
|
5168
|
-
}), this.formatOptionLabel(
|
|
5168
|
+
}), this.formatOptionLabel(B, "value"));
|
|
5169
5169
|
}
|
|
5170
5170
|
}, {
|
|
5171
5171
|
key: "renderClearIndicator",
|
|
@@ -5227,8 +5227,8 @@ var ls = function(t) {
|
|
|
5227
5227
|
}, {
|
|
5228
5228
|
key: "renderMenu",
|
|
5229
5229
|
value: function() {
|
|
5230
|
-
var i = this, o = this.getComponents(), a = o.Group, u = o.GroupHeading, s = o.Menu, l = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, f = o.NoOptionsMessage, p = o.Option, b = this.commonProps, m = this.state.focusedOption, I = this.props, v = I.captureMenuScroll, E = I.inputValue, S = I.isLoading, w = I.loadingMessage, P = I.minMenuHeight, A = I.maxMenuHeight,
|
|
5231
|
-
if (!
|
|
5230
|
+
var i = this, o = this.getComponents(), a = o.Group, u = o.GroupHeading, s = o.Menu, l = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, f = o.NoOptionsMessage, p = o.Option, b = this.commonProps, m = this.state.focusedOption, I = this.props, v = I.captureMenuScroll, E = I.inputValue, S = I.isLoading, w = I.loadingMessage, P = I.minMenuHeight, A = I.maxMenuHeight, B = I.menuIsOpen, R = I.menuPlacement, O = I.menuPosition, z = I.menuPortalTarget, D = I.menuShouldBlockScroll, k = I.menuShouldScrollIntoView, q = I.noOptionsMessage, ie = I.onMenuScrollToTop, X = I.onMenuScrollToBottom;
|
|
5231
|
+
if (!B) return null;
|
|
5232
5232
|
var K = function(g, ee) {
|
|
5233
5233
|
var j = g.type, re = g.data, Fe = g.isDisabled, fe = g.isSelected, Ve = g.label, qe = g.value, rt = m === re, At = Fe ? void 0 : function() {
|
|
5234
5234
|
return i.onOptionHover(re);
|
|
@@ -5295,7 +5295,7 @@ var ls = function(t) {
|
|
|
5295
5295
|
maxMenuHeight: A,
|
|
5296
5296
|
menuPlacement: R,
|
|
5297
5297
|
menuPosition: O,
|
|
5298
|
-
menuShouldScrollIntoView:
|
|
5298
|
+
menuShouldScrollIntoView: k
|
|
5299
5299
|
}, H = /* @__PURE__ */ $.createElement(Ed, J({}, b, y), function(N) {
|
|
5300
5300
|
var g = N.ref, ee = N.placerProps, j = ee.placement, re = ee.maxHeight;
|
|
5301
5301
|
return /* @__PURE__ */ $.createElement(s, J({}, b, y, {
|
|
@@ -5423,12 +5423,12 @@ var ls = function(t) {
|
|
|
5423
5423
|
}], [{
|
|
5424
5424
|
key: "getDerivedStateFromProps",
|
|
5425
5425
|
value: function(i, o) {
|
|
5426
|
-
var a = o.prevProps, u = o.clearFocusValueOnUpdate, s = o.inputIsHiddenAfterUpdate, l = o.ariaSelection, c = o.isFocused, d = o.prevWasFocused, f = o.instancePrefix, p = i.options, b = i.value, m = i.menuIsOpen, I = i.inputValue, v = i.isMulti, E =
|
|
5426
|
+
var a = o.prevProps, u = o.clearFocusValueOnUpdate, s = o.inputIsHiddenAfterUpdate, l = o.ariaSelection, c = o.isFocused, d = o.prevWasFocused, f = o.instancePrefix, p = i.options, b = i.value, m = i.menuIsOpen, I = i.inputValue, v = i.isMulti, E = kr(b), S = {};
|
|
5427
5427
|
if (a && (b !== a.value || p !== a.options || m !== a.menuIsOpen || I !== a.inputValue)) {
|
|
5428
|
-
var w = m ? xf(i, E) : [], P = m ? ha(vr(i, E), "".concat(f, "-option")) : [], A = u ? Af(o, E) : null,
|
|
5428
|
+
var w = m ? xf(i, E) : [], P = m ? ha(vr(i, E), "".concat(f, "-option")) : [], A = u ? Af(o, E) : null, B = Sf(o, w), R = si(P, B);
|
|
5429
5429
|
S = {
|
|
5430
5430
|
selectValue: E,
|
|
5431
|
-
focusedOption:
|
|
5431
|
+
focusedOption: B,
|
|
5432
5432
|
focusedOptionId: R,
|
|
5433
5433
|
focusableOptionsWithIds: P,
|
|
5434
5434
|
focusedValue: A,
|
|
@@ -5543,9 +5543,9 @@ function Rf(e, t) {
|
|
|
5543
5543
|
(n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
|
|
5544
5544
|
).trim();
|
|
5545
5545
|
}
|
|
5546
|
-
const
|
|
5546
|
+
const kf = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Bf = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Of = {};
|
|
5547
5547
|
function ma(e, t) {
|
|
5548
|
-
return (Of.jsx ?
|
|
5548
|
+
return (Of.jsx ? Bf : kf).test(e);
|
|
5549
5549
|
}
|
|
5550
5550
|
const Tf = /[ \t\n\f\r]/g;
|
|
5551
5551
|
function Vf(e) {
|
|
@@ -6836,7 +6836,7 @@ function wa(e) {
|
|
|
6836
6836
|
function Ea(e) {
|
|
6837
6837
|
return e && typeof e == "number" ? e : 1;
|
|
6838
6838
|
}
|
|
6839
|
-
class
|
|
6839
|
+
class Be extends Error {
|
|
6840
6840
|
/**
|
|
6841
6841
|
* Create a message for `reason`.
|
|
6842
6842
|
*
|
|
@@ -6910,19 +6910,19 @@ class ke extends Error {
|
|
|
6910
6910
|
this.ancestors = o.ancestors || void 0, this.cause = o.cause || void 0, this.column = u ? u.column : void 0, this.fatal = void 0, this.file, this.message = i, this.line = u ? u.line : void 0, this.name = Wn(o.place) || "1:1", this.place = o.place || void 0, this.reason = this.message, this.ruleId = o.ruleId || void 0, this.source = o.source || void 0, this.stack = a && o.cause && typeof o.cause.stack == "string" ? o.cause.stack : "", this.actual, this.expected, this.note, this.url;
|
|
6911
6911
|
}
|
|
6912
6912
|
}
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6913
|
+
Be.prototype.file = "";
|
|
6914
|
+
Be.prototype.name = "";
|
|
6915
|
+
Be.prototype.reason = "";
|
|
6916
|
+
Be.prototype.message = "";
|
|
6917
|
+
Be.prototype.stack = "";
|
|
6918
|
+
Be.prototype.column = void 0;
|
|
6919
|
+
Be.prototype.line = void 0;
|
|
6920
|
+
Be.prototype.ancestors = void 0;
|
|
6921
|
+
Be.prototype.cause = void 0;
|
|
6922
|
+
Be.prototype.fatal = void 0;
|
|
6923
|
+
Be.prototype.place = void 0;
|
|
6924
|
+
Be.prototype.ruleId = void 0;
|
|
6925
|
+
Be.prototype.source = void 0;
|
|
6926
6926
|
const ho = {}.hasOwnProperty, ch = /* @__PURE__ */ new Map(), dh = /[A-Z]/g, ph = /-([a-z])/g, fh = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), hh = /* @__PURE__ */ new Set(["td", "th"]), Cs = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
6927
6927
|
function gh(e, t) {
|
|
6928
6928
|
if (!t || t.Fragment === void 0)
|
|
@@ -7145,7 +7145,7 @@ function Fh(e, t) {
|
|
|
7145
7145
|
const o = (
|
|
7146
7146
|
/** @type {Error} */
|
|
7147
7147
|
i
|
|
7148
|
-
), a = new
|
|
7148
|
+
), a = new Be("Cannot parse `style` attribute", {
|
|
7149
7149
|
ancestors: e.ancestors,
|
|
7150
7150
|
cause: o,
|
|
7151
7151
|
ruleId: "style",
|
|
@@ -7192,7 +7192,7 @@ function Ss(e, t, n) {
|
|
|
7192
7192
|
jn(e);
|
|
7193
7193
|
}
|
|
7194
7194
|
function jn(e, t) {
|
|
7195
|
-
const n = new
|
|
7195
|
+
const n = new Be(
|
|
7196
7196
|
"Cannot handle MDX estrees without `createEvaluater`",
|
|
7197
7197
|
{
|
|
7198
7198
|
ancestors: e.ancestors,
|
|
@@ -7211,13 +7211,13 @@ function Ph(e) {
|
|
|
7211
7211
|
return t;
|
|
7212
7212
|
}
|
|
7213
7213
|
function Gh(e) {
|
|
7214
|
-
let t = e.replace(dh,
|
|
7214
|
+
let t = e.replace(dh, kh);
|
|
7215
7215
|
return t.slice(0, 3) === "ms-" && (t = "-" + t), t;
|
|
7216
7216
|
}
|
|
7217
7217
|
function Rh(e, t) {
|
|
7218
7218
|
return t.toUpperCase();
|
|
7219
7219
|
}
|
|
7220
|
-
function
|
|
7220
|
+
function kh(e) {
|
|
7221
7221
|
return "-" + e.toLowerCase();
|
|
7222
7222
|
}
|
|
7223
7223
|
const ci = {
|
|
@@ -7242,9 +7242,9 @@ const ci = {
|
|
|
7242
7242
|
"track",
|
|
7243
7243
|
"video"
|
|
7244
7244
|
]
|
|
7245
|
-
},
|
|
7245
|
+
}, Bh = {};
|
|
7246
7246
|
function Oh(e, t) {
|
|
7247
|
-
const n =
|
|
7247
|
+
const n = Bh, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
|
|
7248
7248
|
return ws(e, r, i);
|
|
7249
7249
|
}
|
|
7250
7250
|
function ws(e, t, n) {
|
|
@@ -7449,12 +7449,12 @@ function Jh(e) {
|
|
|
7449
7449
|
break;
|
|
7450
7450
|
}
|
|
7451
7451
|
v(r);
|
|
7452
|
-
let
|
|
7453
|
-
for (;
|
|
7454
|
-
t.events[
|
|
7452
|
+
let B = w;
|
|
7453
|
+
for (; B < t.events.length; )
|
|
7454
|
+
t.events[B][1].end = {
|
|
7455
7455
|
...A
|
|
7456
|
-
},
|
|
7457
|
-
return ft(t.events, P + 1, 0, t.events.slice(w)), t.events.length =
|
|
7456
|
+
}, B++;
|
|
7457
|
+
return ft(t.events, P + 1, 0, t.events.slice(w)), t.events.length = B, l(S);
|
|
7458
7458
|
}
|
|
7459
7459
|
return u(S);
|
|
7460
7460
|
}
|
|
@@ -7510,8 +7510,8 @@ function Jh(e) {
|
|
|
7510
7510
|
i.events[A][1].end.offset > a)
|
|
7511
7511
|
)
|
|
7512
7512
|
return;
|
|
7513
|
-
const
|
|
7514
|
-
let R =
|
|
7513
|
+
const B = t.events.length;
|
|
7514
|
+
let R = B, O, z;
|
|
7515
7515
|
for (; R--; )
|
|
7516
7516
|
if (t.events[R][0] === "exit" && t.events[R][1].type === "chunkFlow") {
|
|
7517
7517
|
if (O) {
|
|
@@ -7520,11 +7520,11 @@ function Jh(e) {
|
|
|
7520
7520
|
}
|
|
7521
7521
|
O = !0;
|
|
7522
7522
|
}
|
|
7523
|
-
for (v(r), A =
|
|
7523
|
+
for (v(r), A = B; A < t.events.length; )
|
|
7524
7524
|
t.events[A][1].end = {
|
|
7525
7525
|
...z
|
|
7526
7526
|
}, A++;
|
|
7527
|
-
ft(t.events, R + 1, 0, t.events.slice(
|
|
7527
|
+
ft(t.events, R + 1, 0, t.events.slice(B)), t.events.length = A;
|
|
7528
7528
|
}
|
|
7529
7529
|
}
|
|
7530
7530
|
function v(S) {
|
|
@@ -7542,7 +7542,7 @@ function Jh(e) {
|
|
|
7542
7542
|
function jh(e, t, n) {
|
|
7543
7543
|
return ge(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
7544
7544
|
}
|
|
7545
|
-
function
|
|
7545
|
+
function ka(e) {
|
|
7546
7546
|
if (e === null || Le(e) || Hh(e))
|
|
7547
7547
|
return 1;
|
|
7548
7548
|
if (zh(e))
|
|
@@ -7577,7 +7577,7 @@ function _h(e, t) {
|
|
|
7577
7577
|
}, f = {
|
|
7578
7578
|
...e[n][1].start
|
|
7579
7579
|
};
|
|
7580
|
-
|
|
7580
|
+
Ba(d, -s), Ba(f, s), a = {
|
|
7581
7581
|
type: s > 1 ? "strongSequence" : "emphasisSequence",
|
|
7582
7582
|
start: d,
|
|
7583
7583
|
end: {
|
|
@@ -7618,7 +7618,7 @@ function _h(e, t) {
|
|
|
7618
7618
|
return e;
|
|
7619
7619
|
}
|
|
7620
7620
|
function Uh(e, t) {
|
|
7621
|
-
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, i =
|
|
7621
|
+
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = ka(r);
|
|
7622
7622
|
let o;
|
|
7623
7623
|
return a;
|
|
7624
7624
|
function a(s) {
|
|
@@ -7627,11 +7627,11 @@ function Uh(e, t) {
|
|
|
7627
7627
|
function u(s) {
|
|
7628
7628
|
if (s === o)
|
|
7629
7629
|
return e.consume(s), u;
|
|
7630
|
-
const l = e.exit("attentionSequence"), c =
|
|
7630
|
+
const l = e.exit("attentionSequence"), c = ka(s), d = !c || c === 2 && i || n.includes(s), f = !i || i === 2 && c || n.includes(r);
|
|
7631
7631
|
return l._open = !!(o === 42 ? d : d && (i || !f)), l._close = !!(o === 42 ? f : f && (c || !d)), t(s);
|
|
7632
7632
|
}
|
|
7633
7633
|
}
|
|
7634
|
-
function
|
|
7634
|
+
function Ba(e, t) {
|
|
7635
7635
|
e.column += t, e.offset += t, e._bufferIndex += t;
|
|
7636
7636
|
}
|
|
7637
7637
|
const Qh = {
|
|
@@ -7780,8 +7780,8 @@ function ig(e, t, n) {
|
|
|
7780
7780
|
return l(A);
|
|
7781
7781
|
}
|
|
7782
7782
|
function l(A) {
|
|
7783
|
-
const
|
|
7784
|
-
return o =
|
|
7783
|
+
const B = r.events[r.events.length - 1];
|
|
7784
|
+
return o = B && B[1].type === "linePrefix" ? B[2].sliceSerialize(B[1], !0).length : 0, u = A, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(A);
|
|
7785
7785
|
}
|
|
7786
7786
|
function c(A) {
|
|
7787
7787
|
return A === u ? (a++, e.consume(A), c) : a < 3 ? n(A) : (e.exit("codeFencedFenceSequence"), ce(A) ? ge(e, d, "whitespace")(A) : d(A));
|
|
@@ -7820,23 +7820,23 @@ function ig(e, t, n) {
|
|
|
7820
7820
|
function w(A) {
|
|
7821
7821
|
return e.exit("codeFenced"), t(A);
|
|
7822
7822
|
}
|
|
7823
|
-
function P(A,
|
|
7823
|
+
function P(A, B, R) {
|
|
7824
7824
|
let O = 0;
|
|
7825
7825
|
return z;
|
|
7826
7826
|
function z(X) {
|
|
7827
7827
|
return A.enter("lineEnding"), A.consume(X), A.exit("lineEnding"), D;
|
|
7828
7828
|
}
|
|
7829
7829
|
function D(X) {
|
|
7830
|
-
return A.enter("codeFencedFence"), ce(X) ? ge(A,
|
|
7830
|
+
return A.enter("codeFencedFence"), ce(X) ? ge(A, k, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(X) : k(X);
|
|
7831
7831
|
}
|
|
7832
|
-
function
|
|
7832
|
+
function k(X) {
|
|
7833
7833
|
return X === u ? (A.enter("codeFencedFenceSequence"), q(X)) : R(X);
|
|
7834
7834
|
}
|
|
7835
7835
|
function q(X) {
|
|
7836
7836
|
return X === u ? (O++, A.consume(X), q) : O >= a ? (A.exit("codeFencedFenceSequence"), ce(X) ? ge(A, ie, "whitespace")(X) : ie(X)) : R(X);
|
|
7837
7837
|
}
|
|
7838
7838
|
function ie(X) {
|
|
7839
|
-
return X === null || U(X) ? (A.exit("codeFencedFence"),
|
|
7839
|
+
return X === null || U(X) ? (A.exit("codeFencedFence"), B(X)) : R(X);
|
|
7840
7840
|
}
|
|
7841
7841
|
}
|
|
7842
7842
|
}
|
|
@@ -8189,7 +8189,7 @@ function Ig(e, t, n) {
|
|
|
8189
8189
|
return !r.parser.constructs.disable.null.includes("codeIndented") && u && u[1].type === "linePrefix" && u[2].sliceSerialize(u[1], !0).length >= 4 ? t(a) : e.interrupt(r.parser.constructs.flow, n, t)(a);
|
|
8190
8190
|
}
|
|
8191
8191
|
}
|
|
8192
|
-
function
|
|
8192
|
+
function ks(e, t, n, r, i, o, a, u, s) {
|
|
8193
8193
|
const l = s || Number.POSITIVE_INFINITY;
|
|
8194
8194
|
let c = 0;
|
|
8195
8195
|
return d;
|
|
@@ -8216,7 +8216,7 @@ function Bs(e, t, n, r, i, o, a, u, s) {
|
|
|
8216
8216
|
return v === 40 || v === 41 || v === 92 ? (e.consume(v), m) : m(v);
|
|
8217
8217
|
}
|
|
8218
8218
|
}
|
|
8219
|
-
function
|
|
8219
|
+
function Bs(e, t, n, r, i, o) {
|
|
8220
8220
|
const a = this;
|
|
8221
8221
|
let u = 0, s;
|
|
8222
8222
|
return l;
|
|
@@ -8283,7 +8283,7 @@ function xg(e, t, n) {
|
|
|
8283
8283
|
return e.enter("definition"), a(p);
|
|
8284
8284
|
}
|
|
8285
8285
|
function a(p) {
|
|
8286
|
-
return
|
|
8286
|
+
return Bs.call(
|
|
8287
8287
|
r,
|
|
8288
8288
|
e,
|
|
8289
8289
|
u,
|
|
@@ -8301,7 +8301,7 @@ function xg(e, t, n) {
|
|
|
8301
8301
|
return Le(p) ? Zn(e, l)(p) : l(p);
|
|
8302
8302
|
}
|
|
8303
8303
|
function l(p) {
|
|
8304
|
-
return
|
|
8304
|
+
return ks(
|
|
8305
8305
|
e,
|
|
8306
8306
|
c,
|
|
8307
8307
|
// Note: we don’t need to reset the way `markdown-rs` does.
|
|
@@ -8459,10 +8459,10 @@ const Gg = [
|
|
|
8459
8459
|
name: "htmlFlow",
|
|
8460
8460
|
resolveTo: Og,
|
|
8461
8461
|
tokenize: Tg
|
|
8462
|
-
},
|
|
8462
|
+
}, kg = {
|
|
8463
8463
|
partial: !0,
|
|
8464
8464
|
tokenize: Dg
|
|
8465
|
-
},
|
|
8465
|
+
}, Bg = {
|
|
8466
8466
|
partial: !0,
|
|
8467
8467
|
tokenize: Vg
|
|
8468
8468
|
};
|
|
@@ -8493,7 +8493,7 @@ function Tg(e, t, n) {
|
|
|
8493
8493
|
}
|
|
8494
8494
|
function b(g) {
|
|
8495
8495
|
const ee = "CDATA[";
|
|
8496
|
-
return g === ee.charCodeAt(u++) ? (e.consume(g), u === ee.length ? r.interrupt ? t :
|
|
8496
|
+
return g === ee.charCodeAt(u++) ? (e.consume(g), u === ee.length ? r.interrupt ? t : k : b) : n(g);
|
|
8497
8497
|
}
|
|
8498
8498
|
function m(g) {
|
|
8499
8499
|
return pt(g) ? (e.consume(g), a = String.fromCharCode(g), I) : n(g);
|
|
@@ -8501,12 +8501,12 @@ function Tg(e, t, n) {
|
|
|
8501
8501
|
function I(g) {
|
|
8502
8502
|
if (g === null || g === 47 || g === 62 || Le(g)) {
|
|
8503
8503
|
const ee = g === 47, j = a.toLowerCase();
|
|
8504
|
-
return !ee && !o && Va.includes(j) ? (i = 1, r.interrupt ? t(g) :
|
|
8504
|
+
return !ee && !o && Va.includes(j) ? (i = 1, r.interrupt ? t(g) : k(g)) : Gg.includes(a.toLowerCase()) ? (i = 6, ee ? (e.consume(g), v) : r.interrupt ? t(g) : k(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? E(g) : S(g));
|
|
8505
8505
|
}
|
|
8506
8506
|
return g === 45 || We(g) ? (e.consume(g), a += String.fromCharCode(g), I) : n(g);
|
|
8507
8507
|
}
|
|
8508
8508
|
function v(g) {
|
|
8509
|
-
return g === 62 ? (e.consume(g), r.interrupt ? t :
|
|
8509
|
+
return g === 62 ? (e.consume(g), r.interrupt ? t : k) : n(g);
|
|
8510
8510
|
}
|
|
8511
8511
|
function E(g) {
|
|
8512
8512
|
return ce(g) ? (e.consume(g), E) : z(g);
|
|
@@ -8521,10 +8521,10 @@ function Tg(e, t, n) {
|
|
|
8521
8521
|
return g === 61 ? (e.consume(g), A) : ce(g) ? (e.consume(g), P) : S(g);
|
|
8522
8522
|
}
|
|
8523
8523
|
function A(g) {
|
|
8524
|
-
return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), s = g,
|
|
8524
|
+
return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), s = g, B) : ce(g) ? (e.consume(g), A) : R(g);
|
|
8525
8525
|
}
|
|
8526
|
-
function
|
|
8527
|
-
return g === s ? (e.consume(g), s = null, O) : g === null || U(g) ? n(g) : (e.consume(g),
|
|
8526
|
+
function B(g) {
|
|
8527
|
+
return g === s ? (e.consume(g), s = null, O) : g === null || U(g) ? n(g) : (e.consume(g), B);
|
|
8528
8528
|
}
|
|
8529
8529
|
function R(g) {
|
|
8530
8530
|
return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || Le(g) ? P(g) : (e.consume(g), R);
|
|
@@ -8536,38 +8536,38 @@ function Tg(e, t, n) {
|
|
|
8536
8536
|
return g === 62 ? (e.consume(g), D) : n(g);
|
|
8537
8537
|
}
|
|
8538
8538
|
function D(g) {
|
|
8539
|
-
return g === null || U(g) ?
|
|
8539
|
+
return g === null || U(g) ? k(g) : ce(g) ? (e.consume(g), D) : n(g);
|
|
8540
8540
|
}
|
|
8541
|
-
function
|
|
8542
|
-
return g === 45 && i === 2 ? (e.consume(g), K) : g === 60 && i === 1 ? (e.consume(g), le) : g === 62 && i === 4 ? (e.consume(g), H) : g === 63 && i === 3 ? (e.consume(g), y) : g === 93 && i === 5 ? (e.consume(g), ye) : U(g) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
|
|
8541
|
+
function k(g) {
|
|
8542
|
+
return g === 45 && i === 2 ? (e.consume(g), K) : g === 60 && i === 1 ? (e.consume(g), le) : g === 62 && i === 4 ? (e.consume(g), H) : g === 63 && i === 3 ? (e.consume(g), y) : g === 93 && i === 5 ? (e.consume(g), ye) : U(g) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(kg, N, q)(g)) : g === null || U(g) ? (e.exit("htmlFlowData"), q(g)) : (e.consume(g), k);
|
|
8543
8543
|
}
|
|
8544
8544
|
function q(g) {
|
|
8545
|
-
return e.check(
|
|
8545
|
+
return e.check(Bg, ie, N)(g);
|
|
8546
8546
|
}
|
|
8547
8547
|
function ie(g) {
|
|
8548
8548
|
return e.enter("lineEnding"), e.consume(g), e.exit("lineEnding"), X;
|
|
8549
8549
|
}
|
|
8550
8550
|
function X(g) {
|
|
8551
|
-
return g === null || U(g) ? q(g) : (e.enter("htmlFlowData"),
|
|
8551
|
+
return g === null || U(g) ? q(g) : (e.enter("htmlFlowData"), k(g));
|
|
8552
8552
|
}
|
|
8553
8553
|
function K(g) {
|
|
8554
|
-
return g === 45 ? (e.consume(g), y) :
|
|
8554
|
+
return g === 45 ? (e.consume(g), y) : k(g);
|
|
8555
8555
|
}
|
|
8556
8556
|
function le(g) {
|
|
8557
|
-
return g === 47 ? (e.consume(g), a = "", de) :
|
|
8557
|
+
return g === 47 ? (e.consume(g), a = "", de) : k(g);
|
|
8558
8558
|
}
|
|
8559
8559
|
function de(g) {
|
|
8560
8560
|
if (g === 62) {
|
|
8561
8561
|
const ee = a.toLowerCase();
|
|
8562
|
-
return Va.includes(ee) ? (e.consume(g), H) :
|
|
8562
|
+
return Va.includes(ee) ? (e.consume(g), H) : k(g);
|
|
8563
8563
|
}
|
|
8564
|
-
return pt(g) && a.length < 8 ? (e.consume(g), a += String.fromCharCode(g), de) :
|
|
8564
|
+
return pt(g) && a.length < 8 ? (e.consume(g), a += String.fromCharCode(g), de) : k(g);
|
|
8565
8565
|
}
|
|
8566
8566
|
function ye(g) {
|
|
8567
|
-
return g === 93 ? (e.consume(g), y) :
|
|
8567
|
+
return g === 93 ? (e.consume(g), y) : k(g);
|
|
8568
8568
|
}
|
|
8569
8569
|
function y(g) {
|
|
8570
|
-
return g === 62 ? (e.consume(g), H) : g === 45 && i === 2 ? (e.consume(g), y) :
|
|
8570
|
+
return g === 62 ? (e.consume(g), H) : g === 45 && i === 2 ? (e.consume(g), y) : k(g);
|
|
8571
8571
|
}
|
|
8572
8572
|
function H(g) {
|
|
8573
8573
|
return g === null || U(g) ? (e.exit("htmlFlowData"), N(g)) : (e.consume(g), H);
|
|
@@ -8647,10 +8647,10 @@ function Mg(e, t, n) {
|
|
|
8647
8647
|
return pt(y) ? (e.consume(y), A) : n(y);
|
|
8648
8648
|
}
|
|
8649
8649
|
function A(y) {
|
|
8650
|
-
return y === 45 || We(y) ? (e.consume(y), A) :
|
|
8650
|
+
return y === 45 || We(y) ? (e.consume(y), A) : B(y);
|
|
8651
8651
|
}
|
|
8652
|
-
function
|
|
8653
|
-
return U(y) ? (a =
|
|
8652
|
+
function B(y) {
|
|
8653
|
+
return U(y) ? (a = B, le(y)) : ce(y) ? (e.consume(y), B) : K(y);
|
|
8654
8654
|
}
|
|
8655
8655
|
function R(y) {
|
|
8656
8656
|
return y === 45 || We(y) ? (e.consume(y), R) : y === 47 || y === 62 || Le(y) ? O(y) : n(y);
|
|
@@ -8662,10 +8662,10 @@ function Mg(e, t, n) {
|
|
|
8662
8662
|
return y === 45 || y === 46 || y === 58 || y === 95 || We(y) ? (e.consume(y), z) : D(y);
|
|
8663
8663
|
}
|
|
8664
8664
|
function D(y) {
|
|
8665
|
-
return y === 61 ? (e.consume(y),
|
|
8665
|
+
return y === 61 ? (e.consume(y), k) : U(y) ? (a = D, le(y)) : ce(y) ? (e.consume(y), D) : O(y);
|
|
8666
8666
|
}
|
|
8667
|
-
function
|
|
8668
|
-
return y === null || y === 60 || y === 61 || y === 62 || y === 96 ? n(y) : y === 34 || y === 39 ? (e.consume(y), i = y, q) : U(y) ? (a =
|
|
8667
|
+
function k(y) {
|
|
8668
|
+
return y === null || y === 60 || y === 61 || y === 62 || y === 96 ? n(y) : y === 34 || y === 39 ? (e.consume(y), i = y, q) : U(y) ? (a = k, le(y)) : ce(y) ? (e.consume(y), k) : (e.consume(y), ie);
|
|
8669
8669
|
}
|
|
8670
8670
|
function q(y) {
|
|
8671
8671
|
return y === i ? (e.consume(y), i = void 0, X) : y === null ? n(y) : U(y) ? (a = q, le(y)) : (e.consume(y), q);
|
|
@@ -8790,7 +8790,7 @@ function Yg(e, t, n) {
|
|
|
8790
8790
|
return Le(d) ? Zn(e, o)(d) : o(d);
|
|
8791
8791
|
}
|
|
8792
8792
|
function o(d) {
|
|
8793
|
-
return d === 41 ? c(d) :
|
|
8793
|
+
return d === 41 ? c(d) : ks(e, a, u, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(d);
|
|
8794
8794
|
}
|
|
8795
8795
|
function a(d) {
|
|
8796
8796
|
return Le(d) ? Zn(e, s)(d) : c(d);
|
|
@@ -8812,7 +8812,7 @@ function Jg(e, t, n) {
|
|
|
8812
8812
|
const r = this;
|
|
8813
8813
|
return i;
|
|
8814
8814
|
function i(u) {
|
|
8815
|
-
return
|
|
8815
|
+
return Bs.call(r, e, o, a, "reference", "referenceMarker", "referenceString")(u);
|
|
8816
8816
|
}
|
|
8817
8817
|
function o(u) {
|
|
8818
8818
|
return r.parser.defined.includes(fn(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(u) : n(u);
|
|
@@ -9220,12 +9220,12 @@ function wm(e, t, n) {
|
|
|
9220
9220
|
const i = {}, o = [];
|
|
9221
9221
|
let a = [], u = [];
|
|
9222
9222
|
const s = {
|
|
9223
|
-
attempt:
|
|
9224
|
-
check:
|
|
9223
|
+
attempt: B(P),
|
|
9224
|
+
check: B(A),
|
|
9225
9225
|
consume: E,
|
|
9226
9226
|
enter: S,
|
|
9227
9227
|
exit: w,
|
|
9228
|
-
interrupt:
|
|
9228
|
+
interrupt: B(A, {
|
|
9229
9229
|
interrupt: !0
|
|
9230
9230
|
})
|
|
9231
9231
|
}, l = {
|
|
@@ -9245,8 +9245,8 @@ function wm(e, t, n) {
|
|
|
9245
9245
|
function d(D) {
|
|
9246
9246
|
return a = _e(a, D), I(), a[a.length - 1] !== null ? [] : (R(t, 0), l.events = yo(o, l.events, l), l.events);
|
|
9247
9247
|
}
|
|
9248
|
-
function f(D,
|
|
9249
|
-
return Fm(p(D),
|
|
9248
|
+
function f(D, k) {
|
|
9249
|
+
return Fm(p(D), k);
|
|
9250
9250
|
}
|
|
9251
9251
|
function p(D) {
|
|
9252
9252
|
return Em(a, D);
|
|
@@ -9254,14 +9254,14 @@ function wm(e, t, n) {
|
|
|
9254
9254
|
function b() {
|
|
9255
9255
|
const {
|
|
9256
9256
|
_bufferIndex: D,
|
|
9257
|
-
_index:
|
|
9257
|
+
_index: k,
|
|
9258
9258
|
line: q,
|
|
9259
9259
|
column: ie,
|
|
9260
9260
|
offset: X
|
|
9261
9261
|
} = r;
|
|
9262
9262
|
return {
|
|
9263
9263
|
_bufferIndex: D,
|
|
9264
|
-
_index:
|
|
9264
|
+
_index: k,
|
|
9265
9265
|
line: q,
|
|
9266
9266
|
column: ie,
|
|
9267
9267
|
offset: X
|
|
@@ -9273,12 +9273,12 @@ function wm(e, t, n) {
|
|
|
9273
9273
|
function I() {
|
|
9274
9274
|
let D;
|
|
9275
9275
|
for (; r._index < a.length; ) {
|
|
9276
|
-
const
|
|
9277
|
-
if (typeof
|
|
9278
|
-
for (D = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === D && r._bufferIndex <
|
|
9279
|
-
v(
|
|
9276
|
+
const k = a[r._index];
|
|
9277
|
+
if (typeof k == "string")
|
|
9278
|
+
for (D = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === D && r._bufferIndex < k.length; )
|
|
9279
|
+
v(k.charCodeAt(r._bufferIndex));
|
|
9280
9280
|
else
|
|
9281
|
-
v(
|
|
9281
|
+
v(k);
|
|
9282
9282
|
}
|
|
9283
9283
|
}
|
|
9284
9284
|
function v(D) {
|
|
@@ -9290,21 +9290,21 @@ function wm(e, t, n) {
|
|
|
9290
9290
|
/** @type {string} */
|
|
9291
9291
|
a[r._index].length && (r._bufferIndex = -1, r._index++)), l.previous = D;
|
|
9292
9292
|
}
|
|
9293
|
-
function S(D,
|
|
9294
|
-
const q =
|
|
9293
|
+
function S(D, k) {
|
|
9294
|
+
const q = k || {};
|
|
9295
9295
|
return q.type = D, q.start = b(), l.events.push(["enter", q, l]), u.push(q), q;
|
|
9296
9296
|
}
|
|
9297
9297
|
function w(D) {
|
|
9298
|
-
const
|
|
9299
|
-
return
|
|
9298
|
+
const k = u.pop();
|
|
9299
|
+
return k.end = b(), l.events.push(["exit", k, l]), k;
|
|
9300
9300
|
}
|
|
9301
|
-
function P(D,
|
|
9302
|
-
R(D,
|
|
9301
|
+
function P(D, k) {
|
|
9302
|
+
R(D, k.from);
|
|
9303
9303
|
}
|
|
9304
|
-
function A(D,
|
|
9305
|
-
|
|
9304
|
+
function A(D, k) {
|
|
9305
|
+
k.restore();
|
|
9306
9306
|
}
|
|
9307
|
-
function
|
|
9307
|
+
function B(D, k) {
|
|
9308
9308
|
return q;
|
|
9309
9309
|
function q(ie, X, K) {
|
|
9310
9310
|
let le, de, ye, y;
|
|
@@ -9340,7 +9340,7 @@ function wm(e, t, n) {
|
|
|
9340
9340
|
// If we do have fields, create an object w/ `context` as its
|
|
9341
9341
|
// prototype.
|
|
9342
9342
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
9343
|
-
|
|
9343
|
+
k ? Object.assign(Object.create(l), k) : l,
|
|
9344
9344
|
s,
|
|
9345
9345
|
ee,
|
|
9346
9346
|
j
|
|
@@ -9355,17 +9355,17 @@ function wm(e, t, n) {
|
|
|
9355
9355
|
}
|
|
9356
9356
|
}
|
|
9357
9357
|
}
|
|
9358
|
-
function R(D,
|
|
9359
|
-
D.resolveAll && !o.includes(D) && o.push(D), D.resolve && ft(l.events,
|
|
9358
|
+
function R(D, k) {
|
|
9359
|
+
D.resolveAll && !o.includes(D) && o.push(D), D.resolve && ft(l.events, k, l.events.length - k, D.resolve(l.events.slice(k), l)), D.resolveTo && (l.events = D.resolveTo(l.events, l));
|
|
9360
9360
|
}
|
|
9361
9361
|
function O() {
|
|
9362
|
-
const D = b(),
|
|
9362
|
+
const D = b(), k = l.previous, q = l.currentConstruct, ie = l.events.length, X = Array.from(u);
|
|
9363
9363
|
return {
|
|
9364
9364
|
from: ie,
|
|
9365
9365
|
restore: K
|
|
9366
9366
|
};
|
|
9367
9367
|
function K() {
|
|
9368
|
-
r = D, l.previous =
|
|
9368
|
+
r = D, l.previous = k, l.currentConstruct = q, l.events.length = ie, u = X, z();
|
|
9369
9369
|
}
|
|
9370
9370
|
}
|
|
9371
9371
|
function z() {
|
|
@@ -9489,9 +9489,9 @@ function Rm() {
|
|
|
9489
9489
|
return u && (r && s.push(-5), t && s.push(t), s.push(null)), s;
|
|
9490
9490
|
}
|
|
9491
9491
|
}
|
|
9492
|
-
const
|
|
9493
|
-
function
|
|
9494
|
-
return e.replace(
|
|
9492
|
+
const km = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
9493
|
+
function Bm(e) {
|
|
9494
|
+
return e.replace(km, Om);
|
|
9495
9495
|
}
|
|
9496
9496
|
function Om(e, t, n) {
|
|
9497
9497
|
if (t)
|
|
@@ -9579,8 +9579,8 @@ function Vm(e) {
|
|
|
9579
9579
|
definitionLabelString: E,
|
|
9580
9580
|
definitionTitleString: S,
|
|
9581
9581
|
emphasis: s(),
|
|
9582
|
-
hardBreakEscape: s(
|
|
9583
|
-
hardBreakTrailing: s(
|
|
9582
|
+
hardBreakEscape: s(k),
|
|
9583
|
+
hardBreakTrailing: s(k),
|
|
9584
9584
|
htmlFlow: s(q),
|
|
9585
9585
|
htmlFlowData: z,
|
|
9586
9586
|
htmlText: s(ie),
|
|
@@ -9599,7 +9599,7 @@ function Vm(e) {
|
|
|
9599
9599
|
resourceTitleString: H,
|
|
9600
9600
|
resource: N,
|
|
9601
9601
|
setextHeading: s(R),
|
|
9602
|
-
setextHeadingLineSequence:
|
|
9602
|
+
setextHeadingLineSequence: B,
|
|
9603
9603
|
setextHeadingText: A,
|
|
9604
9604
|
strong: s(),
|
|
9605
9605
|
thematicBreak: s()
|
|
@@ -9795,7 +9795,7 @@ function Vm(e) {
|
|
|
9795
9795
|
function A() {
|
|
9796
9796
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
9797
9797
|
}
|
|
9798
|
-
function
|
|
9798
|
+
function B(F) {
|
|
9799
9799
|
const V = this.stack[this.stack.length - 1];
|
|
9800
9800
|
V.depth = this.sliceSerialize(F).codePointAt(0) === 61 ? 1 : 2;
|
|
9801
9801
|
}
|
|
@@ -9824,7 +9824,7 @@ function Vm(e) {
|
|
|
9824
9824
|
}
|
|
9825
9825
|
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(V.type) && (O.call(this, F), z.call(this, F));
|
|
9826
9826
|
}
|
|
9827
|
-
function
|
|
9827
|
+
function k() {
|
|
9828
9828
|
this.data.atHardBreak = !0;
|
|
9829
9829
|
}
|
|
9830
9830
|
function q() {
|
|
@@ -9859,7 +9859,7 @@ function Vm(e) {
|
|
|
9859
9859
|
}
|
|
9860
9860
|
function de(F) {
|
|
9861
9861
|
const V = this.sliceSerialize(F), _ = this.stack[this.stack.length - 2];
|
|
9862
|
-
_.label =
|
|
9862
|
+
_.label = Bm(V), _.identifier = fn(V).toLowerCase();
|
|
9863
9863
|
}
|
|
9864
9864
|
function ye() {
|
|
9865
9865
|
const F = this.stack[this.stack.length - 1], V = this.resume(), _ = this.stack[this.stack.length - 1];
|
|
@@ -10821,7 +10821,7 @@ function Fb(e, t) {
|
|
|
10821
10821
|
one: s,
|
|
10822
10822
|
options: n,
|
|
10823
10823
|
patch: Pb,
|
|
10824
|
-
wrap:
|
|
10824
|
+
wrap: kb
|
|
10825
10825
|
};
|
|
10826
10826
|
return Ys(e, function(c) {
|
|
10827
10827
|
if (c.type === "definition" || c.type === "footnoteDefinition") {
|
|
@@ -10888,7 +10888,7 @@ function Rb(e, t) {
|
|
|
10888
10888
|
};
|
|
10889
10889
|
return e.patch(t, r), e.applyData(t, r);
|
|
10890
10890
|
}
|
|
10891
|
-
function
|
|
10891
|
+
function kb(e, t) {
|
|
10892
10892
|
const n = [];
|
|
10893
10893
|
let r = -1;
|
|
10894
10894
|
for (t && n.push({ type: "text", value: `
|
|
@@ -10909,7 +10909,7 @@ function ja(e, t) {
|
|
|
10909
10909
|
return i && o.children.push({ type: "text", value: `
|
|
10910
10910
|
` }, i), o;
|
|
10911
10911
|
}
|
|
10912
|
-
function
|
|
10912
|
+
function Bb(e, t) {
|
|
10913
10913
|
return e && "run" in e ? async function(n, r) {
|
|
10914
10914
|
const i = (
|
|
10915
10915
|
/** @type {HastRoot} */
|
|
@@ -11533,7 +11533,7 @@ class js {
|
|
|
11533
11533
|
* Message.
|
|
11534
11534
|
*/
|
|
11535
11535
|
message(t, n, r) {
|
|
11536
|
-
const i = new
|
|
11536
|
+
const i = new Be(
|
|
11537
11537
|
// @ts-expect-error: the overloads are fine.
|
|
11538
11538
|
t,
|
|
11539
11539
|
n,
|
|
@@ -12149,7 +12149,7 @@ const Kb = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
|
|
|
12149
12149
|
{ from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
|
|
12150
12150
|
];
|
|
12151
12151
|
function ny(e) {
|
|
12152
|
-
const t = e.allowedElements, n = e.allowElement, r = e.children || "", i = e.className, o = e.components, a = e.disallowedElements, u = e.rehypePlugins || iu, s = e.remarkPlugins || iu, l = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...ou } : ou, c = e.skipHtml, d = e.unwrapDisallowed, f = e.urlTransform || ry, p = Ub().use(Nm).use(s).use(
|
|
12152
|
+
const t = e.allowedElements, n = e.allowElement, r = e.children || "", i = e.className, o = e.components, a = e.disallowedElements, u = e.rehypePlugins || iu, s = e.remarkPlugins || iu, l = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...ou } : ou, c = e.skipHtml, d = e.unwrapDisallowed, f = e.urlTransform || ry, p = Ub().use(Nm).use(s).use(Bb, l).use(u), b = new js();
|
|
12153
12153
|
typeof r == "string" && (b.value = r);
|
|
12154
12154
|
for (const E of ty)
|
|
12155
12155
|
Object.hasOwn(e, E.from) && ("" + E.from + (E.to ? "use `" + E.to + "` instead" : "remove it") + Kb + E.id, void 0);
|
|
@@ -12180,8 +12180,8 @@ function ny(e) {
|
|
|
12180
12180
|
let P;
|
|
12181
12181
|
for (P in ci)
|
|
12182
12182
|
if (Object.hasOwn(ci, P) && Object.hasOwn(E.properties, P)) {
|
|
12183
|
-
const A = E.properties[P],
|
|
12184
|
-
(
|
|
12183
|
+
const A = E.properties[P], B = ci[P];
|
|
12184
|
+
(B === null || B.includes(E.tagName)) && (E.properties[P] = f(String(A || ""), P, E));
|
|
12185
12185
|
}
|
|
12186
12186
|
}
|
|
12187
12187
|
if (E.type === "element") {
|
|
@@ -12427,10 +12427,11 @@ function py({ app: e }) {
|
|
|
12427
12427
|
color: l.colors.neutral60,
|
|
12428
12428
|
gridArea: "control"
|
|
12429
12429
|
}, d = {
|
|
12430
|
+
backgroundColor: l.colors.primary,
|
|
12430
12431
|
borderRadius: l.borderRadius,
|
|
12431
12432
|
border: "solid 1px",
|
|
12432
|
-
borderColor: l.colors.
|
|
12433
|
-
color: l.colors.
|
|
12433
|
+
borderColor: l.colors.primary25,
|
|
12434
|
+
color: l.colors.primary25,
|
|
12434
12435
|
padding: "0.25rem 0.5rem",
|
|
12435
12436
|
gridArea: "control"
|
|
12436
12437
|
}, f = {
|
|
@@ -12607,17 +12608,17 @@ var gy = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
|
|
|
12607
12608
|
}
|
|
12608
12609
|
};
|
|
12609
12610
|
function my(e) {
|
|
12610
|
-
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, i = r === void 0 ? "last" : r, o = e.formatCreateLabel, a = o === void 0 ? vi.formatCreateLabel : o, u = e.isValidNewOption, s = u === void 0 ? vi.isValidNewOption : u, l = e.getNewOptionData, c = l === void 0 ? vi.getNewOptionData : l, d = e.onCreateOption, f = e.options, p = f === void 0 ? [] : f, b = e.onChange, m = ht(e, gy), I = m.getOptionValue, v = I === void 0 ? ns : I, E = m.getOptionLabel, S = E === void 0 ? ts : E, w = m.inputValue, P = m.isLoading, A = m.isMulti,
|
|
12611
|
-
return s(w,
|
|
12611
|
+
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, i = r === void 0 ? "last" : r, o = e.formatCreateLabel, a = o === void 0 ? vi.formatCreateLabel : o, u = e.isValidNewOption, s = u === void 0 ? vi.isValidNewOption : u, l = e.getNewOptionData, c = l === void 0 ? vi.getNewOptionData : l, d = e.onCreateOption, f = e.options, p = f === void 0 ? [] : f, b = e.onChange, m = ht(e, gy), I = m.getOptionValue, v = I === void 0 ? ns : I, E = m.getOptionLabel, S = E === void 0 ? ts : E, w = m.inputValue, P = m.isLoading, A = m.isMulti, B = m.value, R = m.name, O = dt(function() {
|
|
12612
|
+
return s(w, kr(B), p, {
|
|
12612
12613
|
getOptionValue: v,
|
|
12613
12614
|
getOptionLabel: S
|
|
12614
12615
|
}) ? c(w, a(w)) : void 0;
|
|
12615
|
-
}, [a, c, S, v, w, s, p,
|
|
12616
|
+
}, [a, c, S, v, w, s, p, B]), z = dt(function() {
|
|
12616
12617
|
return (n || !P) && O ? i === "first" ? [O].concat(dn(p)) : [].concat(dn(p), [O]) : p;
|
|
12617
|
-
}, [n, i, P, O, p]), D =
|
|
12618
|
+
}, [n, i, P, O, p]), D = ke(function(k, q) {
|
|
12618
12619
|
if (q.action !== "select-option")
|
|
12619
|
-
return b(
|
|
12620
|
-
var ie = Array.isArray(
|
|
12620
|
+
return b(k, q);
|
|
12621
|
+
var ie = Array.isArray(k) ? k : [k];
|
|
12621
12622
|
if (ie[ie.length - 1] === O) {
|
|
12622
12623
|
if (d) d(w);
|
|
12623
12624
|
else {
|
|
@@ -12626,12 +12627,12 @@ function my(e) {
|
|
|
12626
12627
|
name: R,
|
|
12627
12628
|
option: X
|
|
12628
12629
|
};
|
|
12629
|
-
b(Xn(A, [].concat(dn(
|
|
12630
|
+
b(Xn(A, [].concat(dn(kr(B)), [X]), X), K);
|
|
12630
12631
|
}
|
|
12631
12632
|
return;
|
|
12632
12633
|
}
|
|
12633
|
-
b(
|
|
12634
|
-
}, [c, w, A, R, O, d, b,
|
|
12634
|
+
b(k, q);
|
|
12635
|
+
}, [c, w, A, R, O, d, b, B]);
|
|
12635
12636
|
return Z(Z({}, m), {}, {
|
|
12636
12637
|
options: z,
|
|
12637
12638
|
onChange: D
|
|
@@ -12666,7 +12667,7 @@ function qi({
|
|
|
12666
12667
|
}
|
|
12667
12668
|
}, d = dt(() => {
|
|
12668
12669
|
let p = a;
|
|
12669
|
-
if (p != null)
|
|
12670
|
+
if (p != null)
|
|
12670
12671
|
if (Array.isArray(p)) {
|
|
12671
12672
|
if (typeof p[0] != "object") {
|
|
12672
12673
|
const b = [];
|
|
@@ -12677,14 +12678,15 @@ function qi({
|
|
|
12677
12678
|
});
|
|
12678
12679
|
p = b;
|
|
12679
12680
|
}
|
|
12680
|
-
} else if (typeof p != "object"
|
|
12681
|
-
|
|
12682
|
-
|
|
12683
|
-
|
|
12684
|
-
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12681
|
+
} else if (typeof p != "object") {
|
|
12682
|
+
if ((t == null ? void 0 : t[0]) && typeof t[0] == "object") {
|
|
12683
|
+
for (const m of t)
|
|
12684
|
+
if (m.value === a) {
|
|
12685
|
+
p = m;
|
|
12686
|
+
break;
|
|
12687
|
+
}
|
|
12688
|
+
}
|
|
12689
|
+
} else p.__lv && (p = p.__lv);
|
|
12688
12690
|
return p;
|
|
12689
12691
|
}, [
|
|
12690
12692
|
a,
|
|
@@ -12708,12 +12710,12 @@ function qi({
|
|
|
12708
12710
|
if (typeof p[0] == "object" && "value" in p[0]) {
|
|
12709
12711
|
const b = [];
|
|
12710
12712
|
for (const m of p)
|
|
12711
|
-
b.push(m.value);
|
|
12713
|
+
o.withLabel ? b.push(m) : b.push(m.value);
|
|
12712
12714
|
u(b);
|
|
12713
12715
|
} else
|
|
12714
12716
|
u(p);
|
|
12715
12717
|
else if (typeof p == "object" && "value" in p)
|
|
12716
|
-
u(p.value);
|
|
12718
|
+
o.withLabel ? u({ __lv: p }) : u(p.value);
|
|
12717
12719
|
else
|
|
12718
12720
|
throw new Error("unhandled option type");
|
|
12719
12721
|
else
|
|
@@ -12738,8 +12740,8 @@ function Iy({ queryEnabled: e }) {
|
|
|
12738
12740
|
d
|
|
12739
12741
|
] = Se(""), f = {};
|
|
12740
12742
|
for (let A = 0; A < s; A++) {
|
|
12741
|
-
const
|
|
12742
|
-
f[
|
|
12743
|
+
const B = i[A];
|
|
12744
|
+
f[B.name] = o[B.name];
|
|
12743
12745
|
}
|
|
12744
12746
|
const p = {
|
|
12745
12747
|
userId: n,
|
|
@@ -12768,7 +12770,7 @@ function Iy({ queryEnabled: e }) {
|
|
|
12768
12770
|
queryFn: async () => {
|
|
12769
12771
|
I(void 0);
|
|
12770
12772
|
const A = await t.componentConfigure(p), {
|
|
12771
|
-
options:
|
|
12773
|
+
options: B,
|
|
12772
12774
|
string_options: R,
|
|
12773
12775
|
errors: O
|
|
12774
12776
|
} = A;
|
|
@@ -12783,8 +12785,8 @@ function Iy({ queryEnabled: e }) {
|
|
|
12783
12785
|
}
|
|
12784
12786
|
return [];
|
|
12785
12787
|
}
|
|
12786
|
-
if (
|
|
12787
|
-
return
|
|
12788
|
+
if (B != null && B.length)
|
|
12789
|
+
return B;
|
|
12788
12790
|
if (R != null && R.length) {
|
|
12789
12791
|
const z = [];
|
|
12790
12792
|
for (const D of R)
|
|
@@ -13054,7 +13056,7 @@ function Ey() {
|
|
|
13054
13056
|
] }) }) });
|
|
13055
13057
|
}
|
|
13056
13058
|
function Fy(e) {
|
|
13057
|
-
return /* @__PURE__ */ W(
|
|
13059
|
+
return /* @__PURE__ */ W(Bc, { props: e, children: /* @__PURE__ */ W(Ey, {}) });
|
|
13058
13060
|
}
|
|
13059
13061
|
const Py = ({ key: e }, t) => {
|
|
13060
13062
|
var i;
|
|
@@ -13244,8 +13246,8 @@ export {
|
|
|
13244
13246
|
Sy as ErrorBoundary,
|
|
13245
13247
|
oy as Errors,
|
|
13246
13248
|
Cy as Field,
|
|
13247
|
-
|
|
13248
|
-
|
|
13249
|
+
ku as FormContext,
|
|
13250
|
+
Bc as FormContextProvider,
|
|
13249
13251
|
_s as FormFieldContext,
|
|
13250
13252
|
Dy as FrontendClientProvider,
|
|
13251
13253
|
Ey as InternalComponentForm,
|