@botpress/webchat 2.2.6 → 2.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -5
- package/dist/contexts/WebchatContext.d.ts +10 -10
- package/dist/index.js +584 -579
- package/dist/index.umd.cjs +23 -23
- package/dist/schemas/configuration.d.ts +28 -28
- package/dist/schemas/init.d.ts +60 -60
- package/dist/utils/colors.test.d.ts +1 -0
- package/package.json +2 -2
- package/vitest.config.ts +7 -0
package/dist/index.js
CHANGED
|
@@ -5382,45 +5382,45 @@ var jn = lp(Ut, 1), Ku = /* @__PURE__ */ $((e) => {
|
|
|
5382
5382
|
formErrors: m,
|
|
5383
5383
|
formValid: g,
|
|
5384
5384
|
updateForm: f,
|
|
5385
|
-
updateFormData: /* @__PURE__ */ $((
|
|
5385
|
+
updateFormData: /* @__PURE__ */ $((W) => f([], W), "updateFormData")
|
|
5386
5386
|
},
|
|
5387
|
-
onChange: /* @__PURE__ */ $((
|
|
5387
|
+
onChange: /* @__PURE__ */ $((W) => f(o, W), "onChange"),
|
|
5388
5388
|
disabled: d,
|
|
5389
|
-
errors: (m == null ? void 0 : m.filter((
|
|
5389
|
+
errors: (m == null ? void 0 : m.filter((W) => W.path === o)) || [],
|
|
5390
5390
|
label: ((c = n[Ct]) == null ? void 0 : c.title) || Ly(((l = o[o.length - 1]) == null ? void 0 : l.toString()) || ""),
|
|
5391
5391
|
params: b.params,
|
|
5392
5392
|
schema: n,
|
|
5393
5393
|
zuiProps: n[Ct]
|
|
5394
5394
|
};
|
|
5395
5395
|
if (n.type === "array" && R === "array") {
|
|
5396
|
-
const
|
|
5396
|
+
const W = O, U = I.schema, q = Array.isArray(v) || typeof v == "object" ? v : [], L = A(Q(A({}, I), {
|
|
5397
5397
|
type: R,
|
|
5398
|
-
schema:
|
|
5398
|
+
schema: U,
|
|
5399
5399
|
data: q,
|
|
5400
5400
|
addItem: /* @__PURE__ */ $((j) => h(o, j), "addItem"),
|
|
5401
5401
|
removeItem: /* @__PURE__ */ $((j) => y(o, j), "removeItem")
|
|
5402
5402
|
}), s);
|
|
5403
|
-
return Array.isArray(n.items) ? null : /* @__PURE__ */ jn.default.createElement(
|
|
5404
|
-
const
|
|
5403
|
+
return Array.isArray(n.items) ? null : /* @__PURE__ */ jn.default.createElement(W, Q(A({ key: I.scope }, L), { isArrayChild: L.isArrayChild }), Array.isArray(L.data) ? L.data.map((j, z) => {
|
|
5404
|
+
const H = [...o, z.toString()];
|
|
5405
5405
|
return /* @__PURE__ */ jn.default.createElement(
|
|
5406
5406
|
ts,
|
|
5407
5407
|
{
|
|
5408
|
-
key:
|
|
5408
|
+
key: H.join("."),
|
|
5409
5409
|
fallback: a,
|
|
5410
5410
|
fieldSchema: n.items,
|
|
5411
|
-
path:
|
|
5411
|
+
path: H
|
|
5412
5412
|
},
|
|
5413
5413
|
/* @__PURE__ */ jn.default.createElement(
|
|
5414
5414
|
Ku,
|
|
5415
5415
|
{
|
|
5416
|
-
key:
|
|
5416
|
+
key: H.join("."),
|
|
5417
5417
|
components: r,
|
|
5418
5418
|
fieldSchema: n.items,
|
|
5419
|
-
path:
|
|
5419
|
+
path: H,
|
|
5420
5420
|
required: i,
|
|
5421
5421
|
isArrayChild: !0,
|
|
5422
|
-
index:
|
|
5423
|
-
removeSelf: () => y(o,
|
|
5422
|
+
index: z,
|
|
5423
|
+
removeSelf: () => y(o, z),
|
|
5424
5424
|
fallback: a
|
|
5425
5425
|
}
|
|
5426
5426
|
)
|
|
@@ -5428,21 +5428,21 @@ var jn = lp(Ut, 1), Ku = /* @__PURE__ */ $((e) => {
|
|
|
5428
5428
|
}) : []);
|
|
5429
5429
|
}
|
|
5430
5430
|
if (n.type === "object" && R === "object" && n.properties) {
|
|
5431
|
-
const
|
|
5431
|
+
const W = O, U = A(Q(A({}, I), {
|
|
5432
5432
|
type: R,
|
|
5433
5433
|
schema: I.schema,
|
|
5434
5434
|
data: v || {}
|
|
5435
5435
|
}), s);
|
|
5436
|
-
return /* @__PURE__ */ jn.default.createElement(
|
|
5436
|
+
return /* @__PURE__ */ jn.default.createElement(W, Q(A({ key: I.scope }, U), { isArrayChild: U.isArrayChild }), Object.entries(n.properties).map(([q, L]) => {
|
|
5437
5437
|
var j;
|
|
5438
|
-
const
|
|
5439
|
-
return /* @__PURE__ */ jn.default.createElement(ts, { key:
|
|
5438
|
+
const z = [...o, q];
|
|
5439
|
+
return /* @__PURE__ */ jn.default.createElement(ts, { key: z.join("."), fallback: a, fieldSchema: L, path: z }, /* @__PURE__ */ jn.default.createElement(
|
|
5440
5440
|
Ku,
|
|
5441
5441
|
{
|
|
5442
|
-
key:
|
|
5442
|
+
key: z.join("."),
|
|
5443
5443
|
components: r,
|
|
5444
5444
|
fieldSchema: L,
|
|
5445
|
-
path:
|
|
5445
|
+
path: z,
|
|
5446
5446
|
required: ((j = n.required) == null ? void 0 : j.includes(q)) || !1,
|
|
5447
5447
|
isArrayChild: !1,
|
|
5448
5448
|
fallback: a
|
|
@@ -5451,7 +5451,7 @@ var jn = lp(Ut, 1), Ku = /* @__PURE__ */ $((e) => {
|
|
|
5451
5451
|
}));
|
|
5452
5452
|
}
|
|
5453
5453
|
if (R === "discriminatedUnion") {
|
|
5454
|
-
const
|
|
5454
|
+
const W = O, U = A(Q(A({}, I), {
|
|
5455
5455
|
type: R,
|
|
5456
5456
|
schema: I.schema,
|
|
5457
5457
|
data: v || {},
|
|
@@ -5467,7 +5467,7 @@ var jn = lp(Ut, 1), Ku = /* @__PURE__ */ $((e) => {
|
|
|
5467
5467
|
f(o, { [x.key]: q });
|
|
5468
5468
|
}, "setDiscriminator")
|
|
5469
5469
|
}), s);
|
|
5470
|
-
return /* @__PURE__ */ jn.default.createElement(
|
|
5470
|
+
return /* @__PURE__ */ jn.default.createElement(W, Q(A({ key: I.scope }, U), { isArrayChild: U.isArrayChild }), w && /* @__PURE__ */ jn.default.createElement(ts, { key: o.join("."), fallback: a, fieldSchema: w, path: o }, /* @__PURE__ */ jn.default.createElement(
|
|
5471
5471
|
Ku,
|
|
5472
5472
|
{
|
|
5473
5473
|
components: r,
|
|
@@ -7382,30 +7382,30 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
7382
7382
|
else if (L === "%AsyncGeneratorFunction%")
|
|
7383
7383
|
j = a("async function* () {}");
|
|
7384
7384
|
else if (L === "%AsyncGenerator%") {
|
|
7385
|
-
var
|
|
7386
|
-
|
|
7385
|
+
var z = q("%AsyncGeneratorFunction%");
|
|
7386
|
+
z && (j = z.prototype);
|
|
7387
7387
|
} else if (L === "%AsyncIteratorPrototype%") {
|
|
7388
|
-
var
|
|
7389
|
-
|
|
7388
|
+
var H = q("%AsyncGenerator%");
|
|
7389
|
+
H && p && (j = p(H.prototype));
|
|
7390
7390
|
}
|
|
7391
7391
|
return y[L] = j, j;
|
|
7392
|
-
}, v = { "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, b = rb(), x = PF(), w = b.call(Function.call, Array.prototype.concat), _ = b.call(Function.apply, Array.prototype.splice), O = b.call(Function.call, String.prototype.replace), R = b.call(Function.call, String.prototype.slice), I = b.call(Function.call, RegExp.prototype.exec), C = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, D = /\\(\\)?/g,
|
|
7392
|
+
}, v = { "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, b = rb(), x = PF(), w = b.call(Function.call, Array.prototype.concat), _ = b.call(Function.apply, Array.prototype.splice), O = b.call(Function.call, String.prototype.replace), R = b.call(Function.call, String.prototype.slice), I = b.call(Function.call, RegExp.prototype.exec), C = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, D = /\\(\\)?/g, W = function(q) {
|
|
7393
7393
|
var L = R(q, 0, 1), j = R(q, -1);
|
|
7394
7394
|
if (L === "%" && j !== "%")
|
|
7395
7395
|
throw new n("invalid intrinsic syntax, expected closing `%`");
|
|
7396
7396
|
if (j === "%" && L !== "%")
|
|
7397
7397
|
throw new n("invalid intrinsic syntax, expected opening `%`");
|
|
7398
|
-
var
|
|
7399
|
-
return O(q, C, function(
|
|
7400
|
-
|
|
7401
|
-
}),
|
|
7402
|
-
},
|
|
7403
|
-
var j = q,
|
|
7404
|
-
if (x(v, j) && (
|
|
7405
|
-
var
|
|
7406
|
-
if (
|
|
7398
|
+
var z = [];
|
|
7399
|
+
return O(q, C, function(H, M, E, V) {
|
|
7400
|
+
z[z.length] = E ? O(V, D, "$1") : M || H;
|
|
7401
|
+
}), z;
|
|
7402
|
+
}, U = function(q, L) {
|
|
7403
|
+
var j = q, z;
|
|
7404
|
+
if (x(v, j) && (z = v[j], j = "%" + z[0] + "%"), x(y, j)) {
|
|
7405
|
+
var H = y[j];
|
|
7406
|
+
if (H === f && (H = g(j)), typeof H > "u" && !L)
|
|
7407
7407
|
throw new i("intrinsic " + q + " exists, but is not available. Please file an issue!");
|
|
7408
|
-
return { alias:
|
|
7408
|
+
return { alias: z, name: j, value: H };
|
|
7409
7409
|
}
|
|
7410
7410
|
throw new n("intrinsic " + q + " does not exist!");
|
|
7411
7411
|
};
|
|
@@ -7416,13 +7416,13 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
7416
7416
|
throw new i('"allowMissing" argument must be a boolean');
|
|
7417
7417
|
if (I(/^%?[^%]*%?$/, q) === null)
|
|
7418
7418
|
throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
7419
|
-
var j =
|
|
7420
|
-
X && (
|
|
7419
|
+
var j = W(q), z = j.length > 0 ? j[0] : "", H = U("%" + z + "%", L), M = H.name, E = H.value, V = !1, X = H.alias;
|
|
7420
|
+
X && (z = X[0], _(j, w([0, 1], X)));
|
|
7421
7421
|
for (var T = 1, se = !0; T < j.length; T += 1) {
|
|
7422
7422
|
var fe = j[T], de = R(fe, 0, 1), ge = R(fe, -1);
|
|
7423
7423
|
if ((de === '"' || de === "'" || de === "`" || ge === '"' || ge === "'" || ge === "`") && de !== ge)
|
|
7424
7424
|
throw new n("property names with quotes must have matching quotes");
|
|
7425
|
-
if ((fe === "constructor" || !se) && (V = !0),
|
|
7425
|
+
if ((fe === "constructor" || !se) && (V = !0), z += "." + fe, M = "%" + z + "%", x(y, M))
|
|
7426
7426
|
E = y[M];
|
|
7427
7427
|
else if (E != null) {
|
|
7428
7428
|
if (!(fe in E)) {
|
|
@@ -7468,16 +7468,16 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
7468
7468
|
};
|
|
7469
7469
|
}), MF = xr(() => {
|
|
7470
7470
|
}), DF = xr((e, t) => {
|
|
7471
|
-
var r = typeof Map == "function" && Map.prototype, n = Object.getOwnPropertyDescriptor && r ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, o = r && n && typeof n.get == "function" ? n.get : null, i = r && Map.prototype.forEach, a = typeof Set == "function" && Set.prototype, s = Object.getOwnPropertyDescriptor && a ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, c = a && s && typeof s.get == "function" ? s.get : null, l = a && Set.prototype.forEach, u = typeof WeakMap == "function" && WeakMap.prototype, d = u ? WeakMap.prototype.has : null, p = typeof WeakSet == "function" && WeakSet.prototype, f = p ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype, y = h ? WeakRef.prototype.deref : null, m = Boolean.prototype.valueOf, g = Object.prototype.toString, v = Function.prototype.toString, b = String.prototype.match, x = String.prototype.slice, w = String.prototype.replace, _ = String.prototype.toUpperCase, O = String.prototype.toLowerCase, R = RegExp.prototype.test, I = Array.prototype.concat, C = Array.prototype.join, D = Array.prototype.slice,
|
|
7472
|
-
return
|
|
7471
|
+
var r = typeof Map == "function" && Map.prototype, n = Object.getOwnPropertyDescriptor && r ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, o = r && n && typeof n.get == "function" ? n.get : null, i = r && Map.prototype.forEach, a = typeof Set == "function" && Set.prototype, s = Object.getOwnPropertyDescriptor && a ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, c = a && s && typeof s.get == "function" ? s.get : null, l = a && Set.prototype.forEach, u = typeof WeakMap == "function" && WeakMap.prototype, d = u ? WeakMap.prototype.has : null, p = typeof WeakSet == "function" && WeakSet.prototype, f = p ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype, y = h ? WeakRef.prototype.deref : null, m = Boolean.prototype.valueOf, g = Object.prototype.toString, v = Function.prototype.toString, b = String.prototype.match, x = String.prototype.slice, w = String.prototype.replace, _ = String.prototype.toUpperCase, O = String.prototype.toLowerCase, R = RegExp.prototype.test, I = Array.prototype.concat, C = Array.prototype.join, D = Array.prototype.slice, W = Math.floor, U = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, q = Object.getOwnPropertySymbols, L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, j = typeof Symbol == "function" && typeof Symbol.iterator == "object", z = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === j || "symbol") ? Symbol.toStringTag : null, H = Object.prototype.propertyIsEnumerable, M = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(B) {
|
|
7472
|
+
return B.__proto__;
|
|
7473
7473
|
} : null);
|
|
7474
|
-
function E(
|
|
7475
|
-
if (
|
|
7474
|
+
function E(B, Y) {
|
|
7475
|
+
if (B === 1 / 0 || B === -1 / 0 || B !== B || B && B > -1e3 && B < 1e3 || R.call(/e/, Y))
|
|
7476
7476
|
return Y;
|
|
7477
7477
|
var Ue = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
7478
|
-
if (typeof
|
|
7479
|
-
var We =
|
|
7480
|
-
if (We !==
|
|
7478
|
+
if (typeof B == "number") {
|
|
7479
|
+
var We = B < 0 ? -W(-B) : W(B);
|
|
7480
|
+
if (We !== B) {
|
|
7481
7481
|
var gt = String(We), Ke = x.call(Y, gt.length + 1);
|
|
7482
7482
|
return w.call(gt, Ue, "$&_") + "." + w.call(w.call(Ke, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
7483
7483
|
}
|
|
@@ -7485,7 +7485,7 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
7485
7485
|
return w.call(Y, Ue, "$&_");
|
|
7486
7486
|
}
|
|
7487
7487
|
var V = MF(), X = V.custom, T = be(X) ? X : null;
|
|
7488
|
-
t.exports = function
|
|
7488
|
+
t.exports = function B(Y, Ue, We, gt) {
|
|
7489
7489
|
var Ke = Ue || {};
|
|
7490
7490
|
if (F(Ke, "quoteStyle") && Ke.quoteStyle !== "single" && Ke.quoteStyle !== "double")
|
|
7491
7491
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
@@ -7528,9 +7528,9 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
7528
7528
|
function bt(ot, fr, rr) {
|
|
7529
7529
|
if (fr && (gt = D.call(gt), gt.push(fr)), rr) {
|
|
7530
7530
|
var nr = { depth: Ke.depth };
|
|
7531
|
-
return F(Ke, "quoteStyle") && (nr.quoteStyle = Ke.quoteStyle),
|
|
7531
|
+
return F(Ke, "quoteStyle") && (nr.quoteStyle = Ke.quoteStyle), B(ot, nr, We + 1, gt);
|
|
7532
7532
|
}
|
|
7533
|
-
return
|
|
7533
|
+
return B(ot, Ke, We + 1, gt);
|
|
7534
7534
|
}
|
|
7535
7535
|
if (typeof Y == "function" && !_e(Y)) {
|
|
7536
7536
|
var tr = pe(Y), Xt = Jt(Y, bt);
|
|
@@ -7553,7 +7553,7 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
7553
7553
|
}
|
|
7554
7554
|
if ($e(Y)) {
|
|
7555
7555
|
var Bi = Jt(Y, bt);
|
|
7556
|
-
return !("cause" in Error.prototype) && "cause" in Y && !
|
|
7556
|
+
return !("cause" in Error.prototype) && "cause" in Y && !H.call(Y, "cause") ? "{ [" + String(Y) + "] " + C.call(I.call("[cause]: " + bt(Y.cause), Bi), ", ") + " }" : Bi.length === 0 ? "[" + String(Y) + "]" : "{ [" + String(Y) + "] " + C.call(Bi, ", ") + " }";
|
|
7557
7557
|
}
|
|
7558
7558
|
if (typeof Y == "object" && lr) {
|
|
7559
7559
|
if (T && typeof Y[T] == "function" && V)
|
|
@@ -7582,227 +7582,227 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
7582
7582
|
if (ue(Y))
|
|
7583
7583
|
return me(bt(Number(Y)));
|
|
7584
7584
|
if (Ce(Y))
|
|
7585
|
-
return me(bt(
|
|
7585
|
+
return me(bt(U.call(Y)));
|
|
7586
7586
|
if (ee(Y))
|
|
7587
7587
|
return me(m.call(Y));
|
|
7588
7588
|
if (ve(Y))
|
|
7589
7589
|
return me(bt(String(Y)));
|
|
7590
7590
|
if (!ge(Y) && !_e(Y)) {
|
|
7591
|
-
var ye = Jt(Y, bt), Se = M ? M(Y) === Object.prototype : Y instanceof Object || Y.constructor === Object, ze = Y instanceof Object ? "" : "null prototype", St = !Se &&
|
|
7591
|
+
var ye = Jt(Y, bt), Se = M ? M(Y) === Object.prototype : Y instanceof Object || Y.constructor === Object, ze = Y instanceof Object ? "" : "null prototype", St = !Se && z && Object(Y) === Y && z in Y ? x.call(ce(Y), 8, -1) : ze ? "Object" : "", Ot = Se || typeof Y.constructor != "function" ? "" : Y.constructor.name ? Y.constructor.name + " " : "", ft = Ot + (St || ze ? "[" + C.call(I.call([], St || [], ze || []), ": ") + "] " : "");
|
|
7592
7592
|
return ye.length === 0 ? ft + "{}" : vt ? ft + "{" + $t(ye, vt) + "}" : ft + "{ " + C.call(ye, ", ") + " }";
|
|
7593
7593
|
}
|
|
7594
7594
|
return String(Y);
|
|
7595
7595
|
};
|
|
7596
|
-
function se(
|
|
7596
|
+
function se(B, Y, Ue) {
|
|
7597
7597
|
var We = (Ue.quoteStyle || Y) === "double" ? '"' : "'";
|
|
7598
|
-
return We +
|
|
7598
|
+
return We + B + We;
|
|
7599
7599
|
}
|
|
7600
|
-
function fe(
|
|
7601
|
-
return w.call(String(
|
|
7600
|
+
function fe(B) {
|
|
7601
|
+
return w.call(String(B), /"/g, """);
|
|
7602
7602
|
}
|
|
7603
|
-
function de(
|
|
7604
|
-
return ce(
|
|
7603
|
+
function de(B) {
|
|
7604
|
+
return ce(B) === "[object Array]" && (!z || !(typeof B == "object" && z in B));
|
|
7605
7605
|
}
|
|
7606
|
-
function ge(
|
|
7607
|
-
return ce(
|
|
7606
|
+
function ge(B) {
|
|
7607
|
+
return ce(B) === "[object Date]" && (!z || !(typeof B == "object" && z in B));
|
|
7608
7608
|
}
|
|
7609
|
-
function _e(
|
|
7610
|
-
return ce(
|
|
7609
|
+
function _e(B) {
|
|
7610
|
+
return ce(B) === "[object RegExp]" && (!z || !(typeof B == "object" && z in B));
|
|
7611
7611
|
}
|
|
7612
|
-
function $e(
|
|
7613
|
-
return ce(
|
|
7612
|
+
function $e(B) {
|
|
7613
|
+
return ce(B) === "[object Error]" && (!z || !(typeof B == "object" && z in B));
|
|
7614
7614
|
}
|
|
7615
|
-
function ve(
|
|
7616
|
-
return ce(
|
|
7615
|
+
function ve(B) {
|
|
7616
|
+
return ce(B) === "[object String]" && (!z || !(typeof B == "object" && z in B));
|
|
7617
7617
|
}
|
|
7618
|
-
function ue(
|
|
7619
|
-
return ce(
|
|
7618
|
+
function ue(B) {
|
|
7619
|
+
return ce(B) === "[object Number]" && (!z || !(typeof B == "object" && z in B));
|
|
7620
7620
|
}
|
|
7621
|
-
function ee(
|
|
7622
|
-
return ce(
|
|
7621
|
+
function ee(B) {
|
|
7622
|
+
return ce(B) === "[object Boolean]" && (!z || !(typeof B == "object" && z in B));
|
|
7623
7623
|
}
|
|
7624
|
-
function be(
|
|
7624
|
+
function be(B) {
|
|
7625
7625
|
if (j)
|
|
7626
|
-
return
|
|
7627
|
-
if (typeof
|
|
7626
|
+
return B && typeof B == "object" && B instanceof Symbol;
|
|
7627
|
+
if (typeof B == "symbol")
|
|
7628
7628
|
return !0;
|
|
7629
|
-
if (!
|
|
7629
|
+
if (!B || typeof B != "object" || !L)
|
|
7630
7630
|
return !1;
|
|
7631
7631
|
try {
|
|
7632
|
-
return L.call(
|
|
7632
|
+
return L.call(B), !0;
|
|
7633
7633
|
} catch {
|
|
7634
7634
|
}
|
|
7635
7635
|
return !1;
|
|
7636
7636
|
}
|
|
7637
|
-
function Ce(
|
|
7638
|
-
if (!
|
|
7637
|
+
function Ce(B) {
|
|
7638
|
+
if (!B || typeof B != "object" || !U)
|
|
7639
7639
|
return !1;
|
|
7640
7640
|
try {
|
|
7641
|
-
return
|
|
7641
|
+
return U.call(B), !0;
|
|
7642
7642
|
} catch {
|
|
7643
7643
|
}
|
|
7644
7644
|
return !1;
|
|
7645
7645
|
}
|
|
7646
|
-
var Fe = Object.prototype.hasOwnProperty || function(
|
|
7647
|
-
return
|
|
7646
|
+
var Fe = Object.prototype.hasOwnProperty || function(B) {
|
|
7647
|
+
return B in this;
|
|
7648
7648
|
};
|
|
7649
|
-
function F(
|
|
7650
|
-
return Fe.call(
|
|
7649
|
+
function F(B, Y) {
|
|
7650
|
+
return Fe.call(B, Y);
|
|
7651
7651
|
}
|
|
7652
|
-
function ce(
|
|
7653
|
-
return g.call(
|
|
7652
|
+
function ce(B) {
|
|
7653
|
+
return g.call(B);
|
|
7654
7654
|
}
|
|
7655
|
-
function pe(
|
|
7656
|
-
if (
|
|
7657
|
-
return
|
|
7658
|
-
var Y = b.call(v.call(
|
|
7655
|
+
function pe(B) {
|
|
7656
|
+
if (B.name)
|
|
7657
|
+
return B.name;
|
|
7658
|
+
var Y = b.call(v.call(B), /^function\s*([\w$]+)/);
|
|
7659
7659
|
return Y ? Y[1] : null;
|
|
7660
7660
|
}
|
|
7661
|
-
function he(
|
|
7662
|
-
if (
|
|
7663
|
-
return
|
|
7664
|
-
for (var Ue = 0, We =
|
|
7665
|
-
if (
|
|
7661
|
+
function he(B, Y) {
|
|
7662
|
+
if (B.indexOf)
|
|
7663
|
+
return B.indexOf(Y);
|
|
7664
|
+
for (var Ue = 0, We = B.length; Ue < We; Ue++)
|
|
7665
|
+
if (B[Ue] === Y)
|
|
7666
7666
|
return Ue;
|
|
7667
7667
|
return -1;
|
|
7668
7668
|
}
|
|
7669
|
-
function je(
|
|
7670
|
-
if (!o || !
|
|
7669
|
+
function je(B) {
|
|
7670
|
+
if (!o || !B || typeof B != "object")
|
|
7671
7671
|
return !1;
|
|
7672
7672
|
try {
|
|
7673
|
-
o.call(
|
|
7673
|
+
o.call(B);
|
|
7674
7674
|
try {
|
|
7675
|
-
c.call(
|
|
7675
|
+
c.call(B);
|
|
7676
7676
|
} catch {
|
|
7677
7677
|
return !0;
|
|
7678
7678
|
}
|
|
7679
|
-
return
|
|
7679
|
+
return B instanceof Map;
|
|
7680
7680
|
} catch {
|
|
7681
7681
|
}
|
|
7682
7682
|
return !1;
|
|
7683
7683
|
}
|
|
7684
|
-
function Re(
|
|
7685
|
-
if (!d || !
|
|
7684
|
+
function Re(B) {
|
|
7685
|
+
if (!d || !B || typeof B != "object")
|
|
7686
7686
|
return !1;
|
|
7687
7687
|
try {
|
|
7688
|
-
d.call(
|
|
7688
|
+
d.call(B, d);
|
|
7689
7689
|
try {
|
|
7690
|
-
f.call(
|
|
7690
|
+
f.call(B, f);
|
|
7691
7691
|
} catch {
|
|
7692
7692
|
return !0;
|
|
7693
7693
|
}
|
|
7694
|
-
return
|
|
7694
|
+
return B instanceof WeakMap;
|
|
7695
7695
|
} catch {
|
|
7696
7696
|
}
|
|
7697
7697
|
return !1;
|
|
7698
7698
|
}
|
|
7699
|
-
function Be(
|
|
7700
|
-
if (!y || !
|
|
7699
|
+
function Be(B) {
|
|
7700
|
+
if (!y || !B || typeof B != "object")
|
|
7701
7701
|
return !1;
|
|
7702
7702
|
try {
|
|
7703
|
-
return y.call(
|
|
7703
|
+
return y.call(B), !0;
|
|
7704
7704
|
} catch {
|
|
7705
7705
|
}
|
|
7706
7706
|
return !1;
|
|
7707
7707
|
}
|
|
7708
|
-
function ct(
|
|
7709
|
-
if (!c || !
|
|
7708
|
+
function ct(B) {
|
|
7709
|
+
if (!c || !B || typeof B != "object")
|
|
7710
7710
|
return !1;
|
|
7711
7711
|
try {
|
|
7712
|
-
c.call(
|
|
7712
|
+
c.call(B);
|
|
7713
7713
|
try {
|
|
7714
|
-
o.call(
|
|
7714
|
+
o.call(B);
|
|
7715
7715
|
} catch {
|
|
7716
7716
|
return !0;
|
|
7717
7717
|
}
|
|
7718
|
-
return
|
|
7718
|
+
return B instanceof Set;
|
|
7719
7719
|
} catch {
|
|
7720
7720
|
}
|
|
7721
7721
|
return !1;
|
|
7722
7722
|
}
|
|
7723
|
-
function He(
|
|
7724
|
-
if (!f || !
|
|
7723
|
+
function He(B) {
|
|
7724
|
+
if (!f || !B || typeof B != "object")
|
|
7725
7725
|
return !1;
|
|
7726
7726
|
try {
|
|
7727
|
-
f.call(
|
|
7727
|
+
f.call(B, f);
|
|
7728
7728
|
try {
|
|
7729
|
-
d.call(
|
|
7729
|
+
d.call(B, d);
|
|
7730
7730
|
} catch {
|
|
7731
7731
|
return !0;
|
|
7732
7732
|
}
|
|
7733
|
-
return
|
|
7733
|
+
return B instanceof WeakSet;
|
|
7734
7734
|
} catch {
|
|
7735
7735
|
}
|
|
7736
7736
|
return !1;
|
|
7737
7737
|
}
|
|
7738
|
-
function K(
|
|
7739
|
-
return !
|
|
7738
|
+
function K(B) {
|
|
7739
|
+
return !B || typeof B != "object" ? !1 : typeof HTMLElement < "u" && B instanceof HTMLElement ? !0 : typeof B.nodeName == "string" && typeof B.getAttribute == "function";
|
|
7740
7740
|
}
|
|
7741
|
-
function ie(
|
|
7742
|
-
if (
|
|
7743
|
-
var Ue =
|
|
7744
|
-
return ie(x.call(
|
|
7741
|
+
function ie(B, Y) {
|
|
7742
|
+
if (B.length > Y.maxStringLength) {
|
|
7743
|
+
var Ue = B.length - Y.maxStringLength, We = "... " + Ue + " more character" + (Ue > 1 ? "s" : "");
|
|
7744
|
+
return ie(x.call(B, 0, Y.maxStringLength), Y) + We;
|
|
7745
7745
|
}
|
|
7746
|
-
var gt = w.call(w.call(
|
|
7746
|
+
var gt = w.call(w.call(B, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, J);
|
|
7747
7747
|
return se(gt, "single", Y);
|
|
7748
7748
|
}
|
|
7749
|
-
function J(
|
|
7750
|
-
var Y =
|
|
7749
|
+
function J(B) {
|
|
7750
|
+
var Y = B.charCodeAt(0), Ue = { 8: "b", 9: "t", 10: "n", 12: "f", 13: "r" }[Y];
|
|
7751
7751
|
return Ue ? "\\" + Ue : "\\x" + (Y < 16 ? "0" : "") + _.call(Y.toString(16));
|
|
7752
7752
|
}
|
|
7753
|
-
function me(
|
|
7754
|
-
return "Object(" +
|
|
7753
|
+
function me(B) {
|
|
7754
|
+
return "Object(" + B + ")";
|
|
7755
7755
|
}
|
|
7756
|
-
function Te(
|
|
7757
|
-
return
|
|
7756
|
+
function Te(B) {
|
|
7757
|
+
return B + " { ? }";
|
|
7758
7758
|
}
|
|
7759
|
-
function Ye(
|
|
7759
|
+
function Ye(B, Y, Ue, We) {
|
|
7760
7760
|
var gt = We ? $t(Ue, We) : C.call(Ue, ", ");
|
|
7761
|
-
return
|
|
7761
|
+
return B + " (" + Y + ") {" + gt + "}";
|
|
7762
7762
|
}
|
|
7763
|
-
function Ze(
|
|
7764
|
-
for (var Y = 0; Y <
|
|
7765
|
-
if (he(
|
|
7763
|
+
function Ze(B) {
|
|
7764
|
+
for (var Y = 0; Y < B.length; Y++)
|
|
7765
|
+
if (he(B[Y], `
|
|
7766
7766
|
`) >= 0)
|
|
7767
7767
|
return !1;
|
|
7768
7768
|
return !0;
|
|
7769
7769
|
}
|
|
7770
|
-
function it(
|
|
7770
|
+
function it(B, Y) {
|
|
7771
7771
|
var Ue;
|
|
7772
|
-
if (
|
|
7772
|
+
if (B.indent === " ")
|
|
7773
7773
|
Ue = " ";
|
|
7774
|
-
else if (typeof
|
|
7775
|
-
Ue = C.call(Array(
|
|
7774
|
+
else if (typeof B.indent == "number" && B.indent > 0)
|
|
7775
|
+
Ue = C.call(Array(B.indent + 1), " ");
|
|
7776
7776
|
else
|
|
7777
7777
|
return null;
|
|
7778
7778
|
return { base: Ue, prev: C.call(Array(Y + 1), Ue) };
|
|
7779
7779
|
}
|
|
7780
|
-
function $t(
|
|
7781
|
-
if (
|
|
7780
|
+
function $t(B, Y) {
|
|
7781
|
+
if (B.length === 0)
|
|
7782
7782
|
return "";
|
|
7783
7783
|
var Ue = `
|
|
7784
7784
|
` + Y.prev + Y.base;
|
|
7785
|
-
return Ue + C.call(
|
|
7785
|
+
return Ue + C.call(B, "," + Ue) + `
|
|
7786
7786
|
` + Y.prev;
|
|
7787
7787
|
}
|
|
7788
|
-
function Jt(
|
|
7789
|
-
var Ue = de(
|
|
7788
|
+
function Jt(B, Y) {
|
|
7789
|
+
var Ue = de(B), We = [];
|
|
7790
7790
|
if (Ue) {
|
|
7791
|
-
We.length =
|
|
7792
|
-
for (var gt = 0; gt <
|
|
7793
|
-
We[gt] = F(
|
|
7791
|
+
We.length = B.length;
|
|
7792
|
+
for (var gt = 0; gt < B.length; gt++)
|
|
7793
|
+
We[gt] = F(B, gt) ? Y(B[gt], B) : "";
|
|
7794
7794
|
}
|
|
7795
|
-
var Ke = typeof q == "function" ? q(
|
|
7795
|
+
var Ke = typeof q == "function" ? q(B) : [], lr;
|
|
7796
7796
|
if (j) {
|
|
7797
7797
|
lr = {};
|
|
7798
7798
|
for (var _r = 0; _r < Ke.length; _r++)
|
|
7799
7799
|
lr["$" + Ke[_r]] = Ke[_r];
|
|
7800
7800
|
}
|
|
7801
|
-
for (var Yt in
|
|
7802
|
-
F(
|
|
7801
|
+
for (var Yt in B)
|
|
7802
|
+
F(B, Yt) && (Ue && String(Number(Yt)) === Yt && Yt < B.length || j && lr["$" + Yt] instanceof Symbol || (R.call(/[^\w$]/, Yt) ? We.push(Y(Yt, B) + ": " + Y(B[Yt], B)) : We.push(Yt + ": " + Y(B[Yt], B))));
|
|
7803
7803
|
if (typeof q == "function")
|
|
7804
7804
|
for (var ur = 0; ur < Ke.length; ur++)
|
|
7805
|
-
|
|
7805
|
+
H.call(B, Ke[ur]) && We.push("[" + Y(Ke[ur]) + "]: " + Y(B[Ke[ur]], B));
|
|
7806
7806
|
return We;
|
|
7807
7807
|
}
|
|
7808
7808
|
}), LF = xr((e, t) => {
|
|
@@ -7974,8 +7974,8 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
7974
7974
|
return d.call(v);
|
|
7975
7975
|
}, skipNulls: !1, strictNullHandling: !1 }, h = function(v) {
|
|
7976
7976
|
return typeof v == "string" || typeof v == "number" || typeof v == "boolean" || typeof v == "symbol" || typeof v == "bigint";
|
|
7977
|
-
}, y = {}, m = function v(b, x, w, _, O, R, I, C, D,
|
|
7978
|
-
for (var M = b, E =
|
|
7977
|
+
}, y = {}, m = function v(b, x, w, _, O, R, I, C, D, W, U, q, L, j, z, H) {
|
|
7978
|
+
for (var M = b, E = H, V = 0, X = !1; (E = E.get(y)) !== void 0 && !X; ) {
|
|
7979
7979
|
var T = E.get(b);
|
|
7980
7980
|
if (V += 1, typeof T < "u") {
|
|
7981
7981
|
if (T === V)
|
|
@@ -7984,22 +7984,22 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
7984
7984
|
}
|
|
7985
7985
|
typeof E.get(y) > "u" && (V = 0);
|
|
7986
7986
|
}
|
|
7987
|
-
if (typeof C == "function" ? M = C(x, M) : M instanceof Date ? M =
|
|
7988
|
-
return ce instanceof Date ?
|
|
7987
|
+
if (typeof C == "function" ? M = C(x, M) : M instanceof Date ? M = U(M) : w === "comma" && s(M) && (M = n.maybeMap(M, function(ce) {
|
|
7988
|
+
return ce instanceof Date ? U(ce) : ce;
|
|
7989
7989
|
})), M === null) {
|
|
7990
7990
|
if (O)
|
|
7991
|
-
return I && !j ? I(x, f.encoder,
|
|
7991
|
+
return I && !j ? I(x, f.encoder, z, "key", q) : x;
|
|
7992
7992
|
M = "";
|
|
7993
7993
|
}
|
|
7994
7994
|
if (h(M) || n.isBuffer(M)) {
|
|
7995
7995
|
if (I) {
|
|
7996
|
-
var se = j ? x : I(x, f.encoder,
|
|
7996
|
+
var se = j ? x : I(x, f.encoder, z, "key", q);
|
|
7997
7997
|
if (w === "comma" && j) {
|
|
7998
7998
|
for (var fe = c.call(String(M), ","), de = "", ge = 0; ge < fe.length; ++ge)
|
|
7999
|
-
de += (ge === 0 ? "" : ",") + L(I(fe[ge], f.encoder,
|
|
7999
|
+
de += (ge === 0 ? "" : ",") + L(I(fe[ge], f.encoder, z, "value", q));
|
|
8000
8000
|
return [L(se) + (_ && s(M) && fe.length === 1 ? "[]" : "") + "=" + de];
|
|
8001
8001
|
}
|
|
8002
|
-
return [L(se) + "=" + L(I(M, f.encoder,
|
|
8002
|
+
return [L(se) + "=" + L(I(M, f.encoder, z, "value", q))];
|
|
8003
8003
|
}
|
|
8004
8004
|
return [L(x) + "=" + L(String(M))];
|
|
8005
8005
|
}
|
|
@@ -8018,10 +8018,10 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
8018
8018
|
for (var ue = _ && s(M) && M.length === 1 ? x + "[]" : x, ee = 0; ee < $e.length; ++ee) {
|
|
8019
8019
|
var be = $e[ee], Ce = typeof be == "object" && typeof be.value < "u" ? be.value : M[be];
|
|
8020
8020
|
if (!(R && Ce === null)) {
|
|
8021
|
-
var Fe = s(M) ? typeof w == "function" ? w(ue, be) : ue : ue + (
|
|
8022
|
-
|
|
8021
|
+
var Fe = s(M) ? typeof w == "function" ? w(ue, be) : ue : ue + (W ? "." + be : "[" + be + "]");
|
|
8022
|
+
H.set(b, V);
|
|
8023
8023
|
var F = r();
|
|
8024
|
-
F.set(y,
|
|
8024
|
+
F.set(y, H), u(_e, v(Ce, Fe, w, _, O, R, I, C, D, W, U, q, L, j, z, F));
|
|
8025
8025
|
}
|
|
8026
8026
|
}
|
|
8027
8027
|
return _e;
|
|
@@ -8055,9 +8055,9 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
8055
8055
|
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
8056
8056
|
var D = C === "comma" && b && b.commaRoundTrip;
|
|
8057
8057
|
_ || (_ = Object.keys(x)), w.sort && _.sort(w.sort);
|
|
8058
|
-
for (var
|
|
8059
|
-
var q = _[
|
|
8060
|
-
w.skipNulls && x[q] === null || u(R, m(x[q], q, C, D, w.strictNullHandling, w.skipNulls, w.encode ? w.encoder : null, w.filter, w.sort, w.allowDots, w.serializeDate, w.format, w.formatter, w.encodeValuesOnly, w.charset,
|
|
8058
|
+
for (var W = r(), U = 0; U < _.length; ++U) {
|
|
8059
|
+
var q = _[U];
|
|
8060
|
+
w.skipNulls && x[q] === null || u(R, m(x[q], q, C, D, w.strictNullHandling, w.skipNulls, w.encode ? w.encoder : null, w.filter, w.sort, w.allowDots, w.serializeDate, w.format, w.formatter, w.encodeValuesOnly, w.charset, W));
|
|
8061
8061
|
}
|
|
8062
8062
|
var L = R.join(w.delimiter), j = w.addQueryPrefix === !0 ? "?" : "";
|
|
8063
8063
|
return w.charsetSentinel && (w.charset === "iso-8859-1" ? j += "utf8=%26%2310003%3B&" : j += "utf8=%E2%9C%93&"), L.length > 0 ? j + L : "";
|
|
@@ -8077,8 +8077,8 @@ var bF = Object.create, tb = Object.defineProperty, wF = Object.getOwnPropertyDe
|
|
|
8077
8077
|
for (w = 0; w < b.length; ++w)
|
|
8078
8078
|
if (w !== x) {
|
|
8079
8079
|
var O = b[w], R = O.indexOf("]="), I = R === -1 ? O.indexOf("=") : R + 1, C, D;
|
|
8080
|
-
I === -1 ? (C = y.decoder(O, i.decoder, _, "key"), D = y.strictNullHandling ? null : "") : (C = y.decoder(O.slice(0, I), i.decoder, _, "key"), D = r.maybeMap(s(O.slice(I + 1), y), function(
|
|
8081
|
-
return y.decoder(
|
|
8080
|
+
I === -1 ? (C = y.decoder(O, i.decoder, _, "key"), D = y.strictNullHandling ? null : "") : (C = y.decoder(O.slice(0, I), i.decoder, _, "key"), D = r.maybeMap(s(O.slice(I + 1), y), function(W) {
|
|
8081
|
+
return y.decoder(W, i.decoder, _, "value");
|
|
8082
8082
|
})), D && y.interpretNumericEntities && _ === "iso-8859-1" && (D = a(D)), O.indexOf("[]=") > -1 && (D = o(D) ? [D] : D), n.call(m, C) ? m[C] = r.combine(m[C], D) : m[C] = D;
|
|
8083
8083
|
}
|
|
8084
8084
|
return m;
|
|
@@ -9320,13 +9320,13 @@ const zB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9320
9320
|
s(h, { default: () => m });
|
|
9321
9321
|
var y = lu;
|
|
9322
9322
|
l(h, lu);
|
|
9323
|
-
var m = y.z, g = h.z.string().min(1), v = h.z.object({ text: g }), b = h.z.object({ markdown: g }), x = h.z.object({ imageUrl: g }), w = h.z.object({ audioUrl: g }), _ = h.z.object({ videoUrl: g }), O = h.z.object({ fileUrl: g, title: g.optional() }), R = h.z.object({ latitude: h.z.number(), longitude: h.z.number(), address: h.z.string().optional(), title: h.z.string().optional() }), I = h.z.object({ title: g, subtitle: g.optional(), imageUrl: g.optional(), actions: h.z.array(h.z.object({ action: h.z.enum(["postback", "url", "say"]), label: g, value: g })) }), C = h.z.object({ text: g, options: h.z.array(h.z.object({ label: g, value: g })) }), D = h.z.object({ items: h.z.array(I) }),
|
|
9323
|
+
var m = y.z, g = h.z.string().min(1), v = h.z.object({ text: g }), b = h.z.object({ markdown: g }), x = h.z.object({ imageUrl: g }), w = h.z.object({ audioUrl: g }), _ = h.z.object({ videoUrl: g }), O = h.z.object({ fileUrl: g, title: g.optional() }), R = h.z.object({ latitude: h.z.number(), longitude: h.z.number(), address: h.z.string().optional(), title: h.z.string().optional() }), I = h.z.object({ title: g, subtitle: g.optional(), imageUrl: g.optional(), actions: h.z.array(h.z.object({ action: h.z.enum(["postback", "url", "say"]), label: g, value: g })) }), C = h.z.object({ text: g, options: h.z.array(h.z.object({ label: g, value: g })) }), D = h.z.object({ items: h.z.array(I) }), W = h.z.discriminatedUnion("type", [h.z.object({ type: h.z.literal("text"), payload: v }), h.z.object({ type: h.z.literal("markdown"), payload: b }), h.z.object({ type: h.z.literal("image"), payload: x }), h.z.object({ type: h.z.literal("audio"), payload: w }), h.z.object({ type: h.z.literal("video"), payload: _ }), h.z.object({ type: h.z.literal("file"), payload: O }), h.z.object({ type: h.z.literal("location"), payload: R })]), U = h.z.object({ items: h.z.array(W) }), q = { text: { schema: v }, markdown: { schema: b }, image: { schema: x }, audio: { schema: w }, video: { schema: _ }, file: { schema: O }, location: { schema: R }, carousel: { schema: D }, card: { schema: I }, dropdown: { schema: C }, choice: { schema: C }, bloc: { schema: U } }, L = {};
|
|
9324
9324
|
s(L, { creatable: () => fr, deletable: () => pn, hitl: () => cn, listable: () => ot, llm: () => Ir, readable: () => rr, schemas: () => j, speechToText: () => ye, textToImage: () => WM, typingIndicator: () => KM, updatable: () => nr });
|
|
9325
9325
|
var j = {};
|
|
9326
|
-
s(j, { speechToText: () =>
|
|
9327
|
-
var
|
|
9328
|
-
s(
|
|
9329
|
-
var
|
|
9326
|
+
s(j, { speechToText: () => z });
|
|
9327
|
+
var z = {};
|
|
9328
|
+
s(z, { OpenAITranscribeAudioOutputSchema: () => H });
|
|
9329
|
+
var H = m.object({ language: m.string().describe("Detected language of the audio"), duration: m.number().describe("Duration of the audio file, in seconds"), segments: m.array(m.object({ text: m.string().describe("Text content of the segment."), id: m.number().describe("Unique identifier of the segment"), seek: m.number().describe("Seek offset of the segment"), start: m.number().describe("Start time of the segment in seconds."), end: m.number().describe("End time of the segment in seconds."), tokens: m.array(m.number()).describe("Array of token IDs for the text content."), temperature: m.number().describe("Temperature parameter used for generating the segment."), avg_logprob: m.number().describe("Average logprob of the segment. If the value is lower than -1, consider the logprobs failed."), compression_ratio: m.number().describe("Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed."), no_speech_prob: m.number().describe("Probability of no speech in the segment. If the value is higher than 1.0 and the avg_logprob is below -1, consider this segment silent.") })) }), M = lu, E = "x-bot-id", V = "x-bot-user-id", X = "x-integration-id", T = "x-webhook-id", se = "x-bp-configuration", fe = "x-bp-operation", de = "x-bp-type", ge = M.z.enum(["webhook_received", "message_created", "action_triggered", "register", "unregister", "ping", "create_user", "create_conversation"]), _e = (S) => {
|
|
9330
9330
|
let oe = S[E], Ee = S[V], De = S[X], Le = S[T], Me = S[se], qe = ge.parse(S[fe]);
|
|
9331
9331
|
if (!oe)
|
|
9332
9332
|
throw new Error("Missing bot headers");
|
|
@@ -9558,7 +9558,7 @@ const zB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9558
9558
|
qe = await _r(Me);
|
|
9559
9559
|
break;
|
|
9560
9560
|
case "ping":
|
|
9561
|
-
qe = await
|
|
9561
|
+
qe = await B(Me);
|
|
9562
9562
|
break;
|
|
9563
9563
|
case "create_user":
|
|
9564
9564
|
qe = await gt(Me);
|
|
@@ -9579,7 +9579,7 @@ const zB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9579
9579
|
let st = new J.RuntimeError("An unexpected error occurred in the integration. Bot owners: Check logs for more informations. Integration owners: throw a RuntimeError to return a custom error message instead.");
|
|
9580
9580
|
return $t.forBot().error(st.message), { status: st.code, body: JSON.stringify(st.toJSON()) };
|
|
9581
9581
|
}
|
|
9582
|
-
},
|
|
9582
|
+
}, B = async (S) => {
|
|
9583
9583
|
}, Y = async ({ client: S, ctx: oe, req: Ee, logger: De, instance: Le }) => {
|
|
9584
9584
|
let { req: Me } = Re(Ee);
|
|
9585
9585
|
return Le.webhook({ client: S, ctx: oe, req: Me, logger: De });
|
|
@@ -9640,7 +9640,7 @@ const zB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9640
9640
|
Ht(Xt);
|
|
9641
9641
|
var Ar = m.object({ id: m.string().describe("Response ID from LLM provider"), provider: m.string().describe("LLM provider name"), model: m.string().describe("Model name"), choices: m.array(tr.omit({ role: !0 }).extend({ role: m.literal("assistant"), index: m.number().int(), stopReason: m.enum(["stop", "max_tokens", "tool_calls", "content_filter", "other"]) })), usage: m.object({ inputTokens: m.number().int().describe("Number of input tokens used by the model"), inputCost: m.number().describe("Cost of the input tokens received by the model, in U.S. dollars"), outputTokens: m.number().int().describe("Number of output tokens used by the model"), outputCost: m.number().describe("Cost of the output tokens generated by the model, in U.S. dollars") }) }), Ir = new pe({ name: "llm", version: "4.0.0", entities: { modelRef: { schema: Xt } }, events: {}, actions: { generateContent: { input: { schema: ({ modelRef: S }) => Ht(S) }, output: { schema: () => Ar } }, listLanguageModels: { input: { schema: () => m.object({}) }, output: { schema: ({ modelRef: S }) => m.object({ models: m.array(m.intersection(dr, S)) }) } } } }), Kr = m.object({ id: m.string() }), Bi = Kr.extend({ name: m.string(), costPerMinute: m.number().describe("Cost per minute of speech transcription, in U.S. dollars") }), Ui = (S) => m.object({ model: S.optional().describe("Model to use for speech-to-text transcription (optional)"), fileUrl: m.string().url().describe("URL of the audio file to transcribe. The URL should return a content-type header in order to detect the audio format. Supported audio formats supported are: mp3, mp4, mpeg, mpga, m4a, wav, webm"), language: m.string().optional().describe("The language of the input audio (optional). Supplying the input language in ISO-639-1 format will improve accuracy and latency."), prompt: m.string().optional().describe("An optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language."), temperature: m.number().default(0).optional().describe("The sampling temperature (optional), between 0 and 1. Defaults to 0 (automatic). Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.") });
|
|
9642
9642
|
Ui(Kr);
|
|
9643
|
-
var P =
|
|
9643
|
+
var P = H.extend({ model: m.string().describe("Model name used"), cost: m.number().describe("Total cost of this transcription, in U.S. dollars") }), ye = new pe({ name: "speechToText", version: "1.0.0", entities: { speechToTextModelRef: { schema: Kr } }, actions: { transcribeAudio: { input: { schema: ({ speechToTextModelRef: S }) => Ui(S) }, output: { schema: () => P } }, listSpeechToTextModels: { input: { schema: () => m.object({}) }, output: { schema: ({ speechToTextModelRef: S }) => m.object({ models: m.array(m.intersection(Bi, S)) }) } } } }), Se = m.object({ id: m.string() }), ze = (S) => m.intersection(S, Se), St = (S) => S[0].toUpperCase() + S.slice(1), Ot = (...S) => {
|
|
9644
9644
|
let [oe, ...Ee] = S.filter((De) => De.length > 0).map((De) => De.toLowerCase());
|
|
9645
9645
|
return oe ? [oe, ...Ee.map(St)].join("") : "";
|
|
9646
9646
|
}, ft = m.string().optional(), ot = new pe({ name: "listable", version: "0.0.1", entities: { item: { schema: Se } }, events: {}, actions: { list: { input: { schema: () => m.object({ nextToken: ft }) }, output: { schema: (S) => m.object({ items: m.array(ze(S.item)), meta: m.object({ nextToken: ft }) }) } } }, templateName: (S, oe) => Ot(oe.item, S) }), fr = new pe({ name: "creatable", version: "0.0.1", entities: { item: { schema: Se } }, events: { created: { schema: (S) => m.object({ item: ze(S.item) }) } }, actions: { create: { input: { schema: (S) => m.object({ item: S.item }) }, output: { schema: (S) => m.object({ item: ze(S.item) }) } } }, templateName: (S, oe) => Ot(oe.item, S) }), rr = new pe({ name: "readable", version: "0.0.1", entities: { item: { schema: Se } }, events: {}, actions: { read: { input: { schema: () => Se }, output: { schema: (S) => m.object({ item: ze(S.item) }) } } }, templateName: (S, oe) => Ot(oe.item, S) }), nr = new pe({ name: "updatable", version: "0.0.1", entities: { item: { schema: Se } }, events: { updated: { schema: (S) => m.object({ item: ze(S.item) }) } }, actions: { update: { input: { schema: (S) => Se.extend({ item: S.item }) }, output: { schema: (S) => m.object({ item: ze(S.item) }) } } }, templateName: (S, oe) => Ot(oe.item, S) }), pn = new pe({ name: "deletable", version: "0.0.1", entities: { item: { schema: Se } }, events: { deleted: { schema: () => Se } }, actions: { delete: { input: { schema: () => Se }, output: { schema: () => m.object({}) } } }, templateName: (S, oe) => Ot(oe.item, S) }), lo = m.object({ id: m.string() }), cu = lo.extend({ name: m.string(), costPerImage: m.number().describe("Cost per image generation, in U.S. dollars"), sizes: m.array(m.string()).describe("Available image sizes"), defaultSize: m.string().describe("Default image size generated by model") }), Nn = m.object({}).describe("Model-specific parameters for image generation"), C0 = (S, oe) => m.object({ model: S.optional().describe("Model to use for image generation"), prompt: m.string(), size: m.string().optional(), expiration: m.number().int().min(30).max(90).optional().describe("Expiration of the generated image in days, after which the image will be automatically deleted to free up storage space in your account. The default is to keep the image indefinitely (no expiration). The minimum is 30 days and the maximum is 90 days."), params: oe.optional() });
|
|
@@ -10530,10 +10530,10 @@ function E5() {
|
|
|
10530
10530
|
var St = ye.displayName || ye.name || "";
|
|
10531
10531
|
return St !== "" ? Se + "(" + St + ")" : Se;
|
|
10532
10532
|
}
|
|
10533
|
-
function
|
|
10533
|
+
function W(P) {
|
|
10534
10534
|
return P.displayName || "Context";
|
|
10535
10535
|
}
|
|
10536
|
-
function
|
|
10536
|
+
function U(P) {
|
|
10537
10537
|
if (P == null)
|
|
10538
10538
|
return null;
|
|
10539
10539
|
if (typeof P.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof P == "function")
|
|
@@ -10558,19 +10558,19 @@ function E5() {
|
|
|
10558
10558
|
switch (P.$$typeof) {
|
|
10559
10559
|
case s:
|
|
10560
10560
|
var ye = P;
|
|
10561
|
-
return
|
|
10561
|
+
return W(ye) + ".Consumer";
|
|
10562
10562
|
case a:
|
|
10563
10563
|
var Se = P;
|
|
10564
|
-
return
|
|
10564
|
+
return W(Se._context) + ".Provider";
|
|
10565
10565
|
case c:
|
|
10566
10566
|
return D(P, P.render, "ForwardRef");
|
|
10567
10567
|
case d:
|
|
10568
10568
|
var ze = P.displayName || null;
|
|
10569
|
-
return ze !== null ? ze :
|
|
10569
|
+
return ze !== null ? ze : U(P.type) || "Memo";
|
|
10570
10570
|
case p: {
|
|
10571
10571
|
var St = P, Ot = St._payload, ft = St._init;
|
|
10572
10572
|
try {
|
|
10573
|
-
return
|
|
10573
|
+
return U(ft(Ot));
|
|
10574
10574
|
} catch {
|
|
10575
10575
|
return null;
|
|
10576
10576
|
}
|
|
@@ -10578,14 +10578,14 @@ function E5() {
|
|
|
10578
10578
|
}
|
|
10579
10579
|
return null;
|
|
10580
10580
|
}
|
|
10581
|
-
var q = Object.assign, L = 0, j,
|
|
10581
|
+
var q = Object.assign, L = 0, j, z, H, M, E, V, X;
|
|
10582
10582
|
function T() {
|
|
10583
10583
|
}
|
|
10584
10584
|
T.__reactDisabledLog = !0;
|
|
10585
10585
|
function se() {
|
|
10586
10586
|
{
|
|
10587
10587
|
if (L === 0) {
|
|
10588
|
-
j = console.log,
|
|
10588
|
+
j = console.log, z = console.info, H = console.warn, M = console.error, E = console.group, V = console.groupCollapsed, X = console.groupEnd;
|
|
10589
10589
|
var P = {
|
|
10590
10590
|
configurable: !0,
|
|
10591
10591
|
enumerable: !0,
|
|
@@ -10618,10 +10618,10 @@ function E5() {
|
|
|
10618
10618
|
value: j
|
|
10619
10619
|
}),
|
|
10620
10620
|
info: q({}, P, {
|
|
10621
|
-
value:
|
|
10621
|
+
value: z
|
|
10622
10622
|
}),
|
|
10623
10623
|
warn: q({}, P, {
|
|
10624
|
-
value:
|
|
10624
|
+
value: H
|
|
10625
10625
|
}),
|
|
10626
10626
|
error: q({}, P, {
|
|
10627
10627
|
value: M
|
|
@@ -10842,11 +10842,11 @@ function E5() {
|
|
|
10842
10842
|
}
|
|
10843
10843
|
function Jt(P, ye) {
|
|
10844
10844
|
if (typeof P.ref == "string" && J.current && ye && J.current.stateNode !== ye) {
|
|
10845
|
-
var Se =
|
|
10846
|
-
Ze[Se] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
10845
|
+
var Se = U(J.current.type);
|
|
10846
|
+
Ze[Se] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', U(J.current.type), P.ref), Ze[Se] = !0);
|
|
10847
10847
|
}
|
|
10848
10848
|
}
|
|
10849
|
-
function
|
|
10849
|
+
function B(P, ye) {
|
|
10850
10850
|
{
|
|
10851
10851
|
var Se = function() {
|
|
10852
10852
|
Te || (Te = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ye));
|
|
@@ -10910,7 +10910,7 @@ function E5() {
|
|
|
10910
10910
|
}
|
|
10911
10911
|
if (ot || fr) {
|
|
10912
10912
|
var nr = typeof P == "function" ? P.displayName || P.name || "Unknown" : P;
|
|
10913
|
-
ot &&
|
|
10913
|
+
ot && B(ft, nr), fr && Y(ft, nr);
|
|
10914
10914
|
}
|
|
10915
10915
|
return Ue(P, ot, fr, St, ze, J.current, ft);
|
|
10916
10916
|
}
|
|
@@ -10931,7 +10931,7 @@ function E5() {
|
|
|
10931
10931
|
function ur() {
|
|
10932
10932
|
{
|
|
10933
10933
|
if (gt.current) {
|
|
10934
|
-
var P =
|
|
10934
|
+
var P = U(gt.current.type);
|
|
10935
10935
|
if (P)
|
|
10936
10936
|
return `
|
|
10937
10937
|
|
|
@@ -10974,7 +10974,7 @@ Check the top-level render call using <` + Se + ">.");
|
|
|
10974
10974
|
return;
|
|
10975
10975
|
vt[Se] = !0;
|
|
10976
10976
|
var ze = "";
|
|
10977
|
-
P && P._owner && P._owner !== gt.current && (ze = " It was passed a child from " +
|
|
10977
|
+
P && P._owner && P._owner !== gt.current && (ze = " It was passed a child from " + U(P._owner.type) + "."), lr(P), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Se, ze), lr(null);
|
|
10978
10978
|
}
|
|
10979
10979
|
}
|
|
10980
10980
|
function Xt(P, ye) {
|
|
@@ -11011,11 +11011,11 @@ Check the top-level render call using <` + Se + ">.");
|
|
|
11011
11011
|
else
|
|
11012
11012
|
return;
|
|
11013
11013
|
if (Se) {
|
|
11014
|
-
var ze =
|
|
11014
|
+
var ze = U(ye);
|
|
11015
11015
|
je(Se, P.props, "prop", ze, P);
|
|
11016
11016
|
} else if (ye.PropTypes !== void 0 && !_r) {
|
|
11017
11017
|
_r = !0;
|
|
11018
|
-
var St =
|
|
11018
|
+
var St = U(ye);
|
|
11019
11019
|
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", St || "Unknown");
|
|
11020
11020
|
}
|
|
11021
11021
|
typeof ye.getDefaultProps == "function" && !ye.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -11042,7 +11042,7 @@ Check the top-level render call using <` + Se + ">.");
|
|
|
11042
11042
|
var fr = cn(St);
|
|
11043
11043
|
fr ? ot += fr : ot += ur();
|
|
11044
11044
|
var rr;
|
|
11045
|
-
P === null ? rr = "null" : Be(P) ? rr = "array" : P !== void 0 && P.$$typeof === t ? (rr = "<" + (
|
|
11045
|
+
P === null ? rr = "null" : Be(P) ? rr = "array" : P !== void 0 && P.$$typeof === t ? (rr = "<" + (U(P.type) || "Unknown") + " />", ot = " Did you accidentally export a JSX literal instead of a component?") : rr = typeof P, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", rr, ot);
|
|
11046
11046
|
}
|
|
11047
11047
|
var nr = We(P, ye, Se, St, Ot);
|
|
11048
11048
|
if (nr == null)
|
|
@@ -11427,16 +11427,16 @@ var OR = { exports: {} };
|
|
|
11427
11427
|
var L = ["th", "st", "nd", "rd"], j = q % 100;
|
|
11428
11428
|
return "[" + q + (L[(j - 20) % 10] || L[j] || L[0]) + "]";
|
|
11429
11429
|
} }, b = function(q, L, j) {
|
|
11430
|
-
var
|
|
11431
|
-
return !
|
|
11430
|
+
var z = String(q);
|
|
11431
|
+
return !z || z.length >= L ? q : "" + Array(L + 1 - z.length).join(j) + q;
|
|
11432
11432
|
}, x = { s: b, z: function(q) {
|
|
11433
|
-
var L = -q.utcOffset(), j = Math.abs(L),
|
|
11434
|
-
return (L <= 0 ? "+" : "-") + b(
|
|
11433
|
+
var L = -q.utcOffset(), j = Math.abs(L), z = Math.floor(j / 60), H = j % 60;
|
|
11434
|
+
return (L <= 0 ? "+" : "-") + b(z, 2, "0") + ":" + b(H, 2, "0");
|
|
11435
11435
|
}, m: function q(L, j) {
|
|
11436
11436
|
if (L.date() < j.date())
|
|
11437
11437
|
return -q(j, L);
|
|
11438
|
-
var
|
|
11439
|
-
return +(-(
|
|
11438
|
+
var z = 12 * (j.year() - L.year()) + (j.month() - L.month()), H = L.clone().add(z, d), M = j - H < 0, E = L.clone().add(z + (M ? -1 : 1), d);
|
|
11439
|
+
return +(-(z + (j - H) / (M ? H - E : E - H)) || 0);
|
|
11440
11440
|
}, a: function(q) {
|
|
11441
11441
|
return q < 0 ? Math.ceil(q) || 0 : Math.floor(q);
|
|
11442
11442
|
}, p: function(q) {
|
|
@@ -11446,53 +11446,53 @@ var OR = { exports: {} };
|
|
|
11446
11446
|
} }, w = "en", _ = {};
|
|
11447
11447
|
_[w] = v;
|
|
11448
11448
|
var O = "$isDayjsObject", R = function(q) {
|
|
11449
|
-
return q instanceof
|
|
11450
|
-
}, I = function q(L, j,
|
|
11451
|
-
var
|
|
11449
|
+
return q instanceof W || !(!q || !q[O]);
|
|
11450
|
+
}, I = function q(L, j, z) {
|
|
11451
|
+
var H;
|
|
11452
11452
|
if (!L)
|
|
11453
11453
|
return w;
|
|
11454
11454
|
if (typeof L == "string") {
|
|
11455
11455
|
var M = L.toLowerCase();
|
|
11456
|
-
_[M] && (
|
|
11456
|
+
_[M] && (H = M), j && (_[M] = j, H = M);
|
|
11457
11457
|
var E = L.split("-");
|
|
11458
|
-
if (!
|
|
11458
|
+
if (!H && E.length > 1)
|
|
11459
11459
|
return q(E[0]);
|
|
11460
11460
|
} else {
|
|
11461
11461
|
var V = L.name;
|
|
11462
|
-
_[V] = L,
|
|
11462
|
+
_[V] = L, H = V;
|
|
11463
11463
|
}
|
|
11464
|
-
return !
|
|
11464
|
+
return !z && H && (w = H), H || !z && w;
|
|
11465
11465
|
}, C = function(q, L) {
|
|
11466
11466
|
if (R(q))
|
|
11467
11467
|
return q.clone();
|
|
11468
11468
|
var j = typeof L == "object" ? L : {};
|
|
11469
|
-
return j.date = q, j.args = arguments, new
|
|
11469
|
+
return j.date = q, j.args = arguments, new W(j);
|
|
11470
11470
|
}, D = x;
|
|
11471
11471
|
D.l = I, D.i = R, D.w = function(q, L) {
|
|
11472
11472
|
return C(q, { locale: L.$L, utc: L.$u, x: L.$x, $offset: L.$offset });
|
|
11473
11473
|
};
|
|
11474
|
-
var
|
|
11474
|
+
var W = function() {
|
|
11475
11475
|
function q(j) {
|
|
11476
11476
|
this.$L = I(j.locale, null, !0), this.parse(j), this.$x = this.$x || j.x || {}, this[O] = !0;
|
|
11477
11477
|
}
|
|
11478
11478
|
var L = q.prototype;
|
|
11479
11479
|
return L.parse = function(j) {
|
|
11480
|
-
this.$d = function(
|
|
11481
|
-
var
|
|
11482
|
-
if (
|
|
11480
|
+
this.$d = function(z) {
|
|
11481
|
+
var H = z.date, M = z.utc;
|
|
11482
|
+
if (H === null)
|
|
11483
11483
|
return /* @__PURE__ */ new Date(NaN);
|
|
11484
|
-
if (D.u(
|
|
11484
|
+
if (D.u(H))
|
|
11485
11485
|
return /* @__PURE__ */ new Date();
|
|
11486
|
-
if (
|
|
11487
|
-
return new Date(
|
|
11488
|
-
if (typeof
|
|
11489
|
-
var E =
|
|
11486
|
+
if (H instanceof Date)
|
|
11487
|
+
return new Date(H);
|
|
11488
|
+
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
11489
|
+
var E = H.match(m);
|
|
11490
11490
|
if (E) {
|
|
11491
11491
|
var V = E[2] - 1 || 0, X = (E[7] || "0").substring(0, 3);
|
|
11492
11492
|
return M ? new Date(Date.UTC(E[1], V, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, X)) : new Date(E[1], V, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, X);
|
|
11493
11493
|
}
|
|
11494
11494
|
}
|
|
11495
|
-
return new Date(
|
|
11495
|
+
return new Date(H);
|
|
11496
11496
|
}(j), this.init();
|
|
11497
11497
|
}, L.init = function() {
|
|
11498
11498
|
var j = this.$d;
|
|
@@ -11501,25 +11501,25 @@ var OR = { exports: {} };
|
|
|
11501
11501
|
return D;
|
|
11502
11502
|
}, L.isValid = function() {
|
|
11503
11503
|
return this.$d.toString() !== y;
|
|
11504
|
-
}, L.isSame = function(j,
|
|
11505
|
-
var
|
|
11506
|
-
return this.startOf(
|
|
11507
|
-
}, L.isAfter = function(j,
|
|
11508
|
-
return C(j) < this.startOf(
|
|
11509
|
-
}, L.isBefore = function(j,
|
|
11510
|
-
return this.endOf(
|
|
11511
|
-
}, L.$g = function(j,
|
|
11512
|
-
return D.u(j) ? this[
|
|
11504
|
+
}, L.isSame = function(j, z) {
|
|
11505
|
+
var H = C(j);
|
|
11506
|
+
return this.startOf(z) <= H && H <= this.endOf(z);
|
|
11507
|
+
}, L.isAfter = function(j, z) {
|
|
11508
|
+
return C(j) < this.startOf(z);
|
|
11509
|
+
}, L.isBefore = function(j, z) {
|
|
11510
|
+
return this.endOf(z) < C(j);
|
|
11511
|
+
}, L.$g = function(j, z, H) {
|
|
11512
|
+
return D.u(j) ? this[z] : this.set(H, j);
|
|
11513
11513
|
}, L.unix = function() {
|
|
11514
11514
|
return Math.floor(this.valueOf() / 1e3);
|
|
11515
11515
|
}, L.valueOf = function() {
|
|
11516
11516
|
return this.$d.getTime();
|
|
11517
|
-
}, L.startOf = function(j,
|
|
11518
|
-
var
|
|
11519
|
-
var ue = D.w(
|
|
11517
|
+
}, L.startOf = function(j, z) {
|
|
11518
|
+
var H = this, M = !!D.u(z) || z, E = D.p(j), V = function($e, ve) {
|
|
11519
|
+
var ue = D.w(H.$u ? Date.UTC(H.$y, ve, $e) : new Date(H.$y, ve, $e), H);
|
|
11520
11520
|
return M ? ue : ue.endOf(l);
|
|
11521
11521
|
}, X = function($e, ve) {
|
|
11522
|
-
return D.w(
|
|
11522
|
+
return D.w(H.toDate()[$e].apply(H.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ve)), H);
|
|
11523
11523
|
}, T = this.$W, se = this.$M, fe = this.$D, de = "set" + (this.$u ? "UTC" : "");
|
|
11524
11524
|
switch (E) {
|
|
11525
11525
|
case f:
|
|
@@ -11543,22 +11543,22 @@ var OR = { exports: {} };
|
|
|
11543
11543
|
}
|
|
11544
11544
|
}, L.endOf = function(j) {
|
|
11545
11545
|
return this.startOf(j, !1);
|
|
11546
|
-
}, L.$set = function(j,
|
|
11547
|
-
var
|
|
11546
|
+
}, L.$set = function(j, z) {
|
|
11547
|
+
var H, M = D.p(j), E = "set" + (this.$u ? "UTC" : ""), V = (H = {}, H[l] = E + "Date", H[h] = E + "Date", H[d] = E + "Month", H[f] = E + "FullYear", H[c] = E + "Hours", H[s] = E + "Minutes", H[a] = E + "Seconds", H[i] = E + "Milliseconds", H)[M], X = M === l ? this.$D + (z - this.$W) : z;
|
|
11548
11548
|
if (M === d || M === f) {
|
|
11549
11549
|
var T = this.clone().set(h, 1);
|
|
11550
11550
|
T.$d[V](X), T.init(), this.$d = T.set(h, Math.min(this.$D, T.daysInMonth())).$d;
|
|
11551
11551
|
} else
|
|
11552
11552
|
V && this.$d[V](X);
|
|
11553
11553
|
return this.init(), this;
|
|
11554
|
-
}, L.set = function(j,
|
|
11555
|
-
return this.clone().$set(j,
|
|
11554
|
+
}, L.set = function(j, z) {
|
|
11555
|
+
return this.clone().$set(j, z);
|
|
11556
11556
|
}, L.get = function(j) {
|
|
11557
11557
|
return this[D.p(j)]();
|
|
11558
|
-
}, L.add = function(j,
|
|
11559
|
-
var
|
|
11558
|
+
}, L.add = function(j, z) {
|
|
11559
|
+
var H, M = this;
|
|
11560
11560
|
j = Number(j);
|
|
11561
|
-
var E = D.p(
|
|
11561
|
+
var E = D.p(z), V = function(se) {
|
|
11562
11562
|
var fe = C(M);
|
|
11563
11563
|
return D.w(fe.date(fe.date() + Math.round(se * j)), M);
|
|
11564
11564
|
};
|
|
@@ -11570,16 +11570,16 @@ var OR = { exports: {} };
|
|
|
11570
11570
|
return V(1);
|
|
11571
11571
|
if (E === u)
|
|
11572
11572
|
return V(7);
|
|
11573
|
-
var X = (
|
|
11573
|
+
var X = (H = {}, H[s] = n, H[c] = o, H[a] = r, H)[E] || 1, T = this.$d.getTime() + j * X;
|
|
11574
11574
|
return D.w(T, this);
|
|
11575
|
-
}, L.subtract = function(j,
|
|
11576
|
-
return this.add(-1 * j,
|
|
11575
|
+
}, L.subtract = function(j, z) {
|
|
11576
|
+
return this.add(-1 * j, z);
|
|
11577
11577
|
}, L.format = function(j) {
|
|
11578
|
-
var
|
|
11578
|
+
var z = this, H = this.$locale();
|
|
11579
11579
|
if (!this.isValid())
|
|
11580
|
-
return
|
|
11581
|
-
var M = j || "YYYY-MM-DDTHH:mm:ssZ", E = D.z(this), V = this.$H, X = this.$m, T = this.$M, se =
|
|
11582
|
-
return ve && (ve[ue] || ve(
|
|
11580
|
+
return H.invalidDate || y;
|
|
11581
|
+
var M = j || "YYYY-MM-DDTHH:mm:ssZ", E = D.z(this), V = this.$H, X = this.$m, T = this.$M, se = H.weekdays, fe = H.months, de = H.meridiem, ge = function(ve, ue, ee, be) {
|
|
11582
|
+
return ve && (ve[ue] || ve(z, M)) || ee[ue].slice(0, be);
|
|
11583
11583
|
}, _e = function(ve) {
|
|
11584
11584
|
return D.s(V % 12 || 12, ve, "0");
|
|
11585
11585
|
}, $e = de || function(ve, ue, ee) {
|
|
@@ -11590,29 +11590,29 @@ var OR = { exports: {} };
|
|
|
11590
11590
|
return ue || function(ee) {
|
|
11591
11591
|
switch (ee) {
|
|
11592
11592
|
case "YY":
|
|
11593
|
-
return String(
|
|
11593
|
+
return String(z.$y).slice(-2);
|
|
11594
11594
|
case "YYYY":
|
|
11595
|
-
return D.s(
|
|
11595
|
+
return D.s(z.$y, 4, "0");
|
|
11596
11596
|
case "M":
|
|
11597
11597
|
return T + 1;
|
|
11598
11598
|
case "MM":
|
|
11599
11599
|
return D.s(T + 1, 2, "0");
|
|
11600
11600
|
case "MMM":
|
|
11601
|
-
return ge(
|
|
11601
|
+
return ge(H.monthsShort, T, fe, 3);
|
|
11602
11602
|
case "MMMM":
|
|
11603
11603
|
return ge(fe, T);
|
|
11604
11604
|
case "D":
|
|
11605
|
-
return
|
|
11605
|
+
return z.$D;
|
|
11606
11606
|
case "DD":
|
|
11607
|
-
return D.s(
|
|
11607
|
+
return D.s(z.$D, 2, "0");
|
|
11608
11608
|
case "d":
|
|
11609
|
-
return String(
|
|
11609
|
+
return String(z.$W);
|
|
11610
11610
|
case "dd":
|
|
11611
|
-
return ge(
|
|
11611
|
+
return ge(H.weekdaysMin, z.$W, se, 2);
|
|
11612
11612
|
case "ddd":
|
|
11613
|
-
return ge(
|
|
11613
|
+
return ge(H.weekdaysShort, z.$W, se, 3);
|
|
11614
11614
|
case "dddd":
|
|
11615
|
-
return se[
|
|
11615
|
+
return se[z.$W];
|
|
11616
11616
|
case "H":
|
|
11617
11617
|
return String(V);
|
|
11618
11618
|
case "HH":
|
|
@@ -11630,11 +11630,11 @@ var OR = { exports: {} };
|
|
|
11630
11630
|
case "mm":
|
|
11631
11631
|
return D.s(X, 2, "0");
|
|
11632
11632
|
case "s":
|
|
11633
|
-
return String(
|
|
11633
|
+
return String(z.$s);
|
|
11634
11634
|
case "ss":
|
|
11635
|
-
return D.s(
|
|
11635
|
+
return D.s(z.$s, 2, "0");
|
|
11636
11636
|
case "SSS":
|
|
11637
|
-
return D.s(
|
|
11637
|
+
return D.s(z.$ms, 3, "0");
|
|
11638
11638
|
case "Z":
|
|
11639
11639
|
return E;
|
|
11640
11640
|
}
|
|
@@ -11643,8 +11643,8 @@ var OR = { exports: {} };
|
|
|
11643
11643
|
});
|
|
11644
11644
|
}, L.utcOffset = function() {
|
|
11645
11645
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
11646
|
-
}, L.diff = function(j,
|
|
11647
|
-
var M, E = this, V = D.p(
|
|
11646
|
+
}, L.diff = function(j, z, H) {
|
|
11647
|
+
var M, E = this, V = D.p(z), X = C(j), T = (X.utcOffset() - this.utcOffset()) * n, se = this - X, fe = function() {
|
|
11648
11648
|
return D.m(E, X);
|
|
11649
11649
|
};
|
|
11650
11650
|
switch (V) {
|
|
@@ -11675,16 +11675,16 @@ var OR = { exports: {} };
|
|
|
11675
11675
|
default:
|
|
11676
11676
|
M = se;
|
|
11677
11677
|
}
|
|
11678
|
-
return
|
|
11678
|
+
return H ? M : D.a(M);
|
|
11679
11679
|
}, L.daysInMonth = function() {
|
|
11680
11680
|
return this.endOf(d).$D;
|
|
11681
11681
|
}, L.$locale = function() {
|
|
11682
11682
|
return _[this.$L];
|
|
11683
|
-
}, L.locale = function(j,
|
|
11683
|
+
}, L.locale = function(j, z) {
|
|
11684
11684
|
if (!j)
|
|
11685
11685
|
return this.$L;
|
|
11686
|
-
var
|
|
11687
|
-
return M && (
|
|
11686
|
+
var H = this.clone(), M = I(j, z, !0);
|
|
11687
|
+
return M && (H.$L = M), H;
|
|
11688
11688
|
}, L.clone = function() {
|
|
11689
11689
|
return D.w(this.$d, this);
|
|
11690
11690
|
}, L.toDate = function() {
|
|
@@ -11696,13 +11696,13 @@ var OR = { exports: {} };
|
|
|
11696
11696
|
}, L.toString = function() {
|
|
11697
11697
|
return this.$d.toUTCString();
|
|
11698
11698
|
}, q;
|
|
11699
|
-
}(),
|
|
11700
|
-
return C.prototype =
|
|
11701
|
-
|
|
11699
|
+
}(), U = W.prototype;
|
|
11700
|
+
return C.prototype = U, [["$ms", i], ["$s", a], ["$m", s], ["$H", c], ["$W", l], ["$M", d], ["$y", f], ["$D", h]].forEach(function(q) {
|
|
11701
|
+
U[q[1]] = function(L) {
|
|
11702
11702
|
return this.$g(L, q[0], q[1]);
|
|
11703
11703
|
};
|
|
11704
11704
|
}), C.extend = function(q, L) {
|
|
11705
|
-
return q.$i || (q(L,
|
|
11705
|
+
return q.$i || (q(L, W, C), q.$i = !0), C;
|
|
11706
11706
|
}, C.locale = I, C.isDayjs = R, C.unix = function(q) {
|
|
11707
11707
|
return C(1e3 * q);
|
|
11708
11708
|
}, C.en = _[w], C.Ls = _, C.p = {}, C;
|
|
@@ -14556,7 +14556,7 @@ var Z = /* @__PURE__ */ Object.freeze({
|
|
|
14556
14556
|
ZodError: eo
|
|
14557
14557
|
});
|
|
14558
14558
|
const oc = Z.object({
|
|
14559
|
-
title: Z.string(),
|
|
14559
|
+
title: Z.string().optional(),
|
|
14560
14560
|
link: Z.string().optional()
|
|
14561
14561
|
}), FR = Z.object({
|
|
14562
14562
|
color: Z.string().optional(),
|
|
@@ -14760,7 +14760,7 @@ const oc = Z.object({
|
|
|
14760
14760
|
});
|
|
14761
14761
|
function w4(e) {
|
|
14762
14762
|
const { fontFamily: t, radius: r, themeMode: n, variant: o, color: i } = FR.parse(e);
|
|
14763
|
-
let a = {}, s;
|
|
14763
|
+
let a = {}, s = {};
|
|
14764
14764
|
if (i) {
|
|
14765
14765
|
const u = mx(i), d = n === "dark" ? ax(u) : u, p = mx(D5(L5(ig(i)))), f = n === "dark" ? ax(p) : p, h = n === "dark" ? "#101010" : "#fdfdfd";
|
|
14766
14766
|
s = Object.entries({ ...d, 1: h }).reduce(
|
|
@@ -17162,16 +17162,16 @@ function Vz(e, t, r) {
|
|
|
17162
17162
|
function D(L) {
|
|
17163
17163
|
return _.enter("codeFencedFence"), xt(L) ? It(
|
|
17164
17164
|
_,
|
|
17165
|
-
|
|
17165
|
+
W,
|
|
17166
17166
|
"linePrefix",
|
|
17167
17167
|
n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
17168
|
-
)(L) :
|
|
17168
|
+
)(L) : W(L);
|
|
17169
17169
|
}
|
|
17170
|
-
function
|
|
17171
|
-
return L === s ? (_.enter("codeFencedFenceSequence"),
|
|
17170
|
+
function W(L) {
|
|
17171
|
+
return L === s ? (_.enter("codeFencedFenceSequence"), U(L)) : R(L);
|
|
17172
17172
|
}
|
|
17173
|
-
function
|
|
17174
|
-
return L === s ? (I++, _.consume(L),
|
|
17173
|
+
function U(L) {
|
|
17174
|
+
return L === s ? (I++, _.consume(L), U) : I >= a ? (_.exit("codeFencedFenceSequence"), xt(L) ? It(_, q, "whitespace")(L) : q(L)) : R(L);
|
|
17175
17175
|
}
|
|
17176
17176
|
function q(L) {
|
|
17177
17177
|
return L === null || Qe(L) ? (_.exit("codeFencedFence"), O(L)) : R(L);
|
|
@@ -17678,7 +17678,7 @@ function w6(e, t, r) {
|
|
|
17678
17678
|
}
|
|
17679
17679
|
function h(T) {
|
|
17680
17680
|
const se = "CDATA[";
|
|
17681
|
-
return T === se.charCodeAt(s++) ? (e.consume(T), s === se.length ? n.interrupt ? t :
|
|
17681
|
+
return T === se.charCodeAt(s++) ? (e.consume(T), s === se.length ? n.interrupt ? t : W : h) : r(T);
|
|
17682
17682
|
}
|
|
17683
17683
|
function y(T) {
|
|
17684
17684
|
return ln(T) ? (e.consume(T), a = String.fromCharCode(T), m) : r(T);
|
|
@@ -17686,12 +17686,12 @@ function w6(e, t, r) {
|
|
|
17686
17686
|
function m(T) {
|
|
17687
17687
|
if (T === null || T === 47 || T === 62 || Kt(T)) {
|
|
17688
17688
|
const se = T === 47, fe = a.toLowerCase();
|
|
17689
|
-
return !se && !i && Mx.includes(fe) ? (o = 1, n.interrupt ? t(T) :
|
|
17689
|
+
return !se && !i && Mx.includes(fe) ? (o = 1, n.interrupt ? t(T) : W(T)) : m6.includes(a.toLowerCase()) ? (o = 6, se ? (e.consume(T), g) : n.interrupt ? t(T) : W(T)) : (o = 7, n.interrupt && !n.parser.lazy[n.now().line] ? r(T) : i ? v(T) : b(T));
|
|
17690
17690
|
}
|
|
17691
17691
|
return T === 45 || en(T) ? (e.consume(T), a += String.fromCharCode(T), m) : r(T);
|
|
17692
17692
|
}
|
|
17693
17693
|
function g(T) {
|
|
17694
|
-
return T === 62 ? (e.consume(T), n.interrupt ? t :
|
|
17694
|
+
return T === 62 ? (e.consume(T), n.interrupt ? t : W) : r(T);
|
|
17695
17695
|
}
|
|
17696
17696
|
function v(T) {
|
|
17697
17697
|
return xt(T) ? (e.consume(T), v) : C(T);
|
|
@@ -17721,16 +17721,16 @@ function w6(e, t, r) {
|
|
|
17721
17721
|
return T === 62 ? (e.consume(T), D) : r(T);
|
|
17722
17722
|
}
|
|
17723
17723
|
function D(T) {
|
|
17724
|
-
return T === null || Qe(T) ?
|
|
17724
|
+
return T === null || Qe(T) ? W(T) : xt(T) ? (e.consume(T), D) : r(T);
|
|
17725
17725
|
}
|
|
17726
|
-
function
|
|
17727
|
-
return T === 45 && o === 2 ? (e.consume(T), j) : T === 60 && o === 1 ? (e.consume(T),
|
|
17726
|
+
function W(T) {
|
|
17727
|
+
return T === 45 && o === 2 ? (e.consume(T), j) : T === 60 && o === 1 ? (e.consume(T), z) : T === 62 && o === 4 ? (e.consume(T), V) : T === 63 && o === 3 ? (e.consume(T), E) : T === 93 && o === 5 ? (e.consume(T), M) : Qe(T) && (o === 6 || o === 7) ? (e.exit("htmlFlowData"), e.check(
|
|
17728
17728
|
g6,
|
|
17729
17729
|
X,
|
|
17730
|
-
|
|
17731
|
-
)(T)) : T === null || Qe(T) ? (e.exit("htmlFlowData"),
|
|
17730
|
+
U
|
|
17731
|
+
)(T)) : T === null || Qe(T) ? (e.exit("htmlFlowData"), U(T)) : (e.consume(T), W);
|
|
17732
17732
|
}
|
|
17733
|
-
function
|
|
17733
|
+
function U(T) {
|
|
17734
17734
|
return e.check(
|
|
17735
17735
|
v6,
|
|
17736
17736
|
q,
|
|
@@ -17741,26 +17741,26 @@ function w6(e, t, r) {
|
|
|
17741
17741
|
return e.enter("lineEnding"), e.consume(T), e.exit("lineEnding"), L;
|
|
17742
17742
|
}
|
|
17743
17743
|
function L(T) {
|
|
17744
|
-
return T === null || Qe(T) ?
|
|
17744
|
+
return T === null || Qe(T) ? U(T) : (e.enter("htmlFlowData"), W(T));
|
|
17745
17745
|
}
|
|
17746
17746
|
function j(T) {
|
|
17747
|
-
return T === 45 ? (e.consume(T), E) :
|
|
17747
|
+
return T === 45 ? (e.consume(T), E) : W(T);
|
|
17748
17748
|
}
|
|
17749
|
-
function
|
|
17750
|
-
return T === 47 ? (e.consume(T), a = "",
|
|
17749
|
+
function z(T) {
|
|
17750
|
+
return T === 47 ? (e.consume(T), a = "", H) : W(T);
|
|
17751
17751
|
}
|
|
17752
|
-
function
|
|
17752
|
+
function H(T) {
|
|
17753
17753
|
if (T === 62) {
|
|
17754
17754
|
const se = a.toLowerCase();
|
|
17755
|
-
return Mx.includes(se) ? (e.consume(T), V) :
|
|
17755
|
+
return Mx.includes(se) ? (e.consume(T), V) : W(T);
|
|
17756
17756
|
}
|
|
17757
|
-
return ln(T) && a.length < 8 ? (e.consume(T), a += String.fromCharCode(T),
|
|
17757
|
+
return ln(T) && a.length < 8 ? (e.consume(T), a += String.fromCharCode(T), H) : W(T);
|
|
17758
17758
|
}
|
|
17759
17759
|
function M(T) {
|
|
17760
|
-
return T === 93 ? (e.consume(T), E) :
|
|
17760
|
+
return T === 93 ? (e.consume(T), E) : W(T);
|
|
17761
17761
|
}
|
|
17762
17762
|
function E(T) {
|
|
17763
|
-
return T === 62 ? (e.consume(T), V) : T === 45 && o === 2 ? (e.consume(T), E) :
|
|
17763
|
+
return T === 62 ? (e.consume(T), V) : T === 45 && o === 2 ? (e.consume(T), E) : W(T);
|
|
17764
17764
|
}
|
|
17765
17765
|
function V(T) {
|
|
17766
17766
|
return T === null || Qe(T) ? (e.exit("htmlFlowData"), X(T)) : (e.consume(T), V);
|
|
@@ -17806,7 +17806,7 @@ function E6(e, t, r) {
|
|
|
17806
17806
|
return E === 45 ? (e.consume(E), f) : r(E);
|
|
17807
17807
|
}
|
|
17808
17808
|
function d(E) {
|
|
17809
|
-
return E === null ? r(E) : E === 45 ? (e.consume(E), p) : Qe(E) ? (a = d,
|
|
17809
|
+
return E === null ? r(E) : E === 45 ? (e.consume(E), p) : Qe(E) ? (a = d, z(E)) : (e.consume(E), d);
|
|
17810
17810
|
}
|
|
17811
17811
|
function p(E) {
|
|
17812
17812
|
return E === 45 ? (e.consume(E), f) : d(E);
|
|
@@ -17819,7 +17819,7 @@ function E6(e, t, r) {
|
|
|
17819
17819
|
return E === V.charCodeAt(i++) ? (e.consume(E), i === V.length ? y : h) : r(E);
|
|
17820
17820
|
}
|
|
17821
17821
|
function y(E) {
|
|
17822
|
-
return E === null ? r(E) : E === 93 ? (e.consume(E), m) : Qe(E) ? (a = y,
|
|
17822
|
+
return E === null ? r(E) : E === 93 ? (e.consume(E), m) : Qe(E) ? (a = y, z(E)) : (e.consume(E), y);
|
|
17823
17823
|
}
|
|
17824
17824
|
function m(E) {
|
|
17825
17825
|
return E === 93 ? (e.consume(E), g) : y(E);
|
|
@@ -17828,10 +17828,10 @@ function E6(e, t, r) {
|
|
|
17828
17828
|
return E === 62 ? j(E) : E === 93 ? (e.consume(E), g) : y(E);
|
|
17829
17829
|
}
|
|
17830
17830
|
function v(E) {
|
|
17831
|
-
return E === null || E === 62 ? j(E) : Qe(E) ? (a = v,
|
|
17831
|
+
return E === null || E === 62 ? j(E) : Qe(E) ? (a = v, z(E)) : (e.consume(E), v);
|
|
17832
17832
|
}
|
|
17833
17833
|
function b(E) {
|
|
17834
|
-
return E === null ? r(E) : E === 63 ? (e.consume(E), x) : Qe(E) ? (a = b,
|
|
17834
|
+
return E === null ? r(E) : E === 63 ? (e.consume(E), x) : Qe(E) ? (a = b, z(E)) : (e.consume(E), b);
|
|
17835
17835
|
}
|
|
17836
17836
|
function x(E) {
|
|
17837
17837
|
return E === 62 ? j(E) : b(E);
|
|
@@ -17843,25 +17843,25 @@ function E6(e, t, r) {
|
|
|
17843
17843
|
return E === 45 || en(E) ? (e.consume(E), _) : O(E);
|
|
17844
17844
|
}
|
|
17845
17845
|
function O(E) {
|
|
17846
|
-
return Qe(E) ? (a = O,
|
|
17846
|
+
return Qe(E) ? (a = O, z(E)) : xt(E) ? (e.consume(E), O) : j(E);
|
|
17847
17847
|
}
|
|
17848
17848
|
function R(E) {
|
|
17849
17849
|
return E === 45 || en(E) ? (e.consume(E), R) : E === 47 || E === 62 || Kt(E) ? I(E) : r(E);
|
|
17850
17850
|
}
|
|
17851
17851
|
function I(E) {
|
|
17852
|
-
return E === 47 ? (e.consume(E), j) : E === 58 || E === 95 || ln(E) ? (e.consume(E), C) : Qe(E) ? (a = I,
|
|
17852
|
+
return E === 47 ? (e.consume(E), j) : E === 58 || E === 95 || ln(E) ? (e.consume(E), C) : Qe(E) ? (a = I, z(E)) : xt(E) ? (e.consume(E), I) : j(E);
|
|
17853
17853
|
}
|
|
17854
17854
|
function C(E) {
|
|
17855
17855
|
return E === 45 || E === 46 || E === 58 || E === 95 || en(E) ? (e.consume(E), C) : D(E);
|
|
17856
17856
|
}
|
|
17857
17857
|
function D(E) {
|
|
17858
|
-
return E === 61 ? (e.consume(E),
|
|
17858
|
+
return E === 61 ? (e.consume(E), W) : Qe(E) ? (a = D, z(E)) : xt(E) ? (e.consume(E), D) : I(E);
|
|
17859
17859
|
}
|
|
17860
|
-
function
|
|
17861
|
-
return E === null || E === 60 || E === 61 || E === 62 || E === 96 ? r(E) : E === 34 || E === 39 ? (e.consume(E), o = E,
|
|
17860
|
+
function W(E) {
|
|
17861
|
+
return E === null || E === 60 || E === 61 || E === 62 || E === 96 ? r(E) : E === 34 || E === 39 ? (e.consume(E), o = E, U) : Qe(E) ? (a = W, z(E)) : xt(E) ? (e.consume(E), W) : (e.consume(E), q);
|
|
17862
17862
|
}
|
|
17863
|
-
function
|
|
17864
|
-
return E === o ? (e.consume(E), o = void 0, L) : E === null ? r(E) : Qe(E) ? (a =
|
|
17863
|
+
function U(E) {
|
|
17864
|
+
return E === o ? (e.consume(E), o = void 0, L) : E === null ? r(E) : Qe(E) ? (a = U, z(E)) : (e.consume(E), U);
|
|
17865
17865
|
}
|
|
17866
17866
|
function q(E) {
|
|
17867
17867
|
return E === null || E === 34 || E === 39 || E === 60 || E === 61 || E === 96 ? r(E) : E === 47 || E === 62 || Kt(E) ? I(E) : (e.consume(E), q);
|
|
@@ -17872,10 +17872,10 @@ function E6(e, t, r) {
|
|
|
17872
17872
|
function j(E) {
|
|
17873
17873
|
return E === 62 ? (e.consume(E), e.exit("htmlTextData"), e.exit("htmlText"), t) : r(E);
|
|
17874
17874
|
}
|
|
17875
|
-
function
|
|
17876
|
-
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(E), e.exit("lineEnding"),
|
|
17875
|
+
function z(E) {
|
|
17876
|
+
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(E), e.exit("lineEnding"), H;
|
|
17877
17877
|
}
|
|
17878
|
-
function
|
|
17878
|
+
function H(E) {
|
|
17879
17879
|
return xt(E) ? It(
|
|
17880
17880
|
e,
|
|
17881
17881
|
M,
|
|
@@ -18462,18 +18462,18 @@ function tZ(e, t, r) {
|
|
|
18462
18462
|
function d(D) {
|
|
18463
18463
|
return a = Dn(a, D), m(), a[a.length - 1] !== null ? [] : (R(t, 0), l.events = qp(i, l.events, l), l.events);
|
|
18464
18464
|
}
|
|
18465
|
-
function p(D,
|
|
18466
|
-
return nZ(f(D),
|
|
18465
|
+
function p(D, W) {
|
|
18466
|
+
return nZ(f(D), W);
|
|
18467
18467
|
}
|
|
18468
18468
|
function f(D) {
|
|
18469
18469
|
return rZ(a, D);
|
|
18470
18470
|
}
|
|
18471
18471
|
function h() {
|
|
18472
|
-
const { line: D, column:
|
|
18472
|
+
const { line: D, column: W, offset: U, _index: q, _bufferIndex: L } = n;
|
|
18473
18473
|
return {
|
|
18474
18474
|
line: D,
|
|
18475
|
-
column:
|
|
18476
|
-
offset:
|
|
18475
|
+
column: W,
|
|
18476
|
+
offset: U,
|
|
18477
18477
|
_index: q,
|
|
18478
18478
|
_bufferIndex: L
|
|
18479
18479
|
};
|
|
@@ -18484,12 +18484,12 @@ function tZ(e, t, r) {
|
|
|
18484
18484
|
function m() {
|
|
18485
18485
|
let D;
|
|
18486
18486
|
for (; n._index < a.length; ) {
|
|
18487
|
-
const
|
|
18488
|
-
if (typeof
|
|
18489
|
-
for (D = n._index, n._bufferIndex < 0 && (n._bufferIndex = 0); n._index === D && n._bufferIndex <
|
|
18490
|
-
g(
|
|
18487
|
+
const W = a[n._index];
|
|
18488
|
+
if (typeof W == "string")
|
|
18489
|
+
for (D = n._index, n._bufferIndex < 0 && (n._bufferIndex = 0); n._index === D && n._bufferIndex < W.length; )
|
|
18490
|
+
g(W.charCodeAt(n._bufferIndex));
|
|
18491
18491
|
else
|
|
18492
|
-
g(
|
|
18492
|
+
g(W);
|
|
18493
18493
|
}
|
|
18494
18494
|
}
|
|
18495
18495
|
function g(D) {
|
|
@@ -18498,24 +18498,24 @@ function tZ(e, t, r) {
|
|
|
18498
18498
|
function v(D) {
|
|
18499
18499
|
Qe(D) ? (n.line++, n.column = 1, n.offset += D === -3 ? 2 : 1, C()) : D !== -1 && (n.column++, n.offset++), n._bufferIndex < 0 ? n._index++ : (n._bufferIndex++, n._bufferIndex === a[n._index].length && (n._bufferIndex = -1, n._index++)), l.previous = D;
|
|
18500
18500
|
}
|
|
18501
|
-
function b(D,
|
|
18502
|
-
const
|
|
18503
|
-
return
|
|
18501
|
+
function b(D, W) {
|
|
18502
|
+
const U = W || {};
|
|
18503
|
+
return U.type = D, U.start = h(), l.events.push(["enter", U, l]), s.push(U), U;
|
|
18504
18504
|
}
|
|
18505
18505
|
function x(D) {
|
|
18506
|
-
const
|
|
18507
|
-
return
|
|
18506
|
+
const W = s.pop();
|
|
18507
|
+
return W.end = h(), l.events.push(["exit", W, l]), W;
|
|
18508
18508
|
}
|
|
18509
|
-
function w(D,
|
|
18510
|
-
R(D,
|
|
18509
|
+
function w(D, W) {
|
|
18510
|
+
R(D, W.from);
|
|
18511
18511
|
}
|
|
18512
|
-
function _(D,
|
|
18513
|
-
|
|
18512
|
+
function _(D, W) {
|
|
18513
|
+
W.restore();
|
|
18514
18514
|
}
|
|
18515
|
-
function O(D,
|
|
18516
|
-
return
|
|
18517
|
-
function
|
|
18518
|
-
let
|
|
18515
|
+
function O(D, W) {
|
|
18516
|
+
return U;
|
|
18517
|
+
function U(q, L, j) {
|
|
18518
|
+
let z, H, M, E;
|
|
18519
18519
|
return Array.isArray(q) ? X(q) : "tokenize" in q ? (
|
|
18520
18520
|
// @ts-expect-error Looks like a construct.
|
|
18521
18521
|
X([q])
|
|
@@ -18533,7 +18533,7 @@ function tZ(e, t, r) {
|
|
|
18533
18533
|
}
|
|
18534
18534
|
}
|
|
18535
18535
|
function X(de) {
|
|
18536
|
-
return
|
|
18536
|
+
return z = de, H = 0, de.length === 0 ? j : T(de[H]);
|
|
18537
18537
|
}
|
|
18538
18538
|
function T(de) {
|
|
18539
18539
|
return ge;
|
|
@@ -18542,7 +18542,7 @@ function tZ(e, t, r) {
|
|
|
18542
18542
|
// If we do have fields, create an object w/ `context` as its
|
|
18543
18543
|
// prototype.
|
|
18544
18544
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
18545
|
-
|
|
18545
|
+
W ? Object.assign(Object.create(l), W) : l,
|
|
18546
18546
|
c,
|
|
18547
18547
|
se,
|
|
18548
18548
|
fe
|
|
@@ -18553,26 +18553,26 @@ function tZ(e, t, r) {
|
|
|
18553
18553
|
return D(M, E), L;
|
|
18554
18554
|
}
|
|
18555
18555
|
function fe(de) {
|
|
18556
|
-
return E.restore(), ++
|
|
18556
|
+
return E.restore(), ++H < z.length ? T(z[H]) : j;
|
|
18557
18557
|
}
|
|
18558
18558
|
}
|
|
18559
18559
|
}
|
|
18560
|
-
function R(D,
|
|
18560
|
+
function R(D, W) {
|
|
18561
18561
|
D.resolveAll && !i.includes(D) && i.push(D), D.resolve && On(
|
|
18562
18562
|
l.events,
|
|
18563
|
-
|
|
18564
|
-
l.events.length -
|
|
18565
|
-
D.resolve(l.events.slice(
|
|
18563
|
+
W,
|
|
18564
|
+
l.events.length - W,
|
|
18565
|
+
D.resolve(l.events.slice(W), l)
|
|
18566
18566
|
), D.resolveTo && (l.events = D.resolveTo(l.events, l));
|
|
18567
18567
|
}
|
|
18568
18568
|
function I() {
|
|
18569
|
-
const D = h(),
|
|
18569
|
+
const D = h(), W = l.previous, U = l.currentConstruct, q = l.events.length, L = Array.from(s);
|
|
18570
18570
|
return {
|
|
18571
18571
|
restore: j,
|
|
18572
18572
|
from: q
|
|
18573
18573
|
};
|
|
18574
18574
|
function j() {
|
|
18575
|
-
n = D, l.previous =
|
|
18575
|
+
n = D, l.previous = W, l.currentConstruct = U, l.events.length = q, s = L, C();
|
|
18576
18576
|
}
|
|
18577
18577
|
}
|
|
18578
18578
|
function C() {
|
|
@@ -18856,15 +18856,15 @@ function xZ(e) {
|
|
|
18856
18856
|
definitionLabelString: v,
|
|
18857
18857
|
definitionTitleString: b,
|
|
18858
18858
|
emphasis: c(),
|
|
18859
|
-
hardBreakEscape: c(
|
|
18860
|
-
hardBreakTrailing: c(
|
|
18861
|
-
htmlFlow: c(
|
|
18859
|
+
hardBreakEscape: c(W),
|
|
18860
|
+
hardBreakTrailing: c(W),
|
|
18861
|
+
htmlFlow: c(U),
|
|
18862
18862
|
htmlFlowData: C,
|
|
18863
18863
|
htmlText: c(q),
|
|
18864
18864
|
htmlTextData: C,
|
|
18865
|
-
image: c(
|
|
18865
|
+
image: c(z),
|
|
18866
18866
|
label: M,
|
|
18867
|
-
labelText:
|
|
18867
|
+
labelText: H,
|
|
18868
18868
|
lineEnding: D,
|
|
18869
18869
|
link: c(j),
|
|
18870
18870
|
listItem: c(),
|
|
@@ -18947,16 +18947,16 @@ function xZ(e) {
|
|
|
18947
18947
|
function o(K, ie, J) {
|
|
18948
18948
|
let me = ie - 1, Te = -1, Ye = !1, Ze, it, $t, Jt;
|
|
18949
18949
|
for (; ++me <= J; ) {
|
|
18950
|
-
const
|
|
18951
|
-
switch (
|
|
18950
|
+
const B = K[me];
|
|
18951
|
+
switch (B[1].type) {
|
|
18952
18952
|
case "listUnordered":
|
|
18953
18953
|
case "listOrdered":
|
|
18954
18954
|
case "blockQuote": {
|
|
18955
|
-
|
|
18955
|
+
B[0] === "enter" ? Te++ : Te--, Jt = void 0;
|
|
18956
18956
|
break;
|
|
18957
18957
|
}
|
|
18958
18958
|
case "lineEndingBlank": {
|
|
18959
|
-
|
|
18959
|
+
B[0] === "enter" && (Ze && !Jt && !Te && !$t && ($t = me), Jt = void 0);
|
|
18960
18960
|
break;
|
|
18961
18961
|
}
|
|
18962
18962
|
case "linePrefix":
|
|
@@ -18968,7 +18968,7 @@ function xZ(e) {
|
|
|
18968
18968
|
default:
|
|
18969
18969
|
Jt = void 0;
|
|
18970
18970
|
}
|
|
18971
|
-
if (!Te &&
|
|
18971
|
+
if (!Te && B[0] === "enter" && B[1].type === "listItemPrefix" || Te === -1 && B[0] === "exit" && (B[1].type === "listUnordered" || B[1].type === "listOrdered")) {
|
|
18972
18972
|
if (Ze) {
|
|
18973
18973
|
let Y = me;
|
|
18974
18974
|
for (it = void 0; Y--; ) {
|
|
@@ -18982,18 +18982,18 @@ function xZ(e) {
|
|
|
18982
18982
|
}
|
|
18983
18983
|
$t && (!it || $t < it) && (Ze._spread = !0), Ze.end = Object.assign(
|
|
18984
18984
|
{},
|
|
18985
|
-
it ? K[it][1].start :
|
|
18986
|
-
), K.splice(it || me, 0, ["exit", Ze,
|
|
18985
|
+
it ? K[it][1].start : B[1].end
|
|
18986
|
+
), K.splice(it || me, 0, ["exit", Ze, B[2]]), me++, J++;
|
|
18987
18987
|
}
|
|
18988
|
-
if (
|
|
18988
|
+
if (B[1].type === "listItemPrefix") {
|
|
18989
18989
|
const Y = {
|
|
18990
18990
|
type: "listItem",
|
|
18991
18991
|
_spread: !1,
|
|
18992
|
-
start: Object.assign({},
|
|
18992
|
+
start: Object.assign({}, B[1].start),
|
|
18993
18993
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
18994
18994
|
end: void 0
|
|
18995
18995
|
};
|
|
18996
|
-
Ze = Y, K.splice(me, 0, ["enter", Y,
|
|
18996
|
+
Ze = Y, K.splice(me, 0, ["enter", Y, B[2]]), me++, J++, $t = void 0, Jt = !0;
|
|
18997
18997
|
}
|
|
18998
18998
|
}
|
|
18999
18999
|
}
|
|
@@ -19121,10 +19121,10 @@ function xZ(e) {
|
|
|
19121
19121
|
}
|
|
19122
19122
|
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(ie.type) && (I.call(this, K), C.call(this, K));
|
|
19123
19123
|
}
|
|
19124
|
-
function
|
|
19124
|
+
function W() {
|
|
19125
19125
|
this.data.atHardBreak = !0;
|
|
19126
19126
|
}
|
|
19127
|
-
function
|
|
19127
|
+
function U() {
|
|
19128
19128
|
const K = this.resume(), ie = this.stack[this.stack.length - 1];
|
|
19129
19129
|
ie.value = K;
|
|
19130
19130
|
}
|
|
@@ -19145,7 +19145,7 @@ function xZ(e) {
|
|
|
19145
19145
|
delete K.identifier, delete K.label;
|
|
19146
19146
|
this.data.referenceType = void 0;
|
|
19147
19147
|
}
|
|
19148
|
-
function
|
|
19148
|
+
function z() {
|
|
19149
19149
|
const K = this.stack[this.stack.length - 1];
|
|
19150
19150
|
if (this.data.inReference) {
|
|
19151
19151
|
const ie = this.data.referenceType || "shortcut";
|
|
@@ -19154,7 +19154,7 @@ function xZ(e) {
|
|
|
19154
19154
|
delete K.identifier, delete K.label;
|
|
19155
19155
|
this.data.referenceType = void 0;
|
|
19156
19156
|
}
|
|
19157
|
-
function
|
|
19157
|
+
function H(K) {
|
|
19158
19158
|
const ie = this.sliceSerialize(K), J = this.stack[this.stack.length - 2];
|
|
19159
19159
|
J.label = vZ(ie), J.identifier = ro(ie).toLowerCase();
|
|
19160
19160
|
}
|
|
@@ -23249,8 +23249,8 @@ function H8(e, t, r) {
|
|
|
23249
23249
|
else
|
|
23250
23250
|
break;
|
|
23251
23251
|
}
|
|
23252
|
-
const
|
|
23253
|
-
return
|
|
23252
|
+
const W = D > -1 ? n.events[D][1].type : null, U = W === "tableHead" || W === "tableRow" ? _ : c;
|
|
23253
|
+
return U === _ && n.parser.lazy[n.now().line] ? r(C) : U(C);
|
|
23254
23254
|
}
|
|
23255
23255
|
function c(C) {
|
|
23256
23256
|
return e.enter("tableHead"), e.enter("tableRow"), l(C);
|
|
@@ -24468,10 +24468,15 @@ var kV = EV;
|
|
|
24468
24468
|
"#FFCC33"
|
|
24469
24469
|
];
|
|
24470
24470
|
function r() {
|
|
24471
|
-
|
|
24471
|
+
if (typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs))
|
|
24472
|
+
return !0;
|
|
24473
|
+
if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))
|
|
24474
|
+
return !1;
|
|
24475
|
+
let c;
|
|
24476
|
+
return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
24472
24477
|
typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
24473
24478
|
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
24474
|
-
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(
|
|
24479
|
+
typeof navigator < "u" && navigator.userAgent && (c = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(c[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
24475
24480
|
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
24476
24481
|
}
|
|
24477
24482
|
function n(c) {
|
|
@@ -29040,14 +29045,14 @@ var Pg = Vy, X1 = Pg.custom, Q1 = zI(X1) ? X1 : null, CG = function e(t, r, n, o
|
|
|
29040
29045
|
o = [];
|
|
29041
29046
|
else if (ZI(o, t) >= 0)
|
|
29042
29047
|
return "[Circular]";
|
|
29043
|
-
function p(
|
|
29048
|
+
function p(U, q, L) {
|
|
29044
29049
|
if (q && (o = OG.call(o), o.push(q)), L) {
|
|
29045
29050
|
var j = {
|
|
29046
29051
|
depth: i.depth
|
|
29047
29052
|
};
|
|
29048
|
-
return mi(i, "quoteStyle") && (j.quoteStyle = i.quoteStyle), e(
|
|
29053
|
+
return mi(i, "quoteStyle") && (j.quoteStyle = i.quoteStyle), e(U, j, n + 1, o);
|
|
29049
29054
|
}
|
|
29050
|
-
return e(
|
|
29055
|
+
return e(U, i, n + 1, o);
|
|
29051
29056
|
}
|
|
29052
29057
|
if (typeof t == "function" && !e_(t)) {
|
|
29053
29058
|
var f = LG(t), h = wu(t, p);
|
|
@@ -29080,14 +29085,14 @@ var Pg = Vy, X1 = Pg.custom, Q1 = zI(X1) ? X1 : null, CG = function e(t, r, n, o
|
|
|
29080
29085
|
}
|
|
29081
29086
|
if (FG(t)) {
|
|
29082
29087
|
var w = [];
|
|
29083
|
-
return Z1 && Z1.call(t, function(
|
|
29084
|
-
w.push(p(q, t, !0) + " => " + p(
|
|
29088
|
+
return Z1 && Z1.call(t, function(U, q) {
|
|
29089
|
+
w.push(p(q, t, !0) + " => " + p(U, t));
|
|
29085
29090
|
}), t_("Map", Lf.call(t), w, d);
|
|
29086
29091
|
}
|
|
29087
29092
|
if (UG(t)) {
|
|
29088
29093
|
var _ = [];
|
|
29089
|
-
return V1 && V1.call(t, function(
|
|
29090
|
-
_.push(p(
|
|
29094
|
+
return V1 && V1.call(t, function(U) {
|
|
29095
|
+
_.push(p(U, t));
|
|
29091
29096
|
}), t_("Set", Ff.call(t), _, d);
|
|
29092
29097
|
}
|
|
29093
29098
|
if (qG(t))
|
|
@@ -29105,8 +29110,8 @@ var Pg = Vy, X1 = Pg.custom, Q1 = zI(X1) ? X1 : null, CG = function e(t, r, n, o
|
|
|
29105
29110
|
if (PG(t))
|
|
29106
29111
|
return cc(p(String(t)));
|
|
29107
29112
|
if (!AG(t) && !e_(t)) {
|
|
29108
|
-
var O = wu(t, p), R = J1 ? J1(t) === Object.prototype : t instanceof Object || t.constructor === Object, I = t instanceof Object ? "" : "null prototype", C = !R && nn && Object(t) === t && nn in t ? ew.call(Di(t), 8, -1) : I ? "Object" : "", D = R || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "",
|
|
29109
|
-
return O.length === 0 ?
|
|
29113
|
+
var O = wu(t, p), R = J1 ? J1(t) === Object.prototype : t instanceof Object || t.constructor === Object, I = t instanceof Object ? "" : "null prototype", C = !R && nn && Object(t) === t && nn in t ? ew.call(Di(t), 8, -1) : I ? "Object" : "", D = R || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", W = D + (C || I ? "[" + vo.call(K1.call([], C || [], I || []), ": ") + "] " : "");
|
|
29114
|
+
return O.length === 0 ? W + "{}" : d ? W + "{" + jg(O, d) + "}" : W + "{ " + vo.call(O, ", ") + " }";
|
|
29110
29115
|
}
|
|
29111
29116
|
return String(t);
|
|
29112
29117
|
};
|
|
@@ -29580,13 +29585,13 @@ var tw = Yb, Vs = bG, KG = CG, GG = tw("%TypeError%"), xu = tw("%WeakMap%", !0),
|
|
|
29580
29585
|
R = l ? I.sort(l) : I;
|
|
29581
29586
|
}
|
|
29582
29587
|
for (var C = o && Bo(g) && g.length === 1 ? r + "[]" : r, D = 0; D < R.length; ++D) {
|
|
29583
|
-
var
|
|
29584
|
-
if (!(a &&
|
|
29585
|
-
var q = Bo(g) ? typeof n == "function" ? n(C,
|
|
29588
|
+
var W = R[D], U = typeof W == "object" && typeof W.value < "u" ? W.value : g[W];
|
|
29589
|
+
if (!(a && U === null)) {
|
|
29590
|
+
var q = Bo(g) ? typeof n == "function" ? n(C, W) : C : C + (u ? "." + W : "[" + W + "]");
|
|
29586
29591
|
m.set(t, b);
|
|
29587
29592
|
var L = KI();
|
|
29588
29593
|
L.set(_m, m), GI(O, e(
|
|
29589
|
-
|
|
29594
|
+
U,
|
|
29590
29595
|
q,
|
|
29591
29596
|
n,
|
|
29592
29597
|
o,
|
|
@@ -30487,22 +30492,22 @@ var Dg = { exports: {} };
|
|
|
30487
30492
|
je.length === 0 ? delete pe[F] : pe[F] = je;
|
|
30488
30493
|
}
|
|
30489
30494
|
};
|
|
30490
|
-
function
|
|
30495
|
+
function W(F) {
|
|
30491
30496
|
this.type = F, this.target = void 0;
|
|
30492
30497
|
}
|
|
30493
|
-
function
|
|
30494
|
-
|
|
30498
|
+
function U(F, ce) {
|
|
30499
|
+
W.call(this, F), this.data = ce.data, this.lastEventId = ce.lastEventId;
|
|
30495
30500
|
}
|
|
30496
|
-
|
|
30501
|
+
U.prototype = Object.create(W.prototype);
|
|
30497
30502
|
function q(F, ce) {
|
|
30498
|
-
|
|
30503
|
+
W.call(this, F), this.status = ce.status, this.statusText = ce.statusText, this.headers = ce.headers;
|
|
30499
30504
|
}
|
|
30500
|
-
q.prototype = Object.create(
|
|
30505
|
+
q.prototype = Object.create(W.prototype);
|
|
30501
30506
|
function L(F, ce) {
|
|
30502
|
-
|
|
30507
|
+
W.call(this, F), this.error = ce.error;
|
|
30503
30508
|
}
|
|
30504
|
-
L.prototype = Object.create(
|
|
30505
|
-
var j = -1,
|
|
30509
|
+
L.prototype = Object.create(W.prototype);
|
|
30510
|
+
var j = -1, z = 0, H = 1, M = 2, E = -1, V = 0, X = 1, T = 2, se = 3, fe = /^text\/event\-stream(;.*)?$/i, de = 1e3, ge = 18e6, _e = function(F, ce) {
|
|
30506
30511
|
var pe = F == null ? ce : parseInt(F, 10);
|
|
30507
30512
|
return pe !== pe && (pe = ce), $e(pe);
|
|
30508
30513
|
}, $e = function(F) {
|
|
@@ -30523,10 +30528,10 @@ var Dg = { exports: {} };
|
|
|
30523
30528
|
var be = d != null && p != null && "body" in p.prototype;
|
|
30524
30529
|
function Ce(F, ce, pe) {
|
|
30525
30530
|
ce = String(ce);
|
|
30526
|
-
var he = !!pe.withCredentials, je = pe.lastEventIdQueryParameterName || "lastEventId", Re = $e(1e3), Be = _e(pe.heartbeatTimeout, 45e3), ct = "", He = Re, K = !1, ie = 0, J = pe.headers || {}, me = pe.Transport, Te = be && me == null ? void 0 : new x(me != null ? new me() : ee()), Ye = me != null && typeof me != "string" ? new me() : Te == null ? new I() : new O(), Ze = void 0, it = 0, $t = j, Jt = "",
|
|
30527
|
-
if ($t ===
|
|
30531
|
+
var he = !!pe.withCredentials, je = pe.lastEventIdQueryParameterName || "lastEventId", Re = $e(1e3), Be = _e(pe.heartbeatTimeout, 45e3), ct = "", He = Re, K = !1, ie = 0, J = pe.headers || {}, me = pe.Transport, Te = be && me == null ? void 0 : new x(me != null ? new me() : ee()), Ye = me != null && typeof me != "string" ? new me() : Te == null ? new I() : new O(), Ze = void 0, it = 0, $t = j, Jt = "", B = "", Y = "", Ue = "", We = V, gt = 0, Ke = 0, lr = function(vt, bt, tr, Xt) {
|
|
30532
|
+
if ($t === z)
|
|
30528
30533
|
if (vt === 200 && tr != null && fe.test(tr)) {
|
|
30529
|
-
$t =
|
|
30534
|
+
$t = H, K = Date.now(), He = Re, F.readyState = H;
|
|
30530
30535
|
var dr = new q("open", {
|
|
30531
30536
|
status: vt,
|
|
30532
30537
|
statusText: bt,
|
|
@@ -30544,7 +30549,7 @@ var Dg = { exports: {} };
|
|
|
30544
30549
|
F.dispatchEvent(dr), ve(F, F.onerror, dr), console.error(Ht);
|
|
30545
30550
|
}
|
|
30546
30551
|
}, _r = function(vt) {
|
|
30547
|
-
if ($t ===
|
|
30552
|
+
if ($t === H) {
|
|
30548
30553
|
for (var bt = -1, tr = 0; tr < vt.length; tr += 1) {
|
|
30549
30554
|
var Xt = vt.charCodeAt(tr);
|
|
30550
30555
|
(Xt === `
|
|
@@ -30563,16 +30568,16 @@ var Dg = { exports: {} };
|
|
|
30563
30568
|
We === X && (Ke = Ht + 1);
|
|
30564
30569
|
var Ar = dr.slice(gt, Ke - 1), Ir = dr.slice(Ke + (Ke < Ht && dr.charCodeAt(Ke) === " ".charCodeAt(0) ? 1 : 0), Ht);
|
|
30565
30570
|
Ar === "data" ? (Jt += `
|
|
30566
|
-
`, Jt += Ir) : Ar === "id" ?
|
|
30571
|
+
`, Jt += Ir) : Ar === "id" ? B = Ir : Ar === "event" ? Y = Ir : Ar === "retry" ? (Re = _e(Ir, Re), He = Re) : Ar === "heartbeatTimeout" && (Be = _e(Ir, Be), it !== 0 && (o(it), it = n(function() {
|
|
30567
30572
|
cn();
|
|
30568
30573
|
}, Be)));
|
|
30569
30574
|
}
|
|
30570
30575
|
if (We === V) {
|
|
30571
30576
|
if (Jt !== "") {
|
|
30572
|
-
ct =
|
|
30573
|
-
var Kr = new
|
|
30577
|
+
ct = B, Y === "" && (Y = "message");
|
|
30578
|
+
var Kr = new U(Y, {
|
|
30574
30579
|
data: Jt.slice(1),
|
|
30575
|
-
lastEventId:
|
|
30580
|
+
lastEventId: B
|
|
30576
30581
|
});
|
|
30577
30582
|
if (F.dispatchEvent(Kr), Y === "open" ? ve(F, F.onopen, Kr) : Y === "message" ? ve(F, F.onmessage, Kr) : Y === "error" && ve(F, F.onerror, Kr), $t === M)
|
|
30578
30583
|
return;
|
|
@@ -30585,10 +30590,10 @@ var Dg = { exports: {} };
|
|
|
30585
30590
|
}
|
|
30586
30591
|
}
|
|
30587
30592
|
}, Yt = function(vt) {
|
|
30588
|
-
if ($t ===
|
|
30593
|
+
if ($t === H || $t === z) {
|
|
30589
30594
|
$t = j, it !== 0 && (o(it), it = 0), it = n(function() {
|
|
30590
30595
|
cn();
|
|
30591
|
-
}, He), He = $e(Math.min(Re * 16, He * 2)), F.readyState =
|
|
30596
|
+
}, He), He = $e(Math.min(Re * 16, He * 2)), F.readyState = z;
|
|
30592
30597
|
var bt = new L("error", { error: vt });
|
|
30593
30598
|
F.dispatchEvent(bt), ve(F, F.onerror, bt), vt != null && console.error(vt);
|
|
30594
30599
|
}
|
|
@@ -30597,7 +30602,7 @@ var Dg = { exports: {} };
|
|
|
30597
30602
|
}, cn = function() {
|
|
30598
30603
|
if (it = 0, $t !== j) {
|
|
30599
30604
|
if (!K && Ze != null)
|
|
30600
|
-
Yt(new Error("No activity within " + Be + " milliseconds. " + ($t ===
|
|
30605
|
+
Yt(new Error("No activity within " + Be + " milliseconds. " + ($t === z ? "No response received." : ie + " chars received.") + " Reconnecting.")), Ze != null && (Ze.abort(), Ze = void 0);
|
|
30601
30606
|
else {
|
|
30602
30607
|
var vt = Math.max((K || Date.now()) + Be - Date.now(), 1);
|
|
30603
30608
|
K = !1, it = n(function() {
|
|
@@ -30608,7 +30613,7 @@ var Dg = { exports: {} };
|
|
|
30608
30613
|
}
|
|
30609
30614
|
K = !1, ie = 0, it = n(function() {
|
|
30610
30615
|
cn();
|
|
30611
|
-
}, Be), $t =
|
|
30616
|
+
}, Be), $t = z, Jt = "", Y = "", B = ct, Ue = "", gt = 0, Ke = 0, We = V;
|
|
30612
30617
|
var bt = ce;
|
|
30613
30618
|
if (ce.slice(0, 5) !== "data:" && ce.slice(0, 5) !== "blob:" && ct !== "") {
|
|
30614
30619
|
var tr = ce.indexOf("?");
|
|
@@ -30628,11 +30633,11 @@ var Dg = { exports: {} };
|
|
|
30628
30633
|
throw ur(), Ir;
|
|
30629
30634
|
}
|
|
30630
30635
|
};
|
|
30631
|
-
F.url = ce, F.readyState =
|
|
30636
|
+
F.url = ce, F.readyState = z, F.withCredentials = he, F.headers = J, F._close = ur, cn();
|
|
30632
30637
|
}
|
|
30633
|
-
ue.prototype = Object.create(C.prototype), ue.prototype.CONNECTING =
|
|
30638
|
+
ue.prototype = Object.create(C.prototype), ue.prototype.CONNECTING = z, ue.prototype.OPEN = H, ue.prototype.CLOSED = M, ue.prototype.close = function() {
|
|
30634
30639
|
this._close();
|
|
30635
|
-
}, ue.CONNECTING =
|
|
30640
|
+
}, ue.CONNECTING = z, ue.OPEN = H, ue.CLOSED = M, ue.prototype.withCredentials = void 0;
|
|
30636
30641
|
var Fe = c;
|
|
30637
30642
|
i != null && (c == null || !("withCredentials" in c.prototype)) && (Fe = ue), function(F) {
|
|
30638
30643
|
{
|
|
@@ -31929,22 +31934,22 @@ function PX() {
|
|
|
31929
31934
|
value: null
|
|
31930
31935
|
}, y.current = m) : m = y.current;
|
|
31931
31936
|
var g = s(function() {
|
|
31932
|
-
var w = !1, _, O, R = function(
|
|
31937
|
+
var w = !1, _, O, R = function(W) {
|
|
31933
31938
|
if (!w) {
|
|
31934
|
-
w = !0, _ =
|
|
31935
|
-
var
|
|
31939
|
+
w = !0, _ = W;
|
|
31940
|
+
var U = f(W);
|
|
31936
31941
|
if (h !== void 0 && m.hasValue) {
|
|
31937
31942
|
var q = m.value;
|
|
31938
|
-
if (h(q,
|
|
31943
|
+
if (h(q, U))
|
|
31939
31944
|
return O = q, q;
|
|
31940
31945
|
}
|
|
31941
|
-
return O =
|
|
31946
|
+
return O = U, U;
|
|
31942
31947
|
}
|
|
31943
31948
|
var L = _, j = O;
|
|
31944
|
-
if (n(L,
|
|
31949
|
+
if (n(L, W))
|
|
31945
31950
|
return j;
|
|
31946
|
-
var
|
|
31947
|
-
return h !== void 0 && h(j,
|
|
31951
|
+
var z = f(W);
|
|
31952
|
+
return h !== void 0 && h(j, z) ? j : (_ = W, O = z, z);
|
|
31948
31953
|
}, I = p === void 0 ? null : p, C = function() {
|
|
31949
31954
|
return R(d());
|
|
31950
31955
|
}, D = I === null ? void 0 : function() {
|
|
@@ -32988,7 +32993,7 @@ function kQ(e, t, r, n, o, i, a, s, c, l, u, d, p, f, h, y, m, g, v) {
|
|
|
32988
32993
|
mouse: 500,
|
|
32989
32994
|
touch: 600
|
|
32990
32995
|
}, D = y ? 43 : 25;
|
|
32991
|
-
let
|
|
32996
|
+
let W = !1, U = 0, q = 0, L = !1, j = !1, z = !1, H = !1;
|
|
32992
32997
|
function M(ue, ee) {
|
|
32993
32998
|
if (!ee)
|
|
32994
32999
|
return;
|
|
@@ -33004,7 +33009,7 @@ function kQ(e, t, r, n, o, i, a, s, c, l, u, d, p, f, h, y, m, g, v) {
|
|
|
33004
33009
|
_.clear(), O.clear();
|
|
33005
33010
|
}
|
|
33006
33011
|
function V() {
|
|
33007
|
-
const ue =
|
|
33012
|
+
const ue = H ? n : r;
|
|
33008
33013
|
O.add(ue, "touchmove", de, w).add(ue, "touchend", ge).add(ue, "mousemove", de, w).add(ue, "mouseup", ge);
|
|
33009
33014
|
}
|
|
33010
33015
|
function X(ue) {
|
|
@@ -33012,7 +33017,7 @@ function kQ(e, t, r, n, o, i, a, s, c, l, u, d, p, f, h, y, m, g, v) {
|
|
|
33012
33017
|
return x.includes(ee);
|
|
33013
33018
|
}
|
|
33014
33019
|
function T() {
|
|
33015
|
-
return (y ? C : I)[
|
|
33020
|
+
return (y ? C : I)[H ? "mouse" : "touch"];
|
|
33016
33021
|
}
|
|
33017
33022
|
function se(ue, ee) {
|
|
33018
33023
|
const be = p.add(sw(ue) * -1), Ce = d.byDistance(ue, !y).distance;
|
|
@@ -33020,21 +33025,21 @@ function kQ(e, t, r, n, o, i, a, s, c, l, u, d, p, f, h, y, m, g, v) {
|
|
|
33020
33025
|
}
|
|
33021
33026
|
function fe(ue) {
|
|
33022
33027
|
const ee = pP(ue, o);
|
|
33023
|
-
|
|
33028
|
+
H = ee, !(ee && ue.button !== 0) && (X(ue.target) || (z = y && ee && !ue.buttons && W, W = dd(i.get(), s.get()) >= 2, L = !0, a.pointerDown(ue), u.useFriction(0).useDuration(0), i.set(s), V(), U = a.readPoint(ue), q = a.readPoint(ue, b), f.emit("pointerDown")));
|
|
33024
33029
|
}
|
|
33025
33030
|
function de(ue) {
|
|
33026
|
-
const ee = a.readPoint(ue), be = a.readPoint(ue, b), Ce = dd(ee,
|
|
33027
|
-
if (!j && !
|
|
33031
|
+
const ee = a.readPoint(ue), be = a.readPoint(ue, b), Ce = dd(ee, U), Fe = dd(be, q);
|
|
33032
|
+
if (!j && !H && (!ue.cancelable || (j = Ce > Fe, !j)))
|
|
33028
33033
|
return ge(ue);
|
|
33029
33034
|
const F = a.pointerMove(ue);
|
|
33030
|
-
Ce > m && (
|
|
33035
|
+
Ce > m && (z = !0), u.useFriction(0.3).useDuration(1), c.start(), i.add(t.apply(F)), ue.preventDefault();
|
|
33031
33036
|
}
|
|
33032
33037
|
function ge(ue) {
|
|
33033
33038
|
const be = d.byDistance(0, !1).index !== p.get(), Ce = a.pointerUp(ue) * T(), Fe = se(t.apply(Ce), be), F = xQ(Ce, Fe), ce = D - 10 * F, pe = v + F / 50;
|
|
33034
|
-
j = !1, L = !1, O.clear(), u.useDuration(ce).useFriction(pe), l.distance(Fe, !y),
|
|
33039
|
+
j = !1, L = !1, O.clear(), u.useDuration(ce).useFriction(pe), l.distance(Fe, !y), H = !1, f.emit("pointerUp");
|
|
33035
33040
|
}
|
|
33036
33041
|
function _e(ue) {
|
|
33037
|
-
|
|
33042
|
+
z && (ue.stopPropagation(), ue.preventDefault());
|
|
33038
33043
|
}
|
|
33039
33044
|
function $e() {
|
|
33040
33045
|
return L;
|
|
@@ -33399,12 +33404,12 @@ function LQ(e, t, r, n, o, i, a, s, c) {
|
|
|
33399
33404
|
function h(w, _) {
|
|
33400
33405
|
const O = _ === "start", R = O ? -n : n, I = a.findSlideBounds([R]);
|
|
33401
33406
|
return w.map((C) => {
|
|
33402
|
-
const D = O ? 0 : -n,
|
|
33407
|
+
const D = O ? 0 : -n, W = O ? n : 0, q = I.filter((L) => L.index === C)[0][O ? "end" : "start"];
|
|
33403
33408
|
return {
|
|
33404
33409
|
index: C,
|
|
33405
33410
|
slideLocation: fd(-1),
|
|
33406
33411
|
translate: mP(e, t, c[C]),
|
|
33407
|
-
target: () => s.get() > q ? D :
|
|
33412
|
+
target: () => s.get() > q ? D : W
|
|
33408
33413
|
};
|
|
33409
33414
|
});
|
|
33410
33415
|
}
|
|
@@ -33567,17 +33572,17 @@ function zQ(e, t, r, n, o, i, a, s) {
|
|
|
33567
33572
|
slidesToScroll: g,
|
|
33568
33573
|
skipSnaps: v,
|
|
33569
33574
|
containScroll: b
|
|
33570
|
-
} = i, x = t.getBoundingClientRect(), w = r.map((pe) => pe.getBoundingClientRect()), _ = EQ(u), O = SQ(l, u), R = O.measureSize(x), I = $Q(R), C = _Q(c, R), D = !f && !!b,
|
|
33571
|
-
slideSizes:
|
|
33575
|
+
} = i, x = t.getBoundingClientRect(), w = r.map((pe) => pe.getBoundingClientRect()), _ = EQ(u), O = SQ(l, u), R = O.measureSize(x), I = $Q(R), C = _Q(c, R), D = !f && !!b, W = f || !!b, {
|
|
33576
|
+
slideSizes: U,
|
|
33572
33577
|
slideSizesWithGaps: q
|
|
33573
|
-
} = BQ(O, x, w, r,
|
|
33578
|
+
} = BQ(O, x, w, r, W, o), L = UQ(R, q, g), {
|
|
33574
33579
|
snaps: j,
|
|
33575
|
-
snapsAligned:
|
|
33576
|
-
} = jQ(O, C, x, w, q, L, D),
|
|
33580
|
+
snapsAligned: z
|
|
33581
|
+
} = jQ(O, C, x, w, q, L, D), H = -Ho(j) + Ho(q), {
|
|
33577
33582
|
snapsContained: M
|
|
33578
|
-
} = AQ(R,
|
|
33583
|
+
} = AQ(R, H, z, b), E = D ? M : z, {
|
|
33579
33584
|
limit: V
|
|
33580
|
-
} = IQ(
|
|
33585
|
+
} = IQ(H, E, f), X = hP(sh(E), d, f), T = X.clone(), se = rl(r), fe = ({
|
|
33581
33586
|
dragHandler: pe,
|
|
33582
33587
|
scrollBody: he,
|
|
33583
33588
|
scrollBounds: je,
|
|
@@ -33609,7 +33614,7 @@ function zQ(e, t, r, n, o, i, a, s) {
|
|
|
33609
33614
|
stop: () => s.stop(ce),
|
|
33610
33615
|
update: () => fe(ce),
|
|
33611
33616
|
render: (pe) => de(ce, pe)
|
|
33612
|
-
}, _e = 0.68, $e = E[X.get()], ve = fd($e), ue = fd($e), ee = fd($e), be = CQ(ve, ee, h, _e), Ce = MQ(f, E,
|
|
33617
|
+
}, _e = 0.68, $e = E[X.get()], ve = fd($e), ue = fd($e), ee = fd($e), be = CQ(ve, ee, h, _e), Ce = MQ(f, E, H, V, ee), Fe = DQ(ge, X, T, Ce, be, ee, a), F = qQ(R, H, U, j, V, f, p), ce = {
|
|
33613
33618
|
ownerDocument: n,
|
|
33614
33619
|
ownerWindow: o,
|
|
33615
33620
|
eventHandler: a,
|
|
@@ -33630,12 +33635,12 @@ function zQ(e, t, r, n, o, i, a, s) {
|
|
|
33630
33635
|
resizeHandler: OQ(t, a, o, r, O),
|
|
33631
33636
|
scrollBody: be,
|
|
33632
33637
|
scrollBounds: RQ(V, ve, ee, be, I),
|
|
33633
|
-
scrollLooper: PQ(
|
|
33638
|
+
scrollLooper: PQ(H, V, ue, [ve, ue, ee]),
|
|
33634
33639
|
scrollProgress: NQ(V),
|
|
33635
33640
|
scrollSnaps: E,
|
|
33636
33641
|
scrollTarget: Ce,
|
|
33637
33642
|
scrollTo: Fe,
|
|
33638
|
-
slideLooper: LQ(O, _, R,
|
|
33643
|
+
slideLooper: LQ(O, _, R, H, q, E, F, ue, r),
|
|
33639
33644
|
slidesHandler: FQ(t, a),
|
|
33640
33645
|
slidesInView: F,
|
|
33641
33646
|
slideIndexes: se,
|
|
@@ -33768,7 +33773,7 @@ function $s(e, t, r) {
|
|
|
33768
33773
|
on: h,
|
|
33769
33774
|
off: y,
|
|
33770
33775
|
emit: m
|
|
33771
|
-
} = l, g =
|
|
33776
|
+
} = l, g = U;
|
|
33772
33777
|
let v = !1, b, x = d(HQ, $s.globalOptions), w = d(x), _ = [], O, R, I;
|
|
33773
33778
|
function C() {
|
|
33774
33779
|
const {
|
|
@@ -33789,19 +33794,19 @@ function $s(e, t, r) {
|
|
|
33789
33794
|
}
|
|
33790
33795
|
return Fe;
|
|
33791
33796
|
}
|
|
33792
|
-
function
|
|
33797
|
+
function W(be, Ce) {
|
|
33793
33798
|
if (v)
|
|
33794
33799
|
return;
|
|
33795
33800
|
const Fe = u.find((ce) => ce.window === o), F = Fe || ZQ(o);
|
|
33796
33801
|
Fe || u.push(F), x = d(x, be), w = p(x), _ = Ce || _, C(), b = D(w, F), f([x, ..._.map(({
|
|
33797
33802
|
options: ce
|
|
33798
|
-
}) => ce)]).forEach((ce) => s.add(ce, "change",
|
|
33803
|
+
}) => ce)]).forEach((ce) => s.add(ce, "change", U)), w.active && (b.translate.to(b.location.get()), b.eventHandler.init(ee), b.resizeHandler.init(ee, w.watchResize), b.slidesHandler.init(ee, w.watchSlides), c.add(n, "visibilitychange", () => {
|
|
33799
33804
|
n.hidden && F.reset();
|
|
33800
33805
|
}), b.options.loop && b.slideLooper.loop(), R.offsetParent && I.length && b.dragHandler.init(ee, w.watchDrag), O = a.init(_, ee));
|
|
33801
33806
|
}
|
|
33802
|
-
function
|
|
33807
|
+
function U(be, Ce) {
|
|
33803
33808
|
const Fe = fe();
|
|
33804
|
-
q(),
|
|
33809
|
+
q(), W(d({
|
|
33805
33810
|
startIndex: Fe
|
|
33806
33811
|
}, be), Ce), l.emit("reInit");
|
|
33807
33812
|
}
|
|
@@ -33815,20 +33820,20 @@ function $s(e, t, r) {
|
|
|
33815
33820
|
const Ce = b[be ? "target" : "location"].get(), Fe = w.loop ? "removeOffset" : "constrain";
|
|
33816
33821
|
return b.slidesInView.check(b.limit[Fe](Ce));
|
|
33817
33822
|
}
|
|
33818
|
-
function
|
|
33823
|
+
function z(be) {
|
|
33819
33824
|
const Ce = j(be);
|
|
33820
33825
|
return b.slideIndexes.filter((Fe) => !Ce.includes(Fe));
|
|
33821
33826
|
}
|
|
33822
|
-
function
|
|
33827
|
+
function H(be, Ce, Fe) {
|
|
33823
33828
|
!w.active || v || (b.scrollBody.useBaseFriction().useDuration(Ce ? 0 : w.duration), b.scrollTo.index(be, Fe || 0));
|
|
33824
33829
|
}
|
|
33825
33830
|
function M(be) {
|
|
33826
33831
|
const Ce = b.index.add(1).get();
|
|
33827
|
-
|
|
33832
|
+
H(Ce, be === !0, -1);
|
|
33828
33833
|
}
|
|
33829
33834
|
function E(be) {
|
|
33830
33835
|
const Ce = b.index.add(-1).get();
|
|
33831
|
-
|
|
33836
|
+
H(Ce, be === !0, 1);
|
|
33832
33837
|
}
|
|
33833
33838
|
function V() {
|
|
33834
33839
|
return b.index.add(1).get() !== fe();
|
|
@@ -33880,13 +33885,13 @@ function $s(e, t, r) {
|
|
|
33880
33885
|
scrollPrev: E,
|
|
33881
33886
|
scrollProgress: se,
|
|
33882
33887
|
scrollSnapList: T,
|
|
33883
|
-
scrollTo:
|
|
33888
|
+
scrollTo: H,
|
|
33884
33889
|
selectedScrollSnap: fe,
|
|
33885
33890
|
slideNodes: ue,
|
|
33886
33891
|
slidesInView: j,
|
|
33887
|
-
slidesNotInView:
|
|
33892
|
+
slidesNotInView: z
|
|
33888
33893
|
};
|
|
33889
|
-
return
|
|
33894
|
+
return W(t, r), setTimeout(() => l.emit("init"), 0), ee;
|
|
33890
33895
|
}
|
|
33891
33896
|
$s.animationRealms = [];
|
|
33892
33897
|
$s.globalOptions = void 0;
|
|
@@ -35033,13 +35038,13 @@ function Jee(e) {
|
|
|
35033
35038
|
strategy: r,
|
|
35034
35039
|
middleware: p
|
|
35035
35040
|
};
|
|
35036
|
-
C.current && (j.platform = C.current), Gee(_.current, O.current, j).then((
|
|
35037
|
-
const
|
|
35038
|
-
...
|
|
35041
|
+
C.current && (j.platform = C.current), Gee(_.current, O.current, j).then((z) => {
|
|
35042
|
+
const H = {
|
|
35043
|
+
...z,
|
|
35039
35044
|
isPositioned: !0
|
|
35040
35045
|
};
|
|
35041
|
-
|
|
35042
|
-
d(
|
|
35046
|
+
W.current && !Hf(R.current, H) && (R.current = H, dD.flushSync(() => {
|
|
35047
|
+
d(H);
|
|
35043
35048
|
}));
|
|
35044
35049
|
});
|
|
35045
35050
|
}, [p, t, r, C]);
|
|
@@ -35049,9 +35054,9 @@ function Jee(e) {
|
|
|
35049
35054
|
isPositioned: !1
|
|
35050
35055
|
})));
|
|
35051
35056
|
}, [l]);
|
|
35052
|
-
const
|
|
35053
|
-
pd(() => (
|
|
35054
|
-
|
|
35057
|
+
const W = N.useRef(!1);
|
|
35058
|
+
pd(() => (W.current = !0, () => {
|
|
35059
|
+
W.current = !1;
|
|
35055
35060
|
}), []), pd(() => {
|
|
35056
35061
|
if (x && (_.current = x), w && (O.current = w), x && w) {
|
|
35057
35062
|
if (I.current)
|
|
@@ -35059,7 +35064,7 @@ function Jee(e) {
|
|
|
35059
35064
|
D();
|
|
35060
35065
|
}
|
|
35061
35066
|
}, [x, w, D, I]);
|
|
35062
|
-
const
|
|
35067
|
+
const U = N.useMemo(() => ({
|
|
35063
35068
|
reference: _,
|
|
35064
35069
|
floating: O,
|
|
35065
35070
|
setReference: v,
|
|
@@ -35075,26 +35080,26 @@ function Jee(e) {
|
|
|
35075
35080
|
};
|
|
35076
35081
|
if (!q.floating)
|
|
35077
35082
|
return j;
|
|
35078
|
-
const
|
|
35083
|
+
const z = k_(q.floating, u.x), H = k_(q.floating, u.y);
|
|
35079
35084
|
return s ? {
|
|
35080
35085
|
...j,
|
|
35081
|
-
transform: "translate(" +
|
|
35086
|
+
transform: "translate(" + z + "px, " + H + "px)",
|
|
35082
35087
|
...AP(q.floating) >= 1.5 && {
|
|
35083
35088
|
willChange: "transform"
|
|
35084
35089
|
}
|
|
35085
35090
|
} : {
|
|
35086
35091
|
position: r,
|
|
35087
|
-
left:
|
|
35088
|
-
top:
|
|
35092
|
+
left: z,
|
|
35093
|
+
top: H
|
|
35089
35094
|
};
|
|
35090
35095
|
}, [r, s, q.floating, u.x, u.y]);
|
|
35091
35096
|
return N.useMemo(() => ({
|
|
35092
35097
|
...u,
|
|
35093
35098
|
update: D,
|
|
35094
|
-
refs:
|
|
35099
|
+
refs: U,
|
|
35095
35100
|
elements: q,
|
|
35096
35101
|
floatingStyles: L
|
|
35097
|
-
}), [u, D,
|
|
35102
|
+
}), [u, D, U, q, L]);
|
|
35098
35103
|
}
|
|
35099
35104
|
/*!
|
|
35100
35105
|
* tabbable 6.2.0
|
|
@@ -35711,19 +35716,19 @@ function Pte(e) {
|
|
|
35711
35716
|
domReference: g,
|
|
35712
35717
|
floating: v
|
|
35713
35718
|
}
|
|
35714
|
-
} = t, b = Ete() ? i : !0, x = _i(o), w = _i(a), _ = _i(s), O = dh(), R = UP(), I = typeof a == "number" && a < 0, C = N.useRef(null), D = N.useRef(null),
|
|
35719
|
+
} = t, b = Ete() ? i : !0, x = _i(o), w = _i(a), _ = _i(s), O = dh(), R = UP(), I = typeof a == "number" && a < 0, C = N.useRef(null), D = N.useRef(null), W = N.useRef(!1), U = N.useRef(null), q = N.useRef(!1), L = R != null, j = g && g.getAttribute("role") === "combobox" && EP(g) && I, z = N.useCallback(function(V) {
|
|
35715
35720
|
return V === void 0 && (V = v), V ? pw(V, yw()) : [];
|
|
35716
|
-
}, [v]),
|
|
35717
|
-
const X =
|
|
35721
|
+
}, [v]), H = N.useCallback((V) => {
|
|
35722
|
+
const X = z(V);
|
|
35718
35723
|
return x.current.map((T) => g && T === "reference" ? g : v && T === "floating" ? v : X).filter(Boolean).flat();
|
|
35719
|
-
}, [g, v, x,
|
|
35724
|
+
}, [g, v, x, z]);
|
|
35720
35725
|
N.useEffect(() => {
|
|
35721
35726
|
if (n || !c)
|
|
35722
35727
|
return;
|
|
35723
35728
|
function V(T) {
|
|
35724
35729
|
if (T.key === "Tab") {
|
|
35725
|
-
vn(v, vi(Kn(v))) &&
|
|
35726
|
-
const se =
|
|
35730
|
+
vn(v, vi(Kn(v))) && z().length === 0 && !j && Zr(T);
|
|
35731
|
+
const se = H(), fe = SP(T);
|
|
35727
35732
|
x.current[0] === "reference" && fe === g && (Zr(T), T.shiftKey ? qo(se[se.length - 1]) : qo(se[1])), x.current[1] === "floating" && fe === v && T.shiftKey && (Zr(T), qo(se[0]));
|
|
35728
35733
|
}
|
|
35729
35734
|
}
|
|
@@ -35731,7 +35736,7 @@ function Pte(e) {
|
|
|
35731
35736
|
return X.addEventListener("keydown", V), () => {
|
|
35732
35737
|
X.removeEventListener("keydown", V);
|
|
35733
35738
|
};
|
|
35734
|
-
}, [n, g, v, c, x, p, j,
|
|
35739
|
+
}, [n, g, v, c, x, p, j, z, H]), N.useEffect(() => {
|
|
35735
35740
|
if (n || !u)
|
|
35736
35741
|
return;
|
|
35737
35742
|
function V() {
|
|
@@ -35750,7 +35755,7 @@ function Pte(e) {
|
|
|
35750
35755
|
return ((ge = de.context) == null ? void 0 : ge.elements.floating) === se || ((_e = de.context) == null ? void 0 : _e.elements.domReference) === se;
|
|
35751
35756
|
})));
|
|
35752
35757
|
se && fe && !q.current && // Fix React 18 Strict Mode returnFocus due to double rendering.
|
|
35753
|
-
se !==
|
|
35758
|
+
se !== U.current && (W.current = !0, h(!1, T));
|
|
35754
35759
|
});
|
|
35755
35760
|
}
|
|
35756
35761
|
if (v && on(g))
|
|
@@ -35773,22 +35778,22 @@ function Pte(e) {
|
|
|
35773
35778
|
return;
|
|
35774
35779
|
const V = Kn(v), X = vi(V);
|
|
35775
35780
|
queueMicrotask(() => {
|
|
35776
|
-
const T =
|
|
35781
|
+
const T = H(v), se = w.current, fe = (typeof se == "number" ? T[se] : se.current) || v, de = vn(v, X);
|
|
35777
35782
|
!I && !de && d && qo(fe, {
|
|
35778
35783
|
preventScroll: fe === v
|
|
35779
35784
|
});
|
|
35780
35785
|
});
|
|
35781
|
-
}, [n, d, v, I,
|
|
35786
|
+
}, [n, d, v, I, H, w]), kr(() => {
|
|
35782
35787
|
if (n || !v)
|
|
35783
35788
|
return;
|
|
35784
35789
|
let V = !1;
|
|
35785
35790
|
const X = Kn(v), T = vi(X), se = m.current;
|
|
35786
|
-
|
|
35791
|
+
U.current = T;
|
|
35787
35792
|
function fe(de) {
|
|
35788
|
-
if (de.type === "escapeKey" && p.domReference.current && (
|
|
35793
|
+
if (de.type === "escapeKey" && p.domReference.current && (U.current = p.domReference.current), ["referencePress", "escapeKey"].includes(de.type))
|
|
35789
35794
|
return;
|
|
35790
35795
|
const ge = de.data.returnFocus;
|
|
35791
|
-
typeof ge == "object" ? (
|
|
35796
|
+
typeof ge == "object" ? (W.current = !1, V = ge.preventScroll) : W.current = !ge;
|
|
35792
35797
|
}
|
|
35793
35798
|
return y.on("dismiss", fe), () => {
|
|
35794
35799
|
y.off("dismiss", fe);
|
|
@@ -35796,8 +35801,8 @@ function Pte(e) {
|
|
|
35796
35801
|
(vn(v, de) || O && ss(O.nodesRef.current, f).some((_e) => {
|
|
35797
35802
|
var $e;
|
|
35798
35803
|
return vn(($e = _e.context) == null ? void 0 : $e.elements.floating, de);
|
|
35799
|
-
}) || se.openEvent && ["click", "mousedown"].includes(se.openEvent.type)) && p.domReference.current && (
|
|
35800
|
-
_.current && on(
|
|
35804
|
+
}) || se.openEvent && ["click", "mousedown"].includes(se.openEvent.type)) && p.domReference.current && (U.current = p.domReference.current), // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
35805
|
+
_.current && on(U.current) && !W.current && qo(U.current, {
|
|
35801
35806
|
// When dismissing nested floating elements, by the time the rAF has
|
|
35802
35807
|
// executed, the menus will all have been unmounted. When they try
|
|
35803
35808
|
// to get focused, the calls get ignored — leaving the root
|
|
@@ -35821,7 +35826,7 @@ function Pte(e) {
|
|
|
35821
35826
|
if (!n && v && typeof MutationObserver == "function" && !I) {
|
|
35822
35827
|
const V = () => {
|
|
35823
35828
|
const T = v.getAttribute("tabindex");
|
|
35824
|
-
x.current.includes("floating") || vi(Kn(v)) !== p.domReference.current &&
|
|
35829
|
+
x.current.includes("floating") || vi(Kn(v)) !== p.domReference.current && z().length === 0 ? T !== "0" && v.setAttribute("tabindex", "0") : T !== "-1" && v.setAttribute("tabindex", "-1");
|
|
35825
35830
|
};
|
|
35826
35831
|
V();
|
|
35827
35832
|
const X = new MutationObserver(V);
|
|
@@ -35833,7 +35838,7 @@ function Pte(e) {
|
|
|
35833
35838
|
X.disconnect();
|
|
35834
35839
|
};
|
|
35835
35840
|
}
|
|
35836
|
-
}, [n, v, p, x,
|
|
35841
|
+
}, [n, v, p, x, z, I]);
|
|
35837
35842
|
function M(V) {
|
|
35838
35843
|
return n || !l || !c ? null : /* @__PURE__ */ N.createElement(Ite, {
|
|
35839
35844
|
ref: V === "start" ? C : D,
|
|
@@ -35846,10 +35851,10 @@ function Pte(e) {
|
|
|
35846
35851
|
ref: R == null ? void 0 : R.beforeInsideRef,
|
|
35847
35852
|
onFocus: (V) => {
|
|
35848
35853
|
if (c) {
|
|
35849
|
-
const T =
|
|
35854
|
+
const T = H();
|
|
35850
35855
|
qo(o[0] === "reference" ? T[0] : T[T.length - 1]);
|
|
35851
35856
|
} else if (R != null && R.preserveTabOrder && R.portalNode)
|
|
35852
|
-
if (
|
|
35857
|
+
if (W.current = !1, Ac(V, R.portalNode)) {
|
|
35853
35858
|
const T = FP() || g;
|
|
35854
35859
|
T == null || T.focus();
|
|
35855
35860
|
} else {
|
|
@@ -35862,9 +35867,9 @@ function Pte(e) {
|
|
|
35862
35867
|
ref: R == null ? void 0 : R.afterInsideRef,
|
|
35863
35868
|
onFocus: (V) => {
|
|
35864
35869
|
if (c)
|
|
35865
|
-
qo(
|
|
35870
|
+
qo(H()[0]);
|
|
35866
35871
|
else if (R != null && R.preserveTabOrder && R.portalNode)
|
|
35867
|
-
if (u && (
|
|
35872
|
+
if (u && (W.current = !0), Ac(V, R.portalNode)) {
|
|
35868
35873
|
const T = qP() || g;
|
|
35869
35874
|
T == null || T.focus();
|
|
35870
35875
|
} else {
|
|
@@ -35977,16 +35982,16 @@ function qte(e, t) {
|
|
|
35977
35982
|
} = Fte(g), I = Si((D) => {
|
|
35978
35983
|
if (!r || !u || !d || D.key !== "Escape")
|
|
35979
35984
|
return;
|
|
35980
|
-
const
|
|
35981
|
-
if (!O && (D.stopPropagation(),
|
|
35982
|
-
let
|
|
35983
|
-
if (
|
|
35985
|
+
const W = v ? ss(v.nodesRef.current, i) : [];
|
|
35986
|
+
if (!O && (D.stopPropagation(), W.length > 0)) {
|
|
35987
|
+
let U = !0;
|
|
35988
|
+
if (W.forEach((q) => {
|
|
35984
35989
|
var L;
|
|
35985
35990
|
if ((L = q.context) != null && L.open && !q.context.dataRef.current.__escapeKeyBubbles) {
|
|
35986
|
-
|
|
35991
|
+
U = !1;
|
|
35987
35992
|
return;
|
|
35988
35993
|
}
|
|
35989
|
-
}), !
|
|
35994
|
+
}), !U)
|
|
35990
35995
|
return;
|
|
35991
35996
|
}
|
|
35992
35997
|
o.emit("dismiss", {
|
|
@@ -35998,38 +36003,38 @@ function qte(e, t) {
|
|
|
35998
36003
|
}
|
|
35999
36004
|
}), n(!1, kee(D) ? D.nativeEvent : D);
|
|
36000
36005
|
}), C = Si((D) => {
|
|
36001
|
-
const
|
|
36002
|
-
if (_.current = !1,
|
|
36006
|
+
const W = _.current;
|
|
36007
|
+
if (_.current = !1, W || typeof w == "function" && !w(D))
|
|
36003
36008
|
return;
|
|
36004
|
-
const
|
|
36005
|
-
let j = hr(
|
|
36009
|
+
const U = SP(D), q = "[" + il("inert") + "]", L = Kn(c).querySelectorAll(q);
|
|
36010
|
+
let j = hr(U) ? U : null;
|
|
36006
36011
|
for (; j && !Ul(j); ) {
|
|
36007
36012
|
const M = ya(j);
|
|
36008
36013
|
if (M === Kn(c).body || !hr(M))
|
|
36009
36014
|
break;
|
|
36010
36015
|
j = M;
|
|
36011
36016
|
}
|
|
36012
|
-
if (L.length && hr(
|
|
36013
|
-
!vn(
|
|
36017
|
+
if (L.length && hr(U) && !Tee(U) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
|
|
36018
|
+
!vn(U, c) && // If the target root element contains none of the markers, then the
|
|
36014
36019
|
// element was injected after the floating element rendered.
|
|
36015
36020
|
Array.from(L).every((M) => !vn(j, M)))
|
|
36016
36021
|
return;
|
|
36017
|
-
if (on(
|
|
36018
|
-
const M =
|
|
36019
|
-
let V = E && D.offsetX >
|
|
36020
|
-
if (E && An(
|
|
36022
|
+
if (on(U) && c) {
|
|
36023
|
+
const M = U.clientWidth > 0 && U.scrollWidth > U.clientWidth, E = U.clientHeight > 0 && U.scrollHeight > U.clientHeight;
|
|
36024
|
+
let V = E && D.offsetX > U.clientWidth;
|
|
36025
|
+
if (E && An(U).direction === "rtl" && (V = D.offsetX <= U.offsetWidth - U.clientWidth), V || M && D.offsetY > U.clientHeight)
|
|
36021
36026
|
return;
|
|
36022
36027
|
}
|
|
36023
|
-
const
|
|
36028
|
+
const z = v && ss(v.nodesRef.current, i).some((M) => {
|
|
36024
36029
|
var E;
|
|
36025
36030
|
return Om(D, (E = M.context) == null ? void 0 : E.elements.floating);
|
|
36026
36031
|
});
|
|
36027
|
-
if (Om(D, c) || Om(D, s) ||
|
|
36032
|
+
if (Om(D, c) || Om(D, s) || z)
|
|
36028
36033
|
return;
|
|
36029
|
-
const
|
|
36030
|
-
if (
|
|
36034
|
+
const H = v ? ss(v.nodesRef.current, i) : [];
|
|
36035
|
+
if (H.length > 0) {
|
|
36031
36036
|
let M = !0;
|
|
36032
|
-
if (
|
|
36037
|
+
if (H.forEach((E) => {
|
|
36033
36038
|
var V;
|
|
36034
36039
|
if ((V = E.context) != null && V.open && !E.context.dataRef.current.__outsidePressBubbles) {
|
|
36035
36040
|
M = !1;
|
|
@@ -36054,18 +36059,18 @@ function qte(e, t) {
|
|
|
36054
36059
|
function D(q) {
|
|
36055
36060
|
n(!1, q);
|
|
36056
36061
|
}
|
|
36057
|
-
const
|
|
36058
|
-
d &&
|
|
36059
|
-
let
|
|
36060
|
-
return m && (hr(s) && (
|
|
36062
|
+
const W = Kn(c);
|
|
36063
|
+
d && W.addEventListener("keydown", I), w && W.addEventListener(f, C);
|
|
36064
|
+
let U = [];
|
|
36065
|
+
return m && (hr(s) && (U = xi(s)), hr(c) && (U = U.concat(xi(c))), !hr(a) && a && a.contextElement && (U = U.concat(xi(a.contextElement)))), U = U.filter((q) => {
|
|
36061
36066
|
var L;
|
|
36062
|
-
return q !== ((L =
|
|
36063
|
-
}),
|
|
36067
|
+
return q !== ((L = W.defaultView) == null ? void 0 : L.visualViewport);
|
|
36068
|
+
}), U.forEach((q) => {
|
|
36064
36069
|
q.addEventListener("scroll", D, {
|
|
36065
36070
|
passive: !0
|
|
36066
36071
|
});
|
|
36067
36072
|
}), () => {
|
|
36068
|
-
d &&
|
|
36073
|
+
d && W.removeEventListener("keydown", I), w && W.removeEventListener(f, C), U.forEach((q) => {
|
|
36069
36074
|
q.removeEventListener("scroll", D);
|
|
36070
36075
|
});
|
|
36071
36076
|
};
|
|
@@ -36256,7 +36261,7 @@ function Zte(e, t) {
|
|
|
36256
36261
|
virtualItemRef: R
|
|
36257
36262
|
} = t;
|
|
36258
36263
|
process.env.NODE_ENV !== "production" && (p && (f || console.warn(["Floating UI: `useListNavigation` looping must be enabled to allow", "escaping."].join(" ")), m || console.warn(["Floating UI: `useListNavigation` must be virtual to allow", "escaping."].join(" "))), w === "vertical" && _ > 1 && console.warn(["Floating UI: In grid list navigation mode (`cols` > 1), the", '`orientation` should be either "horizontal" or "both".'].join(" ")));
|
|
36259
|
-
const I = MP(), C = dh(), D = Si(l),
|
|
36264
|
+
const I = MP(), C = dh(), D = Si(l), W = N.useRef(g), U = N.useRef(d ?? -1), q = N.useRef(null), L = N.useRef(!0), j = N.useRef(D), z = N.useRef(!!a), H = N.useRef(!1), M = N.useRef(!1), E = _i(x), V = _i(r), X = _i(O), [T, se] = N.useState(), [fe, de] = N.useState(), ge = Si(function(ve, ue, ee) {
|
|
36260
36265
|
ee === void 0 && (ee = !1);
|
|
36261
36266
|
const be = ve.current[ue.current];
|
|
36262
36267
|
be && (m ? (se(be.id), C == null || C.events.emit("virtualfocus", be), R && (R.current = be)) : qo(be, {
|
|
@@ -36269,7 +36274,7 @@ function Zte(e, t) {
|
|
|
36269
36274
|
// subsequent calls. `preventScroll` is supported in modern Safari,
|
|
36270
36275
|
// so we can use that instead.
|
|
36271
36276
|
// iOS Safari must be async or the first item will not be focused.
|
|
36272
|
-
sync: Eee() && _P() ? M_ ||
|
|
36277
|
+
sync: Eee() && _P() ? M_ || H.current : !1
|
|
36273
36278
|
}), requestAnimationFrame(() => {
|
|
36274
36279
|
const Ce = X.current;
|
|
36275
36280
|
Ce && be && (ee || !L.current) && (be.scrollIntoView == null || be.scrollIntoView(typeof Ce == "boolean" ? {
|
|
@@ -36285,24 +36290,24 @@ function Zte(e, t) {
|
|
|
36285
36290
|
}
|
|
36286
36291
|
});
|
|
36287
36292
|
}, []), kr(() => {
|
|
36288
|
-
u && (r && a ?
|
|
36293
|
+
u && (r && a ? W.current && d != null && (M.current = !0, D(d)) : z.current && (U.current = -1, j.current(null)));
|
|
36289
36294
|
}, [u, r, a, d, D]), kr(() => {
|
|
36290
36295
|
if (u && r && a)
|
|
36291
36296
|
if (c == null) {
|
|
36292
|
-
if (
|
|
36297
|
+
if (H.current = !1, d != null)
|
|
36293
36298
|
return;
|
|
36294
|
-
if (
|
|
36299
|
+
if (z.current && (U.current = -1, ge(s, U)), !z.current && W.current && (q.current != null || W.current === !0 && q.current == null)) {
|
|
36295
36300
|
let ve = 0;
|
|
36296
36301
|
const ue = () => {
|
|
36297
|
-
s.current[0] == null ? (ve < 2 && (ve ? requestAnimationFrame : queueMicrotask)(ue), ve++) : (
|
|
36302
|
+
s.current[0] == null ? (ve < 2 && (ve ? requestAnimationFrame : queueMicrotask)(ue), ve++) : (U.current = q.current == null || Pm(q.current, w, y) || h ? Cm(s, E.current) : C_(s, E.current), q.current = null, D(U.current));
|
|
36298
36303
|
};
|
|
36299
36304
|
ue();
|
|
36300
36305
|
}
|
|
36301
36306
|
} else
|
|
36302
|
-
Rc(s, c) || (
|
|
36307
|
+
Rc(s, c) || (U.current = c, ge(s, U, M.current), M.current = !1);
|
|
36303
36308
|
}, [u, r, a, c, d, h, s, w, y, D, ge, E]), kr(() => {
|
|
36304
36309
|
var ve, ue;
|
|
36305
|
-
if (!u || a || !C || m || !
|
|
36310
|
+
if (!u || a || !C || m || !z.current)
|
|
36306
36311
|
return;
|
|
36307
36312
|
const ee = C.nodesRef.current, be = (ve = ee.find((F) => F.id === I)) == null || (ue = ve.context) == null ? void 0 : ue.elements.floating, Ce = vi(Kn(a)), Fe = ee.some((F) => F.context && vn(F.context.elements.floating, Ce));
|
|
36308
36313
|
be && !Fe && L.current && be.focus({
|
|
@@ -36318,7 +36323,7 @@ function Zte(e, t) {
|
|
|
36318
36323
|
C.events.off("virtualfocus", ve);
|
|
36319
36324
|
};
|
|
36320
36325
|
}, [u, C, m, I, R]), kr(() => {
|
|
36321
|
-
j.current = D,
|
|
36326
|
+
j.current = D, z.current = !!a;
|
|
36322
36327
|
}), kr(() => {
|
|
36323
36328
|
r || (q.current = null);
|
|
36324
36329
|
}, [r]);
|
|
@@ -36356,7 +36361,7 @@ function Zte(e, t) {
|
|
|
36356
36361
|
let {
|
|
36357
36362
|
pointerType: be
|
|
36358
36363
|
} = ee;
|
|
36359
|
-
!L.current || be === "touch" || (
|
|
36364
|
+
!L.current || be === "touch" || (U.current = -1, ge(s, U), D(null), m || qo(o.floating.current, {
|
|
36360
36365
|
preventScroll: !0
|
|
36361
36366
|
}));
|
|
36362
36367
|
}
|
|
@@ -36368,14 +36373,14 @@ function Zte(e, t) {
|
|
|
36368
36373
|
return {};
|
|
36369
36374
|
const ve = E.current;
|
|
36370
36375
|
function ue(F) {
|
|
36371
|
-
if (L.current = !1,
|
|
36376
|
+
if (L.current = !1, H.current = !0, !V.current && F.currentTarget === o.floating.current)
|
|
36372
36377
|
return;
|
|
36373
36378
|
if (h && L_(F.key, w, y)) {
|
|
36374
36379
|
Zr(F), n(!1, F.nativeEvent), on(i) && !m && i.focus();
|
|
36375
36380
|
return;
|
|
36376
36381
|
}
|
|
36377
|
-
const ce =
|
|
36378
|
-
if (F.key === "Home" && (Zr(F),
|
|
36382
|
+
const ce = U.current, pe = Cm(s, ve), he = C_(s, ve);
|
|
36383
|
+
if (F.key === "Home" && (Zr(F), U.current = pe, D(U.current)), F.key === "End" && (Zr(F), U.current = he, D(U.current)), !(_ > 1 && (U.current = mte(s, {
|
|
36379
36384
|
event: F,
|
|
36380
36385
|
orientation: w,
|
|
36381
36386
|
loop: f,
|
|
@@ -36383,35 +36388,35 @@ function Zte(e, t) {
|
|
|
36383
36388
|
disabledIndices: ve,
|
|
36384
36389
|
minIndex: pe,
|
|
36385
36390
|
maxIndex: he,
|
|
36386
|
-
prevIndex:
|
|
36391
|
+
prevIndex: U.current,
|
|
36387
36392
|
stopEvent: !0
|
|
36388
|
-
}), D(
|
|
36393
|
+
}), D(U.current), w === "both")) && D_(F.key, w)) {
|
|
36389
36394
|
if (Zr(F), r && !m && vi(F.currentTarget.ownerDocument) === F.currentTarget) {
|
|
36390
|
-
|
|
36395
|
+
U.current = Pm(F.key, w, y) ? pe : he, D(U.current);
|
|
36391
36396
|
return;
|
|
36392
36397
|
}
|
|
36393
|
-
Pm(F.key, w, y) ? f ?
|
|
36398
|
+
Pm(F.key, w, y) ? f ? U.current = ce >= he ? p && ce !== s.current.length ? -1 : pe : Xr(s, {
|
|
36394
36399
|
startingIndex: ce,
|
|
36395
36400
|
disabledIndices: ve
|
|
36396
|
-
}) :
|
|
36401
|
+
}) : U.current = Math.min(he, Xr(s, {
|
|
36397
36402
|
startingIndex: ce,
|
|
36398
36403
|
disabledIndices: ve
|
|
36399
|
-
})) : f ?
|
|
36404
|
+
})) : f ? U.current = ce <= pe ? p && ce !== -1 ? s.current.length : he : Xr(s, {
|
|
36400
36405
|
startingIndex: ce,
|
|
36401
36406
|
decrement: !0,
|
|
36402
36407
|
disabledIndices: ve
|
|
36403
|
-
}) :
|
|
36408
|
+
}) : U.current = Math.max(pe, Xr(s, {
|
|
36404
36409
|
startingIndex: ce,
|
|
36405
36410
|
decrement: !0,
|
|
36406
36411
|
disabledIndices: ve
|
|
36407
|
-
})), Rc(s,
|
|
36412
|
+
})), Rc(s, U.current) ? D(null) : D(U.current);
|
|
36408
36413
|
}
|
|
36409
36414
|
}
|
|
36410
36415
|
function ee(F) {
|
|
36411
|
-
g === "auto" && wP(F.nativeEvent) && (
|
|
36416
|
+
g === "auto" && wP(F.nativeEvent) && (W.current = !0);
|
|
36412
36417
|
}
|
|
36413
36418
|
function be(F) {
|
|
36414
|
-
|
|
36419
|
+
W.current = g, g === "auto" && xP(F.nativeEvent) && (W.current = !0);
|
|
36415
36420
|
}
|
|
36416
36421
|
const Ce = m && r && _e && {
|
|
36417
36422
|
"aria-activedescendant": fe || T
|
|
@@ -36444,10 +36449,10 @@ function Zte(e, t) {
|
|
|
36444
36449
|
}
|
|
36445
36450
|
if (!(!r && !b && ce)) {
|
|
36446
36451
|
if (Re && (q.current = h && je ? null : F.key), h) {
|
|
36447
|
-
pe && (Zr(F), r ? (
|
|
36452
|
+
pe && (Zr(F), r ? (U.current = Cm(s, ve), D(U.current)) : n(!0, F.nativeEvent));
|
|
36448
36453
|
return;
|
|
36449
36454
|
}
|
|
36450
|
-
je && (d != null && (
|
|
36455
|
+
je && (d != null && (U.current = d), Zr(F), !r && b ? n(!0, F.nativeEvent) : ue(F), r && D(U.current));
|
|
36451
36456
|
}
|
|
36452
36457
|
},
|
|
36453
36458
|
onFocus() {
|
|
@@ -36539,8 +36544,8 @@ function Hte(e, t) {
|
|
|
36539
36544
|
I ? o.current.typing || (o.current.typing = I, b(I)) : o.current.typing && (o.current.typing = I, b(I));
|
|
36540
36545
|
}
|
|
36541
36546
|
function O(I, C, D) {
|
|
36542
|
-
const
|
|
36543
|
-
return
|
|
36547
|
+
const W = x.current ? x.current(C, D) : C.find((U) => (U == null ? void 0 : U.toLocaleLowerCase().indexOf(D.toLocaleLowerCase())) === 0);
|
|
36548
|
+
return W ? I.indexOf(W) : -1;
|
|
36544
36549
|
}
|
|
36545
36550
|
function R(I) {
|
|
36546
36551
|
const C = i.current;
|
|
@@ -36554,8 +36559,8 @@ function Hte(e, t) {
|
|
|
36554
36559
|
}) && y.current === I.key && (y.current = "", m.current = g.current), y.current += I.key, clearTimeout(h.current), h.current = setTimeout(() => {
|
|
36555
36560
|
y.current = "", m.current = g.current, _(!1);
|
|
36556
36561
|
}, d);
|
|
36557
|
-
const
|
|
36558
|
-
|
|
36562
|
+
const W = m.current, U = O(C, [...C.slice((W || 0) + 1), ...C.slice(0, (W || 0) + 1)], y.current);
|
|
36563
|
+
U !== -1 ? (v(U), g.current = U) : I.key !== " " && (y.current = "", _(!1));
|
|
36559
36564
|
}
|
|
36560
36565
|
return {
|
|
36561
36566
|
reference: {
|
|
@@ -36571,7 +36576,7 @@ function Hte(e, t) {
|
|
|
36571
36576
|
}, [l, n, o, i, d, w, x, v, b]);
|
|
36572
36577
|
}
|
|
36573
36578
|
const Wte = ({ options: e, label: t, reusable: r }) => {
|
|
36574
|
-
var j,
|
|
36579
|
+
var j, z, H, M, E;
|
|
36575
36580
|
const n = pt((V) => V.sendTextMessage), o = pt((V) => V.messageContainerRef), i = pt((V) => V.isReadOnly), [a, s] = N.useState(!1), [c, l] = N.useState(null), [u, d] = N.useState(null), {
|
|
36576
36581
|
message: {
|
|
36577
36582
|
blocks: { dropdown: p }
|
|
@@ -36618,7 +36623,7 @@ const Wte = ({ options: e, label: t, reusable: r }) => {
|
|
|
36618
36623
|
onTypingChange(V) {
|
|
36619
36624
|
w.current = V;
|
|
36620
36625
|
}
|
|
36621
|
-
}), { getReferenceProps: D, getFloatingProps:
|
|
36626
|
+
}), { getReferenceProps: D, getFloatingProps: W, getItemProps: U } = Ute([
|
|
36622
36627
|
O,
|
|
36623
36628
|
R,
|
|
36624
36629
|
I,
|
|
@@ -36639,8 +36644,8 @@ const Wte = ({ options: e, label: t, reusable: r }) => {
|
|
|
36639
36644
|
...(j = p.button) == null ? void 0 : j.container,
|
|
36640
36645
|
...D(),
|
|
36641
36646
|
children: [
|
|
36642
|
-
/* @__PURE__ */ G.jsx("span", { ...(
|
|
36643
|
-
/* @__PURE__ */ G.jsx(cQ, { ...(
|
|
36647
|
+
/* @__PURE__ */ G.jsx("span", { ...(z = p.button) == null ? void 0 : z.text, children: L || t || "Select..." }),
|
|
36648
|
+
/* @__PURE__ */ G.jsx(cQ, { ...(H = p.button) == null ? void 0 : H.icon })
|
|
36644
36649
|
]
|
|
36645
36650
|
}
|
|
36646
36651
|
),
|
|
@@ -36650,7 +36655,7 @@ const Wte = ({ options: e, label: t, reusable: r }) => {
|
|
|
36650
36655
|
ref: m.setFloating,
|
|
36651
36656
|
className: (E = (M = p.content) == null ? void 0 : M.container) == null ? void 0 : E.className,
|
|
36652
36657
|
style: { ...g },
|
|
36653
|
-
...
|
|
36658
|
+
...W(),
|
|
36654
36659
|
children: h.map((V, X) => {
|
|
36655
36660
|
var T;
|
|
36656
36661
|
return /* @__PURE__ */ G.jsx(
|
|
@@ -36664,7 +36669,7 @@ const Wte = ({ options: e, label: t, reusable: r }) => {
|
|
|
36664
36669
|
"aria-selected": X === u && X === c,
|
|
36665
36670
|
"data-active": X === c ? "" : void 0,
|
|
36666
36671
|
...(T = p.content) == null ? void 0 : T.item,
|
|
36667
|
-
...
|
|
36672
|
+
...U({
|
|
36668
36673
|
onClick() {
|
|
36669
36674
|
i || q(X);
|
|
36670
36675
|
},
|
|
@@ -36761,13 +36766,13 @@ const ere = /* @__PURE__ */ N.forwardRef(Qte), tre = ere, rre = cp(
|
|
|
36761
36766
|
const I = (C = R.target.files) == null ? void 0 : C[0];
|
|
36762
36767
|
if (I)
|
|
36763
36768
|
try {
|
|
36764
|
-
const { fileUrl: D, type:
|
|
36769
|
+
const { fileUrl: D, type: W } = await s(I) ?? "";
|
|
36765
36770
|
c({
|
|
36766
36771
|
direction: "outgoing",
|
|
36767
36772
|
sender: { name: "You" },
|
|
36768
36773
|
timestamp: /* @__PURE__ */ new Date(),
|
|
36769
36774
|
disableInput: !1,
|
|
36770
|
-
block: { type:
|
|
36775
|
+
block: { type: W, url: D }
|
|
36771
36776
|
});
|
|
36772
36777
|
} catch (D) {
|
|
36773
36778
|
console.error("Error sending file:", D);
|
|
@@ -38264,7 +38269,7 @@ const Bne = Mne, Une = Fne, zne = (e) => /* @__PURE__ */ N.createElement("svg",
|
|
|
38264
38269
|
}, lc = ({ icon: e, title: t, link: r, ...n }) => {
|
|
38265
38270
|
var a, s, c, l, u, d, p, f, h, y, m, g;
|
|
38266
38271
|
const { header: o } = er, i = e ?? zne;
|
|
38267
|
-
return
|
|
38272
|
+
return t ? r ? /* @__PURE__ */ G.jsxs(
|
|
38268
38273
|
"a",
|
|
38269
38274
|
{
|
|
38270
38275
|
...n,
|
|
@@ -38280,10 +38285,10 @@ const Bne = Mne, Une = Fne, zne = (e) => /* @__PURE__ */ N.createElement("svg",
|
|
|
38280
38285
|
) : /* @__PURE__ */ G.jsxs("div", { ...n, ...(f = (p = o.expandedContent) == null ? void 0 : p.descriptionItems) == null ? void 0 : f.container, children: [
|
|
38281
38286
|
/* @__PURE__ */ G.jsx(i, { ...(y = (h = o.expandedContent) == null ? void 0 : h.descriptionItems) == null ? void 0 : y.icon }),
|
|
38282
38287
|
/* @__PURE__ */ G.jsx("p", { ...(g = (m = o.expandedContent) == null ? void 0 : m.descriptionItems) == null ? void 0 : g.text, children: t })
|
|
38283
|
-
] });
|
|
38288
|
+
] }) : null;
|
|
38284
38289
|
}, Hne = ({ defaultOpen: e, disabled: t, onOpenChange: r, ...n }) => {
|
|
38285
|
-
var p, f, h, y, m, g, v, b, x, w, _, O, R, I, C, D,
|
|
38286
|
-
const { header: o } = er, i = pt((
|
|
38290
|
+
var p, f, h, y, m, g, v, b, x, w, _, O, R, I, C, D, W, U, q, L, j, z;
|
|
38291
|
+
const { header: o } = er, i = pt((H) => H.configuration), a = pt((H) => H.closeWindow), s = pt((H) => H.getClientId)(), c = pt((H) => !H.disableRestartConversation), [l, u] = _t(!!e), d = !!((p = i.email) != null && p.title) || !!((f = i.phone) != null && f.title) || !!((h = i.website) != null && h.title) || !!((y = i.termsOfService) != null && y.link) || !!((m = i.privacyPolicy) != null && m.link);
|
|
38287
38292
|
return /* @__PURE__ */ G.jsxs(
|
|
38288
38293
|
Bne,
|
|
38289
38294
|
{
|
|
@@ -38310,7 +38315,7 @@ const Bne = Mne, Une = Fne, zne = (e) => /* @__PURE__ */ N.createElement("svg",
|
|
|
38310
38315
|
"data-email": "",
|
|
38311
38316
|
icon: aee,
|
|
38312
38317
|
title: (g = i.email) == null ? void 0 : g.title,
|
|
38313
|
-
link: (b = (v = i.email) == null ? void 0 : v.link) != null && b.startsWith("mailto:") ? (x = i.email) == null ? void 0 : x.link :
|
|
38318
|
+
link: (b = (v = i.email) == null ? void 0 : v.link) != null && b.startsWith("mailto:") ? (x = i.email) == null ? void 0 : x.link : `mailto:${(w = i.email) == null ? void 0 : w.link}`
|
|
38314
38319
|
}
|
|
38315
38320
|
),
|
|
38316
38321
|
/* @__PURE__ */ G.jsx(
|
|
@@ -38319,36 +38324,36 @@ const Bne = Mne, Une = Fne, zne = (e) => /* @__PURE__ */ N.createElement("svg",
|
|
|
38319
38324
|
"data-phone": "",
|
|
38320
38325
|
icon: mee,
|
|
38321
38326
|
title: (_ = i.phone) == null ? void 0 : _.title,
|
|
38322
|
-
link: (R = (O = i.phone) == null ? void 0 : O.link) != null && R.startsWith("tel:") ? (I = i.phone) == null ? void 0 : I.link :
|
|
38327
|
+
link: (R = (O = i.phone) == null ? void 0 : O.link) != null && R.startsWith("tel:") ? (I = i.phone) == null ? void 0 : I.link : `tel:${(C = i.phone) == null ? void 0 : C.link}`
|
|
38323
38328
|
}
|
|
38324
38329
|
),
|
|
38325
38330
|
/* @__PURE__ */ G.jsx(
|
|
38326
38331
|
lc,
|
|
38327
38332
|
{
|
|
38328
38333
|
"data-website": "",
|
|
38329
|
-
link: (
|
|
38334
|
+
link: (D = i.website) == null ? void 0 : D.link,
|
|
38330
38335
|
icon: lee,
|
|
38331
|
-
title: (
|
|
38336
|
+
title: (W = i.website) == null ? void 0 : W.title
|
|
38332
38337
|
}
|
|
38333
38338
|
)
|
|
38334
38339
|
] }),
|
|
38335
|
-
/* @__PURE__ */ G.jsxs("div", { "data-legal": "", ...(
|
|
38340
|
+
/* @__PURE__ */ G.jsxs("div", { "data-legal": "", ...(U = o.expandedContent) == null ? void 0 : U.group, children: [
|
|
38336
38341
|
/* @__PURE__ */ G.jsx(
|
|
38337
38342
|
lc,
|
|
38338
38343
|
{
|
|
38339
38344
|
"data-terms": "",
|
|
38340
|
-
link: (
|
|
38345
|
+
link: (q = i.termsOfService) == null ? void 0 : q.link,
|
|
38341
38346
|
icon: nee,
|
|
38342
|
-
title: (
|
|
38347
|
+
title: (L = i.termsOfService) == null ? void 0 : L.title
|
|
38343
38348
|
}
|
|
38344
38349
|
),
|
|
38345
38350
|
/* @__PURE__ */ G.jsx(
|
|
38346
38351
|
lc,
|
|
38347
38352
|
{
|
|
38348
38353
|
"data-privacy": "",
|
|
38349
|
-
link: (
|
|
38354
|
+
link: (j = i.privacyPolicy) == null ? void 0 : j.link,
|
|
38350
38355
|
icon: fee,
|
|
38351
|
-
title: (
|
|
38356
|
+
title: (z = i.privacyPolicy) == null ? void 0 : z.title
|
|
38352
38357
|
}
|
|
38353
38358
|
)
|
|
38354
38359
|
] })
|
|
@@ -39746,9 +39751,9 @@ function Vpe() {
|
|
|
39746
39751
|
}
|
|
39747
39752
|
}
|
|
39748
39753
|
}
|
|
39749
|
-
var w = c, _ = l, O = s, R = a, I = t, C = u, D = n,
|
|
39754
|
+
var w = c, _ = l, O = s, R = a, I = t, C = u, D = n, W = h, U = f, q = r, L = i, j = o, z = d, H = !1;
|
|
39750
39755
|
function M(ee) {
|
|
39751
|
-
return
|
|
39756
|
+
return H || (H = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), E(ee) || x(ee) === c;
|
|
39752
39757
|
}
|
|
39753
39758
|
function E(ee) {
|
|
39754
39759
|
return x(ee) === l;
|
|
@@ -39786,7 +39791,7 @@ function Vpe() {
|
|
|
39786
39791
|
function ue(ee) {
|
|
39787
39792
|
return x(ee) === d;
|
|
39788
39793
|
}
|
|
39789
|
-
Bt.AsyncMode = w, Bt.ConcurrentMode = _, Bt.ContextConsumer = O, Bt.ContextProvider = R, Bt.Element = I, Bt.ForwardRef = C, Bt.Fragment = D, Bt.Lazy =
|
|
39794
|
+
Bt.AsyncMode = w, Bt.ConcurrentMode = _, Bt.ContextConsumer = O, Bt.ContextProvider = R, Bt.Element = I, Bt.ForwardRef = C, Bt.Fragment = D, Bt.Lazy = W, Bt.Memo = U, Bt.Portal = q, Bt.Profiler = L, Bt.StrictMode = j, Bt.Suspense = z, Bt.isAsyncMode = M, Bt.isConcurrentMode = E, Bt.isContextConsumer = V, Bt.isContextProvider = X, Bt.isElement = T, Bt.isForwardRef = se, Bt.isFragment = fe, Bt.isLazy = de, Bt.isMemo = ge, Bt.isPortal = _e, Bt.isProfiler = $e, Bt.isStrictMode = ve, Bt.isSuspense = ue, Bt.isValidElementType = b, Bt.typeOf = x;
|
|
39790
39795
|
}()), Bt;
|
|
39791
39796
|
}
|
|
39792
39797
|
var xE;
|
|
@@ -39946,7 +39951,7 @@ function Kpe() {
|
|
|
39946
39951
|
oneOf: O,
|
|
39947
39952
|
oneOfType: I,
|
|
39948
39953
|
shape: D,
|
|
39949
|
-
exact:
|
|
39954
|
+
exact: W
|
|
39950
39955
|
};
|
|
39951
39956
|
function h(M, E) {
|
|
39952
39957
|
return M === E ? M !== 0 || 1 / M === 1 / E : M !== M && E !== E;
|
|
@@ -40035,7 +40040,7 @@ function Kpe() {
|
|
|
40035
40040
|
function _(M) {
|
|
40036
40041
|
function E(V, X, T, se, fe) {
|
|
40037
40042
|
if (!(V[X] instanceof M)) {
|
|
40038
|
-
var de = M.name || p, ge =
|
|
40043
|
+
var de = M.name || p, ge = H(V[X]);
|
|
40039
40044
|
return new y("Invalid " + se + " `" + fe + "` of type " + ("`" + ge + "` supplied to `" + T + "`, expected ") + ("instance of `" + de + "`."));
|
|
40040
40045
|
}
|
|
40041
40046
|
return null;
|
|
@@ -40083,7 +40088,7 @@ function Kpe() {
|
|
|
40083
40088
|
var V = M[E];
|
|
40084
40089
|
if (typeof V != "function")
|
|
40085
40090
|
return i(
|
|
40086
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
40091
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(V) + " at index " + E + "."
|
|
40087
40092
|
), a;
|
|
40088
40093
|
}
|
|
40089
40094
|
function X(T, se, fe, de, ge) {
|
|
@@ -40098,7 +40103,7 @@ function Kpe() {
|
|
|
40098
40103
|
}
|
|
40099
40104
|
function C() {
|
|
40100
40105
|
function M(E, V, X, T, se) {
|
|
40101
|
-
return
|
|
40106
|
+
return U(E[V]) ? null : new y("Invalid " + T + " `" + se + "` supplied to " + ("`" + X + "`, expected a ReactNode."));
|
|
40102
40107
|
}
|
|
40103
40108
|
return m(M);
|
|
40104
40109
|
}
|
|
@@ -40119,7 +40124,7 @@ function Kpe() {
|
|
|
40119
40124
|
}
|
|
40120
40125
|
return m(E);
|
|
40121
40126
|
}
|
|
40122
|
-
function
|
|
40127
|
+
function W(M) {
|
|
40123
40128
|
function E(V, X, T, se, fe) {
|
|
40124
40129
|
var de = V[X], ge = L(de);
|
|
40125
40130
|
if (ge !== "object")
|
|
@@ -40140,7 +40145,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
40140
40145
|
}
|
|
40141
40146
|
return m(E);
|
|
40142
40147
|
}
|
|
40143
|
-
function
|
|
40148
|
+
function U(M) {
|
|
40144
40149
|
switch (typeof M) {
|
|
40145
40150
|
case "number":
|
|
40146
40151
|
case "string":
|
|
@@ -40150,7 +40155,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
40150
40155
|
return !M;
|
|
40151
40156
|
case "object":
|
|
40152
40157
|
if (Array.isArray(M))
|
|
40153
|
-
return M.every(
|
|
40158
|
+
return M.every(U);
|
|
40154
40159
|
if (M === null || s(M))
|
|
40155
40160
|
return !0;
|
|
40156
40161
|
var E = d(M);
|
|
@@ -40158,12 +40163,12 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
40158
40163
|
var V = E.call(M), X;
|
|
40159
40164
|
if (E !== M.entries) {
|
|
40160
40165
|
for (; !(X = V.next()).done; )
|
|
40161
|
-
if (!
|
|
40166
|
+
if (!U(X.value))
|
|
40162
40167
|
return !1;
|
|
40163
40168
|
} else
|
|
40164
40169
|
for (; !(X = V.next()).done; ) {
|
|
40165
40170
|
var T = X.value;
|
|
40166
|
-
if (T && !
|
|
40171
|
+
if (T && !U(T[1]))
|
|
40167
40172
|
return !1;
|
|
40168
40173
|
}
|
|
40169
40174
|
} else
|
|
@@ -40192,7 +40197,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
40192
40197
|
}
|
|
40193
40198
|
return E;
|
|
40194
40199
|
}
|
|
40195
|
-
function
|
|
40200
|
+
function z(M) {
|
|
40196
40201
|
var E = j(M);
|
|
40197
40202
|
switch (E) {
|
|
40198
40203
|
case "array":
|
|
@@ -40206,7 +40211,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
40206
40211
|
return E;
|
|
40207
40212
|
}
|
|
40208
40213
|
}
|
|
40209
|
-
function
|
|
40214
|
+
function H(M) {
|
|
40210
40215
|
return !M.constructor || !M.constructor.name ? p : M.constructor.name;
|
|
40211
40216
|
}
|
|
40212
40217
|
return f.checkPropTypes = n, f.resetWarningCache = n.resetWarningCache, f.PropTypes = f, f;
|
|
@@ -42215,7 +42220,7 @@ var k0 = function(t) {
|
|
|
42215
42220
|
});
|
|
42216
42221
|
}, [i]);
|
|
42217
42222
|
s = s === Hn ? Hn : O1e;
|
|
42218
|
-
var d = ht(0), p = ht(a), f = Dy(s === Hn ? 0 : "100%"), h = go(f, 3), y = h[0], m = h[1], g = h[2], v = Dy(null), b = go(v, 3), x = b[0], w = b[1], _ = b[2], O = ht(0), R = ht(0), I = ht(0), C = _t(!0), D = go(C, 2),
|
|
42223
|
+
var d = ht(0), p = ht(a), f = Dy(s === Hn ? 0 : "100%"), h = go(f, 3), y = h[0], m = h[1], g = h[2], v = Dy(null), b = go(v, 3), x = b[0], w = b[1], _ = b[2], O = ht(0), R = ht(0), I = ht(0), C = _t(!0), D = go(C, 2), W = D[0], U = D[1], q = _t(!0), L = go(q, 2), j = L[0], z = L[1], H = _t(!0), M = go(H, 2), E = M[0], V = M[1], X = _t(!1), T = go(X, 2), se = T[0], fe = T[1], de = Dy(!0), ge = go(de, 3), _e = ge[0], $e = ge[1], ve = ge[2], ue = ht([]), ee = Zt(function(J) {
|
|
42219
42224
|
var me = _.current;
|
|
42220
42225
|
return ue.current.push(J), me && J({
|
|
42221
42226
|
scrollTop: me.scrollTop
|
|
@@ -42301,15 +42306,15 @@ var k0 = function(t) {
|
|
|
42301
42306
|
offsetHeight: Te,
|
|
42302
42307
|
scrollHeight: Ye,
|
|
42303
42308
|
scrollTop: Ze
|
|
42304
|
-
}),
|
|
42305
|
-
s === Hn ||
|
|
42309
|
+
}), B = Math.max(0, Math.min(it, Jt)), Y;
|
|
42310
|
+
s === Hn || B !== it ? Y = Ze + B : Y = "100%", u(function() {
|
|
42306
42311
|
var Ue, We, gt;
|
|
42307
42312
|
return [ar(Ue = [ar(We = ar(gt = "%cscrollToSticky%c: Will animate from %c".concat(me, "px%c to %c")).call(gt, typeof Y == "number" ? Y + "px" : Y.replace(/%/g, "%%"), "%c (%c")).call(We, (Y === "100%" ? it : Y) + me, "px%c)")]).call(Ue, At(zt("orange")), At(zt("purple")), At(zt("purple")), At(zt("purple"))), {
|
|
42308
42313
|
animateFrom: me,
|
|
42309
42314
|
maxValue: it,
|
|
42310
42315
|
minValue: $t,
|
|
42311
42316
|
nextAnimateTo: Y,
|
|
42312
|
-
nextValue:
|
|
42317
|
+
nextValue: B,
|
|
42313
42318
|
offsetHeight: Te,
|
|
42314
42319
|
rawNextValue: Jt,
|
|
42315
42320
|
scrollHeight: Ye,
|
|
@@ -42325,17 +42330,17 @@ var k0 = function(t) {
|
|
|
42325
42330
|
var $t = Pk({
|
|
42326
42331
|
mode: s,
|
|
42327
42332
|
target: Ze
|
|
42328
|
-
}), Jt = $t.atBottom,
|
|
42329
|
-
|
|
42333
|
+
}), Jt = $t.atBottom, B = $t.atEnd, Y = $t.atStart, Ue = $t.atTop;
|
|
42334
|
+
U(Jt), z(B), fe(Y), V(Ue);
|
|
42330
42335
|
var We = Ze.offsetHeight, gt = Ze.scrollHeight, Ke = R.current, lr = I.current, _r = We !== Ke, Yt = gt !== lr;
|
|
42331
42336
|
if (_r && (R.current = We), Yt && (I.current = gt), !_r && !Yt) {
|
|
42332
|
-
var ur = it && yc(Ye, s) ||
|
|
42337
|
+
var ur = it && yc(Ye, s) || B;
|
|
42333
42338
|
ve.current !== ur && (u(function() {
|
|
42334
42339
|
var vt, bt, tr, Xt;
|
|
42335
|
-
return [ar(vt = ["%conScroll%c: %csetSticky%c(%c".concat(ur, "%c)")]).call(vt, At(zt("red")), At(zt("red")), At(zt("purple"))), ar(bt = [ar(tr = ar(Xt = "(animating = %c".concat(it, "%c && isEnd = %c")).call(Xt, yc(Ye, s), "%c) || atEnd = %c")).call(tr,
|
|
42340
|
+
return [ar(vt = ["%conScroll%c: %csetSticky%c(%c".concat(ur, "%c)")]).call(vt, At(zt("red")), At(zt("red")), At(zt("purple"))), ar(bt = [ar(tr = ar(Xt = "(animating = %c".concat(it, "%c && isEnd = %c")).call(Xt, yc(Ye, s), "%c) || atEnd = %c")).call(tr, B, "%c")]).call(bt, At(zt("purple")), At(zt("purple")), At(zt("purple")), [{
|
|
42336
42341
|
animating: it,
|
|
42337
42342
|
animateTo: Ye,
|
|
42338
|
-
atEnd:
|
|
42343
|
+
atEnd: B,
|
|
42339
42344
|
mode: s,
|
|
42340
42345
|
offsetHeight: Ze.offsetHeight,
|
|
42341
42346
|
scrollHeight: Ze.scrollHeight,
|
|
@@ -42363,7 +42368,7 @@ var k0 = function(t) {
|
|
|
42363
42368
|
});
|
|
42364
42369
|
});
|
|
42365
42370
|
}
|
|
42366
|
-
}, [g, u, d, s, R, I, ue, he,
|
|
42371
|
+
}, [g, u, d, s, R, I, ue, he, U, z, fe, V, $e, ve, _]);
|
|
42367
42372
|
dt(function() {
|
|
42368
42373
|
if (x) {
|
|
42369
42374
|
var J = !1, me = R1e(function() {
|
|
@@ -42404,13 +42409,13 @@ var k0 = function(t) {
|
|
|
42404
42409
|
};
|
|
42405
42410
|
}, [ee, w, Re]), ct = bn(function() {
|
|
42406
42411
|
return {
|
|
42407
|
-
atBottom:
|
|
42412
|
+
atBottom: W,
|
|
42408
42413
|
atEnd: j,
|
|
42409
42414
|
atStart: se,
|
|
42410
42415
|
atTop: E,
|
|
42411
42416
|
mode: s
|
|
42412
42417
|
};
|
|
42413
|
-
}, [
|
|
42418
|
+
}, [W, j, se, E, s]), He = bn(function() {
|
|
42414
42419
|
var J = y !== null;
|
|
42415
42420
|
return {
|
|
42416
42421
|
animating: J,
|