@adriansteffan/reactive 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{mod-Da037dsK.js → mod-CHny3ll3.js} +721 -718
- package/dist/mod.d.ts +4 -2
- package/dist/reactive.es.js +1 -1
- package/dist/reactive.umd.js +16 -16
- package/dist/{web-B4C6kKNC.js → web-Bj8F7OFt.js} +1 -1
- package/dist/{web-CsnibtI4.js → web-BnuZtMKb.js} +1 -1
- package/package.json +1 -1
- package/src/components/enterfullscreen.tsx +3 -0
- package/src/components/prolificending.tsx +3 -2
- package/src/components/tutorial.tsx +1 -1
|
@@ -13273,8 +13273,8 @@ var yY = Zi, wh = Cu, dC = yu, CY = Ua, bY = WE, wY = vY, xY = 1048575, pC = 104
|
|
|
13273
13273
|
// 0x3E4CFDEB, 0x43CFD006
|
|
13274
13274
|
];
|
|
13275
13275
|
function DY(i, e, t) {
|
|
13276
|
-
var s, r, n, a, o, l, u, h, c, d, f, y, v, m, g,
|
|
13277
|
-
return
|
|
13276
|
+
var s, r, n, a, o, l, u, h, c, d, f, y, v, m, g, b, x, T, R, A, D, V;
|
|
13277
|
+
return A = 0, t < pC && (e *= TY, A -= 53, t = yY(e)), A += (t >> bY) - CY | 0, D = t & xY | 0, t = D | EY | 0, D <= 235662 ? V = 0 : D < 767610 ? V = 1 : (V = 0, A += 1, t -= pC), e = dC(e, t), h = AY[V], T = e - h, R = 1 / (e + h), r = T * R, a = wh(r, 0), s = (t >> 1 | VY) + SY, s += V << 18, l = dC(0, s), u = e - (l - h), o = R * (T - a * l - a * u), n = r * r, x = n * n * wY(n), x += o * (a + r), n = a * a, l = 3 + n + x, l = wh(l, 0), u = x - (l - 3 - n), T = a * l, R = o * l + u * r, d = T + R, d = wh(d, 0), f = R - (d - T), y = IY * d, v = RY * d + f * PY + _Y[V], c = LY[V], b = A, m = y + v + c + b, m = wh(m, 0), g = v - (m - b - c - y), i[0] = m, i[1] = g, i;
|
|
13278
13278
|
}
|
|
13279
13279
|
var kY = DY;
|
|
13280
13280
|
/**
|
|
@@ -16422,7 +16422,7 @@ const hae = (i) => {
|
|
|
16422
16422
|
return console.warn(`Capacitor plugin "${c}" already registered. Cannot register plugins twice.`), f.proxy;
|
|
16423
16423
|
const y = r(), v = o(c);
|
|
16424
16424
|
let m;
|
|
16425
|
-
const g = async () => (!m && y in d ? m = typeof d[y] == "function" ? m = await d[y]() : m = d[y] : e !== null && !m && "web" in d && (m = typeof d.web == "function" ? m = await d.web() : m = d.web), m),
|
|
16425
|
+
const g = async () => (!m && y in d ? m = typeof d[y] == "function" ? m = await d[y]() : m = d[y] : e !== null && !m && "web" in d && (m = typeof d.web == "function" ? m = await d.web() : m = d.web), m), b = (V, _) => {
|
|
16426
16426
|
var N, q;
|
|
16427
16427
|
if (v) {
|
|
16428
16428
|
const Q = v == null ? void 0 : v.methods.find((L) => _ === L.name);
|
|
@@ -16439,7 +16439,7 @@ const hae = (i) => {
|
|
|
16439
16439
|
let _;
|
|
16440
16440
|
const N = (...q) => {
|
|
16441
16441
|
const Q = g().then((L) => {
|
|
16442
|
-
const B =
|
|
16442
|
+
const B = b(L, V);
|
|
16443
16443
|
if (B) {
|
|
16444
16444
|
const H = B(...q);
|
|
16445
16445
|
return _ = H == null ? void 0 : H.remove, H;
|
|
@@ -16453,10 +16453,10 @@ const hae = (i) => {
|
|
|
16453
16453
|
writable: !1,
|
|
16454
16454
|
configurable: !1
|
|
16455
16455
|
}), N;
|
|
16456
|
-
}, T = x("addListener"),
|
|
16456
|
+
}, T = x("addListener"), R = x("removeListener"), A = (V, _) => {
|
|
16457
16457
|
const N = T({ eventName: V }, _), q = async () => {
|
|
16458
16458
|
const L = await N;
|
|
16459
|
-
|
|
16459
|
+
R({
|
|
16460
16460
|
eventName: V,
|
|
16461
16461
|
callbackId: L
|
|
16462
16462
|
}, _);
|
|
@@ -16472,9 +16472,9 @@ const hae = (i) => {
|
|
|
16472
16472
|
case "toJSON":
|
|
16473
16473
|
return () => ({});
|
|
16474
16474
|
case "addListener":
|
|
16475
|
-
return v ?
|
|
16475
|
+
return v ? A : T;
|
|
16476
16476
|
case "removeListener":
|
|
16477
|
-
return
|
|
16477
|
+
return R;
|
|
16478
16478
|
default:
|
|
16479
16479
|
return x(_);
|
|
16480
16480
|
}
|
|
@@ -17018,12 +17018,12 @@ async function nCe(i, e) {
|
|
|
17018
17018
|
t
|
|
17019
17019
|
);
|
|
17020
17020
|
t = m.participantState, m.storeUpdates && (r = { ...r, ...m.storeUpdates }), u++;
|
|
17021
|
-
const g = m.duration ?? 0,
|
|
17021
|
+
const g = m.duration ?? 0, b = h;
|
|
17022
17022
|
h += g;
|
|
17023
17023
|
let x = {
|
|
17024
17024
|
index: c,
|
|
17025
17025
|
trialNumber: u,
|
|
17026
|
-
start:
|
|
17026
|
+
start: b,
|
|
17027
17027
|
end: h,
|
|
17028
17028
|
duration: g,
|
|
17029
17029
|
type: d.type,
|
|
@@ -17067,12 +17067,12 @@ async function aCe(i, e) {
|
|
|
17067
17067
|
},
|
|
17068
17068
|
stdio: ["ignore", "pipe", "pipe"]
|
|
17069
17069
|
});
|
|
17070
|
-
(g = m.stderr) == null || g.on("data", (
|
|
17071
|
-
v +=
|
|
17072
|
-
}), m.on("close", (
|
|
17073
|
-
|
|
17074
|
-
}), m.on("error", (
|
|
17075
|
-
u.push({ index: f, error:
|
|
17070
|
+
(g = m.stderr) == null || g.on("data", (b) => {
|
|
17071
|
+
v += b.toString();
|
|
17072
|
+
}), m.on("close", (b) => {
|
|
17073
|
+
b !== 0 && u.push({ index: f, error: v.trim() || `exited with code ${b}` }), l++, h(), y();
|
|
17074
|
+
}), m.on("error", (b) => {
|
|
17075
|
+
u.push({ index: f, error: b.message }), l++, h(), y();
|
|
17076
17076
|
});
|
|
17077
17077
|
});
|
|
17078
17078
|
h();
|
|
@@ -17229,9 +17229,9 @@ function Tae(i) {
|
|
|
17229
17229
|
else {
|
|
17230
17230
|
const g = i.postStimStrategy;
|
|
17231
17231
|
if (g.type === "snapshot") {
|
|
17232
|
-
const
|
|
17232
|
+
const b = Math.abs(c - l), x = Math.abs(c - u);
|
|
17233
17233
|
return {
|
|
17234
|
-
choice:
|
|
17234
|
+
choice: b <= x ? 1 : 0,
|
|
17235
17235
|
rt: h + o,
|
|
17236
17236
|
finalEvidence: c,
|
|
17237
17237
|
isContaminated: !1
|
|
@@ -17317,7 +17317,7 @@ function Rae() {
|
|
|
17317
17317
|
return typeof ie == "function" ? ie : null;
|
|
17318
17318
|
}
|
|
17319
17319
|
var g = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
17320
|
-
function
|
|
17320
|
+
function b(M) {
|
|
17321
17321
|
{
|
|
17322
17322
|
for (var ie = arguments.length, me = new Array(ie > 1 ? ie - 1 : 0), Fe = 1; Fe < ie; Fe++)
|
|
17323
17323
|
me[Fe - 1] = arguments[Fe];
|
|
@@ -17334,10 +17334,10 @@ function Rae() {
|
|
|
17334
17334
|
Pt.unshift("Warning: " + ie), Function.prototype.apply.call(console[M], console, Pt);
|
|
17335
17335
|
}
|
|
17336
17336
|
}
|
|
17337
|
-
var T = !1,
|
|
17337
|
+
var T = !1, R = !1, A = !1, D = !1, V = !1, _;
|
|
17338
17338
|
_ = Symbol.for("react.module.reference");
|
|
17339
17339
|
function N(M) {
|
|
17340
|
-
return !!(typeof M == "string" || typeof M == "function" || M === s || M === n || V || M === r || M === u || M === h || D || M === f || T ||
|
|
17340
|
+
return !!(typeof M == "string" || typeof M == "function" || M === s || M === n || V || M === r || M === u || M === h || D || M === f || T || R || A || typeof M == "object" && M !== null && (M.$$typeof === d || M.$$typeof === c || M.$$typeof === a || M.$$typeof === o || M.$$typeof === l || // This needs to include all possible module reference object
|
|
17341
17341
|
// types supported by any Flight configuration anywhere since
|
|
17342
17342
|
// we don't know which Flight build this will end up being used
|
|
17343
17343
|
// with.
|
|
@@ -17356,7 +17356,7 @@ function Rae() {
|
|
|
17356
17356
|
function L(M) {
|
|
17357
17357
|
if (M == null)
|
|
17358
17358
|
return null;
|
|
17359
|
-
if (typeof M.tag == "number" &&
|
|
17359
|
+
if (typeof M.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof M == "function")
|
|
17360
17360
|
return M.displayName || M.name || null;
|
|
17361
17361
|
if (typeof M == "string")
|
|
17362
17362
|
return M;
|
|
@@ -17457,7 +17457,7 @@ function Rae() {
|
|
|
17457
17457
|
})
|
|
17458
17458
|
});
|
|
17459
17459
|
}
|
|
17460
|
-
H < 0 &&
|
|
17460
|
+
H < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
17461
17461
|
}
|
|
17462
17462
|
}
|
|
17463
17463
|
var te = g.ReactCurrentDispatcher, we;
|
|
@@ -17609,7 +17609,7 @@ function Rae() {
|
|
|
17609
17609
|
} catch (jt) {
|
|
17610
17610
|
Ye = jt;
|
|
17611
17611
|
}
|
|
17612
|
-
Ye && !(Ye instanceof Error) && (Ct(bt),
|
|
17612
|
+
Ye && !(Ye instanceof Error) && (Ct(bt), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Fe || "React class", me, it, typeof Ye), Ct(null)), Ye instanceof Error && !(Ye.message in Mt) && (Mt[Ye.message] = !0, Ct(bt), b("Failed %s type: %s", me, Ye.message), Ct(null));
|
|
17613
17613
|
}
|
|
17614
17614
|
}
|
|
17615
17615
|
}
|
|
@@ -17635,7 +17635,7 @@ function Rae() {
|
|
|
17635
17635
|
}
|
|
17636
17636
|
function Ur(M) {
|
|
17637
17637
|
if (bs(M))
|
|
17638
|
-
return
|
|
17638
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ns(M)), ws(M);
|
|
17639
17639
|
}
|
|
17640
17640
|
var js = g.ReactCurrentOwner, Ws = {
|
|
17641
17641
|
key: !0,
|
|
@@ -17665,7 +17665,7 @@ function Rae() {
|
|
|
17665
17665
|
function Z(M, ie) {
|
|
17666
17666
|
{
|
|
17667
17667
|
var me = function() {
|
|
17668
|
-
_i || (_i = !0,
|
|
17668
|
+
_i || (_i = !0, b("%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)", ie));
|
|
17669
17669
|
};
|
|
17670
17670
|
me.isReactWarning = !0, Object.defineProperty(M, "key", {
|
|
17671
17671
|
get: me,
|
|
@@ -17676,7 +17676,7 @@ function Rae() {
|
|
|
17676
17676
|
function se(M, ie) {
|
|
17677
17677
|
{
|
|
17678
17678
|
var me = function() {
|
|
17679
|
-
Gs || (Gs = !0,
|
|
17679
|
+
Gs || (Gs = !0, b("%s: `ref` 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)", ie));
|
|
17680
17680
|
};
|
|
17681
17681
|
me.isReactWarning = !0, Object.defineProperty(M, "ref", {
|
|
17682
17682
|
get: me,
|
|
@@ -17782,7 +17782,7 @@ Check the top-level render call using <` + me + ">.");
|
|
|
17782
17782
|
return;
|
|
17783
17783
|
pa[me] = !0;
|
|
17784
17784
|
var Fe = "";
|
|
17785
|
-
M && M._owner && M._owner !== de.current && (Fe = " It was passed a child from " + L(M._owner.type) + "."), je(M),
|
|
17785
|
+
M && M._owner && M._owner !== de.current && (Fe = " It was passed a child from " + L(M._owner.type) + "."), je(M), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', me, Fe), je(null);
|
|
17786
17786
|
}
|
|
17787
17787
|
}
|
|
17788
17788
|
function $u(M, ie) {
|
|
@@ -17824,9 +17824,9 @@ Check the top-level render call using <` + me + ">.");
|
|
|
17824
17824
|
} else if (ie.PropTypes !== void 0 && !as) {
|
|
17825
17825
|
as = !0;
|
|
17826
17826
|
var bt = L(ie);
|
|
17827
|
-
|
|
17827
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", bt || "Unknown");
|
|
17828
17828
|
}
|
|
17829
|
-
typeof ie.getDefaultProps == "function" && !ie.getDefaultProps.isReactClassApproved &&
|
|
17829
|
+
typeof ie.getDefaultProps == "function" && !ie.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
17830
17830
|
}
|
|
17831
17831
|
}
|
|
17832
17832
|
function up(M) {
|
|
@@ -17834,11 +17834,11 @@ Check the top-level render call using <` + me + ">.");
|
|
|
17834
17834
|
for (var ie = Object.keys(M.props), me = 0; me < ie.length; me++) {
|
|
17835
17835
|
var Fe = ie[me];
|
|
17836
17836
|
if (Fe !== "children" && Fe !== "key") {
|
|
17837
|
-
je(M),
|
|
17837
|
+
je(M), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Fe), je(null);
|
|
17838
17838
|
break;
|
|
17839
17839
|
}
|
|
17840
17840
|
}
|
|
17841
|
-
M.ref !== null && (je(M),
|
|
17841
|
+
M.ref !== null && (je(M), b("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
|
|
17842
17842
|
}
|
|
17843
17843
|
}
|
|
17844
17844
|
var Hu = {};
|
|
@@ -17851,7 +17851,7 @@ Check the top-level render call using <` + me + ">.");
|
|
|
17851
17851
|
var As = Za();
|
|
17852
17852
|
As ? Ye += As : Ye += zr();
|
|
17853
17853
|
var jt;
|
|
17854
|
-
M === null ? jt = "null" : Te(M) ? jt = "array" : M !== void 0 && M.$$typeof === e ? (jt = "<" + (L(M.type) || "Unknown") + " />", Ye = " Did you accidentally export a JSX literal instead of a component?") : jt = typeof M,
|
|
17854
|
+
M === null ? jt = "null" : Te(M) ? jt = "array" : M !== void 0 && M.$$typeof === e ? (jt = "<" + (L(M.type) || "Unknown") + " />", Ye = " Did you accidentally export a JSX literal instead of a component?") : jt = typeof M, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", jt, Ye);
|
|
17855
17855
|
}
|
|
17856
17856
|
var Kt = ae(M, ie, me, bt, Pt);
|
|
17857
17857
|
if (Kt == null)
|
|
@@ -17865,7 +17865,7 @@ Check the top-level render call using <` + me + ">.");
|
|
|
17865
17865
|
$u(si[bn], M);
|
|
17866
17866
|
Object.freeze && Object.freeze(si);
|
|
17867
17867
|
} else
|
|
17868
|
-
|
|
17868
|
+
b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
17869
17869
|
else
|
|
17870
17870
|
$u(si, M);
|
|
17871
17871
|
}
|
|
@@ -17875,7 +17875,7 @@ Check the top-level render call using <` + me + ">.");
|
|
|
17875
17875
|
}), cl = $s.length > 0 ? "{key: someKey, " + $s.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
17876
17876
|
if (!Hu[jr + cl]) {
|
|
17877
17877
|
var fp = $s.length > 0 ? "{" + $s.join(": ..., ") + ": ...}" : "{}";
|
|
17878
|
-
|
|
17878
|
+
b(`A props object containing a "key" prop is being spread into JSX:
|
|
17879
17879
|
let props = %s;
|
|
17880
17880
|
<%s {...props} />
|
|
17881
17881
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -18044,17 +18044,18 @@ function Lae({
|
|
|
18044
18044
|
prolificCode: i,
|
|
18045
18045
|
className: e,
|
|
18046
18046
|
containerClass: t,
|
|
18047
|
-
|
|
18048
|
-
|
|
18047
|
+
animate: s,
|
|
18048
|
+
data: r,
|
|
18049
|
+
updateStore: n
|
|
18049
18050
|
}) {
|
|
18050
|
-
let
|
|
18051
|
-
const
|
|
18051
|
+
let a = i ?? Oo("cc", "", "string") ?? null;
|
|
18052
|
+
const o = /* @__PURE__ */ I.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
18052
18053
|
/* @__PURE__ */ I.jsx("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ I.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
|
|
18053
18054
|
/* @__PURE__ */ I.jsxs("p", { className: "", children: [
|
|
18054
18055
|
"Thank you! Your data has been successfully submitted. ",
|
|
18055
18056
|
/* @__PURE__ */ I.jsx("br", {}),
|
|
18056
18057
|
" You can go back to Prolific and enter the code ",
|
|
18057
|
-
|
|
18058
|
+
a,
|
|
18058
18059
|
" to finish the study. Alternatively, you can click on this link:",
|
|
18059
18060
|
" ",
|
|
18060
18061
|
/* @__PURE__ */ I.jsx(
|
|
@@ -18062,13 +18063,13 @@ function Lae({
|
|
|
18062
18063
|
{
|
|
18063
18064
|
target: "_blank",
|
|
18064
18065
|
className: "text-blue-400",
|
|
18065
|
-
href: `https://app.prolific.com/submissions/complete?cc=${
|
|
18066
|
+
href: `https://app.prolific.com/submissions/complete?cc=${a}`,
|
|
18066
18067
|
children: "Go to Prolific"
|
|
18067
18068
|
}
|
|
18068
18069
|
)
|
|
18069
18070
|
] })
|
|
18070
18071
|
] });
|
|
18071
|
-
return /* @__PURE__ */ I.jsx(wv, { data:
|
|
18072
|
+
return /* @__PURE__ */ I.jsx(wv, { data: r, updateStore: n, className: e, containerClass: t, animate: s, content: o, buttonText: "", next: () => {
|
|
18072
18073
|
} });
|
|
18073
18074
|
}
|
|
18074
18075
|
var SV = {
|
|
@@ -18202,39 +18203,39 @@ const Hae = ({ stream: i }) => {
|
|
|
18202
18203
|
const d = new Uint8Array(a.frequencyBinCount);
|
|
18203
18204
|
r.current = Array(a.frequencyBinCount).fill(128);
|
|
18204
18205
|
const f = (m, g) => g + (m - g) * 0.08, y = (m, g = 3) => {
|
|
18205
|
-
const
|
|
18206
|
+
const b = new Array(m.length).fill(0);
|
|
18206
18207
|
for (let x = 0; x < m.length; x++) {
|
|
18207
|
-
let T = 0,
|
|
18208
|
-
for (let
|
|
18209
|
-
T += m[
|
|
18210
|
-
|
|
18208
|
+
let T = 0, R = 0;
|
|
18209
|
+
for (let A = Math.max(0, x - g); A < Math.min(m.length, x + g + 1); A++)
|
|
18210
|
+
T += m[A], R++;
|
|
18211
|
+
b[x] = T / R;
|
|
18211
18212
|
}
|
|
18212
|
-
return
|
|
18213
|
+
return b;
|
|
18213
18214
|
}, v = () => {
|
|
18214
|
-
const m = c.width, g = c.height,
|
|
18215
|
+
const m = c.width, g = c.height, b = g / 2;
|
|
18215
18216
|
t.current = requestAnimationFrame(v), a.getByteTimeDomainData(d);
|
|
18216
18217
|
const x = Array.from(d).map(
|
|
18217
18218
|
(D, V) => f(D, r.current[V])
|
|
18218
18219
|
), T = y(x);
|
|
18219
|
-
r.current = T, u.fillStyle = "#ffffff", u.fillRect(0, 0, m * h, g * h), u.beginPath(), u.strokeStyle = "rgba(0, 0, 0, 0.1)", u.lineWidth = 1, u.moveTo(0,
|
|
18220
|
-
const
|
|
18221
|
-
for (let D = 0; D < T.length; D +=
|
|
18222
|
-
const V = D / T.length * m, _ = (T[D] - 128) / 128, N =
|
|
18223
|
-
|
|
18224
|
-
}
|
|
18225
|
-
if (
|
|
18226
|
-
u.moveTo(
|
|
18227
|
-
for (let D = 1; D <
|
|
18228
|
-
const V = (
|
|
18229
|
-
u.quadraticCurveTo(
|
|
18220
|
+
r.current = T, u.fillStyle = "#ffffff", u.fillRect(0, 0, m * h, g * h), u.beginPath(), u.strokeStyle = "rgba(0, 0, 0, 0.1)", u.lineWidth = 1, u.moveTo(0, b), u.lineTo(m, b), u.stroke(), u.beginPath(), u.lineWidth = 2, u.strokeStyle = "rgba(0, 0, 0, 0.85)";
|
|
18221
|
+
const R = 4, A = [];
|
|
18222
|
+
for (let D = 0; D < T.length; D += R) {
|
|
18223
|
+
const V = D / T.length * m, _ = (T[D] - 128) / 128, N = b + _ * g * 4;
|
|
18224
|
+
A.push([V, N]);
|
|
18225
|
+
}
|
|
18226
|
+
if (A.length > 0) {
|
|
18227
|
+
u.moveTo(A[0][0], A[0][1]);
|
|
18228
|
+
for (let D = 1; D < A.length - 2; D++) {
|
|
18229
|
+
const V = (A[D][0] + A[D + 1][0]) / 2, _ = (A[D][1] + A[D + 1][1]) / 2;
|
|
18230
|
+
u.quadraticCurveTo(A[D][0], A[D][1], V, _);
|
|
18230
18231
|
}
|
|
18231
|
-
if (
|
|
18232
|
-
const D =
|
|
18232
|
+
if (A.length > 2) {
|
|
18233
|
+
const D = A.length - 1;
|
|
18233
18234
|
u.quadraticCurveTo(
|
|
18234
|
-
|
|
18235
|
-
|
|
18236
|
-
|
|
18237
|
-
|
|
18235
|
+
A[D - 1][0],
|
|
18236
|
+
A[D - 1][1],
|
|
18237
|
+
A[D][0],
|
|
18238
|
+
A[D][1]
|
|
18238
18239
|
);
|
|
18239
18240
|
}
|
|
18240
18241
|
}
|
|
@@ -18264,11 +18265,11 @@ const Hae = ({ stream: i }) => {
|
|
|
18264
18265
|
deviceId: { exact: v }
|
|
18265
18266
|
} : !0
|
|
18266
18267
|
}, g = await navigator.mediaDevices.getUserMedia(m);
|
|
18267
|
-
l(g), u.current = new MediaRecorder(g), h.current = [], u.current.ondataavailable = (
|
|
18268
|
-
|
|
18268
|
+
l(g), u.current = new MediaRecorder(g), h.current = [], u.current.ondataavailable = (b) => {
|
|
18269
|
+
b.data.size > 0 && h.current.push(b.data);
|
|
18269
18270
|
}, u.current.onstop = () => {
|
|
18270
|
-
const
|
|
18271
|
-
a(x), l(null), f(
|
|
18271
|
+
const b = new Blob(h.current, { type: "audio/webm" }), x = URL.createObjectURL(b);
|
|
18272
|
+
a(x), l(null), f(b, x);
|
|
18272
18273
|
}, u.current.start(), r(!0);
|
|
18273
18274
|
} catch (v) {
|
|
18274
18275
|
console.error("Error accessing microphone:", v);
|
|
@@ -18277,12 +18278,12 @@ const Hae = ({ stream: i }) => {
|
|
|
18277
18278
|
u.current && s && (u.current.stop(), u.current.stream.getTracks().forEach((v) => v.stop()), r(!1));
|
|
18278
18279
|
}, f = async (v, m) => {
|
|
18279
18280
|
if (v && m) {
|
|
18280
|
-
const g = await new Promise((
|
|
18281
|
+
const g = await new Promise((b) => {
|
|
18281
18282
|
const x = new FileReader();
|
|
18282
18283
|
x.onloadend = () => {
|
|
18283
|
-
var
|
|
18284
|
-
const T = ((
|
|
18285
|
-
|
|
18284
|
+
var R;
|
|
18285
|
+
const T = ((R = x.result) == null ? void 0 : R.toString().split(",")[1]) || "";
|
|
18286
|
+
b(T);
|
|
18286
18287
|
}, x.readAsDataURL(v);
|
|
18287
18288
|
});
|
|
18288
18289
|
e({
|
|
@@ -21578,22 +21579,22 @@ const Vv = (
|
|
|
21578
21579
|
Expression: Xa
|
|
21579
21580
|
};
|
|
21580
21581
|
let o = Xa;
|
|
21581
|
-
const l = "||", u = "or", h = "&&", c = "and", d = "<=", f = "lessorequal", y = ">=", v = "greaterorequal", m = "==", g = "equal",
|
|
21582
|
+
const l = "||", u = "or", h = "&&", c = "and", d = "<=", f = "lessorequal", y = ">=", v = "greaterorequal", m = "==", g = "equal", b = "=", x = "!=", T = "notequal", R = "<", A = "less", D = ">", V = "greater", _ = "+", N = "-", q = "*", Q = "/", L = "%", B = "^", H = "power", $ = "*=", j = "contains", G = "contain", ne = "notcontains", Y = "notcontain", oe = "anyof", re = "allof", ue = "noneof", Ie = "(", ge = "!", te = "negate", we = "empty", et = "notempty", Yt = "undefined", Gt = "null", Is = "{", Et = "}", cs = "''", rs = '""', Le = "'", st = '"', Mt = "[", zt = "]", Ct = ",", _e = "true", Ge = "false", Te = "0x", ns = ".", bs = "0", ws = "\\'", Ur = '\\"', js = /^[\-]/, Ws = /^[^"']/, _i = /^[^{}]/, Gs = /^[0-9]/, Di = /^[1-9]/, da = /^[a-zA-Z_]/, Cn = /^[ \t\n\r]/, Z = Pe("||", !1), se = Pe("or", !0), X = Pe("&&", !1), ae = Pe("and", !0), de = Pe("<=", !1), Ae = Pe("lessorequal", !0), je = Pe(">=", !1), as = Pe("greaterorequal", !0), Rs = Pe("==", !1), zr = Pe("equal", !0), Za = Pe("=", !1), pa = Pe("!=", !1), op = Pe("notequal", !0), Bu = Pe("<", !1), $u = Pe("less", !0), lp = Pe(">", !1), up = Pe("greater", !0), Hu = Pe("+", !1), Qu = Pe("-", !1), hp = Pe("*", !1), cp = Pe("/", !1), dp = Pe("%", !1), pp = Pe("^", !1), M = Pe("power", !0), ie = Pe("*=", !1), me = Pe("contains", !0), Fe = Pe("contain", !0), bt = Pe("notcontains", !0), Pt = Pe("notcontain", !0), it = Pe("anyof", !0), Ye = Pe("allof", !0), As = Pe("noneof", !0), jt = Pe("(", !1), Kt = Pe(")", !1), si = Pe("!", !1), bn = Pe("negate", !0), jr = Pe("empty", !0), $s = Pe("notempty", !0), cl = Pe("undefined", !1), fp = Pe("null", !1), mp = Pe("{", !1), Y4 = Pe("}", !1), X4 = Pe("''", !1), eT = Pe('""', !1), N0 = Pe("'", !1), F0 = Pe('"', !1), tT = Pe("[", !1), sT = Pe("]", !1), q0 = Pe(",", !1), iT = Pe("true", !0), rT = Pe("false", !0), nT = Pe("0x", !1), aT = fa(["-"], !1, !1, !1), oT = Pe(".", !1), lT = Pe("0", !1), uT = Pe("\\'", !1), hT = Pe('\\"', !1), cT = fa(['"', "'"], !0, !1, !1), dT = fa(["{", "}"], !0, !1, !1), B0 = fa([["0", "9"]], !1, !1, !1), $0 = fa([["1", "9"]], !1, !1, !1), H0 = fa([["a", "z"], ["A", "Z"], "_"], !1, !1, !1), Q0 = fa([" ", " ", `
|
|
21582
21583
|
`, "\r"], !1, !1, !1);
|
|
21583
|
-
function pT(C,
|
|
21584
|
-
return ma(C,
|
|
21584
|
+
function pT(C, w) {
|
|
21585
|
+
return ma(C, w, !0);
|
|
21585
21586
|
}
|
|
21586
21587
|
function fT() {
|
|
21587
21588
|
return "or";
|
|
21588
21589
|
}
|
|
21589
|
-
function mT(C,
|
|
21590
|
-
return ma(C,
|
|
21590
|
+
function mT(C, w) {
|
|
21591
|
+
return ma(C, w, !0);
|
|
21591
21592
|
}
|
|
21592
21593
|
function gT() {
|
|
21593
21594
|
return "and";
|
|
21594
21595
|
}
|
|
21595
|
-
function vT(C,
|
|
21596
|
-
return ma(C,
|
|
21596
|
+
function vT(C, w) {
|
|
21597
|
+
return ma(C, w);
|
|
21597
21598
|
}
|
|
21598
21599
|
function yT() {
|
|
21599
21600
|
return "lessorequal";
|
|
@@ -21616,8 +21617,8 @@ const Vv = (
|
|
|
21616
21617
|
function VT() {
|
|
21617
21618
|
return "greater";
|
|
21618
21619
|
}
|
|
21619
|
-
function ST(C,
|
|
21620
|
-
return ma(C,
|
|
21620
|
+
function ST(C, w) {
|
|
21621
|
+
return ma(C, w, !0);
|
|
21621
21622
|
}
|
|
21622
21623
|
function TT() {
|
|
21623
21624
|
return "plus";
|
|
@@ -21625,8 +21626,8 @@ const Vv = (
|
|
|
21625
21626
|
function PT() {
|
|
21626
21627
|
return "minus";
|
|
21627
21628
|
}
|
|
21628
|
-
function IT(C,
|
|
21629
|
-
return ma(C,
|
|
21629
|
+
function IT(C, w) {
|
|
21630
|
+
return ma(C, w, !0);
|
|
21630
21631
|
}
|
|
21631
21632
|
function RT() {
|
|
21632
21633
|
return "mul";
|
|
@@ -21637,14 +21638,14 @@ const Vv = (
|
|
|
21637
21638
|
function LT() {
|
|
21638
21639
|
return "mod";
|
|
21639
21640
|
}
|
|
21640
|
-
function _T(C,
|
|
21641
|
-
return ma(C,
|
|
21641
|
+
function _T(C, w) {
|
|
21642
|
+
return ma(C, w, !0);
|
|
21642
21643
|
}
|
|
21643
21644
|
function DT() {
|
|
21644
21645
|
return "power";
|
|
21645
21646
|
}
|
|
21646
|
-
function kT(C,
|
|
21647
|
-
return ma(C,
|
|
21647
|
+
function kT(C, w) {
|
|
21648
|
+
return ma(C, w);
|
|
21648
21649
|
}
|
|
21649
21650
|
function OT() {
|
|
21650
21651
|
return "contains";
|
|
@@ -21664,14 +21665,14 @@ const Vv = (
|
|
|
21664
21665
|
function Qye(C) {
|
|
21665
21666
|
return C;
|
|
21666
21667
|
}
|
|
21667
|
-
function BT(C,
|
|
21668
|
-
return new Moe(C,
|
|
21668
|
+
function BT(C, w) {
|
|
21669
|
+
return new Moe(C, w);
|
|
21669
21670
|
}
|
|
21670
21671
|
function $T(C) {
|
|
21671
21672
|
return new Lb(C, "negate");
|
|
21672
21673
|
}
|
|
21673
|
-
function HT(C,
|
|
21674
|
-
return new Lb(C,
|
|
21674
|
+
function HT(C, w) {
|
|
21675
|
+
return new Lb(C, w);
|
|
21675
21676
|
}
|
|
21676
21677
|
function QT() {
|
|
21677
21678
|
return "empty";
|
|
@@ -21712,12 +21713,12 @@ const Vv = (
|
|
|
21712
21713
|
function Wye(C) {
|
|
21713
21714
|
return C;
|
|
21714
21715
|
}
|
|
21715
|
-
function YT(C,
|
|
21716
|
+
function YT(C, w) {
|
|
21716
21717
|
if (C == null)
|
|
21717
21718
|
return new Dm([]);
|
|
21718
21719
|
var z = [C];
|
|
21719
|
-
if (Array.isArray(
|
|
21720
|
-
for (var O = TP(
|
|
21720
|
+
if (Array.isArray(w))
|
|
21721
|
+
for (var O = TP(w), J = 3; J < O.length; J += 4)
|
|
21721
21722
|
z.push(O[J]);
|
|
21722
21723
|
return new Dm(z);
|
|
21723
21724
|
}
|
|
@@ -21730,8 +21731,8 @@ const Vv = (
|
|
|
21730
21731
|
function tP() {
|
|
21731
21732
|
return parseInt(Ya(), 16);
|
|
21732
21733
|
}
|
|
21733
|
-
function sP(C,
|
|
21734
|
-
return C == null ?
|
|
21734
|
+
function sP(C, w) {
|
|
21735
|
+
return C == null ? w : -w;
|
|
21735
21736
|
}
|
|
21736
21737
|
function iP() {
|
|
21737
21738
|
return parseFloat(Ya());
|
|
@@ -21775,38 +21776,38 @@ const Vv = (
|
|
|
21775
21776
|
return t.substring(xe, E);
|
|
21776
21777
|
}
|
|
21777
21778
|
function pP(C = E) {
|
|
21778
|
-
const
|
|
21779
|
-
return
|
|
21779
|
+
const w = t.codePointAt(C);
|
|
21780
|
+
return w === void 0 ? "" : String.fromCodePoint(w);
|
|
21780
21781
|
}
|
|
21781
|
-
function Pe(C,
|
|
21782
|
-
return { type: "literal", text: C, ignoreCase:
|
|
21782
|
+
function Pe(C, w) {
|
|
21783
|
+
return { type: "literal", text: C, ignoreCase: w };
|
|
21783
21784
|
}
|
|
21784
|
-
function fa(C,
|
|
21785
|
-
return { type: "class", parts: C, inverted:
|
|
21785
|
+
function fa(C, w, z, O) {
|
|
21786
|
+
return { type: "class", parts: C, inverted: w, ignoreCase: z, unicode: O };
|
|
21786
21787
|
}
|
|
21787
21788
|
function fP() {
|
|
21788
21789
|
return { type: "end" };
|
|
21789
21790
|
}
|
|
21790
21791
|
function U0(C) {
|
|
21791
|
-
let
|
|
21792
|
-
if (
|
|
21793
|
-
return
|
|
21792
|
+
let w = Ja[C], z;
|
|
21793
|
+
if (w)
|
|
21794
|
+
return w;
|
|
21794
21795
|
if (C >= Ja.length)
|
|
21795
21796
|
z = Ja.length - 1;
|
|
21796
21797
|
else
|
|
21797
21798
|
for (z = C; !Ja[--z]; )
|
|
21798
21799
|
;
|
|
21799
|
-
for (
|
|
21800
|
+
for (w = Ja[z], w = {
|
|
21800
21801
|
// @ts-ignore
|
|
21801
|
-
line:
|
|
21802
|
+
line: w.line,
|
|
21802
21803
|
// @ts-ignore
|
|
21803
|
-
column:
|
|
21804
|
+
column: w.column
|
|
21804
21805
|
}; z < C; )
|
|
21805
|
-
t.charCodeAt(z) === 10 ? (
|
|
21806
|
-
return Ja[C] =
|
|
21806
|
+
t.charCodeAt(z) === 10 ? (w.line++, w.column = 1) : w.column++, z++;
|
|
21807
|
+
return Ja[C] = w, w;
|
|
21807
21808
|
}
|
|
21808
|
-
function z0(C,
|
|
21809
|
-
const O = U0(C), J = U0(
|
|
21809
|
+
function z0(C, w, z) {
|
|
21810
|
+
const O = U0(C), J = U0(w);
|
|
21810
21811
|
return {
|
|
21811
21812
|
// @ts-ignore
|
|
21812
21813
|
source: n,
|
|
@@ -21822,7 +21823,7 @@ const Vv = (
|
|
|
21822
21823
|
// @ts-ignore
|
|
21823
21824
|
end: {
|
|
21824
21825
|
// @ts-ignore
|
|
21825
|
-
offset:
|
|
21826
|
+
offset: w,
|
|
21826
21827
|
// @ts-ignore
|
|
21827
21828
|
line: J.line,
|
|
21828
21829
|
// @ts-ignore
|
|
@@ -21833,243 +21834,243 @@ const Vv = (
|
|
|
21833
21834
|
function ce(C) {
|
|
21834
21835
|
E < Yi || (E > Yi && (Yi = E, Uu = []), Uu.push(C));
|
|
21835
21836
|
}
|
|
21836
|
-
function mP(C,
|
|
21837
|
+
function mP(C, w, z) {
|
|
21837
21838
|
return new i(
|
|
21838
21839
|
// @ts-ignore
|
|
21839
|
-
i.buildMessage(C,
|
|
21840
|
+
i.buildMessage(C, w),
|
|
21840
21841
|
// @ts-ignore
|
|
21841
21842
|
C,
|
|
21842
21843
|
// @ts-ignore
|
|
21843
|
-
|
|
21844
|
+
w,
|
|
21844
21845
|
// @ts-ignore
|
|
21845
21846
|
z
|
|
21846
21847
|
);
|
|
21847
21848
|
}
|
|
21848
21849
|
function Xa() {
|
|
21849
|
-
let C,
|
|
21850
|
+
let C, w, z, O, J, le, qe, Ee;
|
|
21850
21851
|
const At = E * 34 + 0, wt = ve[At];
|
|
21851
21852
|
if (wt)
|
|
21852
21853
|
return E = wt.nextPos, wt.result;
|
|
21853
|
-
if (C = E, Ke(),
|
|
21854
|
+
if (C = E, Ke(), w = gp(), w !== r) {
|
|
21854
21855
|
for (z = [], O = E, J = Ke(), le = j0(), le !== r ? (qe = Ke(), Ee = gp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
|
|
21855
21856
|
z.push(O), O = E, J = Ke(), le = j0(), le !== r ? (qe = Ke(), Ee = gp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
|
|
21856
|
-
O = Ke(), xe = C, C = pT(
|
|
21857
|
+
O = Ke(), xe = C, C = pT(w, z);
|
|
21857
21858
|
} else
|
|
21858
21859
|
E = C, C = r;
|
|
21859
21860
|
return ve[At] = { nextPos: E, result: C }, C;
|
|
21860
21861
|
}
|
|
21861
21862
|
function j0() {
|
|
21862
|
-
let C,
|
|
21863
|
+
let C, w;
|
|
21863
21864
|
const z = E * 34 + 1, O = ve[z];
|
|
21864
|
-
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === l ? (
|
|
21865
|
+
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === l ? (w = l, E += 2) : (w = r, he === 0 && ce(Z)), w === r && (w = t.substr(E, 2), w.toLowerCase() === u ? E += 2 : (w = r, he === 0 && ce(se))), w !== r && (xe = C, w = fT()), C = w, ve[z] = { nextPos: E, result: C }, C);
|
|
21865
21866
|
}
|
|
21866
21867
|
function gp() {
|
|
21867
|
-
let C,
|
|
21868
|
+
let C, w, z, O, J, le, qe, Ee;
|
|
21868
21869
|
const At = E * 34 + 2, wt = ve[At];
|
|
21869
21870
|
if (wt)
|
|
21870
21871
|
return E = wt.nextPos, wt.result;
|
|
21871
|
-
if (C = E,
|
|
21872
|
+
if (C = E, w = vp(), w !== r) {
|
|
21872
21873
|
for (z = [], O = E, J = Ke(), le = W0(), le !== r ? (qe = Ke(), Ee = vp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
|
|
21873
21874
|
z.push(O), O = E, J = Ke(), le = W0(), le !== r ? (qe = Ke(), Ee = vp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
|
|
21874
|
-
xe = C, C = mT(
|
|
21875
|
+
xe = C, C = mT(w, z);
|
|
21875
21876
|
} else
|
|
21876
21877
|
E = C, C = r;
|
|
21877
21878
|
return ve[At] = { nextPos: E, result: C }, C;
|
|
21878
21879
|
}
|
|
21879
21880
|
function W0() {
|
|
21880
|
-
let C,
|
|
21881
|
+
let C, w;
|
|
21881
21882
|
const z = E * 34 + 3, O = ve[z];
|
|
21882
|
-
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === h ? (
|
|
21883
|
+
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === h ? (w = h, E += 2) : (w = r, he === 0 && ce(X)), w === r && (w = t.substr(E, 3), w.toLowerCase() === c ? E += 3 : (w = r, he === 0 && ce(ae))), w !== r && (xe = C, w = gT()), C = w, ve[z] = { nextPos: E, result: C }, C);
|
|
21883
21884
|
}
|
|
21884
21885
|
function vp() {
|
|
21885
|
-
let C,
|
|
21886
|
+
let C, w, z, O, J, le, qe, Ee;
|
|
21886
21887
|
const At = E * 34 + 4, wt = ve[At];
|
|
21887
21888
|
if (wt)
|
|
21888
21889
|
return E = wt.nextPos, wt.result;
|
|
21889
|
-
if (C = E,
|
|
21890
|
+
if (C = E, w = yp(), w !== r) {
|
|
21890
21891
|
for (z = [], O = E, J = Ke(), le = G0(), le !== r ? (qe = Ke(), Ee = yp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
|
|
21891
21892
|
z.push(O), O = E, J = Ke(), le = G0(), le !== r ? (qe = Ke(), Ee = yp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
|
|
21892
|
-
xe = C, C = vT(
|
|
21893
|
+
xe = C, C = vT(w, z);
|
|
21893
21894
|
} else
|
|
21894
21895
|
E = C, C = r;
|
|
21895
21896
|
return ve[At] = { nextPos: E, result: C }, C;
|
|
21896
21897
|
}
|
|
21897
21898
|
function G0() {
|
|
21898
|
-
let C,
|
|
21899
|
+
let C, w;
|
|
21899
21900
|
const z = E * 34 + 5, O = ve[z];
|
|
21900
|
-
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === d ? (
|
|
21901
|
+
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === d ? (w = d, E += 2) : (w = r, he === 0 && ce(de)), w === r && (w = t.substr(E, 11), w.toLowerCase() === f ? E += 11 : (w = r, he === 0 && ce(Ae))), w !== r && (xe = C, w = yT()), C = w, C === r && (C = E, t.substr(E, 2) === y ? (w = y, E += 2) : (w = r, he === 0 && ce(je)), w === r && (w = t.substr(E, 14), w.toLowerCase() === v ? E += 14 : (w = r, he === 0 && ce(as))), w !== r && (xe = C, w = CT()), C = w, C === r && (C = E, t.substr(E, 2) === m ? (w = m, E += 2) : (w = r, he === 0 && ce(Rs)), w === r && (w = t.substr(E, 5), w.toLowerCase() === g ? E += 5 : (w = r, he === 0 && ce(zr))), w !== r && (xe = C, w = bT()), C = w, C === r && (C = E, t.charCodeAt(E) === 61 ? (w = b, E++) : (w = r, he === 0 && ce(Za)), w === r && (w = t.substr(E, 5), w.toLowerCase() === g ? E += 5 : (w = r, he === 0 && ce(zr))), w !== r && (xe = C, w = wT()), C = w, C === r && (C = E, t.substr(E, 2) === x ? (w = x, E += 2) : (w = r, he === 0 && ce(pa)), w === r && (w = t.substr(E, 8), w.toLowerCase() === T ? E += 8 : (w = r, he === 0 && ce(op))), w !== r && (xe = C, w = xT()), C = w, C === r && (C = E, t.charCodeAt(E) === 60 ? (w = R, E++) : (w = r, he === 0 && ce(Bu)), w === r && (w = t.substr(E, 4), w.toLowerCase() === A ? E += 4 : (w = r, he === 0 && ce($u))), w !== r && (xe = C, w = ET()), C = w, C === r && (C = E, t.charCodeAt(E) === 62 ? (w = D, E++) : (w = r, he === 0 && ce(lp)), w === r && (w = t.substr(E, 7), w.toLowerCase() === V ? E += 7 : (w = r, he === 0 && ce(up))), w !== r && (xe = C, w = VT()), C = w)))))), ve[z] = { nextPos: E, result: C }, C);
|
|
21901
21902
|
}
|
|
21902
21903
|
function yp() {
|
|
21903
|
-
let C,
|
|
21904
|
+
let C, w, z, O, J, le, qe, Ee;
|
|
21904
21905
|
const At = E * 34 + 6, wt = ve[At];
|
|
21905
21906
|
if (wt)
|
|
21906
21907
|
return E = wt.nextPos, wt.result;
|
|
21907
|
-
if (C = E,
|
|
21908
|
+
if (C = E, w = Cp(), w !== r) {
|
|
21908
21909
|
for (z = [], O = E, J = Ke(), le = K0(), le !== r ? (qe = Ke(), Ee = Cp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
|
|
21909
21910
|
z.push(O), O = E, J = Ke(), le = K0(), le !== r ? (qe = Ke(), Ee = Cp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
|
|
21910
|
-
xe = C, C = ST(
|
|
21911
|
+
xe = C, C = ST(w, z);
|
|
21911
21912
|
} else
|
|
21912
21913
|
E = C, C = r;
|
|
21913
21914
|
return ve[At] = { nextPos: E, result: C }, C;
|
|
21914
21915
|
}
|
|
21915
21916
|
function K0() {
|
|
21916
|
-
let C,
|
|
21917
|
+
let C, w;
|
|
21917
21918
|
const z = E * 34 + 7, O = ve[z];
|
|
21918
|
-
return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 43 ? (
|
|
21919
|
+
return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 43 ? (w = _, E++) : (w = r, he === 0 && ce(Hu)), w !== r && (xe = C, w = TT()), C = w, C === r && (C = E, t.charCodeAt(E) === 45 ? (w = N, E++) : (w = r, he === 0 && ce(Qu)), w !== r && (xe = C, w = PT()), C = w), ve[z] = { nextPos: E, result: C }, C);
|
|
21919
21920
|
}
|
|
21920
21921
|
function Cp() {
|
|
21921
|
-
let C,
|
|
21922
|
+
let C, w, z, O, J, le, qe, Ee;
|
|
21922
21923
|
const At = E * 34 + 8, wt = ve[At];
|
|
21923
21924
|
if (wt)
|
|
21924
21925
|
return E = wt.nextPos, wt.result;
|
|
21925
|
-
if (C = E,
|
|
21926
|
+
if (C = E, w = bp(), w !== r) {
|
|
21926
21927
|
for (z = [], O = E, J = Ke(), le = Z0(), le !== r ? (qe = Ke(), Ee = bp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
|
|
21927
21928
|
z.push(O), O = E, J = Ke(), le = Z0(), le !== r ? (qe = Ke(), Ee = bp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
|
|
21928
|
-
xe = C, C = IT(
|
|
21929
|
+
xe = C, C = IT(w, z);
|
|
21929
21930
|
} else
|
|
21930
21931
|
E = C, C = r;
|
|
21931
21932
|
return ve[At] = { nextPos: E, result: C }, C;
|
|
21932
21933
|
}
|
|
21933
21934
|
function Z0() {
|
|
21934
|
-
let C,
|
|
21935
|
+
let C, w;
|
|
21935
21936
|
const z = E * 34 + 9, O = ve[z];
|
|
21936
|
-
return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 42 ? (
|
|
21937
|
+
return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 42 ? (w = q, E++) : (w = r, he === 0 && ce(hp)), w !== r && (xe = C, w = RT()), C = w, C === r && (C = E, t.charCodeAt(E) === 47 ? (w = Q, E++) : (w = r, he === 0 && ce(cp)), w !== r && (xe = C, w = AT()), C = w, C === r && (C = E, t.charCodeAt(E) === 37 ? (w = L, E++) : (w = r, he === 0 && ce(dp)), w !== r && (xe = C, w = LT()), C = w)), ve[z] = { nextPos: E, result: C }, C);
|
|
21937
21938
|
}
|
|
21938
21939
|
function bp() {
|
|
21939
|
-
let C,
|
|
21940
|
+
let C, w, z, O, J, le, qe, Ee;
|
|
21940
21941
|
const At = E * 34 + 10, wt = ve[At];
|
|
21941
21942
|
if (wt)
|
|
21942
21943
|
return E = wt.nextPos, wt.result;
|
|
21943
|
-
if (C = E,
|
|
21944
|
+
if (C = E, w = wp(), w !== r) {
|
|
21944
21945
|
for (z = [], O = E, J = Ke(), le = J0(), le !== r ? (qe = Ke(), Ee = wp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
|
|
21945
21946
|
z.push(O), O = E, J = Ke(), le = J0(), le !== r ? (qe = Ke(), Ee = wp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
|
|
21946
|
-
xe = C, C = _T(
|
|
21947
|
+
xe = C, C = _T(w, z);
|
|
21947
21948
|
} else
|
|
21948
21949
|
E = C, C = r;
|
|
21949
21950
|
return ve[At] = { nextPos: E, result: C }, C;
|
|
21950
21951
|
}
|
|
21951
21952
|
function J0() {
|
|
21952
|
-
let C,
|
|
21953
|
+
let C, w;
|
|
21953
21954
|
const z = E * 34 + 11, O = ve[z];
|
|
21954
|
-
return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 94 ? (
|
|
21955
|
+
return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 94 ? (w = B, E++) : (w = r, he === 0 && ce(pp)), w === r && (w = t.substr(E, 5), w.toLowerCase() === H ? E += 5 : (w = r, he === 0 && ce(M))), w !== r && (xe = C, w = DT()), C = w, ve[z] = { nextPos: E, result: C }, C);
|
|
21955
21956
|
}
|
|
21956
21957
|
function wp() {
|
|
21957
|
-
let C,
|
|
21958
|
+
let C, w, z, O, J, le, qe, Ee;
|
|
21958
21959
|
const At = E * 34 + 12, wt = ve[At];
|
|
21959
21960
|
if (wt)
|
|
21960
21961
|
return E = wt.nextPos, wt.result;
|
|
21961
|
-
if (C = E,
|
|
21962
|
+
if (C = E, w = zu(), w !== r) {
|
|
21962
21963
|
for (z = [], O = E, J = Ke(), le = Y0(), le !== r ? (qe = Ke(), Ee = zu(), Ee === r && (Ee = null), J = [J, le, qe, Ee], O = J) : (E = O, O = r); O !== r; )
|
|
21963
21964
|
z.push(O), O = E, J = Ke(), le = Y0(), le !== r ? (qe = Ke(), Ee = zu(), Ee === r && (Ee = null), J = [J, le, qe, Ee], O = J) : (E = O, O = r);
|
|
21964
|
-
xe = C, C = kT(
|
|
21965
|
+
xe = C, C = kT(w, z);
|
|
21965
21966
|
} else
|
|
21966
21967
|
E = C, C = r;
|
|
21967
21968
|
return ve[At] = { nextPos: E, result: C }, C;
|
|
21968
21969
|
}
|
|
21969
21970
|
function Y0() {
|
|
21970
|
-
let C,
|
|
21971
|
+
let C, w;
|
|
21971
21972
|
const z = E * 34 + 13, O = ve[z];
|
|
21972
|
-
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === $ ? (
|
|
21973
|
+
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === $ ? (w = $, E += 2) : (w = r, he === 0 && ce(ie)), w === r && (w = t.substr(E, 8), w.toLowerCase() === j ? E += 8 : (w = r, he === 0 && ce(me)), w === r && (w = t.substr(E, 7), w.toLowerCase() === G ? E += 7 : (w = r, he === 0 && ce(Fe)))), w !== r && (xe = C, w = OT()), C = w, C === r && (C = E, w = t.substr(E, 11), w.toLowerCase() === ne ? E += 11 : (w = r, he === 0 && ce(bt)), w === r && (w = t.substr(E, 10), w.toLowerCase() === Y ? E += 10 : (w = r, he === 0 && ce(Pt))), w !== r && (xe = C, w = MT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === oe ? E += 5 : (w = r, he === 0 && ce(it)), w !== r && (xe = C, w = NT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === re ? E += 5 : (w = r, he === 0 && ce(Ye)), w !== r && (xe = C, w = FT()), C = w, C === r && (C = E, w = t.substr(E, 6), w.toLowerCase() === ue ? E += 6 : (w = r, he === 0 && ce(As)), w !== r && (xe = C, w = qT()), C = w)))), ve[z] = { nextPos: E, result: C }, C);
|
|
21973
21974
|
}
|
|
21974
21975
|
function zu() {
|
|
21975
|
-
let C,
|
|
21976
|
+
let C, w, z;
|
|
21976
21977
|
const O = E * 34 + 14, J = ve[O];
|
|
21977
|
-
return J ? (E = J.nextPos, J.result) : (C = E, t.charCodeAt(E) === 40 ? (
|
|
21978
|
+
return J ? (E = J.nextPos, J.result) : (C = E, t.charCodeAt(E) === 40 ? (w = Ie, E++) : (w = r, he === 0 && ce(jt)), w !== r ? (Ke(), z = Xa(), z !== r ? (Ke(), t.charCodeAt(E) === 41 ? E++ : he === 0 && ce(Kt), xe = C, C = z) : (E = C, C = r)) : (E = C, C = r), C === r && (C = gP(), C === r && (C = vP(), C === r && (C = X0(), C === r && (C = bP())))), ve[O] = { nextPos: E, result: C }, C);
|
|
21978
21979
|
}
|
|
21979
21980
|
function gP() {
|
|
21980
|
-
let C,
|
|
21981
|
+
let C, w, z, O;
|
|
21981
21982
|
const J = E * 34 + 15, le = ve[J];
|
|
21982
|
-
return le ? (E = le.nextPos, le.result) : (C = E,
|
|
21983
|
+
return le ? (E = le.nextPos, le.result) : (C = E, w = r1(), w !== r ? (t.charCodeAt(E) === 40 ? (z = Ie, E++) : (z = r, he === 0 && ce(jt)), z !== r ? (O = e1(), t.charCodeAt(E) === 41 ? E++ : he === 0 && ce(Kt), xe = C, C = BT(w, O)) : (E = C, C = r)) : (E = C, C = r), ve[J] = { nextPos: E, result: C }, C);
|
|
21983
21984
|
}
|
|
21984
21985
|
function vP() {
|
|
21985
|
-
let C,
|
|
21986
|
+
let C, w, z;
|
|
21986
21987
|
const O = E * 34 + 16, J = ve[O];
|
|
21987
|
-
return J ? (E = J.nextPos, J.result) : (C = E, t.charCodeAt(E) === 33 ? (
|
|
21988
|
+
return J ? (E = J.nextPos, J.result) : (C = E, t.charCodeAt(E) === 33 ? (w = ge, E++) : (w = r, he === 0 && ce(si)), w === r && (w = t.substr(E, 6), w.toLowerCase() === te ? E += 6 : (w = r, he === 0 && ce(bn))), w !== r ? (Ke(), z = zu(), z !== r ? (xe = C, C = $T(z)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, w = X0(), w !== r ? (Ke(), z = yP(), z !== r ? (xe = C, C = HT(w, z)) : (E = C, C = r)) : (E = C, C = r)), ve[O] = { nextPos: E, result: C }, C);
|
|
21988
21989
|
}
|
|
21989
21990
|
function yP() {
|
|
21990
|
-
let C,
|
|
21991
|
+
let C, w;
|
|
21991
21992
|
const z = E * 34 + 17, O = ve[z];
|
|
21992
|
-
return O ? (E = O.nextPos, O.result) : (C = E,
|
|
21993
|
+
return O ? (E = O.nextPos, O.result) : (C = E, w = t.substr(E, 5), w.toLowerCase() === we ? E += 5 : (w = r, he === 0 && ce(jr)), w !== r && (xe = C, w = QT()), C = w, C === r && (C = E, w = t.substr(E, 8), w.toLowerCase() === et ? E += 8 : (w = r, he === 0 && ce($s)), w !== r && (xe = C, w = UT()), C = w), ve[z] = { nextPos: E, result: C }, C);
|
|
21993
21994
|
}
|
|
21994
21995
|
function X0() {
|
|
21995
|
-
let C,
|
|
21996
|
+
let C, w, z, O;
|
|
21996
21997
|
const J = E * 34 + 18, le = ve[J];
|
|
21997
|
-
return le ? (E = le.nextPos, le.result) : (C = E, Ke(), t.substr(E, 9) === Yt ? (
|
|
21998
|
+
return le ? (E = le.nextPos, le.result) : (C = E, Ke(), t.substr(E, 9) === Yt ? (w = Yt, E += 9) : (w = r, he === 0 && ce(cl)), w === r && (t.substr(E, 4) === Gt ? (w = Gt, E += 4) : (w = r, he === 0 && ce(fp))), w !== r ? (xe = C, C = zT()) : (E = C, C = r), C === r && (C = E, Ke(), w = CP(), w !== r ? (xe = C, C = jT(w)) : (E = C, C = r), C === r && (C = E, Ke(), t.charCodeAt(E) === 123 ? (w = Is, E++) : (w = r, he === 0 && ce(mp)), w !== r ? (z = VP(), z !== r ? (t.charCodeAt(E) === 125 ? (O = Et, E++) : (O = r, he === 0 && ce(Y4)), O !== r ? (xe = C, C = WT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r))), ve[J] = { nextPos: E, result: C }, C);
|
|
21998
21999
|
}
|
|
21999
22000
|
function CP() {
|
|
22000
|
-
let C,
|
|
22001
|
+
let C, w, z, O;
|
|
22001
22002
|
const J = E * 34 + 19, le = ve[J];
|
|
22002
|
-
return le ? (E = le.nextPos, le.result) : (C = E,
|
|
22003
|
+
return le ? (E = le.nextPos, le.result) : (C = E, w = wP(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, w = xP(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, w = r1(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, t.substr(E, 2) === cs ? (w = cs, E += 2) : (w = r, he === 0 && ce(X4)), w !== r && (xe = C, w = GT()), C = w, C === r && (C = E, t.substr(E, 2) === rs ? (w = rs, E += 2) : (w = r, he === 0 && ce(eT)), w !== r && (xe = C, w = KT()), C = w, C === r && (C = E, t.charCodeAt(E) === 39 ? (w = Le, E++) : (w = r, he === 0 && ce(N0)), w !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 39 ? (O = Le, E++) : (O = r, he === 0 && ce(N0)), O !== r ? (xe = C, C = ZT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, t.charCodeAt(E) === 34 ? (w = st, E++) : (w = r, he === 0 && ce(F0)), w !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 34 ? (O = st, E++) : (O = r, he === 0 && ce(F0)), O !== r ? (xe = C, C = JT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r))))))), ve[J] = { nextPos: E, result: C }, C);
|
|
22003
22004
|
}
|
|
22004
22005
|
function bP() {
|
|
22005
|
-
let C,
|
|
22006
|
+
let C, w, z, O;
|
|
22006
22007
|
const J = E * 34 + 20, le = ve[J];
|
|
22007
|
-
return le ? (E = le.nextPos, le.result) : (C = E, t.charCodeAt(E) === 91 ? (
|
|
22008
|
+
return le ? (E = le.nextPos, le.result) : (C = E, t.charCodeAt(E) === 91 ? (w = Mt, E++) : (w = r, he === 0 && ce(tT)), w !== r ? (z = e1(), t.charCodeAt(E) === 93 ? (O = zt, E++) : (O = r, he === 0 && ce(sT)), O !== r ? (xe = C, C = z) : (E = C, C = r)) : (E = C, C = r), ve[J] = { nextPos: E, result: C }, C);
|
|
22008
22009
|
}
|
|
22009
22010
|
function e1() {
|
|
22010
|
-
let C,
|
|
22011
|
+
let C, w, z, O, J, le, qe, Ee;
|
|
22011
22012
|
const At = E * 34 + 21, wt = ve[At];
|
|
22012
22013
|
if (wt)
|
|
22013
22014
|
return E = wt.nextPos, wt.result;
|
|
22014
|
-
for (C = E,
|
|
22015
|
+
for (C = E, w = Xa(), w === r && (w = null), z = [], O = E, J = Ke(), t.charCodeAt(E) === 44 ? (le = Ct, E++) : (le = r, he === 0 && ce(q0)), le !== r ? (qe = Ke(), Ee = Xa(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
|
|
22015
22016
|
z.push(O), O = E, J = Ke(), t.charCodeAt(E) === 44 ? (le = Ct, E++) : (le = r, he === 0 && ce(q0)), le !== r ? (qe = Ke(), Ee = Xa(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
|
|
22016
|
-
return xe = C, C = YT(
|
|
22017
|
+
return xe = C, C = YT(w, z), ve[At] = { nextPos: E, result: C }, C;
|
|
22017
22018
|
}
|
|
22018
22019
|
function wP() {
|
|
22019
|
-
let C,
|
|
22020
|
+
let C, w;
|
|
22020
22021
|
const z = E * 34 + 22, O = ve[z];
|
|
22021
|
-
return O ? (E = O.nextPos, O.result) : (C = E,
|
|
22022
|
+
return O ? (E = O.nextPos, O.result) : (C = E, w = t.substr(E, 4), w.toLowerCase() === _e ? E += 4 : (w = r, he === 0 && ce(iT)), w !== r && (xe = C, w = XT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === Ge ? E += 5 : (w = r, he === 0 && ce(rT)), w !== r && (xe = C, w = eP()), C = w), ve[z] = { nextPos: E, result: C }, C);
|
|
22022
22023
|
}
|
|
22023
22024
|
function xP() {
|
|
22024
|
-
let C,
|
|
22025
|
+
let C, w, z;
|
|
22025
22026
|
const O = E * 34 + 23, J = ve[O];
|
|
22026
|
-
return J ? (E = J.nextPos, J.result) : (C = E, t.substr(E, 2) === Te ? (
|
|
22027
|
+
return J ? (E = J.nextPos, J.result) : (C = E, t.substr(E, 2) === Te ? (w = Te, E += 2) : (w = r, he === 0 && ce(nT)), w !== r ? (z = eo(), z !== r ? (xe = C, C = tP()) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, w = t.charAt(E), js.test(w) ? E++ : (w = r, he === 0 && ce(aT)), w === r && (w = null), z = EP(), z !== r ? (xe = C, C = sP(w, z)) : (E = C, C = r)), ve[O] = { nextPos: E, result: C }, C);
|
|
22027
22028
|
}
|
|
22028
22029
|
function EP() {
|
|
22029
|
-
let C,
|
|
22030
|
+
let C, w, z, O;
|
|
22030
22031
|
const J = E * 34 + 24, le = ve[J];
|
|
22031
|
-
return le ? (E = le.nextPos, le.result) : (C = E,
|
|
22032
|
+
return le ? (E = le.nextPos, le.result) : (C = E, w = eo(), w !== r ? (t.charCodeAt(E) === 46 ? (z = ns, E++) : (z = r, he === 0 && ce(oT)), z !== r ? (O = eo(), O !== r ? (xe = C, C = iP()) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, w = SP(), w !== r ? (z = eo(), z === r && (z = null), xe = C, C = rP()) : (E = C, C = r), C === r && (C = E, t.charCodeAt(E) === 48 ? (w = bs, E++) : (w = r, he === 0 && ce(lT)), w !== r && (xe = C, w = nP()), C = w)), ve[J] = { nextPos: E, result: C }, C);
|
|
22032
22033
|
}
|
|
22033
22034
|
function VP() {
|
|
22034
|
-
let C,
|
|
22035
|
+
let C, w, z;
|
|
22035
22036
|
const O = E * 34 + 25, J = ve[O];
|
|
22036
22037
|
if (J)
|
|
22037
22038
|
return E = J.nextPos, J.result;
|
|
22038
|
-
if (C = E,
|
|
22039
|
+
if (C = E, w = [], z = i1(), z !== r)
|
|
22039
22040
|
for (; z !== r; )
|
|
22040
|
-
|
|
22041
|
+
w.push(z), z = i1();
|
|
22041
22042
|
else
|
|
22042
|
-
|
|
22043
|
-
return
|
|
22043
|
+
w = r;
|
|
22044
|
+
return w !== r && (xe = C, w = aP(w)), C = w, ve[O] = { nextPos: E, result: C }, C;
|
|
22044
22045
|
}
|
|
22045
22046
|
function t1() {
|
|
22046
|
-
let C,
|
|
22047
|
+
let C, w, z;
|
|
22047
22048
|
const O = E * 34 + 26, J = ve[O];
|
|
22048
22049
|
if (J)
|
|
22049
22050
|
return E = J.nextPos, J.result;
|
|
22050
|
-
if (C = E,
|
|
22051
|
+
if (C = E, w = [], z = s1(), z !== r)
|
|
22051
22052
|
for (; z !== r; )
|
|
22052
|
-
|
|
22053
|
+
w.push(z), z = s1();
|
|
22053
22054
|
else
|
|
22054
|
-
|
|
22055
|
-
return
|
|
22055
|
+
w = r;
|
|
22056
|
+
return w !== r && (xe = C, w = oP(w)), C = w, ve[O] = { nextPos: E, result: C }, C;
|
|
22056
22057
|
}
|
|
22057
22058
|
function s1() {
|
|
22058
|
-
let C,
|
|
22059
|
+
let C, w;
|
|
22059
22060
|
const z = E * 34 + 27, O = ve[z];
|
|
22060
|
-
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === ws ? (
|
|
22061
|
+
return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === ws ? (w = ws, E += 2) : (w = r, he === 0 && ce(uT)), w !== r && (xe = C, w = lP()), C = w, C === r && (C = E, t.substr(E, 2) === Ur ? (w = Ur, E += 2) : (w = r, he === 0 && ce(hT)), w !== r && (xe = C, w = uP()), C = w, C === r && (C = E, w = t.charAt(E), Ws.test(w) ? E++ : (w = r, he === 0 && ce(cT)), w !== r && (xe = C, w = hP()), C = w)), ve[z] = { nextPos: E, result: C }, C);
|
|
22061
22062
|
}
|
|
22062
22063
|
function i1() {
|
|
22063
|
-
let C,
|
|
22064
|
+
let C, w;
|
|
22064
22065
|
const z = E * 34 + 28, O = ve[z];
|
|
22065
|
-
return O ? (E = O.nextPos, O.result) : (C = E,
|
|
22066
|
+
return O ? (E = O.nextPos, O.result) : (C = E, w = t.charAt(E), _i.test(w) ? E++ : (w = r, he === 0 && ce(dT)), w !== r && (xe = C, w = cP()), C = w, ve[z] = { nextPos: E, result: C }, C);
|
|
22066
22067
|
}
|
|
22067
22068
|
function r1() {
|
|
22068
|
-
let C,
|
|
22069
|
+
let C, w, z, O, J, le, qe;
|
|
22069
22070
|
const Ee = E * 34 + 29, At = ve[Ee];
|
|
22070
22071
|
if (At)
|
|
22071
22072
|
return E = At.nextPos, At.result;
|
|
22072
|
-
if (C = E,
|
|
22073
|
+
if (C = E, w = pl(), w !== r) {
|
|
22073
22074
|
if (z = [], O = E, J = eo(), J !== r) {
|
|
22074
22075
|
for (le = [], qe = pl(); qe !== r; )
|
|
22075
22076
|
le.push(qe), qe = pl();
|
|
@@ -22089,52 +22090,52 @@ const Vv = (
|
|
|
22089
22090
|
return ve[Ee] = { nextPos: E, result: C }, C;
|
|
22090
22091
|
}
|
|
22091
22092
|
function eo() {
|
|
22092
|
-
let C,
|
|
22093
|
+
let C, w;
|
|
22093
22094
|
const z = E * 34 + 30, O = ve[z];
|
|
22094
22095
|
if (O)
|
|
22095
22096
|
return E = O.nextPos, O.result;
|
|
22096
|
-
if (C = [],
|
|
22097
|
-
for (;
|
|
22098
|
-
C.push(
|
|
22097
|
+
if (C = [], w = t.charAt(E), Gs.test(w) ? E++ : (w = r, he === 0 && ce(B0)), w !== r)
|
|
22098
|
+
for (; w !== r; )
|
|
22099
|
+
C.push(w), w = t.charAt(E), Gs.test(w) ? E++ : (w = r, he === 0 && ce(B0));
|
|
22099
22100
|
else
|
|
22100
22101
|
C = r;
|
|
22101
22102
|
return ve[z] = { nextPos: E, result: C }, C;
|
|
22102
22103
|
}
|
|
22103
22104
|
function SP() {
|
|
22104
|
-
let C,
|
|
22105
|
+
let C, w;
|
|
22105
22106
|
const z = E * 34 + 31, O = ve[z];
|
|
22106
22107
|
if (O)
|
|
22107
22108
|
return E = O.nextPos, O.result;
|
|
22108
|
-
if (C = [],
|
|
22109
|
-
for (;
|
|
22110
|
-
C.push(
|
|
22109
|
+
if (C = [], w = t.charAt(E), Di.test(w) ? E++ : (w = r, he === 0 && ce($0)), w !== r)
|
|
22110
|
+
for (; w !== r; )
|
|
22111
|
+
C.push(w), w = t.charAt(E), Di.test(w) ? E++ : (w = r, he === 0 && ce($0));
|
|
22111
22112
|
else
|
|
22112
22113
|
C = r;
|
|
22113
22114
|
return ve[z] = { nextPos: E, result: C }, C;
|
|
22114
22115
|
}
|
|
22115
22116
|
function pl() {
|
|
22116
|
-
let C,
|
|
22117
|
+
let C, w;
|
|
22117
22118
|
const z = E * 34 + 32, O = ve[z];
|
|
22118
22119
|
if (O)
|
|
22119
22120
|
return E = O.nextPos, O.result;
|
|
22120
|
-
if (C = [],
|
|
22121
|
-
for (;
|
|
22122
|
-
C.push(
|
|
22121
|
+
if (C = [], w = t.charAt(E), da.test(w) ? E++ : (w = r, he === 0 && ce(H0)), w !== r)
|
|
22122
|
+
for (; w !== r; )
|
|
22123
|
+
C.push(w), w = t.charAt(E), da.test(w) ? E++ : (w = r, he === 0 && ce(H0));
|
|
22123
22124
|
else
|
|
22124
22125
|
C = r;
|
|
22125
22126
|
return ve[z] = { nextPos: E, result: C }, C;
|
|
22126
22127
|
}
|
|
22127
22128
|
function Ke() {
|
|
22128
|
-
let C,
|
|
22129
|
+
let C, w;
|
|
22129
22130
|
const z = E * 34 + 33, O = ve[z];
|
|
22130
22131
|
if (O)
|
|
22131
22132
|
return E = O.nextPos, O.result;
|
|
22132
|
-
for (he++, C = [],
|
|
22133
|
-
C.push(
|
|
22133
|
+
for (he++, C = [], w = t.charAt(E), Cn.test(w) ? E++ : (w = r, he === 0 && ce(Q0)); w !== r; )
|
|
22134
|
+
C.push(w), w = t.charAt(E), Cn.test(w) ? E++ : (w = r, he === 0 && ce(Q0));
|
|
22134
22135
|
return he--, ve[z] = { nextPos: E, result: C }, C;
|
|
22135
22136
|
}
|
|
22136
|
-
function ma(C,
|
|
22137
|
-
return
|
|
22137
|
+
function ma(C, w, z = !1) {
|
|
22138
|
+
return w.reduce(
|
|
22138
22139
|
// @ts-ignore
|
|
22139
22140
|
function(O, J) {
|
|
22140
22141
|
return new Ooe(J[1], O, J[3], z);
|
|
@@ -26726,8 +26727,8 @@ function vle(i, e, t) {
|
|
|
26726
26727
|
});
|
|
26727
26728
|
const u = [];
|
|
26728
26729
|
n.forEach((m, g) => {
|
|
26729
|
-
const
|
|
26730
|
-
|
|
26730
|
+
const b = a.get(g), x = r.get(g);
|
|
26731
|
+
b !== m && u.push({ item: x, movedForward: b < m });
|
|
26731
26732
|
});
|
|
26732
26733
|
const h = new Array(i.length);
|
|
26733
26734
|
let c = 0;
|
|
@@ -26743,8 +26744,8 @@ function vle(i, e, t) {
|
|
|
26743
26744
|
});
|
|
26744
26745
|
const v = new Array();
|
|
26745
26746
|
return r.forEach((m, g) => {
|
|
26746
|
-
f.has(g) && f.get(g).forEach((
|
|
26747
|
-
v.push(
|
|
26747
|
+
f.has(g) && f.get(g).forEach((b) => {
|
|
26748
|
+
v.push(b);
|
|
26748
26749
|
}), v.push(m);
|
|
26749
26750
|
}), y.forEach((m) => {
|
|
26750
26751
|
v.push(m);
|
|
@@ -58079,10 +58080,10 @@ class kt extends Vs {
|
|
|
58079
58080
|
let s = this.value == e.value;
|
|
58080
58081
|
this.isStar && (this.useRateValues() ? s = this.rateValues.indexOf(this.rateValues.filter((D) => D.value == this.value)[0]) >= this.rateValues.indexOf(e) : s = this.value >= e.value);
|
|
58081
58082
|
const n = !(this.isReadOnly || !e.isEnabled) && this.value != e.value && !(this.survey && this.survey.isDesignMode), a = this.renderedRateItems.filter((D) => D.itemValue == e)[0], o = this.isStar && (a == null ? void 0 : a.highlight) == "highlighted", l = this.isStar && (a == null ? void 0 : a.highlight) == "unhighlighted";
|
|
58082
|
-
let u = this.cssClasses.item, h = this.cssClasses.selected, c = this.cssClasses.itemDisabled, d = this.cssClasses.itemReadOnly, f = this.cssClasses.itemPreview, y = this.cssClasses.itemHover, v = this.cssClasses.itemOnError, m = null, g = null,
|
|
58083
|
-
this.isStar && (u = this.cssClasses.itemStar, h = this.cssClasses.itemStarSelected, c = this.cssClasses.itemStarDisabled, d = this.cssClasses.itemStarReadOnly, f = this.cssClasses.itemStarPreview, y = this.cssClasses.itemStarHover, v = this.cssClasses.itemStarOnError, m = this.cssClasses.itemStarHighlighted, g = this.cssClasses.itemStarUnhighlighted, T = this.cssClasses.itemStarSmall), this.isSmiley && (u = this.cssClasses.itemSmiley, h = this.cssClasses.itemSmileySelected, c = this.cssClasses.itemSmileyDisabled, d = this.cssClasses.itemSmileyReadOnly, f = this.cssClasses.itemSmileyPreview, y = this.cssClasses.itemSmileyHover, v = this.cssClasses.itemSmileyOnError, m = this.cssClasses.itemSmileyHighlighted,
|
|
58084
|
-
const
|
|
58085
|
-
return
|
|
58083
|
+
let u = this.cssClasses.item, h = this.cssClasses.selected, c = this.cssClasses.itemDisabled, d = this.cssClasses.itemReadOnly, f = this.cssClasses.itemPreview, y = this.cssClasses.itemHover, v = this.cssClasses.itemOnError, m = null, g = null, b = null, x = null, T = null;
|
|
58084
|
+
this.isStar && (u = this.cssClasses.itemStar, h = this.cssClasses.itemStarSelected, c = this.cssClasses.itemStarDisabled, d = this.cssClasses.itemStarReadOnly, f = this.cssClasses.itemStarPreview, y = this.cssClasses.itemStarHover, v = this.cssClasses.itemStarOnError, m = this.cssClasses.itemStarHighlighted, g = this.cssClasses.itemStarUnhighlighted, T = this.cssClasses.itemStarSmall), this.isSmiley && (u = this.cssClasses.itemSmiley, h = this.cssClasses.itemSmileySelected, c = this.cssClasses.itemSmileyDisabled, d = this.cssClasses.itemSmileyReadOnly, f = this.cssClasses.itemSmileyPreview, y = this.cssClasses.itemSmileyHover, v = this.cssClasses.itemSmileyOnError, m = this.cssClasses.itemSmileyHighlighted, b = this.cssClasses.itemSmileyScaleColored, x = this.cssClasses.itemSmileyRateColored, T = this.cssClasses.itemSmileySmall);
|
|
58085
|
+
const R = !this.isStar && !this.isSmiley && (!this.displayRateDescriptionsAsExtremeItems || this.useRateValues() && e != this.rateValues[0] && e != this.rateValues[this.rateValues.length - 1] || !this.useRateValues() && e.value != this.rateMin && e.value != this.rateMax) && e.locText.calculatedText.length <= 2 && Number.isInteger(Number(e.locText.calculatedText)), A = { item: e, css: "" };
|
|
58086
|
+
return A.css = new W().append(u).append(h, s).append(c, this.isDisabledStyle).append(d, this.isReadOnlyStyle).append(f, this.isPreviewStyle).append(y, n).append(m, o).append(b, this.scaleColorMode == "colored").append(x, this.rateColorMode == "scale" && s).append(g, l).append(v, this.hasCssError()).append(T, this.itemSmallMode).append(this.cssClasses.itemFixedSize, R).toString(), this.survey && this.survey.updateChoiceItemCss(this, A), A.css;
|
|
58086
58087
|
}
|
|
58087
58088
|
//methods for mobile view
|
|
58088
58089
|
getControlClass() {
|
|
@@ -63718,21 +63719,21 @@ class Ud extends yn {
|
|
|
63718
63719
|
y = Math.ceil(Math.min(...x.filter((T) => typeof T == "number"))), m = wr.updateVerticalPosition(n, y, this.model.horizontalPosition, this.model.verticalPosition, r.height), g = wr.updateHorizontalPosition(n, v, g, r.width);
|
|
63719
63720
|
}
|
|
63720
63721
|
this.popupDirection = wr.calculatePopupDirection(m, g);
|
|
63721
|
-
const
|
|
63722
|
+
const b = wr.calculatePosition(n, y, v + h + c, m, g, this.model.positionMode);
|
|
63722
63723
|
if (Ce.isAvailable()) {
|
|
63723
|
-
const x = wr.getCorrectedVerticalDimensions(
|
|
63724
|
-
if (x && (this.height = x.height + "px",
|
|
63725
|
-
this.width = n.width + "px",
|
|
63724
|
+
const x = wr.getCorrectedVerticalDimensions(b.top, y, r.height, m, this.model.canShrink, { top: d, bottom: f });
|
|
63725
|
+
if (x && (this.height = x.height + "px", b.top = x.top), this.model.setWidthByTarget)
|
|
63726
|
+
this.width = n.width + "px", b.left = n.left;
|
|
63726
63727
|
else {
|
|
63727
|
-
const T = wr.updateHorizontalDimensions(
|
|
63728
|
-
T && (this.width = T.width ? T.width + "px" : void 0,
|
|
63728
|
+
const T = wr.updateHorizontalDimensions(b.left, v, Ce.getInnerWidth(), g, this.model.positionMode, { left: h, right: c });
|
|
63729
|
+
T && (this.width = T.width ? T.width + "px" : void 0, b.left = T.left);
|
|
63729
63730
|
}
|
|
63730
63731
|
}
|
|
63731
63732
|
if (o) {
|
|
63732
63733
|
const x = o.getBoundingClientRect();
|
|
63733
|
-
|
|
63734
|
+
b.top -= x.top, b.left -= x.left;
|
|
63734
63735
|
}
|
|
63735
|
-
this.showHeader && (this.pointerTarget = wr.calculatePointerTarget(n,
|
|
63736
|
+
this.showHeader && (this.pointerTarget = wr.calculatePointerTarget(n, b.top, b.left, m, g, h, c), this.pointerTarget.top += "px", this.pointerTarget.left += "px"), b.left += r.left, b.top += r.top, this.left = b.left + "px", this.top = b.top + "px";
|
|
63736
63737
|
}
|
|
63737
63738
|
getActualHorizontalPosition() {
|
|
63738
63739
|
let e = this.model.horizontalPosition;
|
|
@@ -69437,16 +69438,16 @@ class hce extends Cs {
|
|
|
69437
69438
|
}
|
|
69438
69439
|
getInput(e) {
|
|
69439
69440
|
const { renderedMax: t, renderedMin: s, step: r, cssClasses: n, isDisabledAttr: a, renderedValue: o, handleOnChange: l, handlePointerDown: u, handlePointerUp: h, handleKeyDown: c, handleKeyUp: d, handleOnFocus: f, handleOnBlur: y, id: v } = this.question, m = o[e];
|
|
69440
|
-
return p.createElement("input", { className: n.input, id: v + "-sjs-slider-input-" + e, type: "range", min: s, max: t, step: r, value: m, onChange: (
|
|
69441
|
-
l(
|
|
69442
|
-
}, onPointerDown: (
|
|
69443
|
-
u(
|
|
69444
|
-
}, onPointerUp: (
|
|
69445
|
-
|
|
69446
|
-
}, onKeyDown: (
|
|
69447
|
-
c(
|
|
69448
|
-
}, onKeyUp: (
|
|
69449
|
-
d(
|
|
69441
|
+
return p.createElement("input", { className: n.input, id: v + "-sjs-slider-input-" + e, type: "range", min: s, max: t, step: r, value: m, onChange: (b) => {
|
|
69442
|
+
l(b.nativeEvent, e);
|
|
69443
|
+
}, onPointerDown: (b) => {
|
|
69444
|
+
u(b.nativeEvent);
|
|
69445
|
+
}, onPointerUp: (b) => {
|
|
69446
|
+
b.stopPropagation(), h(b.nativeEvent);
|
|
69447
|
+
}, onKeyDown: (b) => {
|
|
69448
|
+
c(b.nativeEvent);
|
|
69449
|
+
}, onKeyUp: (b) => {
|
|
69450
|
+
d(b.nativeEvent);
|
|
69450
69451
|
}, onFocus: () => {
|
|
69451
69452
|
f(e);
|
|
69452
69453
|
}, onBlur: () => {
|
|
@@ -70759,15 +70760,15 @@ function r3(i) {
|
|
|
70759
70760
|
v = Promise.reject(g);
|
|
70760
70761
|
}
|
|
70761
70762
|
Promise.resolve(v).then(c).catch((g) => {
|
|
70762
|
-
var
|
|
70763
|
+
var A;
|
|
70763
70764
|
if (s)
|
|
70764
70765
|
return;
|
|
70765
|
-
const
|
|
70766
|
-
if (e || !
|
|
70766
|
+
const b = i.retry ?? (Zd ? 0 : 3), x = i.retryDelay ?? ede, T = typeof x == "function" ? x(t, g) : x, R = b === !0 || typeof b == "number" && t < b || typeof b == "function" && b(t, g);
|
|
70767
|
+
if (e || !R) {
|
|
70767
70768
|
d(g);
|
|
70768
70769
|
return;
|
|
70769
70770
|
}
|
|
70770
|
-
t++, (
|
|
70771
|
+
t++, (A = i.onFail) == null || A.call(i, t, g), Wce(T).then(() => u() ? void 0 : f()).then(() => {
|
|
70771
70772
|
e ? d(g) : y();
|
|
70772
70773
|
});
|
|
70773
70774
|
});
|
|
@@ -71254,7 +71255,7 @@ var Er, Dx, nde = (Dx = class extends Du {
|
|
|
71254
71255
|
this.execute(this.state.variables);
|
|
71255
71256
|
}
|
|
71256
71257
|
async execute(e) {
|
|
71257
|
-
var r, n, a, o, l, u, h, c, d, f, y, v, m, g,
|
|
71258
|
+
var r, n, a, o, l, u, h, c, d, f, y, v, m, g, b, x, T, R, A, D;
|
|
71258
71259
|
Ue(this, La, r3({
|
|
71259
71260
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
|
|
71260
71261
|
onFail: (V, _) => {
|
|
@@ -71310,20 +71311,20 @@ var Er, Dx, nde = (Dx = class extends Du {
|
|
|
71310
71311
|
e,
|
|
71311
71312
|
this.state.context,
|
|
71312
71313
|
this
|
|
71313
|
-
)), await ((x = (
|
|
71314
|
-
|
|
71314
|
+
)), await ((x = (b = this.options).onError) == null ? void 0 : x.call(
|
|
71315
|
+
b,
|
|
71315
71316
|
V,
|
|
71316
71317
|
e,
|
|
71317
71318
|
this.state.context
|
|
71318
|
-
)), await ((
|
|
71319
|
+
)), await ((R = (T = K(this, Ks).config).onSettled) == null ? void 0 : R.call(
|
|
71319
71320
|
T,
|
|
71320
71321
|
void 0,
|
|
71321
71322
|
V,
|
|
71322
71323
|
this.state.variables,
|
|
71323
71324
|
this.state.context,
|
|
71324
71325
|
this
|
|
71325
|
-
)), await ((D = (
|
|
71326
|
-
|
|
71326
|
+
)), await ((D = (A = this.options).onSettled) == null ? void 0 : D.call(
|
|
71327
|
+
A,
|
|
71327
71328
|
void 0,
|
|
71328
71329
|
V,
|
|
71329
71330
|
e,
|
|
@@ -71506,39 +71507,39 @@ function t2(i) {
|
|
|
71506
71507
|
v = !0;
|
|
71507
71508
|
}), e.signal)
|
|
71508
71509
|
});
|
|
71509
|
-
}, g = e3(e.options, e.fetchOptions),
|
|
71510
|
+
}, g = e3(e.options, e.fetchOptions), b = async (x, T, R) => {
|
|
71510
71511
|
if (v)
|
|
71511
71512
|
return Promise.reject();
|
|
71512
71513
|
if (T == null && x.pages.length)
|
|
71513
71514
|
return Promise.resolve(x);
|
|
71514
|
-
const
|
|
71515
|
+
const A = {
|
|
71515
71516
|
queryKey: e.queryKey,
|
|
71516
71517
|
pageParam: T,
|
|
71517
|
-
direction:
|
|
71518
|
+
direction: R ? "backward" : "forward",
|
|
71518
71519
|
meta: e.options.meta
|
|
71519
71520
|
};
|
|
71520
|
-
m(
|
|
71521
|
+
m(A);
|
|
71521
71522
|
const D = await g(
|
|
71522
|
-
|
|
71523
|
-
), { maxPages: V } = e.options, _ =
|
|
71523
|
+
A
|
|
71524
|
+
), { maxPages: V } = e.options, _ = R ? Zce : Kce;
|
|
71524
71525
|
return {
|
|
71525
71526
|
pages: _(x.pages, D, V),
|
|
71526
71527
|
pageParams: _(x.pageParams, T, V)
|
|
71527
71528
|
};
|
|
71528
71529
|
};
|
|
71529
71530
|
if (r && n.length) {
|
|
71530
|
-
const x = r === "backward", T = x ? lde : s2,
|
|
71531
|
+
const x = r === "backward", T = x ? lde : s2, R = {
|
|
71531
71532
|
pages: n,
|
|
71532
71533
|
pageParams: a
|
|
71533
|
-
},
|
|
71534
|
-
o = await
|
|
71534
|
+
}, A = T(s, R);
|
|
71535
|
+
o = await b(R, A, x);
|
|
71535
71536
|
} else {
|
|
71536
71537
|
const x = i ?? n.length;
|
|
71537
71538
|
do {
|
|
71538
71539
|
const T = l === 0 ? a[0] ?? s.initialPageParam : s2(s, o);
|
|
71539
71540
|
if (l > 0 && T == null)
|
|
71540
71541
|
break;
|
|
71541
|
-
o = await
|
|
71542
|
+
o = await b(o, T), l++;
|
|
71542
71543
|
} while (l < x);
|
|
71543
71544
|
}
|
|
71544
71545
|
return o;
|
|
@@ -72418,7 +72419,7 @@ function c2(i, e, t, s) {
|
|
|
72418
72419
|
}
|
|
72419
72420
|
function Nde() {
|
|
72420
72421
|
const i = this;
|
|
72421
|
-
let e, t, s, r, n, a, o, l, u, h, c, d, f, y, v, m, g,
|
|
72422
|
+
let e, t, s, r, n, a, o, l, u, h, c, d, f, y, v, m, g, b, x, T, R, A, D, V, _, N, q, Q, L, B, H, $, j;
|
|
72422
72423
|
const G = new Ft(), ne = new Ft(), Y = new Ft();
|
|
72423
72424
|
i.depth = [];
|
|
72424
72425
|
let oe, re, ue, Ie, ge, te;
|
|
@@ -72427,7 +72428,7 @@ function Nde() {
|
|
|
72427
72428
|
u = 2 * n, c[f - 1] = 0;
|
|
72428
72429
|
for (let Z = 0; Z < f - 1; Z++)
|
|
72429
72430
|
c[Z] = 0;
|
|
72430
|
-
N = er[q].max_lazy, L = er[q].good_length, B = er[q].nice_length, _ = er[q].max_chain,
|
|
72431
|
+
N = er[q].max_lazy, L = er[q].good_length, B = er[q].nice_length, _ = er[q].max_chain, R = 0, g = 0, D = 0, b = V = Wt - 1, T = 0, d = 0;
|
|
72431
72432
|
}
|
|
72432
72433
|
function et() {
|
|
72433
72434
|
let Z;
|
|
@@ -72506,7 +72507,7 @@ function Nde() {
|
|
|
72506
72507
|
function Ge(Z, se) {
|
|
72507
72508
|
let X, ae, de;
|
|
72508
72509
|
if (i.dist_buf[re] = Z, i.lc_buf[re] = se & 255, re++, Z === 0 ? H[se * 2]++ : (ue++, Z--, H[(Ft._length_code[se] + Mc + 1) * 2]++, $[Ft.d_code(Z) * 2]++), !(re & 8191) && q > 2) {
|
|
72509
|
-
for (X = re * 8, ae =
|
|
72510
|
+
for (X = re * 8, ae = R - g, de = 0; de < zm; de++)
|
|
72510
72511
|
X += $[de * 2] * (5 + Ft.extra_dbits[de]);
|
|
72511
72512
|
if (X >>>= 3, ue < Math.floor(re / 2) && X < Math.floor(ae / 2))
|
|
72512
72513
|
return !0;
|
|
@@ -72535,17 +72536,17 @@ function Nde() {
|
|
|
72535
72536
|
q > 0 ? (G.build_tree(i), ne.build_tree(i), Ae = Is(), ae = i.opt_len + 3 + 7 >>> 3, de = i.static_len + 3 + 7 >>> 3, de <= ae && (ae = de)) : ae = de = se + 5, se + 4 <= ae && Z != -1 ? ws(Z, se, X) : de == ae ? (Le((Sf << 1) + (X ? 1 : 0), 3), Te(Os.static_ltree, Os.static_dtree)) : (Le((Mde << 1) + (X ? 1 : 0), 3), zt(G.max_code + 1, ne.max_code + 1, Ae + 1), Te(H, $)), et(), X && ns();
|
|
72536
72537
|
}
|
|
72537
72538
|
function js(Z) {
|
|
72538
|
-
Ur(g >= 0 ? g : -1,
|
|
72539
|
+
Ur(g >= 0 ? g : -1, R - g, Z), g = R, e.flush_pending();
|
|
72539
72540
|
}
|
|
72540
72541
|
function Ws() {
|
|
72541
72542
|
let Z, se, X, ae;
|
|
72542
72543
|
do {
|
|
72543
|
-
if (ae = u - D -
|
|
72544
|
+
if (ae = u - D - R, ae === 0 && R === 0 && D === 0)
|
|
72544
72545
|
ae = n;
|
|
72545
72546
|
else if (ae == -1)
|
|
72546
72547
|
ae--;
|
|
72547
|
-
else if (
|
|
72548
|
-
l.set(l.subarray(n, n + n), 0),
|
|
72548
|
+
else if (R >= n + n - Ci) {
|
|
72549
|
+
l.set(l.subarray(n, n + n), 0), A -= n, R -= n, g -= n, Z = f, X = Z;
|
|
72549
72550
|
do
|
|
72550
72551
|
se = c[--X] & 65535, c[X] = se >= n ? se - n : 0;
|
|
72551
72552
|
while (--Z !== 0);
|
|
@@ -72557,7 +72558,7 @@ function Nde() {
|
|
|
72557
72558
|
}
|
|
72558
72559
|
if (e.avail_in === 0)
|
|
72559
72560
|
return;
|
|
72560
|
-
Z = e.read_buf(l,
|
|
72561
|
+
Z = e.read_buf(l, R + D, ae), D += Z, D >= Wt && (d = l[R] & 255, d = (d << m ^ l[R + 1] & 255) & v);
|
|
72561
72562
|
} while (D < Ci && e.avail_in !== 0);
|
|
72562
72563
|
}
|
|
72563
72564
|
function _i(Z) {
|
|
@@ -72569,16 +72570,16 @@ function Nde() {
|
|
|
72569
72570
|
if (D === 0)
|
|
72570
72571
|
break;
|
|
72571
72572
|
}
|
|
72572
|
-
if (
|
|
72573
|
+
if (R += D, D = 0, X = g + se, (R === 0 || R >= X) && (D = R - X, R = X, js(!1), e.avail_out === 0) || R - g >= n - Ci && (js(!1), e.avail_out === 0))
|
|
72573
72574
|
return ki;
|
|
72574
72575
|
}
|
|
72575
72576
|
return js(Z == ri), e.avail_out === 0 ? Z == ri ? Rl : ki : Z == ri ? Dh : _h;
|
|
72576
72577
|
}
|
|
72577
72578
|
function Gs(Z) {
|
|
72578
|
-
let se = _, X =
|
|
72579
|
-
const je =
|
|
72579
|
+
let se = _, X = R, ae, de, Ae = V;
|
|
72580
|
+
const je = R > n - Ci ? R - (n - Ci) : 0;
|
|
72580
72581
|
let as = B;
|
|
72581
|
-
const Rs = o, zr =
|
|
72582
|
+
const Rs = o, zr = R + tc;
|
|
72582
72583
|
let Za = l[X + Ae - 1], pa = l[X + Ae];
|
|
72583
72584
|
V >= L && (se >>= 2), as > D && (as = D);
|
|
72584
72585
|
do
|
|
@@ -72588,7 +72589,7 @@ function Nde() {
|
|
|
72588
72589
|
;
|
|
72589
72590
|
while (l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && X < zr);
|
|
72590
72591
|
if (de = tc - (zr - X), X = zr - tc, de > Ae) {
|
|
72591
|
-
if (
|
|
72592
|
+
if (A = Z, Ae = de, de >= as)
|
|
72592
72593
|
break;
|
|
72593
72594
|
Za = l[X + Ae - 1], pa = l[X + Ae];
|
|
72594
72595
|
}
|
|
@@ -72605,17 +72606,17 @@ function Nde() {
|
|
|
72605
72606
|
if (D === 0)
|
|
72606
72607
|
break;
|
|
72607
72608
|
}
|
|
72608
|
-
if (D >= Wt && (d = (d << m ^ l[
|
|
72609
|
-
if (X = Ge(
|
|
72610
|
-
|
|
72609
|
+
if (D >= Wt && (d = (d << m ^ l[R + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[R & o] = c[d], c[d] = R), se !== 0 && (R - se & 65535) <= n - Ci && Q != Rh && (b = Gs(se)), b >= Wt)
|
|
72610
|
+
if (X = Ge(R - A, b - Wt), D -= b, b <= N && D >= Wt) {
|
|
72611
|
+
b--;
|
|
72611
72612
|
do
|
|
72612
|
-
|
|
72613
|
-
while (--
|
|
72614
|
-
|
|
72613
|
+
R++, d = (d << m ^ l[R + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[R & o] = c[d], c[d] = R;
|
|
72614
|
+
while (--b !== 0);
|
|
72615
|
+
R++;
|
|
72615
72616
|
} else
|
|
72616
|
-
|
|
72617
|
+
R += b, b = 0, d = l[R] & 255, d = (d << m ^ l[R + 1] & 255) & v;
|
|
72617
72618
|
else
|
|
72618
|
-
X = Ge(0, l[
|
|
72619
|
+
X = Ge(0, l[R] & 255), D--, R++;
|
|
72619
72620
|
if (X && (js(!1), e.avail_out === 0))
|
|
72620
72621
|
return ki;
|
|
72621
72622
|
}
|
|
@@ -72630,20 +72631,20 @@ function Nde() {
|
|
|
72630
72631
|
if (D === 0)
|
|
72631
72632
|
break;
|
|
72632
72633
|
}
|
|
72633
|
-
if (D >= Wt && (d = (d << m ^ l[
|
|
72634
|
-
ae =
|
|
72634
|
+
if (D >= Wt && (d = (d << m ^ l[R + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[R & o] = c[d], c[d] = R), V = b, x = A, b = Wt - 1, se !== 0 && V < N && (R - se & 65535) <= n - Ci && (Q != Rh && (b = Gs(se)), b <= 5 && (Q == Vde || b == Wt && R - A > 4096) && (b = Wt - 1)), V >= Wt && b <= V) {
|
|
72635
|
+
ae = R + D - Wt, X = Ge(R - 1 - x, V - Wt), D -= V - 1, V -= 2;
|
|
72635
72636
|
do
|
|
72636
|
-
++
|
|
72637
|
+
++R <= ae && (d = (d << m ^ l[R + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[R & o] = c[d], c[d] = R);
|
|
72637
72638
|
while (--V !== 0);
|
|
72638
|
-
if (T = 0,
|
|
72639
|
+
if (T = 0, b = Wt - 1, R++, X && (js(!1), e.avail_out === 0))
|
|
72639
72640
|
return ki;
|
|
72640
72641
|
} else if (T !== 0) {
|
|
72641
|
-
if (X = Ge(0, l[
|
|
72642
|
+
if (X = Ge(0, l[R - 1] & 255), X && js(!1), R++, D--, e.avail_out === 0)
|
|
72642
72643
|
return ki;
|
|
72643
72644
|
} else
|
|
72644
|
-
T = 1,
|
|
72645
|
+
T = 1, R++, D--;
|
|
72645
72646
|
}
|
|
72646
|
-
return T !== 0 && (X = Ge(0, l[
|
|
72647
|
+
return T !== 0 && (X = Ge(0, l[R - 1] & 255), T = 0), js(Z == ri), e.avail_out === 0 ? Z == ri ? Rl : ki : Z == ri ? Dh : _h;
|
|
72647
72648
|
}
|
|
72648
72649
|
function Cn(Z) {
|
|
72649
72650
|
return Z.total_in = Z.total_out = 0, Z.msg = null, i.pending = 0, i.pending_out = 0, t = kh, r = po, Yt(), we(), sr;
|
|
@@ -72661,7 +72662,7 @@ function Nde() {
|
|
|
72661
72662
|
return ar;
|
|
72662
72663
|
if (ae < Wt)
|
|
72663
72664
|
return sr;
|
|
72664
|
-
for (ae > n - Ci && (ae = n - Ci, Ae = X - ae), l.set(se.subarray(Ae, Ae + ae), 0),
|
|
72665
|
+
for (ae > n - Ci && (ae = n - Ci, Ae = X - ae), l.set(se.subarray(Ae, Ae + ae), 0), R = ae, g = ae, d = l[0] & 255, d = (d << m ^ l[1] & 255) & v, de = 0; de <= ae - Wt; de++)
|
|
72665
72666
|
d = (d << m ^ l[de + (Wt - 1)] & 255) & v, h[de & o] = c[d], c[d] = de;
|
|
72666
72667
|
return sr;
|
|
72667
72668
|
}, i.deflate = function(Z, se) {
|
|
@@ -72672,7 +72673,7 @@ function Nde() {
|
|
|
72672
72673
|
return Z.msg = Lh[Ah - ar], ar;
|
|
72673
72674
|
if (Z.avail_out === 0)
|
|
72674
72675
|
return Z.msg = Lh[Ah - uo], uo;
|
|
72675
|
-
if (e = Z, Ae = r, r = se, t == Ef && (ae = Vf + (a - 8 << 4) << 8, de = (q - 1 & 255) >> 1, de > 3 && (de = 3), ae |= de << 6,
|
|
72676
|
+
if (e = Z, Ae = r, r = se, t == Ef && (ae = Vf + (a - 8 << 4) << 8, de = (q - 1 & 255) >> 1, de > 3 && (de = 3), ae |= de << 6, R !== 0 && (ae |= kde), ae += 31 - ae % 31, t = kh, rs(ae)), i.pending !== 0) {
|
|
72676
72677
|
if (e.flush_pending(), e.avail_out === 0)
|
|
72677
72678
|
return r = -1, sr;
|
|
72678
72679
|
} else if (e.avail_in === 0 && se <= Ae && se != ri)
|
|
@@ -74574,8 +74575,8 @@ const Bde = 15, gt = 0, ln = 1, $de = 2, li = -2, qt = -3, d2 = -4, un = -5, bi
|
|
|
74574
74575
|
function Wm() {
|
|
74575
74576
|
const i = this;
|
|
74576
74577
|
let e, t, s, r, n, a;
|
|
74577
|
-
function o(u, h, c, d, f, y, v, m, g,
|
|
74578
|
-
let T,
|
|
74578
|
+
function o(u, h, c, d, f, y, v, m, g, b, x) {
|
|
74579
|
+
let T, R, A, D, V, _, N, q, Q, L, B, H, $, j, G;
|
|
74579
74580
|
L = 0, V = c;
|
|
74580
74581
|
do
|
|
74581
74582
|
s[u[h + L]]++, L++, V--;
|
|
@@ -74586,7 +74587,7 @@ function Wm() {
|
|
|
74586
74587
|
;
|
|
74587
74588
|
for (N = _, q < _ && (q = _), V = In; V !== 0 && s[V] === 0; V--)
|
|
74588
74589
|
;
|
|
74589
|
-
for (
|
|
74590
|
+
for (A = V, q > V && (q = V), m[0] = q, j = 1 << _; _ < V; _++, j <<= 1)
|
|
74590
74591
|
if ((j -= s[_]) < 0)
|
|
74591
74592
|
return qt;
|
|
74592
74593
|
if ((j -= s[V]) < 0)
|
|
@@ -74597,16 +74598,16 @@ function Wm() {
|
|
|
74597
74598
|
do
|
|
74598
74599
|
(_ = u[h + L]) !== 0 && (x[a[_]++] = V), L++;
|
|
74599
74600
|
while (++V < c);
|
|
74600
|
-
for (c = a[
|
|
74601
|
+
for (c = a[A], a[0] = V = 0, L = 0, D = -1, H = -q, n[0] = 0, B = 0, G = 0; N <= A; N++)
|
|
74601
74602
|
for (T = s[N]; T-- !== 0; ) {
|
|
74602
74603
|
for (; N > H + q; ) {
|
|
74603
|
-
if (D++, H += q, G =
|
|
74604
|
-
for (; ++_ < G && !((
|
|
74605
|
-
|
|
74606
|
-
if (G = 1 << _,
|
|
74604
|
+
if (D++, H += q, G = A - H, G = G > q ? q : G, (R = 1 << (_ = N - H)) > T + 1 && (R -= T + 1, $ = N, _ < G))
|
|
74605
|
+
for (; ++_ < G && !((R <<= 1) <= s[++$]); )
|
|
74606
|
+
R -= s[$];
|
|
74607
|
+
if (G = 1 << _, b[0] + G > c3)
|
|
74607
74608
|
return qt;
|
|
74608
74609
|
n[D] = B = /* hp+ */
|
|
74609
|
-
|
|
74610
|
+
b[0], b[0] += G, D !== 0 ? (a[D] = V, r[0] = /* (byte) */
|
|
74610
74611
|
_, r[1] = /* (byte) */
|
|
74611
74612
|
q, _ = V >>> H - q, r[2] = /* (int) */
|
|
74612
74613
|
B - n[D - 1] - _, g.set(r, (n[D - 1] + _) * 3)) : v[0] = B;
|
|
@@ -74614,14 +74615,14 @@ function Wm() {
|
|
|
74614
74615
|
for (r[1] = /* (byte) */
|
|
74615
74616
|
N - H, L >= c ? r[0] = 192 : x[L] < d ? (r[0] = /* (byte) */
|
|
74616
74617
|
x[L] < 256 ? 0 : 96, r[2] = x[L++]) : (r[0] = /* (byte) */
|
|
74617
|
-
y[x[L] - d] + 16 + 64, r[2] = f[x[L++] - d]),
|
|
74618
|
+
y[x[L] - d] + 16 + 64, r[2] = f[x[L++] - d]), R = 1 << N - H, _ = V >>> H; _ < G; _ += R)
|
|
74618
74619
|
g.set(r, (B + _) * 3);
|
|
74619
74620
|
for (_ = 1 << N - 1; V & _; _ >>>= 1)
|
|
74620
74621
|
V ^= _;
|
|
74621
74622
|
for (V ^= _, Q = (1 << H) - 1; (V & Q) != a[D]; )
|
|
74622
74623
|
D--, H -= q, Q = (1 << H) - 1;
|
|
74623
74624
|
}
|
|
74624
|
-
return j !== 0 &&
|
|
74625
|
+
return j !== 0 && A != 1 ? un : gt;
|
|
74625
74626
|
}
|
|
74626
74627
|
function l(u) {
|
|
74627
74628
|
let h;
|
|
@@ -74637,8 +74638,8 @@ function Wm() {
|
|
|
74637
74638
|
let y;
|
|
74638
74639
|
return l(19), e[0] = 0, y = o(u, 0, 19, 19, null, null, c, h, d, e, t), y == qt ? f.msg = "oversubscribed dynamic bit lengths tree" : (y == un || h[0] === 0) && (f.msg = "incomplete dynamic bit lengths tree", y = qt), y;
|
|
74639
74640
|
}, i.inflate_trees_dynamic = function(u, h, c, d, f, y, v, m, g) {
|
|
74640
|
-
let
|
|
74641
|
-
return l(288), e[0] = 0,
|
|
74641
|
+
let b;
|
|
74642
|
+
return l(288), e[0] = 0, b = o(c, 0, u, 257, Gde, Kde, y, d, m, e, t), b != gt || d[0] === 0 ? (b == qt ? g.msg = "oversubscribed literal/length tree" : b != d2 && (g.msg = "incomplete literal/length tree", b = qt), b) : (l(288), b = o(c, u, h, 0, Zde, Jde, v, f, m, e, t), b != gt || f[0] === 0 && u > 257 ? (b == qt ? g.msg = "oversubscribed distance tree" : b == un ? (g.msg = "incomplete distance tree", b = qt) : b != d2 && (g.msg = "empty distance tree with lengths", b = qt), b) : gt);
|
|
74642
74643
|
};
|
|
74643
74644
|
}
|
|
74644
74645
|
Wm.inflate_trees_fixed = function(i, e, t, s) {
|
|
@@ -74648,14 +74649,14 @@ const Oh = 0, p2 = 1, f2 = 2, m2 = 3, g2 = 4, v2 = 5, y2 = 6, Tf = 7, C2 = 8, Mh
|
|
|
74648
74649
|
function Yde() {
|
|
74649
74650
|
const i = this;
|
|
74650
74651
|
let e, t = 0, s, r = 0, n = 0, a = 0, o = 0, l = 0, u = 0, h = 0, c, d = 0, f, y = 0;
|
|
74651
|
-
function v(m, g,
|
|
74652
|
+
function v(m, g, b, x, T, R, A, D) {
|
|
74652
74653
|
let V, _, N, q, Q, L, B, H, $, j, G, ne, Y, oe, re, ue;
|
|
74653
|
-
B = D.next_in_index, H = D.avail_in, Q =
|
|
74654
|
+
B = D.next_in_index, H = D.avail_in, Q = A.bitb, L = A.bitk, $ = A.write, j = $ < A.read ? A.read - $ - 1 : A.end - $, G = bi[m], ne = bi[g];
|
|
74654
74655
|
do {
|
|
74655
74656
|
for (; L < 20; )
|
|
74656
74657
|
H--, Q |= (D.read_byte(B++) & 255) << L, L += 8;
|
|
74657
|
-
if (V = Q & G, _ =
|
|
74658
|
-
Q >>= _[ue + 1], L -= _[ue + 1],
|
|
74658
|
+
if (V = Q & G, _ = b, N = x, ue = (N + V) * 3, (q = _[ue]) === 0) {
|
|
74659
|
+
Q >>= _[ue + 1], L -= _[ue + 1], A.win[$++] = /* (byte) */
|
|
74659
74660
|
_[ue + 2], j--;
|
|
74660
74661
|
continue;
|
|
74661
74662
|
}
|
|
@@ -74664,153 +74665,153 @@ function Yde() {
|
|
|
74664
74665
|
for (q &= 15, Y = _[ue + 2] + /* (int) */
|
|
74665
74666
|
(Q & bi[q]), Q >>= q, L -= q; L < 15; )
|
|
74666
74667
|
H--, Q |= (D.read_byte(B++) & 255) << L, L += 8;
|
|
74667
|
-
V = Q & ne, _ = T, N =
|
|
74668
|
+
V = Q & ne, _ = T, N = R, ue = (N + V) * 3, q = _[ue];
|
|
74668
74669
|
do
|
|
74669
74670
|
if (Q >>= _[ue + 1], L -= _[ue + 1], q & 16) {
|
|
74670
74671
|
for (q &= 15; L < q; )
|
|
74671
74672
|
H--, Q |= (D.read_byte(B++) & 255) << L, L += 8;
|
|
74672
74673
|
if (oe = _[ue + 2] + (Q & bi[q]), Q >>= q, L -= q, j -= Y, $ >= oe)
|
|
74673
|
-
re = $ - oe, $ - re > 0 && 2 > $ - re ? (
|
|
74674
|
+
re = $ - oe, $ - re > 0 && 2 > $ - re ? (A.win[$++] = A.win[re++], A.win[$++] = A.win[re++], Y -= 2) : (A.win.set(A.win.subarray(re, re + 2), $), $ += 2, re += 2, Y -= 2);
|
|
74674
74675
|
else {
|
|
74675
74676
|
re = $ - oe;
|
|
74676
74677
|
do
|
|
74677
|
-
re +=
|
|
74678
|
+
re += A.end;
|
|
74678
74679
|
while (re < 0);
|
|
74679
|
-
if (q =
|
|
74680
|
+
if (q = A.end - re, Y > q) {
|
|
74680
74681
|
if (Y -= q, $ - re > 0 && q > $ - re)
|
|
74681
74682
|
do
|
|
74682
|
-
|
|
74683
|
+
A.win[$++] = A.win[re++];
|
|
74683
74684
|
while (--q !== 0);
|
|
74684
74685
|
else
|
|
74685
|
-
|
|
74686
|
+
A.win.set(A.win.subarray(re, re + q), $), $ += q, re += q, q = 0;
|
|
74686
74687
|
re = 0;
|
|
74687
74688
|
}
|
|
74688
74689
|
}
|
|
74689
74690
|
if ($ - re > 0 && Y > $ - re)
|
|
74690
74691
|
do
|
|
74691
|
-
|
|
74692
|
+
A.win[$++] = A.win[re++];
|
|
74692
74693
|
while (--Y !== 0);
|
|
74693
74694
|
else
|
|
74694
|
-
|
|
74695
|
+
A.win.set(A.win.subarray(re, re + Y), $), $ += Y, re += Y, Y = 0;
|
|
74695
74696
|
break;
|
|
74696
74697
|
} else if (!(q & 64))
|
|
74697
74698
|
V += _[ue + 2], V += Q & bi[q], ue = (N + V) * 3, q = _[ue];
|
|
74698
74699
|
else
|
|
74699
|
-
return D.msg = "invalid distance code", Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3,
|
|
74700
|
+
return D.msg = "invalid distance code", Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, A.bitb = Q, A.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, A.write = $, qt;
|
|
74700
74701
|
while (!0);
|
|
74701
74702
|
break;
|
|
74702
74703
|
}
|
|
74703
74704
|
if (q & 64)
|
|
74704
|
-
return q & 32 ? (Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3,
|
|
74705
|
+
return q & 32 ? (Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, A.bitb = Q, A.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, A.write = $, ln) : (D.msg = "invalid literal/length code", Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, A.bitb = Q, A.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, A.write = $, qt);
|
|
74705
74706
|
if (V += _[ue + 2], V += Q & bi[q], ue = (N + V) * 3, (q = _[ue]) === 0) {
|
|
74706
|
-
Q >>= _[ue + 1], L -= _[ue + 1],
|
|
74707
|
+
Q >>= _[ue + 1], L -= _[ue + 1], A.win[$++] = /* (byte) */
|
|
74707
74708
|
_[ue + 2], j--;
|
|
74708
74709
|
break;
|
|
74709
74710
|
}
|
|
74710
74711
|
} while (!0);
|
|
74711
74712
|
} while (j >= 258 && H >= 10);
|
|
74712
|
-
return Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3,
|
|
74713
|
+
return Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, A.bitb = Q, A.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, A.write = $, gt;
|
|
74713
74714
|
}
|
|
74714
|
-
i.init = function(m, g,
|
|
74715
|
+
i.init = function(m, g, b, x, T, R) {
|
|
74715
74716
|
e = Oh, u = /* (byte) */
|
|
74716
74717
|
m, h = /* (byte) */
|
|
74717
|
-
g, c =
|
|
74718
|
-
}, i.proc = function(m, g,
|
|
74719
|
-
let x, T,
|
|
74720
|
-
for (V = g.next_in_index, _ = g.avail_in,
|
|
74718
|
+
g, c = b, d = x, f = T, y = R, s = null;
|
|
74719
|
+
}, i.proc = function(m, g, b) {
|
|
74720
|
+
let x, T, R, A = 0, D = 0, V = 0, _, N, q, Q;
|
|
74721
|
+
for (V = g.next_in_index, _ = g.avail_in, A = m.bitb, D = m.bitk, N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N; ; )
|
|
74721
74722
|
switch (e) {
|
|
74722
74723
|
case Oh:
|
|
74723
|
-
if (q >= 258 && _ >= 10 && (m.bitb =
|
|
74724
|
-
e =
|
|
74724
|
+
if (q >= 258 && _ >= 10 && (m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, b = v(u, h, c, d, f, y, m, g), V = g.next_in_index, _ = g.avail_in, A = m.bitb, D = m.bitk, N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, b != gt)) {
|
|
74725
|
+
e = b == ln ? Tf : Mh;
|
|
74725
74726
|
break;
|
|
74726
74727
|
}
|
|
74727
74728
|
n = u, s = c, r = d, e = p2;
|
|
74728
74729
|
case p2:
|
|
74729
74730
|
for (x = n; D < x; ) {
|
|
74730
74731
|
if (_ !== 0)
|
|
74731
|
-
|
|
74732
|
+
b = gt;
|
|
74732
74733
|
else
|
|
74733
|
-
return m.bitb =
|
|
74734
|
-
_--,
|
|
74734
|
+
return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74735
|
+
_--, A |= (g.read_byte(V++) & 255) << D, D += 8;
|
|
74735
74736
|
}
|
|
74736
|
-
if (T = (r + (
|
|
74737
|
+
if (T = (r + (A & bi[x])) * 3, A >>>= s[T + 1], D -= s[T + 1], R = s[T], R === 0) {
|
|
74737
74738
|
a = s[T + 2], e = y2;
|
|
74738
74739
|
break;
|
|
74739
74740
|
}
|
|
74740
|
-
if (
|
|
74741
|
-
o =
|
|
74741
|
+
if (R & 16) {
|
|
74742
|
+
o = R & 15, t = s[T + 2], e = f2;
|
|
74742
74743
|
break;
|
|
74743
74744
|
}
|
|
74744
|
-
if (!(
|
|
74745
|
-
n =
|
|
74745
|
+
if (!(R & 64)) {
|
|
74746
|
+
n = R, r = T / 3 + s[T + 2];
|
|
74746
74747
|
break;
|
|
74747
74748
|
}
|
|
74748
|
-
if (
|
|
74749
|
+
if (R & 32) {
|
|
74749
74750
|
e = Tf;
|
|
74750
74751
|
break;
|
|
74751
74752
|
}
|
|
74752
|
-
return e = Mh, g.msg = "invalid literal/length code",
|
|
74753
|
+
return e = Mh, g.msg = "invalid literal/length code", b = qt, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74753
74754
|
case f2:
|
|
74754
74755
|
for (x = o; D < x; ) {
|
|
74755
74756
|
if (_ !== 0)
|
|
74756
|
-
|
|
74757
|
+
b = gt;
|
|
74757
74758
|
else
|
|
74758
|
-
return m.bitb =
|
|
74759
|
-
_--,
|
|
74759
|
+
return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74760
|
+
_--, A |= (g.read_byte(V++) & 255) << D, D += 8;
|
|
74760
74761
|
}
|
|
74761
|
-
t +=
|
|
74762
|
+
t += A & bi[x], A >>= x, D -= x, n = h, s = f, r = y, e = m2;
|
|
74762
74763
|
case m2:
|
|
74763
74764
|
for (x = n; D < x; ) {
|
|
74764
74765
|
if (_ !== 0)
|
|
74765
|
-
|
|
74766
|
+
b = gt;
|
|
74766
74767
|
else
|
|
74767
|
-
return m.bitb =
|
|
74768
|
-
_--,
|
|
74768
|
+
return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74769
|
+
_--, A |= (g.read_byte(V++) & 255) << D, D += 8;
|
|
74769
74770
|
}
|
|
74770
|
-
if (T = (r + (
|
|
74771
|
-
o =
|
|
74771
|
+
if (T = (r + (A & bi[x])) * 3, A >>= s[T + 1], D -= s[T + 1], R = s[T], R & 16) {
|
|
74772
|
+
o = R & 15, l = s[T + 2], e = g2;
|
|
74772
74773
|
break;
|
|
74773
74774
|
}
|
|
74774
|
-
if (!(
|
|
74775
|
-
n =
|
|
74775
|
+
if (!(R & 64)) {
|
|
74776
|
+
n = R, r = T / 3 + s[T + 2];
|
|
74776
74777
|
break;
|
|
74777
74778
|
}
|
|
74778
|
-
return e = Mh, g.msg = "invalid distance code",
|
|
74779
|
+
return e = Mh, g.msg = "invalid distance code", b = qt, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74779
74780
|
case g2:
|
|
74780
74781
|
for (x = o; D < x; ) {
|
|
74781
74782
|
if (_ !== 0)
|
|
74782
|
-
|
|
74783
|
+
b = gt;
|
|
74783
74784
|
else
|
|
74784
|
-
return m.bitb =
|
|
74785
|
-
_--,
|
|
74785
|
+
return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74786
|
+
_--, A |= (g.read_byte(V++) & 255) << D, D += 8;
|
|
74786
74787
|
}
|
|
74787
|
-
l +=
|
|
74788
|
+
l += A & bi[x], A >>= x, D -= x, e = v2;
|
|
74788
74789
|
case v2:
|
|
74789
74790
|
for (Q = N - l; Q < 0; )
|
|
74790
74791
|
Q += m.end;
|
|
74791
74792
|
for (; t !== 0; ) {
|
|
74792
|
-
if (q === 0 && (N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0 && (m.write = N,
|
|
74793
|
-
return m.bitb =
|
|
74793
|
+
if (q === 0 && (N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0 && (m.write = N, b = m.inflate_flush(g, b), N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0)))
|
|
74794
|
+
return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74794
74795
|
m.win[N++] = m.win[Q++], q--, Q == m.end && (Q = 0), t--;
|
|
74795
74796
|
}
|
|
74796
74797
|
e = Oh;
|
|
74797
74798
|
break;
|
|
74798
74799
|
case y2:
|
|
74799
|
-
if (q === 0 && (N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0 && (m.write = N,
|
|
74800
|
-
return m.bitb =
|
|
74801
|
-
|
|
74800
|
+
if (q === 0 && (N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0 && (m.write = N, b = m.inflate_flush(g, b), N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0)))
|
|
74801
|
+
return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74802
|
+
b = gt, m.win[N++] = /* (byte) */
|
|
74802
74803
|
a, q--, e = Oh;
|
|
74803
74804
|
break;
|
|
74804
74805
|
case Tf:
|
|
74805
|
-
if (D > 7 && (D -= 8, _++, V--), m.write = N,
|
|
74806
|
-
return m.bitb =
|
|
74806
|
+
if (D > 7 && (D -= 8, _++, V--), m.write = N, b = m.inflate_flush(g, b), N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, m.read != m.write)
|
|
74807
|
+
return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74807
74808
|
e = C2;
|
|
74808
74809
|
case C2:
|
|
74809
|
-
return
|
|
74810
|
+
return b = ln, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74810
74811
|
case Mh:
|
|
74811
|
-
return
|
|
74812
|
+
return b = qt, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74812
74813
|
default:
|
|
74813
|
-
return
|
|
74814
|
+
return b = li, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
|
|
74814
74815
|
}
|
|
74815
74816
|
}, i.free = function() {
|
|
74816
74817
|
};
|
|
@@ -74846,114 +74847,114 @@ function Xde(i, e) {
|
|
|
74846
74847
|
t.bitk = 0, t.bitb = 0, t.win = new Uint8Array(e), t.end = e, t.read = 0, t.write = 0, t.reset = function(v, m) {
|
|
74847
74848
|
m && (m[0] = f), s == Nh && h.free(v), s = ho, t.bitk = 0, t.bitb = 0, t.read = t.write = 0;
|
|
74848
74849
|
}, t.reset(i, null), t.inflate_flush = function(v, m) {
|
|
74849
|
-
let g,
|
|
74850
|
-
return
|
|
74851
|
-
(x <= t.write ? t.write : t.end) - x, g > v.avail_out && (g = v.avail_out), g !== 0 && m == un && (m = gt), v.avail_out -= g, v.total_out += g, v.next_out.set(t.win.subarray(x, x + g),
|
|
74850
|
+
let g, b, x;
|
|
74851
|
+
return b = v.next_out_index, x = t.read, g = /* (int) */
|
|
74852
|
+
(x <= t.write ? t.write : t.end) - x, g > v.avail_out && (g = v.avail_out), g !== 0 && m == un && (m = gt), v.avail_out -= g, v.total_out += g, v.next_out.set(t.win.subarray(x, x + g), b), b += g, x += g, x == t.end && (x = 0, t.write == t.end && (t.write = 0), g = t.write - x, g > v.avail_out && (g = v.avail_out), g !== 0 && m == un && (m = gt), v.avail_out -= g, v.total_out += g, v.next_out.set(t.win.subarray(x, x + g), b), b += g, x += g), v.next_out_index = b, t.read = x, m;
|
|
74852
74853
|
}, t.proc = function(v, m) {
|
|
74853
|
-
let g,
|
|
74854
|
-
for (T = v.next_in_index,
|
|
74855
|
-
|
|
74854
|
+
let g, b, x, T, R, A, D, V;
|
|
74855
|
+
for (T = v.next_in_index, R = v.avail_in, b = t.bitb, x = t.bitk, A = t.write, D = /* (int) */
|
|
74856
|
+
A < t.read ? t.read - A - 1 : t.end - A; ; ) {
|
|
74856
74857
|
let _, N, q, Q, L, B, H, $;
|
|
74857
74858
|
switch (s) {
|
|
74858
74859
|
case ho:
|
|
74859
74860
|
for (; x < 3; ) {
|
|
74860
|
-
if (
|
|
74861
|
+
if (R !== 0)
|
|
74861
74862
|
m = gt;
|
|
74862
74863
|
else
|
|
74863
|
-
return t.bitb =
|
|
74864
|
-
|
|
74864
|
+
return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74865
|
+
R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
|
|
74865
74866
|
}
|
|
74866
74867
|
switch (g = /* (int) */
|
|
74867
|
-
|
|
74868
|
+
b & 7, c = g & 1, g >>> 1) {
|
|
74868
74869
|
case 0:
|
|
74869
|
-
|
|
74870
|
+
b >>>= 3, x -= 3, g = x & 7, b >>>= g, x -= g, s = Pf;
|
|
74870
74871
|
break;
|
|
74871
74872
|
case 1:
|
|
74872
|
-
_ = [], N = [], q = [[]], Q = [[]], Wm.inflate_trees_fixed(_, N, q, Q), h.init(_[0], N[0], q[0], 0, Q[0], 0),
|
|
74873
|
+
_ = [], N = [], q = [[]], Q = [[]], Wm.inflate_trees_fixed(_, N, q, Q), h.init(_[0], N[0], q[0], 0, Q[0], 0), b >>>= 3, x -= 3, s = Nh;
|
|
74873
74874
|
break;
|
|
74874
74875
|
case 2:
|
|
74875
|
-
|
|
74876
|
+
b >>>= 3, x -= 3, s = x2;
|
|
74876
74877
|
break;
|
|
74877
74878
|
case 3:
|
|
74878
|
-
return
|
|
74879
|
+
return b >>>= 3, x -= 3, s = va, v.msg = "invalid block type", m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74879
74880
|
}
|
|
74880
74881
|
break;
|
|
74881
74882
|
case Pf:
|
|
74882
74883
|
for (; x < 32; ) {
|
|
74883
|
-
if (
|
|
74884
|
+
if (R !== 0)
|
|
74884
74885
|
m = gt;
|
|
74885
74886
|
else
|
|
74886
|
-
return t.bitb =
|
|
74887
|
-
|
|
74887
|
+
return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74888
|
+
R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
|
|
74888
74889
|
}
|
|
74889
|
-
if ((~
|
|
74890
|
-
return s = va, v.msg = "invalid stored block lengths", m = qt, t.bitb =
|
|
74891
|
-
r =
|
|
74890
|
+
if ((~b >>> 16 & 65535) != (b & 65535))
|
|
74891
|
+
return s = va, v.msg = "invalid stored block lengths", m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74892
|
+
r = b & 65535, b = x = 0, s = r !== 0 ? w2 : c !== 0 ? Fh : ho;
|
|
74892
74893
|
break;
|
|
74893
74894
|
case w2:
|
|
74894
|
-
if (
|
|
74895
|
-
|
|
74896
|
-
|
|
74897
|
-
|
|
74898
|
-
return t.bitb =
|
|
74899
|
-
if (m = gt, g = r, g >
|
|
74895
|
+
if (R === 0 || D === 0 && (A == t.end && t.read !== 0 && (A = 0, D = /* (int) */
|
|
74896
|
+
A < t.read ? t.read - A - 1 : t.end - A), D === 0 && (t.write = A, m = t.inflate_flush(v, m), A = t.write, D = /* (int) */
|
|
74897
|
+
A < t.read ? t.read - A - 1 : t.end - A, A == t.end && t.read !== 0 && (A = 0, D = /* (int) */
|
|
74898
|
+
A < t.read ? t.read - A - 1 : t.end - A), D === 0)))
|
|
74899
|
+
return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74900
|
+
if (m = gt, g = r, g > R && (g = R), g > D && (g = D), t.win.set(v.read_buf(T, g), A), T += g, R -= g, A += g, D -= g, (r -= g) !== 0)
|
|
74900
74901
|
break;
|
|
74901
74902
|
s = c !== 0 ? Fh : ho;
|
|
74902
74903
|
break;
|
|
74903
74904
|
case x2:
|
|
74904
74905
|
for (; x < 14; ) {
|
|
74905
|
-
if (
|
|
74906
|
+
if (R !== 0)
|
|
74906
74907
|
m = gt;
|
|
74907
74908
|
else
|
|
74908
|
-
return t.bitb =
|
|
74909
|
-
|
|
74909
|
+
return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74910
|
+
R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
|
|
74910
74911
|
}
|
|
74911
|
-
if (n = g =
|
|
74912
|
-
return s = va, v.msg = "too many length or distance symbols", m = qt, t.bitb =
|
|
74912
|
+
if (n = g = b & 16383, (g & 31) > 29 || (g >> 5 & 31) > 29)
|
|
74913
|
+
return s = va, v.msg = "too many length or distance symbols", m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74913
74914
|
if (g = 258 + (g & 31) + (g >> 5 & 31), !o || o.length < g)
|
|
74914
74915
|
o = [];
|
|
74915
74916
|
else
|
|
74916
74917
|
for (V = 0; V < g; V++)
|
|
74917
74918
|
o[V] = 0;
|
|
74918
|
-
|
|
74919
|
+
b >>>= 14, x -= 14, a = 0, s = E2;
|
|
74919
74920
|
case E2:
|
|
74920
74921
|
for (; a < 4 + (n >>> 10); ) {
|
|
74921
74922
|
for (; x < 3; ) {
|
|
74922
|
-
if (
|
|
74923
|
+
if (R !== 0)
|
|
74923
74924
|
m = gt;
|
|
74924
74925
|
else
|
|
74925
|
-
return t.bitb =
|
|
74926
|
-
|
|
74926
|
+
return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74927
|
+
R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
|
|
74927
74928
|
}
|
|
74928
|
-
o[b2[a++]] =
|
|
74929
|
+
o[b2[a++]] = b & 7, b >>>= 3, x -= 3;
|
|
74929
74930
|
}
|
|
74930
74931
|
for (; a < 19; )
|
|
74931
74932
|
o[b2[a++]] = 0;
|
|
74932
74933
|
if (l[0] = 7, g = y.inflate_trees_bits(o, l, u, d, v), g != gt)
|
|
74933
|
-
return m = g, m == qt && (o = null, s = va), t.bitb =
|
|
74934
|
+
return m = g, m == qt && (o = null, s = va), t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74934
74935
|
a = 0, s = V2;
|
|
74935
74936
|
case V2:
|
|
74936
74937
|
for (; g = n, !(a >= 258 + (g & 31) + (g >> 5 & 31)); ) {
|
|
74937
74938
|
let j, G;
|
|
74938
74939
|
for (g = l[0]; x < g; ) {
|
|
74939
|
-
if (
|
|
74940
|
+
if (R !== 0)
|
|
74940
74941
|
m = gt;
|
|
74941
74942
|
else
|
|
74942
|
-
return t.bitb =
|
|
74943
|
-
|
|
74943
|
+
return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74944
|
+
R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
|
|
74944
74945
|
}
|
|
74945
|
-
if (g = d[(u[0] + (
|
|
74946
|
-
|
|
74946
|
+
if (g = d[(u[0] + (b & bi[g])) * 3 + 1], G = d[(u[0] + (b & bi[g])) * 3 + 2], G < 16)
|
|
74947
|
+
b >>>= g, x -= g, o[a++] = G;
|
|
74947
74948
|
else {
|
|
74948
74949
|
for (V = G == 18 ? 7 : G - 14, j = G == 18 ? 11 : 3; x < g + V; ) {
|
|
74949
|
-
if (
|
|
74950
|
+
if (R !== 0)
|
|
74950
74951
|
m = gt;
|
|
74951
74952
|
else
|
|
74952
|
-
return t.bitb =
|
|
74953
|
-
|
|
74953
|
+
return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74954
|
+
R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
|
|
74954
74955
|
}
|
|
74955
|
-
if (
|
|
74956
|
-
return o = null, s = va, v.msg = "invalid bit length repeat", m = qt, t.bitb =
|
|
74956
|
+
if (b >>>= g, x -= g, j += b & bi[V], b >>>= V, x -= V, V = a, g = n, V + j > 258 + (g & 31) + (g >> 5 & 31) || G == 16 && V < 1)
|
|
74957
|
+
return o = null, s = va, v.msg = "invalid bit length repeat", m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74957
74958
|
G = G == 16 ? o[V - 1] : 0;
|
|
74958
74959
|
do
|
|
74959
74960
|
o[V++] = G;
|
|
@@ -74962,28 +74963,28 @@ function Xde(i, e) {
|
|
|
74962
74963
|
}
|
|
74963
74964
|
}
|
|
74964
74965
|
if (u[0] = -1, L = [], B = [], H = [], $ = [], L[0] = 9, B[0] = 6, g = n, g = y.inflate_trees_dynamic(257 + (g & 31), 1 + (g >> 5 & 31), o, L, B, H, $, d, v), g != gt)
|
|
74965
|
-
return g == qt && (o = null, s = va), m = g, t.bitb =
|
|
74966
|
+
return g == qt && (o = null, s = va), m = g, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74966
74967
|
h.init(L[0], B[0], d, H[0], d, $[0]), s = Nh;
|
|
74967
74968
|
case Nh:
|
|
74968
|
-
if (t.bitb =
|
|
74969
|
+
if (t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, (m = h.proc(t, v, m)) != ln)
|
|
74969
74970
|
return t.inflate_flush(v, m);
|
|
74970
|
-
if (m = gt, h.free(v), T = v.next_in_index,
|
|
74971
|
-
|
|
74971
|
+
if (m = gt, h.free(v), T = v.next_in_index, R = v.avail_in, b = t.bitb, x = t.bitk, A = t.write, D = /* (int) */
|
|
74972
|
+
A < t.read ? t.read - A - 1 : t.end - A, c === 0) {
|
|
74972
74973
|
s = ho;
|
|
74973
74974
|
break;
|
|
74974
74975
|
}
|
|
74975
74976
|
s = Fh;
|
|
74976
74977
|
case Fh:
|
|
74977
|
-
if (t.write =
|
|
74978
|
-
|
|
74979
|
-
return t.bitb =
|
|
74978
|
+
if (t.write = A, m = t.inflate_flush(v, m), A = t.write, D = /* (int) */
|
|
74979
|
+
A < t.read ? t.read - A - 1 : t.end - A, t.read != t.write)
|
|
74980
|
+
return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74980
74981
|
s = S2;
|
|
74981
74982
|
case S2:
|
|
74982
|
-
return m = ln, t.bitb =
|
|
74983
|
+
return m = ln, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74983
74984
|
case va:
|
|
74984
|
-
return m = qt, t.bitb =
|
|
74985
|
+
return m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74985
74986
|
default:
|
|
74986
|
-
return m = li, t.bitb =
|
|
74987
|
+
return m = li, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
|
|
74987
74988
|
}
|
|
74988
74989
|
}
|
|
74989
74990
|
}, t.free = function(v) {
|
|
@@ -77106,9 +77107,9 @@ w3.aes = class {
|
|
|
77106
77107
|
if (i.length !== 4)
|
|
77107
77108
|
throw new Error("invalid aes block size");
|
|
77108
77109
|
const t = this._key[e], s = t.length / 4 - 2, r = [0, 0, 0, 0], n = this._tables[e], a = n[0], o = n[1], l = n[2], u = n[3], h = n[4];
|
|
77109
|
-
let c = i[0] ^ t[0], d = i[e ? 3 : 1] ^ t[1], f = i[2] ^ t[2], y = i[e ? 1 : 3] ^ t[3], v = 4, m, g,
|
|
77110
|
+
let c = i[0] ^ t[0], d = i[e ? 3 : 1] ^ t[1], f = i[2] ^ t[2], y = i[e ? 1 : 3] ^ t[3], v = 4, m, g, b;
|
|
77110
77111
|
for (let x = 0; x < s; x++)
|
|
77111
|
-
m = a[c >>> 24] ^ o[d >> 16 & 255] ^ l[f >> 8 & 255] ^ u[y & 255] ^ t[v], g = a[d >>> 24] ^ o[f >> 16 & 255] ^ l[y >> 8 & 255] ^ u[c & 255] ^ t[v + 1],
|
|
77112
|
+
m = a[c >>> 24] ^ o[d >> 16 & 255] ^ l[f >> 8 & 255] ^ u[y & 255] ^ t[v], g = a[d >>> 24] ^ o[f >> 16 & 255] ^ l[y >> 8 & 255] ^ u[c & 255] ^ t[v + 1], b = a[f >>> 24] ^ o[y >> 16 & 255] ^ l[c >> 8 & 255] ^ u[d & 255] ^ t[v + 2], y = a[y >>> 24] ^ o[c >> 16 & 255] ^ l[d >> 8 & 255] ^ u[f & 255] ^ t[v + 3], v += 4, c = m, d = g, f = b;
|
|
77112
77113
|
for (let x = 0; x < 4; x++)
|
|
77113
77114
|
r[e ? 3 & -x : x] = h[c >>> 24] << 24 ^ h[d >> 16 & 255] << 16 ^ h[f >> 8 & 255] << 8 ^ h[y & 255] ^ t[v++], m = c, c = d, d = f, f = y, y = m;
|
|
77114
77115
|
return r;
|
|
@@ -77808,8 +77809,8 @@ async function cfe(i, e) {
|
|
|
77808
77809
|
}
|
|
77809
77810
|
function v(m) {
|
|
77810
77811
|
if (Df.length) {
|
|
77811
|
-
const [{ resolve: g, stream:
|
|
77812
|
-
g(new Lf(m,
|
|
77812
|
+
const [{ resolve: g, stream: b, workerOptions: x }] = Df.splice(0, 1);
|
|
77813
|
+
g(new Lf(m, b, x, v));
|
|
77813
77814
|
} else m.worker ? (K2(m), dfe(m, e)) : xa = xa.filter((g) => g != m);
|
|
77814
77815
|
}
|
|
77815
77816
|
}
|
|
@@ -78089,11 +78090,11 @@ async function Qfe(i, e, t, s) {
|
|
|
78089
78090
|
if (u > ui)
|
|
78090
78091
|
throw new Error(Y2);
|
|
78091
78092
|
const h = xt(i, s, Q3, /* @__PURE__ */ new Date()), c = xt(i, s, U3), d = xt(i, s, z3), f = xt(i, s, G3, !0), y = xt(i, s, j3, 0), v = xt(i, s, W3, 0), m = xt(i, s, "passThrough");
|
|
78092
|
-
let g,
|
|
78093
|
-
m || (g = xt(i, s, "password"),
|
|
78094
|
-
const x = xt(i, s, "encryptionStrength", 3), T = xt(i, s, Y3),
|
|
78093
|
+
let g, b;
|
|
78094
|
+
m || (g = xt(i, s, "password"), b = xt(i, s, "rawPassword"));
|
|
78095
|
+
const x = xt(i, s, "encryptionStrength", 3), T = xt(i, s, Y3), R = xt(i, s, "extendedTimestamp", !0), A = xt(i, s, "keepOrder", !0), D = xt(i, s, "level"), V = xt(i, s, "useWebWorkers"), _ = xt(i, s, "bufferedWrite"), N = xt(i, s, "dataDescriptorSignature", !1), q = xt(i, s, "signal"), Q = xt(i, s, "useUnicodeFileNames", !0), L = xt(i, s, "useCompressionStream"), B = xt(i, s, "compressionMethod");
|
|
78095
78096
|
let H = xt(i, s, "dataDescriptor", !0), $ = xt(i, s, a0);
|
|
78096
|
-
if (!T && (g !== Bt ||
|
|
78097
|
+
if (!T && (g !== Bt || b !== Bt) && !(x >= 1 && x <= 3))
|
|
78097
78098
|
throw new Error(Ffe);
|
|
78098
78099
|
let j = new Uint8Array();
|
|
78099
78100
|
const { extraField: G } = s;
|
|
@@ -78114,7 +78115,7 @@ async function Qfe(i, e, t, s) {
|
|
|
78114
78115
|
t && (t = xfe(t), await tu(t), m ? ne = tw(oe) : t.size === Bt ? (H = !0, ($ || $ === Bt) && ($ = !0, oe = ne = ci + 1)) : (oe = t.size, ne = tw(oe)));
|
|
78115
78116
|
const { diskOffset: ue, diskNumber: Ie, maxSize: ge } = i.writer, te = re || oe > ci, we = re || ne > ci, et = re || i.offset + i.pendingEntriesSize - ue > ci, Gt = xt(i, s, "supportZip64SplitFile", !0) && re || Ie + Math.ceil(i.pendingEntriesSize / ge) > ui;
|
|
78116
78117
|
if (et || te || we || Gt) {
|
|
78117
|
-
if ($ === !1 || !
|
|
78118
|
+
if ($ === !1 || !A)
|
|
78118
78119
|
throw new Error(o0);
|
|
78119
78120
|
$ = !0;
|
|
78120
78121
|
}
|
|
@@ -78135,14 +78136,14 @@ async function Qfe(i, e, t, s) {
|
|
|
78135
78136
|
zip64Offset: et,
|
|
78136
78137
|
zip64DiskNumberStart: Gt,
|
|
78137
78138
|
password: g,
|
|
78138
|
-
rawPassword:
|
|
78139
|
+
rawPassword: b,
|
|
78139
78140
|
level: !L && i.config.CompressionStream === Bt && i.config.CompressionStreamNative === Bt ? 0 : D,
|
|
78140
78141
|
useWebWorkers: V,
|
|
78141
78142
|
encryptionStrength: x,
|
|
78142
|
-
extendedTimestamp:
|
|
78143
|
+
extendedTimestamp: R,
|
|
78143
78144
|
zipCrypto: T,
|
|
78144
78145
|
bufferedWrite: _,
|
|
78145
|
-
keepOrder:
|
|
78146
|
+
keepOrder: A,
|
|
78146
78147
|
useUnicodeFileNames: Q,
|
|
78147
78148
|
dataDescriptor: H,
|
|
78148
78149
|
dataDescriptorSignature: N,
|
|
@@ -78152,7 +78153,7 @@ async function Qfe(i, e, t, s) {
|
|
|
78152
78153
|
externalFileAttribute: v,
|
|
78153
78154
|
useCompressionStream: L,
|
|
78154
78155
|
passThrough: m,
|
|
78155
|
-
encrypted: !!(g && ot(g) ||
|
|
78156
|
+
encrypted: !!(g && ot(g) || b && ot(b)) || m && Is,
|
|
78156
78157
|
signature: Et,
|
|
78157
78158
|
compressionMethod: B
|
|
78158
78159
|
});
|
|
@@ -78177,11 +78178,11 @@ async function Ufe(i, e, t, s, r) {
|
|
|
78177
78178
|
} = r, {
|
|
78178
78179
|
headerInfo: h
|
|
78179
78180
|
} = s, { usdz: c } = i.options, d = Array.from(n.values()).pop();
|
|
78180
|
-
let f = {}, y, v, m, g,
|
|
78181
|
+
let f = {}, y, v, m, g, b, x, T;
|
|
78181
78182
|
n.set(e, f);
|
|
78182
78183
|
try {
|
|
78183
78184
|
let V;
|
|
78184
|
-
o && (V = d && d.lock,
|
|
78185
|
+
o && (V = d && d.lock, R()), (r.bufferedWrite || i.writerLocked || i.bufferedWrites && o || !l) && !c ? (x = new TransformStream(), T = new Response(x.readable).blob(), x.writable.size = 0, y = !0, i.bufferedWrites++, await tu(a)) : (x = a, await A()), await tu(x);
|
|
78185
78186
|
const { writable: _ } = a;
|
|
78186
78187
|
let { diskOffset: N } = a;
|
|
78187
78188
|
if (i.addSplitZipSignature) {
|
|
@@ -78191,10 +78192,10 @@ async function Ufe(i, e, t, s, r) {
|
|
|
78191
78192
|
}
|
|
78192
78193
|
c && Wfe(s, i.offset - N), y || (await V, await D(_));
|
|
78193
78194
|
const { diskNumber: q } = a;
|
|
78194
|
-
if (
|
|
78195
|
+
if (b = !0, f.diskNumberStart = q, f = await zfe(t, x, f, s, i.config, r), b = !1, n.set(e, f), f.filename = e, y) {
|
|
78195
78196
|
await x.writable.getWriter().close();
|
|
78196
78197
|
let Q = await T;
|
|
78197
|
-
await V, await
|
|
78198
|
+
await V, await A(), g = !0, l || (Q = await Zfe(f, Q, _, r)), await D(_), f.diskNumberStart = a.diskNumber, N = a.diskOffset, await Q.stream().pipeTo(_, { preventClose: !0, preventAbort: !0, signal: u }), _.size += Q.size, g = !1;
|
|
78198
78199
|
}
|
|
78199
78200
|
if (f.offset = i.offset - N, f.zip64)
|
|
78200
78201
|
Jfe(f, r);
|
|
@@ -78202,7 +78203,7 @@ async function Ufe(i, e, t, s, r) {
|
|
|
78202
78203
|
throw new Error(o0);
|
|
78203
78204
|
return i.offset += f.size, f;
|
|
78204
78205
|
} catch (V) {
|
|
78205
|
-
if (y && g || !y &&
|
|
78206
|
+
if (y && g || !y && b) {
|
|
78206
78207
|
if (i.hasCorruptedEntries = !0, V)
|
|
78207
78208
|
try {
|
|
78208
78209
|
V.corruptedEntry = !0;
|
|
@@ -78214,10 +78215,10 @@ async function Ufe(i, e, t, s, r) {
|
|
|
78214
78215
|
} finally {
|
|
78215
78216
|
y && i.bufferedWrites--, m && m(), v && v();
|
|
78216
78217
|
}
|
|
78217
|
-
function
|
|
78218
|
+
function R() {
|
|
78218
78219
|
f.lock = new Promise((V) => m = V);
|
|
78219
78220
|
}
|
|
78220
|
-
async function
|
|
78221
|
+
async function A() {
|
|
78221
78222
|
i.writerLocked = !0;
|
|
78222
78223
|
const { lockWriter: V } = i;
|
|
78223
78224
|
i.lockWriter = new Promise((_) => v = () => {
|
|
@@ -78242,11 +78243,11 @@ async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
|
|
|
78242
78243
|
compressed: v,
|
|
78243
78244
|
version: m,
|
|
78244
78245
|
compressionMethod: g,
|
|
78245
|
-
rawExtraFieldExtendedTimestamp:
|
|
78246
|
+
rawExtraFieldExtendedTimestamp: b,
|
|
78246
78247
|
extraFieldExtendedTimestampFlag: x,
|
|
78247
78248
|
rawExtraFieldNTFS: T,
|
|
78248
|
-
rawExtraFieldAES:
|
|
78249
|
-
} = o, { dataDescriptorArray:
|
|
78249
|
+
rawExtraFieldAES: R
|
|
78250
|
+
} = o, { dataDescriptorArray: A } = l, {
|
|
78250
78251
|
rawFilename: D,
|
|
78251
78252
|
lastAccessDate: V,
|
|
78252
78253
|
creationDate: _,
|
|
@@ -78285,9 +78286,9 @@ async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
|
|
|
78285
78286
|
rawFilename: D,
|
|
78286
78287
|
commentUTF8: !0,
|
|
78287
78288
|
rawComment: re,
|
|
78288
|
-
rawExtraFieldExtendedTimestamp:
|
|
78289
|
+
rawExtraFieldExtendedTimestamp: b,
|
|
78289
78290
|
rawExtraFieldNTFS: T,
|
|
78290
|
-
rawExtraFieldAES:
|
|
78291
|
+
rawExtraFieldAES: R,
|
|
78291
78292
|
rawExtraField: ue,
|
|
78292
78293
|
extendedTimestamp: Gt,
|
|
78293
78294
|
msDosCompatible: Is,
|
|
@@ -78338,7 +78339,7 @@ async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
|
|
|
78338
78339
|
uncompressedSize: zt,
|
|
78339
78340
|
headerInfo: o,
|
|
78340
78341
|
dataDescriptorInfo: l
|
|
78341
|
-
}, a), ne && await Rr(_e,
|
|
78342
|
+
}, a), ne && await Rr(_e, A), Object.assign(st, {
|
|
78342
78343
|
uncompressedSize: zt,
|
|
78343
78344
|
compressedSize: Ct,
|
|
78344
78345
|
lastModDate: d,
|
|
@@ -78377,18 +78378,18 @@ function jfe(i) {
|
|
|
78377
78378
|
extendedTimestamp: f,
|
|
78378
78379
|
encrypted: y
|
|
78379
78380
|
} = i, v = n !== 0 && !h;
|
|
78380
|
-
let { version: m, compressionMethod: g } = i,
|
|
78381
|
+
let { version: m, compressionMethod: g } = i, b;
|
|
78381
78382
|
if (y && !o) {
|
|
78382
|
-
|
|
78383
|
-
const $ = Ns(
|
|
78384
|
-
mt($, 0, gpe), ps(
|
|
78383
|
+
b = new Uint8Array(ot(X2) + 2);
|
|
78384
|
+
const $ = Ns(b);
|
|
78385
|
+
mt($, 0, gpe), ps(b, X2, 2), qc($, 8, d);
|
|
78385
78386
|
} else
|
|
78386
|
-
|
|
78387
|
-
let x, T,
|
|
78387
|
+
b = new Uint8Array();
|
|
78388
|
+
let x, T, R;
|
|
78388
78389
|
if (f) {
|
|
78389
78390
|
T = new Uint8Array(9 + (s ? 4 : 0) + (r ? 4 : 0));
|
|
78390
78391
|
const $ = Ns(T);
|
|
78391
|
-
mt($, 0, g3), mt($, 2, ot(T) - 4),
|
|
78392
|
+
mt($, 0, g3), mt($, 2, ot(T) - 4), R = 1 + (s ? 2 : 0) + (r ? 4 : 0), qc($, 4, R);
|
|
78392
78393
|
let j = 5;
|
|
78393
78394
|
at($, j, Math.floor(t.getTime() / 1e3)), j += 4, s && (at($, j, Math.floor(s.getTime() / 1e3)), j += 4), r && at($, j, Math.floor(r.getTime() / 1e3));
|
|
78394
78395
|
try {
|
|
@@ -78400,19 +78401,19 @@ function jfe(i) {
|
|
|
78400
78401
|
}
|
|
78401
78402
|
} else
|
|
78402
78403
|
x = T = new Uint8Array();
|
|
78403
|
-
let
|
|
78404
|
-
l && (
|
|
78404
|
+
let A = 0;
|
|
78405
|
+
l && (A = A | xpe), u && (A = A | wpe), g === Bt && (g = v ? _2 : ape), g == _2 && (n >= 1 && n < 3 && (A = A | 6), n >= 3 && n < 5 && (A = A | 1), n === 9 && (A = A | 2)), a && (m = m > D2 ? m : D2), y && (A = A | bpe, o || (m = m > k2 ? m : k2, b[9] = g, g = ope));
|
|
78405
78406
|
const D = new Uint8Array(26), V = Ns(D);
|
|
78406
|
-
mt(V, 0, m), mt(V, 2,
|
|
78407
|
+
mt(V, 0, m), mt(V, 2, A), mt(V, 4, g);
|
|
78407
78408
|
const _ = new Uint32Array(1), N = Ns(_);
|
|
78408
78409
|
let q;
|
|
78409
78410
|
t < M2 ? q = M2 : t > O2 ? q = O2 : q = t, mt(N, 0, (q.getHours() << 6 | q.getMinutes()) << 5 | q.getSeconds() / 2), mt(N, 2, (q.getFullYear() - 1980 << 4 | q.getMonth() + 1) << 5 | q.getDate());
|
|
78410
78411
|
const Q = _[0];
|
|
78411
78412
|
at(V, 6, Q), mt(V, 22, ot(e));
|
|
78412
|
-
const L = ot(
|
|
78413
|
+
const L = ot(b, T, x, c);
|
|
78413
78414
|
mt(V, 24, L);
|
|
78414
78415
|
const B = new Uint8Array(30 + ot(e) + L), H = Ns(B);
|
|
78415
|
-
return at(H, 0, lpe), ps(B, D, 4), ps(B, e, 30), ps(B,
|
|
78416
|
+
return at(H, 0, lpe), ps(B, D, 4), ps(B, e, 30), ps(B, b, 30 + ot(e)), ps(B, T, 30 + ot(e, b)), ps(B, x, 30 + ot(e, b, T)), ps(B, c, 30 + ot(e, b, T, x)), {
|
|
78416
78417
|
localHeaderArray: B,
|
|
78417
78418
|
headerArray: D,
|
|
78418
78419
|
headerView: V,
|
|
@@ -78422,10 +78423,10 @@ function jfe(i) {
|
|
|
78422
78423
|
compressed: v,
|
|
78423
78424
|
version: m,
|
|
78424
78425
|
compressionMethod: g,
|
|
78425
|
-
extraFieldExtendedTimestampFlag:
|
|
78426
|
+
extraFieldExtendedTimestampFlag: R,
|
|
78426
78427
|
rawExtraFieldExtendedTimestamp: T,
|
|
78427
78428
|
rawExtraFieldNTFS: x,
|
|
78428
|
-
rawExtraFieldAES:
|
|
78429
|
+
rawExtraFieldAES: b,
|
|
78429
78430
|
extraFieldLength: L
|
|
78430
78431
|
};
|
|
78431
78432
|
}
|
|
@@ -78475,8 +78476,8 @@ function Kfe(i, e) {
|
|
|
78475
78476
|
if ((!u || v) && t !== Bt && (at(l, 10, t), m && at(h, c, t)), d) {
|
|
78476
78477
|
const g = Ns(s);
|
|
78477
78478
|
mt(g, 0, mpe), mt(g, 2, ot(s) - 4);
|
|
78478
|
-
let
|
|
78479
|
-
f && (at(l, 18, ci), hi(g,
|
|
78479
|
+
let b = 4;
|
|
78480
|
+
f && (at(l, 18, ci), hi(g, b, BigInt(n)), b += 8), y && (at(l, 14, ci), hi(g, b, BigInt(r))), m && (hi(h, c + 4, BigInt(r)), hi(h, c + 12, BigInt(n)));
|
|
78480
78481
|
} else
|
|
78481
78482
|
at(l, 14, r), at(l, 18, n), m && (at(h, c + 4, r), at(h, c + 8, n));
|
|
78482
78483
|
}
|
|
@@ -78494,9 +78495,9 @@ function Jfe(i, e) {
|
|
|
78494
78495
|
async function Yfe(i, e, t) {
|
|
78495
78496
|
const { files: s, writer: r } = i, { diskOffset: n, writable: a } = r;
|
|
78496
78497
|
let { diskNumber: o } = r, l = 0, u = 0, h = i.offset - n, c = s.size;
|
|
78497
|
-
for (const [,
|
|
78498
|
+
for (const [, R] of s) {
|
|
78498
78499
|
const {
|
|
78499
|
-
rawFilename:
|
|
78500
|
+
rawFilename: A,
|
|
78500
78501
|
rawExtraFieldZip64: D,
|
|
78501
78502
|
rawExtraFieldAES: V,
|
|
78502
78503
|
rawComment: _,
|
|
@@ -78505,7 +78506,7 @@ async function Yfe(i, e, t) {
|
|
|
78505
78506
|
extendedTimestamp: Q,
|
|
78506
78507
|
extraFieldExtendedTimestampFlag: L,
|
|
78507
78508
|
lastModDate: B
|
|
78508
|
-
} =
|
|
78509
|
+
} = R;
|
|
78509
78510
|
let H;
|
|
78510
78511
|
if (Q) {
|
|
78511
78512
|
H = new Uint8Array(9);
|
|
@@ -78513,8 +78514,8 @@ async function Yfe(i, e, t) {
|
|
|
78513
78514
|
mt($, 0, g3), mt($, 2, 5), qc($, 4, L), at($, 5, Math.floor(B.getTime() / 1e3));
|
|
78514
78515
|
} else
|
|
78515
78516
|
H = new Uint8Array();
|
|
78516
|
-
|
|
78517
|
-
|
|
78517
|
+
R.rawExtraFieldCDExtendedTimestamp = H, u += 46 + ot(
|
|
78518
|
+
A,
|
|
78518
78519
|
_,
|
|
78519
78520
|
D,
|
|
78520
78521
|
V,
|
|
@@ -78526,7 +78527,7 @@ async function Yfe(i, e, t) {
|
|
|
78526
78527
|
const d = new Uint8Array(u), f = Ns(d);
|
|
78527
78528
|
await tu(r);
|
|
78528
78529
|
let y = 0;
|
|
78529
|
-
for (const [
|
|
78530
|
+
for (const [R, A] of Array.from(s.values()).entries()) {
|
|
78530
78531
|
const {
|
|
78531
78532
|
offset: D,
|
|
78532
78533
|
rawFilename: V,
|
|
@@ -78550,14 +78551,14 @@ async function Yfe(i, e, t) {
|
|
|
78550
78551
|
diskNumberStart: te,
|
|
78551
78552
|
uncompressedSize: we,
|
|
78552
78553
|
compressedSize: et
|
|
78553
|
-
} =
|
|
78554
|
+
} = A, Yt = ot(_, N, q, Q, L);
|
|
78554
78555
|
at(f, l, hpe), mt(f, l + 4, H);
|
|
78555
78556
|
const Gt = Ns($);
|
|
78556
78557
|
ne || at(Gt, 18, we), Y || at(Gt, 14, et), ps(d, $, l + 6), mt(f, l + 30, Yt), mt(f, l + 32, ot(B)), mt(f, l + 34, G && oe ? ui : te), mt(f, l + 36, Ie), ge ? at(f, l + 38, ge) : j && ue && qc(f, l + 38, Epe), at(f, l + 42, G && re ? ci : D), ps(d, V, l + 46), ps(d, _, l + 46 + ot(V)), ps(d, N, l + 46 + ot(V, _)), ps(d, q, l + 46 + ot(V, _, N)), ps(d, Q, l + 46 + ot(V, _, N, q)), ps(d, L, l + 46 + ot(V, _, N, q, Q)), ps(d, B, l + 46 + ot(V) + Yt);
|
|
78557
78558
|
const Is = 46 + ot(V, B) + Yt;
|
|
78558
78559
|
if (l - y > r.availableSize && (r.availableSize = 0, await Rr(a, d.slice(y, l)), y = l), l += Is, t.onprogress)
|
|
78559
78560
|
try {
|
|
78560
|
-
await t.onprogress(
|
|
78561
|
+
await t.onprogress(R + 1, s.size, new X3(A));
|
|
78561
78562
|
} catch {
|
|
78562
78563
|
}
|
|
78563
78564
|
}
|
|
@@ -78571,7 +78572,7 @@ async function Yfe(i, e, t) {
|
|
|
78571
78572
|
throw new Error(o0);
|
|
78572
78573
|
g = !0;
|
|
78573
78574
|
}
|
|
78574
|
-
const
|
|
78575
|
+
const b = new Uint8Array(g ? fpe : Gm), x = Ns(b);
|
|
78575
78576
|
l = 0, g && (at(x, 0, dpe), hi(x, 4, BigInt(44)), mt(x, 12, 45), mt(x, 14, 45), at(x, 16, v), at(x, 20, o), hi(x, 24, BigInt(c)), hi(x, 32, BigInt(c)), hi(x, 40, BigInt(u)), hi(x, 48, BigInt(h)), at(x, 56, ppe), hi(x, 64, BigInt(h) + BigInt(u)), at(x, 72, v + 1), xt(i, t, "supportZip64SplitFile", !0) && (v = ui, o = ui), c = ui, h = ci, u = ci, l += m3 + f3), at(x, l, cpe), mt(x, l + 4, v), mt(x, l + 6, o), mt(x, l + 8, c), mt(x, l + 10, c), at(x, l + 12, u), at(x, l + 16, h);
|
|
78576
78577
|
const T = ot(e);
|
|
78577
78578
|
if (T)
|
|
@@ -78579,7 +78580,7 @@ async function Yfe(i, e, t) {
|
|
|
78579
78580
|
mt(x, l + 20, T);
|
|
78580
78581
|
else
|
|
78581
78582
|
throw new Error(Ofe);
|
|
78582
|
-
await Rr(a,
|
|
78583
|
+
await Rr(a, b), T && await Rr(a, e);
|
|
78583
78584
|
}
|
|
78584
78585
|
async function Rr(i, e) {
|
|
78585
78586
|
const t = i.getWriter();
|
|
@@ -78639,7 +78640,7 @@ var Ym;
|
|
|
78639
78640
|
i.UTF8 = "utf8", i.ASCII = "ascii", i.UTF16 = "utf16";
|
|
78640
78641
|
})(Ym || (Ym = {}));
|
|
78641
78642
|
const Ea = wu("Filesystem", {
|
|
78642
|
-
web: () => import("./web-
|
|
78643
|
+
web: () => import("./web-BnuZtMKb.js").then((i) => new i.FilesystemWeb())
|
|
78643
78644
|
});
|
|
78644
78645
|
vi("Upload", async (i, e, t, s) => {
|
|
78645
78646
|
const r = i.sessionID || `sim_${Date.now()}_${Math.floor(Lt(0, 2176782336)).toString(36)}`, n = VV({
|
|
@@ -78793,7 +78794,7 @@ function ime({
|
|
|
78793
78794
|
}) {
|
|
78794
78795
|
const [y, v] = rt(
|
|
78795
78796
|
"initial"
|
|
78796
|
-
), m = fe(!1), g = Xm.find((V) => V.name === "upload"),
|
|
78797
|
+
), m = fe(!1), g = Xm.find((V) => V.name === "upload"), b = Xm.find((V) => V.name === "download"), x = Oo(g.name, g.defaultValue, g.type), T = Oo(b.name, b.defaultValue, b.type), R = mde({
|
|
78797
78798
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
78798
78799
|
mutationFn: async (V) => await wde("/data", V),
|
|
78799
78800
|
onSuccess: (V) => {
|
|
@@ -78802,7 +78803,7 @@ function ime({
|
|
|
78802
78803
|
onError: () => {
|
|
78803
78804
|
v("error");
|
|
78804
78805
|
}
|
|
78805
|
-
}),
|
|
78806
|
+
}), A = Xe(async (V) => {
|
|
78806
78807
|
const _ = new Hfe(new Cfe());
|
|
78807
78808
|
for (const L of V)
|
|
78808
78809
|
await _.add(L.filename, new bfe(L.content));
|
|
@@ -78825,13 +78826,13 @@ function ime({
|
|
|
78825
78826
|
sessionId: V,
|
|
78826
78827
|
files: _.map((L) => ({ ...L, encoding: L.encoding ?? "utf8" }))
|
|
78827
78828
|
};
|
|
78828
|
-
if (T && await
|
|
78829
|
+
if (T && await A(_), !x) {
|
|
78829
78830
|
e({});
|
|
78830
78831
|
return;
|
|
78831
78832
|
}
|
|
78832
78833
|
const { backend: q, type: Q } = tme(l);
|
|
78833
78834
|
if (Q === "web")
|
|
78834
|
-
|
|
78835
|
+
R.mutate(N);
|
|
78835
78836
|
else if (q)
|
|
78836
78837
|
try {
|
|
78837
78838
|
const L = await sme(q, V);
|
|
@@ -78852,9 +78853,9 @@ function ime({
|
|
|
78852
78853
|
a,
|
|
78853
78854
|
T,
|
|
78854
78855
|
x,
|
|
78855
|
-
|
|
78856
|
+
A,
|
|
78856
78857
|
e,
|
|
78857
|
-
|
|
78858
|
+
R
|
|
78858
78859
|
]);
|
|
78859
78860
|
return lt(() => {
|
|
78860
78861
|
o && !m.current && D && D();
|
|
@@ -78902,7 +78903,7 @@ var iw;
|
|
|
78902
78903
|
i.None = "NONE", i.Slide = "SLIDE", i.Fade = "FADE";
|
|
78903
78904
|
})(iw || (iw = {}));
|
|
78904
78905
|
const t7 = wu("StatusBar"), s7 = wu("ImmersiveMode", {
|
|
78905
|
-
web: () => import("./web-
|
|
78906
|
+
web: () => import("./web-Bj8F7OFt.js").then((i) => new i.ImmersiveModeWeb())
|
|
78906
78907
|
});
|
|
78907
78908
|
Ai("EnterFullscreen", "session");
|
|
78908
78909
|
vi("EnterFullscreen", xu, {});
|
|
@@ -78911,53 +78912,55 @@ function rme({
|
|
|
78911
78912
|
buttonText: e,
|
|
78912
78913
|
className: t,
|
|
78913
78914
|
containerClass: s,
|
|
78914
|
-
|
|
78915
|
-
|
|
78916
|
-
|
|
78917
|
-
|
|
78915
|
+
animate: r,
|
|
78916
|
+
next: n,
|
|
78917
|
+
data: a,
|
|
78918
|
+
updateStore: o,
|
|
78919
|
+
delayMs: l = 0
|
|
78918
78920
|
}) {
|
|
78919
|
-
const
|
|
78921
|
+
const u = /* @__PURE__ */ I.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
78920
78922
|
!!i && i,
|
|
78921
78923
|
!i && /* @__PURE__ */ I.jsx("p", { className: "", children: "Please click the Button below to enter Fullscreen mode." })
|
|
78922
|
-
] }), [
|
|
78923
|
-
|
|
78924
|
-
}, []),
|
|
78925
|
-
document.removeEventListener("fullscreenchange",
|
|
78926
|
-
}, [
|
|
78927
|
-
|
|
78928
|
-
|
|
78929
|
-
},
|
|
78930
|
-
}, [
|
|
78931
|
-
if (!
|
|
78932
|
-
const
|
|
78933
|
-
|
|
78934
|
-
}, [
|
|
78935
|
-
|
|
78936
|
-
}, [
|
|
78937
|
-
|
|
78938
|
-
const
|
|
78939
|
-
if (Ed() === "mobile" && Fa.getPlatform() === "android" && (t7.hide(), s7.enable()),
|
|
78924
|
+
] }), [h, c] = rt(!1), d = fe(!1), f = fe(null), y = Xe(() => {
|
|
78925
|
+
f.current && (clearTimeout(f.current), f.current = null);
|
|
78926
|
+
}, []), v = Xe(() => {
|
|
78927
|
+
document.removeEventListener("fullscreenchange", g), document.removeEventListener("webkitfullscreenchange", g), document.removeEventListener("mozfullscreenchange", g), document.removeEventListener("MSFullscreenChange", g), y(), d.current = !1;
|
|
78928
|
+
}, [y]), m = Xe(() => {
|
|
78929
|
+
y(), c(!0), f.current = setTimeout(() => {
|
|
78930
|
+
f.current = null, n({});
|
|
78931
|
+
}, l);
|
|
78932
|
+
}, [n, l, y]), g = Xe(() => {
|
|
78933
|
+
if (!d.current) return;
|
|
78934
|
+
const T = Ul();
|
|
78935
|
+
v(), T ? m() : c(!1);
|
|
78936
|
+
}, [m, v]), b = Xe(() => {
|
|
78937
|
+
v(), d.current = !0, document.addEventListener("fullscreenchange", g), document.addEventListener("webkitfullscreenchange", g), document.addEventListener("mozfullscreenchange", g), document.addEventListener("MSFullscreenChange", g);
|
|
78938
|
+
}, [g, v]), x = Xe(async () => {
|
|
78939
|
+
c(!0), v();
|
|
78940
|
+
const T = document.documentElement;
|
|
78941
|
+
if (Ed() === "mobile" && Fa.getPlatform() === "android" && (t7.hide(), s7.enable()), T.requestFullscreen)
|
|
78940
78942
|
try {
|
|
78941
|
-
await
|
|
78943
|
+
await T.requestFullscreen(), m();
|
|
78942
78944
|
return;
|
|
78943
|
-
} catch (
|
|
78944
|
-
console.error("Fullscreen request failed:",
|
|
78945
|
+
} catch (R) {
|
|
78946
|
+
console.error("Fullscreen request failed:", R);
|
|
78945
78947
|
return;
|
|
78946
78948
|
}
|
|
78947
|
-
|
|
78948
|
-
}, [
|
|
78949
|
+
T.mozRequestFullScreen ? (T.mozRequestFullScreen(), b()) : T.webkitRequestFullscreen ? (T.webkitRequestFullscreen(), b()) : T.msRequestFullscreen ? (T.msRequestFullscreen(), b()) : console.warn("Fullscreen API is not supported by this browser.");
|
|
78950
|
+
}, [m, b, v]);
|
|
78949
78951
|
return lt(() => () => {
|
|
78950
|
-
|
|
78951
|
-
}, [
|
|
78952
|
+
v();
|
|
78953
|
+
}, [v]), h ? null : /* @__PURE__ */ I.jsx(
|
|
78952
78954
|
wv,
|
|
78953
78955
|
{
|
|
78954
|
-
data:
|
|
78955
|
-
updateStore:
|
|
78956
|
+
data: a,
|
|
78957
|
+
updateStore: o,
|
|
78956
78958
|
className: t,
|
|
78957
78959
|
containerClass: s,
|
|
78958
|
-
|
|
78960
|
+
animate: r,
|
|
78961
|
+
content: u,
|
|
78959
78962
|
buttonText: e ?? "Enter Fullscreen Mode",
|
|
78960
|
-
next:
|
|
78963
|
+
next: x
|
|
78961
78964
|
}
|
|
78962
78965
|
);
|
|
78963
78966
|
}
|
|
@@ -79029,15 +79032,15 @@ function ep(i) {
|
|
|
79029
79032
|
let { children: o, position: l, preventExitTransition: u, done: h, nodeRef: c, isIn: d, playToast: f } = a;
|
|
79030
79033
|
const y = s ? `${e}--${l}` : e, v = s ? `${t}--${l}` : t, m = fe(0);
|
|
79031
79034
|
return Pg(() => {
|
|
79032
|
-
const g = c.current,
|
|
79033
|
-
T.target === c.current && (f(), g.removeEventListener("animationend", x), g.removeEventListener("animationcancel", x), m.current === 0 && T.type !== "animationcancel" && g.classList.remove(...
|
|
79035
|
+
const g = c.current, b = y.split(" "), x = (T) => {
|
|
79036
|
+
T.target === c.current && (f(), g.removeEventListener("animationend", x), g.removeEventListener("animationcancel", x), m.current === 0 && T.type !== "animationcancel" && g.classList.remove(...b));
|
|
79034
79037
|
};
|
|
79035
|
-
g.classList.add(...
|
|
79038
|
+
g.classList.add(...b), g.addEventListener("animationend", x), g.addEventListener("animationcancel", x);
|
|
79036
79039
|
}, []), lt(() => {
|
|
79037
|
-
const g = c.current,
|
|
79038
|
-
g.removeEventListener("animationend",
|
|
79040
|
+
const g = c.current, b = () => {
|
|
79041
|
+
g.removeEventListener("animationend", b), r ? ame(g, h, n) : h();
|
|
79039
79042
|
};
|
|
79040
|
-
d || (u ?
|
|
79043
|
+
d || (u ? b() : (m.current = 1, g.className += ` ${v}`, g.addEventListener("animationend", b)));
|
|
79041
79044
|
}, [d]), Ze.createElement(Ze.Fragment, null, o);
|
|
79042
79045
|
};
|
|
79043
79046
|
}
|
|
@@ -79070,20 +79073,20 @@ function lme(i) {
|
|
|
79070
79073
|
const a = n.containerId || 1;
|
|
79071
79074
|
return { subscribe(o) {
|
|
79072
79075
|
const l = /* @__PURE__ */ function(h, c, d) {
|
|
79073
|
-
let f = 1, y = 0, v = [], m = [], g = [],
|
|
79074
|
-
const x = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Set(),
|
|
79076
|
+
let f = 1, y = 0, v = [], m = [], g = [], b = c;
|
|
79077
|
+
const x = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Set(), R = () => {
|
|
79075
79078
|
g = Array.from(x.values()), T.forEach((V) => V());
|
|
79076
|
-
},
|
|
79077
|
-
m = V == null ? [] : m.filter((_) => _ !== V),
|
|
79079
|
+
}, A = (V) => {
|
|
79080
|
+
m = V == null ? [] : m.filter((_) => _ !== V), R();
|
|
79078
79081
|
}, D = (V) => {
|
|
79079
79082
|
const { toastId: _, onOpen: N, updateId: q, children: Q } = V.props, L = q == null;
|
|
79080
|
-
V.staleId && x.delete(V.staleId), x.set(_, V), m = [...m, V.props.toastId].filter((B) => B !== V.staleId),
|
|
79083
|
+
V.staleId && x.delete(V.staleId), x.set(_, V), m = [...m, V.props.toastId].filter((B) => B !== V.staleId), R(), d(rw(V, L ? "added" : "updated")), L && Pi(N) && N(_a(Q) && Q.props);
|
|
79081
79084
|
};
|
|
79082
|
-
return { id: h, props:
|
|
79085
|
+
return { id: h, props: b, observe: (V) => (T.add(V), () => T.delete(V)), toggle: (V, _) => {
|
|
79083
79086
|
x.forEach((N) => {
|
|
79084
79087
|
_ != null && _ !== N.props.toastId || Pi(N.toggle) && N.toggle(V);
|
|
79085
79088
|
});
|
|
79086
|
-
}, removeToast:
|
|
79089
|
+
}, removeToast: A, toasts: x, clearQueue: () => {
|
|
79087
79090
|
y -= v.length, v = [];
|
|
79088
79091
|
}, buildToast: (V, _) => {
|
|
79089
79092
|
if (((re) => {
|
|
@@ -79092,26 +79095,26 @@ function lme(i) {
|
|
|
79092
79095
|
return te || we;
|
|
79093
79096
|
})(_)) return;
|
|
79094
79097
|
const { toastId: N, updateId: q, data: Q, staleId: L, delay: B } = _, H = () => {
|
|
79095
|
-
|
|
79098
|
+
A(N);
|
|
79096
79099
|
}, $ = q == null;
|
|
79097
79100
|
$ && y++;
|
|
79098
|
-
const j = { ...
|
|
79101
|
+
const j = { ...b, style: b.toastStyle, key: f++, ...Object.fromEntries(Object.entries(_).filter((re) => {
|
|
79099
79102
|
let [ue, Ie] = re;
|
|
79100
79103
|
return Ie != null;
|
|
79101
|
-
})), toastId: N, updateId: q, data: Q, closeToast: H, isIn: !1, className: rc(_.className ||
|
|
79104
|
+
})), toastId: N, updateId: q, data: Q, closeToast: H, isIn: !1, className: rc(_.className || b.toastClassName), bodyClassName: rc(_.bodyClassName || b.bodyClassName), progressClassName: rc(_.progressClassName || b.progressClassName), autoClose: !_.isLoading && (G = _.autoClose, ne = b.autoClose, G === !1 || su(G) && G > 0 ? G : ne), deleteToast() {
|
|
79102
79105
|
const re = x.get(N), { onClose: ue, children: Ie } = re.props;
|
|
79103
|
-
Pi(ue) && ue(_a(Ie) && Ie.props), d(rw(re, "removed")), x.delete(N), y--, y < 0 && (y = 0), v.length > 0 ? D(v.shift()) :
|
|
79106
|
+
Pi(ue) && ue(_a(Ie) && Ie.props), d(rw(re, "removed")), x.delete(N), y--, y < 0 && (y = 0), v.length > 0 ? D(v.shift()) : R();
|
|
79104
79107
|
} };
|
|
79105
79108
|
var G, ne;
|
|
79106
|
-
j.closeButton =
|
|
79109
|
+
j.closeButton = b.closeButton, _.closeButton === !1 || eg(_.closeButton) ? j.closeButton = _.closeButton : _.closeButton === !0 && (j.closeButton = !eg(b.closeButton) || b.closeButton);
|
|
79107
79110
|
let Y = V;
|
|
79108
79111
|
_a(V) && !Da(V.type) ? Y = em(V, { closeToast: H, toastProps: j, data: Q }) : Pi(V) && (Y = V({ closeToast: H, toastProps: j, data: Q }));
|
|
79109
79112
|
const oe = { content: Y, props: j, staleId: L };
|
|
79110
|
-
|
|
79113
|
+
b.limit && b.limit > 0 && y > b.limit && $ ? v.push(oe) : su(B) ? setTimeout(() => {
|
|
79111
79114
|
D(oe);
|
|
79112
79115
|
}, B) : D(oe);
|
|
79113
79116
|
}, setProps(V) {
|
|
79114
|
-
|
|
79117
|
+
b = V;
|
|
79115
79118
|
}, setToggle: (V, _) => {
|
|
79116
79119
|
x.get(V).toggle = _;
|
|
79117
79120
|
}, isToastActive: (V) => m.some((_) => _ === V), getSnapshot: () => g };
|
|
@@ -79166,19 +79169,19 @@ function ume(i) {
|
|
|
79166
79169
|
window.removeEventListener("focus", y), window.removeEventListener("blur", v);
|
|
79167
79170
|
};
|
|
79168
79171
|
}, [i.pauseOnFocusLoss]);
|
|
79169
|
-
const
|
|
79172
|
+
const b = { onPointerDown: function(x) {
|
|
79170
79173
|
if (i.draggable === !0 || i.draggable === x.pointerType) {
|
|
79171
79174
|
a.didMove = !1, document.addEventListener("pointermove", m), document.addEventListener("pointerup", g);
|
|
79172
79175
|
const T = n.current;
|
|
79173
79176
|
a.canCloseOnClick = !0, a.canDrag = !0, T.style.transition = "none", i.draggableDirection === "x" ? (a.start = x.clientX, a.removalDistance = T.offsetWidth * (i.draggablePercent / 100)) : (a.start = x.clientY, a.removalDistance = T.offsetHeight * (i.draggablePercent === 80 ? 1.5 * i.draggablePercent : i.draggablePercent) / 100);
|
|
79174
79177
|
}
|
|
79175
79178
|
}, onPointerUp: function(x) {
|
|
79176
|
-
const { top: T, bottom:
|
|
79177
|
-
x.nativeEvent.type !== "touchend" && i.pauseOnHover && x.clientX >=
|
|
79179
|
+
const { top: T, bottom: R, left: A, right: D } = n.current.getBoundingClientRect();
|
|
79180
|
+
x.nativeEvent.type !== "touchend" && i.pauseOnHover && x.clientX >= A && x.clientX <= D && x.clientY >= T && x.clientY <= R ? v() : y();
|
|
79178
79181
|
} };
|
|
79179
|
-
return o && l && (
|
|
79182
|
+
return o && l && (b.onMouseEnter = v, i.stacked || (b.onMouseLeave = y)), c && (b.onClick = (x) => {
|
|
79180
79183
|
h && h(x), a.canCloseOnClick && u();
|
|
79181
|
-
}), { playToast: y, pauseToast: v, isRunning: e, preventExitTransition: s, toastRef: n, eventHandlers:
|
|
79184
|
+
}), { playToast: y, pauseToast: v, isRunning: e, preventExitTransition: s, toastRef: n, eventHandlers: b };
|
|
79182
79185
|
}
|
|
79183
79186
|
function hme(i) {
|
|
79184
79187
|
let { delay: e, isRunning: t, closeToast: s, type: r = "default", hide: n, className: a, style: o, controlledProgress: l, progress: u, rtl: h, isIn: c, theme: d } = i;
|
|
@@ -79268,7 +79271,7 @@ const pme = typeof window < "u" ? Pg : lt, Bh = (i) => {
|
|
|
79268
79271
|
}, spinner: function() {
|
|
79269
79272
|
return Ze.createElement("div", { className: "Toastify__spinner" });
|
|
79270
79273
|
} }, fme = (i) => {
|
|
79271
|
-
const { isRunning: e, preventExitTransition: t, toastRef: s, eventHandlers: r, playToast: n } = ume(i), { closeButton: a, children: o, autoClose: l, onClick: u, type: h, hideProgressBar: c, closeToast: d, transition: f, position: y, className: v, style: m, bodyClassName: g, bodyStyle:
|
|
79274
|
+
const { isRunning: e, preventExitTransition: t, toastRef: s, eventHandlers: r, playToast: n } = ume(i), { closeButton: a, children: o, autoClose: l, onClick: u, type: h, hideProgressBar: c, closeToast: d, transition: f, position: y, className: v, style: m, bodyClassName: g, bodyStyle: b, progressClassName: x, progressStyle: T, updateId: R, role: A, progress: D, rtl: V, toastId: _, deleteToast: N, isIn: q, isLoading: Q, closeOnClick: L, theme: B } = i, H = Zn("Toastify__toast", `Toastify__toast-theme--${B}`, `Toastify__toast--${h}`, { "Toastify__toast--rtl": V }, { "Toastify__toast--close-on-click": L }), $ = Pi(v) ? v({ rtl: V, position: y, type: h, defaultClassName: H }) : Zn(H, v), j = function(oe) {
|
|
79272
79275
|
let { theme: re, type: ue, isLoading: Ie, icon: ge } = oe, te = null;
|
|
79273
79276
|
const we = { theme: re, type: ue };
|
|
79274
79277
|
return ge === !1 || (Pi(ge) ? te = ge({ ...we, isLoading: Ie }) : _a(ge) ? te = em(ge, we) : Ie ? te = Mf.spinner() : ((et) => et in Mf)(ue) && (te = Mf[ue](we))), te;
|
|
@@ -79279,7 +79282,7 @@ const pme = typeof window < "u" ? Pg : lt, Bh = (i) => {
|
|
|
79279
79282
|
return Ze.createElement("button", { className: `Toastify__close-button Toastify__close-button--${ue}`, type: "button", onClick: (ge) => {
|
|
79280
79283
|
ge.stopPropagation(), re(ge);
|
|
79281
79284
|
}, "aria-label": Ie }, Ze.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Ze.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
79282
|
-
}(ne)), Ze.createElement(f, { isIn: q, done: N, position: y, preventExitTransition: t, nodeRef: s, playToast: n }, Ze.createElement("div", { id: _, onClick: u, "data-in": q, className: $, ...r, style: m, ref: s }, Ze.createElement("div", { ...q && { role:
|
|
79285
|
+
}(ne)), Ze.createElement(f, { isIn: q, done: N, position: y, preventExitTransition: t, nodeRef: s, playToast: n }, Ze.createElement("div", { id: _, onClick: u, "data-in": q, className: $, ...r, style: m, ref: s }, Ze.createElement("div", { ...q && { role: A }, className: Pi(g) ? g({ type: h }) : Zn("Toastify__toast-body", g), style: b }, j != null && Ze.createElement("div", { className: Zn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !Q }) }, j), Ze.createElement("div", null, o)), Y, Ze.createElement(hme, { ...R && !G ? { key: `pb-${R}` } : {}, rtl: V, theme: B, delay: l, isRunning: e, isIn: q, closeToast: d, hide: c, type: h, style: T, className: x, controlledProgress: G, progress: D || 0 })));
|
|
79283
79286
|
}, tp = function(i, e) {
|
|
79284
79287
|
return e === void 0 && (e = !1), { enter: `Toastify--animate Toastify__${i}-enter`, exit: `Toastify--animate Toastify__${i}-exit`, appendPosition: e };
|
|
79285
79288
|
}, mme = ep(tp("bounce", !0)), oCe = ep(tp("slide", !0)), lCe = ep(tp("zoom")), uCe = ep(tp("flip")), gme = { position: "top-right", transition: mme, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
@@ -79296,21 +79299,21 @@ function vme(i) {
|
|
|
79296
79299
|
return pme(() => {
|
|
79297
79300
|
if (t) {
|
|
79298
79301
|
var v;
|
|
79299
|
-
const m = n.current.querySelectorAll('[data-in="true"]'), g = 12,
|
|
79302
|
+
const m = n.current.querySelectorAll('[data-in="true"]'), g = 12, b = (v = e.position) == null ? void 0 : v.includes("top");
|
|
79300
79303
|
let x = 0, T = 0;
|
|
79301
|
-
Array.from(m).reverse().forEach((
|
|
79302
|
-
const D =
|
|
79303
|
-
D.classList.add("Toastify__toast--stacked"),
|
|
79304
|
-
const V = x * (s ? 0.2 : 1) + (s ? 0 : g *
|
|
79305
|
-
D.style.setProperty("--y", `${
|
|
79304
|
+
Array.from(m).reverse().forEach((R, A) => {
|
|
79305
|
+
const D = R;
|
|
79306
|
+
D.classList.add("Toastify__toast--stacked"), A > 0 && (D.dataset.collapsed = `${s}`), D.dataset.pos || (D.dataset.pos = b ? "top" : "bot");
|
|
79307
|
+
const V = x * (s ? 0.2 : 1) + (s ? 0 : g * A);
|
|
79308
|
+
D.style.setProperty("--y", `${b ? V : -1 * V}px`), D.style.setProperty("--g", `${g}`), D.style.setProperty("--s", "" + (1 - (s ? T : 0))), x += D.offsetHeight, T += 0.025;
|
|
79306
79309
|
});
|
|
79307
79310
|
}
|
|
79308
79311
|
}, [s, l, t]), Ze.createElement("div", { ref: n, className: "Toastify", id: d, onMouseEnter: () => {
|
|
79309
79312
|
t && (r(!1), Nt.pause());
|
|
79310
79313
|
}, onMouseLeave: y }, a((v, m) => {
|
|
79311
79314
|
const g = m.length ? { ...h } : { ...h, pointerEvents: "none" };
|
|
79312
|
-
return Ze.createElement("div", { className: f(v), style: g, key: `container-${v}` }, m.map((
|
|
79313
|
-
let { content: x, props: T } =
|
|
79315
|
+
return Ze.createElement("div", { className: f(v), style: g, key: `container-${v}` }, m.map((b) => {
|
|
79316
|
+
let { content: x, props: T } = b;
|
|
79314
79317
|
return Ze.createElement(fme, { ...T, stacked: t, collapseAll: y, isIn: o(T.toastId, T.containerId), style: T.style, key: `toast-${T.key}` }, x);
|
|
79315
79318
|
}));
|
|
79316
79319
|
}));
|
|
@@ -79432,7 +79435,7 @@ const yme = ({
|
|
|
79432
79435
|
const $ = `${window.location.origin}${L}${B}`;
|
|
79433
79436
|
o($);
|
|
79434
79437
|
}, [t, r, h, i, y, d]);
|
|
79435
|
-
const
|
|
79438
|
+
const b = (L, B) => {
|
|
79436
79439
|
s((H) => ({
|
|
79437
79440
|
...H,
|
|
79438
79441
|
[L]: B
|
|
@@ -79448,9 +79451,9 @@ const yme = ({
|
|
|
79448
79451
|
}, T = (L) => {
|
|
79449
79452
|
const B = `${L + 1}`;
|
|
79450
79453
|
v((H) => H.includes(B) ? H.filter((j) => j !== B) : [...H, B]);
|
|
79451
|
-
}, A = () => {
|
|
79452
|
-
f((L) => !L);
|
|
79453
79454
|
}, R = () => {
|
|
79455
|
+
f((L) => !L);
|
|
79456
|
+
}, A = () => {
|
|
79454
79457
|
n((L) => [...L, { name: "", value: "", type: "string" }]);
|
|
79455
79458
|
}, D = r.filter(
|
|
79456
79459
|
(L) => L.name !== "includeSubset" && L.name !== "excludeSubset"
|
|
@@ -79471,7 +79474,7 @@ const yme = ({
|
|
|
79471
79474
|
/* @__PURE__ */ I.jsx(
|
|
79472
79475
|
"button",
|
|
79473
79476
|
{
|
|
79474
|
-
onClick: () =>
|
|
79477
|
+
onClick: () => b(B, j === "true" ? "false" : "true"),
|
|
79475
79478
|
className: `relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 ${j === "true" ? "bg-blue-600" : "bg-gray-200"}`,
|
|
79476
79479
|
role: "switch",
|
|
79477
79480
|
"aria-checked": j === "true",
|
|
@@ -79492,7 +79495,7 @@ const yme = ({
|
|
|
79492
79495
|
type: "number",
|
|
79493
79496
|
className: "mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
|
|
79494
79497
|
value: j,
|
|
79495
|
-
onChange: (G) =>
|
|
79498
|
+
onChange: (G) => b(B, G.target.value),
|
|
79496
79499
|
placeholder: $ !== void 0 ? `Default: ${$}` : "Enter number..."
|
|
79497
79500
|
}
|
|
79498
79501
|
);
|
|
@@ -79503,7 +79506,7 @@ const yme = ({
|
|
|
79503
79506
|
{
|
|
79504
79507
|
className: "mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
|
|
79505
79508
|
value: j,
|
|
79506
|
-
onChange: (G) =>
|
|
79509
|
+
onChange: (G) => b(B, G.target.value),
|
|
79507
79510
|
placeholder: H === "array" ? "Enter comma-separated values or JSON array" : "Enter JSON object",
|
|
79508
79511
|
rows: 3
|
|
79509
79512
|
}
|
|
@@ -79516,7 +79519,7 @@ const yme = ({
|
|
|
79516
79519
|
type: "text",
|
|
79517
79520
|
className: "mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
|
|
79518
79521
|
value: j,
|
|
79519
|
-
onChange: (G) =>
|
|
79522
|
+
onChange: (G) => b(B, G.target.value),
|
|
79520
79523
|
placeholder: $ !== void 0 && $ !== "" ? `Default: ${$}` : "Enter value..."
|
|
79521
79524
|
}
|
|
79522
79525
|
);
|
|
@@ -79650,7 +79653,7 @@ const yme = ({
|
|
|
79650
79653
|
/* @__PURE__ */ I.jsxs(
|
|
79651
79654
|
"button",
|
|
79652
79655
|
{
|
|
79653
|
-
onClick:
|
|
79656
|
+
onClick: A,
|
|
79654
79657
|
className: "inline-flex cursor-pointer items-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",
|
|
79655
79658
|
children: [
|
|
79656
79659
|
/* @__PURE__ */ I.jsx(
|
|
@@ -79695,7 +79698,7 @@ const yme = ({
|
|
|
79695
79698
|
/* @__PURE__ */ I.jsx(
|
|
79696
79699
|
"button",
|
|
79697
79700
|
{
|
|
79698
|
-
onClick:
|
|
79701
|
+
onClick: R,
|
|
79699
79702
|
className: `relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 ${d ? "bg-red-600" : "bg-green-600"}`,
|
|
79700
79703
|
role: "switch",
|
|
79701
79704
|
"aria-checked": d,
|
|
@@ -79920,7 +79923,7 @@ function Vme({
|
|
|
79920
79923
|
styleCanvas: a,
|
|
79921
79924
|
initCanvas: o
|
|
79922
79925
|
}) {
|
|
79923
|
-
const { instructions: l, markers: u } = di(() => Vd(t), [t]), h = fe(0), c = fe(0), d = fe(!0), f = fe(null), y = fe(null), v = fe([]), m = fe(n ?? {}), g = fe(null),
|
|
79926
|
+
const { instructions: l, markers: u } = di(() => Vd(t), [t]), h = fe(0), c = fe(0), d = fe(!0), f = fe(null), y = fe(null), v = fe([]), m = fe(n ?? {}), g = fe(null), b = fe(0), x = fe(null);
|
|
79924
79927
|
lt(() => {
|
|
79925
79928
|
const Q = m.current._reactiveScreenRefreshRate, L = typeof Q == "number" && Q >= 20 && Q <= 300;
|
|
79926
79929
|
x.current = L ? 1e3 / Q : null;
|
|
@@ -79943,19 +79946,19 @@ function Vme({
|
|
|
79943
79946
|
), null;
|
|
79944
79947
|
},
|
|
79945
79948
|
[]
|
|
79946
|
-
),
|
|
79949
|
+
), R = Xe(() => {
|
|
79947
79950
|
const Q = y.current;
|
|
79948
79951
|
if (!Q) return {};
|
|
79949
79952
|
const L = Q.getContext("2d");
|
|
79950
79953
|
if (!L) return {};
|
|
79951
79954
|
const B = window.devicePixelRatio || 1, H = Q.width / B, $ = Q.height / B;
|
|
79952
79955
|
return { ctx: L, canvasWidth: H, canvasHeight: $ };
|
|
79953
|
-
}, []),
|
|
79954
|
-
const { ctx: Q, canvasWidth: L, canvasHeight: B } =
|
|
79956
|
+
}, []), A = Xe(() => {
|
|
79957
|
+
const { ctx: Q, canvasWidth: L, canvasHeight: B } = R();
|
|
79955
79958
|
Q && (Q.fillStyle = "white", Q.fillRect(0, 0, L, B), d.current = !1);
|
|
79956
|
-
}, [
|
|
79959
|
+
}, [R]), D = Xe(
|
|
79957
79960
|
(Q) => {
|
|
79958
|
-
const { ctx: L, canvasWidth: B, canvasHeight: H } =
|
|
79961
|
+
const { ctx: L, canvasWidth: B, canvasHeight: H } = R();
|
|
79959
79962
|
if (L) {
|
|
79960
79963
|
if (L.fillStyle = "white", L.fillRect(0, 0, B, H), a)
|
|
79961
79964
|
try {
|
|
@@ -79970,10 +79973,10 @@ function Vme({
|
|
|
79970
79973
|
} catch ($) {
|
|
79971
79974
|
console.error("Error during slide draw function:", $);
|
|
79972
79975
|
}
|
|
79973
|
-
c.current = Qs(), d.current = !0, f.current = null,
|
|
79976
|
+
c.current = Qs(), d.current = !0, f.current = null, b.current += 1;
|
|
79974
79977
|
}
|
|
79975
79978
|
},
|
|
79976
|
-
[
|
|
79979
|
+
[R]
|
|
79977
79980
|
);
|
|
79978
79981
|
let V;
|
|
79979
79982
|
const _ = Xe(() => {
|
|
@@ -79990,8 +79993,8 @@ function Vme({
|
|
|
79990
79993
|
const $ = H.displayDuration ?? 1 / 0, j = H.responseTimeLimit ?? 1 / 0, G = H.allowedKeys ?? !1, ne = G === !1 || Array.isArray(G) && G.length === 0;
|
|
79991
79994
|
let Y = !1;
|
|
79992
79995
|
const oe = Q - c.current + (x.current !== null ? x.current * 0.5 : 0);
|
|
79993
|
-
d.current && $ !== 1 / 0 && oe >= $ && (
|
|
79994
|
-
}, [l, T,
|
|
79996
|
+
d.current && $ !== 1 / 0 && oe >= $ && (A(), (ne || j === 1 / 0) && (Y = !0)), !Y && j !== 1 / 0 && oe >= j && (Y = !0, d.current && $ !== 1 / 0 && oe < $ && A()), Y ? V() : d.current && $ !== 1 / 0 && oe < $ || j !== 1 / 0 && oe < j ? g.current = requestAnimationFrame(_) : (g.current && cancelAnimationFrame(g.current), g.current = null);
|
|
79997
|
+
}, [l, T, A]), N = Xe(() => {
|
|
79995
79998
|
g.current && cancelAnimationFrame(g.current), g.current = null;
|
|
79996
79999
|
const Q = Yn(
|
|
79997
80000
|
{ instructions: l, markers: u },
|
|
@@ -80030,7 +80033,7 @@ function Vme({
|
|
|
80030
80033
|
if ($ && !$.ignoreData) {
|
|
80031
80034
|
let j = {
|
|
80032
80035
|
index: h.current,
|
|
80033
|
-
trialNumber:
|
|
80036
|
+
trialNumber: b.current - 1,
|
|
80034
80037
|
start: c.current,
|
|
80035
80038
|
end: L,
|
|
80036
80039
|
duration: L - c.current,
|
|
@@ -80056,10 +80059,10 @@ function Vme({
|
|
|
80056
80059
|
key: Q.key,
|
|
80057
80060
|
time: L,
|
|
80058
80061
|
reactionTime: L - c.current
|
|
80059
|
-
}), re &&
|
|
80062
|
+
}), re && A(), oe && V());
|
|
80060
80063
|
}
|
|
80061
80064
|
},
|
|
80062
|
-
[l, T, V,
|
|
80065
|
+
[l, T, V, A]
|
|
80063
80066
|
);
|
|
80064
80067
|
return lt(() => {
|
|
80065
80068
|
const Q = y.current;
|
|
@@ -80162,7 +80165,7 @@ vi("CanvasBlock", (i, e, t, s) => {
|
|
|
80162
80165
|
const m = (y.simulate || t.respondToSlide)(y, s);
|
|
80163
80166
|
if (s = m.participantState, !y.ignoreData) {
|
|
80164
80167
|
const g = y.displayDuration || m.reactionTime || 1e3;
|
|
80165
|
-
let
|
|
80168
|
+
let b = {
|
|
80166
80169
|
index: f,
|
|
80167
80170
|
trialNumber: u,
|
|
80168
80171
|
start: l,
|
|
@@ -80171,7 +80174,7 @@ vi("CanvasBlock", (i, e, t, s) => {
|
|
|
80171
80174
|
key: m.key,
|
|
80172
80175
|
reactionTime: m.reactionTime
|
|
80173
80176
|
};
|
|
80174
|
-
|
|
80177
|
+
b = Sd(b, y, a, o), a.push(b), l += g;
|
|
80175
80178
|
}
|
|
80176
80179
|
u++, f = Yn(n, f + 1, h, c, d);
|
|
80177
80180
|
}
|
|
@@ -80247,13 +80250,13 @@ function Sme({
|
|
|
80247
80250
|
const g = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
80248
80251
|
y
|
|
80249
80252
|
);
|
|
80250
|
-
let
|
|
80251
|
-
/Windows/.test(y) ?
|
|
80253
|
+
let b = "Unknown";
|
|
80254
|
+
/Windows/.test(y) ? b = "Windows" : /Macintosh|Mac OS X/.test(y) ? b = "MacOS" : /Linux/.test(y) ? b = "Linux" : /Android/.test(y) ? b = "Android" : /iOS|iPhone|iPad|iPod/.test(y) && (b = "iOS");
|
|
80252
80255
|
const x = !!(window.AudioContext || window.webkitAudioContext || window.mozAudioContext || window.oAudioContext || window.msAudioContext), T = !!(document.exitFullscreen || document.webkitExitFullscreen || document.mozCancelFullScreen || document.msExitFullscreen || document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled);
|
|
80253
|
-
let
|
|
80256
|
+
let R = !1, A = !1;
|
|
80254
80257
|
try {
|
|
80255
80258
|
const _ = await navigator.mediaDevices.enumerateDevices();
|
|
80256
|
-
|
|
80259
|
+
R = _.some((N) => N.kind === "videoinput"), A = _.some((N) => N.kind === "audioinput");
|
|
80257
80260
|
} catch (_) {
|
|
80258
80261
|
console.error("Error checking media devices:", _);
|
|
80259
80262
|
}
|
|
@@ -80265,11 +80268,11 @@ function Sme({
|
|
|
80265
80268
|
browser: v,
|
|
80266
80269
|
browserVersion: m,
|
|
80267
80270
|
isMobile: g,
|
|
80268
|
-
operatingSystem:
|
|
80271
|
+
operatingSystem: b,
|
|
80269
80272
|
hasWebAudio: x,
|
|
80270
80273
|
hasFullscreen: T,
|
|
80271
|
-
hasWebcam:
|
|
80272
|
-
hasMicrophone:
|
|
80274
|
+
hasWebcam: R,
|
|
80275
|
+
hasMicrophone: A
|
|
80273
80276
|
};
|
|
80274
80277
|
r({ _reactiveDeviceInfo: D }), (i ? i(D, t, s) : !0) && !l.current ? (l.current = !0, n(D)) : o(!0);
|
|
80275
80278
|
})();
|
|
@@ -80299,26 +80302,26 @@ function Tme({
|
|
|
80299
80302
|
lt(() => {
|
|
80300
80303
|
l(u7(n, t));
|
|
80301
80304
|
const g = {};
|
|
80302
|
-
n.forEach((
|
|
80303
|
-
g[
|
|
80305
|
+
n.forEach((b) => {
|
|
80306
|
+
g[b.storeKey] = !1;
|
|
80304
80307
|
}), d(g);
|
|
80305
80308
|
}, [t, n]);
|
|
80306
|
-
const f = (g,
|
|
80309
|
+
const f = (g, b) => {
|
|
80307
80310
|
if (g.type === "integer" || g.type === "float") {
|
|
80308
|
-
if (
|
|
80311
|
+
if (b == null || b === "")
|
|
80309
80312
|
return "This field is required";
|
|
80310
|
-
if (g.min !== void 0 &&
|
|
80313
|
+
if (g.min !== void 0 && b < g.min)
|
|
80311
80314
|
return `Value must be at least ${g.min}`;
|
|
80312
|
-
if (g.max !== void 0 &&
|
|
80315
|
+
if (g.max !== void 0 && b > g.max)
|
|
80313
80316
|
return `Value must be at most ${g.max}`;
|
|
80314
80317
|
} else if (g.type === "string") {
|
|
80315
|
-
if (g.minLength !== void 0 &&
|
|
80318
|
+
if (g.minLength !== void 0 && b.length < g.minLength)
|
|
80316
80319
|
return `Must be at least ${g.minLength} characters`;
|
|
80317
|
-
if (g.maxLength !== void 0 &&
|
|
80320
|
+
if (g.maxLength !== void 0 && b.length > g.maxLength)
|
|
80318
80321
|
return `Must be at most ${g.maxLength} characters`;
|
|
80319
80322
|
}
|
|
80320
80323
|
if (g.validate) {
|
|
80321
|
-
const x = g.validate(
|
|
80324
|
+
const x = g.validate(b);
|
|
80322
80325
|
if (x !== !0 && x !== "")
|
|
80323
80326
|
return typeof x == "string" ? x : "Invalid value";
|
|
80324
80327
|
}
|
|
@@ -80326,17 +80329,17 @@ function Tme({
|
|
|
80326
80329
|
};
|
|
80327
80330
|
lt(() => {
|
|
80328
80331
|
const g = {};
|
|
80329
|
-
n.forEach((
|
|
80330
|
-
const x = o[
|
|
80331
|
-
if (!c[
|
|
80332
|
-
const T = f(
|
|
80333
|
-
T && (g[
|
|
80332
|
+
n.forEach((b) => {
|
|
80333
|
+
const x = o[b.storeKey];
|
|
80334
|
+
if (!c[b.storeKey]) return;
|
|
80335
|
+
const T = f(b, x);
|
|
80336
|
+
T && (g[b.storeKey] = T);
|
|
80334
80337
|
}), h(g);
|
|
80335
80338
|
}, [o, n, c]);
|
|
80336
|
-
const y = (g,
|
|
80339
|
+
const y = (g, b) => {
|
|
80337
80340
|
l((x) => ({
|
|
80338
80341
|
...x,
|
|
80339
|
-
[g]:
|
|
80342
|
+
[g]: b
|
|
80340
80343
|
})), d((x) => ({
|
|
80341
80344
|
...x,
|
|
80342
80345
|
[g]: !0
|
|
@@ -80346,14 +80349,14 @@ function Tme({
|
|
|
80346
80349
|
n.forEach((x) => {
|
|
80347
80350
|
g[x.storeKey] = !0;
|
|
80348
80351
|
}), d(g);
|
|
80349
|
-
const
|
|
80352
|
+
const b = {};
|
|
80350
80353
|
n.forEach((x) => {
|
|
80351
80354
|
const T = o[x.storeKey];
|
|
80352
|
-
if (x.type === "integer" || x.type === "float" ? T == null || T === "" ?
|
|
80353
|
-
const
|
|
80354
|
-
|
|
80355
|
+
if (x.type === "integer" || x.type === "float" ? T == null || T === "" ? b[x.storeKey] = "This field is required" : x.min !== void 0 && T < x.min ? b[x.storeKey] = `Value must be at least ${x.min}` : x.max !== void 0 && T > x.max && (b[x.storeKey] = `Value must be at most ${x.max}`) : x.type === "string" && (x.minLength !== void 0 && T.length < x.minLength ? b[x.storeKey] = `Must be at least ${x.minLength} characters` : x.maxLength !== void 0 && T.length > x.maxLength && (b[x.storeKey] = `Must be at most ${x.maxLength} characters`)), x.validate && !b[x.storeKey]) {
|
|
80356
|
+
const R = x.validate(T);
|
|
80357
|
+
R !== !0 && R !== "" && (b[x.storeKey] = typeof R == "string" ? R : "Invalid value");
|
|
80355
80358
|
}
|
|
80356
|
-
}), h(
|
|
80359
|
+
}), h(b), Object.keys(b).length === 0 && (e(o), i(o));
|
|
80357
80360
|
}, m = Object.keys(u).length > 0;
|
|
80358
80361
|
return /* @__PURE__ */ I.jsxs("div", { className: "max-w-prose mx-auto mt-20 mb-20 px-4", children: [
|
|
80359
80362
|
/* @__PURE__ */ I.jsx("h1", { className: "text-4xl font-bold mb-6", children: s }),
|
|
@@ -80377,7 +80380,7 @@ function Tme({
|
|
|
80377
80380
|
{
|
|
80378
80381
|
type: "checkbox",
|
|
80379
80382
|
checked: !!o[g.storeKey],
|
|
80380
|
-
onChange: (
|
|
80383
|
+
onChange: (b) => y(g.storeKey, b.target.checked),
|
|
80381
80384
|
className: "absolute opacity-0 h-0 w-0"
|
|
80382
80385
|
}
|
|
80383
80386
|
),
|
|
@@ -80407,8 +80410,8 @@ function Tme({
|
|
|
80407
80410
|
{
|
|
80408
80411
|
type: "text",
|
|
80409
80412
|
value: o[g.storeKey] || "",
|
|
80410
|
-
onChange: (
|
|
80411
|
-
const x =
|
|
80413
|
+
onChange: (b) => {
|
|
80414
|
+
const x = b.target.value;
|
|
80412
80415
|
let T;
|
|
80413
80416
|
g.type === "integer" ? T = x === "" ? "" : parseInt(x, 10) : g.type === "float" && (T = x === "" ? "" : parseFloat(x)), (x === "" || !isNaN(T)) && y(g.storeKey, T);
|
|
80414
80417
|
},
|
|
@@ -80438,7 +80441,7 @@ function Tme({
|
|
|
80438
80441
|
{
|
|
80439
80442
|
type: "text",
|
|
80440
80443
|
value: o[g.storeKey] || "",
|
|
80441
|
-
onChange: (
|
|
80444
|
+
onChange: (b) => y(g.storeKey, b.target.value),
|
|
80442
80445
|
className: "w-full px-4 py-2 border-2 border-black rounded-xl text-lg focus:outline-none focus:ring-2 focus:ring-blue-500"
|
|
80443
80446
|
}
|
|
80444
80447
|
),
|
|
@@ -80636,8 +80639,8 @@ function S7(i, e) {
|
|
|
80636
80639
|
t = !0, s = !0, r.isProcessing || i(v);
|
|
80637
80640
|
};
|
|
80638
80641
|
return { schedule: $h.reduce((x, T) => {
|
|
80639
|
-
const
|
|
80640
|
-
return x[T] = (
|
|
80642
|
+
const R = a[T];
|
|
80643
|
+
return x[T] = (A, D = !1, V = !1) => (t || m(), R.schedule(A, D, V)), x;
|
|
80641
80644
|
}, {}), cancel: (x) => {
|
|
80642
80645
|
for (let T = 0; T < $h.length; T++)
|
|
80643
80646
|
a[$h[T]].cancel(x);
|
|
@@ -80998,14 +81001,14 @@ function Uc(i = Jt.visualDuration, e = Jt.bounce) {
|
|
|
80998
81001
|
const n = t.keyframes[0], a = t.keyframes[t.keyframes.length - 1], o = { done: !1, value: n }, { stiffness: l, damping: u, mass: h, duration: c, velocity: d, isResolvedFromDuration: f } = yge({
|
|
80999
81002
|
...t,
|
|
81000
81003
|
velocity: -/* @__PURE__ */ Hi(t.velocity || 0)
|
|
81001
|
-
}), y = d || 0, v = u / (2 * Math.sqrt(l * h)), m = a - n, g = /* @__PURE__ */ Hi(Math.sqrt(l / h)),
|
|
81002
|
-
s || (s =
|
|
81003
|
-
let x, T,
|
|
81004
|
+
}), y = d || 0, v = u / (2 * Math.sqrt(l * h)), m = a - n, g = /* @__PURE__ */ Hi(Math.sqrt(l / h)), b = Math.abs(m) < 5;
|
|
81005
|
+
s || (s = b ? Jt.restSpeed.granular : Jt.restSpeed.default), r || (r = b ? Jt.restDelta.granular : Jt.restDelta.default);
|
|
81006
|
+
let x, T, R, A, D, V;
|
|
81004
81007
|
if (v < 1)
|
|
81005
|
-
|
|
81008
|
+
R = ng(g, v), A = (y + v * g * m) / R, x = (N) => {
|
|
81006
81009
|
const q = Math.exp(-v * g * N);
|
|
81007
|
-
return a - q * (
|
|
81008
|
-
}, D = v * g *
|
|
81010
|
+
return a - q * (A * Math.sin(R * N) + m * Math.cos(R * N));
|
|
81011
|
+
}, D = v * g * A + m * R, V = v * g * m - A * R, T = (N) => Math.exp(-v * g * N) * (D * Math.sin(R * N) + V * Math.cos(R * N));
|
|
81009
81012
|
else if (v === 1) {
|
|
81010
81013
|
x = (q) => a - Math.exp(-g * q) * (m + (y + g * m) * q);
|
|
81011
81014
|
const N = y + g * m;
|
|
@@ -81027,7 +81030,7 @@ function Uc(i = Jt.visualDuration, e = Jt.bounce) {
|
|
|
81027
81030
|
velocity: (N) => /* @__PURE__ */ mi(T(N)),
|
|
81028
81031
|
next: (N) => {
|
|
81029
81032
|
if (!f && v < 1) {
|
|
81030
|
-
const Q = Math.exp(-v * g * N), L = Math.sin(
|
|
81033
|
+
const Q = Math.exp(-v * g * N), L = Math.sin(R * N), B = Math.cos(R * N), H = a - Q * (A * L + m * B), $ = /* @__PURE__ */ mi(Q * (D * L + V * B));
|
|
81031
81034
|
return o.done = Math.abs($) <= s && Math.abs(a - H) <= r, o.value = o.done ? a : H, o;
|
|
81032
81035
|
}
|
|
81033
81036
|
const q = x(N);
|
|
@@ -81065,13 +81068,13 @@ function ag({ keyframes: i, velocity: e = 0, power: t = 0.8, timeConstant: s = 3
|
|
|
81065
81068
|
let v = t * e;
|
|
81066
81069
|
const m = c + v, g = a === void 0 ? m : a(m);
|
|
81067
81070
|
g !== m && (v = g - c);
|
|
81068
|
-
const
|
|
81069
|
-
const _ =
|
|
81071
|
+
const b = (V) => -v * Math.exp(-V / s), x = (V) => g + b(V), T = (V) => {
|
|
81072
|
+
const _ = b(V), N = x(V);
|
|
81070
81073
|
d.done = Math.abs(_) <= u, d.value = d.done ? g : N;
|
|
81071
81074
|
};
|
|
81072
|
-
let
|
|
81075
|
+
let R, A;
|
|
81073
81076
|
const D = (V) => {
|
|
81074
|
-
f(d.value) && (
|
|
81077
|
+
f(d.value) && (R = V, A = Uc({
|
|
81075
81078
|
keyframes: [d.value, y(d.value)],
|
|
81076
81079
|
velocity: O7(x, V, d.value),
|
|
81077
81080
|
// TODO: This should be passing * 1000
|
|
@@ -81085,7 +81088,7 @@ function ag({ keyframes: i, velocity: e = 0, power: t = 0.8, timeConstant: s = 3
|
|
|
81085
81088
|
calculatedDuration: null,
|
|
81086
81089
|
next: (V) => {
|
|
81087
81090
|
let _ = !1;
|
|
81088
|
-
return !
|
|
81091
|
+
return !A && R === void 0 && (_ = !0, T(V), D(V)), R !== void 0 && V >= R ? A.next(V - R) : (!_ && T(V), d);
|
|
81089
81092
|
}
|
|
81090
81093
|
};
|
|
81091
81094
|
}
|
|
@@ -81232,7 +81235,7 @@ class zc extends b0 {
|
|
|
81232
81235
|
return s.next(0);
|
|
81233
81236
|
const { delay: u = 0, keyframes: h, repeat: c, repeatType: d, repeatDelay: f, type: y, onUpdate: v, finalKeyframe: m } = this.options;
|
|
81234
81237
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);
|
|
81235
|
-
const g = this.currentTime - u * (this.playbackSpeed >= 0 ? 1 : -1),
|
|
81238
|
+
const g = this.currentTime - u * (this.playbackSpeed >= 0 ? 1 : -1), b = this.playbackSpeed >= 0 ? g < 0 : g > r;
|
|
81236
81239
|
this.currentTime = Math.max(g, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);
|
|
81237
81240
|
let x = this.currentTime, T = s;
|
|
81238
81241
|
if (c) {
|
|
@@ -81240,12 +81243,12 @@ class zc extends b0 {
|
|
|
81240
81243
|
let _ = Math.floor(V), N = V % 1;
|
|
81241
81244
|
!N && V >= 1 && (N = 1), N === 1 && _--, _ = Math.min(_, c + 1), !!(_ % 2) && (d === "reverse" ? (N = 1 - N, f && (N -= f / o)) : d === "mirror" && (T = a)), x = qr(0, 1, N) * o;
|
|
81242
81245
|
}
|
|
81243
|
-
let
|
|
81244
|
-
|
|
81245
|
-
let { done:
|
|
81246
|
-
!
|
|
81247
|
-
const D = this.holdTime === null && (this.state === "finished" || this.state === "running" &&
|
|
81248
|
-
return D && y !== ag && (
|
|
81246
|
+
let R;
|
|
81247
|
+
b ? (this.delayState.value = h[0], R = this.delayState) : R = T.next(x), n && !b && (R.value = n(R.value));
|
|
81248
|
+
let { done: A } = R;
|
|
81249
|
+
!b && l !== null && (A = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
|
|
81250
|
+
const D = this.holdTime === null && (this.state === "finished" || this.state === "running" && A);
|
|
81251
|
+
return D && y !== ag && (R.value = ip(h, this.options, m, this.speed)), v && v(R.value), D && this.finish(), R;
|
|
81249
81252
|
}
|
|
81250
81253
|
/**
|
|
81251
81254
|
* Allows the returned animation to be awaited or promise-chained. Currently
|
|
@@ -81784,7 +81787,7 @@ class eve extends b0 {
|
|
|
81784
81787
|
this.keyframeResolver = new f(o, (v, m, g) => this.onKeyframesResolved(v, m, d, !g), l, u, h), (y = this.keyframeResolver) == null || y.scheduleResolve();
|
|
81785
81788
|
}
|
|
81786
81789
|
onKeyframesResolved(e, t, s, r) {
|
|
81787
|
-
var g,
|
|
81790
|
+
var g, b;
|
|
81788
81791
|
this.keyframeResolver = void 0;
|
|
81789
81792
|
const { name: n, type: a, velocity: o, delay: l, isHandoff: u, onUpdate: h } = s;
|
|
81790
81793
|
this.resolvedAt = Xs.now();
|
|
@@ -81795,7 +81798,7 @@ class eve extends b0 {
|
|
|
81795
81798
|
finalKeyframe: t,
|
|
81796
81799
|
...s,
|
|
81797
81800
|
keyframes: e
|
|
81798
|
-
}, y = c && !u && Yge(f), v = (
|
|
81801
|
+
}, y = c && !u && Yge(f), v = (b = (g = f.motionValue) == null ? void 0 : g.owner) == null ? void 0 : b.current;
|
|
81799
81802
|
let m;
|
|
81800
81803
|
if (y)
|
|
81801
81804
|
try {
|
|
@@ -82270,13 +82273,13 @@ function X7(i, e, { delay: t = 0, transitionOverride: s, type: r } = {}) {
|
|
|
82270
82273
|
if (window.MotionHandoffAnimation) {
|
|
82271
82274
|
const T = Y7(i);
|
|
82272
82275
|
if (T) {
|
|
82273
|
-
const
|
|
82274
|
-
|
|
82276
|
+
const R = window.MotionHandoffAnimation(T, d, Rt);
|
|
82277
|
+
R !== null && (v.startTime = R, g = !0);
|
|
82275
82278
|
}
|
|
82276
82279
|
}
|
|
82277
82280
|
gg(i, d);
|
|
82278
|
-
const
|
|
82279
|
-
f.start(E0(d, f, y,
|
|
82281
|
+
const b = u ?? i.shouldReduceMotion;
|
|
82282
|
+
f.start(E0(d, f, y, b && Z7.has(d) ? { type: !1 } : v, i, g));
|
|
82280
82283
|
const x = f.animation;
|
|
82281
82284
|
x && h.push(x);
|
|
82282
82285
|
}
|
|
@@ -83442,15 +83445,15 @@ function V0e(i) {
|
|
|
83442
83445
|
const { props: h } = i, c = V4(i.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
|
|
83443
83446
|
let y = {}, v = 1 / 0;
|
|
83444
83447
|
for (let g = 0; g < x0e; g++) {
|
|
83445
|
-
const
|
|
83446
|
-
|
|
83447
|
-
let D = T === c[
|
|
83448
|
+
const b = w0e[g], x = t[b], T = h[b] !== void 0 ? h[b] : c[b], R = ou(T), A = b === u ? x.isActive : null;
|
|
83449
|
+
A === !1 && (v = g);
|
|
83450
|
+
let D = T === c[b] && T !== h[b] && R;
|
|
83448
83451
|
if (D && (s || r) && i.manuallyAnimateOnMount && (D = !1), x.protectedKeys = { ...y }, // If it isn't active and hasn't *just* been set as inactive
|
|
83449
|
-
!x.isActive &&
|
|
83452
|
+
!x.isActive && A === null || // If we didn't and don't have any defined prop for this animation type
|
|
83450
83453
|
!T && !x.prevProp || // Or if the prop doesn't define an animation
|
|
83451
83454
|
rp(T) || typeof T == "boolean")
|
|
83452
83455
|
continue;
|
|
83453
|
-
if (
|
|
83456
|
+
if (b === "exit" && x.isActive && A !== !0) {
|
|
83454
83457
|
x.prevResolvedValues && (y = {
|
|
83455
83458
|
...y,
|
|
83456
83459
|
...x.prevResolvedValues
|
|
@@ -83459,11 +83462,11 @@ function V0e(i) {
|
|
|
83459
83462
|
}
|
|
83460
83463
|
const V = S0e(x.prevProp, T);
|
|
83461
83464
|
let _ = V || // If we're making this variant active, we want to always make it active
|
|
83462
|
-
|
|
83463
|
-
g > v &&
|
|
83465
|
+
b === u && x.isActive && !D && R || // If we removed a higher-priority variant (i is in reverse order)
|
|
83466
|
+
g > v && R, N = !1;
|
|
83464
83467
|
const q = Array.isArray(T) ? T : [T];
|
|
83465
|
-
let Q = q.reduce(n(
|
|
83466
|
-
|
|
83468
|
+
let Q = q.reduce(n(b), {});
|
|
83469
|
+
A === !1 && (Q = {});
|
|
83467
83470
|
const { prevResolvedValues: L = {} } = x, B = {
|
|
83468
83471
|
...L,
|
|
83469
83472
|
...Q
|
|
@@ -83482,7 +83485,7 @@ function V0e(i) {
|
|
|
83482
83485
|
x.prevProp = T, x.prevResolvedValues = Q, x.isActive && (y = { ...y, ...Q }), (s || r) && i.blockInitialAnimation && (_ = !1);
|
|
83483
83486
|
const $ = D && V;
|
|
83484
83487
|
_ && (!$ || N) && d.push(...q.map((G) => {
|
|
83485
|
-
const ne = { type:
|
|
83488
|
+
const ne = { type: b };
|
|
83486
83489
|
if (typeof G == "string" && (s || r) && !$ && i.manuallyAnimateOnMount && i.parent) {
|
|
83487
83490
|
const { parent: Y } = i, oe = Oa(Y, G);
|
|
83488
83491
|
if (Y.enteringChildren && oe) {
|
|
@@ -83499,12 +83502,12 @@ function V0e(i) {
|
|
|
83499
83502
|
if (f.size) {
|
|
83500
83503
|
const g = {};
|
|
83501
83504
|
if (typeof h.initial != "boolean") {
|
|
83502
|
-
const
|
|
83503
|
-
|
|
83505
|
+
const b = Oa(i, Array.isArray(h.initial) ? h.initial[0] : h.initial);
|
|
83506
|
+
b && b.transition && (g.transition = b.transition);
|
|
83504
83507
|
}
|
|
83505
|
-
f.forEach((
|
|
83506
|
-
const x = i.getBaseTarget(
|
|
83507
|
-
T && (T.liveStyle = !0), g[
|
|
83508
|
+
f.forEach((b) => {
|
|
83509
|
+
const x = i.getBaseTarget(b), T = i.getValue(b);
|
|
83510
|
+
T && (T.liveStyle = !0), g[b] = x ?? null;
|
|
83508
83511
|
}), d.push({ animation: g });
|
|
83509
83512
|
}
|
|
83510
83513
|
let m = !!d.length;
|
|
@@ -83829,15 +83832,15 @@ function D4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
|
|
|
83829
83832
|
this.target = void 0, this.relativeTarget = void 0;
|
|
83830
83833
|
return;
|
|
83831
83834
|
}
|
|
83832
|
-
const y = this.options.transition || u.getDefaultTransition() || l1e, { onLayoutAnimationStart: v, onLayoutAnimationComplete: m } = u.getProps(), g = !this.targetLayout || !R4(this.targetLayout, f),
|
|
83833
|
-
if (this.options.layoutRoot || this.resumeFrom ||
|
|
83835
|
+
const y = this.options.transition || u.getDefaultTransition() || l1e, { onLayoutAnimationStart: v, onLayoutAnimationComplete: m } = u.getProps(), g = !this.targetLayout || !R4(this.targetLayout, f), b = !c && d;
|
|
83836
|
+
if (this.options.layoutRoot || this.resumeFrom || b || c && (g || !this.currentAnimation)) {
|
|
83834
83837
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
83835
83838
|
const x = {
|
|
83836
83839
|
...x0(y, "layout"),
|
|
83837
83840
|
onPlay: v,
|
|
83838
83841
|
onComplete: m
|
|
83839
83842
|
};
|
|
83840
|
-
(u.shouldReduceMotion || this.options.layoutRoot) && (x.delay = 0, x.type = !1), this.startAnimation(x), this.setAnimationOrigin(h,
|
|
83843
|
+
(u.shouldReduceMotion || this.options.layoutRoot) && (x.delay = 0, x.type = !1), this.startAnimation(x), this.setAnimationOrigin(h, b);
|
|
83841
83844
|
} else
|
|
83842
83845
|
c || rx(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
|
83843
83846
|
this.targetLayout = f;
|
|
@@ -84090,12 +84093,12 @@ function D4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
|
|
|
84090
84093
|
setAnimationOrigin(a, o = !1) {
|
|
84091
84094
|
const l = this.snapshot, u = l ? l.latestValues : {}, h = { ...this.latestValues }, c = bo();
|
|
84092
84095
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !o;
|
|
84093
|
-
const d = xs(), f = l ? l.source : void 0, y = this.layout ? this.layout.source : void 0, v = f !== y, m = this.getStack(), g = !m || m.members.length <= 1,
|
|
84096
|
+
const d = xs(), f = l ? l.source : void 0, y = this.layout ? this.layout.source : void 0, v = f !== y, m = this.getStack(), g = !m || m.members.length <= 1, b = !!(v && !g && this.options.crossfade === !0 && !this.path.some(o1e));
|
|
84094
84097
|
this.animationProgress = 0;
|
|
84095
84098
|
let x;
|
|
84096
84099
|
this.mixTargetDelta = (T) => {
|
|
84097
|
-
const
|
|
84098
|
-
nx(c.x, a.x,
|
|
84100
|
+
const R = T / 1e3;
|
|
84101
|
+
nx(c.x, a.x, R), nx(c.y, a.y, R), this.setTargetDelta(c), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Gc(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), a1e(this.relativeTarget, this.relativeTargetOrigin, d, R), x && O0e(this.relativeTarget, x) && (this.isProjectionDirty = !1), x || (x = xs()), tr(x, this.relativeTarget)), v && (this.animationValues = h, F0e(h, u, this.latestValues, R, b, g)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = R;
|
|
84099
84102
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
84100
84103
|
}
|
|
84101
84104
|
startAnimation(a) {
|
|
@@ -84217,13 +84220,13 @@ function D4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
|
|
|
84217
84220
|
for (const y in Eg) {
|
|
84218
84221
|
if (h[y] === void 0)
|
|
84219
84222
|
continue;
|
|
84220
|
-
const { correct: v, applyTo: m, isCSSVariable: g } = Eg[y],
|
|
84223
|
+
const { correct: v, applyTo: m, isCSSVariable: g } = Eg[y], b = c === "none" ? h[y] : v(h[y], u);
|
|
84221
84224
|
if (m) {
|
|
84222
84225
|
const x = m.length;
|
|
84223
84226
|
for (let T = 0; T < x; T++)
|
|
84224
|
-
a[m[T]] =
|
|
84227
|
+
a[m[T]] = b;
|
|
84225
84228
|
} else
|
|
84226
|
-
g ? this.options.visualElement.renderState.vars[y] =
|
|
84229
|
+
g ? this.options.visualElement.renderState.vars[y] = b : a[y] = b;
|
|
84227
84230
|
}
|
|
84228
84231
|
this.options.layoutId && (a.pointerEvents = u === this ? cc(o == null ? void 0 : o.pointerEvents) || "" : "none");
|
|
84229
84232
|
}
|
|
@@ -84461,15 +84464,15 @@ function g1e({ children: i, isPresent: e, anchorX: t, anchorY: s, root: r, pop:
|
|
|
84461
84464
|
bottom: 0
|
|
84462
84465
|
}), { nonce: u } = fs(k0), h = ((d = i.props) == null ? void 0 : d.ref) ?? (i == null ? void 0 : i.ref), c = f1e(o, h);
|
|
84463
84466
|
return Rg(() => {
|
|
84464
|
-
const { width: f, height: y, top: v, left: m, right: g, bottom:
|
|
84467
|
+
const { width: f, height: y, top: v, left: m, right: g, bottom: b } = l.current;
|
|
84465
84468
|
if (e || n === !1 || !o.current || !f || !y)
|
|
84466
84469
|
return;
|
|
84467
|
-
const x = t === "left" ? `left: ${m}` : `right: ${g}`, T = s === "bottom" ? `bottom: ${
|
|
84470
|
+
const x = t === "left" ? `left: ${m}` : `right: ${g}`, T = s === "bottom" ? `bottom: ${b}` : `top: ${v}`;
|
|
84468
84471
|
o.current.dataset.motionPopId = a;
|
|
84469
|
-
const
|
|
84470
|
-
u && (
|
|
84471
|
-
const
|
|
84472
|
-
return
|
|
84472
|
+
const R = document.createElement("style");
|
|
84473
|
+
u && (R.nonce = u);
|
|
84474
|
+
const A = r ?? document.head;
|
|
84475
|
+
return A.appendChild(R), R.sheet && R.sheet.insertRule(`
|
|
84473
84476
|
[data-motion-pop-id="${a}"] {
|
|
84474
84477
|
position: absolute !important;
|
|
84475
84478
|
width: ${f}px !important;
|
|
@@ -84479,7 +84482,7 @@ function g1e({ children: i, isPresent: e, anchorX: t, anchorY: s, root: r, pop:
|
|
|
84479
84482
|
}
|
|
84480
84483
|
`), () => {
|
|
84481
84484
|
var D;
|
|
84482
|
-
(D = o.current) == null || D.removeAttribute("data-motion-pop-id"),
|
|
84485
|
+
(D = o.current) == null || D.removeAttribute("data-motion-pop-id"), A.contains(R) && A.removeChild(R);
|
|
84483
84486
|
};
|
|
84484
84487
|
}, [e]), I.jsx(m1e, { isPresent: e, childRef: o, sizeRef: l, pop: n, children: n === !1 ? i : p.cloneElement(i, { ref: c }) });
|
|
84485
84488
|
}
|
|
@@ -84528,7 +84531,7 @@ function dx(i) {
|
|
|
84528
84531
|
}), e;
|
|
84529
84532
|
}
|
|
84530
84533
|
const C1e = ({ children: i, custom: e, initial: t = !0, onExitComplete: s, presenceAffectsLayout: r = !0, mode: n = "sync", propagate: a = !1, anchorX: o = "left", anchorY: l = "top", root: u }) => {
|
|
84531
|
-
const [h, c] = M4(a), d = di(() => dx(i), [i]), f = a && !h ? [] : d.map(Qh), y = fe(!0), v = fe(d), m = l0(() => /* @__PURE__ */ new Map()), g = fe(/* @__PURE__ */ new Set()), [
|
|
84534
|
+
const [h, c] = M4(a), d = di(() => dx(i), [i]), f = a && !h ? [] : d.map(Qh), y = fe(!0), v = fe(d), m = l0(() => /* @__PURE__ */ new Map()), g = fe(/* @__PURE__ */ new Set()), [b, x] = rt(d), [T, R] = rt(d);
|
|
84532
84535
|
u0(() => {
|
|
84533
84536
|
y.current = !1, v.current = d;
|
|
84534
84537
|
for (let V = 0; V < T.length; V++) {
|
|
@@ -84536,14 +84539,14 @@ const C1e = ({ children: i, custom: e, initial: t = !0, onExitComplete: s, prese
|
|
|
84536
84539
|
f.includes(_) ? (m.delete(_), g.current.delete(_)) : m.get(_) !== !0 && m.set(_, !1);
|
|
84537
84540
|
}
|
|
84538
84541
|
}, [T, f.length, f.join("-")]);
|
|
84539
|
-
const
|
|
84540
|
-
if (d !==
|
|
84542
|
+
const A = [];
|
|
84543
|
+
if (d !== b) {
|
|
84541
84544
|
let V = [...d];
|
|
84542
84545
|
for (let _ = 0; _ < T.length; _++) {
|
|
84543
84546
|
const N = T[_], q = Qh(N);
|
|
84544
|
-
f.includes(q) || (V.splice(_, 0, N),
|
|
84547
|
+
f.includes(q) || (V.splice(_, 0, N), A.push(N));
|
|
84545
84548
|
}
|
|
84546
|
-
return n === "wait" &&
|
|
84549
|
+
return n === "wait" && A.length && (V = A), R(dx(V)), x(d), null;
|
|
84547
84550
|
}
|
|
84548
84551
|
process.env.NODE_ENV !== "production" && n === "wait" && T.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
84549
84552
|
const { forceRender: D } = fs(ru);
|
|
@@ -84558,7 +84561,7 @@ const C1e = ({ children: i, custom: e, initial: t = !0, onExitComplete: s, prese
|
|
|
84558
84561
|
let Q = !0;
|
|
84559
84562
|
m.forEach((L) => {
|
|
84560
84563
|
L || (Q = !1);
|
|
84561
|
-
}), Q && (D == null || D(),
|
|
84564
|
+
}), Q && (D == null || D(), R(v.current), a && (c == null || c()), s && s());
|
|
84562
84565
|
};
|
|
84563
84566
|
return I.jsx(v1e, { isPresent: N, initial: !y.current || t ? void 0 : !1, custom: e, presenceAffectsLayout: r, mode: n, root: u, onExitComplete: N ? void 0 : q, anchorX: o, anchorY: l, children: V }, _);
|
|
84564
84567
|
}) });
|
|
@@ -84813,16 +84816,16 @@ function q1e(i, e, t, s) {
|
|
|
84813
84816
|
const y = V0(i, d[f]);
|
|
84814
84817
|
if (y) {
|
|
84815
84818
|
const { transitionEnd: v, transition: m, ...g } = y;
|
|
84816
|
-
for (const
|
|
84817
|
-
let x = g[
|
|
84819
|
+
for (const b in g) {
|
|
84820
|
+
let x = g[b];
|
|
84818
84821
|
if (Array.isArray(x)) {
|
|
84819
84822
|
const T = h ? x.length - 1 : 0;
|
|
84820
84823
|
x = x[T];
|
|
84821
84824
|
}
|
|
84822
|
-
x !== null && (r[
|
|
84825
|
+
x !== null && (r[b] = x);
|
|
84823
84826
|
}
|
|
84824
|
-
for (const
|
|
84825
|
-
r[
|
|
84827
|
+
for (const b in v)
|
|
84828
|
+
r[b] = v[b];
|
|
84826
84829
|
}
|
|
84827
84830
|
}
|
|
84828
84831
|
}
|
|
@@ -84880,14 +84883,14 @@ function U1e(i, e, t, s, r, n) {
|
|
|
84880
84883
|
Rg(() => {
|
|
84881
84884
|
y && m.current && y.update(t, l);
|
|
84882
84885
|
});
|
|
84883
|
-
const g = t[J7],
|
|
84886
|
+
const g = t[J7], b = fe(!!g && typeof window < "u" && !((x = window.MotionHandoffIsComplete) != null && x.call(window, g)) && ((T = window.MotionHasOptimisedAnimation) == null ? void 0 : T.call(window, g)));
|
|
84884
84887
|
return u0(() => {
|
|
84885
|
-
f.current = !0, y && (m.current = !0, window.MotionIsMounted = !0, y.updateFeatures(), y.scheduleRenderMicrotask(),
|
|
84888
|
+
f.current = !0, y && (m.current = !0, window.MotionIsMounted = !0, y.updateFeatures(), y.scheduleRenderMicrotask(), b.current && y.animationState && y.animationState.animateChanges());
|
|
84886
84889
|
}), lt(() => {
|
|
84887
|
-
y && (!
|
|
84888
|
-
var
|
|
84889
|
-
(
|
|
84890
|
-
}),
|
|
84890
|
+
y && (!b.current && y.animationState && y.animationState.animateChanges(), b.current && (queueMicrotask(() => {
|
|
84891
|
+
var R;
|
|
84892
|
+
(R = window.MotionHandoffMarkAsComplete) == null || R.call(window, g);
|
|
84893
|
+
}), b.current = !1), y.enteringChildren = void 0);
|
|
84891
84894
|
}), y;
|
|
84892
84895
|
}
|
|
84893
84896
|
function z1e(i, e, t, s) {
|
|
@@ -85084,8 +85087,8 @@ class W4 {
|
|
|
85084
85087
|
return;
|
|
85085
85088
|
const { point: m } = f, { timestamp: g } = ks;
|
|
85086
85089
|
this.history.push({ ...m, timestamp: g });
|
|
85087
|
-
const { onStart:
|
|
85088
|
-
y || (
|
|
85090
|
+
const { onStart: b, onMove: x } = this.handlers;
|
|
85091
|
+
y || (b && b(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), x && x(this.lastMoveEvent, f);
|
|
85089
85092
|
}, this.handlePointerMove = (f, y) => {
|
|
85090
85093
|
this.lastMoveEvent = f, this.lastRawMoveEventInfo = y, this.lastMoveEventInfo = Uh(y, this.transformPagePoint), Rt.update(this.updatePoint, !0);
|
|
85091
85094
|
}, this.handlePointerUp = (f, y) => {
|
|
@@ -85093,8 +85096,8 @@ class W4 {
|
|
|
85093
85096
|
const { onEnd: v, onSessionEnd: m, resumeAnimation: g } = this.handlers;
|
|
85094
85097
|
if ((this.dragSnapToOrigin || !this.startEvent) && g && g(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
85095
85098
|
return;
|
|
85096
|
-
const
|
|
85097
|
-
this.startEvent && v && v(f,
|
|
85099
|
+
const b = Kf(f.type === "pointercancel" ? this.lastMoveEventInfo : Uh(y, this.transformPagePoint), this.history);
|
|
85100
|
+
this.startEvent && v && v(f, b), m && m(f, b);
|
|
85098
85101
|
}, !I0(e))
|
|
85099
85102
|
return;
|
|
85100
85103
|
this.dragSnapToOrigin = n, this.handlers = t, this.transformPagePoint = s, this.distanceThreshold = a, this.contextWindow = r || window;
|
|
@@ -85254,15 +85257,15 @@ class dye {
|
|
|
85254
85257
|
if (f && !y && (this.openDragLock && this.openDragLock(), this.openDragLock = _ve(f), !this.openDragLock))
|
|
85255
85258
|
return;
|
|
85256
85259
|
this.latestPointerEvent = c, this.latestPanInfo = d, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), br((g) => {
|
|
85257
|
-
let
|
|
85258
|
-
if (Dr.test(
|
|
85260
|
+
let b = this.getAxisMotionValue(g).get() || 0;
|
|
85261
|
+
if (Dr.test(b)) {
|
|
85259
85262
|
const { projection: x } = this.visualElement;
|
|
85260
85263
|
if (x && x.layout) {
|
|
85261
85264
|
const T = x.layout.layoutBox[g];
|
|
85262
|
-
T && (
|
|
85265
|
+
T && (b = ei(T) * (parseFloat(b) / 100));
|
|
85263
85266
|
}
|
|
85264
85267
|
}
|
|
85265
|
-
this.originPoint[g] =
|
|
85268
|
+
this.originPoint[g] = b;
|
|
85266
85269
|
}), v && Rt.update(() => v(c, d), !1, !0), gg(this.visualElement, "transform");
|
|
85267
85270
|
const { animationState: m } = this.visualElement;
|
|
85268
85271
|
m && m.setActive("whileDrag", !0);
|
|
@@ -85800,7 +85803,7 @@ const Z4 = fn({
|
|
|
85800
85803
|
}
|
|
85801
85804
|
v.current = y;
|
|
85802
85805
|
}, [y]);
|
|
85803
|
-
const
|
|
85806
|
+
const b = Xe(
|
|
85804
85807
|
(V) => {
|
|
85805
85808
|
c((_) => ({ ..._, [l]: V }));
|
|
85806
85809
|
},
|
|
@@ -85812,9 +85815,9 @@ const Z4 = fn({
|
|
|
85812
85815
|
[l]
|
|
85813
85816
|
), T = Xe(() => {
|
|
85814
85817
|
l === e.length - 1 ? i({ slides: f.current }) : u((V) => V + 1);
|
|
85815
|
-
}, [l, e.length, i]),
|
|
85818
|
+
}, [l, e.length, i]), R = Xe(() => {
|
|
85816
85819
|
y && T();
|
|
85817
|
-
}, [y, T]),
|
|
85820
|
+
}, [y, T]), A = Xe(
|
|
85818
85821
|
(V = 0) => {
|
|
85819
85822
|
d.current && clearTimeout(d.current), d.current = setTimeout(() => T(), V);
|
|
85820
85823
|
},
|
|
@@ -85829,10 +85832,10 @@ const Z4 = fn({
|
|
|
85829
85832
|
return lt(() => {
|
|
85830
85833
|
if (n === !1 && a === !1) return;
|
|
85831
85834
|
const V = (_) => {
|
|
85832
|
-
n && _.key === n &&
|
|
85835
|
+
n && _.key === n && R(), a && _.key === a && D();
|
|
85833
85836
|
};
|
|
85834
85837
|
return window.addEventListener("keydown", V), () => window.removeEventListener("keydown", V);
|
|
85835
|
-
}, [n, a,
|
|
85838
|
+
}, [n, a, R, D]), /* @__PURE__ */ I.jsx(V1e, { children: /* @__PURE__ */ I.jsxs(
|
|
85836
85839
|
"div",
|
|
85837
85840
|
{
|
|
85838
85841
|
className: r,
|
|
@@ -85858,7 +85861,7 @@ const Z4 = fn({
|
|
|
85858
85861
|
alignItems: "center",
|
|
85859
85862
|
justifyContent: "center"
|
|
85860
85863
|
},
|
|
85861
|
-
children: /* @__PURE__ */ I.jsx(Z4.Provider, { value: { setCanProgress:
|
|
85864
|
+
children: /* @__PURE__ */ I.jsx(Z4.Provider, { value: { setCanProgress: b, autoAdvance: A, setSlideData: x }, children: e[l] })
|
|
85862
85865
|
},
|
|
85863
85866
|
l
|
|
85864
85867
|
) }) }),
|
|
@@ -85866,7 +85869,7 @@ const Z4 = fn({
|
|
|
85866
85869
|
"div",
|
|
85867
85870
|
{
|
|
85868
85871
|
style: {
|
|
85869
|
-
padding: "1.5rem",
|
|
85872
|
+
padding: "1.5rem 1.5rem 3rem",
|
|
85870
85873
|
display: "grid",
|
|
85871
85874
|
gridTemplateColumns: "1fr auto 1fr",
|
|
85872
85875
|
alignItems: "center"
|
|
@@ -85901,7 +85904,7 @@ const Z4 = fn({
|
|
|
85901
85904
|
/* @__PURE__ */ I.jsx("div", { style: { justifySelf: "start", marginLeft: "1rem" }, children: /* @__PURE__ */ I.jsx(
|
|
85902
85905
|
Tx.button,
|
|
85903
85906
|
{
|
|
85904
|
-
onClick:
|
|
85907
|
+
onClick: R,
|
|
85905
85908
|
tabIndex: -1,
|
|
85906
85909
|
onKeyDown: (V) => {
|
|
85907
85910
|
(V.key === " " || V.key === "Enter") && V.preventDefault();
|
|
@@ -86012,9 +86015,9 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
|
|
|
86012
86015
|
if (u !== void 0 && h !== void 0) {
|
|
86013
86016
|
const c = u * u + h * h;
|
|
86014
86017
|
if (c > 1e-10) {
|
|
86015
|
-
const d = Math.sqrt(c), f = u / d, y = h / d, v = l.x - s, m = l.y - r, g = n * n,
|
|
86016
|
-
if (
|
|
86017
|
-
const D = (T + Math.sqrt(
|
|
86018
|
+
const d = Math.sqrt(c), f = u / d, y = h / d, v = l.x - s, m = l.y - r, g = n * n, b = a * a, x = f * f / g + y * y / b, T = v * f / g + m * y / b, R = v * v / g + m * m / b - 1, A = T * T - x * R;
|
|
86019
|
+
if (A >= 0) {
|
|
86020
|
+
const D = (T + Math.sqrt(A)) / x;
|
|
86018
86021
|
if (D > 0 && Number.isFinite(D))
|
|
86019
86022
|
return [l.x - f * D, l.y - y * D];
|
|
86020
86023
|
}
|
|
@@ -86060,8 +86063,8 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
|
|
|
86060
86063
|
const c = Math.sqrt(u * u + h * h);
|
|
86061
86064
|
if (c < 1e-10)
|
|
86062
86065
|
return this.getOppositePositionSimple(l);
|
|
86063
|
-
const d = -u / c, f = -h / c, y = s - n, v = s + n, m = r - a, g = r + a,
|
|
86064
|
-
return D > 0 &&
|
|
86066
|
+
const d = -u / c, f = -h / c, y = s - n, v = s + n, m = r - a, g = r + a, b = d !== 0 ? (y - l.x) / d : -1 / 0, x = d !== 0 ? (v - l.x) / d : -1 / 0, T = f !== 0 ? (m - l.y) / f : -1 / 0, R = f !== 0 ? (g - l.y) / f : -1 / 0, A = Math.max(Math.min(b, x), Math.min(T, R)), D = Math.min(Math.max(b, x), Math.max(T, R));
|
|
86067
|
+
return D > 0 && A <= D && Number.isFinite(D) ? [l.x + d * D, l.y + f * D] : this.getOppositePositionSimple(l);
|
|
86065
86068
|
},
|
|
86066
86069
|
getOppositePositionSimple(l) {
|
|
86067
86070
|
const u = s - n, h = s + n, c = r - a, d = r + a;
|
|
@@ -86155,11 +86158,11 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
|
|
|
86155
86158
|
coherentDotColor: v,
|
|
86156
86159
|
backgroundColor: m,
|
|
86157
86160
|
apertureShape: g,
|
|
86158
|
-
apertureWidth:
|
|
86161
|
+
apertureWidth: b,
|
|
86159
86162
|
apertureHeight: x,
|
|
86160
86163
|
apertureCenterX: T,
|
|
86161
|
-
apertureCenterY:
|
|
86162
|
-
reinsertMode:
|
|
86164
|
+
apertureCenterY: R,
|
|
86165
|
+
reinsertMode: A,
|
|
86163
86166
|
noiseMovement: D,
|
|
86164
86167
|
reassignEveryMs: V,
|
|
86165
86168
|
showFixation: _,
|
|
@@ -86174,15 +86177,15 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
|
|
|
86174
86177
|
initialRefreshRate: G,
|
|
86175
86178
|
style: ne,
|
|
86176
86179
|
className: Y
|
|
86177
|
-
} = { ...xr, ...i }, oe = fe(null), re = fe(), ue = fe(), Ie = fe(), ge = fe(0), te = fe(0), we = fe([]), et = fe(null), Yt = fe(!1), Gt = T ?? t / 2, Is =
|
|
86180
|
+
} = { ...xr, ...i }, oe = fe(null), re = fe(), ue = fe(), Ie = fe(), ge = fe(0), te = fe(0), we = fe([]), et = fe(null), Yt = fe(!1), Gt = T ?? t / 2, Is = R ?? s / 2, Et = di(
|
|
86178
86181
|
() => Mye(
|
|
86179
86182
|
g,
|
|
86180
|
-
|
|
86183
|
+
b,
|
|
86181
86184
|
x,
|
|
86182
86185
|
Gt,
|
|
86183
86186
|
Is
|
|
86184
86187
|
),
|
|
86185
|
-
[g,
|
|
86188
|
+
[g, b, x, Gt, Is]
|
|
86186
86189
|
), cs = di(() => {
|
|
86187
86190
|
const _e = (90 - a) * Math.PI / 180;
|
|
86188
86191
|
return [Math.cos(_e), -Math.sin(_e)];
|
|
@@ -86272,7 +86275,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
|
|
|
86272
86275
|
ws,
|
|
86273
86276
|
h,
|
|
86274
86277
|
Et,
|
|
86275
|
-
|
|
86278
|
+
A,
|
|
86276
86279
|
d,
|
|
86277
86280
|
cs,
|
|
86278
86281
|
Di == null ? void 0 : Di[se]
|
|
@@ -86295,7 +86298,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
|
|
|
86295
86298
|
u,
|
|
86296
86299
|
h,
|
|
86297
86300
|
Et,
|
|
86298
|
-
|
|
86301
|
+
A,
|
|
86299
86302
|
n,
|
|
86300
86303
|
d,
|
|
86301
86304
|
cs,
|
|
@@ -86343,11 +86346,11 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
|
|
|
86343
86346
|
direction: v,
|
|
86344
86347
|
coherence: m,
|
|
86345
86348
|
opposite: g,
|
|
86346
|
-
speed:
|
|
86349
|
+
speed: b,
|
|
86347
86350
|
dotLifetime: x,
|
|
86348
86351
|
dotRadius: T,
|
|
86349
|
-
dotColor:
|
|
86350
|
-
backgroundColor:
|
|
86352
|
+
dotColor: R,
|
|
86353
|
+
backgroundColor: A,
|
|
86351
86354
|
apertureShape: D,
|
|
86352
86355
|
apertureWidth: V,
|
|
86353
86356
|
apertureHeight: _,
|
|
@@ -86404,7 +86407,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
|
|
|
86404
86407
|
}
|
|
86405
86408
|
};
|
|
86406
86409
|
return window.addEventListener("keydown", Le), () => window.removeEventListener("keydown", Le);
|
|
86407
|
-
}, [h, d, rs]), /* @__PURE__ */ I.jsxs("div", { style: { width: "100vw", height: "100vh", overflow: "hidden", margin: 0, padding: 0, backgroundColor:
|
|
86410
|
+
}, [h, d, rs]), /* @__PURE__ */ I.jsxs("div", { style: { width: "100vw", height: "100vh", overflow: "hidden", margin: 0, padding: 0, backgroundColor: A }, children: [
|
|
86408
86411
|
/* @__PURE__ */ I.jsx(
|
|
86409
86412
|
qye,
|
|
86410
86413
|
{
|
|
@@ -86418,14 +86421,14 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
|
|
|
86418
86421
|
direction: v,
|
|
86419
86422
|
coherence: m,
|
|
86420
86423
|
opposite: g,
|
|
86421
|
-
speed:
|
|
86424
|
+
speed: b,
|
|
86422
86425
|
dotLifetime: x,
|
|
86423
86426
|
updateRate: s,
|
|
86424
86427
|
dotRadius: T,
|
|
86425
86428
|
dotCharacter: r,
|
|
86426
|
-
dotColor:
|
|
86429
|
+
dotColor: R,
|
|
86427
86430
|
coherentDotColor: n,
|
|
86428
|
-
backgroundColor:
|
|
86431
|
+
backgroundColor: A,
|
|
86429
86432
|
apertureShape: D,
|
|
86430
86433
|
apertureWidth: V,
|
|
86431
86434
|
apertureHeight: _,
|
|
@@ -86533,7 +86536,7 @@ function pCe({
|
|
|
86533
86536
|
c.current = { ...c.current, ...q };
|
|
86534
86537
|
}
|
|
86535
86538
|
)
|
|
86536
|
-
), y = !n && Oo("hybridSimulation", !1, "boolean") ? "hybrid" : "none", v = fe(r || {}), m = fe(-1), g = { ...$ye, ...t },
|
|
86539
|
+
), y = !n && Oo("hybridSimulation", !1, "boolean") ? "hybrid" : "none", v = fe(r || {}), m = fe(-1), g = { ...$ye, ...t }, b = { ...Hye, ...s }, x = di(() => {
|
|
86537
86540
|
const q = a.instructions.length;
|
|
86538
86541
|
return q > 0 ? d / q : 0;
|
|
86539
86542
|
}, [d, a.instructions]);
|
|
@@ -86543,7 +86546,7 @@ function pCe({
|
|
|
86543
86546
|
function T(q) {
|
|
86544
86547
|
c.current = { ...c.current, ...q };
|
|
86545
86548
|
}
|
|
86546
|
-
function
|
|
86549
|
+
function R(q, Q, L) {
|
|
86547
86550
|
const B = Qs(), H = a.instructions[d], $ = Q !== void 0 ? Q : h.current, j = L !== void 0 ? L : B;
|
|
86548
86551
|
if ((H == null ? void 0 : H.type) === "ExecuteContent") {
|
|
86549
86552
|
const ne = H.content;
|
|
@@ -86575,7 +86578,7 @@ function pCe({
|
|
|
86575
86578
|
);
|
|
86576
86579
|
G < a.instructions.length && (h.current = Qs()), f(G);
|
|
86577
86580
|
}
|
|
86578
|
-
const
|
|
86581
|
+
const A = Xe((q) => {
|
|
86579
86582
|
let Q = 0;
|
|
86580
86583
|
const L = Qs(), B = 2e4;
|
|
86581
86584
|
let H, $ = L;
|
|
@@ -86594,7 +86597,7 @@ function pCe({
|
|
|
86594
86597
|
const L = fe(null), B = fe(null);
|
|
86595
86598
|
lt(() => {
|
|
86596
86599
|
if (L.current = Qs(), Q)
|
|
86597
|
-
return
|
|
86600
|
+
return A((j) => {
|
|
86598
86601
|
B.current = j, T({ _reactiveScreenRefreshRate: j });
|
|
86599
86602
|
});
|
|
86600
86603
|
}, []);
|
|
@@ -86602,7 +86605,7 @@ function pCe({
|
|
|
86602
86605
|
if (Ze.isValidElement($)) {
|
|
86603
86606
|
const j = (G, ne, Y) => {
|
|
86604
86607
|
const oe = Qs(), re = ne !== void 0 ? ne : L.current;
|
|
86605
|
-
|
|
86608
|
+
R(G, re ?? void 0, (Y !== void 0 ? Y : oe) ?? void 0);
|
|
86606
86609
|
};
|
|
86607
86610
|
return Ze.cloneElement($, {
|
|
86608
86611
|
...$.props,
|
|
@@ -86625,7 +86628,7 @@ function pCe({
|
|
|
86625
86628
|
B,
|
|
86626
86629
|
v.current
|
|
86627
86630
|
);
|
|
86628
|
-
v.current = H.participantState, H.storeUpdates && T(H.storeUpdates),
|
|
86631
|
+
v.current = H.participantState, H.storeUpdates && T(H.storeUpdates), R(H.responseData);
|
|
86629
86632
|
})());
|
|
86630
86633
|
}, [_, d]);
|
|
86631
86634
|
let N = null;
|
|
@@ -86638,11 +86641,11 @@ function pCe({
|
|
|
86638
86641
|
N = /* @__PURE__ */ I.jsx(D, { collectRefreshRate: q.collectRefreshRate, children: /* @__PURE__ */ I.jsx(
|
|
86639
86642
|
Q,
|
|
86640
86643
|
{
|
|
86641
|
-
next:
|
|
86644
|
+
next: R,
|
|
86642
86645
|
updateStore: T,
|
|
86643
86646
|
store: c.current,
|
|
86644
86647
|
data: o.current,
|
|
86645
|
-
...q.type === "Quest" ? { customQuestions:
|
|
86648
|
+
...q.type === "Quest" ? { customQuestions: b } : {},
|
|
86646
86649
|
...L
|
|
86647
86650
|
}
|
|
86648
86651
|
) }, d);
|